korona-cloud-client 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +156 -17
- data/docs/Account.md +7 -3
- data/docs/AdditionalReceiptInfoType.md +2 -4
- data/docs/AdditionalReceiptInfoTypesApi.md +363 -0
- data/docs/Assortment.md +2 -2
- data/docs/Attendance.md +2 -2
- data/docs/Cashier.md +2 -2
- data/docs/CashierRole.md +2 -2
- data/docs/CashierVerificationRequirement.md +2 -2
- data/docs/{CashierVerificationRequirementApi.md → CashierVerificationRequirementsApi.md} +51 -51
- data/docs/CommodityGroup.md +2 -2
- data/docs/ContraAccount.md +24 -0
- data/docs/ContraAccountsApi.md +524 -0
- data/docs/CostCenter.md +24 -0
- data/docs/CostCentersApi.md +524 -0
- data/docs/Currency.md +2 -2
- data/docs/Customer.md +5 -3
- data/docs/CustomerDisplayConfiguration.md +2 -2
- data/docs/CustomerGroup.md +2 -2
- data/docs/CustomerOrder.md +2 -2
- data/docs/DeliveryNote.md +2 -2
- data/docs/DeliveryNotesApi.md +73 -0
- data/docs/DeviceConfiguration.md +3 -1
- data/docs/DeviceConfigurationVariable.md +2 -2
- data/docs/DiscountConfiguration.md +32 -0
- data/docs/DiscountConfigurationsApi.md +524 -0
- data/docs/DiscountLevel.md +28 -0
- data/docs/DiscountLevelsApi.md +524 -0
- data/docs/DispatchNotification.md +8 -6
- data/docs/DispatchNotificationItem.md +5 -1
- data/docs/DispatchNotificationItemImport.md +30 -0
- data/docs/DispatchNotificationsApi.md +597 -8
- data/docs/EconomicZone.md +2 -2
- data/docs/EndOfDayStatement.md +2 -2
- data/docs/EntryGate.md +2 -2
- data/docs/Event.md +2 -2
- data/docs/ExternalSystemCall.md +2 -2
- data/docs/FiscalUnit.md +2 -2
- data/docs/InfoText.md +2 -2
- data/docs/Inventory.md +2 -2
- data/docs/InventoryList.md +2 -2
- data/docs/ItemSequence.md +26 -0
- data/docs/ItemSequencesApi.md +524 -0
- data/docs/KoronaAccount.md +5 -3
- data/docs/LanguageResource.md +28 -0
- data/docs/LanguagesApi.md +524 -0
- data/docs/Message.md +22 -0
- data/docs/MessagesApi.md +78 -0
- data/docs/ModelReference.md +1 -1
- data/docs/NumberRange.md +26 -0
- data/docs/NumberRangeConfiguration.md +28 -0
- data/docs/NumberRangeConfigurationsApi.md +305 -0
- data/docs/OrganizationalUnit.md +5 -3
- data/docs/PaymentMethod.md +9 -3
- data/docs/PaymentMethodCategoriesApi.md +524 -0
- data/docs/PaymentMethodCategory.md +26 -0
- data/docs/PointsOfSaleApi.md +11 -3
- data/docs/Pos.md +5 -3
- data/docs/PosBalance.md +2 -2
- data/docs/PosButtonFunction.md +3 -1
- data/docs/PosButtonLayout.md +2 -2
- data/docs/PosPageLayoutConfiguration.md +5 -3
- data/docs/PosProfile.md +15 -3
- data/docs/PriceGroup.md +2 -2
- data/docs/PriceRule.md +2 -2
- data/docs/Product.md +4 -2
- data/docs/ProductTransferInvolvedPartyInformationData.md +0 -2
- data/docs/ProductionType.md +2 -2
- data/docs/ProductionTypeSetting.md +18 -0
- data/docs/ProductsApi.md +75 -1
- data/docs/Promotion.md +2 -2
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +13 -11
- data/docs/PromotionsApi.md +4 -4
- data/docs/Receipt.md +7 -3
- data/docs/ReceiptItem.md +5 -1
- data/docs/ReceiptItemReturnReason.md +18 -0
- data/docs/ReceiptLayoutConfiguration.md +2 -2
- data/docs/ReceiptsApi.md +78 -3
- data/docs/ReportFile.md +32 -0
- data/docs/ReportFilesApi.md +520 -0
- data/docs/ResultListContraAccount.md +28 -0
- data/docs/ResultListCostCenter.md +28 -0
- data/docs/ResultListDiscountConfiguration.md +28 -0
- data/docs/ResultListDiscountLevel.md +28 -0
- data/docs/ResultListItemSequence.md +28 -0
- data/docs/ResultListLanguageResource.md +28 -0
- data/docs/ResultListNumberRangeConfiguration.md +28 -0
- data/docs/ResultListPaymentMethodCategory.md +28 -0
- data/docs/ResultListReportFile.md +28 -0
- data/docs/ResultListRevenueAccount.md +28 -0
- data/docs/ResultListVoucherConfiguration.md +28 -0
- data/docs/ResultListVoucherResource.md +28 -0
- data/docs/ResultListVoucherTransactionResource.md +28 -0
- data/docs/RevenueAccount.md +26 -0
- data/docs/RevenueAccountsApi.md +524 -0
- data/docs/SalesTax.md +5 -3
- data/docs/Sector.md +2 -2
- data/docs/Service.md +3 -1
- data/docs/SpecialPriceConfiguration.md +2 -2
- data/docs/StockAdjustment.md +2 -2
- data/docs/StockOrder.md +2 -2
- data/docs/StockReceipt.md +3 -3
- data/docs/StockReceiptItemPurchasePrice.md +1 -1
- data/docs/StoreOrder.md +2 -2
- data/docs/StoreOrdersApi.md +10 -6
- data/docs/Supplier.md +2 -2
- data/docs/Tag.md +2 -2
- data/docs/TicketDefinition.md +2 -2
- data/docs/TicketingApi.md +148 -0
- data/docs/TimeTrackingApi.md +78 -78
- data/docs/TimeTrackingEntity.md +2 -2
- data/docs/TopSeller.md +1 -1
- data/docs/UserRole.md +2 -2
- data/docs/UserRolesApi.md +2 -0
- data/docs/VoidedReceiptItem.md +3 -1
- data/docs/VoucherConfiguration.md +50 -0
- data/docs/VoucherConfigurationDiscountCalculation.md +22 -0
- data/docs/VoucherConfigurationFollowUpProducts.md +22 -0
- data/docs/VoucherConfigurationsApi.md +522 -0
- data/docs/VoucherResource.md +36 -0
- data/docs/VoucherTransaction.md +3 -1
- data/docs/VoucherTransactionResource.md +60 -0
- data/docs/VouchersApi.md +1126 -0
- data/git_push.sh +3 -4
- data/korona-cloud-client.gemspec +2 -2
- data/lib/korona-cloud-client/api/accounts_api.rb +18 -6
- data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +370 -2
- data/lib/korona-cloud-client/api/assortments_api.rb +18 -6
- data/lib/korona-cloud-client/api/cashier_roles_api.rb +18 -6
- data/lib/korona-cloud-client/api/{cashier_verification_requirement_api.rb → cashier_verification_requirements_api.rb} +54 -45
- data/lib/korona-cloud-client/api/cashiers_api.rb +18 -6
- data/lib/korona-cloud-client/api/commodity_groups_api.rb +18 -6
- data/lib/korona-cloud-client/api/contra_accounts_api.rb +536 -0
- data/lib/korona-cloud-client/api/cost_centers_api.rb +536 -0
- data/lib/korona-cloud-client/api/coupons_api.rb +2 -2
- data/lib/korona-cloud-client/api/currencies_api.rb +14 -5
- data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +14 -5
- data/lib/korona-cloud-client/api/customer_groups_api.rb +18 -6
- data/lib/korona-cloud-client/api/customer_orders_api.rb +14 -5
- data/lib/korona-cloud-client/api/customers_api.rb +18 -6
- data/lib/korona-cloud-client/api/delivery_notes_api.rb +79 -3
- data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +14 -5
- data/lib/korona-cloud-client/api/discount_configurations_api.rb +536 -0
- data/lib/korona-cloud-client/api/discount_levels_api.rb +536 -0
- data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +620 -11
- data/lib/korona-cloud-client/api/economic_zones_api.rb +14 -5
- data/lib/korona-cloud-client/api/external_system_calls_api.rb +18 -6
- data/lib/korona-cloud-client/api/fiscal_units_api.rb +14 -5
- data/lib/korona-cloud-client/api/images_api.rb +2 -2
- data/lib/korona-cloud-client/api/info_texts_api.rb +14 -5
- data/lib/korona-cloud-client/api/inventories_api.rb +26 -8
- data/lib/korona-cloud-client/api/item_sequences_api.rb +536 -0
- data/lib/korona-cloud-client/api/korona_account_api.rb +2 -2
- data/lib/korona-cloud-client/api/languages_api.rb +536 -0
- data/lib/korona-cloud-client/api/messages_api.rb +94 -0
- data/lib/korona-cloud-client/api/number_range_configurations_api.rb +312 -0
- data/lib/korona-cloud-client/api/organizational_units_api.rb +30 -9
- data/lib/korona-cloud-client/api/payment_method_categories_api.rb +536 -0
- data/lib/korona-cloud-client/api/payment_methods_api.rb +18 -6
- data/lib/korona-cloud-client/api/points_of_sale_api.rb +36 -9
- data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +18 -6
- data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +18 -6
- data/lib/korona-cloud-client/api/pos_profiles_api.rb +18 -6
- data/lib/korona-cloud-client/api/price_groups_api.rb +14 -5
- data/lib/korona-cloud-client/api/price_rules_api.rb +18 -6
- data/lib/korona-cloud-client/api/production_types_api.rb +14 -5
- data/lib/korona-cloud-client/api/products_api.rb +94 -6
- data/lib/korona-cloud-client/api/promotions_api.rb +22 -10
- data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +18 -6
- data/lib/korona-cloud-client/api/receipts_api.rb +80 -4
- data/lib/korona-cloud-client/api/report_files_api.rb +532 -0
- data/lib/korona-cloud-client/api/revenue_accounts_api.rb +536 -0
- data/lib/korona-cloud-client/api/sales_taxes_api.rb +14 -5
- data/lib/korona-cloud-client/api/sectors_api.rb +14 -5
- data/lib/korona-cloud-client/api/special_price_configurations_api.rb +14 -5
- data/lib/korona-cloud-client/api/statistics_api.rb +2 -2
- data/lib/korona-cloud-client/api/stock_adjustments_api.rb +22 -7
- data/lib/korona-cloud-client/api/stock_orders_api.rb +2 -2
- data/lib/korona-cloud-client/api/stock_receipts_api.rb +22 -7
- data/lib/korona-cloud-client/api/store_orders_api.rb +40 -14
- data/lib/korona-cloud-client/api/suppliers_api.rb +14 -5
- data/lib/korona-cloud-client/api/tags_api.rb +18 -6
- data/lib/korona-cloud-client/api/ticketing_api.rb +188 -12
- data/lib/korona-cloud-client/api/time_tracking_api.rb +95 -89
- data/lib/korona-cloud-client/api/user_roles_api.rb +21 -6
- data/lib/korona-cloud-client/api/voucher_configurations_api.rb +534 -0
- data/lib/korona-cloud-client/api/vouchers_api.rb +1149 -0
- data/lib/korona-cloud-client/api_client.rb +8 -6
- data/lib/korona-cloud-client/api_error.rb +2 -2
- data/lib/korona-cloud-client/configuration.rb +6 -4
- data/lib/korona-cloud-client/models/account.rb +47 -16
- data/lib/korona-cloud-client/models/account_summary.rb +3 -2
- data/lib/korona-cloud-client/models/account_transaction.rb +3 -2
- data/lib/korona-cloud-client/models/add_or_update_result.rb +5 -4
- data/lib/korona-cloud-client/models/additional_info.rb +3 -2
- data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +14 -28
- data/lib/korona-cloud-client/models/address_information.rb +3 -2
- data/lib/korona-cloud-client/models/admission.rb +3 -2
- data/lib/korona-cloud-client/models/amount.rb +3 -2
- data/lib/korona-cloud-client/models/amount_count_data.rb +3 -2
- data/lib/korona-cloud-client/models/assortment.rb +14 -13
- data/lib/korona-cloud-client/models/attendance.rb +14 -13
- data/lib/korona-cloud-client/models/bad_request_error.rb +3 -2
- data/lib/korona-cloud-client/models/capacity.rb +3 -2
- data/lib/korona-cloud-client/models/cashier.rb +14 -13
- data/lib/korona-cloud-client/models/cashier_role.rb +14 -13
- data/lib/korona-cloud-client/models/cashier_summary.rb +3 -2
- data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +14 -13
- data/lib/korona-cloud-client/models/cashier_verification_result.rb +3 -2
- data/lib/korona-cloud-client/models/category.rb +3 -2
- data/lib/korona-cloud-client/models/cloud_subscription.rb +3 -2
- data/lib/korona-cloud-client/models/cloud_subscription_details.rb +5 -4
- data/lib/korona-cloud-client/models/commodity_group.rb +14 -13
- data/lib/korona-cloud-client/models/commodity_group_summary.rb +3 -2
- data/lib/korona-cloud-client/models/company_identification.rb +3 -2
- data/lib/korona-cloud-client/models/contra_account.rb +250 -0
- data/lib/korona-cloud-client/models/cost_center.rb +250 -0
- data/lib/korona-cloud-client/models/coupon.rb +3 -2
- data/lib/korona-cloud-client/models/coupon_position.rb +3 -2
- data/lib/korona-cloud-client/models/creation_task.rb +3 -2
- data/lib/korona-cloud-client/models/currency.rb +14 -13
- data/lib/korona-cloud-client/models/currency_denomination.rb +3 -2
- data/lib/korona-cloud-client/models/currency_exchange_rate.rb +3 -2
- data/lib/korona-cloud-client/models/customer.rb +26 -16
- data/lib/korona-cloud-client/models/customer_card.rb +3 -2
- data/lib/korona-cloud-client/models/customer_data.rb +3 -2
- data/lib/korona-cloud-client/models/customer_display_configuration.rb +19 -18
- data/lib/korona-cloud-client/models/customer_group.rb +14 -13
- data/lib/korona-cloud-client/models/customer_group_summary.rb +3 -2
- data/lib/korona-cloud-client/models/customer_information.rb +3 -2
- data/lib/korona-cloud-client/models/customer_order.rb +14 -13
- data/lib/korona-cloud-client/models/customer_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/date_interval.rb +3 -2
- data/lib/korona-cloud-client/models/day_rating.rb +3 -2
- data/lib/korona-cloud-client/models/day_time_period.rb +3 -2
- data/lib/korona-cloud-client/models/delivery_note.rb +14 -13
- data/lib/korona-cloud-client/models/delivery_note_item.rb +3 -2
- data/lib/korona-cloud-client/models/deposit.rb +3 -2
- data/lib/korona-cloud-client/models/device_configuration.rb +26 -8
- data/lib/korona-cloud-client/models/device_configuration_variable.rb +14 -13
- data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +3 -2
- data/lib/korona-cloud-client/models/device_information.rb +3 -2
- data/lib/korona-cloud-client/models/device_parameter_item.rb +3 -2
- data/lib/korona-cloud-client/models/discount.rb +3 -2
- data/lib/korona-cloud-client/models/discount_configuration.rb +290 -0
- data/lib/korona-cloud-client/models/discount_level.rb +268 -0
- data/lib/korona-cloud-client/models/dispatch_notification.rb +62 -18
- data/lib/korona-cloud-client/models/dispatch_notification_item.rb +25 -6
- data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +3 -2
- data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +3 -2
- data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +3 -2
- data/lib/korona-cloud-client/models/dispatch_notification_item_import.rb +279 -0
- data/lib/korona-cloud-client/models/economic_zone.rb +14 -13
- data/lib/korona-cloud-client/models/end_of_day_statement.rb +14 -13
- data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +3 -2
- data/lib/korona-cloud-client/models/entry_gate.rb +14 -13
- data/lib/korona-cloud-client/models/event.rb +14 -13
- data/lib/korona-cloud-client/models/external_system_call.rb +14 -13
- data/lib/korona-cloud-client/models/fiscal_transaction.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit.rb +14 -13
- data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +3 -2
- data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +3 -2
- data/lib/korona-cloud-client/models/forbidden_error.rb +3 -2
- data/lib/korona-cloud-client/models/geo_location.rb +3 -2
- data/lib/korona-cloud-client/models/info_text.rb +16 -15
- data/lib/korona-cloud-client/models/interval.rb +3 -2
- data/lib/korona-cloud-client/models/inventory.rb +14 -13
- data/lib/korona-cloud-client/models/inventory_list.rb +14 -13
- data/lib/korona-cloud-client/models/inventory_list_item.rb +3 -2
- data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +3 -2
- data/lib/korona-cloud-client/models/item_sequence.rb +259 -0
- data/lib/korona-cloud-client/models/korona_account.rb +26 -16
- data/lib/korona-cloud-client/models/language_resource.rb +268 -0
- data/lib/korona-cloud-client/models/media_url.rb +3 -2
- data/lib/korona-cloud-client/models/message.rb +287 -0
- data/lib/korona-cloud-client/models/method_not_allowed_error.rb +3 -2
- data/lib/korona-cloud-client/models/model_reference.rb +4 -3
- data/lib/korona-cloud-client/models/not_found_error.rb +3 -2
- data/lib/korona-cloud-client/models/number_range.rb +289 -0
- data/lib/korona-cloud-client/models/number_range_configuration.rb +270 -0
- data/lib/korona-cloud-client/models/opening_hours.rb +3 -2
- data/lib/korona-cloud-client/models/organizational_unit.rb +26 -16
- data/lib/korona-cloud-client/models/payment.rb +3 -2
- data/lib/korona-cloud-client/models/payment_method.rb +44 -16
- data/lib/korona-cloud-client/models/payment_method_category.rb +259 -0
- data/lib/korona-cloud-client/models/payment_service_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/payment_summary.rb +3 -2
- data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +3 -2
- data/lib/korona-cloud-client/models/period.rb +3 -2
- data/lib/korona-cloud-client/models/period_list_top_seller.rb +3 -2
- data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/period_object.rb +3 -2
- data/lib/korona-cloud-client/models/period_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/pos.rb +38 -16
- data/lib/korona-cloud-client/models/pos_balance.rb +14 -13
- data/lib/korona-cloud-client/models/pos_balance_item.rb +3 -2
- data/lib/korona-cloud-client/models/pos_balance_summary.rb +3 -2
- data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +3 -2
- data/lib/korona-cloud-client/models/pos_balance_total.rb +3 -2
- data/lib/korona-cloud-client/models/pos_button.rb +3 -2
- data/lib/korona-cloud-client/models/pos_button_function.rb +30 -8
- data/lib/korona-cloud-client/models/pos_button_layout.rb +14 -13
- data/lib/korona-cloud-client/models/pos_page_layout.rb +3 -2
- data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +26 -16
- data/lib/korona-cloud-client/models/pos_profile.rb +73 -16
- data/lib/korona-cloud-client/models/prepaid_card.rb +3 -2
- data/lib/korona-cloud-client/models/price_group.rb +14 -13
- data/lib/korona-cloud-client/models/price_rule.rb +14 -13
- data/lib/korona-cloud-client/models/price_rule_calculation.rb +3 -2
- data/lib/korona-cloud-client/models/price_rule_condition.rb +5 -4
- data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +3 -2
- data/lib/korona-cloud-client/models/price_rule_validity_period.rb +3 -2
- data/lib/korona-cloud-client/models/product.rb +25 -15
- data/lib/korona-cloud-client/models/product_code.rb +3 -2
- data/lib/korona-cloud-client/models/product_description.rb +3 -2
- data/lib/korona-cloud-client/models/product_price.rb +3 -2
- data/lib/korona-cloud-client/models/product_special_price.rb +3 -2
- data/lib/korona-cloud-client/models/product_stock.rb +3 -2
- data/lib/korona-cloud-client/models/product_subproduct.rb +3 -2
- data/lib/korona-cloud-client/models/product_supplier_price.rb +3 -2
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +3 -2
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +4 -12
- data/lib/korona-cloud-client/models/production_type.rb +14 -13
- data/lib/korona-cloud-client/models/production_type_setting.rb +219 -0
- data/lib/korona-cloud-client/models/promotion.rb +14 -13
- data/lib/korona-cloud-client/models/promotion_application.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +89 -39
- data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_coupon.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_layer.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_stamp.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +3 -2
- data/lib/korona-cloud-client/models/promotion_validity.rb +3 -2
- data/lib/korona-cloud-client/models/rating.rb +3 -2
- data/lib/korona-cloud-client/models/receipt.rb +35 -13
- data/lib/korona-cloud-client/models/receipt_item.rb +25 -6
- data/lib/korona-cloud-client/models/receipt_item_return_reason.rb +219 -0
- data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +14 -13
- data/lib/korona-cloud-client/models/receipt_max_revisions.rb +3 -2
- data/lib/korona-cloud-client/models/receipt_revenue.rb +3 -2
- data/lib/korona-cloud-client/models/receipt_total.rb +3 -2
- data/lib/korona-cloud-client/models/report_file.rb +337 -0
- data/lib/korona-cloud-client/models/result_list.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_account.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_assortment.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_attendance.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_cashier.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_cashier_role.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_commodity_group.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_contra_account.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_cost_center.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_coupon.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_creation_task.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_currency.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer_group.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_customer_order.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_day_rating.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_delivery_note.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_discount_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_discount_level.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_economic_zone.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_entry_gate.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_event.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_external_system_call.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_info_text.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_inventory.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_inventory_list.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_item_sequence.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_language_resource.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_number_range_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_payment_method.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_payment_method_category.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_pos.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_balance.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_pos_profile.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_price_group.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_price_rule.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_product.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_product_stock.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_production_type.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_promotion.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_receipt.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_report_file.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_revenue_account.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_sales_tax.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_sector.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_order.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_store_order.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_store_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_supplier.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_tag.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_ticket.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_user_role.rb +3 -2
- data/lib/korona-cloud-client/models/result_list_voucher_configuration.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_resource.rb +304 -0
- data/lib/korona-cloud-client/models/result_list_voucher_transaction_resource.rb +304 -0
- data/lib/korona-cloud-client/models/revenue_account.rb +259 -0
- data/lib/korona-cloud-client/models/revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/sales_tax.rb +26 -16
- data/lib/korona-cloud-client/models/sales_tax_rate.rb +3 -2
- data/lib/korona-cloud-client/models/sector.rb +14 -13
- data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +3 -2
- data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +3 -2
- data/lib/korona-cloud-client/models/service.rb +28 -6
- data/lib/korona-cloud-client/models/signature.rb +3 -2
- data/lib/korona-cloud-client/models/special_price.rb +3 -2
- data/lib/korona-cloud-client/models/special_price_configuration.rb +14 -13
- data/lib/korona-cloud-client/models/statistic.rb +3 -2
- data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +3 -2
- data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/statistic_revenue_data.rb +3 -2
- data/lib/korona-cloud-client/models/stock_adjustment.rb +14 -13
- data/lib/korona-cloud-client/models/stock_adjustment_item.rb +3 -2
- data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +5 -4
- data/lib/korona-cloud-client/models/stock_order.rb +14 -13
- data/lib/korona-cloud-client/models/stock_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt.rb +14 -13
- data/lib/korona-cloud-client/models/stock_receipt_item.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +3 -2
- data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +3 -2
- data/lib/korona-cloud-client/models/store_order.rb +14 -13
- data/lib/korona-cloud-client/models/store_order_item.rb +3 -2
- data/lib/korona-cloud-client/models/supplier.rb +14 -13
- data/lib/korona-cloud-client/models/supplier_contact.rb +3 -2
- data/lib/korona-cloud-client/models/supplier_contact_person.rb +3 -2
- data/lib/korona-cloud-client/models/supplier_payment_information.rb +3 -2
- data/lib/korona-cloud-client/models/tag.rb +14 -13
- data/lib/korona-cloud-client/models/tax_payment.rb +3 -2
- data/lib/korona-cloud-client/models/tax_summary.rb +3 -2
- data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +3 -2
- data/lib/korona-cloud-client/models/ticket.rb +3 -2
- data/lib/korona-cloud-client/models/ticket_data.rb +3 -2
- data/lib/korona-cloud-client/models/ticket_definition.rb +14 -13
- data/lib/korona-cloud-client/models/ticket_personalization.rb +3 -2
- data/lib/korona-cloud-client/models/time_of_day_interval.rb +3 -2
- data/lib/korona-cloud-client/models/time_period.rb +3 -2
- data/lib/korona-cloud-client/models/time_tracking_entity.rb +14 -13
- data/lib/korona-cloud-client/models/time_tracking_entry.rb +3 -2
- data/lib/korona-cloud-client/models/too_many_requests_error.rb +3 -2
- data/lib/korona-cloud-client/models/top_seller.rb +4 -3
- data/lib/korona-cloud-client/models/total_period.rb +3 -2
- data/lib/korona-cloud-client/models/total_price.rb +3 -2
- data/lib/korona-cloud-client/models/user_role.rb +14 -13
- data/lib/korona-cloud-client/models/validity.rb +3 -2
- data/lib/korona-cloud-client/models/voided_receipt_item.rb +18 -6
- data/lib/korona-cloud-client/models/voucher_configuration.rb +401 -0
- data/lib/korona-cloud-client/models/voucher_configuration_discount_calculation.rb +271 -0
- data/lib/korona-cloud-client/models/voucher_configuration_follow_up_products.rb +237 -0
- data/lib/korona-cloud-client/models/voucher_resource.rb +306 -0
- data/lib/korona-cloud-client/models/voucher_transaction.rb +16 -6
- data/lib/korona-cloud-client/models/voucher_transaction_resource.rb +447 -0
- data/lib/korona-cloud-client/models/weather.rb +3 -2
- data/lib/korona-cloud-client/version.rb +3 -3
- data/lib/korona-cloud-client.rb +49 -4
- data/spec/api/accounts_api_spec.rb +2 -2
- data/spec/api/additional_receipt_info_types_api_spec.rb +66 -2
- data/spec/api/assortments_api_spec.rb +2 -2
- data/spec/api/cashier_roles_api_spec.rb +2 -2
- data/spec/api/{cashier_verification_requirement_api_spec.rb → cashier_verification_requirements_api_spec.rb} +18 -18
- data/spec/api/cashiers_api_spec.rb +2 -2
- data/spec/api/commodity_groups_api_spec.rb +2 -2
- data/spec/api/contra_accounts_api_spec.rb +128 -0
- data/spec/api/cost_centers_api_spec.rb +128 -0
- data/spec/api/coupons_api_spec.rb +2 -2
- data/spec/api/currencies_api_spec.rb +2 -2
- data/spec/api/customer_display_configurations_api_spec.rb +2 -2
- data/spec/api/customer_groups_api_spec.rb +2 -2
- data/spec/api/customer_orders_api_spec.rb +2 -2
- data/spec/api/customers_api_spec.rb +2 -2
- data/spec/api/delivery_notes_api_spec.rb +15 -2
- data/spec/api/device_configuration_variables_api_spec.rb +2 -2
- data/spec/api/discount_configurations_api_spec.rb +128 -0
- data/spec/api/discount_levels_api_spec.rb +128 -0
- data/spec/api/dispatch_notifications_api_spec.rb +109 -3
- data/spec/api/economic_zones_api_spec.rb +2 -2
- data/spec/api/external_system_calls_api_spec.rb +2 -2
- data/spec/api/fiscal_units_api_spec.rb +2 -2
- data/spec/api/images_api_spec.rb +2 -2
- data/spec/api/info_texts_api_spec.rb +2 -2
- data/spec/api/inventories_api_spec.rb +2 -2
- data/spec/api/item_sequences_api_spec.rb +128 -0
- data/spec/api/korona_account_api_spec.rb +2 -2
- data/spec/api/languages_api_spec.rb +128 -0
- data/spec/api/messages_api_spec.rb +47 -0
- data/spec/api/number_range_configurations_api_spec.rb +88 -0
- data/spec/api/organizational_units_api_spec.rb +2 -2
- data/spec/api/payment_method_categories_api_spec.rb +128 -0
- data/spec/api/payment_methods_api_spec.rb +2 -2
- data/spec/api/points_of_sale_api_spec.rb +7 -3
- data/spec/api/pos_button_layouts_api_spec.rb +2 -2
- data/spec/api/pos_page_layout_configurations_api_spec.rb +2 -2
- data/spec/api/pos_profiles_api_spec.rb +2 -2
- data/spec/api/price_groups_api_spec.rb +2 -2
- data/spec/api/price_rules_api_spec.rb +2 -2
- data/spec/api/production_types_api_spec.rb +2 -2
- data/spec/api/products_api_spec.rb +16 -2
- data/spec/api/promotions_api_spec.rb +4 -4
- data/spec/api/receipt_layout_configurations_api_spec.rb +2 -2
- data/spec/api/receipts_api_spec.rb +17 -3
- data/spec/api/report_files_api_spec.rb +126 -0
- data/spec/api/revenue_accounts_api_spec.rb +128 -0
- data/spec/api/sales_taxes_api_spec.rb +2 -2
- data/spec/api/sectors_api_spec.rb +2 -2
- data/spec/api/special_price_configurations_api_spec.rb +2 -2
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/stock_adjustments_api_spec.rb +2 -2
- data/spec/api/stock_orders_api_spec.rb +2 -2
- data/spec/api/stock_receipts_api_spec.rb +2 -2
- data/spec/api/store_orders_api_spec.rb +5 -3
- data/spec/api/suppliers_api_spec.rb +2 -2
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/ticketing_api_spec.rb +28 -2
- data/spec/api/time_tracking_api_spec.rb +22 -22
- data/spec/api/user_roles_api_spec.rb +3 -2
- data/spec/api/voucher_configurations_api_spec.rb +127 -0
- data/spec/api/vouchers_api_spec.rb +240 -0
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_spec.rb +20 -4
- data/spec/models/account_summary_spec.rb +2 -2
- data/spec/models/account_transaction_spec.rb +2 -2
- data/spec/models/add_or_update_result_spec.rb +3 -3
- data/spec/models/additional_info_spec.rb +2 -2
- data/spec/models/additional_receipt_info_type_spec.rb +4 -10
- data/spec/models/address_information_spec.rb +2 -2
- data/spec/models/admission_spec.rb +2 -2
- data/spec/models/amount_count_data_spec.rb +2 -2
- data/spec/models/amount_spec.rb +2 -2
- data/spec/models/assortment_spec.rb +4 -4
- data/spec/models/attendance_spec.rb +4 -4
- data/spec/models/bad_request_error_spec.rb +2 -2
- data/spec/models/capacity_spec.rb +2 -2
- data/spec/models/cashier_role_spec.rb +4 -4
- data/spec/models/cashier_spec.rb +4 -4
- data/spec/models/cashier_summary_spec.rb +2 -2
- data/spec/models/cashier_verification_requirement_spec.rb +4 -4
- data/spec/models/cashier_verification_result_spec.rb +2 -2
- data/spec/models/category_spec.rb +2 -2
- data/spec/models/cloud_subscription_details_spec.rb +3 -3
- data/spec/models/cloud_subscription_spec.rb +2 -2
- data/spec/models/commodity_group_spec.rb +4 -4
- data/spec/models/commodity_group_summary_spec.rb +2 -2
- data/spec/models/company_identification_spec.rb +2 -2
- data/spec/models/contra_account_spec.rb +52 -0
- data/spec/models/cost_center_spec.rb +52 -0
- data/spec/models/coupon_position_spec.rb +2 -2
- data/spec/models/coupon_spec.rb +2 -2
- data/spec/models/creation_task_spec.rb +2 -2
- data/spec/models/currency_denomination_spec.rb +2 -2
- data/spec/models/currency_exchange_rate_spec.rb +2 -2
- data/spec/models/currency_spec.rb +4 -4
- data/spec/models/customer_card_spec.rb +2 -2
- data/spec/models/customer_data_spec.rb +2 -2
- data/spec/models/customer_display_configuration_spec.rb +5 -5
- data/spec/models/customer_group_spec.rb +4 -4
- data/spec/models/customer_group_summary_spec.rb +2 -2
- data/spec/models/customer_information_spec.rb +2 -2
- data/spec/models/customer_order_item_spec.rb +2 -2
- data/spec/models/customer_order_spec.rb +4 -4
- data/spec/models/customer_spec.rb +10 -4
- data/spec/models/date_interval_spec.rb +2 -2
- data/spec/models/day_rating_spec.rb +2 -2
- data/spec/models/day_time_period_spec.rb +2 -2
- data/spec/models/delivery_note_item_spec.rb +2 -2
- data/spec/models/delivery_note_spec.rb +4 -4
- data/spec/models/deposit_spec.rb +2 -2
- data/spec/models/device_configuration_spec.rb +9 -3
- data/spec/models/device_configuration_variable_spec.rb +4 -4
- data/spec/models/device_configuration_variable_value_spec.rb +2 -2
- data/spec/models/device_information_spec.rb +2 -2
- data/spec/models/device_parameter_item_spec.rb +2 -2
- data/spec/models/discount_configuration_spec.rb +76 -0
- data/spec/models/discount_level_spec.rb +64 -0
- data/spec/models/discount_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_amount_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_container_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_identification_spec.rb +2 -2
- data/spec/models/dispatch_notification_item_import_spec.rb +70 -0
- data/spec/models/dispatch_notification_item_spec.rb +14 -2
- data/spec/models/dispatch_notification_spec.rb +14 -4
- data/spec/models/economic_zone_spec.rb +4 -4
- data/spec/models/end_of_day_statement_spec.rb +4 -4
- data/spec/models/end_of_day_statement_summary_spec.rb +2 -2
- data/spec/models/entry_gate_spec.rb +4 -4
- data/spec/models/event_spec.rb +4 -4
- data/spec/models/external_system_call_spec.rb +4 -4
- data/spec/models/fiscal_transaction_spec.rb +2 -2
- data/spec/models/fiscal_unit_certificate_info_spec.rb +2 -2
- data/spec/models/fiscal_unit_pre_configuration_spec.rb +2 -2
- data/spec/models/fiscal_unit_spec.rb +4 -4
- data/spec/models/fiscal_unit_state_spec.rb +2 -2
- data/spec/models/fiscal_unit_state_usage_level_spec.rb +2 -2
- data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +2 -2
- data/spec/models/fiscal_unit_state_version_info_spec.rb +2 -2
- data/spec/models/forbidden_error_spec.rb +2 -2
- data/spec/models/geo_location_spec.rb +2 -2
- data/spec/models/info_text_spec.rb +5 -5
- data/spec/models/interval_spec.rb +2 -2
- data/spec/models/inventory_list_item_spec.rb +2 -2
- data/spec/models/inventory_list_item_stock_spec.rb +2 -2
- data/spec/models/inventory_list_spec.rb +4 -4
- data/spec/models/inventory_spec.rb +4 -4
- data/spec/models/item_sequence_spec.rb +58 -0
- data/spec/models/korona_account_spec.rb +11 -5
- data/spec/models/language_resource_spec.rb +64 -0
- data/spec/models/media_url_spec.rb +2 -2
- data/spec/models/message_spec.rb +50 -0
- data/spec/models/method_not_allowed_error_spec.rb +2 -2
- data/spec/models/model_reference_spec.rb +2 -2
- data/spec/models/not_found_error_spec.rb +2 -2
- data/spec/models/number_range_configuration_spec.rb +64 -0
- data/spec/models/number_range_spec.rb +62 -0
- data/spec/models/opening_hours_spec.rb +2 -2
- data/spec/models/organizational_unit_spec.rb +10 -4
- data/spec/models/payment_method_category_spec.rb +58 -0
- data/spec/models/payment_method_spec.rb +22 -4
- data/spec/models/payment_service_configuration_spec.rb +2 -2
- data/spec/models/payment_spec.rb +2 -2
- data/spec/models/payment_summary_spec.rb +2 -2
- data/spec/models/payment_terminal_receipt_spec.rb +2 -2
- data/spec/models/period_list_top_seller_spec.rb +2 -2
- data/spec/models/period_map_string_revenue_data_spec.rb +2 -2
- data/spec/models/period_object_spec.rb +2 -2
- data/spec/models/period_revenue_data_spec.rb +2 -2
- data/spec/models/period_spec.rb +2 -2
- data/spec/models/pos_balance_item_spec.rb +2 -2
- data/spec/models/pos_balance_spec.rb +4 -4
- data/spec/models/pos_balance_summary_changeset_spec.rb +2 -2
- data/spec/models/pos_balance_summary_spec.rb +2 -2
- data/spec/models/pos_balance_total_spec.rb +2 -2
- data/spec/models/pos_button_function_spec.rb +13 -3
- data/spec/models/pos_button_layout_spec.rb +4 -4
- data/spec/models/pos_button_spec.rb +2 -2
- data/spec/models/pos_page_layout_configuration_spec.rb +10 -4
- data/spec/models/pos_page_layout_spec.rb +2 -2
- data/spec/models/pos_profile_spec.rb +40 -4
- data/spec/models/pos_spec.rb +14 -4
- data/spec/models/prepaid_card_spec.rb +2 -2
- data/spec/models/price_group_spec.rb +4 -4
- data/spec/models/price_rule_calculation_spec.rb +2 -2
- data/spec/models/price_rule_condition_spec.rb +3 -3
- data/spec/models/price_rule_spec.rb +4 -4
- data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +2 -2
- data/spec/models/price_rule_validity_period_spec.rb +2 -2
- data/spec/models/product_code_spec.rb +2 -2
- data/spec/models/product_description_spec.rb +2 -2
- data/spec/models/product_price_spec.rb +2 -2
- data/spec/models/product_spec.rb +11 -5
- data/spec/models/product_special_price_spec.rb +2 -2
- data/spec/models/product_stock_spec.rb +2 -2
- data/spec/models/product_subproduct_spec.rb +2 -2
- data/spec/models/product_supplier_price_spec.rb +2 -2
- data/spec/models/product_transfer_involved_party_information_data_spec.rb +2 -8
- data/spec/models/product_transfer_involved_party_information_spec.rb +2 -2
- data/spec/models/production_type_setting_spec.rb +34 -0
- data/spec/models/production_type_spec.rb +4 -4
- data/spec/models/promotion_application_spec.rb +2 -2
- data/spec/models/promotion_benefit_common_discount_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +2 -2
- data/spec/models/{promotion_benefit_ext_discount_pos_selection_criteria_min_max_range_value_comp_spec.rb → promotion_benefit_extended_discount_position_comperator_spec.rb} +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +18 -12
- data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +2 -2
- data/spec/models/promotion_benefit_extended_discount_spec.rb +2 -2
- data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +2 -2
- data/spec/models/promotion_benefit_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_creation_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +2 -2
- data/spec/models/promotion_bonuspoint_spec.rb +2 -2
- data/spec/models/promotion_coupon_spec.rb +2 -2
- data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +2 -2
- data/spec/models/promotion_coupon_validity_spec.rb +2 -2
- data/spec/models/promotion_layer_spec.rb +2 -2
- data/spec/models/promotion_spec.rb +4 -4
- data/spec/models/promotion_stamp_spec.rb +2 -2
- data/spec/models/promotion_trigger_product_amount_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_spec.rb +2 -2
- data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +2 -2
- data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +2 -2
- data/spec/models/promotion_validity_spec.rb +2 -2
- data/spec/models/rating_spec.rb +2 -2
- data/spec/models/receipt_item_return_reason_spec.rb +34 -0
- data/spec/models/receipt_item_spec.rb +14 -2
- data/spec/models/receipt_layout_configuration_spec.rb +4 -4
- data/spec/models/receipt_max_revisions_spec.rb +2 -2
- data/spec/models/receipt_revenue_spec.rb +2 -2
- data/spec/models/receipt_spec.rb +16 -4
- data/spec/models/receipt_total_spec.rb +2 -2
- data/spec/models/report_file_spec.rb +80 -0
- data/spec/models/result_list_account_spec.rb +2 -2
- data/spec/models/result_list_additional_receipt_info_type_spec.rb +2 -2
- data/spec/models/result_list_assortment_spec.rb +2 -2
- data/spec/models/result_list_attendance_spec.rb +2 -2
- data/spec/models/result_list_cashier_role_spec.rb +2 -2
- data/spec/models/result_list_cashier_spec.rb +2 -2
- data/spec/models/result_list_cashier_verification_requirement_spec.rb +2 -2
- data/spec/models/result_list_commodity_group_spec.rb +2 -2
- data/spec/models/result_list_contra_account_spec.rb +64 -0
- data/spec/models/result_list_cost_center_spec.rb +64 -0
- data/spec/models/result_list_coupon_spec.rb +2 -2
- data/spec/models/result_list_creation_task_spec.rb +2 -2
- data/spec/models/result_list_currency_spec.rb +2 -2
- data/spec/models/result_list_customer_display_configuration_spec.rb +2 -2
- data/spec/models/result_list_customer_group_spec.rb +2 -2
- data/spec/models/result_list_customer_order_spec.rb +2 -2
- data/spec/models/result_list_customer_spec.rb +2 -2
- data/spec/models/result_list_day_rating_spec.rb +2 -2
- data/spec/models/result_list_delivery_note_spec.rb +2 -2
- data/spec/models/result_list_device_configuration_variable_spec.rb +2 -2
- data/spec/models/result_list_discount_configuration_spec.rb +64 -0
- data/spec/models/result_list_discount_level_spec.rb +64 -0
- data/spec/models/result_list_dispatch_notification_item_spec.rb +2 -2
- data/spec/models/result_list_dispatch_notification_spec.rb +2 -2
- data/spec/models/result_list_economic_zone_spec.rb +2 -2
- data/spec/models/result_list_end_of_day_statement_spec.rb +2 -2
- data/spec/models/result_list_entry_gate_spec.rb +2 -2
- data/spec/models/result_list_event_spec.rb +2 -2
- data/spec/models/result_list_external_system_call_spec.rb +2 -2
- data/spec/models/result_list_fiscal_unit_spec.rb +2 -2
- data/spec/models/result_list_info_text_spec.rb +2 -2
- data/spec/models/result_list_inventory_list_item_spec.rb +2 -2
- data/spec/models/result_list_inventory_list_spec.rb +2 -2
- data/spec/models/result_list_inventory_spec.rb +2 -2
- data/spec/models/result_list_item_sequence_spec.rb +64 -0
- data/spec/models/result_list_language_resource_spec.rb +64 -0
- data/spec/models/result_list_number_range_configuration_spec.rb +64 -0
- data/spec/models/result_list_organizational_unit_spec.rb +2 -2
- data/spec/models/result_list_payment_method_category_spec.rb +64 -0
- data/spec/models/result_list_payment_method_spec.rb +2 -2
- data/spec/models/result_list_pos_balance_spec.rb +2 -2
- data/spec/models/result_list_pos_button_layout_spec.rb +2 -2
- data/spec/models/result_list_pos_page_layout_configuration_spec.rb +2 -2
- data/spec/models/result_list_pos_profile_spec.rb +2 -2
- data/spec/models/result_list_pos_spec.rb +2 -2
- data/spec/models/result_list_price_group_spec.rb +2 -2
- data/spec/models/result_list_price_rule_spec.rb +2 -2
- data/spec/models/result_list_product_spec.rb +2 -2
- data/spec/models/result_list_product_stock_spec.rb +2 -2
- data/spec/models/result_list_production_type_spec.rb +2 -2
- data/spec/models/result_list_promotion_spec.rb +2 -2
- data/spec/models/result_list_receipt_layout_configuration_spec.rb +2 -2
- data/spec/models/result_list_receipt_spec.rb +2 -2
- data/spec/models/result_list_report_file_spec.rb +64 -0
- data/spec/models/result_list_revenue_account_spec.rb +64 -0
- data/spec/models/result_list_sales_tax_spec.rb +2 -2
- data/spec/models/result_list_sector_spec.rb +2 -2
- data/spec/models/result_list_spec.rb +2 -2
- data/spec/models/result_list_special_price_configuration_spec.rb +2 -2
- data/spec/models/result_list_stock_adjustment_item_spec.rb +2 -2
- data/spec/models/result_list_stock_adjustment_spec.rb +2 -2
- data/spec/models/result_list_stock_order_item_spec.rb +2 -2
- data/spec/models/result_list_stock_order_spec.rb +2 -2
- data/spec/models/result_list_stock_receipt_item_spec.rb +2 -2
- data/spec/models/result_list_stock_receipt_spec.rb +2 -2
- data/spec/models/result_list_store_order_item_spec.rb +2 -2
- data/spec/models/result_list_store_order_spec.rb +2 -2
- data/spec/models/result_list_supplier_spec.rb +2 -2
- data/spec/models/result_list_tag_spec.rb +2 -2
- data/spec/models/result_list_ticket_definition_spec.rb +2 -2
- data/spec/models/result_list_ticket_spec.rb +2 -2
- data/spec/models/result_list_time_tracking_entity_spec.rb +2 -2
- data/spec/models/result_list_time_tracking_entry_spec.rb +2 -2
- data/spec/models/result_list_user_role_spec.rb +2 -2
- data/spec/models/result_list_voucher_configuration_spec.rb +64 -0
- data/spec/models/result_list_voucher_resource_spec.rb +64 -0
- data/spec/models/result_list_voucher_transaction_resource_spec.rb +64 -0
- data/spec/models/revenue_account_spec.rb +58 -0
- data/spec/models/revenue_data_spec.rb +2 -2
- data/spec/models/sales_tax_rate_spec.rb +2 -2
- data/spec/models/sales_tax_spec.rb +10 -4
- data/spec/models/sector_revenue_account_item_spec.rb +2 -2
- data/spec/models/sector_sales_tax_item_spec.rb +2 -2
- data/spec/models/sector_spec.rb +4 -4
- data/spec/models/service_spec.rb +12 -2
- data/spec/models/signature_spec.rb +2 -2
- data/spec/models/special_price_configuration_spec.rb +4 -4
- data/spec/models/special_price_spec.rb +2 -2
- data/spec/models/statistic_list_top_seller_spec.rb +2 -2
- data/spec/models/statistic_map_string_revenue_data_spec.rb +2 -2
- data/spec/models/statistic_revenue_data_spec.rb +2 -2
- data/spec/models/statistic_spec.rb +2 -2
- data/spec/models/stock_adjustment_item_reason_spec.rb +3 -3
- data/spec/models/stock_adjustment_item_spec.rb +2 -2
- data/spec/models/stock_adjustment_spec.rb +4 -4
- data/spec/models/stock_order_item_spec.rb +2 -2
- data/spec/models/stock_order_spec.rb +4 -4
- data/spec/models/stock_receipt_item_amount_spec.rb +2 -2
- data/spec/models/stock_receipt_item_identification_spec.rb +2 -2
- data/spec/models/stock_receipt_item_purchase_price_spec.rb +2 -2
- data/spec/models/stock_receipt_item_spec.rb +2 -2
- data/spec/models/stock_receipt_spec.rb +4 -4
- data/spec/models/store_order_item_spec.rb +2 -2
- data/spec/models/store_order_spec.rb +4 -4
- data/spec/models/supplier_contact_person_spec.rb +2 -2
- data/spec/models/supplier_contact_spec.rb +2 -2
- data/spec/models/supplier_payment_information_spec.rb +2 -2
- data/spec/models/supplier_spec.rb +4 -4
- data/spec/models/tag_spec.rb +4 -4
- data/spec/models/tax_payment_spec.rb +2 -2
- data/spec/models/tax_summary_spec.rb +2 -2
- data/spec/models/terminal_receipt_print_line_spec.rb +2 -2
- data/spec/models/ticket_data_spec.rb +2 -2
- data/spec/models/ticket_definition_spec.rb +4 -4
- data/spec/models/ticket_personalization_spec.rb +2 -2
- data/spec/models/ticket_spec.rb +2 -2
- data/spec/models/time_of_day_interval_spec.rb +2 -2
- data/spec/models/time_period_spec.rb +2 -2
- data/spec/models/time_tracking_entity_spec.rb +4 -4
- data/spec/models/time_tracking_entry_spec.rb +2 -2
- data/spec/models/too_many_requests_error_spec.rb +2 -2
- data/spec/models/top_seller_spec.rb +2 -2
- data/spec/models/total_period_spec.rb +2 -2
- data/spec/models/total_price_spec.rb +2 -2
- data/spec/models/user_role_spec.rb +5 -5
- data/spec/models/validity_spec.rb +2 -2
- data/spec/models/voided_receipt_item_spec.rb +8 -2
- data/spec/models/voucher_configuration_discount_calculation_spec.rb +50 -0
- data/spec/models/voucher_configuration_follow_up_products_spec.rb +46 -0
- data/spec/models/voucher_configuration_spec.rb +134 -0
- data/spec/models/voucher_resource_spec.rb +88 -0
- data/spec/models/voucher_transaction_resource_spec.rb +164 -0
- data/spec/models/voucher_transaction_spec.rb +8 -2
- data/spec/models/weather_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +192 -12
- data/docs/TicketCreationApi.md +0 -155
- data/lib/korona-cloud-client/api/ticket_creation_api.rb +0 -165
- data/spec/api/ticket_creation_api_spec.rb +0 -61
data/docs/StoreOrder.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **active** | **Boolean** | indicates whether the object is active for use or not | [optional][readonly] |
|
|
8
8
|
| **id** | **String** | global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | [optional] |
|
|
9
|
-
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
10
9
|
| **revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional][readonly] |
|
|
10
|
+
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
11
11
|
| **create_time** | **Time** | Format: yyyy-MM-dd'T'HH:mm:ssXXX | [optional] |
|
|
12
12
|
| **process_time** | **Time** | Format: yyyy-MM-dd'T'HH:mm:ssXXX | [optional] |
|
|
13
13
|
| **finish_time** | **Time** | Format: yyyy-MM-dd'T'HH:mm:ssXXX | [optional] |
|
|
@@ -26,8 +26,8 @@ require 'korona-cloud-client'
|
|
|
26
26
|
instance = KoronaCloudClient::StoreOrder.new(
|
|
27
27
|
active: null,
|
|
28
28
|
id: null,
|
|
29
|
-
number: null,
|
|
30
29
|
revision: null,
|
|
30
|
+
number: null,
|
|
31
31
|
create_time: 2018-11-22T09:40:21+01:00,
|
|
32
32
|
process_time: 2018-11-22T09:40:21+01:00,
|
|
33
33
|
finish_time: 2018-11-22T09:40:21+01:00,
|
data/docs/StoreOrdersApi.md
CHANGED
|
@@ -481,6 +481,8 @@ opts = {
|
|
|
481
481
|
target_organizational_unit: 'target_organizational_unit_example', # String | target organizational unit
|
|
482
482
|
min_finish_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) finish time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
483
483
|
max_finish_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | max (inclusive) finish time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
484
|
+
min_pick_up_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) pick up time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
485
|
+
max_pick_up_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | max (inclusive) pick up time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
484
486
|
number: 'number_example' # String | number of the related object
|
|
485
487
|
}
|
|
486
488
|
|
|
@@ -526,6 +528,8 @@ end
|
|
|
526
528
|
| **target_organizational_unit** | **String** | target organizational unit | [optional] |
|
|
527
529
|
| **min_finish_time** | **Time** | min (inclusive) finish time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
528
530
|
| **max_finish_time** | **Time** | max (inclusive) finish time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
531
|
+
| **min_pick_up_time** | **Time** | min (inclusive) pick up time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
532
|
+
| **max_pick_up_time** | **Time** | max (inclusive) pick up time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
529
533
|
| **number** | **String** | number of the related object | [optional] |
|
|
530
534
|
|
|
531
535
|
### Return type
|
|
@@ -544,7 +548,7 @@ end
|
|
|
544
548
|
|
|
545
549
|
## order_store_order
|
|
546
550
|
|
|
547
|
-
> order_store_order(korona_account_id, store_order_id, opts)
|
|
551
|
+
> order_store_order(korona_account_id, store_order_id, order_action, opts)
|
|
548
552
|
|
|
549
553
|
orders and finalizes the store order
|
|
550
554
|
|
|
@@ -563,15 +567,15 @@ end
|
|
|
563
567
|
api_instance = KoronaCloudClient::StoreOrdersApi.new
|
|
564
568
|
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
|
565
569
|
store_order_id = 'store_order_id_example' # String | id of the related object (important: id should match the uuid-format)
|
|
570
|
+
order_action = 'ACCORDING_TO_SPECIFICATIONS' # String | type of order finalization. according to items speficiations (either each item must have a source, or those without are ignored and deleted) or regardless of items specifications (joint supplier or warehouse)
|
|
566
571
|
opts = {
|
|
567
|
-
order_action: 'ACCORDING_TO_SPECIFICATIONS', # String | type of order finalization. according to items speficiations (either each item must have a source, or those without are ignored and deleted) or regardless of items specifications (joint supplier or warehouse)
|
|
568
572
|
warehouse: 'warehouse_example', # String | warehouse (= organizational unit having warehouse flag)
|
|
569
573
|
supplier: 'supplier_example' # String | supplier
|
|
570
574
|
}
|
|
571
575
|
|
|
572
576
|
begin
|
|
573
577
|
# orders and finalizes the store order
|
|
574
|
-
api_instance.order_store_order(korona_account_id, store_order_id, opts)
|
|
578
|
+
api_instance.order_store_order(korona_account_id, store_order_id, order_action, opts)
|
|
575
579
|
rescue KoronaCloudClient::ApiError => e
|
|
576
580
|
puts "Error when calling StoreOrdersApi->order_store_order: #{e}"
|
|
577
581
|
end
|
|
@@ -581,12 +585,12 @@ end
|
|
|
581
585
|
|
|
582
586
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
583
587
|
|
|
584
|
-
> <Array(nil, Integer, Hash)> order_store_order_with_http_info(korona_account_id, store_order_id, opts)
|
|
588
|
+
> <Array(nil, Integer, Hash)> order_store_order_with_http_info(korona_account_id, store_order_id, order_action, opts)
|
|
585
589
|
|
|
586
590
|
```ruby
|
|
587
591
|
begin
|
|
588
592
|
# orders and finalizes the store order
|
|
589
|
-
data, status_code, headers = api_instance.order_store_order_with_http_info(korona_account_id, store_order_id, opts)
|
|
593
|
+
data, status_code, headers = api_instance.order_store_order_with_http_info(korona_account_id, store_order_id, order_action, opts)
|
|
590
594
|
p status_code # => 2xx
|
|
591
595
|
p headers # => { ... }
|
|
592
596
|
p data # => nil
|
|
@@ -601,7 +605,7 @@ end
|
|
|
601
605
|
| ---- | ---- | ----------- | ----- |
|
|
602
606
|
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
|
603
607
|
| **store_order_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
|
604
|
-
| **order_action** | **String** | type of order finalization. according to items speficiations (either each item must have a source, or those without are ignored and deleted) or regardless of items specifications (joint supplier or warehouse) |
|
|
608
|
+
| **order_action** | **String** | type of order finalization. according to items speficiations (either each item must have a source, or those without are ignored and deleted) or regardless of items specifications (joint supplier or warehouse) | |
|
|
605
609
|
| **warehouse** | **String** | warehouse (= organizational unit having warehouse flag) | [optional] |
|
|
606
610
|
| **supplier** | **String** | supplier | [optional] |
|
|
607
611
|
|
data/docs/Supplier.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **active** | **Boolean** | indicates whether the object is active for use or not | [optional][readonly] |
|
|
8
8
|
| **id** | **String** | global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | [optional] |
|
|
9
|
-
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
10
9
|
| **revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional][readonly] |
|
|
10
|
+
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
11
11
|
| **additional_information** | **String** | | [optional] |
|
|
12
12
|
| **address** | [**ProductTransferInvolvedPartyInformationData**](ProductTransferInvolvedPartyInformationData.md) | | [optional] |
|
|
13
13
|
| **contact** | [**SupplierContact**](SupplierContact.md) | | [optional] |
|
|
@@ -26,8 +26,8 @@ require 'korona-cloud-client'
|
|
|
26
26
|
instance = KoronaCloudClient::Supplier.new(
|
|
27
27
|
active: null,
|
|
28
28
|
id: null,
|
|
29
|
-
number: null,
|
|
30
29
|
revision: null,
|
|
30
|
+
number: null,
|
|
31
31
|
additional_information: null,
|
|
32
32
|
address: null,
|
|
33
33
|
contact: null,
|
data/docs/Tag.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **active** | **Boolean** | indicates whether the object is active for use or not | [optional][readonly] |
|
|
8
8
|
| **id** | **String** | global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | [optional] |
|
|
9
|
-
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
10
9
|
| **revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional][readonly] |
|
|
10
|
+
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
11
11
|
| **name** | **String** | | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -18,8 +18,8 @@ require 'korona-cloud-client'
|
|
|
18
18
|
instance = KoronaCloudClient::Tag.new(
|
|
19
19
|
active: null,
|
|
20
20
|
id: null,
|
|
21
|
-
number: null,
|
|
22
21
|
revision: null,
|
|
22
|
+
number: null,
|
|
23
23
|
name: null
|
|
24
24
|
)
|
|
25
25
|
```
|
data/docs/TicketDefinition.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **active** | **Boolean** | indicates whether the object is active for use or not | [optional][readonly] |
|
|
8
8
|
| **id** | **String** | global object uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | [optional] |
|
|
9
|
-
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
10
9
|
| **revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional][readonly] |
|
|
10
|
+
| **number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional] |
|
|
11
11
|
| **activation_delay_after_purchase** | [**TimePeriod**](TimePeriod.md) | | [optional] |
|
|
12
12
|
| **count_statistically** | **Boolean** | | [optional] |
|
|
13
13
|
| **entry_gates** | [**Array<ModelReference>**](ModelReference.md) | | [optional] |
|
|
@@ -29,8 +29,8 @@ require 'korona-cloud-client'
|
|
|
29
29
|
instance = KoronaCloudClient::TicketDefinition.new(
|
|
30
30
|
active: null,
|
|
31
31
|
id: null,
|
|
32
|
-
number: null,
|
|
33
32
|
revision: null,
|
|
33
|
+
number: null,
|
|
34
34
|
activation_delay_after_purchase: null,
|
|
35
35
|
count_statistically: null,
|
|
36
36
|
entry_gates: null,
|
data/docs/TicketingApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**add_creation_task**](TicketingApi.md#add_creation_task) | **POST** /accounts/{koronaAccountId}/ticketCreation | adds a creation task |
|
|
7
8
|
| [**add_entry_gates**](TicketingApi.md#add_entry_gates) | **POST** /accounts/{koronaAccountId}/entryGates | adds a batch of new entry gates |
|
|
8
9
|
| [**add_events**](TicketingApi.md#add_events) | **POST** /accounts/{koronaAccountId}/events | adds a batch of new events |
|
|
9
10
|
| [**add_or_update_attendances**](TicketingApi.md#add_or_update_attendances) | **POST** /accounts/{koronaAccountId}/attendances | updates/adds attendances |
|
|
@@ -15,6 +16,7 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
|
15
16
|
| [**delete_ticket_definitions**](TicketingApi.md#delete_ticket_definitions) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions | deletes a batch of ticket definitions |
|
|
16
17
|
| [**get_attendance**](TicketingApi.md#get_attendance) | **GET** /accounts/{koronaAccountId}/attendances/{attendanceId} | returns the single attendance |
|
|
17
18
|
| [**get_attendances**](TicketingApi.md#get_attendances) | **GET** /accounts/{koronaAccountId}/attendances | lists all attendances |
|
|
19
|
+
| [**get_creation_tasks**](TicketingApi.md#get_creation_tasks) | **GET** /accounts/{koronaAccountId}/ticketCreation | creation tasks, personalization will always be empty for technical reasons |
|
|
18
20
|
| [**get_entry_gate**](TicketingApi.md#get_entry_gate) | **GET** /accounts/{koronaAccountId}/entryGates/{entryGateId} | returns the single entry gate |
|
|
19
21
|
| [**get_entry_gates**](TicketingApi.md#get_entry_gates) | **GET** /accounts/{koronaAccountId}/entryGates | lists all entry gates |
|
|
20
22
|
| [**get_event**](TicketingApi.md#get_event) | **GET** /accounts/{koronaAccountId}/events/{eventId} | returns the single event |
|
|
@@ -31,6 +33,76 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
|
31
33
|
| [**update_ticket_definitions**](TicketingApi.md#update_ticket_definitions) | **PATCH** /accounts/{koronaAccountId}/ticketDefinitions | updates a batch of ticket definitions |
|
|
32
34
|
|
|
33
35
|
|
|
36
|
+
## add_creation_task
|
|
37
|
+
|
|
38
|
+
> <AddOrUpdateResult> add_creation_task(korona_account_id, body)
|
|
39
|
+
|
|
40
|
+
adds a creation task
|
|
41
|
+
|
|
42
|
+
### Examples
|
|
43
|
+
|
|
44
|
+
```ruby
|
|
45
|
+
require 'time'
|
|
46
|
+
require 'korona-cloud-client'
|
|
47
|
+
# setup authorization
|
|
48
|
+
KoronaCloudClient.configure do |config|
|
|
49
|
+
# Configure HTTP basic authorization: basicAuth
|
|
50
|
+
config.username = 'YOUR USERNAME'
|
|
51
|
+
config.password = 'YOUR PASSWORD'
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
|
55
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
|
56
|
+
body = KoronaCloudClient::CreationTask.new # CreationTask | a single ticket creation task
|
|
57
|
+
|
|
58
|
+
begin
|
|
59
|
+
# adds a creation task
|
|
60
|
+
result = api_instance.add_creation_task(korona_account_id, body)
|
|
61
|
+
p result
|
|
62
|
+
rescue KoronaCloudClient::ApiError => e
|
|
63
|
+
puts "Error when calling TicketingApi->add_creation_task: #{e}"
|
|
64
|
+
end
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
#### Using the add_creation_task_with_http_info variant
|
|
68
|
+
|
|
69
|
+
This returns an Array which contains the response data, status code and headers.
|
|
70
|
+
|
|
71
|
+
> <Array(<AddOrUpdateResult>, Integer, Hash)> add_creation_task_with_http_info(korona_account_id, body)
|
|
72
|
+
|
|
73
|
+
```ruby
|
|
74
|
+
begin
|
|
75
|
+
# adds a creation task
|
|
76
|
+
data, status_code, headers = api_instance.add_creation_task_with_http_info(korona_account_id, body)
|
|
77
|
+
p status_code # => 2xx
|
|
78
|
+
p headers # => { ... }
|
|
79
|
+
p data # => <AddOrUpdateResult>
|
|
80
|
+
rescue KoronaCloudClient::ApiError => e
|
|
81
|
+
puts "Error when calling TicketingApi->add_creation_task_with_http_info: #{e}"
|
|
82
|
+
end
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Parameters
|
|
86
|
+
|
|
87
|
+
| Name | Type | Description | Notes |
|
|
88
|
+
| ---- | ---- | ----------- | ----- |
|
|
89
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
|
90
|
+
| **body** | [**CreationTask**](CreationTask.md) | a single ticket creation task | |
|
|
91
|
+
|
|
92
|
+
### Return type
|
|
93
|
+
|
|
94
|
+
[**AddOrUpdateResult**](AddOrUpdateResult.md)
|
|
95
|
+
|
|
96
|
+
### Authorization
|
|
97
|
+
|
|
98
|
+
[basicAuth](../README.md#basicAuth)
|
|
99
|
+
|
|
100
|
+
### HTTP request headers
|
|
101
|
+
|
|
102
|
+
- **Content-Type**: application/json
|
|
103
|
+
- **Accept**: application/json
|
|
104
|
+
|
|
105
|
+
|
|
34
106
|
## add_entry_gates
|
|
35
107
|
|
|
36
108
|
> <Array<AddOrUpdateResult>> add_entry_gates(korona_account_id, body, opts)
|
|
@@ -820,6 +892,82 @@ end
|
|
|
820
892
|
- **Accept**: application/json
|
|
821
893
|
|
|
822
894
|
|
|
895
|
+
## get_creation_tasks
|
|
896
|
+
|
|
897
|
+
> <ResultListCreationTask> get_creation_tasks(korona_account_id, opts)
|
|
898
|
+
|
|
899
|
+
creation tasks, personalization will always be empty for technical reasons
|
|
900
|
+
|
|
901
|
+
### Examples
|
|
902
|
+
|
|
903
|
+
```ruby
|
|
904
|
+
require 'time'
|
|
905
|
+
require 'korona-cloud-client'
|
|
906
|
+
# setup authorization
|
|
907
|
+
KoronaCloudClient.configure do |config|
|
|
908
|
+
# Configure HTTP basic authorization: basicAuth
|
|
909
|
+
config.username = 'YOUR USERNAME'
|
|
910
|
+
config.password = 'YOUR PASSWORD'
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
|
914
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
|
915
|
+
opts = {
|
|
916
|
+
creation_time_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation time from
|
|
917
|
+
creation_time_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation time to
|
|
918
|
+
statuses: ['PREPARED'] # Array<String> | creation task statuses
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
begin
|
|
922
|
+
# creation tasks, personalization will always be empty for technical reasons
|
|
923
|
+
result = api_instance.get_creation_tasks(korona_account_id, opts)
|
|
924
|
+
p result
|
|
925
|
+
rescue KoronaCloudClient::ApiError => e
|
|
926
|
+
puts "Error when calling TicketingApi->get_creation_tasks: #{e}"
|
|
927
|
+
end
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
#### Using the get_creation_tasks_with_http_info variant
|
|
931
|
+
|
|
932
|
+
This returns an Array which contains the response data, status code and headers.
|
|
933
|
+
|
|
934
|
+
> <Array(<ResultListCreationTask>, Integer, Hash)> get_creation_tasks_with_http_info(korona_account_id, opts)
|
|
935
|
+
|
|
936
|
+
```ruby
|
|
937
|
+
begin
|
|
938
|
+
# creation tasks, personalization will always be empty for technical reasons
|
|
939
|
+
data, status_code, headers = api_instance.get_creation_tasks_with_http_info(korona_account_id, opts)
|
|
940
|
+
p status_code # => 2xx
|
|
941
|
+
p headers # => { ... }
|
|
942
|
+
p data # => <ResultListCreationTask>
|
|
943
|
+
rescue KoronaCloudClient::ApiError => e
|
|
944
|
+
puts "Error when calling TicketingApi->get_creation_tasks_with_http_info: #{e}"
|
|
945
|
+
end
|
|
946
|
+
```
|
|
947
|
+
|
|
948
|
+
### Parameters
|
|
949
|
+
|
|
950
|
+
| Name | Type | Description | Notes |
|
|
951
|
+
| ---- | ---- | ----------- | ----- |
|
|
952
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
|
953
|
+
| **creation_time_from** | **Time** | creation time from | [optional] |
|
|
954
|
+
| **creation_time_to** | **Time** | creation time to | [optional] |
|
|
955
|
+
| **statuses** | [**Array<String>**](String.md) | creation task statuses | [optional] |
|
|
956
|
+
|
|
957
|
+
### Return type
|
|
958
|
+
|
|
959
|
+
[**ResultListCreationTask**](ResultListCreationTask.md)
|
|
960
|
+
|
|
961
|
+
### Authorization
|
|
962
|
+
|
|
963
|
+
[basicAuth](../README.md#basicAuth)
|
|
964
|
+
|
|
965
|
+
### HTTP request headers
|
|
966
|
+
|
|
967
|
+
- **Content-Type**: Not defined
|
|
968
|
+
- **Accept**: application/json
|
|
969
|
+
|
|
970
|
+
|
|
823
971
|
## get_entry_gate
|
|
824
972
|
|
|
825
973
|
> <EntryGate> get_entry_gate(korona_account_id, entry_gate_id)
|
data/docs/TimeTrackingApi.md
CHANGED
|
@@ -4,17 +4,17 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**
|
|
8
|
-
| [**
|
|
9
|
-
| [**
|
|
10
|
-
| [**get_entries**](TimeTrackingApi.md#get_entries) | **GET** /accounts/{koronaAccountId}/timeTrackingEntries | lists time tracking entries |
|
|
7
|
+
| [**add_time_tracking_entities**](TimeTrackingApi.md#add_time_tracking_entities) | **POST** /accounts/{koronaAccountId}/timeTrackingEntities | adds a batch of new time tracking entities |
|
|
8
|
+
| [**add_time_tracking_entries**](TimeTrackingApi.md#add_time_tracking_entries) | **POST** /accounts/{koronaAccountId}/timeTrackingEntries | adds a batch of new time tracking entries |
|
|
9
|
+
| [**get_time_tracking_entities**](TimeTrackingApi.md#get_time_tracking_entities) | **GET** /accounts/{koronaAccountId}/timeTrackingEntities | lists time tracking entities |
|
|
11
10
|
| [**get_time_tracking_entity**](TimeTrackingApi.md#get_time_tracking_entity) | **GET** /accounts/{koronaAccountId}/timeTrackingEntities/{timeTrackingEntityId} | returns a single time tracking entity |
|
|
11
|
+
| [**get_time_tracking_entries**](TimeTrackingApi.md#get_time_tracking_entries) | **GET** /accounts/{koronaAccountId}/timeTrackingEntries | lists time tracking entries |
|
|
12
12
|
| [**get_time_tracking_entry**](TimeTrackingApi.md#get_time_tracking_entry) | **GET** /accounts/{koronaAccountId}/timeTrackingEntries/{timeTrackingEntryId} | returns a single time tracking entry |
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## add_time_tracking_entities
|
|
16
16
|
|
|
17
|
-
> <Array<AddOrUpdateResult>>
|
|
17
|
+
> <Array<AddOrUpdateResult>> add_time_tracking_entities(korona_account_id, body, opts)
|
|
18
18
|
|
|
19
19
|
adds a batch of new time tracking entities
|
|
20
20
|
|
|
@@ -39,28 +39,28 @@ opts = {
|
|
|
39
39
|
|
|
40
40
|
begin
|
|
41
41
|
# adds a batch of new time tracking entities
|
|
42
|
-
result = api_instance.
|
|
42
|
+
result = api_instance.add_time_tracking_entities(korona_account_id, body, opts)
|
|
43
43
|
p result
|
|
44
44
|
rescue KoronaCloudClient::ApiError => e
|
|
45
|
-
puts "Error when calling TimeTrackingApi->
|
|
45
|
+
puts "Error when calling TimeTrackingApi->add_time_tracking_entities: #{e}"
|
|
46
46
|
end
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
#### Using the
|
|
49
|
+
#### Using the add_time_tracking_entities_with_http_info variant
|
|
50
50
|
|
|
51
51
|
This returns an Array which contains the response data, status code and headers.
|
|
52
52
|
|
|
53
|
-
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)>
|
|
53
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_time_tracking_entities_with_http_info(korona_account_id, body, opts)
|
|
54
54
|
|
|
55
55
|
```ruby
|
|
56
56
|
begin
|
|
57
57
|
# adds a batch of new time tracking entities
|
|
58
|
-
data, status_code, headers = api_instance.
|
|
58
|
+
data, status_code, headers = api_instance.add_time_tracking_entities_with_http_info(korona_account_id, body, opts)
|
|
59
59
|
p status_code # => 2xx
|
|
60
60
|
p headers # => { ... }
|
|
61
61
|
p data # => <Array<AddOrUpdateResult>>
|
|
62
62
|
rescue KoronaCloudClient::ApiError => e
|
|
63
|
-
puts "Error when calling TimeTrackingApi->
|
|
63
|
+
puts "Error when calling TimeTrackingApi->add_time_tracking_entities_with_http_info: #{e}"
|
|
64
64
|
end
|
|
65
65
|
```
|
|
66
66
|
|
|
@@ -86,9 +86,9 @@ end
|
|
|
86
86
|
- **Accept**: application/json
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
##
|
|
89
|
+
## add_time_tracking_entries
|
|
90
90
|
|
|
91
|
-
> <Array<AddOrUpdateResult>>
|
|
91
|
+
> <Array<AddOrUpdateResult>> add_time_tracking_entries(korona_account_id, body, opts)
|
|
92
92
|
|
|
93
93
|
adds a batch of new time tracking entries
|
|
94
94
|
|
|
@@ -113,28 +113,28 @@ opts = {
|
|
|
113
113
|
|
|
114
114
|
begin
|
|
115
115
|
# adds a batch of new time tracking entries
|
|
116
|
-
result = api_instance.
|
|
116
|
+
result = api_instance.add_time_tracking_entries(korona_account_id, body, opts)
|
|
117
117
|
p result
|
|
118
118
|
rescue KoronaCloudClient::ApiError => e
|
|
119
|
-
puts "Error when calling TimeTrackingApi->
|
|
119
|
+
puts "Error when calling TimeTrackingApi->add_time_tracking_entries: #{e}"
|
|
120
120
|
end
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
#### Using the
|
|
123
|
+
#### Using the add_time_tracking_entries_with_http_info variant
|
|
124
124
|
|
|
125
125
|
This returns an Array which contains the response data, status code and headers.
|
|
126
126
|
|
|
127
|
-
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)>
|
|
127
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_time_tracking_entries_with_http_info(korona_account_id, body, opts)
|
|
128
128
|
|
|
129
129
|
```ruby
|
|
130
130
|
begin
|
|
131
131
|
# adds a batch of new time tracking entries
|
|
132
|
-
data, status_code, headers = api_instance.
|
|
132
|
+
data, status_code, headers = api_instance.add_time_tracking_entries_with_http_info(korona_account_id, body, opts)
|
|
133
133
|
p status_code # => 2xx
|
|
134
134
|
p headers # => { ... }
|
|
135
135
|
p data # => <Array<AddOrUpdateResult>>
|
|
136
136
|
rescue KoronaCloudClient::ApiError => e
|
|
137
|
-
puts "Error when calling TimeTrackingApi->
|
|
137
|
+
puts "Error when calling TimeTrackingApi->add_time_tracking_entries_with_http_info: #{e}"
|
|
138
138
|
end
|
|
139
139
|
```
|
|
140
140
|
|
|
@@ -160,9 +160,9 @@ end
|
|
|
160
160
|
- **Accept**: application/json
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
##
|
|
163
|
+
## get_time_tracking_entities
|
|
164
164
|
|
|
165
|
-
> <ResultListTimeTrackingEntity>
|
|
165
|
+
> <ResultListTimeTrackingEntity> get_time_tracking_entities(korona_account_id, opts)
|
|
166
166
|
|
|
167
167
|
lists time tracking entities
|
|
168
168
|
|
|
@@ -191,28 +191,28 @@ opts = {
|
|
|
191
191
|
|
|
192
192
|
begin
|
|
193
193
|
# lists time tracking entities
|
|
194
|
-
result = api_instance.
|
|
194
|
+
result = api_instance.get_time_tracking_entities(korona_account_id, opts)
|
|
195
195
|
p result
|
|
196
196
|
rescue KoronaCloudClient::ApiError => e
|
|
197
|
-
puts "Error when calling TimeTrackingApi->
|
|
197
|
+
puts "Error when calling TimeTrackingApi->get_time_tracking_entities: #{e}"
|
|
198
198
|
end
|
|
199
199
|
```
|
|
200
200
|
|
|
201
|
-
#### Using the
|
|
201
|
+
#### Using the get_time_tracking_entities_with_http_info variant
|
|
202
202
|
|
|
203
203
|
This returns an Array which contains the response data, status code and headers.
|
|
204
204
|
|
|
205
|
-
> <Array(<ResultListTimeTrackingEntity>, Integer, Hash)>
|
|
205
|
+
> <Array(<ResultListTimeTrackingEntity>, Integer, Hash)> get_time_tracking_entities_with_http_info(korona_account_id, opts)
|
|
206
206
|
|
|
207
207
|
```ruby
|
|
208
208
|
begin
|
|
209
209
|
# lists time tracking entities
|
|
210
|
-
data, status_code, headers = api_instance.
|
|
210
|
+
data, status_code, headers = api_instance.get_time_tracking_entities_with_http_info(korona_account_id, opts)
|
|
211
211
|
p status_code # => 2xx
|
|
212
212
|
p headers # => { ... }
|
|
213
213
|
p data # => <ResultListTimeTrackingEntity>
|
|
214
214
|
rescue KoronaCloudClient::ApiError => e
|
|
215
|
-
puts "Error when calling TimeTrackingApi->
|
|
215
|
+
puts "Error when calling TimeTrackingApi->get_time_tracking_entities_with_http_info: #{e}"
|
|
216
216
|
end
|
|
217
217
|
```
|
|
218
218
|
|
|
@@ -242,11 +242,11 @@ end
|
|
|
242
242
|
- **Accept**: application/json
|
|
243
243
|
|
|
244
244
|
|
|
245
|
-
##
|
|
245
|
+
## get_time_tracking_entity
|
|
246
246
|
|
|
247
|
-
> <
|
|
247
|
+
> <TimeTrackingEntity> get_time_tracking_entity(korona_account_id, time_tracking_entity_id)
|
|
248
248
|
|
|
249
|
-
|
|
249
|
+
returns a single time tracking entity
|
|
250
250
|
|
|
251
251
|
### Examples
|
|
252
252
|
|
|
@@ -262,43 +262,32 @@ end
|
|
|
262
262
|
|
|
263
263
|
api_instance = KoronaCloudClient::TimeTrackingApi.new
|
|
264
264
|
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
|
265
|
-
|
|
266
|
-
page: 56, # Integer | number of the page to fetch
|
|
267
|
-
size: 56, # Integer | amount of objects to return per page
|
|
268
|
-
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
|
269
|
-
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
|
270
|
-
time_tracking_entity: 'time_tracking_entity_example', # String | time tracking entity id to filter by
|
|
271
|
-
cashier: 'cashier_example', # String | cashier id to filter by
|
|
272
|
-
organizational_unit: 'organizational_unit_example', # String | organizational unit
|
|
273
|
-
min_timestamp: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
274
|
-
max_timestamp: Time.parse('2013-10-20T19:20:30+01:00'), # Time | max (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
275
|
-
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
|
276
|
-
}
|
|
265
|
+
time_tracking_entity_id = 'time_tracking_entity_id_example' # String | id of the related object (important: id should match the uuid-format)
|
|
277
266
|
|
|
278
267
|
begin
|
|
279
|
-
#
|
|
280
|
-
result = api_instance.
|
|
268
|
+
# returns a single time tracking entity
|
|
269
|
+
result = api_instance.get_time_tracking_entity(korona_account_id, time_tracking_entity_id)
|
|
281
270
|
p result
|
|
282
271
|
rescue KoronaCloudClient::ApiError => e
|
|
283
|
-
puts "Error when calling TimeTrackingApi->
|
|
272
|
+
puts "Error when calling TimeTrackingApi->get_time_tracking_entity: #{e}"
|
|
284
273
|
end
|
|
285
274
|
```
|
|
286
275
|
|
|
287
|
-
#### Using the
|
|
276
|
+
#### Using the get_time_tracking_entity_with_http_info variant
|
|
288
277
|
|
|
289
278
|
This returns an Array which contains the response data, status code and headers.
|
|
290
279
|
|
|
291
|
-
> <Array(<
|
|
280
|
+
> <Array(<TimeTrackingEntity>, Integer, Hash)> get_time_tracking_entity_with_http_info(korona_account_id, time_tracking_entity_id)
|
|
292
281
|
|
|
293
282
|
```ruby
|
|
294
283
|
begin
|
|
295
|
-
#
|
|
296
|
-
data, status_code, headers = api_instance.
|
|
284
|
+
# returns a single time tracking entity
|
|
285
|
+
data, status_code, headers = api_instance.get_time_tracking_entity_with_http_info(korona_account_id, time_tracking_entity_id)
|
|
297
286
|
p status_code # => 2xx
|
|
298
287
|
p headers # => { ... }
|
|
299
|
-
p data # => <
|
|
288
|
+
p data # => <TimeTrackingEntity>
|
|
300
289
|
rescue KoronaCloudClient::ApiError => e
|
|
301
|
-
puts "Error when calling TimeTrackingApi->
|
|
290
|
+
puts "Error when calling TimeTrackingApi->get_time_tracking_entity_with_http_info: #{e}"
|
|
302
291
|
end
|
|
303
292
|
```
|
|
304
293
|
|
|
@@ -307,20 +296,11 @@ end
|
|
|
307
296
|
| Name | Type | Description | Notes |
|
|
308
297
|
| ---- | ---- | ----------- | ----- |
|
|
309
298
|
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
|
310
|
-
| **
|
|
311
|
-
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
|
312
|
-
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
|
313
|
-
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
|
314
|
-
| **time_tracking_entity** | **String** | time tracking entity id to filter by | [optional] |
|
|
315
|
-
| **cashier** | **String** | cashier id to filter by | [optional] |
|
|
316
|
-
| **organizational_unit** | **String** | organizational unit | [optional] |
|
|
317
|
-
| **min_timestamp** | **Time** | min (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
318
|
-
| **max_timestamp** | **Time** | max (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
319
|
-
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
|
299
|
+
| **time_tracking_entity_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
|
320
300
|
|
|
321
301
|
### Return type
|
|
322
302
|
|
|
323
|
-
[**
|
|
303
|
+
[**TimeTrackingEntity**](TimeTrackingEntity.md)
|
|
324
304
|
|
|
325
305
|
### Authorization
|
|
326
306
|
|
|
@@ -332,11 +312,11 @@ end
|
|
|
332
312
|
- **Accept**: application/json
|
|
333
313
|
|
|
334
314
|
|
|
335
|
-
##
|
|
315
|
+
## get_time_tracking_entries
|
|
336
316
|
|
|
337
|
-
> <
|
|
317
|
+
> <ResultListTimeTrackingEntry> get_time_tracking_entries(korona_account_id, opts)
|
|
338
318
|
|
|
339
|
-
|
|
319
|
+
lists time tracking entries
|
|
340
320
|
|
|
341
321
|
### Examples
|
|
342
322
|
|
|
@@ -352,32 +332,43 @@ end
|
|
|
352
332
|
|
|
353
333
|
api_instance = KoronaCloudClient::TimeTrackingApi.new
|
|
354
334
|
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
|
355
|
-
|
|
335
|
+
opts = {
|
|
336
|
+
page: 56, # Integer | number of the page to fetch
|
|
337
|
+
size: 56, # Integer | amount of objects to return per page
|
|
338
|
+
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
|
339
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
|
340
|
+
time_tracking_entity: 'time_tracking_entity_example', # String | time tracking entity id to filter by
|
|
341
|
+
cashier: 'cashier_example', # String | cashier id to filter by
|
|
342
|
+
organizational_unit: 'organizational_unit_example', # String | organizational unit
|
|
343
|
+
min_timestamp: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
344
|
+
max_timestamp: Time.parse('2013-10-20T19:20:30+01:00'), # Time | max (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
|
345
|
+
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
|
346
|
+
}
|
|
356
347
|
|
|
357
348
|
begin
|
|
358
|
-
#
|
|
359
|
-
result = api_instance.
|
|
349
|
+
# lists time tracking entries
|
|
350
|
+
result = api_instance.get_time_tracking_entries(korona_account_id, opts)
|
|
360
351
|
p result
|
|
361
352
|
rescue KoronaCloudClient::ApiError => e
|
|
362
|
-
puts "Error when calling TimeTrackingApi->
|
|
353
|
+
puts "Error when calling TimeTrackingApi->get_time_tracking_entries: #{e}"
|
|
363
354
|
end
|
|
364
355
|
```
|
|
365
356
|
|
|
366
|
-
#### Using the
|
|
357
|
+
#### Using the get_time_tracking_entries_with_http_info variant
|
|
367
358
|
|
|
368
359
|
This returns an Array which contains the response data, status code and headers.
|
|
369
360
|
|
|
370
|
-
> <Array(<
|
|
361
|
+
> <Array(<ResultListTimeTrackingEntry>, Integer, Hash)> get_time_tracking_entries_with_http_info(korona_account_id, opts)
|
|
371
362
|
|
|
372
363
|
```ruby
|
|
373
364
|
begin
|
|
374
|
-
#
|
|
375
|
-
data, status_code, headers = api_instance.
|
|
365
|
+
# lists time tracking entries
|
|
366
|
+
data, status_code, headers = api_instance.get_time_tracking_entries_with_http_info(korona_account_id, opts)
|
|
376
367
|
p status_code # => 2xx
|
|
377
368
|
p headers # => { ... }
|
|
378
|
-
p data # => <
|
|
369
|
+
p data # => <ResultListTimeTrackingEntry>
|
|
379
370
|
rescue KoronaCloudClient::ApiError => e
|
|
380
|
-
puts "Error when calling TimeTrackingApi->
|
|
371
|
+
puts "Error when calling TimeTrackingApi->get_time_tracking_entries_with_http_info: #{e}"
|
|
381
372
|
end
|
|
382
373
|
```
|
|
383
374
|
|
|
@@ -386,11 +377,20 @@ end
|
|
|
386
377
|
| Name | Type | Description | Notes |
|
|
387
378
|
| ---- | ---- | ----------- | ----- |
|
|
388
379
|
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
|
389
|
-
| **
|
|
380
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
|
381
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
|
382
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
|
383
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
|
384
|
+
| **time_tracking_entity** | **String** | time tracking entity id to filter by | [optional] |
|
|
385
|
+
| **cashier** | **String** | cashier id to filter by | [optional] |
|
|
386
|
+
| **organizational_unit** | **String** | organizational unit | [optional] |
|
|
387
|
+
| **min_timestamp** | **Time** | min (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
388
|
+
| **max_timestamp** | **Time** | max (inclusive) timestamp (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
|
389
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
|
390
390
|
|
|
391
391
|
### Return type
|
|
392
392
|
|
|
393
|
-
[**
|
|
393
|
+
[**ResultListTimeTrackingEntry**](ResultListTimeTrackingEntry.md)
|
|
394
394
|
|
|
395
395
|
### Authorization
|
|
396
396
|
|