korona-cloud-client 1.0.1 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1000) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +321 -23
  3. data/docs/Account.md +32 -29
  4. data/docs/AccountSummary.md +12 -11
  5. data/docs/AccountTransaction.md +20 -17
  6. data/docs/AccountsApi.md +426 -30
  7. data/docs/AddOrUpdateResult.md +20 -19
  8. data/docs/AdditionalInfo.md +10 -9
  9. data/docs/AdditionalReceiptInfoType.md +36 -35
  10. data/docs/AdditionalReceiptInfoTypesApi.md +64 -31
  11. data/docs/AddressInformation.md +22 -19
  12. data/docs/Admission.md +10 -9
  13. data/docs/Amount.md +16 -15
  14. data/docs/AmountCountData.md +10 -9
  15. data/docs/Assortment.md +22 -21
  16. data/docs/AssortmentsApi.md +204 -86
  17. data/docs/Attendance.md +26 -25
  18. data/docs/BadRequestError.md +10 -9
  19. data/docs/Capacity.md +10 -9
  20. data/docs/Cashier.md +46 -33
  21. data/docs/CashierRole.md +28 -0
  22. data/docs/CashierRolesApi.md +520 -0
  23. data/docs/CashierSummary.md +18 -17
  24. data/docs/CashierVerificationRequirement.md +36 -0
  25. data/docs/CashierVerificationRequirementApi.md +378 -0
  26. data/docs/CashierVerificationResult.md +28 -0
  27. data/docs/CashiersApi.md +433 -31
  28. data/docs/Category.md +12 -11
  29. data/docs/CloudSubscription.md +10 -9
  30. data/docs/CloudSubscriptionDetails.md +20 -0
  31. data/docs/CommodityGroup.md +20 -17
  32. data/docs/CommodityGroupSummary.md +14 -13
  33. data/docs/CommodityGroupsApi.md +204 -86
  34. data/docs/CompanyIdentification.md +10 -9
  35. data/docs/Coupon.md +20 -0
  36. data/docs/CouponPosition.md +28 -0
  37. data/docs/CouponsApi.md +159 -0
  38. data/docs/CreationTask.md +28 -27
  39. data/docs/CurrenciesApi.md +280 -30
  40. data/docs/Currency.md +30 -29
  41. data/docs/CurrencyDenomination.md +10 -9
  42. data/docs/CurrencyExchangeRate.md +10 -9
  43. data/docs/Customer.md +52 -43
  44. data/docs/CustomerCard.md +10 -9
  45. data/docs/CustomerData.md +10 -9
  46. data/docs/CustomerDisplayConfiguration.md +50 -0
  47. data/docs/CustomerDisplayConfigurationsApi.md +450 -0
  48. data/docs/CustomerGroup.md +18 -17
  49. data/docs/CustomerGroupSummary.md +14 -13
  50. data/docs/CustomerGroupsApi.md +426 -30
  51. data/docs/CustomerInformation.md +12 -11
  52. data/docs/CustomerOrder.md +44 -43
  53. data/docs/CustomerOrderItem.md +46 -0
  54. data/docs/CustomerOrdersApi.md +192 -83
  55. data/docs/CustomersApi.md +204 -86
  56. data/docs/DateInterval.md +20 -0
  57. data/docs/DayRating.md +26 -25
  58. data/docs/DayTimePeriod.md +10 -9
  59. data/docs/DeliveryNote.md +38 -37
  60. data/docs/DeliveryNoteItem.md +22 -21
  61. data/docs/DeliveryNotesApi.md +157 -73
  62. data/docs/Deposit.md +16 -15
  63. data/docs/DeviceConfiguration.md +34 -0
  64. data/docs/DeviceConfigurationVariable.md +26 -0
  65. data/docs/DeviceConfigurationVariableValue.md +20 -0
  66. data/docs/DeviceConfigurationVariablesApi.md +448 -0
  67. data/docs/DeviceInformation.md +10 -9
  68. data/docs/DeviceParameterItem.md +22 -0
  69. data/docs/Discount.md +16 -11
  70. data/docs/DispatchNotification.md +60 -0
  71. data/docs/DispatchNotificationItem.md +32 -0
  72. data/docs/DispatchNotificationItemAmount.md +20 -0
  73. data/docs/DispatchNotificationItemContainer.md +20 -0
  74. data/docs/DispatchNotificationItemIdentification.md +22 -0
  75. data/docs/DispatchNotificationsApi.md +329 -0
  76. data/docs/EconomicZone.md +16 -15
  77. data/docs/EconomicZonesApi.md +280 -30
  78. data/docs/EndOfDayStatement.md +24 -23
  79. data/docs/EndOfDayStatementSummary.md +18 -17
  80. data/docs/EntryGate.md +20 -19
  81. data/docs/Event.md +30 -29
  82. data/docs/ExternalSystemCall.md +34 -31
  83. data/docs/ExternalSystemCallsApi.md +204 -86
  84. data/docs/FiscalTransaction.md +44 -0
  85. data/docs/FiscalUnit.md +54 -0
  86. data/docs/FiscalUnitCertificateInfo.md +20 -0
  87. data/docs/FiscalUnitPreConfiguration.md +28 -0
  88. data/docs/FiscalUnitState.md +28 -0
  89. data/docs/FiscalUnitStateUsageLevel.md +24 -0
  90. data/docs/FiscalUnitStateUsageLevelValue.md +20 -0
  91. data/docs/FiscalUnitStateVersionInfo.md +22 -0
  92. data/docs/FiscalUnitsApi.md +383 -0
  93. data/docs/ForbiddenError.md +10 -9
  94. data/docs/GeoLocation.md +10 -9
  95. data/docs/ImagesApi.md +29 -13
  96. data/docs/InfoText.md +20 -17
  97. data/docs/InfoTextsApi.md +280 -30
  98. data/docs/Interval.md +10 -9
  99. data/docs/InventoriesApi.md +526 -217
  100. data/docs/Inventory.md +44 -43
  101. data/docs/InventoryList.md +38 -35
  102. data/docs/InventoryListItem.md +18 -17
  103. data/docs/InventoryListItemStock.md +10 -9
  104. data/docs/KoronaAccount.md +28 -25
  105. data/docs/KoronaAccountApi.md +29 -13
  106. data/docs/MediaUrl.md +8 -7
  107. data/docs/MethodNotAllowedError.md +10 -9
  108. data/docs/ModelReference.md +12 -11
  109. data/docs/NotFoundError.md +10 -9
  110. data/docs/OpeningHours.md +12 -11
  111. data/docs/OrganizationalUnit.md +34 -31
  112. data/docs/OrganizationalUnitsApi.md +721 -174
  113. data/docs/Payment.md +22 -15
  114. data/docs/PaymentMethod.md +38 -31
  115. data/docs/PaymentMethodsApi.md +426 -30
  116. data/docs/PaymentServiceConfiguration.md +26 -0
  117. data/docs/PaymentSummary.md +12 -11
  118. data/docs/PaymentTerminalReceipt.md +20 -0
  119. data/docs/Period.md +12 -11
  120. data/docs/PeriodListTopSeller.md +12 -11
  121. data/docs/PeriodMapStringRevenueData.md +12 -11
  122. data/docs/PeriodObject.md +12 -11
  123. data/docs/PeriodRevenueData.md +12 -11
  124. data/docs/PointsOfSaleApi.md +506 -132
  125. data/docs/Pos.md +76 -45
  126. data/docs/PosBalance.md +44 -0
  127. data/docs/PosBalanceItem.md +26 -0
  128. data/docs/PosBalanceSummary.md +22 -0
  129. data/docs/PosBalanceSummaryChangeset.md +26 -0
  130. data/docs/PosBalanceTotal.md +20 -0
  131. data/docs/PosButton.md +32 -0
  132. data/docs/PosButtonFunction.md +38 -0
  133. data/docs/PosButtonLayout.md +30 -0
  134. data/docs/PosButtonLayoutsApi.md +524 -0
  135. data/docs/PosPageLayout.md +26 -0
  136. data/docs/PosPageLayoutConfiguration.md +32 -0
  137. data/docs/PosPageLayoutConfigurationsApi.md +524 -0
  138. data/docs/PosProfile.md +98 -0
  139. data/docs/PosProfilesApi.md +524 -0
  140. data/docs/PrepaidCard.md +20 -0
  141. data/docs/PriceGroup.md +20 -19
  142. data/docs/PriceGroupsApi.md +280 -30
  143. data/docs/PriceRule.md +38 -0
  144. data/docs/PriceRuleCalculation.md +20 -0
  145. data/docs/PriceRuleCondition.md +30 -0
  146. data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
  147. data/docs/PriceRuleValidityPeriod.md +22 -0
  148. data/docs/PriceRulesApi.md +520 -0
  149. data/docs/Product.md +98 -93
  150. data/docs/ProductCode.md +12 -11
  151. data/docs/ProductDescription.md +12 -11
  152. data/docs/ProductPrice.md +16 -15
  153. data/docs/ProductSpecialPrice.md +22 -0
  154. data/docs/ProductStock.md +16 -15
  155. data/docs/ProductSubproduct.md +16 -11
  156. data/docs/ProductSupplierPrice.md +16 -15
  157. data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
  158. data/docs/ProductTransferInvolvedPartyInformationData.md +12 -11
  159. data/docs/ProductionType.md +34 -0
  160. data/docs/ProductionTypesApi.md +378 -0
  161. data/docs/ProductsApi.md +255 -110
  162. data/docs/Promotion.md +44 -0
  163. data/docs/PromotionApplication.md +22 -0
  164. data/docs/PromotionBenefit.md +26 -0
  165. data/docs/PromotionBenefitCommonDiscount.md +34 -0
  166. data/docs/PromotionBenefitExtendedDiscount.md +20 -0
  167. data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +28 -0
  168. data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
  169. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
  170. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
  171. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
  172. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
  173. data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +28 -0
  174. data/docs/PromotionBenefitReduceProductAmount.md +20 -0
  175. data/docs/PromotionBonuspoint.md +20 -0
  176. data/docs/PromotionBonuspointCreation.md +24 -0
  177. data/docs/PromotionBonuspointRedemption.md +24 -0
  178. data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
  179. data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
  180. data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
  181. data/docs/PromotionCoupon.md +24 -0
  182. data/docs/PromotionCouponValidity.md +22 -0
  183. data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
  184. data/docs/PromotionLayer.md +20 -0
  185. data/docs/PromotionStamp.md +22 -0
  186. data/docs/PromotionTrigger.md +32 -0
  187. data/docs/PromotionTriggerProductAmountCondition.md +22 -0
  188. data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
  189. data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
  190. data/docs/PromotionTriggerTagAmountCondition.md +22 -0
  191. data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
  192. data/docs/PromotionValidity.md +26 -0
  193. data/docs/PromotionsApi.md +520 -0
  194. data/docs/Rating.md +12 -11
  195. data/docs/Receipt.md +82 -55
  196. data/docs/ReceiptItem.md +48 -31
  197. data/docs/ReceiptLayoutConfiguration.md +56 -0
  198. data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
  199. data/docs/ReceiptMaxRevisions.md +28 -0
  200. data/docs/ReceiptRevenue.md +20 -0
  201. data/docs/ReceiptTotal.md +22 -0
  202. data/docs/ReceiptsApi.md +82 -43
  203. data/docs/ResultList.md +18 -17
  204. data/docs/ResultListAccount.md +18 -17
  205. data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
  206. data/docs/ResultListAssortment.md +18 -17
  207. data/docs/ResultListAttendance.md +18 -17
  208. data/docs/ResultListCashier.md +18 -17
  209. data/docs/ResultListCashierRole.md +28 -0
  210. data/docs/ResultListCashierVerificationRequirement.md +28 -0
  211. data/docs/ResultListCommodityGroup.md +18 -17
  212. data/docs/ResultListCoupon.md +28 -0
  213. data/docs/ResultListCreationTask.md +18 -17
  214. data/docs/ResultListCurrency.md +18 -17
  215. data/docs/ResultListCustomer.md +18 -17
  216. data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
  217. data/docs/ResultListCustomerGroup.md +18 -17
  218. data/docs/ResultListCustomerOrder.md +18 -17
  219. data/docs/ResultListDayRating.md +18 -17
  220. data/docs/ResultListDeliveryNote.md +18 -17
  221. data/docs/ResultListDeviceConfigurationVariable.md +28 -0
  222. data/docs/ResultListDispatchNotification.md +28 -0
  223. data/docs/ResultListDispatchNotificationItem.md +28 -0
  224. data/docs/ResultListEconomicZone.md +18 -17
  225. data/docs/ResultListEndOfDayStatement.md +18 -17
  226. data/docs/ResultListEntryGate.md +18 -17
  227. data/docs/ResultListEvent.md +18 -17
  228. data/docs/ResultListExternalSystemCall.md +18 -17
  229. data/docs/ResultListFiscalUnit.md +28 -0
  230. data/docs/ResultListInfoText.md +18 -17
  231. data/docs/ResultListInventory.md +18 -17
  232. data/docs/ResultListInventoryList.md +18 -17
  233. data/docs/ResultListInventoryListItem.md +18 -17
  234. data/docs/ResultListOrganizationalUnit.md +18 -17
  235. data/docs/ResultListPaymentMethod.md +18 -17
  236. data/docs/ResultListPos.md +18 -17
  237. data/docs/ResultListPosBalance.md +28 -0
  238. data/docs/ResultListPosButtonLayout.md +28 -0
  239. data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
  240. data/docs/ResultListPosProfile.md +28 -0
  241. data/docs/ResultListPriceGroup.md +18 -17
  242. data/docs/ResultListPriceRule.md +28 -0
  243. data/docs/ResultListProduct.md +18 -17
  244. data/docs/ResultListProductStock.md +18 -17
  245. data/docs/ResultListProductionType.md +28 -0
  246. data/docs/ResultListPromotion.md +28 -0
  247. data/docs/ResultListReceipt.md +18 -17
  248. data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
  249. data/docs/ResultListSalesTax.md +18 -17
  250. data/docs/ResultListSector.md +18 -17
  251. data/docs/ResultListSpecialPriceConfiguration.md +28 -0
  252. data/docs/ResultListStockAdjustment.md +28 -0
  253. data/docs/ResultListStockAdjustmentItem.md +28 -0
  254. data/docs/ResultListStockOrder.md +28 -0
  255. data/docs/ResultListStockOrderItem.md +28 -0
  256. data/docs/ResultListStockReceipt.md +18 -17
  257. data/docs/ResultListStockReceiptItem.md +18 -17
  258. data/docs/ResultListStoreOrder.md +28 -0
  259. data/docs/ResultListStoreOrderItem.md +28 -0
  260. data/docs/ResultListSupplier.md +18 -17
  261. data/docs/ResultListTag.md +18 -17
  262. data/docs/ResultListTicket.md +18 -17
  263. data/docs/ResultListTicketDefinition.md +18 -17
  264. data/docs/ResultListTimeTrackingEntity.md +18 -17
  265. data/docs/ResultListTimeTrackingEntry.md +18 -17
  266. data/docs/ResultListUserRole.md +28 -0
  267. data/docs/RevenueData.md +16 -15
  268. data/docs/SalesTax.md +24 -21
  269. data/docs/SalesTaxRate.md +10 -9
  270. data/docs/SalesTaxesApi.md +280 -30
  271. data/docs/Sector.md +20 -19
  272. data/docs/SectorRevenueAccountItem.md +10 -9
  273. data/docs/SectorSalesTaxItem.md +10 -9
  274. data/docs/SectorsApi.md +191 -53
  275. data/docs/Service.md +20 -0
  276. data/docs/Signature.md +12 -11
  277. data/docs/SpecialPrice.md +22 -0
  278. data/docs/SpecialPriceConfiguration.md +32 -0
  279. data/docs/SpecialPriceConfigurationsApi.md +449 -0
  280. data/docs/Statistic.md +12 -11
  281. data/docs/StatisticListTopSeller.md +12 -11
  282. data/docs/StatisticMapStringRevenueData.md +12 -11
  283. data/docs/StatisticRevenueData.md +12 -11
  284. data/docs/StatisticsApi.md +123 -56
  285. data/docs/StockAdjustment.md +44 -0
  286. data/docs/StockAdjustmentItem.md +24 -0
  287. data/docs/StockAdjustmentItemReason.md +20 -0
  288. data/docs/StockAdjustmentsApi.md +834 -0
  289. data/docs/StockOrder.md +76 -0
  290. data/docs/StockOrderItem.md +40 -0
  291. data/docs/StockOrdersApi.md +404 -0
  292. data/docs/StockReceipt.md +54 -49
  293. data/docs/StockReceiptItem.md +20 -19
  294. data/docs/StockReceiptItemAmount.md +10 -9
  295. data/docs/StockReceiptItemIdentification.md +12 -11
  296. data/docs/StockReceiptItemPurchasePrice.md +10 -9
  297. data/docs/StockReceiptsApi.md +336 -150
  298. data/docs/StoreOrder.md +42 -0
  299. data/docs/StoreOrderItem.md +24 -0
  300. data/docs/StoreOrdersApi.md +836 -0
  301. data/docs/Supplier.md +32 -29
  302. data/docs/SupplierContact.md +14 -13
  303. data/docs/SupplierContactPerson.md +20 -19
  304. data/docs/SupplierPaymentInformation.md +24 -23
  305. data/docs/SuppliersApi.md +280 -30
  306. data/docs/Tag.md +16 -15
  307. data/docs/TagsApi.md +203 -85
  308. data/docs/TaxPayment.md +14 -13
  309. data/docs/TaxSummary.md +12 -11
  310. data/docs/TerminalReceiptPrintLine.md +20 -0
  311. data/docs/Ticket.md +20 -19
  312. data/docs/TicketCreationApi.md +63 -30
  313. data/docs/TicketData.md +28 -27
  314. data/docs/TicketDefinition.md +38 -29
  315. data/docs/TicketPersonalization.md +14 -13
  316. data/docs/TicketingApi.md +913 -265
  317. data/docs/TimeOfDayInterval.md +20 -0
  318. data/docs/TimePeriod.md +20 -19
  319. data/docs/TimeTrackingApi.md +190 -89
  320. data/docs/TimeTrackingEntity.md +18 -17
  321. data/docs/TimeTrackingEntry.md +20 -19
  322. data/docs/TooManyRequestsError.md +10 -9
  323. data/docs/TopSeller.md +16 -15
  324. data/docs/TotalPeriod.md +10 -9
  325. data/docs/TotalPrice.md +16 -15
  326. data/docs/UserRole.md +28 -0
  327. data/docs/UserRolesApi.md +518 -0
  328. data/docs/Validity.md +14 -13
  329. data/docs/VoidedReceiptItem.md +26 -0
  330. data/docs/VoucherTransaction.md +36 -0
  331. data/docs/Weather.md +12 -11
  332. data/korona-cloud-client.gemspec +3 -4
  333. data/lib/korona-cloud-client/api/accounts_api.rb +368 -10
  334. data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +10 -8
  335. data/lib/korona-cloud-client/api/assortments_api.rb +30 -23
  336. data/lib/korona-cloud-client/api/cashier_roles_api.rb +520 -0
  337. data/lib/korona-cloud-client/api/cashier_verification_requirement_api.rb +378 -0
  338. data/lib/korona-cloud-client/api/cashiers_api.rb +380 -8
  339. data/lib/korona-cloud-client/api/commodity_groups_api.rb +30 -23
  340. data/lib/korona-cloud-client/api/coupons_api.rb +165 -0
  341. data/lib/korona-cloud-client/api/currencies_api.rb +220 -8
  342. data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +447 -0
  343. data/lib/korona-cloud-client/api/customer_groups_api.rb +366 -8
  344. data/lib/korona-cloud-client/api/customer_orders_api.rb +46 -28
  345. data/lib/korona-cloud-client/api/customers_api.rb +30 -23
  346. data/lib/korona-cloud-client/api/delivery_notes_api.rb +30 -25
  347. data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +445 -0
  348. data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +345 -0
  349. data/lib/korona-cloud-client/api/economic_zones_api.rb +220 -8
  350. data/lib/korona-cloud-client/api/external_system_calls_api.rb +30 -23
  351. data/lib/korona-cloud-client/api/fiscal_units_api.rb +394 -0
  352. data/lib/korona-cloud-client/api/images_api.rb +6 -5
  353. data/lib/korona-cloud-client/api/info_texts_api.rb +220 -8
  354. data/lib/korona-cloud-client/api/inventories_api.rb +217 -130
  355. data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
  356. data/lib/korona-cloud-client/api/organizational_units_api.rb +416 -51
  357. data/lib/korona-cloud-client/api/payment_methods_api.rb +366 -8
  358. data/lib/korona-cloud-client/api/points_of_sale_api.rb +279 -36
  359. data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +524 -0
  360. data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +524 -0
  361. data/lib/korona-cloud-client/api/pos_profiles_api.rb +524 -0
  362. data/lib/korona-cloud-client/api/price_groups_api.rb +220 -8
  363. data/lib/korona-cloud-client/api/price_rules_api.rb +520 -0
  364. data/lib/korona-cloud-client/api/production_types_api.rb +378 -0
  365. data/lib/korona-cloud-client/api/products_api.rb +43 -26
  366. data/lib/korona-cloud-client/api/promotions_api.rb +520 -0
  367. data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +524 -0
  368. data/lib/korona-cloud-client/api/receipts_api.rb +24 -16
  369. data/lib/korona-cloud-client/api/sales_taxes_api.rb +220 -8
  370. data/lib/korona-cloud-client/api/sectors_api.rb +87 -14
  371. data/lib/korona-cloud-client/api/special_price_configurations_api.rb +445 -0
  372. data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
  373. data/lib/korona-cloud-client/api/stock_adjustments_api.rb +860 -0
  374. data/lib/korona-cloud-client/api/stock_orders_api.rb +415 -0
  375. data/lib/korona-cloud-client/api/stock_receipts_api.rb +54 -43
  376. data/lib/korona-cloud-client/api/store_orders_api.rb +860 -0
  377. data/lib/korona-cloud-client/api/suppliers_api.rb +220 -8
  378. data/lib/korona-cloud-client/api/tags_api.rb +30 -23
  379. data/lib/korona-cloud-client/api/ticket_creation_api.rb +14 -12
  380. data/lib/korona-cloud-client/api/ticketing_api.rb +376 -72
  381. data/lib/korona-cloud-client/api/time_tracking_api.rb +30 -24
  382. data/lib/korona-cloud-client/api/user_roles_api.rb +517 -0
  383. data/lib/korona-cloud-client/api_client.rb +51 -47
  384. data/lib/korona-cloud-client/api_error.rb +2 -2
  385. data/lib/korona-cloud-client/configuration.rb +39 -10
  386. data/lib/korona-cloud-client/models/account.rb +33 -12
  387. data/lib/korona-cloud-client/models/account_summary.rb +20 -8
  388. data/lib/korona-cloud-client/models/account_transaction.rb +43 -13
  389. data/lib/korona-cloud-client/models/add_or_update_result.rb +20 -8
  390. data/lib/korona-cloud-client/models/additional_info.rb +20 -8
  391. data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +38 -8
  392. data/lib/korona-cloud-client/models/address_information.rb +30 -9
  393. data/lib/korona-cloud-client/models/admission.rb +20 -8
  394. data/lib/korona-cloud-client/models/amount.rb +20 -8
  395. data/lib/korona-cloud-client/models/amount_count_data.rb +20 -8
  396. data/lib/korona-cloud-client/models/assortment.rb +22 -9
  397. data/lib/korona-cloud-client/models/attendance.rb +24 -10
  398. data/lib/korona-cloud-client/models/bad_request_error.rb +22 -10
  399. data/lib/korona-cloud-client/models/capacity.rb +20 -8
  400. data/lib/korona-cloud-client/models/cashier.rb +93 -17
  401. data/lib/korona-cloud-client/models/cashier_role.rb +291 -0
  402. data/lib/korona-cloud-client/models/cashier_summary.rb +20 -8
  403. data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +345 -0
  404. data/lib/korona-cloud-client/models/cashier_verification_result.rb +299 -0
  405. data/lib/korona-cloud-client/models/category.rb +20 -8
  406. data/lib/korona-cloud-client/models/cloud_subscription.rb +21 -9
  407. data/lib/korona-cloud-client/models/cloud_subscription_details.rb +261 -0
  408. data/lib/korona-cloud-client/models/commodity_group.rb +30 -9
  409. data/lib/korona-cloud-client/models/commodity_group_summary.rb +20 -8
  410. data/lib/korona-cloud-client/models/company_identification.rb +20 -8
  411. data/lib/korona-cloud-client/models/coupon.rb +227 -0
  412. data/lib/korona-cloud-client/models/coupon_position.rb +279 -0
  413. data/lib/korona-cloud-client/models/creation_task.rb +22 -9
  414. data/lib/korona-cloud-client/models/currency.rb +20 -8
  415. data/lib/korona-cloud-client/models/currency_denomination.rb +20 -8
  416. data/lib/korona-cloud-client/models/currency_exchange_rate.rb +22 -9
  417. data/lib/korona-cloud-client/models/customer.rb +70 -13
  418. data/lib/korona-cloud-client/models/customer_card.rb +20 -8
  419. data/lib/korona-cloud-client/models/customer_data.rb +20 -8
  420. data/lib/korona-cloud-client/models/customer_display_configuration.rb +424 -0
  421. data/lib/korona-cloud-client/models/customer_group.rb +20 -8
  422. data/lib/korona-cloud-client/models/customer_group_summary.rb +20 -8
  423. data/lib/korona-cloud-client/models/customer_information.rb +22 -9
  424. data/lib/korona-cloud-client/models/customer_order.rb +30 -13
  425. data/lib/korona-cloud-client/models/customer_order_item.rb +358 -0
  426. data/lib/korona-cloud-client/models/date_interval.rb +229 -0
  427. data/lib/korona-cloud-client/models/day_rating.rb +22 -9
  428. data/lib/korona-cloud-client/models/day_time_period.rb +20 -8
  429. data/lib/korona-cloud-client/models/delivery_note.rb +24 -10
  430. data/lib/korona-cloud-client/models/delivery_note_item.rb +20 -8
  431. data/lib/korona-cloud-client/models/deposit.rb +22 -9
  432. data/lib/korona-cloud-client/models/device_configuration.rb +356 -0
  433. data/lib/korona-cloud-client/models/device_configuration_variable.rb +258 -0
  434. data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +227 -0
  435. data/lib/korona-cloud-client/models/device_information.rb +22 -8
  436. data/lib/korona-cloud-client/models/device_parameter_item.rb +236 -0
  437. data/lib/korona-cloud-client/models/discount.rb +50 -18
  438. data/lib/korona-cloud-client/models/dispatch_notification.rb +413 -0
  439. data/lib/korona-cloud-client/models/dispatch_notification_item.rb +282 -0
  440. data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +227 -0
  441. data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +227 -0
  442. data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +236 -0
  443. data/lib/korona-cloud-client/models/economic_zone.rb +20 -8
  444. data/lib/korona-cloud-client/models/end_of_day_statement.rb +22 -9
  445. data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +56 -8
  446. data/lib/korona-cloud-client/models/entry_gate.rb +20 -8
  447. data/lib/korona-cloud-client/models/event.rb +34 -9
  448. data/lib/korona-cloud-client/models/external_system_call.rb +33 -12
  449. data/lib/korona-cloud-client/models/fiscal_transaction.rb +357 -0
  450. data/lib/korona-cloud-client/models/fiscal_unit.rb +436 -0
  451. data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +246 -0
  452. data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +263 -0
  453. data/lib/korona-cloud-client/models/fiscal_unit_state.rb +299 -0
  454. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +245 -0
  455. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +227 -0
  456. data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +236 -0
  457. data/lib/korona-cloud-client/models/forbidden_error.rb +20 -8
  458. data/lib/korona-cloud-client/models/geo_location.rb +20 -8
  459. data/lib/korona-cloud-client/models/info_text.rb +33 -12
  460. data/lib/korona-cloud-client/models/interval.rb +24 -10
  461. data/lib/korona-cloud-client/models/inventory.rb +30 -10
  462. data/lib/korona-cloud-client/models/inventory_list.rb +38 -13
  463. data/lib/korona-cloud-client/models/inventory_list_item.rb +20 -8
  464. data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +20 -8
  465. data/lib/korona-cloud-client/models/korona_account.rb +38 -9
  466. data/lib/korona-cloud-client/models/media_url.rb +20 -8
  467. data/lib/korona-cloud-client/models/method_not_allowed_error.rb +20 -8
  468. data/lib/korona-cloud-client/models/model_reference.rb +20 -8
  469. data/lib/korona-cloud-client/models/not_found_error.rb +20 -8
  470. data/lib/korona-cloud-client/models/opening_hours.rb +22 -8
  471. data/lib/korona-cloud-client/models/organizational_unit.rb +68 -41
  472. data/lib/korona-cloud-client/models/payment.rb +57 -13
  473. data/lib/korona-cloud-client/models/payment_method.rb +51 -12
  474. data/lib/korona-cloud-client/models/payment_service_configuration.rb +288 -0
  475. data/lib/korona-cloud-client/models/payment_summary.rb +20 -8
  476. data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +263 -0
  477. data/lib/korona-cloud-client/models/period.rb +24 -10
  478. data/lib/korona-cloud-client/models/period_list_top_seller.rb +24 -10
  479. data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +24 -10
  480. data/lib/korona-cloud-client/models/period_object.rb +24 -10
  481. data/lib/korona-cloud-client/models/period_revenue_data.rb +24 -10
  482. data/lib/korona-cloud-client/models/pos.rb +213 -21
  483. data/lib/korona-cloud-client/models/pos_balance.rb +365 -0
  484. data/lib/korona-cloud-client/models/pos_balance_item.rb +288 -0
  485. data/lib/korona-cloud-client/models/pos_balance_summary.rb +236 -0
  486. data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +255 -0
  487. data/lib/korona-cloud-client/models/pos_balance_total.rb +227 -0
  488. data/lib/korona-cloud-client/models/pos_button.rb +329 -0
  489. data/lib/korona-cloud-client/models/pos_button_function.rb +366 -0
  490. data/lib/korona-cloud-client/models/pos_button_layout.rb +318 -0
  491. data/lib/korona-cloud-client/models/pos_page_layout.rb +288 -0
  492. data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +293 -0
  493. data/lib/korona-cloud-client/models/pos_profile.rb +658 -0
  494. data/lib/korona-cloud-client/models/prepaid_card.rb +227 -0
  495. data/lib/korona-cloud-client/models/price_group.rb +20 -8
  496. data/lib/korona-cloud-client/models/price_rule.rb +312 -0
  497. data/lib/korona-cloud-client/models/price_rule_calculation.rb +261 -0
  498. data/lib/korona-cloud-client/models/price_rule_condition.rb +306 -0
  499. data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +261 -0
  500. data/lib/korona-cloud-client/models/price_rule_validity_period.rb +236 -0
  501. data/lib/korona-cloud-client/models/product.rb +53 -12
  502. data/lib/korona-cloud-client/models/product_code.rb +20 -8
  503. data/lib/korona-cloud-client/models/product_description.rb +20 -8
  504. data/lib/korona-cloud-client/models/product_price.rb +24 -9
  505. data/lib/korona-cloud-client/models/product_special_price.rb +237 -0
  506. data/lib/korona-cloud-client/models/product_stock.rb +20 -8
  507. data/lib/korona-cloud-client/models/product_subproduct.rb +76 -12
  508. data/lib/korona-cloud-client/models/product_supplier_price.rb +20 -8
  509. data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +20 -8
  510. data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +20 -8
  511. data/lib/korona-cloud-client/models/production_type.rb +340 -0
  512. data/lib/korona-cloud-client/models/promotion.rb +383 -0
  513. data/lib/korona-cloud-client/models/promotion_application.rb +236 -0
  514. data/lib/korona-cloud-client/models/promotion_benefit.rb +288 -0
  515. data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +360 -0
  516. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +229 -0
  517. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +321 -0
  518. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +279 -0
  519. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +261 -0
  520. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +247 -0
  521. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +227 -0
  522. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +227 -0
  523. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +297 -0
  524. data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +227 -0
  525. data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +227 -0
  526. data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +279 -0
  527. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +279 -0
  528. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +227 -0
  529. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +227 -0
  530. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +227 -0
  531. data/lib/korona-cloud-client/models/promotion_coupon.rb +287 -0
  532. data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +270 -0
  533. data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +227 -0
  534. data/lib/korona-cloud-client/models/promotion_layer.rb +227 -0
  535. data/lib/korona-cloud-client/models/promotion_stamp.rb +270 -0
  536. data/lib/korona-cloud-client/models/promotion_trigger.rb +298 -0
  537. data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +270 -0
  538. data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +261 -0
  539. data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +261 -0
  540. data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +270 -0
  541. data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +270 -0
  542. data/lib/korona-cloud-client/models/promotion_validity.rb +294 -0
  543. data/lib/korona-cloud-client/models/rating.rb +20 -8
  544. data/lib/korona-cloud-client/models/receipt.rb +204 -39
  545. data/lib/korona-cloud-client/models/receipt_item.rb +163 -33
  546. data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +427 -0
  547. data/lib/korona-cloud-client/models/receipt_max_revisions.rb +263 -0
  548. data/lib/korona-cloud-client/models/receipt_revenue.rb +227 -0
  549. data/lib/korona-cloud-client/models/receipt_total.rb +236 -0
  550. data/lib/korona-cloud-client/models/result_list.rb +20 -8
  551. data/lib/korona-cloud-client/models/result_list_account.rb +20 -8
  552. data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +20 -8
  553. data/lib/korona-cloud-client/models/result_list_assortment.rb +20 -8
  554. data/lib/korona-cloud-client/models/result_list_attendance.rb +20 -8
  555. data/lib/korona-cloud-client/models/result_list_cashier.rb +20 -8
  556. data/lib/korona-cloud-client/models/result_list_cashier_role.rb +303 -0
  557. data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +303 -0
  558. data/lib/korona-cloud-client/models/result_list_commodity_group.rb +20 -8
  559. data/lib/korona-cloud-client/models/result_list_coupon.rb +303 -0
  560. data/lib/korona-cloud-client/models/result_list_creation_task.rb +20 -8
  561. data/lib/korona-cloud-client/models/result_list_currency.rb +20 -8
  562. data/lib/korona-cloud-client/models/result_list_customer.rb +20 -8
  563. data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +303 -0
  564. data/lib/korona-cloud-client/models/result_list_customer_group.rb +20 -8
  565. data/lib/korona-cloud-client/models/result_list_customer_order.rb +20 -8
  566. data/lib/korona-cloud-client/models/result_list_day_rating.rb +20 -8
  567. data/lib/korona-cloud-client/models/result_list_delivery_note.rb +20 -8
  568. data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +303 -0
  569. data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +303 -0
  570. data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +303 -0
  571. data/lib/korona-cloud-client/models/result_list_economic_zone.rb +20 -8
  572. data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +20 -8
  573. data/lib/korona-cloud-client/models/result_list_entry_gate.rb +20 -8
  574. data/lib/korona-cloud-client/models/result_list_event.rb +20 -8
  575. data/lib/korona-cloud-client/models/result_list_external_system_call.rb +20 -8
  576. data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +303 -0
  577. data/lib/korona-cloud-client/models/result_list_info_text.rb +20 -8
  578. data/lib/korona-cloud-client/models/result_list_inventory.rb +20 -8
  579. data/lib/korona-cloud-client/models/result_list_inventory_list.rb +20 -8
  580. data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +20 -8
  581. data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +20 -8
  582. data/lib/korona-cloud-client/models/result_list_payment_method.rb +20 -8
  583. data/lib/korona-cloud-client/models/result_list_pos.rb +20 -8
  584. data/lib/korona-cloud-client/models/result_list_pos_balance.rb +303 -0
  585. data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +303 -0
  586. data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +303 -0
  587. data/lib/korona-cloud-client/models/result_list_pos_profile.rb +303 -0
  588. data/lib/korona-cloud-client/models/result_list_price_group.rb +20 -8
  589. data/lib/korona-cloud-client/models/result_list_price_rule.rb +303 -0
  590. data/lib/korona-cloud-client/models/result_list_product.rb +20 -8
  591. data/lib/korona-cloud-client/models/result_list_product_stock.rb +20 -8
  592. data/lib/korona-cloud-client/models/result_list_production_type.rb +303 -0
  593. data/lib/korona-cloud-client/models/result_list_promotion.rb +303 -0
  594. data/lib/korona-cloud-client/models/result_list_receipt.rb +20 -8
  595. data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +303 -0
  596. data/lib/korona-cloud-client/models/result_list_sales_tax.rb +20 -8
  597. data/lib/korona-cloud-client/models/result_list_sector.rb +20 -8
  598. data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +303 -0
  599. data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +303 -0
  600. data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +303 -0
  601. data/lib/korona-cloud-client/models/result_list_stock_order.rb +303 -0
  602. data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +303 -0
  603. data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +20 -8
  604. data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +20 -8
  605. data/lib/korona-cloud-client/models/result_list_store_order.rb +303 -0
  606. data/lib/korona-cloud-client/models/result_list_store_order_item.rb +303 -0
  607. data/lib/korona-cloud-client/models/result_list_supplier.rb +20 -8
  608. data/lib/korona-cloud-client/models/result_list_tag.rb +20 -8
  609. data/lib/korona-cloud-client/models/result_list_ticket.rb +20 -8
  610. data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +20 -8
  611. data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +20 -8
  612. data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +20 -8
  613. data/lib/korona-cloud-client/models/result_list_user_role.rb +303 -0
  614. data/lib/korona-cloud-client/models/revenue_data.rb +20 -8
  615. data/lib/korona-cloud-client/models/sales_tax.rb +64 -9
  616. data/lib/korona-cloud-client/models/sales_tax_rate.rb +22 -9
  617. data/lib/korona-cloud-client/models/sector.rb +20 -8
  618. data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +20 -8
  619. data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +20 -8
  620. data/lib/korona-cloud-client/models/service.rb +261 -0
  621. data/lib/korona-cloud-client/models/signature.rb +22 -9
  622. data/lib/korona-cloud-client/models/special_price.rb +237 -0
  623. data/lib/korona-cloud-client/models/special_price_configuration.rb +295 -0
  624. data/lib/korona-cloud-client/models/statistic.rb +20 -8
  625. data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +20 -8
  626. data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +20 -8
  627. data/lib/korona-cloud-client/models/statistic_revenue_data.rb +20 -8
  628. data/lib/korona-cloud-client/models/stock_adjustment.rb +375 -0
  629. data/lib/korona-cloud-client/models/stock_adjustment_item.rb +245 -0
  630. data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +261 -0
  631. data/lib/korona-cloud-client/models/stock_order.rb +524 -0
  632. data/lib/korona-cloud-client/models/stock_order_item.rb +318 -0
  633. data/lib/korona-cloud-client/models/stock_receipt.rb +45 -12
  634. data/lib/korona-cloud-client/models/stock_receipt_item.rb +22 -9
  635. data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +20 -8
  636. data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +20 -8
  637. data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +20 -8
  638. data/lib/korona-cloud-client/models/store_order.rb +333 -0
  639. data/lib/korona-cloud-client/models/store_order_item.rb +245 -0
  640. data/lib/korona-cloud-client/models/supplier.rb +33 -12
  641. data/lib/korona-cloud-client/models/supplier_contact.rb +20 -8
  642. data/lib/korona-cloud-client/models/supplier_contact_person.rb +20 -8
  643. data/lib/korona-cloud-client/models/supplier_payment_information.rb +20 -8
  644. data/lib/korona-cloud-client/models/tag.rb +20 -8
  645. data/lib/korona-cloud-client/models/tax_payment.rb +20 -8
  646. data/lib/korona-cloud-client/models/tax_summary.rb +20 -8
  647. data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +261 -0
  648. data/lib/korona-cloud-client/models/ticket.rb +24 -10
  649. data/lib/korona-cloud-client/models/ticket_data.rb +26 -10
  650. data/lib/korona-cloud-client/models/ticket_definition.rb +63 -9
  651. data/lib/korona-cloud-client/models/ticket_personalization.rb +20 -8
  652. data/lib/korona-cloud-client/models/time_of_day_interval.rb +229 -0
  653. data/lib/korona-cloud-client/models/time_period.rb +20 -8
  654. data/lib/korona-cloud-client/models/time_tracking_entity.rb +20 -8
  655. data/lib/korona-cloud-client/models/time_tracking_entry.rb +22 -9
  656. data/lib/korona-cloud-client/models/too_many_requests_error.rb +20 -8
  657. data/lib/korona-cloud-client/models/top_seller.rb +20 -8
  658. data/lib/korona-cloud-client/models/total_period.rb +24 -10
  659. data/lib/korona-cloud-client/models/total_price.rb +20 -8
  660. data/lib/korona-cloud-client/models/user_role.rb +291 -0
  661. data/lib/korona-cloud-client/models/validity.rb +26 -8
  662. data/lib/korona-cloud-client/models/voided_receipt_item.rb +254 -0
  663. data/lib/korona-cloud-client/models/voucher_transaction.rb +335 -0
  664. data/lib/korona-cloud-client/models/weather.rb +20 -8
  665. data/lib/korona-cloud-client/version.rb +3 -3
  666. data/lib/korona-cloud-client.rb +142 -2
  667. data/spec/api/accounts_api_spec.rb +67 -3
  668. data/spec/api/additional_receipt_info_types_api_spec.rb +2 -2
  669. data/spec/api/assortments_api_spec.rb +2 -2
  670. data/spec/api/cashier_roles_api_spec.rb +126 -0
  671. data/spec/api/cashier_verification_requirement_api_spec.rb +101 -0
  672. data/spec/api/cashiers_api_spec.rb +68 -2
  673. data/spec/api/commodity_groups_api_spec.rb +2 -2
  674. data/spec/api/coupons_api_spec.rb +63 -0
  675. data/spec/api/currencies_api_spec.rb +39 -2
  676. data/spec/api/customer_display_configurations_api_spec.rb +114 -0
  677. data/spec/api/customer_groups_api_spec.rb +66 -2
  678. data/spec/api/customer_orders_api_spec.rb +10 -6
  679. data/spec/api/customers_api_spec.rb +2 -2
  680. data/spec/api/delivery_notes_api_spec.rb +6 -6
  681. data/spec/api/device_configuration_variables_api_spec.rb +113 -0
  682. data/spec/api/dispatch_notifications_api_spec.rb +100 -0
  683. data/spec/api/economic_zones_api_spec.rb +39 -2
  684. data/spec/api/external_system_calls_api_spec.rb +2 -2
  685. data/spec/api/fiscal_units_api_spec.rb +104 -0
  686. data/spec/api/images_api_spec.rb +2 -2
  687. data/spec/api/info_texts_api_spec.rb +39 -2
  688. data/spec/api/inventories_api_spec.rb +37 -24
  689. data/spec/api/korona_account_api_spec.rb +2 -2
  690. data/spec/api/organizational_units_api_spec.rb +73 -10
  691. data/spec/api/payment_methods_api_spec.rb +66 -2
  692. data/spec/api/points_of_sale_api_spec.rb +53 -7
  693. data/spec/api/pos_button_layouts_api_spec.rb +128 -0
  694. data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
  695. data/spec/api/pos_profiles_api_spec.rb +128 -0
  696. data/spec/api/price_groups_api_spec.rb +39 -2
  697. data/spec/api/price_rules_api_spec.rb +126 -0
  698. data/spec/api/production_types_api_spec.rb +101 -0
  699. data/spec/api/products_api_spec.rb +5 -2
  700. data/spec/api/promotions_api_spec.rb +126 -0
  701. data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
  702. data/spec/api/receipts_api_spec.rb +8 -6
  703. data/spec/api/sales_taxes_api_spec.rb +39 -2
  704. data/spec/api/sectors_api_spec.rb +14 -2
  705. data/spec/api/special_price_configurations_api_spec.rb +113 -0
  706. data/spec/api/statistics_api_spec.rb +2 -2
  707. data/spec/api/stock_adjustments_api_spec.rb +190 -0
  708. data/spec/api/stock_orders_api_spec.rb +114 -0
  709. data/spec/api/stock_receipts_api_spec.rb +6 -6
  710. data/spec/api/store_orders_api_spec.rb +190 -0
  711. data/spec/api/suppliers_api_spec.rb +39 -2
  712. data/spec/api/tags_api_spec.rb +2 -2
  713. data/spec/api/ticket_creation_api_spec.rb +4 -4
  714. data/spec/api/ticketing_api_spec.rb +55 -4
  715. data/spec/api/time_tracking_api_spec.rb +4 -4
  716. data/spec/api/user_roles_api_spec.rb +125 -0
  717. data/spec/api_client_spec.rb +2 -2
  718. data/spec/configuration_spec.rb +2 -2
  719. data/spec/models/account_spec.rb +12 -13
  720. data/spec/models/account_summary_spec.rb +5 -12
  721. data/spec/models/account_transaction_spec.rb +11 -12
  722. data/spec/models/add_or_update_result_spec.rb +7 -14
  723. data/spec/models/additional_info_spec.rb +5 -12
  724. data/spec/models/additional_receipt_info_type_spec.rb +5 -12
  725. data/spec/models/address_information_spec.rb +11 -12
  726. data/spec/models/admission_spec.rb +5 -12
  727. data/spec/models/amount_count_data_spec.rb +5 -12
  728. data/spec/models/amount_spec.rb +5 -12
  729. data/spec/models/assortment_spec.rb +5 -12
  730. data/spec/models/attendance_spec.rb +5 -12
  731. data/spec/models/bad_request_error_spec.rb +7 -14
  732. data/spec/models/capacity_spec.rb +5 -12
  733. data/spec/models/cashier_role_spec.rb +68 -0
  734. data/spec/models/cashier_spec.rb +45 -16
  735. data/spec/models/cashier_summary_spec.rb +5 -12
  736. data/spec/models/cashier_verification_requirement_spec.rb +92 -0
  737. data/spec/models/cashier_verification_result_spec.rb +68 -0
  738. data/spec/models/category_spec.rb +5 -12
  739. data/spec/models/cloud_subscription_details_spec.rb +44 -0
  740. data/spec/models/cloud_subscription_spec.rb +6 -13
  741. data/spec/models/commodity_group_spec.rb +11 -12
  742. data/spec/models/commodity_group_summary_spec.rb +5 -12
  743. data/spec/models/company_identification_spec.rb +5 -12
  744. data/spec/models/coupon_position_spec.rb +64 -0
  745. data/spec/models/coupon_spec.rb +40 -0
  746. data/spec/models/creation_task_spec.rb +6 -13
  747. data/spec/models/currency_denomination_spec.rb +6 -13
  748. data/spec/models/currency_exchange_rate_spec.rb +5 -12
  749. data/spec/models/currency_spec.rb +5 -12
  750. data/spec/models/customer_card_spec.rb +6 -13
  751. data/spec/models/customer_data_spec.rb +5 -12
  752. data/spec/models/customer_display_configuration_spec.rb +142 -0
  753. data/spec/models/customer_group_spec.rb +5 -12
  754. data/spec/models/customer_group_summary_spec.rb +5 -12
  755. data/spec/models/customer_information_spec.rb +5 -12
  756. data/spec/models/customer_order_item_spec.rb +118 -0
  757. data/spec/models/customer_order_spec.rb +5 -12
  758. data/spec/models/customer_spec.rb +30 -13
  759. data/spec/models/date_interval_spec.rb +40 -0
  760. data/spec/models/day_rating_spec.rb +5 -12
  761. data/spec/models/day_time_period_spec.rb +5 -12
  762. data/spec/models/delivery_note_item_spec.rb +5 -12
  763. data/spec/models/delivery_note_spec.rb +5 -12
  764. data/spec/models/deposit_spec.rb +5 -12
  765. data/spec/models/device_configuration_spec.rb +94 -0
  766. data/spec/models/device_configuration_variable_spec.rb +58 -0
  767. data/spec/models/device_configuration_variable_value_spec.rb +40 -0
  768. data/spec/models/device_information_spec.rb +5 -12
  769. data/spec/models/device_parameter_item_spec.rb +46 -0
  770. data/spec/models/discount_spec.rb +18 -13
  771. data/spec/models/dispatch_notification_item_amount_spec.rb +40 -0
  772. data/spec/models/dispatch_notification_item_container_spec.rb +40 -0
  773. data/spec/models/dispatch_notification_item_identification_spec.rb +46 -0
  774. data/spec/models/dispatch_notification_item_spec.rb +76 -0
  775. data/spec/models/dispatch_notification_spec.rb +160 -0
  776. data/spec/models/economic_zone_spec.rb +5 -12
  777. data/spec/models/end_of_day_statement_spec.rb +5 -12
  778. data/spec/models/end_of_day_statement_summary_spec.rb +5 -12
  779. data/spec/models/entry_gate_spec.rb +5 -12
  780. data/spec/models/event_spec.rb +5 -12
  781. data/spec/models/external_system_call_spec.rb +11 -12
  782. data/spec/models/fiscal_transaction_spec.rb +112 -0
  783. data/spec/models/fiscal_unit_certificate_info_spec.rb +40 -0
  784. data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
  785. data/spec/models/fiscal_unit_spec.rb +146 -0
  786. data/spec/models/fiscal_unit_state_spec.rb +68 -0
  787. data/spec/models/fiscal_unit_state_usage_level_spec.rb +52 -0
  788. data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +40 -0
  789. data/spec/models/fiscal_unit_state_version_info_spec.rb +46 -0
  790. data/spec/models/forbidden_error_spec.rb +6 -13
  791. data/spec/models/geo_location_spec.rb +5 -12
  792. data/spec/models/info_text_spec.rb +12 -13
  793. data/spec/models/interval_spec.rb +5 -12
  794. data/spec/models/inventory_list_item_spec.rb +5 -12
  795. data/spec/models/inventory_list_item_stock_spec.rb +5 -12
  796. data/spec/models/inventory_list_spec.rb +12 -13
  797. data/spec/models/inventory_spec.rb +8 -15
  798. data/spec/models/korona_account_spec.rb +13 -14
  799. data/spec/models/media_url_spec.rb +5 -12
  800. data/spec/models/method_not_allowed_error_spec.rb +6 -13
  801. data/spec/models/model_reference_spec.rb +5 -12
  802. data/spec/models/not_found_error_spec.rb +6 -13
  803. data/spec/models/opening_hours_spec.rb +6 -13
  804. data/spec/models/organizational_unit_spec.rb +18 -19
  805. data/spec/models/payment_method_spec.rb +23 -12
  806. data/spec/models/payment_service_configuration_spec.rb +62 -0
  807. data/spec/models/payment_spec.rb +23 -12
  808. data/spec/models/payment_summary_spec.rb +5 -12
  809. data/spec/models/payment_terminal_receipt_spec.rb +44 -0
  810. data/spec/models/period_list_top_seller_spec.rb +5 -12
  811. data/spec/models/period_map_string_revenue_data_spec.rb +5 -12
  812. data/spec/models/period_object_spec.rb +5 -12
  813. data/spec/models/period_revenue_data_spec.rb +5 -12
  814. data/spec/models/period_spec.rb +5 -12
  815. data/spec/models/pos_balance_item_spec.rb +62 -0
  816. data/spec/models/pos_balance_spec.rb +112 -0
  817. data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
  818. data/spec/models/pos_balance_summary_spec.rb +46 -0
  819. data/spec/models/pos_balance_total_spec.rb +40 -0
  820. data/spec/models/pos_button_function_spec.rb +106 -0
  821. data/spec/models/pos_button_layout_spec.rb +74 -0
  822. data/spec/models/pos_button_spec.rb +84 -0
  823. data/spec/models/pos_page_layout_configuration_spec.rb +76 -0
  824. data/spec/models/pos_page_layout_spec.rb +62 -0
  825. data/spec/models/pos_profile_spec.rb +282 -0
  826. data/spec/models/pos_spec.rb +101 -14
  827. data/spec/models/prepaid_card_spec.rb +40 -0
  828. data/spec/models/price_group_spec.rb +5 -12
  829. data/spec/models/price_rule_calculation_spec.rb +44 -0
  830. data/spec/models/price_rule_condition_spec.rb +74 -0
  831. data/spec/models/price_rule_spec.rb +94 -0
  832. data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
  833. data/spec/models/price_rule_validity_period_spec.rb +46 -0
  834. data/spec/models/product_code_spec.rb +5 -12
  835. data/spec/models/product_description_spec.rb +6 -13
  836. data/spec/models/product_price_spec.rb +5 -12
  837. data/spec/models/product_spec.rb +20 -15
  838. data/spec/models/product_special_price_spec.rb +46 -0
  839. data/spec/models/product_stock_spec.rb +5 -12
  840. data/spec/models/product_subproduct_spec.rb +21 -12
  841. data/spec/models/product_supplier_price_spec.rb +5 -12
  842. data/spec/models/product_transfer_involved_party_information_data_spec.rb +5 -12
  843. data/spec/models/product_transfer_involved_party_information_spec.rb +5 -12
  844. data/spec/models/production_type_spec.rb +90 -0
  845. data/spec/models/promotion_application_spec.rb +46 -0
  846. data/spec/models/promotion_benefit_common_discount_spec.rb +98 -0
  847. data/spec/models/promotion_benefit_ext_discount_pos_selection_criteria_min_max_range_value_comp_spec.rb +40 -0
  848. data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +76 -0
  849. data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
  850. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
  851. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
  852. data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +68 -0
  853. data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
  854. data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
  855. data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
  856. data/spec/models/promotion_benefit_spec.rb +62 -0
  857. data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
  858. data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
  859. data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
  860. data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
  861. data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
  862. data/spec/models/promotion_bonuspoint_spec.rb +40 -0
  863. data/spec/models/promotion_coupon_spec.rb +56 -0
  864. data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
  865. data/spec/models/promotion_coupon_validity_spec.rb +50 -0
  866. data/spec/models/promotion_layer_spec.rb +40 -0
  867. data/spec/models/promotion_spec.rb +116 -0
  868. data/spec/models/promotion_stamp_spec.rb +50 -0
  869. data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
  870. data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
  871. data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
  872. data/spec/models/promotion_trigger_spec.rb +76 -0
  873. data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
  874. data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
  875. data/spec/models/promotion_validity_spec.rb +62 -0
  876. data/spec/models/rating_spec.rb +5 -12
  877. data/spec/models/receipt_item_spec.rb +64 -19
  878. data/spec/models/receipt_layout_configuration_spec.rb +152 -0
  879. data/spec/models/receipt_max_revisions_spec.rb +64 -0
  880. data/spec/models/receipt_revenue_spec.rb +40 -0
  881. data/spec/models/receipt_spec.rb +88 -17
  882. data/spec/models/receipt_total_spec.rb +46 -0
  883. data/spec/models/result_list_account_spec.rb +5 -12
  884. data/spec/models/result_list_additional_receipt_info_type_spec.rb +5 -12
  885. data/spec/models/result_list_assortment_spec.rb +5 -12
  886. data/spec/models/result_list_attendance_spec.rb +5 -12
  887. data/spec/models/result_list_cashier_role_spec.rb +64 -0
  888. data/spec/models/result_list_cashier_spec.rb +5 -12
  889. data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
  890. data/spec/models/result_list_commodity_group_spec.rb +5 -12
  891. data/spec/models/result_list_coupon_spec.rb +64 -0
  892. data/spec/models/result_list_creation_task_spec.rb +5 -12
  893. data/spec/models/result_list_currency_spec.rb +5 -12
  894. data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
  895. data/spec/models/result_list_customer_group_spec.rb +5 -12
  896. data/spec/models/result_list_customer_order_spec.rb +5 -12
  897. data/spec/models/result_list_customer_spec.rb +5 -12
  898. data/spec/models/result_list_day_rating_spec.rb +5 -12
  899. data/spec/models/result_list_delivery_note_spec.rb +5 -12
  900. data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
  901. data/spec/models/result_list_dispatch_notification_item_spec.rb +64 -0
  902. data/spec/models/result_list_dispatch_notification_spec.rb +64 -0
  903. data/spec/models/result_list_economic_zone_spec.rb +5 -12
  904. data/spec/models/result_list_end_of_day_statement_spec.rb +5 -12
  905. data/spec/models/result_list_entry_gate_spec.rb +5 -12
  906. data/spec/models/result_list_event_spec.rb +5 -12
  907. data/spec/models/result_list_external_system_call_spec.rb +5 -12
  908. data/spec/models/result_list_fiscal_unit_spec.rb +64 -0
  909. data/spec/models/result_list_info_text_spec.rb +5 -12
  910. data/spec/models/result_list_inventory_list_item_spec.rb +5 -12
  911. data/spec/models/result_list_inventory_list_spec.rb +5 -12
  912. data/spec/models/result_list_inventory_spec.rb +5 -12
  913. data/spec/models/result_list_organizational_unit_spec.rb +5 -12
  914. data/spec/models/result_list_payment_method_spec.rb +5 -12
  915. data/spec/models/result_list_pos_balance_spec.rb +64 -0
  916. data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
  917. data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
  918. data/spec/models/result_list_pos_profile_spec.rb +64 -0
  919. data/spec/models/result_list_pos_spec.rb +5 -12
  920. data/spec/models/result_list_price_group_spec.rb +5 -12
  921. data/spec/models/result_list_price_rule_spec.rb +64 -0
  922. data/spec/models/result_list_product_spec.rb +5 -12
  923. data/spec/models/result_list_product_stock_spec.rb +5 -12
  924. data/spec/models/result_list_production_type_spec.rb +64 -0
  925. data/spec/models/result_list_promotion_spec.rb +64 -0
  926. data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
  927. data/spec/models/result_list_receipt_spec.rb +5 -12
  928. data/spec/models/result_list_sales_tax_spec.rb +5 -12
  929. data/spec/models/result_list_sector_spec.rb +5 -12
  930. data/spec/models/result_list_spec.rb +5 -12
  931. data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
  932. data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
  933. data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
  934. data/spec/models/result_list_stock_order_item_spec.rb +64 -0
  935. data/spec/models/result_list_stock_order_spec.rb +64 -0
  936. data/spec/models/result_list_stock_receipt_item_spec.rb +5 -12
  937. data/spec/models/result_list_stock_receipt_spec.rb +5 -12
  938. data/spec/models/result_list_store_order_item_spec.rb +64 -0
  939. data/spec/models/result_list_store_order_spec.rb +64 -0
  940. data/spec/models/result_list_supplier_spec.rb +5 -12
  941. data/spec/models/result_list_tag_spec.rb +5 -12
  942. data/spec/models/result_list_ticket_definition_spec.rb +5 -12
  943. data/spec/models/result_list_ticket_spec.rb +5 -12
  944. data/spec/models/result_list_time_tracking_entity_spec.rb +5 -12
  945. data/spec/models/result_list_time_tracking_entry_spec.rb +5 -12
  946. data/spec/models/result_list_user_role_spec.rb +64 -0
  947. data/spec/models/revenue_data_spec.rb +5 -12
  948. data/spec/models/sales_tax_rate_spec.rb +5 -12
  949. data/spec/models/sales_tax_spec.rb +15 -12
  950. data/spec/models/sector_revenue_account_item_spec.rb +5 -12
  951. data/spec/models/sector_sales_tax_item_spec.rb +5 -12
  952. data/spec/models/sector_spec.rb +5 -12
  953. data/spec/models/service_spec.rb +44 -0
  954. data/spec/models/signature_spec.rb +5 -12
  955. data/spec/models/special_price_configuration_spec.rb +76 -0
  956. data/spec/models/special_price_spec.rb +46 -0
  957. data/spec/models/statistic_list_top_seller_spec.rb +5 -12
  958. data/spec/models/statistic_map_string_revenue_data_spec.rb +5 -12
  959. data/spec/models/statistic_revenue_data_spec.rb +5 -12
  960. data/spec/models/statistic_spec.rb +5 -12
  961. data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
  962. data/spec/models/stock_adjustment_item_spec.rb +52 -0
  963. data/spec/models/stock_adjustment_spec.rb +116 -0
  964. data/spec/models/stock_order_item_spec.rb +100 -0
  965. data/spec/models/stock_order_spec.rb +212 -0
  966. data/spec/models/stock_receipt_item_amount_spec.rb +5 -12
  967. data/spec/models/stock_receipt_item_identification_spec.rb +5 -12
  968. data/spec/models/stock_receipt_item_purchase_price_spec.rb +5 -12
  969. data/spec/models/stock_receipt_item_spec.rb +5 -12
  970. data/spec/models/stock_receipt_spec.rb +18 -13
  971. data/spec/models/store_order_item_spec.rb +52 -0
  972. data/spec/models/store_order_spec.rb +106 -0
  973. data/spec/models/supplier_contact_person_spec.rb +5 -12
  974. data/spec/models/supplier_contact_spec.rb +5 -12
  975. data/spec/models/supplier_payment_information_spec.rb +6 -13
  976. data/spec/models/supplier_spec.rb +11 -12
  977. data/spec/models/tag_spec.rb +5 -12
  978. data/spec/models/tax_payment_spec.rb +5 -12
  979. data/spec/models/tax_summary_spec.rb +5 -12
  980. data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
  981. data/spec/models/ticket_data_spec.rb +5 -12
  982. data/spec/models/ticket_definition_spec.rb +29 -12
  983. data/spec/models/ticket_personalization_spec.rb +5 -12
  984. data/spec/models/ticket_spec.rb +5 -12
  985. data/spec/models/time_of_day_interval_spec.rb +40 -0
  986. data/spec/models/time_period_spec.rb +5 -12
  987. data/spec/models/time_tracking_entity_spec.rb +5 -12
  988. data/spec/models/time_tracking_entry_spec.rb +5 -12
  989. data/spec/models/too_many_requests_error_spec.rb +6 -13
  990. data/spec/models/top_seller_spec.rb +5 -12
  991. data/spec/models/total_period_spec.rb +5 -12
  992. data/spec/models/total_price_spec.rb +5 -12
  993. data/spec/models/user_role_spec.rb +68 -0
  994. data/spec/models/validity_spec.rb +6 -13
  995. data/spec/models/voided_receipt_item_spec.rb +58 -0
  996. data/spec/models/voucher_transaction_spec.rb +92 -0
  997. data/spec/models/weather_spec.rb +6 -13
  998. data/spec/spec_helper.rb +2 -2
  999. metadata +567 -29
  1000. data/korona-cloud-client-1.0.0.gem +0 -0
