korona-cloud-client 1.0.13 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (686) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +506 -472
  3. data/docs/AccountTransaction.md +1 -1
  4. data/docs/AccountsApi.md +64 -52
  5. data/docs/AddOrUpdateResult.md +3 -3
  6. data/docs/AdditionalReceiptInfoType.md +1 -1
  7. data/docs/AdditionalReceiptInfoTypesApi.md +64 -52
  8. data/docs/Assortment.md +1 -1
  9. data/docs/AssortmentsApi.md +64 -48
  10. data/docs/Attendance.md +2 -2
  11. data/docs/BadRequestErrorModel.md +20 -0
  12. data/docs/BaseNumberedResource.md +24 -0
  13. data/docs/Cashier.md +7 -5
  14. data/docs/CashierRolesApi.md +64 -48
  15. data/docs/CashierSummary.md +5 -5
  16. data/docs/CashierSummaryAmountCountData.md +20 -0
  17. data/docs/CashierVerificationRequirementsApi.md +48 -36
  18. data/docs/CashierVerificationResult.md +2 -2
  19. data/docs/CashiersApi.md +64 -52
  20. data/docs/CloudSubscription.md +1 -1
  21. data/docs/CommodityGroupsApi.md +64 -48
  22. data/docs/ContraAccountsApi.md +64 -52
  23. data/docs/CostCentersApi.md +64 -52
  24. data/docs/CouponPosition.md +1 -1
  25. data/docs/CouponsApi.md +11 -7
  26. data/docs/CreationTask.md +1 -1
  27. data/docs/CurrenciesApi.md +48 -36
  28. data/docs/Currency.md +5 -3
  29. data/docs/CurrencyExchangeRate.md +1 -1
  30. data/docs/Customer.md +5 -5
  31. data/docs/CustomerDisplayConfiguration.md +6 -0
  32. data/docs/CustomerDisplayConfigurationsApi.md +53 -41
  33. data/docs/CustomerGroupsApi.md +64 -52
  34. data/docs/CustomerInformation.md +1 -1
  35. data/docs/CustomerOrder.md +5 -5
  36. data/docs/CustomerOrderItem.md +1 -1
  37. data/docs/CustomerOrdersApi.md +49 -39
  38. data/docs/CustomersApi.md +64 -48
  39. data/docs/Data.md +20 -0
  40. data/docs/DataExchangeConfiguration.md +20 -0
  41. data/docs/DataExchangeConfigurationsApi.md +151 -0
  42. data/docs/DateInterval.md +4 -4
  43. data/docs/DayRating.md +1 -1
  44. data/docs/DeliveryNote.md +5 -3
  45. data/docs/DeliveryNoteItem.md +3 -1
  46. data/docs/DeliveryNotesApi.md +37 -25
  47. data/docs/Deposit.md +1 -1
  48. data/docs/DeviceConfigurationVariablesApi.md +53 -39
  49. data/docs/DigitalReceiptInfo.md +20 -0
  50. data/docs/Discount.md +4 -2
  51. data/docs/DiscountConfiguration.md +7 -7
  52. data/docs/DiscountConfigurationCustomDiscountLevel.md +20 -0
  53. data/docs/DiscountConfigurationSystemDiscountLevel.md +20 -0
  54. data/docs/DiscountConfigurationsApi.md +637 -71
  55. data/docs/DispatchNotification.md +6 -6
  56. data/docs/DispatchNotificationItem.md +1 -1
  57. data/docs/DispatchNotificationsApi.md +109 -71
  58. data/docs/EconomicZonesApi.md +48 -36
  59. data/docs/EndOfDayStatement.md +1 -1
  60. data/docs/Event.md +1 -1
  61. data/docs/ExternalSystemCallsApi.md +64 -48
  62. data/docs/FiscalTransaction.md +3 -3
  63. data/docs/FiscalUnitCertificateInfo.md +4 -2
  64. data/docs/FiscalUnitsApi.md +48 -36
  65. data/docs/ForbiddenErrorModel.md +20 -0
  66. data/docs/Image.md +30 -0
  67. data/docs/ImagesApi.md +484 -10
  68. data/docs/InfoTextsApi.md +48 -36
  69. data/docs/Interval.md +2 -2
  70. data/docs/InventoriesApi.md +112 -82
  71. data/docs/Inventory.md +3 -3
  72. data/docs/InventoryList.md +4 -4
  73. data/docs/ItemSequencesApi.md +64 -52
  74. data/docs/KoronaAccountApi.md +6 -4
  75. data/docs/Language.md +28 -0
  76. data/docs/LanguagesApi.md +72 -60
  77. data/docs/Message.md +1 -1
  78. data/docs/MessagesApi.md +12 -10
  79. data/docs/MethodNotAllowedErrorModel.md +20 -0
  80. data/docs/NotFoundErrorModel.md +20 -0
  81. data/docs/NumberRangeConfigurationsApi.md +37 -27
  82. data/docs/OpeningHours.md +2 -2
  83. data/docs/OrganizationalUnit.md +3 -1
  84. data/docs/OrganizationalUnitSpecificNumber.md +20 -0
  85. data/docs/OrganizationalUnitsApi.md +127 -95
  86. data/docs/Payment.md +3 -1
  87. data/docs/PaymentMethod.md +5 -1
  88. data/docs/PaymentMethodCategoriesApi.md +64 -52
  89. data/docs/PaymentMethodsApi.md +64 -52
  90. data/docs/PeriodRevenueDataListStatisticTopSeller.md +22 -0
  91. data/docs/PeriodRevenueDataMapStringStatisticRevenueData.md +22 -0
  92. data/docs/PeriodRevenueDataStatisticRevenueData.md +22 -0
  93. data/docs/PointsOfSaleApi.md +79 -57
  94. data/docs/PosBalance.md +2 -2
  95. data/docs/PosBalanceSummaryChangeset.md +1 -1
  96. data/docs/PosButtonLayoutsApi.md +64 -52
  97. data/docs/PosPageLayoutConfigurationsApi.md +64 -52
  98. data/docs/PosProfile.md +11 -7
  99. data/docs/PosProfilesApi.md +64 -52
  100. data/docs/Price.md +36 -0
  101. data/docs/PriceGroupsApi.md +48 -36
  102. data/docs/PriceRulesApi.md +64 -48
  103. data/docs/PricesApi.md +390 -0
  104. data/docs/Product.md +13 -3
  105. data/docs/ProductContainer.md +24 -0
  106. data/docs/ProductPrice.md +3 -1
  107. data/docs/ProductSpecialPrice.md +1 -1
  108. data/docs/ProductStock.md +5 -1
  109. data/docs/ProductTransferInvolvedPartyInformation.md +6 -6
  110. data/docs/ProductionTypesApi.md +48 -36
  111. data/docs/ProductsApi.md +75 -59
  112. data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +3 -3
  113. data/docs/PromotionTrigger.md +1 -1
  114. data/docs/PromotionsApi.md +64 -48
  115. data/docs/Receipt.md +7 -5
  116. data/docs/ReceiptItem.md +3 -3
  117. data/docs/ReceiptLayoutConfiguration.md +9 -3
  118. data/docs/ReceiptLayoutConfigurationsApi.md +64 -52
  119. data/docs/ReceiptsApi.md +16 -10
  120. data/docs/ReportFilesApi.md +64 -48
  121. data/docs/ResultListAccount.md +1 -1
  122. data/docs/ResultListAdditionalReceiptInfoType.md +1 -1
  123. data/docs/ResultListAssortment.md +1 -1
  124. data/docs/ResultListAttendance.md +1 -1
  125. data/docs/ResultListCashier.md +1 -1
  126. data/docs/ResultListCashierRole.md +1 -1
  127. data/docs/ResultListCashierVerificationRequirement.md +1 -1
  128. data/docs/ResultListCommodityGroup.md +1 -1
  129. data/docs/ResultListContraAccount.md +1 -1
  130. data/docs/ResultListCostCenter.md +1 -1
  131. data/docs/ResultListCoupon.md +1 -1
  132. data/docs/ResultListCreationTask.md +1 -1
  133. data/docs/ResultListCurrency.md +1 -1
  134. data/docs/ResultListCustomer.md +1 -1
  135. data/docs/ResultListCustomerDisplayConfiguration.md +1 -1
  136. data/docs/ResultListCustomerGroup.md +1 -1
  137. data/docs/ResultListCustomerOrder.md +1 -1
  138. data/docs/ResultListDataExchangeConfiguration.md +28 -0
  139. data/docs/ResultListDayRating.md +1 -1
  140. data/docs/ResultListDeliveryNote.md +1 -1
  141. data/docs/ResultListDeviceConfigurationVariable.md +1 -1
  142. data/docs/ResultListDiscountConfiguration.md +1 -1
  143. data/docs/ResultListDiscountLevel.md +1 -1
  144. data/docs/ResultListDispatchNotification.md +1 -1
  145. data/docs/ResultListDispatchNotificationItem.md +1 -1
  146. data/docs/ResultListEconomicZone.md +1 -1
  147. data/docs/ResultListEndOfDayStatement.md +1 -1
  148. data/docs/ResultListEntryGate.md +1 -1
  149. data/docs/ResultListEvent.md +1 -1
  150. data/docs/ResultListExternalSystemCall.md +1 -1
  151. data/docs/ResultListFiscalUnit.md +1 -1
  152. data/docs/ResultListImage.md +28 -0
  153. data/docs/ResultListInfoText.md +1 -1
  154. data/docs/ResultListInventory.md +1 -1
  155. data/docs/ResultListInventoryList.md +1 -1
  156. data/docs/ResultListInventoryListItem.md +1 -1
  157. data/docs/ResultListItemSequence.md +1 -1
  158. data/docs/ResultListLanguage.md +28 -0
  159. data/docs/ResultListNumberRangeConfiguration.md +1 -1
  160. data/docs/ResultListOrganizationalUnit.md +1 -1
  161. data/docs/ResultListPaymentMethod.md +1 -1
  162. data/docs/ResultListPaymentMethodCategory.md +1 -1
  163. data/docs/ResultListPos.md +1 -1
  164. data/docs/ResultListPosBalance.md +1 -1
  165. data/docs/ResultListPosButtonLayout.md +1 -1
  166. data/docs/ResultListPosPageLayoutConfiguration.md +1 -1
  167. data/docs/ResultListPosProfile.md +1 -1
  168. data/docs/ResultListPrice.md +28 -0
  169. data/docs/ResultListPriceGroup.md +1 -1
  170. data/docs/ResultListPriceRule.md +1 -1
  171. data/docs/ResultListProduct.md +1 -1
  172. data/docs/ResultListProductStock.md +1 -1
  173. data/docs/ResultListProductionType.md +1 -1
  174. data/docs/ResultListPromotion.md +1 -1
  175. data/docs/ResultListReceipt.md +1 -1
  176. data/docs/ResultListReceiptLayoutConfiguration.md +1 -1
  177. data/docs/ResultListReportFile.md +1 -1
  178. data/docs/ResultListRevenueAccount.md +1 -1
  179. data/docs/ResultListSalesTax.md +1 -1
  180. data/docs/ResultListSector.md +1 -1
  181. data/docs/ResultListSpecialPriceConfiguration.md +1 -1
  182. data/docs/ResultListStockAdjustment.md +1 -1
  183. data/docs/ResultListStockAdjustmentItem.md +1 -1
  184. data/docs/ResultListStockOrder.md +1 -1
  185. data/docs/ResultListStockOrderItem.md +1 -1
  186. data/docs/ResultListStockReceipt.md +1 -1
  187. data/docs/ResultListStockReceiptItem.md +1 -1
  188. data/docs/ResultListStoreOrder.md +1 -1
  189. data/docs/ResultListStoreOrderItem.md +1 -1
  190. data/docs/ResultListSupplier.md +1 -1
  191. data/docs/ResultListTag.md +1 -1
  192. data/docs/ResultListTicket.md +1 -1
  193. data/docs/ResultListTicketDefinition.md +1 -1
  194. data/docs/ResultListTimeTrackingEntity.md +1 -1
  195. data/docs/ResultListTimeTrackingEntry.md +1 -1
  196. data/docs/ResultListUser.md +28 -0
  197. data/docs/ResultListUserRole.md +1 -1
  198. data/docs/ResultListVoucher.md +28 -0
  199. data/docs/ResultListVoucherConfiguration.md +1 -1
  200. data/docs/ResultListVoucherTransaction.md +28 -0
  201. data/docs/RevenueAccountsApi.md +64 -52
  202. data/docs/SalesTaxRate.md +1 -1
  203. data/docs/SalesTaxesApi.md +48 -36
  204. data/docs/SectorsApi.md +48 -36
  205. data/docs/Signature.md +1 -1
  206. data/docs/SpecialPriceConfiguration.md +2 -2
  207. data/docs/SpecialPriceConfigurationsApi.md +53 -39
  208. data/docs/StatisticListSectorData.md +28 -0
  209. data/docs/StatisticListTopSeller.md +2 -2
  210. data/docs/StatisticMapStringRevenueData.md +2 -2
  211. data/docs/StatisticRevenueData.md +10 -6
  212. data/docs/StatisticSectorData.md +30 -0
  213. data/docs/StatisticTopSeller.md +26 -0
  214. data/docs/StatisticsApi.md +102 -13
  215. data/docs/StockAdjustment.md +2 -2
  216. data/docs/StockAdjustmentsApi.md +86 -64
  217. data/docs/StockOrder.md +5 -5
  218. data/docs/StockOrderItem.md +1 -1
  219. data/docs/StockOrdersApi.md +26 -16
  220. data/docs/StockReceipt.md +3 -3
  221. data/docs/StockReceiptItem.md +1 -1
  222. data/docs/StockReceiptsApi.md +86 -64
  223. data/docs/StoreOrder.md +3 -3
  224. data/docs/StoreOrdersApi.md +87 -67
  225. data/docs/Supplier.md +2 -2
  226. data/docs/SupplierPaymentInformation.md +1 -1
  227. data/docs/SuppliersApi.md +48 -36
  228. data/docs/TagsApi.md +67 -49
  229. data/docs/Ticket.md +2 -2
  230. data/docs/TicketData.md +4 -4
  231. data/docs/TicketingApi.md +220 -198
  232. data/docs/TimeOfDayInterval.md +2 -2
  233. data/docs/TimeTrackingApi.md +51 -35
  234. data/docs/TimeTrackingEntry.md +1 -1
  235. data/docs/TooManyRequestsErrorModel.md +20 -0
  236. data/docs/TotalPeriod.md +2 -2
  237. data/docs/TotalPrice.md +5 -5
  238. data/docs/User.md +44 -0
  239. data/docs/UserRolesApi.md +64 -48
  240. data/docs/UsersApi.md +536 -0
  241. data/docs/Voucher.md +36 -0
  242. data/docs/VoucherConfigurationsApi.md +78 -64
  243. data/docs/VoucherTransaction.md +36 -14
  244. data/docs/VoucherTransactionOld.md +38 -0
  245. data/docs/VoucherTransactionsApi.md +161 -0
  246. data/docs/VouchersApi.md +159 -287
  247. data/korona-cloud-client-1.0.10.gem +0 -0
  248. data/korona-cloud-client-1.0.11.gem +0 -0
  249. data/korona-cloud-client-1.0.14.gem +0 -0
  250. data/korona-cloud-client.gemspec +3 -2
  251. data/lib/korona-cloud-client/api/accounts_api.rb +51 -48
  252. data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +51 -48
  253. data/lib/korona-cloud-client/api/assortments_api.rb +47 -40
  254. data/lib/korona-cloud-client/api/cashier_roles_api.rb +47 -40
  255. data/lib/korona-cloud-client/api/cashier_verification_requirements_api.rb +38 -31
  256. data/lib/korona-cloud-client/api/cashiers_api.rb +51 -48
  257. data/lib/korona-cloud-client/api/commodity_groups_api.rb +47 -40
  258. data/lib/korona-cloud-client/api/contra_accounts_api.rb +51 -48
  259. data/lib/korona-cloud-client/api/cost_centers_api.rb +51 -48
  260. data/lib/korona-cloud-client/api/coupons_api.rb +2 -2
  261. data/lib/korona-cloud-client/api/currencies_api.rb +38 -31
  262. data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +40 -35
  263. data/lib/korona-cloud-client/api/customer_groups_api.rb +51 -48
  264. data/lib/korona-cloud-client/api/customer_orders_api.rb +31 -33
  265. data/lib/korona-cloud-client/api/customers_api.rb +47 -40
  266. data/lib/korona-cloud-client/api/data_exchange_configurations_api.rb +155 -0
  267. data/lib/korona-cloud-client/api/delivery_notes_api.rb +11 -11
  268. data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +38 -31
  269. data/lib/korona-cloud-client/api/discount_configurations_api.rb +643 -77
  270. data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +74 -51
  271. data/lib/korona-cloud-client/api/economic_zones_api.rb +38 -31
  272. data/lib/korona-cloud-client/api/external_system_calls_api.rb +47 -40
  273. data/lib/korona-cloud-client/api/fiscal_units_api.rb +38 -31
  274. data/lib/korona-cloud-client/api/images_api.rb +470 -5
  275. data/lib/korona-cloud-client/api/info_texts_api.rb +38 -31
  276. data/lib/korona-cloud-client/api/inventories_api.rb +56 -56
  277. data/lib/korona-cloud-client/api/item_sequences_api.rb +51 -48
  278. data/lib/korona-cloud-client/api/korona_account_api.rb +2 -2
  279. data/lib/korona-cloud-client/api/languages_api.rb +57 -54
  280. data/lib/korona-cloud-client/api/messages_api.rb +11 -11
  281. data/lib/korona-cloud-client/api/number_range_configurations_api.rb +29 -22
  282. data/lib/korona-cloud-client/api/organizational_units_api.rb +76 -71
  283. data/lib/korona-cloud-client/api/payment_method_categories_api.rb +51 -48
  284. data/lib/korona-cloud-client/api/payment_methods_api.rb +51 -48
  285. data/lib/korona-cloud-client/api/points_of_sale_api.rb +48 -41
  286. data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +51 -48
  287. data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +51 -48
  288. data/lib/korona-cloud-client/api/pos_profiles_api.rb +51 -48
  289. data/lib/korona-cloud-client/api/price_groups_api.rb +38 -31
  290. data/lib/korona-cloud-client/api/price_rules_api.rb +47 -40
  291. data/lib/korona-cloud-client/api/prices_api.rb +394 -0
  292. data/lib/korona-cloud-client/api/production_types_api.rb +38 -31
  293. data/lib/korona-cloud-client/api/products_api.rb +51 -48
  294. data/lib/korona-cloud-client/api/promotions_api.rb +47 -40
  295. data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +51 -48
  296. data/lib/korona-cloud-client/api/receipts_api.rb +2 -2
  297. data/lib/korona-cloud-client/api/report_files_api.rb +47 -40
  298. data/lib/korona-cloud-client/api/revenue_accounts_api.rb +51 -48
  299. data/lib/korona-cloud-client/api/sales_taxes_api.rb +38 -31
  300. data/lib/korona-cloud-client/api/sectors_api.rb +38 -31
  301. data/lib/korona-cloud-client/api/special_price_configurations_api.rb +38 -31
  302. data/lib/korona-cloud-client/api/statistics_api.rb +83 -2
  303. data/lib/korona-cloud-client/api/stock_adjustments_api.rb +47 -47
  304. data/lib/korona-cloud-client/api/stock_orders_api.rb +2 -2
  305. data/lib/korona-cloud-client/api/stock_receipts_api.rb +47 -47
  306. data/lib/korona-cloud-client/api/store_orders_api.rb +47 -50
  307. data/lib/korona-cloud-client/api/suppliers_api.rb +38 -31
  308. data/lib/korona-cloud-client/api/tags_api.rb +50 -40
  309. data/lib/korona-cloud-client/api/ticketing_api.rb +136 -117
  310. data/lib/korona-cloud-client/api/time_tracking_api.rb +38 -24
  311. data/lib/korona-cloud-client/api/user_roles_api.rb +47 -40
  312. data/lib/korona-cloud-client/api/users_api.rb +539 -0
  313. data/lib/korona-cloud-client/api/voucher_configurations_api.rb +76 -71
  314. data/lib/korona-cloud-client/api/voucher_transactions_api.rb +162 -0
  315. data/lib/korona-cloud-client/api/vouchers_api.rb +169 -308
  316. data/lib/korona-cloud-client/api_client.rb +2 -2
  317. data/lib/korona-cloud-client/api_error.rb +3 -2
  318. data/lib/korona-cloud-client/configuration.rb +29 -11
  319. data/lib/korona-cloud-client/models/account.rb +14 -19
  320. data/lib/korona-cloud-client/models/account_summary.rb +14 -19
  321. data/lib/korona-cloud-client/models/account_transaction.rb +16 -29
  322. data/lib/korona-cloud-client/models/add_or_update_result.rb +27 -32
  323. data/lib/korona-cloud-client/models/additional_info.rb +14 -19
  324. data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +17 -29
  325. data/lib/korona-cloud-client/models/address_information.rb +14 -19
  326. data/lib/korona-cloud-client/models/admission.rb +14 -19
  327. data/lib/korona-cloud-client/models/amount.rb +14 -19
  328. data/lib/korona-cloud-client/models/assortment.rb +15 -20
  329. data/lib/korona-cloud-client/models/attendance.rb +17 -21
  330. data/lib/korona-cloud-client/models/bad_request_error_model.rb +260 -0
  331. data/lib/korona-cloud-client/models/base_numbered_resource.rb +245 -0
  332. data/lib/korona-cloud-client/models/capacity.rb +14 -19
  333. data/lib/korona-cloud-client/models/cashier.rb +31 -31
  334. data/lib/korona-cloud-client/models/cashier_role.rb +14 -19
  335. data/lib/korona-cloud-client/models/cashier_summary.rb +19 -24
  336. data/lib/korona-cloud-client/models/cashier_summary_amount_count_data.rb +224 -0
  337. data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +14 -25
  338. data/lib/korona-cloud-client/models/cashier_verification_result.rb +16 -21
  339. data/lib/korona-cloud-client/models/category.rb +14 -19
  340. data/lib/korona-cloud-client/models/cloud_subscription.rb +15 -19
  341. data/lib/korona-cloud-client/models/cloud_subscription_details.rb +14 -19
  342. data/lib/korona-cloud-client/models/commodity_group.rb +14 -19
  343. data/lib/korona-cloud-client/models/commodity_group_summary.rb +14 -19
  344. data/lib/korona-cloud-client/models/company_identification.rb +14 -19
  345. data/lib/korona-cloud-client/models/contra_account.rb +14 -19
  346. data/lib/korona-cloud-client/models/cost_center.rb +14 -19
  347. data/lib/korona-cloud-client/models/coupon.rb +14 -19
  348. data/lib/korona-cloud-client/models/coupon_position.rb +17 -29
  349. data/lib/korona-cloud-client/models/creation_task.rb +16 -20
  350. data/lib/korona-cloud-client/models/currency.rb +36 -32
  351. data/lib/korona-cloud-client/models/currency_denomination.rb +14 -19
  352. data/lib/korona-cloud-client/models/currency_exchange_rate.rb +15 -20
  353. data/lib/korona-cloud-client/models/customer.rb +17 -28
  354. data/lib/korona-cloud-client/models/customer_card.rb +14 -19
  355. data/lib/korona-cloud-client/models/customer_data.rb +14 -19
  356. data/lib/korona-cloud-client/models/customer_display_configuration.rb +42 -20
  357. data/lib/korona-cloud-client/models/customer_group.rb +14 -19
  358. data/lib/korona-cloud-client/models/customer_group_summary.rb +14 -19
  359. data/lib/korona-cloud-client/models/customer_information.rb +15 -20
  360. data/lib/korona-cloud-client/models/customer_order.rb +18 -24
  361. data/lib/korona-cloud-client/models/customer_order_item.rb +15 -26
  362. data/lib/korona-cloud-client/models/data.rb +224 -0
  363. data/lib/korona-cloud-client/models/data_exchange_configuration.rb +258 -0
  364. data/lib/korona-cloud-client/models/date_interval.rb +16 -21
  365. data/lib/korona-cloud-client/models/day_rating.rb +15 -20
  366. data/lib/korona-cloud-client/models/day_time_period.rb +14 -19
  367. data/lib/korona-cloud-client/models/delivery_note.rb +30 -25
  368. data/lib/korona-cloud-client/models/delivery_note_item.rb +27 -23
  369. data/lib/korona-cloud-client/models/deposit.rb +16 -20
  370. data/lib/korona-cloud-client/models/device_configuration.rb +16 -33
  371. data/lib/korona-cloud-client/models/device_configuration_variable.rb +14 -19
  372. data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +14 -19
  373. data/lib/korona-cloud-client/models/device_information.rb +15 -19
  374. data/lib/korona-cloud-client/models/device_parameter_item.rb +14 -19
  375. data/lib/korona-cloud-client/models/digital_receipt_info.rb +223 -0
  376. data/lib/korona-cloud-client/models/discount.rb +27 -23
  377. data/lib/korona-cloud-client/models/discount_configuration.rb +74 -45
  378. data/lib/korona-cloud-client/models/discount_configuration_custom_discount_level.rb +223 -0
  379. data/lib/korona-cloud-client/models/discount_configuration_system_discount_level.rb +257 -0
  380. data/lib/korona-cloud-client/models/discount_level.rb +15 -19
  381. data/lib/korona-cloud-client/models/dispatch_notification.rb +18 -21
  382. data/lib/korona-cloud-client/models/dispatch_notification_item.rb +15 -20
  383. data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +14 -19
  384. data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +14 -19
  385. data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +14 -19
  386. data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +14 -19
  387. data/lib/korona-cloud-client/models/economic_zone.rb +14 -19
  388. data/lib/korona-cloud-client/models/end_of_day_statement.rb +16 -20
  389. data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +14 -55
  390. data/lib/korona-cloud-client/models/entry_gate.rb +14 -19
  391. data/lib/korona-cloud-client/models/event.rb +15 -32
  392. data/lib/korona-cloud-client/models/external_system_call.rb +14 -19
  393. data/lib/korona-cloud-client/models/fiscal_transaction.rb +17 -39
  394. data/lib/korona-cloud-client/models/fiscal_unit.rb +14 -36
  395. data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +29 -41
  396. data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +14 -19
  397. data/lib/korona-cloud-client/models/fiscal_unit_state.rb +15 -22
  398. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +14 -19
  399. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +14 -19
  400. data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +14 -19
  401. data/lib/korona-cloud-client/models/forbidden_error_model.rb +260 -0
  402. data/lib/korona-cloud-client/models/geo_location.rb +14 -19
  403. data/lib/korona-cloud-client/models/image.rb +318 -0
  404. data/lib/korona-cloud-client/models/info_text.rb +14 -19
  405. data/lib/korona-cloud-client/models/interval.rb +16 -21
  406. data/lib/korona-cloud-client/models/inventory.rb +16 -28
  407. data/lib/korona-cloud-client/models/inventory_list.rb +19 -23
  408. data/lib/korona-cloud-client/models/inventory_list_item.rb +14 -19
  409. data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +14 -19
  410. data/lib/korona-cloud-client/models/item_sequence.rb +14 -19
  411. data/lib/korona-cloud-client/models/korona_account.rb +14 -25
  412. data/lib/korona-cloud-client/models/language.rb +263 -0
  413. data/lib/korona-cloud-client/models/media_url.rb +14 -19
  414. data/lib/korona-cloud-client/models/message.rb +17 -29
  415. data/lib/korona-cloud-client/models/method_not_allowed_error_model.rb +260 -0
  416. data/lib/korona-cloud-client/models/model_reference.rb +14 -19
  417. data/lib/korona-cloud-client/models/not_found_error_model.rb +260 -0
  418. data/lib/korona-cloud-client/models/number_range.rb +14 -19
  419. data/lib/korona-cloud-client/models/number_range_configuration.rb +14 -19
  420. data/lib/korona-cloud-client/models/opening_hours.rb +16 -21
  421. data/lib/korona-cloud-client/models/organizational_unit.rb +29 -29
  422. data/lib/korona-cloud-client/models/organizational_unit_specific_number.rb +223 -0
  423. data/lib/korona-cloud-client/models/payment.rb +26 -24
  424. data/lib/korona-cloud-client/models/payment_method.rb +36 -23
  425. data/lib/korona-cloud-client/models/payment_method_category.rb +14 -19
  426. data/lib/korona-cloud-client/models/payment_service_configuration.rb +14 -19
  427. data/lib/korona-cloud-client/models/payment_summary.rb +14 -19
  428. data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +14 -19
  429. data/lib/korona-cloud-client/models/period_revenue_data_list_statistic_top_seller.rb +236 -0
  430. data/lib/korona-cloud-client/models/period_revenue_data_map_string_statistic_revenue_data.rb +234 -0
  431. data/lib/korona-cloud-client/models/period_revenue_data_statistic_revenue_data.rb +234 -0
  432. data/lib/korona-cloud-client/models/pos.rb +17 -34
  433. data/lib/korona-cloud-client/models/pos_balance.rb +17 -39
  434. data/lib/korona-cloud-client/models/pos_balance_item.rb +14 -19
  435. data/lib/korona-cloud-client/models/pos_balance_summary.rb +14 -19
  436. data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +15 -20
  437. data/lib/korona-cloud-client/models/pos_balance_total.rb +14 -19
  438. data/lib/korona-cloud-client/models/pos_button.rb +14 -19
  439. data/lib/korona-cloud-client/models/pos_button_function.rb +18 -23
  440. data/lib/korona-cloud-client/models/pos_button_layout.rb +14 -25
  441. data/lib/korona-cloud-client/models/pos_page_layout.rb +14 -19
  442. data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +14 -25
  443. data/lib/korona-cloud-client/models/pos_profile.rb +56 -60
  444. data/lib/korona-cloud-client/models/prepaid_card.rb +14 -19
  445. data/lib/korona-cloud-client/models/price.rb +300 -0
  446. data/lib/korona-cloud-client/models/price_group.rb +14 -19
  447. data/lib/korona-cloud-client/models/price_rule.rb +14 -19
  448. data/lib/korona-cloud-client/models/price_rule_calculation.rb +14 -19
  449. data/lib/korona-cloud-client/models/price_rule_condition.rb +14 -19
  450. data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +14 -19
  451. data/lib/korona-cloud-client/models/price_rule_validity_period.rb +14 -19
  452. data/lib/korona-cloud-client/models/product.rb +71 -36
  453. data/lib/korona-cloud-client/models/product_code.rb +14 -19
  454. data/lib/korona-cloud-client/models/product_container.rb +243 -0
  455. data/lib/korona-cloud-client/models/product_description.rb +14 -19
  456. data/lib/korona-cloud-client/models/product_price.rb +27 -23
  457. data/lib/korona-cloud-client/models/product_special_price.rb +14 -20
  458. data/lib/korona-cloud-client/models/product_stock.rb +37 -23
  459. data/lib/korona-cloud-client/models/product_subproduct.rb +14 -19
  460. data/lib/korona-cloud-client/models/product_supplier_price.rb +14 -19
  461. data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +20 -25
  462. data/lib/korona-cloud-client/models/production_type.rb +14 -19
  463. data/lib/korona-cloud-client/models/production_type_setting.rb +14 -19
  464. data/lib/korona-cloud-client/models/promotion.rb +14 -25
  465. data/lib/korona-cloud-client/models/promotion_application.rb +14 -19
  466. data/lib/korona-cloud-client/models/promotion_benefit.rb +15 -19
  467. data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +14 -19
  468. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +14 -19
  469. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +14 -19
  470. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +14 -19
  471. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +14 -19
  472. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +14 -19
  473. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +14 -19
  474. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +14 -19
  475. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +23 -43
  476. data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +14 -19
  477. data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +15 -19
  478. data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +14 -19
  479. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +14 -19
  480. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +14 -19
  481. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +14 -19
  482. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +14 -19
  483. data/lib/korona-cloud-client/models/promotion_coupon.rb +15 -25
  484. data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +14 -19
  485. data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +15 -19
  486. data/lib/korona-cloud-client/models/promotion_layer.rb +14 -19
  487. data/lib/korona-cloud-client/models/promotion_stamp.rb +15 -19
  488. data/lib/korona-cloud-client/models/promotion_trigger.rb +17 -29
  489. data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +15 -19
  490. data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +15 -19
  491. data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +15 -19
  492. data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +14 -19
  493. data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +15 -19
  494. data/lib/korona-cloud-client/models/promotion_validity.rb +14 -31
  495. data/lib/korona-cloud-client/models/rating.rb +14 -19
  496. data/lib/korona-cloud-client/models/receipt.rb +39 -43
  497. data/lib/korona-cloud-client/models/receipt_item.rb +18 -31
  498. data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +14 -19
  499. data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +67 -32
  500. data/lib/korona-cloud-client/models/receipt_max_revisions.rb +14 -19
  501. data/lib/korona-cloud-client/models/receipt_revenue.rb +14 -19
  502. data/lib/korona-cloud-client/models/receipt_total.rb +14 -19
  503. data/lib/korona-cloud-client/models/report_file.rb +14 -36
  504. data/lib/korona-cloud-client/models/result_list_account.rb +27 -28
  505. data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +27 -28
  506. data/lib/korona-cloud-client/models/result_list_assortment.rb +27 -28
  507. data/lib/korona-cloud-client/models/result_list_attendance.rb +27 -28
  508. data/lib/korona-cloud-client/models/result_list_cashier.rb +27 -28
  509. data/lib/korona-cloud-client/models/result_list_cashier_role.rb +27 -28
  510. data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +27 -28
  511. data/lib/korona-cloud-client/models/result_list_commodity_group.rb +27 -28
  512. data/lib/korona-cloud-client/models/result_list_contra_account.rb +27 -28
  513. data/lib/korona-cloud-client/models/result_list_cost_center.rb +27 -28
  514. data/lib/korona-cloud-client/models/result_list_coupon.rb +27 -28
  515. data/lib/korona-cloud-client/models/result_list_creation_task.rb +27 -28
  516. data/lib/korona-cloud-client/models/result_list_currency.rb +27 -28
  517. data/lib/korona-cloud-client/models/result_list_customer.rb +27 -28
  518. data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +27 -28
  519. data/lib/korona-cloud-client/models/result_list_customer_group.rb +27 -28
  520. data/lib/korona-cloud-client/models/result_list_customer_order.rb +27 -28
  521. data/lib/korona-cloud-client/models/result_list_data_exchange_configuration.rb +303 -0
  522. data/lib/korona-cloud-client/models/result_list_day_rating.rb +27 -28
  523. data/lib/korona-cloud-client/models/result_list_delivery_note.rb +27 -28
  524. data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +27 -28
  525. data/lib/korona-cloud-client/models/result_list_discount_configuration.rb +27 -28
  526. data/lib/korona-cloud-client/models/result_list_discount_level.rb +27 -28
  527. data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +27 -28
  528. data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +27 -28
  529. data/lib/korona-cloud-client/models/result_list_economic_zone.rb +27 -28
  530. data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +27 -28
  531. data/lib/korona-cloud-client/models/result_list_entry_gate.rb +27 -28
  532. data/lib/korona-cloud-client/models/result_list_event.rb +27 -28
  533. data/lib/korona-cloud-client/models/result_list_external_system_call.rb +27 -28
  534. data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +27 -28
  535. data/lib/korona-cloud-client/models/result_list_image.rb +303 -0
  536. data/lib/korona-cloud-client/models/result_list_info_text.rb +27 -28
  537. data/lib/korona-cloud-client/models/result_list_inventory.rb +27 -28
  538. data/lib/korona-cloud-client/models/result_list_inventory_list.rb +27 -28
  539. data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +27 -28
  540. data/lib/korona-cloud-client/models/result_list_item_sequence.rb +27 -28
  541. data/lib/korona-cloud-client/models/result_list_language.rb +303 -0
  542. data/lib/korona-cloud-client/models/result_list_number_range_configuration.rb +27 -28
  543. data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +27 -28
  544. data/lib/korona-cloud-client/models/result_list_payment_method.rb +27 -28
  545. data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +27 -28
  546. data/lib/korona-cloud-client/models/result_list_pos.rb +27 -28
  547. data/lib/korona-cloud-client/models/result_list_pos_balance.rb +27 -28
  548. data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +27 -28
  549. data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +27 -28
  550. data/lib/korona-cloud-client/models/result_list_pos_profile.rb +27 -28
  551. data/lib/korona-cloud-client/models/result_list_price.rb +303 -0
  552. data/lib/korona-cloud-client/models/result_list_price_group.rb +27 -28
  553. data/lib/korona-cloud-client/models/result_list_price_rule.rb +27 -28
  554. data/lib/korona-cloud-client/models/result_list_product.rb +27 -28
  555. data/lib/korona-cloud-client/models/result_list_product_stock.rb +27 -28
  556. data/lib/korona-cloud-client/models/result_list_production_type.rb +27 -28
  557. data/lib/korona-cloud-client/models/result_list_promotion.rb +27 -28
  558. data/lib/korona-cloud-client/models/result_list_receipt.rb +27 -28
  559. data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +27 -28
  560. data/lib/korona-cloud-client/models/result_list_report_file.rb +27 -28
  561. data/lib/korona-cloud-client/models/result_list_revenue_account.rb +27 -28
  562. data/lib/korona-cloud-client/models/result_list_sales_tax.rb +27 -28
  563. data/lib/korona-cloud-client/models/result_list_sector.rb +27 -28
  564. data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +27 -28
  565. data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +27 -28
  566. data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +27 -28
  567. data/lib/korona-cloud-client/models/result_list_stock_order.rb +27 -28
  568. data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +27 -28
  569. data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +27 -28
  570. data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +27 -28
  571. data/lib/korona-cloud-client/models/result_list_store_order.rb +27 -28
  572. data/lib/korona-cloud-client/models/result_list_store_order_item.rb +27 -28
  573. data/lib/korona-cloud-client/models/result_list_supplier.rb +27 -28
  574. data/lib/korona-cloud-client/models/result_list_tag.rb +27 -28
  575. data/lib/korona-cloud-client/models/result_list_ticket.rb +27 -28
  576. data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +27 -28
  577. data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +27 -28
  578. data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +27 -28
  579. data/lib/korona-cloud-client/models/result_list_user.rb +303 -0
  580. data/lib/korona-cloud-client/models/result_list_user_role.rb +27 -28
  581. data/lib/korona-cloud-client/models/result_list_voucher.rb +303 -0
  582. data/lib/korona-cloud-client/models/result_list_voucher_configuration.rb +27 -28
  583. data/lib/korona-cloud-client/models/result_list_voucher_transaction.rb +303 -0
  584. data/lib/korona-cloud-client/models/revenue_account.rb +14 -19
  585. data/lib/korona-cloud-client/models/sales_tax.rb +14 -19
  586. data/lib/korona-cloud-client/models/sales_tax_rate.rb +15 -20
  587. data/lib/korona-cloud-client/models/sector.rb +14 -19
  588. data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +14 -19
  589. data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +14 -19
  590. data/lib/korona-cloud-client/models/service.rb +14 -19
  591. data/lib/korona-cloud-client/models/signature.rb +15 -37
  592. data/lib/korona-cloud-client/models/special_price.rb +14 -19
  593. data/lib/korona-cloud-client/models/special_price_configuration.rb +16 -27
  594. data/lib/korona-cloud-client/models/statistic_list_sector_data.rb +303 -0
  595. data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +16 -21
  596. data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +16 -21
  597. data/lib/korona-cloud-client/models/statistic_revenue_data.rb +52 -38
  598. data/lib/korona-cloud-client/models/statistic_sector_data.rb +269 -0
  599. data/lib/korona-cloud-client/models/statistic_top_seller.rb +254 -0
  600. data/lib/korona-cloud-client/models/stock_adjustment.rb +16 -21
  601. data/lib/korona-cloud-client/models/stock_adjustment_item.rb +14 -19
  602. data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +14 -19
  603. data/lib/korona-cloud-client/models/stock_order.rb +20 -24
  604. data/lib/korona-cloud-client/models/stock_order_item.rb +15 -20
  605. data/lib/korona-cloud-client/models/stock_receipt.rb +24 -22
  606. data/lib/korona-cloud-client/models/stock_receipt_item.rb +15 -20
  607. data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +14 -19
  608. data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +14 -19
  609. data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +14 -19
  610. data/lib/korona-cloud-client/models/store_order.rb +17 -22
  611. data/lib/korona-cloud-client/models/store_order_item.rb +14 -19
  612. data/lib/korona-cloud-client/models/supplier.rb +16 -21
  613. data/lib/korona-cloud-client/models/supplier_contact.rb +14 -19
  614. data/lib/korona-cloud-client/models/supplier_contact_person.rb +14 -19
  615. data/lib/korona-cloud-client/models/supplier_payment_information.rb +15 -19
  616. data/lib/korona-cloud-client/models/tag.rb +14 -19
  617. data/lib/korona-cloud-client/models/tax_payment.rb +15 -19
  618. data/lib/korona-cloud-client/models/tax_summary.rb +14 -19
  619. data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +14 -19
  620. data/lib/korona-cloud-client/models/ticket.rb +17 -21
  621. data/lib/korona-cloud-client/models/ticket_data.rb +18 -23
  622. data/lib/korona-cloud-client/models/ticket_definition.rb +14 -25
  623. data/lib/korona-cloud-client/models/ticket_personalization.rb +14 -36
  624. data/lib/korona-cloud-client/models/time_of_day_interval.rb +16 -21
  625. data/lib/korona-cloud-client/models/time_period.rb +14 -19
  626. data/lib/korona-cloud-client/models/time_tracking_entity.rb +14 -19
  627. data/lib/korona-cloud-client/models/time_tracking_entry.rb +15 -20
  628. data/lib/korona-cloud-client/models/too_many_requests_error_model.rb +260 -0
  629. data/lib/korona-cloud-client/models/total_period.rb +16 -21
  630. data/lib/korona-cloud-client/models/total_price.rb +15 -31
  631. data/lib/korona-cloud-client/models/user.rb +339 -0
  632. data/lib/korona-cloud-client/models/user_role.rb +14 -19
  633. data/lib/korona-cloud-client/models/validity.rb +14 -25
  634. data/lib/korona-cloud-client/models/voided_receipt_item.rb +15 -22
  635. data/lib/korona-cloud-client/models/voucher.rb +301 -0
  636. data/lib/korona-cloud-client/models/voucher_configuration.rb +14 -19
  637. data/lib/korona-cloud-client/models/voucher_configuration_discount_calculation.rb +14 -19
  638. data/lib/korona-cloud-client/models/voucher_configuration_follow_up_products.rb +14 -19
  639. data/lib/korona-cloud-client/models/voucher_transaction.rb +171 -74
  640. data/lib/korona-cloud-client/models/voucher_transaction_old.rb +340 -0
  641. data/lib/korona-cloud-client/models/weather.rb +14 -19
  642. data/lib/korona-cloud-client/version.rb +3 -3
  643. data/lib/korona-cloud-client.rb +39 -25
  644. data/spec/api/data_exchange_configurations_api_spec.rb +58 -0
  645. data/spec/api/prices_api_spec.rb +102 -0
  646. data/spec/api/users_api_spec.rb +127 -0
  647. data/spec/api/voucher_transactions_api_spec.rb +62 -0
  648. data/spec/api_client_spec.rb +4 -2
  649. data/spec/configuration_spec.rb +5 -5
  650. data/spec/models/bad_request_error_model_spec.rb +44 -0
  651. data/spec/models/base_numbered_resource_spec.rb +52 -0
  652. data/spec/models/cashier_summary_amount_count_data_spec.rb +40 -0
  653. data/spec/models/data_exchange_configuration_spec.rb +44 -0
  654. data/spec/models/data_spec.rb +40 -0
  655. data/spec/models/digital_receipt_info_spec.rb +40 -0
  656. data/spec/models/discount_configuration_custom_discount_level_spec.rb +40 -0
  657. data/spec/models/discount_configuration_system_discount_level_spec.rb +44 -0
  658. data/spec/models/forbidden_error_model_spec.rb +44 -0
  659. data/spec/models/image_spec.rb +78 -0
  660. data/spec/models/language_spec.rb +64 -0
  661. data/spec/models/method_not_allowed_error_model_spec.rb +44 -0
  662. data/spec/models/not_found_error_model_spec.rb +44 -0
  663. data/spec/models/organizational_unit_specific_number_spec.rb +40 -0
  664. data/spec/models/period_revenue_data_list_statistic_top_seller_spec.rb +46 -0
  665. data/spec/models/period_revenue_data_map_string_statistic_revenue_data_spec.rb +46 -0
  666. data/spec/models/period_revenue_data_statistic_revenue_data_spec.rb +46 -0
  667. data/spec/models/price_spec.rb +88 -0
  668. data/spec/models/product_container_spec.rb +52 -0
  669. data/spec/models/promotion_benefit_extended_discount_position_selection_comperator_spec.rb +4 -4
  670. data/spec/models/result_list_data_exchange_configuration_spec.rb +64 -0
  671. data/spec/models/result_list_image_spec.rb +64 -0
  672. data/spec/models/result_list_language_spec.rb +64 -0
  673. data/spec/models/result_list_price_spec.rb +64 -0
  674. data/spec/models/result_list_user_spec.rb +64 -0
  675. data/spec/models/result_list_voucher_spec.rb +64 -0
  676. data/spec/models/result_list_voucher_transaction_spec.rb +64 -0
  677. data/spec/models/statistic_list_sector_data_spec.rb +64 -0
  678. data/spec/models/statistic_sector_data_spec.rb +70 -0
  679. data/spec/models/statistic_top_seller_spec.rb +58 -0
  680. data/spec/models/too_many_requests_error_model_spec.rb +44 -0
  681. data/spec/models/user_spec.rb +112 -0
  682. data/spec/models/voucher_spec.rb +88 -0
  683. data/spec/models/voucher_transaction_old_spec.rb +98 -0
  684. data/spec/spec_helper.rb +2 -2
  685. metadata +157 -8
  686. data/korona-cloud-client-1.0.12.gem +0 -0
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -73,6 +73,7 @@ module KoronaCloudClient
73
73
  # Show invalid properties with the reasons. Usually used together with valid?
