korona-cloud-client 1.0.3 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (754) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +235 -20
  3. data/docs/Account.md +34 -29
  4. data/docs/AccountSummary.md +12 -11
  5. data/docs/AccountTransaction.md +20 -17
  6. data/docs/AccountsApi.md +426 -30
  7. data/docs/AddOrUpdateResult.md +20 -19
  8. data/docs/AdditionalInfo.md +10 -9
  9. data/docs/AdditionalReceiptInfoType.md +38 -35
  10. data/docs/AdditionalReceiptInfoTypesApi.md +64 -31
  11. data/docs/AddressInformation.md +22 -21
  12. data/docs/Admission.md +10 -9
  13. data/docs/Amount.md +16 -15
  14. data/docs/AmountCountData.md +10 -9
  15. data/docs/Assortment.md +24 -21
  16. data/docs/AssortmentsApi.md +204 -86
  17. data/docs/Attendance.md +28 -25
  18. data/docs/BadRequestError.md +10 -9
  19. data/docs/Capacity.md +10 -9
  20. data/docs/Cashier.md +48 -43
  21. data/docs/CashierRole.md +20 -17
  22. data/docs/CashierRolesApi.md +204 -86
  23. data/docs/CashierSummary.md +18 -17
  24. data/docs/CashierVerificationRequirement.md +38 -0
  25. data/docs/CashierVerificationRequirementApi.md +378 -0
  26. data/docs/CashierVerificationResult.md +28 -0
  27. data/docs/CashiersApi.md +208 -90
  28. data/docs/Category.md +12 -11
  29. data/docs/CloudSubscription.md +10 -9
  30. data/docs/CloudSubscriptionDetails.md +10 -9
  31. data/docs/CommodityGroup.md +22 -17
  32. data/docs/CommodityGroupSummary.md +14 -13
  33. data/docs/CommodityGroupsApi.md +204 -86
  34. data/docs/CompanyIdentification.md +10 -9
  35. data/docs/Coupon.md +20 -0
  36. data/docs/CreationTask.md +28 -27
  37. data/docs/CurrenciesApi.md +149 -65
  38. data/docs/Currency.md +32 -29
  39. data/docs/CurrencyDenomination.md +10 -9
  40. data/docs/CurrencyExchangeRate.md +10 -9
  41. data/docs/Customer.md +54 -47
  42. data/docs/CustomerCard.md +10 -9
  43. data/docs/CustomerData.md +10 -9
  44. data/docs/CustomerDisplayConfiguration.md +52 -0
  45. data/docs/CustomerDisplayConfigurationsApi.md +450 -0
  46. data/docs/CustomerGroup.md +20 -17
  47. data/docs/CustomerGroupSummary.md +14 -13
  48. data/docs/CustomerGroupsApi.md +426 -30
  49. data/docs/CustomerInformation.md +12 -11
  50. data/docs/CustomerOrder.md +46 -43
  51. data/docs/CustomerOrderItem.md +46 -0
  52. data/docs/CustomerOrdersApi.md +192 -83
  53. data/docs/CustomersApi.md +204 -86
  54. data/docs/DateInterval.md +20 -0
  55. data/docs/DayRating.md +26 -25
  56. data/docs/DayTimePeriod.md +10 -9
  57. data/docs/DeliveryNote.md +40 -37
  58. data/docs/DeliveryNoteItem.md +22 -21
  59. data/docs/DeliveryNotesApi.md +157 -73
  60. data/docs/Deposit.md +16 -15
  61. data/docs/DeviceConfiguration.md +34 -0
  62. data/docs/DeviceConfigurationVariable.md +28 -0
  63. data/docs/DeviceConfigurationVariableValue.md +20 -0
  64. data/docs/DeviceConfigurationVariablesApi.md +448 -0
  65. data/docs/DeviceInformation.md +10 -9
  66. data/docs/DeviceParameterItem.md +22 -0
  67. data/docs/Discount.md +16 -11
  68. data/docs/EconomicZone.md +18 -15
  69. data/docs/EconomicZonesApi.md +149 -65
  70. data/docs/EndOfDayStatement.md +26 -23
  71. data/docs/EndOfDayStatementSummary.md +18 -17
  72. data/docs/EntryGate.md +22 -19
  73. data/docs/Event.md +32 -29
  74. data/docs/ExternalSystemCall.md +36 -31
  75. data/docs/ExternalSystemCallsApi.md +204 -86
  76. data/docs/FiscalTransaction.md +34 -33
  77. data/docs/FiscalUnit.md +46 -41
  78. data/docs/FiscalUnitCertificateInfo.md +10 -9
  79. data/docs/FiscalUnitPreConfiguration.md +28 -0
  80. data/docs/FiscalUnitState.md +18 -17
  81. data/docs/FiscalUnitStateUsageLevel.md +14 -13
  82. data/docs/FiscalUnitStateUsageLevelValue.md +10 -9
  83. data/docs/FiscalUnitStateVersionInfo.md +12 -11
  84. data/docs/FiscalUnitsApi.md +152 -68
  85. data/docs/ForbiddenError.md +10 -9
  86. data/docs/GeoLocation.md +10 -9
  87. data/docs/ImagesApi.md +29 -13
  88. data/docs/InfoText.md +22 -17
  89. data/docs/InfoTextsApi.md +149 -65
  90. data/docs/Interval.md +10 -9
  91. data/docs/InventoriesApi.md +526 -217
  92. data/docs/Inventory.md +46 -43
  93. data/docs/InventoryList.md +40 -35
  94. data/docs/InventoryListItem.md +18 -17
  95. data/docs/InventoryListItemStock.md +10 -9
  96. data/docs/KoronaAccount.md +30 -27
  97. data/docs/KoronaAccountApi.md +29 -13
  98. data/docs/MediaUrl.md +8 -7
  99. data/docs/MethodNotAllowedError.md +10 -9
  100. data/docs/ModelReference.md +12 -11
  101. data/docs/NotFoundError.md +10 -9
  102. data/docs/OpeningHours.md +12 -11
  103. data/docs/OrganizationalUnit.md +36 -33
  104. data/docs/OrganizationalUnitsApi.md +721 -174
  105. data/docs/Payment.md +22 -15
  106. data/docs/PaymentMethod.md +40 -33
  107. data/docs/PaymentMethodsApi.md +426 -30
  108. data/docs/PaymentServiceConfiguration.md +26 -0
  109. data/docs/PaymentSummary.md +12 -11
  110. data/docs/PaymentTerminalReceipt.md +20 -0
  111. data/docs/Period.md +12 -11
  112. data/docs/PeriodListTopSeller.md +12 -11
  113. data/docs/PeriodMapStringRevenueData.md +12 -11
  114. data/docs/PeriodObject.md +12 -11
  115. data/docs/PeriodRevenueData.md +12 -11
  116. data/docs/PointsOfSaleApi.md +505 -135
  117. data/docs/Pos.md +78 -51
  118. data/docs/PosBalance.md +46 -0
  119. data/docs/PosBalanceItem.md +26 -0
  120. data/docs/PosBalanceSummary.md +22 -0
  121. data/docs/PosBalanceSummaryChangeset.md +26 -0
  122. data/docs/PosBalanceTotal.md +20 -0
  123. data/docs/PosButton.md +32 -0
  124. data/docs/PosButtonFunction.md +38 -0
  125. data/docs/PosButtonLayout.md +32 -0
  126. data/docs/PosButtonLayoutsApi.md +524 -0
  127. data/docs/PosPageLayout.md +26 -0
  128. data/docs/PosPageLayoutConfiguration.md +34 -0
  129. data/docs/PosPageLayoutConfigurationsApi.md +524 -0
  130. data/docs/PosProfile.md +100 -0
  131. data/docs/PosProfilesApi.md +524 -0
  132. data/docs/PrepaidCard.md +20 -0
  133. data/docs/PriceGroup.md +22 -19
  134. data/docs/PriceGroupsApi.md +149 -65
  135. data/docs/PriceRule.md +40 -0
  136. data/docs/PriceRuleCalculation.md +20 -0
  137. data/docs/PriceRuleCondition.md +30 -0
  138. data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
  139. data/docs/PriceRuleValidityPeriod.md +22 -0
  140. data/docs/PriceRulesApi.md +520 -0
  141. data/docs/Product.md +100 -93
  142. data/docs/ProductCode.md +12 -11
  143. data/docs/ProductDescription.md +12 -11
  144. data/docs/ProductPrice.md +16 -15
  145. data/docs/ProductSpecialPrice.md +22 -0
  146. data/docs/ProductStock.md +16 -15
  147. data/docs/ProductSubproduct.md +16 -11
  148. data/docs/ProductSupplierPrice.md +16 -15
  149. data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
  150. data/docs/ProductTransferInvolvedPartyInformationData.md +12 -11
  151. data/docs/ProductionType.md +26 -23
  152. data/docs/ProductionTypesApi.md +149 -65
  153. data/docs/ProductsApi.md +255 -110
  154. data/docs/Promotion.md +46 -0
  155. data/docs/PromotionBenefit.md +26 -0
  156. data/docs/PromotionBenefitCommonDiscount.md +32 -0
  157. data/docs/PromotionBenefitExtendedDiscount.md +20 -0
  158. data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +24 -0
  159. data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
  160. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
  161. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
  162. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
  163. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
  164. data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +28 -0
  165. data/docs/PromotionBenefitReduceProductAmount.md +20 -0
  166. data/docs/PromotionBonuspoint.md +20 -0
  167. data/docs/PromotionBonuspointCreation.md +24 -0
  168. data/docs/PromotionBonuspointRedemption.md +24 -0
  169. data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
  170. data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
  171. data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
  172. data/docs/PromotionCoupon.md +24 -0
  173. data/docs/PromotionCouponValidity.md +22 -0
  174. data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
  175. data/docs/PromotionLayer.md +20 -0
  176. data/docs/PromotionStamp.md +22 -0
  177. data/docs/PromotionTrigger.md +32 -0
  178. data/docs/PromotionTriggerProductAmountCondition.md +22 -0
  179. data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
  180. data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
  181. data/docs/PromotionTriggerTagAmountCondition.md +22 -0
  182. data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
  183. data/docs/PromotionValidity.md +26 -0
  184. data/docs/PromotionsApi.md +520 -0
  185. data/docs/Rating.md +12 -11
  186. data/docs/Receipt.md +80 -65
  187. data/docs/ReceiptItem.md +48 -33
  188. data/docs/ReceiptLayoutConfiguration.md +58 -0
  189. data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
  190. data/docs/ReceiptMaxRevisions.md +18 -17
  191. data/docs/ReceiptRevenue.md +20 -0
  192. data/docs/ReceiptTotal.md +22 -0
  193. data/docs/ReceiptsApi.md +79 -46
  194. data/docs/ResultList.md +18 -17
  195. data/docs/ResultListAccount.md +18 -17
  196. data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
  197. data/docs/ResultListAssortment.md +18 -17
  198. data/docs/ResultListAttendance.md +18 -17
  199. data/docs/ResultListCashier.md +18 -17
  200. data/docs/ResultListCashierRole.md +18 -17
  201. data/docs/ResultListCashierVerificationRequirement.md +28 -0
  202. data/docs/ResultListCommodityGroup.md +18 -17
  203. data/docs/ResultListCreationTask.md +18 -17
  204. data/docs/ResultListCurrency.md +18 -17
  205. data/docs/ResultListCustomer.md +18 -17
  206. data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
  207. data/docs/ResultListCustomerGroup.md +18 -17
  208. data/docs/ResultListCustomerOrder.md +18 -17
  209. data/docs/ResultListDayRating.md +18 -17
  210. data/docs/ResultListDeliveryNote.md +18 -17
  211. data/docs/ResultListDeviceConfigurationVariable.md +28 -0
  212. data/docs/ResultListEconomicZone.md +18 -17
  213. data/docs/ResultListEndOfDayStatement.md +18 -17
  214. data/docs/ResultListEntryGate.md +18 -17
  215. data/docs/ResultListEvent.md +18 -17
  216. data/docs/ResultListExternalSystemCall.md +18 -17
  217. data/docs/ResultListFiscalUnit.md +18 -17
  218. data/docs/ResultListInfoText.md +18 -17
  219. data/docs/ResultListInventory.md +18 -17
  220. data/docs/ResultListInventoryList.md +18 -17
  221. data/docs/ResultListInventoryListItem.md +18 -17
  222. data/docs/ResultListOrganizationalUnit.md +18 -17
  223. data/docs/ResultListPaymentMethod.md +18 -17
  224. data/docs/ResultListPos.md +18 -17
  225. data/docs/ResultListPosBalance.md +28 -0
  226. data/docs/ResultListPosButtonLayout.md +28 -0
  227. data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
  228. data/docs/ResultListPosProfile.md +28 -0
  229. data/docs/ResultListPriceGroup.md +18 -17
  230. data/docs/ResultListPriceRule.md +28 -0
  231. data/docs/ResultListProduct.md +18 -17
  232. data/docs/ResultListProductStock.md +18 -17
  233. data/docs/ResultListProductionType.md +18 -17
  234. data/docs/ResultListPromotion.md +28 -0
  235. data/docs/ResultListReceipt.md +18 -17
  236. data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
  237. data/docs/ResultListSalesTax.md +18 -17
  238. data/docs/ResultListSector.md +18 -17
  239. data/docs/ResultListSpecialPriceConfiguration.md +28 -0
  240. data/docs/ResultListStockAdjustment.md +28 -0
  241. data/docs/ResultListStockAdjustmentItem.md +28 -0
  242. data/docs/ResultListStockOrder.md +18 -17
  243. data/docs/ResultListStockOrderItem.md +28 -0
  244. data/docs/ResultListStockReceipt.md +18 -17
  245. data/docs/ResultListStockReceiptItem.md +18 -17
  246. data/docs/ResultListStoreOrder.md +28 -0
  247. data/docs/ResultListStoreOrderItem.md +28 -0
  248. data/docs/ResultListSupplier.md +18 -17
  249. data/docs/ResultListTag.md +18 -17
  250. data/docs/ResultListTicket.md +18 -17
  251. data/docs/ResultListTicketDefinition.md +18 -17
  252. data/docs/ResultListTimeTrackingEntity.md +18 -17
  253. data/docs/ResultListTimeTrackingEntry.md +18 -17
  254. data/docs/ResultListUserRole.md +28 -0
  255. data/docs/RevenueData.md +16 -15
  256. data/docs/SalesTax.md +26 -23
  257. data/docs/SalesTaxRate.md +10 -9
  258. data/docs/SalesTaxesApi.md +149 -65
  259. data/docs/Sector.md +22 -19
  260. data/docs/SectorRevenueAccountItem.md +10 -9
  261. data/docs/SectorSalesTaxItem.md +10 -9
  262. data/docs/SectorsApi.md +149 -65
  263. data/docs/Service.md +10 -9
  264. data/docs/Signature.md +12 -11
  265. data/docs/SpecialPrice.md +22 -0
  266. data/docs/SpecialPriceConfiguration.md +34 -0
  267. data/docs/SpecialPriceConfigurationsApi.md +449 -0
  268. data/docs/Statistic.md +12 -11
  269. data/docs/StatisticListTopSeller.md +12 -11
  270. data/docs/StatisticMapStringRevenueData.md +12 -11
  271. data/docs/StatisticRevenueData.md +12 -11
  272. data/docs/StatisticsApi.md +123 -56
  273. data/docs/StockAdjustment.md +46 -0
  274. data/docs/StockAdjustmentItem.md +24 -0
  275. data/docs/StockAdjustmentItemReason.md +20 -0
  276. data/docs/StockAdjustmentsApi.md +834 -0
  277. data/docs/StockOrder.md +68 -63
  278. data/docs/StockOrderItem.md +30 -29
  279. data/docs/StockOrdersApi.md +263 -54
  280. data/docs/StockReceipt.md +56 -53
  281. data/docs/StockReceiptItem.md +20 -19
  282. data/docs/StockReceiptItemAmount.md +10 -9
  283. data/docs/StockReceiptItemIdentification.md +12 -11
  284. data/docs/StockReceiptItemPurchasePrice.md +10 -9
  285. data/docs/StockReceiptsApi.md +336 -150
  286. data/docs/StoreOrder.md +44 -0
  287. data/docs/StoreOrderItem.md +24 -0
  288. data/docs/StoreOrdersApi.md +836 -0
  289. data/docs/Supplier.md +34 -29
  290. data/docs/SupplierContact.md +14 -13
  291. data/docs/SupplierContactPerson.md +20 -19
  292. data/docs/SupplierPaymentInformation.md +24 -23
  293. data/docs/SuppliersApi.md +149 -65
  294. data/docs/Tag.md +18 -15
  295. data/docs/TagsApi.md +203 -85
  296. data/docs/TaxPayment.md +14 -13
  297. data/docs/TaxSummary.md +12 -11
  298. data/docs/TerminalReceiptPrintLine.md +20 -0
  299. data/docs/Ticket.md +20 -19
  300. data/docs/TicketCreationApi.md +63 -30
  301. data/docs/TicketData.md +28 -27
  302. data/docs/TicketDefinition.md +40 -29
  303. data/docs/TicketPersonalization.md +14 -13
  304. data/docs/TicketingApi.md +739 -311
  305. data/docs/TimeOfDayInterval.md +20 -0
  306. data/docs/TimePeriod.md +20 -19
  307. data/docs/TimeTrackingApi.md +190 -89
  308. data/docs/TimeTrackingEntity.md +20 -17
  309. data/docs/TimeTrackingEntry.md +20 -19
  310. data/docs/TooManyRequestsError.md +10 -9
  311. data/docs/TopSeller.md +16 -15
  312. data/docs/TotalPeriod.md +10 -9
  313. data/docs/TotalPrice.md +16 -15
  314. data/docs/UserRole.md +30 -0
  315. data/docs/UserRolesApi.md +518 -0
  316. data/docs/Validity.md +14 -13
  317. data/docs/VoidedReceiptItem.md +16 -15
  318. data/docs/VoucherTransaction.md +36 -0
  319. data/docs/Weather.md +12 -11
  320. data/korona-cloud-client.gemspec +3 -4
  321. data/lib/korona-cloud-client/api/accounts_api.rb +368 -10
  322. data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +10 -8
  323. data/lib/korona-cloud-client/api/assortments_api.rb +30 -23
  324. data/lib/korona-cloud-client/api/cashier_roles_api.rb +30 -23
  325. data/lib/korona-cloud-client/api/cashier_verification_requirement_api.rb +378 -0
  326. data/lib/korona-cloud-client/api/cashiers_api.rb +30 -23
  327. data/lib/korona-cloud-client/api/commodity_groups_api.rb +30 -23
  328. data/lib/korona-cloud-client/api/currencies_api.rb +22 -17
  329. data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +447 -0
  330. data/lib/korona-cloud-client/api/customer_groups_api.rb +366 -8
  331. data/lib/korona-cloud-client/api/customer_orders_api.rb +46 -28
  332. data/lib/korona-cloud-client/api/customers_api.rb +30 -23
  333. data/lib/korona-cloud-client/api/delivery_notes_api.rb +30 -25
  334. data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +445 -0
  335. data/lib/korona-cloud-client/api/economic_zones_api.rb +22 -17
  336. data/lib/korona-cloud-client/api/external_system_calls_api.rb +30 -23
  337. data/lib/korona-cloud-client/api/fiscal_units_api.rb +22 -17
  338. data/lib/korona-cloud-client/api/images_api.rb +6 -5
  339. data/lib/korona-cloud-client/api/info_texts_api.rb +22 -17
  340. data/lib/korona-cloud-client/api/inventories_api.rb +217 -130
  341. data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
  342. data/lib/korona-cloud-client/api/organizational_units_api.rb +416 -51
  343. data/lib/korona-cloud-client/api/payment_methods_api.rb +366 -8
  344. data/lib/korona-cloud-client/api/points_of_sale_api.rb +277 -40
  345. data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +524 -0
  346. data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +524 -0
  347. data/lib/korona-cloud-client/api/pos_profiles_api.rb +524 -0
  348. data/lib/korona-cloud-client/api/price_groups_api.rb +22 -17
  349. data/lib/korona-cloud-client/api/price_rules_api.rb +520 -0
  350. data/lib/korona-cloud-client/api/production_types_api.rb +22 -17
  351. data/lib/korona-cloud-client/api/products_api.rb +43 -26
  352. data/lib/korona-cloud-client/api/promotions_api.rb +520 -0
  353. data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +524 -0
  354. data/lib/korona-cloud-client/api/receipts_api.rb +22 -20
  355. data/lib/korona-cloud-client/api/sales_taxes_api.rb +22 -17
  356. data/lib/korona-cloud-client/api/sectors_api.rb +22 -17
  357. data/lib/korona-cloud-client/api/special_price_configurations_api.rb +445 -0
  358. data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
  359. data/lib/korona-cloud-client/api/stock_adjustments_api.rb +860 -0
  360. data/lib/korona-cloud-client/api/stock_orders_api.rb +177 -19
  361. data/lib/korona-cloud-client/api/stock_receipts_api.rb +54 -43
  362. data/lib/korona-cloud-client/api/store_orders_api.rb +860 -0
  363. data/lib/korona-cloud-client/api/suppliers_api.rb +22 -17
  364. data/lib/korona-cloud-client/api/tags_api.rb +30 -23
  365. data/lib/korona-cloud-client/api/ticket_creation_api.rb +14 -12
  366. data/lib/korona-cloud-client/api/ticketing_api.rb +112 -81
  367. data/lib/korona-cloud-client/api/time_tracking_api.rb +30 -24
  368. data/lib/korona-cloud-client/api/user_roles_api.rb +517 -0
  369. data/lib/korona-cloud-client/api_client.rb +51 -47
  370. data/lib/korona-cloud-client/api_error.rb +2 -2
  371. data/lib/korona-cloud-client/configuration.rb +39 -10
  372. data/lib/korona-cloud-client/models/account.rb +42 -12
  373. data/lib/korona-cloud-client/models/account_summary.rb +20 -8
  374. data/lib/korona-cloud-client/models/account_transaction.rb +43 -13
  375. data/lib/korona-cloud-client/models/add_or_update_result.rb +20 -8
  376. data/lib/korona-cloud-client/models/additional_info.rb +20 -8
  377. data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +51 -12
  378. data/lib/korona-cloud-client/models/address_information.rb +20 -8
  379. data/lib/korona-cloud-client/models/admission.rb +20 -8
  380. data/lib/korona-cloud-client/models/amount.rb +20 -8
  381. data/lib/korona-cloud-client/models/amount_count_data.rb +20 -8
  382. data/lib/korona-cloud-client/models/assortment.rb +35 -13
  383. data/lib/korona-cloud-client/models/attendance.rb +37 -14
  384. data/lib/korona-cloud-client/models/bad_request_error.rb +22 -10
  385. data/lib/korona-cloud-client/models/capacity.rb +20 -8
  386. data/lib/korona-cloud-client/models/cashier.rb +52 -12
  387. data/lib/korona-cloud-client/models/cashier_role.rb +33 -12
  388. data/lib/korona-cloud-client/models/cashier_summary.rb +20 -8
  389. data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +354 -0
  390. data/lib/korona-cloud-client/models/cashier_verification_result.rb +299 -0
  391. data/lib/korona-cloud-client/models/category.rb +20 -8
  392. data/lib/korona-cloud-client/models/cloud_subscription.rb +21 -9
  393. data/lib/korona-cloud-client/models/cloud_subscription_details.rb +22 -10
  394. data/lib/korona-cloud-client/models/commodity_group.rb +42 -12
  395. data/lib/korona-cloud-client/models/commodity_group_summary.rb +20 -8
  396. data/lib/korona-cloud-client/models/company_identification.rb +20 -8
  397. data/lib/korona-cloud-client/models/coupon.rb +227 -0
  398. data/lib/korona-cloud-client/models/creation_task.rb +22 -9
  399. data/lib/korona-cloud-client/models/currency.rb +33 -12
  400. data/lib/korona-cloud-client/models/currency_denomination.rb +20 -8
  401. data/lib/korona-cloud-client/models/currency_exchange_rate.rb +22 -9
  402. data/lib/korona-cloud-client/models/customer.rb +61 -13
  403. data/lib/korona-cloud-client/models/customer_card.rb +20 -8
  404. data/lib/korona-cloud-client/models/customer_data.rb +20 -8
  405. data/lib/korona-cloud-client/models/customer_display_configuration.rb +433 -0
  406. data/lib/korona-cloud-client/models/customer_group.rb +33 -12
  407. data/lib/korona-cloud-client/models/customer_group_summary.rb +20 -8
  408. data/lib/korona-cloud-client/models/customer_information.rb +22 -9
  409. data/lib/korona-cloud-client/models/customer_order.rb +43 -17
  410. data/lib/korona-cloud-client/models/customer_order_item.rb +358 -0
  411. data/lib/korona-cloud-client/models/date_interval.rb +229 -0
  412. data/lib/korona-cloud-client/models/day_rating.rb +22 -9
  413. data/lib/korona-cloud-client/models/day_time_period.rb +20 -8
  414. data/lib/korona-cloud-client/models/delivery_note.rb +37 -14
  415. data/lib/korona-cloud-client/models/delivery_note_item.rb +20 -8
  416. data/lib/korona-cloud-client/models/deposit.rb +22 -9
  417. data/lib/korona-cloud-client/models/device_configuration.rb +356 -0
  418. data/lib/korona-cloud-client/models/device_configuration_variable.rb +267 -0
  419. data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +227 -0
  420. data/lib/korona-cloud-client/models/device_information.rb +22 -8
  421. data/lib/korona-cloud-client/models/device_parameter_item.rb +236 -0
  422. data/lib/korona-cloud-client/models/discount.rb +50 -18
  423. data/lib/korona-cloud-client/models/economic_zone.rb +33 -12
  424. data/lib/korona-cloud-client/models/end_of_day_statement.rb +35 -13
  425. data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +56 -8
  426. data/lib/korona-cloud-client/models/entry_gate.rb +33 -12
  427. data/lib/korona-cloud-client/models/event.rb +47 -13
  428. data/lib/korona-cloud-client/models/external_system_call.rb +42 -12
  429. data/lib/korona-cloud-client/models/fiscal_transaction.rb +26 -11
  430. data/lib/korona-cloud-client/models/fiscal_unit.rb +43 -13
  431. data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +23 -10
  432. data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +263 -0
  433. data/lib/korona-cloud-client/models/fiscal_unit_state.rb +20 -8
  434. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +20 -8
  435. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +20 -8
  436. data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +20 -8
  437. data/lib/korona-cloud-client/models/forbidden_error.rb +20 -8
  438. data/lib/korona-cloud-client/models/geo_location.rb +20 -8
  439. data/lib/korona-cloud-client/models/info_text.rb +42 -12
  440. data/lib/korona-cloud-client/models/interval.rb +24 -10
  441. data/lib/korona-cloud-client/models/inventory.rb +43 -14
  442. data/lib/korona-cloud-client/models/inventory_list.rb +50 -16
  443. data/lib/korona-cloud-client/models/inventory_list_item.rb +20 -8
  444. data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +20 -8
  445. data/lib/korona-cloud-client/models/korona_account.rb +39 -12
  446. data/lib/korona-cloud-client/models/media_url.rb +20 -8
  447. data/lib/korona-cloud-client/models/method_not_allowed_error.rb +20 -8
  448. data/lib/korona-cloud-client/models/model_reference.rb +20 -8
  449. data/lib/korona-cloud-client/models/not_found_error.rb +20 -8
  450. data/lib/korona-cloud-client/models/opening_hours.rb +22 -8
  451. data/lib/korona-cloud-client/models/organizational_unit.rb +39 -12
  452. data/lib/korona-cloud-client/models/payment.rb +57 -13
  453. data/lib/korona-cloud-client/models/payment_method.rb +51 -12
  454. data/lib/korona-cloud-client/models/payment_service_configuration.rb +288 -0
  455. data/lib/korona-cloud-client/models/payment_summary.rb +20 -8
  456. data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +263 -0
  457. data/lib/korona-cloud-client/models/period.rb +24 -10
  458. data/lib/korona-cloud-client/models/period_list_top_seller.rb +24 -10
  459. data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +24 -10
  460. data/lib/korona-cloud-client/models/period_object.rb +24 -10
  461. data/lib/korona-cloud-client/models/period_revenue_data.rb +24 -10
  462. data/lib/korona-cloud-client/models/pos.rb +186 -12
  463. data/lib/korona-cloud-client/models/pos_balance.rb +374 -0
  464. data/lib/korona-cloud-client/models/pos_balance_item.rb +288 -0
  465. data/lib/korona-cloud-client/models/pos_balance_summary.rb +236 -0
  466. data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +255 -0
  467. data/lib/korona-cloud-client/models/pos_balance_total.rb +227 -0
  468. data/lib/korona-cloud-client/models/pos_button.rb +329 -0
  469. data/lib/korona-cloud-client/models/pos_button_function.rb +366 -0
  470. data/lib/korona-cloud-client/models/pos_button_layout.rb +327 -0
  471. data/lib/korona-cloud-client/models/pos_page_layout.rb +288 -0
  472. data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +302 -0
  473. data/lib/korona-cloud-client/models/pos_profile.rb +667 -0
  474. data/lib/korona-cloud-client/models/prepaid_card.rb +227 -0
  475. data/lib/korona-cloud-client/models/price_group.rb +33 -12
  476. data/lib/korona-cloud-client/models/price_rule.rb +321 -0
  477. data/lib/korona-cloud-client/models/price_rule_calculation.rb +261 -0
  478. data/lib/korona-cloud-client/models/price_rule_condition.rb +306 -0
  479. data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +261 -0
  480. data/lib/korona-cloud-client/models/price_rule_validity_period.rb +236 -0
  481. data/lib/korona-cloud-client/models/product.rb +65 -15
  482. data/lib/korona-cloud-client/models/product_code.rb +20 -8
  483. data/lib/korona-cloud-client/models/product_description.rb +20 -8
  484. data/lib/korona-cloud-client/models/product_price.rb +24 -9
  485. data/lib/korona-cloud-client/models/product_special_price.rb +237 -0
  486. data/lib/korona-cloud-client/models/product_stock.rb +20 -8
  487. data/lib/korona-cloud-client/models/product_subproduct.rb +76 -12
  488. data/lib/korona-cloud-client/models/product_supplier_price.rb +20 -8
  489. data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +20 -8
  490. data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +20 -8
  491. data/lib/korona-cloud-client/models/production_type.rb +35 -14
  492. data/lib/korona-cloud-client/models/promotion.rb +392 -0
  493. data/lib/korona-cloud-client/models/promotion_benefit.rb +288 -0
  494. data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +351 -0
  495. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +229 -0
  496. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +291 -0
  497. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +279 -0
  498. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +261 -0
  499. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +247 -0
  500. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +227 -0
  501. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +227 -0
  502. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +297 -0
  503. data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +227 -0
  504. data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +227 -0
  505. data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +279 -0
  506. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +279 -0
  507. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +227 -0
  508. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +227 -0
  509. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +227 -0
  510. data/lib/korona-cloud-client/models/promotion_coupon.rb +287 -0
  511. data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +270 -0
  512. data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +227 -0
  513. data/lib/korona-cloud-client/models/promotion_layer.rb +227 -0
  514. data/lib/korona-cloud-client/models/promotion_stamp.rb +270 -0
  515. data/lib/korona-cloud-client/models/promotion_trigger.rb +298 -0
  516. data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +270 -0
  517. data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +261 -0
  518. data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +261 -0
  519. data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +270 -0
  520. data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +270 -0
  521. data/lib/korona-cloud-client/models/promotion_validity.rb +294 -0
  522. data/lib/korona-cloud-client/models/rating.rb +20 -8
  523. data/lib/korona-cloud-client/models/receipt.rb +115 -14
  524. data/lib/korona-cloud-client/models/receipt_item.rb +158 -37
  525. data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +436 -0
  526. data/lib/korona-cloud-client/models/receipt_max_revisions.rb +20 -8
  527. data/lib/korona-cloud-client/models/receipt_revenue.rb +227 -0
  528. data/lib/korona-cloud-client/models/receipt_total.rb +236 -0
  529. data/lib/korona-cloud-client/models/result_list.rb +20 -8
  530. data/lib/korona-cloud-client/models/result_list_account.rb +20 -8
  531. data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +20 -8
  532. data/lib/korona-cloud-client/models/result_list_assortment.rb +20 -8
  533. data/lib/korona-cloud-client/models/result_list_attendance.rb +20 -8
  534. data/lib/korona-cloud-client/models/result_list_cashier.rb +20 -8
  535. data/lib/korona-cloud-client/models/result_list_cashier_role.rb +20 -8
  536. data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +303 -0
  537. data/lib/korona-cloud-client/models/result_list_commodity_group.rb +20 -8
  538. data/lib/korona-cloud-client/models/result_list_creation_task.rb +20 -8
  539. data/lib/korona-cloud-client/models/result_list_currency.rb +20 -8
  540. data/lib/korona-cloud-client/models/result_list_customer.rb +20 -8
  541. data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +303 -0
  542. data/lib/korona-cloud-client/models/result_list_customer_group.rb +20 -8
  543. data/lib/korona-cloud-client/models/result_list_customer_order.rb +20 -8
  544. data/lib/korona-cloud-client/models/result_list_day_rating.rb +20 -8
  545. data/lib/korona-cloud-client/models/result_list_delivery_note.rb +20 -8
  546. data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +303 -0
  547. data/lib/korona-cloud-client/models/result_list_economic_zone.rb +20 -8
  548. data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +20 -8
  549. data/lib/korona-cloud-client/models/result_list_entry_gate.rb +20 -8
  550. data/lib/korona-cloud-client/models/result_list_event.rb +20 -8
  551. data/lib/korona-cloud-client/models/result_list_external_system_call.rb +20 -8
  552. data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +20 -8
  553. data/lib/korona-cloud-client/models/result_list_info_text.rb +20 -8
  554. data/lib/korona-cloud-client/models/result_list_inventory.rb +20 -8
  555. data/lib/korona-cloud-client/models/result_list_inventory_list.rb +20 -8
  556. data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +20 -8
  557. data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +20 -8
  558. data/lib/korona-cloud-client/models/result_list_payment_method.rb +20 -8
  559. data/lib/korona-cloud-client/models/result_list_pos.rb +20 -8
  560. data/lib/korona-cloud-client/models/result_list_pos_balance.rb +303 -0
  561. data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +303 -0
  562. data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +303 -0
  563. data/lib/korona-cloud-client/models/result_list_pos_profile.rb +303 -0
  564. data/lib/korona-cloud-client/models/result_list_price_group.rb +20 -8
  565. data/lib/korona-cloud-client/models/result_list_price_rule.rb +303 -0
  566. data/lib/korona-cloud-client/models/result_list_product.rb +20 -8
  567. data/lib/korona-cloud-client/models/result_list_product_stock.rb +20 -8
  568. data/lib/korona-cloud-client/models/result_list_production_type.rb +20 -8
  569. data/lib/korona-cloud-client/models/result_list_promotion.rb +303 -0
  570. data/lib/korona-cloud-client/models/result_list_receipt.rb +20 -8
  571. data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +303 -0
  572. data/lib/korona-cloud-client/models/result_list_sales_tax.rb +20 -8
  573. data/lib/korona-cloud-client/models/result_list_sector.rb +20 -8
  574. data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +303 -0
  575. data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +303 -0
  576. data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +303 -0
  577. data/lib/korona-cloud-client/models/result_list_stock_order.rb +20 -8
  578. data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +303 -0
  579. data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +20 -8
  580. data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +20 -8
  581. data/lib/korona-cloud-client/models/result_list_store_order.rb +303 -0
  582. data/lib/korona-cloud-client/models/result_list_store_order_item.rb +303 -0
  583. data/lib/korona-cloud-client/models/result_list_supplier.rb +20 -8
  584. data/lib/korona-cloud-client/models/result_list_tag.rb +20 -8
  585. data/lib/korona-cloud-client/models/result_list_ticket.rb +20 -8
  586. data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +20 -8
  587. data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +20 -8
  588. data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +20 -8
  589. data/lib/korona-cloud-client/models/result_list_user_role.rb +303 -0
  590. data/lib/korona-cloud-client/models/revenue_data.rb +20 -8
  591. data/lib/korona-cloud-client/models/sales_tax.rb +33 -12
  592. data/lib/korona-cloud-client/models/sales_tax_rate.rb +22 -9
  593. data/lib/korona-cloud-client/models/sector.rb +33 -12
  594. data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +20 -8
  595. data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +20 -8
  596. data/lib/korona-cloud-client/models/service.rb +20 -8
  597. data/lib/korona-cloud-client/models/signature.rb +22 -9
  598. data/lib/korona-cloud-client/models/special_price.rb +237 -0
  599. data/lib/korona-cloud-client/models/special_price_configuration.rb +304 -0
  600. data/lib/korona-cloud-client/models/statistic.rb +20 -8
  601. data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +20 -8
  602. data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +20 -8
  603. data/lib/korona-cloud-client/models/statistic_revenue_data.rb +20 -8
  604. data/lib/korona-cloud-client/models/stock_adjustment.rb +384 -0
  605. data/lib/korona-cloud-client/models/stock_adjustment_item.rb +245 -0
  606. data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +261 -0
  607. data/lib/korona-cloud-client/models/stock_order.rb +135 -100
  608. data/lib/korona-cloud-client/models/stock_order_item.rb +22 -9
  609. data/lib/korona-cloud-client/models/stock_receipt.rb +39 -15
  610. data/lib/korona-cloud-client/models/stock_receipt_item.rb +22 -9
  611. data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +20 -8
  612. data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +20 -8
  613. data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +20 -8
  614. data/lib/korona-cloud-client/models/store_order.rb +342 -0
  615. data/lib/korona-cloud-client/models/store_order_item.rb +245 -0
  616. data/lib/korona-cloud-client/models/supplier.rb +42 -12
  617. data/lib/korona-cloud-client/models/supplier_contact.rb +20 -8
  618. data/lib/korona-cloud-client/models/supplier_contact_person.rb +20 -8
  619. data/lib/korona-cloud-client/models/supplier_payment_information.rb +20 -8
  620. data/lib/korona-cloud-client/models/tag.rb +33 -12
  621. data/lib/korona-cloud-client/models/tax_payment.rb +20 -8
  622. data/lib/korona-cloud-client/models/tax_summary.rb +20 -8
  623. data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +261 -0
  624. data/lib/korona-cloud-client/models/ticket.rb +24 -10
  625. data/lib/korona-cloud-client/models/ticket_data.rb +26 -10
  626. data/lib/korona-cloud-client/models/ticket_definition.rb +75 -12
  627. data/lib/korona-cloud-client/models/ticket_personalization.rb +20 -8
  628. data/lib/korona-cloud-client/models/time_of_day_interval.rb +229 -0
  629. data/lib/korona-cloud-client/models/time_period.rb +20 -8
  630. data/lib/korona-cloud-client/models/time_tracking_entity.rb +33 -12
  631. data/lib/korona-cloud-client/models/time_tracking_entry.rb +22 -9
  632. data/lib/korona-cloud-client/models/too_many_requests_error.rb +20 -8
  633. data/lib/korona-cloud-client/models/top_seller.rb +20 -8
  634. data/lib/korona-cloud-client/models/total_period.rb +24 -10
  635. data/lib/korona-cloud-client/models/total_price.rb +20 -8
  636. data/lib/korona-cloud-client/models/user_role.rb +300 -0
  637. data/lib/korona-cloud-client/models/validity.rb +26 -8
  638. data/lib/korona-cloud-client/models/voided_receipt_item.rb +20 -8
  639. data/lib/korona-cloud-client/models/voucher_transaction.rb +335 -0
  640. data/lib/korona-cloud-client/models/weather.rb +20 -8
  641. data/lib/korona-cloud-client/version.rb +3 -3
  642. data/lib/korona-cloud-client.rb +107 -2
  643. data/spec/api/cashier_verification_requirement_api_spec.rb +101 -0
  644. data/spec/api/customer_display_configurations_api_spec.rb +114 -0
  645. data/spec/api/device_configuration_variables_api_spec.rb +113 -0
  646. data/spec/api/pos_button_layouts_api_spec.rb +128 -0
  647. data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
  648. data/spec/api/pos_profiles_api_spec.rb +128 -0
  649. data/spec/api/price_rules_api_spec.rb +126 -0
  650. data/spec/api/promotions_api_spec.rb +126 -0
  651. data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
  652. data/spec/api/special_price_configurations_api_spec.rb +113 -0
  653. data/spec/api/stock_adjustments_api_spec.rb +190 -0
  654. data/spec/api/store_orders_api_spec.rb +190 -0
  655. data/spec/api/user_roles_api_spec.rb +125 -0
  656. data/spec/api_client_spec.rb +2 -2
  657. data/spec/configuration_spec.rb +2 -2
  658. data/spec/models/cashier_verification_requirement_spec.rb +98 -0
  659. data/spec/models/cashier_verification_result_spec.rb +68 -0
  660. data/spec/models/coupon_spec.rb +40 -0
  661. data/spec/models/customer_display_configuration_spec.rb +148 -0
  662. data/spec/models/customer_order_item_spec.rb +118 -0
  663. data/spec/models/date_interval_spec.rb +40 -0
  664. data/spec/models/device_configuration_spec.rb +94 -0
  665. data/spec/models/device_configuration_variable_spec.rb +64 -0
  666. data/spec/models/device_configuration_variable_value_spec.rb +40 -0
  667. data/spec/models/device_parameter_item_spec.rb +46 -0
  668. data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
  669. data/spec/models/payment_service_configuration_spec.rb +62 -0
  670. data/spec/models/payment_terminal_receipt_spec.rb +44 -0
  671. data/spec/models/pos_balance_item_spec.rb +62 -0
  672. data/spec/models/pos_balance_spec.rb +118 -0
  673. data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
  674. data/spec/models/pos_balance_summary_spec.rb +46 -0
  675. data/spec/models/pos_balance_total_spec.rb +40 -0
  676. data/spec/models/pos_button_function_spec.rb +106 -0
  677. data/spec/models/pos_button_layout_spec.rb +80 -0
  678. data/spec/models/pos_button_spec.rb +84 -0
  679. data/spec/models/pos_page_layout_configuration_spec.rb +82 -0
  680. data/spec/models/pos_page_layout_spec.rb +62 -0
  681. data/spec/models/pos_profile_spec.rb +288 -0
  682. data/spec/models/prepaid_card_spec.rb +40 -0
  683. data/spec/models/price_rule_calculation_spec.rb +44 -0
  684. data/spec/models/price_rule_condition_spec.rb +74 -0
  685. data/spec/models/price_rule_spec.rb +100 -0
  686. data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
  687. data/spec/models/price_rule_validity_period_spec.rb +46 -0
  688. data/spec/models/product_special_price_spec.rb +46 -0
  689. data/spec/models/promotion_benefit_common_discount_spec.rb +92 -0
  690. data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +60 -0
  691. data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
  692. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
  693. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_spec.rb +40 -0
  694. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
  695. data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +68 -0
  696. data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
  697. data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
  698. data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
  699. data/spec/models/promotion_benefit_spec.rb +62 -0
  700. data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
  701. data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
  702. data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
  703. data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
  704. data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
  705. data/spec/models/promotion_bonuspoint_spec.rb +40 -0
  706. data/spec/models/promotion_coupon_spec.rb +56 -0
  707. data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
  708. data/spec/models/promotion_coupon_validity_spec.rb +50 -0
  709. data/spec/models/promotion_layer_spec.rb +40 -0
  710. data/spec/models/promotion_spec.rb +122 -0
  711. data/spec/models/promotion_stamp_spec.rb +50 -0
  712. data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
  713. data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
  714. data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
  715. data/spec/models/promotion_trigger_spec.rb +76 -0
  716. data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
  717. data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
  718. data/spec/models/promotion_validity_spec.rb +62 -0
  719. data/spec/models/receipt_layout_configuration_spec.rb +158 -0
  720. data/spec/models/receipt_revenue_spec.rb +40 -0
  721. data/spec/models/receipt_total_spec.rb +46 -0
  722. data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
  723. data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
  724. data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
  725. data/spec/models/result_list_pos_balance_spec.rb +64 -0
  726. data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
  727. data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
  728. data/spec/models/result_list_pos_profile_spec.rb +64 -0
  729. data/spec/models/result_list_price_rule_spec.rb +64 -0
  730. data/spec/models/result_list_promotion_spec.rb +64 -0
  731. data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
  732. data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
  733. data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
  734. data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
  735. data/spec/models/result_list_stock_order_item_spec.rb +64 -0
  736. data/spec/models/result_list_store_order_item_spec.rb +64 -0
  737. data/spec/models/result_list_store_order_spec.rb +64 -0
  738. data/spec/models/result_list_user_role_spec.rb +64 -0
  739. data/spec/models/special_price_configuration_spec.rb +82 -0
  740. data/spec/models/special_price_spec.rb +46 -0
  741. data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
  742. data/spec/models/stock_adjustment_item_spec.rb +52 -0
  743. data/spec/models/stock_adjustment_spec.rb +122 -0
  744. data/spec/models/store_order_item_spec.rb +52 -0
  745. data/spec/models/store_order_spec.rb +112 -0
  746. data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
  747. data/spec/models/time_of_day_interval_spec.rb +40 -0
  748. data/spec/models/user_role_spec.rb +74 -0
  749. data/spec/models/voucher_transaction_spec.rb +92 -0
  750. data/spec/spec_helper.rb +2 -2
  751. metadata +427 -31
  752. data/korona-cloud-client-1.0.0.gem +0 -0
  753. data/korona-cloud-client-1.0.1.gem +0 -0
  754. data/korona-cloud-client-1.0.2.gem +0 -0
