korona-cloud-client 1.0.3 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +396 -26
- data/docs/Account.md +36 -29
- data/docs/AccountSummary.md +12 -11
- data/docs/AccountTransaction.md +20 -17
- data/docs/AccountsApi.md +426 -30
- data/docs/AddOrUpdateResult.md +20 -19
- data/docs/AdditionalInfo.md +10 -9
- data/docs/AdditionalReceiptInfoType.md +34 -35
- data/docs/AdditionalReceiptInfoTypesApi.md +426 -30
- data/docs/AddressInformation.md +22 -21
- data/docs/Admission.md +10 -9
- data/docs/Amount.md +16 -15
- data/docs/AmountCountData.md +10 -9
- data/docs/Assortment.md +22 -21
- data/docs/AssortmentsApi.md +204 -86
- data/docs/Attendance.md +26 -25
- data/docs/BadRequestError.md +10 -9
- data/docs/Capacity.md +10 -9
- data/docs/Cashier.md +46 -43
- data/docs/CashierRole.md +18 -17
- data/docs/CashierRolesApi.md +204 -86
- data/docs/CashierSummary.md +18 -17
- data/docs/CashierVerificationRequirement.md +36 -0
- data/docs/CashierVerificationRequirementsApi.md +378 -0
- data/docs/CashierVerificationResult.md +28 -0
- data/docs/CashiersApi.md +208 -90
- data/docs/Category.md +12 -11
- data/docs/CloudSubscription.md +10 -9
- data/docs/CloudSubscriptionDetails.md +10 -9
- data/docs/CommodityGroup.md +20 -17
- data/docs/CommodityGroupSummary.md +14 -13
- data/docs/CommodityGroupsApi.md +204 -86
- data/docs/CompanyIdentification.md +10 -9
- data/docs/ContraAccount.md +24 -0
- data/docs/ContraAccountsApi.md +524 -0
- data/docs/CostCenter.md +24 -0
- data/docs/CostCentersApi.md +524 -0
- data/docs/Coupon.md +20 -0
- data/docs/CouponPosition.md +28 -0
- data/docs/CouponsApi.md +159 -0
- data/docs/CreationTask.md +28 -27
- data/docs/CurrenciesApi.md +149 -65
- data/docs/Currency.md +30 -29
- data/docs/CurrencyDenomination.md +10 -9
- data/docs/CurrencyExchangeRate.md +10 -9
- data/docs/Customer.md +54 -47
- data/docs/CustomerCard.md +10 -9
- data/docs/CustomerData.md +10 -9
- data/docs/CustomerDisplayConfiguration.md +50 -0
- data/docs/CustomerDisplayConfigurationsApi.md +450 -0
- data/docs/CustomerGroup.md +18 -17
- data/docs/CustomerGroupSummary.md +14 -13
- data/docs/CustomerGroupsApi.md +426 -30
- data/docs/CustomerInformation.md +12 -11
- data/docs/CustomerOrder.md +44 -43
- data/docs/CustomerOrderItem.md +46 -0
- data/docs/CustomerOrdersApi.md +192 -83
- data/docs/CustomersApi.md +204 -86
- data/docs/DateInterval.md +20 -0
- data/docs/DayRating.md +26 -25
- data/docs/DayTimePeriod.md +10 -9
- data/docs/DeliveryNote.md +38 -37
- data/docs/DeliveryNoteItem.md +22 -21
- data/docs/DeliveryNotesApi.md +230 -73
- data/docs/Deposit.md +16 -15
- data/docs/DeviceConfiguration.md +36 -0
- data/docs/DeviceConfigurationVariable.md +26 -0
- data/docs/DeviceConfigurationVariableValue.md +20 -0
- data/docs/DeviceConfigurationVariablesApi.md +448 -0
- data/docs/DeviceInformation.md +10 -9
- data/docs/DeviceParameterItem.md +22 -0
- data/docs/Discount.md +16 -11
- data/docs/DiscountConfiguration.md +32 -0
- data/docs/DiscountConfigurationsApi.md +524 -0
- data/docs/DiscountLevel.md +28 -0
- data/docs/DiscountLevelsApi.md +524 -0
- data/docs/DispatchNotification.md +62 -0
- data/docs/DispatchNotificationItem.md +36 -0
- data/docs/DispatchNotificationItemAmount.md +20 -0
- data/docs/DispatchNotificationItemContainer.md +20 -0
- data/docs/DispatchNotificationItemIdentification.md +22 -0
- data/docs/DispatchNotificationItemImport.md +30 -0
- data/docs/DispatchNotificationsApi.md +918 -0
- data/docs/EconomicZone.md +16 -15
- data/docs/EconomicZonesApi.md +149 -65
- data/docs/EndOfDayStatement.md +24 -23
- data/docs/EndOfDayStatementSummary.md +18 -17
- data/docs/EntryGate.md +20 -19
- data/docs/Event.md +30 -29
- data/docs/ExternalSystemCall.md +34 -31
- data/docs/ExternalSystemCallsApi.md +204 -86
- data/docs/FiscalTransaction.md +34 -33
- data/docs/FiscalUnit.md +44 -41
- data/docs/FiscalUnitCertificateInfo.md +10 -9
- data/docs/FiscalUnitPreConfiguration.md +28 -0
- data/docs/FiscalUnitState.md +18 -17
- data/docs/FiscalUnitStateUsageLevel.md +14 -13
- data/docs/FiscalUnitStateUsageLevelValue.md +10 -9
- data/docs/FiscalUnitStateVersionInfo.md +12 -11
- data/docs/FiscalUnitsApi.md +152 -68
- data/docs/ForbiddenError.md +10 -9
- data/docs/GeoLocation.md +10 -9
- data/docs/ImagesApi.md +29 -13
- data/docs/InfoText.md +20 -17
- data/docs/InfoTextsApi.md +149 -65
- data/docs/Interval.md +10 -9
- data/docs/InventoriesApi.md +526 -217
- data/docs/Inventory.md +44 -43
- data/docs/InventoryList.md +38 -35
- data/docs/InventoryListItem.md +18 -17
- data/docs/InventoryListItemStock.md +10 -9
- data/docs/ItemSequence.md +26 -0
- data/docs/ItemSequencesApi.md +524 -0
- data/docs/KoronaAccount.md +30 -27
- data/docs/KoronaAccountApi.md +29 -13
- data/docs/LanguageResource.md +28 -0
- data/docs/LanguagesApi.md +524 -0
- data/docs/MediaUrl.md +8 -7
- data/docs/Message.md +22 -0
- data/docs/MessagesApi.md +78 -0
- data/docs/MethodNotAllowedError.md +10 -9
- data/docs/ModelReference.md +12 -11
- data/docs/NotFoundError.md +10 -9
- data/docs/NumberRange.md +26 -0
- data/docs/NumberRangeConfiguration.md +28 -0
- data/docs/NumberRangeConfigurationsApi.md +305 -0
- data/docs/OpeningHours.md +12 -11
- data/docs/OrganizationalUnit.md +36 -33
- data/docs/OrganizationalUnitsApi.md +721 -174
- data/docs/Payment.md +22 -15
- data/docs/PaymentMethod.md +44 -33
- data/docs/PaymentMethodCategoriesApi.md +524 -0
- data/docs/PaymentMethodCategory.md +26 -0
- data/docs/PaymentMethodsApi.md +426 -30
- data/docs/PaymentServiceConfiguration.md +26 -0
- data/docs/PaymentSummary.md +12 -11
- data/docs/PaymentTerminalReceipt.md +20 -0
- data/docs/Period.md +12 -11
- data/docs/PeriodListTopSeller.md +12 -11
- data/docs/PeriodMapStringRevenueData.md +12 -11
- data/docs/PeriodObject.md +12 -11
- data/docs/PeriodRevenueData.md +12 -11
- data/docs/PointsOfSaleApi.md +514 -136
- data/docs/Pos.md +78 -51
- data/docs/PosBalance.md +44 -0
- data/docs/PosBalanceItem.md +26 -0
- data/docs/PosBalanceSummary.md +22 -0
- data/docs/PosBalanceSummaryChangeset.md +26 -0
- data/docs/PosBalanceTotal.md +20 -0
- data/docs/PosButton.md +32 -0
- data/docs/PosButtonFunction.md +40 -0
- data/docs/PosButtonLayout.md +30 -0
- data/docs/PosButtonLayoutsApi.md +524 -0
- data/docs/PosPageLayout.md +26 -0
- data/docs/PosPageLayoutConfiguration.md +34 -0
- data/docs/PosPageLayoutConfigurationsApi.md +524 -0
- data/docs/PosProfile.md +110 -0
- data/docs/PosProfilesApi.md +524 -0
- data/docs/PrepaidCard.md +20 -0
- data/docs/PriceGroup.md +20 -19
- data/docs/PriceGroupsApi.md +149 -65
- data/docs/PriceRule.md +38 -0
- data/docs/PriceRuleCalculation.md +20 -0
- data/docs/PriceRuleCondition.md +30 -0
- data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
- data/docs/PriceRuleValidityPeriod.md +22 -0
- data/docs/PriceRulesApi.md +520 -0
- data/docs/Product.md +100 -93
- data/docs/ProductCode.md +12 -11
- data/docs/ProductDescription.md +12 -11
- data/docs/ProductPrice.md +16 -15
- data/docs/ProductSpecialPrice.md +22 -0
- data/docs/ProductStock.md +16 -15
- data/docs/ProductSubproduct.md +16 -11
- data/docs/ProductSupplierPrice.md +16 -15
- data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
- data/docs/ProductTransferInvolvedPartyInformationData.md +10 -11
- data/docs/ProductionType.md +24 -23
- data/docs/ProductionTypeSetting.md +18 -0
- data/docs/ProductionTypesApi.md +149 -65
- data/docs/ProductsApi.md +330 -111
- data/docs/Promotion.md +44 -0
- data/docs/PromotionApplication.md +22 -0
- data/docs/PromotionBenefit.md +26 -0
- data/docs/PromotionBenefitCommonDiscount.md +34 -0
- data/docs/PromotionBenefitExtendedDiscount.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +28 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +30 -0
- data/docs/PromotionBenefitReduceProductAmount.md +20 -0
- data/docs/PromotionBonuspoint.md +20 -0
- data/docs/PromotionBonuspointCreation.md +24 -0
- data/docs/PromotionBonuspointRedemption.md +24 -0
- data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
- data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
- data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
- data/docs/PromotionCoupon.md +24 -0
- data/docs/PromotionCouponValidity.md +22 -0
- data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
- data/docs/PromotionLayer.md +20 -0
- data/docs/PromotionStamp.md +22 -0
- data/docs/PromotionTrigger.md +32 -0
- data/docs/PromotionTriggerProductAmountCondition.md +22 -0
- data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
- data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
- data/docs/PromotionTriggerTagAmountCondition.md +22 -0
- data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
- data/docs/PromotionValidity.md +26 -0
- data/docs/PromotionsApi.md +520 -0
- data/docs/Rating.md +12 -11
- data/docs/Receipt.md +86 -65
- data/docs/ReceiptItem.md +52 -33
- data/docs/ReceiptItemReturnReason.md +18 -0
- data/docs/ReceiptLayoutConfiguration.md +56 -0
- data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
- data/docs/ReceiptMaxRevisions.md +18 -17
- data/docs/ReceiptRevenue.md +20 -0
- data/docs/ReceiptTotal.md +22 -0
- data/docs/ReceiptsApi.md +155 -47
- data/docs/ReportFile.md +32 -0
- data/docs/ReportFilesApi.md +520 -0
- data/docs/ResultList.md +18 -17
- data/docs/ResultListAccount.md +18 -17
- data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
- data/docs/ResultListAssortment.md +18 -17
- data/docs/ResultListAttendance.md +18 -17
- data/docs/ResultListCashier.md +18 -17
- data/docs/ResultListCashierRole.md +18 -17
- data/docs/ResultListCashierVerificationRequirement.md +28 -0
- data/docs/ResultListCommodityGroup.md +18 -17
- data/docs/ResultListContraAccount.md +28 -0
- data/docs/ResultListCostCenter.md +28 -0
- data/docs/ResultListCoupon.md +28 -0
- data/docs/ResultListCreationTask.md +18 -17
- data/docs/ResultListCurrency.md +18 -17
- data/docs/ResultListCustomer.md +18 -17
- data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
- data/docs/ResultListCustomerGroup.md +18 -17
- data/docs/ResultListCustomerOrder.md +18 -17
- data/docs/ResultListDayRating.md +18 -17
- data/docs/ResultListDeliveryNote.md +18 -17
- data/docs/ResultListDeviceConfigurationVariable.md +28 -0
- data/docs/ResultListDiscountConfiguration.md +28 -0
- data/docs/ResultListDiscountLevel.md +28 -0
- data/docs/ResultListDispatchNotification.md +28 -0
- data/docs/ResultListDispatchNotificationItem.md +28 -0
- data/docs/ResultListEconomicZone.md +18 -17
- data/docs/ResultListEndOfDayStatement.md +18 -17
- data/docs/ResultListEntryGate.md +18 -17
- data/docs/ResultListEvent.md +18 -17
- data/docs/ResultListExternalSystemCall.md +18 -17
- data/docs/ResultListFiscalUnit.md +18 -17
- data/docs/ResultListInfoText.md +18 -17
- data/docs/ResultListInventory.md +18 -17
- data/docs/ResultListInventoryList.md +18 -17
- data/docs/ResultListInventoryListItem.md +18 -17
- data/docs/ResultListItemSequence.md +28 -0
- data/docs/ResultListLanguageResource.md +28 -0
- data/docs/ResultListNumberRangeConfiguration.md +28 -0
- data/docs/ResultListOrganizationalUnit.md +18 -17
- data/docs/ResultListPaymentMethod.md +18 -17
- data/docs/ResultListPaymentMethodCategory.md +28 -0
- data/docs/ResultListPos.md +18 -17
- data/docs/ResultListPosBalance.md +28 -0
- data/docs/ResultListPosButtonLayout.md +28 -0
- data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
- data/docs/ResultListPosProfile.md +28 -0
- data/docs/ResultListPriceGroup.md +18 -17
- data/docs/ResultListPriceRule.md +28 -0
- data/docs/ResultListProduct.md +18 -17
- data/docs/ResultListProductStock.md +18 -17
- data/docs/ResultListProductionType.md +18 -17
- data/docs/ResultListPromotion.md +28 -0
- data/docs/ResultListReceipt.md +18 -17
- data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
- data/docs/ResultListReportFile.md +28 -0
- data/docs/ResultListRevenueAccount.md +28 -0
- data/docs/ResultListSalesTax.md +18 -17
- data/docs/ResultListSector.md +18 -17
- data/docs/ResultListSpecialPriceConfiguration.md +28 -0
- data/docs/ResultListStockAdjustment.md +28 -0
- data/docs/ResultListStockAdjustmentItem.md +28 -0
- data/docs/ResultListStockOrder.md +18 -17
- data/docs/ResultListStockOrderItem.md +28 -0
- data/docs/ResultListStockReceipt.md +18 -17
- data/docs/ResultListStockReceiptItem.md +18 -17
- data/docs/ResultListStoreOrder.md +28 -0
- data/docs/ResultListStoreOrderItem.md +28 -0
- data/docs/ResultListSupplier.md +18 -17
- data/docs/ResultListTag.md +18 -17
- data/docs/ResultListTicket.md +18 -17
- data/docs/ResultListTicketDefinition.md +18 -17
- data/docs/ResultListTimeTrackingEntity.md +18 -17
- data/docs/ResultListTimeTrackingEntry.md +18 -17
- data/docs/ResultListUserRole.md +28 -0
- data/docs/ResultListVoucherConfiguration.md +28 -0
- data/docs/ResultListVoucherResource.md +28 -0
- data/docs/ResultListVoucherTransactionResource.md +28 -0
- data/docs/RevenueAccount.md +26 -0
- data/docs/RevenueAccountsApi.md +524 -0
- data/docs/RevenueData.md +16 -15
- data/docs/SalesTax.md +26 -23
- data/docs/SalesTaxRate.md +10 -9
- data/docs/SalesTaxesApi.md +149 -65
- data/docs/Sector.md +20 -19
- data/docs/SectorRevenueAccountItem.md +10 -9
- data/docs/SectorSalesTaxItem.md +10 -9
- data/docs/SectorsApi.md +149 -65
- data/docs/Service.md +12 -9
- data/docs/Signature.md +12 -11
- data/docs/SpecialPrice.md +22 -0
- data/docs/SpecialPriceConfiguration.md +32 -0
- data/docs/SpecialPriceConfigurationsApi.md +449 -0
- data/docs/Statistic.md +12 -11
- data/docs/StatisticListTopSeller.md +12 -11
- data/docs/StatisticMapStringRevenueData.md +12 -11
- data/docs/StatisticRevenueData.md +12 -11
- data/docs/StatisticsApi.md +123 -56
- data/docs/StockAdjustment.md +44 -0
- data/docs/StockAdjustmentItem.md +24 -0
- data/docs/StockAdjustmentItemReason.md +20 -0
- data/docs/StockAdjustmentsApi.md +834 -0
- data/docs/StockOrder.md +66 -63
- data/docs/StockOrderItem.md +30 -29
- data/docs/StockOrdersApi.md +263 -54
- data/docs/StockReceipt.md +54 -53
- data/docs/StockReceiptItem.md +20 -19
- data/docs/StockReceiptItemAmount.md +10 -9
- data/docs/StockReceiptItemIdentification.md +12 -11
- data/docs/StockReceiptItemPurchasePrice.md +10 -9
- data/docs/StockReceiptsApi.md +336 -150
- data/docs/StoreOrder.md +42 -0
- data/docs/StoreOrderItem.md +24 -0
- data/docs/StoreOrdersApi.md +840 -0
- data/docs/Supplier.md +32 -29
- data/docs/SupplierContact.md +14 -13
- data/docs/SupplierContactPerson.md +20 -19
- data/docs/SupplierPaymentInformation.md +24 -23
- data/docs/SuppliersApi.md +149 -65
- data/docs/Tag.md +16 -15
- data/docs/TagsApi.md +203 -85
- data/docs/TaxPayment.md +14 -13
- data/docs/TaxSummary.md +12 -11
- data/docs/TerminalReceiptPrintLine.md +20 -0
- data/docs/Ticket.md +20 -19
- data/docs/TicketData.md +28 -27
- data/docs/TicketDefinition.md +38 -29
- data/docs/TicketPersonalization.md +14 -13
- data/docs/TicketingApi.md +886 -310
- data/docs/TimeOfDayInterval.md +20 -0
- data/docs/TimePeriod.md +20 -19
- data/docs/TimeTrackingApi.md +214 -113
- data/docs/TimeTrackingEntity.md +18 -17
- data/docs/TimeTrackingEntry.md +20 -19
- data/docs/TooManyRequestsError.md +10 -9
- data/docs/TopSeller.md +16 -15
- data/docs/TotalPeriod.md +10 -9
- data/docs/TotalPrice.md +16 -15
- data/docs/UserRole.md +28 -0
- data/docs/UserRolesApi.md +520 -0
- data/docs/Validity.md +14 -13
- data/docs/VoidedReceiptItem.md +18 -15
- data/docs/VoucherConfiguration.md +50 -0
- data/docs/VoucherConfigurationDiscountCalculation.md +22 -0
- data/docs/VoucherConfigurationFollowUpProducts.md +22 -0
- data/docs/VoucherConfigurationsApi.md +522 -0
- data/docs/VoucherResource.md +36 -0
- data/docs/VoucherTransaction.md +38 -0
- data/docs/VoucherTransactionResource.md +60 -0
- data/docs/VouchersApi.md +1126 -0
- data/docs/Weather.md +12 -11
- data/git_push.sh +3 -4
- data/korona-cloud-client.gemspec +3 -4
- data/lib/korona-cloud-client/api/accounts_api.rb +380 -10
- data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +378 -8
- data/lib/korona-cloud-client/api/assortments_api.rb +46 -27
- data/lib/korona-cloud-client/api/cashier_roles_api.rb +46 -27
- data/lib/korona-cloud-client/api/cashier_verification_requirements_api.rb +387 -0
- data/lib/korona-cloud-client/api/cashiers_api.rb +46 -27
- data/lib/korona-cloud-client/api/commodity_groups_api.rb +46 -27
- data/lib/korona-cloud-client/api/contra_accounts_api.rb +536 -0
- data/lib/korona-cloud-client/api/cost_centers_api.rb +536 -0
- data/lib/korona-cloud-client/api/coupons_api.rb +165 -0
- data/lib/korona-cloud-client/api/currencies_api.rb +34 -20
- data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +456 -0
- data/lib/korona-cloud-client/api/customer_groups_api.rb +378 -8
- data/lib/korona-cloud-client/api/customer_orders_api.rb +58 -31
- data/lib/korona-cloud-client/api/customers_api.rb +46 -27
- data/lib/korona-cloud-client/api/delivery_notes_api.rb +107 -26
- data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +454 -0
- data/lib/korona-cloud-client/api/discount_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/discount_levels_api.rb +536 -0
- data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +954 -0
- data/lib/korona-cloud-client/api/economic_zones_api.rb +34 -20
- data/lib/korona-cloud-client/api/external_system_calls_api.rb +46 -27
- data/lib/korona-cloud-client/api/fiscal_units_api.rb +34 -20
- data/lib/korona-cloud-client/api/images_api.rb +6 -5
- data/lib/korona-cloud-client/api/info_texts_api.rb +34 -20
- data/lib/korona-cloud-client/api/inventories_api.rb +241 -136
- data/lib/korona-cloud-client/api/item_sequences_api.rb +536 -0
- data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
- data/lib/korona-cloud-client/api/languages_api.rb +536 -0
- data/lib/korona-cloud-client/api/messages_api.rb +94 -0
- data/lib/korona-cloud-client/api/number_range_configurations_api.rb +312 -0
- data/lib/korona-cloud-client/api/organizational_units_api.rb +440 -54
- data/lib/korona-cloud-client/api/payment_method_categories_api.rb +536 -0
- data/lib/korona-cloud-client/api/payment_methods_api.rb +378 -8
- data/lib/korona-cloud-client/api/points_of_sale_api.rb +309 -45
- data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +536 -0
- data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/pos_profiles_api.rb +536 -0
- data/lib/korona-cloud-client/api/price_groups_api.rb +34 -20
- data/lib/korona-cloud-client/api/price_rules_api.rb +532 -0
- data/lib/korona-cloud-client/api/production_types_api.rb +34 -20
- data/lib/korona-cloud-client/api/products_api.rb +135 -30
- data/lib/korona-cloud-client/api/promotions_api.rb +532 -0
- data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/receipts_api.rb +100 -22
- data/lib/korona-cloud-client/api/report_files_api.rb +532 -0
- data/lib/korona-cloud-client/api/revenue_accounts_api.rb +536 -0
- data/lib/korona-cloud-client/api/sales_taxes_api.rb +34 -20
- data/lib/korona-cloud-client/api/sectors_api.rb +34 -20
- data/lib/korona-cloud-client/api/special_price_configurations_api.rb +454 -0
- data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
- data/lib/korona-cloud-client/api/stock_adjustments_api.rb +875 -0
- data/lib/korona-cloud-client/api/stock_orders_api.rb +177 -19
- data/lib/korona-cloud-client/api/stock_receipts_api.rb +74 -48
- data/lib/korona-cloud-client/api/store_orders_api.rb +886 -0
- data/lib/korona-cloud-client/api/suppliers_api.rb +34 -20
- data/lib/korona-cloud-client/api/tags_api.rb +46 -27
- data/lib/korona-cloud-client/api/ticketing_api.rb +298 -91
- data/lib/korona-cloud-client/api/time_tracking_api.rb +112 -100
- data/lib/korona-cloud-client/api/user_roles_api.rb +532 -0
- data/lib/korona-cloud-client/api/voucher_configurations_api.rb +534 -0
- data/lib/korona-cloud-client/api/vouchers_api.rb +1149 -0
- data/lib/korona-cloud-client/api_client.rb +57 -51
- data/lib/korona-cloud-client/api_error.rb +2 -2
- data/lib/korona-cloud-client/configuration.rb +43 -12
- data/lib/korona-cloud-client/models/account.rb +74 -22
- data/lib/korona-cloud-client/models/account_summary.rb +21 -8
- data/lib/korona-cloud-client/models/account_transaction.rb +44 -13
- data/lib/korona-cloud-client/models/add_or_update_result.rb +23 -10
- data/lib/korona-cloud-client/models/additional_info.rb +21 -8
- data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +44 -28
- data/lib/korona-cloud-client/models/address_information.rb +21 -8
- data/lib/korona-cloud-client/models/admission.rb +21 -8
- data/lib/korona-cloud-client/models/amount.rb +21 -8
- data/lib/korona-cloud-client/models/amount_count_data.rb +21 -8
- data/lib/korona-cloud-client/models/assortment.rb +34 -20
- data/lib/korona-cloud-client/models/attendance.rb +36 -21
- data/lib/korona-cloud-client/models/bad_request_error.rb +23 -10
- data/lib/korona-cloud-client/models/capacity.rb +21 -8
- data/lib/korona-cloud-client/models/cashier.rb +51 -19
- data/lib/korona-cloud-client/models/cashier_role.rb +32 -19
- data/lib/korona-cloud-client/models/cashier_summary.rb +21 -8
- data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +346 -0
- data/lib/korona-cloud-client/models/cashier_verification_result.rb +300 -0
- data/lib/korona-cloud-client/models/category.rb +21 -8
- data/lib/korona-cloud-client/models/cloud_subscription.rb +22 -9
- data/lib/korona-cloud-client/models/cloud_subscription_details.rb +23 -10
- data/lib/korona-cloud-client/models/commodity_group.rb +38 -16
- data/lib/korona-cloud-client/models/commodity_group_summary.rb +21 -8
- data/lib/korona-cloud-client/models/company_identification.rb +21 -8
- data/lib/korona-cloud-client/models/contra_account.rb +250 -0
- data/lib/korona-cloud-client/models/cost_center.rb +250 -0
- data/lib/korona-cloud-client/models/coupon.rb +228 -0
- data/lib/korona-cloud-client/models/coupon_position.rb +280 -0
- data/lib/korona-cloud-client/models/creation_task.rb +23 -9
- data/lib/korona-cloud-client/models/currency.rb +32 -19
- data/lib/korona-cloud-client/models/currency_denomination.rb +21 -8
- data/lib/korona-cloud-client/models/currency_exchange_rate.rb +23 -9
- data/lib/korona-cloud-client/models/customer.rb +72 -23
- data/lib/korona-cloud-client/models/customer_card.rb +21 -8
- data/lib/korona-cloud-client/models/customer_data.rb +21 -8
- data/lib/korona-cloud-client/models/customer_display_configuration.rb +425 -0
- data/lib/korona-cloud-client/models/customer_group.rb +32 -19
- data/lib/korona-cloud-client/models/customer_group_summary.rb +21 -8
- data/lib/korona-cloud-client/models/customer_information.rb +23 -9
- data/lib/korona-cloud-client/models/customer_order.rb +42 -24
- data/lib/korona-cloud-client/models/customer_order_item.rb +359 -0
- data/lib/korona-cloud-client/models/date_interval.rb +230 -0
- data/lib/korona-cloud-client/models/day_rating.rb +23 -9
- data/lib/korona-cloud-client/models/day_time_period.rb +21 -8
- data/lib/korona-cloud-client/models/delivery_note.rb +36 -21
- data/lib/korona-cloud-client/models/delivery_note_item.rb +21 -8
- data/lib/korona-cloud-client/models/deposit.rb +23 -9
- data/lib/korona-cloud-client/models/device_configuration.rb +374 -0
- data/lib/korona-cloud-client/models/device_configuration_variable.rb +259 -0
- data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +228 -0
- data/lib/korona-cloud-client/models/device_information.rb +23 -8
- data/lib/korona-cloud-client/models/device_parameter_item.rb +237 -0
- data/lib/korona-cloud-client/models/discount.rb +51 -18
- data/lib/korona-cloud-client/models/discount_configuration.rb +290 -0
- data/lib/korona-cloud-client/models/discount_level.rb +268 -0
- data/lib/korona-cloud-client/models/dispatch_notification.rb +457 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item.rb +301 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +228 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +228 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +237 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +279 -0
- data/lib/korona-cloud-client/models/economic_zone.rb +32 -19
- data/lib/korona-cloud-client/models/end_of_day_statement.rb +34 -20
- data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +57 -8
- data/lib/korona-cloud-client/models/entry_gate.rb +32 -19
- data/lib/korona-cloud-client/models/event.rb +46 -20
- data/lib/korona-cloud-client/models/external_system_call.rb +44 -22
- data/lib/korona-cloud-client/models/fiscal_transaction.rb +27 -11
- data/lib/korona-cloud-client/models/fiscal_unit.rb +45 -23
- data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +24 -10
- data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +264 -0
- data/lib/korona-cloud-client/models/fiscal_unit_state.rb +21 -8
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +21 -8
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +21 -8
- data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +21 -8
- data/lib/korona-cloud-client/models/forbidden_error.rb +21 -8
- data/lib/korona-cloud-client/models/geo_location.rb +21 -8
- data/lib/korona-cloud-client/models/info_text.rb +46 -24
- data/lib/korona-cloud-client/models/interval.rb +25 -10
- data/lib/korona-cloud-client/models/inventory.rb +42 -21
- data/lib/korona-cloud-client/models/inventory_list.rb +49 -23
- data/lib/korona-cloud-client/models/inventory_list_item.rb +21 -8
- data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +21 -8
- data/lib/korona-cloud-client/models/item_sequence.rb +259 -0
- data/lib/korona-cloud-client/models/korona_account.rb +50 -22
- data/lib/korona-cloud-client/models/language_resource.rb +268 -0
- data/lib/korona-cloud-client/models/media_url.rb +21 -8
- data/lib/korona-cloud-client/models/message.rb +287 -0
- data/lib/korona-cloud-client/models/method_not_allowed_error.rb +21 -8
- data/lib/korona-cloud-client/models/model_reference.rb +22 -9
- data/lib/korona-cloud-client/models/not_found_error.rb +21 -8
- data/lib/korona-cloud-client/models/number_range.rb +289 -0
- data/lib/korona-cloud-client/models/number_range_configuration.rb +270 -0
- data/lib/korona-cloud-client/models/opening_hours.rb +23 -8
- data/lib/korona-cloud-client/models/organizational_unit.rb +50 -22
- data/lib/korona-cloud-client/models/payment.rb +58 -13
- data/lib/korona-cloud-client/models/payment_method.rb +80 -22
- data/lib/korona-cloud-client/models/payment_method_category.rb +259 -0
- data/lib/korona-cloud-client/models/payment_service_configuration.rb +289 -0
- data/lib/korona-cloud-client/models/payment_summary.rb +21 -8
- data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +264 -0
- data/lib/korona-cloud-client/models/period.rb +25 -10
- data/lib/korona-cloud-client/models/period_list_top_seller.rb +25 -10
- data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +25 -10
- data/lib/korona-cloud-client/models/period_object.rb +25 -10
- data/lib/korona-cloud-client/models/period_revenue_data.rb +25 -10
- data/lib/korona-cloud-client/models/pos.rb +206 -19
- data/lib/korona-cloud-client/models/pos_balance.rb +366 -0
- data/lib/korona-cloud-client/models/pos_balance_item.rb +289 -0
- data/lib/korona-cloud-client/models/pos_balance_summary.rb +237 -0
- data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +256 -0
- data/lib/korona-cloud-client/models/pos_balance_total.rb +228 -0
- data/lib/korona-cloud-client/models/pos_button.rb +330 -0
- data/lib/korona-cloud-client/models/pos_button_function.rb +388 -0
- data/lib/korona-cloud-client/models/pos_button_layout.rb +319 -0
- data/lib/korona-cloud-client/models/pos_page_layout.rb +289 -0
- data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +303 -0
- data/lib/korona-cloud-client/models/pos_profile.rb +715 -0
- data/lib/korona-cloud-client/models/prepaid_card.rb +228 -0
- data/lib/korona-cloud-client/models/price_group.rb +32 -19
- data/lib/korona-cloud-client/models/price_rule.rb +313 -0
- data/lib/korona-cloud-client/models/price_rule_calculation.rb +262 -0
- data/lib/korona-cloud-client/models/price_rule_condition.rb +307 -0
- data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +262 -0
- data/lib/korona-cloud-client/models/price_rule_validity_period.rb +237 -0
- data/lib/korona-cloud-client/models/product.rb +73 -22
- data/lib/korona-cloud-client/models/product_code.rb +21 -8
- data/lib/korona-cloud-client/models/product_description.rb +21 -8
- data/lib/korona-cloud-client/models/product_price.rb +25 -9
- data/lib/korona-cloud-client/models/product_special_price.rb +238 -0
- data/lib/korona-cloud-client/models/product_stock.rb +21 -8
- data/lib/korona-cloud-client/models/product_subproduct.rb +77 -12
- data/lib/korona-cloud-client/models/product_supplier_price.rb +21 -8
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +21 -8
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +22 -18
- data/lib/korona-cloud-client/models/production_type.rb +34 -21
- data/lib/korona-cloud-client/models/production_type_setting.rb +219 -0
- data/lib/korona-cloud-client/models/promotion.rb +384 -0
- data/lib/korona-cloud-client/models/promotion_application.rb +237 -0
- data/lib/korona-cloud-client/models/promotion_benefit.rb +289 -0
- data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +361 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +230 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +322 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +280 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +262 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +248 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +347 -0
- data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +280 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +280 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_coupon.rb +288 -0
- data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_layer.rb +228 -0
- data/lib/korona-cloud-client/models/promotion_stamp.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_trigger.rb +299 -0
- data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +262 -0
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +262 -0
- data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +271 -0
- data/lib/korona-cloud-client/models/promotion_validity.rb +295 -0
- data/lib/korona-cloud-client/models/rating.rb +21 -8
- data/lib/korona-cloud-client/models/receipt.rb +157 -21
- data/lib/korona-cloud-client/models/receipt_item.rb +177 -37
- data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +219 -0
- data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +428 -0
- data/lib/korona-cloud-client/models/receipt_max_revisions.rb +21 -8
- data/lib/korona-cloud-client/models/receipt_revenue.rb +228 -0
- data/lib/korona-cloud-client/models/receipt_total.rb +237 -0
- data/lib/korona-cloud-client/models/report_file.rb +337 -0
- data/lib/korona-cloud-client/models/result_list.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_account.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_assortment.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_attendance.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_cashier.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_cashier_role.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_commodity_group.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_contra_account.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_cost_center.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_coupon.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_creation_task.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_currency.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_customer.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_customer_group.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_customer_order.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_day_rating.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_delivery_note.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_discount_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_discount_level.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_economic_zone.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_entry_gate.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_event.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_external_system_call.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_info_text.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_inventory.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_inventory_list.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_item_sequence.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_language_resource.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_number_range_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_payment_method.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_pos_balance.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos_profile.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_price_group.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_price_rule.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_product.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_product_stock.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_production_type.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_promotion.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_receipt.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_report_file.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_revenue_account.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_sales_tax.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_sector.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_order.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_store_order.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_store_order_item.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_supplier.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_tag.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_ticket.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +21 -8
- data/lib/korona-cloud-client/models/result_list_user_role.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_resource.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_transaction_resource.rb +304 -0
- data/lib/korona-cloud-client/models/revenue_account.rb +259 -0
- data/lib/korona-cloud-client/models/revenue_data.rb +21 -8
- data/lib/korona-cloud-client/models/sales_tax.rb +44 -22
- data/lib/korona-cloud-client/models/sales_tax_rate.rb +23 -9
- data/lib/korona-cloud-client/models/sector.rb +32 -19
- data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +21 -8
- data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +21 -8
- data/lib/korona-cloud-client/models/service.rb +46 -12
- data/lib/korona-cloud-client/models/signature.rb +23 -9
- data/lib/korona-cloud-client/models/special_price.rb +238 -0
- data/lib/korona-cloud-client/models/special_price_configuration.rb +296 -0
- data/lib/korona-cloud-client/models/statistic.rb +21 -8
- data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +21 -8
- data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +21 -8
- data/lib/korona-cloud-client/models/statistic_revenue_data.rb +21 -8
- data/lib/korona-cloud-client/models/stock_adjustment.rb +376 -0
- data/lib/korona-cloud-client/models/stock_adjustment_item.rb +246 -0
- data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +262 -0
- data/lib/korona-cloud-client/models/stock_order.rb +131 -104
- data/lib/korona-cloud-client/models/stock_order_item.rb +23 -9
- data/lib/korona-cloud-client/models/stock_receipt.rb +38 -22
- data/lib/korona-cloud-client/models/stock_receipt_item.rb +23 -9
- data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +21 -8
- data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +21 -8
- data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +21 -8
- data/lib/korona-cloud-client/models/store_order.rb +334 -0
- data/lib/korona-cloud-client/models/store_order_item.rb +246 -0
- data/lib/korona-cloud-client/models/supplier.rb +44 -22
- data/lib/korona-cloud-client/models/supplier_contact.rb +21 -8
- data/lib/korona-cloud-client/models/supplier_contact_person.rb +21 -8
- data/lib/korona-cloud-client/models/supplier_payment_information.rb +21 -8
- data/lib/korona-cloud-client/models/tag.rb +32 -19
- data/lib/korona-cloud-client/models/tax_payment.rb +21 -8
- data/lib/korona-cloud-client/models/tax_summary.rb +21 -8
- data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +262 -0
- data/lib/korona-cloud-client/models/ticket.rb +25 -10
- data/lib/korona-cloud-client/models/ticket_data.rb +27 -10
- data/lib/korona-cloud-client/models/ticket_definition.rb +74 -19
- data/lib/korona-cloud-client/models/ticket_personalization.rb +21 -8
- data/lib/korona-cloud-client/models/time_of_day_interval.rb +230 -0
- data/lib/korona-cloud-client/models/time_period.rb +21 -8
- data/lib/korona-cloud-client/models/time_tracking_entity.rb +32 -19
- data/lib/korona-cloud-client/models/time_tracking_entry.rb +23 -9
- data/lib/korona-cloud-client/models/too_many_requests_error.rb +21 -8
- data/lib/korona-cloud-client/models/top_seller.rb +22 -9
- data/lib/korona-cloud-client/models/total_period.rb +25 -10
- data/lib/korona-cloud-client/models/total_price.rb +21 -8
- data/lib/korona-cloud-client/models/user_role.rb +292 -0
- data/lib/korona-cloud-client/models/validity.rb +27 -8
- data/lib/korona-cloud-client/models/voided_receipt_item.rb +36 -12
- data/lib/korona-cloud-client/models/voucher_configuration.rb +401 -0
- data/lib/korona-cloud-client/models/voucher_configuration_discount_calculation.rb +271 -0
- data/lib/korona-cloud-client/models/voucher_configuration_follow_up_products.rb +237 -0
- data/lib/korona-cloud-client/models/voucher_resource.rb +306 -0
- data/lib/korona-cloud-client/models/voucher_transaction.rb +345 -0
- data/lib/korona-cloud-client/models/voucher_transaction_resource.rb +447 -0
- data/lib/korona-cloud-client/models/weather.rb +21 -8
- data/lib/korona-cloud-client/version.rb +3 -3
- data/lib/korona-cloud-client.rb +165 -3
- data/spec/api/accounts_api_spec.rb +67 -3
- data/spec/api/additional_receipt_info_types_api_spec.rb +66 -2
- data/spec/api/assortments_api_spec.rb +2 -2
- data/spec/api/cashier_roles_api_spec.rb +2 -2
- data/spec/api/cashier_verification_requirements_api_spec.rb +101 -0
- data/spec/api/cashiers_api_spec.rb +68 -2
- data/spec/api/commodity_groups_api_spec.rb +2 -2
- data/spec/api/contra_accounts_api_spec.rb +128 -0
- data/spec/api/cost_centers_api_spec.rb +128 -0
- data/spec/api/coupons_api_spec.rb +63 -0
- data/spec/api/currencies_api_spec.rb +39 -2
- data/spec/api/customer_display_configurations_api_spec.rb +114 -0
- data/spec/api/customer_groups_api_spec.rb +66 -2
- data/spec/api/customer_orders_api_spec.rb +10 -6
- data/spec/api/customers_api_spec.rb +2 -2
- data/spec/api/delivery_notes_api_spec.rb +19 -6
- data/spec/api/device_configuration_variables_api_spec.rb +113 -0
- data/spec/api/discount_configurations_api_spec.rb +128 -0
- data/spec/api/discount_levels_api_spec.rb +128 -0
- data/spec/api/dispatch_notifications_api_spec.rb +206 -0
- data/spec/api/economic_zones_api_spec.rb +39 -2
- data/spec/api/external_system_calls_api_spec.rb +2 -2
- data/spec/api/fiscal_units_api_spec.rb +2 -2
- data/spec/api/images_api_spec.rb +2 -2
- data/spec/api/info_texts_api_spec.rb +39 -2
- data/spec/api/inventories_api_spec.rb +37 -24
- data/spec/api/item_sequences_api_spec.rb +128 -0
- data/spec/api/korona_account_api_spec.rb +2 -2
- data/spec/api/languages_api_spec.rb +128 -0
- data/spec/api/messages_api_spec.rb +47 -0
- data/spec/api/number_range_configurations_api_spec.rb +88 -0
- data/spec/api/organizational_units_api_spec.rb +73 -10
- data/spec/api/payment_method_categories_api_spec.rb +128 -0
- data/spec/api/payment_methods_api_spec.rb +66 -2
- data/spec/api/points_of_sale_api_spec.rb +58 -8
- data/spec/api/pos_button_layouts_api_spec.rb +128 -0
- data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
- data/spec/api/pos_profiles_api_spec.rb +128 -0
- data/spec/api/price_groups_api_spec.rb +39 -2
- data/spec/api/price_rules_api_spec.rb +126 -0
- data/spec/api/production_types_api_spec.rb +2 -2
- data/spec/api/products_api_spec.rb +19 -2
- data/spec/api/promotions_api_spec.rb +126 -0
- data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
- data/spec/api/receipts_api_spec.rb +23 -7
- data/spec/api/report_files_api_spec.rb +126 -0
- data/spec/api/revenue_accounts_api_spec.rb +128 -0
- data/spec/api/sales_taxes_api_spec.rb +39 -2
- data/spec/api/sectors_api_spec.rb +14 -2
- data/spec/api/special_price_configurations_api_spec.rb +113 -0
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/stock_adjustments_api_spec.rb +190 -0
- data/spec/api/stock_orders_api_spec.rb +37 -6
- data/spec/api/stock_receipts_api_spec.rb +6 -6
- data/spec/api/store_orders_api_spec.rb +192 -0
- data/spec/api/suppliers_api_spec.rb +39 -2
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/ticketing_api_spec.rb +81 -4
- data/spec/api/time_tracking_api_spec.rb +24 -24
- data/spec/api/user_roles_api_spec.rb +126 -0
- data/spec/api/voucher_configurations_api_spec.rb +127 -0
- data/spec/api/vouchers_api_spec.rb +240 -0
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_spec.rb +30 -15
- data/spec/models/account_summary_spec.rb +5 -12
- data/spec/models/account_transaction_spec.rb +11 -12
- data/spec/models/add_or_update_result_spec.rb +8 -15
- data/spec/models/additional_info_spec.rb +5 -12
- data/spec/models/additional_receipt_info_type_spec.rb +7 -20
- data/spec/models/address_information_spec.rb +11 -12
- data/spec/models/admission_spec.rb +5 -12
- data/spec/models/amount_count_data_spec.rb +5 -12
- data/spec/models/amount_spec.rb +5 -12
- data/spec/models/assortment_spec.rb +7 -14
- data/spec/models/attendance_spec.rb +7 -14
- data/spec/models/bad_request_error_spec.rb +7 -14
- data/spec/models/capacity_spec.rb +5 -12
- data/spec/models/cashier_role_spec.rb +9 -16
- data/spec/models/cashier_spec.rb +47 -18
- data/spec/models/cashier_summary_spec.rb +5 -12
- data/spec/models/cashier_verification_requirement_spec.rb +92 -0
- data/spec/models/cashier_verification_result_spec.rb +68 -0
- data/spec/models/category_spec.rb +5 -12
- data/spec/models/cloud_subscription_details_spec.rb +7 -14
- data/spec/models/cloud_subscription_spec.rb +6 -13
- data/spec/models/commodity_group_spec.rb +12 -13
- data/spec/models/commodity_group_summary_spec.rb +5 -12
- data/spec/models/company_identification_spec.rb +5 -12
- data/spec/models/contra_account_spec.rb +52 -0
- data/spec/models/cost_center_spec.rb +52 -0
- data/spec/models/coupon_position_spec.rb +64 -0
- data/spec/models/coupon_spec.rb +40 -0
- data/spec/models/creation_task_spec.rb +6 -13
- data/spec/models/currency_denomination_spec.rb +6 -13
- data/spec/models/currency_exchange_rate_spec.rb +5 -12
- data/spec/models/currency_spec.rb +7 -14
- data/spec/models/customer_card_spec.rb +6 -13
- data/spec/models/customer_data_spec.rb +5 -12
- data/spec/models/customer_display_configuration_spec.rb +142 -0
- data/spec/models/customer_group_spec.rb +7 -14
- data/spec/models/customer_group_summary_spec.rb +5 -12
- data/spec/models/customer_information_spec.rb +5 -12
- data/spec/models/customer_order_item_spec.rb +118 -0
- data/spec/models/customer_order_spec.rb +7 -14
- data/spec/models/customer_spec.rb +38 -15
- data/spec/models/date_interval_spec.rb +40 -0
- data/spec/models/day_rating_spec.rb +5 -12
- data/spec/models/day_time_period_spec.rb +5 -12
- data/spec/models/delivery_note_item_spec.rb +5 -12
- data/spec/models/delivery_note_spec.rb +7 -14
- data/spec/models/deposit_spec.rb +5 -12
- data/spec/models/device_configuration_spec.rb +100 -0
- data/spec/models/device_configuration_variable_spec.rb +58 -0
- data/spec/models/device_configuration_variable_value_spec.rb +40 -0
- data/spec/models/device_information_spec.rb +5 -12
- data/spec/models/device_parameter_item_spec.rb +46 -0
- data/spec/models/discount_configuration_spec.rb +76 -0
- data/spec/models/discount_level_spec.rb +64 -0
- data/spec/models/discount_spec.rb +18 -13
- data/spec/models/dispatch_notification_item_amount_spec.rb +40 -0
- data/spec/models/dispatch_notification_item_container_spec.rb +40 -0
- data/spec/models/dispatch_notification_item_identification_spec.rb +46 -0
- data/spec/models/dispatch_notification_item_import_spec.rb +70 -0
- data/spec/models/dispatch_notification_item_spec.rb +88 -0
- data/spec/models/dispatch_notification_spec.rb +170 -0
- data/spec/models/economic_zone_spec.rb +7 -14
- data/spec/models/end_of_day_statement_spec.rb +7 -14
- data/spec/models/end_of_day_statement_summary_spec.rb +5 -12
- data/spec/models/entry_gate_spec.rb +7 -14
- data/spec/models/event_spec.rb +7 -14
- data/spec/models/external_system_call_spec.rb +13 -14
- data/spec/models/fiscal_transaction_spec.rb +5 -12
- data/spec/models/fiscal_unit_certificate_info_spec.rb +5 -12
- data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
- data/spec/models/fiscal_unit_spec.rb +14 -15
- data/spec/models/fiscal_unit_state_spec.rb +6 -13
- data/spec/models/fiscal_unit_state_usage_level_spec.rb +5 -12
- data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +5 -12
- data/spec/models/fiscal_unit_state_version_info_spec.rb +5 -12
- data/spec/models/forbidden_error_spec.rb +6 -13
- data/spec/models/geo_location_spec.rb +5 -12
- data/spec/models/info_text_spec.rb +15 -16
- data/spec/models/interval_spec.rb +5 -12
- data/spec/models/inventory_list_item_spec.rb +5 -12
- data/spec/models/inventory_list_item_stock_spec.rb +5 -12
- data/spec/models/inventory_list_spec.rb +14 -15
- data/spec/models/inventory_spec.rb +10 -17
- data/spec/models/item_sequence_spec.rb +58 -0
- data/spec/models/korona_account_spec.rb +20 -15
- data/spec/models/language_resource_spec.rb +64 -0
- data/spec/models/media_url_spec.rb +5 -12
- data/spec/models/message_spec.rb +50 -0
- data/spec/models/method_not_allowed_error_spec.rb +6 -13
- data/spec/models/model_reference_spec.rb +5 -12
- data/spec/models/not_found_error_spec.rb +6 -13
- data/spec/models/number_range_configuration_spec.rb +64 -0
- data/spec/models/number_range_spec.rb +62 -0
- data/spec/models/opening_hours_spec.rb +6 -13
- data/spec/models/organizational_unit_spec.rb +26 -21
- data/spec/models/payment_method_category_spec.rb +58 -0
- data/spec/models/payment_method_spec.rb +43 -14
- data/spec/models/payment_service_configuration_spec.rb +62 -0
- data/spec/models/payment_spec.rb +23 -12
- data/spec/models/payment_summary_spec.rb +5 -12
- data/spec/models/payment_terminal_receipt_spec.rb +44 -0
- data/spec/models/period_list_top_seller_spec.rb +5 -12
- data/spec/models/period_map_string_revenue_data_spec.rb +5 -12
- data/spec/models/period_object_spec.rb +5 -12
- data/spec/models/period_revenue_data_spec.rb +5 -12
- data/spec/models/period_spec.rb +5 -12
- data/spec/models/pos_balance_item_spec.rb +62 -0
- data/spec/models/pos_balance_spec.rb +112 -0
- data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
- data/spec/models/pos_balance_summary_spec.rb +46 -0
- data/spec/models/pos_balance_total_spec.rb +40 -0
- data/spec/models/pos_button_function_spec.rb +116 -0
- data/spec/models/pos_button_layout_spec.rb +74 -0
- data/spec/models/pos_button_spec.rb +84 -0
- data/spec/models/pos_page_layout_configuration_spec.rb +82 -0
- data/spec/models/pos_page_layout_spec.rb +62 -0
- data/spec/models/pos_profile_spec.rb +318 -0
- data/spec/models/pos_spec.rb +112 -15
- data/spec/models/prepaid_card_spec.rb +40 -0
- data/spec/models/price_group_spec.rb +7 -14
- data/spec/models/price_rule_calculation_spec.rb +44 -0
- data/spec/models/price_rule_condition_spec.rb +74 -0
- data/spec/models/price_rule_spec.rb +94 -0
- data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
- data/spec/models/price_rule_validity_period_spec.rb +46 -0
- data/spec/models/product_code_spec.rb +5 -12
- data/spec/models/product_description_spec.rb +6 -13
- data/spec/models/product_price_spec.rb +5 -12
- data/spec/models/product_spec.rb +28 -17
- data/spec/models/product_special_price_spec.rb +46 -0
- data/spec/models/product_stock_spec.rb +5 -12
- data/spec/models/product_subproduct_spec.rb +21 -12
- data/spec/models/product_supplier_price_spec.rb +5 -12
- data/spec/models/product_transfer_involved_party_information_data_spec.rb +5 -18
- data/spec/models/product_transfer_involved_party_information_spec.rb +5 -12
- data/spec/models/production_type_setting_spec.rb +34 -0
- data/spec/models/production_type_spec.rb +10 -17
- data/spec/models/promotion_application_spec.rb +46 -0
- data/spec/models/promotion_benefit_common_discount_spec.rb +98 -0
- data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +76 -0
- data/spec/models/promotion_benefit_extended_discount_position_comperator_spec.rb +40 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +74 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
- data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
- data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
- data/spec/models/promotion_benefit_spec.rb +62 -0
- data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
- data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
- data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_spec.rb +40 -0
- data/spec/models/promotion_coupon_spec.rb +56 -0
- data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
- data/spec/models/promotion_coupon_validity_spec.rb +50 -0
- data/spec/models/promotion_layer_spec.rb +40 -0
- data/spec/models/promotion_spec.rb +116 -0
- data/spec/models/promotion_stamp_spec.rb +50 -0
- data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
- data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
- data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
- data/spec/models/promotion_trigger_spec.rb +76 -0
- data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
- data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
- data/spec/models/promotion_validity_spec.rb +62 -0
- data/spec/models/rating_spec.rb +5 -12
- data/spec/models/receipt_item_return_reason_spec.rb +34 -0
- data/spec/models/receipt_item_spec.rb +75 -18
- data/spec/models/receipt_layout_configuration_spec.rb +152 -0
- data/spec/models/receipt_max_revisions_spec.rb +5 -12
- data/spec/models/receipt_revenue_spec.rb +40 -0
- data/spec/models/receipt_spec.rb +102 -19
- data/spec/models/receipt_total_spec.rb +46 -0
- data/spec/models/report_file_spec.rb +80 -0
- data/spec/models/result_list_account_spec.rb +5 -12
- data/spec/models/result_list_additional_receipt_info_type_spec.rb +5 -12
- data/spec/models/result_list_assortment_spec.rb +5 -12
- data/spec/models/result_list_attendance_spec.rb +5 -12
- data/spec/models/result_list_cashier_role_spec.rb +5 -12
- data/spec/models/result_list_cashier_spec.rb +5 -12
- data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
- data/spec/models/result_list_commodity_group_spec.rb +5 -12
- data/spec/models/result_list_contra_account_spec.rb +64 -0
- data/spec/models/result_list_cost_center_spec.rb +64 -0
- data/spec/models/result_list_coupon_spec.rb +64 -0
- data/spec/models/result_list_creation_task_spec.rb +5 -12
- data/spec/models/result_list_currency_spec.rb +5 -12
- data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
- data/spec/models/result_list_customer_group_spec.rb +5 -12
- data/spec/models/result_list_customer_order_spec.rb +5 -12
- data/spec/models/result_list_customer_spec.rb +5 -12
- data/spec/models/result_list_day_rating_spec.rb +5 -12
- data/spec/models/result_list_delivery_note_spec.rb +5 -12
- data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
- data/spec/models/result_list_discount_configuration_spec.rb +64 -0
- data/spec/models/result_list_discount_level_spec.rb +64 -0
- data/spec/models/result_list_dispatch_notification_item_spec.rb +64 -0
- data/spec/models/result_list_dispatch_notification_spec.rb +64 -0
- data/spec/models/result_list_economic_zone_spec.rb +5 -12
- data/spec/models/result_list_end_of_day_statement_spec.rb +5 -12
- data/spec/models/result_list_entry_gate_spec.rb +5 -12
- data/spec/models/result_list_event_spec.rb +5 -12
- data/spec/models/result_list_external_system_call_spec.rb +5 -12
- data/spec/models/result_list_fiscal_unit_spec.rb +5 -12
- data/spec/models/result_list_info_text_spec.rb +5 -12
- data/spec/models/result_list_inventory_list_item_spec.rb +5 -12
- data/spec/models/result_list_inventory_list_spec.rb +5 -12
- data/spec/models/result_list_inventory_spec.rb +5 -12
- data/spec/models/result_list_item_sequence_spec.rb +64 -0
- data/spec/models/result_list_language_resource_spec.rb +64 -0
- data/spec/models/result_list_number_range_configuration_spec.rb +64 -0
- data/spec/models/result_list_organizational_unit_spec.rb +5 -12
- data/spec/models/result_list_payment_method_category_spec.rb +64 -0
- data/spec/models/result_list_payment_method_spec.rb +5 -12
- data/spec/models/result_list_pos_balance_spec.rb +64 -0
- data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
- data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
- data/spec/models/result_list_pos_profile_spec.rb +64 -0
- data/spec/models/result_list_pos_spec.rb +5 -12
- data/spec/models/result_list_price_group_spec.rb +5 -12
- data/spec/models/result_list_price_rule_spec.rb +64 -0
- data/spec/models/result_list_product_spec.rb +5 -12
- data/spec/models/result_list_product_stock_spec.rb +5 -12
- data/spec/models/result_list_production_type_spec.rb +5 -12
- data/spec/models/result_list_promotion_spec.rb +64 -0
- data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
- data/spec/models/result_list_receipt_spec.rb +5 -12
- data/spec/models/result_list_report_file_spec.rb +64 -0
- data/spec/models/result_list_revenue_account_spec.rb +64 -0
- data/spec/models/result_list_sales_tax_spec.rb +5 -12
- data/spec/models/result_list_sector_spec.rb +5 -12
- data/spec/models/result_list_spec.rb +5 -12
- data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
- data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
- data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
- data/spec/models/result_list_stock_order_item_spec.rb +64 -0
- data/spec/models/result_list_stock_order_spec.rb +5 -12
- data/spec/models/result_list_stock_receipt_item_spec.rb +5 -12
- data/spec/models/result_list_stock_receipt_spec.rb +5 -12
- data/spec/models/result_list_store_order_item_spec.rb +64 -0
- data/spec/models/result_list_store_order_spec.rb +64 -0
- data/spec/models/result_list_supplier_spec.rb +5 -12
- data/spec/models/result_list_tag_spec.rb +5 -12
- data/spec/models/result_list_ticket_definition_spec.rb +5 -12
- data/spec/models/result_list_ticket_spec.rb +5 -12
- data/spec/models/result_list_time_tracking_entity_spec.rb +5 -12
- data/spec/models/result_list_time_tracking_entry_spec.rb +5 -12
- data/spec/models/result_list_user_role_spec.rb +64 -0
- data/spec/models/result_list_voucher_configuration_spec.rb +64 -0
- data/spec/models/result_list_voucher_resource_spec.rb +64 -0
- data/spec/models/result_list_voucher_transaction_resource_spec.rb +64 -0
- data/spec/models/revenue_account_spec.rb +58 -0
- data/spec/models/revenue_data_spec.rb +5 -12
- data/spec/models/sales_tax_rate_spec.rb +5 -12
- data/spec/models/sales_tax_spec.rb +22 -13
- data/spec/models/sector_revenue_account_item_spec.rb +5 -12
- data/spec/models/sector_sales_tax_item_spec.rb +5 -12
- data/spec/models/sector_spec.rb +7 -14
- data/spec/models/service_spec.rb +16 -13
- data/spec/models/signature_spec.rb +5 -12
- data/spec/models/special_price_configuration_spec.rb +76 -0
- data/spec/models/special_price_spec.rb +46 -0
- data/spec/models/statistic_list_top_seller_spec.rb +5 -12
- data/spec/models/statistic_map_string_revenue_data_spec.rb +5 -12
- data/spec/models/statistic_revenue_data_spec.rb +5 -12
- data/spec/models/statistic_spec.rb +5 -12
- data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
- data/spec/models/stock_adjustment_item_spec.rb +52 -0
- data/spec/models/stock_adjustment_spec.rb +116 -0
- data/spec/models/stock_order_item_spec.rb +5 -12
- data/spec/models/stock_order_spec.rb +31 -32
- data/spec/models/stock_receipt_item_amount_spec.rb +5 -12
- data/spec/models/stock_receipt_item_identification_spec.rb +5 -12
- data/spec/models/stock_receipt_item_purchase_price_spec.rb +5 -12
- data/spec/models/stock_receipt_item_spec.rb +5 -12
- data/spec/models/stock_receipt_spec.rb +20 -15
- data/spec/models/store_order_item_spec.rb +52 -0
- data/spec/models/store_order_spec.rb +106 -0
- data/spec/models/supplier_contact_person_spec.rb +5 -12
- data/spec/models/supplier_contact_spec.rb +5 -12
- data/spec/models/supplier_payment_information_spec.rb +6 -13
- data/spec/models/supplier_spec.rb +13 -14
- data/spec/models/tag_spec.rb +7 -14
- data/spec/models/tax_payment_spec.rb +5 -12
- data/spec/models/tax_summary_spec.rb +5 -12
- data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
- data/spec/models/ticket_data_spec.rb +5 -12
- data/spec/models/ticket_definition_spec.rb +31 -14
- data/spec/models/ticket_personalization_spec.rb +5 -12
- data/spec/models/ticket_spec.rb +5 -12
- data/spec/models/time_of_day_interval_spec.rb +40 -0
- data/spec/models/time_period_spec.rb +5 -12
- data/spec/models/time_tracking_entity_spec.rb +7 -14
- data/spec/models/time_tracking_entry_spec.rb +5 -12
- data/spec/models/too_many_requests_error_spec.rb +6 -13
- data/spec/models/top_seller_spec.rb +5 -12
- data/spec/models/total_period_spec.rb +5 -12
- data/spec/models/total_price_spec.rb +5 -12
- data/spec/models/user_role_spec.rb +68 -0
- data/spec/models/validity_spec.rb +6 -13
- data/spec/models/voided_receipt_item_spec.rb +11 -12
- data/spec/models/voucher_configuration_discount_calculation_spec.rb +50 -0
- data/spec/models/voucher_configuration_follow_up_products_spec.rb +46 -0
- data/spec/models/voucher_configuration_spec.rb +134 -0
- data/spec/models/voucher_resource_spec.rb +88 -0
- data/spec/models/voucher_transaction_resource_spec.rb +164 -0
- data/spec/models/voucher_transaction_spec.rb +98 -0
- data/spec/models/weather_spec.rb +6 -13
- data/spec/spec_helper.rb +2 -2
- metadata +659 -35
- data/docs/TicketCreationApi.md +0 -122
- data/korona-cloud-client-1.0.0.gem +0 -0
- data/korona-cloud-client-1.0.1.gem +0 -0
- data/korona-cloud-client-1.0.2.gem +0 -0
- data/lib/korona-cloud-client/api/ticket_creation_api.rb +0 -163
- data/spec/api/ticket_creation_api_spec.rb +0 -61
data/docs/TicketingApi.md
CHANGED
@@ -2,46 +2,117 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
17
|
-
[**
|
18
|
-
[**
|
19
|
-
[**
|
20
|
-
[**
|
21
|
-
[**
|
22
|
-
[**
|
23
|
-
[**
|
24
|
-
[**
|
25
|
-
[**
|
26
|
-
[**
|
27
|
-
[**
|
28
|
-
[**
|
29
|
-
[**
|
30
|
-
[**
|
31
|
-
[**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_creation_task**](TicketingApi.md#add_creation_task) | **POST** /accounts/{koronaAccountId}/ticketCreation | adds a creation task |
|
8
|
+
| [**add_entry_gates**](TicketingApi.md#add_entry_gates) | **POST** /accounts/{koronaAccountId}/entryGates | adds a batch of new entry gates |
|
9
|
+
| [**add_events**](TicketingApi.md#add_events) | **POST** /accounts/{koronaAccountId}/events | adds a batch of new events |
|
10
|
+
| [**add_or_update_attendances**](TicketingApi.md#add_or_update_attendances) | **POST** /accounts/{koronaAccountId}/attendances | updates/adds attendances |
|
11
|
+
| [**add_ticket_definitions**](TicketingApi.md#add_ticket_definitions) | **POST** /accounts/{koronaAccountId}/ticketDefinitions | adds a batch of new ticket definitions |
|
12
|
+
| [**cancel_attendance**](TicketingApi.md#cancel_attendance) | **DELETE** /accounts/{koronaAccountId}/attendances/{attendanceId} | cancel the attendance |
|
13
|
+
| [**delete_entry_gates**](TicketingApi.md#delete_entry_gates) | **DELETE** /accounts/{koronaAccountId}/entryGates | deletes a batch of entry gates |
|
14
|
+
| [**delete_event**](TicketingApi.md#delete_event) | **DELETE** /accounts/{koronaAccountId}/events/{eventId} | deletes the single event |
|
15
|
+
| [**delete_ticket_definition**](TicketingApi.md#delete_ticket_definition) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | deletes the single ticket definition |
|
16
|
+
| [**delete_ticket_definitions**](TicketingApi.md#delete_ticket_definitions) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions | deletes a batch of ticket definitions |
|
17
|
+
| [**get_attendance**](TicketingApi.md#get_attendance) | **GET** /accounts/{koronaAccountId}/attendances/{attendanceId} | returns the single attendance |
|
18
|
+
| [**get_attendances**](TicketingApi.md#get_attendances) | **GET** /accounts/{koronaAccountId}/attendances | lists all attendances |
|
19
|
+
| [**get_creation_tasks**](TicketingApi.md#get_creation_tasks) | **GET** /accounts/{koronaAccountId}/ticketCreation | creation tasks, personalization will always be empty for technical reasons |
|
20
|
+
| [**get_entry_gate**](TicketingApi.md#get_entry_gate) | **GET** /accounts/{koronaAccountId}/entryGates/{entryGateId} | returns the single entry gate |
|
21
|
+
| [**get_entry_gates**](TicketingApi.md#get_entry_gates) | **GET** /accounts/{koronaAccountId}/entryGates | lists all entry gates |
|
22
|
+
| [**get_event**](TicketingApi.md#get_event) | **GET** /accounts/{koronaAccountId}/events/{eventId} | returns the single event |
|
23
|
+
| [**get_events**](TicketingApi.md#get_events) | **GET** /accounts/{koronaAccountId}/events | lists all events |
|
24
|
+
| [**get_ticket_definition**](TicketingApi.md#get_ticket_definition) | **GET** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | returns the single ticket definition |
|
25
|
+
| [**get_ticket_definitions**](TicketingApi.md#get_ticket_definitions) | **GET** /accounts/{koronaAccountId}/ticketDefinitions | lists all ticket definitions |
|
26
|
+
| [**get_tickets**](TicketingApi.md#get_tickets) | **GET** /accounts/{koronaAccountId}/tickets | lists all tickets |
|
27
|
+
| [**lock_ticket**](TicketingApi.md#lock_ticket) | **DELETE** /accounts/{koronaAccountId}/tickets/{ticketNumber} | locks the single ticket |
|
28
|
+
| [**unlock_ticket**](TicketingApi.md#unlock_ticket) | **POST** /accounts/{koronaAccountId}/tickets/{ticketNumber} | unlocks the single ticket |
|
29
|
+
| [**update_entry_gates**](TicketingApi.md#update_entry_gates) | **PATCH** /accounts/{koronaAccountId}/entryGates | updates a batch of entry gates |
|
30
|
+
| [**update_event**](TicketingApi.md#update_event) | **PATCH** /accounts/{koronaAccountId}/events/{eventId} | updates the single event |
|
31
|
+
| [**update_events**](TicketingApi.md#update_events) | **PATCH** /accounts/{koronaAccountId}/events | updates a batch of events |
|
32
|
+
| [**update_ticket**](TicketingApi.md#update_ticket) | **PATCH** /accounts/{koronaAccountId}/tickets/{ticketNumber} | updates the single ticket |
|
33
|
+
| [**update_ticket_definitions**](TicketingApi.md#update_ticket_definitions) | **PATCH** /accounts/{koronaAccountId}/ticketDefinitions | updates a batch of ticket definitions |
|
34
|
+
|
35
|
+
|
36
|
+
## add_creation_task
|
37
|
+
|
38
|
+
> <AddOrUpdateResult> add_creation_task(korona_account_id, body)
|
39
|
+
|
40
|
+
adds a creation task
|
41
|
+
|
42
|
+
### Examples
|
32
43
|
|
44
|
+
```ruby
|
45
|
+
require 'time'
|
46
|
+
require 'korona-cloud-client'
|
47
|
+
# setup authorization
|
48
|
+
KoronaCloudClient.configure do |config|
|
49
|
+
# Configure HTTP basic authorization: basicAuth
|
50
|
+
config.username = 'YOUR USERNAME'
|
51
|
+
config.password = 'YOUR PASSWORD'
|
52
|
+
end
|
53
|
+
|
54
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
55
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
56
|
+
body = KoronaCloudClient::CreationTask.new # CreationTask | a single ticket creation task
|
57
|
+
|
58
|
+
begin
|
59
|
+
# adds a creation task
|
60
|
+
result = api_instance.add_creation_task(korona_account_id, body)
|
61
|
+
p result
|
62
|
+
rescue KoronaCloudClient::ApiError => e
|
63
|
+
puts "Error when calling TicketingApi->add_creation_task: #{e}"
|
64
|
+
end
|
65
|
+
```
|
66
|
+
|
67
|
+
#### Using the add_creation_task_with_http_info variant
|
68
|
+
|
69
|
+
This returns an Array which contains the response data, status code and headers.
|
70
|
+
|
71
|
+
> <Array(<AddOrUpdateResult>, Integer, Hash)> add_creation_task_with_http_info(korona_account_id, body)
|
72
|
+
|
73
|
+
```ruby
|
74
|
+
begin
|
75
|
+
# adds a creation task
|
76
|
+
data, status_code, headers = api_instance.add_creation_task_with_http_info(korona_account_id, body)
|
77
|
+
p status_code # => 2xx
|
78
|
+
p headers # => { ... }
|
79
|
+
p data # => <AddOrUpdateResult>
|
80
|
+
rescue KoronaCloudClient::ApiError => e
|
81
|
+
puts "Error when calling TicketingApi->add_creation_task_with_http_info: #{e}"
|
82
|
+
end
|
83
|
+
```
|
84
|
+
|
85
|
+
### Parameters
|
86
|
+
|
87
|
+
| Name | Type | Description | Notes |
|
88
|
+
| ---- | ---- | ----------- | ----- |
|
89
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
90
|
+
| **body** | [**CreationTask**](CreationTask.md) | a single ticket creation task | |
|
91
|
+
|
92
|
+
### Return type
|
93
|
+
|
94
|
+
[**AddOrUpdateResult**](AddOrUpdateResult.md)
|
95
|
+
|
96
|
+
### Authorization
|
97
|
+
|
98
|
+
[basicAuth](../README.md#basicAuth)
|
99
|
+
|
100
|
+
### HTTP request headers
|
101
|
+
|
102
|
+
- **Content-Type**: application/json
|
103
|
+
- **Accept**: application/json
|
33
104
|
|
34
105
|
|
35
106
|
## add_entry_gates
|
36
107
|
|
37
|
-
> Array
|
108
|
+
> <Array<AddOrUpdateResult>> add_entry_gates(korona_account_id, body, opts)
|
38
109
|
|
39
110
|
adds a batch of new entry gates
|
40
111
|
|
41
|
-
###
|
112
|
+
### Examples
|
42
113
|
|
43
114
|
```ruby
|
44
|
-
|
115
|
+
require 'time'
|
45
116
|
require 'korona-cloud-client'
|
46
117
|
# setup authorization
|
47
118
|
KoronaCloudClient.configure do |config|
|
@@ -58,22 +129,39 @@ opts = {
|
|
58
129
|
}
|
59
130
|
|
60
131
|
begin
|
61
|
-
#adds a batch of new entry gates
|
132
|
+
# adds a batch of new entry gates
|
62
133
|
result = api_instance.add_entry_gates(korona_account_id, body, opts)
|
63
134
|
p result
|
64
135
|
rescue KoronaCloudClient::ApiError => e
|
65
|
-
puts "
|
136
|
+
puts "Error when calling TicketingApi->add_entry_gates: #{e}"
|
66
137
|
end
|
67
138
|
```
|
68
139
|
|
69
|
-
|
140
|
+
#### Using the add_entry_gates_with_http_info variant
|
141
|
+
|
142
|
+
This returns an Array which contains the response data, status code and headers.
|
70
143
|
|
144
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_entry_gates_with_http_info(korona_account_id, body, opts)
|
71
145
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
146
|
+
```ruby
|
147
|
+
begin
|
148
|
+
# adds a batch of new entry gates
|
149
|
+
data, status_code, headers = api_instance.add_entry_gates_with_http_info(korona_account_id, body, opts)
|
150
|
+
p status_code # => 2xx
|
151
|
+
p headers # => { ... }
|
152
|
+
p data # => <Array<AddOrUpdateResult>>
|
153
|
+
rescue KoronaCloudClient::ApiError => e
|
154
|
+
puts "Error when calling TicketingApi->add_entry_gates_with_http_info: #{e}"
|
155
|
+
end
|
156
|
+
```
|
157
|
+
|
158
|
+
### Parameters
|
159
|
+
|
160
|
+
| Name | Type | Description | Notes |
|
161
|
+
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
163
|
+
| **body** | [**Array<EntryGate>**](EntryGate.md) | array of new entry gates | |
|
164
|
+
| **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
|
77
165
|
|
78
166
|
### Return type
|
79
167
|
|
@@ -91,14 +179,14 @@ Name | Type | Description | Notes
|
|
91
179
|
|
92
180
|
## add_events
|
93
181
|
|
94
|
-
> Array
|
182
|
+
> <Array<AddOrUpdateResult>> add_events(korona_account_id, body, opts)
|
95
183
|
|
96
184
|
adds a batch of new events
|
97
185
|
|
98
|
-
###
|
186
|
+
### Examples
|
99
187
|
|
100
188
|
```ruby
|
101
|
-
|
189
|
+
require 'time'
|
102
190
|
require 'korona-cloud-client'
|
103
191
|
# setup authorization
|
104
192
|
KoronaCloudClient.configure do |config|
|
@@ -115,22 +203,39 @@ opts = {
|
|
115
203
|
}
|
116
204
|
|
117
205
|
begin
|
118
|
-
#adds a batch of new events
|
206
|
+
# adds a batch of new events
|
119
207
|
result = api_instance.add_events(korona_account_id, body, opts)
|
120
208
|
p result
|
121
209
|
rescue KoronaCloudClient::ApiError => e
|
122
|
-
puts "
|
210
|
+
puts "Error when calling TicketingApi->add_events: #{e}"
|
123
211
|
end
|
124
212
|
```
|
125
213
|
|
126
|
-
|
214
|
+
#### Using the add_events_with_http_info variant
|
215
|
+
|
216
|
+
This returns an Array which contains the response data, status code and headers.
|
217
|
+
|
218
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_events_with_http_info(korona_account_id, body, opts)
|
127
219
|
|
220
|
+
```ruby
|
221
|
+
begin
|
222
|
+
# adds a batch of new events
|
223
|
+
data, status_code, headers = api_instance.add_events_with_http_info(korona_account_id, body, opts)
|
224
|
+
p status_code # => 2xx
|
225
|
+
p headers # => { ... }
|
226
|
+
p data # => <Array<AddOrUpdateResult>>
|
227
|
+
rescue KoronaCloudClient::ApiError => e
|
228
|
+
puts "Error when calling TicketingApi->add_events_with_http_info: #{e}"
|
229
|
+
end
|
230
|
+
```
|
128
231
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
**
|
232
|
+
### Parameters
|
233
|
+
|
234
|
+
| Name | Type | Description | Notes |
|
235
|
+
| ---- | ---- | ----------- | ----- |
|
236
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
237
|
+
| **body** | [**Array<Event>**](Event.md) | an array of new events | |
|
238
|
+
| **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
|
134
239
|
|
135
240
|
### Return type
|
136
241
|
|
@@ -148,14 +253,14 @@ Name | Type | Description | Notes
|
|
148
253
|
|
149
254
|
## add_or_update_attendances
|
150
255
|
|
151
|
-
> Array
|
256
|
+
> <Array<AddOrUpdateResult>> add_or_update_attendances(korona_account_id, body)
|
152
257
|
|
153
258
|
updates/adds attendances
|
154
259
|
|
155
|
-
###
|
260
|
+
### Examples
|
156
261
|
|
157
262
|
```ruby
|
158
|
-
|
263
|
+
require 'time'
|
159
264
|
require 'korona-cloud-client'
|
160
265
|
# setup authorization
|
161
266
|
KoronaCloudClient.configure do |config|
|
@@ -169,21 +274,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
169
274
|
body = [KoronaCloudClient::Attendance.new] # Array<Attendance> | an array of attendances
|
170
275
|
|
171
276
|
begin
|
172
|
-
#updates/adds attendances
|
277
|
+
# updates/adds attendances
|
173
278
|
result = api_instance.add_or_update_attendances(korona_account_id, body)
|
174
279
|
p result
|
175
280
|
rescue KoronaCloudClient::ApiError => e
|
176
|
-
puts "
|
281
|
+
puts "Error when calling TicketingApi->add_or_update_attendances: #{e}"
|
177
282
|
end
|
178
283
|
```
|
179
284
|
|
180
|
-
|
285
|
+
#### Using the add_or_update_attendances_with_http_info variant
|
181
286
|
|
287
|
+
This returns an Array which contains the response data, status code and headers.
|
182
288
|
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
289
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_or_update_attendances_with_http_info(korona_account_id, body)
|
290
|
+
|
291
|
+
```ruby
|
292
|
+
begin
|
293
|
+
# updates/adds attendances
|
294
|
+
data, status_code, headers = api_instance.add_or_update_attendances_with_http_info(korona_account_id, body)
|
295
|
+
p status_code # => 2xx
|
296
|
+
p headers # => { ... }
|
297
|
+
p data # => <Array<AddOrUpdateResult>>
|
298
|
+
rescue KoronaCloudClient::ApiError => e
|
299
|
+
puts "Error when calling TicketingApi->add_or_update_attendances_with_http_info: #{e}"
|
300
|
+
end
|
301
|
+
```
|
302
|
+
|
303
|
+
### Parameters
|
304
|
+
|
305
|
+
| Name | Type | Description | Notes |
|
306
|
+
| ---- | ---- | ----------- | ----- |
|
307
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
308
|
+
| **body** | [**Array<Attendance>**](Attendance.md) | an array of attendances | |
|
187
309
|
|
188
310
|
### Return type
|
189
311
|
|
@@ -201,14 +323,14 @@ Name | Type | Description | Notes
|
|
201
323
|
|
202
324
|
## add_ticket_definitions
|
203
325
|
|
204
|
-
> Array
|
326
|
+
> <Array<AddOrUpdateResult>> add_ticket_definitions(korona_account_id, body, opts)
|
205
327
|
|
206
328
|
adds a batch of new ticket definitions
|
207
329
|
|
208
|
-
###
|
330
|
+
### Examples
|
209
331
|
|
210
332
|
```ruby
|
211
|
-
|
333
|
+
require 'time'
|
212
334
|
require 'korona-cloud-client'
|
213
335
|
# setup authorization
|
214
336
|
KoronaCloudClient.configure do |config|
|
@@ -225,22 +347,39 @@ opts = {
|
|
225
347
|
}
|
226
348
|
|
227
349
|
begin
|
228
|
-
#adds a batch of new ticket definitions
|
350
|
+
# adds a batch of new ticket definitions
|
229
351
|
result = api_instance.add_ticket_definitions(korona_account_id, body, opts)
|
230
352
|
p result
|
231
353
|
rescue KoronaCloudClient::ApiError => e
|
232
|
-
puts "
|
354
|
+
puts "Error when calling TicketingApi->add_ticket_definitions: #{e}"
|
233
355
|
end
|
234
356
|
```
|
235
357
|
|
236
|
-
|
358
|
+
#### Using the add_ticket_definitions_with_http_info variant
|
237
359
|
|
360
|
+
This returns an Array which contains the response data, status code and headers.
|
238
361
|
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
362
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_ticket_definitions_with_http_info(korona_account_id, body, opts)
|
363
|
+
|
364
|
+
```ruby
|
365
|
+
begin
|
366
|
+
# adds a batch of new ticket definitions
|
367
|
+
data, status_code, headers = api_instance.add_ticket_definitions_with_http_info(korona_account_id, body, opts)
|
368
|
+
p status_code # => 2xx
|
369
|
+
p headers # => { ... }
|
370
|
+
p data # => <Array<AddOrUpdateResult>>
|
371
|
+
rescue KoronaCloudClient::ApiError => e
|
372
|
+
puts "Error when calling TicketingApi->add_ticket_definitions_with_http_info: #{e}"
|
373
|
+
end
|
374
|
+
```
|
375
|
+
|
376
|
+
### Parameters
|
377
|
+
|
378
|
+
| Name | Type | Description | Notes |
|
379
|
+
| ---- | ---- | ----------- | ----- |
|
380
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
381
|
+
| **body** | [**Array<TicketDefinition>**](TicketDefinition.md) | array of new ticket definitions | |
|
382
|
+
| **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
|
244
383
|
|
245
384
|
### Return type
|
246
385
|
|
@@ -262,10 +401,10 @@ Name | Type | Description | Notes
|
|
262
401
|
|
263
402
|
cancel the attendance
|
264
403
|
|
265
|
-
###
|
404
|
+
### Examples
|
266
405
|
|
267
406
|
```ruby
|
268
|
-
|
407
|
+
require 'time'
|
269
408
|
require 'korona-cloud-client'
|
270
409
|
# setup authorization
|
271
410
|
KoronaCloudClient.configure do |config|
|
@@ -279,20 +418,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
279
418
|
attendance_id = 'attendance_id_example' # String | id of the related object (important: id should match the uuid-format)
|
280
419
|
|
281
420
|
begin
|
282
|
-
#cancel the attendance
|
421
|
+
# cancel the attendance
|
283
422
|
api_instance.cancel_attendance(korona_account_id, attendance_id)
|
284
423
|
rescue KoronaCloudClient::ApiError => e
|
285
|
-
puts "
|
424
|
+
puts "Error when calling TicketingApi->cancel_attendance: #{e}"
|
286
425
|
end
|
287
426
|
```
|
288
427
|
|
289
|
-
|
428
|
+
#### Using the cancel_attendance_with_http_info variant
|
290
429
|
|
430
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
291
431
|
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
432
|
+
> <Array(nil, Integer, Hash)> cancel_attendance_with_http_info(korona_account_id, attendance_id)
|
433
|
+
|
434
|
+
```ruby
|
435
|
+
begin
|
436
|
+
# cancel the attendance
|
437
|
+
data, status_code, headers = api_instance.cancel_attendance_with_http_info(korona_account_id, attendance_id)
|
438
|
+
p status_code # => 2xx
|
439
|
+
p headers # => { ... }
|
440
|
+
p data # => nil
|
441
|
+
rescue KoronaCloudClient::ApiError => e
|
442
|
+
puts "Error when calling TicketingApi->cancel_attendance_with_http_info: #{e}"
|
443
|
+
end
|
444
|
+
```
|
445
|
+
|
446
|
+
### Parameters
|
447
|
+
|
448
|
+
| Name | Type | Description | Notes |
|
449
|
+
| ---- | ---- | ----------- | ----- |
|
450
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
451
|
+
| **attendance_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
296
452
|
|
297
453
|
### Return type
|
298
454
|
|
@@ -310,14 +466,14 @@ nil (empty response body)
|
|
310
466
|
|
311
467
|
## delete_entry_gates
|
312
468
|
|
313
|
-
> Array
|
469
|
+
> <Array<AddOrUpdateResult>> delete_entry_gates(korona_account_id, body)
|
314
470
|
|
315
471
|
deletes a batch of entry gates
|
316
472
|
|
317
|
-
###
|
473
|
+
### Examples
|
318
474
|
|
319
475
|
```ruby
|
320
|
-
|
476
|
+
require 'time'
|
321
477
|
require 'korona-cloud-client'
|
322
478
|
# setup authorization
|
323
479
|
KoronaCloudClient.configure do |config|
|
@@ -331,21 +487,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
331
487
|
body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of existing entry gates (id or number required)
|
332
488
|
|
333
489
|
begin
|
334
|
-
#deletes a batch of entry gates
|
490
|
+
# deletes a batch of entry gates
|
335
491
|
result = api_instance.delete_entry_gates(korona_account_id, body)
|
336
492
|
p result
|
337
493
|
rescue KoronaCloudClient::ApiError => e
|
338
|
-
puts "
|
494
|
+
puts "Error when calling TicketingApi->delete_entry_gates: #{e}"
|
339
495
|
end
|
340
496
|
```
|
341
497
|
|
342
|
-
|
498
|
+
#### Using the delete_entry_gates_with_http_info variant
|
499
|
+
|
500
|
+
This returns an Array which contains the response data, status code and headers.
|
501
|
+
|
502
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_entry_gates_with_http_info(korona_account_id, body)
|
503
|
+
|
504
|
+
```ruby
|
505
|
+
begin
|
506
|
+
# deletes a batch of entry gates
|
507
|
+
data, status_code, headers = api_instance.delete_entry_gates_with_http_info(korona_account_id, body)
|
508
|
+
p status_code # => 2xx
|
509
|
+
p headers # => { ... }
|
510
|
+
p data # => <Array<AddOrUpdateResult>>
|
511
|
+
rescue KoronaCloudClient::ApiError => e
|
512
|
+
puts "Error when calling TicketingApi->delete_entry_gates_with_http_info: #{e}"
|
513
|
+
end
|
514
|
+
```
|
343
515
|
|
516
|
+
### Parameters
|
344
517
|
|
345
|
-
Name | Type | Description
|
346
|
-
|
347
|
-
**korona_account_id** | **String
|
348
|
-
**body** | [**Array<EntryGate>**](EntryGate.md)| array of existing entry gates (id or number required) |
|
518
|
+
| Name | Type | Description | Notes |
|
519
|
+
| ---- | ---- | ----------- | ----- |
|
520
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
521
|
+
| **body** | [**Array<EntryGate>**](EntryGate.md) | array of existing entry gates (id or number required) | |
|
349
522
|
|
350
523
|
### Return type
|
351
524
|
|
@@ -367,10 +540,10 @@ Name | Type | Description | Notes
|
|
367
540
|
|
368
541
|
deletes the single event
|
369
542
|
|
370
|
-
###
|
543
|
+
### Examples
|
371
544
|
|
372
545
|
```ruby
|
373
|
-
|
546
|
+
require 'time'
|
374
547
|
require 'korona-cloud-client'
|
375
548
|
# setup authorization
|
376
549
|
KoronaCloudClient.configure do |config|
|
@@ -384,20 +557,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
384
557
|
event_id = 'event_id_example' # String | id of the related object (important: id should match the uuid-format)
|
385
558
|
|
386
559
|
begin
|
387
|
-
#deletes the single event
|
560
|
+
# deletes the single event
|
388
561
|
api_instance.delete_event(korona_account_id, event_id)
|
389
562
|
rescue KoronaCloudClient::ApiError => e
|
390
|
-
puts "
|
563
|
+
puts "Error when calling TicketingApi->delete_event: #{e}"
|
391
564
|
end
|
392
565
|
```
|
393
566
|
|
394
|
-
|
567
|
+
#### Using the delete_event_with_http_info variant
|
568
|
+
|
569
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
395
570
|
|
571
|
+
> <Array(nil, Integer, Hash)> delete_event_with_http_info(korona_account_id, event_id)
|
396
572
|
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
573
|
+
```ruby
|
574
|
+
begin
|
575
|
+
# deletes the single event
|
576
|
+
data, status_code, headers = api_instance.delete_event_with_http_info(korona_account_id, event_id)
|
577
|
+
p status_code # => 2xx
|
578
|
+
p headers # => { ... }
|
579
|
+
p data # => nil
|
580
|
+
rescue KoronaCloudClient::ApiError => e
|
581
|
+
puts "Error when calling TicketingApi->delete_event_with_http_info: #{e}"
|
582
|
+
end
|
583
|
+
```
|
584
|
+
|
585
|
+
### Parameters
|
586
|
+
|
587
|
+
| Name | Type | Description | Notes |
|
588
|
+
| ---- | ---- | ----------- | ----- |
|
589
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
590
|
+
| **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
401
591
|
|
402
592
|
### Return type
|
403
593
|
|
@@ -419,10 +609,10 @@ nil (empty response body)
|
|
419
609
|
|
420
610
|
deletes the single ticket definition
|
421
611
|
|
422
|
-
###
|
612
|
+
### Examples
|
423
613
|
|
424
614
|
```ruby
|
425
|
-
|
615
|
+
require 'time'
|
426
616
|
require 'korona-cloud-client'
|
427
617
|
# setup authorization
|
428
618
|
KoronaCloudClient.configure do |config|
|
@@ -436,20 +626,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
436
626
|
ticket_definition_id = 'ticket_definition_id_example' # String | id of the related object (important: id should match the uuid-format)
|
437
627
|
|
438
628
|
begin
|
439
|
-
#deletes the single ticket definition
|
629
|
+
# deletes the single ticket definition
|
440
630
|
api_instance.delete_ticket_definition(korona_account_id, ticket_definition_id)
|
441
631
|
rescue KoronaCloudClient::ApiError => e
|
442
|
-
puts "
|
632
|
+
puts "Error when calling TicketingApi->delete_ticket_definition: #{e}"
|
443
633
|
end
|
444
634
|
```
|
445
635
|
|
446
|
-
|
636
|
+
#### Using the delete_ticket_definition_with_http_info variant
|
447
637
|
|
638
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
448
639
|
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
640
|
+
> <Array(nil, Integer, Hash)> delete_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
641
|
+
|
642
|
+
```ruby
|
643
|
+
begin
|
644
|
+
# deletes the single ticket definition
|
645
|
+
data, status_code, headers = api_instance.delete_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
646
|
+
p status_code # => 2xx
|
647
|
+
p headers # => { ... }
|
648
|
+
p data # => nil
|
649
|
+
rescue KoronaCloudClient::ApiError => e
|
650
|
+
puts "Error when calling TicketingApi->delete_ticket_definition_with_http_info: #{e}"
|
651
|
+
end
|
652
|
+
```
|
653
|
+
|
654
|
+
### Parameters
|
655
|
+
|
656
|
+
| Name | Type | Description | Notes |
|
657
|
+
| ---- | ---- | ----------- | ----- |
|
658
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
659
|
+
| **ticket_definition_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
453
660
|
|
454
661
|
### Return type
|
455
662
|
|
@@ -467,14 +674,14 @@ nil (empty response body)
|
|
467
674
|
|
468
675
|
## delete_ticket_definitions
|
469
676
|
|
470
|
-
> Array
|
677
|
+
> <Array<AddOrUpdateResult>> delete_ticket_definitions(korona_account_id, body)
|
471
678
|
|
472
679
|
deletes a batch of ticket definitions
|
473
680
|
|
474
|
-
###
|
681
|
+
### Examples
|
475
682
|
|
476
683
|
```ruby
|
477
|
-
|
684
|
+
require 'time'
|
478
685
|
require 'korona-cloud-client'
|
479
686
|
# setup authorization
|
480
687
|
KoronaCloudClient.configure do |config|
|
@@ -488,21 +695,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
488
695
|
body = [KoronaCloudClient::TicketDefinition.new] # Array<TicketDefinition> | array of existing ticket definitions (id or number required)
|
489
696
|
|
490
697
|
begin
|
491
|
-
#deletes a batch of ticket definitions
|
698
|
+
# deletes a batch of ticket definitions
|
492
699
|
result = api_instance.delete_ticket_definitions(korona_account_id, body)
|
493
700
|
p result
|
494
701
|
rescue KoronaCloudClient::ApiError => e
|
495
|
-
puts "
|
702
|
+
puts "Error when calling TicketingApi->delete_ticket_definitions: #{e}"
|
496
703
|
end
|
497
704
|
```
|
498
705
|
|
499
|
-
|
706
|
+
#### Using the delete_ticket_definitions_with_http_info variant
|
500
707
|
|
708
|
+
This returns an Array which contains the response data, status code and headers.
|
501
709
|
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
710
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_ticket_definitions_with_http_info(korona_account_id, body)
|
711
|
+
|
712
|
+
```ruby
|
713
|
+
begin
|
714
|
+
# deletes a batch of ticket definitions
|
715
|
+
data, status_code, headers = api_instance.delete_ticket_definitions_with_http_info(korona_account_id, body)
|
716
|
+
p status_code # => 2xx
|
717
|
+
p headers # => { ... }
|
718
|
+
p data # => <Array<AddOrUpdateResult>>
|
719
|
+
rescue KoronaCloudClient::ApiError => e
|
720
|
+
puts "Error when calling TicketingApi->delete_ticket_definitions_with_http_info: #{e}"
|
721
|
+
end
|
722
|
+
```
|
723
|
+
|
724
|
+
### Parameters
|
725
|
+
|
726
|
+
| Name | Type | Description | Notes |
|
727
|
+
| ---- | ---- | ----------- | ----- |
|
728
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
729
|
+
| **body** | [**Array<TicketDefinition>**](TicketDefinition.md) | array of existing ticket definitions (id or number required) | |
|
506
730
|
|
507
731
|
### Return type
|
508
732
|
|
@@ -520,14 +744,14 @@ Name | Type | Description | Notes
|
|
520
744
|
|
521
745
|
## get_attendance
|
522
746
|
|
523
|
-
> Attendance get_attendance(korona_account_id, attendance_id)
|
747
|
+
> <Attendance> get_attendance(korona_account_id, attendance_id)
|
524
748
|
|
525
749
|
returns the single attendance
|
526
750
|
|
527
|
-
###
|
751
|
+
### Examples
|
528
752
|
|
529
753
|
```ruby
|
530
|
-
|
754
|
+
require 'time'
|
531
755
|
require 'korona-cloud-client'
|
532
756
|
# setup authorization
|
533
757
|
KoronaCloudClient.configure do |config|
|
@@ -541,21 +765,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
541
765
|
attendance_id = 'attendance_id_example' # String | id of the related object (important: id should match the uuid-format)
|
542
766
|
|
543
767
|
begin
|
544
|
-
#returns the single attendance
|
768
|
+
# returns the single attendance
|
545
769
|
result = api_instance.get_attendance(korona_account_id, attendance_id)
|
546
770
|
p result
|
547
771
|
rescue KoronaCloudClient::ApiError => e
|
548
|
-
puts "
|
772
|
+
puts "Error when calling TicketingApi->get_attendance: #{e}"
|
549
773
|
end
|
550
774
|
```
|
551
775
|
|
552
|
-
|
776
|
+
#### Using the get_attendance_with_http_info variant
|
553
777
|
|
778
|
+
This returns an Array which contains the response data, status code and headers.
|
554
779
|
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
780
|
+
> <Array(<Attendance>, Integer, Hash)> get_attendance_with_http_info(korona_account_id, attendance_id)
|
781
|
+
|
782
|
+
```ruby
|
783
|
+
begin
|
784
|
+
# returns the single attendance
|
785
|
+
data, status_code, headers = api_instance.get_attendance_with_http_info(korona_account_id, attendance_id)
|
786
|
+
p status_code # => 2xx
|
787
|
+
p headers # => { ... }
|
788
|
+
p data # => <Attendance>
|
789
|
+
rescue KoronaCloudClient::ApiError => e
|
790
|
+
puts "Error when calling TicketingApi->get_attendance_with_http_info: #{e}"
|
791
|
+
end
|
792
|
+
```
|
793
|
+
|
794
|
+
### Parameters
|
795
|
+
|
796
|
+
| Name | Type | Description | Notes |
|
797
|
+
| ---- | ---- | ----------- | ----- |
|
798
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
799
|
+
| **attendance_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
559
800
|
|
560
801
|
### Return type
|
561
802
|
|
@@ -573,14 +814,14 @@ Name | Type | Description | Notes
|
|
573
814
|
|
574
815
|
## get_attendances
|
575
816
|
|
576
|
-
> ResultListAttendance get_attendances(korona_account_id, opts)
|
817
|
+
> <ResultListAttendance> get_attendances(korona_account_id, opts)
|
577
818
|
|
578
819
|
lists all attendances
|
579
820
|
|
580
|
-
###
|
821
|
+
### Examples
|
581
822
|
|
582
823
|
```ruby
|
583
|
-
|
824
|
+
require 'time'
|
584
825
|
require 'korona-cloud-client'
|
585
826
|
# setup authorization
|
586
827
|
KoronaCloudClient.configure do |config|
|
@@ -595,30 +836,47 @@ opts = {
|
|
595
836
|
page: 56, # Integer | number of the page to fetch
|
596
837
|
size: 56, # Integer | amount of objects to return per page
|
597
838
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
598
|
-
revision:
|
839
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
599
840
|
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
600
841
|
}
|
601
842
|
|
602
843
|
begin
|
603
|
-
#lists all attendances
|
844
|
+
# lists all attendances
|
604
845
|
result = api_instance.get_attendances(korona_account_id, opts)
|
605
846
|
p result
|
606
847
|
rescue KoronaCloudClient::ApiError => e
|
607
|
-
puts "
|
848
|
+
puts "Error when calling TicketingApi->get_attendances: #{e}"
|
608
849
|
end
|
609
850
|
```
|
610
851
|
|
611
|
-
|
852
|
+
#### Using the get_attendances_with_http_info variant
|
853
|
+
|
854
|
+
This returns an Array which contains the response data, status code and headers.
|
855
|
+
|
856
|
+
> <Array(<ResultListAttendance>, Integer, Hash)> get_attendances_with_http_info(korona_account_id, opts)
|
857
|
+
|
858
|
+
```ruby
|
859
|
+
begin
|
860
|
+
# lists all attendances
|
861
|
+
data, status_code, headers = api_instance.get_attendances_with_http_info(korona_account_id, opts)
|
862
|
+
p status_code # => 2xx
|
863
|
+
p headers # => { ... }
|
864
|
+
p data # => <ResultListAttendance>
|
865
|
+
rescue KoronaCloudClient::ApiError => e
|
866
|
+
puts "Error when calling TicketingApi->get_attendances_with_http_info: #{e}"
|
867
|
+
end
|
868
|
+
```
|
612
869
|
|
870
|
+
### Parameters
|
613
871
|
|
614
|
-
Name | Type | Description
|
615
|
-
|
616
|
-
**korona_account_id** | **String
|
617
|
-
**page** | **Integer
|
618
|
-
**size** | **Integer
|
619
|
-
**sort** | **String
|
620
|
-
**revision** | **Integer
|
621
|
-
**include_deleted** | **Boolean
|
872
|
+
| Name | Type | Description | Notes |
|
873
|
+
| ---- | ---- | ----------- | ----- |
|
874
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
875
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
876
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
877
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
878
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
879
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
622
880
|
|
623
881
|
### Return type
|
624
882
|
|
@@ -634,16 +892,92 @@ Name | Type | Description | Notes
|
|
634
892
|
- **Accept**: application/json
|
635
893
|
|
636
894
|
|
895
|
+
## get_creation_tasks
|
896
|
+
|
897
|
+
> <ResultListCreationTask> get_creation_tasks(korona_account_id, opts)
|
898
|
+
|
899
|
+
creation tasks, personalization will always be empty for technical reasons
|
900
|
+
|
901
|
+
### Examples
|
902
|
+
|
903
|
+
```ruby
|
904
|
+
require 'time'
|
905
|
+
require 'korona-cloud-client'
|
906
|
+
# setup authorization
|
907
|
+
KoronaCloudClient.configure do |config|
|
908
|
+
# Configure HTTP basic authorization: basicAuth
|
909
|
+
config.username = 'YOUR USERNAME'
|
910
|
+
config.password = 'YOUR PASSWORD'
|
911
|
+
end
|
912
|
+
|
913
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
914
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
915
|
+
opts = {
|
916
|
+
creation_time_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation time from
|
917
|
+
creation_time_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation time to
|
918
|
+
statuses: ['PREPARED'] # Array<String> | creation task statuses
|
919
|
+
}
|
920
|
+
|
921
|
+
begin
|
922
|
+
# creation tasks, personalization will always be empty for technical reasons
|
923
|
+
result = api_instance.get_creation_tasks(korona_account_id, opts)
|
924
|
+
p result
|
925
|
+
rescue KoronaCloudClient::ApiError => e
|
926
|
+
puts "Error when calling TicketingApi->get_creation_tasks: #{e}"
|
927
|
+
end
|
928
|
+
```
|
929
|
+
|
930
|
+
#### Using the get_creation_tasks_with_http_info variant
|
931
|
+
|
932
|
+
This returns an Array which contains the response data, status code and headers.
|
933
|
+
|
934
|
+
> <Array(<ResultListCreationTask>, Integer, Hash)> get_creation_tasks_with_http_info(korona_account_id, opts)
|
935
|
+
|
936
|
+
```ruby
|
937
|
+
begin
|
938
|
+
# creation tasks, personalization will always be empty for technical reasons
|
939
|
+
data, status_code, headers = api_instance.get_creation_tasks_with_http_info(korona_account_id, opts)
|
940
|
+
p status_code # => 2xx
|
941
|
+
p headers # => { ... }
|
942
|
+
p data # => <ResultListCreationTask>
|
943
|
+
rescue KoronaCloudClient::ApiError => e
|
944
|
+
puts "Error when calling TicketingApi->get_creation_tasks_with_http_info: #{e}"
|
945
|
+
end
|
946
|
+
```
|
947
|
+
|
948
|
+
### Parameters
|
949
|
+
|
950
|
+
| Name | Type | Description | Notes |
|
951
|
+
| ---- | ---- | ----------- | ----- |
|
952
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
953
|
+
| **creation_time_from** | **Time** | creation time from | [optional] |
|
954
|
+
| **creation_time_to** | **Time** | creation time to | [optional] |
|
955
|
+
| **statuses** | [**Array<String>**](String.md) | creation task statuses | [optional] |
|
956
|
+
|
957
|
+
### Return type
|
958
|
+
|
959
|
+
[**ResultListCreationTask**](ResultListCreationTask.md)
|
960
|
+
|
961
|
+
### Authorization
|
962
|
+
|
963
|
+
[basicAuth](../README.md#basicAuth)
|
964
|
+
|
965
|
+
### HTTP request headers
|
966
|
+
|
967
|
+
- **Content-Type**: Not defined
|
968
|
+
- **Accept**: application/json
|
969
|
+
|
970
|
+
|
637
971
|
## get_entry_gate
|
638
972
|
|
639
|
-
> EntryGate get_entry_gate(korona_account_id, entry_gate_id)
|
973
|
+
> <EntryGate> get_entry_gate(korona_account_id, entry_gate_id)
|
640
974
|
|
641
975
|
returns the single entry gate
|
642
976
|
|
643
|
-
###
|
977
|
+
### Examples
|
644
978
|
|
645
979
|
```ruby
|
646
|
-
|
980
|
+
require 'time'
|
647
981
|
require 'korona-cloud-client'
|
648
982
|
# setup authorization
|
649
983
|
KoronaCloudClient.configure do |config|
|
@@ -657,21 +991,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
657
991
|
entry_gate_id = 'entry_gate_id_example' # String | id of the related object (important: id should match the uuid-format)
|
658
992
|
|
659
993
|
begin
|
660
|
-
#returns the single entry gate
|
994
|
+
# returns the single entry gate
|
661
995
|
result = api_instance.get_entry_gate(korona_account_id, entry_gate_id)
|
662
996
|
p result
|
663
997
|
rescue KoronaCloudClient::ApiError => e
|
664
|
-
puts "
|
998
|
+
puts "Error when calling TicketingApi->get_entry_gate: #{e}"
|
665
999
|
end
|
666
1000
|
```
|
667
1001
|
|
668
|
-
|
1002
|
+
#### Using the get_entry_gate_with_http_info variant
|
669
1003
|
|
1004
|
+
This returns an Array which contains the response data, status code and headers.
|
670
1005
|
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
1006
|
+
> <Array(<EntryGate>, Integer, Hash)> get_entry_gate_with_http_info(korona_account_id, entry_gate_id)
|
1007
|
+
|
1008
|
+
```ruby
|
1009
|
+
begin
|
1010
|
+
# returns the single entry gate
|
1011
|
+
data, status_code, headers = api_instance.get_entry_gate_with_http_info(korona_account_id, entry_gate_id)
|
1012
|
+
p status_code # => 2xx
|
1013
|
+
p headers # => { ... }
|
1014
|
+
p data # => <EntryGate>
|
1015
|
+
rescue KoronaCloudClient::ApiError => e
|
1016
|
+
puts "Error when calling TicketingApi->get_entry_gate_with_http_info: #{e}"
|
1017
|
+
end
|
1018
|
+
```
|
1019
|
+
|
1020
|
+
### Parameters
|
1021
|
+
|
1022
|
+
| Name | Type | Description | Notes |
|
1023
|
+
| ---- | ---- | ----------- | ----- |
|
1024
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1025
|
+
| **entry_gate_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
675
1026
|
|
676
1027
|
### Return type
|
677
1028
|
|
@@ -689,14 +1040,14 @@ Name | Type | Description | Notes
|
|
689
1040
|
|
690
1041
|
## get_entry_gates
|
691
1042
|
|
692
|
-
> ResultListEntryGate get_entry_gates(korona_account_id, opts)
|
1043
|
+
> <ResultListEntryGate> get_entry_gates(korona_account_id, opts)
|
693
1044
|
|
694
1045
|
lists all entry gates
|
695
1046
|
|
696
|
-
###
|
1047
|
+
### Examples
|
697
1048
|
|
698
1049
|
```ruby
|
699
|
-
|
1050
|
+
require 'time'
|
700
1051
|
require 'korona-cloud-client'
|
701
1052
|
# setup authorization
|
702
1053
|
KoronaCloudClient.configure do |config|
|
@@ -711,32 +1062,49 @@ opts = {
|
|
711
1062
|
page: 56, # Integer | number of the page to fetch
|
712
1063
|
size: 56, # Integer | amount of objects to return per page
|
713
1064
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
714
|
-
revision:
|
1065
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
715
1066
|
include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
|
716
1067
|
number: 'number_example' # String | number of the related object
|
717
1068
|
}
|
718
1069
|
|
719
1070
|
begin
|
720
|
-
#lists all entry gates
|
1071
|
+
# lists all entry gates
|
721
1072
|
result = api_instance.get_entry_gates(korona_account_id, opts)
|
722
1073
|
p result
|
723
1074
|
rescue KoronaCloudClient::ApiError => e
|
724
|
-
puts "
|
1075
|
+
puts "Error when calling TicketingApi->get_entry_gates: #{e}"
|
725
1076
|
end
|
726
1077
|
```
|
727
1078
|
|
728
|
-
|
1079
|
+
#### Using the get_entry_gates_with_http_info variant
|
1080
|
+
|
1081
|
+
This returns an Array which contains the response data, status code and headers.
|
1082
|
+
|
1083
|
+
> <Array(<ResultListEntryGate>, Integer, Hash)> get_entry_gates_with_http_info(korona_account_id, opts)
|
1084
|
+
|
1085
|
+
```ruby
|
1086
|
+
begin
|
1087
|
+
# lists all entry gates
|
1088
|
+
data, status_code, headers = api_instance.get_entry_gates_with_http_info(korona_account_id, opts)
|
1089
|
+
p status_code # => 2xx
|
1090
|
+
p headers # => { ... }
|
1091
|
+
p data # => <ResultListEntryGate>
|
1092
|
+
rescue KoronaCloudClient::ApiError => e
|
1093
|
+
puts "Error when calling TicketingApi->get_entry_gates_with_http_info: #{e}"
|
1094
|
+
end
|
1095
|
+
```
|
729
1096
|
|
1097
|
+
### Parameters
|
730
1098
|
|
731
|
-
Name | Type | Description
|
732
|
-
|
733
|
-
**korona_account_id** | **String
|
734
|
-
**page** | **Integer
|
735
|
-
**size** | **Integer
|
736
|
-
**sort** | **String
|
737
|
-
**revision** | **Integer
|
738
|
-
**include_deleted** | **Boolean
|
739
|
-
**number** | **String
|
1099
|
+
| Name | Type | Description | Notes |
|
1100
|
+
| ---- | ---- | ----------- | ----- |
|
1101
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1102
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
1103
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
1104
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
1105
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
1106
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
1107
|
+
| **number** | **String** | number of the related object | [optional] |
|
740
1108
|
|
741
1109
|
### Return type
|
742
1110
|
|
@@ -754,14 +1122,14 @@ Name | Type | Description | Notes
|
|
754
1122
|
|
755
1123
|
## get_event
|
756
1124
|
|
757
|
-
> Event get_event(korona_account_id, event_id)
|
1125
|
+
> <Event> get_event(korona_account_id, event_id)
|
758
1126
|
|
759
1127
|
returns the single event
|
760
1128
|
|
761
|
-
###
|
1129
|
+
### Examples
|
762
1130
|
|
763
1131
|
```ruby
|
764
|
-
|
1132
|
+
require 'time'
|
765
1133
|
require 'korona-cloud-client'
|
766
1134
|
# setup authorization
|
767
1135
|
KoronaCloudClient.configure do |config|
|
@@ -775,21 +1143,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
775
1143
|
event_id = 'event_id_example' # String | id of the related object (important: id should match the uuid-format)
|
776
1144
|
|
777
1145
|
begin
|
778
|
-
#returns the single event
|
1146
|
+
# returns the single event
|
779
1147
|
result = api_instance.get_event(korona_account_id, event_id)
|
780
1148
|
p result
|
781
1149
|
rescue KoronaCloudClient::ApiError => e
|
782
|
-
puts "
|
1150
|
+
puts "Error when calling TicketingApi->get_event: #{e}"
|
783
1151
|
end
|
784
1152
|
```
|
785
1153
|
|
786
|
-
|
1154
|
+
#### Using the get_event_with_http_info variant
|
1155
|
+
|
1156
|
+
This returns an Array which contains the response data, status code and headers.
|
1157
|
+
|
1158
|
+
> <Array(<Event>, Integer, Hash)> get_event_with_http_info(korona_account_id, event_id)
|
1159
|
+
|
1160
|
+
```ruby
|
1161
|
+
begin
|
1162
|
+
# returns the single event
|
1163
|
+
data, status_code, headers = api_instance.get_event_with_http_info(korona_account_id, event_id)
|
1164
|
+
p status_code # => 2xx
|
1165
|
+
p headers # => { ... }
|
1166
|
+
p data # => <Event>
|
1167
|
+
rescue KoronaCloudClient::ApiError => e
|
1168
|
+
puts "Error when calling TicketingApi->get_event_with_http_info: #{e}"
|
1169
|
+
end
|
1170
|
+
```
|
787
1171
|
|
1172
|
+
### Parameters
|
788
1173
|
|
789
|
-
Name | Type | Description
|
790
|
-
|
791
|
-
**korona_account_id** | **String
|
792
|
-
**event_id** | **String
|
1174
|
+
| Name | Type | Description | Notes |
|
1175
|
+
| ---- | ---- | ----------- | ----- |
|
1176
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1177
|
+
| **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
793
1178
|
|
794
1179
|
### Return type
|
795
1180
|
|
@@ -807,14 +1192,14 @@ Name | Type | Description | Notes
|
|
807
1192
|
|
808
1193
|
## get_events
|
809
1194
|
|
810
|
-
> ResultListEvent get_events(korona_account_id, opts)
|
1195
|
+
> <ResultListEvent> get_events(korona_account_id, opts)
|
811
1196
|
|
812
1197
|
lists all events
|
813
1198
|
|
814
|
-
###
|
1199
|
+
### Examples
|
815
1200
|
|
816
1201
|
```ruby
|
817
|
-
|
1202
|
+
require 'time'
|
818
1203
|
require 'korona-cloud-client'
|
819
1204
|
# setup authorization
|
820
1205
|
KoronaCloudClient.configure do |config|
|
@@ -829,30 +1214,51 @@ opts = {
|
|
829
1214
|
page: 56, # Integer | number of the page to fetch
|
830
1215
|
size: 56, # Integer | amount of objects to return per page
|
831
1216
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
832
|
-
revision:
|
833
|
-
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
1217
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
1218
|
+
include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
|
1219
|
+
min_start_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
1220
|
+
max_start_time: Time.parse('2013-10-20T19:20:30+01:00') # Time | max (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
834
1221
|
}
|
835
1222
|
|
836
1223
|
begin
|
837
|
-
#lists all events
|
1224
|
+
# lists all events
|
838
1225
|
result = api_instance.get_events(korona_account_id, opts)
|
839
1226
|
p result
|
840
1227
|
rescue KoronaCloudClient::ApiError => e
|
841
|
-
puts "
|
1228
|
+
puts "Error when calling TicketingApi->get_events: #{e}"
|
842
1229
|
end
|
843
1230
|
```
|
844
1231
|
|
845
|
-
|
1232
|
+
#### Using the get_events_with_http_info variant
|
846
1233
|
|
1234
|
+
This returns an Array which contains the response data, status code and headers.
|
847
1235
|
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
1236
|
+
> <Array(<ResultListEvent>, Integer, Hash)> get_events_with_http_info(korona_account_id, opts)
|
1237
|
+
|
1238
|
+
```ruby
|
1239
|
+
begin
|
1240
|
+
# lists all events
|
1241
|
+
data, status_code, headers = api_instance.get_events_with_http_info(korona_account_id, opts)
|
1242
|
+
p status_code # => 2xx
|
1243
|
+
p headers # => { ... }
|
1244
|
+
p data # => <ResultListEvent>
|
1245
|
+
rescue KoronaCloudClient::ApiError => e
|
1246
|
+
puts "Error when calling TicketingApi->get_events_with_http_info: #{e}"
|
1247
|
+
end
|
1248
|
+
```
|
1249
|
+
|
1250
|
+
### Parameters
|
1251
|
+
|
1252
|
+
| Name | Type | Description | Notes |
|
1253
|
+
| ---- | ---- | ----------- | ----- |
|
1254
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1255
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
1256
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
1257
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
1258
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
1259
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
1260
|
+
| **min_start_time** | **Time** | min (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
1261
|
+
| **max_start_time** | **Time** | max (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
856
1262
|
|
857
1263
|
### Return type
|
858
1264
|
|
@@ -870,14 +1276,14 @@ Name | Type | Description | Notes
|
|
870
1276
|
|
871
1277
|
## get_ticket_definition
|
872
1278
|
|
873
|
-
> TicketDefinition get_ticket_definition(korona_account_id, ticket_definition_id)
|
1279
|
+
> <TicketDefinition> get_ticket_definition(korona_account_id, ticket_definition_id)
|
874
1280
|
|
875
1281
|
returns the single ticket definition
|
876
1282
|
|
877
|
-
###
|
1283
|
+
### Examples
|
878
1284
|
|
879
1285
|
```ruby
|
880
|
-
|
1286
|
+
require 'time'
|
881
1287
|
require 'korona-cloud-client'
|
882
1288
|
# setup authorization
|
883
1289
|
KoronaCloudClient.configure do |config|
|
@@ -891,21 +1297,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
891
1297
|
ticket_definition_id = 'ticket_definition_id_example' # String | id of the related object (important: id should match the uuid-format)
|
892
1298
|
|
893
1299
|
begin
|
894
|
-
#returns the single ticket definition
|
1300
|
+
# returns the single ticket definition
|
895
1301
|
result = api_instance.get_ticket_definition(korona_account_id, ticket_definition_id)
|
896
1302
|
p result
|
897
1303
|
rescue KoronaCloudClient::ApiError => e
|
898
|
-
puts "
|
1304
|
+
puts "Error when calling TicketingApi->get_ticket_definition: #{e}"
|
899
1305
|
end
|
900
1306
|
```
|
901
1307
|
|
902
|
-
|
1308
|
+
#### Using the get_ticket_definition_with_http_info variant
|
903
1309
|
|
1310
|
+
This returns an Array which contains the response data, status code and headers.
|
904
1311
|
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
1312
|
+
> <Array(<TicketDefinition>, Integer, Hash)> get_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
1313
|
+
|
1314
|
+
```ruby
|
1315
|
+
begin
|
1316
|
+
# returns the single ticket definition
|
1317
|
+
data, status_code, headers = api_instance.get_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
1318
|
+
p status_code # => 2xx
|
1319
|
+
p headers # => { ... }
|
1320
|
+
p data # => <TicketDefinition>
|
1321
|
+
rescue KoronaCloudClient::ApiError => e
|
1322
|
+
puts "Error when calling TicketingApi->get_ticket_definition_with_http_info: #{e}"
|
1323
|
+
end
|
1324
|
+
```
|
1325
|
+
|
1326
|
+
### Parameters
|
1327
|
+
|
1328
|
+
| Name | Type | Description | Notes |
|
1329
|
+
| ---- | ---- | ----------- | ----- |
|
1330
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1331
|
+
| **ticket_definition_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
909
1332
|
|
910
1333
|
### Return type
|
911
1334
|
|
@@ -923,14 +1346,14 @@ Name | Type | Description | Notes
|
|
923
1346
|
|
924
1347
|
## get_ticket_definitions
|
925
1348
|
|
926
|
-
> ResultListTicketDefinition get_ticket_definitions(korona_account_id, opts)
|
1349
|
+
> <ResultListTicketDefinition> get_ticket_definitions(korona_account_id, opts)
|
927
1350
|
|
928
1351
|
lists all ticket definitions
|
929
1352
|
|
930
|
-
###
|
1353
|
+
### Examples
|
931
1354
|
|
932
1355
|
```ruby
|
933
|
-
|
1356
|
+
require 'time'
|
934
1357
|
require 'korona-cloud-client'
|
935
1358
|
# setup authorization
|
936
1359
|
KoronaCloudClient.configure do |config|
|
@@ -945,30 +1368,47 @@ opts = {
|
|
945
1368
|
page: 56, # Integer | number of the page to fetch
|
946
1369
|
size: 56, # Integer | amount of objects to return per page
|
947
1370
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
948
|
-
revision:
|
1371
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
949
1372
|
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
950
1373
|
}
|
951
1374
|
|
952
1375
|
begin
|
953
|
-
#lists all ticket definitions
|
1376
|
+
# lists all ticket definitions
|
954
1377
|
result = api_instance.get_ticket_definitions(korona_account_id, opts)
|
955
1378
|
p result
|
956
1379
|
rescue KoronaCloudClient::ApiError => e
|
957
|
-
puts "
|
1380
|
+
puts "Error when calling TicketingApi->get_ticket_definitions: #{e}"
|
958
1381
|
end
|
959
1382
|
```
|
960
1383
|
|
961
|
-
|
1384
|
+
#### Using the get_ticket_definitions_with_http_info variant
|
962
1385
|
|
1386
|
+
This returns an Array which contains the response data, status code and headers.
|
963
1387
|
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
1388
|
+
> <Array(<ResultListTicketDefinition>, Integer, Hash)> get_ticket_definitions_with_http_info(korona_account_id, opts)
|
1389
|
+
|
1390
|
+
```ruby
|
1391
|
+
begin
|
1392
|
+
# lists all ticket definitions
|
1393
|
+
data, status_code, headers = api_instance.get_ticket_definitions_with_http_info(korona_account_id, opts)
|
1394
|
+
p status_code # => 2xx
|
1395
|
+
p headers # => { ... }
|
1396
|
+
p data # => <ResultListTicketDefinition>
|
1397
|
+
rescue KoronaCloudClient::ApiError => e
|
1398
|
+
puts "Error when calling TicketingApi->get_ticket_definitions_with_http_info: #{e}"
|
1399
|
+
end
|
1400
|
+
```
|
1401
|
+
|
1402
|
+
### Parameters
|
1403
|
+
|
1404
|
+
| Name | Type | Description | Notes |
|
1405
|
+
| ---- | ---- | ----------- | ----- |
|
1406
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1407
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
1408
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
1409
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
1410
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
1411
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
972
1412
|
|
973
1413
|
### Return type
|
974
1414
|
|
@@ -986,14 +1426,14 @@ Name | Type | Description | Notes
|
|
986
1426
|
|
987
1427
|
## get_tickets
|
988
1428
|
|
989
|
-
> ResultListTicket get_tickets(korona_account_id, page, size, opts)
|
1429
|
+
> <ResultListTicket> get_tickets(korona_account_id, page, size, opts)
|
990
1430
|
|
991
1431
|
lists all tickets
|
992
1432
|
|
993
|
-
###
|
1433
|
+
### Examples
|
994
1434
|
|
995
1435
|
```ruby
|
996
|
-
|
1436
|
+
require 'time'
|
997
1437
|
require 'korona-cloud-client'
|
998
1438
|
# setup authorization
|
999
1439
|
KoronaCloudClient.configure do |config|
|
@@ -1009,8 +1449,8 @@ size = 56 # Integer | amount of objects to return per page
|
|
1009
1449
|
opts = {
|
1010
1450
|
ticket_number: 'ticket_number_example', # String | ticket number
|
1011
1451
|
customer_number: 'customer_number_example', # String | customer number
|
1012
|
-
creation_date_from:
|
1013
|
-
creation_date_to:
|
1452
|
+
creation_date_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation date from
|
1453
|
+
creation_date_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation date to
|
1014
1454
|
locked: true, # Boolean | is ticket locked
|
1015
1455
|
owner_last_name: 'owner_last_name_example', # String | last name of owner
|
1016
1456
|
owner_first_name: 'owner_first_name_example', # String | first name of owner
|
@@ -1018,30 +1458,47 @@ opts = {
|
|
1018
1458
|
}
|
1019
1459
|
|
1020
1460
|
begin
|
1021
|
-
#lists all tickets
|
1461
|
+
# lists all tickets
|
1022
1462
|
result = api_instance.get_tickets(korona_account_id, page, size, opts)
|
1023
1463
|
p result
|
1024
1464
|
rescue KoronaCloudClient::ApiError => e
|
1025
|
-
puts "
|
1465
|
+
puts "Error when calling TicketingApi->get_tickets: #{e}"
|
1026
1466
|
end
|
1027
1467
|
```
|
1028
1468
|
|
1029
|
-
|
1469
|
+
#### Using the get_tickets_with_http_info variant
|
1470
|
+
|
1471
|
+
This returns an Array which contains the response data, status code and headers.
|
1472
|
+
|
1473
|
+
> <Array(<ResultListTicket>, Integer, Hash)> get_tickets_with_http_info(korona_account_id, page, size, opts)
|
1474
|
+
|
1475
|
+
```ruby
|
1476
|
+
begin
|
1477
|
+
# lists all tickets
|
1478
|
+
data, status_code, headers = api_instance.get_tickets_with_http_info(korona_account_id, page, size, opts)
|
1479
|
+
p status_code # => 2xx
|
1480
|
+
p headers # => { ... }
|
1481
|
+
p data # => <ResultListTicket>
|
1482
|
+
rescue KoronaCloudClient::ApiError => e
|
1483
|
+
puts "Error when calling TicketingApi->get_tickets_with_http_info: #{e}"
|
1484
|
+
end
|
1485
|
+
```
|
1030
1486
|
|
1487
|
+
### Parameters
|
1031
1488
|
|
1032
|
-
Name | Type | Description
|
1033
|
-
|
1034
|
-
**korona_account_id** | **String
|
1035
|
-
**page** | **Integer
|
1036
|
-
**size** | **Integer
|
1037
|
-
**ticket_number** | **String
|
1038
|
-
**customer_number** | **String
|
1039
|
-
**creation_date_from** | **
|
1040
|
-
**creation_date_to** | **
|
1041
|
-
**locked** | **Boolean
|
1042
|
-
**owner_last_name** | **String
|
1043
|
-
**owner_first_name** | **String
|
1044
|
-
**load_owner_image** | **Boolean
|
1489
|
+
| Name | Type | Description | Notes |
|
1490
|
+
| ---- | ---- | ----------- | ----- |
|
1491
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1492
|
+
| **page** | **Integer** | number of the page to fetch | |
|
1493
|
+
| **size** | **Integer** | amount of objects to return per page | |
|
1494
|
+
| **ticket_number** | **String** | ticket number | [optional] |
|
1495
|
+
| **customer_number** | **String** | customer number | [optional] |
|
1496
|
+
| **creation_date_from** | **Time** | creation date from | [optional] |
|
1497
|
+
| **creation_date_to** | **Time** | creation date to | [optional] |
|
1498
|
+
| **locked** | **Boolean** | is ticket locked | [optional] |
|
1499
|
+
| **owner_last_name** | **String** | last name of owner | [optional] |
|
1500
|
+
| **owner_first_name** | **String** | first name of owner | [optional] |
|
1501
|
+
| **load_owner_image** | **Boolean** | set true if you want to load the owner's image | [optional] |
|
1045
1502
|
|
1046
1503
|
### Return type
|
1047
1504
|
|
@@ -1063,10 +1520,10 @@ Name | Type | Description | Notes
|
|
1063
1520
|
|
1064
1521
|
locks the single ticket
|
1065
1522
|
|
1066
|
-
###
|
1523
|
+
### Examples
|
1067
1524
|
|
1068
1525
|
```ruby
|
1069
|
-
|
1526
|
+
require 'time'
|
1070
1527
|
require 'korona-cloud-client'
|
1071
1528
|
# setup authorization
|
1072
1529
|
KoronaCloudClient.configure do |config|
|
@@ -1080,20 +1537,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1080
1537
|
ticket_number = 'ticket_number_example' # String | id of the related object (important: id should match the uuid-format)
|
1081
1538
|
|
1082
1539
|
begin
|
1083
|
-
#locks the single ticket
|
1540
|
+
# locks the single ticket
|
1084
1541
|
api_instance.lock_ticket(korona_account_id, ticket_number)
|
1085
1542
|
rescue KoronaCloudClient::ApiError => e
|
1086
|
-
puts "
|
1543
|
+
puts "Error when calling TicketingApi->lock_ticket: #{e}"
|
1087
1544
|
end
|
1088
1545
|
```
|
1089
1546
|
|
1090
|
-
|
1547
|
+
#### Using the lock_ticket_with_http_info variant
|
1548
|
+
|
1549
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1091
1550
|
|
1551
|
+
> <Array(nil, Integer, Hash)> lock_ticket_with_http_info(korona_account_id, ticket_number)
|
1092
1552
|
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1553
|
+
```ruby
|
1554
|
+
begin
|
1555
|
+
# locks the single ticket
|
1556
|
+
data, status_code, headers = api_instance.lock_ticket_with_http_info(korona_account_id, ticket_number)
|
1557
|
+
p status_code # => 2xx
|
1558
|
+
p headers # => { ... }
|
1559
|
+
p data # => nil
|
1560
|
+
rescue KoronaCloudClient::ApiError => e
|
1561
|
+
puts "Error when calling TicketingApi->lock_ticket_with_http_info: #{e}"
|
1562
|
+
end
|
1563
|
+
```
|
1564
|
+
|
1565
|
+
### Parameters
|
1566
|
+
|
1567
|
+
| Name | Type | Description | Notes |
|
1568
|
+
| ---- | ---- | ----------- | ----- |
|
1569
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1570
|
+
| **ticket_number** | **String** | id of the related object (important: id should match the uuid-format) | |
|
1097
1571
|
|
1098
1572
|
### Return type
|
1099
1573
|
|
@@ -1115,10 +1589,10 @@ nil (empty response body)
|
|
1115
1589
|
|
1116
1590
|
unlocks the single ticket
|
1117
1591
|
|
1118
|
-
###
|
1592
|
+
### Examples
|
1119
1593
|
|
1120
1594
|
```ruby
|
1121
|
-
|
1595
|
+
require 'time'
|
1122
1596
|
require 'korona-cloud-client'
|
1123
1597
|
# setup authorization
|
1124
1598
|
KoronaCloudClient.configure do |config|
|
@@ -1132,20 +1606,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1132
1606
|
ticket_number = 'ticket_number_example' # String | id of the related object (important: id should match the uuid-format)
|
1133
1607
|
|
1134
1608
|
begin
|
1135
|
-
#unlocks the single ticket
|
1609
|
+
# unlocks the single ticket
|
1136
1610
|
api_instance.unlock_ticket(korona_account_id, ticket_number)
|
1137
1611
|
rescue KoronaCloudClient::ApiError => e
|
1138
|
-
puts "
|
1612
|
+
puts "Error when calling TicketingApi->unlock_ticket: #{e}"
|
1139
1613
|
end
|
1140
1614
|
```
|
1141
1615
|
|
1142
|
-
|
1616
|
+
#### Using the unlock_ticket_with_http_info variant
|
1143
1617
|
|
1618
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1144
1619
|
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1620
|
+
> <Array(nil, Integer, Hash)> unlock_ticket_with_http_info(korona_account_id, ticket_number)
|
1621
|
+
|
1622
|
+
```ruby
|
1623
|
+
begin
|
1624
|
+
# unlocks the single ticket
|
1625
|
+
data, status_code, headers = api_instance.unlock_ticket_with_http_info(korona_account_id, ticket_number)
|
1626
|
+
p status_code # => 2xx
|
1627
|
+
p headers # => { ... }
|
1628
|
+
p data # => nil
|
1629
|
+
rescue KoronaCloudClient::ApiError => e
|
1630
|
+
puts "Error when calling TicketingApi->unlock_ticket_with_http_info: #{e}"
|
1631
|
+
end
|
1632
|
+
```
|
1633
|
+
|
1634
|
+
### Parameters
|
1635
|
+
|
1636
|
+
| Name | Type | Description | Notes |
|
1637
|
+
| ---- | ---- | ----------- | ----- |
|
1638
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1639
|
+
| **ticket_number** | **String** | id of the related object (important: id should match the uuid-format) | |
|
1149
1640
|
|
1150
1641
|
### Return type
|
1151
1642
|
|
@@ -1163,14 +1654,14 @@ nil (empty response body)
|
|
1163
1654
|
|
1164
1655
|
## update_entry_gates
|
1165
1656
|
|
1166
|
-
> Array
|
1657
|
+
> <Array<AddOrUpdateResult>> update_entry_gates(korona_account_id, body)
|
1167
1658
|
|
1168
1659
|
updates a batch of entry gates
|
1169
1660
|
|
1170
|
-
###
|
1661
|
+
### Examples
|
1171
1662
|
|
1172
1663
|
```ruby
|
1173
|
-
|
1664
|
+
require 'time'
|
1174
1665
|
require 'korona-cloud-client'
|
1175
1666
|
# setup authorization
|
1176
1667
|
KoronaCloudClient.configure do |config|
|
@@ -1184,21 +1675,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1184
1675
|
body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of existing entry gates (id or number required)
|
1185
1676
|
|
1186
1677
|
begin
|
1187
|
-
#updates a batch of entry gates
|
1678
|
+
# updates a batch of entry gates
|
1188
1679
|
result = api_instance.update_entry_gates(korona_account_id, body)
|
1189
1680
|
p result
|
1190
1681
|
rescue KoronaCloudClient::ApiError => e
|
1191
|
-
puts "
|
1682
|
+
puts "Error when calling TicketingApi->update_entry_gates: #{e}"
|
1192
1683
|
end
|
1193
1684
|
```
|
1194
1685
|
|
1195
|
-
|
1686
|
+
#### Using the update_entry_gates_with_http_info variant
|
1196
1687
|
|
1688
|
+
This returns an Array which contains the response data, status code and headers.
|
1197
1689
|
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1690
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_entry_gates_with_http_info(korona_account_id, body)
|
1691
|
+
|
1692
|
+
```ruby
|
1693
|
+
begin
|
1694
|
+
# updates a batch of entry gates
|
1695
|
+
data, status_code, headers = api_instance.update_entry_gates_with_http_info(korona_account_id, body)
|
1696
|
+
p status_code # => 2xx
|
1697
|
+
p headers # => { ... }
|
1698
|
+
p data # => <Array<AddOrUpdateResult>>
|
1699
|
+
rescue KoronaCloudClient::ApiError => e
|
1700
|
+
puts "Error when calling TicketingApi->update_entry_gates_with_http_info: #{e}"
|
1701
|
+
end
|
1702
|
+
```
|
1703
|
+
|
1704
|
+
### Parameters
|
1705
|
+
|
1706
|
+
| Name | Type | Description | Notes |
|
1707
|
+
| ---- | ---- | ----------- | ----- |
|
1708
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1709
|
+
| **body** | [**Array<EntryGate>**](EntryGate.md) | array of existing entry gates (id or number required) | |
|
1202
1710
|
|
1203
1711
|
### Return type
|
1204
1712
|
|
@@ -1220,10 +1728,10 @@ Name | Type | Description | Notes
|
|
1220
1728
|
|
1221
1729
|
updates the single event
|
1222
1730
|
|
1223
|
-
###
|
1731
|
+
### Examples
|
1224
1732
|
|
1225
1733
|
```ruby
|
1226
|
-
|
1734
|
+
require 'time'
|
1227
1735
|
require 'korona-cloud-client'
|
1228
1736
|
# setup authorization
|
1229
1737
|
KoronaCloudClient.configure do |config|
|
@@ -1238,21 +1746,38 @@ event_id = 'event_id_example' # String | id of the related object (important: id
|
|
1238
1746
|
body = KoronaCloudClient::Event.new # Event | the properties to update of the event
|
1239
1747
|
|
1240
1748
|
begin
|
1241
|
-
#updates the single event
|
1749
|
+
# updates the single event
|
1242
1750
|
api_instance.update_event(korona_account_id, event_id, body)
|
1243
1751
|
rescue KoronaCloudClient::ApiError => e
|
1244
|
-
puts "
|
1752
|
+
puts "Error when calling TicketingApi->update_event: #{e}"
|
1245
1753
|
end
|
1246
1754
|
```
|
1247
1755
|
|
1248
|
-
|
1756
|
+
#### Using the update_event_with_http_info variant
|
1249
1757
|
|
1758
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1250
1759
|
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1760
|
+
> <Array(nil, Integer, Hash)> update_event_with_http_info(korona_account_id, event_id, body)
|
1761
|
+
|
1762
|
+
```ruby
|
1763
|
+
begin
|
1764
|
+
# updates the single event
|
1765
|
+
data, status_code, headers = api_instance.update_event_with_http_info(korona_account_id, event_id, body)
|
1766
|
+
p status_code # => 2xx
|
1767
|
+
p headers # => { ... }
|
1768
|
+
p data # => nil
|
1769
|
+
rescue KoronaCloudClient::ApiError => e
|
1770
|
+
puts "Error when calling TicketingApi->update_event_with_http_info: #{e}"
|
1771
|
+
end
|
1772
|
+
```
|
1773
|
+
|
1774
|
+
### Parameters
|
1775
|
+
|
1776
|
+
| Name | Type | Description | Notes |
|
1777
|
+
| ---- | ---- | ----------- | ----- |
|
1778
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1779
|
+
| **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
1780
|
+
| **body** | [**Event**](Event.md) | the properties to update of the event | |
|
1256
1781
|
|
1257
1782
|
### Return type
|
1258
1783
|
|
@@ -1270,16 +1795,16 @@ nil (empty response body)
|
|
1270
1795
|
|
1271
1796
|
## update_events
|
1272
1797
|
|
1273
|
-
> Array
|
1798
|
+
> <Array<AddOrUpdateResult>> update_events(korona_account_id, body)
|
1274
1799
|
|
1275
1800
|
updates a batch of events
|
1276
1801
|
|
1277
1802
|
[number] must be set in the objects, otherwise the object cannot be updated
|
1278
1803
|
|
1279
|
-
###
|
1804
|
+
### Examples
|
1280
1805
|
|
1281
1806
|
```ruby
|
1282
|
-
|
1807
|
+
require 'time'
|
1283
1808
|
require 'korona-cloud-client'
|
1284
1809
|
# setup authorization
|
1285
1810
|
KoronaCloudClient.configure do |config|
|
@@ -1293,21 +1818,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1293
1818
|
body = [KoronaCloudClient::Event.new] # Array<Event> | an array of existing events
|
1294
1819
|
|
1295
1820
|
begin
|
1296
|
-
#updates a batch of events
|
1821
|
+
# updates a batch of events
|
1297
1822
|
result = api_instance.update_events(korona_account_id, body)
|
1298
1823
|
p result
|
1299
1824
|
rescue KoronaCloudClient::ApiError => e
|
1300
|
-
puts "
|
1825
|
+
puts "Error when calling TicketingApi->update_events: #{e}"
|
1301
1826
|
end
|
1302
1827
|
```
|
1303
1828
|
|
1304
|
-
|
1829
|
+
#### Using the update_events_with_http_info variant
|
1830
|
+
|
1831
|
+
This returns an Array which contains the response data, status code and headers.
|
1832
|
+
|
1833
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_events_with_http_info(korona_account_id, body)
|
1834
|
+
|
1835
|
+
```ruby
|
1836
|
+
begin
|
1837
|
+
# updates a batch of events
|
1838
|
+
data, status_code, headers = api_instance.update_events_with_http_info(korona_account_id, body)
|
1839
|
+
p status_code # => 2xx
|
1840
|
+
p headers # => { ... }
|
1841
|
+
p data # => <Array<AddOrUpdateResult>>
|
1842
|
+
rescue KoronaCloudClient::ApiError => e
|
1843
|
+
puts "Error when calling TicketingApi->update_events_with_http_info: #{e}"
|
1844
|
+
end
|
1845
|
+
```
|
1305
1846
|
|
1847
|
+
### Parameters
|
1306
1848
|
|
1307
|
-
Name | Type | Description
|
1308
|
-
|
1309
|
-
**korona_account_id** | **String
|
1310
|
-
**body** | [**Array<Event>**](Event.md)| an array of existing events |
|
1849
|
+
| Name | Type | Description | Notes |
|
1850
|
+
| ---- | ---- | ----------- | ----- |
|
1851
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1852
|
+
| **body** | [**Array<Event>**](Event.md) | an array of existing events | |
|
1311
1853
|
|
1312
1854
|
### Return type
|
1313
1855
|
|
@@ -1329,10 +1871,10 @@ Name | Type | Description | Notes
|
|
1329
1871
|
|
1330
1872
|
updates the single ticket
|
1331
1873
|
|
1332
|
-
###
|
1874
|
+
### Examples
|
1333
1875
|
|
1334
1876
|
```ruby
|
1335
|
-
|
1877
|
+
require 'time'
|
1336
1878
|
require 'korona-cloud-client'
|
1337
1879
|
# setup authorization
|
1338
1880
|
KoronaCloudClient.configure do |config|
|
@@ -1351,23 +1893,40 @@ opts = {
|
|
1351
1893
|
}
|
1352
1894
|
|
1353
1895
|
begin
|
1354
|
-
#updates the single ticket
|
1896
|
+
# updates the single ticket
|
1355
1897
|
api_instance.update_ticket(korona_account_id, ticket_number, opts)
|
1356
1898
|
rescue KoronaCloudClient::ApiError => e
|
1357
|
-
puts "
|
1899
|
+
puts "Error when calling TicketingApi->update_ticket: #{e}"
|
1358
1900
|
end
|
1359
1901
|
```
|
1360
1902
|
|
1361
|
-
|
1903
|
+
#### Using the update_ticket_with_http_info variant
|
1904
|
+
|
1905
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1362
1906
|
|
1907
|
+
> <Array(nil, Integer, Hash)> update_ticket_with_http_info(korona_account_id, ticket_number, opts)
|
1908
|
+
|
1909
|
+
```ruby
|
1910
|
+
begin
|
1911
|
+
# updates the single ticket
|
1912
|
+
data, status_code, headers = api_instance.update_ticket_with_http_info(korona_account_id, ticket_number, opts)
|
1913
|
+
p status_code # => 2xx
|
1914
|
+
p headers # => { ... }
|
1915
|
+
p data # => nil
|
1916
|
+
rescue KoronaCloudClient::ApiError => e
|
1917
|
+
puts "Error when calling TicketingApi->update_ticket_with_http_info: #{e}"
|
1918
|
+
end
|
1919
|
+
```
|
1920
|
+
|
1921
|
+
### Parameters
|
1363
1922
|
|
1364
|
-
Name | Type | Description
|
1365
|
-
|
1366
|
-
**korona_account_id** | **String
|
1367
|
-
**ticket_number** | **String
|
1368
|
-
**new_ticket_number** | **String
|
1369
|
-
**first_name** | **String
|
1370
|
-
**last_name** | **String
|
1923
|
+
| Name | Type | Description | Notes |
|
1924
|
+
| ---- | ---- | ----------- | ----- |
|
1925
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1926
|
+
| **ticket_number** | **String** | old ticket number | |
|
1927
|
+
| **new_ticket_number** | **String** | new ticket number | [optional] |
|
1928
|
+
| **first_name** | **String** | ticket owner's first name | [optional] |
|
1929
|
+
| **last_name** | **String** | ticket owner's last name | [optional] |
|
1371
1930
|
|
1372
1931
|
### Return type
|
1373
1932
|
|
@@ -1385,14 +1944,14 @@ nil (empty response body)
|
|
1385
1944
|
|
1386
1945
|
## update_ticket_definitions
|
1387
1946
|
|
1388
|
-
> Array
|
1947
|
+
> <Array<AddOrUpdateResult>> update_ticket_definitions(korona_account_id, body)
|
1389
1948
|
|
1390
1949
|
updates a batch of ticket definitions
|
1391
1950
|
|
1392
|
-
###
|
1951
|
+
### Examples
|
1393
1952
|
|
1394
1953
|
```ruby
|
1395
|
-
|
1954
|
+
require 'time'
|
1396
1955
|
require 'korona-cloud-client'
|
1397
1956
|
# setup authorization
|
1398
1957
|
KoronaCloudClient.configure do |config|
|
@@ -1406,21 +1965,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1406
1965
|
body = [KoronaCloudClient::TicketDefinition.new] # Array<TicketDefinition> | array of existing ticket definitions (id or number required)
|
1407
1966
|
|
1408
1967
|
begin
|
1409
|
-
#updates a batch of ticket definitions
|
1968
|
+
# updates a batch of ticket definitions
|
1410
1969
|
result = api_instance.update_ticket_definitions(korona_account_id, body)
|
1411
1970
|
p result
|
1412
1971
|
rescue KoronaCloudClient::ApiError => e
|
1413
|
-
puts "
|
1972
|
+
puts "Error when calling TicketingApi->update_ticket_definitions: #{e}"
|
1414
1973
|
end
|
1415
1974
|
```
|
1416
1975
|
|
1417
|
-
|
1976
|
+
#### Using the update_ticket_definitions_with_http_info variant
|
1977
|
+
|
1978
|
+
This returns an Array which contains the response data, status code and headers.
|
1979
|
+
|
1980
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_ticket_definitions_with_http_info(korona_account_id, body)
|
1981
|
+
|
1982
|
+
```ruby
|
1983
|
+
begin
|
1984
|
+
# updates a batch of ticket definitions
|
1985
|
+
data, status_code, headers = api_instance.update_ticket_definitions_with_http_info(korona_account_id, body)
|
1986
|
+
p status_code # => 2xx
|
1987
|
+
p headers # => { ... }
|
1988
|
+
p data # => <Array<AddOrUpdateResult>>
|
1989
|
+
rescue KoronaCloudClient::ApiError => e
|
1990
|
+
puts "Error when calling TicketingApi->update_ticket_definitions_with_http_info: #{e}"
|
1991
|
+
end
|
1992
|
+
```
|
1418
1993
|
|
1994
|
+
### Parameters
|
1419
1995
|
|
1420
|
-
Name | Type | Description
|
1421
|
-
|
1422
|
-
**korona_account_id** | **String
|
1423
|
-
**body** | [**Array<TicketDefinition>**](TicketDefinition.md)| array of existing ticket definitions (id or number required) |
|
1996
|
+
| Name | Type | Description | Notes |
|
1997
|
+
| ---- | ---- | ----------- | ----- |
|
1998
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1999
|
+
| **body** | [**Array<TicketDefinition>**](TicketDefinition.md) | array of existing ticket definitions (id or number required) | |
|
1424
2000
|
|
1425
2001
|
### Return type
|
1426
2002
|
|