74
74
  # @return Array for valid properties with the reasons
75
75
  def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
76
77
  invalid_properties = Array.new
77
78
  invalid_properties
78
79
  end
@@ -80,6 +81,7 @@ module KoronaCloudClient
80
81
  # Check to see if the all the properties in the model are valid
81
82
  # @return true if the model is valid
82
83
  def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
83
85
  true
84
86
  end
85
87
 
@@ -108,37 +110,30 @@ module KoronaCloudClient
108
110
  # @param [Hash] attributes Model attributes in the form of hash
109
111
  # @return [Object] Returns the model itself
110
112
  def self.build_from_hash(attributes)
111
- new.build_from_hash(attributes)
112
- end
113
-
114
- # Builds the object from hash
115
- # @param [Hash] attributes Model attributes in the form of hash
116
- # @return [Object] Returns the model itself
117
- def build_from_hash(attributes)
118
113
  return nil unless attributes.is_a?(Hash)
119
114
  attributes = attributes.transform_keys(&:to_sym)
120
- self.class.openapi_types.each_pair do |key, type|
121
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
122
- self.send("#{key}=", nil)
115
+ transformed_hash = {}
116
+ openapi_types.each_pair do |key, type|
117
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
118
+ transformed_hash["#{key}"] = nil
123
119
  elsif type =~ /\AArray<(.*)>/i
