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
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module KoronaCloudClient
17
17
  class CashierVerificationResult
18
- # Format: yyyy-MM-dd'T'HH:mm:ssXXX
18
+ # yyyy-MM-dd'T'HH:mm:ssXXX
19
19
  attr_accessor :finish_time
20
20
 
21
21
  attr_accessor :requirement
@@ -24,7 +24,7 @@ module KoronaCloudClient
24
24
 
25
25
  attr_accessor :failed
26
26
 
27
- # Format: yyyy-MM-dd'T'HH:mm:ssXXX
27
+ # yyyy-MM-dd'T'HH:mm:ssXXX
28
28
  attr_accessor :date_of_birth
29
29
 
30
30
  attr_accessor :type
@@ -129,6 +129,7 @@ module KoronaCloudClient
129
129
  # Show invalid properties with the reasons. Usually used together with valid?
130
130
  # @return Array for valid properties with the reasons
131
131
  def list_invalid_properties
132
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
132
133
  invalid_properties = Array.new
133
134
  invalid_properties
134
135
  end
@@ -136,6 +137,7 @@ module KoronaCloudClient
136
137
  # Check to see if the all the properties in the model are valid
137
138
  # @return true if the model is valid
138
139
  def valid?
140
+ warn '[DEPRECATED] the `valid?` method is obsolete'
139
141
  type_validator = EnumAttributeValidator.new('String', ["AGE", "OK", "OPTION_SELECTION", "YES_NO"])
140
142
  return false unless type_validator.valid?(@type)
141
143
  true
@@ -180,37 +182,30 @@ module KoronaCloudClient
180
182
  # @param [Hash] attributes Model attributes in the form of hash
181
183
  # @return [Object] Returns the model itself
182
184
  def self.build_from_hash(attributes)
183
- new.build_from_hash(attributes)
184
- end
185
-
186
- # Builds the object from hash
187
- # @param [Hash] attributes Model attributes in the form of hash
188
- # @return [Object] Returns the model itself
189
- def build_from_hash(attributes)
190
185
  return nil unless attributes.is_a?(Hash)
191
186
  attributes = attributes.transform_keys(&:to_sym)
192
- self.class.openapi_types.each_pair do |key, type|
193
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
194
- self.send("#{key}=", nil)
187
+ transformed_hash = {}
188
+ openapi_types.each_pair do |key, type|
189
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
190
+ transformed_hash["#{key}"] = nil
195
191
  elsif type =~ /\AArray<(.*)>/i
196
192
  # check to ensure the input is an array given that the attribute
197
193
  # is documented as an array but the input is not
198
- if attributes[self.class.attribute_map[key]].is_a?(Array)
199
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
194
+ if attributes[attribute_map[key]].is_a?(Array)
195
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
200
196
  end
201
- elsif !attributes[self.class.attribute_map[key]].nil?
202
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
197
+ elsif !attributes[attribute_map[key]].nil?
198
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
203
199
  end
204
200
  end
205
-
206
- self
201
+ new(transformed_hash)
207
202
  end
208
203
 
209
204
  # Deserializes the data based on type
210
205
  # @param string type Data type
211
206
  # @param string value Value to be deserialized
212
207
  # @return [Object] Deserialized data
213
- def _deserialize(type, value)
208
+ def self._deserialize(type, value)
214
209
  case type.to_sym
215
210
  when :Time
216
211
  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
 
@@ -81,6 +81,7 @@ module KoronaCloudClient
81
81
  # Show invalid properties with the reasons. Usually used together with valid?
82
82
  # @return Array for valid properties with the reasons
83
83
  def list_invalid_properties
84
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
84
85
  invalid_properties = Array.new
85
86
  invalid_properties
86
87
  end
@@ -88,6 +89,7 @@ module KoronaCloudClient
88
89
  # Check to see if the all the properties in the model are valid
89
90
  # @return true if the model is valid
90
91
  def valid?
92
+ warn '[DEPRECATED] the `valid?` method is obsolete'
91
93
  true
92
94
  end
93
95
 
@@ -117,37 +119,30 @@ module KoronaCloudClient
117
119
  # @param [Hash] attributes Model attributes in the form of hash