data/docs/Account.md CHANGED
@@ -2,38 +2,41 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **Boolean** | indicates whether the object is active for use or not | [optional] [readonly]
8
- **id** | **String** | global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | [optional]
9
- **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional]
10
- **revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional] [readonly]
11
- **cash_journal_relevant** | **Boolean** | | [optional]
12
- **denomination_input** | **Boolean** | | [optional]
13
- **exclusive** | **Boolean** | | [optional]
14
- **name** | **String** | | [optional]
15
- **producer** | [**ModelReference**](ModelReference.md) | | [optional]
16
- **requires_serial_number** | **Boolean** | | [optional]
17
- **revenue_account** | [**ModelReference**](ModelReference.md) | | [optional]
18
- **type** | **String** | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active** | **Boolean** | indicates whether the object is active for use or not | [optional][readonly] |
8
+ | **id** | **String** | global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | [optional] |
9
+ | **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
10
+ | **revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional][readonly] |
11
+ | **cash_journal_relevant** | **Boolean** | | [optional] |
12
+ | **denomination_input** | **Boolean** | | [optional] |
13
+ | **exclusive** | **Boolean** | | [optional] |
14
+ | **name** | **String** | | [optional] |
15
+ | **producer** | [**ModelReference**](ModelReference.md) | | [optional] |
16
+ | **requires_serial_number** | **Boolean** | | [optional] |
17
+ | **revenue_account** | [**ModelReference**](ModelReference.md) | | [optional] |
18
+ | **type** | **String** | | [optional] |
19
+ | **show_transaction_on_customer_display** | **Boolean** | | [optional] |
19
20
 