124
120
  # check to ensure the input is an array given that the attribute
125
121
  # is documented as an array but the input is not
126
- if attributes[self.class.attribute_map[key]].is_a?(Array)
127
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
122
+ if attributes[attribute_map[key]].is_a?(Array)
123
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
128
124
  end
129
- elsif !attributes[self.class.attribute_map[key]].nil?
130
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
125
+ elsif !attributes[attribute_map[key]].nil?
126
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
131
127
  end
132
128
  end
133
-
134
- self
129
+ new(transformed_hash)
135
130
  end
136
131
 
137
132
  # Deserializes the data based on type
138
133
  # @param string type Data type
139
134
  # @param string value Value to be deserialized
140
135
  # @return [Object] Deserialized data
141
- def _deserialize(type, value)
136
+ def self._deserialize(type, value)
142
137
  case type.to_sym
143
138
  when :Time
144
139
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -27,13 +27,13 @@ module KoronaCloudClient
27
27
  # number of the object, like it is set in backoffice; will be removed when active=false
28
28
  attr_accessor :number
29
29
 
30
- # Format: yyyy-MM-dd'T'HH:mm:ssXXX
30
+ # yyyy-MM-dd'T'HH:mm:ssXXX
31
31
  attr_accessor :create_time
32
32
 
33
- # Format: yyyy-MM-dd'T'HH:mm:ssXXX
33
+ # yyyy-MM-dd'T'HH:mm:ssXXX
34
34
  attr_accessor :process_time
