korona-cloud-client 1.0.3 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +396 -26
  3. data/docs/Account.md +36 -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 +34 -35
  10. data/docs/AdditionalReceiptInfoTypesApi.md +426 -30
  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 +22 -21
  16. data/docs/AssortmentsApi.md +204 -86
  17. data/docs/Attendance.md +26 -25
  18. data/docs/BadRequestError.md +10 -9
  19. data/docs/Capacity.md +10 -9
  20. data/docs/Cashier.md +46 -43
  21. data/docs/CashierRole.md +18 -17
  22. data/docs/CashierRolesApi.md +204 -86
  23. data/docs/CashierSummary.md +18 -17
  24. data/docs/CashierVerificationRequirement.md +36 -0
  25. data/docs/CashierVerificationRequirementsApi.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 +20 -17
  32. data/docs/CommodityGroupSummary.md +14 -13
  33. data/docs/CommodityGroupsApi.md +204 -86
  34. data/docs/CompanyIdentification.md +10 -9
  35. data/docs/ContraAccount.md +24 -0
  36. data/docs/ContraAccountsApi.md +524 -0
  37. data/docs/CostCenter.md +24 -0
  38. data/docs/CostCentersApi.md +524 -0
  39. data/docs/Coupon.md +20 -0
  40. data/docs/CouponPosition.md +28 -0
  41. data/docs/CouponsApi.md +159 -0
  42. data/docs/CreationTask.md +28 -27
  43. data/docs/CurrenciesApi.md +149 -65
  44. data/docs/Currency.md +30 -29
  45. data/docs/CurrencyDenomination.md +10 -9
  46. data/docs/CurrencyExchangeRate.md +10 -9
  47. data/docs/Customer.md +54 -47
  48. data/docs/CustomerCard.md +10 -9
  49. data/docs/CustomerData.md +10 -9
  50. data/docs/CustomerDisplayConfiguration.md +50 -0
  51. data/docs/CustomerDisplayConfigurationsApi.md +450 -0
  52. data/docs/CustomerGroup.md +18 -17
  53. data/docs/CustomerGroupSummary.md +14 -13
  54. data/docs/CustomerGroupsApi.md +426 -30
  55. data/docs/CustomerInformation.md +12 -11
  56. data/docs/CustomerOrder.md +44 -43
  57. data/docs/CustomerOrderItem.md +46 -0
  58. data/docs/CustomerOrdersApi.md +192 -83
  59. data/docs/CustomersApi.md +204 -86
  60. data/docs/DateInterval.md +20 -0
  61. data/docs/DayRating.md +26 -25
  62. data/docs/DayTimePeriod.md +10 -9
  63. data/docs/DeliveryNote.md +38 -37
  64. data/docs/DeliveryNoteItem.md +22 -21
  65. data/docs/DeliveryNotesApi.md +230 -73
  66. data/docs/Deposit.md +16 -15
  67. data/docs/DeviceConfiguration.md +36 -0
  68. data/docs/DeviceConfigurationVariable.md +26 -0
  69. data/docs/DeviceConfigurationVariableValue.md +20 -0
  70. data/docs/DeviceConfigurationVariablesApi.md +448 -0
  71. data/docs/DeviceInformation.md +10 -9
  72. data/docs/DeviceParameterItem.md +22 -0
  73. data/docs/Discount.md +16 -11
  74. data/docs/DiscountConfiguration.md +32 -0
  75. data/docs/DiscountConfigurationsApi.md +524 -0
  76. data/docs/DiscountLevel.md +28 -0
  77. data/docs/DiscountLevelsApi.md +524 -0
  78. data/docs/DispatchNotification.md +62 -0
  79. data/docs/DispatchNotificationItem.md +36 -0
  80. data/docs/DispatchNotificationItemAmount.md +20 -0
  81. data/docs/DispatchNotificationItemContainer.md +20 -0
  82. data/docs/DispatchNotificationItemIdentification.md +22 -0
  83. data/docs/DispatchNotificationItemImport.md +30 -0
  84. data/docs/DispatchNotificationsApi.md +918 -0
  85. data/docs/EconomicZone.md +16 -15
  86. data/docs/EconomicZonesApi.md +149 -65
  87. data/docs/EndOfDayStatement.md +24 -23
  88. data/docs/EndOfDayStatementSummary.md +18 -17
  89. data/docs/EntryGate.md +20 -19
  90. data/docs/Event.md +30 -29
  91. data/docs/ExternalSystemCall.md +34 -31
  92. data/docs/ExternalSystemCallsApi.md +204 -86
  93. data/docs/FiscalTransaction.md +34 -33
  94. data/docs/FiscalUnit.md +44 -41
  95. data/docs/FiscalUnitCertificateInfo.md +10 -9
  96. data/docs/FiscalUnitPreConfiguration.md +28 -0
  97. data/docs/FiscalUnitState.md +18 -17
  98. data/docs/FiscalUnitStateUsageLevel.md +14 -13
  99. data/docs/FiscalUnitStateUsageLevelValue.md +10 -9
  100. data/docs/FiscalUnitStateVersionInfo.md +12 -11
  101. data/docs/FiscalUnitsApi.md +152 -68
  102. data/docs/ForbiddenError.md +10 -9
  103. data/docs/GeoLocation.md +10 -9
  104. data/docs/ImagesApi.md +29 -13
  105. data/docs/InfoText.md +20 -17
  106. data/docs/InfoTextsApi.md +149 -65
  107. data/docs/Interval.md +10 -9
  108. data/docs/InventoriesApi.md +526 -217
  109. data/docs/Inventory.md +44 -43
  110. data/docs/InventoryList.md +38 -35
  111. data/docs/InventoryListItem.md +18 -17
  112. data/docs/InventoryListItemStock.md +10 -9
  113. data/docs/ItemSequence.md +26 -0
  114. data/docs/ItemSequencesApi.md +524 -0
  115. data/docs/KoronaAccount.md +30 -27
  116. data/docs/KoronaAccountApi.md +29 -13
  117. data/docs/LanguageResource.md +28 -0
  118. data/docs/LanguagesApi.md +524 -0
  119. data/docs/MediaUrl.md +8 -7
  120. data/docs/Message.md +22 -0
  121. data/docs/MessagesApi.md +78 -0
  122. data/docs/MethodNotAllowedError.md +10 -9
  123. data/docs/ModelReference.md +12 -11
  124. data/docs/NotFoundError.md +10 -9
  125. data/docs/NumberRange.md +26 -0
  126. data/docs/NumberRangeConfiguration.md +28 -0
  127. data/docs/NumberRangeConfigurationsApi.md +305 -0
  128. data/docs/OpeningHours.md +12 -11
  129. data/docs/OrganizationalUnit.md +36 -33
  130. data/docs/OrganizationalUnitsApi.md +721 -174
  131. data/docs/Payment.md +22 -15
  132. data/docs/PaymentMethod.md +44 -33
  133. data/docs/PaymentMethodCategoriesApi.md +524 -0
  134. data/docs/PaymentMethodCategory.md +26 -0
  135. data/docs/PaymentMethodsApi.md +426 -30
  136. data/docs/PaymentServiceConfiguration.md +26 -0
  137. data/docs/PaymentSummary.md +12 -11
  138. data/docs/PaymentTerminalReceipt.md +20 -0
  139. data/docs/Period.md +12 -11
  140. data/docs/PeriodListTopSeller.md +12 -11
  141. data/docs/PeriodMapStringRevenueData.md +12 -11
  142. data/docs/PeriodObject.md +12 -11
  143. data/docs/PeriodRevenueData.md +12 -11
  144. data/docs/PointsOfSaleApi.md +514 -136
  145. data/docs/Pos.md +78 -51
  146. data/docs/PosBalance.md +44 -0
  147. data/docs/PosBalanceItem.md +26 -0
  148. data/docs/PosBalanceSummary.md +22 -0
  149. data/docs/PosBalanceSummaryChangeset.md +26 -0
  150. data/docs/PosBalanceTotal.md +20 -0
  151. data/docs/PosButton.md +32 -0
  152. data/docs/PosButtonFunction.md +40 -0
  153. data/docs/PosButtonLayout.md +30 -0
  154. data/docs/PosButtonLayoutsApi.md +524 -0
  155. data/docs/PosPageLayout.md +26 -0
  156. data/docs/PosPageLayoutConfiguration.md +34 -0
  157. data/docs/PosPageLayoutConfigurationsApi.md +524 -0
  158. data/docs/PosProfile.md +110 -0
  159. data/docs/PosProfilesApi.md +524 -0
  160. data/docs/PrepaidCard.md +20 -0
  161. data/docs/PriceGroup.md +20 -19
  162. data/docs/PriceGroupsApi.md +149 -65
  163. data/docs/PriceRule.md +38 -0
  164. data/docs/PriceRuleCalculation.md +20 -0
  165. data/docs/PriceRuleCondition.md +30 -0
  166. data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
  167. data/docs/PriceRuleValidityPeriod.md +22 -0
  168. data/docs/PriceRulesApi.md +520 -0
  169. data/docs/Product.md +100 -93
  170. data/docs/ProductCode.md +12 -11
  171. data/docs/ProductDescription.md +12 -11
  172. data/docs/ProductPrice.md +16 -15
  173. data/docs/ProductSpecialPrice.md +22 -0
  174. data/docs/ProductStock.md +16 -15
  175. data/docs/ProductSubproduct.md +16 -11
  176. data/docs/ProductSupplierPrice.md +16 -15
  177. data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
  178. data/docs/ProductTransferInvolvedPartyInformationData.md +10 -11
  179. data/docs/ProductionType.md +24 -23
  180. data/docs/ProductionTypeSetting.md +18 -0
  181. data/docs/ProductionTypesApi.md +149 -65
  182. data/docs/ProductsApi.md +330 -111
  183. data/docs/Promotion.md +44 -0
  184. data/docs/PromotionApplication.md +22 -0
  185. data/docs/PromotionBenefit.md +26 -0
  186. data/docs/PromotionBenefitCommonDiscount.md +34 -0
  187. data/docs/PromotionBenefitExtendedDiscount.md +20 -0
  188. data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +28 -0
  189. data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
  190. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
  191. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
  192. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
  193. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
  194. data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +30 -0
  195. data/docs/PromotionBenefitReduceProductAmount.md +20 -0
  196. data/docs/PromotionBonuspoint.md +20 -0
  197. data/docs/PromotionBonuspointCreation.md +24 -0
  198. data/docs/PromotionBonuspointRedemption.md +24 -0
  199. data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
  200. data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
  201. data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
  202. data/docs/PromotionCoupon.md +24 -0
  203. data/docs/PromotionCouponValidity.md +22 -0
  204. data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
  205. data/docs/PromotionLayer.md +20 -0
  206. data/docs/PromotionStamp.md +22 -0
  207. data/docs/PromotionTrigger.md +32 -0
  208. data/docs/PromotionTriggerProductAmountCondition.md +22 -0
  209. data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
  210. data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
  211. data/docs/PromotionTriggerTagAmountCondition.md +22 -0
  212. data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
  213. data/docs/PromotionValidity.md +26 -0
  214. data/docs/PromotionsApi.md +520 -0
  215. data/docs/Rating.md +12 -11
  216. data/docs/Receipt.md +86 -65
  217. data/docs/ReceiptItem.md +52 -33
  218. data/docs/ReceiptItemReturnReason.md +18 -0
  219. data/docs/ReceiptLayoutConfiguration.md +56 -0
  220. data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
  221. data/docs/ReceiptMaxRevisions.md +18 -17
  222. data/docs/ReceiptRevenue.md +20 -0
  223. data/docs/ReceiptTotal.md +22 -0
  224. data/docs/ReceiptsApi.md +155 -47
  225. data/docs/ReportFile.md +32 -0
  226. data/docs/ReportFilesApi.md +520 -0
  227. data/docs/ResultList.md +18 -17
  228. data/docs/ResultListAccount.md +18 -17
  229. data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
  230. data/docs/ResultListAssortment.md +18 -17
  231. data/docs/ResultListAttendance.md +18 -17
  232. data/docs/ResultListCashier.md +18 -17
  233. data/docs/ResultListCashierRole.md +18 -17
  234. data/docs/ResultListCashierVerificationRequirement.md +28 -0
  235. data/docs/ResultListCommodityGroup.md +18 -17
  236. data/docs/ResultListContraAccount.md +28 -0
  237. data/docs/ResultListCostCenter.md +28 -0
  238. data/docs/ResultListCoupon.md +28 -0
  239. data/docs/ResultListCreationTask.md +18 -17
  240. data/docs/ResultListCurrency.md +18 -17
  241. data/docs/ResultListCustomer.md +18 -17
  242. data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
  243. data/docs/ResultListCustomerGroup.md +18 -17
  244. data/docs/ResultListCustomerOrder.md +18 -17
  245. data/docs/ResultListDayRating.md +18 -17
  246. data/docs/ResultListDeliveryNote.md +18 -17
  247. data/docs/ResultListDeviceConfigurationVariable.md +28 -0
  248. data/docs/ResultListDiscountConfiguration.md +28 -0
  249. data/docs/ResultListDiscountLevel.md +28 -0
  250. data/docs/ResultListDispatchNotification.md +28 -0
  251. data/docs/ResultListDispatchNotificationItem.md +28 -0
  252. data/docs/ResultListEconomicZone.md +18 -17
  253. data/docs/ResultListEndOfDayStatement.md +18 -17
  254. data/docs/ResultListEntryGate.md +18 -17
  255. data/docs/ResultListEvent.md +18 -17
  256. data/docs/ResultListExternalSystemCall.md +18 -17
  257. data/docs/ResultListFiscalUnit.md +18 -17
  258. data/docs/ResultListInfoText.md +18 -17
  259. data/docs/ResultListInventory.md +18 -17
  260. data/docs/ResultListInventoryList.md +18 -17
  261. data/docs/ResultListInventoryListItem.md +18 -17
  262. data/docs/ResultListItemSequence.md +28 -0
  263. data/docs/ResultListLanguageResource.md +28 -0
  264. data/docs/ResultListNumberRangeConfiguration.md +28 -0
  265. data/docs/ResultListOrganizationalUnit.md +18 -17
  266. data/docs/ResultListPaymentMethod.md +18 -17
  267. data/docs/ResultListPaymentMethodCategory.md +28 -0
  268. data/docs/ResultListPos.md +18 -17
  269. data/docs/ResultListPosBalance.md +28 -0
  270. data/docs/ResultListPosButtonLayout.md +28 -0
  271. data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
  272. data/docs/ResultListPosProfile.md +28 -0
  273. data/docs/ResultListPriceGroup.md +18 -17
  274. data/docs/ResultListPriceRule.md +28 -0
  275. data/docs/ResultListProduct.md +18 -17
  276. data/docs/ResultListProductStock.md +18 -17
  277. data/docs/ResultListProductionType.md +18 -17
  278. data/docs/ResultListPromotion.md +28 -0
  279. data/docs/ResultListReceipt.md +18 -17
  280. data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
  281. data/docs/ResultListReportFile.md +28 -0
  282. data/docs/ResultListRevenueAccount.md +28 -0
  283. data/docs/ResultListSalesTax.md +18 -17
  284. data/docs/ResultListSector.md +18 -17
  285. data/docs/ResultListSpecialPriceConfiguration.md +28 -0
  286. data/docs/ResultListStockAdjustment.md +28 -0
  287. data/docs/ResultListStockAdjustmentItem.md +28 -0
  288. data/docs/ResultListStockOrder.md +18 -17
  289. data/docs/ResultListStockOrderItem.md +28 -0
  290. data/docs/ResultListStockReceipt.md +18 -17
  291. data/docs/ResultListStockReceiptItem.md +18 -17
  292. data/docs/ResultListStoreOrder.md +28 -0
  293. data/docs/ResultListStoreOrderItem.md +28 -0
  294. data/docs/ResultListSupplier.md +18 -17
  295. data/docs/ResultListTag.md +18 -17
  296. data/docs/ResultListTicket.md +18 -17
  297. data/docs/ResultListTicketDefinition.md +18 -17
  298. data/docs/ResultListTimeTrackingEntity.md +18 -17
  299. data/docs/ResultListTimeTrackingEntry.md +18 -17
  300. data/docs/ResultListUserRole.md +28 -0
  301. data/docs/ResultListVoucherConfiguration.md +28 -0
  302. data/docs/ResultListVoucherResource.md +28 -0
  303. data/docs/ResultListVoucherTransactionResource.md +28 -0
  304. data/docs/RevenueAccount.md +26 -0
  305. data/docs/RevenueAccountsApi.md +524 -0
  306. data/docs/RevenueData.md +16 -15
  307. data/docs/SalesTax.md +26 -23
  308. data/docs/SalesTaxRate.md +10 -9
  309. data/docs/SalesTaxesApi.md +149 -65
  310. data/docs/Sector.md +20 -19
  311. data/docs/SectorRevenueAccountItem.md +10 -9
  312. data/docs/SectorSalesTaxItem.md +10 -9
  313. data/docs/SectorsApi.md +149 -65
  314. data/docs/Service.md +12 -9
  315. data/docs/Signature.md +12 -11
  316. data/docs/SpecialPrice.md +22 -0
  317. data/docs/SpecialPriceConfiguration.md +32 -0
  318. data/docs/SpecialPriceConfigurationsApi.md +449 -0
  319. data/docs/Statistic.md +12 -11
  320. data/docs/StatisticListTopSeller.md +12 -11
  321. data/docs/StatisticMapStringRevenueData.md +12 -11
  322. data/docs/StatisticRevenueData.md +12 -11
  323. data/docs/StatisticsApi.md +123 -56
  324. data/docs/StockAdjustment.md +44 -0
  325. data/docs/StockAdjustmentItem.md +24 -0
  326. data/docs/StockAdjustmentItemReason.md +20 -0
  327. data/docs/StockAdjustmentsApi.md +834 -0
  328. data/docs/StockOrder.md +66 -63
  329. data/docs/StockOrderItem.md +30 -29
  330. data/docs/StockOrdersApi.md +263 -54
  331. data/docs/StockReceipt.md +54 -53
  332. data/docs/StockReceiptItem.md +20 -19
  333. data/docs/StockReceiptItemAmount.md +10 -9
  334. data/docs/StockReceiptItemIdentification.md +12 -11
  335. data/docs/StockReceiptItemPurchasePrice.md +10 -9
  336. data/docs/StockReceiptsApi.md +336 -150
  337. data/docs/StoreOrder.md +42 -0
  338. data/docs/StoreOrderItem.md +24 -0
  339. data/docs/StoreOrdersApi.md +840 -0
  340. data/docs/Supplier.md +32 -29
  341. data/docs/SupplierContact.md +14 -13
  342. data/docs/SupplierContactPerson.md +20 -19
  343. data/docs/SupplierPaymentInformation.md +24 -23
  344. data/docs/SuppliersApi.md +149 -65
  345. data/docs/Tag.md +16 -15
  346. data/docs/TagsApi.md +203 -85
  347. data/docs/TaxPayment.md +14 -13
  348. data/docs/TaxSummary.md +12 -11
  349. data/docs/TerminalReceiptPrintLine.md +20 -0
  350. data/docs/Ticket.md +20 -19
  351. data/docs/TicketData.md +28 -27
  352. data/docs/TicketDefinition.md +38 -29
  353. data/docs/TicketPersonalization.md +14 -13
  354. data/docs/TicketingApi.md +886 -310
  355. data/docs/TimeOfDayInterval.md +20 -0
  356. data/docs/TimePeriod.md +20 -19
  357. data/docs/TimeTrackingApi.md +214 -113
  358. data/docs/TimeTrackingEntity.md +18 -17
  359. data/docs/TimeTrackingEntry.md +20 -19
  360. data/docs/TooManyRequestsError.md +10 -9
  361. data/docs/TopSeller.md +16 -15
  362. data/docs/TotalPeriod.md +10 -9
  363. data/docs/TotalPrice.md +16 -15
  364. data/docs/UserRole.md +28 -0
  365. data/docs/UserRolesApi.md +520 -0
  366. data/docs/Validity.md +14 -13
  367. data/docs/VoidedReceiptItem.md +18 -15
  368. data/docs/VoucherConfiguration.md +50 -0
  369. data/docs/VoucherConfigurationDiscountCalculation.md +22 -0
  370. data/docs/VoucherConfigurationFollowUpProducts.md +22 -0
  371. data/docs/VoucherConfigurationsApi.md +522 -0
  372. data/docs/VoucherResource.md +36 -0
  373. data/docs/VoucherTransaction.md +38 -0
  374. data/docs/VoucherTransactionResource.md +60 -0
  375. data/docs/VouchersApi.md +1126 -0
  376. data/docs/Weather.md +12 -11
  377. data/git_push.sh +3 -4
  378. data/korona-cloud-client.gemspec +3 -4
  379. data/lib/korona-cloud-client/api/accounts_api.rb +380 -10
  380. data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +378 -8
  381. data/lib/korona-cloud-client/api/assortments_api.rb +46 -27
  382. data/lib/korona-cloud-client/api/cashier_roles_api.rb +46 -27
  383. data/lib/korona-cloud-client/api/cashier_verification_requirements_api.rb +387 -0
  384. data/lib/korona-cloud-client/api/cashiers_api.rb +46 -27
  385. data/lib/korona-cloud-client/api/commodity_groups_api.rb +46 -27
  386. data/lib/korona-cloud-client/api/contra_accounts_api.rb +536 -0
  387. data/lib/korona-cloud-client/api/cost_centers_api.rb +536 -0
  388. data/lib/korona-cloud-client/api/coupons_api.rb +165 -0
  389. data/lib/korona-cloud-client/api/currencies_api.rb +34 -20
  390. data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +456 -0
  391. data/lib/korona-cloud-client/api/customer_groups_api.rb +378 -8
  392. data/lib/korona-cloud-client/api/customer_orders_api.rb +58 -31
  393. data/lib/korona-cloud-client/api/customers_api.rb +46 -27
  394. data/lib/korona-cloud-client/api/delivery_notes_api.rb +107 -26
  395. data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +454 -0
  396. data/lib/korona-cloud-client/api/discount_configurations_api.rb +536 -0
  397. data/lib/korona-cloud-client/api/discount_levels_api.rb +536 -0
  398. data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +954 -0
  399. data/lib/korona-cloud-client/api/economic_zones_api.rb +34 -20
  400. data/lib/korona-cloud-client/api/external_system_calls_api.rb +46 -27
  401. data/lib/korona-cloud-client/api/fiscal_units_api.rb +34 -20
  402. data/lib/korona-cloud-client/api/images_api.rb +6 -5
  403. data/lib/korona-cloud-client/api/info_texts_api.rb +34 -20
  404. data/lib/korona-cloud-client/api/inventories_api.rb +241 -136
  405. data/lib/korona-cloud-client/api/item_sequences_api.rb +536 -0
  406. data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
  407. data/lib/korona-cloud-client/api/languages_api.rb +536 -0
  408. data/lib/korona-cloud-client/api/messages_api.rb +94 -0
  409. data/lib/korona-cloud-client/api/number_range_configurations_api.rb +312 -0
  410. data/lib/korona-cloud-client/api/organizational_units_api.rb +440 -54
  411. data/lib/korona-cloud-client/api/payment_method_categories_api.rb +536 -0
  412. data/lib/korona-cloud-client/api/payment_methods_api.rb +378 -8
  413. data/lib/korona-cloud-client/api/points_of_sale_api.rb +309 -45
  414. data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +536 -0
  415. data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +536 -0
  416. data/lib/korona-cloud-client/api/pos_profiles_api.rb +536 -0
  417. data/lib/korona-cloud-client/api/price_groups_api.rb +34 -20
  418. data/lib/korona-cloud-client/api/price_rules_api.rb +532 -0
  419. data/lib/korona-cloud-client/api/production_types_api.rb +34 -20
  420. data/lib/korona-cloud-client/api/products_api.rb +135 -30
  421. data/lib/korona-cloud-client/api/promotions_api.rb +532 -0
  422. data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +536 -0
  423. data/lib/korona-cloud-client/api/receipts_api.rb +100 -22
  424. data/lib/korona-cloud-client/api/report_files_api.rb +532 -0
  425. data/lib/korona-cloud-client/api/revenue_accounts_api.rb +536 -0
  426. data/lib/korona-cloud-client/api/sales_taxes_api.rb +34 -20
  427. data/lib/korona-cloud-client/api/sectors_api.rb +34 -20
  428. data/lib/korona-cloud-client/api/special_price_configurations_api.rb +454 -0
  429. data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
  430. data/lib/korona-cloud-client/api/stock_adjustments_api.rb +875 -0
  431. data/lib/korona-cloud-client/api/stock_orders_api.rb +177 -19
  432. data/lib/korona-cloud-client/api/stock_receipts_api.rb +74 -48
  433. data/lib/korona-cloud-client/api/store_orders_api.rb +886 -0
  434. data/lib/korona-cloud-client/api/suppliers_api.rb +34 -20
  435. data/lib/korona-cloud-client/api/tags_api.rb +46 -27
  436. data/lib/korona-cloud-client/api/ticketing_api.rb +298 -91
  437. data/lib/korona-cloud-client/api/time_tracking_api.rb +112 -100
  438. data/lib/korona-cloud-client/api/user_roles_api.rb +532 -0
  439. data/lib/korona-cloud-client/api/voucher_configurations_api.rb +534 -0
  440. data/lib/korona-cloud-client/api/vouchers_api.rb +1149 -0
  441. data/lib/korona-cloud-client/api_client.rb +57 -51
  442. data/lib/korona-cloud-client/api_error.rb +2 -2
  443. data/lib/korona-cloud-client/configuration.rb +43 -12
  444. data/lib/korona-cloud-client/models/account.rb +74 -22
  445. data/lib/korona-cloud-client/models/account_summary.rb +21 -8
  446. data/lib/korona-cloud-client/models/account_transaction.rb +44 -13
  447. data/lib/korona-cloud-client/models/add_or_update_result.rb +23 -10
  448. data/lib/korona-cloud-client/models/additional_info.rb +21 -8
  449. data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +44 -28
  450. data/lib/korona-cloud-client/models/address_information.rb +21 -8
  451. data/lib/korona-cloud-client/models/admission.rb +21 -8
  452. data/lib/korona-cloud-client/models/amount.rb +21 -8
  453. data/lib/korona-cloud-client/models/amount_count_data.rb +21 -8
  454. data/lib/korona-cloud-client/models/assortment.rb +34 -20
  455. data/lib/korona-cloud-client/models/attendance.rb +36 -21
  456. data/lib/korona-cloud-client/models/bad_request_error.rb +23 -10
  457. data/lib/korona-cloud-client/models/capacity.rb +21 -8
  458. data/lib/korona-cloud-client/models/cashier.rb +51 -19
  459. data/lib/korona-cloud-client/models/cashier_role.rb +32 -19
  460. data/lib/korona-cloud-client/models/cashier_summary.rb +21 -8
  461. data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +346 -0
  462. data/lib/korona-cloud-client/models/cashier_verification_result.rb +300 -0
  463. data/lib/korona-cloud-client/models/category.rb +21 -8
  464. data/lib/korona-cloud-client/models/cloud_subscription.rb +22 -9
  465. data/lib/korona-cloud-client/models/cloud_subscription_details.rb +23 -10
  466. data/lib/korona-cloud-client/models/commodity_group.rb +38 -16
  467. data/lib/korona-cloud-client/models/commodity_group_summary.rb +21 -8
  468. data/lib/korona-cloud-client/models/company_identification.rb +21 -8
  469. data/lib/korona-cloud-client/models/contra_account.rb +250 -0
  470. data/lib/korona-cloud-client/models/cost_center.rb +250 -0
  471. data/lib/korona-cloud-client/models/coupon.rb +228 -0
  472. data/lib/korona-cloud-client/models/coupon_position.rb +280 -0
  473. data/lib/korona-cloud-client/models/creation_task.rb +23 -9
  474. data/lib/korona-cloud-client/models/currency.rb +32 -19
  475. data/lib/korona-cloud-client/models/currency_denomination.rb +21 -8
  476. data/lib/korona-cloud-client/models/currency_exchange_rate.rb +23 -9
  477. data/lib/korona-cloud-client/models/customer.rb +72 -23
  478. data/lib/korona-cloud-client/models/customer_card.rb +21 -8
  479. data/lib/korona-cloud-client/models/customer_data.rb +21 -8
  480. data/lib/korona-cloud-client/models/customer_display_configuration.rb +425 -0
  481. data/lib/korona-cloud-client/models/customer_group.rb +32 -19
  482. data/lib/korona-cloud-client/models/customer_group_summary.rb +21 -8
  483. data/lib/korona-cloud-client/models/customer_information.rb +23 -9
  484. data/lib/korona-cloud-client/models/customer_order.rb +42 -24
  485. data/lib/korona-cloud-client/models/customer_order_item.rb +359 -0
  486. data/lib/korona-cloud-client/models/date_interval.rb +230 -0
  487. data/lib/korona-cloud-client/models/day_rating.rb +23 -9
  488. data/lib/korona-cloud-client/models/day_time_period.rb +21 -8
  489. data/lib/korona-cloud-client/models/delivery_note.rb +36 -21
  490. data/lib/korona-cloud-client/models/delivery_note_item.rb +21 -8
  491. data/lib/korona-cloud-client/models/deposit.rb +23 -9
  492. data/lib/korona-cloud-client/models/device_configuration.rb +374 -0
  493. data/lib/korona-cloud-client/models/device_configuration_variable.rb +259 -0
  494. data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +228 -0
  495. data/lib/korona-cloud-client/models/device_information.rb +23 -8
  496. data/lib/korona-cloud-client/models/device_parameter_item.rb +237 -0
  497. data/lib/korona-cloud-client/models/discount.rb +51 -18
  498. data/lib/korona-cloud-client/models/discount_configuration.rb +290 -0
  499. data/lib/korona-cloud-client/models/discount_level.rb +268 -0
  500. data/lib/korona-cloud-client/models/dispatch_notification.rb +457 -0
  501. data/lib/korona-cloud-client/models/dispatch_notification_item.rb +301 -0
  502. data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +228 -0
  503. data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +228 -0
  504. data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +237 -0
  505. data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +279 -0
  506. data/lib/korona-cloud-client/models/economic_zone.rb +32 -19
  507. data/lib/korona-cloud-client/models/end_of_day_statement.rb +34 -20
  508. data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +57 -8
  509. data/lib/korona-cloud-client/models/entry_gate.rb +32 -19
  510. data/lib/korona-cloud-client/models/event.rb +46 -20
  511. data/lib/korona-cloud-client/models/external_system_call.rb +44 -22
  512. data/lib/korona-cloud-client/models/fiscal_transaction.rb +27 -11
  513. data/lib/korona-cloud-client/models/fiscal_unit.rb +45 -23
  514. data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +24 -10
  515. data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +264 -0
  516. data/lib/korona-cloud-client/models/fiscal_unit_state.rb +21 -8
  517. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +21 -8
  518. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +21 -8
  519. data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +21 -8
  520. data/lib/korona-cloud-client/models/forbidden_error.rb +21 -8
  521. data/lib/korona-cloud-client/models/geo_location.rb +21 -8
  522. data/lib/korona-cloud-client/models/info_text.rb +46 -24
  523. data/lib/korona-cloud-client/models/interval.rb +25 -10
  524. data/lib/korona-cloud-client/models/inventory.rb +42 -21
  525. data/lib/korona-cloud-client/models/inventory_list.rb +49 -23
  526. data/lib/korona-cloud-client/models/inventory_list_item.rb +21 -8
  527. data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +21 -8
  528. data/lib/korona-cloud-client/models/item_sequence.rb +259 -0
  529. data/lib/korona-cloud-client/models/korona_account.rb +50 -22
  530. data/lib/korona-cloud-client/models/language_resource.rb +268 -0
  531. data/lib/korona-cloud-client/models/media_url.rb +21 -8
  532. data/lib/korona-cloud-client/models/message.rb +287 -0
  533. data/lib/korona-cloud-client/models/method_not_allowed_error.rb +21 -8
  534. data/lib/korona-cloud-client/models/model_reference.rb +22 -9
  535. data/lib/korona-cloud-client/models/not_found_error.rb +21 -8
  536. data/lib/korona-cloud-client/models/number_range.rb +289 -0
  537. data/lib/korona-cloud-client/models/number_range_configuration.rb +270 -0
  538. data/lib/korona-cloud-client/models/opening_hours.rb +23 -8
  539. data/lib/korona-cloud-client/models/organizational_unit.rb +50 -22
  540. data/lib/korona-cloud-client/models/payment.rb +58 -13
  541. data/lib/korona-cloud-client/models/payment_method.rb +80 -22
  542. data/lib/korona-cloud-client/models/payment_method_category.rb +259 -0
  543. data/lib/korona-cloud-client/models/payment_service_configuration.rb +289 -0
  544. data/lib/korona-cloud-client/models/payment_summary.rb +21 -8
  545. data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +264 -0
  546. data/lib/korona-cloud-client/models/period.rb +25 -10
  547. data/lib/korona-cloud-client/models/period_list_top_seller.rb +25 -10
  548. data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +25 -10
  549. data/lib/korona-cloud-client/models/period_object.rb +25 -10
  550. data/lib/korona-cloud-client/models/period_revenue_data.rb +25 -10
  551. data/lib/korona-cloud-client/models/pos.rb +206 -19
  552. data/lib/korona-cloud-client/models/pos_balance.rb +366 -0
  553. data/lib/korona-cloud-client/models/pos_balance_item.rb +289 -0
  554. data/lib/korona-cloud-client/models/pos_balance_summary.rb +237 -0
  555. data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +256 -0
  556. data/lib/korona-cloud-client/models/pos_balance_total.rb +228 -0
  557. data/lib/korona-cloud-client/models/pos_button.rb +330 -0
  558. data/lib/korona-cloud-client/models/pos_button_function.rb +388 -0
  559. data/lib/korona-cloud-client/models/pos_button_layout.rb +319 -0
  560. data/lib/korona-cloud-client/models/pos_page_layout.rb +289 -0
  561. data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +303 -0
  562. data/lib/korona-cloud-client/models/pos_profile.rb +715 -0
  563. data/lib/korona-cloud-client/models/prepaid_card.rb +228 -0
  564. data/lib/korona-cloud-client/models/price_group.rb +32 -19
  565. data/lib/korona-cloud-client/models/price_rule.rb +313 -0
  566. data/lib/korona-cloud-client/models/price_rule_calculation.rb +262 -0
  567. data/lib/korona-cloud-client/models/price_rule_condition.rb +307 -0
  568. data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +262 -0
  569. data/lib/korona-cloud-client/models/price_rule_validity_period.rb +237 -0
  570. data/lib/korona-cloud-client/models/product.rb +73 -22
  571. data/lib/korona-cloud-client/models/product_code.rb +21 -8
  572. data/lib/korona-cloud-client/models/product_description.rb +21 -8
  573. data/lib/korona-cloud-client/models/product_price.rb +25 -9
  574. data/lib/korona-cloud-client/models/product_special_price.rb +238 -0
  575. data/lib/korona-cloud-client/models/product_stock.rb +21 -8
  576. data/lib/korona-cloud-client/models/product_subproduct.rb +77 -12
  577. data/lib/korona-cloud-client/models/product_supplier_price.rb +21 -8
  578. data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +21 -8
  579. data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +22 -18
  580. data/lib/korona-cloud-client/models/production_type.rb +34 -21
  581. data/lib/korona-cloud-client/models/production_type_setting.rb +219 -0
  582. data/lib/korona-cloud-client/models/promotion.rb +384 -0
  583. data/lib/korona-cloud-client/models/promotion_application.rb +237 -0
  584. data/lib/korona-cloud-client/models/promotion_benefit.rb +289 -0
  585. data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +361 -0
  586. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +230 -0
  587. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +322 -0
  588. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +280 -0
  589. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +262 -0
  590. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +248 -0
  591. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +228 -0
  592. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +228 -0
  593. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +347 -0
  594. data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +228 -0
  595. data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +228 -0
  596. data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +280 -0
  597. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +280 -0
  598. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +228 -0
  599. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +228 -0
  600. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +228 -0
  601. data/lib/korona-cloud-client/models/promotion_coupon.rb +288 -0
  602. data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +271 -0
  603. data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +228 -0
  604. data/lib/korona-cloud-client/models/promotion_layer.rb +228 -0
  605. data/lib/korona-cloud-client/models/promotion_stamp.rb +271 -0
  606. data/lib/korona-cloud-client/models/promotion_trigger.rb +299 -0
  607. data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +271 -0
  608. data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +262 -0
  609. data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +262 -0
  610. data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +271 -0
  611. data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +271 -0
  612. data/lib/korona-cloud-client/models/promotion_validity.rb +295 -0
  613. data/lib/korona-cloud-client/models/rating.rb +21 -8
  614. data/lib/korona-cloud-client/models/receipt.rb +157 -21
  615. data/lib/korona-cloud-client/models/receipt_item.rb +177 -37
  616. data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +219 -0
  617. data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +428 -0
  618. data/lib/korona-cloud-client/models/receipt_max_revisions.rb +21 -8
  619. data/lib/korona-cloud-client/models/receipt_revenue.rb +228 -0
  620. data/lib/korona-cloud-client/models/receipt_total.rb +237 -0
  621. data/lib/korona-cloud-client/models/report_file.rb +337 -0
  622. data/lib/korona-cloud-client/models/result_list.rb +21 -8
  623. data/lib/korona-cloud-client/models/result_list_account.rb +21 -8
  624. data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +21 -8
  625. data/lib/korona-cloud-client/models/result_list_assortment.rb +21 -8
  626. data/lib/korona-cloud-client/models/result_list_attendance.rb +21 -8
  627. data/lib/korona-cloud-client/models/result_list_cashier.rb +21 -8
  628. data/lib/korona-cloud-client/models/result_list_cashier_role.rb +21 -8
  629. data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +304 -0
  630. data/lib/korona-cloud-client/models/result_list_commodity_group.rb +21 -8
  631. data/lib/korona-cloud-client/models/result_list_contra_account.rb +304 -0
  632. data/lib/korona-cloud-client/models/result_list_cost_center.rb +304 -0
  633. data/lib/korona-cloud-client/models/result_list_coupon.rb +304 -0
  634. data/lib/korona-cloud-client/models/result_list_creation_task.rb +21 -8
  635. data/lib/korona-cloud-client/models/result_list_currency.rb +21 -8
  636. data/lib/korona-cloud-client/models/result_list_customer.rb +21 -8
  637. data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +304 -0
  638. data/lib/korona-cloud-client/models/result_list_customer_group.rb +21 -8
  639. data/lib/korona-cloud-client/models/result_list_customer_order.rb +21 -8
  640. data/lib/korona-cloud-client/models/result_list_day_rating.rb +21 -8
  641. data/lib/korona-cloud-client/models/result_list_delivery_note.rb +21 -8
  642. data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +304 -0
  643. data/lib/korona-cloud-client/models/result_list_discount_configuration.rb +304 -0
  644. data/lib/korona-cloud-client/models/result_list_discount_level.rb +304 -0
  645. data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +304 -0
  646. data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +304 -0
  647. data/lib/korona-cloud-client/models/result_list_economic_zone.rb +21 -8
  648. data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +21 -8
  649. data/lib/korona-cloud-client/models/result_list_entry_gate.rb +21 -8
  650. data/lib/korona-cloud-client/models/result_list_event.rb +21 -8
  651. data/lib/korona-cloud-client/models/result_list_external_system_call.rb +21 -8
  652. data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +21 -8
  653. data/lib/korona-cloud-client/models/result_list_info_text.rb +21 -8
  654. data/lib/korona-cloud-client/models/result_list_inventory.rb +21 -8
  655. data/lib/korona-cloud-client/models/result_list_inventory_list.rb +21 -8
  656. data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +21 -8
  657. data/lib/korona-cloud-client/models/result_list_item_sequence.rb +304 -0
  658. data/lib/korona-cloud-client/models/result_list_language_resource.rb +304 -0
  659. data/lib/korona-cloud-client/models/result_list_number_range_configuration.rb +304 -0
  660. data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +21 -8
  661. data/lib/korona-cloud-client/models/result_list_payment_method.rb +21 -8
  662. data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +304 -0
  663. data/lib/korona-cloud-client/models/result_list_pos.rb +21 -8
  664. data/lib/korona-cloud-client/models/result_list_pos_balance.rb +304 -0
  665. data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +304 -0
  666. data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +304 -0
  667. data/lib/korona-cloud-client/models/result_list_pos_profile.rb +304 -0
  668. data/lib/korona-cloud-client/models/result_list_price_group.rb +21 -8
  669. data/lib/korona-cloud-client/models/result_list_price_rule.rb +304 -0
  670. data/lib/korona-cloud-client/models/result_list_product.rb +21 -8
  671. data/lib/korona-cloud-client/models/result_list_product_stock.rb +21 -8
  672. data/lib/korona-cloud-client/models/result_list_production_type.rb +21 -8
  673. data/lib/korona-cloud-client/models/result_list_promotion.rb +304 -0
  674. data/lib/korona-cloud-client/models/result_list_receipt.rb +21 -8
  675. data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +304 -0
  676. data/lib/korona-cloud-client/models/result_list_report_file.rb +304 -0
  677. data/lib/korona-cloud-client/models/result_list_revenue_account.rb +304 -0
  678. data/lib/korona-cloud-client/models/result_list_sales_tax.rb +21 -8
  679. data/lib/korona-cloud-client/models/result_list_sector.rb +21 -8
  680. data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +304 -0
  681. data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +304 -0
  682. data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +304 -0
  683. data/lib/korona-cloud-client/models/result_list_stock_order.rb +21 -8
  684. data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +304 -0
  685. data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +21 -8
  686. data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +21 -8
  687. data/lib/korona-cloud-client/models/result_list_store_order.rb +304 -0
  688. data/lib/korona-cloud-client/models/result_list_store_order_item.rb +304 -0
  689. data/lib/korona-cloud-client/models/result_list_supplier.rb +21 -8
  690. data/lib/korona-cloud-client/models/result_list_tag.rb +21 -8
  691. data/lib/korona-cloud-client/models/result_list_ticket.rb +21 -8
  692. data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +21 -8
  693. data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +21 -8
  694. data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +21 -8
  695. data/lib/korona-cloud-client/models/result_list_user_role.rb +304 -0
  696. data/lib/korona-cloud-client/models/result_list_voucher_configuration.rb +304 -0
  697. data/lib/korona-cloud-client/models/result_list_voucher_resource.rb +304 -0
  698. data/lib/korona-cloud-client/models/result_list_voucher_transaction_resource.rb +304 -0
  699. data/lib/korona-cloud-client/models/revenue_account.rb +259 -0
  700. data/lib/korona-cloud-client/models/revenue_data.rb +21 -8
  701. data/lib/korona-cloud-client/models/sales_tax.rb +44 -22
  702. data/lib/korona-cloud-client/models/sales_tax_rate.rb +23 -9
  703. data/lib/korona-cloud-client/models/sector.rb +32 -19
  704. data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +21 -8
  705. data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +21 -8
  706. data/lib/korona-cloud-client/models/service.rb +46 -12
  707. data/lib/korona-cloud-client/models/signature.rb +23 -9
  708. data/lib/korona-cloud-client/models/special_price.rb +238 -0
  709. data/lib/korona-cloud-client/models/special_price_configuration.rb +296 -0
  710. data/lib/korona-cloud-client/models/statistic.rb +21 -8
  711. data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +21 -8
  712. data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +21 -8
  713. data/lib/korona-cloud-client/models/statistic_revenue_data.rb +21 -8
  714. data/lib/korona-cloud-client/models/stock_adjustment.rb +376 -0
  715. data/lib/korona-cloud-client/models/stock_adjustment_item.rb +246 -0
  716. data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +262 -0
  717. data/lib/korona-cloud-client/models/stock_order.rb +131 -104
  718. data/lib/korona-cloud-client/models/stock_order_item.rb +23 -9
  719. data/lib/korona-cloud-client/models/stock_receipt.rb +38 -22
  720. data/lib/korona-cloud-client/models/stock_receipt_item.rb +23 -9
  721. data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +21 -8
  722. data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +21 -8
  723. data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +21 -8
  724. data/lib/korona-cloud-client/models/store_order.rb +334 -0
  725. data/lib/korona-cloud-client/models/store_order_item.rb +246 -0
  726. data/lib/korona-cloud-client/models/supplier.rb +44 -22
  727. data/lib/korona-cloud-client/models/supplier_contact.rb +21 -8
  728. data/lib/korona-cloud-client/models/supplier_contact_person.rb +21 -8
  729. data/lib/korona-cloud-client/models/supplier_payment_information.rb +21 -8
  730. data/lib/korona-cloud-client/models/tag.rb +32 -19
  731. data/lib/korona-cloud-client/models/tax_payment.rb +21 -8
  732. data/lib/korona-cloud-client/models/tax_summary.rb +21 -8
  733. data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +262 -0
  734. data/lib/korona-cloud-client/models/ticket.rb +25 -10
  735. data/lib/korona-cloud-client/models/ticket_data.rb +27 -10
  736. data/lib/korona-cloud-client/models/ticket_definition.rb +74 -19
  737. data/lib/korona-cloud-client/models/ticket_personalization.rb +21 -8
  738. data/lib/korona-cloud-client/models/time_of_day_interval.rb +230 -0
  739. data/lib/korona-cloud-client/models/time_period.rb +21 -8
  740. data/lib/korona-cloud-client/models/time_tracking_entity.rb +32 -19
  741. data/lib/korona-cloud-client/models/time_tracking_entry.rb +23 -9
  742. data/lib/korona-cloud-client/models/too_many_requests_error.rb +21 -8
  743. data/lib/korona-cloud-client/models/top_seller.rb +22 -9
  744. data/lib/korona-cloud-client/models/total_period.rb +25 -10
  745. data/lib/korona-cloud-client/models/total_price.rb +21 -8
  746. data/lib/korona-cloud-client/models/user_role.rb +292 -0
  747. data/lib/korona-cloud-client/models/validity.rb +27 -8
  748. data/lib/korona-cloud-client/models/voided_receipt_item.rb +36 -12
  749. data/lib/korona-cloud-client/models/voucher_configuration.rb +401 -0
  750. data/lib/korona-cloud-client/models/voucher_configuration_discount_calculation.rb +271 -0
  751. data/lib/korona-cloud-client/models/voucher_configuration_follow_up_products.rb +237 -0
  752. data/lib/korona-cloud-client/models/voucher_resource.rb +306 -0
  753. data/lib/korona-cloud-client/models/voucher_transaction.rb +345 -0
  754. data/lib/korona-cloud-client/models/voucher_transaction_resource.rb +447 -0
  755. data/lib/korona-cloud-client/models/weather.rb +21 -8
  756. data/lib/korona-cloud-client/version.rb +3 -3
  757. data/lib/korona-cloud-client.rb +165 -3
  758. data/spec/api/accounts_api_spec.rb +67 -3
  759. data/spec/api/additional_receipt_info_types_api_spec.rb +66 -2
  760. data/spec/api/assortments_api_spec.rb +2 -2
  761. data/spec/api/cashier_roles_api_spec.rb +2 -2
  762. data/spec/api/cashier_verification_requirements_api_spec.rb +101 -0
  763. data/spec/api/cashiers_api_spec.rb +68 -2
  764. data/spec/api/commodity_groups_api_spec.rb +2 -2
  765. data/spec/api/contra_accounts_api_spec.rb +128 -0
  766. data/spec/api/cost_centers_api_spec.rb +128 -0
  767. data/spec/api/coupons_api_spec.rb +63 -0
  768. data/spec/api/currencies_api_spec.rb +39 -2
  769. data/spec/api/customer_display_configurations_api_spec.rb +114 -0
  770. data/spec/api/customer_groups_api_spec.rb +66 -2
  771. data/spec/api/customer_orders_api_spec.rb +10 -6
  772. data/spec/api/customers_api_spec.rb +2 -2
  773. data/spec/api/delivery_notes_api_spec.rb +19 -6
  774. data/spec/api/device_configuration_variables_api_spec.rb +113 -0
  775. data/spec/api/discount_configurations_api_spec.rb +128 -0
  776. data/spec/api/discount_levels_api_spec.rb +128 -0
  777. data/spec/api/dispatch_notifications_api_spec.rb +206 -0
  778. data/spec/api/economic_zones_api_spec.rb +39 -2
  779. data/spec/api/external_system_calls_api_spec.rb +2 -2
  780. data/spec/api/fiscal_units_api_spec.rb +2 -2
  781. data/spec/api/images_api_spec.rb +2 -2
  782. data/spec/api/info_texts_api_spec.rb +39 -2
  783. data/spec/api/inventories_api_spec.rb +37 -24
  784. data/spec/api/item_sequences_api_spec.rb +128 -0
  785. data/spec/api/korona_account_api_spec.rb +2 -2
  786. data/spec/api/languages_api_spec.rb +128 -0
  787. data/spec/api/messages_api_spec.rb +47 -0
  788. data/spec/api/number_range_configurations_api_spec.rb +88 -0
  789. data/spec/api/organizational_units_api_spec.rb +73 -10
  790. data/spec/api/payment_method_categories_api_spec.rb +128 -0
  791. data/spec/api/payment_methods_api_spec.rb +66 -2
  792. data/spec/api/points_of_sale_api_spec.rb +58 -8
  793. data/spec/api/pos_button_layouts_api_spec.rb +128 -0
  794. data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
  795. data/spec/api/pos_profiles_api_spec.rb +128 -0
  796. data/spec/api/price_groups_api_spec.rb +39 -2
  797. data/spec/api/price_rules_api_spec.rb +126 -0
  798. data/spec/api/production_types_api_spec.rb +2 -2
  799. data/spec/api/products_api_spec.rb +19 -2
  800. data/spec/api/promotions_api_spec.rb +126 -0
  801. data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
  802. data/spec/api/receipts_api_spec.rb +23 -7
  803. data/spec/api/report_files_api_spec.rb +126 -0
  804. data/spec/api/revenue_accounts_api_spec.rb +128 -0
  805. data/spec/api/sales_taxes_api_spec.rb +39 -2
  806. data/spec/api/sectors_api_spec.rb +14 -2
  807. data/spec/api/special_price_configurations_api_spec.rb +113 -0
  808. data/spec/api/statistics_api_spec.rb +2 -2
  809. data/spec/api/stock_adjustments_api_spec.rb +190 -0
  810. data/spec/api/stock_orders_api_spec.rb +37 -6
  811. data/spec/api/stock_receipts_api_spec.rb +6 -6
  812. data/spec/api/store_orders_api_spec.rb +192 -0
  813. data/spec/api/suppliers_api_spec.rb +39 -2
  814. data/spec/api/tags_api_spec.rb +2 -2
  815. data/spec/api/ticketing_api_spec.rb +81 -4
  816. data/spec/api/time_tracking_api_spec.rb +24 -24
  817. data/spec/api/user_roles_api_spec.rb +126 -0
  818. data/spec/api/voucher_configurations_api_spec.rb +127 -0
  819. data/spec/api/vouchers_api_spec.rb +240 -0
  820. data/spec/api_client_spec.rb +4 -4
  821. data/spec/configuration_spec.rb +2 -2
  822. data/spec/models/account_spec.rb +30 -15
  823. data/spec/models/account_summary_spec.rb +5 -12
  824. data/spec/models/account_transaction_spec.rb +11 -12
  825. data/spec/models/add_or_update_result_spec.rb +8 -15
  826. data/spec/models/additional_info_spec.rb +5 -12
  827. data/spec/models/additional_receipt_info_type_spec.rb +7 -20
  828. data/spec/models/address_information_spec.rb +11 -12
  829. data/spec/models/admission_spec.rb +5 -12
  830. data/spec/models/amount_count_data_spec.rb +5 -12
  831. data/spec/models/amount_spec.rb +5 -12
  832. data/spec/models/assortment_spec.rb +7 -14
  833. data/spec/models/attendance_spec.rb +7 -14
  834. data/spec/models/bad_request_error_spec.rb +7 -14
  835. data/spec/models/capacity_spec.rb +5 -12
  836. data/spec/models/cashier_role_spec.rb +9 -16
  837. data/spec/models/cashier_spec.rb +47 -18
  838. data/spec/models/cashier_summary_spec.rb +5 -12
  839. data/spec/models/cashier_verification_requirement_spec.rb +92 -0
  840. data/spec/models/cashier_verification_result_spec.rb +68 -0
  841. data/spec/models/category_spec.rb +5 -12
  842. data/spec/models/cloud_subscription_details_spec.rb +7 -14
  843. data/spec/models/cloud_subscription_spec.rb +6 -13
  844. data/spec/models/commodity_group_spec.rb +12 -13
  845. data/spec/models/commodity_group_summary_spec.rb +5 -12
  846. data/spec/models/company_identification_spec.rb +5 -12
  847. data/spec/models/contra_account_spec.rb +52 -0
  848. data/spec/models/cost_center_spec.rb +52 -0
  849. data/spec/models/coupon_position_spec.rb +64 -0
  850. data/spec/models/coupon_spec.rb +40 -0
  851. data/spec/models/creation_task_spec.rb +6 -13
  852. data/spec/models/currency_denomination_spec.rb +6 -13
  853. data/spec/models/currency_exchange_rate_spec.rb +5 -12
  854. data/spec/models/currency_spec.rb +7 -14
  855. data/spec/models/customer_card_spec.rb +6 -13
  856. data/spec/models/customer_data_spec.rb +5 -12
  857. data/spec/models/customer_display_configuration_spec.rb +142 -0
  858. data/spec/models/customer_group_spec.rb +7 -14
  859. data/spec/models/customer_group_summary_spec.rb +5 -12
  860. data/spec/models/customer_information_spec.rb +5 -12
  861. data/spec/models/customer_order_item_spec.rb +118 -0
  862. data/spec/models/customer_order_spec.rb +7 -14
  863. data/spec/models/customer_spec.rb +38 -15
  864. data/spec/models/date_interval_spec.rb +40 -0
  865. data/spec/models/day_rating_spec.rb +5 -12
  866. data/spec/models/day_time_period_spec.rb +5 -12
  867. data/spec/models/delivery_note_item_spec.rb +5 -12
  868. data/spec/models/delivery_note_spec.rb +7 -14
  869. data/spec/models/deposit_spec.rb +5 -12
  870. data/spec/models/device_configuration_spec.rb +100 -0
  871. data/spec/models/device_configuration_variable_spec.rb +58 -0
  872. data/spec/models/device_configuration_variable_value_spec.rb +40 -0
  873. data/spec/models/device_information_spec.rb +5 -12
  874. data/spec/models/device_parameter_item_spec.rb +46 -0
  875. data/spec/models/discount_configuration_spec.rb +76 -0
  876. data/spec/models/discount_level_spec.rb +64 -0
  877. data/spec/models/discount_spec.rb +18 -13
  878. data/spec/models/dispatch_notification_item_amount_spec.rb +40 -0
  879. data/spec/models/dispatch_notification_item_container_spec.rb +40 -0
  880. data/spec/models/dispatch_notification_item_identification_spec.rb +46 -0
  881. data/spec/models/dispatch_notification_item_import_spec.rb +70 -0
  882. data/spec/models/dispatch_notification_item_spec.rb +88 -0
  883. data/spec/models/dispatch_notification_spec.rb +170 -0
  884. data/spec/models/economic_zone_spec.rb +7 -14
  885. data/spec/models/end_of_day_statement_spec.rb +7 -14
  886. data/spec/models/end_of_day_statement_summary_spec.rb +5 -12
  887. data/spec/models/entry_gate_spec.rb +7 -14
  888. data/spec/models/event_spec.rb +7 -14
  889. data/spec/models/external_system_call_spec.rb +13 -14
  890. data/spec/models/fiscal_transaction_spec.rb +5 -12
  891. data/spec/models/fiscal_unit_certificate_info_spec.rb +5 -12
  892. data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
  893. data/spec/models/fiscal_unit_spec.rb +14 -15
  894. data/spec/models/fiscal_unit_state_spec.rb +6 -13
  895. data/spec/models/fiscal_unit_state_usage_level_spec.rb +5 -12
  896. data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +5 -12
  897. data/spec/models/fiscal_unit_state_version_info_spec.rb +5 -12
  898. data/spec/models/forbidden_error_spec.rb +6 -13
  899. data/spec/models/geo_location_spec.rb +5 -12
  900. data/spec/models/info_text_spec.rb +15 -16
  901. data/spec/models/interval_spec.rb +5 -12
  902. data/spec/models/inventory_list_item_spec.rb +5 -12
  903. data/spec/models/inventory_list_item_stock_spec.rb +5 -12
  904. data/spec/models/inventory_list_spec.rb +14 -15
  905. data/spec/models/inventory_spec.rb +10 -17
  906. data/spec/models/item_sequence_spec.rb +58 -0
  907. data/spec/models/korona_account_spec.rb +20 -15
  908. data/spec/models/language_resource_spec.rb +64 -0
  909. data/spec/models/media_url_spec.rb +5 -12
  910. data/spec/models/message_spec.rb +50 -0
  911. data/spec/models/method_not_allowed_error_spec.rb +6 -13
  912. data/spec/models/model_reference_spec.rb +5 -12
  913. data/spec/models/not_found_error_spec.rb +6 -13
  914. data/spec/models/number_range_configuration_spec.rb +64 -0
  915. data/spec/models/number_range_spec.rb +62 -0
  916. data/spec/models/opening_hours_spec.rb +6 -13
  917. data/spec/models/organizational_unit_spec.rb +26 -21
  918. data/spec/models/payment_method_category_spec.rb +58 -0
  919. data/spec/models/payment_method_spec.rb +43 -14
  920. data/spec/models/payment_service_configuration_spec.rb +62 -0
  921. data/spec/models/payment_spec.rb +23 -12
  922. data/spec/models/payment_summary_spec.rb +5 -12
  923. data/spec/models/payment_terminal_receipt_spec.rb +44 -0
  924. data/spec/models/period_list_top_seller_spec.rb +5 -12
  925. data/spec/models/period_map_string_revenue_data_spec.rb +5 -12
  926. data/spec/models/period_object_spec.rb +5 -12
  927. data/spec/models/period_revenue_data_spec.rb +5 -12
  928. data/spec/models/period_spec.rb +5 -12
  929. data/spec/models/pos_balance_item_spec.rb +62 -0
  930. data/spec/models/pos_balance_spec.rb +112 -0
  931. data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
  932. data/spec/models/pos_balance_summary_spec.rb +46 -0
  933. data/spec/models/pos_balance_total_spec.rb +40 -0
  934. data/spec/models/pos_button_function_spec.rb +116 -0
  935. data/spec/models/pos_button_layout_spec.rb +74 -0
  936. data/spec/models/pos_button_spec.rb +84 -0
  937. data/spec/models/pos_page_layout_configuration_spec.rb +82 -0
  938. data/spec/models/pos_page_layout_spec.rb +62 -0
  939. data/spec/models/pos_profile_spec.rb +318 -0
  940. data/spec/models/pos_spec.rb +112 -15
  941. data/spec/models/prepaid_card_spec.rb +40 -0
  942. data/spec/models/price_group_spec.rb +7 -14
  943. data/spec/models/price_rule_calculation_spec.rb +44 -0
  944. data/spec/models/price_rule_condition_spec.rb +74 -0
  945. data/spec/models/price_rule_spec.rb +94 -0
  946. data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
  947. data/spec/models/price_rule_validity_period_spec.rb +46 -0
  948. data/spec/models/product_code_spec.rb +5 -12
  949. data/spec/models/product_description_spec.rb +6 -13
  950. data/spec/models/product_price_spec.rb +5 -12
  951. data/spec/models/product_spec.rb +28 -17
  952. data/spec/models/product_special_price_spec.rb +46 -0
  953. data/spec/models/product_stock_spec.rb +5 -12
  954. data/spec/models/product_subproduct_spec.rb +21 -12
  955. data/spec/models/product_supplier_price_spec.rb +5 -12
  956. data/spec/models/product_transfer_involved_party_information_data_spec.rb +5 -18
  957. data/spec/models/product_transfer_involved_party_information_spec.rb +5 -12
  958. data/spec/models/production_type_setting_spec.rb +34 -0
  959. data/spec/models/production_type_spec.rb +10 -17
  960. data/spec/models/promotion_application_spec.rb +46 -0
  961. data/spec/models/promotion_benefit_common_discount_spec.rb +98 -0
  962. data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +76 -0
  963. data/spec/models/promotion_benefit_extended_discount_position_comperator_spec.rb +40 -0
  964. data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
  965. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
  966. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
  967. data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +74 -0
  968. data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
  969. data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
  970. data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
  971. data/spec/models/promotion_benefit_spec.rb +62 -0
  972. data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
  973. data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
  974. data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
  975. data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
  976. data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
  977. data/spec/models/promotion_bonuspoint_spec.rb +40 -0
  978. data/spec/models/promotion_coupon_spec.rb +56 -0
  979. data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
  980. data/spec/models/promotion_coupon_validity_spec.rb +50 -0
  981. data/spec/models/promotion_layer_spec.rb +40 -0
  982. data/spec/models/promotion_spec.rb +116 -0
  983. data/spec/models/promotion_stamp_spec.rb +50 -0
  984. data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
  985. data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
  986. data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
  987. data/spec/models/promotion_trigger_spec.rb +76 -0
  988. data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
  989. data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
  990. data/spec/models/promotion_validity_spec.rb +62 -0
  991. data/spec/models/rating_spec.rb +5 -12
  992. data/spec/models/receipt_item_return_reason_spec.rb +34 -0
  993. data/spec/models/receipt_item_spec.rb +75 -18
  994. data/spec/models/receipt_layout_configuration_spec.rb +152 -0
  995. data/spec/models/receipt_max_revisions_spec.rb +5 -12
  996. data/spec/models/receipt_revenue_spec.rb +40 -0
  997. data/spec/models/receipt_spec.rb +102 -19
  998. data/spec/models/receipt_total_spec.rb +46 -0
  999. data/spec/models/report_file_spec.rb +80 -0
  1000. data/spec/models/result_list_account_spec.rb +5 -12
  1001. data/spec/models/result_list_additional_receipt_info_type_spec.rb +5 -12
  1002. data/spec/models/result_list_assortment_spec.rb +5 -12
  1003. data/spec/models/result_list_attendance_spec.rb +5 -12
  1004. data/spec/models/result_list_cashier_role_spec.rb +5 -12
  1005. data/spec/models/result_list_cashier_spec.rb +5 -12
  1006. data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
  1007. data/spec/models/result_list_commodity_group_spec.rb +5 -12
  1008. data/spec/models/result_list_contra_account_spec.rb +64 -0
  1009. data/spec/models/result_list_cost_center_spec.rb +64 -0
  1010. data/spec/models/result_list_coupon_spec.rb +64 -0
  1011. data/spec/models/result_list_creation_task_spec.rb +5 -12
  1012. data/spec/models/result_list_currency_spec.rb +5 -12
  1013. data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
  1014. data/spec/models/result_list_customer_group_spec.rb +5 -12
  1015. data/spec/models/result_list_customer_order_spec.rb +5 -12
  1016. data/spec/models/result_list_customer_spec.rb +5 -12
  1017. data/spec/models/result_list_day_rating_spec.rb +5 -12
  1018. data/spec/models/result_list_delivery_note_spec.rb +5 -12
  1019. data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
  1020. data/spec/models/result_list_discount_configuration_spec.rb +64 -0
  1021. data/spec/models/result_list_discount_level_spec.rb +64 -0
  1022. data/spec/models/result_list_dispatch_notification_item_spec.rb +64 -0
  1023. data/spec/models/result_list_dispatch_notification_spec.rb +64 -0
  1024. data/spec/models/result_list_economic_zone_spec.rb +5 -12
  1025. data/spec/models/result_list_end_of_day_statement_spec.rb +5 -12
  1026. data/spec/models/result_list_entry_gate_spec.rb +5 -12
  1027. data/spec/models/result_list_event_spec.rb +5 -12
  1028. data/spec/models/result_list_external_system_call_spec.rb +5 -12
  1029. data/spec/models/result_list_fiscal_unit_spec.rb +5 -12
  1030. data/spec/models/result_list_info_text_spec.rb +5 -12
  1031. data/spec/models/result_list_inventory_list_item_spec.rb +5 -12
  1032. data/spec/models/result_list_inventory_list_spec.rb +5 -12
  1033. data/spec/models/result_list_inventory_spec.rb +5 -12
  1034. data/spec/models/result_list_item_sequence_spec.rb +64 -0
  1035. data/spec/models/result_list_language_resource_spec.rb +64 -0
  1036. data/spec/models/result_list_number_range_configuration_spec.rb +64 -0
  1037. data/spec/models/result_list_organizational_unit_spec.rb +5 -12
  1038. data/spec/models/result_list_payment_method_category_spec.rb +64 -0
  1039. data/spec/models/result_list_payment_method_spec.rb +5 -12
  1040. data/spec/models/result_list_pos_balance_spec.rb +64 -0
  1041. data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
  1042. data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
  1043. data/spec/models/result_list_pos_profile_spec.rb +64 -0
  1044. data/spec/models/result_list_pos_spec.rb +5 -12
  1045. data/spec/models/result_list_price_group_spec.rb +5 -12
  1046. data/spec/models/result_list_price_rule_spec.rb +64 -0
  1047. data/spec/models/result_list_product_spec.rb +5 -12
  1048. data/spec/models/result_list_product_stock_spec.rb +5 -12
  1049. data/spec/models/result_list_production_type_spec.rb +5 -12
  1050. data/spec/models/result_list_promotion_spec.rb +64 -0
  1051. data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
  1052. data/spec/models/result_list_receipt_spec.rb +5 -12
  1053. data/spec/models/result_list_report_file_spec.rb +64 -0
  1054. data/spec/models/result_list_revenue_account_spec.rb +64 -0
  1055. data/spec/models/result_list_sales_tax_spec.rb +5 -12
  1056. data/spec/models/result_list_sector_spec.rb +5 -12
  1057. data/spec/models/result_list_spec.rb +5 -12
  1058. data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
  1059. data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
  1060. data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
  1061. data/spec/models/result_list_stock_order_item_spec.rb +64 -0
  1062. data/spec/models/result_list_stock_order_spec.rb +5 -12
  1063. data/spec/models/result_list_stock_receipt_item_spec.rb +5 -12
  1064. data/spec/models/result_list_stock_receipt_spec.rb +5 -12
  1065. data/spec/models/result_list_store_order_item_spec.rb +64 -0
  1066. data/spec/models/result_list_store_order_spec.rb +64 -0
  1067. data/spec/models/result_list_supplier_spec.rb +5 -12
  1068. data/spec/models/result_list_tag_spec.rb +5 -12
  1069. data/spec/models/result_list_ticket_definition_spec.rb +5 -12
  1070. data/spec/models/result_list_ticket_spec.rb +5 -12
  1071. data/spec/models/result_list_time_tracking_entity_spec.rb +5 -12
  1072. data/spec/models/result_list_time_tracking_entry_spec.rb +5 -12
  1073. data/spec/models/result_list_user_role_spec.rb +64 -0
  1074. data/spec/models/result_list_voucher_configuration_spec.rb +64 -0
  1075. data/spec/models/result_list_voucher_resource_spec.rb +64 -0
  1076. data/spec/models/result_list_voucher_transaction_resource_spec.rb +64 -0
  1077. data/spec/models/revenue_account_spec.rb +58 -0
  1078. data/spec/models/revenue_data_spec.rb +5 -12
  1079. data/spec/models/sales_tax_rate_spec.rb +5 -12
  1080. data/spec/models/sales_tax_spec.rb +22 -13
  1081. data/spec/models/sector_revenue_account_item_spec.rb +5 -12
  1082. data/spec/models/sector_sales_tax_item_spec.rb +5 -12
  1083. data/spec/models/sector_spec.rb +7 -14
  1084. data/spec/models/service_spec.rb +16 -13
  1085. data/spec/models/signature_spec.rb +5 -12
  1086. data/spec/models/special_price_configuration_spec.rb +76 -0
  1087. data/spec/models/special_price_spec.rb +46 -0
  1088. data/spec/models/statistic_list_top_seller_spec.rb +5 -12
  1089. data/spec/models/statistic_map_string_revenue_data_spec.rb +5 -12
  1090. data/spec/models/statistic_revenue_data_spec.rb +5 -12
  1091. data/spec/models/statistic_spec.rb +5 -12
  1092. data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
  1093. data/spec/models/stock_adjustment_item_spec.rb +52 -0
  1094. data/spec/models/stock_adjustment_spec.rb +116 -0
  1095. data/spec/models/stock_order_item_spec.rb +5 -12
  1096. data/spec/models/stock_order_spec.rb +31 -32
  1097. data/spec/models/stock_receipt_item_amount_spec.rb +5 -12
  1098. data/spec/models/stock_receipt_item_identification_spec.rb +5 -12
  1099. data/spec/models/stock_receipt_item_purchase_price_spec.rb +5 -12
  1100. data/spec/models/stock_receipt_item_spec.rb +5 -12
  1101. data/spec/models/stock_receipt_spec.rb +20 -15
  1102. data/spec/models/store_order_item_spec.rb +52 -0
  1103. data/spec/models/store_order_spec.rb +106 -0
  1104. data/spec/models/supplier_contact_person_spec.rb +5 -12
  1105. data/spec/models/supplier_contact_spec.rb +5 -12
  1106. data/spec/models/supplier_payment_information_spec.rb +6 -13
  1107. data/spec/models/supplier_spec.rb +13 -14
  1108. data/spec/models/tag_spec.rb +7 -14
  1109. data/spec/models/tax_payment_spec.rb +5 -12
  1110. data/spec/models/tax_summary_spec.rb +5 -12
  1111. data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
  1112. data/spec/models/ticket_data_spec.rb +5 -12
  1113. data/spec/models/ticket_definition_spec.rb +31 -14
  1114. data/spec/models/ticket_personalization_spec.rb +5 -12
  1115. data/spec/models/ticket_spec.rb +5 -12
  1116. data/spec/models/time_of_day_interval_spec.rb +40 -0
  1117. data/spec/models/time_period_spec.rb +5 -12
  1118. data/spec/models/time_tracking_entity_spec.rb +7 -14
  1119. data/spec/models/time_tracking_entry_spec.rb +5 -12
  1120. data/spec/models/too_many_requests_error_spec.rb +6 -13
  1121. data/spec/models/top_seller_spec.rb +5 -12
  1122. data/spec/models/total_period_spec.rb +5 -12
  1123. data/spec/models/total_price_spec.rb +5 -12
  1124. data/spec/models/user_role_spec.rb +68 -0
  1125. data/spec/models/validity_spec.rb +6 -13
  1126. data/spec/models/voided_receipt_item_spec.rb +11 -12
  1127. data/spec/models/voucher_configuration_discount_calculation_spec.rb +50 -0
  1128. data/spec/models/voucher_configuration_follow_up_products_spec.rb +46 -0
  1129. data/spec/models/voucher_configuration_spec.rb +134 -0
  1130. data/spec/models/voucher_resource_spec.rb +88 -0
  1131. data/spec/models/voucher_transaction_resource_spec.rb +164 -0
  1132. data/spec/models/voucher_transaction_spec.rb +98 -0
  1133. data/spec/models/weather_spec.rb +6 -13
  1134. data/spec/spec_helper.rb +2 -2
  1135. metadata +659 -35
  1136. data/docs/TicketCreationApi.md +0 -122
  1137. data/korona-cloud-client-1.0.0.gem +0 -0
  1138. data/korona-cloud-client-1.0.1.gem +0 -0
  1139. data/korona-cloud-client-1.0.2.gem +0 -0
  1140. data/lib/korona-cloud-client/api/ticket_creation_api.rb +0 -163
  1141. data/spec/api/ticket_creation_api_spec.rb +0 -61