data/docs/TicketingApi.md CHANGED
@@ -2,46 +2,45 @@
2
2
 
3
3
  All URIs are relative to *https://www.koronacloud.com/web/api/v3*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_entry_gates**](TicketingApi.md#add_entry_gates) | **POST** /accounts/{koronaAccountId}/entryGates | adds a batch of new entry gates
8
- [**add_events**](TicketingApi.md#add_events) | **POST** /accounts/{koronaAccountId}/events | adds a batch of new events
9
- [**add_or_update_attendances**](TicketingApi.md#add_or_update_attendances) | **POST** /accounts/{koronaAccountId}/attendances | updates/adds attendances
10
- [**add_ticket_definitions**](TicketingApi.md#add_ticket_definitions) | **POST** /accounts/{koronaAccountId}/ticketDefinitions | adds a batch of new ticket definitions
11
- [**cancel_attendance**](TicketingApi.md#cancel_attendance) | **DELETE** /accounts/{koronaAccountId}/attendances/{attendanceId} | cancel the attendance
12
- [**delete_entry_gates**](TicketingApi.md#delete_entry_gates) | **DELETE** /accounts/{koronaAccountId}/entryGates | deletes a batch of entry gates
13
- [**delete_event**](TicketingApi.md#delete_event) | **DELETE** /accounts/{koronaAccountId}/events/{eventId} | deletes the single event
14
- [**delete_ticket_definition**](TicketingApi.md#delete_ticket_definition) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | deletes the single ticket definition
15
- [**delete_ticket_definitions**](TicketingApi.md#delete_ticket_definitions) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions | deletes a batch of ticket definitions
16
- [**get_attendance**](TicketingApi.md#get_attendance) | **GET** /accounts/{koronaAccountId}/attendances/{attendanceId} | returns the single attendance
17
- [**get_attendances**](TicketingApi.md#get_attendances) | **GET** /accounts/{koronaAccountId}/attendances | lists all attendances
18
- [**get_entry_gate**](TicketingApi.md#get_entry_gate) | **GET** /accounts/{koronaAccountId}/entryGates/{entryGateId} | returns the single entry gate
19
- [**get_entry_gates**](TicketingApi.md#get_entry_gates) | **GET** /accounts/{koronaAccountId}/entryGates | lists all entry gates
20
- [**get_event**](TicketingApi.md#get_event) | **GET** /accounts/{koronaAccountId}/events/{eventId} | returns the single event
21
- [**get_events**](TicketingApi.md#get_events) | **GET** /accounts/{koronaAccountId}/events | lists all events
22
- [**get_ticket_definition**](TicketingApi.md#get_ticket_definition) | **GET** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | returns the single ticket definition
23
- [**get_ticket_definitions**](TicketingApi.md#get_ticket_definitions) | **GET** /accounts/{koronaAccountId}/ticketDefinitions | lists all ticket definitions
24
- [**get_tickets**](TicketingApi.md#get_tickets) | **GET** /accounts/{koronaAccountId}/tickets | lists all tickets
25
- [**lock_ticket**](TicketingApi.md#lock_ticket) | **DELETE** /accounts/{koronaAccountId}/tickets/{ticketNumber} | locks the single ticket
26
- [**unlock_ticket**](TicketingApi.md#unlock_ticket) | **POST** /accounts/{koronaAccountId}/tickets/{ticketNumber} | unlocks the single ticket
27
- [**update_entry_gates**](TicketingApi.md#update_entry_gates) | **PATCH** /accounts/{koronaAccountId}/entryGates | updates a batch of entry gates
28
- [**update_event**](TicketingApi.md#update_event) | **PATCH** /accounts/{koronaAccountId}/events/{eventId} | updates the single event
29
- [**update_events**](TicketingApi.md#update_events) | **PATCH** /accounts/{koronaAccountId}/events | updates a batch of events
30
- [**update_ticket**](TicketingApi.md#update_ticket) | **PATCH** /accounts/{koronaAccountId}/tickets/{ticketNumber} | updates the single ticket
31
- [**update_ticket_definitions**](TicketingApi.md#update_ticket_definitions) | **PATCH** /accounts/{koronaAccountId}/ticketDefinitions | updates a batch of ticket definitions
32
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_entry_gates**](TicketingApi.md#add_entry_gates) | **POST** /accounts/{koronaAccountId}/entryGates | adds a batch of new entry gates |
8
+ | [**add_events**](TicketingApi.md#add_events) | **POST** /accounts/{koronaAccountId}/events | adds a batch of new events |
9
+ | [**add_or_update_attendances**](TicketingApi.md#add_or_update_attendances) | **POST** /accounts/{koronaAccountId}/attendances | updates/adds attendances |
10
+ | [**add_ticket_definitions**](TicketingApi.md#add_ticket_definitions) | **POST** /accounts/{koronaAccountId}/ticketDefinitions | adds a batch of new ticket definitions |
11
+ | [**cancel_attendance**](TicketingApi.md#cancel_attendance) | **DELETE** /accounts/{koronaAccountId}/attendances/{attendanceId} | cancel the attendance |
12
+ | [**delete_entry_gates**](TicketingApi.md#delete_entry_gates) | **DELETE** /accounts/{koronaAccountId}/entryGates | deletes a batch of entry gates |
13
+ | [**delete_event**](TicketingApi.md#delete_event) | **DELETE** /accounts/{koronaAccountId}/events/{eventId} | deletes the single event |
14
+ | [**delete_ticket_definition**](TicketingApi.md#delete_ticket_definition) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | deletes the single ticket definition |
15
+ | [**delete_ticket_definitions**](TicketingApi.md#delete_ticket_definitions) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions | deletes a batch of ticket definitions |
16
+ | [**get_attendance**](TicketingApi.md#get_attendance) | **GET** /accounts/{koronaAccountId}/attendances/{attendanceId} | returns the single attendance |
17
+ | [**get_attendances**](TicketingApi.md#get_attendances) | **GET** /accounts/{koronaAccountId}/attendances | lists all attendances |
18
+ | [**get_entry_gate**](TicketingApi.md#get_entry_gate) | **GET** /accounts/{koronaAccountId}/entryGates/{entryGateId} | returns the single entry gate |
19
+ | [**get_entry_gates**](TicketingApi.md#get_entry_gates) | **GET** /accounts/{koronaAccountId}/entryGates | lists all entry gates |
20
+ | [**get_event**](TicketingApi.md#get_event) | **GET** /accounts/{koronaAccountId}/events/{eventId} | returns the single event |
21
+ | [**get_events**](TicketingApi.md#get_events) | **GET** /accounts/{koronaAccountId}/events | lists all events |
22
+ | [**get_ticket_definition**](TicketingApi.md#get_ticket_definition) | **GET** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | returns the single ticket definition |
23
+ | [**get_ticket_definitions**](TicketingApi.md#get_ticket_definitions) | **GET** /accounts/{koronaAccountId}/ticketDefinitions | lists all ticket definitions |
24
+ | [**get_tickets**](TicketingApi.md#get_tickets) | **GET** /accounts/{koronaAccountId}/tickets | lists all tickets |
25
+ | [**lock_ticket**](TicketingApi.md#lock_ticket) | **DELETE** /accounts/{koronaAccountId}/tickets/{ticketNumber} | locks the single ticket |
26
+ | [**unlock_ticket**](TicketingApi.md#unlock_ticket) | **POST** /accounts/{koronaAccountId}/tickets/{ticketNumber} | unlocks the single ticket |
27
+ | [**update_entry_gates**](TicketingApi.md#update_entry_gates) | **PATCH** /accounts/{koronaAccountId}/entryGates | updates a batch of entry gates |
28
+ | [**update_event**](TicketingApi.md#update_event) | **PATCH** /accounts/{koronaAccountId}/events/{eventId} | updates the single event |
29
+ | [**update_events**](TicketingApi.md#update_events) | **PATCH** /accounts/{koronaAccountId}/events | updates a batch of events |
30
+ | [**update_ticket**](TicketingApi.md#update_ticket) | **PATCH** /accounts/{koronaAccountId}/tickets/{ticketNumber} | updates the single ticket |
31
+ | [**update_ticket_definitions**](TicketingApi.md#update_ticket_definitions) | **PATCH** /accounts/{koronaAccountId}/ticketDefinitions | updates a batch of ticket definitions |
33
32
 
34
33
 
35
34
  ## add_entry_gates
36
35
 
37
- > Array<AddOrUpdateResult> add_entry_gates(korona_account_id, body, opts)
36
+ > <Array<AddOrUpdateResult>> add_entry_gates(korona_account_id, body, opts)
38
37
 
39
38
  adds a batch of new entry gates
40
39
 
41
- ### Example
40
+ ### Examples
42
41
 
43
42
  ```ruby
44
- # load the gem
43
+ require 'time'
45
44
  require 'korona-cloud-client'
46
45
  # setup authorization
47
46
  KoronaCloudClient.configure do |config|
@@ -58,22 +57,39 @@ opts = {
58
57
  }
59
58
 
60
59
  begin
61
- #adds a batch of new entry gates
60
+ # adds a batch of new entry gates
62
61
  result = api_instance.add_entry_gates(korona_account_id, body, opts)
63
62
  p result
64
63
  rescue KoronaCloudClient::ApiError => e
65
- puts "Exception when calling TicketingApi->add_entry_gates: #{e}"
64
+ puts "Error when calling TicketingApi->add_entry_gates: #{e}"
66
65
  end
67
66
  ```
68
67
 
69
- ### Parameters
68
+ #### Using the add_entry_gates_with_http_info variant
69
+
70
+ This returns an Array which contains the response data, status code and headers.
71
+
72
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_entry_gates_with_http_info(korona_account_id, body, opts)
73
+
74
+ ```ruby
75
+ begin
76
+ # adds a batch of new entry gates
77
+ data, status_code, headers = api_instance.add_entry_gates_with_http_info(korona_account_id, body, opts)
78
+ p status_code # => 2xx
79
+ p headers # => { ... }
80
+ p data # => <Array<AddOrUpdateResult>>
81
+ rescue KoronaCloudClient::ApiError => e
82
+ puts "Error when calling TicketingApi->add_entry_gates_with_http_info: #{e}"
83
+ end
84
+ ```
70
85
 
86
+ ### Parameters
71
87
 
72
- Name | Type | Description | Notes
73
- ------------- | ------------- | ------------- | -------------
74
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
75
- **body** | [**Array&lt;EntryGate&gt;**](EntryGate.md)| array of new entry gates |
76
- **upsert** | **Boolean**| when set to true, updates the object instead of generating a already-exists-error | [optional]
88
+ | Name | Type | Description | Notes |
89
+ | ---- | ---- | ----------- | ----- |
90
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
91
+ | **body** | [**Array&lt;EntryGate&gt;**](EntryGate.md) | array of new entry gates | |
92
+ | **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
77
93
 
78
94
  ### Return type
79
95
 
@@ -91,14 +107,14 @@ Name | Type | Description | Notes
91
107
 
92
108
  ## add_events
93
109
 
94
- > Array&lt;AddOrUpdateResult&gt; add_events(korona_account_id, body, opts)
110
+ > <Array<AddOrUpdateResult>> add_events(korona_account_id, body, opts)
95
111
 
96
112
  adds a batch of new events
97
113
 
98
- ### Example
114
+ ### Examples
99
115
 
100
116
  ```ruby
101
- # load the gem
117
+ require 'time'
102
118
  require 'korona-cloud-client'
103
119
  # setup authorization
104
120
  KoronaCloudClient.configure do |config|
@@ -115,22 +131,39 @@ opts = {
115
131
  }
116
132
 
117
133
  begin
118
- #adds a batch of new events
134
+ # adds a batch of new events
119
135
  result = api_instance.add_events(korona_account_id, body, opts)
120
136
  p result
121
137
  rescue KoronaCloudClient::ApiError => e
122
- puts "Exception when calling TicketingApi->add_events: #{e}"
138
+ puts "Error when calling TicketingApi->add_events: #{e}"
123
139
  end
124
140
  ```
125
141
 
126
- ### Parameters
142
+ #### Using the add_events_with_http_info variant
143
+
144
+ This returns an Array which contains the response data, status code and headers.
145
+
146
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_events_with_http_info(korona_account_id, body, opts)
147
+
148
+ ```ruby
149
+ begin
150
+ # adds a batch of new events
151
+ data, status_code, headers = api_instance.add_events_with_http_info(korona_account_id, body, opts)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <Array<AddOrUpdateResult>>
155
+ rescue KoronaCloudClient::ApiError => e
156
+ puts "Error when calling TicketingApi->add_events_with_http_info: #{e}"
157
+ end
158
+ ```
127
159
 
160
+ ### Parameters
128
161
 
129
- Name | Type | Description | Notes
130
- ------------- | ------------- | ------------- | -------------
131
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
132
- **body** | [**Array&lt;Event&gt;**](Event.md)| an array of new events |
133
- **upsert** | **Boolean**| when set to true, updates the object instead of generating a already-exists-error | [optional]
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
165
+ | **body** | [**Array&lt;Event&gt;**](Event.md) | an array of new events | |
166
+ | **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
134
167
 
135
168
  ### Return type
136
169
 
@@ -148,14 +181,14 @@ Name | Type | Description | Notes
148
181
 
149
182
  ## add_or_update_attendances
150
183
 
151
- > Array&lt;AddOrUpdateResult&gt; add_or_update_attendances(korona_account_id, body)
184
+ > <Array<AddOrUpdateResult>> add_or_update_attendances(korona_account_id, body)
152
185
 
153
186
  updates/adds attendances
154
187
 
155
- ### Example
188
+ ### Examples
156
189
 
157
190
  ```ruby
158
- # load the gem
191
+ require 'time'
159
192
  require 'korona-cloud-client'
160
193
  # setup authorization
161
194
  KoronaCloudClient.configure do |config|
@@ -169,21 +202,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
169
202
  body = [KoronaCloudClient::Attendance.new] # Array<Attendance> | an array of attendances
170
203
 
171
204
  begin
172
- #updates/adds attendances
205
+ # updates/adds attendances
173
206
  result = api_instance.add_or_update_attendances(korona_account_id, body)
174
207
  p result
175
208
  rescue KoronaCloudClient::ApiError => e
176
- puts "Exception when calling TicketingApi->add_or_update_attendances: #{e}"
209
+ puts "Error when calling TicketingApi->add_or_update_attendances: #{e}"
177
210
  end
178
211
  ```
179
212
 
180
- ### Parameters
213
+ #### Using the add_or_update_attendances_with_http_info variant
214
+
215
+ This returns an Array which contains the response data, status code and headers.
216
+
217
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_or_update_attendances_with_http_info(korona_account_id, body)
181
218
 
219
+ ```ruby
220
+ begin
221
+ # updates/adds attendances
222
+ data, status_code, headers = api_instance.add_or_update_attendances_with_http_info(korona_account_id, body)
223
+ p status_code # => 2xx
224
+ p headers # => { ... }
225
+ p data # => <Array<AddOrUpdateResult>>
226
+ rescue KoronaCloudClient::ApiError => e
227
+ puts "Error when calling TicketingApi->add_or_update_attendances_with_http_info: #{e}"
228
+ end
229
+ ```
230
+
231
+ ### Parameters
182
232
 
183
- Name | Type | Description | Notes
184
- ------------- | ------------- | ------------- | -------------
185
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
186
- **body** | [**Array&lt;Attendance&gt;**](Attendance.md)| an array of attendances |
233
+ | Name | Type | Description | Notes |
234
+ | ---- | ---- | ----------- | ----- |
235
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
236
+ | **body** | [**Array&lt;Attendance&gt;**](Attendance.md) | an array of attendances | |
187
237
 
188
238
  ### Return type
189
239
 
@@ -201,14 +251,14 @@ Name | Type | Description | Notes
201
251
 
202
252
  ## add_ticket_definitions
203
253
 
204
- > Array&lt;AddOrUpdateResult&gt; add_ticket_definitions(korona_account_id, body, opts)
254
+ > <Array<AddOrUpdateResult>> add_ticket_definitions(korona_account_id, body, opts)
205
255
 
206
256
  adds a batch of new ticket definitions
207
257
 
208
- ### Example
258
+ ### Examples
209
259
 
210
260
  ```ruby
211
- # load the gem
261
+ require 'time'
212
262
  require 'korona-cloud-client'
213
263
  # setup authorization
214
264
  KoronaCloudClient.configure do |config|
@@ -225,22 +275,39 @@ opts = {
225
275
  }
226
276
 
227
277
  begin
228
- #adds a batch of new ticket definitions
278
+ # adds a batch of new ticket definitions
229
279
  result = api_instance.add_ticket_definitions(korona_account_id, body, opts)
230
280
  p result
231
281
  rescue KoronaCloudClient::ApiError => e
232
- puts "Exception when calling TicketingApi->add_ticket_definitions: #{e}"
282
+ puts "Error when calling TicketingApi->add_ticket_definitions: #{e}"
233
283
  end
234
284
  ```
235
285
 
236
- ### Parameters
286
+ #### Using the add_ticket_definitions_with_http_info variant
237
287
 
288
+ This returns an Array which contains the response data, status code and headers.
238
289
 
239
- Name | Type | Description | Notes
240
- ------------- | ------------- | ------------- | -------------
241
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
242
- **body** | [**Array&lt;TicketDefinition&gt;**](TicketDefinition.md)| array of new ticket definitions |
243
- **upsert** | **Boolean**| when set to true, updates the object instead of generating a already-exists-error | [optional]
290
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_ticket_definitions_with_http_info(korona_account_id, body, opts)
291
+
292
+ ```ruby
293
+ begin
294
+ # adds a batch of new ticket definitions
295
+ data, status_code, headers = api_instance.add_ticket_definitions_with_http_info(korona_account_id, body, opts)
296
+ p status_code # => 2xx
297
+ p headers # => { ... }
298
+ p data # => <Array<AddOrUpdateResult>>
299
+ rescue KoronaCloudClient::ApiError => e
300
+ puts "Error when calling TicketingApi->add_ticket_definitions_with_http_info: #{e}"
301
+ end
302
+ ```
303
+
304
+ ### Parameters
305
+
306
+ | Name | Type | Description | Notes |
307
+ | ---- | ---- | ----------- | ----- |
308
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
309
+ | **body** | [**Array&lt;TicketDefinition&gt;**](TicketDefinition.md) | array of new ticket definitions | |
310
+ | **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
244
311
 
245
312
  ### Return type
246
313
 
@@ -262,10 +329,10 @@ Name | Type | Description | Notes
262
329
 
263
330
  cancel the attendance
264
331
 
265
- ### Example
332
+ ### Examples
266
333
 
267
334
  ```ruby
268
- # load the gem
335
+ require 'time'
269
336
  require 'korona-cloud-client'
270
337
  # setup authorization
271
338
  KoronaCloudClient.configure do |config|
@@ -279,20 +346,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
279
346
  attendance_id = 'attendance_id_example' # String | id of the related object (important: id should match the uuid-format)
280
347
 
281
348
  begin
282
- #cancel the attendance
349
+ # cancel the attendance
283
350
  api_instance.cancel_attendance(korona_account_id, attendance_id)
284
351
  rescue KoronaCloudClient::ApiError => e
285
- puts "Exception when calling TicketingApi->cancel_attendance: #{e}"
352
+ puts "Error when calling TicketingApi->cancel_attendance: #{e}"
286
353
  end
287
354
  ```
288
355
 
289
- ### Parameters
356
+ #### Using the cancel_attendance_with_http_info variant
357
+
358
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
359
+
360
+ > <Array(nil, Integer, Hash)> cancel_attendance_with_http_info(korona_account_id, attendance_id)
361
+
362
+ ```ruby
363
+ begin
364
+ # cancel the attendance
365
+ data, status_code, headers = api_instance.cancel_attendance_with_http_info(korona_account_id, attendance_id)
366
+ p status_code # => 2xx
367
+ p headers # => { ... }
368
+ p data # => nil
369
+ rescue KoronaCloudClient::ApiError => e
370
+ puts "Error when calling TicketingApi->cancel_attendance_with_http_info: #{e}"
371
+ end
372
+ ```
290
373
 
374
+ ### Parameters
291
375
 
292
- Name | Type | Description | Notes
293
- ------------- | ------------- | ------------- | -------------
294
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
295
- **attendance_id** | **String**| id of the related object (important: id should match the uuid-format) |
376
+ | Name | Type | Description | Notes |
377
+ | ---- | ---- | ----------- | ----- |
378
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
379
+ | **attendance_id** | **String** | id of the related object (important: id should match the uuid-format) | |
296
380
 
297
381
  ### Return type
298
382
 
@@ -310,14 +394,14 @@ nil (empty response body)
310
394
 
311
395
  ## delete_entry_gates
312
396
 
313
- > Array&lt;AddOrUpdateResult&gt; delete_entry_gates(korona_account_id, body)
397
+ > <Array<AddOrUpdateResult>> delete_entry_gates(korona_account_id, body)
314
398
 
315
399
  deletes a batch of entry gates
316
400
 
317
- ### Example
401
+ ### Examples
318
402
 
319
403
  ```ruby
320
- # load the gem
404
+ require 'time'
321
405
  require 'korona-cloud-client'
322
406
  # setup authorization
323
407
  KoronaCloudClient.configure do |config|
@@ -331,21 +415,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
331
415
  body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of existing entry gates (id or number required)
332
416
 
333
417
  begin
334
- #deletes a batch of entry gates
418
+ # deletes a batch of entry gates
335
419
  result = api_instance.delete_entry_gates(korona_account_id, body)
336
420
  p result
337
421
  rescue KoronaCloudClient::ApiError => e
338
- puts "Exception when calling TicketingApi->delete_entry_gates: #{e}"
422
+ puts "Error when calling TicketingApi->delete_entry_gates: #{e}"
339
423
  end
340
424
  ```
341
425
 
342
- ### Parameters
426
+ #### Using the delete_entry_gates_with_http_info variant
427
+
428
+ This returns an Array which contains the response data, status code and headers.
429
+
430
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_entry_gates_with_http_info(korona_account_id, body)
431
+
432
+ ```ruby
433
+ begin
434
+ # deletes a batch of entry gates
435
+ data, status_code, headers = api_instance.delete_entry_gates_with_http_info(korona_account_id, body)
436
+ p status_code # => 2xx
437
+ p headers # => { ... }
438
+ p data # => <Array<AddOrUpdateResult>>
439
+ rescue KoronaCloudClient::ApiError => e
440
+ puts "Error when calling TicketingApi->delete_entry_gates_with_http_info: #{e}"
441
+ end
442
+ ```
343
443
 
444
+ ### Parameters
344
445
 
345
- Name | Type | Description | Notes
346
- ------------- | ------------- | ------------- | -------------
347
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
348
- **body** | [**Array&lt;EntryGate&gt;**](EntryGate.md)| array of existing entry gates (id or number required) |
446
+ | Name | Type | Description | Notes |
447
+ | ---- | ---- | ----------- | ----- |
448
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
449
+ | **body** | [**Array&lt;EntryGate&gt;**](EntryGate.md) | array of existing entry gates (id or number required) | |
349
450
 
350
451
  ### Return type
351
452
 
@@ -367,10 +468,10 @@ Name | Type | Description | Notes
367
468
 
368
469
  deletes the single event
369
470
 
370
- ### Example
471
+ ### Examples
371
472
 
372
473
  ```ruby
373
- # load the gem
474
+ require 'time'
374
475
  require 'korona-cloud-client'
375
476
  # setup authorization
376
477
  KoronaCloudClient.configure do |config|
@@ -384,20 +485,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
384
485
  event_id = 'event_id_example' # String | id of the related object (important: id should match the uuid-format)
385
486
 
386
487
  begin
387
- #deletes the single event
488
+ # deletes the single event
388
489
  api_instance.delete_event(korona_account_id, event_id)
389
490
  rescue KoronaCloudClient::ApiError => e
390
- puts "Exception when calling TicketingApi->delete_event: #{e}"
491
+ puts "Error when calling TicketingApi->delete_event: #{e}"
391
492
  end
392
493
  ```
393
494
 
394
- ### Parameters
495
+ #### Using the delete_event_with_http_info variant
395
496
 
497
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
396
498
 
397
- Name | Type | Description | Notes
398
- ------------- | ------------- | ------------- | -------------
399
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
400
- **event_id** | **String**| id of the related object (important: id should match the uuid-format) |
499
+ > <Array(nil, Integer, Hash)> delete_event_with_http_info(korona_account_id, event_id)
500
+
501
+ ```ruby
502
+ begin
503
+ # deletes the single event
504
+ data, status_code, headers = api_instance.delete_event_with_http_info(korona_account_id, event_id)
505
+ p status_code # => 2xx
506
+ p headers # => { ... }
507
+ p data # => nil
508
+ rescue KoronaCloudClient::ApiError => e
509
+ puts "Error when calling TicketingApi->delete_event_with_http_info: #{e}"
510
+ end
511
+ ```
512
+
513
+ ### Parameters
514
+
515
+ | Name | Type | Description | Notes |
516
+ | ---- | ---- | ----------- | ----- |
517
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
518
+ | **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
401
519
 
402
520
  ### Return type
403
521
 
@@ -419,10 +537,10 @@ nil (empty response body)
419
537
 
420
538
  deletes the single ticket definition
421
539
 
422
- ### Example
540
+ ### Examples
423
541
 
424
542
  ```ruby
425
- # load the gem
543
+ require 'time'
426
544
  require 'korona-cloud-client'
427
545
  # setup authorization
428
546
  KoronaCloudClient.configure do |config|
@@ -436,20 +554,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
436
554
  ticket_definition_id = 'ticket_definition_id_example' # String | id of the related object (important: id should match the uuid-format)
437
555
 
438
556
  begin
439
- #deletes the single ticket definition
557
+ # deletes the single ticket definition
440
558
  api_instance.delete_ticket_definition(korona_account_id, ticket_definition_id)
441
559
  rescue KoronaCloudClient::ApiError => e
442
- puts "Exception when calling TicketingApi->delete_ticket_definition: #{e}"
560
+ puts "Error when calling TicketingApi->delete_ticket_definition: #{e}"
443
561
  end
444
562
  ```
445
563
 
446
- ### Parameters
564
+ #### Using the delete_ticket_definition_with_http_info variant
565
+
566
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
567
+
568
+ > <Array(nil, Integer, Hash)> delete_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
569
+
570
+ ```ruby
571
+ begin
572
+ # deletes the single ticket definition
573
+ data, status_code, headers = api_instance.delete_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
574
+ p status_code # => 2xx
575
+ p headers # => { ... }
576
+ p data # => nil
577
+ rescue KoronaCloudClient::ApiError => e
578
+ puts "Error when calling TicketingApi->delete_ticket_definition_with_http_info: #{e}"
579
+ end
580
+ ```
447
581
 
582
+ ### Parameters
448
583
 
449
- Name | Type | Description | Notes
450
- ------------- | ------------- | ------------- | -------------
451
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
452
- **ticket_definition_id** | **String**| id of the related object (important: id should match the uuid-format) |
584
+ | Name | Type | Description | Notes |
585
+ | ---- | ---- | ----------- | ----- |
586
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
587
+ | **ticket_definition_id** | **String** | id of the related object (important: id should match the uuid-format) | |
453
588
 
454
589
  ### Return type
455
590
 
@@ -467,14 +602,14 @@ nil (empty response body)
467
602
 
468
603
  ## delete_ticket_definitions
469
604
 
470
- > Array&lt;AddOrUpdateResult&gt; delete_ticket_definitions(korona_account_id, body)
605
+ > <Array<AddOrUpdateResult>> delete_ticket_definitions(korona_account_id, body)
471
606
 
472
607
  deletes a batch of ticket definitions
473
608
 
474
- ### Example
609
+ ### Examples
475
610
 
476
611
  ```ruby
477
- # load the gem
612
+ require 'time'
478
613
  require 'korona-cloud-client'
479
614
  # setup authorization
480
615
  KoronaCloudClient.configure do |config|
@@ -488,21 +623,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
488
623
  body = [KoronaCloudClient::TicketDefinition.new] # Array<TicketDefinition> | array of existing ticket definitions (id or number required)
489
624
 
490
625
  begin
491
- #deletes a batch of ticket definitions
626
+ # deletes a batch of ticket definitions
492
627
  result = api_instance.delete_ticket_definitions(korona_account_id, body)
493
628
  p result
494
629
  rescue KoronaCloudClient::ApiError => e
495
- puts "Exception when calling TicketingApi->delete_ticket_definitions: #{e}"
630
+ puts "Error when calling TicketingApi->delete_ticket_definitions: #{e}"
496
631
  end
497
632
  ```
498
633
 
499
- ### Parameters
634
+ #### Using the delete_ticket_definitions_with_http_info variant
635
+
636
+ This returns an Array which contains the response data, status code and headers.
637
+
638
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_ticket_definitions_with_http_info(korona_account_id, body)
639
+
640
+ ```ruby
641
+ begin
642
+ # deletes a batch of ticket definitions
643
+ data, status_code, headers = api_instance.delete_ticket_definitions_with_http_info(korona_account_id, body)
644
+ p status_code # => 2xx
645
+ p headers # => { ... }
646
+ p data # => <Array<AddOrUpdateResult>>
647
+ rescue KoronaCloudClient::ApiError => e
648
+ puts "Error when calling TicketingApi->delete_ticket_definitions_with_http_info: #{e}"
649
+ end
650
+ ```
500
651
 
652
+ ### Parameters
501
653
 
502
- Name | Type | Description | Notes
503
- ------------- | ------------- | ------------- | -------------
504
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
505
- **body** | [**Array&lt;TicketDefinition&gt;**](TicketDefinition.md)| array of existing ticket definitions (id or number required) |
654
+ | Name | Type | Description | Notes |
655
+ | ---- | ---- | ----------- | ----- |
656
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
657
+ | **body** | [**Array&lt;TicketDefinition&gt;**](TicketDefinition.md) | array of existing ticket definitions (id or number required) | |
506
658
 
507
659
  ### Return type
508
660
 
@@ -520,14 +672,14 @@ Name | Type | Description | Notes
520
672
 
521
673
  ## get_attendance
522
674
 
523
- > Attendance get_attendance(korona_account_id, attendance_id)
675
+ > <Attendance> get_attendance(korona_account_id, attendance_id)
524
676
 
525
677
  returns the single attendance
526
678
 
527
- ### Example
679
+ ### Examples
528
680
 
529
681
  ```ruby
530
- # load the gem
682
+ require 'time'
531
683
  require 'korona-cloud-client'
532
684
  # setup authorization
533
685
  KoronaCloudClient.configure do |config|
@@ -541,21 +693,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
541
693
  attendance_id = 'attendance_id_example' # String | id of the related object (important: id should match the uuid-format)
542
694
 
543
695
  begin
544
- #returns the single attendance
696
+ # returns the single attendance
545
697
  result = api_instance.get_attendance(korona_account_id, attendance_id)
546
698
  p result
547
699
  rescue KoronaCloudClient::ApiError => e
548
- puts "Exception when calling TicketingApi->get_attendance: #{e}"
700
+ puts "Error when calling TicketingApi->get_attendance: #{e}"
549
701
  end
550
702
  ```
551
703
 
552
- ### Parameters
704
+ #### Using the get_attendance_with_http_info variant
553
705
 
706
+ This returns an Array which contains the response data, status code and headers.
554
707
 
555
- Name | Type | Description | Notes
556
- ------------- | ------------- | ------------- | -------------
557
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
558
- **attendance_id** | **String**| id of the related object (important: id should match the uuid-format) |
708
+ > <Array(<Attendance>, Integer, Hash)> get_attendance_with_http_info(korona_account_id, attendance_id)
709
+
710
+ ```ruby
711
+ begin
712
+ # returns the single attendance
713
+ data, status_code, headers = api_instance.get_attendance_with_http_info(korona_account_id, attendance_id)
714
+ p status_code # => 2xx
715
+ p headers # => { ... }
716
+ p data # => <Attendance>
717
+ rescue KoronaCloudClient::ApiError => e
718
+ puts "Error when calling TicketingApi->get_attendance_with_http_info: #{e}"
719
+ end
720
+ ```
721
+
722
+ ### Parameters
723
+
724
+ | Name | Type | Description | Notes |
725
+ | ---- | ---- | ----------- | ----- |
726
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
727
+ | **attendance_id** | **String** | id of the related object (important: id should match the uuid-format) | |
559
728
 
560
729
  ### Return type
561
730
 
@@ -573,14 +742,14 @@ Name | Type | Description | Notes
573
742
 
574
743
  ## get_attendances
575
744
 
576
- > ResultListAttendance get_attendances(korona_account_id, opts)
745
+ > <ResultListAttendance> get_attendances(korona_account_id, opts)
577
746
 
578
747
  lists all attendances
579
748
 
580
- ### Example
749
+ ### Examples
581
750
 
582
751
  ```ruby
583
- # load the gem
752
+ require 'time'
584
753
  require 'korona-cloud-client'
585
754
  # setup authorization
586
755
  KoronaCloudClient.configure do |config|
@@ -595,30 +764,47 @@ opts = {
595
764
  page: 56, # Integer | number of the page to fetch
596
765
  size: 56, # Integer | amount of objects to return per page
597
766
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
598
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
767
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
599
768
  include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
600
769
  }
601
770
 
602
771
  begin
603
- #lists all attendances
772
+ # lists all attendances
604
773
  result = api_instance.get_attendances(korona_account_id, opts)
605
774
  p result
606
775
  rescue KoronaCloudClient::ApiError => e
607
- puts "Exception when calling TicketingApi->get_attendances: #{e}"
776
+ puts "Error when calling TicketingApi->get_attendances: #{e}"
608
777
  end
609
778
  ```
610
779
 
611
- ### Parameters
780
+ #### Using the get_attendances_with_http_info variant
781
+
782
+ This returns an Array which contains the response data, status code and headers.
783
+
784
+ > <Array(<ResultListAttendance>, Integer, Hash)> get_attendances_with_http_info(korona_account_id, opts)
612
785
 
786
+ ```ruby
787
+ begin
788
+ # lists all attendances
789
+ data, status_code, headers = api_instance.get_attendances_with_http_info(korona_account_id, opts)
790
+ p status_code # => 2xx
791
+ p headers # => { ... }
792
+ p data # => <ResultListAttendance>
793
+ rescue KoronaCloudClient::ApiError => e
794
+ puts "Error when calling TicketingApi->get_attendances_with_http_info: #{e}"
795
+ end
796
+ ```
797
+
798
+ ### Parameters
613
799
 
614
- Name | Type | Description | Notes
615
- ------------- | ------------- | ------------- | -------------
616
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
617
- **page** | **Integer**| number of the page to fetch | [optional]
618
- **size** | **Integer**| amount of objects to return per page | [optional]
619
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
620
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
621
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
800
+ | Name | Type | Description | Notes |
801
+ | ---- | ---- | ----------- | ----- |
802
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
803
+ | **page** | **Integer** | number of the page to fetch | [optional] |
804
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
805
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
806
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
807
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
622
808
 
623
809
  ### Return type
624
810
 
@@ -636,14 +822,14 @@ Name | Type | Description | Notes
636
822
 
637
823
  ## get_entry_gate
638
824
 
639
- > EntryGate get_entry_gate(korona_account_id, entry_gate_id)
825
+ > <EntryGate> get_entry_gate(korona_account_id, entry_gate_id)
640
826
 
641
827
  returns the single entry gate
642
828
 
643
- ### Example
829
+ ### Examples
644
830
 
645
831
  ```ruby
646
- # load the gem
832
+ require 'time'
647
833
  require 'korona-cloud-client'
648
834
  # setup authorization
649
835
  KoronaCloudClient.configure do |config|
@@ -657,21 +843,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
657
843
  entry_gate_id = 'entry_gate_id_example' # String | id of the related object (important: id should match the uuid-format)
658
844
 
659
845
  begin
660
- #returns the single entry gate
846
+ # returns the single entry gate
661
847
  result = api_instance.get_entry_gate(korona_account_id, entry_gate_id)
662
848
  p result
663
849
  rescue KoronaCloudClient::ApiError => e
664
- puts "Exception when calling TicketingApi->get_entry_gate: #{e}"
850
+ puts "Error when calling TicketingApi->get_entry_gate: #{e}"
665
851
  end
666
852
  ```
667
853
 
668
- ### Parameters
854
+ #### Using the get_entry_gate_with_http_info variant
669
855
 
856
+ This returns an Array which contains the response data, status code and headers.
670
857
 
671
- Name | Type | Description | Notes
672
- ------------- | ------------- | ------------- | -------------
673
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
674
- **entry_gate_id** | **String**| id of the related object (important: id should match the uuid-format) |
858
+ > <Array(<EntryGate>, Integer, Hash)> get_entry_gate_with_http_info(korona_account_id, entry_gate_id)
859
+
860
+ ```ruby
861
+ begin
862
+ # returns the single entry gate
863
+ data, status_code, headers = api_instance.get_entry_gate_with_http_info(korona_account_id, entry_gate_id)
864
+ p status_code # => 2xx
865
+ p headers # => { ... }
866
+ p data # => <EntryGate>
867
+ rescue KoronaCloudClient::ApiError => e
868
+ puts "Error when calling TicketingApi->get_entry_gate_with_http_info: #{e}"
869
+ end
870
+ ```
871
+
872
+ ### Parameters
873
+
874
+ | Name | Type | Description | Notes |
875
+ | ---- | ---- | ----------- | ----- |
876
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
877
+ | **entry_gate_id** | **String** | id of the related object (important: id should match the uuid-format) | |
675
878
 
676
879
  ### Return type
677
880
 
@@ -689,14 +892,14 @@ Name | Type | Description | Notes
689
892
 
690
893
  ## get_entry_gates
691
894
 
692
- > ResultListEntryGate get_entry_gates(korona_account_id, opts)
895
+ > <ResultListEntryGate> get_entry_gates(korona_account_id, opts)
693
896
 
694
897
  lists all entry gates
695
898
 
696
- ### Example
899
+ ### Examples
697
900
 
698
901
  ```ruby
699
- # load the gem
902
+ require 'time'
700
903
  require 'korona-cloud-client'
701
904
  # setup authorization
702
905
  KoronaCloudClient.configure do |config|
@@ -711,32 +914,49 @@ opts = {
711
914
  page: 56, # Integer | number of the page to fetch
712
915
  size: 56, # Integer | amount of objects to return per page
713
916
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
714
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
917
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
715
918
  include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
716
919
  number: 'number_example' # String | number of the related object
717
920
  }
718
921
 
719
922
  begin
720
- #lists all entry gates
923
+ # lists all entry gates
721
924
  result = api_instance.get_entry_gates(korona_account_id, opts)
722
925
  p result
723
926
  rescue KoronaCloudClient::ApiError => e
724
- puts "Exception when calling TicketingApi->get_entry_gates: #{e}"
927
+ puts "Error when calling TicketingApi->get_entry_gates: #{e}"
725
928
  end
726
929
  ```
727
930
 
728
- ### Parameters
931
+ #### Using the get_entry_gates_with_http_info variant
729
932
 
933
+ This returns an Array which contains the response data, status code and headers.
730
934
 
731
- Name | Type | Description | Notes
732
- ------------- | ------------- | ------------- | -------------
733
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
734
- **page** | **Integer**| number of the page to fetch | [optional]
735
- **size** | **Integer**| amount of objects to return per page | [optional]
736
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
737
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
738
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
739
- **number** | **String**| number of the related object | [optional]
935
+ > <Array(<ResultListEntryGate>, Integer, Hash)> get_entry_gates_with_http_info(korona_account_id, opts)
936
+
937
+ ```ruby
938
+ begin
939
+ # lists all entry gates
940
+ data, status_code, headers = api_instance.get_entry_gates_with_http_info(korona_account_id, opts)
941
+ p status_code # => 2xx
942
+ p headers # => { ... }
943
+ p data # => <ResultListEntryGate>
944
+ rescue KoronaCloudClient::ApiError => e
945
+ puts "Error when calling TicketingApi->get_entry_gates_with_http_info: #{e}"
946
+ end
947
+ ```
948
+
949
+ ### Parameters
950
+
951
+ | Name | Type | Description | Notes |
952
+ | ---- | ---- | ----------- | ----- |
953
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
954
+ | **page** | **Integer** | number of the page to fetch | [optional] |
955
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
956
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
957
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
958
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
959
+ | **number** | **String** | number of the related object | [optional] |
740
960
 
741
961
  ### Return type
742
962
 
@@ -754,14 +974,14 @@ Name | Type | Description | Notes
754
974
 
755
975
  ## get_event
756
976
 
757
- > Event get_event(korona_account_id, event_id)
977
+ > <Event> get_event(korona_account_id, event_id)
758
978
 
759
979
  returns the single event
760
980
 
761
- ### Example
981
+ ### Examples
762
982
 
763
983
  ```ruby
764
- # load the gem
984
+ require 'time'
765
985
  require 'korona-cloud-client'
766
986
  # setup authorization
767
987
  KoronaCloudClient.configure do |config|
@@ -775,21 +995,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
775
995
  event_id = 'event_id_example' # String | id of the related object (important: id should match the uuid-format)
776
996
 
777
997
  begin
778
- #returns the single event
998
+ # returns the single event
779
999
  result = api_instance.get_event(korona_account_id, event_id)
780
1000
  p result
781
1001
  rescue KoronaCloudClient::ApiError => e
782
- puts "Exception when calling TicketingApi->get_event: #{e}"
1002
+ puts "Error when calling TicketingApi->get_event: #{e}"
783
1003
  end
784
1004
  ```
785
1005
 
786
- ### Parameters
1006
+ #### Using the get_event_with_http_info variant
1007
+
1008
+ This returns an Array which contains the response data, status code and headers.
1009
+
1010
+ > <Array(<Event>, Integer, Hash)> get_event_with_http_info(korona_account_id, event_id)
1011
+
1012
+ ```ruby
1013
+ begin
1014
+ # returns the single event
1015
+ data, status_code, headers = api_instance.get_event_with_http_info(korona_account_id, event_id)
1016
+ p status_code # => 2xx
1017
+ p headers # => { ... }
1018
+ p data # => <Event>
1019
+ rescue KoronaCloudClient::ApiError => e
1020
+ puts "Error when calling TicketingApi->get_event_with_http_info: #{e}"
1021
+ end
1022
+ ```
787
1023
 
1024
+ ### Parameters
788
1025
 
789
- Name | Type | Description | Notes
790
- ------------- | ------------- | ------------- | -------------
791
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
792
- **event_id** | **String**| id of the related object (important: id should match the uuid-format) |
1026
+ | Name | Type | Description | Notes |
1027
+ | ---- | ---- | ----------- | ----- |
1028
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1029
+ | **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
793
1030
 
794
1031
  ### Return type
795
1032
 
@@ -807,14 +1044,14 @@ Name | Type | Description | Notes
807
1044
 
808
1045
  ## get_events
809
1046
 
810
- > ResultListEvent get_events(korona_account_id, opts)
1047
+ > <ResultListEvent> get_events(korona_account_id, opts)
811
1048
 
812
1049
  lists all events
813
1050
 
814
- ### Example
1051
+ ### Examples
815
1052
 
816
1053
  ```ruby
817
- # load the gem
1054
+ require 'time'
818
1055
  require 'korona-cloud-client'
819
1056
  # setup authorization
820
1057
  KoronaCloudClient.configure do |config|
@@ -829,30 +1066,51 @@ opts = {
829
1066
  page: 56, # Integer | number of the page to fetch
830
1067
  size: 56, # Integer | amount of objects to return per page
831
1068
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
832
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
833
- include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
1069
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
1070
+ include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
1071
+ min_start_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
1072
+ max_start_time: Time.parse('2013-10-20T19:20:30+01:00') # Time | max (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
834
1073
  }
835
1074
 
836
1075
  begin
837
- #lists all events
1076
+ # lists all events
838
1077
  result = api_instance.get_events(korona_account_id, opts)
839
1078
  p result
840
1079
  rescue KoronaCloudClient::ApiError => e
841
- puts "Exception when calling TicketingApi->get_events: #{e}"
1080
+ puts "Error when calling TicketingApi->get_events: #{e}"
842
1081
  end
843
1082
  ```
844
1083
 
845
- ### Parameters
1084
+ #### Using the get_events_with_http_info variant
1085
+
1086
+ This returns an Array which contains the response data, status code and headers.
1087
+
1088
+ > <Array(<ResultListEvent>, Integer, Hash)> get_events_with_http_info(korona_account_id, opts)
1089
+
1090
+ ```ruby
1091
+ begin
1092
+ # lists all events
1093
+ data, status_code, headers = api_instance.get_events_with_http_info(korona_account_id, opts)
1094
+ p status_code # => 2xx
1095
+ p headers # => { ... }
1096
+ p data # => <ResultListEvent>
1097
+ rescue KoronaCloudClient::ApiError => e
1098
+ puts "Error when calling TicketingApi->get_events_with_http_info: #{e}"
1099
+ end
1100
+ ```
846
1101
 
1102
+ ### Parameters
847
1103
 
848
- Name | Type | Description | Notes
849
- ------------- | ------------- | ------------- | -------------
850
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
851
- **page** | **Integer**| number of the page to fetch | [optional]
852
- **size** | **Integer**| amount of objects to return per page | [optional]
853
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
854
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
855
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
1104
+ | Name | Type | Description | Notes |
1105
+ | ---- | ---- | ----------- | ----- |
1106
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1107
+ | **page** | **Integer** | number of the page to fetch | [optional] |
1108
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
1109
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
1110
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
1111
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
1112
+ | **min_start_time** | **Time** | min (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
1113
+ | **max_start_time** | **Time** | max (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
856
1114
 
857
1115
  ### Return type
858
1116
 
@@ -870,14 +1128,14 @@ Name | Type | Description | Notes
870
1128
 
871
1129
  ## get_ticket_definition
872
1130
 
873
- > TicketDefinition get_ticket_definition(korona_account_id, ticket_definition_id)
1131
+ > <TicketDefinition> get_ticket_definition(korona_account_id, ticket_definition_id)
874
1132
 
875
1133
  returns the single ticket definition
876
1134
 
877
- ### Example
1135
+ ### Examples
878
1136
 
879
1137
  ```ruby
880
- # load the gem
1138
+ require 'time'
881
1139
  require 'korona-cloud-client'
882
1140
  # setup authorization
883
1141
  KoronaCloudClient.configure do |config|
@@ -891,21 +1149,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
891
1149
  ticket_definition_id = 'ticket_definition_id_example' # String | id of the related object (important: id should match the uuid-format)
892
1150
 
893
1151
  begin
894
- #returns the single ticket definition
1152
+ # returns the single ticket definition
895
1153
  result = api_instance.get_ticket_definition(korona_account_id, ticket_definition_id)
896
1154
  p result
897
1155
  rescue KoronaCloudClient::ApiError => e
898
- puts "Exception when calling TicketingApi->get_ticket_definition: #{e}"
1156
+ puts "Error when calling TicketingApi->get_ticket_definition: #{e}"
899
1157
  end
900
1158
  ```
901
1159
 
902
- ### Parameters
1160
+ #### Using the get_ticket_definition_with_http_info variant
903
1161
 
1162
+ This returns an Array which contains the response data, status code and headers.
904
1163
 
905
- Name | Type | Description | Notes
906
- ------------- | ------------- | ------------- | -------------
907
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
908
- **ticket_definition_id** | **String**| id of the related object (important: id should match the uuid-format) |
1164
+ > <Array(<TicketDefinition>, Integer, Hash)> get_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
1165
+
1166
+ ```ruby
1167
+ begin
1168
+ # returns the single ticket definition
1169
+ data, status_code, headers = api_instance.get_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
1170
+ p status_code # => 2xx
1171
+ p headers # => { ... }
1172
+ p data # => <TicketDefinition>
1173
+ rescue KoronaCloudClient::ApiError => e
1174
+ puts "Error when calling TicketingApi->get_ticket_definition_with_http_info: #{e}"
1175
+ end
1176
+ ```
1177
+
1178
+ ### Parameters
1179
+
1180
+ | Name | Type | Description | Notes |
1181
+ | ---- | ---- | ----------- | ----- |
1182
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1183
+ | **ticket_definition_id** | **String** | id of the related object (important: id should match the uuid-format) | |
909
1184
 
910
1185
  ### Return type
911
1186
 
@@ -923,14 +1198,14 @@ Name | Type | Description | Notes
923
1198
 
924
1199
  ## get_ticket_definitions
925
1200
 
926
- > ResultListTicketDefinition get_ticket_definitions(korona_account_id, opts)
1201
+ > <ResultListTicketDefinition> get_ticket_definitions(korona_account_id, opts)
927
1202
 
928
1203
  lists all ticket definitions
929
1204
 
930
- ### Example
1205
+ ### Examples
931
1206
 
932
1207
  ```ruby
933
- # load the gem
1208
+ require 'time'
934
1209
  require 'korona-cloud-client'
935
1210
  # setup authorization
936
1211
  KoronaCloudClient.configure do |config|
@@ -945,30 +1220,47 @@ opts = {
945
1220
  page: 56, # Integer | number of the page to fetch
946
1221
  size: 56, # Integer | amount of objects to return per page
947
1222
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
948
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
1223
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
949
1224
  include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
950
1225
  }
951
1226
 
952
1227
  begin
953
- #lists all ticket definitions
1228
+ # lists all ticket definitions
954
1229
  result = api_instance.get_ticket_definitions(korona_account_id, opts)
955
1230
  p result
956
1231
  rescue KoronaCloudClient::ApiError => e
957
- puts "Exception when calling TicketingApi->get_ticket_definitions: #{e}"
1232
+ puts "Error when calling TicketingApi->get_ticket_definitions: #{e}"
958
1233
  end
959
1234
  ```
960
1235
 
961
- ### Parameters
1236
+ #### Using the get_ticket_definitions_with_http_info variant
1237
+
1238
+ This returns an Array which contains the response data, status code and headers.
1239
+
1240
+ > <Array(<ResultListTicketDefinition>, Integer, Hash)> get_ticket_definitions_with_http_info(korona_account_id, opts)
1241
+
1242
+ ```ruby
1243
+ begin
1244
+ # lists all ticket definitions
1245
+ data, status_code, headers = api_instance.get_ticket_definitions_with_http_info(korona_account_id, opts)
1246
+ p status_code # => 2xx
1247
+ p headers # => { ... }
1248
+ p data # => <ResultListTicketDefinition>
1249
+ rescue KoronaCloudClient::ApiError => e
1250
+ puts "Error when calling TicketingApi->get_ticket_definitions_with_http_info: #{e}"
1251
+ end
1252
+ ```
962
1253
 
1254
+ ### Parameters
963
1255
 
964
- Name | Type | Description | Notes
965
- ------------- | ------------- | ------------- | -------------
966
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
967
- **page** | **Integer**| number of the page to fetch | [optional]
968
- **size** | **Integer**| amount of objects to return per page | [optional]
969
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
970
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
971
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
1256
+ | Name | Type | Description | Notes |
1257
+ | ---- | ---- | ----------- | ----- |
1258
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1259
+ | **page** | **Integer** | number of the page to fetch | [optional] |
1260
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
1261
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
1262
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
1263
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
972
1264
 
973
1265
  ### Return type
974
1266
 
@@ -986,14 +1278,14 @@ Name | Type | Description | Notes
986
1278
 
987
1279
  ## get_tickets
988
1280
 
989
- > ResultListTicket get_tickets(korona_account_id, page, size, opts)
1281
+ > <ResultListTicket> get_tickets(korona_account_id, page, size, opts)
990
1282
 
991
1283
  lists all tickets
992
1284
 
993
- ### Example
1285
+ ### Examples
994
1286
 
995
1287
  ```ruby
996
- # load the gem
1288
+ require 'time'
997
1289
  require 'korona-cloud-client'
998
1290
  # setup authorization
999
1291
  KoronaCloudClient.configure do |config|
@@ -1009,8 +1301,8 @@ size = 56 # Integer | amount of objects to return per page
1009
1301
  opts = {
1010
1302
  ticket_number: 'ticket_number_example', # String | ticket number
1011
1303
  customer_number: 'customer_number_example', # String | customer number
1012
- creation_date_from: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | creation date from
1013
- creation_date_to: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | creation date to
1304
+ creation_date_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation date from
1305
+ creation_date_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation date to
1014
1306
  locked: true, # Boolean | is ticket locked
1015
1307
  owner_last_name: 'owner_last_name_example', # String | last name of owner
1016
1308
  owner_first_name: 'owner_first_name_example', # String | first name of owner
@@ -1018,30 +1310,47 @@ opts = {
1018
1310
  }
1019
1311
 
1020
1312
  begin
1021
- #lists all tickets
1313
+ # lists all tickets
1022
1314
  result = api_instance.get_tickets(korona_account_id, page, size, opts)
1023
1315
  p result
1024
1316
  rescue KoronaCloudClient::ApiError => e
1025
- puts "Exception when calling TicketingApi->get_tickets: #{e}"
1317
+ puts "Error when calling TicketingApi->get_tickets: #{e}"
1026
1318
  end
1027
1319
  ```
1028
1320
 
1029
- ### Parameters
1321
+ #### Using the get_tickets_with_http_info variant
1030
1322
 
1323
+ This returns an Array which contains the response data, status code and headers.
1031
1324
 
1032
- Name | Type | Description | Notes
1033
- ------------- | ------------- | ------------- | -------------
1034
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1035
- **page** | **Integer**| number of the page to fetch |
1036
- **size** | **Integer**| amount of objects to return per page |
1037
- **ticket_number** | **String**| ticket number | [optional]
1038
- **customer_number** | **String**| customer number | [optional]
1039
- **creation_date_from** | **DateTime**| creation date from | [optional]
1040
- **creation_date_to** | **DateTime**| creation date to | [optional]
1041
- **locked** | **Boolean**| is ticket locked | [optional]
1042
- **owner_last_name** | **String**| last name of owner | [optional]
1043
- **owner_first_name** | **String**| first name of owner | [optional]
1044
- **load_owner_image** | **Boolean**| set true if you want to load the owner&#39;s image | [optional]
1325
+ > <Array(<ResultListTicket>, Integer, Hash)> get_tickets_with_http_info(korona_account_id, page, size, opts)
1326
+
1327
+ ```ruby
1328
+ begin
1329
+ # lists all tickets
1330
+ data, status_code, headers = api_instance.get_tickets_with_http_info(korona_account_id, page, size, opts)
1331
+ p status_code # => 2xx
1332
+ p headers # => { ... }
1333
+ p data # => <ResultListTicket>
1334
+ rescue KoronaCloudClient::ApiError => e
1335
+ puts "Error when calling TicketingApi->get_tickets_with_http_info: #{e}"
1336
+ end
1337
+ ```
1338
+
1339
+ ### Parameters
1340
+
1341
+ | Name | Type | Description | Notes |
1342
+ | ---- | ---- | ----------- | ----- |
1343
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1344
+ | **page** | **Integer** | number of the page to fetch | |
1345
+ | **size** | **Integer** | amount of objects to return per page | |
1346
+ | **ticket_number** | **String** | ticket number | [optional] |
1347
+ | **customer_number** | **String** | customer number | [optional] |
1348
+ | **creation_date_from** | **Time** | creation date from | [optional] |
1349
+ | **creation_date_to** | **Time** | creation date to | [optional] |
1350
+ | **locked** | **Boolean** | is ticket locked | [optional] |
1351
+ | **owner_last_name** | **String** | last name of owner | [optional] |
1352
+ | **owner_first_name** | **String** | first name of owner | [optional] |
1353
+ | **load_owner_image** | **Boolean** | set true if you want to load the owner&#39;s image | [optional] |
1045
1354
 
1046
1355
  ### Return type
1047
1356
 
@@ -1063,10 +1372,10 @@ Name | Type | Description | Notes
1063
1372
 
1064
1373
  locks the single ticket
1065
1374
 
1066
- ### Example
1375
+ ### Examples
1067
1376
 
1068
1377
  ```ruby
1069
- # load the gem
1378
+ require 'time'
1070
1379
  require 'korona-cloud-client'
1071
1380
  # setup authorization
1072
1381
  KoronaCloudClient.configure do |config|
@@ -1080,20 +1389,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
1080
1389
  ticket_number = 'ticket_number_example' # String | id of the related object (important: id should match the uuid-format)
1081
1390
 
1082
1391
  begin
1083
- #locks the single ticket
1392
+ # locks the single ticket
1084
1393
  api_instance.lock_ticket(korona_account_id, ticket_number)
1085
1394
  rescue KoronaCloudClient::ApiError => e
1086
- puts "Exception when calling TicketingApi->lock_ticket: #{e}"
1395
+ puts "Error when calling TicketingApi->lock_ticket: #{e}"
1087
1396
  end
1088
1397
  ```
1089
1398
 
1090
- ### Parameters
1399
+ #### Using the lock_ticket_with_http_info variant
1400
+
1401
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1402
+
1403
+ > <Array(nil, Integer, Hash)> lock_ticket_with_http_info(korona_account_id, ticket_number)
1404
+
1405
+ ```ruby
1406
+ begin
1407
+ # locks the single ticket
1408
+ data, status_code, headers = api_instance.lock_ticket_with_http_info(korona_account_id, ticket_number)
1409
+ p status_code # => 2xx
1410
+ p headers # => { ... }
1411
+ p data # => nil
1412
+ rescue KoronaCloudClient::ApiError => e
1413
+ puts "Error when calling TicketingApi->lock_ticket_with_http_info: #{e}"
1414
+ end
1415
+ ```
1091
1416
 
1417
+ ### Parameters
1092
1418
 
1093
- Name | Type | Description | Notes
1094
- ------------- | ------------- | ------------- | -------------
1095
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1096
- **ticket_number** | **String**| id of the related object (important: id should match the uuid-format) |
1419
+ | Name | Type | Description | Notes |
1420
+ | ---- | ---- | ----------- | ----- |
1421
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1422
+ | **ticket_number** | **String** | id of the related object (important: id should match the uuid-format) | |
1097
1423
 
1098
1424
  ### Return type
1099
1425
 
@@ -1115,10 +1441,10 @@ nil (empty response body)
1115
1441
 
1116
1442
  unlocks the single ticket
1117
1443
 
1118
- ### Example
1444
+ ### Examples
1119
1445
 
1120
1446
  ```ruby
1121
- # load the gem
1447
+ require 'time'
1122
1448
  require 'korona-cloud-client'
1123
1449
  # setup authorization
1124
1450
  KoronaCloudClient.configure do |config|
@@ -1132,20 +1458,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
1132
1458
  ticket_number = 'ticket_number_example' # String | id of the related object (important: id should match the uuid-format)
1133
1459
 
1134
1460
  begin
1135
- #unlocks the single ticket
1461
+ # unlocks the single ticket
1136
1462
  api_instance.unlock_ticket(korona_account_id, ticket_number)
1137
1463
  rescue KoronaCloudClient::ApiError => e
1138
- puts "Exception when calling TicketingApi->unlock_ticket: #{e}"
1464
+ puts "Error when calling TicketingApi->unlock_ticket: #{e}"
1139
1465
  end
1140
1466
  ```
1141
1467
 
1142
- ### Parameters
1468
+ #### Using the unlock_ticket_with_http_info variant
1469
+
1470
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1471
+
1472
+ > <Array(nil, Integer, Hash)> unlock_ticket_with_http_info(korona_account_id, ticket_number)
1473
+
1474
+ ```ruby
1475
+ begin
1476
+ # unlocks the single ticket
1477
+ data, status_code, headers = api_instance.unlock_ticket_with_http_info(korona_account_id, ticket_number)
1478
+ p status_code # => 2xx
1479
+ p headers # => { ... }
1480
+ p data # => nil
1481
+ rescue KoronaCloudClient::ApiError => e
1482
+ puts "Error when calling TicketingApi->unlock_ticket_with_http_info: #{e}"
1483
+ end
1484
+ ```
1143
1485
 
1486
+ ### Parameters
1144
1487
 
1145
- Name | Type | Description | Notes
1146
- ------------- | ------------- | ------------- | -------------
1147
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1148
- **ticket_number** | **String**| id of the related object (important: id should match the uuid-format) |
1488
+ | Name | Type | Description | Notes |
1489
+ | ---- | ---- | ----------- | ----- |
1490
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1491
+ | **ticket_number** | **String** | id of the related object (important: id should match the uuid-format) | |
1149
1492
 
1150
1493
  ### Return type
1151
1494
 
@@ -1163,14 +1506,14 @@ nil (empty response body)
1163
1506
 
1164
1507
  ## update_entry_gates
1165
1508
 
1166
- > Array&lt;AddOrUpdateResult&gt; update_entry_gates(korona_account_id, body)
1509
+ > <Array<AddOrUpdateResult>> update_entry_gates(korona_account_id, body)
1167
1510
 
1168
1511
  updates a batch of entry gates
1169
1512
 
1170
- ### Example
1513
+ ### Examples
1171
1514
 
1172
1515
  ```ruby
1173
- # load the gem
1516
+ require 'time'
1174
1517
  require 'korona-cloud-client'
1175
1518
  # setup authorization
1176
1519
  KoronaCloudClient.configure do |config|
@@ -1184,21 +1527,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
1184
1527
  body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of existing entry gates (id or number required)
1185
1528
 
1186
1529
  begin
1187
- #updates a batch of entry gates
1530
+ # updates a batch of entry gates
1188
1531
  result = api_instance.update_entry_gates(korona_account_id, body)
1189
1532
  p result
1190
1533
  rescue KoronaCloudClient::ApiError => e
1191
- puts "Exception when calling TicketingApi->update_entry_gates: #{e}"
1534
+ puts "Error when calling TicketingApi->update_entry_gates: #{e}"
1192
1535
  end
1193
1536
  ```
1194
1537
 
1195
- ### Parameters
1538
+ #### Using the update_entry_gates_with_http_info variant
1539
+
1540
+ This returns an Array which contains the response data, status code and headers.
1541
+
1542
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_entry_gates_with_http_info(korona_account_id, body)
1196
1543
 
1544
+ ```ruby
1545
+ begin
1546
+ # updates a batch of entry gates
1547
+ data, status_code, headers = api_instance.update_entry_gates_with_http_info(korona_account_id, body)
1548
+ p status_code # => 2xx
1549
+ p headers # => { ... }
1550
+ p data # => <Array<AddOrUpdateResult>>
1551
+ rescue KoronaCloudClient::ApiError => e
1552
+ puts "Error when calling TicketingApi->update_entry_gates_with_http_info: #{e}"
1553
+ end
1554
+ ```
1555
+
1556
+ ### Parameters
1197
1557
 
1198
- Name | Type | Description | Notes
1199
- ------------- | ------------- | ------------- | -------------
1200
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1201
- **body** | [**Array&lt;EntryGate&gt;**](EntryGate.md)| array of existing entry gates (id or number required) |
1558
+ | Name | Type | Description | Notes |
1559
+ | ---- | ---- | ----------- | ----- |
1560
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1561
+ | **body** | [**Array&lt;EntryGate&gt;**](EntryGate.md) | array of existing entry gates (id or number required) | |
1202
1562
 
1203
1563
  ### Return type
1204
1564
 
@@ -1220,10 +1580,10 @@ Name | Type | Description | Notes
1220
1580
 
1221
1581
  updates the single event
1222
1582
 
1223
- ### Example
1583
+ ### Examples
1224
1584
 
1225
1585
  ```ruby
1226
- # load the gem
1586
+ require 'time'
1227
1587
  require 'korona-cloud-client'
1228
1588
  # setup authorization
1229
1589
  KoronaCloudClient.configure do |config|
@@ -1238,21 +1598,38 @@ event_id = 'event_id_example' # String | id of the related object (important: id
1238
1598
  body = KoronaCloudClient::Event.new # Event | the properties to update of the event
1239
1599
 
1240
1600
  begin
1241
- #updates the single event
1601
+ # updates the single event
1242
1602
  api_instance.update_event(korona_account_id, event_id, body)
1243
1603
  rescue KoronaCloudClient::ApiError => e
1244
- puts "Exception when calling TicketingApi->update_event: #{e}"
1604
+ puts "Error when calling TicketingApi->update_event: #{e}"
1245
1605
  end
1246
1606
  ```
1247
1607
 
1248
- ### Parameters
1608
+ #### Using the update_event_with_http_info variant
1249
1609
 
1610
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1250
1611
 
1251
- Name | Type | Description | Notes
1252
- ------------- | ------------- | ------------- | -------------
1253
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1254
- **event_id** | **String**| id of the related object (important: id should match the uuid-format) |
1255
- **body** | [**Event**](Event.md)| the properties to update of the event |
1612
+ > <Array(nil, Integer, Hash)> update_event_with_http_info(korona_account_id, event_id, body)
1613
+
1614
+ ```ruby
1615
+ begin
1616
+ # updates the single event
1617
+ data, status_code, headers = api_instance.update_event_with_http_info(korona_account_id, event_id, body)
1618
+ p status_code # => 2xx
1619
+ p headers # => { ... }
1620
+ p data # => nil
1621
+ rescue KoronaCloudClient::ApiError => e
1622
+ puts "Error when calling TicketingApi->update_event_with_http_info: #{e}"
1623
+ end
1624
+ ```
1625
+
1626
+ ### Parameters
1627
+
1628
+ | Name | Type | Description | Notes |
1629
+ | ---- | ---- | ----------- | ----- |
1630
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1631
+ | **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
1632
+ | **body** | [**Event**](Event.md) | the properties to update of the event | |
1256
1633
 
1257
1634
  ### Return type
1258
1635
 
@@ -1270,16 +1647,16 @@ nil (empty response body)
1270
1647
 
1271
1648
  ## update_events
1272
1649
 
1273
- > Array&lt;AddOrUpdateResult&gt; update_events(korona_account_id, body)
1650
+ > <Array<AddOrUpdateResult>> update_events(korona_account_id, body)
1274
1651
 
1275
1652
  updates a batch of events
1276
1653
 
1277
1654
  [number] must be set in the objects, otherwise the object cannot be updated
1278
1655
 
1279
- ### Example
1656
+ ### Examples
1280
1657
 
1281
1658
  ```ruby
1282
- # load the gem
1659
+ require 'time'
1283
1660
  require 'korona-cloud-client'
1284
1661
  # setup authorization
1285
1662
  KoronaCloudClient.configure do |config|
@@ -1293,21 +1670,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
1293
1670
  body = [KoronaCloudClient::Event.new] # Array<Event> | an array of existing events
1294
1671
 
1295
1672
  begin
1296
- #updates a batch of events
1673
+ # updates a batch of events
1297
1674
  result = api_instance.update_events(korona_account_id, body)
1298
1675
  p result
1299
1676
  rescue KoronaCloudClient::ApiError => e
1300
- puts "Exception when calling TicketingApi->update_events: #{e}"
1677
+ puts "Error when calling TicketingApi->update_events: #{e}"
1301
1678
  end
1302
1679
  ```
1303
1680
 
1304
- ### Parameters
1681
+ #### Using the update_events_with_http_info variant
1682
+
1683
+ This returns an Array which contains the response data, status code and headers.
1684
+
1685
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_events_with_http_info(korona_account_id, body)
1686
+
1687
+ ```ruby
1688
+ begin
1689
+ # updates a batch of events
1690
+ data, status_code, headers = api_instance.update_events_with_http_info(korona_account_id, body)
1691
+ p status_code # => 2xx
1692
+ p headers # => { ... }
1693
+ p data # => <Array<AddOrUpdateResult>>
1694
+ rescue KoronaCloudClient::ApiError => e
1695
+ puts "Error when calling TicketingApi->update_events_with_http_info: #{e}"
1696
+ end
1697
+ ```
1305
1698
 
1699
+ ### Parameters
1306
1700
 
1307
- Name | Type | Description | Notes
1308
- ------------- | ------------- | ------------- | -------------
1309
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1310
- **body** | [**Array&lt;Event&gt;**](Event.md)| an array of existing events |
1701
+ | Name | Type | Description | Notes |
1702
+ | ---- | ---- | ----------- | ----- |
1703
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1704
+ | **body** | [**Array&lt;Event&gt;**](Event.md) | an array of existing events | |
1311
1705
 
1312
1706
  ### Return type
1313
1707
 
@@ -1329,10 +1723,10 @@ Name | Type | Description | Notes
1329
1723
 
1330
1724
  updates the single ticket
1331
1725
 
1332
- ### Example
1726
+ ### Examples
1333
1727
 
1334
1728
  ```ruby
1335
- # load the gem
1729
+ require 'time'
1336
1730
  require 'korona-cloud-client'
1337
1731
  # setup authorization
1338
1732
  KoronaCloudClient.configure do |config|
@@ -1351,23 +1745,40 @@ opts = {
1351
1745
  }
1352
1746
 
1353
1747
  begin
1354
- #updates the single ticket
1748
+ # updates the single ticket
1355
1749
  api_instance.update_ticket(korona_account_id, ticket_number, opts)
1356
1750
  rescue KoronaCloudClient::ApiError => e
1357
- puts "Exception when calling TicketingApi->update_ticket: #{e}"
1751
+ puts "Error when calling TicketingApi->update_ticket: #{e}"
1358
1752
  end
1359
1753
  ```
1360
1754
 
1361
- ### Parameters
1755
+ #### Using the update_ticket_with_http_info variant
1362
1756
 
1757
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1363
1758
 
1364
- Name | Type | Description | Notes
1365
- ------------- | ------------- | ------------- | -------------
1366
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1367
- **ticket_number** | **String**| old ticket number |
1368
- **new_ticket_number** | **String**| new ticket number | [optional]
1369
- **first_name** | **String**| ticket owner&#39;s first name | [optional]
1370
- **last_name** | **String**| ticket owner&#39;s last name | [optional]
1759
+ > <Array(nil, Integer, Hash)> update_ticket_with_http_info(korona_account_id, ticket_number, opts)
1760
+
1761
+ ```ruby
1762
+ begin
1763
+ # updates the single ticket
1764
+ data, status_code, headers = api_instance.update_ticket_with_http_info(korona_account_id, ticket_number, opts)
1765
+ p status_code # => 2xx
1766
+ p headers # => { ... }
1767
+ p data # => nil
1768
+ rescue KoronaCloudClient::ApiError => e
1769
+ puts "Error when calling TicketingApi->update_ticket_with_http_info: #{e}"
1770
+ end
1771
+ ```
1772
+
1773
+ ### Parameters
1774
+
1775
+ | Name | Type | Description | Notes |
1776
+ | ---- | ---- | ----------- | ----- |
1777
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1778
+ | **ticket_number** | **String** | old ticket number | |
1779
+ | **new_ticket_number** | **String** | new ticket number | [optional] |
1780
+ | **first_name** | **String** | ticket owner&#39;s first name | [optional] |
1781
+ | **last_name** | **String** | ticket owner&#39;s last name | [optional] |
1371
1782
 
1372
1783
  ### Return type
1373
1784
 
@@ -1385,14 +1796,14 @@ nil (empty response body)
1385
1796
 
1386
1797
  ## update_ticket_definitions
1387
1798
 
1388
- > Array&lt;AddOrUpdateResult&gt; update_ticket_definitions(korona_account_id, body)
1799
+ > <Array<AddOrUpdateResult>> update_ticket_definitions(korona_account_id, body)
1389
1800
 
1390
1801
  updates a batch of ticket definitions
1391
1802
 
1392
- ### Example
1803
+ ### Examples
1393
1804
 
1394
1805
  ```ruby
1395
- # load the gem
1806
+ require 'time'
1396
1807
  require 'korona-cloud-client'
1397
1808
  # setup authorization
1398
1809
  KoronaCloudClient.configure do |config|
@@ -1406,21 +1817,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
1406
1817
  body = [KoronaCloudClient::TicketDefinition.new] # Array<TicketDefinition> | array of existing ticket definitions (id or number required)
1407
1818
 
1408
1819
  begin
1409
- #updates a batch of ticket definitions
1820
+ # updates a batch of ticket definitions
1410
1821
  result = api_instance.update_ticket_definitions(korona_account_id, body)
1411
1822
  p result
1412
1823
  rescue KoronaCloudClient::ApiError => e
1413
- puts "Exception when calling TicketingApi->update_ticket_definitions: #{e}"
1824
+ puts "Error when calling TicketingApi->update_ticket_definitions: #{e}"
1414
1825
  end
1415
1826
  ```
1416
1827
 
1417
- ### Parameters
1828
+ #### Using the update_ticket_definitions_with_http_info variant
1829
+
1830
+ This returns an Array which contains the response data, status code and headers.
1831
+
1832
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_ticket_definitions_with_http_info(korona_account_id, body)
1418
1833
 
1834
+ ```ruby
1835
+ begin
1836
+ # updates a batch of ticket definitions
1837
+ data, status_code, headers = api_instance.update_ticket_definitions_with_http_info(korona_account_id, body)
1838
+ p status_code # => 2xx
1839
+ p headers # => { ... }
1840
+ p data # => <Array<AddOrUpdateResult>>
1841
+ rescue KoronaCloudClient::ApiError => e
1842
+ puts "Error when calling TicketingApi->update_ticket_definitions_with_http_info: #{e}"
1843
+ end
1844
+ ```
1845
+
1846
+ ### Parameters
1419
1847
 
1420
- Name | Type | Description | Notes
1421
- ------------- | ------------- | ------------- | -------------
1422
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
1423
- **body** | [**Array&lt;TicketDefinition&gt;**](TicketDefinition.md)| array of existing ticket definitions (id or number required) |
1848
+ | Name | Type | Description | Notes |
1849
+ | ---- | ---- | ----------- | ----- |
1850
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1851
+ | **body** | [**Array&lt;TicketDefinition&gt;**](TicketDefinition.md) | array of existing ticket definitions (id or number required) | |
1424
1852
 
1425
1853
  ### Return type
1426
1854