35
35
 
36
- # Format: yyyy-MM-dd'T'HH:mm:ssXXX
36
+ # yyyy-MM-dd'T'HH:mm:ssXXX
37
37
  attr_accessor :finish_time
38
38
 
39
39
  attr_accessor :point_of_sale
@@ -168,6 +168,7 @@ module KoronaCloudClient
168
168
  # Show invalid properties with the reasons. Usually used together with valid?
169
169
  # @return Array for valid properties with the reasons
170
170
  def list_invalid_properties
171
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
171
172
  invalid_properties = Array.new
172
173
  invalid_properties
173
174
  end
@@ -175,6 +176,7 @@ module KoronaCloudClient
175
176
  # Check to see if the all the properties in the model are valid
176
177
  # @return true if the model is valid
177
178
  def valid?
179
+ warn '[DEPRECATED] the `valid?` method is obsolete'
178
180
  true
179
181
  end
180
182
 
@@ -214,37 +216,30 @@ module KoronaCloudClient
214
216
  # @param [Hash] attributes Model attributes in the form of hash
215
217
  # @return [Object] Returns the model itself
216
218
  def self.build_from_hash(attributes)
217
- new.build_from_hash(attributes)
218
- end
219
-
220
- # Builds the object from hash
221
- # @param [Hash] attributes Model attributes in the form of hash
222
- # @return [Object] Returns the model itself
223
- def build_from_hash(attributes)
224
219
  return nil unless attributes.is_a?(Hash)