@@ -0,0 +1,954 @@
1
+ =begin
2
+ #KORONA.cloud API v3
3
+
4
+ #Our api provides access to our cloud services
5
+
6
+ The version of the OpenAPI document: 2.19.20
7
+ Contact: support@combase.net
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module KoronaCloudClient
16
+ class DispatchNotificationsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # adds dispatch notification items
23
+ # @param korona_account_id [String] account id of the KORONA.cloud account
24
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
25
+ # @param body [Array<DispatchNotificationItem>] array of new dispatch notification items
26
+ # @param [Hash] opts the optional parameters
27
+ # @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
28
+ # @return [Array<AddOrUpdateResult>]
29
+ def add_dispatch_notification_items(korona_account_id, dispatch_notification_id, body, opts = {})
30
+ data, _status_code, _headers = add_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts)
31
+ data
32
+ end
33
+
34
+ # adds dispatch notification items
35
+ # @param korona_account_id [String] account id of the KORONA.cloud account
36
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
37
+ # @param body [Array<DispatchNotificationItem>] array of new dispatch notification items
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
40
+ # @return [Array<(Array<AddOrUpdateResult>, Integer, Hash)>] Array<AddOrUpdateResult> data, response status code and response headers
41
+ def add_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.add_dispatch_notification_items ...'
44
+ end
45
+ # verify the required parameter 'korona_account_id' is set
46
+ if @api_client.config.client_side_validation && korona_account_id.nil?
47
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.add_dispatch_notification_items"
48
+ end
49
+ # verify the required parameter 'dispatch_notification_id' is set
50
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
51
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.add_dispatch_notification_items"
52
+ end
53
+ # verify the required parameter 'body' is set
54
+ if @api_client.config.client_side_validation && body.nil?
55
+ fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.add_dispatch_notification_items"
56
+ end
57
+ # resource path
58
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
59
+
60
+ # query parameters
61
+ query_params = opts[:query_params] || {}
62
+ query_params[:'upsert'] = opts[:'upsert'] if !opts[:'upsert'].nil?
63
+
64
+ # header parameters
65
+ header_params = opts[:header_params] || {}
66
+ # HTTP header 'Accept' (if needed)
67
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
68
+ # HTTP header 'Content-Type'
69
+ content_type = @api_client.select_header_content_type(['application/json'])
70
+ if !content_type.nil?
71
+ header_params['Content-Type'] = content_type
72
+ end
73
+
74
+ # form parameters
75
+ form_params = opts[:form_params] || {}
76
+
77
+ # http body (model)
78
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
79
+
80
+ # return_type
81
+ return_type = opts[:debug_return_type] || 'Array<AddOrUpdateResult>'
82
+
83
+ # auth_names
84
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
85
+
86
+ new_options = opts.merge(
87
+ :operation => :"DispatchNotificationsApi.add_dispatch_notification_items",
88
+ :header_params => header_params,
89
+ :query_params => query_params,
90
+ :form_params => form_params,
91
+ :body => post_body,
92
+ :auth_names => auth_names,
93
+ :return_type => return_type
94
+ )
95
+
96
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
97
+ if @api_client.config.debugging
98
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#add_dispatch_notification_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
+ end
100
+ return data, status_code, headers
101
+ end
102
+
103
+ # adds dispatch notifications
104
+ # @param korona_account_id [String] account id of the KORONA.cloud account
105
+ # @param body [Array<DispatchNotification>] array of new dispatch notifications
106
+ # @param [Hash] opts the optional parameters
107
+ # @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
108
+ # @return [Array<AddOrUpdateResult>]
109
+ def add_dispatch_notifications(korona_account_id, body, opts = {})
110
+ data, _status_code, _headers = add_dispatch_notifications_with_http_info(korona_account_id, body, opts)
111
+ data
112
+ end
113
+
114
+ # adds dispatch notifications
115
+ # @param korona_account_id [String] account id of the KORONA.cloud account
116
+ # @param body [Array<DispatchNotification>] array of new dispatch notifications
117
+ # @param [Hash] opts the optional parameters
118
+ # @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
119
+ # @return [Array<(Array<AddOrUpdateResult>, Integer, Hash)>] Array<AddOrUpdateResult> data, response status code and response headers
120
+ def add_dispatch_notifications_with_http_info(korona_account_id, body, opts = {})
121
+ if @api_client.config.debugging
122
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.add_dispatch_notifications ...'
123
+ end
124
+ # verify the required parameter 'korona_account_id' is set
125
+ if @api_client.config.client_side_validation && korona_account_id.nil?
126
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.add_dispatch_notifications"
127
+ end
128
+ # verify the required parameter 'body' is set
129
+ if @api_client.config.client_side_validation && body.nil?
130
+ fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.add_dispatch_notifications"
131
+ end
132
+ # resource path
133
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s))
134
+
135
+ # query parameters
136
+ query_params = opts[:query_params] || {}
137
+ query_params[:'upsert'] = opts[:'upsert'] if !opts[:'upsert'].nil?
138
+
139
+ # header parameters
140
+ header_params = opts[:header_params] || {}
141
+ # HTTP header 'Accept' (if needed)
142
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
143
+ # HTTP header 'Content-Type'
144
+ content_type = @api_client.select_header_content_type(['application/json'])
145
+ if !content_type.nil?
146
+ header_params['Content-Type'] = content_type
147
+ end
148
+
149
+ # form parameters
150
+ form_params = opts[:form_params] || {}
151
+
152
+ # http body (model)
153
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
154
+
155
+ # return_type
156
+ return_type = opts[:debug_return_type] || 'Array<AddOrUpdateResult>'
157
+
158
+ # auth_names
159
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
160
+
161
+ new_options = opts.merge(
162
+ :operation => :"DispatchNotificationsApi.add_dispatch_notifications",
163
+ :header_params => header_params,
164
+ :query_params => query_params,
165
+ :form_params => form_params,
166
+ :body => post_body,
167
+ :auth_names => auth_names,
168
+ :return_type => return_type
169
+ )
170
+
171
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
172
+ if @api_client.config.debugging
173
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#add_dispatch_notifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
174
+ end
175
+ return data, status_code, headers
176
+ end
177
+
178
+ # books the single dispatch notification
179
+ # @param korona_account_id [String] account id of the KORONA.cloud account
180
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
181
+ # @param [Hash] opts the optional parameters
182
+ # @return [nil]
183
+ def book_dispatch_notification(korona_account_id, dispatch_notification_id, opts = {})
184
+ book_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts)
185
+ nil
186
+ end
187
+
188
+ # books the single dispatch notification
189
+ # @param korona_account_id [String] account id of the KORONA.cloud account
190
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
191
+ # @param [Hash] opts the optional parameters
192
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
193
+ def book_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
194
+ if @api_client.config.debugging
195
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.book_dispatch_notification ...'
196
+ end
197
+ # verify the required parameter 'korona_account_id' is set
198
+ if @api_client.config.client_side_validation && korona_account_id.nil?
199
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.book_dispatch_notification"
200
+ end
201
+ # verify the required parameter 'dispatch_notification_id' is set
202
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
203
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.book_dispatch_notification"
204
+ end
205
+ # resource path
206
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/book'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
207
+
208
+ # query parameters
209
+ query_params = opts[:query_params] || {}
210
+
211
+ # header parameters
212
+ header_params = opts[:header_params] || {}
213
+ # HTTP header 'Accept' (if needed)
214
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
215
+
216
+ # form parameters
217
+ form_params = opts[:form_params] || {}
218
+
219
+ # http body (model)
220
+ post_body = opts[:debug_body]
221
+
222
+ # return_type
223
+ return_type = opts[:debug_return_type]
224
+
225
+ # auth_names
226
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
227
+
228
+ new_options = opts.merge(
229
+ :operation => :"DispatchNotificationsApi.book_dispatch_notification",
230
+ :header_params => header_params,
231
+ :query_params => query_params,
232
+ :form_params => form_params,
233
+ :body => post_body,
234
+ :auth_names => auth_names,
235
+ :return_type => return_type
236
+ )
237
+
238
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
239
+ if @api_client.config.debugging
240
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#book_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
241
+ end
242
+ return data, status_code, headers
243
+ end
244
+
245
+ # deletes the single dispatch notification
246
+ # @param korona_account_id [String] account id of the KORONA.cloud account
247
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
248
+ # @param [Hash] opts the optional parameters
249
+ # @return [nil]
250
+ def delete_dispatch_notification(korona_account_id, dispatch_notification_id, opts = {})
251
+ delete_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts)
252
+ nil
253
+ end
254
+
255
+ # deletes the single dispatch notification
256
+ # @param korona_account_id [String] account id of the KORONA.cloud account
257
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
258
+ # @param [Hash] opts the optional parameters
259
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
260
+ def delete_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
261
+ if @api_client.config.debugging
262
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.delete_dispatch_notification ...'
263
+ end
264
+ # verify the required parameter 'korona_account_id' is set
265
+ if @api_client.config.client_side_validation && korona_account_id.nil?
266
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.delete_dispatch_notification"
267
+ end
268
+ # verify the required parameter 'dispatch_notification_id' is set
269
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
270
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.delete_dispatch_notification"
271
+ end
272
+ # resource path
273
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
274
+
275
+ # query parameters
276
+ query_params = opts[:query_params] || {}
277
+
278
+ # header parameters
279
+ header_params = opts[:header_params] || {}
280
+ # HTTP header 'Accept' (if needed)
281
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
282
+
283
+ # form parameters
284
+ form_params = opts[:form_params] || {}
285
+
286
+ # http body (model)
287
+ post_body = opts[:debug_body]
288
+
289
+ # return_type
290
+ return_type = opts[:debug_return_type]
291
+
292
+ # auth_names
293
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
294
+
295
+ new_options = opts.merge(
296
+ :operation => :"DispatchNotificationsApi.delete_dispatch_notification",
297
+ :header_params => header_params,
298
+ :query_params => query_params,
299
+ :form_params => form_params,
300
+ :body => post_body,
301
+ :auth_names => auth_names,
302
+ :return_type => return_type
303
+ )
304
+
305
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
306
+ if @api_client.config.debugging
307
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#delete_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
+ end
309
+ return data, status_code, headers
310
+ end
311
+
312
+ # deletes the single dispatch notification item
313
+ # @param korona_account_id [String] account id of the KORONA.cloud account
314
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
315
+ # @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
316
+ # @param [Hash] opts the optional parameters
317
+ # @return [nil]
318
+ def delete_dispatch_notification_item(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
319
+ delete_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts)
320
+ nil
321
+ end
322
+
323
+ # deletes the single dispatch notification item
324
+ # @param korona_account_id [String] account id of the KORONA.cloud account
325
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
326
+ # @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
327
+ # @param [Hash] opts the optional parameters
328
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
329
+ def delete_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
330
+ if @api_client.config.debugging
331
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.delete_dispatch_notification_item ...'
332
+ end
333
+ # verify the required parameter 'korona_account_id' is set
334
+ if @api_client.config.client_side_validation && korona_account_id.nil?
335
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.delete_dispatch_notification_item"
336
+ end
337
+ # verify the required parameter 'dispatch_notification_id' is set
338
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
339
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.delete_dispatch_notification_item"
340
+ end
341
+ # verify the required parameter 'dispatch_notification_item_id' is set
342
+ if @api_client.config.client_side_validation && dispatch_notification_item_id.nil?
343
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_item_id' when calling DispatchNotificationsApi.delete_dispatch_notification_item"
344
+ end
345
+ # resource path
346
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{dispatchNotificationItemId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s)).sub('{' + 'dispatchNotificationItemId' + '}', CGI.escape(dispatch_notification_item_id.to_s))
347
+
348
+ # query parameters
349
+ query_params = opts[:query_params] || {}
350
+
351
+ # header parameters
352
+ header_params = opts[:header_params] || {}
353
+ # HTTP header 'Accept' (if needed)
354
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
355
+
356
+ # form parameters
357
+ form_params = opts[:form_params] || {}
358
+
359
+ # http body (model)
360
+ post_body = opts[:debug_body]
361
+
362
+ # return_type
363
+ return_type = opts[:debug_return_type]
364
+
365
+ # auth_names
366
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
367
+
368
+ new_options = opts.merge(
369
+ :operation => :"DispatchNotificationsApi.delete_dispatch_notification_item",
370
+ :header_params => header_params,
371
+ :query_params => query_params,
372
+ :form_params => form_params,
373
+ :body => post_body,
374
+ :auth_names => auth_names,
375
+ :return_type => return_type
376
+ )
377
+
378
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
379
+ if @api_client.config.debugging
380
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#delete_dispatch_notification_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
381
+ end
382
+ return data, status_code, headers
383
+ end
384
+
385
+ # returns the single dispatch notification
386
+ # @param korona_account_id [String] account id of the KORONA.cloud account
387
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
388
+ # @param [Hash] opts the optional parameters
389
+ # @return [DispatchNotification]
390
+ def get_dispatch_notification(korona_account_id, dispatch_notification_id, opts = {})
391
+ data, _status_code, _headers = get_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts)
392
+ data
393
+ end
394
+
395
+ # returns the single dispatch notification
396
+ # @param korona_account_id [String] account id of the KORONA.cloud account
397
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
398
+ # @param [Hash] opts the optional parameters
399
+ # @return [Array<(DispatchNotification, Integer, Hash)>] DispatchNotification data, response status code and response headers
400
+ def get_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
401
+ if @api_client.config.debugging
402
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.get_dispatch_notification ...'
403
+ end
404
+ # verify the required parameter 'korona_account_id' is set
405
+ if @api_client.config.client_side_validation && korona_account_id.nil?
406
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.get_dispatch_notification"
407
+ end
408
+ # verify the required parameter 'dispatch_notification_id' is set
409
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
410
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.get_dispatch_notification"
411
+ end
412
+ # resource path
413
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
414
+
415
+ # query parameters
416
+ query_params = opts[:query_params] || {}
417
+
418
+ # header parameters
419
+ header_params = opts[:header_params] || {}
420
+ # HTTP header 'Accept' (if needed)
421
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
422
+
423
+ # form parameters
424
+ form_params = opts[:form_params] || {}
425
+
426
+ # http body (model)
427
+ post_body = opts[:debug_body]
428
+
429
+ # return_type
430
+ return_type = opts[:debug_return_type] || 'DispatchNotification'
431
+
432
+ # auth_names
433
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
434
+
435
+ new_options = opts.merge(
436
+ :operation => :"DispatchNotificationsApi.get_dispatch_notification",
437
+ :header_params => header_params,
438
+ :query_params => query_params,
439
+ :form_params => form_params,
440
+ :body => post_body,
441
+ :auth_names => auth_names,
442
+ :return_type => return_type
443
+ )
444
+
445
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
446
+ if @api_client.config.debugging
447
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#get_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
448
+ end
449
+ return data, status_code, headers
450
+ end
451
+
452
+ # returns the single dispatch notification item
453
+ # @param korona_account_id [String] account id of the KORONA.cloud account
454
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
455
+ # @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
456
+ # @param [Hash] opts the optional parameters
457
+ # @option opts [Boolean] :show_import_data when set to true, import data will included in response
458
+ # @return [DispatchNotificationItem]
459
+ def get_dispatch_notification_item(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
460
+ data, _status_code, _headers = get_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts)
461
+ data
462
+ end
463
+
464
+ # returns the single dispatch notification item
465
+ # @param korona_account_id [String] account id of the KORONA.cloud account
466
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
467
+ # @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
468
+ # @param [Hash] opts the optional parameters
469
+ # @option opts [Boolean] :show_import_data when set to true, import data will included in response
470
+ # @return [Array<(DispatchNotificationItem, Integer, Hash)>] DispatchNotificationItem data, response status code and response headers
471
+ def get_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
472
+ if @api_client.config.debugging
473
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.get_dispatch_notification_item ...'
474
+ end
475
+ # verify the required parameter 'korona_account_id' is set
476
+ if @api_client.config.client_side_validation && korona_account_id.nil?
477
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.get_dispatch_notification_item"
478
+ end
479
+ # verify the required parameter 'dispatch_notification_id' is set
480
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
481
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.get_dispatch_notification_item"
482
+ end
483
+ # verify the required parameter 'dispatch_notification_item_id' is set
484
+ if @api_client.config.client_side_validation && dispatch_notification_item_id.nil?
485
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_item_id' when calling DispatchNotificationsApi.get_dispatch_notification_item"
486
+ end
487
+ # resource path
488
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{dispatchNotificationItemId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s)).sub('{' + 'dispatchNotificationItemId' + '}', CGI.escape(dispatch_notification_item_id.to_s))
489
+
490
+ # query parameters
491
+ query_params = opts[:query_params] || {}
492
+ query_params[:'showImportData'] = opts[:'show_import_data'] if !opts[:'show_import_data'].nil?
493
+
494
+ # header parameters
495
+ header_params = opts[:header_params] || {}
496
+ # HTTP header 'Accept' (if needed)
497
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
498
+
499
+ # form parameters
500
+ form_params = opts[:form_params] || {}
501
+
502
+ # http body (model)
503
+ post_body = opts[:debug_body]
504
+
505
+ # return_type
506
+ return_type = opts[:debug_return_type] || 'DispatchNotificationItem'
507
+
508
+ # auth_names
509
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
510
+
511
+ new_options = opts.merge(
512
+ :operation => :"DispatchNotificationsApi.get_dispatch_notification_item",
513
+ :header_params => header_params,
514
+ :query_params => query_params,
515
+ :form_params => form_params,
516
+ :body => post_body,
517
+ :auth_names => auth_names,
518
+ :return_type => return_type
519
+ )
520
+
521
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
522
+ if @api_client.config.debugging
523
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#get_dispatch_notification_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
524
+ end
525
+ return data, status_code, headers
526
+ end
527
+
528
+ # lists all dispatch notification items
529
+ # @param korona_account_id [String] account id of the KORONA.cloud account
530
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
531
+ # @param [Hash] opts the optional parameters
532
+ # @option opts [Integer] :page number of the page to fetch
533
+ # @option opts [Integer] :size amount of objects to return per page
534
+ # @option opts [String] :sort attribute to sort by (multiple separated by comma; max. 5)
535
+ # @option opts [Integer] :revision last revision number, objects with a greater revision than this will be returned
536
+ # @option opts [Boolean] :show_import_data when set to true, import data will included in response
537
+ # @return [ResultListDispatchNotificationItem]
538
+ def get_dispatch_notification_items(korona_account_id, dispatch_notification_id, opts = {})
539
+ data, _status_code, _headers = get_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, opts)
540
+ data
541
+ end
542
+
543
+ # lists all dispatch notification items
544
+ # @param korona_account_id [String] account id of the KORONA.cloud account
545
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
546
+ # @param [Hash] opts the optional parameters
547
+ # @option opts [Integer] :page number of the page to fetch
548
+ # @option opts [Integer] :size amount of objects to return per page
549
+ # @option opts [String] :sort attribute to sort by (multiple separated by comma; max. 5)
550
+ # @option opts [Integer] :revision last revision number, objects with a greater revision than this will be returned
551
+ # @option opts [Boolean] :show_import_data when set to true, import data will included in response
552
+ # @return [Array<(ResultListDispatchNotificationItem, Integer, Hash)>] ResultListDispatchNotificationItem data, response status code and response headers
553
+ def get_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
554
+ if @api_client.config.debugging
555
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.get_dispatch_notification_items ...'
556
+ end
557
+ # verify the required parameter 'korona_account_id' is set
558
+ if @api_client.config.client_side_validation && korona_account_id.nil?
559
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.get_dispatch_notification_items"
560
+ end
561
+ # verify the required parameter 'dispatch_notification_id' is set
562
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
563
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.get_dispatch_notification_items"
564
+ end
565
+ # resource path
566
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
567
+
568
+ # query parameters
569
+ query_params = opts[:query_params] || {}
570
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
571
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
572
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
573
+ query_params[:'revision'] = opts[:'revision'] if !opts[:'revision'].nil?
574
+ query_params[:'showImportData'] = opts[:'show_import_data'] if !opts[:'show_import_data'].nil?
575
+
576
+ # header parameters
577
+ header_params = opts[:header_params] || {}
578
+ # HTTP header 'Accept' (if needed)
579
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
580
+
581
+ # form parameters
582
+ form_params = opts[:form_params] || {}
583
+
584
+ # http body (model)
585
+ post_body = opts[:debug_body]
586
+
587
+ # return_type
588
+ return_type = opts[:debug_return_type] || 'ResultListDispatchNotificationItem'
589
+
590
+ # auth_names
591
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
592
+
593
+ new_options = opts.merge(
594
+ :operation => :"DispatchNotificationsApi.get_dispatch_notification_items",
595
+ :header_params => header_params,
596
+ :query_params => query_params,
597
+ :form_params => form_params,
598
+ :body => post_body,
599
+ :auth_names => auth_names,
600
+ :return_type => return_type
601
+ )
602
+
603
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
604
+ if @api_client.config.debugging
605
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#get_dispatch_notification_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
606
+ end
607
+ return data, status_code, headers
608
+ end
609
+
610
+ # lists all dispatch notifications
611
+ # @param korona_account_id [String] account id of the KORONA.cloud account
612
+ # @param [Hash] opts the optional parameters
613
+ # @option opts [Integer] :page number of the page to fetch
614
+ # @option opts [Integer] :size amount of objects to return per page
615
+ # @option opts [String] :sort attribute to sort by (multiple separated by comma; max. 5)
616
+ # @option opts [Integer] :revision last revision number, objects with a greater revision than this will be returned
617
+ # @option opts [Boolean] :include_deleted indicates deleted objects should be loaded or not (default: false)
618
+ # @option opts [Time] :min_create_time min (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
619
+ # @option opts [Time] :max_create_time max (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
620
+ # @option opts [Time] :min_booking_time min (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
621
+ # @option opts [Time] :max_booking_time max (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
622
+ # @option opts [String] :organizational_unit organizational unit
623
+ # @option opts [String] :source_organizational_unit source organizational unit
624
+ # @option opts [String] :booking_status booking status (possible values: BOOKED, IN_PROGRESS)
625
+ # @option opts [String] :number number of the related object
626
+ # @return [ResultListDispatchNotification]
627
+ def get_dispatch_notifications(korona_account_id, opts = {})
628
+ data, _status_code, _headers = get_dispatch_notifications_with_http_info(korona_account_id, opts)
629
+ data
630
+ end
631
+
632
+ # lists all dispatch notifications
633
+ # @param korona_account_id [String] account id of the KORONA.cloud account
634
+ # @param [Hash] opts the optional parameters
635
+ # @option opts [Integer] :page number of the page to fetch
636
+ # @option opts [Integer] :size amount of objects to return per page
637
+ # @option opts [String] :sort attribute to sort by (multiple separated by comma; max. 5)
638
+ # @option opts [Integer] :revision last revision number, objects with a greater revision than this will be returned
639
+ # @option opts [Boolean] :include_deleted indicates deleted objects should be loaded or not (default: false)
640
+ # @option opts [Time] :min_create_time min (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
641
+ # @option opts [Time] :max_create_time max (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
642
+ # @option opts [Time] :min_booking_time min (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
643
+ # @option opts [Time] :max_booking_time max (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
644
+ # @option opts [String] :organizational_unit organizational unit
645
+ # @option opts [String] :source_organizational_unit source organizational unit
646
+ # @option opts [String] :booking_status booking status (possible values: BOOKED, IN_PROGRESS)
647
+ # @option opts [String] :number number of the related object
648
+ # @return [Array<(ResultListDispatchNotification, Integer, Hash)>] ResultListDispatchNotification data, response status code and response headers
649
+ def get_dispatch_notifications_with_http_info(korona_account_id, opts = {})
650
+ if @api_client.config.debugging
651
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.get_dispatch_notifications ...'
652
+ end
653
+ # verify the required parameter 'korona_account_id' is set
654
+ if @api_client.config.client_side_validation && korona_account_id.nil?
655
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.get_dispatch_notifications"
656
+ end
657
+ allowable_values = ["BOOKED", "IN_PROGRESS"]
658
+ if @api_client.config.client_side_validation && opts[:'booking_status'] && !allowable_values.include?(opts[:'booking_status'])
659
+ fail ArgumentError, "invalid value for \"booking_status\", must be one of #{allowable_values}"
660
+ end
661
+ # resource path
662
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s))
663
+
664
+ # query parameters
665
+ query_params = opts[:query_params] || {}
666
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
667
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
668
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
669
+ query_params[:'revision'] = opts[:'revision'] if !opts[:'revision'].nil?
670
+ query_params[:'includeDeleted'] = opts[:'include_deleted'] if !opts[:'include_deleted'].nil?
671
+ query_params[:'minCreateTime'] = opts[:'min_create_time'] if !opts[:'min_create_time'].nil?
672
+ query_params[:'maxCreateTime'] = opts[:'max_create_time'] if !opts[:'max_create_time'].nil?
673
+ query_params[:'minBookingTime'] = opts[:'min_booking_time'] if !opts[:'min_booking_time'].nil?
674
+ query_params[:'maxBookingTime'] = opts[:'max_booking_time'] if !opts[:'max_booking_time'].nil?
675
+ query_params[:'organizationalUnit'] = opts[:'organizational_unit'] if !opts[:'organizational_unit'].nil?
676
+ query_params[:'sourceOrganizationalUnit'] = opts[:'source_organizational_unit'] if !opts[:'source_organizational_unit'].nil?
677
+ query_params[:'bookingStatus'] = opts[:'booking_status'] if !opts[:'booking_status'].nil?
678
+ query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
679
+
680
+ # header parameters
681
+ header_params = opts[:header_params] || {}
682
+ # HTTP header 'Accept' (if needed)
683
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
684
+
685
+ # form parameters
686
+ form_params = opts[:form_params] || {}
687
+
688
+ # http body (model)
689
+ post_body = opts[:debug_body]
690
+
691
+ # return_type
692
+ return_type = opts[:debug_return_type] || 'ResultListDispatchNotification'
693
+
694
+ # auth_names
695
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
696
+
697
+ new_options = opts.merge(
698
+ :operation => :"DispatchNotificationsApi.get_dispatch_notifications",
699
+ :header_params => header_params,
700
+ :query_params => query_params,
701
+ :form_params => form_params,
702
+ :body => post_body,
703
+ :auth_names => auth_names,
704
+ :return_type => return_type
705
+ )
706
+
707
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
708
+ if @api_client.config.debugging
709
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#get_dispatch_notifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
710
+ end
711
+ return data, status_code, headers
712
+ end
713
+
714
+ # updates the single dispatch notification
715
+ # @param korona_account_id [String] account id of the KORONA.cloud account
716
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
717
+ # @param body [DispatchNotification] data to update
718
+ # @param [Hash] opts the optional parameters
719
+ # @return [nil]
720
+ def update_dispatch_notification(korona_account_id, dispatch_notification_id, body, opts = {})
721
+ update_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, body, opts)
722
+ nil
723
+ end
724
+
725
+ # updates the single dispatch notification
726
+ # @param korona_account_id [String] account id of the KORONA.cloud account
727
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
728
+ # @param body [DispatchNotification] data to update
729
+ # @param [Hash] opts the optional parameters
730
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
731
+ def update_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, body, opts = {})
732
+ if @api_client.config.debugging
733
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.update_dispatch_notification ...'
734
+ end
735
+ # verify the required parameter 'korona_account_id' is set
736
+ if @api_client.config.client_side_validation && korona_account_id.nil?
737
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.update_dispatch_notification"
738
+ end
739
+ # verify the required parameter 'dispatch_notification_id' is set
740
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
741
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.update_dispatch_notification"
742
+ end
743
+ # verify the required parameter 'body' is set
744
+ if @api_client.config.client_side_validation && body.nil?
745
+ fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.update_dispatch_notification"
746
+ end
747
+ # resource path
748
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
749
+
750
+ # query parameters
751
+ query_params = opts[:query_params] || {}
752
+
753
+ # header parameters
754
+ header_params = opts[:header_params] || {}
755
+ # HTTP header 'Accept' (if needed)
756
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
757
+ # HTTP header 'Content-Type'
758
+ content_type = @api_client.select_header_content_type(['application/json'])
759
+ if !content_type.nil?
760
+ header_params['Content-Type'] = content_type
761
+ end
762
+
763
+ # form parameters
764
+ form_params = opts[:form_params] || {}
765
+
766
+ # http body (model)
767
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
768
+
769
+ # return_type
770
+ return_type = opts[:debug_return_type]
771
+
772
+ # auth_names
773
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
774
+
775
+ new_options = opts.merge(
776
+ :operation => :"DispatchNotificationsApi.update_dispatch_notification",
777
+ :header_params => header_params,
778
+ :query_params => query_params,
779
+ :form_params => form_params,
780
+ :body => post_body,
781
+ :auth_names => auth_names,
782
+ :return_type => return_type
783
+ )
784
+
785
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
786
+ if @api_client.config.debugging
787
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#update_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
788
+ end
789
+ return data, status_code, headers
790
+ end
791
+
792
+ # updates the single dispatch notification item
793
+ # @param korona_account_id [String] account id of the KORONA.cloud account
794
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
795
+ # @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
796
+ # @param body [DispatchNotificationItem] data to update
797
+ # @param [Hash] opts the optional parameters
798
+ # @return [nil]
799
+ def update_dispatch_notification_item(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, body, opts = {})
800
+ update_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, body, opts)
801
+ nil
802
+ end
803
+
804
+ # updates the single dispatch notification item
805
+ # @param korona_account_id [String] account id of the KORONA.cloud account
806
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
807
+ # @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
808
+ # @param body [DispatchNotificationItem] data to update
809
+ # @param [Hash] opts the optional parameters
810
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
811
+ def update_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, body, opts = {})
812
+ if @api_client.config.debugging
813
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.update_dispatch_notification_item ...'
814
+ end
815
+ # verify the required parameter 'korona_account_id' is set
816
+ if @api_client.config.client_side_validation && korona_account_id.nil?
817
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.update_dispatch_notification_item"
818
+ end
819
+ # verify the required parameter 'dispatch_notification_id' is set
820
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
821
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.update_dispatch_notification_item"
822
+ end
823
+ # verify the required parameter 'dispatch_notification_item_id' is set
824
+ if @api_client.config.client_side_validation && dispatch_notification_item_id.nil?
825
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_item_id' when calling DispatchNotificationsApi.update_dispatch_notification_item"
826
+ end
827
+ # verify the required parameter 'body' is set
828
+ if @api_client.config.client_side_validation && body.nil?
829
+ fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.update_dispatch_notification_item"
830
+ end
831
+ # resource path
832
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{dispatchNotificationItemId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s)).sub('{' + 'dispatchNotificationItemId' + '}', CGI.escape(dispatch_notification_item_id.to_s))
833
+
834
+ # query parameters
835
+ query_params = opts[:query_params] || {}
836
+
837
+ # header parameters
838
+ header_params = opts[:header_params] || {}
839
+ # HTTP header 'Accept' (if needed)
840
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
841
+ # HTTP header 'Content-Type'
842
+ content_type = @api_client.select_header_content_type(['application/json'])
843
+ if !content_type.nil?
844
+ header_params['Content-Type'] = content_type
845
+ end
846
+
847
+ # form parameters
848
+ form_params = opts[:form_params] || {}
849
+
850
+ # http body (model)
851
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
852
+
853
+ # return_type
854
+ return_type = opts[:debug_return_type]
855
+
856
+ # auth_names
857
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
858
+
859
+ new_options = opts.merge(
860
+ :operation => :"DispatchNotificationsApi.update_dispatch_notification_item",
861
+ :header_params => header_params,
862
+ :query_params => query_params,
863
+ :form_params => form_params,
864
+ :body => post_body,
865
+ :auth_names => auth_names,
866
+ :return_type => return_type
867
+ )
868
+
869
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
870
+ if @api_client.config.debugging
871
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#update_dispatch_notification_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
872
+ end
873
+ return data, status_code, headers
874
+ end
875
+
876
+ # updates dispatch notification items
877
+ # @param korona_account_id [String] account id of the KORONA.cloud account
878
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
879
+ # @param body [Array<DispatchNotificationItem>] data to update
880
+ # @param [Hash] opts the optional parameters
881
+ # @return [Array<AddOrUpdateResult>]
882
+ def update_dispatch_notification_items(korona_account_id, dispatch_notification_id, body, opts = {})
883
+ data, _status_code, _headers = update_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts)
884
+ data
885
+ end
886
+
887
+ # updates dispatch notification items
888
+ # @param korona_account_id [String] account id of the KORONA.cloud account
889
+ # @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
890
+ # @param body [Array<DispatchNotificationItem>] data to update
891
+ # @param [Hash] opts the optional parameters
892
+ # @return [Array<(Array<AddOrUpdateResult>, Integer, Hash)>] Array<AddOrUpdateResult> data, response status code and response headers
893
+ def update_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts = {})
894
+ if @api_client.config.debugging
895
+ @api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.update_dispatch_notification_items ...'
896
+ end
897
+ # verify the required parameter 'korona_account_id' is set
898
+ if @api_client.config.client_side_validation && korona_account_id.nil?
899
+ fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.update_dispatch_notification_items"
900
+ end
901
+ # verify the required parameter 'dispatch_notification_id' is set
902
+ if @api_client.config.client_side_validation && dispatch_notification_id.nil?
903
+ fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.update_dispatch_notification_items"
904
+ end
905
+ # verify the required parameter 'body' is set
906
+ if @api_client.config.client_side_validation && body.nil?
907
+ fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.update_dispatch_notification_items"
908
+ end
909
+ # resource path
910
+ local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
911
+
912
+ # query parameters
913
+ query_params = opts[:query_params] || {}
914
+
915
+ # header parameters
916
+ header_params = opts[:header_params] || {}
917
+ # HTTP header 'Accept' (if needed)
918
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
919
+ # HTTP header 'Content-Type'
920
+ content_type = @api_client.select_header_content_type(['application/json'])
921
+ if !content_type.nil?
922
+ header_params['Content-Type'] = content_type
923
+ end
924
+
925
+ # form parameters
926
+ form_params = opts[:form_params] || {}
927
+
928
+ # http body (model)
929
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
930
+
931
+ # return_type
932
+ return_type = opts[:debug_return_type] || 'Array<AddOrUpdateResult>'
933
+
934
+ # auth_names
935
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
936
+
937
+ new_options = opts.merge(
938
+ :operation => :"DispatchNotificationsApi.update_dispatch_notification_items",
939
+ :header_params => header_params,
940
+ :query_params => query_params,
941
+ :form_params => form_params,
942
+ :body => post_body,
943
+ :auth_names => auth_names,
944
+ :return_type => return_type
945
+ )
946
+
947
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
948
+ if @api_client.config.debugging
949
+ @api_client.config.logger.debug "API called: DispatchNotificationsApi#update_dispatch_notification_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
950
+ end
951
+ return data, status_code, headers
952
+ end
953
+ end
954
+ end