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
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Our api provides access to our cloud services
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.19.20
|
|
7
7
|
Contact: support@combase.net
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,6 +19,369 @@ module KoronaCloudClient
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# adds dispatch notification items
|
|
23
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
24
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
25
|
+
# @param body [Array<DispatchNotificationItem>] array of new dispatch notification items
|
|
26
|
+
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
|
|
28
|
+
# @return [Array<AddOrUpdateResult>]
|
|
29
|
+
def add_dispatch_notification_items(korona_account_id, dispatch_notification_id, body, opts = {})
|
|
30
|
+
data, _status_code, _headers = add_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts)
|
|
31
|
+
data
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# adds dispatch notification items
|
|
35
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
36
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
37
|
+
# @param body [Array<DispatchNotificationItem>] array of new dispatch notification items
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
|
|
40
|
+
# @return [Array<(Array<AddOrUpdateResult>, Integer, Hash)>] Array<AddOrUpdateResult> data, response status code and response headers
|
|
41
|
+
def add_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts = {})
|
|
42
|
+
if @api_client.config.debugging
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.add_dispatch_notification_items ...'
|
|
44
|
+
end
|
|
45
|
+
# verify the required parameter 'korona_account_id' is set
|
|
46
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.add_dispatch_notification_items"
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
50
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.add_dispatch_notification_items"
|
|
52
|
+
end
|
|
53
|
+
# verify the required parameter 'body' is set
|
|
54
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
55
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.add_dispatch_notification_items"
|
|
56
|
+
end
|
|
57
|
+
# resource path
|
|
58
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
|
|
59
|
+
|
|
60
|
+
# query parameters
|
|
61
|
+
query_params = opts[:query_params] || {}
|
|
62
|
+
query_params[:'upsert'] = opts[:'upsert'] if !opts[:'upsert'].nil?
|
|
63
|
+
|
|
64
|
+
# header parameters
|
|
65
|
+
header_params = opts[:header_params] || {}
|
|
66
|
+
# HTTP header 'Accept' (if needed)
|
|
67
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
68
|
+
# HTTP header 'Content-Type'
|
|
69
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
70
|
+
if !content_type.nil?
|
|
71
|
+
header_params['Content-Type'] = content_type
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# form parameters
|
|
75
|
+
form_params = opts[:form_params] || {}
|
|
76
|
+
|
|
77
|
+
# http body (model)
|
|
78
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
79
|
+
|
|
80
|
+
# return_type
|
|
81
|
+
return_type = opts[:debug_return_type] || 'Array<AddOrUpdateResult>'
|
|
82
|
+
|
|
83
|
+
# auth_names
|
|
84
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
85
|
+
|
|
86
|
+
new_options = opts.merge(
|
|
87
|
+
:operation => :"DispatchNotificationsApi.add_dispatch_notification_items",
|
|
88
|
+
:header_params => header_params,
|
|
89
|
+
:query_params => query_params,
|
|
90
|
+
:form_params => form_params,
|
|
91
|
+
:body => post_body,
|
|
92
|
+
:auth_names => auth_names,
|
|
93
|
+
:return_type => return_type
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
97
|
+
if @api_client.config.debugging
|
|
98
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#add_dispatch_notification_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
99
|
+
end
|
|
100
|
+
return data, status_code, headers
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# adds dispatch notifications
|
|
104
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
105
|
+
# @param body [Array<DispatchNotification>] array of new dispatch notifications
|
|
106
|
+
# @param [Hash] opts the optional parameters
|
|
107
|
+
# @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
|
|
108
|
+
# @return [Array<AddOrUpdateResult>]
|
|
109
|
+
def add_dispatch_notifications(korona_account_id, body, opts = {})
|
|
110
|
+
data, _status_code, _headers = add_dispatch_notifications_with_http_info(korona_account_id, body, opts)
|
|
111
|
+
data
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# adds dispatch notifications
|
|
115
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
116
|
+
# @param body [Array<DispatchNotification>] array of new dispatch notifications
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @option opts [Boolean] :upsert when set to true, updates the object instead of generating a already-exists-error
|
|
119
|
+
# @return [Array<(Array<AddOrUpdateResult>, Integer, Hash)>] Array<AddOrUpdateResult> data, response status code and response headers
|
|
120
|
+
def add_dispatch_notifications_with_http_info(korona_account_id, body, opts = {})
|
|
121
|
+
if @api_client.config.debugging
|
|
122
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.add_dispatch_notifications ...'
|
|
123
|
+
end
|
|
124
|
+
# verify the required parameter 'korona_account_id' is set
|
|
125
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
126
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.add_dispatch_notifications"
|
|
127
|
+
end
|
|
128
|
+
# verify the required parameter 'body' is set
|
|
129
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
130
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.add_dispatch_notifications"
|
|
131
|
+
end
|
|
132
|
+
# resource path
|
|
133
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s))
|
|
134
|
+
|
|
135
|
+
# query parameters
|
|
136
|
+
query_params = opts[:query_params] || {}
|
|
137
|
+
query_params[:'upsert'] = opts[:'upsert'] if !opts[:'upsert'].nil?
|
|
138
|
+
|
|
139
|
+
# header parameters
|
|
140
|
+
header_params = opts[:header_params] || {}
|
|
141
|
+
# HTTP header 'Accept' (if needed)
|
|
142
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
143
|
+
# HTTP header 'Content-Type'
|
|
144
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
145
|
+
if !content_type.nil?
|
|
146
|
+
header_params['Content-Type'] = content_type
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# form parameters
|
|
150
|
+
form_params = opts[:form_params] || {}
|
|
151
|
+
|
|
152
|
+
# http body (model)
|
|
153
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
154
|
+
|
|
155
|
+
# return_type
|
|
156
|
+
return_type = opts[:debug_return_type] || 'Array<AddOrUpdateResult>'
|
|
157
|
+
|
|
158
|
+
# auth_names
|
|
159
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
160
|
+
|
|
161
|
+
new_options = opts.merge(
|
|
162
|
+
:operation => :"DispatchNotificationsApi.add_dispatch_notifications",
|
|
163
|
+
:header_params => header_params,
|
|
164
|
+
:query_params => query_params,
|
|
165
|
+
:form_params => form_params,
|
|
166
|
+
:body => post_body,
|
|
167
|
+
:auth_names => auth_names,
|
|
168
|
+
:return_type => return_type
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
172
|
+
if @api_client.config.debugging
|
|
173
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#add_dispatch_notifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
174
|
+
end
|
|
175
|
+
return data, status_code, headers
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# books the single dispatch notification
|
|
179
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
180
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
181
|
+
# @param [Hash] opts the optional parameters
|
|
182
|
+
# @return [nil]
|
|
183
|
+
def book_dispatch_notification(korona_account_id, dispatch_notification_id, opts = {})
|
|
184
|
+
book_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts)
|
|
185
|
+
nil
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# books the single dispatch notification
|
|
189
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
190
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
191
|
+
# @param [Hash] opts the optional parameters
|
|
192
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
193
|
+
def book_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
|
|
194
|
+
if @api_client.config.debugging
|
|
195
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.book_dispatch_notification ...'
|
|
196
|
+
end
|
|
197
|
+
# verify the required parameter 'korona_account_id' is set
|
|
198
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
199
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.book_dispatch_notification"
|
|
200
|
+
end
|
|
201
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
202
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
203
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.book_dispatch_notification"
|
|
204
|
+
end
|
|
205
|
+
# resource path
|
|
206
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/book'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
|
|
207
|
+
|
|
208
|
+
# query parameters
|
|
209
|
+
query_params = opts[:query_params] || {}
|
|
210
|
+
|
|
211
|
+
# header parameters
|
|
212
|
+
header_params = opts[:header_params] || {}
|
|
213
|
+
# HTTP header 'Accept' (if needed)
|
|
214
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
215
|
+
|
|
216
|
+
# form parameters
|
|
217
|
+
form_params = opts[:form_params] || {}
|
|
218
|
+
|
|
219
|
+
# http body (model)
|
|
220
|
+
post_body = opts[:debug_body]
|
|
221
|
+
|
|
222
|
+
# return_type
|
|
223
|
+
return_type = opts[:debug_return_type]
|
|
224
|
+
|
|
225
|
+
# auth_names
|
|
226
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
227
|
+
|
|
228
|
+
new_options = opts.merge(
|
|
229
|
+
:operation => :"DispatchNotificationsApi.book_dispatch_notification",
|
|
230
|
+
:header_params => header_params,
|
|
231
|
+
:query_params => query_params,
|
|
232
|
+
:form_params => form_params,
|
|
233
|
+
:body => post_body,
|
|
234
|
+
:auth_names => auth_names,
|
|
235
|
+
:return_type => return_type
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
239
|
+
if @api_client.config.debugging
|
|
240
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#book_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
241
|
+
end
|
|
242
|
+
return data, status_code, headers
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# deletes the single dispatch notification
|
|
246
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
247
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
248
|
+
# @param [Hash] opts the optional parameters
|
|
249
|
+
# @return [nil]
|
|
250
|
+
def delete_dispatch_notification(korona_account_id, dispatch_notification_id, opts = {})
|
|
251
|
+
delete_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts)
|
|
252
|
+
nil
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# deletes the single dispatch notification
|
|
256
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
257
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
258
|
+
# @param [Hash] opts the optional parameters
|
|
259
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
260
|
+
def delete_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
|
|
261
|
+
if @api_client.config.debugging
|
|
262
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.delete_dispatch_notification ...'
|
|
263
|
+
end
|
|
264
|
+
# verify the required parameter 'korona_account_id' is set
|
|
265
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
266
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.delete_dispatch_notification"
|
|
267
|
+
end
|
|
268
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
269
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
270
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.delete_dispatch_notification"
|
|
271
|
+
end
|
|
272
|
+
# resource path
|
|
273
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
|
|
274
|
+
|
|
275
|
+
# query parameters
|
|
276
|
+
query_params = opts[:query_params] || {}
|
|
277
|
+
|
|
278
|
+
# header parameters
|
|
279
|
+
header_params = opts[:header_params] || {}
|
|
280
|
+
# HTTP header 'Accept' (if needed)
|
|
281
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
282
|
+
|
|
283
|
+
# form parameters
|
|
284
|
+
form_params = opts[:form_params] || {}
|
|
285
|
+
|
|
286
|
+
# http body (model)
|
|
287
|
+
post_body = opts[:debug_body]
|
|
288
|
+
|
|
289
|
+
# return_type
|
|
290
|
+
return_type = opts[:debug_return_type]
|
|
291
|
+
|
|
292
|
+
# auth_names
|
|
293
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
294
|
+
|
|
295
|
+
new_options = opts.merge(
|
|
296
|
+
:operation => :"DispatchNotificationsApi.delete_dispatch_notification",
|
|
297
|
+
:header_params => header_params,
|
|
298
|
+
:query_params => query_params,
|
|
299
|
+
:form_params => form_params,
|
|
300
|
+
:body => post_body,
|
|
301
|
+
:auth_names => auth_names,
|
|
302
|
+
:return_type => return_type
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
306
|
+
if @api_client.config.debugging
|
|
307
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#delete_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
308
|
+
end
|
|
309
|
+
return data, status_code, headers
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# deletes the single dispatch notification item
|
|
313
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
314
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
315
|
+
# @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
|
|
316
|
+
# @param [Hash] opts the optional parameters
|
|
317
|
+
# @return [nil]
|
|
318
|
+
def delete_dispatch_notification_item(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
|
|
319
|
+
delete_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts)
|
|
320
|
+
nil
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# deletes the single dispatch notification item
|
|
324
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
325
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
326
|
+
# @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
|
|
327
|
+
# @param [Hash] opts the optional parameters
|
|
328
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
329
|
+
def delete_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
|
|
330
|
+
if @api_client.config.debugging
|
|
331
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.delete_dispatch_notification_item ...'
|
|
332
|
+
end
|
|
333
|
+
# verify the required parameter 'korona_account_id' is set
|
|
334
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
335
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.delete_dispatch_notification_item"
|
|
336
|
+
end
|
|
337
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
338
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
339
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.delete_dispatch_notification_item"
|
|
340
|
+
end
|
|
341
|
+
# verify the required parameter 'dispatch_notification_item_id' is set
|
|
342
|
+
if @api_client.config.client_side_validation && dispatch_notification_item_id.nil?
|
|
343
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_item_id' when calling DispatchNotificationsApi.delete_dispatch_notification_item"
|
|
344
|
+
end
|
|
345
|
+
# resource path
|
|
346
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{dispatchNotificationItemId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s)).sub('{' + 'dispatchNotificationItemId' + '}', CGI.escape(dispatch_notification_item_id.to_s))
|
|
347
|
+
|
|
348
|
+
# query parameters
|
|
349
|
+
query_params = opts[:query_params] || {}
|
|
350
|
+
|
|
351
|
+
# header parameters
|
|
352
|
+
header_params = opts[:header_params] || {}
|
|
353
|
+
# HTTP header 'Accept' (if needed)
|
|
354
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
355
|
+
|
|
356
|
+
# form parameters
|
|
357
|
+
form_params = opts[:form_params] || {}
|
|
358
|
+
|
|
359
|
+
# http body (model)
|
|
360
|
+
post_body = opts[:debug_body]
|
|
361
|
+
|
|
362
|
+
# return_type
|
|
363
|
+
return_type = opts[:debug_return_type]
|
|
364
|
+
|
|
365
|
+
# auth_names
|
|
366
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
367
|
+
|
|
368
|
+
new_options = opts.merge(
|
|
369
|
+
:operation => :"DispatchNotificationsApi.delete_dispatch_notification_item",
|
|
370
|
+
:header_params => header_params,
|
|
371
|
+
:query_params => query_params,
|
|
372
|
+
:form_params => form_params,
|
|
373
|
+
:body => post_body,
|
|
374
|
+
:auth_names => auth_names,
|
|
375
|
+
:return_type => return_type
|
|
376
|
+
)
|
|
377
|
+
|
|
378
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
379
|
+
if @api_client.config.debugging
|
|
380
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#delete_dispatch_notification_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
381
|
+
end
|
|
382
|
+
return data, status_code, headers
|
|
383
|
+
end
|
|
384
|
+
|
|
22
385
|
# returns the single dispatch notification
|
|
23
386
|
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
24
387
|
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
@@ -89,21 +452,23 @@ module KoronaCloudClient
|
|
|
89
452
|
# returns the single dispatch notification item
|
|
90
453
|
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
91
454
|
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
92
|
-
# @param
|
|
455
|
+
# @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
|
|
93
456
|
# @param [Hash] opts the optional parameters
|
|
457
|
+
# @option opts [Boolean] :show_import_data when set to true, import data will included in response
|
|
94
458
|
# @return [DispatchNotificationItem]
|
|
95
|
-
def get_dispatch_notification_item(korona_account_id, dispatch_notification_id,
|
|
96
|
-
data, _status_code, _headers = get_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id,
|
|
459
|
+
def get_dispatch_notification_item(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
|
|
460
|
+
data, _status_code, _headers = get_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts)
|
|
97
461
|
data
|
|
98
462
|
end
|
|
99
463
|
|
|
100
464
|
# returns the single dispatch notification item
|
|
101
465
|
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
102
466
|
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
103
|
-
# @param
|
|
467
|
+
# @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
|
|
104
468
|
# @param [Hash] opts the optional parameters
|
|
469
|
+
# @option opts [Boolean] :show_import_data when set to true, import data will included in response
|
|
105
470
|
# @return [Array<(DispatchNotificationItem, Integer, Hash)>] DispatchNotificationItem data, response status code and response headers
|
|
106
|
-
def get_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id,
|
|
471
|
+
def get_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, opts = {})
|
|
107
472
|
if @api_client.config.debugging
|
|
108
473
|
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.get_dispatch_notification_item ...'
|
|
109
474
|
end
|
|
@@ -115,15 +480,16 @@ module KoronaCloudClient
|
|
|
115
480
|
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
116
481
|
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.get_dispatch_notification_item"
|
|
117
482
|
end
|
|
118
|
-
# verify the required parameter '
|
|
119
|
-
if @api_client.config.client_side_validation &&
|
|
120
|
-
fail ArgumentError, "Missing the required parameter '
|
|
483
|
+
# verify the required parameter 'dispatch_notification_item_id' is set
|
|
484
|
+
if @api_client.config.client_side_validation && dispatch_notification_item_id.nil?
|
|
485
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_item_id' when calling DispatchNotificationsApi.get_dispatch_notification_item"
|
|
121
486
|
end
|
|
122
487
|
# resource path
|
|
123
|
-
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{
|
|
488
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{dispatchNotificationItemId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s)).sub('{' + 'dispatchNotificationItemId' + '}', CGI.escape(dispatch_notification_item_id.to_s))
|
|
124
489
|
|
|
125
490
|
# query parameters
|
|
126
491
|
query_params = opts[:query_params] || {}
|
|
492
|
+
query_params[:'showImportData'] = opts[:'show_import_data'] if !opts[:'show_import_data'].nil?
|
|
127
493
|
|
|
128
494
|
# header parameters
|
|
129
495
|
header_params = opts[:header_params] || {}
|
|
@@ -167,6 +533,7 @@ module KoronaCloudClient
|
|
|
167
533
|
# @option opts [Integer] :size amount of objects to return per page
|
|
168
534
|
# @option opts [String] :sort attribute to sort by (multiple separated by comma; max. 5)
|
|
169
535
|
# @option opts [Integer] :revision last revision number, objects with a greater revision than this will be returned
|
|
536
|
+
# @option opts [Boolean] :show_import_data when set to true, import data will included in response
|
|
170
537
|
# @return [ResultListDispatchNotificationItem]
|
|
171
538
|
def get_dispatch_notification_items(korona_account_id, dispatch_notification_id, opts = {})
|
|
172
539
|
data, _status_code, _headers = get_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, opts)
|
|
@@ -181,6 +548,7 @@ module KoronaCloudClient
|
|
|
181
548
|
# @option opts [Integer] :size amount of objects to return per page
|
|
182
549
|
# @option opts [String] :sort attribute to sort by (multiple separated by comma; max. 5)
|
|
183
550
|
# @option opts [Integer] :revision last revision number, objects with a greater revision than this will be returned
|
|
551
|
+
# @option opts [Boolean] :show_import_data when set to true, import data will included in response
|
|
184
552
|
# @return [Array<(ResultListDispatchNotificationItem, Integer, Hash)>] ResultListDispatchNotificationItem data, response status code and response headers
|
|
185
553
|
def get_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, opts = {})
|
|
186
554
|
if @api_client.config.debugging
|
|
@@ -203,6 +571,7 @@ module KoronaCloudClient
|
|
|
203
571
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
204
572
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
205
573
|
query_params[:'revision'] = opts[:'revision'] if !opts[:'revision'].nil?
|
|
574
|
+
query_params[:'showImportData'] = opts[:'show_import_data'] if !opts[:'show_import_data'].nil?
|
|
206
575
|
|
|
207
576
|
# header parameters
|
|
208
577
|
header_params = opts[:header_params] || {}
|
|
@@ -341,5 +710,245 @@ module KoronaCloudClient
|
|
|
341
710
|
end
|
|
342
711
|
return data, status_code, headers
|
|
343
712
|
end
|
|
713
|
+
|
|
714
|
+
# updates the single dispatch notification
|
|
715
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
716
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
717
|
+
# @param body [DispatchNotification] data to update
|
|
718
|
+
# @param [Hash] opts the optional parameters
|
|
719
|
+
# @return [nil]
|
|
720
|
+
def update_dispatch_notification(korona_account_id, dispatch_notification_id, body, opts = {})
|
|
721
|
+
update_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, body, opts)
|
|
722
|
+
nil
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
# updates the single dispatch notification
|
|
726
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
727
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
728
|
+
# @param body [DispatchNotification] data to update
|
|
729
|
+
# @param [Hash] opts the optional parameters
|
|
730
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
731
|
+
def update_dispatch_notification_with_http_info(korona_account_id, dispatch_notification_id, body, opts = {})
|
|
732
|
+
if @api_client.config.debugging
|
|
733
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.update_dispatch_notification ...'
|
|
734
|
+
end
|
|
735
|
+
# verify the required parameter 'korona_account_id' is set
|
|
736
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
737
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.update_dispatch_notification"
|
|
738
|
+
end
|
|
739
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
740
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
741
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.update_dispatch_notification"
|
|
742
|
+
end
|
|
743
|
+
# verify the required parameter 'body' is set
|
|
744
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
745
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.update_dispatch_notification"
|
|
746
|
+
end
|
|
747
|
+
# resource path
|
|
748
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
|
|
749
|
+
|
|
750
|
+
# query parameters
|
|
751
|
+
query_params = opts[:query_params] || {}
|
|
752
|
+
|
|
753
|
+
# header parameters
|
|
754
|
+
header_params = opts[:header_params] || {}
|
|
755
|
+
# HTTP header 'Accept' (if needed)
|
|
756
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
757
|
+
# HTTP header 'Content-Type'
|
|
758
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
759
|
+
if !content_type.nil?
|
|
760
|
+
header_params['Content-Type'] = content_type
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
# form parameters
|
|
764
|
+
form_params = opts[:form_params] || {}
|
|
765
|
+
|
|
766
|
+
# http body (model)
|
|
767
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
768
|
+
|
|
769
|
+
# return_type
|
|
770
|
+
return_type = opts[:debug_return_type]
|
|
771
|
+
|
|
772
|
+
# auth_names
|
|
773
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
774
|
+
|
|
775
|
+
new_options = opts.merge(
|
|
776
|
+
:operation => :"DispatchNotificationsApi.update_dispatch_notification",
|
|
777
|
+
:header_params => header_params,
|
|
778
|
+
:query_params => query_params,
|
|
779
|
+
:form_params => form_params,
|
|
780
|
+
:body => post_body,
|
|
781
|
+
:auth_names => auth_names,
|
|
782
|
+
:return_type => return_type
|
|
783
|
+
)
|
|
784
|
+
|
|
785
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
786
|
+
if @api_client.config.debugging
|
|
787
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#update_dispatch_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
788
|
+
end
|
|
789
|
+
return data, status_code, headers
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
# updates the single dispatch notification item
|
|
793
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
794
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
795
|
+
# @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
|
|
796
|
+
# @param body [DispatchNotificationItem] data to update
|
|
797
|
+
# @param [Hash] opts the optional parameters
|
|
798
|
+
# @return [nil]
|
|
799
|
+
def update_dispatch_notification_item(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, body, opts = {})
|
|
800
|
+
update_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, body, opts)
|
|
801
|
+
nil
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
# updates the single dispatch notification item
|
|
805
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
806
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
807
|
+
# @param dispatch_notification_item_id [String] id of the related object (important: id should match the uuid-format)
|
|
808
|
+
# @param body [DispatchNotificationItem] data to update
|
|
809
|
+
# @param [Hash] opts the optional parameters
|
|
810
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
811
|
+
def update_dispatch_notification_item_with_http_info(korona_account_id, dispatch_notification_id, dispatch_notification_item_id, body, opts = {})
|
|
812
|
+
if @api_client.config.debugging
|
|
813
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.update_dispatch_notification_item ...'
|
|
814
|
+
end
|
|
815
|
+
# verify the required parameter 'korona_account_id' is set
|
|
816
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
817
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.update_dispatch_notification_item"
|
|
818
|
+
end
|
|
819
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
820
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
821
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.update_dispatch_notification_item"
|
|
822
|
+
end
|
|
823
|
+
# verify the required parameter 'dispatch_notification_item_id' is set
|
|
824
|
+
if @api_client.config.client_side_validation && dispatch_notification_item_id.nil?
|
|
825
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_item_id' when calling DispatchNotificationsApi.update_dispatch_notification_item"
|
|
826
|
+
end
|
|
827
|
+
# verify the required parameter 'body' is set
|
|
828
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
829
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.update_dispatch_notification_item"
|
|
830
|
+
end
|
|
831
|
+
# resource path
|
|
832
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items/{dispatchNotificationItemId}'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s)).sub('{' + 'dispatchNotificationItemId' + '}', CGI.escape(dispatch_notification_item_id.to_s))
|
|
833
|
+
|
|
834
|
+
# query parameters
|
|
835
|
+
query_params = opts[:query_params] || {}
|
|
836
|
+
|
|
837
|
+
# header parameters
|
|
838
|
+
header_params = opts[:header_params] || {}
|
|
839
|
+
# HTTP header 'Accept' (if needed)
|
|
840
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
841
|
+
# HTTP header 'Content-Type'
|
|
842
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
843
|
+
if !content_type.nil?
|
|
844
|
+
header_params['Content-Type'] = content_type
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
# form parameters
|
|
848
|
+
form_params = opts[:form_params] || {}
|
|
849
|
+
|
|
850
|
+
# http body (model)
|
|
851
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
852
|
+
|
|
853
|
+
# return_type
|
|
854
|
+
return_type = opts[:debug_return_type]
|
|
855
|
+
|
|
856
|
+
# auth_names
|
|
857
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
858
|
+
|
|
859
|
+
new_options = opts.merge(
|
|
860
|
+
:operation => :"DispatchNotificationsApi.update_dispatch_notification_item",
|
|
861
|
+
:header_params => header_params,
|
|
862
|
+
:query_params => query_params,
|
|
863
|
+
:form_params => form_params,
|
|
864
|
+
:body => post_body,
|
|
865
|
+
:auth_names => auth_names,
|
|
866
|
+
:return_type => return_type
|
|
867
|
+
)
|
|
868
|
+
|
|
869
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
870
|
+
if @api_client.config.debugging
|
|
871
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#update_dispatch_notification_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
872
|
+
end
|
|
873
|
+
return data, status_code, headers
|
|
874
|
+
end
|
|
875
|
+
|
|
876
|
+
# updates dispatch notification items
|
|
877
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
878
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
879
|
+
# @param body [Array<DispatchNotificationItem>] data to update
|
|
880
|
+
# @param [Hash] opts the optional parameters
|
|
881
|
+
# @return [Array<AddOrUpdateResult>]
|
|
882
|
+
def update_dispatch_notification_items(korona_account_id, dispatch_notification_id, body, opts = {})
|
|
883
|
+
data, _status_code, _headers = update_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts)
|
|
884
|
+
data
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
# updates dispatch notification items
|
|
888
|
+
# @param korona_account_id [String] account id of the KORONA.cloud account
|
|
889
|
+
# @param dispatch_notification_id [String] id of the related object (important: id should match the uuid-format)
|
|
890
|
+
# @param body [Array<DispatchNotificationItem>] data to update
|
|
891
|
+
# @param [Hash] opts the optional parameters
|
|
892
|
+
# @return [Array<(Array<AddOrUpdateResult>, Integer, Hash)>] Array<AddOrUpdateResult> data, response status code and response headers
|
|
893
|
+
def update_dispatch_notification_items_with_http_info(korona_account_id, dispatch_notification_id, body, opts = {})
|
|
894
|
+
if @api_client.config.debugging
|
|
895
|
+
@api_client.config.logger.debug 'Calling API: DispatchNotificationsApi.update_dispatch_notification_items ...'
|
|
896
|
+
end
|
|
897
|
+
# verify the required parameter 'korona_account_id' is set
|
|
898
|
+
if @api_client.config.client_side_validation && korona_account_id.nil?
|
|
899
|
+
fail ArgumentError, "Missing the required parameter 'korona_account_id' when calling DispatchNotificationsApi.update_dispatch_notification_items"
|
|
900
|
+
end
|
|
901
|
+
# verify the required parameter 'dispatch_notification_id' is set
|
|
902
|
+
if @api_client.config.client_side_validation && dispatch_notification_id.nil?
|
|
903
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_notification_id' when calling DispatchNotificationsApi.update_dispatch_notification_items"
|
|
904
|
+
end
|
|
905
|
+
# verify the required parameter 'body' is set
|
|
906
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
907
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DispatchNotificationsApi.update_dispatch_notification_items"
|
|
908
|
+
end
|
|
909
|
+
# resource path
|
|
910
|
+
local_var_path = '/accounts/{koronaAccountId}/dispatchNotifications/{dispatchNotificationId}/items'.sub('{' + 'koronaAccountId' + '}', CGI.escape(korona_account_id.to_s)).sub('{' + 'dispatchNotificationId' + '}', CGI.escape(dispatch_notification_id.to_s))
|
|
911
|
+
|
|
912
|
+
# query parameters
|
|
913
|
+
query_params = opts[:query_params] || {}
|
|
914
|
+
|
|
915
|
+
# header parameters
|
|
916
|
+
header_params = opts[:header_params] || {}
|
|
917
|
+
# HTTP header 'Accept' (if needed)
|
|
918
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
919
|
+
# HTTP header 'Content-Type'
|
|
920
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
921
|
+
if !content_type.nil?
|
|
922
|
+
header_params['Content-Type'] = content_type
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
# form parameters
|
|
926
|
+
form_params = opts[:form_params] || {}
|
|
927
|
+
|
|
928
|
+
# http body (model)
|
|
929
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
930
|
+
|
|
931
|
+
# return_type
|
|
932
|
+
return_type = opts[:debug_return_type] || 'Array<AddOrUpdateResult>'
|
|
933
|
+
|
|
934
|
+
# auth_names
|
|
935
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
936
|
+
|
|
937
|
+
new_options = opts.merge(
|
|
938
|
+
:operation => :"DispatchNotificationsApi.update_dispatch_notification_items",
|
|
939
|
+
:header_params => header_params,
|
|
940
|
+
:query_params => query_params,
|
|
941
|
+
:form_params => form_params,
|
|
942
|
+
:body => post_body,
|
|
943
|
+
:auth_names => auth_names,
|
|
944
|
+
:return_type => return_type
|
|
945
|
+
)
|
|
946
|
+
|
|
947
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
948
|
+
if @api_client.config.debugging
|
|
949
|
+
@api_client.config.logger.debug "API called: DispatchNotificationsApi#update_dispatch_notification_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
950
|
+
end
|
|
951
|
+
return data, status_code, headers
|
|
952
|
+
end
|
|
344
953
|
end
|
|
345
954
|
end
|