225
220
  attributes = attributes.transform_keys(&:to_sym)
226
- self.class.openapi_types.each_pair do |key, type|
227
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
228
- self.send("#{key}=", nil)
221
+ transformed_hash = {}
222
+ openapi_types.each_pair do |key, type|
223
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
224
+ transformed_hash["#{key}"] = nil
229
225
  elsif type =~ /\AArray<(.*)>/i
230
226
  # check to ensure the input is an array given that the attribute
231
227
  # is documented as an array but the input is not
232
- if attributes[self.class.attribute_map[key]].is_a?(Array)
233
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
228
+ if attributes[attribute_map[key]].is_a?(Array)
229
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
234
230
  end
235
- elsif !attributes[self.class.attribute_map[key]].nil?
236
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
231
+ elsif !attributes[attribute_map[key]].nil?
232
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
237
233
  end
238
234
  end
239
-
240
- self
235
+ new(transformed_hash)
241
236
  end
242
237
 
243
238
  # Deserializes the data based on type
244
239
  # @param string type Data type
245
240
  # @param string value Value to be deserialized
246
241
  # @return [Object] Deserialized data
247
- def _deserialize(type, value)
242
+ def self._deserialize(type, value)
248
243
  case type.to_sym
249
244
  when :Time
250
245
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -89,6 +89,7 @@ module KoronaCloudClient
89
89
  # Show invalid properties with the reasons. Usually used together with valid?
