korona-cloud-client 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (886) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +156 -17
  3. data/docs/Account.md +7 -3
  4. data/docs/AdditionalReceiptInfoType.md +2 -4
  5. data/docs/AdditionalReceiptInfoTypesApi.md +363 -0
  6. data/docs/Assortment.md +2 -2
  7. data/docs/Attendance.md +2 -2
  8. data/docs/Cashier.md +2 -2
  9. data/docs/CashierRole.md +2 -2
  10. data/docs/CashierVerificationRequirement.md +2 -2
  11. data/docs/{CashierVerificationRequirementApi.md → CashierVerificationRequirementsApi.md} +51 -51
  12. data/docs/CommodityGroup.md +2 -2
  13. data/docs/ContraAccount.md +24 -0
  14. data/docs/ContraAccountsApi.md +524 -0
  15. data/docs/CostCenter.md +24 -0
  16. data/docs/CostCentersApi.md +524 -0
  17. data/docs/Currency.md +2 -2
  18. data/docs/Customer.md +5 -3
  19. data/docs/CustomerDisplayConfiguration.md +2 -2
  20. data/docs/CustomerGroup.md +2 -2
  21. data/docs/CustomerOrder.md +2 -2
  22. data/docs/DeliveryNote.md +2 -2
  23. data/docs/DeliveryNotesApi.md +73 -0
  24. data/docs/DeviceConfiguration.md +3 -1
  25. data/docs/DeviceConfigurationVariable.md +2 -2
  26. data/docs/DiscountConfiguration.md +32 -0
  27. data/docs/DiscountConfigurationsApi.md +524 -0
  28. data/docs/DiscountLevel.md +28 -0
  29. data/docs/DiscountLevelsApi.md +524 -0
  30. data/docs/DispatchNotification.md +8 -6
  31. data/docs/DispatchNotificationItem.md +5 -1
  32. data/docs/DispatchNotificationItemImport.md +30 -0
  33. data/docs/DispatchNotificationsApi.md +597 -8
  34. data/docs/EconomicZone.md +2 -2
  35. data/docs/EndOfDayStatement.md +2 -2
  36. data/docs/EntryGate.md +2 -2
  37. data/docs/Event.md +2 -2
  38. data/docs/ExternalSystemCall.md +2 -2
  39. data/docs/FiscalUnit.md +2 -2
  40. data/docs/InfoText.md +2 -2
  41. data/docs/Inventory.md +2 -2
  42. data/docs/InventoryList.md +2 -2
  43. data/docs/ItemSequence.md +26 -0
  44. data/docs/ItemSequencesApi.md +524 -0
  45. data/docs/KoronaAccount.md +5 -3
  46. data/docs/LanguageResource.md +28 -0
  47. data/docs/LanguagesApi.md +524 -0
  48. data/docs/Message.md +22 -0
  49. data/docs/MessagesApi.md +78 -0
  50. data/docs/ModelReference.md +1 -1
  51. data/docs/NumberRange.md +26 -0
  52. data/docs/NumberRangeConfiguration.md +28 -0
  53. data/docs/NumberRangeConfigurationsApi.md +305 -0
  54. data/docs/OrganizationalUnit.md +5 -3
  55. data/docs/PaymentMethod.md +9 -3
  56. data/docs/PaymentMethodCategoriesApi.md +524 -0
  57. data/docs/PaymentMethodCategory.md +26 -0
  58. data/docs/PointsOfSaleApi.md +11 -3
  59. data/docs/Pos.md +5 -3
  60. data/docs/PosBalance.md +2 -2
  61. data/docs/PosButtonFunction.md +3 -1
  62. data/docs/PosButtonLayout.md +2 -2
  63. data/docs/PosPageLayoutConfiguration.md +5 -3
  64. data/docs/PosProfile.md +15 -3
  65. data/docs/PriceGroup.md +2 -2
  66. data/docs/PriceRule.md +2 -2
  67. data/docs/Product.md +4 -2
  68. data/docs/ProductTransferInvolvedPartyInformationData.md +0 -2
  69. data/docs/ProductionType.md +2 -2
  70. data/docs/ProductionTypeSetting.md +18 -0
  71. data/docs/ProductsApi.md +75 -1
  72. data/docs/Promotion.md +2 -2
  73. data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +13 -11
  74. data/docs/PromotionsApi.md +4 -4
  75. data/docs/Receipt.md +7 -3
  76. data/docs/ReceiptItem.md +5 -1
  77. data/docs/ReceiptItemReturnReason.md +18 -0
  78. data/docs/ReceiptLayoutConfiguration.md +2 -2
  79. data/docs/ReceiptsApi.md +78 -3
  80. data/docs/ReportFile.md +32 -0
  81. data/docs/ReportFilesApi.md +520 -0
  82. data/docs/ResultListContraAccount.md +28 -0
  83. data/docs/ResultListCostCenter.md +28 -0
  84. data/docs/ResultListDiscountConfiguration.md +28 -0
  85. data/docs/ResultListDiscountLevel.md +28 -0
  86. data/docs/ResultListItemSequence.md +28 -0
  87. data/docs/ResultListLanguageResource.md +28 -0
  88. data/docs/ResultListNumberRangeConfiguration.md +28 -0
  89. data/docs/ResultListPaymentMethodCategory.md +28 -0
  90. data/docs/ResultListReportFile.md +28 -0
  91. data/docs/ResultListRevenueAccount.md +28 -0
  92. data/docs/ResultListVoucherConfiguration.md +28 -0
  93. data/docs/ResultListVoucherResource.md +28 -0
  94. data/docs/ResultListVoucherTransactionResource.md +28 -0
  95. data/docs/RevenueAccount.md +26 -0
  96. data/docs/RevenueAccountsApi.md +524 -0
  97. data/docs/SalesTax.md +5 -3
  98. data/docs/Sector.md +2 -2
  99. data/docs/Service.md +3 -1
  100. data/docs/SpecialPriceConfiguration.md +2 -2
  101. data/docs/StockAdjustment.md +2 -2
  102. data/docs/StockOrder.md +2 -2
  103. data/docs/StockReceipt.md +3 -3
  104. data/docs/StockReceiptItemPurchasePrice.md +1 -1
  105. data/docs/StoreOrder.md +2 -2
  106. data/docs/StoreOrdersApi.md +10 -6
  107. data/docs/Supplier.md +2 -2
  108. data/docs/Tag.md +2 -2
  109. data/docs/TicketDefinition.md +2 -2
  110. data/docs/TicketingApi.md +148 -0
  111. data/docs/TimeTrackingApi.md +78 -78
  112. data/docs/TimeTrackingEntity.md +2 -2
  113. data/docs/TopSeller.md +1 -1
  114. data/docs/UserRole.md +2 -2
  115. data/docs/UserRolesApi.md +2 -0
  116. data/docs/VoidedReceiptItem.md +3 -1
  117. data/docs/VoucherConfiguration.md +50 -0
  118. data/docs/VoucherConfigurationDiscountCalculation.md +22 -0
  119. data/docs/VoucherConfigurationFollowUpProducts.md +22 -0
  120. data/docs/VoucherConfigurationsApi.md +522 -0
  121. data/docs/VoucherResource.md +36 -0
  122. data/docs/VoucherTransaction.md +3 -1
  123. data/docs/VoucherTransactionResource.md +60 -0
  124. data/docs/VouchersApi.md +1126 -0
  125. data/git_push.sh +3 -4
  126. data/korona-cloud-client.gemspec +2 -2
  127. data/lib/korona-cloud-client/api/accounts_api.rb +18 -6
  128. data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +370 -2
  129. data/lib/korona-cloud-client/api/assortments_api.rb +18 -6
  130. data/lib/korona-cloud-client/api/cashier_roles_api.rb +18 -6
  131. data/lib/korona-cloud-client/api/{cashier_verification_requirement_api.rb → cashier_verification_requirements_api.rb} +54 -45
  132. data/lib/korona-cloud-client/api/cashiers_api.rb +18 -6
  133. data/lib/korona-cloud-client/api/commodity_groups_api.rb +18 -6
  134. data/lib/korona-cloud-client/api/contra_accounts_api.rb +536 -0
  135. data/lib/korona-cloud-client/api/cost_centers_api.rb +536 -0
  136. data/lib/korona-cloud-client/api/coupons_api.rb +2 -2
  137. data/lib/korona-cloud-client/api/currencies_api.rb +14 -5
  138. data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +14 -5
  139. data/lib/korona-cloud-client/api/customer_groups_api.rb +18 -6
  140. data/lib/korona-cloud-client/api/customer_orders_api.rb +14 -5
  141. data/lib/korona-cloud-client/api/customers_api.rb +18 -6
  142. data/lib/korona-cloud-client/api/delivery_notes_api.rb +79 -3
  143. data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +14 -5
  144. data/lib/korona-cloud-client/api/discount_configurations_api.rb +536 -0
  145. data/lib/korona-cloud-client/api/discount_levels_api.rb +536 -0
  146. data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +620 -11
  147. data/lib/korona-cloud-client/api/economic_zones_api.rb +14 -5
  148. data/lib/korona-cloud-client/api/external_system_calls_api.rb +18 -6
  149. data/lib/korona-cloud-client/api/fiscal_units_api.rb +14 -5
  150. data/lib/korona-cloud-client/api/images_api.rb +2 -2
  151. data/lib/korona-cloud-client/api/info_texts_api.rb +14 -5
  152. data/lib/korona-cloud-client/api/inventories_api.rb +26 -8
  153. data/lib/korona-cloud-client/api/item_sequences_api.rb +536 -0
  154. data/lib/korona-cloud-client/api/korona_account_api.rb +2 -2
  155. data/lib/korona-cloud-client/api/languages_api.rb +536 -0
  156. data/lib/korona-cloud-client/api/messages_api.rb +94 -0
  157. data/lib/korona-cloud-client/api/number_range_configurations_api.rb +312 -0
  158. data/lib/korona-cloud-client/api/organizational_units_api.rb +30 -9
  159. data/lib/korona-cloud-client/api/payment_method_categories_api.rb +536 -0
  160. data/lib/korona-cloud-client/api/payment_methods_api.rb +18 -6
  161. data/lib/korona-cloud-client/api/points_of_sale_api.rb +36 -9
  162. data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +18 -6
  163. data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +18 -6
  164. data/lib/korona-cloud-client/api/pos_profiles_api.rb +18 -6
  165. data/lib/korona-cloud-client/api/price_groups_api.rb +14 -5
  166. data/lib/korona-cloud-client/api/price_rules_api.rb +18 -6
  167. data/lib/korona-cloud-client/api/production_types_api.rb +14 -5
  168. data/lib/korona-cloud-client/api/products_api.rb +94 -6
  169. data/lib/korona-cloud-client/api/promotions_api.rb +22 -10
  170. data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +18 -6
  171. data/lib/korona-cloud-client/api/receipts_api.rb +80 -4
  172. data/lib/korona-cloud-client/api/report_files_api.rb +532 -0
  173. data/lib/korona-cloud-client/api/revenue_accounts_api.rb +536 -0
  174. data/lib/korona-cloud-client/api/sales_taxes_api.rb +14 -5
  175. data/lib/korona-cloud-client/api/sectors_api.rb +14 -5
  176. data/lib/korona-cloud-client/api/special_price_configurations_api.rb +14 -5
  177. data/lib/korona-cloud-client/api/statistics_api.rb +2 -2
  178. data/lib/korona-cloud-client/api/stock_adjustments_api.rb +22 -7
  179. data/lib/korona-cloud-client/api/stock_orders_api.rb +2 -2
  180. data/lib/korona-cloud-client/api/stock_receipts_api.rb +22 -7
  181. data/lib/korona-cloud-client/api/store_orders_api.rb +40 -14
  182. data/lib/korona-cloud-client/api/suppliers_api.rb +14 -5
  183. data/lib/korona-cloud-client/api/tags_api.rb +18 -6
  184. data/lib/korona-cloud-client/api/ticketing_api.rb +188 -12
  185. data/lib/korona-cloud-client/api/time_tracking_api.rb +95 -89
  186. data/lib/korona-cloud-client/api/user_roles_api.rb +21 -6
  187. data/lib/korona-cloud-client/api/voucher_configurations_api.rb +534 -0
  188. data/lib/korona-cloud-client/api/vouchers_api.rb +1149 -0
  189. data/lib/korona-cloud-client/api_client.rb +8 -6
  190. data/lib/korona-cloud-client/api_error.rb +2 -2
  191. data/lib/korona-cloud-client/configuration.rb +6 -4
  192. data/lib/korona-cloud-client/models/account.rb +47 -16
  193. data/lib/korona-cloud-client/models/account_summary.rb +3 -2
  194. data/lib/korona-cloud-client/models/account_transaction.rb +3 -2
  195. data/lib/korona-cloud-client/models/add_or_update_result.rb +5 -4
  196. data/lib/korona-cloud-client/models/additional_info.rb +3 -2
  197. data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +14 -28
  198. data/lib/korona-cloud-client/models/address_information.rb +3 -2
  199. data/lib/korona-cloud-client/models/admission.rb +3 -2
  200. data/lib/korona-cloud-client/models/amount.rb +3 -2
  201. data/lib/korona-cloud-client/models/amount_count_data.rb +3 -2
  202. data/lib/korona-cloud-client/models/assortment.rb +14 -13
  203. data/lib/korona-cloud-client/models/attendance.rb +14 -13
  204. data/lib/korona-cloud-client/models/bad_request_error.rb +3 -2
  205. data/lib/korona-cloud-client/models/capacity.rb +3 -2
  206. data/lib/korona-cloud-client/models/cashier.rb +14 -13
  207. data/lib/korona-cloud-client/models/cashier_role.rb +14 -13
  208. data/lib/korona-cloud-client/models/cashier_summary.rb +3 -2
  209. data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +14 -13
  210. data/lib/korona-cloud-client/models/cashier_verification_result.rb +3 -2
  211. data/lib/korona-cloud-client/models/category.rb +3 -2
  212. data/lib/korona-cloud-client/models/cloud_subscription.rb +3 -2
  213. data/lib/korona-cloud-client/models/cloud_subscription_details.rb +5 -4
  214. data/lib/korona-cloud-client/models/commodity_group.rb +14 -13
  215. data/lib/korona-cloud-client/models/commodity_group_summary.rb +3 -2
  216. data/lib/korona-cloud-client/models/company_identification.rb +3 -2
  217. data/lib/korona-cloud-client/models/contra_account.rb +250 -0
  218. data/lib/korona-cloud-client/models/cost_center.rb +250 -0
  219. data/lib/korona-cloud-client/models/coupon.rb +3 -2
  220. data/lib/korona-cloud-client/models/coupon_position.rb +3 -2
  221. data/lib/korona-cloud-client/models/creation_task.rb +3 -2
  222. data/lib/korona-cloud-client/models/currency.rb +14 -13
  223. data/lib/korona-cloud-client/models/currency_denomination.rb +3 -2
  224. data/lib/korona-cloud-client/models/currency_exchange_rate.rb +3 -2
  225. data/lib/korona-cloud-client/models/customer.rb +26 -16
  226. data/lib/korona-cloud-client/models/customer_card.rb +3 -2
  227. data/lib/korona-cloud-client/models/customer_data.rb +3 -2
  228. data/lib/korona-cloud-client/models/customer_display_configuration.rb +19 -18
  229. data/lib/korona-cloud-client/models/customer_group.rb +14 -13
  230. data/lib/korona-cloud-client/models/customer_group_summary.rb +3 -2
  231. data/lib/korona-cloud-client/models/customer_information.rb +3 -2
  232. data/lib/korona-cloud-client/models/customer_order.rb +14 -13
  233. data/lib/korona-cloud-client/models/customer_order_item.rb +3 -2
  234. data/lib/korona-cloud-client/models/date_interval.rb +3 -2
  235. data/lib/korona-cloud-client/models/day_rating.rb +3 -2
  236. data/lib/korona-cloud-client/models/day_time_period.rb +3 -2
  237. data/lib/korona-cloud-client/models/delivery_note.rb +14 -13
  238. data/lib/korona-cloud-client/models/delivery_note_item.rb +3 -2
  239. data/lib/korona-cloud-client/models/deposit.rb +3 -2
  240. data/lib/korona-cloud-client/models/device_configuration.rb +26 -8
  241. data/lib/korona-cloud-client/models/device_configuration_variable.rb +14 -13
  242. data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +3 -2
  243. data/lib/korona-cloud-client/models/device_information.rb +3 -2
  244. data/lib/korona-cloud-client/models/device_parameter_item.rb +3 -2
  245. data/lib/korona-cloud-client/models/discount.rb +3 -2
  246. data/lib/korona-cloud-client/models/discount_configuration.rb +290 -0
  247. data/lib/korona-cloud-client/models/discount_level.rb +268 -0
  248. data/lib/korona-cloud-client/models/dispatch_notification.rb +62 -18
  249. data/lib/korona-cloud-client/models/dispatch_notification_item.rb +25 -6
  250. data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +3 -2
  251. data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +3 -2
  252. data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +3 -2
  253. data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +279 -0
  254. data/lib/korona-cloud-client/models/economic_zone.rb +14 -13
  255. data/lib/korona-cloud-client/models/end_of_day_statement.rb +14 -13
  256. data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +3 -2
  257. data/lib/korona-cloud-client/models/entry_gate.rb +14 -13
  258. data/lib/korona-cloud-client/models/event.rb +14 -13
  259. data/lib/korona-cloud-client/models/external_system_call.rb +14 -13
  260. data/lib/korona-cloud-client/models/fiscal_transaction.rb +3 -2
  261. data/lib/korona-cloud-client/models/fiscal_unit.rb +14 -13
  262. data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +3 -2
  263. data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +3 -2
  264. data/lib/korona-cloud-client/models/fiscal_unit_state.rb +3 -2
  265. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +3 -2
  266. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +3 -2
  267. data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +3 -2
  268. data/lib/korona-cloud-client/models/forbidden_error.rb +3 -2
  269. data/lib/korona-cloud-client/models/geo_location.rb +3 -2
  270. data/lib/korona-cloud-client/models/info_text.rb +16 -15
  271. data/lib/korona-cloud-client/models/interval.rb +3 -2
  272. data/lib/korona-cloud-client/models/inventory.rb +14 -13
  273. data/lib/korona-cloud-client/models/inventory_list.rb +14 -13
  274. data/lib/korona-cloud-client/models/inventory_list_item.rb +3 -2
  275. data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +3 -2
  276. data/lib/korona-cloud-client/models/item_sequence.rb +259 -0
  277. data/lib/korona-cloud-client/models/korona_account.rb +26 -16
  278. data/lib/korona-cloud-client/models/language_resource.rb +268 -0
  279. data/lib/korona-cloud-client/models/media_url.rb +3 -2
  280. data/lib/korona-cloud-client/models/message.rb +287 -0
  281. data/lib/korona-cloud-client/models/method_not_allowed_error.rb +3 -2
  282. data/lib/korona-cloud-client/models/model_reference.rb +4 -3
  283. data/lib/korona-cloud-client/models/not_found_error.rb +3 -2
  284. data/lib/korona-cloud-client/models/number_range.rb +289 -0
  285. data/lib/korona-cloud-client/models/number_range_configuration.rb +270 -0
  286. data/lib/korona-cloud-client/models/opening_hours.rb +3 -2
  287. data/lib/korona-cloud-client/models/organizational_unit.rb +26 -16
  288. data/lib/korona-cloud-client/models/payment.rb +3 -2
  289. data/lib/korona-cloud-client/models/payment_method.rb +44 -16
  290. data/lib/korona-cloud-client/models/payment_method_category.rb +259 -0
  291. data/lib/korona-cloud-client/models/payment_service_configuration.rb +3 -2
  292. data/lib/korona-cloud-client/models/payment_summary.rb +3 -2
  293. data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +3 -2
  294. data/lib/korona-cloud-client/models/period.rb +3 -2
  295. data/lib/korona-cloud-client/models/period_list_top_seller.rb +3 -2
  296. data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +3 -2
  297. data/lib/korona-cloud-client/models/period_object.rb +3 -2
  298. data/lib/korona-cloud-client/models/period_revenue_data.rb +3 -2
  299. data/lib/korona-cloud-client/models/pos.rb +38 -16
  300. data/lib/korona-cloud-client/models/pos_balance.rb +14 -13
  301. data/lib/korona-cloud-client/models/pos_balance_item.rb +3 -2
  302. data/lib/korona-cloud-client/models/pos_balance_summary.rb +3 -2
  303. data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +3 -2
  304. data/lib/korona-cloud-client/models/pos_balance_total.rb +3 -2
  305. data/lib/korona-cloud-client/models/pos_button.rb +3 -2
  306. data/lib/korona-cloud-client/models/pos_button_function.rb +30 -8
  307. data/lib/korona-cloud-client/models/pos_button_layout.rb +14 -13
  308. data/lib/korona-cloud-client/models/pos_page_layout.rb +3 -2
  309. data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +26 -16
  310. data/lib/korona-cloud-client/models/pos_profile.rb +73 -16
  311. data/lib/korona-cloud-client/models/prepaid_card.rb +3 -2
  312. data/lib/korona-cloud-client/models/price_group.rb +14 -13
  313. data/lib/korona-cloud-client/models/price_rule.rb +14 -13
  314. data/lib/korona-cloud-client/models/price_rule_calculation.rb +3 -2
  315. data/lib/korona-cloud-client/models/price_rule_condition.rb +5 -4
  316. data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +3 -2
  317. data/lib/korona-cloud-client/models/price_rule_validity_period.rb +3 -2
  318. data/lib/korona-cloud-client/models/product.rb +25 -15
  319. data/lib/korona-cloud-client/models/product_code.rb +3 -2
  320. data/lib/korona-cloud-client/models/product_description.rb +3 -2
  321. data/lib/korona-cloud-client/models/product_price.rb +3 -2
  322. data/lib/korona-cloud-client/models/product_special_price.rb +3 -2
  323. data/lib/korona-cloud-client/models/product_stock.rb +3 -2
  324. data/lib/korona-cloud-client/models/product_subproduct.rb +3 -2
  325. data/lib/korona-cloud-client/models/product_supplier_price.rb +3 -2
  326. data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +3 -2
  327. data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +4 -12
  328. data/lib/korona-cloud-client/models/production_type.rb +14 -13
  329. data/lib/korona-cloud-client/models/production_type_setting.rb +219 -0
  330. data/lib/korona-cloud-client/models/promotion.rb +14 -13
  331. data/lib/korona-cloud-client/models/promotion_application.rb +3 -2
  332. data/lib/korona-cloud-client/models/promotion_benefit.rb +3 -2
  333. data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +3 -2
  334. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +3 -2
  335. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +3 -2
  336. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +3 -2
  337. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +3 -2
  338. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +3 -2
  339. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +3 -2
  340. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +3 -2
  341. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +89 -39
  342. data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +3 -2
  343. data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +3 -2
  344. data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +3 -2
  345. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +3 -2
  346. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +3 -2
  347. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +3 -2
  348. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +3 -2
  349. data/lib/korona-cloud-client/models/promotion_coupon.rb +3 -2
  350. data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +3 -2
  351. data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +3 -2
  352. data/lib/korona-cloud-client/models/promotion_layer.rb +3 -2
  353. data/lib/korona-cloud-client/models/promotion_stamp.rb +3 -2
  354. data/lib/korona-cloud-client/models/promotion_trigger.rb +3 -2
  355. data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +3 -2
  356. data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +3 -2
  357. data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +3 -2
  358. data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +3 -2
  359. data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +3 -2
  360. data/lib/korona-cloud-client/models/promotion_validity.rb +3 -2
  361. data/lib/korona-cloud-client/models/rating.rb +3 -2
  362. data/lib/korona-cloud-client/models/receipt.rb +35 -13
  363. data/lib/korona-cloud-client/models/receipt_item.rb +25 -6
  364. data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +219 -0
  365. data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +14 -13
  366. data/lib/korona-cloud-client/models/receipt_max_revisions.rb +3 -2
  367. data/lib/korona-cloud-client/models/receipt_revenue.rb +3 -2
  368. data/lib/korona-cloud-client/models/receipt_total.rb +3 -2
  369. data/lib/korona-cloud-client/models/report_file.rb +337 -0
  370. data/lib/korona-cloud-client/models/result_list.rb +3 -2
  371. data/lib/korona-cloud-client/models/result_list_account.rb +3 -2
  372. data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +3 -2
  373. data/lib/korona-cloud-client/models/result_list_assortment.rb +3 -2
  374. data/lib/korona-cloud-client/models/result_list_attendance.rb +3 -2
  375. data/lib/korona-cloud-client/models/result_list_cashier.rb +3 -2
  376. data/lib/korona-cloud-client/models/result_list_cashier_role.rb +3 -2
  377. data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +3 -2
  378. data/lib/korona-cloud-client/models/result_list_commodity_group.rb +3 -2
  379. data/lib/korona-cloud-client/models/result_list_contra_account.rb +304 -0
  380. data/lib/korona-cloud-client/models/result_list_cost_center.rb +304 -0
  381. data/lib/korona-cloud-client/models/result_list_coupon.rb +3 -2
  382. data/lib/korona-cloud-client/models/result_list_creation_task.rb +3 -2
  383. data/lib/korona-cloud-client/models/result_list_currency.rb +3 -2
  384. data/lib/korona-cloud-client/models/result_list_customer.rb +3 -2
  385. data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +3 -2
  386. data/lib/korona-cloud-client/models/result_list_customer_group.rb +3 -2
  387. data/lib/korona-cloud-client/models/result_list_customer_order.rb +3 -2
  388. data/lib/korona-cloud-client/models/result_list_day_rating.rb +3 -2
  389. data/lib/korona-cloud-client/models/result_list_delivery_note.rb +3 -2
  390. data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +3 -2
  391. data/lib/korona-cloud-client/models/result_list_discount_configuration.rb +304 -0
  392. data/lib/korona-cloud-client/models/result_list_discount_level.rb +304 -0
  393. data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +3 -2
  394. data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +3 -2
  395. data/lib/korona-cloud-client/models/result_list_economic_zone.rb +3 -2
  396. data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +3 -2
  397. data/lib/korona-cloud-client/models/result_list_entry_gate.rb +3 -2
  398. data/lib/korona-cloud-client/models/result_list_event.rb +3 -2
  399. data/lib/korona-cloud-client/models/result_list_external_system_call.rb +3 -2
  400. data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +3 -2
  401. data/lib/korona-cloud-client/models/result_list_info_text.rb +3 -2
  402. data/lib/korona-cloud-client/models/result_list_inventory.rb +3 -2
  403. data/lib/korona-cloud-client/models/result_list_inventory_list.rb +3 -2
  404. data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +3 -2
  405. data/lib/korona-cloud-client/models/result_list_item_sequence.rb +304 -0
  406. data/lib/korona-cloud-client/models/result_list_language_resource.rb +304 -0
  407. data/lib/korona-cloud-client/models/result_list_number_range_configuration.rb +304 -0
  408. data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +3 -2
  409. data/lib/korona-cloud-client/models/result_list_payment_method.rb +3 -2
  410. data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +304 -0
  411. data/lib/korona-cloud-client/models/result_list_pos.rb +3 -2
  412. data/lib/korona-cloud-client/models/result_list_pos_balance.rb +3 -2
  413. data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +3 -2
  414. data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +3 -2
  415. data/lib/korona-cloud-client/models/result_list_pos_profile.rb +3 -2
  416. data/lib/korona-cloud-client/models/result_list_price_group.rb +3 -2
  417. data/lib/korona-cloud-client/models/result_list_price_rule.rb +3 -2
  418. data/lib/korona-cloud-client/models/result_list_product.rb +3 -2
  419. data/lib/korona-cloud-client/models/result_list_product_stock.rb +3 -2
  420. data/lib/korona-cloud-client/models/result_list_production_type.rb +3 -2
  421. data/lib/korona-cloud-client/models/result_list_promotion.rb +3 -2
  422. data/lib/korona-cloud-client/models/result_list_receipt.rb +3 -2
  423. data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +3 -2
  424. data/lib/korona-cloud-client/models/result_list_report_file.rb +304 -0
  425. data/lib/korona-cloud-client/models/result_list_revenue_account.rb +304 -0
  426. data/lib/korona-cloud-client/models/result_list_sales_tax.rb +3 -2
  427. data/lib/korona-cloud-client/models/result_list_sector.rb +3 -2
  428. data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +3 -2
  429. data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +3 -2
  430. data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +3 -2
  431. data/lib/korona-cloud-client/models/result_list_stock_order.rb +3 -2
  432. data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +3 -2
  433. data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +3 -2
  434. data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +3 -2
  435. data/lib/korona-cloud-client/models/result_list_store_order.rb +3 -2
  436. data/lib/korona-cloud-client/models/result_list_store_order_item.rb +3 -2
  437. data/lib/korona-cloud-client/models/result_list_supplier.rb +3 -2
  438. data/lib/korona-cloud-client/models/result_list_tag.rb +3 -2
  439. data/lib/korona-cloud-client/models/result_list_ticket.rb +3 -2
  440. data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +3 -2
  441. data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +3 -2
  442. data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +3 -2
  443. data/lib/korona-cloud-client/models/result_list_user_role.rb +3 -2
  444. data/lib/korona-cloud-client/models/result_list_voucher_configuration.rb +304 -0
  445. data/lib/korona-cloud-client/models/result_list_voucher_resource.rb +304 -0
  446. data/lib/korona-cloud-client/models/result_list_voucher_transaction_resource.rb +304 -0
  447. data/lib/korona-cloud-client/models/revenue_account.rb +259 -0
  448. data/lib/korona-cloud-client/models/revenue_data.rb +3 -2
  449. data/lib/korona-cloud-client/models/sales_tax.rb +26 -16
  450. data/lib/korona-cloud-client/models/sales_tax_rate.rb +3 -2
  451. data/lib/korona-cloud-client/models/sector.rb +14 -13
  452. data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +3 -2
  453. data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +3 -2
  454. data/lib/korona-cloud-client/models/service.rb +28 -6
  455. data/lib/korona-cloud-client/models/signature.rb +3 -2
  456. data/lib/korona-cloud-client/models/special_price.rb +3 -2
  457. data/lib/korona-cloud-client/models/special_price_configuration.rb +14 -13
  458. data/lib/korona-cloud-client/models/statistic.rb +3 -2
  459. data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +3 -2
  460. data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +3 -2
  461. data/lib/korona-cloud-client/models/statistic_revenue_data.rb +3 -2
  462. data/lib/korona-cloud-client/models/stock_adjustment.rb +14 -13
  463. data/lib/korona-cloud-client/models/stock_adjustment_item.rb +3 -2
  464. data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +5 -4
  465. data/lib/korona-cloud-client/models/stock_order.rb +14 -13
  466. data/lib/korona-cloud-client/models/stock_order_item.rb +3 -2
  467. data/lib/korona-cloud-client/models/stock_receipt.rb +14 -13
  468. data/lib/korona-cloud-client/models/stock_receipt_item.rb +3 -2
  469. data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +3 -2
  470. data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +3 -2
  471. data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +3 -2
  472. data/lib/korona-cloud-client/models/store_order.rb +14 -13
  473. data/lib/korona-cloud-client/models/store_order_item.rb +3 -2
  474. data/lib/korona-cloud-client/models/supplier.rb +14 -13
  475. data/lib/korona-cloud-client/models/supplier_contact.rb +3 -2
  476. data/lib/korona-cloud-client/models/supplier_contact_person.rb +3 -2
  477. data/lib/korona-cloud-client/models/supplier_payment_information.rb +3 -2
  478. data/lib/korona-cloud-client/models/tag.rb +14 -13
  479. data/lib/korona-cloud-client/models/tax_payment.rb +3 -2
  480. data/lib/korona-cloud-client/models/tax_summary.rb +3 -2
  481. data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +3 -2
  482. data/lib/korona-cloud-client/models/ticket.rb +3 -2
  483. data/lib/korona-cloud-client/models/ticket_data.rb +3 -2
  484. data/lib/korona-cloud-client/models/ticket_definition.rb +14 -13
  485. data/lib/korona-cloud-client/models/ticket_personalization.rb +3 -2
  486. data/lib/korona-cloud-client/models/time_of_day_interval.rb +3 -2
  487. data/lib/korona-cloud-client/models/time_period.rb +3 -2
  488. data/lib/korona-cloud-client/models/time_tracking_entity.rb +14 -13
  489. data/lib/korona-cloud-client/models/time_tracking_entry.rb +3 -2
  490. data/lib/korona-cloud-client/models/too_many_requests_error.rb +3 -2
  491. data/lib/korona-cloud-client/models/top_seller.rb +4 -3
  492. data/lib/korona-cloud-client/models/total_period.rb +3 -2
  493. data/lib/korona-cloud-client/models/total_price.rb +3 -2
  494. data/lib/korona-cloud-client/models/user_role.rb +14 -13
  495. data/lib/korona-cloud-client/models/validity.rb +3 -2
  496. data/lib/korona-cloud-client/models/voided_receipt_item.rb +18 -6
  497. data/lib/korona-cloud-client/models/voucher_configuration.rb +401 -0
  498. data/lib/korona-cloud-client/models/voucher_configuration_discount_calculation.rb +271 -0
  499. data/lib/korona-cloud-client/models/voucher_configuration_follow_up_products.rb +237 -0
  500. data/lib/korona-cloud-client/models/voucher_resource.rb +306 -0
  501. data/lib/korona-cloud-client/models/voucher_transaction.rb +16 -6
  502. data/lib/korona-cloud-client/models/voucher_transaction_resource.rb +447 -0
  503. data/lib/korona-cloud-client/models/weather.rb +3 -2
  504. data/lib/korona-cloud-client/version.rb +3 -3
  505. data/lib/korona-cloud-client.rb +49 -4
  506. data/spec/api/accounts_api_spec.rb +2 -2
  507. data/spec/api/additional_receipt_info_types_api_spec.rb +66 -2
  508. data/spec/api/assortments_api_spec.rb +2 -2
  509. data/spec/api/cashier_roles_api_spec.rb +2 -2
  510. data/spec/api/{cashier_verification_requirement_api_spec.rb → cashier_verification_requirements_api_spec.rb} +18 -18
  511. data/spec/api/cashiers_api_spec.rb +2 -2
  512. data/spec/api/commodity_groups_api_spec.rb +2 -2
  513. data/spec/api/contra_accounts_api_spec.rb +128 -0
  514. data/spec/api/cost_centers_api_spec.rb +128 -0
  515. data/spec/api/coupons_api_spec.rb +2 -2
  516. data/spec/api/currencies_api_spec.rb +2 -2
  517. data/spec/api/customer_display_configurations_api_spec.rb +2 -2
  518. data/spec/api/customer_groups_api_spec.rb +2 -2
  519. data/spec/api/customer_orders_api_spec.rb +2 -2
  520. data/spec/api/customers_api_spec.rb +2 -2
  521. data/spec/api/delivery_notes_api_spec.rb +15 -2
  522. data/spec/api/device_configuration_variables_api_spec.rb +2 -2
  523. data/spec/api/discount_configurations_api_spec.rb +128 -0
  524. data/spec/api/discount_levels_api_spec.rb +128 -0
  525. data/spec/api/dispatch_notifications_api_spec.rb +109 -3
  526. data/spec/api/economic_zones_api_spec.rb +2 -2
  527. data/spec/api/external_system_calls_api_spec.rb +2 -2
  528. data/spec/api/fiscal_units_api_spec.rb +2 -2
  529. data/spec/api/images_api_spec.rb +2 -2
  530. data/spec/api/info_texts_api_spec.rb +2 -2
  531. data/spec/api/inventories_api_spec.rb +2 -2
  532. data/spec/api/item_sequences_api_spec.rb +128 -0
  533. data/spec/api/korona_account_api_spec.rb +2 -2
  534. data/spec/api/languages_api_spec.rb +128 -0
  535. data/spec/api/messages_api_spec.rb +47 -0
  536. data/spec/api/number_range_configurations_api_spec.rb +88 -0
  537. data/spec/api/organizational_units_api_spec.rb +2 -2
  538. data/spec/api/payment_method_categories_api_spec.rb +128 -0
  539. data/spec/api/payment_methods_api_spec.rb +2 -2
  540. data/spec/api/points_of_sale_api_spec.rb +7 -3
  541. data/spec/api/pos_button_layouts_api_spec.rb +2 -2
  542. data/spec/api/pos_page_layout_configurations_api_spec.rb +2 -2
  543. data/spec/api/pos_profiles_api_spec.rb +2 -2
  544. data/spec/api/price_groups_api_spec.rb +2 -2
  545. data/spec/api/price_rules_api_spec.rb +2 -2
  546. data/spec/api/production_types_api_spec.rb +2 -2
  547. data/spec/api/products_api_spec.rb +16 -2
  548. data/spec/api/promotions_api_spec.rb +4 -4
  549. data/spec/api/receipt_layout_configurations_api_spec.rb +2 -2
  550. data/spec/api/receipts_api_spec.rb +17 -3
  551. data/spec/api/report_files_api_spec.rb +126 -0
  552. data/spec/api/revenue_accounts_api_spec.rb +128 -0
  553. data/spec/api/sales_taxes_api_spec.rb +2 -2
  554. data/spec/api/sectors_api_spec.rb +2 -2
  555. data/spec/api/special_price_configurations_api_spec.rb +2 -2
  556. data/spec/api/statistics_api_spec.rb +2 -2
  557. data/spec/api/stock_adjustments_api_spec.rb +2 -2
  558. data/spec/api/stock_orders_api_spec.rb +2 -2
  559. data/spec/api/stock_receipts_api_spec.rb +2 -2
  560. data/spec/api/store_orders_api_spec.rb +5 -3
  561. data/spec/api/suppliers_api_spec.rb +2 -2
  562. data/spec/api/tags_api_spec.rb +2 -2
  563. data/spec/api/ticketing_api_spec.rb +28 -2
  564. data/spec/api/time_tracking_api_spec.rb +22 -22
  565. data/spec/api/user_roles_api_spec.rb +3 -2
  566. data/spec/api/voucher_configurations_api_spec.rb +127 -0
  567. data/spec/api/vouchers_api_spec.rb +240 -0
  568. data/spec/api_client_spec.rb +4 -4
  569. data/spec/configuration_spec.rb +2 -2
  570. data/spec/models/account_spec.rb +20 -4
  571. data/spec/models/account_summary_spec.rb +2 -2
  572. data/spec/models/account_transaction_spec.rb +2 -2
  573. data/spec/models/add_or_update_result_spec.rb +3 -3
  574. data/spec/models/additional_info_spec.rb +2 -2
  575. data/spec/models/additional_receipt_info_type_spec.rb +4 -10
  576. data/spec/models/address_information_spec.rb +2 -2
  577. data/spec/models/admission_spec.rb +2 -2
  578. data/spec/models/amount_count_data_spec.rb +2 -2
  579. data/spec/models/amount_spec.rb +2 -2
  580. data/spec/models/assortment_spec.rb +4 -4
  581. data/spec/models/attendance_spec.rb +4 -4
  582. data/spec/models/bad_request_error_spec.rb +2 -2
  583. data/spec/models/capacity_spec.rb +2 -2
  584. data/spec/models/cashier_role_spec.rb +4 -4
  585. data/spec/models/cashier_spec.rb +4 -4
  586. data/spec/models/cashier_summary_spec.rb +2 -2
  587. data/spec/models/cashier_verification_requirement_spec.rb +4 -4
  588. data/spec/models/cashier_verification_result_spec.rb +2 -2
  589. data/spec/models/category_spec.rb +2 -2
  590. data/spec/models/cloud_subscription_details_spec.rb +3 -3
  591. data/spec/models/cloud_subscription_spec.rb +2 -2
  592. data/spec/models/commodity_group_spec.rb +4 -4
  593. data/spec/models/commodity_group_summary_spec.rb +2 -2
  594. data/spec/models/company_identification_spec.rb +2 -2
  595. data/spec/models/contra_account_spec.rb +52 -0
  596. data/spec/models/cost_center_spec.rb +52 -0
  597. data/spec/models/coupon_position_spec.rb +2 -2
  598. data/spec/models/coupon_spec.rb +2 -2
  599. data/spec/models/creation_task_spec.rb +2 -2
  600. data/spec/models/currency_denomination_spec.rb +2 -2
  601. data/spec/models/currency_exchange_rate_spec.rb +2 -2
  602. data/spec/models/currency_spec.rb +4 -4
  603. data/spec/models/customer_card_spec.rb +2 -2
  604. data/spec/models/customer_data_spec.rb +2 -2
  605. data/spec/models/customer_display_configuration_spec.rb +5 -5
  606. data/spec/models/customer_group_spec.rb +4 -4
  607. data/spec/models/customer_group_summary_spec.rb +2 -2
  608. data/spec/models/customer_information_spec.rb +2 -2
  609. data/spec/models/customer_order_item_spec.rb +2 -2
  610. data/spec/models/customer_order_spec.rb +4 -4
  611. data/spec/models/customer_spec.rb +10 -4
  612. data/spec/models/date_interval_spec.rb +2 -2
  613. data/spec/models/day_rating_spec.rb +2 -2
  614. data/spec/models/day_time_period_spec.rb +2 -2
  615. data/spec/models/delivery_note_item_spec.rb +2 -2
  616. data/spec/models/delivery_note_spec.rb +4 -4
  617. data/spec/models/deposit_spec.rb +2 -2
  618. data/spec/models/device_configuration_spec.rb +9 -3
  619. data/spec/models/device_configuration_variable_spec.rb +4 -4
  620. data/spec/models/device_configuration_variable_value_spec.rb +2 -2
  621. data/spec/models/device_information_spec.rb +2 -2
  622. data/spec/models/device_parameter_item_spec.rb +2 -2
  623. data/spec/models/discount_configuration_spec.rb +76 -0
  624. data/spec/models/discount_level_spec.rb +64 -0
  625. data/spec/models/discount_spec.rb +2 -2
  626. data/spec/models/dispatch_notification_item_amount_spec.rb +2 -2
  627. data/spec/models/dispatch_notification_item_container_spec.rb +2 -2
  628. data/spec/models/dispatch_notification_item_identification_spec.rb +2 -2
  629. data/spec/models/dispatch_notification_item_import_spec.rb +70 -0
  630. data/spec/models/dispatch_notification_item_spec.rb +14 -2
  631. data/spec/models/dispatch_notification_spec.rb +14 -4
  632. data/spec/models/economic_zone_spec.rb +4 -4
  633. data/spec/models/end_of_day_statement_spec.rb +4 -4
  634. data/spec/models/end_of_day_statement_summary_spec.rb +2 -2
  635. data/spec/models/entry_gate_spec.rb +4 -4
  636. data/spec/models/event_spec.rb +4 -4
  637. data/spec/models/external_system_call_spec.rb +4 -4
  638. data/spec/models/fiscal_transaction_spec.rb +2 -2
  639. data/spec/models/fiscal_unit_certificate_info_spec.rb +2 -2
  640. data/spec/models/fiscal_unit_pre_configuration_spec.rb +2 -2
  641. data/spec/models/fiscal_unit_spec.rb +4 -4
  642. data/spec/models/fiscal_unit_state_spec.rb +2 -2
  643. data/spec/models/fiscal_unit_state_usage_level_spec.rb +2 -2
  644. data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +2 -2
  645. data/spec/models/fiscal_unit_state_version_info_spec.rb +2 -2
  646. data/spec/models/forbidden_error_spec.rb +2 -2
  647. data/spec/models/geo_location_spec.rb +2 -2
  648. data/spec/models/info_text_spec.rb +5 -5
  649. data/spec/models/interval_spec.rb +2 -2
  650. data/spec/models/inventory_list_item_spec.rb +2 -2
  651. data/spec/models/inventory_list_item_stock_spec.rb +2 -2
  652. data/spec/models/inventory_list_spec.rb +4 -4
  653. data/spec/models/inventory_spec.rb +4 -4
  654. data/spec/models/item_sequence_spec.rb +58 -0
  655. data/spec/models/korona_account_spec.rb +11 -5
  656. data/spec/models/language_resource_spec.rb +64 -0
  657. data/spec/models/media_url_spec.rb +2 -2
  658. data/spec/models/message_spec.rb +50 -0
  659. data/spec/models/method_not_allowed_error_spec.rb +2 -2
  660. data/spec/models/model_reference_spec.rb +2 -2
  661. data/spec/models/not_found_error_spec.rb +2 -2
  662. data/spec/models/number_range_configuration_spec.rb +64 -0
  663. data/spec/models/number_range_spec.rb +62 -0
  664. data/spec/models/opening_hours_spec.rb +2 -2
  665. data/spec/models/organizational_unit_spec.rb +10 -4
  666. data/spec/models/payment_method_category_spec.rb +58 -0
  667. data/spec/models/payment_method_spec.rb +22 -4
  668. data/spec/models/payment_service_configuration_spec.rb +2 -2
  669. data/spec/models/payment_spec.rb +2 -2
  670. data/spec/models/payment_summary_spec.rb +2 -2
  671. data/spec/models/payment_terminal_receipt_spec.rb +2 -2
  672. data/spec/models/period_list_top_seller_spec.rb +2 -2
  673. data/spec/models/period_map_string_revenue_data_spec.rb +2 -2
  674. data/spec/models/period_object_spec.rb +2 -2
  675. data/spec/models/period_revenue_data_spec.rb +2 -2
  676. data/spec/models/period_spec.rb +2 -2
  677. data/spec/models/pos_balance_item_spec.rb +2 -2
  678. data/spec/models/pos_balance_spec.rb +4 -4
  679. data/spec/models/pos_balance_summary_changeset_spec.rb +2 -2
  680. data/spec/models/pos_balance_summary_spec.rb +2 -2
  681. data/spec/models/pos_balance_total_spec.rb +2 -2
  682. data/spec/models/pos_button_function_spec.rb +13 -3
  683. data/spec/models/pos_button_layout_spec.rb +4 -4
  684. data/spec/models/pos_button_spec.rb +2 -2
  685. data/spec/models/pos_page_layout_configuration_spec.rb +10 -4
  686. data/spec/models/pos_page_layout_spec.rb +2 -2
  687. data/spec/models/pos_profile_spec.rb +40 -4
  688. data/spec/models/pos_spec.rb +14 -4
  689. data/spec/models/prepaid_card_spec.rb +2 -2
  690. data/spec/models/price_group_spec.rb +4 -4
  691. data/spec/models/price_rule_calculation_spec.rb +2 -2
  692. data/spec/models/price_rule_condition_spec.rb +3 -3
  693. data/spec/models/price_rule_spec.rb +4 -4
  694. data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +2 -2
  695. data/spec/models/price_rule_validity_period_spec.rb +2 -2
  696. data/spec/models/product_code_spec.rb +2 -2
  697. data/spec/models/product_description_spec.rb +2 -2
  698. data/spec/models/product_price_spec.rb +2 -2
  699. data/spec/models/product_spec.rb +11 -5
  700. data/spec/models/product_special_price_spec.rb +2 -2
  701. data/spec/models/product_stock_spec.rb +2 -2
  702. data/spec/models/product_subproduct_spec.rb +2 -2
  703. data/spec/models/product_supplier_price_spec.rb +2 -2
  704. data/spec/models/product_transfer_involved_party_information_data_spec.rb +2 -8
  705. data/spec/models/product_transfer_involved_party_information_spec.rb +2 -2
  706. data/spec/models/production_type_setting_spec.rb +34 -0
  707. data/spec/models/production_type_spec.rb +4 -4
  708. data/spec/models/promotion_application_spec.rb +2 -2
  709. data/spec/models/promotion_benefit_common_discount_spec.rb +2 -2
  710. data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +2 -2
  711. data/spec/models/{promotion_benefit_ext_discount_pos_selection_criteria_min_max_range_value_comp_spec.rb → promotion_benefit_extended_discount_position_comperator_spec.rb} +2 -2
  712. data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +2 -2
  713. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +2 -2
  714. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +2 -2
  715. data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +18 -12
  716. data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +2 -2
  717. data/spec/models/promotion_benefit_extended_discount_spec.rb +2 -2
  718. data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +2 -2
  719. data/spec/models/promotion_benefit_spec.rb +2 -2
  720. data/spec/models/promotion_bonuspoint_creation_spec.rb +2 -2
  721. data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +2 -2
  722. data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +2 -2
  723. data/spec/models/promotion_bonuspoint_redemption_spec.rb +2 -2
  724. data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +2 -2
  725. data/spec/models/promotion_bonuspoint_spec.rb +2 -2
  726. data/spec/models/promotion_coupon_spec.rb +2 -2
  727. data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +2 -2
  728. data/spec/models/promotion_coupon_validity_spec.rb +2 -2
  729. data/spec/models/promotion_layer_spec.rb +2 -2
  730. data/spec/models/promotion_spec.rb +4 -4
  731. data/spec/models/promotion_stamp_spec.rb +2 -2
  732. data/spec/models/promotion_trigger_product_amount_condition_spec.rb +2 -2
  733. data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +2 -2
  734. data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +2 -2
  735. data/spec/models/promotion_trigger_spec.rb +2 -2
  736. data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +2 -2
  737. data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +2 -2
  738. data/spec/models/promotion_validity_spec.rb +2 -2
  739. data/spec/models/rating_spec.rb +2 -2
  740. data/spec/models/receipt_item_return_reason_spec.rb +34 -0
  741. data/spec/models/receipt_item_spec.rb +14 -2
  742. data/spec/models/receipt_layout_configuration_spec.rb +4 -4
  743. data/spec/models/receipt_max_revisions_spec.rb +2 -2
  744. data/spec/models/receipt_revenue_spec.rb +2 -2
  745. data/spec/models/receipt_spec.rb +16 -4
  746. data/spec/models/receipt_total_spec.rb +2 -2
  747. data/spec/models/report_file_spec.rb +80 -0
  748. data/spec/models/result_list_account_spec.rb +2 -2
  749. data/spec/models/result_list_additional_receipt_info_type_spec.rb +2 -2
  750. data/spec/models/result_list_assortment_spec.rb +2 -2
  751. data/spec/models/result_list_attendance_spec.rb +2 -2
  752. data/spec/models/result_list_cashier_role_spec.rb +2 -2
  753. data/spec/models/result_list_cashier_spec.rb +2 -2
  754. data/spec/models/result_list_cashier_verification_requirement_spec.rb +2 -2
  755. data/spec/models/result_list_commodity_group_spec.rb +2 -2
  756. data/spec/models/result_list_contra_account_spec.rb +64 -0
  757. data/spec/models/result_list_cost_center_spec.rb +64 -0
  758. data/spec/models/result_list_coupon_spec.rb +2 -2
  759. data/spec/models/result_list_creation_task_spec.rb +2 -2
  760. data/spec/models/result_list_currency_spec.rb +2 -2
  761. data/spec/models/result_list_customer_display_configuration_spec.rb +2 -2
  762. data/spec/models/result_list_customer_group_spec.rb +2 -2
  763. data/spec/models/result_list_customer_order_spec.rb +2 -2
  764. data/spec/models/result_list_customer_spec.rb +2 -2
  765. data/spec/models/result_list_day_rating_spec.rb +2 -2
  766. data/spec/models/result_list_delivery_note_spec.rb +2 -2
  767. data/spec/models/result_list_device_configuration_variable_spec.rb +2 -2
  768. data/spec/models/result_list_discount_configuration_spec.rb +64 -0
  769. data/spec/models/result_list_discount_level_spec.rb +64 -0
  770. data/spec/models/result_list_dispatch_notification_item_spec.rb +2 -2
  771. data/spec/models/result_list_dispatch_notification_spec.rb +2 -2
  772. data/spec/models/result_list_economic_zone_spec.rb +2 -2
  773. data/spec/models/result_list_end_of_day_statement_spec.rb +2 -2
  774. data/spec/models/result_list_entry_gate_spec.rb +2 -2
  775. data/spec/models/result_list_event_spec.rb +2 -2
  776. data/spec/models/result_list_external_system_call_spec.rb +2 -2
  777. data/spec/models/result_list_fiscal_unit_spec.rb +2 -2
  778. data/spec/models/result_list_info_text_spec.rb +2 -2
  779. data/spec/models/result_list_inventory_list_item_spec.rb +2 -2
  780. data/spec/models/result_list_inventory_list_spec.rb +2 -2
  781. data/spec/models/result_list_inventory_spec.rb +2 -2
  782. data/spec/models/result_list_item_sequence_spec.rb +64 -0
  783. data/spec/models/result_list_language_resource_spec.rb +64 -0
  784. data/spec/models/result_list_number_range_configuration_spec.rb +64 -0
  785. data/spec/models/result_list_organizational_unit_spec.rb +2 -2
  786. data/spec/models/result_list_payment_method_category_spec.rb +64 -0
  787. data/spec/models/result_list_payment_method_spec.rb +2 -2
  788. data/spec/models/result_list_pos_balance_spec.rb +2 -2
  789. data/spec/models/result_list_pos_button_layout_spec.rb +2 -2
  790. data/spec/models/result_list_pos_page_layout_configuration_spec.rb +2 -2
  791. data/spec/models/result_list_pos_profile_spec.rb +2 -2
  792. data/spec/models/result_list_pos_spec.rb +2 -2
  793. data/spec/models/result_list_price_group_spec.rb +2 -2
  794. data/spec/models/result_list_price_rule_spec.rb +2 -2
  795. data/spec/models/result_list_product_spec.rb +2 -2
  796. data/spec/models/result_list_product_stock_spec.rb +2 -2
  797. data/spec/models/result_list_production_type_spec.rb +2 -2
  798. data/spec/models/result_list_promotion_spec.rb +2 -2
  799. data/spec/models/result_list_receipt_layout_configuration_spec.rb +2 -2
  800. data/spec/models/result_list_receipt_spec.rb +2 -2
  801. data/spec/models/result_list_report_file_spec.rb +64 -0
  802. data/spec/models/result_list_revenue_account_spec.rb +64 -0
  803. data/spec/models/result_list_sales_tax_spec.rb +2 -2
  804. data/spec/models/result_list_sector_spec.rb +2 -2
  805. data/spec/models/result_list_spec.rb +2 -2
  806. data/spec/models/result_list_special_price_configuration_spec.rb +2 -2
  807. data/spec/models/result_list_stock_adjustment_item_spec.rb +2 -2
  808. data/spec/models/result_list_stock_adjustment_spec.rb +2 -2
  809. data/spec/models/result_list_stock_order_item_spec.rb +2 -2
  810. data/spec/models/result_list_stock_order_spec.rb +2 -2
  811. data/spec/models/result_list_stock_receipt_item_spec.rb +2 -2
  812. data/spec/models/result_list_stock_receipt_spec.rb +2 -2
  813. data/spec/models/result_list_store_order_item_spec.rb +2 -2
  814. data/spec/models/result_list_store_order_spec.rb +2 -2
  815. data/spec/models/result_list_supplier_spec.rb +2 -2
  816. data/spec/models/result_list_tag_spec.rb +2 -2
  817. data/spec/models/result_list_ticket_definition_spec.rb +2 -2
  818. data/spec/models/result_list_ticket_spec.rb +2 -2
  819. data/spec/models/result_list_time_tracking_entity_spec.rb +2 -2
  820. data/spec/models/result_list_time_tracking_entry_spec.rb +2 -2
  821. data/spec/models/result_list_user_role_spec.rb +2 -2
  822. data/spec/models/result_list_voucher_configuration_spec.rb +64 -0
  823. data/spec/models/result_list_voucher_resource_spec.rb +64 -0
  824. data/spec/models/result_list_voucher_transaction_resource_spec.rb +64 -0
  825. data/spec/models/revenue_account_spec.rb +58 -0
  826. data/spec/models/revenue_data_spec.rb +2 -2
  827. data/spec/models/sales_tax_rate_spec.rb +2 -2
  828. data/spec/models/sales_tax_spec.rb +10 -4
  829. data/spec/models/sector_revenue_account_item_spec.rb +2 -2
  830. data/spec/models/sector_sales_tax_item_spec.rb +2 -2
  831. data/spec/models/sector_spec.rb +4 -4
  832. data/spec/models/service_spec.rb +12 -2
  833. data/spec/models/signature_spec.rb +2 -2
  834. data/spec/models/special_price_configuration_spec.rb +4 -4
  835. data/spec/models/special_price_spec.rb +2 -2
  836. data/spec/models/statistic_list_top_seller_spec.rb +2 -2
  837. data/spec/models/statistic_map_string_revenue_data_spec.rb +2 -2
  838. data/spec/models/statistic_revenue_data_spec.rb +2 -2
  839. data/spec/models/statistic_spec.rb +2 -2
  840. data/spec/models/stock_adjustment_item_reason_spec.rb +3 -3
  841. data/spec/models/stock_adjustment_item_spec.rb +2 -2
  842. data/spec/models/stock_adjustment_spec.rb +4 -4
  843. data/spec/models/stock_order_item_spec.rb +2 -2
  844. data/spec/models/stock_order_spec.rb +4 -4
  845. data/spec/models/stock_receipt_item_amount_spec.rb +2 -2
  846. data/spec/models/stock_receipt_item_identification_spec.rb +2 -2
  847. data/spec/models/stock_receipt_item_purchase_price_spec.rb +2 -2
  848. data/spec/models/stock_receipt_item_spec.rb +2 -2
  849. data/spec/models/stock_receipt_spec.rb +4 -4
  850. data/spec/models/store_order_item_spec.rb +2 -2
  851. data/spec/models/store_order_spec.rb +4 -4
  852. data/spec/models/supplier_contact_person_spec.rb +2 -2
  853. data/spec/models/supplier_contact_spec.rb +2 -2
  854. data/spec/models/supplier_payment_information_spec.rb +2 -2
  855. data/spec/models/supplier_spec.rb +4 -4
  856. data/spec/models/tag_spec.rb +4 -4
  857. data/spec/models/tax_payment_spec.rb +2 -2
  858. data/spec/models/tax_summary_spec.rb +2 -2
  859. data/spec/models/terminal_receipt_print_line_spec.rb +2 -2
  860. data/spec/models/ticket_data_spec.rb +2 -2
  861. data/spec/models/ticket_definition_spec.rb +4 -4
  862. data/spec/models/ticket_personalization_spec.rb +2 -2
  863. data/spec/models/ticket_spec.rb +2 -2
  864. data/spec/models/time_of_day_interval_spec.rb +2 -2
  865. data/spec/models/time_period_spec.rb +2 -2
  866. data/spec/models/time_tracking_entity_spec.rb +4 -4
  867. data/spec/models/time_tracking_entry_spec.rb +2 -2
  868. data/spec/models/too_many_requests_error_spec.rb +2 -2
  869. data/spec/models/top_seller_spec.rb +2 -2
  870. data/spec/models/total_period_spec.rb +2 -2
  871. data/spec/models/total_price_spec.rb +2 -2
  872. data/spec/models/user_role_spec.rb +5 -5
  873. data/spec/models/validity_spec.rb +2 -2
  874. data/spec/models/voided_receipt_item_spec.rb +8 -2
  875. data/spec/models/voucher_configuration_discount_calculation_spec.rb +50 -0
  876. data/spec/models/voucher_configuration_follow_up_products_spec.rb +46 -0
  877. data/spec/models/voucher_configuration_spec.rb +134 -0
  878. data/spec/models/voucher_resource_spec.rb +88 -0
  879. data/spec/models/voucher_transaction_resource_spec.rb +164 -0
  880. data/spec/models/voucher_transaction_spec.rb +8 -2
  881. data/spec/models/weather_spec.rb +2 -2
  882. data/spec/spec_helper.rb +2 -2
  883. metadata +192 -12
  884. data/docs/TicketCreationApi.md +0 -155
  885. data/lib/korona-cloud-client/api/ticket_creation_api.rb +0 -165
  886. data/spec/api/ticket_creation_api_spec.rb +0 -61
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -21,12 +21,12 @@ module KoronaCloudClient
21
21
  # global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
