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