118
120
  # @return [Object] Returns the model itself
119
121
  def self.build_from_hash(attributes)
120
- new.build_from_hash(attributes)
121
- end
122
-
123
- # Builds the object from hash
124
- # @param [Hash] attributes Model attributes in the form of hash
125
- # @return [Object] Returns the model itself
126
- def build_from_hash(attributes)
127
122
  return nil unless attributes.is_a?(Hash)
128
123
  attributes = attributes.transform_keys(&:to_sym)
129
- self.class.openapi_types.each_pair do |key, type|
130
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
131
- self.send("#{key}=", nil)
124
+ transformed_hash = {}
125
+ openapi_types.each_pair do |key, type|
126
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
127
+ transformed_hash["#{key}"] = nil
132
128
  elsif type =~ /\AArray<(.*)>/i
133
129
  # check to ensure the input is an array given that the attribute
134
130
  # is documented as an array but the input is not
135
- if attributes[self.class.attribute_map[key]].is_a?(Array)
136
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
131
+ if attributes[attribute_map[key]].is_a?(Array)
132
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
137
133
  end
138
- elsif !attributes[self.class.attribute_map[key]].nil?
139
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
134
+ elsif !attributes[attribute_map[key]].nil?
135
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
140
136
  end
141
137
  end
142
-
143
- self
138
+ new(transformed_hash)
144
139
  end
145
140
 
146
141
  # Deserializes the data based on type
147
142
  # @param string type Data type
148
143
  # @param string value Value to be deserialized
149
144
  # @return [Object] Deserialized data
150
- def _deserialize(type, value)
145
+ def self._deserialize(type, value)
151
146
  case type.to_sym
152
147
  when :Time
153
148
  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
 
@@ -17,6 +17,7 @@ module KoronaCloudClient
17
17
  class CloudSubscription
18
18
  attr_accessor :status
19
19
 
20
+ # yyyy-MM-dd'T'HH:mm:ssXXX
20
21
  attr_accessor :valid_to
21
22
 
22
23
  class EnumAttributeValidator
@@ -95,6 +96,7 @@ module KoronaCloudClient
95
96
  # Show invalid properties with the reasons. Usually used together with valid?
96
97
  # @return Array for valid properties with the reasons
97
98
  def list_invalid_properties
99
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
100
  invalid_properties = Array.new
99
101
  invalid_properties
100
102
  end
@@ -102,6 +104,7 @@ module KoronaCloudClient
102
104
  # Check to see if the all the properties in the model are valid
103
105
  # @return true if the model is valid
104
106
  def valid?
107
+ warn '[DEPRECATED] the `valid?` method is obsolete'
105
108
  status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "FREE", "INACTIVE"])
106
109
  return false unless status_validator.valid?(@status)
107
110
  true
@@ -142,37 +145,30 @@ module KoronaCloudClient
142
145
  # @param [Hash] attributes Model attributes in the form of hash
143
146
  # @return [Object] Returns the model itself
144
147
  def self.build_from_hash(attributes)
145
- new.build_from_hash(attributes)
146
- end
147
-
148
- # Builds the object from hash
149
- # @param [Hash] attributes Model attributes in the form of hash
150
- # @return [Object] Returns the model itself
151
- def build_from_hash(attributes)
152
148
  return nil unless attributes.is_a?(Hash)
153
149
  attributes = attributes.transform_keys(&:to_sym)
154
- self.class.openapi_types.each_pair do |key, type|
155
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
156
- self.send("#{key}=", nil)
150
+ transformed_hash = {}
151
+ openapi_types.each_pair do |key, type|
152
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
153
+ transformed_hash["#{key}"] = nil
157
154
  elsif type =~ /\AArray<(.*)>/i
158
155
  # check to ensure the input is an array given that the attribute
159
156
  # is documented as an array but the input is not
160
- if attributes[self.class.attribute_map[key]].is_a?(Array)
161
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
157
+ if attributes[attribute_map[key]].is_a?(Array)
158
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
162
159
  end
163
- elsif !attributes[self.class.attribute_map[key]].nil?
164
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
160
+ elsif !attributes[attribute_map[key]].nil?
161
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
165
162
  end