90
90
  # @return Array for valid properties with the reasons
91
91
  def list_invalid_properties
92
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
92
93
  invalid_properties = Array.new
93
94
  invalid_properties
94
95
  end
@@ -96,6 +97,7 @@ module KoronaCloudClient
96
97
  # Check to see if the all the properties in the model are valid
97
98
  # @return true if the model is valid
98
99
  def valid?
100
+ warn '[DEPRECATED] the `valid?` method is obsolete'
99
101
  true
100
102
  end
101
103
 
@@ -126,37 +128,30 @@ module KoronaCloudClient
126
128
  # @param [Hash] attributes Model attributes in the form of hash
127
129
  # @return [Object] Returns the model itself
128
130
  def self.build_from_hash(attributes)
129
- new.build_from_hash(attributes)
130
- end
131
-
132
- # Builds the object from hash
133
- # @param [Hash] attributes Model attributes in the form of hash
134
- # @return [Object] Returns the model itself
135
- def build_from_hash(attributes)
136
131
  return nil unless attributes.is_a?(Hash)
137
132
  attributes = attributes.transform_keys(&:to_sym)
138
- self.class.openapi_types.each_pair do |key, type|
139
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
140
- self.send("#{key}=", nil)
133
+ transformed_hash = {}
134
+ openapi_types.each_pair do |key, type|
135
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
136
+ transformed_hash["#{key}"] = nil
141
137
  elsif type =~ /\AArray<(.*)>/i
