{"version":3,"file":"index-8c1aba69.js","sources":["../../src/store/index.ts","../../src/utils/dateTime.ts","../../src/components/common/RDPImage/RDPImage.vue","../../src/components/common/RDPImage/RDPImage.vue","../../src/config/config.ts","../../src/i18n.ts","../../src/components/userAccount/helper/customerCardHelper.ts","../../src/api/core/ApiError.ts","../../src/api/core/CancelablePromise.ts","../../src/api/core/OpenAPI.ts","../../src/api/models/AddEWalletTransactionCommand.ts","../../src/api/models/CancelTicketCommand.ts","../../src/api/models/CardProductionQuery.ts","../../src/api/models/CounterOrderDetailDto.ts","../../src/api/models/CounterOrderDto.ts","../../src/api/models/CounterOrderQuery.ts","../../src/api/models/CreateCardApplicationCommand.ts","../../src/api/models/CreateCustomerCommand.ts","../../src/api/models/CreateCustomerProfileCommand.ts","../../src/api/models/CreateEetProductionVerificationRequestCommand.ts","../../src/api/models/CreateStockDocumentCommand.ts","../../src/api/models/CreateTariffProfileCommand.ts","../../src/api/models/CreateTicketCombinationCommand.ts","../../src/api/models/CreateVehicleBankCardTokenCommand.ts","../../src/api/models/CreateVehicleTransactionCommand.ts","../../src/api/models/CreateZoneCommand.ts","../../src/api/models/CsobPaymentVm.ts","../../src/api/models/CustomerAccountLinkQuery.ts","../../src/api/models/CustomerCardDetailVm.ts","../../src/api/models/CustomerCardInfoVm.ts","../../src/api/models/CustomerCardQuery.ts","../../src/api/models/CustomerCardSendCreateDto.ts","../../src/api/models/CustomerProfileQuery.ts","../../src/api/models/EetSentItemsDto.ts","../../src/api/models/EmployeeCardQuery.ts","../../src/api/models/EnumsDto.ts","../../src/api/models/EshopOrderQuery.ts","../../src/api/models/EshopReclamationQuery.ts","../../src/api/models/EvaluateReclamationCommand.ts","../../src/api/models/EWalletTransactionMetadataVm.ts","../../src/api/models/GpPaymentVm.ts","../../src/api/models/HealthCheckResponse.ts","../../src/api/models/MessageDto.ts","../../src/api/models/OldPendingEshopOrdersQuery.ts","../../src/api/models/OrderItemDto.ts","../../src/api/models/PaymentStatus.ts","../../src/api/models/PayShortTermTicketsByWalletCommand.ts","../../src/api/models/PortableCardDetailVm.ts","../../src/api/models/PortableCardQuery.ts","../../src/api/models/PseudonymizedCustomerCardVm.ts","../../src/api/models/ReclamationCardDetailVm.ts","../../src/api/models/ReclamationCardQuery.ts","../../src/api/models/ReclamationQuery.ts","../../src/api/models/SaveReclamationCommand.ts","../../src/api/models/ShoppingCartItemVm.ts","../../src/api/models/StockTransactionQuery.ts","../../src/api/models/SystemEshopOrderQuery.ts","../../src/api/models/TariffProfileQuery.ts","../../src/api/models/TicketCombinationQuery.ts","../../src/api/models/TicketStateListQuery.ts","../../src/api/models/TicketStateVm.ts","../../src/api/models/UpdateEshopReclamationCommand.ts","../../src/api/models/UpdatePortableCardCommand.ts","../../src/api/models/UpdateReclamationCardCommand.ts","../../src/api/models/UpdateSystemEshopOrderCommand.ts","../../src/api/models/UpdateVehicleBankCardTokenCommand.ts","../../src/api/models/UpdateZoneCommand.ts","../../src/api/models/VehicleBankCardTokenDto.ts","../../src/api/models/VehicleBankCardTokenQuery.ts","../../src/api/models/VehicleTransactionQuery.ts","../../src/api/models/ZoneDto.ts","../../src/api/models/ZoneQuery.ts","../../src/api/models/ZoneSendCreateDto.ts","../../src/api/models/ZoneSyncDto.ts","../../src/api/core/request.ts","../../src/api/services/BankCardService.ts","../../src/api/services/BranchOfficeService.ts","../../src/api/services/CardApplicationStateService.ts","../../src/api/services/CardStateService.ts","../../src/api/services/CarrierTypesService.ts","../../src/api/services/CustomerAccountService.ts","../../src/api/services/CustomerAccountNotificationService.ts","../../src/api/services/CustomerProfileService.ts","../../src/api/services/EshopAuthService.ts","../../src/api/services/EshopCardApplicationService.ts","../../src/api/services/EshopCustomerService.ts","../../src/api/services/EshopCustomerAccountLinkService.ts","../../src/api/services/EshopCustomerCardService.ts","../../src/api/services/EshopElectronicWalletTransactionService.ts","../../src/api/services/EshopGlobalSettingService.ts","../../src/api/services/EshopOrderService.ts","../../src/api/services/EshopOrderStateService.ts","../../src/api/services/EshopReclamationService.ts","../../src/api/services/EshopShoppingCartService.ts","../../src/api/services/PaymentService.ts","../../src/api/services/PriceListService.ts","../../src/api/services/SystemConfigurationService.ts","../../src/api/services/TariffProfileService.ts","../../src/api/services/TicketCombinationService.ts","../../src/api/services/TicketFareStateService.ts","../../src/api/services/ZoneService.ts","../../src/constants/AccountTypes.ts","../../src/store/modules/userAccount.ts","../../src/store/modules/customer.ts","../../src/constants/Date.ts","../../src/filters.ts","../../src/components/common/ComponentBase.ts","../../src/constants/Paths.ts","../../src/constants/PaymentGatewayTypes.ts","../../src/store/modules/systemConfiguration.ts","../../src/components/common/RDPCustomerDetail/RDPCustomerDetailAbstract.ts","../../src/utils/customerCard.ts","../../src/components/common/RDPCustomerDetail/CustomerMainPersonalInfo.vue","../../src/components/common/RDPCustomerDetail/CustomerMainPersonalInfo.vue","../../src/components/common/RDPCustomerDetail/CustomerPersonalInfo.vue","../../src/components/common/RDPCustomerDetail/CustomerPersonalInfo.vue","../../src/components/common/RDPCustomerDetail/EWalletInfo.vue","../../src/components/common/RDPCustomerDetail/EWalletInfo.vue","../../src/store/modules/locale.ts","../../src/constants/Errors.ts","../../src/utils/toast.ts","../../src/constants/Toast.ts","../../src/store/modules/toast.ts","../../src/utils/i18n.ts","../../src/components/common/RDPCustomerDetail/ProfileValidityInfo.vue","../../src/components/common/RDPCustomerDetail/ProfileValidityInfo.vue","../../src/components/common/RDPCustomerDetail/RDPCustomerDetail.vue","../../src/components/common/RDPCustomerDetail/RDPCustomerDetail.vue","../../src/components/common/RDPConfirmButton.vue","../../src/components/common/RDPConfirmButton.vue","../../src/utils/removeEmptyQuery.ts","../../src/utils/api.ts","../../src/services/api/shoppingCartService.ts","../../src/utils/ticketFare.ts","../../src/services/api/accountService.ts","../../src/store/modules/shoppingCart.ts","../../src/utils/validators.ts","../../src/constants/Address.ts","../../src/constants/BranchOffice.ts","../../src/constants/GlobalSettting.ts","../../src/store/modules/globalSetting.ts","../../src/utils/customerProfileValidToDefault.ts","../../src/store/modules/cardApplication.ts","../../src/store/modules/customerProfile.ts","../../src/constants/Image.ts","../../src/components/common/RDPCropper/RDPCropper.vue","../../src/components/common/RDPCropper/RDPCropper.vue","../../src/constants/Table.ts","../../src/services/api/customerProfileService.ts","../../src/components/cardApplication/customerUniqueCheckType.ts","../../src/components/cardApplication/cardApplicationDialogType.ts","../../src/components/cardApplication/dialogSteps/PersonalDataForm.vue","../../src/components/cardApplication/dialogSteps/PersonalDataForm.vue","../../src/services/api/globalSettingService.ts","../../src/constants/DeliveryTypes.ts","../../src/services/api/branchOfficeService.ts","../../src/store/modules/branchOffice.ts","../../src/api-custom/services/CustomEshopCardApplicationService.ts","../../src/services/api/cardApplicationService.ts","../../src/constants/MenuType.ts","../../src/components/common/RDPDatePicker/RDPDatePicker.vue","../../src/components/common/RDPDatePicker/RDPDatePicker.vue","../../src/utils/customerProfile.ts","../../src/components/cardApplication/dialogSteps/components/SimpleProfileComponent.vue","../../src/components/cardApplication/dialogSteps/components/SimpleProfileComponent.vue","../../src/services/api/customerService.ts","../../src/components/cardApplication/dialogSteps/components/AdvancedProfileComponent.vue","../../src/components/cardApplication/dialogSteps/components/AdvancedProfileComponent.vue","../../src/services/api/bankCardService.ts","../../src/utils/getFormattedAddress.ts","../../src/components/cardApplication/dialogSteps/CardDataForm.vue","../../src/components/cardApplication/dialogSteps/CardDataForm.vue","../../src/utils/imageStringToBase64.ts","../../src/components/cardApplication/mappers/customerMapper.ts","../../src/components/cardApplication/mappers/cardApplicationProfileMapper.ts","../../src/components/cardApplication/mappers/cardApplicationMapper.ts","../../src/components/cardApplication/dialogSteps/SummaryForm.vue","../../src/components/cardApplication/dialogSteps/SummaryForm.vue","../../src/components/cardApplication/dialogSteps/CustodianForm.vue","../../src/components/cardApplication/dialogSteps/CustodianForm.vue","../../src/components/common/RDPSpinner.vue","../../src/components/common/RDPSpinner.vue","../../src/utils/tokenizationRequest.ts","../../src/components/cardApplication/CardApplicationStepperDialog.vue","../../src/components/cardApplication/CardApplicationStepperDialog.vue","../../src/constants/gpInitPaymentDataNames.ts","../../src/services/api/eshopOrderService.ts","../../src/components/userAccount/dialogs/CustomerDetailForDialog.vue","../../src/components/userAccount/dialogs/CustomerDetailForDialog.vue","../../src/components/userAccount/dialogs/EWalletDialog.vue","../../src/components/userAccount/dialogs/EWalletDialog.vue","../../src/services/api/ticketCombinationService.ts","../../src/services/api/tariffProfileService.ts","../../src/services/api/priceListService.ts","../../src/components/common/RDPCustomerDetail/ProfileValidityInfoLight.vue","../../src/components/common/RDPCustomerDetail/ProfileValidityInfoLight.vue","../../src/utils/tariffProfile.ts","../../src/services/api/zoneService.ts","../../src/components/userAccount/dialogs/TicketFareDialog.vue","../../src/components/userAccount/dialogs/TicketFareDialog.vue","../../src/models/ConectAccountTypeDialog.ts","../../src/components/userAccount/dialogs/ConnectAccountDialog.vue","../../src/components/userAccount/dialogs/ConnectAccountDialog.vue","../../src/components/userAccount/dialogs/PakTransferDialog.vue","../../src/components/userAccount/dialogs/PakTransferDialog.vue","../../src/components/common/RDPCustomerDetail/RDPCustomerDetailXsOnly.vue","../../src/components/common/RDPCustomerDetail/RDPCustomerDetailXsOnly.vue","../../src/constants/Module.ts","../../src/utils/module.ts","../../src/components/userAccount/CreateCardApplicationButton.vue","../../src/components/userAccount/CreateCardApplicationButton.vue","../../src/components/common/RDPConfirmDialog.vue","../../src/components/common/RDPConfirmDialog.vue","../../src/components/userAccount/mappers/AssignCustodianMapper.ts","../../src/components/userAccount/dialogs/AssignCustodianDialog.vue","../../src/components/userAccount/dialogs/AssignCustodianDialog.vue","../../src/services/api/reclamationService.ts","../../src/components/userAccount/dialogs/ReclamationDialog.vue","../../src/components/userAccount/dialogs/ReclamationDialog.vue","../../src/mappers/customerMapper.ts","../../src/components/userAccount/dialogs/PersonalInfoDialog.vue","../../src/components/userAccount/dialogs/PersonalInfoDialog.vue","../../src/components/userAccount/CustomerDetail.vue","../../src/components/userAccount/CustomerDetail.vue","../../src/services/api/electronicWalletTransactionService.ts","../../src/components/common/RDPDataTable/DataTableHelper.ts","../../src/components/common/RDPDataTable/RDPDataTable.vue","../../src/components/common/RDPDataTable/RDPDataTable.vue","../../src/constants/Constants.ts","../../src/components/userAccount/tabs/EWalletTab.vue","../../src/components/userAccount/tabs/EWalletTab.vue","../../src/services/api/ticketFareStateService.ts","../../src/components/userAccount/tabs/TicketFareTab.vue","../../src/components/userAccount/tabs/TicketFareTab.vue","../../src/services/api/customerCardService.ts","../../src/services/api/cardStateService.ts","../../src/components/userAccount/dialogs/MarketingConsentDialog.vue","../../src/components/userAccount/dialogs/MarketingConsentDialog.vue","../../src/components/userAccount/tabs/ChipCardTab.vue","../../src/components/userAccount/tabs/ChipCardTab.vue","../../src/services/api/cardApplicationStateService.ts","../../src/services/api/carrierTypeService.ts","../../src/components/userAccount/tabs/CardApplicationTab.vue","../../src/components/userAccount/tabs/CardApplicationTab.vue","../../src/pages/UserAccountPage.vue","../../src/pages/UserAccountPage.vue","../../src/constants/PageTitleI18nKeys.ts","../../src/components/layout/LogoutButton.vue","../../src/components/layout/LogoutButton.vue","../../src/components/layout/LeftMenu.vue","../../src/components/layout/LeftMenu.vue","../../src/assets/locales/cs.svg?url","../../src/assets/locales/en.svg?url","../../src/assets/locales/pl.svg?url","../../src/assets/locales/ro.svg?url","../../src/assets/locales/sk.svg?url","../../src/components/layout/FooterLinks.vue","../../src/components/layout/FooterLinks.vue","../../src/components/shoppingCartIcon/ShoppingCartIcon.vue","../../src/components/shoppingCartIcon/ShoppingCartIcon.vue","../../src/assets/dpb/logo.svg?url","../../src/assets/dpmlb/logo.svg?url","../../src/assets/dpmo/logo.svg?url","../../src/assets/dpmp/logo.svg?url","../../src/assets/nitra/logo.svg?url","../../src/assets/poland/logo.svg?url","../../src/assets/ruzomberok/logo.svg?url","../../src/assets/trencin/logo.svg?url","../../src/assets/viseudesus/logo.png?url","../../src/assets/dpb/logo_homepage.svg?url","../../src/assets/dpmlb/logo_homepage.svg?url","../../src/assets/dpmo/logo_homepage.svg?url","../../src/assets/dpmp/logo_homepage.svg?url","../../src/assets/nitra/logo_homepage.svg?url","../../src/assets/poland/logo_homepage.svg?url","../../src/assets/ruzomberok/logo_homepage.svg?url","../../src/assets/trencin/logo_homepage.svg?url","../../src/assets/viseudesus/logo_homepage.png?url","../../src/constants/Logo.ts","../../src/layouts/AppLayout.vue","../../src/layouts/AppLayout.vue","../../src/pages/TicketFarePage.vue","../../src/pages/TicketFarePage.vue","../../src/pages/ElectronicWalletPage.vue","../../src/pages/ElectronicWalletPage.vue","../../src/components/shopingCart/dialogs/ConfirmCancelApplicationItemDialog.vue","../../src/components/shopingCart/dialogs/ConfirmCancelApplicationItemDialog.vue","../../src/utils/orderItem.ts","../../src/components/shopingCart/ShoppingCartTable.vue","../../src/components/shopingCart/ShoppingCartTable.vue","../../src/services/api/paymentService.ts","../../src/pages/ShoppingCartPage.vue","../../src/pages/ShoppingCartPage.vue","../../src/services/api/authService.ts","../../src/services/api/systemConfigurationService.ts","../../src/utils/systemConfiguration.ts","../../src/components/login/LoginForm.vue","../../src/components/login/LoginForm.vue","../../src/components/common/RDPHomePageLogo.vue","../../src/components/common/RDPHomePageLogo.vue","../../src/pages/LoginPage.vue","../../src/pages/LoginPage.vue","../../src/components/registration/RegistrationForm.vue","../../src/components/registration/RegistrationForm.vue","../../src/pages/RegistrationPage.vue","../../src/pages/RegistrationPage.vue","../../src/pages/ForgottenPasswordPage.vue","../../src/pages/ForgottenPasswordPage.vue","../../src/pages/VerificationCodePage.vue","../../src/pages/VerificationCodePage.vue","../../src/pages/ChangePasswordPage.vue","../../src/pages/ChangePasswordPage.vue","../../src/pages/VerifyPage.vue","../../src/pages/VerifyPage.vue","../../src/services/api/eshopOrderStateService.ts","../../src/pages/OrderListPage.vue","../../src/pages/OrderListPage.vue","../../src/services/api/customerAccountLinkService.ts","../../src/utils/customer.ts","../../src/pages/AssignedCardListPage.vue","../../src/pages/AssignedCardListPage.vue","../../src/pages/UserLinkedAccountPage.vue","../../src/pages/UserLinkedAccountPage.vue","../../src/components/managedCard/MergeCustomersDialog.vue","../../src/components/managedCard/MergeCustomersDialog.vue","../../src/pages/ManagedCardListPage.vue","../../src/pages/ManagedCardListPage.vue","../../src/components/cardManaging/dialogs/ManageCardRequestDialog.vue","../../src/components/cardManaging/dialogs/ManageCardRequestDialog.vue","../../src/pages/CardManagingAccountListPage.vue","../../src/pages/CardManagingAccountListPage.vue","../../src/pages/ApproveManagedCardPage.vue","../../src/pages/ApproveManagedCardPage.vue","../../src/pages/RejectCardManageRequestPage.vue","../../src/pages/RejectCardManageRequestPage.vue","../../src/services/api/notificationService.ts","../../src/constants/NotificationTypes.ts","../../src/pages/NotificationSettingPage.vue","../../src/pages/NotificationSettingPage.vue","../../src/components/accountSetting/dialogs/ChangePasswordDialog.vue","../../src/components/accountSetting/dialogs/ChangePasswordDialog.vue","../../src/pages/AccountSettingPage.vue","../../src/pages/AccountSettingPage.vue","../../src/router/index.ts","../../src/store/modules/auth.ts","../../src/components/common/RDPToast.vue","../../src/App.vue","../../src/App.vue","../../src/components/dpmp/icons/TicketFareIcon.vue","../../src/components/dpmp/icons/TicketFareIcon.vue","../../src/components/dpmp/icons/CardManagingAccountIcon.vue","../../src/components/dpmp/icons/CardManagingAccountIcon.vue","../../src/components/dpmp/icons/ElectronicWalletIcon.vue","../../src/components/dpmp/icons/ElectronicWalletIcon.vue","../../src/components/dpmp/icons/ShoppingCartTopIcon.vue","../../src/components/dpmp/icons/ShoppingCartTopIcon.vue","../../src/components/dpmp/icons/UserAccountIcon.vue","../../src/components/dpmp/icons/UserAccountIcon.vue","../../src/components/dpmp/icons/UserAccountTopIcon.vue","../../src/components/dpmp/icons/UserAccountTopIcon.vue","../../src/components/dpmp/icons/OrderListIcon.vue","../../src/components/dpmp/icons/OrderListIcon.vue","../../src/components/dpmp/icons/ChipCardIcon.vue","../../src/components/dpmp/icons/ChipCardIcon.vue","../../src/components/dpmp/icons/AssignedCardListIcon.vue","../../src/components/dpmp/icons/AssignedCardListIcon.vue","../../src/components/dpmp/icons/ManagedCardListIcon.vue","../../src/components/dpmp/icons/ManagedCardListIcon.vue","../../src/components/dpmp/icons/CardApplicationListIcon.vue","../../src/components/dpmp/icons/CardApplicationListIcon.vue","../../src/components/dpmp/icons/PakTransferIcon.vue","../../src/components/dpmp/icons/PakTransferIcon.vue","../../src/components/dpmp/icons/NewCardApplicationIcon.vue","../../src/components/dpmp/icons/NewCardApplicationIcon.vue","../../src/components/dpmp/icons/AssignCardIcon.vue","../../src/components/dpmp/icons/AssignCardIcon.vue","../../src/components/dpmp/icons/PayByCardIcon.vue","../../src/components/dpmp/icons/PayByCardIcon.vue","../../src/components/dpmp/icons/PayByInvoiceIcon.vue","../../src/components/dpmp/icons/PayByInvoiceIcon.vue","../../src/components/dpmp/icons/CancelAllIcon.vue","../../src/components/dpmp/icons/CancelAllIcon.vue","../../src/components/dpmp/icons/ManageCardRequestIcon.vue","../../src/components/dpmp/icons/ManageCardRequestIcon.vue","../../src/components/dpmp/icons/LogoutIcon.vue","../../src/components/dpmp/icons/LogoutIcon.vue","../../src/components/dpmp/icons/LoginIcon.vue","../../src/components/dpmp/icons/LoginIcon.vue","../../src/components/dpmp/icons/RegistrationSendIcon.vue","../../src/components/dpmp/icons/RegistrationSendIcon.vue","../../src/components/dpmp/icons/NotificationSettingIcon.vue","../../src/components/dpmp/icons/NotificationSettingIcon.vue","../../src/themes/dpmp/icons.ts","../../src/themes/dpmp/colors.ts","../../src/themes/nitra/colors.ts","../../src/themes/trencin/colors.ts","../../src/themes/ruzomberok/colors.ts","../../src/themes/dpb/colors.ts","../../src/themes/poland/colors.ts","../../src/themes/viseudesus/colors.ts","../../src/themes/dpmo/colors.ts","../../src/themes/dpmlb/colors.ts","../../src/themes/theme.ts","../../src/plugins/vuetify.ts","../../src/models/ApiClientError.ts","../../src/main.ts"],"sourcesContent":["import { createStore } from 'vuex';\nimport VuexPersistence from 'vuex-persist';\n\nconst vuexLocal = new VuexPersistence({\n storage: window.localStorage,\n});\n\nconst store = createStore({\n state: {},\n plugins: [vuexLocal.plugin],\n});\n\nexport default store;\n","import isDefined from '@common/utils/isDefined';\nimport {\n addDays,\n differenceInDays,\n endOfDay,\n endOfMonth,\n format,\n isAfter,\n isValid,\n isWithinInterval,\n parse,\n startOfDay,\n} from 'date-fns';\n\nexport const DATE_PICKER_FORMAT = 'dd.MM.yyyy';\nexport const DATE_BIRTHDAY_FORMAT = 'd.M.yyyy';\nexport const MONTH_PICKER_FORMAT = 'MM/yyyy';\nexport const DATE_FORMAT = 'yyyy-MM-dd';\nexport const DATE_FIRST_DAY_FORMAT = 'yyyy-MM-01';\nexport const MONTH_FORMAT = 'yyyy-MM';\nexport const YEAR_FORMAT = 'yyyy';\nexport const DATE_TIME_FORMAT = 'dd.MM.yyyy HH:mm';\nexport const MIN_DAY_OF_BIRTHDAY = '1900-01-01';\nexport const DATE_WITH_TIMEZONE_OFFSET = \"yyyy-MM-dd'T'HH:mm:ssxxx\";\n\n/**\n * Format date with timezone offset.\n * E.g.: 2013-03-01T00:00:00+01:00\n * @param date\n */\nexport const toDateTimeOffset = (date: Date | string): string => {\n return format(date, DATE_WITH_TIMEZONE_OFFSET);\n};\n\n/**\n * Format date without time part.\n * @param date\n * @param format\n */\nexport const toDate = (date: Date | string, dateFormat?: string): string => {\n if (dateFormat) {\n return format(parse(date.toString(), dateFormat, new Date()), DATE_FORMAT);\n }\n return format(date, DATE_FORMAT);\n};\n\n/**\n * Format date to the first day of month.\n * @param date\n */\nexport const toMonth = (date: Date | string): string => {\n return format(date, DATE_FIRST_DAY_FORMAT);\n};\n\n/**\n * Get client timezone offset in minutes.\n * E.g.: if +02:00 then returns 120 minutes.\n * @param date\n */\nexport const getTimezoneOffset = (date: Date | string): number => {\n // Need to be reversed, +02:00 returns diff from UTC so -120.\n return -new Date(date).getTimezoneOffset();\n};\n/**\n * Get end of month\n *\n * @param date\n */\nexport const toEndOfMonth = (date: Date | string): string => {\n return format(endOfMonth(date), DATE_FORMAT);\n};\n\n/**\n * Checks validFrom and validTo and returns false if validFrom is after validTo, otherwise returns true\n *\n * @param validFrom\n * @param validTo\n */\nexport const checkValidityDates = (validFrom: Date | string, validTo: Date | string): boolean => {\n return !(validFrom && validTo && isAfter(validFrom, validTo));\n};\n\n/**\n * Format date for date picker, etc.\n * E.g.: 31.03.2020\n * @param date\n */\nexport const formatDate = (date: string | Date): string => {\n return date ? format(date, DATE_PICKER_FORMAT) : '';\n};\n\n/**\n * Format date time.\n * E.g.: 31.03.2020 13:45\n * @param date\n */\nexport const formatDateTime = (date: string | Date): string => {\n return format(date, DATE_TIME_FORMAT);\n};\n\n/**\n * Returns number of days between two dates including the start day\n *\n * @param {Date} start\n * @param {Date} end\n * @param options\n * @returns {number}\n */\nexport const getDaysDiffBetweenDates = (start: Date | string, end: Date | string, options = { includeStart: true }) => {\n return differenceInDays(startOfDay(end), startOfDay(start)) + (options.includeStart ? 1 : 0);\n};\n\n/**\n * Filter active or future records.\n * @param validTo\n */\nexport const filterActiveOrFuture = (validTo: string | Date) => {\n return differenceInDays(startOfDay(validTo), startOfDay(new Date())) >= 0;\n};\n\nexport const isDateValid = (day: number | string | undefined, month: number | string | undefined) => {\n const DEFAULT_YEAR = 2000;\n return isValid(parse(`${day}.${month}.${DEFAULT_YEAR}`, DATE_PICKER_FORMAT, new Date()));\n};\n\n/**\n * Check if dateOne is invalid.\n * @param dateOne\n * @param dateTwo\n */\nexport const isDateOneAfterDateTwo = (dateOne?: string | Date, dateTwo?: string | Date): boolean => {\n if (!dateOne || !dateTwo) {\n return false;\n }\n\n return isAfter(startOfDay(dateOne), startOfDay(dateTwo));\n};\n\n/**\n * Check if dateOne is same or after dateTwo.\n * @param dateOne\n * @param dateTwo\n */\nexport const isDateOneSameOrAfterDateTwo = (dateOne?: string | Date, dateTwo?: string | Date): boolean => {\n if (!dateOne || !dateTwo) {\n return false;\n }\n\n return differenceInDays(startOfDay(dateOne), startOfDay(dateTwo)) >= 0;\n};\n\n/**\n * Check if dateOne is same or before dateTwo.\n * @param dateOne\n * @param dateTwo\n */\nexport const isDateOneSameOrBeforeDateTwo = (dateOne?: string | Date, dateTwo?: string | Date): boolean => {\n if (!dateOne || !dateTwo) {\n return false;\n }\n\n return differenceInDays(startOfDay(dateOne), startOfDay(dateTwo)) <= 0;\n};\n\n/**\n * Check if date is between given date range.\n * @param date\n * @param validFrom\n * @param validTo\n */\nexport const isBetween = (date: string | Date, validFrom?: string | Date, validTo?: string | Date): boolean => {\n if (isDefined(validFrom as string) && isDefined(validTo as string) && validTo && validFrom) {\n return isWithinInterval(date, { start: startOfDay(validFrom), end: endOfDay(validTo) });\n }\n\n if (!isDefined(validFrom as string) && validTo) {\n return differenceInDays(startOfDay(date), startOfDay(validTo)) <= 0;\n }\n\n if (!isDefined(validTo as string)) {\n return isDateOneSameOrAfterDateTwo(date, validFrom);\n }\n\n return true;\n};\n\n/**\n * Get tomorrow.\n */\nexport const getTomorrow = (): Date => {\n const tomorrow = new Date();\n tomorrow.setDate(tomorrow.getDate() + 1);\n return tomorrow;\n};\n\nexport const getDateAfterDays = (date: string | Date, amount: number): string => {\n return format(addDays(date, amount), DATE_FORMAT);\n};\n\n/**\n * Returns earlier date of the two dates\n * @param dateOne\n * @param dateTwo\n */\nexport const getEarlierDate = (dateOne: string, dateTwo: string): string | Date => {\n if (!isDefined(dateOne)) {\n return dateTwo;\n }\n\n if (!isDefined(dateTwo)) {\n return dateOne;\n }\n return isDateOneAfterDateTwo(dateOne, dateTwo) ? dateTwo : dateOne;\n};\n\n/**\n * Returns later date of the two dates\n * @param dateOne\n * @param dateTwo\n */\nexport const getLaterDate = (dateOne: string, dateTwo: string): string | Date => {\n if (!isDefined(dateOne)) {\n return dateTwo;\n }\n\n if (!isDefined(dateTwo)) {\n return dateOne;\n }\n\n return isDateOneAfterDateTwo(dateOne, dateTwo) ? dateOne : dateTwo;\n};\n\n/**\n * convert date-fns date format to moment date format\n */\nexport const toMomentDateFormat = (dateFnsDateFormat: string) => {\n return dateFnsDateFormat.replaceAll('d', 'D').replaceAll('y', 'Y');\n};\n\nexport const convertTimeToString = (timeInMiliseconds: number) => {\n const totalSeconds = Math.floor(timeInMiliseconds / 1000);\n const hours = String(Math.floor(totalSeconds / 3600)).padStart(2, '0');\n const minutes = String(Math.floor((totalSeconds % 3600) / 60)).padStart(2, '0');\n const seconds = String(totalSeconds % 60).padStart(2, '0');\n return `${hours}:${minutes}:${seconds}`;\n};\n\nexport const getRemainingTime = (expirationTime: number) => {\n const currentTime = Date.now();\n return expirationTime - currentTime;\n};\n","\n\n\n\n","\n\n\n\n","export const SERVER_URL: string | undefined = import.meta.env.VITE_APP_SERVER_URL;\n\nexport const PAYMENT_CSOB_GATEWAY_BASE_URL: string | undefined = import.meta.env.VITE_APP_PAYMENT_CSOB_GATEWAY_BASE_URL;\n\nexport const PAYMENT_GP_GATEWAY_BASE_URL: string = import.meta.env.VITE_APP_PAYMENT_GP_GATEWAY_BASE_URL;\n\n// see https://vuetifyjs.com/en/features/breakpoints/ and vuetify.ts\nexport const DISPLAY_BREAKPOINT_XS: number | undefined = import.meta.env.VITE_APP_DISPLAY_BREAKPOINT_XS\n ? parseInt(import.meta.env.VITE_APP_DISPLAY_BREAKPOINT_XS, 10)\n : 1200;\n\nexport const SENTRY_URL: string | undefined = import.meta.env.VITE_APP_SENTRY_URL;\nexport const SENTRY_ENV: string | undefined = import.meta.env.VITE_APP_SENTRY_ENV;\nexport const MODE_PRODUCTION = import.meta.env.NODE_ENV === 'production';\n\nexport const TERMS_AND_CONDITIONS_URL = {\n REGISTER: import.meta.env.VITE_APP_REGISTER_TERMS_AND_CONDITIONS || 'about:blank',\n CARD_APPLICATION: import.meta.env.VITE_APP_CARD_APPLICATION_TERMS_AND_CONDITIONS || 'about:blank',\n};\n\nexport const DECLARATION_OF_ACCESSIBILITY: string | undefined = import.meta.env.VITE_APP_DECLARATION_OF_ACCESSIBILITY;\n\nexport const CONTACTS_URL: string | undefined = import.meta.env.VITE_APP_CONTACTS;\n\nexport const GDPR_URL = {\n REGISTER: import.meta.env.VITE_APP_REGISTER_GDPR || 'about:blank',\n CARD_APPLICATION: import.meta.env.VITE_APP_CARD_APPLICATION_GDPR || 'about:blank',\n};\n\nexport const FAQ_URL: string | undefined = import.meta.env.VITE_APP_FAQ;\n\nexport const HAULIER_NAME = import.meta.env.VITE_APP_HAULIER_NAME || 'dpmp';\n\nexport const HIDDEN_MODULES = import.meta.env.VITE_APP_HIDDEN_MODULES\n ? import.meta.env.VITE_APP_HIDDEN_MODULES.split(',')\n : [];\nexport const MIN_CUSTOMER_AGE = import.meta.env.VITE_APP_MIN_CUSTOMER_AGE\n ? parseInt(import.meta.env.VITE_APP_MIN_CUSTOMER_AGE, 10)\n : 15;\n\nexport const PAK_ALLOWED: boolean = import.meta.env.VITE_APP_PAK_ALLOWED\n ? JSON.parse(import.meta.env.VITE_APP_PAK_ALLOWED)\n : false;\n\nexport const DEFAULT_LOCALE = import.meta.env.VITE_APP_I18N_LOCALE || 'cs';\nexport const FALLBACK_LOCALE = import.meta.env.VITE_APP_I18N_FALLBACK_LOCALE || 'cs';\n\nexport const TICKET_FARE_MIN_VALID_FROM = import.meta.env.VITE_APP_TICKET_FARE_MIN_VALID_FROM;\n\nexport const CARD_NUMBER_MASK = import.meta.env.VITE_APP_CARD_NUMBER_MASK;\n\nexport const COMPANY_TZ = import.meta.env.VITE_APP_COMPANY_TZ || 'Europe/Prague';\n","import { createI18n } from 'vue-i18n';\nimport { DEFAULT_LOCALE, FALLBACK_LOCALE } from '@/config/config';\n\nconst i18n = createI18n({\n legacy: false,\n locale: DEFAULT_LOCALE,\n fallbackLocale: FALLBACK_LOCALE,\n allowComposition: true,\n});\n\nexport default i18n;\n","import i18n from '@/i18n';\nimport { EnumDto } from '@/api';\n\nexport const getCustomerCardState = (isReclamation: boolean, state: EnumDto): string => {\n return isReclamation ? `${state.displayName} - ${i18n.global.t('customerReclamationCard')}` : state.displayName;\n};\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiRequestOptions } from './ApiRequestOptions';\nimport type { ApiResult } from './ApiResult';\n\nexport class ApiError extends Error {\n public readonly url: string;\n public readonly status: number;\n public readonly statusText: string;\n public readonly body: any;\n public readonly request: ApiRequestOptions;\n\n constructor(request: ApiRequestOptions, response: ApiResult, message: string) {\n super(message);\n\n this.name = 'ApiError';\n this.url = response.url;\n this.status = response.status;\n this.statusText = response.statusText;\n this.body = response.body;\n this.request = request;\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport class CancelError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'CancelError';\n }\n\n public get isCancelled(): boolean {\n return true;\n }\n}\n\nexport interface OnCancel {\n readonly isResolved: boolean;\n readonly isRejected: boolean;\n readonly isCancelled: boolean;\n\n (cancelHandler: () => void): void;\n}\n\nexport class CancelablePromise implements Promise {\n #isResolved: boolean;\n #isRejected: boolean;\n #isCancelled: boolean;\n readonly #cancelHandlers: (() => void)[];\n readonly #promise: Promise;\n #resolve?: (value: T | PromiseLike) => void;\n #reject?: (reason?: any) => void;\n\n constructor(\n executor: (\n resolve: (value: T | PromiseLike) => void,\n reject: (reason?: any) => void,\n onCancel: OnCancel,\n ) => void,\n ) {\n this.#isResolved = false;\n this.#isRejected = false;\n this.#isCancelled = false;\n this.#cancelHandlers = [];\n this.#promise = new Promise((resolve, reject) => {\n this.#resolve = resolve;\n this.#reject = reject;\n\n const onResolve = (value: T | PromiseLike): void => {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#isResolved = true;\n if (this.#resolve) this.#resolve(value);\n };\n\n const onReject = (reason?: any): void => {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#isRejected = true;\n if (this.#reject) this.#reject(reason);\n };\n\n const onCancel = (cancelHandler: () => void): void => {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#cancelHandlers.push(cancelHandler);\n };\n\n Object.defineProperty(onCancel, 'isResolved', {\n get: (): boolean => this.#isResolved,\n });\n\n Object.defineProperty(onCancel, 'isRejected', {\n get: (): boolean => this.#isRejected,\n });\n\n Object.defineProperty(onCancel, 'isCancelled', {\n get: (): boolean => this.#isCancelled,\n });\n\n return executor(onResolve, onReject, onCancel as OnCancel);\n });\n }\n\n get [Symbol.toStringTag]() {\n return 'Cancellable Promise';\n }\n\n public then(\n onFulfilled?: ((value: T) => TResult1 | PromiseLike) | null,\n onRejected?: ((reason: any) => TResult2 | PromiseLike) | null,\n ): Promise {\n return this.#promise.then(onFulfilled, onRejected);\n }\n\n public catch(\n onRejected?: ((reason: any) => TResult | PromiseLike) | null,\n ): Promise {\n return this.#promise.catch(onRejected);\n }\n\n public finally(onFinally?: (() => void) | null): Promise {\n return this.#promise.finally(onFinally);\n }\n\n public cancel(): void {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#isCancelled = true;\n if (this.#cancelHandlers.length) {\n try {\n for (const cancelHandler of this.#cancelHandlers) {\n cancelHandler();\n }\n } catch (error) {\n console.warn('Cancellation threw an error', error);\n return;\n }\n }\n this.#cancelHandlers.length = 0;\n if (this.#reject) this.#reject(new CancelError('Request aborted'));\n }\n\n public get isCancelled(): boolean {\n return this.#isCancelled;\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiRequestOptions } from './ApiRequestOptions';\n\ntype Resolver = (options: ApiRequestOptions) => Promise;\ntype Headers = Record;\n\nexport type OpenAPIConfig = {\n BASE: string;\n VERSION: string;\n WITH_CREDENTIALS: boolean;\n CREDENTIALS: 'include' | 'omit' | 'same-origin';\n TOKEN?: string | Resolver | undefined;\n USERNAME?: string | Resolver | undefined;\n PASSWORD?: string | Resolver | undefined;\n HEADERS?: Headers | Resolver | undefined;\n ENCODE_PATH?: ((path: string) => string) | undefined;\n};\n\nexport const OpenAPI: OpenAPIConfig = {\n BASE: '',\n VERSION: '1',\n WITH_CREDENTIALS: false,\n CREDENTIALS: 'include',\n TOKEN: undefined,\n USERNAME: undefined,\n PASSWORD: undefined,\n HEADERS: undefined,\n ENCODE_PATH: undefined,\n};\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type AddEWalletTransactionCommand = {\n operation: AddEWalletTransactionCommand.operation;\n /**\n * Previous balance. In cents.\n */\n previousBalance: number;\n /**\n * E-wallet transaction note.\n */\n note?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Electronic wallet identifier. Type: 'UUID'\n */\n eWalletId: string;\n /**\n * Price for the transaction. In cents.\n */\n price: number;\n};\nexport namespace AddEWalletTransactionCommand {\n export enum operation {\n RECHARGE = 'RECHARGE',\n WITHDRAW = 'WITHDRAW',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CancelTicketCommand = {\n returnedAmount: number;\n /**\n * Reason of refund.\n */\n refundReason?: CancelTicketCommand.refundReason;\n /**\n * The way the customer will be paid off.\n */\n finalizationType?: CancelTicketCommand.finalizationType;\n /**\n * Count days of hospitalisation.\n */\n hospitalDays?: number;\n /**\n * Date of death.\n */\n deathDate?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CancelTicketCommand {\n /**\n * Reason of refund.\n */\n export enum refundReason {\n REFUND_NO_REASON = 'REFUND_NO_REASON',\n REFUND_HOSPITAL = 'REFUND_HOSPITAL',\n REFUND_DEATH = 'REFUND_DEATH',\n }\n /**\n * The way the customer will be paid off.\n */\n export enum finalizationType {\n COUNTER_PAY_OFF = 'COUNTER_PAY_OFF',\n GATEWAY_PAY_OFF = 'GATEWAY_PAY_OFF',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CardProductionQuery = {\n /**\n * Filter by card production number\n */\n productionNumber?: number;\n /**\n * Employee who create card production.\n */\n employeeName?: string;\n /**\n * Filter by card production states.\n */\n state?: CardProductionQuery.state;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace CardProductionQuery {\n /**\n * Filter by card production states.\n */\n export enum state {\n IN_PROGRESS = 'IN_PROGRESS',\n PROCESSED = 'PROCESSED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CounterOrderChangeDto } from './CounterOrderChangeDto';\nimport type { EetResponseDto } from './EetResponseDto';\nimport type { EnumDto } from './EnumDto';\nimport type { OrderItemDto } from './OrderItemDto';\nimport type { PersonDto } from './PersonDto';\nimport type { TaxDto } from './TaxDto';\nexport type CounterOrderDetailDto = {\n items: Array;\n vatin: string;\n receipt: string;\n counter: string;\n branch: number;\n paidUtc: string;\n paidOffset: number;\n changes: Array;\n taxes?: Array;\n totalTax?: TaxDto;\n /**\n * Order identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Order number. Is unique.\n */\n orderNumber: number;\n /**\n * DateTime when order was processed. Issued, paid or cancelled. Type: 'DATETIME'\n */\n processed: string;\n /**\n * Shift number. Format: 'YYMMDDCCCCCUUUUSS'\n * + **YY**: year\n * + **MM**: month\n * + **DD**: day\n * + **CCCCC**: counter number - has 5 digits\n * + **UUUU**: user number - has 4 digits\n * + **SS**: sequence number for the given combination of user and counter - 2 digits\n */\n shiftNumber?: number;\n /**\n * Price paid.\n */\n price: number;\n /**\n * Payment state\n */\n state: CounterOrderDetailDto.state;\n /**\n * Payment type. Cash, card, e-wallet, invoice.\n */\n paymentType: EnumDto;\n /**\n * User who confirmed the payment or canceled the order.\n */\n operator?: PersonDto;\n /**\n * Eet details.\n */\n eet?: EetResponseDto;\n};\nexport namespace CounterOrderDetailDto {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { EetResponseDto } from './EetResponseDto';\nimport type { EnumDto } from './EnumDto';\nimport type { PersonDto } from './PersonDto';\nexport type CounterOrderDto = {\n /**\n * Order identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Order number. Is unique.\n */\n orderNumber: number;\n /**\n * DateTime when order was processed. Issued, paid or cancelled. Type: 'DATETIME'\n */\n processed: string;\n /**\n * Shift number. Format: 'YYMMDDCCCCCUUUUSS'\n * + **YY**: year\n * + **MM**: month\n * + **DD**: day\n * + **CCCCC**: counter number - has 5 digits\n * + **UUUU**: user number - has 4 digits\n * + **SS**: sequence number for the given combination of user and counter - 2 digits\n */\n shiftNumber?: number;\n /**\n * Price paid.\n */\n price: number;\n /**\n * Payment state\n */\n state: CounterOrderDto.state;\n /**\n * Payment type. Cash, card, e-wallet, invoice.\n */\n paymentType: EnumDto;\n /**\n * User who confirmed the payment or canceled the order.\n */\n operator?: PersonDto;\n /**\n * Eet details.\n */\n eet?: EetResponseDto;\n};\nexport namespace CounterOrderDto {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CounterOrderQuery = {\n /**\n * User identifier. Type: \"UUID\"\n */\n employeeId?: string;\n /**\n * Payment state\n */\n state?: CounterOrderQuery.state;\n /**\n * Payment type\n */\n paymentType?: CounterOrderQuery.paymentType;\n /**\n * Orders to eet register.\n */\n toEetRegister?: boolean;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace CounterOrderQuery {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n /**\n * Payment type\n */\n export enum paymentType {\n CASH = 'CASH',\n BANK_CARD = 'BANK_CARD',\n ELECTRONIC_WALLET = 'ELECTRONIC_WALLET',\n INVOICE = 'INVOICE',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardApplicationProfileSaveCommand } from './CardApplicationProfileSaveCommand';\nimport type { SaveAddressCommand } from './SaveAddressCommand';\nexport type CreateCardApplicationCommand = {\n /**\n * Card application unique number.\n */\n applicationNumber?: string;\n /**\n * Contact a customer when his card was found. Default: true\n */\n contactMeIfCardFound: boolean;\n /**\n * Identifier that card application was created from eshop. Default: false\n */\n eshop?: boolean;\n note?: string;\n /**\n * Customer identifier. Type: 'UUID'\n */\n customerId: string;\n /**\n * Delivery branch office identifier. Type: 'UUID'\n */\n deliveryBranchOfficeId?: string;\n recipientAddress?: SaveAddressCommand;\n profileOne: CardApplicationProfileSaveCommand;\n profileTwo?: CardApplicationProfileSaveCommand;\n /**\n * Whenever should photo be saved for 36 months.\n */\n keepPhoto: boolean;\n /**\n * Customer email for eshop to pair card application and account.\n */\n username?: string;\n /**\n * Identifier that card application is for free. Default: false\n */\n cardForFree?: boolean;\n /**\n * Agree with marketing consent. Default: false\n */\n marketingConsent?: boolean;\n /**\n * Carrier card type\n */\n carrierType: CreateCardApplicationCommand.carrierType;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateCardApplicationCommand {\n /**\n * Carrier card type\n */\n export enum carrierType {\n HAULIER_CARD = 'HAULIER_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateBaseCustomerCommand } from './CreateBaseCustomerCommand';\nimport type { SaveAddressCommand } from './SaveAddressCommand';\nimport type { SaveNameCommand } from './SaveNameCommand';\nexport type CreateCustomerCommand = {\n name: SaveNameCommand;\n /**\n * Customer birthday. Type: 'DATE'\n */\n birthDay: string;\n email?: string;\n phoneNumber?: string;\n address: SaveAddressCommand;\n /**\n * Base64 representation of picture.\n */\n photo: string;\n originId?: string;\n /**\n * Custodian identifier. Type: \"UUID\"\n */\n parentId?: string;\n /**\n * Custodian object.\n */\n parent?: CreateBaseCustomerCommand;\n /**\n * GDPR, terms and conditions approval.\n */\n gdprTermsApproval?: boolean;\n /**\n * PIN for card blockage after loss.\n */\n pin?: string;\n isicNumber?: string;\n /**\n * Type for customer account link. Need to know when age restriction for ASSIGNED type is disabled\n */\n accountLinkType?: CreateCustomerCommand.accountLinkType;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateCustomerCommand {\n /**\n * Type for customer account link. Need to know when age restriction for ASSIGNED type is disabled\n */\n export enum accountLinkType {\n REGISTERED = 'REGISTERED',\n ASSIGNED = 'ASSIGNED',\n MANAGED = 'MANAGED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateLocalizationCommand } from './CreateLocalizationCommand';\nexport type CreateCustomerProfileCommand = {\n name: string;\n abbreviation: string;\n profileNumber: number;\n ageFrom?: number;\n /**\n * Represents if colliding ticket fares selling is forbidden.\n */\n checkTicketCollision: boolean;\n ageTo?: number;\n /**\n * Profile valid from date. Type: 'DATE'\n */\n validFrom?: string;\n /**\n * Profile valid to date. Type: 'DATE'\n */\n validTo?: string;\n orderNumber: number;\n primary: boolean;\n requireConfirmation: boolean;\n /**\n * Customer profile type. Personal or impersonal.\n */\n type: CreateCustomerProfileCommand.type;\n /**\n * Default valid to when setting this profile.\n */\n validToDefault?: CreateCustomerProfileCommand.validToDefault;\n /**\n * Customer profile identifier. Used for copying. Type: 'UUID'\n */\n oldId?: string;\n /**\n * Names of card application attachment types to assign to the new customer profile.\n */\n cardApplicationAttachmentTypeNames?: Array;\n localizations: Array;\n isic: boolean;\n /**\n * Discount id for isic card validation from GTS ALIVE. Must be set if isic is true\n */\n discountId?: number;\n firstApplicationForFree?: boolean;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateCustomerProfileCommand {\n /**\n * Customer profile type. Personal or impersonal.\n */\n export enum type {\n IMPERSONAL = 'IMPERSONAL',\n PERSONAL = 'PERSONAL',\n }\n /**\n * Default valid to when setting this profile.\n */\n export enum validToDefault {\n CARD_VALIDITY = 'CARD_VALIDITY',\n END_OF_YEAR = 'END_OF_YEAR',\n END_OF_JANUARY = 'END_OF_JANUARY',\n END_OF_AUGUST = 'END_OF_AUGUST',\n DAY_BEFORE_19_BIRTHDAY_OR_END_OF_AUGUST = 'DAY_BEFORE_19_BIRTHDAY_OR_END_OF_AUGUST',\n TO_AGE = 'TO_AGE',\n _365_DAYS_AFTER_CONFIRMATION_DELIVERY = '365_DAYS_AFTER_CONFIRMATION_DELIVERY',\n _430_DAYS_AFTER_CONFIRMATION_DELIVERY = '430_DAYS_AFTER_CONFIRMATION_DELIVERY',\n END_OF_SEPTEMBER = 'END_OF_SEPTEMBER',\n TO_DEFINED_YEARS = 'TO_DEFINED_YEARS',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CreateEetProductionVerificationRequestCommand = {\n /**\n * id_provoz: BranchOffice.branchNumber.\n */\n branchNumber?: number;\n /**\n * id_pokl and porad_cis: BranchOffice.eetCounterPrefix.\n */\n eetCounterPrefix?: string;\n /**\n * id_pokl: Counter.counterNumber.\n */\n counterNumber?: number;\n /**\n * porad_cis: Order.number.\n */\n orderNumber?: number;\n /**\n * celk_trzba: Order.price.\n */\n price?: number;\n /**\n * dat_trzby: Order.paidUtc.\n */\n paidUtc?: string;\n /**\n * dat_trzby: Order.paidOffset.\n */\n paidOffset?: number;\n /**\n * Rezim: Usually use REGIME.NORMAL.\n */\n regime?: CreateEetProductionVerificationRequestCommand.regime;\n /**\n * uuid_zpravy: Use EetService.generateUuid() or send uuid from db if firstTry is false.\n */\n uuid?: string;\n /**\n * Use this just for testing of a wrong password. If left undefined, the correct password will be set.\n */\n wrongPassword?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateEetProductionVerificationRequestCommand {\n /**\n * Rezim: Usually use REGIME.NORMAL.\n */\n export enum regime {\n NORMAL = 'NORMAL',\n SIMPLIFIED = 'SIMPLIFIED',\n '_0' = 0,\n '_1' = 1,\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CreateStockDocumentCommand = {\n /**\n * Stock Action. Accept, move, sell.\n */\n type: CreateStockDocumentCommand.type;\n /**\n * Stock transaction IDs for the new document.\n */\n stockTransactions: Array;\n note?: string;\n /**\n * Organization identifier. Represents supplier or purchase. Type: 'UUID'\n */\n organizationId?: string;\n /**\n * Origin stock identifier. Type: 'UUID'\n */\n originStockId?: string;\n /**\n * Destination stock identifier. Type: 'UUID'\n */\n destinationStockId?: string;\n /**\n * User identifier. User that issue products or products were moved from him. Type: 'UUID'\n */\n issuedId?: string;\n /**\n * User identifier. User that accepted products or products were moved to him. Type: 'UUID'\n */\n acceptedId?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateStockDocumentCommand {\n /**\n * Stock Action. Accept, move, sell.\n */\n export enum type {\n ACCEPT = 'ACCEPT',\n MOVE = 'MOVE',\n EXTERNAL_SELL = 'EXTERNAL_SELL',\n COUNTER_SELL = 'COUNTER_SELL',\n COUNTER_CANCEL = 'COUNTER_CANCEL',\n LIQUIDATION = 'LIQUIDATION',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateLocalizationCommand } from './CreateLocalizationCommand';\nexport type CreateTariffProfileCommand = {\n name: string;\n abbreviation: string;\n profileNumber: number;\n /**\n * Profile valid from date. Type: 'DATE'\n */\n validFrom?: string;\n /**\n * Profile valid to date. Type: 'DATE'\n */\n validTo?: string;\n orderNumber: number;\n /**\n * Tariff profile type. SLIDING, CALENDAR, FIXED\n */\n type: CreateTariffProfileCommand.type;\n /**\n * Quantity of period. Used when type: SLIDING, CALENDAR\n */\n periodQuantity?: number;\n /**\n * Tariff profile period. Day, month, year, ... Used when type: SLIDING, CALENDAR\n */\n period?: CreateTariffProfileCommand.period;\n /**\n * Day start of tariff profile when FIXED type.\n */\n fixedValidFromDay?: number;\n /**\n * Month start of tariff profile when FIXED type.\n */\n fixedValidFromMonth?: number;\n /**\n * Day end of tariff profile when FIXED type.\n */\n fixedValidToDay?: number;\n /**\n * Month end of tariff profile when FIXED type.\n */\n fixedValidToMonth?: number;\n /**\n * Tariff profile identifier. Used for copying. Type: 'UUID'\n */\n oldId?: string;\n /**\n * Night transport when SINGLE type.\n */\n nightTransport?: boolean;\n /**\n * Up to three stops when SINGLE type.\n */\n upToThreeStops?: boolean;\n /**\n * Transfer ride when SINGLE type.\n */\n transfer?: boolean;\n /**\n * Coefficient for refund.\n */\n refundCoefficient?: number;\n localizations: Array;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateTariffProfileCommand {\n /**\n * Tariff profile type. SLIDING, CALENDAR, FIXED\n */\n export enum type {\n SLIDING = 'SLIDING',\n CALENDAR = 'CALENDAR',\n FIXED = 'FIXED',\n SINGLE = 'SINGLE',\n }\n /**\n * Tariff profile period. Day, month, year, ... Used when type: SLIDING, CALENDAR\n */\n export enum period {\n DAY = 'DAY',\n MONTH = 'MONTH',\n YEAR = 'YEAR',\n HALF_YEAR = 'HALF_YEAR',\n MINUTE = 'MINUTE',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateLocalizationCommand } from './CreateLocalizationCommand';\nexport type CreateTicketCombinationCommand = {\n name: string;\n abbreviation: string;\n /**\n * Combination valid from date. Type: 'DATE'\n */\n validFrom?: string;\n /**\n * Combination valid to date. Type: 'DATE'\n */\n validTo?: string;\n /**\n * Represents a numeric order for selects.\n */\n orderNumber: number;\n /**\n * Customer profile identifier. Type: 'UUID'\n */\n customerProfileId: string;\n /**\n * Tariff profile identifier. Type: 'UUID'\n */\n tariffProfileId: string;\n /**\n * Price list identifier. Type: 'UUID'\n */\n priceListId: string;\n /**\n * Ticket combination identifier. Used for copying. Type: 'UUID'\n */\n oldId?: string;\n /**\n * The flag is used to check in vehicles and to inspect ticket inspectors\n */\n validDuringNightTransport: boolean;\n /**\n * Ticket combination type. Values: 'TIME', 'SINGLE'\n */\n type: CreateTicketCombinationCommand.type;\n /**\n * The flag determining the ticket with this combination can be sold at the counter.\n */\n counterSale: boolean;\n /**\n * The flag determining the ticket with this combination can be sold in the e-shop.\n */\n eshopSale: boolean;\n /**\n * The flag determining whether a short-term ticket with this combination can be sold in a mobile application cannot be combined with a sale at the counter or a sale in an e-shop. A short-term ticket with this combination can also be purchased in the mobile application without a transport / virtual card.\n */\n mobileEshopAccountSale: boolean;\n /**\n * A flag that determines whether a short-term ticket with this combination can be sold in a mobile application on a virtual card. A short-term ticket with this combination is tied to the customer profile on the virtual card.\n */\n mobileVirtualCardSale: boolean;\n localizations: Array;\n /**\n * Represents a numeric identifier for clearing.\n */\n profileNumber?: number;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateTicketCombinationCommand {\n /**\n * Ticket combination type. Values: 'TIME', 'SINGLE'\n */\n export enum type {\n SINGLE = 'SINGLE',\n TIME = 'TIME',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CreateVehicleBankCardTokenCommand = {\n token: string;\n status: CreateVehicleBankCardTokenCommand.status;\n};\nexport namespace CreateVehicleBankCardTokenCommand {\n export enum status {\n NOT_IN_DENY_LIST = 'NOT_IN_DENY_LIST',\n IS_IN_DENY_LIST = 'IS_IN_DENY_LIST',\n WAS_IN_DENY_LIST = 'WAS_IN_DENY_LIST',\n DENY_LIST_RECOVER_DEPLETED = 'DENY_LIST_RECOVER_DEPLETED',\n CARD_NOT_FOUND = 'CARD_NOT_FOUND',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateCancelledTransactionCommand } from './CreateCancelledTransactionCommand';\nimport type { CreateCardExtensionCommand } from './CreateCardExtensionCommand';\nimport type { CreateCardInfoCommand } from './CreateCardInfoCommand';\nimport type { CreateCashPayCommand } from './CreateCashPayCommand';\nimport type { CreateCheckinTransactionCommand } from './CreateCheckinTransactionCommand';\nimport type { CreateEpPayCommand } from './CreateEpPayCommand';\nimport type { CreateGreenListCommand } from './CreateGreenListCommand';\nimport type { CreateTicketCommand } from './CreateTicketCommand';\nimport type { TransDataDto } from './TransDataDto';\nexport type CreateVehicleTransactionCommand = {\n devId: number;\n vehId: number;\n drvId: number;\n shftId: number;\n trxDT: string;\n dayType?: CreateVehicleTransactionCommand.dayType;\n trxId: number;\n trxType: number;\n lineNo: number;\n tripNo: number;\n tripNo2?: number;\n stnId: number;\n stnFromName?: string;\n stnTripOrd: number;\n stnZon: string;\n currency: string;\n trxPrice: number;\n result: number;\n cashPay?: CreateCashPayCommand;\n ePPay?: CreateEpPayCommand;\n cardInfo?: CreateCardInfoCommand;\n payMeans: number;\n /**\n * Transaction tickets.\n */\n tickets?: Array;\n /**\n * Cancelled transaction.\n */\n cancelledTrx?: CreateCancelledTransactionCommand;\n /**\n * Checkin transactions for this transaction that is a check-out.\n */\n checkInTrx?: Array;\n greenList?: CreateGreenListCommand;\n transData?: TransDataDto;\n cardExtension?: CreateCardExtensionCommand;\n};\nexport namespace CreateVehicleTransactionCommand {\n export enum dayType {\n WORK_DAY = 'WorkDay',\n FREE_DAY = 'FreeDay',\n SUNDAY = 'Sunday',\n HOLIDAY = 'Holiday',\n '_1' = 1,\n '_2' = 2,\n '_3' = 3,\n '_4' = 4,\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateLocalizationCommand } from './CreateLocalizationCommand';\nexport type CreateZoneCommand = {\n name: string;\n number: number;\n availableInPriceList: boolean;\n type: CreateZoneCommand.type;\n /**\n * UUIDs of zones to assign to the combined zone.\n */\n zoneIds?: Array;\n localizations: Array;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace CreateZoneCommand {\n export enum type {\n SIMPLE = 'SIMPLE',\n COMBINED = 'COMBINED',\n ALL_NETWORK = 'ALL_NETWORK',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { PaymentRedirectVm } from './PaymentRedirectVm';\nexport type CsobPaymentVm = {\n /**\n * Unique ID of payment assigned when payment init. 15 characters.\n */\n payId: string;\n resultCode: number;\n resultMessage: string;\n paymentStatus?: CsobPaymentVm.paymentStatus;\n statusDetail?: number;\n redirect?: PaymentRedirectVm;\n};\nexport namespace CsobPaymentVm {\n export enum paymentStatus {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CustomerAccountLinkQuery = {\n /**\n * Type of linked account.\n */\n customerAccountLinkType?: CustomerAccountLinkQuery.customerAccountLinkType;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace CustomerAccountLinkQuery {\n /**\n * Type of linked account.\n */\n export enum customerAccountLinkType {\n REGISTERED = 'REGISTERED',\n ASSIGNED = 'ASSIGNED',\n MANAGED = 'MANAGED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardApplicationInfoVm } from './CardApplicationInfoVm';\nimport type { CardProfileVm } from './CardProfileVm';\nimport type { CustomerCardGroupDto } from './CustomerCardGroupDto';\nimport type { CustomerChangeDto } from './CustomerChangeDto';\nimport type { CustomerDto } from './CustomerDto';\nimport type { ElectronicWalletDto } from './ElectronicWalletDto';\nimport type { EnumDto } from './EnumDto';\nimport type { EnumWithCreatedDateDto } from './EnumWithCreatedDateDto';\nimport type { TicketFareDto } from './TicketFareDto';\nexport type CustomerCardDetailVm = {\n /**\n * Customer card identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Unique identifier of card.\n */\n cardNumber: string;\n /**\n * Chip number identifier. Is unique.\n */\n chipNumber: string;\n /**\n * Card valid to. Type: 'DATE'\n */\n validTo: string;\n /**\n * Card valid from. Type: 'DATE'\n */\n validFrom: string;\n note?: string;\n /**\n * Card state. Active, blocked, ...\n */\n state: EnumWithCreatedDateDto;\n /**\n * Card type. Smart or bank.\n */\n type: EnumDto;\n customer: CustomerDto;\n draftCustomer: CustomerDto;\n customerCardType: CustomerCardDetailVm.customerCardType;\n /**\n * Last 5 customer draft changes.\n */\n customerChanges: Array;\n /**\n * Card profile. Contains date range, profile itself and optional confirmation check date.\n */\n profileOne?: CardProfileVm;\n /**\n * Card profile. Contains date range, profile itself and optional confirmation check date.\n */\n profileTwo?: CardProfileVm;\n applicationInfo: CardApplicationInfoVm;\n electronicWallet?: ElectronicWalletDto;\n ticketFares: Array;\n /**\n * Is this card a reclamation card\n */\n reclamation: boolean;\n /**\n * Contact me if card found\n */\n contactMeIfCardFound: boolean;\n /**\n * Card production number.\n */\n productionNumber?: number;\n /**\n * Data protection\n */\n dataProtection: string;\n /**\n * Identifier that card is for free.\n */\n cardForFree?: boolean;\n bankCardIssuer?: string;\n /**\n * Agree with marketing consent. Default: false\n */\n marketingConsent?: boolean;\n /**\n * Customer card group\n */\n group?: CustomerCardGroupDto;\n};\nexport namespace CustomerCardDetailVm {\n export enum customerCardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardStateInfoVm } from './CardStateInfoVm';\nimport type { KeyValuePairDto } from './KeyValuePairDto';\nexport type CustomerCardInfoVm = {\n /**\n * Customer card identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Unique identifier of card.\n */\n cardNumber: string;\n /**\n * Card valid from. Type: 'DATE'\n */\n validFrom: string;\n /**\n * Card valid to. Type: 'DATE'\n */\n validTo: string;\n /**\n * Customer profile. Student, regular, senior, ...\n */\n profileOne?: KeyValuePairDto;\n /**\n * Customer profile. Student, regular, senior, ...\n */\n profileTwo?: KeyValuePairDto;\n /**\n * Current card state info.\n */\n currentState: CardStateInfoVm;\n /**\n * Created card state info.\n */\n created: CardStateInfoVm;\n /**\n * Issued card state info.\n */\n issued?: CardStateInfoVm;\n /**\n * Is this card a reclamation card\n */\n reclamation: boolean;\n /**\n * Contact me if card found\n */\n contactMeIfCardFound: boolean;\n /**\n * Customer card type.\n */\n customerCardType?: CustomerCardInfoVm.customerCardType;\n /**\n * Agree with marketing consent. Default: false\n */\n marketingConsent?: boolean;\n /**\n * Card application identifier. Type: 'UUID'\n */\n applicationId: string;\n};\nexport namespace CustomerCardInfoVm {\n /**\n * Customer card type.\n */\n export enum customerCardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CustomerCardQuery = {\n customerName?: string;\n /**\n * Generated card application string identifier. Is unique.\n */\n applicationNumber?: string;\n cardNumber?: string;\n /**\n * Card state name.\n */\n state?: CustomerCardQuery.state;\n /**\n * If result should include virtual cards.\n */\n includeVirtualCard?: boolean;\n /**\n * Filter by customer card type.\n */\n cardType?: CustomerCardQuery.cardType;\n /**\n * Bank card token\n */\n token?: string;\n /**\n * Customer card group name\n */\n customerCardGroup?: string;\n /**\n * Filter only cards without customer card group. Default: false\n */\n withoutCustomerCardGroup?: boolean;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace CustomerCardQuery {\n /**\n * Card state name.\n */\n export enum state {\n NOT_ISSUED = 'NOT_ISSUED',\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n IN_PROGRESS = 'IN_PROGRESS',\n TOKENIZED = 'TOKENIZED',\n }\n /**\n * Filter by customer card type.\n */\n export enum cardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CustomerCardSendCreateDto = {\n /**\n * Customer card identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Unique identifier of card.\n */\n cardNumber: string;\n /**\n * Chip number identifier. Is unique.\n */\n chipNumber: string;\n /**\n * Card valid from. Type: 'DATE'\n */\n validFrom: string;\n /**\n * Card valid to. Type: 'DATE'\n */\n validTo: string;\n /**\n * Card type. Smart or bank.\n */\n type: string;\n /**\n * Card state. Active, blocked, ...\n */\n state: string;\n /**\n * Customer profile valid from date. Type: 'DATE'\n */\n profileOneValidFrom: string;\n /**\n * Customer profile valid to date. Type: 'DATE'\n */\n profileOneValidTo: string;\n /**\n * Customer profile confirmation date. Type: 'DATE'\n */\n profileOneConfirmationChecked?: string;\n /**\n * Customer profile identifier. Type: 'UUID'\n */\n profileOneId: string;\n /**\n * Customer profile valid from date. Type: 'DATE'\n */\n profileTwoValidFrom?: string;\n /**\n * Customer profile valid to date. Type: 'DATE'\n */\n profileTwoValidTo?: string;\n /**\n * Customer profile confirmation date. Type: 'DATE'\n */\n profileTwoConfirmationChecked?: string;\n /**\n * Customer profile identifier. Type: 'UUID'\n */\n profileTwoId?: string;\n customerCardType: CustomerCardSendCreateDto.customerCardType;\n /**\n * Customer identifier. Type: 'UUID'\n */\n customerId: string;\n bankCardIssuer?: string;\n /**\n * Agree with marketing consent.\n */\n marketingConsent?: boolean;\n};\nexport namespace CustomerCardSendCreateDto {\n export enum customerCardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type CustomerProfileQuery = {\n /**\n * Customer profile number.\n */\n profileNumber?: number;\n /**\n * Customer profile searched by age.\n */\n age?: number;\n /**\n * Customer profile type. Values: PERSONAL, IMPERSONAL\n */\n type?: CustomerProfileQuery.type;\n /**\n * Filter only primary profiles.\n */\n onlyPrimary?: boolean;\n /**\n * Validity of tariff profiles. Past, Present, Future.\n */\n validity?: CustomerProfileQuery.validity;\n /**\n * Computes deletable flag when enabled.\n */\n includeDeletable?: boolean;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace CustomerProfileQuery {\n /**\n * Customer profile type. Values: PERSONAL, IMPERSONAL\n */\n export enum type {\n IMPERSONAL = 'IMPERSONAL',\n PERSONAL = 'PERSONAL',\n }\n /**\n * Validity of tariff profiles. Past, Present, Future.\n */\n export enum validity {\n PAST = 'PAST',\n PRESENT = 'PRESENT',\n FUTURE = 'FUTURE',\n PRESENT_OR_FUTURE = 'PRESENT_OR_FUTURE',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\n/**\n * Eet\n */\nexport type EetSentItemsDto = {\n /**\n * DIC\n */\n vatin: string;\n /**\n * Provozovna\n */\n branch: string;\n /**\n * Pokladna\n */\n counter: string;\n /**\n * Uctenka\n */\n receipt: string;\n /**\n * Datum a cas transakce. String in client time zone with the time zone. Time zone should be removed for EET receipt (seconds remain).\n */\n paidDate: string;\n /**\n * Celkova castka. Price converted to EET string, e.g. 122.50. Should be converted to e.g. 122,50 Kc for EET receipt.\n */\n priceAsEetString: string;\n /**\n * Rezim. Bezny:0. Zjednoduseny: 1.\n */\n regime: EetSentItemsDto.regime;\n};\nexport namespace EetSentItemsDto {\n /**\n * Rezim. Bezny:0. Zjednoduseny: 1.\n */\n export enum regime {\n NORMAL = 'NORMAL',\n SIMPLIFIED = 'SIMPLIFIED',\n '_0' = 0,\n '_1' = 1,\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type EmployeeCardQuery = {\n employeeName?: string;\n cardNumber?: string;\n /**\n * Card state. Not issued, active, blocked.\n */\n state?: EmployeeCardQuery.state;\n /**\n * Card roles. Cards in response will have at least one role from cardRoles array.\n */\n cardRoles?: Array<'INSPECTOR' | 'DRIVER' | 'ANONYMOUS' | 'TECHNICIAN' | 'CASHIER' | 'SALE'>;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace EmployeeCardQuery {\n /**\n * Card state. Not issued, active, blocked.\n */\n export enum state {\n NOT_ISSUED = 'NOT_ISSUED',\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n IN_PROGRESS = 'IN_PROGRESS',\n TOKENIZED = 'TOKENIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type EnumsDto = {\n bankPaymentStates: EnumsDto.bankPaymentStates;\n carrierTypes: EnumsDto.carrierTypes;\n cardApplicationStates: EnumsDto.cardApplicationStates;\n cardProductionStates: EnumsDto.cardProductionStates;\n cardStates: EnumsDto.cardStates;\n cardTypes: EnumsDto.cardTypes;\n customerAccountLinkTypes: EnumsDto.customerAccountLinkTypes;\n customerCardTypes: EnumsDto.customerCardTypes;\n customerProfileType: EnumsDto.customerProfileType;\n customerProfileValidToDefaults: EnumsDto.customerProfileValidToDefaults;\n dataProtectionTypes: EnumsDto.dataProtectionTypes;\n vehicleBankCardTokenStates: EnumsDto.vehicleBankCardTokenStates;\n electronicWalletOperations: EnumsDto.electronicWalletOperations;\n employeeCardRoleTypes: EnumsDto.employeeCardRoleTypes;\n eshopOrderStates: EnumsDto.eshopOrderStates;\n eshopReclamationStates: EnumsDto.eshopReclamationStates;\n filterableCardTypes: EnumsDto.filterableCardTypes;\n globalSettings: EnumsDto.globalSettings;\n orderItemTypes: EnumsDto.orderItemTypes;\n paymentTypes: EnumsDto.paymentTypes;\n permissions: EnumsDto.permissions;\n reclamationStates: EnumsDto.reclamationStates;\n reclamationCardTypes: EnumsDto.reclamationCardTypes;\n reclamationEvaluationTypes: EnumsDto.reclamationEvaluationTypes;\n reclamationFinalizationTypes: EnumsDto.reclamationFinalizationTypes;\n reclamationSubjectTypes: EnumsDto.reclamationSubjectTypes;\n refundTypes: EnumsDto.refundTypes;\n ticketCancellationFinalizationTypes: EnumsDto.ticketCancellationFinalizationTypes;\n stockActions: EnumsDto.stockActions;\n stockTypes: EnumsDto.stockTypes;\n tariffProfilePeriods: EnumsDto.tariffProfilePeriods;\n tariffProfileTypes: EnumsDto.tariffProfileTypes;\n ticketStates: EnumsDto.ticketStates;\n validityFilter: EnumsDto.validityFilter;\n vehicleTransactionTypes: EnumsDto.vehicleTransactionTypes;\n};\nexport namespace EnumsDto {\n export enum bankPaymentStates {\n PROCESSED = 'PROCESSED',\n TO_BE_PROCESSED = 'TO_BE_PROCESSED',\n DENIED = 'DENIED',\n TAP_MISSING = 'TAP_MISSING',\n ANSWER_MISSING = 'ANSWER_MISSING',\n GPE_ERROR = 'GPE_ERROR',\n SKIPPED = 'SKIPPED',\n REVERSAL = 'REVERSAL',\n DUPLICATION = 'DUPLICATION',\n }\n export enum carrierTypes {\n HAULIER_CARD = 'HAULIER_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n }\n export enum cardApplicationStates {\n WAITING_TO_BE_PRINTED = 'WAITING_TO_BE_PRINTED',\n PROCESSED = 'PROCESSED',\n REJECTED = 'REJECTED',\n UNCHECKED_DATA = 'UNCHECKED_DATA',\n }\n export enum cardProductionStates {\n IN_PROGRESS = 'IN_PROGRESS',\n PROCESSED = 'PROCESSED',\n }\n export enum cardStates {\n NOT_ISSUED = 'NOT_ISSUED',\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n IN_PROGRESS = 'IN_PROGRESS',\n TOKENIZED = 'TOKENIZED',\n }\n export enum cardTypes {\n SMART_CARD = 'SMART_CARD',\n SMART_CARD_2 = 'SMART_CARD_2',\n BANK_CARD = 'BANK_CARD',\n MOBILE_PHONE = 'MOBILE_PHONE',\n QR_CODE = 'QR_CODE',\n }\n export enum customerAccountLinkTypes {\n REGISTERED = 'REGISTERED',\n ASSIGNED = 'ASSIGNED',\n MANAGED = 'MANAGED',\n }\n export enum customerCardTypes {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n export enum customerProfileType {\n IMPERSONAL = 'IMPERSONAL',\n PERSONAL = 'PERSONAL',\n }\n export enum customerProfileValidToDefaults {\n CARD_VALIDITY = 'CARD_VALIDITY',\n END_OF_YEAR = 'END_OF_YEAR',\n END_OF_JANUARY = 'END_OF_JANUARY',\n END_OF_AUGUST = 'END_OF_AUGUST',\n DAY_BEFORE_19_BIRTHDAY_OR_END_OF_AUGUST = 'DAY_BEFORE_19_BIRTHDAY_OR_END_OF_AUGUST',\n TO_AGE = 'TO_AGE',\n _365_DAYS_AFTER_CONFIRMATION_DELIVERY = '365_DAYS_AFTER_CONFIRMATION_DELIVERY',\n _430_DAYS_AFTER_CONFIRMATION_DELIVERY = '430_DAYS_AFTER_CONFIRMATION_DELIVERY',\n END_OF_SEPTEMBER = 'END_OF_SEPTEMBER',\n TO_DEFINED_YEARS = 'TO_DEFINED_YEARS',\n }\n export enum dataProtectionTypes {\n FULL_ACCESS = 'FULL_ACCESS',\n PSEUDONYMIZED = 'PSEUDONYMIZED',\n ANONYMIZED = 'ANONYMIZED',\n }\n export enum vehicleBankCardTokenStates {\n NOT_IN_DENY_LIST = 'NOT_IN_DENY_LIST',\n IS_IN_DENY_LIST = 'IS_IN_DENY_LIST',\n WAS_IN_DENY_LIST = 'WAS_IN_DENY_LIST',\n DENY_LIST_RECOVER_DEPLETED = 'DENY_LIST_RECOVER_DEPLETED',\n CARD_NOT_FOUND = 'CARD_NOT_FOUND',\n }\n export enum electronicWalletOperations {\n RECHARGE = 'RECHARGE',\n WITHDRAW = 'WITHDRAW',\n PAYMENT = 'PAYMENT',\n TRANSFER = 'TRANSFER',\n PAK_TRANSFER = 'PAK_TRANSFER',\n }\n export enum employeeCardRoleTypes {\n INSPECTOR = 'INSPECTOR',\n DRIVER = 'DRIVER',\n ANONYMOUS = 'ANONYMOUS',\n TECHNICIAN = 'TECHNICIAN',\n CASHIER = 'CASHIER',\n SALE = 'SALE',\n }\n export enum eshopOrderStates {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n export enum eshopReclamationStates {\n PENDING = 'PENDING',\n REJECTED = 'REJECTED',\n FINALIZED = 'FINALIZED',\n }\n export enum filterableCardTypes {\n BANK_CARD = 'BANK_CARD',\n MAP_CARD = 'MAP_CARD',\n }\n export enum globalSettings {\n CUSTOMER_CARD_VALIDITY = 'CUSTOMER_CARD_VALIDITY',\n RECLAMATION_CARD_VALIDITY = 'RECLAMATION_CARD_VALIDITY',\n E_WALLET_MIN_RECHARGE = 'E_WALLET_MIN_RECHARGE',\n E_WALLET_MAX_RECHARGE = 'E_WALLET_MAX_RECHARGE',\n E_WALLET_MAX_AMOUNT = 'E_WALLET_MAX_AMOUNT',\n ESHOP_CARD_EXPIRATION_NOTIFICATION = 'ESHOP_CARD_EXPIRATION_NOTIFICATION',\n ESHOP_TICKET_EXPIRATION_NOTIFICATION = 'ESHOP_TICKET_EXPIRATION_NOTIFICATION',\n TICKET_FARE_RETURN_FEE = 'TICKET_FARE_RETURN_FEE',\n MAX_DAYS_BETWEEN_CURRENT_DATE_AND_TICKET_FARE_VALID_FROM_BEFORE_START_AT_COUNTER = 'MAX_DAYS_BETWEEN_CURRENT_DATE_AND_TICKET_FARE_VALID_FROM_BEFORE_START_AT_COUNTER',\n MAX_DAYS_BETWEEN_CURRENT_DATE_AND_TICKET_FARE_VALID_FROM_AFTER_START_AT_COUNTER = 'MAX_DAYS_BETWEEN_CURRENT_DATE_AND_TICKET_FARE_VALID_FROM_AFTER_START_AT_COUNTER',\n MAX_DAYS_BETWEEN_CURRENT_DATE_AND_TICKET_FARE_VALID_FROM_BEFORE_START_AT_ESHOP = 'MAX_DAYS_BETWEEN_CURRENT_DATE_AND_TICKET_FARE_VALID_FROM_BEFORE_START_AT_ESHOP',\n RECLAMATION_FINALIZATION_TIME_IN_DAYS = 'RECLAMATION_FINALIZATION_TIME_IN_DAYS',\n E_WALLET_TRANSACTION_TAX_PERCENTAGE = 'E_WALLET_TRANSACTION_TAX_PERCENTAGE',\n VIRTUAL_CARD_VALIDITY = 'VIRTUAL_CARD_VALIDITY',\n VIRTUAL_CARD_MAX_SHORT_TERM_TICKET_FARES_COUNT = 'VIRTUAL_CARD_MAX_SHORT_TERM_TICKET_FARES_COUNT',\n CUSTOMER_PROFILE_DEFAULT_VALID_TO_IN_YEARS = 'CUSTOMER_PROFILE_DEFAULT_VALID_TO_IN_YEARS',\n CUSTOMER_NOTIFICATION_MIN_TICKET_DAYS_IN_ADVANCE = 'CUSTOMER_NOTIFICATION_MIN_TICKET_DAYS_IN_ADVANCE',\n CUSTOMER_NOTIFICATION_MAX_TICKET_DAYS_IN_ADVANCE = 'CUSTOMER_NOTIFICATION_MAX_TICKET_DAYS_IN_ADVANCE',\n CUSTOMER_NOTIFICATION_MIN_CARD_DAYS_IN_ADVANCE = 'CUSTOMER_NOTIFICATION_MIN_CARD_DAYS_IN_ADVANCE',\n CUSTOMER_NOTIFICATION_MAX_CARD_DAYS_IN_ADVANCE = 'CUSTOMER_NOTIFICATION_MAX_CARD_DAYS_IN_ADVANCE',\n CARD_VALIDITY_UPDATE_LIMIT_IN_MONTHS = 'CARD_VALIDITY_UPDATE_LIMIT_IN_MONTHS',\n }\n export enum orderItemTypes {\n FEE = 'FEE',\n PRODUCT = 'PRODUCT',\n TICKET_FARE = 'TICKET_FARE',\n PAK_TICKET_FARE = 'PAK_TICKET_FARE',\n ELECTRONIC_WALLET = 'ELECTRONIC_WALLET',\n RECLAMATION = 'RECLAMATION',\n ROUNDING = 'ROUNDING',\n }\n export enum paymentTypes {\n CASH = 'CASH',\n BANK_CARD = 'BANK_CARD',\n ELECTRONIC_WALLET = 'ELECTRONIC_WALLET',\n INVOICE = 'INVOICE',\n }\n export enum permissions {\n PERMISSION_CUSTOMER_CARDS_RECLAMATION = 'PERMISSION_CUSTOMER-CARDS_RECLAMATION',\n PERMISSION_CUSTOMER_CARDS_EDIT = 'PERMISSION_CUSTOMER-CARDS_EDIT',\n PERMISSION_CUSTOMER_CARDS_VIEW = 'PERMISSION_CUSTOMER-CARDS_VIEW',\n PERMISSION_CUSTOMER_CARDS_DETAIL = 'PERMISSION_CUSTOMER-CARDS_DETAIL',\n PERMISSION_EMPLOYEE_CARDS_EDIT = 'PERMISSION_EMPLOYEE-CARDS_EDIT',\n PERMISSION_EMPLOYEE_CARDS_VIEW = 'PERMISSION_EMPLOYEE-CARDS_VIEW',\n PERMISSION_VEHICLE_TRANSACTIONS_VIEW = 'PERMISSION_VEHICLE-TRANSACTIONS_VIEW',\n PERMISSION_ORDERS_VIEW_ALL = 'PERMISSION_ORDERS_VIEW-ALL',\n PERMISSION_ORDERS_VIEW_RESTRICTED = 'PERMISSION_ORDERS_VIEW-RESTRICTED',\n PERMISSION_ORDERS_EDIT = 'PERMISSION_ORDERS_EDIT',\n PERMISSION_COUNTER_SELL = 'PERMISSION_COUNTER_SELL',\n PERMISSION_STOCKS_VIEW = 'PERMISSION_STOCKS_VIEW',\n PERMISSION_STOCKS_MANAGE = 'PERMISSION_STOCKS_MANAGE',\n PERMISSION_ADMINISTRATION_VIEW = 'PERMISSION_ADMINISTRATION_VIEW',\n PERMISSION_CARD_APPLICATIONS_VIEW = 'PERMISSION_CARD-APPLICATIONS_VIEW',\n PERMISSION_CARD_APPLICATIONS_EDIT = 'PERMISSION_CARD-APPLICATIONS_EDIT',\n PERMISSION_CARD_APPLICATION_DRAFTS_VIEW = 'PERMISSION_CARD-APPLICATION-DRAFTS_VIEW',\n PERMISSION_CARD_APPLICATION_DRAFTS_EDIT = 'PERMISSION_CARD-APPLICATION-DRAFTS_EDIT',\n PERMISSION_PRODUCTS_MANAGE = 'PERMISSION_PRODUCTS_MANAGE',\n PERMISSION_EMPLOYEES_MANAGE = 'PERMISSION_EMPLOYEES_MANAGE',\n PERMISSION_PAK_TICKET_FARES_VIEW = 'PERMISSION_PAK-TICKET-FARES_VIEW',\n PERMISSION_BANK_PAYMENTS_VIEW = 'PERMISSION_BANK-PAYMENTS_VIEW',\n PERMISSION_CARD_PRODUCTIONS_MANAGE = 'PERMISSION_CARD-PRODUCTIONS_MANAGE',\n PERMISSION_STATISTICS_VIEW = 'PERMISSION_STATISTICS_VIEW',\n PERMISSION_ESHOP_ORDERS_VIEW = 'PERMISSION_ESHOP_ORDERS_VIEW',\n PERMISSION_ESHOP_ORDERS_EDIT = 'PERMISSION_ESHOP_ORDERS_EDIT',\n PERMISSION_PAK_E_WALLETS_VIEW = 'PERMISSION_PAK-E-WALLETS_VIEW',\n PERMISSION_RECLAMATION_VIEW = 'PERMISSION_RECLAMATION_VIEW',\n PERMISSION_RECLAMATION_EDIT = 'PERMISSION_RECLAMATION_EDIT',\n PERMISSION_RECLAMATION_MANAGE = 'PERMISSION_RECLAMATION_MANAGE',\n PERMISSION_REEVALUATE_RECLAMATION = 'PERMISSION_REEVALUATE_RECLAMATION',\n PERMISSION_SHIFT_REPORTS_VIEW = 'PERMISSION_SHIFT-REPORTS_VIEW',\n PERMISSION_PROTECTED_CUSTOMERS_VIEW = 'PERMISSION_PROTECTED-CUSTOMERS_VIEW',\n PERMISSION_PRODUCT_SELL = 'PERMISSION_PRODUCT_SELL',\n PERMISSION_FEE_CHARGE = 'PERMISSION_FEE_CHARGE',\n PERMISSION_PRODUCT_CANCEL = 'PERMISSION_PRODUCT_CANCEL',\n PERMISSION_PAYMENT_ACCEPT_CASH = 'PERMISSION_PAYMENT_ACCEPT-CASH',\n PERMISSION_PAYMENT_ACCEPT_CARD = 'PERMISSION_PAYMENT_ACCEPT-CARD',\n PERMISSION_PAYMENT_ACCEPT_INVOICE = 'PERMISSION_PAYMENT_ACCEPT-INVOICE',\n PERMISSION_CUSTOMER_OR_CUSTODIAN_EDIT = 'PERMISSION_CUSTOMER-OR-CUSTODIAN_EDIT',\n PERMISSION_TICKET_FARES_CANCEL = 'PERMISSION_TICKET-FARES_CANCEL',\n PERMISSION_CUSTOMER_ACCOUNT_EDIT = 'PERMISSION_CUSTOMER-ACCOUNT_EDIT',\n PERMISSION_VEHICLE_BANK_CARD_TOKENS_VIEW = 'PERMISSION_VEHICLE-BANK-CARD-TOKENS_VIEW',\n PERMISSION_VEHICLE_BANK_CARD_TOKENS_EDIT = 'PERMISSION_VEHICLE-BANK-CARD-TOKENS_EDIT',\n PERMISSION_CUSTOMER_CARD_GROUPS_VIEW = 'PERMISSION_CUSTOMER_CARD_GROUPS_VIEW',\n PERMISSION_CUSTOMER_CARD_GROUPS_MANAGE = 'PERMISSION_CUSTOMER_CARD_GROUPS_MANAGE',\n PERMISSION_RECHARGE_TRANSACTION_EDIT = 'PERMISSION_RECHARGE_TRANSACTION_EDIT',\n }\n export enum reclamationStates {\n PENDING = 'PENDING',\n REJECTED = 'REJECTED',\n APPROVED_COUNTER_PAY_OFF = 'APPROVED_COUNTER_PAY_OFF',\n APPROVED_CARD_UPLOAD = 'APPROVED_CARD_UPLOAD',\n FINALIZED = 'FINALIZED',\n }\n export enum reclamationCardTypes {\n MAP_CARD = 'MAP_CARD',\n PAK_CARD = 'PAK_CARD',\n CREDIT_CARD = 'CREDIT_CARD',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n }\n export enum reclamationEvaluationTypes {\n APPROVED = 'APPROVED',\n REJECTED = 'REJECTED',\n PENDING = 'PENDING',\n }\n export enum reclamationFinalizationTypes {\n COUNTER_PAY_OFF = 'COUNTER_PAY_OFF',\n INVOICE_PAY_OFF = 'INVOICE_PAY_OFF',\n CARD_UPLOAD = 'CARD_UPLOAD',\n OTHER = 'OTHER',\n }\n export enum reclamationSubjectTypes {\n TICKET_MACHINE = 'TICKET_MACHINE',\n CHECK_IN_CHECK_OUT = 'CHECK_IN_CHECK_OUT',\n ONLINE_RECHARGE = 'ONLINE_RECHARGE',\n PARKING_METER = 'PARKING_METER',\n CARD = 'CARD',\n MAP_PHONE = 'MAP_PHONE',\n OTHER = 'OTHER',\n }\n export enum refundTypes {\n REFUND_NO_REASON = 'REFUND_NO_REASON',\n REFUND_HOSPITAL = 'REFUND_HOSPITAL',\n REFUND_DEATH = 'REFUND_DEATH',\n }\n export enum ticketCancellationFinalizationTypes {\n COUNTER_PAY_OFF = 'COUNTER_PAY_OFF',\n GATEWAY_PAY_OFF = 'GATEWAY_PAY_OFF',\n }\n export enum stockActions {\n ACCEPT = 'ACCEPT',\n MOVE = 'MOVE',\n EXTERNAL_SELL = 'EXTERNAL_SELL',\n COUNTER_SELL = 'COUNTER_SELL',\n COUNTER_CANCEL = 'COUNTER_CANCEL',\n LIQUIDATION = 'LIQUIDATION',\n }\n export enum stockTypes {\n CENTRAL = 'CENTRAL',\n DISTRIBUTION = 'DISTRIBUTION',\n PERSONAL = 'PERSONAL',\n }\n export enum tariffProfilePeriods {\n DAY = 'DAY',\n MONTH = 'MONTH',\n YEAR = 'YEAR',\n HALF_YEAR = 'HALF_YEAR',\n MINUTE = 'MINUTE',\n }\n export enum tariffProfileTypes {\n SLIDING = 'SLIDING',\n CALENDAR = 'CALENDAR',\n FIXED = 'FIXED',\n SINGLE = 'SINGLE',\n }\n export enum ticketStates {\n CANCELLED = 'CANCELLED',\n EXPIRED = 'EXPIRED',\n ACTIVE = 'ACTIVE',\n FUTURE = 'FUTURE',\n }\n export enum validityFilter {\n PAST = 'PAST',\n PRESENT = 'PRESENT',\n FUTURE = 'FUTURE',\n PRESENT_OR_FUTURE = 'PRESENT_OR_FUTURE',\n }\n export enum vehicleTransactionTypes {\n PAPER_TICKET = 'PAPER_TICKET',\n ELECTRONIC_TICKET = 'ELECTRONIC_TICKET',\n CHECK_IN = 'CHECK_IN',\n CHECK_OUT = 'CHECK_OUT',\n CANCELLED_TICKET = 'CANCELLED_TICKET',\n GREEN_LIST_WALLET = 'GREEN_LIST_WALLET',\n GREEN_LIST_TICKET = 'GREEN_LIST_TICKET',\n WALLET_CHANGE = 'WALLET_CHANGE',\n CARD_BLOCKING = 'CARD_BLOCKING',\n CARD_VALIDITY_EXT = 'CARD_VALIDITY_EXT',\n OVERPAYMENT = 'OVERPAYMENT',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type EshopOrderQuery = {\n /**\n * Payment state\n */\n state?: EshopOrderQuery.state;\n /**\n * Payment type. Bank card or Invoice.\n */\n paymentType?: any;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace EshopOrderQuery {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type EshopReclamationQuery = {\n /**\n * Customer name. \"LastName FirstName.\n */\n customerName?: string;\n /**\n * Customer email.\n */\n customerEmail?: string;\n /**\n * Employee name. \"LastName FirstName.\n */\n employeeName?: string;\n /**\n * Reclamation state.\n */\n state?: EshopReclamationQuery.state;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace EshopReclamationQuery {\n /**\n * Reclamation state.\n */\n export enum state {\n PENDING = 'PENDING',\n REJECTED = 'REJECTED',\n FINALIZED = 'FINALIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type EvaluateReclamationCommand = {\n statement: string;\n /**\n * Evaluation type\n */\n evaluationType: EvaluateReclamationCommand.evaluationType;\n /**\n * Finalization type\n */\n finalizationType?: EvaluateReclamationCommand.finalizationType;\n /**\n * Amount to customer payout.\n */\n price?: number;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace EvaluateReclamationCommand {\n /**\n * Evaluation type\n */\n export enum evaluationType {\n APPROVED = 'APPROVED',\n REJECTED = 'REJECTED',\n PENDING = 'PENDING',\n }\n /**\n * Finalization type\n */\n export enum finalizationType {\n COUNTER_PAY_OFF = 'COUNTER_PAY_OFF',\n INVOICE_PAY_OFF = 'INVOICE_PAY_OFF',\n CARD_UPLOAD = 'CARD_UPLOAD',\n OTHER = 'OTHER',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type EWalletTransactionMetadataVm = {\n /**\n * Electronic wallet transaction identifier. Type: 'UUID'\n */\n id: string;\n cardNumber: string;\n /**\n * Transaction number.\n */\n transactionNumber: number;\n /**\n * DateTime when transaction issued. Type: 'DATETIME'\n */\n issued: string;\n /**\n * Previous balance. In cents.\n */\n previousBalance: number;\n /**\n * New balance. In cents.\n */\n newBalance: number;\n /**\n * Amount of the transaction. In cents.\n */\n amount: number;\n operation: EWalletTransactionMetadataVm.operation;\n};\nexport namespace EWalletTransactionMetadataVm {\n export enum operation {\n RECHARGE = 'RECHARGE',\n WITHDRAW = 'WITHDRAW',\n PAYMENT = 'PAYMENT',\n TRANSFER = 'TRANSFER',\n PAK_TRANSFER = 'PAK_TRANSFER',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type GpPaymentVm = {\n merchantNumber: string;\n operation: string;\n orderNumber: number;\n amount: number;\n currency: number;\n depositFlag: number;\n merordernum: number;\n url: string;\n description?: string;\n md?: string;\n payMethod?: string;\n disableMethod?: string;\n payMethods?: string;\n email?: string;\n referenceNumber?: string;\n addInfo?: string;\n digest: string;\n lang?: string;\n paymentStatus?: GpPaymentVm.paymentStatus;\n};\nexport namespace GpPaymentVm {\n export enum paymentStatus {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiMetadata } from './ApiMetadata';\nexport type HealthCheckResponse = {\n status: HealthCheckResponse.status;\n /**\n * Response Message\n */\n message: string;\n /**\n * HTTP Status Code\n */\n httpCode: number;\n metadata?: ApiMetadata;\n};\nexport namespace HealthCheckResponse {\n export enum status {\n HEALTHY = 'HEALTHY',\n UNHEALTHY = 'UNHEALTHY',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type MessageDto = {\n /**\n * Message identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Type of message\n */\n type: MessageDto.type;\n /**\n * Date and time the message was created\n */\n time: string;\n};\nexport namespace MessageDto {\n /**\n * Type of message\n */\n export enum type {\n CUSTOMER_ACCOUNT_CREATED_EVENT = 'CustomerAccountCreatedEvent',\n CUSTOMER_ACCOUNT_UPDATED_EVENT = 'CustomerAccountUpdatedEvent',\n CUSTOMER_ACCOUNT_DELETED_EVENT = 'CustomerAccountDeletedEvent',\n TARIFF_PROFILE_CREATED_EVENT = 'TariffProfileCreatedEvent',\n TARIFF_PROFILE_UPDATED_EVENT = 'TariffProfileUpdatedEvent',\n TARIFF_PROFILE_DELETED_EVENT = 'TariffProfileDeletedEvent',\n CUSTOMER_CREATED_EVENT = 'CustomerCreatedEvent',\n CUSTOMER_UPDATED_EVENT = 'CustomerUpdatedEvent',\n CUSTOMER_DELETED_EVENT = 'CustomerDeletedEvent',\n CUSTOMER_PROFILE_CREATED_EVENT = 'CustomerProfileCreatedEvent',\n CUSTOMER_PROFILE_UPDATED_EVENT = 'CustomerProfileUpdatedEvent',\n CUSTOMER_PROFILE_DELETED_EVENT = 'CustomerProfileDeletedEvent',\n CUSTOMER_CARD_CREATED_EVENT = 'CustomerCardCreatedEvent',\n CUSTOMER_CARD_UPDATED_EVENT = 'CustomerCardUpdatedEvent',\n CUSTOMER_CARD_DELETED_EVENT = 'CustomerCardDeletedEvent',\n ZONE_CREATED_EVENT = 'ZoneCreatedEvent',\n ZONE_UPDATED_EVENT = 'ZoneUpdatedEvent',\n ZONE_DELETED_EVENT = 'ZoneDeletedEvent',\n ZONE_SYNC_EVENT = 'ZoneSyncEvent',\n TICKET_FARE_CREATED_EVENT = 'TicketFareCreatedEvent',\n TICKET_FARE_UPDATED_EVENT = 'TicketFareUpdatedEvent',\n TICKET_FARE_DELETED_EVENT = 'TicketFareDeletedEvent',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type OldPendingEshopOrdersQuery = {\n /**\n * Payment state\n */\n state: OldPendingEshopOrdersQuery.state;\n /**\n * Filter by issued older than. Type: 'DATE'\n */\n issuedDate: string;\n /**\n * Ticket valid from date. Type: 'DATE'\n */\n ticketValidFrom: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace OldPendingEshopOrdersQuery {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { EnumDto } from './EnumDto';\nexport type OrderItemDto = {\n /**\n * Type of order item.\n */\n type: OrderItemDto.type;\n /**\n * Marks the order item as a cancellation.\n */\n cancellation: boolean;\n feeName?: string;\n feeId?: string;\n productName?: string;\n /**\n * Ticket fare zone.\n */\n zone: EnumDto;\n /**\n * Ticket fare customer profile identifier. Type: 'UUID'\n */\n customerProfileId?: string;\n /**\n * Ticket fare tariff profile identifier. Type: 'UUID'\n */\n tariffProfileId?: string;\n /**\n * Ticket fare combination identifier. Type: 'UUID'\n */\n ticketCombinationId?: string;\n /**\n * Ticket fare validity start date. Type: 'DATE'\n */\n validFrom?: string;\n /**\n * Ticket fare validity end date. Type: 'DATE'\n */\n validTo?: string;\n reclamationNumber?: number;\n /**\n * Quantity.\n */\n quantity: number;\n /**\n * Price per one item.\n */\n price: number;\n /**\n * Total price. Price x Quantity.\n */\n totalPrice: number;\n /**\n * Tax percentage.\n */\n taxPercentage: number;\n /**\n * Card number.\n */\n cardNumber?: string;\n /**\n * Electronic wallet operation type.\n */\n eWalletOperationType?: string;\n /**\n * Electronic wallet new balance.\n */\n eWalletNewBalance?: number;\n /**\n * Name of customer.\n */\n customerFullName?: string;\n /**\n * Customer card validity end date. Type: 'DATE'\n */\n cardValidTo?: string;\n};\nexport namespace OrderItemDto {\n /**\n * Type of order item.\n */\n export enum type {\n FEE = 'FEE',\n PRODUCT = 'PRODUCT',\n TICKET_FARE = 'TICKET_FARE',\n PAK_TICKET_FARE = 'PAK_TICKET_FARE',\n ELECTRONIC_WALLET = 'ELECTRONIC_WALLET',\n RECLAMATION = 'RECLAMATION',\n ROUNDING = 'ROUNDING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type PaymentStatus = {\n paymentStatus: PaymentStatus.paymentStatus;\n};\nexport namespace PaymentStatus {\n export enum paymentStatus {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type PayShortTermTicketsByWalletCommand = {\n /**\n * Operation types.\n */\n operation: PayShortTermTicketsByWalletCommand.operation;\n /**\n * Price.\n */\n price: number;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace PayShortTermTicketsByWalletCommand {\n /**\n * Operation types.\n */\n export enum operation {\n RECHARGE = 'RECHARGE',\n WITHDRAW = 'WITHDRAW',\n PAYMENT = 'PAYMENT',\n TRANSFER = 'TRANSFER',\n PAK_TRANSFER = 'PAK_TRANSFER',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardProfileVm } from './CardProfileVm';\nimport type { ElectronicWalletDto } from './ElectronicWalletDto';\nimport type { EnumDto } from './EnumDto';\nimport type { TicketFareDto } from './TicketFareDto';\nexport type PortableCardDetailVm = {\n electronicWallet: ElectronicWalletDto;\n ticketFares: Array;\n /**\n * Card profile. Contains date range, profile itself and optional confirmation check date.\n */\n profileOne?: CardProfileVm;\n /**\n * Card profile. Contains date range, profile itself and optional confirmation check date.\n */\n profileTwo?: CardProfileVm;\n customerCardType: PortableCardDetailVm.customerCardType;\n /**\n * Portable card identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Unique identifier of card.\n */\n cardNumber: string;\n /**\n * Chip number identifier. Is unique.\n */\n chipNumber: string;\n /**\n * Card valid from. Type: 'DATE'\n */\n validFrom: string;\n /**\n * Card valid to. Type: 'DATE'\n */\n validTo: string;\n note?: string;\n /**\n * Card state. Active, blocked, ...\n */\n state: EnumDto;\n};\nexport namespace PortableCardDetailVm {\n export enum customerCardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type PortableCardQuery = {\n cardNumber?: string;\n /**\n * Card state\n */\n state?: PortableCardQuery.state;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace PortableCardQuery {\n /**\n * Card state\n */\n export enum state {\n NOT_ISSUED = 'NOT_ISSUED',\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n IN_PROGRESS = 'IN_PROGRESS',\n TOKENIZED = 'TOKENIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { EnumDto } from './EnumDto';\nexport type PseudonymizedCustomerCardVm = {\n /**\n * Customer card identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Unique identifier of card.\n */\n cardNumber: string;\n /**\n * Chip number identifier. Is unique.\n */\n chipNumber: string;\n /**\n * Card valid to. Type: 'DATE'\n */\n validTo: string;\n /**\n * Card valid from. Type: 'DATE'\n */\n validFrom: string;\n note?: string;\n /**\n * Card state. Active, blocked, ...\n */\n state: EnumDto;\n /**\n * Card type. Smart or bank.\n */\n type: EnumDto;\n customerCardType: PseudonymizedCustomerCardVm.customerCardType;\n /**\n * Is this card a reclamation card\n */\n reclamation: boolean;\n /**\n * Contact me if card found\n */\n contactMeIfCardFound: boolean;\n /**\n * Data protection\n */\n dataProtection: string;\n};\nexport namespace PseudonymizedCustomerCardVm {\n export enum customerCardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardProfileVm } from './CardProfileVm';\nimport type { CustomerDto } from './CustomerDto';\nimport type { ElectronicWalletDto } from './ElectronicWalletDto';\nimport type { EnumDto } from './EnumDto';\nimport type { TicketFareDto } from './TicketFareDto';\nexport type ReclamationCardDetailVm = {\n electronicWallet: ElectronicWalletDto;\n ticketFares: Array;\n /**\n * Card profile. Contains date range, profile itself and optional confirmation check date.\n */\n profileOne?: CardProfileVm;\n /**\n * Card profile. Contains date range, profile itself and optional confirmation check date.\n */\n profileTwo?: CardProfileVm;\n /**\n * Current card ownership from. Type: 'DATE'\n */\n ownershipFrom?: string;\n /**\n * Current card ownership to. Type: 'DATE'\n */\n ownershipTo?: string;\n customerCardType: ReclamationCardDetailVm.customerCardType;\n /**\n * Portable card identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Unique identifier of card.\n */\n cardNumber: string;\n /**\n * Chip number identifier. Is unique.\n */\n chipNumber: string;\n /**\n * Card state. Active, blocked, ...\n */\n state: EnumDto;\n customer?: CustomerDto;\n note?: string;\n /**\n * Card valid from. Type: 'DATE'\n */\n validFrom: string;\n /**\n * Card valid to. Type: 'DATE'\n */\n validTo: string;\n};\nexport namespace ReclamationCardDetailVm {\n export enum customerCardType {\n PERSONAL = 'PERSONAL',\n PORTABLE = 'PORTABLE',\n RECLAMATION = 'RECLAMATION',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n BANK_CARD = 'BANK_CARD',\n WHITE_LIST_CARD = 'WHITE_LIST_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type ReclamationCardQuery = {\n /**\n * Unique identifier of card.\n */\n cardNumber?: string;\n customerName?: string;\n /**\n * Card state\n */\n state?: ReclamationCardQuery.state;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace ReclamationCardQuery {\n /**\n * Card state\n */\n export enum state {\n NOT_ISSUED = 'NOT_ISSUED',\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n IN_PROGRESS = 'IN_PROGRESS',\n TOKENIZED = 'TOKENIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type ReclamationQuery = {\n /**\n * Customer name. \"LastName FirstName.\n */\n customerName?: string;\n /**\n * Reclamation state.\n */\n state?: ReclamationQuery.state;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace ReclamationQuery {\n /**\n * Reclamation state.\n */\n export enum state {\n PENDING = 'PENDING',\n REJECTED = 'REJECTED',\n APPROVED_COUNTER_PAY_OFF = 'APPROVED_COUNTER_PAY_OFF',\n APPROVED_CARD_UPLOAD = 'APPROVED_CARD_UPLOAD',\n FINALIZED = 'FINALIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { SaveNameCommand } from './SaveNameCommand';\nexport type SaveReclamationCommand = {\n subjectTypeName: SaveReclamationCommand.subjectTypeName;\n customerName: SaveNameCommand;\n cardTypeName?: SaveReclamationCommand.cardTypeName;\n /**\n * Card number of Map or Pak card.\n */\n cardNumber?: string;\n /**\n * Customer contact. Email or phone.\n */\n reclaimPersonContact: string;\n /**\n * Device detail. JA/PA/line.\n */\n deviceName?: string;\n /**\n * Datetime when incident was happened. TYPE: 'DATETIME'\n */\n reclamationDate: string;\n description?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace SaveReclamationCommand {\n export enum subjectTypeName {\n TICKET_MACHINE = 'TICKET_MACHINE',\n CHECK_IN_CHECK_OUT = 'CHECK_IN_CHECK_OUT',\n ONLINE_RECHARGE = 'ONLINE_RECHARGE',\n PARKING_METER = 'PARKING_METER',\n CARD = 'CARD',\n MAP_PHONE = 'MAP_PHONE',\n OTHER = 'OTHER',\n }\n export enum cardTypeName {\n MAP_CARD = 'MAP_CARD',\n PAK_CARD = 'PAK_CARD',\n CREDIT_CARD = 'CREDIT_CARD',\n VIRTUAL_CARD = 'VIRTUAL_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { EnumDto } from './EnumDto';\nimport type { PersonDto } from './PersonDto';\nexport type ShoppingCartItemVm = {\n /**\n * Item identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Type of shopping cart item.\n */\n type: ShoppingCartItemVm.type;\n /**\n * Marks the shopping cart item as a cancellation.\n */\n cancellation: boolean;\n feeName?: string;\n feeId?: string;\n productName?: string;\n /**\n * Ticket fare zone.\n */\n zone: EnumDto;\n /**\n * Ticket fare customer profile identifier. Type: 'UUID'\n */\n customerProfileId?: string;\n /**\n * Ticket fare tariff profile identifier. Type: 'UUID'\n */\n tariffProfileId?: string;\n /**\n * Ticket fare combination identifier. Type: 'UUID'\n */\n ticketCombinationId?: string;\n /**\n * Ticket fare validity start date. Type: 'DATE'\n */\n validFrom?: string;\n /**\n * Ticket fare validity end date. Type: 'DATE'\n */\n validTo?: string;\n /**\n * Electronic wallet operation type.\n */\n eWalletOperationType?: string;\n /**\n * The customer to whom the item is attached. Should be needed only for e-shop.\n */\n customer?: PersonDto;\n /**\n * Additional description.\n */\n description?: string;\n /**\n * Quantity.\n */\n quantity: number;\n /**\n * Max quantity. If 1 do not show increment or decrement button.\n */\n maxQuantity: number;\n /**\n * Price per one item.\n */\n price: number;\n /**\n * Tax percentage.\n */\n taxPercentage: number;\n /**\n * Total price. Price x Quantity.\n */\n totalPrice: number;\n /**\n * Extra data used for dynamic metadata. E.g.: productId\n */\n payload?: any;\n /**\n * Customer account cart lifetime. Type: 'DATE'\n */\n cartLifetime?: string;\n};\nexport namespace ShoppingCartItemVm {\n /**\n * Type of shopping cart item.\n */\n export enum type {\n FEE = 'FEE',\n PRODUCT = 'PRODUCT',\n TICKET_FARE = 'TICKET_FARE',\n PAK_TICKET_FARE = 'PAK_TICKET_FARE',\n ELECTRONIC_WALLET = 'ELECTRONIC_WALLET',\n RECLAMATION = 'RECLAMATION',\n ROUNDING = 'ROUNDING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type StockTransactionQuery = {\n /**\n * Stock Action. Accept, move, sell.\n */\n action?: StockTransactionQuery.action;\n /**\n * Identifier of stocks. Origin or destination. Type: 'UUID'\n */\n stockId?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by month. Default: current month. Type: 'DATE'\n */\n month: string;\n /**\n * Identifier of product. Type: 'UUID'\n */\n productId?: string;\n};\nexport namespace StockTransactionQuery {\n /**\n * Stock Action. Accept, move, sell.\n */\n export enum action {\n ACCEPT = 'ACCEPT',\n MOVE = 'MOVE',\n EXTERNAL_SELL = 'EXTERNAL_SELL',\n COUNTER_SELL = 'COUNTER_SELL',\n COUNTER_CANCEL = 'COUNTER_CANCEL',\n LIQUIDATION = 'LIQUIDATION',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type SystemEshopOrderQuery = {\n /**\n * Payment state\n */\n state?: SystemEshopOrderQuery.state;\n /**\n * Payment type. Bank card or Invoice.\n */\n paymentType?: any;\n /**\n * Filter by payment date from within date range. Type: 'DATE'\n */\n paymentDateFrom?: string;\n /**\n * Filter by payment date to within date range. Type: 'DATE'\n */\n paymentDateTo?: string;\n /**\n * Filter by issued from within date range. Type: 'DATE'\n */\n issuedFrom?: string;\n /**\n * Filter by issued to within date range. Type: 'DATE'\n */\n issuedTo?: string;\n /**\n * Filter only orders by variable symbol\n */\n variableSymbol?: string;\n /**\n * Filter only orders by card number\n */\n cardNumber?: string;\n /**\n * Filter only card application by number\n */\n accountEmail?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace SystemEshopOrderQuery {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type TariffProfileQuery = {\n /**\n * Validity of tariff profiles. Past, Present, Future.\n */\n validity?: TariffProfileQuery.validity;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace TariffProfileQuery {\n /**\n * Validity of tariff profiles. Past, Present, Future.\n */\n export enum validity {\n PAST = 'PAST',\n PRESENT = 'PRESENT',\n FUTURE = 'FUTURE',\n PRESENT_OR_FUTURE = 'PRESENT_OR_FUTURE',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type TicketCombinationQuery = {\n /**\n * Customer profile identifier. Type: 'UUID'\n */\n customerProfileId?: string;\n /**\n * Customer profile type. Values: PERSONAL, IMPERSONAL\n */\n customerProfileType?: TicketCombinationQuery.customerProfileType;\n /**\n * Validity of tariff profiles. Past, Present, Future.\n */\n validity?: TicketCombinationQuery.validity;\n reduced?: boolean;\n typeName?: TicketCombinationQuery.typeName;\n /**\n * The flag determining the ticket with this combination can be sold at the counter.\n */\n counterSale?: boolean;\n /**\n * The flag determining the ticket with this combination can be sold in the e-shop.\n */\n eshopSale?: boolean;\n /**\n * A flag that determines whether a short-term ticket with this combination can be sold in a mobile application on a virtual card. A short-term ticket with this combination is tied to the customer profile on the virtual card.\n */\n mobileVirtualCardSale?: boolean;\n /**\n * The flag determining whether a short-term ticket with this combination can be sold in a mobile application cannot be combined with a sale at the counter or a sale in an e-shop. A short-term ticket with this combination can also be purchased in the mobile application without a transport / virtual card.\n */\n mobileEshopAccountSale?: boolean;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace TicketCombinationQuery {\n /**\n * Customer profile type. Values: PERSONAL, IMPERSONAL\n */\n export enum customerProfileType {\n IMPERSONAL = 'IMPERSONAL',\n PERSONAL = 'PERSONAL',\n }\n /**\n * Validity of tariff profiles. Past, Present, Future.\n */\n export enum validity {\n PAST = 'PAST',\n PRESENT = 'PRESENT',\n FUTURE = 'FUTURE',\n PRESENT_OR_FUTURE = 'PRESENT_OR_FUTURE',\n }\n export enum typeName {\n SINGLE = 'SINGLE',\n TIME = 'TIME',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type TicketStateListQuery = {\n stateIds?: Array<'CANCELLED' | 'EXPIRED' | 'ACTIVE' | 'FUTURE'>;\n combinationType?: TicketStateListQuery.combinationType;\n cardNumber?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace TicketStateListQuery {\n export enum combinationType {\n SINGLE = 'SINGLE',\n TIME = 'TIME',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type TicketStateVm = {\n /**\n * Ticket state\n */\n code: TicketStateVm.code;\n /**\n * Ticket display name\n */\n displayName: string;\n};\nexport namespace TicketStateVm {\n /**\n * Ticket state\n */\n export enum code {\n CANCELLED = 'CANCELLED',\n EXPIRED = 'EXPIRED',\n ACTIVE = 'ACTIVE',\n FUTURE = 'FUTURE',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type UpdateEshopReclamationCommand = {\n state: UpdateEshopReclamationCommand.state;\n evaluationNote: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace UpdateEshopReclamationCommand {\n export enum state {\n PENDING = 'PENDING',\n REJECTED = 'REJECTED',\n FINALIZED = 'FINALIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type UpdatePortableCardCommand = {\n /**\n * Card state enum. Represents active, blocked, expired.\n */\n state: UpdatePortableCardCommand.state;\n note?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace UpdatePortableCardCommand {\n /**\n * Card state enum. Represents active, blocked, expired.\n */\n export enum state {\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type UpdateReclamationCardCommand = {\n /**\n * Card state enum. Represents active, blocked, expired.\n */\n state: UpdateReclamationCardCommand.state;\n note?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace UpdateReclamationCardCommand {\n /**\n * Card state enum. Represents active, blocked, expired.\n */\n export enum state {\n NOT_ISSUED = 'NOT_ISSUED',\n ACTIVE = 'ACTIVE',\n BLOCKED = 'BLOCKED',\n EXPIRED = 'EXPIRED',\n IN_PROGRESS = 'IN_PROGRESS',\n TOKENIZED = 'TOKENIZED',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type UpdateSystemEshopOrderCommand = {\n /**\n * Payment state\n */\n state: UpdateSystemEshopOrderCommand.state;\n note?: string;\n /**\n * Payment Date. Type: 'DATE'\n */\n paymentDate?: string;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace UpdateSystemEshopOrderCommand {\n /**\n * Payment state\n */\n export enum state {\n PENDING = 'PENDING',\n PAID = 'PAID',\n CANCELLED = 'CANCELLED',\n REJECTED = 'REJECTED',\n RETURNED = 'RETURNED',\n PROCESSING = 'PROCESSING',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type UpdateVehicleBankCardTokenCommand = {\n /**\n * Status\n */\n status: UpdateVehicleBankCardTokenCommand.status;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace UpdateVehicleBankCardTokenCommand {\n /**\n * Status\n */\n export enum status {\n NOT_IN_DENY_LIST = 'NOT_IN_DENY_LIST',\n IS_IN_DENY_LIST = 'IS_IN_DENY_LIST',\n WAS_IN_DENY_LIST = 'WAS_IN_DENY_LIST',\n DENY_LIST_RECOVER_DEPLETED = 'DENY_LIST_RECOVER_DEPLETED',\n CARD_NOT_FOUND = 'CARD_NOT_FOUND',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ClientInput } from './ClientInput';\nexport type UpdateZoneCommand = {\n name: string;\n number?: number;\n availableInPriceList: boolean;\n type: UpdateZoneCommand.type;\n /**\n * UUIDs of zones to assign to the combined zone.\n */\n zoneIds?: Array;\n /**\n * Localizations.\n */\n localizations: Array;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n};\nexport namespace UpdateZoneCommand {\n export enum type {\n SIMPLE = 'SIMPLE',\n COMBINED = 'COMBINED',\n ALL_NETWORK = 'ALL_NETWORK',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type VehicleBankCardTokenDto = {\n id: string;\n token: string;\n status: VehicleBankCardTokenDto.status;\n};\nexport namespace VehicleBankCardTokenDto {\n export enum status {\n NOT_IN_DENY_LIST = 'NOT_IN_DENY_LIST',\n IS_IN_DENY_LIST = 'IS_IN_DENY_LIST',\n WAS_IN_DENY_LIST = 'WAS_IN_DENY_LIST',\n DENY_LIST_RECOVER_DEPLETED = 'DENY_LIST_RECOVER_DEPLETED',\n CARD_NOT_FOUND = 'CARD_NOT_FOUND',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type VehicleBankCardTokenQuery = {\n /**\n * Token of card.\n */\n token?: string;\n /**\n * Status.\n */\n status?: VehicleBankCardTokenQuery.status;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace VehicleBankCardTokenQuery {\n /**\n * Status.\n */\n export enum status {\n NOT_IN_DENY_LIST = 'NOT_IN_DENY_LIST',\n IS_IN_DENY_LIST = 'IS_IN_DENY_LIST',\n WAS_IN_DENY_LIST = 'WAS_IN_DENY_LIST',\n DENY_LIST_RECOVER_DEPLETED = 'DENY_LIST_RECOVER_DEPLETED',\n CARD_NOT_FOUND = 'CARD_NOT_FOUND',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type VehicleTransactionQuery = {\n /**\n * Device number on which was transaction assigned.\n */\n deviceNumber?: number;\n /**\n * Number of transaction. Is unique.\n */\n transactionNumber?: number;\n /**\n * Transaction type. Example: CHECK_IN, CHECK_OUT...\n */\n transactionType?: VehicleTransactionQuery.transactionType;\n /**\n * Payment type. EXAMPLE: CASH, BANK_CARD...\n */\n paymentType?: VehicleTransactionQuery.paymentType;\n /**\n * Card type. Example: BANK_CARD, MAP_CARD\n */\n cardType?: VehicleTransactionQuery.cardType;\n /**\n * Card number on which was transaction assigned.\n */\n cardNumber?: string;\n /**\n * Payment variable symbol.\n */\n paymentVariableSymbol?: number;\n /**\n * Payment code.\n */\n paymentCode?: string;\n /**\n * Line number.\n */\n lineNumber?: number;\n /**\n * Station name.\n */\n currentStation?: string;\n /**\n * Bank card token.\n */\n token?: string;\n /**\n * Vehicle number.\n */\n vehicleNumber?: number;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n /**\n * Filter by date within date range. Type: 'DATE'\n */\n date?: string;\n};\nexport namespace VehicleTransactionQuery {\n /**\n * Transaction type. Example: CHECK_IN, CHECK_OUT...\n */\n export enum transactionType {\n PAPER_TICKET = 'PAPER_TICKET',\n ELECTRONIC_TICKET = 'ELECTRONIC_TICKET',\n CHECK_IN = 'CHECK_IN',\n CHECK_OUT = 'CHECK_OUT',\n CANCELLED_TICKET = 'CANCELLED_TICKET',\n GREEN_LIST_WALLET = 'GREEN_LIST_WALLET',\n GREEN_LIST_TICKET = 'GREEN_LIST_TICKET',\n WALLET_CHANGE = 'WALLET_CHANGE',\n CARD_BLOCKING = 'CARD_BLOCKING',\n CARD_VALIDITY_EXT = 'CARD_VALIDITY_EXT',\n OVERPAYMENT = 'OVERPAYMENT',\n }\n /**\n * Payment type. EXAMPLE: CASH, BANK_CARD...\n */\n export enum paymentType {\n CASH = 'CASH',\n BANK_CARD = 'BANK_CARD',\n ELECTRONIC_WALLET = 'ELECTRONIC_WALLET',\n INVOICE = 'INVOICE',\n }\n /**\n * Card type. Example: BANK_CARD, MAP_CARD\n */\n export enum cardType {\n BANK_CARD = 'BANK_CARD',\n MAP_CARD = 'MAP_CARD',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { LocalizationDto } from './LocalizationDto';\nexport type ZoneDto = {\n /**\n * Zone identifier. Type: 'UUID'\n */\n id: string;\n name: string;\n /**\n * Zone number.\n */\n number: number;\n /**\n * Whether is it displayed on FE or not.\n */\n availableInPriceList: boolean;\n deletable: boolean;\n type: ZoneDto.type;\n /**\n * Translations for FE.\n */\n localizations?: Array;\n displayName: string;\n zones?: Array;\n};\nexport namespace ZoneDto {\n export enum type {\n SIMPLE = 'SIMPLE',\n COMBINED = 'COMBINED',\n ALL_NETWORK = 'ALL_NETWORK',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type ZoneQuery = {\n /**\n * Filter zones by name\n */\n name?: string;\n /**\n * Filter zones by type\n */\n type?: ZoneQuery.type;\n /**\n * Client current timezone offset in minutes. Is required.\n */\n timezoneOffset?: number;\n /**\n * Page Size. Default: 25\n */\n limit?: number;\n /**\n * Offsetting x items. Default: 0\n */\n offset?: number;\n /**\n * Sort by. Default: id\n */\n sortBy?: string;\n /**\n * Sort order descendent. Default: true\n */\n sortDesc?: boolean;\n /**\n * Sort with locale. Default: sk\n */\n sortLocale?: string;\n};\nexport namespace ZoneQuery {\n /**\n * Filter zones by type\n */\n export enum type {\n SIMPLE = 'SIMPLE',\n COMBINED = 'COMBINED',\n ALL_NETWORK = 'ALL_NETWORK',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type ZoneSendCreateDto = {\n /**\n * Zone identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Zone name.\n */\n name: string;\n /**\n * Zone number.\n */\n number: number;\n type: ZoneSendCreateDto.type;\n /**\n * UUIDs of zones to assign to the combined zone.\n */\n zoneIds?: Array;\n};\nexport namespace ZoneSendCreateDto {\n export enum type {\n SIMPLE = 'SIMPLE',\n COMBINED = 'COMBINED',\n ALL_NETWORK = 'ALL_NETWORK',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport type ZoneSyncDto = {\n /**\n * Zone identifier. Type: 'UUID'\n */\n id: string;\n /**\n * Zone name.\n */\n name: string;\n /**\n * Zone number.\n */\n number: number;\n type: ZoneSyncDto.type;\n /**\n * UUIDs of zones to assign to the combined zone.\n */\n zoneIds?: Array;\n};\nexport namespace ZoneSyncDto {\n export enum type {\n SIMPLE = 'SIMPLE',\n COMBINED = 'COMBINED',\n ALL_NETWORK = 'ALL_NETWORK',\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport axios from 'axios';\nimport type { AxiosError, AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';\nimport FormData from 'form-data';\n\nimport { ApiError } from './ApiError';\nimport type { ApiRequestOptions } from './ApiRequestOptions';\nimport type { ApiResult } from './ApiResult';\nimport { CancelablePromise } from './CancelablePromise';\nimport type { OnCancel } from './CancelablePromise';\nimport type { OpenAPIConfig } from './OpenAPI';\n\nexport const isDefined = (value: T | null | undefined): value is Exclude => {\n return value !== undefined && value !== null;\n};\n\nexport const isString = (value: any): value is string => {\n return typeof value === 'string';\n};\n\nexport const isStringWithValue = (value: any): value is string => {\n return isString(value) && value !== '';\n};\n\nexport const isBlob = (value: any): value is Blob => {\n return (\n typeof value === 'object' &&\n typeof value.type === 'string' &&\n typeof value.stream === 'function' &&\n typeof value.arrayBuffer === 'function' &&\n typeof value.constructor === 'function' &&\n typeof value.constructor.name === 'string' &&\n /^(Blob|File)$/.test(value.constructor.name) &&\n /^(Blob|File)$/.test(value[Symbol.toStringTag])\n );\n};\n\nexport const isFormData = (value: any): value is FormData => {\n return value instanceof FormData;\n};\n\nexport const isSuccess = (status: number): boolean => {\n return status >= 200 && status < 300;\n};\n\nexport const base64 = (str: string): string => {\n try {\n return btoa(str);\n } catch (err) {\n // @ts-ignore\n return Buffer.from(str).toString('base64');\n }\n};\n\nexport const getQueryString = (params: Record): string => {\n const qs: string[] = [];\n\n const append = (key: string, value: any) => {\n qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);\n };\n\n const process = (key: string, value: any) => {\n if (isDefined(value)) {\n if (Array.isArray(value)) {\n value.forEach(v => {\n process(key, v);\n });\n } else if (typeof value === 'object') {\n Object.entries(value).forEach(([k, v]) => {\n process(`${key}[${k}]`, v);\n });\n } else {\n append(key, value);\n }\n }\n };\n\n Object.entries(params).forEach(([key, value]) => {\n process(key, value);\n });\n\n if (qs.length > 0) {\n return `?${qs.join('&')}`;\n }\n\n return '';\n};\n\nconst getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {\n const encoder = config.ENCODE_PATH || encodeURI;\n\n const path = options.url\n .replace('{api-version}', config.VERSION)\n .replace(/{(.*?)}/g, (substring: string, group: string) => {\n if (options.path?.hasOwnProperty(group)) {\n return encoder(String(options.path[group]));\n }\n return substring;\n });\n\n const url = `${config.BASE}${path}`;\n if (options.query) {\n return `${url}${getQueryString(options.query)}`;\n }\n return url;\n};\n\nexport const getFormData = (options: ApiRequestOptions): FormData | undefined => {\n if (options.formData) {\n const formData = new FormData();\n\n const process = (key: string, value: any) => {\n if (isString(value) || isBlob(value)) {\n formData.append(key, value);\n } else {\n formData.append(key, JSON.stringify(value));\n }\n };\n\n Object.entries(options.formData)\n .filter(([_, value]) => isDefined(value))\n .forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach(v => process(key, v));\n } else {\n process(key, value);\n }\n });\n\n return formData;\n }\n return undefined;\n};\n\ntype Resolver = (options: ApiRequestOptions) => Promise;\n\nexport const resolve = async (options: ApiRequestOptions, resolver?: T | Resolver): Promise => {\n if (typeof resolver === 'function') {\n return (resolver as Resolver)(options);\n }\n return resolver;\n};\n\nexport const getHeaders = async (\n config: OpenAPIConfig,\n options: ApiRequestOptions,\n formData?: FormData,\n): Promise> => {\n const [token, username, password, additionalHeaders] = await Promise.all([\n resolve(options, config.TOKEN),\n resolve(options, config.USERNAME),\n resolve(options, config.PASSWORD),\n resolve(options, config.HEADERS),\n ]);\n\n const formHeaders = (typeof formData?.getHeaders === 'function' && formData?.getHeaders()) || {};\n\n const headers = Object.entries({\n Accept: 'application/json',\n ...additionalHeaders,\n ...options.headers,\n ...formHeaders,\n })\n .filter(([_, value]) => isDefined(value))\n .reduce(\n (headers, [key, value]) => ({\n ...headers,\n [key]: String(value),\n }),\n {} as Record,\n );\n\n if (isStringWithValue(token)) {\n headers['Authorization'] = `Bearer ${token}`;\n }\n\n if (isStringWithValue(username) && isStringWithValue(password)) {\n const credentials = base64(`${username}:${password}`);\n headers['Authorization'] = `Basic ${credentials}`;\n }\n\n if (options.body !== undefined) {\n if (options.mediaType) {\n headers['Content-Type'] = options.mediaType;\n } else if (isBlob(options.body)) {\n headers['Content-Type'] = options.body.type || 'application/octet-stream';\n } else if (isString(options.body)) {\n headers['Content-Type'] = 'text/plain';\n } else if (!isFormData(options.body)) {\n headers['Content-Type'] = 'application/json';\n }\n }\n\n return headers;\n};\n\nexport const getRequestBody = (options: ApiRequestOptions): any => {\n if (options.body) {\n return options.body;\n }\n return undefined;\n};\n\nexport const sendRequest = async (\n config: OpenAPIConfig,\n options: ApiRequestOptions,\n url: string,\n body: any,\n formData: FormData | undefined,\n headers: Record,\n onCancel: OnCancel,\n axiosClient: AxiosInstance,\n): Promise> => {\n const source = axios.CancelToken.source();\n\n const requestConfig: AxiosRequestConfig = {\n url,\n headers,\n data: body ?? formData,\n method: options.method,\n withCredentials: config.WITH_CREDENTIALS,\n withXSRFToken: config.CREDENTIALS === 'include' ? config.WITH_CREDENTIALS : false,\n cancelToken: source.token,\n };\n\n onCancel(() => source.cancel('The user aborted a request.'));\n\n try {\n return await axiosClient.request(requestConfig);\n } catch (error) {\n const axiosError = error as AxiosError;\n if (axiosError.response) {\n return axiosError.response;\n }\n throw error;\n }\n};\n\nexport const getResponseHeader = (response: AxiosResponse, responseHeader?: string): string | undefined => {\n if (responseHeader) {\n const content = response.headers[responseHeader];\n if (isString(content)) {\n return content;\n }\n }\n return undefined;\n};\n\nexport const getResponseBody = (response: AxiosResponse): any => {\n if (response?.status !== 204) {\n return response.data;\n }\n return undefined;\n};\n\nexport const catchErrorCodes = (options: ApiRequestOptions, result: ApiResult): void => {\n const errors: Record = {\n 400: 'Bad Request',\n 401: 'Unauthorized',\n 403: 'Forbidden',\n 404: 'Not Found',\n 500: 'Internal Server Error',\n 502: 'Bad Gateway',\n 503: 'Service Unavailable',\n ...options.errors,\n };\n\n const error = errors[result.status];\n if (error) {\n throw new ApiError(options, result, error);\n }\n\n if (!result.ok) {\n const errorStatus = result.status ?? 'unknown';\n const errorStatusText = result.statusText ?? 'unknown';\n const errorBody = (() => {\n try {\n return JSON.stringify(result.body, null, 2);\n } catch (e) {\n return undefined;\n }\n })();\n\n throw new ApiError(\n options,\n result,\n `Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`,\n );\n }\n};\n\n/**\n * Request method\n * @param config The OpenAPI configuration object\n * @param options The request options from the service\n * @param axiosClient The axios client instance to use\n * @returns CancelablePromise\n * @throws ApiError\n */\nexport const request = (\n config: OpenAPIConfig,\n options: ApiRequestOptions,\n axiosClient: AxiosInstance = axios,\n): CancelablePromise => {\n return new CancelablePromise(async (resolve, reject, onCancel) => {\n try {\n const url = getUrl(config, options);\n const formData = getFormData(options);\n const body = getRequestBody(options);\n const headers = await getHeaders(config, options, formData);\n\n if (!onCancel.isCancelled) {\n const response = await sendRequest(config, options, url, body, formData, headers, onCancel, axiosClient);\n const responseBody = getResponseBody(response);\n const responseHeader = getResponseHeader(response, options.responseHeader);\n\n const result: ApiResult = {\n url,\n ok: isSuccess(response.status),\n status: response.status,\n statusText: response.statusText,\n body: responseHeader ?? responseBody,\n };\n\n catchErrorCodes(options, result);\n\n resolve(result.body);\n }\n } catch (error) {\n reject(error);\n }\n });\n};\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CustomerCardInfoListResponse } from '../models/CustomerCardInfoListResponse';\nimport type { CustomerCardResponse } from '../models/CustomerCardResponse';\nimport type { InitTokenizationFromEshopCommand } from '../models/InitTokenizationFromEshopCommand';\nimport type { InitTokenizationResponse } from '../models/InitTokenizationResponse';\nimport type { TokenizationResponse } from '../models/TokenizationResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class BankCardService {\n /**\n * Get bank card info list for the given customer.\n * @returns CustomerCardInfoListResponse\n * @throws ApiError\n */\n public static bankCardControllerGetCustomerBankCards({\n customerId,\n }: {\n customerId: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/bank-card/{customerId}',\n path: {\n customerId: customerId,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Init a tokenization.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **CANNOT_INIT_TOKENIZATION** - Tokenization cannot be inited.\n * @returns InitTokenizationResponse\n * @throws ApiError\n */\n public static bankCardControllerInitTokenization({\n cardApplicationId,\n acceptLanguage,\n requestBody,\n }: {\n cardApplicationId: string;\n acceptLanguage?: string;\n /**\n * InitTokenizationFromEshopCommand\n */\n requestBody?: InitTokenizationFromEshopCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/bank-card/init-tokenization/{cardApplicationId}',\n path: {\n cardApplicationId: cardApplicationId,\n },\n headers: {\n 'Accept-Language': acceptLanguage,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Finish a tokenization.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CARD_APPLICATION** - Card application is invalid or does not exist.
\n * + **CHIP_NUMBER_NOT_UNIQUE** - Chip number already exists.
\n * + **CARD_HAS_UNPROCESSED_TRANSACTIONS** - Card has unprocessed transactions. Upload all transactions to card first.
\n * + **CANNOT_FINISH_TOKENIZATION** - Tokenization cannot be finished.\n * @returns CustomerCardResponse\n * @throws ApiError\n */\n public static bankCardControllerFinishTokenization({\n requestBody,\n }: {\n /**\n * TokenizationResponse\n */\n requestBody?: TokenizationResponse;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/bank-card/finish-tokenization',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Block active bank card.\n * @returns CustomerCardResponse\n * @throws ApiError\n */\n public static bankCardControllerBlockBankCard({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/bank-card/{id}/block',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Activate blocked bank card.\n * @returns CustomerCardResponse\n * @throws ApiError\n */\n public static bankCardControllerActivateBankCard({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/bank-card/{id}/activate',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Remove tokenized or blocked bank card.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static bankCardControllerRemoveBankCard({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/bank-card/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BranchOfficeListResponse } from '../models/BranchOfficeListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class BranchOfficeService {\n /**\n * Get all branch offices\n * @returns BranchOfficeListResponse\n * @throws ApiError\n */\n public static branchOfficeControllerGetAll({\n cardDeliveryAllowed,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n cardDeliveryAllowed?: boolean;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/branch-offices',\n query: {\n cardDeliveryAllowed: cardDeliveryAllowed,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardApplicationStateListResponse } from '../models/CardApplicationStateListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class CardApplicationStateService {\n /**\n * Get card request possible states\n * @returns CardApplicationStateListResponse\n * @throws ApiError\n */\n public static cardApplicationStateControllerGetAll(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/card-application-states',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CardStateListResponse } from '../models/CardStateListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class CardStateService {\n /**\n * Get card possible states\n * @returns CardStateListResponse\n * @throws ApiError\n */\n public static cardStateControllerGetAll(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/card-states',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CarrierTypesListResponse } from '../models/CarrierTypesListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class CarrierTypesService {\n /**\n * Get possible card carrier types\n * @returns CarrierTypesListResponse\n * @throws ApiError\n */\n public static carrierTypesControllerGetAll(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/carrier-types',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AccountActiveTicketListResponse } from '../models/AccountActiveTicketListResponse';\nimport type { AccountCartLifetimeResponse } from '../models/AccountCartLifetimeResponse';\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { AssignCustomerAccountLinkHeaderResponse } from '../models/AssignCustomerAccountLinkHeaderResponse';\nimport type { AssignCustomerToAccountCommand } from '../models/AssignCustomerToAccountCommand';\nimport type { CreateCustomerAccountResponse } from '../models/CreateCustomerAccountResponse';\nimport type { CreateEshopAccountForCustomerCommand } from '../models/CreateEshopAccountForCustomerCommand';\nimport type { CustomerAccountDetailResponse } from '../models/CustomerAccountDetailResponse';\nimport type { CustomerAccountListResponse } from '../models/CustomerAccountListResponse';\nimport type { CustomerAccountSettingResponse } from '../models/CustomerAccountSettingResponse';\nimport type { CustomerListResponse } from '../models/CustomerListResponse';\nimport type { UpdateCustomerAccountCommand } from '../models/UpdateCustomerAccountCommand';\nimport type { UpdateCustomerAccountSettingCommand } from '../models/UpdateCustomerAccountSettingCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class CustomerAccountService {\n /**\n * Get card application.\n * @returns CustomerListResponse\n * @throws ApiError\n */\n public static customerAccountControllerGetAccountRelatedCustomers({\n adultOnly,\n }: {\n adultOnly?: boolean;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-accounts-related-customers',\n query: {\n adultOnly: adultOnly,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update account setting.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns CustomerAccountSettingResponse\n * @throws ApiError\n */\n public static customerAccountControllerUpdateSettings({\n mapPhoneAuthToken,\n requestBody,\n }: {\n mapPhoneAuthToken?: any;\n /**\n * UpdateCustomerAccountSettingCommand\n */\n requestBody?: UpdateCustomerAccountSettingCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-accounts/settings',\n headers: {\n 'map-phone-auth-token': mapPhoneAuthToken,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get active tickets from registered or assigned customers for account.\n * @returns AccountActiveTicketListResponse\n * @throws ApiError\n */\n public static customerAccountControllerGetAccountActiveTickets(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-accounts-active-tickets',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Remove customer eshop account.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static customerAccountControllerRemoveCustomerAccount(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/customer-accounts',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get customer cart lifetime.\n * @returns AccountCartLifetimeResponse\n * @throws ApiError\n */\n public static customerAccountControllerGetCustomerCartLifeTime(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-accounts/cart-lifetime',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Null customer cart lifetime.\n * @returns any Successful response\n * @throws ApiError\n */\n public static customerAccountControllerNullCustomerCartLifetime(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-accounts/cart-lifetime-nullify',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get customer accounts...\n * Require: `PERMISSION_CUSTOMER-CARDS_EDIT`\n * @returns CustomerAccountListResponse\n * @throws ApiError\n */\n public static customerAccountControllerGetAll({\n userName,\n verified,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n userName?: string;\n verified?: boolean;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/system/customer-accounts',\n query: {\n userName: userName,\n verified: verified,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Assign customer to new account\n * Require: `PERMISSION_CUSTOMER-CARDS_EDIT`\n * @returns AssignCustomerAccountLinkHeaderResponse\n * @throws ApiError\n */\n public static customerAccountControllerAssignCustomerToAccount({\n requestBody,\n }: {\n /**\n * AssignCustomerToAccountCommand\n */\n requestBody?: AssignCustomerToAccountCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/system/customer-accounts',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get customer account.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns CustomerAccountDetailResponse\n * @throws ApiError\n */\n public static customerAccountControllerGetOne({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/system/customer-accounts/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update customer account.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_USERNAME** - Invalid username.
\n * + **USERNAME_NOT_UNIQUE** - Username already exists.\n * @returns CustomerAccountDetailResponse\n * @throws ApiError\n */\n public static customerAccountControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateCustomerAccountCommand\n */\n requestBody?: UpdateCustomerAccountCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/system/customer-accounts/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Delete customer account.\n * If an entity has any link, 409 Conflict will be returned.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns ApiResponse\n * @throws ApiError\n */\n public static customerAccountControllerDelete({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/system/customer-accounts/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create eshop account for customer\n * Require: `PERMISSION_CUSTOMER-CARDS_EDIT`\n * @returns CreateCustomerAccountResponse\n * @throws ApiError\n */\n public static customerAccountControllerCreateEshopAccountForCustomer({\n requestBody,\n }: {\n /**\n * CreateEshopAccountForCustomerCommand\n */\n requestBody?: CreateEshopAccountForCustomerCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/system/customer-accounts/create-eshop-account',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CustomerAccountNotificationListResponse } from '../models/CustomerAccountNotificationListResponse';\nimport type { CustomerAccountNotificationResponse } from '../models/CustomerAccountNotificationResponse';\nimport type { UpdateCustomerAccountNotificationCommand } from '../models/UpdateCustomerAccountNotificationCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class CustomerAccountNotificationService {\n /**\n * Get customer account notifications\n * @returns CustomerAccountNotificationListResponse\n * @throws ApiError\n */\n public static customerAccountNotificationControllerGetCustomerAccountNotifications({\n customerAccountId,\n }: {\n customerAccountId: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-account-notifications',\n query: {\n customerAccountId: customerAccountId,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update customer account notifications\n * @returns CustomerAccountNotificationResponse\n * @throws ApiError\n */\n public static customerAccountNotificationControllerUpdateCustomerAccountNotification({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateCustomerAccountNotificationCommand\n */\n requestBody?: UpdateCustomerAccountNotificationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-account-notifications/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CreateCustomerProfileCommand } from '../models/CreateCustomerProfileCommand';\nimport type { CustomerProfileListResponse } from '../models/CustomerProfileListResponse';\nimport type { CustomerProfileResponse } from '../models/CustomerProfileResponse';\nimport type { UpdateCustomerProfileNameCommand } from '../models/UpdateCustomerProfileNameCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class CustomerProfileService {\n /**\n * Get customer profiles.\n * @returns CustomerProfileListResponse\n * @throws ApiError\n */\n public static customerProfileControllerGetAll({\n profileNumber,\n age,\n type,\n onlyPrimary,\n validity,\n includeDeletable,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n date,\n }: {\n profileNumber?: number;\n age?: number;\n type?: 'IMPERSONAL' | 'PERSONAL';\n onlyPrimary?: boolean;\n validity?: 'PAST' | 'PRESENT' | 'FUTURE' | 'PRESENT_OR_FUTURE';\n includeDeletable?: boolean;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n date?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/customer-profiles',\n query: {\n profileNumber: profileNumber,\n age: age,\n type: type,\n onlyPrimary: onlyPrimary,\n validity: validity,\n includeDeletable: includeDeletable,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n date: date,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create customer profile.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VALID_TO** - ValidFrom is after ValidTo OR New ValidFrom is null or new validFrom is before old ValidFrom.
\n * + **INVALID_CUSTOMER_PROFILE_TYPE** - Customer profile type does not exist or for the given ticket combination does not match with card.
\n * + **INVALID_CUSTOMER_PROFILE_VALID_TO_DEFAULT** - Customer profile validTo default does not exist.
\n * + **INVALID_CUSTOMER_PROFILE** - Customer profile does not exist, is not valid for the customer, is impersonal, is not primary or has invalid properties combination.\n * @returns CustomerProfileResponse\n * @throws ApiError\n */\n public static customerProfileControllerCreate({\n requestBody,\n }: {\n /**\n * CreateCustomerProfileCommand\n */\n requestBody?: CreateCustomerProfileCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/public/customer-profiles',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get customer profile by id.\n * @returns CustomerProfileResponse\n * @throws ApiError\n */\n public static customerProfileControllerGetOne({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/customer-profiles/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update customer profile names.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.\n * @returns CustomerProfileResponse\n * @throws ApiError\n */\n public static customerProfileControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateCustomerProfileNameCommand\n */\n requestBody?: UpdateCustomerProfileNameCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/public/customer-profiles/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Delete customer profile.\n * If an entity is being used, 409 Conflict will be returned.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns ApiResponse\n * @throws ApiError\n */\n public static customerProfileControllerDelete({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/public/customer-profiles/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { ChangePasswordCommand } from '../models/ChangePasswordCommand';\nimport type { EshopCustomerAccountResponse } from '../models/EshopCustomerAccountResponse';\nimport type { EshopCustomerProfileResponse } from '../models/EshopCustomerProfileResponse';\nimport type { RegisterCommand } from '../models/RegisterCommand';\nimport type { StringValueCommand } from '../models/StringValueCommand';\nimport type { UpdatePasswordCommand } from '../models/UpdatePasswordCommand';\nimport type { UsernameLoginCommand } from '../models/UsernameLoginCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopAuthService {\n /**\n * Register a customer.\n * Creates unverified customer account.,Send a confirmation link to the given email.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **USERNAME_NOT_UNIQUE** - Username already exists.\n * @returns EshopCustomerAccountResponse\n * @throws ApiError\n */\n public static eshopAuthControllerRegister({\n requestBody,\n }: {\n /**\n * RegisterCommand\n */\n requestBody?: RegisterCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/register',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Resend a verification code for the given email.\n * Body contains an email.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_EMAIL** - Email does not exists or customer account is already verified.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopAuthControllerResend({\n requestBody,\n }: {\n /**\n * StringValueCommand\n */\n requestBody?: StringValueCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/resend',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Confirm a customer account.\n * Verify a customer account based on token.,Body contains a token.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VERIFICATION_TOKEN** - Token is invalid or has already expired.\n * @returns EshopCustomerAccountResponse\n * @throws ApiError\n */\n public static eshopAuthControllerConfirmation({\n requestBody,\n }: {\n /**\n * StringValueCommand\n */\n requestBody?: StringValueCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/confirmation',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Authenticate a customer\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CREDENTIALS** - Username, cardNumber or password is invalid. (also can mean: card is blocked, expired or not valid yet, user is disabled).
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.\n * @returns EshopCustomerProfileResponse\n * @throws ApiError\n */\n public static eshopAuthControllerLogin({\n requestBody,\n }: {\n /**\n * UsernameLoginCommand\n */\n requestBody?: UsernameLoginCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/login',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Authenticate a map phone customer\n * For login is required set header: **map-phone-auth-token**
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CREDENTIALS** - Username, cardNumber or password is invalid. (also can mean: card is blocked, expired or not valid yet, user is disabled).
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.\n * @returns EshopCustomerProfileResponse\n * @throws ApiError\n */\n public static eshopAuthControllerMapPhoneLogin({\n mapPhoneAuthToken,\n requestBody,\n }: {\n mapPhoneAuthToken?: any;\n /**\n * UsernameLoginCommand\n */\n requestBody?: UsernameLoginCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/map-phone-login',\n headers: {\n 'map-phone-auth-token': mapPhoneAuthToken,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Request a password reset.\n * Send a reset password link to the given email.,Body contains an email.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_EMAIL** - Email does not exists or customer account is already verified.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopAuthControllerResetPassword({\n requestBody,\n }: {\n /**\n * StringValueCommand\n */\n requestBody?: StringValueCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/reset-password',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Request a map phone password reset.\n * For reset password is required set header: **map-phone-auth-token**,Send a reset password link to the given email.,Body contains an email.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_EMAIL** - Email does not exists or customer account is already verified.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopAuthControllerMapPhoneResetPassword({\n mapPhoneAuthToken,\n requestBody,\n }: {\n mapPhoneAuthToken?: any;\n /**\n * StringValueCommand\n */\n requestBody?: StringValueCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/map-phone-reset-password',\n headers: {\n 'map-phone-auth-token': mapPhoneAuthToken,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Change a password for the given token.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VERIFICATION_TOKEN** - Token is invalid or has already expired.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopAuthControllerChangePassword({\n requestBody,\n }: {\n /**\n * ChangePasswordCommand\n */\n requestBody?: ChangePasswordCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/change-password',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Change user password.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VERIFICATION_TOKEN** - Token is invalid or has already expired.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopAuthControllerUpdatePassword({\n requestBody,\n }: {\n /**\n * UpdatePasswordCommand\n */\n requestBody?: UpdatePasswordCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/auth/update-password',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiErrorResponse } from '../models/ApiErrorResponse';\nimport type { CardApplicationAttachmentResponse } from '../models/CardApplicationAttachmentResponse';\nimport type { CardApplicationResponse } from '../models/CardApplicationResponse';\nimport type { CreateBankCardApplicationCommand } from '../models/CreateBankCardApplicationCommand';\nimport type { CreateCardApplicationCommand } from '../models/CreateCardApplicationCommand';\nimport type { CreateVirtualCardApplicationCommand } from '../models/CreateVirtualCardApplicationCommand';\nimport type { RejectCardApplicationCommand } from '../models/RejectCardApplicationCommand';\nimport type { UploadAttachmentCommand } from '../models/UploadAttachmentCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopCardApplicationService {\n /**\n * Get card application.\n * @returns CardApplicationResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerGetOne({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/card-applications/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Check if card can be send by post.\n * @returns ApiErrorResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerVerifyIfCardCanBeSendByPost({\n originId,\n draftId,\n }: {\n originId: string;\n draftId?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/card-applications-delivery-check',\n query: {\n draftId: draftId,\n originId: originId,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create card application.\n * If an origin customer is passed to the application, Bad Request error `InvalidCustomer` is returned.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_CUSTOMER_PROFILE** - Customer profile does not exist, is not valid for the customer, is impersonal, is not primary or has invalid properties combination.
\n * + **INVALID_DELIVERY_OPTION** - At least one type of delivery must be set
\n * + **INVALID_BRANCH_OFFICE** - Branch office does not exist.
\n * + **INVALID_PROFILE_VALID_FROM** - Profile ValidFrom is required or is not in card application validFrom-validTo range.
\n * + **INVALID_PROFILE_VALID_TO** - Profile ValidTo is required or is not in card application validFrom-validTo range.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.\n * @returns CardApplicationResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerCreate({\n requestBody,\n }: {\n /**\n * CreateCardApplicationCommand\n */\n requestBody?: CreateCardApplicationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/card-applications',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create a virtual card application.\n * If an origin customer is passed to the application, Bad Request error `InvalidCustomer` is returned.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_CUSTOMER_PROFILE** - Customer profile does not exist, is not valid for the customer, is impersonal, is not primary or has invalid properties combination.
\n * + **INVALID_PROFILE_VALID_FROM** - Profile ValidFrom is required or is not in card application validFrom-validTo range.
\n * + **INVALID_PROFILE_VALID_TO** - Profile ValidTo is required or is not in card application validFrom-validTo range.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.
\n * + **CUSTOMER_ALREADY_HAS_ACTIVE_CARD_APPLICATION** - Customer already has active card application.\n * @returns CardApplicationResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerCreateVirtualCardApplication({\n requestBody,\n }: {\n /**\n * CreateVirtualCardApplicationCommand\n */\n requestBody?: CreateVirtualCardApplicationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/card-applications-virtual',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create a bank card application.\n * If an origin customer is passed to the application, Bad Request error `InvalidCustomer` is returned.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_CUSTOMER_PROFILE** - Customer profile does not exist, is not valid for the customer, is impersonal, is not primary or has invalid properties combination.
\n * + **INVALID_PROFILE_VALID_FROM** - Profile ValidFrom is required or is not in card application validFrom-validTo range.
\n * + **INVALID_PROFILE_VALID_TO** - Profile ValidTo is required or is not in card application validFrom-validTo range.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.
\n * + **CUSTOMER_ALREADY_HAS_ACTIVE_CARD_APPLICATION** - Customer already has active card application.\n * @returns CardApplicationResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerCreateBankCardApplication({\n requestBody,\n }: {\n /**\n * CreateBankCardApplicationCommand\n */\n requestBody?: CreateBankCardApplicationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/card-applications-bank',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Reject a card application.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CARD_APPLICATION_NOT_MODIFIABLE** - Card application cannot be changed, because it's already processed.\n * @returns CardApplicationResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerReject({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * RejectCardApplicationCommand\n */\n requestBody?: RejectCardApplicationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/card-applications/{id}/reject',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Add attachment to card application.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_CUSTOMER_PROFILE** - Customer profile does not exist, is not valid for the customer, is impersonal, is not primary or has invalid properties combination.
\n * + **INVALID_PROFILE_VALID_FROM** - Profile ValidFrom is required or is not in card application validFrom-validTo range.
\n * + **INVALID_PROFILE_VALID_TO** - Profile ValidTo is required or is not in card application validFrom-validTo range.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.
\n * + **CUSTOMER_ALREADY_HAS_ACTIVE_CARD_APPLICATION** - Customer already has active card application.\n * @returns CardApplicationAttachmentResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerUploadAttachment({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UploadAttachmentCommand\n */\n requestBody?: UploadAttachmentCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/card-applications/{id}/attachment',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get last card application.\n * @returns CardApplicationResponse\n * @throws ApiError\n */\n public static eshopCardApplicationControllerGetLast(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/card-applications/last',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiErrorResponse } from '../models/ApiErrorResponse';\nimport type { AssignCustodianCommand } from '../models/AssignCustodianCommand';\nimport type { AssignOriginCommand } from '../models/AssignOriginCommand';\nimport type { CardApplicationListResponse } from '../models/CardApplicationListResponse';\nimport type { ConnectAccountCommand } from '../models/ConnectAccountCommand';\nimport type { CreateCustomerCommand } from '../models/CreateCustomerCommand';\nimport type { CustomerAccountManagedRelationResponse } from '../models/CustomerAccountManagedRelationResponse';\nimport type { CustomerCardInfoListResponse } from '../models/CustomerCardInfoListResponse';\nimport type { CustomerCardResponse } from '../models/CustomerCardResponse';\nimport type { CustomerDetailResponse } from '../models/CustomerDetailResponse';\nimport type { CustomerHeaderResponse } from '../models/CustomerHeaderResponse';\nimport type { CustomerManageableRelationResponse } from '../models/CustomerManageableRelationResponse';\nimport type { CustomerResponse } from '../models/CustomerResponse';\nimport type { CustomerTicketFareListResponse } from '../models/CustomerTicketFareListResponse';\nimport type { ElectronicWalletTransactionResponse } from '../models/ElectronicWalletTransactionResponse';\nimport type { EshopTransferEWalletFromPakCardCommand } from '../models/EshopTransferEWalletFromPakCardCommand';\nimport type { EWalletsTransactionListResponse } from '../models/EWalletsTransactionListResponse';\nimport type { ManagingAccountsCardResponse } from '../models/ManagingAccountsCardResponse';\nimport type { TicketFareIsicPriceResponse } from '../models/TicketFareIsicPriceResponse';\nimport type { UpdateBaseCustomerCommand } from '../models/UpdateBaseCustomerCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopCustomerService {\n /**\n * Get customer.\n * @returns CustomerDetailResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetOne({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update a customer.\n * If a request body payload exceeds 5MB, Bad Request error `INVALID_PHOTO_SIZE` is returned.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_NOT_UNIQUE** - Customer name and birthday combination is not unique.
\n * + **INVALID_PHOTO_SIZE** - The customer's photo is too big, 120kB is maximum.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_ACCOUNT** - Account does not exist or another customer is assigned to this account.
\n * + **INVALID_GDPR_OR_TERMS_APPROVAL** - GDPR, terms and conditions must be approved.
\n * + **CUSTODIAN_IS_REQUIRED** - Custodian is required for customer under the age of 15.
\n * + **CANNOT_CHANGE_BIRTHDAY** - Customer can´t change birthday.\n * @returns CustomerResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateBaseCustomerCommand\n */\n requestBody?: UpdateBaseCustomerCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customers/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create a customer.\n * If a request body payload exceeds 5MB, Bad Request error `INVALID_PHOTO_SIZE` is returned.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_NOT_UNIQUE** - Customer name and birthday combination is not unique.
\n * + **INVALID_PHOTO_SIZE** - The customer's photo is too big, 120kB is maximum.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_ACCOUNT** - Account does not exist or another customer is assigned to this account.
\n * + **INVALID_GDPR_OR_TERMS_APPROVAL** - GDPR, terms and conditions must be approved.
\n * + **CUSTODIAN_IS_REQUIRED** - Custodian is required for customer under the age of 15.
\n * + **CANNOT_CHANGE_BIRTHDAY** - Customer can´t change birthday.\n * @returns CustomerResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerCreate({\n requestBody,\n }: {\n /**\n * CreateCustomerCommand\n */\n requestBody?: CreateCustomerCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/customers',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get active card for the given customer.\n * If customer has no active card, `NOT FOUND` response is returned.\n * @returns CustomerCardResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetCustomerActiveCard({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/active-card',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get card info list for the given customer.\n * Field `stateIds` must be send as stateIds[]=value.\n * @returns CustomerCardInfoListResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetCustomerCards({\n id,\n stateIds,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n id: string;\n stateIds?: Array;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/cards',\n path: {\n id: id,\n },\n query: {\n stateIds: stateIds,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get ticket list for the given customer.\n * @returns CustomerTicketFareListResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetCustomerTicketFares({\n id,\n stateIds,\n combinationType,\n cardNumber,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n id: string;\n stateIds?: Array<'CANCELLED' | 'EXPIRED' | 'ACTIVE' | 'FUTURE'>;\n combinationType?: 'SINGLE' | 'TIME';\n cardNumber?: string;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/ticket-fares',\n path: {\n id: id,\n },\n query: {\n stateIds: stateIds,\n combinationType: combinationType,\n cardNumber: cardNumber,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get e-wallets transaction list for the given customer.\n * @returns EWalletsTransactionListResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetCustomerEWalletsTransactions({\n id,\n operations,\n paymentTypes,\n cardNumber,\n chipNumber,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n date,\n }: {\n id: string;\n operations?: Array<'RECHARGE' | 'WITHDRAW' | 'PAYMENT' | 'TRANSFER' | 'PAK_TRANSFER'>;\n paymentTypes?: Array<'CASH' | 'BANK_CARD' | 'ELECTRONIC_WALLET' | 'INVOICE'>;\n cardNumber?: string;\n chipNumber?: string;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n date?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/e-wallets-transactions',\n path: {\n id: id,\n },\n query: {\n operations: operations,\n paymentTypes: paymentTypes,\n cardNumber: cardNumber,\n chipNumber: chipNumber,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n date: date,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get card application list for the given customer.\n * Field `stateIds` must be send as stateIds[]=value.\n * @returns CardApplicationListResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetCardApplications({\n id,\n applicationNumber,\n serialNumber,\n eshop,\n carrierTypeId,\n forceShowUnpaid,\n customerName,\n username,\n cardApplicationStateId,\n dateCreated,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n id: string;\n applicationNumber?: string;\n serialNumber?: string;\n eshop?: boolean;\n carrierTypeId?: string;\n forceShowUnpaid?: boolean;\n customerName?: string;\n username?: string;\n cardApplicationStateId?: string;\n dateCreated?: string;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/card-applications',\n path: {\n id: id,\n },\n query: {\n applicationNumber: applicationNumber,\n serialNumber: serialNumber,\n eshop: eshop,\n carrierTypeId: carrierTypeId,\n forceShowUnpaid: forceShowUnpaid,\n customerName: customerName,\n username: username,\n cardApplicationStateId: cardApplicationStateId,\n dateCreated: dateCreated,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get active card application. State: UNCHECKED or WAITING TO PRINT\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **CUSTOMER_ALREADY_HAS_ACTIVE_CARD_APPLICATION** - Customer already has active card application.\n * @returns ApiErrorResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetActiveCardApplication({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/active-card-application',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Returns an error if there is an ongoing card-application or ongoing virtual-card-application. Also returns an error if the customer has a card in_progress or not_issued.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **CUSTOMER_ALREADY_HAS_ACTIVE_CARD_APPLICATION** - Customer already has active card application.
\n * + **CUSTOMER_HAS_CARD_TO_BE_ISSUED** - The customer has a card in state \"IN_PROGRESS\" or \"NOT_ISSUED\".\n * @returns ApiErrorResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerCheckCreationOfVirtualCardApplication({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/virtual-card-application-creation-check',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Check if combination of first name, last name and birthday is unique.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **CUSTOMER_NOT_UNIQUE** - Customer name and birthday combination is not unique.
\n * + **INVALID_ACCOUNT** - Account does not exist or another customer is assigned to this account.\n * @returns ApiErrorResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerVerifyIfCustomerIsUnique({\n firstName,\n lastName,\n birthDay,\n excludedCustomerIds,\n }: {\n firstName: string;\n lastName: string;\n birthDay: string;\n excludedCustomerIds?: Array;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers-check',\n query: {\n firstName: firstName,\n lastName: lastName,\n birthDay: birthDay,\n excludedCustomerIds: excludedCustomerIds,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Check if combination of first name, last name and isic card number is valid with with the discount on the customer profile.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **ISIC_CARD_NUMBER_ALREADY_USED** - Isic card number is already used in the system.
\n * + **INVALID_ACCOUNT** - Account does not exist or another customer is assigned to this account.
\n * + **ISIC_CARD_NUMBER_NOT_VALID** - Isic card number is not valid for customer and discount.\n * @returns ApiErrorResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerVerifyIsicCardNumber({\n firstName,\n lastName,\n isicNumber,\n customerProfileId,\n excludedCustomerId,\n }: {\n firstName: string;\n lastName: string;\n isicNumber: string;\n customerProfileId: string;\n excludedCustomerId?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers-check-isic-card-validation',\n query: {\n firstName: firstName,\n lastName: lastName,\n isicNumber: isicNumber,\n customerProfileId: customerProfileId,\n excludedCustomerId: excludedCustomerId,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get last card for the given customer.\n * If customer has no last card, `NOT FOUND` response is returned.\n * @returns CustomerCardResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetCustomerLastActiveCard({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/last-active-card',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * List of accounts managing customer card.\n * @returns ManagingAccountsCardResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetAccountsManagingCard({\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n timezoneOffset,\n }: {\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n timezoneOffset?: number;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers-managing-accounts-card',\n query: {\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n timezoneOffset: timezoneOffset,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Connect customer with account as REGISTERED based on card number and application number.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **INVALID_CUSTOMER_CARD_AND_CARD_APPLICATION** - Invalid customer card and card application combination.
\n * + **ACCOUNT_ALREADY_HAS_REGISTERED_CUSTOMER** - Account already has registered customer.
\n * + **CUSTOMER_ALREADY_HAS_REGISTERED_ACCOUNT** - Customer already has a registered account.
\n * + **CUSTOMER_TOO_YOUNG_TO_CREATE_REGISTERED_ACCOUNT** - Customer is not able register to eshop account (too young).
\n * + **INVALID_CARD_APPLICATION_USERNAME** - Invalid card application username.
\n * + **INVALID_CUSTOMER_CARD** - Customer card does not exist or has invalid card state.\n * @returns CustomerResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerConnectRegisteredAccount({\n requestBody,\n }: {\n /**\n * ConnectAccountCommand\n */\n requestBody?: ConnectAccountCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customers-connect-registered-account',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Connect customer with account as ASSIGNED based on card number and application number.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **INVALID_CUSTOMER_CARD_AND_CARD_APPLICATION** - Invalid customer card and card application combination.
\n * + **CANNOT_ASSIGN_CUSTOMER_WITHOUT_PARENT_TO_ACCOUNT** - Can not assign customer without parent to account.
\n * + **CUSTOMER_ALREADY_HAS_ASSIGNED_ACCOUNT** - Customer already has a assigned account.
\n * + **CUSTOMER_TOO_OLD_TO_CREATE_ASSIGNED_ACCOUNT** - Customer is not able assign to eshop account (too old).
\n * + **CUSTOMER_PARENT_AND_ACCOUNT_OWNER_ARE_DIFFERENT** - Customer parent and account owner are different.\n * @returns CustomerResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerConnectAssignedAccount({\n requestBody,\n }: {\n /**\n * ConnectAccountCommand\n */\n requestBody?: ConnectAccountCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customers-connect-assigned-account',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Transfer electronic wallet from PaK to MAP card for the eshop customer.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **INVALID_CARD_STATE** - Card state does not exist or is invalid.
\n * + **PAK_WALLET_NEGATIVE_AMOUNT** - PaK electronic wallet has negative current amount.
\n * + **PAK_WALLET_ALREADY_TRANSFERRED** - PaK electronic wallet has already been transferred.
\n * + **PAK_WALLET_INCORRECT_NAME_OR_BIRTHDAY** - PaK electronic wallet and MAP card do not have the same customer's name or birthday.
\n * + **INVALID_CUSTOMER_CARD** - Customer card does not exist or has invalid card state.\n * @returns ElectronicWalletTransactionResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerEWalletPakTransfer({\n requestBody,\n }: {\n /**\n * EshopTransferEWalletFromPakCardCommand\n */\n requestBody?: EshopTransferEWalletFromPakCardCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customers-pak-transfer/wallet',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get a customer info for the logged in account.\n * Returns null in \"data\" if there is no registered customer for that account.\n * @returns CustomerHeaderResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetLoggedCustomer(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers-logged-customer',\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Check if account has only managed relations with customer.\n * @returns CustomerAccountManagedRelationResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerCheckRegisteredCustomer(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers-check-only-managed-relations',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Check customer can be managed.\n * Customer must be registered or child and has only one active card.\n * @returns CustomerManageableRelationResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerIsCustomerManageable({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/check-manageable',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Assign customer custodian.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns CustomerResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerSetCustomerCustodian({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * AssignCustodianCommand\n */\n requestBody?: AssignCustodianCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customers/{id}/assign-custodian',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Assign customer origin.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns CustomerResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerSetCustomerOrigin({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * AssignOriginCommand\n */\n requestBody?: AssignOriginCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customers/{id}/assign-origin',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get ticket fare price buy by isic.\n * @returns TicketFareIsicPriceResponse\n * @throws ApiError\n */\n public static eshopCustomerControllerGetIsicTicketFarePrice({\n id,\n customerProfileId,\n priceListZoneId,\n validFrom,\n validTo,\n }: {\n id: string;\n customerProfileId: string;\n priceListZoneId: string;\n validFrom: string;\n validTo: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customers/{id}/isic-ticket-fare-price',\n path: {\n id: id,\n },\n query: {\n customerProfileId: customerProfileId,\n priceListZoneId: priceListZoneId,\n validFrom: validFrom,\n validTo: validTo,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CustomerAccountLinkListResponse } from '../models/CustomerAccountLinkListResponse';\nimport type { CustomerAccountLinkResponse } from '../models/CustomerAccountLinkResponse';\nimport type { ManageAccountLinkRequestResponse } from '../models/ManageAccountLinkRequestResponse';\nimport type { ManagedAccountLinkRequestCommand } from '../models/ManagedAccountLinkRequestCommand';\nimport type { ManagingAccountCardResponse } from '../models/ManagingAccountCardResponse';\nimport type { StringValueCommand } from '../models/StringValueCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopCustomerAccountLinkService {\n /**\n * Manage account link request.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CUSTOMER_CARD** - Customer card does not exist or has invalid card state.
\n * + **INVALID_ACCOUNT** - Account does not exist or another customer is assigned to this account.
\n * + **CANNOT_MANAGE_OWN_CARD** - Can´t manage own card.
\n * + **CUSTOMER_CARD_ALREADY_MANAGED_BY_CURRENT_ACCOUNT** - Customer card already managed by current account.\n * @returns ManageAccountLinkRequestResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerManagingCardRequest({\n requestBody,\n }: {\n /**\n * ManagedAccountLinkRequestCommand\n */\n requestBody?: ManagedAccountLinkRequestCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/customer-account-links-managed-account-link-request',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get customer account links that are linked to the logged-in account.\n * @returns CustomerAccountLinkListResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerGetAll({\n customerAccountLinkType,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n customerAccountLinkType?: 'REGISTERED' | 'ASSIGNED' | 'MANAGED';\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-account-links',\n query: {\n customerAccountLinkType: customerAccountLinkType,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Confirm a customer account.\n * Confirm a request for managing a customer's card by another customer based on token.,Body contains a token.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **APPROVE_MANAGED_CARD_INVALID_TOKEN** - Token is invalid or belongs to a different account.
\n * + **APPROVE_MANAGED_CARD_EXPIRED_TOKEN** - Token has already expired.
\n * + **APPROVE_MANAGED_CARD_MAX_ACCOUNTS_REACHED** - Card cannot be managed by more than two accounts.\n * @returns ManagingAccountCardResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerApproveManagedCard({\n requestBody,\n }: {\n /**\n * StringValueCommand\n */\n requestBody?: StringValueCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/customer-account-links/manage-approve',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Reject card manage request.\n * Reject card manage request based on token.,Body contains a token.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **REJECT_MANAGED_CARD_INVALID_TOKEN** - Token is invalid or belongs to a different account.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerRejectCardManageRequest({\n token,\n }: {\n token: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/customer-account-links/{token}/reject-card-manage-request',\n path: {\n token: token,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Remove customer-account link with the type MANAGED.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerRemoveManagedCustomerLink({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/customer-account-links/{id}/managed',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Remove account-customer link with the type MANAGED by managing account id.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **INVALID_ACCOUNT_CUSTOMER** - Link between account and customer does not exists.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerCancelManagingAccountCard({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/customer-account-links/managing-account/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Set account-customer link with the type MANAGED to type REGISTERED.\n * @returns CustomerAccountLinkResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerSetRegisteredType({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-account-links/{id}/registered',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Set account-customer link with the type MANAGED to type ASSIGNED.\n * @returns CustomerAccountLinkResponse\n * @throws ApiError\n */\n public static eshopCustomerAccountLinkControllerSetAssignedType({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-account-links/{id}/assigned',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ActiveMainCardCommand } from '../models/ActiveMainCardCommand';\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CustomerCardResponse } from '../models/CustomerCardResponse';\nimport type { MarketingConsentCommand } from '../models/MarketingConsentCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopCustomerCardService {\n /**\n * Customer card by id\n * @returns any Successful response\n * @throws ApiError\n */\n public static eshopCustomerCardControllerGetOneById({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-cards/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Set marketing consent on card application.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns CustomerCardResponse\n * @throws ApiError\n */\n public static eshopCustomerCardControllerMarketingConsent({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * MarketingConsentCommand\n */\n requestBody?: MarketingConsentCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-cards/{id}/marketing-consent',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Customer card by chip number\n * @returns any Successful response\n * @throws ApiError\n */\n public static eshopCustomerCardControllerGetOneByChipNumber({ number }: { number: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/customer-cards-by-chip-number/{number}',\n path: {\n number: number,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Set customer active card to active main card and block other active cards.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopCustomerCardControllerSetActiveMainCard({\n requestBody,\n }: {\n /**\n * ActiveMainCardCommand\n */\n requestBody?: ActiveMainCardCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/customer-cards/active-main-card',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { PayShortTermTicketsByWalletCommand } from '../models/PayShortTermTicketsByWalletCommand';\nimport type { VehicleTicketListResponse } from '../models/VehicleTicketListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopElectronicWalletTransactionService {\n /**\n * Get tickets from a transaction made in a vehicle.\n * Returns an empty array if the transaction was not made in a vehicle.\n * @returns VehicleTicketListResponse\n * @throws ApiError\n */\n public static eshopElectronicWalletTransactionControllerGetVehicleTickets({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/electronic-wallet-transactions/{id}/vehicle-tickets',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Short term tickets pay by wallet\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **INVALID_ELECTRONIC_WALLET** - Electronic wallet does not exist.
\n * + **INVALID_ELECTRONIC_WALLET_OPERATION** - Electronic wallet operation does not exist or is not allowed.
\n * + **NOT_ENOUGH_MONEY** - Not enough money to process the operation.
\n * + **INVALID_CUSTOMER_CARD** - Customer card does not exist or has invalid card state.
\n * + **INVALID_CUSTOMER** - Customer does not exist, belongs to another account, is a draft or origin.
\n * + **INVALID_CUSTOMER_VIRTUAL_CARD** - Customer card must be virtual for pay short term tickets by e-wallet.
\n * + **EWALLET_TRANSACTION_PAY_BY_WALLET_NOT_ALLOWED** - Short term tickets setting is not allowed in system configuration.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopElectronicWalletTransactionControllerPayShortTermTicketsByWallet({\n mapPhoneAuthToken,\n requestBody,\n }: {\n mapPhoneAuthToken?: any;\n /**\n * PayShortTermTicketsByWalletCommand\n */\n requestBody?: PayShortTermTicketsByWalletCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/electronic-wallet-transactions-pay-by-wallet',\n headers: {\n 'map-phone-auth-token': mapPhoneAuthToken,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { GlobalSettingListResponse } from '../models/GlobalSettingListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopGlobalSettingService {\n /**\n * Get eshop global settings\n * @returns GlobalSettingListResponse\n * @throws ApiError\n */\n public static eshopGlobalSettingControllerGetAll(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/global-settings',\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get map phone global settings\n * @returns GlobalSettingListResponse\n * @throws ApiError\n */\n public static eshopGlobalSettingControllerGetMapPhoneGlobalSettings({\n mapPhoneAuthToken,\n }: {\n mapPhoneAuthToken?: any;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/global-settings-map-phone',\n headers: {\n 'map-phone-auth-token': mapPhoneAuthToken,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiErrorResponse } from '../models/ApiErrorResponse';\nimport type { CreateEshopOrderCommand } from '../models/CreateEshopOrderCommand';\nimport type { EshopOrderDetailResponse } from '../models/EshopOrderDetailResponse';\nimport type { EshopOrderListResponse } from '../models/EshopOrderListResponse';\nimport type { PaymentResponse } from '../models/PaymentResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopOrderService {\n /**\n * Get eshop orders.\n * @returns EshopOrderListResponse\n * @throws ApiError\n */\n public static eshopOrderControllerGetAll({\n state,\n paymentType,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n date,\n }: {\n state?: 'PENDING' | 'PAID' | 'CANCELLED' | 'REJECTED' | 'RETURNED' | 'PROCESSING';\n paymentType?: any;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n date?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/orders',\n query: {\n state: state,\n paymentType: paymentType,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n date: date,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create an order from eshop shopping cart.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **SHOPPING_CART_IS_EMPTY** - Cannot create an order. Shopping cart is empty.
\n * + **INVALID_PAYMENT_TYPE** - Payment type does not exist or is not allowed to use.
\n * + **INVALID_FEE_TRANSACTION_STATE** - Fee transaction is already assigned to order or is paid.\n * @returns EshopOrderDetailResponse\n * @throws ApiError\n */\n public static eshopOrderControllerCreateOrder({\n requestBody,\n }: {\n /**\n * CreateEshopOrderCommand\n */\n requestBody?: CreateEshopOrderCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/orders',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get eshop order.\n * @returns EshopOrderDetailResponse\n * @throws ApiError\n */\n public static eshopOrderControllerGetOrderDetail({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/orders/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Init a payment.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **CANNOT_INIT_PAYMENT** - CSOB Gateway cannot be inited.\n * @returns PaymentResponse\n * @throws ApiError\n */\n public static eshopOrderControllerInitPayment({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/orders/{id}/init-payment',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Init a payment.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **CANNOT_PAY_AGAIN** - Cannot pay this order again.\n * @returns PaymentResponse\n * @throws ApiError\n */\n public static eshopOrderControllerPayAgain({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/orders/{id}/pay-again',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Cancel order\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **INVALID_ESHOP_ORDER_STATE** - Eshop order state is invalid or does not exist.\n * @returns EshopOrderDetailResponse\n * @throws ApiError\n */\n public static eshopOrderControllerCancel({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/orders/{id}/cancel',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Send payment email\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns EshopOrderDetailResponse\n * @throws ApiError\n */\n public static eshopOrderControllerSendOrderPaidEmail({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/orders/{id}/send-payment-email',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Check if order is for card application and if is in processing state.\n * @returns ApiErrorResponse\n * @throws ApiError\n */\n public static eshopOrderControllerVerifyIfCardApplicationCanBeCreated({\n originId,\n }: {\n originId: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/orders-application-state-check',\n query: {\n originId: originId,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { EshopOrderStateListResponse } from '../models/EshopOrderStateListResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopOrderStateService {\n /**\n * Get eshop order possible states\n * @returns EshopOrderStateListResponse\n * @throws ApiError\n */\n public static eshopOrderStateControllerGetAll(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/eshop-order-states',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CreateEshopReclamationCommand } from '../models/CreateEshopReclamationCommand';\nimport type { EshopReclamationResponse } from '../models/EshopReclamationResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopReclamationService {\n /**\n * Create a eshop reclamation.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **ESHOP_RECLAMATION_NOT_ALLOWED** - Eshop reclamations are not enabled
\n * + **INVALID_GDPR_OR_TERMS_APPROVAL** - GDPR, terms and conditions must be approved.\n * @returns EshopReclamationResponse\n * @throws ApiError\n */\n public static eshopReclamationControllerCreate({\n requestBody,\n }: {\n /**\n * CreateEshopReclamationCommand\n */\n requestBody?: CreateEshopReclamationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/reclamations',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AddEWalletTransactionForEshopCommand } from '../models/AddEWalletTransactionForEshopCommand';\nimport type { AddTicketFareCommand } from '../models/AddTicketFareCommand';\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { ChangeFeeCommand } from '../models/ChangeFeeCommand';\nimport type { ShoppingCartItemResponse } from '../models/ShoppingCartItemResponse';\nimport type { ShoppingCartResponse } from '../models/ShoppingCartResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class EshopShoppingCartService {\n /**\n * Get shopping cart based on logged account.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns ShoppingCartResponse\n * @throws ApiError\n */\n public static eshopShoppingCartControllerGetShoppingCart(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/shopping-cart',\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Add a fee to shopping cart.\n * Only available fee in eshop is fee for card application
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_FEE** - Fee does not exist, is disabled or cannot be disabled.
\n * + **INVALID_CARD_APPLICATION** - Card application is invalid or does not exist.
\n * + **CARD_APPLICATION_ALREADY_HAS_ORDER** - Card application already has order.\n * @returns ShoppingCartItemResponse\n * @throws ApiError\n */\n public static eshopShoppingCartControllerAddFeeToShoppingCart({\n requestBody,\n }: {\n /**\n * ChangeFeeCommand\n */\n requestBody?: ChangeFeeCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/shopping-cart-items/fee',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Add an electronic wallet transaction to shopping cart.\n * Operation `RECHARGE` is not permitted when card is invalid.,Only available operation Type is RECHARGE.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_ELECTRONIC_WALLET** - Electronic wallet does not exist.
\n * + **INVALID_ELECTRONIC_WALLET_OPERATION** - Electronic wallet operation does not exist or is not allowed.
\n * + **INVALID_E_WALLET_MIN_MAX_RECHARGE_VALUE** - Invalid min or max e-wallet recharge value.
\n * + **INVALID_E_WALLET_MAX_AMOUNT** - Invalid e-wallet max amount.
\n * + **INVALID_CUSTOMER_CARD** - Customer card does not exist or has invalid card state.
\n * + **VIRTUAL_CARD_EWALLET_NOT_ALLOWED** - Virtual card e-wallet is not allowed in system configuration.\n * @returns ShoppingCartItemResponse\n * @throws ApiError\n */\n public static eshopShoppingCartControllerAddElectronicWalletTransactionToShoppingCart({\n requestBody,\n }: {\n /**\n * AddEWalletTransactionForEshopCommand\n */\n requestBody?: AddEWalletTransactionForEshopCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/shopping-cart-items/e-wallet-transaction',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Add a ticket fare to shopping cart.\n * Business error `InvalidDate` is returned when property `validFrom` is in past.,Business error `TicketFareValidToMoreThanCardValidTo` is carrying card and ticket validTo in payload.,Business error `TicketFareValidToMoreThanProfileValidTo` is carrying profile and ticket validTo in payload.
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_CUSTOMER_CARD** - Customer card does not exist or has invalid card state.
\n * + **INVALID_ZONE** - Zone does not exist or is missing in the given ticket combination.
\n * + **INVALID_TICKET_COMBINATION** - Ticket combination does not exist, is expired or isn´t enable for sell.
\n * + **INVALID_DATE** - Date is invalid. See extra information in swagger documentation.
\n * + **TICKET_FARE_VALID_TO_MORE_THAN_CARD_VALID_TO** - Ticket fare validTo is more than customer card validTo.
\n * + **TICKET_FARE_VALIDITY_NOT_IN_PROFILE_VALIDITY** - Ticket fare validity is not within customer profile validity.
\n * + **INVALID_CUSTOMER_PROFILE_TYPE** - Customer profile type does not exist or for the given ticket combination does not match with card.
\n * + **INVALID_PRICE_LIST_ZONE** - Price list zone does not exist.
\n * + **INVALID_TICKET_FARE_VALID_FROM** - Ticket valid from must be in must be in interval defined by global setting.
\n * + **TICKET_ALREADY_IN_CART_FOR_CARD** - Ticket already in shopping cart for card.\n * @returns ShoppingCartItemResponse\n * @throws ApiError\n */\n public static eshopShoppingCartControllerAddTicketFareToShoppingCart({\n requestBody,\n }: {\n /**\n * AddTicketFareCommand\n */\n requestBody?: AddTicketFareCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/eshop/shopping-cart-items/ticket-fare',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Remove all items from shopping cart.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopShoppingCartControllerRemoveAllItemsFromShoppingCart(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/shopping-cart-items',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Remove item from shopping cart.\n * @returns ApiResponse\n * @throws ApiError\n */\n public static eshopShoppingCartControllerRemoveItemFromShoppingCart({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/eshop/shopping-cart-items/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { PaymentResponse } from '../models/PaymentResponse';\nimport type { StatusResponse } from '../models/StatusResponse';\nimport type { UpdatePaymentStatusCommand } from '../models/UpdatePaymentStatusCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class PaymentService {\n /**\n * Get a payment status.\n * @returns StatusResponse\n * @throws ApiError\n */\n public static paymentControllerGetPaymentStatus({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/eshop/payments/{id}/status',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update payment state of order if changed.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **INVALID_ESHOP_ORDER_STATE** - Eshop order state is invalid or does not exist.\n * @returns StatusResponse\n * @throws ApiError\n */\n public static paymentControllerCheckPaymentStatus({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdatePaymentStatusCommand\n */\n requestBody?: UpdatePaymentStatusCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/payments/{id}/check',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update payment state of order if changed.\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **CUSTOMER_ACCOUNT_NOT_VERIFIED** - Customer account is not verified.
\n * + **CANNOT_REVERSE_PAYMENT** - CSOB payment cannot be reversed.\n * @returns PaymentResponse\n * @throws ApiError\n */\n public static paymentControllerReversePayment({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/eshop/payments/{id}/reverse',\n path: {\n id: id,\n },\n errors: {\n 400: `Validation failed.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { PriceListCollectionResponse } from '../models/PriceListCollectionResponse';\nimport type { PriceListDetailResponse } from '../models/PriceListDetailResponse';\nimport type { PriceListPeriodResponse } from '../models/PriceListPeriodResponse';\nimport type { PriceListResponse } from '../models/PriceListResponse';\nimport type { PriceListZoneListResponse } from '../models/PriceListZoneListResponse';\nimport type { SavePriceListNameCommand } from '../models/SavePriceListNameCommand';\nimport type { SavePriceListPeriodCommand } from '../models/SavePriceListPeriodCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class PriceListService {\n /**\n * Get price list collection.\n * @returns PriceListCollectionResponse\n * @throws ApiError\n */\n public static priceListControllerGetAll({\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n timezoneOffset,\n }: {\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n timezoneOffset?: number;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/price-lists',\n query: {\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n timezoneOffset: timezoneOffset,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create price list name.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns PriceListResponse\n * @throws ApiError\n */\n public static priceListControllerCreate({\n requestBody,\n }: {\n /**\n * SavePriceListNameCommand\n */\n requestBody?: SavePriceListNameCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/public/price-lists',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get price list by id.\n * @returns PriceListDetailResponse\n * @throws ApiError\n */\n public static priceListControllerGetOne({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/price-lists/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update price list name.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns PriceListResponse\n * @throws ApiError\n */\n public static priceListControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * SavePriceListNameCommand\n */\n requestBody?: SavePriceListNameCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/public/price-lists/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Delete price list.\n * If an entity is being used, 409 Conflict will be returned.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns ApiResponse\n * @throws ApiError\n */\n public static priceListControllerDelete({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/public/price-lists/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get prices for the given price list.\n * @returns PriceListZoneListResponse\n * @throws ApiError\n */\n public static priceListControllerGetPriceListZones({\n id,\n date,\n acceptLanguage,\n onlyZonesWithPrice,\n timezoneOffset,\n }: {\n id: string;\n date: string;\n acceptLanguage?: string;\n onlyZonesWithPrice?: boolean;\n timezoneOffset?: number;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/price-lists/{id}/zones',\n path: {\n id: id,\n },\n headers: {\n 'Accept-Language': acceptLanguage,\n },\n query: {\n date: date,\n onlyZonesWithPrice: onlyZonesWithPrice,\n timezoneOffset: timezoneOffset,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create price list period.\n * Zones need to be unique for the given period.,Date range cannot overlap within one price list.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **DATE_RANGE_IN_COLLISION** - Date range is in collision with another date range.
\n * + **INVALID_VALID_TO** - ValidFrom is after ValidTo OR New ValidFrom is null or new validFrom is before old ValidFrom.\n * @returns PriceListPeriodResponse\n * @throws ApiError\n */\n public static priceListControllerCreatePeriod({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * SavePriceListPeriodCommand\n */\n requestBody?: SavePriceListPeriodCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/public/price-lists/{id}/periods',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { SystemConfigurationResponse } from '../models/SystemConfigurationResponse';\nimport type { UpdateSystemConfigurationCommand } from '../models/UpdateSystemConfigurationCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class SystemConfigurationService {\n /**\n * Get system configuration\n * @returns SystemConfigurationResponse\n * @throws ApiError\n */\n public static systemConfigurationControllerGetSystemConfiguration(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/system-configurations',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update system configuration\n * @returns SystemConfigurationResponse\n * @throws ApiError\n */\n public static systemConfigurationControllerUpdateSystemConfiguration({\n requestBody,\n }: {\n /**\n * UpdateSystemConfigurationCommand\n */\n requestBody?: UpdateSystemConfigurationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PATCH',\n url: '/api/public/system-configurations',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CreateTariffProfileCommand } from '../models/CreateTariffProfileCommand';\nimport type { DateRangeValidityResponse } from '../models/DateRangeValidityResponse';\nimport type { TariffProfileListResponse } from '../models/TariffProfileListResponse';\nimport type { TariffProfileResponse } from '../models/TariffProfileResponse';\nimport type { UpdateProfileNameCommand } from '../models/UpdateProfileNameCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class TariffProfileService {\n /**\n * Get tariff profiles.\n * @returns TariffProfileListResponse\n * @throws ApiError\n */\n public static tariffProfileControllerGetAll({\n validity,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n validity?: 'PAST' | 'PRESENT' | 'FUTURE' | 'PRESENT_OR_FUTURE';\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/tariff-profiles',\n query: {\n validity: validity,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create tariff profile.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VALID_TO** - ValidFrom is after ValidTo OR New ValidFrom is null or new validFrom is before old ValidFrom.
\n * + **INVALID_TARIFF_PROFILE_TYPE** - Tariff profile type does not exist or input data are not sufficient.
\n * + **INVALID_TARIFF_PROFILE_PERIOD** - Tariff profile period does not exist.
\n * + **INVALID_TARIFF_PROFILE** - Tariff profile does not exist.\n * @returns TariffProfileResponse\n * @throws ApiError\n */\n public static tariffProfileControllerCreate({\n requestBody,\n }: {\n /**\n * CreateTariffProfileCommand\n */\n requestBody?: CreateTariffProfileCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/public/tariff-profiles',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get tariff profile by id.\n * @returns TariffProfileResponse\n * @throws ApiError\n */\n public static tariffProfileControllerGetOne({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/tariff-profiles/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update tariff profile names.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.\n * @returns TariffProfileResponse\n * @throws ApiError\n */\n public static tariffProfileControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateProfileNameCommand\n */\n requestBody?: UpdateProfileNameCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/public/tariff-profiles/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Delete tariff profile.\n * If an entity is being used, 409 Conflict will be returned.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns ApiResponse\n * @throws ApiError\n */\n public static tariffProfileControllerDelete({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/public/tariff-profiles/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get computed validity for the given tariff profile.\n * @returns DateRangeValidityResponse\n * @throws ApiError\n */\n public static tariffProfileControllerGetComputedValidity({\n id,\n date,\n }: {\n id: string;\n date: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/tariff-profiles/{id}/computed-validity',\n path: {\n id: id,\n },\n query: {\n date: date,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CreateTicketCombinationCommand } from '../models/CreateTicketCombinationCommand';\nimport type { ShortTermTicketCombinationListResponse } from '../models/ShortTermTicketCombinationListResponse';\nimport type { TicketCombinationListResponse } from '../models/TicketCombinationListResponse';\nimport type { TicketCombinationResponse } from '../models/TicketCombinationResponse';\nimport type { UpdateTicketCombinationCommand } from '../models/UpdateTicketCombinationCommand';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class TicketCombinationService {\n /**\n * Get ticket combinations.\n * @returns TicketCombinationListResponse\n * @throws ApiError\n */\n public static ticketCombinationControllerGetAll({\n customerProfileId,\n customerProfileType,\n validity,\n reduced,\n typeName,\n counterSale,\n eshopSale,\n mobileVirtualCardSale,\n mobileEshopAccountSale,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n date,\n }: {\n customerProfileId?: string;\n customerProfileType?: 'IMPERSONAL' | 'PERSONAL';\n validity?: 'PAST' | 'PRESENT' | 'FUTURE' | 'PRESENT_OR_FUTURE';\n reduced?: boolean;\n typeName?: 'SINGLE' | 'TIME';\n counterSale?: boolean;\n eshopSale?: boolean;\n mobileVirtualCardSale?: boolean;\n mobileEshopAccountSale?: boolean;\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n date?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/ticket-combinations',\n query: {\n customerProfileId: customerProfileId,\n customerProfileType: customerProfileType,\n validity: validity,\n reduced: reduced,\n typeName: typeName,\n counterSale: counterSale,\n eshopSale: eshopSale,\n mobileVirtualCardSale: mobileVirtualCardSale,\n mobileEshopAccountSale: mobileEshopAccountSale,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n date: date,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create ticket combination.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VALID_TO** - ValidFrom is after ValidTo OR New ValidFrom is null or new validFrom is before old ValidFrom.
\n * + **INVALID_CUSTOMER_PROFILE** - Customer profile does not exist, is not valid for the customer, is impersonal, is not primary or has invalid properties combination.
\n * + **INVALID_TARIFF_PROFILE** - Tariff profile does not exist.
\n * + **INVALID_PRICE_LIST** - Price list does not exist.
\n * + **INVALID_TICKET_COMBINATION** - Ticket combination does not exist, is expired or isn´t enable for sell.\n * @returns TicketCombinationResponse\n * @throws ApiError\n */\n public static ticketCombinationControllerCreate({\n requestBody,\n }: {\n /**\n * CreateTicketCombinationCommand\n */\n requestBody?: CreateTicketCombinationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/public/ticket-combinations',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get ticket combination by id.\n * @returns TicketCombinationResponse\n * @throws ApiError\n */\n public static ticketCombinationControllerGetOne({\n id,\n }: {\n id: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/ticket-combinations/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update ticket combination.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_VALID_TO** - Valid to must be bigger than valid from or is in the past.\n * @returns TicketCombinationResponse\n * @throws ApiError\n */\n public static ticketCombinationControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateTicketCombinationCommand\n */\n requestBody?: UpdateTicketCombinationCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/public/ticket-combinations/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Delete ticket combination.\n * If an entity is being used, 409 Conflict will be returned.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns ApiResponse\n * @throws ApiError\n */\n public static ticketCombinationControllerDelete({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/public/ticket-combinations/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get all possible combinations of short-term tickets for user. Which can be purchased in the mobile application.\n * @returns ShortTermTicketCombinationListResponse\n * @throws ApiError\n */\n public static ticketCombinationControllerGetShortTermTicketCombinationList({\n mapPhoneAuthToken,\n }: {\n mapPhoneAuthToken?: any;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/ticket-combinations-short-terms',\n headers: {\n 'map-phone-auth-token': mapPhoneAuthToken,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { TicketFareStateResponse } from '../models/TicketFareStateResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class TicketFareStateService {\n /**\n * Get ticket fare state\n * @returns TicketFareStateResponse\n * @throws ApiError\n */\n public static ticketFareStateControllerGetAll(): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/ticket-fare-states',\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiResponse } from '../models/ApiResponse';\nimport type { CreateZoneCommand } from '../models/CreateZoneCommand';\nimport type { UpdateZoneCommand } from '../models/UpdateZoneCommand';\nimport type { ZoneListResponse } from '../models/ZoneListResponse';\nimport type { ZonePublicListResponse } from '../models/ZonePublicListResponse';\nimport type { ZoneResponse } from '../models/ZoneResponse';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport { OpenAPI } from '../core/OpenAPI';\nimport { request as __request } from '../core/request';\nexport class ZoneService {\n /**\n * Get zones\n * @returns ZonePublicListResponse\n * @throws ApiError\n */\n public static zoneControllerGetAll({\n acceptLanguage,\n }: {\n acceptLanguage?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/zones-public',\n headers: {\n 'Accept-Language': acceptLanguage,\n },\n errors: {\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get all zones.\n * @returns ZoneListResponse\n * @throws ApiError\n */\n public static zoneControllerGetAllZones({\n name,\n type,\n timezoneOffset,\n limit,\n offset,\n sortBy,\n sortDesc,\n sortLocale,\n }: {\n name?: string;\n type?: 'SIMPLE' | 'COMBINED' | 'ALL_NETWORK';\n timezoneOffset?: number;\n limit?: number;\n offset?: number;\n sortBy?: string;\n sortDesc?: boolean;\n sortLocale?: string;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/zones',\n query: {\n name: name,\n type: type,\n timezoneOffset: timezoneOffset,\n limit: limit,\n offset: offset,\n sortBy: sortBy,\n sortDesc: sortDesc,\n sortLocale: sortLocale,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Create zone.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_ZONE** - Zone does not exist or is missing in the given ticket combination.\n * @returns ZoneResponse\n * @throws ApiError\n */\n public static zoneControllerCreate({\n requestBody,\n }: {\n /**\n * CreateZoneCommand\n */\n requestBody?: CreateZoneCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'POST',\n url: '/api/public/zones',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get zone by id.\n * @returns ZoneResponse\n * @throws ApiError\n */\n public static zoneControllerGetOne({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/zones/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Update zone.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.\n * @returns ZoneResponse\n * @throws ApiError\n */\n public static zoneControllerUpdate({\n id,\n requestBody,\n }: {\n id: string;\n /**\n * UpdateZoneCommand\n */\n requestBody?: UpdateZoneCommand;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'PUT',\n url: '/api/public/zones/{id}',\n path: {\n id: id,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Delete zone.\n * If an entity is being used, 409 Conflict will be returned.
\n * Require: `PERMISSION_ADMINISTRATION_VIEW`\n * @returns ApiResponse\n * @throws ApiError\n */\n public static zoneControllerDelete({ id }: { id: string }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'DELETE',\n url: '/api/public/zones/{id}',\n path: {\n id: id,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 409: `Request couldn't be completed due to a conflict.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Get zone by id.\n * @returns ZoneResponse\n * @throws ApiError\n */\n public static zoneControllerGetOneByNumber({ number }: { number: number }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/zones-by-number/{number}',\n path: {\n number: number,\n },\n errors: {\n 401: `User wasn't authenticated.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n /**\n * Returns combined zone by zone numbers.\n * Require: `PERMISSION_ADMINISTRATION_VIEW`
\n * ### Error names for HTTP Status 400 BadRequest:
\n * + **VALIDATION_ERROR** - Invalid body, check 'errors' property for more info.
\n * + **INVALID_ZONE** - Zone does not exist or is missing in the given ticket combination.\n * @returns ZoneResponse\n * @throws ApiError\n */\n public static zoneControllerGetCombinedZoneByZoneNumbers({\n zoneNumbers,\n timezoneOffset,\n }: {\n zoneNumbers: Array;\n timezoneOffset?: number;\n }): CancelablePromise {\n return __request(OpenAPI, {\n method: 'GET',\n url: '/api/public/zones-combined-by-zones',\n query: {\n zoneNumbers: zoneNumbers,\n timezoneOffset: timezoneOffset,\n },\n errors: {\n 400: `Validation failed.`,\n 401: `User wasn't authenticated.`,\n 403: `User didn't have permissions to perform this action.`,\n 404: `Resource wasn't found.`,\n 500: `Something went wrong.`,\n },\n });\n }\n}\n","export const AccountTypes = {\n REGISTERED: 'REGISTERED',\n LINKED: 'LINKED',\n};\n","import { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { CustomerCardDetailVm, CustomerCardProfilesVm, CustomerDetailVm, EnumsDto } from '@/api';\nimport { AccountTypes } from '@/constants/AccountTypes';\nimport { MIN_CUSTOMER_AGE } from '@/config/config';\nimport { toDate } from '@/utils/dateTime';\nimport { differenceInYears, startOfDay } from 'date-fns';\n\n@Module({ dynamic: true, store, namespaced: true, name: 'userAccount' })\nclass UserAccount extends VuexModule {\n public hasActiveCardApplication = false;\n public cardDetailData = {\n state: {},\n customer: {},\n electronicWallet: {},\n profileOne: {} as CustomerCardProfilesVm,\n } as unknown as CustomerCardDetailVm;\n public selectedCustomerData = {} as CustomerDetailVm;\n public selectedAccount = AccountTypes.REGISTERED;\n public canVirtualCardApplicationBeCreated = true;\n\n @Mutation\n public setCardData(payload: CustomerCardDetailVm): void {\n this.cardDetailData = payload;\n }\n\n @Mutation\n public setSelectedCustomerData(payload: CustomerDetailVm): void {\n this.selectedCustomerData = payload;\n }\n\n @Mutation\n public setCardApplicationActive(active: boolean) {\n this.hasActiveCardApplication = active;\n }\n\n @Mutation\n public setSelectedAccount(accountType: string) {\n this.selectedAccount = accountType;\n }\n\n @Mutation\n public clearSelectedCustomerData(): void {\n this.selectedCustomerData = {} as CustomerDetailVm;\n }\n\n @Mutation\n public setVirtualCardApplicationCanBeCreated(canBeCreated: boolean): void {\n this.canVirtualCardApplicationBeCreated = canBeCreated;\n }\n\n @Mutation\n public clearCardData(): void {\n this.cardDetailData = {\n state: {},\n customer: {},\n electronicWallet: {},\n } as CustomerCardDetailVm;\n }\n\n public get isCardActive(): boolean {\n return this.cardDetailData?.state.name === EnumsDto.cardStates.ACTIVE;\n }\n\n public get isCardTypeVirtual(): boolean {\n return this.cardDetailData?.customerCardType === CustomerCardDetailVm.customerCardType.VIRTUAL_CARD;\n }\n\n public get isCardTypeBank(): boolean {\n return this.cardDetailData?.customerCardType === CustomerCardDetailVm.customerCardType.BANK_CARD;\n }\n\n public get cardNumber(): string | undefined {\n return this.cardDetailData?.cardNumber;\n }\n\n public get hasCardDetailData(): boolean {\n return !!this.cardDetailData?.id;\n }\n\n public get personalDataVerified(): boolean {\n return Boolean(\n this.cardDetailData?.customer.personalDataVerifiedDate &&\n this.cardDetailData?.customer.personalDataVerifiedBy?.id,\n );\n }\n\n public get isSelectedAccountRegistered() {\n return this.selectedAccount === AccountTypes.REGISTERED;\n }\n\n public get customerIsChild() {\n const currentDate = toDate(new Date());\n const customerYears = differenceInYears(startOfDay(currentDate), startOfDay(this.selectedCustomerData.birthDay));\n\n return customerYears < MIN_CUSTOMER_AGE;\n }\n}\n\nexport default getModule(UserAccount);\n","import { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { CustomerAccountLinkHeaderVm, CustomerDetailVm, CustomerDto, CustomerHeaderVm, EnumsDto } from '@/api';\nimport isDefined from '@common/utils/isDefined';\n\nconst _customer = {\n firstName: '',\n lastName: '',\n id: '',\n external: false,\n};\n\nexport const _custodianData = {\n id: '',\n firstName: '',\n lastName: '',\n fullName: '',\n birthDay: '',\n email: '',\n phoneNumber: '',\n address: {\n street: '',\n streetNumber: '',\n city: '',\n zip: '',\n },\n draft: false,\n originId: '',\n} as CustomerDto;\n\n@Module({ dynamic: true, store, namespaced: true, name: 'customer' })\nclass Customer extends VuexModule {\n public customer = { ..._customer };\n /**\n * Used to show detail of assigned/managed account from AssignedCardListPage.vue and ManagedCardListPage.vue\n */\n private linkedAccountCustomer = {\n customer: { ..._customer },\n linkType: EnumsDto.customerAccountLinkTypes.ASSIGNED,\n };\n\n @Mutation\n public setCustomer(customer: CustomerHeaderVm | CustomerDetailVm | CustomerDto) {\n this.customer = {\n firstName: customer.firstName,\n lastName: customer.lastName || '',\n id: customer.id,\n external: customer.external,\n };\n }\n\n @Mutation\n public setAssignedAccountCustomer(link: CustomerAccountLinkHeaderVm): void {\n this.linkedAccountCustomer.customer.id = link.customer.id;\n this.linkedAccountCustomer.customer.firstName = link.customer.firstName;\n this.linkedAccountCustomer.customer.lastName = link.customer.lastName || '';\n this.linkedAccountCustomer.customer.external = link.customer.external;\n this.linkedAccountCustomer.linkType = EnumsDto.customerAccountLinkTypes.ASSIGNED;\n }\n\n @Mutation\n public setManagedAccountCustomer(link: CustomerAccountLinkHeaderVm): void {\n this.linkedAccountCustomer.customer.id = link.customer.id;\n this.linkedAccountCustomer.customer.firstName = link.customer.firstName;\n this.linkedAccountCustomer.customer.lastName = link.customer.lastName || '';\n this.linkedAccountCustomer.customer.external = link.customer.external;\n this.linkedAccountCustomer.linkType = EnumsDto.customerAccountLinkTypes.MANAGED;\n }\n\n @Mutation\n public setLinkedAccountCustomer(link: CustomerAccountLinkHeaderVm): void {\n this.linkedAccountCustomer.customer.id = link.customer.id;\n this.linkedAccountCustomer.customer.firstName = link.customer.firstName;\n this.linkedAccountCustomer.customer.lastName = link.customer.lastName || '';\n this.linkedAccountCustomer.customer.external = link.customer.external;\n this.linkedAccountCustomer.linkType = link.linkType as EnumsDto.customerAccountLinkTypes;\n }\n\n @Mutation\n public clearLinkedCustomer(): void {\n // if the linked account customer is clear, the main account will always be selected\n this.linkedAccountCustomer = {\n customer: { ..._customer },\n linkType: EnumsDto.customerAccountLinkTypes.ASSIGNED,\n };\n }\n\n @Mutation\n public clearCustomer(): void {\n this.customer = { ..._customer };\n }\n\n public get customerConnected() {\n return !!this.customer.id;\n }\n\n public get linkedCustomer() {\n return this.linkedAccountCustomer.customer;\n }\n\n public get currentlySelectedCustomerId(): string {\n return this.isLinkedCustomerSelected ? this.linkedCustomer.id : this.customer.id;\n }\n\n public get currentlySelectedCustomer() {\n return this.isLinkedCustomerSelected ? this.linkedCustomer : this.customer;\n }\n\n public get registeredCustomer() {\n return this.customer;\n }\n\n public get isLinkedCustomerSelected() {\n return isDefined(this.linkedCustomer.id);\n }\n\n public get isManagedCustomerSelected() {\n return (\n this.isLinkedCustomerSelected && this.linkedAccountCustomer.linkType === EnumsDto.customerAccountLinkTypes.MANAGED\n );\n }\n\n public get isAssignedCustomerSelected() {\n return (\n this.isLinkedCustomerSelected &&\n this.linkedAccountCustomer.linkType === EnumsDto.customerAccountLinkTypes.ASSIGNED\n );\n }\n\n public get hasLoggedInAccountCustomer() {\n return !!this.customer.id;\n }\n}\n\nexport default getModule(Customer);\n","export default class Table {\n public static DATE_FORMAT_STRING = 'dd.MM.yyyy';\n public static DATETIME_FORMAT_STRING = 'dd.MM.yyyy HH:mm';\n public static TIME_FORMAT_STRING = 'HH:mm:ss';\n public static DATE_MONTH_FORMAT_STRING = 'MM. yyyy';\n}\n","import Date from '@/constants/Date';\nimport { format } from 'date-fns';\n\nexport const toAmount = (value: string) => {\n const formatter = new Intl.NumberFormat('cs', {\n style: 'decimal',\n minimumFractionDigits: 0,\n });\n\n return formatter.format(Number(value));\n};\n\nexport const toPrice = (value: string) => {\n if (value === undefined) {\n return '-';\n }\n\n const parsedValue = (parseFloat(value) / 100).toFixed(2);\n\n const formatter = new Intl.NumberFormat('cs', {\n style: 'decimal',\n minimumFractionDigits: 2,\n });\n\n return formatter.format(Number(parsedValue));\n};\n\nexport const toFloat = (value: string) => {\n const parsedValue = parseFloat(value).toFixed(2);\n\n const formatter = new Intl.NumberFormat('cs', {\n style: 'decimal',\n minimumFractionDigits: 0,\n });\n return formatter.format(Number(parsedValue));\n};\n\nexport const toDecimal = (value: string) => {\n const parsedValue = parseFloat(value).toFixed(2);\n\n const formatter = new Intl.NumberFormat('cs', {\n style: 'decimal',\n minimumFractionDigits: 2,\n });\n\n return formatter.format(Number(parsedValue));\n};\n\nexport const toPercentage = (value: string) => {\n return `${value}%`;\n};\n\nexport const toStandardDate = (value: string) => {\n return value ? format(value, Date.DATE_FORMAT_STRING) : '-';\n};\n\nexport const toStandardDateTime = (value: string) => {\n return value ? format(value, Date.DATETIME_FORMAT_STRING) : '-';\n};\n\nexport const toStandardMonthDate = (value: string) => {\n return value ? format(value, Date.DATE_MONTH_FORMAT_STRING) : '-';\n};\n","import { ComponentBase, Vue } from 'vue-facing-decorator';\nimport * as filters from '@/filters';\n\n@ComponentBase\nexport default class RDPComponentBase extends Vue {\n dataCy = '';\n i18nGroupKey = '';\n filters = filters;\n\n /**\n * Returns i18n translation.\n * @param i18nKey\n * @param param\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n t(i18nKey: string, param?: any): string {\n return this.$t(`${this.i18nGroupKey}.${i18nKey}`, param);\n }\n\n /**\n * Returns true if the i18n key exists.\n * @param i18nKey\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n te(i18nKey: string) {\n return this.$te(`${this.i18nGroupKey}.${i18nKey}`);\n }\n\n /**\n * Returns i18n translation with a suffix. Default suffix is ': '\n * @param i18nKey\n * @param param\n * @param suffix\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ts(i18nKey: string, param?: any, suffix = ': ') {\n return `${this.t(i18nKey, param)}${suffix}`;\n }\n\n cy(partialDataCy: string) {\n return `${this.dataCy}-${partialDataCy}`;\n }\n}\n","export default class Paths {\n public static LOGIN = '/';\n public static REGISTRATION = '/registration';\n public static FORGOTTEN_PASSWORD = '/forgotten-password';\n public static CHANGE_PASSWORD = '/change-password';\n public static VERIFICATION = '/verification';\n public static VERIFY = '/verify';\n public static APPROVE_MANAGED_CARD = '/approve-managed-card';\n public static REJECT_CARD_MANAGE_REQUEST_PAGE = '/reject-managed-card';\n public static APP = '/app';\n public static USER_ACCOUNT = '/app/user-account';\n /**\n * This does not have a left-menu item - it opens only from table in AssignedCardListPage.vue\n */\n public static USER_LINKED_ACCOUNT = '/app/user-linked-account';\n public static USER_LINKED_ACCOUNT_WITH_ID = '/app/user-linked-account/:customerId';\n public static NOTIFICATION_SETTING = '/app/notification-setting';\n public static TICKET_FARE = '/app/ticket-fare';\n public static ELECTRONIC_WALLET = '/app/electronic-wallet';\n public static SHOPPING_CART = '/app/shopping-cart';\n public static ORDER_LIST = '/app/order-list';\n public static ACCOUNT_SETTING = '/app/account-setting';\n public static ASSIGNED_CARD_LIST = '/app/assigned-card-list';\n public static MANAGED_CARD_LIST = '/app/managed-card-list';\n public static CARD_MANAGING_ACCOUNT_LIST = '/app/card-managing-account-list';\n}\n\n/**\n * To go to these paths, user must be logged in. Path.APP includes all the children automatically.\n */\nexport const LOGIN_REQUIRED_PATHS = [Paths.APP, Paths.APPROVE_MANAGED_CARD, Paths.REJECT_CARD_MANAGE_REQUEST_PAGE];\n","export const PaymentGatewayTypes = {\n CSOB: 'CSOB',\n GP: 'GP',\n};\n","import { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\nimport Paths from '@/constants/Paths';\nimport store from '@/store';\nimport router from '@/router';\nimport { SystemConfigurationDto } from '@/api';\nimport { PaymentGatewayTypes } from '@/constants/PaymentGatewayTypes';\nimport { Currencies } from '@common/core/Currency';\nimport { MIGRATION_FLAGS } from '@T-system/common/src/api/constants';\n\nconst _systemConfiguration: SystemConfigurationDto = {\n id: '',\n eshopMultiLocalizationEnabled: false,\n cardApplicationFilesUploadEnabled: false,\n virtualCardEWalletEnabled: false,\n eshopFooterManualEnabled: false,\n SMTPPermeabilityEnabled: false,\n bankCardAsCarrier: false,\n virtualCardAsCarrier: false,\n showTaxOnReceipt: false,\n ticketMinValidFrom: '',\n haulierTokenKey: '',\n refundReasonEnabled: false,\n showSimpleCardApplication: false,\n allowFreeCardApplication: false,\n paymentGateway: '',\n EETLocalization: '',\n currency: '',\n eshopAllowedPaymentTypes: [],\n counterAllowedPaymentTypes: [],\n allowCameraInCardApplication: false,\n allowShortTermTickets: false,\n defaultLanguage: '',\n migrationFlags: [],\n haulierCardAsCarrier: false,\n marketingConsentCardEnabled: false,\n addressStreetRequired: false,\n addressStreetNumberRequired: false,\n addressCityRequired: false,\n addressZipCodeRequired: false,\n ticketCancellationFinalizationEnabled: false,\n priceListUseActualDateInsteadValidFrom: false,\n eshopReclamationEnabled: false,\n synchronizationWithExternalEnabled: false,\n allowIsic: false,\n assignCardWithoutAgeRestriction: false,\n allowCustomerCardGroup: false,\n haulierCardWLAsCarrier: false,\n allowBankCardApplicationFromCounter: false,\n allowCloseEshopToastOnlyUsingButton: false,\n allowPersistEshopSideMenu: false,\n allowFirstCardApplicationWithDiscountProfileForFree: false,\n disableDeleteAccountWithActiveTicketsAndEP: false,\n allowUpdateCardValidity: false,\n allowSetDefaultProfileValidFromByCardValidFrom: false,\n};\n\nexport interface SystemConfigurationPayload {\n redirect: boolean;\n systemConfiguration: SystemConfigurationDto;\n}\n\n@Module({ dynamic: true, store, namespaced: true, name: 'systemConfiguration' })\nclass SystemConfiguration extends VuexModule {\n public configuration: SystemConfigurationDto = _systemConfiguration;\n\n @Mutation\n public setSystemConfiguration(payload: SystemConfigurationPayload): void {\n this.configuration = payload.systemConfiguration;\n\n if (payload.redirect) {\n const { redirectUrl, token } = router.currentRoute.value.query;\n if (redirectUrl) {\n const path = token ? `${redirectUrl.toString()}?token=${token}` : redirectUrl.toString();\n router.push(path);\n } else {\n router.push(Paths.USER_ACCOUNT);\n }\n }\n }\n\n @Mutation\n public clearSystemConfiguration(): void {\n this.configuration = _systemConfiguration;\n }\n\n public get allowedPaymentTypes() {\n return this.configuration.eshopAllowedPaymentTypes;\n }\n\n public get currency() {\n return Object.values(Currencies).find(currency => currency.Code === this.configuration.currency);\n }\n\n public get cardApplicationAttachmentAllowed() {\n return this.configuration.cardApplicationFilesUploadEnabled;\n }\n\n public get isCsobPaymentGateway() {\n return this.configuration.paymentGateway === PaymentGatewayTypes.CSOB;\n }\n\n public get isGpPaymentGateway() {\n return this.configuration.paymentGateway === PaymentGatewayTypes.GP;\n }\n\n public get isVirtualCardEWalletAllowed() {\n return this.configuration.virtualCardEWalletEnabled;\n }\n\n public get isAllowedFreeCardApplication() {\n return this.configuration.allowFreeCardApplication;\n }\n\n public get isBankCardAsCarrierAllowed() {\n return this.configuration.bankCardAsCarrier;\n }\n\n public get isVirtualCardAsCarrierAllowed() {\n return this.configuration.virtualCardAsCarrier;\n }\n\n public get isTelshopMigrationAllowed() {\n return (\n this.configuration.migrationFlags.length && this.configuration.migrationFlags.includes(MIGRATION_FLAGS.TELSHOP)\n );\n }\n\n public get isHaulierCardAsCarrierAllowed() {\n return this.configuration.haulierCardAsCarrier;\n }\n\n public get isIsicAllowed() {\n return this.configuration.allowIsic;\n }\n\n public get isSynchronizationWithExternalAllowed() {\n return this.configuration.synchronizationWithExternalEnabled;\n }\n\n public get isAssignCardWithoutAgeRestrictionAllowed() {\n return this.configuration.assignCardWithoutAgeRestriction;\n }\n\n public get isCloseToastUsingButtonAllowed() {\n return this.configuration.allowCloseEshopToastOnlyUsingButton;\n }\n\n public get isPersistSideMenuAllowed() {\n return this.configuration.allowPersistEshopSideMenu;\n }\n\n public get isDisableDeleteAccountAllowed() {\n return this.configuration.disableDeleteAccountWithActiveTicketsAndEP;\n }\n}\n\nexport default getModule(SystemConfiguration);\n","import { ComponentBase } from 'vue-facing-decorator';\nimport { getCustomerCardState } from '@/components/userAccount/helper/customerCardHelper';\nimport UserAccountModule from '@/store/modules/userAccount';\nimport CustomerModule from '@/store/modules/customer';\nimport RDPComponentBase from '@/components/common/ComponentBase';\nimport SystemConfigurationModule from '@/store/modules/systemConfiguration';\n\n/**\n * Class to be inherited by a new one with added