20
- ## Code Sample
21
+ ## Example
21
22
 
22
23
  ```ruby
23
- require 'KoronaCloudClient'
24
+ require 'korona-cloud-client'
24
25
 
25
- instance = KoronaCloudClient::Account.new(active: null,
26
- id: null,
27
- number: null,
28
- revision: null,
29
- cash_journal_relevant: null,
30
- denomination_input: null,
31
- exclusive: null,
32
- name: null,
33
- producer: null,
34
- requires_serial_number: null,
35
- revenue_account: null,
36
- type: null)
26
+ instance = KoronaCloudClient::Account.new(
27
+ active: null,
28
+ id: null,
29
+ number: null,
30
+ revision: null,
31
+ cash_journal_relevant: null,
32
+ denomination_input: null,
33
+ exclusive: null,
34
+ name: null,
35
+ producer: null,
36
+ requires_serial_number: null,
37
+ revenue_account: null,
38
+ type: null,
39
+ show_transaction_on_customer_display: null
40
+ )
37
41
  ```
38
42
 
39
-
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **account** | [**ModelReference**](ModelReference.md) | | [optional]
8
- **amount** | **Float** | | [optional]
9
- **transactions** | **Float** | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account** | [**ModelReference**](ModelReference.md) | | [optional] |
8
+ | **amount** | **Float** | | [optional] |
9
+ | **transactions** | **Float** | | [optional] |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'KoronaCloudClient'
14
+ require 'korona-cloud-client'
15
15
 