142
138
  # check to ensure the input is an array given that the attribute
143
139
  # is documented as an array but the input is not
144
- if attributes[self.class.attribute_map[key]].is_a?(Array)
145
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
140
+ if attributes[attribute_map[key]].is_a?(Array)
141
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
142
  end
147
- elsif !attributes[self.class.attribute_map[key]].nil?
148
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
143
+ elsif !attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
149
145
  end
150
146
  end
151
-
152
- self
147
+ new(transformed_hash)
153
148
  end
154
149
 
155
150
  # Deserializes the data based on type
156
151
  # @param string type Data type
157
152
  # @param string value Value to be deserialized
158
153
  # @return [Object] Deserialized data
159
- def _deserialize(type, value)
154
+ def self._deserialize(type, value)
160
155
  case type.to_sym
161
156
  when :Time
162
157
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -77,13 +77,13 @@ module KoronaCloudClient
77
77
  :'revision' => :'Integer',
78
78
  :'number' => :'String',
79
79
  :'additional_information' => :'String',
80
- :'address' => :'ProductTransferInvolvedPartyInformationData',
80
+ :'address' => :'Data',
81
81
  :'contact' => :'SupplierContact',
82
82
  :'contact_person' => :'SupplierContactPerson',
83
83
  :'customer_number' => :'String',
84
84
  :'name' => :'String',
85
85
  :'payment' => :'SupplierPaymentInformation',
86
- :'return_address' => :'ProductTransferInvolvedPartyInformationData',
86
+ :'return_address' => :'Data',
87
87
  :'delivery_conditions' => :'String'
88
88
  }
89
89
  end
@@ -165,6 +165,7 @@ module KoronaCloudClient
165
165
  # Show invalid properties with the reasons. Usually used together with valid?
166
166
  # @return Array for valid properties with the reasons
167
167
  def list_invalid_properties
168
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
168
169
  invalid_properties = Array.new
169
170
  invalid_properties
170
171
  end
@@ -172,6 +173,7 @@ module KoronaCloudClient
172
173
  # Check to see if the all the properties in the model are valid
173
174
  # @return true if the model is valid
174
175
  def valid?
176
+ warn '[DEPRECATED] the `valid?` method is obsolete'
175
177
  true
176
178
  end
177
179
 
@@ -211,37 +213,30 @@ module KoronaCloudClient
211
213
  # @param [Hash] attributes Model attributes in the form of hash
212
214
  # @return [Object] Returns the model itself
213
215
  def self.build_from_hash(attributes)
214
- new.build_from_hash(attributes)
215
- end
216
-
217
- # Builds the object from hash
218
- # @param [Hash] attributes Model attributes in the form of hash
219
- # @return [Object] Returns the model itself
220
- def build_from_hash(attributes)
221
216
  return nil unless attributes.is_a?(Hash)
222
217
  attributes = attributes.transform_keys(&:to_sym)
223
- self.class.openapi_types.each_pair do |key, type|
224
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
225
- self.send("#{key}=", nil)
218
+ transformed_hash = {}
219
+ openapi_types.each_pair do |key, type|
220
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
221
+ transformed_hash["#{key}"] = nil
226
222
  elsif type =~ /\AArray<(.*)>/i
227
223
  # check to ensure the input is an array given that the attribute
228
224
  # is documented as an array but the input is not
229
- if attributes[self.class.attribute_map[key]].is_a?(Array)
230
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
225
+ if attributes[attribute_map[key]].is_a?(Array)
226
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
231
227
  end
232
- elsif !attributes[self.class.attribute_map[key]].nil?
233
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
228
+ elsif !attributes[attribute_map[key]].nil?
229
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
234
230
  end
235
231
  end
236
-
237
- self
232
+ new(transformed_hash)
238
233
  end
239
234
 
240
235
  # Deserializes the data based on type
241
236
  # @param string type Data type
242
237
  # @param string value Value to be deserialized
243
238
  # @return [Object] Deserialized data
244
- def _deserialize(type, value)
239
+ def self._deserialize(type, value)
245
240
  case type.to_sym
246
241
  when :Time
247
242
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -89,6 +89,7 @@ module KoronaCloudClient
89
89
  # Show invalid properties with the reasons. Usually used together with valid?
90
90
  # @return Array for valid properties with the reasons
91
91
  def list_invalid_properties
92
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
92
93
  invalid_properties = Array.new
93
94
  invalid_properties
94
95
  end
@@ -96,6 +97,7 @@ module KoronaCloudClient
96
97
  # Check to see if the all the properties in the model are valid
97
98
  # @return true if the model is valid
98
99
  def valid?
100
+ warn '[DEPRECATED] the `valid?` method is obsolete'
99
101
  true
100
102
  end
101
103
 
@@ -126,37 +128,30 @@ module KoronaCloudClient
126
128
  # @param [Hash] attributes Model attributes in the form of hash
127
129
  # @return [Object] Returns the model itself
128
130
  def self.build_from_hash(attributes)
129
- new.build_from_hash(attributes)
130
- end
131
-
132
- # Builds the object from hash
133
- # @param [Hash] attributes Model attributes in the form of hash
134
- # @return [Object] Returns the model itself
135
- def build_from_hash(attributes)
136
131
  return nil unless attributes.is_a?(Hash)
137
132
  attributes = attributes.transform_keys(&:to_sym)
138
- self.class.openapi_types.each_pair do |key, type|
139
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
140
- self.send("#{key}=", nil)
133
+ transformed_hash = {}
134
+ openapi_types.each_pair do |key, type|
135
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
136
+ transformed_hash["#{key}"] = nil
141
137
  elsif type =~ /\AArray<(.*)>/i
142
138
  # check to ensure the input is an array given that the attribute
143
139
  # is documented as an array but the input is not