166
163
  end
167
-
168
- self
164
+ new(transformed_hash)
169
165
  end
170
166
 
171
167
  # Deserializes the data based on type
172
168
  # @param string type Data type
173
169
  # @param string value Value to be deserialized
174
170
  # @return [Object] Deserialized data
175
- def _deserialize(type, value)
171
+ def self._deserialize(type, value)
176
172
  case type.to_sym
177
173
  when :Time
178
174
  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
 
@@ -95,6 +95,7 @@ module KoronaCloudClient
95
95
  # Show invalid properties with the reasons. Usually used together with valid?
96
96
  # @return Array for valid properties with the reasons
97
97
  def list_invalid_properties
98
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
99
  invalid_properties = Array.new
99
100
  invalid_properties
100
101
  end
@@ -102,6 +103,7 @@ module KoronaCloudClient
102
103
  # Check to see if the all the properties in the model are valid
103
104
  # @return true if the model is valid
104
105
  def valid?
106
+ warn '[DEPRECATED] the `valid?` method is obsolete'
105
107
  package_type_validator = EnumAttributeValidator.new('String', ["FOOD", "FRANCHISE", "INTEGRATION", "INVOICING", "PLUS", "RETAIL", "SUPPORT", "TICKET", "VOUCHER", "TSS_BACKUP", "POS", "POS_10", "FISKALY_TSS"])
106
108
  return false unless package_type_validator.valid?(@package_type)
107
109
  true
@@ -142,37 +144,30 @@ module KoronaCloudClient
142
144
  # @param [Hash] attributes Model attributes in the form of hash
143
145
  # @return [Object] Returns the model itself
144
146
  def self.build_from_hash(attributes)
145
- new.build_from_hash(attributes)
146
- end
147
-
148
- # Builds the object from hash
149
- # @param [Hash] attributes Model attributes in the form of hash
150
- # @return [Object] Returns the model itself
151
- def build_from_hash(attributes)
152
147
  return nil unless attributes.is_a?(Hash)
153
148
  attributes = attributes.transform_keys(&:to_sym)
154
- self.class.openapi_types.each_pair do |key, type|
155
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
156
- self.send("#{key}=", nil)
149
+ transformed_hash = {}
150
+ openapi_types.each_pair do |key, type|
151
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
152
+ transformed_hash["#{key}"] = nil
157
153
  elsif type =~ /\AArray<(.*)>/i
158
154
  # check to ensure the input is an array given that the attribute
159
155
  # is documented as an array but the input is not
160
- if attributes[self.class.attribute_map[key]].is_a?(Array)
161
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
156
+ if attributes[attribute_map[key]].is_a?(Array)
157
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
162
158
  end
163
- elsif !attributes[self.class.attribute_map[key]].nil?
164
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
159
+ elsif !attributes[attribute_map[key]].nil?
160
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
165
161
  end
166
162
  end
167
-
168
- self
163
+ new(transformed_hash)
169
164
  end
170
165
 
171
166
  # Deserializes the data based on type
172
167
  # @param string type Data type
173
168
  # @param string value Value to be deserialized
174
169
  # @return [Object] Deserialized data
175
- def _deserialize(type, value)
170
+ def self._deserialize(type, value)
176
171
  case type.to_sym
177
172
  when :Time
178
173
  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
 
@@ -117,6 +117,7 @@ module KoronaCloudClient
117
117
  # Show invalid properties with the reasons. Usually used together with valid?
118
118
  # @return Array for valid properties with the reasons
119
119
  def list_invalid_properties
120
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
120
121
  invalid_properties = Array.new
121
122
  invalid_properties
122
123
  end
@@ -124,6 +125,7 @@ module KoronaCloudClient
124
125
  # Check to see if the all the properties in the model are valid
125
126
  # @return true if the model is valid
126
127
  def valid?
128
+ warn '[DEPRECATED] the `valid?` method is obsolete'
127
129
  true
128
130
  end
129
131
 
@@ -157,37 +159,30 @@ module KoronaCloudClient
157
159
  # @param [Hash] attributes Model attributes in the form of hash
158
160
  # @return [Object] Returns the model itself