16
- instance = KoronaCloudClient::AccountSummary.new(account: null,
17
- amount: null,
18
- transactions: null)
16
+ instance = KoronaCloudClient::AccountSummary.new(
17
+ account: null,
18
+ amount: null,
19
+ transactions: null
20
+ )
19
21
  ```
20
22
 
21
-
@@ -2,26 +2,29 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **account** | [**ModelReference**](ModelReference.md) | | [optional]
8
- **amount** | **Float** | | [optional]
9
- **booking_time** | **DateTime** | | [optional]
10
- **description** | **String** | | [optional]
11
- **info_texts** | **Array<String>** | | [optional]
12
- **serial_numbers** | **Array<String>** | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account** | [**ModelReference**](ModelReference.md) | | [optional] |
8
+ | **amount** | **Float** | | [optional] |
9
+ | **booking_time** | **Time** | Format: yyyy-MM-dd'T'HH:mm:ssXXX | [optional] |
10
+ | **description** | **String** | | [optional] |
11
+ | **info_texts** | **Array<String>** | | [optional] |
12
+ | **serial_numbers** | **Array<String>** | | [optional] |
13
+ | **external_references** | **Hash<String, String>** | | [optional] |
13
14
 
14
- ## Code Sample
15
+ ## Example
15
16
 
16
17
  ```ruby