144
- if attributes[self.class.attribute_map[key]].is_a?(Array)
145
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
140
+ if attributes[attribute_map[key]].is_a?(Array)
141
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
142
  end
147
- elsif !attributes[self.class.attribute_map[key]].nil?
148
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
143
+ elsif !attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
149
145
  end
150
146
  end
151
-
152
- self
147
+ new(transformed_hash)
153
148
  end
154
149
 
155
150
  # Deserializes the data based on type
156
151
  # @param string type Data type
157
152
  # @param string value Value to be deserialized
158
153
  # @return [Object] Deserialized data
159
- def _deserialize(type, value)
154
+ def self._deserialize(type, value)
160
155
  case type.to_sym
161
156
  when :Time
162
157
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -113,6 +113,7 @@ module KoronaCloudClient
113
113
  # Show invalid properties with the reasons. Usually used together with valid?
114
114
  # @return Array for valid properties with the reasons
115
115
  def list_invalid_properties
116
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
116
117
  invalid_properties = Array.new
117
118
  invalid_properties
118
119
  end
@@ -120,6 +121,7 @@ module KoronaCloudClient
120
121
  # Check to see if the all the properties in the model are valid
121
122
  # @return true if the model is valid
122
123
  def valid?
124
+ warn '[DEPRECATED] the `valid?` method is obsolete'
123
125
  true
124
126
  end
125
127
 
@@ -153,37 +155,30 @@ module KoronaCloudClient
153
155
  # @param [Hash] attributes Model attributes in the form of hash
154
156
  # @return [Object] Returns the model itself
155
157
  def self.build_from_hash(attributes)
156
- new.build_from_hash(attributes)
157
- end
158
-
159
- # Builds the object from hash
160
- # @param [Hash] attributes Model attributes in the form of hash
161
- # @return [Object] Returns the model itself
162
- def build_from_hash(attributes)
163
158
  return nil unless attributes.is_a?(Hash)
164
159
  attributes = attributes.transform_keys(&:to_sym)
165
- self.class.openapi_types.each_pair do |key, type|
166
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
167
- self.send("#{key}=", nil)
160
+ transformed_hash = {}
161
+ openapi_types.each_pair do |key, type|
162
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
163
+ transformed_hash["#{key}"] = nil
168
164
  elsif type =~ /\AArray<(.*)>/i
169
165
  # check to ensure the input is an array given that the attribute
170
166
  # is documented as an array but the input is not
171
- if attributes[self.class.attribute_map[key]].is_a?(Array)
172
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
167
+ if attributes[attribute_map[key]].is_a?(Array)
168
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
173
169
  end
174
- elsif !attributes[self.class.attribute_map[key]].nil?
175
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
170
+ elsif !attributes[attribute_map[key]].nil?
171
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
176
172
  end
177
173
  end
178
-
179
- self
174
+ new(transformed_hash)
180
175
  end
181
176
 
182
177
  # Deserializes the data based on type
183
178
  # @param string type Data type
184
179
  # @param string value Value to be deserialized
185
180
  # @return [Object] Deserialized data
186
- def _deserialize(type, value)
181
+ def self._deserialize(type, value)
187
182
  case type.to_sym
188
183
  when :Time
189
184
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -29,6 +29,7 @@ module KoronaCloudClient
29
29
 
30
30
  attr_accessor :iban
31
31
 
32
+ # SupplierPaymentMethod
32
33
  attr_accessor :payment_method
33
34
 
34
35
  attr_accessor :minimum_order_value
@@ -151,6 +152,7 @@ module KoronaCloudClient
151
152
  # Show invalid properties with the reasons. Usually used together with valid?
152
153
  # @return Array for valid properties with the reasons
153
154
  def list_invalid_properties
155
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
154
156
  invalid_properties = Array.new
155
157
  invalid_properties
156
158
  end
@@ -158,6 +160,7 @@ module KoronaCloudClient
158
160
  # Check to see if the all the properties in the model are valid
159
161
  # @return true if the model is valid
160
162
  def valid?
163
+ warn '[DEPRECATED] the `valid?` method is obsolete'
161
164
  payment_method_validator = EnumAttributeValidator.new('String', ["INVOICE", "PREPAYMENT", "CASH_ON_DELIVERY", "DIRECT_DEBIT"])
162
165
  return false unless payment_method_validator.valid?(@payment_method)
163
166
  true
@@ -205,37 +208,30 @@ module KoronaCloudClient
205
208
  # @param [Hash] attributes Model attributes in the form of hash
206
209
  # @return [Object] Returns the model itself
207
210
  def self.build_from_hash(attributes)
208
- new.build_from_hash(attributes)
209
- end
210
-
211
- # Builds the object from hash
212
- # @param [Hash] attributes Model attributes in the form of hash
213
- # @return [Object] Returns the model itself
214
- def build_from_hash(attributes)
215
211
  return nil unless attributes.is_a?(Hash)
216
212
  attributes = attributes.transform_keys(&:to_sym)
217
- self.class.openapi_types.each_pair do |key, type|
218
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
219
- self.send("#{key}=", nil)
213
+ transformed_hash = {}
214
+ openapi_types.each_pair do |key, type|
215
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
216
+ transformed_hash["#{key}"] = nil
220
217
  elsif type =~ /\AArray<(.*)>/i
221
218
  # check to ensure the input is an array given that the attribute
222
219
  # is documented as an array but the input is not
223
- if attributes[self.class.attribute_map[key]].is_a?(Array)
224
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
220
+ if attributes[attribute_map[key]].is_a?(Array)
221
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
225
222
  end
226
- elsif !attributes[self.class.attribute_map[key]].nil?
227
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
223
+ elsif !attributes[attribute_map[key]].nil?
224
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
228
225
  end
229
226
  end
230
-
231
- self
227
+ new(transformed_hash)
232
228
  end
233
229
 
234
230
  # Deserializes the data based on type
235
231
  # @param string type Data type
236
232
  # @param string value Value to be deserialized
237
233
  # @return [Object] Deserialized data
238
- def _deserialize(type, value)
234
+ def self._deserialize(type, value)
239
235
  case type.to_sym
240
236
  when :Time
241
237
  Time.parse(value)
@@ -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.19.20
6
+ The version of the OpenAPI document: 3.1.64
7
7
  Contact: support@combase.net
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.0.1
10
10
 
11
11
  =end
12
12
 
@@ -101,6 +101,7 @@ module KoronaCloudClient
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
104
105
  invalid_properties = Array.new
105
106
  invalid_properties
106
107
  end
@@ -108,6 +109,7 @@ module KoronaCloudClient
108
109
  # Check to see if the all the properties in the model are valid
109
110
  # @return true if the model is valid
110
111
  def valid?
112
+ warn '[DEPRECATED] the `valid?` method is obsolete'
111
113
  true
112
114
  end
113
115
 
@@ -139,37 +141,30 @@ module KoronaCloudClient
139
141
  # @param [Hash] attributes Model attributes in the form of hash
140
142
  # @return [Object] Returns the model itself
141
143
  def self.build_from_hash(attributes)
142
- new.build_from_hash(attributes)
143
- end
144
-
145
- # Builds the object from hash
146
- # @param [Hash] attributes Model attributes in the form of hash
147
- # @return [Object] Returns the model itself
148
- def build_from_hash(attributes)
149
144
  return nil unless attributes.is_a?(Hash)
150
145
  attributes = attributes.transform_keys(&:to_sym)
151
- self.class.openapi_types.each_pair do |key, type|
152
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
153
- self.send("#{key}=", nil)
146
+ transformed_hash = {}
147
+ openapi_types.each_pair do |key, type|
148
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
149
+ transformed_hash["#{key}"] = nil
154
150
  elsif type =~ /\AArray<(.*)>/i
155
151
  # check to ensure the input is an array given that the attribute
156
152
  # is documented as an array but the input is not
157
- if attributes[self.class.attribute_map[key]].is_a?(Array)
158
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
153
+ if attributes[attribute_map[key]].is_a?(Array)
154
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
159
155
  end
160
- elsif !attributes[self.class.attribute_map[key]].nil?
161
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
156
+ elsif !attributes[attribute_map[key]].nil?
157
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
162
158
  end
163
159
  end
164
-
165
- self
160
+ new(transformed_hash)
166
161
  end
167
162
 
168
163
  # Deserializes the data based on type
169
164
  # @param string type Data type
170
165
  # @param string value Value to be deserialized
171
166
  # @return [Object] Deserialized data
172
- def _deserialize(type, value)
167
+ def self._deserialize(type, value)
173
168
  case type.to_sym
174
169
  when :Time
175
170
  Time.parse(value)