159
161
  def self.build_from_hash(attributes)
160
- new.build_from_hash(attributes)
161
- end
162
-
163
- # Builds the object from hash
164
- # @param [Hash] attributes Model attributes in the form of hash
165
- # @return [Object] Returns the model itself
166
- def build_from_hash(attributes)
167
162
  return nil unless attributes.is_a?(Hash)
168
163
  attributes = attributes.transform_keys(&:to_sym)
169
- self.class.openapi_types.each_pair do |key, type|
170
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
171
- self.send("#{key}=", nil)
164
+ transformed_hash = {}
165
+ openapi_types.each_pair do |key, type|
166
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
167
+ transformed_hash["#{key}"] = nil
172
168
  elsif type =~ /\AArray<(.*)>/i
173
169
  # check to ensure the input is an array given that the attribute
174
170
  # is documented as an array but the input is not
175
- if attributes[self.class.attribute_map[key]].is_a?(Array)
176
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
171
+ if attributes[attribute_map[key]].is_a?(Array)
172
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
177
173
  end
178
- elsif !attributes[self.class.attribute_map[key]].nil?
179
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
174
+ elsif !attributes[attribute_map[key]].nil?
175
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
180
176
  end
181
177
  end
182
-
183
- self
178
+ new(transformed_hash)
184
179
  end
185
180
 
186
181
  # Deserializes the data based on type
187
182
  # @param string type Data type
188
183
  # @param string value Value to be deserialized
189
184
  # @return [Object] Deserialized data
190
- def _deserialize(type, value)
185
+ def self._deserialize(type, value)
191
186
  case type.to_sym
192
187
  when :Time
193
188
  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
 
@@ -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
 
@@ -93,6 +93,7 @@ module KoronaCloudClient
93
93
  # Show invalid properties with the reasons. Usually used together with valid?
94
94
  # @return Array for valid properties with the reasons
95
95
  def list_invalid_properties
96
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
96
97
  invalid_properties = Array.new
97
98
  invalid_properties
98
99
  end
@@ -100,6 +101,7 @@ module KoronaCloudClient
100
101
  # Check to see if the all the properties in the model are valid
101
102
  # @return true if the model is valid
102
103
  def valid?
104
+ warn '[DEPRECATED] the `valid?` method is obsolete'
103
105
  true
104
106
  end
105
107
 
@@ -130,37 +132,30 @@ module KoronaCloudClient
130
132
  # @param [Hash] attributes Model attributes in the form of hash
131
133
  # @return [Object] Returns the model itself
132
134
  def self.build_from_hash(attributes)
133
- new.build_from_hash(attributes)
134
- end
135
-
136
- # Builds the object from hash
137
- # @param [Hash] attributes Model attributes in the form of hash
138
- # @return [Object] Returns the model itself
139
- def build_from_hash(attributes)
140
135
  return nil unless attributes.is_a?(Hash)
141
136
  attributes = attributes.transform_keys(&:to_sym)
142
- self.class.openapi_types.each_pair do |key, type|
143
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
144
- self.send("#{key}=", nil)
137
+ transformed_hash = {}
138
+ openapi_types.each_pair do |key, type|
139
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
140
+ transformed_hash["#{key}"] = nil
145
141
  elsif type =~ /\AArray<(.*)>/i
146
142
  # check to ensure the input is an array given that the attribute
147
143
  # is documented as an array but the input is not
148
- if attributes[self.class.attribute_map[key]].is_a?(Array)
149
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
144
+ if attributes[attribute_map[key]].is_a?(Array)
145
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
150
146
  end
151
- elsif !attributes[self.class.attribute_map[key]].nil?
152
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
147
+ elsif !attributes[attribute_map[key]].nil?
148
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
153
149
  end
154
150
  end
155
-
156
- self
151
+ new(transformed_hash)
157
152
  end
158
153
 
159
154
  # Deserializes the data based on type
160
155
  # @param string type Data type
161
156
  # @param string value Value to be deserialized
162
157
  # @return [Object] Deserialized data
163
- def _deserialize(type, value)
158
+ def self._deserialize(type, value)
164
159
  case type.to_sym
165
160
  when :Time
166
161
  Time.parse(value)