17
- require 'KoronaCloudClient'
18
+ require 'korona-cloud-client'
18
19
 
19
- instance = KoronaCloudClient::AccountTransaction.new(account: null,
20
- amount: null,
21
- booking_time: null,
22
- description: null,
23
- info_texts: null,
24
- serial_numbers: null)
20
+ instance = KoronaCloudClient::AccountTransaction.new(
21
+ account: null,
22
+ amount: null,
23
+ booking_time: 2018-11-22T09:40:21+01:00,
24
+ description: null,
25
+ info_texts: null,
26
+ serial_numbers: null,
27
+ external_references: null
28
+ )
25
29
  ```
26
30
 
27
-
data/docs/AccountsApi.md CHANGED
@@ -2,23 +2,240 @@
2
2
 
3
3
  All URIs are relative to *https://www.koronacloud.com/web/api/v3*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_account**](AccountsApi.md#get_account) | **GET** /accounts/{koronaAccountId}/accounts/{accountId} | returns the single account
8
- [**get_accounts**](AccountsApi.md#get_accounts) | **GET** /accounts/{koronaAccountId}/accounts | lists all accounts
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_accounts**](AccountsApi.md#add_accounts) | **POST** /accounts/{koronaAccountId}/accounts | adds a batch of new accounts |
8
+ | [**delete_account**](AccountsApi.md#delete_account) | **DELETE** /accounts/{koronaAccountId}/accounts/{accountId} | deletes the single account |
9
+ | [**delete_accounts**](AccountsApi.md#delete_accounts) | **DELETE** /accounts/{koronaAccountId}/accounts | deletes a batch of accounts |
10
+ | [**get_account**](AccountsApi.md#get_account) | **GET** /accounts/{koronaAccountId}/accounts/{accountId} | returns a single account |
11
+ | [**get_accounts**](AccountsApi.md#get_accounts) | **GET** /accounts/{koronaAccountId}/accounts | lists all accounts |
12
+ | [**update_account**](AccountsApi.md#update_account) | **PATCH** /accounts/{koronaAccountId}/accounts/{accountId} | updates the single account |
13
+ | [**update_accounts**](AccountsApi.md#update_accounts) | **PATCH** /accounts/{koronaAccountId}/accounts | updates a batch of accounts |
9
14
 
10
15
 
16
+ ## add_accounts
17
+
18
+ > <Array<AddOrUpdateResult>> add_accounts(korona_account_id, body, opts)
19
+
20
+ adds a batch of new accounts
21
+
22
+ ### Examples
23
+
24
+ ```ruby
25
+ require 'time'
26
+ require 'korona-cloud-client'
27
+ # setup authorization
28
+ KoronaCloudClient.configure do |config|
29
+ # Configure HTTP basic authorization: basicAuth
30
+ config.username = 'YOUR USERNAME'
31
+ config.password = 'YOUR PASSWORD'
32
+ end
33
+
34
+ api_instance = KoronaCloudClient::AccountsApi.new
35
+ korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
36
+ body = [KoronaCloudClient::Account.new] # Array<Account> | array of new accounts
37
+ opts = {
38
+ upsert: true # Boolean | when set to true, updates the object instead of generating a already-exists-error
39
+ }
40
+
41
+ begin
42
+ # adds a batch of new accounts
43
+ result = api_instance.add_accounts(korona_account_id, body, opts)
44
+ p result
45
+ rescue KoronaCloudClient::ApiError => e
46
+ puts "Error when calling AccountsApi->add_accounts: #{e}"
47
+ end
48
+ ```
49
+
50
+ #### Using the add_accounts_with_http_info variant
51
+
52
+ This returns an Array which contains the response data, status code and headers.
53
+
54
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_accounts_with_http_info(korona_account_id, body, opts)
55
+
56
+ ```ruby
57
+ begin
58
+ # adds a batch of new accounts
59
+ data, status_code, headers = api_instance.add_accounts_with_http_info(korona_account_id, body, opts)
60
+ p status_code # => 2xx
61
+ p headers # => { ... }
62
+ p data # => <Array<AddOrUpdateResult>>
63
+ rescue KoronaCloudClient::ApiError => e
64
+ puts "Error when calling AccountsApi->add_accounts_with_http_info: #{e}"
65
+ end
66
+ ```
67
+
68
+ ### Parameters
69
+
70
+ | Name | Type | Description | Notes |
71
+ | ---- | ---- | ----------- | ----- |
72
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
73
+ | **body** | [**Array&lt;Account&gt;**](Account.md) | array of new accounts | |
74
+ | **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
75
+
76
+ ### Return type
77
+
78
+ [**Array&lt;AddOrUpdateResult&gt;**](AddOrUpdateResult.md)
79
+
80
+ ### Authorization
81
+
82
+ [basicAuth](../README.md#basicAuth)
83
+
84
+ ### HTTP request headers
85
+
86
+ - **Content-Type**: application/json
87
+ - **Accept**: application/json
88
+
89
+
90
+ ## delete_account
91
+
92
+ > delete_account(korona_account_id, account_id)
93
+
94
+ deletes the single account
95
+
96
+ ### Examples
97
+
98
+ ```ruby
99
+ require 'time'
100
+ require 'korona-cloud-client'
101
+ # setup authorization
102
+ KoronaCloudClient.configure do |config|
103
+ # Configure HTTP basic authorization: basicAuth
104
+ config.username = 'YOUR USERNAME'
105
+ config.password = 'YOUR PASSWORD'
106
+ end
107
+
108
+ api_instance = KoronaCloudClient::AccountsApi.new
109
+ korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
110
+ account_id = 'account_id_example' # String | id of the related object (important: id should match the uuid-format)
111
+
112
+ begin
113
+ # deletes the single account
114
+ api_instance.delete_account(korona_account_id, account_id)
115
+ rescue KoronaCloudClient::ApiError => e
116
+ puts "Error when calling AccountsApi->delete_account: #{e}"
117
+ end
118
+ ```
119
+
120
+ #### Using the delete_account_with_http_info variant
121
+
122
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
123
+
124
+ > <Array(nil, Integer, Hash)> delete_account_with_http_info(korona_account_id, account_id)
125
+
126
+ ```ruby
127
+ begin
128
+ # deletes the single account
129
+ data, status_code, headers = api_instance.delete_account_with_http_info(korona_account_id, account_id)
130
+ p status_code # => 2xx
131
+ p headers # => { ... }
132
+ p data # => nil
133
+ rescue KoronaCloudClient::ApiError => e
134
+ puts "Error when calling AccountsApi->delete_account_with_http_info: #{e}"
135
+ end
136
+ ```
137
+
138
+ ### Parameters
139
+
140
+ | Name | Type | Description | Notes |
141
+ | ---- | ---- | ----------- | ----- |
142
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
143
+ | **account_id** | **String** | id of the related object (important: id should match the uuid-format) | |
144
+
145
+ ### Return type
146
+
147
+ nil (empty response body)
148
+
149
+ ### Authorization
150
+
151
+ [basicAuth](../README.md#basicAuth)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
159
+ ## delete_accounts
160
+
161
+ > <Array<AddOrUpdateResult>> delete_accounts(korona_account_id, body)
162
+
163
+ deletes a batch of accounts
164
+
165
+ ### Examples
166
+
167
+ ```ruby
168
+ require 'time'
169
+ require 'korona-cloud-client'
170
+ # setup authorization
171
+ KoronaCloudClient.configure do |config|
172
+ # Configure HTTP basic authorization: basicAuth
173
+ config.username = 'YOUR USERNAME'
174
+ config.password = 'YOUR PASSWORD'
175
+ end
176
+
177
+ api_instance = KoronaCloudClient::AccountsApi.new
178
+ korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
179
+ body = [KoronaCloudClient::Account.new] # Array<Account> | array of existing accounts (id or number required)
180
+
181
+ begin
182
+ # deletes a batch of accounts
183
+ result = api_instance.delete_accounts(korona_account_id, body)
184
+ p result
185
+ rescue KoronaCloudClient::ApiError => e
186
+ puts "Error when calling AccountsApi->delete_accounts: #{e}"
187
+ end
188
+ ```
189
+
190
+ #### Using the delete_accounts_with_http_info variant
191
+
192
+ This returns an Array which contains the response data, status code and headers.
193
+
194
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_accounts_with_http_info(korona_account_id, body)
195
+
196
+ ```ruby
197
+ begin
198
+ # deletes a batch of accounts
199
+ data, status_code, headers = api_instance.delete_accounts_with_http_info(korona_account_id, body)
200
+ p status_code # => 2xx
201
+ p headers # => { ... }
202
+ p data # => <Array<AddOrUpdateResult>>
203
+ rescue KoronaCloudClient::ApiError => e
204
+ puts "Error when calling AccountsApi->delete_accounts_with_http_info: #{e}"
205
+ end
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ | Name | Type | Description | Notes |
211
+ | ---- | ---- | ----------- | ----- |
212
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
213
+ | **body** | [**Array&lt;Account&gt;**](Account.md) | array of existing accounts (id or number required) | |
214
+
215
+ ### Return type
216
+
217
+ [**Array&lt;AddOrUpdateResult&gt;**](AddOrUpdateResult.md)
218
+
219
+ ### Authorization
220
+
221
+ [basicAuth](../README.md#basicAuth)
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: application/json
226
+ - **Accept**: application/json
227
+
11
228
 
12
229
  ## get_account
13
230
 
14
- > Account get_account(korona_account_id, account_id)
231
+ > <Account> get_account(korona_account_id, account_id)
15
232
 
16
- returns the single account
233
+ returns a single account
17
234
 
18
- ### Example
235
+ ### Examples
19
236
 
20
237
  ```ruby
21
- # load the gem
238
+ require 'time'
22
239
  require 'korona-cloud-client'
23
240
  # setup authorization
24
241
  KoronaCloudClient.configure do |config|
@@ -32,21 +249,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
32
249
  account_id = 'account_id_example' # String | id of the related object (important: id should match the uuid-format)
33
250
 
34
251
  begin
35
- #returns the single account
252
+ # returns a single account
36
253
  result = api_instance.get_account(korona_account_id, account_id)
37
254
  p result
38
255
  rescue KoronaCloudClient::ApiError => e
39
- puts "Exception when calling AccountsApi->get_account: #{e}"
256
+ puts "Error when calling AccountsApi->get_account: #{e}"
40
257
  end
41
258
  ```
42
259
 
43
- ### Parameters
260
+ #### Using the get_account_with_http_info variant
261
+
262
+ This returns an Array which contains the response data, status code and headers.
263
+
264
+ > <Array(<Account>, Integer, Hash)> get_account_with_http_info(korona_account_id, account_id)
44
265
 
266
+ ```ruby
267
+ begin
268
+ # returns a single account
269
+ data, status_code, headers = api_instance.get_account_with_http_info(korona_account_id, account_id)
270
+ p status_code # => 2xx
271
+ p headers # => { ... }
272
+ p data # => <Account>
273
+ rescue KoronaCloudClient::ApiError => e
274
+ puts "Error when calling AccountsApi->get_account_with_http_info: #{e}"
275
+ end
276
+ ```
277
+
278
+ ### Parameters
45
279
 
46
- Name | Type | Description | Notes
47
- ------------- | ------------- | ------------- | -------------
48
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
49
- **account_id** | **String**| id of the related object (important: id should match the uuid-format) |
280
+ | Name | Type | Description | Notes |
281
+ | ---- | ---- | ----------- | ----- |
282
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
283
+ | **account_id** | **String** | id of the related object (important: id should match the uuid-format) | |
50
284
 
51
285
  ### Return type
52
286
 
@@ -64,14 +298,14 @@ Name | Type | Description | Notes
64
298
 
65
299
  ## get_accounts
66
300
 
67
- > ResultListAccount get_accounts(korona_account_id, opts)
301
+ > <ResultListAccount> get_accounts(korona_account_id, opts)
68
302
 
69
303
  lists all accounts
70
304
 
71
- ### Example
305
+ ### Examples
72
306
 
73
307
  ```ruby
74
- # load the gem
308
+ require 'time'
75
309
  require 'korona-cloud-client'
76
310
  # setup authorization
77
311
  KoronaCloudClient.configure do |config|
@@ -86,30 +320,47 @@ opts = {
86
320
  page: 56, # Integer | number of the page to fetch
87
321
  size: 56, # Integer | amount of objects to return per page
88
322
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
89
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
323
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
90
324
  include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
91
325
  }
92
326
 
93
327
  begin
94
- #lists all accounts
328
+ # lists all accounts
95
329
  result = api_instance.get_accounts(korona_account_id, opts)
96
330
  p result
97
331
  rescue KoronaCloudClient::ApiError => e
98
- puts "Exception when calling AccountsApi->get_accounts: #{e}"
332
+ puts "Error when calling AccountsApi->get_accounts: #{e}"
99
333
  end
100
334
  ```
101
335
 
102
- ### Parameters
336
+ #### Using the get_accounts_with_http_info variant
337
+
338
+ This returns an Array which contains the response data, status code and headers.
339
+
340
+ > <Array(<ResultListAccount>, Integer, Hash)> get_accounts_with_http_info(korona_account_id, opts)
341
+
342
+ ```ruby
343
+ begin
344
+ # lists all accounts
345
+ data, status_code, headers = api_instance.get_accounts_with_http_info(korona_account_id, opts)
346
+ p status_code # => 2xx
347
+ p headers # => { ... }
348
+ p data # => <ResultListAccount>
349
+ rescue KoronaCloudClient::ApiError => e
350
+ puts "Error when calling AccountsApi->get_accounts_with_http_info: #{e}"
351
+ end
352
+ ```
103
353
 
354
+ ### Parameters
104
355
 
105
- Name | Type | Description | Notes
106
- ------------- | ------------- | ------------- | -------------
107
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
108
- **page** | **Integer**| number of the page to fetch | [optional]
109
- **size** | **Integer**| amount of objects to return per page | [optional]
110
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
111
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
112
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
356
+ | Name | Type | Description | Notes |
357
+ | ---- | ---- | ----------- | ----- |
358
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
359
+ | **page** | **Integer** | number of the page to fetch | [optional] |
360
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
361
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
362
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
363
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
113
364
 
114
365
  ### Return type
115
366
 
@@ -124,3 +375,148 @@ Name | Type | Description | Notes
124
375
  - **Content-Type**: Not defined
125
376
  - **Accept**: application/json
126
377
 
378
+
379
+ ## update_account
380
+
381
+ > update_account(korona_account_id, account_id, body)
382
+
383
+ updates the single account
384
+
385
+ if [number] is set, the number of the object will change and the resource location as well
386
+
387
+ ### Examples
388
+
389
+ ```ruby
390
+ require 'time'
391
+ require 'korona-cloud-client'
392
+ # setup authorization
393
+ KoronaCloudClient.configure do |config|
394
+ # Configure HTTP basic authorization: basicAuth
395
+ config.username = 'YOUR USERNAME'
396
+ config.password = 'YOUR PASSWORD'
397
+ end
398
+
399
+ api_instance = KoronaCloudClient::AccountsApi.new
400
+ korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
401
+ account_id = 'account_id_example' # String | id of the related object (important: id should match the uuid-format)
402
+ body = KoronaCloudClient::Account.new # Account | the properties to update of the account
403
+
404
+ begin
405
+ # updates the single account
406
+ api_instance.update_account(korona_account_id, account_id, body)
407
+ rescue KoronaCloudClient::ApiError => e
408
+ puts "Error when calling AccountsApi->update_account: #{e}"
409
+ end
410
+ ```
411
+
412
+ #### Using the update_account_with_http_info variant
413
+
414
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
415
+
416
+ > <Array(nil, Integer, Hash)> update_account_with_http_info(korona_account_id, account_id, body)
417
+
418
+ ```ruby
419
+ begin
420
+ # updates the single account
421
+ data, status_code, headers = api_instance.update_account_with_http_info(korona_account_id, account_id, body)
422
+ p status_code # => 2xx
423
+ p headers # => { ... }
424
+ p data # => nil
425
+ rescue KoronaCloudClient::ApiError => e
426
+ puts "Error when calling AccountsApi->update_account_with_http_info: #{e}"
427
+ end
428
+ ```
429
+
430
+ ### Parameters
431
+
432
+ | Name | Type | Description | Notes |
433
+ | ---- | ---- | ----------- | ----- |
434
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
435
+ | **account_id** | **String** | id of the related object (important: id should match the uuid-format) | |
436
+ | **body** | [**Account**](Account.md) | the properties to update of the account | |
437
+
438
+ ### Return type
439
+
440
+ nil (empty response body)
441
+
442
+ ### Authorization
443
+
444
+ [basicAuth](../README.md#basicAuth)
445
+
446
+ ### HTTP request headers
447
+
448
+ - **Content-Type**: application/json
449
+ - **Accept**: application/json
450
+
451
+
452
+ ## update_accounts
453
+
454
+ > <Array<AddOrUpdateResult>> update_accounts(korona_account_id, body)
455
+
456
+ updates a batch of accounts
457
+
458
+ [number] must be set in the objects, otherwise the object cannot be updated
459
+
460
+ ### Examples
461
+
462
+ ```ruby
463
+ require 'time'
464
+ require 'korona-cloud-client'
465
+ # setup authorization
466
+ KoronaCloudClient.configure do |config|
467
+ # Configure HTTP basic authorization: basicAuth
468
+ config.username = 'YOUR USERNAME'
469
+ config.password = 'YOUR PASSWORD'
470
+ end
471
+
472
+ api_instance = KoronaCloudClient::AccountsApi.new
473
+ korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
474
+ body = [KoronaCloudClient::Account.new] # Array<Account> | an array of existing accounts
475
+
476
+ begin
477
+ # updates a batch of accounts
478
+ result = api_instance.update_accounts(korona_account_id, body)
479
+ p result
480
+ rescue KoronaCloudClient::ApiError => e
481
+ puts "Error when calling AccountsApi->update_accounts: #{e}"
482
+ end
483
+ ```
484
+
485
+ #### Using the update_accounts_with_http_info variant
486
+
487
+ This returns an Array which contains the response data, status code and headers.
488
+
489
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_accounts_with_http_info(korona_account_id, body)
490
+
491
+ ```ruby
492
+ begin
493
+ # updates a batch of accounts
494
+ data, status_code, headers = api_instance.update_accounts_with_http_info(korona_account_id, body)
495
+ p status_code # => 2xx
496
+ p headers # => { ... }
497
+ p data # => <Array<AddOrUpdateResult>>
498
+ rescue KoronaCloudClient::ApiError => e
499
+ puts "Error when calling AccountsApi->update_accounts_with_http_info: #{e}"
500
+ end
501
+ ```
502
+
503
+ ### Parameters
504
+
505
+ | Name | Type | Description | Notes |
506
+ | ---- | ---- | ----------- | ----- |
507
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
508
+ | **body** | [**Array&lt;Account&gt;**](Account.md) | an array of existing accounts | |
509
+
510
+ ### Return type
511
+
512
+ [**Array&lt;AddOrUpdateResult&gt;**](AddOrUpdateResult.md)
513
+
514
+ ### Authorization
515
+
516
+ [basicAuth](../README.md#basicAuth)
517
+
518
+ ### HTTP request headers
519
+
520
+ - **Content-Type**: application/json
521
+ - **Accept**: application/json
522
+