22
22
  attr_accessor :id
23
23
 
24
- # number of the object, like it is set in backoffice; will be removed when active=false
25
- attr_accessor :number
26
-
27
24
  # the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
28
25
  attr_accessor :revision
29
26
 
27
+ # number of the object, like it is set in backoffice; will be removed when active=false
28
+ attr_accessor :number
29
+
30
30
  attr_accessor :booking_api_user
31
31
 
32
32
  # Format: yyyy-MM-dd'T'HH:mm:ssXXX
@@ -76,8 +76,8 @@ module KoronaCloudClient
76
76
  {
77
77
  :'active' => :'active',
78
78
  :'id' => :'id',
79
- :'number' => :'number',
80
79
  :'revision' => :'revision',
80
+ :'number' => :'number',
81
81
  :'booking_api_user' => :'bookingApiUser',
82
82
  :'booking_time' => :'bookingTime',
83
83
  :'booking_user' => :'bookingUser',
@@ -101,8 +101,8 @@ module KoronaCloudClient
101
101
  {
102
102
  :'active' => :'Boolean',
103
103
  :'id' => :'String',
104
- :'number' => :'String',
105
104
  :'revision' => :'Integer',
105
+ :'number' => :'String',
106
106
  :'booking_api_user' => :'ModelReference',
107
107
  :'booking_time' => :'Time',
108
108
  :'booking_user' => :'ModelReference',
@@ -145,14 +145,14 @@ module KoronaCloudClient
145
145
  self.id = attributes[:'id']
146
146
  end
147
147
 
148
- if attributes.key?(:'number')
149
- self.number = attributes[:'number']
150
- end
151
-
152
148
  if attributes.key?(:'revision')
153
149
  self.revision = attributes[:'revision']
154
150
  end
155
151
 
152
+ if attributes.key?(:'number')
153
+ self.number = attributes[:'number']
154
+ end
155
+
156
156
  if attributes.key?(:'booking_api_user')
157
157
  self.booking_api_user = attributes[:'booking_api_user']
158
158
  end
@@ -226,8 +226,8 @@ module KoronaCloudClient
226
226
  self.class == o.class &&
227
227
  active == o.active &&
228
228
  id == o.id &&
229
- number == o.number &&
230
229
  revision == o.revision &&
230
+ number == o.number &&
231
231
  booking_api_user == o.booking_api_user &&
232
232
  booking_time == o.booking_time &&
233
233
  booking_user == o.booking_user &&
@@ -249,7 +249,7 @@ module KoronaCloudClient
249
249
  # Calculates hash code according to all attributes.
250
250
  # @return [Integer] Hash code
251
251
  def hash
252
- [active, id, number, revision, booking_api_user, booking_time, booking_user, external_id, finish_time, production, reason, receipt_number, warehouse, status].hash
252
+ [active, id, revision, number, booking_api_user, booking_time, booking_user, external_id, finish_time, production, reason, receipt_number, warehouse, status].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -264,6 +264,7 @@ module KoronaCloudClient
264
264
  # @return [Object] Returns the model itself
265
265
  def build_from_hash(attributes)
266
266
  return nil unless attributes.is_a?(Hash)
267
+ attributes = attributes.transform_keys(&:to_sym)
267
268
  self.class.openapi_types.each_pair do |key, type|
268
269
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
269
270
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -134,6 +134,7 @@ module KoronaCloudClient
134
134
  # @return [Object] Returns the model itself
135
135
  def build_from_hash(attributes)
136
136
  return nil unless attributes.is_a?(Hash)
137
+ attributes = attributes.transform_keys(&:to_sym)
137
138
  self.class.openapi_types.each_pair do |key, type|
138
139
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
139
140
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -102,7 +102,7 @@ module KoronaCloudClient
102
102
  # Check to see if the all the properties in the model are valid
103
103
  # @return true if the model is valid
104
104
  def valid?
105
- type_validator = EnumAttributeValidator.new('String', ["BREAKAGE", "EXPIRED_SHELF_LIFE", "OTHER", "THEFT"])
105
+ type_validator = EnumAttributeValidator.new('String', ["BREAKAGE", "EXPIRED_SHELF_LIFE", "OTHER", "THEFT", "PERSONAL_USE", "TRANSFER"])
106
106
  return false unless type_validator.valid?(@type)
107
107
  true
108
108
  end
@@ -110,7 +110,7 @@ module KoronaCloudClient
110
110
  # Custom attribute writer method checking allowed values (enum).
111
111
  # @param [Object] type Object to be assigned
112
112
  def type=(type)
113
- validator = EnumAttributeValidator.new('String', ["BREAKAGE", "EXPIRED_SHELF_LIFE", "OTHER", "THEFT"])
113
+ validator = EnumAttributeValidator.new('String', ["BREAKAGE", "EXPIRED_SHELF_LIFE", "OTHER", "THEFT", "PERSONAL_USE", "TRANSFER"])
114
114
  unless validator.valid?(type)
115
115
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
116
116
  end
@@ -150,6 +150,7 @@ module KoronaCloudClient
150
150
  # @return [Object] Returns the model itself
151
151
  def build_from_hash(attributes)
152
152
  return nil unless attributes.is_a?(Hash)
153
+ attributes = attributes.transform_keys(&:to_sym)
153
154
  self.class.openapi_types.each_pair do |key, type|
154
155
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
155
156
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -21,12 +21,12 @@ module KoronaCloudClient
21
21
  # global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
22
22
  attr_accessor :id
23
23
 
24
- # number of the object, like it is set in backoffice; will be removed when active=false
25
- attr_accessor :number
26
-
27
24
  # the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
28
25
  attr_accessor :revision
29
26
 
27
+ # number of the object, like it is set in backoffice; will be removed when active=false
28
+ attr_accessor :number
29
+
30
30
  attr_accessor :booking_api_user
31
31
 
32
32
  # Format: yyyy-MM-dd'T'HH:mm:ssXXX
@@ -111,8 +111,8 @@ module KoronaCloudClient
111
111
  {
112
112
  :'active' => :'active',
113
113
  :'id' => :'id',
114
- :'number' => :'number',
115
114
  :'revision' => :'revision',
115
+ :'number' => :'number',
116
116
  :'booking_api_user' => :'bookingApiUser',
117
117
  :'booking_time' => :'bookingTime',
118
118
  :'booking_user' => :'bookingUser',
@@ -152,8 +152,8 @@ module KoronaCloudClient
152
152
  {
153
153
  :'active' => :'Boolean',
154
154
  :'id' => :'String',
155
- :'number' => :'String',
156
155
  :'revision' => :'Integer',
156
+ :'number' => :'String',
157
157
  :'booking_api_user' => :'ModelReference',
158
158
  :'booking_time' => :'Time',
159
159
  :'booking_user' => :'ModelReference',
@@ -212,14 +212,14 @@ module KoronaCloudClient
212
212
  self.id = attributes[:'id']
213
213
  end
214
214
 
215
- if attributes.key?(:'number')
216
- self.number = attributes[:'number']
217
- end
218
-
219
215
  if attributes.key?(:'revision')
220
216
  self.revision = attributes[:'revision']
221
217
  end
222
218
 
219
+ if attributes.key?(:'number')
220
+ self.number = attributes[:'number']
221
+ end
222
+
223
223
  if attributes.key?(:'booking_api_user')
224
224
  self.booking_api_user = attributes[:'booking_api_user']
225
225
  end
@@ -359,8 +359,8 @@ module KoronaCloudClient
359
359
  self.class == o.class &&
360
360
  active == o.active &&
361
361
  id == o.id &&
362
- number == o.number &&
363
362
  revision == o.revision &&
363
+ number == o.number &&
364
364
  booking_api_user == o.booking_api_user &&
365
365
  booking_time == o.booking_time &&
366
366
  booking_user == o.booking_user &&
@@ -398,7 +398,7 @@ module KoronaCloudClient
398
398
  # Calculates hash code according to all attributes.
399
399
  # @return [Integer] Hash code
400
400
  def hash
401
- [active, id, number, revision, booking_api_user, booking_time, booking_user, cashier, comment, create_time, create_user, customer, deposit, description, expected_from_date, expected_to_date, finalized, items, items_count, organizational_unit, party_information, pickup_date, point_of_sale, shipping_condition, shipping_supplier_information, source_organizational_unit, special_offer_code, store_order, supplier, status].hash
401
+ [active, id, revision, number, booking_api_user, booking_time, booking_user, cashier, comment, create_time, create_user, customer, deposit, description, expected_from_date, expected_to_date, finalized, items, items_count, organizational_unit, party_information, pickup_date, point_of_sale, shipping_condition, shipping_supplier_information, source_organizational_unit, special_offer_code, store_order, supplier, status].hash
402
402
  end
403
403
 
404
404
  # Builds the object from hash
@@ -413,6 +413,7 @@ module KoronaCloudClient
413
413
  # @return [Object] Returns the model itself
414
414
  def build_from_hash(attributes)
415
415
  return nil unless attributes.is_a?(Hash)
416
+ attributes = attributes.transform_keys(&:to_sym)
416
417
  self.class.openapi_types.each_pair do |key, type|
417
418
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
418
419
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -207,6 +207,7 @@ module KoronaCloudClient
207
207
  # @return [Object] Returns the model itself
208
208
  def build_from_hash(attributes)
209
209
  return nil unless attributes.is_a?(Hash)
210
+ attributes = attributes.transform_keys(&:to_sym)
210
211
  self.class.openapi_types.each_pair do |key, type|
211
212
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
212
213
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -21,12 +21,12 @@ module KoronaCloudClient
21
21
  # global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
22
22
  attr_accessor :id
23
23
 
24
- # number of the object, like it is set in backoffice; will be removed when active=false
25
- attr_accessor :number
26
-
27
24
  # the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
28
25
  attr_accessor :revision
29
26
 
27
+ # number of the object, like it is set in backoffice; will be removed when active=false
28
+ attr_accessor :number
29
+
30
30
  # Format: yyyy-MM-dd'T'HH:mm:ssXXX
31
31
  attr_accessor :arrival_date
32
32
 
@@ -97,8 +97,8 @@ module KoronaCloudClient
97
97
  {
98
98
  :'active' => :'active',
99
99
  :'id' => :'id',
100
- :'number' => :'number',
101
100
  :'revision' => :'revision',
101
+ :'number' => :'number',
102
102
  :'arrival_date' => :'arrivalDate',
103
103
  :'booking_time' => :'bookingTime',
104
104
  :'booking_user' => :'bookingUser',
@@ -132,8 +132,8 @@ module KoronaCloudClient
132
132
  {
133
133
  :'active' => :'Boolean',
134
134
  :'id' => :'String',
135
- :'number' => :'String',
136
135
  :'revision' => :'Integer',
136
+ :'number' => :'String',
137
137
  :'arrival_date' => :'Time',
138
138
  :'booking_time' => :'Time',
139
139
  :'booking_user' => :'ModelReference',
@@ -186,14 +186,14 @@ module KoronaCloudClient
186
186
  self.id = attributes[:'id']
187
187
  end
188
188
 
189
- if attributes.key?(:'number')
190
- self.number = attributes[:'number']
191
- end
192
-
193
189
  if attributes.key?(:'revision')
194
190
  self.revision = attributes[:'revision']
195
191
  end
196
192
 
193
+ if attributes.key?(:'number')
194
+ self.number = attributes[:'number']
195
+ end
196
+
197
197
  if attributes.key?(:'arrival_date')
198
198
  self.arrival_date = attributes[:'arrival_date']
199
199
  end
@@ -307,8 +307,8 @@ module KoronaCloudClient
307
307
  self.class == o.class &&
308
308
  active == o.active &&
309
309
  id == o.id &&
310
- number == o.number &&
311
310
  revision == o.revision &&
311
+ number == o.number &&
312
312
  arrival_date == o.arrival_date &&
313
313
  booking_time == o.booking_time &&
314
314
  booking_user == o.booking_user &&
@@ -340,7 +340,7 @@ module KoronaCloudClient
340
340
  # Calculates hash code according to all attributes.
341
341
  # @return [Integer] Hash code
342
342
  def hash
343
- [active, id, number, revision, arrival_date, booking_time, booking_user, booking_api_user, cashier, create_time, create_user, customer, description, dispatch_notification, items_count, organizational_unit, party_information, point_of_sale, product_stock_order, source_organizational_unit, supplier, comment, custom_price_change, status].hash
343
+ [active, id, revision, number, arrival_date, booking_time, booking_user, booking_api_user, cashier, create_time, create_user, customer, description, dispatch_notification, items_count, organizational_unit, party_information, point_of_sale, product_stock_order, source_organizational_unit, supplier, comment, custom_price_change, status].hash
344
344
  end
345
345
 
346
346
  # Builds the object from hash
@@ -355,6 +355,7 @@ module KoronaCloudClient
355
355
  # @return [Object] Returns the model itself
356
356
  def build_from_hash(attributes)
357
357
  return nil unless attributes.is_a?(Hash)
358
+ attributes = attributes.transform_keys(&:to_sym)
358
359
  self.class.openapi_types.each_pair do |key, type|
359
360
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
360
361
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -162,6 +162,7 @@ module KoronaCloudClient
162
162
  # @return [Object] Returns the model itself
163
163
  def build_from_hash(attributes)
164
164
  return nil unless attributes.is_a?(Hash)
165
+ attributes = attributes.transform_keys(&:to_sym)
165
166
  self.class.openapi_types.each_pair do |key, type|
166
167
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
167
168
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -116,6 +116,7 @@ module KoronaCloudClient
116
116
  # @return [Object] Returns the model itself
117
117
  def build_from_hash(attributes)
118
118
  return nil unless attributes.is_a?(Hash)
119
+ attributes = attributes.transform_keys(&:to_sym)
119
120
  self.class.openapi_types.each_pair do |key, type|
120
121
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
121
122
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -125,6 +125,7 @@ module KoronaCloudClient
125
125
  # @return [Object] Returns the model itself
126
126
  def build_from_hash(attributes)
127
127
  return nil unless attributes.is_a?(Hash)
128
+ attributes = attributes.transform_keys(&:to_sym)
128
129
  self.class.openapi_types.each_pair do |key, type|
129
130
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
130
131
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -116,6 +116,7 @@ module KoronaCloudClient
116
116
  # @return [Object] Returns the model itself
117
117
  def build_from_hash(attributes)
118
118
  return nil unless attributes.is_a?(Hash)
119
+ attributes = attributes.transform_keys(&:to_sym)
119
120
  self.class.openapi_types.each_pair do |key, type|
120
121
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
121
122
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -21,12 +21,12 @@ module KoronaCloudClient
21
21
  # global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
22
22
  attr_accessor :id
23
23
 
24
- # number of the object, like it is set in backoffice; will be removed when active=false
25
- attr_accessor :number
26
-
27
24
  # the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
28
25
  attr_accessor :revision
29
26
 
27
+ # number of the object, like it is set in backoffice; will be removed when active=false
28
+ attr_accessor :number
29
+
30
30
  # Format: yyyy-MM-dd'T'HH:mm:ssXXX
31
31
  attr_accessor :create_time
32
32
 
@@ -53,8 +53,8 @@ module KoronaCloudClient
53
53
  {
54
54
  :'active' => :'active',
55
55
  :'id' => :'id',
56
- :'number' => :'number',
57
56
  :'revision' => :'revision',
57
+ :'number' => :'number',
58
58
  :'create_time' => :'createTime',
59
59
  :'process_time' => :'processTime',
60
60
  :'finish_time' => :'finishTime',
@@ -77,8 +77,8 @@ module KoronaCloudClient
77
77
  {
78
78
  :'active' => :'Boolean',
79
79
  :'id' => :'String',
80
- :'number' => :'String',
81
80
  :'revision' => :'Integer',
81
+ :'number' => :'String',
82
82
  :'create_time' => :'Time',
83
83
  :'process_time' => :'Time',
84
84
  :'finish_time' => :'Time',
@@ -120,14 +120,14 @@ module KoronaCloudClient
120
120
  self.id = attributes[:'id']
121
121
  end
122
122
 
123
- if attributes.key?(:'number')
124
- self.number = attributes[:'number']
125
- end
126
-
127
123
  if attributes.key?(:'revision')
128
124
  self.revision = attributes[:'revision']
129
125
  end
130
126
 
127
+ if attributes.key?(:'number')
128
+ self.number = attributes[:'number']
129
+ end
130
+
131
131
  if attributes.key?(:'create_time')
132
132
  self.create_time = attributes[:'create_time']
133
133
  end
@@ -185,8 +185,8 @@ module KoronaCloudClient
185
185
  self.class == o.class &&
186
186
  active == o.active &&
187
187
  id == o.id &&
188
- number == o.number &&
189
188
  revision == o.revision &&
189
+ number == o.number &&
190
190
  create_time == o.create_time &&
191
191
  process_time == o.process_time &&
192
192
  finish_time == o.finish_time &&
@@ -207,7 +207,7 @@ module KoronaCloudClient
207
207
  # Calculates hash code according to all attributes.
208
208
  # @return [Integer] Hash code
209
209
  def hash
210
- [active, id, number, revision, create_time, process_time, finish_time, point_of_sale, target_organizational_unit, comment, items_count, customer_order, pickup_date].hash
210
+ [active, id, revision, number, create_time, process_time, finish_time, point_of_sale, target_organizational_unit, comment, items_count, customer_order, pickup_date].hash
211
211
  end
212
212
 
213
213
  # Builds the object from hash
@@ -222,6 +222,7 @@ module KoronaCloudClient
222
222
  # @return [Object] Returns the model itself
223
223
  def build_from_hash(attributes)
224
224
  return nil unless attributes.is_a?(Hash)
225
+ attributes = attributes.transform_keys(&:to_sym)
225
226
  self.class.openapi_types.each_pair do |key, type|
226
227
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
227
228
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -134,6 +134,7 @@ module KoronaCloudClient
134
134
  # @return [Object] Returns the model itself
135
135
  def build_from_hash(attributes)
136
136
  return nil unless attributes.is_a?(Hash)
137
+ attributes = attributes.transform_keys(&:to_sym)
137
138
  self.class.openapi_types.each_pair do |key, type|
138
139
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
139
140
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Our api provides access to our cloud services
5
5
 
6
- The version of the OpenAPI document: 2.17.57
6
+ The version of the OpenAPI document: 2.19.20
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -21,12 +21,12 @@ module KoronaCloudClient
21
21
  # global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
22
22
  attr_accessor :id
23
23
 
24
- # number of the object, like it is set in backoffice; will be removed when active=false
25
- attr_accessor :number
26
-
27
24
  # the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers.
28
25
  attr_accessor :revision
29
26
 
27
+ # number of the object, like it is set in backoffice; will be removed when active=false
28
+ attr_accessor :number
29
+
30
30
  attr_accessor :additional_information
31
31
 
32
32
  attr_accessor :address
@@ -50,8 +50,8 @@ module KoronaCloudClient
50
50
  {
51
51
  :'active' => :'active',
52
52
  :'id' => :'id',
53
- :'number' => :'number',
54
53
  :'revision' => :'revision',
54
+ :'number' => :'number',
55
55
  :'additional_information' => :'additionalInformation',
56
56
  :'address' => :'address',
57
57
  :'contact' => :'contact',
@@ -74,8 +74,8 @@ module KoronaCloudClient
74
74
  {
75
75
  :'active' => :'Boolean',
76
76
  :'id' => :'String',
77
- :'number' => :'String',
78
77
  :'revision' => :'Integer',
78
+ :'number' => :'String',
79
79
  :'additional_information' => :'String',
80
80
  :'address' => :'ProductTransferInvolvedPartyInformationData',
81
81
  :'contact' => :'SupplierContact',
@@ -117,14 +117,14 @@ module KoronaCloudClient
117
117
  self.id = attributes[:'id']
118
118
  end
119
119
 
120
- if attributes.key?(:'number')
121
- self.number = attributes[:'number']
122
- end
123
-
124
120
  if attributes.key?(:'revision')
125
121
  self.revision = attributes[:'revision']
126
122
  end
127
123
 
124
+ if attributes.key?(:'number')
125
+ self.number = attributes[:'number']
126
+ end
127
+
128
128
  if attributes.key?(:'additional_information')
129
129
  self.additional_information = attributes[:'additional_information']
130
130
  end
@@ -182,8 +182,8 @@ module KoronaCloudClient
182
182
  self.class == o.class &&
183
183
  active == o.active &&
184
184
  id == o.id &&
185
- number == o.number &&
186
185
  revision == o.revision &&
186
+ number == o.number &&
187
187
  additional_information == o.additional_information &&
188
188
  address == o.address &&
189
189
  contact == o.contact &&
@@ -204,7 +204,7 @@ module KoronaCloudClient
204
204
  # Calculates hash code according to all attributes.
205
205
  # @return [Integer] Hash code
206
206
  def hash
207
- [active, id, number, revision, additional_information, address, contact, contact_person, customer_number, name, payment, return_address, delivery_conditions].hash
207
+ [active, id, revision, number, additional_information, address, contact, contact_person, customer_number, name, payment, return_address, delivery_conditions].hash
208
208
  end
209
209
 
210
210
  # Builds the object from hash
@@ -219,6 +219,7 @@ module KoronaCloudClient
219
219
  # @return [Object] Returns the model itself
220
220
  def build_from_hash(attributes)
221
221
  return nil unless attributes.is_a?(Hash)
222
+ attributes = attributes.transform_keys(&:to_sym)
222
223
  self.class.openapi_types.each_pair do |key, type|
223
224
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
224
225
  self.send("#{key}=", nil)