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0B,YAAa,sBAAuB,oIAAoI,EACnM,CAAC,yDAA0D,aAAc,aAAc,iGAAiG,EACxL,CACE,iEACA,aACA,aACA,oK,EAEF,CACE,4BACA,YACA,mCACA,8L,EAEF,CACE,oBACA,YACA,kCACA,0X,EAEF,CAAC,wBAAyB,uDAAwD,GAAI,2FAA2F,EACjL,CACE,iBACA,uDACA,GACA,qK,EAEF,CACE,yBACA,YACA,WACA,iO,EAEF,CAAC,qCAAsC,WAAY,WAAY,sDAAsD,EACrH,CAAC,2BAA4B,YAAa,cAAe,gEAAgE,EACzH,CAAC,0CAA2C,YAAa,WAAY,uEAAuE,EAC5I,CACE,wBACA,eACA,eACA,qL,EAEF,CACE,qBACA,YACA,cACA,kc,EAEF,CAAC,0BAA2B,YAAa,cAAe,+CAA+C,EACvG,CACE,sBACA,YACA,WACA,qN,EAEF,CACE,qCACA,eACA,eACA,kQ,EAEF,CACE,qBACA,eACA,eACA,0N,IAIO,GAAiB,CAC5B,CACE,cAAe,EACf,KAAM,2O,EAER,CACE,cAAe,EACf,KAAM,6N,EAER,CACE,cAAe,EACf,KAAM,8I,EAER,CACE,cAAe,EACf,KAAM,4GACN,UAAW,kCACX,UAAW,+B,EAEb,CACE,cAAe,EACf,KAAM,mW,EAER,CACE,cAAe,EACf,KAAM,8D,EAER,CACE,cAAe,EACf,KAAM,wO,EAER,CACE,cAAe,EACf,KAAM,md,EAER,CACE,cAAe,EACf,KAAM,+K,EAER,CACE,cAAe,GACf,KAAM,k1B,EAER,CACE,cAAe,GACf,KAAM,8zB,EAER,CACE,cAAe,GACf,KAAM,siB,EAER,CACE,cAAe,GACf,KAAM,+O,EAER,CACE,cAAe,GACf,KAAM,ywB,EAER,CACE,cAAe,GACf,KAAM,sc,EAER,CACE,cAAe,GACf,KAAM,qT,EAER,CACE,cAAe,GACf,KAAM,6kD,EAER,CACE,cAAe,GACf,KAAM,kpB,EAER,CACE,cAAe,GACf,KAAM,6b,EAER,CACE,cAAe,GACf,KAAM,ie,EAER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BAAwB,qCAAsC,uEAAuE,EACtI,CAAC,SAAU,OAAQ,6HAA6H,EAChJ,CAAC,SAAU,OAAQ,8HAA8H,EACjJ,CAAC,SAAU,OAAQ,kFAAkF,C,GAG5F,GAAiB,CAC5B,CACE,cAAe,EACf,KAAM,2O,EAER,CACE,cAAe,EACf,KAAM,kM,EAER,CACE,cAAe,EACf,KAAM,8I,EAER,CACE,cAAe,EACf,KAAM,4GACN,UAAW,kCACX,UAAW,+B,EAEb,CACE,cAAe,EACf,KAAM,2S,EAER,CACE,cAAe,EACf,KAAM,kE,EAER,CACE,cAAe,EACf,KAAM,uO,EAER,CACE,cAAe,EACf,KAAM,ob,EAER,CACE,cAAe,EACf,KAAM,+K,EAER,CACE,cAAe,GACf,KAAM,2S,EAER,CACE,cAAe,GACf,KAAM,gW,EAER,CACE,cAAe,GACf,KAAM,4c,EAER,CACE,cAAe,GACf,KAAM,ojC,EAER,CACE,cAAe,GACf,KAAM,4J,EAER,CACE,cAAe,GACf,KAAM,8d,EAER,CACE,cAAe,GACf,KAAM,2L,EAER,CACE,cAAe,GACf,KAAM,yM,EAER,CACE,cAAe,GACf,KAAM,sF,EAER,CACE,cAAe,GACf,KAAM,0J,EAER,CACE,cAAe,GACf,KAAM,yM,EAER,CACE,cAAe,GACf,KAAM,mL,EAER,CACE,cAAe,GACf,KAAM,yK,EAER,CACE,cAAe,GACf,KAAM,sH,EAER,CACE,cAAe,GACf,KAAM,iGAAiG,cAAc,oH,EAEvH,CACE,cAAe,GACf,KAAM,sL,EAER,CACE,cAAe,GACf,KAAM,uqB,EAER,CACE,cAAe,GACf,KAAM,iV,EAER,CACE,cAAe,GACf,KAAM,4Q,EAER,CACE,cAAe,GACf,KAAM,mQACN,UAAW,yE,EAEb,CACE,cAAe,GACf,KAAM,ilB,GAGG,GAAkB,CAC7B,sDACA,oLACA,4KACA,sPACA,+FACA,8HACA,mIACA,8RACA,mDACA,oHACA,wFACA,iIACA,wFACA,8FACA,wGACA,iOACA,qHACA,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S,CAChE,GAAI,CAAC6oG,EAAUiB,GAAaC,EAAO,EAAI/pG,GAGnCyoG,GAAUkB,GAASvkF,GAAI,EAC3B,GAAGyjF,EAAS,KAAM32G,IAAQw3G,GAAgBx3G,EAAE,IAAM,CAAE,EAAG,CACtD,IAAIu2G,MAAYqB,GACZ13G,GAAoB,EAAE03G,GAAarB,EAAQ,IAC7Cr2G,GAAoB,EAAEq2G,EAAQ,EAAIqB,GAAYrB,EAAQ,GAGxD,GAAGsB,GAAS,IAAI3lG,GAAS2lG,GAAQ33G,EAAmB,EAGrD,IADGy3G,IAA4BA,GAA2B7pG,EAAI,EACzDolB,GAAIyjF,EAAS,OAAQzjF,KACzBukF,GAAUd,EAASzjF,EAAC,EACjBhzB,GAAoB,EAAEs3G,GAAiBC,EAAO,GAAKD,GAAgBC,EAAO,GAC5ED,GAAgBC,EAAO,EAAE,CAAC,EAAE,EAE7BD,GAAgBC,EAAO,EAAI,EAE5B,OAAOv3G,GAAoB,EAAEgS,EAAM,CACpC,EAEI4lG,GAAqB,KAAK,aAAkB,KAAK,cAAmB,CAAC,EACzEA,GAAmB,QAAQJ,GAAqB,KAAK,KAAM,CAAC,CAAC,EAC7DI,GAAmB,KAAOJ,GAAqB,KAAK,KAAMI,GAAmB,KAAK,KAAKA,EAAkB,CAAC,C,KC7C1G,IAAIC,GAAsB73G,GAAoB,EAAE,OAAW,CAAC,GAAG,EAAG,IAAOA,GAAoB,KAAK,CAAE,EACpG63G,GAAsB73G,GAAoB,EAAE63G,EAAmB,C","sources":["webpack:///../Infrastructure/Services/WonderWoman.WebHost/languages.json","webpack:///../Infrastructure/Services/WonderWoman.WebHost/routes.json","webpack:///../locale/translated/de-de.mpclient.json","webpack:///../locale/translated/en-gb.mpclient.json","webpack:///../locale/translated/es-es.mpclient.json","webpack:///../locale/translated/fr-fr.mpclient.json","webpack:///../locale/translated/it-it.mpclient.json","webpack:///../locale/translated/zh-cn.mpclient.json","webpack:///../node_modules/moment/locale/ sync ^\\.\\/.*$","webpack:///./src/app/shared/sluggifier.ts","webpack:///./src/app/shared/router.ts","webpack:///./src/app/shared/helpers/webLocaleHelper.ts","webpack:///./src/app/web/globals.ts","webpack:///./src/app/shared/common/Constants.ts","webpack:///./src/app/shared/helpers/dateHelper.ts","webpack:///./src/app/shared/Authentication.ts","webpack:///./src/app/shared/ClientManager.ts","webpack:///./src/app/shared/ReduxContext.ts","webpack:///./src/app/shared/haunted/HooksHelpers.ts","webpack:///./src/app/shared/helpers/numberHelper.ts","webpack:///./src/app/shared/helpers/stringHelper.ts","webpack:///./src/app/shared/helpers/urlHelper.ts","webpack:///./src/app/shared/haunted/CustomHooks.ts","webpack:///./src/app/web/services/APIs/self/commons/TswagClient.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/Error/ErrorMessage.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/Error/Error.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/UserEmail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/Company.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/User.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/SearchResult.ts","webpack:///./src/app/web/services/APIs/self/clients/Account.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Company.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Search/SearchResult.ts","webpack:///./src/app/web/services/APIs/self/converters/DateConverter.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/Subscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/FilingAgentSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/FiscalRepresentativeSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/IntrastatInSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/IntrastatOutSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/IossComplianceSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/RetrospectiveReturnSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/SpanishBankAccountSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/VatComplianceSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Subscriptions/SubscriptionFactory.ts","webpack:///./src/app/web/services/APIs/self/clients/Companies.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/Address.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/BusinessDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/Person/Name.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/CompanyDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/IndividualDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/BusinessDetailFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/MasterData/Country.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Detail/Document.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/VatIdentificationNumber.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Detail/BankAccount.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Detail/BankAccountConfig.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/CompanyInfo/FrequencyConfig.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/CompanyInfo/VatRegistration.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Detail/IossRegistration/Document.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/CompanyInfo/IossRegistration.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Detail/EoriRegistrations/EoriRegistration.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/CompanyInfo/CompanyDetail.ts","webpack:///./src/app/web/services/APIs/self/clients/Company.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Configuration/Amazon/SellerEntity.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Configuration/Amazon/AmazonConfiguration.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Configuration/CompanyConfiguration.ts","webpack:///./src/app/web/services/APIs/self/clients/ComplianceCompany.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/Money.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/Sku.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/SearchSku/SearchResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/Upload/ValidationMessage.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/Upload/UploadResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/DefaultVatRateType.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/TypeAndRate.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/VatRateTypeSetting.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/GTUCode.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/Currency.ts","webpack:///./src/app/web/services/APIs/self/clients/ComplianceMasterData.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Files/File.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Files/AmazonFile.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Files/AmazonSaftFile.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Files/IossFile.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Files/KpmgTemplateFile.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Files/FileFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/ComplianceUpload.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Search/SearchResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/ValidationMessage.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/UploadResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/KpmgValidationMessage.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/KpmgUploadResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/AmazonValidationMessage.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/AmazonUploadResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/AmazonSaftValidationMessage.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/AmazonSaftUploadResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/StatusResult.ts","webpack:///./src/app/web/services/APIs/self/clients/ComplianceUploads.ts","webpack:///./src/app/web/services/APIs/self/clients/IossRegistration.ts","webpack:///./src/app/web/services/APIs/self/clients/MasterData.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/BillingDocument.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/Payment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/BankTransferPayment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/DesuclaPayment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/PayPalPayment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/PaymentFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Services/Service.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Services/CountryBasedSubscriptionService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Services/HourlyService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Services/SimpleService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Services/SubscriptionService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Services/ServiceFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Get/Order.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Search/SearchOrder.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Search/SearchResponse.ts","webpack:///./src/app/web/services/APIs/self/clients/Orders.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Payments/PaymentInfo/PaymentInfo.ts","webpack:///./src/app/web/services/APIs/self/clients/Payments.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/FileReferenceAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/AccountingLocationAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/AddressAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BankInformationAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/BeneficialOwner/BeneficialOwner.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BeneficialOwnersAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BoolAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/BusinessOwner/BusinessOwner.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BusinessOwnersAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ClientBaseAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/CountryAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/DateAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/DatedVatIdentificationNumber.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ExistingVatNumbersAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/FixedEstablishment/FixedEstablishment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/FixedEstablishmentsAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalEntityFormAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalEntityTypeAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/LegalRepresentative/LegalRepresentative.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalRepresentativesAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/MoneyAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/MultiCountryAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/MultiStringAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/NameAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/OssDetail/OssDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/OssDetailAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ProductTypeAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/StringAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/TurnOver.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/TurnOversAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/VatNumberAnswer.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/AnswerFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Questionnaire.ts","webpack:///./src/app/web/services/APIs/self/clients/Questionnaire.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Services/V2/ServiceDescriptor.ts","webpack:///./src/app/web/services/APIs/self/clients/Services.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/File.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/SubmissionPeriod.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/SearchResult.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/File.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/SubmissionPeriodFiles.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/FrequencyConfigurationOption.ts","webpack:///./src/app/web/services/APIs/self/clients/SubmissionPeriods.ts","webpack:///./src/app/web/services/APIs/self/clients/Subscriptions.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/VatRegistration/PredefinedBankAccount.ts","webpack:///./src/app/web/services/APIs/self/clients/VatRegistration.ts","webpack:///./src/app/web/services/APIs/self/models/ErrorViewModel.ts","webpack:///./src/app/web/services/APIs/self/clients/Vies.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/BusinessDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/CompanyDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/IndividualDetail.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/BusinessDetailFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/ChangeCompany.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Create/CreateCompanyRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Search/Field.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Search/Pager.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Search/SearchRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Subscriptions/Feedbacks/LeavingReason.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Subscriptions/Feedbacks/DeregistrationReason.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Subscriptions/Feedbacks/MovingSubReason.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Subscriptions/Feedbacks/MovingReason.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Subscriptions/Feedbacks/LeavingReasonFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Companies/Subscriptions/Feedbacks/Feedback.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Common/Error/ErrorMessage.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Common/Error/Error.ts","webpack:///./src/app/shared/common/ApiError.ts","webpack:///./src/app/shared/common/Nameof.ts","webpack:///./src/app/shared/ui/dc-notifier-reducer.ts","webpack:///./src/app/shared/ui/dc-notifier.ts","webpack:///./src/app/shared/helpers/errorHelper.ts","webpack:///./src/app/web/components/notification/NotificationModels.ts","webpack:///./src/app/web/components/notification/notification.ts","webpack:///./src/app/web/components/header.ts","webpack:///./src/app/shared/templates/commons.ts","webpack:///./src/app/web/components/footer.ts","webpack:///./src/app/web/components/home.ts","webpack:///./src/app/web/components/redirect-with-set-company.ts","webpack:///./src/app/shared/ui/dc-checkbox.ts","webpack:///./src/app/shared/ui/dc-checkbox2.ts","webpack:///./src/app/shared/ui/dc-datepicker.ts","webpack:///./src/app/shared/ui/dc-dropdown.ts","webpack:///./src/app/shared/ui/dc-dropfield.ts","webpack:///./src/app/shared/ui/dc-dropzone.ts","webpack:///./src/app/shared/ui/dc-fileupload.ts","webpack:///./src/app/shared/ui/dc-form-modal.ts","webpack:///./src/app/shared/ui/dc-input.ts","webpack:///./src/app/shared/ui/dc-loader.ts","webpack:///./src/app/shared/ui/dc-modal.ts","webpack:///./src/app/shared/helpers/collectionHelper.ts","webpack:///./src/app/shared/ui/dc-pager.ts","webpack:///./src/app/shared/ui/dc-select.ts","webpack:///./src/app/shared/ui/dc-step-progressbar.ts","webpack:///./src/app/shared/ui/dc-table.ts","webpack:///./src/app/shared/ui/dc-table-header.ts","webpack:///./src/app/shared/ui/dc-tabs.ts","webpack:///./src/app/shared/ui/dc-toggle.ts","webpack:///./src/app/shared/ui/dc-tooltip.ts","webpack:///./src/app/shared/ui/dc-validation-summary.ts","webpack:///./src/app/shared/ui/dc-multiselect.ts","webpack:///./src/app/shared/ui/dc-view-button.ts","webpack:///./src/app/web/components/static/guides-and-tutorials.ts","webpack:///./src/app/web/components/static/faqs-data.ts","webpack:///./src/app/web/components/static/faqs.ts","webpack:///./src/app/web/components/static/legal.ts","webpack:///./src/app/web/components/static/privacy.ts","webpack:///./src/app/web/components/static/accessibility.ts","webpack:///./src/app/web/components/static/contact.ts","webpack:///./src/app/web/components/static/contact-account-manager.ts","webpack:///./src/app/shared/validators/email-validator.ts","webpack:///./src/app/shared/reCaptcha/useGoogleReCaptcha.ts","webpack:///./src/app/web/components/login.ts","webpack:///./src/app/web/components/email-verify.ts","webpack:///./src/app/shared/validators/password-validator.ts","webpack:///./src/app/web/components/register-by-invitation.ts","webpack:///./src/app/shared/helpers/complianceMasterDataHelper.ts","webpack:///./src/app/shared/helpers/masterDataHelper.ts","webpack:///./src/app/web/components/hooks/WebCustomHooks.ts","webpack:///./src/app/web/components/register-delivery-service.ts","webpack:///./src/app/web/components/register.ts","webpack:///./src/app/web/components/forgot-password.ts","webpack:///./src/app/web/components/reset-password.ts","webpack:///./src/app/web/components/language-select.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/InviteUser.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/Field.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/Filter.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/Pager.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/Search/SearchRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/UpdateEmail.ts","webpack:///./src/app/web/components/profile-select.ts","webpack:///./src/app/web/components/admin/admin-home.ts","webpack:///./src/app/shared/components/orders/order-summary.ts","webpack:///./src/app/shared/components/orders/order-price-breakdown.ts","webpack:///./src/app/shared/helpers/pdfHelper.ts","webpack:///./src/app/shared/components/orders/contract/amazon-pdf-data.ts","webpack:///./src/app/shared/components/orders/contract/amazon-pdf.ts","webpack:///./src/app/shared/components/orders/contract/fedex-pdf-data.ts","webpack:///./src/app/shared/components/orders/contract/pdf-common.ts","webpack:///./src/app/shared/components/orders/contract/fedex-pdf.ts","webpack:///./src/app/shared/components/orders/contract/kpmg-pdf-data.ts","webpack:///./src/app/shared/components/orders/contract/kpmg-pdf.ts","webpack:///./src/app/shared/components/orders/contract/laposte-pdf-data.ts","webpack:///./src/app/shared/components/orders/contract/laposte-pdf.ts","webpack:///./src/app/shared/components/orders/contract/pdf-generator.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Common/Money.ts","webpack:///./src/app/admin/services/APIs/self/converters/DateConverter.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/Payment.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/BankTransferPayment.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/DesuclaPayment.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/PayPalPayment.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/PaymentFactory.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Services/Service.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Services/CountryBasedSubscriptionService.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Services/HourlyService.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Services/SimpleService.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Services/SubscriptionService.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Services/ServiceFactory.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/BillingDocument.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Get/Order.ts","webpack:///./src/app/shared/mappers/MoneyMapper.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Search/Field.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Search/Filter.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Search/Pager.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Search/SearchOrder.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Search/SearchRequest.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Orders/Search/SearchResponse.ts","webpack:///./src/app/shared/components/orders/OrderModels.ts","webpack:///./src/app/shared/components/orders/business-details/BusinessDetailsData.ts","webpack:///./src/app/shared/helpers/countryHelper.ts","webpack:///./src/app/shared/components/orders/business-details/BusinessDetailsValidator.ts","webpack:///./src/app/shared/components/orders/business-details/business-details.ts","webpack:///./src/app/shared/components/orders/services/CreateServiceModels.ts","webpack:///./src/app/shared/components/orders/services/OrderServiceModels.ts","webpack:///./src/app/shared/components/orders/services/OrderServiceValidator.ts","webpack:///./src/app/shared/components/orders/services/order-vat-services.ts","webpack:///./src/app/shared/components/orders/services/order-country-selector.ts","webpack:///./src/app/shared/helpers/booleanHelper.ts","webpack:///./src/app/shared/components/orders/services/order-ioss-services.ts","webpack:///./src/app/shared/components/orders/services/order-global-services.ts","webpack:///./src/app/shared/components/orders/services/order-services.ts","webpack:///./src/app/shared/components/orders/business-details/BusinessDetailsModels.ts","webpack:///./src/app/shared/components/orders/services/order-services-utils.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/Service.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/CountryBasedSubscriptionService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/CustomPricedService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/HourlyService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/SimpleService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/SubscriptionService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/ServiceFactory.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Create/Request/CreateOrderRequest.ts","webpack:///./src/app/web/components/admin/admin-services-utils.ts","webpack:///./src/app/shared/components/orders/OrderHelpers.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Services/V2/SelectedService.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Services/V2/GetServicesRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Payments/Pay/Payment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Payments/Pay/BankTransferPayment.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Payments/Pay/PayPalPayment.ts","webpack:///./src/app/web/components/admin/admin-common-calls.ts","webpack:///./src/app/shared/helpers/servicesHelper.ts","webpack:///./src/app/web/components/admin/admin-signup.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/AddLocalTaxStatusChange.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Frequency/NewFrequencyConfig.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Frequency/FrequenciesChangeRequest.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/PossibleStatusChange.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Search/VatRegField.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Search/VatRegFilter.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Search/VatRegPager.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Search/VatRegSearchContent.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Search/VatRegSearchRequest.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/Search/VatRegSearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/VatRegistration/VatRegistrationStatusChangeFactory.ts","webpack:///./src/app/shared/models/ServicesModels.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Common/Person/Name.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Common/Address.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/BusinessDetail.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/CompanyDetail.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/IndividualDetail.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/BusinessDetailFactory.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Detail/BankAccount.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Detail/Document.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Detail/EoriRegistrations/EoriRegistration.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Detail/IossRegistration/Document.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/FileReferenceAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/AccountingLocationAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/AddressAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BankInformationAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/BeneficialOwner/BeneficialOwner.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BeneficialOwnersAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BoolAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/BusinessOwner/BusinessOwner.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BusinessOwnersAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ClientBaseAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/CountryAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/DateAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/DatedVatIdentificationNumber.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ExistingVatNumbersAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/FixedEstablishment/FixedEstablishment.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/FixedEstablishmentsAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalEntityFormAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalEntityTypeAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/LegalRepresentative/LegalRepresentative.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalRepresentativesAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/MoneyAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/MultiCountryAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/MultiStringAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/NameAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/OssDetail/OssDetail.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/OssDetailAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ProductTypeAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/StringAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/TurnOver.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/TurnOversAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Common/VatIdentificationNumber.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/VatNumberAnswer.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/AnswerFactory.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Questionnaire.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/Subscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/FilingAgentSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/FiscalRepresentativeSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/IntrastatInSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/IntrastatOutSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/IossComplianceSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/RetrospectiveReturnSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/SpanishBankAccountSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/VatComplianceSubscription.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/CompanyInfo/Subscriptions/SubscriptionFactory.ts","webpack:///./src/app/shared/helpers/questionnaireHelper.ts","webpack:///./src/app/shared/mappers/ServicesMapper.ts","webpack:///./src/app/shared/components/company-details/CompanyDetailsValidator.ts","webpack:///./src/app/shared/components/company-details/company-details.ts","webpack:///./src/app/shared/components/reg-modals/comment-modal.ts","webpack:///./src/app/shared/components/services/services-common.ts","webpack:///./src/app/shared/helpers/fileHelper.ts","webpack:///./src/app/shared/components/reg-modals/ioss-modal.ts","webpack:///./src/app/shared/components/modals/commonModals.ts","webpack:///./src/app/shared/components/services/sub-cancellation-modal.ts","webpack:///./src/app/shared/validation/AwesomeValidator.ts","webpack:///./src/app/shared/components/reg-modals/deregistration-modal.ts","webpack:///./src/app/shared/components/services/ioss-service.ts","webpack:///./src/app/shared/models/VatRegModels.ts","webpack:///./src/app/shared/components/services/BankAccountConfigValidator.ts","webpack:///./src/app/shared/components/services/bank-account-modal.ts","webpack:///./src/app/shared/components/services/service-helpers.ts","webpack:///./src/app/shared/components/services/frequency-modal.ts","webpack:///./src/app/shared/components/reg-modals/LocalVatChangeValidator.ts","webpack:///./src/app/shared/components/reg-modals/local-vat-modal.ts","webpack:///./src/app/shared/components/reg-modals/EuVatChangeValidator.ts","webpack:///./src/app/shared/components/reg-modals/euvat-modal.ts","webpack:///./src/app/shared/components/services/payment-reference-modal.ts","webpack:///./src/app/shared/components/reg-modals/poarevoke-modal.ts","webpack:///./src/app/shared/components/services/subscription-modal.ts","webpack:///./src/app/shared/components/services/tax-identifier-modal.ts","webpack:///./src/app/shared/components/services/vat-service.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/CompanyInfo/FrequencyConfig.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/CompanyInfo/VatRegistration.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/CompanyInfo/IossRegistration.ts","webpack:///./src/app/shared/components/q11e/QuestionnaireContext.ts","webpack:///./src/app/shared/components/q11e/questions.ts","webpack:///./src/app/shared/components/q11e/AnswerValidators.ts","webpack:///./src/app/shared/components/q11e/answer-string.ts","webpack:///./src/app/shared/components/q11e/answer-bool.ts","webpack:///./src/app/shared/components/q11e/answer-address.ts","webpack:///./src/app/shared/components/q11e/answer-money.ts","webpack:///./src/app/shared/components/q11e/answer-helpers.ts","webpack:///./src/app/shared/components/q11e/answer-date.ts","webpack:///./src/app/shared/components/q11e/answer-fileref.ts","webpack:///./src/app/shared/components/q11e/answer-name.ts","webpack:///./src/app/shared/components/q11e/answer-multistring.ts","webpack:///./src/app/shared/components/q11e/answer-existing-vat-numbers.ts","webpack:///./src/app/admin/services/APIs/self/commons/TswagClient.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Agents/Agent.ts","webpack:///./src/app/admin/services/APIs/self/clients/AdminUsers.ts","webpack:///./src/app/admin/services/APIs/self/clients/Agent.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Agents/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/clients/Agents.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/Search/Company.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/CompanyInfo/CompanyDetail.ts","webpack:///./src/app/admin/services/APIs/self/clients/Company.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Configuration/Amazon/AmazonConfiguration.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Configuration/CompanyConfiguration.ts","webpack:///./src/app/admin/services/APIs/self/clients/ComplianceCompany.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceMasterData/Upload/ValidationMessage.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceMasterData/Upload/UploadResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceMasterData/DefaultVatRateType.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceMasterData/TypeAndRate.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceMasterData/VatRateTypeSetting.ts","webpack:///./src/app/admin/services/APIs/self/clients/ComplianceMasterData.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/ComplianceUpload.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/ValidationMessage.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/UploadResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/KpmgValidationMessage.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/KpmgUploadResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/AmazonValidationMessage.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/AmazonUploadResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/AmazonSaftValidationMessage.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/AmazonSaftUploadResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/StatusResult.ts","webpack:///./src/app/admin/services/APIs/self/clients/ComplianceUploads.ts","webpack:///./src/app/admin/services/APIs/self/clients/DataUpload.ts","webpack:///./src/app/admin/services/APIs/self/clients/DocumentGenerator.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/IossRegistration/Search/IossRegistration.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/IossRegistration/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Company/IossRegistration/PossibleStatusChange.ts","webpack:///./src/app/admin/services/APIs/self/clients/IossRegistration.ts","webpack:///./src/app/admin/services/APIs/self/clients/MasterData.ts","webpack:///./src/app/admin/services/APIs/self/clients/Migration.ts","webpack:///./src/app/admin/services/APIs/self/clients/Orders.ts","webpack:///./src/app/admin/services/APIs/self/clients/Payments.ts","webpack:///./src/app/admin/services/APIs/self/clients/Questionnaire.ts","webpack:///./src/app/admin/services/APIs/self/clients/Reporting.ts","webpack:///./src/app/admin/services/APIs/self/clients/Roles.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Services/ServiceDescriptor.ts","webpack:///./src/app/admin/services/APIs/self/clients/Services.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/SubmissionDeadlineConfigurations/Search/SubmissionDeadlineConfiguration.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/SubmissionDeadlineConfigurations/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/clients/SubmissionDeadlineConfigurations.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Submission/Search/SubmissionPeriod.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Submission/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/Submission/FrequencyConfigurationOption.ts","webpack:///./src/app/admin/services/APIs/self/clients/SubmissionPeriods.ts","webpack:///./src/app/admin/services/APIs/self/clients/Subscriptions.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TaxEngine/TaxCode.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TaxEngine/TaxCodeTerm.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TaxEngine/Condition.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TaxEngine/TaxCodeDefinition.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TaxEngine/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/clients/TaxCodeDefinitions.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/CompanyCustomParam.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/VatRegCustomParam.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/CustomParamBaseFactory.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateResponse.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateSearch/VatRegTemplateSearchContent.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateSearch/VatRegTemplateSearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateSearch/CompanyTemplateSearchContent.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateSearch/CompanyTemplateSearchResult.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/Term.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/ConditionExpression.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/MappingExpressionBaseFactory.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/MappingItem.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateVersion.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/PdfFieldValue.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/PdfFieldResponse.ts","webpack:///./src/app/admin/services/APIs/self/clients/Templates.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/TemplateMapping/TemplateTypeDescription.ts","webpack:///./src/app/admin/services/APIs/self/clients/TemplateTypes.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/VatRateTypeSettings/Search/VatRateTypeSetting.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/VatRateTypeSettings/Search/SearchResult.ts","webpack:///./src/app/admin/services/APIs/self/clients/VATRateTypeSettings.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/DocGenerator/DataSourceField.ts","webpack:///./src/app/admin/services/APIs/self/clients/VatRegistration.ts","webpack:///./src/app/admin/services/APIs/self/clients/WebUsers.ts","webpack:///./src/app/shared/components/q11e/answer-legal-representatives.ts","webpack:///./src/app/shared/components/q11e/answer-business-owners.ts","webpack:///./src/app/shared/components/q11e/answer-bank-information.ts","webpack:///./src/app/shared/components/q11e/answer-country.ts","webpack:///./src/app/shared/components/q11e/answer-vatnumber.ts","webpack:///./src/app/shared/components/q11e/answer-fixed-establishments.ts","webpack:///./src/app/shared/components/q11e/answer-oss-details.ts","webpack:///./src/app/shared/components/q11e/answer-multicountry.ts","webpack:///./src/app/shared/components/q11e/answer-enum.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/AccountingLocationAnswerAbstraction.ts","webpack:///./src/app/shared/components/q11e/answer-accountinglocation.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalEntityFormAnswerAbstraction.ts","webpack:///./src/app/shared/components/q11e/answer-legalentityform.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/LegalEntityTypeAnswerAbstraction.ts","webpack:///./src/app/shared/components/q11e/answer-legalentitytype.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ProductTypeAnswerAbstraction.ts","webpack:///./src/app/shared/components/q11e/answer-producttype.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/ClientBaseAnswerAbstraction.ts","webpack:///./src/app/shared/components/q11e/answer-clientbase.ts","webpack:///./src/app/shared/components/q11e/answer-turnovers.ts","webpack:///./src/app/web/services/APIs/self/models/V1/CompanyInfo/Questionnaire/BeneficialOwner/BeneficialOwnerAbstraction.ts","webpack:///./src/app/shared/components/q11e/answer-beneficial-owners.ts","webpack:///./src/app/shared/components/q11e/answer-utils.ts","webpack:///./src/app/shared/components/services/vat-numbers-modal.ts","webpack:///./src/app/shared/components/services/services.ts","webpack:///./src/app/web/components/admin/admin-services-manage.ts","webpack:///./src/app/shared/models/common/PermissionModels.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Subscriptions/VatRegistrationSubscriptionAbstraction.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Subscriptions/SubscriptionIdentifier.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Subscriptions/VatRegistrationSubscription.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Subscriptions/SubscriptionIdentifierFactory.ts","webpack:///./src/app/web/components/admin/admin-services.ts","webpack:///./src/app/shared/components/orders/order-details.ts","webpack:///./src/app/shared/components/orders/orders.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/DateTime/DateTimeUtcRange.ts","webpack:///./src/app/web/services/APIs/self/models/V1/AmountRange.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Search/Filter.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Search/Field.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Search/Pager.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Orders/Search/SearchRequest.ts","webpack:///./src/app/web/components/admin/admin-orders.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Files/File.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Files/IossFile.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Files/KpmgTemplateFile.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Configuration/Amazon/SellerEntity.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Files/AmazonFile.ts","webpack:///./src/app/admin/services/APIs/self/models/V1/ComplianceUploads/Files/AmazonSaftFile.ts","webpack:///./src/app/shared/components/compliance-uploads/ComplianceUploadModels.ts","webpack:///./src/app/shared/components/compliance-uploads/SellerEntityValidator.ts","webpack:///./src/app/shared/helpers/periodHelper.ts","webpack:///./src/app/shared/components/compliance-uploads/compliance-uploads.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Configuration/Amazon/UpdatedSellerEntity.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Configuration/Amazon/UpdatedAmazonConfiguration.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Configuration/UpdatedCompanyConfiguration.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Search/Field.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Search/Filter.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Search/Pager.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceUploads/Search/SearchRequest.ts","webpack:///./src/app/web/components/admin/admin-compliance-upload.ts","webpack:///./src/app/shared/components/q11e/Q11eValidator.ts","webpack:///./src/app/web/components/admin/admin-questionnaire.ts","webpack:///./src/app/shared/components/q11e/q11e-banking-information.ts","webpack:///./src/app/shared/components/q11e/q11e-business-details.ts","webpack:///./src/app/shared/components/orders/services/order-vat-country-service.ts","webpack:///./src/app/web/components/notification/NotificationValidator.ts","webpack:///./src/app/web/components/notification/notification-feedback.ts","webpack:///./src/app/shared/components/return-library/SubmissionModels.ts","webpack:///./src/app/shared/components/return-library/SubmissionValidator.ts","webpack:///./src/app/shared/components/return-library/return-library-modals.ts","webpack:///./src/app/shared/components/return-library/return-library.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Common/DateTime/DateRange.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/SubmissionPeriodStatusChange.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Approved.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/SubmissionPeriodPaymentStatusChange.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Due.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Paid.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/PaidByClient.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Refused.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/Field.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/Filter.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/Pager.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/Search/SearchRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Submission/SubmittedByClient.ts","webpack:///./src/app/web/components/admin/admin-return-library.ts","webpack:///./src/app/shared/components/client-accounts/ClientAccountsModels.ts","webpack:///./src/app/shared/components/client-accounts/InvitationValidator.ts","webpack:///./src/app/shared/components/client-accounts/client-accounts.ts","webpack:///./src/app/web/services/APIs/self/models/V1/Account/PatchCompanies.ts","webpack:///./src/app/web/components/admin/admin-client-accounts.ts","webpack:///./src/app/web/components/cookie-consent.ts","webpack:///./src/app/shared/components/sku/AmazonSkuModels.ts","webpack:///./src/app/shared/components/sku/amazon-skus.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/AddSku.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/SearchSku/Filter.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/SearchSku/ExportRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/SearchSku/Field.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/SearchSku/Pager.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/SearchSku/SearchRequest.ts","webpack:///./src/app/web/services/APIs/self/models/V1/ComplianceMasterData/UpdateSku.ts","webpack:///./src/app/web/components/admin/admin-amazon-skus.ts","webpack:///./src/app/shared/components/default-vat-rates/DefaultVatRateModels.ts","webpack:///./src/app/shared/components/default-vat-rates/default-vat-rates.ts","webpack:///./src/app/web/components/admin/admin-default-vat-rates.ts","webpack:///./src/app/web/components.ts","webpack:///./src/app/web/bootstrap.ts","webpack:///webpack/bootstrap","webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/create fake namespace object","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/global","webpack:///webpack/runtime/harmony module decorator","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/startup"],"sourcesContent":["module.exports = {\"Languages\":{\"Items\":[{\"key\":\"engb\",\"locale\":\"en-GB\",\"country\":\"gb\",\"lang\":\"en\",\"name\":\"English\"},{\"key\":\"dede\",\"locale\":\"de-DE\",\"country\":\"de\",\"lang\":\"de\",\"name\":\"Deutsch\"},{\"key\":\"eses\",\"locale\":\"es-ES\",\"country\":\"es\",\"lang\":\"es\",\"name\":\"Español\"},{\"key\":\"itit\",\"locale\":\"it-IT\",\"country\":\"it\",\"lang\":\"it\",\"name\":\"Italiano\"},{\"key\":\"frfr\",\"locale\":\"fr-FR\",\"country\":\"fr\",\"lang\":\"fr\",\"name\":\"Français\"},{\"key\":\"zhcn\",\"locale\":\"zh-CN\",\"country\":\"cn\",\"lang\":\"zh\",\"name\":\"简体中文\"}]}}","module.exports = {\"Routes\":{\"Items\":[{\"key\":\"faqs\",\"tag\":\"ww-faqs\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"faqs\",\"title\":\"FAQs\"},{\"locale\":\"de-DE\",\"value\":\"faqs\",\"title\":\"DE FAQs\"},{\"locale\":\"es-ES\",\"value\":\"faqs\",\"title\":\"ES FAQs\"},{\"locale\":\"it-IT\",\"value\":\"faqs\",\"title\":\"IT FAQs\"},{\"locale\":\"fr-FR\",\"value\":\"faqs\",\"title\":\"FR FAQs\"},{\"locale\":\"zh-CN\",\"value\":\"faqs\",\"title\":\"CN FAQs\"}]},{\"key\":\"guides-and-tutorials\",\"tag\":\"ww-guides-and-tutorials\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"guides-and-tutorials\",\"title\":\"Guides and Tutorials\"},{\"locale\":\"de-DE\",\"value\":\"guides-and-tutorials\",\"title\":\"DE Guides and Tutorials\"},{\"locale\":\"es-ES\",\"value\":\"guides-and-tutorials\",\"title\":\"ES Guides and Tutorials\"},{\"locale\":\"it-IT\",\"value\":\"guides-and-tutorials\",\"title\":\"IT Guides and Tutorials\"},{\"locale\":\"fr-FR\",\"value\":\"guides-and-tutorials\",\"title\":\"FR Guides and Tutorials\"},{\"locale\":\"zh-CN\",\"value\":\"guides-and-tutorials\",\"title\":\"CN Guides and Tutorials\"}]},{\"key\":\"legal\",\"tag\":\"ww-legal\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"legal\",\"title\":\"Legal\"},{\"locale\":\"de-DE\",\"value\":\"legal\",\"title\":\"DE Legal\"},{\"locale\":\"es-ES\",\"value\":\"legal\",\"title\":\"ES Legal\"},{\"locale\":\"it-IT\",\"value\":\"legal\",\"title\":\"IT Legal\"},{\"locale\":\"fr-FR\",\"value\":\"legal\",\"title\":\"FR Legal\"},{\"locale\":\"zh-CN\",\"value\":\"legal\",\"title\":\"CN Legal\"}]},{\"key\":\"privacy\",\"tag\":\"ww-privacy\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"privacy\",\"title\":\"Privacy\"},{\"locale\":\"de-DE\",\"value\":\"privacy\",\"title\":\"DE Privacy\"},{\"locale\":\"es-ES\",\"value\":\"privacy\",\"title\":\"ES Privacy\"},{\"locale\":\"it-IT\",\"value\":\"privacy\",\"title\":\"IT Privacy\"},{\"locale\":\"fr-FR\",\"value\":\"privacy\",\"title\":\"FR Privacy\"},{\"locale\":\"zh-CN\",\"value\":\"privacy\",\"title\":\"CN Privacy\"}]},{\"key\":\"contact\",\"tag\":\"ww-contact\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"contact\",\"title\":\"Contact\"},{\"locale\":\"de-DE\",\"value\":\"contact\",\"title\":\"DE Contact\"},{\"locale\":\"es-ES\",\"value\":\"contact\",\"title\":\"ES Contact\"},{\"locale\":\"it-IT\",\"value\":\"contact\",\"title\":\"IT Contact\"},{\"locale\":\"fr-FR\",\"value\":\"contact\",\"title\":\"FR Contact\"},{\"locale\":\"zh-CN\",\"value\":\"contact\",\"title\":\"CN Contact\"}]},{\"key\":\"account-manager\",\"tag\":\"ww-contact-am\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"account-manager\",\"title\":\"Contact Account Manager\"},{\"locale\":\"de-DE\",\"value\":\"account-manager\",\"title\":\"Contact Account Manager\"},{\"locale\":\"es-ES\",\"value\":\"account-manager\",\"title\":\"Contact Account Manager\"},{\"locale\":\"it-IT\",\"value\":\"account-manager\",\"title\":\"Contact Account Manager\"},{\"locale\":\"fr-FR\",\"value\":\"account-manager\",\"title\":\"Contact Account Manager\"},{\"locale\":\"zh-CN\",\"value\":\"account-manager\",\"title\":\"Contact Account Manager\"}]},{\"key\":\"admin\",\"tag\":\"ww-admin-home\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin\",\"title\":\"Admin Home\"},{\"locale\":\"de-DE\",\"value\":\"admin\",\"title\":\"Admin Home\"},{\"locale\":\"es-ES\",\"value\":\"admin\",\"title\":\"Admin Home\"},{\"locale\":\"it-IT\",\"value\":\"admin\",\"title\":\"Admin Home\"},{\"locale\":\"fr-FR\",\"value\":\"admin\",\"title\":\"Admin Home\"},{\"locale\":\"zh-CN\",\"value\":\"admin\",\"title\":\"Admin Home\"}]},{\"key\":\"admin/services(/manage)\",\"tag\":\"ww-admin-services\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/services(/manage)\",\"title\":\"Services\"},{\"locale\":\"de-DE\",\"value\":\"admin/services(/manage)\",\"title\":\"Services\"},{\"locale\":\"es-ES\",\"value\":\"admin/services(/manage)\",\"title\":\"Services\"},{\"locale\":\"it-IT\",\"value\":\"admin/services(/manage)\",\"title\":\"Services\"},{\"locale\":\"fr-FR\",\"value\":\"admin/services(/manage)\",\"title\":\"Services\"},{\"locale\":\"zh-CN\",\"value\":\"admin/services(/manage)\",\"title\":\"Services\"}]},{\"key\":\"admin/orders(/:orderId)\",\"tag\":\"ww-admin-orders\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/orders(/:orderId)\",\"title\":\"Order History\"},{\"locale\":\"de-DE\",\"value\":\"admin/orders(/:orderId)\",\"title\":\"Order History\"},{\"locale\":\"es-ES\",\"value\":\"admin/orders(/:orderId)\",\"title\":\"Order History\"},{\"locale\":\"it-IT\",\"value\":\"admin/orders(/:orderId)\",\"title\":\"Order History\"},{\"locale\":\"fr-FR\",\"value\":\"admin/orders(/:orderId)\",\"title\":\"Order History\"},{\"locale\":\"zh-CN\",\"value\":\"admin/orders(/:orderId)\",\"title\":\"Order History\"}]},{\"key\":\"admin/business-details\",\"tag\":\"ww-admin-questionnaire\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/business-details\",\"title\":\"Questionnaire\"},{\"locale\":\"de-DE\",\"value\":\"admin/business-details\",\"title\":\"Questionnaire\"},{\"locale\":\"es-ES\",\"value\":\"admin/business-details\",\"title\":\"Questionnaire\"},{\"locale\":\"it-IT\",\"value\":\"admin/business-details\",\"title\":\"Questionnaire\"},{\"locale\":\"fr-FR\",\"value\":\"admin/business-details\",\"title\":\"Questionnaire\"},{\"locale\":\"zh-CN\",\"value\":\"admin/business-details\",\"title\":\"Questionnaire\"}]},{\"key\":\"admin/compliance-upload\",\"tag\":\"ww-admin-compliance-uploads\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/compliance-upload\",\"title\":\"Data Upload\"},{\"locale\":\"de-DE\",\"value\":\"admin/compliance-upload\",\"title\":\"Data Upload\"},{\"locale\":\"es-ES\",\"value\":\"admin/compliance-upload\",\"title\":\"Data Upload\"},{\"locale\":\"it-IT\",\"value\":\"admin/compliance-upload\",\"title\":\"Data Upload\"},{\"locale\":\"fr-FR\",\"value\":\"admin/compliance-upload\",\"title\":\"Data Upload\"},{\"locale\":\"zh-CN\",\"value\":\"admin/compliance-upload\",\"title\":\"Data Upload\"}]},{\"key\":\"admin/client-accounts\",\"tag\":\"ww-admin-client-accounts\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/client-accounts\",\"title\":\"Client Accounts\"},{\"locale\":\"de-DE\",\"value\":\"admin/client-accounts\",\"title\":\"Client Accounts\"},{\"locale\":\"es-ES\",\"value\":\"admin/client-accounts\",\"title\":\"Client Accounts\"},{\"locale\":\"it-IT\",\"value\":\"admin/client-accounts\",\"title\":\"Client Accounts\"},{\"locale\":\"fr-FR\",\"value\":\"admin/client-accounts\",\"title\":\"Client Accounts\"},{\"locale\":\"zh-CN\",\"value\":\"admin/client-accounts\",\"title\":\"Client Accounts\"}]},{\"key\":\"admin/return-library\",\"tag\":\"ww-admin-return-library\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/return-library\",\"title\":\"Return Library\"},{\"locale\":\"de-DE\",\"value\":\"admin/return-library\",\"title\":\"Return Library\"},{\"locale\":\"es-ES\",\"value\":\"admin/return-library\",\"title\":\"Return Library\"},{\"locale\":\"it-IT\",\"value\":\"admin/return-library\",\"title\":\"Return Library\"},{\"locale\":\"fr-FR\",\"value\":\"admin/return-library\",\"title\":\"Return Library\"},{\"locale\":\"zh-CN\",\"value\":\"admin/return-library\",\"title\":\"Return Library\"}]},{\"key\":\"admin/master-data\",\"tag\":\"ww-empty\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/master-data\",\"title\":\"Master Data\"},{\"locale\":\"de-DE\",\"value\":\"admin/master-data\",\"title\":\"Master Data\"},{\"locale\":\"es-ES\",\"value\":\"admin/master-data\",\"title\":\"Master Data\"},{\"locale\":\"it-IT\",\"value\":\"admin/master-data\",\"title\":\"Master Data\"},{\"locale\":\"fr-FR\",\"value\":\"admin/master-data\",\"title\":\"Master Data\"},{\"locale\":\"zh-CN\",\"value\":\"admin/master-data\",\"title\":\"Master Data\"}]},{\"key\":\"admin/master-data/amazon-skus\",\"tag\":\"ww-admin-amazon-skus\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/master-data/amazon-skus\",\"title\":\"Amazon SKUs\"},{\"locale\":\"de-DE\",\"value\":\"admin/master-data/amazon-skus\",\"title\":\"Amazon SKUs\"},{\"locale\":\"es-ES\",\"value\":\"admin/master-data/amazon-skus\",\"title\":\"Amazon SKUs\"},{\"locale\":\"it-IT\",\"value\":\"admin/master-data/amazon-skus\",\"title\":\"Amazon SKUs\"},{\"locale\":\"fr-FR\",\"value\":\"admin/master-data/amazon-skus\",\"title\":\"Amazon SKUs\"},{\"locale\":\"zh-CN\",\"value\":\"admin/master-data/amazon-skus\",\"title\":\"Amazon SKUs\"}]},{\"key\":\"admin/master-data/default-vat-rates\",\"tag\":\"ww-admin-default-vat-rates\",\"area\":\"SPAMain\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"admin/master-data/default-vat-rates\",\"title\":\"Vat Rates\"},{\"locale\":\"de-DE\",\"value\":\"admin/master-data/default-vat-rates\",\"title\":\"Vat Rates\"},{\"locale\":\"es-ES\",\"value\":\"admin/master-data/default-vat-rates\",\"title\":\"Vat Rates\"},{\"locale\":\"it-IT\",\"value\":\"admin/master-data/default-vat-rates\",\"title\":\"Vat Rates\"},{\"locale\":\"fr-FR\",\"value\":\"admin/master-data/default-vat-rates\",\"title\":\"Vat Rates\"},{\"locale\":\"zh-CN\",\"value\":\"admin/master-data/default-vat-rates\",\"title\":\"Vat Rates\"}]},{\"key\":\"redirect-with-set-company\",\"tag\":\"ww-redirect-with-set-company\",\"area\":\"SPAAdminRestricted\",\"trans\":[{\"locale\":\"en-GB\",\"value\":\"redirect-with-set-company\",\"title\":\"Redirecting\"},{\"locale\":\"de-DE\",\"value\":\"redirect-with-set-company\",\"title\":\"Redirecting\"},{\"locale\":\"es-ES\",\"value\":\"redirect-with-set-company\",\"title\":\"Redirecting\"},{\"locale\":\"it-IT\",\"value\":\"redirect-with-set-company\",\"title\":\"Redirecting\"},{\"locale\":\"fr-FR\",\"value\":\"redirect-with-set-company\",\"title\":\"Redirecting\"},{\"locale\":\"zh-CN\",\"value\":\"redirect-with-set-company\",\"title\":\"Redirecting\"}]}]}}","module.exports = {\"(Empty)\":\"(leer)\",\"A bank statement showing your bank account information (if appropriate)\":\"Eine Bankbescheinigung mit Ihren Bankkontoinformationen (falls erforderlich)\",\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\":\"Ein von Ihrer Bank ausgestelltes Dokument, das die folgenden Daten enthält: Name der Bank, Adresse der Bank, Name des Kontoinhabers, Adresse des Kontoinhabers, Kontonummer, IBAN, SWIFT/BIC, Währung.\",\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\":\"Ein Ticker- oder Aktiensymbol ist eine Abkürzung zur Identifikation öffentlich gehandelter Aktien eines bestimmten Aktienpakets an einem bestimmten Aktienmarkt. Ein Börsensymbol kann aus Buchstaben, Zahlen oder einer Kombination aus beidem bestehen.\",\"Abandoned\":\"Verlassen\",\"Access denied\":\"Zugang verweigert\",\"Accounting office\":\"Buchhaltungsbüro\",\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\":\"Buchhaltungsunterlagen sind alle Unterlagen und Bücher/Aufzeichnungen, die für die Erstellung von Jahresabschlüssen oder Aufzeichnungen für Prüfungen und Finanzkontrollen relevant sind.\",\"Acknowledge\":\"Bestätigen\",\"Acknowledgement\":\"\",\"Actions\":\"Optionen\",\"Active\":\"Aktiv\",\"Active tier:\":\"Aktive Stufe:\",\"Active tier: \":\"Aktive Stufe:\",\"Add\":\"Hinzufügen\",\"Add New Country\":\"Neue Länder hinzufügen\",\"Add SKU\":\"SKU-Codes hinzufügen\",\"Add current or previous IOSS number\":\"Aktuelle oder frühere IOSS-Nummer angeben\",\"Add new Beneficial Owner\":\"Hinzufügen\",\"Add new Business Owner\":\"Hinzufügen\",\"Add new Fixed Establishment\":\"Betriebsstätte hinzufügen\",\"Add new VAT ID\":\"Hinzufügen\",\"Add new authorized signatory\":\"Hinzufügen\",\"Add new turnover\":\"Hinzufügen\",\"Add the OSS registration number\":\"Geben Sie die OSS-Registrierungsnummer an\",\"Add the address of the previous fiscal representative in France\":\"Fügen Sie die Adresse des vorherigen Fiskalvertreters in Frankreich hinzu\",\"Add the effective date of OSS registration\":\"Geben Sie das Datum des Inkrafttretens der OSS-Registrierung an\",\"Additional Services\":\"Zusätzliche Dienstleistungen\",\"Address\":\"Adresse\",\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\":\"Adresse, wo die Waren in Deutschland gelagert werden (Straßenname, Hausnummer, Ort, Postleitzahl)\",\"Agree\":\"EInverstanden\",\"All\":\"Alle\",\"Amazon SKUs\":\"Amazon SKU-Codes\",\"Amazon Seller account name\":\"Name des Amazon-Verkäuferkontos\",\"Amazon invoicing services before 2021 July\":\"Umsatzsteuer-Services bei Amazon vor den 2021 Juli\",\"Amount\":\"Betrag\",\"Amount must be greater than or equal to zero.\":\"Der Betrag muss größer oder gleich Null sein.\",\"Amount of capital in EUR\":\"Unternehmenskapital in EUR\",\"An error has occured during email verification.\":\"Bei der E-Mail-Überprüfung ist ein Fehler aufgetreten.\",\"Apostille\":\"Apostille\",\"Approval due\":\"Genehmigung fällig\",\"Approve\":\"Genehmigen\",\"Approve draft\":\"Entwurf genehmigen\",\"Approved\":\"Genehmigt\",\"ApprovedByClient\":\"Vom Kunden genehmigt\",\"Are you making already taxable supply in France?\":\"Erbringen Sie bereits steuerpflichtige Leistungen in Frankreich?\",\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\":\"Beabsichtigen Sie, Waren von umsatzsteuerpflichtigen Unternehmen in anderen EU-Mitgliedstaaten zu kaufen und in einem Lager in Frankreich einzulagern?\",\"Are you sure to delete?\":\"Sind Sie sicher, dass Sie dies löschen wollen?\",\"Are you sure to revoke access to this company?\":\"Sind Sie sicher, dass Sie den Zugang zu diesem Unternehmen widerrufen wollen?\",\"Are you sure you want to change client invoicing?\":\"Möchten Sie die Rechnungsstellung wirklich ändern?\",\"At least one country must be selected\":\"Mindestens ein Land muss ausgewählt werden\",\"Attach file\":\"\",\"Attachments uploaded successfully\":\"\",\"Authorized signatory\":\"Unterschriftsberechtigter\",\"Automation\":\"Automation\",\"Automotive/Industrial\":\"Automobil/Industrie\",\"Available credit\":\"Verfügbarer Kredit\",\"B2B\":\"BCB\",\"B2C\":\"B2C\",\"BIC\":\"BIC\",\"Bank Information\":\"Bankverbindung\",\"Bank Transfer\":\"Banküberweisung\",\"Bank account\":\"Bankkonto\",\"Bank account holder address\":\"Adresse des Bankkontoinhabers\",\"Bank account holder name\":\"Name des Kontoinhabers\",\"Bank address\":\"Adresse der Bank\",\"Bank name\":\"Name der Bank\",\"Banking Information\":\"Bankverbindung\",\"Banking information for the VAT payment in Germany\":\"Bankinformationen für die Umsatzsteuerzahlung in Deutschland\",\"Beauty/Health\":\"Schönheit/Gesundheit\",\"Beneficial Owner\":\"Wirtschaftlich Berechtigter\",\"BiMonthly\":\"Zweimonatlich\",\"Billing documents\":\"Abrechnungsbelege\",\"Birth date\":\"Geburtsdatum\",\"Birth info\":\"Angaben zur Geburt\",\"Birth name (if different)\":\"Geburtsname (falls abweichend)\",\"Birthdate\":\"Geburtsdatum\",\"Books/Audio\":\"Bücher/Audio\",\"Both\":\"Beide\",\"Business Details\":\"Angaben zum Unternehmen\",\"Business Owners\":\"Geschäftsinhaber\",\"Business details\":\"Angaben zum Unternehmen\",\"Business incorporation documents (if appropriate)\":\"Handelsregisterauszug/Gewerberegisterauszug (falls erforderlich)\",\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\":\"Außerhalb der EU ansässige Unternehmen müssen eine Steuernummer-ID-Bescheinigung des Landes ihrer Niederlassung vorweisen.\",\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\":\"Außerhalb der EU ansässige Unternehmen müssen eine Steuernummer-ID des Landes ihrer Niederlassung vorlegen.\",\"CEO\":\"CEO\",\"Can't be later than the current month\":\"Darf nicht nach dem aktuellen Monat liegen\",\"Can't be smaller than the original compliance start date\":\"Darf nicht vor dem ursprünglichen Compliance-Startdatum liegen\",\"Cancel\":\"Abbrechen\",\"Cancel draft\":\"Entwurf stornieren\",\"Cancelled\":\"Storniert\",\"Cancelled at\":\"Storniert am\",\"Change Company Detail\":\"Firmendetails ändern\",\"Change Language\":\"Sprache ändern\",\"Change company detail\":\"Firmendetail ändern\",\"Change email\":\"E-Mail ändern\",\"Change email address\":\"E-Mail-Adresse ändern\",\"Change item\":\"Artikel ändern\",\"Check out the different categories to understand VAT compliance better.\":\"Die verschiedenen Kategorien geben Aufschluss über die Umsatzsteuer-Vorschriften und helfen Ihnen dabei, diese besser zu verstehen. \",\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\":\"Wählen Sie diese Option, wenn Sie im Vereinigten Königreich keine EORI-Nummer haben, aber Waren dorthin importieren möchten. (Notwendig nach dem Brexit)\",\"Citizenship\":\"Staatsbürgerschaft\",\"City\":\"Stadt\",\"City of birth\":\"Geburtsort\",\"Client Account\":\"Kundenkonto\",\"Client Accounts\":\"Kundenkonten\",\"Client id\":\"Kunden-ID\",\"Client name\":\"Kundenname\",\"Client source\":\"Quelle des Kunden\",\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\":\"Zu den engen Mitarbeitern einer politisch exponierten Person gehören: a) jede natürliche Person, von der bekannt ist, dass sie gemeinsam mit der politisch exponierten Person wirtschaftlich Berechtigte von juristischen Personen oder Organisationen ohne Rechtspersönlichkeit ist oder andere enge Geschäftsbeziehungen unterhält; b) jede natürliche Person, die alleiniger wirtschaftliche Berechtigter einer juristischen Person oder einer Organisation ohne Rechtspersönlichkeit ist, von der bekannt ist, dass sie zugunsten der politisch exponierten Person gegründet wurde).\",\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\":\"Codice Fiscale. Wenn Sie in Italien gelebt haben, haben Sie eine persönliche italienische Steuernummer. Wenn nicht, lassen Sie dieses Feld bitte leer.\",\"Collectibles/Art/Stationary\":\"Sammlerstücke/Kunst/Schreibwaren\",\"Commodity code\":\"Zolltarifnummer\",\"Communicating with Tax Authorities\":\"Kommunikation mit den Steuerbehörden\",\"Communicating with tax authorities\":\"Kommunikation mit den Steuerbehörden\",\"Companies\":\"Unternehmen\",\"Company\":\"Unternehmen\",\"Company Name\":\"Name der Firma\",\"Company name\":\"Name der Firma\",\"Company not found\":\"Unternehmen nicht gefunden\",\"Completed\":\"Abgeschlossen\",\"Compliance status\":\"Dienststatus\",\"Confirm\":\"Bestätigen\",\"Confirm Order\":\"Buchung der Dienstleistung bestätigen\",\"Confirm Payment\":\"Bezahlung bestätigen\",\"Confirm and Finalize\":\"Bestätigen und Fertigstellen\",\"Confirm and Generate Return\":\"Fertigstellen\",\"Confirm new password\":\"Neues Passwort bestätigen\",\"Confirm order and pay with\":\"Auftrag bestätigen und bezahlen mit \",\"Confirm rejection\":\"Ablehnung bestätigen\",\"Confirm without Master Data setup\":\"Bestätigen ohne Stammdateneinrichtung\",\"Confirm without adding SAF-T data\":\"Bestätigen ohne SAF-T-Daten Hinzufügen\",\"Confirmation\":\"Bestätigung\",\"Confirmed\":\"Bestätigt\",\"Contact\":\"Kontakt\",\"Contact first name\":\"Vorname der Kontaktperson\",\"Contact last name\":\"Nachname der Kontaktperson\",\"ContactAccountManager\":\"Bitte kontaktieren Sie uns {{- link_first_part}}hier{{- link_second_part}}, um den Anmeldeprozess zu besprechen.\",\"Contacting tax authorities\":\"Steuerbehörden Kontaktieren\",\"Contract Id\":\"Vertrags-ID\",\"Contract id\":\"Vertrags-ID\",\"Core Service\":\"Kern-Dienstleistung\",\"Correspondence Address\":\"Korrespondenzadresse\",\"Countries\":\"Länder\",\"Country\":\"Land\",\"Country of birth\":\"Geburtsland\",\"Country of incorporation\":\"Gründungsland der Gesellschaft\",\"Country of registration\":\"Registrierungsland\",\"Create Account\":\"Konto erstellen\",\"Create Order\":\"Bestellung erstellen\",\"Create your account\":\"Erstellen Sie Ihr Konto\",\"Created Date\":\"Erstellungsdatum\",\"Created date\":\"Datum der Erstellung\",\"Currency\":\"Währung\",\"Currency not found ({{id}})\":\"Währung nicht gefunden ({{id}})\",\"Currently no IOSS or VAT service is available.\":\"Derzeit kein IOSS oder Ust. Service verfügbar\",\"Data Upload\":\"Upload\",\"Data Upload Finalized\":\"Hochladen Abgeschlossen\",\"DataUploaded\":\"Hochgeladen\",\"DataVAT generated\":\"DATAVAT erstellt\",\"Date must be after {{date}}\":\"Das Datum muss nach {{date}} liegen\",\"Date must be before 2100-01-01\":\"Das Datum muss vor dem 01-01-2100 liegen\",\"Date must be before {{date}}\":\"Das Datum muss vor dem {{date}} liegen\",\"Date must be bigger or equal than compliance period start date\":\"Das Datum muss nach oder am Startdatum des Compliance-Zeitraums liegen\",\"Date must be bigger or equal than restart period start date\":\"Das Datum muss nach oder am Startdatum des Neustartzeitraums liegen\",\"Date must be same or after {{date}}\":\"Das Datum muss am oder nach dem {{date}} liegen\",\"Date must be same or before {{date}}\":\"Das Datum muss am oder vor dem {{date}} liegen\",\"Date must be smaller or equal than compliance period end date\":\"Das Datum muss vor oder am Enddatum des Compliance-Zeitraums liegen\",\"Date of incorporation\":\"Datum der Registrierung\",\"Date of registration at the Commercial Register\":\"Datum der Eintragung in das Handelsregister\",\"Declined\":\"Abgelehnt\",\"Deduct all Refund\":\"Alle Erstattungen abziehen\",\"Default\":\"Standard\",\"Default vat rate types successfully saved\":\"Standard Umsatzsteuersätze erfolgreich gespeichert\",\"Delete\":\"Löschen\",\"Delete all services\":\"Alle Dienste löschen\",\"Deregistered\":\"\",\"Deregistration\":\"Abmeldung\",\"Deregistration date\":\"Abmeldedatum\",\"Deregistration in progress\":\"\",\"Desucla Errors\":\"Desucla Errors\",\"Details\":\"Details\",\"Did you perform sales of goods and/or supplies of services before registering in Italy?\":\"Haben Sie vor Ihrer Registrierung in Italien Waren verkauft und/oder Dienstleistungen erbracht?\",\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\":\"Haben Sie vor Ihrer Registrierung in Italien Verkäufe von Waren oder Dienstleistungen getätigt, für die Sie eine italienische Umsatzsteuernummer hätten erhalten müssen?\",\"Director\":\"Vorstand\",\"Disabled\":\"Deaktiviert\",\"Distance sale threshold check\":\"Überprüfung der Schwellenwerte für den Fernabsatz\",\"Distance sales above the threshold\":\"Fernverkäufe oberhalb des Schwellenwerts\",\"Do not agree\":\"Nicht einverstanden\",\"Do not choose this if you already have one EORI number in the EU.\":\"Wenn Sie bereits eine EORI-Nummer in der EU haben, wählen Sie dies nicht an. Ihr Antrag wird von der Zollbehörde abgelehnt werden.\",\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\":\"Verwechseln Sie den Fiskalvertreter nicht mit Ihrem Dienstleister für die Einhaltung der Mehrwertsteuervorschriften. Der Fiskalvertreter ist in Frankreich steuerlich registriert und agiert als Ihr lokaler Vertreter. KPMG wird für Sie einen neuen Fiskalvertreter ernennen, wofür wir den Namen des bisherigen Vertreters angeben müssen.\",\"Do you have a Polish bank account?\":\"Haben Sie ein Bankkonto in Polen?\",\"Do you have a Spanish bank account?\":\"Haben Sie einen Spanischen Bankkonto?\",\"Do you have a VAT Number?\":\"Haben Sie eine Umsatzsteuernummer?\",\"Do you have an office and employee(s) in Italy?\":\"Haben Sie ein Büro und einen oder mehrere Mitarbeiter in Italien?\",\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\":\"Wurde Ihnen irgendwo in der EU eine Umsatzsteuer-ID erteilt, abgesehen von der Umsatzsteuer-ID im Land der Firmengründung?\",\"Do you have any fixed establishment in the EU?\":\"Haben Sie eine Betriebsstätte in der EU?\",\"Do you have current or previous IOSS number?\":\"Haben Sie eine aktuelle oder vorherige IOSS-nummer?\",\"Document uploaded successfully\":\"Dokument erfolgreich hochgeladen\",\"Documents\":\"Unterlagen\",\"Documents signed\":\"Dokumente unterzeichnet\",\"Documents uploaded successfully\":\"Dokumente erfolgreich hochgeladen\",\"Does the authorized signatory own more than 25% of the shares?\":\"Besitzt der Unterschriftsberechtigter mehr als 25 % Firmenbeteiligung?\",\"Don't have account yet?\":\"Sie haben noch kein Konto?\",\"Download\":\"Herunterladen\",\"Download Contract\":\"Vertrag herunterladen\",\"Download Currencies\":\"Währungen Herunterladen\",\"Download IOSS Template\":\"IOSS-Vorlage herunterladen\",\"Download PDF\":\"PDF herunterladen\",\"Download SAF-T Template\":\"SAF-T-Vorlage herunterladen\",\"Download SKUs\":\"SKU-Codes herunterladen\",\"Download VAT/OSS Template\":\"USt./OSS-Vorlage herunterladen\",\"Download proof\":\"Nachweis herunterladen\",\"Draft\":\"Entwurf\",\"Draft successfully approved\":\"Entwurf erfolgreich genehmigt\",\"Draft successfully cancelled\":\"Entwurf erfolgreich storniert\",\"Draft successfully saved\":\"Entwurf erfolgreich gespeichert\",\"Driving License\":\"Führerschein\",\"Due\":\"Fällig\",\"E-filing\":\"elektronische Einreichung\",\"E.g. Amazon, eBay, your own webshop, etc.\":\"z. B. Amazon, eBay, Ihr eigener Webshop, etc.\",\"EORI\":\"EORI\",\"EORI number application in the EU\":\"Antrag auf EORI-Nummer in der EU\",\"EORI number application in the UK\":\"Antrag auf EORI-Nummer im Vereinigten Königreich\",\"ESL\":\"ZM-Meldung\",\"ESL Frequency\":\"ZM-Meldung  Häufigkeit\",\"EU VAT Number\":\"UID-Nummer\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services.\":\"In der EU ansässige Unternehmen müssen eine gültige Umsatzsteuer-ID im Niederlassungsland vorweisen, andernfalls berechnen wir für unsere Dienstleistungen die Umsatzsteuer. Außerhalb der EU ansässige Unternehmen müssen eine Steuernummer des Landes ihrer Niederlassung vorlegen.\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\":\"In der EU ansässige Unternehmen müssen eine gültige Umsatzsteuer-ID im Niederlassungsland vorweisen, andernfalls berechnen wir für unsere Dienstleistungen die Umsatzsteuer. Für nicht in der EU ansässige Unternehmen ist dieses Feld optional.\",\"EU country where your goods are first imported to before selling to Germany\":\"EU-Land, in das Ihre Waren vor dem Verkauf nach Deutschland zuerst eingeführt werden\",\"Edit\":\"Bearbeiten\",\"Edit SKU\":\"SKU bearbeiten\",\"Edit companies\":\"Unternehmen bearbeiten \",\"Effective date of registration\":\"Datum des Inkrafttretens der Registrierung\",\"Electronics/Computer/Office\":\"Elektronik/Computer/Büro\",\"Email\":\"E-Mail\",\"Email already exists\":\"E-Mail-Adresse existiert bereits \",\"Email change request sent to your new email address. Please check your new inbox\":\"Die E-Mail-Änderungsanfrage wurde an Ihre neue E-Mail-Adresse gesendet. Bitte überprüfen Sie Ihren Posteingang.\",\"Enabled\":\"Aktiviert\",\"End Date\":\"Enddatum\",\"Error\":\"Fehler\",\"Error occured\":\"Ein Fehler ist aufgetreten\",\"ErrorAtTA\":\"\",\"ErrorReturnGen\":\"\",\"Est. Country type\":\"Art der Niederlassung im Land\",\"Estimated annual taxable supply (in EUR)\":\"Geschätzte steuerpflichtige Lieferungen (in EUR) pro Jahr\",\"Estimated payable VAT in the first year in Germany (in EUR)\":\"Geschätzte zu zahlende Mehrwertsteuer im ersten Jahr in Deutschland (in EUR)\",\"Estimated total profit in the first year in Germany (in EUR)\":\"Geschätzter Gesamtgewinn im ersten Jahr in Deutschland (in EUR)\",\"Exempt\":\"Befreit\",\"Existing VAT numbers\":\"Bestehende Umsatzsteuernummern\",\"Exists\":\"Vorhanden\",\"Expired\":\"Abgelaufen\",\"Expires\":\"Auslaufen\",\"Expiry date of the identification document\":\"Ablaufdatum des Identifikationsdokuments\",\"Extend by month\":\"Um einen Monat verlängern\",\"Extent of ownership interest\":\"Eigentumsanteil\",\"FAQ\":\"FAQ\",\"Failed\":\"Fehlgeschlagen\",\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\":\"Zu den Familienangehörigen einer politisch exponierten Person zählen der Ehegatte oder der Lebenspartner einer politisch exponierten Person; die leiblichen und adoptierten Kinder, Stief- und Pflegekinder einer politisch exponierten Person sowie deren Ehegatten oder Lebenspartner; die leiblichen, adoptierten, Stief- und Pflegeeltern einer politisch exponierten Person.\",\"Fashion/Accessories/Jewellery\":\"Mode/Accessoires/Schmuck\",\"Father's full name\":\"Vollständiger Name des Vaters\",\"Feedback saved successfully\":\"Rückmeldung wurde erfolgreich gespeichert\",\"Filing agent\":\"Vertretung zur Einreichung der Erklärungen\",\"Filing extension\":\"Dauerfristverlängerung\",\"Fill out the Questionnaire\":\"Füllen Sie bitte den Fragebogen aus\",\"Final position\":\"Finale Position\",\"Finalize Upload\":\"Upload abschließen\",\"Finalized\":\"Abgeschlossen\",\"First Name of Proprietor\":\"Vorname des Unternehmers\",\"First name\":\"Vorname\",\"Fiscal representation\":\"Fiskalvertretung\",\"Fixed Establishments\":\"Betriebsstätten\",\"Fixed establishments\":\"Betriebsstätten\",\"Food/Grocery\":\"Essen/Lebensmittel\",\"For information only\":\"Nur zur Information\",\"Forgot your password?\":\"Haben Sie Ihr Passwort vergessen?\",\"FourMonthly\":\"Viermonatlich\",\"From\":\"Von\",\"From which country do you purchase the goods that you will sell in France?\":\"Aus welchem Land beziehen Sie die Waren, die Sie in Frankreich verkaufen werden?\",\"Full name\":\"Vollständiger Name\",\"GTU1\":\"Angebot an alkoholischen Getränke\",\"GTU10\":\"Angebot an Gebäuden, Strukturen und Land\",\"GTU11\":\"Dienstleistungen im Zusammenhang mit Treibhausgas-Emissionen\",\"GTU12\":\"Immaterielle Dienstleistungen–nur im Bereich von Beratung, Buchhaltung, Recht, Geschäftsführung, Ausbildung oder Marketing, Dienstleistungen im Zusammenhang mit Firmensitzen, Werbung, Marktforschung und Meinungsumfrage, Dienstleistungen im Bereich von wissenschaftlicher Forschung und Entwicklung\",\"GTU13\":\"Transportdienstleistungen und Dienstleistungen für Lagerverwaltung\",\"GTU2\":\"Angebot an Heizöl hingewiesen auf die Regelung vom Verbrauchssteuer\",\"GTU3\":\"Angebot an Schmieröl, Schmiermittel für Plastik usw.\",\"GTU4\":\" Angebot an Tabakwaren, getrockneter Tabak, Flüssigkeit für elektrische Zigaretten und innovative Produkte innerhalb der Bedeutung der Verbrauchssteuerregelung\",\"GTU5\":\"Angebot/Verkauf an Abfallprodukten\",\"GTU6\":\"Angebot an elektronischen Geräte und deren Bestandteile, sowie Materialien für solche Geräte\",\"GTU7\":\"Angebot an Fahrzeugen und /oder Bestandteilen von Kraftfahrzeugen\",\"GTU8\":\"Angebot an Edelmetallen und Metallen\",\"GTU9\":\"Angebot an Medizinen und medizinischen Geräte -medizinische Produkte und Lebensmittel für besondere Zwecke\",\"General VAT Advice\":\"Allgemeine umsatzsteuerliche Beratung\",\"General VAT advice\":\"Allgemeine umsatzsteuerliche Beratung\",\"Generate\":\"Generieren\",\"Generated\":\"Erstellt\",\"Getting started with KPMG\":\"Erste Schritte mit KPMG\",\"Global Services\":\"Globale Dienstleistungen\",\"Go to Master Data/Amazon SKUs\":\"Zu Stammdaten/Amazon SKU-Codes\",\"Guides and Tutorials\":\"Leitfäden und Tutorials\",\"Has decisive influence in the business\":\"hat entscheidenden Einfluss an der Firma\",\"Home country compliance\":\"USt. Compliance im Heimatland \",\"Home/Garden/Tools\":\"Haus/Garten/Werkzeuge\",\"I Understand\":\"Ich verstehe\",\"I accept the Contract\":\"Ich stimme den Vertragsbedingungen zu.\",\"I ask for and I explicitly consent to the following\":\"Ich beantrage das Folgende und stimme ausdrücklich zu\",\"I plan to move to a new service provider\":\"Ich habe vor zu einem neuen Dienstleister zu wechseln\",\"I plan to stop trading and de-register for VAT\":\"Ich habe vor den Handel einzustellen und mich abzumelden\",\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\":\"Ich stimme vorbehaltlos zu, dass KPMG Global Services Hungary (KGSH) meine persönlichen Daten, die in den Datenschutzerklärungen aufgeführt sind oder auf die darin Bezug genommen wird, über die aktuelle Registrierung meines Unternehmens bei den Steuerbehörden hinaus verarbeiten und aufbewahren darf, um KGSH in die Lage zu versetzen, diese Daten für zukünftige Registrierungen zu nutzen, jedoch nicht länger als bis zum offiziellen Ablauf/zur offiziellen Ungültigkeit dieser Daten oder für einen Zeitraum von maximal 10 Jahren.\",\"IBAN\":\"IBAN\",\"IBAN of the Polish Bank\":\"IBAN der polnischen Bank\",\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\":\"IBAN steht für International Bank Account Number. Bei der IBAN handelt sich um einen international vereinbarten Code, der aus bis zu 34 Buchstaben und Ziffern besteht und den Bankverkehr bei der Abwicklung von Überweisungen auf der ganzen Welt erleichtert. Wenn Ihre Bank keine IBAN ausweist, tragen Sie bitte Ihre allgemeine Kontonummer erneut ein.\",\"ID\":\"ID\",\"IOSS\":\"IOSS\",\"IOSS Compliance & Registration\":\"IOSS Compliance & Registrierung\",\"IOSS Compliance Pay As You Ship\":\"IOSS Compliance Beim Versand bezahlen\",\"IOSS Compliance Tier 1\":\"IOSS Compliance Stufe 1\",\"IOSS Compliance Tier 2\":\"IOSS Compliance Stufe 2\",\"IOSS Compliance Tier 3\":\"IOSS Compliance Stufe 3\",\"IOSS Deregistration\":\"IOSS Abmeldung\",\"IOSS Number\":\"IOSS Nummer\",\"IOSS Registration\":\"IOSS-Registrierung\",\"IOSS Registration Related Questions\":\"Fragen zur IOSS-Registrierung\",\"IOSS Registration and Compliance\":\"IOSS-Registrierung und Compliance\",\"IOSS data template\":\"IOSS-Angabenvorlage\",\"IOSS deregistration\":\"IOSS-Abmeldung\",\"IOSS registration\":\"IOSS-Anmeldung\",\"IOSS take over\":\"IOSS-Übernahme\",\"Id\":\"Kundennummer\",\"Id is taken\":\"ID ist bereits vergeben\",\"Identification\":\"Identifizierung\",\"Identification document\":\"Ausweisdokument\",\"Identification document number\":\"Nummer des Ausweisdokuments\",\"If the extent of ownership can be quantified.\":\"Wenn das Eigentum beziffert werden kann.\",\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\":\"Wenn Sie sich bei der Beantwortung einer Frage unsicher sind, kontaktieren Sie uns bitte unter der E-Mailadresse {{- contactEmail}}\",\"If you will use Amazon FBA, add the address of the German FBA warehouse.\":\"Wenn Sie Amazon FBA verwenden, fügen Sie die Adresse des deutschen FBA-Lagers hinzu.\",\"If your return does not contain any payable VAT, there is no action required from your end.\":\"Wenn Ihre Steuererklärung keine zu zahlende USt. enthält, besteht für Sie kein Handlungsbedarf.\",\"Ignore and upload\":\"Ignorieren\",\"In Progress\":\"In Bearbeitung\",\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\":\"In Spanien kann die Umsatzsteuer nur von einem spanischen Bankkonto entrichtet werden. Wenn Sie in Spanien tätig sind, müssen Sie den Zahlungsdienst von KPMG in Anspruch nehmen, um sicherzustellen, dass Umsatzsteuerzahlungen und -einreichungen ordnungsgemäß bearbeitet werden.\",\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\":\"Im Jahr der Registrierung. Steuerpflichtige Lieferung bedeutet, dass Sie Verkäufe vor Ort und/oder Fernverkäufe tätigen, deren Gesamtvolumen über dem Schwellenwert für die Registrierung liegt.\",\"In which country do you keep the goods that you will later sell in France?\":\"In welchem Land lagern Sie die Waren, die Sie später in Frankreich verkaufen werden?\",\"In which country was your FedEx or TNT account created?\":\"In welchem Land wurde Ihr FedEx oder TNT Konto erstellt?\",\"Incorrect transaction period. Transaction period cannot be after the reporting period.\":\"Falscher Transaktionszeitraum. Der Transaktionszeitraum kann nicht nach dem Berichtszeitraum liegen.\",\"Individual\":\"Einzelunternehmen\",\"Insufficient credit\":\"Nicht ausreichender Kredit\",\"Intrastat\":\"Intrastat\",\"Intrastat Frequency\":\"Intrastat-Meldung Häufigkeit\",\"Intrastat In\":\"Intrastat für Einfuhren\",\"Intrastat Out\":\"Intrastat für Versendungen\",\"Intrastat Report\":\"Intrastat-Bericht\",\"Intrastat Report In\":\"Intrastat-Bericht für Einfuhren\",\"Intrastat Report Out\":\"Intrastat-Bericht für Versendungen\",\"Intrastat Reporting\":\"Intrastat-Meldung\",\"Intrastat in\":\"Intrastat für Eingänge\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat ist die statistische Erfassung des Handelsvolumens von Waren zwischen EU-Mitgliedsstaaten und Unternehmen innerhalb der EU. Die Intrastat-Meldung für Warenversendungen muss nur dann abgegeben werden, wenn ein bestimmtes Versandvolumen im jeweiligen Land erreicht wird. Weitere Informationen zu den Intrastat-Melderichtlinien finden Sie in unseren Leitfäden und Tutorials.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat ist die statistische Erfassung des Handelsvolumens von Waren zwischen EU-Mitgliedsstaaten und Unternehmen innerhalb der EU. Die Intrastat-Meldung für Warenversendungen muss nur dann abgegeben werden, wenn ein bestimmtes Versandvolumen im jeweiligen Land erreicht wird. Weitere Informationen zu den Intrastat-Melderichtlinien finden Sie in unseren Leitfäden und Tutorials.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat ist die statistische Erfassung des Handelsvolumens von Waren zwischen EU-Mitgliedsstaaten und Unternehmen innerhalb der EU. Die Intrastat-Meldung für Wareneingänge muss nur dann abgegeben werden, wenn ein bestimmtes Importvolumen im jeweiligen Land erreicht wird. Weitere Informationen zu den Intrastat-Melderichtlinien finden Sie in unseren Leitfäden und Tutorials.\",\"Intrastat out\":\"Intrastat für Sendungen\",\"Intrastat threshold check\":\"Intrastat-Schwellenwertprüfung\",\"Invalid\":\"Ungültig\",\"Invalid ({{-fieldName}})\":\"Ungültig ({{-fieldName}})\",\"Invalid Data\":\"Ungültige Daten\",\"Invalid VAT number, VAT will be charged for our services.\":\"Ungültige USt.-Nummer, für unsere Dienstleistungen wird USt. in Rechnung gestellt.\",\"Invalid data\":\"Ungültige Angaben\",\"Invalid email format\":\"Ungültiges E-Mail-Format \",\"Invalid state, please reload order\":\"Ungültig, bitte Bestellung erneut eingeben\",\"Invalid validation reports\":\"\",\"Invite Client\":\"Benutzer Einladen\",\"Ioss Compliance\":\"IOSS Compliance\",\"Is the authorized signatory the only director entitled to represent the company?\":\"Ist der Unterschriftsberechtigter der einzige zur Vertretung des Unternehmens Berechtigte?\",\"Is the beneficial owner a family member of the politically exposed person?\":\"Ist der wirtschaftlich Berechtigte ein Familienangehöriger der politisch exponierten Person?\",\"Is the beneficial owner a politically exposed person?\":\"Ist der wirtschaftlich Berechtigte eine politisch exponierte Person?\",\"Is the beneficial owner known to be a close associate of the politically exposed person?\":\"Handelt es sich bei dem wirtschaftlich Berechtigten bekanntermaßen um eine der politisch exponierten nahe stehende Person?\",\"Is the correspondence address the same as the registered business address?\":\"Stimmt die Korrespondenzadresse mit der registrierten Geschäftsadresse überein?\",\"Is the home address same as the registered business address?\":\"Ist die Wohnanschrift mit der registrierten Geschäftsadresse identisch?\",\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\":\"Ist Ihr Unternehmen (oder eine Tochtergesellschaft Ihres Unternehmens) an einem regulierten Aktienmarkt notiert?\",\"Is your business registered for OSS?\":\"Ist ihre Firma für OSS registriert?\",\"It does not apply for the year of registration, only for previous years\":\"Sie gilt nicht für das Jahr der Registrierung, sondern nur für vorherige Jahre\",\"It looks like there is no account with this email address.\":\"Es wurde kein Benutzer mit dieser E-Mailadresse gefunden.\",\"Italian fiscal code\":\"Italienische Steuernummer\",\"Item identifier\":\"SAF-T Kennung\",\"KG, GmbH & Co.Kg\":\"KG, GmbH & Co.Kg\",\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\":\"KPMG Global Services Hungary Ltd. (Firmenregistrierungsnummer: 24350309-2-41) ist ein Mitglied der globalen KPMG-Organisation unabhängiger Mitgliedsfirmen, die mit KPMG International Limited, einer englischen Private Company Limited by Guarantee, verbunden ist. Alle Rechte vorbehalten.\",\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\":\"KPMG Global Services Hungary Ltd. ist ein Mitglied der globalen KPMG-Organisation unabhängiger Mitgliedsfirmen, die mit KPMG International Limited, einer englischen Private Company Limited by Guarantee, verbunden ist. Alle Rechte vorbehalten.\",\"KPMG User Guides\":\"KPMG Benutzerhandbücher\",\"Kitchen/Dining\":\"Küche/Essen\",\"LLP, GbR\":\"LLP, GbR\",\"Last Name of Proprietor\":\"Nachname des Unternehmers\",\"Last name\":\"Nachname\",\"Legal\":\"Rechtlinie Hinweise\",\"Legal Entity\":\"Juristische Person\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"{{- a_paragraph_start}}Juristische Person: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V {{- a_paragraph_middle}}Organisatorische Einheit ohne Rechtsform: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.{{- a_paragraph_end}}\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"{{- a_paragraph_start}}Juristische Person: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V {{- a_paragraph_middle}}Organisatorische Einheit ohne Rechtsform: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.{{- a_paragraph_end}}\",\"Legal status\":\"Rechtlicher Status\",\"Loading\":\"Wird geladen\",\"Local Tax Number Saved\":\"Steuernummer gespeichert\",\"Local VAT Number\":\"Steuernummer\",\"Local tax number\":\"Steuernummer\",\"Logout\":\"Logout\",\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\":\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\",\"MWSAuthToken\":\"MWSAuthToken\",\"Main Data\":\"Basisangaben\",\"Manage Services\":\"Dienste Verwalten \",\"Manage services\":\"Dienste Verwalten \",\"Managing User Accounts\":\"Verwalten von Benutzerkonten\",\"Manual upload\":\"Manueller upload\",\"Master Data\":\"Stammdaten\",\"Master Data Setup\":\"Stammdaten einrichten\",\"Master data\":\"Stammdaten\",\"Master data is complete. Please submit data.\":\"Die Stammdaten sind vollständig. Bitte übermitteln Sie die Angaben.\",\"Max length: {{maxLength}}\":\"Zeichen maximal: {{maxLength}}\",\"Maximum {{max}} length\":\"Höchstlänge {{max}}\",\"Merchant Id\":\"Händler-ID\",\"Middle\":\"Mittlerer Satz\",\"Middle name (if any)\":\"Mittlerer Name (falls vorhanden)\",\"Minimum {{min}} length\":\"Mindestlänge {{min}}\",\"Mode of Refund\":\"Art der Erstattung\",\"Monthly\":\"Monatlich\",\"Monthly compliance end date must be bigger than compliance end date\":\"Frist des monatlichen Abonnements muss nach dem Enddatum des Abonnements liegen\",\"Monthly country compliance\":\"Monatliche Länder-Compliance\",\"Mother's birth name\":\"Geburtsname der Mutter\",\"Mr\":\"Herr\",\"Ms\":\"Frau\",\"Music/Movies/Games\":\"Musik/Filme/Spiele\",\"Must be a valid email address\":\"Muss eine gültige E-Mail-Adresse sein\",\"Must be bigger than Start Date\":\"Datum muss nach dem Startdatum liegen.\",\"Must be lower than the first day of the compliance start month\":\"Muss vor dem ersten Tag des Compliance-Startmonats liegen\",\"Must be smaller or equal with the current or would-be compliance end date\":\"Muss vor oder an dem aktuellen oder möglichen Compliance-Enddatum liegen\",\"Must contain the name of the business, registered address of business, name of authorized signatory.\":\"Es muss den Namen des Unternehmens, die eingetragene Adresse des Unternehmens und der Name vom Unterschriftsberechtigten enthalten.\",\"N/A\":\"N/A\",\"Name\":\"Name\",\"Name at birth\":\"Geburtsname\",\"Name of Authority keeping the Commercial Register\":\"Name der Behörde, die das Handelsregister führt\",\"Name of previous fiscal representative in France\":\"Name des bisherigen Fiskalvertreters in Frankreich\",\"Name of the Polish Bank\":\"Name der polnischen Bank\",\"Name of the commercial register in the country of establishment\":\"Bezeichnung des Handelsregisters im Land der Niederlassung\",\"Name of the regulated stock market\":\"Bezeichnung des regulierten Aktienmarktes\",\"Name of the respective Tax Authority in country of establishment\":\"Bezeichnung der zuständigen Steuerbehörde im Land der Niederlassung\",\"Name the Online Marketplaces where you sell\":\"Auf welchen Online-Marktplätzen verkaufen Sie?\",\"Nationality\":\"Staatsangehörigkeit\",\"Natural Person\":\"Natürliche Person\",\"New\":\"Neu\",\"New company\":\"Neues Unternehmen \",\"New email address\":\"Neues E-Mail\",\"New label\":\"Neues Label\",\"New password\":\"Neues Passwort\",\"New sign up\":\"Neue Anmeldung\",\"Next\":\"Weiter\",\"No\":\"Nein\",\"No banking information is required to appoint KPMG as your tax agent in the selected countries\":\"Es sind keine Bankdaten erforderlich, um KPMG als Ihren Steuervertreter in den ausgewählten Ländern zu ernennen.\",\"No business owner has been added yet.\":\"Es wurde noch kein Geschäftsinhaber hinzugefügt.\",\"No document generated\":\"Kein Dokument erstellt\",\"No existing VAT number is added yet\":\"Bitte geben Sie Ihre UID-Nummer(n) in der EU an. Es wurde noch keine bestehende UID-Nummer hinzugefügt\",\"No payment needed\":\"Keine Zahlung erforderlich\",\"No result found\":\"Kein Ergebnis gefunden\",\"No turnover has been added yet.\":\"Es wurde noch kein Umsatz hinzugefügt.\",\"None\":\"Keine\",\"Not Applicable\":\"Nicht zutreffend\",\"Not Available\":\"Nicht verfügbar\",\"Not authenticated\":\"Nicht authentifiziert\",\"Not exists\":\"Nicht vorhanden\",\"Not found\":\"Nicht gefunden\",\"Not to be submitted proof\":\"\",\"NotToBeSubmitted\":\"\",\"Notifications\":\"Mittelungen\",\"Number required\":\"Zahl notwendig\",\"OHG\":\"OHG\",\"OSS\":\"\",\"OSS Information\":\"OSS Information\",\"OSS compliance\":\"OSS Compliance\",\"OSS deregistration\":\"OSS Abmeldung\",\"OSS registration\":\"OSS Anmeldung\",\"OSS take over\":\"OSS Übernahme\",\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\":\"OSS: One-Stop-Shop-Regelung der Europäischen Union für die Meldung der Mehrwertsteuer auf Fernverkäufe bei einer einzigen Steuerbehörde\",\"Off\":\"Aus\",\"Ok\":\"OK\",\"On\":\"An\",\"On your own\":\"Eigenes\",\"Only Latin characters are allowed\":\"Füllen Sie bitte die Daten nur in lateinischer Schrift.\",\"Order Details\":\"Bestelldetails\",\"Order History\":\"Auftragsverlauf\",\"Order Summary\":\"Zusammenfassung des Auftrages\",\"Order does not confirmed yet.\":\"\",\"Order not found\":\"Bestellung nicht gefunden\",\"Order successfully canceled\":\"Bestellung erfolgreich storniert\",\"Orders & Payments\":\"Bestellungen und Zahlungen\",\"Organizational Unit Without Legal Form\":\"Organisatorische Einheit ohne Rechtsform\",\"Other\":\"Andere\",\"Other VAT Related Questions\":\"Weitere Fragen zur Umsatzsteuer\",\"Owner\":\"Inhaber\",\"Owner of the Bank account\":\"Inhaber des Bankkontos\",\"Owner of the Polish Bank Account\":\"Inhaber des polnischen Bankkontos\",\"Owns at least 25% of the business or the voting rights\":\"Besitzt Mindestens 25% der Firma oder der Stimmrechte\",\"Paid by client\":\"Vom Kunden bezahlt\",\"Paid to TA\":\"An das Finanzamt gezahlt\",\"Partnership\":\"Partnerschaft \",\"Passport\":\"Reisepass\",\"Passport/ID of the legal representative of the business\":\"Reisepass/ID des gesetzlichen Vertreters des Unternehmens\",\"Password\":\"Passwort\",\"Password Recovery\":\"Passwort-Wiederherstellung\",\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\":\"Das Passwort muss mindestens 8 Zeichen lang sein und drei der folgenden vier Komponenten enthalten: Großbuchstaben, Kleinbuchstaben, alphanumerische Zeichen, Sonderzeichen.\",\"Password reset email sent. Please check your inbox.\":\"E-Mail zur Zurücksetzung des Passworts gesendet. Bitte überprüfen Sie Ihren Posteingang.\",\"Password successfully reset\":\"Passwort erfolgreich zurückgesetzt.\",\"Pay\":\"Bezahlen\",\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\":\"Pay as you ship: EUR 10 / Monat bis zu 5 Sendungen, EUR 2 pro zusätzliche Sendung\",\"Pay order\":\"Bestellung bezahlen\",\"Pay with\":\"Zahlungsmethode\",\"Payment Status\":\"Zahlungsstatus\",\"Payment due\":\"Zahlung fällig\",\"Payment proof\":\"Zahlungsnachweis\",\"Payment proof successfully uploaded\":\"Zahlungsnachweis erfolgreich hochgeladen\",\"Payment reference\":\"Zahlungsreferenz\",\"Payment status\":\"Zahlungsstatus\",\"Payment status changed successfully\":\"Zahlungsstatus erfolgreich geändert\",\"Payment successful! We will redirect you in a few seconds.\":\"Zahlung erfolgreich! Sie werden in wenigen Sekunden umgeleitet.\",\"Payments\":\"Bezahlungen\",\"Pending\":\"Steht aus\",\"Period\":\"Zeitraum\",\"Person considered as beneficial owner\":\"Person, welche als wirtschaftlicher Berechtigter angesehen wird\",\"Personal Identity card\":\"Ausweisdokument\",\"Phone\":\"Telefon\",\"Phone Number\":\"Telefonnummer\",\"Please add at least one business owner.\":\"Bitte fügen Sie mindestens einen Geschäftsinhaber hinzu.\",\"Please add at least one fixed establishment.\":\"Bitte nennen Sie mindestens eine Betriebsstätte.\",\"Please add the Polish bank details\":\"Bitte geben Sie die polnische Bankverbindung an\",\"Please add the address where your accounting records are kept\":\"Bitte geben Sie die Adresse an, an der ihre Buchhatlungsunterlagen aufbewahrt werden\",\"Please add the address where your accounting records are kept.\":\"Bitte geben Sie die Adresse an, an der ihre Buchhatlungsunterlagen aufbewahrt werden.\",\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\":\"Bitte geben Sie die Landesvorwahl auch ein (z. B. +49 für Deutschland, +86 für China)\",\"Please add the e-mail address where you received the invitation e-mail\":\"Bitte geben Sie die E-Mail-Adresse an, unter der Sie Ihre Freischaltung erhalten haben.\",\"Please add the home address\":\"Bitte geben Sie die Wohnanschrift an\",\"Please attach a file that will help us understand why you think this return is incorrect.\":\"\",\"Please confirm your email address.\":\"Bitte bestätigen Sie Ihre E-Mail-Adresse.\",\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\":\"Bitte fragen Sie Ihren Account-Manager bezüglich Abmeldungsprozess und -gebühren. Bitte beachten Sie, dass Sie die Dienstleistungen gegebenenfalls verlängern, und Umsätze einreichen müssen, bis die Abmeldung abgeschlossen ist.\",\"Please contact your account manager via email to manage your services.\":\"Bitte kontaktieren Sie Ihren Account Manager via E-Mail, um die Dienstleistungen zu verwalten.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\":\"Bitte laden Sie das/die hier aufgelistete(n) Dokument(e) herunter, drucken Sie es/sie aus, lassen Sie es/sie vom Unterschriftsberechtigten unterschreiben, scannen Sie es/sie ein und laden Sie es/sie hoch. Wir werden das/die Dokument(e) prüfen, wenn alles in Ordnung ist, müssen Sie es/sie per Post an unsere Adresse schicken.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\":\"Bitte laden Sie das/die hier aufgelistete(n) Dokument(e) herunter, drucken Sie es/sie aus, lassen Sie es/sie vom Unterschriftsberechtigten unterschreiben und scannen Sie es/sie dann ein und laden Sie es/sie hoch. Wir werden das/die Dokument(e) prüfen, Sie müssen es/sie nicht einsenden, da wir mit den unterschriebenen Kopien fortfahren können.\",\"Please enter a valid year.\":\"Bitte geben Sie ein gültiges Jahr ein.\",\"Please enter only the tax number without country prefix\":\"Bitte geben Sie nur die Steuernummer ohne Ländervorwahl ein\",\"Please enter text\":\"Bitte Text eingeben\",\"Please give a detailed reason for the rejection.\":\"Bitte nennen Sie einen detaillierten Grund für die Ablehnung.\",\"Please indicate the net value of the distance sales in Italy for each year.\":\"Bitte geben Sie den Nettowert der Fernverkäufe in Italien für jedes Jahr an.\",\"Please note that any changes you made will be lost if you switch to another language.\":\"Jegliche Änderungen gehen verloren, wenn Sie die Sprache wechseln.\",\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\":\"Bitte beachten Sie, dass Ihre Erklärung nur abgegeben werden kann, wenn die Zahlung vor Ablauf der Abgabefrist beim USt.-Vermittler eingeht.\",\"Please provide a valid e-mail address\":\"Bitte geben Sie eine gültige E-Mail-Adresse an\",\"Please provide a valid e-mail address.\":\"Bitte geben Sie eine gültige E-Mail-Adresse an.\",\"Please select at least one company\":\"Bitte wählen Sie mindestens ein Unternehmen aus\",\"Please select at least one reason\":\"Bitte wählen Sie mindestens einen Grund aus\",\"Please select the type of products you sell\":\"Bitte wählen Sie die Art der Produkte, die Sie verkaufen\",\"Please upload VAT ID certificate in Italy\":\"Bitte laden Sie Ihren Nachweis über die UID-Nummer in Italien hoch\",\"Please upload a bank certificate confirming your banking detals\":\"Bitte laden Sie eine Bankbescheinigung hoch, die Ihre Bankverbindung bestätigt.\",\"Please upload an official certificate confirming your business activities\":\"Bitte laden Sie ein offizielles Dokument hoch, das ihre Geschäftstätigkeit bescheinigt. \",\"Please upload the VAT ID certificate in the country of establishment\":\"Bitte laden Sie die Umsatzsteuer-ID-Bescheinigung des Niederlassungslandes hoch.\",\"Please upload the photocopy of the identification document\":\"Bitte laden Sie eine Fotokopie des Ausweisdokuments hoch.\",\"Please upload your Articles of Association\":\"Bitte laden Sie Ihren Gesellschaftsvertrag hoch\",\"Please use only numbers.\":\"Bitte benutzen Sie nur Zahlen.\",\"Please use the link from the invitation email!\":\"Bitte verwenden Sie den Link aus der Ihnen zugesandten Einladungs-E-Mail.\",\"PoA revoked\":\"\",\"Polish Bank Information\":\"Information zur polnischen Bank\",\"Polish Banking Information\":\"Information zur polnischen Bank\",\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\":\"Als politisch exponierte Person gilt eine natürliche Person, die mit wichtigen öffentlichen Aufgaben betraut ist oder innerhalb eines Jahres vor dieser Identifizierungsmaßnahme mit wichtigen öffentlichen Aufgaben betraut war.\",\"Position in free form\":\"Andere\",\"Position in the company\":\"Position im Unternehmen\",\"Postal/Zip code\":\"Postleitzahl/ZIP Code\",\"Preferred language\":\"Bevorzugte Sprache\",\"Previous\":\"Zurück\",\"Price\":\"Preis\",\"Price must be lower\":\"Der Preis muss niedriger sein\",\"Pricing\":\"Preisfestsetzung\",\"Primary Vat Frequency\":\"Umsatzsteuermeldung Häufigkeit\",\"PrimaryVAT\":\"Umsatzsteuermeldung\",\"Privacy\":\"Datenschutz\",\"Processing\":\"Verarbeitung\",\"Product Id\":\"Produkt-ID\",\"Province\":\"Bundesland\",\"Quarterly\":\"Vierteljährlich\",\"QuarterlyShifted1\":\"Vierteljährlich verschoben 1\",\"QuarterlyShifted2\":\"Vierteljährlich verschoben 2\",\"Rate type\":\"Type des Steuersatzes\",\"Read our guide how to automate transactions with Amazon:\":\"Lesen Sie unseren Leitfaden, wie Sie die Datenbereitstellung mit Amazon automatisieren können:\",\"Reason of Rejection\":\"Grund für die Ablehnung\",\"Reconfirm Upload\":\"Upload erneut bestätigen\",\"Reduced\":\"Ermäßigt\",\"RefusedByClient\":\"Vom Kunden abgelehnt\",\"Regenerate\":\"Erneuern\",\"Register number of your business at the Commercial Register\":\"Eintragungsnummer Ihrer Firma beim Handelsregister\",\"Registration number\":\"Registrierungsnummer\",\"Registration number of your business\":\"Registrierungsnummer Ihres Unternehmens\",\"Reject\":\"Ablehnen\",\"Rejected\":\"\",\"Remove\":\"Löschen\",\"Renew Country\":\"Länder erneuern\",\"Renew for one year\":\"Um ein Jahr verlängern\",\"Reopen\":\"Wiedereröffnung\",\"Required\":\"Erforderlich\",\"Required by post\":\"Per Post erforderlich\",\"Required electronically only\":\"Nur elektronisch erforderlich\",\"Required if automated\":\"Erforderlich, wenn automatisiert\",\"Required length: {{length}}\":\"Erforderliche Länge: {{length}}\",\"Resend\":\"Wieder senden\",\"Reset Password\":\"Passwort zurücksetzen\",\"Reset filters\":\"Filter zurücksetzen\",\"Restart date must be bigger than or equal to compliance end date\":\"Datum eines erneuten Abonnements muss gleich dem bzw. nach dem Abonnementenddatums liegen\",\"Retrospective\":\"Umsatzsteuererklärung des vergangenen Besteuerungszeitraumes\",\"Retrospective Return\":\"Umsatzsteuererklärung des vergangenen Besteuerungszeitraumes\",\"Retrospective return\":\"Rückwirkende Voranmeldung\",\"Return Library\":\"Bibliothek\",\"Return and Refund\":\"Rückgabe und Rückerstattung\",\"Return and Refund plus MFN\":\"Rückgabe und Rückerstattung plus MFN\",\"Return cannot be submitted after submission due date\":\"Erklärung kann nicht nach der Abgabefrist eingereicht werden\",\"Return documents\":\"Dokumente\",\"Return gen due\":\"Anfertigung der Steuererklärung fällig\",\"Return to approved\":\"Steuererklärung zu genehmigen\",\"Return type\":\"Art der Steuererklärung\",\"ReturnGenerated\":\"Meldung erstellt\",\"Revision\":\"Korrektur\",\"Revoking PoA\":\"\",\"SAF-T\":\"SAF-T\",\"SAF-T Compliance\":\"SAF-T Compliance\",\"SAF-T reporting\":\"SAF-T Bericht\",\"SAS\":\"SAS\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\":\"SWIFT und BIC sind eindeutige Kennungen der Bank bei internationalen Transaktionen, um den korrekten Ablauf sicherzustellen. Ihre Bank nennt Ihnen die korrekte SWIFT/BIC.\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \":\"SWIFT und BIC sind eindeutige Kennungen der Bank bei internationalen Transaktionen, um den korrekten Ablauf sicherzustellen. Ihre Bank nennt Ihnen die korrekte SWIFT/BIC.\",\"SWIFT/BIC\":\"SWIFT/BIC\",\"SWIFT/BIC of the Polish Bank\":\"SWIFT/BIC der polnischen Bank\",\"Save\":\"Speichern\",\"Saved successfully\":\"Erfolgreich gespeichert\",\"Saving\":\"Wird gespeichert\",\"Scope coverage\":\"Geltungsbereich\",\"Secondary Vat Frequency\":\"Jahresmeldung Häufigkeit\",\"SecondaryVAT\":\"Jahresmeldung\",\"See FAQ for definition of beneficial owner\":\"Siehe FAQ zur Definition des wirtschaftlich Berechtigten\",\"See FAQ for definition of beneficial owner.\":\"Siehe FAQ zur Definition des wirtschaftlich Berechtigten.\",\"Select New Tier\":\"Neue Stufe auswählen\",\"Select additional services\":\"Zusätzliche Serviceleistungen auswählen\",\"Select countries, where you would like to extend KPMG engagement by 1 year\":\"Wählen Sie die Länder aus, für die Sie die Zusammenarbeit mit KPMG um ein weiteres Jahr verlängern möchten.\",\"Select countries, where you would like to start KPMG engagement\":\"Wählen Sie die Länder aus, für die Sie die Zusammenarbeit mit KPMG aufnehmen möchten.\",\"Select country\":\"Land auswählen\",\"Select the country of OSS registration\":\"Wählen Sie das Land der OSS-Registrierung\",\"Select the country where the warehouse is located where you keep your goods before selling in/to France\":\"Wählen Sie das Land, in dem sich das Lager befindet, in dem Sie Ihre Waren vor dem Verkauf in/nach Frankreich aufbewahren\",\"Select the start date from when you want KPMG to submit your VAT returns.\":\"Wählen Sie das Startdatum, ab dem KPMG Ihre USt.-Erklärungen einreichen soll.\",\"Select the type of legal entity\":\"Wählen Sie die Art der juristischen Person aus\",\"Select the type of your business entity\":\"Wählen Sie die Art Ihrer Wirtschaftseinheit\",\"Selected companies\":\"Ausgewählte Unternehmen\",\"Self Revision / Retrospective Returns\":\"\",\"Self revision\":\"Berichtigung\",\"Seller Accounts\":\"Verkäufer-Konten\",\"Seller account\":\"Verkäufer-Konto\",\"Send email\":\"E-Mail senden\",\"Send invitation\":\"Einladung senden\",\"Sent To Return Generation\":\"Gesendet an Generation\",\"Sent to TA\":\"An Steuerbehörde gesendet\",\"SentToTA\":\"\",\"Service Renewal\":\"Erneuerung der Dienstleistung \",\"Service Selection\":\"Service-Auswahl\",\"Service detail\":\"Service Detail\",\"Service expiration date\":\"Ablauf der Dienstleistung\",\"Service expiration:\":\"Fristablauf\",\"Service quality\":\"Dienstleistungsqualität\",\"Service start date\":\"\",\"Services\":\"Services\",\"Set Password\":\"Passwort festlegen\",\"Share percentage\":\"Unternehmensanteile in Prozent\",\"Shareholder type\":\"Art des Geschäftsinhabers\",\"Show All\":\"Alle Anzeigen\",\"Show inactive services\":\"Inaktive Dienste anzeigen\",\"Show only missing data\":\"Nur fehlende Daten anzeigen\",\"Showing {{firstItem}}-{{lastItem}}\":\"Es werden {{firstItem}}-{{lastItem}} angezeigt\",\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\":\"Es werden {{firstItem}}-{{lastItem}} von {{itemCount}} angezeigt\",\"Sign in\":\"Anmelden\",\"Sign in to your account\":\"Loggen Sie sich in Ihr Konto ein\",\"Signed\":\"Unterschrieben\",\"Signed documents need to be uploaded\":\"Unterschriebene Dokumente müssen hochgeladen werden\",\"SixMonthly\":\"Halbjährlich\",\"Sku\":\"SKU\",\"Sku already exists ({{id}})\":\"SKU bereits vorhanden ({{id}})\",\"Sku not found ({{id}})\":\"SKU nicht gefunden ({{id}})\",\"SkuId\":\"SKU\",\"Sole trader's first name\":\"Vorname des Unternehmers\",\"Sole trader's last name\":\"Nachname des Unternehmers\",\"Something went wrong\":\"Ein Fehler ist aufgetreten\",\"Source\":\"Quelle\",\"Spanish VAT Payment Service\":\"USt-Zahlungsdienst in Spanien\",\"Spanish bank account\":\"Spanisches Bankkonto\",\"Specialist VAT Advice\":\"Spezialisierte umsatzsteuerliche Beratung\",\"Specialist VAT advice\":\"Spezialisierte umsatzsteuerliche Beratung\",\"Sporting goods/Outdoors\":\"Sportartikel/Outdoor\",\"Standard\":\"Standard\",\"Standard2\":\"Standard 2\",\"Start Date\":\"Startdatum\",\"Start Questionnaire\":\"Fragebogen ausfüllen\",\"Start date\":\"Startdatum\",\"Start date of representation by KPMG\":\"Datum des Beginns der Vertretung durch KPMG\",\"Start date of storing goods in Germany\":\"Beginn der Lagerung von Waren in Deutschland\",\"Started\":\"Begonnen\",\"Starting date of intrastat in\":\"Startdatum von Intrastat für die Einfuhren\",\"Starting date of intrastat out\":\"Startdatum von Intrastat für die Versendungen\",\"Statement\":\"Stellungnahme\",\"Status\":\"Status\",\"Status changed successfully\":\"Status erfolgreich geändert\",\"Status updated to:\":\"Status aktualisiert zum:\",\"Status updated to: \":\"Status aktualisiert zum:\",\"Street\":\"Straße\",\"Street name\":\"Straßenname\",\"Street number\":\"Hausnummer\",\"Sub-total\":\"Zwischensumme\",\"Submission due\":\"Einreichung fällig\",\"Submission proof\":\"\",\"Submit\":\"Einreichen\",\"Submitted\":\"Eingereicht\",\"SubmittedByClient\":\"Vom Kunden eingereicht\",\"Subscribe\":\"\",\"Subtotal\":\"Zwischensumme\",\"Successfully done\":\"Erfolgreich abgeschlossen\",\"Summary\":\"Zusammenfassung\",\"SuperReduced\":\"Stark reduziert\",\"SuperReduced2\":\"Stark reduziert 2\",\"Tax\":\"Steuer\",\"Tax Identifier\":\"Steuernummer\",\"Tax certificate\":\"Steuerbescheinigung\",\"Thank you for signing up for KPMG registration and compliance services.\":\"Vielen Dank, dass Sie sich für die Registrierungs- und Compliance-Services von KPMG angemeldet haben.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\":\"Der Amazon-Bericht enthält keine Angaben zu den Rückgaben im Falle von MFN-Transaktionen. Wenn Sie diese Rückerstattungsoption wählen, übernehmen Sie das Risiko, dass die Steuerbehörden den Vorsteuerabzug im Falle einer Prüfung anfechten könnten. Alternativ dazu können MFN-Gutschriften in den KPMG-Vorlagendateien bereitgestellt werden.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \":\"Der Amazon-Bericht enthält keine Angaben zu den Erstattungen im Falle von MFN-Transaktionen. Wenn Sie diese Rückerstattungsoption wählen, akzeptieren Sie das Risiko, dass die Steuerbehörden den Vorsteuerabzug im Falle einer Prüfung anfechten könnten. Alternativ dazu können MFN-Gutschriften in den KPMG-Vorlagendateien bereitgestellt werden.\",\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\":\"Die oben genannten Informationen können an eine andere KPMG-Gesellschaft weitergegeben werden, wenn die Firma mit dieser KPMG-Gesellschaft eine vertragliche Beziehung eingeht, die einer Kundenidentifikation unterliegt.\",\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\":\"Ungültige Kontonummer. Bitte geben Sie eine gültige FedEx- oder TNT- Kontonummer ein.\",\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\":\"Der Unterschriftsberechtigte ist ordnungsgemäß bevollmächtigt, im Namen des Unternehmens zu unterschreiben und rechtlich zu handeln. Bitte fügen Sie mindestens einen Unterschriftsberechtigter hinzu.\",\"The below services are about to expire, please go to Services menu and extend your subscription. If you don’t want to extend these services, please leave a feedback.\":\"Die unten genannten Dienstleistungen laufen demnächst aus, bitte gehen Sie zu Service-Auswahl und verlängern Sie Ihr Abonnement. Falls Sie den Service nicht verlängern möchten, hinterlassen Sie bitte eine Rückmeldung.\",\"The business has a natural person as beneficial owner\":\"Das Unternehmen hat eine natürliche Person als wirtschaftlich Berechtigten\",\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\":\"Für die Vorbereitung der Registrierungsunterlagen in Italien ist die Berechnung der Werte der vergangenen Abrechnungsperioden maßgeblich. Sie müssen KPMG Ihre Transaktionsdaten für die vergangenen Abrechnungsperioden so bald wie möglich zur Verfügung stellen. Ohne diese Daten wird sich das Umsatzsteuer-Registrierungsverfahren in Italien verzögern.\",\"The client identification will have to be repeated if no agreement is given.\":\"Wird kein Einverständnis erteilt, muss die Kundenidentifikation wiederholt werden.\",\"The e-mail address and password do not match.\":\"Ungültiges Passwort für diese E-Mailadresse.\",\"The executive officer of the business must be considered as the beneficial owner\":\"Der Geschäftsführer des Unternehmens muss als wirtschaftlich Berechtigter angesehen werden\",\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner.\":\"Die Identifikation des wirtschaftlich Berechtigten ist eine gesetzliche Verpflichtung zur Verhinderung und Bekämpfung von Geldwäsche und Terrorismusfinanzierung. Bitte geben Sie jeden wirtschaftlich Berechtigten mit mindestens 20% Eigentumsanteil an.\",\"The last user of the company cannot be removed\":\"Der Letzter Benutzer des Unternehmens kann nicht entfernt werden\",\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\":\"Die Steuernummer ist eine Identifikationsnummer, die von den deutschen Steuerbehörden vergeben wird, wenn Sie als Steuerpflichtiger registriert werden. Verwechseln Sie die Steuernummer nicht mit der Umsatzsteuernummer. Die Steuernummer wird als Zahlungsreferenz verwendet, wenn Sie den Mehrwertsteuerbetrag überweisen.\",\"The materials available here cover multiple topics in a detailed way.\":\"Die hier verfügbaren Medien geben einen detaillierten Einblick in viele Themen. \",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\":\"Der angezeigte Preis basiert auf der von Ihnen angegebenen Anzahl von Sendungen. Wir behalten uns das Recht vor, Ihre Stufe zu ändern und Mehrkosten auf Grundlage der tatsächlichen Anzahl von Sendungen zu berechnen. Wenn Sie den zusätzlichen Betrag nicht fristgerecht begleichen, kann Ihr Vertrag gekündigt werden.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \":\"Der angezeigte Preis basiert auf der von Ihnen angegebenen Anzahl von Sendungen. Wir behalten uns das Recht vor, Ihre Stufe zu ändern und Mehrkosten auf Grundlage der tatsächlichen Anzahl von Sendungen zu berechnen. Wenn Sie den zusätzlichen Betrag nicht fristgerecht begleichen, kann Ihr Vertrag gekündigt werden.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\":\"Das Recht auf Abzug der USt. bei Erstattungen, bei denen die Waren nicht zurückgegeben werden, muss von Fall zu Fall geprüft werden, und KPMG ist nicht in der Lage, diese Prüfung vorzunehmen. Daher zieht KPMG standardmäßig nur dann die Umsatzsteuer ab, wenn eine entsprechende Rücksendung von Waren vorliegt und die Abzugsfähigkeit der Umsatzsteuer eindeutig ist. Wenn Sie die Option ALLE ERSTATTUNGEN ABZIEHEN wählen, ziehen wir alle Erstattungen ab, die in einem bestimmten Monat erfolgt sind, und Sie akzeptieren das Risiko, dass die Steuerbehörden im Falle einer Prüfung den Vorsteuerabzug anfechten könnten.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\":\"Das Recht auf Abzug der USt. bei Erstattungen, bei denen die Waren nicht zurückgegeben werden, muss von Fall zu Fall geprüft werden, und KPMG ist nicht in der Lage, diese Prüfung vorzunehmen. Daher zieht KPMG standardmäßig nur dann die Umsatzsteuer ab, wenn eine entsprechende Rücksendung von Waren vorliegt und die Abzugsfähigkeit der USt. eindeutig ist. Dies ist die Standardoption, die wir für die Umsatzsteuer-Compliance verwenden.\",\"The two passwords must be the same.\":\"Beide Passwörter müssen identisch sein.\",\"The value must match the required pattern\":\"Der Wert muss dem erforderlichen Muster entsprechen\",\"The value must not match the required pattern\":\"Der Wert darf nicht dem erforderlichen Muster entsprechen\",\"There is no action required on your side.\":\"Es ist keine Maßnahme von Ihrer Seite erforderlich.\",\"There is no file uploaded for the current revision. Please reupload the file.\":\"Es wurde kein Dokument für die Sitzung hochgeladen. Bitte laden Sie ein Dokument hoch.\",\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\":\"Dies ist eine eindeutige Verkäufer-Kennung bei Amazon - normalerweise ein 13-14 Zeichen langer Code, z.B. A123456789BCD\",\"This is an individual number in the commercial register document.\":\"Das ist eine individuelle Nummer im Handelsregisterauszug.\",\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\":\"Dies ist nur die IOSS-Registrierungsgebühr. Die monatlichen Gebühren für die Einhaltung der Vorschriften werden separat berechnet. Detaillierte Anweisungen werden folgen\",\"Ticker symbol of the listed entity\":\"Tickersymbol des börsennotierten Unternehmens\",\"Tier 1: Up to 500 packages in a 12 month period\":\"Stufe 1: Bis zu 500 Sendungen innerhalb von 12 Monaten\",\"Tier 2: Up to 2500 packages in a 12 month period\":\"Stufe 2: Bis zu 2500 Sendungen innerhalb von 12 Monaten\",\"Tier 3: Unlimited packages in a 12 month period\":\"Stufe 3: Uneingeschränkte Anzahl von Sendungen innerhalb von 12 Monaten\",\"Title\":\"Anrede\",\"To\":\"Zu\",\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\":\"Als erstes müssen Sie Angaben zu Ihrem Unternehmen machen, indem Sie den Verkäuferfragebogen auf den folgenden Seiten ausfüllen. Diese Informationen werden benötigt, um Sie als KPMG-Kunde aufzunehmen, Rechnungen an Sie auszustellen und um die Registrierung durchzuführen. Jede Seite muss vollständig ausgefüllt sein, bevor Sie mit der nächsten Seite fortfahren. Vor dem Absenden können Sie Ihre Antworten nochmals überprüfen.\",\"Total\":\"Gesamtbetrag\",\"Total fee\":\"Gesamtkosten\",\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\":\"Die Gesamtgebühr umfasst die Anmeldegebühr und die monatlichen Compliance Gebühren bis zur Höhe des Sendungsvolumens des gewählten Pakets.\",\"Toys/Kids/Baby\":\"Spielzeug/Kinder/Baby\",\"Trading name\":\"Handelsname\",\"Trading name (If different from company name)\":\"Handelsname (falls abweichend vom Firmennamen)\",\"Transactional data\":\"\",\"Transactions\":\"Transaktionen\",\"Translation\":\"Übersetzung\",\"Translation in progress\":\"Übersetzung in Bearbeitung\",\"Type\":\"Typ\",\"Type at least 2 characters\":\"Mindestens 2 Charaktere eingeben\",\"Type at least two characters for either email or company\":\"Geben Sie mindestens zwei Zeichen für die E-Mail-Adresse oder den Unternehmensnamen ein\",\"Type of identification document\":\"Art des Identifikationsdokuments\",\"Type of ownership interest\":\"Art des Eigentumsanteils\",\"Under review\":\"Überprüfung steht aus\",\"Unknown\":\"Unbekannt\",\"Unknown error occured\":\"Unbekannter Fehler aufgetreten\",\"Unsubscribe\":\"\",\"Update\":\"Hochladen\",\"Upload\":\"Hochladen\",\"Upload Amazon Transactions\":\"Amazon-Transaktionen hochladen\",\"Upload Failed\":\"Upload fehlgeschlagen\",\"Upload IOSS Transactions\":\"IOSS-Transaktionen hochladen\",\"Upload In submission proof\":\"Einreichungsnachweis für Eingänge hochladen\",\"Upload Out submission proof\":\"Einreichungsnachweis für Senungen hochladen\",\"Upload SAF-T data\":\"SAF-T-Daten hochladen\",\"Upload SKUs\":\"SKU-Codes hochladen\",\"Upload Skus\":\"SKU-Codes hochladen\",\"Upload VAT Transactions\":\"USt. -Transaktionen hochladen\",\"Upload file\":\"Datei hochladen\",\"Upload finalized successfully\":\"Übertragung erfolgreich abgeschlossen\",\"Upload is forbidden for overdue periods. Please contact your account manager.\":\"\",\"Upload payment proof\":\"Zahlungsnachweis hochladen\",\"Upload processed\":\"Upload bearbeitet\",\"Upload proof\":\"Nachweis hochladen\",\"Upload submission proof\":\"Einreichungsnachweis hochladen\",\"Upload successfully canceled\":\"Hochladen erfolgreich abgebrochen\",\"Uploaded successfully\":\"Bitte stellen Sie den Upload fertig\",\"Use Amazon's template to upload data\":\"Die Vorlage von Amazon zum Hochladen von Daten verwenden\",\"Use KPMG template to upload data\":\"Die KPMG-Vorlage zum Hochladen von Daten verwenden\",\"VAT\":\"Umsatzsteuer\",\"VAT Compliance Settings\":\"Einstellungen zur USt Compliance\",\"VAT Compliance Sign-up\":\"Anmeldung zur Umsatzsteuer-Compliance\",\"VAT ID\":\"Umsatzsteuer-ID\",\"VAT Number\":\"Steuernummer / Umsatzsteuer-Nummer\",\"VAT Number of country of incorporation\":\"Umsatzsteuernummer im Land der Firmengründung\",\"VAT Numbers\":\"UID-Nummern\",\"VAT Rates\":\"Umsatzsteuersätze\",\"VAT Registration\":\"VAT-Registrierung\",\"VAT compliance\":\"USt Compliance\",\"VAT deregistration\":\"Umsatzsteuerliche Abmeldung\",\"VAT home country compliance\":\"USt.-Registrierung und -Compliance im Heimatland\",\"VAT monthly compliance\":\"Monatliche Umsatzsteuer Compliance\",\"VAT registration\":\"Umsatzsteuerliche Anmeldung\",\"VAT registration certificate for your home country (if appropriate)\":\"USt.-Registrierungsbescheinigung für das Ursprungsland (falls erforderlich)\",\"VAT take over\":\"Umsatzsteuerliche Übernahme\",\"VLS\":\"VLS\",\"VLS Frequency\":\"VLS Häufigkeit\",\"Valid from\":\"Gültig ab\",\"Validation errors\":\"Validierungsfehler\",\"Value must be between (inclusive): 0-100\":\"Der Wert muss zwischen 0 und 100 liegen (einschließlich).\",\"Value must be in list\":\"Der Wert muss in der Liste sein\",\"Vat Compliance\":\"Umsatzsteuer Compliance\",\"Vat Numbers\":\"UID-Nummern\",\"Vat Rates\":\"Umsatzsteuersätze\",\"Vat Registration and Compliance\":\"USt.-Registrierung und -Compliance\",\"View\":\"Sehen\",\"Waiting For Finalize\":\"Warten auf Fertigstellung \",\"Waiting for signature\":\"Unterschrift steht aus\",\"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\":\"Wir bieten derzeit über dieses Portal keine IOSS-Services für Unternehmen an, die in der EU ansässig sind oder in der EU eine feste Betriebsstätte haben. Bitte kontaktieren Sie uns unter {{- contactEmail }} für weitere Informationen.\",\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\":\"Das Ausfüllen des Fragebogens wird in etwa 20 Minuten in Anspruch nehmen. Zur Beantwortung der Fragen empfehlen wir Ihnen, folgende Unterlagen bereitzuhalten:\",\"We look forward to helping you.\":\"Wir helfen Ihnen gerne weiter.\",\"We will contact you in line with your language preference\":\"Wir werden Sie in der von Ihnen gewählten Sprache kontaktieren.\",\"Website link\":\"Link zur Website\",\"Webstore link\":\"Webstore-Link\",\"Welcome\":\"Willkommen\",\"Welcome to Guides and Tutorials\":\"Willkommen zu den Leitfäden und Tutorials\",\"Welcome to the Frequently Asked Questions (FAQ)\":\"Willkommen zu den FAQ\",\"What is the estimated annual shipments which will be covered by IOSS?\":\"Wie hoch ist die geschätzte Anzahl jährlicher Sendungen, auf die IOSS anwendbar ist?\",\"What is your Amazon Seller ID?\":\"Wie lautet Ihre Amazon-Verkäufer-ID?\",\"What is your FedEx or TNT account number?\":\"Wie lautet Ihre FedEx- oder TNT-Kontonummer?\",\"What type of clientele is your business aimed to?\":\"Auf welche Art von Kunden ist Ihre Firma ausgerichtet?\",\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\":\"Wenn Sie in einem Land tätig sind, in dem eine Fiskalvertretung erforderlich ist, müssen Sie einen von KPMG gestellten Fiskalvertreter ernennen.\",\"Where are the accounting records being kept?\":\"Wo werden die Buchhaltungsunterlagen aufbewahrt?\",\"Why you don't want to renew?\":\"Warum wollen Sie nicht verlängern?\",\"Will you carry out intra-community acquisitions in France?\":\"Werden Sie innergemeinschaftliche Erwerbe in Frankreich tätigen?\",\"Will you carry out intra-community supplies from France?\":\"Werden Sie von Frankreich aus innergemeinschaftliche Lieferungen durchführen?\",\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\":\"Werden Sie Bestände in einem Lagerhaus in Frankreich einlagern? Beabsichtigen Sie Verkäufe aus einem Lager in Frankreich an umsatzsteuerregistrierte Unternehmen in anderen EU-Mitgliedsstaaten?\",\"Without the country code prefix.\":\"Ohne Ländercode-Präfix.\",\"Wrong excel format\":\"Falsches Excel Format\",\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\":\"Falsches Vorlagenformat. Bitte verwenden Sie die aktuellste Vorlage. Stellen Sie sicher, dass Sie die Überschriften nicht ändern. Erwartete Überschrift in der Spalte {{column}} ist '{{val}}').\",\"Year\":\"Jahr\",\"Yearly\":\"Jährlich\",\"Yes\":\"Ja\",\"You already have an account. Please sign in\":\"Sie haben bereits ein Konto? Bitte melden Sie sich an.\",\"You already have an account? Please\":\"Sie haben bereits ein Konto? Bitte melden Sie sich an.\",\"You are required to declare SAF-T data. You can download the template below and with adding necessary fields please upload it back.\":\"Sie müssen SAF-T-Daten melden. Bitte laden Sie die Vorlage unten herunter. Nachdem Sie die erforderlichen Felder ausgefüllt haben, laden Sie sie bitte wieder hoch.\",\"You can find the registration number on the Certificate of Incorporation document of your business.\":\"Die Registrierungsnummer finden Sie im Handelsregisterauszug/Gewerberegisterauszug Ihres Unternehmens.\",\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\":\"Sie haben eine oder mehrere Transaktionen, deren Bemessungsgrundlage die Grenze von 150 EUR überschreitet. Wenn der Wert der verkauften Waren (ohne Versandkosten und MwSt.) tatsächlich höher ist, ignorieren Sie bitte diese Meldung und fahren Sie mit dem Hochladen der Daten fort; diese Transaktionen werden von Ihrer IOSS-Meldung ausgeschlossen. Liegt der Warenwert (ohne Versandkosten und MwSt.) jedoch nicht unter der Grenze von 150 EUR und überschreitet diese nur, weil die Versandkosten enthalten sind, sollten Sie diesen Datenupload abbrechen, die Versandkosten in eine separate Zeile aufnehmen und die Daten erneut hochladen. Bitte lesen Sie unseren Leitfaden für IOSS-Datenvorlagen, wenn Sie Fragen haben.\",\"You have one pending order in progress\":\"Sie haben eine offene Bestellung in Bearbeitung\",\"You have successfully registered\":\"Sie haben sich erfolgreich registriert.\",\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\":\"Zur Begrüßung erhalten Sie in Kürze ein E-Mail von Ihrem persönlichen Kundenbetreuer, den Sie bei Fragen immer kontaktieren können.\",\"Your account is locked out for {{min}} minutes. Please contact our support team.\":\"Ihr Konto ist gesperrt. Bitte wenden Sie sich an unser Support-Team.\",\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\":\"Ihre E-Mail Adresse wurde geändert. Um die Änderung abzuschließen, loggen Sie sich bitte aus und melden Sie sich erneut mit Ihrer neuen E-Mail-Adresse an.\",\"ZeroRated\":\"Nullsatz\",\"expired\":\"Abgelaufen\",\"expires\":\"Auslaufen\",\"freq-notification-confirmation\":\"\",\"freq-notification-confirmation-affect\":\"\",\"fx-legal\":\"Die bereitgestellten Informationen stellen keine Rechts- und/oder Steuerberatung dar und sind auch nicht als solche gedacht. Sie dienen lediglich der allgemeinen Information. Sie bilden möglicherweise nicht die aktuelle Rechtslage ab. Alle Leser sollten sich an den Berater ihres Vertrauens wenden, um Rat über besondere rechtliche und/oder steuerliche Aspekte einzuholen. Jegliche Haftung hinsichtlich Handlungen, die basierend auf den Inhalten dieser Seite unternommen oder unterlassen werden, wird hiermit ausdrücklich ausgeschlossen. Die Inhalte dieser\\nWebsite werden ohne Gewähr bereitgestellt; es gibt keine Garantie auf Fehlerfreiheit.\\n\",\"if-you-had-taxable-supplies\":\"Falls Sie in der Vergangenheit steuerpflichtige Lieferungen hatten, wählen Sie das Datum, an welchem die erste steuerpflichtige Lieferung erfolgt ist. Falls für Sie in der Vergangenheit keine Registirerungspflicht bestand, empfehlen wir, ein Datum in der Zukunft auszuwählen, ab welchen ihre UID-Nummer gültig sein soll (z.B. der erste Monat im nächsten Quartal)\",\"master-data-is-incomplete\":\"Die Stammdaten sind unvollständig, einige SKU-Codes haben keinen Preis. Bitte ergänzen Sie die fehlenden Preise oder bestätigen Sie, dass Sie die Einrichtung ignorieren. Wenn Sie diese fehlenden Preise nicht ausfüllen, können wir den Wert der eigenen Warenbewegungen nicht in die Umsatzsteuererklärungen und die ZM-Meldungen aufnehmen, was Steuerprüfungen auslösen oder zu Strafen, MIAS-Deaktivierung oder Deregistrierung führen kann. Sie sind einzig und allein für die Folgen verantwortlich. Wir bitten Sie hiermit, alle fehlenden Werte auszufüllen, bevor Sie fortfahren.\",\"order-compliance-extension-tooltip\":\"Select this if you want to renew your existing subscription.\",\"order-compliance-restart-tooltip\":\"Select this if you are switching from another service provider to us.\",\"order-compliance-restart-warning\":\"Warning! This will remove any previously saved settings from your account. If you wanted to renew an expiring subscription, please select NO and select 'Renew for one year' instead.\",\"pay-monthly-compliance-fee\":\"Please pay the monthly compliance fee by clicking the button below. You will be redirected to our partner’s website where you can set up your preferred payment method.\",\"refund-mode-confirm\":\"Once you confirmed, you cannot modify the mode of refund. The selected option will be the default setting for future VAT reporting.\",\"saft-acknowledgement-admin\":\"Ich bestätige, dass ich die SAF-T Daten in die hochgeladene KPMG-Vorlage angegeben habe.\",\"saft-acknowledgement-web\":\"Ich bestätige, dass ich die SAF-T Daten in die hochgeladene KPMG-Vorlage angegeben habe. Weitere Informationen finden Sie in unseren {{- link_start}}Leitfäden und Tutorials{{- link_end}}.\",\"sign in\":\"Anmelden\",\"submissionperiod-paymentstatuschange-acknowledge\":\"Der Zahlungsstatus wird von KPMG nicht validiert und kann daher nur für Ihre eigenen Verfolgungszwecke verwendet werden. KPMG übernimmt keine Verantwortung für die Richtigkeit des angegebenen Status.\",\"total-number-of-incorrect-lines\":\"Total number of incorrect lines: {{num}}\",\"user-successfully-invited\":\"Benutzer erfolgreich eingeladen\",\"validation-column-header\":\"{{columnName}} (Column {{columnCode}})\",\"validation-constraint-not-fulfilled\":\"Constraint not fulfilled\",\"validation-data-cannot-be-empty\":\"Zelle darf nicht leer sein\",\"validation-date-invalid\":\"Zelle darf nicht leer oder ungültig sein (erwartetes Format: dd-mm-yyyy)\",\"validation-example\":\"See an example of the incorrect value: {{exampleValue}} (line {{rowNumber}}). Number of incorrect lines: {{total}}\",\"validation-invalid-data\":\"Ungültige Angaben\",\"validation-ioss-incorrect-transaction-date\":\"Falsches Transaktionsdatum. Sie können keine Transaktionen vor dem 1. Juli 2021 über IOSS melden\",\"validation-ioss-invalid-currency\":\"Sie müssen den ISO-Code der Währung mit 3 Buchstaben verwenden\",\"validation-ioss-invalid-departure-country\":\"Das Land muss außerhalb der EU liegen. Sie müssen den ISO-Code des Landes mit 2 Buchstaben verwenden\",\"validation-ioss-invalid-destination-country\":\"Es muss in der EU + Nordirland liegen. Sie müssen den ISO-Code des Landes mit 2 Buchstaben verwenden\",\"validation-ioss-invalid-invoice-country\":\"Sie müssen den ISO-Code des Landes mit 2 Buchstaben verwenden\",\"validation-ioss-invalid-transaction-type\":\"Es muss Sale oder Return sein\",\"validation-ioss-out-of-period-transactions\":\"Ihre Daten enthalten eine oder mehrere Transaktionen aus einer früheren Transaktionsperiode. Wenn Sie früher eingereichte IOSS-Meldungen korrigieren möchten, indem Sie jetzt neue Transaktionen einreichen, können Sie diese Meldung ignorieren und mit dem Upload fortfahren. Wenn dieses Datum jedoch versehentlich hinzugefügt wurde, müssen Sie den Upload stoppen und Ihre Daten korrigieren, bevor Sie fortfahren\",\"validation-ioss-wrong-taxable-basis-calculation\":\"{{columnName}} (Column {{columnCode}}): Taxable basis (Besteuerungsgrundlage) = Gross amount (Bruttobetrag) - VAT amount (USt.-Betrag) ({{taxableBasis}} != {{grossAmount}} - {{vatAmount}}).\",\"validation-ioss-wrong-vat-calculation\":\"{{columnName}} (Column {{columnCode}}): VAT amount (USt.-Betrag) = Taxable basis (Besteuerungsgrundlage) * VAT rate (USt.-Satz) ({{vatAmount}} != {{taxableBasis}} * {{vatRate}}).\",\"validation-number-data-cannot-be-empty-or-invalid\":\"Zelle darf nicht leer oder ungültig sein (erwartetes Format: Zahl mit Dezimaltrennzeichen ('.'), z. B.: 21.5)\",\"validation-positive-number-invalid\":\"Die Zelle darf nicht leer oder ungültig sein (erwartetes Format: Nichtnegative Zahl, z. B.: 435)\",\"validation-required-or-invalid\":\"Zelle darf nicht leer oder ungültig sein\",\"validation-unsupported-currency\":\"Die Währung wird nicht gestützt. Bitte kontaktieren Sie uns unter {{- contactEmail}}, um eine Lösung zu finden\",\"validation-vat-countryofcustomer-invalid-fc-transfer-customer-and-shipping-country-neq\":\"Bitte beachten Sie, dass ein FC_Transfer Transaktionstyp nur zwischen zwei verschiedenen EU Ländern möglich ist\",\"validation-vat-countryofcustomer-invalid-fc-transfer-valid-reg\":\"Bitte beachten Sie, dass laut unserer Datenbank keine gültige umsatzsteuerliche Registrierung im Versendungs- (Shipping from country) oder Ankunftsland (Customer's country) vorliegt. Eine gültige umsatzsteuerliche Registrierung ist verpflichtend um den FC_Transfer zu melden.\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-customer-eq-reporting\":\"Bitte beachten Sie, dass das Berichtsland der Umsatzsteuer (VAT Reporting Country) für Inbound Transaktionstypen ein EU Land oder Großbritannien sein muss.\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-must-be-in-eu\":\"Bitte beachten Sie, dass das Ankunftsland (Customer's country) für Inbound Transaktionen ein EU Land oder Großbritannien sein muss.\",\"validation-vat-decimalwrongformat\":\"\",\"validation-vat-out-of-period-transactions\":\"Ihre Daten enthalten eine oder mehrere Transaktionen aus einer früheren Transaktionsperiode. Wenn Sie früher eingereichte IOSS-Meldungen korrigieren möchten, indem Sie jetzt neue Transaktionen einreichen, können Sie diese Meldung ignorieren und mit dem Upload fortfahren. Wenn dieses Datum jedoch versehentlich hinzugefügt wurde, müssen Sie den Upload stoppen und Ihre Daten korrigieren, bevor Sie fortfahren\",\"validation-vat-partnername-invalid-registered-business\":\"Bitte beachten Sie, dass der Partnername (Partner Name) nur Buchstaben des englischen Alphabets beinhalten darf.\",\"validation-vat-partnername-is-required-registered-business\":\"Bitte beachten Sie, dass bei der Wahl „VAT Registered/Business“, die UID-Nummer des Partners (VAT number), sowie der registrierte Name (Partner Name) angeben werden müssen.\",\"validation-vat-taxablebasis-invalid-inbound-or-outbound-vat-values-correspond\":\"Bitte beachten Sie, dass für Inbound Transaktionen Umsatzsteuersatz (VAT rate), Besteuerungsgrundlage (Taxable basis) und der USt.-Betrag (VAT amount) übereinstimmen müssen. \",\"validation-vat-taxablebasis-invalid-sale-or-return-vat-values-correspond\":\"Bitte beachten Sie, dass die Besteuerungsgrundlage (Taxable basis) mit dem angewandten Umsatzsteuersatz (VAT rate) und dem kalkulierten USt.-Betrag (VAT amount) übereinstimmen muss. Die folgenden Zeilen sind falsch\",\"validation-vat-typeofpartner-invalid-fc-transfer-only-registered-business\":\"Bitte beachten Sie, dass der Partnertyp (Type of Partner) für den FC-Transfer nur „VAT Registered/Business“ sein kann. \",\"validation-vat-typeofpartner-invalid-inbound-or-outbound-only-registered-business\":\"Bitte beachten Sie, dass der Partnertyp (Type of Partner) für Inbound Transaktionen „VAT Registered/Business“ sein muss. \",\"validation-vat-typeofsale-invalid-only-goods\":\"Bitte beachten Sie, dass die Verkaufsart (Type of Sale) für den FC_Transfer nur Güter (Goods) sein können.\",\"validation-vat-vatamount-invalid-sale-or-return-vat-values-correspond\":\"Bitte beachten Sie, dass die Besteuerungsgrundlage (Taxable basis) mit dem angewandten Umsatzsteuersatz (VAT rate) und dem kalkulierten USt.-Betrag (VAT amount) übereinstimmen sollten. Die folgenden Zeilen sind falsch\",\"validation-vat-vatnumber-invalid-countrycodeprefix\":\"\",\"validation-vat-vatnumber-invalid-inbound-or-outbound\":\"Bitte beachten Sie, dass die UID-Nummer für Inbound Transaktionen mit dem Versandland übereinstimmen sollte.\",\"validation-vat-vatnumber-invalid-sale-or-return\":\"Bitte beachten Sie, dass die UID-Nummer mit der Ländervorwahl des Ankunftslandes beginnen muss.\",\"validation-vat-vatnumber-invalid-starts-with-two-letter\":\"Bitte beachten Sie, dass die vom Käufer bereitgestellte UID-Nummer (Buyer's VAT Number) falsch ist. Diese muss eine Ländervorwahl enthalten.\",\"validation-vat-vatrate-invalid-fc-transfer-cannot-be-null\":\"Bitte beachten Sie, dass die bereitgestellte Umsatzsteuersatz (VAT rate) und der Transaktionstyp (Transaction type) nicht übereinstimmen. FC_Transfer muss als reverse charge gemeldet werden, dafür muss der Bruttobetrag (Gross amount) mit dem Umsatzsteuersatz (VAT rate) berechnet werden.\",\"validation-vat-vatrate-invalid-inbound-or-outbound-cannot-be-null-except\":\"\",\"validation-vat-vatrate-invalid-vat-reporting-country\":\"Bitte beachten Sie, dass der angewandte Umsatzsteuersatz (VAT rate) im Berichtsland der Umsatzsteuer (VAT Reporting country) nicht verfügbar ist.(line {{rowNumber}})\",\"validation-vat-vatrate-is-required-inbound-or-outbound-when-taxable-basis\":\"Bitte beachten Sie, dass der Umsatzsteuersatz (VAT rate) und die Besteuerungsgrundlage (Taxable basis) für Inbound Transaktionen übereinstimmen müssen.\",\"validation-vat-vatrate-is-required-sale-or-return-when-taxable-basis\":\"Bitte beachten Sie, dass die Spalte für den Umsatzsteuersatz (VAT rate) verpflichtend ist, wenn Sie den Nettobetrag (Besteuerungsgrundlage/Taxable basis) für eine Transaktion angeben.\",\"validation-vat-vatreportingcountry-invalid-shipping-or-customer\":\"Bitte beachten Sie, dass das Berichtsland der Umsatzsteuer (VAT Reporting Country) nicht vom Versendungs- (Shipping from country) oder Ankunftsland (Customer's country) abweichen darf.\",\"validation-vatrate-data-cannot-be-empty-or-invalid\":\"Die Zelle darf nicht leer oder ungültig sein (erwartetes Format: Zwischen 1-27 (oder 0) mit Dezimaltrennzeichen ('.'), z. B.: 21,5)\",\"validation-vatrate-invalid-destination-country\":\"Please note that the applied VAT rate is not possible in the provided Destination country (line {{rowNumber}})\",\"validation-wrong-exchange-rate\":\"Der berechnete Wechselkurs scheint falsch zu sein\",\"wrong-template-format\":\"Wrong template format. Please use the most up to date template. Make sure you do not change the first 3 header rows. Please note that Strict OpenXml format is not supported.\",\"{{columnName}} ({{rowNumber}}): Data cannot be empty.\":\"{{columnName}} ({{rowNumber}}): Zelle darf nicht leer sein.\",\"{{columnName}} ({{rowNumber}}): Invalid\":\"{{columnName}} ({{rowNumber}}): Ungültig\",\"{{columnName}} ({{rowNumber}}): Not found\":\"{{columnName}} ({{rowNumber}}): Nicht gefunden\",\"{{columnName}} ({{rowNumber}}): Wrong format\":\"{{columnName}} ({{rowNumber}}): Falsches Format\",\"Couldnt_find_answer\":\"Konnten Sie keine Antwort auf Ihre Frage finden? Kontaktieren Sie uns {{- link_first_part}}hier{{- link_second_part}}.\",\"faq_bank_account_register_vat_in_france_answer\":\"{{- a_paragraph_start}}In der EU ansässige Unternehmen müssen über ein Bankkonto verfügen, das SEPA-B2B-Lastschriftzahlungen unterstützt. Wenn Sie kein SEPA-B2B-Lastschrift-Bankkonto haben, erhebt die französische Steuerbehörde eine Strafgebühr für jede Überweisung, die Sie tätigen (in der Regel 60 EUR pro Überweisung). Zur Vermeidung solcher Strafen müssen Sie ein Bankkonto eröffnen, das den Anforderungen des französischen E-Payment-Systems entspricht.{{- a_paragraph_end}}\",\"faq_bank_certificate_and_bank_details_answer\":\"{{- a_paragraph_start}}Wenn Sie eine Überzahlung geleistet haben oder die Umsatzsteuer abzugsfähig ist, wird von einigen Steuerbehörden dieser Betrag zurücküberwiesen. Wurde Ihre Bankverbindung nicht angegeben oder sind die Angaben unklar, wird die Steuerbehörde KPMG kontaktieren, wodurch sich die Bearbeitungszeit verlängert. Die Bankbestätigung sollte folgende Informationen enthalten: Name der Bank, Adresse der Bank, Name des Kontoinhabers, Adresse des Kontoinhabers, Währung, Kontonummer, IBAN, BIC.{{- a_paragraph_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_answer\":\"{{- a_paragraph_start}}Nach spanischem Recht müssen Einzelunternehmer/Einzelpersonen, die wirtschaftliche Beziehungen (Aktivitäten) mit/in dem Land unterhalten, aber nicht in Spanien wohnhaft sind, eine spanische Identifikationsnummer für Ausländer (NIE) bei einem spanischen Konsulat oder einer spanischen Vertretung in ihrem Wohnsitzland beantragen. Die Beantragung einer NIE-Nummer erfolgt mittels eines Formulars, das die Bezeichnung EX-15 trägt. Weitere Informationen über die NIE-Nummer und das EX-15-Antragsformular finden Sie {{- link_start}}hier{{- link_end}}.{{- a_paragraph_end}}\",\"faq_companies_articles_and_association_answer\":\"{{- a_paragraph_start}}Für die Registrierung in den meisten europäischen Ländern benötigt die Steuerbehörde ein Dokument, das die Anteilseignerstruktur des Unternehmens, das eingetragene Kapital des Unternehmens (gemeint sind die Finanzmittel) sowie die Angaben zur Unternehmensleitung und der gesetzlichen Vertretung enthält. Das Dokument wird auch als Satzung oder Gründungsvertrag bezeichnet.{{- a_paragraph_end}}\",\"faq_company_extract_for_uk_based_sole_trader_answer\":\"{{- a_paragraph_start}}Der Handelsregisterauszug kann entweder schriftlich oder per Telefax bei Ihrem zuständigen Amtsgericht beantragt oder online unter {{- a_link_start}}Handelsregister online{{- a_link_end}} abgerufen werden.{{- a_paragraph_end}}\",\"faq_company_extract_us_answer\":\"{{- a_paragraph_start}}Die zuständige Behörde für die Ausführung der Gewerbeordnung richtet sich nach Landesrecht und ist deshalb von Bundesland zu Bundesland verschieden. Im Regelfall können Sie Abschriften der Gewerbeanmeldung beim zuständigen Gewerbeamt oder Ordnungsamt Ihrer Stadt oder Gemeinde beantragen.{{- a_paragraph_end}}\",\"faq_companys_legal_representative_answer\":\"{{- a_paragraph_start}}Der gesetzliche Vertreter ist die Person, die rechtlich befugt ist, im Namen des Unternehmens zu handeln, und das Unternehmen in allen Steuerangelegenheiten vertritt.\\nFür die Registrierung ist ein Handelsregisterauszug erforderlich, aus dem eindeutig hervorgeht, wer der gesetzliche Vertreter ist.\\n{{- a_paragraph_end}}\",\"faq_companys_vat_certificate_us_answer\":\"{{- a_paragraph_start}}Die Umsatzsteuer-ID ermöglicht die Prüfung und den Nachweis der Unternehmereigenschaft und wird vom Bundeszentralamt für Steuern (BZSt) vergeben. Die erstmalige Erteilung oder der Nachweis einer bereits erteilten Nummer kann auf folgenden Wegen beantragt werden:{{- a_paragraph_middle}}Der Antrag kann online gestellt werden, indem Sie unter Services der {{- a_link_start}}Startseite des Bundesministeriums der Finanzen{{- a_link_end}} auf die Registerkarte Formulare klicken und danach das Formular-Management-System auswählen. Klicken Sie bitte auf Formularcenter auf der linken Seite und danach auf Steuerformulare. Letztendlich wählen Sie im Formularkatalog Umsatzsteuer aus und öffnen Sie das Dokument Antrag auf Erteilung oder erneute Zusendung einer bereits erteilten Umsatzsteuer-Identifikationsnummer.{{- a_paragraph_middle}}Alternativ besteht die Möglichkeit, einen schriftlichen Antrag an das BZSt zu richten. Die Anschrift lautet:{{- a_paragraph_end}}{{- a_addressline_start}}Bundeszentralamt für Steuern{{- a_addressline_middle}}Dienstsitz Saarlouis{{- a_addressline_middle}}Ludwig-Karl-Balzer-Allee 2{{- a_addressline_middle}}66740 Saarlouis{{- a_addressline_end}}{{- a_paragraph_start}}Weiterhin kann der Antrag auch per Telefax (+49 (0)228 406-3801) oder telefonisch (+49 (0)228 406-1222) gestellt werden. Die Antragstellung per Telefon ist montags bis freitags von 7:00 bis 16:00 Uhr möglich.{{- a_paragraph_end}}\",\"faq_documents_while_filing_answer\":\"{{- a_paragraph_start}}Sie müssen Angaben zu Ihrem Unternehmen machen, daher empfehlen wir Ihnen, den Handelsregisterauszug/Gewerberegisterauszug, Gesellschaftsvertrag/Satzung, einen Ausweis des gesetzlichen Vertreters und eine Bankbestätigung der Firma mitzubringen.{{- a_paragraph_end}}\",\"faq_drivers_licence_as_valid_id_answer\":\"{{- a_paragraph_start}}Die meisten europäischen Länder verlangen ein Ausweisdokument des gesetzlichen Vertreters. Dies kann ein Personalausweis, Reisepass oder Führerschein sein.\\nBitte beachten Sie, dass für die Online-Registrierung einer britischen Umsatzsteuernummer zwei verschiedene Ausweisdokumente erforderlich sind.{{- a_paragraph_end}}\",\"faq_form_6166_apply_answer\":\"{{- a_paragraph_start}}US based clients are required to provide a 6166 form, issued by the IRS to complete the German registration. The 6166 form can be requested using an 8802 form that can be downloaded from the website of the IRS. Please note that the German Tax Authorities only accept original forms and the issuing time can take up to 3 months for this document. To obtain the form, please apply to the IRS. For more information, please click {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_how_long_does_the_registration_take_answer\":\"{{- a_paragraph_start}}Wenn alle notwendigen Angaben und Dokumente in korrekter Form zur Verfügung gestellt werden, können wir den Registrierungsantrag in ein paar Tagen erstellen und an die Steuerbehörde weiterleiten.{{- a_paragraph_end}}\",\"faq_how_many_eoris_do_i_need_answer\":\"{{- a_paragraph_start}}E-Commerce-Verkäufer benötigen nur eine EORI-Nummer, und es kann ihnen auch nur eine EORI-Nummer ausgestellt werden. Die EORI-Nummer kann in allen EU-Mitgliedstaaten verwendet werden, daher ist eine Nummer ausreichend. Die Zollbehörden werden Ihren Antrag ablehnen, wenn Sie bereits eine Nummer erhalten haben. Bitte beachten Sie, dass europäische Verkäufer nach dem BREXIT eine EORI-Nummer im Vereinigten Königreich beantragen müssen, wenn sie Waren in das Vereinigte Königreich importieren möchten. Verkäufer mit Sitz im Vereinigten Königreich müssen eine EORI-Nummer in der EU beantragen, wenn sie Waren in die EU importieren möchten.{{- a_paragraph_end}}\",\"faq_notarisation_and_hague_apostille_meaning_answer\":\"{{- a_paragraph_start}}Einige europäische Steuerbehörden verlangen, dass Ihre Firmendokumente und Registrierungsformulare „notariell beglaubigt und mit einer Apostille versehen“ werden, bevor Sie sie bei den Behörden zur Beantragung einer Umsatzsteuer-Registrierung einreichen können.\\nNotariell beglaubigt bedeutet, dass die Unterschrift(en) der zur Unterschrift berechtigten oder verpflichteten Person(en) in Anwesenheit eines Notars geleistet werden und dieser wiederum mit seiner Unterschrift und seinem Siegel diesen Akt bezeugt. Falls die Finanzbehörde dies verlangt, muss der Zeichnungsberechtigte einen Notar aufsuchen (oder zu sich kommen lassen) und die benötigten Dokumente in dessen Gegenwart unterzeichnen. Der Notar beglaubigt die unter seiner Aufsicht unterzeichneten Dokumente.\\nEine Apostille ist die „Beglaubigung eines Dokuments zur Verwendung in einem anderen Land“. Die Apostille bestätigt die Echtheit einer Unterschrift, eines Siegels oder Stempels auf einem Dokument, sodass es bei Vorlage in einem anderen Land der Europäischen Union akzeptiert wird. Sie wird dauerhaft mit dem Dokument verbunden. Durch einen Prägemechanismus, das sogenannte Apostille-Siegel oder den Apostillen-Stempel, wird das Dokument mit einem Regierungswappen versehen.\\nIn der Regel kann der Notar, den Sie mit der Beglaubigung beauftragen, auch die Apostillierung veranlassen.{{- a_paragraph_end}}\",\"faq_obtain_company_extract_for_uk_company_answer\":\"{{- a_paragraph_start}}Contact Companies House on 0303 1234 500 and request them to send a certified copy of your Certificate of Incorporation with the following additional information added:{{- a_paragraph_end}}{{- a_list_start}}Names of the company directors{{- a_list_middle}}Name of the company secretary{{- a_list_middle}}Company registered office{{- a_list_middle}}Issued share capital{{- a_list_middle}}Names of the shareholders{{- a_list_end}}{{- a_paragraph_start}}The above document will be issued for a certain amount. (Around GBP 20, or GBP 60 for a faster service){{- a_paragraph_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_answer\":\"{{- a_paragraph_start}}Unsere Dienstleistungen sind auf die Europäische Union abgestimmt; wir können Sie jedoch an unsere lokalen KPMG-Büros in den jeweiligen Ländern verweisen. Diese erstellen Ihnen gerne ein Angebot und unterstützen Sie bei der Expansion Ihres Unternehmens.{{- a_paragraph_end}}\",\"faq_vat_certificate_for_uk_company_answer\":\"{{- a_paragraph_start}}This can be requested directly from HM Revenue & Customs on 0300 200 3700. You will need to quote your UK VAT registration number and the document will be posted to your registered address. Please note that it is possible to download a VAT certificate from the online portal where returns are submitted, however this will not be accepted by the tax authorities for VAT registration.{{- a_paragraph_middle}}If you are not registered for VAT in the UK, due to the fact that your sales are below the registration threshold, please let us know by email in advance and we will explain you what to do.{{- a_paragraph_end}}\",\"faq_vat_in_czech_republic_documents_quantities_answer\":\"{{- a_paragraph_start}}Sie müssen folgende Dokumente vorlegen:{{- a_paragraph_end}}{{- a_list_start}}Ein Original Ihres Handelsregisterauszuges/Gewerberegisterauszuges.{{- a_list_middle}}Umsatzsteuer-ID-Bescheinigung (im Land der Niederlassung) im Original.{{- a_list_middle}}Von Ihrer Bank ausgestellte Bankbescheinigung im Original, die Ihre Bankverbindung bestätigt.{{- a_list_middle}}Jeweils 1 Fotokopie eines Ausweisdokumentes des/der gesetzlichen Vertreter(s).{{- a_list_end}}{{- a_paragraph_start}}Der Handelsregisterauszug/Gewerberegisterauszug, die Umsatzsteuer-ID-Bescheinigung und die Bankbescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_middle}}Übersetzungen dieser Dokumente müssen beglaubigt sein. KPMG kann die Übersetzungen für Sie veranlassen.{{- a_paragraph_end}}\",\"faq_vat_in_france_documents_answer\":\"{{- a_paragraph_start}}Sie müssen folgende Dokumente vorlegen:{{- a_paragraph_end}}{{- a_list_start}}1 Fotokopie Ihres Handelsregisterauszuges/Gewerberegisterauszuges.{{- a_list_middle}}1 Fotokopie der Umsatzsteuer-ID-Bescheinigung (im Land der Niederlassung).{{- a_list_middle}}1 Fotokopie Ihrer Bankbescheinigung, die Ihre Bankverbindung bestätigt.{{- a_list_middle}}1 Fotokopie des Gesellschaftsvertrages (falls vorhanden).{{- a_list_middle}}Jeweils 1 Fotokopie des Personalausweises des/der gesetzlichen Vertreter(s).{{- a_list_end}}{{- a_paragraph_start}}Der Handelsregisterauszug/Gewerberegisterauszug, die Umsatzsteuer-ID-Bescheinigung und die Bankbescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_end}}\",\"faq_vat_in_germany_documents_quantities_answer\":\"{{- a_paragraph_start}}Sie müssen folgende Dokumente vorlegen:{- a_paragraph_end}}{{- a_list_start}}1 Fotokopie Ihres Handelsregisterauszuges/Gewerberegisterauszuges.{{- a_list_middle}}1 Fotokopie der Umsatzsteuer-ID-Bescheinigung (im Land der Niederlassung).{{- a_list_middle}}1 Fotokopie des Gesellschaftsvertrages (falls vorhanden).{{- a_list_middle}}Jeweils 1 Fotokopie eines Ausweisdokumentes des/der gesetzlichen Vertreter(s).{{- a_list_end}}{{- a_paragraph_start}}Der Handelsregisterauszug/Gewerberegisterauszug und die Umsatzsteuer-ID-Bescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_end}}\",\"faq_vat_in_italy_documents_quantities_answer\":\"{{- a_paragraph_start}}Sie müssen folgende Dokumente vorlegen:{{- a_paragraph_end}}{{- a_list_start}}Ein Original Ihres Handelsregisterauszuges/Gewerberegisterauszuges.{{- a_list_middle}}Umsatzsteuer-ID-Bescheinigung (im Land der Niederlassung) im Original{{- a_list_middle}}Jeweils 1 Fotokopie eines Ausweisdokumentes des/der gesetzlichen Vertreter(s).{{- a_list_end}}{{- a_paragraph_start}}Der Handelsregisterauszug/Gewerberegisterauszug und die Umsatzsteuer-ID-Bescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_middle}}Übersetzungen dieser Dokumente müssen beglaubigt sein. KPMG kann die Übersetzungen für Sie veranlassen.{{- a_paragraph_end}}\",\"faq_vat_in_poland_documents_quantities_answer\":\"{{- a_paragraph_start}}Sie müssen folgende Dokumente vorlegen:{{- a_paragraph_end}}{{- a_list_start}}Ein Original Ihres Handelsregisterauszuges/Gewerberegisterauszuges{{- a_list_middle}}Umsatzsteuer-ID-Bescheinigung (im Land der Niederlassung) im Original.{{- a_list_end}}{{- a_paragraph_start}}Der Handelsregisterauszug/Gewerberegisterauszug und die Umsatzsteuer-ID-Bescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_middle}}Übersetzungen dieser Dokumente müssen beglaubigt sein. KPMG kann die Übersetzungen für Sie veranlassen.{{- a_paragraph_end}}\",\"faq_vat_in_spain_documents_quantities_answer\":\"{{- a_paragraph_start}}Sie müssen die folgenden Dokumente vorlegen:{{- a_paragraph_end}}{{- a_list_start}}Ein Handelsregisterauszug/Gewerberegisterauszug im Original, notariell beglaubigt und mit einer Apostille versehen.{{- a_list_middle}}Die Bescheinigung der Identifikationsnummer für Ausländer im Original (NIE) - nur für Einzelunternehmer/Einzelpersonen!{{- a_list_end}}{{- a_paragraph_start}}Ihr Handelsregisterauszug/Gewerberegisterauszug und Ihre NIE-Bescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_middle}}Übersetzungen dieser Dokumente müssen beglaubigt sein. KPMG kann die Übersetzungen für Sie veranlassen.{{- a_paragraph_end}}\",\"faq_vat_in_uk_documents_quantities_answer\":\"{{- a_paragraph_start}}Sie müssen folgende Dokumente vorlegen:{{- a_paragraph_end}}{{- a_list_start}}1 Fotokopie Ihres Handelsregisterauszuges/Gewerberegisterauszuges.{{- a_list_middle}}1 Fotokopie der Umsatzsteuer-ID-Bescheinigung (im Land der Niederlassung).{{- a_list_middle}}jeweils 1 Fotokopie von zwei unterschiedlichen Ausweisdokumenten des/der gesetzlichen Vertreter(s).{{- a_list_end}}{{- a_paragraph_start}}Der Handelsregisterauszug/Gewerberegisterauszug und die Umsatzsteuer-ID-Bescheinigung sollten nicht älter als 3 Monate sein (zum Zeitpunkt der Einreichung des Registrierungsantrags).{{- a_paragraph_end}}\",\"faq_vat_with_fba_services_answer\":\"{{- a_paragraph_start}}Ja. Wenn Sie Waren in einem beliebigen europäischen Land lagern, benötigen Sie eine Umsatzsteuer-Identifikationsnummer. Diese ist gesetzlich vorgeschrieben.{{- a_paragraph_end}}\",\"faq_vies_in_spain_answer\":\"{{- a_paragraph_start}}Während die Umsatzsteuer-Registrierung in Spanien ein recht schneller Prozess ist, ist die Aktivierung einer Umsatzsteuer-ID im {{- link_start}}MIAS-System{{- link_end}} ein komplexerer und aufwändigerer Prozess. Nachdem Ihre Umsatzsteuer-ID ausgestellt wurde, können wir beginnen, die Steuerunterlagen einzureichen, und Sie können die Umsatzsteuer in Spanien zahlen. Die Aktivierung muss in einem separaten Antrag angefordert werden und kann nur erfolgen, wenn Sie innergemeinschaftliche Transaktionen durchführen. Das bedeutet, dass Sie zuerst eine EC-Sales-Liste in Spanien einreichen müssen. Erst nachdem die EC-Sales-Liste in Spanien eingereicht wurde, kann der Antrag gestellt werden; er wird jedoch automatisch abgelehnt, wenn Sie noch ausstehende Verbindlichkeiten haben, z.B. Umsatzsteuerzahlungen, Umsatzsteuererklärungen, Strafzahlungen. Wenn Ihr Antrag abgelehnt wird, müssen Sie einen neuen Antrag einreichen. Das Antragsverfahren beginnt dann von vorne. Dieser Prozess dauert in der Regel 2-3 Monate.{{- a_paragraph_end}}\",\"faq_what_is_an_eori_number_answer\":\"{{- a_paragraph_start}}Die EORI-Nummer ist eine Identifikationsnummer für Unternehmen in der Europäischen Union. Diese Nummer wird bei der Ein- und Ausfuhr von Waren in die und aus der EU ausgestellt. Unternehmen oder Privatpersonen müssen eine EORI-Nummer von einer nationalen Zollbehörde beantragen, bevor die Verzollung in der Europäischen Union erfolgt.{{- a_paragraph_end}}\",\"faq_when_vat_issued_answer\":\"{{- a_paragraph_start}}Die Zeitspanne bis zum Erhalt Ihrer Umsatzsteuer-Identifikationsnummer ist von Land zu Land unterschiedlich. In der Regel können Sie davon ausgehen, dass Sie Ihre Umsatzsteuer-Identifikationsnummer binnen 4 bis 6 Wochen ab Einreichung Ihrer Unterlagen bei der Steuerbehörde erhalten. Wir bleiben mit den Steuerbehörden in Kontakt, um den Status Ihrer Umsatzsteuer-Registrierung zu verfolgen, und halten Sie über alle Aktualisierungen auf dem Laufenden. Nachstehend finden Sie eine Liste der aktuellen Zeiträume für die Abwicklung von Umsatzsteuer-Registrierungen. Wir empfehlen diese Seite regelmäßig abzurufen, da wir die Bearbeitungsdauer ständig nachverfolgen und die Informationen häufig aktualisieren:{{- a_paragraph_end}}{{- a_list_start}}Frankreich: 7-9 Wochen{{- a_list_middle}}Deutschland: 6-8 Wochen{{- a_list_middle}}Spanien: 1-2 Wochen (MIAS-Aktivierung: 2-3 Monate){{- a_list_middle}}Italien: 4-6 Wochen{{- a_list_middle}}Polen: 4-6 Wochen{{- a_list_middle}}Tschechische Republik: 4-6 Wochen{{- a_list_middle}}Vereinigtes Königreich: 3-4 Wochen{{- a_list_end}}\",\"faq_where_can_i_get_my_documents_apostilled_answer\":\"{{- a_paragraph_start}}Apostillen können in der Regel von einem im Land bestellten Notar oder vom Staatlichen Notariat ausgestellt werden. Für Spanien genügt die einfache notarielle Beglaubigung nicht, es ist eine Überbeglaubigung/Legalisierung erforderlich, eine Apostille. Wenn Ihr Land nicht Mitgliedstaat des Haager Übereinkommens Nr. 12 ist, veranlassen Sie bitte die Beglaubigung der erforderlichen Dokumente vor Ort und wenden Sie sich an das spanische Konsulat in Ihrem Land, um die Legalisierung durch das Konsulat zu beantragen.{{- a_paragraph_end}}\",\"faq_where_can_i_get_my_documents_notarized_answer\":\"{{- a_paragraph_start}}Notare können Unterschriften oder Dokumente zur Verwendung im Ausland beglaubigen. Wenn Sie ein Dokument oder eine Vollmacht in beglaubigter Form brauchen, müssen Sie einen örtlichen Notar (oder Anwalt) aufsuchen.{{- a_paragraph_end}}\",\"faq_which_countries_eori_number_is_best_to_have_answer\":\"{{- a_paragraph_start}}Für in der EU ansässige Unternehmen ist eine EORI-Nummer im Niederlassungsland empfehlenswert. Bei Unternehmen aus Drittländern sollte die Wahl auf das Land mit dem größten Importvolumen fallen.{{- a_paragraph_end}}\",\"faq_who_is_the_beneficial_owner_answer\":\"{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} jede natürliche Person, {{- a_bold_start}}die mindestens fünfundzwanzig Prozent der Anteile oder Stimmrechte {{- a_bold_end}} an einer juristischen Person oder einer Organisation ohne eigene Rechtspersönlichkeit {{- a_bold_start}}direkt oder {{- a_bold_end}} - mittels der in Abschnitt 8.4: 2 des Gesetzes V von 2013 über das Bürgerliche Gesetzbuch (im Folgenden 'Bürgerliches Gesetzbuch') - {{- a_bold_start}}indirekt{{- a_bold_end}} besitzt oder auf andere Weise die tatsächliche Kontrolle über die juristische Person oder die Organisation ohne Rechtspersönlichkeit ausüben kann, wenn diese juristische Person oder Organisation ohne Rechtspersönlichkeit nicht an einem geregelten Markt notiert ist und Offenlegungspflichten unterliegt, die mit dem Gemeinschaftsrecht vereinbar sind oder gleichwertigen internationalen Standards entsprechen,{{- a_paragraph_end}}{{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} jede natürliche Person, die einen beherrschenden Einfluss auf eine juristische Person oder eine Personenvereinigung ohne eigene Rechtspersönlichkeit im Sinne von Abschnitt 8:2 Absatz 2 des Bürgerlichen Gesetzbuchs hat,{{- a_paragraph_end}}{{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} jede natürliche Person, in deren Namen ein Geschäft getätigt wird, oder die in der Lage ist, die Tätigkeit eines Kunden auf andere Weise wirksam zu kontrollieren, wenn es sich um natürliche Personen handelt,{{- a_paragraph_end}}{{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} im Fall von Stiftungen:{{- a_paragraph_end}} {{- a_paragraph_start}} da) wenn die künftigen Begünstigten bereits feststehen, die natürliche Person, die fünfundzwanzig Prozent oder mehr des Stiftungsvermögens erhält,{{- a_paragraph_end}}{{- a_paragraph_start}} db) db) wenn die Personen, denen die Stiftung zugute kommt, noch nicht feststehen, die natürliche Person, in deren Hauptinteresse die Stiftung gegründet wurde oder tätig ist, oder{{- a_paragraph_end}}{{- a_paragraph_start}} dc) die natürliche Person, die die Kontrolle über die Verwaltung der Stiftung ausübt oder die Kontrolle über mindestens fünfundzwanzig Prozent des Stiftungsvermögens ausübt, und/oder die befugt ist, die Stiftung zu vertreten,{{- a_paragraph_end}}{{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} bei Verträgen zur treuhänderischen Vermögensverwaltung:{{- a_paragraph_end}}{{- a_paragraph_start}}ea) der Auftraggeber und der unter Buchstabe a) oder b) genannte wirtschaftlich Berechtigter,{{- a_paragraph_end}}{{- a_paragraph_start}}eb) der Treuhänder und der unter Buchstabe a) oder b) genannte wirtschaftlich Berechtigter,{{- a_paragraph_end}}{{- a_paragraph_start}}ec) die Begünstigten oder die Gruppe der Begünstigten und der unter Buchstabe a) oder b) genannte wirtschaftliche Berechtigter, ferner{{- a_paragraph_end}}{{- a_paragraph_start}}ed) jede natürliche Person, die auf andere Weise eine tatsächliche Kontrolle über den Treuhandfonds ausübt,{{- a_paragraph_end}}{{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} in Abwesenheit der unter den Buchstaben a) und b) genannten natürlichen Person der Geschäftsführer der juristischen Person oder der Unternehmensvereinigung ohne Rechtspersönlichkeit;{{- a_paragraph_end}}\",\"faq_why_do_i_need_a_fiscal_representative_answer\":\"{{- a_paragraph_start}}Bei Unternehmen, die Waren oder Dienstleistungen im europäischen Ausland anbieten, kann es erforderlich sein, sich als nichtansässiger Handelstreibender für die Umsatzsteuer registrieren zu lassen. Manche Länder gestatten es, dass ein Unternehmen mit Niederlassung in einem Nicht-EU-Staat „direkt“ bei der Steuerbehörde registriert wird, ohne dass ein ansässiger Vertreter ernannt werden muss.{{- a_paragraph_middle}}Unter bestimmten Umständen verlangen die Steuerbehörden jedoch, dass das Unternehmen einen Fiskalvertreter im Bestimmungsland ernennt. Dieses Unternehmen muss steuerlich registriert und bereit sein, als lokaler Vertreter des Unternehmens zu fungieren, der sich um Anfragen und Verpflichtungen des Unternehmens gegenüber den Steuerbehörden kümmert. In den meisten Fällen ist der Fiskalvertreter gesamtschuldnerisch für alle Umsatzsteuerzahlungen des Unternehmens haftbar. {{- a_paragraph_middle}}Die Steuerbehörden betrachten einen Fiskalvertreter als den ansässigen Vertreter des ausländischen Händlers – was zu einigen Compliance-Pflichten führt. Wenn der Fiskalvertreter für die Steuern des Händlers gesamtschuldnerisch haftet, ist es zudem branchenüblich, eine Kaution oder Bankgarantie zugunsten des Fiskalvertreters zu verlangen, um potenzielle Risiken zu mindern, falls das Unternehmen seinen Verbindlichkeiten nicht nachkommt.{{- a_paragraph_end}}\",\"faq_why_i_need_vat_number_answer\":\"{{- a_paragraph_start}}Unternehmen, die Waren oder Dienstleistungen in einer ausländischen Jurisdiktion mit einer Umsatzsteuergesetzgebung anbieten, müssen das entsprechende Umsatzsteuerrecht des jeweiligen Landes befolgen. In mehreren Fällen ist ein Unternehmen gesetzlich verpflichtet, sich aufgrund seiner steuerpflichtigen Geschäftstätigkeit in dem jeweiligen Land für die Umsatzsteuer registrieren zu lassen. Solche Aktivitäten sind unter anderem:{{- a_paragraph_end}}{{- a_list_start}}Die Einfuhr von Waren zum Zwecke des Verkaufs oder des Vertriebs{{- a_list_middle}}Der Kauf und Verkauf von Waren vor Ort.{{- a_list_middle}}Der Verkauf von Waren an Einzelpersonen über das Internet (es können Umsatzfreibeträge gelten). Die Einlagerung von Waren in einem Lagerhaus.{{- a_list_middle}}Die Organisation einer Veranstaltung (insbesondere, wenn für die Veranstaltung Eintrittsgebühren erhoben werden).{{- a_list_middle}}Es liegt in der Verantwortung des Unternehmens, vor Beginn der steuerpflichtigen Transaktionen eine Umsatzsteuer-Identifikationsnummer zu beantragen und nach der Registrierung die Compliance- und Nachweisanforderungen zu erfüllen.{{- a_list_end}}\",\"faq_will_original_documents_be_returned_after_registration_answer\":\"{{- a_paragraph_start}}Diese Dokumente werden von den jeweiligen Steuerbehörden in den einzelnen Ländern angefordert und von diesen einbehalten. Sie erhalten diese daher nicht zurück. Damit Sie die Originale nicht aus der Hand geben müssen, können wir der Steuerbehörde auch notariell beglaubigte Kopien zur Verfügung stellen.{{- a_paragraph_end}}\",\"faq_wrong_registration_document_to_kpmg_answer\":\"{{- a_paragraph_start}}Wir werden Sie darum bitten, uns die richtigen Dokumente zuzusenden. Wenn wir einen Registrierungsantrag nicht mit den richtigen Dokumenten einreichen (z.B. Fotokopie anstelle des Originals oder nicht aktuell), wird der Registrierungsprozess verzögert und höchstwahrscheinlich abgelehnt.{{- a_paragraph_end}}\",\"faq_wrong_registration_info_to_kpmg_answer\":\"{{- a_paragraph_start}}Wenn die von Ihnen angegebenen Daten ungenau oder fehlerhaft sind, wird sich Ihr Kundenbetreuer mit Ihnen in Verbindung setzen, bis alle Details geklärt sind. Dadurch kann sich die für die Erstellung der Registrierungsunterlagen benötigte Zeit verlängern. Wenn die Angaben, die in den Registrierungsunterlagen gemacht werden, falsch sind, wird sich die Steuerbehörde mit uns in Verbindung setzen und die Umsatzsteuernummer erst dann erteilen, wenn alle Angaben korrekt und aktualisiert sind.{{- a_paragraph_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_answer\":\"{{- a_paragraph_start}}Das Vereinigte Königreich hat die EU-Zollunion am 31. Dezember 2020 verlassen. Gleichzeitig hat das Vereinigte Königreich die Befreiungen für Sendungen mit einem Warenwert von unter 15 £ aufgehoben und eine neue Umsatzsteuerregelung am Verkaufsort (ähnlich der IOSS-Regelung in der EU) für in das Vereinigte Königreich importierte Warensendungen in Kraft gesetzt, deren Wert 135 £ nicht übersteigt.{{- a_paragraph_middle}}Anbieter aus Großbritannien gelten bei Verkäufen an Konsumenten in der EU als nicht in der EU ansässig. Sie können den EU-IOSS ab dem 1. Juli 2021 als Nicht-EU-Verkäufer für den Verkauf von anrechenbaren Waren nutzen, die in die EU importiert werden.{{- a_paragraph_end}}\",\"ioss_faq_currency_other_than_eur_answer\":\"{{- a_paragraph_start}}Wenn verkaufte Waren in einer anderen Währung als dem Euro bezahlt werden, sollten Sie die Berechnung immer zum Zeitpunkt der Lieferung vornehmen, um festzustellen, ob der Verkauf der Waren unter Anwendung eines IOSS deklariert werden kann.{{- a_paragraph_middle}}Um mögliche Probleme bei der Einfuhr aufgrund von Wechselkursschwankungen zu vermeiden, empfehlen wir Ihnen, auf der der Sendung beiliegenden Rechnung den Preis in EUR anzugeben, so wie er zum Zeitpunkt der Bezahlung festgelegt wurde.{{- a_paragraph_end}}\",\"ioss_faq_do_not_opt_into_ioss_answer\":\"{{- a_paragraph_start}}Wie oben erwähnt, wird die Umsatzsteuer bei der Einfuhr der Waren fällig und muss vom Zollanmelder, z. B. FedEx Express, vorgelegt werden, der sich diese Kosten je nach Versandbedingungen vom Kunden oder von Ihnen zurückerstatten lassen wird, wenn kein IOSS zur Anwendung kommt. Es können zusätzliche Bearbeitungsgebühren anfallen. Wenn der Verkäufer Waren unter DDP-Bedingungen verkauft, kann ein zusätzlicher Aufwand bei der Abwicklung der Umsatzsteuer entstehen.{{- a_paragraph_middle}}Für Sendungen, die über FedEx abgewickelt werden, besuchen Sie bitte fedex.com für weitere Details.{{- a_paragraph_end}}\",\"ioss_faq_eur_150_value_limit_answer\":\"{{- a_paragraph_start}}Der IOSS kann für Waren einer Sendung angewendet werden, deren intrinsischer Wert bei der Einfuhr 150 EUR nicht übersteigt. Dies gilt nicht für verbrauchsteuerpflichtige Waren.{{- a_paragraph_middle}}Der intrinsische Wert ist der Preis der Waren selbst, wenn sie für den Export in die EU verkauft werden. Der Preis versteht sich ohne Transport- und Versicherungskosten (es sei denn, diese sind im Preis enthalten und werden auf der Rechnung nicht gesondert aufgeschlüsselt) und ohne andere Steuern und Abgaben, die bei den Zollbehörden unter Vorweis eines entsprechenden Dokumentes geltend gemacht werden können.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_answer\":\"{{- a_paragraph_start}}Die genauen Bestimmungen für die IOSS-Registrierung wurden bislang von den zuständigen Steuerbehörden noch nicht bekanntgegeben. Bitte informieren Sie sich später auf dieser Seite über Aktualisierungen.{{- a_paragraph_middle}}KPMG wird einen Fragebogen vorbereiten und auf dem Portal bereitstellen, in den die für Ihre IOSS-Registrierung erforderlichen Angaben eingetragen werden..{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_return_answer\":\"{{- a_paragraph_start}}Nach erfolgreicher Registrierung können Sie das Formular von unserem Portal herunterladen. Sie müssen uns monatlich Ihre Umsatzdaten (einschließlich Retouren) der anrechenbaren Transaktionen im dafür vorgesehenen Formular zur Verfügung stellen. KPMG wird die IOSS-Erklärung für Sie zur Durchsicht vorbereiten.{{- a_paragraph_middle}}Die IOSS-Umsatzsteuererklärung enthält den Gesamtwert der verkauften Waren, den jeweiligen Umsatzsteuersatz und den zu zahlenden Gesamtbetrag an Umsatzsteuer, aufgeschlüsselt nach den einzelnen EU-Mitgliedstaaten der Auslieferung, sowie aufgeschlüsselt nach Standard- und ermäßigten Steuersätzen.{{- a_paragraph_middle}}Nach Ihrer Freigabe wird KPMG die Erklärung einreichen.{{- a_paragraph_end}}\",\"ioss_faq_ioss_for_b2b_answer\":\"{{- a_paragraph_start}}Nein, IOSS kann nur für B2C-Verkäufe von anrechenbaren Waren verwendet werden.{{- a_paragraph_end}}\",\"ioss_faq_pay_tax_due_answer\":\"{{- a_paragraph_start}}Zahlungsfrist ist bis zum Ende des Monats, der auf den Berichtsmonat folgt, wie auch bei der Steuererklärung üblich. Sie haben Ihren Sitz außerhalb der EU, daher erfolgt die Registrierung über einen Umsatzsteuervertreter. Es wird empfohlen, die monatliche Zahlung des in der IOSS-Umsatzsteuererklärung ausgewiesenen Betrages mindestens einige Arbeitstage vor Ablauf der Zahlungsfrist an den Umsatzsteuervertreter zu leisten. Der Umsatzsteuervertreter wird die Zahlung an den Mitgliedstaat der Registrierung in Ihrem Namen vornehmen.{{- a_paragraph_end}}\",\"ioss_faq_return_deadline_answer\":\"{{- a_paragraph_start}}Sie müssen eine monatliche IOSS-Erklärung bei den Steuerbehörden im Land der Identifikation (Registrierung) einreichen. Die Frist für die Abgabe Ihrer IOSS-Umsatzsteuererklärung ist das Ende des auf den Berichtszeitraum folgenden Kalendermonats.{{- a_paragraph_end}}\",\"ioss_faq_return_goods_under_ioss_answer\":\"{{- a_paragraph_start}}Für Waren, die die EU infolge einer Rücksendung wieder verlassen, kann die Umsatzsteuer zurückerstattet werden. Bitte stellen Sie KPMG die notwendigen Informationen unter Verwendung des Formulars zur Verfügung und KPMG wird dies in Ihrer IOSS-Erklärung entsprechend berücksichtigen.{{- a_paragraph_end}}\",\"ioss_faq_who_to_contact_if_answer\":\"{{- a_paragraph_start}}Sobald Sie die KPMG-Dienstleistungen angewählt haben, wird Ihnen ein persönlicher KPMG-Accountmanager zugewiesen, der Ihre Fragen zur IOSS-Registrierung und zur Umsatzsteuerabwicklung beantwortet. Sie können Ihren Accountmanager per E-Mail oder telefonisch in folgenden Sprachen erreichen: Deutsch, Englisch, Französisch, Spanisch, Italienisch und Chinesisch.{{- a_paragraph_end}}\",\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)_reporting)\":\"Wenn eines der folgenden 3 Felder ausgefüllt wird, müssen alle 3 Felder ausgefüllt werden: Spalte U (Taxable basis_reporting), Spalte T (Gross amount_reporting), Spalte V (VAT amount_reporting)\",\"amazon_vat_rates_warning\":\"We will apply the VAT rates that is provided in the amazon data when available / We will use our default rates. After June-2021 KPMG must use the Amazon provided rates.\",\"contacts_message\":\"Spezielle Fragen: Bitte schreiben Sie an {{- link_start}} {{- contactEmail}} {{- link_end}}.\",\"cookie_consent_description\":\"Diese Website verwendet Cookies, um die notwendige Funktionalität der Website zu gewährleisten und Ihr Online-Erlebnis zu verbessern. Durch die Nutzung dieser Website erklären Sie sich mit der Verwendung von Cookies einverstanden, wie in der {{- link_start}}KPMG Online-Datenschutzerklärung{{- link_end}} dargelegt.\",\"disabled_ioss_upload_for_this_month\":\"Sie haben für diesen Monat keine Transaktionsdaten hochgeladen. Da es nicht möglich ist, IOSS-Meldungen im Nachhinein einzureichen, ist der Upload nicht mehr möglich. Falls Sie in diesem Monat Umsätze gemacht haben, müssen diese im IOSS gemeldet werden, Sie müssen diese Transaktionen der Datenquelle einer nächste IOSS Umsätze hinzufügen\",\"faq_bank_account_register_vat_in_france_question\":\"{{- q_start}}Welche Besonderheiten muss ich bei der Umsatzsteuerregistrierung in Frankreich bezüglich meiner Bankverbindung beachten?{{- q_end}}\",\"faq_bank_certificate_and_bank_details_question\":\"{{- q_start}}Warum muss ich eine Bankbestätigung und meine Bankverbindung angeben?{{- q_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_question\":\"{{- q_start}}Was ist die Bescheinigung der Identifikationsnummer für Ausländer (NIE) in Spanien?{{- q_end}}\",\"faq_companies_articles_and_association_question\":\"{{- q_start}}Was ist der Gesellschaftsvertrag (auch Satzung oder Statuten genannt) eines Unternehmens und warum muss ich ihn vorlegen?{{- q_end}}\",\"faq_company_extract_for_uk_based_sole_trader_question\":\"{{- q_start}}Wie beantrage ich einen neuen Handelsregisterauszug in Originalausführung in Deutschland?{{- q_end}}\",\"faq_company_extract_us_question\":\"{{- q_start}}Wie Beantrage ich einen neuen Gewerberegisterauszug in Originalausführung in Deutschland?{{- q_end}}\",\"faq_companys_legal_representative_question\":\"{{- q_start}}Wer ist der gesetzliche Vertreter meines Unternehmens?{{- q_end}}\",\"faq_companys_vat_certificate_us_question\":\"{{- q_start}}Wie beantrage ich eine neue Umsatzsteuer-ID-Bescheinigung in Originalausführung in Deutschland?{{- q_end}}\",\"faq_documents_while_filing_question\":\"{{- q_start}}Welche Dokumente muss ich für die Registrierung/Beantwortung des Fragebogens mitbringen?{{- q_end}}\",\"faq_drivers_licence_as_valid_id_question\":\"{{- q_start}}Kann ich einen Führerschein als Ausweisdokument verwenden?{{- q_end}}\",\"faq_form_6166_apply_question\":\"{{- q_start}}What is Form 6166? What is it for and how can I apply?{{- q_end}}\",\"faq_how_long_does_the_registration_take_question\":\"{{- q_start}}Wie lange dauert der Registrierungsprozess?{{- q_end}}\",\"faq_how_many_eoris_do_i_need_question\":\"{{- q_start}}Wie viele EORI-Nummern benötige ich?{{- q_end}}\",\"faq_notarisation_and_hague_apostille_meaning_question\":\"{{- q_start}}Was bedeutet „notarielle Beglaubigung“ und was ist eine „Haager Apostille“?{{- q_end}}\",\"faq_obtain_company_extract_for_uk_company_question\":\"{{- q_start}}Where can I obtain a company extract for an UK established company?{{- q_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_question\":\"{{- q_start}}Kann KPMG mich unterstützen, wenn ich mich in den USA, Kanada, Indien, China, Mexiko, Australien oder Japan registrieren lassen möchte?{{- q_end}}\",\"faq_vat_certificate_for_uk_company_question\":\"{{- q_start}}Where can I obtain the VAT certificate of my UK established company?{{- q_end}}\",\"faq_vat_in_czech_republic_documents_quantities_question\":\"{{- q_start}}Ich möchte in der Tschechischen Republik eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_in_france_documents_question\":\"{{- q_start}}Ich möchte in Frankreich eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_in_germany_documents_quantities_question\":\"{{- q_start}}Ich möchte in Deutschland eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_in_italy_documents_quantities_question\":\"{{- q_start}}Ich möchte in Italien eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_in_poland_documents_quantities_question\":\"{{- q_start}}Ich möchte in Polen eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_in_spain_documents_quantities_question\":\"{{- q_start}}Ich möchte in Spanien eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_in_uk_documents_quantities_question\":\"{{- q_start}}Ich möchte im Vereinigten Königreich eine Umsatzsteuerregistrierung vornehmen. Welche Dokumente muss ich vorlegen, in welchem Format und wie viele Ausfertigungen benötige ich?{{- q_end}}\",\"faq_vat_with_fba_services_question\":\"{{- q_start}}Benötige ich eine Umsatzsteuernummer, wenn ich FBA-Dienste in Anspruch nehme?{{- q_end}}\",\"faq_vies_in_spain_question\":\"{{- q_start}}Welche Besonderheiten sind bei der MIAS-Aktivierung in Spanien zu beachten?{{- q_end}}\",\"faq_what_is_an_eori_number_question\":\"{{- q_start}}Was ist eine EORI-Nummer?{{- q_end}}\",\"faq_when_vat_issued_question\":\"{{- q_start}}Wann wird meine Umsatzsteuer-Identifikationsnummer erteilt?{{- q_end}}\",\"faq_where_can_i_get_my_documents_apostilled_question\":\"{{- q_start}}Wo kann ich meine Dokumente mit einer Apostille versehen lassen?{{- q_end}}\",\"faq_where_can_i_get_my_documents_notarized_question\":\"{{- q_start}}Wo kann ich meine Dokumente notariell beglaubigen lassen?{{- q_end}}\",\"faq_which_countries_eori_number_is_best_to_have_question\":\"{{- q_start}}Die EORI-Nummer welchen Landes empfiehlt es sich zu haben?{{- q_end}}\",\"faq_who_is_the_beneficial_owner_question\":\"{{- q_start}}Wer ist die wirtschaftlich berechtigte Person?{{- q_end}}\",\"faq_why_do_i_need_a_fiscal_representative_question\":\"{{- q_start}}Brauche ich einen Fiskalvertreter?{{- q_end}}\",\"faq_why_i_need_vat_number_question\":\"{{- q_start}}Warum benötige ich eine Umsatzsteuernummer?{{- q_end}}\",\"faq_will_original_documents_be_returned_after_registration_question\":\"{{- q_start}}Es werden Originaldokumente verlangt, bekomme ich diese nach Abschluss der Registrierung zurück?{{- q_end}}\",\"faq_wrong_registration_document_to_kpmg_question\":\"{{- q_start}}Was passiert, wenn ich der KPMG für die Umsatzsteuerregistrierung nicht die richtigen Dokumente zur Verfügung stelle?{{- q_end}}\",\"faq_wrong_registration_info_to_kpmg_question\":\"{{- q_start}}Was passiert, wenn ich KPMG bei der Registrierung falsche Angaben mache?{{- q_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_question\":\"{{- q_start}}Gelten diese Änderungen auch für das Vereinigte Königreich, nachdem es nicht mehr Mitglied der EU ist?{{- q_end}}\",\"ioss_faq_currency_other_than_eur_question\":\"{{- q_start}}Mein Kunde zahlt in einer anderen Währung als in Euro, welchen Wechselkurs wende ich an?{{- q_end}}\",\"ioss_faq_do_not_opt_into_ioss_question\":\"{{- q_start}}Was passiert, wenn ich mich nicht für einen IOSS entscheide?{{- q_end}}\",\"ioss_faq_eur_150_value_limit_question\":\"{{- q_start}}Wie ist die Wertgrenze von 150 EUR zu verstehen?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_question\":\"{{- q_start}}Welche Informationen muss ich der KPMG für die IOSS-Registrierung zur Verfügung stellen?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_return_question\":\"{{- q_start}}Welche Informationen muss ich KPMG für die IOSS-Erklärungen zur Verfügung stellen?{{- q_end}}\",\"ioss_faq_ioss_for_b2b_question\":\"{{- q_start}}Kann ich IOSS für B2B-Transaktionen nutzen?{{- q_end}}\",\"ioss_faq_pay_tax_due_question\":\"{{- q_start}}Wie bezahle ich die fällige Steuer und welche Zahlungsfristen bestehen?{{- q_end}}\",\"ioss_faq_return_deadline_question\":\"{{- q_start}}Was ist die Einreichungsfrist?{{- q_end}}\",\"ioss_faq_return_goods_under_ioss_question\":\"{{- q_start}}Wie werden Retouren im Rahmen des IOSS-Systems behandelt?{{- q_end}}\",\"ioss_faq_who_to_contact_if_question\":\"{{- q_start}}Wenn ich eine Frage habe, an wen soll ich mich wenden?{{- q_end}}\",\"fedex_cross_border_hint\":\"FedEx Cross Border-Kunden: Bitte verwenden Sie Ihre 6-stellige Kontonummer gefolgt von 'FXCB'\",\"forgot_pw_resend\":\"Wenn Sie kein E-Mail zum Zurücksetzen Ihres Passwortes erhalten haben, klicken Sie bitte {{- link_start}}hier{{- link_end}}, um es erneut anzufordern, oder kontaktieren Sie uns unter {{- contactEmail}}\",\"login_disclaimer\":\"Mit Ihrer Anmeldung oder der Erstellung eines Kontos akzeptieren Sie unsere {{- link1_start}}Allgemeinen Geschäftsbedingungen{{- link1_end}} und unsere {{- link2_start}}Datenschutzerklärungen{{- link2_end}}.\",\"register_welcome_text\":\"Vielen Dank für Ihren Besuch. Bitte beachten Sie, dass diese Plattform nur für freigeschaltete Besucher bestimmt ist. Wenn Sie nicht freigeschaltet wurden, sich aber bei KPMG anmelden möchten, können Sie {{- link_start}}hier{{- link_end}} mehr über unsere Dienstleistungen für E-Commerce-Verkäufer erfahren.\",\"validation-vat-vatrate-is-required-sale-or-return-when-vat_amount\":\"Bitte beachten Sie, dass der Umsatzsteuersatz (VAT rate) verpflichtend ist, wenn sie den USt.-Betrag (VAT amount) für eine Transaktion angeben.\"}","module.exports = {\"(Empty)\":\"(Empty)\",\"A bank statement showing your bank account information (if appropriate)\":\"A bank statement showing your bank account information (if appropriate)\",\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\":\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\",\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\":\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\",\"Abandoned\":\"Abandoned\",\"Access denied\":\"Access denied\",\"Accounting office\":\"Accounting office\",\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\":\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\",\"Acknowledge\":\"Confirm\",\"Acknowledgement\":\"Acknowledgement\",\"Actions\":\"Actions\",\"Active\":\"Active\",\"Active tier:\":\"Active tier:\",\"Active tier: \":\"Active tier: \",\"Add\":\"Add\",\"Add New Country\":\"Add New Country\",\"Add SKU\":\"Add SKU Codes\",\"Add current or previous IOSS number\":\"Add current or previous IOSS number\",\"Add new Beneficial Owner\":\"Add new Beneficial Owner\",\"Add new Business Owner\":\"Add new\",\"Add new Fixed Establishment\":\"Add new Fixed Establishment\",\"Add new VAT ID\":\"Add new VAT number\",\"Add new authorized signatory\":\"Add new\",\"Add new turnover\":\"Add new turnover\",\"Add the OSS registration number\":\"Add the OSS registration number\",\"Add the address of the previous fiscal representative in France\":\"Add the address of the previous fiscal representative in France\",\"Add the effective date of OSS registration\":\"Add the effective date of OSS registration\",\"Additional Services\":\"Additional Services\",\"Address\":\"Address\",\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\":\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\",\"Agree\":\"Agree\",\"All\":\"All\",\"Amazon SKUs\":\"Amazon SKU Codes\",\"Amazon Seller account name\":\"Amazon Seller account name\",\"Amazon invoicing services before 2021 July\":\"Amazon invoicing services before 2021 July\",\"Amount\":\"Amount\",\"Amount must be greater than or equal to zero.\":\"Amount must be greater than or equal to zero.\",\"Amount of capital in EUR\":\"Amount of capital in EUR\",\"An error has occured during email verification.\":\"An error has occurred during the email verification.\",\"Apostille\":\"Apostille\",\"Approval due\":\"Approval due\",\"Approve\":\"Approve\",\"Approve draft\":\"Approve draft\",\"Approved\":\"Approved\",\"ApprovedByClient\":\"Approved by Client\",\"Are you making already taxable supply in France?\":\"Are you making already taxable supply in France?\",\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\":\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\",\"Are you sure to delete?\":\"Are you sure you want to delete this?\",\"Are you sure to revoke access to this company?\":\"Are you sure you want to revoke the access to this company?\",\"Are you sure you want to change client invoicing?\":\"Are you sure you want to change client invoicing?\",\"At least one country must be selected\":\"At least one country must be selected\",\"Attach file\":\"Attach file\",\"Attachments uploaded successfully\":\"Attachments uploaded successfully\",\"Authorized signatory\":\"Authorized signatory\",\"Automation\":\"Automation\",\"Automotive/Industrial\":\"Automotive/Industrial\",\"Available credit\":\"Available credit\",\"B2B\":\"B2B\",\"B2C\":\"B2C\",\"BIC\":\"BIC\",\"Bank Information\":\"Bank Information\",\"Bank Transfer\":\"Bank Transfer\",\"Bank account\":\"Bank account\",\"Bank account holder address\":\"Bank account holder address\",\"Bank account holder name\":\"Bank account holder name\",\"Bank address\":\"Bank address\",\"Bank name\":\"Bank name\",\"Banking Information\":\"Banking Information\",\"Banking information for the VAT payment in Germany\":\"Banking information for the VAT payment in Germany\",\"Beauty/Health\":\"Beauty/Health\",\"Beneficial Owner\":\"Beneficial Owner\",\"BiMonthly\":\"BiMonthly\",\"Billing documents\":\"Billing documents\",\"Birth date\":\"Birth date\",\"Birth info\":\"Birth info\",\"Birth name (if different)\":\"Birth name (if different)\",\"Birthdate\":\"Birthdate\",\"Books/Audio\":\"Books/Audio\",\"Both\":\"Both\",\"Business Details\":\"Business Details\",\"Business Owners\":\"Business Owners\",\"Business details\":\"Business details\",\"Business incorporation documents (if appropriate)\":\"Business incorporation documents (if appropriate)\",\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\":\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\",\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\":\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\",\"CEO\":\"CEO\",\"Can't be later than the current month\":\"Can't be later than the current month\",\"Can't be smaller than the original compliance start date\":\"Can't be smaller than the original compliance start date\",\"Cancel\":\"Cancel\",\"Cancel draft\":\"Cancel draft\",\"Cancelled\":\"Cancelled\",\"Cancelled at\":\"Cancelled at\",\"Change Company Detail\":\"Change Company Detail\",\"Change Language\":\"Change Language\",\"Change company detail\":\"Change company detail\",\"Change email\":\"Change email\",\"Change email address\":\"Change email address\",\"Change item\":\"Change item\",\"Check out the different categories to understand VAT compliance better.\":\"Check out the different categories to understand VAT compliance better.\",\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\":\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\",\"Citizenship\":\"Citizenship\",\"City\":\"City\",\"City of birth\":\"City of birth\",\"Client Account\":\"Client Account\",\"Client Accounts\":\"Client Accounts\",\"Client id\":\"Client id\",\"Client name\":\"Client name\",\"Client source\":\"Client source\",\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\":\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\",\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\":\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\",\"Collectibles/Art/Stationary\":\"Collectibles/Art/Stationary\",\"Commodity code\":\"Commodity code\",\"Communicating with Tax Authorities\":\"Communicating with Tax Authorities\",\"Communicating with tax authorities\":\"Communicating with tax authorities\",\"Companies\":\"Companies\",\"Company\":\"Company\",\"Company Name\":\"Company Name\",\"Company name\":\"Company name\",\"Company not found\":\"Company not found\",\"Completed\":\"Completed\",\"Compliance status\":\"Subscription status\",\"Confirm\":\"Confirm\",\"Confirm Order\":\"Confirm Order\",\"Confirm Payment\":\"Confirm Payment\",\"Confirm and Finalize\":\"Confirm and Finalize\",\"Confirm and Generate Return\":\"Finalize\",\"Confirm new password\":\"Confirm new password\",\"Confirm order and pay with\":\"Confirm order and pay with\",\"Confirm rejection\":\"Confirm rejection\",\"Confirm without Master Data setup\":\"Confirm without Master Data setup\",\"Confirm without adding SAF-T data\":\"Confirm without adding SAF-T data\",\"Confirmation\":\"Confirmation\",\"Confirmed\":\"Confirmed\",\"Contact\":\"Contact\",\"Contact first name\":\"Contact first name\",\"Contact last name\":\"Contact last name\",\"ContactAccountManager\":\"Please contact us {{- link_first_part}}here{{- link_second_part}} to discuss how to sign up with us.\",\"Contacting tax authorities\":\"Contacting tax authorities\",\"Contract Id\":\"Contract Id\",\"Contract id\":\"Contract id\",\"Core Service\":\"Core Service\",\"Correspondence Address\":\"Correspondence Address\",\"Countries\":\"Countries\",\"Country\":\"Country\",\"Country of birth\":\"Country of birth\",\"Country of incorporation\":\"Country of incorporation\",\"Country of registration\":\"Country of registration\",\"Create Account\":\"Create Account\",\"Create Order\":\"Create Order\",\"Create your account\":\"Create your account\",\"Created Date\":\"Created Date\",\"Created date\":\"Created date\",\"Currency\":\"Currency\",\"Currency not found ({{id}})\":\"Currency not found ({{id}})\",\"Currently no IOSS or VAT service is available.\":\"Currently no IOSS or VAT service is available.\",\"Data Upload\":\"Data Upload\",\"Data Upload Finalized\":\"Data Upload Finalized\",\"DataUploaded\":\"Data uploaded\",\"DataVAT generated\":\"DataVAT generated\",\"Date must be after {{date}}\":\"Date must be after {{date}}\",\"Date must be before 2100-01-01\":\"Date must be before 01-01-2100\",\"Date must be before {{date}}\":\"Date must be before {{date}}\",\"Date must be bigger or equal than compliance period start date\":\"Date must be bigger or equal than compliance period start date\",\"Date must be bigger or equal than restart period start date\":\"Date must be bigger or equal than restart period start date\",\"Date must be same or after {{date}}\":\"Date must be same or after {{date}}\",\"Date must be same or before {{date}}\":\"Date must be same or before {{date}}\",\"Date must be smaller or equal than compliance period end date\":\"Date must be smaller or equal than compliance period end date\",\"Date of incorporation\":\"Date of incorporation\",\"Date of registration at the Commercial Register\":\"Date of registration at the Commercial Register\",\"Declined\":\"Declined\",\"Deduct all Refund\":\"Deduct all Refund\",\"Default\":\"Default\",\"Default vat rate types successfully saved\":\"Default vat rate types successfully saved\",\"Delete\":\"Delete\",\"Delete all services\":\"Delete all services\",\"Deregistered\":\"Deregistered\",\"Deregistration\":\"Deregistration\",\"Deregistration date\":\"Deregistration date\",\"Deregistration in progress\":\"Deregistration in progress\",\"Desucla Errors\":\"Desucla Errors\",\"Details\":\"Details\",\"Did you perform sales of goods and/or supplies of services before registering in Italy?\":\"Did you perform sales of goods and/or supplies of services before registering in Italy?\",\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\":\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\",\"Director\":\"Director\",\"Disabled\":\"Disabled\",\"Distance sale threshold check\":\"Distance sale threshold check\",\"Distance sales above the threshold\":\"Distance sales above the threshold\",\"Do not agree\":\"Do not agree\",\"Do not choose this if you already have one EORI number in the EU.\":\"Do not choose this if you already have one EORI number in the EU.\",\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\":\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\",\"Do you have a Polish bank account?\":\"Do you have a Polish bank account?\",\"Do you have a Spanish bank account?\":\"Do you have a Spanish bank account?\",\"Do you have a VAT Number?\":\"Do you have a VAT Number?\",\"Do you have an office and employee(s) in Italy?\":\"Do you have an office and employee(s) in Italy?\",\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\":\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\",\"Do you have any fixed establishment in the EU?\":\"Do you have any fixed establishment in the EU?\",\"Do you have current or previous IOSS number?\":\"Do you have a current or a previous IOSS number?\",\"Document uploaded successfully\":\"Document uploaded successfully\",\"Documents\":\"Documents\",\"Documents signed\":\"Documents signed\",\"Documents uploaded successfully\":\"Documents uploaded successfully\",\"Does the authorized signatory own more than 25% of the shares?\":\"Does the authorized signatory own more than 25% of the shares?\",\"Don't have account yet?\":\"No account yet?\",\"Download\":\"Download\",\"Download Contract\":\"Download Contract\",\"Download Currencies\":\"Download Currencies\",\"Download IOSS Template\":\"Download IOSS Template\",\"Download PDF\":\"Download PDF\",\"Download SAF-T Template\":\"Download SAF-T Template\",\"Download SKUs\":\"Download SKU codes\",\"Download VAT/OSS Template\":\"Download VAT/OSS Template\",\"Download proof\":\"Download proof\",\"Draft\":\"Draft\",\"Draft successfully approved\":\"Draft successfully approved\",\"Draft successfully cancelled\":\"Draft successfully cancelled\",\"Draft successfully saved\":\"Draft successfully saved\",\"Driving License\":\"Driving License\",\"Due\":\"Due\",\"E-filing\":\"E-filing\",\"E.g. Amazon, eBay, your own webshop, etc.\":\"E.g. Amazon, eBay, your own webshop, etc.\",\"EORI\":\"EORI\",\"EORI number application in the EU\":\"EORI number application in the EU\",\"EORI number application in the UK\":\"EORI number application in the UK\",\"ESL\":\"ESL\",\"ESL Frequency\":\"ESL Frequency\",\"EU VAT Number\":\"VAT Number\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services.\":\"EU based businesses must provide a valid VAT number in the country of establishment, otherwise we will charge VAT for our services. Businesses outside of the EU should provide a local tax number in the country of establishment.\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\":\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\",\"EU country where your goods are first imported to before selling to Germany\":\"EU country where your goods are first imported to before selling to Germany\",\"Edit\":\"Edit\",\"Edit SKU\":\"Edit SKU codes\",\"Edit companies\":\"Edit companies\",\"Effective date of registration\":\"Effective date of registration\",\"Electronics/Computer/Office\":\"Electronics/Computer/Office\",\"Email\":\"Email\",\"Email already exists\":\"Email already exists\",\"Email change request sent to your new email address. Please check your new inbox\":\"Email change request sent to the new email address. Please check the inbox\",\"Enabled\":\"Enabled\",\"End Date\":\"End Date\",\"Error\":\"Error\",\"Error occured\":\"Error occurred\",\"ErrorAtTA\":\"Error at TA\",\"ErrorReturnGen\":\"Error at return gen\",\"Est. Country type\":\"Est. Country type\",\"Estimated annual taxable supply (in EUR)\":\"Estimated annual taxable supply (in EUR)\",\"Estimated payable VAT in the first year in Germany (in EUR)\":\"Estimated payable VAT in the first year in Germany (in EUR)\",\"Estimated total profit in the first year in Germany (in EUR)\":\"Estimated total profit in the first year in Germany (in EUR)\",\"Exempt\":\"Exempt\",\"Existing VAT numbers\":\"Existing VAT numbers\",\"Exists\":\"Exists\",\"Expired\":\"Expired\",\"Expires\":\"Expires\",\"Expiry date of the identification document\":\"Expiry date of the identification document\",\"Extend by month\":\"Extend by month\",\"Extent of ownership interest\":\"Ownership percentage\",\"FAQ\":\"FAQ\",\"Failed\":\"Failed\",\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\":\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\",\"Fashion/Accessories/Jewellery\":\"Fashion/Accessories/Jewellery\",\"Father's full name\":\"Father's full name\",\"Feedback saved successfully\":\"Feedback saved successfully\",\"Filing agent\":\"Filing agent\",\"Filing extension\":\"Filing extension\",\"Fill out the Questionnaire\":\"Fill out the Questionnaire\",\"Final position\":\"Final position\",\"Finalize Upload\":\"Finalize Upload\",\"Finalized\":\"Finalized\",\"First Name of Proprietor\":\"Sole trader's first name\",\"First name\":\"First name\",\"Fiscal representation\":\"Fiscal representation\",\"Fixed Establishments\":\"Fixed Establishments\",\"Fixed establishments\":\"Fixed establishments\",\"Food/Grocery\":\"Food/Grocery\",\"For information only\":\"For information only\",\"Forgot your password?\":\"Forgot your password?\",\"FourMonthly\":\"FourMonthly\",\"From\":\"From\",\"From which country do you purchase the goods that you will sell in France?\":\"From which country do you purchase the goods that you will sell in France?\",\"Full name\":\"Full name\",\"GTU1\":\"Supply of alcoholic beverages\",\"GTU10\":\"Supply of buildings, structures and land\",\"GTU11\":\"Services related to the greenhouse gas emission allowance\",\"GTU12\":\"Intangible services –only in the area of consultancy, accounting, law, management, education or marketing, services related to head offices, advertising, market research and public opinion polling, services in the area of scientific research and development\",\"GTU13\":\"Transport services and warehouse management services\",\"GTU2\":\"supply of fuel oil referred to in regulations of excise duty\",\"GTU3\":\"supply of lubricating oils, plastic lubricants etc.\",\"GTU4\":\"supply of tobacco products, dried tobacco, liquid for electric cigarettes and innovative products within the meaning of excise duty regulations\",\"GTU5\":\"supply/sell of waste, waste products\",\"GTU6\":\"supply of electronic devices and their part as well as materials for such devices\",\"GTU7\":\"supply of vehicles and/or motor vehicles parts\",\"GTU8\":\"supply of noble metals and common metals\",\"GTU9\":\"Supply of medicines and medical devices -medicinal products and special purpose foods\",\"General VAT Advice\":\"General VAT Advice\",\"General VAT advice\":\"General VAT advice\",\"Generate\":\"Generate\",\"Generated\":\"Generated\",\"Getting started with KPMG\":\"Getting started with KPMG\",\"Global Services\":\"Global Services\",\"Go to Master Data/Amazon SKUs\":\"Go to Master Data/Amazon SKU codes\",\"Guides and Tutorials\":\"Guides and Tutorials\",\"Has decisive influence in the business\":\"Has decisive influence in the business\",\"Home country compliance\":\"Home country compliance\",\"Home/Garden/Tools\":\"Home/Garden/Tools\",\"I Understand\":\"I Understand\",\"I accept the Contract\":\"I accept the Contract\",\"I ask for and I explicitly consent to the following\":\"I ask for and I explicitly consent to the following\",\"I plan to move to a new service provider\":\"I plan to move to a new service provider\",\"I plan to stop trading and de-register for VAT\":\"I plan to stop trading and de-register for VAT\",\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\":\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Privacy Statement, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\",\"IBAN\":\"IBAN\",\"IBAN of the Polish Bank\":\"IBAN of the Polish Bank\",\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\":\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\",\"ID\":\"ID\",\"IOSS\":\"IOSS\",\"IOSS Compliance & Registration\":\"IOSS Compliance & Registration\",\"IOSS Compliance Pay As You Ship\":\"IOSS Compliance Pay As You Ship\",\"IOSS Compliance Tier 1\":\"IOSS Compliance Tier 1\",\"IOSS Compliance Tier 2\":\"IOSS Compliance Tier 2\",\"IOSS Compliance Tier 3\":\"IOSS Compliance Tier 3\",\"IOSS Deregistration\":\"IOSS Deregistration\",\"IOSS Number\":\"IOSS Number\",\"IOSS Registration\":\"IOSS Registration\",\"IOSS Registration Related Questions\":\"IOSS Registration Related Questions\",\"IOSS Registration and Compliance\":\"IOSS Registration and Compliance\",\"IOSS data template\":\"IOSS data template\",\"IOSS deregistration\":\"IOSS deregistration\",\"IOSS registration\":\"IOSS registration\",\"IOSS take over\":\"IOSS takeover\",\"Id\":\"Id\",\"Id is taken\":\"Id is taken\",\"Identification\":\"Identification\",\"Identification document\":\"Identification document\",\"Identification document number\":\"Identification document number\",\"If the extent of ownership can be quantified.\":\"If the ownership can be quantified.\",\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\":\"If you are unsure how to answer a question, please e-mail us at {{- contactEmail}} email address.\",\"If you will use Amazon FBA, add the address of the German FBA warehouse.\":\"If you will use Amazon FBA, add the address of the German FBA warehouse.\",\"If your return does not contain any payable VAT, there is no action required from your end.\":\"If your return does not contain any payable VAT, there is no action required from your end.\",\"Ignore and upload\":\"Ignore\",\"In Progress\":\"In Progress\",\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\":\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\",\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\":\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\",\"In which country do you keep the goods that you will later sell in France?\":\"In which country do you keep the goods that you will later sell in France?\",\"In which country was your FedEx or TNT account created?\":\"In which country was your FedEx or TNT account created?\",\"Incorrect transaction period. Transaction period cannot be after the reporting period.\":\"Incorrect transaction period. Transaction period cannot be after the reporting period.\",\"Individual\":\"Sole Trader\",\"Insufficient credit\":\"Insufficient credit\",\"Intrastat\":\"Intrastat\",\"Intrastat Frequency\":\"Intrastat Frequency\",\"Intrastat In\":\"Intrastat for arrivals\",\"Intrastat Out\":\"Intrastat for dispatches\",\"Intrastat Report\":\"Intrastat Report\",\"Intrastat Report In\":\"Intrastat Report for arrivals\",\"Intrastat Report Out\":\"Intrastat Report for dispatches\",\"Intrastat Reporting\":\"Intrastat Reporting\",\"Intrastat in\":\"Intrastat for arrivals\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\",\"Intrastat out\":\"Intrastat for dispatches\",\"Intrastat threshold check\":\"Intrastat threshold check\",\"Invalid\":\"Invalid\",\"Invalid ({{-fieldName}})\":\"Invalid ({{-fieldName}})\",\"Invalid Data\":\"Invalid Data\",\"Invalid VAT number, VAT will be charged for our services.\":\"Invalid VAT number, VAT will be charged for our services.\",\"Invalid data\":\"Invalid data\",\"Invalid email format\":\"Invalid email format\",\"Invalid state, please reload order\":\"Invalid state, please reload order\",\"Invalid validation reports\":\"Invalid validation reports\",\"Invite Client\":\"Invite User\",\"Ioss Compliance\":\"Ioss Compliance\",\"Is the authorized signatory the only director entitled to represent the company?\":\"Is the authorized signatory the only director entitled to represent the company?\",\"Is the beneficial owner a family member of the politically exposed person?\":\"Is the beneficial owner a family member of the politically exposed person?\",\"Is the beneficial owner a politically exposed person?\":\"Is the beneficial owner a politically exposed person?\",\"Is the beneficial owner known to be a close associate of the politically exposed person?\":\"Is the beneficial owner known to be a close associate of the politically exposed person?\",\"Is the correspondence address the same as the registered business address?\":\"Is the correspondence address the same as the registered business address?\",\"Is the home address same as the registered business address?\":\"Is the home address same as the registered business address?\",\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\":\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\",\"Is your business registered for OSS?\":\"Is your business registered for OSS?\",\"It does not apply for the year of registration, only for previous years\":\"It does not apply for the year of registration, only for previous years\",\"It looks like there is no account with this email address.\":\"It looks like there is no account with this email address.\",\"Italian fiscal code\":\"Italian fiscal code\",\"Item identifier\":\"SAF-T item identifier\",\"KG, GmbH & Co.Kg\":\"KG, GmbH & Co.Kg\",\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\":\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\",\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\":\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\",\"KPMG User Guides\":\"KPMG User Guides\",\"Kitchen/Dining\":\"Kitchen/Dining\",\"LLP, GbR\":\"LLP, GbR\",\"Last Name of Proprietor\":\"Sole trader's last name\",\"Last name\":\"Last name\",\"Legal\":\"Legal\",\"Legal Entity\":\"Legal Entity\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\",\"Legal status\":\"Legal status\",\"Loading\":\"Loading\",\"Local Tax Number Saved\":\"Local Tax Number Saved\",\"Local VAT Number\":\"Local VAT Number\",\"Local tax number\":\"Local tax number\",\"Logout\":\"Logout\",\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\":\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\",\"MWSAuthToken\":\"MWSAuthToken\",\"Main Data\":\"Main Data\",\"Manage Services\":\"Manage Services\",\"Manage services\":\"Manage services\",\"Managing User Accounts\":\"Managing User Accounts\",\"Manual upload\":\"Manual upload\",\"Master Data\":\"Master Data\",\"Master Data Setup\":\"Master Data Setup\",\"Master data\":\"Master data\",\"Master data is complete. Please submit data.\":\"Master data is complete. Please submit data.\",\"Max length: {{maxLength}}\":\"Max length: {{maxLength}}\",\"Maximum {{max}} length\":\"Maximum {{max}} length\",\"Merchant Id\":\"Merchant Id\",\"Middle\":\"Middle\",\"Middle name (if any)\":\"Middle name (if any)\",\"Minimum {{min}} length\":\"Minimum {{min}} length\",\"Mode of Refund\":\"Mode of Refund\",\"Monthly\":\"Monthly\",\"Monthly compliance end date must be bigger than compliance end date\":\"Monthly subscription end date must be later than subscription end date\",\"Monthly country compliance\":\"Monthly country compliance\",\"Mother's birth name\":\"Mother's birth name\",\"Mr\":\"Mr\",\"Ms\":\"Ms\",\"Music/Movies/Games\":\"Music/Movies/Games\",\"Must be a valid email address\":\"Must be a valid email address\",\"Must be bigger than Start Date\":\"Date must be later than start date.\",\"Must be lower than the first day of the compliance start month\":\"Must be lower than the first day of the compliance start month\",\"Must be smaller or equal with the current or would-be compliance end date\":\"Must be smaller or equal with the current or would-be compliance end date\",\"Must contain the name of the business, registered address of business, name of authorized signatory.\":\"Must contain the name of the business, registered address of business, name of authorized signatory.\",\"N/A\":\"N/A\",\"Name\":\"Name\",\"Name at birth\":\"Name at birth\",\"Name of Authority keeping the Commercial Register\":\"Name of Authority keeping the Commercial Register\",\"Name of previous fiscal representative in France\":\"Name of previous fiscal representative in France\",\"Name of the Polish Bank\":\"Name of the Polish Bank\",\"Name of the commercial register in the country of establishment\":\"Name of the commercial register in the country of establishment\",\"Name of the regulated stock market\":\"Name of the regulated stock market\",\"Name of the respective Tax Authority in country of establishment\":\"Name of the respective Tax Authority in country of establishment\",\"Name the Online Marketplaces where you sell\":\"Name the Online Marketplaces where you sell\",\"Nationality\":\"Nationality\",\"Natural Person\":\"Natural Person\",\"New\":\"New\",\"New company\":\"New company\",\"New email address\":\"New email address\",\"New label\":\"New label\",\"New password\":\"New password\",\"New sign up\":\"New sign up\",\"Next\":\"Next\",\"No\":\"No\",\"No banking information is required to appoint KPMG as your tax agent in the selected countries\":\"No banking information is required to appoint KPMG as your tax agent in the selected countries\",\"No business owner has been added yet.\":\"No business owner has been added yet.\",\"No document generated\":\"No document generated\",\"No existing VAT number is added yet\":\"Add your VAT numbers in the EU. No existing EU VAT number has been added yet.\",\"No payment needed\":\"No payment needed\",\"No result found\":\"No result found\",\"No turnover has been added yet.\":\"No turnover has been added yet.\",\"None\":\"None\",\"Not Applicable\":\"Not Applicable\",\"Not Available\":\"Not Available\",\"Not authenticated\":\"Not authenticated\",\"Not exists\":\"Not exists\",\"Not found\":\"Not found\",\"Not to be submitted proof\":\"Not to be submitted proof\",\"NotToBeSubmitted\":\"Not To Be Submitted\",\"Notifications\":\"Notifications\",\"Number required\":\"Number required\",\"OHG\":\"OHG\",\"OSS\":\"OSS\",\"OSS Information\":\"OSS Information\",\"OSS compliance\":\"OSS compliance\",\"OSS deregistration\":\"OSS deregistration\",\"OSS registration\":\"OSS registration\",\"OSS take over\":\"OSS takeover\",\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\":\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\",\"Off\":\"Off\",\"Ok\":\"Ok\",\"On\":\"On\",\"On your own\":\"On your own\",\"Only Latin characters are allowed\":\"Only Latin characters are allowed\",\"Order Details\":\"Order Details\",\"Order History\":\"Order History\",\"Order Summary\":\"Order Summary\",\"Order does not confirmed yet.\":\"Order does not confirmed yet.\",\"Order not found\":\"Order not found\",\"Order successfully canceled\":\"Order successfully cancelled\",\"Orders & Payments\":\"Orders & Payments\",\"Organizational Unit Without Legal Form\":\"Organizational Unit Without Legal Form\",\"Other\":\"Other\",\"Other VAT Related Questions\":\"Other VAT Related Questions\",\"Owner\":\"Owner\",\"Owner of the Bank account\":\"Owner of the Bank account\",\"Owner of the Polish Bank Account\":\"Owner of the Polish Bank Account\",\"Owns at least 25% of the business or the voting rights\":\"Owns at least 25% of the business or the voting rights\",\"Paid by client\":\"Paid by client\",\"Paid to TA\":\"Paid to TA\",\"Partnership\":\"Partnership\",\"Passport\":\"Passport\",\"Passport/ID of the legal representative of the business\":\"Passport/ID of the legal representative of the business\",\"Password\":\"Password\",\"Password Recovery\":\"Password Recovery\",\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\":\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\",\"Password reset email sent. Please check your inbox.\":\"Password reset email sent. Please check your inbox.\",\"Password successfully reset\":\"Password successfully reset\",\"Pay\":\"Pay\",\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\":\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\",\"Pay order\":\"Pay order\",\"Pay with\":\"Pay with\",\"Payment Status\":\"Payment Status\",\"Payment due\":\"Payment due\",\"Payment proof\":\"Payment proof\",\"Payment proof successfully uploaded\":\"Payment proof successfully uploaded\",\"Payment reference\":\"Payment reference\",\"Payment status\":\"Payment status\",\"Payment status changed successfully\":\"Payment status changed successfully\",\"Payment successful! We will redirect you in a few seconds.\":\"Payment successful! We will redirect you in a few seconds.\",\"Payments\":\"Payments\",\"Pending\":\"Pending\",\"Period\":\"Period\",\"Person considered as beneficial owner\":\"Person considered as beneficial owner\",\"Personal Identity card\":\"Personal Identity card\",\"Phone\":\"Phone\",\"Phone Number\":\"Phone Number\",\"Please add at least one business owner.\":\"Please add at least one business owner.\",\"Please add at least one fixed establishment.\":\"Please add at least one fixed establishment.\",\"Please add the Polish bank details\":\"Please add the Polish bank details\",\"Please add the address where your accounting records are kept\":\"Please add the address where your accounting records are kept\",\"Please add the address where your accounting records are kept.\":\"Please add the address where your accounting records are kept.\",\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\":\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\",\"Please add the e-mail address where you received the invitation e-mail\":\"Please add the e-mail address where you received the invitation e-mail\",\"Please add the home address\":\"Please add the home address\",\"Please attach a file that will help us understand why you think this return is incorrect.\":\"Please attach a file that will help us understand why you think this return is incorrect.\",\"Please confirm your email address.\":\"Please confirm your email address.\",\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\":\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\",\"Please contact your account manager via email to manage your services.\":\"Please contact your account manager via email to manage your services.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\":\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\":\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\",\"Please enter a valid year.\":\"Please enter a valid year.\",\"Please enter only the tax number without country prefix\":\"Please enter only the tax number without country prefix\",\"Please enter text\":\"Please enter text\",\"Please give a detailed reason for the rejection.\":\"Please give a detailed reason for the rejection.\",\"Please indicate the net value of the distance sales in Italy for each year.\":\"Please indicate the net value of the distance sales in Italy for each year.\",\"Please note that any changes you made will be lost if you switch to another language.\":\"Please note that any changes you made will be lost if you switch to another language.\",\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\":\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\",\"Please provide a valid e-mail address\":\"Please provide a valid e-mail address\",\"Please provide a valid e-mail address.\":\"Please provide a valid e-mail address.\",\"Please select at least one company\":\"Please select at least one company\",\"Please select at least one reason\":\"Please select at least one reason\",\"Please select the type of products you sell\":\"Please select the type of products you sell\",\"Please upload VAT ID certificate in Italy\":\"Please upload VAT ID certificate in Italy\",\"Please upload a bank certificate confirming your banking detals\":\"Please upload a bank certificate confirming your banking details\",\"Please upload an official certificate confirming your business activities\":\"Please upload an official certificate confirming your business activities\",\"Please upload the VAT ID certificate in the country of establishment\":\"Please upload the VAT ID certificate in the country of establishment\",\"Please upload the photocopy of the identification document\":\"Please upload the photocopy of the identification document\",\"Please upload your Articles of Association\":\"Please upload your Articles of Association\",\"Please use only numbers.\":\"Please use only numbers.\",\"Please use the link from the invitation email!\":\"Please use the link from the invitation email!\",\"PoA revoked\":\"PoA revoked\",\"Polish Bank Information\":\"Polish Bank Information\",\"Polish Banking Information\":\"Polish Banking Information\",\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\":\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\",\"Position in free form\":\"Position in free form\",\"Position in the company\":\"Position in the company\",\"Postal/Zip code\":\"Postal/Zip code\",\"Preferred language\":\"Preferred language\",\"Previous\":\"Previous\",\"Price\":\"Price\",\"Price must be lower\":\"Price must be lower\",\"Pricing\":\"Pricing\",\"Primary Vat Frequency\":\"Primary Vat Frequency\",\"PrimaryVAT\":\"Primary VAT\",\"Privacy\":\"Privacy\",\"Processing\":\"Processing\",\"Product Id\":\"Product Id\",\"Province\":\"Province\",\"Quarterly\":\"Quarterly\",\"QuarterlyShifted1\":\"Quarterly Shifted 1\",\"QuarterlyShifted2\":\"Quarterly Shifted 2\",\"Rate type\":\"Rate type\",\"Read our guide how to automate transactions with Amazon:\":\"Read our guide as to how to automate data provision with Amazon:\",\"Reason of Rejection\":\"Reason of Rejection\",\"Reconfirm Upload\":\"Reconfirm Upload\",\"Reduced\":\"Reduced\",\"RefusedByClient\":\"Refused by Client\",\"Regenerate\":\"Regenerate\",\"Register number of your business at the Commercial Register\":\"Register number of your business at the Commercial Register\",\"Registration number\":\"Registration number\",\"Registration number of your business\":\"Registration number of your business\",\"Reject\":\"Reject\",\"Rejected\":\"Rejected\",\"Remove\":\"Remove\",\"Renew Country\":\"Renew Country\",\"Renew for one year\":\"Renew for one year\",\"Reopen\":\"Reopen\",\"Required\":\"Required\",\"Required by post\":\"Required by post\",\"Required electronically only\":\"Required electronically only\",\"Required if automated\":\"Required if automated\",\"Required length: {{length}}\":\"Required length: {{length}}\",\"Resend\":\"Resend\",\"Reset Password\":\"Reset Password\",\"Reset filters\":\"Reset filters\",\"Restart date must be bigger than or equal to compliance end date\":\"Subscription restart date must be later than or equal to subscription end date\",\"Retrospective\":\"Retrospective\",\"Retrospective Return\":\"Retrospective Return\",\"Retrospective return\":\"Retrospective return\",\"Return Library\":\"Return Library\",\"Return and Refund\":\"Return and Refund\",\"Return and Refund plus MFN\":\"Return and Refund plus MFN\",\"Return cannot be submitted after submission due date\":\"Return cannot be submitted after submission due date\",\"Return documents\":\"Return documents\",\"Return gen due\":\"Return gen due\",\"Return to approved\":\"Return to approve\",\"Return type\":\"Return type\",\"ReturnGenerated\":\"Return generated\",\"Revision\":\"Revision\",\"Revoking PoA\":\"Revoking PoA\",\"SAF-T\":\"SAF-T\",\"SAF-T Compliance\":\"SAF-T Compliance\",\"SAF-T reporting\":\"SAF-T reporting\",\"SAS\":\"SAS\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\":\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \":\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \",\"SWIFT/BIC\":\"SWIFT/BIC\",\"SWIFT/BIC of the Polish Bank\":\"SWIFT/BIC of the Polish Bank\",\"Save\":\"Save\",\"Saved successfully\":\"Saved successfully\",\"Saving\":\"Saving\",\"Scope coverage\":\"Scope coverage\",\"Secondary Vat Frequency\":\"Secondary Vat Frequency\",\"SecondaryVAT\":\"Secondary VAT\",\"See FAQ for definition of beneficial owner\":\"See FAQ for definition of beneficial owner\",\"See FAQ for definition of beneficial owner.\":\"See FAQ for definition of beneficial owner.\",\"Select New Tier\":\"Select New Tier\",\"Select additional services\":\"Select additional services\",\"Select countries, where you would like to extend KPMG engagement by 1 year\":\"Select the countries for which you would like to extend the cooperation with KPMG by 1 more year\",\"Select countries, where you would like to start KPMG engagement\":\"Select the countries for which you would like to start cooperating with KPMG\",\"Select country\":\"Select country\",\"Select the country of OSS registration\":\"Select the country of OSS registration\",\"Select the country where the warehouse is located where you keep your goods before selling in/to France\":\"Select the country where the warehouse is located where you keep your goods before selling in/to France\",\"Select the start date from when you want KPMG to submit your VAT returns.\":\"Select the start date from when you want KPMG to submit your VAT returns.\",\"Select the type of legal entity\":\"Select the type of legal entity\",\"Select the type of your business entity\":\"Select the type of your business entity\",\"Selected companies\":\"Selected companies\",\"Self Revision / Retrospective Returns\":\"Self Revision / Retrospective Returns\",\"Self revision\":\"Self revision\",\"Seller Accounts\":\"Seller Accounts\",\"Seller account\":\"Seller account\",\"Send email\":\"Send email\",\"Send invitation\":\"Send invitation\",\"Sent To Return Generation\":\"Sent To Return Generation\",\"Sent to TA\":\"Sent to Tax Authority\",\"SentToTA\":\"Sent to TA\",\"Service Renewal\":\"Service Renewal\",\"Service Selection\":\"Service Selection\",\"Service detail\":\"Service detail\",\"Service expiration date\":\"Service expiration date\",\"Service expiration:\":\"Service expiration:\",\"Service quality\":\"Service quality\",\"Service start date\":\"Service start date\",\"Services\":\"Services\",\"Set Password\":\"Set Password\",\"Share percentage\":\"Share percentage\",\"Shareholder type\":\"Business owner type\",\"Show All\":\"Show All\",\"Show inactive services\":\"Show inactive services\",\"Show only missing data\":\"Show only missing data\",\"Showing {{firstItem}}-{{lastItem}}\":\"Showing {{firstItem}}-{{lastItem}}\",\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\":\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\",\"Sign in\":\"Sign in\",\"Sign in to your account\":\"Sign in to your account\",\"Signed\":\"Signed\",\"Signed documents need to be uploaded\":\"Signed documents need to be uploaded\",\"SixMonthly\":\"SixMonthly\",\"Sku\":\"SKU\",\"Sku already exists ({{id}})\":\"SKU code already exists ({{id}})\",\"Sku not found ({{id}})\":\"SKU code not found ({{id}})\",\"SkuId\":\"SKU\",\"Sole trader's first name\":\"Sole trader's first name\",\"Sole trader's last name\":\"Sole trader's last name\",\"Something went wrong\":\"Something went wrong\",\"Source\":\"Source\",\"Spanish VAT Payment Service\":\"Spanish VAT Payment Service\",\"Spanish bank account\":\"Spanish bank account\",\"Specialist VAT Advice\":\"Specialist VAT Advice\",\"Specialist VAT advice\":\"Specialist VAT advice\",\"Sporting goods/Outdoors\":\"Sporting goods/Outdoors\",\"Standard\":\"Standard\",\"Standard2\":\"Standard2\",\"Start Date\":\"Start Date\",\"Start Questionnaire\":\"Start Questionnaire\",\"Start date\":\"Start date\",\"Start date of representation by KPMG\":\"Start date of representation by KPMG\",\"Start date of storing goods in Germany\":\"Start date of storing goods in Germany\",\"Started\":\"Started\",\"Starting date of intrastat in\":\"Starting date of intrastat for arrivals\",\"Starting date of intrastat out\":\"Starting date of intrastat for dispatches\",\"Statement\":\"Statement\",\"Status\":\"Status\",\"Status changed successfully\":\"Status changed successfully\",\"Status updated to:\":\"Status updated to:\",\"Status updated to: \":\"Status updated to: \",\"Street\":\"Street\",\"Street name\":\"Street name\",\"Street number\":\"Street number\",\"Sub-total\":\"Sub-total\",\"Submission due\":\"Submission due\",\"Submission proof\":\"Submission proof\",\"Submit\":\"Submit\",\"Submitted\":\"Submitted\",\"SubmittedByClient\":\"Submitted by Client\",\"Subscribe\":\"Subscribe\",\"Subtotal\":\"Subtotal\",\"Successfully done\":\"Successfully done\",\"Summary\":\"Summary\",\"SuperReduced\":\"SuperReduced\",\"SuperReduced2\":\"SuperReduced2\",\"Tax\":\"Tax\",\"Tax Identifier\":\"Tax Identifier\",\"Tax certificate\":\"Tax certificate\",\"Thank you for signing up for KPMG registration and compliance services.\":\"Thank you for signing up for KPMG registration and compliance services.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\":\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \":\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \",\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\":\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\",\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\":\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\",\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\":\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\",\"The below services are about to expire, please go to Services menu and extend your subscription. If you don’t want to extend these services, please leave a feedback.\":\"The below services are about to expire, please go to Services option and extend your subscription. If you don’t want to extend these services, please leave a feedback.\",\"The business has a natural person as beneficial owner\":\"The business has a natural person as beneficial owner\",\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\":\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\",\"The client identification will have to be repeated if no agreement is given.\":\"The client identification will have to be repeated if no agreement is given.\",\"The e-mail address and password do not match.\":\"The e-mail address and password do not match.\",\"The executive officer of the business must be considered as the beneficial owner\":\"The executive officer of the business must be considered as the beneficial owner\",\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner.\":\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner at least with 20% share percentage.\",\"The last user of the company cannot be removed\":\"The last user of the company cannot be removed\",\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\":\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\",\"The materials available here cover multiple topics in a detailed way.\":\"The materials available here cover multiple topics in a detailed way.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\":\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \":\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\":\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\":\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\",\"The two passwords must be the same.\":\"The two passwords must be the same.\",\"The value must match the required pattern\":\"The value must match the required pattern\",\"The value must not match the required pattern\":\"The value must not match the required pattern\",\"There is no action required on your side.\":\"There is no action required on your side.\",\"There is no file uploaded for the current revision. Please reupload the file.\":\"There is no file uploaded for this session. Please upload a file.\",\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\":\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\",\"This is an individual number in the commercial register document.\":\"This is an individual number in the commercial register document.\",\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\":\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\",\"Ticker symbol of the listed entity\":\"Ticker symbol of the listed entity\",\"Tier 1: Up to 500 packages in a 12 month period\":\"Tier 1: Up to 500 packages in a 12 month period\",\"Tier 2: Up to 2500 packages in a 12 month period\":\"Tier 2: Up to 2500 packages in a 12 month period\",\"Tier 3: Unlimited packages in a 12 month period\":\"Tier 3: Unlimited packages in a 12 month period\",\"Title\":\"Title\",\"To\":\"To\",\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\":\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, and issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers anytime before submitting them.\",\"Total\":\"Total\",\"Total fee\":\"Total fee\",\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\":\"Total fee includes the registration fee and the monthly compliance fees up to the shipment volume of the selected package.\",\"Toys/Kids/Baby\":\"Toys/Kids/Baby\",\"Trading name\":\"Trading name\",\"Trading name (If different from company name)\":\"Trading name (If different from company name)\",\"Transactional data\":\"Transactional data\",\"Transactions\":\"Transactions\",\"Translation\":\"Translation\",\"Translation in progress\":\"Translation in progress\",\"Type\":\"Type\",\"Type at least 2 characters\":\"Type at least 2 characters\",\"Type at least two characters for either email or company\":\"Type at least two characters for the email address or company name\",\"Type of identification document\":\"Type of identification document\",\"Type of ownership interest\":\"Type of ownership interest\",\"Under review\":\"Under review\",\"Unknown\":\"Unknown\",\"Unknown error occured\":\"Unknown error occurred\",\"Unsubscribe\":\"Unsubscribe\",\"Update\":\"Upload\",\"Upload\":\"Upload\",\"Upload Amazon Transactions\":\"Upload Amazon Transactions\",\"Upload Failed\":\"Upload Failed\",\"Upload IOSS Transactions\":\"Upload IOSS Transactions\",\"Upload In submission proof\":\"Upload In submission proof\",\"Upload Out submission proof\":\"Upload Out submission proof\",\"Upload SAF-T data\":\"Upload SAF-T data\",\"Upload SKUs\":\"Upload SKU codes\",\"Upload Skus\":\"Upload SKU codes\",\"Upload VAT Transactions\":\"Upload VAT Transactions\",\"Upload file\":\"Upload file\",\"Upload finalized successfully\":\"Upload finalized successfully\",\"Upload is forbidden for overdue periods. Please contact your account manager.\":\"Upload is forbidden for overdue periods. Please contact your account manager.\",\"Upload payment proof\":\"Upload payment proof\",\"Upload processed\":\"Upload processed\",\"Upload proof\":\"Upload proof\",\"Upload submission proof\":\"Upload submission proof\",\"Upload successfully canceled\":\"Upload successfully canceled\",\"Uploaded successfully\":\"Please finalize your upload\",\"Use Amazon's template to upload data\":\"Use Amazon's template to upload data\",\"Use KPMG template to upload data\":\"Use KPMG template to upload data\",\"VAT\":\"VAT\",\"VAT Compliance Settings\":\"VAT Compliance Settings\",\"VAT Compliance Sign-up\":\"VAT Compliance Sign-up\",\"VAT ID\":\"VAT ID\",\"VAT Number\":\"National tax number / VAT number\",\"VAT Number of country of incorporation\":\"VAT Number of country of incorporation\",\"VAT Numbers\":\"VAT Numbers\",\"VAT Rates\":\"VAT Rates\",\"VAT Registration\":\"VAT Registration\",\"VAT compliance\":\"VAT compliance\",\"VAT deregistration\":\"VAT deregistration\",\"VAT home country compliance\":\"VAT home country compliance\",\"VAT monthly compliance\":\"VAT monthly compliance\",\"VAT registration\":\"VAT registration\",\"VAT registration certificate for your home country (if appropriate)\":\"VAT registration certificate for your home country (if appropriate)\",\"VAT take over\":\"VAT takeover\",\"VLS\":\"VLS\",\"VLS Frequency\":\"VLS Frequency\",\"Valid from\":\"Valid from\",\"Validation errors\":\"Validation errors\",\"Value must be between (inclusive): 0-100\":\"Value must be between (inclusive): 0-100\",\"Value must be in list\":\"Value must be in list\",\"Vat Compliance\":\"Vat Compliance\",\"Vat Numbers\":\"Vat Numbers\",\"Vat Rates\":\"Vat Rates\",\"Vat Registration and Compliance\":\"Vat Registration and Compliance\",\"View\":\"View\",\"Waiting For Finalize\":\"Waiting For Finalize\",\"Waiting for signature\":\"Waiting for signature\",\"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\":\"We currently do not offer IOSS services to businesses established or which have a fixed establishment in the EU, via this Portal. Please contact us at {{- contactEmail }} for further details.\",\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\":\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\",\"We look forward to helping you.\":\"We look forward to helping you.\",\"We will contact you in line with your language preference\":\"We will contact you in line with your language preference\",\"Website link\":\"Website link\",\"Webstore link\":\"Webstore link\",\"Welcome\":\"Welcome\",\"Welcome to Guides and Tutorials\":\"Welcome to Guides and Tutorials\",\"Welcome to the Frequently Asked Questions (FAQ)\":\"Welcome to the Frequently Asked Questions (FAQ)\",\"What is the estimated annual shipments which will be covered by IOSS?\":\"What is the estimated annual shipments which will be covered by IOSS?\",\"What is your Amazon Seller ID?\":\"What is your Amazon Seller ID?\",\"What is your FedEx or TNT account number?\":\"What is your FedEx or TNT account number?\",\"What type of clientele is your business aimed to?\":\"What type of clientele is your business aimed to?\",\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\":\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\",\"Where are the accounting records being kept?\":\"Where are the accounting records being kept?\",\"Why you don't want to renew?\":\"Why do you not wish to renew?\",\"Will you carry out intra-community acquisitions in France?\":\"Will you carry out intra-community acquisitions in France?\",\"Will you carry out intra-community supplies from France?\":\"Will you carry out intra-community supplies from France?\",\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\":\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\",\"Without the country code prefix.\":\"Without the country code prefix.\",\"Wrong excel format\":\"Wrong excel format\",\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\":\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\",\"Year\":\"Year\",\"Yearly\":\"Yearly\",\"Yes\":\"Yes\",\"You already have an account. Please sign in\":\"You already have an account. Please sign in\",\"You already have an account? Please\":\"You already have an account? Please\",\"You are required to declare SAF-T data. You can download the template below and with adding necessary fields please upload it back.\":\"You must report SAF-T data. Please download the template down below. After filling in the necessary fields please upload it back.\",\"You can find the registration number on the Certificate of Incorporation document of your business.\":\"You can find the registration number on the Certificate of Incorporation document of your business.\",\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\":\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\",\"You have one pending order in progress\":\"You have one pending order in progress\",\"You have successfully registered\":\"You have successfully registered\",\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\":\"You will shortly receive a welcome email from your dedicated KPMG account manager; please feel free to contact them with any questions you might have.\",\"Your account is locked out for {{min}} minutes. Please contact our support team.\":\"Your account is locked out for {{min}} minutes. Please contact our support team.\",\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\":\"Your email address has been changed. To finalize the change please logout and login again using your new email address. \",\"ZeroRated\":\"Zero Rated\",\"expired\":\"expired\",\"expires\":\"expires\",\"freq-notification-confirmation\":\"Please confirm turning the email sending off about {{- eventType}} compliance in {{- countryName}}.\",\"freq-notification-confirmation-affect\":\"This will affect every email type: return available, reminder, submission confirmation.\",\"fx-legal\":\"The information provided does not, and is not intended to, constitute legal and/or tax advice; instead, this information is for general informational purposes only. This information may not constitute the most up-to-date legal or other information. Readers of this information should contact their own advisor to obtain advice with respect to any particular legal and/or tax matter. All liability with respect to actions taken or not taken based on the contents of this site are hereby expressly disclaimed. The content on this posting is provided “as is”; no representations are made that the content is error-free.\",\"if-you-had-taxable-supplies\":\"If you had taxable supplies in the past, select the date when the first taxable supply was made. If you do not have a registration obligation for the past we recommend you select a future date from which you would like your VAT ID to be valid (e.g. the first month of the next quarter).\",\"master-data-is-incomplete\":\"Master data is incomplete, some SKUs don't have price. Please setup or confirm ignoring setting up. If you do not add these missing prices, we will not be able to include the value of movements of own goods in the VAT returns and the ESL reports, which can trigger tax audits or lead to penalties, VIES deactivation or deregistration. You are solely responsible for the consequences. We hereby ask you to complete all missing values before proceeding.\",\"order-compliance-extension-tooltip\":\"Select this if you want to renew your existing subscription.\",\"order-compliance-restart-tooltip\":\"Select this if you are switching from another service provider to us.\",\"order-compliance-restart-warning\":\"Warning! This will remove any previously saved settings from your account. If you wanted to renew an expiring subscription, please select NO and select 'Renew for one year' instead.\",\"pay-monthly-compliance-fee\":\"Please pay the monthly compliance fee by clicking the button below. You will be redirected to our partner’s website where you can set up your preferred payment method.\",\"refund-mode-confirm\":\"Once you confirmed, you cannot modify the mode of refund. The selected option will be the default setting for future VAT reporting.\",\"saft-acknowledgement-admin\":\"I confirm that I included all SAF-T related information to the uploaded KPMG template\",\"saft-acknowledgement-web\":\"I confirm that I included all SAF-T related information to the uploaded KPMG template. If you have any questions please check out our {{- link_start}}Guides and Tutorials{{- link_end}}.\",\"sign in\":\"sign in\",\"submissionperiod-paymentstatuschange-acknowledge\":\"Payment status is not validated by KPMG therefore the status can only be used for your own tracking purposes and KPMG does not accept any responsibility for the correctness of the status provided.\",\"total-number-of-incorrect-lines\":\"Total number of incorrect lines: {{num}}\",\"user-successfully-invited\":\"User successfully invited\",\"validation-column-header\":\"{{columnName}} (Column {{columnCode}})\",\"validation-constraint-not-fulfilled\":\"Constraint not fulfilled\",\"validation-data-cannot-be-empty\":\"Cell cannot be empty\",\"validation-date-invalid\":\"Data cannot be empty or invalid (expected format: dd-mm-yyyy)\",\"validation-example\":\"See an example of the incorrect value: {{exampleValue}} (line {{rowNumber}}). Number of incorrect lines: {{total}}\",\"validation-invalid-data\":\"Invalid data\",\"validation-ioss-incorrect-transaction-date\":\"Incorrect transaction date. You cannot report transactions before 1. July 2021 via IOSS)\",\"validation-ioss-invalid-currency\":\"You must use 3-letter currency ISO code\",\"validation-ioss-invalid-departure-country\":\"It must be outside of the EU. You must use 2-letter country ISO code\",\"validation-ioss-invalid-destination-country\":\"It must be in the EU + Northern Ireland. You must use 2-letter country ISO code\",\"validation-ioss-invalid-invoice-country\":\"You must use 2-letter country ISO code\",\"validation-ioss-invalid-transaction-type\":\"It must be Sale or Return\",\"validation-ioss-out-of-period-transactions\":\"Your data contains one or more transactions from a previous transaction period. If you want to correct previously submitted IOSS returns by submitting new transactions now, you can ignore this message and proceed with the upload. However, if that date was added by mistake you must stop the upload and correct your data before proceeding\",\"validation-ioss-wrong-taxable-basis-calculation\":\"{{columnName}} (Column {{columnCode}}): Taxable basis = Gross amount - VAT amount ({{taxableBasis}} != {{grossAmount}} - {{vatAmount}}).\",\"validation-ioss-wrong-vat-calculation\":\"{{columnName}} (Column {{columnCode}}): VAT amount = Taxable basis * VAT rate ({{vatAmount}} != {{taxableBasis}} * {{vatRate}}).\",\"validation-number-data-cannot-be-empty-or-invalid\":\"Data cannot be empty or invalid (expected format: Number with decimal separator ('.'), e.g.: 21.5)\",\"validation-positive-number-invalid\":\"Data cannot be empty or invalid (expected format: Non-negative number, e.g.: 435)\",\"validation-required-or-invalid\":\"Cell cannot be empty or invalid\",\"validation-unsupported-currency\":\"The file contains unsupported currency, please note that we only accept the following currencies: EUR, GBP, CZK, PLN, SEK, DKK, RON, USD, CNY, HUF\",\"validation-vat-countryofcustomer-invalid-fc-transfer-customer-and-shipping-country-neq\":\"Please note that FC_Transfer is only possible between two different EU countries\",\"validation-vat-countryofcustomer-invalid-fc-transfer-valid-reg\":\"Please note that according to our database, your entity does not have valid registration in the Shipping from or Customer's country and it is mandatory to report FC_Transfer\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-customer-eq-reporting\":\"Please note that for Inbounds, the VAT Reporting country must be an EU country or GB\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-must-be-in-eu\":\"Please note that for Inbounds, the Customer's country must be an EU country or GB\",\"validation-vat-decimalwrongformat\":\"Please note that the provided decimal is in wrong format Expected format: 0.19. (line {{rowNumber}})\",\"validation-vat-out-of-period-transactions\":\"Your data contains one or more transactions from a previous transaction period. You can only upload transactions for the current period\",\"validation-vat-partnername-invalid-registered-business\":\"Please note that the Partner's Name can only contain letters from the English alphabet\",\"validation-vat-partnername-is-required-registered-business\":\"Please note that if you choose VAT Registered/Business, you must provide the partner's VAT number and registered name\",\"validation-vat-taxablebasis-invalid-inbound-or-outbound-vat-values-correspond\":\"Please note that for Inbounds, the VAT rate, the Taxable basis and the VAT amount must correspond\",\"validation-vat-taxablebasis-invalid-sale-or-return-vat-values-correspond\":\"Please note that Taxable basis should correspond with the applied VAT rate and the calculated VAT amount, the following lines are incorrect\",\"validation-vat-typeofpartner-invalid-fc-transfer-only-registered-business\":\"Please note that the Type of Partner for FC_Transfer can only be VAT Registered/Business\",\"validation-vat-typeofpartner-invalid-inbound-or-outbound-only-registered-business\":\"Please note that for Inbounds, the Type of Partner must be VAT Registered/Business\",\"validation-vat-typeofsale-invalid-only-goods\":\"Please note that the Type of Sale for FC_Transfer can only be Goods\",\"validation-vat-vatamount-invalid-sale-or-return-vat-values-correspond\":\"Please note that Taxable basis should correspond with the applied VAT rate and the calculated VAT amount, the following lines are incorrect\",\"validation-vat-vatnumber-invalid-countrycodeprefix\":\"You must enter an EU VAT number which is not in the ship from country to qualify for zero-rated intra-Community supply of goods. If you do not have such a VAT number, please change the Customer’s country to be the same as the Shipping from country and either leave Column L blank or enter an appropriate positive VAT rate\",\"validation-vat-vatnumber-invalid-inbound-or-outbound\":\"Please note that for Inbounds, the VAT Number should correspond with the Dispatch from country\",\"validation-vat-vatnumber-invalid-sale-or-return\":\"Please note that the VAT Number should start with the Customer's country\",\"validation-vat-vatnumber-invalid-starts-with-two-letter\":\"Please note that the format of the provided Buyer's VAT Number is incorrect. It must contain the country code as well\",\"validation-vat-vatrate-invalid-fc-transfer-cannot-be-null\":\"Please note that the provided VAT rate and the Transaction type do not match. FC_Transfer must be reported as reverse charge, therefore gross should be calculated with VAT rate\",\"validation-vat-vatrate-invalid-inbound-or-outbound-cannot-be-null-except\":\"Please note that for Inbounds or Outbounds, the VAT rate cannot be 0, except for GB\",\"validation-vat-vatrate-invalid-vat-reporting-country\":\"Please note that the applied VAT rate is not possible in the provided VAT Reporting country (line {{rowNumber}})\",\"validation-vat-vatrate-is-required-inbound-or-outbound-when-taxable-basis\":\"Please note that for Inbounds, the VAT rate and the Taxable basis must correspond\",\"validation-vat-vatrate-is-required-sale-or-return-when-taxable-basis\":\"Please note that the VAT rate column is also mandatory if you provide the NET value (Taxable basis) of a transaction\",\"validation-vat-vatreportingcountry-invalid-shipping-or-customer\":\"Please note that VAT Reporting Country cannot be different from the Shipping from or the Customer's country\",\"validation-vatrate-data-cannot-be-empty-or-invalid\":\"Cell cannot be empty or invalid (expected format: Between 1-27 (or 0) with decimal separator ('.'), e.g.: 21.5)\",\"validation-vatrate-invalid-destination-country\":\"Please note that the applied VAT rate is not possible in the provided Destination country (line {{rowNumber}})\",\"validation-wrong-exchange-rate\":\"The calculated exchange rate seems to be wrong\",\"wrong-template-format\":\"Wrong template format. Please use the most up to date template. Make sure you do not change the first 3 header rows. Please note that Strict OpenXml format is not supported.\",\"{{columnName}} ({{rowNumber}}): Data cannot be empty.\":\"{{columnName}} ({{rowNumber}}): Cell cannot be empty.\",\"{{columnName}} ({{rowNumber}}): Invalid\":\"{{columnName}} ({{rowNumber}}): Invalid\",\"{{columnName}} ({{rowNumber}}): Not found\":\"{{columnName}} ({{rowNumber}}): Not found\",\"{{columnName}} ({{rowNumber}}): Wrong format\":\"{{columnName}} ({{rowNumber}}): Wrong format\",\"Couldnt_find_answer\":\"Couldn't find the answer to your question? Contact us {{- link_first_part}}here{{- link_second_part}}\",\"faq_bank_account_register_vat_in_france_answer\":\"{{- a_paragraph_start}}EU based businesses must have a bank account that supports SEPA B2B direct debit payments. If you do not have a SEPA B2B direct debit bank account, the French Tax Authority will issue a penalty on every bank transfer you make (usually EUR 60 per transfer). To avoid such penalties you will have to open a new bank account that is compatible with the French e-payment system.{{- a_paragraph_end}}\",\"faq_bank_certificate_and_bank_details_answer\":\"{{- a_paragraph_start}}If you have an overpayment, or you have deductible VAT, some tax authorities may try to transfer back this amount. If your bank details are not provided or are unclear, the tax authority will contact KPMG, thus delaying the processing time. The bank certificate should contain following information: name of bank, address of bank, name of account holder, address of account holder, currency, account number, IBAN, BIC{{- a_paragraph_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_answer\":\"{{- a_paragraph_start}}Under Spanish law, sole traders/individuals who have an economic relation (activity) with/in the country, but who do not reside in Spain, must apply for a Spanish identification number for foreigners (NIE) at a consulate or representative office of Spain in their country of residence. The NIE-number can be requested by submitting a form called EX-15. You will find more information about the NIE and EX-15 request form {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_companies_articles_and_association_answer\":\"{{- a_paragraph_start}}For registering in most European countries, the tax authority requires a document that details the company's shareholder structure, the company's registered capital (funds, not a geographic location) as well as the director and legal representative's information. The document is also known as an Articles of Organization or Articles of Incorporation.{{- a_paragraph_end}}\",\"faq_company_extract_for_uk_based_sole_trader_answer\":\"{{- a_paragraph_start}}As a sole trader in the UK, it can be more difficult to proof your status. We suggest obtaining a letter from either HM Revenue & Customs or your solicitor or accountant. They should provide you with a letter on their official headed paper indicating the following:{{- a_paragraph_end}}{{- a_list_start}}Your name and address{{- a_list_middle}}Your trading name{{- a_list_middle}}Explicit confirmation that you are a self-employed sole trader{{- a_list_end}}\",\"faq_company_extract_us_answer\":\"{{- a_paragraph_start}}A Company Extract or Business License (the name may vary by state) is essentially a document issued by the state in which the company was founded that certifies the legitimacy of the business, that it has been legally registered. It will typically include the company's date of incorporation.{{- a_paragraph_end}}\",\"faq_companys_legal_representative_answer\":\"{{- a_paragraph_start}}The legal representative is the person who holds the legal power to act on the company's behalf and will represent your company in any tax-related issues. The registration will require a company document which clearly shows who the legal representative is.{{- a_paragraph_end}}\",\"faq_companys_vat_certificate_us_answer\":\"{{- a_paragraph_start}}From the IRS. Tax authorities will require documentation from the IRS regarding the issuing of your company's Employer Identification Number (EIN).{{- a_paragraph_end}}\",\"faq_documents_while_filing_answer\":\"{{- a_paragraph_start}}You will have to fill out your company's details, therefore we suggest that you have the Company Extract, Articles of Association, ID of the legal representative and a Bank Certificate of the company with you.{{- a_paragraph_end}}\",\"faq_drivers_licence_as_valid_id_answer\":\"{{- a_paragraph_start}}Most European countries require an identification document of the legal representative. It can be an Identity Card, Passport or Driver's License. Please note that for the online registration of a British VAT number, two identification documents will be required.{{- a_paragraph_end}}\",\"faq_form_6166_apply_answer\":\"{{- a_paragraph_start}}US based clients are required to provide a 6166 form, issued by the IRS to complete the German registration. The 6166 form can be requested using an 8802 form that can be downloaded from the website of the IRS. Please note that the German Tax Authorities only accept original forms and the issuing time can take up to 3 months for this document. To obtain the form, please apply to the IRS. For more information, please click {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_how_long_does_the_registration_take_answer\":\"{{- a_paragraph_start}}If all information and documents are correctly provided, we can prepare the registration package in a couple of days and send it to the Tax Authority.{{- a_paragraph_end}}\",\"faq_how_many_eoris_do_i_need_answer\":\"{{- a_paragraph_start}}E-commerce sellers only need one EORI number, and in fact can only have one EORI number issued to them. The EORI number can be used in all the EU member states, therefore one number is enough and the Customs services will reject your application if you already have a number issued. Please note that after BREXIT European sellers have to apply for an EORI in the UK, if they want to import goods in the UK. UK based sellers need to apply for an EORI in the EU if they want to import goods in the EU.{{- a_paragraph_end}}\",\"faq_notarisation_and_hague_apostille_meaning_answer\":\"{{- a_paragraph_start}}Some European tax offices will require that your company documents and registration forms are 'notarised and apostilled' before you can submit them to the authorities to apply for a VAT registration.{{- a_paragraph_middle}}A notarised document is one carrying authenticated signature(s) of the person(s) authorised or required to sign it, and the signature of a notary public witnessing the signature(s), accompanied by an impression of his or her official notary seal. If a tax office requests it, the authorised signatory will need to visit a Notary Public (or have one come to your office) and sign the required documents in his/her presence. The notary will certify the documents after witnessing the signature.{{- a_paragraph_middle}}The definition of an apostille is 'the authentication of a document for use in another country'. The apostille certificate confirms the signature, seal or stamp on a document to be genuine so that it will be accepted when presented in another country within the European Union. It is permanently glued to another document and then an embossing mechanism, often called the apostille seal or apostille stamp, is used to emboss the document with a government crest.{{- a_paragraph_middle}}Usually the notary public you engage for the witnessing service will be able to arrange the apostille for your as well.{{- a_paragraph_end}}\",\"faq_obtain_company_extract_for_uk_company_answer\":\"{{- a_paragraph_start}}Contact Companies House on 0303 1234 500 and request them to send a certified copy of your Certificate of Incorporation with the following additional information added:{{- a_paragraph_end}}{{- a_list_start}}Names of the company directors{{- a_list_middle}}Name of the company secretary{{- a_list_middle}}Company registered office{{- a_list_middle}}Issued share capital{{- a_list_middle}}Names of the shareholders{{- a_list_end}}{{- a_paragraph_start}}The above document will be issued for a certain amount. (Around GBP 20, or GBP 60 for a faster service){{- a_paragraph_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_answer\":\"{{- a_paragraph_start}}Our office specializes in the European Union; however, we can refer you to our local KPMG offices in those countries. They would be happy to prepare an offer for you and in the case of an agreement, assist you in your business expansion.{{- a_paragraph_end}}\",\"faq_vat_certificate_for_uk_company_answer\":\"{{- a_paragraph_start}}This can be requested directly from HM Revenue & Customs on 0300 200 3700. You will need to quote your UK VAT registration number and the document will be posted to your registered address. Please note that it is possible to download a VAT certificate from the online portal where returns are submitted, however this will not be accepted by the tax authorities for VAT registration.{{- a_paragraph_middle}}If you are not registered for VAT in the UK, due to the fact that your sales are below the registration threshold, please let us know by email in advance and we will explain you what to do.{{- a_paragraph_end}}\",\"faq_vat_in_czech_republic_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 original a bank certificate confirming your banking details, issued by your bank{{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}\",\"faq_vat_in_france_documents_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of a bank certificate confirming your banking details{{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_in_germany_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_in_italy_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}\",\"faq_vat_in_poland_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}\",\"faq_vat_in_spain_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities) notarized and apostilled{{- a_list_middle}}1 original certificate of Foreigner’s Identification Number (NIE) – only for sole traders/individuals!{{- a_list_end}}{{- a_paragraph_start}}Your company extract and certificate of NIE should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}\",\"faq_vat_in_uk_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of two different identification documents of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_with_fba_services_answer\":\"{{- a_paragraph_start}}If you store goods in any European country, then you will be required to have a VAT number. It is mandatory by the law.{{- a_paragraph_end}}\",\"faq_vies_in_spain_answer\":\"{{- a_paragraph_start}}While the VAT registration is a rather quick process in Spain, the activation of a VAT ID in the {{- link_start}}VIES system{{- link_end}} is a more complex and longer one. After your VAT ID has been issued we can start submitting declarations and you can pay VAT in Spain. Your activation needs to be requested separately from a proposal and can be done only if you carry out intra-community transactions. This means you have to submit an EC Sales List in Spain first. After a Spanish EC Sales List has been filed the proposal can be submitted; however, it will be automatically refused if you have any outstanding liability e.g. VAT payments, VAT returns, penalties. If your proposal is refused it will have to be submitted again starting from the beginning. This process usually takes 2-3 months.{{- a_paragraph_end}}\",\"faq_what_is_an_eori_number_answer\":\"{{- a_paragraph_start}}An EORI number is a European Union registration business identification number. This number is issued when importing or exporting goods in and out of the EU. A business or individual must obtain an EORI number from a national customs authority before beginning customs activities within the European Union.{{- a_paragraph_end}}\",\"faq_when_vat_issued_answer\":\"{{- a_paragraph_start}}The length of time required to obtain a VAT number varies from country to country. You can typically expect to receive your VAT number within 4 to 6 weeks from the date when your documents are submitted to the tax authority. We will keep in contact with the tax authorities to track the progress of your VAT registration and will keep you informed of any updates. Please see below a list of current timelines for obtaining VAT registrations. We suggest to check back here from time to time as we are constantly monitoring the timeline and will update this frequently:{{- a_paragraph_end}}{{- a_list_start}}France: 7-9 weeks{{- a_list_middle}}Germany: 6 - 8 weeks{{- a_list_middle}}Spain: 1-2 weeks (VIES activation: 2-3 months){{- a_list_middle}}Italy: 4-6 weeks{{- a_list_middle}}Poland: 4-6 weeks{{- a_list_middle}}Czech Republic: 4-6 weeks{{- a_list_middle}}UK: 3-4 weeks{{- a_list_end}}\",\"faq_where_can_i_get_my_documents_apostilled_answer\":\"{{- a_paragraph_start}}Apostilles can usually be arranged by National certified notary offices or the National Public Notary office itself. Spain does not accept a simple notarization and therefore a further authentication / legalization is required, an Apostille Stamp. If your country is not a member of the Apostille Convention, please arrange the local notarization of the required documents and contact the Spanish Consulate in your country to request consular legalization.{{- a_paragraph_end}}\",\"faq_where_can_i_get_my_documents_notarized_answer\":\"{{- a_paragraph_start}}Notaries can authenticate signatures or documents for use abroad. If you need to notarize a documents or Power of Attorney, you must visit a local notary public (or lawyer).{{- a_paragraph_end}}\",\"faq_which_countries_eori_number_is_best_to_have_answer\":\"{{- a_paragraph_start}}For EU based companies an EORI number in the country of establishment, for non EU companies the country where you import the most to will be the best country to have an EORI number.{{- a_paragraph_end}}\",\"faq_who_is_the_beneficial_owner_answer\":\"{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} any natural person who owns or controls {{- a_bold_start}}at least twenty-five per cent of the shares or voting rights{{- a_bold_end}} in a legal person or an unincorporated organization {{- a_bold_start}}directly or{{- a_bold_end}} - by way of the means defined in Subsection (4) of Section 8:2 of Act V of 2013 on the Civil Code (hereinafter referred to as “Civil Code”) - {{- a_bold_start}}indirectly{{- a_bold_end}}, or who is able to exercise effective control over the legal person or unincorporated organization via other means, if that legal person or unincorporated organization is not listed on a regulated market and is subject to disclosure requirements consistent with Community legislation or subject to equivalent international standards,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} any natural person who has a dominant influence in a legal person or unincorporated business association as defined in Subsection (2) of Section 8:2 of the Civil Code,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} any natural person on whose behalf a transaction is being conducted, or who is able to exercise effective control over the activity of a customer via other means in the case of natural persons,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} in the case of foundations:{{- a_paragraph_end}} {{- a_paragraph_start}} da) where the future beneficiaries have already been determined, the natural person who is the beneficiary of twenty-five per cent or more of the property of the foundation,{{- a_paragraph_end}} {{- a_paragraph_start}} db) where the individuals that benefit from the foundation have yet to be determined, the natural person in whose main interest the foundation is set up or operates, or{{- a_paragraph_end}} {{- a_paragraph_start}} dc) the natural person who exercises control in the management of the foundation or exercises control over at least twenty-five per cent of the property of a foundation, and/or who is authorized to represent the foundation,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} in the case of fiduciary asset management contracts:{{- a_paragraph_end}} {{- a_paragraph_start}}ea) the principal, and the beneficial owner referred to in Paragraph a) or b) thereof,{{- a_paragraph_end}} {{- a_paragraph_start}}eb) the fiduciary, and the beneficial owner referred to in Paragraph a) or b) thereof,{{- a_paragraph_end}} {{- a_paragraph_start}}ec) the beneficiaries or class of beneficiaries, and the beneficial owner referred to in Paragraph a) or b) thereof, furthermore{{- a_paragraph_end}} {{- a_paragraph_start}}ed) any natural person exercising effective control over the trust fund via other means, furthermore{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} in the absence of the natural person referred to in Paragraphs a) and b), the executive officer of the legal person or unincorporated business association;{{- a_paragraph_end}}\",\"faq_why_do_i_need_a_fiscal_representative_answer\":\"{{- a_paragraph_start}}For companies providing goods or services in foreign European countries, there may be a requirement to register for VAT as a non-resident VAT trader. Some countries permit the Non-EU established company to register ‘directly’ with the tax office, without having to appoint a local representative.{{- a_paragraph_middle}}However, under certain circumstances, the tax authorities will require the company to appoint a Fiscal Representative in the destination country. This company must be tax registered and willing to act as the local representative of the company, managing with queries and filing obligations of the company for dealings with the tax authorities. In most cases, the fiscal representative may be jointly liable for all VAT payments of the company.{{- a_paragraph_middle}}The tax authorities regard a fiscal representative as the local agent of the foreign trader – which leads to several compliance obligations. Additionally, if the fiscal representative is jointly liable for the trader’s taxes, it is industry practice to require a security deposit or bank guarantee in favour of the fiscal representative to mitigate against potential risks if the company reneges of any liabilities.{{- a_paragraph_end}}\",\"faq_why_i_need_vat_number_answer\":\"{{- a_paragraph_start}}Businesses who provide goods or services in a foreign jurisdiction with a VAT regime must comply with the relevant VAT laws of that country. There are several cases where it will be a legal obligation for a company to register for VAT in the country because they are undertaking taxable business activity. Such activity includes:{{- a_paragraph_end}}{{- a_list_start}}Importing goods into the country for sale or distribution{{- a_list_middle}}Buying and selling goods locally{{- a_list_middle}}Selling goods to individuals over the internet (revenue thresholds may apply) Storing goods in a warehouse{{- a_list_middle}}Organising an event in the country (specifically if there is paid admission to the event){{- a_list_middle}}It is the company’s responsibility to register for VAT prior to commencing taxable transactions and once registered, one must comply with the compliance and reporting requirements.{{- a_list_end}}\",\"faq_will_original_documents_be_returned_after_registration_answer\":\"{{- a_paragraph_start}}These documents are requested by the respective tax authorities in each country and are kept by them. Therefore, they cannot be returned to you. To keep the original copies with you, we can also provide notarized copies to the Tax Authority.{{- a_paragraph_end}}\",\"faq_wrong_registration_document_to_kpmg_answer\":\"{{- a_paragraph_start}}We will ask you to send us the correct documents. If we submit a registration package with wrong documents (e.g. photocopy instead of original or too old) the registration process will be delayed and most probably refused.{{- a_paragraph_end}}\",\"faq_wrong_registration_info_to_kpmg_answer\":\"{{- a_paragraph_start}}If the data you provided is not accurate and correct, your account manager will contact you until all the details are clarified. This might prolong the time needed to prepare the registration documents. If the data we filled out on the registration documents is wrong, the Tax Authority will contact us and will not issue the VAT number until all information is accurate and up to date.{{- a_paragraph_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_answer\":\"{{- a_paragraph_start}}The UK left the EU VAT regime on 31st December 2020. At the same time, the UK withdrew its £15 low-value consignment relief and introduced a new VAT-at-point-of sale regime (similar to the EU’s IOSS regime) for goods imported into the UK with a shipment value not exceeding £135.{{- a_paragraph_middle}}For sales to EU consumers, British resident sellers are now considered as non-EU residents. From 1 July 2021, they will be able to use the EU IOSS as non-EU sellers, for sales of eligible goods which will be imported into the EU.{{- a_paragraph_end}}\",\"ioss_faq_currency_other_than_eur_answer\":\"{{- a_paragraph_start}}Where goods sold are paid for in a currency other than the Euro, you should always make the calculation at the time of supply in order to determine whether the sale of goods can be declared under the IOSS.{{- a_paragraph_middle}}To avoid any potential issue at importation due to exchange rate fluctuations, we recommend that you should indicate on the invoice accompanying the shipment the price in EUR, as determined at the moment of acceptance of payment.{{- a_paragraph_end}}\",\"ioss_faq_do_not_opt_into_ioss_answer\":\"{{- a_paragraph_start}}As mentioned above, if IOSS is not used, VAT is due upon importation of the goods and needs to be collected by the customs declarant, e.g. FedEx Express, who will recover this VAT cost from the customer or you, depending on the shipping terms. Additional handling fees may be due. Additional VAT compliance burden may also arise if the seller sells goods under DDP terms.{{- a_paragraph_middle}}For shipments which are handled by FedEx, please visit fedex.com for further detail.{{- a_paragraph_end}}\",\"ioss_faq_eur_150_value_limit_answer\":\"{{- a_paragraph_start}}Low value goods which qualify for the IOSS are goods in shipments whose intrinsic value at import does not exceed EUR 150 (except products subject to excise duties).{{- a_paragraph_middle}}Intrinsic value means the price of the goods themselves when sold for export to the EU. The price should exclude transport and insurance costs (unless they are included in the price and not indicated separately on the invoice), and exclude any other taxes and charges which can be proved to the customs authorities from any relevant document.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_answer\":\"{{- a_paragraph_start}}KPMG designed a questionnaire which is available on the Portal to collect the necessary information required from you for your IOSS registration.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_return_answer\":\"{{- a_paragraph_start}}After successful registration, you will be able to download a data template from our Portal. You need to provide your sales (including returns) data regarding the eligible transactions to us in the required template on a monthly basis. KPMG will prepare the IOSS return for your review.{{- a_paragraph_middle}}The IOSS VAT return will contain the total value of the goods sold, their VAT rate and the total VAT amount to be paid, broken down for each EU Member State where the goods are transported to, as well as broken down in terms of standard and reduced rates.{{- a_paragraph_middle}}Upon your approval, KPMG will then submit the return.{{- a_paragraph_end}}\",\"ioss_faq_ioss_for_b2b_answer\":\"{{- a_paragraph_start}}No, IOSS can only be used for B2C sales of eligible goods.{{- a_paragraph_end}}\",\"ioss_faq_pay_tax_due_answer\":\"{{- a_paragraph_start}}The deadline for these payments is the end of the month following the reporting month, the same as the return deadline. As you are established outside the EU, you are registered through a VAT intermediary. You should make a monthly payment of VAT due as declared in the IOSS VAT return to the VAT intermediary at least a few working days prior to the payment deadline as instructed. The VAT intermediary will make the payment to the Member State of registration on your behalf.{{- a_paragraph_end}}\",\"ioss_faq_return_deadline_answer\":\"{{- a_paragraph_start}}You will need to submit a monthly IOSS return to the tax authorities in the country of identification (registration). The deadline for submitting your IOSS VAT return is the end of the calendar month following the reporting period.{{- a_paragraph_end}}\",\"ioss_faq_return_goods_under_ioss_answer\":\"{{- a_paragraph_start}}Goods returned and shipped out of the EU will qualify for a VAT refund. Please provide KPMG with the necessary information using the data template and KPMG will adjust your IOSS return accordingly.{{- a_paragraph_end}}\",\"ioss_faq_who_to_contact_if_answer\":\"{{- a_paragraph_start}}Once you have subscribed to the KPMG services, you will be assigned a dedicated KPMG account manager who will answers your questions regarding the IOSS registration and the compliance process. You can contact your account manager by email or telephone in the following languages: English, German, French, Spanish, Italian and Chinese.{{- a_paragraph_end}}\",\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)_reporting)\":\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)\",\"amazon_vat_rates_warning\":\"We will apply the VAT rates that is provided in the amazon data when available / We will use our default rates. After June-2021 KPMG must use the Amazon provided rates.\",\"contacts_message\":\"Specific questions: please write to {{- link_start}}{{- contactEmail}}{{- link_end}}.\",\"cookie_consent_description\":\"This website uses cookies to provide necessary site functionality and improve your online experience. By using this website, you agree to use of cookies as outlines in {{- link_start}}KPMG's online privacy statement{{- link_end}}.\",\"disabled_ioss_upload_for_this_month\":\"You did not upload transaction data for this month. As it is not possible to submit IOSS returns retrospectively, the upload is not possible anymore. If you had sales in this month that must be reported via IOSS, you must add these transactions to the source data of a next IOSS return.\",\"faq_bank_account_register_vat_in_france_question\":\"{{- q_start}}Is there anything I should be aware of regarding my bank account if I want to register for VAT in France?{{- q_end}}\",\"faq_bank_certificate_and_bank_details_question\":\"{{- q_start}}Why do I need to provide a bank certificate and my bank details?{{- q_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_question\":\"{{- q_start}}What is the Certificate of Foreigner’s Identification Number (NIE) in Spain?{{- q_end}}\",\"faq_companies_articles_and_association_question\":\"{{- q_start}}What is a company's Articles of Association and why do I need to provide it?{{- q_end}}\",\"faq_company_extract_for_uk_based_sole_trader_question\":\"{{- q_start}}What is the Company Extract for an UK established sole trader?{{- q_end}}\",\"faq_company_extract_us_question\":\"{{- q_start}}What is the Company Extract in the US?{{- q_end}}\",\"faq_companys_legal_representative_question\":\"{{- q_start}}Who is the legal representative of my company?{{- q_end}}\",\"faq_companys_vat_certificate_us_question\":\"{{- q_start}}Where can I obtain my company's VAT Certificate in the US?{{- q_end}}\",\"faq_documents_while_filing_question\":\"{{- q_start}}What documents do I need to have with me while filing the registration/questionnaire?{{- q_end}}\",\"faq_drivers_licence_as_valid_id_question\":\"{{- q_start}}Can I use a driver's license as a valid form of ID?{{- q_end}}\",\"faq_form_6166_apply_question\":\"{{- q_start}}What is Form 6166? What is it for and how can I apply?{{- q_end}}\",\"faq_how_long_does_the_registration_take_question\":\"{{- q_start}}How long does the registration process take?{{- q_end}}\",\"faq_how_many_eoris_do_i_need_question\":\"{{- q_start}}How many EORI numbers do I need?{{- q_end}}\",\"faq_notarisation_and_hague_apostille_meaning_question\":\"{{- q_start}}What does 'Notarisation' mean and what is a 'Hague Apostille'?{{- q_end}}\",\"faq_obtain_company_extract_for_uk_company_question\":\"{{- q_start}}Where can I obtain a company extract for an UK established company?{{- q_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_question\":\"{{- q_start}}Can KPMG support me if I want to register in the USA, Canada, India, China, Mexico, Australia or Japan?{{- q_end}}\",\"faq_vat_certificate_for_uk_company_question\":\"{{- q_start}}Where can I obtain the VAT certificate of my UK established company?{{- q_end}}\",\"faq_vat_in_czech_republic_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in the Czech Republic. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_france_documents_question\":\"{{- q_start}}I wish to register for VAT in France. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_germany_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Germany. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_italy_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Italy. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_poland_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Poland. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_spain_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Spain. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_uk_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in the UK. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_with_fba_services_question\":\"{{- q_start}}Do I need VAT number if I am using FBA services?{{- q_end}}\",\"faq_vies_in_spain_question\":\"{{- q_start}}What do I need to know about the VIES activation process in Spain?{{- q_end}}\",\"faq_what_is_an_eori_number_question\":\"{{- q_start}}What is an EORI number?{{- q_end}}\",\"faq_when_vat_issued_question\":\"{{- q_start}}When is my VAT number issued?{{- q_end}}\",\"faq_where_can_i_get_my_documents_apostilled_question\":\"{{- q_start}}Where can I get my documents apostilled?{{- q_end}}\",\"faq_where_can_i_get_my_documents_notarized_question\":\"{{- q_start}}Where can I get my documents notarized?{{- q_end}}\",\"faq_which_countries_eori_number_is_best_to_have_question\":\"{{- q_start}}Which country's EORI number is the best to have?{{- q_end}}\",\"faq_who_is_the_beneficial_owner_question\":\"{{- q_start}}Who is the beneficial owner?{{- q_end}}\",\"faq_why_do_i_need_a_fiscal_representative_question\":\"{{- q_start}}Why do I need a fiscal representative?{{- q_end}}\",\"faq_why_i_need_vat_number_question\":\"{{- q_start}}Why do I need a VAT number?{{- q_end}}\",\"faq_will_original_documents_be_returned_after_registration_question\":\"{{- q_start}}You are asking for original documents--will I have these returned after the registration is completed?{{- q_end}}\",\"faq_wrong_registration_document_to_kpmg_question\":\"{{- q_start}}What happens if I provide wrong documents to KPMG for the VAT registration?{{- q_end}}\",\"faq_wrong_registration_info_to_kpmg_question\":\"{{- q_start}}What happens if I provide wrong information to KPMG when registering?{{- q_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_question\":\"{{- q_start}}Are these changes appliable to the UK now it is no longer part of the EU?{{- q_end}}\",\"ioss_faq_currency_other_than_eur_question\":\"{{- q_start}}My customer pays in a currency other than EUR, what exchange rate should I use?{{- q_end}}\",\"ioss_faq_do_not_opt_into_ioss_question\":\"{{- q_start}}What happens if I do not opt into the IOSS?{{- q_end}}\",\"ioss_faq_eur_150_value_limit_question\":\"{{- q_start}}What is the EUR 150 value limit?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_question\":\"{{- q_start}}What information do I need to provide to KPMG for the IOSS registration?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_return_question\":\"{{- q_start}}What information do I need to provide to KPMG for the IOSS return?{{- q_end}}\",\"ioss_faq_ioss_for_b2b_question\":\"{{- q_start}}Can I use IOSS for B2B transactions?{{- q_end}}\",\"ioss_faq_pay_tax_due_question\":\"{{- q_start}}How do I pay the tax due and what is the payment deadline?{{- q_end}}\",\"ioss_faq_return_deadline_question\":\"{{- q_start}}What is the return deadline?{{- q_end}}\",\"ioss_faq_return_goods_under_ioss_question\":\"{{- q_start}}How can I return goods under the IOSS scheme?{{- q_end}}\",\"ioss_faq_who_to_contact_if_question\":\"{{- q_start}}If I have a question, whom should I contact?{{- q_end}}\",\"fedex_cross_border_hint\":\"FedEx Cross Border Customers: please use your 6 digit account number + add 'FXCB'\",\"forgot_pw_resend\":\"If you haven't received the reset e-mail, please click {{- link_start}}here{{- link_end}} to resend or contact us at {{- contactEmail}}\",\"login_disclaimer\":\"By signing in or creating an account, you accept our {{- link1_start}}General Terms of Business{{- link1_end}} and {{- link2_start}}Privacy Statement{{- link2_end}}.\",\"register_welcome_text\":\"Thank you for visiting us. Please note that this is an invite-only platform. If you have not been invited but would like to sign up with KPMG, you can find out more about our offerings for Marketplace Sellers {{- link_start}}here{{- link_end}}.\",\"validation-vat-vatrate-is-required-sale-or-return-when-vat_amount\":\"Please note that the VAT rate column is also mandatory if you provide the VAT value of a transaction\"}","module.exports = {\"(Empty)\":\"\",\"A bank statement showing your bank account information (if appropriate)\":\"Un extracto bancario que indique la informa sobre su cuenta bancaria (si procede)\",\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\":\"Un documento emitido por su banco que contiene los siguientes datos: nombre del banco, dirección postal correspondiente del banco, nombre del titular de la cuenta, dirección postal del titular de la cuenta, número de cuenta, IBAN, SWIFT/BIC, divisa.\",\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\":\"Un símbolo bursátil o clave de cotización es una abreviatura que se utiliza para identificar de manera única acciones cotizadas en la bolsa de un capital particular en un mercado bursátil específico. Una clave de cotización consta de letras, números o una combinación de ambos.\",\"Abandoned\":\"Abandonado\",\"Access denied\":\"Acceso denegado\",\"Accounting office\":\"Estudio de contaduría\",\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\":\"Los registros contables refieren a toda la documentación y libros7registros relacionados con la preparación de las declaraciones o registros financieros relevantes para auditorías y valoraciones financieras.\",\"Acknowledge\":\"Confirmar\",\"Acknowledgement\":\"\",\"Actions\":\"Opciones\",\"Active\":\"Activo\",\"Active tier:\":\"Nivel activo:\",\"Active tier: \":\"Nivel activo:\",\"Add\":\"Agregar\",\"Add New Country\":\"Agregar países nuevos\",\"Add SKU\":\"Agregar códigos SKU\",\"Add current or previous IOSS number\":\"Agregue el número de IOSS actual o previo\",\"Add new Beneficial Owner\":\"Agregar nuevo beneficiario activo\",\"Add new Business Owner\":\"Agregar nuevo dueño de empresa\",\"Add new Fixed Establishment\":\"Añadir nuevo establecimiento permanente\",\"Add new VAT ID\":\"Añadir nuevo N.º de IVA\",\"Add new authorized signatory\":\"Añadir nuevo\",\"Add new turnover\":\"Añadir un nuevo volumen de negocio\",\"Add the OSS registration number\":\"Agregue el número de registro de OSS\",\"Add the address of the previous fiscal representative in France\":\"Agregar la dirección del representante fiscal anterior en Francia\",\"Add the effective date of OSS registration\":\"Agregue la fecha efectiva de registro en la OSS\",\"Additional Services\":\"Servicios adicionales\",\"Address\":\"Dirección\",\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\":\"Dirección del almacenamiento de los bienes en Alemania (nombre de la calle, número de la calle, ciudad, código postal)\",\"Agree\":\"Aceptar\",\"All\":\"Todos\",\"Amazon SKUs\":\"Códigos SKU de Amazon\",\"Amazon Seller account name\":\"Nombre de cuenta de Vendedor de Amazon\",\"Amazon invoicing services before 2021 July\":\"Servicios fiscales en Amazon antes de julio de 2021\",\"Amount\":\"Monto\",\"Amount must be greater than or equal to zero.\":\"El monto debe ser mayor que o igual a cero.\",\"Amount of capital in EUR\":\"Cantidad de capital en EUR\",\"An error has occured during email verification.\":\"Se produjo un error durante la verificación del correo electrónico.\",\"Apostille\":\"Apostilla \",\"Approval due\":\"Vencimiento de la aprobación\",\"Approve\":\"Aprobar\",\"Approve draft\":\"Aprobar borrador\",\"Approved\":\"Aprobado\",\"ApprovedByClient\":\"Aprobado por cliente\",\"Are you making already taxable supply in France?\":\"¿Está efectuando ya una entrega imponible en Francia?\",\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\":\"¿Tiene la intención de comprar bienes de una o más empresas inscritas en el registro del IVA en otros Estados miembro de la UE y conservarlos en un almacén francés?\",\"Are you sure to delete?\":\"¿Está seguro de que desea borrar esto?\",\"Are you sure to revoke access to this company?\":\"¿Está seguro de que desea revocar el acceso a esta empresa?\",\"Are you sure you want to change client invoicing?\":\"¿De verdad quiere cambiar la facturación?\",\"At least one country must be selected\":\"Debe seleccionar al menos un país\",\"Attach file\":\"\",\"Attachments uploaded successfully\":\"\",\"Authorized signatory\":\"Representante autorizado\",\"Automation\":\"Automatización\",\"Automotive/Industrial\":\"Automotor/Industrial\",\"Available credit\":\"Crédito disponible\",\"B2B\":\"B2B\",\"B2C\":\"B2C\",\"BIC\":\"BIC\",\"Bank Information\":\"Información del banco\",\"Bank Transfer\":\"Transferencia bancaria\",\"Bank account\":\"Cuenta bancaria\",\"Bank account holder address\":\"Domicilio del titular de la cuenta bancaria\",\"Bank account holder name\":\"Nombre del titular de la cuenta bancaria\",\"Bank address\":\"Dirección postal del banco\",\"Bank name\":\"Nombre del banco\",\"Banking Information\":\"Información bancaria\",\"Banking information for the VAT payment in Germany\":\"Información bancaria para el pago de IVA en Alemania\",\"Beauty/Health\":\"Belleza/Salud\",\"Beneficial Owner\":\"Beneficiario active\",\"BiMonthly\":\"Bimensual\",\"Billing documents\":\"Documentos de facturación\",\"Birth date\":\"Fecha de nacimiento\",\"Birth info\":\"Información de nacimiento\",\"Birth name (if different)\":\"Nombre con el que fue inscrito al nacer (si es diferente)\",\"Birthdate\":\"Fecha de nacimiento\",\"Books/Audio\":\"Libros/Audio\",\"Both\":\"Ambos\",\"Business Details\":\"Detalles de la empresa\",\"Business Owners\":\"Propietarios de la empresa\",\"Business details\":\"Detalles de la empresa\",\"Business incorporation documents (if appropriate)\":\"Un documento registral de certificación (si procede) \",\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\":\"Las empresas fuera de la UE deben proporcionar un certificado de identificación fiscal local en el país de establecimiento.\",\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\":\"Las empresas fuera de la UE deben proporcionar un identificador fiscal local en el país de establecimiento.\",\"CEO\":\"CEO\",\"Can't be later than the current month\":\"No puede ser después del mes actual\",\"Can't be smaller than the original compliance start date\":\"No puede ser antes de la fecha de inicio original\",\"Cancel\":\"Cancelar\",\"Cancel draft\":\"Cancelar borrador\",\"Cancelled\":\"Cancelado\",\"Cancelled at\":\"Cancelado en\",\"Change Company Detail\":\"Cambiar información de la empresa\",\"Change Language\":\"Cambiar idioma\",\"Change company detail\":\"Cambiar los detalles de la sociedad\",\"Change email\":\"Cambiar correo electrónico\",\"Change email address\":\"Cambie la dirección de correo electrónico\",\"Change item\":\"Cambiar producto\",\"Check out the different categories to understand VAT compliance better.\":\"Compruebe las diferentes categorías para entender mejor el cumplimiento de las obligaciones fiscales respecto del IVA.\",\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\":\"Seleccione esto si no tiene un número EORI en el RU, pero desea importar bienes allí. (Necesario después del Brexit)\",\"Citizenship\":\"Nacionalidad\",\"City\":\"Ciudad\",\"City of birth\":\"Ciudad de nacimiento\",\"Client Account\":\"Cuenta de Cliente\",\"Client Accounts\":\"Cuentas de Cliente\",\"Client id\":\"ID del cliente\",\"Client name\":\"Nombre del cliente\",\"Client source\":\"Fuente de cliente\",\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\":\"Los colaboradores cercanos de las personas políticamente expuestas incluyen a las siguientes personas: a) toda persona física que Ostende de manera conjunta la propiedad económica de entidades jurídicas u organizaciones no constituidas, o cualquier otra relación empresarial cercana con la persona políticamente expuesta; b) toda persona física que posea la propiedad económica exclusiva de una entidad legal u organización no constituida que se haya establecido para beneficio de la persona políticamente expuesta.\",\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\":\"Codice Fiscale. Si ha vivido en Italia, tiene un código fiscal italiano individual. Si no lo ha hecho, deje esto en blanco.\",\"Collectibles/Art/Stationary\":\"Artículos de colección/Arte/Estacionario\",\"Commodity code\":\"Codigo de Mercancia\",\"Communicating with Tax Authorities\":\"Comunicación con las autoridades fiscales\",\"Communicating with tax authorities\":\"Comunicación con las autoridades fiscales\",\"Companies\":\"Empresas\",\"Company\":\"Empresa\",\"Company Name\":\"Nombre de empresa\",\"Company name\":\"Nombre de empresa\",\"Company not found\":\"No se encontró la empresa\",\"Completed\":\"Completado\",\"Compliance status\":\"Estado del servicio\",\"Confirm\":\"Confirmar\",\"Confirm Order\":\"Confirmar orden\",\"Confirm Payment\":\"Confirmar pago\",\"Confirm and Finalize\":\"Confirmar y finalizar\",\"Confirm and Generate Return\":\"Finalizar\",\"Confirm new password\":\"Confirmar contraseña nueva\",\"Confirm order and pay with\":\"Confirmar pedido y pagar con\",\"Confirm rejection\":\"Confirmar el rechazo\",\"Confirm without Master Data setup\":\"Confirmar sin configurar los Datos maestros\",\"Confirm without adding SAF-T data\":\"Confirmar sin agregar datos SAF-T\",\"Confirmation\":\"Confirmación\",\"Confirmed\":\"Confirmado\",\"Contact\":\"Datos de contacto\",\"Contact first name\":\"Nombre de la persona de contacto\",\"Contact last name\":\"Apellidos de la persona de contacto\",\"ContactAccountManager\":\"\",\"Contacting tax authorities\":\"Contacto con las autoridades fiscales\",\"Contract Id\":\"ID de contrato\",\"Contract id\":\"ID del contrato\",\"Core Service\":\"Servicio básico\",\"Correspondence Address\":\"Dirección postal para correspondencia\",\"Countries\":\"Países\",\"Country\":\"País\",\"Country of birth\":\"País de nacimiento\",\"Country of incorporation\":\"País de constitución\",\"Country of registration\":\"País de registro\",\"Create Account\":\"Crear cuenta\",\"Create Order\":\"Crear orden\",\"Create your account\":\"Crear su cuenta\",\"Created Date\":\"Fecha de creación\",\"Created date\":\"Fecha de creación\",\"Currency\":\"Divisa\",\"Currency not found ({{id}})\":\"No se encontró la moneda ({{id}})\",\"Currently no IOSS or VAT service is available.\":\"Actualmente no se dispone de ningún servicio de IOSS ni de IVA.\",\"Data Upload\":\"Cargar\",\"Data Upload Finalized\":\"Carga finalizada\",\"DataUploaded\":\"Cargado\",\"DataVAT generated\":\"DATAVAT generados\",\"Date must be after {{date}}\":\"La fecha debe ser posterior a {{date}}\",\"Date must be before 2100-01-01\":\"La fecha debe ser anterior a 01-01-2100\",\"Date must be before {{date}}\":\"La fecha debe ser anterior a {{date}}\",\"Date must be bigger or equal than compliance period start date\":\"La fecha debe ser posterior o igual a la fecha de inicio del periodo de cumplimiento\",\"Date must be bigger or equal than restart period start date\":\"La fecha debe ser posterior o igual a la fecha de inicio del periodo de reinicio\",\"Date must be same or after {{date}}\":\"La fecha debe ser igual o posterior a {{date}}\",\"Date must be same or before {{date}}\":\"La fecha debe ser igual o anterior a {{date}}\",\"Date must be smaller or equal than compliance period end date\":\"La fecha debe ser anterior o igual a la fecha de finalización del periodo de cumplimiento\",\"Date of incorporation\":\"Fecha de constitución\",\"Date of registration at the Commercial Register\":\"Fecha de registro en el Registro de Comercio\",\"Declined\":\"Rechazado\",\"Deduct all Refund\":\"Deducir todos los reembolsos\",\"Default\":\"Por defecto\",\"Default vat rate types successfully saved\":\"Tipos de IVA predeterminados que se guardaron correctamente\",\"Delete\":\"Borrar\",\"Delete all services\":\"Borrar todos los servicios\",\"Deregistered\":\"\",\"Deregistration\":\"Anulación del registro\",\"Deregistration date\":\"Fecha de baja del registro\",\"Deregistration in progress\":\"\",\"Desucla Errors\":\"Desucla Errors\",\"Details\":\"Detalles\",\"Did you perform sales of goods and/or supplies of services before registering in Italy?\":\"¿Realizó ventas de bienes y/o prestaciones de servicios antes de registrarse en Italia?\",\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\":\"¿Realizó venta de productos o servicios antes de registrarse en Italia para los que habría sido necesario obtener un número de IVA italiano?\",\"Director\":\"Director\",\"Disabled\":\"Desactivado\",\"Distance sale threshold check\":\"Verificación de Umbral de ventas a distancia\",\"Distance sales above the threshold\":\"Ventas a distancia por encima del límite\",\"Do not agree\":\"No aceptar\",\"Do not choose this if you already have one EORI number in the EU.\":\"No seleccione esto si ya tiene un número EORI en la UE. Su solicitud será rechazada por el despacho de aduanas.\",\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\":\"No confunda el representante fiscal con su proveedor de servicios de cumplimiento con el IVA. El representante fiscal posee registro fiscal en Francia y actúa como su representante local. KPMG designará a un nuevo representante fiscal para usted y, para eso, debemos proporcionar el nombre del representante anterior.\",\"Do you have a Polish bank account?\":\"¿Tiene una cuenta bancaria polaca?\",\"Do you have a Spanish bank account?\":\"¿Tiene una cuenta bancaria española?\",\"Do you have a VAT Number?\":\"¿Tiene un número de IVA?\",\"Do you have an office and employee(s) in Italy?\":\"¿Tiene una oficina y empleados en Italia?\",\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\":\"¿Tiene algún número de IVA en otra país de la UE que sea diferente del número de IVA en el país de establecimiento?\",\"Do you have any fixed establishment in the EU?\":\"¿Tiene algún establecimiento permanente situado en la UE?\",\"Do you have current or previous IOSS number?\":\"¿Tiene un número IOSS actual o anterior?\",\"Document uploaded successfully\":\"Documento cargado con éxito\",\"Documents\":\"Documentos\",\"Documents signed\":\"Documentos firmados\",\"Documents uploaded successfully\":\"Documentos cargados con éxito\",\"Does the authorized signatory own more than 25% of the shares?\":\"¿El representante autorizado es titular de más del 25 % de las acciones?\",\"Don't have account yet?\":\"¿Aún no dispone de cuenta?\",\"Download\":\"Descargar\",\"Download Contract\":\"Descargar contrato\",\"Download Currencies\":\"Descargar divisas\",\"Download IOSS Template\":\"Descargar la Plantilla de IOSS\",\"Download PDF\":\"Descargar PDF\",\"Download SAF-T Template\":\"Descargar plantilla SAF-T\",\"Download SKUs\":\"Descargar códigos SKU\",\"Download VAT/OSS Template\":\"Descargar la Plantilla de IVA/OSS\",\"Download proof\":\"Descargar comprobante\",\"Draft\":\"Borrador\",\"Draft successfully approved\":\"El borrador se aprobó correctamente\",\"Draft successfully cancelled\":\"El borrador se canceló correctamente\",\"Draft successfully saved\":\"El borrador se guardó correctamente\",\"Driving License\":\"Permiso de conducir\",\"Due\":\"Pendiente\",\"E-filing\":\"Envío electrónico\",\"E.g. Amazon, eBay, your own webshop, etc.\":\"P. ej., Amazon, eBay, su propia tienda electrónica, etc.\",\"EORI\":\"EORI\",\"EORI number application in the EU\":\"Solicitud del número EORI en la UE\",\"EORI number application in the UK\":\"Solicitud del número EORI en el RU\",\"ESL\":\"ESL\",\"ESL Frequency\":\"Frecuencia de ESL\",\"EU VAT Number\":\"Número de IVA\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services.\":\"Las empresas con sede en la UE deben proporcionar un número de IVA válido en el país de establecimiento; si no, se les cargará el IVA por nuestros servicios. Las empresas fuera de la UE deben proporcionar un identificador fiscal local en el país de establecimiento.\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\":\"Las empresas con sede en la UE deben proporcionar un número de IVA válido en el país de establecimiento; si no, se les cargará el IVA por nuestros servicios. Para empresas no establecidas en la UE este campo es opcional.\",\"EU country where your goods are first imported to before selling to Germany\":\"País de la UE a donde se importan primero sus productos antes de venderlos a Alemania\",\"Edit\":\"Editar\",\"Edit SKU\":\"Editar SKU\",\"Edit companies\":\"Editar empresas\",\"Effective date of registration\":\"Fecha de entrada en vigor del registro\",\"Electronics/Computer/Office\":\"Electrónica/Ordenador/Oficina\",\"Email\":\"Correo electrónico\",\"Email already exists\":\"La dirección de correo electrónico ya existe\",\"Email change request sent to your new email address. Please check your new inbox\":\"Solicitud de cambio de correo electrónico enviada a su nueva dirección de correo electrónico. Revise su bandeja de entrada.\",\"Enabled\":\"Activado\",\"End Date\":\"Fecha de finalización\",\"Error\":\"Error\",\"Error occured\":\"Ocurrió un error\",\"ErrorAtTA\":\"\",\"ErrorReturnGen\":\"\",\"Est. Country type\":\"Tipo de país en el que se encuentra el establecimiento\",\"Estimated annual taxable supply (in EUR)\":\"Entregas imponibles anuales estimadas (en EUR)\",\"Estimated payable VAT in the first year in Germany (in EUR)\":\"IVA pagadero estimable durante el primer año en Alemania\",\"Estimated total profit in the first year in Germany (in EUR)\":\"Monto total estimado de ganancia en el primer año en Alemania (en EUR)\",\"Exempt\":\"Exento\",\"Existing VAT numbers\":\"Números de IVA existentes\",\"Exists\":\"Existe\",\"Expired\":\"Expirado\",\"Expires\":\"Expira\",\"Expiry date of the identification document\":\"Fecha de caducidad del documento de identificación\",\"Extend by month\":\"Extender un mes\",\"Extent of ownership interest\":\"Porcentaje de propiedad\",\"FAQ\":\"Preguntas frecuentes\",\"Failed\":\"Error\",\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\":\"Los familiares de la persona políticamente expuesta incluirán al cónyuge o pareja de hecho de la persona políticamente expuesta; a sus hijos biológicos o adoptados, hijastros, niños de crianza y sus respectivos cónyuges o parejas de hecho; a los padres biológicos, adoptivos, padrastros y padres de crianza de la persona políticamente expuesta.\",\"Fashion/Accessories/Jewellery\":\"Moda/Accesorios/Joyería\",\"Father's full name\":\"Nombre completo del padre\",\"Feedback saved successfully\":\"Los comentarios se guardaron con éxito\",\"Filing agent\":\"Agente de envío\",\"Filing extension\":\"Extensión de envío\",\"Fill out the Questionnaire\":\"Cumplimentar el cuestionario\",\"Final position\":\"Posición final\",\"Finalize Upload\":\"Finalizar carga\",\"Finalized\":\"Finalizado\",\"First Name of Proprietor\":\"Nombre del emprendedor\",\"First name\":\"Nombre\",\"Fiscal representation\":\"Representación fiscal\",\"Fixed Establishments\":\"Establecimientos permanentes\",\"Fixed establishments\":\"Establecimientos permanentes\",\"Food/Grocery\":\"Comida/Artículos de almacén\",\"For information only\":\"Solo para fines informativos\",\"Forgot your password?\":\"¿Ha olvidado su contraseña?\",\"FourMonthly\":\"Cuatrimestral\",\"From\":\"De\",\"From which country do you purchase the goods that you will sell in France?\":\"¿Desde qué país compra los productos que venderá en Francia?\",\"Full name\":\"Nombre completo\",\"GTU1\":\"suministro de bebidas alcohólicas\",\"GTU10\":\"suministro de edificios, estructuras y tierras\",\"GTU11\":\"servicios relacionados con el derecho de emisión de gases de efecto invernadero\",\"GTU12\":\"Servicios intangibles -sólo en el ámbito de la consultoría, la contabilidad, el derecho, la gestión, la educación o el marketing, los servicios relacionados con las sedes sociales, la publicidad, los estudios de mercado y las encuestas de opinión pública, los servicios en el ámbito de la investigación científica y el desarrollo\",\"GTU13\":\"Servicios de transporte y servicios de gestión de almacenes\",\"GTU2\":\"suministro de fueloil contemplado en los reglamentos de los impuestos especiales\",\"GTU3\":\"suministro de aceites lubricantes, lubricantes plásticos, etc.\",\"GTU4\":\"suministro de productos del tabaco, tabaco seco, líquido para cigarrillos electrónicos y productos innovadores en el sentido de la normativa sobre impuestos especiales\",\"GTU5\":\"suministro o venta de residuos, productos residuales\",\"GTU6\":\"suministro de dispositivos electrónicos y sus piezas así como materiales para estos dispositivos\",\"GTU7\":\"suministro de vehículos y/o piezas de vehículos de motor\",\"GTU8\":\"suministro de metales nobles y comunes\",\"GTU9\":\"suministro de medicinas y dispositivos médicos, productos medicinales y alimentos de propósito especial\",\"General VAT Advice\":\"Consejos generales sobre el IVA\",\"General VAT advice\":\"Consejos generales sobre el IVA\",\"Generate\":\"Generar\",\"Generated\":\"Generados\",\"Getting started with KPMG\":\"Empezar con KPMG\",\"Global Services\":\"Servicios globales\",\"Go to Master Data/Amazon SKUs\":\"Ir a Datos maestros/Códigos SKU de Amazon\",\"Guides and Tutorials\":\"Guías y Tutoriales\",\"Has decisive influence in the business\":\"Tiene influencia decisiva en el negocio\",\"Home country compliance\":\"Cumplimiento con IVA del país de origen\",\"Home/Garden/Tools\":\"Hogar/Jardín/Herramientas\",\"I Understand\":\"Entiendo\",\"I accept the Contract\":\"Acepto el Contrato\",\"I ask for and I explicitly consent to the following\":\"Solicito y doy mi consentimiento explícito a lo siguiente\",\"I plan to move to a new service provider\":\"Planeo moverme a un nuevo proveedor de servicios\",\"I plan to stop trading and de-register for VAT\":\"Planeo dejar de operar y anular el registro\",\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\":\"Doy mi consentimiento sin condiciones a KPMG Global Services Hungary (KGSH) para procesar y mantener mis datos personales, como se enumeran o mencionan en los términos de Protección de datos, aparte del registro actual de mi entidad con las Autoridades fiscales, para permitir a KGSH utilizar dichos datos para futuros registros, pero por un periodo de tiempo no superior a la fecha oficial de vencimiento/invalidez de dichos datos o durante un máximo de 10 años.\",\"IBAN\":\"IBAN\",\"IBAN of the Polish Bank\":\"IBAN del banco polaco\",\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\":\"IBAN significa Número internacional de cuenta bancaria. Es un código aceptado internacionalmente compuesto por 34 letras y números que ayudan a los bancos a procesar transferencias en todo el mundo. Si su banco no proporciona un IBAN, vuelva a añadir su número de cuenta cada día\",\"ID\":\"ID\",\"IOSS\":\"IOSS\",\"IOSS Compliance & Registration\":\"IOSS Cumplimiento & Registro\",\"IOSS Compliance Pay As You Ship\":\"Paga lo que envías Cumplimiento con IOSS\",\"IOSS Compliance Tier 1\":\"Cumplimiento con IOSS de Nivel 1\",\"IOSS Compliance Tier 2\":\"Cumplimiento con IOSS de Nivel 2\",\"IOSS Compliance Tier 3\":\"Cumplimiento con IOSS de Nivel 3\",\"IOSS Deregistration\":\"IOSS Anulación del registro\",\"IOSS Number\":\"Número de IOSS\",\"IOSS Registration\":\"Registro IOSS\",\"IOSS Registration Related Questions\":\"Preguntas relacionadas con el registro IOSS\",\"IOSS Registration and Compliance\":\"Registro y cumplimiento IOSS\",\"IOSS data template\":\"Plantilla de datos de IOSS\",\"IOSS deregistration\":\"Baja del registro de IOSS\",\"IOSS registration\":\"Registro de IOSS\",\"IOSS take over\":\"Relevo de IOSS\",\"Id\":\"Id\",\"Id is taken\":\"Este ID está ocupado\",\"Identification\":\"Identificación\",\"Identification document\":\"Documento de identificación\",\"Identification document number\":\"Número de identificación\",\"If the extent of ownership can be quantified.\":\"Si la propiedad puede cuantificarse.\",\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\":\"Si no está seguro de cómo responder una pregunta, póngase en contacto con nosotros por correo electrónico en {{- contactEmail}}.\",\"If you will use Amazon FBA, add the address of the German FBA warehouse.\":\"Utilizará Amazon FBA y la dirección del almacén FBA alemán.\",\"If your return does not contain any payable VAT, there is no action required from your end.\":\"Si su declaración de impuestos no contiene IVA a pagar, no es necesario que realice ninguna acción.\",\"Ignore and upload\":\"Ignorar\",\"In Progress\":\"En progreso\",\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\":\"En España, el IVA solo puede abonarse desde una cuenta bancaria española. Cuando desarrolle su actividad en España, debe utilizar el servicio de soporte de pagos de KPMG para garantizar que los pagos y declaraciones del IVA se procesen correctamente.\",\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\":\"En el año de registro. Entrega imponible significa que tiene ventas locales y/o ventas a distancia que ascienden a un importe superior al valor límite establecido en el registro.\",\"In which country do you keep the goods that you will later sell in France?\":\"¿En qué país almacena los productos que luego venderá en Francia?\",\"In which country was your FedEx or TNT account created?\":\"¿En qué país fue creada su cuenta FedEx o TNT?\",\"Incorrect transaction period. Transaction period cannot be after the reporting period.\":\"Periodo de transacción incorrecto. El periodo de transacción no puede estar después del periodo de informe.\",\"Individual\":\"Empresario individual\",\"Insufficient credit\":\"Crédito insuficiente\",\"Intrastat\":\"Intrastat\",\"Intrastat Frequency\":\"Frecuencia de Intrastat\",\"Intrastat In\":\"Intrastat para llegadas\",\"Intrastat Out\":\"Instrastat para envíos\",\"Intrastat Report\":\"Informe Intrastat\",\"Intrastat Report In\":\"Informe Intrastat para llegadas\",\"Intrastat Report Out\":\"Informe Instrastat para envíos\",\"Intrastat Reporting\":\"Informe Intrastat\",\"Intrastat in\":\"Intrastat para recepciones\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat es un informe estadístico que registra el volumen de comercio de bienes entre miembros de la UE y empresas en ellos. El Informe Instrastat para envíos debe presentarse solo cuando se alcance cierta cantidad de envíos de bienes en ese determinado país. Consulte nuestras Guías y Tutoriales para obtener más información sobre los umbrales para la notificación de Instrastat.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat es un informe estadístico que registra el volumen de comercio de bienes entre miembros de la UE y empresas en ellos. El Informe Instrastat para envíos debe presentarse solo cuando se alcance cierta cantidad de envíos de bienes en ese determinado país. Consulte nuestras Guías y Tutoriales para obtener más información sobre los umbrales para la notificación de Instrastat.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat es un informe estadístico que registra el volumen de comercio de bienes entre miembros de la UE y empresas en ellos. El Informe Instrastat para llegadas debe presentarse solo cuando se alcance cierta cantidad de llegadas de bienes en ese determinado país. Consulte nuestras Guías y Tutoriales para obtener más información sobre los umbrales para la notificación de Instrastat.\",\"Intrastat out\":\"Intrastat para envíos\",\"Intrastat threshold check\":\"Verificación de Umbral de Intrastat\",\"Invalid\":\"No válido\",\"Invalid ({{-fieldName}})\":\"No válido ({{-fieldName}})\",\"Invalid Data\":\"Datos no válidos\",\"Invalid VAT number, VAT will be charged for our services.\":\"Número de IVA no válido, se cargará el IVA por nuestros servicios.\",\"Invalid data\":\"Datos no válidos\",\"Invalid email format\":\"Formato de correo electrónico no válido\",\"Invalid state, please reload order\":\"Inválido, recargue la orden\",\"Invalid validation reports\":\"\",\"Invite Client\":\"Invitar Usuario\",\"Ioss Compliance\":\"IOSS Cumplimiento\",\"Is the authorized signatory the only director entitled to represent the company?\":\"¿Es el representante autorizado el único consejero facultado para representar a la empresa?\",\"Is the beneficial owner a family member of the politically exposed person?\":\"¿El beneficiario active es familiar de la persona políticamente expuesta?\",\"Is the beneficial owner a politically exposed person?\":\"¿Es el propietario legítimo una persona expuesta políticamente?\",\"Is the beneficial owner known to be a close associate of the politically exposed person?\":\"¿El beneficiario active es conocido como un colaborador cercano de la persona políticamente expuesta?\",\"Is the correspondence address the same as the registered business address?\":\"¿Es la dirección postal para correspondencia la misma que la dirección de la empresa registrada?\",\"Is the home address same as the registered business address?\":\"¿Es la dirección postal la misma que la dirección de la empresa registrada?\",\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\":\"¿Cotiza su empresa (o una filial de su empresa) en un mercado de valores regulado?\",\"Is your business registered for OSS?\":\"¿Su empresa está registrada para la OSS?\",\"It does not apply for the year of registration, only for previous years\":\"No se aplica al año de registro, solo años anteriores\",\"It looks like there is no account with this email address.\":\"Parece que no hay ninguna cuenta con esta dirección de correo electrónico.\",\"Italian fiscal code\":\"Código fiscal italiano\",\"Item identifier\":\"SAF-T Identificador de Articulo\",\"KG, GmbH & Co.Kg\":\"KG, GmbH & Co.Kg\",\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\":\"KPMG Global Services Hungary Ltd. (Número de inscripción de la empresa: 24350309-2-41), una firma miembro de la organización global de KPMG de firmas miembros independientes afiliadas a KPMG International Limited, una compañía privada inglesa limitada por garantía. Todos los derechos reservados.\",\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\":\"KPMG Global Services Hungary Ltd., una firma miembro de la organización global de KPMG de firmas miembros independientes afiliadas a KPMG International Limited, una compañía privada inglesa limitada por garantía. Todos los derechos reservados.\",\"KPMG User Guides\":\"KPMG Guías de usuario\",\"Kitchen/Dining\":\"Cocina/Gastronomía\",\"LLP, GbR\":\"LLP, GbR\",\"Last Name of Proprietor\":\"Apellido del emprendedor\",\"Last name\":\"Apellidos\",\"Legal\":\"Legal\",\"Legal Entity\":\"Entidad legal\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"{{- a_paragraph_start}}{{- a_bold_start}}Entidad legal:{{- a_bold_end}} PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Unidad {{- a_paragraph_middle}}{{- a_bold_start}}Organizativa sin Forma Jurídica:{{- a_bold_end}} General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.{{- a_paragraph_end}}\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"{{- a_paragraph_start}}{{- a_bold_start}}Entidad legal:{{- a_bold_end}} PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Unidad {{- a_paragraph_middle}}{{- a_bold_start}}Organizativa sin Forma Jurídica:{{- a_bold_end}} General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.{{- a_paragraph_end}}\",\"Legal status\":\"Situación jurídica\",\"Loading\":\"Cargando\",\"Local Tax Number Saved\":\"Número de identificación fiscal guardado\",\"Local VAT Number\":\"Identificador fiscal local\",\"Local tax number\":\"Número de identificación fiscal local\",\"Logout\":\"Cerrar sesión\",\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\":\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\",\"MWSAuthToken\":\"MWSAuthToken\",\"Main Data\":\"Datos principales\",\"Manage Services\":\"Gestionar servicios\",\"Manage services\":\"Gestionar servicios\",\"Managing User Accounts\":\"Cómo administrar las cuentas de usuario\",\"Manual upload\":\"Carga manual\",\"Master Data\":\"Datos maestros\",\"Master Data Setup\":\"Configuración de datos maestros\",\"Master data\":\"Datos maestros\",\"Master data is complete. Please submit data.\":\"Se completaron los Datos maestros. Envíe los datos.\",\"Max length: {{maxLength}}\":\"Longitud máxima: {{maxLength}}\",\"Maximum {{max}} length\":\"Longitud máxima {{max}}\",\"Merchant Id\":\"Identificación del vendedor\",\"Middle\":\"Media\",\"Middle name (if any)\":\"Segundo nombre (si lo tuviera)\",\"Minimum {{min}} length\":\"Longitud mínima {{min}}\",\"Mode of Refund\":\"Modo de reembolso\",\"Monthly\":\"Mensual\",\"Monthly compliance end date must be bigger than compliance end date\":\"La fecha límite de la suscripción mensual debe ser posterior a la fecha límite de suscripción\",\"Monthly country compliance\":\"Cumplimiento mensual de los países\",\"Mother's birth name\":\"Nombre de nacimiento de la madre\",\"Mr\":\"Sr.\",\"Ms\":\"Sra.\",\"Music/Movies/Games\":\"Música/Películas/Juegos\",\"Must be a valid email address\":\"Debe ser una dirección de correo electrónica válida\",\"Must be bigger than Start Date\":\"Date must be later than start date.\\tLa fecha debe ser posterior a la fecha de inicio.\",\"Must be lower than the first day of the compliance start month\":\"Debe ser anterior al primer día del mes de inicio de cumplimiento\",\"Must be smaller or equal with the current or would-be compliance end date\":\"Debe ser anterior o igual a la fecha de finalización del cumplimiento actual o futuro\",\"Must contain the name of the business, registered address of business, name of authorized signatory.\":\"Debe incluir el nombre comercial, el domicilio social y el nombre del representante autorizado.\",\"N/A\":\"N/A\",\"Name\":\"Nombre\",\"Name at birth\":\"Nombre de nacimiento\",\"Name of Authority keeping the Commercial Register\":\"Nombre de la autoridad a cargo del Registro de Comercio\",\"Name of previous fiscal representative in France\":\"Nombre del anterior representante fiscal en Francia.\",\"Name of the Polish Bank\":\"Nombre del banco polaco\",\"Name of the commercial register in the country of establishment\":\"Nombre del registro comercial en el país de establecimiento\",\"Name of the regulated stock market\":\"Nombre del mercado de valores regulado\",\"Name of the respective Tax Authority in country of establishment\":\"Nombre de su respectiva Autoridad fiscal en el país de establecimiento\",\"Name the Online Marketplaces where you sell\":\"Nombre de los Mercados electrónicos en los que vende\",\"Nationality\":\"Nacionalidad\",\"Natural Person\":\"Persona física\",\"New\":\"Nuevo\",\"New company\":\"Nueva empresa\",\"New email address\":\"Nuevo correo electrónico\",\"New label\":\"Nueva etiqueta\",\"New password\":\"Contraseña nueva\",\"New sign up\":\"Nuevo inicio de sesión\",\"Next\":\"Siguiente\",\"No\":\"No\",\"No banking information is required to appoint KPMG as your tax agent in the selected countries\":\"No se requiere información bancaria para designar a KPMG como su agente fiscal en los países seleccionados.\",\"No business owner has been added yet.\":\"No se ha agregado ningún dueño de la empresa.\",\"No document generated\":\"No se ha generado ningún documento\",\"No existing VAT number is added yet\":\"No se ha añadido aún ningún número de IVA existente\",\"No payment needed\":\"No es necesario pagar\",\"No result found\":\"No se encontraron resultados\",\"No turnover has been added yet.\":\"No se ha agregado ningún movimiento\",\"None\":\"Ninguno\",\"Not Applicable\":\"No aplicable\",\"Not Available\":\"No disponible\",\"Not authenticated\":\"No se autenticó\",\"Not exists\":\"No existe\",\"Not found\":\"No se encontró\",\"Not to be submitted proof\":\"\",\"NotToBeSubmitted\":\"\",\"Notifications\":\"Notificaciones\",\"Number required\":\"Número necesario\",\"OHG\":\"OHG\",\"OSS\":\"\",\"OSS Information\":\"Información de OSS\",\"OSS compliance\":\"Cumplimiento con OSS\",\"OSS deregistration\":\"Cancelación del registro de OSS\",\"OSS registration\":\"Registro de OSS\",\"OSS take over\":\"Relevo de OSS\",\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\":\"OSS (por sus siglas en inglés): Régimen de Ventanilla Única de la Unión Europea para informar el IVA de las ventas a distancia a una única autoridad tributaria.\",\"Off\":\"Desactivado\",\"Ok\":\"OK\",\"On\":\"Activado\",\"On your own\":\"Por su cuenta\",\"Only Latin characters are allowed\":\"Solo se permiten caracteres latinos\",\"Order Details\":\"Detalle de la Orden\",\"Order History\":\"Historial de pedido\",\"Order Summary\":\"Resumen de pedidos\",\"Order does not confirmed yet.\":\"\",\"Order not found\":\"No se encontró el pedido\",\"Order successfully canceled\":\"Pedido cancelado con éxito\",\"Orders & Payments\":\"Pedidos y pagos\",\"Organizational Unit Without Legal Form\":\"Unidad Organizativa sin Forma Jurídica\",\"Other\":\"Otros\",\"Other VAT Related Questions\":\"Otras preguntas relacionadas con el IVA\",\"Owner\":\"Titular\",\"Owner of the Bank account\":\"Titular de la cuenta bancaria\",\"Owner of the Polish Bank Account\":\"Titular de la cuenta bancaria polaca\",\"Owns at least 25% of the business or the voting rights\":\"Posee al menos el 25 % del negocio o de los derechos de voto\",\"Paid by client\":\"Pagado por el cliente\",\"Paid to TA\":\"Pagado a AT\",\"Partnership\":\"Sociedad colectiva\",\"Passport\":\"Pasaporte\",\"Passport/ID of the legal representative of the business\":\"Pasaporte/ID del representante legal de la empresa\",\"Password\":\"Contraseña\",\"Password Recovery\":\"Recuperación de la contraseña\",\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\":\"La contraseña debe tener como mínimo 8 dígitos y contener tres de los cuatro elementos siguientes: mayúsculas, minúsculas, caracteres alfanuméricos, caracteres especiales.\",\"Password reset email sent. Please check your inbox.\":\"Se ha enviado un correo electrónico para restablecer la contraseña. Compruebe su bandeja de entrada.\",\"Password successfully reset\":\"La contraseña se ha restablecido correctamente.\",\"Pay\":\"Pagar\",\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\":\"Paga lo que envías: 10 EUR/ mes hasta 5 paquetes, más 2 EUR por paquete\",\"Pay order\":\"Pagar pedido\",\"Pay with\":\"Pagar mediante\",\"Payment Status\":\"Estado del pago\",\"Payment due\":\"Vencimiento del pago\",\"Payment proof\":\"Comprobante de pago\",\"Payment proof successfully uploaded\":\"El comprobante de pago se cargó correctamente\",\"Payment reference\":\"Referencia de pago\",\"Payment status\":\"Estado de pago\",\"Payment status changed successfully\":\"El estado de pago se modificó correctamente\",\"Payment successful! We will redirect you in a few seconds.\":\"¡Pago realizado con éxito! Lo redirigiremos en unos segundos.\",\"Payments\":\"Pagos\",\"Pending\":\"Pendiente\",\"Period\":\"Periodo\",\"Person considered as beneficial owner\":\"Persona considerada beneficiario activo\",\"Personal Identity card\":\"Documento de identificación personal\",\"Phone\":\"Teléfono\",\"Phone Number\":\"Número de teléfono\",\"Please add at least one business owner.\":\"Añada al menos un Propietario de la empresa\",\"Please add at least one fixed establishment.\":\"Por favor, añada al menos un establecimiento permanente.\",\"Please add the Polish bank details\":\"Agregue los datos del banco polaco\",\"Please add the address where your accounting records are kept\":\"Agregue el domicilio donde se mantienen sus registros contables\",\"Please add the address where your accounting records are kept.\":\"Agregue el domicilio donde se mantienen sus registros contables.\",\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\":\"Añada el código de país (p. ej., +34 para España, +86 para China, etc.)\",\"Please add the e-mail address where you received the invitation e-mail\":\"Añada la dirección de correo electrónico en la que ha recibido el mensaje de correo electrónico de invitación.\",\"Please add the home address\":\"Agregue el domicilio de residencia\",\"Please attach a file that will help us understand why you think this return is incorrect.\":\"\",\"Please confirm your email address.\":\"Confirme su dirección de correo electrónico.\",\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\":\"Consulte con su administrador de cuenta sobre el proceso de anulación de registro y las tasas. Tenga en cuenta que es posible que deba extender los servicios y continuar presentando declaraciones hasta que se complete la anulación del registro.\",\"Please contact your account manager via email to manage your services.\":\"\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\":\"Descargue el/los documento/s enumerados aquí, imprímalo/s, haga que lo/s firme la persona que tiene la firma autorizada, escanéelo/s y cárguelo/s. Nosotros lo/s revisaremos y, si todo es correcto, deberá enviarlo/s por correo a nuestra dirección.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\":\"Descargue el/los documento/s enumerados aquí, imprímalo/s, haga que lo/s firme la persona con firma autorizada, escanéelo/s y cárguelo/s. Nosotros lo/s revisaremos. No necesita que enviarlo/s por correo, ya que podemos usar las copias firmadas.\",\"Please enter a valid year.\":\"Ingrese un año válido.\",\"Please enter only the tax number without country prefix\":\"Por favor, introduzca sólo el número de identificación fiscal sin el prefijo del país\",\"Please enter text\":\"Ingrese el texto\",\"Please give a detailed reason for the rejection.\":\"Indique el motivo del rechazo.\",\"Please indicate the net value of the distance sales in Italy for each year.\":\"Indique el valor neto de las ventas a distancia en Italia de cada año.\",\"Please note that any changes you made will be lost if you switch to another language.\":\"Tenga en cuenta que cualquier cambio que haya hecho se perderá si cambia de idioma.\",\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\":\"Tenga en cuenta que su declaración se enviará solo si el intermediario de IVA recibe el pago antes del plazo de envío.\",\"Please provide a valid e-mail address\":\"Proporcione una cuenta de correo electrónico válida\",\"Please provide a valid e-mail address.\":\"Proporcione una dirección válida de correo electrónico.\",\"Please select at least one company\":\"Seleccione al menos una empresa\",\"Please select at least one reason\":\"Seleccione al menos una razón\",\"Please select the type of products you sell\":\"Especifique el tipo de producto que vende\",\"Please upload VAT ID certificate in Italy\":\"Por favor, cargue su certificado de identificación del IVA en Italia\",\"Please upload a bank certificate confirming your banking detals\":\"Cargue un certificado bancario que confirme sus datos bancarios\",\"Please upload an official certificate confirming your business activities\":\"Cargue un certificado oficial que confirme sus actividades empresariales\",\"Please upload the VAT ID certificate in the country of establishment\":\"Cargue el certificado del número de IVA en el país de establecimiento\",\"Please upload the photocopy of the identification document\":\"Cargue la fotocopia de su documento de identificación\",\"Please upload your Articles of Association\":\"Cargue sus Estatutos\",\"Please use only numbers.\":\"Utilice solo números.\",\"Please use the link from the invitation email!\":\"¡Use el enlace del mensaje de correo electrónico de invitación!\",\"PoA revoked\":\"\",\"Polish Bank Information\":\"Información bancaria polaca\",\"Polish Banking Information\":\"Información bancaria polaca\",\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\":\"Por “persona políticamente expuesta” nos referimos a la persona física a quien se le confían las funciones públicas destacadas o a quien se le han confiado las funciones públicas destacadas dentro del último año previo a esta medida de identificación.\",\"Position in free form\":\"Otros\",\"Position in the company\":\"Cargo en la empresa\",\"Postal/Zip code\":\"Código postal\",\"Preferred language\":\"Idioma preferido\",\"Previous\":\"Anterior\",\"Price\":\"Precio\",\"Price must be lower\":\"El precio debe ser menor\",\"Pricing\":\"Precio\",\"Primary Vat Frequency\":\"Frecuencia de Declaracion de IVA\",\"PrimaryVAT\":\"Declaración de IVA\",\"Privacy\":\"Privacidad\",\"Processing\":\"Procesando\",\"Product Id\":\"Identificación del producto\",\"Province\":\"Provincia\",\"Quarterly\":\"Trimestral\",\"QuarterlyShifted1\":\"Trimestre desplazado 1\",\"QuarterlyShifted2\":\"Trimestre desplazado 2\",\"Rate type\":\"Tipo de Tasa de IVA\",\"Read our guide how to automate transactions with Amazon:\":\"Lea nuestra guía para saber cómo automatizar el suministro de datos con Amazon:\",\"Reason of Rejection\":\"Motivo del rechazo\",\"Reconfirm Upload\":\"Volver a confirmar carga\",\"Reduced\":\"Reducida\",\"RefusedByClient\":\"Rechazado por cliente\",\"Regenerate\":\"Regenerar\",\"Register number of your business at the Commercial Register\":\"Número de registro de su empresa en el Registro de Comercio\",\"Registration number\":\"Número de registro\",\"Registration number of your business\":\"Número de registro de su empresa\",\"Reject\":\"Rechazar\",\"Rejected\":\"\",\"Remove\":\"Eliminar\",\"Renew Country\":\"Renovar países\",\"Renew for one year\":\"Renovar por un año\",\"Reopen\":\"Reabrir\",\"Required\":\"Obligatorio\",\"Required by post\":\"Se requiere enviar copia por correo\",\"Required electronically only\":\"Solo se requiere copia electrónica\",\"Required if automated\":\"Necesario en caso de automatización\",\"Required length: {{length}}\":\"Longitud requerida: {{length}}\",\"Resend\":\"Reenviar\",\"Reset Password\":\"Restablecer contraseña\",\"Reset filters\":\"Restablecer filtros\",\"Restart date must be bigger than or equal to compliance end date\":\"La fecha de reinicio de la suscripción debe ser posterior a la fecha final de suscripción o igual a esta\",\"Retrospective\":\"Retrospectivo\",\"Retrospective Return\":\"Declaración retrospectiva\",\"Retrospective return\":\"Devolución retrospectiva\",\"Return Library\":\"Biblioteca\",\"Return and Refund\":\"Devolución y reembolso\",\"Return and Refund plus MFN\":\"Devolución y reembolso más MFN\",\"Return cannot be submitted after submission due date\":\"La declaración no puede presentarse después de la fecha de vencimiento de la entrega\",\"Return documents\":\"Documentos de declaración\",\"Return gen due\":\"Vencimiento de la generación de devolución\",\"Return to approved\":\"Devolución para aprobar\",\"Return type\":\"Tipo de devolución\",\"ReturnGenerated\":\"Declaración generada\",\"Revision\":\"Corrección\",\"Revoking PoA\":\"\",\"SAF-T\":\"SAF-T\",\"SAF-T Compliance\":\"Cumplimiento con SAF-T\",\"SAF-T reporting\":\"Informe SAF-T\",\"SAS\":\"SAS\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\":\"El SWIF y el BIC son identificadores únicos del banco en una transacción internacional que garantizan que el dinero vaya al lugar correcto. Su banco puede ayudarle a encontrar el SWIF/BIC correcto.\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \":\"El SWIF y el BIC son identificadores únicos del banco en una transacción internacional que garantizan que el dinero vaya al lugar correcto. Su banco puede ayudarle a encontrar el SWIF/BIC correcto.\",\"SWIFT/BIC\":\"SWIFT/BIC\",\"SWIFT/BIC of the Polish Bank\":\"SWIFT/BIC del banco polaco\",\"Save\":\"Guardar\",\"Saved successfully\":\"Guardado con éxito\",\"Saving\":\"Guardado\",\"Scope coverage\":\"Cobertura de alcance\",\"Secondary Vat Frequency\":\"Frecuencia de declaracion anual de IVA\",\"SecondaryVAT\":\"Declaración anual de IVA\",\"See FAQ for definition of beneficial owner\":\"Consulte las Preguntas Frecuentes para ver la definición de “beneficiario activo”\",\"See FAQ for definition of beneficial owner.\":\"Consulte las Preguntas Frecuentes para ver la definición de “beneficiario activo”\",\"Select New Tier\":\"Seleccionar Nivel nuevo\",\"Select additional services\":\"Seleccionar servicios adicionales\",\"Select countries, where you would like to extend KPMG engagement by 1 year\":\"Seleccione los países para los que desea extender la cooperación con KPMG por un año adicional.\",\"Select countries, where you would like to start KPMG engagement\":\"Seleccione los países para los que desea comenzar la cooperación con KPMG.\",\"Select country\":\"Seleccionar país\",\"Select the country of OSS registration\":\"Seleccione el país de registro de OSS\",\"Select the country where the warehouse is located where you keep your goods before selling in/to France\":\"Seleccione el país donde se encuentra la bodega donde almacena sus productos antes de venderlos en/para Francia\",\"Select the start date from when you want KPMG to submit your VAT returns.\":\"Seleccionar la fecha de inicio a partir de la cual quiere que KPMG presente sus declaraciones de IVA.\",\"Select the type of legal entity\":\"Seleccione el tipo de entidad legal\",\"Select the type of your business entity\":\"Seleccione su tipo de entidad empresarial\",\"Selected companies\":\"Empresas seleccionadas\",\"Self Revision / Retrospective Returns\":\"\",\"Self revision\":\"Autorrevisión\",\"Seller Accounts\":\"Cuentas del vendedor\",\"Seller account\":\"Cuenta de vendedor\",\"Send email\":\"Enviar correo electrónico\",\"Send invitation\":\"Enviar invitación\",\"Sent To Return Generation\":\"Enviado a generación\",\"Sent to TA\":\"Enviado a la autoridad impositiva\",\"SentToTA\":\"\",\"Service Renewal\":\"Renovación del servicio\",\"Service Selection\":\"Selección de servicio\",\"Service detail\":\"Detalles del servicio\",\"Service expiration date\":\"Fecha de vencimiento del servicio\",\"Service expiration:\":\"Vencimiento de servicio:\",\"Service quality\":\"Calidad de servicio\",\"Service start date\":\"\",\"Services\":\"Servicios\",\"Set Password\":\"Establecer contraseña\",\"Share percentage\":\"Porcentaje de acciones\",\"Shareholder type\":\"Tipo de propietario de empresa\",\"Show All\":\"Mostrar todo\",\"Show inactive services\":\"Mostrar servicios inactivos\",\"Show only missing data\":\"Mostrar solo los datos que faltan\",\"Showing {{firstItem}}-{{lastItem}}\":\"Mostrando {{firstItem}}-{{lastItem}}\",\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\":\"Mostrando {{firstItem}}-{{lastItem}} de {{itemCount}}\",\"Sign in\":\"Iniciar sesión\",\"Sign in to your account\":\"Inicie sesión en su cuenta\",\"Signed\":\"Firmado\",\"Signed documents need to be uploaded\":\"Los documentos firmados deben cargarse\",\"SixMonthly\":\"Semestral\",\"Sku\":\"SKU\",\"Sku already exists ({{id}})\":\"El SKU ya existe\",\"Sku not found ({{id}})\":\"No se encontró el SKU\",\"SkuId\":\"SKU\",\"Sole trader's first name\":\"Nombre del emprendedor\",\"Sole trader's last name\":\"Apellido del emprendedor\",\"Something went wrong\":\"Algo ha salido mal\",\"Source\":\"Fuente\",\"Spanish VAT Payment Service\":\"Servicio del pago del IVA español\",\"Spanish bank account\":\"Cuenta bancaria española\",\"Specialist VAT Advice\":\"Asesoramiento especializado sobre IVA\",\"Specialist VAT advice\":\"Asesoramiento especializado sobre IVA\",\"Sporting goods/Outdoors\":\"Productos deportivos/Aire libre\",\"Standard\":\"Estandar\",\"Standard2\":\"Estandar 2\",\"Start Date\":\"Fecha de inicio\",\"Start Questionnaire\":\"Iniciar cuestionario\",\"Start date\":\"Fecha de inicio\",\"Start date of representation by KPMG\":\"Fecha de inicio de la representación por KPMG\",\"Start date of storing goods in Germany\":\"Fecha de inicio de almacenamiento de productos en Alemania\",\"Started\":\"Iniciado\",\"Starting date of intrastat in\":\"Fecha de inicio de Intrastat para llegadas\",\"Starting date of intrastat out\":\"Fecha de inicio de Intrastat para salidas \",\"Statement\":\"Declaración\",\"Status\":\"Estado\",\"Status changed successfully\":\"El estado se cambió correctamente\",\"Status updated to:\":\"Estado actualizado a:\",\"Status updated to: \":\"Estado actualizado a:\",\"Street\":\"Calle\",\"Street name\":\"Nombre de la calle\",\"Street number\":\"Número de la calle\",\"Sub-total\":\"Subtotal\",\"Submission due\":\"Vencimiento de envío\",\"Submission proof\":\"\",\"Submit\":\"Enviar\",\"Submitted\":\"Presentado\",\"SubmittedByClient\":\"Presentado por cliente\",\"Subscribe\":\"\",\"Subtotal\":\"Subtotal\",\"Successfully done\":\"Realizado correctamente\",\"Summary\":\"Resumen\",\"SuperReduced\":\"Super reducido\",\"SuperReduced2\":\"Super reducido 2\",\"Tax\":\"Impuestos\",\"Tax Identifier\":\"Identificador de impuestos\",\"Tax certificate\":\"Certificado fiscal\",\"Thank you for signing up for KPMG registration and compliance services.\":\"Gracias por darse de alta en los servicios de registro y cumplimiento de KPMG.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\":\"El informe de transacción de IVA de Amazon no incluye ningún detalle de devolución en caso de transacciones MFN. Al seleccionar esta opción de reembolso, acepta el riesgo de que las autoridades impositivas intenten impugnar la deducción de IVA en caso de una auditoría. De manera alternativa, las notas de crédito MFN pueden proporcionarse en los archivos de plantilla de KPMG.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \":\"El informe de transacción de IVA de Amazon no incluye ningún detalle de devolución en caso de transacciones MFN. Al seleccionar esta opción de reembolso, acepta el riesgo de que las autoridades impositivas intenten impugnar la deducción de IVA en caso de una auditoría. De manera alternativa, las notas de crédito MFN pueden proporcionarse en los archivos de plantilla de KPMG.\",\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\":\"La información anterior puede compartirse con otra empresa de KPMG si la empresa establece una relación contractual con dicha empresa de KPMG que esté sujeta a la identificación del cliente.\",\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\":\"Parece que el número de cuenta no es válido. Por favor, introduzca un número de cuenta FedEx o TNT válido.\",\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\":\"El representante autorizado está debidamente autorizado para firmar y actuar legalmente en representación de la sociedad. Añada al menos un signatario autorizado.\",\"The below services are about to expire, please go to Services menu and extend your subscription. If you don’t want to extend these services, please leave a feedback.\":\"Los servicios que se encuentran a continuación están a punto de caducar. Vaya a la opción Servicios y extienda su suscripción. Si no quiere extender estos servicios, deje un comentario.\",\"The business has a natural person as beneficial owner\":\"La empresa tiene una persona natural como beneficiario activo\",\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\":\"El cálculo de los periodos retrospectivos es crucial para la preparación de los documentos de registro en Italia. Debe proporcionar a KPMG lo antes posibles los datos de sus operaciones que cubran periodos de notificación pasados. Sin ellos, el proceso de registro para el IVA en Italia podría retrasarse.\",\"The client identification will have to be repeated if no agreement is given.\":\"La identificación del cliente deberá repetirse si no se alcanza un consentimiento.\",\"The e-mail address and password do not match.\":\"La dirección de correo electrónico y la contraseña no coinciden.\",\"The executive officer of the business must be considered as the beneficial owner\":\"El CEO de la empresa debe considerarse el beneficiario activo\",\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner.\":\"La identificación del beneficiario activo es una obligación establecida por ley con el propósito de prevenir y combatir el lavado de dinero y el terrorismo financiero. Agregue a todos los beneficiarios activos.\",\"The last user of the company cannot be removed\":\"No se puede eliminar el último usuario de la empresa\",\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\":\"El número de identificación fiscal local (o Steuernummer) es un número de identificación emitido por las Autoridades fiscales de Alemania cuando se registra como contribuyente. No confunda el número de identificación fiscal con el número de IVA. El número de identificación fiscal se usa como referencia de pago cuando transfiere el monto del IVA.\",\"The materials available here cover multiple topics in a detailed way.\":\"Los materiales disponibles aquí cubren múltiples temas de forma detallada.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\":\"El precio mostrado está basado en la información de volumen facilitada por usted. Nos reservamos el derecho a cambiar su nivel y a cargar la diferencia en base a sus envíos reales. Si no paga a tiempo el importe adicional, su contrato podrá rescindirse.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \":\"El precio mostrado está basado en la información de volumen facilitada por usted. Nos reservamos el derecho a cambiar su nivel y a cargar la diferencia en base a sus envíos reales. Si no paga a tiempo el importe adicional, su contrato podrá rescindirse.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\":\"El derecho a deducir IVA en los casos de reembolso donde los bienes no se devuelven debe considerarse según cada caso particular y KPMG no puede llevar a cabo la evaluación. Por tanto, de manera predeterminada, KPMG solo deduce IVA cuando hay una correspondiente devolución de bienes y la deductibilidad del IVA es clara. Al seleccionar la opción DEDUCIR TODOS LOS REEMBOLSOS, deduciremos todos los reembolsos que han tenido lugar en un mes en particular y usted acepta el riesgo de que las autoridades impositivas intenten impugnar la deducción del IVA en caso de auditoría.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\":\"El derecho a deducir IVA en los casos de reembolso donde los bienes no se devuelven debe considerarse según cada caso particular y KPMG no puede llevar a cabo la evaluación. Por tanto, de manera predeterminada, KPMG solo deduce IVA cuando hay una correspondiente devolución de bienes y la deductibilidad del IVA es clara. Esta es la opción predeterminada que usamos para el cumplimiento de las obligaciones del IVA.\",\"The two passwords must be the same.\":\"Las dos contraseñas deben ser iguales.\",\"The value must match the required pattern\":\"El valor debe coincidir con el esquema requerido\",\"The value must not match the required pattern\":\"El valor no debe coincidir con el esquema requerido\",\"There is no action required on your side.\":\"No es necesario que realice ninguna acción.\",\"There is no file uploaded for the current revision. Please reupload the file.\":\"No se cargó ningún archivo para esta sesión. Cargue un archivo.\",\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\":\"Se trata de un identificador exclusivo del vendedor en Amazon, normalmente un código de 13-14 caracteres, p. ej., A123456789BCD\",\"This is an individual number in the commercial register document.\":\"Este es un número individual en el documento de registro comercial\",\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\":\"La tasa de cumplimiento de IOSS mensual se cobrará aparte\",\"Ticker symbol of the listed entity\":\"Símbolo bursátil de la entidad cotizada\",\"Tier 1: Up to 500 packages in a 12 month period\":\"Nivel 1: Hasta 500 paquetes en un período de 12 meses.\",\"Tier 2: Up to 2500 packages in a 12 month period\":\"Nivel 2: Hasta 2500 paquetes en un período de 12 meses.\",\"Tier 3: Unlimited packages in a 12 month period\":\"Nivel 3: Paquetes ilimitados en un período de 12 meses.\",\"Title\":\"Tratamiento\",\"To\":\"A\",\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\":\"Para empezar, deberá proporcionar ciertos datos sobre su negocio completando el cuestionario del vendedor en las páginas siguientes. Dicha información es necesaria para establecerle como cliente KPMG, emitir su factura y registrarle. Debe completar cada página antes de pasar a la siguiente. Podrá revisar sus respuestas antes de enviarlas.\",\"Total\":\"Total\",\"Total fee\":\"Cuota total\",\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\":\"La tarifa total incluye la tarifa de registro y las tarifas mensuales de cumplimiento hasta el volumen de envío del paquete seleccionado.\",\"Toys/Kids/Baby\":\"Juguetes/Niños/Bebés\",\"Trading name\":\"Nombre comercial\",\"Trading name (If different from company name)\":\"Nombre comercial (en caso de ser distinto al nombre de la compañía)\",\"Transactional data\":\"\",\"Transactions\":\"Transacciones\",\"Translation\":\"Traducción\",\"Translation in progress\":\"Traducción en curso\",\"Type\":\"Tipo\",\"Type at least 2 characters\":\"Escriba al menos 2 caracteres\",\"Type at least two characters for either email or company\":\"Ingrese al menos dos caracteres para la dirección de correo electrónico o el nombre de la empresa\",\"Type of identification document\":\"Tipo de documento de identificación\",\"Type of ownership interest\":\"Tipo de participación patrimonial\",\"Under review\":\"En proceso de revisión\",\"Unknown\":\"Desconocido\",\"Unknown error occured\":\"Ocurrió un error desconocido\",\"Unsubscribe\":\"\",\"Update\":\"Cargar \",\"Upload\":\"Cargar\",\"Upload Amazon Transactions\":\"Cargar Transacciones de Amazon\",\"Upload Failed\":\"La carga falló\",\"Upload IOSS Transactions\":\"Cargar transacciones IOSS\",\"Upload In submission proof\":\"Cargar comprobante de envío para Intrastat recepciones\",\"Upload Out submission proof\":\"Cargar comprobante de envío para Intrastat envíos\",\"Upload SAF-T data\":\"Cargar datos SAF-T\",\"Upload SKUs\":\"Cargar códigos SKU\",\"Upload Skus\":\"Cargar códigos SKU\",\"Upload VAT Transactions\":\"Cargar Transacciones de IVA\",\"Upload file\":\"Cargar archivo\",\"Upload finalized successfully\":\"Carga finalizada con éxito\",\"Upload is forbidden for overdue periods. Please contact your account manager.\":\"\",\"Upload payment proof\":\"Cargue el comprobante de pago\",\"Upload processed\":\"Carga procesada\",\"Upload proof\":\"Cargar comprobante\",\"Upload submission proof\":\"Cargar comprobante de envío\",\"Upload successfully canceled\":\"Se canceló la subida con éxito\",\"Uploaded successfully\":\"Finalice su carga\",\"Use Amazon's template to upload data\":\"Usar plantilla de Amazon para cargar datos\",\"Use KPMG template to upload data\":\"Usar plantilla de KPMG para cargar datos\",\"VAT\":\"IVA\",\"VAT Compliance Settings\":\"Configuraciones de cumplimiento con el IVA\",\"VAT Compliance Sign-up\":\"Inicio de sesión de cumplimiento de IVA\",\"VAT ID\":\"N.º IVA\",\"VAT Number\":\"Identificador fiscal / Número de IVA\",\"VAT Number of country of incorporation\":\"Número de IVA en el país de constitución\",\"VAT Numbers\":\"Números de IVA\",\"VAT Rates\":\"Tasas de IVA\",\"VAT Registration\":\"Registro VAT\",\"VAT compliance\":\"Cumplimiento con el IVA\",\"VAT deregistration\":\"Cancelación del registro de IVA\",\"VAT home country compliance\":\"Cumplimiento con IVA del país de origen\",\"VAT monthly compliance\":\"Cumplimiento mensual de IVA\",\"VAT registration\":\"Registro de IVA\",\"VAT registration certificate for your home country (if appropriate)\":\"El certificado de registro del IVA para su país de origen (si procede)\",\"VAT take over\":\"Relevo de IVA\",\"VLS\":\"VLS\",\"VLS Frequency\":\"Frecuencia de VSL\",\"Valid from\":\"Válido desde\",\"Validation errors\":\"Errores de validación\",\"Value must be between (inclusive): 0-100\":\"El valor debe estar entre (inclusive): 0-100\",\"Value must be in list\":\"El valor debe estar en la lista\",\"Vat Compliance\":\"Cumplimiento de IVA\",\"Vat Numbers\":\"Números de IVA\",\"Vat Rates\":\"Tasas de IVA\",\"Vat Registration and Compliance\":\"Registración y cumplimiento de IVA\",\"View\":\"Ver\",\"Waiting For Finalize\":\"Esperando finalización\",\"Waiting for signature\":\"Esperando firma\",\"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\":\"Actualmente no ofrecemos servicios IOSS a negocios que estén establecidos o tengan un establecimiento permanente situado en la UE a través de este Portal. Por favor, póngase en contacto con nosotros en {{- contactEmail }} para más detalles.\",\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\":\"Estimamos que completar el cuestionario lleva aproximadamente 20 minutos. Para poder responder todas las preguntas, sugerimos tener a mano los siguientes documentos:\",\"We look forward to helping you.\":\"¡Estamos deseando ayudarlo!\",\"We will contact you in line with your language preference\":\"Nos pondremos en contacto con usted en el idioma que haya elegido\",\"Website link\":\"Enlace al sitio web\",\"Webstore link\":\"Enlace a la tienda electrónica\",\"Welcome\":\"Bienvenido\",\"Welcome to Guides and Tutorials\":\"Bienvenido a las Guías y Tutoriales\",\"Welcome to the Frequently Asked Questions (FAQ)\":\"Bienvenido a las Preguntas frecuentes\",\"What is the estimated annual shipments which will be covered by IOSS?\":\"Estimamos que completar el cuestionario lleva aproximadamente 20 minutos. Para poder responder todas las preguntas, sugerimos tener a mano los siguientes documentos:\",\"What is your Amazon Seller ID?\":\"¿Qué es el identificador de vendedor de Amazon?\",\"What is your FedEx or TNT account number?\":\"¿Cuál es su número de cuenta FedEx o TNT?\",\"What type of clientele is your business aimed to?\":\"¿Hacia qué tipo de clientela se orienta su empresa?\",\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\":\"Cuando desarrolle su actividad en un país donde se requiere representación fiscal, debe designar a un representante fiscal proporcionado por KPMG.\",\"Where are the accounting records being kept?\":\"¿Dónde se mantienen los registros contables?\",\"Why you don't want to renew?\":\"¿Por qué no quiere renovar?\",\"Will you carry out intra-community acquisitions in France?\":\"¿Realizará adquisiciones intracomunitarias en Francia?\",\"Will you carry out intra-community supplies from France?\":\"¿Realizará entregas intracomunitarias en Francia?\",\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\":\"¿Almacenará existencias en un almacén francés? ¿Tiene la intención de vender desde el almacén francés a empresas inscritas en el registro del IVA en otros Estados miembros de la UE?\",\"Without the country code prefix.\":\"Sin el prefijo del código de país.\",\"Wrong excel format\":\"Formato de Excel incorrecto\",\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\":\"Formato de plantilla incorrecto. Use la plantilla más actualizada. Asegúrese de no cambiar los encabezados (El encabezado esperado en la columna {{column}} es '{{val}}').\",\"Year\":\"Año\",\"Yearly\":\"Anual\",\"Yes\":\"Sí\",\"You already have an account. Please sign in\":\"Ya dispones de una cuenta. Inicie sesión.\",\"You already have an account? Please\":\"¿Ya dispones de una cuenta? \",\"You are required to declare SAF-T data. You can download the template below and with adding necessary fields please upload it back.\":\"Debe informar los datos SAD-T. Descargue la plantilla que se encuentra a continuación. Una vez completados los campos necesarios, vuelva a cargarla.\",\"You can find the registration number on the Certificate of Incorporation document of your business.\":\"Puede encontrar el número de registro en el documento registral de certificación de su empresa.\",\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\":\"Tiene una o más transacciones cuya base imponible supera el límite de 150 euros. Si el valor de los productos vendidos (excluyendo el costo de envío y el IVA) es efectivamente superior, ignore este mensaje y proceda a cargar los datos. Estas transacciones se ejecutarán desde su declaración de IOSS. Sin embargo, si el valor de los productos (excluyendo el costo de envío y el IVA) no se encuentra por debajo del límite de 150 euros y solo lo excede porque el costo de envío está incluido, debe cancelar la carga de estos datos, incluir el costo de envío en una línea separada y volver a cargar los datos. Consulte nuestra plantilla de datos IOSS de guía ante cualquier duda.\",\"You have one pending order in progress\":\"Tiene una orden pendiente en progreso\",\"You have successfully registered\":\"Se ha registrado con éxito\",\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\":\"En breve recibirá un correo electrónico de bienvenida de su gestor de cuenta dedicado. No dude en ponerse en contacto con ellos ante cualquier duda que le pueda surgir.\",\"Your account is locked out for {{min}} minutes. Please contact our support team.\":\"Su cuenta está bloqueada. Póngase en contacto con nuestro equipo de atención al cliente.\",\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\":\"Su dirección de correo electrónico se modificó. Para finalizar, cierre sesión e inicie sesión otra vez utilizando la dirección de correo electrónico nueva.\",\"ZeroRated\":\"Taza Cero\",\"expired\":\"Expirado\",\"expires\":\"expira\",\"freq-notification-confirmation\":\"\",\"freq-notification-confirmation-affect\":\"\",\"fx-legal\":\"La información facilitada no está pensada para que suponga asesoramiento jurídico o fiscal; al contrario, esta información se ofrece a efectos informativos generales exclusivamente. Puede que esta información jurídica o de otra naturaleza no sea la más actualizada. Los lectores de esta información deben contactar con sus asesores para obtener asesoramiento con respecto de cualquier cuestión jurídica o fiscal. Por el presente se rechazamos cualquier responsabilidad que se deprenda de las medidas tomadas o no tomadas en base a los contenidos de este sitio. El contenido de esta publicación se ofrece «tal y como está»; y no hay declaración alguna de que su contenido esté libre de errores.\",\"if-you-had-taxable-supplies\":\"Si ha tenido entregas imponibles en el pasado, seleccione la fecha en que se realizó la primera entrega imponible. Si no tiene obligación de registrarse en el pasado, le recomendamos que seleccione una fecha futura a partir de la cual desea que su NIF sea válido (por ejemplo, el primer mes del siguiente trimestre).\",\"master-data-is-incomplete\":\"Los Datos maestros están incompletos, algunos códigos SKU no tienen precio. Agregue los precios que faltan o confirme para ignorar la configuración. Si no agrega estos precios omitidos, no podremos incluir el valor de los movimientos de los productos propios en las declaraciones de IVA y en los informes ESL, lo que puede generar auditorías fiscales o dar lugar a penalizaciones, desactivación del VIES o baja en el registro. Por el presente, le pedimos que complete todos los valores omitidos antes de continuar.\",\"order-compliance-extension-tooltip\":\"Select this if you want to renew your existing subscription.\",\"order-compliance-restart-tooltip\":\"Select this if you are switching from another service provider to us.\",\"order-compliance-restart-warning\":\"Warning! This will remove any previously saved settings from your account. If you wanted to renew an expiring subscription, please select NO and select 'Renew for one year' instead.\",\"pay-monthly-compliance-fee\":\"Please pay the monthly compliance fee by clicking the button below. You will be redirected to our partner’s website where you can set up your preferred payment method.\",\"refund-mode-confirm\":\"Once you confirmed, you cannot modify the mode of refund. The selected option will be the default setting for future VAT reporting.\",\"saft-acknowledgement-admin\":\"Confirmo que he incluido toda la información relacionada con SAF-T en la plantilla KPMG que subí.\",\"saft-acknowledgement-web\":\"Confirmo que he incluido toda la información relacionada con SAF-T en la plantilla KPMG que subí. Si tiene una pregunta consulte nuestras {{- link_start}}Guías y Tutoriales{{- link_end}}.\",\"sign in\":\"Iniciar sesión\",\"submissionperiod-paymentstatuschange-acknowledge\":\"El estado del pago no es validado por KPMG, por lo tanto, el estado solo se puede utilizar para sus propios fines de seguimiento y KPMG no acepta ninguna responsabilidad por la exactitud del estado proporcionado.\",\"total-number-of-incorrect-lines\":\"Total number of incorrect lines: {{num}}\",\"user-successfully-invited\":\"\",\"validation-column-header\":\"{{columnName}} (Column {{columnCode}})\",\"validation-constraint-not-fulfilled\":\"Constraint not fulfilled\",\"validation-data-cannot-be-empty\":\"La celda no puede estar vacía\",\"validation-date-invalid\":\"La celda no puede estar vacía (formato deseado: dd-mm-yyyy)\",\"validation-example\":\"See an example of the incorrect value: {{exampleValue}} (line {{rowNumber}}). Number of incorrect lines: {{total}}\",\"validation-invalid-data\":\"Datos no válidos\",\"validation-ioss-incorrect-transaction-date\":\"Fecha de transacción incorrecta. No puede informar transacciones antes del 1 de julio de 2021 a través de IOSS\",\"validation-ioss-invalid-currency\":\"Debe usarse el código ISO de país de tres letras\",\"validation-ioss-invalid-departure-country\":\"Debe estar fuera de la UE. Debe usarse el código ISO de país de dos letras\",\"validation-ioss-invalid-destination-country\":\"Debe estar en la UE + Irlanda del Norte. Debe usarse el código ISO de país de dos letras\",\"validation-ioss-invalid-invoice-country\":\"Debe usarse el código ISO de país de dos letras\",\"validation-ioss-invalid-transaction-type\":\"Debe ser Sale o Return\",\"validation-ioss-out-of-period-transactions\":\"Sus datos contienen una o más transacciones de un período de transacciones anterior. Si quiere corregir declaraciones de IOSS anteriores mediante la presentación de transacciones nuevas ahora, puede ignorar este mensaje y continuar con la carga. Sin embargo, si los datos se agregaron por error, debe detener la carga y corregirlos antes de continuar\",\"validation-ioss-wrong-taxable-basis-calculation\":\"{{columnName}} (Column {{columnCode}}): Taxable basis (Base imponible) = Gross amount (importe bruto) - VAT amount (importe del IVA) ({{taxableBasis}} != {{grossAmount}} - {{vatAmount}}).\",\"validation-ioss-wrong-vat-calculation\":\"{{columnName}} (Column {{columnCode}}): VAT amount (Importe del IVA) = Taxable basis (base imponible) * VAT rate (tasa de IVA) ({{vatAmount}} != {{taxableBasis}} * {{vatRate}}).\",\"validation-number-data-cannot-be-empty-or-invalid\":\"Data cannot be empty or invalid (expected format: Number with decimal separator ('.'), e.g.: 21.5)\",\"validation-positive-number-invalid\":\"La celda no puede estar vacía o ser no válida (formato deseado: número no negativo, ej. 435)\",\"validation-required-or-invalid\":\"La celda no puede estar vacía o ser no válida\",\"validation-unsupported-currency\":\"Currency is not supported. Please contact us at {{- contactEmail}} to discuss solution\",\"validation-vat-countryofcustomer-invalid-fc-transfer-customer-and-shipping-country-neq\":\"Tenga en cuenta que un tipo de transacción FC_Transfer sólo es posible entre dos países diferentes de la UE\",\"validation-vat-countryofcustomer-invalid-fc-transfer-valid-reg\":\"Tenga en cuenta que, según nuestra base de datos, usted no tiene un registro de IVA válido en el país de salida o en el país de llegada. Tener un registro de IVA válido es obligatorio para reportar una FC_Transfer .\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-customer-eq-reporting\":\"Tenga en cuenta que para los tipos de transacciones Inbound , el país declarante del IVA debe ser un país de la UE o Gran Bretaña.\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-must-be-in-eu\":\"Tenga en cuenta que para los tipos de transacción Inbound , el país de llegada debe ser un país de la UE o Gran Bretaña.\",\"validation-vat-decimalwrongformat\":\"\",\"validation-vat-out-of-period-transactions\":\"Sus datos contienen una o más transacciones de un período de transacciones anterior. Si quiere corregir declaraciones de IOSS anteriores mediante la presentación de transacciones nuevas ahora, puede ignorar este mensaje y continuar con la carga. Sin embargo, si los datos se agregaron por error, debe detener la carga y corregirlos antes de continuar\",\"validation-vat-partnername-invalid-registered-business\":\"Tenga en cuenta que el nombre del socio sólo puede contener letras del alfabeto inglés\",\"validation-vat-partnername-is-required-registered-business\":\"Tenga en cuenta que si elige \\\" VAT Registered/Business \\\", debe proporcionar el número de IVA del socio y su nombre registrado\",\"validation-vat-taxablebasis-invalid-inbound-or-outbound-vat-values-correspond\":\"Tenga en cuenta que para los tipos de transacciones Inbound , el tipo de IVA, la base imponible y el importe del IVA deben corresponderse\",\"validation-vat-taxablebasis-invalid-sale-or-return-vat-values-correspond\":\"Tenga en cuenta que la base imponible debe corresponderse con el tipo de IVA aplicado y el importe del IVA calculado. Las siguientes líneas son incorrectas\",\"validation-vat-typeofpartner-invalid-fc-transfer-only-registered-business\":\"Por favor, tenga en cuenta que el tipo de socio para una FC_Transfer sólo puede ser \\\"VAT Registered/Business\\\"\",\"validation-vat-typeofpartner-invalid-inbound-or-outbound-only-registered-business\":\"Por favor, tenga en cuenta que para los tipos de transacciones Inbound, el tipo de socio debe ser \\\"VAT Registered/Business\\\".\",\"validation-vat-typeofsale-invalid-only-goods\":\"Tenga en cuenta que el tipo de venta (Type of Sale) para FC_Transfer sólo puede ser Mercancías (Goods)\",\"validation-vat-vatamount-invalid-sale-or-return-vat-values-correspond\":\"Tenga en cuenta que la base imponible debe corresponder con el tipo de IVA aplicado y el importe del IVA calculado. Las siguientes líneas son incorrectas\",\"validation-vat-vatnumber-invalid-countrycodeprefix\":\"\",\"validation-vat-vatnumber-invalid-inbound-or-outbound\":\"Tenga en cuenta que para las transacciones entrantes, el número de IVA debe corresponderse con el país de envío.\",\"validation-vat-vatnumber-invalid-sale-or-return\":\"Tenga en cuenta que el número de IVA debe comenzar con el código del país de llegada.\",\"validation-vat-vatnumber-invalid-starts-with-two-letter\":\"Tenga en cuenta que el formato del número de IVA del comprador proporcionado (Buyer's VAT Number) es incorrecto. Debe contener también el código de país\",\"validation-vat-vatrate-invalid-fc-transfer-cannot-be-null\":\"Tenga en cuenta que el tipo de IVA proporcionado (VAT rate) y el tipo de transacción (Transaction type) no coinciden. La FC_Transfer debe declararse como inversión del sujeto pasivo, por lo que el importe bruto debe calcularse con el tipo de IVA\",\"validation-vat-vatrate-invalid-inbound-or-outbound-cannot-be-null-except\":\"\",\"validation-vat-vatrate-invalid-vat-reporting-country\":\"Tenga en cuenta que el tipo de IVA aplicado (VAT rate) no es posible en el país declarante del IVA proporcionado (VAT Reporting Country)(line {{rowNumber}})\",\"validation-vat-vatrate-is-required-inbound-or-outbound-when-taxable-basis\":\"Tenga en cuenta que para las transacciones Inbound , el tipo de IVA (VAT rate) y la base imponible (Taxable basis) deben corresponderse\",\"validation-vat-vatrate-is-required-sale-or-return-when-taxable-basis\":\"Tenga en cuenta que la columna del tipo de IVA (VAT rate) es obligatoria si proporciona el valor NETO (base imponible/Taxable basis) de una transacción\",\"validation-vat-vatreportingcountry-invalid-shipping-or-customer\":\"Tenga en cuenta que el país declarante del IVA (VAT Reporting Country) no puede ser diferente del país de salida (Shipping from country) o del país de llegada (Customer's country).\",\"validation-vatrate-data-cannot-be-empty-or-invalid\":\"La celda no puede estar vacía o ser no válida (formato deseado: entre 1-27 (o 0) con separador decimal ('.'), ej.: 21.5)\",\"validation-vatrate-invalid-destination-country\":\"Please note that the applied VAT rate is not possible in the provided Destination country (line {{rowNumber}})\",\"validation-wrong-exchange-rate\":\"El tipo de cambio calculado parece ser incorrecto\",\"wrong-template-format\":\"Formato de plantilla incorrecto. Utilice la plantilla más actualizada. Asegúrese de no modificar las primeras 3 filas de encabezado. Tenga en cuenta que no se admite el formato Strict OpenXml.\",\"{{columnName}} ({{rowNumber}}): Data cannot be empty.\":\"{{columnName}} ({{rowNumber}}): La celda no puede estar vacía.\",\"{{columnName}} ({{rowNumber}}): Invalid\":\"{{columnName}} ({{rowNumber}}): No válido\",\"{{columnName}} ({{rowNumber}}): Not found\":\"{{columnName}} ({{rowNumber}}): No se ha encontrado\",\"{{columnName}} ({{rowNumber}}): Wrong format\":\"{{columnName}} ({{rowNumber}}): Formato incorrecto\",\"Couldnt_find_answer\":\"¿No ha podido encontrar la respuesta a su pregunta? Contáctenos {{- link_first_part}}aquí{{- link_second_part}}.\",\"faq_bank_account_register_vat_in_france_answer\":\"{{- a_paragraph_start}}EU based businesses must have a bank account that supports SEPA B2B direct debit payments. If you do not have a SEPA B2B direct debit bank account, the French Tax Authority will issue a penalty on every bank transfer you make (usually EUR 60 per transfer). To avoid such penalties you will have to open a new bank account that is compatible with the French e-payment system.{{- a_paragraph_end}}\",\"faq_bank_certificate_and_bank_details_answer\":\"{{- a_paragraph_start}}If you have an overpayment, or you have deductible VAT, some tax authorities may try to transfer back this amount. If your bank details are not provided or are unclear, the tax authority will contact KPMG, thus delaying the processing time. The bank certificate should countain following information: name of bank, address of bank, name of account holder, address of account holder, currency, account number, IBAN, BIC{{- a_paragraph_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_answer\":\"{{- a_paragraph_start}}Under Spanish law, sole traders/individuals who have an economic relation (activity) with/in the country, but who do not reside in Spain, must apply for a Spanish identification number for foreigners (NIE) at a consulate or representative office of Spain in their country of residence. The NIE-number can be requested by submitting a form called EX-15. You will find more information about the NIE and EX-15 request form {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_companies_articles_and_association_answer\":\"{{- a_paragraph_start}}For registering in most European countries, the tax authority requires a document that details the company's shareholder structure, the company's registered capital (funds, not a geographic location) as well as the director and legal representative's information. The document is also known as an Articles of Organization or Articles of Incorporation.{{- a_paragraph_end}}\",\"faq_company_extract_for_uk_based_sole_trader_answer\":\"{{- a_paragraph_start}}As a sole trader in the UK, it can be more difficult to proof your status. We suggest obtaining a letter from either HM Revenue & Customs or your solicitor or accountant. They should provide you with a letter on their official headed paper indicating the following:{{- a_paragraph_end}}{{- a_list_start}}Your name and address{{- a_list_middle}}Your trading name{{- a_list_middle}}Explicit confirmation that you are a self-employed sole trader{{- a_list_end}}\",\"faq_company_extract_us_answer\":\"{{- a_paragraph_start}}A Company Extract or Business License (the name may vary by state) is essentially a document issued by the state in which the company was founded that certifies the legitimacy of the business, that it has been legally registered. It will typically include the company's date of incorporation.{{- a_paragraph_end}}\",\"faq_companys_legal_representative_answer\":\"{{- a_paragraph_start}}The legal representative is the person who holds the legal power to act on the company's behalf and will represent your company in any tax-related issues. The registration will require a company document which clearly shows who the legal representative is.{{- a_paragraph_end}}\",\"faq_companys_vat_certificate_us_answer\":\"{{- a_paragraph_start}}From the IRS. Tax authorities will require documentation from the IRS regarding the issuing of your company's Employer Identification Number (EIN).{{- a_paragraph_end}}\",\"faq_documents_while_filing_answer\":\"{{- a_paragraph_start}}You will have to fill out your company's details, therefore we suggest that you have the Company Extract, Articles of Association, ID of the legal representative and a Bank Certificate of the company with you.{{- a_paragraph_end}}\",\"faq_drivers_licence_as_valid_id_answer\":\"{{- a_paragraph_start}}Most European countries require an identification document of the legal representative. It can be an Identity Card, Passport or Driver's License. Please note that for the online registration of a British VAT number, two identification documents will be required.{{- a_paragraph_end}}\",\"faq_form_6166_apply_answer\":\"{{- a_paragraph_start}}US based clients are required to provide a 6166 form, issued by the IRS to complete the German registration. The 6166 form can be requested using an 8802 form that can be downloaded from the website of the IRS. Please note that the German Tax Authorities only accept original forms and the issuing time can take up to 3 months for this document. To obtain the form, please apply to the IRS. For more information, please click {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_how_long_does_the_registration_take_answer\":\"{{- a_paragraph_start}}If all information and documents are correctly provided, we can prepare the registration package in a couple of days and send it to the Tax Authority.{{- a_paragraph_end}}\",\"faq_how_many_eoris_do_i_need_answer\":\"{{- a_paragraph_start}}E-commerce sellers only need one EORI number, and in fact can only have one EORI number issued to them. The EORI number can be used in all the EU member states, therefore one number is enough and the Customs services will reject your application if you already have a number issued. Please note that after BREXIT European sellers have to apply for an EORI in the UK, if they want to import goods in the UK. UK based sellers need to apply for an EORI in the EU if they want to import goods in the EU.{{- a_paragraph_end}}\",\"faq_notarisation_and_hague_apostille_meaning_answer\":\"{{- a_paragraph_start}}Some European tax offices will require that your company documents and registration forms are 'notarised and apostilled' before you can submit them to the authorities to apply for a VAT registration.{{- a_paragraph_middle}}A notarised document is one carrying authenticated signature(s) of the person(s) authorised or required to sign it, and the signature of a notary public witnessing the signature(s), accompanied by an impression of his or her official notary seal. If a tax office requests it, the authorised signatory will need to visit a Notary Public (or have one come to your office) and sign the required documents in his/her presence. The notary will certify the documents after witnessing the signature.{{- a_paragraph_middle}}The definition of an apostille is 'the authentication of a document for use in another country'. The apostille certificate confirms the signature, seal or stamp on a document to be genuine so that it will be accepted when presented in another country within the European Union. It is permanently glued to another document and then an embossing mechanism, often called the apostille seal or apostille stamp, is used to emboss the document with a government crest.{{- a_paragraph_middle}}Usually the notary public you engage for the witnessing service will be able to arrange the apostille for your as well.{{- a_paragraph_end}}\",\"faq_obtain_company_extract_for_uk_company_answer\":\"{{- a_paragraph_start}}Contact Companies House on 0303 1234 500 and request them to send a certified copy of your Certificate of Incorporation with the following additional information added:{{- a_paragraph_end}}{{- a_list_start}}Names of the company directors{{- a_list_middle}}Name of the company secretary{{- a_list_middle}}Company registered office{{- a_list_middle}}Issued share capital{{- a_list_middle}}Names of the shareholders{{- a_list_end}}{{- a_paragraph_start}}The above document will be issued for a certain amount. (Around GBP 20, or GBP 60 for a faster service){{- a_paragraph_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_answer\":\"{{- a_paragraph_start}}Our office specializes in the European Union; however, we can refer you to our local KPMG offices in those countries. They would be happy to prepare an offer for you and in the case of an agreement, assist you in your business expansion.{{- a_paragraph_end}}\",\"faq_vat_certificate_for_uk_company_answer\":\"{{- a_paragraph_start}}This can be requested directly from HM Revenue & Customs on 0300 200 3700. You will need to quote your UK VAT registration number and the document will be posted to your registered address. Please note that it is possible to download a VAT certificate from the online portal where returns are submitted, however this will not be accepted by the tax authorities for VAT registration.{{- a_paragraph_middle}}If you are not registered for VAT in the UK, due to the fact that your sales are below the registration threshold, please let us know by email in advance and we will explain you what to do.{{- a_paragraph_end}}\",\"faq_vat_in_czech_republic_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 original a bank certificate confirming your banking details, issued by your bank{{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}\",\"faq_vat_in_france_documents_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of a bank certificate confirming your banking details{{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_in_germany_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_in_italy_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}\",\"faq_vat_in_poland_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}\",\"faq_vat_in_spain_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities) notarized and apostilled{{- a_list_middle}}1 original certificate of Foreigner’s Identification Number (NIE) – only for sole traders/individuals!{{- a_list_end}}{{- a_paragraph_start}}Your company extract and certificate of NIE should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}\",\"faq_vat_in_uk_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of two different identification documents of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_with_fba_services_answer\":\"{{- a_paragraph_start}}If you store goods in any European country, then you will be required to have a VAT number. It is mandatory by the law.{{- a_paragraph_end}}\",\"faq_vies_in_spain_answer\":\"{{- a_paragraph_start}}While the VAT registration is a rather quick process in Spain, the activation of a VAT ID in the {{- link_start}}VIES system{{- link_end}} is a more complex and longer one. After your VAT ID has been issued we can start submitting declarations and you can pay VAT in Spain. Your activation needs to be requested separately from a proposal and can be done only if you carry out intra-community transactions. This means you have to submit an EC Sales List in Spain first. After a Spanish EC Sales List has been filed the proposal can be submitted; however, it will be automatically refused if you have any outstanding liability e.g. VAT payments, VAT returns, penalties. If your proposal is refused it will have to be submitted again starting from the beginning. This process usually takes 2-3 months.{{- a_paragraph_end}}\",\"faq_what_is_an_eori_number_answer\":\"{{- a_paragraph_start}}An EORI number is a European Union registration business identification number. This number is issued when importing or exporting goods in and out of the EU. A business or individual must obtain an EORI number from a national customs authority before beginning customs activities within the European Union.{{- a_paragraph_end}}\",\"faq_when_vat_issued_answer\":\"{{- a_paragraph_start}}The length of time required to obtain a VAT number varies from country to country. You can typically expect to receive your VAT number within 4 to 6 weeks from the date when your documents are submitted to the tax authority. We will keep in contact with the tax authorities to track the progress of your VAT registration and will keep you informed of any updates. Please see below a list of current timelines for obtaining VAT registrations. We suggest to check back here from time to time as we are constantly monitoring the timeline and will update this frequently:{{- a_paragraph_end}}{{- a_list_start}}France: 7-9 weeks{{- a_list_middle}}Germany: 6 - 8 weeks{{- a_list_middle}}Spain: 1-2 weeks (VIES activation: 2-3 months){{- a_list_middle}}Italy: 4-6 weeks{{- a_list_middle}}Poland: 4-6 weeks{{- a_list_middle}}Czech Republic: 4-6 weeks{{- a_list_middle}}UK: 3-4 weeks{{- a_list_end}}\",\"faq_where_can_i_get_my_documents_apostilled_answer\":\"{{- a_paragraph_start}}Apostilles can usually be arranged by National certified notary offices or the National Public Notary office itself. Spain does not accept a simple notarization and therefore a further authentication / legalization is required, an Apostille Stamp. If your country is not a member of the Apostille Convention, please arrange the local notarization of the required documents and contact the Spanish Consulate in your country to request consular legalization.{{- a_paragraph_end}}\",\"faq_where_can_i_get_my_documents_notarized_answer\":\"{{- a_paragraph_start}}Notaries can authenticate signatures or documents for use abroad. If you need to notarize a documents or Power of Attorney, you must visit a local notary public (or lawyer).{{- a_paragraph_end}}\",\"faq_which_countries_eori_number_is_best_to_have_answer\":\"{{- a_paragraph_start}}For EU based companies an EORI number in the country of establishment, for non EU companies the country where you import the most to will be the best country to have an EORI number.{{- a_paragraph_end}}\",\"faq_who_is_the_beneficial_owner_answer\":\"{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} cualquier persona física que posea o controle {{- a_bold_start}}al menos el veinticinco por ciento de las acciones o los derechos de voto {{- a_bold_end}} de una persona jurídica o una organización no constituida en sociedad, {{- a_bold_start}}directamente o{{- a_bold_end}} -mediante los medios definidos en la Subsección (4) de la Sección 8: 2 de la Ley V de 2013 sobre el Código Civil (en adelante, 'Código Civil') - {{- a_bold_start}}indirectamente{{- a_bold_end}}, o que pueda ejercer un control efectivo sobre la persona jurídica o la organización no constituida en sociedad por otros medios, si dicha persona jurídica o la organización no constituida en sociedad no cotiza en un mercado regulado y está sujeta a requisitos de información coherentes con la legislación comunitaria o sujeta a normas internacionales equivalentes,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} cualquier persona física que tenga una influencia dominante en una persona jurídica o asociación empresarial no constituida en sociedad, tal y como se define en el subapartado (2) del artículo 8:2 del Código Civil{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} cualquier persona física en cuyo nombre se realice una transacción, o que pueda ejercer un control efectivo sobre la actividad de un cliente a través de otros medios en el caso de las personas físicas,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} en el caso de las fundaciones:{{- a_paragraph_end}} {{- a_paragraph_start}} da) cuando ya se hayan determinado los futuros beneficiarios, la persona física que sea beneficiaria del veinticinco por ciento o más de los bienes de la fundación,{{- a_paragraph_end}} {{- a_paragraph_start}} db) cuando los beneficiarios de la fundación estén aún por determinar, la persona física en cuyo interés principal se constituya o funcione la fundación, o{{- a_paragraph_end}} {{- a_paragraph_start}} dc) la persona física que ejerza el control en la gestión de la fundación o que ejerza el control de al menos el veinticinco por ciento de los bienes de una fundación, y/o que esté autorizada a representar a la fundación,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} en el caso de los contratos de gestión de activos fiduciarios{{- a_paragraph_end}} {{- a_paragraph_start}}ea) el mandante, y el beneficiario efectivo a que se refieren las letras a) o b) del mismo,{{- a_paragraph_end}} {{- a_paragraph_start}}eb) el fiduciario, y el beneficiario efectivo mencionado en el apartado a) o b) del mismo,{{- a_paragraph_end}} {{- a_paragraph_start}}ec) los beneficiarios o la categoría de beneficiarios y el beneficiario efectivo a que se refieren las letras a) o b) del mismo, además{{- a_paragraph_end}} {{- a_paragraph_start}}ed) cualquier persona física que ejerza el control efectivo del fondo fiduciario por otros medios, además{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} en ausencia de la persona física mencionada en las letras a) y b), el director de la persona jurídica o de la asociación empresarial sin personalidad jurídica;{{- a_paragraph_end}}\",\"faq_why_do_i_need_a_fiscal_representative_answer\":\"{{- a_paragraph_start}}For companies providing goods or services in foreign European countries, there may be a requirement to register for VAT as a non-resident VAT trader. Some countries permit the Non-EU established company to register ‘directly’ with the tax office, without having to appoint a local representative.{{- a_paragraph_middle}}However, under certain circumstances, the tax authorities will require the company to appoint a Fiscal Representative in the destination country. This company must be tax registered and willing to act as the local representative of the company, managing with queries and filing obligations of the company for dealings with the tax authorities. In most cases, the fiscal representative may be jointly liable for all VAT payments of the company.{{- a_paragraph_middle}}The tax authorities regard a fiscal representative as the local agent of the foreign trader – which leads to several compliance obligations. Additionally, if the fiscal representative is jointly liable for the trader’s taxes, it is industry practice to require a security deposit or bank guarantee in favour of the fiscal representative to mitigate against potential risks if the company reneges of any liabilities.{{- a_paragraph_end}}\",\"faq_why_i_need_vat_number_answer\":\"{{- a_paragraph_start}}Businesses who provide goods or services in a foreign jurisdiction with a VAT regime must comply with the relevant VAT laws of that country. There are several cases where it will be a legal obligation for a company to register for VAT in the country because they are undertaking taxable business activity. Such activity includes:{{- a_paragraph_end}}{{- a_list_start}}Importing goods into the country for sale or distribution{{- a_list_middle}}Buying and selling goods locally{{- a_list_middle}}Selling goods to individuals over the internet (revenue thresholds may apply) Storing goods in a warehouse{{- a_list_middle}}Organising an event in the country (specifically if there is paid admission to the event){{- a_list_middle}}It is the company’s responsibility to register for VAT prior to commencing taxable transactions and once registered, one must comply with the compliance and reporting requirements.{{- a_list_end}}\",\"faq_will_original_documents_be_returned_after_registration_answer\":\"{{- a_paragraph_start}}These documents are requested by the respective tax authorities in each country and are kept by them. Therefore, they cannot be returned to you. To keep the original copies with you, we can also provide notarized copies to the Tax Authority.{{- a_paragraph_end}}\",\"faq_wrong_registration_document_to_kpmg_answer\":\"{{- a_paragraph_start}}We will ask you to send us the correct documents. If we submit a registration package with wrong documents (e.g. photocopy instead of original or too old) the registration process will be delayed and most probably refused.{{- a_paragraph_end}}\",\"faq_wrong_registration_info_to_kpmg_answer\":\"{{- a_paragraph_start}}If the data you provided is not accurate and correct, your account manager will contact you until all the details are clarified. This might prolong the time needed to prepare the registration documents. If the data we filled out on the registration documents is wrong, the Tax Authority will contact us and will not issue the VAT number until all information is accurate and up to date.{{- a_paragraph_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_answer\":\"{{- a_paragraph_start}}El RU abandonó el régimen de IVA de la UE el 31 de diciembre de 2020. Al mismo tiempo, el RU retiró su exención de consignación de poco valor de 15 libras e introdujo un nuevo régimen de IVA en el punto de venta (similar al régimen de IOSS de la UE) para los bienes importados al RU con un valor de envío que no exceda las 135 libras.{{- a_paragraph_middle}}En el caso de ventas a clientes de la UE, los vendedores residentes británicos ahora ya no se consideran residentes de la UE. Desde el 1 de julio de 2021, podrán utilizar el IOSS de la UE como vendedores externos a la UE para ventas de productos aplicables que se importarán a la UE.{{- a_paragraph_end}}\",\"ioss_faq_currency_other_than_eur_answer\":\"{{- a_paragraph_start}}En los casos en los que los bienes vendidos se paguen en una divisa diferente al euro, debe hacer siempre el cálculo en el momento del suministro a fin de determinar si la venta de bienes puede declararse al amparo de IOSS.{{- a_paragraph_middle}}Para evitar posibles problemas con la importación debido a las fluctuaciones del tipo de cambio, le recomendamos que indique en la factura que acompaña al envío el precio en EUR tal y como se determinó en el momento de aceptación del pago.{{- a_paragraph_end}}\",\"ioss_faq_do_not_opt_into_ioss_answer\":\"{{- a_paragraph_start}}Como se menciona anteriormente, si no se utiliza IOSS, se devenga el IVA por dichos bienes y debe recaudarlo el declarante de aduanas, es decir, FedEx Express, quien recuperará el coste de este IVA del cliente o de usted, dependiendo de los términos de envío. Puede que se incurra en comisiones de tramitación adicionales. Asimismo, se puede incurrir en otras obligaciones fiscales relativas al IVA si el vendedor vende los bienes de conformidad con los términos de DDP.{{- a_paragraph_middle}}En el caso de envíos tramitados por FedEx, visite fedex.com para más información.{{- a_paragraph_end}}\",\"ioss_faq_eur_150_value_limit_answer\":\"{{- a_paragraph_start}}Los bienes de bajo valor que pueden optar a IOSS son bienes en envíos cuyo valor intrínseco en la importación no excede los 150 EUR (excepto los productos sujetos a impuestos especiales).{{- a_paragraph_middle}}El valor intrínseco hace referencia al precio de los bienes en sí mismos cuando se venden para exportarlos a la UE. El precio debe excluir los costes de transporte y seguro (a menos que estén incluidos en el precio y no se indiquen en la factura de forma independiente) y excluir cualquier otro impuesto o carga que puedan demostrarse ante las autoridades de aduanas mediante el documento pertinente.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_answer\":\"{{- a_paragraph_start}}Las autoridades tributarias pertinentes aún no han publicado los requisitos exactos para el registro de IOSS. Regrese a esta página más adelante para obtener más información.{{- a_paragraph_middle}}KPMG también diseñará un cuestionario que estará disponible en el Portal para recopilar la información necesaria para que realice su registro en IOSS.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_return_answer\":\"{{- a_paragraph_start}}Tras realizar el registro correctamente, será capaz de descargarse una plantilla de datos de nuestro Portal. Deberá facilitar sus datos de ventas (incluidas devoluciones) relativas a las transacciones aplicables a nosotros en la plantilla pertinente con periodicidad mensual. KPMG preparará la devolución de IOSS para que pueda revisarla.{{- a_paragraph_middle}}La declaración de IVA de IOSS contendrá el valor total de los bienes vendidos, su tipo de IVA y el monto de IVA total a pagar, desglosado por cada Estado miembro de la UE a los que se van a transportar los bienes, además de un desglose en cuanto a tasas estándar o reducidas.{{- a_paragraph_middle}}Cuando dé su aprobación, KPMG presentará la declaración.{{- a_paragraph_end}}\",\"ioss_faq_ioss_for_b2b_answer\":\"{{- a_paragraph_start}}No, IOSS solo puede utilizarse para ventas B2C de bienes aplicables.{{- a_paragraph_end}}\",\"ioss_faq_pay_tax_due_answer\":\"{{- a_paragraph_start}}El plazo para dichos pagos es el final del mes siguiente al mes de la declaración, el mismo que el plazo de declaración. Dado que su sede se encuentra fuera de la UE, está registrado como intermediario de IVA. Debe realizar un pago mensual del IVA devengado tal y como se declaró en la declaración de IVA de IOSS al intermediario de IVA al menos varios días hábiles antes de la fecha de pago, tal y como se instruye. El intermediario de IVA realizará el pago al Estado miembro de registro en su nombre.{{- a_paragraph_end}}\",\"ioss_faq_return_deadline_answer\":\"{{- a_paragraph_start}}Deberá presentar una declaración mensual de IOSS a las autoridades tributarias del país de identificación (registro). El plazo para presentar la declaración de IVA de IOSS es el final del mes natural tras el plazo de declaración.{{- a_paragraph_end}}\",\"ioss_faq_return_goods_under_ioss_answer\":\"{{- a_paragraph_start}}Los bienes devueltos y enviados a lugares fuera de la UE podrán optar a una devolución de IVA. Facilite a KPMG la información necesaria usando la plantilla de datos y KPMG ajustará su devolución de IOSS en consecuencia.{{- a_paragraph_end}}\",\"ioss_faq_who_to_contact_if_answer\":\"{{- a_paragraph_start}}Una vez se haya suscrito a los servicios de KPMG, se le asignará un gestor de cuenta específico de KPMG que responderá a sus preguntas sobre el registro de IOSS y el proceso de cumplimiento. Puede contactar con su gestor de cuenta por correo electrónico o teléfono en los siguientes idiomas: inglés, alemán, francés, español, italiano y chino.{{- a_paragraph_end}}\",\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)_reporting)\":\"Si se rellena uno de los siguientes tres campos, deben rellenarse los tres: Columna U (Taxable basis_reporting), Columna T (Gross amount_reporting), Columna V (VAT amount_reporting)\",\"amazon_vat_rates_warning\":\"We will apply the VAT rates that is provided in the amazon data when available / We will use our default rates. After June-2021 KPMG must use the Amazon provided rates.\",\"contacts_message\":\"Preguntas específicas: escriba a {{- link_start}}{{- contactEmail}}{{- link_end}}.\",\"cookie_consent_description\":\"Este sitio web utiliza cookies para proporcionar la funcionalidad necesaria del sitio y para mejorar su experiencia en línea. Al utilizar este sitio web, acepta el uso de cookies según se establece en la {{- link_start}}declaración de privacidad en línea de KPMG{{- link_end}}.\",\"disabled_ioss_upload_for_this_month\":\"No cargo los datos de transacción este mes. Ya que no es posible enviar las declaraciones de IOSS de manera retrospectiva, esta carga ya no será posible. Su realizó ventas este mes que deban informarse por medio de IOSS, debe agregar estas transacciones a la fuente de datos de la siguiente declaración de IOSS.\",\"faq_bank_account_register_vat_in_france_question\":\"{{- q_start}}Is there anything I should be aware of regarding my bank account if I want to register for VAT in France?{{- q_end}}\",\"faq_bank_certificate_and_bank_details_question\":\"{{- q_start}}Why do I need to provide a bank certificate and my bank details?{{- q_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_question\":\"{{- q_start}}What is the Certificate of Foreigner’s Identification Number (NIE) in Spain?{{- q_end}}\",\"faq_companies_articles_and_association_question\":\"{{- q_start}}What is a company's Articles of Association and why do I need to provide it?{{- q_end}}\",\"faq_company_extract_for_uk_based_sole_trader_question\":\"{{- q_start}}What is the Company Extract for an UK established sole trader?{{- q_end}}\",\"faq_company_extract_us_question\":\"{{- q_start}}What is the Company Extract in the US?{{- q_end}}\",\"faq_companys_legal_representative_question\":\"{{- q_start}}Who is the legal representative of my company?{{- q_end}}\",\"faq_companys_vat_certificate_us_question\":\"{{- q_start}}Where can I obtain my company's VAT Certificate in the US?{{- q_end}}\",\"faq_documents_while_filing_question\":\"{{- q_start}}What documents do I need to have with me while filing the registration/questionnaire?{{- q_end}}\",\"faq_drivers_licence_as_valid_id_question\":\"{{- q_start}}Can I use a driver's license as a valid form of ID?{{- q_end}}\",\"faq_form_6166_apply_question\":\"{{- q_start}}What is Form 6166? What is it for and how can I apply?{{- q_end}}\",\"faq_how_long_does_the_registration_take_question\":\"{{- q_start}}How long does the registration process take?{{- q_end}}\",\"faq_how_many_eoris_do_i_need_question\":\"{{- q_start}}How many EORI numbers do I need?{{- q_end}}\",\"faq_notarisation_and_hague_apostille_meaning_question\":\"{{- q_start}}What does 'Notarisation' mean and what is a 'Hague Apostille'?{{- q_end}}\",\"faq_obtain_company_extract_for_uk_company_question\":\"{{- q_start}}Where can I obtain a company extract for an UK established company?{{- q_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_question\":\"{{- q_start}}Can KPMG support me if I want to register in the USA, Canada, India, China, Mexico, Australia or Japan?{{- q_end}}\",\"faq_vat_certificate_for_uk_company_question\":\"{{- q_start}}Where can I obtain the VAT certificate of my UK established company?{{- q_end}}\",\"faq_vat_in_czech_republic_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in the Czech Republic. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_france_documents_question\":\"{{- q_start}}I wish to register for VAT in France. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_germany_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Germany. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_italy_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Italy. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_poland_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Poland. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_spain_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Spain. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_uk_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in the UK. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_with_fba_services_question\":\"{{- q_start}}Do I need VAT number if I am using FBA services?{{- q_end}}\",\"faq_vies_in_spain_question\":\"{{- q_start}}What do I need to know about the VIES activation process in Spain?{{- q_end}}\",\"faq_what_is_an_eori_number_question\":\"{{- q_start}}What is an EORI number?{{- q_end}}\",\"faq_when_vat_issued_question\":\"{{- q_start}}When is my VAT number issued?{{- q_end}}\",\"faq_where_can_i_get_my_documents_apostilled_question\":\"{{- q_start}}Where can I get my documents apostilled?{{- q_end}}\",\"faq_where_can_i_get_my_documents_notarized_question\":\"{{- q_start}}Where can I get my documents notarized?{{- q_end}}\",\"faq_which_countries_eori_number_is_best_to_have_question\":\"{{- q_start}}Which country's EORI number is the best to have?{{- q_end}}\",\"faq_who_is_the_beneficial_owner_question\":\"{{- q_start}}¿Quién es el beneficiario activo?{{- q_end}}\",\"faq_why_do_i_need_a_fiscal_representative_question\":\"{{- q_start}}Why do I need a fiscal representative?{{- q_end}}\",\"faq_why_i_need_vat_number_question\":\"{{- q_start}}Why do I need a VAT number?{{- q_end}}\",\"faq_will_original_documents_be_returned_after_registration_question\":\"{{- q_start}}You are asking for original documents--will I have these returned after the registration is completed?{{- q_end}}\",\"faq_wrong_registration_document_to_kpmg_question\":\"{{- q_start}}What happens if I provide wrong documents to KPMG for the VAT registration?{{- q_end}}\",\"faq_wrong_registration_info_to_kpmg_question\":\"{{- q_start}}What happens if I provide wrong information to KPMG when registering?{{- q_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_question\":\"{{- q_start}}¿Estos cambios son aplicables del Reino Unido ahora que ya no forma parte de la UE?{{- q_end}}\",\"ioss_faq_currency_other_than_eur_question\":\"{{- q_start}}Mi cliente paga en una divisa que no son EUR, ¿qué tipo de cambio debo utilizar?{{- q_end}}\",\"ioss_faq_do_not_opt_into_ioss_question\":\"{{- q_start}}¿Qué ocurre si no opto por usar IOSS?{{- q_end}}\",\"ioss_faq_eur_150_value_limit_question\":\"{{- q_start}}¿Qué es el límite de valor de 150 EUR?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_question\":\"{{- q_start}}¿Qué información necesito facilitar a KPMG para el registro de IOSS?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_return_question\":\"{{- q_start}}¿Qué información necesito facilitar a KPMG para la declaración de IOSS?{{- q_end}}\",\"ioss_faq_ioss_for_b2b_question\":\"{{- q_start}}¿Puedo utilizar IOSS para las transacciones B2B?{{- q_end}}\",\"ioss_faq_pay_tax_due_question\":\"{{- q_start}}¿Cómo abono los impuestos devengados y cuál es el plazo de pago?{{- q_end}}\",\"ioss_faq_return_deadline_question\":\"{{- q_start}}¿Cuál es el plazo de la declaración?{{- q_end}}\",\"ioss_faq_return_goods_under_ioss_question\":\"{{- q_start}}¿Cómo puedo devolver bienes en el marco del plan de IOSS?{{- q_end}}\",\"ioss_faq_who_to_contact_if_question\":\"{{- q_start}}Si tengo una pregunta, ¿con quién debo contactar?{{- q_end}}\",\"fedex_cross_border_hint\":\"Clientes transfronterizos de FedEx: utilice su número de cuenta de 6 dígitos + agregue 'FXCB'\",\"forgot_pw_resend\":\"Si no ha recibido el mensaje de correo electrónico para restablecer la contraseña, haga clic {{- link_start}}aquí{{- link_end}} para que la volvamos a enviar o póngase en contacto con nosotros en {{- contactEmail}}\",\"login_disclaimer\":\"Mediante el registro o la creación de una cuenta, acepta nuestros {{- link1_start}}Términos generales de negocio{{- link1_end}} y {{- link2_start}}Aviso de privacidad{{- link2_end}}.\",\"register_welcome_text\":\"Gracias por su visita. Tenga en cuenta que esta es una plataforma a la que se accede solo por invitación. Si no ha sido invitado pero le gustaría registrarse en KPMG, puede averiguar más sobre nuestras ofertas para Vendedores en el mercado {{- link_start}}aquí{{- link_end}}.\",\"validation-vat-vatrate-is-required-sale-or-return-when-vat_amount\":\"Tenga en cuenta que la columna del tipo de IVA (VAT rate) es obligatoria si proporciona el importe del IVA (VAT amount) de una transacción\"}","module.exports = {\"(Empty)\":\"\",\"A bank statement showing your bank account information (if appropriate)\":\"Un relevé bancaire reprenant les informations de votre compte bancaire (le cas échéant)\",\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\":\"Document délivré par votre banque, reprenant les informations suivantes : nom de la banque, adresse correspondante de la banque, nom du titulaire du compte, adresse du titulaire du compte, numéro de compte, IBAN, SWIFT/BIC, devise.\",\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\":\"Un code mnémonique est une abréviation utilisée pour identifier de manière unique les parts négociées en bourse d'une action particulière sur un marché boursier particulier. Un code mnémonique peut être composé de lettres, de chiffres ou d'une combinaison des deux.\",\"Abandoned\":\"Abandonné\",\"Access denied\":\"Accès refusé\",\"Accounting office\":\"Bureau de la comptabilité\",\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\":\"Les registres comptables sont l'ensemble de la documentation et des livres/registres impliqués dans la préparation des états financiers ou des registres pertinents pour les audits et les examens financiers.\",\"Acknowledge\":\"Accusé de réception\",\"Acknowledgement\":\"\",\"Actions\":\"Options\",\"Active\":\"Actif\",\"Active tier:\":\"Niveau actif\",\"Active tier: \":\"Niveau actif\",\"Add\":\"Ajouter\",\"Add New Country\":\"Ajouter de nouveaux pays\",\"Add SKU\":\"Ajouter les codes SKU\",\"Add current or previous IOSS number\":\"Ajouter le numéro IOSS actuel ou précédent\",\"Add new Beneficial Owner\":\"Ajouter un nouveau bénéficiaire effectif\",\"Add new Business Owner\":\"Ajouter un nouveau propriétaire d'entreprise\",\"Add new Fixed Establishment\":\"Ajouter un nouvel établissement stable\",\"Add new VAT ID\":\"Ajoutez un nouveau numéro d'identification TVA\",\"Add new authorized signatory\":\"Ajoutez un nouveau\",\"Add new turnover\":\"Ajouter un nouveau chiffre d’affaires\",\"Add the OSS registration number\":\"Ajouter le numéro d'enregistrement OSS\",\"Add the address of the previous fiscal representative in France\":\"Ajouter l'adresse du précédent représentant fiscal en France\",\"Add the effective date of OSS registration\":\"Ajouter la date effective de l'enregistrement de l'OSS\",\"Additional Services\":\"Services supplémentaires\",\"Address\":\"L'adresse \",\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\":\"Adresse de l'emplacement de stockage des marchandises en Allemagne (nom de la rue, numéro, ville, code postal)\",\"Agree\":\"D’accord\",\"All\":\"Tous \",\"Amazon SKUs\":\"Codes SKU d’Amazon\",\"Amazon Seller account name\":\"Nom du compte vendeur Amazon\",\"Amazon invoicing services before 2021 July\":\"Service de TVA sur Amazon avant le 2021 juillet\",\"Amount\":\"Montant\",\"Amount must be greater than or equal to zero.\":\"Le montant doit être supérieur ou égal à zéro\",\"Amount of capital in EUR\":\"Montant du capital en EUR\",\"An error has occured during email verification.\":\"Une erreur s'est produite lors de la vérification du courriel\",\"Apostille\":\"Apostille\",\"Approval due\":\"Approbation en cours\",\"Approve\":\"Approuver\",\"Approve draft\":\"Approuver le projet\",\"Approved\":\"Approuvé\",\"ApprovedByClient\":\"Approuvé par le client\",\"Are you making already taxable supply in France?\":\"Effectuez-vous déjà des livraisons imposables en France ?\",\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\":\"Envisagez-vous d'acheter des marchandises à une (des) entreprises assujettie(s) à la TVA dans d'autres États membres de l'UE et de les stocker dans un entrepôt français ?\",\"Are you sure to delete?\":\"Vous êtes sûr de vouloir supprimer cela ?\",\"Are you sure to revoke access to this company?\":\"Êtes-vous sûr de vouloir révoquer l'accès à cette entreprise ?\",\"Are you sure you want to change client invoicing?\":\"Es-ce que vous voulez vraiment changer la facturation ?\",\"At least one country must be selected\":\"Au moins un pays doit être sélectionné\",\"Attach file\":\"\",\"Attachments uploaded successfully\":\"\",\"Authorized signatory\":\"Signataire autorisé\",\"Automation\":\"Automation\",\"Automotive/Industrial\":\"Automobile/Industrie\",\"Available credit\":\"Crédit disponible\",\"B2B\":\"B2B\",\"B2C\":\"B2C\",\"BIC\":\"BIC\",\"Bank Information\":\"Informations bancaires\",\"Bank Transfer\":\"Virement bancaire\",\"Bank account\":\"Compte bancaire\",\"Bank account holder address\":\"Adresse du titulaire du compte bancaire\",\"Bank account holder name\":\"Nom du titulaire du compte bancaire\",\"Bank address\":\"Adresse de la banque\",\"Bank name\":\"Nom de la banque\",\"Banking Information\":\"Données bancaires\",\"Banking information for the VAT payment in Germany\":\"Informations bancaires pour le paiement de la TVA en Allemagne\",\"Beauty/Health\":\"Beauté/Santé\",\"Beneficial Owner\":\"Bénéficiaire effectif\",\"BiMonthly\":\"Bimensuel\",\"Billing documents\":\"Documents de facturation\",\"Birth date\":\"Date de naissance\",\"Birth info\":\"Informations de naissance\",\"Birth name (if different)\":\"Nom de naissance (s'il est différent)\",\"Birthdate\":\"Date de naissance\",\"Books/Audio\":\"Livres/Audio\",\"Both\":\"Les deux\",\"Business Details\":\"Détails sur l'entreprise\",\"Business Owners\":\"Chefs d'entreprise\",\"Business details\":\"Détails sur l'entreprise\",\"Business incorporation documents (if appropriate)\":\"Documents extrait Kbis/ extrait K (le cas échéant) \",\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\":\"Les entreprises situées en dehors de l'UE doivent fournir un certificat d'identification fiscale local dans le pays d'établissement.\",\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\":\"Les entreprises situées en dehors de l'UE doivent fournir un numéro d'identification fiscale local dans le pays d'établissement.\",\"CEO\":\"PDG\",\"Can't be later than the current month\":\"Ne peut pas exceeder le mois en cours\",\"Can't be smaller than the original compliance start date\":\"Ne peut pas être antérieure à la date de début initiale\",\"Cancel\":\"Annuler\",\"Cancel draft\":\"Annuler le projet\",\"Cancelled\":\"Annulé\",\"Cancelled at\":\"Annulé à\",\"Change Company Detail\":\"Modifier les détails de l'entreprise\",\"Change Language\":\"Changer la langue\",\"Change company detail\":\"Modifier les détails de l'entreprise\",\"Change email\":\"Modifier le courriel\",\"Change email address\":\"Changer l’adresse courriel \",\"Change item\":\"Changer l’article\",\"Check out the different categories to understand VAT compliance better.\":\"Consultez les différentes catégories pour mieux comprendre les obligations en matière de TVA.\",\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\":\"Choisissez cette option si vous n'avez pas de numéro EORI au Royaume-Uni, mais que vous souhaitez y importer des marchandises. (Nécessaire après le Brexit)\",\"Citizenship\":\"Citoyenneté\",\"City\":\"Ville\",\"City of birth\":\"Ville de naissance\",\"Client Account\":\"Compte Client\",\"Client Accounts\":\"Comptes clients\",\"Client id\":\"Numéro du client\",\"Client name\":\"Nom du client\",\"Client source\":\"Client source\",\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\":\"Les personnes proches des personnes politiquement exposées sont les suivantes : a) toute personne physique dont on sait qu'elle a la propriété effective conjointe d'entités juridiques ou d'organisations non constituées en société, ou toute autre relation d'affaires étroite, avec la personne politiquement exposée ; b) toute personne physique qui a la propriété effective exclusive d'une entité juridique ou d'une organisation non constituée en société dont on sait qu'elle a été créée au profit de la personne politiquement exposée).\",\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\":\"Codice Fiscale. Si vous avez vécu en Italie, vous avez un code fiscal italien individuel. Si ce n'est pas le cas, veuillez laisser ce champ vide.\",\"Collectibles/Art/Stationary\":\"Collections/Art/Articles de papeterie\",\"Commodity code\":\"Code marchandise\",\"Communicating with Tax Authorities\":\"Communiquer avec les autorités fiscales\",\"Communicating with tax authorities\":\"Communiquer avec les autorités fiscales\",\"Companies\":\"Entreprises\",\"Company\":\"Entreprise\",\"Company Name\":\"Nom de l'entreprise\",\"Company name\":\"Nom de l'entreprise\",\"Company not found\":\"L’entreprise introuvable \",\"Completed\":\"Complété\",\"Compliance status\":\"État du service\",\"Confirm\":\"Confirmer\",\"Confirm Order\":\"Confirmer la commande\",\"Confirm Payment\":\"Confirmation du paiement\",\"Confirm and Finalize\":\"Confirmer et finaliser\",\"Confirm and Generate Return\":\"Finaliser\",\"Confirm new password\":\"Confirmez le nouveau mot de passe\",\"Confirm order and pay with\":\"Valider la commande et régler par\",\"Confirm rejection\":\"Confirmer le rejet\",\"Confirm without Master Data setup\":\"Confirmer sans configuration des données de base\",\"Confirm without adding SAF-T data\":\"Confirmer sans ajouter les données SAF-T\",\"Confirmation\":\"Confirmation\",\"Confirmed\":\"Confirmé\",\"Contact\":\"Contact\",\"Contact first name\":\"Prénom du contact\",\"Contact last name\":\"Nom de famille du contact\",\"ContactAccountManager\":\"\",\"Contacting tax authorities\":\"Contacter les autorités fiscales\",\"Contract Id\":\"Numéro de contrat\",\"Contract id\":\"Numéro du contract \",\"Core Service\":\"Service de base\",\"Correspondence Address\":\"Adresse de correspondance\",\"Countries\":\"Pays\",\"Country\":\"Pays\",\"Country of birth\":\"Pays de naissance\",\"Country of incorporation\":\"Pays de constitution\",\"Country of registration\":\"Pays d’enregistrement\",\"Create Account\":\"Créer un compte\",\"Create Order\":\"Créer la commande\",\"Create your account\":\"Créez votre compte\",\"Created Date\":\"Date de création\",\"Created date\":\"Date de création\",\"Currency\":\"Devise\",\"Currency not found ({{id}})\":\"Devise introuvable ({{id}})\",\"Currently no IOSS or VAT service is available.\":\"Aucun service TVA ou IOSS n'est actuellement disponible.\",\"Data Upload\":\"Téléchargement\",\"Data Upload Finalized\":\"Téléchargement finalisé\",\"DataUploaded\":\"Téléchargé\",\"DataVAT generated\":\"DATAVAT générées\",\"Date must be after {{date}}\":\"La date doit être postérieure à la {{date}}\",\"Date must be before 2100-01-01\":\"La date doit être avant 01-01-2100\",\"Date must be before {{date}}\":\"La date doit être antérieure à la {{date}}\",\"Date must be bigger or equal than compliance period start date\":\"La date doit être postérieure ou égale à la date de début de la période de conformité\",\"Date must be bigger or equal than restart period start date\":\"La date doit être postérieure ou égale à la date de début de la période de redémarrage\",\"Date must be same or after {{date}}\":\"La date doit être identique ou postérieure à la {{date}}\",\"Date must be same or before {{date}}\":\"La date doit être identique ou antérieure à la {{date}}\",\"Date must be smaller or equal than compliance period end date\":\"La date doit être antérieure ou égale à la date de fin de la période de conformité\",\"Date of incorporation\":\"Date d’incorporation\",\"Date of registration at the Commercial Register\":\"Date d'enregistrement au registre du commerce\",\"Declined\":\"Refusé\",\"Deduct all Refund\":\"Déduire tout remboursement\",\"Default\":\"Par défaut\",\"Default vat rate types successfully saved\":\"Les types de taux de TVA par défaut ont été sauvegardés avec succès\",\"Delete\":\"Supprimer \",\"Delete all services\":\"Supprimer tous les services \",\"Deregistered\":\"\",\"Deregistration\":\"Désinscription\",\"Deregistration date\":\"Date de désinscription\",\"Deregistration in progress\":\"\",\"Desucla Errors\":\"Desucla Errors\",\"Details\":\"Détails \",\"Did you perform sales of goods and/or supplies of services before registering in Italy?\":\"Avez-vous vendu des biens et/ou fourni des services avant de vous enregistrer en Italie ?\",\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\":\"Avez-vous effectué, avant de vous enregistrer en Italie, des ventes de biens ou de services pour lesquelles il aurait été nécessaire d'obtenir un numéro de TVA italien ?\",\"Director\":\"Directeur\",\"Disabled\":\"Désactivé\",\"Distance sale threshold check\":\"Contrôle du seuil de vente à distance\",\"Distance sales above the threshold\":\"Ventes à distance au-dessus du seuil\",\"Do not agree\":\"Pas d'accord\",\"Do not choose this if you already have one EORI number in the EU.\":\"Ne choisissez pas cette option si vous avez déjà un numéro EORI dans l'UE. Votre demande sera refusée par le bureau de douane.\",\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\":\"Ne confondez pas le représentant fiscal avec votre prestataire de services de conformité à la TVA. Le représentant fiscal est enregistré en France et agit comme votre représentant local. KPMG désignera un nouveau représentant fiscal pour vous, et pour cela nous devons fournir le nom de l'ancien représentant.\",\"Do you have a Polish bank account?\":\"Avez-vous un compte bancaire polonais ?\",\"Do you have a Spanish bank account?\":\"Avez-vous un compte bancaire espagnol ?\",\"Do you have a VAT Number?\":\"Avez-vous un numéro de TVA ?\",\"Do you have an office and employee(s) in Italy?\":\"Avez-vous un bureau et un ou plusieurs employés en Italie ?\",\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\":\"Avez-vous un autre numéro d'identification TVA dans l'UE que celui du pays d'établissement ?\",\"Do you have any fixed establishment in the EU?\":\"Avez-vous un établissement stable dans l’UE ?\",\"Do you have current or previous IOSS number?\":\"Avez-vous un numéro IOSS actuel ou précédent ?\",\"Document uploaded successfully\":\"Document téléchargé avec succès\",\"Documents\":\"Documents\",\"Documents signed\":\"Documents signés\",\"Documents uploaded successfully\":\"Documents téléchargés avec succès\",\"Does the authorized signatory own more than 25% of the shares?\":\"Le signataire autorisé l détient-il plus de 25 % des actions ?\",\"Don't have account yet?\":\"Vous n'avez pas encore de compte ?\",\"Download\":\"Télécharger\",\"Download Contract\":\"Téléchargez le contrat\",\"Download Currencies\":\"Télécharger les devises\",\"Download IOSS Template\":\"Télécharger le modèle IOSS\",\"Download PDF\":\"Télécharger PDF\",\"Download SAF-T Template\":\"Télécharger le modèle SAF-T\",\"Download SKUs\":\"Téléchatger les codes SKU\",\"Download VAT/OSS Template\":\"Télécharger le modèle TVA/SSE\",\"Download proof\":\"Preuve de téléchargement\",\"Draft\":\"Projet\",\"Draft successfully approved\":\"Projet approuvé avec succès\",\"Draft successfully cancelled\":\"Projet annulé avec succès\",\"Draft successfully saved\":\"Projet enregistré avec succès\",\"Driving License\":\"Permis de conduire\",\"Due\":\"Dû\",\"E-filing\":\"Dépôt électronique\",\"E.g. Amazon, eBay, your own webshop, etc.\":\"Par exemple Amazon, eBay, votre propre boutique en ligne, etc.\",\"EORI\":\"EORI\",\"EORI number application in the EU\":\"Demande de numéro EORI dans l'UE\",\"EORI number application in the UK\":\"Demande de numéro EORI au Royaume-Uni\",\"ESL\":\"ESL\",\"ESL Frequency\":\"Fréquence ESL\",\"EU VAT Number\":\"Numéro de TVA\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services.\":\"Les entreprises basées dans l'UE doivent fournir un numéro d'identification TVA valide dans le pays d'établissement, sans quoi nous facturerons la TVA pour nos services. Les entreprises situées en dehors de l'UE doivent fournir un numéro d'identification fiscale local dans le pays d'établissement.\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\":\"Les entreprises basées dans l'UE doivent fournir un numéro d'identification TVA valide dans le pays d'établissement, sans quoi nous facturerons la TVA pour nos services. Ce champ est facultatif pour les entreprises implantées en dehors de l'UE.\",\"EU country where your goods are first imported to before selling to Germany\":\"Pays de l'UE où vos marchandises sont d'abord importées avant d'être vendues en Allemagne.\",\"Edit\":\"Modifier\",\"Edit SKU\":\"Modifier SKU\",\"Edit companies\":\"Editer les entreprises\",\"Effective date of registration\":\"Date effective de l'enregistrement\",\"Electronics/Computer/Office\":\"Electronique/Informatique/Bureau\",\"Email\":\"E-mail\",\"Email already exists\":\"L'adresse électronique existe déjà\",\"Email change request sent to your new email address. Please check your new inbox\":\"Demande de changement d'adresse e-mail envoyée à votre nouvelle adresse e-mail. Veuillez vérifier votre boîte de réception\",\"Enabled\":\"Activé\",\"End Date\":\"Date de fin\",\"Error\":\"Erreur\",\"Error occured\":\"Une erreur s'est produite\",\"ErrorAtTA\":\"\",\"ErrorReturnGen\":\"\",\"Est. Country type\":\"Mise en place des type de pays \",\"Estimated annual taxable supply (in EUR)\":\"Estimation des livraisons imposables annuelles (en EUR)\",\"Estimated payable VAT in the first year in Germany (in EUR)\":\"Estimation de la TVA à payer la première année en Allemagne (en EUR)\",\"Estimated total profit in the first year in Germany (in EUR)\":\"Bénéfice total estimé pour la première année en Allemagne (en EUR)\",\"Exempt\":\"Exonéré\",\"Existing VAT numbers\":\"Numéros de TVA existants\",\"Exists\":\"Existe\",\"Expired\":\"Expiré\",\"Expires\":\"Expire\",\"Expiry date of the identification document\":\"Date d'expiration du document d'identification\",\"Extend by month\":\"Prolonger par mois\",\"Extent of ownership interest\":\"Pourcentage de propriété\",\"FAQ\":\"FAQ\",\"Failed\":\"Échec de l'opération\",\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\":\"Les membres de la famille d’une personne politiquement exposée comprennent le conjoint ou le partenaire domestique d’une personne politiquement exposée; les enfants biologiques et adoptés, les beaux-enfants et les enfants en famille d’accueil et leurs conjoints ou partenaires domestiques, d’une personne politiquement exposée; les parents biologiques, adoptifs, beaux-parents et parents d’accueil d’une personne politiquement exposée.\",\"Fashion/Accessories/Jewellery\":\"Mode/Accessoires/Bijoux\",\"Father's full name\":\"Nom complet du père\",\"Feedback saved successfully\":\"Commentaires enregistrés avec succès\",\"Filing agent\":\"Agent dépositaire\",\"Filing extension\":\"Prolongation du dépôt\",\"Fill out the Questionnaire\":\"Complétez le questionnaire\",\"Final position\":\"Situation finale\",\"Finalize Upload\":\"Finaliser le téléchargement\",\"Finalized\":\"Finalisé\",\"First Name of Proprietor\":\"Prénom de l'entrepreneur\",\"First name\":\"Prénom\",\"Fiscal representation\":\"Représentation fiscale\",\"Fixed Establishments\":\"Établissements stables\",\"Fixed establishments\":\"Établissements stables\",\"Food/Grocery\":\"Alimentation/Épicerie\",\"For information only\":\"À titre d’information uniquement\",\"Forgot your password?\":\"Vous avez oublié votre mot de passe ?\",\"FourMonthly\":\"Tous les quatre mois\",\"From\":\"De\",\"From which country do you purchase the goods that you will sell in France?\":\"Dans quel pays achetez-vous les marchandises que vous allez vendre en France ? \",\"Full name\":\"Nom et prénom\",\"GTU1\":\"Fourniture de boissons alcoolisées\",\"GTU10\":\"Fourniture de bâtiments, structures et terrains\",\"GTU11\":\"Services liés au quota d'émission de gaz à effet de serre\",\"GTU12\":\"Services immatériels – uniquement dans les domaines du conseil, de la comptabilité, du droit, de la gestion, de l'éducation ou du marketing, des services liés aux sièges sociaux, de la publicité, des études de marché et des sondages d'opinion, des services dans le cadre de la recherche et du développement scientifiques\",\"GTU13\":\"Services de transport et de gestion d'entrepôt\",\"GTU2\":\"Fourniture de fioul prévue dans la réglementation sur les accises\",\"GTU3\":\"Fourniture d'huiles lubrifiantes, de lubrifiants plastiques, etc.\",\"GTU4\":\"Fourniture de produits contenant du tabac, de tabac séché, de liquides pour cigarettes électriques et de produits innovants au sens de la réglementation sur les accises\",\"GTU5\":\"Fourniture/vente de déchets, déchets\",\"GTU6\":\"Fourniture de dispositifs électroniques et de leurs pièces ainsi que de matériaux pour ces dispositifs\",\"GTU7\":\"Fourniture de véhicules et/ou de pièces automobiles\",\"GTU8\":\"Fourniture de métaux nobles et de métaux communs\",\"GTU9\":\"Fourniture de médicaments et de dispositifs médicaux -produits médicamenteux et aliments spéciaux\",\"General VAT Advice\":\"Conseils généraux sur la TVA\",\"General VAT advice\":\"Conseils généraux sur la TVA\",\"Generate\":\"Générer\",\"Generated\":\"Générés\",\"Getting started with KPMG\":\"Commencer à utiliser les services de KPMG\",\"Global Services\":\"Services internationaux\",\"Go to Master Data/Amazon SKUs\":\"Aller à Données de base /Codes SKU Amazon\",\"Guides and Tutorials\":\"Guides et Tutoriels\",\"Has decisive influence in the business\":\"A une influence décisive sur l'entreprise\",\"Home country compliance\":\"Conformité à la TVA du pays d'origine\",\"Home/Garden/Tools\":\"Maison/Jardin/Outils\",\"I Understand\":\"Je comprends\",\"I accept the Contract\":\"J'accepte le contrat\",\"I ask for and I explicitly consent to the following\":\"Je demande et j'accepte explicitement ce qui suit\",\"I plan to move to a new service provider\":\"Je prévois de passer à un nouveau fournisseur de services \",\"I plan to stop trading and de-register for VAT\":\"Je prévois d'arrêter de négocier et de me désinscrire\",\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\":\"Je donne mon accord inconditionnel à KPMG Global Services Hungary (KGSH) pour traiter et conserver mes données à caractère personnel, telles qu'elles sont énumérées ou mentionnées dans les dispositions relatives à protection des données, au-delà de l'enregistrement actuel de mon entité auprès des autorités fiscales, afin de permettre à KGSH d'utiliser ces données pour un ou plusieurs enregistrements futurs, pour une période ne pouvant pas dépasser le délai d'expiration/d'invalidité officiel de ces données ou une durée maximale de 10 ans.\",\"IBAN\":\"IBAN\",\"IBAN of the Polish Bank\":\"IBAN de la banque polonaise\",\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\":\"IBAN signifie International Bank Account Number (numéro de compte bancaire international). Il s'agit d'un code international standard composé de 34 lettres et chiffres maximum qui permet aux banques de traiter les transactions dans le monde entier. Si votre banque ne fournit pas d'IBAN, veuillez ajouter à nouveau votre numéro de compte courant.\",\"ID\":\"Pièce d'identité\",\"IOSS\":\"IOSS\",\"IOSS Compliance & Registration\":\"Conformité & Enregistrement IOSS\",\"IOSS Compliance Pay As You Ship\":\"IOSS Compliance Facturé en fonction du service\",\"IOSS Compliance Tier 1\":\"IOSS Compliance de niveau 1\",\"IOSS Compliance Tier 2\":\"IOSS Compliance de niveau 2\",\"IOSS Compliance Tier 3\":\"IOSS Compliance de niveau 3\",\"IOSS Deregistration\":\"Désinscription IOSS\",\"IOSS Number\":\"Numéro IOSS\",\"IOSS Registration\":\"Enregistrement IOSS\",\"IOSS Registration Related Questions\":\"Questions relatives à l’enregistrement auprès de l’IOSS\",\"IOSS Registration and Compliance\":\"Immatriculation et conformité IOSS\",\"IOSS data template\":\"Modèle de données IOSS\",\"IOSS deregistration\":\"Radiation de l'IOSS\",\"IOSS registration\":\"Enregistrement IOSS\",\"IOSS take over\":\"Reprendre IOSS\",\"Id\":\"Id\",\"Id is taken\":\"L’identifiant est pris\",\"Identification\":\"Identification\",\"Identification document\":\"Pièce d’identité\",\"Identification document number\":\"Numéro de la pièce d’identité\",\"If the extent of ownership can be quantified.\":\"Si la propriété peut être quantifiée.\",\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\":\"Si vous n’êtes pas certain de la réponse à une question, veuillez nous contacter à l’adresse {{- contactEmail}} e-mail.\",\"If you will use Amazon FBA, add the address of the German FBA warehouse.\":\"Si vous utilisez Amazon FBA, ajoutez l'adresse de l'entrepôt FBA allemand.\",\"If your return does not contain any payable VAT, there is no action required from your end.\":\"Si votre déclaration ne contient pas de TVA à payer, aucune action n'est requise de votre part.\",\"Ignore and upload\":\"Ignorer\",\"In Progress\":\"En cours\",\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\":\"En Espagne, la TVA ne peut être payée qu'à partir d'un compte bancaire espagnol. Lorsque vous exercez des activités professionnelles en Espagne, vous devez utiliser le service d'assistance au paiement de KPMG pour vous assurer que les paiements et les déclarations de TVA sont traités correctement.\",\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\":\"Au cours de l'année d'enregistrement. Une livraison imposable implique que vous ayez effectué des ventes locales et/ou des ventes à distance dont le total dépasse le seuil d'assujettissement à la TVA.\",\"In which country do you keep the goods that you will later sell in France?\":\"Dans quel pays gardez-vous les marchandises que vous vendrez ensuite en France ?\",\"In which country was your FedEx or TNT account created?\":\"Dans quel pays votre compte FedEx ou TNT a-t-il été créé ?\",\"Incorrect transaction period. Transaction period cannot be after the reporting period.\":\"Période de transactions incorrecte. La période de transaction ne peut pas être postérieure à la période de déclaration.\",\"Individual\":\"Entreprise individuelle\",\"Insufficient credit\":\"Crédit insuffisant\",\"Intrastat\":\"Intrastat\",\"Intrastat Frequency\":\"Fréquence Intrastat\",\"Intrastat In\":\"Intrastat pour les arrivées\",\"Intrastat Out\":\"Intrastat pour les expéditions\",\"Intrastat Report\":\"Déclaration Intrastat \",\"Intrastat Report In\":\"Déclaration Intrastat pour les arrivées\",\"Intrastat Report Out\":\"Déclaration Intrastat pour les expéditions\",\"Intrastat Reporting\":\"Déclaration Intrastat \",\"Intrastat in\":\"Intrastat pour les arrivées\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Une déclaration Intrastat est un rapport statistique qui enregistre le volume des marchandises qui circulent entre les membres de l'UE et les entreprises qui y sont installées. La déclaration Intrastat pour les expéditions ne doit être soumise qu'après avoir atteint une certaine quantité d'expéditions de marchandises dans un pays donné. Consultez nos guides et tutoriels pour plus d'informations sur les seuils de déclaration Intrastat.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Une déclaration Intrastat est un rapport statistique qui enregistre le volume des marchandises qui circulent entre les membres de l'UE et les entreprises qui y sont installées. La déclaration Intrastat pour les expéditions ne doit être soumise qu'après avoir atteint une certaine quantité d'expéditions de marchandises dans un pays donné. Consultez nos guides et tutoriels pour plus d'informations sur les seuils de déclaration Intrastat.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Une déclaration Intrastat est un rapport statistique qui enregistre le volume des marchandises qui circulent entre les membres de l'UE et les entreprises qui y sont installées. La déclaration Intrastat pour les arrivées ne doit être soumise qu'après avoir atteint une certaine quantité d'arrivées de marchandises dans un pays donné. Consultez nos guides et tutoriels pour plus d'informations sur les seuils de déclaration Intrastat.\",\"Intrastat out\":\"Intrastat pour les envois\",\"Intrastat threshold check\":\"Contrôle du seuil Intrastat\",\"Invalid\":\"Non valide\",\"Invalid ({{-fieldName}})\":\"Invalide ({{-fieldName}})\",\"Invalid Data\":\"Données non valides\",\"Invalid VAT number, VAT will be charged for our services.\":\"Numéro de TVA non valide, la TVA sera facturée pour nos services.\",\"Invalid data\":\"Données incorrectes\",\"Invalid email format\":\"Format courriel invalide\",\"Invalid state, please reload order\":\"Invalide, veuillez recharger la commande\",\"Invalid validation reports\":\"\",\"Invite Client\":\"inviter L'utilisateur\",\"Ioss Compliance\":\"Conformité IOSS\",\"Is the authorized signatory the only director entitled to represent the company?\":\"Le signataire autorisé est-il le seul administrateur habilité à représenter l'entreprise ?\",\"Is the beneficial owner a family member of the politically exposed person?\":\"Le bénéficiaire effectif est-il un membre de la famille de la personne politiquement exposée?\",\"Is the beneficial owner a politically exposed person?\":\"Le bénéficiaire effectif est-il une personnalité politique ?\",\"Is the beneficial owner known to be a close associate of the politically exposed person?\":\"Le bénéficiaire effectif est-il connu pour être un proche associé de la personne politiquement exposée?\",\"Is the correspondence address the same as the registered business address?\":\"L'adresse de correspondance est-elle la même que l'adresse de l'entreprise enregistrée ?\",\"Is the home address same as the registered business address?\":\"L'adresse du domicile est-elle la même que celle de l'entreprise enregistrée ?\",\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\":\"Votre entreprise (ou une filiale de votre entreprise) est-elle cotée en bourse sur un marché réglementé ?\",\"Is your business registered for OSS?\":\"Votre entreprise est-elle inscrite à l'OSS ?\",\"It does not apply for the year of registration, only for previous years\":\"Elle ne s'applique pas à l'année d'enregistrement, mais uniquement aux années précédentes.\",\"It looks like there is no account with this email address.\":\"Il semble qu’il n’existe aucun compte avec cette adresse email\",\"Italian fiscal code\":\"Code fiscal italien\",\"Item identifier\":\"SAF-T identifiant de l’article\",\"KG, GmbH & Co.Kg\":\"KG, GmbH & Co.Kg\",\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\":\"KPMG Global Services Hungary Ltd. (24350309-2-41), une entreprise membre de l'organisation mondiale KPMG des entreprises indépendants affiliés à KPMG International Limited, une société privée anglaise à responsabilité limitée par garantie. Tous droits réservés.\",\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\":\"KPMG Global Services Hungary Ltd., une entreprise membre de l'organisation mondiale KPMG des entreprises indépendants affiliés à KPMG International Limited, une société privée anglaise à responsabilité limitée par garantie. Tous droits réservés.\",\"KPMG User Guides\":\"KPMG Guides de l'utilisateur\",\"Kitchen/Dining\":\"Cuisine/Salle à manger\",\"LLP, GbR\":\"LLP, GbR\",\"Last Name of Proprietor\":\"Nom de famille de l'entrepreneur\",\"Last name\":\"Nom de famille\",\"Legal\":\"Légal\",\"Legal Entity\":\"Entité légale\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"{{- a_paragraph_start}}{{- a_bold_start}}Entité légale:{{- a_bold_end}} PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V {{- a_paragraph_middle}}{{- a_bold_start}}Unité organisationnelle sans forme juridique:{{- a_bold_end}} General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.{{- a_paragraph_middle}}\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"{{- a_paragraph_start}}{{- a_bold_start}}Entité légale:{{- a_bold_end}} PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V {{- a_paragraph_middle}}{{- a_bold_start}}Unité organisationnelle sans forme juridique:{{- a_bold_end}} General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.{{- a_paragraph_middle}}\",\"Legal status\":\"Statut juridique\",\"Loading\":\"Chargement\",\"Local Tax Number Saved\":\"Numéro d'impôt local Sauvegardé\",\"Local VAT Number\":\"Numéro d'identification fiscale\",\"Local tax number\":\"Numéro d’impôt local\",\"Logout\":\"Déconnexion\",\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\":\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\",\"MWSAuthToken\":\"MWSAuthToken\",\"Main Data\":\"Données principales\",\"Manage Services\":\"Gérer les services\",\"Manage services\":\"Gérer les services\",\"Managing User Accounts\":\"Gérer les comptes utilisateurs\",\"Manual upload\":\"Chargement manuel\",\"Master Data\":\"Données de base\",\"Master Data Setup\":\"Configuration des données de base\",\"Master data\":\"Données de base\",\"Master data is complete. Please submit data.\":\"Les données de base sont complètes. Veuillez soumettre les données.\",\"Max length: {{maxLength}}\":\"Longueur maximale :\",\"Maximum {{max}} length\":\"Durée maximale {{max}}\",\"Merchant Id\":\"Identifiant du commerçant\",\"Middle\":\"Moyen\",\"Middle name (if any)\":\"Second prénom (le cas échéant)\",\"Minimum {{min}} length\":\"Durée minimale {{min}}\",\"Mode of Refund\":\"Mode de remboursement\",\"Monthly\":\"Mensuel\",\"Monthly compliance end date must be bigger than compliance end date\":\"La date de fin d'abonnement mensuel doit être postérieure à la date de fin d'abonnement\",\"Monthly country compliance\":\"Conformité mensuelle des pays\",\"Mother's birth name\":\"Nom de naissance de la mère\",\"Mr\":\"M.\",\"Ms\":\"Mlle\",\"Music/Movies/Games\":\"Musique/Cinéma/Jeux\",\"Must be a valid email address\":\"Doit être une adresse courriel valide\",\"Must be bigger than Start Date\":\"La date doit être postérieure à la date de début\",\"Must be lower than the first day of the compliance start month\":\"Doit être antérieure au premier jour du mois de début de la conformité\",\"Must be smaller or equal with the current or would-be compliance end date\":\"Doit être antérieure ou égale à la date de fin de conformité actuelle ou éventuelle\",\"Must contain the name of the business, registered address of business, name of authorized signatory.\":\"Il doit comporter le nom de l’entreprise, l’adresse enregistrée de l’entreprise, le nom du signataire autorisé.\",\"N/A\":\"N/A\",\"Name\":\"Nom\",\"Name at birth\":\"Nom à la naissance\",\"Name of Authority keeping the Commercial Register\":\"Nom de l'autorité qui tient le registre du commerce\",\"Name of previous fiscal representative in France\":\"Nom du précédent représentant fiscal en France\",\"Name of the Polish Bank\":\"Nom de la banque polonaise\",\"Name of the commercial register in the country of establishment\":\"Nom du registre de commerce dans le pays d'établissement\",\"Name of the regulated stock market\":\"Nom du marché boursier réglementé\",\"Name of the respective Tax Authority in country of establishment\":\"Nom de l'autorité fiscale applicable dans votre pays d'établissement\",\"Name the Online Marketplaces where you sell\":\"Citez les marchés en ligne sur lesquels vous vendez\",\"Nationality\":\"Nationalité\",\"Natural Person\":\"Personne physique\",\"New\":\"Nouveau\",\"New company\":\"Nouvelle entreprise\",\"New email address\":\"Nouvel e-mail\",\"New label\":\"Nouvelle etiquette\",\"New password\":\"Nouveau mot de passe\",\"New sign up\":\"Nouvelle inscription\",\"Next\":\"Suivant\",\"No\":\"Non\",\"No banking information is required to appoint KPMG as your tax agent in the selected countries\":\"Aucune information bancaire n'est requise pour désigner KPMG comme votre agent fiscal dans les pays sélectionnés.\",\"No business owner has been added yet.\":\"Aucun propriétaire d'entreprise n'a encore été ajouté\",\"No document generated\":\"Aucun document généré\",\"No existing VAT number is added yet\":\"Aucun numéro de TVA existant n'a encore été ajouté\",\"No payment needed\":\"Aucun paiement requis\",\"No result found\":\"Aucun résultat trouvé\",\"No turnover has been added yet.\":\"Aucun chiffre d'affaires n'a encore été ajouté.\",\"None\":\"Aucun\",\"Not Applicable\":\"N'est pas applicable\",\"Not Available\":\"Non disponible\",\"Not authenticated\":\"Non authentifié\",\"Not exists\":\"N’existe pas\",\"Not found\":\"Pas trouvé\",\"Not to be submitted proof\":\"\",\"NotToBeSubmitted\":\"\",\"Notifications\":\"Notifications \",\"Number required\":\"Nombre requis\",\"OHG\":\"OHG\",\"OSS\":\"\",\"OSS Information\":\"Informations sur les OSS\",\"OSS compliance\":\"OSS Compliance\",\"OSS deregistration\":\"Radiation de l’OSS \",\"OSS registration\":\"Enregistrement OSS\",\"OSS take over\":\"Reprendre OSS\",\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\":\"OSS : régime de guichet unique de l'Union européenne pour la déclaration de la TVA sur les ventes à distance auprès d'une seule autorité fiscale.\",\"Off\":\"Arrêt\",\"Ok\":\"OK\",\"On\":\"Marche\",\"On your own\":\"Indépendant\",\"Only Latin characters are allowed\":\"Seuls les caractères latins sont autorisés\",\"Order Details\":\"Détails de la Commande\",\"Order History\":\"Historique des commandes\",\"Order Summary\":\"Résumé de la commande\",\"Order does not confirmed yet.\":\"\",\"Order not found\":\"Commande non trouvée\",\"Order successfully canceled\":\"Commande annulée avec succès\",\"Orders & Payments\":\"Commandes et paiements\",\"Organizational Unit Without Legal Form\":\"Unité organisationnelle sans forme juridique\",\"Other\":\"Autres\",\"Other VAT Related Questions\":\"Autres questions relatives à la TVA\",\"Owner\":\"Titulaire\",\"Owner of the Bank account\":\"Titulaire du compte bancaire\",\"Owner of the Polish Bank Account\":\"Titulaire du compte bancaire polonais\",\"Owns at least 25% of the business or the voting rights\":\"Possède au moins 25 % de l'entreprise ou des droits de vote\",\"Paid by client\":\"Payé par le client\",\"Paid to TA\":\"Payé à l'autorité fiscale\",\"Partnership\":\"Partenariat\",\"Passport\":\"Passeport\",\"Passport/ID of the legal representative of the business\":\"Passeport/identité du représentant légal de l’entreprise\",\"Password\":\"Mot de passe\",\"Password Recovery\":\"Récupération du mot de passe\",\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\":\"Le mot de passe doit comporter au moins 8 chiffres et contenir trois des quatre types de caractères suivants : majuscules, minuscules, caractères alphanumériques, caractères spéciaux\",\"Password reset email sent. Please check your inbox.\":\"Un e-mail de réinitialisation du mot de passe a été envoyé. Veuillez consulter votre boîte de réception.\",\"Password successfully reset\":\"Votre mot de passe a bien été réinitialisé\",\"Pay\":\"Payer\",\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\":\"Payez selon votre envoi: 10 EUR/mois, jusqu'à 5 colis, plus 2 EUR par colis supplémentaire\",\"Pay order\":\"Ordre de paiement\",\"Pay with\":\"Payer par\",\"Payment Status\":\"État du paiement\",\"Payment due\":\"Paiement à effectuer\",\"Payment proof\":\"Justificatif de paiement\",\"Payment proof successfully uploaded\":\"Preuve de paiement téléchargée avec succès\",\"Payment reference\":\"Référence du paiement\",\"Payment status\":\"Statut du paiement\",\"Payment status changed successfully\":\"L’état du paiement a été validé avec succès\",\"Payment successful! We will redirect you in a few seconds.\":\"Paiement réussi ! Nous allons vous rediriger dans quelques secondes.\",\"Payments\":\"Paiements\",\"Pending\":\"En attente\",\"Period\":\"Période\",\"Person considered as beneficial owner\":\"Personne considérée comme bénéficiaire effectif\",\"Personal Identity card\":\"Carte d'identité personnelle\",\"Phone\":\"Téléphone\",\"Phone Number\":\"Numéro de téléphone\",\"Please add at least one business owner.\":\"Veuillez ajouter au moins un chef d'entreprise\",\"Please add at least one fixed establishment.\":\"Veuillez ajouter au moins un établissement stable.\",\"Please add the Polish bank details\":\"Veuillez ajouter les coordonnées bancaires polonaises\",\"Please add the address where your accounting records are kept\":\"Veuillez ajouter l'adresse où sont conservés vos documents comptables\",\"Please add the address where your accounting records are kept.\":\"Veuillez ajouter l'adresse où sont conservés vos documents comptables.\",\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\":\"Veuillez également fournir l'indicatif téléphonique du pays (ex : +33 pour la France, +86 pour la Chine, etc…)\",\"Please add the e-mail address where you received the invitation e-mail\":\"Veuillez ajouter l'adresse électronique à laquelle vous avez reçu l'e-mail d'invitation.\",\"Please add the home address\":\"Veuillez ajouter l'adresse du domicile\",\"Please attach a file that will help us understand why you think this return is incorrect.\":\"\",\"Please confirm your email address.\":\"Veuillez confirmer votre adresse email\",\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\":\"Veuillez consulter votre gestionnaire de compte au sujet du processus et des frais de désinscription. Veuillez noter que vous devrez peut-être prolonger les services et continuer à soumettre des déclarations jusqu'à ce que la désinscription soit terminée.\",\"Please contact your account manager via email to manage your services.\":\"\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\":\"Veuillez télécharger le(s) document(s) répertorié(s) ici, les imprimer, les faire signer par le signataire autorisé, puis les scanner et les mettre en ligne. Nous examinerons le(s) document(s), si tout est en ordre, vous devez les envoyer à notre adresse par courrier postal.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\":\"Veuillez télécharger le(s) document(s) répertorié(s) ici, les imprimer, les faire signer par le signataire autorisé, puis les scanner et les mettre en ligne. Nous examinerons le(s) document(s) ; il n’est pas nécessaire de les envoyer par courrier postal car les copies signées suffisent au traitement.\",\"Please enter a valid year.\":\"Veuillez saisir une année valide.\",\"Please enter only the tax number without country prefix\":\"Veuillez saisir uniquement le numéro de taxe sans le code pays.\",\"Please enter text\":\"Veuillez entrer du texte\",\"Please give a detailed reason for the rejection.\":\"Veuillez fournir en détail la raison du rejet.\",\"Please indicate the net value of the distance sales in Italy for each year.\":\"Veuillez indiquer la valeur nette des ventes à distance en Italie pour chaque année.\",\"Please note that any changes you made will be lost if you switch to another language.\":\"Veuillez noter que toutes les modifications que vous avez apportées seront perdues si vous passez à une autre langue.\",\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\":\"Veuillez noter que votre déclaration ne sera soumise que si le paiement est reçu par l’intermédiaire de la TVA avant la date limite de soumission.\",\"Please provide a valid e-mail address\":\"Veuillez fournir une adresse e-mail valide\",\"Please provide a valid e-mail address.\":\"Veuillez fournir une adresse e-mail valide.\",\"Please select at least one company\":\"Veuillez sélectionner au moins une entreprise\",\"Please select at least one reason\":\"Veuillez sélectionner au moins une raison \",\"Please select the type of products you sell\":\"Veuillez sélectionner le type de produit que vous vendez\",\"Please upload VAT ID certificate in Italy\":\"Veuillez télécharger votre attestation de régularité fiscale en Italie\",\"Please upload a bank certificate confirming your banking detals\":\"Veuillez télécharger un certificat bancaire confirmant vos coordonnées bancaires\",\"Please upload an official certificate confirming your business activities\":\"Veuillez télécharger un certificat officiel confirmant vos activités professionnelles\",\"Please upload the VAT ID certificate in the country of establishment\":\"Veuillez télécharger le certificat d'identification TVA dans le pays d'établissement\",\"Please upload the photocopy of the identification document\":\"Veuillez télécharger la photocopie de la pièce d'identité\",\"Please upload your Articles of Association\":\"Veuillez télécharger vos statuts\",\"Please use only numbers.\":\"Veuillez n’utiliser que des chiffres.\",\"Please use the link from the invitation email!\":\"Veuillez utiliser le lien fourni dans l’email d’invitation \",\"PoA revoked\":\"\",\"Polish Bank Information\":\"Informations bancaires polonaises\",\"Polish Banking Information\":\"Informations bancaires polonaises\",\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\":\"Par personne politiquement exposée, on entend une personne physique qui est investie de fonctions publiques importantes, ou qui a été investie de fonctions publiques importantes dans l'année qui précède cette mesure d'identification.\",\"Position in free form\":\"Autres\",\"Position in the company\":\"Fonction dans l'entreprise\",\"Postal/Zip code\":\"Code postal\",\"Preferred language\":\"Langue préférée\",\"Previous\":\"Précédent\",\"Price\":\"Prix\",\"Price must be lower\":\"Le prix doit être inférieur\",\"Pricing\":\"Tarification \",\"Primary Vat Frequency\":\"Fréquence de déclaration de TVA\",\"PrimaryVAT\":\"Déclaration de TVA\",\"Privacy\":\"Déclaration de confidentialité\",\"Processing\":\"Traitement\",\"Product Id\":\"Identification du produit\",\"Province\":\"Province\",\"Quarterly\":\"Trimestriel\",\"QuarterlyShifted1\":\"Décalé Trimestrielle 1\",\"QuarterlyShifted2\":\"Décalé Trimestrielle 2\",\"Rate type\":\"Type de tarif\",\"Read our guide how to automate transactions with Amazon:\":\"Lisez notre guide sur la façon d’automatiser l’approvisionnement en données avec Amazon :\",\"Reason of Rejection\":\"Motif du rejet\",\"Reconfirm Upload\":\"Confirmer à nouveau le téléchargement\",\"Reduced\":\"Réduit\",\"RefusedByClient\":\"Refus par le client\",\"Regenerate\":\"Régénérer\",\"Register number of your business at the Commercial Register\":\"Numéro d'enregistrement de votre entreprise au registre du commerce\",\"Registration number\":\"Numéro d’enregistrement\",\"Registration number of your business\":\"Numéro d'enregistrement de votre entreprise\",\"Reject\":\"Rejeter\",\"Rejected\":\"\",\"Remove\":\"Supprimer\",\"Renew Country\":\"Renouveler les pays\",\"Renew for one year\":\"Renouveler pour un an\",\"Reopen\":\"Rouvrir\",\"Required\":\"Obligatoire\",\"Required by post\":\"Requis par courrier postal\",\"Required electronically only\":\"Requis par voie électronique uniquement\",\"Required if automated\":\"Obligatoire en cas d’automatisation\",\"Required length: {{length}}\":\"Longueur requise : {{length}}\",\"Resend\":\"Renvoyer\",\"Reset Password\":\"Réinitialisation du mot de passe\",\"Reset filters\":\"Réinitialiser les filtres\",\"Restart date must be bigger than or equal to compliance end date\":\"La date de redémarrage de l'abonnement doit être postérieure ou égale à la date de fin de l'abonnement\",\"Retrospective\":\"Rétroactif\",\"Retrospective Return\":\"Déclaration rétroactive\",\"Retrospective return\":\"Déclaration retrospectif\",\"Return Library\":\"Bibliothèque\",\"Return and Refund\":\"Retour et remboursement\",\"Return and Refund plus MFN\":\"Retour et remboursement plus MFN\",\"Return cannot be submitted after submission due date\":\"Le retour ne peut pas être soumis après la date limite de soumission\",\"Return documents\":\"Documents de déclaration\",\"Return gen due\":\"Déclaration production due\",\"Return to approved\":\"Déclaration à la case départ\",\"Return type\":\"Type de déclaration\",\"ReturnGenerated\":\"Déclaration généré\",\"Revision\":\"Révision\",\"Revoking PoA\":\"\",\"SAF-T\":\"SAF-T\",\"SAF-T Compliance\":\"Conformité à la SAF-T\",\"SAF-T reporting\":\"Rapports SAF-T\",\"SAS\":\"SAS\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\":\"Les codes SWIFT et BIC sont des identifiants uniques associés à la banque dans le cadre d'une transaction internationale permettant de s'assurer que l'argent arrive au bon endroit. Votre banque peut vous aider à trouver le bon code SWIFT/BIC.\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \":\"Les codes SWIFT et BIC sont des identifiants uniques associés à la banque dans le cadre d'une transaction internationale permettant de s'assurer que l'argent arrive au bon endroit. Votre banque peut vous aider à trouver le bon code SWIFT/BIC.\",\"SWIFT/BIC\":\"SWIFT/BIC\",\"SWIFT/BIC of the Polish Bank\":\"SWIFT/BIC de la banque polonaise\",\"Save\":\"Enregistrer\",\"Saved successfully\":\"Enregistré avec succès\",\"Saving\":\"Sauvegarde\",\"Scope coverage\":\"Couverture du périmètre\",\"Secondary Vat Frequency\":\"Fréquence de la déclaration annuelle de TVA\",\"SecondaryVAT\":\"Déclaration annuelle de TVA\",\"See FAQ for definition of beneficial owner\":\"Voir la FAQ pour la définition du bénéficiaire effectif\",\"See FAQ for definition of beneficial owner.\":\"Voir FAQ pour la définition de bénéficiaire effectif.\",\"Select New Tier\":\"Sélectionnez un nouveau niveau\",\"Select additional services\":\"Sélectionnez des services supplémentaires\",\"Select countries, where you would like to extend KPMG engagement by 1 year\":\"Sélectionnez les pays pour lesquels vous souhaitez prolonger la coopération avec KPMG de 1 an de plus.\",\"Select countries, where you would like to start KPMG engagement\":\"Sélectionnez les pays pour lesquels vous souhaitez commencer à coopérer avec KPMG.\",\"Select country\":\"Sélectionnez un pays\",\"Select the country of OSS registration\":\"Sélectionnez le pays d'enregistrement de l'OSS\",\"Select the country where the warehouse is located where you keep your goods before selling in/to France\":\"Sélectionnez le pays où se trouve l'entrepôt où vous stockez vos marchandises avant de les vendre en/vers la France.\",\"Select the start date from when you want KPMG to submit your VAT returns.\":\"Sélectionnez la date à partir de laquelle vous souhaitez que KPMG soumette vos déclarations de TVA.\",\"Select the type of legal entity\":\"Sélectionnez le type d'entité juridique\",\"Select the type of your business entity\":\"Sélectionnez le type de votre entité commerciale\",\"Selected companies\":\"Entreprises sélectionnées\",\"Self Revision / Retrospective Returns\":\"\",\"Self revision\":\"Correction\",\"Seller Accounts\":\"Comptes vendeur\",\"Seller account\":\"Compte vendeur\",\"Send email\":\"Envoyer un courriel\",\"Send invitation\":\"Envoyer une invitation\",\"Sent To Return Generation\":\"Envoyé à la génération\",\"Sent to TA\":\"Envoyé à l'administration fiscale\",\"SentToTA\":\"\",\"Service Renewal\":\"Renouvellement de la fonction\",\"Service Selection\":\"Sélection du service\",\"Service detail\":\"Détail du service\",\"Service expiration date\":\"Date d’expiration du contrat\",\"Service expiration:\":\"Expiration du service:\",\"Service quality\":\"Qualité du service\",\"Service start date\":\"\",\"Services\":\"Services\",\"Set Password\":\"Définir le mot de passe\",\"Share percentage\":\"Pourcentage de parts\",\"Shareholder type\":\"Type de chef d'entreprise\",\"Show All\":\"Montrer tout\",\"Show inactive services\":\"Montrez les services inactifs\",\"Show only missing data\":\"Afficher uniquement les données manquantes\",\"Showing {{firstItem}}-{{lastItem}}\":\"Afficher les {{firstItem}}-{{lastItem}}\",\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\":\"Afficher les {{firstItem}}-{{lastItem}} des {{itemCount}}\",\"Sign in\":\"Connexion\",\"Sign in to your account\":\"Connectez-vous à votre compte\",\"Signed\":\"Signé\",\"Signed documents need to be uploaded\":\"Les documents signés doivent être téléchargés\",\"SixMonthly\":\"Tous les six mois\",\"Sku\":\"SKU\",\"Sku already exists ({{id}})\":\"L'SKU existe déjà ({{id}})\",\"Sku not found ({{id}})\":\"SKU non trouvé ({{id}})\",\"SkuId\":\"SKU\",\"Sole trader's first name\":\"Prénom de l'entrepreneur\",\"Sole trader's last name\":\"Nom de famille de l'entrepreneur\",\"Something went wrong\":\"Une erreur s’est produite\",\"Source\":\"Source\",\"Spanish VAT Payment Service\":\"Service de paiement de la TVA espagnole\",\"Spanish bank account\":\"Compte bancaire espagnol\",\"Specialist VAT Advice\":\"Conseils de spécialiste en TVA\",\"Specialist VAT advice\":\"Conseils de spécialiste en TVA\",\"Sporting goods/Outdoors\":\"Articles de sport/Extérieur\",\"Standard\":\"Standard\",\"Standard2\":\"Standard 2\",\"Start Date\":\"Date de début \",\"Start Questionnaire\":\"Démarrer le questionnaire\",\"Start date\":\"Date de début\",\"Start date of representation by KPMG\":\"Date de début de la représentation par KPMG\",\"Start date of storing goods in Germany\":\"Date de début du stockage des marchandises en Allemagne\",\"Started\":\"Commencer \",\"Starting date of intrastat in\":\"Date de début d'Intrastat pour les arrivées\",\"Starting date of intrastat out\":\"Date de début d'Intrastat pour les expéditions \",\"Statement\":\"Déclaration\",\"Status\":\"État\",\"Status changed successfully\":\"Le statut a été modifié avec succès\",\"Status updated to:\":\"Statut mis à jour :\",\"Status updated to: \":\"Statut mis à jour :\",\"Street\":\"Rue\",\"Street name\":\"Nom de la rue\",\"Street number\":\"Numéro\",\"Sub-total\":\"Sous-total\",\"Submission due\":\"Soumission due\",\"Submission proof\":\"\",\"Submit\":\"Soumettre\",\"Submitted\":\"Soumis\",\"SubmittedByClient\":\"Soumis par le client\",\"Subscribe\":\"\",\"Subtotal\":\"Sous-total\",\"Successfully done\":\"Fait avec succès\",\"Summary\":\"Résumé\",\"SuperReduced\":\"Super réduit\",\"SuperReduced2\":\"Super réduit 2\",\"Tax\":\"Impôt\",\"Tax Identifier\":\"Identifiant Fiscal\",\"Tax certificate\":\"Certificat d'imposition\",\"Thank you for signing up for KPMG registration and compliance services.\":\"Merci pour votre inscription aux services d’immatriculation et de conformité de KPMG.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\":\"Le rapport sur les transactions TVA d’Amazon ne contient pas de détails sur les remboursements en cas de transactions MFN. En sélectionnant cette option de remboursement, vous acceptez le risque que les autorités fiscales cherchent à contester la déduction de la TVA en cas d’audit. Par ailleurs, des notes de crédit MFN peuvent être fournies dans les fichiers modèles de KPMG.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \":\"Le rapport sur les transactions TVA d’Amazon ne contient pas de détails sur les remboursements en cas de transactions MFN. En sélectionnant cette option de remboursement, vous acceptez le risque que les autorités fiscales cherchent à contester la déduction de la TVA en cas d’audit. Par ailleurs, des notes de crédit MFN peuvent être fournies dans les fichiers modèles de KPMG.\",\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\":\"Les informations ci-dessus peuvent être partagées avec une autre société de KPMG si l'entreprise entre dans une relation contractuelle avec ladite société de KPMG qui est soumise à l'identification du client.\",\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\":\"Le numéro de compte ne semble pas valide. Veuillez saisir un numéro de compte FedEx ou TNT valide.\",\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\":\"Le signataire autorisé est dûment autorisé à signer et à agir légalement au nom de la société. Veuillez ajouter au moins un signataire autorisé.\",\"The below services are about to expire, please go to Services menu and extend your subscription. If you don’t want to extend these services, please leave a feedback.\":\"Les services ci-dessous sont sur le point d'expirer, veuillez accéder à l'option Services et prolonger votre abonnement. Si vous ne souhaitez pas étendre ces services, veuillez laisser un commentaire.\",\"The business has a natural person as beneficial owner\":\"L’entreprise a une personne physique comme bénéficiaire effectif\",\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\":\"Le calcul des périodes rétroactives est déterminant pour la préparation des documents d'enregistrement en Italie. Vous devez fournir à KPMG vos données de transaction couvrant les périodes de déclaration antérieures dès que possible. À défaut, la procédure d'enregistrement à la TVA italienne pourrait être retardée.\",\"The client identification will have to be repeated if no agreement is given.\":\"L'identification du client devra être répétée si aucun accord n'est donné.\",\"The e-mail address and password do not match.\":\"L’adresse e-mail et le mot de passe ne correspondent pas\",\"The executive officer of the business must be considered as the beneficial owner\":\"Le dirigeant de l’entreprise doit être considéré comme le bénéficiaire effectif\",\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner.\":\"L'identification de l'ayant droit économique est une obligation prévue par la loi aux fins de la prévention et de la lutte contre le blanchiment d'argent et le financement du terrorisme. Veuillez ajouter chaque bénéficiaire effectif détenant au moins 20 % des actions.\",\"The last user of the company cannot be removed\":\"Le dernier utilisateur de l’entreprise ne peut pas être supprimé\",\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\":\"Le numéro d'identification fiscale (ou Steuernummer) est un numéro d'identification délivré par les autorités fiscales allemandes lors de votre enregistrement en tant que contribuable. Ne confondez pas le numéro fiscal avec le numéro de TVA. Le numéro fiscal est utilisé comme référence de paiement lorsque vous transférez le montant de la TVA.\",\"The materials available here cover multiple topics in a detailed way.\":\"Les documents disponibles ici couvrent de nombreux sujets de manière détaillée.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\":\"Le prix indiqué est basé sur les informations de volume que vous avez indiquées. Nous nous réservons le droit de modifier votre niveau et de facturer la différence afin de refléter les volume réel de vos expéditions. Si vous ne payez pas le montant supplémentaire à temps, votre contrat pourrait être résilié.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \":\"Le prix indiqué est basé sur les informations de volume que vous avez indiquées. Nous nous réservons le droit de modifier votre niveau et de facturer la différence afin de refléter les volume réel de vos expéditions. Si vous ne payez pas le montant supplémentaire à temps, votre contrat pourrait être résilié.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\":\"Le droit de déduire la TVA sur les remboursements lorsque les biens ne sont pas retournés doit être examiné au cas par cas et KPMG ne déduit la TVA que lorsqu’il y a un retour de marchandises correspondant et que la déductibilité de la TVA est claire. En sélectionnant l’option « Déduire tout remboursement », nous déduisons tous les remboursements qui ont eu lieu au cours d’un mois donné et vous acceptez le risque que les autorités fiscales puissent chercher à contester la déduction de la TVA en cas de contrôle.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\":\"Le droit de déduire la TVA sur les remboursements lorsque les biens ne sont pas retournés doit être examiné au cas par cas et KPMG ne déduit la TVA que lorsqu’il y a un retour de marchandises correspondant et que la déductibilité de la TVA est claire. Il s’agit de l’option par défaut que nous utilisons pour la conformité à la TVA.\",\"The two passwords must be the same.\":\"Les deux mots de passe doivent-être identiques\",\"The value must match the required pattern\":\"La valeur doit correspondre au modèle requis\",\"The value must not match the required pattern\":\"La valeur ne doit pas correspondre au modèle requis\",\"There is no action required on your side.\":\"Aucune action n'est requise de votre part.\",\"There is no file uploaded for the current revision. Please reupload the file.\":\"Il n'y a pas de fichier téléchargé pour cette session. Veuillez télécharger un fichier.\",\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\":\"Il s'agit d'un identifiant unique du vendeur chez Amazon - généralement un code de 13-14 caractères, par exemple A123456789BCD\",\"This is an individual number in the commercial register document.\":\"Il s'agit d'un numéro individuel dans le document du registre du commerce\",\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\":\"Il s'agit uniquement des frais d'inscription à l'IOSS. Les frais de compliance mensuels seront facturés séparément. Des instructions détaillées suivront.\",\"Ticker symbol of the listed entity\":\"Code mnémonique de l'entité cotée\",\"Tier 1: Up to 500 packages in a 12 month period\":\"Niveau 1 : Jusqu'à 500 colis dans une période de 12 mois\",\"Tier 2: Up to 2500 packages in a 12 month period\":\"Niveau 2 : Jusqu'à 2500 colis dans une période de 12 mois\",\"Tier 3: Unlimited packages in a 12 month period\":\"Niveau 3 : Colis illimités dans une période de 12 mois\",\"Title\":\"Titre\",\"To\":\"à\",\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\":\"Pour commencer, veuillez fournir des renseignements au sujet de votre entreprise en remplissant le questionnaire destiné aux vendeurs dans les pages suivantes. Ces informations sont requises pour vous inscrire en tant que client KPMG, recevoir votre facture et vous enregistrer. Chaque page doit être entièrement complétée avant de pouvoir passer à la suivante. Vous pourrez revoir vos réponses avant de les soumettre.\",\"Total\":\"Total\",\"Total fee\":\"Total des frais\",\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\":\"Le prix total comprend les frais d'inscription et les frais de compliance mensuels jusqu'à concurrence du volume d'expédition du paquet sélectionné.\",\"Toys/Kids/Baby\":\"Jouets/Enfants/Bébé\",\"Trading name\":\"Dénomination commerciale\",\"Trading name (If different from company name)\":\"Dénomination commerciale (si ce nom est différent de celui de l’entreprise)\",\"Transactional data\":\"\",\"Transactions\":\"Transactions\",\"Translation\":\"Traduction\",\"Translation in progress\":\"Traduction en cours\",\"Type\":\"De type\",\"Type at least 2 characters\":\"Tapez au moins 2 caractères\",\"Type at least two characters for either email or company\":\"Tapez au moins deux caractères pour l’adresse e-mail ou le nom de l’entreprise\",\"Type of identification document\":\"Type de document d'identification\",\"Type of ownership interest\":\"Type de participation\",\"Under review\":\"En cours de vérification\",\"Unknown\":\"Inconnue\",\"Unknown error occured\":\"Une erreur inconnue s'est produite\",\"Unsubscribe\":\"\",\"Update\":\"Télécharger\",\"Upload\":\"Télécharger\",\"Upload Amazon Transactions\":\"Télécharger les transactions Amazon\",\"Upload Failed\":\"Échec du téléchargement\",\"Upload IOSS Transactions\":\"Télécharger les transactions IOSS\",\"Upload In submission proof\":\"Télécharger la preuve de la soumission pour les arrivées\",\"Upload Out submission proof\":\"Télécharger la preuve de la soumission pour les envois\",\"Upload SAF-T data\":\"Télécharger les données SAF-T\",\"Upload SKUs\":\"Télécharger les codes SKU\",\"Upload Skus\":\"Télécharger les codes SKU\",\"Upload VAT Transactions\":\"Télécharger les transactions de TVA\",\"Upload file\":\"Télécharger le fichier\",\"Upload finalized successfully\":\"Téléchargement effectué avec succès\",\"Upload is forbidden for overdue periods. Please contact your account manager.\":\"\",\"Upload payment proof\":\"Télécharger la preuve de paiement\",\"Upload processed\":\"Téléchargement traité\",\"Upload proof\":\"Télécharger la preuve\",\"Upload submission proof\":\"Télécharger la preuve de la soumission\",\"Upload successfully canceled\":\"Téléversement annulé avec succès\",\"Uploaded successfully\":\"Finalisez votre téléchargement\",\"Use Amazon's template to upload data\":\"Utilisez le modèle d'Amazon pour télécharger les données\",\"Use KPMG template to upload data\":\"Utiliser le modèle KPMG pour télécharger les données\",\"VAT\":\"TVA\",\"VAT Compliance Settings\":\"Paramètres de compliance à la TVA\",\"VAT Compliance Sign-up\":\"Inscription Conformité TVA\",\"VAT ID\":\"Numéro d'identification TVA\",\"VAT Number\":\"Numéro d'identification fiscale / Numéro de TVA\",\"VAT Number of country of incorporation\":\"Numéro de TVA dans le pays de constitution\",\"VAT Numbers\":\"Numéros de TVA\",\"VAT Rates\":\"Taux de TVA\",\"VAT Registration\":\"Enregistrement VAT\",\"VAT compliance\":\"Compliance TVA\",\"VAT deregistration\":\"Radiation de la TVA\",\"VAT home country compliance\":\"Conformité à la TVA du pays d'origine\",\"VAT monthly compliance\":\"Conformité mensuelle à la TVA\",\"VAT registration\":\"Enregistrement de la TVA\",\"VAT registration certificate for your home country (if appropriate)\":\"Certificat d'enregistrement à la TVA pour votre pays d'origine (le cas échéant)\",\"VAT take over\":\"Reprendre TVA\",\"VLS\":\"VLS\",\"VLS Frequency\":\"Fréquence VLS\",\"Valid from\":\"Valable à partir de\",\"Validation errors\":\"Erreur de validation \",\"Value must be between (inclusive): 0-100\":\"La (Les) valeur(s) doit (doivent) être entre (inclus) : 0-100\",\"Value must be in list\":\"La valeur doit être dans la liste\",\"Vat Compliance\":\"Conformité à la TVA\",\"Vat Numbers\":\"Numéros de TVA\",\"Vat Rates\":\"Taux de TVA\",\"Vat Registration and Compliance\":\"Enregistrement et conformité à la TVA\",\"View\":\"Voir\",\"Waiting For Finalize\":\"En attente d’être finalisé\",\"Waiting for signature\":\"En attente de signature\",\"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\":\"Actuellement, nous ne proposons pas via ce portail de services IOSS aux entreprises qui sont établies ou ont un établissement stable dans l’UE. Veuillez nous contacter à l’adresse {{- contactEmail }} pour plus de détails.\",\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\":\"Nous estimons que vous mettrez une vingtaine de minutes pour remplir le questionnaire. Pour pouvoir répondre à toutes les questions, nous vous conseillons d’avoir les documents suivants à portée de main :\",\"We look forward to helping you.\":\"Nous sommes impatients de vous aider.\",\"We will contact you in line with your language preference\":\"Nous vous contacterons en tenant compte de votre préférence de langue\",\"Website link\":\"Lien vers le site Web\",\"Webstore link\":\"Lien vers la boutique en ligne\",\"Welcome\":\"Bienvenue\",\"Welcome to Guides and Tutorials\":\"Bienvenue dans les guides et tutoriels\",\"Welcome to the Frequently Asked Questions (FAQ)\":\"Bienvenue dans la Foire aux questions (FAQ)\",\"What is the estimated annual shipments which will be covered by IOSS?\":\"Quel est le volume annuel estimé des envois couverts par l’IOSS ?\",\"What is your Amazon Seller ID?\":\"Quel est votre numéro d'identification de vendeur Amazon ?\",\"What is your FedEx or TNT account number?\":\"Quel est votre numéro de compte FedEx ou TNT ?\",\"What type of clientele is your business aimed to?\":\"À quel type de clientèle votre entreprise s'adresse-t-elle ?\",\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\":\"Lorsque vous exercez vos activités dans un pays où la représentation fiscale est obligatoire, vous devez désigner le représentant fiscal indiqué par KPMG.\",\"Where are the accounting records being kept?\":\"Où sont conservés les documents comptables ?\",\"Why you don't want to renew?\":\"Why do you not want to renew?\\tPourquoi ne souhaitez-vous pas renouveler ?\",\"Will you carry out intra-community acquisitions in France?\":\"Allez-vous effectuer des acquisitions intracommunautaires en France ?\",\"Will you carry out intra-community supplies from France?\":\"Allez-vous effectuer des livraisons intracommunautaires à partir de la France ?\",\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\":\"Allez-vous entreposer des stocks dans un entrepôt français ? Envisagez-vous de vendre des produits depuis l'entrepôt français à une (des) entreprise(s) assujettie(s) à la TVA dans d'autres États membres de l'UE ?\",\"Without the country code prefix.\":\"Sans le préfixe du pays.\",\"Wrong excel format\":\"Format Excel incorrect\",\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\":\"Le format du modèle est incorrect. Veuillez utiliser le modèle le plus récent. Assurez-vous de ne pas modifier les en-têtes (L'en-tête requis dans la colonne {{column}} est '{{val}}').\",\"Year\":\"Année\",\"Yearly\":\"Annuel\",\"Yes\":\"Oui\",\"You already have an account. Please sign in\":\"Avez-vous déjà un compte ? Veuillez vous identifier.\",\"You already have an account? Please\":\"Avez-vous déjà un compte ? Veuillez vous \",\"You are required to declare SAF-T data. You can download the template below and with adding necessary fields please upload it back.\":\"Vous devez déclarer les données SAF-T. Veuillez télécharger le modèle ci-dessous. Après avoir rempli les champs nécessaires, veuillez le télécharger à nouveau.\",\"You can find the registration number on the Certificate of Incorporation document of your business.\":\"Vous pouvez trouver le numéro d'enregistrement sur l'extrait Kbis/ extrait K de votre entreprise.\",\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\":\"Une ou plusieurs de vos transactions ont une base taxable supérieure à la limite de 150 EUR. Si la valeur des biens vendus (hors frais d'expédition et TVA) est en effet supérieure, veuillez ignorer ce message et procéder au téléchargement des données, ces transactions seront exclues de votre déclaration IOSS. Cependant, si la valeur des marchandises (hors frais d'expédition et TVA) n'est pas inférieure à la limite de 150 EUR, et ne la dépasse que parce que les frais d'expédition sont inclus, vous devez annuler ce téléchargement de données, inclure les frais d'expédition dans une ligne distincte et télécharger de nouveau les données. Pour toute question, veuillez-vous reporter à notre guide des modèles de données IOSS.\",\"You have one pending order in progress\":\"Vous avez une commande en attente en cours\",\"You have successfully registered\":\"Votre inscription a réussi\",\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\":\"Vous recevrez bientôt un e-mail de bienvenue de la part de votre chargé de compte attitré ; n’hésitez pas à le contacter en cas de questions.\",\"Your account is locked out for {{min}} minutes. Please contact our support team.\":\"Votre compte est bloqué. Veuillez contacter notre équipe d’assistance.\",\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\":\"Votre adresse électronique a été modifiée. Pour finaliser le changement, veuillez vous déconnecter et vous reconnecter en utilisant votre nouvelle adresse électronique.\",\"ZeroRated\":\"Détaxé\",\"expired\":\"Expiré\",\"expires\":\"Expire\",\"freq-notification-confirmation\":\"\",\"freq-notification-confirmation-affect\":\"\",\"fx-legal\":\"Les informations fournies ne constituent pas, et ne prétendent pas constituer, des conseils juridiques et/ou fiscaux ; ces informations sont fournies à titre indicatif uniquement. Qu’elles soient de nature juridique ou autre, il est par ailleurs possible qu’il ne s’agisse pas des informations les plus récentes. Il incombe au lecteur de contacter un spécialiste afin d’obtenir des conseils d’ordre juridique ou fiscal. Toute responsabilité concernant la mise en œuvre ou l’absence de mise en œuvre de mesures d’après le contenu de ce site est, par les présentes, expressément rejetée. Le contenu de cet avis est fourni « en l’état » ; il n’est fait aucune garantie que le contenu soit exempt d’erreurs.\",\"if-you-had-taxable-supplies\":\"Si vous avez effectué des livraisons taxables dans le passé, sélectionnez la date à laquelle la première livraison a été effectuée. Si vous n'avez pas de droit d'enregistrement antérieur à payer, nous vous recommandons de sélectionner une date à partir de laquelle vous souhaitez que votre numéro d’identification TVA soit valide (le premier mois du trimestre suivant par exemple).\",\"master-data-is-incomplete\":\"Les données de base sont incomplètes, certains codes UGS n'ont pas de prix. Veuillez ajouter les prix manquants ou confirmer en ignorant la configuration. Si vous n’ajoutez pas ces prix manquants, nous ne serons pas en mesure d’inclure la valeur des mouvements de marchandises propres dans les déclarations de TVA et les rapports ESL, ce qui peut déclencher des audits fiscaux ou entraîner des pénalités, la désactivation ou la radiation. Vous êtes les seuls responsables des conséquences. Nous vous demandons de remplir toutes les valeurs manquantes avant de poursuivre.\",\"order-compliance-extension-tooltip\":\"Select this if you want to renew your existing subscription.\",\"order-compliance-restart-tooltip\":\"Select this if you are switching from another service provider to us.\",\"order-compliance-restart-warning\":\"Warning! This will remove any previously saved settings from your account. If you wanted to renew an expiring subscription, please select NO and select 'Renew for one year' instead.\",\"pay-monthly-compliance-fee\":\"Please pay the monthly compliance fee by clicking the button below. You will be redirected to our partner’s website where you can set up your preferred payment method.\",\"refund-mode-confirm\":\"Once you confirmed, you cannot modify the mode of refund. The selected option will be the default setting for future VAT reporting.\",\"saft-acknowledgement-admin\":\"Je confirme que j’ai inclus toutes les informations relatives à SAF-T dans le modèle KPMG téléchargé.\",\"saft-acknowledgement-web\":\"Je confirme que j’ai inclus toutes les informations relatives à SAF-T dans le modèle KPMG téléchargé. Si vous avez des questions, consultez nos {{- link_start}}guides et tutoriels {{- link_end}}.\",\"sign in\":\"Connexion\",\"submissionperiod-paymentstatuschange-acknowledge\":\"Le statut de paiement n’est pas validé par KPMG, par conséquent, il ne peut être utilisé qu’à des fins de suivi et KPMG n’accepte aucune responsabilité quant à l’exactitude du statut fourni.\",\"total-number-of-incorrect-lines\":\"Total number of incorrect lines: {{num}}\",\"user-successfully-invited\":\"\",\"validation-column-header\":\"{{columnName}} (Column {{columnCode}})\",\"validation-constraint-not-fulfilled\":\"Constraint not fulfilled\",\"validation-data-cannot-be-empty\":\"La cellule ne peut pas être vide\",\"validation-date-invalid\":\"La cellule ne peut être ni vide ni invalide (format attendu : jj-mm-aaaa)\",\"validation-example\":\"See an example of the incorrect value: {{exampleValue}} (line {{rowNumber}}). Number of incorrect lines: {{total}}\",\"validation-invalid-data\":\"Données non valides\",\"validation-ioss-incorrect-transaction-date\":\"Date de transaction incorrecte. Vous ne pouvez pas déclarer les transactions avant le 1er juillet 2021 via IOSS\",\"validation-ioss-invalid-currency\":\"Vous devez utiliser le code de devise à 3 lettres ISO\",\"validation-ioss-invalid-departure-country\":\"Doit se situer en dehors de l'UE + Irlande du Nord. Vous devez utiliser le code à 2 lettres ISO du pays concerné\",\"validation-ioss-invalid-destination-country\":\"Doit se situer dans l'UE + Irlande du Nord. Vous devez utiliser le code à 2 lettres ISO du pays concerné\",\"validation-ioss-invalid-invoice-country\":\"Vous devez utiliser le code à 2 lettres ISO du pays concerné\",\"validation-ioss-invalid-transaction-type\":\"Cela doit être 'Sale' ou 'Return'\",\"validation-ioss-out-of-period-transactions\":\"Vos données contiennent une ou plusieurs transactions issues d'une période de transaction antérieure. Si vous désirez corriger des déclarations IOSS déjà soumises en transmettant de nouvelles transactions immédiatement, vous pouvez ignorer ce message et poursuivre le téléchargement. Cependant, si cette date a été incluse par erreur, vous devez stopper le téléchargement et corriger vos données avant de continuer\",\"validation-ioss-wrong-taxable-basis-calculation\":\"{{columnName}} (Column {{columnCode}}): Taxable basis (Base imposable) = Gross amount (Montant brut) - VAT amount (Montant TVA) ({{taxableBasis}} != {{grossAmount}} - {{vatAmount}}).\",\"validation-ioss-wrong-vat-calculation\":\"{{columnName}} (Column {{columnCode}}): VAT amount (Montant de la TVA) = Taxable basis (Base imposable) * VAT rate (Taux de TVA) ({{vatAmount}} != {{taxableBasis}} * {{vatRate}}).\",\"validation-number-data-cannot-be-empty-or-invalid\":\"La cellule ne peut être ni vide ni invalide (format attendu : Nombre avec séparateur décimal ('.'), ex : 21.5)\",\"validation-positive-number-invalid\":\"La cellule ne peut être ni vide ni invalide (format attendu : nombre non négatif, ex : 435)\",\"validation-required-or-invalid\":\"La cellule ne peut être ni vide ni invalide\",\"validation-unsupported-currency\":\"La device n'est pas prise en charge. Veuillez nous contacter à l'adresse {{- contactEmail}} pour discuter de la solution.\",\"validation-vat-countryofcustomer-invalid-fc-transfer-customer-and-shipping-country-neq\":\"Sachez qu'un type de transaction FC_Transfer n'est possible qu'entre deux différents pays de l'UE.\",\"validation-vat-countryofcustomer-invalid-fc-transfer-valid-reg\":\"Selon notre base de données, vous n'avez pas de numéro de TVA valide dans le pays de départ ou dans le pays d'arrivée. Il est obligatoire d’avoir un numéro de TVA valide pour déclarer FC_Transfer .\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-customer-eq-reporting\":\"Pour les types de transactions Inbound, le pays de déclaration de la TVA doit faire partie de l'UE ou de la Grande-Bretagne.\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-must-be-in-eu\":\"Pour les types de transactions Inbound, le pays d'arrivée doit faire partie de l'UE ou de la Grande-Bretagne.\",\"validation-vat-decimalwrongformat\":\"\",\"validation-vat-out-of-period-transactions\":\"Vos données contiennent une ou plusieurs transactions d’une période de transaction précédente. Si vous souhaitez corriger les déclarations précédemment soumises en soumettant de nouvelles transactions maintenant, vous pouvez ignorer ce message et procéder au téléchargement. Cependant, si la date a été ajoutée par erreur, vous devez arrêter le téléchargement et corriger vos données avant de continuer\",\"validation-vat-partnername-invalid-registered-business\":\"Le nom du partenaire ne peut contenir que des lettres de l'alphabet anglais.\",\"validation-vat-partnername-is-required-registered-business\":\"Si vous choisissez « VAT Registered/Business », vous devez fournir le numéro de TVA et le nom enregistré du partenaire.\",\"validation-vat-taxablebasis-invalid-inbound-or-outbound-vat-values-correspond\":\"Pour les types de transactions Inbound, le taux de TVA, la base taxable et le montant de la TVA doivent correspondre.\",\"validation-vat-taxablebasis-invalid-sale-or-return-vat-values-correspond\":\"La base imposable doit correspondre au taux de TVA appliqué et au montant de TVA calculé. Les lignes suivantes sont incorrectes\",\"validation-vat-typeofpartner-invalid-fc-transfer-only-registered-business\":\"Sachez que le type de partenariat pour FC_Transfer est uniquement « VAT Registered/Business ».\",\"validation-vat-typeofpartner-invalid-inbound-or-outbound-only-registered-business\":\"Sachez que pour les types de transactions Inbound, le type de partenariat doit être « VAT Registered/Business ».\",\"validation-vat-typeofsale-invalid-only-goods\":\"Sachez que le type de vente (Type of Sale) pour FC_Transfer est résérvé uniquement aux marchandises (Goods).\",\"validation-vat-vatamount-invalid-sale-or-return-vat-values-correspond\":\"Sachez que la base imposable doit correspondre au taux de TVA appliqué et au montant de TVA calculé. Les lignes suivantes sont incorrectes\",\"validation-vat-vatnumber-invalid-countrycodeprefix\":\"\",\"validation-vat-vatnumber-invalid-inbound-or-outbound\":\"Sachez que pour les transactions Inbound, le numéro de TVA doit correspondre au pays d'expédition.\",\"validation-vat-vatnumber-invalid-sale-or-return\":\"Sachez que le numéro de TVA doit commencer par le code du pays de destination.\",\"validation-vat-vatnumber-invalid-starts-with-two-letter\":\"Le format du numéro de TVA de l'acheteur est incorrect. Il doit également contenir le code du pays.\",\"validation-vat-vatrate-invalid-fc-transfer-cannot-be-null\":\"Le taux de TVA fourni et le type de transaction ne correspondent pas. FC_Transfer doit être déclaré sous le régime d’autoliquidation, le montant brut doit donc être calculé avec le taux de TVA.\",\"validation-vat-vatrate-invalid-inbound-or-outbound-cannot-be-null-except\":\"\",\"validation-vat-vatrate-invalid-vat-reporting-country\":\"Le taux de TVA appliqué n'est pas possible dans le pays où la TVA est déclarée.(line {{rowNumber}})\",\"validation-vat-vatrate-is-required-inbound-or-outbound-when-taxable-basis\":\"Pour les transactions Inbound, le taux de TVA et la base imposable doivent correspondre.\",\"validation-vat-vatrate-is-required-sale-or-return-when-taxable-basis\":\"Veuillez noter que la colonne du taux de TVA (VAT rate) est obligatoire si vous fournissez la valeur NETTE (base taxable/Taxable basis) d'une transaction.\",\"validation-vat-vatreportingcountry-invalid-shipping-or-customer\":\"Le pays déclarant la TVA doit être soit le pays de départ soit le pays de destination.\",\"validation-vatrate-data-cannot-be-empty-or-invalid\":\"La cellule ne peut être ni vide ni invalide (format attendu : Entre 1-27 (ou 0) avec séparateur décimal ('.'), ex : 21.5)\",\"validation-vatrate-invalid-destination-country\":\"Please note that the applied VAT rate is not possible in the provided Destination country (line {{rowNumber}})\",\"validation-wrong-exchange-rate\":\"Le taux de change calculé semble erroné\",\"wrong-template-format\":\"Format de modèle incorrect. Veuillez utiliser le modèle le plus récent. Veillez à ne pas modifier les 3 premières lignes d'en-tête. Veuillez noter que le format Strict OpenXml n'est pas pris en charge.\",\"{{columnName}} ({{rowNumber}}): Data cannot be empty.\":\"{{columnName}} ({{rowNumber}}) : La cellule ne peut pas être vide.\",\"{{columnName}} ({{rowNumber}}): Invalid\":\"{{columnName}} ({{rowNumber}}) : non valable\",\"{{columnName}} ({{rowNumber}}): Not found\":\"{{columnName}} ({{rowNumber}}): Introuvable\",\"{{columnName}} ({{rowNumber}}): Wrong format\":\"{{columnName}} ({{rowNumber}}) : Format incorrect\",\"Couldnt_find_answer\":\"Vous n'avez pas trouvé la réponse à votre question ? Contactez-nous {{- link_first_part}}ici{{- link_second_part}}\",\"faq_bank_account_register_vat_in_france_answer\":\"{{- a_paragraph_start}}EU based businesses must have a bank account that supports SEPA B2B direct debit payments. If you do not have a SEPA B2B direct debit bank account, the French Tax Authority will issue a penalty on every bank transfer you make (usually EUR 60 per transfer). To avoid such penalties you will have to open a new bank account that is compatible with the French e-payment system.{{- a_paragraph_end}}\",\"faq_bank_certificate_and_bank_details_answer\":\"{{- a_paragraph_start}}If you have an overpayment, or you have deductible VAT, some tax authorities may try to transfer back this amount. If your bank details are not provided or are unclear, the tax authority will contact KPMG, thus delaying the processing time. The bank certificate should countain following information: name of bank, address of bank, name of account holder, address of account holder, currency, account number, IBAN, BIC{{- a_paragraph_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_answer\":\"{{- a_paragraph_start}}Under Spanish law, sole traders/individuals who have an economic relation (activity) with/in the country, but who do not reside in Spain, must apply for a Spanish identification number for foreigners (NIE) at a consulate or representative office of Spain in their country of residence. The NIE-number can be requested by submitting a form called EX-15. You will find more information about the NIE and EX-15 request form {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_companies_articles_and_association_answer\":\"{{- a_paragraph_start}}For registering in most European countries, the tax authority requires a document that details the company's shareholder structure, the company's registered capital (funds, not a geographic location) as well as the director and legal representative's information. The document is also known as an Articles of Organization or Articles of Incorporation.{{- a_paragraph_end}}\",\"faq_company_extract_for_uk_based_sole_trader_answer\":\"{{- a_paragraph_start}}As a sole trader in the UK, it can be more difficult to proof your status. We suggest obtaining a letter from either HM Revenue & Customs or your solicitor or accountant. They should provide you with a letter on their official headed paper indicating the following:{{- a_paragraph_end}}{{- a_list_start}}Your name and address{{- a_list_middle}}Your trading name{{- a_list_middle}}Explicit confirmation that you are a self-employed sole trader{{- a_list_end}}\",\"faq_company_extract_us_answer\":\"{{- a_paragraph_start}}A Company Extract or Business License (the name may vary by state) is essentially a document issued by the state in which the company was founded that certifies the legitimacy of the business, that it has been legally registered. It will typically include the company's date of incorporation.{{- a_paragraph_end}}\",\"faq_companys_legal_representative_answer\":\"{{- a_paragraph_start}}The legal representative is the person who holds the legal power to act on the company's behalf and will represent your company in any tax-related issues. The registration will require a company document which clearly shows who the legal representative is.{{- a_paragraph_end}}\",\"faq_companys_vat_certificate_us_answer\":\"{{- a_paragraph_start}}From the IRS. Tax authorities will require documentation from the IRS regarding the issuing of your company's Employer Identification Number (EIN).{{- a_paragraph_end}}\",\"faq_documents_while_filing_answer\":\"{{- a_paragraph_start}}You will have to fill out your company's details, therefore we suggest that you have the Company Extract, Articles of Association, ID of the legal representative and a Bank Certificate of the company with you.{{- a_paragraph_end}}\",\"faq_drivers_licence_as_valid_id_answer\":\"{{- a_paragraph_start}}Most European countries require an identification document of the legal representative. It can be an Identity Card, Passport or Driver's License. Please note that for the online registration of a British VAT number, two identification documents will be required.{{- a_paragraph_end}}\",\"faq_form_6166_apply_answer\":\"{{- a_paragraph_start}}US based clients are required to provide a 6166 form, issued by the IRS to complete the German registration. The 6166 form can be requested using an 8802 form that can be downloaded from the website of the IRS. Please note that the German Tax Authorities only accept original forms and the issuing time can take up to 3 months for this document. To obtain the form, please apply to the IRS. For more information, please click {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_how_long_does_the_registration_take_answer\":\"{{- a_paragraph_start}}If all information and documents are correctly provided, we can prepare the registration package in a couple of days and send it to the Tax Authority.{{- a_paragraph_end}}\",\"faq_how_many_eoris_do_i_need_answer\":\"{{- a_paragraph_start}}E-commerce sellers only need one EORI number, and in fact can only have one EORI number issued to them. The EORI number can be used in all the EU member states, therefore one number is enough and the Customs services will reject your application if you already have a number issued. Please note that after BREXIT European sellers have to apply for an EORI in the UK, if they want to import goods in the UK. UK based sellers need to apply for an EORI in the EU if they want to import goods in the EU.{{- a_paragraph_end}}\",\"faq_notarisation_and_hague_apostille_meaning_answer\":\"{{- a_paragraph_start}}Some European tax offices will require that your company documents and registration forms are 'notarised and apostilled' before you can submit them to the authorities to apply for a VAT registration.{{- a_paragraph_middle}}A notarised document is one carrying authenticated signature(s) of the person(s) authorised or required to sign it, and the signature of a notary public witnessing the signature(s), accompanied by an impression of his or her official notary seal. If a tax office requests it, the authorised signatory will need to visit a Notary Public (or have one come to your office) and sign the required documents in his/her presence. The notary will certify the documents after witnessing the signature.{{- a_paragraph_middle}}The definition of an apostille is 'the authentication of a document for use in another country'. The apostille certificate confirms the signature, seal or stamp on a document to be genuine so that it will be accepted when presented in another country within the European Union. It is permanently glued to another document and then an embossing mechanism, often called the apostille seal or apostille stamp, is used to emboss the document with a government crest.{{- a_paragraph_middle}}Usually the notary public you engage for the witnessing service will be able to arrange the apostille for your as well.{{- a_paragraph_end}}\",\"faq_obtain_company_extract_for_uk_company_answer\":\"{{- a_paragraph_start}}Contact Companies House on 0303 1234 500 and request them to send a certified copy of your Certificate of Incorporation with the following additional information added:{{- a_paragraph_end}}{{- a_list_start}}Names of the company directors{{- a_list_middle}}Name of the company secretary{{- a_list_middle}}Company registered office{{- a_list_middle}}Issued share capital{{- a_list_middle}}Names of the shareholders{{- a_list_end}}{{- a_paragraph_start}}The above document will be issued for a certain amount. (Around GBP 20, or GBP 60 for a faster service){{- a_paragraph_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_answer\":\"{{- a_paragraph_start}}Our office specializes in the European Union; however, we can refer you to our local KPMG offices in those countries. They would be happy to prepare an offer for you and in the case of an agreement, assist you in your business expansion.{{- a_paragraph_end}}\",\"faq_vat_certificate_for_uk_company_answer\":\"{{- a_paragraph_start}}This can be requested directly from HM Revenue & Customs on 0300 200 3700. You will need to quote your UK VAT registration number and the document will be posted to your registered address. Please note that it is possible to download a VAT certificate from the online portal where returns are submitted, however this will not be accepted by the tax authorities for VAT registration.{{- a_paragraph_middle}}If you are not registered for VAT in the UK, due to the fact that your sales are below the registration threshold, please let us know by email in advance and we will explain you what to do.{{- a_paragraph_end}}\",\"faq_vat_in_czech_republic_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 original a bank certificate confirming your banking details, issued by your bank{{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}\",\"faq_vat_in_france_documents_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of a bank certificate confirming your banking details{{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_in_germany_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_in_italy_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}\",\"faq_vat_in_poland_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}\",\"faq_vat_in_spain_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities) notarized and apostilled{{- a_list_middle}}1 original certificate of Foreigner’s Identification Number (NIE) – only for sole traders/individuals!{{- a_list_end}}{{- a_paragraph_start}}Your company extract and certificate of NIE should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}\",\"faq_vat_in_uk_documents_quantities_answer\":\"{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of two different identification documents of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}\",\"faq_vat_with_fba_services_answer\":\"{{- a_paragraph_start}}If you store goods in any European country, then you will be required to have a VAT number. It is mandatory by the law.{{- a_paragraph_end}}\",\"faq_vies_in_spain_answer\":\"{{- a_paragraph_start}}While the VAT registration is a rather quick process in Spain, the activation of a VAT ID in the {{- link_start}}VIES system{{- link_end}} is a more complex and longer one. After your VAT ID has been issued we can start submitting declarations and you can pay VAT in Spain. Your activation needs to be requested separately from a proposal and can be done only if you carry out intra-community transactions. This means you have to submit an EC Sales List in Spain first. After a Spanish EC Sales List has been filed the proposal can be submitted; however, it will be automatically refused if you have any outstanding liability e.g. VAT payments, VAT returns, penalties. If your proposal is refused it will have to be submitted again starting from the beginning. This process usually takes 2-3 months.{{- a_paragraph_end}}\",\"faq_what_is_an_eori_number_answer\":\"{{- a_paragraph_start}}An EORI number is a European Union registration business identification number. This number is issued when importing or exporting goods in and out of the EU. A business or individual must obtain an EORI number from a national customs authority before beginning customs activities within the European Union.{{- a_paragraph_end}}\",\"faq_when_vat_issued_answer\":\"{{- a_paragraph_start}}The length of time required to obtain a VAT number varies from country to country. You can typically expect to receive your VAT number within 4 to 6 weeks from the date when your documents are submitted to the tax authority. We will keep in contact with the tax authorities to track the progress of your VAT registration and will keep you informed of any updates. Please see below a list of current timelines for obtaining VAT registrations. We suggest to check back here from time to time as we are constantly monitoring the timeline and will update this frequently:{{- a_paragraph_end}}{{- a_list_start}}France: 7-9 weeks{{- a_list_middle}}Germany: 6 - 8 weeks{{- a_list_middle}}Spain: 1-2 weeks (VIES activation: 2-3 months){{- a_list_middle}}Italy: 4-6 weeks{{- a_list_middle}}Poland: 4-6 weeks{{- a_list_middle}}Czech Republic: 4-6 weeks{{- a_list_middle}}UK: 3-4 weeks{{- a_list_end}}\",\"faq_where_can_i_get_my_documents_apostilled_answer\":\"{{- a_paragraph_start}}Apostilles can usually be arranged by National certified notary offices or the National Public Notary office itself. Spain does not accept a simple notarization and therefore a further authentication / legalization is required, an Apostille Stamp. If your country is not a member of the Apostille Convention, please arrange the local notarization of the required documents and contact the Spanish Consulate in your country to request consular legalization.{{- a_paragraph_end}}\",\"faq_where_can_i_get_my_documents_notarized_answer\":\"{{- a_paragraph_start}}Notaries can authenticate signatures or documents for use abroad. If you need to notarize a documents or Power of Attorney, you must visit a local notary public (or lawyer).{{- a_paragraph_end}}\",\"faq_which_countries_eori_number_is_best_to_have_answer\":\"{{- a_paragraph_start}}For EU based companies an EORI number in the country of establishment, for non EU companies the country where you import the most to will be the best country to have an EORI number.{{- a_paragraph_end}}\",\"faq_who_is_the_beneficial_owner_answer\":\"{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} toute personne physique qui possède ou contrôle {{- a_bold_start}}au moins vingt-cinq pour cent des actions ou des droits de vote {{- a_bold_end}} d'une personne morale ou d'une organisation non constituée en société, {{- a_bold_start}}directement ou{{- a_bold_end}} - par le biais des moyens définis à la sous-section (4) de l'article 8:2 de la loi V de 2013 sur le code civil (ci-après dénommée 'code civil') - {{- a_bold_start}}indirectement{{- a_bold_end}}, ou qui est en mesure d'exercer un contrôle effectif sur la personne morale ou l'organisation non constituée en société par d'autres moyens, si cette personne morale ou organisation non constituée en société n'est pas cotée sur un marché réglementé et est soumise à des exigences de divulgation conformes à la législation communautaire ou à des normes internationales équivalentes,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} toute personne physique qui exerce une influence dominante sur une personne morale ou une association commerciale non constituée en société, telle que définie dans la sous-section (2) de la section 8:2 du code civil,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} toute personne physique pour le compte de laquelle une transaction est effectuée, ou qui est en mesure d'exercer un contrôle effectif sur l'activité d'un client par d'autres moyens dans le cas de personnes physiques,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} dans le cas des fondations :{{- a_paragraph_end}} {{- a_paragraph_start}} da) lorsque les futurs bénéficiaires ont déjà été déterminés, la personne physique qui est bénéficiaire de vingt-cinq pour cent ou plus des biens de la fondation,{{- a_paragraph_end}} {{- a_paragraph_start}}db) lorsque les personnes qui sont bénéficiaires de la fondation restent à déterminer, la personne physique dans l'intérêt principal de laquelle la fondation est créée ou fonctionne, ou{{- a_paragraph_end}} {{- a_paragraph_start}}dc) la personne physique qui exerce un contrôle sur la gestion de la fondation ou qui exerce un contrôle sur au moins vingt-cinq pour cent des biens d'une fondation, et/ou qui est autorisée à représenter la fondation,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} dans le cas de contrats de gestion fiduciaire d'actifs :{{- a_paragraph_end}} {{- a_paragraph_start}}ea) le donneur d'ordre, et le propriétaire bénéficiaire visé au paragraphe a) ou b) de celui-ci,{{- a_paragraph_end}} {{- a_paragraph_start}}eb) le fiduciaire, et le propriétaire bénéficiaire visé au paragraphe a) ou b) de celui-ci,{{- a_paragraph_end}} {{- a_paragraph_start}}ec) les bénéficiaires ou la catégorie de bénéficiaires, ainsi que le propriétaire bénéficiaire visé au paragraphe a) ou b) de celui-ci, par ailleurs,{{- a_paragraph_end}} {{- a_paragraph_start}}ed) toute personne physique exerçant un contrôle effectif sur le fonds fiduciaire par d'autres moyens, par ailleurs{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} en l'absence de la personne physique visée aux paragraphes a) et b), le directeur exécutif de la personne morale ou de l'association commerciale non constituée en société ;{{- a_paragraph_end}}\",\"faq_why_do_i_need_a_fiscal_representative_answer\":\"{{- a_paragraph_start}}For companies providing goods or services in foreign European countries, there may be a requirement to register for VAT as a non-resident VAT trader. Some countries permit the Non-EU established company to register ‘directly’ with the tax office, without having to appoint a local representative.{{- a_paragraph_middle}}However, under certain circumstances, the tax authorities will require the company to appoint a Fiscal Representative in the destination country. This company must be tax registered and willing to act as the local representative of the company, managing with queries and filing obligations of the company for dealings with the tax authorities. In most cases, the fiscal representative may be jointly liable for all VAT payments of the company.{{- a_paragraph_middle}}The tax authorities regard a fiscal representative as the local agent of the foreign trader – which leads to several compliance obligations. Additionally, if the fiscal representative is jointly liable for the trader’s taxes, it is industry practice to require a security deposit or bank guarantee in favour of the fiscal representative to mitigate against potential risks if the company reneges of any liabilities.{{- a_paragraph_end}}\",\"faq_why_i_need_vat_number_answer\":\"{{- a_paragraph_start}}Businesses who provide goods or services in a foreign jurisdiction with a VAT regime must comply with the relevant VAT laws of that country. There are several cases where it will be a legal obligation for a company to register for VAT in the country because they are undertaking taxable business activity. Such activity includes:{{- a_paragraph_end}}{{- a_list_start}}Importing goods into the country for sale or distribution{{- a_list_middle}}Buying and selling goods locally{{- a_list_middle}}Selling goods to individuals over the internet (revenue thresholds may apply) Storing goods in a warehouse{{- a_list_middle}}Organising an event in the country (specifically if there is paid admission to the event){{- a_list_middle}}It is the company’s responsibility to register for VAT prior to commencing taxable transactions and once registered, one must comply with the compliance and reporting requirements.{{- a_list_end}}\",\"faq_will_original_documents_be_returned_after_registration_answer\":\"{{- a_paragraph_start}}These documents are requested by the respective tax authorities in each country and are kept by them. Therefore, they cannot be returned to you. To keep the original copies with you, we can also provide notarized copies to the Tax Authority.{{- a_paragraph_end}}\",\"faq_wrong_registration_document_to_kpmg_answer\":\"{{- a_paragraph_start}}We will ask you to send us the correct documents. If we submit a registration package with wrong documents (e.g. photocopy instead of original or too old) the registration process will be delayed and most probably refused.{{- a_paragraph_end}}\",\"faq_wrong_registration_info_to_kpmg_answer\":\"{{- a_paragraph_start}}If the data you provided is not accurate and correct, your account manager will contact you until all the details are clarified. This might prolong the time needed to prepare the registration documents. If the data we filled out on the registration documents is wrong, the Tax Authority will contact us and will not issue the VAT number until all information is accurate and up to date.{{- a_paragraph_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_answer\":\"{{- a_paragraph_start}}Le RU a quitté le régime européen de TVA le 31 décembre 2020. Il a, en parallèle, supprimé l’allègement relatif aux envois d’une valeur inférieure à 15 GBP et introduit un nouveau régime de TVA au point de vente (similaire au régime IOSS de l’UE) pour les biens importés au RU d’une valeur n’excédant pas 135 GBP.{{- a_paragraph_middle}}Pour les ventes réalisées auprès de clients établis dans l’UE, les vendeurs britanniques sont désormais considérés comme non-résidents de l’UE. À compter du 1er juillet 2021, ils pourront utiliser l’IOSS de l’UE en qualité de vendeurs hors UE, pour les ventes relatives aux biens éligibles importés dans l’UE.{{- a_paragraph_end}}\",\"ioss_faq_currency_other_than_eur_answer\":\"{{- a_paragraph_start}}Lorsque les biens sont payés dans une devise autre que l’euro, il est impératif d’effectuer le calcul au moment de la livraison afin de déterminer si la vente peut être déclarée au titre du régime IOSS.{{- a_paragraph_middle}}Afin d’éviter tout problème lors de l’importation en raison des variations de taux de change, nous vous recommandons de préciser sur la facture accompagnant l’envoi le prix en EUR, tel que déterminé au moment de l’acceptation du paiement.{{- a_paragraph_end}}\",\"ioss_faq_do_not_opt_into_ioss_answer\":\"{{- a_paragraph_start}}Comme précédemment mentionné, lorsque l’IOSS n’est pas utilisé, la TVA est exigible à l’importation des biens et doit être collectée par le déclarant en douane, par exemple FedEx Express, qui récupère ensuite le coût de la TVA auprès de l’acheteur ou auprès de vous, selon les modalités d’expédition. Des frais de traitement supplémentaires peuvent s’appliquer. Des obligations supplémentaires en matière de TVA peuvent également s’appliquer lorsque le vendeur vend les biens en DDP.{{- a_paragraph_middle}}Pour en savoir plus sur les expéditions traitées par FedEx, veuillez vous reporter au site fedex.com.{{- a_paragraph_end}}\",\"ioss_faq_eur_150_value_limit_answer\":\"{{- a_paragraph_start}}Les biens de faible valeur éligibles à l’IOSS sont les biens expédiés dont la valeur intrinsèque à l’importation n’excède pas 150 EUR (hors produits soumis à accises).{{- a_paragraph_middle}}La valeur intrinsèque correspond au prix des biens eux-mêmes lors de leur vente pour exportation à destination de l’UE. Ce montant doit exclure les coûts de transport et d’assurance (sauf s’ils sont inclus dans le prix et non indiqués séparément sur la facture) ainsi que toute autre taxe ou charge pouvant être justifiée auprès des autorités douanières à l’aide de tout document pertinent.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_answer\":\"{{- a_paragraph_start}}Les exigences exactes d’immatriculation à l’IOSS n’ont pas encore été publiées par les autorités fiscales pertinentes. Veuillez revenir ultérieurement.{{- a_paragraph_middle}}Nous mettrons également un questionnaire en place sur notre portail afin de collecter les informations requises pour l’immatriculation à l’IOSS.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_return_answer\":\"{{- a_paragraph_start}}Une fois enregistré, vous pourrez télécharger un modèle de données sur notre portail. Vous devez nous communiquer mensuellement vos données de ventes (retours y compris) concernant les transactions éligibles via le modèle approprié. KPMG préparera et vous transmettra ensuite la déclaration IOSS pour validation.{{- a_paragraph_middle}}La déclaration IOSS doit préciser la valeur totale des marchandises vendues, les taux de TVA applicables ainsi que le montant total de TVA dû, ventilés par État membre de destination ainsi que par taux standard/taux réduits.{{- a_paragraph_middle}}Une fois la déclaration validée par vos soins, nous nous chargeons de la transmettre.{{- a_paragraph_end}}\",\"ioss_faq_ioss_for_b2b_answer\":\"{{- a_paragraph_start}}Non, l’IOSS ne peut être utilisé que pour la vente B2C de biens éligibles.{{- a_paragraph_end}}\",\"ioss_faq_pay_tax_due_answer\":\"{{- a_paragraph_start}}Comme pour les déclarations, les paiements sont exigibles à la fin du mois suivant la période de référence. Dans la mesure où vous n’êtes pas résident de l’UE, vous devez faire appel à un intermédiaire TVA. Vous devrez verser mensuellement la TVA due conformément à la déclaration IOSS à cet intermédiaire TVA au moins quelques jours ouvrables avant le délai de paiement précisé. Celui-ci procèdera ensuite au paiement à l’État membre d’immatriculation en votre nom.{{- a_paragraph_end}}\",\"ioss_faq_return_deadline_answer\":\"{{- a_paragraph_start}}Vous devrez transmettre une déclaration IOSS mensuelle aux autorités fiscales du pays d’identification (immatriculation). Le délai de transmission de la déclaration IOSS est fixé à la fin du mois calendaire suivant la période de référence.{{- a_paragraph_end}}\",\"ioss_faq_return_goods_under_ioss_answer\":\"{{- a_paragraph_start}}Les biens retournés et expédiés en dehors de l’UE seront admissibles à un remboursement de TVA. Veuillez fournir à KPMG toutes les informations nécessaires via le modèle de données ; KPMG ajustera votre déclaration IOSS en conséquence.{{- a_paragraph_end}}\",\"ioss_faq_who_to_contact_if_answer\":\"{{- a_paragraph_start}}Une fois que vous aurez souscrit aux services KPMG, vous vous verrez attribuer un gestionnaire de compte KPMG, qui pourra répondre à toutes vos questions concernant l’immatriculation à l’IOSS et le processus de conformité. Vous pourrez contacter votre gestionnaire de compte par e-mail ou par téléphone dans les langues suivantes : anglais, allemand, français, espagnol, italien et chinois.{{- a_paragraph_end}}\",\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)_reporting)\":\"Si l'un des 3 champs suivants est complété, les 3 doivent être complétés : Colonne U (Taxable basis_reporting), Colonne T (Gross amount_reporting), Colonne V (VAT amount_reporting)\",\"amazon_vat_rates_warning\":\"We will apply the VAT rates that is provided in the amazon data when available / We will use our default rates. After June-2021 KPMG must use the Amazon provided rates.\",\"contacts_message\":\"Questions spécifiques : veuillez écrire à {{- link_start}}{{-contactEmail}}{{- link_end}}.\",\"cookie_consent_description\":\"Ce site web utilise des cookies pour fournir les fonctionnalités nécessaires du site et améliorer votre expérience en ligne. En utilisant ce site Web, vous acceptez l’utilisation de cookies comme indiqué dans la {{- link_start}}déclaration de confidentialité en ligne de KPMG{{- link_end}}.\",\"disabled_ioss_upload_for_this_month\":\"Vous n'avez pas téléchargé les données de transaction pour ce mois. Comme il n'est pas possible de soumettre des déclarations IOSS rétrospectivement, le téléchargement n'est plus possible. Si vous avez eu des ventes au cours de ce mois qui doivent être déclarées via IOSS, vous devez ajouter ces transactions aux données source de la prochaine déclaration IOSS.\",\"faq_bank_account_register_vat_in_france_question\":\"{{- q_start}}Is there anything I should be aware of regarding my bank account if I want to register for VAT in France?{{- q_end}}\",\"faq_bank_certificate_and_bank_details_question\":\"{{- q_start}}Why do I need to provide a bank certificate and my bank details?{{- q_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_question\":\"{{- q_start}}What is the Certificate of Foreigner’s Identification Number (NIE) in Spain?{{- q_end}}\",\"faq_companies_articles_and_association_question\":\"{{- q_start}}What is a company's Articles of Association and why do I need to provide it?{{- q_end}}\",\"faq_company_extract_for_uk_based_sole_trader_question\":\"{{- q_start}}What is the Company Extract for an UK established sole trader?{{- q_end}}\",\"faq_company_extract_us_question\":\"{{- q_start}}What is the Company Extract in the US?{{- q_end}}\",\"faq_companys_legal_representative_question\":\"{{- q_start}}Who is the legal representative of my company?{{- q_end}}\",\"faq_companys_vat_certificate_us_question\":\"{{- q_start}}Where can I obtain my company's VAT Certificate in the US?{{- q_end}}\",\"faq_documents_while_filing_question\":\"{{- q_start}}What documents do I need to have with me while filing the registration/questionnaire?{{- q_end}}\",\"faq_drivers_licence_as_valid_id_question\":\"{{- q_start}}Can I use a driver's license as a valid form of ID?{{- q_end}}\",\"faq_form_6166_apply_question\":\"{{- q_start}}What is Form 6166? What is it for and how can I apply?{{- q_end}}\",\"faq_how_long_does_the_registration_take_question\":\"{{- q_start}}How long does the registration process take?{{- q_end}}\",\"faq_how_many_eoris_do_i_need_question\":\"{{- q_start}}How many EORI numbers do I need?{{- q_end}}\",\"faq_notarisation_and_hague_apostille_meaning_question\":\"{{- q_start}}What does 'Notarisation' mean and what is a 'Hague Apostille'?{{- q_end}}\",\"faq_obtain_company_extract_for_uk_company_question\":\"{{- q_start}}Where can I obtain a company extract for an UK established company?{{- q_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_question\":\"{{- q_start}}Can KPMG support me if I want to register in the USA, Canada, India, China, Mexico, Australia or Japan?{{- q_end}}\",\"faq_vat_certificate_for_uk_company_question\":\"{{- q_start}}Where can I obtain the VAT certificate of my UK established company?{{- q_end}}\",\"faq_vat_in_czech_republic_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in the Czech Republic. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_france_documents_question\":\"{{- q_start}}I wish to register for VAT in France. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_germany_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Germany. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_italy_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Italy. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_poland_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Poland. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_spain_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in Spain. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_in_uk_documents_quantities_question\":\"{{- q_start}}I wish to register for VAT in the UK. What company documents should I put together, in what format and what quantities?{{- q_end}}\",\"faq_vat_with_fba_services_question\":\"{{- q_start}}Do I need VAT number if I am using FBA services?{{- q_end}}\",\"faq_vies_in_spain_question\":\"{{- q_start}}What do I need to know about the VIES activation process in Spain?{{- q_end}}\",\"faq_what_is_an_eori_number_question\":\"{{- q_start}}What is an EORI number?{{- q_end}}\",\"faq_when_vat_issued_question\":\"{{- q_start}}When is my VAT number issued?{{- q_end}}\",\"faq_where_can_i_get_my_documents_apostilled_question\":\"{{- q_start}}Where can I get my documents apostilled?{{- q_end}}\",\"faq_where_can_i_get_my_documents_notarized_question\":\"{{- q_start}}Where can I get my documents notarized?{{- q_end}}\",\"faq_which_countries_eori_number_is_best_to_have_question\":\"{{- q_start}}Which country's EORI number is the best to have?{{- q_end}}\",\"faq_who_is_the_beneficial_owner_question\":\"{{- q_start}}Qui est le bénéficiaire effectif ?{{- q_end}}\",\"faq_why_do_i_need_a_fiscal_representative_question\":\"{{- q_start}}Why do I need a fiscal representative?{{- q_end}}\",\"faq_why_i_need_vat_number_question\":\"{{- q_start}}Why do I need a VAT number?{{- q_end}}\",\"faq_will_original_documents_be_returned_after_registration_question\":\"{{- q_start}}You are asking for original documents--will I have these returned after the registration is completed?{{- q_end}}\",\"faq_wrong_registration_document_to_kpmg_question\":\"{{- q_start}}What happens if I provide wrong documents to KPMG for the VAT registration?{{- q_end}}\",\"faq_wrong_registration_info_to_kpmg_question\":\"{{- q_start}}What happens if I provide wrong information to KPMG when registering?{{- q_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_question\":\"{{- q_start}}Ces changements s’appliquent-ils au RU dans la mesure où celui-ci ne fait plus partie de l’UE ?{{- q_end}}\",\"ioss_faq_currency_other_than_eur_question\":\"{{- q_start}}Mon client utilise une autre devise que l’euro. Quel taux de change dois-je appliquer ?{{- q_end}}\",\"ioss_faq_do_not_opt_into_ioss_question\":\"{{- q_start}}Quelles sont les conséquences de ne pas opter pour l’IOSS ?{{- q_end}}\",\"ioss_faq_eur_150_value_limit_question\":\"{{- q_start}}À quoi correspond le plafond de valeur de 150 EUR ?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_question\":\"{{- q_start}}Quelles informations dois-je fournir à KPMG pour l’immatriculation IOSS ?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_return_question\":\"{{- q_start}}Quelles informations dois-je fournir à KPMG pour la déclaration IOSS ?{{- q_end}}\",\"ioss_faq_ioss_for_b2b_question\":\"{{- q_start}}Puis-je avoir recours à l’IOSS pour des transactions B2B ?{{- q_end}}\",\"ioss_faq_pay_tax_due_question\":\"{{- q_start}}Comment payer les taxes exigibles et quel est le délai applicable ?{{- q_end}}\",\"ioss_faq_return_deadline_question\":\"{{- q_start}}Quelle est la date limite de déclaration ?{{- q_end}}\",\"ioss_faq_return_goods_under_ioss_question\":\"{{- q_start}}Comment retourner des biens en vertu du régime IOSS ?{{- q_end}}\",\"ioss_faq_who_to_contact_if_question\":\"{{- q_start}}Qui dois-je contacter en cas de questions ?{{- q_end}}\",\"fedex_cross_border_hint\":\"Clients FedEx transfrontaliers : saisissez votre numéro de compte à 6 chiffres + ajouter 'FXCB'\",\"forgot_pw_resend\":\"Si vous n'avez pas reçu l'e-mail de réinitialisation, cliquez {{- link_start}}ici{{- link_end}} pour le renvoyer ou contactez-nous à l'adresse suivante : {{- contactEmail}}\",\"login_disclaimer\":\"En vous connectant ou en créant un compte, vous acceptez nos {{- link1_start}}conditions générales de vente{{- link1_end}} et notre {{- link2_start}}politique de confidentialité{{- link2_end}}.\",\"register_welcome_text\":\"Merci de votre visite. Veuillez noter qu'il s'agit d'une plateforme sur invitation. Si vous n'avez pas reçu d'invitation, mais que vous souhaitez vous inscrire auprès de KPMG, veuillez consulter nos offres destinées aux Marketplace Sellers {{- link_start}}ici{{- link_end}}.\",\"validation-vat-vatrate-is-required-sale-or-return-when-vat_amount\":\"La colonne du taux de TVA (VAT rate) est obligatoire si vous fournissez le montant de la TVA d'une transaction.\"}","module.exports = {\"(Empty)\":\"\",\"A bank statement showing your bank account information (if appropriate)\":\"Un'attestazione bancaria contenente informazioni sul Suo conto corrente bancario (se del caso)\",\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\":\"Un'attestazione rilasciata dalla Sua banca, contenente i seguenti dati: Nome della banca, indirizzo della banca, nome del titolare del conto, indirizzo del titolare del conto, numero di conto, IBAN, SWIFT/BIC, valuta.\",\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\":\"Un simbolo azionario o simbolo di borsa è un'abbreviazione usata per identificare in modo univoco le azioni di una particolare azione su un particolare mercato azionario, scambiate pubblicamente. Un simbolo azionario può essere composto da lettere, da numeri, o da una combinazione di entrambi.\",\"Abandoned\":\"Abbandonato\",\"Access denied\":\"Accesso negato\",\"Accounting office\":\"Ufficio contabilità\",\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\":\"Le registrazioni contabili sono tutta la documentazione e i libri/registri coinvolti nella preparazione dei rendiconti finanziari o le registrazioni rilevanti per gli audit e le revisioni finanziarie.\",\"Acknowledge\":\"Riconoscimento\",\"Acknowledgement\":\"\",\"Actions\":\"Opzioni\",\"Active\":\"Attivo\",\"Active tier:\":\"Livello attivo:\",\"Active tier: \":\"Livello attivo:\",\"Add\":\"Aggiungi\",\"Add New Country\":\"Aggiungi nuovi paesi\",\"Add SKU\":\"Aggiungere codici SKU\",\"Add current or previous IOSS number\":\"Aggiungere il numero IOSS attuale o precedente\",\"Add new Beneficial Owner\":\"Aggiungere un nuovo beneficiario effettivo\",\"Add new Business Owner\":\"Aggiungi un nuovo imprenditore\",\"Add new Fixed Establishment\":\"Aggiungi un nuovo stabilimento fisso\",\"Add new VAT ID\":\"Aggiunge nuova partita IVA\",\"Add new authorized signatory\":\"Aggiungi nuovo\",\"Add new turnover\":\"Aggiungere un nuovo fatturato\",\"Add the OSS registration number\":\"Aggiungere il numero di registrazione OSS\",\"Add the address of the previous fiscal representative in France\":\"Aggiungi l'indirizzo del precedente rappresentante fiscale in Francia\",\"Add the effective date of OSS registration\":\"Aggiungere la data effettiva della registrazione OSS\",\"Additional Services\":\"Servizi aggiuntivi\",\"Address\":\"Indirizzo\",\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\":\"Indirizzo del magazzino delle merci in Germania (via, numero civico, città, codice postale)\",\"Agree\":\"Sono d'accordo\",\"All\":\"Tutti\",\"Amazon SKUs\":\"Codici SKU Amazon\",\"Amazon Seller account name\":\"Nome dell'account venditore Amazon\",\"Amazon invoicing services before 2021 July\":\"Servizi IVA su Amazon prima del 2021 luglio\",\"Amount\":\"Indirizzo del titolare del conto bancario\",\"Amount must be greater than or equal to zero.\":\"L’importo deve essere maggiore o uguale a zero.\",\"Amount of capital in EUR\":\"Importo del capitale in EURO\",\"An error has occured during email verification.\":\"Si è verificato un errore durante la verifica dell'e-mail.\",\"Apostille\":\"Apostilla\",\"Approval due\":\"Approvazione dovuta\",\"Approve\":\"Approva\",\"Approve draft\":\"Approvare il progetto\",\"Approved\":\"Approvato\",\"ApprovedByClient\":\"Approvato dal cliente\",\"Are you making already taxable supply in France?\":\"Si occupa già di operazioni imponibili in Francia?\",\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\":\"Prevede di acquistare merci da imprese registrate ai fini IVA in altri Stati membri dell'UE e di immagazzinarle in un magazzino francese?\",\"Are you sure to delete?\":\"Sei sicuro di voler cancellare questo?\",\"Are you sure to revoke access to this company?\":\"Sei sicuro di voler revocare l'accesso a questa azienda?\",\"Are you sure you want to change client invoicing?\":\"È sicuro di voler modificare la fatturazione?\",\"At least one country must be selected\":\"È necessario selezionare almeno un paese\",\"Attach file\":\"\",\"Attachments uploaded successfully\":\"\",\"Authorized signatory\":\"Firmatario autorizzato\",\"Automation\":\"Automazione\",\"Automotive/Industrial\":\"Automobilistico/industriale\",\"Available credit\":\"Credito disponibile\",\"B2B\":\"B2B\",\"B2C\":\"B2C\",\"BIC\":\"BIC\",\"Bank Information\":\"Dati bancari\",\"Bank Transfer\":\"Bonifico bancario\",\"Bank account\":\"Conto bancario\",\"Bank account holder address\":\"Indirizzo del titolare del conto bancario\",\"Bank account holder name\":\"Nome del titolare del conto corrente bancario\",\"Bank address\":\"Indirizzo della banca\",\"Bank name\":\"Nome della banca\",\"Banking Information\":\"Informazioni bancarie\",\"Banking information for the VAT payment in Germany\":\"Informazioni bancarie per il pagamento dell'IVA in Germania\",\"Beauty/Health\":\"Bellezza/Salute\",\"Beneficial Owner\":\"Beneficiario effettivo\",\"BiMonthly\":\"Bimestrale\",\"Billing documents\":\"Documenti di fatturazione\",\"Birth date\":\"Data di nascita\",\"Birth info\":\"Dati di nascita\",\"Birth name (if different)\":\"Nome di nascita (se diverso)\",\"Birthdate\":\"Data di nascita\",\"Books/Audio\":\"Libri/Audio\",\"Both\":\"Entrambi\",\"Business Details\":\"Dettagli dell'azienda\",\"Business Owners\":\"Titolari dell'azienda\",\"Business details\":\"Dettagli dell'azienda\",\"Business incorporation documents (if appropriate)\":\"Una visura camerale (se del caso) Un documento d'identità del legale rappresentante dell'azienda\",\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\":\"Le aziende al di fuori dell'UE devono fornire un certificato di identificazione fiscale locale nel Paese di costituzione.\",\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\":\"Le aziende al di fuori dell'UE devono fornire un identificativo fiscale locale nel Paese di costituzione.\",\"CEO\":\"CEO\",\"Can't be later than the current month\":\"Non può essere successivo al mese corrente\",\"Can't be smaller than the original compliance start date\":\"Non può essere anteriore alla data di inizio originale\",\"Cancel\":\"Elimina\",\"Cancel draft\":\"Annullare il progetto\",\"Cancelled\":\"Cancellato\",\"Cancelled at\":\"Annullato alle\",\"Change Company Detail\":\"Modifica i dettagli della società\",\"Change Language\":\"Cambiare lingua\",\"Change company detail\":\"Cambia i dettagli dell'azienda\",\"Change email\":\"Modifica email\",\"Change email address\":\"Cambiare indirizzo email\",\"Change item\":\"Cambiare voce\",\"Check out the different categories to understand VAT compliance better.\":\"Consulti le diverse categorie per capire meglio la nozione di conformità IVA.\",\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\":\"Scelga questa opzione se non possiede un codice EORI nel Regno Unito, ma desidera importare merci in questo Paese (obbligatorio dopo la Brexit).\",\"Citizenship\":\"Cittadinanza\",\"City\":\"Città\",\"City of birth\":\"Città di nascita\",\"Client Account\":\"Profilo Cliente\",\"Client Accounts\":\"Profili Clienti\",\"Client id\":\"ID cliente\",\"Client name\":\"Nome del cliente\",\"Client source\":\"Sorgente cliente\",\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\":\"Gli stretti collaboratori delle persone politicamente esposte comprendono a) qualsiasi persona fisica di cui sia nota la proprietà effettiva congiunta di entità giuridiche o organizzazioni non costituite in società, o qualsiasi altra stretta relazione commerciale, con la persona politicamente esposta; b) qualsiasi persona fisica che sia l'unica titolare effettiva di un'entità giuridica o di un'organizzazione non costituita in società che sia stata notoriamente costituita a beneficio della persona politicamente esposta).\",\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\":\"Codice Fiscale. Se hai vissuto in Italia, hai un codice fiscale italiano individuale. Se non l'hai fatto, per favore lascia questo spazio vuoto.\",\"Collectibles/Art/Stationary\":\"Collezionismo/Arte/Stamperia\",\"Commodity code\":\"Codice merce\",\"Communicating with Tax Authorities\":\"Comunicare con le autorità fiscali\",\"Communicating with tax authorities\":\"Comunicare con le autorità fiscali\",\"Companies\":\"Aziende\",\"Company\":\"Azienda\",\"Company Name\":\"Nome azienda\",\"Company name\":\"Nome azienda\",\"Company not found\":\"Azienda non trovata\",\"Completed\":\"Completato\",\"Compliance status\":\"Stato di servizio\",\"Confirm\":\"Conferma\",\"Confirm Order\":\"Conferma ordine\",\"Confirm Payment\":\"Confermare il pagamento\",\"Confirm and Finalize\":\"Conferma e Finalizza\",\"Confirm and Generate Return\":\"Finalizzare\",\"Confirm new password\":\"Conferma nuova password\",\"Confirm order and pay with\":\"Conferma ordine e paga con\",\"Confirm rejection\":\"Conferma rifiuto\",\"Confirm without Master Data setup\":\"Confermare senza impostazione dei dati master\",\"Confirm without adding SAF-T data\":\"Confermare senza aggiungere dati SAF-T\",\"Confirmation\":\"Conferma\",\"Confirmed\":\"Confirmato\",\"Contact\":\"Informazioni di contatto\",\"Contact first name\":\"Nome del referente\",\"Contact last name\":\"Cognome del referente\",\"ContactAccountManager\":\"\",\"Contacting tax authorities\":\"Contattare le autorità fiscali\",\"Contract Id\":\"ID contratto\",\"Contract id\":\"ID contratto\",\"Core Service\":\"Servizio principale\",\"Correspondence Address\":\"Indirizzo per la corrispondenza\",\"Countries\":\"Paesi\",\"Country\":\"Paese\",\"Country of birth\":\"Paese di nascita\",\"Country of incorporation\":\"Paese di costituzione\",\"Country of registration\":\"Paese di registrazione\",\"Create Account\":\"Crea account\",\"Create Order\":\"Creare ordine\",\"Create your account\":\"Crea proprio account\",\"Created Date\":\"Data di creazione\",\"Created date\":\"Data di creazione\",\"Currency\":\"Valuta\",\"Currency not found ({{id}})\":\"Valuta non trovata ({{id}})\",\"Currently no IOSS or VAT service is available.\":\"Al momento non è disponibile alcun servizio IOSS o IVA.\",\"Data Upload\":\"Caricamento\",\"Data Upload Finalized\":\"Caricamento completato\",\"DataUploaded\":\"Caricato\",\"DataVAT generated\":\"DATAVAT generati\",\"Date must be after {{date}}\":\"La data deve essere successiva a {{date}}\",\"Date must be before 2100-01-01\":\"La data deve essere precedente allo 01-01-2100\",\"Date must be before {{date}}\":\"La data deve essere prima {{date}}\",\"Date must be bigger or equal than compliance period start date\":\"La data deve essere successiva o identica alla data di inizio del periodo di adempimento\",\"Date must be bigger or equal than restart period start date\":\"La data deve essere successiva o identica alla data di inizio del periodo di riavvio\",\"Date must be same or after {{date}}\":\"La data deve essere identica o successiva al {{date}}\",\"Date must be same or before {{date}}\":\"La data deve essere identica o anteriore al {{date}}\",\"Date must be smaller or equal than compliance period end date\":\"La data deve essere anteriore o identica alla data di fine del periodo di conformità\",\"Date of incorporation\":\"Data di costituzione\",\"Date of registration at the Commercial Register\":\"Data di registrazione nel registro di commercio\",\"Declined\":\"Rifiutato\",\"Deduct all Refund\":\"Deduci tutto il Rimborso\",\"Default\":\"Predefinito\",\"Default vat rate types successfully saved\":\"Tipi di aliquote IVA predefinite salvate con successo\",\"Delete\":\"Elimina\",\"Delete all services\":\"Elimina tutti i servizi\",\"Deregistered\":\"\",\"Deregistration\":\"Annullamento della registrazione\",\"Deregistration date\":\"Data di cancellazione\",\"Deregistration in progress\":\"\",\"Desucla Errors\":\"Desucla Errors\",\"Details\":\"Dettagli\",\"Did you perform sales of goods and/or supplies of services before registering in Italy?\":\"Ha effettuato cessione di beni o prestazione di servizi imponibili prima di registrarsi in Italia?\",\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\":\"Ha effettuato vendite di beni o servizi prima di registrarsi in Italia per le quali sarebbe stato necessario ottenere una partita IVA italiana?\",\"Director\":\"Amministratore\",\"Disabled\":\"Disabile\",\"Distance sale threshold check\":\"Controllo della soglia di vendita a distanza\",\"Distance sales above the threshold\":\"Vendite a distanza sopra la soglia\",\"Do not agree\":\"Non sono d'accordo\",\"Do not choose this if you already have one EORI number in the EU.\":\"Non selezionare questa opzione se dispone già di un codice EORI nell'UE. La Sua richiesta sarà rifiutata dall'ufficio doganale.\",\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\":\"Non confondere il rappresentante fiscale con il tuo fornitore di servizi di conformità IVA. Il rappresentante fiscale è registrato fiscalmente in Francia e agisce come vostro rappresentante locale. KPMG nominerà un nuovo rappresentante fiscale per voi, e per questo dobbiamo fornire il nome del precedente rappresentante.\",\"Do you have a Polish bank account?\":\"Possiede un conto corrente polacco?\",\"Do you have a Spanish bank account?\":\"Hai un conto in una banca spagnolo?\",\"Do you have a VAT Number?\":\"Possiede un numero di partita IVA?\",\"Do you have an office and employee(s) in Italy?\":\"Ha una sede e uno o più dipendenti in Italia?\",\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\":\"Possiede un numero di partita IVA in qualsiasi parte dell'UE diverso dal numero di partita IVA nel Paese di costituzione?\",\"Do you have any fixed establishment in the EU?\":\"Possiedi uno stabilimento fisso nell'UE?\",\"Do you have current or previous IOSS number?\":\"Hai un numero IOSS attuale o precedente?\",\"Document uploaded successfully\":\"Documento caricato correttamente\",\"Documents\":\"Documenti\",\"Documents signed\":\"Documenti firmati\",\"Documents uploaded successfully\":\"Documenti caricati con successo\",\"Does the authorized signatory own more than 25% of the shares?\":\"Il legale rappresentante possiede più del 25% delle azioni?\",\"Don't have account yet?\":\"Non ha ancora un account?\",\"Download\":\"Scarica\",\"Download Contract\":\"Scarica contratto\",\"Download Currencies\":\"Scarica valute\",\"Download IOSS Template\":\"Scarica il modello IOSS\",\"Download PDF\":\"Scarica PDF\",\"Download SAF-T Template\":\"Scaricare il modello SAF-T\",\"Download SKUs\":\"Scarica i codici SKU\",\"Download VAT/OSS Template\":\"Scarica il modello IVA/OSS\",\"Download proof\":\"Scaricare la prova\",\"Draft\":\"Bozza\",\"Draft successfully approved\":\"Bozza approvata con successo\",\"Draft successfully cancelled\":\"Bozza cancellata con successo\",\"Draft successfully saved\":\"Bozza salvata con successo\",\"Driving License\":\"Patente di guida\",\"Due\":\"Pagamento dovuto\",\"E-filing\":\"E-filing\",\"E.g. Amazon, eBay, your own webshop, etc.\":\"Ad esempio Amazon, eBay, il suo negozio online o altro\",\"EORI\":\"EORI\",\"EORI number application in the EU\":\"Applicazione del codice EORI nell'UE\",\"EORI number application in the UK\":\"Applicazione del codice EORI nel Regno Unito\",\"ESL\":\"ESL\",\"ESL Frequency\":\"Frequenza ESL\",\"EU VAT Number\":\"Partita IVA\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services.\":\"Le aziende con sede nell'UE devono fornire un certificato IVA valido nel Paese di costituzione, altrimenti addebiteremo l'IVA per i nostri servizi. Le aziende al di fuori dell'UE devono fornire un identificativo fiscale locale nel Paese di costituzione.\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\":\"Le aziende con sede nell'UE devono fornire un certificato IVA valido nel Paese di costituzione, altrimenti addebiteremo l'IVA per i nostri servizi. Per le aziende con sede al di fuori dell'UE questo campo è facoltativo.\",\"EU country where your goods are first imported to before selling to Germany\":\"Paese dell'UE in cui le sue merci sono importate prima di essere vendute in Germania\",\"Edit\":\"Modifica\",\"Edit SKU\":\"Modifica SKU\",\"Edit companies\":\"Modifica aziende\",\"Effective date of registration\":\"Data effettiva di registrazione\",\"Electronics/Computer/Office\":\"Elettronica/computer/ufficio\",\"Email\":\"E-mail\",\"Email already exists\":\"L'indirizzo e-mail è già esistente\",\"Email change request sent to your new email address. Please check your new inbox\":\"La richiesta di modifica e-mail è stata inviata al tuo nuovo indirizzo e-mail. Controlla la tua casella di posta elettronica.\",\"Enabled\":\"Abilitato\",\"End Date\":\"Data di scadenza\",\"Error\":\"Errore\",\"Error occured\":\"Si è verificato un errore\",\"ErrorAtTA\":\"\",\"ErrorReturnGen\":\"\",\"Est. Country type\":\"Tipo di paese di stabilimento\",\"Estimated annual taxable supply (in EUR)\":\"Stima delle cessioni imponibili annua (in EURO)\",\"Estimated payable VAT in the first year in Germany (in EUR)\":\"Stima dell'IVA da pagare nel primo anno in Germania (in EURO)\",\"Estimated total profit in the first year in Germany (in EUR)\":\"Stima del profitto totale nel primo anno in Germania (in EURO)\",\"Exempt\":\"Esenzione\",\"Existing VAT numbers\":\"Numeri IVA esistenti\",\"Exists\":\"Esiste\",\"Expired\":\"Scaduto\",\"Expires\":\"Scade\",\"Expiry date of the identification document\":\"Data di scadenza del documento di identità\",\"Extend by month\":\"Prolunga per un mese\",\"Extent of ownership interest\":\"Percentuale di proprietà\",\"FAQ\":\"Domande frequenti\",\"Failed\":\"Non riuscito\",\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\":\"I membri della famiglia di una persona politicamente esposta includono il coniuge o il convivente di una persona politicamente esposta; i figli biologici e adottivi, figliastri e figli adottivi e i loro coniugi o conviventi, di una persona politicamente esposta; i genitori biologici, adottivi, figliastri e adottivi di una persona politicamente esposta.\",\"Fashion/Accessories/Jewellery\":\"Moda/Accessori/Gioielli\",\"Father's full name\":\"Patronimico completo\",\"Feedback saved successfully\":\"Feedback salvato con successo\",\"Filing agent\":\"Agente di deposito\",\"Filing extension\":\"Estensione di deposito\",\"Fill out the Questionnaire\":\"Compilare il questionario\",\"Final position\":\"Posizione finale\",\"Finalize Upload\":\"Completa il caricamento\",\"Finalized\":\"Completato\",\"First Name of Proprietor\":\"Nome dell'imprenditore\",\"First name\":\"Nome\",\"Fiscal representation\":\"Rappresentanza fiscale\",\"Fixed Establishments\":\"Stabilimenti fissi\",\"Fixed establishments\":\"Stabilimenti fissi\",\"Food/Grocery\":\"Cibo/Gastronomia\",\"For information only\":\"Solo richieste di informazioni\",\"Forgot your password?\":\"Ha dimenticato la Sua password?\",\"FourMonthly\":\"Quadrimestrale\",\"From\":\"Dal\",\"From which country do you purchase the goods that you will sell in France?\":\"Da quale paese acquistate le merci che venderete in Francia?\",\"Full name\":\"Nome completo\",\"GTU1\":\"Fornitura di bevande alcoliche\",\"GTU10\":\"Fornitura di edifici, strutture e terreni\",\"GTU11\":\"Servizi connessi alle quote di emissione dei gas a effetto serra\",\"GTU12\":\"Servizi immateriali - solo nel settore della consulenza, della contabilità, del diritto, della gestione, dell’istruzione o del marketing, dei servizi relativi alle sedi centrali, della pubblicità, delle ricerche di mercato e dei sondaggi di opinione, dei servizi nel settore della ricerca e dello sviluppo scientifici\",\"GTU13\":\"Servizi di trasporto e gestione dei magazzini\",\"GTU2\":\"fornitura di olio combustibile in conformità alla normativa in materia di accise\",\"GTU3\":\"fornitura di oli lubrificanti, lubrificanti plastici ecc.\",\"GTU4\":\"fornitura di prodotti del tabacco, tabacco essiccato, liquido per sigarette elettriche e prodotti innovativi ai sensi della normativa sulle accise\",\"GTU5\":\"fornitura/vendita di rifiuti, prodotti di scarto\",\"GTU6\":\"fornitura di dispositivi elettronici e loro parti nonché di materiali per tali dispositivi\",\"GTU7\":\"fornitura di veicoli e/o parti di veicoli a motore\",\"GTU8\":\"fornitura di metalli nobili e metalli comuni\",\"GTU9\":\"Fornitura di medicinali e dispositivi medici, prodotti medicinali e alimenti speciali\",\"General VAT Advice\":\"Avviso generale IVA\",\"General VAT advice\":\"Consulenza generale sull'IVA\",\"Generate\":\"Creare\",\"Generated\":\"Generati\",\"Getting started with KPMG\":\"Introduzione a KPMG\",\"Global Services\":\"Global Services\",\"Go to Master Data/Amazon SKUs\":\"Vai a Dati master/Codici SKU di Amazon\",\"Guides and Tutorials\":\"Guide e tutorial\",\"Has decisive influence in the business\":\"Ha un'influenza decisiva sull'attività\",\"Home country compliance\":\"Conformità IVA del paese di origine\",\"Home/Garden/Tools\":\"Casa/Giardino/Attrezzi\",\"I Understand\":\"Comprendo\",\"I accept the Contract\":\"Accetto il Contratto\",\"I ask for and I explicitly consent to the following\":\"Richiedo e acconsento esplicitamente a quanto segue\",\"I plan to move to a new service provider\":\"Ho intenzione di passare a un nuovo fornitore di servizi\",\"I plan to stop trading and de-register for VAT\":\"Ho intenzione di smettere di fare trading e annullare la registrazione\",\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\":\"Acconsento incondizionatamente al trattamento e alla conservazione da parte di KPMG Global Services Hungary (KGSH) dei miei dati personali, così come elencati o indicati nelle Condizioni Generali di Protezione dei Dati, al di là dell'attuale registrazione della mia entità presso le Autorità Fiscali, per consentire a KGSH di utilizzare tali dati per le registrazioni future, senza tuttavia superare la scadenza/validità ufficiale di tali dati o per un periodo di tempo massimo di 10 anni.\",\"IBAN\":\"IBAN\",\"IBAN of the Polish Bank\":\"IBAN della Banca polacca\",\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\":\"L'acronimo IBAN sta per \\\"International Bank Account Number\\\" (numero di conto corrente internazionale). Si tratta di un codice concordato a livello internazionale composto da un massimo di 34 lettere e numeri che aiuta le banche ad elaborare i trasferimenti in tutto il mondo. Se la Sua banca non fornisce alcun IBAN, La preghiamo di aggiungere nuovamente il Suo numero di conto corrente.\",\"ID\":\"ID\",\"IOSS\":\"IOSS\",\"IOSS Compliance & Registration\":\"Conformità & Registrazione IOSS\",\"IOSS Compliance Pay As You Ship\":\"Conformità IOSS Paghi quello che spedisci\",\"IOSS Compliance Tier 1\":\"Conformità IOSS Tier 1\",\"IOSS Compliance Tier 2\":\"Conformità IOSS Tier 2\",\"IOSS Compliance Tier 3\":\"Conformità IOSS livello 3\",\"IOSS Deregistration\":\"Annullamento della registrazione IOSS\",\"IOSS Number\":\"Numero IOSS\",\"IOSS Registration\":\"Registrazione IOSS\",\"IOSS Registration Related Questions\":\"Domande relative alla registrazione IOSS\",\"IOSS Registration and Compliance\":\"Registrazione e adempimenti IOSS\",\"IOSS data template\":\"Modello di dati IOSS\",\"IOSS deregistration\":\"Deregistrazione IOSS\",\"IOSS registration\":\"Registrazione IOSS\",\"IOSS take over\":\"IOSS assumere il controllo\",\"Id\":\"ID del Cliente\",\"Id is taken\":\"L'ID è preso\",\"Identification\":\"Dati identificativi\",\"Identification document\":\"Documento d'identità\",\"Identification document number\":\"Documento d'identità numero\",\"If the extent of ownership can be quantified.\":\"Se la proprietà può essere quantificata.\",\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\":\"Se non sai come rispondere a una domanda, inviaci un'e-mail all'indirizzo {{- contactEmail}}.\",\"If you will use Amazon FBA, add the address of the German FBA warehouse.\":\"Se utilizza Amazon FBA, aggiunga l'indirizzo del magazzino FBA tedesco.\",\"If your return does not contain any payable VAT, there is no action required from your end.\":\"Se la vostra dichiarazione non contiene alcuna IVA da pagare, non è necessaria alcuna azione da parte vostra.\",\"Ignore and upload\":\"Ignora\",\"In Progress\":\"In corso\",\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\":\"In Spagna, l'IVA può essere pagata solo da un conto corrente spagnolo. Se opera in Spagna, dovrà utilizzare il servizio di supporto ai pagamenti di KPMG per garantire che i pagamenti e le richieste di pagamento IVA siano elaborati correttamente.\",\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\":\"Nell'anno di registrazione. Per cessioni imponibili si intendono vendite locali e/o vendite a distanza per un totale superiore alla soglia di registrazione.\",\"In which country do you keep the goods that you will later sell in France?\":\"In quale paese tenete la merce che poi venderete in Francia?\",\"In which country was your FedEx or TNT account created?\":\"In quale Paese è stato creato il tuo conto FedEx o TNT?\",\"Incorrect transaction period. Transaction period cannot be after the reporting period.\":\"Periodo di transazione non corretto. Il periodo della transazione non può essere successivo al periodo di riferimento.\",\"Individual\":\"Individuale\",\"Insufficient credit\":\"Credito insufficiente\",\"Intrastat\":\"Intrastat\",\"Intrastat Frequency\":\"Frequenza Intrastat\",\"Intrastat In\":\"Intrastat per gli arrivi\",\"Intrastat Out\":\"Intrastat per le spedizioni\",\"Intrastat Report\":\"Rapporto Intrastat\",\"Intrastat Report In\":\"Rapporto Intrastat per gli arrivi\",\"Intrastat Report Out\":\"Rapporto Intrastat per le spedizioni\",\"Intrastat Reporting\":\"Rapporto Intrastat \",\"Intrastat in\":\"Intrastat per gli arrivi\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"L'Intrastat è un rapporto statistico che registra il volume degli scambi di merci tra i membri dell'UE e le aziende al loro interno. Il rapporto Intrastat per le spedizioni deve essere presentato solo quando si raggiunge un certo numero di spedizioni di merci in un determinato Paese. Per maggiori informazioni sulle soglie di segnalazione Intrastat, consulti le nostre guide e i nostri tutorial.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"L'Intrastat è un rapporto statistico che registra il volume degli scambi di merci tra i membri dell'UE e le aziende al loro interno. Il rapporto Intrastat per le spedizioni deve essere presentato solo quando si raggiunge un certo numero di spedizioni di merci in un determinato Paese. Per maggiori informazioni sulle soglie di segnalazione Intrastat, consulti le nostre guide e i nostri tutorial.\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"L'Intrastat è un rapporto statistico che registra il volume degli scambi di merci tra i membri dell'UE e le aziende al loro interno. Il rapporto Intrastat per gli arrivi deve essere presentato solo quando si raggiunge un certo numero di arrivi di merci in un determinato Paese. Per maggiori informazioni sulle soglie di segnalazione Intrastat, consulti le nostre guide e i nostri tutorial.\",\"Intrastat out\":\"Intrastat per le spedizioni\",\"Intrastat threshold check\":\"Controllo della soglia Intrastat\",\"Invalid\":\"Non valido\",\"Invalid ({{-fieldName}})\":\"Non valida ({{-fieldName}})\",\"Invalid Data\":\"Dati non validi\",\"Invalid VAT number, VAT will be charged for our services.\":\"Numero di partita IVA non valido; per i nostri servizi verrà addebitata l'IVA.\",\"Invalid data\":\"Dati non validi\",\"Invalid email format\":\"Formato email non valido\",\"Invalid state, please reload order\":\"Non valido, per favore ricarica l'ordine\",\"Invalid validation reports\":\"\",\"Invite Client\":\"Invita Utente\",\"Ioss Compliance\":\"Conformità IOSS\",\"Is the authorized signatory the only director entitled to represent the company?\":\"Il firmatario autorizzato è l'unico amministratore autorizzato a rappresentare l'azienda?\",\"Is the beneficial owner a family member of the politically exposed person?\":\"Il beneficiario effettivo è un membro della famiglia della persona politicamente esposta?\",\"Is the beneficial owner a politically exposed person?\":\"Il beneficiario effettivo è una persona politicamente esposta?\",\"Is the beneficial owner known to be a close associate of the politically exposed person?\":\"Il beneficiario effettivo è noto per essere uno stretto collaboratore della persona politicamente esposta?\",\"Is the correspondence address the same as the registered business address?\":\"L'indirizzo per la corrispondenza corrisponde a quello della sede legale dell'azienda?\",\"Is the home address same as the registered business address?\":\"L'indirizzo di residenza corrisponde a quello della sede legale dell'azienda?\",\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\":\"La Sua azienda (o una filiale della sua azienda) è quotata in un mercato azionario regolamentato?\",\"Is your business registered for OSS?\":\"La sua azienda è registrata per OSS?\",\"It does not apply for the year of registration, only for previous years\":\"Non vale per l'anno di iscrizione, solo per gli anni precedenti\",\"It looks like there is no account with this email address.\":\"Sembra che non esista alcun account associato a questo indirizzo e-mail.\",\"Italian fiscal code\":\"Codice fiscale italiano\",\"Item identifier\":\"SAF-T identificazione articolo\",\"KG, GmbH & Co.Kg\":\"KG, GmbH & Co.Kg\",\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\":\"KPMG Global Services Hungary Ltd. (Numero di registrazione dell’attività: 24350309-2-41), un ente facente parte dell’organizzazione globale KPMG alla quale aderiscono società indipendenti affiliate di KPMG International Limited, una società a responsabilità limitata di diritto inglese. Tutti i diritti riservati.\",\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\":\"KPMG Global Services Hungary Kft., un ente facente parte dell’organizzazione globale KPMG alla quale aderiscono società indipendenti affiliate di KPMG International Limited, una società a responsabilità limitata di diritto inglese. Tutti i diritti riservati.\",\"KPMG User Guides\":\"KPMG Guide dell'utente\",\"Kitchen/Dining\":\"Cucina/Sala da pranzo\",\"LLP, GbR\":\"LLP, GbR\",\"Last Name of Proprietor\":\"Cognome dell'imprenditore\",\"Last name\":\"Cognome\",\"Legal\":\"Legale\",\"Legal Entity\":\"Entità giuridica\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"Entità giuridica: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V \\nUnità organizzativa senza forma giuridica: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"Entità giuridica: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V \\nUnità organizzativa senza forma giuridica: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\",\"Legal status\":\"Status giuridico\",\"Loading\":\"Caricamento\",\"Local Tax Number Saved\":\"Numero di partita IVA locale salvato\",\"Local VAT Number\":\"Numero di partita IVA locale\",\"Local tax number\":\"Codice fiscale locale\",\"Logout\":\"Logout\",\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\":\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\",\"MWSAuthToken\":\"MWSAuthToken\",\"Main Data\":\"Dati principali\",\"Manage Services\":\"Gestione servizi\",\"Manage services\":\"Gestione servizi\",\"Managing User Accounts\":\"Gestione dei profili utente\",\"Manual upload\":\"Caricamento manuale\",\"Master Data\":\"Dati principali\",\"Master Data Setup\":\"Impostazione anagrafica\",\"Master data\":\"Dati principali\",\"Master data is complete. Please submit data.\":\"I dati anagrafici sono completi. Si prega di inviare i dati.\",\"Max length: {{maxLength}}\":\"Lunghezza massima: {{maxLength}}\",\"Maximum {{max}} length\":\"Lunghezza massima {{max}}\",\"Merchant Id\":\"ID Commerciante\",\"Middle\":\"Media\",\"Middle name (if any)\":\"Nome medio (se del caso)\",\"Minimum {{min}} length\":\"Lunghezza minima {{min}}\",\"Mode of Refund\":\"Modalità di rimborso\",\"Monthly\":\"Mensile\",\"Monthly compliance end date must be bigger than compliance end date\":\"La data di scadenza dell'abbonamento mensile deve essere successiva alla data di scadenza dell'abbonamento\",\"Monthly country compliance\":\"Conformità mensile per paese\",\"Mother's birth name\":\"Cognome da nubile della madre\",\"Mr\":\"Sig.\",\"Ms\":\"Sig.na\",\"Music/Movies/Games\":\"Musica/Film/Giochi\",\"Must be a valid email address\":\"Deve essere un indirizzo e-mail valido.\",\"Must be bigger than Start Date\":\"La data di fine deve essere successiva alla data di inizio\",\"Must be lower than the first day of the compliance start month\":\"La data deve essere precedente alla data di inizio dell'abbonamento con almeno un mese\",\"Must be smaller or equal with the current or would-be compliance end date\":\"Deve essere anteriore o identica alla data di fine conformità corrente o potenziale\",\"Must contain the name of the business, registered address of business, name of authorized signatory.\":\"Deve contenere il nome dell'impresa, la sede legale dell'impresa, il nome del firmatario autorizzato.\",\"N/A\":\"N/A\",\"Name\":\"Nome\",\"Name at birth\":\"Nome alla nascita\",\"Name of Authority keeping the Commercial Register\":\"Nome dell'autorità che tiene il registro commerciale\",\"Name of previous fiscal representative in France\":\"Nome del precedente rappresentante fiscale in Francia\",\"Name of the Polish Bank\":\"Nome della Banca polacca\",\"Name of the commercial register in the country of establishment\":\"Nome del Registro delle Imprese del Paese di costituzione\",\"Name of the regulated stock market\":\"Nome del mercato azionario regolamentato\",\"Name of the respective Tax Authority in country of establishment\":\"Nome dell'Autorità Fiscale nel Paese di costituzione\",\"Name the Online Marketplaces where you sell\":\"Si prega di indicare i mercati online in cui vende\",\"Nationality\":\"Nazionalità\",\"Natural Person\":\"Persona fisica\",\"New\":\"Nuovo\",\"New company\":\"Nuova azienda\",\"New email address\":\"Nuova email\",\"New label\":\"Nuova etichetta\",\"New password\":\"Nuova password\",\"New sign up\":\"Nuova iscrizione\",\"Next\":\"Avanti\",\"No\":\"No\",\"No banking information is required to appoint KPMG as your tax agent in the selected countries\":\"Per nominare KPMG come agente fiscale nei Paesi selezionati non sono richieste informazioni bancarie. \",\"No business owner has been added yet.\":\"Nessun imprenditore è stato ancora aggiunto.\",\"No document generated\":\"Nessun document è stato generato\",\"No existing VAT number is added yet\":\"Non è stato ancora aggiunto alcun numero di partita IVA\",\"No payment needed\":\"Nessun pagamento necessario\",\"No result found\":\"Nessun risultato trovato\",\"No turnover has been added yet.\":\"Non è stato ancora aggiunto alcun fatturato.\",\"None\":\"Nessuna\",\"Not Applicable\":\"Nn applicabile\",\"Not Available\":\"Non disponibile\",\"Not authenticated\":\"Non autenticato\",\"Not exists\":\"Non esiste\",\"Not found\":\"Non trovato\",\"Not to be submitted proof\":\"\",\"NotToBeSubmitted\":\"\",\"Notifications\":\"Notifiche\",\"Number required\":\"Numero richiesto\",\"OHG\":\"OHG\",\"OSS\":\"\",\"OSS Information\":\"Informazioni OSS\",\"OSS compliance\":\"Conformità OSS\",\"OSS deregistration\":\"Deregistrazione OSS\",\"OSS registration\":\"Registrazione OSS\",\"OSS take over\":\"OSS assumere il controllo\",\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\":\"OSS: regime di sportello unico dell'Unione europea per le dichiarazioni IVA sulle vendite a distanza presso un'unica autorità fiscale\",\"Off\":\"Off\",\"Ok\":\"OK\",\"On\":\"Su\",\"On your own\":\"In proprio\",\"Only Latin characters are allowed\":\"Sono consentiti solamente caratteri latini.\",\"Order Details\":\"Dettagli Ordine\",\"Order History\":\"Cronologia ordini\",\"Order Summary\":\"Riepilogo ordine\",\"Order does not confirmed yet.\":\"\",\"Order not found\":\"Ordine non trovato\",\"Order successfully canceled\":\"Ordine annullato con successo\",\"Orders & Payments\":\"Ordini e pagamenti\",\"Organizational Unit Without Legal Form\":\"Unità organizzativa senza forma giuridica\",\"Other\":\"Altro\",\"Other VAT Related Questions\":\"Altre domande in materia di IVA\",\"Owner\":\"Titolare\",\"Owner of the Bank account\":\"Titolare del conto corrente\",\"Owner of the Polish Bank Account\":\"Titolare del conto corrente polacco\",\"Owns at least 25% of the business or the voting rights\":\"Possiede almeno il 25% dell'attività o dei diritti di voto\",\"Paid by client\":\"Pagato dal cliente\",\"Paid to TA\":\"Pagato all’autoritá\",\"Partnership\":\"Partenariato\",\"Passport\":\"Passaporto\",\"Passport/ID of the legal representative of the business\":\"Passaporto/documento di identità del legale rappresentante dell'azienda\",\"Password\":\"Password\",\"Password Recovery\":\"Recupero password\",\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\":\"La password deve essere almeno 8 cifre lunga e contenere tre delle quattro caratteristiche seguenti: caratteri maiuscoli, caratteri minuscoli, caratteri alfanumerici, caratteri speciali.\",\"Password reset email sent. Please check your inbox.\":\"E-mail di ripristino della password inviata. Controlli la posta in arrivo.\",\"Password successfully reset\":\"Password ripristinata con successo\",\"Pay\":\"Paga\",\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\":\"Paghi quello che spedisci: EUR 10/mese incluso fino a 5 pacchi, più EUR 2 per ogni pacchetto aggiuntivo\",\"Pay order\":\"Ordine di pagamento\",\"Pay with\":\"Paga con\",\"Payment Status\":\"Stato pagamenti\",\"Payment due\":\"Pagamento dovuto\",\"Payment proof\":\"Prova di pagamento\",\"Payment proof successfully uploaded\":\"Prova di pagamento caricata con successo\",\"Payment reference\":\"Riferimento pagamento\",\"Payment status\":\"Stato del pagamento\",\"Payment status changed successfully\":\"Stato del pagamento cambiato con successo\",\"Payment successful! We will redirect you in a few seconds.\":\"Pagamento riuscito! Ti reindirizzeremo tra pochi secondi.\",\"Payments\":\"Pagamenti\",\"Pending\":\"In sospeso\",\"Period\":\"Periodo\",\"Person considered as beneficial owner\":\"Persona considerata come beneficiario effettivo\",\"Personal Identity card\":\"Carta d'identità\",\"Phone\":\"Telefono\",\"Phone Number\":\"Numero di telefono\",\"Please add at least one business owner.\":\"Si prega di aggiungere almeno un titolare d'azienda\",\"Please add at least one fixed establishment.\":\"Aggiungi almeno uno stabilimento fisso.\",\"Please add the Polish bank details\":\"Si prega di aggiungere le coordinate bancarie polacche\",\"Please add the address where your accounting records are kept\":\"Aggiungi l'indirizzo dove sono conservati i vostri registri contabili\",\"Please add the address where your accounting records are kept.\":\"Aggiungi l'indirizzo dove sono conservati i vostri registri contabili.\",\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\":\"Si prega di aggiungere il prefisso del Paese (ad esempio: +86 per Cina, +33 per Francia, ecc.).\",\"Please add the e-mail address where you received the invitation e-mail\":\"Si prega di aggiungere l'indirizzo e-mail di destinazione dell'e-mail di invito.\",\"Please add the home address\":\"Si prega di aggiungere l'indirizzo di casa\",\"Please attach a file that will help us understand why you think this return is incorrect.\":\"\",\"Please confirm your email address.\":\"Si prega di confermare la Sua indirizzio email.\",\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\":\"Consulta il tuo account manager in merito al processo di cancellazione e alle tariffe. Tieni presente che potrebbe esserti richiesto di estendere i servizi e continuare a inviare le dichiarazioni fiscali fino al completamento della cancellazione.\",\"Please contact your account manager via email to manage your services.\":\"\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\":\"Si prega di scaricare i documenti elencati qui, stamparli, farli firmare dal firmatario autorizzato, quindi scansionare e caricare. Esamineremo i documenti, se tutto è in ordine sarà necessario inviarli al nostro indirizzo per posta.\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\":\"Si prega di scaricare i documenti elencati qui, stamparli, farli firmare dal firmatario autorizzato, quindi scansionare e caricare. Esamineremo la documentazione, non le è necessario spedirli per posta, poiché possiamo procedere con le copie firmate.\",\"Please enter a valid year.\":\"Per favore, inserisci un anno valido.\",\"Please enter only the tax number without country prefix\":\"Inserisci solo il codice fiscale senza il prefisso del paese\",\"Please enter text\":\"Si prega di inserire il testo\",\"Please give a detailed reason for the rejection.\":\"Si prega di fornire un motivo dettagliato per il rifiuto.\",\"Please indicate the net value of the distance sales in Italy for each year.\":\"Indicare il valore netto delle vendite a distanza in Italia per ogni anno.\",\"Please note that any changes you made will be lost if you switch to another language.\":\"Tieni presente che eventuali modifiche apportate andranno perse, se passi a un'altra lingua.\",\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\":\"Tieni presente che la tua dichiarazione IVA verrà inviata solo se il pagamento viene ricevuto dall'intermediario IVA prima della scadenza di presentazione.\",\"Please provide a valid e-mail address\":\"Per favore fornisci un indirizzo e-mail valido.\",\"Please provide a valid e-mail address.\":\"Inserire un indirizzo e-mail valido.\",\"Please select at least one company\":\"Selezionare almeno un’azienda\",\"Please select at least one reason\":\"Selezionare almeno una motivazione\",\"Please select the type of products you sell\":\"Seleziona il tipo di prodotti che vendi\",\"Please upload VAT ID certificate in Italy\":\"Carichi il suo certificato di partita IVA in Italia\",\"Please upload a bank certificate confirming your banking detals\":\"Si prega di caricare un'attestazione bancaria che confermi i dati bancari\",\"Please upload an official certificate confirming your business activities\":\"Si prega di caricare un'attestazione ufficiale che confermi l'attività commerciale\",\"Please upload the VAT ID certificate in the country of establishment\":\"Si prega di caricare il certificato di attribuzione partita IVA nel Paese di costituzione\",\"Please upload the photocopy of the identification document\":\"Si prega di caricare la fotocopia del documento d'identità\",\"Please upload your Articles of Association\":\"Si prega di caricare lo Statuto Sociale\",\"Please use only numbers.\":\"Si prega di utilizzare solo numeri.\",\"Please use the link from the invitation email!\":\"Utilizza il link contenuto nell'e-mail di invito\",\"PoA revoked\":\"\",\"Polish Bank Information\":\"Informazioni bancarie polacche\",\"Polish Banking Information\":\"Informazioni bancarie polacche\",\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\":\"Per persona politicamente esposta si intende una persona fisica che è incaricata di funzioni pubbliche di rilievo o che è stata incaricata di funzioni pubbliche di rilievo entro un anno prima di questa misura di identificazione.\",\"Position in free form\":\"Altro\",\"Position in the company\":\"Ruolo all'interno dell'azienda\",\"Postal/Zip code\":\"CAP\",\"Preferred language\":\"Lingua desiderata\",\"Previous\":\"Indietro\",\"Price\":\"Prezzo\",\"Price must be lower\":\"Il prezzo deve essere più basso\",\"Pricing\":\"Costi\",\"Primary Vat Frequency\":\"Frequenza della dichiarazione IVA\",\"PrimaryVAT\":\"Dichiarazione IVA\",\"Privacy\":\"Privacy\",\"Processing\":\"Elaborazione\",\"Product Id\":\"ID Prodotto\",\"Province\":\"Provincia\",\"Quarterly\":\"trimestrale\",\"QuarterlyShifted1\":\"Trimestre spostato 1\",\"QuarterlyShifted2\":\"Trimestre spostato 2\",\"Rate type\":\"Tipi di aliquote\",\"Read our guide how to automate transactions with Amazon:\":\"Leggete la nostra guida su come automatizzare la fornitura di dati con Amazon:\",\"Reason of Rejection\":\"Motivazione del rifiuto\",\"Reconfirm Upload\":\"Riconferma caricamento\",\"Reduced\":\"Ridotta\",\"RefusedByClient\":\"Rifiutato dal cliente\",\"Regenerate\":\"Rigenera\",\"Register number of your business at the Commercial Register\":\"Numero di registro della sua impresa al registro di commercio\",\"Registration number\":\"N. di iscrizione\",\"Registration number of your business\":\"Numero di registrazione dell'azienda\",\"Reject\":\"Rifiuta\",\"Rejected\":\"\",\"Remove\":\"Rimuove\",\"Renew Country\":\"Rinnova paesi\",\"Renew for one year\":\"Rinnova per un anno\",\"Reopen\":\"Riaprire\",\"Required\":\"Obbligatorio\",\"Required by post\":\"Richiesto per posta\",\"Required electronically only\":\"Richiesto solo elettronicamente\",\"Required if automated\":\"Richiesto se automatizzato\",\"Required length: {{length}}\":\"Lunghezza richiesta: {{length}}\",\"Resend\":\"Reinvia\",\"Reset Password\":\"Reimpostazione password\",\"Reset filters\":\"Azzera filtri\",\"Restart date must be bigger than or equal to compliance end date\":\"La data di riavvio dell'abbonamento deve essere successiva o identica alla data di fine dell'abbonamento\",\"Retrospective\":\"Retrospettivo/a\",\"Retrospective Return\":\"Dichiarazioni retrospettive\",\"Retrospective return\":\"Dichiarazione retrospettiva\",\"Return Library\":\"Biblioteca\",\"Return and Refund\":\"Reso e Rimborso\",\"Return and Refund plus MFN\":\"Reso e rimborso più MFN \",\"Return cannot be submitted after submission due date\":\"La dichiarazione fiscale non può essere inviata dopo la data di scadenza dell'invio\",\"Return documents\":\"Documenti per la dichiarazione IVA\",\"Return gen due\":\"Generazione di dichiarazione dovuta\",\"Return to approved\":\"Dichiarazione ad approvare\",\"Return type\":\"Tipo di dichiarazione\",\"ReturnGenerated\":\"Dichiarazione generata\",\"Revision\":\"Revisione\",\"Revoking PoA\":\"\",\"SAF-T\":\"SAF-T\",\"SAF-T Compliance\":\"Conformità SAF-T\",\"SAF-T reporting\":\"Segnalazione SAF-T\",\"SAS\":\"SAS\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\":\"I codici SWIFT e BIC sono identificativi unici della banca utilizzati nelle transazioni internazionali per assicurarsi che il denaro sia trasferito al destinatario giusto. La Sua banca potrebbe aiutarLa a fornire i codici SWIFT/BIC corretti.\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \":\"I codici SWIFT e BIC sono identificativi unici della banca utilizzati nelle transazioni internazionali per assicurarsi che il denaro sia trasferito al destinatario giusto. La Sua banca potrebbe aiutarLa a fornire i codici SWIFT/BIC corretti.\",\"SWIFT/BIC\":\"SWIFT/BIC\",\"SWIFT/BIC of the Polish Bank\":\"SWIFT/BIC della Banca polacca\",\"Save\":\"Salva\",\"Saved successfully\":\"Salvataggio riuscito\",\"Saving\":\"Salvataggio in corso\",\"Scope coverage\":\"Copertura del campo di applicazione\",\"Secondary Vat Frequency\":\"Frequenza della dichiarazione IVA Annuale\",\"SecondaryVAT\":\"Dichiarazione IVA Annuale\",\"See FAQ for definition of beneficial owner\":\"Vedere le FAQ per la definizione di beneficiario effettivo\",\"See FAQ for definition of beneficial owner.\":\"Consultare le FAQ per la definizione di beneficiario effettivo.\",\"Select New Tier\":\"Selezionare un nuovo livello\",\"Select additional services\":\"Seleziona eventuali servizi aggiuntivi\",\"Select countries, where you would like to extend KPMG engagement by 1 year\":\"Seleziona i paesi per i quali desideri estendere la cooperazione con KPMG per un altro anno.\",\"Select countries, where you would like to start KPMG engagement\":\"Seleziona i paesi per i quali desideri iniziare a collaborare con KPMG.\",\"Select country\":\"Seleziona il Paese\",\"Select the country of OSS registration\":\"Selezionare il paese di registrazione dell'OSS\",\"Select the country where the warehouse is located where you keep your goods before selling in/to France\":\"Seleziona il paese in cui si trova il magazzino dove tieni le tue merci prima di vendere in/alla Francia\",\"Select the start date from when you want KPMG to submit your VAT returns.\":\"Seleziona la data dalla quale desidera che KPMG trasmetta le dichiarazioni IVA.\",\"Select the type of legal entity\":\"Selezionare il tipo di entità giuridica\",\"Select the type of your business entity\":\"Selezionare il tipo di entità aziendale\",\"Selected companies\":\"Aziende scelte\",\"Self Revision / Retrospective Returns\":\"\",\"Self revision\":\"Auto-revisione\",\"Seller Accounts\":\"Account Venditore\",\"Seller account\":\"Account venditore\",\"Send email\":\"Inviare e-mail\",\"Send invitation\":\"Invia invito\",\"Sent To Return Generation\":\"Inviato all’atto di generazione\",\"Sent to TA\":\"Inviato all'autorità fiscale\",\"SentToTA\":\"\",\"Service Renewal\":\"Rinnovo servizio\",\"Service Selection\":\"Selezione del servizio\",\"Service detail\":\"Dettagli servizio\",\"Service expiration date\":\"Data di scadenza del servizio\",\"Service expiration:\":\"Scadenza del servizio:\",\"Service quality\":\"Qualità del servizio\",\"Service start date\":\"\",\"Services\":\"Servizi\",\"Set Password\":\"Imposta password\",\"Share percentage\":\"Quota di partecipazione\",\"Shareholder type\":\"Tipologia di titolare\",\"Show All\":\"Mostra tutto\",\"Show inactive services\":\"Mostra servizi inattivi\",\"Show only missing data\":\"Mostra solo i dati mancanti\",\"Showing {{firstItem}}-{{lastItem}}\":\"Visualizzati {{firstItem}}-{{lastItem}}\",\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\":\"Visualizzati {{firstItem}}-{{lastItem}} risultati di {{itemCount}}\",\"Sign in\":\"Accede\",\"Sign in to your account\":\"Accede al Suo account\",\"Signed\":\"Firmato\",\"Signed documents need to be uploaded\":\"I documenti firmati devono essere caricati\",\"SixMonthly\":\"Semestrale\",\"Sku\":\"SKU\",\"Sku already exists ({{id}})\":\"SKU esiste già ({{id}})\",\"Sku not found ({{id}})\":\"SKU non trovato ({{id}})\",\"SkuId\":\"SKU\",\"Sole trader's first name\":\"Nome dell'imprenditore\",\"Sole trader's last name\":\"Cognome dell'imprenditore\",\"Something went wrong\":\"Qualcosa è andato storto\",\"Source\":\"Fonte\",\"Spanish VAT Payment Service\":\"Servizio per pagamento IVA spagnola\",\"Spanish bank account\":\"Conto corrente spagnolo\",\"Specialist VAT Advice\":\"Consulenza specialistica sull'IVA\",\"Specialist VAT advice\":\"Consulenza specialistica sull'IVA\",\"Sporting goods/Outdoors\":\"Articoli sportivi/Outdoor\",\"Standard\":\"Standard\",\"Standard2\":\"Standard 2\",\"Start Date\":\"Data d'inizio\",\"Start Questionnaire\":\"Avvia questionario\",\"Start date\":\"Data inizio\",\"Start date of representation by KPMG\":\"Data di inizio della rappresentanza da parte di KPMG\",\"Start date of storing goods in Germany\":\"Data di inizio dell'immagazzinamento delle merci in Germania\",\"Started\":\"Iniziato\",\"Starting date of intrastat in\":\"Data di inizio Intrastat per gli arrivi\",\"Starting date of intrastat out\":\"Data di inizio Intrastat per le spedizioni \",\"Statement\":\"Certificato\",\"Status\":\"Stato\",\"Status changed successfully\":\"Stato modificato con successo\",\"Status updated to:\":\"Status updated to:\",\"Status updated to: \":\"Stato della richiesta aggiornato:\",\"Street\":\"Via\",\"Street name\":\"Nome della via\",\"Street number\":\"Numero civico\",\"Sub-total\":\"Subtotale\",\"Submission due\":\"Presentazione dovuta\",\"Submission proof\":\"\",\"Submit\":\"Invia\",\"Submitted\":\"Inviato\",\"SubmittedByClient\":\"Inviato dal cliente\",\"Subscribe\":\"\",\"Subtotal\":\"Subtotale\",\"Successfully done\":\"Fatto con successo\",\"Summary\":\"Riepilogo\",\"SuperReduced\":\"Aliquota super ridotta\",\"SuperReduced2\":\"Aliquota super ridotta 2\",\"Tax\":\"Tasse\",\"Tax Identifier\":\"Codice fiscale\",\"Tax certificate\":\"Certificato fiscale\",\"Thank you for signing up for KPMG registration and compliance services.\":\"Grazie per esserti iscritto ai servizi di registrazione e conformità di KPMG.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\":\"Il report delle transazioni IVA di Amazon non contiene alcun dettaglio dei resi in caso di transazioni MFN . Selezionando questa opzione di rimborso, accetti il rischio che le autorità fiscali possano cercare di contestare la detrazione dell'IVA in caso di verifica. In alternativa, le note di credito MFN possono essere fornite nei file modello KPMG.\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \":\"Il report delle transazioni IVA di Amazon non contiene alcun dettaglio dei resi in caso di transazioni MFN . Selezionando questa opzione di rimborso, accetti il rischio che le autorità fiscali possano cercare di contestare la detrazione dell'IVA in caso di verifica. In alternativa, le note di credito MFN possono essere fornite nei file modello KPMG.\",\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\":\"Le informazioni di cui sopra possono essere condivise con un'altra società KPMG se l'azienda entra in un rapporto contrattuale con tale società KPMG che è soggetto all'identificazione del cliente.\",\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\":\"Il numero di conto non sembra essere valido. Inserisci un numero di conto FedEx o TNT valido.\",\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\":\"Il firmatario autorizzato è debitamente autorizzato a firmare e ad agire legalmente per conto della società. Si prega di aggiungere almeno un firmatario autorizzato.\",\"The below services are about to expire, please go to Services menu and extend your subscription. If you don’t want to extend these services, please leave a feedback.\":\"I seguenti servizi stanno per scadere, si prega di selezionare l'opzione Servizi e di estendere il tuo abbonamento. Se non si desidera estendere questi servizi, si prega di lasciare un feedback.\",\"The business has a natural person as beneficial owner\":\"L'impresa ha come beneficiario effettivo una persona fisica\",\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\":\"Il calcolo dei periodi retroattivi è fondamentale per la preparazione dei documenti di registrazione in Italia. Dovrà fornire a KPMG i dati delle transazioni per i periodi di dichiarazione passati il più presto possibile. Senza di essi, il processo di registrazione ai fini IVA in Italia potrebbe subire ritardi.\",\"The client identification will have to be repeated if no agreement is given.\":\"L'identificazione del cliente dovrà essere ripetuta se non viene dato un accordo.\",\"The e-mail address and password do not match.\":\"L'indirizzo e-mail e la password non corrispondono.\",\"The executive officer of the business must be considered as the beneficial owner\":\"L'amministratore delegato dell'impresa deve essere considerato come il beneficiario effettivo\",\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner.\":\"L'identificazione dell'avente diritto economico è un obbligo previsto dalla legge per prevenire e combattere il riciclaggio di denaro e il finanziamento del terrorismo. La preghiamo di aggiungere ogni beneficiario effettivo almeno con una percentuale di quota del 20%.\",\"The last user of the company cannot be removed\":\"L'ultimo utente dell'azienda non può essere rimosso\",\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\":\"Il codice fiscale locale (o Steuernummer) è un numero di identificazione rilasciato dalle autorità fiscali tedesche quando ti registrano come contribuente. Non confondere il codice fiscale con la Partita IVA. Il codice fiscale è usato come riferimento di pagamento quando si trasferisce l'importo dell'IVA.\",\"The materials available here cover multiple topics in a detailed way.\":\"I materiali qui disponibili trattano in modo dettagliato più argomenti.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\":\"Il prezzo indicato si basa sulle informazioni relative al volume da te fornite. Ci riserviamo il diritto di modificare il tuo livello e addebitare la differenza in base alle spedizioni effettive. In caso di mancato pagamento dell'importo aggiuntivo entro i termini previsti, il tuo contratto potrebbe essere risolto.\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \":\"Il prezzo indicato si basa sulle informazioni relative al volume da te fornite. Ci riserviamo il diritto di modificare il tuo livello e addebitare la differenza in base alle spedizioni effettive. In caso di mancato pagamento dell'importo aggiuntivo entro i termini previsti, il tuo contratto potrebbe essere risolto.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\":\"Il diritto alla detrazione dell'IVA sui rimborsi in caso di mancata restituzione della merce deve essere valutato caso per caso e KPMG non è in grado di effettuare tale valutazione. Pertanto, per impostazione predefinita, KPMG detrae l'IVA solo laddove vi sia una corrispondenza di restituzione della merce e la deducibilità dell'IVA sia chiara. Selezionando l'opzione DEDUCI TUTTO IL RIMBORSO, deduciamo tutti i rimborsi avvenuti in un determinato mese e accetti il rischio che le autorità fiscali possano tentare di contestare la detrazione dell'IVA in caso di verifica.\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\":\"Il diritto alla detrazione dell'IVA sui rimborsi in caso di mancata restituzione della merce deve essere valutato caso per caso e KPMG non è in grado di effettuare tale valutazione. Pertanto, per impostazione predefinita, KPMG detrae l'IVA solo laddove vi sia una corrispondenza di restituzione della merce e la deducibilità dell'IVA sia chiara. Questa è l'opzione predefinita che utilizziamo per la conformità IVA.\",\"The two passwords must be the same.\":\"Le due password devono essere uguali.\",\"The value must match the required pattern\":\"Il valore deve corrispondere al modello richiesto\",\"The value must not match the required pattern\":\"Il valore non deve corrispondere al modello richiesto\",\"There is no action required on your side.\":\"Non è richiesta alcuna azione da parte sua.\",\"There is no file uploaded for the current revision. Please reupload the file.\":\"Nessun file caricato per questa sessione. Si prega di caricare un file.\",\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\":\"Si tratta di un identificatore univoco del venditore su Amazon, di solito un codice di 13-14 caratteri, ad esempio A123456789BCD\",\"This is an individual number in the commercial register document.\":\"Questo è un numero individuale nel documento del registro commerciale.\",\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\":\"Questa è solo la tassa di registrazione IOSS. Le tasse mensili di conformità saranno addebitate separatamente. Seguiranno istruzioni dettagliate.\\n\",\"Ticker symbol of the listed entity\":\"Simbolo azionario dell'entità elencata\",\"Tier 1: Up to 500 packages in a 12 month period\":\"Livello 1: Fino a 500 pacchi per un periodo di 12 mes\",\"Tier 2: Up to 2500 packages in a 12 month period\":\"Livello 2: Fino a 2500 pacchi per un periodo di 12 mesi\",\"Tier 3: Unlimited packages in a 12 month period\":\"Livello 3: Numero illimitato di pacchi per un periodo di 12 mesi\",\"Title\":\"Titolo\",\"To\":\"A\",\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\":\"Per iniziare, devi fornire i dettagli della tua attività completando il questionario del venditore nelle prossime pagine. Queste informazioni sono necessarie per configurare il tuo profilo cliente KPMG ed emettere fattura, oltre che per registrarti. Ogni pagina deve essere completata prima di passare alla successiva; potrai rivedere le tue risposte in qualsiasi momento prima di inviarle.\",\"Total\":\"Totale\",\"Total fee\":\"Commissione totale\",\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\":\"La quota totale include la tassa di registrazione e le tasse mensili di conformità fino al volume di spedizione del pacchetto selezionato.\",\"Toys/Kids/Baby\":\"Giocattoli/Bambini/Bambina\",\"Trading name\":\"Ragione sociale\",\"Trading name (If different from company name)\":\"Ragione sociale (se diversa dal nome dell'azienda)\",\"Transactional data\":\"\",\"Transactions\":\"Transazioni\",\"Translation\":\"Traduzione\",\"Translation in progress\":\"Traduzione in corso\",\"Type\":\"Tipo\",\"Type at least 2 characters\":\"Digita almeno 2 caratteri\",\"Type at least two characters for either email or company\":\"Digitare almeno due caratteri per l'indirizzo e-mail o il nome dell'azienda\",\"Type of identification document\":\"Tipo di documento di identità\",\"Type of ownership interest\":\"Tipo di interesse di proprietà\",\"Under review\":\"In revisione\",\"Unknown\":\"Sconosciuto\",\"Unknown error occured\":\"Si è verificato un errore sconosciuto\",\"Unsubscribe\":\"\",\"Update\":\"Carica \",\"Upload\":\"Caricamento\",\"Upload Amazon Transactions\":\"Carica le transazioni di Amazon\",\"Upload Failed\":\"Caricamento fallito\",\"Upload IOSS Transactions\":\"Carica Transazioni IOSS\",\"Upload In submission proof\":\"Carica la prova di presentazione per gli arrivi\",\"Upload Out submission proof\":\"Carica la prova di presentazione per le spedizioni\",\"Upload SAF-T data\":\"Caricare i dati SAF-T\",\"Upload SKUs\":\"Carica i codici SKU\",\"Upload Skus\":\"Carica i codici SKU\",\"Upload VAT Transactions\":\"Caricare le transazioni IVA\",\"Upload file\":\"Carica il file\",\"Upload finalized successfully\":\"Caricamento completato correttamente\",\"Upload is forbidden for overdue periods. Please contact your account manager.\":\"\",\"Upload payment proof\":\"Carica la prova di pagamento\",\"Upload processed\":\"Caricamento elaborato\",\"Upload proof\":\"Carica la prova\",\"Upload submission proof\":\"Carica la prova di presentazione\",\"Upload successfully canceled\":\"Caricamento annullato con successo\",\"Uploaded successfully\":\"Completa il caricamento\",\"Use Amazon's template to upload data\":\"Utilizzare il modello di Amazon per caricare i dati\",\"Use KPMG template to upload data\":\"Utilizzare il modello KPMG per caricare i dati\",\"VAT\":\"IVA\",\"VAT Compliance Settings\":\"Impostazioni per il rispetto dell'IVA\",\"VAT Compliance Sign-up\":\"Registrazione conformità IVA\",\"VAT ID\":\"Partita IVA\",\"VAT Number\":\"Identificativo fiscale / Numero di partita IVA\",\"VAT Number of country of incorporation\":\"Partita IVA nel Paese di costituzione\",\"VAT Numbers\":\"Partite IVA\",\"VAT Rates\":\"Aliquote IVA\",\"VAT Registration\":\"Registrazione ai fini IVA\",\"VAT compliance\":\"Conformità all'IVA\",\"VAT deregistration\":\"Cancellazione dell'IVA\",\"VAT home country compliance\":\"Conformità IVA del paese di origine\",\"VAT monthly compliance\":\"Conformità mensile IVA\",\"VAT registration\":\"Registrazione IVA\",\"VAT registration certificate for your home country (if appropriate)\":\"Il certificato di attribuzione partita IVA nel Paese d'origine (se del caso)\",\"VAT take over\":\"IVA assumere il controllo\",\"VLS\":\"VLS\",\"VLS Frequency\":\"Frequenza VLS\",\"Valid from\":\"Valido da\",\"Validation errors\":\"Errori di convalidazione\",\"Value must be between (inclusive): 0-100\":\"Il valore deve essere tra (incluso): 0-100\",\"Value must be in list\":\"Il valore deve essere nell'elenco\",\"Vat Compliance\":\"Conformità IVA\",\"Vat Numbers\":\"Partite IVA\",\"Vat Rates\":\"Aliquote IVA\",\"Vat Registration and Compliance\":\"Registrazione e conformità IVA\",\"View\":\"Vedi\",\"Waiting For Finalize\":\"In attesa di finalizzazione\",\"Waiting for signature\":\"In attesa della firma\",\"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\":\"Attualmente, su questo portale non offriamo servizi IOSS alle aziende con sede o stabilimenti fissi nell'UE. Per maggiori dettagli, contattaci all'indirizzo {{- contactEmail }}.\",\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\":\"Il completamento del questionario dovrebbe richiedere circa 20 minuti. Per rispondere a tutte le domande, ti suggeriamo di tenere a portata di mano i seguenti documenti:\",\"We look forward to helping you.\":\"Saremo lieti di aiutarLa.\",\"We will contact you in line with your language preference\":\"Sarà contattato/a in base alle Sue preferenze linguistiche\",\"Website link\":\"Collegamento sito Web\",\"Webstore link\":\"Link al web store\",\"Welcome\":\"Benvenuto\",\"Welcome to Guides and Tutorials\":\"Benvenuto alle Guide e ai Tutorial\",\"Welcome to the Frequently Asked Questions (FAQ)\":\"Qui può trovare alcune domande frequenti\",\"What is the estimated annual shipments which will be covered by IOSS?\":\"In quanto sono stimate le spedizioni annuali che saranno coperte da IOSS?\",\"What is your Amazon Seller ID?\":\"Qual è il Suo ID venditore su Amazon?\",\"What is your FedEx or TNT account number?\":\"Qual è il tuo numero di account FedEx o TNT?\",\"What type of clientele is your business aimed to?\":\"A che tipo di clientela è rivolta la sua attività?\",\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\":\"Quando si opera in un Paese in cui è richiesta la rappresentanza fiscale, è necessario nominare il Rappresentante fiscale fornito da KPMG.\",\"Where are the accounting records being kept?\":\"Dove vengono tenuti i registri contabili?\",\"Why you don't want to renew?\":\"Perché non vuoi rinnovare?\",\"Will you carry out intra-community acquisitions in France?\":\"Ha intenzione di effettuare acquisti intracomunitari in Francia?\",\"Will you carry out intra-community supplies from France?\":\"Ha intenzione di effettuare cessioni intracomunitarie dalla Francia?\",\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\":\"Conserverà giacenze in un magazzino francese? Ha intenzione di effettuare vendite da un magazzino francese ad aziende registrate ai fini IVA in altri Stati membri dell'UE?\",\"Without the country code prefix.\":\"Senza il prefisso del Paese.\",\"Wrong excel format\":\"Formato Excel errato\",\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\":\"Formato del modello errato. Si prega di utilizzare il modello più aggiornato. Assicurati di non cambiare le intestazioni (L'intestazione attesa nella colonna {{column}} è '{{val}}').\",\"Year\":\"Anno\",\"Yearly\":\"Annuale\",\"Yes\":\"Sì\",\"You already have an account. Please sign in\":\"Hai già un account. Si prega di accedere al portale.\",\"You already have an account? Please\":\"Possiede già un account? \",\"You are required to declare SAF-T data. You can download the template below and with adding necessary fields please upload it back.\":\"È necessario riportare i dati SAF-T. Si prega di scaricare il modello qui sotto. Dopo aver compilato i campi necessari si prega di caricarlo di nuovo.\",\"You can find the registration number on the Certificate of Incorporation document of your business.\":\"Il numero di registrazione è reperibile nelle visure camerali dell'azienda.\",\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\":\"Avete una o più transazioni la cui base imponibile supera il limite di 150 EUR. Se il valore della merce venduta (escluse le spese di spedizione e l'IVA) è effettivamente superiore, ignori questo messaggio e proceda a caricare i dati, queste transazioni saranno escluse dalla sua dichiarazione IOSS. Tuttavia, se il valore della merce (escluse le spese di spedizione e l'IVA) non è inferiore al limite di 150 EUR, e lo supera solo perché le spese di spedizione sono incluse, è necessario annullare questo caricamento di dati, includere le spese di spedizione in una riga separata e ricaricare i dati. Si prega di fare riferimento alla nostra guida al modello di dati IOSS se avete domande.\\n\",\"You have one pending order in progress\":\"Hai un ordine in sospeso in corso\",\"You have successfully registered\":\"Registrazione completata con successo\",\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\":\"A breve riceverai un'e-mail di benvenuto dal tuo account manager KPMG dedicato; non esitare a contattarlo per eventuali domande.\",\"Your account is locked out for {{min}} minutes. Please contact our support team.\":\"Il tuo account è bloccato. Contatta il servizio di assistenza.\",\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\":\"Il tuo indirizzo email è stato cambiato. Per finalizzare il cambiamento, fai il logout e accedi di nuovo usando il tuo nuovo indirizzo email.\",\"ZeroRated\":\"Aliquota zero\",\"expired\":\"Scaduto\",\"expires\":\"Scade\",\"freq-notification-confirmation\":\"\",\"freq-notification-confirmation-affect\":\"\",\"fx-legal\":\"Le informazioni fornite non costituiscono, né sono destinate a costituire, una consulenza legale e/o fiscale; tali informazioni hanno solo uno scopo informativo generale. Queste informazioni potrebbero non costituire le più aggiornate informazioni di carattere legale o di altro tipo. Gli utenti di queste informazioni dovranno contattare il proprio consulente per ottenere consigli in merito a qualsiasi particolare questione legale e/o fiscale. Si declina espressamente ogni responsabilità riguardo alle azioni intraprese o non intraprese sulla base del contenuto di questo sito. Il contenuto di questo sito è fornito \\\"così com'è\\\" e non si garantisce che sia privo di errori.\",\"if-you-had-taxable-supplies\":\"Se in passato erano presenti forniture imponibili, selezionare la data in cui è stata effettuata la prima fornitura imponibile. Se non hai un obbligo di registrazione per il passato, ti consigliamo di selezionare una data futura a partire dalla quale desideri che il tuo numero di partita IVA sia valido (ad esempio il primo mese del prossimo trimestre).\",\"master-data-is-incomplete\":\"I dati anagrafici sono incompleti, alcuni codici SKU non hanno prezzo. Si prega di aggiungere i prezzi mancanti o di confermare ignorando la configurazione. Se non aggiunge questi prezzi mancanti, non saremo in grado di includere il valore dei movimenti dei suoi beni nelle dichiarazioni IVA e nei rapporti ESL, che possono innescare verifiche fiscali o portare a sanzioni, disattivazione VIES o cancellazione. Lei è l'unico responsabile delle conseguenze. Con la presente Le chiediamo di completare tutti i valori mancanti prima di procedere.\",\"order-compliance-extension-tooltip\":\"Select this if you want to renew your existing subscription.\",\"order-compliance-restart-tooltip\":\"Select this if you are switching from another service provider to us.\",\"order-compliance-restart-warning\":\"Warning! This will remove any previously saved settings from your account. If you wanted to renew an expiring subscription, please select NO and select 'Renew for one year' instead.\",\"pay-monthly-compliance-fee\":\"Please pay the monthly compliance fee by clicking the button below. You will be redirected to our partner’s website where you can set up your preferred payment method.\",\"refund-mode-confirm\":\"Once you confirmed, you cannot modify the mode of refund. The selected option will be the default setting for future VAT reporting.\",\"saft-acknowledgement-admin\":\"Confermo di aver incluso tutte le informazioni relative a SAF-T nel modello KPMG caricato.\",\"saft-acknowledgement-web\":\"Confermo di aver incluso tutte le informazioni relative a SAF-T nel modello KPMG caricato. Per qualsiasi domanda, consulta le nostre {{- link_start}}Guide ed Esercitazioni{{- link_end}}.\",\"sign in\":\"Accede\",\"submissionperiod-paymentstatuschange-acknowledge\":\"Lo stato del pagamento non è convalidato da KPMG, pertanto può essere utilizzato solamente per i propri scopi di monitoraggio. KPMG non si assume alcuna responsabilità per la correttezza delle informazioni lì fornito.\",\"total-number-of-incorrect-lines\":\"Total number of incorrect lines: {{num}}\",\"user-successfully-invited\":\"\",\"validation-column-header\":\"{{columnName}} (Column {{columnCode}})\",\"validation-constraint-not-fulfilled\":\"Constraint not fulfilled\",\"validation-data-cannot-be-empty\":\"La cella non può essere vuota\",\"validation-date-invalid\":\"La cella non può essere vuota o non valida (formato previsto: gg-mm-aaaa)\",\"validation-example\":\"See an example of the incorrect value: {{exampleValue}} (line {{rowNumber}}). Number of incorrect lines: {{total}}\",\"validation-invalid-data\":\"Dati non validi\",\"validation-ioss-incorrect-transaction-date\":\"Data della transazione non corretta. Non è possibile segnalare transazioni prima del 1. Luglio 2021 tramite IOSS\",\"validation-ioss-invalid-currency\":\"Devi usare il codice ISO della valuta a 3 lettere\",\"validation-ioss-invalid-departure-country\":\"Deve essere al di fuori dell'UE. Devi usare il codice ISO del paese a 2 lettere\",\"validation-ioss-invalid-destination-country\":\"Deve essere nell'UE + Irlanda del Nord. Devi usare il codice ISO del paese a 2 lettere\",\"validation-ioss-invalid-invoice-country\":\"Devi usare il codice ISO del paese a 2 lettere\",\"validation-ioss-invalid-transaction-type\":\"Deve essere Sale o Return\",\"validation-ioss-out-of-period-transactions\":\"I tuoi dati contengono una o più transazioni da un periodo precedente. Se volete correggere le dichiarazioni IOSS precedentemente inviate inviando nuove transazioni ora, potete ignorare questo messaggio e procedere con il caricamento. Tuttavia, se quella data è stata aggiunta per errore, dovete fermare il caricamento e correggere i vostri dati prima di procedere\",\"validation-ioss-wrong-taxable-basis-calculation\":\"{{columnName}} (Column {{columnCode}}): Taxable basis (Base imponibile) = Gross amount (Importo lordo) - VAT amount (Importo IVA) ({{taxableBasis}} != {{grossAmount}} - {{vatAmount}}).\",\"validation-ioss-wrong-vat-calculation\":\"{{columnName}} (Column {{columnCode}}): VAT amount (Importo IVA) = Taxable basis (base imponibile) * VAT rate (aliquota IVA) ({{vatAmount}} != {{taxableBasis}} * {{vatRate}}).\",\"validation-number-data-cannot-be-empty-or-invalid\":\"La cella non può essere vuota o non valida (formato previsto: Numero con separatore decimale ('.'), ad es: 21.5)\",\"validation-positive-number-invalid\":\"La cella non può essere vuota o non valida (formato previsto: numero non negativo, ad esempio: 435)\",\"validation-required-or-invalid\":\"La cella non può essere vuota o non valida\",\"validation-unsupported-currency\":\"Questa valuta non è supportata. Contattaci all'indirizzo {{- contactEmail}}.com per discutere della soluzione\",\"validation-vat-countryofcustomer-invalid-fc-transfer-customer-and-shipping-country-neq\":\"Si prega di notare che un tipo di transazione FC_Transfer è possibile solo tra due diversi paesi dell'Unione Europea\",\"validation-vat-countryofcustomer-invalid-fc-transfer-valid-reg\":\"Si prega di notare che, secondo il nostro database, non si dispone di una partita IVA valida nel paese di partenza o nel paese di arrivo. Avere una partita IVA valida è obbligatorio per segnalare FC_Transfer.\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-customer-eq-reporting\":\"Si prega di notare che, per i tipi di transazione Inbound, il paese di dichiarazione IVA deve essere un paese dell'UE o della Gran Bretagna.\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-must-be-in-eu\":\"Si prega di notare che per i tipi di transazione Inbound, il paese di arrivo deve essere un paese dell'UE o la Gran Bretagna.\",\"validation-vat-decimalwrongformat\":\"\",\"validation-vat-out-of-period-transactions\":\"I tuoi dati contengono una o più transazioni di un periodo precedente. Se desideri correggere i resi IVA inviati in precedenza inviando ora nuove transazioni, puoi ignorare questo messaggio e procedere con il caricamento. Tuttavia, se i dati sono stati aggiunti per errore, è necessario interrompere il caricamento e correggere i dati prima di procedere\",\"validation-vat-partnername-invalid-registered-business\":\"Si prega di notare che il nome del partner può contenere solo lettere dell'alfabeto inglese\",\"validation-vat-partnername-is-required-registered-business\":\"Si prega di notare che se si sceglie \\\"VAT Registered/Business\\\", è necessario fornire il numero di partita IVA e il nome registrato del partner\",\"validation-vat-taxablebasis-invalid-inbound-or-outbound-vat-values-correspond\":\"Si prega di notare che, per i tipi di transazione Inbound, l'aliquota IVA, la base imponibile e l'importo dell'IVA devono corrispondere\",\"validation-vat-taxablebasis-invalid-sale-or-return-vat-values-correspond\":\"Si prega di notare che la base imponibile dovrebbe corrispondere all'aliquota IVA applicata e all'importo IVA calcolato. Le seguenti righe non sono corrette\",\"validation-vat-typeofpartner-invalid-fc-transfer-only-registered-business\":\"Si prega di notare che il tipo di partner per FC_Transfer può essere solo \\\"VAT Registered/Business\\\"\",\"validation-vat-typeofpartner-invalid-inbound-or-outbound-only-registered-business\":\"Si prega di notare che per i tipi di transazione Inbound, il tipo di partner deve essere \\\"VAT Registered/Business\\\".\",\"validation-vat-typeofsale-invalid-only-goods\":\"Si prega di notare che il tipo di vendita (Type of Sale) per FC_Transfer può essere solo Merci (Goods).\",\"validation-vat-vatamount-invalid-sale-or-return-vat-values-correspond\":\"Si prega di notare che la base imponibile dovrebbe corrispondere all'aliquota IVA applicata e all'importo IVA calcolato. Le seguenti righe non sono corrette\",\"validation-vat-vatnumber-invalid-countrycodeprefix\":\"\",\"validation-vat-vatnumber-invalid-inbound-or-outbound\":\"Si prega di notare che per le transazioni Inbound, il numero di partita IVA deve corrispondere al paese di spedizione.\",\"validation-vat-vatnumber-invalid-sale-or-return\":\"Si prega di notare che il numero di partita IVA deve iniziare con il codice del paese di arrivo.\",\"validation-vat-vatnumber-invalid-starts-with-two-letter\":\"Si prega di notare che il formato del numero di partita IVA dell'acquirente fornito non è corretto. Deve contenere anche il codice del paese\",\"validation-vat-vatrate-invalid-fc-transfer-cannot-be-null\":\"Si prega di notare che l'aliquota IVA fornita e il tipo di transazione non corrispondono. FC_Transfer deve essere riportato come inversione contabile, pertanto l'importo lordo deve essere calcolato con aliquota IVA\",\"validation-vat-vatrate-invalid-inbound-or-outbound-cannot-be-null-except\":\"\",\"validation-vat-vatrate-invalid-vat-reporting-country\":\"Si prega di notare che l'aliquota IVA applicata non è possibile nel paese di dichiarazione IVA fornito(line {{rowNumber}})\",\"validation-vat-vatrate-is-required-inbound-or-outbound-when-taxable-basis\":\"Si ricorda che per le transazioni Inbound l'aliquota IVA e la base imponibile devono corrispondere\",\"validation-vat-vatrate-is-required-sale-or-return-when-taxable-basis\":\"Si prega di notare che la colonna dell'aliquota IVA è obbligatoria se si fornisce il valore NETTO (base imponibile) di una transazione\",\"validation-vat-vatreportingcountry-invalid-shipping-or-customer\":\"Si prega di notare che il Paese di dichiarazione IVA non può essere diverso dal Paese di partenza o dal Paese di arrivo.\",\"validation-vatrate-data-cannot-be-empty-or-invalid\":\"La cella non può essere vuota o non valida (formato previsto: Tra 1-27 (o 0) con separatore decimale ('.'), ad esempio: 21.5)\",\"validation-vatrate-invalid-destination-country\":\"Please note that the applied VAT rate is not possible in the provided Destination country (line {{rowNumber}})\",\"validation-wrong-exchange-rate\":\"Il tasso di cambio calcolato sembra essere sbagliato\",\"wrong-template-format\":\"Formato del modello errato. Si prega di utilizzare il modello più aggiornato. Assicurati di non cambiare le prime 3 righe dell'intestazione. Si prega di notare che il formato Strict OpenXml non è supportato.\",\"{{columnName}} ({{rowNumber}}): Data cannot be empty.\":\"{{columnName}} ({{rowNumber}}): La cella non può essere vuota.\",\"{{columnName}} ({{rowNumber}}): Invalid\":\"{{columnName}} ({{rowNumber}}): Invalido\",\"{{columnName}} ({{rowNumber}}): Not found\":\"{{columnName}} ({{rowNumber}}): Non trovato\",\"{{columnName}} ({{rowNumber}}): Wrong format\":\"{{columnName}} ({{rowNumber}}): Formato sbagliato\",\"Couldnt_find_answer\":\"Non riesce a trovare una risposta alla Sua domanda? Contattaci {{- link_first_part}}qui{{- link_second_part}}.\",\"faq_bank_account_register_vat_in_france_answer\":\"{{- a_paragraph_start}}Le imprese con sede nell'UE devono disporre di un conto bancario che supporti i pagamenti con addebito diretto SEPA B2B. Se non dispone di un conto corrente SEPA per l'addebito diretto B2B, l'autorità fiscale francese emetterà una penale su ogni bonifico bancario effettuato (di solito 60 EURO per bonifico). Per evitare tali penali dovrà aprire un nuovo conto corrente compatibile con il sistema francese di e-payment.{{- a_paragraph_end}}\",\"faq_bank_certificate_and_bank_details_answer\":\"{{- a_paragraph_start}}Se avete pagamenti eccedenti o importi IVA deducibili, alcune autorità fiscali potrebbero tentare di stornare tali importi. Qualora non abbia fornito le Sue coordinate bancarie o queste non siano chiare, l'autorità fiscale contatterà KPMG, ritardando così i tempi di elaborazione. L'attestazione bancaria dovrà contenere le seguenti informazioni: nome della banca, indirizzo della banca, nome del titolare del conto, indirizzo del titolare del conto, valuta, numero di conto, IBAN, BIC.{{- a_paragraph_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_answer\":\"{{- a_paragraph_start}}Secondo la legge spagnola, le persone fisiche/giuridiche che abbiano rapporti economici (attività) con il Paese, ma che non risiedono in Spagna, devono richiedere un numero di identità estera (NIE - Foreigner’s Identification Number) presso un consolato o un ufficio di rappresentanza spagnolo nel proprio Paese di residenza. Il numero NIE può essere richiesto presentando un modulo denominato EX-15. Maggiori informazioni sul modulo di richiesta NIE e EX-15 sono disponibili {{- link_start}}qui{{- link_end}}.{{- a_paragraph_end}}\",\"faq_companies_articles_and_association_answer\":\"{{- a_paragraph_start}}Per la registrazione nella maggior parte dei Paesi europei, l'autorità fiscale richiede un documento che specifichi l'organigramma, il capitale sociale (in termini di fondi, non di posizione geografica), nonché le informazioni relative agli amministratori e al legale rappresentante dell'azienda. Il documento è noto anche come Statuto o Atto Costitutivo.{{- a_paragraph_end}}\",\"faq_company_extract_for_uk_based_sole_trader_answer\":\"{{- a_paragraph_start}}As a sole trader in the UK, it can be more difficult to proof your status. We suggest obtaining a letter from either HM Revenue & Customs or your solicitor or accountant. They should provide you with a letter on their official headed paper indicating the following:{{- a_paragraph_end}}{{- a_list_start}}Your name and address{{- a_list_middle}}Your trading name{{- a_list_middle}}Explicit confirmation that you are a self-employed sole trader{{- a_list_end}}\",\"faq_company_extract_us_answer\":\"{{- a_paragraph_start}}A Company Extract or Business License (the name may vary by state) is essentially a document issued by the state in which the company was founded that certifies the legitimacy of the business, that it has been legally registered. It will typically include the company's date of incorporation.{{- a_paragraph_end}}\",\"faq_companys_legal_representative_answer\":\"{{- a_paragraph_start}}Il legale rappresentante è la persona che detiene il potere legale di agire per conto dell'azienda e che rappresenterà la sua azienda in qualsiasi questione fiscale. Per la registrazione è richiesto un documento societario che indichi chiaramente chi è il legale rappresentante.\\n{{- a_paragraph_end}}\",\"faq_companys_vat_certificate_us_answer\":\"{{- a_paragraph_start}}From the IRS. Tax authorities will require documentation from the IRS regarding the issuing of your company's Employer Identification Number (EIN).{{- a_paragraph_end}}\",\"faq_documents_while_filing_answer\":\"{{- a_paragraph_start}}È necessario specificare i dati della propria azienda; Le suggeriamo pertanto di tenere a portata di mano la visura camerale, lo statuto, il documento d'identità del rappresentante legale e un'attestazione bancaria dell'azienda.{{- a_paragraph_end}}\",\"faq_drivers_licence_as_valid_id_answer\":\"{{- a_paragraph_start}}La maggior parte dei Paesi europei richiede un documento d'identità del rappresentante legale. Questo può essere la carta d'identità, il passaporto o la patente di guida. Si ricorda che, per la registrazione online di un numero di partita IVA britannico, sono richiesti due documenti d'identità.\\n{{- a_paragraph_end}}\",\"faq_form_6166_apply_answer\":\"{{- a_paragraph_start}}US based clients are required to provide a 6166 form, issued by the IRS to complete the German registration. The 6166 form can be requested using an 8802 form that can be downloaded from the website of the IRS. Please note that the German Tax Authorities only accept original forms and the issuing time can take up to 3 months for this document. To obtain the form, please apply to the IRS. For more information, please click {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}\",\"faq_how_long_does_the_registration_take_answer\":\"{{- a_paragraph_start}}Se ha fornito tutte le informazioni e i documenti correttamente, potremo preparare il pacchetto di registrazione in un paio di giorni e inviarlo all'Autorità Fiscale competente.{{- a_paragraph_end}}\",\"faq_how_many_eoris_do_i_need_answer\":\"{{- a_paragraph_start}}I rivenditori nel settore dell'e-commerce hanno bisogno di un solo codice EORI e di fatto possono ottenerne soltanto uno. Il codice EORI può essere utilizzato in tutti gli stati membri dell'Unione Europea, per cui un solo codice è sufficiente e, qualora Le sia già stato attribuito, eventuali ulteriori richieste verranno respinte dalle autorità doganali. Le ricordiamo che, dopo la BREXIT, i venditori europei devono richiedere un codice EORI nel Regno Unito se vogliono importare merci in questo Paese. I venditori con sede nel Regno Unito devono invece richiedere un codice EORI nell'UE se vogliono importare merci nell'UE. {{- a_paragraph_end}}\",\"faq_notarisation_and_hague_apostille_meaning_answer\":\"{{- a_paragraph_start}}Alcuni istituti tributari europei esigono che i documenti aziendali e i moduli di registrazione siano \\\"autenticati e apostillati\\\" prima di poterli presentare alle autorità per la richiesta di registrazione ai fini IVA.{{- a_paragraph_middle}}Un documento autenticato da un notaio è un documento che porta la firma autenticata delle persone autorizzate o tenute a firmarlo e la firma di un notaio che assiste alla stipula, accompagnata dal suo sigillo notarile ufficiale. Se un istituto tributario lo richiede, il firmatario autorizzato dovrà rivolgersi ad un notaio (o farlo venire presso il proprio ufficio) e firmare i documenti richiesti in sua presenza. Il notaio certificherà i documenti dopo aver assistito alla firma.{{- a_paragraph_middle}}L'Apostille può essere definita come \\\"l'autenticazione di un documento per l'uso in un altro Paese\\\". L'Apostille conferma che la firma, il sigillo o il timbro apposti su un documento sono autentici, affinché siano accettati quando vengono presentati in un altro Paese dell'Unione Europea. L'Apostille viene allegata in modo permanente al documento, quindi viene utilizzato un meccanismo di goffratura, spesso chiamato sigillo o timbro per apostille, per imprimere sul documento uno stemma governativo.{{- a_paragraph_middle}}Di solito il notaio incaricato del servizio di testimonianza è in grado di predisporre anche l'Apostille.{{- a_paragraph_end}}\",\"faq_obtain_company_extract_for_uk_company_answer\":\"{{- a_paragraph_start}}Contact Companies House on 0303 1234 500 and request them to send a certified copy of your Certificate of Incorporation with the following additional information added:{{- a_paragraph_end}}{{- a_list_start}}Names of the company directors{{- a_list_middle}}Name of the company secretary{{- a_list_middle}}Company registered office{{- a_list_middle}}Issued share capital{{- a_list_middle}}Names of the shareholders{{- a_list_end}}{{- a_paragraph_start}}The above document will be issued for a certain amount. (Around GBP 20, or GBP 60 for a faster service){{- a_paragraph_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_answer\":\"{{- a_paragraph_start}}Il nostro ufficio è specializzato nell'Unione Europea; tuttavia, possiamo indirizzarLa ai nostri uffici KPMG locali in tali Paesi. Saranno lieti di preparare un'offerta per Lei e, in caso di accordo, di assisterLa nell'espansione della Sua attività.{{- a_paragraph_end}}\",\"faq_vat_certificate_for_uk_company_answer\":\"{{- a_paragraph_start}}This can be requested directly from HM Revenue & Customs on 0300 200 3700. You will need to quote your UK VAT registration number and the document will be posted to your registered address. Please note that it is possible to download a VAT certificate from the online portal where returns are submitted, however this will not be accepted by the tax authorities for VAT registration.{{- a_paragraph_middle}}If you are not registered for VAT in the UK, due to the fact that your sales are below the registration threshold, please let us know by email in advance and we will explain you what to do.{{- a_paragraph_end}}\",\"faq_vat_in_czech_republic_documents_quantities_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 copia originale della visura camerale {{- a_list_middle}}1 copia originale del certificato di attribuzione partita IVA (nel Paese di residenza){{- a_list_middle}}1 copia originale di un'attestazione bancaria che confermi le Sue coordinate bancarie, emessa dalla Sua banca{{- a_list_middle}}1 fotocopia di ogni documento di identità personale dei legali rappresentanti{{- a_list_middle}}La visura camerale, il certificato di attribuzione partita IVA e l'attestazione bancaria non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_middle}}È richiesta la traduzione giurata dei documenti. KPMG può occuparsene per conto Suo.{{- a_list_end}}\",\"faq_vat_in_france_documents_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 fotocopia della visura camerale{{- a_list_middle}}1 fotocopia del certificato di attribuzione partita IVA (nel Paese di residenza){{- a_list_middle}}1 fotocopia di un'attestazione bancaria che confermi le Sue coordinate bancarie{{- a_list_middle}}1 fotocopia dello Statuto (se disponibile){{- a_list_middle}}1 fotocopia di ogni documento di identità personale dei legali rappresentanti{{- a_list_middle}}La visura camerale, il certificato di attribuzione partita IVA e l'attestazione bancaria non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_end}}\",\"faq_vat_in_germany_documents_quantities_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 fotocopia della visura camerale{{- a_list_middle}}1 fotocopia del certificato di attribuzione partita IVA (nel Paese di residenza){{- a_list_middle}}1 fotocopia dello Statuto (se disponibile){{- a_list_middle}}1 fotocopia di ogni documento di identità personale dei legali rappresentanti{{- a_list_middle}}La visura camerale e il certificato di attribuzione partita IVA non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_end}}\",\"faq_vat_in_italy_documents_quantities_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 copia originale della visura camerale{{- a_list_middle}}1 copia originale del certificato di attribuzione partita IVA (nel Paese di residenza){{- a_list_middle}}1 fotocopia del documento di identità personale dei legali rappresentanti{{- a_list_middle}}La visura camerale e il certificato di attribuzione partita IVA non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_middle}}È richiesta la traduzione giurata dei documenti. KPMG può occuparsene a Suo nome.{{- a_list_end}}\",\"faq_vat_in_poland_documents_quantities_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 copia originale della visura camerale{{- a_list_middle}}1 copia originale del certificato di attribuzione partita IVA (nel Paese di residenza){{- a_list_middle}}La visura camerale e il certificato di attribuzione partita IVA non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_middle}}È richiesta la traduzione giurata dei documenti. KPMG può occuparsene a suo nome.{{- a_list_end}}\",\"faq_vat_in_spain_documents_quantities_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 copia originale della visura camerale autenticata e apostillata{{- a_list_middle}}1 certificato originale del numero di identità estera (NIE - Foreigner’s Identification Number) - solo per i singoli commercianti/privati!{{- a_list_middle}}La visura camerale e il certificato di attribuzione NIE non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_middle}}È richiesta la traduzione giurata dei documenti. KPMG può occuparsene a Suo nome.{{- a_list_end}}\",\"faq_vat_in_uk_documents_quantities_answer\":\"{{- a_paragraph_start}}Dovrà presentare i seguenti documenti:{{- a_paragraph_end}}{{- a_list_start}}1 fotocopia della visura camerale{{- a_list_middle}}1 fotocopia del certificato di attribuzione partita IVA (nel Paese di residenza){{- a_list_middle}}1 fotocopia di ogni documento di identità personale dei legali rappresentanti{{- a_list_middle}}La visura camerale e il certificato di attribuzione partita IVA non devono risalire a più di 3 mesi prima (alla data di presentazione del pacchetto di registrazione).{{- a_list_end}}\",\"faq_vat_with_fba_services_answer\":\"{{- a_paragraph_start}}Sì. Se immagazzina merci in un Paese europeo, Le sarà richiesto un numero di partita IVA. Tale numero è obbligatorio per legge.{{- a_paragraph_end}}\",\"faq_vies_in_spain_answer\":\"{{- a_paragraph_start}}Mentre la registrazione ai fini IVA in Spagna è un processo piuttosto rapido, l'attivazione di una partita IVA nel {{- link_start}}sistema VIES{{- link_end}} è più lunga e complessa. Dopo il rilascio del numero di partita IVA avvieremo la presentazione delle dichiarazioni e potrà pagare l'IVA in Spagna. L'attivazione deve essere richiesta separatamente e può essere ottenuta solo se si effettuano operazioni intracomunitarie. Ciò significa che sarà necessario presentare prima un elenco delle vendite EC in Spagna. Una volta presentato tale elenco sarà possibile inoltrare la proposta, che tuttavia verrà automaticamente rifiutata se ha debiti in sospeso, come ad esempio pagamenti dell'IVA, dichiarazioni IVA o sanzioni. Se la proposta viene rifiutata, dovrà essere presentata nuovamente ripetendo la procedura dall'inizio. Questa procedura richiede di norma 2-3 mesi.{{- a_paragraph_end}}\",\"faq_what_is_an_eori_number_answer\":\"{{- a_paragraph_start}}Il codice EORI identifica in modo univoco un'azienda all'interno dell'Unione Europea. Questo numero viene rilasciato quando si importano o esportano merci in entrata e in uscita dall'UE. Prima di iniziare a svolgere attività doganali all'interno dell'Unione Europea, le persone fisiche e giuridiche devono richiedere un codice EORI a un'autorità doganale nazionale.{{- a_paragraph_end}}\",\"faq_when_vat_issued_answer\":\"{{- a_paragraph_start}}Il tempo necessario per ottenere un numero di partita IVA varia da Paese a Paese. In genere, il numero di partita IVA viene attribuito entro 4-6 settimane dalla data di presentazione della documentazione richiesta all'autorità fiscale. Resteremo in contatto con le autorità fiscali per seguire lo stato di avanzamento della sua registrazione ai fini IVA e La terremo informata in caso di aggiornamenti. Di seguito è riportato un elenco della tempestica attuale per la registrazione ai fini IVA. Le suggeriamo di controllarlo periodicamente, in quanto le tempistiche vengono costantemente monitorate e aggiornate:{{- a_paragraph_end}}{{- a_list_start}}Francia: 7-9 settimane{{- a_list_middle}}Germania: 6-8 settimane{{- a_list_middle}}Spagna: 1-2 settimane (attivazione del VIES: 2-3 mesi){{- a_list_middle}}Italia: 4-6 settimane{{- a_list_middle}}Polonia: 4-6 settimane{{- a_list_middle}}Repubblica Ceca: 4-6 settimane{{- a_list_middle}}Regno Unito: 3-4 settimane{{- a_list_end}}\",\"faq_where_can_i_get_my_documents_apostilled_answer\":\"{{- a_paragraph_start}}Le Apostille possono essere apposte presso gli studi notarili nazionali certificati o dallo studio del notaio locale stesso. La Spagna non accetta una semplice autenticazione notarile ed è quindi necessaria un'ulteriore autenticazione/legalizzazione, ovvero l'apposizione di un'Apostille. Se il suo Paese non ha sottoscritto la Convenzione dell'Aia, La invitiamo a predisporre l'autenticazione dei documenti da parte di un notaio locale e a contattare il Consolato spagnolo del Suo Paese per richiedere la legalizzazione consolare.{{- a_paragraph_end}}\",\"faq_where_can_i_get_my_documents_notarized_answer\":\"{{- a_paragraph_start}}Firme e documenti possono essere autenticati per l'utilizzo all'estero da un notaio. Per autenticare un documento o una procura, è necessario recarsi presso un notaio (o avvocato) locale.{{- a_paragraph_end}}\",\"faq_which_countries_eori_number_is_best_to_have_answer\":\"{{- a_paragraph_start}}Per le aziende con sede nell'UE è preferibile disporre di un codice EORI nel Paese di costituzione, mentre per le aziende extra UE è preferibile disporre di un codice EORI per il Paese di maggiore importazione.{{- a_paragraph_end}}\",\"faq_who_is_the_beneficial_owner_answer\":\"{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} qualsiasi persona fisica che possieda o controlli {{- a_bold_start}}almeno il venticinque per cento delle azioni o dei diritti di voto{{- a_bold_end}} in una persona giuridica o in un’organizzazione senza personalità giuridica {{- a_bold_start}}direttamente o{{- a_bold_end}} - con le modalità di cui al comma 4 dell’articolo 8:2 della legge V del 2013 del Codice Civile (di seguito “Codice Civile”) - {{- a_bold_start}}indirettamente{{- a_bold_end}}, o che è in grado di esercitare un controllo effettivo sulla persona giuridica o organizzazione senza personalità giuridica con altri mezzi, se tale persona giuridica o organizzazione senza personalità giuridica non è quotata in un mercato regolamentato ed è soggetta a obblighi di comunicazione coerenti con la legislazione comunitaria o soggetti a norme internazionali equivalenti,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} qualsiasi persona fisica che eserciti un’influenza dominante su una persona giuridica o su un’associazione commerciale senza personalità giuridica come definita nel comma (2) della Sezione 8:2 del Codice Civile,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} qualsiasi persona fisica per conto della quale viene condotta un’operazione o che è in grado di esercitare un controllo effettivo sull’attività di un cliente con altri mezzi, nel caso di persone fisiche,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} nel caso di fondazioni:{{- a_paragraph_end}} {{- a_paragraph_start}}da) ove siano già stati determinati i futuri beneficiari, la persona fisica beneficiaria del venticinque per cento o più del patrimonio della fondazione,{{- a_paragraph_end}} {{- a_paragraph_start}}db) quando non sono ancora state determinate le persone che beneficiano della fondazione, la persona fisica nel cui interesse principale è costituita o opera la fondazione, o{{- a_paragraph_end}} {{- a_paragraph_start}}dc) la persona fisica che esercita il controllo sulla gestione della fondazione o esercita il controllo su almeno il venticinque per cento del patrimonio di una fondazione, e/o che è autorizzata a rappresentare la fondazione,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} nel caso di contratti di gestione fiduciaria di patrimoni:{{- a_paragraph_end}} {{- a_paragraph_start}}ea) il principale e il beneficiario effettivo di cui al paragrafo a) o b) di questo documento,{{- a_paragraph_end}} {{- a_paragraph_start}}eb) il fiduciario e il beneficiario effettivo di cui al paragrafo a) o b) di questo documento,{{- a_paragraph_end}} {{- a_paragraph_start}}ec) i beneficiari o la classe di beneficiari e il beneficiario effettivo di cui al paragrafo a) o b) di questo documento, inoltre{{- a_paragraph_end}} {{- a_paragraph_start}}ed) qualsiasi persona fisica che eserciti un controllo effettivo sul fondo fiduciario con altri mezzi, inoltre{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} in assenza della persona fisica di cui ai paragrafi a) e b), il dirigente della persona giuridica o dell’associazione imprenditoriale senza personalità giuridica;{{- a_paragraph_end}}\",\"faq_why_do_i_need_a_fiscal_representative_answer\":\"{{- a_paragraph_start}}Per le aziende che forniscono beni o servizi in Paesi europei esteri, potrebbe essere necessario registrarsi ai fini IVA come operatore IVA non residente. Alcuni Paesi consentono alle aziende con sede al di fuori dell'UE di registrarsi \\\"direttamente\\\" presso le autorità fiscali, senza dover nominare un rappresentante locale.{{- a_paragraph_middle}}Tuttavia, in determinate circostanze, le autorità fiscali richiedono all'azienda di nominare un rappresentante fiscale nel Paese di destinazione. Tale società dovrà essere registrata ai fini fiscali ed essere disposta ad agire in qualità di rappresentante locale dell'azienda, gestendo la presentazione di domande e documenti per conto di quest'ultima nei rapporti con le autorità fiscali.{{- a_paragraph_middle}}Nella maggior parte dei casi, il rappresentante fiscale sarà responsabile in solido per tutti i pagamenti IVA dell'azienda.{{- a_paragraph_middle}}Le autorità fiscali considerano il rappresentante fiscale come l'agente locale del commerciante straniero, il che comporta diversi obblighi di adempimento. Inoltre, se il rappresentante fiscale è responsabile in solido per le imposte del commerciante, è prassi del settore richiedere un deposito cauzionale o una garanzia bancaria a favore del rappresentante fiscale per mitigare i potenziali rischi nel caso in cui la società declini eventuali responsabilità.{{- a_paragraph_end}}\",\"faq_why_i_need_vat_number_answer\":\"{{- a_paragraph_start}}Le aziende che forniscono beni o servizi in una giurisdizione straniera con un regime IVA devono rispettare le norme in materia di IVA di tale Paese. In diversi casi vige per le aziende l'obbligo legale di registrarsi ai fini IVA nel Paese, in quanto svolgono un'attività commerciale imponibile. Tali attività comprendono:{{- a_paragraph_end}}{{- a_list_start}}Importazione di merci nel Paese per la vendita o la distribuzione{{- a_list_middle}}Acquisto e vendita di beni a livello locale{{- a_list_middle}}Vendita di beni a privati via Internet (possono essere applicate soglie di reddito){{- a_list_middle}}Immagazzinamento di merci in un magazzino{{- a_list_middle}}Organizzazione di eventi nel Paese (in particolare se l'ingresso a tali eventi è a pagamento){{- a_list_middle}}È responsabilità dell'azienda registrarsi ai fini IVA prima di avviare attività imponibili; una volta registrata, l'azienda dovrà rispettare gli obblighi di conformità e di comunicazione.{{- a_list_end}}\",\"faq_will_original_documents_be_returned_after_registration_answer\":\"{{- a_paragraph_start}}Questi documenti sono richiesti dalle autorità fiscali di ogni Paese e sono conservati dalle stesse. Pertanto, non potranno esserLe restituiti. Per permetterLe di tenere le copie originali, possiamo anche fornire all'autorità fiscale delle copie autenticate.{{- a_paragraph_end}}\",\"faq_wrong_registration_document_to_kpmg_answer\":\"{{- a_paragraph_start}}Le chiederemo di inviarci i documenti corretti. Se inviamo un pacchetto di registrazione con documenti errati (ad esempio, una fotocopia al posto dell'originale o documenti troppo vecchi), il processo di registrazione sarà ritardato e molto probabilmente rifiutato. {{- a_paragraph_end}}\",\"faq_wrong_registration_info_to_kpmg_answer\":\"{{- a_paragraph_start}}Se i dati da Lei forniti non sono precisi e corretti, il Suo account manager La contatterà per chiarire tutti i dettagli. Questo potrebbe prolungare i tempi necessari per preparare i documenti di registrazione. Se i dati che abbiamo inserito nei documenti di registrazione sono errati, l'Autorità Fiscale ci contatterà e non attribuirà alcun numero di partita IVA fino a quando tutte le informazioni non saranno precise e aggiornate.{{- a_paragraph_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_answer\":\"{{- a_paragraph_start}}Il Regno Unito ha lasciato il regime IVA dell'UE il 31 dicembre 2020. Allo stesso tempo, il Regno Unito ha ritirato l'agevolazione per le spedizioni di basso valore di 15 sterline e ha introdotto un nuovo regime IVA al punto vendita (simile al regime IOSS dell'UE) per le merci importate nel Regno Unito con un valore di spedizione non superiore a 135 sterline.{{- a_paragraph_middle}}Per le vendite ai consumatori dell'UE, i venditori residenti nel Regno Unito sono ora considerati come non residenti nell'UE. Dal 1° luglio 2021, per le vendite di beni idonei che saranno importati nell'UE potranno utilizzare l'IOSS UE come venditori non UE.{{- a_paragraph_end}}\",\"ioss_faq_currency_other_than_eur_answer\":\"{{- a_paragraph_start}}Nel caso in cui i beni venduti siano pagati in una valuta diversa dall'Euro, si dovrà sempre fare il calcolo al momento della fornitura per determinare se la vendita di beni può essere dichiarata ai sensi IOSS.{{- a_paragraph_middle}}Per evitare potenziali problemi all'importazione dovuti alle fluttuazioni del tasso di cambio, si consiglia di indicare sulla fattura che accompagna la spedizione il prezzo in Euro, come stabilito al momento dell'accettazione del pagamento.{{- a_paragraph_end}}\",\"ioss_faq_do_not_opt_into_ioss_answer\":\"{{- a_paragraph_start}}Come menzionato sopra, se non viene utilizzato IOSS, l'IVA è dovuta al momento dell'importazione della merce e deve essere riscossa dal dichiarante alla dogana, ad esempio FedEx, che riscuoterà il costo dell'IVA dal cliente o da te, a seconda dei termini di spedizione. Potrebbero essere dovute ulteriori spese di gestione. Un ulteriore onere di conformità all'IVA può sorgere anche se il venditore vende merci in termini DDP e agisce come importatore.{{- a_paragraph_middle}}Per le spedizioni gestite da FedEx, visita il sito fedex.com per ulteriori dettagli.{{- a_paragraph_end}}\",\"ioss_faq_eur_150_value_limit_answer\":\"{{- a_paragraph_start}}I beni di basso valore che si qualificano per IOSS sono beni in spedizioni il cui valore intrinseco all'importazione non supera i 150 Euro (eccetto i prodotti soggetti ad accise).{{- a_paragraph_middle}}Per valore intrinseco si intende il prezzo delle merci stesse quando vengono vendute per l'esportazione nell'UE. Il prezzo dovrà escludere i costi di trasporto e assicurazione (a meno che non siano inclusi nel prezzo e non siano indicati separatamente sulla fattura) ed escludere qualsiasi altra tassa e imposta che possa essere provata alle autorità doganali da qualsiasi documento pertinente.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_answer\":\"{{- a_paragraph_start}}I requisiti esatti per la registrazione IOSS non sono stati ancora pubblicati dalle autorità fiscali competenti. Ti invitiamo a visitare di nuovo questa pagina più avanti per ulteriori informazioni.{{- a_paragraph_middle}}KPMG progetterà un questionario che sarà disponibile sul portale per raccogliere da te le informazioni necessarie per la registrazione IOSS.{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_return_answer\":\"{{- a_paragraph_start}}Dopo aver effettuato con successo la registrazione, sarà possibile scaricare un modello di dati dal nostro portale. Dovrai fornirci i tuoi dati di vendita (inclusi i resi) relativi alle transazioni ammissibili nel modello richiesto su base mensile. KPMG preparerà la dichiarazione IOSS per permetterti di esaminarla.{{- a_paragraph_middle}}La dichiarazione IVA IOSS conterrà il valore totale dei beni venduti, la loro aliquota IVA e l'importo totale dell'IVA da pagare, suddiviso per ogni Stato membro dell'UE in cui i beni sono trasportati, nonché in termini di aliquote standard e ridotte.{{- a_paragraph_middle}}Dopo la tua approvazione, KPMG trasmetterà la dichiarazione.{{- a_paragraph_end}}\",\"ioss_faq_ioss_for_b2b_answer\":\"{{- a_paragraph_start}}No, IOSS può essere utilizzato solo per le vendite B2C di beni idonei.{{- a_paragraph_end}}\",\"ioss_faq_pay_tax_due_answer\":\"{{- a_paragraph_start}}La scadenza per questi pagamenti è la fine del mese successivo al mese di riferimento, corrispondente alla scadenza della dichiarazione. Avendo sede al di fuori dell'UE, sei registrato tramite un intermediario IVA. Dovrai effettuare un pagamento mensile dell'IVA dovuta come dichiarato nella dichiarazione IVA IOSS all'intermediario IVA almeno alcuni giorni lavorativi prima della scadenza del pagamento, come indicato. L'intermediario IVA effettuerà il pagamento allo Stato membro di registrazione per tuo conto.{{- a_paragraph_end}}\",\"ioss_faq_return_deadline_answer\":\"{{- a_paragraph_start}}Dovrai presentare una dichiarazione IOSS mensile alle autorità fiscali del Paese di identificazione (registrazione). La scadenza per la presentazione della dichiarazione IVA IOSS coincide con la fine del mese di calendario successivo al periodo di riferimento.{{- a_paragraph_end}}\",\"ioss_faq_return_goods_under_ioss_answer\":\"{{- a_paragraph_start}}Le merci restituite e spedite fuori dall'UE saranno idonee al rimborso dell'IVA. Ti invitiamo a fornire a KPMG le informazioni necessarie utilizzando il modello di dati; KPMG adeguerà la tua dichiarazione IOSS di conseguenza.{{- a_paragraph_end}}\",\"ioss_faq_who_to_contact_if_answer\":\"{{- a_paragraph_start}}Una volta che ti sei iscritto ai servizi KPMG, ti verrà assegnato un account manager KPMG dedicato che risponderà alle tue domande riguardanti la registrazione IOSS e il processo di conformità. Puoi contattare il tuo account manager via email o al telefono nelle seguenti lingue: inglese, tedesco, francese, spagnolo, italiano e cinese.{{- a_paragraph_end}}\",\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)_reporting)\":\"Se uno dei seguenti 3 campi è compilato, tutti e 3 devono essere compilati: Colonna U (Taxable basis_reporting), Colonna T (Gross amount_reporting), Colonna V (VAT amount_reporting)\",\"amazon_vat_rates_warning\":\"We will apply the VAT rates that is provided in the amazon data when available / We will use our default rates. After June-2021 KPMG must use the Amazon provided rates.\",\"contacts_message\":\"Per domande specifiche, scriva a {{- link_start}}{{- contactEmail}}{{- link_end}}.\",\"cookie_consent_description\":\"Questo sito Web utilizza i cookie per fornire le funzionalità del sito necessarie e migliorare la tua esperienza online. Utilizzando questo sito Web, accetti l'uso dei cookie come indicato {{- link_start}}nell'informativa sulla privacy online di KPMG{{- link_end}}.\",\"disabled_ioss_upload_for_this_month\":\"Non hai caricato i dati delle transazioni per questo mese. Dato che non è possibile presentare i resi IOSS retrospettivamente, il caricamento non è più possibile. Se hai registrato vendite in questo mese che devono essere segnalate tramite IOSS, devi aggiungere queste transazioni ai dati di origine di una prossima dichiarazione fiscale IOSS.\\n\",\"faq_bank_account_register_vat_in_france_question\":\"{{- q_start}}C'è qualcosa che dovrei sapere riguardo al mio conto bancario se voglio registrarmi per l'IVA in Francia? {{- q_end}}\",\"faq_bank_certificate_and_bank_details_question\":\"{{- q_start}}Perché è necessario fornire un'attestazione bancaria, assieme alle proprie coordinate bancarie?{{- q_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_question\":\"{{- q_start}}Cos'è il numero di identità estera (NIE - Foreigner’s Identification Number) in Spagna?{{- q_end}}\",\"faq_companies_articles_and_association_question\":\"{{- q_start}}Che cos'è lo Statuto Sociale e perché è necessario fornirlo?{{- q_end}}\",\"faq_company_extract_for_uk_based_sole_trader_question\":\"{{- q_start}}What is the Company Extract for an UK established sole trader?{{- q_end}}\",\"faq_company_extract_us_question\":\"{{- q_start}}What is the Company Extract in the US?{{- q_end}}\",\"faq_companys_legal_representative_question\":\"{{- q_start}}Chi è il legale rappresentante dell'azienda?{{- q_end}}\",\"faq_companys_vat_certificate_us_question\":\"{{- q_start}}Where can I obtain my company's VAT Certificate in the US?{{- q_end}}\",\"faq_documents_while_filing_question\":\"{{- q_start}}What documents do I need to have with me while filing the registration/questionnaire?{{- q_end}}\",\"faq_drivers_licence_as_valid_id_question\":\"{{- q_start}}La patente di guida rappresenta documento d'identità valido?{{- q_end}}\",\"faq_form_6166_apply_question\":\"{{- q_start}}What is Form 6166? What is it for and how can I apply?{{- q_end}}\",\"faq_how_long_does_the_registration_take_question\":\"{{- q_start}}Quanto dura il processo di registrazione?{{- q_end}}\",\"faq_how_many_eoris_do_i_need_question\":\"{{- q_start}}Quanti codici EORI sono necessari?{{- q_end}}\",\"faq_notarisation_and_hague_apostille_meaning_question\":\"{{- q_start}}Cosa significa \\\"autenticazione\\\" e cos'è un'Apostille, come prevista dalla Conferenza dell'Aia?{{- q_end}}\",\"faq_obtain_company_extract_for_uk_company_question\":\"{{- q_start}}Where can I obtain a company extract for an UK established company?{{- q_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_question\":\"{{- q_start}}KPMG può aiutarmi se desidero registrarmi negli USA, in Canada, in India, in Cina, in Messico, in Australia o in Giappone?{{- q_end}}\",\"faq_vat_certificate_for_uk_company_question\":\"{{- q_start}}Where can I obtain the VAT certificate of my UK established company?{{- q_end}}\",\"faq_vat_in_czech_republic_documents_quantities_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA nella Repubblica Ceca. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_in_france_documents_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA in Francia. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_in_germany_documents_quantities_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA in Germania. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_in_italy_documents_quantities_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA in Italia. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_in_poland_documents_quantities_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA in Polonia. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_in_spain_documents_quantities_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA in Spagna. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_in_uk_documents_quantities_question\":\"{{- q_start}}Desidero richiedere l'iscrizione ai fini IVA nel Regno Unito. Quali documenti aziendali devo presentare, in quale formato e in quali quantità?{{- q_end}}\",\"faq_vat_with_fba_services_question\":\"{{- q_start}}Se si utilizzano servizi FBA, occorre un numero di partita IVA?{{- q_end}}\",\"faq_vies_in_spain_question\":\"{{- q_start}}Cosa devo sapere sul processo di attivazione del VIES in Spagna?{{- q_end}}\",\"faq_what_is_an_eori_number_question\":\"{{- q_start}}Che cos'è il codice EORI?{{- q_end}}\",\"faq_when_vat_issued_question\":\"{{- q_start}}Se immagazzina merci in un Paese europeo, Le sarà richiesto un numero di partita IVA. Tale numero è obbligatorio per legge.{{- q_end}}\",\"faq_where_can_i_get_my_documents_apostilled_question\":\"{{- q_start}}Dove è possibile richiedere l'apposizione dell'Apostille sui documenti?{{- q_end}}\",\"faq_where_can_i_get_my_documents_notarized_question\":\"{{- q_start}}Dove è possibile rivolgersi per l'autentica dei documenti?{{- q_end}}\",\"faq_which_countries_eori_number_is_best_to_have_question\":\"{{- q_start}}Quale codice EORI di quale Paese è preferibile avere?{{- q_end}}\",\"faq_who_is_the_beneficial_owner_question\":\"{{- q_start}}Chi è il beneficiario effettivo? {{- q_end}}\",\"faq_why_do_i_need_a_fiscal_representative_question\":\"{{- q_start}}Perché dotarsi di un legale rappresentante?{{- q_end}}\",\"faq_why_i_need_vat_number_question\":\"{{- q_start}}Perché occorre un numero di partita IVA?{{- q_end}}\",\"faq_will_original_documents_be_returned_after_registration_question\":\"{{- q_start}}Chiedete i documenti originali: mi verranno restituiti una volta completata la registrazione?{{- q_end}}\",\"faq_wrong_registration_document_to_kpmg_question\":\"{{- q_start}}Cosa succede se fornisco documenti sbagliati a KPMG per la registrazione ai fini IVA?{{- q_end}}\",\"faq_wrong_registration_info_to_kpmg_question\":\"{{- q_start}}Cosa succede se le informazioni da me fornite a KPMG al momento della registrazione sono inesatte?{{- q_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_question\":\"{{- q_start}}Queste modifiche sono applicabili al Regno Unito ora che non fa più parte dell'UE?{{- q_end}}\",\"ioss_faq_currency_other_than_eur_question\":\"{{- q_start}}Il mio cliente paga in una valuta diversa dall'Euro; quale tasso di cambio devo utilizzare?{{- q_end}}\",\"ioss_faq_do_not_opt_into_ioss_question\":\"{{- q_start}}Cosa succede se si sceglie di non utilizzare IOSS?{{- q_end}}\",\"ioss_faq_eur_150_value_limit_question\":\"{{- q_start}}In che cosa consiste il limite di valore di 150 Euro?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_question\":\"{{- q_start}}Quali informazioni devo fornire a KPMG per la registrazione IOSS?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_return_question\":\"{{- q_start}}Quali informazioni devo fornire a KPMG per la dichiarazione IOSS{{- q_end}}\",\"ioss_faq_ioss_for_b2b_question\":\"{{- q_start}}Posso utilizzare IOSS per le transazioni B2B?{{- q_end}}\",\"ioss_faq_pay_tax_due_question\":\"{{- q_start}}Come posso pagare l'imposta dovuta e qual è il termine di pagamento?{{- q_end}}\",\"ioss_faq_return_deadline_question\":\"{{- q_start}}Qual è la scadenza della dichiarazione?{{- q_end}}\",\"ioss_faq_return_goods_under_ioss_question\":\"{{- q_start}}Come posso restituire le merci nell'ambito dello schema IOSS?{{- q_end}}\",\"ioss_faq_who_to_contact_if_question\":\"{{- q_start}}Se ho una domanda, a chi devo rivolgermi?{{- q_end}}\",\"fedex_cross_border_hint\":\"Clienti transfrontalieri FedEx: Utilizzate il vostro numero di conto a 6 cifre + aggiungete 'FXCB'\",\"forgot_pw_resend\":\"Se non ha ricevuto l'e-mail di ripristino, faccia click {{- link_start}}qui{{- link_end}} per riceverla di nuovo oppure ci contatti all'indirizzo {{- contactEmail}}\",\"login_disclaimer\":\"Accedendo o creando un profilo, accetti le nostre {{- link1_start}}Condizioni Generali di Contratto{{- link1_end}} e {{- link2_start}}l'Informativa sulla Privacy{{- link2_end}}.\",\"register_welcome_text\":\"Grazie per la visita. Le ricordiamo che questa piattaforma è accessibile solo su invito. Se non ha ricevuto alcun invito però desidera registrarsi a KPMG, può trovare maggiori informazioni sulle nostre offerte per i venditori del Marketplace {{- link_start}}qui{{- link_end}}.\",\"validation-vat-vatrate-is-required-sale-or-return-when-vat_amount\":\"Si prega di notare che la colonna dell'aliquota IVA è obbligatoria se si fornisce l'importo IVA di una transazione\"}","module.exports = {\"(Empty)\":\"(空)\",\"A bank statement showing your bank account information (if appropriate)\":\"显示您银行账户信息的银行声明(如适用)\",\"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\":\"请您的银行开具一份证明文件,包含:银行名称,银行地址,开户人姓名,开户人地址,账户号码,IBAN,SWIFT 号,币种\",\"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\":\"股票代码或股票号是一个缩写,用于标识特定股票市场上公开交易的特定股票。股票代码可能由字母、数字或两者的组合而组成。\",\"Abandoned\":\"已取消\",\"Access denied\":\"拒绝访问\",\"Accounting office\":\"会计记录用于编制财务报表或与审计和财务审查相关的\",\"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\":\"会计记录用于编制财务报表或与审计和财务审查相关的记录所涉及的所有文件和账簿或记录。\",\"Acknowledge\":\"确认\",\"Acknowledgement\":\"\",\"Actions\":\"审核申报\",\"Active\":\"有效\",\"Active tier:\":\"使用中的级别:\",\"Active tier: \":\"使用中的级别:\",\"Add\":\"添加\",\"Add New Country\":\"添加新的国家\",\"Add SKU\":\"添加SKU\",\"Add current or previous IOSS number\":\"添加现有或曾有IOSS号码\",\"Add new Beneficial Owner\":\"添加新的受益所有人\",\"Add new Business Owner\":\"添加新的公司所有人\",\"Add new Fixed Establishment\":\"添加新的固定经营场所\",\"Add new VAT ID\":\"添加新的VAT号码\",\"Add new authorized signatory\":\"添加新授权签字人\",\"Add new turnover\":\"添加新的营业额\",\"Add the OSS registration number\":\"添加OSS注册号码\",\"Add the address of the previous fiscal representative in France\":\"添加法国前财务代理的地址\",\"Add the effective date of OSS registration\":\"添加OSS注册生效日期\",\"Additional Services\":\"额外服务\",\"Address\":\"地址\",\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\":\"所使用的亚马逊德国仓库的地址(请填写街道名称,门牌号,城市,邮编)\",\"Agree\":\"同意\",\"All\":\"所有\",\"Amazon SKUs\":\"亚马逊 SKUs\",\"Amazon Seller account name\":\"亚马逊卖家账户名称\",\"Amazon invoicing services before 2021 July\":\"2021年7月以前的亚马逊发票服务\",\"Amount\":\"金额\",\"Amount must be greater than or equal to zero.\":\"金额必须大于或等于0.\",\"Amount of capital in EUR\":\"注册资本(欧元)\",\"An error has occured during email verification.\":\"电子邮件验证过程中发生错误。\",\"Apostille\":\"海牙认证\",\"Approval due\":\"审核截止日期\",\"Approve\":\"同意\",\"Approve draft\":\"批准草稿\",\"Approved\":\"已完成\",\"ApprovedByClient\":\"客户同意申报\",\"Are you making already taxable supply in France?\":\"您是否在法国已经有应纳税供应?\",\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\":\"您是否计划在其他欧盟国家向有税号的公司购买货物并且将货物存放在法国的仓库?\",\"Are you sure to delete?\":\"是否确定删除?\",\"Are you sure to revoke access to this company?\":\"是否确认撤回该公司的登录权限?\",\"Are you sure you want to change client invoicing?\":\"是否确认要关闭改客户的开具发票功能?\",\"At least one country must be selected\":\"请至少选择一个国家\",\"Attach file\":\"\",\"Attachments uploaded successfully\":\"\",\"Authorized signatory\":\"授权签字人\",\"Automation\":\"自动化\",\"Automotive/Industrial\":\"汽车/工业\",\"Available credit\":\"剩余金额\",\"B2B\":\"B2B\",\"B2C\":\"B2C\",\"BIC\":\"BIC\",\"Bank Information\":\"银行信息\",\"Bank Transfer\":\"银行转账\",\"Bank account\":\"银行账户\",\"Bank account holder address\":\"银行账户持有人地址\",\"Bank account holder name\":\"银行账户持有人姓名\",\"Bank address\":\"银行地址\",\"Bank name\":\"银行名称\",\"Banking Information\":\"银行信息\",\"Banking information for the VAT payment in Germany\":\"缴纳德国VAT税金的银行信息\",\"Beauty/Health\":\"美容/健康\",\"Beneficial Owner\":\"受益所有人\",\"BiMonthly\":\"每两个月\",\"Billing documents\":\"账单文件\",\"Birth date\":\"出生日期\",\"Birth info\":\"出生信息\",\"Birth name (if different)\":\"出生姓名(如有所不同)\",\"Birthdate\":\"出生日期\",\"Books/Audio\":\"书籍/音频\",\"Both\":\"两者都是\",\"Business Details\":\"业务细节\",\"Business Owners\":\"企业所有人\",\"Business details\":\"业务细节\",\"Business incorporation documents (if appropriate)\":\"企业注册文件(如适用) \",\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\":\"在欧盟外的业务需要提供在成立国的税号证书\",\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\":\"在欧盟外的业务需要提供在成立国的税号\",\"CEO\":\"首席执行官\",\"Can't be later than the current month\":\"不可以晚于当前月份\",\"Can't be smaller than the original compliance start date\":\"不可以早于原始的申报开始日期\",\"Cancel\":\"取消\",\"Cancel draft\":\"取消草稿\",\"Cancelled\":\"已取消\",\"Cancelled at\":\"取消于\",\"Change Company Detail\":\"更改公司信息\",\"Change Language\":\"更换语言\",\"Change company detail\":\"更改公司详细信息\",\"Change email\":\"变更email\",\"Change email address\":\"变更邮箱地址\",\"Change item\":\"更改项目\",\"Check out the different categories to understand VAT compliance better.\":\"请点击不同的类别栏,更好地了解增值税的合规。\",\"Choose this if you do not have an EORI number in the UK, but you wish to import goods there. (Necessary after Brexit)\":\"如果您在英国没有EORI号,但您希望在那里进口货物,请选择此选项。(英国脱欧后必须选择)\",\"Citizenship\":\"公民身份\",\"City\":\"城市\",\"City of birth\":\"出生地\",\"Client Account\":\"客户账户\",\"Client Accounts\":\"账户管理\",\"Client id\":\"客户ID\",\"Client name\":\"客户名称\",\"Client source\":\"客户渠道\",\"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\":\"政治公众人物的密切关系人应包括: a) 任何已知与该政治公众人物共同拥有法人实体或非法人组织或任何其他密切业务关系的自然人 b) 对已知为政治公众利益而设立的法人实体或非法人组织拥有唯一实益所有权的任何自然人。\",\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\":\"Codice Fiscale.如果您曾在意大利居住过,就有一个意大利的财政代码。如果没有,不需要填写这一栏。\",\"Collectibles/Art/Stationary\":\"收藏品/艺术品/文具\",\"Commodity code\":\"海关编码\",\"Communicating with Tax Authorities\":\"联系税局\",\"Communicating with tax authorities\":\"联系税局\",\"Companies\":\"公司\",\"Company\":\"公司\",\"Company Name\":\"公司名称\",\"Company name\":\"公司名称\",\"Company not found\":\"公司不存在\",\"Completed\":\"已完成\",\"Compliance status\":\"服务状态\",\"Confirm\":\"确认\",\"Confirm Order\":\"确认订单\",\"Confirm Payment\":\"确认付款\",\"Confirm and Finalize\":\"确认完成\",\"Confirm and Generate Return\":\"完成并生成申报\",\"Confirm new password\":\"确认新密码\",\"Confirm order and pay with\":\"确认订单并付款\",\"Confirm rejection\":\"确认拒绝\",\"Confirm without Master Data setup\":\"确认无主数据设置\",\"Confirm without adding SAF-T data\":\"确认不添加 SAF-T 数据\",\"Confirmation\":\"确认\",\"Confirmed\":\"已确认\",\"Contact\":\"联系人\",\"Contact first name\":\"名\",\"Contact last name\":\"姓\",\"ContactAccountManager\":\"请在 {{- link_first_part}}此处{{- link_second_part}} 联系我们,讨论如何与我们签约 \",\"Contacting tax authorities\":\"与税局联系\",\"Contract Id\":\"合同编号\",\"Contract id\":\"合同ID\",\"Core Service\":\"核心服务\",\"Correspondence Address\":\"通讯地址\",\"Countries\":\"国家\",\"Country\":\"国家\",\"Country of birth\":\"出生地所在国家\",\"Country of incorporation\":\"企业注册国\",\"Country of registration\":\"注册国家\",\"Create Account\":\"创建账户\",\"Create Order\":\"创建订单\",\"Create your account\":\"创建您的账户\",\"Created Date\":\"创建日期\",\"Created date\":\"创建日期\",\"Currency\":\"币种\",\"Currency not found ({{id}})\":\"未找到该货币 ({{id}})\",\"Currently no IOSS or VAT service is available.\":\"目前无法提供IOSS或VAT服务。\",\"Data Upload\":\"数据上传\",\"Data Upload Finalized\":\"数据上传完成\",\"DataUploaded\":\"已上传\",\"DataVAT generated\":\"DataVAT已生成\",\"Date must be after {{date}}\":\"日期必须晚于 {{date}}\",\"Date must be before 2100-01-01\":\"日期须是2100-01-01之前\",\"Date must be before {{date}}\":\"日期必须早于 {{date}}\",\"Date must be bigger or equal than compliance period start date\":\"日期不能早于合规月份的开始日期\",\"Date must be bigger or equal than restart period start date\":\"日期不能早于合规月份的开始日期\",\"Date must be same or after {{date}}\":\"日期不能早于 {{date}}\",\"Date must be same or before {{date}}\":\"日期不能晚于 {{date}}\",\"Date must be smaller or equal than compliance period end date\":\"日期不能晚于合规月份的结束日期\",\"Date of incorporation\":\"公司成立日期\",\"Date of registration at the Commercial Register\":\"公司成立日期\",\"Declined\":\"失败\",\"Deduct all Refund\":\"抵扣所有退款交易VAT\",\"Default\":\"默认\",\"Default vat rate types successfully saved\":\"已成功保存默认增值税税率类型\",\"Delete\":\"删除\",\"Delete all services\":\"取消所有服务\",\"Deregistered\":\"\",\"Deregistration\":\"注销\",\"Deregistration date\":\"注销日期\",\"Deregistration in progress\":\"\",\"Desucla Errors\":\"代理错误信息\",\"Details\":\"详情\",\"Did you perform sales of goods and/or supplies of services before registering in Italy?\":\"在意大利税号注册之前,您是否有过销售商品或者提供服务的记录?\",\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\":\"贵司是否在意大利VAT税号下达之前就已经有销售?\",\"Director\":\"总监\",\"Disabled\":\"已禁用\",\"Distance sale threshold check\":\"远程销售阈值检查\",\"Distance sales above the threshold\":\"超过起征点的远程销售\",\"Do not agree\":\"不同意\",\"Do not choose this if you already have one EORI number in the EU.\":\"如果您已经注册过EORI号码,请不要选择此项,您的请求很有可能会被海关拒绝。\",\"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\":\"请不要混淆财务代理和您的VAT合规服务商。法国的财务代理是法国当地税务注册的代理公司。烦请您提供前财务代理的名称,以便KPMG可以为您指定新一任的财务代理。\",\"Do you have a Polish bank account?\":\"您有波兰银行账户吗?\",\"Do you have a Spanish bank account?\":\"贵司是否有西班牙银行账户?\",\"Do you have a VAT Number?\":\"是否有VAT税号?\",\"Do you have an office and employee(s) in Italy?\":\"在意大利是否有办公室或者受雇员工吗?\",\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\":\"除了成立国的增值税号外,您在欧盟其他国家是否有增值税号码?\",\"Do you have any fixed establishment in the EU?\":\"在欧盟是否有固定的经营场所吗?\",\"Do you have current or previous IOSS number?\":\"贵司是否有或曾有IOSS注册号码?\",\"Document uploaded successfully\":\"文件上传成功\",\"Documents\":\"文件\",\"Documents signed\":\"文件已签署\",\"Documents uploaded successfully\":\"文件已成功上传\",\"Does the authorized signatory own more than 25% of the shares?\":\"授权签字人是否拥有超过 25% 的股份?\",\"Don't have account yet?\":\"需要新建账户?\",\"Download\":\"下载\",\"Download Contract\":\"下载合同\",\"Download Currencies\":\"下载币种\",\"Download IOSS Template\":\"下载IOSS数据模板\",\"Download PDF\":\"下载PDF\",\"Download SAF-T Template\":\"下载SAF-T模板\",\"Download SKUs\":\"下载SKUs\",\"Download VAT/OSS Template\":\"下载VAT/OSS模板\",\"Download proof\":\"下载证明\",\"Draft\":\"草稿\",\"Draft successfully approved\":\"草稿已成功批准\",\"Draft successfully cancelled\":\"草稿已成功取消\",\"Draft successfully saved\":\"草稿已成功保存\",\"Driving License\":\"驾驶证\",\"Due\":\"需支付\",\"E-filing\":\"电子申报\",\"E.g. Amazon, eBay, your own webshop, etc.\":\"例如亚马逊、eBay、独立站等\",\"EORI\":\"EORI\",\"EORI number application in the EU\":\"EORI号码在欧盟的注册\",\"EORI number application in the UK\":\"EORI号码在英国的注册\",\"ESL\":\"ESL\",\"ESL Frequency\":\"ESL申报频率\",\"EU VAT Number\":\"欧盟增值税号\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services.\":\"欧盟企业必须提供在成立国家的有效增值税号码,否则我们将对服务征收增值税。在欧盟外的业务需要提供在成立国的税务认证号码\",\"EU based businesses must provide a valid VAT ID in the country of establishment, otherwise we will charge VAT for our services. For non-EU established businesses this field is optional.\":\"欧盟企业必须提供在成立国家的有效增值税号码,否则我们将对服务征收增值税。对于非欧盟建立的企业,此字段是可选的。\",\"EU country where your goods are first imported to before selling to Germany\":\"货物销往德国之前,首次进口到达国(欧盟国家)\",\"Edit\":\"编辑\",\"Edit SKU\":\"编辑SKU\",\"Edit companies\":\"编辑公司\",\"Effective date of registration\":\"注册的生效日期\",\"Electronics/Computer/Office\":\"电子产品/电脑/办公\",\"Email\":\"电子邮箱\",\"Email already exists\":\"邮箱已使用\",\"Email change request sent to your new email address. Please check your new inbox\":\"变更邮箱的请求已经发送至您的新邮箱地址。请检查新邮件的邮件。\",\"Enabled\":\"已启用\",\"End Date\":\"结束日期\",\"Error\":\"错误\",\"Error occured\":\"出现错误\",\"ErrorAtTA\":\"\",\"ErrorReturnGen\":\"\",\"Est. Country type\":\"公司类型\",\"Estimated annual taxable supply (in EUR)\":\"预估的年度应税销售额(欧元)\",\"Estimated payable VAT in the first year in Germany (in EUR)\":\"第一年德国缴纳VAT预估(欧元)\",\"Estimated total profit in the first year in Germany (in EUR)\":\"第一年德国总销售额额预估(欧元)\",\"Exempt\":\"豁免\",\"Existing VAT numbers\":\"现有增值税号\",\"Exists\":\"已存在\",\"Expired\":\"已过期\",\"Expires\":\"到期\",\"Expiry date of the identification document\":\"身份证件有效期\",\"Extend by month\":\"按月续费\",\"Extent of ownership interest\":\"所有权权益范畴\",\"FAQ\":\"常见问题解答\\t\",\"Failed\":\"失败\",\"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\":\"政治人物的家庭成员包括政治人物的配偶或者同居伴侣、亲生子女和领养子女、继子女和寄养子女、亲生父母、养父母、继父母和养父母。\",\"Fashion/Accessories/Jewellery\":\"时装/配饰/珠宝\",\"Father's full name\":\"父亲的全名\",\"Feedback saved successfully\":\"您的反馈已保存成功\",\"Filing agent\":\"申报代理\",\"Filing extension\":\"延期申报\",\"Fill out the Questionnaire\":\"填写调查表\",\"Final position\":\"最终金额\",\"Finalize Upload\":\"完成上传\",\"Finalized\":\"完成\",\"First Name of Proprietor\":\"个体经营者名字\",\"First name\":\"名字\",\"Fiscal representation\":\"财务代理\",\"Fixed Establishments\":\"固定经营场所\",\"Fixed establishments\":\"固定经营场所\",\"Food/Grocery\":\"食品/杂货\",\"For information only\":\"仅供参考\",\"Forgot your password?\":\"忘记您的密码了吗?\",\"FourMonthly\":\"每四个月\",\"From\":\"从\",\"From which country do you purchase the goods that you will sell in France?\":\"在法国销售的货物是从哪些国家采购的?\",\"Full name\":\"全名\",\"GTU1\":\"供应酒精类饮料\",\"GTU10\":\"建筑物,构筑物和土地的供应\",\"GTU11\":\"与温室气体排放补贴有关的服务\",\"GTU12\":\"无形服务–仅在咨询,会计,法律,管理,教育或市场营销,与公司总部有关的服务,广告,市场研究和民意测验以及科学研究与开发领域的服务\",\"GTU13\":\"运输服务和仓库管理服务\",\"GTU2\":\" 消费税规定中提到的燃油供应\",\"GTU3\":\"供应润滑油,塑料润滑剂等\",\"GTU4\":\"根据消费税规定供应烟草制品,干烟草,电动卷烟用液体和创新产品\",\"GTU5\":\"供应/出售废物,废物类产品\",\"GTU6\":\"电子设备及其零件的供应以及此类设备的材料\",\"GTU7\":\"车辆和/或汽车零件的供应\",\"GTU8\":\"贵金属和普通金属的供应\",\"GTU9\":\"药品和医疗器械的供应-药品和特殊目的食品\",\"General VAT Advice\":\"一般增值税建议\",\"General VAT advice\":\"一般增值税建议\",\"Generate\":\"生成\",\"Generated\":\"文件已生成\",\"Getting started with KPMG\":\"开始与KPMG合作\",\"Global Services\":\"全球服务\",\"Go to Master Data/Amazon SKUs\":\"转到主数据/亚马逊 SKU\",\"Guides and Tutorials\":\"指导和教程\",\"Has decisive influence in the business\":\"对公司具有决定性影响\",\"Home country compliance\":\"成立国VAT合规\",\"Home/Garden/Tools\":\"家居/园艺/工具\",\"I Understand\":\"我接受\",\"I accept the Contract\":\"我同意合同内容\",\"I ask for and I explicitly consent to the following\":\"我要求并明确同意以下事项:\",\"I plan to move to a new service provider\":\"我计划转移去新的服务商\",\"I plan to stop trading and de-register for VAT\":\"我计划停止贸易和注销VAT税号\",\"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\":\"本人无条件同意KPMG匈牙利全球服务公司(KGSH)在代理我司向税务机关申请注册税号的情况下,处理和保存数据保护条款中列出或提及的我的个人数据,以及KGSH能够在将来的注册中使用这些数据,但保存期限最长不得超过此类数据的正式到期/失效时间或10年。\",\"IBAN\":\"IBAN\",\"IBAN of the Polish Bank\":\"波兰银行国际账户号码\",\"IBAN stands for International Bank Account Number. It’s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\":\"IBAN即国际银行账户号码。这是国际认可的号码,最多有34个字符和数字,这个号码可以帮助银行处理国际转账。如果您的银行不能提供IBAN,请提供您常用的账户号码\",\"ID\":\"ID\",\"IOSS\":\"IOSS\",\"IOSS Compliance & Registration\":\"IOSS 合规&注册\",\"IOSS Compliance Pay As You Ship\":\"IOSS合规按量收费\",\"IOSS Compliance Tier 1\":\"IOSS 合规第 1级\",\"IOSS Compliance Tier 2\":\"IOSS 合规第 2级\",\"IOSS Compliance Tier 3\":\"IOSS 合规 第3级\",\"IOSS Deregistration\":\"IOSS注销\",\"IOSS Number\":\"IOSS编号\",\"IOSS Registration\":\"IOSS注册\",\"IOSS Registration Related Questions\":\"IOSS注册与相关问题\",\"IOSS Registration and Compliance\":\"IOSS注册与合规服务\",\"IOSS data template\":\"IOSS数据模板\",\"IOSS deregistration\":\"IOSS注销\",\"IOSS registration\":\"IOSS注册\",\"IOSS take over\":\"IOSS转代理\",\"Id\":\"ID\",\"Id is taken\":\"ID被占用\",\"Identification\":\"认证文件\",\"Identification document\":\"身份证件\",\"Identification document number\":\"身份证件号码\",\"If the extent of ownership can be quantified.\":\"若所有权权益可以被量化\",\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\":\"如果不确定该如何回答有关问题,请通过{{- contactEmail}}与我们联系。\",\"If you will use Amazon FBA, add the address of the German FBA warehouse.\":\"如果您将使用亚马逊FBA,请添加德国FBA仓库的地址\",\"If your return does not contain any payable VAT, there is no action required from your end.\":\"如果您的申报表没有任何应付增值税,则您无需采取任何行动。\",\"Ignore and upload\":\"忽略\",\"In Progress\":\"进行中\",\"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG’s payment support service to ensure VAT payments and submissions are processed properly.\":\"在西班牙支付增值税必须要有西班牙的银行账户。当您选择西班牙时,您必须使用KPMG的支付服务以确保增值税能及时支付并提交申报。\",\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\":\"在注册当年,应纳税交易指您的本地销售或远程销售总共达到注册起征点\",\"In which country do you keep the goods that you will later sell in France?\":\"将在法国销售的货物存储在哪些国家?\",\"In which country was your FedEx or TNT account created?\":\"您的FedEx或TNT帐户是在哪个国家创建的?\",\"Incorrect transaction period. Transaction period cannot be after the reporting period.\":\"交易时期不正确。 交易时期不得晚于报告期。\",\"Individual\":\"个体经营\",\"Insufficient credit\":\"余额不足\",\"Intrastat\":\"Intrastat\",\"Intrastat Frequency\":\"Intrastat申报频率\",\"Intrastat In\":\"入境Intrastat\",\"Intrastat Out\":\"出境Intrastat\",\"Intrastat Report\":\"Intrastat申报\",\"Intrastat Report In\":\"入境Intrastat申报\",\"Intrastat Report Out\":\"出境Intrastat申报\",\"Intrastat Reporting\":\"Intrastat申报\",\"Intrastat in\":\"入境Intrastat\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report \\\"Out\\\" must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat是一种统计报告,它用于记录欧盟成员国内企业之间的货物贸易额。Intrastat出境报告只有从该国发出的货物达到一个明确的数额后才需要做申报。有关申报instrastat统计报告阈值的更多信息,请参阅我们的指南和教程。\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report Out must be submitted only when reaching a certain amount of dispatches of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat是一种统计报告,它用于记录欧盟成员国内企业之间的货物贸易额。Intrastat出境报告只有在出口该国的货物达到一个明确的数额后才需要做申报。有关申报instrastat统计报告阈值的更多信息,请参阅我们的指南和教程。\",\"Intrastat is a statistical report that records the trade volume of goods between members of the EU and businesses within them. Intrastat Report “In” must be submitted only when reaching a certain amount of arrivals of goods in that certain country. Check out our Guides and Tutorials for more information about the Intrastat reporting thresholds.\":\"Intrastat是一种统计报告,它用于记录欧盟成员国内企业之间的货物贸易额。Intrastat入境报告只有在到达该国的货物达到一个明确的数额后才需要做申报。有关申报instrastat统计报告阈值的更多信息,请参阅我们的指南和教程。\",\"Intrastat out\":\"出境Intrastat\",\"Intrastat threshold check\":\"Intrastat阈值检查\",\"Invalid\":\"无效的\",\"Invalid ({{-fieldName}})\":\"无效 ({{-fieldName}})\",\"Invalid Data\":\"数据无效\",\"Invalid VAT number, VAT will be charged for our services.\":\"您的VAT税号无效,我们的服务费用将征收增值税。\",\"Invalid data\":\"无效数据\",\"Invalid email format\":\"email地址无效\",\"Invalid state, please reload order\":\"状态无效,请重新刷新订单\",\"Invalid validation reports\":\"\",\"Invite Client\":\"邀请用户\",\"Ioss Compliance\":\"IOSS合规\",\"Is the authorized signatory the only director entitled to represent the company?\":\"授权签字人是唯一有权代表公司的董事吗?\",\"Is the beneficial owner a family member of the politically exposed person?\":\"受益人是否为政治公众人物的家庭成员?\",\"Is the beneficial owner a politically exposed person?\":\"公司受益人是否是政治敏感人物?\",\"Is the beneficial owner known to be a close associate of the politically exposed person?\":\"公司受益人是否与政治敏感人物是密切关系人?\",\"Is the correspondence address the same as the registered business address?\":\"联系地址和公司注册地址是否一致?\",\"Is the home address same as the registered business address?\":\"家庭地址和公司注册地址是否一致?\",\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\":\"公司是否在股票市场上市?\",\"Is your business registered for OSS?\":\"贵司是否已经注册OSS?\",\"It does not apply for the year of registration, only for previous years\":\"不适用于注册当年,仅适用于之前的年份。\",\"It looks like there is no account with this email address.\":\"没有找到使用该电子邮件地址的帐户。\",\"Italian fiscal code\":\"意大利的财政代码Codice Fiscale\",\"Item identifier\":\"识别码\",\"KG, GmbH & Co.Kg\":\"KG, GmbH & Co.Kg\",\"KPMG Global Services Hungary Ltd (Business Registration Number: 24350309-2-41), a Hungarian limited liability company, is a member firm of the KPMG network of independent member firms affiliated with KPMG International, a Swiss cooperative. All rights reserved.\":\"KPMG Global Services Hungary Ltd (24350309-2-41)., 是一家位于匈牙利的有限责任公司,是隶属于隶属于KPMG International(一家瑞典合作企业)的全球独立成员事务所组织的一个成员公司。版权归KPMG Global Services Hungary Ltd所有。\",\"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\":\"KPMG Global Services Hungary Ltd., 毕马威全球独立成员事务所组织的成员公司,隶属于毕马威国际有限公司(一家私人英国担保有限公司),版权所有。\",\"KPMG User Guides\":\"KPMG用户手册\",\"Kitchen/Dining\":\"厨房/餐厅\",\"LLP, GbR\":\"LLP, GbR\",\"Last Name of Proprietor\":\"个体经营者姓氏\",\"Last name\":\"姓氏\",\"Legal\":\"法律声明\",\"Legal Entity\":\"法律主体\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"法律主体:一般合伙人制、有限公司、有限合伙人制、有限合伙股份制\",\"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschränkt), Ε.Π.Ε., Ι.Κ.Ε. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (д.о.о.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, OÜ, SIA, UAB, SRL, ООД (OOD), ЕООД (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Société en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Società in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutafélag (slhf.)., Poland spółka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por acções.\":\"法律主体:一般合伙人制、有限公司、有限合伙人制、有限合伙股份制\",\"Legal status\":\"法定状态\",\"Loading\":\"加载中\",\"Local Tax Number Saved\":\"本地税号已保存\",\"Local VAT Number\":\"本地增值税税号\",\"Local tax number\":\"本地税号\",\"Logout\":\"退出\",\"Ltd, GmbH, B.V., Srl, Sprl, SA, OY, Sarl\":\"有限公司\",\"MWSAuthToken\":\"MWSAuthToken亚马逊数据密钥\",\"Main Data\":\"主数据\",\"Manage Services\":\"管理服务\",\"Manage services\":\"管理服务\",\"Managing User Accounts\":\"账户用户管理\",\"Manual upload\":\"手动上传\",\"Master Data\":\"主数据\",\"Master Data Setup\":\"主数据设置\",\"Master data\":\"主数据\",\"Master data is complete. Please submit data.\":\"主数据已完成。请完成提交。\",\"Max length: {{maxLength}}\":\"\\n最大长度\",\"Maximum {{max}} length\":\"最多可输入{{max}} 字符\",\"Merchant Id\":\"用户ID\",\"Middle\":\"中间税率\",\"Middle name (if any)\":\"中间名(如果有)\",\"Minimum {{min}} length\":\"最短需输入{{min}}字符\",\"Mode of Refund\":\"退款方式\",\"Monthly\":\"月度\",\"Monthly compliance end date must be bigger than compliance end date\":\"月度合规结束日期须晚于合规结束日期\",\"Monthly country compliance\":\"月度国家合规\",\"Mother's birth name\":\"母亲出生姓名\",\"Mr\":\"先生\",\"Ms\":\"小姐\",\"Music/Movies/Games\":\"音乐/电影/游戏\",\"Must be a valid email address\":\"必须是有效的邮箱地址\",\"Must be bigger than Start Date\":\"须晚于开始日期\",\"Must be lower than the first day of the compliance start month\":\"必须早于合规开始月的第一天\",\"Must be smaller or equal with the current or would-be compliance end date\":\"必须早于当前或下一期合规月分的最后一天\",\"Must contain the name of the business, registered address of business, name of authorized signatory.\":\"该文件必须包含公司名称、法定代表人名字、公司注册地址。\",\"N/A\":\"不适用\",\"Name\":\"名字\",\"Name at birth\":\"出生姓名\",\"Name of Authority keeping the Commercial Register\":\"工商登记的机构\",\"Name of previous fiscal representative in France\":\"前任法国财务代理的名称\",\"Name of the Polish Bank\":\"波兰银行的名称\",\"Name of the commercial register in the country of establishment\":\"在成立国的商业登记名称\",\"Name of the regulated stock market\":\"上市的股票市场名称\",\"Name of the respective Tax Authority in country of establishment\":\"在成立国注册时的税务局名称\",\"Name the Online Marketplaces where you sell\":\"所使用的在线销售平台的名称\",\"Nationality\":\"国籍\",\"Natural Person\":\"自然人\",\"New\":\"待续费/待合规\",\"New company\":\"新公司\",\"New email address\":\"新邮件\",\"New label\":\"新标签\",\"New password\":\"新密码\",\"New sign up\":\"新注册\",\"Next\":\"下一步\",\"No\":\"不\",\"No banking information is required to appoint KPMG as your tax agent in the selected countries\":\"您在选定毕马威作为已选择国家的税务代理时不需要提供银行信息。\",\"No business owner has been added yet.\":\"还没有添加公司所有人。\",\"No document generated\":\"无文件生成\",\"No existing VAT number is added yet\":\"尚未添加增值税号码\",\"No payment needed\":\"无需支付\",\"No result found\":\"未找到结果\",\"No turnover has been added yet.\":\"营业额还没有添加。\",\"None\":\"无\",\"Not Applicable\":\"不适用\",\"Not Available\":\"无法使用\",\"Not authenticated\":\"尚未认证\",\"Not exists\":\"不存在\",\"Not found\":\"查找失败\",\"Not to be submitted proof\":\"\",\"NotToBeSubmitted\":\"\",\"Notifications\":\"通知\",\"Number required\":\"需要数字\",\"OHG\":\"OHG\",\"OSS\":\"\",\"OSS Information\":\"OSS信息\",\"OSS compliance\":\"OSS 合规\",\"OSS deregistration\":\"OSS注销\",\"OSS registration\":\"OSS注册\",\"OSS take over\":\"OSS转代理\",\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\":\"OSS:一站式申报,简化远程销售的VAT申报,注册后只需在一个欧盟国的税务局申报远程销售\",\"Off\":\"关\",\"Ok\":\"是\",\"On\":\"开\",\"On your own\":\"记录所涉及的所有文件和账簿或记录。\",\"Only Latin characters are allowed\":\"只允许使用拉丁字符\",\"Order Details\":\"订单详情\",\"Order History\":\"订单历史\",\"Order Summary\":\"订单汇总\",\"Order does not confirmed yet.\":\"\",\"Order not found\":\"未找到订单\",\"Order successfully canceled\":\"订单取消成功\",\"Orders & Payments\":\"订单和支付\",\"Organizational Unit Without Legal Form\":\"没有法定形式的组织单位\",\"Other\":\"其他\",\"Other VAT Related Questions\":\"其他与VAT相关的问题\",\"Owner\":\"持有者\",\"Owner of the Bank account\":\"银行账户持有者\",\"Owner of the Polish Bank Account\":\"波兰银行账户持有者\",\"Owns at least 25% of the business or the voting rights\":\"拥有至少 25% 的公司股权或投票权\",\"Paid by client\":\"纳税人已支付\",\"Paid to TA\":\"已支付至税局\",\"Partnership\":\"合伙人制企业\",\"Passport\":\"护照\",\"Passport/ID of the legal representative of the business\":\"企业法定代表人的护照或身份证\",\"Password\":\"密码\",\"Password Recovery\":\"恢复账号密码\",\"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\":\"密码长度必须至少为8位,并包含以下四种字符中的任意三种:大写字符、小写字符、字母数字字符、特殊字符\",\"Password reset email sent. Please check your inbox.\":\"重置密码邮件已发至您的邮箱,请检查您的收件箱\",\"Password successfully reset\":\"密码重置成功\",\"Pay\":\"支付\",\"Pay As You Ship: €10 per month up to 5 packages, plus €2 per additional package\":\"按量收费: 每月10欧元,包含最多5个包裹。超过5个包裹,则每增加一个包裹2欧元\",\"Pay order\":\"支付订单\",\"Pay with\":\"付款方式\",\"Payment Status\":\"支付状态\",\"Payment due\":\"付款截止日期\",\"Payment proof\":\"付款凭证\",\"Payment proof successfully uploaded\":\"付款凭证上传成功\",\"Payment reference\":\"付款备注信息\",\"Payment status\":\"付款状态\",\"Payment status changed successfully\":\"付款状态更改成功\",\"Payment successful! We will redirect you in a few seconds.\":\"支付成功!页面将很快跳转。\",\"Payments\":\"付款\",\"Pending\":\"待办\",\"Period\":\"时期\",\"Person considered as beneficial owner\":\"受益所有人\",\"Personal Identity card\":\"身份证\",\"Phone\":\"电话\",\"Phone Number\":\"电话号码\",\"Please add at least one business owner.\":\"请添加至少一位企业所有人信息\",\"Please add at least one fixed establishment.\":\"请添加至少一个固定经营场所\",\"Please add the Polish bank details\":\"请添加波兰银行账户信息\",\"Please add the address where your accounting records are kept\":\"请提供贵司保存会计记录的地址\",\"Please add the address where your accounting records are kept.\":\"请提供贵司保存会计记录的地址。\",\"Please add the country calling code too (e.g. +86 for China, +49 for Germany, etc.)\":\"\\n请同时添加国家/地区电话代码(例如,中国+86,德国+49等)\",\"Please add the e-mail address where you received the invitation e-mail\":\"请添加邀请您的电子邮件地址\",\"Please add the home address\":\"请添加家庭住址\",\"Please attach a file that will help us understand why you think this return is incorrect.\":\"\",\"Please confirm your email address.\":\"请确认您的电子邮箱地址\",\"Please consult your account manager about the de-registration process and fees. Please note that you may be required to extend the services and continue submitting VAT returns until the de-registration is completed.\":\"请咨询您的客户经理了解注销流程和费用。 请注意,在注销成功完成之前,您可能需要延长服务并继续提交VAT申报表。\",\"Please contact your account manager via email to manage your services.\":\"请通过邮件联系您的客户经理管理您的服务\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), if everything is in order you must send them to our address by post.\":\"请下载此处列出的文件,打印后,由授权签字人签字,然后扫描并上传。我们将审核文件,之后这些文件需要邮寄原件给我们。\",\"Please download the document(s) listed here, print, have them signed by the authorized signatory, then scan and upload. We will review the document(s), you don't have to post them as we can proceed with the signed copies.\":\"请下载此处列出的文件,打印后,由授权签字人签字,然后扫描并上传。我们将审核文件,这些文件不需要邮寄,可以提供扫描件用于注册。\",\"Please enter a valid year.\":\"请输入有效的年份\",\"Please enter only the tax number without country prefix\":\"请仅输入税号,删除国家代码\",\"Please enter text\":\"请添加文字\",\"Please give a detailed reason for the rejection.\":\"烦请给出拒绝的详细理由。\",\"Please indicate the net value of the distance sales in Italy for each year.\":\"请提供意大利每年销售的不含税净值总额。\",\"Please note that any changes you made will be lost if you switch to another language.\":\"请注意,一旦转换语言,已经填好的信息将无法保存。\",\"Please note that your return will only be submitted if payment is received by the VAT intermediary before the submission deadline.\":\"请注意只有VAT代理收到您的VAT支付后,申报才可以在截止日期前被提交。\",\"Please provide a valid e-mail address\":\"请提供有效的邮箱地址\",\"Please provide a valid e-mail address.\":\"请提供有效的电子邮件地址\",\"Please select at least one company\":\"请选择至少一个公司\",\"Please select at least one reason\":\"请选择至少一个原因\",\"Please select the type of products you sell\":\"请选择您销售的产品类型\",\"Please upload VAT ID certificate in Italy\":\"请上传意大利的VAT税号证书\",\"Please upload a bank certificate confirming your banking detals\":\"请上传一份银行证明以确认您的银行信息\",\"Please upload an official certificate confirming your business activities\":\"请上传一份官方证明文件以确认您的业务经营信息\",\"Please upload the VAT ID certificate in the country of establishment\":\"请上传成立国的增值税证书(营业执照)\",\"Please upload the photocopy of the identification document\":\"请上传身份证复印件\",\"Please upload your Articles of Association\":\"请上传公司章程\",\"Please use only numbers.\":\"只能使用数字。\",\"Please use the link from the invitation email!\":\"请使用您收到邀请的电子邮件中的链接!\",\"PoA revoked\":\"\",\"Polish Bank Information\":\"波兰银行信息\",\"Polish Banking Information\":\"波兰银行信息\",\"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\":\"政治公众人物是指受委托履行重要公共职能的自然人,或者在此前一年内受委托履行重要公共职能的自然人。\",\"Position in free form\":\"职务\",\"Position in the company\":\"公司内职务\",\"Postal/Zip code\":\"邮编\",\"Preferred language\":\"首选语言\",\"Previous\":\"上一步\",\"Price\":\"价格\",\"Price must be lower\":\"价格不符\",\"Pricing\":\"价格\",\"Primary Vat Frequency\":\"VAT申报频率\",\"PrimaryVAT\":\"VAT申报\",\"Privacy\":\"隐私声明\",\"Processing\":\"处理中\",\"Product Id\":\"产品ID\",\"Province\":\"省\",\"Quarterly\":\"季度\",\"QuarterlyShifted1\":\"季度1\",\"QuarterlyShifted2\":\"季度2\",\"Rate type\":\"税率类型\",\"Read our guide how to automate transactions with Amazon:\":\"阅读我们的指南,了解如何与亚马逊实现交易自动化:\",\"Reason of Rejection\":\"拒绝的理由\",\"Reconfirm Upload\":\"重新确认上传\",\"Reduced\":\"低税率\",\"RefusedByClient\":\"客户拒绝申报\",\"Regenerate\":\"重新生成\",\"Register number of your business at the Commercial Register\":\"贵司工商登记的注册号\",\"Registration number\":\"注册号码\",\"Registration number of your business\":\"公司注册编号\",\"Reject\":\"拒绝\",\"Rejected\":\"\",\"Remove\":\"删除\",\"Renew Country\":\"续费\",\"Renew for one year\":\"续费一年\",\"Reopen\":\"重新开放\",\"Required\":\"必填的\",\"Required by post\":\"需要邮寄\",\"Required electronically only\":\"只需要电子扫描件\",\"Required if automated\":\"如果是自动的,则需要\",\"Required length: {{length}}\":\"所需长度:{length}\",\"Resend\":\"重新发送\",\"Reset Password\":\"重置密码\",\"Reset filters\":\"取消筛选\",\"Restart date must be bigger than or equal to compliance end date\":\"重新开始日期须不早于合规结束日期\",\"Retrospective\":\"追溯的\",\"Retrospective Return\":\"追溯申报\",\"Retrospective return\":\"追溯申报\",\"Return Library\":\"数据库\",\"Return and Refund\":\"退货和退款\",\"Return and Refund plus MFN\":\"非亚马逊配送的退货和退款\",\"Return cannot be submitted after submission due date\":\"无法在申报截止日期后提交该报表\",\"Return documents\":\"申报文件\",\"Return gen due\":\"申报生成日期\",\"Return to approved\":\"返回至已批准状态\",\"Return type\":\"申报类型\",\"ReturnGenerated\":\"申报已生成\",\"Revision\":\"修正\",\"Revoking PoA\":\"\",\"SAF-T\":\"波兰SAF-T\",\"SAF-T Compliance\":\"SAF-T合规\",\"SAF-T reporting\":\"SAF-T申报\",\"SAS\":\"SAS\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC.\":\"国际银行的SWIFT和BIC识别码是唯一的,以确保国际货币交易的正确性。您可以联系银行获取正确的SWIFT/BIC。\",\"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \":\"国际银行的SWIFT和BIC识别码是唯一的,以确保国际货币交易的正确性。您可以联系银行获取正确的SWIFT/BIC。\",\"SWIFT/BIC\":\"SWIFT/BIC\",\"SWIFT/BIC of the Polish Bank\":\"波兰银行SWIFT/BIC\",\"Save\":\"保存\",\"Saved successfully\":\"保存成功\",\"Saving\":\"保存\",\"Scope coverage\":\"涵盖范围\",\"Secondary Vat Frequency\":\"年度VAT申报频率\",\"SecondaryVAT\":\"年度VAT申报\",\"See FAQ for definition of beneficial owner\":\"受益人的定义请查看FAQ\",\"See FAQ for definition of beneficial owner.\":\"请从FAQ查看受益所有人的定义。\",\"Select New Tier\":\"选择新的级别\",\"Select additional services\":\"选择其他额外服务\",\"Select countries, where you would like to extend KPMG engagement by 1 year\":\"请选择您想要续费一年的国家。\",\"Select countries, where you would like to start KPMG engagement\":\"请选择您想交由KPMG负责合规的国家\",\"Select country\":\"选择国家\",\"Select the country of OSS registration\":\"请选择OSS注册国家\",\"Select the country where the warehouse is located where you keep your goods before selling in/to France\":\"请选择货物销往法国之前的存储国家\",\"Select the start date from when you want KPMG to submit your VAT returns.\":\"选择您希望毕马威提交申报的起始日期\",\"Select the type of legal entity\":\"选择法定主体类型\",\"Select the type of your business entity\":\"选择公司主体类型\",\"Selected companies\":\"已选择公司\",\"Self Revision / Retrospective Returns\":\"\",\"Self revision\":\"修正申报\",\"Seller Accounts\":\"卖家账户\",\"Seller account\":\"卖家账户\",\"Send email\":\"发送邮件\",\"Send invitation\":\"发送邀请\",\"Sent To Return Generation\":\"发送并生成报表\",\"Sent to TA\":\"已提交至税务机关\",\"SentToTA\":\"\",\"Service Renewal\":\"服务续费\",\"Service Selection\":\"选择服务\",\"Service detail\":\"服务详情\",\"Service expiration date\":\"服务到期日期\",\"Service expiration:\":\"服务截止于\",\"Service quality\":\"服务质量\",\"Service start date\":\"\",\"Services\":\"服务\",\"Set Password\":\"设置密码\",\"Share percentage\":\"股份占比\",\"Shareholder type\":\"企业主类型\",\"Show All\":\"显示所有内容\",\"Show inactive services\":\"显示非进行中的服务\",\"Show only missing data\":\"仅显示缺失数据\",\"Showing {{firstItem}}-{{lastItem}}\":\"显示 {{firstItem}}-{{lastItem}}\",\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\":\"显示 {{firstItem}}-{{lastItem}} {{itemCount}}\",\"Sign in\":\"登录\",\"Sign in to your account\":\"登陆您的帐户\",\"Signed\":\"完成签字\",\"Signed documents need to be uploaded\":\"需上传签字文件\",\"SixMonthly\":\"每六个月\",\"Sku\":\"SKU\",\"Sku already exists ({{id}})\":\"Sku 已存在 ({{id}})\",\"Sku not found ({{id}})\":\"未找到 Sku ({{id}})\",\"SkuId\":\"SKU\",\"Sole trader's first name\":\"个体经营者名字\",\"Sole trader's last name\":\"个体经营者姓氏\",\"Something went wrong\":\"出错了\",\"Source\":\"来源\",\"Spanish VAT Payment Service\":\"西班牙增值税支付服务\",\"Spanish bank account\":\"西班牙银行账户\",\"Specialist VAT Advice\":\"专家增值税建议\",\"Specialist VAT advice\":\"专家增值税建议\",\"Sporting goods/Outdoors\":\"体育用品/户外\",\"Standard\":\"标准税率\",\"Standard2\":\"标准税率2\",\"Start Date\":\"开始日期\",\"Start Questionnaire\":\"开始调查问卷\",\"Start date\":\"开始日期\",\"Start date of representation by KPMG\":\"毕马威代理的开始日期\",\"Start date of storing goods in Germany\":\"在德国开始存储货物的日期\",\"Started\":\"已开始\",\"Starting date of intrastat in\":\"入境Intrastat的开始日期\",\"Starting date of intrastat out\":\"出境Intrastat的开始日期\",\"Statement\":\"声明\",\"Status\":\"状态\",\"Status changed successfully\":\"状态已更新\",\"Status updated to:\":\"状态更新为:\",\"Status updated to: \":\"状态更新为:\",\"Street\":\"街道\",\"Street name\":\"街道名称\",\"Street number\":\"街道编号\",\"Sub-total\":\"小计\",\"Submission due\":\"提交截止日期\",\"Submission proof\":\"\",\"Submit\":\"提交\",\"Submitted\":\"已提交\",\"SubmittedByClient\":\"客户提交申报\",\"Subscribe\":\"\",\"Subtotal\":\"小计\",\"Successfully done\":\"成功完成\",\"Summary\":\"总结\",\"SuperReduced\":\"低税率\",\"SuperReduced2\":\"低税率2\",\"Tax\":\"税务\",\"Tax Identifier\":\"税号\",\"Tax certificate\":\"税务登记证\",\"Thank you for signing up for KPMG registration and compliance services.\":\"感谢您注册KPMG的合规服务。\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files.\":\"亚马逊增值税交易报告不包含非亚马逊配送交易的任何退货详情。如果选择了抵扣所有退款的选项,代表您接受税务机关可能会因抵扣增值税而产生审计的风险。或者,您可以在KPMG模板里提供MFN的抵扣数据。\",\"The Amazon VAT Transactions Report does not contain any details of the returns in case of MFN transactions. By selecting this refund option, you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit. Alternatively, MFN credit notes may be provided in the KPMG template files. \":\"亚马逊增值税交易报告不包含非亚马逊配送交易的任何退货详情。如果选择了抵扣所有退款的选项,代表您接受税务机关可能会因抵扣增值税而产生审计的风险。或者,您可以在KPMG模板里提供MFN的抵扣数据。\",\"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\":\"如果该企业与另一家毕马威公司签订了合同关系,且该合同关系受客户身份的约束,则上述信息可与该毕马威公司共享。\",\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\":\"该帐号显示无效。 请输入有效的FedEx或TNT帐号。\",\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\":\"授权签字人被正式授权代表公司签字并合法行事。请添加至少一名授权签字人。\",\"The below services are about to expire, please go to Services menu and extend your subscription. If you don’t want to extend these services, please leave a feedback.\":\"以下服务即将到期,请前往服务菜单延期您的订阅。若您不想延期这些服务,烦请留下您的反馈。\",\"The business has a natural person as beneficial owner\":\"该公司的受益所有人是自然人\",\"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\":\"追溯期的计算对于意大利注册文件的准备至关重要。您必须尽快向毕马威提供追诉期的交易数据。如无法提供,意大利增值税注册流程可能会被推迟。\",\"The client identification will have to be repeated if no agreement is given.\":\"如果无法同意协议,则必须重复客户身份验证。\",\"The e-mail address and password do not match.\":\"邮箱地址和密码不一致\",\"The executive officer of the business must be considered as the beneficial owner\":\"公司的最高执行者必须是公司的受益所有人\",\"The identification of the beneficial owner is an obligation set forth in the law for the purposes of preventing and combating money laundering and the financing of terrorism. Please add every beneficial owner.\":\"验证公司受益所有人是法律规定的一项义务,目的是防止和打击洗钱和资助恐怖主义。 请添加所有至少有 20% 股份占比的公司受益人。\",\"The last user of the company cannot be removed\":\"这是最后一个该公司账户的使用者,无法被移除\",\"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\":\"本地税号(Steuernummer),是德国税局签发给纳税人的识别号码。请不要混淆本地税号和VAT税号。本地税号被用作支付增值税时的付款备注。\",\"The materials available here cover multiple topics in a detailed way.\":\"这里提供的材料详细地涵盖了多个主题。\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated.\":\"这里显示的价格是根据您提供的数据信息计算得到的。 我们保留更改层级和根据您的实际出货量收取差价的权利。 如果您没有按时支付额外的费用,那么您的合同可能会被终止。\",\"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \":\"这里显示的价格是根据您提供的数据信息计算得到的。 我们保留更改层级和根据您的实际出货量收取差价的权利。 如果您没有按时支付额外的费用,那么您的合同可能会被终止。\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. By selecting DEDUCT ALL REFUND option, we deduct all refunds which happened in a given month and you accept the risk that the tax authorities may seek to challenge the VAT deduction in case of an audit.\":\"对于未退回货物的退款的增值税抵扣,KPMG无法判定其有效性。因此,通常情况下,只有退款匹配了退货且增值税抵扣范围明确的情况下,KPMG才会对增值税做抵扣。通过选择抵扣所有退款这一选项,我们会抵扣改月所有的退款交易,并且默认您接受税务机关可能针对抵扣的增值税产生审计的风险。\",\"The right to deduct VAT on refunds where the goods are not returned must be considered on a case by case basis and KPMG is unable to carry out this assessment. Therefore, by default, KPMG only deducts VAT where there is a matching return of goods and the VAT deductibility is clear. This is the default option we use for VAT compliance.\":\"对于未退回货物的退款的增值税抵扣,KPMG无法判定其有效性。因此,通常情况下,只有退款匹配了退货且增值税抵扣范围明确的情况下,KPMG才会对增值税做抵扣。这是我们VAT合规的默认选项。\",\"The two passwords must be the same.\":\"两次输入密码必须一致\",\"The value must match the required pattern\":\"必须符合限制条件\",\"The value must not match the required pattern\":\"不能符合显示限制条件\",\"There is no action required on your side.\":\"您无需采取任何行动。\",\"There is no file uploaded for the current revision. Please reupload the file.\":\"当前版本没有上传文件。请重新上传文件。\",\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\":\"这是亚马逊唯一的卖家标识符,通常是13-14个字符的代码,例如A123456789BCD\",\"This is an individual number in the commercial register document.\":\"这是工商登记文件上的编码。\",\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\":\"这仅是IOSS注册费。每月合规费用将另行收取。详细说明如下\",\"Ticker symbol of the listed entity\":\"上市企业的股票代码\",\"Tier 1: Up to 500 packages in a 12 month period\":\"第1级: 每年度(12 个月)不超过 500 个包裹\",\"Tier 2: Up to 2500 packages in a 12 month period\":\"第2级: 每年度(12 个月)不超们 2500 个包裹\",\"Tier 3: Unlimited packages in a 12 month period\":\"第3级: 每年度(12 个月)包裹数量不限\",\"Title\":\"称谓\",\"To\":\"到\",\"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\":\"首先,您需要在下一页填写卖家问卷表来提供您的详细业务信息。 我们需要这些信息开具发票以及提交注册,并以此将您设置为毕马威的客户。 必须完成每页的问卷内容,才能点击并进入下一页,您可以在最终提交问卷表之前核对您提供的所有信息。\",\"Total\":\"总计\",\"Total fee\":\"合计费用\",\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\":\"总费用包括注册费和您按需选择的级别对应的每月合规费用。\",\"Toys/Kids/Baby\":\"玩具/儿童产品/婴儿用品\",\"Trading name\":\"交易名称\",\"Trading name (If different from company name)\":\"交易名称(如果与公司名称不同)\",\"Transactional data\":\"\",\"Transactions\":\"交易\",\"Translation\":\"翻译\",\"Translation in progress\":\"翻译流程进行中\",\"Type\":\"类别\",\"Type at least 2 characters\":\"请至少输入 2 个字符\",\"Type at least two characters for either email or company\":\"邮箱地址或公司须输入至少2个字符\",\"Type of identification document\":\"身份证件类型\",\"Type of ownership interest\":\"所有权权益类型\",\"Under review\":\"正在审核中\",\"Unknown\":\"未知\",\"Unknown error occured\":\"产生未知错误\",\"Unsubscribe\":\"\",\"Update\":\"上传\",\"Upload\":\"上传\",\"Upload Amazon Transactions\":\"上传亚马逊交易\",\"Upload Failed\":\"上传失败\",\"Upload IOSS Transactions\":\"上传IOSS交易\",\"Upload In submission proof\":\"上传提交证明\",\"Upload Out submission proof\":\"上传提交证明\",\"Upload SAF-T data\":\"上传SAF-T数据\",\"Upload SKUs\":\"上传SKUs\",\"Upload Skus\":\"上传SKus\",\"Upload VAT Transactions\":\"上传增值税交易\",\"Upload file\":\"上传文件\",\"Upload finalized successfully\":\"上传成功\",\"Upload is forbidden for overdue periods. Please contact your account manager.\":\"\",\"Upload payment proof\":\"上传支付证明\",\"Upload processed\":\"上传已处理\",\"Upload proof\":\"上传证明\",\"Upload submission proof\":\"上传提交证明\",\"Upload successfully canceled\":\"上传已取消\",\"Uploaded successfully\":\"请确认您的上传\",\"Use Amazon's template to upload data\":\"使用亚马逊模板上传数据\",\"Use KPMG template to upload data\":\"使用KPMG模板上传数据\",\"VAT\":\"VAT\",\"VAT Compliance Settings\":\"增值税合规设置\",\"VAT Compliance Sign-up\":\"VAT合规注册\",\"VAT ID\":\"VAT ID\",\"VAT Number\":\"国家统一税务编码/增值税税号\\n\",\"VAT Number of country of incorporation\":\"注册国的增值税号码\",\"VAT Numbers\":\"VAT税号\",\"VAT Rates\":\"VAT税率\",\"VAT Registration\":\"VAT注册\",\"VAT compliance\":\"增值税合规\",\"VAT deregistration\":\"增值税注销\",\"VAT home country compliance\":\"成立国的VAT合规\",\"VAT monthly compliance\":\"VAT月度合规\",\"VAT registration\":\"VAT注册\",\"VAT registration certificate for your home country (if appropriate)\":\"公司成立国的增值税登记证书(如适用)\",\"VAT take over\":\"VAT转代理\",\"VLS\":\"VLS\",\"VLS Frequency\":\"VLS申报频率\",\"Valid from\":\"从此日期开始有效\",\"Validation errors\":\"验证错误\",\"Value must be between (inclusive): 0-100\":\"数值必须是0-100\",\"Value must be in list\":\"必须是列表中的数值\",\"Vat Compliance\":\"VAT合规\",\"Vat Numbers\":\"VAT税号\",\"Vat Rates\":\"VAT税率\",\"Vat Registration and Compliance\":\"VAT注册和合规\",\"View\":\"查看\",\"Waiting For Finalize\":\"等待完成\",\"Waiting for signature\":\"文件待签署\",\"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\":\"我们目前不通过此门户网站向在欧盟境内已建立或拥有公司实体的企业提供IOSS服务。 请联系{{- contactEmail }}了解更多详细信息。\",\"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\":\"完成此问卷大约需要20分钟,为了能够准确填写所有信息,我们建议您提前准备以下文件:\",\"We look forward to helping you.\":\"我们期待能够帮助你。\",\"We will contact you in line with your language preference\":\"我们会使用您的首选语言联系您\",\"Website link\":\"网站链接\",\"Webstore link\":\"网店链接\",\"Welcome\":\"欢迎\",\"Welcome to Guides and Tutorials\":\"欢迎查看指南和教程\",\"Welcome to the Frequently Asked Questions (FAQ)\":\"欢迎查看常见问题解答(FAQ)\",\"What is the estimated annual shipments which will be covered by IOSS?\":\"请预估将使用IOSS年出货量?\",\"What is your Amazon Seller ID?\":\"您的亚马逊卖家ID是?\",\"What is your FedEx or TNT account number?\":\"您的FedEx或TNT帐号是?\",\"What type of clientele is your business aimed to?\":\"贵司主要销售给哪些类型的客户?\",\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\":\"当您在某一国需要财务代理时,必须委派KPMG提供的财务代理。\",\"Where are the accounting records being kept?\":\"会计记录保存在哪里?\",\"Why you don't want to renew?\":\"您不想续订的原因是?\",\"Will you carry out intra-community acquisitions in France?\":\"您将在法国有欧盟内货物采购吗?\",\"Will you carry out intra-community supplies from France?\":\"您将在法国有欧盟内部货物供应吗?\",\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\":\"您未来是否会将货物存在法国的仓库? 您有计划从法国仓库将货物卖到其他欧盟国家有税号的企业吗?\",\"Without the country code prefix.\":\"没有国家代码前缀\",\"Wrong excel format\":\"错误的excel格式\",\"Wrong template format. Please use the most up to date template. Make sure you do not change the headers (Expected header in column {{column}} is '{{val}}').\":\"错误的数据模板。请使用最新的数据模板,并确保不改变1-3行的标题栏。({{column}}列的标题应当是 '{{val}}').\",\"Year\":\"年\",\"Yearly\":\"年度\",\"Yes\":\"是\",\"You already have an account. Please sign in\":\"已有账号,请登录\",\"You already have an account? Please\":\"您已经有账号了吗?\",\"You are required to declare SAF-T data. You can download the template below and with adding necessary fields please upload it back.\":\"您需要申报SAF-T数据。你可以下载以下模板,并添加必要的字段,将其重新上传。\",\"You can find the registration number on the Certificate of Incorporation document of your business.\":\"您可以在公司营业执照找到公司注册号码\",\"You have one or more transactions of which the taxable basis exceeds the EUR 150 limit. If the value of the goods sold (excluding shipping fee and VAT) is indeed higher, please ignore this message and proceed to upload the data, these transactions will be excluded from your IOSS return. However, if the value of the goods (excluding shipping fee and VAT) is not below the EUR 150 limit, and is only exceeds it because the shipping fee is included, you should cancel this data upload, include the shipping fee into a separate line and reupload the data. Please refer to our IOSS data template guide if you have any questions.\":\"我们检测到您有一笔或多笔交易的不含税净额超过了150欧元的阈值。如果商品的销售价格(包含运费及VAT)的确很高,请忽略掉这条信息并继续上传,这条交易会从您的IOSS申报中被自动移除。但是,如果销售价格(包含运费及VAT)高于150欧元的阈值,只是由于包含了运费而超过阈值,请您取消本次上传,将运输费用单独填写一行并重新上传数据。如果您有任何疑问,请参考我们的IOSS数据模板指南。\",\"You have one pending order in progress\":\"您有一个正在处理的订单\",\"You have successfully registered\":\"您已成功注册\",\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\":\"您很快就会收到来自您客户经理的电子邮件, 如果您有任何疑问,请随时与他/她取得联系。\",\"Your account is locked out for {{min}} minutes. Please contact our support team.\":\"您的账户已被锁定,将于{{min}}分钟后解锁。如需协助,请联系我们的团队。\",\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\":\"您的邮箱地址已更改成功,请退出登录并使用新邮箱地址登录后生效。\",\"ZeroRated\":\"零税率\",\"expired\":\"已到期\",\"expires\":\"到期\",\"freq-notification-confirmation\":\"\",\"freq-notification-confirmation-affect\":\"\",\"fx-legal\":\"所提供的信息不构成或无意构成法律和/或税务建议; 因此,此信息仅用于提供一般信息。 此信息可能不构成最新的法律或其他信息。 此信息的读者应联系自己的顾问,以获取有关任何特定法律和/或税务问题的建议。 特此声明,对于基于本网站内容所采取或未采取的措施,我们概不承担任何责任。 此发布内容按“当前状况”提供;并不表示内容无误。\",\"if-you-had-taxable-supplies\":\"如果您过去有含税交易,请选择第一笔含税交易发生的日期。如果没有追溯申报的义务,我们建议您选择一个将来的希望税号生效的日期。(例如,下个季度的第一个月)\",\"master-data-is-incomplete\":\"主数据不完整,部分 SKU 没有价格。 请设置或确认忽略设置。如果您不添加这些缺失的价格,自有商品的移动价值将无法被包含在增值税申报表和 ESL 申报表中,这可能会引发税务审计或导致罚金、VIES 停用或注销。 您将对此类后果承担全部责任。我们特此要求您在下一步之前填完所有缺失的价格。\",\"order-compliance-extension-tooltip\":\"Select this if you want to renew your existing subscription.\",\"order-compliance-restart-tooltip\":\"Select this if you are switching from another service provider to us.\",\"order-compliance-restart-warning\":\"Warning! This will remove any previously saved settings from your account. If you wanted to renew an expiring subscription, please select NO and select 'Renew for one year' instead.\",\"pay-monthly-compliance-fee\":\"请点击以下按钮支付月度合规费用。页面将跳转到付款页面以便您选择付款方式。\",\"refund-mode-confirm\":\"一旦您确认后,将不能再更改refund VAT抵扣的模式。您选择的模式将会是之后VAT申报的默认设定。\",\"saft-acknowledgement-admin\":\"我确认已经添加了所有SAF-T相关的信息至KPMG数据模板。\",\"saft-acknowledgement-web\":\"我确认已经添加了所有SAF-T相关的信息至KPMG数据模板。如果您有任何问题请查看协助指南。 {{- link_start}}指南和指导{{- link_end}}.\",\"sign in\":\"登录\",\"submissionperiod-paymentstatuschange-acknowledge\":\"VAT支付状态完全取决于纳税人的VAT支付进度,这里的状态仅用于您来记录支付进程。KPMG不对于这一支付状态的正确性承担责任。\",\"total-number-of-incorrect-lines\":\"Total number of incorrect lines: {{num}}\",\"user-successfully-invited\":\"用户邀请成功\",\"validation-column-header\":\"{{columnName}} (Column {{columnCode}})\",\"validation-constraint-not-fulfilled\":\"约束条件不满足\",\"validation-data-cannot-be-empty\":\"数据不能为空\",\"validation-date-invalid\":\"不可以留空或填写无效数据 (有效数据格式: 日日-月月-年年年年)\",\"validation-example\":\"See an example of the incorrect value: {{exampleValue}} (line {{rowNumber}}). Number of incorrect lines: {{total}}\",\"validation-invalid-data\":\"无效数据\",\"validation-ioss-incorrect-transaction-date\":\"交易日期错误。 您不能通过 IOSS 报告 2021 年 7 月 1 日之前的交易\",\"validation-ioss-invalid-currency\":\"必须填写3位字母国际标准货币代码\",\"validation-ioss-invalid-departure-country\":\"出发国必须填写欧盟以外国家。必须填写2位字母国际标准国家代码\",\"validation-ioss-invalid-destination-country\":\"到达国家必须在欧盟和北爱尔兰。必须填写2位字母国际标准国家代码\",\"validation-ioss-invalid-invoice-country\":\"必须填写2位字母国际标准国家代码\",\"validation-ioss-invalid-transaction-type\":\"交易类型必须是销售或退货\",\"validation-ioss-out-of-period-transactions\":\"我们检测到您有一笔或多笔交易来源于之前的月份。如果您想通过本次申报修正之前对应这笔交易的月份的IOSS申报,您可以忽略此条信息并继续上传。但是,如果是交易日期填写错误,请取消本地上传,修改数据为正确的日期然后继续上传\",\"validation-ioss-wrong-taxable-basis-calculation\":\"{{columnName}} (Column {{columnCode}}): Taxable basis/不含税净额 = Gross amount/含税总额 - VAT amount/增值税 ({{taxableBasis}} != {{grossAmount}} - {{vatAmount}}).\",\"validation-ioss-wrong-vat-calculation\":\"{{columnName}} (Column {{columnCode}}): VAT amount/增值税 = Taxable basis/不含税净额 * VAT rate/增值税税率 ({{vatAmount}} != {{taxableBasis}} * {{vatRate}}).\",\"validation-number-data-cannot-be-empty-or-invalid\":\"不可以留空或填写无效数据 (有效数据格式: 数字可以使用小数位分隔符 ('.'), 例如: 21.5)\",\"validation-positive-number-invalid\":\"不可以留空或填写无效数据 (有效数据格式: 必须是正数,不允许是负数, 例如: 435)\",\"validation-required-or-invalid\":\"不可以留空或填写无效数据\",\"validation-unsupported-currency\":\"不支持该币种。请发送邮件至{{- contactEmail}}联系我们,将为您提供解决方案\",\"validation-vat-countryofcustomer-invalid-fc-transfer-customer-and-shipping-country-neq\":\"请注意,FC_Transfer只能是发生在两个欧盟国家之间的交易。\",\"validation-vat-countryofcustomer-invalid-fc-transfer-valid-reg\":\"请注意,根据我们的数据库显示,贵司在交易的出发国或到达国没有有效税号,但是申报FC_Transfer必须同时持有两个国家的税号。\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-customer-eq-reporting\":\"请注意,Inbound交易的VAT申报国必须是EU国家或者英国。\",\"validation-vat-countryofcustomer-invalid-inbound-or-outbound-must-be-in-eu\":\"请注意,inbound交易的到达国必须是EU国家或者英国。\",\"validation-vat-decimalwrongformat\":\"\",\"validation-vat-out-of-period-transactions\":\"您提供的数据包含之前月份的交易。如果您希望通过现在提交新的交易数据更正之前已经提交过的申报,请忽略这个信息并继续上传。但是,如果数据添加错误请务必修正数据然后重新上传\",\"validation-vat-partnername-invalid-registered-business\":\"请注意Partner's Name交易对方的名字必须是英文字母构成。\",\"validation-vat-partnername-is-required-registered-business\":\"请注意,如果您选择VAT Registered/BusinessVAT注册公司,那么必须提供交易对方的VAT税号和公司/个人注册名字。\",\"validation-vat-taxablebasis-invalid-inbound-or-outbound-vat-values-correspond\":\"请注意,inbound交易的税率须等于VAT 金额除以不含税金额。即VAT rate=VAT amount/Taxable basis\",\"validation-vat-taxablebasis-invalid-sale-or-return-vat-values-correspond\":\"请注意,不含税金额须等于VAT金额除以VAT税率,即Taxable basis= VAT amount/VAT rate,以下数据不正确,请正更。\",\"validation-vat-typeofpartner-invalid-fc-transfer-only-registered-business\":\"请注意FC_Transfer的交易对方必须是VAT注册公司,即Type of Partner必须选择VAT Registered/Business。\",\"validation-vat-typeofpartner-invalid-inbound-or-outbound-only-registered-business\":\"请注意Inbound的交易对方必须是VAT注册公司,即Type of Partner必须选择VAT Registered/Business。\",\"validation-vat-typeofsale-invalid-only-goods\":\"请注意FC_Transferd的销售产品类型必须是商品。即Type of Sale 必须选择 Goods。\",\"validation-vat-vatamount-invalid-sale-or-return-vat-values-correspond\":\"请注意,不含税金额须等于VAT金额除以VAT税率,即Taxable basis= VAT amount/VAT rate,以下数据不正确,请正更。\",\"validation-vat-vatnumber-invalid-countrycodeprefix\":\"\",\"validation-vat-vatnumber-invalid-inbound-or-outbound\":\"请注意,Inbound交易的提供的卖家VAT税号必须是交易出发国的税号。\",\"validation-vat-vatnumber-invalid-sale-or-return\":\"请注意,VAT税号必须是到达国的税号。\",\"validation-vat-vatnumber-invalid-starts-with-two-letter\":\"请注意,您提供的买家VAT税号不正确,买家税号必须包含国家代码。\",\"validation-vat-vatrate-invalid-fc-transfer-cannot-be-null\":\"请注意,您公司的VAT税率和交易类型不匹配。FC_Transfer必须以反向征收申报,因此含税金额必须包含VAT。即gross=taxable basis+VAT amount。\",\"validation-vat-vatrate-invalid-inbound-or-outbound-cannot-be-null-except\":\"\",\"validation-vat-vatrate-invalid-vat-reporting-country\":\"请注意,您使用的VAT税率与VAT申报国家不匹配。(line {{rowNumber}})\",\"validation-vat-vatrate-is-required-inbound-or-outbound-when-taxable-basis\":\"请注意,inbound交易的税率须等于VAT 金额除以不含税金额。即VAT rate=VAT amount/Taxable basis。\",\"validation-vat-vatrate-is-required-sale-or-return-when-taxable-basis\":\"请注意,VAT rate也是必填的,如果您填写了某笔交易的不含税金额,即Taxable basis。\",\"validation-vat-vatreportingcountry-invalid-shipping-or-customer\":\"请注意,VAT申报国必须是交易的出发国或到达国之一。\",\"validation-vatrate-data-cannot-be-empty-or-invalid\":\"不可以留空或填写无效数据 (有效数据格式: 1到27之间 (或者0)的数字 ,可用小数位分隔符('.'), 例如: 21.5)\",\"validation-vatrate-invalid-destination-country\":\"Please note that the applied VAT rate is not possible in the provided Destination country (line {{rowNumber}})\",\"validation-wrong-exchange-rate\":\"货币换算的汇率出现错误\",\"wrong-template-format\":\"错误的模板格式\",\"{{columnName}} ({{rowNumber}}): Data cannot be empty.\":\"{{columnName}} ({{rowNumber}}): 数据不能为空。\",\"{{columnName}} ({{rowNumber}}): Invalid\":\"{{columnName}} ({{rowNumber}}): 无效\",\"{{columnName}} ({{rowNumber}}): Not found\":\"{{columnName}} ({{rowNumber}}): 无法匹配\",\"{{columnName}} ({{rowNumber}}): Wrong format\":\"{{columnName}} ({{rowNumber}}): 格式错误\\n\",\"Couldnt_find_answer\":\"仍有其他疑问?点击{{- link_first_part}}这里{{- link_second_part}}联系我们。\",\"faq_bank_account_register_vat_in_france_answer\":\"{{- a_paragraph_start}}欧洲业务需要有一个支持SEPA B2B直接借记付款的银行账户。如果您没有该账户,您每笔非SEPA的银行交易都将产生罚金(通常是每次60欧元)。\\n为了避免这些罚金,您需要新建一个满足法国电子支付系统的银行账户\\n{{- a_paragraph_end}}\",\"faq_bank_certificate_and_bank_details_answer\":\"{{- a_paragraph_start}}当您有多支付的款项时,或者您有可以抵扣的VAT额,某些国家的税局会尝试退回这些金额。如果您没有提供银行信息或者提供的不完全,税局会和KPMG联系,这将会延长这个流程的时间。银行开户证明应包含如下信息:\\n银行名称,银行地址,开户人名称,开户人地址,币种,账户号码,IBAN,SWIFT号{{- a_paragraph_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_answer\":\"{{- a_paragraph_start}}在西班牙法律里,个体户或者个人在西班牙发生经济活动,但没有居住在西班牙的,必须在其居住国的西班牙领事馆申请西班牙外国人认证码。这个NIE号码会在提交EX15表格的时候会被用到。您可以在{{- link_start}}这里{{- link_end}}找到更多关于NIE和EX15的信息.{{- a_paragraph_end}}\",\"faq_companies_articles_and_association_answer\":\"{{- a_paragraph_start}}在大多数欧洲国家注册时,税务机关要求提供一份详细说明公司股东结构、公司注册资本(资金,而不是地理位置)以及董事和法定代表人信息的文件。组织章程也被称为公司章程或文件。{{- a_paragraph_end}}\",\"faq_company_extract_for_uk_based_sole_trader_answer\":\"{{- a_paragraph_start}}对于英国的个体户,证明您公司状态可能会比较困难。我们建议您写信给HMRC或者给您的律师或者会计师。他们会给您提供一封官方文件,包含以下内容:{{- a_paragraph_end}}{{- a_list_start}}您的姓名和地址{{- a_list_middle}}您的交易名称{{- a_list_middle}}明确证明您是个体经营者{{- a_list_end}}\",\"faq_company_extract_us_answer\":\"{{- a_paragraph_start}}公司注册证书或营业执照(名称可能因州而异)本质上是公司成立所在国签发的证明公司合法性的文件,证明其已合法注册。它通常包括公司的成立日期、公司名称及公司注册地址。{{- a_paragraph_end}}\",\"faq_companys_legal_representative_answer\":\"{{- a_paragraph_start}}法定代表人是拥有代表公司行事的法定权力的人,并将代表贵公司处理任何与税务有关的问题。注册时需要能够清楚体现法人信息的公司文件。{{- a_paragraph_end}}\",\"faq_companys_vat_certificate_us_answer\":\"{{- a_paragraph_start}}国家税局。税务机关将要求国税局提供有关贵公司雇主识别号(EIN)签发的文件。{{- a_paragraph_end}}\",\"faq_documents_while_filing_answer\":\"{{- a_paragraph_start}}您需要填写公司详细信息,须要提供的文件有公司营业执照,公司章程,法人身份证和银行开户证明{{- a_paragraph_end}}\",\"faq_drivers_licence_as_valid_id_answer\":\"{{- a_paragraph_start}}大多数欧洲国家需要法人的身份验证文件,可以是身份证,护照或者驾驶证。{{- a_paragraph_end}}\",\"faq_form_6166_apply_answer\":\"{{- a_paragraph_start}}美国客户需要提供一份由美国国税局签发的6166文件,以完成德国注册。6166文件可使用8802文件申请,可从国税局网站下载。请注意,德国税务机关只接受原件,此文件的签发时间最多需要3个月。\\n如需获取这份文件,请向国税局申请。更多信息,请点击{{- link_start}}这里{{- link_end}}.{{- a_paragraph_end}}\",\"faq_how_long_does_the_registration_take_answer\":\"{{- a_paragraph_start}}如果所有的经您提供的信息和文件正确,全部收到后我们会在几个工作日内准备好所有注册文件并将其提交给税局。{{- a_paragraph_end}}\",\"faq_how_many_eoris_do_i_need_answer\":\"{{- a_paragraph_start}}电商卖家只需要一个EORI号码,也只能拥有一个EORI号码。EORI号码可以在所有欧盟成员国使用,因此一个号码就足够了,如果您已经有一个号码,海关将拒绝您的其他申请。请注意,英国脱欧后,欧洲卖家如果想在英国进口商品,必须在英国申请EORI。英国卖家如果想在欧盟进口商品,需要在欧盟申请欧盟国家的EORI号码。{{- a_paragraph_end}}\",\"faq_notarisation_and_hague_apostille_meaning_answer\":\"{{- a_paragraph_start}}一些欧洲税务局会要求您的公司文件和登记表经过“公证和海牙认证”,然后才能提交给当局申请增值税登记。{{- a_paragraph_middle}}公证的文件是指经授权或要求签署的人的签名,以及见证签名的公证人的签名,并附有其公证人的正式印章。如果税务局要求,授权签字人需要本人前往公证处(或让公证人员到您的办公室)并在他/她在场的情况下签署所需文件。公证人将在见证签名后证明这些文件。{{- a_paragraph_middle}}海牙认证的定义是“在海牙公约成员国使用该文件的认证”。认证证书确认文件上的签名、印章或印章是真实的,以便在其他海牙公约成员国使用时可以被认可。一般海牙认证会以印泥或印鉴的形式与被认证的文件一起装订成册,对于不属于海牙公约的国家,例如中国可以采用外事处的领事认证和对应国家在华使馆的使馆认证相结合,俗称为“双认证”,效应等同于海牙认证。{{- a_paragraph_middle}}香港特区属于海牙公约地区,所以也可以到香港面见律师完成公证后,提交至法院完成海牙认证。{{- a_paragraph_end}}\",\"faq_obtain_company_extract_for_uk_company_answer\":\"{{- a_paragraph_start}}通过拨打0303 1234 500联系Company House,他们会给您发送经过认证的公司营业执照副本,该文件包含以下信息:{{- a_paragraph_end}}{{- a_list_start}}公司董事姓名{{- a_list_middle}}公司秘书姓名{{- a_list_middle}}公司注册地址{{- a_list_middle}}股权分配{{- a_list_middle}}股东姓名{{- a_list_end}}{{- a_paragraph_start}}出具上述文件会需要一定的费用。(大概20英镑。也可以支付60英镑以获得更快的服务){{- a_paragraph_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_answer\":\"{{- a_paragraph_start}}我们的办事处专门负责欧盟间接税;但是,我们可以向您介绍我们在这些国家的当地毕马威办事处。他们会很乐意接受您的咨询,在双方均认同的报价下协助您。{{- a_paragraph_end}}\",\"faq_vat_certificate_for_uk_company_answer\":\"{{- a_paragraph_start}}您可以直接拨打0300 200 3700联系HMRC申请。您需要注明您的VAT号码,这个证明会被寄送到您公司注册地址。请注意您可以在申报提交的网站下载VAT证书,但是这个证书在用于注册其他国家的VAT时可能不被认可。{{- a_paragraph_middle}}如果您在英国还没有注册VAT,而且事实上您的销售也未达到注册起征点,请提前通知我们,我们会告知您如何操作。{{- a_paragraph_end}}\",\"faq_vat_in_czech_republic_documents_quantities_answer\":\"{{- a_paragraph_start}}您需要收集以下文件:{{- a_paragraph_end}}{{- a_list_start}}1份贵公司营业执照原件(确认贵公司商业活动的官方证明){{- a_list_middle}}1份税号证书原件(在成立国){{- a_list_middle}}一份由贵行出具的银行证明原件,确认您的银行信息{{- a_list_middle}}每个法定代表人身份证件复印件各一份{{- a_list_end}}{{- a_paragraph_start}}公司摘录和税号证书不得超过3个月(截止到提交注册之日)。{{- a_paragraph_middle}}要求对文件进行宣誓翻译。毕马威可以帮您安排。{{- a_paragraph_end}}\",\"faq_vat_in_france_documents_answer\":\"{{- a_paragraph_start}}您需要提供如下文件:{{- a_paragraph_end}}{{- a_list_start}}1份公司营业执照副本(用于官方证明您公司活动){{- a_list_middle}}1份VAT证书副本(在公司注册过的VAT){{- a_list_middle}}1份法人身份证明文件副本{{- a_list_end}}{{- a_paragraph_start}}公司营业执照,税号证书和银行证明有效期不能超过3个月(从注册文件提交日算起){{- a_paragraph_end}}\",\"faq_vat_in_germany_documents_quantities_answer\":\"{{- a_paragraph_start}}您需要收集以下文件:{{- a_paragraph_end}}{{- a_list_start}}1份贵公司营业执照复印件(确认贵公司商业活动的官方证明){{- a_list_middle}}1份税号证书复印件(在成立国){{- a_list_middle}}1份公司章程复印件(如有){{- a_list_middle}}每个法定代表人身份证件复印件各一份{{- a_list_end}}{{- a_paragraph_start}}营业执照和税号证书不得超过3个月(提交注册包之日)。{{- a_paragraph_end}}\",\"faq_vat_in_italy_documents_quantities_answer\":\"{{- a_paragraph_start}}您需要收集以下文件:{{- a_paragraph_end}}{{- a_list_start}}1份贵公司营业执照原件(确认贵公司商业活动的官方证明){{- a_list_middle}}1份税号证书原件(在成立国){{- a_list_middle}}每个法定代表人身份证件复印件各一份{{- a_list_end}}{{- a_paragraph_start}}营业执照和税号证书不得超过3个月(截止到提交注册之日)。{{- a_paragraph_middle}要求对文件进行宣誓翻译。毕马威可以帮您安排。{{- a_paragraph_end}}\",\"faq_vat_in_poland_documents_quantities_answer\":\"{{- a_paragraph_start}}您需要收集以下文件:{{- a_paragraph_end}}{{- a_list_start}}1份贵公司营业执照原件(确认贵公司商业活动的官方证明){{- a_list_middle}}1份税号证书原件(在成立国){{- a_list_end}}{{- a_paragraph_start}}公司摘录和税号证书不得超过3个月(提交注册包之日)。{{- a_paragraph_middle}}要求对文件进行宣誓翻译。毕马威可以帮您安排。{{- a_paragraph_end}}\",\"faq_vat_in_spain_documents_quantities_answer\":\"{{- a_paragraph_start}}您需要收集以下文件:{{- a_paragraph_end}}{{- a_list_start}}1份贵公司营业执照原件(确认贵公司商业活动的官方证明)宣誓翻译和海牙认证{{- a_list_end}}{{- a_paragraph_start}}要求对文件进行宣誓翻译。{{- a_paragraph_end}}\",\"faq_vat_in_uk_documents_quantities_answer\":\"{{- a_paragraph_start}}您需要收集以下文件:{{- a_paragraph_end}}{{- a_list_start}}1份贵公司营业执照复印件(确认贵公司商业活动的官方证明){{- a_list_middle}}1份税号证书复印件(在成立国){{- a_list_middle}}法定代表人的两份不同身份证明文件复印件各一份{{- a_list_end}}{{- a_paragraph_start}}公司摘录和税号证书不得超过3个月(提交注册包之日)。{{- a_paragraph_end}}\",\"faq_vat_with_fba_services_answer\":\"{{- a_paragraph_start}}根据VAT税法,只要您将货物储存在欧洲任一国家,你就需要注册该国的VAT号。{{- a_paragraph_end}}\",\"faq_vies_in_spain_answer\":\"{{- a_paragraph_start}}尽管西班牙VAT号注册很快能下号,但是将VAT号码在{{- link_start}}VIES{{- link_end}} 上激活是个很复杂且耗时更长的流程。当你的VAT号下达时,我们可以开始进行VAT合规申报,您也可以在西班牙缴税。而且只有在贵司有欧盟内部的跨境货物流转的交易您才可以成功申请激活VIES。这意味着您需要首先在西班牙做ECL申报,在做完ECL申报后这个申请才能被提交。不过当你有任何尚未完成的VAT增值税义务,比如VAT税金,申报,罚款等,这个申请会被自动的拒绝。如果您的申请被拒绝就需要重新提交申请并从最初的流程开始。这个进度一般需要2-3个月{{- a_paragraph_end}}\",\"faq_what_is_an_eori_number_answer\":\"{{- a_paragraph_start}}EORI号码是在欧盟注册的企业标识号。这个号码是在货物在欧盟内有进出时签发的。企业或个人在欧盟范围内开始海关活动之前,必须从国家海关当局获得EORI号码{{- a_paragraph_end}}\",\"faq_when_vat_issued_answer\":\"{{- a_paragraph_start}}各个国家注册VAT号所需时间不同,一般来说从您的文件递交给税局开始,您需要等待4至6周以获得税号。我们会持续和税局联系去跟踪您的税号注册进度,如果有任何进展我们会及时通知您。您可以参照下方各国现在注册所需要的时间清单。我们会一直跟进各种注册的时间线并且会及时更新{{- a_paragraph_end}}{{- a_list_start}}法国: 4-5周{{- a_list_middle}}德国: 6 - 8 周{{- a_list_middle}}西班牙: 1-2 周 (VIES 激活: 2-3 月){{- a_list_middle}}意大利: 4-6 周{{- a_list_middle}}波兰: 4-6 周{{- a_list_middle}}捷克: 4-5周{{- a_list_middle}}英国: 3-4 周{{- a_list_end}}\",\"faq_where_can_i_get_my_documents_apostilled_answer\":\"{{- a_paragraph_start}}海牙认证通常可以由国家认证的公证处或国家公证处进行认证。西班牙不接受简单的公证,因此需要进一步的认证/合法化,即海牙认证加注印章。如果您的国家不是海牙认证公约的成员国,可以委托外事处进行领事认证,然后提交至对应国家的大使馆进行使馆认证,俗称“双认证”。{{- a_paragraph_end}}\",\"faq_where_can_i_get_my_documents_notarized_answer\":\"{{- a_paragraph_start}}公证是用来被证明签章是有效的或者此文件可以在国外被使用。如果您需要对文件进行公证,可以选择当地的律师事务所或者其他公证机构进行公证。{{- a_paragraph_end}}\",\"faq_which_countries_eori_number_is_best_to_have_answer\":\"{{- a_paragraph_start}}对于欧盟公司,在成立国注册EORI号码即可,对于非欧盟公司,您进口最多的国家将是拥有EORI编号的最佳选择。{{- a_paragraph_end}}\",\"faq_who_is_the_beneficial_owner_answer\":\"{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} a)\\t任何直接拥有或控股法人/非法人组织至少拥有25%股份/表决权的自然人,或通过2013年《民法典》(以下简称《民法典》)第五号法案第8:2节第(4)小节规定的方式间接拥有或控股法人/非法人组织至少拥有25%股份或表决权的自然人,或能够通过其他方式对该法人或非法人组织实施有效控制,前提是该法人或非法人组织未在受监管市场上市,且须遵守符合共同体立法或同等国际标准的披露要求,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} b)\\t任何在《民法典》第8:2节第(2)小节定义的法人/非法人商业协会中具有主导影响力的自然人,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} c)\\t任何代表其进行交易的自然人,或能够通过其他方式对客户的活动进行有效控制的自然人,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} d)\\t基金会的受益所有人{{- a_paragraph_end}} {{- a_paragraph_start}} da) 如果未来受益人已经确定,受益所有人则为拥有基金会25%或以上财产的受益人的自然人,{{- a_paragraph_end}} {{- a_paragraph_start}} db) 如果尚未确定受益于基金会的个人,受益所有人则为基金会的主要利益所在的自然人,或{{- a_paragraph_end}} {{- a_paragraph_start}} dc) 对基金会的管理行使控制权或对至少拥有基金会25%的财产行使控制权的自然人,和/或被授权代表基金会的自然人,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} e)\\t信托资产管理合同的受益所有人{{- a_paragraph_end}} {{- a_paragraph_start}}ea) 委托人和本协议第a)或b)段中提及的受益所有人,{{- a_paragraph_end}} {{- a_paragraph_start}}eb) 受托人,以及本协议第a)或b)段中提及的受益所有人{{- a_paragraph_end}} {{- a_paragraph_start}}ec) 受益人或受益人类别,以及本协议第a)或b)段中提及的受益所有人,此外{{- a_paragraph_end}} {{- a_paragraph_start}}ed) 任何通过其他方式对信托基金实施有效控制的自然人,此外{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} f)\\ta)段和(b)段所述自然人缺席的情况下,则为法人或非法人商业协会的执行官;{{- a_paragraph_end}}\",\"faq_why_do_i_need_a_fiscal_representative_answer\":\"{{- a_paragraph_start}}对于非欧盟国家提供货物或服务的公司,可能需要作为非居民增值税贸易商注册增值税。一些国家允许非欧盟设立的公司“直接”在税务局注册,而不必指定当地代表。{{- a_paragraph_middle}}但是,在某些情况下,税务机关将要求公司在目的地国任命一名财务代理。该公司必须进行税务登记,并愿意作为公司的当地代表,处理公司与税务机关的交易的查询和备案义务。{{- a_paragraph_middle}}在大多数情况下,财务代理可能对公司的所有增值税付款承担连带责任。\\n税务机关将一名财务代理视为外商的本地代理人,这导致了若干合规义务。此外,如果财务代理对交易员的税收负有共同责任,行业惯例是要求以财务代理为受益人的保证金或银行担保,以减轻公司违约时的潜在风险。{{- a_paragraph_end}}\",\"faq_why_i_need_vat_number_answer\":\"{{- a_paragraph_start}}在具有增值税制度的外国司法管辖区内提供货物或服务的企业必须遵守该国的相关增值税法律。有几种情况下,公司在该国注册增值税是一项法定义务,因为他们从事的是应税业务活动,这些活动包括:{{- a_paragraph_end}}{{- a_list_start}}在该国进口货物用于销售或零售{{- a_list_middle}}在当地购买或销售货物{{- a_list_middle}}通过网络将货物卖给个人 (可能要适用于收入的起征点){{- a_list_middle}}将货物存在一个仓库{{- a_list_middle}}在该国组织活动 (尤其是付费入场的活动){{- a_list_middle}}公司有责任在开始应税交易前注册增值税,一旦注册,必须遵守合规和报告要求。{{- a_list_end}}\",\"faq_will_original_documents_be_returned_after_registration_answer\":\"{{- a_paragraph_start}}根据税局要求,这些原件需要被保存。因此,无法归还给你。如果想要保留公司文件的原件,我们可以向税务机关提供经过公证的副本。{{- a_paragraph_end}}\",\"faq_wrong_registration_document_to_kpmg_answer\":\"{{- a_paragraph_start}}我们会要求您提供给我们正确的文件,如果我们提交一个错误的文件给税局,那么注册过程可能会延长且有可能被拒绝。{{- a_paragraph_end}}\",\"faq_wrong_registration_info_to_kpmg_answer\":\"{{- a_paragraph_start}}如果您提供的数据不准确、不正确,您的客户经理将与您联系,直到所有细节都得到确认。这可能会延长准备登记文件所需的时间。如果我们在登记文件上填写的数据有误,税务机关将与我们联系,在所有信息未确认和被更新之前不会签发增值税号码。{{- a_paragraph_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_answer\":\"{{- a_paragraph_start}}英国于2020年12月31日退出了欧盟增值税制度的范围。与此同时,英国撤回了15英镑的低值货物减免政策,针对进口到英国且装运价值不超过135英镑的货物,引入了新的增值税即时销售制度(类似于欧盟的IOSS制度) 。{{- a_paragraph_middle}}对于针对欧盟消费者的销售,英国卖家现已被视为非欧盟卖家。 从2021年7月1日起,他们将以非欧盟卖家的身份来使用欧盟的IOSS进行销售,将合格的商品进口到欧盟。{{- a_paragraph_end}}\",\"ioss_faq_currency_other_than_eur_answer\":\"{{- a_paragraph_start}}如果用欧元以外的其他货币来支付所售商品的货款,则应始终在供应节点进行换算,以确定其总价值是否可以根据IOSS来申报货物的销售。{{- a_paragraph_middle}}为避免由于汇率波动而导致进口时出现的任何潜在问题,我们建议您在随货付款的发票上注明接受付款时的欧元价格。{{- a_paragraph_end}}\",\"ioss_faq_do_not_opt_into_ioss_answer\":\"{{- a_paragraph_start}}如上所述,如果不使用IOSS,则增值税是需要在货物进口时缴纳的,并且由海关来收取。例如,FedEx Express将根据运输条款从客户或您那里收取增值税费用。 可能需要支付额外的手续费。 如果卖方按照税后交货的条款出售货物,那么还可能会产生额外的增值税申报事宜。{{- a_paragraph_middle}}对于由FedEx处理的货件,具体细节请登陆 fedex.com .{{- a_paragraph_end}}\",\"ioss_faq_eur_150_value_limit_answer\":\"{{- a_paragraph_start}}符合IOSS要求的低价值货物是指装运时其进口的内在价值不超过150欧元的货物(需纳税的产品除外)。{{- a_paragraph_middle}}内在价值是指出口到欧盟的商品本身的价格。 价格不应包括运输和保险费用(并且应当排除其他一切税费,这部分税费可以向海关当局提供相关证明文件。),并且应排除任何可从相关文件中向海关当局证明的税费。{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_answer\":\"{{- a_paragraph_start}}有关IOSS注册的确切要求,税务部门还尚未公布。 请稍后返回此页面以获取更多信息。{{- a_paragraph_middle}}KPMG已经设计一个问卷调查表,该调查表将可以在门户上在线填写,以便收集您的必要信息,从而进行IOSS注册。{{- a_paragraph_end}}\",\"ioss_faq_info_needed_for_kpmg_return_answer\":\"{{- a_paragraph_start}}注册成功后,您将能够从我们的门户网站上下载数据模板。 请您使用我们的模板,并每个月向我们提交符合条件的销售数据(包括退货)。KPMG将会准备IOSS的申报以供您审核。{{- a_paragraph_middle}}IOSS增值税申报表将包含所售商品的总价值,细分为其增值税税率和要支付的增值税总额,运输到每个欧盟成员国的货物明细,以及各项标准和低税率的明细。{{- a_paragraph_middle}}在您批准后,KPMG将会提交申报表。{{- a_paragraph_end}}\",\"ioss_faq_ioss_for_b2b_answer\":\"{{- a_paragraph_start}}不,IOSS仅可用于合规商品的B2C销售。{{- a_paragraph_end}}\",\"ioss_faq_pay_tax_due_answer\":\"{{- a_paragraph_start}}付款的截止日期是报告月份之后的下个月,与申报截止日期相同。由于您是在欧盟以外建立的机构,因此需要通过增值税中介机构进行注册。根据IOSS增值税申报表中的规定,请每月都按指示,在付款截止日期前至少几个工作日,向增值税中介支付增值税。增值税中介机构将代表您向注册的成员国付款。{{- a_paragraph_end}}\",\"ioss_faq_return_deadline_answer\":\"{{- a_paragraph_start}}您将需要每月向注册国的税务机关提交IOSS申报表。 提交IOSS增值税申报的截止日期是申报期之后的下一个月的月末。{{- a_paragraph_end}}\",\"ioss_faq_return_goods_under_ioss_answer\":\"{{- a_paragraph_start}}退货或是运出欧盟的商品将有资格获得增值税退款。 请使用数据模板向KPMG提供必要的信息,KPMG将会相应地调整您的IOSS申报。{{- a_paragraph_end}}\",\"ioss_faq_who_to_contact_if_answer\":\"{{- a_paragraph_start}}一旦订阅KPMG服务后,我们将为您分配专门的KPMG客户经理,他将回答您对IOSS注册和申报流程的问题。 您可以用以下语言,通过电子邮件或电话与您的客户经理联系:英语,德语,法语,西班牙语,意大利语和中文。{{- a_paragraph_end}}\",\"If any of the following 3 fields is filled in, all 3 must be filled in: Column U (Taxable basis, Column T (Gross amount_reporting), Column V (VAT amount_reporting)_reporting)\":\"一旦填写了以下3处中的某一处,则3个数据必须全部填写完成:U列(Taxable basis_reporting)T列(Gross amount_reporting)V列(VAT amount_reporting)\",\"amazon_vat_rates_warning\":\"我们将使用亚马逊数据提供的税率/我们将使用默认税率。2021年6月之后,KPMG将必须使用亚马逊提供的税率。\",\"contacts_message\":\"具体问题:请发送邮件至{{- link_start}}{{- contactEmail}}{{- link_end}}.\",\"cookie_consent_description\":\"此网站使用Cookies为网站的运行功能及稳定性提供支持,以提高用户体验。使用此网站,则默认您同意 {{- link_start}}KPMG在线隐私声明{{- link_end}}的Cookies政策。\",\"disabled_ioss_upload_for_this_month\":\"您没有上传该月的数据,由于IOSS申报不可以追溯提交,因此无法再上传该月数据。如果您在该月有销售数据必须通过IOSS申报,请务必添加到目前月份的IOSS数据中。\",\"faq_bank_account_register_vat_in_france_question\":\"{{- q_start}}如果我想要在法国注册VAT,我的银行账户需要注意什么??{{- q_end}}\",\"faq_bank_certificate_and_bank_details_question\":\"{{- q_start}}大多数欧洲国家需要法人的身份验证文件,可以是身份证,护照或者驾驶证。{{- q_end}}\",\"faq_certificate_of_foreigners_identification_number_nie_question\":\"{{- q_start}}西班牙的外国人认证号码NIF是什么{{- q_end}}\",\"faq_companies_articles_and_association_question\":\"{{- q_start}}什么是公司章程?为什么需要提供?{{- q_end}}\",\"faq_company_extract_for_uk_based_sole_trader_question\":\"{{- q_start}}英国注册的个体户的公司营业执照是什么?{{- q_end}}\",\"faq_company_extract_us_question\":\"{{- q_start}}美国的公司营业执照是什么?{{- q_end}}\",\"faq_companys_legal_representative_question\":\"{{- q_start}}谁是我公司的法定代表人?{{- q_end}}\",\"faq_companys_vat_certificate_us_question\":\"{{- q_start}}哪个部门可以签发税号证书?{{- q_end}}\",\"faq_documents_while_filing_question\":\"{{- q_start}}在填写问卷/注册信息表时,我需要哪些文件?{{- q_end}}\",\"faq_drivers_licence_as_valid_id_question\":\"{{- q_start}}我可以用驾照作为有效证件代替身份证吗?{{- q_end}}\",\"faq_form_6166_apply_question\":\"{{- q_start}}什么是6166表格?申请的目的是什么?我如何申请?{{- q_end}}\",\"faq_how_long_does_the_registration_take_question\":\"{{- q_start}}注册准备过程需要多久?{{- q_end}}\",\"faq_how_many_eoris_do_i_need_question\":\"{{- q_start}}我需要几个EORI号码?{{- q_end}}\",\"faq_notarisation_and_hague_apostille_meaning_question\":\"{{- q_start}}公证和海牙认证是什么意思?{{- q_end}}\",\"faq_obtain_company_extract_for_uk_company_question\":\"{{- q_start}}我怎样获得英国注册的公司的营业执照?{{- q_end}}\",\"faq_usa_canada_india_china_mexico_australia_japan_support_question\":\"{{- q_start}}毕马威可以注册美国,加拿大,印度,中国,墨西哥,澳大利亚或者日本的增值税号码吗?{{- q_end}}\",\"faq_vat_certificate_for_uk_company_question\":\"{{- q_start}}对于英国成立的公司怎样获得VAT证书?{{- q_end}}\",\"faq_vat_in_czech_republic_documents_quantities_question\":\"{{- q_start}}我想在捷克共和国注册增值税号。我需要哪些文件,文件有什么要求?{{- q_end}}\",\"faq_vat_in_france_documents_question\":\"{{- q_start}}我想在法国注册VAT,我需要提供哪些公司文件,文件有什么要求?{{- q_end}}\",\"faq_vat_in_germany_documents_quantities_question\":\"{{- q_start}}我想在德国注册增值税号。我需要提供哪些公司文件,文件有什么要求?{{- q_end}}\",\"faq_vat_in_italy_documents_quantities_question\":\"{{- q_start}}我想在意大利注册增值税号,我需要提供哪些公司文件,文件有什么要求?{{- q_end}}\",\"faq_vat_in_poland_documents_quantities_question\":\"{{- q_start}}我想在波兰注册增值税号,我需要提供哪些公司文件,文件有什么要求??{{- q_end}}\",\"faq_vat_in_spain_documents_quantities_question\":\"{{- q_start}}我想在西班牙注册增值税号,我需要提供哪些公司文件,文件有什么要求??{{- q_end}}\",\"faq_vat_in_uk_documents_quantities_question\":\"{{- q_start}}我想在英国注册VAT,我需要提供哪些公司文件,文件有什么要求?{{- q_end}}\",\"faq_vat_with_fba_services_question\":\"{{- q_start}}我正在使用FBA服务需要注册VAT号吗?{{- q_end}}\",\"faq_vies_in_spain_question\":\"{{- q_start}}关于西班牙VIES激活过程我需要知道什么?{{- q_end}}\",\"faq_what_is_an_eori_number_question\":\"{{- q_start}}什么是EORI号码?{{- q_end}}\",\"faq_when_vat_issued_question\":\"{{- q_start}}我的VAT号码什么时候能下发?{{- q_end}}\",\"faq_where_can_i_get_my_documents_apostilled_question\":\"{{- q_start}}哪里可以对文件进行海牙认证?{{- q_end}}\",\"faq_where_can_i_get_my_documents_notarized_question\":\"{{- q_start}}在哪里可以进行文件认证?{{- q_end}}\",\"faq_which_countries_eori_number_is_best_to_have_question\":\"{{- q_start}}注册哪个国家的EORI号码最好?{{- q_end}}\",\"faq_who_is_the_beneficial_owner_question\":\"{{- q_start}}谁是受益所有人?{{- q_end}}\",\"faq_why_do_i_need_a_fiscal_representative_question\":\"{{- q_start}}为什么我需要一个财务代理?{{- q_end}}\",\"faq_why_i_need_vat_number_question\":\"{{- q_start}}为什么我需要VAT号?{{- q_end}}\",\"faq_will_original_documents_be_returned_after_registration_question\":\"{{- q_start}}被要求提供的原始文件在注册完成后可以归还吗?{{- q_end}}\",\"faq_wrong_registration_document_to_kpmg_question\":\"{{- q_start}}如果在VAT注册过程中我提供了错误的文件给KPMG怎么办?{{- q_end}}\",\"faq_wrong_registration_info_to_kpmg_question\":\"{{- q_start}}如果我在注册时向毕马威提供了错误的信息,会发生什么?{{- q_end}}\",\"ioss_faq_appliable_in_uk_no_longer_eu_question\":\"{{- q_start}}英国已经不再是欧盟的成员了,那么这些变更是否适用于英国?{{- q_end}}\",\"ioss_faq_currency_other_than_eur_question\":\"{{- q_start}}我的客户用欧元以外的其他货币付款,我应该使用哪种汇率?{{- q_end}}\",\"ioss_faq_do_not_opt_into_ioss_question\":\"{{- q_start}}如果不选择加入IOSS会怎样?{{- q_end}}\",\"ioss_faq_eur_150_value_limit_question\":\"{{- q_start}}什么是150欧元的限额?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_registration_question\":\"{{- q_start}}我需要向KPMG提供哪些信息来进行IOSS注册?{{- q_end}}\",\"ioss_faq_info_needed_for_kpmg_return_question\":\"{{- q_start}}我需要向KPMG提供哪些信息来进行IOSS申报?{{- q_end}}\",\"ioss_faq_ioss_for_b2b_question\":\"{{- q_start}}我可以使用IOSS进行B2B交易吗?{{- q_end}}\",\"ioss_faq_pay_tax_due_question\":\"{{- q_start}}我该如何缴纳应缴税款?缴纳期限是什么?{{- q_end}}\",\"ioss_faq_return_deadline_question\":\"{{- q_start}}申报截止日期是什么?{{- q_end}}\",\"ioss_faq_return_goods_under_ioss_question\":\"{{- q_start}}参与IOSS计划后如何退货?{{- q_end}}\",\"ioss_faq_who_to_contact_if_question\":\"{{- q_start}}如果我有疑问,应该联系谁?{{- q_end}}\",\"fedex_cross_border_hint\":\"FEDEX跨境客户:请使用6位数的账户号码+加上'FXCB'\",\"forgot_pw_resend\":\"如果您尚未收到重置电子邮件,请单击{{- link_start}}此处{{- link_end}} 请单击此处重新发送或联系我们{{- contactEmail}}\",\"login_disclaimer\":\"登录或创建帐户即表示您接受我们的一 {{- link1_start}}般业务条款{{- link1_end}}和{{- link2_start}}隐私声明{{- link2_end}}.\",\"register_welcome_text\":\"感谢您对我们的关注。请注意这只是一个邀请平台,如果您想要注册KPMG账户,请您点击{{- link_start}}这里{{- link_end}},将会为您提供信息.\",\"validation-vat-vatrate-is-required-sale-or-return-when-vat_amount\":\"请注意,VAT rate也是必填的,如果您填写了某笔交易的VAT金额,即VAT amount。\"}","var map = {\n\t\"./af\": 1009,\n\t\"./af.js\": 1009,\n\t\"./ar\": 88769,\n\t\"./ar-dz\": 23739,\n\t\"./ar-dz.js\": 23739,\n\t\"./ar-kw\": 93745,\n\t\"./ar-kw.js\": 93745,\n\t\"./ar-ly\": 99576,\n\t\"./ar-ly.js\": 99576,\n\t\"./ar-ma\": 67408,\n\t\"./ar-ma.js\": 67408,\n\t\"./ar-sa\": 48781,\n\t\"./ar-sa.js\": 48781,\n\t\"./ar-tn\": 87856,\n\t\"./ar-tn.js\": 87856,\n\t\"./ar.js\": 88769,\n\t\"./az\": 2030,\n\t\"./az.js\": 2030,\n\t\"./be\": 56476,\n\t\"./be.js\": 56476,\n\t\"./bg\": 25304,\n\t\"./bg.js\": 25304,\n\t\"./bm\": 48125,\n\t\"./bm.js\": 48125,\n\t\"./bn\": 34,\n\t\"./bn-bd\": 29835,\n\t\"./bn-bd.js\": 29835,\n\t\"./bn.js\": 34,\n\t\"./bo\": 64082,\n\t\"./bo.js\": 64082,\n\t\"./br\": 8317,\n\t\"./br.js\": 8317,\n\t\"./bs\": 93107,\n\t\"./bs.js\": 93107,\n\t\"./ca\": 68272,\n\t\"./ca.js\": 68272,\n\t\"./cs\": 98567,\n\t\"./cs.js\": 98567,\n\t\"./cv\": 61583,\n\t\"./cv.js\": 61583,\n\t\"./cy\": 10076,\n\t\"./cy.js\": 10076,\n\t\"./da\": 31760,\n\t\"./da.js\": 31760,\n\t\"./de\": 8973,\n\t\"./de-at\": 63214,\n\t\"./de-at.js\": 63214,\n\t\"./de-ch\": 74728,\n\t\"./de-ch.js\": 74728,\n\t\"./de.js\": 8973,\n\t\"./dv\": 54053,\n\t\"./dv.js\": 54053,\n\t\"./el\": 7499,\n\t\"./el.js\": 7499,\n\t\"./en-au\": 67876,\n\t\"./en-au.js\": 67876,\n\t\"./en-ca\": 47010,\n\t\"./en-ca.js\": 47010,\n\t\"./en-gb\": 34239,\n\t\"./en-gb.js\": 34239,\n\t\"./en-ie\": 99830,\n\t\"./en-ie.js\": 99830,\n\t\"./en-il\": 28438,\n\t\"./en-il.js\": 28438,\n\t\"./en-in\": 25322,\n\t\"./en-in.js\": 25322,\n\t\"./en-nz\": 43264,\n\t\"./en-nz.js\": 43264,\n\t\"./en-sg\": 55449,\n\t\"./en-sg.js\": 55449,\n\t\"./eo\": 39486,\n\t\"./eo.js\": 39486,\n\t\"./es\": 32430,\n\t\"./es-do\": 16310,\n\t\"./es-do.js\": 16310,\n\t\"./es-mx\": 27038,\n\t\"./es-mx.js\": 27038,\n\t\"./es-us\": 73099,\n\t\"./es-us.js\": 73099,\n\t\"./es.js\": 32430,\n\t\"./et\": 34975,\n\t\"./et.js\": 34975,\n\t\"./eu\": 87063,\n\t\"./eu.js\": 87063,\n\t\"./fa\": 68073,\n\t\"./fa.js\": 68073,\n\t\"./fi\": 50957,\n\t\"./fi.js\": 50957,\n\t\"./fil\": 8764,\n\t\"./fil.js\": 8764,\n\t\"./fo\": 81775,\n\t\"./fo.js\": 81775,\n\t\"./fr\": 74179,\n\t\"./fr-ca\": 14306,\n\t\"./fr-ca.js\": 14306,\n\t\"./fr-ch\": 73791,\n\t\"./fr-ch.js\": 73791,\n\t\"./fr.js\": 74179,\n\t\"./fy\": 47014,\n\t\"./fy.js\": 47014,\n\t\"./ga\": 46911,\n\t\"./ga.js\": 46911,\n\t\"./gd\": 62958,\n\t\"./gd.js\": 62958,\n\t\"./gl\": 87344,\n\t\"./gl.js\": 87344,\n\t\"./gom-deva\": 33161,\n\t\"./gom-deva.js\": 33161,\n\t\"./gom-latn\": 35798,\n\t\"./gom-latn.js\": 35798,\n\t\"./gu\": 68485,\n\t\"./gu.js\": 68485,\n\t\"./he\": 27917,\n\t\"./he.js\": 27917,\n\t\"./hi\": 52159,\n\t\"./hi.js\": 52159,\n\t\"./hr\": 95842,\n\t\"./hr.js\": 95842,\n\t\"./hu\": 30005,\n\t\"./hu.js\": 30005,\n\t\"./hy-am\": 51312,\n\t\"./hy-am.js\": 51312,\n\t\"./id\": 60781,\n\t\"./id.js\": 60781,\n\t\"./is\": 64101,\n\t\"./is.js\": 64101,\n\t\"./it\": 43467,\n\t\"./it-ch\": 4759,\n\t\"./it-ch.js\": 4759,\n\t\"./it.js\": 43467,\n\t\"./ja\": 44164,\n\t\"./ja.js\": 44164,\n\t\"./jv\": 70079,\n\t\"./jv.js\": 70079,\n\t\"./ka\": 57036,\n\t\"./ka.js\": 57036,\n\t\"./kk\": 92022,\n\t\"./kk.js\": 92022,\n\t\"./km\": 63418,\n\t\"./km.js\": 63418,\n\t\"./kn\": 43655,\n\t\"./kn.js\": 43655,\n\t\"./ko\": 30986,\n\t\"./ko.js\": 30986,\n\t\"./ku\": 91902,\n\t\"./ku.js\": 91902,\n\t\"./ky\": 4604,\n\t\"./ky.js\": 4604,\n\t\"./lb\": 99026,\n\t\"./lb.js\": 99026,\n\t\"./lo\": 20537,\n\t\"./lo.js\": 20537,\n\t\"./lt\": 22288,\n\t\"./lt.js\": 22288,\n\t\"./lv\": 1495,\n\t\"./lv.js\": 1495,\n\t\"./me\": 60690,\n\t\"./me.js\": 60690,\n\t\"./mi\": 2571,\n\t\"./mi.js\": 2571,\n\t\"./mk\": 93959,\n\t\"./mk.js\": 93959,\n\t\"./ml\": 97225,\n\t\"./ml.js\": 97225,\n\t\"./mn\": 88,\n\t\"./mn.js\": 88,\n\t\"./mr\": 46622,\n\t\"./mr.js\": 46622,\n\t\"./ms\": 11070,\n\t\"./ms-my\": 48899,\n\t\"./ms-my.js\": 48899,\n\t\"./ms.js\": 11070,\n\t\"./mt\": 63931,\n\t\"./mt.js\": 63931,\n\t\"./my\": 95393,\n\t\"./my.js\": 95393,\n\t\"./nb\": 4274,\n\t\"./nb.js\": 4274,\n\t\"./ne\": 8914,\n\t\"./ne.js\": 8914,\n\t\"./nl\": 33114,\n\t\"./nl-be\": 68479,\n\t\"./nl-be.js\": 68479,\n\t\"./nl.js\": 33114,\n\t\"./nn\": 4513,\n\t\"./nn.js\": 4513,\n\t\"./oc-lnc\": 46549,\n\t\"./oc-lnc.js\": 46549,\n\t\"./pa-in\": 28264,\n\t\"./pa-in.js\": 28264,\n\t\"./pl\": 32848,\n\t\"./pl.js\": 32848,\n\t\"./pt\": 90899,\n\t\"./pt-br\": 55077,\n\t\"./pt-br.js\": 55077,\n\t\"./pt.js\": 90899,\n\t\"./ro\": 92512,\n\t\"./ro.js\": 92512,\n\t\"./ru\": 21753,\n\t\"./ru.js\": 21753,\n\t\"./sd\": 16840,\n\t\"./sd.js\": 16840,\n\t\"./se\": 78362,\n\t\"./se.js\": 78362,\n\t\"./si\": 50464,\n\t\"./si.js\": 50464,\n\t\"./sk\": 66324,\n\t\"./sk.js\": 66324,\n\t\"./sl\": 41963,\n\t\"./sl.js\": 41963,\n\t\"./sq\": 53039,\n\t\"./sq.js\": 53039,\n\t\"./sr\": 93454,\n\t\"./sr-cyrl\": 10466,\n\t\"./sr-cyrl.js\": 10466,\n\t\"./sr.js\": 93454,\n\t\"./ss\": 95158,\n\t\"./ss.js\": 95158,\n\t\"./sv\": 28859,\n\t\"./sv.js\": 28859,\n\t\"./sw\": 57594,\n\t\"./sw.js\": 57594,\n\t\"./ta\": 26915,\n\t\"./ta.js\": 26915,\n\t\"./te\": 15677,\n\t\"./te.js\": 15677,\n\t\"./tet\": 92154,\n\t\"./tet.js\": 92154,\n\t\"./tg\": 74098,\n\t\"./tg.js\": 74098,\n\t\"./th\": 89071,\n\t\"./th.js\": 89071,\n\t\"./tk\": 49381,\n\t\"./tk.js\": 49381,\n\t\"./tl-ph\": 1869,\n\t\"./tl-ph.js\": 1869,\n\t\"./tlh\": 92346,\n\t\"./tlh.js\": 92346,\n\t\"./tr\": 71483,\n\t\"./tr.js\": 71483,\n\t\"./tzl\": 30266,\n\t\"./tzl.js\": 30266,\n\t\"./tzm\": 33138,\n\t\"./tzm-latn\": 32960,\n\t\"./tzm-latn.js\": 32960,\n\t\"./tzm.js\": 33138,\n\t\"./ug-cn\": 29456,\n\t\"./ug-cn.js\": 29456,\n\t\"./uk\": 50805,\n\t\"./uk.js\": 50805,\n\t\"./ur\": 61127,\n\t\"./ur.js\": 61127,\n\t\"./uz\": 29628,\n\t\"./uz-latn\": 80840,\n\t\"./uz-latn.js\": 80840,\n\t\"./uz.js\": 29628,\n\t\"./vi\": 56962,\n\t\"./vi.js\": 56962,\n\t\"./x-pseudo\": 49257,\n\t\"./x-pseudo.js\": 49257,\n\t\"./yo\": 62423,\n\t\"./yo.js\": 62423,\n\t\"./zh-cn\": 61002,\n\t\"./zh-cn.js\": 61002,\n\t\"./zh-hk\": 6046,\n\t\"./zh-hk.js\": 6046,\n\t\"./zh-mo\": 36903,\n\t\"./zh-mo.js\": 36903,\n\t\"./zh-tw\": 24710,\n\t\"./zh-tw.js\": 24710\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 95126;","export function removeDiacritics(str) {\n if (!str) {\n return str;\n }\n const defaultDiacriticsRemovalMap = [\n {\n base: \"A\",\n letters: /[\\u0041\\u24B6\\uFF21\\u00C0\\u00C1\\u00C2\\u1EA6\\u1EA4\\u1EAA\\u1EA8\\u00C3\\u0100\\u0102\\u1EB0\\u1EAE\\u1EB4\\u1EB2\\u0226\\u01E0\\u00C4\\u01DE\\u1EA2\\u00C5\\u01FA\\u01CD\\u0200\\u0202\\u1EA0\\u1EAC\\u1EB6\\u1E00\\u0104\\u023A\\u2C6F]/g\n },\n { base: \"AA\", letters: /[\\uA732]/g },\n { base: \"AE\", letters: /[\\u00C6\\u01FC\\u01E2]/g },\n { base: \"AO\", letters: /[\\uA734]/g },\n { base: \"AU\", letters: /[\\uA736]/g },\n { base: \"AV\", letters: /[\\uA738\\uA73A]/g },\n { base: \"AY\", letters: /[\\uA73C]/g },\n {\n base: \"B\",\n letters: /[\\u0042\\u24B7\\uFF22\\u1E02\\u1E04\\u1E06\\u0243\\u0182\\u0181]/g\n },\n {\n base: \"C\",\n letters: /[\\u0043\\u24B8\\uFF23\\u0106\\u0108\\u010A\\u010C\\u00C7\\u1E08\\u0187\\u023B\\uA73E]/g\n },\n {\n base: \"D\",\n letters: /[\\u0044\\u24B9\\uFF24\\u1E0A\\u010E\\u1E0C\\u1E10\\u1E12\\u1E0E\\u0110\\u018B\\u018A\\u0189\\uA779]/g\n },\n { base: \"DZ\", letters: /[\\u01F1\\u01C4]/g },\n { base: \"Dz\", letters: /[\\u01F2\\u01C5]/g },\n {\n base: \"E\",\n letters: /[\\u0045\\u24BA\\uFF25\\u00C8\\u00C9\\u00CA\\u1EC0\\u1EBE\\u1EC4\\u1EC2\\u1EBC\\u0112\\u1E14\\u1E16\\u0114\\u0116\\u00CB\\u1EBA\\u011A\\u0204\\u0206\\u1EB8\\u1EC6\\u0228\\u1E1C\\u0118\\u1E18\\u1E1A\\u0190\\u018E]/g\n },\n { base: \"F\", letters: /[\\u0046\\u24BB\\uFF26\\u1E1E\\u0191\\uA77B]/g },\n {\n base: \"G\",\n letters: /[\\u0047\\u24BC\\uFF27\\u01F4\\u011C\\u1E20\\u011E\\u0120\\u01E6\\u0122\\u01E4\\u0193\\uA7A0\\uA77D\\uA77E]/g\n },\n {\n base: \"H\",\n letters: /[\\u0048\\u24BD\\uFF28\\u0124\\u1E22\\u1E26\\u021E\\u1E24\\u1E28\\u1E2A\\u0126\\u2C67\\u2C75\\uA78D]/g\n },\n {\n base: \"I\",\n letters: /[\\u0049\\u24BE\\uFF29\\u00CC\\u00CD\\u00CE\\u0128\\u012A\\u012C\\u0130\\u00CF\\u1E2E\\u1EC8\\u01CF\\u0208\\u020A\\u1ECA\\u012E\\u1E2C\\u0197]/g\n },\n { base: \"J\", letters: /[\\u004A\\u24BF\\uFF2A\\u0134\\u0248]/g },\n {\n base: \"K\",\n letters: /[\\u004B\\u24C0\\uFF2B\\u1E30\\u01E8\\u1E32\\u0136\\u1E34\\u0198\\u2C69\\uA740\\uA742\\uA744\\uA7A2]/g\n },\n {\n base: \"L\",\n letters: /[\\u004C\\u24C1\\uFF2C\\u013F\\u0139\\u013D\\u1E36\\u1E38\\u013B\\u1E3C\\u1E3A\\u0141\\u023D\\u2C62\\u2C60\\uA748\\uA746\\uA780]/g\n },\n { base: \"LJ\", letters: /[\\u01C7]/g },\n { base: \"Lj\", letters: /[\\u01C8]/g },\n {\n base: \"M\",\n letters: /[\\u004D\\u24C2\\uFF2D\\u1E3E\\u1E40\\u1E42\\u2C6E\\u019C]/g\n },\n {\n base: \"N\",\n letters: /[\\u004E\\u24C3\\uFF2E\\u01F8\\u0143\\u00D1\\u1E44\\u0147\\u1E46\\u0145\\u1E4A\\u1E48\\u0220\\u019D\\uA790\\uA7A4]/g\n },\n { base: \"NJ\", letters: /[\\u01CA]/g },\n { base: \"Nj\", letters: /[\\u01CB]/g },\n {\n base: \"O\",\n letters: /[\\u004F\\u24C4\\uFF2F\\u00D2\\u00D3\\u00D4\\u1ED2\\u1ED0\\u1ED6\\u1ED4\\u00D5\\u1E4C\\u022C\\u1E4E\\u014C\\u1E50\\u1E52\\u014E\\u022E\\u0230\\u00D6\\u022A\\u1ECE\\u0150\\u01D1\\u020C\\u020E\\u01A0\\u1EDC\\u1EDA\\u1EE0\\u1EDE\\u1EE2\\u1ECC\\u1ED8\\u01EA\\u01EC\\u00D8\\u01FE\\u0186\\u019F\\uA74A\\uA74C]/g\n },\n { base: \"OI\", letters: /[\\u01A2]/g },\n { base: \"OO\", letters: /[\\uA74E]/g },\n { base: \"OU\", letters: /[\\u0222]/g },\n {\n base: \"P\",\n letters: /[\\u0050\\u24C5\\uFF30\\u1E54\\u1E56\\u01A4\\u2C63\\uA750\\uA752\\uA754]/g\n },\n { base: \"Q\", letters: /[\\u0051\\u24C6\\uFF31\\uA756\\uA758\\u024A]/g },\n {\n base: \"R\",\n letters: /[\\u0052\\u24C7\\uFF32\\u0154\\u1E58\\u0158\\u0210\\u0212\\u1E5A\\u1E5C\\u0156\\u1E5E\\u024C\\u2C64\\uA75A\\uA7A6\\uA782]/g\n },\n {\n base: \"S\",\n letters: /[\\u0053\\u24C8\\uFF33\\u1E9E\\u015A\\u1E64\\u015C\\u1E60\\u0160\\u1E66\\u1E62\\u1E68\\u0218\\u015E\\u2C7E\\uA7A8\\uA784]/g\n },\n {\n base: \"T\",\n letters: /[\\u0054\\u24C9\\uFF34\\u1E6A\\u0164\\u1E6C\\u021A\\u0162\\u1E70\\u1E6E\\u0166\\u01AC\\u01AE\\u023E\\uA786]/g\n },\n { base: \"TZ\", letters: /[\\uA728]/g },\n {\n base: \"U\",\n letters: /[\\u0055\\u24CA\\uFF35\\u00D9\\u00DA\\u00DB\\u0168\\u1E78\\u016A\\u1E7A\\u016C\\u00DC\\u01DB\\u01D7\\u01D5\\u01D9\\u1EE6\\u016E\\u0170\\u01D3\\u0214\\u0216\\u01AF\\u1EEA\\u1EE8\\u1EEE\\u1EEC\\u1EF0\\u1EE4\\u1E72\\u0172\\u1E76\\u1E74\\u0244]/g\n },\n {\n base: \"V\",\n letters: /[\\u0056\\u24CB\\uFF36\\u1E7C\\u1E7E\\u01B2\\uA75E\\u0245]/g\n },\n { base: \"VY\", letters: /[\\uA760]/g },\n {\n base: \"W\",\n letters: /[\\u0057\\u24CC\\uFF37\\u1E80\\u1E82\\u0174\\u1E86\\u1E84\\u1E88\\u2C72]/g\n },\n { base: \"X\", letters: /[\\u0058\\u24CD\\uFF38\\u1E8A\\u1E8C]/g },\n {\n base: \"Y\",\n letters: /[\\u0059\\u24CE\\uFF39\\u1EF2\\u00DD\\u0176\\u1EF8\\u0232\\u1E8E\\u0178\\u1EF6\\u1EF4\\u01B3\\u024E\\u1EFE]/g\n },\n {\n base: \"Z\",\n letters: /[\\u005A\\u24CF\\uFF3A\\u0179\\u1E90\\u017B\\u017D\\u1E92\\u1E94\\u01B5\\u0224\\u2C7F\\u2C6B\\uA762]/g\n },\n {\n base: \"a\",\n letters: /[\\u0061\\u24D0\\uFF41\\u1E9A\\u00E0\\u00E1\\u00E2\\u1EA7\\u1EA5\\u1EAB\\u1EA9\\u00E3\\u0101\\u0103\\u1EB1\\u1EAF\\u1EB5\\u1EB3\\u0227\\u01E1\\u00E4\\u01DF\\u1EA3\\u00E5\\u01FB\\u01CE\\u0201\\u0203\\u1EA1\\u1EAD\\u1EB7\\u1E01\\u0105\\u2C65\\u0250]/g\n },\n { base: \"aa\", letters: /[\\uA733]/g },\n { base: \"ae\", letters: /[\\u00E6\\u01FD\\u01E3]/g },\n { base: \"ao\", letters: /[\\uA735]/g },\n { base: \"au\", letters: /[\\uA737]/g },\n { base: \"av\", letters: /[\\uA739\\uA73B]/g },\n { base: \"ay\", letters: /[\\uA73D]/g },\n {\n base: \"b\",\n letters: /[\\u0062\\u24D1\\uFF42\\u1E03\\u1E05\\u1E07\\u0180\\u0183\\u0253]/g\n },\n {\n base: \"c\",\n letters: /[\\u0063\\u24D2\\uFF43\\u0107\\u0109\\u010B\\u010D\\u00E7\\u1E09\\u0188\\u023C\\uA73F\\u2184]/g\n },\n {\n base: \"d\",\n letters: /[\\u0064\\u24D3\\uFF44\\u1E0B\\u010F\\u1E0D\\u1E11\\u1E13\\u1E0F\\u0111\\u018C\\u0256\\u0257\\uA77A]/g\n },\n { base: \"dz\", letters: /[\\u01F3\\u01C6]/g },\n {\n base: \"e\",\n letters: /[\\u0065\\u24D4\\uFF45\\u00E8\\u00E9\\u00EA\\u1EC1\\u1EBF\\u1EC5\\u1EC3\\u1EBD\\u0113\\u1E15\\u1E17\\u0115\\u0117\\u00EB\\u1EBB\\u011B\\u0205\\u0207\\u1EB9\\u1EC7\\u0229\\u1E1D\\u0119\\u1E19\\u1E1B\\u0247\\u025B\\u01DD]/g\n },\n { base: \"f\", letters: /[\\u0066\\u24D5\\uFF46\\u1E1F\\u0192\\uA77C]/g },\n {\n base: \"g\",\n letters: /[\\u0067\\u24D6\\uFF47\\u01F5\\u011D\\u1E21\\u011F\\u0121\\u01E7\\u0123\\u01E5\\u0260\\uA7A1\\u1D79\\uA77F]/g\n },\n {\n base: \"h\",\n letters: /[\\u0068\\u24D7\\uFF48\\u0125\\u1E23\\u1E27\\u021F\\u1E25\\u1E29\\u1E2B\\u1E96\\u0127\\u2C68\\u2C76\\u0265]/g\n },\n { base: \"hv\", letters: /[\\u0195]/g },\n {\n base: \"i\",\n letters: /[\\u0069\\u24D8\\uFF49\\u00EC\\u00ED\\u00EE\\u0129\\u012B\\u012D\\u00EF\\u1E2F\\u1EC9\\u01D0\\u0209\\u020B\\u1ECB\\u012F\\u1E2D\\u0268\\u0131]/g\n },\n { base: \"j\", letters: /[\\u006A\\u24D9\\uFF4A\\u0135\\u01F0\\u0249]/g },\n {\n base: \"k\",\n letters: /[\\u006B\\u24DA\\uFF4B\\u1E31\\u01E9\\u1E33\\u0137\\u1E35\\u0199\\u2C6A\\uA741\\uA743\\uA745\\uA7A3]/g\n },\n {\n base: \"l\",\n letters: /[\\u006C\\u24DB\\uFF4C\\u0140\\u013A\\u013E\\u1E37\\u1E39\\u013C\\u1E3D\\u1E3B\\u017F\\u0142\\u019A\\u026B\\u2C61\\uA749\\uA781\\uA747]/g\n },\n { base: \"lj\", letters: /[\\u01C9]/g },\n {\n base: \"m\",\n letters: /[\\u006D\\u24DC\\uFF4D\\u1E3F\\u1E41\\u1E43\\u0271\\u026F]/g\n },\n {\n base: \"n\",\n letters: /[\\u006E\\u24DD\\uFF4E\\u01F9\\u0144\\u00F1\\u1E45\\u0148\\u1E47\\u0146\\u1E4B\\u1E49\\u019E\\u0272\\u0149\\uA791\\uA7A5]/g\n },\n { base: \"nj\", letters: /[\\u01CC]/g },\n {\n base: \"o\",\n letters: /[\\u006F\\u24DE\\uFF4F\\u00F2\\u00F3\\u00F4\\u1ED3\\u1ED1\\u1ED7\\u1ED5\\u00F5\\u1E4D\\u022D\\u1E4F\\u014D\\u1E51\\u1E53\\u014F\\u022F\\u0231\\u00F6\\u022B\\u1ECF\\u0151\\u01D2\\u020D\\u020F\\u01A1\\u1EDD\\u1EDB\\u1EE1\\u1EDF\\u1EE3\\u1ECD\\u1ED9\\u01EB\\u01ED\\u00F8\\u01FF\\u0254\\uA74B\\uA74D\\u0275]/g\n },\n { base: \"oi\", letters: /[\\u01A3]/g },\n { base: \"ou\", letters: /[\\u0223]/g },\n { base: \"oo\", letters: /[\\uA74F]/g },\n {\n base: \"p\",\n letters: /[\\u0070\\u24DF\\uFF50\\u1E55\\u1E57\\u01A5\\u1D7D\\uA751\\uA753\\uA755]/g\n },\n { base: \"q\", letters: /[\\u0071\\u24E0\\uFF51\\u024B\\uA757\\uA759]/g },\n {\n base: \"r\",\n letters: /[\\u0072\\u24E1\\uFF52\\u0155\\u1E59\\u0159\\u0211\\u0213\\u1E5B\\u1E5D\\u0157\\u1E5F\\u024D\\u027D\\uA75B\\uA7A7\\uA783]/g\n },\n {\n base: \"s\",\n letters: /[\\u0073\\u24E2\\uFF53\\u00DF\\u015B\\u1E65\\u015D\\u1E61\\u0161\\u1E67\\u1E63\\u1E69\\u0219\\u015F\\u023F\\uA7A9\\uA785\\u1E9B]/g\n },\n {\n base: \"t\",\n letters: /[\\u0074\\u24E3\\uFF54\\u1E6B\\u1E97\\u0165\\u1E6D\\u021B\\u0163\\u1E71\\u1E6F\\u0167\\u01AD\\u0288\\u2C66\\uA787]/g\n },\n { base: \"tz\", letters: /[\\uA729]/g },\n {\n base: \"u\",\n letters: /[\\u0075\\u24E4\\uFF55\\u00F9\\u00FA\\u00FB\\u0169\\u1E79\\u016B\\u1E7B\\u016D\\u00FC\\u01DC\\u01D8\\u01D6\\u01DA\\u1EE7\\u016F\\u0171\\u01D4\\u0215\\u0217\\u01B0\\u1EEB\\u1EE9\\u1EEF\\u1EED\\u1EF1\\u1EE5\\u1E73\\u0173\\u1E77\\u1E75\\u0289]/g\n },\n {\n base: \"v\",\n letters: /[\\u0076\\u24E5\\uFF56\\u1E7D\\u1E7F\\u028B\\uA75F\\u028C]/g\n },\n { base: \"vy\", letters: /[\\uA761]/g },\n {\n base: \"w\",\n letters: /[\\u0077\\u24E6\\uFF57\\u1E81\\u1E83\\u0175\\u1E87\\u1E85\\u1E98\\u1E89\\u2C73]/g\n },\n { base: \"x\", letters: /[\\u0078\\u24E7\\uFF58\\u1E8B\\u1E8D]/g },\n {\n base: \"y\",\n letters: /[\\u0079\\u24E8\\uFF59\\u1EF3\\u00FD\\u0177\\u1EF9\\u0233\\u1E8F\\u00FF\\u1EF7\\u1E99\\u1EF5\\u01B4\\u024F\\u1EFF]/g\n },\n {\n base: \"z\",\n letters: /[\\u007A\\u24E9\\uFF5A\\u017A\\u1E91\\u017C\\u017E\\u1E93\\u1E95\\u01B6\\u0225\\u0240\\u2C6C\\uA763]/g\n }\n ];\n let newString = str;\n for (const mapItem of defaultDiacriticsRemovalMap) {\n newString = newString.replace(mapItem.letters, mapItem.base);\n }\n return newString;\n}\nexport function sluggify(text) {\n return removeDiacritics(text).replace(/[\\s\\.]/g, \"-\").toLowerCase();\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nimport { sluggify } from \"GlobalShared/sluggifier\";\nimport RcsRoute from \"route-parser\";\nexport const getParameters = (prefix) => {\n const params = /* @__PURE__ */ new Map();\n const shouldAddAll = !prefix;\n const paramList = getSearchParamList(window.location.search);\n paramList.forEach((entry) => {\n const isPrefixedTemp = isPrefixed(entry[0], prefix);\n if (entry[0] && (shouldAddAll || isPrefixedTemp)) {\n const key = isPrefixedTemp ? getKeyWithoutPrefix(entry[0], prefix) : entry[0];\n params.set(key, decodeURI(entry[1]));\n }\n });\n return params;\n};\nexport const hasParameter = (key, prefix) => {\n const keyToSearch = getKeyWithPrefix(key, prefix);\n return getParameters().has(keyToSearch);\n};\nexport const getParameter = (key, prefix) => {\n const keyToSearch = getKeyWithPrefix(key, prefix);\n return hasParameter(keyToSearch) ? getParameters().get(keyToSearch) : void 0;\n};\nexport const getUrlParams = (search) => {\n const hashes = search.slice(search.indexOf(\"?\") + 1).split(\"&\");\n const params = {};\n hashes.map((hash) => {\n const [key, val] = hash.split(\"=\");\n params[key] = decodeURIComponent(val);\n });\n return params;\n};\nconst handlers = /* @__PURE__ */ new Map();\nlet currentParams;\nlet currentRoute;\nlet routesJson;\nexport const notifyHandlers = (location, event) => {\n handlers.forEach((handler) => {\n handler(location, event);\n });\n};\nexport const addHandler = (name, locationUpdatedCallback) => {\n handlers.set(name, locationUpdatedCallback);\n};\nexport const navigateTo = (newRoute, title) => {\n const url = `${newRoute.startsWith(\"/\") ? \"\" : \"/\"}${newRoute}`;\n window.history.pushState({}, title, url);\n notifyHandlers(window.location);\n};\nexport const replaceTo = (newRoute, title) => {\n const url = `${newRoute.startsWith(\"/\") ? \"\" : \"/\"}${newRoute}`;\n window.history.replaceState({}, title, url);\n notifyHandlers(window.location);\n};\nexport const updateParameter = (key, value, prefix) => {\n if (key !== void 0 && value !== void 0) {\n updateParameters(/* @__PURE__ */ new Map([[key, value]]), prefix);\n }\n};\nexport const updateParameters = (map, prefix) => {\n if (map) {\n const newParams = getParameters();\n for (const entry of map) {\n const keyToUpdate = getKeyWithPrefix(entry[0], prefix);\n if (keyToUpdate) {\n newParams.set(keyToUpdate, entry[1]);\n }\n }\n replaceTo(toUri(newParams));\n }\n};\nexport const removeParameters = (keys, prefix) => {\n if (keys) {\n const newParams = getParameters();\n for (const key of keys) {\n const keyToRemove = getKeyWithPrefix(key, prefix);\n if (keyToRemove) {\n newParams.delete(keyToRemove);\n }\n }\n replaceTo(toUri(newParams));\n }\n};\nexport const removeParameter = (key, prefix) => {\n if (key) {\n removeParameters([key], prefix);\n }\n};\nexport const getCurrentFullPath = () => {\n return `${window.location.pathname}${window.location.search}${window.location.hash}`;\n};\nexport const removeOptionals = (localizedUrl) => {\n return localizedUrl.replace(/(\\(.*\\))/, \"\");\n};\nexport const getRouteElement = (name) => {\n return currentParams[name.toLocaleLowerCase()];\n};\nexport const getDynamicRoutesByKey = (key) => {\n return routesJson.Routes.Items.filter((route) => route.key === key);\n};\nexport const startRouting = (pRoutesJson, routeFilter) => {\n routesJson = pRoutesJson;\n const routes = getDynamicRoutes(routeFilter);\n const root = document.querySelector(\".router-mount-point\");\n installHandler(root, routes, (route, params) => {\n currentParams = params;\n if (route && route === currentRoute) {\n return;\n }\n currentRoute = route;\n if (!root) {\n return;\n }\n if (route === void 0) {\n const div = document.createElement(\"div\");\n div.innerHTML = `
Page not found
`;\n while (root.firstChild) {\n root.removeChild(root.firstChild);\n }\n root.appendChild(div);\n } else if (route.tag instanceof Function) {\n route.tag(route.path);\n } else {\n if (!route.type || route.type === \"wc\") {\n while (root.firstChild) {\n root.removeChild(root.firstChild);\n }\n root.appendChild(document.createElement(route.tag));\n }\n }\n });\n};\nconst getSearchParamList = (search = ``) => {\n const hashes = search.slice(search.indexOf(`?`) + 1).split(`&`);\n return hashes.reduce((acc, hash) => {\n const [key, val] = hash.split(`=`);\n acc.push([key, decodeURIComponent(val)]);\n return acc;\n }, []);\n};\nconst toUri = (params) => {\n let uri = `${window.location.pathname}`;\n const query = toQueryString(params);\n if (query && query.length > 0) {\n uri += encodeURI(`?${query}`);\n }\n return uri;\n};\nconst getKeyWithPrefix = (key, prefix) => {\n if (!key) {\n return void 0;\n }\n return prefix ? `${prefix}_${key}` : key;\n};\nconst getKeyWithoutPrefix = (key, prefix) => {\n if (!key) {\n return void 0;\n }\n const prefixToRemove = `${prefix}_`;\n return prefix ? key.replace(prefixToRemove, \"\") : key;\n};\nconst isPrefixed = (key, prefix) => {\n if (!key || !prefix) {\n return false;\n }\n return key.startsWith(`${prefix}_`);\n};\nconst toQueryString = (params) => {\n const items = [];\n for (const entry of params.entries()) {\n const key = entry[0];\n const value = entry[1];\n if (key !== void 0 && value !== void 0) {\n items.push(`${key}=${value}`);\n }\n }\n return items.join(\"&\");\n};\nconst installHandler = (root, pRoutes, handler) => {\n const routes = pRoutes.map((pRoute) => __spreadProps(__spreadValues({}, pRoute), {\n rcsRoute: new RcsRoute(pRoute.path)\n }));\n const locationUpdatedCallback = (location, _event) => {\n const { route, params } = matchRoute(routes, location);\n handler(route, params);\n };\n installRouter(root, locationUpdatedCallback);\n};\nconst installRouter = (root, locationUpdatedCallback) => {\n addHandler(\"router34892823\", locationUpdatedCallback);\n (root ? root : document.body).addEventListener(\"click\", (e) => {\n if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey) {\n return;\n }\n const anchor = e.composedPath().filter((n) => n.tagName === \"A\")[0];\n if (!anchor || anchor.target || anchor.hasAttribute(\"download\") || anchor.getAttribute(\"rel\") === \"external\" || anchor.dataset.routing && anchor.dataset.routing === \"server\") {\n return;\n }\n const href = anchor.href;\n if (!href || href.indexOf(\"mailto:\") !== -1) {\n return;\n }\n const location = window.location;\n const origin = location.origin || `${location.protocol}//${location.host}`;\n if (href.indexOf(origin) !== 0) {\n return;\n }\n e.preventDefault();\n if (href !== location.href) {\n window.history.pushState({}, \"\", href);\n notifyHandlers(window.location, e);\n }\n });\n window.addEventListener(\"popstate\", (e) => notifyHandlers(window.location, e));\n locationUpdatedCallback(window.location);\n};\nconst getDynamicRoutes = (routeFilter) => {\n return routesJson.Routes.Items.filter(routeFilter).reduce((aggr, route) => {\n return aggr.concat(\n route.trans.map((trans) => {\n const [lang, country] = trans.locale.split(\"-\");\n return {\n path: `/${country.toLowerCase()}/${lang}/${sluggify(trans.value)}${route.routePostfix ? route.routePostfix : \"\"}`,\n tag: route.tag\n };\n })\n );\n }, []);\n};\nconst matchRoute = (routes, location) => {\n for (const route of routes) {\n const path = `${location.pathname}${location.search}${location.hash}`;\n const params = route.rcsRoute.match(path);\n if (params) {\n return { route, params };\n }\n }\n return { route: void 0, params: void 0 };\n};\n","import languagesJson from \"../../../../../Infrastructure/Services/WonderWoman.WebHost/languages.json\";\nexport const webLanguages = Object.assign(\n {},\n ...languagesJson.Languages.Items.map((item) => {\n const key = item.key;\n delete item.key;\n return { [key]: item };\n })\n);\nexport function getWebLanguageByCountry(country) {\n const langKeys = Object.keys(webLanguages).filter((key) => webLanguages[key].country === country);\n if (langKeys.length === 1) {\n return webLanguages[langKeys[0]];\n } else {\n return void 0;\n }\n}\nexport function getWebLanguageByLocale(locale) {\n const langKeys = Object.keys(webLanguages).filter((key) => webLanguages[key].locale === locale);\n if (langKeys.length === 1) {\n return webLanguages[langKeys[0]];\n } else {\n return void 0;\n }\n}\n","import i18next from \"i18next\";\nimport cookie from \"js-cookie\";\nimport moment from \"moment\";\nimport Numbro from \"numbro\";\nimport cultureEnGB from \"numbro/languages/en-GB\";\nimport cultureDeDE from \"numbro/languages/de-DE\";\nimport cultureEsES from \"numbro/languages/es-ES\";\nimport cultureItIT from \"numbro/languages/it-IT\";\nimport cultureFrFR from \"numbro/languages/fr-FR\";\nimport cultureZhCN from \"numbro/languages/zh-CN\";\nconst cultureMap = {\n engb: cultureEnGB,\n dede: cultureDeDE,\n eses: cultureEsES,\n itit: cultureItIT,\n frfr: cultureFrFR,\n zhcn: cultureZhCN\n};\nconst pathNameItems = window.location.pathname.split(\"/\");\nconst countryFromPath = pathNameItems[1] ? pathNameItems[1] : \"gb\";\nconst langFromPath = pathNameItems[2] ? pathNameItems[2] : \"en\";\nexport const currentLang = `${langFromPath}-${countryFromPath}`;\nexport const currentLangKey = currentLang.replace(\"-\", \"\");\nexport const currentLangPath = `${countryFromPath}/${langFromPath}`;\nexport const currentLanguage = webLanguages[currentLangKey];\nexport const currentLocale = currentLanguage.locale;\nconst culture = cultureMap[currentLangKey];\nmoment.locale(currentLocale);\nNumbro.culture(culture.cultureCode, culture);\nNumbro.culture(culture.cultureCode);\nNumbro.defaultCurrencyFormat(\"0,0[.]00\");\nNumbro.defaultFormat(\"0,0[.]00\");\nimport enGBPo from \"../../../../locale/translated/en-gb.mpclient.json\";\nimport deDEPo from \"../../../../locale/translated/de-de.mpclient.json\";\nimport esESPo from \"../../../../locale/translated/es-es.mpclient.json\";\nimport itITPo from \"../../../../locale/translated/it-it.mpclient.json\";\nimport frFRPo from \"../../../../locale/translated/fr-fr.mpclient.json\";\nimport zhCNPo from \"../../../../locale/translated/zh-cn.mpclient.json\";\nimport { getDynamicRoutesByKey } from \"GlobalShared/router\";\nimport { webLanguages } from \"GlobalShared/helpers/webLocaleHelper\";\ni18next.init({\n initImmediate: false,\n nsSeparator: false,\n keySeparator: false,\n lng: currentLangKey,\n fallbackLng: [\"engb\"],\n returnEmptyString: false,\n resources: {\n // language: { namespace: resourse }\n engb: { translation: enGBPo },\n dede: { translation: deDEPo },\n eses: { translation: esESPo },\n itit: { translation: itITPo },\n frfr: { translation: frFRPo },\n zhcn: { translation: zhCNPo }\n },\n interpolation: {\n format: (value, format) => {\n if (format === \"custom\" && value) {\n const linkObject = value;\n return `${linkObject.title}`;\n }\n return value;\n }\n }\n});\nconst CurrencyKey = \"currency\";\nconst CurrencyPosition = \"prefix\";\nexport const Currencies = [\"EUR\", \"HUF\", \"GBP\", \"USD\"];\nexport function changeCurrency(currency) {\n Numbro.cultureData().currency = {\n position: CurrencyPosition,\n symbol: currency\n };\n localStorage.setItem(CurrencyKey, currency);\n}\nexport function getCurrency() {\n const storageCurrency = localStorage.getItem(CurrencyKey);\n const cookieCurrency = cookie.get(CurrencyKey);\n return storageCurrency || cookieCurrency || \"EUR\";\n}\nexport function getLanguageByLocale(locale) {\n const langKeys = Object.keys(webLanguages).filter((key) => webLanguages[key].locale === locale);\n if (langKeys.length === 1) {\n return webLanguages[langKeys[0]];\n } else {\n return void 0;\n }\n}\nexport function getLocalizedUrl(url) {\n if (url.startsWith(\"/\")) {\n return `/${currentLangPath}${url}`;\n } else {\n return `/${currentLangPath}/${url}`;\n }\n}\nexport const getRouteByKey = (key) => {\n const items = getDynamicRoutesByKey(key);\n if (items.length === 1) {\n const route = items[0];\n const translations = route.trans.filter((trans) => trans.locale === currentLocale);\n if (translations.length === 1) {\n const trans = translations[0];\n return getLocalizedUrl(trans.value);\n } else if (items.length > 1) {\n return getLocalizedUrl(\"ambiguous_trans\");\n } else {\n return getLocalizedUrl(\"notfound_trans\");\n }\n } else if (items.length > 1) {\n return getLocalizedUrl(\"ambiguous\");\n } else {\n return getLocalizedUrl(\"notfound\");\n }\n};\nexport const alreadySignedUp = () => {\n return ClientContext.SignedUp;\n};\nexport const questionnaireCompleted = () => {\n return ClientContext.QuestionnaireCompleted;\n};\n","export const EMAIL_REGEX = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\nexport const NO_SPECIAL_CHAR_REGEX = /^[^*_$()=@/%!+\"'§`.:;,\\?<>~\\|{}&#]*$/;\nexport const NO_SPECIAL_CHAR_AND_NUMBERS_REGEX = /^[^0-9*_$()=@/%!+\"'§`.:;,\\?<>~\\|{}&#]*$/;\nexport const DATE_REGEX = /^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$/;\nexport const SEATING_REGEX = /^([1-9]|[1-4][0-9]|50)[A-Fa-f]$/;\nexport const DECIMAL_PRICE_REGEX = /^\\d+(\\.\\d{1,2})?$/;\nexport const NON_DECIMAL_PRICE_REGEX = /^\\d+$/;\nexport const DEFAULT_DATE_FORMAT = \"YYYY-MM-DD\";\nexport const DEAFULT_MIN_DATE = /* @__PURE__ */ new Date(\"1900-01-01\");\nexport const COUNTRY_CODE_LENGTH = 2;\nexport const EXCEL_SEPARATOR_COMMAND = \"SEP=,\\n\";\nexport const ALPHANUMERIC_REGEX = /^[0-9a-zA-Z]+$/;\nexport const DIGITS = /\\d/;\nexport const LOWERCASE_CHARACTER = /[a-z]/;\nexport const UPPERCASE_CHARACTER = /[A-Z]/;\nexport const SPECIAL_CHARACTER = /[-+_!@#$%^&*.,?]/;\nexport const ONLY_DIGIT_REGEX = /^[0-9]*$/;\n","import { default as moment } from \"moment\";\nimport { DEFAULT_DATE_FORMAT } from \"GlobalShared/common/Constants\";\nconst DefaultDateTimeFormat = \"YYYY-MM-DD HH:mm\";\nconst DefaultTimestampFormat = \"YYYY-MM-DD HH:mm:ss.SSS\";\nexport const MIN_DATE = new Date(1970, 0, 1);\nexport const MAX_DATE = new Date(2100, 0, 1);\nexport const parseDate = (dateStr) => {\n return moment.utc(dateStr, DEFAULT_DATE_FORMAT);\n};\nexport const parseDateTimeUTC = (dateStr) => {\n return moment.utc(dateStr, DefaultDateTimeFormat);\n};\nexport const parseTimestampUTC = (dateStr) => {\n return moment.utc(dateStr, DefaultTimestampFormat);\n};\nexport const formatDate = (date) => {\n if (!date) {\n return \"undefined\";\n } else if (date instanceof Date) {\n return moment(date).format(DEFAULT_DATE_FORMAT);\n } else {\n return date.format(DEFAULT_DATE_FORMAT);\n }\n};\nexport const formatDateTime = (date) => {\n if (!date) {\n return \"undefined\";\n } else if (date instanceof Date) {\n return moment(date).format(DefaultDateTimeFormat);\n } else {\n return date.format(DefaultDateTimeFormat);\n }\n};\nexport const formatTimestamp = (date) => {\n if (!date) {\n return \"undefined\";\n } else if (date instanceof Date) {\n return moment(date).format(DefaultTimestampFormat);\n } else {\n return date.format(DefaultTimestampFormat);\n }\n};\nexport const formatDateTimeUTC = (date) => {\n if (!date) {\n return \"undefined\";\n } else {\n return moment.utc(date).format(DefaultDateTimeFormat);\n }\n};\nexport const formatTimestampUTC = (date) => {\n if (!date) {\n return \"undefined\";\n } else {\n return moment.utc(date).format(DefaultTimestampFormat);\n }\n};\nexport const createTodayTime = (hour, minute, second) => {\n const nowFrom = moment();\n nowFrom.set({ hour, minute, second, millisecond: 0 });\n return nowFrom.toDate();\n};\nexport const getDay = (date) => {\n if (date === void 0) {\n return void 0;\n }\n return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));\n};\nexport const getFirstDayOfMonth = (date) => {\n if (date === void 0) {\n return void 0;\n }\n return new Date(Date.UTC(date.getFullYear(), date.getMonth(), 1, 12, 12));\n};\nexport const getFirstDayOfNextMonth = (date) => {\n if (date === void 0) {\n return void 0;\n }\n return new Date(Date.UTC(date.getFullYear() + (date.getMonth() + 1) / 12, (date.getMonth() + 1) % 12, 1, 12, 12));\n};\nexport const getLastDayOfMonth = (date) => {\n if (date === void 0) {\n return void 0;\n }\n return getLastDayOfPreviousMonth(getFirstDayOfNextMonth(date));\n};\nexport const getLastDayOfNextMonth = (date) => {\n if (date === void 0) {\n return void 0;\n }\n return getLastDayOfMonth(getFirstDayOfNextMonth(date));\n};\nexport const getLastDayOfPreviousMonth = (date) => {\n if (date === void 0) {\n return void 0;\n }\n return moment(getFirstDayOfMonth(date)).subtract(1, \"days\").toDate();\n};\nexport const addMonths = (date, months) => {\n if (date === void 0) {\n return void 0;\n }\n return moment(date).add(months, \"months\").toDate();\n};\nexport const interpretYearOneAsUndefined = (date) => {\n return date && date.getFullYear() > 1 ? date : void 0;\n};\nexport const diffInMonthForMonthlyCalc = (fromDate, toDate) => {\n if (toDate === void 0 || fromDate === void 0 || fromDate > toDate) {\n return 0;\n }\n const diff = 12 * (toDate.getFullYear() - fromDate.getFullYear()) + toDate.getMonth() - fromDate.getMonth();\n return diff + 1;\n};\nexport const diffInMonths = (startDate, endDate) => {\n return Math.ceil(diffInMonthsPrecise(startDate, endDate));\n};\nexport const diffInMonthsPrecise = (startDate, endDate) => {\n if (startDate === void 0 || startDate === null || endDate === void 0 || endDate === null) {\n return 0;\n }\n const mStartDate = moment([startDate.getFullYear(), startDate.getMonth(), startDate.getDate()]);\n const mTermDate = moment([endDate.getFullYear(), endDate.getMonth(), endDate.getDate()]);\n return mTermDate.diff(mStartDate, \"months\", true);\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nconst authenticatedFetchFactory = (signal) => {\n return (url, init) => __async(void 0, null, function* () {\n const mutableInit = __spreadValues({}, init);\n if (signal !== void 0) {\n mutableInit.signal = signal;\n }\n if (mutableInit && mutableInit.headers && mutableInit.headers) {\n }\n return fetch(url, mutableInit);\n });\n};\nexport const authenticatedFetch = authenticatedFetchFactory;\n","import { authenticatedFetch } from \"./Authentication\";\nexport class ClientManager {\n constructor(abortSignal) {\n this.abortSignal = abortSignal;\n }\n createSelfClient(ctor) {\n return new ctor(window.location.origin, {\n fetch: authenticatedFetch(this.abortSignal)\n });\n }\n}\n","import * as redux from \"redux\";\nimport { combineReducers } from \"redux-immutable\";\nconst _ReduxContext = class {\n static dispatch(action) {\n _ReduxContext.store.dispatch(action);\n }\n static registerReducer(key, reducer) {\n _ReduxContext.reducerRegistry[key] = reducer;\n }\n static init() {\n const w = window;\n const rootReducer = combineReducers(_ReduxContext.reducerRegistry);\n _ReduxContext.store = redux.createStore(rootReducer, w.__REDUX_DEVTOOLS_EXTENSION__ && w.__REDUX_DEVTOOLS_EXTENSION__());\n }\n};\nexport let ReduxContext = _ReduxContext;\nReduxContext.reducerRegistry = {};\n","import { AttributePart, directive } from \"lit-html\";\nexport class DCValidationResult {\n constructor(validationResult) {\n this.getFailures = () => {\n return this.validationResult ? this.validationResult.getFailures() : [];\n };\n this.getValidationMessage = (propertyName) => {\n if (this.validationResult !== void 0) {\n const failures = this.validationResult.getFailures().filter((f) => f.propertyName === propertyName);\n if (failures.length > 0) {\n return failures[0].message;\n }\n }\n return void 0;\n };\n if (validationResult) {\n this.validationResult = validationResult;\n }\n }\n isValid() {\n var _a;\n return (_a = this.validationResult) == null ? void 0 : _a.isValid();\n }\n}\nexport function getRef(selector) {\n return document.querySelector(selector);\n}\nexport function getRefAll(selector) {\n return Array.from(document.querySelectorAll(selector));\n}\nexport const ref = directive((refInstance) => (part) => {\n if (!(part instanceof AttributePart)) {\n throw new Error(\"ref directive can only be used as an attribute\");\n }\n refInstance.current = part.committer.element;\n});\n","export function numberFormatter(data) {\n data.leadingSign = data.leadingSign === void 0 ? true : data.leadingSign;\n const currenciesWithDecimals = [\"usd\", \"brl\", \"ars\"];\n const culturesWithDot = [\"en-us\", \"es-pe\"];\n const mainWrapper = document.getElementById(\"mainContentWrapper\");\n if (mainWrapper || data.currency) {\n const currencyToUse = data.currency ? data.currency : mainWrapper.dataset.currency;\n const useDot = culturesWithDot.indexOf(data.culture.toLowerCase()) > -1;\n if (currencyToUse && currenciesWithDecimals.indexOf(currencyToUse.toLowerCase()) > -1) {\n data.amount = Math.round(data.amount * 100) / 100;\n let str = data.amount.toFixed(2);\n if (!useDot) {\n str = str.replace(\".\", \",\");\n }\n str = str.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \".\");\n return data.leadingSign ? `$ ${str}` : str;\n } else {\n data.amount = Math.round(data.amount);\n let str = data.amount.toString();\n str = useDot ? str.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") : str.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \".\");\n return data.leadingSign ? `$ ${str}` : str;\n }\n } else {\n return data.amount.toString();\n }\n}\nexport const roundMoney = (num, digit) => {\n const multiplier = digit * 10;\n return Math.round((num + Number.EPSILON) * multiplier) / multiplier;\n};\nexport const toSafeNumber = (val) => {\n return val !== \"\" && !isNaN(Number(val)) ? Number(val) : void 0;\n};\n","import i18next from \"i18next\";\nexport function padLeft(num, size = 2) {\n let text = String(Math.abs(num));\n while (text.length < size) {\n text = `0${text}`;\n }\n return num < 0 ? `-${text}` : text;\n}\nexport function padRight(num, size = 2) {\n let text = String(Math.abs(num));\n while (text.length < size) {\n text = `${text}0`;\n }\n return num < 0 ? `-${text}` : text;\n}\nexport function isEmpty(text) {\n return text === void 0 || text.length === 0;\n}\nexport function newUniqueId() {\n return Math.random().toString(36).substr(2, 9);\n}\nexport function onlyAlpha(val) {\n const regex = RegExp(/^[a-zA-Z]*$/);\n return regex.test(val);\n}\nexport function onlyAlphaNum(val) {\n const regex = RegExp(/^[a-zA-Z0-9]*$/);\n return regex.test(val);\n}\nexport const INVALID_MESSAGE = i18next.t(\"Invalid\");\nexport const REQUIRED_MESSAGE = i18next.t(\"Required\");\nexport const MAX_DATE_MESSAGE = i18next.t(\"Date must be before 2100-01-01\");\nexport const ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE = i18next.t(\"Only Latin characters are allowed\");\nexport const ONLY_EUROPEAN_CHARS_REGEX = RegExp(/^[a-zA-Z\\u00C0-\\u024F\\u0020-\\u0040]*$/);\nexport function onlyEuropeanCharacters(val) {\n const regex = ONLY_EUROPEAN_CHARS_REGEX;\n return regex.test(val);\n}\nexport const leftPad = (formattable, length, character) => {\n if (!formattable)\n return \"\";\n if (formattable.toString().length >= length)\n return formattable.toString();\n const count = length - formattable.toString().length + 1;\n return `${Array(count).join(character)}${formattable}`;\n};\nexport const testRegex = (value, regex) => {\n return value.toString().match(regex) !== null;\n};\n","import { formatDateTimeUTC, parseDateTimeUTC } from \"./dateHelper\";\nimport { toSafeNumber } from \"./numberHelper\";\nimport { isEmpty } from \"./stringHelper\";\nexport const decodeGridState = (s) => {\n if (s === void 0) {\n return void 0;\n }\n const getVariableValue = (pVal) => {\n const type = pVal[0];\n const val = decodeURIComponent(pVal.slice(1));\n if (type === \"u\") {\n return void 0;\n } else if (type === \"n\") {\n return toSafeNumber(val);\n } else if (type === \"d\") {\n return parseDateTimeUTC(val).toDate();\n } else {\n return val;\n }\n };\n const parts = s.split(\":\");\n if (parts.length > 0) {\n const first = parts[0].split(\"|\");\n if (first.length > 3) {\n const gs = {\n pageIndex: toSafeNumber(first[0]),\n pageSize: toSafeNumber(first[1]),\n orderBy: first[2],\n orderDir: first[3],\n appliedFilters: parts.slice(1).map((p) => {\n const afArr = p.split(\"|\");\n const typeAlias = afArr[2];\n let selectedValues;\n if (!isEmpty(afArr[3])) {\n if (typeAlias === \"s\") {\n selectedValues = afArr[3];\n } else {\n selectedValues = afArr[3].split(\",\").map((s2) => decodeURIComponent(s2));\n }\n }\n const filterProps = {\n operator: afArr[1],\n selectedValues,\n min: getVariableValue(afArr[4]),\n max: getVariableValue(afArr[5])\n };\n const af = {\n field: afArr[0],\n filterProps\n };\n return af;\n })\n };\n return gs;\n }\n return void 0;\n }\n return void 0;\n};\nexport const encodeGridState = (gridState) => {\n const pageAndOrder = `${gridState.pageIndex}|${gridState.pageSize}|${gridState.orderBy}|${gridState.orderDir}`;\n const getSelectedValues = (filter) => {\n if (filter.filterProps.selectedValues === void 0) {\n return \"\";\n }\n return (typeof filter.filterProps.selectedValues === \"string\" ? [filter.filterProps.selectedValues] : filter.filterProps.selectedValues).map((s) => encodeURIComponent(s)).join(\",\");\n };\n const getVariableValue = (val) => {\n if (val === void 0) {\n return \"u\";\n }\n if (typeof val === \"number\") {\n return \"n\" + encodeURIComponent(val.toString());\n } else if (val instanceof Date) {\n return \"d\" + encodeURIComponent(formatDateTimeUTC(val));\n }\n return \"s\" + encodeURIComponent(val.toString());\n };\n const getTypeAlias = (filter) => {\n return typeof filter.filterProps.selectedValues === \"string\" ? \"s\" : \"a\";\n };\n const filters = gridState.appliedFilters.map(\n (af) => `${af.field}|${af.filterProps.operator}|${getTypeAlias(af)}|${getSelectedValues(af)}|${getVariableValue(af.filterProps.min)}|${getVariableValue(af.filterProps.max)}`\n );\n return [pageAndOrder, ...filters].join(\":\");\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport {\n hook,\n Hook,\n useEffect as hauntedUseEffect,\n useState as hauntedUseState,\n useRef as hauntedUseRef,\n useMemo as hauntedUseMemo,\n useCallback as hauntedUseCallback,\n useReducer as hauntedUseReducer\n} from \"haunted\";\nimport { formatTimestampUTC, parseTimestampUTC } from \"GlobalShared/helpers/dateHelper\";\nimport { ClientManager } from \"GlobalShared/ClientManager\";\nimport { ReduxContext } from \"GlobalShared/ReduxContext\";\nimport { getParameter, updateParameter } from \"GlobalShared/router\";\nimport { DCValidationResult } from \"./HooksHelpers\";\nimport { isCollection } from \"immutable\";\nimport { decodeGridState, encodeGridState } from \"GlobalShared/helpers/urlHelper\";\nclass ClientManagerHook extends Hook {\n constructor(id, state, ctor) {\n super(id, state);\n this.abortController = new AbortController();\n this.client = new ClientManager(this.abortController.signal).createSelfClient(ctor);\n }\n update() {\n return this.client;\n }\n teardown() {\n this.abortController.abort();\n }\n}\nclass QueryStateManagerHook extends Hook {\n constructor(id, state, key, initialValue) {\n super(id, state);\n this.updater = this.updater.bind(this);\n this.key = key;\n const parameter = getParameter(key);\n if (parameter !== void 0) {\n if (initialValue instanceof Date) {\n this.makeArgs(parseTimestampUTC(parameter).toDate());\n } else if (typeof initialValue === \"number\") {\n this.makeArgs(parseInt(parameter, 10));\n } else if (typeof initialValue === \"string\") {\n this.makeArgs(parameter);\n } else if (typeof initialValue === \"boolean\") {\n this.makeArgs(parameter);\n } else {\n this.makeArgs(parameter);\n }\n } else {\n this.makeArgs(initialValue);\n }\n }\n update() {\n return this.args;\n }\n makeArgs(value) {\n this.args = Object.freeze([value, this.updater.bind(this)]);\n }\n updater(value) {\n if (value instanceof Date) {\n updateParameter(this.key, formatTimestampUTC(value));\n } else if (typeof value === \"number\") {\n updateParameter(this.key, value.toString());\n } else if (typeof value === \"string\") {\n updateParameter(this.key, value);\n } else if (typeof value === \"boolean\") {\n updateParameter(this.key, value.toString());\n }\n this.makeArgs(value);\n this.state.update();\n }\n}\nexport const useRef = hauntedUseRef;\nexport const useState = hauntedUseState;\nexport const useCallback = hauntedUseCallback;\nexport const useMemo = hauntedUseMemo;\nexport const useReducer = hauntedUseReducer;\nexport const useClient = hook(ClientManagerHook);\nexport const useQueryState = hook(QueryStateManagerHook);\nexport const useEffect = (callback, values) => {\n hauntedUseEffect(() => {\n window.setTimeout(() => {\n const result = callback();\n if (result instanceof Promise) {\n result.catch((reason) => __async(void 0, null, function* () {\n console.log(reason);\n }));\n }\n }, 0);\n }, values);\n};\nexport const useReduxState = (path) => {\n const [data, setData] = useState(void 0);\n useEffect(() => {\n const items = path.split(\".\");\n const currentVal = ReduxContext.store.getState().getIn(items);\n setData(isCollection(currentVal) ? currentVal.toJS() : currentVal);\n let savedData = currentVal;\n return ReduxContext.store.subscribe(() => {\n const newData = ReduxContext.store.getState().getIn(items);\n if (newData !== savedData) {\n savedData = newData;\n const currData = isCollection(newData) ? newData.toJS() : newData;\n setData(currData);\n }\n });\n }, [path]);\n return data;\n};\nexport const useValidationContext = (validator, dispatcher) => {\n const [validationResult, setValidationResult] = useState(new DCValidationResult());\n const [fieldsExplicitlyValidated, setFieldsExplicitlyValidated] = useState({});\n const [newFieldsToAddAtValidation, setNewFieldsToAddAtValidation] = useState([]);\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => __async(void 0, null, function* () {\n if (dispatchIfValid) {\n setDispatchIfValid(false);\n if (validationResult.isValid() && dispatcher) {\n dispatcher();\n }\n }\n }), [validationResult]);\n const addValidationFieldsAtValidation = (fieldNames) => {\n setNewFieldsToAddAtValidation(fieldNames);\n };\n const addValidationFields = (otherNewFieldsToBeValidated) => {\n if ((newFieldsToAddAtValidation == null ? void 0 : newFieldsToAddAtValidation.length) > 0 || (otherNewFieldsToBeValidated == null ? void 0 : otherNewFieldsToBeValidated.length) > 0) {\n const newValidationFields = __spreadValues({}, fieldsExplicitlyValidated);\n otherNewFieldsToBeValidated == null ? void 0 : otherNewFieldsToBeValidated.forEach((fieldName) => {\n newValidationFields[fieldName] = true;\n });\n newFieldsToAddAtValidation == null ? void 0 : newFieldsToAddAtValidation.forEach((fieldName) => {\n newValidationFields[fieldName] = true;\n });\n setFieldsExplicitlyValidated(newValidationFields);\n setNewFieldsToAddAtValidation([]);\n }\n };\n const validate = (viewModel, newFieldsToBeValidated) => {\n addValidationFields(newFieldsToBeValidated);\n const validationResult2 = new DCValidationResult(validator.validate(viewModel));\n setValidationResult(validationResult2);\n return validationResult2;\n };\n return {\n validate,\n validateAndDispatch: (viewModel, newFieldsToBeValidated) => {\n setDispatchIfValid(true);\n return validate(viewModel, newFieldsToBeValidated);\n },\n validateField: (fieldName) => {\n addValidationFieldsAtValidation([fieldName]);\n },\n getValidationMessage: (fieldName) => {\n const msg = fieldsExplicitlyValidated[fieldName] ? validationResult.getValidationMessage(fieldName) : \"\";\n return msg;\n },\n validateFields: addValidationFieldsAtValidation,\n clearFieldValidations: () => {\n setFieldsExplicitlyValidated({});\n },\n validationResult\n };\n};\nexport const useLoadingReducer = () => useReducer(\n (state, action) => {\n if (action === \"inc\") {\n return { count: state.count + 1 };\n } else if (action === \"dec\") {\n return { count: state.count - 1 };\n } else {\n return state;\n }\n },\n { count: 0 }\n);\nexport const useQueryGridState = (defaultGridState, queryParam = \"gs\") => {\n var _a;\n const [gridState, setGridState] = useState((_a = decodeGridState(getParameter(queryParam))) != null ? _a : defaultGridState);\n useEffect(() => {\n updateParameter(queryParam, encodeGridState(gridState));\n }, [gridState]);\n return [gridState, setGridState];\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport * as case_ from \"case\";\nconst MULTIPART_FORM_DATA = \"multipart/form-data\";\nexport class TswagClient {\n constructor(url, method, contentType, accept, options) {\n this.addQueryParams = (params) => {\n const queryParams = params.filter(this.paramCanBeAdded).map((param) => `${param.name}=${encodeURIComponent(\"\" + param.value)}`);\n this.url += queryParams.length > 0 ? `?${queryParams.join(\"&\")}` : \"\";\n };\n this.addPathParams = (params) => {\n params.filter(this.paramCanBeAdded).forEach((param) => this.url = this.url.replace(`{${param.name}}`, encodeURIComponent(\"\" + param.value)));\n };\n this.addBody = (param) => {\n let body;\n if (param.isArray) {\n if (param.isPrimitive) {\n body = JSON.stringify(param.value);\n } else {\n const contentData = [];\n for (const item of param.value) {\n contentData.push(item.toJSON());\n }\n body = JSON.stringify(contentData);\n }\n } else {\n if (param.isPrimitive) {\n body = `\"${param.value.toString()}\"`;\n } else {\n body = JSON.stringify(param.value ? param.value.toJSON() : void 0);\n }\n }\n this.options.body = body;\n };\n this.addFormData = (contentType, params) => {\n if (contentType === MULTIPART_FORM_DATA) {\n const body = new FormData();\n params.filter(this.paramCanBeAdded).forEach((param) => {\n if (Array.isArray(param.value)) {\n param.value.forEach((param2) => {\n body.append(param2.name, param2);\n });\n } else {\n body.append(param.name, param.value);\n }\n });\n this.options.body = body;\n } else {\n this.options.body = params.filter(this.paramCanBeAdded).map((param) => `${param.name}=${param.value}`).join(\"&\");\n }\n };\n this.addHeaderParams = (params) => {\n params.filter(this.paramCanBeAdded).forEach((param) => this.headers.set(param.name, param.value));\n };\n this.paramCanBeAdded = (param) => {\n if (param.required && (param.value === void 0 || param.value === null)) {\n throw new Error(`The parameter '${param.name}' must be defined.`);\n }\n return param.value !== void 0;\n };\n this.fetch = (http, respDescriptor) => __async(this, null, function* () {\n var _a;\n this.options.headers = this.headers;\n const response = yield http.fetch(this.url, this.options);\n const headers = {};\n respDescriptor.headerParams.forEach((name) => {\n headers[case_.camel(name)] = response.headers.get(name);\n });\n const respDescItems = respDescriptor.items.filter((item) => item.statusCode === response.status);\n if (respDescItems.length > 0) {\n const respDescItem = respDescItems[0];\n if (respDescItem.isFile) {\n const responseBlob = yield response.blob();\n let fileName = \"unknown.\" + responseBlob.type.split(\"/\")[1];\n const fileNamePart = (_a = response.headers.get(\"content-disposition\")) == null ? void 0 : _a.split(\"filename=\");\n if (fileNamePart !== void 0 && fileNamePart.length > 0) {\n fileName = fileNamePart[1].split(\";\")[0];\n }\n const file = new File([responseBlob], fileName);\n return { headers, data: file };\n } else {\n const responseText = yield response.text();\n const resultData = responseText === void 0 || responseText === \"\" ? void 0 : (() => {\n try {\n return JSON.parse(responseText);\n } catch (e) {\n }\n return responseText;\n })();\n let result;\n if (resultData !== void 0) {\n if (respDescItem.isArray) {\n result = new Array();\n result = [];\n for (const item of resultData) {\n if (respDescItem.clazz === void 0 && respDescItem.factory === void 0) {\n result.push(item);\n } else {\n const inst = respDescItem.factory ? respDescItem.factory.create(item.$type) : new respDescItem.clazz();\n result.push(inst.init(item));\n }\n }\n } else {\n if (respDescItem.clazz === void 0 && respDescItem.factory === void 0) {\n result = resultData;\n } else {\n result = respDescItem.factory ? respDescItem.factory.create(resultData.$type) : new respDescItem.clazz();\n result.init(resultData);\n }\n }\n }\n if (response.status >= 200 && response.status < 300) {\n return { headers, data: result };\n } else {\n const error = result === void 0 ? {} : result;\n error.statusCode = response.status;\n error.transactionId = response.headers.get(\"TransactionId\");\n throw error;\n }\n }\n } else {\n const responseText = yield response.text();\n const error = new Error(`Unexpected Error`);\n error.responseText = responseText;\n error.statusCode = response.status;\n error.transactionId = response.headers.get(\"TransactionId\");\n try {\n error.data = JSON.parse(responseText);\n } catch (e) {\n }\n throw error;\n }\n });\n this.url = url;\n this.headers = new Headers(options.headers);\n if (contentType !== MULTIPART_FORM_DATA) {\n this.headers.set(\"Content-Type\", contentType);\n }\n this.headers.set(\"Accept\", accept);\n this.options = options;\n this.options.method = method;\n }\n getFetch(http, responseHandler) {\n return __async(this, null, function* () {\n const result = yield http.fetch(this.url, this.options);\n return responseHandler(result);\n });\n }\n}\n","export class ErrorMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ErrorMessage\n */\n this.$type = \"V1.Common.Error.ErrorMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = _data[\"Code\"];\n this.Message = _data[\"Message\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = this.Code;\n _data[\"Message\"] = this.Message;\n return _data;\n }\n}\n","import { ErrorMessage } from \"./ErrorMessage\";\nexport class Error {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Error\n */\n this.$type = \"V1.Common.Error.Error\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = _data[\"Code\"];\n if (_data[\"ErrorMessages\"] && _data[\"ErrorMessages\"].constructor === Array) {\n this.ErrorMessages = [];\n for (let item of _data[\"ErrorMessages\"]) {\n const errorMessages_ = new ErrorMessage();\n this.ErrorMessages.push(errorMessages_.init(item));\n }\n }\n this.Message = _data[\"Message\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = this.Code;\n if (this.ErrorMessages && this.ErrorMessages.constructor === Array) {\n _data[\"ErrorMessages\"] = [];\n for (let item of this.ErrorMessages) {\n _data[\"ErrorMessages\"].push(item.toJSON());\n }\n }\n _data[\"Message\"] = this.Message;\n return _data;\n }\n}\n","export class UserEmail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof UserEmail\n */\n this.$type = \"V1.Account.UserEmail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Email = _data[\"Email\"];\n this.Id = _data[\"Id\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Email\"] = this.Email;\n _data[\"Id\"] = this.Id;\n return _data;\n }\n}\n","export class Company {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Company\n */\n this.$type = \"V1.Account.Search.Company\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n return _data;\n }\n}\n","import { Company } from \"./Company\";\nexport class User {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof User\n */\n this.$type = \"V1.Account.Search.User\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Companies\"] && _data[\"Companies\"].constructor === Array) {\n this.Companies = [];\n for (let item of _data[\"Companies\"]) {\n const companies_ = new Company();\n this.Companies.push(companies_.init(item));\n }\n }\n this.Email = _data[\"Email\"];\n this.Id = _data[\"Id\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Companies && this.Companies.constructor === Array) {\n _data[\"Companies\"] = [];\n for (let item of this.Companies) {\n _data[\"Companies\"].push(item.toJSON());\n }\n }\n _data[\"Email\"] = this.Email;\n _data[\"Id\"] = this.Id;\n return _data;\n }\n}\n","import { User } from \"./User\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Account.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"Users\"] && _data[\"Users\"].constructor === Array) {\n this.Users = [];\n for (let item of _data[\"Users\"]) {\n const users_ = new User();\n this.Users.push(users_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.Users && this.Users.constructor === Array) {\n _data[\"Users\"] = [];\n for (let item of this.Users) {\n _data[\"Users\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { UserEmail } from \"./../models/V1/Account/UserEmail\";\nimport { SearchResult } from \"./../models/V1/Account/Search/SearchResult\";\nexport class Account {\n /**\n * Creates an instance of Account.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Account\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param ChangeEmailRq_ _changeEmailRq\n * @returns Promise\n * @memberof Account\n */\n changeEmail(pChangeEmailRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/account/email\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pChangeEmailRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetEmailAddressesRq_ _getEmailAddressesRq\n * @returns Promise\n * @memberof Account\n */\n getEmailAddresses(pGetEmailAddressesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/account/emails\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pGetEmailAddressesRq.body, isArray: true, isPrimitive: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: UserEmail, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeEmailForUserRq_ _changeEmailForUserRq\n * @returns Promise\n * @memberof Account\n */\n changeEmailForUser(pChangeEmailForUserRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/account/{userId}/email\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"userId\", value: pChangeEmailForUserRq.userId, required: true }\n ]);\n client.addBody({ value: pChangeEmailForUserRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchUsersRq_ _searchUsersRq\n * @returns Promise\n * @memberof Account\n */\n searchUsers(pSearchUsersRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/account/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchUsersRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param PatchCompaniesRq_ _patchCompaniesRq\n * @returns Promise\n * @memberof Account\n */\n patchCompanies(pPatchCompaniesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/account/{userId}/companies\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"userId\", value: pPatchCompaniesRq.userId, required: true }\n ]);\n client.addBody({ value: pPatchCompaniesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param InviteUserRq_ _inviteUserRq\n * @returns Promise\n * @memberof Account\n */\n inviteUser(pInviteUserRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/account/invite\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pInviteUserRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class Company {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Company\n */\n this.$type = \"V1.Companies.Company\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CompanyName = _data[\"CompanyName\"];\n this.Id = _data[\"Id\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"Id\"] = this.Id;\n return _data;\n }\n}\n","import { Company } from \"./../Company\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Companies.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Companies\"] && _data[\"Companies\"].constructor === Array) {\n this.Companies = [];\n for (let item of _data[\"Companies\"]) {\n const companies_ = new Company();\n this.Companies.push(companies_.init(item));\n }\n }\n this.Count = _data[\"Count\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Companies && this.Companies.constructor === Array) {\n _data[\"Companies\"] = [];\n for (let item of this.Companies) {\n _data[\"Companies\"].push(item.toJSON());\n }\n }\n _data[\"Count\"] = this.Count;\n return _data;\n }\n}\n","export class DateConverter {\n // yyyy-MM-dd\n static toUtcDateString(date) {\n if (date) {\n return this.padYear(date.getUTCFullYear()) + \"-\" + this.pad(date.getUTCMonth() + 1) + \"-\" + this.pad(date.getUTCDate());\n } else {\n return void 0;\n }\n }\n // yyyy-MM-dd\n static toClientLocalDateString(date) {\n if (date) {\n return this.padYear(date.getFullYear()) + \"-\" + this.pad(date.getMonth() + 1) + \"-\" + this.pad(date.getDate());\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sssZ\n static toIsoUtcString(date) {\n if (date) {\n return date.toISOString();\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sss+hhmm\n static toIsoClientLocalString(date) {\n if (date) {\n const hoursOffset = Math.abs(date.getTimezoneOffset() / 60);\n const minutesOffset = Math.abs(date.getTimezoneOffset() % 60);\n const offsetCharacter = date.getTimezoneOffset() < 0 ? \"+\" : \"-\";\n return this.padYear(date.getFullYear()) + \"-\" + this.pad(date.getMonth() + 1) + \"-\" + this.pad(date.getDate()) + \"T\" + this.pad(date.getHours()) + \":\" + this.pad(date.getMinutes()) + \":\" + this.pad(date.getSeconds()) + offsetCharacter + this.pad(hoursOffset) + this.pad(minutesOffset);\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sss (without Z)\n static toIsoUtcUnspecifiedString(date) {\n if (date) {\n return date.toISOString().slice(0, -1);\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sss (without +hhmm)\n static toIsoClientLocalUnspecifiedString(date) {\n if (date) {\n return this.padYear(date.getFullYear()) + \"-\" + this.pad(date.getMonth() + 1) + \"-\" + this.pad(date.getDate()) + \"T\" + this.pad(date.getHours()) + \":\" + this.pad(date.getMinutes()) + \":\" + this.pad(date.getSeconds());\n } else {\n return void 0;\n }\n }\n // To avoid browser incompatibility, if the timezone or Z is missing, we assume UTC timezone\n static from(dateString) {\n if (!dateString) {\n return void 0;\n }\n if (!this.isTimeSpecified(dateString)) {\n dateString = `${dateString}T00:00:00.000Z`;\n }\n if (!this.isTimezoneSpecified(dateString)) {\n dateString = `${dateString}Z`;\n }\n return new Date(dateString);\n }\n static isTimeSpecified(dateString) {\n return dateString.includes(\"T\");\n }\n static isTimezoneSpecified(dateString) {\n return dateString.includes(\"Z\") || dateString.includes(\"+\");\n }\n static pad(n) {\n return n < 10 ? \"0\" + n : n.toString();\n }\n static padYear(n) {\n return n.toString().padStart(4, \"0\");\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class Subscription {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Subscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.Subscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CancellationDate = DateConverter.from(_data[\"CancellationDate\"]);\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.Id = _data[\"Id\"];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n this.Status = SubscriptionStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"CancellationDate\"] = DateConverter.toUtcDateString(this.CancellationDate);\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"Id\"] = this.Id;\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n _data[\"Status\"] = SubscriptionStatus[this.Status];\n return _data;\n }\n}\nexport var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {\n SubscriptionStatus2[\"Active\"] = \"Active\";\n SubscriptionStatus2[\"Cancelled\"] = \"Cancelled\";\n SubscriptionStatus2[\"Pending\"] = \"Pending\";\n return SubscriptionStatus2;\n})(SubscriptionStatus || {});\n","import { Subscription } from \"./Subscription\";\nexport class FilingAgentSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FilingAgentSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.FilingAgentSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class FiscalRepresentativeSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FiscalRepresentativeSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.FiscalRepresentativeSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class IntrastatInSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IntrastatInSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.IntrastatInSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class IntrastatOutSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IntrastatOutSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.IntrastatOutSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class IossComplianceSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IossComplianceSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.IossComplianceSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.PackageAmount = _data[\"PackageAmount\"];\n this.Tier = IossComplianceSubscriptionTier[_data[\"Tier\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"PackageAmount\"] = this.PackageAmount;\n _data[\"Tier\"] = IossComplianceSubscriptionTier[this.Tier];\n return _data;\n }\n}\nexport var IossComplianceSubscriptionTier = /* @__PURE__ */ ((IossComplianceSubscriptionTier2) => {\n IossComplianceSubscriptionTier2[\"Tier0\"] = \"Tier0\";\n IossComplianceSubscriptionTier2[\"Tier1\"] = \"Tier1\";\n IossComplianceSubscriptionTier2[\"Tier2\"] = \"Tier2\";\n IossComplianceSubscriptionTier2[\"Tier3\"] = \"Tier3\";\n return IossComplianceSubscriptionTier2;\n})(IossComplianceSubscriptionTier || {});\n","import { Subscription } from \"./Subscription\";\nexport class RetrospectiveReturnSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof RetrospectiveReturnSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.RetrospectiveReturnSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class SpanishBankAccountSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SpanishBankAccountSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.SpanishBankAccountSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class VatComplianceSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatComplianceSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.VatComplianceSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nimport { FilingAgentSubscription } from \"./FilingAgentSubscription\";\nimport { FiscalRepresentativeSubscription } from \"./FiscalRepresentativeSubscription\";\nimport { IntrastatInSubscription } from \"./IntrastatInSubscription\";\nimport { IntrastatOutSubscription } from \"./IntrastatOutSubscription\";\nimport { IossComplianceSubscription } from \"./IossComplianceSubscription\";\nimport { RetrospectiveReturnSubscription } from \"./RetrospectiveReturnSubscription\";\nimport { SpanishBankAccountSubscription } from \"./SpanishBankAccountSubscription\";\nimport { VatComplianceSubscription } from \"./VatComplianceSubscription\";\nexport class SubscriptionFactory {\n static create($type) {\n if ($type === \"V1.CompanyInfo.Subscriptions.Subscription\") {\n const result = new Subscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.FilingAgentSubscription\") {\n const result = new FilingAgentSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.FiscalRepresentativeSubscription\") {\n const result = new FiscalRepresentativeSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.IntrastatInSubscription\") {\n const result = new IntrastatInSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.IntrastatOutSubscription\") {\n const result = new IntrastatOutSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.IossComplianceSubscription\") {\n const result = new IossComplianceSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.RetrospectiveReturnSubscription\") {\n const result = new RetrospectiveReturnSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.SpanishBankAccountSubscription\") {\n const result = new SpanishBankAccountSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.VatComplianceSubscription\") {\n const result = new VatComplianceSubscription();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { SearchResult } from \"./../models/V1/Companies/Search/SearchResult\";\nimport { Subscription } from \"./../models/V1/CompanyInfo/Subscriptions/Subscription\";\nimport { SubscriptionFactory } from \"./../models/V1/CompanyInfo/Subscriptions/SubscriptionFactory\";\nexport class Companies {\n /**\n * Creates an instance of Companies.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Companies\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SignUpRq_ _signUpRq\n * @returns Promise\n * @memberof Companies\n */\n signUp(pSignUpRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Companies\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/json\",\n options\n );\n client.addBody({ value: pSignUpRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeCompanyRq_ _changeCompanyRq\n * @returns Promise\n * @memberof Companies\n */\n changeCompany(pChangeCompanyRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Companies/selected\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/json\",\n options\n );\n client.addBody({ value: pChangeCompanyRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchRq_ _searchRq\n * @returns Promise\n * @memberof Companies\n */\n search(pSearchRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Companies/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ReValidateVatNumberRq_ _reValidateVatNumberRq\n * @returns Promise\n * @memberof Companies\n */\n reValidateVatNumber(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Companies/vatnumber/revalidate\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/json; charset=UTF-8\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddSubscriptionFeedbackRq_ _addSubscriptionFeedbackRq\n * @returns Promise\n * @memberof Companies\n */\n addSubscriptionFeedback(pAddSubscriptionFeedbackRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Companies/subscriptions/{subscriptionId}\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"subscriptionId\", value: pAddSubscriptionFeedbackRq.subscriptionId, required: true }\n ]);\n client.addBody({ value: pAddSubscriptionFeedbackRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetExpiringSubscriptionsRq_ _getExpiringSubscriptionsRq\n * @returns Promise\n * @memberof Companies\n */\n getExpiringSubscriptions(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Companies/subscriptions/expiring\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Subscription, isArray: true, factory: SubscriptionFactory }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class Address {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Address\n */\n this.$type = \"V1.Common.Address\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.City = _data[\"City\"];\n this.Province = _data[\"Province\"];\n this.Street = _data[\"Street\"];\n this.StreetNumber = _data[\"StreetNumber\"];\n this.Zip = _data[\"Zip\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"City\"] = this.City;\n _data[\"Province\"] = this.Province;\n _data[\"Street\"] = this.Street;\n _data[\"StreetNumber\"] = this.StreetNumber;\n _data[\"Zip\"] = this.Zip;\n return _data;\n }\n}\n","import { Address } from \"./../Common/Address\";\nexport class BusinessDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessDetail\n */\n this.$type = \"V1.CompanyInfo.BusinessDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.ContactPosition = _data[\"ContactPosition\"];\n this.EstablishmentCountryCode = _data[\"EstablishmentCountryCode\"];\n this.IsEstablishmentCountryInEu = _data[\"IsEstablishmentCountryInEu\"];\n this.Phone = _data[\"Phone\"];\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"ContactPosition\"] = this.ContactPosition;\n _data[\"EstablishmentCountryCode\"] = this.EstablishmentCountryCode;\n _data[\"IsEstablishmentCountryInEu\"] = this.IsEstablishmentCountryInEu;\n _data[\"Phone\"] = this.Phone;\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","export class Name {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Name\n */\n this.$type = \"V1.Common.Person.Name\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.FirstName = _data[\"FirstName\"];\n this.LastName = _data[\"LastName\"];\n this.Title = NameTitle[_data[\"Title\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"FirstName\"] = this.FirstName;\n _data[\"LastName\"] = this.LastName;\n _data[\"Title\"] = NameTitle[this.Title];\n return _data;\n }\n}\nexport var NameTitle = /* @__PURE__ */ ((NameTitle2) => {\n NameTitle2[\"Mr\"] = \"Mr\";\n NameTitle2[\"Mrs\"] = \"Mrs\";\n NameTitle2[\"Ms\"] = \"Ms\";\n return NameTitle2;\n})(NameTitle || {});\n","import { Name } from \"./../Common/Person/Name\";\nimport { BusinessDetail } from \"./BusinessDetail\";\nexport class CompanyDetail extends BusinessDetail {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyDetail\n */\n this.$type = \"V1.CompanyInfo.CompanyDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CompanyName = _data[\"CompanyName\"];\n if (_data[\"ContactName\"]) {\n const contactName_ = new Name();\n this.ContactName = contactName_.init(_data[\"ContactName\"]);\n }\n this.LegalStatus = CompanyDetailLegalStatus[_data[\"LegalStatus\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"ContactName\"] = this.ContactName ? this.ContactName.toJSON() : void 0;\n _data[\"LegalStatus\"] = CompanyDetailLegalStatus[this.LegalStatus];\n return _data;\n }\n}\nexport var CompanyDetailLegalStatus = /* @__PURE__ */ ((CompanyDetailLegalStatus2) => {\n CompanyDetailLegalStatus2[\"Company\"] = \"Company\";\n CompanyDetailLegalStatus2[\"Partnership\"] = \"Partnership\";\n return CompanyDetailLegalStatus2;\n})(CompanyDetailLegalStatus || {});\n","import { Name } from \"./../Common/Person/Name\";\nimport { BusinessDetail } from \"./BusinessDetail\";\nexport class IndividualDetail extends BusinessDetail {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IndividualDetail\n */\n this.$type = \"V1.CompanyInfo.IndividualDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Name\"]) {\n const name_ = new Name();\n this.Name = name_.init(_data[\"Name\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Name\"] = this.Name ? this.Name.toJSON() : void 0;\n return _data;\n }\n}\n","import { BusinessDetail } from \"./BusinessDetail\";\nimport { CompanyDetail } from \"./CompanyDetail\";\nimport { IndividualDetail } from \"./IndividualDetail\";\nexport class BusinessDetailFactory {\n static create($type) {\n if ($type === \"V1.CompanyInfo.BusinessDetail\") {\n const result = new BusinessDetail();\n return result;\n }\n if ($type === \"V1.CompanyInfo.CompanyDetail\") {\n const result = new CompanyDetail();\n return result;\n }\n if ($type === \"V1.CompanyInfo.IndividualDetail\") {\n const result = new IndividualDetail();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","export class Country {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Country\n */\n this.$type = \"V1.Common.MasterData.Country\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = _data[\"Code\"];\n this.Name = _data[\"Name\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = this.Code;\n _data[\"Name\"] = this.Name;\n return _data;\n }\n}\n","export class Document {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Document\n */\n this.$type = \"V1.CompanyInfo.Detail.Document\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Category = DocumentCategory[_data[\"Category\"]];\n this.DocumentReference = _data[\"DocumentReference\"];\n this.ErrorCode = _data[\"ErrorCode\"];\n this.SignedDocumentReference = _data[\"SignedDocumentReference\"];\n this.Status = DocumentStatus[_data[\"Status\"]];\n this.TemplateId = _data[\"TemplateId\"];\n this.TemplateName = _data[\"TemplateName\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Category\"] = DocumentCategory[this.Category];\n _data[\"DocumentReference\"] = this.DocumentReference;\n _data[\"ErrorCode\"] = this.ErrorCode;\n _data[\"SignedDocumentReference\"] = this.SignedDocumentReference;\n _data[\"Status\"] = DocumentStatus[this.Status];\n _data[\"TemplateId\"] = this.TemplateId;\n _data[\"TemplateName\"] = this.TemplateName;\n return _data;\n }\n}\nexport var DocumentCategory = /* @__PURE__ */ ((DocumentCategory2) => {\n DocumentCategory2[\"RequiredElectronicallyOnly\"] = \"RequiredElectronicallyOnly\";\n DocumentCategory2[\"RequiredByPost\"] = \"RequiredByPost\";\n DocumentCategory2[\"ForInformationOnly\"] = \"ForInformationOnly\";\n return DocumentCategory2;\n})(DocumentCategory || {});\nexport var DocumentStatus = /* @__PURE__ */ ((DocumentStatus2) => {\n DocumentStatus2[\"None\"] = \"None\";\n DocumentStatus2[\"InProgress\"] = \"InProgress\";\n DocumentStatus2[\"Generated\"] = \"Generated\";\n DocumentStatus2[\"Error\"] = \"Error\";\n return DocumentStatus2;\n})(DocumentStatus || {});\n","export class VatIdentificationNumber {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatIdentificationNumber\n */\n this.$type = \"V1.Common.VatIdentificationNumber\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","export class BankAccount {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankAccount\n */\n this.$type = \"V1.CompanyInfo.Detail.BankAccount\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.BankAccountId = _data[\"BankAccountId\"];\n this.BankAddress = _data[\"BankAddress\"];\n this.BankName = _data[\"BankName\"];\n this.BeneficiaryAddress = _data[\"BeneficiaryAddress\"];\n this.BeneficiaryName = _data[\"BeneficiaryName\"];\n this.Iban = _data[\"Iban\"];\n this.Swift = _data[\"Swift\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BankAccountId\"] = this.BankAccountId;\n _data[\"BankAddress\"] = this.BankAddress;\n _data[\"BankName\"] = this.BankName;\n _data[\"BeneficiaryAddress\"] = this.BeneficiaryAddress;\n _data[\"BeneficiaryName\"] = this.BeneficiaryName;\n _data[\"Iban\"] = this.Iban;\n _data[\"Swift\"] = this.Swift;\n return _data;\n }\n}\n","import { BankAccount } from \"./BankAccount\";\nexport class BankAccountConfig {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankAccountConfig\n */\n this.$type = \"V1.CompanyInfo.Detail.BankAccountConfig\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"BankAccount\"]) {\n const bankAccount_ = new BankAccount();\n this.BankAccount = bankAccount_.init(_data[\"BankAccount\"]);\n }\n this.BankAccountRef = _data[\"BankAccountRef\"];\n this.BankAccountUrl = _data[\"BankAccountUrl\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BankAccount\"] = this.BankAccount ? this.BankAccount.toJSON() : void 0;\n _data[\"BankAccountRef\"] = this.BankAccountRef;\n _data[\"BankAccountUrl\"] = this.BankAccountUrl;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class FrequencyConfig {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FrequencyConfig\n */\n this.$type = \"V1.Companies.CompanyInfo.FrequencyConfig\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.EFiling = _data[\"EFiling\"];\n this.FilingExtension = _data[\"FilingExtension\"];\n this.FrequencyType = FrequencyConfigFrequencyType[_data[\"FrequencyType\"]];\n this.Id = _data[\"Id\"];\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"EFiling\"] = this.EFiling;\n _data[\"FilingExtension\"] = this.FilingExtension;\n _data[\"FrequencyType\"] = FrequencyConfigFrequencyType[this.FrequencyType];\n _data[\"Id\"] = this.Id;\n _data[\"ValidFrom\"] = DateConverter.toUtcDateString(this.ValidFrom);\n return _data;\n }\n}\nexport var FrequencyConfigFrequencyType = /* @__PURE__ */ ((FrequencyConfigFrequencyType2) => {\n FrequencyConfigFrequencyType2[\"Monthly\"] = \"Monthly\";\n FrequencyConfigFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n FrequencyConfigFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n FrequencyConfigFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n FrequencyConfigFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n FrequencyConfigFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n FrequencyConfigFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n FrequencyConfigFrequencyType2[\"Yearly\"] = \"Yearly\";\n return FrequencyConfigFrequencyType2;\n})(FrequencyConfigFrequencyType || {});\n","import { Country } from \"./../../Common/MasterData/Country\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Document } from \"./../../CompanyInfo/Detail/Document\";\nimport { VatIdentificationNumber } from \"./../../Common/VatIdentificationNumber\";\nimport { BankAccountConfig } from \"./../../CompanyInfo/Detail/BankAccountConfig\";\nimport { FrequencyConfig } from \"./FrequencyConfig\";\nexport class VatRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegistration\n */\n this.$type = \"V1.Companies.CompanyInfo.VatRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"BankAccountConfig\"]) {\n const bankAccountConfig_ = new BankAccountConfig();\n this.BankAccountConfig = bankAccountConfig_.init(_data[\"BankAccountConfig\"]);\n }\n this.DeregistrationConfirmationDocumentId = _data[\"DeregistrationConfirmationDocumentId\"];\n this.DeregistrationDate = DateConverter.from(_data[\"DeregistrationDate\"]);\n if (_data[\"Documents\"] && _data[\"Documents\"].constructor === Array) {\n this.Documents = [];\n for (let item of _data[\"Documents\"]) {\n const documents_ = new Document();\n this.Documents.push(documents_.init(item));\n }\n }\n if (_data[\"EslFrequencies\"] && _data[\"EslFrequencies\"].constructor === Array) {\n this.EslFrequencies = [];\n for (let item of _data[\"EslFrequencies\"]) {\n const eslFrequencies_ = new FrequencyConfig();\n this.EslFrequencies.push(eslFrequencies_.init(item));\n }\n }\n this.EUVATCertificatesReferenceId = _data[\"EUVATCertificatesReferenceId\"];\n if (_data[\"EUVatNumber\"]) {\n const eUVatNumber_ = new VatIdentificationNumber();\n this.EUVatNumber = eUVatNumber_.init(_data[\"EUVatNumber\"]);\n }\n this.EUVatRegistrationDate = DateConverter.from(_data[\"EUVatRegistrationDate\"]);\n this.Id = _data[\"Id\"];\n if (_data[\"IntrastatFrequencies\"] && _data[\"IntrastatFrequencies\"].constructor === Array) {\n this.IntrastatFrequencies = [];\n for (let item of _data[\"IntrastatFrequencies\"]) {\n const intrastatFrequencies_ = new FrequencyConfig();\n this.IntrastatFrequencies.push(intrastatFrequencies_.init(item));\n }\n }\n this.IsEslSubscribed = _data[\"IsEslSubscribed\"];\n this.IsVlsSubscribed = _data[\"IsVlsSubscribed\"];\n this.LocalVATCertificatesReferenceId = _data[\"LocalVATCertificatesReferenceId\"];\n this.LocalVatNumber = _data[\"LocalVatNumber\"];\n this.LocalVatRegistrationDate = DateConverter.from(_data[\"LocalVatRegistrationDate\"]);\n this.PaymentReference = _data[\"PaymentReference\"];\n this.PoaRevocationConfirmationDocumentId = _data[\"PoaRevocationConfirmationDocumentId\"];\n this.PoaRevocationDate = DateConverter.from(_data[\"PoaRevocationDate\"]);\n if (_data[\"PrimaryVatFrequencies\"] && _data[\"PrimaryVatFrequencies\"].constructor === Array) {\n this.PrimaryVatFrequencies = [];\n for (let item of _data[\"PrimaryVatFrequencies\"]) {\n const primaryVatFrequencies_ = new FrequencyConfig();\n this.PrimaryVatFrequencies.push(primaryVatFrequencies_.init(item));\n }\n }\n this.RegistrationDocumentStatus = VatRegistrationRegistrationDocumentStatus[_data[\"RegistrationDocumentStatus\"]];\n if (_data[\"SecondaryVatFrequencies\"] && _data[\"SecondaryVatFrequencies\"].constructor === Array) {\n this.SecondaryVatFrequencies = [];\n for (let item of _data[\"SecondaryVatFrequencies\"]) {\n const secondaryVatFrequencies_ = new FrequencyConfig();\n this.SecondaryVatFrequencies.push(secondaryVatFrequencies_.init(item));\n }\n }\n if (_data[\"ServiceCountry\"]) {\n const serviceCountry_ = new Country();\n this.ServiceCountry = serviceCountry_.init(_data[\"ServiceCountry\"]);\n }\n this.ServiceKind = VatRegistrationServiceKind[_data[\"ServiceKind\"]];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n this.Status = VatRegistrationStatus[_data[\"Status\"]];\n this.TaxIdentifier = _data[\"TaxIdentifier\"];\n if (_data[\"VlsFrequencies\"] && _data[\"VlsFrequencies\"].constructor === Array) {\n this.VlsFrequencies = [];\n for (let item of _data[\"VlsFrequencies\"]) {\n const vlsFrequencies_ = new FrequencyConfig();\n this.VlsFrequencies.push(vlsFrequencies_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BankAccountConfig\"] = this.BankAccountConfig ? this.BankAccountConfig.toJSON() : void 0;\n _data[\"DeregistrationConfirmationDocumentId\"] = this.DeregistrationConfirmationDocumentId;\n _data[\"DeregistrationDate\"] = DateConverter.toUtcDateString(this.DeregistrationDate);\n if (this.Documents && this.Documents.constructor === Array) {\n _data[\"Documents\"] = [];\n for (let item of this.Documents) {\n _data[\"Documents\"].push(item.toJSON());\n }\n }\n if (this.EslFrequencies && this.EslFrequencies.constructor === Array) {\n _data[\"EslFrequencies\"] = [];\n for (let item of this.EslFrequencies) {\n _data[\"EslFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"EUVATCertificatesReferenceId\"] = this.EUVATCertificatesReferenceId;\n _data[\"EUVatNumber\"] = this.EUVatNumber ? this.EUVatNumber.toJSON() : void 0;\n _data[\"EUVatRegistrationDate\"] = DateConverter.toUtcDateString(this.EUVatRegistrationDate);\n _data[\"Id\"] = this.Id;\n if (this.IntrastatFrequencies && this.IntrastatFrequencies.constructor === Array) {\n _data[\"IntrastatFrequencies\"] = [];\n for (let item of this.IntrastatFrequencies) {\n _data[\"IntrastatFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"IsEslSubscribed\"] = this.IsEslSubscribed;\n _data[\"IsVlsSubscribed\"] = this.IsVlsSubscribed;\n _data[\"LocalVATCertificatesReferenceId\"] = this.LocalVATCertificatesReferenceId;\n _data[\"LocalVatNumber\"] = this.LocalVatNumber;\n _data[\"LocalVatRegistrationDate\"] = DateConverter.toUtcDateString(this.LocalVatRegistrationDate);\n _data[\"PaymentReference\"] = this.PaymentReference;\n _data[\"PoaRevocationConfirmationDocumentId\"] = this.PoaRevocationConfirmationDocumentId;\n _data[\"PoaRevocationDate\"] = DateConverter.toUtcDateString(this.PoaRevocationDate);\n if (this.PrimaryVatFrequencies && this.PrimaryVatFrequencies.constructor === Array) {\n _data[\"PrimaryVatFrequencies\"] = [];\n for (let item of this.PrimaryVatFrequencies) {\n _data[\"PrimaryVatFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"RegistrationDocumentStatus\"] = VatRegistrationRegistrationDocumentStatus[this.RegistrationDocumentStatus];\n if (this.SecondaryVatFrequencies && this.SecondaryVatFrequencies.constructor === Array) {\n _data[\"SecondaryVatFrequencies\"] = [];\n for (let item of this.SecondaryVatFrequencies) {\n _data[\"SecondaryVatFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"ServiceCountry\"] = this.ServiceCountry ? this.ServiceCountry.toJSON() : void 0;\n _data[\"ServiceKind\"] = VatRegistrationServiceKind[this.ServiceKind];\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n _data[\"Status\"] = VatRegistrationStatus[this.Status];\n _data[\"TaxIdentifier\"] = this.TaxIdentifier;\n if (this.VlsFrequencies && this.VlsFrequencies.constructor === Array) {\n _data[\"VlsFrequencies\"] = [];\n for (let item of this.VlsFrequencies) {\n _data[\"VlsFrequencies\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var VatRegistrationRegistrationDocumentStatus = /* @__PURE__ */ ((VatRegistrationRegistrationDocumentStatus2) => {\n VatRegistrationRegistrationDocumentStatus2[\"None\"] = \"None\";\n VatRegistrationRegistrationDocumentStatus2[\"InProgress\"] = \"InProgress\";\n VatRegistrationRegistrationDocumentStatus2[\"Generated\"] = \"Generated\";\n VatRegistrationRegistrationDocumentStatus2[\"Error\"] = \"Error\";\n return VatRegistrationRegistrationDocumentStatus2;\n})(VatRegistrationRegistrationDocumentStatus || {});\nexport var VatRegistrationServiceKind = /* @__PURE__ */ ((VatRegistrationServiceKind2) => {\n VatRegistrationServiceKind2[\"NewReg\"] = \"NewReg\";\n VatRegistrationServiceKind2[\"TakOver\"] = \"TakOver\";\n return VatRegistrationServiceKind2;\n})(VatRegistrationServiceKind || {});\nexport var VatRegistrationStatus = /* @__PURE__ */ ((VatRegistrationStatus2) => {\n VatRegistrationStatus2[\"Pending\"] = \"Pending\";\n VatRegistrationStatus2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n VatRegistrationStatus2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n VatRegistrationStatus2[\"TranslationInProgress\"] = \"TranslationInProgress\";\n VatRegistrationStatus2[\"SentToTA\"] = \"SentToTA\";\n VatRegistrationStatus2[\"LocalTaxReceived\"] = \"LocalTaxReceived\";\n VatRegistrationStatus2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n VatRegistrationStatus2[\"Deregistered\"] = \"Deregistered\";\n VatRegistrationStatus2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n VatRegistrationStatus2[\"PoARevoked\"] = \"PoARevoked\";\n VatRegistrationStatus2[\"RevokingPoA\"] = \"RevokingPoA\";\n return VatRegistrationStatus2;\n})(VatRegistrationStatus || {});\n","export class Document {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Document\n */\n this.$type = \"V1.CompanyInfo.Detail.IossRegistration.Document\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Category = DocumentCategory[_data[\"Category\"]];\n this.DocumentReference = _data[\"DocumentReference\"];\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.SignedDocumentReference = _data[\"SignedDocumentReference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Category\"] = DocumentCategory[this.Category];\n _data[\"DocumentReference\"] = this.DocumentReference;\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"SignedDocumentReference\"] = this.SignedDocumentReference;\n return _data;\n }\n}\nexport var DocumentCategory = /* @__PURE__ */ ((DocumentCategory2) => {\n DocumentCategory2[\"RequiredElectronicallyOnly\"] = \"RequiredElectronicallyOnly\";\n DocumentCategory2[\"ForInformationOnly\"] = \"ForInformationOnly\";\n return DocumentCategory2;\n})(DocumentCategory || {});\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Document } from \"./../../CompanyInfo/Detail/IossRegistration/Document\";\nimport { Country } from \"./../../Common/MasterData/Country\";\nexport class IossRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IossRegistration\n */\n this.$type = \"V1.Companies.CompanyInfo.IossRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CertificatesReferenceId = _data[\"CertificatesReferenceId\"];\n if (_data[\"CountryOfRegistration\"]) {\n const countryOfRegistration_ = new Country();\n this.CountryOfRegistration = countryOfRegistration_.init(_data[\"CountryOfRegistration\"]);\n }\n this.DateOfDeregistration = DateConverter.from(_data[\"DateOfDeregistration\"]);\n this.DeregistrationConfirmationDocumentId = _data[\"DeregistrationConfirmationDocumentId\"];\n if (_data[\"Documents\"] && _data[\"Documents\"].constructor === Array) {\n this.Documents = [];\n for (let item of _data[\"Documents\"]) {\n const documents_ = new Document();\n this.Documents.push(documents_.init(item));\n }\n }\n this.Id = _data[\"Id\"];\n this.RegistrationDate = DateConverter.from(_data[\"RegistrationDate\"]);\n this.RegistrationNumber = _data[\"RegistrationNumber\"];\n this.RegistrationType = IossRegistrationRegistrationType[_data[\"RegistrationType\"]];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n this.Status = IossRegistrationStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CertificatesReferenceId\"] = this.CertificatesReferenceId;\n _data[\"CountryOfRegistration\"] = this.CountryOfRegistration ? this.CountryOfRegistration.toJSON() : void 0;\n _data[\"DateOfDeregistration\"] = DateConverter.toUtcDateString(this.DateOfDeregistration);\n _data[\"DeregistrationConfirmationDocumentId\"] = this.DeregistrationConfirmationDocumentId;\n if (this.Documents && this.Documents.constructor === Array) {\n _data[\"Documents\"] = [];\n for (let item of this.Documents) {\n _data[\"Documents\"].push(item.toJSON());\n }\n }\n _data[\"Id\"] = this.Id;\n _data[\"RegistrationDate\"] = DateConverter.toUtcDateString(this.RegistrationDate);\n _data[\"RegistrationNumber\"] = this.RegistrationNumber;\n _data[\"RegistrationType\"] = IossRegistrationRegistrationType[this.RegistrationType];\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n _data[\"Status\"] = IossRegistrationStatus[this.Status];\n return _data;\n }\n}\nexport var IossRegistrationRegistrationType = /* @__PURE__ */ ((IossRegistrationRegistrationType2) => {\n IossRegistrationRegistrationType2[\"NewRegistration\"] = \"NewRegistration\";\n IossRegistrationRegistrationType2[\"TakeOver\"] = \"TakeOver\";\n return IossRegistrationRegistrationType2;\n})(IossRegistrationRegistrationType || {});\nexport var IossRegistrationStatus = /* @__PURE__ */ ((IossRegistrationStatus2) => {\n IossRegistrationStatus2[\"Pending\"] = \"Pending\";\n IossRegistrationStatus2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n IossRegistrationStatus2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n IossRegistrationStatus2[\"SentToTA\"] = \"SentToTA\";\n IossRegistrationStatus2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n IossRegistrationStatus2[\"Failed\"] = \"Failed\";\n IossRegistrationStatus2[\"Declined\"] = \"Declined\";\n IossRegistrationStatus2[\"Deregistered\"] = \"Deregistered\";\n IossRegistrationStatus2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n return IossRegistrationStatus2;\n})(IossRegistrationStatus || {});\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class EoriRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof EoriRegistration\n */\n this.$type = \"V1.CompanyInfo.Detail.EoriRegistrations.EoriRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.RegistrationType = EoriRegistrationRegistrationType[_data[\"RegistrationType\"]];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"RegistrationType\"] = EoriRegistrationRegistrationType[this.RegistrationType];\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\nexport var EoriRegistrationRegistrationType = /* @__PURE__ */ ((EoriRegistrationRegistrationType2) => {\n EoriRegistrationRegistrationType2[\"UK\"] = \"UK\";\n EoriRegistrationRegistrationType2[\"EU\"] = \"EU\";\n return EoriRegistrationRegistrationType2;\n})(EoriRegistrationRegistrationType || {});\n","import { BusinessDetailFactory } from \"./../../CompanyInfo/BusinessDetailFactory\";\nimport { VatRegistration } from \"./VatRegistration\";\nimport { IossRegistration } from \"./IossRegistration\";\nimport { SubscriptionFactory } from \"./../../CompanyInfo/Subscriptions/SubscriptionFactory\";\nimport { EoriRegistration } from \"./../../CompanyInfo/Detail/EoriRegistrations/EoriRegistration\";\nexport class CompanyDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyDetail\n */\n this.$type = \"V1.Companies.CompanyInfo.CompanyDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n const $typeBusinessDetail = _data[\"BusinessDetail\"] && _data[\"BusinessDetail\"].$type;\n if ($typeBusinessDetail) {\n const businessDetail_ = BusinessDetailFactory.create($typeBusinessDetail);\n this.BusinessDetail = businessDetail_.init(_data[\"BusinessDetail\"]);\n } else {\n this.BusinessDetail = _data[\"BusinessDetail\"];\n }\n this.ClientSource = CompanyDetailClientSource[_data[\"ClientSource\"]];\n this.ContactEmail = _data[\"ContactEmail\"];\n this.ContactLanguage = _data[\"ContactLanguage\"];\n this.ContactPhone = _data[\"ContactPhone\"];\n if (_data[\"EoriRegistrations\"] && _data[\"EoriRegistrations\"].constructor === Array) {\n this.EoriRegistrations = [];\n for (let item of _data[\"EoriRegistrations\"]) {\n const eoriRegistrations_ = new EoriRegistration();\n this.EoriRegistrations.push(eoriRegistrations_.init(item));\n }\n }\n this.Id = _data[\"Id\"];\n if (_data[\"IossRegistrations\"] && _data[\"IossRegistrations\"].constructor === Array) {\n this.IossRegistrations = [];\n for (let item of _data[\"IossRegistrations\"]) {\n const iossRegistrations_ = new IossRegistration();\n this.IossRegistrations.push(iossRegistrations_.init(item));\n }\n }\n this.IsVatNumberValid = _data[\"IsVatNumberValid\"];\n this.QuestionnaireStatus = CompanyDetailQuestionnaireStatus[_data[\"QuestionnaireStatus\"]];\n this.Status = CompanyDetailStatus[_data[\"Status\"]];\n if (_data[\"Subscriptions\"] && _data[\"Subscriptions\"].constructor === Array) {\n this.Subscriptions = [];\n for (let item of _data[\"Subscriptions\"]) {\n const $typeSubscriptions = item && item.$type;\n if ($typeSubscriptions) {\n const subscriptions_ = SubscriptionFactory.create($typeSubscriptions);\n this.Subscriptions.push(subscriptions_.init(item));\n }\n }\n }\n if (_data[\"VatRegistrations\"] && _data[\"VatRegistrations\"].constructor === Array) {\n this.VatRegistrations = [];\n for (let item of _data[\"VatRegistrations\"]) {\n const vatRegistrations_ = new VatRegistration();\n this.VatRegistrations.push(vatRegistrations_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BusinessDetail\"] = this.BusinessDetail ? this.BusinessDetail.toJSON() : void 0;\n _data[\"ClientSource\"] = CompanyDetailClientSource[this.ClientSource];\n _data[\"ContactEmail\"] = this.ContactEmail;\n _data[\"ContactLanguage\"] = this.ContactLanguage;\n _data[\"ContactPhone\"] = this.ContactPhone;\n if (this.EoriRegistrations && this.EoriRegistrations.constructor === Array) {\n _data[\"EoriRegistrations\"] = [];\n for (let item of this.EoriRegistrations) {\n _data[\"EoriRegistrations\"].push(item.toJSON());\n }\n }\n _data[\"Id\"] = this.Id;\n if (this.IossRegistrations && this.IossRegistrations.constructor === Array) {\n _data[\"IossRegistrations\"] = [];\n for (let item of this.IossRegistrations) {\n _data[\"IossRegistrations\"].push(item.toJSON());\n }\n }\n _data[\"IsVatNumberValid\"] = this.IsVatNumberValid;\n _data[\"QuestionnaireStatus\"] = CompanyDetailQuestionnaireStatus[this.QuestionnaireStatus];\n _data[\"Status\"] = CompanyDetailStatus[this.Status];\n if (this.Subscriptions && this.Subscriptions.constructor === Array) {\n _data[\"Subscriptions\"] = [];\n for (let item of this.Subscriptions) {\n _data[\"Subscriptions\"].push(item.toJSON());\n }\n }\n if (this.VatRegistrations && this.VatRegistrations.constructor === Array) {\n _data[\"VatRegistrations\"] = [];\n for (let item of this.VatRegistrations) {\n _data[\"VatRegistrations\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var CompanyDetailClientSource = /* @__PURE__ */ ((CompanyDetailClientSource2) => {\n CompanyDetailClientSource2[\"Amazon\"] = \"Amazon\";\n CompanyDetailClientSource2[\"KPMG\"] = \"KPMG\";\n CompanyDetailClientSource2[\"FedEx\"] = \"FedEx\";\n CompanyDetailClientSource2[\"LaPoste\"] = \"LaPoste\";\n return CompanyDetailClientSource2;\n})(CompanyDetailClientSource || {});\nexport var CompanyDetailQuestionnaireStatus = /* @__PURE__ */ ((CompanyDetailQuestionnaireStatus2) => {\n CompanyDetailQuestionnaireStatus2[\"Incomplete\"] = \"Incomplete\";\n CompanyDetailQuestionnaireStatus2[\"Completed\"] = \"Completed\";\n CompanyDetailQuestionnaireStatus2[\"Approved\"] = \"Approved\";\n CompanyDetailQuestionnaireStatus2[\"DataVerified\"] = \"DataVerified\";\n return CompanyDetailQuestionnaireStatus2;\n})(CompanyDetailQuestionnaireStatus || {});\nexport var CompanyDetailStatus = /* @__PURE__ */ ((CompanyDetailStatus2) => {\n CompanyDetailStatus2[\"Active\"] = \"Active\";\n CompanyDetailStatus2[\"Rejected\"] = \"Rejected\";\n CompanyDetailStatus2[\"Inactive\"] = \"Inactive\";\n return CompanyDetailStatus2;\n})(CompanyDetailStatus || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { CompanyDetail } from \"./../models/V1/Companies/CompanyInfo/CompanyDetail\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Company {\n /**\n * Creates an instance of Company.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Company\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetCompanyDetailRq_ _getCompanyDetailRq\n * @returns Promise\n * @memberof Company\n */\n getCompanyDetail(pGetCompanyDetailRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Company/Details\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"locale\", value: pGetCompanyDetailRq.locale }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: CompanyDetail },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class SellerEntity {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SellerEntity\n */\n this.$type = \"V1.ComplianceUploads.Configuration.Amazon.SellerEntity\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Id = _data[\"Id\"];\n this.IsAutomated = _data[\"IsAutomated\"];\n this.IsEnabled = _data[\"IsEnabled\"];\n this.MwsAuthToken = _data[\"MwsAuthToken\"];\n this.Name = _data[\"Name\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Id\"] = this.Id;\n _data[\"IsAutomated\"] = this.IsAutomated;\n _data[\"IsEnabled\"] = this.IsEnabled;\n _data[\"MwsAuthToken\"] = this.MwsAuthToken;\n _data[\"Name\"] = this.Name;\n return _data;\n }\n}\n","import { SellerEntity } from \"./SellerEntity\";\nexport class AmazonConfiguration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonConfiguration\n */\n this.$type = \"V1.ComplianceUploads.Configuration.Amazon.AmazonConfiguration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.RefundMode = AmazonConfigurationRefundMode[_data[\"RefundMode\"]];\n if (_data[\"SellerEntities\"] && _data[\"SellerEntities\"].constructor === Array) {\n this.SellerEntities = [];\n for (let item of _data[\"SellerEntities\"]) {\n const sellerEntities_ = new SellerEntity();\n this.SellerEntities.push(sellerEntities_.init(item));\n }\n }\n this.UseAmazonRates = _data[\"UseAmazonRates\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"RefundMode\"] = AmazonConfigurationRefundMode[this.RefundMode];\n if (this.SellerEntities && this.SellerEntities.constructor === Array) {\n _data[\"SellerEntities\"] = [];\n for (let item of this.SellerEntities) {\n _data[\"SellerEntities\"].push(item.toJSON());\n }\n }\n _data[\"UseAmazonRates\"] = this.UseAmazonRates;\n return _data;\n }\n}\nexport var AmazonConfigurationRefundMode = /* @__PURE__ */ ((AmazonConfigurationRefundMode2) => {\n AmazonConfigurationRefundMode2[\"Normal\"] = \"Normal\";\n AmazonConfigurationRefundMode2[\"WithMfn\"] = \"WithMfn\";\n AmazonConfigurationRefundMode2[\"DeductAll\"] = \"DeductAll\";\n return AmazonConfigurationRefundMode2;\n})(AmazonConfigurationRefundMode || {});\n","import { AmazonConfiguration } from \"./Amazon/AmazonConfiguration\";\nexport class CompanyConfiguration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyConfiguration\n */\n this.$type = \"V1.ComplianceUploads.Configuration.CompanyConfiguration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"AmazonConfiguration\"]) {\n const amazonConfiguration_ = new AmazonConfiguration();\n this.AmazonConfiguration = amazonConfiguration_.init(_data[\"AmazonConfiguration\"]);\n }\n this.UseAmazonTemplate = _data[\"UseAmazonTemplate\"];\n this.UseKpmgTemplate = _data[\"UseKpmgTemplate\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"AmazonConfiguration\"] = this.AmazonConfiguration ? this.AmazonConfiguration.toJSON() : void 0;\n _data[\"UseAmazonTemplate\"] = this.UseAmazonTemplate;\n _data[\"UseKpmgTemplate\"] = this.UseKpmgTemplate;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { CompanyConfiguration } from \"./../models/V1/ComplianceUploads/Configuration/CompanyConfiguration\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class ComplianceCompany {\n /**\n * Creates an instance of ComplianceCompany.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof ComplianceCompany\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetDefaultConfigurationRq_ _getDefaultConfigurationRq\n * @returns Promise\n * @memberof ComplianceCompany\n */\n getDefaultConfiguration(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceCompany/Company/DefaultConfiguration\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: CompanyConfiguration },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddDefaultConfigurationRq_ _addDefaultConfigurationRq\n * @returns Promise\n * @memberof ComplianceCompany\n */\n addDefaultConfiguration(pAddDefaultConfigurationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceCompany/Company/DefaultConfiguration\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pAddDefaultConfigurationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateDefaultConfigurationRq_ _updateDefaultConfigurationRq\n * @returns Promise\n * @memberof ComplianceCompany\n */\n updateDefaultConfiguration(pUpdateDefaultConfigurationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceCompany/Company/DefaultConfiguration\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pUpdateDefaultConfigurationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class Money {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Money\n */\n this.$type = \"V1.Common.Money\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Currency = _data[\"Currency\"];\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Currency\"] = this.Currency;\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { Money } from \"./../Common/Money\";\nexport class Sku {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Sku\n */\n this.$type = \"V1.ComplianceMasterData.Sku\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CommodityCode = _data[\"CommodityCode\"];\n this.Id = _data[\"Id\"];\n this.ItemIdentifier = _data[\"ItemIdentifier\"];\n if (_data[\"Price\"]) {\n const price_ = new Money();\n this.Price = price_.init(_data[\"Price\"]);\n }\n this.SellerEntityId = _data[\"SellerEntityId\"];\n this.SkuId = _data[\"SkuId\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CommodityCode\"] = this.CommodityCode;\n _data[\"Id\"] = this.Id;\n _data[\"ItemIdentifier\"] = this.ItemIdentifier;\n _data[\"Price\"] = this.Price ? this.Price.toJSON() : void 0;\n _data[\"SellerEntityId\"] = this.SellerEntityId;\n _data[\"SkuId\"] = this.SkuId;\n return _data;\n }\n}\n","import { Sku } from \"./../Sku\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.ComplianceMasterData.SearchSku.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"Skus\"] && _data[\"Skus\"].constructor === Array) {\n this.Skus = [];\n for (let item of _data[\"Skus\"]) {\n const skus_ = new Sku();\n this.Skus.push(skus_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.Skus && this.Skus.constructor === Array) {\n _data[\"Skus\"] = [];\n for (let item of this.Skus) {\n _data[\"Skus\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class ValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ValidationMessage\n */\n this.$type = \"V1.ComplianceMasterData.Upload.ValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnName = _data[\"ColumnName\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.ValidationCode = ValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnName\"] = this.ColumnName;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"ValidationCode\"] = ValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var ValidationMessageValidationCode = /* @__PURE__ */ ((ValidationMessageValidationCode2) => {\n ValidationMessageValidationCode2[\"Required\"] = \"Required\";\n ValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n ValidationMessageValidationCode2[\"NotFound\"] = \"NotFound\";\n ValidationMessageValidationCode2[\"CannotParse\"] = \"CannotParse\";\n ValidationMessageValidationCode2[\"InvalidValue\"] = \"InvalidValue\";\n ValidationMessageValidationCode2[\"Unknown\"] = \"Unknown\";\n return ValidationMessageValidationCode2;\n})(ValidationMessageValidationCode || {});\n","import { ValidationMessage } from \"./ValidationMessage\";\nexport class UploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof UploadResult\n */\n this.$type = \"V1.ComplianceMasterData.Upload.UploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new ValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class DefaultVatRateType {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DefaultVatRateType\n */\n this.$type = \"V1.ComplianceMasterData.DefaultVatRateType\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.Type = DefaultVatRateTypeType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"Type\"] = DefaultVatRateTypeType[this.Type];\n return _data;\n }\n}\nexport var DefaultVatRateTypeType = /* @__PURE__ */ ((DefaultVatRateTypeType2) => {\n DefaultVatRateTypeType2[\"Standard\"] = \"Standard\";\n DefaultVatRateTypeType2[\"Standard2\"] = \"Standard2\";\n DefaultVatRateTypeType2[\"Reduced\"] = \"Reduced\";\n DefaultVatRateTypeType2[\"SuperReduced\"] = \"SuperReduced\";\n DefaultVatRateTypeType2[\"SuperReduced2\"] = \"SuperReduced2\";\n DefaultVatRateTypeType2[\"Exempt\"] = \"Exempt\";\n DefaultVatRateTypeType2[\"ZeroRated\"] = \"ZeroRated\";\n DefaultVatRateTypeType2[\"Middle\"] = \"Middle\";\n DefaultVatRateTypeType2[\"Reduced2\"] = \"Reduced2\";\n return DefaultVatRateTypeType2;\n})(DefaultVatRateTypeType || {});\n","export class TypeAndRate {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TypeAndRate\n */\n this.$type = \"V1.ComplianceMasterData.TypeAndRate\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Rate = _data[\"Rate\"];\n this.Type = TypeAndRateType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Rate\"] = this.Rate;\n _data[\"Type\"] = TypeAndRateType[this.Type];\n return _data;\n }\n}\nexport var TypeAndRateType = /* @__PURE__ */ ((TypeAndRateType2) => {\n TypeAndRateType2[\"Standard\"] = \"Standard\";\n TypeAndRateType2[\"Standard2\"] = \"Standard2\";\n TypeAndRateType2[\"Reduced\"] = \"Reduced\";\n TypeAndRateType2[\"SuperReduced\"] = \"SuperReduced\";\n TypeAndRateType2[\"SuperReduced2\"] = \"SuperReduced2\";\n TypeAndRateType2[\"Exempt\"] = \"Exempt\";\n TypeAndRateType2[\"ZeroRated\"] = \"ZeroRated\";\n TypeAndRateType2[\"Middle\"] = \"Middle\";\n TypeAndRateType2[\"Reduced2\"] = \"Reduced2\";\n return TypeAndRateType2;\n})(TypeAndRateType || {});\n","import { TypeAndRate } from \"./TypeAndRate\";\nexport class VatRateTypeSetting {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRateTypeSetting\n */\n this.$type = \"V1.ComplianceMasterData.VatRateTypeSetting\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n if (_data[\"TypeRateOptions\"] && _data[\"TypeRateOptions\"].constructor === Array) {\n this.TypeRateOptions = [];\n for (let item of _data[\"TypeRateOptions\"]) {\n const typeRateOptions_ = new TypeAndRate();\n this.TypeRateOptions.push(typeRateOptions_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n if (this.TypeRateOptions && this.TypeRateOptions.constructor === Array) {\n _data[\"TypeRateOptions\"] = [];\n for (let item of this.TypeRateOptions) {\n _data[\"TypeRateOptions\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class GTUCode {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof GTUCode\n */\n this.$type = \"V1.ComplianceMasterData.GTUCode\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n return _data;\n }\n}\n","export class Currency {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Currency\n */\n this.$type = \"V1.ComplianceMasterData.Currency\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = _data[\"Code\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = this.Code;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/ComplianceMasterData/SearchSku/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { UploadResult } from \"./../models/V1/ComplianceMasterData/Upload/UploadResult\";\nimport { DefaultVatRateType } from \"./../models/V1/ComplianceMasterData/DefaultVatRateType\";\nimport { VatRateTypeSetting } from \"./../models/V1/ComplianceMasterData/VatRateTypeSetting\";\nimport { GTUCode } from \"./../models/V1/ComplianceMasterData/GTUCode\";\nimport { Currency } from \"./../models/V1/ComplianceMasterData/Currency\";\nexport class ComplianceMasterData {\n /**\n * Creates an instance of ComplianceMasterData.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof ComplianceMasterData\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchSKUsRq_ _searchSKUsRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n searchSKUs(pSearchSKUsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus/Search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchSKUsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportSkusRq_ _exportSkusRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n exportSkus(pExportSkusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus/Export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n options\n );\n client.addBody({ value: pExportSkusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSkusRq_ _uploadSkusRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n uploadSkus(pUploadSkusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus/Upload\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSkusRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: UploadResult },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param HasAnyIncompleteSKUsRq_ _hasAnyIncompleteSKUsRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n hasAnyIncompleteSKUs(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus/Any\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddSkuRq_ _addSkuRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n addSku(pAddSkuRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pAddSkuRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateSkuRq_ _updateSkuRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n updateSku(pUpdateSkuRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus/{id}\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"id\", value: pUpdateSkuRq.id, required: true }\n ]);\n client.addBody({ value: pUpdateSkuRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveSkuRq_ _removeSkuRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n removeSku(pRemoveSkuRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Skus/{id}\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"id\", value: pRemoveSkuRq.id, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetDefaultVatRateTypesRq_ _getDefaultVatRateTypesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getDefaultVatRateTypes(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/DefaultVatRateTypes\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: DefaultVatRateType, isArray: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SetDefaultVatRateTypesRq_ _setDefaultVatRateTypesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n setDefaultVatRateTypes(pSetDefaultVatRateTypesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/DefaultVatRateTypes\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSetDefaultVatRateTypesRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetVATRateTypeSettingsRq_ _getVATRateTypeSettingsRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getVATRateTypeSettings(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/VATRateTypeSettings\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: VatRateTypeSetting, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetGTUCodesRq_ _getGTUCodesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getGTUCodes(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/GTUCodes\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: GTUCode, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetAvailableCurrenciesRq_ _getAvailableCurrenciesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getAvailableCurrencies(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/AvailableCurrencies\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Currency, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportCurrenciesRq_ _exportCurrenciesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n exportCurrencies(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/ExportCurrencies\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class File {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof File\n */\n this.$type = \"V1.ComplianceUploads.Files.File\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Name = _data[\"Name\"];\n this.Reference = _data[\"Reference\"];\n this.Version = _data[\"Version\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Name\"] = this.Name;\n _data[\"Reference\"] = this.Reference;\n _data[\"Version\"] = this.Version;\n return _data;\n }\n}\n","import { SellerEntity } from \"./../Configuration/Amazon/SellerEntity\";\nimport { File } from \"./File\";\nexport class AmazonFile extends File {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonFile\n */\n this.$type = \"V1.ComplianceUploads.Files.AmazonFile\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"SellerEntity\"]) {\n const sellerEntity_ = new SellerEntity();\n this.SellerEntity = sellerEntity_.init(_data[\"SellerEntity\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"SellerEntity\"] = this.SellerEntity ? this.SellerEntity.toJSON() : void 0;\n return _data;\n }\n}\n","import { File } from \"./File\";\nexport class AmazonSaftFile extends File {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonSaftFile\n */\n this.$type = \"V1.ComplianceUploads.Files.AmazonSaftFile\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { File } from \"./File\";\nexport class IossFile extends File {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IossFile\n */\n this.$type = \"V1.ComplianceUploads.Files.IossFile\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { File } from \"./File\";\nexport class KpmgTemplateFile extends File {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof KpmgTemplateFile\n */\n this.$type = \"V1.ComplianceUploads.Files.KpmgTemplateFile\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { File } from \"./File\";\nimport { AmazonFile } from \"./AmazonFile\";\nimport { AmazonSaftFile } from \"./AmazonSaftFile\";\nimport { IossFile } from \"./IossFile\";\nimport { KpmgTemplateFile } from \"./KpmgTemplateFile\";\nexport class FileFactory {\n static create($type) {\n if ($type === \"V1.ComplianceUploads.Files.File\") {\n const result = new File();\n return result;\n }\n if ($type === \"V1.ComplianceUploads.Files.AmazonFile\") {\n const result = new AmazonFile();\n return result;\n }\n if ($type === \"V1.ComplianceUploads.Files.AmazonSaftFile\") {\n const result = new AmazonSaftFile();\n return result;\n }\n if ($type === \"V1.ComplianceUploads.Files.IossFile\") {\n const result = new IossFile();\n return result;\n }\n if ($type === \"V1.ComplianceUploads.Files.KpmgTemplateFile\") {\n const result = new KpmgTemplateFile();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { FileFactory } from \"./Files/FileFactory\";\nimport { CompanyConfiguration } from \"./Configuration/CompanyConfiguration\";\nexport class ComplianceUpload {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ComplianceUpload\n */\n this.$type = \"V1.ComplianceUploads.ComplianceUpload\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"CompanyConfigSnapshot\"]) {\n const companyConfigSnapshot_ = new CompanyConfiguration();\n this.CompanyConfigSnapshot = companyConfigSnapshot_.init(_data[\"CompanyConfigSnapshot\"]);\n }\n this.CurrentFileVersion = _data[\"CurrentFileVersion\"];\n if (_data[\"Files\"] && _data[\"Files\"].constructor === Array) {\n this.Files = [];\n for (let item of _data[\"Files\"]) {\n const $typeFiles = item && item.$type;\n if ($typeFiles) {\n const files_ = FileFactory.create($typeFiles);\n this.Files.push(files_.init(item));\n }\n }\n }\n this.Id = _data[\"Id\"];\n this.IgnoreOverdue = _data[\"IgnoreOverdue\"];\n this.IsAmazonInvoicingServiceOptional = _data[\"IsAmazonInvoicingServiceOptional\"];\n this.IsOverdue = _data[\"IsOverdue\"];\n this.Period = _data[\"Period\"];\n this.Status = ComplianceUploadStatus[_data[\"Status\"]];\n this.Type = ComplianceUploadType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CompanyConfigSnapshot\"] = this.CompanyConfigSnapshot ? this.CompanyConfigSnapshot.toJSON() : void 0;\n _data[\"CurrentFileVersion\"] = this.CurrentFileVersion;\n if (this.Files && this.Files.constructor === Array) {\n _data[\"Files\"] = [];\n for (let item of this.Files) {\n _data[\"Files\"].push(item.toJSON());\n }\n }\n _data[\"Id\"] = this.Id;\n _data[\"IgnoreOverdue\"] = this.IgnoreOverdue;\n _data[\"IsAmazonInvoicingServiceOptional\"] = this.IsAmazonInvoicingServiceOptional;\n _data[\"IsOverdue\"] = this.IsOverdue;\n _data[\"Period\"] = this.Period;\n _data[\"Status\"] = ComplianceUploadStatus[this.Status];\n _data[\"Type\"] = ComplianceUploadType[this.Type];\n return _data;\n }\n}\nexport var ComplianceUploadStatus = /* @__PURE__ */ ((ComplianceUploadStatus2) => {\n ComplianceUploadStatus2[\"New\"] = \"New\";\n ComplianceUploadStatus2[\"WaitingForFinalize\"] = \"WaitingForFinalize\";\n ComplianceUploadStatus2[\"InvalidData\"] = \"InvalidData\";\n ComplianceUploadStatus2[\"SaftCompliance\"] = \"SaftCompliance\";\n ComplianceUploadStatus2[\"MasterDataSetup\"] = \"MasterDataSetup\";\n ComplianceUploadStatus2[\"DataUploadFinalized\"] = \"DataUploadFinalized\";\n ComplianceUploadStatus2[\"SentToReturnGeneration\"] = \"SentToReturnGeneration\";\n ComplianceUploadStatus2[\"DataVatGenerated\"] = \"DataVatGenerated\";\n ComplianceUploadStatus2[\"InsufficientCredit\"] = \"InsufficientCredit\";\n ComplianceUploadStatus2[\"UploadProcessed\"] = \"UploadProcessed\";\n ComplianceUploadStatus2[\"Error\"] = \"Error\";\n return ComplianceUploadStatus2;\n})(ComplianceUploadStatus || {});\nexport var ComplianceUploadType = /* @__PURE__ */ ((ComplianceUploadType2) => {\n ComplianceUploadType2[\"IOSS\"] = \"IOSS\";\n ComplianceUploadType2[\"VAT\"] = \"VAT\";\n return ComplianceUploadType2;\n})(ComplianceUploadType || {});\n","import { ComplianceUpload } from \"./../ComplianceUpload\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.ComplianceUploads.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"ComplianceUploads\"] && _data[\"ComplianceUploads\"].constructor === Array) {\n this.ComplianceUploads = [];\n for (let item of _data[\"ComplianceUploads\"]) {\n const complianceUploads_ = new ComplianceUpload();\n this.ComplianceUploads.push(complianceUploads_.init(item));\n }\n }\n this.Count = _data[\"Count\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.ComplianceUploads && this.ComplianceUploads.constructor === Array) {\n _data[\"ComplianceUploads\"] = [];\n for (let item of this.ComplianceUploads) {\n _data[\"ComplianceUploads\"].push(item.toJSON());\n }\n }\n _data[\"Count\"] = this.Count;\n return _data;\n }\n}\n","export class ValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.ValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnCode = ValidationMessageColumnCode[_data[\"ColumnCode\"]];\n this.ColumnName = ValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = ValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnCode\"] = ValidationMessageColumnCode[this.ColumnCode];\n _data[\"ColumnName\"] = ValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = ValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var ValidationMessageColumnCode = /* @__PURE__ */ ((ValidationMessageColumnCode2) => {\n ValidationMessageColumnCode2[\"A\"] = \"A\";\n ValidationMessageColumnCode2[\"B\"] = \"B\";\n ValidationMessageColumnCode2[\"C\"] = \"C\";\n ValidationMessageColumnCode2[\"D\"] = \"D\";\n ValidationMessageColumnCode2[\"E\"] = \"E\";\n ValidationMessageColumnCode2[\"F\"] = \"F\";\n ValidationMessageColumnCode2[\"G\"] = \"G\";\n ValidationMessageColumnCode2[\"H\"] = \"H\";\n ValidationMessageColumnCode2[\"I\"] = \"I\";\n ValidationMessageColumnCode2[\"J\"] = \"J\";\n ValidationMessageColumnCode2[\"K\"] = \"K\";\n ValidationMessageColumnCode2[\"L\"] = \"L\";\n ValidationMessageColumnCode2[\"M\"] = \"M\";\n ValidationMessageColumnCode2[\"N\"] = \"N\";\n ValidationMessageColumnCode2[\"O\"] = \"O\";\n ValidationMessageColumnCode2[\"P\"] = \"P\";\n ValidationMessageColumnCode2[\"Q\"] = \"Q\";\n ValidationMessageColumnCode2[\"R\"] = \"R\";\n ValidationMessageColumnCode2[\"S\"] = \"S\";\n ValidationMessageColumnCode2[\"T\"] = \"T\";\n ValidationMessageColumnCode2[\"U\"] = \"U\";\n ValidationMessageColumnCode2[\"V\"] = \"V\";\n ValidationMessageColumnCode2[\"W\"] = \"W\";\n ValidationMessageColumnCode2[\"X\"] = \"X\";\n ValidationMessageColumnCode2[\"Y\"] = \"Y\";\n ValidationMessageColumnCode2[\"Z\"] = \"Z\";\n ValidationMessageColumnCode2[\"AA\"] = \"AA\";\n ValidationMessageColumnCode2[\"AB\"] = \"AB\";\n ValidationMessageColumnCode2[\"AC\"] = \"AC\";\n ValidationMessageColumnCode2[\"AD\"] = \"AD\";\n ValidationMessageColumnCode2[\"AE\"] = \"AE\";\n ValidationMessageColumnCode2[\"AF\"] = \"AF\";\n ValidationMessageColumnCode2[\"AG\"] = \"AG\";\n ValidationMessageColumnCode2[\"AH\"] = \"AH\";\n ValidationMessageColumnCode2[\"AI\"] = \"AI\";\n ValidationMessageColumnCode2[\"AJ\"] = \"AJ\";\n ValidationMessageColumnCode2[\"AK\"] = \"AK\";\n ValidationMessageColumnCode2[\"AL\"] = \"AL\";\n ValidationMessageColumnCode2[\"AM\"] = \"AM\";\n ValidationMessageColumnCode2[\"AN\"] = \"AN\";\n ValidationMessageColumnCode2[\"AO\"] = \"AO\";\n ValidationMessageColumnCode2[\"AP\"] = \"AP\";\n ValidationMessageColumnCode2[\"AQ\"] = \"AQ\";\n ValidationMessageColumnCode2[\"AR\"] = \"AR\";\n ValidationMessageColumnCode2[\"AS\"] = \"AS\";\n ValidationMessageColumnCode2[\"AT\"] = \"AT\";\n ValidationMessageColumnCode2[\"AU\"] = \"AU\";\n ValidationMessageColumnCode2[\"AV\"] = \"AV\";\n ValidationMessageColumnCode2[\"AW\"] = \"AW\";\n ValidationMessageColumnCode2[\"AX\"] = \"AX\";\n ValidationMessageColumnCode2[\"AY\"] = \"AY\";\n ValidationMessageColumnCode2[\"AZ\"] = \"AZ\";\n ValidationMessageColumnCode2[\"BA\"] = \"BA\";\n ValidationMessageColumnCode2[\"BB\"] = \"BB\";\n ValidationMessageColumnCode2[\"BC\"] = \"BC\";\n ValidationMessageColumnCode2[\"BD\"] = \"BD\";\n ValidationMessageColumnCode2[\"BE\"] = \"BE\";\n ValidationMessageColumnCode2[\"BF\"] = \"BF\";\n ValidationMessageColumnCode2[\"BG\"] = \"BG\";\n ValidationMessageColumnCode2[\"BH\"] = \"BH\";\n ValidationMessageColumnCode2[\"BI\"] = \"BI\";\n ValidationMessageColumnCode2[\"BJ\"] = \"BJ\";\n ValidationMessageColumnCode2[\"BK\"] = \"BK\";\n ValidationMessageColumnCode2[\"BL\"] = \"BL\";\n return ValidationMessageColumnCode2;\n})(ValidationMessageColumnCode || {});\nexport var ValidationMessageColumnName = /* @__PURE__ */ ((ValidationMessageColumnName2) => {\n ValidationMessageColumnName2[\"TransactionType\"] = \"TransactionType\";\n ValidationMessageColumnName2[\"TransactionDate\"] = \"TransactionDate\";\n ValidationMessageColumnName2[\"DestinationCountry\"] = \"DestinationCountry\";\n ValidationMessageColumnName2[\"Currency\"] = \"Currency\";\n ValidationMessageColumnName2[\"VatRate\"] = \"VatRate\";\n ValidationMessageColumnName2[\"GrossAmount\"] = \"GrossAmount\";\n ValidationMessageColumnName2[\"TransactionIdentifier\"] = \"TransactionIdentifier\";\n ValidationMessageColumnName2[\"DateOfSupply\"] = \"DateOfSupply\";\n ValidationMessageColumnName2[\"PaymentDate\"] = \"PaymentDate\";\n ValidationMessageColumnName2[\"InvoiceDate\"] = \"InvoiceDate\";\n ValidationMessageColumnName2[\"Description\"] = \"Description\";\n ValidationMessageColumnName2[\"Quantity\"] = \"Quantity\";\n ValidationMessageColumnName2[\"DepartureCountry\"] = \"DepartureCountry\";\n ValidationMessageColumnName2[\"TaxableBasis\"] = \"TaxableBasis\";\n ValidationMessageColumnName2[\"VatAmount\"] = \"VatAmount\";\n ValidationMessageColumnName2[\"ConsignmentNumber\"] = \"ConsignmentNumber\";\n ValidationMessageColumnName2[\"InvoiceCountry\"] = \"InvoiceCountry\";\n ValidationMessageColumnName2[\"CommodityCode\"] = \"CommodityCode\";\n ValidationMessageColumnName2[\"ExchangeRate\"] = \"ExchangeRate\";\n ValidationMessageColumnName2[\"ReportingGrossAmount\"] = \"ReportingGrossAmount\";\n ValidationMessageColumnName2[\"ReportingTaxableBasis\"] = \"ReportingTaxableBasis\";\n ValidationMessageColumnName2[\"ReportingVatAmount\"] = \"ReportingVatAmount\";\n ValidationMessageColumnName2[\"InvoiceNumber\"] = \"InvoiceNumber\";\n return ValidationMessageColumnName2;\n})(ValidationMessageColumnName || {});\nexport var ValidationMessageValidationCode = /* @__PURE__ */ ((ValidationMessageValidationCode2) => {\n ValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n ValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n ValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n ValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n ValidationMessageValidationCode2[\"Required\"] = \"Required\";\n ValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n ValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n ValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n ValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n ValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n ValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n ValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n ValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n ValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return ValidationMessageValidationCode2;\n})(ValidationMessageValidationCode || {});\n","import { ValidationMessage } from \"./ValidationMessage\";\nexport class UploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof UploadResult\n */\n this.$type = \"V1.ComplianceUploads.UploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new ValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class KpmgValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof KpmgValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.KpmgValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnCode = KpmgValidationMessageColumnCode[_data[\"ColumnCode\"]];\n this.ColumnName = KpmgValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = KpmgValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnCode\"] = KpmgValidationMessageColumnCode[this.ColumnCode];\n _data[\"ColumnName\"] = KpmgValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = KpmgValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var KpmgValidationMessageColumnCode = /* @__PURE__ */ ((KpmgValidationMessageColumnCode2) => {\n KpmgValidationMessageColumnCode2[\"A\"] = \"A\";\n KpmgValidationMessageColumnCode2[\"B\"] = \"B\";\n KpmgValidationMessageColumnCode2[\"C\"] = \"C\";\n KpmgValidationMessageColumnCode2[\"D\"] = \"D\";\n KpmgValidationMessageColumnCode2[\"E\"] = \"E\";\n KpmgValidationMessageColumnCode2[\"F\"] = \"F\";\n KpmgValidationMessageColumnCode2[\"G\"] = \"G\";\n KpmgValidationMessageColumnCode2[\"H\"] = \"H\";\n KpmgValidationMessageColumnCode2[\"I\"] = \"I\";\n KpmgValidationMessageColumnCode2[\"J\"] = \"J\";\n KpmgValidationMessageColumnCode2[\"K\"] = \"K\";\n KpmgValidationMessageColumnCode2[\"L\"] = \"L\";\n KpmgValidationMessageColumnCode2[\"M\"] = \"M\";\n KpmgValidationMessageColumnCode2[\"N\"] = \"N\";\n KpmgValidationMessageColumnCode2[\"O\"] = \"O\";\n KpmgValidationMessageColumnCode2[\"P\"] = \"P\";\n KpmgValidationMessageColumnCode2[\"Q\"] = \"Q\";\n KpmgValidationMessageColumnCode2[\"R\"] = \"R\";\n KpmgValidationMessageColumnCode2[\"S\"] = \"S\";\n KpmgValidationMessageColumnCode2[\"T\"] = \"T\";\n KpmgValidationMessageColumnCode2[\"U\"] = \"U\";\n KpmgValidationMessageColumnCode2[\"V\"] = \"V\";\n KpmgValidationMessageColumnCode2[\"W\"] = \"W\";\n KpmgValidationMessageColumnCode2[\"X\"] = \"X\";\n KpmgValidationMessageColumnCode2[\"Y\"] = \"Y\";\n KpmgValidationMessageColumnCode2[\"Z\"] = \"Z\";\n KpmgValidationMessageColumnCode2[\"AA\"] = \"AA\";\n KpmgValidationMessageColumnCode2[\"AB\"] = \"AB\";\n KpmgValidationMessageColumnCode2[\"AC\"] = \"AC\";\n KpmgValidationMessageColumnCode2[\"AD\"] = \"AD\";\n KpmgValidationMessageColumnCode2[\"AE\"] = \"AE\";\n KpmgValidationMessageColumnCode2[\"AF\"] = \"AF\";\n KpmgValidationMessageColumnCode2[\"AG\"] = \"AG\";\n KpmgValidationMessageColumnCode2[\"AH\"] = \"AH\";\n KpmgValidationMessageColumnCode2[\"AI\"] = \"AI\";\n KpmgValidationMessageColumnCode2[\"AJ\"] = \"AJ\";\n KpmgValidationMessageColumnCode2[\"AK\"] = \"AK\";\n KpmgValidationMessageColumnCode2[\"AL\"] = \"AL\";\n KpmgValidationMessageColumnCode2[\"AM\"] = \"AM\";\n KpmgValidationMessageColumnCode2[\"AN\"] = \"AN\";\n KpmgValidationMessageColumnCode2[\"AO\"] = \"AO\";\n KpmgValidationMessageColumnCode2[\"AP\"] = \"AP\";\n KpmgValidationMessageColumnCode2[\"AQ\"] = \"AQ\";\n KpmgValidationMessageColumnCode2[\"AR\"] = \"AR\";\n KpmgValidationMessageColumnCode2[\"AS\"] = \"AS\";\n KpmgValidationMessageColumnCode2[\"AT\"] = \"AT\";\n KpmgValidationMessageColumnCode2[\"AU\"] = \"AU\";\n KpmgValidationMessageColumnCode2[\"AV\"] = \"AV\";\n KpmgValidationMessageColumnCode2[\"AW\"] = \"AW\";\n KpmgValidationMessageColumnCode2[\"AX\"] = \"AX\";\n KpmgValidationMessageColumnCode2[\"AY\"] = \"AY\";\n KpmgValidationMessageColumnCode2[\"AZ\"] = \"AZ\";\n KpmgValidationMessageColumnCode2[\"BA\"] = \"BA\";\n KpmgValidationMessageColumnCode2[\"BB\"] = \"BB\";\n KpmgValidationMessageColumnCode2[\"BC\"] = \"BC\";\n KpmgValidationMessageColumnCode2[\"BD\"] = \"BD\";\n KpmgValidationMessageColumnCode2[\"BE\"] = \"BE\";\n KpmgValidationMessageColumnCode2[\"BF\"] = \"BF\";\n KpmgValidationMessageColumnCode2[\"BG\"] = \"BG\";\n KpmgValidationMessageColumnCode2[\"BH\"] = \"BH\";\n KpmgValidationMessageColumnCode2[\"BI\"] = \"BI\";\n KpmgValidationMessageColumnCode2[\"BJ\"] = \"BJ\";\n KpmgValidationMessageColumnCode2[\"BK\"] = \"BK\";\n KpmgValidationMessageColumnCode2[\"BL\"] = \"BL\";\n return KpmgValidationMessageColumnCode2;\n})(KpmgValidationMessageColumnCode || {});\nexport var KpmgValidationMessageColumnName = /* @__PURE__ */ ((KpmgValidationMessageColumnName2) => {\n KpmgValidationMessageColumnName2[\"TransactionType\"] = \"TransactionType\";\n KpmgValidationMessageColumnName2[\"TypeOfSale\"] = \"TypeOfSale\";\n KpmgValidationMessageColumnName2[\"TypeOfPartner\"] = \"TypeOfPartner\";\n KpmgValidationMessageColumnName2[\"VatNumber\"] = \"VatNumber\";\n KpmgValidationMessageColumnName2[\"TransactionDate\"] = \"TransactionDate\";\n KpmgValidationMessageColumnName2[\"InvoiceNumber\"] = \"InvoiceNumber\";\n KpmgValidationMessageColumnName2[\"ShippingFrom\"] = \"ShippingFrom\";\n KpmgValidationMessageColumnName2[\"CountryOfCustomer\"] = \"CountryOfCustomer\";\n KpmgValidationMessageColumnName2[\"Currency\"] = \"Currency\";\n KpmgValidationMessageColumnName2[\"GrossAmount\"] = \"GrossAmount\";\n KpmgValidationMessageColumnName2[\"VatReportingCountry\"] = \"VatReportingCountry\";\n KpmgValidationMessageColumnName2[\"VatRate\"] = \"VatRate\";\n KpmgValidationMessageColumnName2[\"TaxableBasis\"] = \"TaxableBasis\";\n KpmgValidationMessageColumnName2[\"VatAmount\"] = \"VatAmount\";\n KpmgValidationMessageColumnName2[\"InvoiceDate\"] = \"InvoiceDate\";\n KpmgValidationMessageColumnName2[\"TransactionIdentifier\"] = \"TransactionIdentifier\";\n KpmgValidationMessageColumnName2[\"DateOfSupply\"] = \"DateOfSupply\";\n KpmgValidationMessageColumnName2[\"PaymentDate\"] = \"PaymentDate\";\n KpmgValidationMessageColumnName2[\"Consignment\"] = \"Consignment\";\n KpmgValidationMessageColumnName2[\"OnlineMarketplace\"] = \"OnlineMarketplace\";\n KpmgValidationMessageColumnName2[\"PostponedAccounting\"] = \"PostponedAccounting\";\n KpmgValidationMessageColumnName2[\"TaxCollectionResponsibility\"] = \"TaxCollectionResponsibility\";\n KpmgValidationMessageColumnName2[\"CountryOfOrigin\"] = \"CountryOfOrigin\";\n KpmgValidationMessageColumnName2[\"Weight\"] = \"Weight\";\n KpmgValidationMessageColumnName2[\"Unit\"] = \"Unit\";\n KpmgValidationMessageColumnName2[\"Quantity\"] = \"Quantity\";\n KpmgValidationMessageColumnName2[\"DepartureZipCode\"] = \"DepartureZipCode\";\n KpmgValidationMessageColumnName2[\"DeliveryConditions\"] = \"DeliveryConditions\";\n KpmgValidationMessageColumnName2[\"NatureOfTransaction\"] = \"NatureOfTransaction\";\n KpmgValidationMessageColumnName2[\"CommodityCode\"] = \"CommodityCode\";\n KpmgValidationMessageColumnName2[\"ModeOfTransport\"] = \"ModeOfTransport\";\n KpmgValidationMessageColumnName2[\"ArrivalZipCode\"] = \"ArrivalZipCode\";\n KpmgValidationMessageColumnName2[\"Sale_MPP\"] = \"Sale_MPP\";\n KpmgValidationMessageColumnName2[\"SW\"] = \"SW\";\n KpmgValidationMessageColumnName2[\"EE\"] = \"EE\";\n KpmgValidationMessageColumnName2[\"TP\"] = \"TP\";\n KpmgValidationMessageColumnName2[\"TT_WNT\"] = \"TT_WNT\";\n KpmgValidationMessageColumnName2[\"TT_D\"] = \"TT_D\";\n KpmgValidationMessageColumnName2[\"MR_T\"] = \"MR_T\";\n KpmgValidationMessageColumnName2[\"MR_UZ\"] = \"MR_UZ\";\n KpmgValidationMessageColumnName2[\"I_42\"] = \"I_42\";\n KpmgValidationMessageColumnName2[\"I_63\"] = \"I_63\";\n KpmgValidationMessageColumnName2[\"B_SPV\"] = \"B_SPV\";\n KpmgValidationMessageColumnName2[\"B_SPV_DOSTWA\"] = \"B_SPV_DOSTWA\";\n KpmgValidationMessageColumnName2[\"B_MPV_PROWIZJA\"] = \"B_MPV_PROWIZJA\";\n KpmgValidationMessageColumnName2[\"RO\"] = \"RO\";\n KpmgValidationMessageColumnName2[\"Sale_WEW\"] = \"Sale_WEW\";\n KpmgValidationMessageColumnName2[\"FP\"] = \"FP\";\n KpmgValidationMessageColumnName2[\"IMP\"] = \"IMP\";\n KpmgValidationMessageColumnName2[\"Purchase_MPP\"] = \"Purchase_MPP\";\n KpmgValidationMessageColumnName2[\"MK\"] = \"MK\";\n KpmgValidationMessageColumnName2[\"VAT_RR\"] = \"VAT_RR\";\n KpmgValidationMessageColumnName2[\"Purchase_WEW\"] = \"Purchase_WEW\";\n KpmgValidationMessageColumnName2[\"GTU_01\"] = \"GTU_01\";\n KpmgValidationMessageColumnName2[\"GTU_02\"] = \"GTU_02\";\n KpmgValidationMessageColumnName2[\"GTU_03\"] = \"GTU_03\";\n KpmgValidationMessageColumnName2[\"GTU_04\"] = \"GTU_04\";\n KpmgValidationMessageColumnName2[\"GTU_05\"] = \"GTU_05\";\n KpmgValidationMessageColumnName2[\"GTU_06\"] = \"GTU_06\";\n KpmgValidationMessageColumnName2[\"GTU_07\"] = \"GTU_07\";\n KpmgValidationMessageColumnName2[\"GTU_08\"] = \"GTU_08\";\n KpmgValidationMessageColumnName2[\"GTU_09\"] = \"GTU_09\";\n KpmgValidationMessageColumnName2[\"GTU_10\"] = \"GTU_10\";\n KpmgValidationMessageColumnName2[\"GTU_11\"] = \"GTU_11\";\n KpmgValidationMessageColumnName2[\"GTU_12\"] = \"GTU_12\";\n KpmgValidationMessageColumnName2[\"GTU_13\"] = \"GTU_13\";\n KpmgValidationMessageColumnName2[\"PartnerName\"] = \"PartnerName\";\n return KpmgValidationMessageColumnName2;\n})(KpmgValidationMessageColumnName || {});\nexport var KpmgValidationMessageValidationCode = /* @__PURE__ */ ((KpmgValidationMessageValidationCode2) => {\n KpmgValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n KpmgValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n KpmgValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n KpmgValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n KpmgValidationMessageValidationCode2[\"Required\"] = \"Required\";\n KpmgValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n KpmgValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n KpmgValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n KpmgValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n KpmgValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n KpmgValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n KpmgValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n KpmgValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n KpmgValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return KpmgValidationMessageValidationCode2;\n})(KpmgValidationMessageValidationCode || {});\n","import { KpmgValidationMessage } from \"./KpmgValidationMessage\";\nexport class KpmgUploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof KpmgUploadResult\n */\n this.$type = \"V1.ComplianceUploads.KpmgUploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new KpmgValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class AmazonValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.AmazonValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnName = AmazonValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = AmazonValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnName\"] = AmazonValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = AmazonValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var AmazonValidationMessageColumnName = /* @__PURE__ */ ((AmazonValidationMessageColumnName2) => {\n AmazonValidationMessageColumnName2[\"UNIQUE_ACCOUNT_IDENTIFIER\"] = \"UNIQUE_ACCOUNT_IDENTIFIER\";\n AmazonValidationMessageColumnName2[\"ACTIVITY_PERIOD\"] = \"ACTIVITY_PERIOD\";\n AmazonValidationMessageColumnName2[\"SALES_CHANNEL\"] = \"SALES_CHANNEL\";\n AmazonValidationMessageColumnName2[\"MARKETPLACE\"] = \"MARKETPLACE\";\n AmazonValidationMessageColumnName2[\"PROGRAM_TYPE\"] = \"PROGRAM_TYPE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_TYPE\"] = \"TRANSACTION_TYPE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_EVENT_ID\"] = \"TRANSACTION_EVENT_ID\";\n AmazonValidationMessageColumnName2[\"ACTIVITY_TRANSACTION_ID\"] = \"ACTIVITY_TRANSACTION_ID\";\n AmazonValidationMessageColumnName2[\"TAX_CALCULATION_DATE\"] = \"TAX_CALCULATION_DATE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_DEPART_DATE\"] = \"TRANSACTION_DEPART_DATE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_ARRIVAL_DATE\"] = \"TRANSACTION_ARRIVAL_DATE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_COMPLETE_DATE\"] = \"TRANSACTION_COMPLETE_DATE\";\n AmazonValidationMessageColumnName2[\"SELLER_SKU\"] = \"SELLER_SKU\";\n AmazonValidationMessageColumnName2[\"ASIN\"] = \"ASIN\";\n AmazonValidationMessageColumnName2[\"ITEM_DESCRIPTION\"] = \"ITEM_DESCRIPTION\";\n AmazonValidationMessageColumnName2[\"ITEM_MANUFACTURE_COUNTRY\"] = \"ITEM_MANUFACTURE_COUNTRY\";\n AmazonValidationMessageColumnName2[\"QTY\"] = \"QTY\";\n AmazonValidationMessageColumnName2[\"ITEM_WEIGHT\"] = \"ITEM_WEIGHT\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_WEIGHT\"] = \"TOTAL_ACTIVITY_WEIGHT\";\n AmazonValidationMessageColumnName2[\"COST_PRICE_OF_ITEMS\"] = \"COST_PRICE_OF_ITEMS\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_AMT_VAT_EXCL\"] = \"PRICE_OF_ITEMS_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PROMO_PRICE_OF_ITEMS_AMT_VAT_EXCL\"] = \"PROMO_PRICE_OF_ITEMS_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_PRICE_OF_ITEMS_AMT_VAT_EXCL\"] = \"TOTAL_PRICE_OF_ITEMS_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_AMT_VAT_EXCL\"] = \"SHIP_CHARGE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PROMO_SHIP_CHARGE_AMT_VAT_EXCL\"] = \"PROMO_SHIP_CHARGE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_SHIP_CHARGE_AMT_VAT_EXCL\"] = \"TOTAL_SHIP_CHARGE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_AMT_VAT_EXCL\"] = \"GIFT_WRAP_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PROMO_GIFT_WRAP_AMT_VAT_EXCL\"] = \"PROMO_GIFT_WRAP_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_GIFT_WRAP_AMT_VAT_EXCL\"] = \"TOTAL_GIFT_WRAP_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_VALUE_AMT_VAT_EXCL\"] = \"TOTAL_ACTIVITY_VALUE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_VAT_RATE_PERCENT\"] = \"PRICE_OF_ITEMS_VAT_RATE_PERCENT\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_VAT_AMT\"] = \"PRICE_OF_ITEMS_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PROMO_PRICE_OF_ITEMS_VAT_AMT\"] = \"PROMO_PRICE_OF_ITEMS_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_PRICE_OF_ITEMS_VAT_AMT\"] = \"TOTAL_PRICE_OF_ITEMS_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_VAT_RATE_PERCENT\"] = \"SHIP_CHARGE_VAT_RATE_PERCENT\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_VAT_AMT\"] = \"SHIP_CHARGE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PROMO_SHIP_CHARGE_VAT_AMT\"] = \"PROMO_SHIP_CHARGE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_SHIP_CHARGE_VAT_AMT\"] = \"TOTAL_SHIP_CHARGE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_VAT_RATE_PERCENT\"] = \"GIFT_WRAP_VAT_RATE_PERCENT\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_VAT_AMT\"] = \"GIFT_WRAP_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PROMO_GIFT_WRAP_VAT_AMT\"] = \"PROMO_GIFT_WRAP_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_GIFT_WRAP_VAT_AMT\"] = \"TOTAL_GIFT_WRAP_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_VALUE_VAT_AMT\"] = \"TOTAL_ACTIVITY_VALUE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_AMT_VAT_INCL\"] = \"PRICE_OF_ITEMS_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"PROMO_PRICE_OF_ITEMS_AMT_VAT_INCL\"] = \"PROMO_PRICE_OF_ITEMS_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_PRICE_OF_ITEMS_AMT_VAT_INCL\"] = \"TOTAL_PRICE_OF_ITEMS_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_AMT_VAT_INCL\"] = \"SHIP_CHARGE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"PROMO_SHIP_CHARGE_AMT_VAT_INCL\"] = \"PROMO_SHIP_CHARGE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_SHIP_CHARGE_AMT_VAT_INCL\"] = \"TOTAL_SHIP_CHARGE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_AMT_VAT_INCL\"] = \"GIFT_WRAP_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"PROMO_GIFT_WRAP_AMT_VAT_INCL\"] = \"PROMO_GIFT_WRAP_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_GIFT_WRAP_AMT_VAT_INCL\"] = \"TOTAL_GIFT_WRAP_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_VALUE_AMT_VAT_INCL\"] = \"TOTAL_ACTIVITY_VALUE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_CURRENCY_CODE\"] = \"TRANSACTION_CURRENCY_CODE\";\n AmazonValidationMessageColumnName2[\"COMMODITY_CODE\"] = \"COMMODITY_CODE\";\n AmazonValidationMessageColumnName2[\"STATISTICAL_CODE_DEPART\"] = \"STATISTICAL_CODE_DEPART\";\n AmazonValidationMessageColumnName2[\"STATISTICAL_CODE_ARRIVAL\"] = \"STATISTICAL_CODE_ARRIVAL\";\n AmazonValidationMessageColumnName2[\"COMMODITY_CODE_SUPPLEMENTARY_UNIT\"] = \"COMMODITY_CODE_SUPPLEMENTARY_UNIT\";\n AmazonValidationMessageColumnName2[\"ITEM_QTY_SUPPLEMENTARY_UNIT\"] = \"ITEM_QTY_SUPPLEMENTARY_UNIT\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_SUPPLEMENTARY_UNIT\"] = \"TOTAL_ACTIVITY_SUPPLEMENTARY_UNIT\";\n AmazonValidationMessageColumnName2[\"PRODUCT_TAX_CODE\"] = \"PRODUCT_TAX_CODE\";\n AmazonValidationMessageColumnName2[\"DEPATURE_CITY\"] = \"DEPATURE_CITY\";\n AmazonValidationMessageColumnName2[\"DEPARTURE_COUNTRY\"] = \"DEPARTURE_COUNTRY\";\n AmazonValidationMessageColumnName2[\"DEPARTURE_POST_CODE\"] = \"DEPARTURE_POST_CODE\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_CITY\"] = \"ARRIVAL_CITY\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_COUNTRY\"] = \"ARRIVAL_COUNTRY\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_POST_CODE\"] = \"ARRIVAL_POST_CODE\";\n AmazonValidationMessageColumnName2[\"SALE_DEPART_COUNTRY\"] = \"SALE_DEPART_COUNTRY\";\n AmazonValidationMessageColumnName2[\"SALE_ARRIVAL_COUNTRY\"] = \"SALE_ARRIVAL_COUNTRY\";\n AmazonValidationMessageColumnName2[\"TRANSPORTATION_MODE\"] = \"TRANSPORTATION_MODE\";\n AmazonValidationMessageColumnName2[\"DELIVERY_CONDITIONS\"] = \"DELIVERY_CONDITIONS\";\n AmazonValidationMessageColumnName2[\"SELLER_DEPART_VAT_NUMBER_COUNTRY\"] = \"SELLER_DEPART_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"SELLER_DEPART_COUNTRY_VAT_NUMBER\"] = \"SELLER_DEPART_COUNTRY_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"SELLER_ARRIVAL_VAT_NUMBER_COUNTRY\"] = \"SELLER_ARRIVAL_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"SELLER_ARRIVAL_COUNTRY_VAT_NUMBER\"] = \"SELLER_ARRIVAL_COUNTRY_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_SELLER_VAT_NUMBER_COUNTRY\"] = \"TRANSACTION_SELLER_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_SELLER_VAT_NUMBER\"] = \"TRANSACTION_SELLER_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"BUYER_VAT_NUMBER_COUNTRY\"] = \"BUYER_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"BUYER_VAT_NUMBER\"] = \"BUYER_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"VAT_CALCULATION_IMPUTATION_COUNTRY\"] = \"VAT_CALCULATION_IMPUTATION_COUNTRY\";\n AmazonValidationMessageColumnName2[\"TAXABLE_JURISDICTION\"] = \"TAXABLE_JURISDICTION\";\n AmazonValidationMessageColumnName2[\"TAXABLE_JURISDICTION_LEVEL\"] = \"TAXABLE_JURISDICTION_LEVEL\";\n AmazonValidationMessageColumnName2[\"VAT_INV_NUMBER\"] = \"VAT_INV_NUMBER\";\n AmazonValidationMessageColumnName2[\"VAT_INV_CONVERTED_AMT\"] = \"VAT_INV_CONVERTED_AMT\";\n AmazonValidationMessageColumnName2[\"VAT_INV_CURRENCY_CODE\"] = \"VAT_INV_CURRENCY_CODE\";\n AmazonValidationMessageColumnName2[\"VAT_INV_EXCHANGE_RATE\"] = \"VAT_INV_EXCHANGE_RATE\";\n AmazonValidationMessageColumnName2[\"VAT_INV_EXCHANGE_RATE_DATE\"] = \"VAT_INV_EXCHANGE_RATE_DATE\";\n AmazonValidationMessageColumnName2[\"EXPORT_OUTSIDE_EU\"] = \"EXPORT_OUTSIDE_EU\";\n AmazonValidationMessageColumnName2[\"INVOICE_URL\"] = \"INVOICE_URL\";\n AmazonValidationMessageColumnName2[\"BUYER_NAME\"] = \"BUYER_NAME\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_ADDRESS\"] = \"ARRIVAL_ADDRESS\";\n AmazonValidationMessageColumnName2[\"SUPPLIER_NAME\"] = \"SUPPLIER_NAME\";\n AmazonValidationMessageColumnName2[\"SUPPLIER_VAT_NUMBER\"] = \"SUPPLIER_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"TAX_REPORTING_SCHEME\"] = \"TAX_REPORTING_SCHEME\";\n AmazonValidationMessageColumnName2[\"TAX_COLLECTION_RESPONSIBILITY\"] = \"TAX_COLLECTION_RESPONSIBILITY\";\n return AmazonValidationMessageColumnName2;\n})(AmazonValidationMessageColumnName || {});\nexport var AmazonValidationMessageValidationCode = /* @__PURE__ */ ((AmazonValidationMessageValidationCode2) => {\n AmazonValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n AmazonValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n AmazonValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n AmazonValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n AmazonValidationMessageValidationCode2[\"Required\"] = \"Required\";\n AmazonValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n AmazonValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n AmazonValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n AmazonValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n AmazonValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n AmazonValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n AmazonValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n AmazonValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n AmazonValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return AmazonValidationMessageValidationCode2;\n})(AmazonValidationMessageValidationCode || {});\n","import { AmazonValidationMessage } from \"./AmazonValidationMessage\";\nexport class AmazonUploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonUploadResult\n */\n this.$type = \"V1.ComplianceUploads.AmazonUploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new AmazonValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class AmazonSaftValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonSaftValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.AmazonSaftValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnName = AmazonSaftValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = AmazonSaftValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnName\"] = AmazonSaftValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = AmazonSaftValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var AmazonSaftValidationMessageColumnName = /* @__PURE__ */ ((AmazonSaftValidationMessageColumnName2) => {\n AmazonSaftValidationMessageColumnName2[\"ID\"] = \"ID\";\n AmazonSaftValidationMessageColumnName2[\"TRANSACTION_EVENT_ID\"] = \"TRANSACTION_EVENT_ID\";\n AmazonSaftValidationMessageColumnName2[\"TRANSACTION_COMPLETE_DATE\"] = \"TRANSACTION_COMPLETE_DATE\";\n AmazonSaftValidationMessageColumnName2[\"SELLER_SKU\"] = \"SELLER_SKU\";\n AmazonSaftValidationMessageColumnName2[\"TRANSACTION_TYPE\"] = \"TRANSACTION_TYPE\";\n AmazonSaftValidationMessageColumnName2[\"Sale_MPP\"] = \"Sale_MPP\";\n AmazonSaftValidationMessageColumnName2[\"SW\"] = \"SW\";\n AmazonSaftValidationMessageColumnName2[\"EE\"] = \"EE\";\n AmazonSaftValidationMessageColumnName2[\"TP\"] = \"TP\";\n AmazonSaftValidationMessageColumnName2[\"TT_WNT\"] = \"TT_WNT\";\n AmazonSaftValidationMessageColumnName2[\"TT_D\"] = \"TT_D\";\n AmazonSaftValidationMessageColumnName2[\"MR_T\"] = \"MR_T\";\n AmazonSaftValidationMessageColumnName2[\"MR_UZ\"] = \"MR_UZ\";\n AmazonSaftValidationMessageColumnName2[\"I_42\"] = \"I_42\";\n AmazonSaftValidationMessageColumnName2[\"I_63\"] = \"I_63\";\n AmazonSaftValidationMessageColumnName2[\"B_SPV\"] = \"B_SPV\";\n AmazonSaftValidationMessageColumnName2[\"B_SPV_DOSTWA\"] = \"B_SPV_DOSTWA\";\n AmazonSaftValidationMessageColumnName2[\"B_MPV_PROWIZJA\"] = \"B_MPV_PROWIZJA\";\n AmazonSaftValidationMessageColumnName2[\"RO\"] = \"RO\";\n AmazonSaftValidationMessageColumnName2[\"Sale_WEW\"] = \"Sale_WEW\";\n AmazonSaftValidationMessageColumnName2[\"FP\"] = \"FP\";\n AmazonSaftValidationMessageColumnName2[\"IMP\"] = \"IMP\";\n AmazonSaftValidationMessageColumnName2[\"Purchase_MPP\"] = \"Purchase_MPP\";\n AmazonSaftValidationMessageColumnName2[\"MK\"] = \"MK\";\n AmazonSaftValidationMessageColumnName2[\"VAT_RR\"] = \"VAT_RR\";\n AmazonSaftValidationMessageColumnName2[\"Purchase_WEW\"] = \"Purchase_WEW\";\n return AmazonSaftValidationMessageColumnName2;\n})(AmazonSaftValidationMessageColumnName || {});\nexport var AmazonSaftValidationMessageValidationCode = /* @__PURE__ */ ((AmazonSaftValidationMessageValidationCode2) => {\n AmazonSaftValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n AmazonSaftValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n AmazonSaftValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n AmazonSaftValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n AmazonSaftValidationMessageValidationCode2[\"Required\"] = \"Required\";\n AmazonSaftValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n AmazonSaftValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n AmazonSaftValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n AmazonSaftValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n AmazonSaftValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n AmazonSaftValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n AmazonSaftValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n AmazonSaftValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n AmazonSaftValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return AmazonSaftValidationMessageValidationCode2;\n})(AmazonSaftValidationMessageValidationCode || {});\n","import { AmazonSaftValidationMessage } from \"./AmazonSaftValidationMessage\";\nexport class AmazonSaftUploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonSaftUploadResult\n */\n this.$type = \"V1.ComplianceUploads.AmazonSaftUploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new AmazonSaftValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class StatusResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof StatusResult\n */\n this.$type = \"V1.ComplianceUploads.StatusResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ComplianceUploadStatus = StatusResultComplianceUploadStatus[_data[\"ComplianceUploadStatus\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ComplianceUploadStatus\"] = StatusResultComplianceUploadStatus[this.ComplianceUploadStatus];\n return _data;\n }\n}\nexport var StatusResultComplianceUploadStatus = /* @__PURE__ */ ((StatusResultComplianceUploadStatus2) => {\n StatusResultComplianceUploadStatus2[\"New\"] = \"New\";\n StatusResultComplianceUploadStatus2[\"WaitingForFinalize\"] = \"WaitingForFinalize\";\n StatusResultComplianceUploadStatus2[\"InvalidData\"] = \"InvalidData\";\n StatusResultComplianceUploadStatus2[\"SaftCompliance\"] = \"SaftCompliance\";\n StatusResultComplianceUploadStatus2[\"MasterDataSetup\"] = \"MasterDataSetup\";\n StatusResultComplianceUploadStatus2[\"DataUploadFinalized\"] = \"DataUploadFinalized\";\n StatusResultComplianceUploadStatus2[\"SentToReturnGeneration\"] = \"SentToReturnGeneration\";\n StatusResultComplianceUploadStatus2[\"DataVatGenerated\"] = \"DataVatGenerated\";\n StatusResultComplianceUploadStatus2[\"InsufficientCredit\"] = \"InsufficientCredit\";\n StatusResultComplianceUploadStatus2[\"UploadProcessed\"] = \"UploadProcessed\";\n StatusResultComplianceUploadStatus2[\"Error\"] = \"Error\";\n return StatusResultComplianceUploadStatus2;\n})(StatusResultComplianceUploadStatus || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/ComplianceUploads/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { UploadResult } from \"./../models/V1/ComplianceUploads/UploadResult\";\nimport { KpmgUploadResult } from \"./../models/V1/ComplianceUploads/KpmgUploadResult\";\nimport { AmazonUploadResult } from \"./../models/V1/ComplianceUploads/AmazonUploadResult\";\nimport { AmazonSaftUploadResult } from \"./../models/V1/ComplianceUploads/AmazonSaftUploadResult\";\nimport { StatusResult } from \"./../models/V1/ComplianceUploads/StatusResult\";\nimport { ComplianceUpload } from \"./../models/V1/ComplianceUploads/ComplianceUpload\";\nexport class ComplianceUploads {\n /**\n * Creates an instance of ComplianceUploads.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof ComplianceUploads\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchComplianceUploadsRq_ _searchComplianceUploadsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n searchComplianceUploads(pSearchComplianceUploadsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchComplianceUploadsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadIossTransactionsRq_ _uploadIossTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadIossTransactions(pUploadIossTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/IOSS\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"ignoreWarnings\", value: pUploadIossTransactionsRq.ignoreWarnings, required: true }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadIossTransactionsRq.complianceUploadId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadIossTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: UploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadVatKpmgTransactionsRq_ _uploadVatKpmgTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadVatKpmgTransactions(pUploadVatKpmgTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/VAT\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"ignoreWarnings\", value: pUploadVatKpmgTransactionsRq.ignoreWarnings, required: true }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadVatKpmgTransactionsRq.complianceUploadId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadVatKpmgTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: KpmgUploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveUploadedVatKpmgTransactionsRq_ _removeUploadedVatKpmgTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n removeUploadedVatKpmgTransactions(pRemoveUploadedVatKpmgTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/VAT\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pRemoveUploadedVatKpmgTransactionsRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadAmazonTransactionsRq_ _uploadAmazonTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadAmazonTransactions(pUploadAmazonTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/Amazon/{sellerEntityId}\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"ignoreWarnings\", value: pUploadAmazonTransactionsRq.ignoreWarnings, required: true }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadAmazonTransactionsRq.complianceUploadId, required: true },\n { name: \"sellerEntityId\", value: pUploadAmazonTransactionsRq.sellerEntityId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadAmazonTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: AmazonUploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveUploadedAmazonTransactionsRq_ _removeUploadedAmazonTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n removeUploadedAmazonTransactions(pRemoveUploadedAmazonTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/Amazon\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pRemoveUploadedAmazonTransactionsRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSaftTransactionsRq_ _uploadSaftTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadSaftTransactions(pUploadSaftTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/SAFT\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadSaftTransactionsRq.complianceUploadId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSaftTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: AmazonSaftUploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GenerateSaftTemplateRq_ _generateSaftTemplateRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n generateSaftTemplate(pGenerateSaftTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/GenerateSaftTemplate\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/plain, application/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pGenerateSaftTemplateRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadFileRq_ _downloadFileRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n downloadFile(pDownloadFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Files/{reference}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/plain, application/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pDownloadFileRq.complianceUploadId, required: true },\n { name: \"reference\", value: pDownloadFileRq.reference, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeVatComplianceUploadRq_ _finalizeVatComplianceUploadRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeVatComplianceUpload(pFinalizeVatComplianceUploadRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeVat\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeVatComplianceUploadRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: StatusResult },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeSAFTRq_ _finalizeSAFTRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeSAFT(pFinalizeSAFTRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeSAFT\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"confirmNoSaft\", value: pFinalizeSAFTRq.confirmNoSaft }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeSAFTRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: StatusResult },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeMasterDataRq_ _finalizeMasterDataRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeMasterData(pFinalizeMasterDataRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeMasterData\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"acknowledgeIncompleteSkus\", value: pFinalizeMasterDataRq.acknowledgeIncompleteSkus }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeMasterDataRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: StatusResult },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeIossComplianceUploadRq_ _finalizeIossComplianceUploadRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeIossComplianceUpload(pFinalizeIossComplianceUploadRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeIoss\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeIossComplianceUploadRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CheckBalanceRq_ _checkBalanceRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n checkBalance(pCheckBalanceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/CheckBalance\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pCheckBalanceRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetComplianceRq_ _getComplianceRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n getCompliance(pGetComplianceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pGetComplianceRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: ComplianceUpload },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class IossRegistration {\n /**\n * Creates an instance of IossRegistration.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof IossRegistration\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param FinalizeUploadRq_ _finalizeUploadRq\n * @returns Promise\n * @memberof IossRegistration\n */\n finalizeUpload(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Finalize\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadRegistrationDocumentRq_ _downloadRegistrationDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n downloadRegistrationDocument(pDownloadRegistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Registration/Documents/{documentId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addQueryParams([\n { name: \"type\", value: pDownloadRegistrationDocumentRq.type }\n ]);\n client.addPathParams([\n { name: \"documentId\", value: pDownloadRegistrationDocumentRq.documentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSignedRegistrationDocumentRq_ _uploadSignedRegistrationDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n uploadSignedRegistrationDocument(pUploadSignedRegistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Registration/Documents/{documentId}/Signed\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"documentId\", value: pUploadSignedRegistrationDocumentRq.documentId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSignedRegistrationDocumentRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadCertificateRq_ _downloadCertificateRq\n * @returns Promise\n * @memberof IossRegistration\n */\n downloadCertificate(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Registration/Certificate\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadDeregistrationDocumentRq_ _downloadDeregistrationDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n downloadDeregistrationDocument(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Registration/deregistrationdocument\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var DownloadRegistrationDocumentType = /* @__PURE__ */ ((DownloadRegistrationDocumentType2) => {\n DownloadRegistrationDocumentType2[\"Unsigned\"] = \"Unsigned\";\n DownloadRegistrationDocumentType2[\"Signed\"] = \"Signed\";\n return DownloadRegistrationDocumentType2;\n})(DownloadRegistrationDocumentType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Country } from \"./../models/V1/Common/MasterData/Country\";\nexport class MasterData {\n /**\n * Creates an instance of MasterData.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof MasterData\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetCountriesRq_ _getCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getCountries(pGetCountriesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/Countries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"locale\", value: pGetCountriesRq.locale }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetServiceCountriesRq_ _getServiceCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getServiceCountries(pGetServiceCountriesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/ServiceCountries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"locale\", value: pGetServiceCountriesRq.locale }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetEuCountriesRq_ _getEuCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getEuCountries(pGetEuCountriesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/EuCountries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"locale\", value: pGetEuCountriesRq.locale }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetBirthCountriesRq_ _getBirthCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getBirthCountries(pGetBirthCountriesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/BirthCountries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"locale\", value: pGetBirthCountriesRq.locale }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class BillingDocument {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BillingDocument\n */\n this.$type = \"V1.Orders.Get.BillingDocument\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.OrderVersion = _data[\"OrderVersion\"];\n this.ReceivedAt = DateConverter.from(_data[\"ReceivedAt\"]);\n this.Reference = _data[\"Reference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"OrderVersion\"] = this.OrderVersion;\n _data[\"ReceivedAt\"] = DateConverter.toIsoUtcString(this.ReceivedAt);\n _data[\"Reference\"] = this.Reference;\n return _data;\n }\n}\n","import { Money } from \"./../../Common/Money\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class Payment {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Payment\n */\n this.$type = \"V1.Orders.Get.Payment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ApprovedAt = DateConverter.from(_data[\"ApprovedAt\"]);\n if (_data[\"Collected\"]) {\n const collected_ = new Money();\n this.Collected = collected_.init(_data[\"Collected\"]);\n }\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n this.Id = _data[\"Id\"];\n this.IsRefund = _data[\"IsRefund\"];\n this.MerchantReference = _data[\"MerchantReference\"];\n if (_data[\"Quoted\"]) {\n const quoted_ = new Money();\n this.Quoted = quoted_.init(_data[\"Quoted\"]);\n }\n this.Status = PaymentStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"ApprovedAt\"] = DateConverter.toIsoUtcString(this.ApprovedAt);\n _data[\"Collected\"] = this.Collected ? this.Collected.toJSON() : void 0;\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n _data[\"Id\"] = this.Id;\n _data[\"IsRefund\"] = this.IsRefund;\n _data[\"MerchantReference\"] = this.MerchantReference;\n _data[\"Quoted\"] = this.Quoted ? this.Quoted.toJSON() : void 0;\n _data[\"Status\"] = PaymentStatus[this.Status];\n return _data;\n }\n}\nexport var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {\n PaymentStatus2[\"Created\"] = \"Created\";\n PaymentStatus2[\"Approved\"] = \"Approved\";\n return PaymentStatus2;\n})(PaymentStatus || {});\n","import { Payment } from \"./Payment\";\nexport class BankTransferPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankTransferPayment\n */\n this.$type = \"V1.Orders.Get.BankTransferPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.HasPaymentProof = _data[\"HasPaymentProof\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"HasPaymentProof\"] = this.HasPaymentProof;\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nexport class DesuclaPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DesuclaPayment\n */\n this.$type = \"V1.Orders.Get.DesuclaPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nexport class PayPalPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PayPalPayment\n */\n this.$type = \"V1.Orders.Get.PayPalPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nimport { BankTransferPayment } from \"./BankTransferPayment\";\nimport { DesuclaPayment } from \"./DesuclaPayment\";\nimport { PayPalPayment } from \"./PayPalPayment\";\nexport class PaymentFactory {\n static create($type) {\n if ($type === \"V1.Orders.Get.Payment\") {\n const result = new Payment();\n return result;\n }\n if ($type === \"V1.Orders.Get.BankTransferPayment\") {\n const result = new BankTransferPayment();\n return result;\n }\n if ($type === \"V1.Orders.Get.DesuclaPayment\") {\n const result = new DesuclaPayment();\n return result;\n }\n if ($type === \"V1.Orders.Get.PayPalPayment\") {\n const result = new PayPalPayment();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { Money } from \"./../../Common/Money\";\nexport class Service {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Service\n */\n this.$type = \"V1.Orders.Services.Service\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = ServiceCode[_data[\"Code\"]];\n if (_data[\"Price\"]) {\n const price_ = new Money();\n this.Price = price_.init(_data[\"Price\"]);\n }\n this.Status = ServiceStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Code\"] = ServiceCode[this.Code];\n _data[\"Price\"] = this.Price ? this.Price.toJSON() : void 0;\n _data[\"Status\"] = ServiceStatus[this.Status];\n return _data;\n }\n}\nexport var ServiceCode = /* @__PURE__ */ ((ServiceCode2) => {\n ServiceCode2[\"VatCompliance\"] = \"VatCompliance\";\n ServiceCode2[\"VatMonthlyCompliance\"] = \"VatMonthlyCompliance\";\n ServiceCode2[\"VatHomeCountryCompliance\"] = \"VatHomeCountryCompliance\";\n ServiceCode2[\"VatRegistration\"] = \"VatRegistration\";\n ServiceCode2[\"VatTakeOver\"] = \"VatTakeOver\";\n ServiceCode2[\"VatSpanishBankAccount\"] = \"VatSpanishBankAccount\";\n ServiceCode2[\"VatFiscalRepresentative\"] = \"VatFiscalRepresentative\";\n ServiceCode2[\"VatFilingAgent\"] = \"VatFilingAgent\";\n ServiceCode2[\"VatRetrospectiveReturn\"] = \"VatRetrospectiveReturn\";\n ServiceCode2[\"VatIntrastatIn\"] = \"VatIntrastatIn\";\n ServiceCode2[\"VatIntrastatOut\"] = \"VatIntrastatOut\";\n ServiceCode2[\"VatDeregistration\"] = \"VatDeregistration\";\n ServiceCode2[\"VatSelfRevision\"] = \"VatSelfRevision\";\n ServiceCode2[\"IossComplianceTier0\"] = \"IossComplianceTier0\";\n ServiceCode2[\"IossComplianceTier1\"] = \"IossComplianceTier1\";\n ServiceCode2[\"IossComplianceTier2\"] = \"IossComplianceTier2\";\n ServiceCode2[\"IossComplianceTier3\"] = \"IossComplianceTier3\";\n ServiceCode2[\"IossRegistration\"] = \"IossRegistration\";\n ServiceCode2[\"IossTakeOver\"] = \"IossTakeOver\";\n ServiceCode2[\"IossDeregistration\"] = \"IossDeregistration\";\n ServiceCode2[\"OssCompliance\"] = \"OssCompliance\";\n ServiceCode2[\"OssRegistration\"] = \"OssRegistration\";\n ServiceCode2[\"OssTakeOver\"] = \"OssTakeOver\";\n ServiceCode2[\"OssDeregistration\"] = \"OssDeregistration\";\n ServiceCode2[\"GlobalEoriUk\"] = \"GlobalEoriUk\";\n ServiceCode2[\"GlobalEoriEu\"] = \"GlobalEoriEu\";\n ServiceCode2[\"GlobalGeneralVatAdvice\"] = \"GlobalGeneralVatAdvice\";\n ServiceCode2[\"GlobalSpecialistVatAdvice\"] = \"GlobalSpecialistVatAdvice\";\n ServiceCode2[\"GlobalCommunicatingWithTaxAuthorities\"] = \"GlobalCommunicatingWithTaxAuthorities\";\n ServiceCode2[\"GlobalChangeCompanyDetail\"] = \"GlobalChangeCompanyDetail\";\n ServiceCode2[\"GlobalContactingTaxAuthorities\"] = \"GlobalContactingTaxAuthorities\";\n ServiceCode2[\"GlobalTranslation\"] = \"GlobalTranslation\";\n ServiceCode2[\"GlobalTaxCertificate\"] = \"GlobalTaxCertificate\";\n ServiceCode2[\"GlobalIntrastatThresholdCheck\"] = \"GlobalIntrastatThresholdCheck\";\n ServiceCode2[\"GlobalDistanceSaleThresholdCheck\"] = \"GlobalDistanceSaleThresholdCheck\";\n return ServiceCode2;\n})(ServiceCode || {});\nexport var ServiceStatus = /* @__PURE__ */ ((ServiceStatus2) => {\n ServiceStatus2[\"Active\"] = \"Active\";\n ServiceStatus2[\"Cancelled\"] = \"Cancelled\";\n return ServiceStatus2;\n})(ServiceStatus || {});\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Service } from \"./Service\";\nexport class CountryBasedSubscriptionService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CountryBasedSubscriptionService\n */\n this.$type = \"V1.Orders.Services.CountryBasedSubscriptionService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Country = _data[\"Country\"];\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Country\"] = this.Country;\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nexport class HourlyService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof HourlyService\n */\n this.$type = \"V1.Orders.Services.HourlyService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Hours = _data[\"Hours\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Hours\"] = this.Hours;\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nexport class SimpleService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SimpleService\n */\n this.$type = \"V1.Orders.Services.SimpleService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Service } from \"./Service\";\nexport class SubscriptionService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubscriptionService\n */\n this.$type = \"V1.Orders.Services.SubscriptionService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nimport { CountryBasedSubscriptionService } from \"./CountryBasedSubscriptionService\";\nimport { HourlyService } from \"./HourlyService\";\nimport { SimpleService } from \"./SimpleService\";\nimport { SubscriptionService } from \"./SubscriptionService\";\nexport class ServiceFactory {\n static create($type) {\n if ($type === \"V1.Orders.Services.Service\") {\n const result = new Service();\n return result;\n }\n if ($type === \"V1.Orders.Services.CountryBasedSubscriptionService\") {\n const result = new CountryBasedSubscriptionService();\n return result;\n }\n if ($type === \"V1.Orders.Services.HourlyService\") {\n const result = new HourlyService();\n return result;\n }\n if ($type === \"V1.Orders.Services.SimpleService\") {\n const result = new SimpleService();\n return result;\n }\n if ($type === \"V1.Orders.Services.SubscriptionService\") {\n const result = new SubscriptionService();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { Money } from \"./../../Common/Money\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { BillingDocument } from \"./BillingDocument\";\nimport { PaymentFactory } from \"./PaymentFactory\";\nimport { ServiceFactory } from \"./../Services/ServiceFactory\";\nexport class Order {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Order\n */\n this.$type = \"V1.Orders.Get.Order\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"BillingDocuments\"] && _data[\"BillingDocuments\"].constructor === Array) {\n this.BillingDocuments = [];\n for (let item of _data[\"BillingDocuments\"]) {\n const billingDocuments_ = new BillingDocument();\n this.BillingDocuments.push(billingDocuments_.init(item));\n }\n }\n this.CancelledAt = DateConverter.from(_data[\"CancelledAt\"]);\n this.ClientSource = OrderClientSource[_data[\"ClientSource\"]];\n this.CompanyId = _data[\"CompanyId\"];\n this.ConfirmedAt = DateConverter.from(_data[\"ConfirmedAt\"]);\n this.ContractId = _data[\"ContractId\"];\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n this.HasContractReference = _data[\"HasContractReference\"];\n this.Id = _data[\"Id\"];\n this.NeedToGenerateInvoice = _data[\"NeedToGenerateInvoice\"];\n if (_data[\"Payments\"] && _data[\"Payments\"].constructor === Array) {\n this.Payments = [];\n for (let item of _data[\"Payments\"]) {\n const $typePayments = item && item.$type;\n if ($typePayments) {\n const payments_ = PaymentFactory.create($typePayments);\n this.Payments.push(payments_.init(item));\n }\n }\n }\n this.PaymentStatus = OrderPaymentStatus[_data[\"PaymentStatus\"]];\n if (_data[\"Services\"] && _data[\"Services\"].constructor === Array) {\n this.Services = [];\n for (let item of _data[\"Services\"]) {\n const $typeServices = item && item.$type;\n if ($typeServices) {\n const services_ = ServiceFactory.create($typeServices);\n this.Services.push(services_.init(item));\n }\n }\n }\n this.Status = OrderStatus[_data[\"Status\"]];\n if (_data[\"SubTotal\"]) {\n const subTotal_ = new Money();\n this.SubTotal = subTotal_.init(_data[\"SubTotal\"]);\n }\n if (_data[\"Total\"]) {\n const total_ = new Money();\n this.Total = total_.init(_data[\"Total\"]);\n }\n if (_data[\"Vat\"]) {\n const vat_ = new Money();\n this.Vat = vat_.init(_data[\"Vat\"]);\n }\n this.Version = _data[\"Version\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.BillingDocuments && this.BillingDocuments.constructor === Array) {\n _data[\"BillingDocuments\"] = [];\n for (let item of this.BillingDocuments) {\n _data[\"BillingDocuments\"].push(item.toJSON());\n }\n }\n _data[\"CancelledAt\"] = DateConverter.toIsoUtcString(this.CancelledAt);\n _data[\"ClientSource\"] = OrderClientSource[this.ClientSource];\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"ConfirmedAt\"] = DateConverter.toIsoUtcString(this.ConfirmedAt);\n _data[\"ContractId\"] = this.ContractId;\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n _data[\"HasContractReference\"] = this.HasContractReference;\n _data[\"Id\"] = this.Id;\n _data[\"NeedToGenerateInvoice\"] = this.NeedToGenerateInvoice;\n if (this.Payments && this.Payments.constructor === Array) {\n _data[\"Payments\"] = [];\n for (let item of this.Payments) {\n _data[\"Payments\"].push(item.toJSON());\n }\n }\n _data[\"PaymentStatus\"] = OrderPaymentStatus[this.PaymentStatus];\n if (this.Services && this.Services.constructor === Array) {\n _data[\"Services\"] = [];\n for (let item of this.Services) {\n _data[\"Services\"].push(item.toJSON());\n }\n }\n _data[\"Status\"] = OrderStatus[this.Status];\n _data[\"SubTotal\"] = this.SubTotal ? this.SubTotal.toJSON() : void 0;\n _data[\"Total\"] = this.Total ? this.Total.toJSON() : void 0;\n _data[\"Vat\"] = this.Vat ? this.Vat.toJSON() : void 0;\n _data[\"Version\"] = this.Version;\n return _data;\n }\n}\nexport var OrderClientSource = /* @__PURE__ */ ((OrderClientSource2) => {\n OrderClientSource2[\"Amazon\"] = \"Amazon\";\n OrderClientSource2[\"KPMG\"] = \"KPMG\";\n OrderClientSource2[\"FedEx\"] = \"FedEx\";\n OrderClientSource2[\"LaPoste\"] = \"LaPoste\";\n return OrderClientSource2;\n})(OrderClientSource || {});\nexport var OrderPaymentStatus = /* @__PURE__ */ ((OrderPaymentStatus2) => {\n OrderPaymentStatus2[\"None\"] = \"None\";\n OrderPaymentStatus2[\"Pending\"] = \"Pending\";\n OrderPaymentStatus2[\"Approved\"] = \"Approved\";\n return OrderPaymentStatus2;\n})(OrderPaymentStatus || {});\nexport var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {\n OrderStatus2[\"Pending\"] = \"Pending\";\n OrderStatus2[\"Cancelled\"] = \"Cancelled\";\n OrderStatus2[\"Draft\"] = \"Draft\";\n OrderStatus2[\"Confirmed\"] = \"Confirmed\";\n OrderStatus2[\"Abandoned\"] = \"Abandoned\";\n return OrderStatus2;\n})(OrderStatus || {});\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Money } from \"./../../Common/Money\";\nexport class SearchOrder {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchOrder\n */\n this.$type = \"V1.Orders.Search.SearchOrder\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CompanyId = _data[\"CompanyId\"];\n this.ConfirmedAt = DateConverter.from(_data[\"ConfirmedAt\"]);\n this.ContractId = _data[\"ContractId\"];\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n this.HasContractReference = _data[\"HasContractReference\"];\n this.Id = _data[\"Id\"];\n this.OrderPaymentStatus = SearchOrderOrderPaymentStatus[_data[\"OrderPaymentStatus\"]];\n this.Status = SearchOrderStatus[_data[\"Status\"]];\n if (_data[\"TotalPrice\"]) {\n const totalPrice_ = new Money();\n this.TotalPrice = totalPrice_.init(_data[\"TotalPrice\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"ConfirmedAt\"] = DateConverter.toIsoUtcString(this.ConfirmedAt);\n _data[\"ContractId\"] = this.ContractId;\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n _data[\"HasContractReference\"] = this.HasContractReference;\n _data[\"Id\"] = this.Id;\n _data[\"OrderPaymentStatus\"] = SearchOrderOrderPaymentStatus[this.OrderPaymentStatus];\n _data[\"Status\"] = SearchOrderStatus[this.Status];\n _data[\"TotalPrice\"] = this.TotalPrice ? this.TotalPrice.toJSON() : void 0;\n return _data;\n }\n}\nexport var SearchOrderOrderPaymentStatus = /* @__PURE__ */ ((SearchOrderOrderPaymentStatus2) => {\n SearchOrderOrderPaymentStatus2[\"None\"] = \"None\";\n SearchOrderOrderPaymentStatus2[\"Pending\"] = \"Pending\";\n SearchOrderOrderPaymentStatus2[\"Approved\"] = \"Approved\";\n return SearchOrderOrderPaymentStatus2;\n})(SearchOrderOrderPaymentStatus || {});\nexport var SearchOrderStatus = /* @__PURE__ */ ((SearchOrderStatus2) => {\n SearchOrderStatus2[\"Pending\"] = \"Pending\";\n SearchOrderStatus2[\"Cancelled\"] = \"Cancelled\";\n SearchOrderStatus2[\"Draft\"] = \"Draft\";\n SearchOrderStatus2[\"Confirmed\"] = \"Confirmed\";\n SearchOrderStatus2[\"Abandoned\"] = \"Abandoned\";\n return SearchOrderStatus2;\n})(SearchOrderStatus || {});\n","import { SearchOrder } from \"./SearchOrder\";\nexport class SearchResponse {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResponse\n */\n this.$type = \"V1.Orders.Search.SearchResponse\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"Orders\"] && _data[\"Orders\"].constructor === Array) {\n this.Orders = [];\n for (let item of _data[\"Orders\"]) {\n const orders_ = new SearchOrder();\n this.Orders.push(orders_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.Orders && this.Orders.constructor === Array) {\n _data[\"Orders\"] = [];\n for (let item of this.Orders) {\n _data[\"Orders\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Order } from \"./../models/V1/Orders/Get/Order\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { SearchResponse } from \"./../models/V1/Orders/Search/SearchResponse\";\nexport class Orders {\n /**\n * Creates an instance of Orders.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Orders\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param CreateOrderRq_ _createOrderRq\n * @returns Promise\n * @memberof Orders\n */\n createOrder(pCreateOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pCreateOrderRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201, clazz: Order },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetOrderRq_ _getOrderRq\n * @returns Promise\n * @memberof Orders\n */\n getOrder(pGetOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pGetOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Order },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CancelOrderRq_ _cancelOrderRq\n * @returns Promise\n * @memberof Orders\n */\n cancelOrder(pCancelOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pCancelOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadContractRq_ _downloadContractRq\n * @returns Promise\n * @memberof Orders\n */\n downloadContract(pDownloadContractRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/contract\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pDownloadContractRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadContractRq_ _uploadContractRq\n * @returns Promise\n * @memberof Orders\n */\n uploadContract(pUploadContractRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/contract\",\n \"PATCH\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pUploadContractRq.orderId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadContractRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ConfirmOrderRq_ _confirmOrderRq\n * @returns Promise\n * @memberof Orders\n */\n confirmOrder(pConfirmOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/confirm\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pConfirmOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CanCreateNewOrderRq_ _canCreateNewOrderRq\n * @returns Promise\n * @memberof Orders\n */\n canCreateNewOrder(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/creatable\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchOrdersRq_ _searchOrdersRq\n * @returns Promise\n * @memberof Orders\n */\n searchOrders(pSearchOrdersRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchOrdersRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResponse },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadBillingDocumentRq_ _downloadBillingDocumentRq\n * @returns Promise\n * @memberof Orders\n */\n downloadBillingDocument(pDownloadBillingDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/documents/{documentId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pDownloadBillingDocumentRq.orderId, required: true },\n { name: \"documentId\", value: pDownloadBillingDocumentRq.documentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { Money } from \"./../../Common/Money\";\nexport class PaymentInfo {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PaymentInfo\n */\n this.$type = \"V1.Payments.PaymentInfo.PaymentInfo\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"AvailablePaymentTypes\"] && _data[\"AvailablePaymentTypes\"].constructor === Array) {\n this.AvailablePaymentTypes = [];\n for (let item of _data[\"AvailablePaymentTypes\"]) {\n this.AvailablePaymentTypes.push(PaymentInfoAvailablePaymentTypes[item]);\n }\n }\n if (_data[\"TotalPrice\"]) {\n const totalPrice_ = new Money();\n this.TotalPrice = totalPrice_.init(_data[\"TotalPrice\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.AvailablePaymentTypes && this.AvailablePaymentTypes.constructor === Array) {\n _data[\"AvailablePaymentTypes\"] = [];\n for (let item of this.AvailablePaymentTypes) {\n _data[\"AvailablePaymentTypes\"].push(PaymentInfoAvailablePaymentTypes[item]);\n }\n }\n _data[\"TotalPrice\"] = this.TotalPrice ? this.TotalPrice.toJSON() : void 0;\n return _data;\n }\n}\nexport var PaymentInfoAvailablePaymentTypes = /* @__PURE__ */ ((PaymentInfoAvailablePaymentTypes2) => {\n PaymentInfoAvailablePaymentTypes2[\"BankTransferPayment\"] = \"BankTransferPayment\";\n PaymentInfoAvailablePaymentTypes2[\"PayPalPayment\"] = \"PayPalPayment\";\n return PaymentInfoAvailablePaymentTypes2;\n})(PaymentInfoAvailablePaymentTypes || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { PaymentInfo } from \"./../models/V1/Payments/PaymentInfo/PaymentInfo\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Payments {\n /**\n * Creates an instance of Payments.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Payments\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetPaymentInfoRq_ _getPaymentInfoRq\n * @returns Promise\n * @memberof Payments\n */\n getPaymentInfo(pGetPaymentInfoRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/PaymentInfo\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pGetPaymentInfoRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: PaymentInfo },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param PayRq_ _payRq\n * @returns Promise\n * @memberof Payments\n */\n pay(pPayRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/Pay\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pPayRq.orderId, required: true }\n ]);\n client.addBody({ value: pPayRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadBankTransferPaymentProofRq_ _downloadBankTransferPaymentProofRq\n * @returns Promise\n * @memberof Payments\n */\n downloadBankTransferPaymentProof(pDownloadBankTransferPaymentProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/orders/{orderId}/payments/{paymentId}/proof\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pDownloadBankTransferPaymentProofRq.orderId, required: true },\n { name: \"paymentId\", value: pDownloadBankTransferPaymentProofRq.paymentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadBankTransferPaymentProofRq_ _uploadBankTransferPaymentProofRq\n * @returns Promise\n * @memberof Payments\n */\n uploadBankTransferPaymentProof(pUploadBankTransferPaymentProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/orders/{orderId}/payments/{paymentId}/proof\",\n \"PATCH\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pUploadBankTransferPaymentProofRq.orderId, required: true },\n { name: \"paymentId\", value: pUploadBankTransferPaymentProofRq.paymentId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadBankTransferPaymentProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 415, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class Answer {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Answer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.QuestionId = _data[\"QuestionId\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"QuestionId\"] = this.QuestionId;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class FileReferenceAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FileReferenceAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.FileReferenceAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.OriginalName = _data[\"OriginalName\"];\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"OriginalName\"] = this.OriginalName;\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class AccountingLocationAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AccountingLocationAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.AccountingLocationAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(AccountingLocationAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(AccountingLocationAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var AccountingLocationAnswerValue = /* @__PURE__ */ ((AccountingLocationAnswerValue2) => {\n AccountingLocationAnswerValue2[\"AccountingOffice\"] = \"AccountingOffice\";\n AccountingLocationAnswerValue2[\"Own\"] = \"Own\";\n return AccountingLocationAnswerValue2;\n})(AccountingLocationAnswerValue || {});\n","import { Address } from \"./../../../Common/Address\";\nimport { Answer } from \"./../Answer\";\nexport class AddressAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AddressAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.AddressAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Address } from \"./../../../Common/Address\";\nimport { Answer } from \"./../Answer\";\nexport class BankInformationAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankInformationAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BankInformationAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.Iban = _data[\"Iban\"];\n this.Name = _data[\"Name\"];\n this.Owner = _data[\"Owner\"];\n this.Swift = _data[\"Swift\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"Iban\"] = this.Iban;\n _data[\"Name\"] = this.Name;\n _data[\"Owner\"] = this.Owner;\n _data[\"Swift\"] = this.Swift;\n return _data;\n }\n}\n","import { Address } from \"./../../../Common/Address\";\nimport { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class BeneficialOwner {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BeneficialOwner\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.BeneficialOwner.BeneficialOwner\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.BeneficialOwnerType = BeneficialOwnerBeneficialOwnerType[_data[\"BeneficialOwnerType\"]];\n this.BirthName = _data[\"BirthName\"];\n this.CityOfBirth = _data[\"CityOfBirth\"];\n this.CountryOfBirth = _data[\"CountryOfBirth\"];\n this.DataManagement = _data[\"DataManagement\"];\n this.DateOfBirth = DateConverter.from(_data[\"DateOfBirth\"]);\n this.ExtentOfOwnership = _data[\"ExtentOfOwnership\"];\n this.FirstName = _data[\"FirstName\"];\n this.IsAssociateToPoliticallyExposed = _data[\"IsAssociateToPoliticallyExposed\"];\n this.IsPoliticallyExposed = _data[\"IsPoliticallyExposed\"];\n this.IsRelativeToPoliticallyExposed = _data[\"IsRelativeToPoliticallyExposed\"];\n this.LastName = _data[\"LastName\"];\n this.Nationality = _data[\"Nationality\"];\n this.TypeOfOwnership = BeneficialOwnerTypeOfOwnership[_data[\"TypeOfOwnership\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"BeneficialOwnerType\"] = BeneficialOwnerBeneficialOwnerType[this.BeneficialOwnerType];\n _data[\"BirthName\"] = this.BirthName;\n _data[\"CityOfBirth\"] = this.CityOfBirth;\n _data[\"CountryOfBirth\"] = this.CountryOfBirth;\n _data[\"DataManagement\"] = this.DataManagement;\n _data[\"DateOfBirth\"] = DateConverter.toUtcDateString(this.DateOfBirth);\n _data[\"ExtentOfOwnership\"] = this.ExtentOfOwnership;\n _data[\"FirstName\"] = this.FirstName;\n _data[\"IsAssociateToPoliticallyExposed\"] = this.IsAssociateToPoliticallyExposed;\n _data[\"IsPoliticallyExposed\"] = this.IsPoliticallyExposed;\n _data[\"IsRelativeToPoliticallyExposed\"] = this.IsRelativeToPoliticallyExposed;\n _data[\"LastName\"] = this.LastName;\n _data[\"Nationality\"] = this.Nationality;\n _data[\"TypeOfOwnership\"] = BeneficialOwnerTypeOfOwnership[this.TypeOfOwnership];\n return _data;\n }\n}\nexport var BeneficialOwnerBeneficialOwnerType = /* @__PURE__ */ ((BeneficialOwnerBeneficialOwnerType2) => {\n BeneficialOwnerBeneficialOwnerType2[\"NaturalPerson\"] = \"NaturalPerson\";\n BeneficialOwnerBeneficialOwnerType2[\"ExecutiveOfficer\"] = \"ExecutiveOfficer\";\n return BeneficialOwnerBeneficialOwnerType2;\n})(BeneficialOwnerBeneficialOwnerType || {});\nexport var BeneficialOwnerTypeOfOwnership = /* @__PURE__ */ ((BeneficialOwnerTypeOfOwnership2) => {\n BeneficialOwnerTypeOfOwnership2[\"VotingRights\"] = \"VotingRights\";\n BeneficialOwnerTypeOfOwnership2[\"DecisiveInfluence\"] = \"DecisiveInfluence\";\n return BeneficialOwnerTypeOfOwnership2;\n})(BeneficialOwnerTypeOfOwnership || {});\n","import { BeneficialOwner } from \"./../BeneficialOwner/BeneficialOwner\";\nimport { Answer } from \"./../Answer\";\nexport class BeneficialOwnersAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BeneficialOwnersAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BeneficialOwnersAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new BeneficialOwner();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class BoolAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BoolAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BoolAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class BusinessOwner {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessOwner\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.BusinessOwner.BusinessOwner\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.DateOfBirth = DateConverter.from(_data[\"DateOfBirth\"]);\n this.DateOfIncorporation = DateConverter.from(_data[\"DateOfIncorporation\"]);\n this.DocumentNumber = _data[\"DocumentNumber\"];\n this.DocumentType = BusinessOwnerDocumentType[_data[\"DocumentType\"]];\n this.FirstName = _data[\"FirstName\"];\n this.FullName = _data[\"FullName\"];\n this.LastName = _data[\"LastName\"];\n this.RegistrationNumber = _data[\"RegistrationNumber\"];\n this.ShareholderType = BusinessOwnerShareholderType[_data[\"ShareholderType\"]];\n this.SharePercentage = _data[\"SharePercentage\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"DateOfBirth\"] = DateConverter.toUtcDateString(this.DateOfBirth);\n _data[\"DateOfIncorporation\"] = DateConverter.toUtcDateString(this.DateOfIncorporation);\n _data[\"DocumentNumber\"] = this.DocumentNumber;\n _data[\"DocumentType\"] = BusinessOwnerDocumentType[this.DocumentType];\n _data[\"FirstName\"] = this.FirstName;\n _data[\"FullName\"] = this.FullName;\n _data[\"LastName\"] = this.LastName;\n _data[\"RegistrationNumber\"] = this.RegistrationNumber;\n _data[\"ShareholderType\"] = BusinessOwnerShareholderType[this.ShareholderType];\n _data[\"SharePercentage\"] = this.SharePercentage;\n return _data;\n }\n}\nexport var BusinessOwnerDocumentType = /* @__PURE__ */ ((BusinessOwnerDocumentType2) => {\n BusinessOwnerDocumentType2[\"Passport\"] = \"Passport\";\n BusinessOwnerDocumentType2[\"PersonalId\"] = \"PersonalId\";\n BusinessOwnerDocumentType2[\"DrivingLicense\"] = \"DrivingLicense\";\n return BusinessOwnerDocumentType2;\n})(BusinessOwnerDocumentType || {});\nexport var BusinessOwnerShareholderType = /* @__PURE__ */ ((BusinessOwnerShareholderType2) => {\n BusinessOwnerShareholderType2[\"Company\"] = \"Company\";\n BusinessOwnerShareholderType2[\"NaturalPerson\"] = \"NaturalPerson\";\n return BusinessOwnerShareholderType2;\n})(BusinessOwnerShareholderType || {});\n","import { BusinessOwner } from \"./../BusinessOwner/BusinessOwner\";\nimport { Answer } from \"./../Answer\";\nexport class BusinessOwnersAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessOwnersAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BusinessOwnersAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new BusinessOwner();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class ClientBaseAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ClientBaseAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.ClientBaseAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(ClientBaseAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(ClientBaseAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var ClientBaseAnswerValue = /* @__PURE__ */ ((ClientBaseAnswerValue2) => {\n ClientBaseAnswerValue2[\"B2C\"] = \"B2C\";\n ClientBaseAnswerValue2[\"B2B\"] = \"B2B\";\n ClientBaseAnswerValue2[\"Both\"] = \"Both\";\n return ClientBaseAnswerValue2;\n})(ClientBaseAnswerValue || {});\n","import { Answer } from \"./../Answer\";\nexport class CountryAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CountryAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.CountryAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nimport { Answer } from \"./../Answer\";\nexport class DateAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DateAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.DateAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Value = DateConverter.from(_data[\"Value\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = DateConverter.toUtcDateString(this.Value);\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class DatedVatIdentificationNumber {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DatedVatIdentificationNumber\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.DatedVatIdentificationNumber\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.DeregistrationDate = DateConverter.from(_data[\"DeregistrationDate\"]);\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"DeregistrationDate\"] = DateConverter.toUtcDateString(this.DeregistrationDate);\n _data[\"ValidFrom\"] = DateConverter.toUtcDateString(this.ValidFrom);\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","import { DatedVatIdentificationNumber } from \"./DatedVatIdentificationNumber\";\nimport { Answer } from \"./../Answer\";\nexport class ExistingVatNumbersAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ExistingVatNumbersAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.ExistingVatNumbersAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new DatedVatIdentificationNumber();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Address } from \"./../../../Common/Address\";\nexport class FixedEstablishment {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FixedEstablishment\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.FixedEstablishment.FixedEstablishment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.TradingName = _data[\"TradingName\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"TradingName\"] = this.TradingName;\n return _data;\n }\n}\n","import { FixedEstablishment } from \"./../FixedEstablishment/FixedEstablishment\";\nimport { Answer } from \"./../Answer\";\nexport class FixedEstablishmentsAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FixedEstablishmentsAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.FixedEstablishmentsAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new FixedEstablishment();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class LegalEntityFormAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalEntityFormAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityFormAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(LegalEntityFormAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(LegalEntityFormAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var LegalEntityFormAnswerValue = /* @__PURE__ */ ((LegalEntityFormAnswerValue2) => {\n LegalEntityFormAnswerValue2[\"LegalEntity\"] = \"LegalEntity\";\n LegalEntityFormAnswerValue2[\"OrganizationalUnitWithoutLegalForm\"] = \"OrganizationalUnitWithoutLegalForm\";\n return LegalEntityFormAnswerValue2;\n})(LegalEntityFormAnswerValue || {});\n","import { Answer } from \"./../Answer\";\nexport class LegalEntityTypeAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalEntityTypeAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityTypeAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(LegalEntityTypeAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(LegalEntityTypeAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var LegalEntityTypeAnswerValue = /* @__PURE__ */ ((LegalEntityTypeAnswerValue2) => {\n LegalEntityTypeAnswerValue2[\"Ltd\"] = \"Ltd\";\n LegalEntityTypeAnswerValue2[\"Sas\"] = \"Sas\";\n LegalEntityTypeAnswerValue2[\"Llp\"] = \"Llp\";\n LegalEntityTypeAnswerValue2[\"Kg\"] = \"Kg\";\n LegalEntityTypeAnswerValue2[\"Ohg\"] = \"Ohg\";\n return LegalEntityTypeAnswerValue2;\n})(LegalEntityTypeAnswerValue || {});\n","import { Address } from \"./../../../Common/Address\";\nimport { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class LegalRepresentative {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalRepresentative\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.LegalRepresentative.LegalRepresentative\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.BirthName = _data[\"BirthName\"];\n this.CityOfBirth = _data[\"CityOfBirth\"];\n this.CountryOfBirth = _data[\"CountryOfBirth\"];\n this.DateOfBirth = DateConverter.from(_data[\"DateOfBirth\"]);\n this.DocumentExpirationDate = DateConverter.from(_data[\"DocumentExpirationDate\"]);\n this.DocumentNumber = _data[\"DocumentNumber\"];\n this.DocumentType = LegalRepresentativeDocumentType[_data[\"DocumentType\"]];\n this.Email = _data[\"Email\"];\n this.FatherName = _data[\"FatherName\"];\n this.FirstName = _data[\"FirstName\"];\n this.FiscalCode = _data[\"FiscalCode\"];\n this.HomeAddressIsSameAsRegistered = _data[\"HomeAddressIsSameAsRegistered\"];\n this.IsOnlyDirector = _data[\"IsOnlyDirector\"];\n this.LastName = _data[\"LastName\"];\n this.MiddleName = _data[\"MiddleName\"];\n this.MotherBirthName = _data[\"MotherBirthName\"];\n this.Nationality = _data[\"Nationality\"];\n this.OwnMoreThan25Percent = _data[\"OwnMoreThan25Percent\"];\n this.Phone = _data[\"Phone\"];\n this.PhotoCopyReference = _data[\"PhotoCopyReference\"];\n this.Position = LegalRepresentativePosition[_data[\"Position\"]];\n this.PositionDescription = _data[\"PositionDescription\"];\n this.Title = LegalRepresentativeTitle[_data[\"Title\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"BirthName\"] = this.BirthName;\n _data[\"CityOfBirth\"] = this.CityOfBirth;\n _data[\"CountryOfBirth\"] = this.CountryOfBirth;\n _data[\"DateOfBirth\"] = DateConverter.toUtcDateString(this.DateOfBirth);\n _data[\"DocumentExpirationDate\"] = DateConverter.toUtcDateString(this.DocumentExpirationDate);\n _data[\"DocumentNumber\"] = this.DocumentNumber;\n _data[\"DocumentType\"] = LegalRepresentativeDocumentType[this.DocumentType];\n _data[\"Email\"] = this.Email;\n _data[\"FatherName\"] = this.FatherName;\n _data[\"FirstName\"] = this.FirstName;\n _data[\"FiscalCode\"] = this.FiscalCode;\n _data[\"HomeAddressIsSameAsRegistered\"] = this.HomeAddressIsSameAsRegistered;\n _data[\"IsOnlyDirector\"] = this.IsOnlyDirector;\n _data[\"LastName\"] = this.LastName;\n _data[\"MiddleName\"] = this.MiddleName;\n _data[\"MotherBirthName\"] = this.MotherBirthName;\n _data[\"Nationality\"] = this.Nationality;\n _data[\"OwnMoreThan25Percent\"] = this.OwnMoreThan25Percent;\n _data[\"Phone\"] = this.Phone;\n _data[\"PhotoCopyReference\"] = this.PhotoCopyReference;\n _data[\"Position\"] = LegalRepresentativePosition[this.Position];\n _data[\"PositionDescription\"] = this.PositionDescription;\n _data[\"Title\"] = LegalRepresentativeTitle[this.Title];\n return _data;\n }\n}\nexport var LegalRepresentativeDocumentType = /* @__PURE__ */ ((LegalRepresentativeDocumentType2) => {\n LegalRepresentativeDocumentType2[\"Passport\"] = \"Passport\";\n LegalRepresentativeDocumentType2[\"PersonalId\"] = \"PersonalId\";\n LegalRepresentativeDocumentType2[\"DrivingLicense\"] = \"DrivingLicense\";\n return LegalRepresentativeDocumentType2;\n})(LegalRepresentativeDocumentType || {});\nexport var LegalRepresentativePosition = /* @__PURE__ */ ((LegalRepresentativePosition2) => {\n LegalRepresentativePosition2[\"Owner\"] = \"Owner\";\n LegalRepresentativePosition2[\"Director\"] = \"Director\";\n LegalRepresentativePosition2[\"Ceo\"] = \"Ceo\";\n LegalRepresentativePosition2[\"Other\"] = \"Other\";\n return LegalRepresentativePosition2;\n})(LegalRepresentativePosition || {});\nexport var LegalRepresentativeTitle = /* @__PURE__ */ ((LegalRepresentativeTitle2) => {\n LegalRepresentativeTitle2[\"Mr\"] = \"Mr\";\n LegalRepresentativeTitle2[\"Mrs\"] = \"Mrs\";\n LegalRepresentativeTitle2[\"Ms\"] = \"Ms\";\n return LegalRepresentativeTitle2;\n})(LegalRepresentativeTitle || {});\n","import { LegalRepresentative } from \"./../LegalRepresentative/LegalRepresentative\";\nimport { Answer } from \"./../Answer\";\nexport class LegalRepresentativesAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalRepresentativesAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.LegalRepresentativesAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new LegalRepresentative();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Money } from \"./../../../Common/Money\";\nimport { Answer } from \"./../Answer\";\nexport class MoneyAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MoneyAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.MoneyAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"]) {\n const value_ = new Money();\n this.Value = value_.init(_data[\"Value\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value ? this.Value.toJSON() : void 0;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class MultiCountryAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MultiCountryAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.MultiCountryAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"CountryCodes\"] && _data[\"CountryCodes\"].constructor === Array) {\n this.CountryCodes = [];\n for (let item of _data[\"CountryCodes\"]) {\n this.CountryCodes.push(item);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.CountryCodes && this.CountryCodes.constructor === Array) {\n _data[\"CountryCodes\"] = [];\n for (let item of this.CountryCodes) {\n _data[\"CountryCodes\"].push(item);\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class MultiStringAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MultiStringAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.MultiStringAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(item);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item);\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class NameAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof NameAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.NameAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.FirstName = _data[\"FirstName\"];\n this.LastName = _data[\"LastName\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"FirstName\"] = this.FirstName;\n _data[\"LastName\"] = this.LastName;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class OssDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof OssDetail\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.OssDetail.OssDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.RegistrationCountry = _data[\"RegistrationCountry\"];\n this.RegistrationDate = DateConverter.from(_data[\"RegistrationDate\"]);\n this.RegistrationNumber = _data[\"RegistrationNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"RegistrationCountry\"] = this.RegistrationCountry;\n _data[\"RegistrationDate\"] = DateConverter.toUtcDateString(this.RegistrationDate);\n _data[\"RegistrationNumber\"] = this.RegistrationNumber;\n return _data;\n }\n}\n","import { OssDetail } from \"./../OssDetail/OssDetail\";\nimport { Answer } from \"./../Answer\";\nexport class OssDetailAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof OssDetailAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.OssDetailAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"]) {\n const value_ = new OssDetail();\n this.Value = value_.init(_data[\"Value\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value ? this.Value.toJSON() : void 0;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class ProductTypeAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ProductTypeAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.ProductTypeAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(ProductTypeAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(ProductTypeAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var ProductTypeAnswerValue = /* @__PURE__ */ ((ProductTypeAnswerValue2) => {\n ProductTypeAnswerValue2[\"AutomotiveIndustrial\"] = \"AutomotiveIndustrial\";\n ProductTypeAnswerValue2[\"BeautyHealth\"] = \"BeautyHealth\";\n ProductTypeAnswerValue2[\"BooksAudio\"] = \"BooksAudio\";\n ProductTypeAnswerValue2[\"CollectiblesArtStationary\"] = \"CollectiblesArtStationary\";\n ProductTypeAnswerValue2[\"ElectronicsComputerOffice\"] = \"ElectronicsComputerOffice\";\n ProductTypeAnswerValue2[\"FashionAccessoriesJewellery\"] = \"FashionAccessoriesJewellery\";\n ProductTypeAnswerValue2[\"FoodGrocery\"] = \"FoodGrocery\";\n ProductTypeAnswerValue2[\"HomeGardenTools\"] = \"HomeGardenTools\";\n ProductTypeAnswerValue2[\"KitchenDining\"] = \"KitchenDining\";\n ProductTypeAnswerValue2[\"MusicMoviesGames\"] = \"MusicMoviesGames\";\n ProductTypeAnswerValue2[\"SportingGoodsOutdoors\"] = \"SportingGoodsOutdoors\";\n ProductTypeAnswerValue2[\"ToysKidsBaby\"] = \"ToysKidsBaby\";\n return ProductTypeAnswerValue2;\n})(ProductTypeAnswerValue || {});\n","import { Answer } from \"./../Answer\";\nexport class StringAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof StringAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.StringAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { Money } from \"./../../../Common/Money\";\nexport class TurnOver {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TurnOver\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.TurnOver\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Amount\"]) {\n const amount_ = new Money();\n this.Amount = amount_.init(_data[\"Amount\"]);\n }\n this.Year = _data[\"Year\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Amount\"] = this.Amount ? this.Amount.toJSON() : void 0;\n _data[\"Year\"] = this.Year;\n return _data;\n }\n}\n","import { TurnOver } from \"./TurnOver\";\nimport { Answer } from \"./../Answer\";\nexport class TurnOversAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TurnOversAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.TurnOversAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new TurnOver();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { VatIdentificationNumber } from \"./../../../Common/VatIdentificationNumber\";\nimport { Answer } from \"./../Answer\";\nexport class VatNumberAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatNumberAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.VatNumberAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"]) {\n const value_ = new VatIdentificationNumber();\n this.Value = value_.init(_data[\"Value\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value ? this.Value.toJSON() : void 0;\n return _data;\n }\n}\n","import { Answer } from \"./Answer\";\nimport { FileReferenceAnswer } from \"./Answers/FileReferenceAnswer\";\nimport { AccountingLocationAnswer } from \"./Answers/AccountingLocationAnswer\";\nimport { AddressAnswer } from \"./Answers/AddressAnswer\";\nimport { BankInformationAnswer } from \"./Answers/BankInformationAnswer\";\nimport { BeneficialOwnersAnswer } from \"./Answers/BeneficialOwnersAnswer\";\nimport { BoolAnswer } from \"./Answers/BoolAnswer\";\nimport { BusinessOwnersAnswer } from \"./Answers/BusinessOwnersAnswer\";\nimport { ClientBaseAnswer } from \"./Answers/ClientBaseAnswer\";\nimport { CountryAnswer } from \"./Answers/CountryAnswer\";\nimport { DateAnswer } from \"./Answers/DateAnswer\";\nimport { ExistingVatNumbersAnswer } from \"./Answers/ExistingVatNumbersAnswer\";\nimport { FixedEstablishmentsAnswer } from \"./Answers/FixedEstablishmentsAnswer\";\nimport { LegalEntityFormAnswer } from \"./Answers/LegalEntityFormAnswer\";\nimport { LegalEntityTypeAnswer } from \"./Answers/LegalEntityTypeAnswer\";\nimport { LegalRepresentativesAnswer } from \"./Answers/LegalRepresentativesAnswer\";\nimport { MoneyAnswer } from \"./Answers/MoneyAnswer\";\nimport { MultiCountryAnswer } from \"./Answers/MultiCountryAnswer\";\nimport { MultiStringAnswer } from \"./Answers/MultiStringAnswer\";\nimport { NameAnswer } from \"./Answers/NameAnswer\";\nimport { OssDetailAnswer } from \"./Answers/OssDetailAnswer\";\nimport { ProductTypeAnswer } from \"./Answers/ProductTypeAnswer\";\nimport { StringAnswer } from \"./Answers/StringAnswer\";\nimport { TurnOversAnswer } from \"./Answers/TurnOversAnswer\";\nimport { VatNumberAnswer } from \"./Answers/VatNumberAnswer\";\nexport class AnswerFactory {\n static create($type) {\n if ($type === \"V1.CompanyInfo.Questionnaire.Answer\") {\n const result = new Answer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.FileReferenceAnswer\") {\n const result = new FileReferenceAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.AccountingLocationAnswer\") {\n const result = new AccountingLocationAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.AddressAnswer\") {\n const result = new AddressAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BankInformationAnswer\") {\n const result = new BankInformationAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BeneficialOwnersAnswer\") {\n const result = new BeneficialOwnersAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BoolAnswer\") {\n const result = new BoolAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BusinessOwnersAnswer\") {\n const result = new BusinessOwnersAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.ClientBaseAnswer\") {\n const result = new ClientBaseAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.CountryAnswer\") {\n const result = new CountryAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.DateAnswer\") {\n const result = new DateAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.ExistingVatNumbersAnswer\") {\n const result = new ExistingVatNumbersAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.FixedEstablishmentsAnswer\") {\n const result = new FixedEstablishmentsAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityFormAnswer\") {\n const result = new LegalEntityFormAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityTypeAnswer\") {\n const result = new LegalEntityTypeAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.LegalRepresentativesAnswer\") {\n const result = new LegalRepresentativesAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.MoneyAnswer\") {\n const result = new MoneyAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.MultiCountryAnswer\") {\n const result = new MultiCountryAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.MultiStringAnswer\") {\n const result = new MultiStringAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.NameAnswer\") {\n const result = new NameAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.OssDetailAnswer\") {\n const result = new OssDetailAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.ProductTypeAnswer\") {\n const result = new ProductTypeAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.StringAnswer\") {\n const result = new StringAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.TurnOversAnswer\") {\n const result = new TurnOversAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.VatNumberAnswer\") {\n const result = new VatNumberAnswer();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { AnswerFactory } from \"./AnswerFactory\";\nexport class Questionnaire {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Questionnaire\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Questionnaire\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Answers\"] && _data[\"Answers\"].constructor === Array) {\n this.Answers = [];\n for (let item of _data[\"Answers\"]) {\n const $typeAnswers = item && item.$type;\n if ($typeAnswers) {\n const answers_ = AnswerFactory.create($typeAnswers);\n this.Answers.push(answers_.init(item));\n }\n }\n }\n this.Status = QuestionnaireStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Answers && this.Answers.constructor === Array) {\n _data[\"Answers\"] = [];\n for (let item of this.Answers) {\n _data[\"Answers\"].push(item.toJSON());\n }\n }\n _data[\"Status\"] = QuestionnaireStatus[this.Status];\n return _data;\n }\n}\nexport var QuestionnaireStatus = /* @__PURE__ */ ((QuestionnaireStatus2) => {\n QuestionnaireStatus2[\"Incomplete\"] = \"Incomplete\";\n QuestionnaireStatus2[\"Completed\"] = \"Completed\";\n QuestionnaireStatus2[\"Approved\"] = \"Approved\";\n QuestionnaireStatus2[\"DataVerified\"] = \"DataVerified\";\n return QuestionnaireStatus2;\n})(QuestionnaireStatus || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Questionnaire as QuestionnaireModel } from \"./../models/V1/CompanyInfo/Questionnaire/Questionnaire\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { FileReferenceAnswer } from \"./../models/V1/CompanyInfo/Questionnaire/Answers/FileReferenceAnswer\";\nexport class Questionnaire {\n /**\n * Creates an instance of Questionnaire.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Questionnaire\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetQuestionnaireRq_ _getQuestionnaireRq\n * @returns Promise\n * @memberof Questionnaire\n */\n getQuestionnaire(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: QuestionnaireModel }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SaveModificationRq_ _saveModificationRq\n * @returns Promise\n * @memberof Questionnaire\n */\n saveModification(pSaveModificationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSaveModificationRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadFileToQuestionRq_ _uploadFileToQuestionRq\n * @returns Promise\n * @memberof Questionnaire\n */\n uploadFileToQuestion(pUploadFileToQuestionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Answers/{questionId}/Upload\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"questionId\", value: pUploadFileToQuestionRq.questionId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadFileToQuestionRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: FileReferenceAnswer },\n { statusCode: 415, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadFileRq_ _uploadFileRq\n * @returns Promise\n * @memberof Questionnaire\n */\n uploadFile(pUploadFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Answers/FileUpload\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadFileRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 415, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeQuestionnaireRq_ _finalizeQuestionnaireRq\n * @returns Promise\n * @memberof Questionnaire\n */\n finalizeQuestionnaire(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Finalize\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadFileRq_ _downloadFileRq\n * @returns Promise\n * @memberof Questionnaire\n */\n downloadFile(pDownloadFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Files/{reference}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"reference\", value: pDownloadFileRq.reference, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { Money } from \"./../../Common/Money\";\nexport class ServiceDescriptor {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ServiceDescriptor\n */\n this.$type = \"V1.Services.V2.ServiceDescriptor\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = ServiceDescriptorCode[_data[\"Code\"]];\n this.Country = _data[\"Country\"];\n this.IsCountryBased = _data[\"IsCountryBased\"];\n if (_data[\"Price\"]) {\n const price_ = new Money();\n this.Price = price_.init(_data[\"Price\"]);\n }\n this.PricingType = ServiceDescriptorPricingType[_data[\"PricingType\"]];\n this.Type = ServiceDescriptorType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = ServiceDescriptorCode[this.Code];\n _data[\"Country\"] = this.Country;\n _data[\"IsCountryBased\"] = this.IsCountryBased;\n _data[\"Price\"] = this.Price ? this.Price.toJSON() : void 0;\n _data[\"PricingType\"] = ServiceDescriptorPricingType[this.PricingType];\n _data[\"Type\"] = ServiceDescriptorType[this.Type];\n return _data;\n }\n}\nexport var ServiceDescriptorCode = /* @__PURE__ */ ((ServiceDescriptorCode2) => {\n ServiceDescriptorCode2[\"VatCompliance\"] = \"VatCompliance\";\n ServiceDescriptorCode2[\"VatMonthlyCompliance\"] = \"VatMonthlyCompliance\";\n ServiceDescriptorCode2[\"VatRegistration\"] = \"VatRegistration\";\n ServiceDescriptorCode2[\"VatTakeOver\"] = \"VatTakeOver\";\n ServiceDescriptorCode2[\"VatSpanishBankAccount\"] = \"VatSpanishBankAccount\";\n ServiceDescriptorCode2[\"VatFiscalRepresentative\"] = \"VatFiscalRepresentative\";\n ServiceDescriptorCode2[\"VatFilingAgent\"] = \"VatFilingAgent\";\n ServiceDescriptorCode2[\"VatRetrospectiveReturn\"] = \"VatRetrospectiveReturn\";\n ServiceDescriptorCode2[\"VatIntrastatIn\"] = \"VatIntrastatIn\";\n ServiceDescriptorCode2[\"VatIntrastatOut\"] = \"VatIntrastatOut\";\n ServiceDescriptorCode2[\"VatDeregistration\"] = \"VatDeregistration\";\n ServiceDescriptorCode2[\"VatSelfRevision\"] = \"VatSelfRevision\";\n ServiceDescriptorCode2[\"VatHomeCountryCompliance\"] = \"VatHomeCountryCompliance\";\n ServiceDescriptorCode2[\"IossComplianceTier0\"] = \"IossComplianceTier0\";\n ServiceDescriptorCode2[\"IossComplianceTier1\"] = \"IossComplianceTier1\";\n ServiceDescriptorCode2[\"IossComplianceTier2\"] = \"IossComplianceTier2\";\n ServiceDescriptorCode2[\"IossComplianceTier3\"] = \"IossComplianceTier3\";\n ServiceDescriptorCode2[\"IossRegistration\"] = \"IossRegistration\";\n ServiceDescriptorCode2[\"IossTakeOver\"] = \"IossTakeOver\";\n ServiceDescriptorCode2[\"IossDeregistration\"] = \"IossDeregistration\";\n ServiceDescriptorCode2[\"OssCompliance\"] = \"OssCompliance\";\n ServiceDescriptorCode2[\"OssRegistration\"] = \"OssRegistration\";\n ServiceDescriptorCode2[\"OssTakeOver\"] = \"OssTakeOver\";\n ServiceDescriptorCode2[\"OssDeregistration\"] = \"OssDeregistration\";\n ServiceDescriptorCode2[\"GlobalEoriUk\"] = \"GlobalEoriUk\";\n ServiceDescriptorCode2[\"GlobalEoriEu\"] = \"GlobalEoriEu\";\n ServiceDescriptorCode2[\"GlobalGeneralVatAdvice\"] = \"GlobalGeneralVatAdvice\";\n ServiceDescriptorCode2[\"GlobalSpecialistVatAdvice\"] = \"GlobalSpecialistVatAdvice\";\n ServiceDescriptorCode2[\"GlobalCommunicatingWithTaxAuthorities\"] = \"GlobalCommunicatingWithTaxAuthorities\";\n ServiceDescriptorCode2[\"GlobalChangeCompanyDetail\"] = \"GlobalChangeCompanyDetail\";\n ServiceDescriptorCode2[\"GlobalContactingTaxAuthorities\"] = \"GlobalContactingTaxAuthorities\";\n ServiceDescriptorCode2[\"GlobalTranslation\"] = \"GlobalTranslation\";\n ServiceDescriptorCode2[\"GlobalTaxCertificate\"] = \"GlobalTaxCertificate\";\n ServiceDescriptorCode2[\"GlobalIntrastatThresholdCheck\"] = \"GlobalIntrastatThresholdCheck\";\n ServiceDescriptorCode2[\"GlobalDistanceSaleThresholdCheck\"] = \"GlobalDistanceSaleThresholdCheck\";\n return ServiceDescriptorCode2;\n})(ServiceDescriptorCode || {});\nexport var ServiceDescriptorPricingType = /* @__PURE__ */ ((ServiceDescriptorPricingType2) => {\n ServiceDescriptorPricingType2[\"Hourly\"] = \"Hourly\";\n ServiceDescriptorPricingType2[\"Monthly\"] = \"Monthly\";\n ServiceDescriptorPricingType2[\"Yearly\"] = \"Yearly\";\n ServiceDescriptorPricingType2[\"Fixed\"] = \"Fixed\";\n ServiceDescriptorPricingType2[\"Custom\"] = \"Custom\";\n return ServiceDescriptorPricingType2;\n})(ServiceDescriptorPricingType || {});\nexport var ServiceDescriptorType = /* @__PURE__ */ ((ServiceDescriptorType2) => {\n ServiceDescriptorType2[\"OneTime\"] = \"OneTime\";\n ServiceDescriptorType2[\"Subscription\"] = \"Subscription\";\n ServiceDescriptorType2[\"OneTimeSubscription\"] = \"OneTimeSubscription\";\n return ServiceDescriptorType2;\n})(ServiceDescriptorType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { ServiceDescriptor } from \"./../models/V1/Services/V2/ServiceDescriptor\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Services {\n /**\n * Creates an instance of Services.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Services\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetAvailableServicesRq_ _getAvailableServicesRq\n * @returns Promise\n * @memberof Services\n */\n getAvailableServices(pGetAvailableServicesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Services/available\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pGetAvailableServicesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: ServiceDescriptor, isArray: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class File {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof File\n */\n this.$type = \"V1.Submission.Search.File\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Name = _data[\"Name\"];\n this.Reference = _data[\"Reference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Name\"] = this.Name;\n _data[\"Reference\"] = this.Reference;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { File } from \"./File\";\nexport class SubmissionPeriod {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubmissionPeriod\n */\n this.$type = \"V1.Submission.Search.SubmissionPeriod\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientApprovalDate = DateConverter.from(_data[\"ClientApprovalDate\"]);\n this.ClientApprovalDueDate = DateConverter.from(_data[\"ClientApprovalDueDate\"]);\n this.EFiling = _data[\"EFiling\"];\n this.EstablishmentCountryCode = _data[\"EstablishmentCountryCode\"];\n this.FrequencyType = SubmissionPeriodFrequencyType[_data[\"FrequencyType\"]];\n this.Id = _data[\"Id\"];\n this.PaymentCategory = SubmissionPeriodPaymentCategory[_data[\"PaymentCategory\"]];\n this.PaymentDueDate = DateConverter.from(_data[\"PaymentDueDate\"]);\n if (_data[\"PaymentProof\"]) {\n const paymentProof_ = new File();\n this.PaymentProof = paymentProof_.init(_data[\"PaymentProof\"]);\n }\n this.PaymentStatus = SubmissionPeriodPaymentStatus[_data[\"PaymentStatus\"]];\n this.PaymentUrl = _data[\"PaymentUrl\"];\n this.Period = _data[\"Period\"];\n this.PeriodStartDate = DateConverter.from(_data[\"PeriodStartDate\"]);\n this.ReturnGenerationDate = DateConverter.from(_data[\"ReturnGenerationDate\"]);\n this.ReturnGenerationDueDate = DateConverter.from(_data[\"ReturnGenerationDueDate\"]);\n this.ServiceCountryCode = _data[\"ServiceCountryCode\"];\n this.Status = SubmissionPeriodStatus[_data[\"Status\"]];\n this.SubmissionDate = DateConverter.from(_data[\"SubmissionDate\"]);\n this.SubmissionDueDate = DateConverter.from(_data[\"SubmissionDueDate\"]);\n if (_data[\"SubmissionProof\"]) {\n const submissionProof_ = new File();\n this.SubmissionProof = submissionProof_.init(_data[\"SubmissionProof\"]);\n }\n if (_data[\"SubmissionProof2\"]) {\n const submissionProof2_ = new File();\n this.SubmissionProof2 = submissionProof2_.init(_data[\"SubmissionProof2\"]);\n }\n this.SubmissionProof2Date = DateConverter.from(_data[\"SubmissionProof2Date\"]);\n this.SubmissionProofDate = DateConverter.from(_data[\"SubmissionProofDate\"]);\n this.SubmittedAndPaidDate = DateConverter.from(_data[\"SubmittedAndPaidDate\"]);\n this.TaxReturnType = SubmissionPeriodTaxReturnType[_data[\"TaxReturnType\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientApprovalDate\"] = DateConverter.toUtcDateString(this.ClientApprovalDate);\n _data[\"ClientApprovalDueDate\"] = DateConverter.toUtcDateString(this.ClientApprovalDueDate);\n _data[\"EFiling\"] = this.EFiling;\n _data[\"EstablishmentCountryCode\"] = this.EstablishmentCountryCode;\n _data[\"FrequencyType\"] = SubmissionPeriodFrequencyType[this.FrequencyType];\n _data[\"Id\"] = this.Id;\n _data[\"PaymentCategory\"] = SubmissionPeriodPaymentCategory[this.PaymentCategory];\n _data[\"PaymentDueDate\"] = DateConverter.toUtcDateString(this.PaymentDueDate);\n _data[\"PaymentProof\"] = this.PaymentProof ? this.PaymentProof.toJSON() : void 0;\n _data[\"PaymentStatus\"] = SubmissionPeriodPaymentStatus[this.PaymentStatus];\n _data[\"PaymentUrl\"] = this.PaymentUrl;\n _data[\"Period\"] = this.Period;\n _data[\"PeriodStartDate\"] = DateConverter.toUtcDateString(this.PeriodStartDate);\n _data[\"ReturnGenerationDate\"] = DateConverter.toUtcDateString(this.ReturnGenerationDate);\n _data[\"ReturnGenerationDueDate\"] = DateConverter.toUtcDateString(this.ReturnGenerationDueDate);\n _data[\"ServiceCountryCode\"] = this.ServiceCountryCode;\n _data[\"Status\"] = SubmissionPeriodStatus[this.Status];\n _data[\"SubmissionDate\"] = DateConverter.toUtcDateString(this.SubmissionDate);\n _data[\"SubmissionDueDate\"] = DateConverter.toUtcDateString(this.SubmissionDueDate);\n _data[\"SubmissionProof\"] = this.SubmissionProof ? this.SubmissionProof.toJSON() : void 0;\n _data[\"SubmissionProof2\"] = this.SubmissionProof2 ? this.SubmissionProof2.toJSON() : void 0;\n _data[\"SubmissionProof2Date\"] = DateConverter.toIsoUtcString(this.SubmissionProof2Date);\n _data[\"SubmissionProofDate\"] = DateConverter.toIsoUtcString(this.SubmissionProofDate);\n _data[\"SubmittedAndPaidDate\"] = DateConverter.toUtcDateString(this.SubmittedAndPaidDate);\n _data[\"TaxReturnType\"] = SubmissionPeriodTaxReturnType[this.TaxReturnType];\n return _data;\n }\n}\nexport var SubmissionPeriodFrequencyType = /* @__PURE__ */ ((SubmissionPeriodFrequencyType2) => {\n SubmissionPeriodFrequencyType2[\"Monthly\"] = \"Monthly\";\n SubmissionPeriodFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n SubmissionPeriodFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n SubmissionPeriodFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n SubmissionPeriodFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n SubmissionPeriodFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n SubmissionPeriodFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n SubmissionPeriodFrequencyType2[\"Yearly\"] = \"Yearly\";\n return SubmissionPeriodFrequencyType2;\n})(SubmissionPeriodFrequencyType || {});\nexport var SubmissionPeriodPaymentCategory = /* @__PURE__ */ ((SubmissionPeriodPaymentCategory2) => {\n SubmissionPeriodPaymentCategory2[\"Payable\"] = \"Payable\";\n SubmissionPeriodPaymentCategory2[\"Reclaimable\"] = \"Reclaimable\";\n SubmissionPeriodPaymentCategory2[\"Nil\"] = \"Nil\";\n return SubmissionPeriodPaymentCategory2;\n})(SubmissionPeriodPaymentCategory || {});\nexport var SubmissionPeriodPaymentStatus = /* @__PURE__ */ ((SubmissionPeriodPaymentStatus2) => {\n SubmissionPeriodPaymentStatus2[\"Due\"] = \"Due\";\n SubmissionPeriodPaymentStatus2[\"Paid\"] = \"Paid\";\n SubmissionPeriodPaymentStatus2[\"PaidByClient\"] = \"PaidByClient\";\n SubmissionPeriodPaymentStatus2[\"NoPaymentNeeded\"] = \"NoPaymentNeeded\";\n return SubmissionPeriodPaymentStatus2;\n})(SubmissionPeriodPaymentStatus || {});\nexport var SubmissionPeriodStatus = /* @__PURE__ */ ((SubmissionPeriodStatus2) => {\n SubmissionPeriodStatus2[\"New\"] = \"New\";\n SubmissionPeriodStatus2[\"DataUploaded\"] = \"DataUploaded\";\n SubmissionPeriodStatus2[\"ErrorReturnGen\"] = \"ErrorReturnGen\";\n SubmissionPeriodStatus2[\"ReturnGenerated\"] = \"ReturnGenerated\";\n SubmissionPeriodStatus2[\"ApprovedByClient\"] = \"ApprovedByClient\";\n SubmissionPeriodStatus2[\"RefusedByClient\"] = \"RefusedByClient\";\n SubmissionPeriodStatus2[\"ErrorAtTA\"] = \"ErrorAtTA\";\n SubmissionPeriodStatus2[\"SentToTA\"] = \"SentToTA\";\n SubmissionPeriodStatus2[\"Submitted\"] = \"Submitted\";\n SubmissionPeriodStatus2[\"Rejected\"] = \"Rejected\";\n SubmissionPeriodStatus2[\"SubmittedByClient\"] = \"SubmittedByClient\";\n SubmissionPeriodStatus2[\"NotToBeSubmitted\"] = \"NotToBeSubmitted\";\n return SubmissionPeriodStatus2;\n})(SubmissionPeriodStatus || {});\nexport var SubmissionPeriodTaxReturnType = /* @__PURE__ */ ((SubmissionPeriodTaxReturnType2) => {\n SubmissionPeriodTaxReturnType2[\"PrimaryVAT\"] = \"PrimaryVAT\";\n SubmissionPeriodTaxReturnType2[\"SecondaryVAT\"] = \"SecondaryVAT\";\n SubmissionPeriodTaxReturnType2[\"ESL\"] = \"ESL\";\n SubmissionPeriodTaxReturnType2[\"VLS\"] = \"VLS\";\n SubmissionPeriodTaxReturnType2[\"IOSS\"] = \"IOSS\";\n SubmissionPeriodTaxReturnType2[\"Intrastat\"] = \"Intrastat\";\n SubmissionPeriodTaxReturnType2[\"OSS\"] = \"OSS\";\n return SubmissionPeriodTaxReturnType2;\n})(SubmissionPeriodTaxReturnType || {});\n","import { SubmissionPeriod } from \"./SubmissionPeriod\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Submission.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"SubmissionPeriods\"] && _data[\"SubmissionPeriods\"].constructor === Array) {\n this.SubmissionPeriods = [];\n for (let item of _data[\"SubmissionPeriods\"]) {\n const submissionPeriods_ = new SubmissionPeriod();\n this.SubmissionPeriods.push(submissionPeriods_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.SubmissionPeriods && this.SubmissionPeriods.constructor === Array) {\n _data[\"SubmissionPeriods\"] = [];\n for (let item of this.SubmissionPeriods) {\n _data[\"SubmissionPeriods\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../converters/DateConverter\";\nexport class File {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof File\n */\n this.$type = \"V1.Submission.File\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n this.Name = _data[\"Name\"];\n this.Reference = _data[\"Reference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n _data[\"Name\"] = this.Name;\n _data[\"Reference\"] = this.Reference;\n return _data;\n }\n}\n","import { File } from \"./File\";\nexport class SubmissionPeriodFiles {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubmissionPeriodFiles\n */\n this.$type = \"V1.Submission.SubmissionPeriodFiles\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"DataVatFiles\"] && _data[\"DataVatFiles\"].constructor === Array) {\n this.DataVatFiles = [];\n for (let item of _data[\"DataVatFiles\"]) {\n const dataVatFiles_ = new File();\n this.DataVatFiles.push(dataVatFiles_.init(item));\n }\n }\n if (_data[\"InvalidVatNumbersReportFiles\"] && _data[\"InvalidVatNumbersReportFiles\"].constructor === Array) {\n this.InvalidVatNumbersReportFiles = [];\n for (let item of _data[\"InvalidVatNumbersReportFiles\"]) {\n const invalidVatNumbersReportFiles_ = new File();\n this.InvalidVatNumbersReportFiles.push(invalidVatNumbersReportFiles_.init(item));\n }\n }\n if (_data[\"NotToBeSubmittedProof\"]) {\n const notToBeSubmittedProof_ = new File();\n this.NotToBeSubmittedProof = notToBeSubmittedProof_.init(_data[\"NotToBeSubmittedProof\"]);\n }\n if (_data[\"OutOfScopeFiles\"] && _data[\"OutOfScopeFiles\"].constructor === Array) {\n this.OutOfScopeFiles = [];\n for (let item of _data[\"OutOfScopeFiles\"]) {\n const outOfScopeFiles_ = new File();\n this.OutOfScopeFiles.push(outOfScopeFiles_.init(item));\n }\n }\n if (_data[\"ReturnFiles\"] && _data[\"ReturnFiles\"].constructor === Array) {\n this.ReturnFiles = [];\n for (let item of _data[\"ReturnFiles\"]) {\n const returnFiles_ = new File();\n this.ReturnFiles.push(returnFiles_.init(item));\n }\n }\n if (_data[\"TransactionFiles\"] && _data[\"TransactionFiles\"].constructor === Array) {\n this.TransactionFiles = [];\n for (let item of _data[\"TransactionFiles\"]) {\n const transactionFiles_ = new File();\n this.TransactionFiles.push(transactionFiles_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.DataVatFiles && this.DataVatFiles.constructor === Array) {\n _data[\"DataVatFiles\"] = [];\n for (let item of this.DataVatFiles) {\n _data[\"DataVatFiles\"].push(item.toJSON());\n }\n }\n if (this.InvalidVatNumbersReportFiles && this.InvalidVatNumbersReportFiles.constructor === Array) {\n _data[\"InvalidVatNumbersReportFiles\"] = [];\n for (let item of this.InvalidVatNumbersReportFiles) {\n _data[\"InvalidVatNumbersReportFiles\"].push(item.toJSON());\n }\n }\n _data[\"NotToBeSubmittedProof\"] = this.NotToBeSubmittedProof ? this.NotToBeSubmittedProof.toJSON() : void 0;\n if (this.OutOfScopeFiles && this.OutOfScopeFiles.constructor === Array) {\n _data[\"OutOfScopeFiles\"] = [];\n for (let item of this.OutOfScopeFiles) {\n _data[\"OutOfScopeFiles\"].push(item.toJSON());\n }\n }\n if (this.ReturnFiles && this.ReturnFiles.constructor === Array) {\n _data[\"ReturnFiles\"] = [];\n for (let item of this.ReturnFiles) {\n _data[\"ReturnFiles\"].push(item.toJSON());\n }\n }\n if (this.TransactionFiles && this.TransactionFiles.constructor === Array) {\n _data[\"TransactionFiles\"] = [];\n for (let item of this.TransactionFiles) {\n _data[\"TransactionFiles\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class FrequencyConfigurationOption {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FrequencyConfigurationOption\n */\n this.$type = \"V1.Submission.FrequencyConfigurationOption\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.EFiling = _data[\"EFiling\"];\n this.FilingExtension = _data[\"FilingExtension\"];\n this.FrequencyType = FrequencyConfigurationOptionFrequencyType[_data[\"FrequencyType\"]];\n this.ReturnType = FrequencyConfigurationOptionReturnType[_data[\"ReturnType\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"EFiling\"] = this.EFiling;\n _data[\"FilingExtension\"] = this.FilingExtension;\n _data[\"FrequencyType\"] = FrequencyConfigurationOptionFrequencyType[this.FrequencyType];\n _data[\"ReturnType\"] = FrequencyConfigurationOptionReturnType[this.ReturnType];\n return _data;\n }\n}\nexport var FrequencyConfigurationOptionFrequencyType = /* @__PURE__ */ ((FrequencyConfigurationOptionFrequencyType2) => {\n FrequencyConfigurationOptionFrequencyType2[\"Monthly\"] = \"Monthly\";\n FrequencyConfigurationOptionFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n FrequencyConfigurationOptionFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n FrequencyConfigurationOptionFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n FrequencyConfigurationOptionFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n FrequencyConfigurationOptionFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n FrequencyConfigurationOptionFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n FrequencyConfigurationOptionFrequencyType2[\"Yearly\"] = \"Yearly\";\n return FrequencyConfigurationOptionFrequencyType2;\n})(FrequencyConfigurationOptionFrequencyType || {});\nexport var FrequencyConfigurationOptionReturnType = /* @__PURE__ */ ((FrequencyConfigurationOptionReturnType2) => {\n FrequencyConfigurationOptionReturnType2[\"PrimaryVAT\"] = \"PrimaryVAT\";\n FrequencyConfigurationOptionReturnType2[\"SecondaryVAT\"] = \"SecondaryVAT\";\n FrequencyConfigurationOptionReturnType2[\"ESL\"] = \"ESL\";\n FrequencyConfigurationOptionReturnType2[\"VLS\"] = \"VLS\";\n FrequencyConfigurationOptionReturnType2[\"IOSS\"] = \"IOSS\";\n FrequencyConfigurationOptionReturnType2[\"Intrastat\"] = \"Intrastat\";\n FrequencyConfigurationOptionReturnType2[\"OSS\"] = \"OSS\";\n return FrequencyConfigurationOptionReturnType2;\n})(FrequencyConfigurationOptionReturnType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/Submission/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { SubmissionPeriodFiles } from \"./../models/V1/Submission/SubmissionPeriodFiles\";\nimport { FrequencyConfigurationOption } from \"./../models/V1/Submission/FrequencyConfigurationOption\";\nexport class SubmissionPeriods {\n /**\n * Creates an instance of SubmissionPeriods.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof SubmissionPeriods\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchSubmissionsRq_ _searchSubmissionsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n searchSubmissions(pSearchSubmissionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/Search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchSubmissionsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetSubmissionPeriodFilesRq_ _getSubmissionPeriodFilesRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n getSubmissionPeriodFiles(pGetSubmissionPeriodFilesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Files\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pGetSubmissionPeriodFilesRq.submissionPeriodId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SubmissionPeriodFiles },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeStatusRq_ _changeStatusRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n changeStatus(pChangeStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Status\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pChangeStatusRq.submissionPeriodId, required: true }\n ]);\n client.addBody({ value: pChangeStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangePaymentStatusRq_ _changePaymentStatusRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n changePaymentStatus(pChangePaymentStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/PaymentStatus\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pChangePaymentStatusRq.submissionPeriodId, required: true }\n ]);\n client.addBody({ value: pChangePaymentStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadDocumentRq_ _downloadDocumentRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n downloadDocument(pDownloadDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/{type}/{documentId}\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pDownloadDocumentRq.submissionPeriodId, required: true },\n { name: \"documentId\", value: pDownloadDocumentRq.documentId, required: true },\n { name: \"type\", value: pDownloadDocumentRq.type, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSubmissionProofRq_ _uploadSubmissionProofRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadSubmissionProof(pUploadSubmissionProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/SubmissionProof\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadSubmissionProofRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSubmissionProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadPaymentProofRq_ _uploadPaymentProofRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadPaymentProof(pUploadPaymentProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/PaymentProof\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadPaymentProofRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadPaymentProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadRejectionAttachmentsRq_ _uploadRejectionAttachmentsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadRejectionAttachments(pUploadRejectionAttachmentsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/rejection/attachments\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadRejectionAttachmentsRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"files\", value: pUploadRejectionAttachmentsRq.files }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isArray: true },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetEffectiveSubmissionConfigRq_ _getEffectiveSubmissionConfigRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n getEffectiveSubmissionConfig(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/EffectiveSubmissionConfig\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: FrequencyConfigurationOption, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var DownloadDocumentType = /* @__PURE__ */ ((DownloadDocumentType2) => {\n DownloadDocumentType2[\"SubmissionProof\"] = \"SubmissionProof\";\n DownloadDocumentType2[\"SubmissionProofIntrastatIn\"] = \"SubmissionProofIntrastatIn\";\n DownloadDocumentType2[\"SubmissionProofIntrastatOut\"] = \"SubmissionProofIntrastatOut\";\n DownloadDocumentType2[\"PaymentProof\"] = \"PaymentProof\";\n DownloadDocumentType2[\"NotToBeSubmittedProof\"] = \"NotToBeSubmittedProof\";\n DownloadDocumentType2[\"Return\"] = \"Return\";\n DownloadDocumentType2[\"DataVat\"] = \"DataVat\";\n DownloadDocumentType2[\"Transaction\"] = \"Transaction\";\n DownloadDocumentType2[\"InvalidVatNumbersReport\"] = \"InvalidVatNumbersReport\";\n DownloadDocumentType2[\"OutOfScopeFile\"] = \"OutOfScopeFile\";\n return DownloadDocumentType2;\n})(DownloadDocumentType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Subscriptions {\n /**\n * Creates an instance of Subscriptions.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Subscriptions\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SubscribeRq_ _subscribeRq\n * @returns Promise\n * @memberof Subscriptions\n */\n subscribe(pSubscribeRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Subscriptions\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSubscribeRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UnSubscribeRq_ _unSubscribeRq\n * @returns Promise\n * @memberof Subscriptions\n */\n unSubscribe(pUnSubscribeRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Subscriptions\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pUnSubscribeRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class PredefinedBankAccount {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PredefinedBankAccount\n */\n this.$type = \"V1.CompanyInfo.VatRegistration.PredefinedBankAccount\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.BankAddress = _data[\"BankAddress\"];\n this.BankName = _data[\"BankName\"];\n this.BeneficiaryAddress = _data[\"BeneficiaryAddress\"];\n this.BeneficiaryName = _data[\"BeneficiaryName\"];\n this.CountryCode = _data[\"CountryCode\"];\n this.EstablishmentCountryIsInEU = _data[\"EstablishmentCountryIsInEU\"];\n this.Iban = _data[\"Iban\"];\n this.Id = _data[\"Id\"];\n this.Swift = _data[\"Swift\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BankAddress\"] = this.BankAddress;\n _data[\"BankName\"] = this.BankName;\n _data[\"BeneficiaryAddress\"] = this.BeneficiaryAddress;\n _data[\"BeneficiaryName\"] = this.BeneficiaryName;\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"EstablishmentCountryIsInEU\"] = this.EstablishmentCountryIsInEU;\n _data[\"Iban\"] = this.Iban;\n _data[\"Id\"] = this.Id;\n _data[\"Swift\"] = this.Swift;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { PredefinedBankAccount } from \"./../models/V1/CompanyInfo/VatRegistration/PredefinedBankAccount\";\nexport class VatRegistration {\n /**\n * Creates an instance of VatRegistration.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof VatRegistration\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param DownloadVatRegDocumentRq_ _downloadVatRegDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadVatRegDocument(pDownloadVatRegDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration/{vatRegId}/template/{templateId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addQueryParams([\n { name: \"type\", value: pDownloadVatRegDocumentRq.type }\n ]);\n client.addPathParams([\n { name: \"vatRegId\", value: pDownloadVatRegDocumentRq.vatRegId, required: true },\n { name: \"templateId\", value: pDownloadVatRegDocumentRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSignedVatRegDocumentRq_ _uploadSignedVatRegDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n uploadSignedVatRegDocument(pUploadSignedVatRegDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration/{vatRegId}/template/{templateId}/signed\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"vatRegId\", value: pUploadSignedVatRegDocumentRq.vatRegId, required: true },\n { name: \"templateId\", value: pUploadSignedVatRegDocumentRq.templateId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSignedVatRegDocumentRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeUploadRq_ _finalizeUploadRq\n * @returns Promise\n * @memberof VatRegistration\n */\n finalizeUpload(pFinalizeUploadRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration/{vatRegId}/finalized\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"vatRegId\", value: pFinalizeUploadRq.vatRegId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadVatCertificateRq_ _downloadVatCertificateRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadVatCertificate(pDownloadVatCertificateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration/{vatRegId}/certificate/{certificateType}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"vatRegId\", value: pDownloadVatCertificateRq.vatRegId, required: true },\n { name: \"certificateType\", value: pDownloadVatCertificateRq.certificateType, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetPredefinedBankAccountsRq_ _getPredefinedBankAccountsRq\n * @returns Promise\n * @memberof VatRegistration\n */\n getPredefinedBankAccounts(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/PredefinedBankAccounts\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: PredefinedBankAccount, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadDeregistrationDocumentRq_ _downloadDeregistrationDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadDeregistrationDocument(pDownloadDeregistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration/{vatRegId}/deregistrationDocument\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"vatRegId\", value: pDownloadDeregistrationDocumentRq.vatRegId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadPoaRevokeConfirmationDocumentRq_ _downloadPoaRevokeConfirmationDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadPoaRevokeConfirmationDocument(pDownloadPoaRevokeConfirmationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration/{vatRegId}/poarevokeconfirmationdocument\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"vatRegId\", value: pDownloadPoaRevokeConfirmationDocumentRq.vatRegId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var DownloadVatRegDocumentType = /* @__PURE__ */ ((DownloadVatRegDocumentType2) => {\n DownloadVatRegDocumentType2[\"Unsigned\"] = \"Unsigned\";\n DownloadVatRegDocumentType2[\"Signed\"] = \"Signed\";\n return DownloadVatRegDocumentType2;\n})(DownloadVatRegDocumentType || {});\nexport var DownloadVatCertificateCertificateType = /* @__PURE__ */ ((DownloadVatCertificateCertificateType2) => {\n DownloadVatCertificateCertificateType2[\"Local\"] = \"Local\";\n DownloadVatCertificateCertificateType2[\"Eu\"] = \"Eu\";\n return DownloadVatCertificateCertificateType2;\n})(DownloadVatCertificateCertificateType || {});\n","export class ErrorViewModel {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ErrorViewModel\n */\n this.$type = \"ErrorViewModel\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.StatusCode = _data[\"StatusCode\"];\n this.StatusMessage = _data[\"StatusMessage\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"StatusCode\"] = this.StatusCode;\n _data[\"StatusMessage\"] = this.StatusMessage;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { ErrorViewModel } from \"./../models/ErrorViewModel\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Vies {\n /**\n * Creates an instance of Vies.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Vies\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param CheckVatNumberRq_ _checkVatNumberRq\n * @returns Promise\n * @memberof Vies\n */\n checkVatNumber(pCheckVatNumberRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Signup/CheckVatNumber\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"fullVatNumber\", value: pCheckVatNumberRq.fullVatNumber }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 400, clazz: ErrorViewModel },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { Address } from \"./../Common/Address\";\nexport class BusinessDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessDetail\n */\n this.$type = \"V1.Companies.BusinessDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.ContactPosition = _data[\"ContactPosition\"];\n this.EstablishmentCountryCode = _data[\"EstablishmentCountryCode\"];\n this.Phone = _data[\"Phone\"];\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"ContactPosition\"] = this.ContactPosition;\n _data[\"EstablishmentCountryCode\"] = this.EstablishmentCountryCode;\n _data[\"Phone\"] = this.Phone;\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","import { Name } from \"./../Common/Person/Name\";\nimport { BusinessDetail } from \"./BusinessDetail\";\nexport class CompanyDetail extends BusinessDetail {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyDetail\n */\n this.$type = \"V1.Companies.CompanyDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CompanyName = _data[\"CompanyName\"];\n if (_data[\"ContactName\"]) {\n const contactName_ = new Name();\n this.ContactName = contactName_.init(_data[\"ContactName\"]);\n }\n this.LegalStatus = CompanyDetailLegalStatus[_data[\"LegalStatus\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"ContactName\"] = this.ContactName ? this.ContactName.toJSON() : void 0;\n _data[\"LegalStatus\"] = CompanyDetailLegalStatus[this.LegalStatus];\n return _data;\n }\n}\nexport var CompanyDetailLegalStatus = /* @__PURE__ */ ((CompanyDetailLegalStatus2) => {\n CompanyDetailLegalStatus2[\"Company\"] = \"Company\";\n CompanyDetailLegalStatus2[\"Individual\"] = \"Individual\";\n CompanyDetailLegalStatus2[\"Partnership\"] = \"Partnership\";\n return CompanyDetailLegalStatus2;\n})(CompanyDetailLegalStatus || {});\n","import { Name } from \"./../Common/Person/Name\";\nimport { BusinessDetail } from \"./BusinessDetail\";\nexport class IndividualDetail extends BusinessDetail {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IndividualDetail\n */\n this.$type = \"V1.Companies.IndividualDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Name\"]) {\n const name_ = new Name();\n this.Name = name_.init(_data[\"Name\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Name\"] = this.Name ? this.Name.toJSON() : void 0;\n return _data;\n }\n}\n","import { BusinessDetail } from \"./BusinessDetail\";\nimport { CompanyDetail } from \"./CompanyDetail\";\nimport { IndividualDetail } from \"./IndividualDetail\";\nexport class BusinessDetailFactory {\n static create($type) {\n if ($type === \"V1.Companies.BusinessDetail\") {\n const result = new BusinessDetail();\n return result;\n }\n if ($type === \"V1.Companies.CompanyDetail\") {\n const result = new CompanyDetail();\n return result;\n }\n if ($type === \"V1.Companies.IndividualDetail\") {\n const result = new IndividualDetail();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","export class ChangeCompany {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ChangeCompany\n */\n this.$type = \"V1.Companies.ChangeCompany\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CompanyId = _data[\"CompanyId\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CompanyId\"] = this.CompanyId;\n return _data;\n }\n}\n","import { BusinessDetailFactory } from \"./../BusinessDetailFactory\";\nexport class CreateCompanyRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CreateCompanyRequest\n */\n this.$type = \"V1.Companies.Create.CreateCompanyRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n const $typeBusinessDetail = _data[\"BusinessDetail\"] && _data[\"BusinessDetail\"].$type;\n if ($typeBusinessDetail) {\n const businessDetail_ = BusinessDetailFactory.create($typeBusinessDetail);\n this.BusinessDetail = businessDetail_.init(_data[\"BusinessDetail\"]);\n } else {\n this.BusinessDetail = _data[\"BusinessDetail\"];\n }\n this.PreferredLanguage = _data[\"PreferredLanguage\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BusinessDetail\"] = this.BusinessDetail ? this.BusinessDetail.toJSON() : void 0;\n _data[\"PreferredLanguage\"] = this.PreferredLanguage;\n return _data;\n }\n}\n","export class Field {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Field\n */\n this.$type = \"V1.Companies.Search.Field\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Order = FieldOrder[_data[\"Order\"]];\n this.OrderByField = FieldOrderByField[_data[\"OrderByField\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Order\"] = FieldOrder[this.Order];\n _data[\"OrderByField\"] = FieldOrderByField[this.OrderByField];\n return _data;\n }\n}\nexport var FieldOrder = /* @__PURE__ */ ((FieldOrder2) => {\n FieldOrder2[\"Ascending\"] = \"Ascending\";\n FieldOrder2[\"Descending\"] = \"Descending\";\n return FieldOrder2;\n})(FieldOrder || {});\nexport var FieldOrderByField = /* @__PURE__ */ ((FieldOrderByField2) => {\n FieldOrderByField2[\"ClientId\"] = \"ClientId\";\n FieldOrderByField2[\"CompanyName\"] = \"CompanyName\";\n FieldOrderByField2[\"Status\"] = \"Status\";\n FieldOrderByField2[\"QuestionnaireStatus\"] = \"QuestionnaireStatus\";\n FieldOrderByField2[\"RegistrationDate\"] = \"RegistrationDate\";\n FieldOrderByField2[\"IsSignedUp\"] = \"IsSignedUp\";\n FieldOrderByField2[\"SentinelValidTo\"] = \"SentinelValidTo\";\n FieldOrderByField2[\"ClientSource\"] = \"ClientSource\";\n FieldOrderByField2[\"GroupCode\"] = \"GroupCode\";\n return FieldOrderByField2;\n})(FieldOrderByField || {});\n","import { Field } from \"./Field\";\nexport class Pager {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Pager\n */\n this.$type = \"V1.Companies.Search.Pager\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"OrderBy\"] && _data[\"OrderBy\"].constructor === Array) {\n this.OrderBy = [];\n for (let item of _data[\"OrderBy\"]) {\n const orderBy_ = new Field();\n this.OrderBy.push(orderBy_.init(item));\n }\n }\n this.Skip = _data[\"Skip\"];\n this.Top = _data[\"Top\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.OrderBy && this.OrderBy.constructor === Array) {\n _data[\"OrderBy\"] = [];\n for (let item of this.OrderBy) {\n _data[\"OrderBy\"].push(item.toJSON());\n }\n }\n _data[\"Skip\"] = this.Skip;\n _data[\"Top\"] = this.Top;\n return _data;\n }\n}\n","import { Filter } from \"./Filter\";\nimport { Pager } from \"./Pager\";\nexport class SearchRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchRequest\n */\n this.$type = \"V1.Companies.Search.SearchRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Filter\"]) {\n const filter_ = new Filter();\n this.Filter = filter_.init(_data[\"Filter\"]);\n }\n if (_data[\"Pager\"]) {\n const pager_ = new Pager();\n this.Pager = pager_.init(_data[\"Pager\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Filter\"] = this.Filter ? this.Filter.toJSON() : void 0;\n _data[\"Pager\"] = this.Pager ? this.Pager.toJSON() : void 0;\n return _data;\n }\n}\n","export class LeavingReason {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LeavingReason\n */\n this.$type = \"V1.Companies.Subscriptions.Feedbacks.LeavingReason\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n return _data;\n }\n}\n","import { LeavingReason } from \"./LeavingReason\";\nexport class DeregistrationReason extends LeavingReason {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DeregistrationReason\n */\n this.$type = \"V1.Companies.Subscriptions.Feedbacks.DeregistrationReason\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","export class MovingSubReason {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MovingSubReason\n */\n this.$type = \"V1.Companies.Subscriptions.Feedbacks.MovingSubReason\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Opinion = _data[\"Opinion\"];\n this.Option = MovingSubReasonOption[_data[\"Option\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Opinion\"] = this.Opinion;\n _data[\"Option\"] = MovingSubReasonOption[this.Option];\n return _data;\n }\n}\nexport var MovingSubReasonOption = /* @__PURE__ */ ((MovingSubReasonOption2) => {\n MovingSubReasonOption2[\"Pricing\"] = \"Pricing\";\n MovingSubReasonOption2[\"ServiceQuality\"] = \"ServiceQuality\";\n MovingSubReasonOption2[\"ScopeCoverage\"] = \"ScopeCoverage\";\n MovingSubReasonOption2[\"Other\"] = \"Other\";\n return MovingSubReasonOption2;\n})(MovingSubReasonOption || {});\n","import { MovingSubReason } from \"./MovingSubReason\";\nimport { LeavingReason } from \"./LeavingReason\";\nexport class MovingReason extends LeavingReason {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MovingReason\n */\n this.$type = \"V1.Companies.Subscriptions.Feedbacks.MovingReason\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Reasons\"] && _data[\"Reasons\"].constructor === Array) {\n this.Reasons = [];\n for (let item of _data[\"Reasons\"]) {\n const reasons_ = new MovingSubReason();\n this.Reasons.push(reasons_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Reasons && this.Reasons.constructor === Array) {\n _data[\"Reasons\"] = [];\n for (let item of this.Reasons) {\n _data[\"Reasons\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { LeavingReason } from \"./LeavingReason\";\nimport { DeregistrationReason } from \"./DeregistrationReason\";\nimport { MovingReason } from \"./MovingReason\";\nexport class LeavingReasonFactory {\n static create($type) {\n if ($type === \"V1.Companies.Subscriptions.Feedbacks.LeavingReason\") {\n const result = new LeavingReason();\n return result;\n }\n if ($type === \"V1.Companies.Subscriptions.Feedbacks.DeregistrationReason\") {\n const result = new DeregistrationReason();\n return result;\n }\n if ($type === \"V1.Companies.Subscriptions.Feedbacks.MovingReason\") {\n const result = new MovingReason();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { LeavingReasonFactory } from \"./LeavingReasonFactory\";\nexport class Feedback {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Feedback\n */\n this.$type = \"V1.Companies.Subscriptions.Feedbacks.Feedback\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"LeavingReasons\"] && _data[\"LeavingReasons\"].constructor === Array) {\n this.LeavingReasons = [];\n for (let item of _data[\"LeavingReasons\"]) {\n const $typeLeavingReasons = item && item.$type;\n if ($typeLeavingReasons) {\n const leavingReasons_ = LeavingReasonFactory.create($typeLeavingReasons);\n this.LeavingReasons.push(leavingReasons_.init(item));\n }\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.LeavingReasons && this.LeavingReasons.constructor === Array) {\n _data[\"LeavingReasons\"] = [];\n for (let item of this.LeavingReasons) {\n _data[\"LeavingReasons\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class ErrorMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ErrorMessage\n */\n this.$type = \"V1.Common.Error.ErrorMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = _data[\"Code\"];\n this.Message = _data[\"Message\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = this.Code;\n _data[\"Message\"] = this.Message;\n return _data;\n }\n}\n","import { ErrorMessage } from \"./ErrorMessage\";\nexport class Error {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Error\n */\n this.$type = \"V1.Common.Error.Error\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = _data[\"Code\"];\n if (_data[\"ErrorMessages\"] && _data[\"ErrorMessages\"].constructor === Array) {\n this.ErrorMessages = [];\n for (let item of _data[\"ErrorMessages\"]) {\n const errorMessages_ = new ErrorMessage();\n this.ErrorMessages.push(errorMessages_.init(item));\n }\n }\n this.Message = _data[\"Message\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = this.Code;\n if (this.ErrorMessages && this.ErrorMessages.constructor === Array) {\n _data[\"ErrorMessages\"] = [];\n for (let item of this.ErrorMessages) {\n _data[\"ErrorMessages\"].push(item.toJSON());\n }\n }\n _data[\"Message\"] = this.Message;\n return _data;\n }\n}\n","import { Error as WebApiError } from \"WebServices/APIs/self/models/V1/Common/Error\";\nimport { Error as AdminApiError } from \"AdminServices/APIs/self/models/V1/Common/Error\";\nexport const isApiError = (error) => {\n return error instanceof WebApiError || error instanceof AdminApiError;\n};\n","export const nameof = (name) => name;\n","import * as Immutable from \"immutable\";\nimport { createAction, createReducer } from \"redux-act\";\nimport { ReduxContext } from \"GlobalShared/ReduxContext\";\nimport { nameof } from \"GlobalShared/common/Nameof\";\nconst defaultState = {\n notifications: []\n};\nconst _DcNotifierReducer = class {\n static getPath(key) {\n return `${_DcNotifierReducer.REDUCER_KEY}.${key}`;\n }\n};\nexport let DcNotifierReducer = _DcNotifierReducer;\nDcNotifierReducer.REDUCER_KEY = \"dc-notifier\";\nDcNotifierReducer.ADD_NOTIFICATION = \"DcNotifierReducer::ADD_NOTIFICATION\";\nDcNotifierReducer.CHANGE_NOTIFICATION = \"DcNotifierReducer::CHANGE_NOTIFICATION\";\nDcNotifierReducer.REMOVE_NOTIFICATION = \"DcNotifierReducer::REMOVE_NOTIFICATION\";\nDcNotifierReducer.addNotification = createAction(_DcNotifierReducer.ADD_NOTIFICATION);\nDcNotifierReducer.changeNotifications = createAction(_DcNotifierReducer.CHANGE_NOTIFICATION);\nDcNotifierReducer.removeNotification = createAction(_DcNotifierReducer.REMOVE_NOTIFICATION);\nReduxContext.registerReducer(\n DcNotifierReducer.REDUCER_KEY,\n createReducer(\n {\n [DcNotifierReducer.addNotification.toString()]: (state, item) => {\n const newList = [...state.get(nameof(\"notifications\")), item];\n return state.updateIn([nameof(\"notifications\")], (_) => Immutable.fromJS(newList));\n },\n [DcNotifierReducer.changeNotifications.toString()]: (state, mapper) => {\n return state.updateIn([nameof(\"notifications\")], (notifications) => Immutable.fromJS(notifications.toJS().map(mapper)));\n },\n [DcNotifierReducer.removeNotification.toString()]: (state, id) => {\n return state.updateIn([nameof(\"notifications\")], (notifications) => Immutable.fromJS(notifications.toJS().filter((note) => note.id !== id)));\n }\n },\n Immutable.fromJS(defaultState)\n )\n);\n","import \"./dc-notifier.scss\";\nimport { html } from \"lit-html\";\nimport { repeat } from \"lit-html/directives/repeat\";\nimport { component, useEffect } from \"haunted\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport { DcNotifierReducer } from \"./dc-notifier-reducer\";\nimport { ReduxContext } from \"GlobalShared/ReduxContext\";\nimport { useReduxState } from \"GlobalShared/haunted/CustomHooks\";\nexport var DcNotificationType = /* @__PURE__ */ ((DcNotificationType2) => {\n DcNotificationType2[\"Success\"] = \"Success\";\n DcNotificationType2[\"Warning\"] = \"Warning\";\n DcNotificationType2[\"Error\"] = \"Error\";\n return DcNotificationType2;\n})(DcNotificationType || {});\nlet id = 0;\nconst removeNote = (noteId) => {\n ReduxContext.store.dispatch(DcNotifierReducer.removeNotification(noteId));\n};\nexport const Component = () => {\n const notes = useReduxState(DcNotifierReducer.getPath(\"notifications\"));\n useEffect(() => {\n if (notes == null ? void 0 : notes.some((note) => note.isProcessed === void 0)) {\n ReduxContext.store.dispatch(\n DcNotifierReducer.changeNotifications((note) => {\n if (note.isProcessed === void 0) {\n note.isProcessed = true;\n note.id = id++;\n if (note.autoRemove) {\n window.setTimeout(() => removeNote(note.id), 6e3);\n }\n }\n return note;\n })\n );\n }\n }, [notes]);\n return html`${notes !== void 0 ? html`
    \n\t\t\t\t${repeat(\n notes,\n (note) => note.id,\n (note) => html`\n\t\t\t\t\t\t\t${!note.autoRemove ? html`` : \"\"}\n\t\t\t\t\t\t\t${Array.isArray(note.message) ? note.message.map((m) => html`${m}`) : note.message}\n\t\t\t\t\t\t`\n )}\n\t\t
` : \"\"}`;\n};\ncustomElements.define(\n \"dc-notifier\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { isApiError } from \"GlobalShared/common/ApiError\";\nimport { ReduxContext } from \"GlobalShared/ReduxContext\";\nimport { DcNotificationType } from \"GlobalShared/ui/dc-notifier\";\nimport { DcNotifierReducer } from \"GlobalShared/ui/dc-notifier-reducer\";\nimport i18next from \"i18next\";\nexport const withErrorHandling = (callback, errorHandler, finallyFunc) => __async(void 0, null, function* () {\n const localErrorHandler = (error) => {\n if (error && error.statusCode === 401) {\n globalThis.location.reload();\n } else {\n return errorHandler(error);\n }\n };\n try {\n return yield callback();\n } catch (error) {\n localErrorHandler(error);\n } finally {\n if (finallyFunc) {\n finallyFunc();\n }\n }\n});\nexport const notifyErrorWithWarning = (error) => {\n if (isApiError(error)) {\n const error2 = extractFirstError(error);\n if (error2 && error.statusCode >= 400 && error.statusCode < 500) {\n notifyWarning(`${error2.message} (${error.statusCode})`);\n } else {\n notifyError(error);\n }\n } else if (error.statusCode >= 400 && error.statusCode < 500 && error.data.Message) {\n notifyWarning(`${error.data.Message} (${error.statusCode})`);\n } else {\n notifyError(error);\n }\n};\nexport const notifyError = (error) => {\n let errorMessage;\n if (error instanceof Error) {\n if (error.name !== \"AbortError\") {\n errorMessage = error.message;\n }\n } else if (error.statusCode) {\n if (error.statusCode === 403) {\n errorMessage = `${i18next.t(\"Access denied\")} (${error.statusCode})`;\n } else if (error.statusCode === 401) {\n errorMessage = `${i18next.t(\"Not authenticated\")} (${error.statusCode})`;\n } else if (error.statusCode === 404) {\n errorMessage = `${i18next.t(\"Not found\")} (${error.statusCode})`;\n } else {\n errorMessage = `${i18next.t(\"Error occured\")} (${error.statusCode})`;\n }\n } else {\n errorMessage = i18next.t(\"Unknown error occured\");\n }\n if (errorMessage !== void 0) {\n console.log(error);\n ReduxContext.dispatch(\n DcNotifierReducer.addNotification({\n message: errorMessage,\n type: DcNotificationType.Error,\n autoRemove: true\n })\n );\n }\n};\nexport const notifySuccess = (message) => {\n ReduxContext.dispatch(\n DcNotifierReducer.addNotification({\n message,\n type: DcNotificationType.Success,\n autoRemove: true\n })\n );\n};\nexport const notifyWarning = (message) => {\n ReduxContext.dispatch(\n DcNotifierReducer.addNotification({\n message,\n type: DcNotificationType.Warning,\n autoRemove: true\n })\n );\n};\nexport const checkError = (error, statusCode, errorCode) => {\n var _a;\n if (error.statusCode === statusCode) {\n if (errorCode === void 0 || ((_a = error.ErrorMessages) == null ? void 0 : _a.length) > 0 && error.ErrorMessages[0].Code === errorCode) {\n return true;\n }\n }\n return false;\n};\nexport const extractFirstErrorMessage = (error, defaultValue) => {\n var _a, _b;\n return (_b = (_a = extractFirstError(error)) == null ? void 0 : _a.message) != null ? _b : defaultValue;\n};\nexport const extractFirstError = (error) => {\n var _a;\n if (isApiError(error)) {\n const err = ((_a = error.ErrorMessages) == null ? void 0 : _a.length) > 0 ? error.ErrorMessages[0] : void 0;\n if (err) {\n return { message: err.Message, code: err.Code };\n }\n }\n return void 0;\n};\n","import i18next from \"i18next\";\nimport { IossComplianceSubscription, VatComplianceSubscription } from \"WebServices/APIs/self/models/V1/CompanyInfo/Subscriptions\";\nexport const EXPIRED_SUBSCRIPTION_TYPE_LABELS = {\n IossCompliance: i18next.t(\"Ioss Compliance\"),\n VatCompliance: i18next.t(\"Vat Compliance\"),\n Unknown: i18next.t(\"Unknown\")\n};\nexport const REASON_DATA_SOURCE = [\n { reason: \"Moving\", label: i18next.t(\"I plan to move to a new service provider\") },\n { reason: \"Deregistration\", label: i18next.t(\"I plan to stop trading and de-register for VAT\") }\n];\nexport const MOVING_REASON_DATA_SOURCE = [\n { movingReason: \"Pricing\", label: i18next.t(\"Pricing\") },\n { movingReason: \"ServiceQuality\", label: i18next.t(\"Service quality\") },\n { movingReason: \"ScopeCoverage\", label: i18next.t(\"Scope coverage\") },\n { movingReason: \"Other\", label: i18next.t(\"Other\") }\n];\nexport const mapSubscriptionToExpiredSubscriptionVM = (subscription) => {\n const vm = {\n id: subscription.Id,\n countryCode: subscription instanceof VatComplianceSubscription ? subscription.CountryCode : void 0,\n type: subscription instanceof VatComplianceSubscription ? \"VatCompliance\" : subscription instanceof IossComplianceSubscription ? \"IossCompliance\" : \"Unknown\",\n startDate: subscription.StartDate,\n endDate: subscription.EndDate,\n movingReasons: [],\n opened: false\n };\n return vm;\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useClient, useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { Companies as CompaniesClient } from \"WebServices/APIs/self/clients\";\nimport { notifyError, notifySuccess, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { EXPIRED_SUBSCRIPTION_TYPE_LABELS, mapSubscriptionToExpiredSubscriptionVM } from \"./NotificationModels\";\nimport { formatDate } from \"GlobalShared/helpers/dateHelper\";\nimport { navigateTo } from \"GlobalShared/router\";\nimport { getLocalizedUrl } from \"../../globals\";\nimport { DeregistrationReason, Feedback, MovingReason, MovingSubReason } from \"WebServices/APIs/self/models/V1/Companies/Subscriptions/Feedbacks\";\nconst getLastSignedInFromSessionStorage = (companyId) => {\n return sessionStorage.getItem(\"LastSignedIn:\" + companyId);\n};\nconst saveLastSignedInToSessionStorage = (companyId, token) => {\n return sessionStorage.setItem(\"LastSignedIn:\" + companyId, token);\n};\nexport const useNotification = () => {\n const saveFeedback = (expiredSubscription) => __async(void 0, null, function* () {\n yield withErrorHandling(\n () => __async(void 0, null, function* () {\n yield companiesClient.addSubscriptionFeedback({\n subscriptionId: expiredSubscription.id,\n body: new Feedback({\n LeavingReasons: [\n expiredSubscription.reason === \"Deregistration\" ? new DeregistrationReason() : new MovingReason({\n Reasons: expiredSubscription.movingReasons.map(\n (mr) => new MovingSubReason({\n Option: mr,\n Opinion: mr === \"Other\" ? expiredSubscription.otherReasonText : void 0\n })\n )\n })\n ]\n })\n });\n setExpiredSubscriptions(expiredSubscriptions.filter((es) => es.id !== expiredSubscription.id));\n notifySuccess(i18next.t(\"Feedback saved successfully\"));\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const updateExpiredSubscription = (newExpiredSubscription) => {\n setExpiredSubscriptions(expiredSubscriptions.map((es) => es.id === newExpiredSubscription.id ? newExpiredSubscription : es));\n };\n const getExpiredSubscriptions = () => __async(void 0, null, function* () {\n return withErrorHandling(\n () => __async(void 0, null, function* () {\n const result = yield companiesClient.getExpiringSubscriptions();\n return result.data.map(mapSubscriptionToExpiredSubscriptionVM);\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const [showNotificationModal, setShowNotificationModal] = useState(true);\n const companiesClient = useClient(CompaniesClient);\n const [expiredSubscriptions, setExpiredSubscriptions] = useState(void 0);\n const init = () => __async(void 0, null, function* () {\n if (ClientContext.CompanyId) {\n const fromSession = getLastSignedInFromSessionStorage(ClientContext.CompanyId);\n if (ClientContext.SignedInUtc !== void 0 && ClientContext.SignedInUtc !== fromSession) {\n saveLastSignedInToSessionStorage(ClientContext.CompanyId, ClientContext.SignedInUtc);\n const tempExpiredSubscriptions = yield getExpiredSubscriptions();\n if (tempExpiredSubscriptions.length > 0) {\n setExpiredSubscriptions(tempExpiredSubscriptions);\n setShowNotificationModal(true);\n }\n }\n }\n });\n useEffect(init, []);\n const htmlNotificationModal = () => {\n if (showNotificationModal && expiredSubscriptions) {\n return html`\n\t\t\t\t
\n\t\t\t\t\t setShowNotificationModal(false)}\n\t\t\t\t\t\t.header=${i18next.t(\"Notifications\")}\n\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
${i18next.t(\"Service expiration:\")}
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t${i18next.t(\n \"The below services are about to expire, please go to Services menu and extend your subscription. If you don\\u2019t want to extend these services, please leave a feedback.\"\n )}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t${expiredSubscriptions.map(\n (es) => html`
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    ${EXPIRED_SUBSCRIPTION_TYPE_LABELS[es.type]}${es.countryCode ? html` (${es.countryCode})` : \"\"}: ${formatDate(es.endDate)}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n updateExpiredSubscription(__spreadProps(__spreadValues({}, es), { opened: true }));\n }}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tI don't want to renew\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t${es.opened ? html` {\n updateExpiredSubscription(__spreadProps(__spreadValues({}, es), { opened: false }));\n }}\n\t\t\t\t\t\t\t\t\t\t\t\t\t >` : \"\"}`\n )}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t {\n setShowNotificationModal(false);\n navigateTo(getLocalizedUrl(\"admin/services/manage\"));\n }}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tRenew Services\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`}\n\t\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t`;\n } else {\n return html``;\n }\n };\n const mainTemplate = () => {\n return html`${htmlNotificationModal()}`;\n };\n return {\n mainTemplate\n };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html, TemplateResult } from \"lit-html\";\nimport { useState } from \"haunted\";\nimport { alreadySignedUp, getLocalizedUrl, getRouteByKey } from \"../globals\";\nimport { addHandler, navigateTo, removeOptionals } from \"GlobalShared/router\";\nimport { useClient, useEffect, useMemo } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { Companies as CompaniesClient } from \"WebServices/APIs/self/clients\";\nimport { ChangeCompany } from \"WebServices/APIs/self/models/V1/Companies\";\nimport { notifyError, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { useNotification } from \"./notification/notification\";\nconst MAIN_MENU = [\n {\n label: i18next.t(\"Services\"),\n key: \"admin/services(/manage)\",\n icon: \"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zm-42-92v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm-252 12c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36z\"\n },\n {\n label: i18next.t(\"Business Details\"),\n key: \"admin/business-details\",\n icon: \"M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z\"\n },\n {\n label: i18next.t(\"Client Accounts\"),\n key: \"admin/client-accounts\",\n icon: \"M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm0 464H48V48h288v416zM144 112h96c8.8 0 16-7.2 16-16s-7.2-16-16-16h-96c-8.8 0-16 7.2-16 16s7.2 16 16 16zm48 176c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z\"\n },\n {\n label: i18next.t(\"Order History\"),\n key: \"admin/orders(/:orderId)\",\n icon: \"M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 80v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8zm144 263.88V440c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-24.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V232c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v24.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07z\"\n },\n {\n label: i18next.t(\"Data Upload\"),\n key: \"admin/compliance-upload\",\n icon: \"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z\"\n },\n {\n label: i18next.t(\"Master Data\"),\n key: \"admin/master-data\",\n icon: \"M567.403 235.642L462.323 84.589A48 48 0 0 0 422.919 64H153.081a48 48 0 0 0-39.404 20.589L8.597 235.642A48.001 48.001 0 0 0 0 263.054V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V263.054c0-9.801-3-19.366-8.597-27.412zM153.081 112h269.838l77.913 112H75.168l77.913-112zM528 400H48V272h480v128zm-32-64c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32zm-96 0c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32z\",\n items: [\n {\n label: i18next.t(\"Amazon SKUs\"),\n key: \"admin/master-data/amazon-skus\",\n icon: html`●`\n },\n {\n label: i18next.t(\"VAT Rates\"),\n key: \"admin/master-data/default-vat-rates\",\n icon: html`●`\n }\n ]\n },\n {\n label: i18next.t(\"Return Library\"),\n key: \"admin/return-library\",\n icon: \"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z\"\n }\n];\nconst isCurrentMenu = (key) => window.location.pathname.startsWith(removeOptionals(getRouteByKey(key)));\nconst startsWith = (pathPart) => window.location.pathname.substring(\"/gb/en/\".length).startsWith(pathPart);\nexport function Header() {\n const onToggleMenu = () => {\n setMenuOpen(!menuOpen);\n };\n const addNewCompany = () => {\n window.location.href = getLocalizedUrl(\"/account-manager\");\n };\n const [menuOpen, setMenuOpen] = useState(false);\n const [, setCurrentPathname] = useState(window.location.pathname);\n const currentCompanyId = useMemo(() => {\n return parseInt(ClientContext.CompanyId);\n }, []);\n const currentCompanies = useMemo(() => {\n return ClientContext.Companies.map((c) => ({ id: parseInt(c.Id), name: c.Name }));\n }, []);\n const companiesClient = useClient(CompaniesClient);\n const notificationHook = useNotification();\n const init = () => {\n const adminHomePath = getRouteByKey(\"admin\");\n const guidesAndTutorialsPath = getRouteByKey(\"guides-and-tutorials\");\n const faqsPath = getRouteByKey(\"faqs\");\n const contactPath = getRouteByKey(\"contact\");\n if (!alreadySignedUp() && ![adminHomePath, guidesAndTutorialsPath, faqsPath, contactPath].includes(window.location.pathname)) {\n console.log(\"reroute\");\n navigateTo(adminHomePath);\n }\n return addHandler(\"webheader\", (location) => {\n setCurrentPathname(location.pathname);\n });\n };\n useEffect(init, []);\n const menuItemLeafTemplate = (menuItem) => {\n return html` {\n if (alreadySignedUp()) {\n setMenuOpen(false);\n }\n if (!e.ctrlKey) {\n e.preventDefault();\n e.stopPropagation();\n navigateTo(removeOptionals(getRouteByKey(menuItem.key)));\n }\n }}\n\t\t\t>\n\t\t\t\t${menuItem.icon instanceof TemplateResult ? menuItem.icon : html`\n\t\t\t\t\t\t\t\n\t\t\t\t\t `}\n\t\t\t\t${menuItem.label}\n\t\t\t`;\n };\n const menuItemTemplate = (menuItem) => {\n if (menuItem.hidden !== true) {\n if (menuItem.items) {\n return html`
\n\t\t\t\t\t
${menuItemLeafTemplate(menuItem)}
\n\t\t\t\t\t
${menuItem.items.map(menuItemTemplate)}
\n\t\t\t\t
`;\n } else {\n return menuItemLeafTemplate(menuItem);\n }\n } else {\n return \"\";\n }\n };\n const htmlGuidesAndTutorials = () => {\n return html`
\n\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t ${i18next.t(\"Guides and Tutorials\")}\n\t\t\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t ${i18next.t(\"FAQ\")}\n\t\t\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\t\t ${i18next.t(\"Contact\")} \n\t\t\t\n\t\t
`;\n };\n const menuTemplate = () => {\n return html`
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
${MAIN_MENU.map(menuItemTemplate)}
\n\t\t\t\t\t
${htmlGuidesAndTutorials()}
\n\t\t\t\t
\n\t\t\t
\n\t\t
`;\n };\n const htmlCompanySelector = () => {\n return html`
\n\t\t\t ({ value: c.id.toString(), label: c.name }))}\n\t\t\t\t.selectedValues=${currentCompanyId == null ? void 0 : currentCompanyId.toString()}\n\t\t\t\t@change=${(e) => __async(this, null, function* () {\n const companyId = parseInt(e.detail.selectedValue);\n yield withErrorHandling(\n () => __async(this, null, function* () {\n yield companiesClient.changeCompany({ body: new ChangeCompany({ CompanyId: companyId }) });\n window.location.reload();\n }),\n (error) => {\n notifyError(error);\n }\n );\n })}\n\t\t\t>\n\t\t\t
\n\t\t\t\t __async(this, null, function* () {\n yield withErrorHandling(\n () => __async(this, null, function* () {\n yield companiesClient.changeCompany({\n body: new ChangeCompany({ CompanyId: void 0 })\n });\n addNewCompany();\n }),\n (error) => {\n notifyError(error);\n }\n );\n })}\n\t\t\t\t\tclass=\"btn btn-primary btn-small\"\n\t\t\t\t>\n\t\t\t\t\t${i18next.t(\"New company\")}\n\t\t\t\t\n\t\t\t
\n\t\t
`;\n };\n const headerTemplate = () => {\n return html`
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t${!menuOpen ? html`` : \"\"}\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t${ClientContext.Companies.length > 0 ? htmlCompanySelector() : \"\"}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
`;\n };\n return html`
${headerTemplate()}${menuTemplate()}${notificationHook.mainTemplate()}
`;\n}\n","import i18next from \"i18next\";\nimport { html, svg } from \"lit-html\";\nexport const templateTitle = (text) => html`
${text}
`;\nexport const headerTemplate = () => html`\n\t
\n\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t
\n`;\nexport const editIcon = () => svg`\n\t\n\t\t\n\t\t\t\n\t\t\n ${i18next.t(\"Edit\")}\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t`;\nexport const removeIcon = () => svg`\n\t\t\n\t\t\t\n\t\t\n ${i18next.t(\"Delete\")}\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t`;\nexport const downloadPDFIcon = (title) => svg`\n\t\n\t\t\n\t\t\t\n\t\t\n ${title != null ? title : i18next.t(\"Download PDF\")}\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n`;\nexport const footerLinksTemplate = () => html`\n\t\n`;\nexport const footerTextTemplate = () => html`\n\t
\n\t\t© ${(/* @__PURE__ */ new Date()).getFullYear()}\n\t\t${i18next.t(\n \"KPMG Global Services Hungary Ltd., a member firm of the KPMG global organization of independent member firms affiliated with KPMG International Limited, a private English company limited by guarantee. All rights reserved.\"\n)}\n\t
\n`;\nexport const subscribeIcon = (fillType) => html`\n\t\t\n\t\t\t\n\t\t\n\t`;\n","import { footerLinksTemplate } from \"GlobalShared/templates/commons\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport moment from \"moment\";\nimport { getRouteByKey } from \"../globals\";\nconst FOOTER_LINKS = [\n { label: \"Guides and Tutorials\", key: \"guides-and-tutorials\" },\n { label: \"FAQs\", key: \"faqs\" },\n { label: \"Legal\", key: \"legal\" },\n { label: \"Privacy\", key: \"privacy\" },\n // { label: \"Accessibility\", key: \"accessibility\" },\n { label: \"Contact\", key: \"contact\" }\n];\nexport function Footer() {\n return html``;\n}\n","import { html } from \"lit-html\";\nimport i18next from \"i18next\";\nexport function Home() {\n return html`
${i18next.t(\"Welcome\")}
`;\n}\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useClient, useEffect, useMemo } from \"GlobalShared/haunted/CustomHooks\";\nimport { withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { getParameter, replaceTo } from \"GlobalShared/router\";\nimport { getRouteByKey } from \"../globals\";\nimport { Companies as CompaniesClient } from \"WebServices/APIs/self/clients\";\nimport { ChangeCompany } from \"WebServices/APIs/self/models/V1/Companies\";\nimport { html, useState } from \"haunted\";\nimport i18next from \"i18next\";\nexport function RedirectWithSetCompany() {\n const companyId = parseInt(getParameter(\"companyId\"));\n const redirectUrl = getParameter(\"redirect\");\n const currentCompanyId = useMemo(() => parseInt(ClientContext.CompanyId), []);\n const companiesClient = useClient(CompaniesClient);\n const [displayRedirect, setDisplayRedirect] = useState(false);\n useEffect(() => __async(this, null, function* () {\n if (!companyId || !redirectUrl) {\n replaceTo(getRouteByKey(\"admin\"));\n } else if (currentCompanyId !== companyId) {\n yield withErrorHandling(\n () => __async(this, null, function* () {\n yield companiesClient.changeCompany({ body: new ChangeCompany({ CompanyId: companyId }) });\n replaceTo(redirectUrl);\n window.location.reload();\n }),\n () => setDisplayRedirect(true)\n );\n } else {\n replaceTo(redirectUrl);\n }\n }), []);\n return displayRedirect ? html`\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

${i18next.t(\"Company not found\")}

\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t ` : \"\";\n}\n","import \"./dc-checkbox.scss\";\nimport { html } from \"lit-html\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n checked: false,\n label: \"\",\n readonly: false,\n labelnowrap: false\n};\nexport class ChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, cancelable: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n checked: host.checked !== void 0 ? host.checked : DEFAULTS.checked,\n label: host.label !== void 0 ? host.label : DEFAULTS.label,\n labelnowrap: host.labelnowrap !== void 0 ? host.labelnowrap : DEFAULTS.labelnowrap,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly\n };\n const onClicked = (_e) => {\n if (!props.readonly) {\n if (host.dispatchEvent(\n new ChangeEvent({\n checked: !checked\n })\n )) {\n setChecked(!checked);\n }\n }\n return true;\n };\n const [checked, setChecked] = useState(false);\n const [componentId, setComponentId] = useState(\"\");\n useEffect(() => {\n setChecked(props.checked);\n }, [props.checked]);\n useEffect(() => {\n const id = `_${name}_${Math.random().toString(36).substr(2, 9)}`;\n setComponentId(id);\n }, []);\n return html`\n\t\t\n\t\t\n\t`;\n};\ncustomElements.define(\n \"dc-checkbox\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-checkbox2.scss\";\nimport { html } from \"lit-html\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n checked: false,\n label: \"\",\n labelnowrap: false,\n readonly: false\n};\nexport class ChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, cancelable: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n checked: host.checked !== void 0 ? host.checked : DEFAULTS.checked,\n label: host.label !== void 0 ? host.label : DEFAULTS.label,\n labelnowrap: host.labelnowrap !== void 0 ? host.labelnowrap : DEFAULTS.labelnowrap,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly\n };\n const onClicked = (_e) => {\n if (!props.readonly) {\n if (host.dispatchEvent(\n new ChangeEvent({\n checked: !checked\n })\n )) {\n setChecked(!checked);\n }\n }\n return true;\n };\n const onChange = (e) => {\n e.stopPropagation();\n };\n const [checked, setChecked] = useState(false);\n const [componentId, setComponentId] = useState(\"\");\n useEffect(() => {\n setChecked(props.checked);\n const elem = document.getElementById(componentId);\n if (elem !== null) {\n elem.checked = props.checked;\n }\n }, [props.checked]);\n useEffect(() => {\n const id = `_${name}_${Math.random().toString(36).substr(2, 9)}`;\n setComponentId(id);\n }, []);\n return html`\n\t\t
\n\t\t\t\n\t\t
\n\t`;\n};\ncustomElements.define(\n \"dc-checkbox2\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-datepicker.scss\";\nimport { html } from \"lit-html\";\nimport { formatDate } from \"GlobalShared/helpers/dateHelper\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n label: void 0,\n value: void 0,\n readonly: false,\n tooltip: \"\",\n max: new Date(2100, 0, 1)\n};\nexport class ChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail });\n }\n}\nexport const Component = (host) => {\n var _a;\n const props = {\n label: host.label !== void 0 ? host.label : DEFAULTS.label,\n value: host.value !== void 0 ? host.value : DEFAULTS.value,\n validationMessage: host.validationMessage,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly,\n tooltip: host.tooltip !== void 0 ? host.tooltip : DEFAULTS.tooltip,\n min: host.min,\n max: (_a = host.max) != null ? _a : DEFAULTS.max\n };\n const onChange = (e) => {\n var _a2;\n if (!props.readonly) {\n e.stopPropagation();\n host.dispatchEvent(\n new ChangeEvent({\n value: (_a2 = e.currentTarget.valueAsDate) != null ? _a2 : void 0\n })\n );\n }\n };\n return html`\n\t\t${props.label !== void 0 ? html`` : \"\"}\n\t\t${props.readonly ? html`` : html``}\n\t\t${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t`;\n};\ncustomElements.define(\n \"dc-datepicker\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-dropdown.scss\";\nimport { html } from \"lit-html\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n dataSource: [],\n selectedValues: void 0,\n selectedIndices: void 0,\n readonly: false,\n align: \"left\",\n tooltip: \"\",\n isStatusLike: false,\n buttonText: \"\",\n class: \"\"\n};\nexport class ClickEvent extends CustomEvent {\n constructor(detail) {\n super(\"click\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n label: host.label,\n dataSource: host.dataSource !== void 0 ? host.dataSource : DEFAULTS.dataSource,\n validationMessage: host.validationMessage,\n selectedValues: host.selectedValues !== void 0 ? host.selectedValues : DEFAULTS.selectedValues,\n selectedIndices: host.selectedIndices !== void 0 ? host.selectedIndices : DEFAULTS.selectedIndices,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly,\n align: host.align !== void 0 ? host.align : DEFAULTS.align,\n tooltip: host.tooltip !== void 0 ? host.tooltip : DEFAULTS.tooltip,\n placeholder: host.placeholder !== void 0 ? host.placeholder : DEFAULTS.placeholder,\n name: host.name,\n isStatusLike: host.isStatusLike !== void 0 ? host.isStatusLike : DEFAULTS.isStatusLike,\n buttonText: host.buttonText !== void 0 ? host.buttonText : DEFAULTS.buttonText,\n class: host.class !== void 0 ? host.class : DEFAULTS.class\n };\n const getSelectedValues = () => {\n var _a;\n let tempSelectedValues;\n if (typeof props.selectedValues === \"string\") {\n tempSelectedValues = [props.selectedValues];\n } else if (typeof props.selectedValues === \"number\") {\n tempSelectedValues = [props.selectedValues.toString()];\n } else {\n tempSelectedValues = ((_a = props.selectedValues) != null ? _a : []).map((selVal) => typeof selVal === \"number\" ? selVal.toString() : selVal);\n }\n return tempSelectedValues;\n };\n const [dataSource, setDataSource] = useState([]);\n const [opened, setOpened] = useState(false);\n const init = () => {\n const onClickedOutside = (e) => {\n if (!host.contains(e.target)) {\n setOpened(false);\n }\n };\n const onCloseOnEscKey = (e) => {\n if (e.key === \"Escape\") {\n setOpened(false);\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n document.addEventListener(\"click\", onClickedOutside, true);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n document.removeEventListener(\"click\", onClickedOutside);\n };\n };\n useEffect(init, []);\n useEffect(() => {\n if (typeof props.dataSource !== \"function\" && !(props.dataSource instanceof Promise)) {\n const tempDataSource = props.dataSource.map((item) => {\n let tempItem;\n if (typeof item === \"string\") {\n tempItem = { label: item, value: item };\n } else if (typeof item === \"number\") {\n tempItem = { label: item.toString(), value: item.toString() };\n } else if (item.hasOwnProperty(\"label\")) {\n tempItem = { label: item.label, value: item.value };\n } else {\n tempItem = item;\n }\n return tempItem;\n });\n setDataSource(tempDataSource);\n }\n }, [props.dataSource]);\n const buttonClicked = (index) => {\n setOpened(false);\n if (!getSelectedValues().includes(dataSource[index].value)) {\n host.dispatchEvent(\n new ClickEvent({\n selectedIndex: index,\n selectedValue: index !== void 0 ? dataSource[index].value : void 0\n })\n );\n }\n };\n const labelTemplate = () => props.label !== void 0 ? html` ` : \"\";\n const inputTemplate = () => html``;\n return html`\n\t\t${labelTemplate()}\n\t\t {\n e.stopPropagation();\n if (!props.readonly) {\n setOpened(!opened);\n }\n }}\n\t\t>\n\t\t\t${inputTemplate()} ${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t\t\t${opened ? html`\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${dataSource.map(\n (item, index) => html`\n\t\t\t\t\t\t\t\t\t {\n e.stopPropagation();\n buttonClicked(index);\n }}\n\t\t\t\t\t\t\t\t\t\tclass=\"item\"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t${item.label}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t`\n )}\n\t\t\t\t\t\t\n\t\t\t\t ` : \"\"}\n\t\t\n\t`;\n};\ncustomElements.define(\n \"dc-dropdown\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-dropfield.scss\";\nimport { html } from \"lit-html\";\nimport { component } from \"haunted\";\nexport const setDataTransfer = (e, item) => {\n e.dataTransfer.setData(\"payload\", JSON.stringify(item));\n e.dataTransfer.setData(`type:${item.type}`, item.type);\n};\nexport const Component = (host) => {\n const props = {\n label: host.label,\n value: host.value,\n validationMessage: host.validationMessage,\n readonly: host.readonly,\n tooltip: host.tooltip,\n onDrop: host.onDrop,\n onRemove: host.onRemove,\n class: host.class,\n removable: host.removable !== void 0 ? host.removable : false,\n allowedDragTypes: host.allowedDragTypes !== void 0 ? host.allowedDragTypes.map((type) => type.toLowerCase()) : [],\n emptyText: host.emptyText !== void 0 ? host.emptyText : \"Drop item here\"\n };\n const dragTypeAllowed = (e) => {\n if (props.allowedDragTypes.length > 0) {\n const [, dragType] = e.dataTransfer.types.find((type) => type.startsWith(\"type:\")).split(\":\");\n return props.allowedDragTypes.includes(dragType);\n } else {\n return true;\n }\n };\n return html`\n\t\t
\n\t\t\t${props.label ? html`` : \"\"}\n\t\t\t {\n if (e.preventDefault) {\n e.preventDefault();\n }\n return false;\n }}\n\t\t\t\t@dragenter=${(e) => {\n if (dragTypeAllowed(e)) {\n e.target.classList.add(\"border-dashed\", \"border-black\");\n }\n }}\n\t\t\t\t@dragleave=${(e) => {\n if (dragTypeAllowed(e)) {\n e.target.classList.remove(\"border-dashed\", \"border-black\");\n }\n }}\n\t\t\t\t@drop=${(e) => {\n if (dragTypeAllowed(e)) {\n e.target.classList.remove(\"border-dashed\", \"border-black\");\n props.onDrop(e);\n }\n }}\n\t\t\t>\n\t\t\t\t${props.value ? props.value : props.emptyText}\n\t\t\t\t${props.removable ? html`\n\t\t\t\t\t\t\t\n\t\t\t\t\t ` : \"\"}\n\t\t\t
\n\t\t\t
${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}
\n\t\t\n\t`;\n};\ncustomElements.define(\n \"dc-dropfield\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import { html } from \"lit-html\";\nimport { useEffect } from \"GlobalShared/haunted/CustomHooks\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n text: \"\"\n};\nexport class DropEvent extends CustomEvent {\n constructor(detail) {\n super(\"drop\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n text: host.text !== void 0 ? host.text : DEFAULTS.text\n };\n const isDropzoneVisible = () => {\n const dropZone = document.getElementById(elemId);\n return dropZone.offsetHeight > 0;\n };\n const onDrop = (e) => {\n e.stopPropagation();\n e.preventDefault();\n if (!isDropzoneVisible()) {\n return false;\n }\n host.dispatchEvent(\n new DropEvent({\n files: e.dataTransfer.files\n })\n );\n return false;\n };\n const onDragOver = (e) => {\n e.stopPropagation();\n e.preventDefault();\n if (!isDropzoneVisible()) {\n return false;\n }\n e.dataTransfer.dropEffect = \"copy\";\n return true;\n };\n const elemId = `_${name}_${Math.random().toString(36).substr(2, 9)}`;\n const init = () => {\n const dropZone = document.getElementById(elemId);\n dropZone.addEventListener(\"dragover\", onDragOver);\n dropZone.addEventListener(\"drop\", onDrop);\n };\n useEffect(init, []);\n return html`
${props.text}
`;\n};\ncustomElements.define(\n \"dc-dropzone\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-fileupload.scss\";\nimport { html } from \"lit-html\";\nimport { useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { component } from \"haunted\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nconst DEFAULTS = {\n label: \"\",\n tooltip: \"\",\n accept: [],\n readonly: false,\n fileName: \"\",\n fileReference: \"\",\n multiple: false\n};\nexport class UploadEvent extends CustomEvent {\n constructor(detail) {\n super(\"upload\", { detail });\n }\n}\nexport const Component = (host) => {\n const validateExtension = (file) => {\n const lastIndex = file.name.lastIndexOf(\".\");\n if (lastIndex > 0) {\n const ext = file.name.substring(lastIndex);\n return props.accept.length === 0 || props.accept.includes(ext.toLowerCase());\n }\n return false;\n };\n const props = {\n label: host.label !== void 0 ? host.label : DEFAULTS.label,\n accept: host.accept !== void 0 ? host.accept : DEFAULTS.accept,\n validationMessage: host.validationMessage,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly,\n fileName: host.fileName !== void 0 ? host.fileName : DEFAULTS.fileName,\n tooltip: host.tooltip !== void 0 ? host.tooltip : DEFAULTS.tooltip,\n fileReference: host.fileReference !== void 0 ? host.fileReference : DEFAULTS.fileReference,\n multiple: host.multiple !== void 0 ? host.multiple : DEFAULTS.multiple,\n clientId: host.clientId,\n linkGenerator: host.linkGenerator\n };\n const onChange = (e) => {\n e.stopPropagation();\n if (!props.readonly) {\n const files2 = e.currentTarget.files;\n let allValid = true;\n for (let i = 0; i < files2.length; i++) {\n const file = files2[i];\n if (!validateExtension(file)) {\n setFileValidationResult(`The file you are trying to upload is not allowed.
Accepted file formats: ${props.accept.join(\", \")}`);\n allValid = false;\n }\n }\n if (allValid) {\n setFiles(files2);\n host.dispatchEvent(\n new UploadEvent({\n files: files2\n })\n );\n }\n }\n };\n const [files, setFiles] = useState(void 0);\n const [fileValidationResult, setFileValidationResult] = useState(void 0);\n return html`\n\t\t${props.label !== void 0 ? html`` : \"\"}\n\t\t
\n\t\t\t${props.readonly ? \"\" : html``}\n\t\t\t${props.fileName.length > 0 && files === void 0 && props.linkGenerator ? html`
\n\t\t\t\t\t\t${props.fileName}\n\t\t\t\t
` : \"\"}\n\t\t
\n\t\t${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t\t${fileValidationResult ? html`
${unsafeHTML(fileValidationResult)}
` : \"\"}\n\t`;\n};\ncustomElements.define(\n \"dc-fileupload\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: [\"label\", \"accept\", \"validationMessage\", \"readonly\", \"fileName\", \"fileReference\"]\n })\n);\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport \"./dc-form-modal.scss\";\nimport { html } from \"lit-html\";\nimport { component } from \"haunted\";\nexport const MODAL_CONFIG = {\n View: { title: \"View item\", buttonTitle: \"CLOSE\" },\n Add: { title: \"Add item\", buttonTitle: \"CREATE\" },\n Edit: { title: \"Edit item\", buttonTitle: \"UPDATE\" },\n Delete: { title: \"Delete item\", buttonTitle: \"YES\" }\n};\nconst DEFAULTS = {\n dismissable: true,\n visible: false,\n displayMode: \"View\",\n content: html``,\n header: html``\n};\nexport class ChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"action\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n dismissable: host.dismissable !== void 0 ? host.dismissable : DEFAULTS.dismissable,\n visible: host.visible !== void 0 ? host.visible : DEFAULTS.visible,\n displayMode: host.displayMode !== void 0 ? host.displayMode : DEFAULTS.displayMode,\n header: host.header,\n content: host.content || DEFAULTS.content\n };\n const onAction = (_e) => __async(void 0, null, function* () {\n if (props.displayMode === \"View\") {\n host.dispatchEvent(\n new ChangeEvent({\n actionType: \"Close\"\n })\n );\n } else if (props.displayMode === \"Add\") {\n host.dispatchEvent(\n new ChangeEvent({\n actionType: \"Add\"\n })\n );\n } else if (props.displayMode === \"Edit\") {\n host.dispatchEvent(\n new ChangeEvent({\n actionType: \"Update\"\n })\n );\n } else if (props.displayMode === \"Delete\") {\n host.dispatchEvent(\n new ChangeEvent({\n actionType: \"Delete\"\n })\n );\n }\n });\n return html`\n\t\t {\n host.dispatchEvent(\n new ChangeEvent({\n actionType: \"Close\"\n })\n );\n }}\n\t\t\t.header=${props.header ? props.header : MODAL_CONFIG[props.displayMode].title}\n\t\t\t.content=${html`\n\t\t\t\t
\n\t\t\t\t\t
${props.displayMode === \"Delete\" ? html`
Are you sure you want to delete this item?
` : props.content}
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t${props.displayMode === \"Delete\" ? html`\n\t\t\t\t\t\t\t\t\t {\n host.dispatchEvent(\n new ChangeEvent({\n actionType: \"Close\"\n })\n );\n }}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t ` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t`}\n\t\t>\n\t\t\n\t`;\n};\ncustomElements.define(\n \"dc-form-modal\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-input.scss\";\nimport { html } from \"lit-html\";\nimport { ifDefined } from \"lit-html/directives/if-defined\";\nimport { useEffect, useMemo, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { component } from \"haunted\";\nimport { isEmpty, newUniqueId } from \"GlobalShared/helpers/stringHelper\";\nconst DEFAULTS = {\n label: \"\",\n value: void 0,\n name: void 0,\n readonly: false,\n type: \"text\",\n class: \"\",\n placeholder: void 0,\n autocomplete: void 0,\n tooltip: \"\",\n onInputDebounceMs: void 0,\n min: void 0,\n max: void 0\n};\nexport class ChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail });\n }\n}\nexport class InputEvent extends CustomEvent {\n constructor(detail) {\n super(\"input\", { detail });\n }\n}\nexport const Component = (host) => {\n var _a, _b;\n const props = {\n label: host.label !== void 0 ? host.label : DEFAULTS.label,\n value: host.value !== void 0 ? host.value : DEFAULTS.value,\n min: (_a = host.min) != null ? _a : DEFAULTS.min,\n max: (_b = host.max) != null ? _b : DEFAULTS.max,\n validationMessage: host.validationMessage,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly,\n type: host.type !== void 0 ? host.type : DEFAULTS.type,\n class: host.class !== void 0 ? host.class : DEFAULTS.class,\n placeholder: host.placeholder !== void 0 ? host.placeholder : DEFAULTS.placeholder,\n autocomplete: host.autocomplete !== void 0 ? host.autocomplete : DEFAULTS.autocomplete,\n name: host.name !== void 0 ? host.name : DEFAULTS.name,\n tooltip: host.tooltip !== void 0 ? host.tooltip : DEFAULTS.tooltip,\n onInputDebounceMs: host.onInputDebounceMs !== void 0 ? host.onInputDebounceMs : DEFAULTS.onInputDebounceMs\n };\n const debounce = (func, wait) => {\n if (wait !== void 0) {\n window.clearTimeout(debounceTimer);\n setDebounceTimer(window.setTimeout(func, wait));\n } else {\n func();\n }\n };\n const [value, setValue] = useState(\"\");\n const [debounceTimer, setDebounceTimer] = useState(void 0);\n const uniqueId = useMemo(() => newUniqueId(), []);\n useEffect(() => {\n const newVal = isEmpty(props.value) ? \"\" : props.value;\n setValue(newVal);\n const elem = document.getElementById(uniqueId);\n if (elem !== null) {\n elem.value = newVal;\n }\n }, [props.value]);\n const onChange = (e) => {\n if (!props.readonly) {\n e.stopPropagation();\n host.dispatchEvent(\n new ChangeEvent({\n value: e.currentTarget.value\n })\n );\n }\n };\n const onInput = (e) => {\n if (!props.readonly) {\n e.stopPropagation();\n debounce(() => {\n host.dispatchEvent(\n new InputEvent({\n value: e.target.value\n })\n );\n }, props.onInputDebounceMs);\n }\n };\n return html`\n\t\t${props.label ? html`` : \"\"}\n\t\t\n\t\t${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t`;\n};\ncustomElements.define(\n \"dc-input\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-loader.scss\";\nimport { html } from \"lit-html\";\nimport { component } from \"haunted\";\nexport const Component = (host) => {\n const props = {\n progress: host.progress !== void 0 ? host.progress : void 0\n };\n return html`\n\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t${props.progress !== void 0 ? html`
${props.progress}%
` : \"\"}\n\t\t
\n\t`;\n};\ncustomElements.define(\n \"dc-loader\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-modal.scss\";\nimport { html } from \"lit-html\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n dismissable: true,\n visible: false,\n header: html``,\n content: html``,\n overflowH: true,\n overflowW: true,\n showHeader: true,\n customClass: void 0\n};\nexport const Component = (host) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i;\n const props = {\n dismissable: (_a = host.dismissable) != null ? _a : DEFAULTS.dismissable,\n visible: (_b = host.visible) != null ? _b : DEFAULTS.visible,\n header: (_c = host.header) != null ? _c : DEFAULTS.header,\n content: (_d = host.content) != null ? _d : DEFAULTS.content,\n overflowH: (_e = host.overflowH) != null ? _e : DEFAULTS.overflowH,\n overflowW: (_f = host.overflowW) != null ? _f : DEFAULTS.overflowW,\n showHeader: (_g = host.showHeader) != null ? _g : DEFAULTS.showHeader,\n customClass: (_h = host.customClass) != null ? _h : DEFAULTS.customClass\n };\n const onClose = (_e2) => {\n if (props.dismissable) {\n setIsVisible(false);\n host.dispatchEvent(new CustomEvent(\"close\"));\n }\n };\n const [isVisible, setIsVisible] = useState(props.visible);\n useEffect(() => {\n if (props.dismissable) {\n const onCloseOnEscKey = (e) => {\n if (e.key === \"Escape\") {\n onClose(e);\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n };\n }\n return void 0;\n }, []);\n useEffect(() => {\n setIsVisible(props.visible);\n }, [props.visible]);\n return html`\n\t\t${isVisible ? html`\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${props.showHeader ? html`\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t${props.header}${props.dismissable ? html`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t ` : \"\"}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t ` : \"\"}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${props.content}
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t ` : \"\"}\n\t`;\n};\ncustomElements.define(\n \"dc-modal\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","export const createRange = (start, end) => {\n if (end < start) {\n return [];\n } else {\n return [...Array(end - start + 1).keys()].map((i) => i + start);\n }\n};\nexport const arrayEquals = (arr1, arr2) => {\n if (arr1 === arr2)\n return true;\n if (arr1 === null || arr2 === null)\n return false;\n if ((arr1 == null ? void 0 : arr1.length) !== (arr2 == null ? void 0 : arr2.length))\n return false;\n for (let i = 0; i < arr1.length; i++) {\n if (arr1[i] !== arr2[i])\n return false;\n }\n return true;\n};\nexport function groupBy(array, prop) {\n return array.reduce((groups, item) => {\n const val = prop instanceof Function ? prop(item) : item[prop];\n groups[val] = groups[val] || [];\n groups[val].push(item);\n return groups;\n }, {});\n}\n","import \"./dc-pager.scss\";\nimport { html } from \"lit-html\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport i18next from \"i18next\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { createRange } from \"GlobalShared/helpers/collectionHelper\";\nimport { component } from \"haunted\";\nconst PAGE_INDEX_START = 0;\nconst DEFAULTS = {\n pageSize: 20,\n pageIndex: 0,\n itemCount: void 0,\n pageButtonCount: 10,\n pageSizes: [],\n showInfo: true,\n showPreviousNext: true\n};\nexport class PagerChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n pageSize: host.pageSize !== void 0 ? host.pageSize : DEFAULTS.pageSize,\n pageIndex: host.pageIndex !== void 0 ? host.pageIndex : DEFAULTS.pageIndex,\n itemCount: host.itemCount !== void 0 ? host.itemCount : DEFAULTS.itemCount,\n pageButtonCount: host.pageButtonCount !== void 0 ? host.pageButtonCount : DEFAULTS.pageButtonCount,\n pageSizes: host.pageSizes !== void 0 ? host.pageSizes : DEFAULTS.pageSizes,\n showInfo: host.showInfo !== void 0 ? host.showInfo : DEFAULTS.showInfo,\n showPreviousNext: host.showPreviousNext !== void 0 ? host.showPreviousNext : DEFAULTS.showPreviousNext\n };\n const getPagerModel = () => {\n const { firstPage, lastPage, firstItem, lastItem, noOfPages } = calculatePagingRange(selectedPageIndex, selectedPageSize, props.pageButtonCount, props.itemCount);\n return {\n firstPage,\n lastPage,\n range: createRange(firstPage, lastPage),\n showPreviousEllipsis: firstPage > 1,\n showNextEllipsis: props.itemCount === void 0 || lastPage < noOfPages,\n isFirstShown: props.showPreviousNext,\n isFirstEnabled: selectedPageIndex !== 0,\n isPreviousShown: props.showPreviousNext,\n isPreviousEnabled: selectedPageIndex !== 0,\n isNextShown: props.showPreviousNext,\n isNextEnabled: props.itemCount === void 0 || selectedPageIndex < noOfPages - 1,\n isLastShown: props.showPreviousNext && props.itemCount !== void 0,\n isLastEnabled: selectedPageIndex < noOfPages - 1 && props.itemCount !== void 0,\n firstItem,\n lastItem,\n noOfPages\n };\n };\n const onPageIndexSelected = (pageIndex) => {\n return (_e) => {\n if (pageIndex !== selectedPageIndex) {\n setSelectedPageIndex(pageIndex);\n host.dispatchEvent(\n new PagerChangeEvent({\n selectedPageIndex: pageIndex,\n selectedPageSize\n })\n );\n }\n };\n };\n const onPageSizeChanged = (e) => {\n const pageSize = parseInt(e.detail.selectedValue, 10);\n setSelectedPageSize(pageSize);\n setSelectedPageIndex(PAGE_INDEX_START);\n host.dispatchEvent(\n new PagerChangeEvent({\n selectedPageIndex: PAGE_INDEX_START,\n selectedPageSize: pageSize\n })\n );\n };\n const [selectedPageIndex, setSelectedPageIndex] = useState(DEFAULTS.pageIndex);\n const [selectedPageSize, setSelectedPageSize] = useState(DEFAULTS.pageSize);\n useEffect(() => {\n let pageSize = DEFAULTS.pageSize;\n if (props.pageSize !== void 0) {\n if (props.pageSize > 0) {\n pageSize = props.pageSize;\n }\n setSelectedPageSize(pageSize);\n }\n if (props.pageIndex !== void 0) {\n if (props.pageIndex < 0) {\n setSelectedPageIndex(0);\n } else {\n const noOfPages = props.itemCount !== void 0 ? Math.ceil(props.itemCount / props.pageSize) : void 0;\n if (noOfPages !== void 0) {\n if (props.pageIndex > noOfPages - 1) {\n setSelectedPageIndex(noOfPages - 1);\n } else {\n setSelectedPageIndex(props.pageIndex);\n }\n } else {\n setSelectedPageIndex(props.pageIndex);\n }\n }\n }\n }, [props.pageIndex, props.pageSize]);\n const pagerModel = getPagerModel();\n const templatePagerItems = () => {\n return html`
\n\t\t\t${pagerModel.isFirstShown ? pagerModel.isFirstEnabled ? html`
∣◀
` : html`
∣◀
` : \"\"}\n\t\t\t${pagerModel.isPreviousShown ? pagerModel.isPreviousEnabled ? html`
` : html`
` : \"\"}\n\t\t\t${pagerModel.showPreviousEllipsis ? html`
...
` : \"\"}\n\t\t\t${pagerModel.range.map(\n (i) => html`\n\t\t\t\t\t\n\t\t\t\t\t\t${i}\n\t\t\t\t\t
\n\t\t\t\t`\n )}\n\t\t\t${pagerModel.showNextEllipsis ? html`
...
` : \"\"}\n\t\t\t${pagerModel.isNextShown ? pagerModel.isNextEnabled ? html`
` : html`
` : \"\"}\n\t\t\t${pagerModel.isLastShown ? pagerModel.isLastEnabled ? html`
▶∣
` : html`
▶∣
` : \"\"}\n\t\t`;\n };\n const templateSizeAndInfo = () => {\n return html`
\n\t\t\t\t${props.pageSizes.length > 0 ? html` ` : \"\"}\n\t\t\t
\n\t\t\t
\n\t\t\t\t${props.showInfo ? html`\n\t\t\t\t\t\t\t${props.itemCount !== void 0 ? i18next.t(\"Showing {{firstItem}}-{{lastItem}} of {{itemCount}}\", {\n firstItem: pagerModel.firstItem,\n lastItem: pagerModel.lastItem,\n itemCount: props.itemCount\n }) : i18next.t(\"Showing {{firstItem}}-{{lastItem}}\", {\n firstItem: pagerModel.firstItem,\n lastItem: pagerModel.lastItem\n })}\n\t\t\t\t\t ` : \"\"}\n\t\t\t
`;\n };\n return html`
${templatePagerItems()} ${templateSizeAndInfo()}
`;\n};\nexport const calculatePagingRange = (pPageIndex, pageSize, pageNumberCount, itemCount) => {\n let pageIndex = pPageIndex < 0 ? 0 : pPageIndex;\n if (itemCount === void 0) {\n const noOfPagesBeforeUnlimited = Math.floor(pageIndex / pageNumberCount) * pageNumberCount;\n return {\n firstPage: noOfPagesBeforeUnlimited + 1,\n lastPage: noOfPagesBeforeUnlimited + pageNumberCount,\n firstItem: pageIndex * pageSize + 1,\n lastItem: (pageIndex + 1) * pageSize\n };\n } else {\n const noOfPages = Math.max(1, Math.ceil(itemCount / pageSize));\n pageIndex = pageIndex > noOfPages - 1 ? noOfPages - 1 : pageIndex;\n const noOfPagesBefore = Math.floor(pageIndex / pageNumberCount) * pageNumberCount;\n return {\n firstPage: noOfPagesBefore + 1,\n lastPage: Math.min(noOfPagesBefore + pageNumberCount, noOfPages),\n noOfPages,\n firstItem: Math.min(pageIndex * pageSize + 1, itemCount),\n lastItem: Math.min((pageIndex + 1) * pageSize, itemCount)\n };\n }\n};\ncustomElements.define(\n \"dc-pager\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport \"./dc-select.scss\";\nimport { html } from \"lit-html\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport { ifDefined } from \"lit-html/directives/if-defined\";\nimport { useEffect, useRef, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { arrayEquals } from \"GlobalShared/helpers/collectionHelper\";\nimport { isEmpty } from \"GlobalShared/helpers/stringHelper\";\nimport i18next from \"i18next\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n multiSelect: false,\n dataSource: [],\n selectedValues: void 0,\n selectedIndices: void 0,\n filterable: false,\n debounceMs: 150,\n filterProps: { type: \"startsWith\", ignoreCase: true },\n readonly: false,\n tooltip: \"\",\n class: \"\"\n};\nexport class SelectChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail });\n }\n}\nexport const Component = (host) => {\n var _a;\n const props = {\n multiSelect: host.multiSelect !== void 0 ? host.multiSelect : DEFAULTS.multiSelect,\n label: host.label,\n filterable: host.filterable !== void 0 ? host.filterable : DEFAULTS.filterable,\n dataSource: host.dataSource !== void 0 ? host.dataSource : DEFAULTS.dataSource,\n validationMessage: host.validationMessage,\n selectedValues: host.selectedValues !== void 0 ? host.selectedValues : DEFAULTS.selectedValues,\n selectedIndices: host.selectedIndices !== void 0 ? host.selectedIndices : DEFAULTS.selectedIndices,\n filterProps: host.filterProps !== void 0 ? {\n type: host.filterProps.type !== void 0 ? host.filterProps.type : DEFAULTS.filterProps.type,\n ignoreCase: host.filterProps.ignoreCase !== void 0 ? host.filterProps.ignoreCase : DEFAULTS.filterProps.ignoreCase\n } : DEFAULTS.filterProps,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly,\n tooltip: host.tooltip !== void 0 ? host.tooltip : DEFAULTS.tooltip,\n debounceMs: host.debounceMs !== void 0 ? host.debounceMs : DEFAULTS.debounceMs,\n placeholder: host.placeholder !== void 0 ? host.placeholder : DEFAULTS.placeholder,\n name: host.name,\n class: host.class !== void 0 ? host.class : DEFAULTS.class\n };\n const getTextValue = () => {\n if (filterText) {\n return filterText;\n } else {\n return selectedIndices.some((selInd) => dataSourceResult[selInd] !== void 0) ? selectedIndices.filter((selInd) => dataSourceResult[selInd].pseudo === void 0 || !dataSourceResult[selInd].pseudo).map((selInd) => dataSourceResult[selInd].label).join(\", \") : \"\";\n }\n };\n const getSelectedValues = () => {\n if (props.selectedValues === void 0) {\n return [];\n }\n let tempSelectedValues;\n if (typeof props.selectedValues === \"string\") {\n tempSelectedValues = [props.selectedValues];\n } else if (typeof props.selectedValues === \"number\") {\n tempSelectedValues = [props.selectedValues.toString()];\n } else {\n tempSelectedValues = props.selectedValues.map((selVal) => typeof selVal === \"number\" ? selVal.toString() : selVal);\n }\n return tempSelectedValues;\n };\n const getDataSourceResult = (dataSource, setSelectedIndexToo) => __async(void 0, null, function* () {\n const now = Date.now();\n lastCall.current.ts = now;\n let currentResult;\n if (typeof dataSource === \"function\") {\n const tempResult = dataSource(filterText);\n if (tempResult instanceof Promise) {\n const loadingTimer = window.setTimeout(() => {\n if (lastCall.current.ts === now) {\n setResultMessage(`${i18next.t(\"Loading\")}...`);\n }\n }, 500);\n currentResult = yield tempResult;\n window.clearTimeout(loadingTimer);\n } else {\n currentResult = tempResult;\n }\n } else {\n currentResult = dataSource;\n }\n if (lastCall.current.ts === now) {\n setSelectedIndices([]);\n let newResult = [];\n if (typeof currentResult === \"string\") {\n setResultMessage(currentResult);\n } else {\n newResult = currentResult.map((item) => {\n let newItem;\n if (typeof item === \"string\") {\n newItem = { label: item, value: item };\n } else if (typeof item === \"number\") {\n newItem = { label: item.toString(), value: item.toString() };\n } else if (item.hasOwnProperty(\"label\")) {\n newItem = { label: item.label, value: item.value };\n } else {\n newItem = item;\n }\n let enabled = true;\n if (typeof dataSource !== \"function\" && filterText !== void 0) {\n enabled = props.filterProps.ignoreCase ? props.filterProps.type === \"includes\" ? newItem.label.toLowerCase().includes(filterText.toLowerCase()) : newItem.label.toLowerCase().startsWith(filterText.toLowerCase()) : props.filterProps.type === \"includes\" ? newItem.label.includes(filterText) : newItem.label.startsWith(filterText);\n }\n return __spreadProps(__spreadValues({}, newItem), { enabled, keyboardSelected: false });\n });\n setResultMessage(void 0);\n if (props.filterable) {\n newResult = newResult.map((item, i) => {\n item.keyboardSelected = i === 0;\n return item;\n });\n }\n setDataSourceResult(newResult);\n if (setSelectedIndexToo) {\n setSelectedIndicesByResult(newResult);\n }\n }\n }\n });\n const setSelectedIndicesByResult = (result) => {\n if (props.selectedValues) {\n const tempSelectedValues = getSelectedValues();\n setSelectedIndices(\n result.reduce((aggr, item, currentIndex) => {\n return aggr.concat(tempSelectedValues.some((selVal) => selVal === item.value) ? [currentIndex] : []);\n }, [])\n );\n } else {\n setSelectedIndices(props.selectedIndices || []);\n }\n };\n const [dataSourceResult, setDataSourceResult] = useState([]);\n const [selectedIndices, setSelectedIndices] = useState([]);\n const [opened, setOpened] = useState(false);\n const [filterText, setFilterText] = useState(void 0);\n const [debounceTimer, setDebounceTimer] = useState(void 0);\n const lastCall = useRef({ ts: void 0 });\n const [resultMessage, setResultMessage] = useState(void 0);\n const [mouseOverItem, setMouseOverItem] = useState(void 0);\n const init = () => {\n const onClickedOutside = (e) => {\n if (!host.contains(e.target)) {\n setOpened(false);\n }\n };\n const onCloseOnEscKey = (e) => {\n if (e.key === \"Escape\") {\n setOpened(false);\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n document.addEventListener(\"click\", onClickedOutside, true);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n document.removeEventListener(\"click\", onClickedOutside);\n };\n };\n useEffect(init, []);\n useEffect(() => {\n if (typeof props.dataSource !== \"function\" && !(props.dataSource instanceof Promise)) {\n getDataSourceResult(props.dataSource, true);\n }\n }, [props.dataSource]);\n useEffect(() => {\n getDataSourceResult(props.dataSource, true);\n }, [(_a = props.selectedIndices) == null ? void 0 : _a.join(\"|\"), getSelectedValues().join(\"|\")]);\n useEffect(() => {\n if (filterText !== void 0) {\n open();\n debounce(() => {\n getDataSourceResult(props.dataSource, false);\n });\n }\n }, [filterText]);\n const open = () => {\n if (!opened) {\n setOpened(true);\n setDataSourceResult(\n dataSourceResult.map((item, i) => {\n if (props.filterable) {\n item.keyboardSelected = i === 0;\n }\n return item;\n })\n );\n }\n };\n const handleKeyUp = (e) => {\n if (props.readonly) {\n return;\n }\n if (e.key === \"Escape\") {\n setOpened(false);\n } else if (e.key === \"ArrowUp\" || e.key === \"ArrowDown\" || e.key === \"Enter\") {\n e.preventDefault();\n e.stopPropagation();\n const firstEnabledItemIndex = dataSourceResult.reduce((index, currVal, i) => currVal.enabled && index === -1 ? i : index, -1);\n const lastEnabledItemIndex = dataSourceResult.reduce((index, currVal, i) => currVal.enabled && index < i ? i : index, -1);\n const keyboardSelectedIndex = dataSourceResult.reduce((index, currVal, i) => currVal.keyboardSelected ? i : index, -1);\n if (e.key === \"Enter\" && keyboardSelectedIndex > -1) {\n selectIndex(keyboardSelectedIndex);\n e.target.blur();\n } else if (e.key === \"Enter\" && dataSourceResult.filter((item) => item.enabled).length === 1) {\n selectIndex(lastEnabledItemIndex);\n e.target.blur();\n } else if (e.key === \"ArrowDown\" && keyboardSelectedIndex < lastEnabledItemIndex) {\n let alreadySet = false;\n setDataSourceResult(\n dataSourceResult.map((item, i) => {\n if (item.enabled && i > keyboardSelectedIndex && !alreadySet) {\n item.keyboardSelected = true;\n alreadySet = true;\n } else {\n item.keyboardSelected = false;\n }\n return item;\n })\n );\n } else if (e.key === \"ArrowUp\" && keyboardSelectedIndex > firstEnabledItemIndex) {\n let alreadySet = false;\n setDataSourceResult(\n dataSourceResult.reverse().map((item, i) => {\n if (item.enabled && i > dataSourceResult.length - keyboardSelectedIndex - 1 && !alreadySet) {\n item.keyboardSelected = true;\n alreadySet = true;\n } else {\n item.keyboardSelected = false;\n }\n return item;\n }).reverse()\n );\n }\n } else {\n open();\n if (props.filterable) {\n setFilterText(e.currentTarget.value);\n }\n }\n };\n const selectIndex = (index) => {\n let newIndices = [];\n if (props.multiSelect) {\n newIndices = selectedIndices.some((i) => i === index) ? selectedIndices.filter((i) => i !== index) : selectedIndices.concat([index]);\n newIndices.sort((a, b) => {\n return a < b ? -1 : a > b ? 1 : 0;\n });\n } else {\n if (index === void 0) {\n newIndices = [];\n } else {\n newIndices = [index];\n }\n }\n setSelectedIndices(newIndices);\n if (!props.multiSelect) {\n setOpened(false);\n }\n setFilterText(void 0);\n if (!arrayEquals(newIndices, selectedIndices)) {\n if (props.multiSelect) {\n host.dispatchEvent(\n new SelectChangeEvent({\n selectedIndices: newIndices,\n selectedValues: newIndices.map((i) => dataSourceResult[i].value)\n })\n );\n } else {\n host.dispatchEvent(\n new SelectChangeEvent({\n selectedIndex: index,\n selectedValue: index !== void 0 ? dataSourceResult[index].value : void 0\n })\n );\n }\n }\n };\n const debounce = (func, wait = props.debounceMs) => {\n window.clearTimeout(debounceTimer);\n setDebounceTimer(window.setTimeout(func, wait));\n };\n const labelTemplate = () => props.label !== void 0 ? html` ` : \"\";\n const inputTemplate = () => html` {\n if (props.filterable) {\n e.target.select();\n setFilterText(void 0);\n getDataSourceResult(props.dataSource, true);\n setMouseOverItem(void 0);\n }\n }}\n\t\t\t@click=${(e) => {\n if (opened) {\n e.stopPropagation();\n setOpened(false);\n }\n }}\n\t\t\t@blur=${() => {\n if (props.filterable && mouseOverItem === void 0) {\n const enabledItems = dataSourceResult.filter((item) => item.enabled);\n if (enabledItems.length === 1) {\n selectIndex(dataSourceResult.reduce((index, currVal, i) => currVal.enabled && index < i ? i : index, -1));\n }\n }\n }}\n\t\t\t@change=${(e) => {\n e.stopPropagation();\n }}\n\t\t/>`;\n return html`\n\t\t${labelTemplate()}\n\t\t {\n if (!props.readonly && (!props.filterable || isEmpty(filterText))) {\n open();\n }\n }}\n\t\t>\n\t\t\t${inputTemplate()} ${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t\t\t${opened && !resultMessage ? html`\n\t\t\t\t\t\t
setMouseOverItem(filterText)}>\n\t\t\t\t\t\t\t${dataSourceResult.map(\n (item, index) => item.enabled ? html`\n\t\t\t\t\t\t\t\t\t\t\t {\n e.stopPropagation();\n selectIndex(index);\n }}\n\t\t\t\t\t\t\t\t\t\t\t\tclass=${classMap({\n \"item\": true,\n \"selected\": selectedIndices.some((i) => i === index),\n \"keyboard-selected\": item.keyboardSelected\n })}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t${item.label}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t ` : \"\"\n )}\n\t\t\t\t\t\t\n\t\t\t\t ` : \"\"}\n\t\t\t${opened && resultMessage ? html`\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${resultMessage}
\n\t\t\t\t\t\t
\n\t\t\t\t ` : \"\"}\n\t\t\n\t`;\n};\ncustomElements.define(\n \"dc-select\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-step-progressbar.scss\";\nimport { html } from \"lit-html\";\nimport { styleMap } from \"lit-html/directives/style-map.js\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport { component } from \"haunted\";\nexport class ClickEvent extends CustomEvent {\n constructor(detail) {\n super(\"click\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n items: host.items,\n activeIndex: host.activeIndex,\n inactiveClickable: host.inactiveClickable !== void 0 ? host.inactiveClickable : false\n };\n const onClick = (e, step) => {\n e.stopPropagation();\n host.dispatchEvent(\n new ClickEvent({\n step\n })\n );\n };\n return html`\n\t\t
\n\t\t\t
    \n\t\t\t\t${(props.items || []).map(\n (item, i) => html`\n\t\t\t\t\t\t onClick(e, i)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${item}\n\t\t\t\t\t\t\n\t\t\t\t\t`\n )}\n\t\t\t
\n\t\t
\n\t`;\n};\ncustomElements.define(\n \"dc-step-progressbar\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport \"./dc-table.scss\";\nimport { html } from \"lit-html\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport { repeat } from \"lit-html/directives/repeat\";\nimport { isEmpty } from \"GlobalShared/helpers/stringHelper\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { createRange } from \"GlobalShared/helpers/collectionHelper\";\nimport { component } from \"haunted\";\nexport const getFilterByFieldName = (appliedFilters, fieldName) => {\n const filters = appliedFilters.filter((filter) => filter.field === fieldName);\n if (filters.length > 0) {\n return filters[0];\n } else {\n return void 0;\n }\n};\nexport const mergeAppliedFilter = (appliedFilters, newFilter) => {\n let newFilters = [];\n const isDateFilterOn = newFilter.filterProps.max instanceof Date || newFilter.filterProps.min instanceof Date;\n const isNumberFilterOn = !isNaN(newFilter.filterProps.max) || !isNaN(newFilter.filterProps.min);\n const hasSelectedValues = Array.isArray(newFilter.filterProps.selectedValues) && newFilter.filterProps.selectedValues.length > 0;\n const hasSelectedValue = typeof newFilter.filterProps.selectedValues === \"string\" && !isEmpty(newFilter.filterProps.selectedValues);\n if (isDateFilterOn || hasSelectedValues || hasSelectedValue || isNumberFilterOn) {\n let found = false;\n newFilters = appliedFilters.map((filter) => {\n if (filter.field === newFilter.field) {\n found = true;\n return newFilter;\n } else {\n return filter;\n }\n });\n if (!found) {\n newFilters.push(newFilter);\n }\n } else {\n newFilters = appliedFilters.filter((filter) => filter.field !== newFilter.field);\n }\n return newFilters;\n};\nconst DEFAULTS = {\n vm: {\n columns: [],\n data: [],\n paging: {\n pageable: true,\n pageSize: 25,\n pageIndex: 0,\n buttonCount: 10,\n pageSizes: [25, 50, 100],\n showInfo: true,\n showPreviousNext: true\n },\n sorting: {\n orderBy: void 0,\n orderDir: void 0\n },\n selection: {\n selectable: false\n },\n rowCustomization: [],\n appliedFilters: []\n }\n};\nexport class SortChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"onSortChange\", { detail });\n }\n}\nexport class FilterChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"onFilterChange\", { detail });\n }\n}\nexport class RowsSelectedEvent extends CustomEvent {\n constructor(detail) {\n super(\"onRowsSelect\", { detail });\n }\n}\nexport class PageChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"onPageChange\", { detail });\n }\n}\nconst addIsSelectedPropertyToData = (data) => {\n return data.map((row) => {\n return __spreadProps(__spreadValues({}, row), { isSelected: false });\n });\n};\nexport const Component = (host) => {\n const props = {\n vm: host.vm !== void 0 ? {\n columns: host.vm.columns !== void 0 ? host.vm.columns.map((c) => {\n if (c.filterable === void 0) {\n c.filterable = c.filterDescriptor !== void 0;\n }\n return c;\n }) : DEFAULTS.vm.columns,\n cellTemplate: host.vm.cellTemplate ? host.vm.cellTemplate : (index, field) => {\n return html`${props.vm.data[index][field]}`;\n },\n cellClass: host.vm.cellClass ? host.vm.cellClass : (_index, _field) => {\n return \"\";\n },\n bodyTemplate: host.vm.bodyTemplate,\n rowDetailsTemplate: host.vm.rowDetailsTemplate,\n data: host.vm.data !== void 0 ? addIsSelectedPropertyToData(host.vm.data) : DEFAULTS.vm.data,\n paging: host.vm.paging !== void 0 ? {\n pageable: host.vm.paging.pageable !== void 0 ? host.vm.paging.pageable : DEFAULTS.vm.paging.pageable,\n pageSize: host.vm.paging.pageSize !== void 0 ? host.vm.paging.pageSize : DEFAULTS.vm.paging.pageSize,\n itemCount: host.vm.paging.itemCount !== void 0 ? host.vm.paging.itemCount : DEFAULTS.vm.paging.itemCount,\n pageSizes: host.vm.paging.pageSizes !== void 0 ? host.vm.paging.pageSizes : DEFAULTS.vm.paging.pageSizes,\n pageIndex: host.vm.paging.pageIndex !== void 0 ? host.vm.paging.pageIndex : DEFAULTS.vm.paging.pageIndex,\n buttonCount: host.vm.paging.buttonCount !== void 0 ? host.vm.paging.buttonCount : DEFAULTS.vm.paging.buttonCount,\n showInfo: host.vm.paging.showInfo !== void 0 ? host.vm.paging.showInfo : DEFAULTS.vm.paging.showInfo,\n showPreviousNext: host.vm.paging.showPreviousNext !== void 0 ? host.vm.paging.showPreviousNext : DEFAULTS.vm.paging.showPreviousNext\n } : DEFAULTS.vm.paging,\n sorting: host.vm.sorting ? host.vm.sorting : DEFAULTS.vm.sorting,\n selection: host.vm.selection !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.vm.selection), host.vm.selection) : DEFAULTS.vm.selection,\n rowCustomization: host.vm.rowCustomization !== void 0 ? host.vm.rowCustomization : DEFAULTS.vm.rowCustomization,\n appliedFilters: host.vm.appliedFilters !== void 0 ? host.vm.appliedFilters : DEFAULTS.vm.appliedFilters\n } : DEFAULTS.vm\n };\n const resetSelection = () => {\n setSelectedIndices([]);\n };\n const formatColumnClass = (currentColumnClass) => {\n let concreteColumnClasses = {};\n if (currentColumnClass) {\n concreteColumnClasses = (typeof currentColumnClass === \"string\" ? [currentColumnClass] : currentColumnClass).reduce((acc, cur) => {\n cur.split(\" \").forEach((curItem) => {\n acc[curItem] = true;\n });\n return acc;\n }, concreteColumnClasses);\n }\n return concreteColumnClasses;\n };\n const getAppliedFilter = (fieldName) => {\n return props.vm.appliedFilters.find((column) => column.field === fieldName);\n };\n const isFilterAppliedOnColumn = (fieldName) => {\n const columnFilter = getAppliedFilter(fieldName);\n return columnFilter !== void 0 && columnFilter.filterProps !== void 0;\n };\n const onPageChanged = (e) => __async(void 0, null, function* () {\n const pageIndex = e.detail.selectedPageIndex;\n const pageSize = e.detail.selectedPageSize;\n setSelectedPageIndex(pageIndex);\n setSelectedPageSize(pageSize);\n resetSelection();\n host.dispatchEvent(\n new PageChangeEvent({\n selectedPageIndex: pageIndex,\n selectedPageSize: pageSize\n })\n );\n });\n const onSortClicked = (field, sortOrder) => {\n setOrderDir(sortOrder);\n setOrderBy(field);\n resetSelection();\n host.dispatchEvent(\n new SortChangeEvent({\n orderBy: field,\n orderDir: sortOrder\n })\n );\n };\n const onFilterChanged = (field, filterProps) => {\n resetSelection();\n host.dispatchEvent(\n new FilterChangeEvent({\n field,\n filterProps\n })\n );\n };\n const onRowSelected = (rowIndex, e) => {\n let newIndices = [...selectedIndices];\n if (e.detail.checked) {\n if (!selectedIndices.includes(rowIndex)) {\n newIndices.push(rowIndex);\n newIndices.sort();\n }\n } else {\n newIndices = selectedIndices.filter((index) => index !== rowIndex);\n }\n setSelectedIndices(newIndices);\n host.dispatchEvent(\n new RowsSelectedEvent({\n indices: newIndices\n })\n );\n };\n const allRowsChanged = () => {\n const newIndices = selectedIndices.length === items.length ? [] : items.map((_, i) => i);\n setSelectedIndices(newIndices);\n host.dispatchEvent(\n new RowsSelectedEvent({\n indices: newIndices\n })\n );\n };\n useEffect(() => {\n setSelectedPageIndex(props.vm.paging.pageIndex);\n }, [props.vm.paging.pageIndex]);\n useEffect(() => {\n setSelectedPageSize(props.vm.paging.pageSize);\n }, [props.vm.paging.pageSize]);\n useEffect(() => {\n setOrderBy(props.vm.sorting.orderBy);\n }, [props.vm.sorting.orderBy]);\n useEffect(() => {\n setOrderDir(props.vm.sorting.orderDir);\n }, [props.vm.sorting.orderDir]);\n useEffect(() => {\n if (props.vm.selection.selectedIndices !== void 0) {\n const onlyValidIndices = props.vm.selection.selectedIndices.reduce((aggr, curr) => {\n if (curr >= 0 && curr < items.length && !aggr.includes(curr)) {\n return aggr.concat(curr);\n } else {\n return aggr;\n }\n }, []);\n onlyValidIndices.sort();\n setSelectedIndices(onlyValidIndices);\n }\n }, [props.vm.selection.selectedIndices]);\n useEffect(() => {\n setItems(props.vm.data);\n }, []);\n const [selectedPageIndex, setSelectedPageIndex] = useState(DEFAULTS.vm.paging.pageIndex);\n const [selectedPageSize, setSelectedPageSize] = useState(DEFAULTS.vm.paging.pageSize);\n const [orderBy, setOrderBy] = useState(\"\");\n const [orderDir, setOrderDir] = useState(\"asc\");\n const [items, setItems] = useState([]);\n const [selectedIndices, setSelectedIndices] = useState([]);\n const getHeaderTemplate = () => {\n return html`\n\t\t\t\n\t\t\t\t${props.vm.selection.selectable && items.length > 0 ? html`\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t ` : \"\"}\n\t\t\t\t${repeat(\n props.vm.columns,\n (column) => column.field,\n (column) => html`\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t`\n )}\n\t\t\t\n\t\t`;\n };\n const getBodyTemplate = () => {\n return html`\n\t\t\t${props.vm.bodyTemplate ? props.vm.bodyTemplate() : props.vm.data.length !== void 0 ? createRange(0, props.vm.data.length - 1).map((i) => {\n return html`\n\t\t\t\t\t\t\t {\n return row.index === i ? row.classes.join(\" \") : \"\";\n })}\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t${props.vm.selection.selectable && items.length > 0 ? html`\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t {\n onRowSelected(i, e);\n }}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t ` : \"\"}\n\t\t\t\t\t\t\t\t${props.vm.columns.map((column) => {\n return html` ${props.vm.cellTemplate(i, column.field)} `;\n })}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t${props.vm.rowDetailsTemplate ? props.vm.rowDetailsTemplate(i) : \"\"}\n\t\t\t\t\t\t`;\n }) : \"\"}\n\t\t`;\n };\n return html`\n\t\t\n\t\t\t\n\t\t\t\t${getHeaderTemplate()}\n\t\t\t\n\t\t\t\n\t\t\t\t${getBodyTemplate()}\n\t\t\t\n\t\t
\n\t\t${props.vm.paging.pageable ? html`
\n\t\t\t\t\t\n\t\t\t
` : \"\"}\n\t`;\n};\ncustomElements.define(\n \"dc-table\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nimport { html, svg } from \"lit-html\";\nimport { useMemo, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { component, useEffect } from \"haunted\";\nimport { isEmpty, newUniqueId } from \"GlobalShared/helpers/stringHelper\";\nconst DEFAULTS = {\n fieldName: \"\",\n sortable: false,\n filterable: false,\n columnType: \"\",\n filterDescriptor: void 0,\n label: \"\",\n columnTitle: void 0,\n orderBy: \"\",\n orderDir: \"none\",\n onSortClicked: void 0,\n onFilterChanged: void 0,\n appliedFilter: void 0\n};\nconst svgFilter = (filterIsSet) => svg`\n\n`;\nexport const Component = (host) => {\n var _a, _b;\n const props = {\n fieldName: host.fieldName !== void 0 ? host.fieldName : DEFAULTS.fieldName,\n sortable: host.sortable !== void 0 ? host.sortable : DEFAULTS.sortable,\n filterable: host.filterable !== void 0 ? host.filterable : DEFAULTS.filterable,\n columnType: host.columnType !== void 0 ? host.columnType : DEFAULTS.columnType,\n filterDescriptor: host.filterDescriptor !== void 0 ? host.filterDescriptor : DEFAULTS.filterDescriptor,\n label: host.label !== void 0 ? host.label : DEFAULTS.label,\n columnTitle: host.columnTitle !== void 0 ? host.columnTitle : DEFAULTS.columnTitle,\n orderBy: host.orderBy !== void 0 ? host.orderBy : DEFAULTS.orderBy,\n orderDir: host.orderDir !== void 0 ? host.orderDir : DEFAULTS.orderDir,\n onSortClicked: host.onSortClicked !== void 0 ? host.onSortClicked : DEFAULTS.onSortClicked,\n onFilterChanged: host.onFilterChanged !== void 0 ? host.onFilterChanged : DEFAULTS.onFilterChanged,\n appliedFilter: host.appliedFilter !== void 0 ? host.appliedFilter : DEFAULTS.appliedFilter\n };\n const sortOrder = props.orderBy === props.fieldName ? props.orderDir : \"none\";\n const filterIsSet = () => {\n var _a2, _b2, _c;\n return ((_a2 = props.appliedFilter) == null ? void 0 : _a2.filterProps.max) !== void 0 || ((_b2 = props.appliedFilter) == null ? void 0 : _b2.filterProps.min) !== void 0 || ((_c = props.appliedFilter) == null ? void 0 : _c.filterProps.selectedValues) !== void 0;\n };\n const resetTempValues = () => {\n setTempStringValue(stringValue);\n setTempEnumValues(enumValues);\n setTempDateValue(dateValue);\n setTempNumberValue(numberValue);\n };\n const onEnumValuesChanged = (e) => {\n const newEnumValues = tempEnumValues != null ? tempEnumValues : [];\n if (newEnumValues.includes(e.detail.selectedValue)) {\n setTempEnumValues(newEnumValues.filter((v) => v !== e.detail.selectedValue));\n } else {\n setTempEnumValues([...newEnumValues, e.detail.selectedValue]);\n }\n };\n const [isSearchBoxOpen, setIsSearchBoxOpen] = useState(false);\n const [stringValue, setStringValue] = useState(void 0);\n const [enumValues, setEnumValues] = useState([]);\n const [dateValue, setDateValue] = useState({ to: void 0, from: void 0 });\n const [numberValue, setNumberValue] = useState({ to: void 0, from: void 0 });\n const [tempStringValue, setTempStringValue] = useState(void 0);\n const [tempEnumValues, setTempEnumValues] = useState([]);\n const [tempDateValue, setTempDateValue] = useState({ to: void 0, from: void 0 });\n const [tempNumberValue, setTempNumberValue] = useState({ to: void 0, from: void 0 });\n const uniqueId = useMemo(() => newUniqueId(), []);\n useEffect(() => {\n const onClickedOutside = (e) => {\n if (!host.contains(e.target) && isSearchBoxOpen) {\n setIsSearchBoxOpen(false);\n resetTempValues();\n }\n };\n const onCloseOnEscKey = (e) => {\n if (e.key === \"Escape\" && isSearchBoxOpen) {\n setIsSearchBoxOpen(false);\n resetTempValues();\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n document.addEventListener(\"click\", onClickedOutside);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n document.removeEventListener(\"click\", onClickedOutside);\n };\n }, [isSearchBoxOpen]);\n useEffect(() => {\n var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;\n if (props.filterDescriptor) {\n if (props.filterDescriptor.type === \"string\") {\n setTempStringValue((_a2 = props.appliedFilter) == null ? void 0 : _a2.filterProps.selectedValues);\n setStringValue((_b2 = props.appliedFilter) == null ? void 0 : _b2.filterProps.selectedValues);\n } else if (props.filterDescriptor.type === \"date\") {\n setTempDateValue({\n from: (_c = props.appliedFilter) == null ? void 0 : _c.filterProps.min,\n to: (_d = props.appliedFilter) == null ? void 0 : _d.filterProps.max\n });\n setDateValue({\n from: (_e = props.appliedFilter) == null ? void 0 : _e.filterProps.min,\n to: (_f = props.appliedFilter) == null ? void 0 : _f.filterProps.max\n });\n } else if (props.filterDescriptor.type === \"select\") {\n if (typeof ((_g = props.appliedFilter) == null ? void 0 : _g.filterProps.selectedValues) === \"string\") {\n setTempEnumValues([(_h = props.appliedFilter) == null ? void 0 : _h.filterProps.selectedValues]);\n setEnumValues([(_i = props.appliedFilter) == null ? void 0 : _i.filterProps.selectedValues]);\n } else {\n setTempEnumValues((_j = props.appliedFilter) == null ? void 0 : _j.filterProps.selectedValues);\n setEnumValues((_k = props.appliedFilter) == null ? void 0 : _k.filterProps.selectedValues);\n }\n } else if (props.filterDescriptor.type === \"number\") {\n setTempNumberValue({\n from: (_l = props.appliedFilter) == null ? void 0 : _l.filterProps.min,\n to: (_m = props.appliedFilter) == null ? void 0 : _m.filterProps.max\n });\n setNumberValue({\n from: (_n = props.appliedFilter) == null ? void 0 : _n.filterProps.min,\n to: (_o = props.appliedFilter) == null ? void 0 : _o.filterProps.max\n });\n }\n }\n }, [props.appliedFilter]);\n useEffect(() => {\n if (isSearchBoxOpen) {\n if (props.columnType === \"string\") {\n window.setTimeout(() => {\n const elem = document.querySelector(`#input_string_${uniqueId} input`);\n elem.focus();\n }, 0);\n }\n }\n }, [isSearchBoxOpen]);\n const templateButtonBar = (onFilter, onClear, isEmptyBB) => {\n return html`
\n\t\t\t${isEmptyBB() ? html`
` : html`
\n\t\t\t\t\t\t {\n setIsSearchBoxOpen(false);\n onClear(e);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tClear\n\t\t\t\t\t\t\n\t\t\t\t
`}\n\n\t\t\t {\n setIsSearchBoxOpen(false);\n onFilter(e);\n }}\n\t\t\t>\n\t\t\t\tFilter\n\t\t\t\n\t\t
`;\n };\n const templateStringSearchBox = () => {\n return html`\n\t\t\t {\n setTempStringValue(e.detail.value);\n }}\n\t\t\t\t.value=${tempStringValue}\n\t\t\t\t@keyup=${(e) => {\n if (e.key === \"Enter\") {\n setIsSearchBoxOpen(false);\n e.preventDefault();\n props.onFilterChanged(props.fieldName, { operator: \"eq\", selectedValues: tempStringValue }, e);\n }\n }}\n\t\t\t>\n\t\t\t${templateButtonBar(\n (e) => props.onFilterChanged(\n props.fieldName,\n {\n operator: \"eq\",\n selectedValues: tempStringValue === \"\" ? void 0 : tempStringValue\n },\n e\n ),\n (e) => {\n props.onFilterChanged(props.fieldName, { operator: \"eq\", selectedValues: void 0 }, e);\n },\n () => isEmpty(stringValue)\n )}\n\t\t`;\n };\n const templateEnumSearchBox = () => {\n const selectFilterDescriptor = props.filterDescriptor;\n selectFilterDescriptor.multiSelect = selectFilterDescriptor.multiSelect === void 0 ? false : selectFilterDescriptor.multiSelect;\n selectFilterDescriptor.searchable = selectFilterDescriptor.searchable === void 0 ? false : selectFilterDescriptor.searchable;\n if (!selectFilterDescriptor.multiSelect) {\n return html`\n\t\t\t\t
\n\t\t\t\t\t {\n if (e.detail !== void 0) {\n setTempEnumValues([e.detail.selectedValue]);\n }\n }}\n\t\t\t\t\t>\n\t\t\t\t\t${templateButtonBar(\n (e) => props.onFilterChanged(props.fieldName, { operator: \"eq\", selectedValues: (tempEnumValues == null ? void 0 : tempEnumValues.length) > 0 ? tempEnumValues[0] : void 0 }, e),\n (e) => {\n props.onFilterChanged(props.fieldName, { operator: \"eq\", selectedValues: void 0 }, e);\n },\n () => enumValues === void 0 || enumValues.length === 0\n )}\n\t\t\t\t
\n\t\t\t`;\n } else {\n return html`\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t${templateButtonBar(\n (e) => props.onFilterChanged(props.fieldName, { operator: \"eq\", selectedValues: tempEnumValues }, e),\n (e) => {\n props.onFilterChanged(props.fieldName, { operator: \"eq\", selectedValues: void 0 }, e);\n },\n () => enumValues === void 0 || enumValues.length === 0\n )}\n\t\t\t\t
\n\t\t\t`;\n }\n };\n const templateDateSearchBox = () => {\n return html`\n\t\t\t {\n setTempDateValue(__spreadProps(__spreadValues({}, tempDateValue), { from: e.detail.value }));\n }}\n\t\t\t>\n\t\t\t {\n setTempDateValue(__spreadProps(__spreadValues({}, tempDateValue), { to: e.detail.value }));\n }}\n\t\t\t>\n\t\t\t${templateButtonBar(\n (e) => props.onFilterChanged(\n props.fieldName,\n {\n operator: \"eq\",\n min: tempDateValue.from,\n max: tempDateValue.to\n },\n e\n ),\n (e) => {\n props.onFilterChanged(props.fieldName, { operator: \"eq\", min: void 0, max: void 0 }, e);\n },\n () => dateValue.from === void 0 && dateValue.to === void 0\n )}\n\t\t`;\n };\n const templateNumberSearchBox = () => {\n return html`\n\t\t\t {\n setTempNumberValue(__spreadProps(__spreadValues({}, tempNumberValue), { from: Number(e.detail.value) }));\n }}\n\t\t\t>\n\t\t\t {\n setTempNumberValue(__spreadProps(__spreadValues({}, tempNumberValue), { to: Number(e.detail.value) }));\n }}\n\t\t\t>\n\t\t\t${templateButtonBar(\n (e) => props.onFilterChanged(\n props.fieldName,\n {\n operator: \"eq\",\n min: tempNumberValue.from,\n max: tempNumberValue.to\n },\n e\n ),\n (e) => {\n props.onFilterChanged(props.fieldName, { operator: \"eq\", min: void 0, max: void 0 }, e);\n },\n () => numberValue.from === void 0 && numberValue.to === void 0\n )}\n\t\t`;\n };\n const searchBoxTemplate = () => {\n var _a2;\n let innerTemplate;\n if (props.filterDescriptor.type === \"string\" && props.columnType === \"string\") {\n innerTemplate = templateStringSearchBox;\n } else if (props.filterDescriptor.type === \"select\" && props.columnType === \"enum\") {\n innerTemplate = templateEnumSearchBox;\n } else if (props.filterDescriptor.type === \"date\" && props.columnType === \"date\") {\n innerTemplate = templateDateSearchBox;\n } else if (props.filterDescriptor.type === \"number\" && props.columnType === \"number\") {\n innerTemplate = templateNumberSearchBox;\n } else {\n throw new Error(`Unknown Filter Descriptor!`);\n }\n const isFilterAlignedRight = ((_a2 = props.filterDescriptor) == null ? void 0 : _a2.rightAlign) === void 0 ? false : props.filterDescriptor.rightAlign;\n if (isSearchBoxOpen) {\n return html`\n\t\t\t\t e.stopPropagation()}\n\t\t\t\t>\n\t\t\t\t\t${innerTemplate()}\n\t\t\t\t\n\t\t\t`;\n } else {\n return \"\";\n }\n };\n return html`\n\t\t
\n\t\t\t${props.sortable ? html` {\n props.onSortClicked(props.fieldName, sortOrder === \"none\" || sortOrder === \"desc\" ? \"asc\" : \"desc\", e);\n }}\n\t\t\t\t >\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${sortOrder !== \"none\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${props.label}
\n\t\t\t\t\t\t
\n\t\t\t\t
` : html`
${props.label}
`}\n\t\t\t${props.filterable && props.filterDescriptor ? html`
\n\t\t\t\t\t\t {\n setIsSearchBoxOpen(!isSearchBoxOpen);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
${svgFilter(filterIsSet())}
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t${searchBoxTemplate()}\n\t\t\t\t ` : \"\"}\n\t\t\n\t`;\n};\ncustomElements.define(\n \"dc-table-header\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: [\"appliedFilter\"]\n })\n);\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport \"./dc-tabs.scss\";\nimport { html, TemplateResult } from \"lit-html\";\nimport { classMap } from \"lit-html/directives/class-map\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { useQueryState } from \"GlobalShared/haunted/CustomHooks\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n queryPrefix: \"tab\",\n data: []\n};\nexport const Component = (host) => {\n const props = {\n queryPrefix: host.queryPrefix !== void 0 ? host.queryPrefix : DEFAULTS.queryPrefix,\n data: host.data !== void 0 ? host.data : DEFAULTS.data\n };\n const getVisibleTabs = (tabs) => {\n return tabs.filter((tab) => !tab.isUnavailable);\n };\n const getTemplate = (tab) => {\n if (tab.template) {\n if (tab.template instanceof TemplateResult) {\n return tab.template;\n } else {\n return tab.template();\n }\n } else if (tab.tag) {\n const content = `<${tab.tag}>`;\n return html` ${unsafeHTML(content)} `;\n } else {\n return html``;\n }\n };\n const onTabSelect = (e) => {\n const tabName = e.currentTarget.dataset.tabName;\n setSelectedTab(tabName);\n };\n const [selectedTab, setSelectedTab] = useQueryState(props.queryPrefix, getVisibleTabs(props.data)[0].name);\n const constantClasses = {\n \"text-xs\": true,\n \"sm:text-sm\": true,\n \"md:text-base\": true,\n \"mr-2\": true,\n \"sm:mr-4\": true,\n \"px-1\": true,\n \"sm:px-5\": true\n };\n return html`\n\t\t
    \n\t\t\t${getVisibleTabs(props.data).map(\n (tab) => html`\n\t\t\t\t\t\n\t\t\t\t\t\t${tab.label}\n\t\t\t\t\t\n\t\t\t\t`\n )}\n\t\t
\n\t\t${getVisibleTabs(props.data).map((tab) => html`
${getTemplate(tab)}
`)}\n\t`;\n};\ncustomElements.define(\n \"dc-tabs\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-toggle.scss\";\nimport { html } from \"lit-html\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { component } from \"haunted\";\nconst DEFAULTS = {\n state: \"None\",\n labelNo: i18next.t(\"No\"),\n labelYes: i18next.t(\"Yes\"),\n readonly: false,\n tooltip: \"\"\n};\nexport class ChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n state: host.state !== void 0 ? host.state : DEFAULTS.state,\n labelNo: host.labelNo !== void 0 ? host.labelNo : DEFAULTS.labelNo,\n labelYes: host.labelYes !== void 0 ? host.labelYes : DEFAULTS.labelYes,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly,\n tooltip: host.tooltip !== void 0 ? host.tooltip : DEFAULTS.tooltip,\n label: host.label,\n validationMessage: host.validationMessage\n };\n const onClick = (newState) => {\n setCurrentState(newState);\n host.dispatchEvent(\n new ChangeEvent({\n state: newState\n })\n );\n };\n const [currentState, setCurrentState] = useState(props.state);\n useEffect(() => {\n setCurrentState(props.state);\n }, [props.state]);\n return html`
\n\t\t${props.label !== void 0 ? html`` : \"\"}\n\t\t
\n\t\t\t {\n if (!props.readonly) {\n onClick(\"No\");\n }\n }}\n\t\t\t>\n\t\t\t\t${props.labelNo}\n\t\t\t
\n\t\t\t {\n if (!props.readonly) {\n onClick(\"Yes\");\n }\n }}\n\t\t\t>\n\t\t\t\t${props.labelYes}\n\t\t\t
\n\t\t\n\t\t${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t `;\n};\ncustomElements.define(\n \"dc-toggle\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import { component } from \"haunted\";\nimport { html } from \"lit-html\";\nconst DEFAULTS = {\n type: \"QuestionMark\",\n label: void 0\n};\nexport const Component = (host) => {\n const props = {\n type: host.type !== void 0 ? host.type : DEFAULTS.type,\n label: host.label\n };\n const templateQuestionMark = () => {\n return html`
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
`;\n };\n return html`${props.type === \"QuestionMark\" ? templateQuestionMark() : \"\"}`;\n};\ncustomElements.define(\n \"dc-tooltip\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import \"./dc-validation-summary.scss\";\nimport { html } from \"lit-html\";\nimport { component } from \"haunted\";\nexport const Component = (host) => {\n const props = host;\n return html`\n\t\t
\n\t\t\t
    \n\t\t\t\t${(props.messages || []).map((message) => html`
  • ${message}
  • `)}\n\t\t\t
\n\t\t
\n\t`;\n};\ncustomElements.define(\n \"dc-validation-summary\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport \"./dc-multiselect.scss\";\nimport { html } from \"lit-html\";\nimport { component, useEffect } from \"haunted\";\nimport { useMemo, useRef, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { isEmpty, newUniqueId } from \"GlobalShared/helpers/stringHelper\";\nconst DEFAULTS = {\n selectedItems: void 0,\n dataSource: [],\n filterProps: { type: \"startsWith\", ignoreCase: true },\n canAddNew: false,\n readonly: false\n};\nconst NEW_LABEL_ID = \"79e63307-4ef6-4589-ad67-b7b32457efa9\";\nexport class MultiSelectChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail });\n }\n}\nexport class MultiSelectNewEvent extends CustomEvent {\n constructor(detail) {\n super(\"new\", { detail });\n }\n}\nexport const Component = (host) => {\n const props = {\n selectedItems: host.selectedItems !== void 0 ? host.selectedItems : DEFAULTS.selectedItems,\n dataSource: host.dataSource !== void 0 ? host.dataSource : DEFAULTS.dataSource,\n filterProps: host.filterProps !== void 0 ? {\n type: host.filterProps.type !== void 0 ? host.filterProps.type : DEFAULTS.filterProps.type,\n ignoreCase: host.filterProps.ignoreCase !== void 0 ? host.filterProps.ignoreCase : DEFAULTS.filterProps.ignoreCase\n } : DEFAULTS.filterProps,\n label: host.label,\n tooltip: host.tooltip,\n validationMessage: host.validationMessage,\n canAddNew: host.canAddNew,\n readonly: host.readonly !== void 0 ? host.readonly : DEFAULTS.readonly\n };\n const convertToMultiSelect = (inputItems) => {\n if (inputItems === void 0) {\n return void 0;\n }\n let tempSelectedItems;\n if (typeof inputItems === \"string\") {\n tempSelectedItems = [{ label: inputItems, value: inputItems }];\n } else if (typeof inputItems === \"number\") {\n tempSelectedItems = [{ label: inputItems.toString(), value: inputItems.toString() }];\n } else {\n tempSelectedItems = inputItems.map(\n (selVal) => typeof selVal === \"number\" ? {\n label: selVal.toString(),\n value: selVal.toString()\n } : typeof selVal === \"string\" ? { label: selVal, value: selVal } : selVal\n );\n }\n return tempSelectedItems;\n };\n const refreshDataSourceResult = (dataSource) => __async(void 0, null, function* () {\n const now = Date.now();\n lastCall.current.ts = now;\n let currentResult;\n if (typeof dataSource === \"function\") {\n const tempResult = dataSource(editedText);\n if (tempResult instanceof Promise) {\n const loadingTimer = window.setTimeout(() => {\n if (lastCall.current.ts === now) {\n setSearchResultMessage(`${i18next.t(\"Loading\")}...`);\n }\n }, 500);\n currentResult = convertToMultiSelect(yield tempResult);\n window.clearTimeout(loadingTimer);\n } else {\n currentResult = convertToMultiSelect(tempResult);\n }\n } else {\n currentResult = convertToMultiSelect(dataSource);\n }\n if (lastCall.current.ts === now) {\n setSelectedIndex(0);\n let newResult = [];\n if (typeof currentResult === \"string\") {\n setSearchResultMessage(currentResult);\n } else {\n newResult = currentResult.map((item) => {\n const newItem = __spreadValues({}, item);\n let enabled = true;\n if (typeof dataSource !== \"function\" && editedText !== void 0) {\n enabled = props.filterProps.ignoreCase ? props.filterProps.type === \"includes\" ? newItem.label.toLowerCase().includes(editedText.toLowerCase()) : newItem.label.toLowerCase().startsWith(editedText.toLowerCase()) : props.filterProps.type === \"includes\" ? newItem.label.includes(editedText) : newItem.label.startsWith(editedText);\n }\n return __spreadProps(__spreadValues({}, newItem), { enabled, keyboardSelected: false });\n });\n setSelectedIndex(0);\n setDataSourceResult(newResult.filter((item) => selectedItems.filter((selItem) => selItem.value === item.value).length === 0));\n }\n }\n });\n const addToSelectedItems = (item) => {\n if (item.value === NEW_LABEL_ID) {\n host.dispatchEvent(\n new MultiSelectNewEvent({\n newLabel: editedText\n })\n );\n } else {\n const newSelectedItems = selectedItems.concat([item]);\n host.dispatchEvent(\n new MultiSelectChangeEvent({\n values: newSelectedItems.map((item2) => item2.value),\n items: newSelectedItems\n })\n );\n }\n };\n const removeFromSelectedItems = (item) => {\n const newSelectedItems = selectedItems.filter((selItem) => selItem.value !== item.value);\n host.dispatchEvent(\n new MultiSelectChangeEvent({\n values: newSelectedItems.map((item2) => item2.value),\n items: newSelectedItems\n })\n );\n };\n const changeEditedText = (text) => {\n setEditedText(text);\n const div = getEditableDivElement();\n if (div) {\n div.innerText = text != null ? text : \"\";\n }\n };\n const getEditableDivElement = () => {\n const elem = document.getElementById(uniqueId);\n if (elem !== null) {\n return elem;\n }\n return void 0;\n };\n const getEditedText = () => {\n var _a, _b;\n return (_b = (_a = getEditableDivElement()) == null ? void 0 : _a.innerText) != null ? _b : \"\";\n };\n const onFocus = () => {\n var _a;\n if (!editMode && !props.readonly) {\n setEditMode(true);\n changeEditedText(void 0);\n }\n (_a = getEditableDivElement()) == null ? void 0 : _a.focus();\n };\n const [dataSourceResult, setDataSourceResult] = useState([]);\n const lastCall = useRef({ ts: void 0 });\n const [selectedIndex, setSelectedIndex] = useState(0);\n const [searchResultMessage, setSearchResultMessage] = useState(void 0);\n const [selectedItems, setSelectedItems] = useState([]);\n const [editMode, setEditMode] = useState(false);\n const [editedText, setEditedText] = useState(void 0);\n const uniqueId = useMemo(() => newUniqueId(), []);\n useEffect(() => {\n refreshDataSourceResult(props.dataSource);\n }, [editedText]);\n useEffect(() => {\n setSelectedItems(convertToMultiSelect(props.selectedItems));\n changeEditedText(void 0);\n }, [props.selectedItems]);\n useEffect(() => {\n refreshDataSourceResult(props.dataSource);\n }, [selectedItems]);\n useEffect(() => {\n if (editMode) {\n refreshDataSourceResult(props.dataSource);\n const onClickedOutside = (e) => {\n var _a;\n if (!host.contains(e.target)) {\n setEditMode(false);\n changeEditedText(void 0);\n (_a = getEditableDivElement()) == null ? void 0 : _a.blur();\n }\n };\n const onCloseOnEscKey = (e) => {\n var _a;\n if (e.key === \"Escape\") {\n setEditMode(false);\n changeEditedText(void 0);\n (_a = getEditableDivElement()) == null ? void 0 : _a.blur();\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n document.addEventListener(\"click\", onClickedOutside, true);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n document.removeEventListener(\"click\", onClickedOutside);\n };\n }\n return void 0;\n }, [editMode]);\n const labelTemplate = () => props.label !== void 0 ? html` ` : \"\";\n return html`
\n\t\t${labelTemplate()}\n\t\t {\n e.target.innerText = \"\";\n changeEditedText(void 0);\n }}\n\t\t>\n\t\t\t${selectedItems.map(\n (item) => html`
\n\t\t\t\t\t\t
${item.label}
\n\t\t\t\t\t\t {\n removeFromSelectedItems(item);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tx\n\t\t\t\t\t\t
\n\t\t\t\t\t
`\n )}\n\t\t\t {\n e.stopPropagation();\n if (e.key === \"Enter\") {\n e.preventDefault();\n if (dataSourceResult.length > 0) {\n addToSelectedItems(dataSourceResult[selectedIndex]);\n } else if (!dataSourceResult.concat(selectedItems).some((item) => item.label.toLowerCase() === editedText.toLowerCase())) {\n addToSelectedItems({ value: NEW_LABEL_ID, label: editedText });\n }\n } else {\n window.setTimeout(() => {\n var _a;\n return setEditedText((_a = getEditedText()) == null ? void 0 : _a.trim());\n }, 0);\n }\n }}\n\t\t\t\t@keydown=${(e) => {\n e.stopPropagation();\n if (e.key === \"ArrowDown\" && selectedIndex < dataSourceResult.length - 1) {\n setSelectedIndex(selectedIndex + 1);\n } else if (e.key === \"ArrowUp\" && selectedIndex > 0) {\n setSelectedIndex(selectedIndex - 1);\n } else if (e.key === \"Backspace\") {\n if (!isEmpty(editedText)) {\n window.setTimeout(() => {\n var _a;\n return setEditedText((_a = getEditedText()) == null ? void 0 : _a.trim());\n }, 0);\n } else if (selectedItems.length > 0) {\n e.preventDefault();\n removeFromSelectedItems(selectedItems[selectedItems.length - 1]);\n }\n } else {\n window.setTimeout(() => {\n var _a;\n return setEditedText((_a = getEditedText()) == null ? void 0 : _a.trim());\n }, 0);\n }\n }}\n\t\t\t>\n\t\t\n\t\t${editMode ? html`
\n\t\t\t\t\t${searchResultMessage ? html`
${searchResultMessage}
` : dataSourceResult.length === 0 && (isEmpty(editedText) || selectedItems.some((item) => item.label.toLowerCase() === editedText.toLowerCase())) ? html`
${i18next.t(\"(Empty)\")}
` : dataSourceResult.concat(\n editedText && dataSourceResult.concat(selectedItems).filter((item) => item.label.toLowerCase() === editedText.toLowerCase()).length === 0 ? props.canAddNew ? [\n {\n value: NEW_LABEL_ID,\n label: `${editedText} (${i18next.t(\"New label\")})`\n }\n ] : [] : []\n ).map(\n (item, i) => html` {\n setSelectedIndex(i);\n }}\n\t\t\t\t\t\t\t\t\t\t\t@click=${() => {\n addToSelectedItems(item);\n }}\n\t\t\t\t\t\t\t\t\t\t\tclass=\"${selectedIndex === i ? \"bg-brand-primary text-white\" : \"\"} cursor-pointer px-1\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t${item.label}\n\t\t\t\t\t\t\t\t\t\t
`\n )}\n\t\t\t ` : \"\"}\n\t\t${props.validationMessage ? html`
${props.validationMessage}
` : \"\"}\n\t`;\n};\ncustomElements.define(\n \"dc-multiselect\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import { html } from \"lit-html\";\nimport { component } from \"haunted\";\nexport const Component = (host) => {\n var _a;\n const props = {\n disabled: host.disabled,\n visible: (_a = host.visible) != null ? _a : false\n };\n const onClick = (e) => {\n e.stopPropagation();\n if (!props.disabled) {\n host.dispatchEvent(new CustomEvent(\"click\"));\n }\n };\n return html`
\n\t\t${props.visible ? html`\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t ` : html` \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t `}\n\t
`;\n};\ncustomElements.define(\n \"dc-view-button\",\n component(Component, {\n useShadowDOM: false,\n observedAttributes: []\n })\n);\n","import { downloadPDFIcon } from \"GlobalShared/templates/commons\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nconst SECTION_CONFIG = {\n BankInformationForGermanVat: [\n {\n urlSafeName: \"Bank_Information_For_German_Vat_Template_cn\",\n downloadName: \"[CN] German Tax Authorities Bank Accounts\"\n },\n {\n urlSafeName: \"Bank_Information_For_German_Vat_Template_de\",\n downloadName: \"[DE] German Tax Authorities Bank Accounts\"\n }\n ],\n Apostille: [\n {\n urlSafeName: \"Apostille_public_documents_spanish\",\n downloadName: \"Apostilla - C\\xF3mo garantizar el reconocimiento de sus documentos p\\xFAblicos en el extranjero\"\n },\n {\n urlSafeName: \"Apostille_public_documents_french\",\n downloadName: \"Apostille - Garantir la reconnaissance de vos actes publics \\xE1 l'\\xE8tranger\"\n },\n {\n urlSafeName: \"Apostille_public_documents_english\",\n downloadName: \"Apostille - How to ensure that your public documents will be recognised abroad\"\n }\n ],\n SaftReporting: [\n {\n urlSafeName: \"Saft_Reporting_categories_guide_de\",\n downloadName: \"[DE] SAF-T Categories Guide\"\n },\n {\n urlSafeName: \"Saft_Reporting_information_guide_de\",\n downloadName: \"[DE] SAF-T Guide\"\n },\n {\n urlSafeName: \"Saft_Reporting_information_guide_en\",\n downloadName: \"[EN] SAF-T Guide\"\n },\n {\n urlSafeName: \"Saft_Reporting_Item_Identifier_Guide_de\",\n downloadName: \"[DE] Item Identifier Guide - Special sale goods and services\"\n },\n {\n urlSafeName: \"Saft_Reporting_Item_Identifier_Guide_en\",\n downloadName: \"[EN] Item Identifier Guide - Special sale goods and services\"\n }\n ],\n IntrastatReporting: [\n {\n urlSafeName: \"Intrastat_Reporting_Thresholds_2020\",\n downloadName: \"Intrastat Reporting Thresholds - 2020\"\n },\n {\n urlSafeName: \"Intrastat_Reporting_Thresholds_2021\",\n downloadName: \"Intrastat Reporting Thresholds - 2021\"\n },\n {\n urlSafeName: \"Intrastat_Reporting_Thresholds_2022\",\n downloadName: \"Intrastat Reporting Thresholds - 2022\"\n }\n ],\n IossDataTemplate: [\n {\n urlSafeName: \"IOSS_data_template_en\",\n downloadName: \"[EN] IOSS data template\"\n },\n {\n urlSafeName: \"IOSS_data_template_cn\",\n downloadName: \"[CN] IOSS data template\"\n },\n {\n urlSafeName: \"IOSS_data_template_fr\",\n downloadName: \"[FR] IOSS data template\"\n }\n ],\n KPMGVATComplianceSignup: [\n {\n urlSafeName: \"\\u589E\\u503C\\u7A0E\\u5408\\u89C4\\u6CE8\\u518C\\u6D41\\u7A0B\\u7528\\u6237\\u624B\\u518C\",\n downloadName: \"\\u589E\\u503C\\u7A0E\\u5408\\u89C4\\u6CE8\\u518C\\u6D41\\u7A0B\\u7528\\u6237\\u624B\\u518C\"\n },\n {\n urlSafeName: \"KPMG Benutzerhandbuch - Anmeldeprozess zum Umsatzsteuer-Compliance-Service\",\n downloadName: \"KPMG Benutzerhandbuch - Anmeldeprozess zum Umsatzsteuer-Compliance-Service\"\n },\n {\n urlSafeName: \"KPMG User Guide - VAT Compliance Sign-up\",\n downloadName: \"KPMG User Guide - VAT Compliance Sign-up\"\n }\n ],\n KPMGManagingUserAccounts: [\n {\n urlSafeName: \"KPMG \\u7528\\u6237\\u6307\\u5357- \\u7528\\u6237\\u8D26\\u53F7\\u7BA1\\u7406\",\n downloadName: \"KPMG \\u7528\\u6237\\u6307\\u5357- \\u7528\\u6237\\u8D26\\u53F7\\u7BA1\\u7406\"\n },\n {\n urlSafeName: \"KPMG Benutzerhandbuch - Verwaltung von Benutzerkonten\",\n downloadName: \"KPMG Benutzerhandbuch - Verwaltung von Benutzerkonten\"\n },\n {\n urlSafeName: \"KPMG User Guide - Managing User Accounts\",\n downloadName: \"KPMG User Guide - Managing User Accounts\"\n }\n ],\n KPMGServiceRenewal: [\n {\n urlSafeName: \"KPMG \\u7528\\u6237\\u624B\\u518C - \\u670D\\u52A1\\u7EED\\u8D39 (52bd0738-e8a8-4bc0-82f5-135d534777c9)\",\n downloadName: \"KPMG \\u7528\\u6237\\u624B\\u518C - \\u670D\\u52A1\\u7EED\\u8D39\"\n },\n {\n urlSafeName: \"KPMG Benutzerhandbuch - Erneuerung von Dienstleistungen (e2b6673c-6709-4cc1-b548-2b49d5a753f5)\",\n downloadName: \"KPMG Benutzerhandbuch - Erneuerung von Dienstleistungen\"\n },\n {\n urlSafeName: \"KPMG User Guide - Service Renewal (7db4d25d-c111-4055-860a-c5ea1e4b819c)\",\n downloadName: \"KPMG User Guide - Service Renewal\"\n }\n ],\n KPMGAdditionalServices: [\n {\n urlSafeName: \"KPMG \\u7528\\u6237\\u624B\\u518C- \\u989D\\u5916\\u670D\\u52A1\",\n downloadName: \"KPMG \\u7528\\u6237\\u624B\\u518C- \\u989D\\u5916\\u670D\\u52A1\"\n },\n {\n urlSafeName: \"KPMG Benutzerhandbuch - Zus\\xE4tzliche Dienstleistungen\",\n downloadName: \"KPMG Benutzerhandbuch - Zus\\xE4tzliche Dienstleistungen\"\n },\n {\n urlSafeName: \"KPMG User Guide - Additional Services\",\n downloadName: \"KPMG User Guide - Additional Services\"\n }\n ]\n};\nexport function GuidesAndTutorials() {\n const htmlSection = (links, sectionName) => {\n return html`
${sectionName}
\n\t\t\t${links.map((link) => {\n return html`\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${link.downloadName}
\n\t\t\t\t\t\t\t
${downloadPDFIcon()}
\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t`;\n })}`;\n };\n return html`\n\t\t
\n\t\t\t

${i18next.t(\"Welcome to Guides and Tutorials\")}

\n\t\t\t

${i18next.t(\"The materials available here cover multiple topics in a detailed way.\")}

\n\t\t\t${htmlSection(SECTION_CONFIG.BankInformationForGermanVat, i18next.t(\"Banking information for the VAT payment in Germany\"))} ${htmlSection(SECTION_CONFIG.Apostille, i18next.t(\"Apostille\"))}\n\t\t\t${htmlSection(SECTION_CONFIG.SaftReporting, i18next.t(\"SAF-T reporting\"))} ${htmlSection(SECTION_CONFIG.IntrastatReporting, i18next.t(\"Intrastat Reporting\"))}\n\t\t\t${htmlSection(SECTION_CONFIG.IossDataTemplate, i18next.t(\"IOSS data template\"))}\n\n\t\t\t

${i18next.t(\"KPMG User Guides\")}

\n\t\t\t${htmlSection(SECTION_CONFIG.KPMGVATComplianceSignup, i18next.t(\"VAT Compliance Sign-up\"))} ${htmlSection(SECTION_CONFIG.KPMGManagingUserAccounts, i18next.t(\"Managing User Accounts\"))}\n\t\t\t${htmlSection(SECTION_CONFIG.KPMGServiceRenewal, i18next.t(\"Service Renewal\"))} ${htmlSection(SECTION_CONFIG.KPMGAdditionalServices, i18next.t(\"Additional Services\"))}\n\t\t
\n\t\t
\n\t\t\t

${i18next.t(\"fx-legal\")}

\n\t\t
\n\t`;\n}\n","import i18next from \"i18next\";\nexport const vatRegistrationFaqs = [\n {\n question: i18next.t(\"faq_why_i_need_vat_number_question\", `{{- q_start}}Why do I need a VAT number?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_why_i_need_vat_number_answer\",\n `{{- a_paragraph_start}}Businesses who provide goods or services in a foreign jurisdiction with a VAT regime must comply with the relevant VAT laws of that country. There are several cases where it will be a legal obligation for a company to register for VAT in the country because they are undertaking taxable business activity. Such activity includes:{{- a_paragraph_end}}{{- a_list_start}}Importing goods into the country for sale or distribution{{- a_list_middle}}Buying and selling goods locally{{- a_list_middle}}Selling goods to individuals over the internet (revenue thresholds may apply) Storing goods in a warehouse{{- a_list_middle}}Organising an event in the country (specifically if there is paid admission to the event){{- a_list_middle}}It is the company\\u2019s responsibility to register for VAT prior to commencing taxable transactions and once registered, one must comply with the compliance and reporting requirements.{{- a_list_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\"faq_vat_with_fba_services_question\", `{{- q_start}}Do I need VAT number if I am using FBA services?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_vat_with_fba_services_answer\",\n `{{- a_paragraph_start}}If you store goods in any European country, then you will be required to have a VAT number. It is mandatory by the law.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_when_vat_issued_question\", `{{- q_start}}When is my VAT number issued?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_when_vat_issued_answer\",\n `{{- a_paragraph_start}}The length of time required to obtain a VAT number varies from country to country. You can typically expect to receive your VAT number within 4 to 6 weeks from the date when your documents are submitted to the tax authority. We will keep in contact with the tax authorities to track the progress of your VAT registration and will keep you informed of any updates. Please see below a list of current timelines for obtaining VAT registrations. We suggest to check back here from time to time as we are constantly monitoring the timeline and will update this frequently:{{- a_paragraph_end}}{{- a_list_start}}France: 7-9 weeks{{- a_list_middle}}Germany: 6 - 8 weeks{{- a_list_middle}}Spain: 1-2 weeks (VIES activation: 2-3 months){{- a_list_middle}}Italy: 4-6 weeks{{- a_list_middle}}Poland: 4-6 weeks{{- a_list_middle}}Czech Republic: 4-6 weeks{{- a_list_middle}}UK: 3-4 weeks{{- a_list_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\"faq_vies_in_spain_question\", `{{- q_start}}What do I need to know about the VIES activation process in Spain?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_vies_in_spain_answer\",\n `{{- a_paragraph_start}}While the VAT registration is a rather quick process in Spain, the activation of a VAT ID in the {{- link_start}}VIES system{{- link_end}} is a more complex and longer one. After your VAT ID has been issued we can start submitting declarations and you can pay VAT in Spain. Your activation needs to be requested separately from a proposal and can be done only if you carry out intra-community transactions. This means you have to submit an EC Sales List in Spain first. After a Spanish EC Sales List has been filed the proposal can be submitted; however, it will be automatically refused if you have any outstanding liability e.g. VAT payments, VAT returns, penalties. If your proposal is refused it will have to be submitted again starting from the beginning. This process usually takes 2-3 months.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n link_start: '',\n link_end: \"\"\n }\n )\n },\n {\n question: i18next.t(\"faq_documents_while_filing_question\", `{{- q_start}}What documents do I need to have with me while filing the registration/questionnaire?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_documents_while_filing_answer\",\n `{{- a_paragraph_start}}You will have to fill out your company's details, therefore we suggest that you have the Company Extract, Articles of Association, ID of the legal representative and a Bank Certificate of the company with you.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_how_long_does_the_registration_take_question\", `{{- q_start}}How long does the registration process take?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_how_long_does_the_registration_take_answer\",\n `{{- a_paragraph_start}}If all information and documents are correctly provided, we can prepare the registration package in a couple of days and send it to the Tax Authority.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_notarisation_and_hague_apostille_meaning_question\", `{{- q_start}}What does 'Notarisation' mean and what is a 'Hague Apostille'?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_notarisation_and_hague_apostille_meaning_answer\",\n `{{- a_paragraph_start}}Some European tax offices will require that your company documents and registration forms are 'notarised and apostilled' before you can submit them to the authorities to apply for a VAT registration.{{- a_paragraph_middle}}A notarised document is one carrying authenticated signature(s) of the person(s) authorised or required to sign it, and the signature of a notary public witnessing the signature(s), accompanied by an impression of his or her official notary seal. If a tax office requests it, the authorised signatory will need to visit a Notary Public (or have one come to your office) and sign the required documents in his/her presence. The notary will certify the documents after witnessing the signature.{{- a_paragraph_middle}}The definition of an apostille is 'the authentication of a document for use in another country'. The apostille certificate confirms the signature, seal or stamp on a document to be genuine so that it will be accepted when presented in another country within the European Union. It is permanently glued to another document and then an embossing mechanism, often called the apostille seal or apostille stamp, is used to emboss the document with a government crest.{{- a_paragraph_middle}}Usually the notary public you engage for the witnessing service will be able to arrange the apostille for your as well.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_where_can_i_get_my_documents_notarized_question\", `{{- q_start}}Where can I get my documents notarized?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_where_can_i_get_my_documents_notarized_answer\",\n `{{- a_paragraph_start}}Notaries can authenticate signatures or documents for use abroad. If you need to notarize a documents or Power of Attorney, you must visit a local notary public (or lawyer).{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_where_can_i_get_my_documents_apostilled_question\", `{{- q_start}}Where can I get my documents apostilled?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_where_can_i_get_my_documents_apostilled_answer\",\n `{{- a_paragraph_start}}Apostilles can usually be arranged by National certified notary offices or the National Public Notary office itself. Spain does not accept a simple notarization and therefore a further authentication / legalization is required, an Apostille Stamp. If your country is not a member of the Apostille Convention, please arrange the local notarization of the required documents and contact the Spanish Consulate in your country to request consular legalization.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_will_original_documents_be_returned_after_registration_question\",\n `{{- q_start}}You are asking for original documents--will I have these returned after the registration is completed?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_will_original_documents_be_returned_after_registration_answer\",\n `{{- a_paragraph_start}}These documents are requested by the respective tax authorities in each country and are kept by them. Therefore, they cannot be returned to you. To keep the original copies with you, we can also provide notarized copies to the Tax Authority.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_what_is_an_eori_number_question\", `{{- q_start}}What is an EORI number?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_what_is_an_eori_number_answer\",\n `{{- a_paragraph_start}}An EORI number is a European Union registration business identification number. This number is issued when importing or exporting goods in and out of the EU. A business or individual must obtain an EORI number from a national customs authority before beginning customs activities within the European Union.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_how_many_eoris_do_i_need_question\", `{{- q_start}}How many EORI numbers do I need?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_how_many_eoris_do_i_need_answer\",\n `{{- a_paragraph_start}}E-commerce sellers only need one EORI number, and in fact can only have one EORI number issued to them. The EORI number can be used in all the EU member states, therefore one number is enough and the Customs services will reject your application if you already have a number issued. Please note that after BREXIT European sellers have to apply for an EORI in the UK, if they want to import goods in the UK. UK based sellers need to apply for an EORI in the EU if they want to import goods in the EU.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_which_countries_eori_number_is_best_to_have_question\", `{{- q_start}}Which country's EORI number is the best to have?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_which_countries_eori_number_is_best_to_have_answer\",\n `{{- a_paragraph_start}}For EU based companies an EORI number in the country of establishment, for non EU companies the country where you import the most to will be the best country to have an EORI number.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_wrong_registration_info_to_kpmg_question\", `{{- q_start}}What happens if I provide wrong information to KPMG when registering?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_wrong_registration_info_to_kpmg_answer\",\n `{{- a_paragraph_start}}If the data you provided is not accurate and correct, your account manager will contact you until all the details are clarified. This might prolong the time needed to prepare the registration documents. If the data we filled out on the registration documents is wrong, the Tax Authority will contact us and will not issue the VAT number until all information is accurate and up to date.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_usa_canada_india_china_mexico_australia_japan_support_question\",\n `{{- q_start}}Can KPMG support me if I want to register in the USA, Canada, India, China, Mexico, Australia or Japan?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_usa_canada_india_china_mexico_australia_japan_support_answer\",\n `{{- a_paragraph_start}}Our office specializes in the European Union; however, we can refer you to our local KPMG offices in those countries. They would be happy to prepare an offer for you and in the case of an agreement, assist you in your business expansion.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_why_do_i_need_a_fiscal_representative_question\", `{{- q_start}}Why do I need a fiscal representative?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_why_do_i_need_a_fiscal_representative_answer\",\n `{{- a_paragraph_start}}For companies providing goods or services in foreign European countries, there may be a requirement to register for VAT as a non-resident VAT trader. Some countries permit the Non-EU established company to register \\u2018directly\\u2019 with the tax office, without having to appoint a local representative.{{- a_paragraph_middle}}However, under certain circumstances, the tax authorities will require the company to appoint a Fiscal Representative in the destination country. This company must be tax registered and willing to act as the local representative of the company, managing with queries and filing obligations of the company for dealings with the tax authorities. In most cases, the fiscal representative may be jointly liable for all VAT payments of the company.{{- a_paragraph_middle}}The tax authorities regard a fiscal representative as the local agent of the foreign trader \\u2013 which leads to several compliance obligations. Additionally, if the fiscal representative is jointly liable for the trader\\u2019s taxes, it is industry practice to require a security deposit or bank guarantee in favour of the fiscal representative to mitigate against potential risks if the company reneges of any liabilities.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_form_6166_apply_question\", `{{- q_start}}What is Form 6166? What is it for and how can I apply?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_form_6166_apply_answer\",\n `{{- a_paragraph_start}}US based clients are required to provide a 6166 form, issued by the IRS to complete the German registration. The 6166 form can be requested using an 8802 form that can be downloaded from the website of the IRS. Please note that the German Tax Authorities only accept original forms and the issuing time can take up to 3 months for this document. To obtain the form, please apply to the IRS. For more information, please click {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n link_start: '',\n link_end: \"\"\n }\n )\n },\n {\n question: i18next.t(\"faq_companies_articles_and_association_question\", `{{- q_start}}What is a company's Articles of Association and why do I need to provide it?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_companies_articles_and_association_answer\",\n `{{- a_paragraph_start}}For registering in most European countries, the tax authority requires a document that details the company's shareholder structure, the company's registered capital (funds, not a geographic location) as well as the director and legal representative's information. The document is also known as an Articles of Organization or Articles of Incorporation.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_company_extract_us_question\", `{{- q_start}}What is the Company Extract in the US?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_company_extract_us_answer\",\n `{{- a_paragraph_start}}A Company Extract or Business License (the name may vary by state) is essentially a document issued by the state in which the company was founded that certifies the legitimacy of the business, that it has been legally registered. It will typically include the company's date of incorporation.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_companys_vat_certificate_us_question\", `{{- q_start}}Where can I obtain my company's VAT Certificate in the US?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_companys_vat_certificate_us_answer\",\n `{{- a_paragraph_start}}From the IRS. Tax authorities will require documentation from the IRS regarding the issuing of your company's Employer Identification Number (EIN).{{- a_paragraph_end}}`,\n {\n a_paragraph_start: `

`,\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\",\n a_link_start: ``,\n a_link_end: ``,\n a_addressline_start: \"

\",\n a_addressline_middle: \"

\",\n a_addressline_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_companys_legal_representative_question\", `{{- q_start}}Who is the legal representative of my company?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_companys_legal_representative_answer\",\n `{{- a_paragraph_start}}The legal representative is the person who holds the legal power to act on the company's behalf and will represent your company in any tax-related issues. The registration will require a company document which clearly shows who the legal representative is.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_drivers_licence_as_valid_id_question\", `{{- q_start}}Can I use a driver's license as a valid form of ID?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_drivers_licence_as_valid_id_answer\",\n `{{- a_paragraph_start}}Most European countries require an identification document of the legal representative. It can be an Identity Card, Passport or Driver's License. Please note that for the online registration of a British VAT number, two identification documents will be required.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_bank_certificate_and_bank_details_question\", `{{- q_start}}Why do I need to provide a bank certificate and my bank details?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_bank_certificate_and_bank_details_answer\",\n `{{- a_paragraph_start}}If you have an overpayment, or you have deductible VAT, some tax authorities may try to transfer back this amount. If your bank details are not provided or are unclear, the tax authority will contact KPMG, thus delaying the processing time. The bank certificate should countain following information: name of bank, address of bank, name of account holder, address of account holder, currency, account number, IBAN, BIC.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_obtain_company_extract_for_uk_company_question\", `{{- q_start}}Where can I obtain a company extract for an UK established company?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_obtain_company_extract_for_uk_company_answer\",\n `{{- a_paragraph_start}}Contact Companies House on 0303 1234 500 and request them to send a certified copy of your Certificate of Incorporation with the following additional information added:{{- a_paragraph_end}}{{- a_list_start}}Names of the company directors{{- a_list_middle}}Name of the company secretary{{- a_list_middle}}Company registered office{{- a_list_middle}}Issued share capital{{- a_list_middle}}Names of the shareholders{{- a_list_end}}{{- a_paragraph_start}}The above document will be issued for a certain amount. (Around GBP 20, or GBP 60 for a faster service).{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\"faq_vat_certificate_for_uk_company_question\", `{{- q_start}}Where can I obtain the VAT certificate of my UK established company?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_vat_certificate_for_uk_company_answer\",\n `{{- a_paragraph_start}}This can be requested directly from HM Revenue & Customs on 0300 200 3700. You will need to quote your UK VAT registration number and the document will be posted to your registered address. Please note that it is possible to download a VAT certificate from the online portal where returns are submitted, however this will not be accepted by the tax authorities for VAT registration.{{- a_paragraph_middle}}If you are not registered for VAT in the UK, due to the fact that your sales are below the registration threshold, please let us know by email in advance and we will explain you what to do.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_company_extract_for_uk_based_sole_trader_question\", `{{- q_start}}What is the Company Extract for an UK established sole trader?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_company_extract_for_uk_based_sole_trader_answer\",\n `{{- a_paragraph_start}}As a sole trader in the UK, it can be more difficult to proof your status. We suggest obtaining a letter from either HM Revenue & Customs or your solicitor or accountant. They should provide you with a letter on their official headed paper indicating the following:{{- a_paragraph_end}}{{- a_list_start}}Your name and address{{- a_list_middle}}Your trading name{{- a_list_middle}}Explicit confirmation that you are a self-employed sole trader{{- a_list_end}}`,\n {\n a_paragraph_start: \"

\",\n a_link_start: ``,\n a_link_end: ``,\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_france_documents_question\",\n `{{- q_start}}I wish to register for VAT in France. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_france_documents_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of a bank certificate confirming your banking details{{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_bank_account_register_vat_in_france_question\",\n `{{- q_start}}Is there anything I should be aware of regarding my bank account if I want to register for VAT in France?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_bank_account_register_vat_in_france_answer\",\n `{{- a_paragraph_start}}EU based businesses must have a bank account that supports SEPA B2B direct debit payments. If you do not have a SEPA B2B direct debit bank account, the French Tax Authority will issue a penalty on every bank transfer you make (usually EUR 60 per transfer). To avoid such penalties you will have to open a new bank account that is compatible with the French e-payment system.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_uk_documents_quantities_question\",\n `{{- q_start}}I wish to register for VAT in the UK. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_uk_documents_quantities_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of two different identification documents of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_germany_documents_quantities_question\",\n `{{- q_start}}I wish to register for VAT in Germany. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_germany_documents_quantities_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 photocopy of your company extract (Official certificate confirming your business activities){{- a_list_middle}}1 photocopy of the VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy of the Articles of Association (if available){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_poland_documents_quantities_question\",\n `{{- q_start}}I wish to register for VAT in Poland. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_poland_documents_quantities_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_end}}{{- a_paragraph_start}}The company extract and the VAT ID certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_czech_republic_documents_quantities_question\",\n `{{- q_start}}I wish to register for VAT in the Czech Republic. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_czech_republic_documents_quantities_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 original a bank certificate confirming your banking details, issued by your bank{{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package).{{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_italy_documents_quantities_question\",\n `{{- q_start}}I wish to register for VAT in Italy. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_italy_documents_quantities_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities){{- a_list_middle}}1 original VAT ID certificate (in the country of establishment){{- a_list_middle}}1 photocopy (each) of the personal identification document of the legal representative(s){{- a_list_end}}{{- a_paragraph_start}}The company extract, the VAT ID certificate and the bank certificate should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_vat_in_spain_documents_quantities_question\",\n `{{- q_start}}I wish to register for VAT in Spain. What company documents should I put together, in what format and what quantities?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_vat_in_spain_documents_quantities_answer\",\n `{{- a_paragraph_start}}You need to collect the following documents:{{- a_paragraph_end}}{{- a_list_start}}1 original company extract (Official certificate confirming your business activities) notarized and apostilled{{- a_list_middle}}1 original certificate of Foreigner\\u2019s Identification Number (NIE) \\u2013 only for sole traders/individuals!{{- a_list_end}}{{- a_paragraph_start}}Your company extract and certificate of NIE should not be older than 3 months (at date of submitting the registration package){{- a_paragraph_middle}}Sworn translation of the documents is required. KPMG can arrange this on your behalf{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\",\n a_list_start: '
  • ',\n a_list_middle: '
  • ',\n a_list_end: \"
\"\n }\n )\n },\n {\n question: i18next.t(\n \"faq_certificate_of_foreigners_identification_number_nie_question\",\n `{{- q_start}}What is the Certificate of Foreigner\\u2019s Identification Number (NIE) in Spain?{{- q_end}}`,\n {\n q_start: '

',\n q_end: \"

\"\n }\n ),\n answer: i18next.t(\n \"faq_certificate_of_foreigners_identification_number_nie_answer\",\n `{{- a_paragraph_start}}Under Spanish law, sole traders/individuals who have an economic relation (activity) with/in the country, but who do not reside in Spain, must apply for a Spanish identification number for foreigners (NIE) at a consulate or representative office of Spain in their country of residence. The NIE-number can be requested by submitting a form called EX-15. You will find more information about the NIE and EX-15 request form {{- link_start}}here{{- link_end}}.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\",\n link_start: '',\n link_end: \"\"\n }\n )\n },\n {\n question: i18next.t(\"faq_wrong_registration_document_to_kpmg_question\", `{{- q_start}}What happens if I provide wrong documents to KPMG for the VAT registration?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_wrong_registration_document_to_kpmg_answer\",\n `{{- a_paragraph_start}}We will ask you to send us the correct documents. If we submit a registration package with wrong documents (e.g. photocopy instead of original or too old) the registration process will be delayed and most probably refused.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"faq_who_is_the_beneficial_owner_question\", `{{- q_start}}Who is the beneficial owner?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"faq_who_is_the_beneficial_owner_answer\",\n `{{- a_paragraph_start}}{{- a_bold_start}}a){{- a_bold_end}} any natural person who owns or controls {{- a_bold_start}}at least twenty-five per cent of the shares or voting rights{{- a_bold_end}} in a legal person or an unincorporated organization {{- a_bold_start}}directly or{{- a_bold_end}} - by way of the means defined in Subsection (4) of Section 8:2 of Act V of 2013 on the Civil Code (hereinafter referred to as \\u201CCivil Code\\u201D) - {{- a_bold_start}}indirectly{{- a_bold_end}}, or who is able to exercise effective control over the legal person or unincorporated organization via other means, if that legal person or unincorporated organization is not listed on a regulated market and is subject to disclosure requirements consistent with Community legislation or subject to equivalent international standards,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}b){{- a_bold_end}} any natural person who has a dominant influence in a legal person or unincorporated business association as defined in Subsection (2) of Section 8:2 of the Civil Code,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}c){{- a_bold_end}} any natural person on whose behalf a transaction is being conducted, or who is able to exercise effective control over the activity of a customer via other means in the case of natural persons,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}d){{- a_bold_end}} in the case of foundations:{{- a_paragraph_end}} {{- a_paragraph_start}} da) where the future beneficiaries have already been determined, the natural person who is the beneficiary of twenty-five per cent or more of the property of the foundation,{{- a_paragraph_end}} {{- a_paragraph_start}} db) where the individuals that benefit from the foundation have yet to be determined, the natural person in whose main interest the foundation is set up or operates, or{{- a_paragraph_end}} {{- a_paragraph_start}} dc) the natural person who exercises control in the management of the foundation or exercises control over at least twenty-five per cent of the property of a foundation, and/or who is authorized to represent the foundation,{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}e){{- a_bold_end}} in the case of fiduciary asset management contracts:{{- a_paragraph_end}} {{- a_paragraph_start}}ea) the principal, and the beneficial owner referred to in Paragraph a) or b) thereof,{{- a_paragraph_end}} {{- a_paragraph_start}}eb) the fiduciary, and the beneficial owner referred to in Paragraph a) or b) thereof,{{- a_paragraph_end}} {{- a_paragraph_start}}ec) the beneficiaries or class of beneficiaries, and the beneficial owner referred to in Paragraph a) or b) thereof, furthermore{{- a_paragraph_end}} {{- a_paragraph_start}}ed) any natural person exercising effective control over the trust fund via other means, furthermore{{- a_paragraph_end}} {{- a_paragraph_start}}{{- a_bold_start}}f){{- a_bold_end}} in the absence of the natural person referred to in Paragraphs a) and b), the executive officer of the legal person or unincorporated business association;{{- a_paragraph_end}}`,\n {\n a_paragraph_start: `

`,\n a_paragraph_end: \"

\",\n a_bold_start: ``,\n a_bold_end: ``\n }\n )\n }\n];\nexport const iossRegistrationFaqs = [\n {\n question: i18next.t(\"ioss_faq_return_goods_under_ioss_question\", `{{- q_start}}How can I return goods under the IOSS scheme?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_return_goods_under_ioss_answer\",\n `{{- a_paragraph_start}}Goods returned and shipped out of the EU will qualify for a VAT refund. Please provide KPMG with the necessary information using the data template and KPMG will adjust your IOSS return accordingly.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_do_not_opt_into_ioss_question\", `{{- q_start}}What happens if you do not opt into the IOSS?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_do_not_opt_into_ioss_answer\",\n `{{- a_paragraph_start}}If IOSS is not used, import VAT is due upon importation of the goods into the EU. Your logistics/customs agent will pay the import VAT to the customs authorities, and then recover it from either the customer or you. Additional handling fees will then usually arise. Additional VAT compliance burden may also arise if the seller sells goods under Delivered Duty Paid (DDP) terms.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_eur_150_value_limit_question\", `{{- q_start}}What is the EUR 150 value limit?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_eur_150_value_limit_answer\",\n `{{- a_paragraph_start}}Low value goods which qualify for the IOSS are goods in shipments whose intrinsic value at import does not exceed EUR 150 (except products subject to excise duties).{{- a_paragraph_middle}}Intrinsic value means the price of the goods themselves when sold for export to the EU. The price should exclude transport and insurance costs (unless they are included in the price and not indicated separately on the invoice), and exclude any other taxes and charges which can be proved to the customs authorities from any relevant document.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_currency_other_than_eur_question\", `{{- q_start}}My customer pays in a currency other than EUR, what exchange rate should I use?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_currency_other_than_eur_answer\",\n `{{- a_paragraph_start}}Where goods sold are paid for in a currency other than the Euro, you should always make the calculation at the time of supply in order to determine whether the sale of goods can be declared under the IOSS.{{- a_paragraph_middle}}To avoid any potential issue at importation due to exchange rate fluctuations, we recommend that you should indicate on the invoice accompanying the shipment the price in EUR, as determined at the moment of acceptance of payment.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_info_needed_for_kpmg_registration_question\", `{{- q_start}}What information do I need to provide to KPMG for the IOSS registration?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_info_needed_for_kpmg_registration_answer\",\n `{{- a_paragraph_start}}The exact requirements for the IOSS registration are not yet published by the relevant tax authorities. Please come back to this page later for more information.{{- a_paragraph_middle}}KPMG will also design a questionnaire which will be available on the Portal to collect the necessary information required from you for your IOSS registration.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_info_needed_for_kpmg_return_question\", `{{- q_start}}What information do I need to provide to KPMG for the IOSS return?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_info_needed_for_kpmg_return_answer\",\n `{{- a_paragraph_start}}After successful registration, you will be able to download a data template from our Portal. You need to provide your sales (including returns) data regarding the eligible transactions to us in the required template on a monthly basis. KPMG will prepare the IOSS return for your review.{{- a_paragraph_middle}}The IOSS VAT return will contain the total value of the goods sold, their VAT rate and the total VAT amount to be paid, broken down for each EU Member State where the goods are transported to, as well as broken down in terms of standard and reduced rates.{{- a_paragraph_middle}}Upon your approval, KPMG will then submit the return.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_return_deadline_question\", `{{- q_start}}What is the return deadline?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_return_deadline_answer\",\n `{{- a_paragraph_start}}You will need to submit a monthly IOSS return to the tax authorities in the country of identification (registration). The deadline for submitting your IOSS VAT return is the end of the calendar month following the reporting period.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_pay_tax_due_question\", `{{- q_start}}How do I pay the tax due and what is the payment deadline?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_pay_tax_due_answer\",\n `{{- a_paragraph_start}}The deadline for these payments is the end of the month following the reporting month, the same as the return deadline. As you are established outside the EU, you are registered through a VAT intermediary. You should make a monthly payment of VAT due as declared in the IOSS VAT return to the VAT intermediary at least a few working days prior to the payment deadline as instructed. The VAT intermediary will make the payment to the Member State of registration on your behalf.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_ioss_for_b2b_question\", `{{- q_start}}Can I use IOSS for B2B transactions?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\"ioss_faq_ioss_for_b2b_answer\", `{{- a_paragraph_start}}No, IOSS can only be used for B2C sales of eligible goods.{{- a_paragraph_end}}`, {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n })\n },\n {\n question: i18next.t(\"ioss_faq_appliable_in_uk_no_longer_eu_question\", `{{- q_start}}Are these changes appliable to the UK now it is no longer part of the EU?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_appliable_in_uk_no_longer_eu_answer\",\n `{{- a_paragraph_start}}The UK left the EU VAT regime on 31st December 2020. At the same time, the UK withdrew its \\xA315 low-value consignment relief and introduced a new VAT-at-point-of sale regime (similar to the EU\\u2019s IOSS regime) for goods imported into the UK with a shipment value not exceeding \\xA3135.{{- a_paragraph_middle}}For sales to EU consumers, British resident sellers are now considered as non-EU residents. From 1 July 2021, they will be able to use the EU IOSS as non-EU sellers, for sales of eligible goods which will be imported into the EU.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_middle: `

`,\n a_paragraph_end: \"

\"\n }\n )\n },\n {\n question: i18next.t(\"ioss_faq_who_to_contact_if_question\", `{{- q_start}}If I have a question, whom should I contact?{{- q_end}}`, {\n q_start: '

',\n q_end: \"

\"\n }),\n answer: i18next.t(\n \"ioss_faq_who_to_contact_if_answer\",\n `{{- a_paragraph_start}}Once you have subscribed to the KPMG services, you will be assigned a dedicated KPMG account manager who will answers your questions regarding the IOSS registration and the compliance process. You can contact your account manager by email or telephone in the following languages: English, German, French, Spanish, Italian and Chinese.{{- a_paragraph_end}}`,\n {\n a_paragraph_start: \"

\",\n a_paragraph_end: \"

\"\n }\n )\n }\n];\n","import { useState } from \"haunted\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { getRouteByKey } from \"../../globals\";\nimport { iossRegistrationFaqs, vatRegistrationFaqs } from \"./faqs-data\";\nexport function FAQs() {\n const [openedQuestions, setOpenedQuestions] = useState([vatRegistrationFaqs[0].question]);\n const [questionType, setQuestionType] = useState(\"vat\");\n const openQuestionType = (qt) => {\n const defaultOpenQuestion = qt === \"ioss\" ? iossRegistrationFaqs[0].question : vatRegistrationFaqs[0].question;\n setOpenedQuestions([defaultOpenQuestion]);\n setQuestionType(qt);\n };\n const mobileQuestionSelectorTemplate = () => html`\n\t\t
\n\t\t\t openQuestionType(\"vat\")}\n\t\t\t>\n\t\t\t\t${i18next.t(\"VAT Registration\")}\n\t\t\t\n\t\t\t openQuestionType(\"ioss\")}\n\t\t\t>\n\t\t\t\t${i18next.t(\"IOSS Registration\")}\n\t\t\t\n\t\t
\n\t`;\n const desktopQuestionSelectorTemplate = () => html`\n\t\t openQuestionType(\"vat\")}> ${i18next.t(\"VAT Registration\")} \n\t\t openQuestionType(\"ioss\")}> ${i18next.t(\"IOSS Registration\")} \n\t\t
\n\t\t\t${unsafeHTML(\n i18next.t(\"Couldnt_find_answer\", `Couldn't find the answer to your question? Contact us {{- link_first_part}}here{{- link_second_part}}`, {\n link_first_part: ``,\n link_second_parth: \"\"\n })\n )}\n\t\t
\n\t`;\n const questionList = (faqsList) => html`\n\t\t
\n\t\t\t${faqsList.map(\n (faq) => html`\n\t\t\t\t\t {\n if (openedQuestions.includes(faq.question)) {\n setOpenedQuestions(openedQuestions.filter((q) => q !== faq.question));\n } else {\n setOpenedQuestions(openedQuestions.concat(faq.question));\n }\n }}\n\t\t\t\t\t>\n\t\t\t\t\t\t${unsafeHTML(faq.question)}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
${faq.answer ? unsafeHTML(faq.answer) : \"\"}
\n\t\t\t\t`\n )}\n\t\t
\n\t`;\n return html`\n\t\t
\n\t\t\t

${i18next.t(\"Welcome to the Frequently Asked Questions (FAQ)\")}

\n\t\t\t

${i18next.t(\"Check out the different categories to understand VAT compliance better.\")}

\n\t\t\t
${mobileQuestionSelectorTemplate()}
\n\t\t\t
\n\t\t\t\t
${desktopQuestionSelectorTemplate()}
\n\t\t\t\t${questionType === \"vat\" ? questionList(vatRegistrationFaqs) : questionList(iossRegistrationFaqs)}\n\t\t\t
\n\t\t\t
\n\t\t\t\t

${i18next.t(\"fx-legal\")}

\n\t\t\t
\n\t\t
\n\t`;\n}\n","import { html } from \"lit-html\";\nexport function Legal() {\n return html`
\n\t\t

Legal

\n\t\t

\n\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Volutpat consequat mauris nunc congue nisi. Est placerat in\n\t\t\tegestas erat imperdiet sed euismod nisi porta. Viverra accumsan in nisl nisi scelerisque eu. Diam maecenas ultricies mi eget. Metus aliquam eleifend mi in nulla posuere sollicitudin\n\t\t\taliquam. Tincidunt tortor aliquam nulla facilisi cras fermentum odio eu. Volutpat lacus laoreet non curabitur gravida arcu. Tempor orci eu lobortis elementum nibh tellus. Orci sagittis eu\n\t\t\tvolutpat odio. Sit amet nisl purus in. In metus vulputate eu scelerisque felis imperdiet. Tortor at risus viverra adipiscing at in tellus integer feugiat. Accumsan lacus vel facilisis\n\t\t\tvolutpat est velit egestas dui id. Morbi tristique senectus et netus et malesuada fames.\n\t\t

\n\t\t

\n\t\t\tPorttitor rhoncus dolor purus non enim. Convallis convallis tellus id interdum. Purus semper eget duis at tellus at. Sed turpis tincidunt id aliquet risus. Leo integer malesuada nunc vel\n\t\t\trisus commodo viverra maecenas accumsan. Massa tempor nec feugiat nisl. Cras tincidunt lobortis feugiat vivamus at augue eget arcu. Et netus et malesuada fames ac turpis egestas. Sapien\n\t\t\tfaucibus et molestie ac. Mauris pellentesque pulvinar pellentesque habitant morbi. Massa enim nec dui nunc. Dolor sed viverra ipsum nunc aliquet bibendum. Aliquam etiam erat velit\n\t\t\tscelerisque in dictum non consectetur. Cursus metus aliquam eleifend mi. Tincidunt eget nullam non nisi. Non odio euismod lacinia at quis risus sed. Porttitor lacus luctus accumsan tortor\n\t\t\tposuere ac ut consequat semper.\n\t\t

\n\t
`;\n}\n","import { html } from \"lit-html\";\nexport function Privacy() {\n return html`
\n\t\t

Privacy

\n\t\t

\n\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Volutpat consequat mauris nunc congue nisi. Est placerat in\n\t\t\tegestas erat imperdiet sed euismod nisi porta. Viverra accumsan in nisl nisi scelerisque eu. Diam maecenas ultricies mi eget. Metus aliquam eleifend mi in nulla posuere sollicitudin\n\t\t\taliquam. Tincidunt tortor aliquam nulla facilisi cras fermentum odio eu. Volutpat lacus laoreet non curabitur gravida arcu. Tempor orci eu lobortis elementum nibh tellus. Orci sagittis eu\n\t\t\tvolutpat odio. Sit amet nisl purus in. In metus vulputate eu scelerisque felis imperdiet. Tortor at risus viverra adipiscing at in tellus integer feugiat. Accumsan lacus vel facilisis\n\t\t\tvolutpat est velit egestas dui id. Morbi tristique senectus et netus et malesuada fames.\n\t\t

\n\t\t

\n\t\t\tPorttitor rhoncus dolor purus non enim. Convallis convallis tellus id interdum. Purus semper eget duis at tellus at. Sed turpis tincidunt id aliquet risus. Leo integer malesuada nunc vel\n\t\t\trisus commodo viverra maecenas accumsan. Massa tempor nec feugiat nisl. Cras tincidunt lobortis feugiat vivamus at augue eget arcu. Et netus et malesuada fames ac turpis egestas. Sapien\n\t\t\tfaucibus et molestie ac. Mauris pellentesque pulvinar pellentesque habitant morbi. Massa enim nec dui nunc. Dolor sed viverra ipsum nunc aliquet bibendum. Aliquam etiam erat velit\n\t\t\tscelerisque in dictum non consectetur. Cursus metus aliquam eleifend mi. Tincidunt eget nullam non nisi. Non odio euismod lacinia at quis risus sed. Porttitor lacus luctus accumsan tortor\n\t\t\tposuere ac ut consequat semper.\n\t\t

\n\t
`;\n}\n","import { html } from \"lit-html\";\nexport function Accessibility() {\n return html`
\n\t\t

Accessibility

\n\t\t

\n\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Volutpat consequat mauris nunc congue nisi. Est placerat in\n\t\t\tegestas erat imperdiet sed euismod nisi porta. Viverra accumsan in nisl nisi scelerisque eu. Diam maecenas ultricies mi eget. Metus aliquam eleifend mi in nulla posuere sollicitudin\n\t\t\taliquam. Tincidunt tortor aliquam nulla facilisi cras fermentum odio eu. Volutpat lacus laoreet non curabitur gravida arcu. Tempor orci eu lobortis elementum nibh tellus. Orci sagittis eu\n\t\t\tvolutpat odio. Sit amet nisl purus in. In metus vulputate eu scelerisque felis imperdiet. Tortor at risus viverra adipiscing at in tellus integer feugiat. Accumsan lacus vel facilisis\n\t\t\tvolutpat est velit egestas dui id. Morbi tristique senectus et netus et malesuada fames.\n\t\t

\n\t\t

\n\t\t\tPorttitor rhoncus dolor purus non enim. Convallis convallis tellus id interdum. Purus semper eget duis at tellus at. Sed turpis tincidunt id aliquet risus. Leo integer malesuada nunc vel\n\t\t\trisus commodo viverra maecenas accumsan. Massa tempor nec feugiat nisl. Cras tincidunt lobortis feugiat vivamus at augue eget arcu. Et netus et malesuada fames ac turpis egestas. Sapien\n\t\t\tfaucibus et molestie ac. Mauris pellentesque pulvinar pellentesque habitant morbi. Massa enim nec dui nunc. Dolor sed viverra ipsum nunc aliquet bibendum. Aliquam etiam erat velit\n\t\t\tscelerisque in dictum non consectetur. Cursus metus aliquam eleifend mi. Tincidunt eget nullam non nisi. Non odio euismod lacinia at quis risus sed. Porttitor lacus luctus accumsan tortor\n\t\t\tposuere ac ut consequat semper.\n\t\t

\n\t
`;\n}\n","import i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nexport function Contact() {\n return html`
\n\t\t

${i18next.t(\"Contact\")}

\n\t\t

\n\t\t\t${unsafeHTML(\n i18next.t(\"contacts_message\", \"Specific questions: please write to {{- link_start}}{{- contactEmail}}{{- link_end}}.\", {\n link_start: ``,\n contactEmail: ClientContext.ContactEmailAddress,\n link_end: \"\"\n })\n )}\n\t\t

\n\t\t

${i18next.t(\"We look forward to helping you.\")}

\n\t
`;\n}\n","import \"./contact-account-manager.scss\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { getRouteByKey } from \"../../globals\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"./../../../shared/templates/commons\";\nexport const observedAttributes = [\"redirect\"];\nexport const name = \"ww-contact-am\";\nexport const Component = (host) => {\n const props = {\n redirect: host.redirect\n };\n return html`
\n\t\t${props.redirect ? headerTemplate() : \"\"}\n\n\t\t
\n\t\t\t${props.redirect ? html`
\n\t\t\t\t\t\t${unsafeHTML(\n i18next.t(\"ContactAccountManager\", `Please contact us {{- link_first_part}} here {{- link_second_part}} to discuss how to sign up with us.`, {\n link_first_part: ``,\n link_second_part: \"\"\n })\n )}\n\t\t\t\t
` : html`
${i18next.t(\"Please contact your account manager via email to manage your services.\")}
`}\n\t\t
\n\t\t${props.redirect ? html`
${footerTextTemplate()} ${footerLinksTemplate()}
` : \"\"}\n\t
`;\n};\n","import { EMAIL_REGEX } from \"GlobalShared/common/Constants\";\nexport function validateEmail(email) {\n return EMAIL_REGEX.test(email);\n}\n","import { useCallback } from \"GlobalShared/haunted/CustomHooks\";\nconst ERROR_SCRIPT_NOT_AVAILABLE = \"Google recaptcha is not available\";\nconst ERROR_FORM_NOT_FOUND = \"Form not found\";\nexport const useGoogleReCaptcha = (formId, action) => {\n const submitWithCaptcha = useCallback(\n (e) => {\n e.preventDefault();\n const projectWindow = window;\n const { grecaptcha } = projectWindow;\n if (!grecaptcha) {\n throw new Error(ERROR_SCRIPT_NOT_AVAILABLE);\n }\n const form = document.getElementById(formId);\n if (!form) {\n throw new Error(ERROR_FORM_NOT_FOUND);\n }\n grecaptcha.ready(() => {\n grecaptcha.execute(ClientContext.RecaptchaSiteKey, { action }).then((newToken) => {\n const element = document.getElementById(\"recaptchaToken\");\n element.value = newToken;\n form.submit();\n });\n });\n },\n [formId, action]\n );\n return submitWithCaptcha;\n};\n","import { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"./../../shared/templates/commons\";\nimport { useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { getLocalizedUrl } from \"../globals\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nimport { getParameter } from \"GlobalShared/router\";\nimport { useGoogleReCaptcha } from \"GlobalShared/reCaptcha/useGoogleReCaptcha\";\nexport const observedAttributes = [\"email\", \"error\", \"area\"];\nexport const name = \"ww-login\";\nexport const DEFAULT_LOCKOUT_TIME_IN_MINUTES = 15;\nexport const Component = (host) => {\n var _a, _b;\n const props = {\n email: host.email,\n error: host.error,\n area: host.area\n };\n const generateError = () => {\n if (props.error) {\n switch (props.error) {\n case \"User account locked out.\":\n return i18next.t(\"Your account is locked out for {{min}} minutes. Please contact our support team.\", { min: DEFAULT_LOCKOUT_TIME_IN_MINUTES });\n case \"Invalid login attempt.\":\n return i18next.t(\"The e-mail address and password do not match.\");\n default:\n return props.error;\n }\n }\n if (email && !validateEmail(email)) {\n return i18next.t(\"Please provide a valid e-mail address.\");\n }\n return void 0;\n };\n const hasError = () => {\n return !email || !password || generateError() !== void 0 ? true : false;\n };\n const [email, setEmail] = useState(props.email);\n const [password, setPassword] = useState(void 0);\n const submitWithCaptcha = useGoogleReCaptcha(\"loginForm\", \"WebLogin\");\n return html`
\n\t\t${headerTemplate()}\n\n\t\t
\n\t\t\t${getParameter(\"success\") !== void 0 ? html`
\n\t\t\t\t\t\t
${`${i18next.t(\"You have successfully registered\")}!`}
\n\t\t\t\t
` : \"\"}\n\t\t\t
${i18next.t(\"Sign in to your account\")}
\n\t\t\t
\n\t\t\t\t setEmail(e.detail.value)}>\n\t\t\t
\n\t\t\t
\n\t\t\t\t setPassword(e.detail.value)}\n\t\t\t\t>\n\t\t\t
\n\t\t\t${hasError() ? html`
\n\t\t\t\t\t\t\n\t\t\t\t
` : \"\"}\n\t\t\t
\n\t\t\t\t${unsafeHTML(\n i18next.t(\n \"login_disclaimer\",\n \"By signing in or creating an account, you accept our {{- link1_start}}General Terms of Business{{- link1_end}} and {{- link2_start}}Privacy Notice{{- link2_end}}.\",\n {\n link1_start: '',\n link1_end: \"\",\n link2_start: '',\n link2_end: \"\"\n }\n )\n )}\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t\t
${footerTextTemplate()} ${footerLinksTemplate()}
\n\t
`;\n};\n","import { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"../../shared/templates/commons\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { getLocalizedUrl } from \"../globals\";\nexport const observedAttributes = [\"error\"];\nexport const name = \"ww-email-verify\";\nexport const Component = (host) => {\n const props = {\n error: host.error\n };\n return html`
\n\t\t${headerTemplate()}\n\n\t\t
\n\t\t\t${props.error ? `${i18next.t(\"An error has occured during email verification.\")} (${props.error})` : html` ${i18next.t(\"Your email address has been successfully changed, please log out and login with your new email address to take it into effect.\")}\n\t\t\t\t\t\t${i18next.t(\"Sign in to your account\")}`}\n\t\t
\n\t\t
${footerTextTemplate()} ${footerLinksTemplate()}
\n\t
`;\n};\n","import { DIGITS, LOWERCASE_CHARACTER, SPECIAL_CHARACTER, UPPERCASE_CHARACTER } from \"GlobalShared/common/Constants\";\nconst DEFAULTS = {\n length: 8,\n complexity: 3\n};\nexport function validatePassword(password, _length, _complexity) {\n const length = _length !== void 0 ? _length : DEFAULTS.length;\n const complexity = _complexity !== void 0 ? _complexity : DEFAULTS.complexity;\n let complexityCount = 0;\n let lengthValid = false;\n if (password.length >= length) {\n lengthValid = true;\n }\n if (DIGITS.test(password)) {\n complexityCount++;\n }\n if (UPPERCASE_CHARACTER.test(password)) {\n complexityCount++;\n }\n if (LOWERCASE_CHARACTER.test(password)) {\n complexityCount++;\n }\n if (SPECIAL_CHARACTER.test(password)) {\n complexityCount++;\n }\n return lengthValid && complexityCount >= complexity;\n}\n","import { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { currentLocale, getLocalizedUrl } from \"../globals\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { validatePassword } from \"GlobalShared/validators/password-validator\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nimport { footerLinksTemplate, footerTextTemplate } from \"GlobalShared/templates/commons\";\nexport const observedAttributes = [\"email\", \"error\"];\nexport const name = \"ww-register-by-invitation\";\nexport const Component = (host) => {\n const props = {\n email: host.email,\n error: host.error\n };\n const generateError = () => {\n if (error) {\n switch (error) {\n case \"A token must be supplied\":\n return i18next.t(\"Please use the link from the invitation email!\");\n case \"User already registered\":\n return i18next.t(\"You already have an account. Please sign in\");\n case \"Token is invalid or expired\":\n return i18next.t(\"Please add the e-mail address where you received the invitation e-mail\");\n default:\n return error;\n }\n }\n if (email && !validateEmail(email)) {\n return i18next.t(\"Please provide a valid e-mail address.\");\n }\n if (password && !validatePassword(password)) {\n return i18next.t(\n \"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\"\n );\n }\n return void 0;\n };\n const hasError = () => {\n return !email || !password || generateError() !== void 0 ? true : false;\n };\n const [error, setError] = useState(void 0);\n const [email, setEmail] = useState(props.email);\n const [password, setPassword] = useState(void 0);\n useEffect(() => {\n setError(void 0);\n }, [email, password]);\n useEffect(() => {\n setError(props.error);\n }, [props.error]);\n return html`
\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\t\"KPMG\n\t\t\t\n\t\t
\n\t\t\t${html`
\n\t\t\t\t\t${unsafeHTML(\n i18next.t(\n \"register_welcome_text\",\n \"Thank you for visiting us. Please note that this is an invite-only platform. If you have not been invited but would like to sign up with KPMG, you can find out more about our offerings for Marketplace Sellers {{- link_start}}here{{- link_end}}.\",\n {\n link_start: '',\n link_end: \"\"\n }\n )\n )}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${i18next.t(\"Create your account\")}
\n\t\t\t\t\t
\n\t\t\t\t\t\t setEmail(e.detail.value)}\n\t\t\t\t\t\t>\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t setPassword(e.detail.value)}\n\t\t\t\t\t\t>\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t${hasError() ? html`
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t\t${unsafeHTML(\n i18next.t(\n \"login_disclaimer\",\n \"By signing in or creating an account, you accept our {{- link1_start}}General Terms of Business{{- link1_end}} and {{- link2_start}}Privacy Notice{{- link2_end}}.\",\n {\n link1_start: '',\n link1_end: \"\",\n link2_start: '',\n link2_end: \"\"\n }\n )\n )}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${i18next.t(\"You already have an account? Please\")}\n\t\t\t\t\t\t${i18next.t(\"sign in\")}\n\t\t\t\t\t
\n\t\t\t\t
`}\n\t\t\t
\n ${footerTextTemplate()}\n ${footerLinksTemplate()}\n\t\t\t
\n\t\t
\n\t`;\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nconst AVAILABLE_CURRENCIES_KEY = \"md_available_currencies\";\nexport const getCurrencies = (complianceMasterDataClient) => __async(void 0, null, function* () {\n const key = `${AVAILABLE_CURRENCIES_KEY}`;\n const storedCurrencies = sessionStorage[key];\n if (storedCurrencies) {\n return JSON.parse(storedCurrencies);\n } else {\n const currencies = (yield complianceMasterDataClient.getAvailableCurrencies()).data;\n sessionStorage.setItem(key, JSON.stringify(currencies));\n return currencies;\n }\n});\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { MasterData as WebMasterDataClient } from \"WebServices/APIs/self/clients/MasterData\";\nconst WORLD_COUNTRIES_KEY = \"md_world_countries\";\nconst SERVICE_COUNTRIES_KEY = \"md_service_countries\";\nconst EU_COUNTRIES_KEY = \"md_eu_countries\";\nconst BIRTH_COUNTRIES_KEY = \"md_birth_countries\";\nexport const TEST_QUESTIONNAIRE_MODEL = \"test_questionnaire_model\";\nexport const getWorldCountries = (masterDataClient, locale) => __async(void 0, null, function* () {\n const key = `${WORLD_COUNTRIES_KEY}:${locale}`;\n const storedCountries = sessionStorage[key];\n if (storedCountries) {\n return JSON.parse(storedCountries);\n } else {\n const countries = masterDataClient instanceof WebMasterDataClient ? (yield masterDataClient.getCountries({ locale })).data : (yield masterDataClient.getCountries()).data;\n countries.sort((a, b) => a.Name.localeCompare(b.Name));\n sessionStorage.setItem(key, JSON.stringify(countries));\n return countries;\n }\n});\nexport const getEuCountries = (masterDataClient, locale) => __async(void 0, null, function* () {\n const key = `${EU_COUNTRIES_KEY}:${locale}`;\n const storedCountries = sessionStorage[key];\n if (storedCountries) {\n return JSON.parse(storedCountries);\n } else {\n const countries = masterDataClient instanceof WebMasterDataClient ? (yield masterDataClient.getEuCountries({ locale })).data : (yield masterDataClient.getEuCountries()).data;\n sessionStorage.setItem(key, JSON.stringify(countries));\n return countries;\n }\n});\nexport const getServiceCountries = (masterDataClient, locale) => __async(void 0, null, function* () {\n const key = `${SERVICE_COUNTRIES_KEY}:${locale}`;\n const storedCountries = sessionStorage[key];\n if (storedCountries) {\n return JSON.parse(storedCountries);\n } else {\n const countries = masterDataClient instanceof WebMasterDataClient ? (yield masterDataClient.getServiceCountries({ locale })).data : (yield masterDataClient.getServiceCountries()).data;\n sessionStorage.setItem(key, JSON.stringify(countries));\n return countries;\n }\n});\nexport const getBirthCountries = (masterDataClient, locale) => __async(void 0, null, function* () {\n const key = `${BIRTH_COUNTRIES_KEY}:${locale}`;\n const storedCountries = sessionStorage[key];\n if (storedCountries) {\n return JSON.parse(storedCountries);\n } else {\n const countries = masterDataClient instanceof WebMasterDataClient ? (yield masterDataClient.getBirthCountries({ locale })).data : (yield masterDataClient.getBirthCountries()).data;\n sessionStorage.setItem(key, JSON.stringify(countries));\n return countries;\n }\n});\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useClient, useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { getCurrencies } from \"GlobalShared/helpers/complianceMasterDataHelper\";\nimport { getBirthCountries, getEuCountries, getServiceCountries, getWorldCountries } from \"GlobalShared/helpers/masterDataHelper\";\nimport { MasterData as MasterDataClient } from \"WebServices/APIs/self/clients/MasterData\";\nimport { ComplianceMasterData as ComplianceMasterDataClient } from \"WebServices/APIs/self/clients/ComplianceMasterData\";\nexport const useWorldCountries = (locale) => {\n const [worldCountries, setWorldCountries] = useState([]);\n const masterDataClient = useClient(MasterDataClient);\n const init = () => __async(void 0, null, function* () {\n const countries = yield getWorldCountries(masterDataClient, locale);\n setWorldCountries(countries);\n });\n useEffect(init, []);\n return worldCountries;\n};\nexport const useEUCountries = (locale) => {\n const [euCountries, setEuCountries] = useState([]);\n const masterDataClient = useClient(MasterDataClient);\n const init = () => __async(void 0, null, function* () {\n const euCountriesResponse = yield getEuCountries(masterDataClient, locale);\n setEuCountries(euCountriesResponse);\n });\n useEffect(init, []);\n return euCountries;\n};\nexport const useServiceCountries = (locale) => {\n const [serviceCountries, setServiceCountries] = useState([]);\n const masterDataClient = useClient(MasterDataClient);\n const init = () => __async(void 0, null, function* () {\n const servieCountriesResponse = yield getServiceCountries(masterDataClient, locale);\n setServiceCountries(servieCountriesResponse);\n });\n useEffect(init, []);\n return serviceCountries;\n};\nexport const useBirthCountries = (locale) => {\n const [birthCountries, setBirthCountries] = useState([]);\n const masterDataClient = useClient(MasterDataClient);\n const init = () => __async(void 0, null, function* () {\n const birthCountriesResponse = yield getBirthCountries(masterDataClient, locale);\n setBirthCountries(birthCountriesResponse);\n });\n useEffect(init, []);\n return birthCountries;\n};\nexport const useCurrencies = () => {\n const [currencies, setCurrencies] = useState([]);\n const complianceMasterDataClient = useClient(ComplianceMasterDataClient);\n const init = () => __async(void 0, null, function* () {\n const currenciesResponse = yield getCurrencies(complianceMasterDataClient);\n setCurrencies(currenciesResponse);\n });\n useEffect(init, []);\n return currencies;\n};\nexport const useEnglishWorldCountries = () => {\n const englishWorldCountries = useWorldCountries(\"en-GB\");\n return englishWorldCountries;\n};\n","import { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { currentLocale, getLocalizedUrl } from \"../globals\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { validatePassword } from \"GlobalShared/validators/password-validator\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nimport { useWorldCountries } from \"./hooks/WebCustomHooks\";\nimport { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"GlobalShared/templates/commons\";\nimport { ALPHANUMERIC_REGEX } from \"GlobalShared/common/Constants\";\nexport const observedAttributes = [\"email\", \"error\", \"registration-number\", \"registration-country\"];\nexport const name = \"ww-register-delivery-service\";\nexport const Component = (host) => {\n const props = {\n email: host.email,\n error: host.error,\n registrationCountry: host.registrationCountry,\n registrationNumber: host.registrationNumber\n };\n const validateEmailInternal = () => {\n return email && !validateEmail(email) ? i18next.t(\"Please provide a valid e-mail address.\") : void 0;\n };\n const validatePasswordInternal = () => {\n return password && !validatePassword(password) ? i18next.t(\n \"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\"\n ) : void 0;\n };\n const generateError = () => {\n var _a, _b, _c;\n return (_c = (_b = (_a = validateEmailInternal()) != null ? _a : validatePasswordInternal()) != null ? _b : validateRegistrationNumber()) != null ? _c : error;\n };\n const validateRegistrationNumber = () => {\n return registrationNumber && (registrationNumber == null ? void 0 : registrationNumber.length) > 10 || (registrationNumber == null ? void 0 : registrationNumber.length) < 7 || registrationNumber && (Array.from(registrationNumber).every((e) => e === \"0\") || !ALPHANUMERIC_REGEX.test(registrationNumber)) ? i18next.t(\"The account number seems to be invalid. Please enter a valid FedEx or TNT account number.\") : void 0;\n };\n const hasError = () => {\n return !email || !password || !registrationNumber || !registrationCountry || generateError() !== void 0;\n };\n const [email, setEmail] = useState(props.email);\n const [error, setError] = useState(void 0);\n const [password, setPassword] = useState(void 0);\n const [registrationNumber, setRegistrationNumber] = useState(props.registrationNumber);\n const [registrationCountry, setRegistrationCountry] = useState(props.registrationCountry);\n const countries = useWorldCountries(currentLocale);\n useEffect(() => {\n setError(void 0);\n }, [email, password, registrationNumber, registrationCountry]);\n useEffect(() => {\n setError(props.error);\n }, [props.error]);\n return html`
\n ${headerTemplate()}\n\t\t\t${html`
\n\t\t\t\t
${i18next.t(\"Create your account\")}
\n\t\t\t\t
\n\t\t\t\t\t setEmail(e.detail.value)}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t setPassword(e.detail.value)}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t setRegistrationNumber(e.detail.value)}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t ({\n label: country.Name,\n value: country.Code\n }))}\n\t\t\t\t\t\t.name=${\"FedexAccountCountry\"}\n\t\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t\t@change=${(e) => {\n setRegistrationCountry(e.detail.selectedValue);\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t${hasError() ? html`
\n\t\t\t\t\t\t\t\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t
\n\t\t\t\t\t${unsafeHTML(\n i18next.t(\n \"login_disclaimer\",\n \"By signing in or creating an account, you accept our {{- link1_start}}General Terms of Business{{- link1_end}} and {{- link2_start}}Privacy Notice{{- link2_end}}.\",\n {\n link1_start: '',\n link1_end: \"\",\n link2_start: '',\n link2_end: \"\"\n }\n )\n )}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t${i18next.t(\"You already have an account? Please\")}\n\t\t\t\t\t${i18next.t(\"sign in\")}\n\t\t\t\t
\n\t\t\t
`}\n\t\t\t
\n ${footerTextTemplate()}\n ${footerLinksTemplate()}\n\t\t\t
\n\t\t
\n\t`;\n};\n","import { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { currentLocale, getLocalizedUrl } from \"../globals\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { validatePassword } from \"GlobalShared/validators/password-validator\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nimport { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"GlobalShared/templates/commons\";\nexport const observedAttributes = [\"email\", \"error\", \"area\", \"type\"];\nexport const name = \"ww-register\";\nexport const Component = (host) => {\n var _a;\n const props = {\n email: host.email,\n error: host.error,\n area: host.area,\n type: host.type\n };\n const validateEmailInternal = () => {\n return email && !validateEmail(email) ? i18next.t(\"Please provide a valid e-mail address.\") : void 0;\n };\n const validatePasswordInternal = () => {\n return password && !validatePassword(password) ? i18next.t(\n \"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\"\n ) : void 0;\n };\n const generateError = () => {\n var _a2, _b;\n return (_b = (_a2 = validateEmailInternal()) != null ? _a2 : validatePasswordInternal()) != null ? _b : error;\n };\n const hasError = () => {\n return !email || !password || generateError() !== void 0;\n };\n const [error, setError] = useState(void 0);\n const [email, setEmail] = useState(props.email);\n const [password, setPassword] = useState(void 0);\n useEffect(() => {\n setError(void 0);\n }, [email, password]);\n useEffect(() => {\n setError(props.error);\n }, [props.error]);\n return html`
\n ${headerTemplate()}\n\t\t\t${html`
\n\t\t\t\t
${i18next.t(\"Create your account\")}
\n\t\t\t\t
\n\t\t\t\t\t setEmail(e.detail.value)}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t setPassword(e.detail.value)}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t${props.area !== void 0 ? html`` : \"\"}\n\t\t\t\t${props.type !== void 0 ? html`` : \"\"}\n\t\t\t\t${hasError() ? html`
\n\t\t\t\t\t\t\t\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t
\n\t\t\t\t\t${unsafeHTML(\n i18next.t(\n \"login_disclaimer\",\n \"By signing in or creating an account, you accept our {{- link1_start}}General Terms of Business{{- link1_end}} and {{- link2_start}}Privacy Notice{{- link2_end}}.\",\n {\n link1_start: '',\n link1_end: \"\",\n link2_start: '',\n link2_end: \"\"\n }\n )\n )}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t${i18next.t(\"You already have an account? Please\")}\n\t\t\t\t\t${i18next.t(\"sign in\")}\n\t\t\t\t
\n\t\t\t
`}\n\t\t\t
\n ${footerTextTemplate()}\n ${footerLinksTemplate()}\n\t\t\t
\n\t\t
\n\t`;\n};\n","import { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"./../../shared/templates/commons\";\nimport { getParameter } from \"GlobalShared/router\";\nimport { useState } from \"haunted\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { unsafeHTML } from \"lit-html/directives/unsafe-html\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nexport const observedAttributes = [\"error\", \"area\"];\nexport const name = \"ww-forgot-password\";\nexport const Component = (host) => {\n const props = {\n error: host.error,\n area: host.area\n };\n const generateError = () => {\n if (props.error) {\n switch (props.error) {\n case \"Invalid email.\":\n return i18next.t(\"It looks like there is no account with this email address.\");\n case \"Account is not confirmed yet.\":\n return i18next.t(\"Please confirm your email address.\");\n default:\n return props.error;\n }\n }\n if (email && !validateEmail(email)) {\n return i18next.t(\"Please provide a valid e-mail address.\");\n }\n return void 0;\n };\n const hasError = () => {\n return generateError() === void 0 ? false : true;\n };\n const [email, setEmail] = useState(void 0);\n return html`
\n\t\t${getParameter(\"success\") !== void 0 ? html`${headerTemplate()}\n\t\t\t\t\t
${i18next.t(\"Password reset email sent. Please check your inbox.\")}
\n\t\t\t\t\t
\n\t\t\t\t\t\t${unsafeHTML(\n i18next.t(\"forgot_pw_resend\", \"If you haven't received the reset e-mail, please click {{- link_start}}here{{- link_end}} to resend or contact us at {{- contactEmail}}\", {\n link_start: '\"\n })\n )}\n\t\t\t\t\t
` : html`${headerTemplate()}\n\t\t\t\t\t
\n\t\t\t\t\t\t
${i18next.t(\"Password Recovery\")}
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t setEmail(e.detail.value)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t${props.area !== void 0 ? html`` : \"\"}\n\t\t\t\t\t\t${hasError() ? html`
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
${footerTextTemplate()} ${footerLinksTemplate()}
`}\n\t
`;\n};\n","import { footerLinksTemplate, footerTextTemplate, headerTemplate } from \"./../../shared/templates/commons\";\nimport { getParameter } from \"GlobalShared/router\";\nimport { useState } from \"haunted\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { getLocalizedUrl } from \"../globals\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nimport { validatePassword } from \"GlobalShared/validators/password-validator\";\nexport const observedAttributes = [\"email\", \"error\", \"area\"];\nexport const name = \"ww-reset-password\";\nexport const Component = (host) => {\n var _a;\n const props = {\n email: host.email,\n error: host.error,\n area: host.area\n };\n const generateError = () => {\n if (props.error) {\n return props.error;\n }\n if (email && !validateEmail(email)) {\n return i18next.t(\"Please provide a valid e-mail address.\");\n }\n if (password && !validatePassword(password)) {\n return i18next.t(\n \"Password must be at least 8 digits long and contain any three of the following four qualities: Uppercase Characters, Lowercase Characters, Alphanumeric Characters, Special Characters.\"\n );\n }\n if (password && confirmPassword && password !== confirmPassword) {\n return i18next.t(\"The two passwords must be the same.\");\n }\n return void 0;\n };\n const hasError = () => {\n return !email || !password || !confirmPassword || generateError() !== void 0 ? true : false;\n };\n const [email, setEmail] = useState(props.email);\n const [password, setPassword] = useState(void 0);\n const [confirmPassword, setConfirmPassword] = useState(void 0);\n return html`\n\t\t
\n\t\t\t${headerTemplate()}\n\t\t\t${getParameter(\"success\") !== void 0 ? html`\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${i18next.t(\"Password successfully reset\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t ${i18next.t(\"Sign in\")} \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t ` : html`\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${i18next.t(\"Reset Password\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t setEmail(e.detail.value)}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t setPassword(e.detail.value)}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t setConfirmPassword(e.detail.value)}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${props.area !== void 0 ? html`` : \"\"}\n\t\t\t\t\t\t\t${hasError() ? html`
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
${footerTextTemplate()} ${footerLinksTemplate()}
\n\t\t\t\t `}\n\t\t
\n\t`;\n};\n","import { webLanguages } from \"GlobalShared/helpers/webLocaleHelper\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport cookie from \"js-cookie\";\nimport { currentLanguage } from \"../globals\";\nimport i18next from \"i18next\";\nimport { getParameter } from \"GlobalShared/router\";\nexport const useShadowDOM = false;\nexport const name = \"ww-language-select\";\nexport const Component = (host) => {\n const flagUrl = (lang) => `/images/${lang}_flag.svg`;\n const [languageMenuOpen, setLanguageMenuOpen] = useState(false);\n const [showLanguageAlertModal, setShowLanguageAlertModal] = useState(false);\n const [selectedLanguage, setSelectedLanguage] = useState(void 0);\n const init = () => {\n const onClickedOutside = (e) => {\n if (!host.contains(e.target)) {\n setLanguageMenuOpen(false);\n }\n };\n const onCloseOnEscKey = (e) => {\n if (e.key === \"Escape\") {\n setLanguageMenuOpen(false);\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n document.addEventListener(\"click\", onClickedOutside);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n document.removeEventListener(\"click\", onClickedOutside);\n };\n };\n useEffect(init, []);\n const onToggleLanguageMenu = () => {\n setLanguageMenuOpen(!languageMenuOpen);\n };\n const changeLanguage = (lang) => {\n cookie.set(\"lang\", `c=${lang.locale}|uic=${lang.locale}`, { expires: 365, secure: true });\n window.location.href = `/${lang.country}/${lang.lang}/${window.location.pathname.substring(\"/gb/en/\".length)}${window.location.search}`;\n };\n const onChangeLanguage = (e, lang) => {\n e.preventDefault();\n e.stopPropagation();\n if (getParameter(\"lnglrt\") === \"true\") {\n setShowLanguageAlertModal(true);\n setSelectedLanguage(lang);\n } else {\n changeLanguage(lang);\n }\n };\n const languageChangeAlertModalTemplate = () => html`\n\t\t setShowLanguageAlertModal(false)}\n\t\t\t.visible=${showLanguageAlertModal}\n\t\t\t.showHeader=${false}\n\t\t\t.customClass=${\"language-alert\"}\n\t\t\t.content=${html`\n\t\t\t\t
\n\t\t\t\t\t
${i18next.t(\"Please note that any changes you made will be lost if you switch to another language.\")}
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t`}\n\t\t>\n\t`;\n return html`
\n\t\t
\n\t\t\t\n\t\t\t${currentLanguage.name}\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t${Object.keys(webLanguages).filter((key) => webLanguages[key].locale !== currentLanguage.locale).map((key) => {\n const lang = webLanguages[key];\n return html`\n\t\t\t\t\t\t onChangeLanguage(e, lang)} class=\"ww-language-select-dropdown-item\">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t${lang.name}\n\t\t\t\t\t\t\n\t\t\t\t\t`;\n })}\n\t\t
\n\t\t${languageChangeAlertModalTemplate()}\n\t
`;\n};\n","export class InviteUser {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof InviteUser\n */\n this.$type = \"V1.Account.InviteUser\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"CompanyIds\"] && _data[\"CompanyIds\"].constructor === Array) {\n this.CompanyIds = [];\n for (let item of _data[\"CompanyIds\"]) {\n this.CompanyIds.push(item);\n }\n }\n this.Email = _data[\"Email\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.CompanyIds && this.CompanyIds.constructor === Array) {\n _data[\"CompanyIds\"] = [];\n for (let item of this.CompanyIds) {\n _data[\"CompanyIds\"].push(item);\n }\n }\n _data[\"Email\"] = this.Email;\n return _data;\n }\n}\n","export class Field {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Field\n */\n this.$type = \"V1.Account.Search.Field\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Order = FieldOrder[_data[\"Order\"]];\n this.OrderByField = FieldOrderByField[_data[\"OrderByField\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Order\"] = FieldOrder[this.Order];\n _data[\"OrderByField\"] = FieldOrderByField[this.OrderByField];\n return _data;\n }\n}\nexport var FieldOrder = /* @__PURE__ */ ((FieldOrder2) => {\n FieldOrder2[\"Ascending\"] = \"Ascending\";\n FieldOrder2[\"Descending\"] = \"Descending\";\n return FieldOrder2;\n})(FieldOrder || {});\nexport var FieldOrderByField = /* @__PURE__ */ ((FieldOrderByField2) => {\n FieldOrderByField2[\"Email\"] = \"Email\";\n return FieldOrderByField2;\n})(FieldOrderByField || {});\n","export class Filter {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Filter\n */\n this.$type = \"V1.Account.Search.Filter\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Company = _data[\"Company\"];\n this.EmailPart = _data[\"EmailPart\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Company\"] = this.Company;\n _data[\"EmailPart\"] = this.EmailPart;\n return _data;\n }\n}\n","import { Field } from \"./Field\";\nexport class Pager {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Pager\n */\n this.$type = \"V1.Account.Search.Pager\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"OrderBy\"] && _data[\"OrderBy\"].constructor === Array) {\n this.OrderBy = [];\n for (let item of _data[\"OrderBy\"]) {\n const orderBy_ = new Field();\n this.OrderBy.push(orderBy_.init(item));\n }\n }\n this.Skip = _data[\"Skip\"];\n this.Top = _data[\"Top\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.OrderBy && this.OrderBy.constructor === Array) {\n _data[\"OrderBy\"] = [];\n for (let item of this.OrderBy) {\n _data[\"OrderBy\"].push(item.toJSON());\n }\n }\n _data[\"Skip\"] = this.Skip;\n _data[\"Top\"] = this.Top;\n return _data;\n }\n}\n","import { Filter } from \"./Filter\";\nimport { Pager } from \"./Pager\";\nexport class SearchRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchRequest\n */\n this.$type = \"V1.Account.Search.SearchRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Filter\"]) {\n const filter_ = new Filter();\n this.Filter = filter_.init(_data[\"Filter\"]);\n }\n if (_data[\"Pager\"]) {\n const pager_ = new Pager();\n this.Pager = pager_.init(_data[\"Pager\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Filter\"] = this.Filter ? this.Filter.toJSON() : void 0;\n _data[\"Pager\"] = this.Pager ? this.Pager.toJSON() : void 0;\n return _data;\n }\n}\n","export class UpdateEmail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof UpdateEmail\n */\n this.$type = \"V1.Account.UpdateEmail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Email = _data[\"Email\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Email\"] = this.Email;\n return _data;\n }\n}\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useClient, useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { getCurrentFullPath } from \"GlobalShared/router\";\nimport { Account as AccountClient } from \"WebServices/APIs/self/clients\";\nimport i18next from \"i18next\";\nimport \"./profile-select.scss\";\nimport { extractFirstErrorMessage, notifyError, notifySuccess, notifyWarning, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { validateEmail } from \"GlobalShared/validators/email-validator\";\nimport { UpdateEmail } from \"WebServices/APIs/self/models/V1/Account\";\nexport const observedAttributes = [];\nexport const useShadowDOM = false;\nexport const name = \"ww-profile-select\";\nexport const Component = (host) => {\n const saveNewEmail = () => __async(void 0, null, function* () {\n setEmailValidationMessage(\"\");\n if (validateEmail(newEmail)) {\n yield withErrorHandling(\n () => __async(void 0, null, function* () {\n accountClient.changeEmail({\n body: new UpdateEmail({\n Email: newEmail\n })\n });\n notifySuccess(i18next.t(\"Email change request sent to your new email address. Please check your new inbox\"));\n }),\n (error) => {\n if (error.statusCode === 409) {\n notifyError(i18next.t(\"Email already exists\"));\n } else {\n if (error.statusCode >= 400 && error.statusCode < 500) {\n notifyWarning(extractFirstErrorMessage(error, i18next.t(\"Error occured\")));\n } else {\n notifyError(error);\n }\n }\n },\n () => {\n setShowEmailChangeModal(false);\n }\n );\n } else {\n setEmailValidationMessage(i18next.t(\"Invalid email format\"));\n }\n });\n const onToggleProfileMenu = () => {\n setProfileMenuOpen(!profileMenuOpen);\n };\n const [profileMenuOpen, setProfileMenuOpen] = useState(false);\n const [newEmail, setNewEmail] = useState(void 0);\n const [showEmailChangeModal, setShowEmailChangeModal] = useState(false);\n const [emailValidationMessage, setEmailValidationMessage] = useState(\"\");\n const accountClient = useClient(AccountClient);\n const init = () => {\n const onClickedOutside = (e) => {\n if (!host.contains(e.target)) {\n setProfileMenuOpen(false);\n }\n };\n const onCloseOnEscKey = (e) => {\n if (e.key === \"Escape\") {\n setProfileMenuOpen(false);\n }\n };\n document.addEventListener(\"keyup\", onCloseOnEscKey, true);\n document.addEventListener(\"click\", onClickedOutside);\n return () => {\n document.removeEventListener(\"keyup\", onCloseOnEscKey);\n document.removeEventListener(\"click\", onClickedOutside);\n };\n };\n useEffect(init, []);\n const htmlEmailChangeModal = () => {\n if (showEmailChangeModal) {\n return html`\n\t\t\t\t
\n\t\t\t\t\t {\n setShowEmailChangeModal(false);\n }}\n\t\t\t\t\t\t.header=${i18next.t(\"Change email address\")}\n\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t {\n setNewEmail(e.detail.value);\n }}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t {\n setShowEmailChangeModal(false);\n }}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t${i18next.t(\"Cancel\")}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`}\n\t\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t`;\n } else {\n return html``;\n }\n };\n return html`
\n\t\t\n\t\t\t${ClientContext.UserName}\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t {\n setProfileMenuOpen(false);\n setShowEmailChangeModal(true);\n setNewEmail(\"\");\n }}\n\t\t\t\t>\n\t\t\t\t\t${i18next.t(\"Change email address\")}\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t\t${htmlEmailChangeModal()}\n\t
`;\n};\n","import { getLocalizedUrl, alreadySignedUp, questionnaireCompleted } from \"../../globals\";\nimport { html } from \"lit-html\";\nimport i18next from \"i18next\";\nimport { useQueryState } from \"GlobalShared/haunted/CustomHooks\";\nexport function AdminHome() {\n const [isNewCompany] = useQueryState(\"newcompany\", false);\n const welcomeTemplate = () => {\n return html`
\n\t\t\t
${i18next.t(\"Fill out the Questionnaire\")}
\n\t\t\t
${i18next.t(\"Thank you for signing up for KPMG registration and compliance services.\")}
\n\t\t\t
\n\t\t\t\t${i18next.t(\"You will shortly receive a welcome e-mail from your dedicated account manager; please feel free to contact them for any questions you might have.\")}\n\t\t\t
\n\t\t\t
\n\t\t\t\t${i18next.t(\n \"To get started, you should provide details of your business by completing the Seller questionnaire on the next pages. This information is required to set you up as a KPMG client, issue your invoice as well as to register you. Each page must be completed before progressing to the next page and you can review your answers at the end before submitting them.\"\n )}\n\t\t\t
\n\t\t\t
\n\t\t\t\t${i18next.t(\n \"We estimate that the questionnaire will take approximately 20 minutes to complete. To be able to answer all questions, we suggest having the following documents to hand:\"\n )}\n\t\t\t
\n\t\t\t
    \n\t\t\t\t
  • ${i18next.t(\"Business incorporation documents (if appropriate)\")}
  • \n\t\t\t\t
  • ${i18next.t(\"Passport/ID of the legal representative of the business\")}
  • \n\t\t\t\t
  • ${i18next.t(\"VAT registration certificate for your home country (if appropriate)\")}
  • \n\t\t\t\t
  • ${i18next.t(\"A bank statement showing your bank account information (if appropriate)\")}
  • \n\t\t\t
\n\t\t\t
\n\t\t\t\t${i18next.t(\"If you are unsure how to answer a question, please contact us on {{- contactEmail}} e-mail address.\", { contactEmail: ClientContext.ContactEmailAddress })}\n\t\t\t
\n\t\t\t {\n window.location.href = getLocalizedUrl(\"/admin/business-details\");\n }}\n\t\t\t>\n\t\t\t\t${i18next.t(\"Start Questionnaire\")}\n\t\t\t\n\t\t
`;\n };\n const signupTemplate = () => {\n return html``;\n };\n return html`
\n\t\t${isNewCompany ? signupTemplate() : html`${alreadySignedUp() ? questionnaireCompleted() ? window.location.href = getLocalizedUrl(\"/admin/services\") : welcomeTemplate() : signupTemplate()}`}\n\t
`;\n}\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { notifyError, notifySuccess, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { leftPad } from \"GlobalShared/helpers/stringHelper\";\nimport { useState } from \"haunted\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { useEffect, useLoadingReducer, useRef } from \"GlobalShared/haunted/CustomHooks\";\nimport { ref } from \"GlobalShared/haunted/HooksHelpers\";\nconst RADIO_PAYMENT_INPUT_NAME = \"radio-payment-input\";\nconst RADIO_PAYMENT_INPUT_ID_PREFIX = \"radio_payment_input_\";\nlet moduleScopeTotalPrice;\nexport const useOrderSummary = (props) => {\n const radioPaymentInputId = (index) => `${RADIO_PAYMENT_INPUT_ID_PREFIX}${index}`;\n const canConfirmOrder = () => {\n return selectedPayment === \"BankTransferPayment\" && !paymentPending && isValidSummary && !confirmOrderActionInProgress;\n };\n const isSimpleConfirmButtonVisible = () => {\n return selectedPayment === \"BankTransferPayment\";\n };\n const resetSummary = () => {\n setSelectedPayment(void 0);\n setContractDownloaded(false);\n setContractUploaded(false);\n setTAndCAccepted(false);\n setGdprAccepted(false);\n };\n const isPayPalConfirmButtonVisible = () => {\n return selectedPayment === \"PayPalPayment\" && isValidSummary;\n };\n const payWithBankTransfer = () => __async(void 0, null, function* () {\n withErrorHandling(\n () => __async(void 0, null, function* () {\n var _a;\n if (selectedPayment && selectedPayment === \"BankTransferPayment\") {\n if (!paymentPending) {\n setPaymentPending(true);\n const tempPayment = {\n type: \"BankTransferPayment\",\n quotedPrice: paymentInfo.totalPrice\n };\n setConfirmOrderActionInProgress(true);\n yield props.payAndConfirm(tempPayment, (_a = props.order) == null ? void 0 : _a.Id);\n }\n }\n }),\n (error) => {\n notifyError(error);\n },\n () => {\n setConfirmOrderActionInProgress(false);\n }\n );\n });\n const payWithPayPal = (reference) => __async(void 0, null, function* () {\n withErrorHandling(\n () => __async(void 0, null, function* () {\n var _a;\n if (!paymentPending) {\n setPaymentPending(true);\n const tempPayment = {\n type: \"PayPalPayment\",\n quotedPrice: paymentInfo.totalPrice,\n reference\n };\n yield props.payAndConfirm(tempPayment, (_a = props.order) == null ? void 0 : _a.Id);\n }\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const uploadContract = (blob, fileName) => __async(void 0, null, function* () {\n if (!contractDownloaded) {\n const file = new File([blob], `${fileName}.pdf`, { type: blob.type });\n withErrorHandling(\n () => __async(void 0, null, function* () {\n var _a;\n yield props.uploadContract((_a = props.order) == null ? void 0 : _a.Id, file);\n setContractUploaded(true);\n }),\n (error) => {\n notifyError(error);\n }\n );\n }\n });\n const [selectedPayment, setSelectedPayment] = useState(void 0);\n const [tAndCAccepted, setTAndCAccepted] = useState(false);\n const [gdprAccepted, setGdprAccepted] = useState(false);\n const [contractDownloaded, setContractDownloaded] = useState(false);\n const [contractUploaded, setContractUploaded] = useState(false);\n const [paymentPending, setPaymentPending] = useState(false);\n const [paymentInfo, setPaymentInfo] = useState(void 0);\n const [loading, dispatchLoading] = useLoadingReducer();\n const payPalButtonContainer = useRef(void 0);\n const previousPayPalButtonContainer = useRef(void 0);\n const [isValidSummary, setIsValidSummary] = useState(false);\n const [confirmOrderActionInProgress, setConfirmOrderActionInProgress] = useState(false);\n useEffect(() => {\n setIsValidSummary(props.isParentValid && tAndCAccepted && gdprAccepted && contractDownloaded && (props.hasContractReference || contractUploaded));\n }, [props.isParentValid, tAndCAccepted, gdprAccepted, contractDownloaded, props.hasContractReference, contractUploaded]);\n useEffect(() => {\n if ((paymentInfo == null ? void 0 : paymentInfo.availablePaymentTypes.some((s) => s === \"PayPalPayment\")) && selectedPayment === \"PayPalPayment\" && isValidSummary && payPalButtonContainer.current !== void 0 && previousPayPalButtonContainer.current !== payPalButtonContainer.current) {\n const ppbc = document.getElementById(\"paypal-button-container\");\n if (ppbc !== null) {\n window.paypal.Buttons({\n createOrder: (_data, actions) => {\n dispatchLoading(\"inc\");\n return actions.order.create({\n purchase_units: [\n {\n amount: {\n currency_code: moduleScopeTotalPrice.Currency,\n value: moduleScopeTotalPrice.Value\n }\n }\n ]\n });\n },\n onApprove: (_data, actions) => {\n return actions.order.capture().then((details) => {\n var _a, _b, _c;\n const transactionId = (_c = (_b = (_a = details == null ? void 0 : details.purchase_units[0]) == null ? void 0 : _a.payments) == null ? void 0 : _b.captures[0]) == null ? void 0 : _c.id;\n dispatchLoading(\"dec\");\n notifySuccess(i18next.t(\"Payment successful! We will redirect you in a few seconds.\"));\n payWithPayPal(transactionId);\n });\n },\n onCancel: (_data) => {\n dispatchLoading(\"dec\");\n },\n onError: (err) => {\n dispatchLoading(\"dec\");\n notifyError(err);\n }\n }).render(\"#paypal-button-container\");\n previousPayPalButtonContainer.current = payPalButtonContainer.current;\n }\n }\n }, [paymentInfo, payPalButtonContainer.current, selectedPayment, isValidSummary]);\n useEffect(() => {\n if (paymentInfo) {\n moduleScopeTotalPrice = paymentInfo.totalPrice;\n }\n }, [paymentInfo]);\n useEffect(() => __async(void 0, null, function* () {\n var _a, _b;\n if ((_a = props.order) == null ? void 0 : _a.Id) {\n try {\n dispatchLoading(\"inc\");\n const pi = yield props.getPaymentInfo((_b = props.order) == null ? void 0 : _b.Id);\n setPaymentInfo(pi);\n } catch (error) {\n if (error.statusCode !== 409) {\n notifyError(error);\n }\n } finally {\n dispatchLoading(\"dec\");\n }\n }\n }), [props.order]);\n const confirmButtonTemplate = () => {\n return html`\n\t\t\t${isSimpleConfirmButtonVisible() ? html` {\n payWithBankTransfer();\n }}\n\t\t\t\t\t\t?disabled=${!canConfirmOrder()}\n\t\t\t\t >\n\t\t\t\t\t\t${confirmOrderActionInProgress ? `${i18next.t(\"Saving\")}...` : i18next.t(\"Confirm Order\")}\n\t\t\t\t ` : \"\"}\n\t\t\t${isPayPalConfirmButtonVisible() ? html`
\n\t\t\t\t\t\t${i18next.t(\"Confirm order and pay with\")}\n\t\t\t\t\t\t
\n\t\t\t\t
` : \"\"}\n\t\t`;\n };\n const mainTemplate = () => {\n var _a;\n return html`
${i18next.t(\"Pay with\")}
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t${paymentInfo === void 0 ? html`
${i18next.t(\"Loading\")}...
` : \"\"}\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\n\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\n\n\t\t\t\t\t${selectedPayment && selectedPayment === \"BankTransferPayment\" ? html`
\n\t\t\t\t\t\t\t\t

${i18next.t(\"Bank account holder name\")}: KPMG GLobal Services Hungary Kft.

\n\t\t\t\t\t\t\t\t

${i18next.t(\"Bank account holder address\")}: Váci út 41, 1134 Budapest, Hungary

\n\t\t\t\t\t\t\t\t

${i18next.t(\"IBAN\")}: ES02 0081 0603 0200 0144 7845

\n\t\t\t\t\t\t\t\t

${i18next.t(\"BIC\")}: BSABESBB

\n\t\t\t\t\t\t\t\t

${i18next.t(\"Bank name\")}: Banco Sabadell

\n\t\t\t\t\t\t\t\t

${i18next.t(\"Bank address\")}: Barcelona Via Laietana, Oficina Empreses, Via Laietana, 47 1ª Planta, 08003 Barcelona, Spain

\n\t\t\t\t\t\t\t\t

${i18next.t(\"Payment reference\")}: ${leftPad(props.companyId, 6, \"0\")}

\n\t\t\t\t\t\t
` : \"\"}\n\n\t\t\t\t\t
\n\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a2;\n if (props.isSignup) {\n const { blob, fileName } = yield props.generateContractPdf();\n setContractDownloaded(true);\n uploadContract(blob, fileName);\n } else {\n if (props.hasContractReference) {\n props.downloadContract((_a2 = props.order) == null ? void 0 : _a2.Id);\n setContractDownloaded(true);\n } else {\n const { blob, fileName } = yield props.generateContractPdf();\n setContractDownloaded(true);\n uploadContract(blob, fileName);\n }\n }\n })}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${i18next.t(\"Download Contract\")}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t {\n setTAndCAccepted(e.detail.checked);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n setGdprAccepted(e.detail.checked);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${i18next.t(\n \"I unconditionally give my consent to KPMG Global Services Hungary (KGSH) to process and keep my personal data, as listed or referred to in the Data Protection terms, beyond my entity's current registration with the Tax Authorities, in order to enable KGSH to use such data for future registration(s), but for no longer a period of time than the official expiry/invalidity of such data or for a maximum of 10 years.\"\n )}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${props.priceBreakdownTemplate()}\n\t\t\t\t\t\t
${confirmButtonTemplate()}
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t${loading.count > 0 ? html`` : \"\"}\n\t\t\t`;\n };\n return { mainTemplate, resetSummary };\n};\n","import i18next from \"i18next\";\nimport { html } from \"lit-html\";\nconst priceLine = (label, value, tooltip) => {\n return html`
\n\t\t
${label} ${tooltip !== void 0 ? html`` : \"\"}
\n\t\t
€ ${value}
\n\t
`;\n};\nexport const priceBreakdownTemplate = (summary) => {\n if (summary === void 0) {\n return html``;\n }\n return html`\n\t\t
\n\t\t\t
${i18next.t(\"Order Summary\")}
\n\t\t\t
\n\t\t\t
\n\t\t\t\t${summary.countries ? summary.countries.filter((c) => c.total > 0).map(\n (country) => html`\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t${priceLine(country.label, country.total)}\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${country.fiscalRep > 0 ? priceLine(\n i18next.t(\"Fiscal representation\"),\n country.fiscalRep,\n i18next.t(\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\")\n ) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.filingAgent > 0 ? priceLine(i18next.t(\"Filing agent\"), country.filingAgent) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.spanishBankAccount > 0 ? priceLine(\n i18next.t(\"Spanish VAT Payment Service\"),\n country.spanishBankAccount,\n i18next.t(\n \"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG\\u2019s payment support service to ensure VAT payments and submissions are processed properly.\"\n )\n ) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.retro > 0 ? country.label === \"Italy\" ? priceLine(\n i18next.t(\"Retrospective Return\"),\n country.retro,\n i18next.t(\n \"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\"\n )\n ) : priceLine(i18next.t(\"Retrospective Return\"), country.retro) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.intrastat > 0 ? priceLine(i18next.t(\"Intrastat Report\"), country.intrastat) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.homeCountryCompliance > 0 ? priceLine(i18next.t(\"Home country compliance\"), country.homeCountryCompliance) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.monthlyCompliance > 0 ? priceLine(i18next.t(\"Monthly country compliance\"), country.monthlyCompliance) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.selfRevision > 0 ? priceLine(i18next.t(\"Self Revision / Retrospective Returns\"), country.selfRevision) : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${country.deregistration > 0 ? priceLine(i18next.t(\"Deregistration\"), country.deregistration) : \"\"}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t`\n ) : \"\"}\n\t\t\t\t${summary.eori ? html`
${priceLine(i18next.t(\"EORI number application in the EU\"), summary.eori)}
` : \"\"}\n\t\t\t\t${summary.ukEori ? html`
${priceLine(i18next.t(\"EORI number application in the UK\"), summary.ukEori)}
` : \"\"}\n\t\t\t\t${summary.ioss ? html`
\n\t\t\t\t\t\t\t${priceLine(\n i18next.t(\"IOSS Compliance & Registration\"),\n summary.ioss,\n summary.isIossTier0 ? i18next.t(\"This is the IOSS registration fee only. Monthly compliance fees will be charged separately. Detailed instructions will follow\") : i18next.t(\"Total fee includes the registration fee and the monthly compliance fees up to the selected package amount.\")\n )}\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t${summary.iossDeregistration ? html`
${priceLine(i18next.t(\"IOSS Deregistration\"), summary.iossDeregistration)}
` : \"\"}\n\t\t\t\t${summary.changeCompanyDetail ? html`
${priceLine(i18next.t(\"Change Company Detail\"), summary.changeCompanyDetail)}
` : \"\"}\n\t\t\t\t${summary.generalVatAdvice ? html`
${priceLine(i18next.t(\"General VAT Advice\"), summary.generalVatAdvice)}
` : \"\"}\n\t\t\t\t${summary.specialistVatAdvice ? html`
${priceLine(i18next.t(\"Specialist VAT Advice\"), summary.specialistVatAdvice)}
` : \"\"}\n\t\t\t\t${summary.communicatingWithTaxAuthorities ? html`
${priceLine(i18next.t(\"Communicating with Tax Authorities\"), summary.communicatingWithTaxAuthorities)}
` : \"\"}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
${i18next.t(\"Sub-total\")}
\n\t\t\t\t\t\t
€ ${summary.subTotal}
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
${i18next.t(\"VAT\")}
\n\t\t\t\t\t\t
€ ${summary.vat}
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${i18next.t(\"Total fee\")}
\n\t\t\t\t\t
€ ${summary.total}
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t`;\n};\n","export const colorWhite = [255, 255, 255];\nexport const colorBlack = [0, 0, 0];\nexport const colorDarkGray = [166, 166, 166];\nexport const colorLightGray = [224, 224, 224];\nexport const colorUrlBlue = [22, 7, 255];\nexport const colorRed = [209, 52, 56];\nconst indentForNumberedTextBox = 6;\nexport const iossTermsAndConditions = \"https://www.kpmg-vat-compliance.com/Content/documents/KGSH-GToB-DPR-en.pdf\";\nexport const privacyStatement = \"https://home.kpmg/content/dam/kpmg/hu/pdf/KGSH_Privacy_Statement_v2.pdf\";\nexport const textCentered = (doc, text, y) => {\n doc.text(text, doc.internal.pageSize.width / 2, y, {\n align: \"center\"\n });\n};\nexport const titleText = (text, x, y, doc) => {\n doc.setFont(doc.getFont().toString(), \"bold\");\n doc.text(text, x, y);\n doc.setFont(doc.getFont().toString(), \"normal\");\n};\nexport const numberedParagraph = (data, paragraphY, paragraphX, textBoxWidth, marginBetweenTextBoxes, doc) => {\n let textBoxY = paragraphY;\n for (const textBox of data) {\n numberedTextBox(textBox.displayNumber, textBox.text, paragraphX, textBoxY, textBoxWidth, doc);\n textBoxY = textBoxY + calculateTextBoxHeight(textBox.text, textBoxWidth, doc.getLineHeightFactor(), doc.getFontSize()) + marginBetweenTextBoxes;\n }\n};\nexport const unorderedParagraph = (data, paragraphY, paragraphX, textBoxWidth, marginBetweenTextBoxes, doc) => {\n let textBoxY = paragraphY;\n for (const textBox of data) {\n unorderedTextBox(textBox, paragraphX, textBoxY, textBoxWidth, doc);\n textBoxY = textBoxY + calculateTextBoxHeight(textBox, textBoxWidth, doc.getLineHeightFactor(), doc.getFontSize()) + marginBetweenTextBoxes;\n }\n};\nexport const alphabeticalParagraph = (data, paragraphY, paragraphX, textBoxWidth, marginBetweenTextBoxes, doc) => {\n let textBoxY = paragraphY;\n for (const textBox of data) {\n alphabeticalTextBox(textBox.symbol, textBox.text, paragraphX, textBoxY, textBoxWidth, doc);\n textBoxY = textBoxY + calculateTextBoxHeight(textBox.text, textBoxWidth, doc.getLineHeightFactor(), doc.getFontSize()) + marginBetweenTextBoxes;\n }\n};\nconst calculateTextBoxHeight = (text, paragraphWidth, lineHeight, fontSize) => {\n const ptToMm = 2.834;\n const fontSizeHeight = fontSize / ptToMm;\n const textWidth = calculateStringWidth(text, fontSize);\n const numberOfRows = Math.ceil(textWidth / paragraphWidth);\n return Math.round(numberOfRows * fontSizeHeight * lineHeight);\n};\nconst calculateStringWidth = (text, fontSize) => {\n const ptToPx = 1.364;\n const pxToMm = 3.7;\n const context = document.createElement(\"canvas\").getContext(\"2d\");\n context.font = `${fontSize * ptToPx}px times new roman`;\n return Math.round(context.measureText(text).width / pxToMm);\n};\nexport const numberedTextBox = (index, text, x, y, maxWidth, doc) => {\n doc.text(`${index.toString()}.`, x, y);\n doc.text(makeLastLineNotStickOut(text), x + indentForNumberedTextBox, y, {\n align: \"justify\",\n maxWidth,\n lineHeightFactor: 1.4\n });\n};\nexport const unorderedTextBox = (text, x, y, maxWidth, doc) => {\n doc.text(`-`, x + 1, y);\n doc.text(makeLastLineNotStickOut(text), x + 5, y, {\n align: \"justify\",\n maxWidth,\n lineHeightFactor: 1.4\n });\n};\nexport const alphabeticalTextBox = (orderLetter, text, x, y, maxWidth, doc) => {\n doc.text(`${orderLetter}`, x, y);\n doc.text(makeLastLineNotStickOut(text), x + indentForNumberedTextBox, y, {\n align: \"justify\",\n maxWidth,\n lineHeightFactor: 1.4\n });\n};\nexport const linkText = (urlText, urlPath, x, y, maxWidth, doc) => {\n const urlTextLength = calculateStringWidth(urlText, doc.getFontSize());\n doc.setTextColor(...colorUrlBlue);\n doc.textWithLink(urlText, x, y, {\n url: urlPath,\n align: \"justify\",\n maxWidth,\n lineHeightFactor: 1.4\n });\n if (urlTextLength < maxWidth) {\n doc.setDrawColor(...colorUrlBlue);\n doc.line(x, y + 1, x + urlTextLength, y + 1);\n doc.setDrawColor(...colorBlack);\n }\n doc.setTextColor(...colorBlack);\n};\nexport const linkInFrontOfTextTextBox = (urlText, urlPath, index, firstLine, text, x, y, maxWidth, doc) => {\n doc.text(`${index.toString()}.`, x, y);\n linkText(urlText, urlPath, x + indentForNumberedTextBox, y, maxWidth, doc);\n doc.text(firstLine, x + indentForNumberedTextBox + calculateStringWidth(urlText, doc.getFontSize()), y, {\n align: \"justify\",\n maxWidth: maxWidth - indentForNumberedTextBox,\n lineHeightFactor: 1.4\n });\n doc.text(makeLastLineNotStickOut(text), x + indentForNumberedTextBox, y + 4, {\n align: \"justify\",\n maxWidth: maxWidth - indentForNumberedTextBox,\n lineHeightFactor: 1.4\n });\n};\nexport const appendixText = (appendixTitle, pageNumber, textAfterAppendix, x, y, doc) => {\n const appendixLength = calculateStringWidth(appendixTitle, doc.getFontSize());\n doc.setTextColor(...colorRed);\n doc.textWithLink(appendixTitle, x + indentForNumberedTextBox, y, { pageNumber });\n doc.setDrawColor(...colorRed);\n doc.line(x + indentForNumberedTextBox, y + 1, x + indentForNumberedTextBox + appendixLength, y + 1);\n doc.setDrawColor(...colorBlack);\n doc.setTextColor(...colorBlack);\n doc.text(textAfterAppendix, x + indentForNumberedTextBox + appendixLength, y);\n};\nconst makeLastLineNotStickOut = (text) => {\n return text + \" \";\n};\nexport const linkWithBrackets = (url, x, y, maxWidth, doc) => {\n const urlTextLength = calculateStringWidth(url, doc.getFontSize());\n doc.text(\"(\", x, y);\n linkText(url, url, x + 1, y, maxWidth, doc);\n doc.text(\")\", x + 1 + urlTextLength, y);\n};\nexport const getRowIndex = (iossTier) => {\n switch (iossTier) {\n case \"Tier0\":\n return 1;\n case \"Tier1\":\n return 2;\n case \"Tier2\":\n return 3;\n case \"Tier3\":\n return 4;\n default:\n return 0;\n }\n};\nexport const mainLine = (countryName, price, pLine, pCumulativeTop, tableProps, doc) => {\n doc.text(countryName, tableProps.tableLeftPadding, pCumulativeTop + tableProps.lineHeight * pLine);\n doc.text(`${price} ${tableProps.eurChar}`, tableProps.tableLeftPadding + tableProps.secondCol, pCumulativeTop + tableProps.lineHeight * pLine);\n};\nexport const serviceLine = (serviceName, price, pLine, pCumulativeTop, tableProps, doc) => {\n doc.text(`\t${serviceName}`, tableProps.tableLeftPadding, pCumulativeTop + tableProps.lineHeight * pLine);\n doc.text(`${price} ${tableProps.eurChar}`, tableProps.tableLeftPadding + tableProps.secondCol, pCumulativeTop + tableProps.lineHeight * pLine);\n};\nexport const horizontalLine = (x1, y, x2, doc) => {\n doc.line(x1, y, x2, y);\n};\n","export const NUMBERED_TEXTS = [\n {\n displayNumber: 1,\n text: `This engagement contract governs the services that KPMG Global Services Hungary Ltd, V\\xE1ci \\xFAt 41, 1134 Budapest, Hungary (\"KPMG\", \"we\") will provide to the contracting party indicated above (\"you\").`\n },\n {\n displayNumber: 2,\n text: `Upon entering into this contract, you agree that KPMG will provide the Core Tax Compliance Services set out in clause 6 below in respect of the countries listed in Appendix 1(a) and for the Annual Service Fee set out in Appendix 1(a).`\n },\n {\n displayNumber: 3,\n text: `In addition, upon your specific request, KPMG may provide you with Additional Tax Services for Additional Service Fees, which are set out in Appendix 1(b).`\n },\n {\n displayNumber: 4,\n text: `The General Terms of Business (KGSH) form an integral part of this contract.`\n },\n {\n displayNumber: 5,\n text: `KPMG has a process of approving acceptance of new engagements, which includes the assessment of our compliance with applicable regulatory requirements. KPMG's acceptance of this contract is subject to the satisfactory completion of KPMG's pre-approval procedures and Anti-Money Laundering obligations.`\n },\n {\n displayNumber: 6,\n text: `Core Tax Compliance Services includes the following services:`\n },\n {\n displayNumber: 7,\n text: `For the avoidance of doubt, the following services are not included in the scope of the Core Tax Compliance Services, although they can be provided as Additional Tax Services upon payment of the respective Additional Service Fee:`\n },\n {\n displayNumber: 8,\n text: `For the avoidance of doubt, the following services are not included in the scope of the Core Tax Compliance Services, although they can be provided as Additional Tax Services upon payment of the respective Additional Service Fee:`\n },\n {\n displayNumber: 9,\n text: `KPMG cannot accept any liability for errors arising from incomplete information or inaccuracies in the data provided to us.`\n },\n {\n displayNumber: 10,\n text: `In order for us to prepare your VATand associated returns, you must provide us with the Amazon VAT Transactions Report (typically downloaded from your Amazon Seller Central account) in text format without modification or the KPMG template file. The KPMG VAT Compliance Portal has been tailored to process these specific data reports and requires this fixed format. If you modify the data before uploading it to the KPMG VATCompliance Portal, you do so at your own risk.`\n },\n {\n displayNumber: 11,\n text: `Alternatively, you may provide us with the exact sales and purchase values by inputting the data into the online form on the KPMG VAT Compliance Portal.`\n },\n {\n displayNumber: 12,\n text: `Youmust provide us with all required data to prepare the VAT and associated returns for each calendar month by 17:00 Central European Time (\"CET\") on the 6th working day following the end of the calendar month. If data is received late, we reserve the right to charge you a penalty fee of 50 Euros.`\n },\n {\n displayNumber: 13,\n text: `If no data is received by the statutory submission deadline for a particular return and you have not provided us with any alternative instructions, KPMG will not submit a return to the tax authority. This may result in financial or other consequences from the tax authority, for which you will be fully liable.`\n },\n {\n displayNumber: 14,\n text: `In case you are trading on multiple platforms (for example, several marketplaces and/or through your own website), you must provide KPMG with the data needed to prepare the VATreturns in a format specified by KPMG.`\n },\n {\n displayNumber: 15,\n text: `We will ask you to approve each return prior to our submitting it to the relevant tax authority. If we do`\n },\n {\n displayNumber: 16,\n text: `In some countries, KPMG is not authorized to file returns on behalf of another person or entity. In these cases, it will be your responsibility to sign the returns and submit them directly to the taxing authority. KPMG will provide you with the return to be submitted together with the postal address where it should be sent. You will be responsible for ensuring that the return is delivered.`\n },\n {\n displayNumber: 17,\n text: `Notwithstanding clause 18, KPMG will not make VATpayments on your behalf. We will provide you with the necessary payment instructions but the responsibility to make the payments will remain with you.`\n },\n {\n displayNumber: 18,\n text: `In Spain, VAT payments must be made from a Spanish bank account. As an Additional Tax Service (and subject to a separate fee set out in Appendix 1(b), we may be able to make these payments on your behalf. In order to provide this service, you must transfer the full amount of VATthat you owe to our Spanish bank account as it should be received by us at least 1 working day before the payment deadline`\n },\n {\n displayNumber: 19,\n text: `You shall retain responsibility for the correctness and completeness of all returns and other filings we submit on your behalf, and for the payment of your tax liabilities. Further, KPMG cannot accept any responsibility for penalties and interest charged by tax authorities if returns are submitted late due to the late delivery of data to us or if you pay your VAT liabilities late`\n },\n {\n displayNumber: 20,\n text: `You shall send to us promptly any notices, assessments or determinations issued by relevant tax or other authorities relating to the Services requiring action by us.`\n },\n {\n displayNumber: 21,\n text: `You shall retain responsibility for maintaining records and associated papers concerning your tax`\n },\n {\n displayNumber: 22,\n text: `You shall provide a bank guarantee for the fiscal representative You shall provide a bank guarantee for the fiscal representative (instructions will be provided by KPMG) which should be valid for the full period during which KPMG is providing services to you.`\n },\n {\n displayNumber: 23,\n text: `All Core Tax Compliance Service Fees must be paid annually in advance through Pay with Amazon.`\n },\n {\n displayNumber: 24,\n text: `Where you request us to provide Additional Tax Services, we will seek approval from for the estimated fees and disbursements in advance in order to permit you to decide whether you wish us to provide the respective service.`\n },\n {\n displayNumber: 25,\n text: `KPMG will issue a VAT invoice electronically by email after payment of the respective fees. KPMG shall have no obligation to provide services if payment is not received in advance.`\n },\n {\n displayNumber: 26,\n text: `Our fee amounts and rates set out in Appendix 1 are fixed for one year from the date of payment of the first Annual Service Fee and may be revised annually thereafter. Revised rates will be notified to you at least 2 months in advance of their application.`\n },\n {\n displayNumber: 27,\n text: `All fees are exclusive of VAT(where applicable) and any non-Hungarian taxes payable thereon or deductible therefrom.`\n },\n {\n displayNumber: 28,\n text: `Either party has the right to terminate this contract by providing 30 days written notice to ${ClientContext.ContactEmailAddress} (if cancelled by you) or to the designated contact email (if cancelled by KPMG). If you do so:`\n },\n {\n displayNumber: 29,\n text: `KPMG may be required to terminate this contract for legal or professional reasons. In these circumstances, the contract may be cancelled immediately, and we shall not be required to carry out any further work following termination, nor shall we be responsible or liable for any consequences arising from such termination.`\n },\n {\n displayNumber: 30,\n text: `If KPMG cancels this contract due to a material breach by you, no refund will be made of the Annual Service Fee. In case of cancellation by KPMG for any other reason, a refund of the Annual Service Fee will be paid pro-rata according to the number of completed months of service.`\n },\n {\n displayNumber: 31,\n text: `If you are required to provide a bank guarantee and this is not provided or is cancelled, KPMG is entitled to stop providing services immediately and no Annual Service fee will be repaid.`\n },\n {\n displayNumber: 32,\n text: `Exclusions and limitations on KPMG's liability to you are set out in clauses 34 to 38 of the General Terms of Business. By signing this contract, you and we mutually agree that KPMG's liability to you in connection with the services provided in each annual service period shall be limited, on the basis set out in Appendix 2, to a maximum of three times the Annual Service fee.`\n }\n];\nexport const ALPHABETICAL_TEXTS = [\n {\n symbol: \"a)\",\n text: `Within the first 14 calendar days from the date of payment of the first Annual Service Fee, you will be eligible for a full refund of all fees paid, minus any costs already incurred by KPMG`\n },\n {\n symbol: \"b)\",\n text: `After the first 14 calendar days but within the first 12 months, no refund of the Annual Service Fee will be paid`\n },\n {\n symbol: \"c)\",\n text: `After the first 12 months, a refund of the Annual Service Fee will be paid pro-rata according to the number of completed months of service`\n }\n];\nexport const UNORDERED_TEXTS = [\n \"Provide access to the KPMG VAT Compliance Portal\",\n \"Arrange the VAT registration in each country on your behalf, unless you already possess a VAT registration number in the respective country(ies)\",\n \"Prepare the VAT returns, EC Sales and/or Purchase Lists and VAT local listings (where required) for approval by you before submission. KPMG will prepare these returns based on data that you upload to the KPMG VAT Compliance Portal. KPMG currently accepts (may be subject to change):\",\n \"the Amazon VAT Transactions Report\",\n \"the standard KPMG template available on the KPMG VAT Compliance Portal\",\n \"Automatically extract transactional data feed required for VAT reporting purposes (this is currently only available for Amazon Sellers)\",\n \"Where the necessary data is received according to the deadline set out in clause 12 and there are no additional queries on the data, KPMG will provide the draft returns to you at least 3 working days prior to the statutory submission deadline to provide sufficient time for you to approve the returns and pay any VAT due\",\n \"Submit returns to the appropriate tax authority where legally possible and confirm submission to you\",\n \"Provide payment instructions for VAT liabilities to you\",\n \"Act as your correspondence address for the tax authority where legally permitted, and inform you of any action required as a result of correspondence received from the tax authority\",\n \"Act as the fiscal representative in front of the tax authorities, where this is required (this service may be subcontracted by KPMG\",\n \"Carrying out sworn translation or legalization of documents that are required in order to obtain the VAT registration numbers in each country. KPMG may arrange for a third party to perform sworn translations on your behalf; however, the third-party service fees will be recharged to you as a disbursement\",\n \"Preparing and submitting VAT and associated returns for tax reporting periods which ended before the date of this contract\",\n \"Advising you of the tax treatment of your business transactions\",\n \"Reviewing invoices and confirming that they meet the required regulatory requirements\",\n \"Preparing your VAT returns (or any other return) based on data which is not provided in the correct format, unless specifically agreed with you\",\n \"Auditing or verifying the correctness or completeness of the data you provide to us\"\n];\n","import { jsPDF } from \"jspdf\";\nimport * as PDFHelper from \"GlobalShared/helpers/pdfHelper\";\nimport { ALPHABETICAL_TEXTS, NUMBERED_TEXTS, UNORDERED_TEXTS } from \"./amazon-pdf-data\";\nclass WWDoc {\n constructor() {\n this.doc = new jsPDF({ unit: \"mm\" });\n this.sideMargin = 25;\n this.topMargin = 12;\n this.topMarginForText = 28;\n this.footerY = 280;\n this.pageWidth = this.doc.internal.pageSize.width;\n this.pageCenter = this.doc.internal.pageSize.width / 2;\n this.marginBetweenTextBoxes = 3;\n // numbered textbox\n this.numberedTextBoxWidth = 68;\n this.rightNumberedX = this.pageCenter + 6;\n // unordered textbox\n this.regularUnorderedTextBoxWidth = 65;\n this.smallUnorderedTextBoxWidth = 60;\n this.leftRegularUnorderedX = this.sideMargin + 5;\n this.rightRegularUnorderedX = this.pageCenter + 10;\n this.rightSmallUnorderedX = this.pageCenter + 15;\n // alphabetical ordered textbox\n this.alphabeticalOrderedTextBoxWidth = 60;\n this.leftAlphabeticalX = this.sideMargin + 8;\n this.rightAlphabeticalX = this.pageCenter + 11;\n // header image\n this.headerImageWidth = 15;\n this.headerImageHeight = 6;\n }\n}\nconst header = (wwdoc) => {\n wwdoc.doc.addImage(\"/images/kpmg_logo.png\", \"PNG\", wwdoc.sideMargin, wwdoc.topMargin, wwdoc.headerImageWidth, wwdoc.headerImageHeight);\n};\nconst footer = (wwdoc, pageNumber) => {\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(`Page ${pageNumber}`, wwdoc.sideMargin, wwdoc.footerY);\n wwdoc.doc.text(`Indirect Tax Services`, wwdoc.pageWidth - wwdoc.sideMargin - 2, wwdoc.footerY, { align: \"right\" });\n};\nconst firstPage = (wwdoc, pdfModel) => {\n header(wwdoc);\n PDFHelper.textCentered(wwdoc.doc, \"Engagement contract for Core Tax Compliance Services and Additional Tax Services\", wwdoc.topMarginForText);\n wwdoc.doc.setFontSize(9);\n const partnerY = 42;\n const marginBottom = 12;\n wwdoc.doc.text(\"Full legal name of the contracting party\", wwdoc.sideMargin, partnerY);\n wwdoc.doc.text(\"Legal status of the contracting party\", wwdoc.sideMargin, partnerY + marginBottom);\n wwdoc.doc.text(\"Registered address of the contracting party\", wwdoc.sideMargin, partnerY + 2 * marginBottom);\n wwdoc.doc.setLineWidth(0.1);\n wwdoc.doc.text(\"Signature\", wwdoc.sideMargin, partnerY + 3 * marginBottom);\n wwdoc.doc.line(wwdoc.sideMargin + 15, partnerY + 3 * marginBottom + 1, wwdoc.pageCenter - 10, partnerY + 3 * marginBottom + 1);\n wwdoc.doc.text(\"Date\", wwdoc.sideMargin, partnerY + 4 * marginBottom);\n wwdoc.doc.line(wwdoc.sideMargin + 15, partnerY + 4 * marginBottom + 1, wwdoc.pageCenter - 10, partnerY + 4 * marginBottom + 1);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.partnerName ? pdfModel.partnerName : \"undefined\", wwdoc.pageCenter, partnerY);\n wwdoc.doc.text(pdfModel.legalStatus ? pdfModel.legalStatus : \"undefined\", wwdoc.pageCenter, partnerY + marginBottom);\n wwdoc.doc.text(pdfModel.addressLine ? pdfModel.addressLine : \"undefined\", wwdoc.pageCenter, partnerY + 2 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.text(\"KPMG Reference\", wwdoc.sideMargin, partnerY + 5 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.kpmgReference !== void 0 ? pdfModel.kpmgReference : \"\", wwdoc.sideMargin + 40, partnerY + 5 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.line(wwdoc.sideMargin + 30, partnerY + 5 * marginBottom + 1, wwdoc.pageCenter - 10, partnerY + 5 * marginBottom + 1);\n wwdoc.doc.setLineWidth(0.3);\n wwdoc.doc.setLineHeightFactor(16);\n wwdoc.doc.line(wwdoc.sideMargin, 110, wwdoc.pageWidth - wwdoc.sideMargin, 110);\n wwdoc.doc.setLineHeightFactor(1.6);\n PDFHelper.titleText(`General`, wwdoc.sideMargin, 117, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(0, 5), 125, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Our services`, wwdoc.sideMargin, 255, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[5].displayNumber, `Core Tax Compliance Services includes the`, wwdoc.sideMargin, 263, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n wwdoc.doc.text(`following services:`, wwdoc.rightRegularUnorderedX, 117);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(0, 3), 125, wwdoc.rightRegularUnorderedX, wwdoc.regularUnorderedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(3, 5), 190, wwdoc.rightSmallUnorderedX, wwdoc.smallUnorderedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(5, 7), 212, wwdoc.rightRegularUnorderedX, wwdoc.regularUnorderedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n footer(wwdoc, 1);\n};\nconst secondPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(7, 11), wwdoc.topMarginForText, wwdoc.leftRegularUnorderedX, wwdoc.regularUnorderedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[6].displayNumber, NUMBERED_TEXTS[6].text, wwdoc.sideMargin, 99, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(11, 17), 126, wwdoc.leftRegularUnorderedX, wwdoc.regularUnorderedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[7].displayNumber, NUMBERED_TEXTS[7].text, wwdoc.sideMargin, 240, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n wwdoc.doc.text(\n `provide advice as our subcontractor. Such assistance will be subject to a separate fee to be advised by the other KPMG firm. We will not engage the subcontractor without your prior written acceptance of their fee estimate.`,\n wwdoc.rightNumberedX + 6,\n wwdoc.topMarginForText,\n { maxWidth: wwdoc.numberedTextBoxWidth }\n );\n PDFHelper.titleText(`Your obligations`, wwdoc.rightNumberedX, 56, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(8, 15), 64, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n footer(wwdoc, 2);\n};\nconst thirdPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.text(\n `not receive your explicit approval (or alternative instruction) by the earlier of 5 working days after we send the draft return to you or 12:00 CET on the submission deadline, we will assume that you agree with our calculations and that KPMG should submit the return to the tax authority, where permitted to do so.`,\n wwdoc.sideMargin + 6,\n wwdoc.topMarginForText,\n {\n align: \"justify\",\n maxWidth: wwdoc.numberedTextBoxWidth\n }\n );\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(15, 21), 67, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n wwdoc.doc.text(`affairs in accordance with legal requirements.`, wwdoc.rightRegularUnorderedX, wwdoc.topMarginForText, {\n align: \"justify\",\n maxWidth: 65,\n lineHeightFactor: 1.6\n });\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[21].displayNumber, NUMBERED_TEXTS[21].text, wwdoc.rightNumberedX, 34, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Payment for services`, wwdoc.rightNumberedX, 66, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(22, 27), 74, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Termination`, wwdoc.rightNumberedX, 186, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[27].displayNumber, NUMBERED_TEXTS[27].text, wwdoc.rightNumberedX, 194, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.alphabeticalParagraph(ALPHABETICAL_TEXTS.slice(0, 2), 222, wwdoc.rightAlphabeticalX, wwdoc.alphabeticalOrderedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n footer(wwdoc, 3);\n};\nconst fourthPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.alphabeticalTextBox(ALPHABETICAL_TEXTS[2].symbol, ALPHABETICAL_TEXTS[2].text, wwdoc.leftAlphabeticalX, wwdoc.topMarginForText, wwdoc.alphabeticalOrderedTextBoxWidth, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(28, 30), 51, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[30].displayNumber, NUMBERED_TEXTS[30].text, wwdoc.rightNumberedX, wwdoc.topMarginForText, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Limitation of liability`, wwdoc.rightNumberedX, 52, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[31].displayNumber, NUMBERED_TEXTS[31].text, wwdoc.rightNumberedX, 60, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 4);\n};\nconst servicesPage = (wwdoc, pdfModel) => {\n var _a;\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.titleText(\"Order Summary\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n const lineHeight = 6;\n const secondCol = 80;\n let cumulativeTop = 1;\n let line = 0;\n const eurChar = \"EUR\";\n function mainLine(countryName, price, pLine, pCumulativeTop) {\n wwdoc.doc.text(countryName, wwdoc.sideMargin, wwdoc.topMarginForText + pCumulativeTop + lineHeight * pLine);\n wwdoc.doc.text(`${price} ${eurChar}`, wwdoc.sideMargin + secondCol, wwdoc.topMarginForText + cumulativeTop + lineHeight * pLine);\n }\n const serviceLine = (serviceName, price, pLine, pCumulativeTop) => {\n wwdoc.doc.text(`\t${serviceName}`, wwdoc.sideMargin, wwdoc.topMarginForText + pCumulativeTop + lineHeight * pLine);\n wwdoc.doc.text(`${price} ${eurChar}`, wwdoc.sideMargin + secondCol, wwdoc.topMarginForText + pCumulativeTop + lineHeight * pLine);\n };\n (_a = pdfModel.summary.countries) == null ? void 0 : _a.map((country) => {\n cumulativeTop += 2;\n line++;\n mainLine(country.label, country.total, line, cumulativeTop);\n if (country.fiscalRep > 0) {\n line++;\n serviceLine(\"Fiscal Representation\", country.fiscalRep, line, cumulativeTop);\n }\n if (country.spanishBankAccount > 0) {\n line++;\n serviceLine(\"Spanish VAT Payment Service\", country.spanishBankAccount, line, cumulativeTop);\n }\n if (country.retro > 0) {\n line++;\n serviceLine(\"Retrospective Return\", country.retro, line, cumulativeTop);\n }\n if (country.intrastat > 0) {\n line++;\n serviceLine(\"Intrastat Report\", country.intrastat, line, cumulativeTop);\n }\n });\n if (pdfModel.summary.eori > 0) {\n cumulativeTop += 2;\n line++;\n mainLine(\"EORI number application in the EU\", pdfModel.summary.eori, line, cumulativeTop);\n }\n if (pdfModel.summary.ukEori > 0) {\n cumulativeTop += 2;\n line++;\n mainLine(\"EORI number application in the UK\", pdfModel.summary.ukEori, line, cumulativeTop);\n }\n cumulativeTop += 5;\n wwdoc.doc.line(wwdoc.sideMargin, wwdoc.topMarginForText + line * lineHeight + cumulativeTop, wwdoc.sideMargin + secondCol + 20, wwdoc.topMarginForText + line * lineHeight + cumulativeTop);\n line++;\n mainLine(\"Sub-total\", pdfModel.summary.subTotal, line, cumulativeTop);\n line++;\n mainLine(\"VAT\", pdfModel.summary.vat, line, cumulativeTop);\n cumulativeTop += 3;\n wwdoc.doc.line(wwdoc.sideMargin, wwdoc.topMarginForText + line * lineHeight + cumulativeTop, wwdoc.sideMargin + secondCol + 20, wwdoc.topMarginForText + line * lineHeight + cumulativeTop);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n line++;\n mainLine(\"Total fee\", pdfModel.summary.total, line, cumulativeTop);\n footer(wwdoc, 5);\n};\nexport const generateAmazonPDF = (pdfModel) => {\n const wwdoc = new WWDoc();\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n firstPage(wwdoc, pdfModel);\n secondPage(wwdoc);\n thirdPage(wwdoc);\n fourthPage(wwdoc);\n servicesPage(wwdoc, pdfModel);\n wwdoc.doc.save(`Contract_${pdfModel.partnerName}_${pdfModel.kpmgReference ? pdfModel.kpmgReference : \"\"}.pdf`);\n return wwdoc.doc.output(\"blob\");\n};\n","export const ADDITIONAL_TAX_SERVICES = {\n header: [[\"Task\", \"Fee\", \"Fee Basis\", \"Comments\"]],\n body: [\n [\n \"Country specific VAT registration & compliance\",\n \"\\u20AC900\",\n \"Annual fee/country\",\n \"VAT registration (if required), preparation and submission of VAT returns, EC Sales and/or Purchase Lists and VAT local listings (where required).\"\n ],\n [\n \"Fiscal representation in IT, FR, PL and ES\",\n \"\\u20AC1000\",\n \"Annual fee/ country\",\n \"Non-EU incorporated Sellers have to appoint a fiscal representative in some EU countries. We can provide this service for a fixed annual fee in France, Italy, Poland and Spain.\"\n ],\n [\n \"Fiscal representation in other countries\",\n \"By agreement\",\n \"By agreement\",\n \"In case a fiscal representation is required in other countries, we can offer this service by separate agreement.\"\n ],\n [\"Filing agent fee in DE\", \"\\u20AC600\", \"Annual fee/ country\", \"Non-EU incorporated Sellers have to appoint a German established filing agent. We can provide this service for a fixed annual fee.\"],\n [\"EU One-Stop-Shop (OSS) VAT registration and compliance\", \"\\u20AC3000\", \"Annual fee\", \"EU OSS VAT registration (if required), preparation and submission of quarterly OSS VAT returns.\"],\n [\n \"EU Import-One-Stop-Shop (IOSS) VAT registration and compliance\",\n \"\\u20AC2500\",\n \"Annual fee\",\n \"EU IOSS VAT registration (if required), preparation and submission of monthly IOSS VAT returns, including VAT intermediary services (if required)\"\n ],\n [\n \"Intrastat threshold check\",\n \"\\u20AC300\",\n \"Per request per country per year\",\n \"In case your company whish us to check if the Intrastat threshold for your company in a given country has been exceeded we can offer it as an additional service. (Both directions included)\"\n ],\n [\n \"Intrastat reports\",\n \"\\u20AC480\",\n \"Annual fee/ country / direction\",\n \"In case your company exceeds an Intrastat threshold (please note that you have to notify KPMG in this regards, as KPMG is not responsible for monitoring the Iintrastat threshold), KPMG can assist you with the preparation and submission of the required monthly reports. The reports for dispatches and arrivals are considered two separate reports and will be charged separately.\"\n ],\n [\"Retrospective returns\", \"In proportion to the annual fee paid for the service\", \"\", \"In case you have to submit historic VAT returns, KPMG can assist you with its submission.\"],\n [\n \"Self-revisions\",\n \"In proportion to the annual fee paid for the service\",\n \"\",\n \"In case you request any amendments in your VAT returns after it has been prepared or submitted, a self-revision has to be prepared. We can do this for a fixed fee.\"\n ],\n [\n \"VAT payment processing\",\n \"\\u20AC120\",\n \"Per year\",\n \"Required if you would like us to make VAT payments on your behalf in Spain. This fee includes the 4 quarterly VAT payments to the tax authorities. \\u20AC30/transfer will be charged for any additional transfer besides these.\"\n ],\n [\"Communicating with tax authorities\", \"\\u20AC50\", \"Per case\", \"Investigating/mitigating late payment penalties etc.\"],\n [\"Changing company details\", \"\\u20AC100\", \"Per request\", \"Dealing with a change of company name, change of director etc.\"],\n [\"General VAT advice and audit assistance\", \"\\u20AC150\", \"Per hour\", \"Sellers will be notified in advance if work falls into this category.\"],\n [\n \"Specialist VAT advice\",\n \"By agreement\",\n \"By agreement\",\n \"For specialist advice, we will work with our teams in local KPMG offices. Fees vary from country to country and you will be provided with the fees in advance of starting any work.\"\n ],\n [\n \"VAT Deregistration\",\n \"\\u20AC300\",\n \"Per request\",\n \"In case your contract expires before the deregistration happens, KPMG is not responsible for the submission of further (nil) returns to the tax authorities and penalties levied for any missing return. Additional VAT returns and associated reports (e.g. EC Sales List) after the contractual period are additional chargeable services. KPMG cannot guarantee a successful deregistration in case you have any outstanding liabilities in a given country.\"\n ],\n [\"EORI number application\", \"\\u20AC150\", \"Per request\", \"Required in order to register as an importer.\"],\n [\n \"VAT re-registration\",\n \"\\u20AC300\",\n \"Per case\",\n \"Tax Offices can deactivate a Seller\\u2019s VAT ID due to inactivity (i.e. not submitting the necessary VAT returns for more reporting periods). KPMG can assist you in the re-registration process for a fixed fee.\"\n ],\n [\n \"Import VAT deferment account setup\",\n \"By agreement\",\n \"By agreement\",\n \"By applying for an import VAT deferment license you are not required to pay the VAT on import immediately. The VAT can be paid when you file your VAT return. As a foreign entrepreneur you usually must engage a fiscal representative to apply on your behalf.\"\n ],\n [\n \"Sworn Translations\",\n \"By agreement\",\n \"By agreement\",\n \"Carrying out sworn translation is required to obtain the VAT registration numbers in some countries. KPMG may arrange for a third party to perform sworn translations on your behalf and charge the service fees to you.\"\n ]\n ]\n};\nexport const IOSS_TIER_FEES = {\n body: [\n [\"Name of the Services\", \"One time registration/takeover fee\", \"Core Tax Compliance Services Fee, including VAT intermediary services\"],\n [\n \"Pay As You Ship\",\n \"EUR 50\",\n \"EUR 10 per month, including up to 5 packages, plus EUR 2 per additional package if the number of packages exceeds 5, payable before the IOSS return submission for that month. \"\n ],\n [\"Tier 1\", \"None\", \"EUR 800 for up to 500 packages in a 12 month period, renewable after the 500 packages credit is used up or after 12 months.\"],\n [\"Tier 2\", \"None\", \"EUR 2500 for up to 2500 packages in a 12 month period, renewable after the 2500 packages credit is used up or after 12 months.\"],\n [\"Tier 3\", \"None\", \"EUR 4800 for unlimited packages in a 12 month period, renewable after 12 months.\"]\n ]\n};\nexport const NUMBERED_TEXTS = [\n {\n displayNumber: 1,\n text: `This engagement contract governs the services that KPMG Global Services Hungary Ltd, V\\xE1ci \\xFAt 41, 1134 Budapest, Hungary (\\u201CKPMG\\u201D, \\u201Cwe\\u201D) will provide to the contracting party indicated above (\\u201Cyou\\u201D).`\n },\n {\n displayNumber: 2,\n text: `Upon entering into this contract, you agree that KPMG will provide the Import-One-Stop-Shop (\\u201CIOSS\\u201D) VAT Compliance Services set out in paragraph 7 for the Annual Service Fee set out in`\n },\n {\n displayNumber: 3,\n text: `In addition, upon your specific request, KPMG may provide you with Additional Tax Services for Additional Service Fees, which are set out in`\n },\n {\n displayNumber: 4,\n text: `this contract and are attached as Appendix 2. Whenever the contract refers to working days, it is understood as working days in Hungary.`,\n firstLine: `(KGSH) form an integral part of`,\n linkTitle: `The General Terms of Business`\n },\n {\n displayNumber: 5,\n text: `KPMG has a process of acceptance of new clients, which includes the assessment of our compliance with applicable regulatory requirements. KPMG\\u2019s acceptance of this contract is subject to the satisfactory completion of KPMG\\u2019s pre-approval procedures and Anti-Money Laundering obligations.`\n },\n {\n displayNumber: 6,\n text: `The IOSS VAT Compliance Services set out in paragraph 7 and the IOSS Service Fee set out in Appendix 1(a) are available specifically for FedEx and TNT customers. The FedEx or TNT account information provided by you during the sign-up process may be shared with FedEx for validation purposes.`\n },\n {\n displayNumber: 7,\n text: `The IOSS VAT Compliance Services include the following services:`\n },\n {\n displayNumber: 8,\n text: `For the avoidance of doubt, the following services are not included in the scope of the IOSS VAT Compliance Services, although they can be provided as Additional Tax Services upon payment of the respective Additional Service Fee:`\n },\n {\n displayNumber: 9,\n text: `Should we or you believe that there is a need to consult with a specialist indirect tax adviser before answering specific tax authority questions, we can arrange for a KPMG Firm in the relevant country to provide advice to you. Such assistance will be subject to a separate fee to be advised by the other KPMG firm. Depending on the nature of the advice, we can engage the KPMG member firm as a subcontractor, or you can enter into a separate contract with that KPMG firm.`\n },\n {\n displayNumber: 10,\n text: `KPMG shall not accept any liability for errors arising from incomplete information or inaccuracies in the data provided to us. KPMG will not verify the data provided by you.`\n },\n {\n displayNumber: 11,\n text: `In order for us to prepare your IOSS VAT return, you must provide us the KPMG template file available on the KPMG IOSS Compliance portal once you have subscribed to our services. The KPMG IOSS Compliance Portal has been tailored to process this specific data report and requires this fixed format.`\n },\n {\n displayNumber: 12,\n text: `You must provide us with all required data to prepare the VAT and associated returns for each calendar month by 17:00 Central European Time (\\u201CCET\\u201D) on the 6th calendar day following the end of the calendar month to be reported. If data is received late, we reserve the right to charge you a penalty fee of \\xA350 per occurrence of your default/delay.`\n },\n {\n displayNumber: 13,\n text: `If no data is received by the statutory submission deadline for a particular return and you have not instructed us to submit nil returns, KPMG will not submit a IOSS return to the tax authority for the particular period. This may result in financial or other consequences from the tax authority, for which you will be fully liable. KPMG shall not be held liable for any financial or other consequences if the return was submitted according to this paragraph.`\n },\n {\n displayNumber: 14,\n text: `We will ask you to approve each IOSS return prior to us submitting it to the relevant tax authority. If we do not receive your explicit approval (or alternative instruction) by the earlier of 5 working days after we send the draft return to you or 10:00 CET on the submission deadline which is the end of the month following the return period, we will assume that you agree with our calculations and that KPMG should submit the return to the tax authority, where permitted to do so. Note that if a payment of VAT is due then this payment must be received as cleared funds in Euro by the appointed Intermediary at the latest by 10.00 CET, 3 (three) working days before the due payment deadline which is also the end of the month following the return period end in order for the payment to be made by the payment deadline. Should you wish to transfer the payment in a currency other than Euro then you can if you wish arrange an FX conversion through the Intermediary and will need to agree to the Intermediary\\u2019s specific terms and conditions in respect of this service.`\n },\n {\n displayNumber: 15,\n text: `You shall retain responsibility for the correctness and completeness of all returns we submit on your behalf, and for the payment of your tax liabilities.`\n },\n {\n displayNumber: 16,\n text: `KPMG shall not accept any responsibility for penalties and other surcharges imposed by tax authorities if returns are submitted late due to the late delivery of data to us or if you pay your VAT liabilities late. KPMG liability should be limited to the amount set in paragraph 29 of the engagement contract. In any case, we shall not be liable for your loss resulting from interest amount due on the VAT liability that was not settled in time with the respective tax authorities.`\n },\n {\n displayNumber: 17,\n text: `You shall send to us promptly any notices, assessments or determinations received by tax authorities regarding your IOSS returns prepared by KPMG or the Services requiring action by us.`\n },\n {\n displayNumber: 18,\n text: `You shall retain responsibility for maintaining records and associated papers concerning your tax affairs in accordance with legal requirements. The retention period for all IOSS records is 10 years.`\n },\n {\n displayNumber: 19,\n text: `You shall keep your IOSS number confidential and only use it for your own shipments.`\n },\n {\n displayNumber: 20,\n text: `All IOSS VAT Compliance Service Fees must be paid in advance as you are instructed through bank transfer, PayPal or any other means accepted on either the KPMG IOSS Portal or the VAT intermediary\\u2019s system.`\n },\n {\n displayNumber: 21,\n text: `Where you request us to provide Additional Tax Services, we will seek your approval for the estimated fees and disbursements in advance that should be provided before we start the respective service.`\n },\n {\n displayNumber: 22,\n text: `KPMG will issue an invoice electronically by email after payment of the respective fees. KPMG shall have no obligation to provide services if payment is not received in advance.`\n },\n {\n displayNumber: 23,\n text: `All fees are exclusive of VAT (where applicable) and any nonHungarian taxes payable thereon or deductible therefrom.`\n },\n {\n displayNumber: 24,\n text: `Either party has the right to terminate this contract by providing 30 days written notice to ${ClientContext.ContactEmailAddress} (if cancelled by you) or to the designated contact email (if cancelled by KPMG). If you do so:`\n },\n {\n displayNumber: 25,\n text: `KPMG may be required to terminate this contract for legal, regulatory or professional reasons. In these circumstances, the contract may be cancelled by KPMG immediately and we shall not be required to carry out any further work following termination nor shall we be responsible or liable for any consequences arising from such termination.`\n },\n {\n displayNumber: 26,\n text: `KPMG or your appointed IOSS Intermediary will notify you by email if you fail to make VAT payment within the appropriate deadline. If you do not rectify the failure within 5 working days after the notification, KPMG reserves the right to terminate this contract. We can also terminate the contract if you refrain from cooperation with the tax authorities during the tax audit or another similar proceedings. In these circumstances, the contract may be cancelled immediately and we shall not be required to carry out any further work following termination nor shall we be responsible or liable for any consequences arising from such termination.`\n },\n {\n displayNumber: 27,\n text: `If KPMG cancels this contract due to a material breach committed by you (such as the breaches mentioned in paragraphs 26 and 28), no refund will be made of the IOSS Service Fee. In case of cancellation by KPMG for any other reason, a refund of the IOSS Service Fee will be paid pro-rata according to the number of completed months of service or the number of packages utilized, whichever is smaller.`\n },\n {\n displayNumber: 28,\n text: `KPMG may terminate this agreement with immediate effect if the IOSS Compliance Service Fees have not been paid according to paragraph 20 and this breach is not remedied withing 2 business days after the receipt of KPMG\\u2019s notice. This contract for Tier 1, Tier 2 or Tier 3 services may be terminated by KPMG with immediate effect if you do not renew the contract after the included packages credit has been fully utilized or the 12 month period has lapsed (for Tier 1, Tier 2 and Tier 3 services). For the Pay As You Ship service, we will not prepare your IOSS return if the monthly fee has not been paid. We will also terminate the contract with immediate effect if the VAT payment and/or any additional package fee is not paid 3 working days before the deadline of the IOSS return submission for that month.`\n },\n {\n displayNumber: 29,\n text: `Exclusions and limitations on KPMG\\u2019s liability to you are set out in paragraphs 34 - 38 of the General Terms of Business. By signing this contract, you and we mutually agree that KPMG\\u2019s liability to you in connection with the services provided shall be limited, on the basis set out in Appendix 1a and 1b, to a maximum of 1,5 times the IOSS Service Fee of the respective service.`\n },\n {\n displayNumber: 30,\n text: `The services defined under this contract require us to collect and process your personal data and act as data processor. The website below contains our privacy statements and explains the way how we process your data and ensure appropriate security levels:`,\n linkTitle: `https://home.kpmg/content/dam/kpmg/hu/pdf/KGSH_Privacy_Statement_v2.pdf`\n },\n {\n displayNumber: 31,\n text: `The Engagement Contract sets out the entire agreement and understanding between us in connection with the services and supersedes any prior agreements, understandings, arrangements, statements or representations (unless made fraudulently) relating to the services. The contract may be accepted via the Marketplace portal with online acceptance, and unless you request, KPMG will not prepare a signed copy of it, but the electronic version will guide the relationship. Any modifications or variations to the Engagement Contract shall be concluded with the same formalities as described above.`\n }\n];\nexport const UNORDERED_TEXTS = [\n \"Providing access to the KPMG IOSS Compliance Portal\",\n \"Arranging the IOSS registration on your behalf. If you are based outside the EU, we will appoint a VAT intermediary for you on your behalf. Your IOSS number is linked to the VAT\",\n \"Prepare the monthly IOSS returns for approval by you before submission. KPMG will prepare these returns based on data that you upload to the KPMG IOSS Compliance Portal.\",\n \"Where the necessary data is received according to the deadline set out in paragraph 12 and there are no additional queries on the data, KPMG will provide the draft returns to you at least 7 working days prior to the statutory submission deadline.\",\n \"Submitting your IOSS returns to the appropriate tax authority and confirm submission to you.\",\n \"Providing payment instructions via email (i.e. cover letter) or other suitable means to you regarding your VAT liabilities.\",\n \"Informing you of any action related to your VAT reporting and liabilities as per correspondence received from the tax authority.\",\n \"In case of contract termination, KPMG will not prepare and submit your IOSS VAT returns for tax reporting periods where the filing deadline falls after the termination date (as per paragraphs 24 - 28) or inform you about actions required because of tax authorities\\u2019 correspondence.\",\n \"Non-IOSS related VAT registration and compliance\",\n \"Preparing and submitting IOSS VAT returns for tax reporting periods which ended before the date of this contract.\",\n \"Reviewing invoices and confirming that they meet the required regulatory requirements\",\n \"Preparing your IOSS VAT returns based on data which is not provided in the correct format, unless specifically agreed with you\",\n \"Auditing or verifying the correctness and completeness of the data you provide to us.\",\n \"Note that payments will be undertaken through your appointed Intermediary, not through KPMG\",\n \"The termination date of the contract will be the 30th day after the written notice was given to KPMG.\",\n \"Within the first 14 calendar days from the date of payment of the Service Fee, you will be eligible for a full refund of all fees paid, minus EUR 200 administration fee to cover costs already incurred by KPMG with the exception of the the Pay As You Ship Service in which case you will not be eligible for the refund of any fee.\",\n \"After the first 14 calendar days, no refund of the IOSS Service Fee will be paid.\"\n];\n","import { colorBlack, colorLightGray, getRowIndex, horizontalLine, mainLine, serviceLine, titleText } from \"GlobalShared/helpers/pdfHelper\";\nimport autoTable from \"jspdf-autotable\";\nexport const IOSS_TIER_FEES = {\n body: [\n [\"Name of the Services\", \"One time registration/takeover fee\", \"Core Tax Compliance Services Fee, including VAT intermediary services\"],\n [\n \"Pay As You Ship\",\n \"EUR 70\",\n \"EUR 10 per month, including up to 5 packages, plus EUR 2 per additional package if the number of packages exceeds 5, payable before the IOSS return submission for that month. \"\n ],\n [\"Tier 1\", \"None\", \"EUR 800 for up to 500 packages in a 12 month period, renewable after the 500 packages credit is used up or after 12 months.\"],\n [\"Tier 2\", \"None\", \"EUR 2500 for up to 2500 packages in a 12 month period, renewable after the 2500 packages credit is used up or after 12 months.\"],\n [\"Tier 3\", \"None\", \"EUR 4800 for unlimited packages in a 12 month period, renewable after 12 months.\"]\n ]\n};\nexport const vatSection = (sectionLetter, lineObj, top, tableProps, wwdoc, pdfModel) => {\n var _a;\n const vatSubTotal = pdfModel.summary.subTotal - pdfModel.summary.ioss;\n titleText(`${sectionLetter}) Core Tax Compliance Services \\u2013 Country specific VAT registration(s)`, wwdoc.sideMargin, top, wwdoc.doc);\n (_a = pdfModel.summary.countries) == null ? void 0 : _a.map((country) => {\n top += 2;\n lineObj.line++;\n mainLine(country.label, country.total, lineObj.line, top, tableProps, wwdoc.doc);\n if (country.fiscalRep > 0) {\n lineObj.line++;\n serviceLine(\"Fiscal representation\", country.fiscalRep, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.filingAgent > 0) {\n lineObj.line++;\n serviceLine(\"Filing agent\", country.filingAgent, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.retro > 0) {\n lineObj.line++;\n serviceLine(\"Retrospective Return\", country.retro, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.monthlyCompliance > 0) {\n lineObj.line++;\n serviceLine(\"Monthly country compliance\", country.monthlyCompliance, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.selfRevision > 0) {\n lineObj.line++;\n serviceLine(\"Self Revision / Retrospective Returns\", country.selfRevision, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.spanishBankAccount > 0) {\n lineObj.line++;\n serviceLine(\"Spanish VAT Payment Service\", country.spanishBankAccount, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.intrastat > 0) {\n lineObj.line++;\n serviceLine(\"Intrastat Report\", country.intrastat, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (country.deregistration > 0) {\n lineObj.line++;\n serviceLine(\"Deregistration\", country.deregistration, lineObj.line, top, tableProps, wwdoc.doc);\n }\n });\n if (pdfModel.summary.eori > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"EORI number application in the EU\", pdfModel.summary.eori, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (pdfModel.summary.ukEori > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"EORI number application in the UK\", pdfModel.summary.ukEori, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (pdfModel.summary.changeCompanyDetail > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"Change Company Detail\", pdfModel.summary.changeCompanyDetail, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (pdfModel.summary.iossDeregistration > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"IOSS Deregistration\", pdfModel.summary.iossDeregistration, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (pdfModel.summary.communicatingWithTaxAuthorities > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"Communicating with Tax Authorities\", pdfModel.summary.communicatingWithTaxAuthorities, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (pdfModel.summary.generalVatAdvice > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"General VAT Advice\", pdfModel.summary.generalVatAdvice, lineObj.line, top, tableProps, wwdoc.doc);\n }\n if (pdfModel.summary.specialistVatAdvice > 0) {\n top += 2;\n lineObj.line++;\n mainLine(\"Specialist VAT Advice\", pdfModel.summary.specialistVatAdvice, lineObj.line, top, tableProps, wwdoc.doc);\n }\n top += 5;\n horizontalLine(tableProps.tableLeftPadding, lineObj.line * tableProps.lineHeight + top, tableProps.tableLeftPadding + tableProps.secondCol + 20, wwdoc.doc);\n lineObj.line++;\n mainLine(\"Sub-total\", vatSubTotal, lineObj.line, top, tableProps, wwdoc.doc);\n lineObj.line++;\n mainLine(\"VAT\", pdfModel.summary.vat, lineObj.line, top, tableProps, wwdoc.doc);\n top += 3;\n horizontalLine(tableProps.tableLeftPadding, lineObj.line * tableProps.lineHeight + top, tableProps.tableLeftPadding + tableProps.secondCol + 20, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n lineObj.line++;\n mainLine(\"Total\", vatSubTotal + pdfModel.summary.vat, lineObj.line, top, tableProps, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n};\nexport const ossSection = (sectionLetter, lineObj, top, tableProps, wwdoc, pdfModel) => {\n lineObj.line += 4;\n const templine = lineObj.line;\n lineObj.line = 0;\n let ossCumulativeTop = tableProps.paragraphMargin + top + tableProps.lineHeight;\n titleText(`${sectionLetter}) Core Tax Compliance Services \\u2013 EU One-Stop-Shop VAT registration`, wwdoc.sideMargin, top, wwdoc.doc);\n horizontalLine(tableProps.tableLeftPadding, lineObj.line * tableProps.lineHeight + ossCumulativeTop, tableProps.tableLeftPadding + tableProps.secondCol + 20, wwdoc.doc);\n lineObj.line++;\n mainLine(\"Core Tax Compliance Services Fee\", pdfModel.summary.ioss, lineObj.line, ossCumulativeTop, tableProps, wwdoc.doc);\n lineObj.line++;\n mainLine(\"VAT\", pdfModel.summary.vat, lineObj.line, ossCumulativeTop, tableProps, wwdoc.doc);\n ossCumulativeTop += 3;\n horizontalLine(tableProps.tableLeftPadding, lineObj.line * tableProps.lineHeight + ossCumulativeTop, tableProps.tableLeftPadding + tableProps.secondCol + 20, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n lineObj.line++;\n mainLine(\"Total fee\", pdfModel.summary.ioss + pdfModel.summary.vat, lineObj.line, ossCumulativeTop, tableProps, wwdoc.doc);\n lineObj.line += templine;\n wwdoc.doc.setFontSize(9);\n};\nexport const iossSection = (sectionLetter, lineObj, top, tableProps, wwdoc, pdfModel) => {\n lineObj.line = 0;\n const iossCumulativeTop = tableProps.paragraphMargin + top + tableProps.lineHeight;\n titleText(`${sectionLetter}) Core Tax Compliance Services \\u2013 EU Import-One-Stop-Shop VAT registration`, wwdoc.sideMargin, iossCumulativeTop, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`The Core Tax Compliance Services Fee for the chosen IOSS compliance services is as follows:`, wwdoc.sideMargin, iossCumulativeTop + tableProps.lineHeight);\n autoTable(wwdoc.doc, {\n body: IOSS_TIER_FEES.body,\n theme: \"grid\",\n startY: iossCumulativeTop + tableProps.lineHeight * 2,\n styles: {\n textColor: colorBlack,\n overflow: \"linebreak\",\n font: \"times\",\n fontSize: 9,\n lineColor: colorLightGray,\n valign: \"middle\",\n cellPadding: { top: 2, horizontal: 2, bottom: 3 }\n },\n columnStyles: {\n 0: { cellWidth: 59 },\n 1: { cellWidth: 59 }\n },\n didParseCell: (data) => {\n if (data.row.index === 0 || data.row.index === getRowIndex(pdfModel.iossTier)) {\n data.cell.styles.fontStyle = \"bold\";\n }\n }\n });\n wwdoc.doc.setFontSize(9);\n};\n","import { jsPDF } from \"jspdf\";\nimport autoTable from \"jspdf-autotable\";\nimport * as PDFHelper from \"GlobalShared/helpers/pdfHelper\";\nimport { ADDITIONAL_TAX_SERVICES, NUMBERED_TEXTS, UNORDERED_TEXTS } from \"./fedex-pdf-data\";\nimport { formatDate } from \"GlobalShared/helpers/dateHelper\";\nimport { colorLightGray, colorDarkGray, colorWhite, colorBlack, iossTermsAndConditions, privacyStatement, horizontalLine } from \"../../../helpers/pdfHelper\";\nimport { iossSection, ossSection, vatSection } from \"./pdf-common\";\nconst doc = new jsPDF({ unit: \"mm\" });\nconst sideMargin = 10;\nconst pageCenter = doc.internal.pageSize.width / 2;\nconst WWDoc = {\n doc,\n // Alignment Constants in [mm]\n sideMargin: 10,\n topMargin: 12,\n topMarginForText: 27,\n footerY: 282,\n pageWidth: doc.internal.pageSize.width,\n pageCenter: doc.internal.pageSize.width / 2,\n contentWidth: doc.internal.pageSize.width - 2 * sideMargin,\n // numbered textbox\n marginBetweenNumberedTextBoxes: 1,\n numberedTextBoxWidth: 85,\n rightNumberedX: pageCenter + 6,\n numberedTextBoxIndent: 6,\n // unordered textbox\n marginBetweenUnorderedTextBoxes: 0,\n unorderedTextBoxWidth: 82,\n leftUnorderedX: sideMargin + 5,\n rightUnorderedX: pageCenter + 10,\n unorderedTextBoxIndent: 5,\n // header image\n headerImageWidth: 15,\n headerImageHeight: 6\n};\nconst header = (wwdoc) => {\n wwdoc.doc.addImage(\"/images/kpmg_logo.png\", \"PNG\", wwdoc.sideMargin, wwdoc.topMargin, wwdoc.headerImageWidth, wwdoc.headerImageHeight);\n};\nconst footer = (wwdoc, pageNumber) => {\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(`Page ${pageNumber}`, wwdoc.sideMargin, wwdoc.footerY);\n wwdoc.doc.text(`Indirect Tax Services`, wwdoc.pageWidth - wwdoc.sideMargin - 2, wwdoc.footerY, { align: \"right\" });\n};\nconst firstPage = (wwdoc, pdfModel) => {\n header(wwdoc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n PDFHelper.textCentered(wwdoc.doc, \"Engagement contract for IOSS VAT Compliance Services and Additional Tax Services\", wwdoc.topMarginForText);\n wwdoc.doc.setFontSize(9);\n const partnerY = 40;\n const marginBottom = 10;\n wwdoc.doc.text(\"Full legal name of the contracting party\", wwdoc.sideMargin, partnerY);\n wwdoc.doc.text(\"Legal status of the contracting party\", wwdoc.sideMargin, partnerY + marginBottom);\n wwdoc.doc.text(\"Registered address of the contracting party\", wwdoc.sideMargin, partnerY + 2 * marginBottom);\n wwdoc.doc.setLineWidth(0.1);\n wwdoc.doc.text(\"VAT Number\", wwdoc.sideMargin, partnerY + 3 * marginBottom);\n wwdoc.doc.text(\"Signature\", wwdoc.sideMargin, partnerY + 4 * marginBottom);\n horizontalLine(wwdoc.sideMargin + 19, partnerY + 4 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.text(\"Date\", wwdoc.sideMargin, partnerY + 5 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.contractDate ? formatDate(pdfModel.contractDate) : \"\", wwdoc.sideMargin + 40, partnerY + 5 * marginBottom);\n horizontalLine(wwdoc.sideMargin + 19, partnerY + 5 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.text(\"KPMG Reference\", wwdoc.sideMargin, partnerY + 6 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.kpmgReference !== void 0 ? pdfModel.kpmgReference : \"\", wwdoc.sideMargin + 40, partnerY + 6 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"bold\");\n horizontalLine(wwdoc.sideMargin + 30, partnerY + 6 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.partnerName ? pdfModel.partnerName : \"\", wwdoc.pageCenter, partnerY);\n wwdoc.doc.text(pdfModel.legalStatus ? pdfModel.legalStatus : \"\", wwdoc.pageCenter, partnerY + marginBottom);\n wwdoc.doc.text(pdfModel.addressLine ? pdfModel.addressLine : \"\", wwdoc.pageCenter, partnerY + 2 * marginBottom, {\n maxWidth: 80,\n lineHeightFactor: 1.2\n });\n wwdoc.doc.text(pdfModel.vatNumber ? pdfModel.vatNumber : \"\", wwdoc.pageCenter, partnerY + 3 * marginBottom);\n wwdoc.doc.setLineWidth(0.3);\n wwdoc.doc.setLineHeightFactor(16);\n horizontalLine(wwdoc.sideMargin, 107, wwdoc.pageWidth - wwdoc.sideMargin, wwdoc.doc);\n wwdoc.doc.setLineHeightFactor(1.4);\n PDFHelper.titleText(`General`, wwdoc.sideMargin, 113, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(0, 2), 119, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.appendixText(\"Appendix 1\", 4, \"(a).\", wwdoc.sideMargin + 4, 151, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[2].displayNumber, NUMBERED_TEXTS[2].text, wwdoc.sideMargin, 156, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.appendixText(\"Appendix 1\", 4, \"(b).\", wwdoc.sideMargin + 19, 164, wwdoc.doc);\n PDFHelper.linkInFrontOfTextTextBox(\n NUMBERED_TEXTS[3].linkTitle,\n iossTermsAndConditions,\n NUMBERED_TEXTS[3].displayNumber,\n NUMBERED_TEXTS[3].firstLine,\n NUMBERED_TEXTS[3].text,\n wwdoc.sideMargin,\n 170,\n wwdoc.numberedTextBoxWidth,\n wwdoc.doc\n );\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(4, 6), 188, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Our services`, wwdoc.sideMargin, 235, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[6].displayNumber, NUMBERED_TEXTS[6].text, wwdoc.sideMargin, 241, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(0, 2), 250, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 5, wwdoc.doc);\n PDFHelper.linkWithBrackets(window.location.origin, wwdoc.leftUnorderedX + wwdoc.unorderedTextBoxIndent, 254, wwdoc.unorderedTextBoxWidth, wwdoc.doc);\n wwdoc.doc.text(\n `intermediary. If you already possess a IOSS number, we will link your IOSS number to the new VAT intermediary. KPMG is not responsible for any delay in processing your application by the tax authorities during the registration process.`,\n wwdoc.rightUnorderedX + 5,\n 115,\n { maxWidth: wwdoc.unorderedTextBoxWidth, align: \"justify\" }\n );\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(2, 7), 133, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.unorderedTextBox(UNORDERED_TEXTS[7], wwdoc.rightUnorderedX, 191, wwdoc.unorderedTextBoxWidth, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[7].displayNumber, NUMBERED_TEXTS[7].text, wwdoc.rightNumberedX, 215, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(8, 12), 235, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n footer(wwdoc, 1);\n};\nconst secondPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(12, 14), wwdoc.topMarginForText, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[8].displayNumber, NUMBERED_TEXTS[8].text, wwdoc.sideMargin, 45, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Your obligations`, wwdoc.sideMargin, 82, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(9, 15), 88, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(15, 19), wwdoc.topMarginForText, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Payment for services`, wwdoc.rightNumberedX, 108, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(19, 23), 114, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Termination`, wwdoc.rightNumberedX, 178, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[23].displayNumber, NUMBERED_TEXTS[23].text, wwdoc.rightNumberedX, 184, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(14, 17), 203, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[24].displayNumber, NUMBERED_TEXTS[24].text, wwdoc.rightNumberedX, 249, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 2);\n};\nconst thirdPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(25, 28), wwdoc.topMarginForText, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Limitation of liability`, wwdoc.sideMargin, 169, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[28].displayNumber, NUMBERED_TEXTS[28].text, wwdoc.sideMargin, 175, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Data Privacy`, wwdoc.rightNumberedX, wwdoc.topMarginForText, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[29].displayNumber, NUMBERED_TEXTS[29].text, wwdoc.rightNumberedX, 33, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.linkText(\"Privacy Statement\", privacyStatement, wwdoc.rightNumberedX + 6, 51, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`The Engagement Contract`, wwdoc.rightNumberedX, 58, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[30].displayNumber, NUMBERED_TEXTS[30].text, wwdoc.rightNumberedX, 65, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 3);\n};\nconst fourthPage = (wwdoc, pdfModel) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.setFontSize(11);\n PDFHelper.titleText(\"Appendix 1\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`KPMG will provide the following Core Tax Compliance Services and the Annual Service Fee will apply:`, wwdoc.sideMargin, wwdoc.topMarginForText + 7);\n const tableProps = {\n lineHeight: 6,\n tableLeftPadding: wwdoc.sideMargin + 40,\n eurChar: \"EUR\",\n secondCol: 80,\n paragraphMargin: 5\n };\n const hasIossService = pdfModel.iossTier !== void 0;\n const hasVatService = pdfModel.hasVatService;\n const hasEuOssVat = false;\n const tableSectionTop = wwdoc.topMarginForText + tableProps.paragraphMargin + tableProps.lineHeight * 2;\n const lineObj = {\n line: 0\n };\n const availableServices = [].concat(hasVatService ? [vatSection] : []).concat(hasEuOssVat ? [ossSection] : []).concat(hasIossService ? [iossSection] : []);\n availableServices.forEach((service, index) => {\n const sectionLetter = String.fromCharCode(\"a\".charCodeAt(0) + index);\n const cumulativeTop = index > 0 ? tableSectionTop + lineObj.line * tableProps.lineHeight + 2 * tableProps.paragraphMargin : tableSectionTop + lineObj.line * tableProps.lineHeight;\n service(sectionLetter, lineObj, cumulativeTop, tableProps, wwdoc, pdfModel);\n });\n footer(wwdoc, 4);\n};\nconst fifthPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.setFontSize(11);\n PDFHelper.titleText(\"Appendix 2: Additional Tax Services\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`The following Additional Tax Services may be provided upon your explicit request:`, wwdoc.sideMargin, wwdoc.topMarginForText + 7);\n autoTable(wwdoc.doc, {\n head: ADDITIONAL_TAX_SERVICES.header,\n body: ADDITIONAL_TAX_SERVICES.body,\n theme: \"grid\",\n startY: wwdoc.topMarginForText + 14,\n styles: {\n textColor: colorBlack,\n overflow: \"linebreak\",\n font: \"times\",\n fontSize: 9,\n lineColor: colorLightGray,\n valign: \"middle\",\n cellPadding: { top: 2, horizontal: 2, bottom: 3 }\n },\n headStyles: {\n fillColor: colorDarkGray,\n textColor: colorWhite\n },\n columnStyles: {\n 0: { cellWidth: 45 },\n 1: { cellWidth: 24 },\n 2: { cellWidth: 28 }\n },\n didParseCell: (data) => {\n if (data.row.index === 1 || data.row.index === 5 || data.row.index === 6 || data.row.index === 7 || data.row.index === 19) {\n data.cell.styles.cellPadding = { top: 1, horizontal: 2, bottom: 7 };\n }\n if (data.row.index === 8 || data.row.index === 9) {\n if (data.column.index === 1) {\n data.cell.colSpan = 2;\n }\n if (data.column.index === 2) {\n data.cell.colSpan = 0;\n }\n }\n }\n });\n footer(wwdoc, 5);\n};\nexport const generateFedexPDF = (pdfModel) => {\n firstPage(WWDoc, pdfModel);\n secondPage(WWDoc);\n thirdPage(WWDoc);\n fourthPage(WWDoc, pdfModel);\n fifthPage(WWDoc);\n WWDoc.doc.save(`Contract_${pdfModel.partnerName}_${pdfModel.kpmgReference}.pdf`);\n return WWDoc.doc.output(\"blob\");\n};\n","export const ADDITIONAL_TAX_SERVICES = {\n header: [[\"Task\", \"Fee\", \"Fee basis\", \"Comments\"]],\n body: [\n [\n \"Country specific VAT registration & compliance\",\n \"\\u20AC900\",\n \"Annual fee/country\",\n \"VAT registration (if required), preparation and submission of VAT returns, EC Sales and/or Purchase Lists and VAT local listings (where required).\"\n ],\n [\n \"Fiscal representation in IT, FR, PL and ES\",\n \"\\u20AC1000\",\n \"Annual fee/ country\",\n \"Non-EU incorporated Sellers have to appoint a fiscal representative in some EU countries. We can provide this service for a fixed annual fee in France, Italy, Poland and Spain.\"\n ],\n [\n \"Fiscal representation in other countries\",\n \"By agreement\",\n \"By agreement\",\n \"In case a fiscal representation is required in other countries, we can offer this service by separate agreement.\"\n ],\n [\"Filing agent fee in DE\", \"\\u20AC600\", \"Annual fee/ country\", \"Non-EU incorporated Sellers have to appoint a German established filing agent. We can provide this service for a fixed annual fee.\"],\n [\"EU One-Stop-Shop (OSS) VAT registration and compliance\", \"\\u20AC3000\", \"Annual fee\", \"EU OSS VAT registration (if required), preparation and submission of quarterly OSS VAT returns.\"],\n [\n \"EU Import-One-Stop-Shop (IOSS) VAT registration and compliance\",\n \"\\u20AC2500\",\n \"Annual fee\",\n \"EU IOSS VAT registration (if required), preparation and submission of monthly IOSS VAT returns, including VAT intermediary services (if required)\"\n ],\n [\n \"Intrastat threshold check\",\n \"\\u20AC300\",\n \"Per request per country per year\",\n \"In case your company whish us to check if the Intrastat threshold for your company in a given country has been exceeded we can offer it as an additional service. (Both directions included)\"\n ],\n [\n \"Intrastat reports\",\n \"\\u20AC480\",\n \"Annual fee/ country / direction\",\n \"In case your company exceeds an Intrastat threshold (please note that you have to notify KPMG in this regards, as KPMG is not responsible for monitoring the Iintrastat threshold), KPMG can assist you with the preparation and submission of the required monthly reports. The reports for dispatches and arrivals are considered two separate reports and will be charged separately.\"\n ],\n [\"Retrospective returns\", \"In proportion to the annual fee paid for the service\", \"\", \"In case you have to submit historic VAT returns, KPMG can assist you with its submission.\"],\n [\n \"Self-revisions\",\n \"In proportion to the annual fee paid for the service\",\n \"\",\n \"In case you request any amendments in your VAT returns after it has been prepared or submitted, a self-revision has to be prepared. We can do this for a fixed fee.\"\n ],\n [\n \"VAT payment processing\",\n \"\\u20AC120\",\n \"Per year\",\n \"Required if you would like us to make VAT payments on your behalf in Spain. This fee includes the 4 quarterly VAT payments to the tax authorities. \\u20AC30/transfer will be charged for any additional transfer besides these.\"\n ],\n [\"Communicating with tax authorities\", \"\\u20AC50\", \"Per case\", \"Investigating/mitigating late payment penalties etc.\"],\n [\"Changing company details\", \"\\u20AC100\", \"Per request\", \"Dealing with a change of company name, change of director etc.\"],\n [\"General VAT advice and audit assistance\", \"\\u20AC150\", \"Per hour\", \"Sellers will be notified in advance if work falls into this category.\"],\n [\n \"Specialist VAT advice\",\n \"By agreement\",\n \"By agreement\",\n \"For specialist advice, we will work with our teams in local KPMG offices. Fees vary from country to country and you will be provided with the fees in advance of starting any work.\"\n ],\n [\n \"VAT Deregistration\",\n \"\\u20AC300\",\n \"Per request\",\n \"In case your contract expires before the deregistration happens, KPMG is not responsible for the submission of further (nil) returns to the tax authorities and penalties levied for any missing return. Additional VAT returns and associated reports (e.g. EC Sales List) after the contractual period are additional chargeable services. KPMG cannot guarantee a successful deregistration in case you have any outstanding liabilities in a given country.\"\n ],\n [\"EORI number application\", \"\\u20AC150\", \"Per request\", \"Required in order to register as an importer.\"],\n [\n \"VAT re-registration\",\n \"\\u20AC300\",\n \"Per case\",\n \"Tax Offices can deactivate a Seller\\u2019s VAT ID due to inactivity (i.e. not submitting the necessary VAT returns for more reporting periods). KPMG can assist you in the re-registration process for a fixed fee.\"\n ],\n [\n \"Import VAT deferment account setup\",\n \"By agreement\",\n \"By agreement\",\n \"By applying for an import VAT deferment license you are not required to pay the VAT on import immediately. The VAT can be paid when you file your VAT return. As a foreign entrepreneur you usually must engage a fiscal representative to apply on your behalf.\"\n ],\n [\n \"Sworn Translations\",\n \"By agreement\",\n \"By agreement\",\n \"Carrying out sworn translation is required to obtain the VAT registration numbers in some countries. KPMG may arrange for a third party to perform sworn translations on your behalf and charge the service fees to you.\"\n ]\n ]\n};\nexport const NUMBERED_TEXTS = [\n {\n displayNumber: 1,\n text: `This engagement contract governs the services that KPMG Global Services Hungary Ltd, V\\xE1ci \\xFAt 41, 1134 Budapest, Hungary (\\u201CKPMG\\u201D, \\u201Cwe\\u201D) will provide to the contracting party indicated above (\\u201Cyou\\u201D).`\n },\n {\n displayNumber: 2,\n text: `Upon entering into this contract, you agree that KPMG will provide the Core Tax Compliance Services set out in paragraph 6 below in respect of the countries listed and for the Core Tax Compliance Services Fee set out in`\n },\n {\n displayNumber: 3,\n text: `In addition, upon your specific request, KPMG may provide you with Additional Tax Services for Additional Services Fee, which are set out in`\n },\n {\n displayNumber: 4,\n text: `this contract. Whenever the contract refers to working days, it is understood as working days in Hungary.`,\n firstLine: `(KGSH) form an integral part of`,\n linkTitle: `The General Terms of Business`\n },\n {\n displayNumber: 5,\n text: `KPMG has a process of acceptance of new clients, which includes background verification and the assessment of our compliance with applicable KPMG and regulatory requirements. KPMG\\u2019s acceptance of this contract is subject to the satisfactory completion of KPMG\\u2019s pre-approval procedures and compliance with relevant Anti-Money Laundering Law.`\n },\n {\n displayNumber: 6,\n text: `Core Tax Compliance Services include the following services:`\n },\n {\n displayNumber: 7,\n text: `For the avoidance of doubt, the following services are not included in the scope of the Core Tax Compliance Services, although they can be provided as Additional Tax Services upon payment of the respective Additional Services Fee:`\n },\n {\n displayNumber: 8,\n text: `Should we or you believe that there is a need to consult with a specialist indirect tax adviser before answering specific tax authority questions, we can arrange for a KPMG Firm in the relevant country to provide advice to you. Such assistance will be subject to a separate fee to be advised by the other KPMG firm. Depending on the nature of the advice, we can engage the KPMG firm as a subcontractor, or you can enter into a separate contract with that KPMG firm.`\n },\n {\n displayNumber: 9,\n text: `KPMG shall not accept any liability for errors arising from incomplete information or inaccuracies in the data provided to us. KPMG will not verify the data provided by you.`\n },\n {\n displayNumber: 10,\n text: `In order for us to prepare your VAT, EU OSS and associated returns (based on the requirements of the given country: EC Sales and Purchase Lists, Local listings, VAT Ledger Statements and SAF-T files), you must provide us either with the Amazon VAT Transactions Report (typically downloaded from your Amazon Seller Central account) in text format without modification or the correct KPMG VAT/OSS data template files available on the KPMG VAT Compliance Portal once you have subscribed to our services. For EU IOSS returns you must provide the standard KPMG IOSS data template available on the KPMG VAT Compliance Portal. The KPMG VAT Compliance Portal has been tailored to process these specific data reports and requires these fixed formats. If you modify the data before uploading it to the KPMG VAT Compliance Portal, you do so at your own risk.`\n },\n {\n displayNumber: 11,\n text: `You must provide us with all required data to prepare the VAT, EU OSS, EU IOSS and associated returns for each calendar month by 17:00 Central European Time (\\u201CCET\\u201D) on the 6th calendar day following the end of the calendar month to be reported. If you do not use filing extension in Germany (The filing deadline from the 10th of the following month subsequent to the reporting period can be extended with one month if a prepayment is made to the tax authorities. The prepayment amounts to 1/11 of the expected VAT debt for the respective year and is due at the time the application is filed) , the source data must be provided to us by 4th calendar day following the end of the calendar month. If data is received late, we reserve the right to charge you a penalty fee of \\u20AC50 per occurrence of your default/delay.`\n },\n {\n displayNumber: 12,\n text: `If no data is received by the statutory submission deadline for a particular return and you have not instructed us to submit nil returns, KPMG may reserve the right not to submit a return to the tax authority for the particular period, unless it is in your interest that a nil return should be submitted. This may result in financial or other consequences from the tax authority, for which you will be fully liable. KPMG shall not be held liable for any financial or other consequences if your return was not submitted according to this paragraph.`\n },\n {\n displayNumber: 13,\n text: `In case you are trading on multiple platforms (for example, several marketplaces and/or through your own website), you must provide KPMG with the data needed to prepare the VAT returns in a format specified by KPMG (KPMG template files).`\n },\n {\n displayNumber: 14,\n text: `We will ask you to approve each return prior to us submitting it to the relevant tax authority. If we do not receive your explicit approval (or alternative instruction) by the earlier of 5 working days after we send the draft return to you or 10:00 CET on the submission deadline, we will assume that you agree with our calculations and that KPMG should submit the return to the tax authority, where permitted to do so. If you have failed to make the VAT payment to the fiscal representative, the VAT intermediary or the Tax Authorities on time, a nil return or no return may be submitted. KPMG and the fiscal representative or the VAT intermediary shall not be held liable for any financial or other consequences if your return was not submitted according to this paragraph.`\n },\n {\n displayNumber: 15,\n text: `In some countries, KPMG or its subcontractor is not authorised to file returns on behalf of another person or entity. In these cases, it will be your responsibility to sign the returns and submit them directly to the tax authority. KPMG will provide you with the return to be submitted together with the postal address where it should be sent or advise on e-filing option if available. You will be responsible for ensuring that the return is delivered.`\n },\n {\n displayNumber: 16,\n text: `Notwithstanding paragraph 17, KPMG will not make VAT payments on your behalf. We will provide you with the necessary payment instructions but the responsibility to make the payments will remain with you and you must make sure that the payment of VAT due has cleared to the given bank account by the deadline`\n },\n {\n displayNumber: 17,\n text: `In Spain, where VAT payments will be made on your behalf from KPMG\\u2019s Spanish bank account as an Additional Tax Service we provided to you , , you must transfer the full amount of VAT that you owe to our Spanish bank account so that it is received by us at least 1 working day before the payment deadline. The amount received by KPMG (after the bank fees and similar charges) should equal exactly to the VAT amount due for the respective period and has to be made to the correct account as per our instructions in the cover letter sent to you. If the amount is received later or in the incorrect amount, KPMG cannot guarantee the timely payment of VAT to the tax authorities. Late VAT payment may have consequences to you that we cannot accept liabilities for. Also, amount transferred to the wrong account or incorrect amount will be sent back to you at your cost. Where you will be making VAT payments to the Spanish Tax Authorities directly using an overseas bank account, your return will need to be submitted first in order to generate a payment reference number. In this case, you must inform us the bank account from which you will make the payment and approve the return at least 3 working days before the submission deadline so that we can provide the payment reference number to you at least 1 working days before the submission deadline. If you have failed to inform us on the bank account and / or to approve the return on time or failed to make VAT payment on time after the payment reference number has been provided to you, you are solely responsible for any consequences of late VAT payment.`\n },\n {\n displayNumber: 18,\n text: `For the IOSS compliance where the corresponding VAT payment due (if there is one) must be paid via your VAT intermediary, the VAT payment must be received as cleared funds in the required currency by the appointed VAT intermediary at the latest by 10.00 CET, 3 (three) working days before the due payment deadline in order for the payment to be made by the payment deadline. Should you wish to transfer the payment in a currency other than the required currency then you can if you wish to arrange an FX conversion through the VAT intermediary and will need to agree to the VAT intermediary\\u2019s specific terms and conditions in respect of this service.`\n },\n {\n displayNumber: 19,\n text: `You shall retain responsibility for the correctness and completeness of all returns and other filings we submit on your behalf, and for the payment of your tax liabilities. In particular, KPMG is not responsible for accuracy of the data reported in the annual tax return, if the preliminary returns were prepared and submitted by another service provider, nor are we in the position to reconcile the annual filing with the preliminary returns.`\n },\n {\n displayNumber: 20,\n text: `KPMG shall not accept any responsibility for penalties and other surcharges imposed by tax authorities if returns are submitted late due to the late delivery of data to us or if you pay your VAT liabilities late. KPMG liability should be limited to the amount set in paragraph 34 of the engagement contract. In any case, we shall not be liable for your loss resulting from interest amount due on the VAT liability that was not settled in time with the respective tax authorities.`\n },\n {\n displayNumber: 21,\n text: `You shall send to us promptly any notices, assessments or determinations received by tax authorities regarding your VAT returns prepared by KPMG for the service period covered by this agreement.`\n },\n {\n displayNumber: 22,\n text: `You shall retain responsibility for maintaining records and associated papers concerning your tax affairs in accordance with legal requirements in the country of your VAT/IOSS registrations and your country of establishment.`\n },\n {\n displayNumber: 23,\n text: `You shall provide a bank guarantee for the fiscal representative or the tax authorities if required (instructions will be provided by KPMG) which should be valid for the full period during which KPMG is providing services to you. We will confirm to you by writing once the bank guarantee is received either by the fiscal representative or the tax authorities.`\n },\n {\n displayNumber: 24,\n text: `All Core Tax Compliance Services Fees must be paid in advance as you are instructed during the signup process or the registration and compliance process through bank transfer, PayPal or any other means accepted on either the KPMG Portal or the VAT intermediary\\u2019s system. For the Pay As You Ship Core Tax Compliance Services, the monthly fee must be paid before data upload deadline specified in paragraph 11. If any additional package fee is due, it should be paid, together with the VAT payment, before the deadline specified in paragraph 18.`\n },\n {\n displayNumber: 25,\n text: `Where you request us to provide Additional Tax Services, we will seek your approval for the estimated fees and disbursements in advance that should be provided before we start the respective service.`\n },\n {\n displayNumber: 26,\n text: `KPMG will issue an invoice electronically and send it to your email address as recorded in your account on the KPMG VAT Compliance Portal) or make it available on the KPMG VAT Compliance Portal after payment of the respective fees. KPMG shall have no obligation to provide services if payment is not received in advance.`\n },\n {\n displayNumber: 27,\n text: `All fees are exclusive of VAT (where applicable) and any non-Hungarian taxes payable thereon or deductible therefrom and may be revised in the future.`\n },\n {\n displayNumber: 28,\n text: `Either party has the right to terminate this contract by providing 30 days written notice to ${ClientContext.ContactEmailAddress} (if cancelled by you) or to the designated contact email address as recorded on your account on the KPMG VAT Compliance Portal (if cancelled by KPMG). If you do so:`\n },\n {\n displayNumber: 29,\n text: `KPMG may be required to terminate this contract for legal, regulatory or professional reasons. In these circumstances, the contract may be cancelled by KPMG immediately and we shall not be required to carry out any further work following termination nor shall we be responsible or liable for any consequences arising from such termination.`\n },\n {\n displayNumber: 30,\n text: `Termination with immediate effect by KPMG. KPMG or your appointed fiscal representative/VAT intermediary will notify you by sending an email to your email address as recorded in your account on the KPMG VAT Compliance Portal, if you fail to upload data or make VAT payment within the appropriate deadline. If you do not rectify the failure within 5 working days after the notification, KPMG reserves the right to terminate this contract with immediate effect. KPMG notes that it is not possible to submit an IOSS return retrospectively after the deadline. Therefore, we reserve the right to terminate our contract immediately if a correct IOSS return cannot be submitted before the deadline because you have not uploaded the data or made the VAT payment before the deadlines specified in paragraph 11 and paragraph 18 respectively. We can also terminate the contract immediately if you refrain from cooperation with the tax authorities during the tax audit or another similar proceedings. In these circumstances, the contract may be cancelled immediately. We shall not be required to carry out any further work following termination nor shall we be responsible or liable for any consequences arising from such termination.`\n },\n {\n displayNumber: 31,\n text: `KPMG may terminate this agreement with immediate effect if the Core Tax Compliance Services Fees have not been paid according to paragraph 24 and this breach is not remedied withing 2 business days after the receipt of KPMG\\u2019s notice. This contract may be terminated by KPMG with immediate effect if you do not renew the Core Tax Compliance Services after the 12 month period has lapsed or the included packages credit (for Tier 1, Tier 2 or Tier 3 IOSS Core Tax Compliance Services) has been fully utilized. For the Pay As You Ship IOSS Core Tax Compliance Services, we will not prepare your IOSS return if the monthly fee has not been paid. We will also terminate the contract with immediate effect if any additional package fee which is due together with the VAT payment, is not paid before the deadline, in accordance with paragraph 24.`\n },\n {\n displayNumber: 32,\n text: `If KPMG cancels this contract due to a material breach committed by you (such as the breaches mentioned in paragraph 30), no refund will be made of the Core Tax Compliance Services Fee. In case of cancellation by KPMG for any other reason, a refund of the Core Tax Compliance Services Fee will be paid pro-rata according to the number of completed months of services or the number of packages utilized (for Tier 1, Tier 2 and Tier 3 IOSS compliance services as defined in Appendix 1), whichever is smaller.`\n },\n {\n displayNumber: 33,\n text: `If you are required to provide a bank guarantee and this is not provided or is cancelled, KPMG is entitled to stop providing services immediately and no Core Tax Compliance Services Fee will be repaid.`\n },\n {\n displayNumber: 34,\n text: `Exclusions and limitations on KPMG\\u2019s liability to you are set out in paragraphs 34 - 38 of the General Terms of Business. By signing this contract, the signatory parties of this contract mutually agree that KPMG\\u2019s liability to you in connection with the services provided shall be limited, on the basis set out in Appendix 1 and Appendix 2, to a maximum of 1,5 times the Service Fee of the respective country or service.`\n },\n {\n displayNumber: 35,\n text: `The services defined under this contract require us to collect and process your personal data and act as data processor. The website below contains our privacy statements and explains the way how we process your data and ensure appropriate security levels: `,\n linkTitle: `https://home.kpmg/content/dam/kpmg/hu/pdf/KGSH_Privacy_Statement_v2.pdf`\n },\n {\n displayNumber: 36,\n text: `The Engagement Contract sets out the entire agreement and understanding between us in connection with the services and supersedes any prior agreements, understandings, arrangements, statements or representations (unless made fraudulently) relating to the services. The contract may be accepted via the Marketplace portal with online acceptance, and unless you request, KPMG will not prepare a signed copy of it, but the electronic version will guide the relationship. Any modifications or variations to the Engagement Contract shall be concluded with the same formalities as described above.`\n }\n];\nexport const UNORDERED_TEXTS = [\n \"Provide access to the KPMG VAT Compliance Portal\",\n \"Arrange the selected VAT registration (country specific VAT registration, EU One-Stop-Shop (OSS) VAT registration or EU Import-One-Stop-Shop (IOSS) VAT registration) on your behalf, unless you already possess the relevant VAT registration number. KPMG is not responsible for any delays and penalties caused by you (e.g. retrospective registration, delay in document provision, not correct documents provided) or by the tax authorities during the registration process.\",\n \"If required by law, appoint a fiscal representative (for country specific VAT registration) or a VAT intermediary (for EU IOSS VAT registration) on your behalf for the required VAT registration. KPMG may use a subcontractor for the role of the fiscal representative or the VAT intermediary. You will be required to sign a separate agreement with the appointed fiscal representative or VAT intermediary.\",\n \"Prepare the VAT returns, EC Sales and/or Purchase Lists and VAT local listings (where required) for approval by you before submission. KPMG will prepare these returns based on data that you upload to the KPMG VAT Compliance Portal. For country specific VAT returns and/or EU OSS VAT returns, KPMG currently accepts (may be subject to change):\",\n \"the Amazon VAT Transactions Report; and/or\",\n \"the standard KPMG VAT/OSS data template available on the KPMG VAT Compliance Portal\",\n \"For EU IOSS returns, KPMG currently accepts (may be subject to change):\",\n \"the standard KPMG IOSS data template available on the KPMG VAT Compliance Portal.\",\n \"Automatically extract transactional data feed required for VAT reporting purposes (this is currently only available for Amazon Sellers).\",\n \"Where the necessary data is received according to the deadline set out in paragraph 11 and there are no additional queries on the data, KPMG will provide the draft returns to you at least 3 working days prior to the statutory submission deadline. For EU IOSS registration where VAT payments are required to be made via the VAT intermediary and not directly to the relevant Tax Authorities, we will provide the draft returns to you at least 7 working days prior to the statutory submission deadline. This paragraph does not apply if the timespan between the deadline set out in paragraph 11 and the statutory submission deadline is equal to or lower than 4 working days. In such cases, KPMG will undertake the best efforts to provide the draft returns to you as soon as possible.\",\n \"Submit returns to the appropriate tax authority where legally possible and confirm submission to you.\",\n \"Provide payment instructions via email (i.e. cover letter) or via the KPMG VAT Compliance Portal to you regarding your VAT liabilities.\",\n \"Act as your correspondence address for the tax authority where legally permitted during the contract duration, and inform you of any action related to your VAT reporting and liabilities as per correspondence received from the tax authority\",\n \"In case of contract termination, KPMG will not prepare and/or submit tax returns for tax reporting periods where the filing deadline falls after the termination date (as per paragrphs 28-33.) or inform you about actions required because of tax authorities\\u2019 correspondence.\",\n \"Carrying out sworn translation or legalisation of documents that are required to obtain the VAT registration numbers in each country. KPMG may arrange for a third party to perform sworn translations on your behalf and charge the service fees to you.\",\n \"Preparing and submitting VAT and associated returns for tax reporting periods which ended before the date of this contract.\",\n \"Reviewing invoices and confirming that they meet the required regulatory requirements.\",\n \"Preparing your VAT returns (or any other return) based on data which is not provided in the correct format, unless specifically agreed with you.\",\n \"Auditing or verifying the correctness and completeness of the data you provide to us.\",\n \"The termination date of the contract will be the 30th day after the written notice was given to KPMG.\",\n \"Within the first 14 calendar days from the date of payment of the Core Tax Compliance Services Fee, you will be eligible for a proportionate refund of the fees paid as set out in Section 31 below, minus \\u20AC200 administration fee to cover costs already incurred by KPMG with the exception of the Pas As You Ship IOSS Core Tax Compliance Services in which case you will not be eligible for the refund of any fee.\",\n \"After the first 14 calendar days, no refund of the Core Tax Compliance Services Fee will be paid.\"\n];\n","import { jsPDF } from \"jspdf\";\nimport autoTable from \"jspdf-autotable\";\nimport * as PDFHelper from \"GlobalShared/helpers/pdfHelper\";\nimport { ADDITIONAL_TAX_SERVICES, NUMBERED_TEXTS, UNORDERED_TEXTS } from \"./kpmg-pdf-data\";\nimport { formatDate } from \"GlobalShared/helpers/dateHelper\";\nimport { colorLightGray, colorDarkGray, colorWhite, colorBlack, iossTermsAndConditions, privacyStatement, horizontalLine } from \"../../../helpers/pdfHelper\";\nimport { iossSection, ossSection, vatSection } from \"./pdf-common\";\nconst doc = new jsPDF({ unit: \"mm\" });\nconst sideMargin = 10;\nconst pageCenter = doc.internal.pageSize.width / 2;\nconst WWDoc = {\n doc,\n // Alignment Constants in [mm]\n sideMargin,\n topMargin: 12,\n topMarginForText: 27,\n footerY: 285,\n pageWidth: doc.internal.pageSize.width,\n pageCenter,\n contentWidth: doc.internal.pageSize.width - 2 * sideMargin,\n // numbered textbox\n marginBetweenNumberedTextBoxes: 1,\n numberedTextBoxWidth: 85,\n rightNumberedX: pageCenter + 6,\n numberedTextBoxIndent: 6,\n // unordered textbox\n marginBetweenUnorderedTextBoxes: 0,\n leftUnorderedX: sideMargin + 5,\n rightUnorderedX: pageCenter + 10,\n unorderedTextBoxIndent: 5,\n unorderedTextBoxWidth: 82,\n // small unordered textbox\n marginBetweenSmallUnorderedTextBoxes: 1,\n rightSmallUnorderedX: pageCenter + 15,\n smallUnorderedTextBoxIndent: 10,\n smallUnorderedTextBoxWidth: 77,\n // header image\n headerImageWidth: 15,\n headerImageHeight: 6\n};\nconst header = (wwdoc) => {\n wwdoc.doc.addImage(\"/images/kpmg_logo.png\", \"PNG\", wwdoc.sideMargin, wwdoc.topMargin, wwdoc.headerImageWidth, wwdoc.headerImageHeight);\n};\nconst footer = (wwdoc, pageNumber) => {\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(`Page ${pageNumber}`, wwdoc.sideMargin, wwdoc.footerY);\n wwdoc.doc.text(`Indirect Tax Services`, wwdoc.pageWidth - wwdoc.sideMargin - 2, wwdoc.footerY, { align: \"right\" });\n};\nconst firstPage = (wwdoc, pdfModel) => {\n header(wwdoc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n PDFHelper.textCentered(wwdoc.doc, \"Engagement contract for Core Tax Compliance Services and Additional Tax Services\", wwdoc.topMarginForText);\n wwdoc.doc.setFontSize(9);\n const partnerY = 40;\n const marginBottom = 10;\n wwdoc.doc.text(\"Full legal name of the contracting party\", wwdoc.sideMargin, partnerY);\n wwdoc.doc.text(\"Legal status of the contracting party\", wwdoc.sideMargin, partnerY + marginBottom);\n wwdoc.doc.text(\"Registered address of the contracting party\", wwdoc.sideMargin, partnerY + 2 * marginBottom);\n wwdoc.doc.setLineWidth(0.1);\n wwdoc.doc.text(\"VAT Number\", wwdoc.sideMargin, partnerY + 3 * marginBottom);\n wwdoc.doc.text(\"Signature\", wwdoc.sideMargin, partnerY + 4 * marginBottom);\n horizontalLine(wwdoc.sideMargin + 19, partnerY + 4 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.text(\"Date\", wwdoc.sideMargin, partnerY + 5 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.contractDate ? formatDate(pdfModel.contractDate) : \"\", wwdoc.sideMargin + 40, partnerY + 5 * marginBottom);\n horizontalLine(wwdoc.sideMargin + 19, partnerY + 5 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.text(\"KPMG Reference\", wwdoc.sideMargin, partnerY + 6 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.kpmgReference !== void 0 ? pdfModel.kpmgReference : \"\", wwdoc.sideMargin + 40, partnerY + 6 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"bold\");\n horizontalLine(wwdoc.sideMargin + 30, partnerY + 6 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.partnerName ? pdfModel.partnerName : \"\", wwdoc.pageCenter, partnerY);\n wwdoc.doc.text(pdfModel.legalStatus ? pdfModel.legalStatus : \"\", wwdoc.pageCenter, partnerY + marginBottom);\n wwdoc.doc.text(pdfModel.addressLine ? pdfModel.addressLine : \"\", wwdoc.pageCenter, partnerY + 2 * marginBottom, {\n maxWidth: 80,\n lineHeightFactor: 1.2\n });\n wwdoc.doc.text(pdfModel.vatNumber ? pdfModel.vatNumber : \"\", wwdoc.pageCenter, partnerY + 3 * marginBottom);\n wwdoc.doc.setLineWidth(0.3);\n wwdoc.doc.setLineHeightFactor(16);\n horizontalLine(wwdoc.sideMargin, 107, wwdoc.pageWidth - wwdoc.sideMargin, wwdoc.doc);\n wwdoc.doc.setLineHeightFactor(1.4);\n PDFHelper.titleText(`General`, wwdoc.sideMargin, 113, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(0, 2), 119, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.appendixText(\"Appendix 1.\", 5, \"\", wwdoc.sideMargin + 50, 151, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[2].displayNumber, NUMBERED_TEXTS[2].text, wwdoc.sideMargin, 156, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.appendixText(\"Appendix 2.\", 6, \"\", wwdoc.sideMargin + 19, 164, wwdoc.doc);\n PDFHelper.linkInFrontOfTextTextBox(\n NUMBERED_TEXTS[3].linkTitle,\n iossTermsAndConditions,\n NUMBERED_TEXTS[3].displayNumber,\n NUMBERED_TEXTS[3].firstLine,\n NUMBERED_TEXTS[3].text,\n wwdoc.sideMargin,\n 170,\n wwdoc.numberedTextBoxWidth,\n wwdoc.doc\n );\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[4].displayNumber, NUMBERED_TEXTS[4].text, wwdoc.sideMargin, 184, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Our services`, wwdoc.sideMargin, 213, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[5].displayNumber, NUMBERED_TEXTS[5].text, wwdoc.sideMargin, 219, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(0, 2), 225, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 5, wwdoc.doc);\n PDFHelper.linkWithBrackets(\"www.kpmg-vat-oss.com/gb/en\", wwdoc.leftUnorderedX + wwdoc.unorderedTextBoxIndent, 229, wwdoc.unorderedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(2, 4), 116, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(4, 6), 175, wwdoc.rightSmallUnorderedX, wwdoc.smallUnorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 1, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(6, 7), 190, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(7, 8), 200, wwdoc.rightSmallUnorderedX, wwdoc.smallUnorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 1, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(8, 10), 209, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n footer(wwdoc, 1);\n};\nconst secondPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(10, 14), wwdoc.topMarginForText, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 1, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[6].displayNumber, NUMBERED_TEXTS[6].text, wwdoc.sideMargin, 96, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(14, 15), 117, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(15, 19), 137, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[7].displayNumber, NUMBERED_TEXTS[7].text, wwdoc.sideMargin, 179, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Your obligations`, wwdoc.sideMargin, 216, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(8, 9), 223, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(9, 12), wwdoc.topMarginForText, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(12, 14), 189, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n footer(wwdoc, 2);\n};\nconst thirdPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(14, 19), wwdoc.topMarginForText, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(19, 23), wwdoc.topMarginForText, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Payment for services`, wwdoc.rightNumberedX, 130, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(23, 27), 136, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Termination`, wwdoc.rightNumberedX, 239, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[27].displayNumber, NUMBERED_TEXTS[27].text, wwdoc.rightNumberedX, 245, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 3);\n};\nconst fourthPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(19, 22), wwdoc.topMarginForText, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 1, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(28, 31), 80, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(31, 33), wwdoc.topMarginForText, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Limitation of liability`, wwdoc.rightNumberedX, 88, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[33].displayNumber, NUMBERED_TEXTS[33].text, wwdoc.rightNumberedX, 94, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Data Privacy`, wwdoc.rightNumberedX, 127, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[34].displayNumber, NUMBERED_TEXTS[34].text, wwdoc.rightNumberedX, 133, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.linkText(\"Privacy Statement\", privacyStatement, wwdoc.rightNumberedX + 6, 151, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`The Engagement Contract`, wwdoc.rightNumberedX, 158, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[35].displayNumber, NUMBERED_TEXTS[35].text, wwdoc.rightNumberedX, 164, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 4);\n};\nconst fifthPage = (wwdoc, pdfModel) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.setFontSize(11);\n PDFHelper.titleText(\"Appendix 1\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`KPMG will provide the following Core Tax Compliance Services and the Annual Service Fee will apply:`, wwdoc.sideMargin, wwdoc.topMarginForText + 7);\n const tableProps = {\n lineHeight: 6,\n tableLeftPadding: wwdoc.sideMargin + 40,\n eurChar: \"EUR\",\n secondCol: 80,\n paragraphMargin: 5\n };\n const hasIossService = pdfModel.iossTier !== void 0;\n const hasVatService = pdfModel.hasVatService;\n const hasEuOssVat = false;\n const tableSectionTop = wwdoc.topMarginForText + tableProps.paragraphMargin + tableProps.lineHeight * 2;\n const lineObj = {\n line: 0\n };\n const availableServices = [].concat(hasVatService ? [vatSection] : []).concat(hasEuOssVat ? [ossSection] : []).concat(hasIossService ? [iossSection] : []);\n availableServices.forEach((service, index) => {\n const sectionLetter = String.fromCharCode(\"a\".charCodeAt(0) + index);\n const cumulativeTop = index > 0 ? tableSectionTop + lineObj.line * tableProps.lineHeight + 2 * tableProps.paragraphMargin : tableSectionTop + lineObj.line * tableProps.lineHeight;\n service(sectionLetter, lineObj, cumulativeTop, tableProps, wwdoc, pdfModel);\n });\n footer(wwdoc, 5);\n};\nconst sixthPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.setFontSize(11);\n PDFHelper.titleText(\"Appendix 2: Additional Tax Services\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`The following Additional Tax Services may be provided upon your explicit request:`, wwdoc.sideMargin, wwdoc.topMarginForText + 7);\n autoTable(wwdoc.doc, {\n head: ADDITIONAL_TAX_SERVICES.header,\n body: ADDITIONAL_TAX_SERVICES.body,\n theme: \"grid\",\n startY: wwdoc.topMarginForText + 14,\n styles: {\n textColor: colorBlack,\n overflow: \"linebreak\",\n font: \"times\",\n fontSize: 9,\n lineColor: colorLightGray,\n valign: \"middle\",\n cellPadding: { top: 2, horizontal: 2, bottom: 3 }\n },\n headStyles: {\n fillColor: colorDarkGray,\n textColor: colorWhite\n },\n columnStyles: {\n 0: { cellWidth: 45 },\n 1: { cellWidth: 24 },\n 2: { cellWidth: 28 }\n },\n didParseCell: (data) => {\n if (data.row.index === 1 || data.row.index === 5 || data.row.index === 6 || data.row.index === 7 || data.row.index === 19) {\n data.cell.styles.cellPadding = { top: 1, horizontal: 2, bottom: 7 };\n }\n if (data.row.index === 8 || data.row.index === 9) {\n if (data.column.index === 1) {\n data.cell.colSpan = 2;\n }\n if (data.column.index === 2) {\n data.cell.colSpan = 0;\n }\n }\n }\n });\n footer(wwdoc, 6);\n};\nexport const generateKpmgPDF = (pdfModel) => {\n firstPage(WWDoc, pdfModel);\n secondPage(WWDoc);\n thirdPage(WWDoc);\n fourthPage(WWDoc);\n fifthPage(WWDoc, pdfModel);\n sixthPage(WWDoc);\n WWDoc.doc.save(`Contract_${pdfModel.partnerName}_${pdfModel.kpmgReference}.pdf`);\n return WWDoc.doc.output(\"blob\");\n};\n","export const ADDITIONAL_TAX_SERVICES = {\n header: [[\"Task\", \"Fee\", \"Fee Basis\", \"Comments\"]],\n body: [\n [\n \"Country specific VAT registration & compliance\",\n \"\\u20AC900\",\n \"Annual fee/country\",\n \"VAT registration (if required), preparation and submission of VAT returns, EC Sales and/or Purchase Lists and VAT local listings (where required).\"\n ],\n [\n \"Fiscal representation in IT, FR, PL and ES\",\n \"\\u20AC1000\",\n \"Annual fee/ country\",\n \"Non-EU incorporated Sellers have to appoint a fiscal representative in some EU countries. We can provide this service for a fixed annual fee in France, Italy, Poland and Spain.\"\n ],\n [\n \"Fiscal representation in other countries\",\n \"By agreement\",\n \"By agreement\",\n \"In case a fiscal representation is required in other countries, we can offer this service by separate agreement.\"\n ],\n [\"Filing agent fee in DE\", \"\\u20AC600\", \"Annual fee/ country\", \"Non-EU incorporated Sellers have to appoint a German established filing agent. We can provide this service for a fixed annual fee.\"],\n [\"EU One-Stop-Shop (OSS) VAT registration and compliance\", \"\\u20AC3000\", \"Annual fee\", \"EU OSS VAT registration (if required), preparation and submission of quarterly OSS VAT returns.\"],\n [\n \"EU Import-One-Stop-Shop (IOSS) VAT registration and compliance\",\n \"\\u20AC2500\",\n \"Annual fee\",\n \"EU IOSS VAT registration (if required), preparation and submission of monthly IOSS VAT returns, including VAT intermediary services (if required)\"\n ],\n [\n \"Intrastat threshold check\",\n \"\\u20AC300\",\n \"Per request per country per year\",\n \"In case your company whish us to check if the Intrastat threshold for your company in a given country has been exceeded we can offer it as an additional service. (Both directions included)\"\n ],\n [\n \"Intrastat reports\",\n \"\\u20AC480\",\n \"Annual fee/ country / direction\",\n \"In case your company exceeds an Intrastat threshold (please note that you have to notify KPMG in this regards, as KPMG is not responsible for monitoring the Iintrastat threshold), KPMG can assist you with the preparation and submission of the required monthly reports. The reports for dispatches and arrivals are considered two separate reports and will be charged separately.\"\n ],\n [\"Retrospective returns\", \"In proportion to the annual fee paid for the service\", \"\", \"In case you have to submit historic VAT returns, KPMG can assist you with its submission.\"],\n [\n \"Self-revisions\",\n \"In proportion to the annual fee paid for the service\",\n \"\",\n \"In case you request any amendments in your VAT returns after it has been prepared or submitted, a self-revision has to be prepared. We can do this for a fixed fee.\"\n ],\n [\n \"VAT payment processing\",\n \"\\u20AC120\",\n \"Per year\",\n \"Required if you would like us to make VAT payments on your behalf in Spain. This fee includes the 4 quarterly VAT payments to the tax authorities. \\u20AC30/transfer will be charged for any additional transfer besides these.\"\n ],\n [\"Communicating with tax authorities\", \"\\u20AC50\", \"Per case\", \"Investigating/mitigating late payment penalties etc.\"],\n [\"Changing company details\", \"\\u20AC100\", \"Per request\", \"Dealing with a change of company name, change of director etc.\"],\n [\"General VAT advice and audit assistance\", \"\\u20AC150\", \"Per hour\", \"Sellers will be notified in advance if work falls into this category.\"],\n [\n \"Specialist VAT advice\",\n \"By agreement\",\n \"By agreement\",\n \"For specialist advice, we will work with our teams in local KPMG offices. Fees vary from country to country and you will be provided with the fees in advance of starting any work.\"\n ],\n [\n \"VAT Deregistration\",\n \"\\u20AC300\",\n \"Per request\",\n \"In case your contract expires before the deregistration happens, KPMG is not responsible for the submission of further (nil) returns to the tax authorities and penalties levied for any missing return. Additional VAT returns and associated reports (e.g. EC Sales List) after the contractual period are additional chargeable services. KPMG cannot guarantee a successful deregistration in case you have any outstanding liabilities in a given country.\"\n ],\n [\"EORI number application\", \"\\u20AC150\", \"Per request\", \"Required in order to register as an importer.\"],\n [\n \"VAT re-registration\",\n \"\\u20AC300\",\n \"Per case\",\n \"Tax Offices can deactivate a Seller\\u2019s VAT ID due to inactivity (i.e. not submitting the necessary VAT returns for more reporting periods). KPMG can assist you in the re-registration process for a fixed fee.\"\n ],\n [\n \"Import VAT deferment account setup\",\n \"By agreement\",\n \"By agreement\",\n \"By applying for an import VAT deferment license you are not required to pay the VAT on import immediately. The VAT can be paid when you file your VAT return. As a foreign entrepreneur you usually must engage a fiscal representative to apply on your behalf.\"\n ],\n [\n \"Sworn Translations\",\n \"By agreement\",\n \"By agreement\",\n \"Carrying out sworn translation is required to obtain the VAT registration numbers in some countries. KPMG may arrange for a third party to perform sworn translations on your behalf and charge the service fees to you.\"\n ]\n ]\n};\nexport const IOSS_TIER_FEES = {\n body: [\n [\"Name of the Services\", \"One time registration/takeover fee\", \"Core Tax Compliance Services Fee, including VAT intermediary services\"],\n [\"Tier 1\", \"None\", \"EUR 800 for up to 199 packages in a 12 month period, renewable after the 199 packages credit is used up or after 12 months.\"],\n [\"Tier 2\", \"None\", \"EUR 2500 for up to 999 packages in a 12 month period, renewable after the 999 packages credit is used up or after 12 months.\"],\n [\"Tier 3\", \"None\", \"EUR 4800 for unlimited packages in a 12 month period, renewable after 12 months.\"]\n ]\n};\nexport const NUMBERED_TEXTS = [\n {\n displayNumber: 1,\n text: `This engagement contract governs the services that KPMG Global Services Hungary Ltd, V\\xE1ci \\xFAt 41, 1134 Budapest, Hungary (\\u201CKPMG\\u201D, \\u201Cwe\\u201D) will provide to the contracting party indicated above (\\u201Cyou\\u201D).`\n },\n {\n displayNumber: 2,\n text: `Upon entering into this contract, you agree that KPMG will provide the Import-One-Stop-Shop (\\u201CIOSS\\u201D) VAT Compliance Services set out in clause 6 for the Annual Service Fee set out in`\n },\n {\n displayNumber: 3,\n text: `In addition, upon your specific request, KPMG may provide you with Additional Tax Services for Additional Service Fees, which are set out in`\n },\n {\n displayNumber: 4,\n text: `this contract. Whenever the contract refers to working days, it is understood as working days in Hungary.`,\n firstLine: `(KPMG) form an integral part of`,\n linkTitle: `The General Terms of Business`\n },\n {\n displayNumber: 5,\n text: `KPMG has a process of acceptance of new clients, which includes the assessment of our compliance with applicable regulatory requirements. KPMG\\u2019s acceptance of this contract is subject to the satisfactory completion of KPMG\\u2019s pre-approval procedures and Anti-Money Laundering obligations.`\n },\n {\n displayNumber: 6,\n text: `The IOSS VAT Compliance Services include the following services:`\n },\n {\n displayNumber: 7,\n text: `For the avoidance of doubt, the following services are not included in the scope of the IOSS VAT Compliance Services, although they can be provided as Additional Tax Services upon payment of the respective Additional Service Fee:`\n },\n {\n displayNumber: 8,\n text: `Should we or you believe that there is a need to consult with a specialist indirect tax adviser before answering specific tax authority questions, we can arrange for a KPMG Firm in the relevant country to provide advice to you as our subcontractor. Such assistance will be subject to a separate fee to be advised by the other KPMG firm. We will not engage the subcontractor without your prior written acceptance of their fee estimate.`\n },\n {\n displayNumber: 9,\n text: `KPMG shall not accept any liability for errors arising from incomplete information or inaccuracies in the data provided to us. KPMG will not verify the data provided by you.`\n },\n {\n displayNumber: 10,\n text: `In order for us to prepare your IOSS VAT return, you must provide us the KPMG template file available on the KPMG IOSS Compliance portal once you have subscribed to our services. The KPMG IOSS Compliance Portal has been tailored to process this specific data report and requires this fixed format.`\n },\n {\n displayNumber: 11,\n text: `You must provide us with all required data to prepare the IOSS VAT returns for each calendar month by 17:00 Central European Time (\\u201CCET\\u201D) on the 6th calendar day following the end of the calendar month to be reported. If data is received late, we reserve the right to charge you a penalty fee of EUR 50 per occurrence of your default/delay.`\n },\n {\n displayNumber: 12,\n text: `If no data is received by the statutory submission deadline for a particular return and you have not instructed us to submit nil returns, KPMG will not submit a IOSS return to the tax authority for the particular period. This may result in financial or other consequences from the tax authority, for which you will be fully liable. KPMG shall not be held liable for any financial or other consequences if the return was submitted according to this paragraph.`\n },\n {\n displayNumber: 13,\n text: `We will ask you to approve each IOSS return prior to us submitting it to the relevant tax authority. If we do not receive your explicit approval (or alternative instruction) by the earlier of 5 working days after we send the draft return to you or 10:00 CET on the submission deadline which is the end of the month following the return period, we will assume that you agree with our calculations and that KPMG should submit the return to the tax authority, where permitted to do so. Note that if a payment of VAT is due then this payment must be received as cleared funds in Euro by the appointed Intermediary at the latest by 10.00 CET, 3 (three) working days before the due payment deadline which is also the end of the month following the return period end in order for the payment to be made by the payment deadline. Should you wish to transfer the payment in a currency other than Euro then you can if you wish arrange an FX conversion through the Intermediary and will need to agree to the Intermediary\\u2019s specific terms and conditions in respect of this service.`\n },\n {\n displayNumber: 14,\n text: `You shall retain responsibility for the correctness and completeness of all returns we submit on your behalf, and for the payment of your tax liabilities.`\n },\n {\n displayNumber: 15,\n text: `KPMG shall not accept any responsibility for penalties and other surcharges imposed by tax authorities if returns are submitted late due to the late delivery of data to us or if you pay your VAT liabilities late. KPMG liability should be limited to the amount set in clause 28 of the engagement contract. In any case, we shall not be liable for your loss resulting from interest amount due on the VAT liability that was not settled in time with the respective tax authorities.`\n },\n {\n displayNumber: 16,\n text: `You shall send to us promptly any notices, assessments or determinations received by tax authorities regarding your IOSS returns prepared by KPMG or the Services requiring action by us.`\n },\n {\n displayNumber: 17,\n text: `You shall retain responsibility for maintaining records and associated papers concerning your tax affairs in accordance with legal requirements. The retention period for all IOSS records is 10 years.`\n },\n {\n displayNumber: 18,\n text: `You shall keep your IOSS number confidential and only use it for your own shipments.`\n },\n {\n displayNumber: 19,\n text: `All IOSS VAT Compliance Service Fees must be paid annually in advance through bank transfer, PayPal or any other means accepted on the KPMG IOSS Portal.`\n },\n {\n displayNumber: 20,\n text: `Where you request us to provide Additional Tax Services, we will seek your approval for the estimated fees and disbursements in advance that should be provided before we start the respective service.`\n },\n {\n displayNumber: 21,\n text: `KPMG will issue an invoice electronically by email after payment of the respective fees. KPMG shall have no obligation to provide services if payment is not received in advance.`\n },\n {\n displayNumber: 22,\n text: `Our fee amounts and rates set out in Appendix 1 are fixed for one year from the date of payment of the first Annual Service Fee and may be revised annually thereafter.`\n },\n {\n displayNumber: 23,\n text: `All fees are exclusive of VAT (where applicable) and any nonHungarian taxes payable thereon or deductible therefrom.`\n },\n {\n displayNumber: 24,\n text: `Either party has the right to terminate this contract by providing 30 days written notice to ${ClientContext.ContactEmailAddress} (if cancelled by you) or to the designated contact email (if cancelled by KPMG). If you do so:`\n },\n {\n displayNumber: 25,\n text: `KPMG may be required to terminate this contract for legal, regulatory or professional reasons. In these circumstances, the contract may be cancelled immediately and we shall not be`\n },\n {\n displayNumber: 26,\n text: `KPMG [or your appointed IOSS Intermediary] will notify you by email if you fail to make VAT payment within the appropriate deadline. If you do not rectify the failure within 5 working days after the notification, KPMG reserves the right to terminate this contract. We can also terminate the contract if you refrain from cooperation with the tax authorities during the tax audit or another similar proceedings. In these circumstances, the contract may be cancelled immediately after the warning sent by KPMG and we shall not be required to carry out any further work following termination nor shall we be responsible or liable for any consequences arising from such termination.`\n },\n {\n displayNumber: 27,\n text: `If KPMG cancels this contract due to a material breach committed by you (such as the breaches mentioned in clause 26), no refund will be made of the Annual Service Fee. In case of cancellation by KPMG for any other reason, a refund of the Annual Service Fee will be paid pro-rata according to the number of completed months of service.`\n },\n {\n displayNumber: 28,\n text: `Exclusions and limitations on KPMG\\u2019s liability to you are set out in clauses 34 to 38 of the General Terms of Business. By signing this contract, you and we mutually agree that KPMG\\u2019s liability to you in connection with the services provided in each annual`\n },\n {\n displayNumber: 29,\n text: `The services defined under this contract require us to collect and process your personal data and act as data processor. The website below contains our privacy statements and explains the way how we process your data and ensure appropriate security levels:`,\n linkTitle: `https://home.kpmg/content/dam/kpmg/hu/pdf/KGSH_Privacy_Statement_v2.pdf`\n },\n {\n displayNumber: 30,\n text: `The Engagement Contract sets out the entire agreement and understanding between us in connection with the services and supersedes any prior agreements, understandings, arrangements, statements or representations (unless made fraudulently) relating to the services. The contract may be accepted via the Marketplace portal with online acceptance, and unless you request, KPMG will not prepare a signed copy of it, but the electronic version will guide the relationship. Any modifications or variations to the Engagement Contract shall be concluded with the same formalities as described above.`\n }\n];\nexport const UNORDERED_TEXTS = [\n \"Providing access to the KPMG IOSS Compliance Portal\",\n \"Arranging the IOSS registration on your behalf. If you are based outside the EU, we will appoint a VAT intermediary for you on your behalf. Your IOSS number is linked to the VAT\",\n \"Prepare the monthly IOSS returns for approval by you before submission. KPMG will prepare these returns based on data that you upload to the KPMG IOSS Compliance Portal.\",\n \"Where the necessary data is received according to the deadline set out in clause 11 and there are no additional queries on the data, KPMG will provide the draft returns to you at least 7 working days prior to the statutory submission deadline.\",\n \"Submitting your IOSS returns to the appropriate tax authority and confirm submission to you.\",\n \"Providing payment instructions via email (i.e. cover letter) or other suitable means to you regarding your VAT liabilities.\",\n \"Informing you of any action related to your VAT reporting and liabilities as per correspondence received from the tax authority.\",\n \"In case of contract termination, KPMG will not prepare and submit your IOSS VAT returns for tax reporting periods where the filing deadline falls after the termination date ( as per clauses 24-26.) or inform you about actions required because of tax authorities\\u2019 correspondence.\",\n \"Non-IOSS related VAT registration and compliance\",\n \"Preparing and submitting IOSS VAT returns for tax reporting periods which ended before the date of this contract.\",\n \"Reviewing invoices and confirming that they meet the required regulatory requirements\",\n \"Preparing your IOSS VAT returns based on data which is not provided in the correct format, unless specifically agreed with you\",\n \"Auditing or verifying the correctness and completeness of the data you provide to us.\",\n \"Note that payments will be undertaken through your appointed Intermediary, not through KPMG\",\n \"The termination date of the contract will be the 30th day after the written notice was given to KPMG.\",\n \"Within the first 14 calendar days from the date of payment of the first Annual Service Fee, you will be eligible for a full refund of all fees paid, minus EUR 200 administration fee to cover costs already incurred by KPMG.\",\n \"After the first 14 calendar days but within the first 12 months, no refund of the Annual Service Fee will be paid.\",\n \"After the first 12 months, a refund of the Annual Service Fee will be paid pro-rata according to the number of completed months of service.\"\n];\n","import { jsPDF } from \"jspdf\";\nimport autoTable from \"jspdf-autotable\";\nimport * as PDFHelper from \"GlobalShared/helpers/pdfHelper\";\nimport { ADDITIONAL_TAX_SERVICES, NUMBERED_TEXTS, UNORDERED_TEXTS } from \"./laposte-pdf-data\";\nimport { formatDate } from \"GlobalShared/helpers/dateHelper\";\nimport { colorLightGray, colorDarkGray, colorWhite, colorBlack, iossTermsAndConditions, privacyStatement, horizontalLine } from \"../../../helpers/pdfHelper\";\nimport { iossSection, ossSection, vatSection } from \"./pdf-common\";\nconst doc = new jsPDF({ unit: \"mm\" });\nconst sideMargin = 10;\nconst pageCenter = doc.internal.pageSize.width / 2;\nconst WWDoc = {\n doc,\n // Alignment Constants in [mm]\n sideMargin: 10,\n topMargin: 12,\n topMarginForText: 27,\n footerY: 282,\n pageWidth: doc.internal.pageSize.width,\n pageCenter: doc.internal.pageSize.width / 2,\n contentWidth: doc.internal.pageSize.width - 2 * sideMargin,\n // numbered textbox\n marginBetweenNumberedTextBoxes: 1,\n numberedTextBoxWidth: 85,\n rightNumberedX: pageCenter + 6,\n numberedTextBoxIndent: 6,\n // unordered textbox\n marginBetweenUnorderedTextBoxes: 0,\n unorderedTextBoxWidth: 82,\n leftUnorderedX: sideMargin + 5,\n rightUnorderedX: pageCenter + 10,\n unorderedTextBoxIndent: 5,\n // header image\n headerImageWidth: 15,\n headerImageHeight: 6\n};\nconst header = (wwdoc) => {\n wwdoc.doc.addImage(\"/images/kpmg_logo.png\", \"PNG\", wwdoc.sideMargin, wwdoc.topMargin, wwdoc.headerImageWidth, wwdoc.headerImageHeight);\n};\nconst footer = (wwdoc, pageNumber) => {\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(`Page ${pageNumber}`, wwdoc.sideMargin, wwdoc.footerY);\n wwdoc.doc.text(`Indirect Tax Services`, wwdoc.pageWidth - wwdoc.sideMargin - 2, wwdoc.footerY, { align: \"right\" });\n};\nconst firstPage = (wwdoc, pdfModel) => {\n header(wwdoc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.setFontSize(11);\n PDFHelper.textCentered(wwdoc.doc, \"Engagement contract for IOSS VAT Compliance Services and Additional Tax Services\", wwdoc.topMarginForText);\n wwdoc.doc.setFontSize(9);\n const partnerY = 40;\n const marginBottom = 10;\n wwdoc.doc.text(\"Full legal name of the contracting party\", wwdoc.sideMargin, partnerY);\n wwdoc.doc.text(\"Legal status of the contracting party\", wwdoc.sideMargin, partnerY + marginBottom);\n wwdoc.doc.text(\"Registered address of the contracting party\", wwdoc.sideMargin, partnerY + 2 * marginBottom);\n wwdoc.doc.setLineWidth(0.1);\n wwdoc.doc.text(\"VAT Number\", wwdoc.sideMargin, partnerY + 3 * marginBottom);\n wwdoc.doc.text(\"Signature\", wwdoc.sideMargin, partnerY + 4 * marginBottom);\n horizontalLine(wwdoc.sideMargin + 19, partnerY + 4 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.text(\"Date\", wwdoc.sideMargin, partnerY + 5 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.contractDate ? formatDate(pdfModel.contractDate) : \"\", wwdoc.sideMargin + 40, partnerY + 5 * marginBottom);\n horizontalLine(wwdoc.sideMargin + 19, partnerY + 5 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"bold\");\n wwdoc.doc.text(\"KPMG Reference\", wwdoc.sideMargin, partnerY + 6 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.kpmgReference !== void 0 ? pdfModel.kpmgReference : \"\", wwdoc.sideMargin + 40, partnerY + 6 * marginBottom);\n wwdoc.doc.setFont(\"times\", \"bold\");\n horizontalLine(wwdoc.sideMargin + 30, partnerY + 6 * marginBottom + 1, wwdoc.pageCenter - 10, wwdoc.doc);\n wwdoc.doc.setFont(\"times\", \"normal\");\n wwdoc.doc.text(pdfModel.partnerName ? pdfModel.partnerName : \"\", wwdoc.pageCenter, partnerY);\n wwdoc.doc.text(pdfModel.legalStatus ? pdfModel.legalStatus : \"\", wwdoc.pageCenter, partnerY + marginBottom);\n wwdoc.doc.text(pdfModel.addressLine ? pdfModel.addressLine : \"\", wwdoc.pageCenter, partnerY + 2 * marginBottom, {\n maxWidth: 80,\n lineHeightFactor: 1.2\n });\n wwdoc.doc.text(pdfModel.vatNumber ? pdfModel.vatNumber : \"\", wwdoc.pageCenter, partnerY + 3 * marginBottom);\n wwdoc.doc.setLineWidth(0.3);\n wwdoc.doc.setLineHeightFactor(16);\n horizontalLine(wwdoc.sideMargin, 107, wwdoc.pageWidth - wwdoc.sideMargin, wwdoc.doc);\n wwdoc.doc.setLineHeightFactor(1.4);\n PDFHelper.titleText(`General`, wwdoc.sideMargin, 113, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(0, 2), 119, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.appendixText(\"Appendix 1\", 4, \"(a).\", wwdoc.sideMargin, 151, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[2].displayNumber, NUMBERED_TEXTS[2].text, wwdoc.sideMargin, 156, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.appendixText(\"Appendix 1\", 4, \"(b).\", wwdoc.sideMargin + 19, 164, wwdoc.doc);\n PDFHelper.linkInFrontOfTextTextBox(\n NUMBERED_TEXTS[3].linkTitle,\n iossTermsAndConditions,\n NUMBERED_TEXTS[3].displayNumber,\n NUMBERED_TEXTS[3].firstLine,\n NUMBERED_TEXTS[3].text,\n wwdoc.sideMargin,\n 170,\n wwdoc.numberedTextBoxWidth,\n wwdoc.doc\n );\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(4, 5), 184, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Our services`, wwdoc.sideMargin, 210, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[5].displayNumber, NUMBERED_TEXTS[5].text, wwdoc.sideMargin, 216, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(0, 2), 227, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes + 5, wwdoc.doc);\n PDFHelper.linkWithBrackets(\"www.kpmg-vat-oss.com/gb/en/fr\", wwdoc.leftUnorderedX + wwdoc.unorderedTextBoxIndent, 231, wwdoc.unorderedTextBoxWidth, wwdoc.doc);\n wwdoc.doc.text(\n `intermediary. If you already possess a IOSS number, we will link your IOSS number to the new VAT intermediary. KPMG is not responsible for any delay in processing your application by the tax authorities during the registration process`,\n wwdoc.rightUnorderedX + 5,\n 115,\n { maxWidth: wwdoc.unorderedTextBoxWidth, align: \"justify\" }\n );\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(2, 7), 133, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.unorderedTextBox(UNORDERED_TEXTS[7], wwdoc.rightUnorderedX, 191, wwdoc.unorderedTextBoxWidth, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[6].displayNumber, NUMBERED_TEXTS[6].text, wwdoc.rightNumberedX, 215, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(8, 12), 235, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n footer(wwdoc, 1);\n};\nconst secondPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(12, 14), wwdoc.topMarginForText, wwdoc.leftUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[7].displayNumber, NUMBERED_TEXTS[7].text, wwdoc.sideMargin, 48, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`Your obligations`, wwdoc.sideMargin, 81, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(8, 14), 87, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(14, 18), wwdoc.topMarginForText, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Payment for services`, wwdoc.rightNumberedX, 108, wwdoc.doc);\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(18, 23), 114, wwdoc.rightNumberedX, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Termination`, wwdoc.rightNumberedX, 186, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[23].displayNumber, NUMBERED_TEXTS[23].text, wwdoc.rightNumberedX, 192, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.unorderedParagraph(UNORDERED_TEXTS.slice(14, 18), 211, wwdoc.rightUnorderedX, wwdoc.unorderedTextBoxWidth, wwdoc.marginBetweenUnorderedTextBoxes, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[24].displayNumber, NUMBERED_TEXTS[24].text, wwdoc.rightNumberedX, 261, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 2);\n};\nconst thirdPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.text(\n `required to carry out any further work following termination nor shall we be responsible or liable for any consequences arising from such termination.`,\n wwdoc.sideMargin + 6,\n wwdoc.topMarginForText,\n {\n align: \"justify\",\n maxWidth: wwdoc.numberedTextBoxWidth\n }\n );\n PDFHelper.numberedParagraph(NUMBERED_TEXTS.slice(25, 27), 42, wwdoc.sideMargin, wwdoc.numberedTextBoxWidth, wwdoc.marginBetweenNumberedTextBoxes, wwdoc.doc);\n PDFHelper.titleText(`Limitation of liability`, wwdoc.sideMargin, 120, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[27].displayNumber, NUMBERED_TEXTS[27].text, wwdoc.sideMargin, 126, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n wwdoc.doc.text(\n `service period shall be limited, on the basis set out in Appendix 1a and 1b, to a maximum of 1,5 times the Annual Service Fee of the respective service.`,\n wwdoc.rightNumberedX + wwdoc.numberedTextBoxIndent,\n wwdoc.topMarginForText,\n {\n align: \"justify\",\n maxWidth: wwdoc.numberedTextBoxWidth\n }\n );\n PDFHelper.titleText(`Data Privacy`, wwdoc.rightNumberedX, 42, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[28].displayNumber, NUMBERED_TEXTS[28].text, wwdoc.rightNumberedX, 48, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.linkText(\"Privacy Statement\", privacyStatement, wwdoc.rightNumberedX + 6, 66, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n PDFHelper.titleText(`The Engagement Contract`, wwdoc.rightNumberedX, 73, wwdoc.doc);\n PDFHelper.numberedTextBox(NUMBERED_TEXTS[29].displayNumber, NUMBERED_TEXTS[29].text, wwdoc.rightNumberedX, 80, wwdoc.numberedTextBoxWidth, wwdoc.doc);\n footer(wwdoc, 3);\n};\nconst fourthPage = (wwdoc, pdfModel) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.setFontSize(11);\n PDFHelper.titleText(\"Appendix 1\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`KPMG will provide the following Core Tax Compliance Services and the Annual Service Fee will apply:`, wwdoc.sideMargin, wwdoc.topMarginForText + 7);\n const tableProps = {\n lineHeight: 6,\n tableLeftPadding: wwdoc.sideMargin + 40,\n eurChar: \"EUR\",\n secondCol: 80,\n paragraphMargin: 5\n };\n const hasIossService = pdfModel.iossTier !== void 0;\n const hasVatService = pdfModel.hasVatService;\n const hasEuOssVat = false;\n const tableSectionTop = wwdoc.topMarginForText + tableProps.paragraphMargin + tableProps.lineHeight * 2;\n const lineObj = {\n line: 0\n };\n const availableServices = [].concat(hasVatService ? [vatSection] : []).concat(hasEuOssVat ? [ossSection] : []).concat(hasIossService ? [iossSection] : []);\n availableServices.forEach((service, index) => {\n const sectionLetter = String.fromCharCode(\"a\".charCodeAt(0) + index);\n const cumulativeTop = index > 0 ? tableSectionTop + lineObj.line * tableProps.lineHeight + 2 * tableProps.paragraphMargin : tableSectionTop + lineObj.line * tableProps.lineHeight;\n service(sectionLetter, lineObj, cumulativeTop, tableProps, wwdoc, pdfModel);\n });\n footer(wwdoc, 4);\n};\nconst fifthPage = (wwdoc) => {\n wwdoc.doc.addPage();\n header(wwdoc);\n wwdoc.doc.setFontSize(11);\n PDFHelper.titleText(\"Appendix 2: Additional Tax Services\", wwdoc.sideMargin, wwdoc.topMarginForText, wwdoc.doc);\n wwdoc.doc.setFontSize(9);\n wwdoc.doc.text(`The following Additional Tax Services may be provided upon your explicit request:`, wwdoc.sideMargin, wwdoc.topMarginForText + 7);\n autoTable(wwdoc.doc, {\n head: ADDITIONAL_TAX_SERVICES.header,\n body: ADDITIONAL_TAX_SERVICES.body,\n theme: \"grid\",\n startY: wwdoc.topMarginForText + 14,\n styles: {\n textColor: colorBlack,\n overflow: \"linebreak\",\n font: \"times\",\n fontSize: 9,\n lineColor: colorLightGray,\n valign: \"middle\",\n cellPadding: { top: 2, horizontal: 2, bottom: 3 }\n },\n headStyles: {\n fillColor: colorDarkGray,\n textColor: colorWhite\n },\n columnStyles: {\n 0: { cellWidth: 45 },\n 1: { cellWidth: 24 },\n 2: { cellWidth: 28 }\n },\n didParseCell: (data) => {\n if (data.row.index === 1 || data.row.index === 5 || data.row.index === 6 || data.row.index === 7 || data.row.index === 19) {\n data.cell.styles.cellPadding = { top: 1, horizontal: 2, bottom: 7 };\n }\n if (data.row.index === 8 || data.row.index === 9) {\n if (data.column.index === 1) {\n data.cell.colSpan = 2;\n }\n if (data.column.index === 2) {\n data.cell.colSpan = 0;\n }\n }\n }\n });\n footer(wwdoc, 5);\n};\nexport const generateLaPostePDF = (pdfModel) => {\n firstPage(WWDoc, pdfModel);\n secondPage(WWDoc);\n thirdPage(WWDoc);\n fourthPage(WWDoc, pdfModel);\n fifthPage(WWDoc);\n WWDoc.doc.save(`Contract_${pdfModel.partnerName}_${pdfModel.kpmgReference}.pdf`);\n return WWDoc.doc.output(\"blob\");\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { generateAmazonPDF } from \"./amazon-pdf\";\nimport { generateFedexPDF } from \"./fedex-pdf\";\nimport { generateKpmgPDF } from \"./kpmg-pdf\";\nimport { generateLaPostePDF } from \"./laposte-pdf\";\nexport const generatePDFContract = (pdfModel) => __async(void 0, null, function* () {\n let blob;\n const fileName = `Contract_${pdfModel.partnerName}${pdfModel.kpmgReference ? `_${pdfModel.kpmgReference}` : \"\"}`;\n if (pdfModel.clientSource === \"FedEx\") {\n blob = generateFedexPDF(pdfModel);\n } else if (pdfModel.clientSource === \"Amazon\") {\n blob = generateAmazonPDF(pdfModel);\n } else if (pdfModel.clientSource === \"KPMG\") {\n blob = generateKpmgPDF(pdfModel);\n } else if (pdfModel.clientSource === \"LaPoste\") {\n blob = generateLaPostePDF(pdfModel);\n }\n return { blob, fileName };\n});\n","export class Money {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Money\n */\n this.$type = \"V1.Common.Money\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Currency = _data[\"Currency\"];\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Currency\"] = this.Currency;\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","export class DateConverter {\n // yyyy-MM-dd\n static toUtcDateString(date) {\n if (date) {\n return this.padYear(date.getUTCFullYear()) + \"-\" + this.pad(date.getUTCMonth() + 1) + \"-\" + this.pad(date.getUTCDate());\n } else {\n return void 0;\n }\n }\n // yyyy-MM-dd\n static toClientLocalDateString(date) {\n if (date) {\n return this.padYear(date.getFullYear()) + \"-\" + this.pad(date.getMonth() + 1) + \"-\" + this.pad(date.getDate());\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sssZ\n static toIsoUtcString(date) {\n if (date) {\n return date.toISOString();\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sss+hhmm\n static toIsoClientLocalString(date) {\n if (date) {\n const hoursOffset = Math.abs(date.getTimezoneOffset() / 60);\n const minutesOffset = Math.abs(date.getTimezoneOffset() % 60);\n const offsetCharacter = date.getTimezoneOffset() < 0 ? \"+\" : \"-\";\n return this.padYear(date.getFullYear()) + \"-\" + this.pad(date.getMonth() + 1) + \"-\" + this.pad(date.getDate()) + \"T\" + this.pad(date.getHours()) + \":\" + this.pad(date.getMinutes()) + \":\" + this.pad(date.getSeconds()) + offsetCharacter + this.pad(hoursOffset) + this.pad(minutesOffset);\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sss (without Z)\n static toIsoUtcUnspecifiedString(date) {\n if (date) {\n return date.toISOString().slice(0, -1);\n } else {\n return void 0;\n }\n }\n // yyyy-MM-ddThh:mm:ss.sss (without +hhmm)\n static toIsoClientLocalUnspecifiedString(date) {\n if (date) {\n return this.padYear(date.getFullYear()) + \"-\" + this.pad(date.getMonth() + 1) + \"-\" + this.pad(date.getDate()) + \"T\" + this.pad(date.getHours()) + \":\" + this.pad(date.getMinutes()) + \":\" + this.pad(date.getSeconds());\n } else {\n return void 0;\n }\n }\n // To avoid browser incompatibility, if the timezone or Z is missing, we assume UTC timezone\n static from(dateString) {\n if (!dateString) {\n return void 0;\n }\n if (!this.isTimeSpecified(dateString)) {\n dateString = `${dateString}T00:00:00.000Z`;\n }\n if (!this.isTimezoneSpecified(dateString)) {\n dateString = `${dateString}Z`;\n }\n return new Date(dateString);\n }\n static isTimeSpecified(dateString) {\n return dateString.includes(\"T\");\n }\n static isTimezoneSpecified(dateString) {\n return dateString.includes(\"Z\") || dateString.includes(\"+\");\n }\n static pad(n) {\n return n < 10 ? \"0\" + n : n.toString();\n }\n static padYear(n) {\n return n.toString().padStart(4, \"0\");\n }\n}\n","import { Money } from \"./../../Common/Money\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class Payment {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Payment\n */\n this.$type = \"V1.Orders.Get.Payment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ApprovedAt = DateConverter.from(_data[\"ApprovedAt\"]);\n if (_data[\"Collected\"]) {\n const collected_ = new Money();\n this.Collected = collected_.init(_data[\"Collected\"]);\n }\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n this.Id = _data[\"Id\"];\n this.IsRefund = _data[\"IsRefund\"];\n this.MerchantReference = _data[\"MerchantReference\"];\n if (_data[\"Quoted\"]) {\n const quoted_ = new Money();\n this.Quoted = quoted_.init(_data[\"Quoted\"]);\n }\n this.Status = PaymentStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"ApprovedAt\"] = DateConverter.toIsoUtcString(this.ApprovedAt);\n _data[\"Collected\"] = this.Collected ? this.Collected.toJSON() : void 0;\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n _data[\"Id\"] = this.Id;\n _data[\"IsRefund\"] = this.IsRefund;\n _data[\"MerchantReference\"] = this.MerchantReference;\n _data[\"Quoted\"] = this.Quoted ? this.Quoted.toJSON() : void 0;\n _data[\"Status\"] = PaymentStatus[this.Status];\n return _data;\n }\n}\nexport var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {\n PaymentStatus2[\"Created\"] = \"Created\";\n PaymentStatus2[\"Approved\"] = \"Approved\";\n return PaymentStatus2;\n})(PaymentStatus || {});\n","import { Payment } from \"./Payment\";\nexport class BankTransferPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankTransferPayment\n */\n this.$type = \"V1.Orders.Get.BankTransferPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.HasPaymentProof = _data[\"HasPaymentProof\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"HasPaymentProof\"] = this.HasPaymentProof;\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nexport class DesuclaPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DesuclaPayment\n */\n this.$type = \"V1.Orders.Get.DesuclaPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nexport class PayPalPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PayPalPayment\n */\n this.$type = \"V1.Orders.Get.PayPalPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nimport { BankTransferPayment } from \"./BankTransferPayment\";\nimport { DesuclaPayment } from \"./DesuclaPayment\";\nimport { PayPalPayment } from \"./PayPalPayment\";\nexport class PaymentFactory {\n static create($type) {\n if ($type === \"V1.Orders.Get.Payment\") {\n const result = new Payment();\n return result;\n }\n if ($type === \"V1.Orders.Get.BankTransferPayment\") {\n const result = new BankTransferPayment();\n return result;\n }\n if ($type === \"V1.Orders.Get.DesuclaPayment\") {\n const result = new DesuclaPayment();\n return result;\n }\n if ($type === \"V1.Orders.Get.PayPalPayment\") {\n const result = new PayPalPayment();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { Money } from \"./../../Common/Money\";\nexport class Service {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Service\n */\n this.$type = \"V1.Orders.Services.Service\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = ServiceCode[_data[\"Code\"]];\n if (_data[\"Price\"]) {\n const price_ = new Money();\n this.Price = price_.init(_data[\"Price\"]);\n }\n this.Status = ServiceStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Code\"] = ServiceCode[this.Code];\n _data[\"Price\"] = this.Price ? this.Price.toJSON() : void 0;\n _data[\"Status\"] = ServiceStatus[this.Status];\n return _data;\n }\n}\nexport var ServiceCode = /* @__PURE__ */ ((ServiceCode2) => {\n ServiceCode2[\"VatCompliance\"] = \"VatCompliance\";\n ServiceCode2[\"VatMonthlyCompliance\"] = \"VatMonthlyCompliance\";\n ServiceCode2[\"VatRegistration\"] = \"VatRegistration\";\n ServiceCode2[\"VatTakeOver\"] = \"VatTakeOver\";\n ServiceCode2[\"VatSpanishBankAccount\"] = \"VatSpanishBankAccount\";\n ServiceCode2[\"VatFiscalRepresentative\"] = \"VatFiscalRepresentative\";\n ServiceCode2[\"VatFilingAgent\"] = \"VatFilingAgent\";\n ServiceCode2[\"VatRetrospectiveReturn\"] = \"VatRetrospectiveReturn\";\n ServiceCode2[\"VatIntrastatIn\"] = \"VatIntrastatIn\";\n ServiceCode2[\"VatIntrastatOut\"] = \"VatIntrastatOut\";\n ServiceCode2[\"VatDeregistration\"] = \"VatDeregistration\";\n ServiceCode2[\"VatSelfRevision\"] = \"VatSelfRevision\";\n ServiceCode2[\"VatHomeCountryCompliance\"] = \"VatHomeCountryCompliance\";\n ServiceCode2[\"IossComplianceTier0\"] = \"IossComplianceTier0\";\n ServiceCode2[\"IossComplianceTier1\"] = \"IossComplianceTier1\";\n ServiceCode2[\"IossComplianceTier2\"] = \"IossComplianceTier2\";\n ServiceCode2[\"IossComplianceTier3\"] = \"IossComplianceTier3\";\n ServiceCode2[\"IossRegistration\"] = \"IossRegistration\";\n ServiceCode2[\"IossTakeOver\"] = \"IossTakeOver\";\n ServiceCode2[\"IossDeregistration\"] = \"IossDeregistration\";\n ServiceCode2[\"OssCompliance\"] = \"OssCompliance\";\n ServiceCode2[\"OssRegistration\"] = \"OssRegistration\";\n ServiceCode2[\"OssTakeOver\"] = \"OssTakeOver\";\n ServiceCode2[\"OssDeregistration\"] = \"OssDeregistration\";\n ServiceCode2[\"GlobalEoriUk\"] = \"GlobalEoriUk\";\n ServiceCode2[\"GlobalEoriEu\"] = \"GlobalEoriEu\";\n ServiceCode2[\"GlobalGeneralVatAdvice\"] = \"GlobalGeneralVatAdvice\";\n ServiceCode2[\"GlobalSpecialistVatAdvice\"] = \"GlobalSpecialistVatAdvice\";\n ServiceCode2[\"GlobalCommunicatingWithTaxAuthorities\"] = \"GlobalCommunicatingWithTaxAuthorities\";\n ServiceCode2[\"GlobalChangeCompanyDetail\"] = \"GlobalChangeCompanyDetail\";\n ServiceCode2[\"GlobalContactingTaxAuthorities\"] = \"GlobalContactingTaxAuthorities\";\n ServiceCode2[\"GlobalTranslation\"] = \"GlobalTranslation\";\n ServiceCode2[\"GlobalTaxCertificate\"] = \"GlobalTaxCertificate\";\n ServiceCode2[\"GlobalIntrastatThresholdCheck\"] = \"GlobalIntrastatThresholdCheck\";\n ServiceCode2[\"GlobalDistanceSaleThresholdCheck\"] = \"GlobalDistanceSaleThresholdCheck\";\n return ServiceCode2;\n})(ServiceCode || {});\nexport var ServiceStatus = /* @__PURE__ */ ((ServiceStatus2) => {\n ServiceStatus2[\"Active\"] = \"Active\";\n ServiceStatus2[\"Cancelled\"] = \"Cancelled\";\n return ServiceStatus2;\n})(ServiceStatus || {});\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Service } from \"./Service\";\nexport class CountryBasedSubscriptionService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CountryBasedSubscriptionService\n */\n this.$type = \"V1.Orders.Services.CountryBasedSubscriptionService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Country = _data[\"Country\"];\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Country\"] = this.Country;\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nexport class HourlyService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof HourlyService\n */\n this.$type = \"V1.Orders.Services.HourlyService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Hours = _data[\"Hours\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Hours\"] = this.Hours;\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nexport class SimpleService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SimpleService\n */\n this.$type = \"V1.Orders.Services.SimpleService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Service } from \"./Service\";\nexport class SubscriptionService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubscriptionService\n */\n this.$type = \"V1.Orders.Services.SubscriptionService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nimport { CountryBasedSubscriptionService } from \"./CountryBasedSubscriptionService\";\nimport { HourlyService } from \"./HourlyService\";\nimport { SimpleService } from \"./SimpleService\";\nimport { SubscriptionService } from \"./SubscriptionService\";\nexport class ServiceFactory {\n static create($type) {\n if ($type === \"V1.Orders.Services.Service\") {\n const result = new Service();\n return result;\n }\n if ($type === \"V1.Orders.Services.CountryBasedSubscriptionService\") {\n const result = new CountryBasedSubscriptionService();\n return result;\n }\n if ($type === \"V1.Orders.Services.HourlyService\") {\n const result = new HourlyService();\n return result;\n }\n if ($type === \"V1.Orders.Services.SimpleService\") {\n const result = new SimpleService();\n return result;\n }\n if ($type === \"V1.Orders.Services.SubscriptionService\") {\n const result = new SubscriptionService();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class BillingDocument {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BillingDocument\n */\n this.$type = \"V1.Orders.Get.BillingDocument\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.OrderVersion = _data[\"OrderVersion\"];\n this.ReceivedAt = DateConverter.from(_data[\"ReceivedAt\"]);\n this.Reference = _data[\"Reference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"OrderVersion\"] = this.OrderVersion;\n _data[\"ReceivedAt\"] = DateConverter.toIsoUtcString(this.ReceivedAt);\n _data[\"Reference\"] = this.Reference;\n return _data;\n }\n}\n","import { Money } from \"./../../Common/Money\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { PaymentFactory } from \"./PaymentFactory\";\nimport { ServiceFactory } from \"./../Services/ServiceFactory\";\nimport { BillingDocument } from \"./BillingDocument\";\nexport class Order {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Order\n */\n this.$type = \"V1.Orders.Get.Order\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"BillingDocuments\"] && _data[\"BillingDocuments\"].constructor === Array) {\n this.BillingDocuments = [];\n for (let item of _data[\"BillingDocuments\"]) {\n const billingDocuments_ = new BillingDocument();\n this.BillingDocuments.push(billingDocuments_.init(item));\n }\n }\n this.CancelledAt = DateConverter.from(_data[\"CancelledAt\"]);\n this.ClientSource = OrderClientSource[_data[\"ClientSource\"]];\n this.CompanyId = _data[\"CompanyId\"];\n this.CompanyName = _data[\"CompanyName\"];\n this.ConfirmedAt = DateConverter.from(_data[\"ConfirmedAt\"]);\n this.ContractId = _data[\"ContractId\"];\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n if (_data[\"DraftServices\"] && _data[\"DraftServices\"].constructor === Array) {\n this.DraftServices = [];\n for (let item of _data[\"DraftServices\"]) {\n const $typeDraftServices = item && item.$type;\n if ($typeDraftServices) {\n const draftServices_ = ServiceFactory.create($typeDraftServices);\n this.DraftServices.push(draftServices_.init(item));\n }\n }\n }\n this.HasContractReference = _data[\"HasContractReference\"];\n this.HasProcessingFailure = _data[\"HasProcessingFailure\"];\n this.Id = _data[\"Id\"];\n this.NeedToGenerateInvoice = _data[\"NeedToGenerateInvoice\"];\n this.OrderPaymentStatus = OrderOrderPaymentStatus[_data[\"OrderPaymentStatus\"]];\n if (_data[\"Payments\"] && _data[\"Payments\"].constructor === Array) {\n this.Payments = [];\n for (let item of _data[\"Payments\"]) {\n const $typePayments = item && item.$type;\n if ($typePayments) {\n const payments_ = PaymentFactory.create($typePayments);\n this.Payments.push(payments_.init(item));\n }\n }\n }\n if (_data[\"Services\"] && _data[\"Services\"].constructor === Array) {\n this.Services = [];\n for (let item of _data[\"Services\"]) {\n const $typeServices = item && item.$type;\n if ($typeServices) {\n const services_ = ServiceFactory.create($typeServices);\n this.Services.push(services_.init(item));\n }\n }\n }\n this.Status = OrderStatus[_data[\"Status\"]];\n if (_data[\"SubTotal\"]) {\n const subTotal_ = new Money();\n this.SubTotal = subTotal_.init(_data[\"SubTotal\"]);\n }\n if (_data[\"Total\"]) {\n const total_ = new Money();\n this.Total = total_.init(_data[\"Total\"]);\n }\n if (_data[\"Vat\"]) {\n const vat_ = new Money();\n this.Vat = vat_.init(_data[\"Vat\"]);\n }\n this.Version = _data[\"Version\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.BillingDocuments && this.BillingDocuments.constructor === Array) {\n _data[\"BillingDocuments\"] = [];\n for (let item of this.BillingDocuments) {\n _data[\"BillingDocuments\"].push(item.toJSON());\n }\n }\n _data[\"CancelledAt\"] = DateConverter.toIsoUtcString(this.CancelledAt);\n _data[\"ClientSource\"] = OrderClientSource[this.ClientSource];\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"ConfirmedAt\"] = DateConverter.toIsoUtcString(this.ConfirmedAt);\n _data[\"ContractId\"] = this.ContractId;\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n if (this.DraftServices && this.DraftServices.constructor === Array) {\n _data[\"DraftServices\"] = [];\n for (let item of this.DraftServices) {\n _data[\"DraftServices\"].push(item.toJSON());\n }\n }\n _data[\"HasContractReference\"] = this.HasContractReference;\n _data[\"HasProcessingFailure\"] = this.HasProcessingFailure;\n _data[\"Id\"] = this.Id;\n _data[\"NeedToGenerateInvoice\"] = this.NeedToGenerateInvoice;\n _data[\"OrderPaymentStatus\"] = OrderOrderPaymentStatus[this.OrderPaymentStatus];\n if (this.Payments && this.Payments.constructor === Array) {\n _data[\"Payments\"] = [];\n for (let item of this.Payments) {\n _data[\"Payments\"].push(item.toJSON());\n }\n }\n if (this.Services && this.Services.constructor === Array) {\n _data[\"Services\"] = [];\n for (let item of this.Services) {\n _data[\"Services\"].push(item.toJSON());\n }\n }\n _data[\"Status\"] = OrderStatus[this.Status];\n _data[\"SubTotal\"] = this.SubTotal ? this.SubTotal.toJSON() : void 0;\n _data[\"Total\"] = this.Total ? this.Total.toJSON() : void 0;\n _data[\"Vat\"] = this.Vat ? this.Vat.toJSON() : void 0;\n _data[\"Version\"] = this.Version;\n return _data;\n }\n}\nexport var OrderClientSource = /* @__PURE__ */ ((OrderClientSource2) => {\n OrderClientSource2[\"Amazon\"] = \"Amazon\";\n OrderClientSource2[\"KPMG\"] = \"KPMG\";\n OrderClientSource2[\"FedEx\"] = \"FedEx\";\n OrderClientSource2[\"LaPoste\"] = \"LaPoste\";\n return OrderClientSource2;\n})(OrderClientSource || {});\nexport var OrderOrderPaymentStatus = /* @__PURE__ */ ((OrderOrderPaymentStatus2) => {\n OrderOrderPaymentStatus2[\"None\"] = \"None\";\n OrderOrderPaymentStatus2[\"Pending\"] = \"Pending\";\n OrderOrderPaymentStatus2[\"Approved\"] = \"Approved\";\n return OrderOrderPaymentStatus2;\n})(OrderOrderPaymentStatus || {});\nexport var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {\n OrderStatus2[\"Pending\"] = \"Pending\";\n OrderStatus2[\"Cancelled\"] = \"Cancelled\";\n OrderStatus2[\"Draft\"] = \"Draft\";\n OrderStatus2[\"Confirmed\"] = \"Confirmed\";\n OrderStatus2[\"Abandoned\"] = \"Abandoned\";\n return OrderStatus2;\n})(OrderStatus || {});\n","export const mapMoney = (money) => {\n return money ? { Currency: money.Currency, Value: money.Value } : void 0;\n};\n","export class Field {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Field\n */\n this.$type = \"V1.Orders.Search.Field\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Order = FieldOrder[_data[\"Order\"]];\n this.OrderByField = FieldOrderByField[_data[\"OrderByField\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Order\"] = FieldOrder[this.Order];\n _data[\"OrderByField\"] = FieldOrderByField[this.OrderByField];\n return _data;\n }\n}\nexport var FieldOrder = /* @__PURE__ */ ((FieldOrder2) => {\n FieldOrder2[\"Ascending\"] = \"Ascending\";\n FieldOrder2[\"Descending\"] = \"Descending\";\n return FieldOrder2;\n})(FieldOrder || {});\nexport var FieldOrderByField = /* @__PURE__ */ ((FieldOrderByField2) => {\n FieldOrderByField2[\"CompanyId\"] = \"CompanyId\";\n FieldOrderByField2[\"CompanyName\"] = \"CompanyName\";\n FieldOrderByField2[\"CreatedAt\"] = \"CreatedAt\";\n FieldOrderByField2[\"ConfirmedAt\"] = \"ConfirmedAt\";\n FieldOrderByField2[\"OrderPaymentStatus\"] = \"OrderPaymentStatus\";\n FieldOrderByField2[\"Status\"] = \"Status\";\n FieldOrderByField2[\"TotalPrice\"] = \"TotalPrice\";\n FieldOrderByField2[\"ClientSource\"] = \"ClientSource\";\n return FieldOrderByField2;\n})(FieldOrderByField || {});\n","import { DateTimeUtcRange } from \"./../../Common/DateTime/DateTimeUtcRange\";\nimport { AmountRange } from \"./../../Primitives/AmountRange\";\nexport class Filter {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Filter\n */\n this.$type = \"V1.Orders.Search.Filter\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"ClientSources\"] && _data[\"ClientSources\"].constructor === Array) {\n this.ClientSources = [];\n for (let item of _data[\"ClientSources\"]) {\n this.ClientSources.push(FilterClientSources[item]);\n }\n }\n this.CompanyIdPart = _data[\"CompanyIdPart\"];\n this.CompanyName = _data[\"CompanyName\"];\n if (_data[\"ConfirmedAt\"]) {\n const confirmedAt_ = new DateTimeUtcRange();\n this.ConfirmedAt = confirmedAt_.init(_data[\"ConfirmedAt\"]);\n }\n this.ContractId = _data[\"ContractId\"];\n if (_data[\"CreatedAt\"]) {\n const createdAt_ = new DateTimeUtcRange();\n this.CreatedAt = createdAt_.init(_data[\"CreatedAt\"]);\n }\n this.HasProcessingFailure = _data[\"HasProcessingFailure\"];\n if (_data[\"OrderPaymentStatuses\"] && _data[\"OrderPaymentStatuses\"].constructor === Array) {\n this.OrderPaymentStatuses = [];\n for (let item of _data[\"OrderPaymentStatuses\"]) {\n this.OrderPaymentStatuses.push(FilterOrderPaymentStatuses[item]);\n }\n }\n if (_data[\"Statuses\"] && _data[\"Statuses\"].constructor === Array) {\n this.Statuses = [];\n for (let item of _data[\"Statuses\"]) {\n this.Statuses.push(FilterStatuses[item]);\n }\n }\n if (_data[\"TotalPrice\"]) {\n const totalPrice_ = new AmountRange();\n this.TotalPrice = totalPrice_.init(_data[\"TotalPrice\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.ClientSources && this.ClientSources.constructor === Array) {\n _data[\"ClientSources\"] = [];\n for (let item of this.ClientSources) {\n _data[\"ClientSources\"].push(FilterClientSources[item]);\n }\n }\n _data[\"CompanyIdPart\"] = this.CompanyIdPart;\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"ConfirmedAt\"] = this.ConfirmedAt ? this.ConfirmedAt.toJSON() : void 0;\n _data[\"ContractId\"] = this.ContractId;\n _data[\"CreatedAt\"] = this.CreatedAt ? this.CreatedAt.toJSON() : void 0;\n _data[\"HasProcessingFailure\"] = this.HasProcessingFailure;\n if (this.OrderPaymentStatuses && this.OrderPaymentStatuses.constructor === Array) {\n _data[\"OrderPaymentStatuses\"] = [];\n for (let item of this.OrderPaymentStatuses) {\n _data[\"OrderPaymentStatuses\"].push(FilterOrderPaymentStatuses[item]);\n }\n }\n if (this.Statuses && this.Statuses.constructor === Array) {\n _data[\"Statuses\"] = [];\n for (let item of this.Statuses) {\n _data[\"Statuses\"].push(FilterStatuses[item]);\n }\n }\n _data[\"TotalPrice\"] = this.TotalPrice ? this.TotalPrice.toJSON() : void 0;\n return _data;\n }\n}\nexport var FilterClientSources = /* @__PURE__ */ ((FilterClientSources2) => {\n FilterClientSources2[\"Amazon\"] = \"Amazon\";\n FilterClientSources2[\"KPMG\"] = \"KPMG\";\n FilterClientSources2[\"FedEx\"] = \"FedEx\";\n FilterClientSources2[\"LaPoste\"] = \"LaPoste\";\n return FilterClientSources2;\n})(FilterClientSources || {});\nexport var FilterOrderPaymentStatuses = /* @__PURE__ */ ((FilterOrderPaymentStatuses2) => {\n FilterOrderPaymentStatuses2[\"None\"] = \"None\";\n FilterOrderPaymentStatuses2[\"Pending\"] = \"Pending\";\n FilterOrderPaymentStatuses2[\"Approved\"] = \"Approved\";\n return FilterOrderPaymentStatuses2;\n})(FilterOrderPaymentStatuses || {});\nexport var FilterStatuses = /* @__PURE__ */ ((FilterStatuses2) => {\n FilterStatuses2[\"Pending\"] = \"Pending\";\n FilterStatuses2[\"Cancelled\"] = \"Cancelled\";\n FilterStatuses2[\"Draft\"] = \"Draft\";\n FilterStatuses2[\"Confirmed\"] = \"Confirmed\";\n FilterStatuses2[\"Abandoned\"] = \"Abandoned\";\n return FilterStatuses2;\n})(FilterStatuses || {});\n","import { Field } from \"./Field\";\nexport class Pager {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Pager\n */\n this.$type = \"V1.Orders.Search.Pager\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"OrderBy\"] && _data[\"OrderBy\"].constructor === Array) {\n this.OrderBy = [];\n for (let item of _data[\"OrderBy\"]) {\n const orderBy_ = new Field();\n this.OrderBy.push(orderBy_.init(item));\n }\n }\n this.Skip = _data[\"Skip\"];\n this.Top = _data[\"Top\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.OrderBy && this.OrderBy.constructor === Array) {\n _data[\"OrderBy\"] = [];\n for (let item of this.OrderBy) {\n _data[\"OrderBy\"].push(item.toJSON());\n }\n }\n _data[\"Skip\"] = this.Skip;\n _data[\"Top\"] = this.Top;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Money } from \"./../../Common/Money\";\nexport class SearchOrder {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchOrder\n */\n this.$type = \"V1.Orders.Search.SearchOrder\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientSource = SearchOrderClientSource[_data[\"ClientSource\"]];\n this.CompanyId = _data[\"CompanyId\"];\n this.CompanyName = _data[\"CompanyName\"];\n this.ConfirmedAt = DateConverter.from(_data[\"ConfirmedAt\"]);\n this.ContractId = _data[\"ContractId\"];\n this.CreatedAt = DateConverter.from(_data[\"CreatedAt\"]);\n this.HasContractReference = _data[\"HasContractReference\"];\n this.HasProcessingFailure = _data[\"HasProcessingFailure\"];\n this.Id = _data[\"Id\"];\n this.OrderPaymentStatus = SearchOrderOrderPaymentStatus[_data[\"OrderPaymentStatus\"]];\n this.Status = SearchOrderStatus[_data[\"Status\"]];\n if (_data[\"TotalPrice\"]) {\n const totalPrice_ = new Money();\n this.TotalPrice = totalPrice_.init(_data[\"TotalPrice\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientSource\"] = SearchOrderClientSource[this.ClientSource];\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"ConfirmedAt\"] = DateConverter.toIsoUtcString(this.ConfirmedAt);\n _data[\"ContractId\"] = this.ContractId;\n _data[\"CreatedAt\"] = DateConverter.toIsoUtcString(this.CreatedAt);\n _data[\"HasContractReference\"] = this.HasContractReference;\n _data[\"HasProcessingFailure\"] = this.HasProcessingFailure;\n _data[\"Id\"] = this.Id;\n _data[\"OrderPaymentStatus\"] = SearchOrderOrderPaymentStatus[this.OrderPaymentStatus];\n _data[\"Status\"] = SearchOrderStatus[this.Status];\n _data[\"TotalPrice\"] = this.TotalPrice ? this.TotalPrice.toJSON() : void 0;\n return _data;\n }\n}\nexport var SearchOrderClientSource = /* @__PURE__ */ ((SearchOrderClientSource2) => {\n SearchOrderClientSource2[\"Amazon\"] = \"Amazon\";\n SearchOrderClientSource2[\"KPMG\"] = \"KPMG\";\n SearchOrderClientSource2[\"FedEx\"] = \"FedEx\";\n SearchOrderClientSource2[\"LaPoste\"] = \"LaPoste\";\n return SearchOrderClientSource2;\n})(SearchOrderClientSource || {});\nexport var SearchOrderOrderPaymentStatus = /* @__PURE__ */ ((SearchOrderOrderPaymentStatus2) => {\n SearchOrderOrderPaymentStatus2[\"None\"] = \"None\";\n SearchOrderOrderPaymentStatus2[\"Pending\"] = \"Pending\";\n SearchOrderOrderPaymentStatus2[\"Approved\"] = \"Approved\";\n return SearchOrderOrderPaymentStatus2;\n})(SearchOrderOrderPaymentStatus || {});\nexport var SearchOrderStatus = /* @__PURE__ */ ((SearchOrderStatus2) => {\n SearchOrderStatus2[\"Pending\"] = \"Pending\";\n SearchOrderStatus2[\"Cancelled\"] = \"Cancelled\";\n SearchOrderStatus2[\"Draft\"] = \"Draft\";\n SearchOrderStatus2[\"Confirmed\"] = \"Confirmed\";\n SearchOrderStatus2[\"Abandoned\"] = \"Abandoned\";\n return SearchOrderStatus2;\n})(SearchOrderStatus || {});\n","import { Filter } from \"./Filter\";\nimport { Pager } from \"./Pager\";\nexport class SearchRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchRequest\n */\n this.$type = \"V1.Orders.Search.SearchRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Filter\"]) {\n const filter_ = new Filter();\n this.Filter = filter_.init(_data[\"Filter\"]);\n }\n if (_data[\"Pager\"]) {\n const pager_ = new Pager();\n this.Pager = pager_.init(_data[\"Pager\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Filter\"] = this.Filter ? this.Filter.toJSON() : void 0;\n _data[\"Pager\"] = this.Pager ? this.Pager.toJSON() : void 0;\n return _data;\n }\n}\n","import { SearchOrder } from \"./SearchOrder\";\nexport class SearchResponse {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResponse\n */\n this.$type = \"V1.Orders.Search.SearchResponse\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"Orders\"] && _data[\"Orders\"].constructor === Array) {\n this.Orders = [];\n for (let item of _data[\"Orders\"]) {\n const orders_ = new SearchOrder();\n this.Orders.push(orders_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.Orders && this.Orders.constructor === Array) {\n _data[\"Orders\"] = [];\n for (let item of this.Orders) {\n _data[\"Orders\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nimport { Order as AdminOrder } from \"AdminServices/APIs/self/models/V1/Orders/Get/Order\";\nimport { BankTransferPayment as WebBankTransferPayment, PayPalPayment as WebPayPalPayment, DesuclaPayment as WebDesuclaPayment, Order as WebOrder } from \"WebServices/APIs/self/models/V1/Orders/Get\";\nimport { BankTransferPayment as AdminBankTransferPayment, PayPalPayment as AdminPayPalPayment, DesuclaPayment as AdminDesuclaPayment } from \"AdminServices/APIs/self/models/V1/Orders/Get\";\nimport { mapMoney } from \"GlobalShared/mappers/MoneyMapper\";\nimport {\n HourlyService as AdminHourlyService,\n SimpleService as AdminSimpleService,\n SubscriptionService as AdminSubscriptionService,\n CountryBasedSubscriptionService as AdminCountryBasedSubscriptionService\n} from \"AdminServices/APIs/self/models/V1/Orders/Services\";\nimport {\n HourlyService as WebHourlyService,\n SimpleService as WebSimpleService,\n SubscriptionService as WebSubscriptionService,\n CountryBasedSubscriptionService as WebCountryBasedSubscriptionService\n} from \"WebServices/APIs/self/models/V1/Orders/Services\";\nimport { SearchOrder as AdminSearchOrder } from \"AdminServices/APIs/self/models/V1/Orders/Search\";\nimport i18next from \"i18next\";\nexport const NEW_ORDER_ID = \"NEW\";\nexport const DEFAULT_CURRENCY_CODE = \"EUR\";\nexport const OrderFieldNames = {\n CompanyId: \"CompanyId\",\n ClientSource: \"ClientSource\",\n CompanyName: \"CompanyName\",\n Status: \"Status\",\n OrderPaymentStatus: \"OrderPaymentStatus\",\n CreatedAt: \"CreatedAt\",\n OrderAmount: \"OrderAmount\",\n ContractId: \"ContractId\",\n Actions: \"Actions\"\n};\nexport const PaymentFieldNames = {\n Type: \"Type\",\n QuotedAmount: \"QuotedAmount\",\n CollectedAmount: \"CollectedAmount\",\n Reference: \"Reference\",\n Status: \"Status\",\n Actions: \"Actions\",\n PaymentProof: \"PaymentProof\"\n};\nexport const ALL_ORDER_PAYMENT_STATUSES = [\"None\", \"Pending\", \"Approved\"];\nexport const ALL_ORDER_STATUSES = [\"Pending\", \"Cancelled\", \"Draft\", \"Confirmed\", \"Abandoned\"];\nexport const ClientSources = [\"Amazon\", \"FedEx\", \"KPMG\", \"LaPoste\"];\nexport const NEW_SERVICE_TYPE_MAPPING = /* @__PURE__ */ new Map([\n [\"VatCompliance\", \"CountryBasedSubscription\"],\n [\"VatRegistration\", \"CountryBasedSubscription\"],\n [\"VatTakeOver\", \"CountryBasedSubscription\"],\n [\"VatSpanishBankAccount\", \"CountryBasedSubscription\"],\n [\"VatFiscalRepresentative\", \"CountryBasedSubscription\"],\n [\"VatFilingAgent\", \"CountryBasedSubscription\"],\n [\"VatRetrospectiveReturn\", \"CountryBasedSubscription\"],\n [\"VatIntrastatIn\", \"CountryBasedSubscription\"],\n [\"VatIntrastatOut\", \"CountryBasedSubscription\"],\n [\"VatDeregistration\", \"CountryBasedSubscription\"],\n [\"VatSelfRevision\", \"CountryBasedSubscription\"],\n [\"IossComplianceTier0\", \"Subscription\"],\n [\"IossComplianceTier1\", \"Subscription\"],\n [\"IossComplianceTier2\", \"Subscription\"],\n [\"IossComplianceTier3\", \"Subscription\"],\n [\"IossRegistration\", \"Subscription\"],\n [\"IossDeregistration\", \"Subscription\"],\n [\"IossTakeOver\", \"Subscription\"],\n [\"OssCompliance\", \"Subscription\"],\n [\"OssRegistration\", \"Subscription\"],\n [\"OssDeregistration\", \"Subscription\"],\n [\"OssTakeOver\", \"Subscription\"],\n [\"GlobalEoriUk\", \"Simple\"],\n [\"GlobalEoriEu\", \"Simple\"],\n [\"GlobalGeneralVatAdvice\", \"Hourly\"],\n [\"GlobalSpecialistVatAdvice\", \"CustomPriced\"],\n [\"GlobalCommunicatingWithTaxAuthorities\", \"Simple\"],\n [\"GlobalChangeCompanyDetail\", \"Simple\"],\n [\"GlobalContactingTaxAuthorities\", \"Simple\"],\n [\"GlobalTranslation\", \"Hourly\"],\n [\"GlobalTaxCertificate\", \"Simple\"],\n [\"GlobalIntrastatThresholdCheck\", \"Simple\"],\n [\"GlobalDistanceSaleThresholdCheck\", \"Simple\"]\n]);\nexport const mapOrderBase = (o) => {\n const vm = {\n Id: o.Id,\n ConfirmedAt: o.ConfirmedAt,\n CreatedAt: o.CreatedAt,\n ContractId: o.ContractId,\n HasContractReference: o.HasContractReference,\n Status: o.Status,\n PaymentStatus: o instanceof WebOrder ? o.PaymentStatus : o.OrderPaymentStatus,\n Total: mapMoney(o instanceof AdminOrder || o instanceof WebOrder ? o.Total : o.TotalPrice),\n CompanyId: o instanceof AdminOrder || o instanceof AdminSearchOrder ? o.CompanyId : void 0,\n CompanyName: o instanceof AdminOrder || o instanceof AdminSearchOrder ? o.CompanyName : void 0,\n ClientSource: o instanceof AdminOrder || o instanceof AdminSearchOrder ? o.ClientSource : void 0,\n HasProcessingFailure: o instanceof AdminOrder || o instanceof AdminSearchOrder ? o.HasProcessingFailure : void 0\n };\n return vm;\n};\nexport const mapSearchOrder = (o) => {\n const vm = __spreadProps(__spreadValues({}, mapOrderBase(o)), {\n PaymentStatus: o.OrderPaymentStatus\n });\n return vm;\n};\nexport const mapOrderService = (s) => {\n if (s instanceof AdminSimpleService || s instanceof WebSimpleService) {\n const vm = {\n Type: \"Simple\",\n Code: s.Code,\n Price: mapMoney(s.Price),\n Status: s.Status\n };\n return vm;\n }\n if (s instanceof AdminHourlyService || s instanceof WebHourlyService) {\n const vm = {\n Type: \"Hourly\",\n Code: s.Code,\n Price: mapMoney(s.Price),\n Status: s.Status,\n Hours: s.Hours\n };\n return vm;\n }\n if (s instanceof AdminSubscriptionService || s instanceof WebSubscriptionService) {\n const vm = {\n Type: \"Subscription\",\n Code: s.Code,\n Price: mapMoney(s.Price),\n Status: s.Status,\n StartDate: s.StartDate,\n EndDate: s.EndDate\n };\n return vm;\n }\n if (s instanceof AdminCountryBasedSubscriptionService || s instanceof WebCountryBasedSubscriptionService) {\n const vm = {\n Type: \"CountryBasedSubscription\",\n Code: s.Code,\n Price: mapMoney(s.Price),\n Status: s.Status,\n Country: s.Country,\n StartDate: s.StartDate,\n EndDate: s.EndDate\n };\n return vm;\n }\n return void 0;\n};\nexport const mapOrder = (o) => {\n var _a;\n const vm = __spreadProps(__spreadValues({}, mapOrderBase(o)), {\n CancelledAt: o.CancelledAt,\n SubTotal: mapMoney(o.SubTotal),\n Version: o.Version,\n Vat: mapMoney(o.Vat),\n Payments: o.Payments ? o.Payments.map(mapPayment) : [],\n Services: o.Services.map(mapOrderService),\n BillingDocuments: o.BillingDocuments,\n DraftServices: o instanceof AdminOrder ? (_a = o.DraftServices) == null ? void 0 : _a.map(mapOrderService) : void 0,\n NeedToGenerateInvoice: o.NeedToGenerateInvoice\n });\n return vm;\n};\nexport const mapSearchOrderResult = (result) => {\n const vm = {\n total: result.Count,\n orders: result.Orders.map(mapSearchOrder)\n };\n return vm;\n};\nconst mapPayment = (payment) => {\n const baseVM = {\n Collected: mapMoney(payment.Collected),\n CreatedAt: payment.CreatedAt,\n Id: payment.Id,\n Quoted: mapMoney(payment.Quoted),\n MerchantReference: payment.MerchantReference,\n Status: payment.Status,\n IsRefund: payment.IsRefund\n };\n if (payment instanceof AdminBankTransferPayment || payment instanceof WebBankTransferPayment) {\n return __spreadProps(__spreadValues({}, baseVM), {\n Type: \"BankTransferPayment\",\n HasPaymentProof: payment.HasPaymentProof\n });\n }\n if (payment instanceof AdminPayPalPayment || payment instanceof WebPayPalPayment) {\n return __spreadProps(__spreadValues({}, baseVM), { Type: \"PayPalPayment\" });\n }\n if (payment instanceof AdminDesuclaPayment || payment instanceof WebDesuclaPayment) {\n return __spreadProps(__spreadValues({}, baseVM), { Type: \"DesuclaPayment\" });\n }\n return void 0;\n};\nexport const mapOrderServicesToSummary = (service) => {\n const vm = {\n code: service.Code,\n country: service.Country,\n price: service.Price\n };\n return vm;\n};\nexport const ORDER_STATUS_LABELS = {\n Confirmed: i18next.t(\"Confirmed\"),\n Pending: i18next.t(\"Pending\"),\n Cancelled: i18next.t(\"Cancelled\"),\n Draft: i18next.t(\"Draft\"),\n Abandoned: i18next.t(\"Abandoned\")\n};\nexport const PAYMENT_STATUS_LABELS = {\n None: i18next.t(\"None\"),\n Pending: i18next.t(\"Pending\"),\n Approved: i18next.t(\"Approved\")\n};\n","import i18next from \"i18next\";\nexport const HUNGARIAN_VAT = 0.27;\nexport const COUNTRY_CODES_FOR_CALC = {\n Spain: \"ES\",\n Hungary: \"HU\",\n UnitedKingdom: \"GB\",\n France: \"FR\",\n Germany: \"DE\",\n Italy: \"IT\",\n CzechRepublic: \"CZ\",\n Poland: \"PL\"\n};\nexport const LEGAL_STATUS = [\n { label: i18next.t(\"Company\"), value: \"Company\" },\n { label: i18next.t(\"Partnership\"), value: \"Partnership\" },\n { label: i18next.t(\"Individual\"), value: \"Individual\" }\n];\nexport const TITLES = [\n { label: i18next.t(\"Mr\"), value: \"Mr\" },\n { label: i18next.t(\"Ms\"), value: \"Ms\" }\n];\n","export const SERVICE_COUNTRIES = {\n UnitedKingdom: \"GB\",\n Germany: \"DE\",\n Poland: \"PL\",\n CzechRepublic: \"CZ\",\n Italy: \"IT\",\n Spain: \"ES\",\n France: \"FR\",\n Hungary: \"HU\",\n Austria: \"AT\",\n Belgium: \"BE\",\n Ireland: \"IE\",\n Netherlands: \"NL\",\n Denmark: \"DK\",\n Romania: \"RO\",\n Sweden: \"SE\",\n Portugal: \"PT\",\n Slovakia: \"SK\",\n Finland: \"FI\",\n Greece: \"EL\",\n Luxemburg: \"LU\",\n Bulgaria: \"BG\",\n Croatia: \"HR\",\n Cyprus: \"CY\",\n Estonia: \"EE\",\n Lithuania: \"LT\",\n Latvia: \"LV\",\n Malta: \"MT\",\n Slovenia: \"SI\"\n};\nexport const isEuCountry = (euCountries, countryCode, treatGbAsEu = false) => {\n if (treatGbAsEu) {\n return countryCode === \"GB\" || isEuCountryInternal(euCountries, countryCode);\n }\n return isEuCountryInternal(euCountries, countryCode);\n};\nconst isEuCountryInternal = (euCountries, countryCode) => {\n return euCountries && euCountries.some((eu) => eu.Code === countryCode);\n};\nexport const EU_CURRENCIES = [\"EUR\", \"BGN\", \"HRK\", \"CZK\", \"DKK\", \"HUF\", \"PLN\", \"RON\", \"SEK\", \"CHF\", \"TRY\", \"GBP\"];\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nimport { isEmpty, ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE, ONLY_EUROPEAN_CHARS_REGEX, REQUIRED_MESSAGE } from \"GlobalShared/helpers/stringHelper\";\nexport class BusinessDetailsValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfString((s) => s.legalStatus).isNotEmpty().withPropertyName(\"legalStatus\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.countryOfEstablishment).isNotEmpty().withPropertyName(\"countryOfEstablishment\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.companyName).isNotEmpty().withFailureMessage(REQUIRED_MESSAGE).withPropertyName(\"companyName\").when((s) => s.legalStatus === \"Company\" || s.legalStatus === \"Partnership\");\n this.validateIfString((s) => s.companyName).matches(ONLY_EUROPEAN_CHARS_REGEX).withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).withPropertyName(\"companyName\").when((s) => s.legalStatus === \"Company\" || s.legalStatus === \"Partnership\");\n this.validateIfString((s) => s.companyName).hasMaxLength(200).withFailureMessage(\"Max length: 200\").withPropertyName(\"companyName\").when((s) => s.legalStatus === \"Company\" || s.legalStatus === \"Partnership\");\n this.validateIfString((s) => s.preferredLanguage).isNotEmpty().withPropertyName(\"preferredLanguage\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.phone).isNotEmpty().withPropertyName(\"phone\").withFailureMessage(\"Required\");\n this.validateIfString((s) => s.phone).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"phone\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactTitle).isNotEmpty().withPropertyName(\"contactTitle\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactFirstName).isNotEmpty().withPropertyName(\"contactFirstName\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactFirstName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"contactFirstName\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactFirstName).hasMaxLength(100).withPropertyName(\"contactFirstName\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactLastName).isNotEmpty().withPropertyName(\"contactLastName\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactLastName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"contactLastName\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactLastName).hasMaxLength(100).withPropertyName(\"contactLastName\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.contactPosition).isNotEmpty().withPropertyName(\"contactPosition\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactPosition).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"contactPosition\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactPosition).hasMaxLength(100).withPropertyName(\"contactPosition\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.vatNumber).isNotEmpty().withPropertyName(\"vatNumber\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.vatNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"vatNumber\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => !isEmpty(s.vatNumber));\n this.validateIfString((s) => s.addressZip).isNotEmpty().withPropertyName(\"addressZip\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressZip).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressZip\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressZip).hasMaxLength(10).withPropertyName(\"addressZip\").withFailureMessage(\"Max length: 10\");\n this.validateIfString((s) => s.addressCity).isNotEmpty().withPropertyName(\"addressCity\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressCity).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressCity\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressCity).hasMaxLength(100).withPropertyName(\"addressCity\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.addressStreet).isNotEmpty().withPropertyName(\"addressStreet\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressStreet).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressStreet\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressStreet).hasMaxLength(100).withPropertyName(\"addressStreet\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.addressStreetNo).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressStreetNo\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressStreetNo).isNotEmpty().withPropertyName(\"addressStreetNo\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressStreetNo).hasMaxLength(20).withPropertyName(\"addressStreetNo\").withFailureMessage(\"Max length: 20\");\n this.validateIfString((s) => s.addressProvince).isNotEmpty().withPropertyName(\"addressProvince\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.countryOfEstablishment !== void 0 && s.countryOfEstablishment === \"CN\");\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport { useState, useEffect, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { notifyError, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { templateTitle } from \"GlobalShared/templates/commons\";\nimport { webLanguages } from \"GlobalShared/helpers/webLocaleHelper\";\nimport { TITLES, LEGAL_STATUS } from \"./BusinessDetailsData\";\nimport { isEuCountry } from \"GlobalShared/helpers/countryHelper\";\nimport { BusinessDetailsValidator } from \"./BusinessDetailsValidator\";\nimport { isEmpty } from \"GlobalShared/helpers/stringHelper\";\nconst DEFAULT_BUSINESS_DETAILS_MODEL = {\n legalStatus: \"Company\",\n countryOfEstablishment: \"AL\",\n vatNumber: \"100\",\n companyName: \"BelaCo\",\n contactTitle: \"Mr\",\n contactFirstName: \"Bela\",\n contactLastName: \"Last\",\n addressCity: \"Szeged\",\n addressZip: \"1234\",\n addressStreet: \"K\\xE1r\\xE1sz u.\",\n addressStreetNo: \"123\",\n addressProvince: \"Province\",\n preferredLanguage: \"en-GB\",\n phone: \"1234\"\n};\nexport const useBusinessDetails = (props) => {\n const getVatNumberValidationMessage = () => {\n if (isEuCountry(props.euCountries, businessDetails.countryOfEstablishment) && (isEmpty(businessDetails.vatNumber) || !businessDetails.vatEUValid)) {\n return i18next.t(\"Invalid VAT number, VAT will be charged for our services.\");\n }\n return void 0;\n };\n const getDefaultBusinessDetails = () => {\n if (props.devMode) {\n return {\n legalStatus: DEFAULT_BUSINESS_DETAILS_MODEL.legalStatus,\n companyName: DEFAULT_BUSINESS_DETAILS_MODEL.companyName,\n countryOfEstablishment: DEFAULT_BUSINESS_DETAILS_MODEL.countryOfEstablishment,\n vatNumber: DEFAULT_BUSINESS_DETAILS_MODEL.vatNumber,\n vatEUValid: false,\n addressZip: DEFAULT_BUSINESS_DETAILS_MODEL.addressZip,\n addressCity: DEFAULT_BUSINESS_DETAILS_MODEL.addressCity,\n addressStreet: DEFAULT_BUSINESS_DETAILS_MODEL.addressStreet,\n addressStreetNo: DEFAULT_BUSINESS_DETAILS_MODEL.addressStreetNo,\n addressProvince: DEFAULT_BUSINESS_DETAILS_MODEL.addressProvince,\n contactTitle: DEFAULT_BUSINESS_DETAILS_MODEL.contactTitle,\n contactFirstName: DEFAULT_BUSINESS_DETAILS_MODEL.contactFirstName,\n contactLastName: DEFAULT_BUSINESS_DETAILS_MODEL.contactLastName,\n contactPosition: DEFAULT_BUSINESS_DETAILS_MODEL.contactPosition,\n preferredLanguage: DEFAULT_BUSINESS_DETAILS_MODEL.preferredLanguage,\n phone: DEFAULT_BUSINESS_DETAILS_MODEL.phone\n };\n } else {\n return {\n legalStatus: void 0,\n companyName: void 0,\n countryOfEstablishment: void 0,\n vatNumber: void 0,\n vatEUValid: false,\n addressZip: void 0,\n addressCity: void 0,\n addressStreet: void 0,\n addressStreetNo: void 0,\n addressProvince: void 0,\n contactTitle: void 0,\n contactFirstName: void 0,\n contactLastName: void 0,\n contactPosition: void 0,\n preferredLanguage: void 0,\n phone: void 0\n };\n }\n };\n const [businessDetails, setBusinessDetails] = useState(getDefaultBusinessDetails());\n const [isValid, setIsValid] = useState(false);\n const validationContext = useValidationContext(new BusinessDetailsValidator());\n useEffect(() => __async(void 0, null, function* () {\n if (props.origBusinessDetails) {\n setBusinessDetails(props.origBusinessDetails);\n }\n }), [props.origBusinessDetails]);\n useEffect(() => __async(void 0, null, function* () {\n setIsValid(validationContext.validationResult.isValid());\n }), [validationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(businessDetails);\n }, [businessDetails]);\n useEffect(() => __async(void 0, null, function* () {\n if (!isEmpty(businessDetails.vatNumber) && isEuCountry(props.euCountries, businessDetails.countryOfEstablishment)) {\n withErrorHandling(\n () => __async(void 0, null, function* () {\n const result = yield props.checkVatNumber(`${businessDetails.countryOfEstablishment}${businessDetails.vatNumber}`);\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { vatEUValid: result }));\n }),\n (error) => {\n notifyError(error);\n }\n );\n } else if (isEmpty(businessDetails.vatNumber) && isEuCountry(props.euCountries, businessDetails.countryOfEstablishment)) {\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { vatEUValid: false }));\n }\n }), [businessDetails == null ? void 0 : businessDetails.vatNumber, businessDetails == null ? void 0 : businessDetails.countryOfEstablishment]);\n const templateTitleFirstNameLastName = () => {\n return html`
\n\t\t\t
\n\t\t\t\t {\n const tempVal = e.detail.selectedValue;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { contactTitle: tempVal }));\n validationContext.validateField(\"contactTitle\");\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { contactFirstName: tempVal }));\n validationContext.validateField(\"contactFirstName\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { contactLastName: tempVal }));\n validationContext.validateField(\"contactLastName\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { contactPosition: tempVal }));\n validationContext.validateField(\"contactPosition\");\n }}\n\t\t\t>\n\t\t
`;\n };\n const mainTemplate = () => {\n var _a;\n return html`
\n\t\t\t
${templateTitle(i18next.t(\"Business details\"))}
\n\t\t\t
\n\t\t\t\t {\n const tempVal = e.detail.selectedValue;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { legalStatus: tempVal }));\n validationContext.validateField(\"legalStatus\");\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t${businessDetails.legalStatus === \"Company\" || businessDetails.legalStatus === \"Partnership\" ? html` {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { companyName: tempVal }));\n validationContext.validateField(\"companyName\");\n }}\n\t\t\t\t >` : \"\"}\n\t\t\t
${templateTitleFirstNameLastName()}
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t ({\n label: webLanguages[key].name,\n value: webLanguages[key].locale\n }))}\n\t\t\t\t\t@change=${(e) => {\n const tempVal = e.detail.selectedValue;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { preferredLanguage: tempVal }));\n validationContext.validateField(\"preferredLanguage\");\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t
\n\t\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { phone: tempVal }));\n validationContext.validateField(\"phone\");\n }}\n\t\t\t\t>\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t ({\n label: country.Name,\n value: country.Code\n }))}\n\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t.validationMessage=${validationContext.getValidationMessage(\"countryOfEstablishment\")}\n\t\t\t\t\t@change=${(e) => {\n const tempVal = e.detail.selectedValue;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { countryOfEstablishment: tempVal }));\n validationContext.validateField(\"countryOfEstablishment\");\n }}\n\t\t\t\t>\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { vatNumber: tempVal }));\n validationContext.validateField(\"vatNumber\");\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${isEmpty(validationContext.getValidationMessage(\"vatNumber\")) && getVatNumberValidationMessage() !== void 0 ? html`
${getVatNumberValidationMessage()}
` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { addressCity: tempVal }));\n validationContext.validateField(\"addressCity\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { addressProvince: tempVal }));\n validationContext.validateField(\"addressProvince\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { addressZip: tempVal }));\n validationContext.validateField(\"addressZip\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { addressStreet: tempVal }));\n validationContext.validateField(\"addressStreet\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setBusinessDetails(__spreadProps(__spreadValues({}, businessDetails), { addressStreetNo: tempVal }));\n validationContext.validateField(\"addressStreetNo\");\n }}\n\t\t\t>\n\t\t
`;\n };\n return { mainTemplate, state: businessDetails, isValid };\n};\n","import { addMonths, formatDate, getFirstDayOfMonth, getFirstDayOfNextMonth, getLastDayOfMonth, getLastDayOfPreviousMonth } from \"GlobalShared/helpers/dateHelper\";\nexport const CreatedServiceFactory = (isAdmin) => ({\n createCountryBasedSubscriptionService: (code, country, startDate, endDate) => {\n if (!isAdmin && code === \"VatMonthlyCompliance\") {\n throw new Error(\"Service not supported on web: \" + code);\n }\n return {\n Type: \"Country\",\n Code: code,\n Country: country,\n StartDate: startDate,\n EndDate: endDate\n };\n },\n createSimpleService: (code) => {\n if (!isAdmin && (code === \"GlobalChangeCompanyDetail\" || code === \"GlobalCommunicatingWithTaxAuthorities\")) {\n throw new Error(\"Service not supported on web: \" + code);\n }\n return {\n Type: \"Simple\",\n Code: code\n };\n },\n createHourlyService: (code, hours) => {\n if (!isAdmin && code === \"GlobalGeneralVatAdvice\") {\n throw new Error(\"Service not supported on web: \" + code);\n }\n return {\n Type: \"Hourly\",\n Code: code,\n Hours: hours\n };\n },\n createCustomPricedService: (code, price) => {\n if (!isAdmin && code === \"GlobalSpecialistVatAdvice\") {\n throw new Error(\"Service not supported on web: \" + code);\n }\n return {\n Type: \"CustomPriced\",\n Code: code,\n Price: price\n };\n },\n createGlobalSubscriptionService: (code, startDate, endDate) => {\n return {\n Type: \"GlobalSubscription\",\n Code: code,\n StartDate: startDate,\n EndDate: endDate\n };\n }\n});\nexport const mapToCreatedServices = (isAdmin, today, priceConfig, services) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;\n const result = [];\n const currentPeriodStartDate = getFirstDayOfMonth(today);\n const serviceFactory = CreatedServiceFactory(isAdmin);\n getSelectedVatServices(services.vatServices).forEach((vatCountry) => {\n const countryPriceConfig = priceConfig.perCountry[vatCountry.code];\n if (vatCountry.selected && vatCountry.vatStartingDate && isNewRegistration(vatCountry)) {\n if ((countryPriceConfig == null ? void 0 : countryPriceConfig.registration) === void 0) {\n throw new Error(`Registration fee is missing for country: ${vatCountry.code}`);\n }\n const vatReg = serviceFactory.createCountryBasedSubscriptionService(\"VatRegistration\", vatCountry.code, vatCountry.vatStartingDate);\n result.push(vatReg);\n }\n if (vatCountry.selected && vatCountry.vatStartingDate && !isNewRegistration(vatCountry)) {\n if ((countryPriceConfig == null ? void 0 : countryPriceConfig.takeOver) === void 0) {\n throw new Error(`Takeover fee is missing for country: ${vatCountry.code}`);\n }\n const vatReg = serviceFactory.createCountryBasedSubscriptionService(\"VatTakeOver\", vatCountry.code, vatCountry.vatStartingDate);\n result.push(vatReg);\n }\n const { effectiveComplianceStartDate, newComplianceStartDate } = calcNewComplianceStartDate(vatCountry, currentPeriodStartDate);\n const newComplianceEndDate = calcNewComplianceEndDate(newComplianceStartDate);\n if (vatCountry.selected && !vatCountry.monthlyCompliance) {\n if ((countryPriceConfig == null ? void 0 : countryPriceConfig.compliance) === void 0) {\n throw new Error(`Compliance fee is missing for country: ${vatCountry.code}`);\n }\n const vatCompliance = serviceFactory.createCountryBasedSubscriptionService(\"VatCompliance\", vatCountry.code, newComplianceStartDate, newComplianceEndDate);\n if (priceConfig.perCountry[vatCountry.code].homeCountryCompliance) {\n const vatHomeCountryCompliance = serviceFactory.createCountryBasedSubscriptionService(\"VatHomeCountryCompliance\", vatCountry.code, newComplianceStartDate, newComplianceEndDate);\n result.push(vatHomeCountryCompliance);\n }\n result.push(vatCompliance);\n }\n if (vatCountry.selected && !vatCountry.monthlyCompliance && effectiveComplianceStartDate < currentPeriodStartDate) {\n if ((countryPriceConfig == null ? void 0 : countryPriceConfig.retro) === void 0) {\n throw new Error(`Retrospective fee is missing for country: ${vatCountry.code}`);\n }\n const vatRetrospectiveReturn = serviceFactory.createCountryBasedSubscriptionService(\n \"VatRetrospectiveReturn\",\n vatCountry.code,\n effectiveComplianceStartDate,\n getLastDayOfPreviousMonth(currentPeriodStartDate)\n );\n result.push(vatRetrospectiveReturn);\n }\n if (vatCountry.retrospective && vatCountry.retrospectiveStartDate !== void 0) {\n if ((countryPriceConfig == null ? void 0 : countryPriceConfig.retro) === void 0) {\n throw new Error(`Retrospective fee is missing for country: ${vatCountry.code}`);\n }\n const vatRetrospectiveReturn = serviceFactory.createCountryBasedSubscriptionService(\n \"VatRetrospectiveReturn\",\n vatCountry.code,\n getFirstDayOfMonth(vatCountry.retrospectiveStartDate),\n getLastDayOfPreviousMonth(vatCountry.origComplianceStartDate)\n );\n result.push(vatRetrospectiveReturn);\n }\n if (isAdmin && vatCountry.selected && vatCountry.monthlyCompliance && vatCountry.monthlyComplianceEndDate) {\n if ((countryPriceConfig == null ? void 0 : countryPriceConfig.monthlyCompliance) === void 0) {\n throw new Error(`Monthly compliance fee is missing for country: ${vatCountry.code}`);\n }\n if (!vatCountry.origComplianceEndDate) {\n throw new Error(`Monthly compliance is only available in addition for a compliance: ${vatCountry.code}`);\n }\n const vatMonhtlyCompliance = serviceFactory.createCountryBasedSubscriptionService(\n \"VatMonthlyCompliance\",\n vatCountry.code,\n getFirstDayOfNextMonth(vatCountry.origComplianceEndDate),\n getLastDayOfMonth(vatCountry.monthlyComplianceEndDate)\n );\n result.push(vatMonhtlyCompliance);\n }\n if (vatCountry.intrastatIn) {\n const intrastatIn = serviceFactory.createCountryBasedSubscriptionService(\n \"VatIntrastatIn\",\n vatCountry.code,\n canSetIntrastatStartDate(vatCountry.intrastatIn, vatCountry.origComplianceStartDate, vatCountry.origComplianceEndDate, vatCountry.origIntrastatInEndDate) ? getFirstDayOfMonth(vatCountry.intrastatInDate) : vatCountry.origIntrastatInEndDate !== void 0 ? getFirstDayOfNextMonth(vatCountry.origIntrastatInEndDate) : effectiveComplianceStartDate,\n calcIntrastatEndDate(vatCountry, newComplianceEndDate)\n );\n result.push(intrastatIn);\n }\n if (vatCountry.intrastatOut) {\n const intrastatOut = serviceFactory.createCountryBasedSubscriptionService(\n \"VatIntrastatOut\",\n vatCountry.code,\n canSetIntrastatStartDate(vatCountry.intrastatOut, vatCountry.origComplianceStartDate, vatCountry.origComplianceEndDate, vatCountry.origIntrastatOutEndDate) ? getFirstDayOfMonth(vatCountry.intrastatOutDate) : vatCountry.origIntrastatOutEndDate !== void 0 ? getFirstDayOfNextMonth(vatCountry.origIntrastatOutEndDate) : effectiveComplianceStartDate,\n calcIntrastatEndDate(vatCountry, newComplianceEndDate)\n );\n result.push(intrastatOut);\n }\n if (vatCountry.selected && priceConfig.perCountry[vatCountry.code].fiscalRep && !vatCountry.monthlyCompliance) {\n const vatFiscalRepresentative = serviceFactory.createCountryBasedSubscriptionService(\"VatFiscalRepresentative\", vatCountry.code, today);\n result.push(vatFiscalRepresentative);\n }\n if (vatCountry.selected && priceConfig.perCountry[vatCountry.code].filingAgent && !vatCountry.monthlyCompliance) {\n const filingAgent = serviceFactory.createCountryBasedSubscriptionService(\"VatFilingAgent\", vatCountry.code, today);\n result.push(filingAgent);\n }\n if (vatCountry.selected && vatCountry.spanishBankAccount !== void 0 && vatCountry.spanishBankAccount === false) {\n const spanishBankAccount = serviceFactory.createCountryBasedSubscriptionService(\"VatSpanishBankAccount\", vatCountry.code, today);\n result.push(spanishBankAccount);\n }\n if (vatCountry.selfRevision) {\n const selfRevision = serviceFactory.createCountryBasedSubscriptionService(\"VatSelfRevision\", vatCountry.code, vatCountry.selfRevisionStartDate, vatCountry.selfRevisionEndDate);\n result.push(selfRevision);\n }\n if (vatCountry.deregistration) {\n const deregistration = serviceFactory.createCountryBasedSubscriptionService(\"VatDeregistration\", vatCountry.code, today, void 0);\n result.push(deregistration);\n }\n });\n if (services.euEori) {\n if ((priceConfig == null ? void 0 : priceConfig.eoriWithoutUK) === void 0) {\n throw new Error(\"EU EORI fee is missing\");\n }\n const euEoriService = serviceFactory.createSimpleService(\"GlobalEoriEu\");\n result.push(euEoriService);\n }\n if (services.ukEori) {\n if ((priceConfig == null ? void 0 : priceConfig.eoriWithoutUK) === void 0) {\n throw new Error(\"UK EORI fee is missing\");\n }\n const ukEoriService = serviceFactory.createSimpleService(\"GlobalEoriUk\");\n result.push(ukEoriService);\n }\n if (isAdmin && ((_a = services.globalService) == null ? void 0 : _a.changeCompanyDetail)) {\n if ((priceConfig == null ? void 0 : priceConfig.changeCompanyDetail) === void 0) {\n throw new Error(\"Change company detail fee is missing\");\n }\n const changeCompanyDetail = serviceFactory.createSimpleService(\"GlobalChangeCompanyDetail\");\n result.push(changeCompanyDetail);\n }\n if (isAdmin && ((_b = services.globalService) == null ? void 0 : _b.generalVatAdvice) && ((_c = services.globalService) == null ? void 0 : _c.generalVatAdviceHours)) {\n if ((priceConfig == null ? void 0 : priceConfig.generalVatAdviceHourlyFee) === void 0) {\n throw new Error(\"General VAT advice fee is missing\");\n }\n const generalVatAdvice = serviceFactory.createHourlyService(\"GlobalGeneralVatAdvice\", services.globalService.generalVatAdviceHours);\n result.push(generalVatAdvice);\n }\n if (isAdmin && ((_d = services.globalService) == null ? void 0 : _d.specialistVatAdvice) && ((_f = (_e = services.globalService) == null ? void 0 : _e.specialistVatAdvicePrice) == null ? void 0 : _f.Value)) {\n if ((priceConfig == null ? void 0 : priceConfig.specialistVatAdvice) === void 0) {\n throw new Error(\"Specialist VAT advice fee is missing\");\n }\n const specialistVatAdvice = serviceFactory.createCustomPricedService(\"GlobalSpecialistVatAdvice\", {\n Currency: services.globalService.specialistVatAdvicePrice.Currency,\n Value: services.globalService.specialistVatAdvicePrice.Value\n });\n result.push(specialistVatAdvice);\n }\n if (isAdmin && ((_g = services.globalService) == null ? void 0 : _g.communicatingWithTaxAuthorities)) {\n if ((priceConfig == null ? void 0 : priceConfig.communicatingWithTaxAuthorities) === void 0) {\n throw new Error(\"Communicating with Tax Auth fee is missing\");\n }\n const communicatingWithTaxAuthorities = serviceFactory.createSimpleService(\"GlobalCommunicatingWithTaxAuthorities\");\n result.push(communicatingWithTaxAuthorities);\n }\n if (((_h = services.iossSelection) == null ? void 0 : _h.tier) !== void 0) {\n if (services.iossService.origTier === void 0 && services.iossService) {\n const iossReg = serviceFactory.createGlobalSubscriptionService(services.iossService.hasIossNumber ? \"IossTakeOver\" : \"IossRegistration\", today);\n result.push(iossReg);\n }\n const iossCompliance = serviceFactory.createGlobalSubscriptionService(\n getIossComplianceServiceTier(services.iossSelection.tier),\n today,\n services.iossSelection.tier === \"Tier0\" ? addMonths(currentPeriodStartDate, 12) : void 0\n );\n result.push(iossCompliance);\n }\n if ((_i = services.iossService) == null ? void 0 : _i.deregistration) {\n if (((_j = priceConfig == null ? void 0 : priceConfig.ioss) == null ? void 0 : _j.deregistration) === void 0) {\n throw new Error(\"IOSS deregistration fee is missing\");\n }\n const deregistration = serviceFactory.createGlobalSubscriptionService(\"IossDeregistration\", today);\n result.push(deregistration);\n }\n return result;\n};\nexport const getIossComplianceServiceTier = (iossTier) => {\n if (iossTier === \"Tier0\")\n return \"IossComplianceTier0\";\n if (iossTier === \"Tier1\")\n return \"IossComplianceTier1\";\n if (iossTier === \"Tier2\")\n return \"IossComplianceTier2\";\n if (iossTier === \"Tier3\")\n return \"IossComplianceTier3\";\n return void 0;\n};\nexport const getSelectedVatServices = (vatCountryServices) => {\n var _a;\n return (_a = vatCountryServices == null ? void 0 : vatCountryServices.filter((vatCountryService) => vatCountryService.selected || vatCountryService.origComplianceEndDate !== void 0)) != null ? _a : [];\n};\nconst isNewRegistration = (vatCountry) => {\n return vatCountry.hasVatNumber === false;\n};\nexport const calcNewComplianceStartDate = (vatCountry, currentPeriodStartDate) => {\n var _a, _b;\n const effectiveComplianceStartDate = getFirstDayOfMonth(\n (_b = (_a = vatCountry.restartComplianceStartDate) != null ? _a : vatCountry.vatStartingDate) != null ? _b : vatCountry.origComplianceEndDate === void 0 ? currentPeriodStartDate : getFirstDayOfNextMonth(vatCountry.origComplianceEndDate)\n );\n const newComplianceStartDate = effectiveComplianceStartDate < currentPeriodStartDate ? currentPeriodStartDate : effectiveComplianceStartDate;\n return { effectiveComplianceStartDate, newComplianceStartDate };\n};\nexport const calcNewComplianceEndDate = (complianceStartDate) => {\n return getLastDayOfMonth(addMonths(complianceStartDate, 11));\n};\nexport const calcEffectiveComplianceEndDate = (vatCountry, today) => {\n if (!vatCountry.selected) {\n return vatCountry.origComplianceEndDate;\n }\n if (vatCountry.monthlyCompliance) {\n return getLastDayOfMonth(vatCountry.monthlyComplianceEndDate);\n } else {\n const currentPeriodStartDate = getFirstDayOfMonth(today);\n const { effectiveComplianceStartDate } = calcNewComplianceStartDate(vatCountry, currentPeriodStartDate);\n return calcNewComplianceEndDate(effectiveComplianceStartDate);\n }\n};\nconst calcIntrastatEndDate = (vatCountry, newComplianceEndDate) => {\n let intrastatEndDate = vatCountry.origComplianceEndDate;\n if (vatCountry.selected) {\n if (vatCountry.monthlyCompliance) {\n intrastatEndDate = getLastDayOfMonth(vatCountry.monthlyComplianceEndDate);\n } else {\n intrastatEndDate = newComplianceEndDate;\n }\n }\n return intrastatEndDate;\n};\nexport const canSetIntrastatStartDate = (instrastatSelected, origComplianceStartDate, origComplianceEndDate, origIntrastatEndDate) => {\n return instrastatSelected && (origComplianceEndDate === void 0 || origIntrastatEndDate === void 0 || formatDate(getLastDayOfMonth(origComplianceEndDate)) !== formatDate(getLastDayOfMonth(origIntrastatEndDate)) && getFirstDayOfMonth(origComplianceStartDate) > getLastDayOfMonth(origIntrastatEndDate));\n};\n","import i18next from \"i18next\";\nexport const DEFAULT_SERVICES_MODEL = {};\nexport const IOSS_TIER_MAPPING = {\n Tier0: i18next.t(\"Pay As You Ship: \\u20AC10 per month up to 5 packages, plus \\u20AC2 per additional package\"),\n Tier1: i18next.t(\"Tier 1: Up to 500 packages in a 12 month period\"),\n Tier2: i18next.t(\"Tier 2: Up to 2500 packages in a 12 month period\"),\n Tier3: i18next.t(\"Tier 3: Unlimited packages in a 12 month period\")\n};\nexport const PRICE_CONFIG_MOCK = void 0;\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nimport { getDay, getFirstDayOfMonth, getLastDayOfMonth, getLastDayOfPreviousMonth, MAX_DATE } from \"GlobalShared/helpers/dateHelper\";\nimport { MAX_DATE_MESSAGE, REQUIRED_MESSAGE } from \"GlobalShared/helpers/stringHelper\";\nimport i18next from \"i18next\";\nimport { calcNewComplianceEndDate, calcNewComplianceStartDate, calcEffectiveComplianceEndDate, canSetIntrastatStartDate } from \"./CreateServiceModels\";\nexport class IossSelectorValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIf((s) => s.tier).isNotEqualTo(void 0).withPropertyName(\"tier\").withFailureMessage(REQUIRED_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class IossServiceValidator extends AbstractValidator {\n constructor(iossSelection, currentCompanyServices) {\n super();\n this.validateIf((s) => s.hasIossNumber).isNotEqualTo(void 0).withPropertyName(\"hasIossNumber\").withFailureMessage(REQUIRED_MESSAGE).when((_) => {\n var _a, _b;\n return (iossSelection == null ? void 0 : iossSelection.tier) !== void 0 && ((_b = (_a = currentCompanyServices == null ? void 0 : currentCompanyServices.GlobalServices) == null ? void 0 : _a.IossService) == null ? void 0 : _b.Tier) === void 0;\n });\n this.validateIf((s) => s.hasFixedEuEstablishment).isNotEqualTo(void 0).withPropertyName(\"hasFixedEuEstablishment\").withFailureMessage(REQUIRED_MESSAGE).when((_) => {\n var _a, _b;\n return (iossSelection == null ? void 0 : iossSelection.tier) !== void 0 && ((_b = (_a = currentCompanyServices == null ? void 0 : currentCompanyServices.GlobalServices) == null ? void 0 : _a.IossService) == null ? void 0 : _b.Tier) === void 0;\n });\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport const SOME_VAT_COUNTRIES = \"someVatCountries\";\nexport class CountrySelectorValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIf((s) => s.some((taxCountry) => taxCountry.selected)).isEqualTo(true).withPropertyName(\"someVatCountries\").withFailureMessage(i18next.t(\"At least one country must be selected\"));\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class VatServicesValidator extends AbstractValidator {\n constructor(priceConfiguration) {\n super();\n this.validateIfEach((t) => t).fulfills(new VatCountryServiceValidator(priceConfiguration)).withPropertyName(\"vatCountries\");\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class VatCountryServiceValidator extends AbstractValidator {\n constructor(priceConfiguration) {\n super();\n this.validateIf((s) => s.hasVatNumber).isDefined().withPropertyName(\"hasVatNumber\").withFailureMessage(REQUIRED_MESSAGE).when((s) => {\n var _a;\n return s.selected && ((_a = priceConfiguration.perCountry[s.code]) == null ? void 0 : _a.registration) !== void 0;\n });\n this.validateIfDate((s) => s.vatStartingDate).isBefore(MAX_DATE).withPropertyName(\"vatStartingDate\").withFailureMessage(MAX_DATE_MESSAGE).when((s) => {\n var _a;\n return s.selected && ((_a = priceConfiguration.perCountry[s.code]) == null ? void 0 : _a.registration) !== void 0;\n });\n this.validateIfDate((s) => s.vatStartingDate).isNotNull().withPropertyName(\"vatStartingDate\").withFailureMessage(REQUIRED_MESSAGE).when((s) => {\n var _a;\n return s.selected && ((_a = priceConfiguration.perCountry[s.code]) == null ? void 0 : _a.registration) !== void 0;\n });\n this.validateIfDate((s) => s.intrastatInDate).isNotNull().withPropertyName(\"intrastatInDate\").withFailureMessage(REQUIRED_MESSAGE).when((s) => canSetIntrastatStartDate(s.intrastatIn, s.origComplianceStartDate, s.origComplianceEndDate, s.origIntrastatInEndDate));\n this.validateIfDate((s) => s.intrastatOutDate).isNotNull().withPropertyName(\"intrastatOutDate\").withFailureMessage(REQUIRED_MESSAGE).when((s) => canSetIntrastatStartDate(s.intrastatOut, s.origComplianceStartDate, s.origComplianceEndDate, s.origIntrastatOutEndDate));\n const getNewComplianceEndDate = (s) => calcNewComplianceEndDate(calcNewComplianceStartDate(s, getFirstDayOfMonth(/* @__PURE__ */ new Date())).newComplianceStartDate);\n const DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE = i18next.t(\"Date must be bigger or equal than compliance period start date\");\n const DATE_MUST_BE_BIGGER_THAN_RESTART_START_DATE = i18next.t(\"Date must be bigger or equal than restart period start date\");\n const DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE = i18next.t(\"Date must be smaller or equal than compliance period end date\");\n const wrapFailureMessage = (msg) => {\n return msg;\n };\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(getFirstDayOfMonth(s.intrastatInDate)) >= getDay(getFirstDayOfMonth(s.vatStartingDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatIn && s.selected && s.vatStartingDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(getFirstDayOfMonth(s.intrastatOutDate)) >= getDay(getFirstDayOfMonth(s.vatStartingDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatOut && s.selected && s.vatStartingDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) >= getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatIn && !s.selected);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) >= getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatOut && !s.selected);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) >= getDay(getFirstDayOfMonth(s.restartComplianceStartDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_RESTART_START_DATE)).when((s) => s.intrastatIn && s.selected && s.restartCompliance && s.restartComplianceStartDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) >= getDay(getFirstDayOfMonth(s.restartComplianceStartDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_RESTART_START_DATE)).when((s) => s.intrastatOut && s.selected && s.restartCompliance && s.restartComplianceStartDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) >= getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatIn && s.selected && s.origComplianceStartDate !== void 0 && !s.monthlyCompliance);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) >= getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatOut && s.selected && s.origComplianceStartDate !== void 0 && !s.monthlyCompliance);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) >= getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatIn && s.selected && s.monthlyCompliance && s.monthlyComplianceEndDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) >= getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_BIGGER_THAN_COMPLIANCE_START_DATE)).when((s) => s.intrastatOut && s.selected && s.monthlyCompliance && s.monthlyComplianceEndDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) <= getDay(getNewComplianceEndDate(s))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatIn && s.selected && s.vatStartingDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) <= getDay(getNewComplianceEndDate(s))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatOut && s.selected && s.vatStartingDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) <= getDay(getLastDayOfMonth(s.origComplianceEndDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatIn && !s.selected);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) <= getDay(getLastDayOfMonth(s.origComplianceEndDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatOut && !s.selected);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) <= getDay(getNewComplianceEndDate(s))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatIn && s.selected && s.restartCompliance && s.restartComplianceStartDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) <= getDay(getNewComplianceEndDate(s))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatOut && s.selected && s.restartCompliance && s.restartComplianceStartDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) <= getDay(getNewComplianceEndDate(s))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatIn && s.selected && !s.monthlyCompliance);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) <= getDay(getNewComplianceEndDate(s))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatOut && s.selected && !s.monthlyCompliance);\n this.validateIf((s) => s).fulfills((s) => s.intrastatInDate === void 0 || getDay(s.intrastatInDate) <= getDay(getLastDayOfMonth(s.monthlyComplianceEndDate))).withPropertyName(\"intrastatInDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatIn && s.selected && s.monthlyCompliance && s.monthlyComplianceEndDate !== void 0);\n this.validateIf((s) => s).fulfills((s) => s.intrastatOutDate === void 0 || getDay(s.intrastatOutDate) <= getDay(getLastDayOfMonth(s.monthlyComplianceEndDate))).withPropertyName(\"intrastatOutDate\").withFailureMessage(wrapFailureMessage(DATE_MUST_BE_SMALLER_THAN_COMPLIANCE_END_DATE)).when((s) => s.intrastatOut && s.selected && s.monthlyCompliance && s.monthlyComplianceEndDate !== void 0);\n this.validateIf((s) => s.spanishBankAccount).isNotNull().withPropertyName(\"spanishBankAccount\").withFailureMessage(REQUIRED_MESSAGE).when((s) => {\n var _a;\n return s.selected && ((_a = priceConfiguration.perCountry[s.code]) == null ? void 0 : _a.spanishBankAccount) !== void 0;\n });\n const selfRevisionValidationWhen = (s) => {\n return (s.selected || s.origComplianceEndDate !== void 0) && s.selfRevision;\n };\n this.validateIfDate((s) => s.selfRevisionStartDate).isNotNull().withPropertyName(\"selfRevisionStartDate\").withFailureMessage(REQUIRED_MESSAGE).when(selfRevisionValidationWhen);\n this.validateIfDate((s) => s.selfRevisionStartDate).isBefore(MAX_DATE).withPropertyName(\"selfRevisionStartDate\").withFailureMessage(MAX_DATE_MESSAGE).when(selfRevisionValidationWhen);\n this.validateIfDate((s) => s.selfRevisionEndDate).isNotNull().withPropertyName(\"selfRevisionEndDate\").withFailureMessage(REQUIRED_MESSAGE).when(selfRevisionValidationWhen);\n this.validateIf((s) => s).fulfills((s) => getDay(s.selfRevisionEndDate) <= getLastDayOfMonth(/* @__PURE__ */ new Date())).withPropertyName(\"selfRevisionEndDate\").withFailureMessage(i18next.t(\"Can't be later than the current month\")).when(selfRevisionValidationWhen);\n this.validateIf((s) => s).fulfills((s) => getDay(s.selfRevisionEndDate) <= calcEffectiveComplianceEndDate(s, /* @__PURE__ */ new Date())).withPropertyName(\"selfRevisionEndDate\").withFailureMessage(i18next.t(\"Must be smaller or equal with the current or would-be compliance end date\")).when(selfRevisionValidationWhen);\n this.validateIf((s) => s).fulfills((s) => s.origComplianceStartDate === void 0 || getLastDayOfMonth(s.selfRevisionEndDate) >= getLastDayOfPreviousMonth(s.origComplianceStartDate)).withPropertyName(\"selfRevisionEndDate\").withFailureMessage(i18next.t(\"Can't be smaller than the original compliance start date\")).when(selfRevisionValidationWhen);\n this.validateIf((s) => s).fulfills((s) => s.selfRevisionEndDate > s.selfRevisionStartDate).withPropertyName(\"selfRevisionEndDate\").withFailureMessage(i18next.t(\"Must be bigger than Start Date\")).when((s) => s.selfRevisionStartDate !== void 0 && s.selfRevisionEndDate !== void 0);\n const retrospectiveValidationWhen = (s) => {\n return (s.selected || s.origComplianceEndDate !== void 0) && s.retrospective && !s.restartCompliance;\n };\n this.validateIfDate((s) => s.retrospectiveStartDate).isNotNull().withPropertyName(\"retrospectiveStartDate\").withFailureMessage(REQUIRED_MESSAGE).when(retrospectiveValidationWhen);\n this.validateIf((s) => s).fulfills((s) => getDay(s.retrospectiveStartDate) < getDay(getFirstDayOfMonth(s.origComplianceStartDate))).withPropertyName(\"retrospectiveStartDate\").withFailureMessage(i18next.t(\"Must be lower than the first day of the compliance start month\")).when((s) => s.retrospective && !s.restartCompliance && s.origComplianceStartDate !== void 0);\n this.validateIfDate((s) => s.restartComplianceStartDate).isNotNull().withPropertyName(\"restartComplianceStartDate\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.selected && s.origComplianceEndDate !== void 0 && s.restartCompliance);\n this.validateIfDate((s) => s.restartComplianceStartDate).isBefore(MAX_DATE).withPropertyName(\"restartComplianceStartDate\").withFailureMessage(MAX_DATE_MESSAGE).when((s) => s.selected && s.origComplianceEndDate !== void 0 && s.restartCompliance);\n this.validateIf((s) => s).fulfills((s) => getDay(s.restartComplianceStartDate) >= getDay(s.origComplianceEndDate)).withPropertyName(\"restartComplianceStartDate\").withFailureMessage(i18next.t(\"Restart date must be bigger than or equal to compliance end date\")).when((s) => s.restartComplianceStartDate !== void 0 && s.restartCompliance);\n this.validateIfDate((s) => s.monthlyComplianceEndDate).isNotNull().withPropertyName(\"monthlyComplianceEndDate\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.selected && s.origComplianceEndDate !== void 0 && s.monthlyCompliance);\n this.validateIfDate((s) => s.monthlyComplianceEndDate).isBefore(MAX_DATE).withPropertyName(\"monthlyComplianceEndDate\").withFailureMessage(MAX_DATE_MESSAGE).when((s) => s.selected && s.origComplianceEndDate !== void 0 && s.monthlyCompliance);\n this.validateIf((s) => s).fulfills((s) => getDay(s.monthlyComplianceEndDate) > getDay(s.origComplianceEndDate)).withPropertyName(\"monthlyComplianceEndDate\").withFailureMessage(i18next.t(\"Monthly compliance end date must be bigger than compliance end date\")).when((s) => s.monthlyComplianceEndDate !== void 0 && s.monthlyCompliance);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class GlobalServiceValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIf((s) => s.generalVatAdviceHours).isDefined().withPropertyName(\"generalVatAdviceHours\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.generalVatAdvice);\n this.validateIf((s) => s.specialistVatAdvicePrice).isDefined().withPropertyName(\"specialistVatAdvice\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.specialistVatAdvice);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { templateTitle } from \"GlobalShared/templates/commons\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { getSelectedVatServices } from \"./CreateServiceModels\";\nimport { DEFAULT_SERVICES_MODEL } from \"./OrderServiceModels\";\nimport { VatServicesValidator } from \"./OrderServiceValidator\";\nexport const useVatServices = (props) => {\n const onChangeVatCountry = (e) => {\n const newVatCountry = e.detail.vatCountry;\n setVatServices(vatServices.map((vatCountry) => vatCountry.code === newVatCountry.code ? newVatCountry : vatCountry));\n };\n const [ukEori, setUkEori] = useState(void 0);\n const [euEori, setEuEori] = useState(void 0);\n const [vatServices, setVatServices] = useState(void 0);\n const [isValidVatServices, setIsValidVatServices] = useState(false);\n const vatServicesValidationContext = useValidationContext(new VatServicesValidator(props.priceConfig));\n useEffect(() => {\n var _a;\n if (props.vatCountrySelection) {\n if (props.vatCountrySelection.filter((tc) => tc.code !== \"GB\").every((s) => !s.selected) && euEori) {\n setEuEori(false);\n }\n if (!((_a = props.vatCountrySelection.find((t) => t.code === \"GB\")) == null ? void 0 : _a.selected) && ukEori) {\n setUkEori(false);\n }\n setVatServices(props.vatCountrySelection.map((c) => __spreadValues(__spreadValues({}, vatServices == null ? void 0 : vatServices.find((vs) => vs.code === c.code)), c)));\n }\n }, [props.vatCountrySelection]);\n const init = () => {\n if (props.devMode) {\n setEuEori(DEFAULT_SERVICES_MODEL.euEori);\n setUkEori(DEFAULT_SERVICES_MODEL.ukEori);\n }\n };\n useEffect(init, []);\n useEffect(() => __async(void 0, null, function* () {\n setIsValidVatServices(vatServicesValidationContext.validationResult.isValid());\n }), [vatServicesValidationContext.validationResult]);\n useEffect(() => {\n if (vatServices) {\n vatServicesValidationContext.validate(vatServices);\n }\n }, [vatServices, props.priceConfig]);\n useEffect(() => __async(void 0, null, function* () {\n if (props.currentCompanyServices) {\n setVatServices(void 0);\n }\n }), [props.currentCompanyServices]);\n const htmlEori = () => {\n var _a, _b, _c, _d;\n return html`${((_a = props.priceConfig) == null ? void 0 : _a.eoriWithUK) || ((_b = props.priceConfig) == null ? void 0 : _b.eoriWithoutUK) ? html`${templateTitle(i18next.t(\"EORI\"))}\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${((_c = props.priceConfig) == null ? void 0 : _c.eoriWithoutUK) ? html`
setEuEori(!euEori)}>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
${i18next.t(\"EORI number application in the EU\")}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t${((_d = props.priceConfig) == null ? void 0 : _d.eoriWithUK) ? html`
setUkEori(!ukEori)}>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
${i18next.t(\"EORI number application in the UK\")}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t
\n\t\t\t\t\t
` : \"\"} `;\n };\n const htmlVatCountryServices = () => {\n return html`
\n\t\t\t${getSelectedVatServices(vatServices).map(\n (vatCountry) => {\n var _a, _b;\n return html`
\n\t\t\t\t\t\t wc.Code === vatCountry.code)) == null ? void 0 : _b.Name}\n\t\t\t\t\t\t\t.vatCountry=${vatCountry}\n\t\t\t\t\t\t\t.priceConfig=${props.priceConfig}\n\t\t\t\t\t\t\t.currentCompanyServices=${props.currentCompanyServices}\n\t\t\t\t\t\t\t@change=${onChangeVatCountry}\n\t\t\t\t\t\t>\n\t\t\t\t\t
`;\n }\n )}\n\t\t
`;\n };\n const htmlVatServices = () => {\n return html`
${htmlEori()}${getSelectedVatServices(vatServices).length > 0 ? html`${templateTitle(i18next.t(\"VAT\"))}${htmlVatCountryServices()}` : \"\"}
`;\n };\n return {\n htmlVatServices,\n vatServices,\n ukEori,\n euEori,\n isValidVatServices\n };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { formatDate, getDay } from \"GlobalShared/helpers/dateHelper\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { CountrySelectorValidator, SOME_VAT_COUNTRIES } from \"./OrderServiceValidator\";\nexport const useCountrySelector = (props) => {\n const toggleCountry = (countryCode) => {\n setVatCountrySelection(\n vatCountrySelection.map((vatCountry) => {\n if (vatCountry.code === countryCode) {\n vatCountry.selected = !vatCountry.selected;\n }\n return vatCountry;\n })\n );\n };\n const [vatCountrySelection, setVatCountrySelection] = useState(void 0);\n const [isValidCountrySelector, setIsValidCountrySelector] = useState(false);\n const countrySelectorValidationContext = useValidationContext(new CountrySelectorValidator());\n useEffect(() => __async(void 0, null, function* () {\n setIsValidCountrySelector(!countrySelectorValidationContext.validationResult.getFailures().some((failure) => failure.propertyName === SOME_VAT_COUNTRIES));\n }), [countrySelectorValidationContext.validationResult]);\n useEffect(() => {\n if (vatCountrySelection) {\n countrySelectorValidationContext.validate(vatCountrySelection);\n }\n }, [vatCountrySelection]);\n useEffect(() => {\n var _a;\n if (((_a = props.serviceCountries) == null ? void 0 : _a.length) > 0 && (!props.isAdmin || props.currentCompanyServices)) {\n setVatCountrySelection(\n props.serviceCountries.map((sc) => {\n var _a2, _b, _c, _d;\n const countryService = (_a2 = props.currentCompanyServices) == null ? void 0 : _a2.CountryServices.find((cs) => cs.Country.Code === sc.Code);\n const vm = {\n label: (_b = sc.Name) == null ? void 0 : _b.trim(),\n code: sc.Code,\n selected: false,\n origComplianceStartDate: countryService == null ? void 0 : countryService.ContractFrom,\n origComplianceEndDate: countryService == null ? void 0 : countryService.ContractTo,\n origIntrastatInEndDate: (countryService == null ? void 0 : countryService.IntrastatIn) !== void 0 && ((_c = countryService == null ? void 0 : countryService.IntrastatIn) == null ? void 0 : _c.Status) === \"Active\" ? countryService.IntrastatIn.EndDate : void 0,\n origIntrastatOutEndDate: (countryService == null ? void 0 : countryService.IntrastatOut) !== void 0 && ((_d = countryService == null ? void 0 : countryService.IntrastatOut) == null ? void 0 : _d.Status) === \"Active\" ? countryService.IntrastatOut.EndDate : void 0,\n intrastatIn: false,\n intrastatOut: false\n };\n return vm;\n })\n );\n }\n }, [props.serviceCountries, props.currentCompanyServices]);\n const htmlCountrySelector = () => {\n return html`
\n\t\t\t${(vatCountrySelection == null ? void 0 : vatCountrySelection.some((s) => s.origComplianceEndDate !== void 0)) ? html`
${i18next.t(\"Renew Country\")}
\n\t\t\t\t\t\t
${i18next.t(\"Select countries, where you would like to extend KPMG engagement by 1 year\")}
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${vatCountrySelection.filter((s) => {\n var _a;\n return s.origComplianceEndDate !== void 0 && ((_a = props.priceConfig) == null ? void 0 : _a.perCountry[s.code]);\n }).map(\n (vatCountry) => {\n var _a, _b;\n return html`
toggleCountry(vatCountry.code)} class=\"btn-toggle ${vatCountry.selected ? \"selected\" : \"\"}\">\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t${(_b = (_a = props.worldCountries) == null ? void 0 : _a.find((wc) => wc.Code === vatCountry.code)) == null ? void 0 : _b.Name}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${getDay(vatCountry.origComplianceEndDate) < getDay(/* @__PURE__ */ new Date()) ? html`
${i18next.t(\"expired\")}: ${formatDate(vatCountry.origComplianceEndDate)}
` : html`
${i18next.t(\"expires\")}: ${formatDate(vatCountry.origComplianceEndDate)}
`}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
`;\n }\n )}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
` : \"\"}\n\t\t\t
${i18next.t(\"Add New Country\")}
\n\t\t\t
${i18next.t(\"Select countries, where you would like to start KPMG engagement\")}
\n\t\t\t${vatCountrySelection === void 0 ? html`
${i18next.t(\"Loading\")}...
` : \"\"}\n\t\t\t
\n\t\t\t\t${vatCountrySelection == null ? void 0 : vatCountrySelection.filter((s) => {\n var _a;\n return s.origComplianceEndDate === void 0 && ((_a = props.priceConfig) == null ? void 0 : _a.perCountry[s.code]);\n }).map(\n (vatCountry) => {\n var _a, _b;\n return html`
toggleCountry(vatCountry.code)} class=\"btn-toggle ${vatCountry.selected ? \"selected\" : \"\"}\">\n\t\t\t\t\t\t\t\t${(_b = (_a = props.worldCountries) == null ? void 0 : _a.find((wc) => wc.Code === vatCountry.code)) == null ? void 0 : _b.Name}\n\t\t\t\t\t\t\t
`;\n }\n )}\n\t\t\t
\n\t\t
`;\n };\n return {\n htmlCountrySelector,\n vatCountrySelection,\n isValidCountrySelector\n };\n};\n","export function toBoolean(value) {\n if (!value) {\n return false;\n }\n return typeof value !== \"boolean\" && value.toLowerCase() === \"true\" || typeof value === \"boolean\" && value;\n}\nexport function mapStateToBoolean(state) {\n switch (state) {\n case \"No\":\n return false;\n case \"Yes\":\n return true;\n default:\n return void 0;\n }\n}\nexport function mapBooleanToState(value) {\n switch (value) {\n case false:\n return \"No\";\n case true:\n return \"Yes\";\n default:\n return \"None\";\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { mapBooleanToState } from \"GlobalShared/helpers/booleanHelper\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { DEFAULT_SERVICES_MODEL, IOSS_TIER_MAPPING } from \"./OrderServiceModels\";\nimport { IossSelectorValidator, IossServiceValidator } from \"./OrderServiceValidator\";\nimport { getDay } from \"GlobalShared/helpers/dateHelper\";\nconst RADIO_IOSS_TIER_INPUT_NAME = \"radio-ioss-tier-input\";\nconst RADIO_IOSS_TIER_INPUT_ID_PREFIX = \"radio_ioss_tier_input_\";\nexport const useIossServices = (props) => {\n const radioIOSSTierInputId = (index) => `${RADIO_IOSS_TIER_INPUT_ID_PREFIX}${index}`;\n const getIossFixedEstablishmentValidationMessage = () => {\n return (iossService == null ? void 0 : iossService.hasFixedEuEstablishment) ? i18next.t(\n \"We currently do not offer IOSS services to business who is established or has a fixed establishment in the EU via this Portal. Please contact {{- contactEmail }} for further details.\",\n { contactEmail: ClientContext.ContactEmailAddress }\n ) : void 0;\n };\n const [iossService, setIossService] = useState({});\n const [iossSelection, setIossSelection] = useState(void 0);\n const [isValidIossSelection, setIsValidIossSelection] = useState(false);\n const [isValidIossService, setIsValidIossService] = useState(false);\n const iossServiceValidationContext = useValidationContext(new IossServiceValidator(iossSelection, props.currentCompanyServices));\n const iossSelectorValidationContext = useValidationContext(new IossSelectorValidator());\n const init = () => {\n if (props.devMode) {\n setIossService(DEFAULT_SERVICES_MODEL.iossService);\n }\n };\n useEffect(init, []);\n useEffect(() => __async(void 0, null, function* () {\n setIsValidIossService(iossServiceValidationContext.validationResult.isValid() && getIossFixedEstablishmentValidationMessage() === void 0);\n }), [iossServiceValidationContext.validationResult]);\n useEffect(() => {\n if (iossService) {\n iossServiceValidationContext.validate(iossService);\n }\n }, [iossService]);\n useEffect(() => __async(void 0, null, function* () {\n setIsValidIossSelection(iossSelectorValidationContext.validationResult.isValid());\n }), [iossSelectorValidationContext.validationResult]);\n useEffect(() => {\n if (iossSelection) {\n iossSelectorValidationContext.validate(iossSelection);\n iossServiceValidationContext.validate(iossService);\n }\n }, [iossSelection]);\n useEffect(() => {\n var _a;\n if (props.currentCompanyServices) {\n setIossService({\n origTier: (_a = props.currentCompanyServices.GlobalServices.IossService) == null ? void 0 : _a.Tier\n });\n setIossSelection(void 0);\n }\n }, [props.currentCompanyServices]);\n const htmlTierIossSelector = () => {\n var _a, _b, _c, _d;\n if (((_b = (_a = props.priceConfig) == null ? void 0 : _a.ioss) == null ? void 0 : _b.tiers) === void 0) {\n return html`
${i18next.t(\"Loading\")}...
`;\n }\n if ((iossService == null ? void 0 : iossService.origTier) === \"Tier0\") {\n return \"\";\n }\n return html`
\n\t\t\t\t
${i18next.t(\"Select New Tier\")}
\n\t\t\t\t
${i18next.t(\"What is the estimated annual shipments which will be covered by IOSS?\")}
\n\t\t\t
\n\t\t\t${(_d = (_c = props.priceConfig) == null ? void 0 : _c.ioss) == null ? void 0 : _d.tiers.filter((t) => (iossService == null ? void 0 : iossService.origTier) === void 0 || t.name !== \"Tier0\").map((tier, i) => {\n return html``;\n })}\n\t\t\t
\n\t\t\t\t${i18next.t(\n \"The price shown is based on the volume information provided by you. We reserve the right to change your tier and charge the difference based on your actual shipments. If you do not pay the additional amount on time, your contract may be terminated. \"\n )}\n\t\t\t
`;\n };\n const htmlActiveTier = () => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;\n if (((_c = (_b = (_a = props.currentCompanyServices) == null ? void 0 : _a.GlobalServices) == null ? void 0 : _b.IossService) == null ? void 0 : _c.ComplianceValidTo) && getDay((_f = (_e = (_d = props.currentCompanyServices) == null ? void 0 : _d.GlobalServices) == null ? void 0 : _e.IossService) == null ? void 0 : _f.ComplianceValidTo) >= getDay(/* @__PURE__ */ new Date()) && ((_i = (_h = (_g = props.currentCompanyServices) == null ? void 0 : _g.GlobalServices) == null ? void 0 : _h.IossService) == null ? void 0 : _i.Tier)) {\n return html`
\n\t\t\t\t
${i18next.t(\"Active tier: \")}
\n\t\t\t\t
${IOSS_TIER_MAPPING[(_l = (_k = (_j = props.currentCompanyServices) == null ? void 0 : _j.GlobalServices) == null ? void 0 : _k.IossService) == null ? void 0 : _l.Tier]}
\n\t\t\t
`;\n } else {\n return \"\";\n }\n };\n const htmlIossSelector = () => {\n return html`
${htmlActiveTier()} ${htmlTierIossSelector()}
`;\n };\n const htmlIossDetails = () => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;\n return html`
\n\t\t\t
\n\t\t\t\t
${htmlActiveTier()}
\n\t\t\t\t${(iossSelection == null ? void 0 : iossSelection.tier) === void 0 && ((_b = (_a = props.priceConfig) == null ? void 0 : _a.ioss) == null ? void 0 : _b.deregistration) && ((_e = (_d = (_c = props.currentCompanyServices) == null ? void 0 : _c.GlobalServices) == null ? void 0 : _d.IossService) == null ? void 0 : _e.RegistrationStatus) === \"RegistrationCompleted\" ? html`
\n\t\t\t\t\t\t\t {\n setIossService(__spreadProps(__spreadValues({}, iossService), {\n deregistration: !(iossService == null ? void 0 : iossService.deregistration)\n }));\n }}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
${i18next.t(\"Deregistration\")}
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t${(iossSelection == null ? void 0 : iossSelection.tier) !== void 0 && ((_h = (_g = (_f = props.currentCompanyServices) == null ? void 0 : _f.GlobalServices) == null ? void 0 : _g.IossService) == null ? void 0 : _h.Tier) === void 0 && (((_j = (_i = props == null ? void 0 : props.priceConfig) == null ? void 0 : _i.ioss) == null ? void 0 : _j.newReg) !== void 0 || ((_l = (_k = props == null ? void 0 : props.priceConfig) == null ? void 0 : _k.ioss) == null ? void 0 : _l.takeOver) !== void 0) ? html`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
${i18next.t(\"Do you have current or previous IOSS number?\")}
\n\t\t\t\t\t\t\t\t {\n setIossService(__spreadProps(__spreadValues({}, iossService), { hasIossNumber: e.detail.state === \"Yes\" }));\n }}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
${i18next.t(\"Do you have any fixed establishment in the EU?\")}
\n\t\t\t\t\t\t\t\t\t {\n setIossService(__spreadProps(__spreadValues({}, iossService), {\n hasFixedEuEstablishment: e.detail.state === \"Yes\"\n }));\n }}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t${getIossFixedEstablishmentValidationMessage()}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
` : \"\"}\n\t\t\t
\n\t\t`;\n };\n return {\n htmlIossSelector,\n htmlIossDetails,\n iossSelection,\n iossService,\n isValidIossSelection,\n isValidIossService\n };\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { GlobalServiceValidator } from \"./OrderServiceValidator\";\nimport i18next from \"i18next\";\nimport { toSafeNumber } from \"GlobalShared/helpers/numberHelper\";\nimport { DEFAULT_CURRENCY_CODE } from \"../OrderModels\";\nexport const useGlobalServices = (props) => {\n const [globalService, setGlobalService] = useState({});\n const [isValidGlobalServices, setIsValidGlobalServices] = useState(false);\n const globalServiceValidationContext = useValidationContext(new GlobalServiceValidator());\n useEffect(() => __async(void 0, null, function* () {\n setIsValidGlobalServices(globalServiceValidationContext.validationResult.isValid());\n }), [globalServiceValidationContext.validationResult]);\n useEffect(() => {\n if (globalService) {\n globalServiceValidationContext.validate(globalService);\n }\n }, [globalService]);\n useEffect(() => __async(void 0, null, function* () {\n if (props.currentCompanyServices) {\n setGlobalService({});\n }\n }), [props.currentCompanyServices]);\n const htmlGlobalServices = () => {\n var _a;\n return html`
\n\t\t\t${props.priceConfig.changeCompanyDetail !== void 0 ? html`
\n\t\t\t\t\t\t {\n setGlobalService(__spreadProps(__spreadValues({}, globalService), {\n changeCompanyDetail: !globalService.changeCompanyDetail\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
${i18next.t(\"Change Company Detail\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
` : \"\"}\n\t\t\t${props.priceConfig.generalVatAdviceHourlyFee !== void 0 ? html`
\n\t\t\t\t\t\t {\n setGlobalService(__spreadProps(__spreadValues({}, globalService), {\n generalVatAdvice: !globalService.generalVatAdvice\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
${i18next.t(\"General VAT Advice\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t {\n const noOfHours = toSafeNumber(e.detail.value);\n setGlobalService(__spreadProps(__spreadValues({}, globalService), {\n generalVatAdviceHours: noOfHours\n }));\n globalServiceValidationContext.validateField(\"generalVatAdviceHours\");\n }}\n\t\t\t\t\t\t>\n\t\t\t\t ` : \"\"}\n\t\t\t${props.priceConfig.specialistVatAdvice !== void 0 ? html`
\n\t\t\t\t\t\t {\n setGlobalService(__spreadProps(__spreadValues({}, globalService), {\n specialistVatAdvice: !globalService.specialistVatAdvice\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
${i18next.t(\"Specialist VAT Advice\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n {\n const customPrice = toSafeNumber(e.detail.value);\n setGlobalService(__spreadProps(__spreadValues({}, globalService), {\n specialistVatAdvicePrice: { Value: customPrice, Currency: DEFAULT_CURRENCY_CODE }\n }));\n globalServiceValidationContext.validateField(\"specialistVatAdvicePrice\");\n }}\n >\n\t\t\t\t ` : \"\"}\n\t\t\t${props.priceConfig.communicatingWithTaxAuthorities !== void 0 ? html`
\n\t\t\t\t\t\t {\n setGlobalService(__spreadProps(__spreadValues({}, globalService), {\n communicatingWithTaxAuthorities: !globalService.communicatingWithTaxAuthorities\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
${i18next.t(\"Communicating with Tax Authorities\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t ` : \"\"}\n\t\t`;\n };\n return {\n htmlGlobalServices,\n globalService,\n isValidGlobalServices\n };\n};\n","import { html } from \"lit-html\";\nimport { useMemo } from \"GlobalShared/haunted/CustomHooks\";\nimport { useVatServices } from \"./order-vat-services\";\nimport { useCountrySelector } from \"./order-country-selector\";\nimport { useIossServices } from \"./order-ioss-services\";\nimport { templateTitle } from \"GlobalShared/templates/commons\";\nimport i18next from \"i18next\";\nimport { useGlobalServices } from \"./order-global-services\";\nimport { isEuCountry } from \"GlobalShared/helpers/countryHelper\";\nexport const useOrderServices = (props) => {\n const areVatServicesEnabled = () => {\n var _a, _b;\n return props.servicesFlowType === \"Signup\" || props.servicesFlowType === \"AddServices\" && ((_b = (_a = countrySelectorHook.vatCountrySelection) == null ? void 0 : _a.filter((vcs) => {\n var _a2;\n return (_a2 = props.priceConfig) == null ? void 0 : _a2.perCountry[vcs.code];\n })) == null ? void 0 : _b.length) > 0;\n };\n const areIossServicesEnabled = () => {\n var _a;\n return !isEuCountry(props.euCountries, props.countryOfEstablishment) && (props.servicesFlowType === \"Signup\" || props.servicesFlowType === \"AddServices\" && ((_a = iossServicesHook.iossService) == null ? void 0 : _a.origTier) !== \"Tier0\");\n };\n const countrySelectorHook = useCountrySelector({\n devMode: props.devMode,\n isAdmin: props.isAdmin,\n isSignup: props.isSignup,\n worldCountries: props.worldCountries,\n serviceCountries: props.serviceCountries,\n priceConfig: props.priceConfig,\n currentCompanyServices: props.currentCompanyServices\n });\n const vatServicesHook = useVatServices({\n devMode: props.devMode,\n isAdmin: props.isAdmin,\n isSignup: props.isSignup,\n vatCountrySelection: countrySelectorHook.vatCountrySelection,\n worldCountries: props.worldCountries,\n priceConfig: props.priceConfig,\n currentCompanyServices: props.currentCompanyServices\n });\n const iossServicesHook = useIossServices({\n devMode: props.devMode,\n isAdmin: props.isAdmin,\n isSignup: props.isSignup,\n priceConfig: props.priceConfig,\n currentCompanyServices: props.currentCompanyServices\n });\n const globalServicesHook = useGlobalServices({\n devMode: props.devMode,\n isAdmin: props.isAdmin,\n isSignup: props.isSignup,\n priceConfig: props.priceConfig,\n currentCompanyServices: props.currentCompanyServices\n });\n const state = useMemo(() => {\n const vm = {\n iossService: iossServicesHook.iossService,\n iossSelection: iossServicesHook.iossSelection,\n vatCountrySelection: countrySelectorHook.vatCountrySelection,\n vatServices: vatServicesHook.vatServices,\n globalService: globalServicesHook.globalService,\n ukEori: vatServicesHook.ukEori,\n euEori: vatServicesHook.euEori\n };\n return vm;\n }, [\n iossServicesHook.iossService,\n iossServicesHook.iossSelection,\n countrySelectorHook.vatCountrySelection,\n vatServicesHook.vatServices,\n globalServicesHook.globalService,\n vatServicesHook.ukEori,\n vatServicesHook.euEori\n ]);\n const htmlAdditionalServices = () => {\n var _a, _b;\n return html`
\n\t\t\t${areVatServicesEnabled() ? html`
${vatServicesHook.htmlVatServices()}
` : \"\"}\n\t\t\t${areIossServicesEnabled() && (((_a = iossServicesHook.iossSelection) == null ? void 0 : _a.tier) !== void 0 || ((_b = props.priceConfig.ioss) == null ? void 0 : _b.deregistration)) ? html`${templateTitle(i18next.t(\"IOSS\"))}${iossServicesHook.htmlIossDetails()}` : \"\"}\n\t\t
`;\n };\n const htmlMainSelector = () => {\n return html`
\n\t\t\t${areVatServicesEnabled() ? html`
${templateTitle(i18next.t(\"Vat Registration and Compliance\"))}${countrySelectorHook.htmlCountrySelector()}
` : \"\"}\n\t\t\t${areIossServicesEnabled() ? html`
${templateTitle(i18next.t(\"IOSS Registration and Compliance\"))}${iossServicesHook.htmlIossSelector()}
` : \"\"}\n\t\t\t${!areVatServicesEnabled() && !areIossServicesEnabled() ? html`
${props.loadingServices.count > 0 ? `${i18next.t(\"Loading\")}...` : i18next.t(\"Currently no IOSS or VAT service is available.\")}
` : \"\"}\n\t\t
`;\n };\n const htmlIossSimple = () => {\n return areIossServicesEnabled() ? html`
${templateTitle(i18next.t(\"IOSS Registration and Compliance\"))}${iossServicesHook.htmlIossSelector()}${iossServicesHook.htmlIossDetails()}
` : html``;\n };\n const htmlWrap = (template) => {\n return html`
\n\t\t\t
${template()}
\n\t\t\t
\n\t\t\t\t
${props.priceBreakdownTemplate()}
\n\t\t\t
\n\t\t
`;\n };\n const isValidMainSelector = () => {\n if (!props.isSignup) {\n return true;\n }\n return !areVatServicesEnabled() || countrySelectorHook.isValidCountrySelector || !areIossServicesEnabled() || iossServicesHook.isValidIossSelection;\n };\n const isValidAdditionalServices = () => {\n if (!props.isSignup) {\n return vatServicesHook.isValidVatServices && iossServicesHook.isValidIossService;\n }\n return (!areVatServicesEnabled() || vatServicesHook.isValidVatServices) && (!areIossServicesEnabled() || iossServicesHook.isValidIossService);\n };\n const isValidGlobalServices = () => {\n return !props.isAdmin || globalServicesHook.isValidGlobalServices;\n };\n return {\n htmlMainSelector: () => htmlWrap(htmlMainSelector),\n htmlAdditionalServices: () => htmlWrap(htmlAdditionalServices),\n htmlIossSimple: () => htmlWrap(htmlIossSimple),\n htmlGlobalServices: () => htmlWrap(globalServicesHook.htmlGlobalServices),\n state,\n isValidMainSelector: isValidMainSelector(),\n isValidAdditionalServices: isValidAdditionalServices(),\n isValidGlobalServices: isValidGlobalServices(),\n isValid: isValidMainSelector() && isValidAdditionalServices() && isValidGlobalServices()\n };\n};\n","import { IndividualDetail as WebIndividualBusinessDetail, CompanyDetail as WebCompanyBusinessDetail } from \"WebServices/APIs/self/models/V1/CompanyInfo\";\nfunction getLegalStatus(companyDetail) {\n if (companyDetail instanceof WebIndividualBusinessDetail) {\n return \"Individual\";\n } else {\n if (companyDetail instanceof WebCompanyBusinessDetail) {\n return companyDetail.LegalStatus;\n }\n }\n return \"\";\n}\nexport const mapBusinessDetails = (companyDetail) => {\n var _a;\n const vm = {\n legalStatus: getLegalStatus(companyDetail.BusinessDetail),\n phone: companyDetail.ContactPhone,\n companyName: void 0,\n contactTitle: void 0,\n contactFirstName: void 0,\n contactLastName: void 0,\n contactPosition: companyDetail.BusinessDetail.ContactPosition,\n addressCity: companyDetail.BusinessDetail.Address.City,\n addressZip: companyDetail.BusinessDetail.Address.Zip,\n addressStreet: companyDetail.BusinessDetail.Address.Street,\n addressStreetNo: companyDetail.BusinessDetail.Address.StreetNumber,\n addressProvince: companyDetail.BusinessDetail.Address.Province,\n preferredLanguage: companyDetail.ContactLanguage,\n countryOfEstablishment: companyDetail.BusinessDetail.EstablishmentCountryCode,\n vatNumber: (_a = companyDetail.BusinessDetail.VatNumber) == null ? void 0 : _a.substring(2),\n vatEUValid: companyDetail.IsVatNumberValid\n };\n if (companyDetail.BusinessDetail instanceof WebIndividualBusinessDetail) {\n vm.contactTitle = companyDetail.BusinessDetail.Name.Title;\n vm.contactFirstName = companyDetail.BusinessDetail.Name.FirstName;\n vm.contactLastName = companyDetail.BusinessDetail.Name.LastName;\n } else if (companyDetail.BusinessDetail instanceof WebCompanyBusinessDetail) {\n vm.companyName = companyDetail.BusinessDetail.CompanyName;\n vm.contactTitle = companyDetail.BusinessDetail.ContactName.Title;\n vm.contactFirstName = companyDetail.BusinessDetail.ContactName.FirstName;\n vm.contactLastName = companyDetail.BusinessDetail.ContactName.LastName;\n }\n return vm;\n};\n","import { COUNTRY_CODES_FOR_CALC, HUNGARIAN_VAT } from \"../business-details/BusinessDetailsData\";\nimport { roundMoney } from \"GlobalShared/helpers/numberHelper\";\nimport { isEuCountry } from \"GlobalShared/helpers/countryHelper\";\nimport { getDay, diffInMonthForMonthlyCalc } from \"GlobalShared/helpers/dateHelper\";\nimport { getSelectedVatServices, mapToCreatedServices } from \"./CreateServiceModels\";\nconst getServiceCountryMonthlyPrice = (createdServices, code, vatCountry, price) => {\n if (price === void 0) {\n return 0;\n }\n const monthlyCountryService = createdServices.find((cs) => cs.Code === code && cs.Country === vatCountry.code);\n if (monthlyCountryService === void 0) {\n return 0;\n }\n return price * diffInMonthForMonthlyCalc(monthlyCountryService.StartDate, monthlyCountryService.EndDate);\n};\nconst getServiceCountryPrice = (createdServices, code, vatCountry, price) => {\n return createdServices.find((cs) => cs.Code === code && cs.Country === vatCountry.code) && price !== void 0 ? price : 0;\n};\nconst getServicePrice = (createdServices, code, price) => {\n return createdServices.find((cs) => cs.Code === code) && price !== void 0 ? price : 0;\n};\nexport const getFeeSummary = (isAdmin, today, priceConfig, countryOfEstablishment, vatEUValid, services, euCountries, serviceCountries) => {\n var _a, _b, _c, _d, _e, _f;\n let createdServices = [];\n try {\n createdServices = mapToCreatedServices(isAdmin, today, priceConfig, services);\n } catch (err) {\n }\n const eoriPrice = getServicePrice(createdServices, \"GlobalEoriEu\", priceConfig.eoriWithoutUK);\n const ukEoriPrice = getServicePrice(createdServices, \"GlobalEoriUk\", priceConfig.eoriWithUK);\n const changeCompanyDetailPrice = getServicePrice(createdServices, \"GlobalChangeCompanyDetail\", priceConfig.changeCompanyDetail);\n const generalVatAdvicePrice = getServicePrice(createdServices, \"GlobalGeneralVatAdvice\", ((_a = services.globalService) == null ? void 0 : _a.generalVatAdviceHours) * priceConfig.generalVatAdviceHourlyFee);\n const specialistVatAdvicePrice = getServicePrice(createdServices, \"GlobalSpecialistVatAdvice\", (_c = (_b = services.globalService) == null ? void 0 : _b.specialistVatAdvicePrice) == null ? void 0 : _c.Value);\n const communicatingWithTaxAuthoritiesPrice = getServicePrice(createdServices, \"GlobalCommunicatingWithTaxAuthorities\", priceConfig.communicatingWithTaxAuthorities);\n const iossPrice = services.iossSelection ? calculateIossPrice(priceConfig, services.iossSelection, services.iossService) : 0;\n const iossDeregistationPrice = getServicePrice(createdServices, \"IossDeregistration\", (_d = priceConfig.ioss) == null ? void 0 : _d.deregistration);\n const countries = getSelectedVatServices(services.vatServices).map((vatCountry) => {\n var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i, _j, _k, _l, _m, _n;\n const intrastat = getServiceCountryMonthlyPrice(createdServices, \"VatIntrastatIn\", vatCountry, (_a2 = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _a2.intrastatIn) + getServiceCountryMonthlyPrice(createdServices, \"VatIntrastatOut\", vatCountry, (_b2 = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _b2.intrastatOut);\n const retro = getServiceCountryMonthlyPrice(createdServices, \"VatRetrospectiveReturn\", vatCountry, (_c2 = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _c2.retro);\n const spanishBankAccount = getServiceCountryPrice(createdServices, \"VatSpanishBankAccount\", vatCountry, (_d2 = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _d2.spanishBankAccount);\n const fiscalRep = getServiceCountryPrice(createdServices, \"VatFiscalRepresentative\", vatCountry, (_e2 = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _e2.fiscalRep);\n const filingAgent = getServiceCountryPrice(createdServices, \"VatFilingAgent\", vatCountry, (_f2 = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _f2.filingAgent);\n const homeCountryCompliance = getServiceCountryPrice(createdServices, \"VatHomeCountryCompliance\", vatCountry, (_g = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _g.homeCountryCompliance);\n const monthlyCompliance = getServiceCountryMonthlyPrice(createdServices, \"VatMonthlyCompliance\", vatCountry, (_h = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _h.monthlyCompliance);\n const selfRevision = getServiceCountryMonthlyPrice(createdServices, \"VatSelfRevision\", vatCountry, (_i = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _i.selfRevision);\n const registrationAndCompliancePrice = getServiceCountryPrice(createdServices, \"VatRegistration\", vatCountry, (_j = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _j.registration) + getServiceCountryPrice(createdServices, \"VatTakeOver\", vatCountry, (_k = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _k.takeOver) + getServiceCountryPrice(createdServices, \"VatCompliance\", vatCountry, (_l = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _l.compliance);\n const deregistration = getServiceCountryPrice(createdServices, \"VatDeregistration\", vatCountry, (_m = priceConfig.perCountry[vatCountry.code]) == null ? void 0 : _m.deregistration);\n const total = registrationAndCompliancePrice + fiscalRep + retro + spanishBankAccount + intrastat + homeCountryCompliance + monthlyCompliance + selfRevision + filingAgent + deregistration;\n const summary = {\n filingAgent,\n fiscalRep,\n retro,\n homeCountryCompliance,\n monthlyCompliance,\n intrastat,\n label: (_n = serviceCountries == null ? void 0 : serviceCountries.find((sc) => sc.Code === vatCountry.code)) == null ? void 0 : _n.Name,\n spanishBankAccount,\n selfRevision,\n deregistration,\n total,\n countryCode: vatCountry.code\n };\n return summary;\n });\n const subTotal = ((_e = countries == null ? void 0 : countries.reduce((aggr, curr) => aggr + curr.total, 0)) != null ? _e : 0) + eoriPrice + ukEoriPrice + iossPrice + iossDeregistationPrice + changeCompanyDetailPrice + generalVatAdvicePrice + specialistVatAdvicePrice + communicatingWithTaxAuthoritiesPrice;\n const vat = getVatPrice(subTotal, countryOfEstablishment, euCountries, vatEUValid);\n const result = {\n countries,\n eori: eoriPrice,\n ukEori: ukEoriPrice,\n changeCompanyDetail: changeCompanyDetailPrice,\n generalVatAdvice: generalVatAdvicePrice,\n specialistVatAdvice: specialistVatAdvicePrice,\n communicatingWithTaxAuthorities: communicatingWithTaxAuthoritiesPrice,\n ioss: iossPrice,\n isIossTier0: ((_f = services.iossSelection) == null ? void 0 : _f.tier) === \"Tier0\",\n iossDeregistration: iossDeregistationPrice,\n subTotal,\n vat,\n total: subTotal + vat\n };\n return result;\n};\nexport const getFeeSummaryByOrder = (countryOfEstablishment, vatEUValid, order, euCountries, serviceCountries) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N;\n const eoriPrice = (_c = (_b = (_a = order.Services.find((s) => s.Code === \"GlobalEoriEu\")) == null ? void 0 : _a.Price) == null ? void 0 : _b.Value) != null ? _c : 0;\n const ukEoriPrice = (_f = (_e = (_d = order.Services.find((s) => s.Code === \"GlobalEoriUk\")) == null ? void 0 : _d.Price) == null ? void 0 : _e.Value) != null ? _f : 0;\n const changeCompanyDetailPrice = (_i = (_h = (_g = order.Services.find((s) => s.Code === \"GlobalChangeCompanyDetail\")) == null ? void 0 : _g.Price) == null ? void 0 : _h.Value) != null ? _i : 0;\n const generalVatAdvicePrice = (_l = (_k = (_j = order.Services.find((s) => s.Code === \"GlobalGeneralVatAdvice\")) == null ? void 0 : _j.Price) == null ? void 0 : _k.Value) != null ? _l : 0;\n const specialistVatAdvicePrice = (_o = (_n = (_m = order.Services.find((s) => s.Code === \"GlobalSpecialistVatAdvice\")) == null ? void 0 : _m.Price) == null ? void 0 : _n.Value) != null ? _o : 0;\n const communicatingWithTaxAuthoritiesPrice = (_r = (_q = (_p = order.Services.find((s) => s.Code === \"GlobalCommunicatingWithTaxAuthorities\")) == null ? void 0 : _p.Price) == null ? void 0 : _q.Value) != null ? _r : 0;\n const iossPrice = ((_u = (_t = (_s = order.Services.find((s) => s.Code === \"IossComplianceTier0\")) == null ? void 0 : _s.Price) == null ? void 0 : _t.Value) != null ? _u : 0) + ((_x = (_w = (_v = order.Services.find((s) => s.Code === \"IossComplianceTier1\")) == null ? void 0 : _v.Price) == null ? void 0 : _w.Value) != null ? _x : 0) + ((_A = (_z = (_y = order.Services.find((s) => s.Code === \"IossComplianceTier2\")) == null ? void 0 : _y.Price) == null ? void 0 : _z.Value) != null ? _A : 0) + ((_D = (_C = (_B = order.Services.find((s) => s.Code === \"IossComplianceTier3\")) == null ? void 0 : _B.Price) == null ? void 0 : _C.Value) != null ? _D : 0) + ((_G = (_F = (_E = order.Services.find((s) => s.Code === \"IossRegistration\")) == null ? void 0 : _E.Price) == null ? void 0 : _F.Value) != null ? _G : 0) + ((_J = (_I = (_H = order.Services.find((s) => s.Code === \"IossTakeOver\")) == null ? void 0 : _H.Price) == null ? void 0 : _I.Value) != null ? _J : 0);\n const iossDeregistationPrice = (_M = (_L = (_K = order.Services.find((s) => s.Code === \"IossDeregistration\")) == null ? void 0 : _K.Price) == null ? void 0 : _L.Value) != null ? _M : 0;\n const countryCodes = [...new Set(order.Services.filter((s) => s.Country !== void 0).map((s) => s.Country))];\n const countries = countryCodes.map((countryCode) => {\n var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n2, _o2, _p2, _q2, _r2, _s2, _t2, _u2, _v2, _w2, _x2, _y2, _z2, _A2, _B2, _C2, _D2, _E2, _F2, _G2, _H2, _I2, _J2, _K2, _L2, _M2, _N2;\n const intrastatIn = (_c2 = (_b2 = (_a2 = order.Services.find((s) => s.Code === \"VatIntrastatIn\" && s.Country === countryCode)) == null ? void 0 : _a2.Price) == null ? void 0 : _b2.Value) != null ? _c2 : 0;\n const intrastatOut = (_f2 = (_e2 = (_d2 = order.Services.find((s) => s.Code === \"VatIntrastatOut\" && s.Country === countryCode)) == null ? void 0 : _d2.Price) == null ? void 0 : _e2.Value) != null ? _f2 : 0;\n const intrastat = intrastatIn + intrastatOut;\n const spanishBankAccount = (_i2 = (_h2 = (_g2 = order.Services.find((s) => s.Code === \"VatSpanishBankAccount\" && s.Country === countryCode)) == null ? void 0 : _g2.Price) == null ? void 0 : _h2.Value) != null ? _i2 : 0;\n const retro = (_l2 = (_k2 = (_j2 = order.Services.find((s) => s.Code === \"VatRetrospectiveReturn\" && s.Country === countryCode)) == null ? void 0 : _j2.Price) == null ? void 0 : _k2.Value) != null ? _l2 : 0;\n const fiscalRep = (_o2 = (_n2 = (_m2 = order.Services.find((s) => s.Code === \"VatFiscalRepresentative\" && s.Country === countryCode)) == null ? void 0 : _m2.Price) == null ? void 0 : _n2.Value) != null ? _o2 : 0;\n const filingAgent = (_r2 = (_q2 = (_p2 = order.Services.find((s) => s.Code === \"VatFilingAgent\" && s.Country === countryCode)) == null ? void 0 : _p2.Price) == null ? void 0 : _q2.Value) != null ? _r2 : 0;\n const homeCountryCompliance = (_u2 = (_t2 = (_s2 = order.Services.find((s) => s.Code === \"VatHomeCountryCompliance\" && s.Country === countryCode)) == null ? void 0 : _s2.Price) == null ? void 0 : _t2.Value) != null ? _u2 : 0;\n const monthlyCompliance = (_x2 = (_w2 = (_v2 = order.Services.find((s) => s.Code === \"VatMonthlyCompliance\" && s.Country === countryCode)) == null ? void 0 : _v2.Price) == null ? void 0 : _w2.Value) != null ? _x2 : 0;\n const selfRevision = (_A2 = (_z2 = (_y2 = order.Services.find((s) => s.Code === \"VatSelfRevision\" && s.Country === countryCode)) == null ? void 0 : _y2.Price) == null ? void 0 : _z2.Value) != null ? _A2 : 0;\n const registrationAndCompliancePrice = ((_D2 = (_C2 = (_B2 = order.Services.find((s) => s.Code === \"VatCompliance\" && s.Country === countryCode)) == null ? void 0 : _B2.Price) == null ? void 0 : _C2.Value) != null ? _D2 : 0) + ((_G2 = (_F2 = (_E2 = order.Services.find((s) => s.Code === \"VatRegistration\" && s.Country === countryCode)) == null ? void 0 : _E2.Price) == null ? void 0 : _F2.Value) != null ? _G2 : 0) + ((_J2 = (_I2 = (_H2 = order.Services.find((s) => s.Code === \"VatTakeOver\" && s.Country === countryCode)) == null ? void 0 : _H2.Price) == null ? void 0 : _I2.Value) != null ? _J2 : 0);\n const deregistration = (_M2 = (_L2 = (_K2 = order.Services.find((s) => s.Code === \"VatDeregistration\" && s.Country === countryCode)) == null ? void 0 : _K2.Price) == null ? void 0 : _L2.Value) != null ? _M2 : 0;\n const total = registrationAndCompliancePrice + fiscalRep + retro + spanishBankAccount + intrastat + homeCountryCompliance + monthlyCompliance + selfRevision + filingAgent + deregistration;\n const summary = {\n filingAgent,\n fiscalRep,\n retro,\n homeCountryCompliance,\n monthlyCompliance,\n intrastat,\n label: (_N2 = serviceCountries == null ? void 0 : serviceCountries.find((sc) => sc.Code === countryCode)) == null ? void 0 : _N2.Name,\n spanishBankAccount,\n selfRevision,\n deregistration,\n total,\n countryCode\n };\n return summary;\n });\n const subTotal = ((_N = countries == null ? void 0 : countries.reduce((aggr, curr) => aggr + curr.total, 0)) != null ? _N : 0) + eoriPrice + ukEoriPrice + iossPrice + iossDeregistationPrice + changeCompanyDetailPrice + generalVatAdvicePrice + specialistVatAdvicePrice + communicatingWithTaxAuthoritiesPrice;\n const vat = getVatPrice(subTotal, countryOfEstablishment, euCountries, vatEUValid);\n const result = {\n countries,\n eori: eoriPrice,\n ukEori: ukEoriPrice,\n changeCompanyDetail: changeCompanyDetailPrice,\n generalVatAdvice: generalVatAdvicePrice,\n specialistVatAdvice: specialistVatAdvicePrice,\n communicatingWithTaxAuthorities: communicatingWithTaxAuthoritiesPrice,\n ioss: iossPrice,\n isIossTier0: order.Services.some((s) => s.Code === \"IossComplianceTier0\"),\n iossDeregistration: iossDeregistationPrice,\n subTotal,\n vat,\n total: subTotal + vat\n };\n return result;\n};\nexport const getVatPrice = (subTotal, countryOfEstablishment, euCountries, vatEUValid) => {\n const needVat = countryOfEstablishment === COUNTRY_CODES_FOR_CALC.Hungary || isEuCountry(euCountries, countryOfEstablishment) && !vatEUValid;\n return needVat ? roundMoney(subTotal * HUNGARIAN_VAT, 2) : 0;\n};\nconst calculateIossPrice = (priceConfig, iossSelection, iossService) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;\n const compliancePrice = (_c = (_b = (_a = priceConfig.ioss) == null ? void 0 : _a.tiers.find((tier) => tier.name === iossSelection.tier)) == null ? void 0 : _b.value) != null ? _c : 0;\n const registrationPrice = (iossService == null ? void 0 : iossService.hasIossNumber) !== void 0 ? iossService.hasIossNumber ? (_e = (_d = priceConfig.ioss) == null ? void 0 : _d.takeOver) != null ? _e : 0 : (_g = (_f = priceConfig.ioss) == null ? void 0 : _f.newReg) != null ? _g : 0 : Math.min((_i = (_h = priceConfig.ioss) == null ? void 0 : _h.takeOver) != null ? _i : 0, (_k = (_j = priceConfig.ioss) == null ? void 0 : _j.newReg) != null ? _k : 0);\n return compliancePrice + registrationPrice;\n};\nexport const getIossComplianceServiceTier = (iossTier) => {\n if (iossTier === \"Tier0\")\n return \"IossComplianceTier0\";\n if (iossTier === \"Tier1\")\n return \"IossComplianceTier1\";\n if (iossTier === \"Tier2\")\n return \"IossComplianceTier2\";\n if (iossTier === \"Tier3\")\n return \"IossComplianceTier3\";\n return void 0;\n};\nexport const getAlreadySelectedServices = (options) => {\n var _a;\n const services = [];\n if ((_a = options.iossSelection) == null ? void 0 : _a.tier) {\n const tier = getIossComplianceServiceTier(options.iossSelection.tier);\n services.push({ ServiceCode: tier });\n }\n if (options.vatCountrySelection) {\n options.vatCountrySelection.filter((t) => t.selected).map((tc) => {\n services.push({\n ServiceCode: \"VatCompliance\",\n CountryCode: tc.code\n });\n });\n }\n return services;\n};\nexport const createPriceConfig = (availableServices) => {\n const getService = (countryCode, code) => {\n return availableServices.find((as) => as.Country === countryCode && as.Code === code);\n };\n const getGlobalPrice = (code) => {\n var _a;\n return (_a = availableServices.find((as) => as.Code === code)) == null ? void 0 : _a.Price.Value;\n };\n const getCountryPrice = (countryCode, code) => {\n var _a;\n return (_a = getService(countryCode, code)) == null ? void 0 : _a.Price.Value;\n };\n const countries = [...new Set(availableServices == null ? void 0 : availableServices.filter((as) => as.Country !== void 0).map((as) => as.Country))];\n const perCountry = {};\n countries.forEach((country) => {\n perCountry[country] = {\n compliance: getCountryPrice(country, \"VatCompliance\"),\n registration: getCountryPrice(country, \"VatRegistration\"),\n takeOver: getCountryPrice(country, \"VatTakeOver\"),\n fiscalRep: getCountryPrice(country, \"VatFiscalRepresentative\"),\n filingAgent: getCountryPrice(country, \"VatFilingAgent\"),\n intrastatIn: getCountryPrice(country, \"VatIntrastatIn\"),\n intrastatOut: getCountryPrice(country, \"VatIntrastatOut\"),\n spanishBankAccount: getCountryPrice(country, \"VatSpanishBankAccount\"),\n selfRevision: getCountryPrice(country, \"VatSelfRevision\"),\n retro: getCountryPrice(country, \"VatRetrospectiveReturn\"),\n homeCountryCompliance: getCountryPrice(country, \"VatHomeCountryCompliance\"),\n monthlyCompliance: getCountryPrice(country, \"VatMonthlyCompliance\"),\n deregistration: getCountryPrice(country, \"VatDeregistration\")\n };\n });\n const iossTiers = [\"Tier0\", \"Tier1\", \"Tier2\", \"Tier3\"].reduce(\n (aggr, curr) => {\n const value = getGlobalPrice(`IossCompliance${curr}`);\n return aggr.concat(value !== void 0 ? [{ name: curr, value }] : []);\n },\n []\n );\n const tempPriceConfig = {\n perCountry,\n eoriWithoutUK: getGlobalPrice(\"GlobalEoriEu\"),\n eoriWithUK: getGlobalPrice(\"GlobalEoriUk\"),\n changeCompanyDetail: getGlobalPrice(\"GlobalChangeCompanyDetail\"),\n generalVatAdviceHourlyFee: getGlobalPrice(\"GlobalGeneralVatAdvice\"),\n specialistVatAdvice: getGlobalPrice(\"GlobalSpecialistVatAdvice\"),\n communicatingWithTaxAuthorities: getGlobalPrice(\"GlobalCommunicatingWithTaxAuthorities\"),\n ioss: {\n newReg: getGlobalPrice(\"IossRegistration\"),\n takeOver: getGlobalPrice(\"IossTakeOver\"),\n deregistration: getGlobalPrice(\"IossDeregistration\"),\n tiers: iossTiers\n }\n };\n return tempPriceConfig;\n};\nexport const hasComplianceExpired = (vatCountry) => {\n return vatCountry.origComplianceEndDate !== void 0 && getDay(vatCountry.origComplianceEndDate) < getDay(/* @__PURE__ */ new Date());\n};\n","export class Service {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Service\n */\n this.$type = \"V1.Orders.Create.Request.Service\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = ServiceCode[_data[\"Code\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Code\"] = ServiceCode[this.Code];\n return _data;\n }\n}\nexport var ServiceCode = /* @__PURE__ */ ((ServiceCode2) => {\n ServiceCode2[\"VatCompliance\"] = \"VatCompliance\";\n ServiceCode2[\"VatMonthlyCompliance\"] = \"VatMonthlyCompliance\";\n ServiceCode2[\"VatHomeCountryCompliance\"] = \"VatHomeCountryCompliance\";\n ServiceCode2[\"VatRegistration\"] = \"VatRegistration\";\n ServiceCode2[\"VatTakeOver\"] = \"VatTakeOver\";\n ServiceCode2[\"VatSpanishBankAccount\"] = \"VatSpanishBankAccount\";\n ServiceCode2[\"VatFiscalRepresentative\"] = \"VatFiscalRepresentative\";\n ServiceCode2[\"VatFilingAgent\"] = \"VatFilingAgent\";\n ServiceCode2[\"VatRetrospectiveReturn\"] = \"VatRetrospectiveReturn\";\n ServiceCode2[\"VatIntrastatIn\"] = \"VatIntrastatIn\";\n ServiceCode2[\"VatIntrastatOut\"] = \"VatIntrastatOut\";\n ServiceCode2[\"VatDeregistration\"] = \"VatDeregistration\";\n ServiceCode2[\"VatSelfRevision\"] = \"VatSelfRevision\";\n ServiceCode2[\"IossComplianceTier0\"] = \"IossComplianceTier0\";\n ServiceCode2[\"IossComplianceTier1\"] = \"IossComplianceTier1\";\n ServiceCode2[\"IossComplianceTier2\"] = \"IossComplianceTier2\";\n ServiceCode2[\"IossComplianceTier3\"] = \"IossComplianceTier3\";\n ServiceCode2[\"IossRegistration\"] = \"IossRegistration\";\n ServiceCode2[\"IossTakeOver\"] = \"IossTakeOver\";\n ServiceCode2[\"IossDeregistration\"] = \"IossDeregistration\";\n ServiceCode2[\"OssCompliance\"] = \"OssCompliance\";\n ServiceCode2[\"OssRegistration\"] = \"OssRegistration\";\n ServiceCode2[\"OssTakeOver\"] = \"OssTakeOver\";\n ServiceCode2[\"OssDeregistration\"] = \"OssDeregistration\";\n ServiceCode2[\"GlobalEoriUk\"] = \"GlobalEoriUk\";\n ServiceCode2[\"GlobalEoriEu\"] = \"GlobalEoriEu\";\n ServiceCode2[\"GlobalGeneralVatAdvice\"] = \"GlobalGeneralVatAdvice\";\n ServiceCode2[\"GlobalSpecialistVatAdvice\"] = \"GlobalSpecialistVatAdvice\";\n ServiceCode2[\"GlobalCommunicatingWithTaxAuthorities\"] = \"GlobalCommunicatingWithTaxAuthorities\";\n ServiceCode2[\"GlobalChangeCompanyDetail\"] = \"GlobalChangeCompanyDetail\";\n ServiceCode2[\"GlobalContactingTaxAuthorities\"] = \"GlobalContactingTaxAuthorities\";\n ServiceCode2[\"GlobalTranslation\"] = \"GlobalTranslation\";\n ServiceCode2[\"GlobalTaxCertificate\"] = \"GlobalTaxCertificate\";\n ServiceCode2[\"GlobalIntrastatThresholdCheck\"] = \"GlobalIntrastatThresholdCheck\";\n ServiceCode2[\"GlobalDistanceSaleThresholdCheck\"] = \"GlobalDistanceSaleThresholdCheck\";\n return ServiceCode2;\n})(ServiceCode || {});\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nimport { Service } from \"./Service\";\nexport class CountryBasedSubscriptionService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CountryBasedSubscriptionService\n */\n this.$type = \"V1.Orders.Create.Request.CountryBasedSubscriptionService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Country = _data[\"Country\"];\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Country\"] = this.Country;\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\n","import { Money } from \"./../../../Common/Money\";\nimport { Service } from \"./Service\";\nexport class CustomPricedService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CustomPricedService\n */\n this.$type = \"V1.Orders.Create.Request.CustomPricedService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Price\"]) {\n const price_ = new Money();\n this.Price = price_.init(_data[\"Price\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Price\"] = this.Price ? this.Price.toJSON() : void 0;\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nexport class HourlyService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof HourlyService\n */\n this.$type = \"V1.Orders.Create.Request.HourlyService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Hours = _data[\"Hours\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Hours\"] = this.Hours;\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nexport class SimpleService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SimpleService\n */\n this.$type = \"V1.Orders.Create.Request.SimpleService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nimport { Service } from \"./Service\";\nexport class SubscriptionService extends Service {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubscriptionService\n */\n this.$type = \"V1.Orders.Create.Request.SubscriptionService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\n","import { Service } from \"./Service\";\nimport { CountryBasedSubscriptionService } from \"./CountryBasedSubscriptionService\";\nimport { CustomPricedService } from \"./CustomPricedService\";\nimport { HourlyService } from \"./HourlyService\";\nimport { SimpleService } from \"./SimpleService\";\nimport { SubscriptionService } from \"./SubscriptionService\";\nexport class ServiceFactory {\n static create($type) {\n if ($type === \"V1.Orders.Create.Request.Service\") {\n const result = new Service();\n return result;\n }\n if ($type === \"V1.Orders.Create.Request.CountryBasedSubscriptionService\") {\n const result = new CountryBasedSubscriptionService();\n return result;\n }\n if ($type === \"V1.Orders.Create.Request.CustomPricedService\") {\n const result = new CustomPricedService();\n return result;\n }\n if ($type === \"V1.Orders.Create.Request.HourlyService\") {\n const result = new HourlyService();\n return result;\n }\n if ($type === \"V1.Orders.Create.Request.SimpleService\") {\n const result = new SimpleService();\n return result;\n }\n if ($type === \"V1.Orders.Create.Request.SubscriptionService\") {\n const result = new SubscriptionService();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { ServiceFactory } from \"./ServiceFactory\";\nexport class CreateOrderRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CreateOrderRequest\n */\n this.$type = \"V1.Orders.Create.Request.CreateOrderRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Currency = _data[\"Currency\"];\n this.FlowType = CreateOrderRequestFlowType[_data[\"FlowType\"]];\n if (_data[\"Services\"] && _data[\"Services\"].constructor === Array) {\n this.Services = [];\n for (let item of _data[\"Services\"]) {\n const $typeServices = item && item.$type;\n if ($typeServices) {\n const services_ = ServiceFactory.create($typeServices);\n this.Services.push(services_.init(item));\n }\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Currency\"] = this.Currency;\n _data[\"FlowType\"] = CreateOrderRequestFlowType[this.FlowType];\n if (this.Services && this.Services.constructor === Array) {\n _data[\"Services\"] = [];\n for (let item of this.Services) {\n _data[\"Services\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var CreateOrderRequestFlowType = /* @__PURE__ */ ((CreateOrderRequestFlowType2) => {\n CreateOrderRequestFlowType2[\"SignUp\"] = \"SignUp\";\n CreateOrderRequestFlowType2[\"CreateOrder\"] = \"CreateOrder\";\n return CreateOrderRequestFlowType2;\n})(CreateOrderRequestFlowType || {});\n","import { CountryBasedSubscriptionService, SubscriptionService, SimpleService } from \"WebServices/APIs/self/models/V1/Orders/Create/Request\";\nexport const mapCreatedServices = (createdServices) => {\n return createdServices.map((cs) => {\n if (cs.Type === \"Country\") {\n return new CountryBasedSubscriptionService({\n Code: cs.Code,\n Country: cs.Country,\n StartDate: cs.StartDate,\n EndDate: cs.EndDate\n });\n } else if (cs.Type === \"Simple\") {\n return new SimpleService({\n Code: cs.Code\n });\n } else if (cs.Type === \"GlobalSubscription\") {\n return new SubscriptionService({\n Code: cs.Code,\n StartDate: cs.StartDate,\n EndDate: cs.EndDate\n });\n } else {\n throw new Error(\"Unknown created service: \" + cs.Code);\n }\n });\n};\n","import { mapMoney } from \"GlobalShared/mappers/MoneyMapper\";\nimport i18next from \"i18next\";\nexport const SERVICE_DESCRIPTOR_METAS = [\n {\n Code: \"VatCompliance\",\n Label: i18next.t(\"VAT compliance\")\n },\n {\n Code: \"VatHomeCountryCompliance\",\n Label: i18next.t(\"VAT home country compliance\")\n },\n {\n Code: \"VatMonthlyCompliance\",\n Label: i18next.t(\"VAT monthly compliance\")\n },\n {\n Code: \"VatRegistration\",\n Label: i18next.t(\"VAT registration\")\n },\n {\n Code: \"VatTakeOver\",\n Label: i18next.t(\"VAT take over\")\n },\n {\n Code: \"VatSpanishBankAccount\",\n Label: i18next.t(\"Spanish VAT Payment Service\"),\n Tooltip: i18next.t(\n \"In Spain VAT can be paid only from a Spanish bank account. When operating in Spain, you must use KPMG\\u2019s payment support service to ensure VAT payments and submissions are processed properly.\"\n )\n },\n {\n Code: \"VatFiscalRepresentative\",\n Label: i18next.t(\"Fiscal representation\"),\n Tooltip: i18next.t(\"When operating in a country where fiscal representation is required, you must appoint the Fiscal Representative provided by KPMG.\")\n },\n {\n Code: \"VatFilingAgent\",\n Label: i18next.t(\"Filing agent\")\n },\n {\n Code: \"VatRetrospectiveReturn\",\n Label: i18next.t(\"Retrospective return\"),\n Tooltip: i18next.t(\n \"The calculation of the retrospective periods is crucial for preparation of the registration documents in Italy. You must provide KPMG your transaction data covering past reporting periods as soon as possible. Without them the Italian VAT registration process might be delayed.\"\n )\n },\n {\n Code: \"VatIntrastatIn\",\n Label: i18next.t(\"Intrastat in\")\n },\n {\n Code: \"VatIntrastatOut\",\n Label: i18next.t(\"Intrastat out\")\n },\n {\n Code: \"VatDeregistration\",\n Label: i18next.t(\"VAT deregistration\")\n },\n {\n Code: \"IossComplianceTier0\",\n Label: i18next.t(\"IOSS Compliance Pay As You Ship\")\n },\n {\n Code: \"IossComplianceTier1\",\n Label: i18next.t(\"IOSS Compliance Tier 1\")\n },\n {\n Code: \"IossComplianceTier2\",\n Label: i18next.t(\"IOSS Compliance Tier 2\")\n },\n {\n Code: \"IossComplianceTier3\",\n Label: i18next.t(\"IOSS Compliance Tier 3\")\n },\n {\n Code: \"IossRegistration\",\n Label: i18next.t(\"IOSS registration\")\n },\n {\n Code: \"IossTakeOver\",\n Label: i18next.t(\"IOSS take over\")\n },\n {\n Code: \"IossDeregistration\",\n Label: i18next.t(\"IOSS deregistration\")\n },\n {\n Code: \"OssCompliance\",\n Label: i18next.t(\"OSS compliance\")\n },\n {\n Code: \"OssRegistration\",\n Label: i18next.t(\"OSS registration\")\n },\n {\n Code: \"OssTakeOver\",\n Label: i18next.t(\"OSS take over\")\n },\n {\n Code: \"OssDeregistration\",\n Label: i18next.t(\"OSS deregistration\")\n },\n {\n Code: \"GlobalEoriEu\",\n Label: i18next.t(\"EORI number application in the EU\")\n },\n {\n Code: \"GlobalEoriUk\",\n Label: i18next.t(\"EORI number application in the UK\")\n },\n {\n Code: \"VatSelfRevision\",\n Label: i18next.t(\"Self Revision / Retrospective Returns\")\n },\n {\n Code: \"GlobalGeneralVatAdvice\",\n Label: i18next.t(\"General VAT advice\")\n },\n {\n Code: \"GlobalSpecialistVatAdvice\",\n Label: i18next.t(\"Specialist VAT advice\")\n },\n {\n Code: \"GlobalCommunicatingWithTaxAuthorities\",\n Label: i18next.t(\"Communicating with tax authorities\")\n },\n {\n Code: \"GlobalChangeCompanyDetail\",\n Label: i18next.t(\"Change company detail\")\n },\n {\n Code: \"GlobalContactingTaxAuthorities\",\n Label: i18next.t(\"Contacting tax authorities\")\n },\n {\n Code: \"GlobalTranslation\",\n Label: i18next.t(\"Translation\")\n },\n {\n Code: \"GlobalTaxCertificate\",\n Label: i18next.t(\"Tax certificate\")\n },\n {\n Code: \"GlobalIntrastatThresholdCheck\",\n Label: i18next.t(\"Intrastat threshold check\")\n },\n {\n Code: \"GlobalDistanceSaleThresholdCheck\",\n Label: i18next.t(\"Distance sale threshold check\")\n }\n];\nexport const mapServiceDescriptor = (descriptor) => {\n const vm = {\n Code: descriptor.Code,\n Country: descriptor.Country,\n Price: mapMoney(descriptor.Price)\n };\n return vm;\n};\n","export class SelectedService {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SelectedService\n */\n this.$type = \"V1.Services.V2.SelectedService\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.ServiceCode = SelectedServiceServiceCode[_data[\"ServiceCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"ServiceCode\"] = SelectedServiceServiceCode[this.ServiceCode];\n return _data;\n }\n}\nexport var SelectedServiceServiceCode = /* @__PURE__ */ ((SelectedServiceServiceCode2) => {\n SelectedServiceServiceCode2[\"VatCompliance\"] = \"VatCompliance\";\n SelectedServiceServiceCode2[\"VatMonthlyCompliance\"] = \"VatMonthlyCompliance\";\n SelectedServiceServiceCode2[\"VatRegistration\"] = \"VatRegistration\";\n SelectedServiceServiceCode2[\"VatTakeOver\"] = \"VatTakeOver\";\n SelectedServiceServiceCode2[\"VatSpanishBankAccount\"] = \"VatSpanishBankAccount\";\n SelectedServiceServiceCode2[\"VatFiscalRepresentative\"] = \"VatFiscalRepresentative\";\n SelectedServiceServiceCode2[\"VatFilingAgent\"] = \"VatFilingAgent\";\n SelectedServiceServiceCode2[\"VatRetrospectiveReturn\"] = \"VatRetrospectiveReturn\";\n SelectedServiceServiceCode2[\"VatIntrastatIn\"] = \"VatIntrastatIn\";\n SelectedServiceServiceCode2[\"VatIntrastatOut\"] = \"VatIntrastatOut\";\n SelectedServiceServiceCode2[\"VatDeregistration\"] = \"VatDeregistration\";\n SelectedServiceServiceCode2[\"VatSelfRevision\"] = \"VatSelfRevision\";\n SelectedServiceServiceCode2[\"VatHomeCountryCompliance\"] = \"VatHomeCountryCompliance\";\n SelectedServiceServiceCode2[\"IossComplianceTier0\"] = \"IossComplianceTier0\";\n SelectedServiceServiceCode2[\"IossComplianceTier1\"] = \"IossComplianceTier1\";\n SelectedServiceServiceCode2[\"IossComplianceTier2\"] = \"IossComplianceTier2\";\n SelectedServiceServiceCode2[\"IossComplianceTier3\"] = \"IossComplianceTier3\";\n SelectedServiceServiceCode2[\"IossRegistration\"] = \"IossRegistration\";\n SelectedServiceServiceCode2[\"IossTakeOver\"] = \"IossTakeOver\";\n SelectedServiceServiceCode2[\"IossDeregistration\"] = \"IossDeregistration\";\n SelectedServiceServiceCode2[\"OssCompliance\"] = \"OssCompliance\";\n SelectedServiceServiceCode2[\"OssRegistration\"] = \"OssRegistration\";\n SelectedServiceServiceCode2[\"OssTakeOver\"] = \"OssTakeOver\";\n SelectedServiceServiceCode2[\"OssDeregistration\"] = \"OssDeregistration\";\n SelectedServiceServiceCode2[\"GlobalEoriUk\"] = \"GlobalEoriUk\";\n SelectedServiceServiceCode2[\"GlobalEoriEu\"] = \"GlobalEoriEu\";\n SelectedServiceServiceCode2[\"GlobalGeneralVatAdvice\"] = \"GlobalGeneralVatAdvice\";\n SelectedServiceServiceCode2[\"GlobalSpecialistVatAdvice\"] = \"GlobalSpecialistVatAdvice\";\n SelectedServiceServiceCode2[\"GlobalCommunicatingWithTaxAuthorities\"] = \"GlobalCommunicatingWithTaxAuthorities\";\n SelectedServiceServiceCode2[\"GlobalChangeCompanyDetail\"] = \"GlobalChangeCompanyDetail\";\n SelectedServiceServiceCode2[\"GlobalContactingTaxAuthorities\"] = \"GlobalContactingTaxAuthorities\";\n SelectedServiceServiceCode2[\"GlobalTranslation\"] = \"GlobalTranslation\";\n SelectedServiceServiceCode2[\"GlobalTaxCertificate\"] = \"GlobalTaxCertificate\";\n SelectedServiceServiceCode2[\"GlobalIntrastatThresholdCheck\"] = \"GlobalIntrastatThresholdCheck\";\n SelectedServiceServiceCode2[\"GlobalDistanceSaleThresholdCheck\"] = \"GlobalDistanceSaleThresholdCheck\";\n return SelectedServiceServiceCode2;\n})(SelectedServiceServiceCode || {});\n","import { SelectedService } from \"./SelectedService\";\nexport class GetServicesRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof GetServicesRequest\n */\n this.$type = \"V1.Services.V2.GetServicesRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CurrencyCode = _data[\"CurrencyCode\"];\n if (_data[\"SelectedServices\"] && _data[\"SelectedServices\"].constructor === Array) {\n this.SelectedServices = [];\n for (let item of _data[\"SelectedServices\"]) {\n const selectedServices_ = new SelectedService();\n this.SelectedServices.push(selectedServices_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CurrencyCode\"] = this.CurrencyCode;\n if (this.SelectedServices && this.SelectedServices.constructor === Array) {\n _data[\"SelectedServices\"] = [];\n for (let item of this.SelectedServices) {\n _data[\"SelectedServices\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Money } from \"./../../Common/Money\";\nexport class Payment {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Payment\n */\n this.$type = \"V1.Payments.Pay.Payment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Quoted\"]) {\n const quoted_ = new Money();\n this.Quoted = quoted_.init(_data[\"Quoted\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Quoted\"] = this.Quoted ? this.Quoted.toJSON() : void 0;\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nexport class BankTransferPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankTransferPayment\n */\n this.$type = \"V1.Payments.Pay.BankTransferPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n return _data;\n }\n}\n","import { Payment } from \"./Payment\";\nexport class PayPalPayment extends Payment {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PayPalPayment\n */\n this.$type = \"V1.Payments.Pay.PayPalPayment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Reference = _data[\"Reference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Reference\"] = this.Reference;\n return _data;\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport {\n DEFAULT_CURRENCY_CODE,\n mapOrderService,\n mapOrderServicesToSummary\n} from \"GlobalShared/components/orders/OrderModels\";\nimport { useClient } from \"GlobalShared/haunted/CustomHooks\";\nimport { notifyError, notifyWarning, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { mapMoney } from \"GlobalShared/mappers/MoneyMapper\";\nimport { Orders as OrdersClient, Payments as PaymentsClient, Services as ServicesClient } from \"WebServices/APIs/self/clients\";\nimport { CreateOrderRequest, CreateOrderRequestFlowType } from \"WebServices/APIs/self/models/V1/Orders/Create/Request/CreateOrderRequest\";\nimport { mapCreatedServices } from \"./admin-services-utils\";\nimport { getLocalizedUrl } from \"../../globals\";\nimport { Money } from \"WebServices/APIs/self/models/V1/Common\";\nimport { mapServiceDescriptor } from \"GlobalShared/components/orders/OrderHelpers\";\nimport { GetServicesRequest, SelectedService } from \"WebServices/APIs/self/models/V1/Services/V2\";\nimport { getAlreadySelectedServices } from \"GlobalShared/components/orders/services/order-services-utils\";\nimport { BankTransferPayment, PayPalPayment } from \"WebServices/APIs/self/models/V1/Payments/Pay\";\nexport const useCommonCalls = () => {\n const createOrder = (_companyId, createdServices) => __async(void 0, null, function* () {\n if (createdServices.length === 0) {\n notifyWarning(\"Select at least one service\");\n return void 0;\n }\n const orderResponse = (yield ordersClient.createOrder({\n body: new CreateOrderRequest({\n Currency: DEFAULT_CURRENCY_CODE,\n FlowType: CreateOrderRequestFlowType.SignUp,\n Services: mapCreatedServices(createdServices)\n })\n })).data;\n const orderSummaryVM = orderResponse.Services ? {\n services: orderResponse.Services ? orderResponse.Services.map(mapOrderService).map(mapOrderServicesToSummary) : void 0,\n subTotal: mapMoney(orderResponse.SubTotal),\n total: mapMoney(orderResponse.Total),\n vat: mapMoney(orderResponse.Vat)\n } : void 0;\n return {\n Id: orderResponse.Id,\n ContractId: orderResponse.ContractId,\n ClientSource: orderResponse.ClientSource,\n OrderSummary: orderSummaryVM\n };\n });\n const getPaymentInfo = (orderId) => __async(void 0, null, function* () {\n return withErrorHandling(\n () => __async(void 0, null, function* () {\n const paymentInfoResponse = (yield paymentsClient.getPaymentInfo({ orderId })).data;\n const paymentInfo = {\n availablePaymentTypes: paymentInfoResponse.AvailablePaymentTypes.map((pt) => pt),\n totalPrice: mapMoney(paymentInfoResponse.TotalPrice)\n };\n return paymentInfo;\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const payAndConfirm = (payment, orderId) => __async(void 0, null, function* () {\n yield withErrorHandling(\n () => __async(void 0, null, function* () {\n const quoted = new Money({\n Currency: payment.quotedPrice.Currency,\n Value: payment.quotedPrice.Value\n });\n const tempPayment = payment.type === \"BankTransferPayment\" ? new BankTransferPayment({\n Quoted: quoted\n }) : payment.type === \"PayPalPayment\" ? new PayPalPayment({\n Quoted: quoted,\n Reference: payment.reference\n }) : void 0;\n yield paymentsClient.pay({ body: tempPayment, orderId });\n yield ordersClient.confirmOrder({ orderId });\n window.location.href = getLocalizedUrl(\"/admin\");\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const uploadContract = (orderId, contract) => __async(void 0, null, function* () {\n yield withErrorHandling(\n () => __async(void 0, null, function* () {\n yield ordersClient.uploadContract({\n orderId,\n file: contract\n });\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const getAvailableServices = (currencyCode, vatCountrySelection, iossSelection) => __async(void 0, null, function* () {\n return withErrorHandling(\n () => __async(void 0, null, function* () {\n const resp = yield servicesClient.getAvailableServices({\n body: new GetServicesRequest({\n CurrencyCode: currencyCode,\n SelectedServices: getAlreadySelectedServices({\n vatCountrySelection,\n iossSelection\n }).map((s) => {\n return new SelectedService(__spreadProps(__spreadValues({}, s), {\n ServiceCode: s.ServiceCode\n }));\n })\n })\n });\n return resp.data.map(mapServiceDescriptor);\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const ordersClient = useClient(OrdersClient);\n const paymentsClient = useClient(PaymentsClient);\n const servicesClient = useClient(ServicesClient);\n return {\n createOrder,\n getPaymentInfo,\n payAndConfirm,\n uploadContract,\n getAvailableServices\n };\n};\n","export const getCompanyName = (legalStatus, companyName, contactFirstName, contactLastName) => {\n return legalStatus === \"Individual\" ? `${contactFirstName} ${contactLastName}` : companyName;\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport { useClient, useEffect, useLoadingReducer, useQueryState, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { currentLocale } from \"../../globals\";\nimport { isEmpty } from \"GlobalShared/helpers/stringHelper\";\nimport { Address } from \"WebServices/APIs/self/models/V1/Common\";\nimport { Name } from \"WebServices/APIs/self/models/V1/Common/Person\";\nimport { useEnglishWorldCountries, useEUCountries, useServiceCountries, useWorldCountries } from \"WebComponents/hooks/WebCustomHooks\";\nimport { notifyError, notifySuccess, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { Companies as CompaniesClient, Vies as ViesClient, Company as CompanyClient } from \"WebServices/APIs/self/clients\";\nimport { updateParameter } from \"GlobalShared/router\";\nimport { useOrderSummary } from \"GlobalShared/components/orders/order-summary\";\nimport { priceBreakdownTemplate } from \"GlobalShared/components/orders/order-price-breakdown\";\nimport { generatePDFContract } from \"GlobalShared/components/orders/contract/pdf-generator\";\nimport { CreateCompanyRequest } from \"WebServices/APIs/self/models/V1/Companies/Create\";\nimport { IndividualDetail } from \"WebServices/APIs/self/models/V1/Companies/IndividualDetail\";\nimport { CompanyDetail, CompanyDetailLegalStatus } from \"WebServices/APIs/self/models/V1/Companies/CompanyDetail\";\nimport { DEFAULT_CURRENCY_CODE } from \"GlobalShared/components/orders/OrderModels\";\nimport { useBusinessDetails } from \"GlobalShared/components/orders/business-details/business-details\";\nimport { useOrderServices } from \"GlobalShared/components/orders/services/order-services\";\nimport { mapBusinessDetails } from \"GlobalShared/components/orders/business-details/BusinessDetailsModels\";\nimport { getFeeSummary, createPriceConfig } from \"GlobalShared/components/orders/services/order-services-utils\";\nimport { PRICE_CONFIG_MOCK } from \"GlobalShared/components/orders/services/OrderServiceModels\";\nimport { useCommonCalls } from \"./admin-common-calls\";\nimport { mapToCreatedServices } from \"GlobalShared/components/orders/services/CreateServiceModels\";\nimport { getCompanyName } from \"GlobalShared/helpers/servicesHelper\";\nconst DEV_MODE = ClientContext.FeatureFlags.DevMode;\nconst STEPS = {\n BUSINESS_DETAILS: 0,\n COUNTRY_SELECTOR: 1,\n SERVICES: 2,\n SUMMARY: 3\n};\nexport const PROGRESS_ITEMS = [i18next.t(\"Main Data\"), i18next.t(\"Core Service\"), i18next.t(\"Additional Services\"), i18next.t(\"Summary\")];\nexport function AdminSignup() {\n const getCreateCompanyRequest = () => {\n const businessDetail = {\n Phone: businessDetailsHook.state.phone,\n EstablishmentCountryCode: businessDetailsHook.state.countryOfEstablishment,\n VatNumber: isEmpty(businessDetailsHook.state.vatNumber) ? \"\" : `${businessDetailsHook.state.countryOfEstablishment}${businessDetailsHook.state.vatNumber}`,\n ContactPosition: businessDetailsHook.state.contactPosition,\n Address: new Address({\n City: businessDetailsHook.state.addressCity,\n Zip: businessDetailsHook.state.addressZip,\n Street: businessDetailsHook.state.addressStreet,\n StreetNumber: businessDetailsHook.state.addressStreetNo,\n Province: businessDetailsHook.state.addressProvince\n })\n };\n return new CreateCompanyRequest({\n BusinessDetail: businessDetailsHook.state.legalStatus === \"Individual\" ? new IndividualDetail(__spreadProps(__spreadValues({}, businessDetail), {\n Name: new Name({\n Title: businessDetailsHook.state.contactTitle,\n FirstName: businessDetailsHook.state.contactFirstName,\n LastName: businessDetailsHook.state.contactLastName\n })\n })) : new CompanyDetail(__spreadProps(__spreadValues({}, businessDetail), {\n LegalStatus: businessDetailsHook.state.legalStatus === \"Company\" ? CompanyDetailLegalStatus.Company : CompanyDetailLegalStatus.Partnership,\n CompanyName: businessDetailsHook.state.companyName,\n ContactName: new Name({\n Title: businessDetailsHook.state.contactTitle,\n FirstName: businessDetailsHook.state.contactFirstName,\n LastName: businessDetailsHook.state.contactLastName\n })\n })),\n PreferredLanguage: businessDetailsHook.state.preferredLanguage\n });\n };\n const loadAvailableServices = () => __async(this, null, function* () {\n const availableServices = yield commonCalls.getAvailableServices(DEFAULT_CURRENCY_CODE, servicesHook.state.vatCountrySelection, servicesHook.state.iossSelection);\n setPriceConfig(createPriceConfig(availableServices));\n });\n const createCompany = () => __async(this, null, function* () {\n yield withErrorHandling(\n () => __async(this, null, function* () {\n var _a;\n const companyId = (_a = yield companiesClient.signUp({ body: getCreateCompanyRequest() })) == null ? void 0 : _a.data;\n setCurrentCompanyId(companyId);\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const loadCompanyBusinessDetail = () => __async(this, null, function* () {\n return withErrorHandling(\n () => __async(this, null, function* () {\n if (!isNewCompany) {\n const result = yield companyClient.getCompanyDetail({ locale: currentLocale });\n setOrigBusinessDetails(mapBusinessDetails(result.data));\n }\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const checkVatNumber = (fullVatNumber) => __async(this, null, function* () {\n const result = yield viesClient.checkVatNumber({\n fullVatNumber\n });\n return result.data === \"Valid\";\n });\n const createOrder = () => __async(this, null, function* () {\n return withErrorHandling(\n () => __async(this, null, function* () {\n const orderResult = yield commonCalls.createOrder(currentCompanyId, mapToCreatedServices(true, /* @__PURE__ */ new Date(), priceConfig, servicesHook.state));\n if (orderResult) {\n setCreatedOrderModel(__spreadProps(__spreadValues({}, createdOrderModel), {\n Id: orderResult.Id,\n ContractId: orderResult.ContractId,\n ClientSource: orderResult.ClientSource,\n OrderSummary: orderResult.OrderSummary\n }));\n notifySuccess(\"Order successfully saved\");\n }\n }),\n (error) => {\n notifyError(error);\n }\n );\n });\n const [priceConfig, setPriceConfig] = useState(void 0);\n const [loadingServices, dispatchLoadingServices] = useLoadingReducer();\n const [currentStep, setCurrentStep] = useState(0);\n const [createdOrderModel, setCreatedOrderModel] = useState({});\n const [currentCompanyId, setCurrentCompanyId] = useState(void 0);\n const [isNewCompany] = useQueryState(\"newcompany\", false);\n const [origBusinessDetails, setOrigBusinessDetails] = useState(void 0);\n const worldCountries = useWorldCountries(currentLocale);\n const englishWorldCountries = useEnglishWorldCountries();\n const serviceCountries = useServiceCountries(currentLocale);\n const euCountries = useEUCountries(currentLocale);\n const [feeSummary, setFeeSummary] = useState(void 0);\n const commonCalls = useCommonCalls();\n const businessDetailsHook = useBusinessDetails({\n devMode: DEV_MODE,\n servicesFlowType: \"Signup\",\n worldCountries,\n euCountries,\n checkVatNumber,\n origBusinessDetails\n });\n const servicesHook = useOrderServices({\n devMode: DEV_MODE,\n isAdmin: false,\n isSignup: true,\n countryOfEstablishment: businessDetailsHook.state.countryOfEstablishment,\n servicesFlowType: \"Signup\",\n euCountries,\n worldCountries,\n serviceCountries,\n priceConfig,\n priceBreakdownTemplate: () => priceBreakdownTemplate(feeSummary),\n loadingServices\n });\n const orderSummaryHook = useOrderSummary({\n isAdmin: false,\n priceBreakdownTemplate: () => priceBreakdownTemplate(feeSummary),\n isParentValid: businessDetailsHook.isValid && servicesHook.isValid,\n order: createdOrderModel,\n hasContractReference: false,\n isSignup: true,\n companyId: currentCompanyId,\n generateContractPdf: () => {\n var _a;\n const pdfModel = {\n partnerName: getCompanyName(\n businessDetailsHook.state.legalStatus,\n businessDetailsHook.state.companyName,\n businessDetailsHook.state.contactFirstName,\n businessDetailsHook.state.contactLastName\n ),\n legalStatus: businessDetailsHook.state.legalStatus,\n addressLine: `${businessDetailsHook.state.addressStreet} ${businessDetailsHook.state.addressStreetNo}, ${businessDetailsHook.state.addressZip} ${businessDetailsHook.state.addressCity} ${englishWorldCountries.find((wc) => wc.Code === businessDetailsHook.state.countryOfEstablishment).Name}`,\n summary: __spreadProps(__spreadValues({}, feeSummary), {\n countries: feeSummary.countries.map((sc) => __spreadProps(__spreadValues({}, sc), {\n label: englishWorldCountries.find((wc) => wc.Code === sc.countryCode).Name\n }))\n }),\n contractDate: /* @__PURE__ */ new Date(),\n iossTier: (_a = servicesHook.state.iossSelection) == null ? void 0 : _a.tier,\n vatNumber: businessDetailsHook.state.vatNumber ? businessDetailsHook.state.countryOfEstablishment + businessDetailsHook.state.vatNumber : \"\",\n kpmgReference: createdOrderModel == null ? void 0 : createdOrderModel.ContractId,\n hasVatService: servicesHook.state.vatCountrySelection.length > 0,\n clientSource: createdOrderModel == null ? void 0 : createdOrderModel.ClientSource\n };\n return generatePDFContract(pdfModel);\n },\n getPaymentInfo: commonCalls.getPaymentInfo,\n payAndConfirm: commonCalls.payAndConfirm,\n uploadContract: commonCalls.uploadContract,\n downloadContract: () => {\n return void 0;\n }\n });\n const [nextInProgress, setNextInProgress] = useState(false);\n useEffect(() => {\n if (priceConfig && businessDetailsHook.state && servicesHook.state && euCountries && serviceCountries) {\n const tempFeeSummary = getFeeSummary(\n false,\n /* @__PURE__ */ new Date(),\n priceConfig,\n businessDetailsHook.state.countryOfEstablishment,\n businessDetailsHook.state.vatEUValid,\n servicesHook.state,\n euCountries,\n serviceCountries\n );\n setFeeSummary(tempFeeSummary);\n }\n }, [priceConfig, businessDetailsHook.state, servicesHook.state, euCountries, serviceCountries, createdOrderModel.ClientSource]);\n useEffect(() => __async(this, null, function* () {\n if (currentCompanyId) {\n if (DEV_MODE && PRICE_CONFIG_MOCK) {\n setPriceConfig(PRICE_CONFIG_MOCK);\n } else {\n dispatchLoadingServices(\"inc\");\n try {\n yield loadAvailableServices();\n } finally {\n dispatchLoadingServices(\"dec\");\n }\n }\n }\n }), [servicesHook.state.iossSelection, servicesHook.state.vatCountrySelection]);\n const companiesClient = useClient(CompaniesClient);\n const companyClient = useClient(CompanyClient);\n const viesClient = useClient(ViesClient);\n const init = () => __async(this, null, function* () {\n updateParameter(\"lnglrt\", \"true\");\n if (ClientContext.CompanyId) {\n yield loadCompanyBusinessDetail();\n }\n });\n useEffect(init, []);\n useEffect(() => {\n if (currentStep !== 3) {\n orderSummaryHook.resetSummary();\n }\n }, [currentStep]);\n const htmlFlow = () => {\n return html`
\n\t\t\t\t {\n if (e.detail.step < currentStep) {\n setCurrentStep(e.detail.step);\n }\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t${currentStep === 0 ? businessDetailsHook.mainTemplate() : \"\"} ${currentStep === 1 ? servicesHook.htmlMainSelector() : \"\"} ${currentStep === 2 ? servicesHook.htmlAdditionalServices() : \"\"}\n\t\t\t${currentStep === 3 ? orderSummaryHook.mainTemplate() : \"\"}\n\t\t\t
\n\t\t\t\t {\n if (currentStep === STEPS.SUMMARY) {\n setCurrentStep(STEPS.SERVICES);\n } else if (currentStep === STEPS.SERVICES) {\n setCurrentStep(STEPS.COUNTRY_SELECTOR);\n } else if (currentStep === STEPS.COUNTRY_SELECTOR) {\n setCurrentStep(STEPS.BUSINESS_DETAILS);\n }\n }}}\"\n\t\t\t\t>\n\t\t\t\t\t${i18next.t(\"Previous\")}\n\t\t\t\t\n\t\t\t\t 0}\n\t\t\t\t\t@click=${() => __async(this, null, function* () {\n if (currentStep === STEPS.BUSINESS_DETAILS) {\n if (businessDetailsHook.isValid) {\n try {\n setNextInProgress(true);\n yield createCompany();\n yield loadAvailableServices();\n setCurrentStep(STEPS.COUNTRY_SELECTOR);\n } finally {\n setNextInProgress(false);\n }\n }\n } else if (currentStep === STEPS.COUNTRY_SELECTOR) {\n if (servicesHook.isValidMainSelector) {\n setCurrentStep(STEPS.SERVICES);\n }\n } else if (currentStep === STEPS.SERVICES) {\n if (servicesHook.isValid) {\n try {\n setNextInProgress(true);\n yield createOrder();\n setCurrentStep(STEPS.SUMMARY);\n } finally {\n setNextInProgress(false);\n }\n }\n }\n })}\n\t\t\t\t>\n\t\t\t\t\t${nextInProgress ? `${i18next.t(\"Loading\")}...` : i18next.t(\"Next\")}\n\t\t\t\t\n\t\t\t
`;\n };\n return html`
\n\t\t
\n\t\t\t
\n\t\t\t\t
${i18next.t(\"Getting started with KPMG\")}
\n\t\t\t
\n\t\t\t${htmlFlow()}\n\t\t
\n\t
`;\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { BankAccountChangeRequest } from \"./BankAccountChangeRequest\";\nimport { VatRegistrationStatusChange } from \"./VatRegistrationStatusChange\";\nexport class AddLocalTaxStatusChange extends VatRegistrationStatusChange {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AddLocalTaxStatusChange\n */\n this.$type = \"V1.Company.VatRegistration.AddLocalTaxStatusChange\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"BankAccountConfig\"]) {\n const bankAccountConfig_ = new BankAccountChangeRequest();\n this.BankAccountConfig = bankAccountConfig_.init(_data[\"BankAccountConfig\"]);\n }\n this.ESLEFiling = _data[\"ESLEFiling\"];\n this.ESLFilingExtension = _data[\"ESLFilingExtension\"];\n this.ESLFrequencyType = AddLocalTaxStatusChangeESLFrequencyType[_data[\"ESLFrequencyType\"]];\n this.IntrastatEFiling = _data[\"IntrastatEFiling\"];\n this.IntrastatFilingExtension = _data[\"IntrastatFilingExtension\"];\n this.IntrastatFrequencyType = AddLocalTaxStatusChangeIntrastatFrequencyType[_data[\"IntrastatFrequencyType\"]];\n this.LocalVATCertificateReferenceId = _data[\"LocalVATCertificateReferenceId\"];\n this.LocalVatNumber = _data[\"LocalVatNumber\"];\n this.LocalVatRegistrationDate = DateConverter.from(_data[\"LocalVatRegistrationDate\"]);\n this.NotifyUser = _data[\"NotifyUser\"];\n this.PaymentReference = _data[\"PaymentReference\"];\n this.PrimaryVATEFiling = _data[\"PrimaryVATEFiling\"];\n this.PrimaryVATFilingExtension = _data[\"PrimaryVATFilingExtension\"];\n this.PrimaryVATFrequencyType = AddLocalTaxStatusChangePrimaryVATFrequencyType[_data[\"PrimaryVATFrequencyType\"]];\n this.SecondaryVATEFiling = _data[\"SecondaryVATEFiling\"];\n this.SecondaryVATFilingExtension = _data[\"SecondaryVATFilingExtension\"];\n this.SecondaryVATFrequencyType = AddLocalTaxStatusChangeSecondaryVATFrequencyType[_data[\"SecondaryVATFrequencyType\"]];\n this.TaxIdentifier = _data[\"TaxIdentifier\"];\n this.VLSEFiling = _data[\"VLSEFiling\"];\n this.VLSFilingExtension = _data[\"VLSFilingExtension\"];\n this.VLSFrequencyType = AddLocalTaxStatusChangeVLSFrequencyType[_data[\"VLSFrequencyType\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"BankAccountConfig\"] = this.BankAccountConfig ? this.BankAccountConfig.toJSON() : void 0;\n _data[\"ESLEFiling\"] = this.ESLEFiling;\n _data[\"ESLFilingExtension\"] = this.ESLFilingExtension;\n _data[\"ESLFrequencyType\"] = AddLocalTaxStatusChangeESLFrequencyType[this.ESLFrequencyType];\n _data[\"IntrastatEFiling\"] = this.IntrastatEFiling;\n _data[\"IntrastatFilingExtension\"] = this.IntrastatFilingExtension;\n _data[\"IntrastatFrequencyType\"] = AddLocalTaxStatusChangeIntrastatFrequencyType[this.IntrastatFrequencyType];\n _data[\"LocalVATCertificateReferenceId\"] = this.LocalVATCertificateReferenceId;\n _data[\"LocalVatNumber\"] = this.LocalVatNumber;\n _data[\"LocalVatRegistrationDate\"] = DateConverter.toUtcDateString(this.LocalVatRegistrationDate);\n _data[\"NotifyUser\"] = this.NotifyUser;\n _data[\"PaymentReference\"] = this.PaymentReference;\n _data[\"PrimaryVATEFiling\"] = this.PrimaryVATEFiling;\n _data[\"PrimaryVATFilingExtension\"] = this.PrimaryVATFilingExtension;\n _data[\"PrimaryVATFrequencyType\"] = AddLocalTaxStatusChangePrimaryVATFrequencyType[this.PrimaryVATFrequencyType];\n _data[\"SecondaryVATEFiling\"] = this.SecondaryVATEFiling;\n _data[\"SecondaryVATFilingExtension\"] = this.SecondaryVATFilingExtension;\n _data[\"SecondaryVATFrequencyType\"] = AddLocalTaxStatusChangeSecondaryVATFrequencyType[this.SecondaryVATFrequencyType];\n _data[\"TaxIdentifier\"] = this.TaxIdentifier;\n _data[\"VLSEFiling\"] = this.VLSEFiling;\n _data[\"VLSFilingExtension\"] = this.VLSFilingExtension;\n _data[\"VLSFrequencyType\"] = AddLocalTaxStatusChangeVLSFrequencyType[this.VLSFrequencyType];\n return _data;\n }\n}\nexport var AddLocalTaxStatusChangeESLFrequencyType = /* @__PURE__ */ ((AddLocalTaxStatusChangeESLFrequencyType2) => {\n AddLocalTaxStatusChangeESLFrequencyType2[\"Monthly\"] = \"Monthly\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n AddLocalTaxStatusChangeESLFrequencyType2[\"Yearly\"] = \"Yearly\";\n return AddLocalTaxStatusChangeESLFrequencyType2;\n})(AddLocalTaxStatusChangeESLFrequencyType || {});\nexport var AddLocalTaxStatusChangeIntrastatFrequencyType = /* @__PURE__ */ ((AddLocalTaxStatusChangeIntrastatFrequencyType2) => {\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"Monthly\"] = \"Monthly\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n AddLocalTaxStatusChangeIntrastatFrequencyType2[\"Yearly\"] = \"Yearly\";\n return AddLocalTaxStatusChangeIntrastatFrequencyType2;\n})(AddLocalTaxStatusChangeIntrastatFrequencyType || {});\nexport var AddLocalTaxStatusChangePrimaryVATFrequencyType = /* @__PURE__ */ ((AddLocalTaxStatusChangePrimaryVATFrequencyType2) => {\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"Monthly\"] = \"Monthly\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n AddLocalTaxStatusChangePrimaryVATFrequencyType2[\"Yearly\"] = \"Yearly\";\n return AddLocalTaxStatusChangePrimaryVATFrequencyType2;\n})(AddLocalTaxStatusChangePrimaryVATFrequencyType || {});\nexport var AddLocalTaxStatusChangeSecondaryVATFrequencyType = /* @__PURE__ */ ((AddLocalTaxStatusChangeSecondaryVATFrequencyType2) => {\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"Monthly\"] = \"Monthly\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n AddLocalTaxStatusChangeSecondaryVATFrequencyType2[\"Yearly\"] = \"Yearly\";\n return AddLocalTaxStatusChangeSecondaryVATFrequencyType2;\n})(AddLocalTaxStatusChangeSecondaryVATFrequencyType || {});\nexport var AddLocalTaxStatusChangeVLSFrequencyType = /* @__PURE__ */ ((AddLocalTaxStatusChangeVLSFrequencyType2) => {\n AddLocalTaxStatusChangeVLSFrequencyType2[\"Monthly\"] = \"Monthly\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n AddLocalTaxStatusChangeVLSFrequencyType2[\"Yearly\"] = \"Yearly\";\n return AddLocalTaxStatusChangeVLSFrequencyType2;\n})(AddLocalTaxStatusChangeVLSFrequencyType || {});\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class NewFrequencyConfig {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof NewFrequencyConfig\n */\n this.$type = \"V1.Company.VatRegistration.Frequency.NewFrequencyConfig\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.EFiling = _data[\"EFiling\"];\n this.FilingExtension = _data[\"FilingExtension\"];\n this.FrequencyType = NewFrequencyConfigFrequencyType[_data[\"FrequencyType\"]];\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"EFiling\"] = this.EFiling;\n _data[\"FilingExtension\"] = this.FilingExtension;\n _data[\"FrequencyType\"] = NewFrequencyConfigFrequencyType[this.FrequencyType];\n _data[\"ValidFrom\"] = DateConverter.toUtcDateString(this.ValidFrom);\n return _data;\n }\n}\nexport var NewFrequencyConfigFrequencyType = /* @__PURE__ */ ((NewFrequencyConfigFrequencyType2) => {\n NewFrequencyConfigFrequencyType2[\"Monthly\"] = \"Monthly\";\n NewFrequencyConfigFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n NewFrequencyConfigFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n NewFrequencyConfigFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n NewFrequencyConfigFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n NewFrequencyConfigFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n NewFrequencyConfigFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n NewFrequencyConfigFrequencyType2[\"Yearly\"] = \"Yearly\";\n return NewFrequencyConfigFrequencyType2;\n})(NewFrequencyConfigFrequencyType || {});\n","import { NewFrequencyConfig } from \"./NewFrequencyConfig\";\nexport class FrequenciesChangeRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FrequenciesChangeRequest\n */\n this.$type = \"V1.Company.VatRegistration.Frequency.FrequenciesChangeRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"FrequencyConfigsToBeRemoved\"] && _data[\"FrequencyConfigsToBeRemoved\"].constructor === Array) {\n this.FrequencyConfigsToBeRemoved = [];\n for (let item of _data[\"FrequencyConfigsToBeRemoved\"]) {\n this.FrequencyConfigsToBeRemoved.push(item);\n }\n }\n if (_data[\"NewFrequencyConfigs\"] && _data[\"NewFrequencyConfigs\"].constructor === Array) {\n this.NewFrequencyConfigs = [];\n for (let item of _data[\"NewFrequencyConfigs\"]) {\n const newFrequencyConfigs_ = new NewFrequencyConfig();\n this.NewFrequencyConfigs.push(newFrequencyConfigs_.init(item));\n }\n }\n this.ReturnType = FrequenciesChangeRequestReturnType[_data[\"ReturnType\"]];\n this.SendEmail = _data[\"SendEmail\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.FrequencyConfigsToBeRemoved && this.FrequencyConfigsToBeRemoved.constructor === Array) {\n _data[\"FrequencyConfigsToBeRemoved\"] = [];\n for (let item of this.FrequencyConfigsToBeRemoved) {\n _data[\"FrequencyConfigsToBeRemoved\"].push(item);\n }\n }\n if (this.NewFrequencyConfigs && this.NewFrequencyConfigs.constructor === Array) {\n _data[\"NewFrequencyConfigs\"] = [];\n for (let item of this.NewFrequencyConfigs) {\n _data[\"NewFrequencyConfigs\"].push(item.toJSON());\n }\n }\n _data[\"ReturnType\"] = FrequenciesChangeRequestReturnType[this.ReturnType];\n _data[\"SendEmail\"] = this.SendEmail;\n return _data;\n }\n}\nexport var FrequenciesChangeRequestReturnType = /* @__PURE__ */ ((FrequenciesChangeRequestReturnType2) => {\n FrequenciesChangeRequestReturnType2[\"PrimaryVAT\"] = \"PrimaryVAT\";\n FrequenciesChangeRequestReturnType2[\"SecondaryVAT\"] = \"SecondaryVAT\";\n FrequenciesChangeRequestReturnType2[\"ESL\"] = \"ESL\";\n FrequenciesChangeRequestReturnType2[\"VLS\"] = \"VLS\";\n FrequenciesChangeRequestReturnType2[\"IOSS\"] = \"IOSS\";\n FrequenciesChangeRequestReturnType2[\"Intrastat\"] = \"Intrastat\";\n FrequenciesChangeRequestReturnType2[\"OSS\"] = \"OSS\";\n return FrequenciesChangeRequestReturnType2;\n})(FrequenciesChangeRequestReturnType || {});\n","export class PossibleStatusChange {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PossibleStatusChange\n */\n this.$type = \"V1.Company.VatRegistration.PossibleStatusChange\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.From = PossibleStatusChangeFrom[_data[\"From\"]];\n this.To = PossibleStatusChangeTo[_data[\"To\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"From\"] = PossibleStatusChangeFrom[this.From];\n _data[\"To\"] = PossibleStatusChangeTo[this.To];\n return _data;\n }\n}\nexport var PossibleStatusChangeFrom = /* @__PURE__ */ ((PossibleStatusChangeFrom2) => {\n PossibleStatusChangeFrom2[\"Pending\"] = \"Pending\";\n PossibleStatusChangeFrom2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n PossibleStatusChangeFrom2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n PossibleStatusChangeFrom2[\"TranslationInProgress\"] = \"TranslationInProgress\";\n PossibleStatusChangeFrom2[\"SentToTA\"] = \"SentToTA\";\n PossibleStatusChangeFrom2[\"LocalTaxReceived\"] = \"LocalTaxReceived\";\n PossibleStatusChangeFrom2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n PossibleStatusChangeFrom2[\"Deregistered\"] = \"Deregistered\";\n PossibleStatusChangeFrom2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n PossibleStatusChangeFrom2[\"PoARevoked\"] = \"PoARevoked\";\n PossibleStatusChangeFrom2[\"RevokingPoA\"] = \"RevokingPoA\";\n return PossibleStatusChangeFrom2;\n})(PossibleStatusChangeFrom || {});\nexport var PossibleStatusChangeTo = /* @__PURE__ */ ((PossibleStatusChangeTo2) => {\n PossibleStatusChangeTo2[\"Pending\"] = \"Pending\";\n PossibleStatusChangeTo2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n PossibleStatusChangeTo2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n PossibleStatusChangeTo2[\"TranslationInProgress\"] = \"TranslationInProgress\";\n PossibleStatusChangeTo2[\"SentToTA\"] = \"SentToTA\";\n PossibleStatusChangeTo2[\"LocalTaxReceived\"] = \"LocalTaxReceived\";\n PossibleStatusChangeTo2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n PossibleStatusChangeTo2[\"Deregistered\"] = \"Deregistered\";\n PossibleStatusChangeTo2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n PossibleStatusChangeTo2[\"PoARevoked\"] = \"PoARevoked\";\n PossibleStatusChangeTo2[\"RevokingPoA\"] = \"RevokingPoA\";\n return PossibleStatusChangeTo2;\n})(PossibleStatusChangeTo || {});\n","export class VatRegField {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegField\n */\n this.$type = \"V1.Company.VatRegistration.Search.VatRegField\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Order = VatRegFieldOrder[_data[\"Order\"]];\n this.OrderByField = VatRegFieldOrderByField[_data[\"OrderByField\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Order\"] = VatRegFieldOrder[this.Order];\n _data[\"OrderByField\"] = VatRegFieldOrderByField[this.OrderByField];\n return _data;\n }\n}\nexport var VatRegFieldOrder = /* @__PURE__ */ ((VatRegFieldOrder2) => {\n VatRegFieldOrder2[\"Ascending\"] = \"Ascending\";\n VatRegFieldOrder2[\"Descending\"] = \"Descending\";\n return VatRegFieldOrder2;\n})(VatRegFieldOrder || {});\nexport var VatRegFieldOrderByField = /* @__PURE__ */ ((VatRegFieldOrderByField2) => {\n VatRegFieldOrderByField2[\"CompanyId\"] = \"CompanyId\";\n VatRegFieldOrderByField2[\"CompanyName\"] = \"CompanyName\";\n VatRegFieldOrderByField2[\"SignUpDate\"] = \"SignUpDate\";\n VatRegFieldOrderByField2[\"Country\"] = \"Country\";\n VatRegFieldOrderByField2[\"VatRegistrationStatus\"] = \"VatRegistrationStatus\";\n VatRegFieldOrderByField2[\"RegType\"] = \"RegType\";\n VatRegFieldOrderByField2[\"ClientSource\"] = \"ClientSource\";\n VatRegFieldOrderByField2[\"CompanyStatus\"] = \"CompanyStatus\";\n VatRegFieldOrderByField2[\"ResponsibleEmail\"] = \"ResponsibleEmail\";\n VatRegFieldOrderByField2[\"SubscriptionStatus\"] = \"SubscriptionStatus\";\n VatRegFieldOrderByField2[\"SubscriptionValidTo\"] = \"SubscriptionValidTo\";\n return VatRegFieldOrderByField2;\n})(VatRegFieldOrderByField || {});\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class VatRegFilter {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegFilter\n */\n this.$type = \"V1.Company.VatRegistration.Search.VatRegFilter\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientSource = VatRegFilterClientSource[_data[\"ClientSource\"]];\n this.CompanyId = _data[\"CompanyId\"];\n this.CompanyName = _data[\"CompanyName\"];\n this.CompanyStatus = VatRegFilterCompanyStatus[_data[\"CompanyStatus\"]];\n this.Country = _data[\"Country\"];\n this.IsAssignedToMe = _data[\"IsAssignedToMe\"];\n this.RegType = VatRegFilterRegType[_data[\"RegType\"]];\n this.ResponsibleEmailPart = _data[\"ResponsibleEmailPart\"];\n this.SignupDateFrom = DateConverter.from(_data[\"SignupDateFrom\"]);\n this.SignupDateTo = DateConverter.from(_data[\"SignupDateTo\"]);\n this.SubscriptionStatus = VatRegFilterSubscriptionStatus[_data[\"SubscriptionStatus\"]];\n this.SubscriptionValidToFrom = DateConverter.from(_data[\"SubscriptionValidToFrom\"]);\n this.SubscriptionValidToTo = DateConverter.from(_data[\"SubscriptionValidToTo\"]);\n if (_data[\"VatRegistrationStatuses\"] && _data[\"VatRegistrationStatuses\"].constructor === Array) {\n this.VatRegistrationStatuses = [];\n for (let item of _data[\"VatRegistrationStatuses\"]) {\n this.VatRegistrationStatuses.push(VatRegFilterVatRegistrationStatuses[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientSource\"] = VatRegFilterClientSource[this.ClientSource];\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"CompanyStatus\"] = VatRegFilterCompanyStatus[this.CompanyStatus];\n _data[\"Country\"] = this.Country;\n _data[\"IsAssignedToMe\"] = this.IsAssignedToMe;\n _data[\"RegType\"] = VatRegFilterRegType[this.RegType];\n _data[\"ResponsibleEmailPart\"] = this.ResponsibleEmailPart;\n _data[\"SignupDateFrom\"] = DateConverter.toUtcDateString(this.SignupDateFrom);\n _data[\"SignupDateTo\"] = DateConverter.toUtcDateString(this.SignupDateTo);\n _data[\"SubscriptionStatus\"] = VatRegFilterSubscriptionStatus[this.SubscriptionStatus];\n _data[\"SubscriptionValidToFrom\"] = DateConverter.toUtcDateString(this.SubscriptionValidToFrom);\n _data[\"SubscriptionValidToTo\"] = DateConverter.toUtcDateString(this.SubscriptionValidToTo);\n if (this.VatRegistrationStatuses && this.VatRegistrationStatuses.constructor === Array) {\n _data[\"VatRegistrationStatuses\"] = [];\n for (let item of this.VatRegistrationStatuses) {\n _data[\"VatRegistrationStatuses\"].push(VatRegFilterVatRegistrationStatuses[item]);\n }\n }\n return _data;\n }\n}\nexport var VatRegFilterClientSource = /* @__PURE__ */ ((VatRegFilterClientSource2) => {\n VatRegFilterClientSource2[\"Amazon\"] = \"Amazon\";\n VatRegFilterClientSource2[\"KPMG\"] = \"KPMG\";\n VatRegFilterClientSource2[\"FedEx\"] = \"FedEx\";\n VatRegFilterClientSource2[\"LaPoste\"] = \"LaPoste\";\n return VatRegFilterClientSource2;\n})(VatRegFilterClientSource || {});\nexport var VatRegFilterCompanyStatus = /* @__PURE__ */ ((VatRegFilterCompanyStatus2) => {\n VatRegFilterCompanyStatus2[\"Active\"] = \"Active\";\n VatRegFilterCompanyStatus2[\"Rejected\"] = \"Rejected\";\n VatRegFilterCompanyStatus2[\"Inactive\"] = \"Inactive\";\n return VatRegFilterCompanyStatus2;\n})(VatRegFilterCompanyStatus || {});\nexport var VatRegFilterRegType = /* @__PURE__ */ ((VatRegFilterRegType2) => {\n VatRegFilterRegType2[\"NewReg\"] = \"NewReg\";\n VatRegFilterRegType2[\"TakOver\"] = \"TakOver\";\n return VatRegFilterRegType2;\n})(VatRegFilterRegType || {});\nexport var VatRegFilterSubscriptionStatus = /* @__PURE__ */ ((VatRegFilterSubscriptionStatus2) => {\n VatRegFilterSubscriptionStatus2[\"Active\"] = \"Active\";\n VatRegFilterSubscriptionStatus2[\"Cancelled\"] = \"Cancelled\";\n VatRegFilterSubscriptionStatus2[\"Expired\"] = \"Expired\";\n VatRegFilterSubscriptionStatus2[\"Pending\"] = \"Pending\";\n return VatRegFilterSubscriptionStatus2;\n})(VatRegFilterSubscriptionStatus || {});\nexport var VatRegFilterVatRegistrationStatuses = /* @__PURE__ */ ((VatRegFilterVatRegistrationStatuses2) => {\n VatRegFilterVatRegistrationStatuses2[\"Pending\"] = \"Pending\";\n VatRegFilterVatRegistrationStatuses2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n VatRegFilterVatRegistrationStatuses2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n VatRegFilterVatRegistrationStatuses2[\"TranslationInProgress\"] = \"TranslationInProgress\";\n VatRegFilterVatRegistrationStatuses2[\"SentToTA\"] = \"SentToTA\";\n VatRegFilterVatRegistrationStatuses2[\"LocalTaxReceived\"] = \"LocalTaxReceived\";\n VatRegFilterVatRegistrationStatuses2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n VatRegFilterVatRegistrationStatuses2[\"Deregistered\"] = \"Deregistered\";\n VatRegFilterVatRegistrationStatuses2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n VatRegFilterVatRegistrationStatuses2[\"PoARevoked\"] = \"PoARevoked\";\n VatRegFilterVatRegistrationStatuses2[\"RevokingPoA\"] = \"RevokingPoA\";\n return VatRegFilterVatRegistrationStatuses2;\n})(VatRegFilterVatRegistrationStatuses || {});\n","import { VatRegField } from \"./VatRegField\";\nexport class VatRegPager {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegPager\n */\n this.$type = \"V1.Company.VatRegistration.Search.VatRegPager\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"OrderBy\"] && _data[\"OrderBy\"].constructor === Array) {\n this.OrderBy = [];\n for (let item of _data[\"OrderBy\"]) {\n const orderBy_ = new VatRegField();\n this.OrderBy.push(orderBy_.init(item));\n }\n }\n this.Skip = _data[\"Skip\"];\n this.Top = _data[\"Top\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.OrderBy && this.OrderBy.constructor === Array) {\n _data[\"OrderBy\"] = [];\n for (let item of this.OrderBy) {\n _data[\"OrderBy\"].push(item.toJSON());\n }\n }\n _data[\"Skip\"] = this.Skip;\n _data[\"Top\"] = this.Top;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nimport { Country } from \"./../../../Common/MasterData/Country\";\nexport class VatRegSearchContent {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegSearchContent\n */\n this.$type = \"V1.Company.VatRegistration.Search.VatRegSearchContent\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientSource = VatRegSearchContentClientSource[_data[\"ClientSource\"]];\n this.CompanyId = _data[\"CompanyId\"];\n this.CompanyName = _data[\"CompanyName\"];\n this.CompanyStatus = VatRegSearchContentCompanyStatus[_data[\"CompanyStatus\"]];\n if (_data[\"Country\"]) {\n const country_ = new Country();\n this.Country = country_.init(_data[\"Country\"]);\n }\n this.EstablishmentCountryCode = _data[\"EstablishmentCountryCode\"];\n this.RegType = VatRegSearchContentRegType[_data[\"RegType\"]];\n this.ResponsibleEmail = _data[\"ResponsibleEmail\"];\n this.SignUpDate = DateConverter.from(_data[\"SignUpDate\"]);\n this.SubscriptionStatus = VatRegSearchContentSubscriptionStatus[_data[\"SubscriptionStatus\"]];\n this.SubscriptionValidTo = DateConverter.from(_data[\"SubscriptionValidTo\"]);\n this.VatRegId = _data[\"VatRegId\"];\n this.VatRegistrationStatus = VatRegSearchContentVatRegistrationStatus[_data[\"VatRegistrationStatus\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientSource\"] = VatRegSearchContentClientSource[this.ClientSource];\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"CompanyStatus\"] = VatRegSearchContentCompanyStatus[this.CompanyStatus];\n _data[\"Country\"] = this.Country ? this.Country.toJSON() : void 0;\n _data[\"EstablishmentCountryCode\"] = this.EstablishmentCountryCode;\n _data[\"RegType\"] = VatRegSearchContentRegType[this.RegType];\n _data[\"ResponsibleEmail\"] = this.ResponsibleEmail;\n _data[\"SignUpDate\"] = DateConverter.toIsoUtcString(this.SignUpDate);\n _data[\"SubscriptionStatus\"] = VatRegSearchContentSubscriptionStatus[this.SubscriptionStatus];\n _data[\"SubscriptionValidTo\"] = DateConverter.toUtcDateString(this.SubscriptionValidTo);\n _data[\"VatRegId\"] = this.VatRegId;\n _data[\"VatRegistrationStatus\"] = VatRegSearchContentVatRegistrationStatus[this.VatRegistrationStatus];\n return _data;\n }\n}\nexport var VatRegSearchContentClientSource = /* @__PURE__ */ ((VatRegSearchContentClientSource2) => {\n VatRegSearchContentClientSource2[\"Amazon\"] = \"Amazon\";\n VatRegSearchContentClientSource2[\"KPMG\"] = \"KPMG\";\n VatRegSearchContentClientSource2[\"FedEx\"] = \"FedEx\";\n VatRegSearchContentClientSource2[\"LaPoste\"] = \"LaPoste\";\n return VatRegSearchContentClientSource2;\n})(VatRegSearchContentClientSource || {});\nexport var VatRegSearchContentCompanyStatus = /* @__PURE__ */ ((VatRegSearchContentCompanyStatus2) => {\n VatRegSearchContentCompanyStatus2[\"Active\"] = \"Active\";\n VatRegSearchContentCompanyStatus2[\"Rejected\"] = \"Rejected\";\n VatRegSearchContentCompanyStatus2[\"Inactive\"] = \"Inactive\";\n return VatRegSearchContentCompanyStatus2;\n})(VatRegSearchContentCompanyStatus || {});\nexport var VatRegSearchContentRegType = /* @__PURE__ */ ((VatRegSearchContentRegType2) => {\n VatRegSearchContentRegType2[\"NewReg\"] = \"NewReg\";\n VatRegSearchContentRegType2[\"TakOver\"] = \"TakOver\";\n return VatRegSearchContentRegType2;\n})(VatRegSearchContentRegType || {});\nexport var VatRegSearchContentSubscriptionStatus = /* @__PURE__ */ ((VatRegSearchContentSubscriptionStatus2) => {\n VatRegSearchContentSubscriptionStatus2[\"Active\"] = \"Active\";\n VatRegSearchContentSubscriptionStatus2[\"Cancelled\"] = \"Cancelled\";\n VatRegSearchContentSubscriptionStatus2[\"Expired\"] = \"Expired\";\n VatRegSearchContentSubscriptionStatus2[\"Pending\"] = \"Pending\";\n return VatRegSearchContentSubscriptionStatus2;\n})(VatRegSearchContentSubscriptionStatus || {});\nexport var VatRegSearchContentVatRegistrationStatus = /* @__PURE__ */ ((VatRegSearchContentVatRegistrationStatus2) => {\n VatRegSearchContentVatRegistrationStatus2[\"Pending\"] = \"Pending\";\n VatRegSearchContentVatRegistrationStatus2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n VatRegSearchContentVatRegistrationStatus2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n VatRegSearchContentVatRegistrationStatus2[\"TranslationInProgress\"] = \"TranslationInProgress\";\n VatRegSearchContentVatRegistrationStatus2[\"SentToTA\"] = \"SentToTA\";\n VatRegSearchContentVatRegistrationStatus2[\"LocalTaxReceived\"] = \"LocalTaxReceived\";\n VatRegSearchContentVatRegistrationStatus2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n VatRegSearchContentVatRegistrationStatus2[\"Deregistered\"] = \"Deregistered\";\n VatRegSearchContentVatRegistrationStatus2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n VatRegSearchContentVatRegistrationStatus2[\"PoARevoked\"] = \"PoARevoked\";\n VatRegSearchContentVatRegistrationStatus2[\"RevokingPoA\"] = \"RevokingPoA\";\n return VatRegSearchContentVatRegistrationStatus2;\n})(VatRegSearchContentVatRegistrationStatus || {});\n","import { VatRegFilter } from \"./VatRegFilter\";\nimport { VatRegPager } from \"./VatRegPager\";\nexport class VatRegSearchRequest {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegSearchRequest\n */\n this.$type = \"V1.Company.VatRegistration.Search.VatRegSearchRequest\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Filter\"]) {\n const filter_ = new VatRegFilter();\n this.Filter = filter_.init(_data[\"Filter\"]);\n }\n if (_data[\"Pager\"]) {\n const pager_ = new VatRegPager();\n this.Pager = pager_.init(_data[\"Pager\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Filter\"] = this.Filter ? this.Filter.toJSON() : void 0;\n _data[\"Pager\"] = this.Pager ? this.Pager.toJSON() : void 0;\n return _data;\n }\n}\n","import { VatRegSearchContent } from \"./VatRegSearchContent\";\nexport class VatRegSearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegSearchResult\n */\n this.$type = \"V1.Company.VatRegistration.Search.VatRegSearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"VatRegSearchContents\"] && _data[\"VatRegSearchContents\"].constructor === Array) {\n this.VatRegSearchContents = [];\n for (let item of _data[\"VatRegSearchContents\"]) {\n const vatRegSearchContents_ = new VatRegSearchContent();\n this.VatRegSearchContents.push(vatRegSearchContents_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.VatRegSearchContents && this.VatRegSearchContents.constructor === Array) {\n _data[\"VatRegSearchContents\"] = [];\n for (let item of this.VatRegSearchContents) {\n _data[\"VatRegSearchContents\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { VatRegistrationStatusChange } from \"./VatRegistrationStatusChange\";\nimport { AddCertificateStatusChange } from \"./AddCertificateStatusChange\";\nimport { AddLocalTaxStatusChange } from \"./AddLocalTaxStatusChange\";\nimport { BackToAddCertificateStatusChange } from \"./BackToAddCertificateStatusChange\";\nimport { BackToAddLocalTaxStatusChange } from \"./BackToAddLocalTaxStatusChange\";\nimport { BackToClientStatusChange } from \"./BackToClientStatusChange\";\nimport { BackToGenerateDocsStatusChange } from \"./BackToGenerateDocsStatusChange\";\nimport { BackToTAStatusChange } from \"./BackToTAStatusChange\";\nimport { BackToTranslationStatusChange } from \"./BackToTranslationStatusChange\";\nimport { DeregisteredStatusChange } from \"./DeregisteredStatusChange\";\nimport { DeregistrationInProgressStatusChange } from \"./DeregistrationInProgressStatusChange\";\nimport { GenerateDocsStatusChange } from \"./GenerateDocsStatusChange\";\nimport { PoaRevokedStatusChange } from \"./PoaRevokedStatusChange\";\nimport { ReopenStatusChange } from \"./ReopenStatusChange\";\nimport { RevokeTranslateStatusChange } from \"./RevokeTranslateStatusChange\";\nimport { RevokingPoAStatusChange } from \"./RevokingPoAStatusChange\";\nimport { ToTAStatusChange } from \"./ToTAStatusChange\";\nimport { TranslateStatusChange } from \"./TranslateStatusChange\";\nimport { UploadDocsStatusChange } from \"./UploadDocsStatusChange\";\nexport class VatRegistrationStatusChangeFactory {\n static create($type) {\n if ($type === \"V1.Company.VatRegistration.VatRegistrationStatusChange\") {\n const result = new VatRegistrationStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.AddCertificateStatusChange\") {\n const result = new AddCertificateStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.AddLocalTaxStatusChange\") {\n const result = new AddLocalTaxStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.BackToAddCertificateStatusChange\") {\n const result = new BackToAddCertificateStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.BackToAddLocalTaxStatusChange\") {\n const result = new BackToAddLocalTaxStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.BackToClientStatusChange\") {\n const result = new BackToClientStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.BackToGenerateDocsStatusChange\") {\n const result = new BackToGenerateDocsStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.BackToTAStatusChange\") {\n const result = new BackToTAStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.BackToTranslationStatusChange\") {\n const result = new BackToTranslationStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.DeregisteredStatusChange\") {\n const result = new DeregisteredStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.DeregistrationInProgressStatusChange\") {\n const result = new DeregistrationInProgressStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.GenerateDocsStatusChange\") {\n const result = new GenerateDocsStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.PoaRevokedStatusChange\") {\n const result = new PoaRevokedStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.ReopenStatusChange\") {\n const result = new ReopenStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.RevokeTranslateStatusChange\") {\n const result = new RevokeTranslateStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.RevokingPoAStatusChange\") {\n const result = new RevokingPoAStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.ToTAStatusChange\") {\n const result = new ToTAStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.TranslateStatusChange\") {\n const result = new TranslateStatusChange();\n return result;\n }\n if ($type === \"V1.Company.VatRegistration.UploadDocsStatusChange\") {\n const result = new UploadDocsStatusChange();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { BankAccountChangeRequest, NewManualBankAccount } from \"AdminServices/APIs/self/models/V1/Company/VatRegistration\";\nimport i18next from \"i18next\";\nexport const mapBankAccountConfig = (bankAccountConfig) => {\n return new BankAccountChangeRequest({\n BankAccountRef: bankAccountConfig.BankAccountRef,\n BankAccountUrl: bankAccountConfig.BankAccountUrl,\n ManualBankAccount: bankAccountConfig.BankAccount ? new NewManualBankAccount({\n BankAccountId: bankAccountConfig.BankAccount.BankAccountId,\n Iban: bankAccountConfig.BankAccount.Iban\n }) : void 0\n });\n};\nexport const mapSubmissionConfig = (options) => {\n const vm = {\n Frequencies: options.map((f) => {\n const fvm = {\n CountryCode: f.CountryCode,\n EFiling: f.EFiling,\n FilingExtension: f.FilingExtension,\n FrequencyType: f.FrequencyType,\n ReturnType: f.ReturnType\n };\n return fvm;\n })\n };\n return vm;\n};\nexport const ClientAcceptanceLabels = [\n { label: \"Pending\", value: \"Pending\" },\n { label: \"Completed\", value: \"Completed\" },\n { label: \"MFE\", value: \"MFE\" },\n { label: \"Failed\", value: \"Failed\" }\n];\nexport const getClientAcceptanceStatusLabel = (status) => {\n const item = ClientAcceptanceLabels.find((s) => s.value === status);\n return item && item.label ? item.label : status;\n};\nexport const COMPLIANCE_SUBSCRIPTION_STATUS_LABELS = {\n Active: i18next.t(\"Active\"),\n Cancelled: i18next.t(\"Cancelled\"),\n Pending: i18next.t(\"Pending\")\n};\nexport const SUBMISSION_FREQUENCY_TYPE_LABELS = {\n NotAvailable: i18next.t(\"Not Available\"),\n Monthly: i18next.t(\"Monthly\"),\n Quarterly: i18next.t(\"Quarterly\"),\n QuarterlyShifted1: i18next.t(\"QuarterlyShifted1\"),\n QuarterlyShifted2: i18next.t(\"QuarterlyShifted2\"),\n BiMonthly: i18next.t(\"BiMonthly\"),\n FourMonthly: i18next.t(\"FourMonthly\"),\n SixMonthly: i18next.t(\"SixMonthly\"),\n Yearly: i18next.t(\"Yearly\")\n};\n","export class Name {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Name\n */\n this.$type = \"V1.Common.Person.Name\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.FirstName = _data[\"FirstName\"];\n this.LastName = _data[\"LastName\"];\n this.Title = NameTitle[_data[\"Title\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"FirstName\"] = this.FirstName;\n _data[\"LastName\"] = this.LastName;\n _data[\"Title\"] = NameTitle[this.Title];\n return _data;\n }\n}\nexport var NameTitle = /* @__PURE__ */ ((NameTitle2) => {\n NameTitle2[\"Mr\"] = \"Mr\";\n NameTitle2[\"Mrs\"] = \"Mrs\";\n NameTitle2[\"Ms\"] = \"Ms\";\n return NameTitle2;\n})(NameTitle || {});\n","export class Address {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Address\n */\n this.$type = \"V1.Common.Address\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.City = _data[\"City\"];\n this.Province = _data[\"Province\"];\n this.Street = _data[\"Street\"];\n this.StreetNumber = _data[\"StreetNumber\"];\n this.Zip = _data[\"Zip\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"City\"] = this.City;\n _data[\"Province\"] = this.Province;\n _data[\"Street\"] = this.Street;\n _data[\"StreetNumber\"] = this.StreetNumber;\n _data[\"Zip\"] = this.Zip;\n return _data;\n }\n}\n","import { Address } from \"./../Common/Address\";\nexport class BusinessDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessDetail\n */\n this.$type = \"V1.CompanyInfo.BusinessDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.ContactPosition = _data[\"ContactPosition\"];\n this.EstablishmentCountryCode = _data[\"EstablishmentCountryCode\"];\n this.IsEstablishmentCountryInEu = _data[\"IsEstablishmentCountryInEu\"];\n this.Phone = _data[\"Phone\"];\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"ContactPosition\"] = this.ContactPosition;\n _data[\"EstablishmentCountryCode\"] = this.EstablishmentCountryCode;\n _data[\"IsEstablishmentCountryInEu\"] = this.IsEstablishmentCountryInEu;\n _data[\"Phone\"] = this.Phone;\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","import { Name } from \"./../Common/Person/Name\";\nimport { BusinessDetail } from \"./BusinessDetail\";\nexport class CompanyDetail extends BusinessDetail {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyDetail\n */\n this.$type = \"V1.CompanyInfo.CompanyDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CompanyName = _data[\"CompanyName\"];\n if (_data[\"ContactName\"]) {\n const contactName_ = new Name();\n this.ContactName = contactName_.init(_data[\"ContactName\"]);\n }\n this.LegalStatus = CompanyDetailLegalStatus[_data[\"LegalStatus\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"ContactName\"] = this.ContactName ? this.ContactName.toJSON() : void 0;\n _data[\"LegalStatus\"] = CompanyDetailLegalStatus[this.LegalStatus];\n return _data;\n }\n}\nexport var CompanyDetailLegalStatus = /* @__PURE__ */ ((CompanyDetailLegalStatus2) => {\n CompanyDetailLegalStatus2[\"Company\"] = \"Company\";\n CompanyDetailLegalStatus2[\"Partnership\"] = \"Partnership\";\n return CompanyDetailLegalStatus2;\n})(CompanyDetailLegalStatus || {});\n","import { Name } from \"./../Common/Person/Name\";\nimport { BusinessDetail } from \"./BusinessDetail\";\nexport class IndividualDetail extends BusinessDetail {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IndividualDetail\n */\n this.$type = \"V1.CompanyInfo.IndividualDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Name\"]) {\n const name_ = new Name();\n this.Name = name_.init(_data[\"Name\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Name\"] = this.Name ? this.Name.toJSON() : void 0;\n return _data;\n }\n}\n","import { BusinessDetail } from \"./BusinessDetail\";\nimport { CompanyDetail } from \"./CompanyDetail\";\nimport { IndividualDetail } from \"./IndividualDetail\";\nexport class BusinessDetailFactory {\n static create($type) {\n if ($type === \"V1.CompanyInfo.BusinessDetail\") {\n const result = new BusinessDetail();\n return result;\n }\n if ($type === \"V1.CompanyInfo.CompanyDetail\") {\n const result = new CompanyDetail();\n return result;\n }\n if ($type === \"V1.CompanyInfo.IndividualDetail\") {\n const result = new IndividualDetail();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","export class BankAccount {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankAccount\n */\n this.$type = \"V1.CompanyInfo.Detail.BankAccount\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.BankAccountId = _data[\"BankAccountId\"];\n this.BankAddress = _data[\"BankAddress\"];\n this.BankName = _data[\"BankName\"];\n this.BeneficiaryAddress = _data[\"BeneficiaryAddress\"];\n this.BeneficiaryName = _data[\"BeneficiaryName\"];\n this.Iban = _data[\"Iban\"];\n this.Swift = _data[\"Swift\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BankAccountId\"] = this.BankAccountId;\n _data[\"BankAddress\"] = this.BankAddress;\n _data[\"BankName\"] = this.BankName;\n _data[\"BeneficiaryAddress\"] = this.BeneficiaryAddress;\n _data[\"BeneficiaryName\"] = this.BeneficiaryName;\n _data[\"Iban\"] = this.Iban;\n _data[\"Swift\"] = this.Swift;\n return _data;\n }\n}\n","export class Document {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Document\n */\n this.$type = \"V1.CompanyInfo.Detail.Document\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Category = DocumentCategory[_data[\"Category\"]];\n this.DocumentReference = _data[\"DocumentReference\"];\n this.ErrorCode = _data[\"ErrorCode\"];\n this.SignedDocumentReference = _data[\"SignedDocumentReference\"];\n this.Status = DocumentStatus[_data[\"Status\"]];\n this.TemplateId = _data[\"TemplateId\"];\n this.TemplateName = _data[\"TemplateName\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Category\"] = DocumentCategory[this.Category];\n _data[\"DocumentReference\"] = this.DocumentReference;\n _data[\"ErrorCode\"] = this.ErrorCode;\n _data[\"SignedDocumentReference\"] = this.SignedDocumentReference;\n _data[\"Status\"] = DocumentStatus[this.Status];\n _data[\"TemplateId\"] = this.TemplateId;\n _data[\"TemplateName\"] = this.TemplateName;\n return _data;\n }\n}\nexport var DocumentCategory = /* @__PURE__ */ ((DocumentCategory2) => {\n DocumentCategory2[\"RequiredElectronicallyOnly\"] = \"RequiredElectronicallyOnly\";\n DocumentCategory2[\"RequiredByPost\"] = \"RequiredByPost\";\n DocumentCategory2[\"ForInformationOnly\"] = \"ForInformationOnly\";\n return DocumentCategory2;\n})(DocumentCategory || {});\nexport var DocumentStatus = /* @__PURE__ */ ((DocumentStatus2) => {\n DocumentStatus2[\"None\"] = \"None\";\n DocumentStatus2[\"InProgress\"] = \"InProgress\";\n DocumentStatus2[\"Generated\"] = \"Generated\";\n DocumentStatus2[\"Error\"] = \"Error\";\n return DocumentStatus2;\n})(DocumentStatus || {});\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class EoriRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof EoriRegistration\n */\n this.$type = \"V1.CompanyInfo.Detail.EoriRegistrations.EoriRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.RegistrationType = EoriRegistrationRegistrationType[_data[\"RegistrationType\"]];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"RegistrationType\"] = EoriRegistrationRegistrationType[this.RegistrationType];\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n return _data;\n }\n}\nexport var EoriRegistrationRegistrationType = /* @__PURE__ */ ((EoriRegistrationRegistrationType2) => {\n EoriRegistrationRegistrationType2[\"UK\"] = \"UK\";\n EoriRegistrationRegistrationType2[\"EU\"] = \"EU\";\n return EoriRegistrationRegistrationType2;\n})(EoriRegistrationRegistrationType || {});\n","export class Document {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Document\n */\n this.$type = \"V1.CompanyInfo.Detail.IossRegistration.Document\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Category = DocumentCategory[_data[\"Category\"]];\n this.DocumentReference = _data[\"DocumentReference\"];\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.SignedDocumentReference = _data[\"SignedDocumentReference\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Category\"] = DocumentCategory[this.Category];\n _data[\"DocumentReference\"] = this.DocumentReference;\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"SignedDocumentReference\"] = this.SignedDocumentReference;\n return _data;\n }\n}\nexport var DocumentCategory = /* @__PURE__ */ ((DocumentCategory2) => {\n DocumentCategory2[\"RequiredElectronicallyOnly\"] = \"RequiredElectronicallyOnly\";\n DocumentCategory2[\"ForInformationOnly\"] = \"ForInformationOnly\";\n return DocumentCategory2;\n})(DocumentCategory || {});\n","export class Answer {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Answer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.QuestionId = _data[\"QuestionId\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"QuestionId\"] = this.QuestionId;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class FileReferenceAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FileReferenceAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.FileReferenceAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.OriginalName = _data[\"OriginalName\"];\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"OriginalName\"] = this.OriginalName;\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class AccountingLocationAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AccountingLocationAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.AccountingLocationAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(AccountingLocationAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(AccountingLocationAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var AccountingLocationAnswerValue = /* @__PURE__ */ ((AccountingLocationAnswerValue2) => {\n AccountingLocationAnswerValue2[\"AccountingOffice\"] = \"AccountingOffice\";\n AccountingLocationAnswerValue2[\"Own\"] = \"Own\";\n return AccountingLocationAnswerValue2;\n})(AccountingLocationAnswerValue || {});\n","import { Address } from \"./../../../Common/Address\";\nimport { Answer } from \"./../Answer\";\nexport class AddressAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AddressAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.AddressAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Address } from \"./../../../Common/Address\";\nimport { Answer } from \"./../Answer\";\nexport class BankInformationAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BankInformationAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BankInformationAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.Iban = _data[\"Iban\"];\n this.Name = _data[\"Name\"];\n this.Owner = _data[\"Owner\"];\n this.Swift = _data[\"Swift\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"Iban\"] = this.Iban;\n _data[\"Name\"] = this.Name;\n _data[\"Owner\"] = this.Owner;\n _data[\"Swift\"] = this.Swift;\n return _data;\n }\n}\n","import { Address } from \"./../../../Common/Address\";\nimport { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class BeneficialOwner {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BeneficialOwner\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.BeneficialOwner.BeneficialOwner\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.BeneficialOwnerType = BeneficialOwnerBeneficialOwnerType[_data[\"BeneficialOwnerType\"]];\n this.BirthName = _data[\"BirthName\"];\n this.CityOfBirth = _data[\"CityOfBirth\"];\n this.CountryOfBirth = _data[\"CountryOfBirth\"];\n this.DataManagement = _data[\"DataManagement\"];\n this.DateOfBirth = DateConverter.from(_data[\"DateOfBirth\"]);\n this.ExtentOfOwnership = _data[\"ExtentOfOwnership\"];\n this.FirstName = _data[\"FirstName\"];\n this.IsAssociateToPoliticallyExposed = _data[\"IsAssociateToPoliticallyExposed\"];\n this.IsPoliticallyExposed = _data[\"IsPoliticallyExposed\"];\n this.IsRelativeToPoliticallyExposed = _data[\"IsRelativeToPoliticallyExposed\"];\n this.LastName = _data[\"LastName\"];\n this.Nationality = _data[\"Nationality\"];\n this.TypeOfOwnership = BeneficialOwnerTypeOfOwnership[_data[\"TypeOfOwnership\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"BeneficialOwnerType\"] = BeneficialOwnerBeneficialOwnerType[this.BeneficialOwnerType];\n _data[\"BirthName\"] = this.BirthName;\n _data[\"CityOfBirth\"] = this.CityOfBirth;\n _data[\"CountryOfBirth\"] = this.CountryOfBirth;\n _data[\"DataManagement\"] = this.DataManagement;\n _data[\"DateOfBirth\"] = DateConverter.toUtcDateString(this.DateOfBirth);\n _data[\"ExtentOfOwnership\"] = this.ExtentOfOwnership;\n _data[\"FirstName\"] = this.FirstName;\n _data[\"IsAssociateToPoliticallyExposed\"] = this.IsAssociateToPoliticallyExposed;\n _data[\"IsPoliticallyExposed\"] = this.IsPoliticallyExposed;\n _data[\"IsRelativeToPoliticallyExposed\"] = this.IsRelativeToPoliticallyExposed;\n _data[\"LastName\"] = this.LastName;\n _data[\"Nationality\"] = this.Nationality;\n _data[\"TypeOfOwnership\"] = BeneficialOwnerTypeOfOwnership[this.TypeOfOwnership];\n return _data;\n }\n}\nexport var BeneficialOwnerBeneficialOwnerType = /* @__PURE__ */ ((BeneficialOwnerBeneficialOwnerType2) => {\n BeneficialOwnerBeneficialOwnerType2[\"NaturalPerson\"] = \"NaturalPerson\";\n BeneficialOwnerBeneficialOwnerType2[\"ExecutiveOfficer\"] = \"ExecutiveOfficer\";\n return BeneficialOwnerBeneficialOwnerType2;\n})(BeneficialOwnerBeneficialOwnerType || {});\nexport var BeneficialOwnerTypeOfOwnership = /* @__PURE__ */ ((BeneficialOwnerTypeOfOwnership2) => {\n BeneficialOwnerTypeOfOwnership2[\"VotingRights\"] = \"VotingRights\";\n BeneficialOwnerTypeOfOwnership2[\"DecisiveInfluence\"] = \"DecisiveInfluence\";\n return BeneficialOwnerTypeOfOwnership2;\n})(BeneficialOwnerTypeOfOwnership || {});\n","import { BeneficialOwner } from \"./../BeneficialOwner/BeneficialOwner\";\nimport { Answer } from \"./../Answer\";\nexport class BeneficialOwnersAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BeneficialOwnersAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BeneficialOwnersAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new BeneficialOwner();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class BoolAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BoolAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BoolAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class BusinessOwner {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessOwner\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.BusinessOwner.BusinessOwner\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.DateOfBirth = DateConverter.from(_data[\"DateOfBirth\"]);\n this.DateOfIncorporation = DateConverter.from(_data[\"DateOfIncorporation\"]);\n this.DocumentNumber = _data[\"DocumentNumber\"];\n this.DocumentType = BusinessOwnerDocumentType[_data[\"DocumentType\"]];\n this.FirstName = _data[\"FirstName\"];\n this.FullName = _data[\"FullName\"];\n this.LastName = _data[\"LastName\"];\n this.RegistrationNumber = _data[\"RegistrationNumber\"];\n this.ShareholderType = BusinessOwnerShareholderType[_data[\"ShareholderType\"]];\n this.SharePercentage = _data[\"SharePercentage\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"DateOfBirth\"] = DateConverter.toUtcDateString(this.DateOfBirth);\n _data[\"DateOfIncorporation\"] = DateConverter.toUtcDateString(this.DateOfIncorporation);\n _data[\"DocumentNumber\"] = this.DocumentNumber;\n _data[\"DocumentType\"] = BusinessOwnerDocumentType[this.DocumentType];\n _data[\"FirstName\"] = this.FirstName;\n _data[\"FullName\"] = this.FullName;\n _data[\"LastName\"] = this.LastName;\n _data[\"RegistrationNumber\"] = this.RegistrationNumber;\n _data[\"ShareholderType\"] = BusinessOwnerShareholderType[this.ShareholderType];\n _data[\"SharePercentage\"] = this.SharePercentage;\n return _data;\n }\n}\nexport var BusinessOwnerDocumentType = /* @__PURE__ */ ((BusinessOwnerDocumentType2) => {\n BusinessOwnerDocumentType2[\"Passport\"] = \"Passport\";\n BusinessOwnerDocumentType2[\"PersonalId\"] = \"PersonalId\";\n BusinessOwnerDocumentType2[\"DrivingLicense\"] = \"DrivingLicense\";\n return BusinessOwnerDocumentType2;\n})(BusinessOwnerDocumentType || {});\nexport var BusinessOwnerShareholderType = /* @__PURE__ */ ((BusinessOwnerShareholderType2) => {\n BusinessOwnerShareholderType2[\"Company\"] = \"Company\";\n BusinessOwnerShareholderType2[\"NaturalPerson\"] = \"NaturalPerson\";\n return BusinessOwnerShareholderType2;\n})(BusinessOwnerShareholderType || {});\n","import { BusinessOwner } from \"./../BusinessOwner/BusinessOwner\";\nimport { Answer } from \"./../Answer\";\nexport class BusinessOwnersAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof BusinessOwnersAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.BusinessOwnersAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new BusinessOwner();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class ClientBaseAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ClientBaseAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.ClientBaseAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(ClientBaseAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(ClientBaseAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var ClientBaseAnswerValue = /* @__PURE__ */ ((ClientBaseAnswerValue2) => {\n ClientBaseAnswerValue2[\"B2C\"] = \"B2C\";\n ClientBaseAnswerValue2[\"B2B\"] = \"B2B\";\n ClientBaseAnswerValue2[\"Both\"] = \"Both\";\n return ClientBaseAnswerValue2;\n})(ClientBaseAnswerValue || {});\n","import { Answer } from \"./../Answer\";\nexport class CountryAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CountryAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.CountryAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nimport { Answer } from \"./../Answer\";\nexport class DateAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DateAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.DateAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Value = DateConverter.from(_data[\"Value\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = DateConverter.toUtcDateString(this.Value);\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class DatedVatIdentificationNumber {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DatedVatIdentificationNumber\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.DatedVatIdentificationNumber\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.DeregistrationDate = DateConverter.from(_data[\"DeregistrationDate\"]);\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"DeregistrationDate\"] = DateConverter.toUtcDateString(this.DeregistrationDate);\n _data[\"ValidFrom\"] = DateConverter.toUtcDateString(this.ValidFrom);\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","import { DatedVatIdentificationNumber } from \"./DatedVatIdentificationNumber\";\nimport { Answer } from \"./../Answer\";\nexport class ExistingVatNumbersAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ExistingVatNumbersAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.ExistingVatNumbersAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new DatedVatIdentificationNumber();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Address } from \"./../../../Common/Address\";\nexport class FixedEstablishment {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FixedEstablishment\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.FixedEstablishment.FixedEstablishment\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.TradingName = _data[\"TradingName\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"TradingName\"] = this.TradingName;\n return _data;\n }\n}\n","import { FixedEstablishment } from \"./../FixedEstablishment/FixedEstablishment\";\nimport { Answer } from \"./../Answer\";\nexport class FixedEstablishmentsAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FixedEstablishmentsAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.FixedEstablishmentsAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new FixedEstablishment();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class LegalEntityFormAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalEntityFormAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityFormAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(LegalEntityFormAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(LegalEntityFormAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var LegalEntityFormAnswerValue = /* @__PURE__ */ ((LegalEntityFormAnswerValue2) => {\n LegalEntityFormAnswerValue2[\"LegalEntity\"] = \"LegalEntity\";\n LegalEntityFormAnswerValue2[\"OrganizationalUnitWithoutLegalForm\"] = \"OrganizationalUnitWithoutLegalForm\";\n return LegalEntityFormAnswerValue2;\n})(LegalEntityFormAnswerValue || {});\n","import { Answer } from \"./../Answer\";\nexport class LegalEntityTypeAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalEntityTypeAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityTypeAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(LegalEntityTypeAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(LegalEntityTypeAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var LegalEntityTypeAnswerValue = /* @__PURE__ */ ((LegalEntityTypeAnswerValue2) => {\n LegalEntityTypeAnswerValue2[\"Ltd\"] = \"Ltd\";\n LegalEntityTypeAnswerValue2[\"Sas\"] = \"Sas\";\n LegalEntityTypeAnswerValue2[\"Llp\"] = \"Llp\";\n LegalEntityTypeAnswerValue2[\"Kg\"] = \"Kg\";\n LegalEntityTypeAnswerValue2[\"Ohg\"] = \"Ohg\";\n return LegalEntityTypeAnswerValue2;\n})(LegalEntityTypeAnswerValue || {});\n","import { Address } from \"./../../../Common/Address\";\nimport { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class LegalRepresentative {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalRepresentative\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.LegalRepresentative.LegalRepresentative\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Address\"]) {\n const address_ = new Address();\n this.Address = address_.init(_data[\"Address\"]);\n }\n this.AddressCountry = _data[\"AddressCountry\"];\n this.BirthName = _data[\"BirthName\"];\n this.CityOfBirth = _data[\"CityOfBirth\"];\n this.CountryOfBirth = _data[\"CountryOfBirth\"];\n this.DateOfBirth = DateConverter.from(_data[\"DateOfBirth\"]);\n this.DocumentExpirationDate = DateConverter.from(_data[\"DocumentExpirationDate\"]);\n this.DocumentNumber = _data[\"DocumentNumber\"];\n this.DocumentType = LegalRepresentativeDocumentType[_data[\"DocumentType\"]];\n this.Email = _data[\"Email\"];\n this.FatherName = _data[\"FatherName\"];\n this.FirstName = _data[\"FirstName\"];\n this.FiscalCode = _data[\"FiscalCode\"];\n this.HomeAddressIsSameAsRegistered = _data[\"HomeAddressIsSameAsRegistered\"];\n this.IsOnlyDirector = _data[\"IsOnlyDirector\"];\n this.LastName = _data[\"LastName\"];\n this.MiddleName = _data[\"MiddleName\"];\n this.MotherBirthName = _data[\"MotherBirthName\"];\n this.Nationality = _data[\"Nationality\"];\n this.OwnMoreThan25Percent = _data[\"OwnMoreThan25Percent\"];\n this.Phone = _data[\"Phone\"];\n this.PhotoCopyReference = _data[\"PhotoCopyReference\"];\n this.Position = LegalRepresentativePosition[_data[\"Position\"]];\n this.PositionDescription = _data[\"PositionDescription\"];\n this.Title = LegalRepresentativeTitle[_data[\"Title\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Address\"] = this.Address ? this.Address.toJSON() : void 0;\n _data[\"AddressCountry\"] = this.AddressCountry;\n _data[\"BirthName\"] = this.BirthName;\n _data[\"CityOfBirth\"] = this.CityOfBirth;\n _data[\"CountryOfBirth\"] = this.CountryOfBirth;\n _data[\"DateOfBirth\"] = DateConverter.toUtcDateString(this.DateOfBirth);\n _data[\"DocumentExpirationDate\"] = DateConverter.toUtcDateString(this.DocumentExpirationDate);\n _data[\"DocumentNumber\"] = this.DocumentNumber;\n _data[\"DocumentType\"] = LegalRepresentativeDocumentType[this.DocumentType];\n _data[\"Email\"] = this.Email;\n _data[\"FatherName\"] = this.FatherName;\n _data[\"FirstName\"] = this.FirstName;\n _data[\"FiscalCode\"] = this.FiscalCode;\n _data[\"HomeAddressIsSameAsRegistered\"] = this.HomeAddressIsSameAsRegistered;\n _data[\"IsOnlyDirector\"] = this.IsOnlyDirector;\n _data[\"LastName\"] = this.LastName;\n _data[\"MiddleName\"] = this.MiddleName;\n _data[\"MotherBirthName\"] = this.MotherBirthName;\n _data[\"Nationality\"] = this.Nationality;\n _data[\"OwnMoreThan25Percent\"] = this.OwnMoreThan25Percent;\n _data[\"Phone\"] = this.Phone;\n _data[\"PhotoCopyReference\"] = this.PhotoCopyReference;\n _data[\"Position\"] = LegalRepresentativePosition[this.Position];\n _data[\"PositionDescription\"] = this.PositionDescription;\n _data[\"Title\"] = LegalRepresentativeTitle[this.Title];\n return _data;\n }\n}\nexport var LegalRepresentativeDocumentType = /* @__PURE__ */ ((LegalRepresentativeDocumentType2) => {\n LegalRepresentativeDocumentType2[\"Passport\"] = \"Passport\";\n LegalRepresentativeDocumentType2[\"PersonalId\"] = \"PersonalId\";\n LegalRepresentativeDocumentType2[\"DrivingLicense\"] = \"DrivingLicense\";\n return LegalRepresentativeDocumentType2;\n})(LegalRepresentativeDocumentType || {});\nexport var LegalRepresentativePosition = /* @__PURE__ */ ((LegalRepresentativePosition2) => {\n LegalRepresentativePosition2[\"Owner\"] = \"Owner\";\n LegalRepresentativePosition2[\"Director\"] = \"Director\";\n LegalRepresentativePosition2[\"Ceo\"] = \"Ceo\";\n LegalRepresentativePosition2[\"Other\"] = \"Other\";\n return LegalRepresentativePosition2;\n})(LegalRepresentativePosition || {});\nexport var LegalRepresentativeTitle = /* @__PURE__ */ ((LegalRepresentativeTitle2) => {\n LegalRepresentativeTitle2[\"Mr\"] = \"Mr\";\n LegalRepresentativeTitle2[\"Mrs\"] = \"Mrs\";\n LegalRepresentativeTitle2[\"Ms\"] = \"Ms\";\n return LegalRepresentativeTitle2;\n})(LegalRepresentativeTitle || {});\n","import { LegalRepresentative } from \"./../LegalRepresentative/LegalRepresentative\";\nimport { Answer } from \"./../Answer\";\nexport class LegalRepresentativesAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof LegalRepresentativesAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.LegalRepresentativesAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new LegalRepresentative();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { Money } from \"./../../../Common/Money\";\nimport { Answer } from \"./../Answer\";\nexport class MoneyAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MoneyAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.MoneyAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"]) {\n const value_ = new Money();\n this.Value = value_.init(_data[\"Value\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value ? this.Value.toJSON() : void 0;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class MultiCountryAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MultiCountryAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.MultiCountryAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"CountryCodes\"] && _data[\"CountryCodes\"].constructor === Array) {\n this.CountryCodes = [];\n for (let item of _data[\"CountryCodes\"]) {\n this.CountryCodes.push(item);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.CountryCodes && this.CountryCodes.constructor === Array) {\n _data[\"CountryCodes\"] = [];\n for (let item of this.CountryCodes) {\n _data[\"CountryCodes\"].push(item);\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class MultiStringAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MultiStringAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.MultiStringAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(item);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item);\n }\n }\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class NameAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof NameAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.NameAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.FirstName = _data[\"FirstName\"];\n this.LastName = _data[\"LastName\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"FirstName\"] = this.FirstName;\n _data[\"LastName\"] = this.LastName;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class OssDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof OssDetail\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.OssDetail.OssDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.RegistrationCountry = _data[\"RegistrationCountry\"];\n this.RegistrationDate = DateConverter.from(_data[\"RegistrationDate\"]);\n this.RegistrationNumber = _data[\"RegistrationNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"RegistrationCountry\"] = this.RegistrationCountry;\n _data[\"RegistrationDate\"] = DateConverter.toUtcDateString(this.RegistrationDate);\n _data[\"RegistrationNumber\"] = this.RegistrationNumber;\n return _data;\n }\n}\n","import { OssDetail } from \"./../OssDetail/OssDetail\";\nimport { Answer } from \"./../Answer\";\nexport class OssDetailAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof OssDetailAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.OssDetailAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"]) {\n const value_ = new OssDetail();\n this.Value = value_.init(_data[\"Value\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value ? this.Value.toJSON() : void 0;\n return _data;\n }\n}\n","import { Answer } from \"./../Answer\";\nexport class ProductTypeAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ProductTypeAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.ProductTypeAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n this.Value.push(ProductTypeAnswerValue[item]);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(ProductTypeAnswerValue[item]);\n }\n }\n return _data;\n }\n}\nexport var ProductTypeAnswerValue = /* @__PURE__ */ ((ProductTypeAnswerValue2) => {\n ProductTypeAnswerValue2[\"AutomotiveIndustrial\"] = \"AutomotiveIndustrial\";\n ProductTypeAnswerValue2[\"BeautyHealth\"] = \"BeautyHealth\";\n ProductTypeAnswerValue2[\"BooksAudio\"] = \"BooksAudio\";\n ProductTypeAnswerValue2[\"CollectiblesArtStationary\"] = \"CollectiblesArtStationary\";\n ProductTypeAnswerValue2[\"ElectronicsComputerOffice\"] = \"ElectronicsComputerOffice\";\n ProductTypeAnswerValue2[\"FashionAccessoriesJewellery\"] = \"FashionAccessoriesJewellery\";\n ProductTypeAnswerValue2[\"FoodGrocery\"] = \"FoodGrocery\";\n ProductTypeAnswerValue2[\"HomeGardenTools\"] = \"HomeGardenTools\";\n ProductTypeAnswerValue2[\"KitchenDining\"] = \"KitchenDining\";\n ProductTypeAnswerValue2[\"MusicMoviesGames\"] = \"MusicMoviesGames\";\n ProductTypeAnswerValue2[\"SportingGoodsOutdoors\"] = \"SportingGoodsOutdoors\";\n ProductTypeAnswerValue2[\"ToysKidsBaby\"] = \"ToysKidsBaby\";\n return ProductTypeAnswerValue2;\n})(ProductTypeAnswerValue || {});\n","import { Answer } from \"./../Answer\";\nexport class StringAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof StringAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.StringAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Value = _data[\"Value\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value;\n return _data;\n }\n}\n","import { Money } from \"./../../../Common/Money\";\nexport class TurnOver {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TurnOver\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.TurnOver\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Amount\"]) {\n const amount_ = new Money();\n this.Amount = amount_.init(_data[\"Amount\"]);\n }\n this.Year = _data[\"Year\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Amount\"] = this.Amount ? this.Amount.toJSON() : void 0;\n _data[\"Year\"] = this.Year;\n return _data;\n }\n}\n","import { TurnOver } from \"./TurnOver\";\nimport { Answer } from \"./../Answer\";\nexport class TurnOversAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TurnOversAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.TurnOversAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"] && _data[\"Value\"].constructor === Array) {\n this.Value = [];\n for (let item of _data[\"Value\"]) {\n const value_ = new TurnOver();\n this.Value.push(value_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n if (this.Value && this.Value.constructor === Array) {\n _data[\"Value\"] = [];\n for (let item of this.Value) {\n _data[\"Value\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class VatIdentificationNumber {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatIdentificationNumber\n */\n this.$type = \"V1.Common.VatIdentificationNumber\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.VatNumber = _data[\"VatNumber\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"VatNumber\"] = this.VatNumber;\n return _data;\n }\n}\n","import { VatIdentificationNumber } from \"./../../../Common/VatIdentificationNumber\";\nimport { Answer } from \"./../Answer\";\nexport class VatNumberAnswer extends Answer {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatNumberAnswer\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Answers.VatNumberAnswer\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n if (_data[\"Value\"]) {\n const value_ = new VatIdentificationNumber();\n this.Value = value_.init(_data[\"Value\"]);\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Value\"] = this.Value ? this.Value.toJSON() : void 0;\n return _data;\n }\n}\n","import { Answer } from \"./Answer\";\nimport { FileReferenceAnswer } from \"./Answers/FileReferenceAnswer\";\nimport { AccountingLocationAnswer } from \"./Answers/AccountingLocationAnswer\";\nimport { AddressAnswer } from \"./Answers/AddressAnswer\";\nimport { BankInformationAnswer } from \"./Answers/BankInformationAnswer\";\nimport { BeneficialOwnersAnswer } from \"./Answers/BeneficialOwnersAnswer\";\nimport { BoolAnswer } from \"./Answers/BoolAnswer\";\nimport { BusinessOwnersAnswer } from \"./Answers/BusinessOwnersAnswer\";\nimport { ClientBaseAnswer } from \"./Answers/ClientBaseAnswer\";\nimport { CountryAnswer } from \"./Answers/CountryAnswer\";\nimport { DateAnswer } from \"./Answers/DateAnswer\";\nimport { ExistingVatNumbersAnswer } from \"./Answers/ExistingVatNumbersAnswer\";\nimport { FixedEstablishmentsAnswer } from \"./Answers/FixedEstablishmentsAnswer\";\nimport { LegalEntityFormAnswer } from \"./Answers/LegalEntityFormAnswer\";\nimport { LegalEntityTypeAnswer } from \"./Answers/LegalEntityTypeAnswer\";\nimport { LegalRepresentativesAnswer } from \"./Answers/LegalRepresentativesAnswer\";\nimport { MoneyAnswer } from \"./Answers/MoneyAnswer\";\nimport { MultiCountryAnswer } from \"./Answers/MultiCountryAnswer\";\nimport { MultiStringAnswer } from \"./Answers/MultiStringAnswer\";\nimport { NameAnswer } from \"./Answers/NameAnswer\";\nimport { OssDetailAnswer } from \"./Answers/OssDetailAnswer\";\nimport { ProductTypeAnswer } from \"./Answers/ProductTypeAnswer\";\nimport { StringAnswer } from \"./Answers/StringAnswer\";\nimport { TurnOversAnswer } from \"./Answers/TurnOversAnswer\";\nimport { VatNumberAnswer } from \"./Answers/VatNumberAnswer\";\nexport class AnswerFactory {\n static create($type) {\n if ($type === \"V1.CompanyInfo.Questionnaire.Answer\") {\n const result = new Answer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.FileReferenceAnswer\") {\n const result = new FileReferenceAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.AccountingLocationAnswer\") {\n const result = new AccountingLocationAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.AddressAnswer\") {\n const result = new AddressAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BankInformationAnswer\") {\n const result = new BankInformationAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BeneficialOwnersAnswer\") {\n const result = new BeneficialOwnersAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BoolAnswer\") {\n const result = new BoolAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.BusinessOwnersAnswer\") {\n const result = new BusinessOwnersAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.ClientBaseAnswer\") {\n const result = new ClientBaseAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.CountryAnswer\") {\n const result = new CountryAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.DateAnswer\") {\n const result = new DateAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.ExistingVatNumbersAnswer\") {\n const result = new ExistingVatNumbersAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.FixedEstablishmentsAnswer\") {\n const result = new FixedEstablishmentsAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityFormAnswer\") {\n const result = new LegalEntityFormAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.LegalEntityTypeAnswer\") {\n const result = new LegalEntityTypeAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.LegalRepresentativesAnswer\") {\n const result = new LegalRepresentativesAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.MoneyAnswer\") {\n const result = new MoneyAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.MultiCountryAnswer\") {\n const result = new MultiCountryAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.MultiStringAnswer\") {\n const result = new MultiStringAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.NameAnswer\") {\n const result = new NameAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.OssDetailAnswer\") {\n const result = new OssDetailAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.ProductTypeAnswer\") {\n const result = new ProductTypeAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.StringAnswer\") {\n const result = new StringAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.TurnOversAnswer\") {\n const result = new TurnOversAnswer();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Questionnaire.Answers.VatNumberAnswer\") {\n const result = new VatNumberAnswer();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { AnswerFactory } from \"./AnswerFactory\";\nexport class Questionnaire {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Questionnaire\n */\n this.$type = \"V1.CompanyInfo.Questionnaire.Questionnaire\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Answers\"] && _data[\"Answers\"].constructor === Array) {\n this.Answers = [];\n for (let item of _data[\"Answers\"]) {\n const $typeAnswers = item && item.$type;\n if ($typeAnswers) {\n const answers_ = AnswerFactory.create($typeAnswers);\n this.Answers.push(answers_.init(item));\n }\n }\n }\n this.Status = QuestionnaireStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Answers && this.Answers.constructor === Array) {\n _data[\"Answers\"] = [];\n for (let item of this.Answers) {\n _data[\"Answers\"].push(item.toJSON());\n }\n }\n _data[\"Status\"] = QuestionnaireStatus[this.Status];\n return _data;\n }\n}\nexport var QuestionnaireStatus = /* @__PURE__ */ ((QuestionnaireStatus2) => {\n QuestionnaireStatus2[\"Incomplete\"] = \"Incomplete\";\n QuestionnaireStatus2[\"Completed\"] = \"Completed\";\n QuestionnaireStatus2[\"Approved\"] = \"Approved\";\n QuestionnaireStatus2[\"DataVerified\"] = \"DataVerified\";\n return QuestionnaireStatus2;\n})(QuestionnaireStatus || {});\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class Subscription {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Subscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.Subscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CancellationDate = DateConverter.from(_data[\"CancellationDate\"]);\n this.EndDate = DateConverter.from(_data[\"EndDate\"]);\n this.Id = _data[\"Id\"];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n this.Status = SubscriptionStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"$type\"] = this.$type;\n _data[\"CancellationDate\"] = DateConverter.toUtcDateString(this.CancellationDate);\n _data[\"EndDate\"] = DateConverter.toUtcDateString(this.EndDate);\n _data[\"Id\"] = this.Id;\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n _data[\"Status\"] = SubscriptionStatus[this.Status];\n return _data;\n }\n}\nexport var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {\n SubscriptionStatus2[\"Active\"] = \"Active\";\n SubscriptionStatus2[\"Cancelled\"] = \"Cancelled\";\n SubscriptionStatus2[\"Pending\"] = \"Pending\";\n return SubscriptionStatus2;\n})(SubscriptionStatus || {});\n","import { Subscription } from \"./Subscription\";\nexport class FilingAgentSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FilingAgentSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.FilingAgentSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class FiscalRepresentativeSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FiscalRepresentativeSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.FiscalRepresentativeSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class IntrastatInSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IntrastatInSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.IntrastatInSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class IntrastatOutSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IntrastatOutSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.IntrastatOutSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class IossComplianceSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IossComplianceSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.IossComplianceSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.PackageAmount = _data[\"PackageAmount\"];\n this.Tier = IossComplianceSubscriptionTier[_data[\"Tier\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"PackageAmount\"] = this.PackageAmount;\n _data[\"Tier\"] = IossComplianceSubscriptionTier[this.Tier];\n return _data;\n }\n}\nexport var IossComplianceSubscriptionTier = /* @__PURE__ */ ((IossComplianceSubscriptionTier2) => {\n IossComplianceSubscriptionTier2[\"Tier0\"] = \"Tier0\";\n IossComplianceSubscriptionTier2[\"Tier1\"] = \"Tier1\";\n IossComplianceSubscriptionTier2[\"Tier2\"] = \"Tier2\";\n IossComplianceSubscriptionTier2[\"Tier3\"] = \"Tier3\";\n return IossComplianceSubscriptionTier2;\n})(IossComplianceSubscriptionTier || {});\n","import { Subscription } from \"./Subscription\";\nexport class RetrospectiveReturnSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof RetrospectiveReturnSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.RetrospectiveReturnSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class SpanishBankAccountSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SpanishBankAccountSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.SpanishBankAccountSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nexport class VatComplianceSubscription extends Subscription {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatComplianceSubscription\n */\n this.$type = \"V1.CompanyInfo.Subscriptions.VatComplianceSubscription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"CountryCode\"] = this.CountryCode;\n return _data;\n }\n}\n","import { Subscription } from \"./Subscription\";\nimport { FilingAgentSubscription } from \"./FilingAgentSubscription\";\nimport { FiscalRepresentativeSubscription } from \"./FiscalRepresentativeSubscription\";\nimport { IntrastatInSubscription } from \"./IntrastatInSubscription\";\nimport { IntrastatOutSubscription } from \"./IntrastatOutSubscription\";\nimport { IossComplianceSubscription } from \"./IossComplianceSubscription\";\nimport { RetrospectiveReturnSubscription } from \"./RetrospectiveReturnSubscription\";\nimport { SpanishBankAccountSubscription } from \"./SpanishBankAccountSubscription\";\nimport { VatComplianceSubscription } from \"./VatComplianceSubscription\";\nexport class SubscriptionFactory {\n static create($type) {\n if ($type === \"V1.CompanyInfo.Subscriptions.Subscription\") {\n const result = new Subscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.FilingAgentSubscription\") {\n const result = new FilingAgentSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.FiscalRepresentativeSubscription\") {\n const result = new FiscalRepresentativeSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.IntrastatInSubscription\") {\n const result = new IntrastatInSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.IntrastatOutSubscription\") {\n const result = new IntrastatOutSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.IossComplianceSubscription\") {\n const result = new IossComplianceSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.RetrospectiveReturnSubscription\") {\n const result = new RetrospectiveReturnSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.SpanishBankAccountSubscription\") {\n const result = new SpanishBankAccountSubscription();\n return result;\n }\n if ($type === \"V1.CompanyInfo.Subscriptions.VatComplianceSubscription\") {\n const result = new VatComplianceSubscription();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { IndividualDetail as AdminIndividualDetail } from \"AdminServices/APIs/self/models/V1/CompanyInfo\";\nimport { IndividualDetail as WebIndividualDetail } from \"WebServices/APIs/self/models/V1/CompanyInfo\";\nimport { FileReferenceAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nexport const getNameAsString = (name) => {\n return `${name.Title} ${name.FirstName} ${name.LastName}`;\n};\nexport const resolveCountryName = (worldCountries, countryCode) => {\n var _a;\n const country = resolveCountry(worldCountries, countryCode);\n return (_a = country == null ? void 0 : country.Name) != null ? _a : countryCode;\n};\nexport const resolveCountry = (worldCountries, countryCode) => {\n return worldCountries.find((country) => country.Code === countryCode);\n};\nexport const getLegalStatus = (businessDetail) => {\n if (businessDetail instanceof WebIndividualDetail || businessDetail instanceof AdminIndividualDetail) {\n return \"Individual\";\n } else {\n return businessDetail.LegalStatus;\n }\n};\nexport const getFullName = (businessDetail) => {\n if (businessDetail instanceof WebIndividualDetail || businessDetail instanceof AdminIndividualDetail) {\n return getNameAsString(businessDetail.Name);\n } else {\n return businessDetail.CompanyName;\n }\n};\nexport const getAddressAsString = (address) => {\n return `${address.Zip}, ${address.City}, ${address.Street} ${address.StreetNumber}`;\n};\nexport const uploadFileToQuestion = (url, file) => __async(void 0, null, function* () {\n const content = new FormData();\n content.append(\"file\", file);\n const headers = {\n \"Accept\": \"*/*\",\n \"Access-Control-Allow-Origin\": \"\"\n };\n const options = {\n body: content,\n headers,\n method: \"POST\"\n };\n const response = yield fetch(url, options);\n return new FileReferenceAnswer(yield response.json());\n});\n","import { IndividualDetail as AdminIndividualDetail, CompanyDetail as AdminCompanyInfoDetail } from \"AdminServices/APIs/self/models/V1/CompanyInfo\";\nimport { IndividualDetail as WebIndividualDetail, CompanyDetail as WebCompanyInfoDetail } from \"WebServices/APIs/self/models/V1/CompanyInfo\";\nimport { BankAccount as AdminBankAccount } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Detail\";\nimport { VatRegistration as WebVatRegistration } from \"WebServices/APIs/self/models/V1/Companies/CompanyInfo\";\nimport { getFullName, resolveCountryName } from \"GlobalShared/helpers/questionnaireHelper\";\nimport { EoriRegistrationRegistrationType as AdminEoriRegistrationRegistrationType } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Detail/EoriRegistrations/EoriRegistration\";\nimport {\n FilingAgentSubscription as WebFilingAgentSubscription,\n FiscalRepresentativeSubscription as WebFiscalRepresentativeSubscription,\n IntrastatInSubscription as WebIntrastatInSubscription,\n IntrastatOutSubscription as WebIntrastatOutSubscription,\n IossComplianceSubscription as WebIossComplianceSubscription,\n RetrospectiveReturnSubscription as WebRetrospectiveReturnSubscription,\n SpanishBankAccountSubscription as WebSpanishBankAccountSubscription,\n VatComplianceSubscription as WebVatComplianceSubscription\n} from \"WebServices/APIs/self/models/V1/CompanyInfo/Subscriptions\";\nimport {\n FilingAgentSubscription as AdminFilingAgentSubscription,\n FiscalRepresentativeSubscription as AdminFiscalRepresentativeSubscription,\n IntrastatInSubscription as AdminIntrastatInSubscription,\n IntrastatOutSubscription as AdminIntrastatOutSubscription,\n IossComplianceSubscription as AdminIossComplianceSubscription,\n RetrospectiveReturnSubscription as AdminRetrospectiveReturnSubscription,\n SpanishBankAccountSubscription as AdminSpanishBankAccountSubscription,\n VatComplianceSubscription as AdminVatComplianceSubscription\n} from \"AdminServices/APIs/self/models/V1/CompanyInfo/Subscriptions\";\nconst mapCompanyDetails = (companyDetail) => {\n var _a;\n const vm = {\n id: companyDetail.Id,\n legalStatus: getLegalStatus(companyDetail.BusinessDetail),\n phone: companyDetail.ContactPhone,\n companyName: void 0,\n contactTitle: void 0,\n contactFirstName: void 0,\n contactLastName: void 0,\n contactPosition: companyDetail.BusinessDetail.ContactPosition,\n addressCity: companyDetail.BusinessDetail.Address.City,\n addressZip: companyDetail.BusinessDetail.Address.Zip,\n addressStreet: companyDetail.BusinessDetail.Address.Street,\n addressStreetNo: companyDetail.BusinessDetail.Address.StreetNumber,\n addressProvince: companyDetail.BusinessDetail.Address.Province,\n preferredLanguage: companyDetail.ContactLanguage,\n countryOfEstablishment: companyDetail.BusinessDetail.EstablishmentCountryCode,\n vatNumber: (_a = companyDetail.BusinessDetail.VatNumber) == null ? void 0 : _a.substring(2)\n };\n if (companyDetail.BusinessDetail instanceof WebIndividualDetail || companyDetail.BusinessDetail instanceof AdminIndividualDetail) {\n vm.contactTitle = companyDetail.BusinessDetail.Name.Title;\n vm.contactFirstName = companyDetail.BusinessDetail.Name.FirstName;\n vm.contactLastName = companyDetail.BusinessDetail.Name.LastName;\n } else if (companyDetail.BusinessDetail instanceof AdminCompanyInfoDetail || companyDetail.BusinessDetail instanceof WebCompanyInfoDetail) {\n vm.companyName = companyDetail.BusinessDetail.CompanyName;\n vm.contactTitle = companyDetail.BusinessDetail.ContactName.Title;\n vm.contactFirstName = companyDetail.BusinessDetail.ContactName.FirstName;\n vm.contactLastName = companyDetail.BusinessDetail.ContactName.LastName;\n }\n return vm;\n};\nexport function mapCompanyDetailToCompanyServicesModel(worldCountries, companyDetail) {\n var _a, _b;\n const adminCompanyDetail = companyDetail;\n return {\n Id: companyDetail.Id,\n CompanyDetails: mapCompanyDetails(companyDetail),\n EstablishmentCountryName: resolveCountryName(worldCountries, companyDetail.BusinessDetail.EstablishmentCountryCode),\n EstablishmentCountryCode: companyDetail.BusinessDetail.EstablishmentCountryCode,\n QuestionnaireStatus: companyDetail.QuestionnaireStatus,\n IsRejected: companyDetail.Status === \"Rejected\",\n IsInactive: companyDetail.Status === \"Inactive\",\n FullName: getFullName(companyDetail.BusinessDetail),\n GlobalServices: mapGlobalServices(companyDetail),\n CountryServices: mapCountryServices(companyDetail),\n VatRegistrations: mapVatRegistrations(companyDetail.VatRegistrations),\n EmsIdentifier: adminCompanyDetail.EmsAccountNumber,\n GisIdentifier: adminCompanyDetail.GisIdentifier,\n SentinelNumber: (_a = adminCompanyDetail.SentinelInformation) == null ? void 0 : _a.Number,\n SentinelValidTo: (_b = adminCompanyDetail.SentinelInformation) == null ? void 0 : _b.ValidTo,\n IsEmsNumberEditable: adminCompanyDetail.IsEmsNumberEditable,\n IsInvoicingEnabled: adminCompanyDetail.IsInvoicingEnabled,\n IsVatNumberValid: adminCompanyDetail.IsVatNumberValid,\n ClientAcceptance: adminCompanyDetail.ClientAcceptance,\n ClientAcceptanceCompleted: adminCompanyDetail.ClientAcceptanceCompleted,\n ClientSource: companyDetail.ClientSource\n };\n}\nexport const mapDefaultCompanyConfiguration = (companyConfiguration) => {\n const vm = {\n useAmazonTemplate: companyConfiguration.UseAmazonTemplate,\n useKpmgTemplate: companyConfiguration.UseKpmgTemplate,\n amazonConfiguration: {\n sellerEntities: companyConfiguration.AmazonConfiguration.SellerEntities.map((se) => ({\n id: se.Id,\n name: se.Name,\n mwsAuthToken: se.MwsAuthToken,\n isEnabled: se.IsEnabled,\n isAutomated: se.IsAutomated\n })),\n useAmazonRates: companyConfiguration.AmazonConfiguration.UseAmazonRates,\n refundMode: companyConfiguration.AmazonConfiguration.RefundMode\n }\n };\n return vm;\n};\nfunction getLegalStatus(companyDetail) {\n if (companyDetail instanceof AdminIndividualDetail || companyDetail instanceof WebIndividualDetail) {\n return \"Individual\";\n } else {\n if (companyDetail instanceof AdminCompanyInfoDetail || companyDetail instanceof WebCompanyInfoDetail) {\n return companyDetail.LegalStatus;\n }\n }\n return \"\";\n}\nfunction mapGlobalServices(companyDetail) {\n const ukEori = companyDetail.EoriRegistrations.find((e) => e.RegistrationType === AdminEoriRegistrationRegistrationType.UK);\n const euEori = companyDetail.EoriRegistrations.find((e) => e.RegistrationType === AdminEoriRegistrationRegistrationType.EU);\n const ukEoriValidFrom = ukEori == null ? void 0 : ukEori.StartDate;\n const euEoriValidFrom = euEori == null ? void 0 : euEori.StartDate;\n const iossCompliance = companyDetail.Subscriptions.find(\n (s) => s instanceof WebIossComplianceSubscription || s instanceof AdminIossComplianceSubscription\n );\n const iossRegistration = companyDetail.IossRegistrations ? companyDetail.IossRegistrations[0] : void 0;\n const adminIossRegistration = iossRegistration;\n const iossService = iossCompliance ? {\n ValidFrom: iossCompliance.StartDate,\n ComplianceValidTo: iossCompliance.EndDate,\n ComplianceSubscriptionStatus: iossCompliance.Status,\n ComplianceSubscriptionCancellationDate: iossCompliance.CancellationDate,\n ComplianceSubscriptionId: iossCompliance.Id,\n Tier: iossCompliance.Tier,\n PackageAmount: iossCompliance.PackageAmount,\n Id: iossRegistration == null ? void 0 : iossRegistration.Id,\n RegistrationStatus: iossRegistration == null ? void 0 : iossRegistration.Status,\n RegistrationType: iossRegistration == null ? void 0 : iossRegistration.RegistrationType,\n RegistrationStartDate: iossRegistration == null ? void 0 : iossRegistration.StartDate,\n MerchantId: adminIossRegistration == null ? void 0 : adminIossRegistration.MerchantId,\n ProductId: adminIossRegistration == null ? void 0 : adminIossRegistration.ProductId,\n CountryOfRegistration: (iossRegistration == null ? void 0 : iossRegistration.CountryOfRegistration) ? {\n Code: iossRegistration == null ? void 0 : iossRegistration.CountryOfRegistration.Code,\n Name: iossRegistration == null ? void 0 : iossRegistration.CountryOfRegistration.Name\n } : void 0,\n Errors: adminIossRegistration == null ? void 0 : adminIossRegistration.DesuclaErrors,\n IOSSCertificate: {\n CertificateReferenceId: iossRegistration == null ? void 0 : iossRegistration.CertificatesReferenceId,\n RegistrationNumber: iossRegistration == null ? void 0 : iossRegistration.RegistrationNumber,\n RegistrationDate: iossRegistration == null ? void 0 : iossRegistration.RegistrationDate\n },\n Documents: (iossRegistration == null ? void 0 : iossRegistration.Documents).map((doc) => ({\n Id: doc.Id,\n Name: doc.Name,\n DocumentReference: doc.DocumentReference,\n SignedDocumentReference: doc.SignedDocumentReference,\n Category: doc.Category\n })),\n DeregistrationInfo: adminIossRegistration.DateOfDeregistration ? {\n DeregisteredAt: adminIossRegistration.DateOfDeregistration,\n DocumentId: adminIossRegistration.DeregistrationConfirmationDocumentId\n } : void 0\n } : void 0;\n return {\n UkEori: ukEoriValidFrom ? { ValidFrom: ukEoriValidFrom } : void 0,\n EuEori: euEoriValidFrom ? { ValidFrom: euEoriValidFrom } : void 0,\n IossService: iossService\n };\n}\nfunction mapCountryServices(companyDetail) {\n const result = [];\n companyDetail.VatRegistrations.forEach((vatRegistration) => {\n const filingAgentSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminFilingAgentSubscription || s instanceof WebFilingAgentSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const fiscalRepresentativeSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminFiscalRepresentativeSubscription || s instanceof WebFiscalRepresentativeSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const intrastatInSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminIntrastatInSubscription || s instanceof WebIntrastatInSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const intrastatOutSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminIntrastatOutSubscription || s instanceof WebIntrastatOutSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const retrospectiveReturnSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminRetrospectiveReturnSubscription || s instanceof WebRetrospectiveReturnSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const spanishBankAccountSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminSpanishBankAccountSubscription || s instanceof WebSpanishBankAccountSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const vatComplianceSubscription = companyDetail.Subscriptions.find(\n (s) => (s instanceof AdminVatComplianceSubscription || s instanceof WebVatComplianceSubscription) && s.CountryCode === vatRegistration.ServiceCountry.Code\n );\n const tempCountryService = {\n Country: vatRegistration.ServiceCountry,\n ContractFrom: vatComplianceSubscription == null ? void 0 : vatComplianceSubscription.StartDate,\n ContractTo: vatComplianceSubscription == null ? void 0 : vatComplianceSubscription.EndDate,\n DateOfRegistration: vatRegistration.StartDate,\n ComplianceSubscriptionStatus: vatComplianceSubscription == null ? void 0 : vatComplianceSubscription.Status,\n ComplianceSubscriptionCancellationDate: vatComplianceSubscription == null ? void 0 : vatComplianceSubscription.CancellationDate,\n ComplianceSubscriptionId: vatComplianceSubscription == null ? void 0 : vatComplianceSubscription.Id,\n VatNumber: vatRegistration.LocalVatNumber,\n FiscalRep: fiscalRepresentativeSubscription,\n SpanishBankAccount: spanishBankAccountSubscription,\n IntrastatIn: intrastatInSubscription,\n IntrastatOut: intrastatOutSubscription,\n Retrospective: retrospectiveReturnSubscription,\n FilingAgent: filingAgentSubscription\n };\n result.push(tempCountryService);\n });\n return result;\n}\nfunction mapVatRegistrations(vatRegistrations) {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;\n const result = [];\n for (const vatRegistration of vatRegistrations) {\n const vatReg = {\n Id: vatRegistration.Id,\n ServiceCountry: { Code: vatRegistration.ServiceCountry.Code, Name: vatRegistration.ServiceCountry.Name },\n Status: vatRegistration.Status,\n RegistrationDocumentStatus: vatRegistration.RegistrationDocumentStatus,\n ServiceKind: vatRegistration.ServiceKind,\n StartDate: vatRegistration.StartDate,\n PaymentReference: vatRegistration.PaymentReference,\n Documents: vatRegistration.Documents ? vatRegistration.Documents.map((doc) => {\n const docVM = {\n Status: doc.Status,\n ErrorCode: doc.ErrorCode,\n TemplateId: doc.TemplateId,\n TemplateName: doc.TemplateName,\n DocumentReference: doc.DocumentReference,\n SignedDocumentReference: doc.SignedDocumentReference,\n Category: doc.Category\n };\n return docVM;\n }) : [],\n LocalVatCertificate: {\n LocalVatNumber: vatRegistration.LocalVatNumber,\n LocalVatRegistrationDate: vatRegistration.LocalVatRegistrationDate,\n LocalVATCertificateReferenceId: vatRegistration.LocalVATCertificatesReferenceId\n },\n EUVatCertificate: {\n EUVatNumber: {\n CountryCode: (_a = vatRegistration.EUVatNumber) == null ? void 0 : _a.CountryCode,\n VatNumber: (_b = vatRegistration.EUVatNumber) == null ? void 0 : _b.VatNumber\n },\n EUVatRegistrationDate: vatRegistration.EUVatRegistrationDate,\n EUVATCertificateReferenceId: vatRegistration.EUVATCertificatesReferenceId\n },\n TaxIdentifier: vatRegistration.TaxIdentifier,\n BankAccountConfig: mapBankAccountConfig(vatRegistration.BankAccountConfig),\n PrimaryVATFrequencies: (_d = (_c = vatRegistration.PrimaryVatFrequencies) == null ? void 0 : _c.map(mapFrequencyConfig)) != null ? _d : [],\n VLSFrequencies: (_f = (_e = vatRegistration.VlsFrequencies) == null ? void 0 : _e.map(mapFrequencyConfig)) != null ? _f : [],\n ESLFrequencies: (_h = (_g = vatRegistration.EslFrequencies) == null ? void 0 : _g.map(mapFrequencyConfig)) != null ? _h : [],\n SecondaryVATFrequencies: (_j = (_i = vatRegistration.SecondaryVatFrequencies) == null ? void 0 : _i.map(mapFrequencyConfig)) != null ? _j : [],\n IntrastatFrequencies: (_l = (_k = vatRegistration.IntrastatFrequencies) == null ? void 0 : _k.map(mapFrequencyConfig)) != null ? _l : [],\n DeregistrationInfo: vatRegistration.DeregistrationDate ? {\n DeregisteredAt: vatRegistration.DeregistrationDate,\n DocumentId: vatRegistration.DeregistrationConfirmationDocumentId\n } : void 0,\n PoARevocationInfo: vatRegistration.PoaRevocationDate ? {\n PoARevokedAt: vatRegistration.PoaRevocationDate,\n DocumentId: vatRegistration.PoaRevocationConfirmationDocumentId\n } : void 0,\n RegNotificationSubscriptions: vatRegistration instanceof WebVatRegistration ? [\n { isSubscribed: vatRegistration.IsEslSubscribed, eventType: \"ESL\" },\n { isSubscribed: vatRegistration.IsVlsSubscribed, eventType: \"VLS\" }\n ] : []\n };\n result.push(vatReg);\n }\n return result;\n}\nfunction mapFrequencyConfig(freq) {\n const freqConfigVM = {\n Id: freq.Id,\n FrequencyType: freq.FrequencyType,\n EFiling: freq.EFiling,\n FilingExtension: freq.FilingExtension,\n ValidFromYear: freq.ValidFrom.getFullYear(),\n ValidFromMonth: freq.ValidFrom.getMonth() + 1\n };\n return freqConfigVM;\n}\nfunction mapBankAccountConfig(bac) {\n if (bac === void 0) {\n return void 0;\n }\n const bankAccountConfigVM = {\n BankAccount: bac.BankAccount instanceof AdminBankAccount ? mapAdminBankAccount(bac.BankAccount) : mapWebBankAccount(bac.BankAccount),\n BankAccountRef: bac.BankAccountRef,\n BankAccountUrl: bac.BankAccountUrl\n };\n return bankAccountConfigVM;\n}\nfunction mapAdminBankAccount(acc) {\n if (acc === void 0) {\n return void 0;\n }\n const bankAccountVM = {\n BankAccountId: acc.BankAccountId,\n BankName: acc.BankName,\n Iban: acc.Iban,\n Swift: acc.Swift,\n BankAddress: acc.BankAddress,\n BeneficiaryAddress: acc.BeneficiaryAddress,\n BeneficiaryName: acc.BeneficiaryName\n };\n return bankAccountVM;\n}\nfunction mapWebBankAccount(acc) {\n if (acc === void 0) {\n return void 0;\n }\n const bankAccountVM = {\n BankName: acc.BankName,\n Iban: acc.Iban,\n Swift: acc.Swift,\n BankAddress: acc.BankAddress,\n BeneficiaryAddress: acc.BeneficiaryAddress,\n BeneficiaryName: acc.BeneficiaryName\n };\n return bankAccountVM;\n}\nexport const mapRegNotificationSubscriptions = (subscriptions) => {\n return subscriptions.map((sub) => {\n const vm = {\n isSubscribed: sub.IsSubscribed,\n email: sub.UserEmail,\n userId: sub.UserId\n };\n return vm;\n });\n};\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nimport { isEmpty, ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE, ONLY_EUROPEAN_CHARS_REGEX, REQUIRED_MESSAGE } from \"GlobalShared/helpers/stringHelper\";\nexport const ALL_COMPANY_DETAILS_FIELDS = [\n \"legalStatus\",\n \"countryOfEstablishment\",\n \"vatNumber\",\n \"companyName\",\n \"contactTitle\",\n \"contactFirstName\",\n \"contactLastName\",\n \"contactPosition\",\n \"addressCity\",\n \"addressZip\",\n \"addressStreet\",\n \"addressStreetNo\",\n \"addressProvince\",\n \"preferredLanguage\",\n \"phone\"\n];\nexport class CompanyDetailsValidator extends AbstractValidator {\n constructor(hasIossService) {\n super();\n this.validateIfString((s) => s.legalStatus).isNotEmpty().withPropertyName(\"legalStatus\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.countryOfEstablishment).isNotEmpty().withPropertyName(\"countryOfEstablishment\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.companyName).isNotEmpty().withFailureMessage(REQUIRED_MESSAGE).withPropertyName(\"companyName\").when((s) => s.legalStatus === \"Company\" || s.legalStatus === \"Partnership\");\n this.validateIfString((s) => s.companyName).matches(ONLY_EUROPEAN_CHARS_REGEX).withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).withPropertyName(\"companyName\").when((s) => s.legalStatus === \"Company\" || s.legalStatus === \"Partnership\");\n this.validateIfString((s) => s.companyName).hasMaxLength(200).withFailureMessage(\"Max length: 200\").withPropertyName(\"companyName\").when((s) => s.legalStatus === \"Company\" || s.legalStatus === \"Partnership\");\n this.validateIfString((s) => s.preferredLanguage).isNotEmpty().withPropertyName(\"preferredLanguage\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.phone).isNotEmpty().withPropertyName(\"phone\").withFailureMessage(\"Required\");\n this.validateIfString((s) => s.phone).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"phone\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactTitle).isNotEmpty().withPropertyName(\"contactTitle\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactFirstName).isNotEmpty().withPropertyName(\"contactFirstName\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactFirstName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"contactFirstName\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactFirstName).hasMaxLength(100).withPropertyName(\"contactFirstName\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactLastName).isNotEmpty().withPropertyName(\"contactLastName\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.contactLastName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"contactLastName\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.contactLastName).hasMaxLength(100).withPropertyName(\"contactLastName\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.contactPosition).isNotEmpty().withPropertyName(\"contactPosition\").withFailureMessage(REQUIRED_MESSAGE).when((_s) => hasIossService);\n this.validateIfString((s) => s.contactPosition).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"contactPosition\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((_s) => hasIossService);\n this.validateIfString((s) => s.contactPosition).hasMaxLength(100).withPropertyName(\"contactPosition\").withFailureMessage(\"Max length: 100\").when((_s) => hasIossService);\n this.validateIfString((s) => s.vatNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"vatNumber\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => !isEmpty(s.vatNumber));\n this.validateIfString((s) => s.addressZip).isNotEmpty().withPropertyName(\"addressZip\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressZip).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressZip\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressZip).hasMaxLength(10).withPropertyName(\"addressZip\").withFailureMessage(\"Max length: 10\");\n this.validateIfString((s) => s.addressCity).isNotEmpty().withPropertyName(\"addressCity\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressCity).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressCity\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressCity).hasMaxLength(100).withPropertyName(\"addressCity\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.addressStreet).isNotEmpty().withPropertyName(\"addressStreet\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressStreet).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressStreet\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressStreet).hasMaxLength(100).withPropertyName(\"addressStreet\").withFailureMessage(\"Max length: 100\");\n this.validateIfString((s) => s.addressStreetNo).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"addressStreetNo\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.addressStreetNo).isNotEmpty().withPropertyName(\"addressStreetNo\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.addressStreetNo).hasMaxLength(20).withPropertyName(\"addressStreetNo\").withFailureMessage(\"Max length: 20\");\n this.validateIfString((s) => s.addressProvince).isNotEmpty().withPropertyName(\"addressProvince\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.countryOfEstablishment === \"CN\");\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { webLanguages } from \"GlobalShared/helpers/webLocaleHelper\";\nimport { ALL_COMPANY_DETAILS_FIELDS, CompanyDetailsValidator } from \"./CompanyDetailsValidator\";\nimport { TITLES } from \"../orders/business-details/BusinessDetailsData\";\nexport const useBusinessDetailsEditor = (props) => {\n const [companyDetails, setCompanyDetails] = useState(props.companyDetails);\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n const validationContext = useValidationContext(new CompanyDetailsValidator(props.hasIossService));\n useEffect(() => {\n if (companyDetails) {\n validationContext.validate(companyDetails);\n }\n }, [companyDetails]);\n useEffect(() => {\n if (props.companyDetails) {\n setCompanyDetails(props.companyDetails);\n }\n }, [props.companyDetails]);\n useEffect(() => __async(void 0, null, function* () {\n if (dispatchIfValid) {\n setDispatchIfValid(false);\n if (validationContext.validationResult.isValid()) {\n props.handlers.save(companyDetails);\n }\n }\n }), [validationContext.validationResult]);\n const templateTitleFirstNameLastName = () => {\n return html`
\n\t\t\t
\n\t\t\t\t {\n const tempVal = e.detail.selectedValue;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { contactTitle: tempVal }));\n validationContext.validateField(\"contactTitle\");\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { contactFirstName: tempVal }));\n validationContext.validateField(\"contactFirstName\");\n }}\n\t\t\t>\n\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { contactLastName: tempVal }));\n validationContext.validateField(\"contactLastName\");\n }}\n\t\t\t>\n\t\t\t${props.hasIossService ? html` {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { contactPosition: tempVal }));\n validationContext.validateField(\"contactPosition\");\n }}\n\t\t\t\t >` : \"\"}\n\t\t
`;\n };\n const htmlBusinessDetailsEditor = () => {\n return html`
\n\t\t\t
\n\t\t\t\t${companyDetails.legalStatus === \"Company\" || companyDetails.legalStatus === \"Partnership\" ? html` {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { companyName: tempVal }));\n validationContext.validateField(\"companyName\");\n }}\n\t\t\t\t\t >` : \"\"}\n\n\t\t\t\t
${templateTitleFirstNameLastName()}
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t ({\n label: webLanguages[key].name,\n value: webLanguages[key].locale\n }))}\n\t\t\t\t\t\t@change=${(e) => {\n const tempVal = e.detail.selectedValue;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { preferredLanguage: tempVal }));\n validationContext.validateField(\"preferredLanguage\");\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { phone: tempVal }));\n validationContext.validateField(\"phone\");\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t ({\n label: country.Name,\n value: country.Code\n }))}\n\t\t\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t\t\t.validationMessage=${validationContext.getValidationMessage(\"countryOfEstablishment\")}\n\t\t\t\t\t\t\t@change=${(e) => {\n const tempVal = e.detail.selectedValue;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { countryOfEstablishment: tempVal }));\n validationContext.validateField(\"countryOfEstablishment\");\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { vatNumber: tempVal }));\n validationContext.validateField(\"vatNumber\");\n }}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { addressCity: tempVal }));\n validationContext.validateField(\"addressCity\");\n }}\n\t\t\t\t>\n\t\t\t\t${companyDetails.countryOfEstablishment === \"CN\" ? html` {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { addressProvince: tempVal }));\n validationContext.validateField(\"addressProvince\");\n }}\n\t\t\t\t\t >` : \"\"}\n\n\t\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { addressZip: tempVal }));\n validationContext.validateField(\"addressZip\");\n }}\n\t\t\t\t>\n\t\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { addressStreet: tempVal }));\n validationContext.validateField(\"addressStreet\");\n }}\n\t\t\t\t>\n\t\t\t\t {\n const tempVal = e.detail.value;\n setCompanyDetails(__spreadProps(__spreadValues({}, companyDetails), { addressStreetNo: tempVal }));\n validationContext.validateField(\"addressStreetNo\");\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t {\n validationContext.validateFields(ALL_COMPANY_DETAILS_FIELDS);\n setCompanyDetails(__spreadValues({}, companyDetails));\n setDispatchIfValid(true);\n }}\n\t\t\t\t>\n\t\t\t\t\tSave\n\t\t\t\t\n\t\t\t
\n\t\t
`;\n };\n return { template: htmlBusinessDetailsEditor };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nexport const useCommentModal = (props) => {\n const [comment, setComment] = useState(\"\");\n const [showModal, setShowModal] = useState(false);\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => {\n setComment(\"\");\n }, [showModal]);\n const template = () => {\n if (!showModal) {\n return html``;\n }\n return html`\n\t\t\t
\n\t\t\t\t setShowModal(false)}\n\t\t\t\t\t.header=${\"Add comment\"}\n\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\n${comment}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield props.save(comment);\n setShowModal(false);\n })}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t
\n\t\t\t\t\t
`}\n\t\t\t\t>\n\t\t\t\t\n\t\t\t
\n\t\t`;\n };\n return { show, template };\n};\n","import i18next from \"i18next\";\nimport { svg } from \"lit-html\";\nexport const FILE_PDF_ICON = svg``;\nconst Statuses = [\n { label: i18next.t(\"Pending\"), value: \"Pending\" },\n { label: i18next.t(\"Waiting for signature\"), value: \"WaitingForSignature\" },\n { label: i18next.t(\"Documents signed\"), value: \"DocumentsSigned\" },\n { label: i18next.t(\"Sent to TA\"), value: \"SentToTA\" },\n { label: i18next.t(\"Completed\"), value: \"RegistrationCompleted\" },\n { label: i18next.t(\"Translation in progress\"), value: \"TranslationInProgress\" },\n { label: i18next.t(\"Local Tax Number Saved\"), value: \"LocalTaxReceived\" },\n { label: i18next.t(\"Failed\"), value: \"Failed\" },\n { label: i18next.t(\"Declined\"), value: \"Declined\" },\n { label: i18next.t(\"Under review\"), value: \"UnderReview\" },\n { label: i18next.t(\"Deregistration in progress\"), value: \"DeregistrationInProgress\" },\n { label: i18next.t(\"Deregistered\"), value: \"Deregistered\" },\n { label: i18next.t(\"Revoking PoA\"), value: \"RevokingPoA\" },\n { label: i18next.t(\"PoA revoked\"), value: \"PoARevoked\" }\n];\nexport const getStatusLabel = (status) => {\n const item = Statuses.find((s) => s.value === status);\n return item && item.label ? item.label : status;\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { EXCEL_SEPARATOR_COMMAND } from \"GlobalShared/common/Constants\";\nexport const simulateDownload = (file) => {\n var _a;\n const fileName = (_a = file.name) == null ? void 0 : _a.replace(/\\\"/g, \"\");\n const downloadUrl = window.URL.createObjectURL(file);\n const a = document.createElement(\"a\");\n a.href = downloadUrl;\n a.download = fileName;\n a.click();\n};\nexport const parseCSVFile = (file, delimiter = \",\") => __async(void 0, null, function* () {\n let content = yield parseContent(file);\n if (content.startsWith(EXCEL_SEPARATOR_COMMAND)) {\n content = content.substr(EXCEL_SEPARATOR_COMMAND.length);\n }\n return convertCSVToArray(content, delimiter);\n});\nexport const parseContent = (file) => {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onloadend = function(e) {\n resolve(e.target.result);\n };\n reader.onerror = function(e) {\n reject(e);\n };\n reader.readAsText(file, \"ISO-8859-1\");\n });\n};\nexport const downloadFile = (content, fileName, mimeType) => {\n const a = document.createElement(\"a\");\n mimeType = mimeType || \"application/octet-stream\";\n if (navigator.msSaveBlob) {\n navigator.msSaveBlob(\n new Blob([content], {\n type: mimeType\n }),\n fileName\n );\n } else if (URL && \"download\" in a) {\n a.href = URL.createObjectURL(\n new Blob([content], {\n type: mimeType\n })\n );\n a.setAttribute(\"download\", fileName);\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n } else {\n location.href = \"data:application/octet-stream,\" + encodeURIComponent(content);\n }\n};\nexport function convertCSVToArray(strData, delimiter) {\n delimiter = delimiter || \",\";\n const objPattern = new RegExp(\n // Delimiters.\n \"(\\\\\" + delimiter + '|\\\\r?\\\\n|\\\\r|^)(?:\"([^\"]*(?:\"\"[^\"]*)*)\"|([^\"\\\\' + delimiter + \"\\\\r\\\\n]*))\",\n \"gi\"\n );\n const arrData = [[]];\n let arrMatches;\n while (arrMatches = objPattern.exec(strData.trim())) {\n const strMatchedDelimiter = arrMatches[1];\n if (strMatchedDelimiter.length && strMatchedDelimiter !== delimiter) {\n arrData.push([]);\n }\n let strMatchedValue;\n if (arrMatches[2]) {\n strMatchedValue = arrMatches[2].replace(new RegExp('\"\"', \"g\"), '\"');\n } else {\n strMatchedValue = arrMatches[3];\n }\n arrData[arrData.length - 1].push(strMatchedValue);\n }\n return arrData;\n}\nexport function convertArrayToCSV(data, delimiter) {\n return data.map((row) => {\n return row.map((item) => {\n if (!item) {\n return \"\";\n }\n if (item.trim().length !== item.length || item.indexOf(`\"`) > -1 || item.indexOf(delimiter) > -1) {\n return `\"${item.replace(/\\\"/g, `\"\"`)}\"`;\n }\n return item;\n }).join(delimiter);\n }).join(\"\\r\\n\");\n}\nconst generateAccepts = (types) => {\n return types.map((t) => `.${t.toLowerCase()}`);\n};\nexport const Q11E_DOC_ACCEPT_LIST = generateAccepts([\"JPG\", \"JPEG\", \"PNG\", \"PDF\"]);\nexport const RETURN_PROOF_DOC_ACCEPT_LIST = generateAccepts([\"JPG\", \"JPEG\", \"PNG\", \"PDF\"]);\nexport const NOT_TO_BE_SUBMITTED_PROOF_DOC_ACCEPT_LIST = generateAccepts([\"JPG\", \"JPEG\", \"PNG\", \"XLSX\", \"DOCX\", \"MSG\"]);\nexport const RETURN_REJECTION_DOC_ACCEPT_LIST = generateAccepts([\"JPG\", \"JPEG\", \"PNG\", \"PDF\", \"XLSX\", \"XLS\"]);\nexport const RETURN_DOC_ACCEPT_LIST = generateAccepts([\"PDF\", \"XLSX\", \"XML\", \"PNG\", \"CSV\", \"TXT\"]);\nexport const AMAZON_TRANSACTION_ACCEPT_LIST = generateAccepts([\"CSV\", \"TSV\", \"TXT\"]);\nexport const ONLY_PDF_ACCEPT_LIST = generateAccepts([\"PDF\"]);\nexport const ONLY_CSV_ACCEPT_LIST = generateAccepts([\"CSV\"]);\nexport const ONLY_XLSX_ACCEPT_LIST = generateAccepts([\"XLSX\"]);\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { isEmpty } from \"GlobalShared/helpers/stringHelper\";\nimport { ONLY_PDF_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nexport const useIOSSModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [iossCertificateReference, setIOSSCertificateReference] = useState(void 0);\n const [iossNumber, setIOSSNumber] = useState(void 0);\n const [iossRegistrationDate, setIOSSRegistrationDate] = useState(void 0);\n const [iossCertificateValidationMessage, setIOSSCertificateValidationMessage] = useState(void 0);\n const [iossNumberValidationMessage, setIOSSNumberValidationMessage] = useState(void 0);\n const [iossRegistrationDateValidationMessage, setIOSSRegistrationDateValidationMessage] = useState(void 0);\n useEffect(() => __async(void 0, null, function* () {\n var _a, _b, _c;\n if (props && props.iossCertificate !== void 0) {\n setIOSSNumber((_a = props.iossCertificate) == null ? void 0 : _a.RegistrationNumber);\n setIOSSCertificateReference((_b = props.iossCertificate) == null ? void 0 : _b.CertificateReferenceId);\n setIOSSRegistrationDate((_c = props.iossCertificate) == null ? void 0 : _c.RegistrationDate);\n }\n }), [props]);\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => {\n setIOSSCertificateReference(void 0);\n setIOSSNumber(void 0);\n setIOSSRegistrationDate(void 0);\n setIOSSCertificateValidationMessage(void 0);\n setIOSSNumberValidationMessage(void 0);\n setIOSSRegistrationDateValidationMessage(void 0);\n }, [showModal]);\n const template = html`${showModal ? html`
\n\t\t\t\t setShowModal(false)}\n\t\t\t\t\t.header=${\"Add IOSS certificate\"}\n\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a;\n if (((_a = e.detail) == null ? void 0 : _a.files) && e.detail.files.length > 0) {\n setIOSSCertificateReference(yield props.uploadIOSSCertificate(e.detail.files[0]));\n }\n })}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n setIOSSNumber(e.detail.value);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n setIOSSRegistrationDate(e.detail.value);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n let isValid = true;\n setIOSSCertificateValidationMessage(void 0);\n setIOSSNumberValidationMessage(void 0);\n setIOSSRegistrationDateValidationMessage(void 0);\n if (isEmpty(iossNumber)) {\n setIOSSNumberValidationMessage(\"Required\");\n isValid = false;\n }\n if (iossRegistrationDate === void 0) {\n setIOSSRegistrationDateValidationMessage(\"Required\");\n isValid = false;\n }\n if (isValid) {\n const localCert = {\n CertificateReferenceId: iossCertificateReference,\n RegistrationNumber: iossNumber,\n RegistrationDate: iossRegistrationDate\n };\n yield props.save(localCert);\n setShowModal(false);\n }\n })}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t
\n\t\t\t\t\t
`}\n\t\t\t\t>\n\t\t\t\t\n\t\t
` : html``}`;\n return { show, template };\n};\n","import { useState } from \"GlobalShared/haunted/CustomHooks\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nexport const useConfirmModal = () => {\n const [showModal, setShowModal] = useState(false);\n const [question, setQuestion] = useState(\"\");\n const [callback, setCallback] = useState(void 0);\n const confirm = (q) => {\n setQuestion(q);\n setShowModal(true);\n return new Promise(function(resolve, _) {\n setCallback(() => resolve);\n });\n };\n const mainTemplate = () => html`\n\t\t {\n setShowModal(false);\n if (callback) {\n callback(false);\n }\n }}\n\t\t\t.header=${i18next.t(\"Confirm\")}\n\t\t\t.content=${html`
\n\t\t\t\t
${question}
\n\t\t\t\t
\n\t\t\t\t\t {\n setShowModal(false);\n if (callback) {\n callback(false);\n }\n }}\n\t\t\t\t\t>\n\t\t\t\t\t\t${i18next.t(\"No\")}\n\t\t\t\t\t\n\t\t\t\t\t {\n setShowModal(false);\n if (callback) {\n callback(true);\n }\n }}\n\t\t\t\t\t>\n\t\t\t\t\t\t${i18next.t(\"Yes\")}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
`}\n\t\t>\n\t\t\n\t`;\n return { mainTemplate, confirm };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport \"./sub-cancellation-modal.scss\";\nimport { getDay, MAX_DATE, MIN_DATE } from \"GlobalShared/helpers/dateHelper\";\nimport { checkError, notifyError, notifySuccess, notifyWarning, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nexport const useSubCancellationModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [cancellationDate, setCancellationDate] = useState(void 0);\n const [validationMessage, setValidationMessage] = useState(void 0);\n useEffect(() => {\n if ((props == null ? void 0 : props.contractTo) !== void 0 && getDay(props.contractTo) < getDay(/* @__PURE__ */ new Date())) {\n setCancellationDate(props.contractTo);\n } else {\n setCancellationDate(/* @__PURE__ */ new Date());\n }\n }, [props == null ? void 0 : props.contractTo]);\n const show = () => __async(void 0, null, function* () {\n setValidationMessage(void 0);\n setShowModal(true);\n });\n const cancelSubscription = () => __async(void 0, null, function* () {\n yield withErrorHandling(\n () => __async(void 0, null, function* () {\n yield props.cancelSubscription(props.subscriptionId, cancellationDate);\n notifySuccess(\"Subscription successfully cancelled\");\n }),\n (error) => {\n if (checkError(error, 409, \"SubscriptionExpired\")) {\n notifyWarning(\"The cancellation date must be between contarcting start date and expiration date\");\n } else {\n notifyError(error);\n }\n }\n );\n });\n const template = () => {\n var _a, _b;\n return html`${showModal ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t\t.header=${\"Cancellation\"}\n\t\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t {\n const selectedDate = e.detail.value;\n let cancellationDateValidationMessage;\n if (selectedDate >= props.contractTo) {\n cancellationDateValidationMessage = \"Date must be smaller than contracting end date\";\n } else if (selectedDate < props.contractFrom) {\n cancellationDateValidationMessage = \"Date must be bigger or equal than contracting from date\";\n }\n setValidationMessage(cancellationDateValidationMessage);\n setCancellationDate(selectedDate);\n }}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
Are you sure you would like to cancel this subscription?
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t {\n setShowModal(false);\n }}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t {\n setShowModal(false);\n cancelSubscription();\n }}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t ` : html``}`;\n };\n return { show, template };\n};\n","import { formatDate, getDay } from \"GlobalShared/helpers/dateHelper\";\nimport { toSafeNumber } from \"GlobalShared/helpers/numberHelper\";\nimport { isEmpty, REQUIRED_MESSAGE, testRegex } from \"GlobalShared/helpers/stringHelper\";\nimport { useEffect, useState } from \"haunted\";\nimport i18next from \"i18next\";\nimport moment from \"moment\";\nconst _Validation = class {\n constructor() {\n this.rules = [];\n this.condition = (_) => true;\n this.isRequired = (message) => {\n const rule = {\n message: message != null ? message : REQUIRED_MESSAGE,\n type: \"required\",\n validate: (value) => !isEmpty(value == null ? void 0 : value.toString())\n };\n this.rules.push(rule);\n return this;\n };\n this.hasLength = (length, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Required length: {{length}}\", { length }),\n type: \"length\",\n validate: (value) => {\n var _a;\n if (Array.isArray(value)) {\n return (value == null ? void 0 : value.length) === length;\n } else {\n return ((_a = value == null ? void 0 : value.toString()) == null ? void 0 : _a.length) === length;\n }\n }\n };\n this.rules.push(rule);\n return this;\n };\n this.isNumber = (message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Number required\"),\n type: \"number\",\n validate: (value) => toSafeNumber(value == null ? void 0 : value.toString()) !== void 0\n };\n this.rules.push(rule);\n return this;\n };\n this.isDateAfter = (date, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Date must be after {{date}}\", { date: formatDate(date) }),\n type: \"date_after\",\n validate: (value) => moment(getDay(value)).isAfter(getDay(date))\n };\n this.rules.push(rule);\n return this;\n };\n this.isDateSameOrAfter = (date, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Date must be same or after {{date}}\", { date: formatDate(date) }),\n type: \"date_same_or_after\",\n validate: (value) => moment(getDay(value)).isSameOrAfter(getDay(date))\n };\n this.rules.push(rule);\n return this;\n };\n this.isDateBefore = (date, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Date must be before {{date}}\", { date: formatDate(date) }),\n type: \"date_before\",\n validate: (value) => moment(getDay(value)).isBefore(getDay(date))\n };\n this.rules.push(rule);\n return this;\n };\n this.isDateSameOrBefore = (date, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Date must be same or before {{date}}\", { date: formatDate(date) }),\n type: \"date_same_or_before\",\n validate: (value) => moment(getDay(value)).isSameOrBefore(getDay(date))\n };\n this.rules.push(rule);\n return this;\n };\n this.max = (max, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Maximum {{max}} length\", { max }),\n type: \"max\",\n validate: (value) => {\n if (typeof value === \"number\") {\n return value <= max;\n } else if (Array.isArray(value)) {\n return value.length <= max;\n } else if (isEmpty(value)) {\n return true;\n } else {\n return (value == null ? void 0 : value.toString().length) <= max;\n }\n }\n };\n this.rules.push(rule);\n return this;\n };\n this.min = (min, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Minimum {{min}} length\", { min }),\n type: \"min\",\n validate: (value) => {\n if (typeof value === \"number\") {\n return value >= min;\n } else if (Array.isArray(value)) {\n return value.length >= min;\n } else {\n return (value == null ? void 0 : value.toString().length) >= min;\n }\n }\n };\n this.rules.push(rule);\n return this;\n };\n this.isEmail = (message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Must be a valid email address\"),\n type: \"email\",\n validate: (value) => isEmpty(value) || testRegex(value, /^[A-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i)\n };\n this.rules.push(rule);\n return this;\n };\n this.isIn = (list, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Value must be in list\"),\n type: \"in\",\n validate: (value) => list.includes(value)\n };\n this.rules.push(rule);\n return this;\n };\n this.isNotIn = (list, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"Value must be in list\"),\n type: \"not_in\",\n validate: (value) => !list.includes(value)\n };\n this.rules.push(rule);\n return this;\n };\n this.isRegex = (regex, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"The value must match the required pattern\"),\n type: \"regex\",\n validate: (value) => testRegex(value, regex)\n };\n this.rules.push(rule);\n return this;\n };\n this.isNotRegex = (regex, message) => {\n const rule = {\n message: message != null ? message : i18next.t(\"The value must not match the required pattern\"),\n type: \"regex\",\n validate: (value) => !testRegex(value, regex)\n };\n this.rules.push(rule);\n return this;\n };\n this.fullfilsValidations = (validator) => {\n this.validator = validator;\n return this;\n };\n this.fullfils = (condition, message) => {\n const rule = {\n message,\n type: \"condition\",\n validate: condition\n };\n this.rules.push(rule);\n return this;\n };\n this.when = (condition) => {\n this.condition = condition;\n return this;\n };\n this.validate = (model) => {\n if (this.condition(model)) {\n const value = this.selector(model);\n for (const rule of this.rules) {\n if (!rule.validate(value)) {\n return [{ field: this.field, message: rule.message }];\n }\n }\n const results = [];\n if (this.validator) {\n for (const validation of this.validator) {\n const arrValue = value;\n let i = 0;\n for (const value2 of arrValue) {\n const results2 = validation.validate(value2);\n if (results2.length > 0) {\n for (const res of results2) {\n const field = `${this.field}.${i}.${res.field}`;\n results.push({ field, message: res.message });\n }\n }\n i++;\n }\n }\n }\n return results;\n }\n return [];\n };\n }\n};\nexport let Validation = _Validation;\nValidation.ruleFor = (field, selector) => {\n const v = new _Validation();\n v.field = field;\n v.selector = selector;\n return v;\n};\nexport const useAwesomeValidator = (validations, dispatcher) => {\n const isValid = () => {\n return Object.keys(messages).length === 0;\n };\n const [messages, setMessages] = useState({});\n const [visibleFields, setVisibleFields] = useState([]);\n const [allFieldsVisible, setAllFieldsVisible] = useState(false);\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (dispatchIfValid) {\n setDispatchIfValid(false);\n if (isValid() && dispatcher) {\n dispatcher();\n }\n }\n }, [messages]);\n const validate = (model) => {\n const newMessages = {};\n for (const validation of validations) {\n for (const res of validation.validate(model)) {\n newMessages[res.field] = res.message;\n }\n }\n setMessages(newMessages);\n return Object.keys(newMessages).length === 0;\n };\n const validateAndDispatch = (model) => {\n setDispatchIfValid(true);\n setAllFieldsVisible(true);\n validate(model);\n };\n const getMessage = (field) => {\n if (allFieldsVisible || visibleFields.includes(field)) {\n return messages[field];\n }\n return void 0;\n };\n const showMessageFor = (field) => {\n if (!visibleFields.includes(field)) {\n setVisibleFields(visibleFields.concat(field));\n }\n };\n const clear = () => {\n setVisibleFields([]);\n setAllFieldsVisible(false);\n };\n return {\n getMessage,\n messages,\n validate,\n validateAndDispatch,\n showMessageFor,\n clear\n };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { useAwesomeValidator, Validation } from \"GlobalShared/validation/AwesomeValidator\";\nexport const useDeregistrationModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [documentReference, setDocumentReference] = useState(void 0);\n const [dateOfDeregistration, setDateOfDeregistration] = useState(void 0);\n useEffect(() => __async(void 0, null, function* () {\n if (props && props.change) {\n setDocumentReference(props.change.DocumentId);\n setDateOfDeregistration(props.change.DateOfDeregistration);\n }\n }), [props]);\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => {\n setDocumentReference(void 0);\n setDateOfDeregistration(void 0);\n }, [showModal]);\n useEffect(() => {\n if (showModal) {\n validator.clear();\n }\n }, [showModal]);\n useEffect(() => {\n validator.validate({ DocumentId: documentReference, DateOfDeregistration: dateOfDeregistration });\n }, [documentReference, dateOfDeregistration]);\n const validator = useAwesomeValidator(\n [Validation.ruleFor(\"DateOfDeregistration\", (vm) => vm.DateOfDeregistration).isRequired()],\n () => props.save({ DocumentId: documentReference, DateOfDeregistration: dateOfDeregistration })\n );\n const template = html`${showModal ? html`
\n\t\t\t\t setShowModal(false)}\n\t\t\t\t\t.header=${\"VAT Deregistration\"}\n\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a;\n if (((_a = e.detail) == null ? void 0 : _a.files) && e.detail.files.length > 0) {\n setDocumentReference(yield props.uploadDocument(e.detail.files[0]));\n }\n })}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n validator.showMessageFor(\"DateOfDeregistration\");\n setDateOfDeregistration(e.detail.value);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n validator.validateAndDispatch({\n DateOfDeregistration: dateOfDeregistration,\n DocumentId: documentReference\n });\n setShowModal(false);\n })}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t
\n\t\t\t\t\t
`}\n\t\t\t\t>\n\t\t\t\t\n\t\t
` : html``}`;\n return { show, template };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { formatDate, interpretYearOneAsUndefined } from \"GlobalShared/helpers/dateHelper\";\nimport { notifyWarning } from \"GlobalShared/helpers/errorHelper\";\nimport { COMPLIANCE_SUBSCRIPTION_STATUS_LABELS } from \"GlobalShared/models/ServicesModels\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { useCommentModal } from \"../reg-modals/comment-modal\";\nimport { getStatusLabel } from \"./services-common\";\nimport { downloadPDFIcon } from \"GlobalShared/templates/commons\";\nimport { useIOSSModal } from \"../reg-modals/ioss-modal\";\nimport { useConfirmModal } from \"../modals/commonModals\";\nimport { ONLY_PDF_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nimport { useSubCancellationModal } from \"./sub-cancellation-modal\";\nimport { useDeregistrationModal } from \"../reg-modals/deregistration-modal\";\nexport const useIossService = (props) => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;\n const getValidNextIossTransition = (from) => {\n var _a2;\n return (_a2 = validIOSSTransitions == null ? void 0 : validIOSSTransitions.reduce((aggr, curr) => {\n if (curr.From === from) {\n return aggr.concat(curr.To);\n } else {\n return aggr;\n }\n }, [])) != null ? _a2 : [];\n };\n const mapToClientCompatibleIOSSStatus = (status) => {\n if (status === \"Failed\" || status === \"Declined\") {\n return getStatusLabel(\"UnderReview\");\n } else {\n return getStatusLabel(status);\n }\n };\n const [showSignedIOSSDocumentUploadModal, setShowSignedIOSSDocumentUploadModal] = useState(false);\n const [currentIOSSRegId, setCurrentIOSSRegId] = useState(void 0);\n const [currentIOSSDocumentId, setCurrentIOSSDocumentId] = useState(void 0);\n const [validIOSSTransitions, setValidIOSSTransitions] = useState([]);\n const [currentCommentModalProps, setCurrentCommentModalProps] = useState(void 0);\n const commentModal = useCommentModal(currentCommentModalProps);\n const [currentIOSSModalProps, setCurrentIOSSModalProps] = useState(void 0);\n const iossModal = useIOSSModal(currentIOSSModalProps);\n const confirmModal = useConfirmModal();\n const [currentCancellationModalProps, setCurrentCancellationModalProps] = useState(void 0);\n const subCancellationModal = useSubCancellationModal(currentCancellationModalProps);\n const [currentDeregistrationModalProps, setCurrentDeregistrationModalProps] = useState(void 0);\n const deregistrationModal = useDeregistrationModal(currentDeregistrationModalProps);\n useEffect(() => __async(void 0, null, function* () {\n if (props == null ? void 0 : props.isAdmin) {\n setValidIOSSTransitions(yield props.callbackHandler.getPossibleIossStatuses());\n }\n }), [props.callbackHandler]);\n const htmlSignedIOSSDocumentUploadModal = () => {\n if (showSignedIOSSDocumentUploadModal) {\n return html`\n\t\t\t\t
\n\t\t\t\t\t setShowSignedIOSSDocumentUploadModal(false)}\n\t\t\t\t\t\t.header=${\"Upload signed PDF\"}\n\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a2;\n if (((_a2 = e.detail) == null ? void 0 : _a2.files) && e.detail.files.length > 0) {\n yield props.callbackHandler.uploadIOSSSignedRegistrationDocument(currentIOSSRegId, currentIOSSDocumentId, e.detail.files[0]);\n setShowSignedIOSSDocumentUploadModal(false);\n }\n })}\n\t\t\t\t\t\t\t>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
`}\n\t\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t`;\n } else {\n return html``;\n }\n };\n const mainTemplate = ((_a = props.globalServices) == null ? void 0 : _a.IossService) !== void 0 && (props.showCancelledServices || ((_b = props.globalServices) == null ? void 0 : _b.IossService.ComplianceSubscriptionStatus) !== \"Cancelled\") ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
${i18next.t(\"IOSS Registration and Compliance\")}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${(props == null ? void 0 : props.isAdmin) ? html` ({\n label: getStatusLabel(status),\n value: status\n }))\n )}\n\t\t\t\t\t\t\t\t\t\t\t.readonly=${!props.permissionManager.hasPermission(\"IOSS_Modify\")}\n\t\t\t\t\t\t\t\t\t\t\t@click=${(e) => {\n var _a2;\n const newIOSSStatus = e.detail.selectedValue;\n if (props.globalServices.IossService.RegistrationStatus === \"DocumentsSigned\" && newIOSSStatus === \"WaitingForSignature\") {\n setCurrentCommentModalProps({\n save: (comment) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeIossRegistrationStatus(\n props.globalServices.IossService.Id,\n props.globalServices.IossService.RegistrationStatus,\n newIOSSStatus,\n comment\n );\n })\n });\n commentModal.show();\n } else if (props.globalServices.IossService.RegistrationStatus === \"SentToTA\" && newIOSSStatus === \"RegistrationCompleted\") {\n setCurrentIOSSModalProps({\n iossCertificate: props.globalServices.IossService.IOSSCertificate,\n save: (iossCertificate) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeIossRegistrationStatus(\n props.globalServices.IossService.Id,\n props.globalServices.IossService.RegistrationStatus,\n newIOSSStatus,\n void 0,\n iossCertificate\n );\n }),\n uploadIOSSCertificate: (file) => {\n return props.callbackHandler.uploadIossDocument(props.globalServices.IossService.Id, file);\n }\n });\n iossModal.show();\n } else if (props.globalServices.IossService.RegistrationStatus === \"DeregistrationInProgress\" && newIOSSStatus === \"Deregistered\") {\n setCurrentDeregistrationModalProps({\n change: {},\n save: (change) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeIossRegistrationStatus(\n props.globalServices.IossService.Id,\n props.globalServices.IossService.RegistrationStatus,\n newIOSSStatus,\n void 0,\n void 0,\n change\n );\n }),\n uploadDocument: (file) => {\n return props.callbackHandler.uploadIossDocument(props.globalServices.IossService.Id, file);\n }\n });\n deregistrationModal.show();\n } else if (props.globalServices.IossService.RegistrationStatus === \"WaitingForSignature\" && newIOSSStatus === \"DocumentsSigned\") {\n if (((_a2 = props.globalServices.IossService.Documents) == null ? void 0 : _a2.length) > 0 && !props.globalServices.IossService.Documents.some((d) => d.Category === \"RequiredElectronicallyOnly\" && d.SignedDocumentReference === void 0)) {\n props.callbackHandler.changeIossRegistrationStatus(\n props.globalServices.IossService.Id,\n props.globalServices.IossService.RegistrationStatus,\n newIOSSStatus\n );\n } else {\n notifyWarning(i18next.t(\"Signed documents need to be uploaded\"));\n }\n } else {\n props.callbackHandler.changeIossRegistrationStatus(\n props.globalServices.IossService.Id,\n props.globalServices.IossService.RegistrationStatus,\n newIOSSStatus\n );\n }\n }}\n\t\t\t\t\t\t\t\t\t >` : html`
${mapToClientCompatibleIOSSStatus(props.globalServices.IossService.RegistrationStatus)}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t doc.Category === \"RequiredElectronicallyOnly\" && doc.SignedDocumentReference === void 0\n )}\n\t\t\t\t\t\t\t\t\t\t\t\t\t@click=${() => __async(void 0, null, function* () {\n var _a2;\n if (((_a2 = props.globalServices.IossService.Documents) == null ? void 0 : _a2.length) === 0) {\n notifyWarning(i18next.t(\"No document generated\"));\n } else {\n yield props.callbackHandler.finalizeIOSSUpload(props.globalServices.IossService.Id);\n }\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Finalize Upload\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${i18next.t(\"Service start date\")}: ${formatDate(props.globalServices.IossService.ValidFrom)}\n\t\t\t\t\t\t\t\t | \n\t\t\t\t\t\t\t\t${i18next.t(\"Service expiration date\")}:\n\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.ComplianceSubscriptionStatus === \"Pending\" ? \"-\" : formatDate(props.globalServices.IossService.ComplianceValidTo)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${props.isAdmin ? html`
\n\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Merchant Id\")}: ${props.globalServices.IossService.MerchantId}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Product Id\")}: ${props.globalServices.IossService.ProductId}\n\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${i18next.t(\"Start date\")}: ${formatDate(props.globalServices.IossService.RegistrationStartDate)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${i18next.t(\"Compliance status\")}: ${COMPLIANCE_SUBSCRIPTION_STATUS_LABELS[props.globalServices.IossService.ComplianceSubscriptionStatus]}\n\t\t\t\t\t\t\t\t${interpretYearOneAsUndefined(props.globalServices.IossService.ComplianceSubscriptionCancellationDate) ? html`(${formatDate(props.globalServices.IossService.ComplianceSubscriptionCancellationDate)})` : \"\"}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${props.globalServices.IossService.Tier === \"Tier1\" || props.globalServices.IossService.Tier === \"Tier2\" ? html`
${i18next.t(\"Available credit\")}: ${props.globalServices.IossService.PackageAmount}
` : \"\"}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${props.isAdmin && props.permissionManager.hasPermission(\"IOSS_Modify\") && props.globalServices.IossService.ComplianceSubscriptionStatus === \"Active\" ? html` __async(void 0, null, function* () {\n setCurrentCancellationModalProps({\n contractFrom: props.globalServices.IossService.ValidFrom,\n contractTo: props.globalServices.IossService.ComplianceValidTo,\n subscriptionId: props.globalServices.IossService.ComplianceSubscriptionId,\n cancelSubscription: props.callbackHandler.cancelSubscription\n });\n subCancellationModal.show();\n })}\n\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Cancel\")}\n\t\t\t\t\t\t\t\t\t ` : \"\"}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t${((_e = (_d = (_c = props.globalServices) == null ? void 0 : _c.IossService) == null ? void 0 : _d.IOSSCertificate) == null ? void 0 : _e.CertificateReferenceId) || ((_h = (_g = (_f = props.globalServices) == null ? void 0 : _f.IossService) == null ? void 0 : _g.IOSSCertificate) == null ? void 0 : _h.RegistrationNumber) || ((_k = (_j = (_i = props.globalServices) == null ? void 0 : _i.IossService) == null ? void 0 : _j.IOSSCertificate) == null ? void 0 : _k.RegistrationDate) ? html`
\n\t\t\t\t\t\t\t\t\t\t
${i18next.t(\"IOSS Number\")}:
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${(_n = (_m = (_l = props.globalServices) == null ? void 0 : _l.IossService) == null ? void 0 : _m.IOSSCertificate) == null ? void 0 : _n.RegistrationNumber}\n\t\t\t\t\t\t\t\t\t\t\t(${formatDate((_q = (_p = (_o = props.globalServices) == null ? void 0 : _o.IossService) == null ? void 0 : _p.IOSSCertificate) == null ? void 0 : _q.RegistrationDate)})\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t${((_t = (_s = (_r = props.globalServices) == null ? void 0 : _r.IossService) == null ? void 0 : _s.IOSSCertificate) == null ? void 0 : _t.CertificateReferenceId) ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadIOSSCertificate(props.globalServices.IossService.Id);\n })}\n\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Country of registration\")}: ${(_u = props.globalServices.IossService.CountryOfRegistration) == null ? void 0 : _u.Code}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.DeregistrationInfo ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t
${i18next.t(\"Deregistered\")}: (${formatDate(props.globalServices.IossService.DeregistrationInfo.DeregisteredAt)})
\n\t\t\t\t\t\t\t\t\t\t\t\t${((_v = props.globalServices.IossService.DeregistrationInfo) == null ? void 0 : _v.DocumentId) ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadIossDeregistrationDocument(props.globalServices.IossService.Id);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t ` : \"\"}` : \"\"}\n\t\t\t\t\t\t${((_w = props.globalServices.IossService.Documents) == null ? void 0 : _w.length) > 0 ? html`
\n\t\t\t\t\t\t\t\t\t
${i18next.t(\"Documents\")}:
\n\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.Documents.some((d) => d.Category === \"RequiredElectronicallyOnly\") ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Required electronically only\")}:\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.Documents.filter((d) => d.Category === \"RequiredElectronicallyOnly\").map(\n (document) => html`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\n )}\n\t\t\t\t\t\t\t\t\t\t\t\t
NameGeneratedSigned
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
${document.Name}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield props.callbackHandler.downloadIOSSRegistrationDocument(\n props.globalServices.IossService.Id,\n document.Id,\n \"Unsigned\"\n );\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${document.SignedDocumentReference ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadIOSSRegistrationDocument(\n props.globalServices.IossService.Id,\n document.Id,\n \"Signed\"\n );\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : html``}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.RegistrationStatus === \"WaitingForSignature\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n setCurrentIOSSRegId(props.globalServices.IossService.Id);\n setCurrentIOSSDocumentId(document.Id);\n setShowSignedIOSSDocumentUploadModal(true);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUpload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.Documents.some((d) => d.Category === \"ForInformationOnly\") ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"For information only\")}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t${props.globalServices.IossService.Documents.filter((d) => d.Category === \"ForInformationOnly\").map(\n (document) => html`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\n )}\n\t\t\t\t\t\t\t\t\t\t\t\t
NameGenerated
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
${document.Name}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield props.callbackHandler.downloadIOSSRegistrationDocument(\n props.globalServices.IossService.Id,\n document.Id,\n \"Unsigned\"\n );\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t${(props == null ? void 0 : props.isAdmin) && ((_z = (_y = (_x = props.globalServices) == null ? void 0 : _x.IossService) == null ? void 0 : _y.Errors) == null ? void 0 : _z.length) > 0 ? html`
\n\t\t\t\t\t\t\t\t\t
${i18next.t(\"Desucla Errors\")}:
\n\t\t\t\t\t\t\t\t\t${(_C = (_B = (_A = props.globalServices) == null ? void 0 : _A.IossService) == null ? void 0 : _B.Errors) == null ? void 0 : _C.map((e) => html`
${e}
`)}\n\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\n\t\t\t ` : \"\";\n const htmlModals = html`${htmlSignedIOSSDocumentUploadModal()} ${commentModal.template()} ${iossModal.template} ${confirmModal.mainTemplate()} ${subCancellationModal.template()}\n\t${deregistrationModal.template}`;\n return { mainTemplate, htmlModals };\n};\n","import { VatIdentificationNumber as AdminVatIdentificationNumber } from \"AdminServices/APIs/self/models/V1/Common\";\nimport { mapBankAccountConfig } from \"./ServicesModels\";\nimport {\n AddCertificateStatusChange as VRAddCertificateStatusChange,\n AddLocalTaxStatusChange as VRAddLocalTaxStatusChange,\n BackToClientStatusChange as VRBackToClientStatusChange,\n BackToGenerateDocsStatusChange as VRBackToGenerateDocsStatusChange,\n BackToTAStatusChange as VRBackToTAStatusChange,\n BackToTranslationStatusChange as VRBackToTranslationStatusChange,\n BackToAddCertificateStatusChange as VRBackToAddCertificateStatusChange,\n BackToAddLocalTaxStatusChange as VRBackToAddLocalTaxStatusChange,\n GenerateDocsStatusChange as VRGenerateDocsStatusChange,\n ReopenStatusChange as VRReopenStatusChange,\n RevokeTranslateStatusChange as VRRevokeTranslateStatusChange,\n ToTAStatusChange as VRToTAStatusChange,\n TranslateStatusChange as VRTranslateStatusChange,\n UploadDocsStatusChange as VRUploadDocsStatusChange,\n DeregistrationInProgressStatusChange as VRDeregistrationInProgressStatusChange,\n DeregisteredStatusChange as VRDeregisteredStatusChange,\n RevokingPoAStatusChange as VRRevokingPoAStatusChange,\n PoaRevokedStatusChange as VRPoaRevokedStatusChange\n} from \"AdminServices/APIs/self/models/V1/Company/VatRegistration\";\nimport i18next from \"i18next\";\nexport const VAT_REG_DOCUMENT_STATUS_TRANSLATIONS = {\n None: i18next.t(\"None\"),\n InProgress: i18next.t(\"In Progress\"),\n Generated: i18next.t(\"Generated\"),\n Error: i18next.t(\"Error\")\n};\nexport const VAT_REG_DOCUMENT_ERROR_TRANSLATIONS = {\n SOMETHING_WENT_WRONG_01: i18next.t(\"Something went wrong\")\n};\nexport const getFrequencyType = (frequencyType) => {\n return frequencyType === \"NotAvailable\" ? void 0 : frequencyType;\n};\nexport const getVatRegistrationStatusChange = (fromStatus, toStatus, comment, registrationCompletedChange, localVatChange, deregistrationChange, poARevokedChange) => {\n const pair = `${fromStatus}-${toStatus}`;\n const factory = {\n \"Pending-WaitingForSignature\": () => new VRGenerateDocsStatusChange(),\n \"WaitingForSignature-DocumentsSigned\": () => new VRUploadDocsStatusChange(),\n \"DocumentsSigned-TranslationInProgress\": () => new VRTranslateStatusChange(),\n \"TranslationInProgress-SentToTA\": () => new VRToTAStatusChange(),\n \"SentToTA-LocalTaxReceived\": () => new VRAddLocalTaxStatusChange({\n LocalVatNumber: localVatChange.LocalVatNumber,\n TaxIdentifier: localVatChange.TaxIdentifier,\n LocalVatRegistrationDate: localVatChange.LocalVatRegistrationDate,\n LocalVATCertificateReferenceId: localVatChange.LocalVATCertificateReferenceId,\n PaymentReference: localVatChange.PaymentReference,\n PrimaryVATFrequencyType: getFrequencyType(localVatChange.PrimaryVATFrequencyType),\n PrimaryVATEFiling: localVatChange.PrimaryVATEFiling,\n PrimaryVATFilingExtension: localVatChange.PrimaryVATFilingExtension,\n SecondaryVATFrequencyType: getFrequencyType(localVatChange.SecondaryVATFrequencyType),\n SecondaryVATEFiling: localVatChange.SecondaryVATEFiling,\n SecondaryVATFilingExtension: localVatChange.SecondaryVATFilingExtension,\n ESLFrequencyType: getFrequencyType(localVatChange.ESLFrequencyType),\n ESLEFiling: localVatChange.ESLEFiling,\n ESLFilingExtension: localVatChange.ESLFilingExtension,\n VLSFrequencyType: getFrequencyType(localVatChange.VLSFrequencyType),\n VLSEFiling: localVatChange.VLSEFiling,\n VLSFilingExtension: localVatChange.VLSFilingExtension,\n IntrastatFrequencyType: getFrequencyType(localVatChange.IntrastatFrequencyType),\n IntrastatEFiling: localVatChange.IntrastatEFiling,\n IntrastatFilingExtension: localVatChange.IntrastatFilingExtension,\n BankAccountConfig: mapBankAccountConfig(localVatChange.BankAccountConfig),\n NotifyUser: localVatChange.sendEmail\n }),\n \"LocalTaxReceived-RegistrationCompleted\": () => new VRAddCertificateStatusChange({\n EUVATCertificateReferenceId: registrationCompletedChange.EUVatCertificate.EUVATCertificateReferenceId,\n EUVatNumber: new AdminVatIdentificationNumber({\n CountryCode: registrationCompletedChange.EUVatCertificate.EUVatNumber.CountryCode,\n VatNumber: registrationCompletedChange.EUVatCertificate.EUVatNumber.VatNumber\n }),\n EUVatRegistrationDate: registrationCompletedChange.EUVatCertificate.EUVatRegistrationDate,\n NotifyUser: registrationCompletedChange.sendEmail\n }),\n \"RegistrationCompleted-LocalTaxReceived\": () => new VRReopenStatusChange(),\n \"LocalTaxReceived-SentToTA\": () => new VRBackToTAStatusChange(),\n \"SentToTA-TranslationInProgress\": () => new VRBackToTranslationStatusChange(),\n \"TranslationInProgress-DocumentsSigned\": () => new VRRevokeTranslateStatusChange(),\n \"DocumentsSigned-WaitingForSignature\": () => new VRBackToClientStatusChange({ Comment: comment }),\n \"WaitingForSignature-Pending\": () => new VRBackToGenerateDocsStatusChange(),\n \"LocalTaxReceived-DeregistrationInProgress\": () => new VRDeregistrationInProgressStatusChange(),\n \"RegistrationCompleted-DeregistrationInProgress\": () => new VRDeregistrationInProgressStatusChange(),\n \"Deregistered-DeregistrationInProgress\": () => new VRDeregistrationInProgressStatusChange(),\n \"DeregistrationInProgress-RegistrationCompleted\": () => new VRBackToAddCertificateStatusChange(),\n \"DeregistrationInProgress-LocalTaxReceived\": () => new VRBackToAddLocalTaxStatusChange(),\n \"DeregistrationInProgress-Deregistered\": () => new VRDeregisteredStatusChange({\n DeregistrationDate: deregistrationChange.DateOfDeregistration,\n DeregistrationConfirmationDocumentId: deregistrationChange.DocumentId\n }),\n \"Deregistered-Pending\": () => new VRBackToGenerateDocsStatusChange(),\n \"LocalTaxReceived-RevokingPoA\": () => new VRRevokingPoAStatusChange(),\n \"RegistrationCompleted-RevokingPoA\": () => new VRRevokingPoAStatusChange(),\n \"PoARevoked-RevokingPoA\": () => new VRRevokingPoAStatusChange(),\n \"RevokingPoA-RegistrationCompleted\": () => new VRBackToAddCertificateStatusChange(),\n \"RevokingPoA-LocalTaxReceived\": () => new VRBackToAddLocalTaxStatusChange(),\n \"RevokingPoA-PoARevoked\": () => new VRPoaRevokedStatusChange({\n DateOfRevocation: poARevokedChange.DateOfRevocation,\n PoaRevocationConfirmationDocumentId: poARevokedChange.DocumentId\n }),\n \"PoARevoked-Pending\": () => new VRBackToGenerateDocsStatusChange()\n };\n return factory[pair]();\n};\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nexport const getAllBankAccountConfigFields = () => {\n return [\"BankAccountRef\", \"BankAccountUrl\", \"BankName\", \"BankAddress\", \"BeneficiaryName\", \"BeneficiaryAddress\", \"Iban\", \"Swift\"];\n};\nexport class BankAccountConfigValidator extends AbstractValidator {\n constructor(bankAccountType) {\n super();\n this.validateIfString((s) => s.BankAccountRef).isNotEmpty().withPropertyName(\"BankAccountRef\").withFailureMessage(\"Required\").when(() => bankAccountType === \"BankAccountRef\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.BankName;\n }).isNotEmpty().withPropertyName(\"BankName\").withFailureMessage(\"Required\").when(() => bankAccountType === \"Manual\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.BankName;\n }).hasMaxLength(255).withPropertyName(\"BankName\").withFailureMessage(\"Maximum 255 characters\").when(() => bankAccountType === \"Manual\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.BankAddress;\n }).hasMaxLength(255).withPropertyName(\"BankAddress\").withFailureMessage(\"Maximum 255 characters\").when((s) => {\n var _a;\n return bankAccountType === \"Manual\" && ((_a = s.BankAccount) == null ? void 0 : _a.BankAddress) !== void 0;\n });\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.BeneficiaryName;\n }).hasMaxLength(255).withPropertyName(\"BeneficiaryName\").withFailureMessage(\"Maximum 255 characters\").when((s) => {\n var _a;\n return bankAccountType === \"Manual\" && ((_a = s.BankAccount) == null ? void 0 : _a.BeneficiaryName) !== void 0;\n });\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.BeneficiaryAddress;\n }).hasMaxLength(255).withPropertyName(\"BeneficiaryAddress\").withFailureMessage(\"Maximum 255 characters\").when((s) => {\n var _a;\n return bankAccountType === \"Manual\" && ((_a = s.BankAccount) == null ? void 0 : _a.BeneficiaryAddress) !== void 0;\n });\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.Swift;\n }).isNotEmpty().withPropertyName(\"Swift\").withFailureMessage(\"Required\").when(() => bankAccountType === \"Manual\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.Swift;\n }).hasMaxLength(11).withPropertyName(\"Swift\").withFailureMessage(\"Maximum 11 characters\").when(() => bankAccountType === \"Manual\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.Iban;\n }).isNotEmpty().withPropertyName(\"Iban\").withFailureMessage(\"Required\").when(() => bankAccountType === \"Manual\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.BankAccount) == null ? void 0 : _a.Iban;\n }).hasMaxLength(34).withPropertyName(\"Iban\").withFailureMessage(\"Maximum 34 characters\").when(() => bankAccountType === \"Manual\");\n this.validateIfString((s) => s.BankAccountUrl).isNotEmpty().withPropertyName(\"BankAccountUrl\").withFailureMessage(\"Required\").when(() => bankAccountType === \"BankAccountUrl\");\n this.validateIfString((s) => s.BankAccountUrl).hasMaxLength(255).withPropertyName(\"BankAccountUrl\").withFailureMessage(\"Maximum 255 characters\").when(() => bankAccountType === \"BankAccountUrl\");\n }\n validateAllFields(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { BankAccountConfigValidator, getAllBankAccountConfigFields } from \"./BankAccountConfigValidator\";\nexport const useBankAccountForm = (props) => {\n const manualIbanCountries = [\"PL\", \"SK\"];\n const getBankAccountType = () => {\n if (props === void 0) {\n return void 0;\n }\n if (props.serviceCountryCode === \"DE\") {\n return \"BankAccountUrl\";\n }\n if (manualIbanCountries.includes(props.serviceCountryCode)) {\n return \"Manual\";\n }\n return \"BankAccountRef\";\n };\n const getBankAccountsDataSource = () => {\n if (props.predefinedBankAccounts) {\n return props.predefinedBankAccounts.filter((pba) => pba.CountryCode === props.serviceCountryCode && (pba.EstablishmentCountryIsInEU === void 0 || pba.EstablishmentCountryIsInEU === props.isInEu)).map((pba) => ({\n label: `${pba.BankName} ${pba.BeneficiaryName ? `(${pba.BeneficiaryName})` : \"\"}`,\n value: pba.Id\n }));\n } else {\n return [];\n }\n };\n const [bankAccountConfig, setBankAccountConfig] = useState({});\n const bankAccountConfigValidationContext = useValidationContext(new BankAccountConfigValidator(getBankAccountType()));\n useEffect(() => {\n var _a, _b, _c;\n if (props == null ? void 0 : props.serviceCountryCode) {\n if (manualIbanCountries.includes(props == null ? void 0 : props.serviceCountryCode)) {\n if (props == null ? void 0 : props.predefinedBankAccounts) {\n const manualIbanPredefinedBankAccount = props.predefinedBankAccounts.find((b) => b.CountryCode === props.serviceCountryCode);\n if (manualIbanPredefinedBankAccount) {\n setBankAccountConfig(__spreadProps(__spreadValues({}, props.bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, (_a = props.bankAccountConfig) == null ? void 0 : _a.BankAccount), {\n BankAccountId: manualIbanPredefinedBankAccount.Id,\n BankName: manualIbanPredefinedBankAccount.BankName,\n Swift: manualIbanPredefinedBankAccount.Swift,\n BankAddress: manualIbanPredefinedBankAccount.BankAddress,\n BeneficiaryAddress: manualIbanPredefinedBankAccount.BeneficiaryAddress,\n BeneficiaryName: manualIbanPredefinedBankAccount.BeneficiaryName,\n Iban: (_c = (_b = props.bankAccountConfig) == null ? void 0 : _b.BankAccount) == null ? void 0 : _c.Iban\n })\n }));\n }\n }\n } else if (props == null ? void 0 : props.bankAccountConfig) {\n setBankAccountConfig(props.bankAccountConfig);\n }\n }\n }, [props == null ? void 0 : props.bankAccountConfig, props == null ? void 0 : props.predefinedBankAccounts, props == null ? void 0 : props.serviceCountryCode]);\n const htmlTemplate = () => {\n var _a, _b, _c, _d, _e, _f;\n return html`
\n\t\t\t${getBankAccountType() === \"BankAccountRef\" ? html`
\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"BankAccountRef\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccountRef: e.detail.selectedValue\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t
` : \"\"}\n\t\t\t${getBankAccountType() === \"BankAccountUrl\" ? html`
\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"BankAccountUrl\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccountUrl: e.detail.value\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t
` : \"\"}\n\t\t\t${getBankAccountType() === \"Manual\" ? html`
\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"BankName\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, bankAccountConfig.BankAccount), {\n BankName: e.detail.value\n })\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"BankAddress\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, bankAccountConfig.BankAccount), {\n BankAddress: e.detail.value\n })\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"BeneficiaryName\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, bankAccountConfig.BankAccount), {\n BeneficiaryName: e.detail.value\n })\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"BeneficiaryAddress\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, bankAccountConfig.BankAccount), {\n BeneficiaryAddress: e.detail.value\n })\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"Swift\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, bankAccountConfig.BankAccount), {\n Swift: e.detail.value\n })\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n bankAccountConfigValidationContext.validateField(\"Iban\");\n setBankAccountConfig(__spreadProps(__spreadValues({}, bankAccountConfig), {\n BankAccount: __spreadProps(__spreadValues({}, bankAccountConfig.BankAccount), {\n Iban: e.detail.value\n })\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t
` : \"\"}\n\t\t
`;\n };\n return { template: htmlTemplate, bankAccountConfig, setBankAccountConfig, bankAccountConfigValidationContext };\n};\nexport const useBankAccountModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [dispatchIfBankAccountIsValid, setDispatchIfBankAccountIsValid] = useState(false);\n const form = useBankAccountForm(props);\n const save = () => __async(void 0, null, function* () {\n form.setBankAccountConfig(__spreadValues({}, form.bankAccountConfig));\n form.bankAccountConfigValidationContext.validateFields(getAllBankAccountConfigFields());\n setDispatchIfBankAccountIsValid(true);\n });\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => {\n if (showModal) {\n form.bankAccountConfigValidationContext.clearFieldValidations();\n }\n }, [showModal]);\n useEffect(() => __async(void 0, null, function* () {\n if (dispatchIfBankAccountIsValid) {\n setDispatchIfBankAccountIsValid(false);\n if (form.bankAccountConfigValidationContext.validationResult.isValid()) {\n yield props.save(form.bankAccountConfig);\n setShowModal(false);\n }\n }\n }), [form.bankAccountConfigValidationContext.validationResult]);\n useEffect(() => {\n if (form.bankAccountConfig !== void 0) {\n form.bankAccountConfigValidationContext.validate(form.bankAccountConfig);\n }\n }, [form.bankAccountConfig]);\n const template = () => {\n return html`${showModal ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t\t.header=${\"Edit bank account config\"}\n\t\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t\t${form.template()}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield save();\n })}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t ` : html``}`;\n };\n return { show, template };\n};\n","export const getPrimaryVatFrequencyOptions = (submissionConfig, serviceCountryCode, primaryVATFrequencyType) => {\n const primaryVatEFilingOptions = getEFilingOptions(submissionConfig, serviceCountryCode, \"PrimaryVAT\", primaryVATFrequencyType);\n const primaryVatFilingExtensionOptions = getFilingExtensionOptions(submissionConfig, serviceCountryCode, \"PrimaryVAT\", primaryVATFrequencyType);\n return {\n primaryVatEFilingOptions,\n primaryVatFilingExtensionOptions\n };\n};\nexport const getSecondaryVatFrequencyOptions = (submissionConfig, serviceCountryCode, secondaryVATFrequencyType) => {\n const secondaryVatEFilingOptions = getEFilingOptions(submissionConfig, serviceCountryCode, \"SecondaryVAT\", secondaryVATFrequencyType);\n const secondaryVatFilingExtensionOptions = getFilingExtensionOptions(submissionConfig, serviceCountryCode, \"SecondaryVAT\", secondaryVATFrequencyType);\n return {\n secondaryVatEFilingOptions,\n secondaryVatFilingExtensionOptions\n };\n};\nexport const getVlsFrequencyOptions = (submissionConfig, serviceCountryCode, vlsFrequencyType) => {\n const vlsEFilingOptions = getEFilingOptions(submissionConfig, serviceCountryCode, \"VLS\", vlsFrequencyType);\n const vlsFilingExtensionOptions = getFilingExtensionOptions(submissionConfig, serviceCountryCode, \"VLS\", vlsFrequencyType);\n return {\n vlsEFilingOptions,\n vlsFilingExtensionOptions\n };\n};\nexport const getEslFrequencyOptions = (submissionConfig, serviceCountryCode, eslFrequencyType) => {\n const eslEFilingOptions = getEFilingOptions(submissionConfig, serviceCountryCode, \"ESL\", eslFrequencyType);\n const eslFilingExtensionOptions = getFilingExtensionOptions(submissionConfig, serviceCountryCode, \"ESL\", eslFrequencyType);\n return {\n eslEFilingOptions,\n eslFilingExtensionOptions\n };\n};\nexport const getIntrastatFrequencyOptions = (submissionConfig, serviceCountryCode, intrastatFrequencyType) => {\n const intrastatEFilingOptions = getEFilingOptions(submissionConfig, serviceCountryCode, \"Intrastat\", intrastatFrequencyType);\n const intrastatFilingExtensionOptions = getFilingExtensionOptions(submissionConfig, serviceCountryCode, \"Intrastat\", intrastatFrequencyType);\n return {\n intrastatEFilingOptions,\n intrastatFilingExtensionOptions\n };\n};\nexport const getFrequencyDataSource = (submissionConfig, serviceCountryCode, returnType) => {\n var _a;\n if (submissionConfig === void 0) {\n return [];\n }\n return (_a = submissionConfig.Frequencies) == null ? void 0 : _a.filter((freq) => freq.ReturnType === returnType && freq.CountryCode === serviceCountryCode).reduce((aggr, curr) => {\n if (!aggr.includes(curr.FrequencyType)) {\n return aggr.concat([curr.FrequencyType]);\n } else {\n return aggr;\n }\n }, []);\n};\nexport const canHavePaymentReference = (countryCode) => {\n return [\"BE\", \"FI\", \"SE\", \"DE\"].includes(countryCode);\n};\nconst getEFilingOptions = (submissionConfig, serviceCountryCode, returnType, frequencyType) => {\n if (submissionConfig === void 0) {\n return [];\n }\n return submissionConfig.Frequencies.filter((f) => f.CountryCode === serviceCountryCode && f.ReturnType === returnType && f.FrequencyType === frequencyType).reduce((aggr, curr) => {\n if (curr.EFiling && !aggr.includes(\"Yes\")) {\n return aggr.concat([\"Yes\"]);\n }\n if (!curr.EFiling && !aggr.includes(\"No\")) {\n return aggr.concat([\"No\"]);\n }\n return aggr;\n }, []);\n};\nconst getFilingExtensionOptions = (submissionConfig, serviceCountryCode, returnType, frequencyType) => {\n if (submissionConfig === void 0) {\n return [];\n }\n return submissionConfig.Frequencies.filter((f) => f.CountryCode === serviceCountryCode && f.ReturnType === returnType && f.FrequencyType === frequencyType).reduce((aggr, curr) => {\n if (curr.FilingExtension && !aggr.includes(\"Yes\")) {\n return aggr.concat([\"Yes\"]);\n }\n if (!curr.FilingExtension && !aggr.includes(\"No\")) {\n return aggr.concat([\"No\"]);\n }\n return aggr;\n }, []);\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useLoadingReducer, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport i18next from \"i18next\";\nimport { toSafeNumber } from \"GlobalShared/helpers/numberHelper\";\nimport {\n getEslFrequencyOptions,\n getFrequencyDataSource,\n getIntrastatFrequencyOptions,\n getPrimaryVatFrequencyOptions,\n getSecondaryVatFrequencyOptions,\n getVlsFrequencyOptions\n} from \"./service-helpers\";\nimport { mapBooleanToState, mapStateToBoolean } from \"GlobalShared/helpers/booleanHelper\";\nexport const useFrequencyModal = (props) => {\n const save = () => __async(void 0, null, function* () {\n if (validateAllFields()) {\n const newFrequencyConfigs = frequencies.filter((f) => f.Id === void 0);\n const frequencyConfigIdsToBeRemoved = props.currentFrequencies.filter((cf) => !frequencies.some((f) => f.Id === cf.Id)).map((f) => f.Id);\n if (newFrequencyConfigs.length > 0 || frequencyConfigIdsToBeRemoved.length > 0) {\n try {\n dispatchLoading(\"inc\");\n yield props.save(sendEmail, newFrequencyConfigs, frequencyConfigIdsToBeRemoved);\n } finally {\n dispatchLoading(\"dec\");\n }\n }\n setShowModal(false);\n }\n });\n const addFrequency = () => {\n const now = /* @__PURE__ */ new Date();\n setFrequencies(\n frequencies.concat([\n {\n FrequencyType: void 0,\n EFiling: void 0,\n FilingExtension: void 0,\n ValidFromYear: now.getFullYear(),\n ValidFromMonth: now.getMonth() + 1,\n validationMessages: {}\n }\n ])\n );\n };\n const removeFrequency = (index) => {\n setFrequencies(frequencies.filter((_, i) => i !== index));\n };\n const validateAllFields = () => {\n let isValid = true;\n const now = /* @__PURE__ */ new Date();\n const currentYear = now.getFullYear();\n const currentMonth = now.getMonth() + 1;\n setGeneralValidationMessage(void 0);\n if (frequencies.filter((freq) => freq.ValidFromYear <= currentYear || freq.ValidFromYear === currentYear && freq.ValidFromMonth <= currentMonth).length === 0) {\n isValid = false;\n setGeneralValidationMessage(\"At least one frequency must be valid for the current period\");\n }\n setFrequencies(\n frequencies.map((f) => {\n const { eFilingOptions, filingExtensionOptions } = getFrequencyOptions(f.FrequencyType);\n for (const fieldType of [\"Freq\", \"ValidFromMonth\", \"ValidFromYear\", \"EFiling\", \"FilingExtension\"]) {\n const validationMessage = getValidationMessage(f, fieldType, eFilingOptions, filingExtensionOptions);\n isValid = isValid && validationMessage === void 0;\n f.validationMessages[fieldType] = validationMessage;\n }\n return f;\n })\n );\n return isValid;\n };\n const changeField = (index, changeFunc) => {\n setFrequencies(\n frequencies.map((f, i) => {\n return i === index ? changeFunc(f) : f;\n })\n );\n };\n const getValidationMessage = (obj, fieldType, eFilingOptions, filingExtensionOptions) => {\n let validationMessage;\n if (fieldType === \"Freq\") {\n if (obj.FrequencyType === void 0) {\n validationMessage = \"Required\";\n }\n }\n if (fieldType === \"ValidFromYear\") {\n if (obj.ValidFromYear === void 0) {\n validationMessage = \"Required\";\n } else if (obj.ValidFromYear < 1900 || obj.ValidFromYear > 2100) {\n validationMessage = \"Must be between 1900 and 2100\";\n }\n }\n if (fieldType === \"ValidFromMonth\") {\n if (obj.ValidFromMonth === void 0) {\n validationMessage = \"Required\";\n } else if (obj.ValidFromMonth < 1 || obj.ValidFromMonth > 12) {\n validationMessage = \"Must be between 1 and 12\";\n }\n }\n if (fieldType === \"EFiling\") {\n if (obj.EFiling === void 0 && eFilingOptions.length > 0) {\n validationMessage = \"Required\";\n }\n }\n if (fieldType === \"FilingExtension\") {\n if (obj.FilingExtension === void 0 && filingExtensionOptions.length > 0) {\n validationMessage = \"Required\";\n }\n }\n return validationMessage;\n };\n const getFrequencyOptions = (frequencyType) => {\n let eFilingOptions;\n let filingExtensionOptions;\n if (props.returnType === \"PrimaryVAT\") {\n const { primaryVatEFilingOptions, primaryVatFilingExtensionOptions } = getPrimaryVatFrequencyOptions(props.submissionConfig, props.serviceCountryCode, frequencyType);\n eFilingOptions = primaryVatEFilingOptions;\n filingExtensionOptions = primaryVatFilingExtensionOptions;\n }\n if (props.returnType === \"VLS\") {\n const { vlsEFilingOptions, vlsFilingExtensionOptions } = getVlsFrequencyOptions(props.submissionConfig, props.serviceCountryCode, frequencyType);\n eFilingOptions = vlsEFilingOptions;\n filingExtensionOptions = vlsFilingExtensionOptions;\n }\n if (props.returnType === \"ESL\") {\n const { eslEFilingOptions, eslFilingExtensionOptions } = getEslFrequencyOptions(props.submissionConfig, props.serviceCountryCode, frequencyType);\n eFilingOptions = eslEFilingOptions;\n filingExtensionOptions = eslFilingExtensionOptions;\n }\n if (props.returnType === \"SecondaryVAT\") {\n const { secondaryVatEFilingOptions, secondaryVatFilingExtensionOptions } = getSecondaryVatFrequencyOptions(props.submissionConfig, props.serviceCountryCode, frequencyType);\n eFilingOptions = secondaryVatEFilingOptions;\n filingExtensionOptions = secondaryVatFilingExtensionOptions;\n }\n if (props.returnType === \"Intrastat\") {\n const { intrastatEFilingOptions, intrastatFilingExtensionOptions } = getIntrastatFrequencyOptions(props.submissionConfig, props.serviceCountryCode, frequencyType);\n eFilingOptions = intrastatEFilingOptions;\n filingExtensionOptions = intrastatFilingExtensionOptions;\n }\n return { eFilingOptions, filingExtensionOptions };\n };\n const showToggle = (options, val, defaultValue) => {\n return options.length === 1 && val !== void 0 && val !== defaultValue || options.length === 2;\n };\n const [frequencyDataSource, setFrequencyDataSource] = useState([]);\n const [frequencies, setFrequencies] = useState(void 0);\n const [generalValidationMessage, setGeneralValidationMessage] = useState(void 0);\n const [sendEmail, setSendEmail] = useState(true);\n const [showModal, setShowModal] = useState(false);\n const [loading, dispatchLoading] = useLoadingReducer();\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => {\n if (props !== void 0 && props.currentFrequencies !== void 0) {\n if (props.returnType === \"PrimaryVAT\") {\n setFrequencyDataSource(getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"PrimaryVAT\"));\n } else if (props.returnType === \"VLS\") {\n setFrequencyDataSource(getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"VLS\"));\n } else if (props.returnType === \"ESL\") {\n setFrequencyDataSource(getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"ESL\"));\n } else if (props.returnType === \"SecondaryVAT\") {\n setFrequencyDataSource(getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"SecondaryVAT\"));\n } else if (props.returnType === \"Intrastat\") {\n setFrequencyDataSource(getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"Intrastat\"));\n } else {\n setFrequencyDataSource([]);\n }\n setGeneralValidationMessage(void 0);\n setFrequencies(props.currentFrequencies.map((f) => __spreadProps(__spreadValues({}, f), { validationMessages: {} })));\n setSendEmail(true);\n }\n }, [props]);\n const template = () => {\n return html`${showModal ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t\t.header=${`Edit ${props.returnType} frequency`}\n\t\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t${frequencies == null ? void 0 : frequencies.map((freq, i) => {\n const { eFilingOptions, filingExtensionOptions } = getFrequencyOptions(freq.FrequencyType);\n return html`
\n\t\t\t\t\t\t\t\t\t\t\t {\n changeField(i, (f) => {\n const newFreqType = e.detail.selectedValue;\n const options = getFrequencyOptions(newFreqType);\n const newFreq = __spreadProps(__spreadValues({}, f), {\n FrequencyType: newFreqType,\n EFiling: options.eFilingOptions.length === 1 ? options.eFilingOptions[0] === \"Yes\" : void 0,\n FilingExtension: options.filingExtensionOptions.length === 1 ? options.filingExtensionOptions[0] === \"Yes\" : void 0\n });\n newFreq.validationMessages.Freq = getValidationMessage(newFreq, \"Freq\", eFilingOptions, filingExtensionOptions);\n return newFreq;\n });\n }}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t {\n changeField(i, (f) => {\n const newFreq = __spreadProps(__spreadValues({}, f), {\n ValidFromYear: toSafeNumber(e.detail.value)\n });\n newFreq.validationMessages.ValidFromYear = getValidationMessage(newFreq, \"ValidFromYear\", eFilingOptions, filingExtensionOptions);\n return newFreq;\n });\n }}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t {\n changeField(i, (f) => {\n const newFreq = __spreadProps(__spreadValues({}, f), {\n ValidFromMonth: toSafeNumber(e.detail.value)\n });\n newFreq.validationMessages.ValidFromMonth = getValidationMessage(newFreq, \"ValidFromMonth\", eFilingOptions, filingExtensionOptions);\n return newFreq;\n });\n }}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t${showToggle(eFilingOptions, freq.EFiling, true) ? html` {\n changeField(i, (f) => {\n const newFreq = __spreadProps(__spreadValues({}, f), {\n EFiling: mapStateToBoolean(e.detail.state)\n });\n newFreq.validationMessages.EFiling = getValidationMessage(newFreq, \"EFiling\", eFilingOptions, filingExtensionOptions);\n return newFreq;\n });\n }}\n\t\t\t\t\t\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${showToggle(filingExtensionOptions, freq.FilingExtension, false) ? html` {\n changeField(i, (f) => {\n const newFreq = __spreadProps(__spreadValues({}, f), {\n FilingExtension: mapStateToBoolean(e.detail.state)\n });\n newFreq.validationMessages.FilingExtension = getValidationMessage(newFreq, \"FilingExtension\", eFilingOptions, filingExtensionOptions);\n return newFreq;\n });\n }}\n\t\t\t\t\t\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
`;\n })}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t${generalValidationMessage ? html`
${generalValidationMessage}
` : \"\"}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t {\n setSendEmail(e.detail.checked);\n }}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t 0}\n\t\t\t\t\t\t\t\t\t\t@click=${() => __async(void 0, null, function* () {\n yield save();\n })}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t ` : html``}`;\n };\n return { show, template };\n};\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nimport { canHavePaymentReference, getFrequencyDataSource } from \"../services/service-helpers\";\nexport const getLocalVatChangeFields = () => {\n return [\n \"LocalVATCertificateReferenceId\",\n \"LocalVatNumber\",\n \"TaxIdentifier\",\n \"LocalVatRegistrationDate\",\n \"PaymentReference\",\n \"PrimaryVatFrequency\",\n \"SecondaryVatFrequency\",\n \"VlsFrequency\",\n \"EslFrequency\",\n \"IntrastatFrequency\",\n \"PrimaryVatEFiling\",\n \"SecondaryVatEFiling\",\n \"PrimaryVatFilingExtension\",\n \"SecondaryVatFilingExtension\",\n \"VlsEFiling\",\n \"VlsFilingExtension\",\n \"EslEFiling\",\n \"EslFilingExtension\",\n \"IntrastatEFiling\",\n \"IntrastatFilingExtension\"\n ];\n};\nexport class LocalVatChangeValidator extends AbstractValidator {\n constructor(submissionConfig, serviceCountryCode, hasIntrastatSubscription) {\n super();\n this.validateIfString((s) => s.LocalVATCertificateReferenceId).isNotEmpty().withPropertyName(\"LocalVATCertificateReferenceId\").withFailureMessage(\"Required\");\n this.validateIfString((s) => s.LocalVatNumber).isNotEmpty().withPropertyName(\"LocalVatNumber\").withFailureMessage(\"Required\");\n this.validateIfString((s) => s.TaxIdentifier).isNotEmpty().withPropertyName(\"TaxIdentifier\").withFailureMessage(\"Required\").when((_) => serviceCountryCode === \"IT\");\n this.validateIfString((s) => s.TaxIdentifier).hasMaxLength(50).withPropertyName(\"TaxIdentifier\").withFailureMessage(\"Maximum length is 50 characters\").when((_) => serviceCountryCode === \"IT\");\n this.validateIfDate((s) => s.LocalVatRegistrationDate).isNotEmpty().withPropertyName(\"LocalVatRegistrationDate\").withFailureMessage(\"Required\");\n this.validateIfString((s) => s.PaymentReference).isNotEmpty().withPropertyName(\"PaymentReference\").withFailureMessage(\"Required\").when((_) => canHavePaymentReference(serviceCountryCode));\n this.validateIfString((s) => s.PrimaryVATFrequencyType).isNotEmpty().withPropertyName(\"PrimaryVatFrequency\").withFailureMessage(\"Required\").when((_) => getFrequencyDataSource(submissionConfig, serviceCountryCode, \"PrimaryVAT\").length > 0);\n this.validateIfString((s) => s.SecondaryVATFrequencyType).isNotEmpty().withPropertyName(\"SecondaryVatFrequency\").withFailureMessage(\"Required\").when((_) => getFrequencyDataSource(submissionConfig, serviceCountryCode, \"SecondaryVAT\").length > 0);\n this.validateIfString((s) => s.VLSFrequencyType).isNotEmpty().withPropertyName(\"VlsFrequency\").withFailureMessage(\"Required\").when((_) => getFrequencyDataSource(submissionConfig, serviceCountryCode, \"VLS\").length > 0);\n this.validateIfString((s) => s.ESLFrequencyType).isNotEmpty().withPropertyName(\"EslFrequency\").withFailureMessage(\"Required\").when((_) => getFrequencyDataSource(submissionConfig, serviceCountryCode, \"ESL\").length > 0);\n this.validateIfString((s) => s.IntrastatFrequencyType).isNotEmpty().withPropertyName(\"IntrastatFrequency\").withFailureMessage(\"Required\").when((_) => hasIntrastatSubscription && getFrequencyDataSource(submissionConfig, serviceCountryCode, \"Intrastat\").length > 0);\n this.validateIf((s) => s.PrimaryVATEFiling).isNotEmpty().withPropertyName(\"PrimaryVatEFiling\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.primaryVatEFilingOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.PrimaryVATFilingExtension).isNotEmpty().withPropertyName(\"PrimaryVatFilingExtension\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.primaryVatFilingExtensionOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.SecondaryVATFilingExtension).isNotEmpty().withPropertyName(\"SecondaryVatFilingExtension\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.secondaryVatFilingExtensionOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.SecondaryVATEFiling).isNotEmpty().withPropertyName(\"SecondaryVatEFiling\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.secondaryVatEFilingOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.VLSEFiling).isNotEmpty().withPropertyName(\"VlsEFiling\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.vlsEFilingOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.VLSFilingExtension).isNotEmpty().withPropertyName(\"VlsFilingExtension\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.vlsFilingExtensionOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.ESLEFiling).isNotEmpty().withPropertyName(\"ESLEFiling\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.eslEFilingOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.ESLFilingExtension).isNotEmpty().withPropertyName(\"ESLFilingExtension\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.eslFilingExtensionOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.IntrastatEFiling).isNotEmpty().withPropertyName(\"IntrastatEFiling\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.intrastatEFilingOptions) == null ? void 0 : _a.length) > 0;\n });\n this.validateIf((s) => s.IntrastatFilingExtension).isNotEmpty().withPropertyName(\"IntrastatFilingExtension\").withFailureMessage(\"Required\").when((s) => {\n var _a;\n return ((_a = s.intrastatFilingExtensionOptions) == null ? void 0 : _a.length) > 0;\n });\n }\n validateAllFields(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { useBankAccountForm } from \"../services/bank-account-modal\";\nimport { mapBooleanToState, mapStateToBoolean } from \"GlobalShared/helpers/booleanHelper\";\nimport { getAllBankAccountConfigFields } from \"../services/BankAccountConfigValidator\";\nimport {\n canHavePaymentReference,\n getEslFrequencyOptions,\n getFrequencyDataSource,\n getIntrastatFrequencyOptions,\n getPrimaryVatFrequencyOptions,\n getSecondaryVatFrequencyOptions,\n getVlsFrequencyOptions\n} from \"../services/service-helpers\";\nimport { getLocalVatChangeFields, LocalVatChangeValidator } from \"./LocalVatChangeValidator\";\nimport { isEuCountry } from \"GlobalShared/helpers/countryHelper\";\nimport { ONLY_PDF_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nconst DEFAULT_LOCAL_VAT_CHANGE = {\n LocalVATCertificateReferenceId: void 0,\n LocalVatNumber: void 0,\n TaxIdentifier: void 0,\n LocalVatRegistrationDate: void 0,\n PaymentReference: void 0,\n PrimaryVATFrequencyType: void 0,\n PrimaryVATEFiling: void 0,\n PrimaryVATFilingExtension: void 0,\n SecondaryVATFrequencyType: void 0,\n SecondaryVATEFiling: void 0,\n SecondaryVATFilingExtension: void 0,\n VLSFrequencyType: void 0,\n VLSEFiling: void 0,\n VLSFilingExtension: void 0,\n ESLFrequencyType: void 0,\n ESLEFiling: void 0,\n ESLFilingExtension: void 0,\n IntrastatFrequencyType: void 0,\n IntrastatEFiling: void 0,\n IntrastatFilingExtension: void 0,\n primaryVatEFilingOptions: [],\n primaryVatFilingExtensionOptions: [],\n secondaryVatEFilingOptions: [],\n secondaryVatFilingExtensionOptions: [],\n eslEFilingOptions: [],\n eslFilingExtensionOptions: [],\n vlsEFilingOptions: [],\n vlsFilingExtensionOptions: [],\n intrastatEFilingOptions: [],\n intrastatFilingExtensionOptions: [],\n sendEmail: true\n};\nexport const useVatRegLocalVatModal = (props) => {\n const showToggle = (options, val, defaultValue) => {\n return options.length === 1 && val !== void 0 && val !== defaultValue || options.length === 2;\n };\n const save = () => __async(void 0, null, function* () {\n setLocalVatChange(__spreadValues({}, localVatChange));\n bankAccountForm.setBankAccountConfig(__spreadValues({}, bankAccountForm.bankAccountConfig));\n localVatChangeValidationContext.validateFields(getLocalVatChangeFields());\n bankAccountForm.bankAccountConfigValidationContext.validateFields(getAllBankAccountConfigFields());\n setDispatchIfLocalVatChangeIsValid(true);\n });\n const show = () => {\n setShowModal(true);\n };\n const calculatePrimaryVATFrequencyOptions = (primaryVATFrequencyType) => {\n if (primaryVATFrequencyType) {\n let newPrimaryVatEFiling = void 0;\n let newPrimaryVatFilingExtension = void 0;\n const options = getPrimaryVatFrequencyOptions(props.submissionConfig, props.serviceCountryCode, primaryVATFrequencyType);\n if (options.primaryVatEFilingOptions.length === 1) {\n newPrimaryVatEFiling = options.primaryVatEFilingOptions[0] === \"Yes\";\n }\n if (options.primaryVatFilingExtensionOptions.length === 1) {\n newPrimaryVatFilingExtension = options.primaryVatFilingExtensionOptions[0] === \"Yes\";\n }\n return {\n primaryVatEFilingOptions: options.primaryVatEFilingOptions,\n primaryVatFilingExtensionOptions: options.primaryVatFilingExtensionOptions,\n PrimaryVATEFiling: newPrimaryVatEFiling,\n PrimaryVATFilingExtension: newPrimaryVatFilingExtension\n };\n } else {\n return {\n primaryVatEFilingOptions: [],\n primaryVatFilingExtensionOptions: [],\n PrimaryVATEFiling: void 0,\n PrimaryVATFilingExtension: void 0\n };\n }\n };\n const calculateSecondaryVATFrequencyOptions = (secondaryVATFrequencyType) => {\n if (secondaryVATFrequencyType) {\n let newSecondaryVatEFiling = void 0;\n let newSecondaryVatFilingExtension = void 0;\n const options = getSecondaryVatFrequencyOptions(props.submissionConfig, props.serviceCountryCode, secondaryVATFrequencyType);\n if (options.secondaryVatEFilingOptions.length === 1) {\n newSecondaryVatEFiling = options.secondaryVatEFilingOptions[0] === \"Yes\";\n }\n if (options.secondaryVatFilingExtensionOptions.length === 1) {\n newSecondaryVatFilingExtension = options.secondaryVatFilingExtensionOptions[0] === \"Yes\";\n }\n return {\n secondaryVatEFilingOptions: options.secondaryVatEFilingOptions,\n secondaryVatFilingExtensionOptions: options.secondaryVatFilingExtensionOptions,\n SecondaryVATEFiling: newSecondaryVatEFiling,\n SecondaryVATFilingExtension: newSecondaryVatFilingExtension\n };\n } else {\n return {\n secondaryVatEFilingOptions: [],\n secondaryVatFilingExtensionOptions: [],\n SecondaryVATEFiling: void 0,\n SecondaryVATFilingExtension: void 0\n };\n }\n };\n const calculateVLSFrequencyOptions = (vlsFrequencyType) => {\n if (vlsFrequencyType) {\n let newVLSEFiling = void 0;\n let newVLSFilingExtension = void 0;\n const options = getVlsFrequencyOptions(props.submissionConfig, props.serviceCountryCode, vlsFrequencyType);\n if (options.vlsEFilingOptions.length === 1) {\n newVLSEFiling = options.vlsEFilingOptions[0] === \"Yes\";\n }\n if (options.vlsFilingExtensionOptions.length === 1) {\n newVLSFilingExtension = options.vlsFilingExtensionOptions[0] === \"Yes\";\n }\n return {\n vlsEFilingOptions: options.vlsEFilingOptions,\n vlsFilingExtensionOptions: options.vlsFilingExtensionOptions,\n VLSEFiling: newVLSEFiling,\n VLSFilingExtension: newVLSFilingExtension\n };\n } else {\n return {\n vlsEFilingOptions: [],\n vlsFilingExtensionOptions: [],\n VLSEFiling: void 0,\n VLSFilingExtension: void 0\n };\n }\n };\n const calculateESLFrequencyOptions = (eslFrequencyType) => {\n if (eslFrequencyType) {\n let newESLEFiling = void 0;\n let newESLFilingExtension = void 0;\n const options = getEslFrequencyOptions(props.submissionConfig, props.serviceCountryCode, eslFrequencyType);\n if (options.eslEFilingOptions.length === 1) {\n newESLEFiling = options.eslEFilingOptions[0] === \"Yes\";\n }\n if (options.eslFilingExtensionOptions.length === 1) {\n newESLFilingExtension = options.eslFilingExtensionOptions[0] === \"Yes\";\n }\n return {\n eslEFilingOptions: options.eslEFilingOptions,\n eslFilingExtensionOptions: options.eslFilingExtensionOptions,\n ESLEFiling: newESLEFiling,\n ESLFilingExtension: newESLFilingExtension\n };\n } else {\n return {\n eslEFilingOptions: [],\n eslFilingExtensionOptions: [],\n ESLEFiling: void 0,\n ESLFilingExtension: void 0\n };\n }\n };\n const calculateIntrastatFrequencyOptions = (intrastatFrequencyType) => {\n if (intrastatFrequencyType) {\n let newIntrastatEFiling = void 0;\n let newIntrastatFilingExtension = void 0;\n const options = getIntrastatFrequencyOptions(props.submissionConfig, props.serviceCountryCode, intrastatFrequencyType);\n if (options.intrastatEFilingOptions.length === 1) {\n newIntrastatEFiling = options.intrastatEFilingOptions[0] === \"Yes\";\n }\n if (options.intrastatFilingExtensionOptions.length === 1) {\n newIntrastatFilingExtension = options.intrastatFilingExtensionOptions[0] === \"Yes\";\n }\n return {\n intrastatEFilingOptions: options.intrastatEFilingOptions,\n intrastatFilingExtensionOptions: options.intrastatFilingExtensionOptions,\n IntrastatEFiling: newIntrastatEFiling,\n IntrastatFilingExtension: newIntrastatFilingExtension\n };\n } else {\n return {\n intrastatEFilingOptions: [],\n intrastatFilingExtensionOptions: [],\n IntrastatEFiling: void 0,\n IntrastatFilingExtension: void 0\n };\n }\n };\n const [showModal, setShowModal] = useState(false);\n const [localVatChange, setLocalVatChange] = useState(DEFAULT_LOCAL_VAT_CHANGE);\n const [primaryVatFrequencies, setPrimaryVatFrequencies] = useState([]);\n const [secondaryVatFrequencies, setSecondaryVatFrequencies] = useState([]);\n const [vlsFrequencies, setVlsFrequencies] = useState([]);\n const [eslFrequencies, setESLFrequencies] = useState([]);\n const [intrastatFrequencies, setIntrastatFrequencies] = useState([]);\n const bankAccountForm = useBankAccountForm({\n serviceCountryCode: props == null ? void 0 : props.serviceCountryCode,\n isInEu: isEuCountry(props == null ? void 0 : props.euCountries, props == null ? void 0 : props.establishmentCountryCode, true),\n bankAccountConfig: props == null ? void 0 : props.bankAccountConfig,\n predefinedBankAccounts: props == null ? void 0 : props.predefinedBankAccounts\n });\n const localVatChangeValidationContext = useValidationContext(\n new LocalVatChangeValidator(props == null ? void 0 : props.submissionConfig, props == null ? void 0 : props.serviceCountryCode, props == null ? void 0 : props.hasIntrastatSubscription)\n );\n const [dispatchIfLocalVatChangeIsValid, setDispatchIfLocalVatChangeIsValid] = useState(false);\n useEffect(() => __async(void 0, null, function* () {\n if ((props == null ? void 0 : props.submissionConfig) !== void 0 && (props == null ? void 0 : props.serviceCountryCode)) {\n const tempPrimaryVatFrequencies = getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"PrimaryVAT\");\n setPrimaryVatFrequencies(tempPrimaryVatFrequencies);\n const tempVlsFrequencies = getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"VLS\");\n setVlsFrequencies(tempVlsFrequencies);\n const tempESLFrequencies = getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"ESL\");\n setESLFrequencies(tempESLFrequencies);\n const tempSecondaryVatFrequencies = getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"SecondaryVAT\");\n setSecondaryVatFrequencies(tempSecondaryVatFrequencies);\n const tempIntrastatFrequencies = getFrequencyDataSource(props.submissionConfig, props.serviceCountryCode, \"Intrastat\");\n setIntrastatFrequencies(tempIntrastatFrequencies);\n const primaryVATFrequencyType = tempPrimaryVatFrequencies.length === 1 ? tempPrimaryVatFrequencies[0] : void 0;\n const secondaryVatFrequencyType = tempSecondaryVatFrequencies.length === 1 ? tempSecondaryVatFrequencies[0] : void 0;\n const vlsFrequencyType = tempVlsFrequencies.length === 1 ? tempVlsFrequencies[0] : void 0;\n const eslFrequencyType = tempESLFrequencies.length === 1 ? tempESLFrequencies[0] : void 0;\n const intrastatFrequencyType = tempIntrastatFrequencies.length === 1 ? tempIntrastatFrequencies[0] : void 0;\n const primaryVATOptions = calculatePrimaryVATFrequencyOptions(primaryVATFrequencyType);\n const secondaryVATOptions = calculateSecondaryVATFrequencyOptions(secondaryVatFrequencyType);\n const vlsOptions = calculateVLSFrequencyOptions(vlsFrequencyType);\n const eslOptions = calculateESLFrequencyOptions(eslFrequencyType);\n const intrastatOptions = calculateIntrastatFrequencyOptions(intrastatFrequencyType);\n setLocalVatChange(__spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, DEFAULT_LOCAL_VAT_CHANGE), primaryVATOptions), secondaryVATOptions), vlsOptions), eslOptions), intrastatOptions), {\n PrimaryVATFrequencyType: primaryVATFrequencyType,\n VLSFrequencyType: vlsFrequencyType,\n ESLFrequencyType: eslFrequencyType,\n SecondaryVATFrequencyType: secondaryVatFrequencyType,\n IntrastatFrequencyType: intrastatFrequencyType,\n LocalVatNumber: props.localVatCertificate.LocalVatNumber,\n LocalVATCertificateReferenceId: props.localVatCertificate.LocalVATCertificateReferenceId,\n LocalVatRegistrationDate: props.localVatCertificate.LocalVatRegistrationDate\n }));\n bankAccountForm.bankAccountConfigValidationContext.clearFieldValidations();\n localVatChangeValidationContext.clearFieldValidations();\n }\n }), [props]);\n useEffect(() => {\n const primaryVATOptions = calculatePrimaryVATFrequencyOptions(localVatChange == null ? void 0 : localVatChange.PrimaryVATFrequencyType);\n setLocalVatChange(__spreadValues(__spreadValues({}, localVatChange), primaryVATOptions));\n }, [localVatChange == null ? void 0 : localVatChange.PrimaryVATFrequencyType]);\n useEffect(() => {\n const secondaryVATOptions = calculateSecondaryVATFrequencyOptions(localVatChange == null ? void 0 : localVatChange.SecondaryVATFrequencyType);\n setLocalVatChange(__spreadValues(__spreadValues({}, localVatChange), secondaryVATOptions));\n }, [localVatChange == null ? void 0 : localVatChange.SecondaryVATFrequencyType]);\n useEffect(() => {\n const vlsOptions = calculateVLSFrequencyOptions(localVatChange == null ? void 0 : localVatChange.VLSFrequencyType);\n setLocalVatChange(__spreadValues(__spreadValues({}, localVatChange), vlsOptions));\n }, [localVatChange == null ? void 0 : localVatChange.VLSFrequencyType]);\n useEffect(() => {\n const eslOptions = calculateESLFrequencyOptions(localVatChange == null ? void 0 : localVatChange.ESLFrequencyType);\n setLocalVatChange(__spreadValues(__spreadValues({}, localVatChange), eslOptions));\n }, [localVatChange == null ? void 0 : localVatChange.ESLFrequencyType]);\n useEffect(() => {\n const intrastatOptions = calculateIntrastatFrequencyOptions(localVatChange == null ? void 0 : localVatChange.IntrastatFrequencyType);\n setLocalVatChange(__spreadValues(__spreadValues({}, localVatChange), intrastatOptions));\n }, [localVatChange == null ? void 0 : localVatChange.IntrastatFrequencyType]);\n useEffect(() => __async(void 0, null, function* () {\n if (dispatchIfLocalVatChangeIsValid) {\n setDispatchIfLocalVatChangeIsValid(false);\n if (localVatChangeValidationContext.validationResult.isValid() && bankAccountForm.bankAccountConfigValidationContext.validationResult.isValid()) {\n yield props.save(__spreadProps(__spreadValues({}, localVatChange), { BankAccountConfig: bankAccountForm.bankAccountConfig }));\n setShowModal(false);\n }\n }\n }), [localVatChangeValidationContext.validationResult]);\n useEffect(() => {\n if (bankAccountForm.bankAccountConfig !== void 0) {\n bankAccountForm.bankAccountConfigValidationContext.validate(bankAccountForm.bankAccountConfig);\n }\n }, [bankAccountForm.bankAccountConfig]);\n useEffect(() => {\n if (localVatChange !== void 0) {\n localVatChangeValidationContext.validate(localVatChange);\n }\n }, [localVatChange]);\n const htmlPrimaryVatFrequency = () => {\n const selectEnabled = primaryVatFrequencies.length > 0;\n const eFilingToggleEnabled = showToggle(localVatChange.primaryVatEFilingOptions, localVatChange.PrimaryVATEFiling, true);\n const filingExtensionToggleEnabled = showToggle(localVatChange.primaryVatFilingExtensionOptions, localVatChange.PrimaryVATFilingExtension, false);\n return (props == null ? void 0 : props.submissionConfig) === void 0 || !selectEnabled && !eFilingToggleEnabled && !filingExtensionToggleEnabled ? html`Loading...` : html`
\n\t\t\t\t\t${selectEnabled ? html` {\n localVatChangeValidationContext.validateField(\"PrimaryVatFrequency\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n PrimaryVATFrequencyType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t\t${eFilingToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"PrimaryVatEFiling\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n PrimaryVATEFiling: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t${filingExtensionToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"PrimaryVatFilingExtension\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n PrimaryVATFilingExtension: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t
`;\n };\n const htmlSecondaryVatFrequency = () => {\n const selectEnabled = secondaryVatFrequencies.length > 0;\n const eFilingToggleEnabled = showToggle(localVatChange.secondaryVatEFilingOptions, localVatChange.SecondaryVATEFiling, true);\n const filingExtensionToggleEnabled = showToggle(localVatChange.secondaryVatFilingExtensionOptions, localVatChange.SecondaryVATFilingExtension, false);\n return (props == null ? void 0 : props.submissionConfig) === void 0 || !selectEnabled && !eFilingToggleEnabled && !filingExtensionToggleEnabled ? \"\" : html`
\n\t\t\t\t\t${selectEnabled ? html` {\n localVatChangeValidationContext.validateField(\"SecondaryVatFrequency\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n SecondaryVATFrequencyType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t\t${eFilingToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"SecondaryVatEFiling\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n SecondaryVATEFiling: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t${filingExtensionToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"SecondaryVatFilingExtension\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n SecondaryVATFilingExtension: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t
`;\n };\n const htmlVLSFrequency = () => {\n const selectEnabled = vlsFrequencies.length > 0;\n const eFilingToggleEnabled = showToggle(localVatChange.vlsEFilingOptions, localVatChange.VLSEFiling, true);\n const filingExtensionToggleEnabled = showToggle(localVatChange.vlsFilingExtensionOptions, localVatChange.VLSFilingExtension, false);\n return (props == null ? void 0 : props.submissionConfig) === void 0 || !selectEnabled && !eFilingToggleEnabled && !filingExtensionToggleEnabled ? \"\" : html`
\n\t\t\t\t\t${selectEnabled ? html` {\n localVatChangeValidationContext.validateField(\"VlsFrequency\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n VLSFrequencyType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t\t${eFilingToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"VlsEFiling\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n VLSEFiling: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t${filingExtensionToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"VlsFilingExtension\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n VLSFilingExtension: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t
`;\n };\n const htmlESLFrequency = () => {\n const selectEnabled = eslFrequencies.length > 0;\n const eFilingToggleEnabled = showToggle(localVatChange.eslEFilingOptions, localVatChange.ESLEFiling, true);\n const filingExtensionToggleEnabled = showToggle(localVatChange.eslFilingExtensionOptions, localVatChange.ESLFilingExtension, false);\n return (props == null ? void 0 : props.submissionConfig) === void 0 || !selectEnabled && !eFilingToggleEnabled && !filingExtensionToggleEnabled ? \"\" : html`
\n\t\t\t\t\t${selectEnabled ? html` {\n localVatChangeValidationContext.validateField(\"EslFrequency\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n ESLFrequencyType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t\t${eFilingToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"EslEFiling\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n ESLEFiling: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t${filingExtensionToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"EslFilingExtension\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n ESLFilingExtension: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t
`;\n };\n const htmlIntrastatFrequency = () => {\n const selectEnabled = intrastatFrequencies.length > 0 && (props == null ? void 0 : props.hasIntrastatSubscription) === true;\n const eFilingToggleEnabled = showToggle(localVatChange.intrastatEFilingOptions, localVatChange.IntrastatEFiling, true);\n const filingExtensionToggleEnabled = showToggle(localVatChange.intrastatFilingExtensionOptions, localVatChange.IntrastatFilingExtension, false);\n return (props == null ? void 0 : props.submissionConfig) === void 0 || !selectEnabled && !eFilingToggleEnabled && !filingExtensionToggleEnabled ? \"\" : html`
\n\t\t\t\t\t${selectEnabled ? html` {\n localVatChangeValidationContext.validateField(\"IntrastatFrequency\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n IntrastatFrequencyType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t\t${eFilingToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"IntrastatEFiling\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n IntrastatEFiling: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t\t${filingExtensionToggleEnabled ? html` {\n localVatChangeValidationContext.validateField(\"IntrastatFilingExtension\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n IntrastatFilingExtension: mapStateToBoolean(e.detail.state)\n }));\n }}\n\t\t\t\t\t\t\t >` : \"\"}\n\t\t\t\t\t
\n\t\t\t
`;\n };\n const htmlLocalVatNumberAndRegAndPaymentRef = () => {\n return html`
\n\t\t\t {\n localVatChangeValidationContext.validateField(\"LocalVatNumber\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n LocalVatNumber: e.detail.value\n }));\n }}\n\t\t\t>\n\t\t\t${props.serviceCountryCode === \"IT\" ? html` {\n localVatChangeValidationContext.validateField(\"TaxIdentifier\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n TaxIdentifier: e.detail.value\n }));\n }}\n\t\t\t\t >` : \"\"}\n\t\t\t {\n localVatChangeValidationContext.validateField(\"LocalVatRegistrationDate\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n LocalVatRegistrationDate: e.detail.value\n }));\n }}\n\t\t\t>\n\t\t\t${canHavePaymentReference(props.serviceCountryCode) ? html` {\n localVatChangeValidationContext.validateField(\"PaymentReference\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n PaymentReference: e.detail.value\n }));\n }}\n\t\t\t\t >` : \"\"}\n\t\t
`;\n };\n const template = () => {\n return html`${showModal ? html`
\n\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t.header=${\"Add local tax certificate\"}\n\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a;\n if (((_a = e.detail) == null ? void 0 : _a.files) && e.detail.files.length > 0) {\n localVatChangeValidationContext.validateField(\"LocalVATCertificateReferenceId\");\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n LocalVATCertificateReferenceId: yield props.uploadLocalVatCertificate(e.detail.files[0])\n }));\n }\n })}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${htmlLocalVatNumberAndRegAndPaymentRef()}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${htmlPrimaryVatFrequency()} ${htmlSecondaryVatFrequency()} ${htmlVLSFrequency()} ${htmlESLFrequency()} ${htmlIntrastatFrequency()}\n\t\t\t\t\t\t\t\t {\n setLocalVatChange(__spreadProps(__spreadValues({}, localVatChange), {\n sendEmail: e.detail.checked\n }));\n }}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t${bankAccountForm.template()}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield save();\n })}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`}\n\t\t\t\t\t>\n\t\t\t\t\t\n\t\t\t
` : html``}`;\n };\n return { show, template };\n};\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nexport const getEUVatChangeFields = () => {\n return [\n \"EUVatCertificate\",\n \"EUVatNumber\",\n \"EUVatRegistrationDate\",\n \"PrimaryVatFrequency\",\n \"SecondaryVatFrequency\",\n \"VlsFrequency\",\n \"EslFrequency\",\n \"IntrastatFrequency\",\n \"PrimaryVatEFiling\",\n \"SecondaryVatEFiling\",\n \"PrimaryVatFilingExtension\",\n \"SecondaryVatFilingExtension\",\n \"VlsEFiling\",\n \"VlsFilingExtension\",\n \"EslEFiling\",\n \"EslFilingExtension\",\n \"IntrastatEFiling\",\n \"IntrastatFilingExtension\"\n ];\n};\nexport class EuVatChangeValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfString((s) => {\n var _a;\n return (_a = s.EUVatCertificate) == null ? void 0 : _a.EUVATCertificateReferenceId;\n }).isNotEmpty().withPropertyName(\"EUVatCertificate\").withFailureMessage(\"Required\");\n this.validateIfString((s) => {\n var _a;\n return (_a = s.EUVatCertificate) == null ? void 0 : _a.EUVatNumber.VatNumber;\n }).isNotEmpty().withPropertyName(\"EUVatNumber\").withFailureMessage(\"Required\");\n this.validateIfDate((s) => {\n var _a;\n return (_a = s.EUVatCertificate) == null ? void 0 : _a.EUVatRegistrationDate;\n }).isNotEmpty().withPropertyName(\"EUVatRegistrationDate\").withFailureMessage(\"Required\");\n }\n validateAllFields(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { getEUVatChangeFields, EuVatChangeValidator } from \"./EuVatChangeValidator\";\nimport { DEAFULT_MIN_DATE } from \"GlobalShared/common/Constants\";\nimport { ONLY_PDF_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nexport const useVatRegEuVatModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [regCompletedChange, setRegCompletedChange] = useState(void 0);\n const regCompletedValidationContext = useValidationContext(new EuVatChangeValidator());\n const [dispatchIfRegCompletedIsValid, setDispatchIfRegCompletedIsValid] = useState(false);\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => __async(void 0, null, function* () {\n var _a, _b;\n if (showModal) {\n const euVatCertificate = __spreadProps(__spreadValues({}, props == null ? void 0 : props.euVatCertificate), {\n EUVatRegistrationDate: ((_a = props == null ? void 0 : props.euVatCertificate) == null ? void 0 : _a.EUVatRegistrationDate) <= DEAFULT_MIN_DATE ? /* @__PURE__ */ new Date() : (_b = props == null ? void 0 : props.euVatCertificate) == null ? void 0 : _b.EUVatRegistrationDate\n });\n setRegCompletedChange(__spreadProps(__spreadValues({}, regCompletedChange), {\n EUVatCertificate: euVatCertificate,\n sendEmail: true\n }));\n regCompletedValidationContext.clearFieldValidations();\n }\n }), [showModal]);\n const save = () => __async(void 0, null, function* () {\n setRegCompletedChange(__spreadValues({}, regCompletedChange));\n regCompletedValidationContext.validateFields(getEUVatChangeFields());\n setDispatchIfRegCompletedIsValid(true);\n });\n useEffect(() => __async(void 0, null, function* () {\n if (dispatchIfRegCompletedIsValid) {\n setDispatchIfRegCompletedIsValid(false);\n if (regCompletedValidationContext.validationResult.isValid()) {\n yield props.save(regCompletedChange);\n setShowModal(false);\n }\n }\n }), [regCompletedValidationContext.validationResult]);\n useEffect(() => {\n if (regCompletedChange !== void 0) {\n regCompletedValidationContext.validate(regCompletedChange);\n }\n }, [regCompletedChange]);\n const htmlEUVatNumberAndReg = () => {\n var _a, _b;\n return html`
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t {\n regCompletedValidationContext.validateField(\"EUVatNumber\");\n setRegCompletedChange(__spreadProps(__spreadValues({}, regCompletedChange), {\n EUVatCertificate: __spreadProps(__spreadValues({}, regCompletedChange.EUVatCertificate), {\n EUVatNumber: {\n CountryCode: props.serviceCountryCode,\n VatNumber: e.detail.value\n }\n })\n }));\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t
\n\t\t\t {\n regCompletedValidationContext.validateField(\"EUVatRegistrationDate\");\n setRegCompletedChange(__spreadProps(__spreadValues({}, regCompletedChange), {\n EUVatCertificate: __spreadProps(__spreadValues({}, regCompletedChange.EUVatCertificate), {\n EUVatRegistrationDate: e.detail.value\n })\n }));\n }}\n\t\t\t>\n\t\t
`;\n };\n const template = () => {\n var _a;\n if (!showModal || regCompletedChange === void 0) {\n return html``;\n }\n return html`
\n\t\t\t setShowModal(false)}\n\t\t\t\t.header=${\"Add EU VAT certificate\"}\n\t\t\t\t.content=${html`
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a2;\n if (((_a2 = e.detail) == null ? void 0 : _a2.files) && e.detail.files.length > 0) {\n setRegCompletedChange(__spreadProps(__spreadValues({}, regCompletedChange), {\n EUVatCertificate: __spreadProps(__spreadValues({}, regCompletedChange.EUVatCertificate), {\n EUVATCertificateReferenceId: yield props.uploadEuVatCertificate(e.detail.files[0])\n })\n }));\n }\n })}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
${htmlEUVatNumberAndReg()}
\n\t\t\t\t\t\t {\n setRegCompletedChange(__spreadProps(__spreadValues({}, regCompletedChange), {\n sendEmail: e.detail.checked\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t __async(void 0, null, function* () {\n yield save();\n })}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
`}\n\t\t\t>\n\t\t\t\n\t\t
`;\n };\n return { show, template };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport i18next from \"i18next\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nexport const usePaymentReferenceModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [paymentReference, setPaymentReference] = useState(void 0);\n const [validationMessage, setValidationMessage] = useState(void 0);\n useEffect(() => {\n setPaymentReference(props == null ? void 0 : props.paymentReference);\n }, [props == null ? void 0 : props.paymentReference]);\n const show = () => __async(void 0, null, function* () {\n setValidationMessage(void 0);\n setShowModal(true);\n });\n const template = () => {\n return html`${showModal ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t\t.header=${i18next.t(\"Payment reference\")}\n\t\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t {\n setPaymentReference(e.detail.value);\n }}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n if (paymentReference === void 0) {\n setValidationMessage(\"Required\");\n return;\n }\n yield props.save(paymentReference);\n setShowModal(false);\n })}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t ` : html``}`;\n };\n return { show, template };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { html } from \"lit-html\";\nimport { useAwesomeValidator, Validation } from \"GlobalShared/validation/AwesomeValidator\";\nexport const usePoARevokedModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [documentReference, setDocumentReference] = useState(void 0);\n const [dateOfRevocation, setDateOfRevocation] = useState(void 0);\n useEffect(() => __async(void 0, null, function* () {\n if (props && props.change) {\n setDocumentReference(props.change.DocumentId);\n setDateOfRevocation(props.change.DateOfRevocation);\n }\n }), [props]);\n const show = () => {\n setShowModal(true);\n };\n useEffect(() => {\n setDocumentReference(void 0);\n setDateOfRevocation(void 0);\n }, [showModal]);\n useEffect(() => {\n if (showModal) {\n validator.clear();\n }\n }, [showModal]);\n useEffect(() => {\n validator.validate({ DocumentId: documentReference, DateOfRevocation: dateOfRevocation });\n }, [documentReference, dateOfRevocation]);\n const validator = useAwesomeValidator(\n [Validation.ruleFor(\"DateOfRevocation\", (vm) => vm.DateOfRevocation).isRequired()],\n () => props.save({ DocumentId: documentReference, DateOfRevocation: dateOfRevocation })\n );\n const template = html`${showModal ? html`
\n\t\t\t\t setShowModal(false)}\n\t\t\t\t\t.header=${\"VAT PoA Revocation\"}\n\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a;\n if (((_a = e.detail) == null ? void 0 : _a.files) && e.detail.files.length > 0) {\n setDocumentReference(yield props.uploadDocument(e.detail.files[0]));\n }\n })}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t {\n validator.showMessageFor(\"DateOfRevocation\");\n setDateOfRevocation(e.detail.value);\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n validator.validateAndDispatch({\n DateOfRevocation: dateOfRevocation,\n DocumentId: documentReference\n });\n setShowModal(false);\n })}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSave\n\t\t\t\t\t\t
\n\t\t\t\t\t
`}\n\t\t\t\t>\n\t\t\t\t\n\t\t
` : html``}`;\n return { show, template };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport i18next from \"i18next\";\nimport { useEffect, useLoadingReducer, useState } from \"GlobalShared/haunted/CustomHooks\";\nexport const useSubscriptionModal = (props) => {\n const [showModal, setShowModal] = useState(false);\n const [subscriptions, setSubscriptions] = useState(void 0);\n const [loading, dispatchLoading] = useLoadingReducer();\n useEffect(() => __async(void 0, null, function* () {\n if (props == null ? void 0 : props.search) {\n try {\n dispatchLoading(\"inc\");\n setSubscriptions(yield props.search());\n } finally {\n dispatchLoading(\"dec\");\n }\n }\n }), [props == null ? void 0 : props.search]);\n const show = () => {\n setShowModal(true);\n };\n const template = () => {\n return html`${showModal ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t\t.header=${i18next.t(`Edit ${props.eventType} subscriptions`)}\n\t\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t${loading.count > 0 ? `${i18next.t(\"Loading\")}...` : html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${(subscriptions == null ? void 0 : subscriptions.length) === 0 ? html`
There are no users assigned to this company.
` : subscriptions == null ? void 0 : subscriptions.map((sub) => {\n return html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n if (sub.isSubscribed) {\n props.unsubscribe(sub.userId);\n } else {\n props.subscribe(sub.userId);\n }\n }}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
`;\n })}\n\t\t\t\t\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t ` : html``}`;\n };\n return { show, template };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport { useState } from \"GlobalShared/haunted/CustomHooks\";\nexport const useTaxIdentifierModal = (props) => {\n const save = () => __async(void 0, null, function* () {\n if (taxIdentifier) {\n yield props.save(taxIdentifier);\n setTaxIdentifier(void 0);\n setShowModal(false);\n }\n });\n const [showModal, setShowModal] = useState(false);\n const [taxIdentifier, setTaxIdentifier] = useState(void 0);\n const show = () => __async(void 0, null, function* () {\n setShowModal(true);\n });\n const template = () => {\n return html`${showModal ? html`\n\t\t\t\t\t
\n\t\t\t\t\t\t setShowModal(false)}\n\t\t\t\t\t\t\t.header=${\"Edit tax identifier\"}\n\t\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t {\n setTaxIdentifier(e.detail.value);\n }}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t ` : \"\"} `;\n };\n return { show, template };\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { formatDate, interpretYearOneAsUndefined } from \"GlobalShared/helpers/dateHelper\";\nimport {\n COMPLIANCE_SUBSCRIPTION_STATUS_LABELS,\n SUBMISSION_FREQUENCY_TYPE_LABELS\n} from \"GlobalShared/models/ServicesModels\";\nimport i18next from \"i18next\";\nimport { html } from \"lit-html\";\nimport {\n VAT_REG_DOCUMENT_STATUS_TRANSLATIONS,\n VAT_REG_DOCUMENT_ERROR_TRANSLATIONS\n} from \"GlobalShared/models/VatRegModels\";\nimport { useEffect, useState } from \"GlobalShared/haunted/CustomHooks\";\nimport { useCommentModal } from \"../reg-modals/comment-modal\";\nimport { getStatusLabel } from \"./services-common\";\nimport { editIcon, downloadPDFIcon, subscribeIcon } from \"GlobalShared/templates/commons\";\nimport { useBankAccountModal } from \"./bank-account-modal\";\nimport { useFrequencyModal } from \"./frequency-modal\";\nimport { mapBooleanToState } from \"GlobalShared/helpers/booleanHelper\";\nimport { isEuCountry } from \"GlobalShared/helpers/countryHelper\";\nimport { canHavePaymentReference, getFrequencyDataSource } from \"./service-helpers\";\nimport { FrequenciesChangeRequestReturnType } from \"AdminServices/APIs/self/models/V1/Company/VatRegistration/Frequency/FrequenciesChangeRequest\";\nimport { useVatRegLocalVatModal } from \"../reg-modals/local-vat-modal\";\nimport { useVatRegEuVatModal } from \"../reg-modals/euvat-modal\";\nimport { usePaymentReferenceModal } from \"./payment-reference-modal\";\nimport { useConfirmModal } from \"../modals/commonModals\";\nimport { ONLY_PDF_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nimport { useSubCancellationModal } from \"./sub-cancellation-modal\";\nimport { useDeregistrationModal } from \"../reg-modals/deregistration-modal\";\nimport { usePoARevokedModal } from \"../reg-modals/poarevoke-modal\";\nimport { useSubscriptionModal } from \"./subscription-modal\";\nimport { notifyError } from \"GlobalShared/helpers/errorHelper\";\nimport { useTaxIdentifierModal } from \"GlobalShared/components/services/tax-identifier-modal\";\nexport const useVatService = (props) => {\n var _a;\n const getEffectiveFrequency = (frequencies) => {\n const now = /* @__PURE__ */ new Date();\n const currentYear = now.getFullYear();\n const currentMonth = now.getMonth() + 1;\n return frequencies.filter((freq) => freq.ValidFromYear < currentYear || freq.ValidFromYear === currentYear && freq.ValidFromMonth <= currentMonth).reduce(\n (aggr, curr) => {\n if (curr.ValidFromYear > aggr.year || curr.ValidFromYear === currentYear && curr.ValidFromMonth > aggr.month) {\n return { year: curr.ValidFromYear, month: curr.ValidFromMonth, freq: curr };\n } else {\n return aggr;\n }\n },\n { year: 1920, month: 1, freq: void 0 }\n ).freq;\n };\n const canEditFreq = (freqOptions, freqs) => {\n const thereIsFreq = freqOptions.length > 0;\n const freqIsSet = getEffectiveFrequency(freqs) !== void 0;\n const moreThanOneFreqCanBeSelected = freqOptions.length > 1;\n return props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\") && (thereIsFreq && !freqIsSet || moreThanOneFreqCanBeSelected);\n };\n const canShowFreq = (freqOptions, freqs) => {\n return freqOptions.length > 0 || getEffectiveFrequency(freqs) !== void 0;\n };\n const isIntrastat = (intrastat) => {\n return intrastat === i18next.t(\"Intrastat In\") || intrastat === i18next.t(\"Intrastat Out\");\n };\n const getValidNextVatTransition = (from) => {\n var _a2;\n return (_a2 = validVatTransitions == null ? void 0 : validVatTransitions.reduce((aggr, curr) => {\n if (curr.From === from) {\n return aggr.concat(curr.To);\n } else {\n return aggr;\n }\n }, [])) != null ? _a2 : [];\n };\n const [showSignedVatRegPDFUploadModal, setShowSignedVatRegPDFUploadModal] = useState(false);\n const [currentVatRegId, setCurrentVatRegId] = useState(void 0);\n const [currentTemplateId, setCurrentTemplateId] = useState(void 0);\n const [currentCommentModalProps, setCurrentCommentModalProps] = useState(void 0);\n const commentModal = useCommentModal(currentCommentModalProps);\n const [currentLocalVatModalProps, setCurrentLocalVatModalProps] = useState(void 0);\n const localVatModal = useVatRegLocalVatModal(currentLocalVatModalProps);\n const [currentEuVatModalProps, setCurrentEuVatModalProps] = useState(void 0);\n const euVatModal = useVatRegEuVatModal(currentEuVatModalProps);\n const [currentBankAccountModalProps, setCurrentBankAccountModalProps] = useState(void 0);\n const bankAccountModal = useBankAccountModal(currentBankAccountModalProps);\n const [currentTaxIdentifierModalProps, setCurrentTaxIdentifierModalProps] = useState(void 0);\n const taxIdentifierModal = useTaxIdentifierModal(currentTaxIdentifierModalProps);\n const [currentPaymentReferenceModalProps, setCurrentPaymentReferenceModalProps] = useState(void 0);\n const paymentReferenceModal = usePaymentReferenceModal(currentPaymentReferenceModalProps);\n const [frequencyModalProps, setFrequencyModalProps] = useState(void 0);\n const frequencyModal = useFrequencyModal(frequencyModalProps);\n const confirmModal = useConfirmModal();\n const [currentCancellationModalProps, setCurrentCancellationModalProps] = useState(void 0);\n const subCancellationModal = useSubCancellationModal(currentCancellationModalProps);\n const [currentDeregistrationModalProps, setCurrentDeregistrationModalProps] = useState(void 0);\n const deregistrationModal = useDeregistrationModal(currentDeregistrationModalProps);\n const [currentPoARevokedModalProps, setCurrentPoARevokedModalProps] = useState(void 0);\n const poaRevokedModal = usePoARevokedModal(currentPoARevokedModalProps);\n const [subscriptionModalProps, setSubscriptionModalProps] = useState(void 0);\n const subscriptionModal = useSubscriptionModal(subscriptionModalProps);\n const [validVatTransitions, setValidVatTransitions] = useState([]);\n useEffect(() => __async(void 0, null, function* () {\n if (props == null ? void 0 : props.isAdmin) {\n setValidVatTransitions(yield props.callbackHandler.getPossibleVatStatuses());\n }\n }), [props.callbackHandler]);\n const htmlCountrySubServiceChip = (label, sub) => {\n if (sub.Status === \"Cancelled\") {\n return html`${label} ${sub.StartDate ? html`(${i18next.t(\"Cancelled at\")}: ${formatDate(sub.CancellationDate)})` : \"\"}`;\n } else {\n return html`${label} ${sub.StartDate ? html`(${i18next.t(\"From\")}: ${formatDate(sub.StartDate)}` : \"\"}\n\t\t\t\t${isIntrastat(label) ? html`; ${i18next.t(\"To\")}: ${formatDate(sub.EndDate)}` : \"\"})\n\t\t\t\t${props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\") && sub.EndDate >= /* @__PURE__ */ new Date() ? html` __async(void 0, null, function* () {\n setCurrentCancellationModalProps({\n contractFrom: sub.StartDate,\n contractTo: sub.EndDate,\n subscriptionId: sub.Id,\n cancelSubscription: props.callbackHandler.cancelSubscription\n });\n subCancellationModal.show();\n })}\n\t\t\t\t\t\t\t>✕` : \"\"}`;\n }\n };\n const htmlCountrySubServices = (countryService) => {\n return html`
\n\t\t\t${countryService.IntrastatIn ? htmlCountrySubServiceChip(i18next.t(\"Intrastat In\"), countryService.IntrastatIn) : \"\"}\n\t\t\t${countryService.IntrastatOut ? htmlCountrySubServiceChip(i18next.t(\"Intrastat Out\"), countryService.IntrastatOut) : \"\"}\n\t\t\t${countryService.FiscalRep ? htmlCountrySubServiceChip(i18next.t(\"Fiscal representation\"), countryService.FiscalRep) : \"\"}\n\t\t\t${countryService.SpanishBankAccount ? htmlCountrySubServiceChip(i18next.t(\"Spanish bank account\"), countryService.SpanishBankAccount) : \"\"}\n\t\t\t${countryService.Retrospective ? htmlCountrySubServiceChip(i18next.t(\"Retrospective\"), countryService.Retrospective) : \"\"}\n\t\t\t${countryService.FilingAgent ? htmlCountrySubServiceChip(i18next.t(\"Filing agent\"), countryService.FilingAgent) : \"\"}\n\t\t
`;\n };\n const htmlRequiredElectronicallyOnly = (vatReg) => {\n var _a2;\n return ((_a2 = vatReg.Documents) == null ? void 0 : _a2.filter((d) => d.Category === \"RequiredElectronicallyOnly\").length) > 0 ? html`
\n\t\t\t\t\t\t${i18next.t(\"Required electronically only\")}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${vatReg.Documents.filter((d) => d.Category === \"RequiredElectronicallyOnly\").map(\n (vatRegDocument) => html`\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t`\n )}\n\t\t\t\t\t
${i18next.t(\"Generated\")}${i18next.t(\"Signed\")}
${vatRegDocument.TemplateName}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"InProgress\" ? html`${VAT_REG_DOCUMENT_STATUS_TRANSLATIONS[vatRegDocument.Status]}` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"Generated\" ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatRegDocument(vatReg.Id, vatRegDocument.TemplateId, \"Unsigned\");\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"Error\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${VAT_REG_DOCUMENT_STATUS_TRANSLATIONS[vatRegDocument.Status]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t${(props == null ? void 0 : props.isAdmin) && props.permissionManager.hasPermission(\"VAT_Modify\") && vatRegDocument.Status === \"Error\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield props.callbackHandler.generateVatRegDocument(vatReg.Id, vatRegDocument.TemplateId);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Generate\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.SignedDocumentReference ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatRegDocument(vatReg.Id, vatRegDocument.TemplateId, \"Signed\");\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${!props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\") && vatReg.Status !== \"WaitingForSignature\" ? \"\" : html` __async(void 0, null, function* () {\n setCurrentVatRegId(vatReg.Id);\n setCurrentTemplateId(vatRegDocument.TemplateId);\n setShowSignedVatRegPDFUploadModal(true);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Upload\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t `}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
` : \"\";\n };\n const htmlRequiredByPost = (vatReg) => {\n var _a2;\n return ((_a2 = vatReg.Documents) == null ? void 0 : _a2.filter((d) => d.Category === \"RequiredByPost\").length) > 0 ? html`
\n\t\t\t\t\t\t${i18next.t(\"Required by post\")}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${vatReg.Documents.filter((d) => d.Category === \"RequiredByPost\").map(\n (vatRegDocument) => html`\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t`\n )}\n\t\t\t\t\t
${i18next.t(\"Generated\")}${i18next.t(\"Signed\")}
${vatRegDocument.TemplateName}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"InProgress\" ? html`${VAT_REG_DOCUMENT_STATUS_TRANSLATIONS[vatRegDocument.Status]}` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"Generated\" ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatRegDocument(vatReg.Id, vatRegDocument.TemplateId, \"Unsigned\");\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"Error\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${VAT_REG_DOCUMENT_STATUS_TRANSLATIONS[vatRegDocument.Status]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t${(props == null ? void 0 : props.isAdmin) && props.permissionManager.hasPermission(\"VAT_Modify\") && vatRegDocument.Status === \"Error\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield props.callbackHandler.generateVatRegDocument(vatReg.Id, vatRegDocument.TemplateId);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Generate\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.SignedDocumentReference ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatRegDocument(vatReg.Id, vatRegDocument.TemplateId, \"Signed\");\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${!props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\") && vatReg.Status !== \"WaitingForSignature\" ? \"\" : html` __async(void 0, null, function* () {\n setCurrentVatRegId(vatReg.Id);\n setCurrentTemplateId(vatRegDocument.TemplateId);\n setShowSignedVatRegPDFUploadModal(true);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Upload\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t `}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
` : \"\";\n };\n const htmlForInformationOnly = (vatReg) => {\n var _a2;\n return ((_a2 = vatReg.Documents) == null ? void 0 : _a2.filter((d) => d.Category === \"ForInformationOnly\").length) > 0 ? html`
\n\t\t\t\t\t\t${i18next.t(\"For information only\")}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${vatReg.Documents.filter((d) => d.Category === \"ForInformationOnly\").map(\n (vatRegDocument) => html`\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t`\n )}\n\t\t\t\t\t
Generated
${vatRegDocument.TemplateName}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"InProgress\" ? html`${VAT_REG_DOCUMENT_STATUS_TRANSLATIONS[vatRegDocument.Status]}` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"Generated\" ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatRegDocument(vatReg.Id, vatRegDocument.TemplateId, \"Unsigned\");\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t${vatRegDocument.Status === \"Error\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${VAT_REG_DOCUMENT_STATUS_TRANSLATIONS[vatRegDocument.Status]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t${(props == null ? void 0 : props.isAdmin) && props.permissionManager.hasPermission(\"VAT_Modify\") && vatRegDocument.Status === \"Error\" ? html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t __async(void 0, null, function* () {\n yield props.callbackHandler.generateVatRegDocument(vatReg.Id, vatRegDocument.TemplateId);\n })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"Generate\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
` : \"\";\n };\n const htmlDocuments = (vatReg) => {\n var _a2;\n return html`${((_a2 = vatReg.Documents) == null ? void 0 : _a2.length) > 0 ? html`
${i18next.t(\"Documents\")}:
` : \"\"} ${htmlRequiredElectronicallyOnly(vatReg)} ${htmlRequiredByPost(vatReg)}\n\t\t${htmlForInformationOnly(vatReg)}`;\n };\n const htmlStatus = (companyServices, vatReg, countryService) => {\n return html`
\n\t\t\t${(props == null ? void 0 : props.isAdmin) ? html` ({\n label: getStatusLabel(status),\n value: status\n }))\n )}\n\t\t\t\t\t\t@click=${(e) => {\n const newVatRegStatus = e.detail.selectedValue;\n if (vatReg.Status === \"DocumentsSigned\" && newVatRegStatus === \"WaitingForSignature\") {\n setCurrentCommentModalProps({\n save: (comment) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeVatRegStatus(vatReg.Id, vatReg.Status, newVatRegStatus, void 0, comment, void 0);\n })\n });\n commentModal.show();\n } else if (vatReg.Status === \"SentToTA\" && newVatRegStatus === \"LocalTaxReceived\") {\n const hasIntrastat = countryService.IntrastatIn !== void 0 || countryService.IntrastatOut !== void 0;\n setCurrentLocalVatModalProps({\n localVatCertificate: vatReg.LocalVatCertificate,\n submissionConfig: props.submissionConfig,\n euCountries: props.euCountries,\n bankAccountConfig: vatReg.BankAccountConfig,\n predefinedBankAccounts: props.predefinedBankAccounts,\n serviceCountryCode: vatReg.ServiceCountry.Code,\n establishmentCountryCode: companyServices.EstablishmentCountryCode,\n hasIntrastatSubscription: hasIntrastat,\n save: (localVatCertificate) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeVatRegStatus(vatReg.Id, vatReg.Status, newVatRegStatus, void 0, void 0, localVatCertificate);\n }),\n uploadLocalVatCertificate: (file) => {\n return props.callbackHandler.uploadVatDocument(vatReg.Id, file);\n }\n });\n localVatModal.show();\n } else if (vatReg.Status === \"LocalTaxReceived\" && newVatRegStatus === \"RegistrationCompleted\") {\n setCurrentEuVatModalProps({\n euVatCertificate: vatReg.EUVatCertificate,\n serviceCountryCode: vatReg.ServiceCountry.Code,\n save: (registrationCompletedChange) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeVatRegStatus(vatReg.Id, vatReg.Status, newVatRegStatus, registrationCompletedChange, void 0, void 0);\n }),\n uploadEuVatCertificate: (file) => {\n return props.callbackHandler.uploadVatDocument(vatReg.Id, file);\n }\n });\n euVatModal.show();\n } else if (vatReg.Status === \"DeregistrationInProgress\" && newVatRegStatus === \"Deregistered\") {\n setCurrentDeregistrationModalProps({\n change: {},\n save: (change) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeVatRegStatus(vatReg.Id, vatReg.Status, newVatRegStatus, void 0, void 0, void 0, change);\n }),\n uploadDocument: (file) => {\n return props.callbackHandler.uploadVatDocument(vatReg.Id, file);\n }\n });\n deregistrationModal.show();\n } else if (vatReg.Status === \"RevokingPoA\" && newVatRegStatus === \"PoARevoked\") {\n setCurrentPoARevokedModalProps({\n change: {},\n save: (change) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeVatRegStatus(vatReg.Id, vatReg.Status, newVatRegStatus, void 0, void 0, void 0, void 0, change);\n }),\n uploadDocument: (file) => {\n return props.callbackHandler.uploadVatDocument(vatReg.Id, file);\n }\n });\n poaRevokedModal.show();\n } else {\n props.callbackHandler.changeVatRegStatus(vatReg.Id, vatReg.Status, newVatRegStatus);\n }\n }}\n\t\t\t\t >` : html`
\n\t\t\t\t\t\t
${getStatusLabel(vatReg.Status)}
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t doc.SignedDocumentReference === void 0 && doc.Category !== \"ForInformationOnly\")}\n\t\t\t\t\t\t\t\t@click=${() => __async(void 0, null, function* () {\n yield props.callbackHandler.finalizeVatRegUpload(vatReg.Id);\n })}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t${i18next.t(\"Finalize Upload\")}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t
`}\n\t\t
`;\n };\n const htmlFrequencyLabel = (freq) => {\n if (freq === void 0) {\n return i18next.t(\"N/A\");\n }\n return html`${SUBMISSION_FREQUENCY_TYPE_LABELS[freq.FrequencyType]}${freq.EFiling !== void 0 && !freq.EFiling ? html`, ${i18next.t(\"E-filing\")}: ${mapBooleanToState(freq.EFiling)}` : \"\"}${freq.FilingExtension !== void 0 && freq.FilingExtension ? html`, ${i18next.t(\"Filing extension\")}: ${mapBooleanToState(freq.FilingExtension)}` : \"\"}`;\n };\n const htmlConfigs = (companyServices, vatReg) => {\n let bankAccountText = \"-\";\n if (vatReg.BankAccountConfig) {\n if (vatReg.BankAccountConfig.BankAccount) {\n const bankAccount = vatReg.BankAccountConfig.BankAccount;\n bankAccountText = `${bankAccount.BankName} (${bankAccount.BankAddress ? bankAccount.BankAddress : \"-\"}), Iban: ${bankAccount.Iban}, Swift: ${bankAccount.Swift}`;\n } else if (vatReg.BankAccountConfig.BankAccountRef) {\n bankAccountText = \"Loading...\";\n if (props.predefinedBankAccounts) {\n const bankAccount = props.predefinedBankAccounts.find((pba) => pba.Id === vatReg.BankAccountConfig.BankAccountRef);\n if (bankAccount !== void 0) {\n bankAccountText = `${bankAccount.BankName} (${bankAccount.BankAddress ? bankAccount.BankAddress : \"-\"}), Iban: ${bankAccount.Iban}, Swift: ${bankAccount.Swift}`;\n }\n }\n } else if (vatReg.BankAccountConfig.BankAccountUrl) {\n bankAccountText = vatReg.BankAccountConfig.BankAccountUrl;\n }\n }\n const primaryVatFrequencies = getFrequencyDataSource(props.submissionConfig, vatReg.ServiceCountry.Code, \"PrimaryVAT\");\n const secondaryVatFrequencies = getFrequencyDataSource(props.submissionConfig, vatReg.ServiceCountry.Code, \"SecondaryVAT\");\n const vlsFrequencies = getFrequencyDataSource(props.submissionConfig, vatReg.ServiceCountry.Code, \"VLS\");\n const eslFrequencies = getFrequencyDataSource(props.submissionConfig, vatReg.ServiceCountry.Code, \"ESL\");\n const intrastatFrequencies = getFrequencyDataSource(props.submissionConfig, vatReg.ServiceCountry.Code, \"Intrastat\");\n const hasIntrastatService = companyServices.CountryServices.some((cs) => cs.Country.Code === vatReg.ServiceCountry.Code && (cs.IntrastatIn || cs.IntrastatOut));\n const htmlSetNotification = (eventType) => {\n var _a2, _b, _c;\n if (props.isAdmin) {\n return html` {\n setSubscriptionModalProps({\n eventType,\n search: () => {\n return props.callbackHandler.searchRegNotificationSubscriptions(props.companyServices.Id, vatReg.Id, eventType);\n },\n subscribe: (userId) => __async(void 0, null, function* () {\n try {\n props.updateRegNotificationSubscription(props.companyServices.Id, vatReg.Id, eventType, userId, true);\n } catch (err) {\n notifyError(err);\n }\n }),\n unsubscribe: (userId) => __async(void 0, null, function* () {\n yield props.updateRegNotificationSubscription(props.companyServices.Id, vatReg.Id, eventType, userId, false);\n })\n });\n subscriptionModal.show();\n }}\n\t\t\t\t\t>${subscribeIcon(\"Button\")}`;\n }\n {\n const isSubscribed = (_c = (_b = (_a2 = vatReg.RegNotificationSubscriptions) == null ? void 0 : _a2.find((notSub) => {\n return notSub.eventType === eventType;\n })) == null ? void 0 : _b.isSubscribed) != null ? _c : true;\n return html` __async(void 0, null, function* () {\n if (isSubscribed) {\n if (yield confirmModal.confirm(\n html`
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"freq-notification-confirmation\", {\n eventType,\n countryName: vatReg.ServiceCountry.Name\n })}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
${i18next.t(\"freq-notification-confirmation-affect\")}
\n\t\t\t\t\t\t\t\t\t
`\n )) {\n yield props.updateRegNotificationSubscription(props.companyServices.Id, vatReg.Id, eventType, void 0, false);\n }\n } else {\n yield props.updateRegNotificationSubscription(props.companyServices.Id, vatReg.Id, eventType, void 0, true);\n }\n })}\n\t\t\t\t\t>${subscribeIcon(isSubscribed ? \"Active\" : \"Inactive\")}`;\n }\n };\n const htmlConfigRow = (showEditCol1, showViewCol2, htmlEditCol1, htmlViewCol2, htmlNotification) => {\n if (showEditCol1 || showViewCol2) {\n return html`
${showEditCol1 ? htmlEditCol1() : \"\"}
\n\t\t\t\t\t
${showViewCol2 ? html`
${htmlViewCol2()}
` : \"\"} ${htmlNotification ? htmlNotification() : \"\"}
`;\n } else {\n return \"\";\n }\n };\n return html`
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\"),\n true,\n () => html`\n\t\t\t\t\t\t {\n setCurrentBankAccountModalProps({\n serviceCountryCode: vatReg.ServiceCountry.Code,\n isInEu: isEuCountry(props.euCountries, companyServices.EstablishmentCountryCode, true),\n bankAccountConfig: vatReg.BankAccountConfig,\n predefinedBankAccounts: props.predefinedBankAccounts,\n save: (bankAccountConfig) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeBankAccountConfig(vatReg.Id, bankAccountConfig);\n })\n });\n bankAccountModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t\n\t\t\t\t\t`,\n () => html`${i18next.t(\"Bank account\")}: ${bankAccountText}`,\n void 0\n )}\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\") && canHavePaymentReference(vatReg.ServiceCountry.Code),\n canHavePaymentReference(vatReg.ServiceCountry.Code),\n () => html` {\n setCurrentPaymentReferenceModalProps({\n paymentReference: vatReg.PaymentReference,\n save: (paymentReference) => __async(void 0, null, function* () {\n yield props.callbackHandler.changePaymentReference(vatReg.Id, paymentReference);\n })\n });\n paymentReferenceModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t`,\n () => {\n var _a2;\n return html`${i18next.t(\"Payment reference\")}: ${(_a2 = vatReg.PaymentReference) != null ? _a2 : \"-\"}`;\n },\n void 0\n )}\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n canEditFreq(primaryVatFrequencies, vatReg.PrimaryVATFrequencies),\n canShowFreq(primaryVatFrequencies, vatReg.PrimaryVATFrequencies),\n () => html` {\n setFrequencyModalProps({\n serviceCountryCode: vatReg.ServiceCountry.Code,\n isInEu: isEuCountry(props.euCountries, companyServices.EstablishmentCountryCode),\n submissionConfig: props.submissionConfig,\n currentFrequencies: vatReg.PrimaryVATFrequencies,\n returnType: FrequenciesChangeRequestReturnType.PrimaryVAT,\n save: (sendEmail, newFrequencyConfigs, frequencyConfigIdsToBeRemoved) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeFrequencies(\n vatReg.Id,\n sendEmail,\n FrequenciesChangeRequestReturnType.PrimaryVAT,\n newFrequencyConfigs,\n frequencyConfigIdsToBeRemoved\n );\n })\n });\n frequencyModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t`,\n () => html`${i18next.t(\"Primary Vat Frequency\")}: ${htmlFrequencyLabel(getEffectiveFrequency(vatReg.PrimaryVATFrequencies))}`,\n void 0\n )}\n\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n canEditFreq(secondaryVatFrequencies, vatReg.SecondaryVATFrequencies),\n canShowFreq(secondaryVatFrequencies, vatReg.SecondaryVATFrequencies),\n () => html` {\n setFrequencyModalProps({\n serviceCountryCode: vatReg.ServiceCountry.Code,\n isInEu: isEuCountry(props.euCountries, companyServices.EstablishmentCountryCode),\n submissionConfig: props.submissionConfig,\n currentFrequencies: vatReg.SecondaryVATFrequencies,\n returnType: FrequenciesChangeRequestReturnType.SecondaryVAT,\n save: (sendEmail, newFrequencyConfigs, frequencyConfigIdsToBeRemoved) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeFrequencies(\n vatReg.Id,\n sendEmail,\n FrequenciesChangeRequestReturnType.SecondaryVAT,\n newFrequencyConfigs,\n frequencyConfigIdsToBeRemoved\n );\n })\n });\n frequencyModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t`,\n () => html`${i18next.t(\"Secondary Vat Frequency\")}: ${htmlFrequencyLabel(getEffectiveFrequency(vatReg.SecondaryVATFrequencies))}`,\n void 0\n )}\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n canEditFreq(vlsFrequencies, vatReg.VLSFrequencies),\n canShowFreq(vlsFrequencies, vatReg.VLSFrequencies),\n () => html` {\n setFrequencyModalProps({\n serviceCountryCode: vatReg.ServiceCountry.Code,\n isInEu: isEuCountry(props.euCountries, companyServices.EstablishmentCountryCode),\n submissionConfig: props.submissionConfig,\n currentFrequencies: vatReg.VLSFrequencies,\n returnType: FrequenciesChangeRequestReturnType.VLS,\n save: (sendEmail, newFrequencyConfigs, frequencyConfigIdsToBeRemoved) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeFrequencies(vatReg.Id, sendEmail, FrequenciesChangeRequestReturnType.VLS, newFrequencyConfigs, frequencyConfigIdsToBeRemoved);\n })\n });\n frequencyModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t`,\n () => html`${i18next.t(\"VLS Frequency\")}: ${htmlFrequencyLabel(getEffectiveFrequency(vatReg.VLSFrequencies))}`,\n () => {\n return htmlSetNotification(\"VLS\");\n }\n )}\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n canEditFreq(eslFrequencies, vatReg.ESLFrequencies),\n canShowFreq(eslFrequencies, vatReg.ESLFrequencies),\n () => html` {\n setFrequencyModalProps({\n serviceCountryCode: vatReg.ServiceCountry.Code,\n isInEu: isEuCountry(props.euCountries, companyServices.EstablishmentCountryCode),\n submissionConfig: props.submissionConfig,\n currentFrequencies: vatReg.ESLFrequencies,\n returnType: FrequenciesChangeRequestReturnType.ESL,\n save: (sendEmail, newFrequencyConfigs, frequencyConfigIdsToBeRemoved) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeFrequencies(vatReg.Id, sendEmail, FrequenciesChangeRequestReturnType.ESL, newFrequencyConfigs, frequencyConfigIdsToBeRemoved);\n })\n });\n frequencyModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t`,\n () => html`${i18next.t(\"ESL Frequency\")}: ${htmlFrequencyLabel(getEffectiveFrequency(vatReg.ESLFrequencies))}`,\n () => {\n return htmlSetNotification(\"ESL\");\n }\n )}\n\t\t\t\t\n\t\t\t\t${htmlConfigRow(\n hasIntrastatService && canEditFreq(intrastatFrequencies, vatReg.IntrastatFrequencies),\n hasIntrastatService && canShowFreq(intrastatFrequencies, vatReg.IntrastatFrequencies),\n () => html` {\n setFrequencyModalProps({\n serviceCountryCode: vatReg.ServiceCountry.Code,\n isInEu: isEuCountry(props.euCountries, companyServices.EstablishmentCountryCode),\n submissionConfig: props.submissionConfig,\n currentFrequencies: vatReg.IntrastatFrequencies,\n returnType: FrequenciesChangeRequestReturnType.Intrastat,\n save: (sendEmail, newFrequencyConfigs, frequencyConfigIdsToBeRemoved) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeFrequencies(\n vatReg.Id,\n sendEmail,\n FrequenciesChangeRequestReturnType.Intrastat,\n newFrequencyConfigs,\n frequencyConfigIdsToBeRemoved\n );\n })\n });\n frequencyModal.show();\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t`,\n () => html`${i18next.t(\"Intrastat Frequency\")}: ${htmlFrequencyLabel(getEffectiveFrequency(vatReg.IntrastatFrequencies))}`,\n void 0\n )}\n\t\t\t
\n\t\t
`;\n };\n const htmlCountryService = (companyServices, countryService, vatReg) => {\n var _a2, _b, _c;\n return html`
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${countryService.Country.Name}
\n\t\t\t\t\t
${countryService.VatNumber ? `(${countryService.VatNumber})` : \"\"}
\n\t\t\t\t
\n\t\t\t\t${htmlStatus(companyServices, vatReg, countryService)}\n\t\t\t
\n\t\t\t
\n\t\t\t\t${i18next.t(\"Service start date\")}: ${countryService.ContractFrom ? formatDate(countryService.ContractFrom) : \"-\"}\n\t\t\t\t | \n\t\t\t\t${i18next.t(\"Service expiration date\")}: ${countryService.ContractTo ? formatDate(countryService.ContractTo) : \"-\"}\n\t\t\t\t | \n\t\t\t\t${(vatReg == null ? void 0 : vatReg.ServiceKind) === \"NewReg\" ? i18next.t(\"Effective date of registration\") : i18next.t(\"Start date of representation by KPMG\")}:\n\t\t\t\t\t${formatDate(countryService.DateOfRegistration)}\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${i18next.t(\"Compliance status\")}: ${COMPLIANCE_SUBSCRIPTION_STATUS_LABELS[countryService.ComplianceSubscriptionStatus]}\n\t\t\t\t\t\t${interpretYearOneAsUndefined(countryService.ComplianceSubscriptionCancellationDate) ? html`(${formatDate(countryService.ComplianceSubscriptionCancellationDate)})` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify\") && countryService.ComplianceSubscriptionStatus === \"Active\" ? html` {\n setCurrentCancellationModalProps({\n contractFrom: countryService.ContractFrom,\n contractTo: countryService.ContractTo,\n subscriptionId: countryService.ComplianceSubscriptionId,\n cancelSubscription: props.callbackHandler.cancelSubscription\n });\n subCancellationModal.show();\n }}\n\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t${i18next.t(\"Cancel\")}\n\t\t\t\t\t\t\t ` : \"\"}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
${htmlConfigs(companyServices, vatReg)}
\n\t\t\t\t
${i18next.t(\"Services\")}:
\n\n\t\t\t\t${htmlCountrySubServices(countryService)} ${htmlDocuments(vatReg)}\n\t\t\t\t${vatReg.LocalVatCertificate.LocalVatNumber ? html`
\n\t\t\t\t\t\t\t
${i18next.t(\"Local VAT Number\")}:
\n\t\t\t\t\t\t\t
${vatReg.LocalVatCertificate.LocalVatNumber} (${formatDate(vatReg.LocalVatCertificate.LocalVatRegistrationDate)})
\n\t\t\t\t\t\t\t${vatReg.LocalVatCertificate.LocalVATCertificateReferenceId ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatCertificate(vatReg.Id, \"Local\");\n })}\n\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t${((_a2 = vatReg.EUVatCertificate.EUVatNumber) == null ? void 0 : _a2.VatNumber) ? html`
\n\t\t\t\t\t\t\t
${i18next.t(\"EU VAT Number\")}:
\n\t\t\t\t\t\t\t
${vatReg.EUVatCertificate.EUVatNumber.CountryCode}${vatReg.EUVatCertificate.EUVatNumber.VatNumber} (${formatDate(vatReg.EUVatCertificate.EUVatRegistrationDate)})
\n\t\t\t\t\t\t\t${vatReg.EUVatCertificate.EUVATCertificateReferenceId ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatCertificate(vatReg.Id, \"Eu\");\n })}\n\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t${vatReg.TaxIdentifier ? html`
\n\t\t\t\t\t\t\t${props.isAdmin && props.permissionManager.hasPermission(\"VAT_Modify_TaxIdentifier\") ? html` __async(void 0, null, function* () {\n setCurrentTaxIdentifierModalProps({\n save: (taxIdentifier) => __async(void 0, null, function* () {\n yield props.callbackHandler.changeTaxIdentifier(props.companyServices.Id, vatReg.Id, taxIdentifier);\n })\n });\n yield taxIdentifierModal.show();\n })}\n\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t${editIcon()}\n\t\t\t\t\t\t\t\t ` : \"\"}\n\n\t\t\t\t\t\t\t
${i18next.t(\"Tax Identifier\")}:
\n\t\t\t\t\t\t\t
${vatReg.TaxIdentifier}
\n\t\t\t\t\t
` : \"\"}\n\t\t\t\t${vatReg.DeregistrationInfo ? html`
\n\t\t\t\t\t\t\t
${i18next.t(\"Deregistered\")}: (${formatDate(vatReg.DeregistrationInfo.DeregisteredAt)})
\n\t\t\t\t\t\t\t${((_b = vatReg.DeregistrationInfo) == null ? void 0 : _b.DocumentId) ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadVatDeregistrationDocument(vatReg.Id);\n })}\n\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t ` : \"\"}\n\t\t\t\t${vatReg.PoARevocationInfo ? html`
\n\t\t\t\t\t\t\t
${i18next.t(\"PoA revoked\")}: (${formatDate(vatReg.PoARevocationInfo.PoARevokedAt)})
\n\t\t\t\t\t\t\t${((_c = vatReg.PoARevocationInfo) == null ? void 0 : _c.DocumentId) ? html` __async(void 0, null, function* () {\n yield props.callbackHandler.downloadPoaRevokedConfirmationDocument(vatReg.Id);\n })}\n\t\t\t\t\t\t\t\t >\n\t\t\t\t\t\t\t\t\t\t${downloadPDFIcon()}\n\t\t\t\t\t\t\t\t
` : \"\"}\n\t\t\t\t\t ` : \"\"}\n\t\t\t\n\t\t`;\n };\n const htmlSignedVatRegPDFUploadModal = () => {\n if (showSignedVatRegPDFUploadModal) {\n return html`\n\t\t\t\t
\n\t\t\t\t\t setShowSignedVatRegPDFUploadModal(false)}\n\t\t\t\t\t\t.header=${\"Upload signed PDF\"}\n\t\t\t\t\t\t.content=${html`
\n\t\t\t\t\t\t\t __async(void 0, null, function* () {\n var _a2;\n if (((_a2 = e.detail) == null ? void 0 : _a2.files) && e.detail.files.length > 0) {\n yield props.callbackHandler.uploadSignedVatRegDocument(currentVatRegId, currentTemplateId, e.detail.files[0]);\n setShowSignedVatRegPDFUploadModal(false);\n }\n })}\n\t\t\t\t\t\t\t>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
`}\n\t\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t`;\n } else {\n return html``;\n }\n };\n const htmlModals = html`${htmlSignedVatRegPDFUploadModal()} ${commentModal.template()} ${localVatModal.template()} ${euVatModal.template()} ${subCancellationModal.template()}\n\t${deregistrationModal.template} ${poaRevokedModal.template}`;\n const servicesTemplate = (_a = props.companyServices) == null ? void 0 : _a.CountryServices.filter((cs) => props.showCancelledServices || cs.ComplianceSubscriptionStatus !== \"Cancelled\").map(\n (countryService) => htmlCountryService(\n props.companyServices,\n countryService,\n props.companyServices.VatRegistrations.find((vatReg) => vatReg.ServiceCountry.Code === countryService.Country.Code)\n )\n );\n const mainTemplate = html`${servicesTemplate}${bankAccountModal.template()}${paymentReferenceModal.template()}${frequencyModal.template()}${subscriptionModal.template()}${confirmModal.mainTemplate()}${taxIdentifierModal.template()}`;\n return { mainTemplate, htmlModals };\n};\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class FrequencyConfig {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FrequencyConfig\n */\n this.$type = \"V1.Company.CompanyInfo.FrequencyConfig\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.EFiling = _data[\"EFiling\"];\n this.FilingExtension = _data[\"FilingExtension\"];\n this.FrequencyType = FrequencyConfigFrequencyType[_data[\"FrequencyType\"]];\n this.Id = _data[\"Id\"];\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"EFiling\"] = this.EFiling;\n _data[\"FilingExtension\"] = this.FilingExtension;\n _data[\"FrequencyType\"] = FrequencyConfigFrequencyType[this.FrequencyType];\n _data[\"Id\"] = this.Id;\n _data[\"ValidFrom\"] = DateConverter.toUtcDateString(this.ValidFrom);\n return _data;\n }\n}\nexport var FrequencyConfigFrequencyType = /* @__PURE__ */ ((FrequencyConfigFrequencyType2) => {\n FrequencyConfigFrequencyType2[\"Monthly\"] = \"Monthly\";\n FrequencyConfigFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n FrequencyConfigFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n FrequencyConfigFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n FrequencyConfigFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n FrequencyConfigFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n FrequencyConfigFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n FrequencyConfigFrequencyType2[\"Yearly\"] = \"Yearly\";\n return FrequencyConfigFrequencyType2;\n})(FrequencyConfigFrequencyType || {});\n","import { Country } from \"./../../Common/MasterData/Country\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Document } from \"./../../CompanyInfo/Detail/Document\";\nimport { VatIdentificationNumber } from \"./../../Common/VatIdentificationNumber\";\nimport { BankAccountConfig } from \"./../../CompanyInfo/Detail/BankAccountConfig\";\nimport { FrequencyConfig } from \"./FrequencyConfig\";\nexport class VatRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegistration\n */\n this.$type = \"V1.Company.CompanyInfo.VatRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"BankAccountConfig\"]) {\n const bankAccountConfig_ = new BankAccountConfig();\n this.BankAccountConfig = bankAccountConfig_.init(_data[\"BankAccountConfig\"]);\n }\n this.DeregistrationConfirmationDocumentId = _data[\"DeregistrationConfirmationDocumentId\"];\n this.DeregistrationDate = DateConverter.from(_data[\"DeregistrationDate\"]);\n if (_data[\"Documents\"] && _data[\"Documents\"].constructor === Array) {\n this.Documents = [];\n for (let item of _data[\"Documents\"]) {\n const documents_ = new Document();\n this.Documents.push(documents_.init(item));\n }\n }\n if (_data[\"EslFrequencies\"] && _data[\"EslFrequencies\"].constructor === Array) {\n this.EslFrequencies = [];\n for (let item of _data[\"EslFrequencies\"]) {\n const eslFrequencies_ = new FrequencyConfig();\n this.EslFrequencies.push(eslFrequencies_.init(item));\n }\n }\n this.EUVATCertificatesReferenceId = _data[\"EUVATCertificatesReferenceId\"];\n if (_data[\"EUVatNumber\"]) {\n const eUVatNumber_ = new VatIdentificationNumber();\n this.EUVatNumber = eUVatNumber_.init(_data[\"EUVatNumber\"]);\n }\n this.EUVatRegistrationDate = DateConverter.from(_data[\"EUVatRegistrationDate\"]);\n this.Id = _data[\"Id\"];\n if (_data[\"IntrastatFrequencies\"] && _data[\"IntrastatFrequencies\"].constructor === Array) {\n this.IntrastatFrequencies = [];\n for (let item of _data[\"IntrastatFrequencies\"]) {\n const intrastatFrequencies_ = new FrequencyConfig();\n this.IntrastatFrequencies.push(intrastatFrequencies_.init(item));\n }\n }\n this.LocalVATCertificatesReferenceId = _data[\"LocalVATCertificatesReferenceId\"];\n this.LocalVatNumber = _data[\"LocalVatNumber\"];\n this.LocalVatRegistrationDate = DateConverter.from(_data[\"LocalVatRegistrationDate\"]);\n this.PaymentReference = _data[\"PaymentReference\"];\n this.PoaRevocationConfirmationDocumentId = _data[\"PoaRevocationConfirmationDocumentId\"];\n this.PoaRevocationDate = DateConverter.from(_data[\"PoaRevocationDate\"]);\n if (_data[\"PrimaryVatFrequencies\"] && _data[\"PrimaryVatFrequencies\"].constructor === Array) {\n this.PrimaryVatFrequencies = [];\n for (let item of _data[\"PrimaryVatFrequencies\"]) {\n const primaryVatFrequencies_ = new FrequencyConfig();\n this.PrimaryVatFrequencies.push(primaryVatFrequencies_.init(item));\n }\n }\n this.RegistrationDocumentStatus = VatRegistrationRegistrationDocumentStatus[_data[\"RegistrationDocumentStatus\"]];\n if (_data[\"SecondaryVatFrequencies\"] && _data[\"SecondaryVatFrequencies\"].constructor === Array) {\n this.SecondaryVatFrequencies = [];\n for (let item of _data[\"SecondaryVatFrequencies\"]) {\n const secondaryVatFrequencies_ = new FrequencyConfig();\n this.SecondaryVatFrequencies.push(secondaryVatFrequencies_.init(item));\n }\n }\n if (_data[\"ServiceCountry\"]) {\n const serviceCountry_ = new Country();\n this.ServiceCountry = serviceCountry_.init(_data[\"ServiceCountry\"]);\n }\n this.ServiceKind = VatRegistrationServiceKind[_data[\"ServiceKind\"]];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n this.Status = VatRegistrationStatus[_data[\"Status\"]];\n this.TaxIdentifier = _data[\"TaxIdentifier\"];\n if (_data[\"VlsFrequencies\"] && _data[\"VlsFrequencies\"].constructor === Array) {\n this.VlsFrequencies = [];\n for (let item of _data[\"VlsFrequencies\"]) {\n const vlsFrequencies_ = new FrequencyConfig();\n this.VlsFrequencies.push(vlsFrequencies_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BankAccountConfig\"] = this.BankAccountConfig ? this.BankAccountConfig.toJSON() : void 0;\n _data[\"DeregistrationConfirmationDocumentId\"] = this.DeregistrationConfirmationDocumentId;\n _data[\"DeregistrationDate\"] = DateConverter.toUtcDateString(this.DeregistrationDate);\n if (this.Documents && this.Documents.constructor === Array) {\n _data[\"Documents\"] = [];\n for (let item of this.Documents) {\n _data[\"Documents\"].push(item.toJSON());\n }\n }\n if (this.EslFrequencies && this.EslFrequencies.constructor === Array) {\n _data[\"EslFrequencies\"] = [];\n for (let item of this.EslFrequencies) {\n _data[\"EslFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"EUVATCertificatesReferenceId\"] = this.EUVATCertificatesReferenceId;\n _data[\"EUVatNumber\"] = this.EUVatNumber ? this.EUVatNumber.toJSON() : void 0;\n _data[\"EUVatRegistrationDate\"] = DateConverter.toUtcDateString(this.EUVatRegistrationDate);\n _data[\"Id\"] = this.Id;\n if (this.IntrastatFrequencies && this.IntrastatFrequencies.constructor === Array) {\n _data[\"IntrastatFrequencies\"] = [];\n for (let item of this.IntrastatFrequencies) {\n _data[\"IntrastatFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"LocalVATCertificatesReferenceId\"] = this.LocalVATCertificatesReferenceId;\n _data[\"LocalVatNumber\"] = this.LocalVatNumber;\n _data[\"LocalVatRegistrationDate\"] = DateConverter.toUtcDateString(this.LocalVatRegistrationDate);\n _data[\"PaymentReference\"] = this.PaymentReference;\n _data[\"PoaRevocationConfirmationDocumentId\"] = this.PoaRevocationConfirmationDocumentId;\n _data[\"PoaRevocationDate\"] = DateConverter.toUtcDateString(this.PoaRevocationDate);\n if (this.PrimaryVatFrequencies && this.PrimaryVatFrequencies.constructor === Array) {\n _data[\"PrimaryVatFrequencies\"] = [];\n for (let item of this.PrimaryVatFrequencies) {\n _data[\"PrimaryVatFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"RegistrationDocumentStatus\"] = VatRegistrationRegistrationDocumentStatus[this.RegistrationDocumentStatus];\n if (this.SecondaryVatFrequencies && this.SecondaryVatFrequencies.constructor === Array) {\n _data[\"SecondaryVatFrequencies\"] = [];\n for (let item of this.SecondaryVatFrequencies) {\n _data[\"SecondaryVatFrequencies\"].push(item.toJSON());\n }\n }\n _data[\"ServiceCountry\"] = this.ServiceCountry ? this.ServiceCountry.toJSON() : void 0;\n _data[\"ServiceKind\"] = VatRegistrationServiceKind[this.ServiceKind];\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n _data[\"Status\"] = VatRegistrationStatus[this.Status];\n _data[\"TaxIdentifier\"] = this.TaxIdentifier;\n if (this.VlsFrequencies && this.VlsFrequencies.constructor === Array) {\n _data[\"VlsFrequencies\"] = [];\n for (let item of this.VlsFrequencies) {\n _data[\"VlsFrequencies\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var VatRegistrationRegistrationDocumentStatus = /* @__PURE__ */ ((VatRegistrationRegistrationDocumentStatus2) => {\n VatRegistrationRegistrationDocumentStatus2[\"None\"] = \"None\";\n VatRegistrationRegistrationDocumentStatus2[\"InProgress\"] = \"InProgress\";\n VatRegistrationRegistrationDocumentStatus2[\"Generated\"] = \"Generated\";\n VatRegistrationRegistrationDocumentStatus2[\"Error\"] = \"Error\";\n return VatRegistrationRegistrationDocumentStatus2;\n})(VatRegistrationRegistrationDocumentStatus || {});\nexport var VatRegistrationServiceKind = /* @__PURE__ */ ((VatRegistrationServiceKind2) => {\n VatRegistrationServiceKind2[\"NewReg\"] = \"NewReg\";\n VatRegistrationServiceKind2[\"TakOver\"] = \"TakOver\";\n return VatRegistrationServiceKind2;\n})(VatRegistrationServiceKind || {});\nexport var VatRegistrationStatus = /* @__PURE__ */ ((VatRegistrationStatus2) => {\n VatRegistrationStatus2[\"Pending\"] = \"Pending\";\n VatRegistrationStatus2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n VatRegistrationStatus2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n VatRegistrationStatus2[\"TranslationInProgress\"] = \"TranslationInProgress\";\n VatRegistrationStatus2[\"SentToTA\"] = \"SentToTA\";\n VatRegistrationStatus2[\"LocalTaxReceived\"] = \"LocalTaxReceived\";\n VatRegistrationStatus2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n VatRegistrationStatus2[\"Deregistered\"] = \"Deregistered\";\n VatRegistrationStatus2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n VatRegistrationStatus2[\"PoARevoked\"] = \"PoARevoked\";\n VatRegistrationStatus2[\"RevokingPoA\"] = \"RevokingPoA\";\n return VatRegistrationStatus2;\n})(VatRegistrationStatus || {});\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { Document } from \"./../../CompanyInfo/Detail/IossRegistration/Document\";\nimport { Country } from \"./../../Common/MasterData/Country\";\nexport class IossRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IossRegistration\n */\n this.$type = \"V1.Company.CompanyInfo.IossRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CertificatesReferenceId = _data[\"CertificatesReferenceId\"];\n if (_data[\"CountryOfRegistration\"]) {\n const countryOfRegistration_ = new Country();\n this.CountryOfRegistration = countryOfRegistration_.init(_data[\"CountryOfRegistration\"]);\n }\n this.DateOfDeregistration = DateConverter.from(_data[\"DateOfDeregistration\"]);\n this.DeregistrationConfirmationDocumentId = _data[\"DeregistrationConfirmationDocumentId\"];\n if (_data[\"DesuclaErrors\"] && _data[\"DesuclaErrors\"].constructor === Array) {\n this.DesuclaErrors = [];\n for (let item of _data[\"DesuclaErrors\"]) {\n this.DesuclaErrors.push(item);\n }\n }\n if (_data[\"Documents\"] && _data[\"Documents\"].constructor === Array) {\n this.Documents = [];\n for (let item of _data[\"Documents\"]) {\n const documents_ = new Document();\n this.Documents.push(documents_.init(item));\n }\n }\n this.Id = _data[\"Id\"];\n this.MerchantId = _data[\"MerchantId\"];\n this.ProductId = _data[\"ProductId\"];\n this.RegistrationDate = DateConverter.from(_data[\"RegistrationDate\"]);\n this.RegistrationNumber = _data[\"RegistrationNumber\"];\n this.RegistrationType = IossRegistrationRegistrationType[_data[\"RegistrationType\"]];\n this.StartDate = DateConverter.from(_data[\"StartDate\"]);\n this.Status = IossRegistrationStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CertificatesReferenceId\"] = this.CertificatesReferenceId;\n _data[\"CountryOfRegistration\"] = this.CountryOfRegistration ? this.CountryOfRegistration.toJSON() : void 0;\n _data[\"DateOfDeregistration\"] = DateConverter.toUtcDateString(this.DateOfDeregistration);\n _data[\"DeregistrationConfirmationDocumentId\"] = this.DeregistrationConfirmationDocumentId;\n if (this.DesuclaErrors && this.DesuclaErrors.constructor === Array) {\n _data[\"DesuclaErrors\"] = [];\n for (let item of this.DesuclaErrors) {\n _data[\"DesuclaErrors\"].push(item);\n }\n }\n if (this.Documents && this.Documents.constructor === Array) {\n _data[\"Documents\"] = [];\n for (let item of this.Documents) {\n _data[\"Documents\"].push(item.toJSON());\n }\n }\n _data[\"Id\"] = this.Id;\n _data[\"MerchantId\"] = this.MerchantId;\n _data[\"ProductId\"] = this.ProductId;\n _data[\"RegistrationDate\"] = DateConverter.toUtcDateString(this.RegistrationDate);\n _data[\"RegistrationNumber\"] = this.RegistrationNumber;\n _data[\"RegistrationType\"] = IossRegistrationRegistrationType[this.RegistrationType];\n _data[\"StartDate\"] = DateConverter.toUtcDateString(this.StartDate);\n _data[\"Status\"] = IossRegistrationStatus[this.Status];\n return _data;\n }\n}\nexport var IossRegistrationRegistrationType = /* @__PURE__ */ ((IossRegistrationRegistrationType2) => {\n IossRegistrationRegistrationType2[\"NewRegistration\"] = \"NewRegistration\";\n IossRegistrationRegistrationType2[\"TakeOver\"] = \"TakeOver\";\n return IossRegistrationRegistrationType2;\n})(IossRegistrationRegistrationType || {});\nexport var IossRegistrationStatus = /* @__PURE__ */ ((IossRegistrationStatus2) => {\n IossRegistrationStatus2[\"Pending\"] = \"Pending\";\n IossRegistrationStatus2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n IossRegistrationStatus2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n IossRegistrationStatus2[\"SentToTA\"] = \"SentToTA\";\n IossRegistrationStatus2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n IossRegistrationStatus2[\"Failed\"] = \"Failed\";\n IossRegistrationStatus2[\"Declined\"] = \"Declined\";\n IossRegistrationStatus2[\"Deregistered\"] = \"Deregistered\";\n IossRegistrationStatus2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n return IossRegistrationStatus2;\n})(IossRegistrationStatus || {});\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { CompanyDetail as WebCompanyInfoDetail, CompanyDetailLegalStatus as WebCompanyInfoDetailLegalStatus } from \"WebServices/APIs/self/models/V1/CompanyInfo/CompanyDetail\";\nimport { CompanyDetail as AdminCompanyInfoDetail, CompanyDetailLegalStatus as AdminCompanyInfoDetailLegalStatus } from \"AdminServices/APIs/self/models/V1/CompanyInfo/CompanyDetail\";\nimport { IndividualDetail as WebCompanyInfoIndividualDetail } from \"WebServices/APIs/self/models/V1/CompanyInfo/IndividualDetail\";\nimport { IndividualDetail as AdminCompanyInfoIndividualDetail } from \"AdminServices/APIs/self/models/V1/CompanyInfo/IndividualDetail\";\nimport { Questionnaire as WebQuestionnaire } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire\";\nimport { Questionnaire as AdminQuestionnaire } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire\";\nimport { QuestionnaireStatus as WebQuestinnaireStatus } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Questionnaire\";\nimport { isEuCountry, SERVICE_COUNTRIES } from \"GlobalShared/helpers/countryHelper\";\nimport { VatRegistrationServiceKind } from \"AdminServices/APIs/self/models/V1/Company/CompanyInfo/VatRegistration\";\nimport { IossRegistrationRegistrationType } from \"AdminServices/APIs/self/models/V1/Company/CompanyInfo/IossRegistration\";\nexport class QuestionnaireContext {\n constructor(questionnaire, isAdmin, euCountries, questions, company, canAdminModify) {\n /* eslint-disable @typescript-eslint/naming-convention */\n this.visibilityRules = {\n tax_auth_name: () => this.hasVatService(),\n estab_vat: () => this.hasVatService(),\n estab_vat_cert: () => this.hasVatService(),\n incorp_date: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Poland, SERVICE_COUNTRIES.France, SERVICE_COUNTRIES.Germany]),\n amount_of_cap: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany, SERVICE_COUNTRIES.France]),\n article_assoc: () => this.isCompany() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany, SERVICE_COUNTRIES.France]),\n corresp_is_same: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.CzechRepublic, SERVICE_COUNTRIES.Poland]),\n corresp_address: () => {\n if (this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.CzechRepublic, SERVICE_COUNTRIES.Poland])) {\n const answer = this.getAnswer(\"corresp_is_same\");\n if (answer) {\n return answer.Value === false;\n } else {\n return false;\n }\n } else {\n return false;\n }\n },\n uk_vat: () => this.hasCountryRegistration([SERVICE_COUNTRIES.UnitedKingdom]) && !this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.UnitedKingdom]),\n uk_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.UnitedKingdom]),\n de_vat: () => this.hasTakoverCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_storage_address: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_local_tax: () => this.hasTakoverCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_store_start: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_import_country: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_est_profit: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_est_vat: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n de_product_type: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n fr_vat: () => this.hasCountryRegistration([SERVICE_COUNTRIES.France]) && !this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n fr_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n fr_vat_liability: () => !this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n fr_supplies: () => !this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n fr_acquisitions: () => !this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n fr_cntry_disp: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n fr_cntry_inv: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.France]),\n prev_fisc_rep: () => !this.isEuCountry() && this.hasTakoverCountryRegistration([SERVICE_COUNTRIES.France]),\n fisc_rep_address: () => !this.isEuCountry() && this.hasTakoverCountryRegistration([SERVICE_COUNTRIES.France]),\n it_vat: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Italy]) && !this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]),\n it_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]),\n it_emp: () => this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]),\n it_sales: () => this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]),\n it_dist_sales: () => this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]),\n it_turnovers: () => {\n var _a;\n return this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]) && ((_a = this.getAnswer(\"it_sales\")) == null ? void 0 : _a.Value) === true;\n },\n it_vat_cert: () => this.hasTakoverCountryRegistration([SERVICE_COUNTRIES.Italy]),\n es_vat: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Spain]) && !this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Spain]),\n es_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Spain]),\n cz_vat: () => this.hasCountryRegistration([SERVICE_COUNTRIES.CzechRepublic]) && !this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.CzechRepublic]),\n cz_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.CzechRepublic]),\n pl_vat: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]) && !this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Poland]),\n pl_annual: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Poland]),\n at_annual: () => this.hasNewServiceCountryRegistration([\"AT\"]),\n at_vat: () => this.hasTakoverCountryRegistration([\"AT\"]),\n at_product_type: () => this.hasNewServiceCountryRegistration([\"AT\"]),\n at_local_tax: () => this.hasTakoverCountryRegistration([\"AT\"]),\n be_annual: () => this.hasNewServiceCountryRegistration([\"BE\"]),\n be_vat: () => this.hasTakoverCountryRegistration([\"BE\"]),\n ie_annual: () => this.hasNewServiceCountryRegistration([\"IE\"]),\n ie_vat: () => this.hasTakoverCountryRegistration([\"IE\"]),\n nl_annual: () => this.hasNewServiceCountryRegistration([\"NL\"]),\n nl_vat: () => this.hasTakoverCountryRegistration([\"NL\"]),\n dk_annual: () => this.hasNewServiceCountryRegistration([\"DK\"]),\n dk_vat: () => this.hasTakoverCountryRegistration([\"DK\"]),\n ro_annual: () => this.hasNewServiceCountryRegistration([\"RO\"]),\n ro_vat: () => this.hasTakoverCountryRegistration([\"RO\"]),\n se_annual: () => this.hasNewServiceCountryRegistration([\"SE\"]),\n se_vat: () => this.hasTakoverCountryRegistration([\"SE\"]),\n pt_annual: () => this.hasNewServiceCountryRegistration([\"PT\"]),\n pt_vat: () => this.hasTakoverCountryRegistration([\"PT\"]),\n hu_annual: () => this.hasNewServiceCountryRegistration([\"HU\"]),\n hu_vat: () => this.hasTakoverCountryRegistration([\"HU\"]),\n sk_annual: () => this.hasNewServiceCountryRegistration([\"SK\"]),\n sk_vat: () => this.hasTakoverCountryRegistration([\"SK\"]),\n fi_annual: () => this.hasNewServiceCountryRegistration([\"FI\"]),\n fi_vat: () => this.hasTakoverCountryRegistration([\"FI\"]),\n el_annual: () => this.hasNewServiceCountryRegistration([\"EL\"]),\n el_vat: () => this.hasTakoverCountryRegistration([\"EL\"]),\n lu_annual: () => this.hasNewServiceCountryRegistration([\"LU\"]),\n lu_vat: () => this.hasTakoverCountryRegistration([\"LU\"]),\n bg_annual: () => this.hasNewServiceCountryRegistration([\"BG\"]),\n bg_vat: () => this.hasTakoverCountryRegistration([\"BG\"]),\n hr_annual: () => this.hasNewServiceCountryRegistration([\"HR\"]),\n hr_vat: () => this.hasTakoverCountryRegistration([\"HR\"]),\n cy_annual: () => this.hasNewServiceCountryRegistration([\"CY\"]),\n cy_vat: () => this.hasTakoverCountryRegistration([\"CY\"]),\n ee_annual: () => this.hasNewServiceCountryRegistration([\"EE\"]),\n ee_vat: () => this.hasTakoverCountryRegistration([\"EE\"]),\n lt_annual: () => this.hasNewServiceCountryRegistration([\"LT\"]),\n lt_vat: () => this.hasTakoverCountryRegistration([\"LT\"]),\n lv_annual: () => this.hasNewServiceCountryRegistration([\"LV\"]),\n lv_vat: () => this.hasTakoverCountryRegistration([\"LV\"]),\n mt_annual: () => this.hasNewServiceCountryRegistration([\"MT\"]),\n mt_vat: () => this.hasTakoverCountryRegistration([\"MT\"]),\n si_annual: () => this.hasNewServiceCountryRegistration([\"SI\"]),\n si_vat: () => this.hasTakoverCountryRegistration([\"SI\"]),\n other_vats: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany, SERVICE_COUNTRIES.CzechRepublic, SERVICE_COUNTRIES.Poland]),\n com_reg_name: () => this.isEuCountry() && (this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]) || this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany])),\n stock_name: () => {\n const answer = this.getAnswer(\"is_on_stock\");\n if (answer) {\n return answer.Value === true;\n } else {\n return false;\n }\n },\n ticker_symbol: () => {\n const answer = this.getAnswer(\"is_on_stock\");\n if (answer) {\n return answer.Value === true;\n } else {\n return false;\n }\n },\n mp_store_name: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n sell_id: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n mp_name: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]),\n web_link: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy, SERVICE_COUNTRIES.Germany]),\n // eslint-disable-next-line complexity\n legal_rep: (subQuestionId) => {\n if (subQuestionId === \"document_expiration_date\") {\n return this.hasVatService();\n }\n if (subQuestionId === \"phone\" || subQuestionId === \"email\") {\n return this.hasIossService();\n }\n if (subQuestionId === \"father_name\") {\n return this.isIndividual() && this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]) || !this.isIndividual() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Spain, SERVICE_COUNTRIES.Poland]);\n }\n if (subQuestionId === \"own_more_than_25_percent\") {\n return !this.isIndividual() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]);\n }\n if (subQuestionId === \"is_only_director\") {\n return !this.isIndividual() && this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]);\n }\n if (subQuestionId === \"middle_name\") {\n return this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Poland]);\n }\n if (subQuestionId === \"fiscal_code\") {\n return this.isEuCountry() && this.hasCountryRegistration([SERVICE_COUNTRIES.Italy]);\n }\n return true;\n },\n business_owner: (subQuestionId) => {\n if (subQuestionId === \"document_number\" || subQuestionId === \"document_type\" || subQuestionId === \"registration_number\") {\n return !this.isIndividual() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany]);\n }\n if (subQuestionId === \"share_percentage\" || subQuestionId === \"date_of_birth\" || subQuestionId === \"date_of_incorporation\") {\n return !this.isIndividual();\n }\n return true;\n },\n has_pl_bank: () => this.isEuCountry() && this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]),\n pl_bank: () => {\n if (this.isEuCountry() && this.hasCountryRegistration([SERVICE_COUNTRIES.Poland])) {\n const answer = this.getAnswer(\"has_pl_bank\");\n if (answer) {\n return answer.Value;\n } else {\n return false;\n }\n } else {\n return false;\n }\n },\n other_bank: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]) || this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Germany, SERVICE_COUNTRIES.CzechRepublic]) || this.isEuCountry() && this.hasCountryRegistration([SERVICE_COUNTRIES.France]),\n bank_cert: () => this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.CzechRepublic, SERVICE_COUNTRIES.France]) || this.isEuCountry() && this.hasTakoverCountryRegistration([SERVICE_COUNTRIES.France]),\n ioss_web_link: () => this.hasIossService(),\n ioss_fixed_estab: () => this.hasIossService() && false,\n // DEVNOTE: If there is fixed eu establishment, the user cannot register for IOSS.\n ioss_exs_ioss: () => this.isIossTakeOver(),\n oss_has_registration: () => this.hasVatService(),\n oss_details: () => {\n if (this.hasVatService()) {\n const answer = this.getAnswer(\"oss_has_registration\");\n if (answer) {\n return answer.Value;\n } else {\n return false;\n }\n } else {\n return false;\n }\n },\n account_loc: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]),\n account_addrs: () => this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]),\n commercial_reg_num: () => !this.isIndividual() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Poland]),\n commercial_reg_date: () => !this.isIndividual() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Poland]),\n leg_ent_from: () => !this.isIndividual() && this.isEuCountry() && this.hasCountryRegistration([SERVICE_COUNTRIES.Poland]),\n name_of_com_auth: () => !this.isIndividual() && this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Poland]),\n leg_ent_type: () => !this.isIndividual() && this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy]),\n client_base: () => this.isEuCountry() && this.hasNewServiceCountryRegistration([SERVICE_COUNTRIES.Italy])\n };\n this.questionnaire = questionnaire;\n this.euCountries = euCountries;\n this.questions = questions;\n this.isAdmin = isAdmin;\n this.company = company;\n this.canAdminModify = canAdminModify;\n }\n getQuestion(questionId) {\n const filteredQuestions = this.questions.filter((question) => question.Id === questionId);\n if (filteredQuestions.length === 1) {\n return filteredQuestions[0];\n } else {\n return void 0;\n }\n }\n isEuCountry() {\n return isEuCountry(this.euCountries, this.getEstablishmentCountry());\n }\n isIndividual() {\n return this.company && (this.company.BusinessDetail instanceof WebCompanyInfoIndividualDetail || this.company.BusinessDetail instanceof AdminCompanyInfoIndividualDetail);\n }\n isCompany() {\n if (this.company && this.company.BusinessDetail instanceof WebCompanyInfoDetail) {\n return this.company.BusinessDetail.LegalStatus === WebCompanyInfoDetailLegalStatus.Company;\n }\n if (this.company && this.company.BusinessDetail instanceof AdminCompanyInfoDetail) {\n return this.company.BusinessDetail.LegalStatus === AdminCompanyInfoDetailLegalStatus.Company;\n }\n return void 0;\n }\n isPartnership() {\n if (this.company && this.company.BusinessDetail instanceof WebCompanyInfoDetail) {\n return this.company.BusinessDetail.LegalStatus === WebCompanyInfoDetailLegalStatus.Partnership;\n }\n if (this.company && this.company.BusinessDetail instanceof AdminCompanyInfoDetail) {\n return this.company.BusinessDetail.LegalStatus === AdminCompanyInfoDetailLegalStatus.Partnership;\n }\n return void 0;\n }\n getCompanyDetail() {\n if (this.company && this.company.BusinessDetail instanceof WebCompanyInfoDetail) {\n return this.company.BusinessDetail;\n }\n if (this.company && this.company.BusinessDetail instanceof AdminCompanyInfoDetail) {\n return this.company.BusinessDetail;\n }\n return void 0;\n }\n getIndividualDetail() {\n if (this.company && this.company.BusinessDetail instanceof WebCompanyInfoIndividualDetail) {\n return this.company.BusinessDetail;\n }\n if (this.company && this.company.BusinessDetail instanceof AdminCompanyInfoIndividualDetail) {\n return this.company.BusinessDetail;\n }\n return void 0;\n }\n hasCountryRegistration(countries) {\n return this.company && this.company.VatRegistrations && this.company.VatRegistrations.some((c) => countries.includes(c.ServiceCountry.Code));\n }\n hasNewServiceCountryRegistration(countries) {\n return this.company && this.company.VatRegistrations && this.company.VatRegistrations.some((c) => c.ServiceKind === VatRegistrationServiceKind.NewReg && countries.includes(c.ServiceCountry.Code));\n }\n hasTakoverCountryRegistration(countries) {\n return this.company && this.company.VatRegistrations && this.company.VatRegistrations.some((c) => c.ServiceKind === VatRegistrationServiceKind.TakOver && countries.includes(c.ServiceCountry.Code));\n }\n hasVatService() {\n var _a, _b;\n return ((_b = (_a = this.company) == null ? void 0 : _a.VatRegistrations) == null ? void 0 : _b.length) > 0;\n }\n hasIossService() {\n var _a, _b;\n return ((_b = (_a = this.company) == null ? void 0 : _a.IossRegistrations) == null ? void 0 : _b.length) > 0;\n }\n isIossTakeOver() {\n return this.hasIossService() && this.company.IossRegistrations[0].RegistrationType === IossRegistrationRegistrationType.TakeOver;\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n isVisible(questionId, subQuestionId) {\n const questionRule = this.visibilityRules[questionId];\n if (questionRule !== void 0) {\n return questionRule(subQuestionId);\n }\n return true;\n }\n getQuestionnaireStatus() {\n var _a;\n return (_a = this.questionnaire) == null ? void 0 : _a.Status;\n }\n isReadonly(_questionId) {\n if (this.questionnaire === void 0 || this.questionnaire.Status === void 0) {\n return true;\n } else {\n return !this.isAdmin && this.questionnaire.Status !== WebQuestinnaireStatus.Incomplete || this.isAdmin && !this.canAdminModify;\n }\n }\n getEstablishmentCountry() {\n var _a;\n return (_a = this.company) == null ? void 0 : _a.BusinessDetail.EstablishmentCountryCode;\n }\n getServiceCountryCodes() {\n return this.company && this.company.VatRegistrations && this.company.VatRegistrations.map((s) => s.ServiceCountry.Code);\n }\n getAnswers() {\n return this.questionnaire.Answers;\n }\n getAnswer(questionId) {\n return this.questionnaire && this.questionnaire.Answers.find((a) => a.QuestionId === questionId);\n }\n getNewContextWithSetAnswer(pAnswer) {\n let newQ11E;\n if (this.questionnaire instanceof AdminQuestionnaire) {\n newQ11E = new AdminQuestionnaire(__spreadValues({}, this.questionnaire));\n } else {\n newQ11E = new WebQuestionnaire(__spreadValues({}, this.questionnaire));\n }\n let answerFound = false;\n newQ11E.Answers = newQ11E.Answers.map((answer) => {\n if (answer.QuestionId === pAnswer.QuestionId) {\n answerFound = true;\n return pAnswer;\n } else {\n return answer;\n }\n });\n if (!answerFound) {\n newQ11E.Answers.push(pAnswer);\n }\n return new QuestionnaireContext(newQ11E, this.isAdmin, this.euCountries, this.questions, this.company, this.canAdminModify);\n }\n getUploadToQuestionUrl(questionId) {\n if (this.isAdmin) {\n return `${window.location.origin}/api/v1/Questionnaire/Company/${this.company.Id}/Answers/${questionId}/Upload/`;\n }\n return `${window.location.origin}/api/v1/Questionnaire/Answers/${questionId}/Upload`;\n }\n getUploadFileUrl() {\n if (this.isAdmin) {\n return `${window.location.origin}/api/v1/Questionnaire/Company/${this.company.Id}/Answers/FileUpload`;\n }\n return `${window.location.origin}/api/v1/Questionnaire/Answers/FileUpload`;\n }\n}\n","import i18next from \"i18next\";\nexport const QUESTIONS = [\n {\n Id: \"comp_reg_num\",\n Label: i18next.t(\"Registration number of your business\"),\n Tooltip: i18next.t(\"You can find the registration number on the Certificate of Incorporation document of your business.\")\n },\n {\n Id: \"incorp_date\",\n Label: i18next.t(\"Date of incorporation\")\n },\n {\n Id: \"amount_of_cap\",\n Label: i18next.t(\"Amount of capital in EUR\")\n },\n {\n Id: \"business_cert\",\n Label: i18next.t(\"Please upload an official certificate confirming your business activities\"),\n Tooltip: i18next.t(\"Must contain the name of the business, registered address of business, name of authorized signatory.\")\n },\n {\n Id: \"article_assoc\",\n Label: i18next.t(\"Please upload your Articles of Association\")\n },\n {\n Id: \"corresp_is_same\",\n Label: i18next.t(\"Is the correspondence address the same as the registered business address?\")\n },\n {\n Id: \"corresp_address\",\n Label: i18next.t(\"Correspondence Address\"),\n SubQuestions: [\n {\n Id: \"country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"street\",\n Label: i18next.t(\"Street name\")\n },\n {\n Id: \"street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"zip\",\n Label: i18next.t(\"Postal/Zip code\")\n }\n ]\n },\n {\n Id: \"uk_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"uk_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"de_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"de_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"de_storage_address\",\n Label: i18next.t(\"Address of the storage of goods in Germany (Street name, Street number, City, Postal/Zip code)\"),\n Tooltip: i18next.t(\"If you will use Amazon FBA, add the address of the German FBA warehouse.\")\n },\n {\n Id: \"de_local_tax\",\n Label: i18next.t(\"Local tax number\"),\n Tooltip: i18next.t(\n \"The local tax number (or Steuernummer) is an identification number issued by the German Tax Authorities when registering you as a taxpayer. Do not confuse the Tax number with the VAT number. The Tax number is used as a payment reference when you transfer the VAT amount.\"\n )\n },\n {\n Id: \"de_store_start\",\n Label: i18next.t(\"Start date of storing goods in Germany\")\n },\n {\n Id: \"de_import_country\",\n Label: i18next.t(\"EU country where your goods are first imported to before selling to Germany\")\n },\n {\n Id: \"de_est_profit\",\n Label: i18next.t(\"Estimated total profit in the first year in Germany (in EUR)\")\n },\n {\n Id: \"de_est_vat\",\n Label: i18next.t(\"Estimated payable VAT in the first year in Germany (in EUR)\")\n },\n {\n Id: \"de_product_type\",\n Label: i18next.t(\"Please select the type of products you sell\")\n },\n {\n Id: \"fr_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"fr_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"fr_vat_liability\",\n Label: i18next.t(\"Are you making already taxable supply in France?\")\n },\n {\n Id: \"fr_supplies\",\n Label: i18next.t(\"Will you carry out intra-community supplies from France?\"),\n Tooltip: i18next.t(\"Will you store inventory in a French warehouse? Are you planning to sell from the French warehouse to VAT registered business(es) in other EU member states?\")\n },\n {\n Id: \"fr_acquisitions\",\n Label: i18next.t(\"Will you carry out intra-community acquisitions in France?\"),\n Tooltip: i18next.t(\"Are you planning to buy goods from VAT registered business(es) in other EU member states and store them in a French warehouse ?\")\n },\n {\n Id: \"fr_cntry_disp\",\n Label: i18next.t(\"From which country do you purchase the goods that you will sell in France?\")\n },\n {\n Id: \"fr_cntry_inv\",\n Label: i18next.t(\"In which country do you keep the goods that you will later sell in France?\"),\n Tooltip: i18next.t(\"Select the country where the warehouse is located where you keep your goods before selling in/to France\")\n },\n {\n Id: \"at_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"at_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"at_local_tax\",\n Label: i18next.t(\"Local tax number\")\n },\n {\n Id: \"at_product_type\",\n Label: i18next.t(\"Please select the type of products you sell\")\n },\n {\n Id: \"be_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"be_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"ie_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"ie_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"nl_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"nl_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"dk_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"dk_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"ro_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"ro_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"se_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"se_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"pt_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"pt_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"hu_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"hu_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"sk_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"sk_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"fi_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"fi_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"el_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"el_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"lu_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"lu_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"bg_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"bg_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"hr_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"hr_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"cy_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"cy_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"ee_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"ee_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"lt_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"lt_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"lv_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"lv_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"mt_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"mt_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"si_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"si_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"fisc_rep_address\",\n Label: i18next.t(\"Add the address of the previous fiscal representative in France\"),\n Tooltip: i18next.t(\n \"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\"\n ),\n SubQuestions: [\n {\n Id: \"city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"street\",\n Label: i18next.t(\"Street name\")\n },\n {\n Id: \"street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"zip\",\n Label: i18next.t(\"Postal/Zip code\")\n }\n ]\n },\n {\n Id: \"prev_fisc_rep\",\n Label: i18next.t(\"Name of previous fiscal representative in France\"),\n Tooltip: i18next.t(\n \"Do not confuse the fiscal representative with your VAT compliance service provider. The fiscal representative is tax registered in France and acts as your local representative. KPMG will appoint a new fiscal representative for you, and for that we have to provide the name of the previous representative.\"\n )\n },\n {\n Id: \"it_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"it_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"it_emp\",\n Label: i18next.t(\"Do you have an office and employee(s) in Italy?\")\n },\n {\n Id: \"it_sales\",\n Label: i18next.t(\"Did you perform sales of goods or services prior to registering in Italy for which it would have been necessary to obtain an Italian VAT number?\"),\n Tooltip: i18next.t(\"Distance sales above the threshold\")\n },\n {\n Id: \"it_dist_sales\",\n Label: i18next.t(\"Did you perform sales of goods and/or supplies of services before registering in Italy?\"),\n Tooltip: i18next.t(\"It does not apply for the year of registration, only for previous years\")\n },\n {\n Id: \"it_turnovers\",\n Label: i18next.t(\"Please indicate the net value of the distance sales in Italy for each year.\"),\n SubQuestions: [\n {\n Id: \"year\",\n Label: i18next.t(\"Year\")\n },\n {\n Id: \"amount\",\n Label: i18next.t(\"Amount\")\n }\n ]\n },\n {\n Id: \"it_vat_cert\",\n Label: i18next.t(\"Please upload VAT ID certificate in Italy\")\n },\n {\n Id: \"es_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"es_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"cz_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"cz_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"pl_vat\",\n Label: i18next.t(\"VAT ID\"),\n Tooltip: i18next.t(\"Without the country code prefix.\")\n },\n {\n Id: \"pl_annual\",\n Label: i18next.t(\"Estimated annual taxable supply (in EUR)\"),\n Tooltip: i18next.t(\"In the year of registration. Taxable supply means that you have local sales and/or distance sales totalling above the registration threshold.\")\n },\n {\n Id: \"exs_vats\",\n Label: i18next.t(\"Existing VAT numbers\"),\n SubQuestions: [\n {\n Id: \"country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"vatnumber\",\n Label: i18next.t(\"VAT ID\")\n }\n ]\n },\n {\n Id: \"other_vats\",\n Label: i18next.t(\"Do you have any VAT ID anywhere in the EU other than the VAT ID in the country of establishment?\")\n },\n {\n Id: \"estab_vat\",\n Label: i18next.t(\"VAT Number of country of incorporation\"),\n Tooltip: i18next.t(\"Businesses outside of the EU should provide a local Tax ID in the country of establishment.\")\n },\n {\n Id: \"estab_vat_cert\",\n Label: i18next.t(\"Please upload the VAT ID certificate in the country of establishment\"),\n Tooltip: i18next.t(\"Businesses outside of the EU should provide a local Tax ID certificate in the country of establishment.\")\n },\n {\n Id: \"com_reg_name\",\n Label: i18next.t(\"Name of the commercial register in the country of establishment\")\n },\n {\n Id: \"tax_auth_name\",\n Label: i18next.t(\"Name of the respective Tax Authority in country of establishment\")\n },\n {\n Id: \"is_on_stock\",\n Label: i18next.t(\"Is your business (or a subsidiary of your business) listed on a regulated stock market?\")\n },\n {\n Id: \"stock_name\",\n Label: i18next.t(\"Name of the regulated stock market\")\n },\n {\n Id: \"ticker_symbol\",\n Label: i18next.t(\"Ticker symbol of the listed entity\"),\n Tooltip: i18next.t(\n \"A ticker symbol or stock symbol is an abbreviation used to uniquely identify publicly traded shares of a particular stock on a particular stock market. A stock symbol may consist of letters, numbers or a combination of both.\"\n )\n },\n {\n Id: \"mp_store_name\",\n Label: i18next.t(\"Amazon Seller account name\")\n },\n {\n Id: \"sell_id\",\n Label: i18next.t(\"What is your Amazon Seller ID?\"),\n Tooltip: i18next.t(\"This is a unique seller identifier at Amazon - usually a 13-14 character code, e.g. A123456789BCD\")\n },\n {\n Id: \"mp_name\",\n Label: i18next.t(\"Name the Online Marketplaces where you sell\"),\n Tooltip: i18next.t(\"E.g. Amazon, eBay, your own webshop, etc.\")\n },\n {\n Id: \"web_link\",\n Label: i18next.t(\"Webstore link\")\n },\n {\n Id: \"legal_rep\",\n Label: i18next.t(\"Authorized signatory\"),\n SubQuestions: [\n {\n Id: \"title\",\n Label: i18next.t(\"Title\")\n },\n {\n Id: \"first_name\",\n Label: i18next.t(\"First name\")\n },\n {\n Id: \"last_name\",\n Label: i18next.t(\"Last name\")\n },\n {\n Id: \"middle_name\",\n Label: i18next.t(\"Middle name (if any)\")\n },\n {\n Id: \"email\",\n Label: i18next.t(\"Email\")\n },\n {\n Id: \"phone\",\n Label: i18next.t(\"Phone\")\n },\n {\n Id: \"address_country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"address_city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"address_street\",\n Label: i18next.t(\"Street\")\n },\n {\n Id: \"address_street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"address_zip\",\n Label: i18next.t(\"Postal/Zip code\")\n },\n {\n Id: \"birth_name\",\n Label: i18next.t(\"Birth name (if different)\")\n },\n {\n Id: \"mother_birth_name\",\n Label: i18next.t(\"Mother's birth name\")\n },\n {\n Id: \"father_name\",\n Label: i18next.t(\"Father's full name\")\n },\n {\n Id: \"date_of_birth\",\n Label: i18next.t(\"Birthdate\")\n },\n {\n Id: \"country_of_birth\",\n Label: i18next.t(\"Country of birth\")\n },\n {\n Id: \"city_of_birth\",\n Label: i18next.t(\"City of birth\")\n },\n {\n Id: \"nationality\",\n Label: i18next.t(\"Nationality\")\n },\n {\n Id: \"home_address_is_same_as_registered\",\n Label: i18next.t(\"Is the home address same as the registered business address?\")\n },\n {\n Id: \"document_type\",\n Label: i18next.t(\"Type of identification document\")\n },\n {\n Id: \"document_number\",\n Label: i18next.t(\"Identification document number\")\n },\n {\n Id: \"document_expiration_date\",\n Label: i18next.t(\"Expiry date of the identification document\")\n },\n {\n Id: \"photo_copy_reference\",\n Label: i18next.t(\"Please upload the photocopy of the identification document\")\n },\n {\n Id: \"position\",\n Label: i18next.t(\"Position in the company\")\n },\n {\n Id: \"position_description\",\n Label: i18next.t(\"Position in free form\")\n },\n {\n Id: \"own_more_than_25_percent\",\n Label: i18next.t(\"Does the authorized signatory own more than 25% of the shares?\")\n },\n {\n Id: \"is_only_director\",\n Label: i18next.t(\"Is the authorized signatory the only director entitled to represent the company?\")\n },\n {\n Id: \"fiscal_code\",\n Label: i18next.t(\"Italian fiscal code\"),\n Tooltip: i18next.t(\"Codice Fiscale. If you have lived in Italy, you have an individual Italian fiscal code. If you haven't, please leave this empty.\")\n }\n ]\n },\n {\n Id: \"business_owner\",\n Label: i18next.t(\"Business Owners\"),\n SubQuestions: [\n {\n Id: \"shareholder_type\",\n Label: i18next.t(\"Shareholder type\")\n },\n {\n Id: \"first_name\",\n Label: i18next.t(\"First name\")\n },\n {\n Id: \"last_name\",\n Label: i18next.t(\"Last name\")\n },\n {\n Id: \"full_name\",\n Label: i18next.t(\"Full name\")\n },\n {\n Id: \"date_of_birth\",\n Label: i18next.t(\"Birth date\")\n },\n {\n Id: \"date_of_incorporation\",\n Label: i18next.t(\"Date of incorporation\")\n },\n {\n Id: \"share_percentage\",\n Label: i18next.t(\"Share percentage\")\n },\n {\n Id: \"registration_number\",\n Label: i18next.t(\"Registration number\")\n },\n {\n Id: \"document_number\",\n Label: i18next.t(\"Identification document number\")\n },\n {\n Id: \"document_type\",\n Label: i18next.t(\"Identification document\")\n }\n ]\n },\n {\n Id: \"beneficial_owner\",\n Label: i18next.t(\"Beneficial Owner\"),\n Tooltip: i18next.t(\"See FAQ for definition of beneficial owner\"),\n SubQuestions: [\n {\n Id: \"first_name\",\n Label: i18next.t(\"First name\")\n },\n {\n Id: \"last_name\",\n Label: i18next.t(\"Last name\")\n },\n {\n Id: \"birth_name\",\n Label: i18next.t(\"Name at birth\")\n },\n {\n Id: \"citizenship\",\n Label: i18next.t(\"Citizenship\")\n },\n {\n Id: \"date_of_birth\",\n Label: i18next.t(\"Birth date\")\n },\n {\n Id: \"country_of_birth\",\n Label: i18next.t(\"Country of birth\")\n },\n {\n Id: \"city_of_birth\",\n Label: i18next.t(\"City of birth\")\n },\n {\n Id: \"address_street\",\n Label: i18next.t(\"Street\")\n },\n {\n Id: \"address_streetnumber\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"address_zip\",\n Label: i18next.t(\"Postal/Zip code\")\n },\n {\n Id: \"address_city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"address_country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"is_politically_exposed\",\n Label: i18next.t(\"Is the beneficial owner a politically exposed person?\"),\n Tooltip: i18next.t(\n \"Politically exposed person shall mean a natural person who is entrusted with prominent public functions, or who has been entrusted with prominent public functions within one year before this identification measure.\"\n )\n },\n {\n Id: \"is_relative_politically_exposed\",\n Label: i18next.t(\"Is the beneficial owner a family member of the politically exposed person?\"),\n Tooltip: i18next.t(\n \"Family members of politically exposed person shall include the spouse or domestic partner of a politically exposed person; the biological and adopted children, stepchildren and foster children and their spouses or domestic partners, of a politically exposed person; the biological, adoptive, step- and foster parents of a politically exposed person.\"\n )\n },\n {\n Id: \"is_associate_politically_exposed\",\n Label: i18next.t(\"Is the beneficial owner known to be a close associate of the politically exposed person?\"),\n Tooltip: i18next.t(\n \"Close associates of politically exposed persons shall include. a) any natural person who is known to have joint beneficial ownership of legal entities or unincorporated organizations, or any other close business relations, with the politically exposed person. b) any natural person who has sole beneficial ownership of a legal entity or unincorporated organization which is known to have been set up for the benefit of the politically exposed person.\"\n )\n },\n {\n Id: \"data_management\",\n Label: i18next.t(\n \"The above information can be shared with another KPMG company if the business enters into a contractual relationship with said KPMG company that is subject to client identification.\"\n ),\n Tooltip: i18next.t(\"The client identification will have to be repeated if no agreement is given.\")\n },\n {\n Id: \"beneficial_owner_type\",\n Label: i18next.t(\"Person considered as beneficial owner\"),\n Tooltip: i18next.t(\"See FAQ for definition of beneficial owner.\")\n },\n {\n Id: \"extent_of_ownership\",\n Label: i18next.t(\"Extent of ownership interest\"),\n Tooltip: i18next.t(\"If the extent of ownership can be quantified.\")\n },\n {\n Id: \"type_of_ownership\",\n Label: i18next.t(\"Type of ownership interest\")\n }\n ]\n },\n {\n Id: \"has_pl_bank\",\n Label: i18next.t(\"Do you have a Polish bank account?\")\n },\n {\n Id: \"pl_bank\",\n Label: i18next.t(\"Polish Bank Information\"),\n SubQuestions: [\n {\n Id: \"name\",\n Label: i18next.t(\"Name of the Polish Bank\")\n },\n {\n Id: \"address_street\",\n Label: i18next.t(\"Street\")\n },\n {\n Id: \"address_street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"address_zip\",\n Label: i18next.t(\"Postal/Zip code\")\n },\n {\n Id: \"address_city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"address_country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"owner\",\n Label: i18next.t(\"Owner of the Polish Bank Account\")\n },\n {\n Id: \"iban\",\n Label: i18next.t(\"IBAN of the Polish Bank\")\n },\n {\n Id: \"swift\",\n Label: i18next.t(\"SWIFT/BIC of the Polish Bank\")\n }\n ]\n },\n {\n Id: \"other_bank\",\n Label: i18next.t(\"Bank Information\"),\n SubQuestions: [\n {\n Id: \"name\",\n Label: i18next.t(\"Bank name\")\n },\n {\n Id: \"address_street\",\n Label: i18next.t(\"Street\")\n },\n {\n Id: \"address_street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"address_zip\",\n Label: i18next.t(\"Postal/Zip code\")\n },\n {\n Id: \"address_city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"address_country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"owner\",\n Label: i18next.t(\"Owner of the Bank account\")\n },\n {\n Id: \"iban\",\n Label: i18next.t(\"IBAN\"),\n Tooltip: i18next.t(\n \"IBAN stands for International Bank Account Number. It\\u2019s an internationally-agreed code made up of up to 34 letters and numbers that helps banks to process transfers around the world. If your bank does not provide an IBAN, please add your everyday account number again.\"\n )\n },\n {\n Id: \"swift\",\n Label: i18next.t(\"SWIFT/BIC\"),\n Tooltip: i18next.t(\n \"SWIFT and BIC are unique identifier of the bank in an international transaction to make sure money is going to the correct place. Your bank can help you find the right SWIFT/BIC. \"\n )\n }\n ]\n },\n {\n Id: \"bank_cert\",\n Label: i18next.t(\"Please upload a bank certificate confirming your banking detals\"),\n Tooltip: i18next.t(\n \"A document issued by your bank, containing the following data: Name of Bank, Relevant address of Bank, Name of Account Holder, Address of Account Holder, Account Number, IBAN, SWIFT/BIC, Currency.\"\n )\n },\n {\n Id: \"trading_name\",\n Label: i18next.t(\"Trading name (If different from company name)\")\n },\n {\n Id: \"ioss_web_link\",\n Label: i18next.t(\"Website link\")\n },\n {\n Id: \"ioss_exs_ioss\",\n Label: i18next.t(\"Add current or previous IOSS number\")\n },\n {\n Id: \"ioss_fixed_estab\",\n Label: i18next.t(\"Fixed establishments\"),\n SubQuestions: [\n {\n Id: \"address_country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"address_city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"address_street\",\n Label: i18next.t(\"Street name\")\n },\n {\n Id: \"address_street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"address_zip\",\n Label: i18next.t(\"Postal/Zip code\")\n },\n {\n Id: \"trading_name\",\n Label: i18next.t(\"Trading name\")\n }\n ]\n },\n {\n Id: \"oss_has_registration\",\n Label: i18next.t(\"Is your business registered for OSS?\"),\n Tooltip: i18next.t(\"OSS: One stop shop regime of the European Union for VAT reporting on distance sales within the EU at one single tax authority\")\n },\n {\n Id: \"oss_details\",\n Label: i18next.t(\"OSS Information\"),\n SubQuestions: [\n {\n Id: \"registrationCountry\",\n Label: i18next.t(\"Select the country of OSS registration\")\n },\n {\n Id: \"registrationDate\",\n Label: i18next.t(\"Add the effective date of OSS registration\")\n },\n {\n Id: \"registrationNumber\",\n Label: i18next.t(\"Add the OSS registration number\")\n }\n ]\n },\n {\n Id: \"account_loc\",\n Label: i18next.t(\"Where are the accounting records being kept?\"),\n Tooltip: i18next.t(\n \"Accounting records are all of the documentation and books/records involved in the preparation of financial statements or records relevant to audits and financial reviews.\"\n )\n },\n {\n Id: \"account_addrs\",\n Label: i18next.t(\"Please add the address where your accounting records are kept\"),\n SubQuestions: [\n {\n Id: \"country\",\n Label: i18next.t(\"Country\")\n },\n {\n Id: \"city\",\n Label: i18next.t(\"City\")\n },\n {\n Id: \"street\",\n Label: i18next.t(\"Street\")\n },\n {\n Id: \"street_number\",\n Label: i18next.t(\"Street number\")\n },\n {\n Id: \"zip\",\n Label: i18next.t(\"Postal/Zip code\")\n }\n ]\n },\n {\n Id: \"commercial_reg_num\",\n Label: i18next.t(\"Register number of your business at the Commercial Register\"),\n Tooltip: i18next.t(\"This is an individual number in the commercial register document.\")\n },\n {\n Id: \"commercial_reg_date\",\n Label: i18next.t(\"Date of registration at the Commercial Register\")\n },\n {\n Id: \"name_of_com_auth\",\n Label: i18next.t(\"Name of Authority keeping the Commercial Register\")\n },\n {\n Id: \"leg_ent_from\",\n Label: i18next.t(\"Select the type of your business entity\"),\n Tooltip: i18next.t(\n \"Legal Entity: PVT, PHC, Ltd., bv, bvba, SPRL, SARL, Sagl, GmbH, UG (haftungsbeschr\\xE4nkt), \\u0395.\\u03A0.\\u0395., \\u0399.\\u039A.\\u0395. ,s.r.o., spol. s r.o., kft., sp. z o.o., d.o.o. (\\u0434.\\u043E.\\u043E.), d.o.o., SL, S.L.,S.r.l., Srl, Lda., ApS, AB, Oy, O\\xDC, SIA, UAB, SRL, \\u041E\\u041E\\u0414 (OOD), \\u0415\\u041E\\u041E\\u0414 (EOOD), sh.p.k., S.A., N.V Organizational Unit Without Legal Form: General partnership, Limited liability partnership (LLP), Limited partnership (LP), Partnership limited by shares, Belgium Commanditaire vennootschap op aandelen (CVA), Denmark Partnerselskab (or Kommanditaktieselskab)., France Soci\\xE9t\\xE9 en commandite par actions (SCA)., Germany Kommanditgesellschaft auf Aktien (KGaA), Italy Societ\\xE0 in accomandita per azioni (s.a.p.a)., Iceland Samlagshlutaf\\xE9lag (slhf.)., Poland sp\\xF3\\u0142ka komandytowo-Akcyjna (S.K.A.)., Spain sociedad comanditaria por acciones (SCA)., Portugal sociedade em comandita por ac\\xE7\\xF5es.\"\n )\n },\n {\n Id: \"leg_ent_type\",\n Label: i18next.t(\"Select the type of legal entity\")\n },\n {\n Id: \"client_base\",\n Label: i18next.t(\"What type of clientele is your business aimed to?\")\n }\n];\n","import { AbstractValidator } from \"fluent-ts-validator\";\nimport { DCValidationResult } from \"GlobalShared/haunted/HooksHelpers\";\nimport i18next from \"i18next\";\nimport { BusinessOwnerShareholderType } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/BusinessOwner/BusinessOwner\";\nimport { INVALID_MESSAGE, isEmpty, ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE, ONLY_EUROPEAN_CHARS_REGEX, REQUIRED_MESSAGE } from \"GlobalShared/helpers/stringHelper\";\nimport { LegalRepresentativePosition } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/LegalRepresentative/LegalRepresentative\";\nimport { EMAIL_REGEX } from \"GlobalShared/common/Constants\";\nimport { BeneficialOwnerBeneficialOwnerType } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/BeneficialOwner/BeneficialOwner\";\nexport class AddressValidator extends AbstractValidator {\n constructor(validationConfig, withCountry) {\n super();\n this.validateIfString((s) => s.CountryCode).isNotEmpty().withPropertyName(\"countryCode\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true && withCountry);\n this.validateIfString((s) => s.Address.City).isNotEmpty().withPropertyName(\"city\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.City).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"city\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.City).hasMaxLength(100).withPropertyName(\"city\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.Address.Street).isNotEmpty().withPropertyName(\"street\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.Street).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"street\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.Street).hasMaxLength(100).withPropertyName(\"street\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.Address.StreetNumber).isNotEmpty().withPropertyName(\"streetNo\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.StreetNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"streetNo\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.StreetNumber).hasMaxLength(20).withPropertyName(\"streetNo\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 20 }));\n this.validateIfString((s) => s.Address.Zip).isNotEmpty().withPropertyName(\"zip\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.Zip).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"zip\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Address.Zip).hasMaxLength(10).withPropertyName(\"zip\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 10 }));\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class StringValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIfString((s) => s.Value).isNotEmpty().withPropertyName(\"value\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Value).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"value\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => !isEmpty(s == null ? void 0 : s.Value));\n this.validateIfString((s) => s.Value).hasMaxLength(100).withPropertyName(\"value\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when(() => validationConfig.maxLength !== void 0);\n this.validateIfString((s) => s.Value).matches(RegExp(validationConfig.regEx)).withPropertyName(\"value\").withFailureMessage(validationConfig.regExValidationMessage).when(() => validationConfig.regEx !== void 0);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class BoolValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIf((s) => s.Value).isNotEqualTo(void 0).withPropertyName(\"value\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class MoneyValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIfNumber((s) => s.Value.Value).isNotEqualTo(void 0).withPropertyName(\"value\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Value.Currency).isNotEmpty().withPropertyName(\"currency\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class DateValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIfDate((s) => s.Value).isNotEqualTo(void 0).withPropertyName(\"value\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class FileRefValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIf((s) => s.Value).isNotEqualTo(void 0).withPropertyName(\"files\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class MultiStringValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIf((s) => s.Value).isNotEmpty().withPropertyName(\"values\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfEachString((s) => s.Value).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"values\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class NameValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIfString((s) => s.FirstName).isNotEmpty().withPropertyName(\"firstName\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.FirstName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"firstName\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIf((s) => s.LastName).isNotEmpty().withPropertyName(\"lastName\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.LastName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"lastName\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class CountryValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIf((s) => s.CountryCode).isNotEmpty().withPropertyName(\"countryCode\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class MultiCountryValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfIterable((s) => s.CountryCodes).isNotEmpty().withPropertyName(\"countryCodes\").withFailureMessage(REQUIRED_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class VatNumberValidator extends AbstractValidator {\n constructor(validationConfig) {\n super();\n this.validateIf((s) => s.Value.CountryCode).isNotEmpty().withPropertyName(\"countryCode\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIf((s) => s.Value.VatNumber).isNotEmpty().withPropertyName(\"vatNumber\").withFailureMessage(REQUIRED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIfString((s) => s.Value.VatNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"vatNumber\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => validationConfig.required === true);\n this.validateIf((s) => s.Value).fulfills((s) => !s.VatNumber.toLocaleLowerCase().startsWith(s.CountryCode.toLocaleLowerCase())).withPropertyName(\"vatNumber\").withFailureMessage(i18next.t(\"Please enter only the tax number without country prefix\")).when((s) => {\n var _a, _b;\n return validationConfig.required === true && ((_a = s == null ? void 0 : s.Value) == null ? void 0 : _a.CountryCode) !== void 0 && ((_b = s == null ? void 0 : s.Value) == null ? void 0 : _b.VatNumber) !== void 0;\n });\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class ExistingVatNumbersValidator extends AbstractValidator {\n constructor(ignoreValidatingOptionalMigratedFields) {\n super();\n this.validateIfEach((s) => s.value).fulfills(new ExistingVatNumberValidator(ignoreValidatingOptionalMigratedFields)).withPropertyName(\"existingVatNumber\").withFailureMessage(INVALID_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class ExistingVatNumberValidator extends AbstractValidator {\n constructor(ignoreValidatingOptionalMigratedFields) {\n super();\n this.validateIfString((s) => s.CountryCode).isNotEmpty().withPropertyName(\"countryCode\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.CountryCode).isNotEmpty().withPropertyName(\"countryCode\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.VatNumber).isNotEmpty().withPropertyName(\"vatNumber\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.VatNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"vatNumber\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfDate((s) => s.ValidFrom).isNotEmpty().withPropertyName(\"validFrom\").withFailureMessage(REQUIRED_MESSAGE).when((_) => !ignoreValidatingOptionalMigratedFields);\n this.validateIf((s) => s).fulfills((s) => !s.VatNumber.toLocaleLowerCase().startsWith(s.CountryCode.toLocaleLowerCase())).withPropertyName(\"vatNumber\").withFailureMessage(i18next.t(\"Please enter only the tax number without country prefix\")).when((s) => (s == null ? void 0 : s.CountryCode) !== void 0 && (s == null ? void 0 : s.VatNumber) !== void 0);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class LegalRepsValidator extends AbstractValidator {\n constructor(_validationConfig, context, ignoreValidatingOptionalMigratedFields) {\n super();\n this.validateIfEach((s) => s.Value).fulfills(new LegalRepValidator(context, ignoreValidatingOptionalMigratedFields)).withPropertyName(\"legalRep\").withFailureMessage(INVALID_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class LegalRepValidator extends AbstractValidator {\n constructor(context, ignoreValidatingOptionalMigratedFields) {\n super();\n this.validateIfString((s) => s.Title).isNotEmpty().withPropertyName(\"title\").withFailureMessage(REQUIRED_MESSAGE).when(() => context == null ? void 0 : context.isVisible(\"legal_rep\", \"title\"));\n this.validateIfString((s) => s.FirstName).isNotEmpty().withPropertyName(\"first_name\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.FirstName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"first_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.FirstName).hasMaxLength(100).withPropertyName(\"first_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.LastName).isNotEmpty().withPropertyName(\"last_name\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.LastName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"last_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.LastName).hasMaxLength(100).withPropertyName(\"last_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.BirthName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"birth_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"birth_name\")));\n this.validateIfString((s) => s.BirthName).hasMaxLength(100).withPropertyName(\"birth_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"birth_name\")));\n this.validateIfString((s) => s.Position).isNotEmpty().withPropertyName(\"position\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"position\")));\n this.validateIfString((s) => s.PositionDescription).isNotEmpty().withPropertyName(\"position_description\").withFailureMessage(REQUIRED_MESSAGE).when((s) => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"position_description\")) && s.Position === LegalRepresentativePosition.Other);\n this.validateIfString((s) => s.PositionDescription).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"position_description\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"position_description\")) && s.Position === LegalRepresentativePosition.Other);\n this.validateIfString((s) => s.PositionDescription).hasMaxLength(100).withPropertyName(\"position_description\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"position_description\")) && s.Position === LegalRepresentativePosition.Other);\n this.validateIfString((s) => s.Email).isNotEmpty().withPropertyName(\"email\").withFailureMessage(REQUIRED_MESSAGE).when(() => context == null ? void 0 : context.isVisible(\"legal_rep\", \"email\"));\n this.validateIfString((s) => s.Email).hasMaxLength(100).withPropertyName(\"email\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 200 })).when(() => context == null ? void 0 : context.isVisible(\"legal_rep\", \"email\"));\n this.validateIfString((s) => s.Email).matches(EMAIL_REGEX).withPropertyName(\"email\").withFailureMessage(i18next.t(\"Please provide a valid e-mail address.\")).when(() => context == null ? void 0 : context.isVisible(\"legal_rep\", \"email\"));\n this.validateIfString((s) => s.Phone).isNotEmpty().withPropertyName(\"phone\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"phone\")));\n this.validateIfString((s) => s.Phone).hasMaxLength(100).withPropertyName(\"phone\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when(() => context == null ? void 0 : context.isVisible(\"legal_rep\", \"phone\"));\n this.validateIfDate((s) => s.DateOfBirth).isNotEmpty().withPropertyName(\"date_of_birth\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"date_of_birth\")));\n this.validateIfString((s) => s.CityOfBirth).isNotEmpty().withPropertyName(\"city_of_birth\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"city_of_birth\")));\n this.validateIfString((s) => s.Nationality).isNotEmpty().withPropertyName(\"nationality\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"nationality\")));\n this.validateIfString((s) => s.CountryOfBirth).isNotEmpty().withPropertyName(\"country_of_birth\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"country_of_birth\")));\n this.validateIfString((s) => s.MotherBirthName).isNotEmpty().withPropertyName(\"mother_birth_name\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"mother_birth_name\")));\n this.validateIfString((s) => s.MotherBirthName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"mother_birth_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"mother_birth_name\")));\n this.validateIfString((s) => s.MotherBirthName).hasMaxLength(100).withPropertyName(\"mother_birth_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"mother_birth_name\")));\n this.validateIfString((s) => s.FatherName).isNotEmpty().withPropertyName(\"father_name\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"father_name\")));\n this.validateIfString((s) => s.FatherName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"father_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"father_name\")));\n this.validateIfString((s) => s.FatherName).hasMaxLength(100).withPropertyName(\"father_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"father_name\")));\n this.validateIf((s) => s.HomeAddressIsSameAsRegistered).isNotEmpty().withPropertyName(\"home_address_is_same_as_registered\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"home_address_is_same_as_registered\")));\n this.validateIf((s) => s.AddressCountry).isNotEmpty().withPropertyName(\"address_country\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.City).isNotEmpty().withPropertyName(\"address_city\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.City).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_city\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.City).hasMaxLength(200).withPropertyName(\"address_city\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 200 })).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.Street).isNotEmpty().withPropertyName(\"address_street\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.Street).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_street\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.Street).hasMaxLength(100).withPropertyName(\"address_street\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.StreetNumber).isNotEmpty().withPropertyName(\"address_street_number\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.StreetNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_street_number\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.StreetNumber).hasMaxLength(100).withPropertyName(\"address_street_number\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIf((s) => s.Address.Zip).isNotEmpty().withPropertyName(\"address_zip\").withFailureMessage(REQUIRED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.Zip).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_zip\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIfString((s) => s.Address.Zip).hasMaxLength(100).withPropertyName(\"address_zip\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => s.HomeAddressIsSameAsRegistered === false);\n this.validateIf((s) => s.DocumentType).isNotEmpty().withPropertyName(\"document_type\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"document_type\")));\n this.validateIfString((s) => s.DocumentNumber).isNotEmpty().withPropertyName(\"document_number\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"document_number\")));\n this.validateIfString((s) => s.DocumentNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"document_number\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"document_number\")));\n this.validateIf((s) => s.DocumentExpirationDate).isNotEmpty().withPropertyName(\"document_expiration_date\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"document_expiration_date\")));\n this.validateIf((s) => s.PhotoCopyReference).isNotEmpty().withPropertyName(\"photo_copy_reference\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"photo_copy_reference\")));\n this.validateIf((s) => s.OwnMoreThan25Percent).isNotEmpty().withPropertyName(\"own_more_than_25_percent\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"own_more_than_25_percent\")));\n this.validateIf((s) => s.IsOnlyDirector).isNotEmpty().withPropertyName(\"is_only_director\").withFailureMessage(REQUIRED_MESSAGE).when(() => !ignoreValidatingOptionalMigratedFields && (context == null ? void 0 : context.isVisible(\"legal_rep\", \"is_only_director\")));\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class BusinessOwnersValidator extends AbstractValidator {\n constructor(_validationConfig, context) {\n super();\n this.validateIfEach((s) => s.Value).fulfills(new BusinessOwnerValidator(context)).withPropertyName(\"businessOwner\").withFailureMessage(INVALID_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class BusinessOwnerValidator extends AbstractValidator {\n constructor(context) {\n super();\n this.validateIfString((s) => s.ShareholderType).isNotEmpty().withPropertyName(\"shareholder_type\").withFailureMessage(REQUIRED_MESSAGE).when(() => context == null ? void 0 : context.isVisible(\"business_owner\", \"shareholder_type\"));\n this.validateIfString((s) => s.FirstName).isNotEmpty().withPropertyName(\"first_name\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"first_name\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.FirstName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"first_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"first_name\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.FirstName).hasMaxLength(100).withPropertyName(\"first_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"first_name\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.LastName).isNotEmpty().withPropertyName(\"last_name\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"last_name\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.LastName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"last_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"last_name\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.LastName).hasMaxLength(100).withPropertyName(\"last_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"last_name\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.FullName).isNotEmpty().withPropertyName(\"full_name\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"full_name\")) && s.ShareholderType === BusinessOwnerShareholderType.Company);\n this.validateIfString((s) => s.FullName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"full_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"full_name\")) && s.ShareholderType === BusinessOwnerShareholderType.Company);\n this.validateIfString((s) => s.FullName).hasMaxLength(100).withPropertyName(\"full_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"full_name\")) && s.ShareholderType === BusinessOwnerShareholderType.Company);\n this.validateIfDate((s) => s.DateOfBirth).isNotEmpty().withPropertyName(\"date_of_birth\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"date_of_birth\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfDate((s) => s.DateOfIncorporation).isNotEmpty().withPropertyName(\"date_of_incorporation\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"date_of_incorporation\")) && s.ShareholderType === BusinessOwnerShareholderType.Company);\n this.validateIfNumber((s) => s.SharePercentage).isNotEmpty().withPropertyName(\"share_percentage\").withFailureMessage(REQUIRED_MESSAGE).when(() => context == null ? void 0 : context.isVisible(\"business_owner\", \"share_percentage\"));\n this.validateIfNumber((s) => s.SharePercentage).isGreaterThanOrEqual(0).isLessThanOrEqual(100).withPropertyName(\"share_percentage\").withFailureMessage(i18next.t(\"Value must be between (inclusive): 0-100\")).when(() => context == null ? void 0 : context.isVisible(\"business_owner\", \"share_percentage\"));\n this.validateIfString((s) => s.RegistrationNumber).isNotEmpty().withPropertyName(\"registration_number\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"registration_number\")) && s.ShareholderType === BusinessOwnerShareholderType.Company);\n this.validateIfString((s) => s.DocumentNumber).isNotEmpty().withPropertyName(\"document_number\").withFailureMessage(REQUIRED_MESSAGE).when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"document_number\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n this.validateIfString((s) => s.DocumentType).isNotEmpty().withPropertyName(\"document_type\").when((s) => (context == null ? void 0 : context.isVisible(\"business_owner\", \"document_type\")) && s.ShareholderType === BusinessOwnerShareholderType.NaturalPerson);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class BankInformationValidator extends AbstractValidator {\n constructor(_validationConfig) {\n super();\n this.validateIfString((s) => s.Name).isNotEmpty().withPropertyName(\"name\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Name).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Name).hasMaxLength(100).withPropertyName(\"name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.AddressCountry).isNotEmpty().withPropertyName(\"addressCountry\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => {\n var _a;\n return (_a = s.Address) == null ? void 0 : _a.City;\n }).isNotEmpty().withPropertyName(\"address_city\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => {\n var _a;\n return (_a = s.Address) == null ? void 0 : _a.Street;\n }).isNotEmpty().withPropertyName(\"address_street\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => {\n var _a;\n return (_a = s.Address) == null ? void 0 : _a.StreetNumber;\n }).isNotEmpty().withPropertyName(\"address_street_number\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => {\n var _a;\n return (_a = s.Address) == null ? void 0 : _a.Zip;\n }).isNotEmpty().withPropertyName(\"address_zip\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Owner).isNotEmpty().withPropertyName(\"owner\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Owner).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"owner\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Owner).hasMaxLength(100).withPropertyName(\"owner\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.Iban).isNotEmpty().withPropertyName(\"iban\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Iban).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"iban\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Iban).hasMaxLength(100).withPropertyName(\"iban\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.Swift).isNotEmpty().withPropertyName(\"swift\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Swift).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"swift\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Swift).hasMaxLength(100).withPropertyName(\"swift\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class FixedEstablishmentsValidator extends AbstractValidator {\n constructor(_validationConfig, context) {\n super();\n this.validateIfEach((s) => s.Value).fulfills(new FixedEstablishmentValidator(context)).withPropertyName(\"fixedEstablishment\").withFailureMessage(INVALID_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class FixedEstablishmentValidator extends AbstractValidator {\n constructor(context) {\n super();\n this.validateIf((s) => s.AddressCountry).isNotEmpty().withPropertyName(\"address_country\").withFailureMessage(REQUIRED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.City).isNotEmpty().withPropertyName(\"address_city\").withFailureMessage(REQUIRED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.City).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_city\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.City).hasMaxLength(200).withPropertyName(\"address_city\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 200 })).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.Street).isNotEmpty().withPropertyName(\"address_street\").withFailureMessage(REQUIRED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.Street).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_street\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.Street).hasMaxLength(100).withPropertyName(\"address_street\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.StreetNumber).isNotEmpty().withPropertyName(\"address_street_number\").withFailureMessage(REQUIRED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.StreetNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_street_number\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.StreetNumber).hasMaxLength(100).withPropertyName(\"address_street_number\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIf((s) => s.Address.Zip).isNotEmpty().withPropertyName(\"address_zip\").withFailureMessage(REQUIRED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.Zip).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_zip\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.Address.Zip).hasMaxLength(100).withPropertyName(\"address_zip\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 })).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n this.validateIfString((s) => s.TradingName).isNotEmpty().withPropertyName(\"trading_name\").withFailureMessage(REQUIRED_MESSAGE).when((_) => context == null ? void 0 : context.isVisible(\"ioss_fixed_estab\"));\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class OssDetailValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfString((s) => s.Value.RegistrationCountry).isNotEmpty().withPropertyName(\"registrationCountry\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfDate((s) => s.Value.RegistrationDate).isNotNull().withPropertyName(\"registrationDate\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Value.RegistrationNumber).isNotEmpty().withPropertyName(\"registrationNumber\").withFailureMessage(REQUIRED_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class EnumAnswerValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIf((s) => s.Value).isNotEmpty().withPropertyName(\"values\").withFailureMessage(REQUIRED_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class TurnOversValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIf((s) => s.Value).isNotEmpty().withPropertyName(\"turnOver\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfEach((s) => s.Value).fulfills(new TurnOverValidator()).withPropertyName(\"turnOver\").withFailureMessage(INVALID_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class TurnOverValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfNumber((s) => {\n var _a;\n return (_a = s.Amount) == null ? void 0 : _a.Value;\n }).isNotNull().withPropertyName(\"amount\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfNumber((s) => {\n var _a;\n return (_a = s.Amount) == null ? void 0 : _a.Value;\n }).isGreaterThanOrEqual(0).withPropertyName(\"amount\").withFailureMessage(i18next.t(\"Amount must be greater than or equal to zero.\"));\n this.validateIfNumber((s) => s.Year).isNotNull().withPropertyName(\"year\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfNumber((s) => s.Year).isGreaterThanOrEqual(1970).isLessThanOrEqual((/* @__PURE__ */ new Date()).getFullYear()).withPropertyName(\"year\").withFailureMessage(i18next.t(\"Please enter a valid year.\"));\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class BeneficialOwnersValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfEach((s) => s.Value).fulfills(new BeneficialOwnerValidator()).withPropertyName(\"beneficialOwner\").withFailureMessage(INVALID_MESSAGE);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\nexport class BeneficialOwnerValidator extends AbstractValidator {\n constructor() {\n super();\n this.validateIfString((s) => s.FirstName).isNotEmpty().withPropertyName(\"first_name\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.FirstName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"first_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.FirstName).hasMaxLength(100).withPropertyName(\"first_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.LastName).isNotEmpty().withPropertyName(\"last_name\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.LastName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"last_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.LastName).hasMaxLength(100).withPropertyName(\"last_name\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.BirthName).isNotEmpty().withPropertyName(\"birth_name\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.BirthName).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"birth_name\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIf((s) => s.DateOfBirth).isNotNull().withPropertyName(\"date_of_birth\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.CountryOfBirth).isNotEmpty().withPropertyName(\"country_of_birth\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.CityOfBirth).isNotEmpty().withPropertyName(\"city_of_birth\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Nationality).isNotEmpty().withPropertyName(\"citizenship\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => s.AddressCountry).isNotEmpty().withPropertyName(\"address_country\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Address.City).isNotEmpty().withPropertyName(\"address_city\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Address.City).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_city\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Address.City).hasMaxLength(200).withPropertyName(\"address_city\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 200 }));\n this.validateIfString((s) => s.Address.Street).isNotEmpty().withPropertyName(\"address_street\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Address.Street).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_street\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Address.Street).hasMaxLength(100).withPropertyName(\"address_street\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIfString((s) => s.Address.StreetNumber).isNotEmpty().withPropertyName(\"address_streetnumber\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Address.StreetNumber).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_street_number\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Address.StreetNumber).hasMaxLength(100).withPropertyName(\"address_street_number\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIf((s) => s.Address.Zip).isNotEmpty().withPropertyName(\"address_zip\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.Address.Zip).matches(ONLY_EUROPEAN_CHARS_REGEX).withPropertyName(\"address_zip\").withFailureMessage(ONLY_EUROPEAN_CHARS_ARE_ALLOWED_MESSAGE);\n this.validateIfString((s) => s.Address.Zip).hasMaxLength(100).withPropertyName(\"address_zip\").withFailureMessage(i18next.t(\"Max length: {{maxLength}}\", { maxLength: 100 }));\n this.validateIf((s) => s.IsPoliticallyExposed).isNotNull().withPropertyName(\"is_politically_exposed\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => s.IsRelativeToPoliticallyExposed).isNotNull().withPropertyName(\"is_relative_politically_exposed\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => s.IsAssociateToPoliticallyExposed).isNotNull().withPropertyName(\"is_associate_politically_exposed\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIf((s) => s.DataManagement).isNotNull().withPropertyName(\"data_management\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.BeneficialOwnerType).isNotEmpty().withPropertyName(\"beneficial_owner_type\").withFailureMessage(REQUIRED_MESSAGE);\n this.validateIfString((s) => s.TypeOfOwnership).isNotEmpty().withPropertyName(\"type_of_ownership\").withFailureMessage(REQUIRED_MESSAGE).when((c) => c.BeneficialOwnerType === BeneficialOwnerBeneficialOwnerType.NaturalPerson);\n this.validateIfNumber((s) => s.ExtentOfOwnership).isGreaterThanOrEqual(0).isLessThanOrEqual(100).withPropertyName(\"extent_of_ownership\").withFailureMessage(i18next.t(\"Value must be between (inclusive): 0-100\")).when((c) => c.ExtentOfOwnership !== void 0 && c.BeneficialOwnerType === BeneficialOwnerBeneficialOwnerType.NaturalPerson);\n }\n validateModel(item) {\n return new DCValidationResult(super.validate(item));\n }\n}\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { StringAnswer as WebStringAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { StringAnswer as AdminStringAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { StringValidator } from \"./AnswerValidators\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-string\";\nconst DEFAULTS = {\n type: \"string\",\n validation: {\n required: false\n },\n nolabel: false\n};\nexport class StringChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n type: host.type !== void 0 ? host.type : DEFAULTS.type,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation,\n selectProps: host.selectProps,\n nolabel: host.nolabel !== void 0 ? host.nolabel : DEFAULTS.nolabel\n };\n const getStringAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminStringAnswer({ Value: currentVal, QuestionId: props.questionId });\n }\n return new WebStringAnswer({ Value: currentVal, QuestionId: props.questionId });\n };\n const getLabel = () => {\n return props.nolabel ? void 0 : question.Label + (props.validation.required ? \"*\" : \"\");\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new StringValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new StringChangeEvent({\n answer: getStringAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminStringAnswer || answer instanceof WebStringAnswer) {\n setCurrentVal(answer.Value);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getStringAnswer());\n }, [currentVal]);\n const templateInput = () => {\n return html` {\n setCurrentVal(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"value\");\n }}\n\t\t>`;\n };\n const templateSelect = () => {\n return html` {\n setCurrentVal(e.detail.selectedValue);\n setDispatchIfValid(true);\n validationContext.validateField(\"value\");\n }}\n\t\t>`;\n };\n return html` ${props.q11e !== void 0 && question !== void 0 ? html`${props.type === \"string\" ? templateInput() : templateSelect()}` : \"\"} `;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { BoolAnswer as WebBoolAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { BoolAnswer as AdminBoolAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { BoolValidator } from \"./AnswerValidators\";\nimport { mapBooleanToState, mapStateToBoolean } from \"GlobalShared/helpers/booleanHelper\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-bool\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class BoolChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getBoolAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n new AdminBoolAnswer({ Value: currentVal, QuestionId: props.questionId });\n }\n return new WebBoolAnswer({ Value: currentVal, QuestionId: props.questionId });\n };\n const onChange = (e) => {\n const newValue = mapStateToBoolean(e.detail.state);\n setDispatchIfValid(true);\n setCurrentVal(newValue);\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new BoolValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new BoolChangeEvent({\n answer: getBoolAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(getBoolAnswer());\n }, [currentVal]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebBoolAnswer || answer instanceof AdminBoolAnswer) {\n setCurrentVal(answer.Value);\n }\n }\n }, [props.q11e, props.questionId]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { AddressAnswer as WebAddressAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { AddressAnswer as AdminAddressAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { Address as WebAddress } from \"WebServices/APIs/self/models/V1/Common\";\nimport { Address as AdminAddress } from \"AdminServices/APIs/self/models/V1/Common\";\nimport { AddressValidator } from \"./AnswerValidators\";\nexport const observedAttributes = [\"q11e\", \"questionId\", \"worldCountries\", \"withCountry\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-address\";\nconst DEFAULTS = {\n worldCountries: [],\n withCountry: false,\n validation: {\n required: false\n }\n};\nexport class AddressChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n worldCountries: host.worldCountries ? host.worldCountries : DEFAULTS.worldCountries,\n withCountry: host.withCountry !== void 0 ? host.withCountry : DEFAULTS.withCountry,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getLabel = (fieldName) => {\n var _a;\n return ((_a = getSubQuestion(fieldName)) == null ? void 0 : _a.Label) + (props.validation.required ? \"*\" : \"\");\n };\n const getSubQuestion = (questionId) => {\n var _a, _b;\n const filteredSubQuestions = (_b = (_a = question.SubQuestions) == null ? void 0 : _a.filter((subQuestion) => subQuestion.Id === questionId)) != null ? _b : [];\n if (filteredSubQuestions.length === 1) {\n return filteredSubQuestions[0];\n } else {\n return void 0;\n }\n };\n const getAddressAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminAddressAnswer({\n Address: new AdminAddress({ City: city, Street: street, StreetNumber: streetNo, Zip: zip }),\n CountryCode: countryCode,\n QuestionId: props.questionId\n });\n }\n return new WebAddressAnswer({\n Address: new WebAddress({ City: city, Street: street, StreetNumber: streetNo, Zip: zip }),\n CountryCode: countryCode,\n QuestionId: props.questionId\n });\n };\n const [countryCode, setCountryCode] = useState(void 0);\n const [city, setCity] = useState(void 0);\n const [street, setStreet] = useState(void 0);\n const [streetNo, setStreetNo] = useState(void 0);\n const [zip, setZip] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new AddressValidator(props.validation, props.withCountry));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminAddressAnswer || answer instanceof WebAddressAnswer) {\n setCountryCode(answer.CountryCode);\n setCity(answer.Address.City);\n setStreet(answer.Address.Street);\n setStreetNo(answer.Address.StreetNumber);\n setZip(answer.Address.Zip);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new AddressChangeEvent({\n answer: getAddressAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(getAddressAnswer());\n }, [countryCode, city, street, streetNo, zip, question]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t\t ({\n label: country.Name,\n value: country.Code\n }))}\n\t\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t\t.readonly=${props.q11e.isReadonly()}\n\t\t\t\t\t\t.validationMessage=${validationContext.getValidationMessage(\"countryCode\")}\n\t\t\t\t\t\t@change=${(e) => {\n setCountryCode(e.detail.selectedValue);\n setDispatchIfValid(true);\n validationContext.validateField(\"countryCode\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setCity(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"city\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setStreet(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"street\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setStreetNo(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"streetNo\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setZip(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"zip\");\n }}\n\t\t\t\t\t>\n\t\t\t
` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { MoneyAnswer as WebMoneyAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { MoneyAnswer as AdminMoneyAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { MoneyValidator } from \"./AnswerValidators\";\nimport { Money as WebMoney } from \"WebServices/APIs/self/models/V1/Common\";\nimport { Money as AdminMoney } from \"AdminServices/APIs/self/models/V1/Common\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-money\";\nconst DEFAULT_CURRENCY = \"EUR\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class MoneyChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getMoneyAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminMoneyAnswer({\n Value: new AdminMoney({ Value: currentVal, Currency: currency }),\n QuestionId: props.questionId\n });\n }\n return new WebMoneyAnswer({\n Value: new WebMoney({ Value: currentVal, Currency: currency }),\n QuestionId: props.questionId\n });\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [currency] = useState(DEFAULT_CURRENCY);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new MoneyValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new MoneyChangeEvent({\n answer: getMoneyAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminMoneyAnswer || answer instanceof WebMoneyAnswer) {\n setCurrentVal(answer.Value.Value);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getMoneyAnswer());\n }, [currentVal]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html` {\n const tempVal = parseInt(e.detail.value, 10);\n setCurrentVal(isNaN(tempVal) ? void 0 : tempVal);\n setDispatchIfValid(true);\n validationContext.validateField(\"value\");\n }}\n\t\t\t >` : \"\"}\n\t`;\n};\n","export const checkAnswerDate = (date) => {\n return date === void 0 || date.getFullYear() >= 1e3 && date.getFullYear() < 2101;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { DateAnswer as WebDateAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { DateAnswer as AdminDateAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { DateValidator } from \"./AnswerValidators\";\nimport { checkAnswerDate } from \"./answer-helpers\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-date\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class DateChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getDateAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminDateAnswer({ Value: currentVal, QuestionId: props.questionId });\n }\n return new WebDateAnswer({ Value: currentVal, QuestionId: props.questionId });\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new DateValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new DateChangeEvent({\n answer: getDateAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminDateAnswer || answer instanceof WebDateAnswer) {\n setCurrentVal(answer.Value);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getDateAnswer());\n }, [currentVal]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html` {\n if (checkAnswerDate(e.detail.value)) {\n setCurrentVal(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"value\");\n }\n }}\n\t\t\t >` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { FileReferenceAnswer as WebFileReferenceAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { FileReferenceAnswer as AdminFileReferenceAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { FileRefValidator } from \"./AnswerValidators\";\nimport { notifyError, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { Q11E_DOC_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-fileref\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class FileRefChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n var _a, _b;\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n onUpload: host.onUpload,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getFileDownloadLink = (reference) => {\n if (props.q11e.isAdmin) {\n return `${window.location.origin}/api/v1/Questionnaire/Company/${props.q11e.company.Id}/Files/${reference}`;\n }\n return `${window.location.origin}/api/v1/Questionnaire/Files/${reference}`;\n };\n const getFileRefAnswer = () => {\n var _a2;\n if ((_a2 = props.q11e) == null ? void 0 : _a2.isAdmin) {\n return new AdminFileReferenceAnswer({\n Value: fileReference,\n OriginalName: fileName,\n QuestionId: props.questionId\n });\n }\n return new WebFileReferenceAnswer({\n Value: fileReference,\n OriginalName: fileName,\n QuestionId: props.questionId\n });\n };\n const uploadFile = (file) => __async(void 0, null, function* () {\n var _a2;\n const refAnswer = yield props.onUpload((_a2 = props.q11e) == null ? void 0 : _a2.getUploadToQuestionUrl(props.questionId), file);\n if (refAnswer) {\n setDispatchIfValid(true);\n setFileName(refAnswer.OriginalName);\n setFileReference(refAnswer.Value);\n }\n });\n const [fileName, setFileName] = useState(void 0);\n const [fileReference, setFileReference] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new FileRefValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new FileRefChangeEvent({\n answer: getFileRefAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminFileReferenceAnswer || answer instanceof WebFileReferenceAnswer) {\n setFileName(answer.OriginalName);\n setFileReference(answer.Value);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n if (fileName && fileReference) {\n validationContext.validate(getFileRefAnswer());\n }\n }, [fileName, fileReference]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t\t getFileDownloadLink(reference)}\n\t\t\t\t\t\t@upload=${(e) => __async(void 0, null, function* () {\n var _a2;\n if (((_a2 = e.detail) == null ? void 0 : _a2.files) && e.detail.files.length > 0) {\n withErrorHandling(\n () => __async(void 0, null, function* () {\n yield uploadFile(e.detail.files[0]);\n }),\n (error) => {\n notifyError(error);\n }\n );\n }\n })}\n\t\t\t\t\t>\n\t\t\t
` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { NameAnswer as WebNameAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { NameAnswer as AdminNameAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { NameValidator } from \"./AnswerValidators\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-name\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class NameChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getNameAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminNameAnswer({ FirstName: firstName, LastName: lastName, QuestionId: props.questionId });\n }\n return new WebNameAnswer({ FirstName: firstName, LastName: lastName, QuestionId: props.questionId });\n };\n const getLabel = (fieldName) => {\n var _a;\n return ((_a = getSubQuestion(fieldName)) == null ? void 0 : _a.Label) + (props.validation.required ? \"*\" : \"\");\n };\n const getSubQuestion = (questionId) => {\n const filteredSubQuestions = question.SubQuestions.filter((subQuestion) => subQuestion.Id === questionId);\n if (filteredSubQuestions.length === 1) {\n return filteredSubQuestions[0];\n } else {\n return void 0;\n }\n };\n const [firstName, setFirstName] = useState(void 0);\n const [lastName, setLastName] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new NameValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new NameChangeEvent({\n answer: getNameAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebNameAnswer || answer instanceof AdminNameAnswer) {\n setFirstName(answer.FirstName);\n setLastName(answer.LastName);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getNameAnswer());\n }, [firstName, lastName]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t\t {\n setFirstName(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"firstName\");\n }}\n\t\t\t\t\t> {\n setLastName(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"lastName\");\n }}\n\t\t\t\t\t>\n\t\t\t
` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { MultiStringAnswer as WebMultiStringAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { MultiStringAnswer as AdminMultiStringAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { MultiStringValidator } from \"./AnswerValidators\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-multistring\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class MultiStringChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getMultiStringAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminMultiStringAnswer({\n Value: currentVal,\n QuestionId: props.questionId\n });\n }\n return new AdminMultiStringAnswer({\n Value: currentVal,\n QuestionId: props.questionId\n });\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new MultiStringValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new MultiStringChangeEvent({\n answer: getMultiStringAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminMultiStringAnswer || answer instanceof WebMultiStringAnswer) {\n setCurrentVal(answer.Value);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getMultiStringAnswer());\n }, [currentVal]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html` {\n const values = e.detail.value.split(\",\").map((v) => v.trim());\n setCurrentVal(values);\n setDispatchIfValid(true);\n validationContext.validateField(\"values\");\n }}\n\t\t\t >` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport {\n ExistingVatNumbersAnswer as WebExistingVatNumbersAnswer,\n DatedVatIdentificationNumber as WebDatedVatIdentificationNumber\n} from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport {\n ExistingVatNumbersAnswer as AdminExistingVatNumbersAnswer,\n DatedVatIdentificationNumber as AdminDatedVatIdentificationNumber\n} from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport {\n ExistingVatNumbersValidator,\n ExistingVatNumberValidator\n} from \"./AnswerValidators\";\nimport { newUniqueId } from \"GlobalShared/helpers/stringHelper\";\nimport i18next from \"i18next\";\nimport { checkAnswerDate } from \"./answer-helpers\";\nimport { formatDate } from \"GlobalShared/helpers/dateHelper\";\nexport const observedAttributes = [\"q11e\", \"questionId\", \"euCountries\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-existing-vat-numbers\";\nconst DEFAULT_EXISTING_VAT_NUMBER = {\n CountryCode: \"\",\n VatNumber: \"\"\n};\nconst DEFAULTS = {\n euCountries: []\n};\nexport class ExistingVatNumbersChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n euCountries: host.euCountries ? host.euCountries : DEFAULTS.euCountries\n };\n const euCountriesWithoutEstablishmentCountry = () => {\n return props.euCountries.filter((country) => country.Code !== props.q11e.getEstablishmentCountry());\n };\n const initForm = (editedCountryCode) => {\n if (existingVatNumbers && existingVatNumbers.length > 0) {\n const forbiddenCountries = editedCountryCode === void 0 ? existingVatNumbers : existingVatNumbers.filter((vatNumber) => editedCountryCode !== vatNumber.CountryCode);\n setAvailableCountries(\n euCountriesWithoutEstablishmentCountry().filter(\n (e) => !props.q11e.getServiceCountryCodes().concat(forbiddenCountries.map((ev) => ev.CountryCode)).includes(e.Code)\n )\n );\n } else {\n setAvailableCountries(euCountriesWithoutEstablishmentCountry());\n }\n vatNumberValidationContext.clearFieldValidations();\n };\n const getAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminExistingVatNumbersAnswer({\n Value: existingVatNumbers.map(\n (existingVatNumber) => new AdminDatedVatIdentificationNumber({\n CountryCode: existingVatNumber.CountryCode,\n VatNumber: existingVatNumber.VatNumber,\n ValidFrom: existingVatNumber.ValidFrom,\n DeregistrationDate: existingVatNumber.DeregistrationDate\n })\n ),\n QuestionId: props.questionId\n });\n }\n return new WebExistingVatNumbersAnswer({\n Value: existingVatNumbers.map(\n (existingVatNumber) => new WebDatedVatIdentificationNumber({\n CountryCode: existingVatNumber.CountryCode,\n VatNumber: existingVatNumber.VatNumber,\n ValidFrom: existingVatNumber.ValidFrom,\n DeregistrationDate: existingVatNumber.DeregistrationDate\n })\n ),\n QuestionId: props.questionId\n });\n };\n const getViewModel = () => {\n return {\n value: existingVatNumbers\n };\n };\n const edit = (id) => {\n const existingVatNumber = existingVatNumbers.filter((evn) => evn.Id === id)[0];\n initForm(existingVatNumber.CountryCode);\n setCurrentExistingVatNumber(existingVatNumber);\n };\n const remove = (id) => {\n setDispatchIfValid(true);\n setExistingVatNumbers(existingVatNumbers.filter((existingVatNumber) => existingVatNumber.Id !== id));\n };\n const save = () => {\n setDispatchIfValid(true);\n if (currentExistingVatNumber.Id === void 0) {\n currentExistingVatNumber.Id = newUniqueId();\n setExistingVatNumbers([...existingVatNumbers, currentExistingVatNumber]);\n } else {\n setExistingVatNumbers(existingVatNumbers.map((existingVatNumber) => existingVatNumber.Id === currentExistingVatNumber.Id ? currentExistingVatNumber : existingVatNumber));\n }\n };\n const cancel = () => {\n setCurrentExistingVatNumber(void 0);\n };\n const startAdding = () => {\n initForm();\n setCurrentExistingVatNumber(DEFAULT_EXISTING_VAT_NUMBER);\n };\n const [existingVatNumbers, setExistingVatNumbers] = useState([]);\n const [currentExistingVatNumber, setCurrentExistingVatNumber] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const [availableCountries, setAvailableCountries] = useState([]);\n const validationContext = useValidationContext(new ExistingVatNumbersValidator(true));\n const vatNumberValidationContext = useValidationContext(new ExistingVatNumberValidator(false));\n const [dispatchVatNumberIfValid, setDispatchVatNumberIfValid] = useState(false);\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (dispatchIfValid) {\n setDispatchIfValid(false);\n if (validationContext.validationResult.isValid()) {\n host.dispatchEvent(\n new ExistingVatNumbersChangeEvent({\n answer: getAnswer()\n })\n );\n setCurrentExistingVatNumber(void 0);\n }\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (dispatchVatNumberIfValid) {\n setDispatchVatNumberIfValid(false);\n if (vatNumberValidationContext.validationResult.isValid()) {\n save();\n }\n }\n }, [vatNumberValidationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(getViewModel());\n }, [existingVatNumbers]);\n useEffect(() => {\n vatNumberValidationContext.validate(currentExistingVatNumber);\n }, [currentExistingVatNumber]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebExistingVatNumbersAnswer || answer instanceof AdminExistingVatNumbersAnswer) {\n setExistingVatNumbers(\n answer.Value.map((vatNumber) => {\n const vm = {\n Id: newUniqueId(),\n CountryCode: vatNumber.CountryCode,\n VatNumber: vatNumber.VatNumber,\n ValidFrom: vatNumber.ValidFrom,\n DeregistrationDate: vatNumber.DeregistrationDate\n };\n return vm;\n })\n );\n }\n }\n }, [props.q11e, props.questionId]);\n const templateExistingVatNumber = () => {\n return html`
\n\t\t\t
\n\t\t\t\t ({ label: country.Name, value: country.Code }))}\n\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t.readonly=${props.q11e.isReadonly()}\n\t\t\t\t\t.validationMessage=${vatNumberValidationContext.getValidationMessage(\"countryCode\")}\n\t\t\t\t\t@change=${(e) => {\n vatNumberValidationContext.validateField(\"countryCode\");\n setCurrentExistingVatNumber(__spreadProps(__spreadValues({}, currentExistingVatNumber), {\n CountryCode: e.detail.selectedValue\n }));\n }}\n\t\t\t\t>\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t {\n vatNumberValidationContext.validateField(\"vatNumber\");\n setCurrentExistingVatNumber(__spreadProps(__spreadValues({}, currentExistingVatNumber), {\n VatNumber: e.detail.value\n }));\n }}\n\t\t\t\t\t\t>\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t {\n if (checkAnswerDate(e.detail.value)) {\n vatNumberValidationContext.validateField(\"validFrom\");\n setCurrentExistingVatNumber(__spreadProps(__spreadValues({}, currentExistingVatNumber), {\n ValidFrom: e.detail.value\n }));\n }\n }}\n\t\t\t\t>\n\t\t\t\t {\n if (checkAnswerDate(e.detail.value)) {\n vatNumberValidationContext.validateField(\"deregistrationDate\");\n setCurrentExistingVatNumber(__spreadProps(__spreadValues({}, currentExistingVatNumber), {\n DeregistrationDate: e.detail.value\n }));\n }\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t${props.q11e.isReadonly() ? \"\" : html` {\n setCurrentExistingVatNumber(__spreadValues({}, currentExistingVatNumber));\n setDispatchVatNumberIfValid(true);\n vatNumberValidationContext.validateFields([\"countryCode\", \"vatNumber\", \"validFrom\", \"deregistrationDate\"]);\n }}\n\t\t\t\t\t >\n\t\t\t\t\t\t\t${i18next.t(\"Save\")}\n\t\t\t\t\t `}\n\t\t\t
\n\t\t
`;\n };\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t\t\t${existingVatNumbers.length > 0 ? existingVatNumbers.map(\n (existingVatNumber) => html`
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t${html`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
edit(existingVatNumber.Id)}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${existingVatNumber.CountryCode + existingVatNumber.VatNumber}${existingVatNumber.ValidFrom ? html`, ${i18next.t(\"Valid from\")}: ${formatDate(existingVatNumber.ValidFrom)}` : \"\"}${existingVatNumber.DeregistrationDate ? html`, ${i18next.t(\"Deregistration date\")}: ${formatDate(existingVatNumber.DeregistrationDate)}` : \"\"}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t`}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t${props.q11e.isReadonly() ? \"\" : html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
`\n ) : html`${currentExistingVatNumber === void 0 ? html`
${i18next.t(\"No existing VAT number is added yet\")}
` : \"\"}`}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${currentExistingVatNumber !== void 0 ? templateExistingVatNumber() : props.q11e.isReadonly() ? \"\" : html``}\n\t\t\t\t\t
` : \"\"}\n\t`;\n};\n","var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport * as case_ from \"case\";\nconst MULTIPART_FORM_DATA = \"multipart/form-data\";\nexport class TswagClient {\n constructor(url, method, contentType, accept, options) {\n this.addQueryParams = (params) => {\n const queryParams = params.filter(this.paramCanBeAdded).map((param) => `${param.name}=${encodeURIComponent(\"\" + param.value)}`);\n this.url += queryParams.length > 0 ? `?${queryParams.join(\"&\")}` : \"\";\n };\n this.addPathParams = (params) => {\n params.filter(this.paramCanBeAdded).forEach((param) => this.url = this.url.replace(`{${param.name}}`, encodeURIComponent(\"\" + param.value)));\n };\n this.addBody = (param) => {\n let body;\n if (param.isArray) {\n if (param.isPrimitive) {\n body = JSON.stringify(param.value);\n } else {\n const contentData = [];\n for (const item of param.value) {\n contentData.push(item.toJSON());\n }\n body = JSON.stringify(contentData);\n }\n } else {\n if (param.isPrimitive) {\n body = `\"${param.value.toString()}\"`;\n } else {\n body = JSON.stringify(param.value ? param.value.toJSON() : void 0);\n }\n }\n this.options.body = body;\n };\n this.addFormData = (contentType, params) => {\n if (contentType === MULTIPART_FORM_DATA) {\n const body = new FormData();\n params.filter(this.paramCanBeAdded).forEach((param) => {\n if (Array.isArray(param.value)) {\n param.value.forEach((param2) => {\n body.append(param2.name, param2);\n });\n } else {\n body.append(param.name, param.value);\n }\n });\n this.options.body = body;\n } else {\n this.options.body = params.filter(this.paramCanBeAdded).map((param) => `${param.name}=${param.value}`).join(\"&\");\n }\n };\n this.addHeaderParams = (params) => {\n params.filter(this.paramCanBeAdded).forEach((param) => this.headers.set(param.name, param.value));\n };\n this.paramCanBeAdded = (param) => {\n if (param.required && (param.value === void 0 || param.value === null)) {\n throw new Error(`The parameter '${param.name}' must be defined.`);\n }\n return param.value !== void 0;\n };\n this.fetch = (http, respDescriptor) => __async(this, null, function* () {\n var _a;\n this.options.headers = this.headers;\n const response = yield http.fetch(this.url, this.options);\n const headers = {};\n respDescriptor.headerParams.forEach((name) => {\n headers[case_.camel(name)] = response.headers.get(name);\n });\n const respDescItems = respDescriptor.items.filter((item) => item.statusCode === response.status);\n if (respDescItems.length > 0) {\n const respDescItem = respDescItems[0];\n if (respDescItem.isFile) {\n const responseBlob = yield response.blob();\n let fileName = \"unknown.\" + responseBlob.type.split(\"/\")[1];\n const fileNamePart = (_a = response.headers.get(\"content-disposition\")) == null ? void 0 : _a.split(\"filename=\");\n if (fileNamePart !== void 0 && fileNamePart.length > 0) {\n fileName = fileNamePart[1].split(\";\")[0];\n }\n const file = new File([responseBlob], fileName);\n return { headers, data: file };\n } else {\n const responseText = yield response.text();\n const resultData = responseText === void 0 || responseText === \"\" ? void 0 : (() => {\n try {\n return JSON.parse(responseText);\n } catch (e) {\n }\n return responseText;\n })();\n let result;\n if (resultData !== void 0) {\n if (respDescItem.isArray) {\n result = new Array();\n result = [];\n for (const item of resultData) {\n if (respDescItem.clazz === void 0 && respDescItem.factory === void 0) {\n result.push(item);\n } else {\n const inst = respDescItem.factory ? respDescItem.factory.create(item.$type) : new respDescItem.clazz();\n result.push(inst.init(item));\n }\n }\n } else {\n if (respDescItem.clazz === void 0 && respDescItem.factory === void 0) {\n result = resultData;\n } else {\n result = respDescItem.factory ? respDescItem.factory.create(resultData.$type) : new respDescItem.clazz();\n result.init(resultData);\n }\n }\n }\n if (response.status >= 200 && response.status < 300) {\n return { headers, data: result };\n } else {\n const error = result === void 0 ? {} : result;\n error.statusCode = response.status;\n error.transactionId = response.headers.get(\"TransactionId\");\n throw error;\n }\n }\n } else {\n const responseText = yield response.text();\n const error = new Error(`Unexpected Error`);\n error.responseText = responseText;\n error.statusCode = response.status;\n error.transactionId = response.headers.get(\"TransactionId\");\n try {\n error.data = JSON.parse(responseText);\n } catch (e) {\n }\n throw error;\n }\n });\n this.url = url;\n this.headers = new Headers(options.headers);\n if (contentType !== MULTIPART_FORM_DATA) {\n this.headers.set(\"Content-Type\", contentType);\n }\n this.headers.set(\"Accept\", accept);\n this.options = options;\n this.options.method = method;\n }\n getFetch(http, responseHandler) {\n return __async(this, null, function* () {\n const result = yield http.fetch(this.url, this.options);\n return responseHandler(result);\n });\n }\n}\n","export class Agent {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Agent\n */\n this.$type = \"V1.Agents.Agent\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Email = _data[\"Email\"];\n this.Id = _data[\"Id\"];\n this.IsTwoFactorEnabled = _data[\"IsTwoFactorEnabled\"];\n if (_data[\"Roles\"] && _data[\"Roles\"].constructor === Array) {\n this.Roles = [];\n for (let item of _data[\"Roles\"]) {\n this.Roles.push(item);\n }\n }\n this.Status = AgentStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Email\"] = this.Email;\n _data[\"Id\"] = this.Id;\n _data[\"IsTwoFactorEnabled\"] = this.IsTwoFactorEnabled;\n if (this.Roles && this.Roles.constructor === Array) {\n _data[\"Roles\"] = [];\n for (let item of this.Roles) {\n _data[\"Roles\"].push(item);\n }\n }\n _data[\"Status\"] = AgentStatus[this.Status];\n return _data;\n }\n}\nexport var AgentStatus = /* @__PURE__ */ ((AgentStatus2) => {\n AgentStatus2[\"Enabled\"] = \"Enabled\";\n AgentStatus2[\"Disabled\"] = \"Disabled\";\n return AgentStatus2;\n})(AgentStatus || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Agent } from \"./../models/V1/Agents/Agent\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class AdminUsers {\n /**\n * Creates an instance of AdminUsers.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof AdminUsers\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetAdminUserRq_ _getAdminUserRq\n * @returns Promise\n * @memberof AdminUsers\n */\n getAdminUser(pGetAdminUserRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/AdminUsers\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"id\", value: pGetAdminUserRq.id }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Agent },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchAdminUsersRq_ _searchAdminUsersRq\n * @returns Promise\n * @memberof AdminUsers\n */\n searchAdminUsers(pSearchAdminUsersRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/AdminUsers/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchAdminUsersRq.body, isArray: true, isPrimitive: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Agent, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Agent {\n /**\n * Creates an instance of Agent.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Agent\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetPermissionsRq_ _getPermissionsRq\n * @returns Promise\n * @memberof Agent\n */\n getPermissions(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agent/permissions\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isArray: true },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { Agent } from \"./../Agent\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Agents.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Agents\"] && _data[\"Agents\"].constructor === Array) {\n this.Agents = [];\n for (let item of _data[\"Agents\"]) {\n const agents_ = new Agent();\n this.Agents.push(agents_.init(item));\n }\n }\n this.Count = _data[\"Count\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Agents && this.Agents.constructor === Array) {\n _data[\"Agents\"] = [];\n for (let item of this.Agents) {\n _data[\"Agents\"].push(item.toJSON());\n }\n }\n _data[\"Count\"] = this.Count;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/Agents/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Agents {\n /**\n * Creates an instance of Agents.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Agents\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchAgentsRq_ _searchAgentsRq\n * @returns Promise\n * @memberof Agents\n */\n searchAgents(pSearchAgentsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchAgentsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param EnableAgentRq_ _enableAgentRq\n * @returns Promise\n * @memberof Agents\n */\n enableAgent(pEnableAgentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/{agentId}/Enable\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"agentId\", value: pEnableAgentRq.agentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DisableAgentRq_ _disableAgentRq\n * @returns Promise\n * @memberof Agents\n */\n disableAgent(pDisableAgentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/{agentId}/Disable\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"agentId\", value: pDisableAgentRq.agentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CreateAdminInvitationRq_ _createAdminInvitationRq\n * @returns Promise\n * @memberof Agents\n */\n createAdminInvitation(pCreateAdminInvitationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/Invitation\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pCreateAdminInvitationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetAgentRq_ _getAgentRq\n * @returns Promise\n * @memberof Agents\n */\n getAgent(pGetAgentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/{agentId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"agentId\", value: pGetAgentRq.agentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isArray: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ModifyAgentRq_ _modifyAgentRq\n * @returns Promise\n * @memberof Agents\n */\n modifyAgent(pModifyAgentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/{agentId}\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"agentId\", value: pModifyAgentRq.agentId, required: true }\n ]);\n client.addBody({ value: pModifyAgentRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddRolesRq_ _addRolesRq\n * @returns Promise\n * @memberof Agents\n */\n addRoles(pAddRolesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/{agentId}/roles\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"agentId\", value: pAddRolesRq.agentId, required: true }\n ]);\n client.addBody({ value: pAddRolesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DeleteRolesRq_ _deleteRolesRq\n * @returns Promise\n * @memberof Agents\n */\n deleteRoles(pDeleteRolesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Agents/{agentId}/roles\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"agentId\", value: pDeleteRolesRq.agentId, required: true }\n ]);\n client.addBody({ value: pDeleteRolesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class Company {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Company\n */\n this.$type = \"V1.Company.Search.Company\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.AccountManagerEmail = _data[\"AccountManagerEmail\"];\n this.ClientSource = CompanyClientSource[_data[\"ClientSource\"]];\n this.CompanyName = _data[\"CompanyName\"];\n this.CoordinatorEmail = _data[\"CoordinatorEmail\"];\n this.Id = _data[\"Id\"];\n this.IsSignedUp = _data[\"IsSignedUp\"];\n this.PreparerEmail = _data[\"PreparerEmail\"];\n this.QuestionnaireStatus = CompanyQuestionnaireStatus[_data[\"QuestionnaireStatus\"]];\n this.RegistrationDate = DateConverter.from(_data[\"RegistrationDate\"]);\n this.ReviewerEmail = _data[\"ReviewerEmail\"];\n this.SentinelValidTo = DateConverter.from(_data[\"SentinelValidTo\"]);\n this.Status = CompanyStatus[_data[\"Status\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"AccountManagerEmail\"] = this.AccountManagerEmail;\n _data[\"ClientSource\"] = CompanyClientSource[this.ClientSource];\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"CoordinatorEmail\"] = this.CoordinatorEmail;\n _data[\"Id\"] = this.Id;\n _data[\"IsSignedUp\"] = this.IsSignedUp;\n _data[\"PreparerEmail\"] = this.PreparerEmail;\n _data[\"QuestionnaireStatus\"] = CompanyQuestionnaireStatus[this.QuestionnaireStatus];\n _data[\"RegistrationDate\"] = DateConverter.toIsoUtcString(this.RegistrationDate);\n _data[\"ReviewerEmail\"] = this.ReviewerEmail;\n _data[\"SentinelValidTo\"] = DateConverter.toUtcDateString(this.SentinelValidTo);\n _data[\"Status\"] = CompanyStatus[this.Status];\n return _data;\n }\n}\nexport var CompanyClientSource = /* @__PURE__ */ ((CompanyClientSource2) => {\n CompanyClientSource2[\"Amazon\"] = \"Amazon\";\n CompanyClientSource2[\"KPMG\"] = \"KPMG\";\n CompanyClientSource2[\"FedEx\"] = \"FedEx\";\n CompanyClientSource2[\"LaPoste\"] = \"LaPoste\";\n return CompanyClientSource2;\n})(CompanyClientSource || {});\nexport var CompanyQuestionnaireStatus = /* @__PURE__ */ ((CompanyQuestionnaireStatus2) => {\n CompanyQuestionnaireStatus2[\"Incomplete\"] = \"Incomplete\";\n CompanyQuestionnaireStatus2[\"Completed\"] = \"Completed\";\n CompanyQuestionnaireStatus2[\"Approved\"] = \"Approved\";\n CompanyQuestionnaireStatus2[\"DataVerified\"] = \"DataVerified\";\n return CompanyQuestionnaireStatus2;\n})(CompanyQuestionnaireStatus || {});\nexport var CompanyStatus = /* @__PURE__ */ ((CompanyStatus2) => {\n CompanyStatus2[\"Active\"] = \"Active\";\n CompanyStatus2[\"Rejected\"] = \"Rejected\";\n CompanyStatus2[\"Inactive\"] = \"Inactive\";\n return CompanyStatus2;\n})(CompanyStatus || {});\n","import { Company } from \"./Company\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Company.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Companies\"] && _data[\"Companies\"].constructor === Array) {\n this.Companies = [];\n for (let item of _data[\"Companies\"]) {\n const companies_ = new Company();\n this.Companies.push(companies_.init(item));\n }\n }\n this.Count = _data[\"Count\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Companies && this.Companies.constructor === Array) {\n _data[\"Companies\"] = [];\n for (let item of this.Companies) {\n _data[\"Companies\"].push(item.toJSON());\n }\n }\n _data[\"Count\"] = this.Count;\n return _data;\n }\n}\n","import { BusinessDetailFactory } from \"./../../CompanyInfo/BusinessDetailFactory\";\nimport { VatRegistration } from \"./VatRegistration\";\nimport { IossRegistration } from \"./IossRegistration\";\nimport { SentinelInformation } from \"./../../CompanyInfo/Detail/SentinelInformation\";\nimport { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { SubscriptionFactory } from \"./../../CompanyInfo/Subscriptions/SubscriptionFactory\";\nimport { EoriRegistration } from \"./../../CompanyInfo/Detail/EoriRegistrations/EoriRegistration\";\nexport class CompanyDetail {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyDetail\n */\n this.$type = \"V1.Company.CompanyInfo.CompanyDetail\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n const $typeBusinessDetail = _data[\"BusinessDetail\"] && _data[\"BusinessDetail\"].$type;\n if ($typeBusinessDetail) {\n const businessDetail_ = BusinessDetailFactory.create($typeBusinessDetail);\n this.BusinessDetail = businessDetail_.init(_data[\"BusinessDetail\"]);\n } else {\n this.BusinessDetail = _data[\"BusinessDetail\"];\n }\n this.ClientAcceptance = CompanyDetailClientAcceptance[_data[\"ClientAcceptance\"]];\n this.ClientAcceptanceCompleted = DateConverter.from(_data[\"ClientAcceptanceCompleted\"]);\n this.ClientSource = CompanyDetailClientSource[_data[\"ClientSource\"]];\n this.ContactEmail = _data[\"ContactEmail\"];\n this.ContactLanguage = _data[\"ContactLanguage\"];\n this.ContactPhone = _data[\"ContactPhone\"];\n this.EmsAccountNumber = _data[\"EmsAccountNumber\"];\n if (_data[\"EoriRegistrations\"] && _data[\"EoriRegistrations\"].constructor === Array) {\n this.EoriRegistrations = [];\n for (let item of _data[\"EoriRegistrations\"]) {\n const eoriRegistrations_ = new EoriRegistration();\n this.EoriRegistrations.push(eoriRegistrations_.init(item));\n }\n }\n this.GisIdentifier = _data[\"GisIdentifier\"];\n this.Id = _data[\"Id\"];\n if (_data[\"IossRegistrations\"] && _data[\"IossRegistrations\"].constructor === Array) {\n this.IossRegistrations = [];\n for (let item of _data[\"IossRegistrations\"]) {\n const iossRegistrations_ = new IossRegistration();\n this.IossRegistrations.push(iossRegistrations_.init(item));\n }\n }\n this.IsEmsNumberEditable = _data[\"IsEmsNumberEditable\"];\n this.IsInvoicingEnabled = _data[\"IsInvoicingEnabled\"];\n this.IsVatNumberValid = _data[\"IsVatNumberValid\"];\n this.QuestionnaireStatus = CompanyDetailQuestionnaireStatus[_data[\"QuestionnaireStatus\"]];\n if (_data[\"SentinelInformation\"]) {\n const sentinelInformation_ = new SentinelInformation();\n this.SentinelInformation = sentinelInformation_.init(_data[\"SentinelInformation\"]);\n }\n this.Status = CompanyDetailStatus[_data[\"Status\"]];\n if (_data[\"Subscriptions\"] && _data[\"Subscriptions\"].constructor === Array) {\n this.Subscriptions = [];\n for (let item of _data[\"Subscriptions\"]) {\n const $typeSubscriptions = item && item.$type;\n if ($typeSubscriptions) {\n const subscriptions_ = SubscriptionFactory.create($typeSubscriptions);\n this.Subscriptions.push(subscriptions_.init(item));\n }\n }\n }\n if (_data[\"VatRegistrations\"] && _data[\"VatRegistrations\"].constructor === Array) {\n this.VatRegistrations = [];\n for (let item of _data[\"VatRegistrations\"]) {\n const vatRegistrations_ = new VatRegistration();\n this.VatRegistrations.push(vatRegistrations_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"BusinessDetail\"] = this.BusinessDetail ? this.BusinessDetail.toJSON() : void 0;\n _data[\"ClientAcceptance\"] = CompanyDetailClientAcceptance[this.ClientAcceptance];\n _data[\"ClientAcceptanceCompleted\"] = DateConverter.toUtcDateString(this.ClientAcceptanceCompleted);\n _data[\"ClientSource\"] = CompanyDetailClientSource[this.ClientSource];\n _data[\"ContactEmail\"] = this.ContactEmail;\n _data[\"ContactLanguage\"] = this.ContactLanguage;\n _data[\"ContactPhone\"] = this.ContactPhone;\n _data[\"EmsAccountNumber\"] = this.EmsAccountNumber;\n if (this.EoriRegistrations && this.EoriRegistrations.constructor === Array) {\n _data[\"EoriRegistrations\"] = [];\n for (let item of this.EoriRegistrations) {\n _data[\"EoriRegistrations\"].push(item.toJSON());\n }\n }\n _data[\"GisIdentifier\"] = this.GisIdentifier;\n _data[\"Id\"] = this.Id;\n if (this.IossRegistrations && this.IossRegistrations.constructor === Array) {\n _data[\"IossRegistrations\"] = [];\n for (let item of this.IossRegistrations) {\n _data[\"IossRegistrations\"].push(item.toJSON());\n }\n }\n _data[\"IsEmsNumberEditable\"] = this.IsEmsNumberEditable;\n _data[\"IsInvoicingEnabled\"] = this.IsInvoicingEnabled;\n _data[\"IsVatNumberValid\"] = this.IsVatNumberValid;\n _data[\"QuestionnaireStatus\"] = CompanyDetailQuestionnaireStatus[this.QuestionnaireStatus];\n _data[\"SentinelInformation\"] = this.SentinelInformation ? this.SentinelInformation.toJSON() : void 0;\n _data[\"Status\"] = CompanyDetailStatus[this.Status];\n if (this.Subscriptions && this.Subscriptions.constructor === Array) {\n _data[\"Subscriptions\"] = [];\n for (let item of this.Subscriptions) {\n _data[\"Subscriptions\"].push(item.toJSON());\n }\n }\n if (this.VatRegistrations && this.VatRegistrations.constructor === Array) {\n _data[\"VatRegistrations\"] = [];\n for (let item of this.VatRegistrations) {\n _data[\"VatRegistrations\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var CompanyDetailClientAcceptance = /* @__PURE__ */ ((CompanyDetailClientAcceptance2) => {\n CompanyDetailClientAcceptance2[\"Pending\"] = \"Pending\";\n CompanyDetailClientAcceptance2[\"Completed\"] = \"Completed\";\n CompanyDetailClientAcceptance2[\"Failed\"] = \"Failed\";\n CompanyDetailClientAcceptance2[\"MFE\"] = \"MFE\";\n return CompanyDetailClientAcceptance2;\n})(CompanyDetailClientAcceptance || {});\nexport var CompanyDetailClientSource = /* @__PURE__ */ ((CompanyDetailClientSource2) => {\n CompanyDetailClientSource2[\"Amazon\"] = \"Amazon\";\n CompanyDetailClientSource2[\"KPMG\"] = \"KPMG\";\n CompanyDetailClientSource2[\"FedEx\"] = \"FedEx\";\n CompanyDetailClientSource2[\"LaPoste\"] = \"LaPoste\";\n return CompanyDetailClientSource2;\n})(CompanyDetailClientSource || {});\nexport var CompanyDetailQuestionnaireStatus = /* @__PURE__ */ ((CompanyDetailQuestionnaireStatus2) => {\n CompanyDetailQuestionnaireStatus2[\"Incomplete\"] = \"Incomplete\";\n CompanyDetailQuestionnaireStatus2[\"Completed\"] = \"Completed\";\n CompanyDetailQuestionnaireStatus2[\"Approved\"] = \"Approved\";\n CompanyDetailQuestionnaireStatus2[\"DataVerified\"] = \"DataVerified\";\n return CompanyDetailQuestionnaireStatus2;\n})(CompanyDetailQuestionnaireStatus || {});\nexport var CompanyDetailStatus = /* @__PURE__ */ ((CompanyDetailStatus2) => {\n CompanyDetailStatus2[\"Active\"] = \"Active\";\n CompanyDetailStatus2[\"Rejected\"] = \"Rejected\";\n CompanyDetailStatus2[\"Inactive\"] = \"Inactive\";\n return CompanyDetailStatus2;\n})(CompanyDetailStatus || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/Company/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { CompanyDetail } from \"./../models/V1/Company/CompanyInfo/CompanyDetail\";\nimport { Subscription } from \"./../models/V1/CompanyInfo/Subscriptions/Subscription\";\nimport { SubscriptionFactory } from \"./../models/V1/CompanyInfo/Subscriptions/SubscriptionFactory\";\nexport class Company {\n /**\n * Creates an instance of Company.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Company\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchCompaniesRq_ _searchCompaniesRq\n * @returns Promise\n * @memberof Company\n */\n searchCompanies(pSearchCompaniesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/Search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchCompaniesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetCompanyDetailRq_ _getCompanyDetailRq\n * @returns Promise\n * @memberof Company\n */\n getCompanyDetail(pGetCompanyDetailRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetCompanyDetailRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: CompanyDetail },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetCompanySubscriptionsRq_ _getCompanySubscriptionsRq\n * @returns Promise\n * @memberof Company\n */\n getCompanySubscriptions(pGetCompanySubscriptionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/companies/{companyId}/subscriptions\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetCompanySubscriptionsRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Subscription, isArray: true, factory: SubscriptionFactory },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RejectCompanyRq_ _rejectCompanyRq\n * @returns Promise\n * @memberof Company\n */\n rejectCompany(pRejectCompanyRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/Reject\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pRejectCompanyRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ReopenCompanyRq_ _reopenCompanyRq\n * @returns Promise\n * @memberof Company\n */\n reopenCompany(pReopenCompanyRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/ReOpen\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pReopenCompanyRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param InactivateCompanyRq_ _inactivateCompanyRq\n * @returns Promise\n * @memberof Company\n */\n inactivateCompany(pInactivateCompanyRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/Inactivate\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pInactivateCompanyRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateGisNumberRq_ _updateGisNumberRq\n * @returns Promise\n * @memberof Company\n */\n updateGisNumber(pUpdateGisNumberRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/GIS/Update\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"number\", value: pUpdateGisNumberRq.number }\n ]);\n client.addPathParams([\n { name: \"companyId\", value: pUpdateGisNumberRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateEmsNumberRq_ _updateEmsNumberRq\n * @returns Promise\n * @memberof Company\n */\n updateEmsNumber(pUpdateEmsNumberRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/EMS/Update\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"number\", value: pUpdateEmsNumberRq.number }\n ]);\n client.addPathParams([\n { name: \"companyId\", value: pUpdateEmsNumberRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateClientAcceptanceRq_ _updateClientAcceptanceRq\n * @returns Promise\n * @memberof Company\n */\n updateClientAcceptance(pUpdateClientAcceptanceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/ClientAcceptance/Update\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateClientAcceptanceRq.companyId, required: true }\n ]);\n client.addBody({ value: pUpdateClientAcceptanceRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateSentinelInformationRq_ _updateSentinelInformationRq\n * @returns Promise\n * @memberof Company\n */\n updateSentinelInformation(pUpdateSentinelInformationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/Sentinel/Update\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateSentinelInformationRq.companyId, required: true }\n ]);\n client.addBody({ value: pUpdateSentinelInformationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateBusinessDetailRq_ _updateBusinessDetailRq\n * @returns Promise\n * @memberof Company\n */\n updateBusinessDetail(pUpdateBusinessDetailRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/Companies/{companyId}/BusinessDetail\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateBusinessDetailRq.companyId, required: true }\n ]);\n client.addBody({ value: pUpdateBusinessDetailRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param HasPendingBankTransferPaymentRq_ _hasPendingBankTransferPaymentRq\n * @returns Promise\n * @memberof Company\n */\n hasPendingBankTransferPayment(pHasPendingBankTransferPaymentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/companies/{companyId}/payments/pending\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pHasPendingBankTransferPaymentRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateInvoicingRq_ _updateInvoicingRq\n * @returns Promise\n * @memberof Company\n */\n updateInvoicing(pUpdateInvoicingRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/companies/{companyId}/invoicing\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"isEnabled\", value: pUpdateInvoicingRq.isEnabled }\n ]);\n client.addPathParams([\n { name: \"companyId\", value: pUpdateInvoicingRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ReValidateVatNumberRq_ _reValidateVatNumberRq\n * @returns Promise\n * @memberof Company\n */\n reValidateVatNumber(pReValidateVatNumberRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/companies/{companyId}/vatnumber/revalidate\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pReValidateVatNumberRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateAdministratorRq_ _updateAdministratorRq\n * @returns Promise\n * @memberof Company\n */\n updateAdministrator(pUpdateAdministratorRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/{companyId}/administrators\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateAdministratorRq.companyId, required: true }\n ]);\n client.addBody({ value: pUpdateAdministratorRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CancelSubscriptionRq_ _cancelSubscriptionRq\n * @returns Promise\n * @memberof Company\n */\n cancelSubscription(pCancelSubscriptionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Company/companies/{companyId}/subscriptions/{subscriptionId}\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pCancelSubscriptionRq.companyId, required: true },\n { name: \"subscriptionId\", value: pCancelSubscriptionRq.subscriptionId, required: true }\n ]);\n client.addBody({ value: pCancelSubscriptionRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { SellerEntity } from \"./SellerEntity\";\nexport class AmazonConfiguration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonConfiguration\n */\n this.$type = \"V1.ComplianceUploads.Configuration.Amazon.AmazonConfiguration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.RefundMode = AmazonConfigurationRefundMode[_data[\"RefundMode\"]];\n if (_data[\"SellerEntities\"] && _data[\"SellerEntities\"].constructor === Array) {\n this.SellerEntities = [];\n for (let item of _data[\"SellerEntities\"]) {\n const sellerEntities_ = new SellerEntity();\n this.SellerEntities.push(sellerEntities_.init(item));\n }\n }\n this.UseAmazonRates = _data[\"UseAmazonRates\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"RefundMode\"] = AmazonConfigurationRefundMode[this.RefundMode];\n if (this.SellerEntities && this.SellerEntities.constructor === Array) {\n _data[\"SellerEntities\"] = [];\n for (let item of this.SellerEntities) {\n _data[\"SellerEntities\"].push(item.toJSON());\n }\n }\n _data[\"UseAmazonRates\"] = this.UseAmazonRates;\n return _data;\n }\n}\nexport var AmazonConfigurationRefundMode = /* @__PURE__ */ ((AmazonConfigurationRefundMode2) => {\n AmazonConfigurationRefundMode2[\"Normal\"] = \"Normal\";\n AmazonConfigurationRefundMode2[\"WithMfn\"] = \"WithMfn\";\n AmazonConfigurationRefundMode2[\"DeductAll\"] = \"DeductAll\";\n return AmazonConfigurationRefundMode2;\n})(AmazonConfigurationRefundMode || {});\n","import { AmazonConfiguration } from \"./Amazon/AmazonConfiguration\";\nexport class CompanyConfiguration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyConfiguration\n */\n this.$type = \"V1.ComplianceUploads.Configuration.CompanyConfiguration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"AmazonConfiguration\"]) {\n const amazonConfiguration_ = new AmazonConfiguration();\n this.AmazonConfiguration = amazonConfiguration_.init(_data[\"AmazonConfiguration\"]);\n }\n this.UseAmazonTemplate = _data[\"UseAmazonTemplate\"];\n this.UseKpmgTemplate = _data[\"UseKpmgTemplate\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"AmazonConfiguration\"] = this.AmazonConfiguration ? this.AmazonConfiguration.toJSON() : void 0;\n _data[\"UseAmazonTemplate\"] = this.UseAmazonTemplate;\n _data[\"UseKpmgTemplate\"] = this.UseKpmgTemplate;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { CompanyConfiguration } from \"./../models/V1/ComplianceUploads/Configuration/CompanyConfiguration\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class ComplianceCompany {\n /**\n * Creates an instance of ComplianceCompany.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof ComplianceCompany\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetDefaultConfigurationRq_ _getDefaultConfigurationRq\n * @returns Promise\n * @memberof ComplianceCompany\n */\n getDefaultConfiguration(pGetDefaultConfigurationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceCompany/Companies/{companyId}/DefaultConfiguration\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetDefaultConfigurationRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: CompanyConfiguration },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddConfigurationRq_ _addConfigurationRq\n * @returns Promise\n * @memberof ComplianceCompany\n */\n addConfiguration(pAddConfigurationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceCompany/Companies/{companyId}/DefaultConfiguration\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pAddConfigurationRq.companyId, required: true }\n ]);\n client.addBody({ value: pAddConfigurationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateDefaultConfigurationRq_ _updateDefaultConfigurationRq\n * @returns Promise\n * @memberof ComplianceCompany\n */\n updateDefaultConfiguration(pUpdateDefaultConfigurationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceCompany/Companies/{companyId}/DefaultConfiguration\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateDefaultConfigurationRq.companyId, required: true }\n ]);\n client.addBody({ value: pUpdateDefaultConfigurationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class ValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ValidationMessage\n */\n this.$type = \"V1.ComplianceMasterData.Upload.ValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnName = _data[\"ColumnName\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.ValidationCode = ValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnName\"] = this.ColumnName;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"ValidationCode\"] = ValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var ValidationMessageValidationCode = /* @__PURE__ */ ((ValidationMessageValidationCode2) => {\n ValidationMessageValidationCode2[\"Required\"] = \"Required\";\n ValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n ValidationMessageValidationCode2[\"NotFound\"] = \"NotFound\";\n ValidationMessageValidationCode2[\"CannotParse\"] = \"CannotParse\";\n ValidationMessageValidationCode2[\"InvalidValue\"] = \"InvalidValue\";\n ValidationMessageValidationCode2[\"Unknown\"] = \"Unknown\";\n return ValidationMessageValidationCode2;\n})(ValidationMessageValidationCode || {});\n","import { ValidationMessage } from \"./ValidationMessage\";\nexport class UploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof UploadResult\n */\n this.$type = \"V1.ComplianceMasterData.Upload.UploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new ValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class DefaultVatRateType {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DefaultVatRateType\n */\n this.$type = \"V1.ComplianceMasterData.DefaultVatRateType\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.Type = DefaultVatRateTypeType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"Type\"] = DefaultVatRateTypeType[this.Type];\n return _data;\n }\n}\nexport var DefaultVatRateTypeType = /* @__PURE__ */ ((DefaultVatRateTypeType2) => {\n DefaultVatRateTypeType2[\"Standard\"] = \"Standard\";\n DefaultVatRateTypeType2[\"Standard2\"] = \"Standard2\";\n DefaultVatRateTypeType2[\"Reduced\"] = \"Reduced\";\n DefaultVatRateTypeType2[\"Reduced2\"] = \"Reduced2\";\n DefaultVatRateTypeType2[\"SuperReduced\"] = \"SuperReduced\";\n DefaultVatRateTypeType2[\"SuperReduced2\"] = \"SuperReduced2\";\n DefaultVatRateTypeType2[\"Exempt\"] = \"Exempt\";\n DefaultVatRateTypeType2[\"ZeroRated\"] = \"ZeroRated\";\n DefaultVatRateTypeType2[\"Middle\"] = \"Middle\";\n return DefaultVatRateTypeType2;\n})(DefaultVatRateTypeType || {});\n","export class TypeAndRate {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TypeAndRate\n */\n this.$type = \"V1.ComplianceMasterData.TypeAndRate\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Rate = _data[\"Rate\"];\n this.Type = TypeAndRateType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Rate\"] = this.Rate;\n _data[\"Type\"] = TypeAndRateType[this.Type];\n return _data;\n }\n}\nexport var TypeAndRateType = /* @__PURE__ */ ((TypeAndRateType2) => {\n TypeAndRateType2[\"Standard\"] = \"Standard\";\n TypeAndRateType2[\"Standard2\"] = \"Standard2\";\n TypeAndRateType2[\"Reduced\"] = \"Reduced\";\n TypeAndRateType2[\"Reduced2\"] = \"Reduced2\";\n TypeAndRateType2[\"SuperReduced\"] = \"SuperReduced\";\n TypeAndRateType2[\"SuperReduced2\"] = \"SuperReduced2\";\n TypeAndRateType2[\"Exempt\"] = \"Exempt\";\n TypeAndRateType2[\"ZeroRated\"] = \"ZeroRated\";\n TypeAndRateType2[\"Middle\"] = \"Middle\";\n return TypeAndRateType2;\n})(TypeAndRateType || {});\n","import { TypeAndRate } from \"./TypeAndRate\";\nexport class VatRateTypeSetting {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRateTypeSetting\n */\n this.$type = \"V1.ComplianceMasterData.VatRateTypeSetting\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n if (_data[\"TypeRateOptions\"] && _data[\"TypeRateOptions\"].constructor === Array) {\n this.TypeRateOptions = [];\n for (let item of _data[\"TypeRateOptions\"]) {\n const typeRateOptions_ = new TypeAndRate();\n this.TypeRateOptions.push(typeRateOptions_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n if (this.TypeRateOptions && this.TypeRateOptions.constructor === Array) {\n _data[\"TypeRateOptions\"] = [];\n for (let item of this.TypeRateOptions) {\n _data[\"TypeRateOptions\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/ComplianceMasterData/SearchSku/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { UploadResult } from \"./../models/V1/ComplianceMasterData/Upload/UploadResult\";\nimport { DefaultVatRateType } from \"./../models/V1/ComplianceMasterData/DefaultVatRateType\";\nimport { VatRateTypeSetting } from \"./../models/V1/ComplianceMasterData/VatRateTypeSetting\";\nimport { GTUCode } from \"./../models/V1/ComplianceMasterData/GTUCode\";\nimport { Currency } from \"./../models/V1/ComplianceMasterData/Currency\";\nexport class ComplianceMasterData {\n /**\n * Creates an instance of ComplianceMasterData.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof ComplianceMasterData\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchSKUsRq_ _searchSKUsRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n searchSKUs(pSearchSKUsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus/Search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pSearchSKUsRq.companyId, required: true }\n ]);\n client.addBody({ value: pSearchSKUsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportSkusRq_ _exportSkusRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n exportSkus(pExportSkusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus/Export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pExportSkusRq.companyId, required: true }\n ]);\n client.addBody({ value: pExportSkusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSkusRq_ _uploadSkusRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n uploadSkus(pUploadSkusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus/Upload\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadSkusRq.companyId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSkusRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: UploadResult },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param HasAnyIncompleteSKUsRq_ _hasAnyIncompleteSKUsRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n hasAnyIncompleteSKUs(pHasAnyIncompleteSKUsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus/Any\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pHasAnyIncompleteSKUsRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddSkuRq_ _addSkuRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n addSku(pAddSkuRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pAddSkuRq.companyId, required: true }\n ]);\n client.addBody({ value: pAddSkuRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateSkuRq_ _updateSkuRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n updateSku(pUpdateSkuRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus/{id}\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateSkuRq.companyId, required: true },\n { name: \"id\", value: pUpdateSkuRq.id, required: true }\n ]);\n client.addBody({ value: pUpdateSkuRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveSkuRq_ _removeSkuRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n removeSku(pRemoveSkuRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/Skus/{id}\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pRemoveSkuRq.companyId, required: true },\n { name: \"id\", value: pRemoveSkuRq.id, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetDefaultVatRateTypesRq_ _getDefaultVatRateTypesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getDefaultVatRateTypes(pGetDefaultVatRateTypesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/DefaultVatRateTypes\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetDefaultVatRateTypesRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: DefaultVatRateType, isArray: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SetDefaultVatRateTypesRq_ _setDefaultVatRateTypesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n setDefaultVatRateTypes(pSetDefaultVatRateTypesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/Companies/{companyId}/DefaultVatRateTypes\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pSetDefaultVatRateTypesRq.companyId, required: true }\n ]);\n client.addBody({ value: pSetDefaultVatRateTypesRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetVATRateTypeSettingsRq_ _getVATRateTypeSettingsRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getVATRateTypeSettings(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/VATRateTypeSettings\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: VatRateTypeSetting, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetGTUCodesRq_ _getGTUCodesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getGTUCodes(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/GTUCodes\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: GTUCode, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetAvailableCurrenciesRq_ _getAvailableCurrenciesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n getAvailableCurrencies(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/AvailableCurrencies\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Currency, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportCurrenciesRq_ _exportCurrenciesRq\n * @returns Promise\n * @memberof ComplianceMasterData\n */\n exportCurrencies(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceMasterData/ExportCurrencies\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { FileFactory } from \"./Files/FileFactory\";\nimport { CompanyConfiguration } from \"./Configuration/CompanyConfiguration\";\nexport class ComplianceUpload {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ComplianceUpload\n */\n this.$type = \"V1.ComplianceUploads.ComplianceUpload\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientId = _data[\"ClientId\"];\n this.ClientName = _data[\"ClientName\"];\n if (_data[\"CompanyConfigSnapshot\"]) {\n const companyConfigSnapshot_ = new CompanyConfiguration();\n this.CompanyConfigSnapshot = companyConfigSnapshot_.init(_data[\"CompanyConfigSnapshot\"]);\n }\n this.CurrentFileVersion = _data[\"CurrentFileVersion\"];\n this.ErrorMessage = _data[\"ErrorMessage\"];\n this.ErrorReason = ComplianceUploadErrorReason[_data[\"ErrorReason\"]];\n if (_data[\"Files\"] && _data[\"Files\"].constructor === Array) {\n this.Files = [];\n for (let item of _data[\"Files\"]) {\n const $typeFiles = item && item.$type;\n if ($typeFiles) {\n const files_ = FileFactory.create($typeFiles);\n this.Files.push(files_.init(item));\n }\n }\n }\n this.Id = _data[\"Id\"];\n this.IgnoreOverdue = _data[\"IgnoreOverdue\"];\n this.IsAmazonInvoicingServiceOptional = _data[\"IsAmazonInvoicingServiceOptional\"];\n this.IsOverdue = _data[\"IsOverdue\"];\n this.Period = _data[\"Period\"];\n this.Status = ComplianceUploadStatus[_data[\"Status\"]];\n this.Type = ComplianceUploadType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientId\"] = this.ClientId;\n _data[\"ClientName\"] = this.ClientName;\n _data[\"CompanyConfigSnapshot\"] = this.CompanyConfigSnapshot ? this.CompanyConfigSnapshot.toJSON() : void 0;\n _data[\"CurrentFileVersion\"] = this.CurrentFileVersion;\n _data[\"ErrorMessage\"] = this.ErrorMessage;\n _data[\"ErrorReason\"] = ComplianceUploadErrorReason[this.ErrorReason];\n if (this.Files && this.Files.constructor === Array) {\n _data[\"Files\"] = [];\n for (let item of this.Files) {\n _data[\"Files\"].push(item.toJSON());\n }\n }\n _data[\"Id\"] = this.Id;\n _data[\"IgnoreOverdue\"] = this.IgnoreOverdue;\n _data[\"IsAmazonInvoicingServiceOptional\"] = this.IsAmazonInvoicingServiceOptional;\n _data[\"IsOverdue\"] = this.IsOverdue;\n _data[\"Period\"] = this.Period;\n _data[\"Status\"] = ComplianceUploadStatus[this.Status];\n _data[\"Type\"] = ComplianceUploadType[this.Type];\n return _data;\n }\n}\nexport var ComplianceUploadErrorReason = /* @__PURE__ */ ((ComplianceUploadErrorReason2) => {\n ComplianceUploadErrorReason2[\"UnknownError\"] = \"UnknownError\";\n ComplianceUploadErrorReason2[\"UnableToSentToReturnGeneration\"] = \"UnableToSentToReturnGeneration\";\n ComplianceUploadErrorReason2[\"MissingVatNumberValidation\"] = \"MissingVatNumberValidation\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceUnavailable\"] = \"ExternalValidationServiceUnavailable\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceUnknownError\"] = \"ExternalValidationServiceUnknownError\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceViesUnavailable\"] = \"ExternalValidationServiceViesUnavailable\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceCountryUnavailable\"] = \"ExternalValidationServiceCountryUnavailable\";\n ComplianceUploadErrorReason2[\"MissingVatRate\"] = \"MissingVatRate\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceConcurrentLimitReached\"] = \"ExternalValidationServiceConcurrentLimitReached\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceTimeout\"] = \"ExternalValidationServiceTimeout\";\n ComplianceUploadErrorReason2[\"ExternalValidationServiceInvalidInput\"] = \"ExternalValidationServiceInvalidInput\";\n return ComplianceUploadErrorReason2;\n})(ComplianceUploadErrorReason || {});\nexport var ComplianceUploadStatus = /* @__PURE__ */ ((ComplianceUploadStatus2) => {\n ComplianceUploadStatus2[\"New\"] = \"New\";\n ComplianceUploadStatus2[\"WaitingForFinalize\"] = \"WaitingForFinalize\";\n ComplianceUploadStatus2[\"InvalidData\"] = \"InvalidData\";\n ComplianceUploadStatus2[\"SaftCompliance\"] = \"SaftCompliance\";\n ComplianceUploadStatus2[\"MasterDataSetup\"] = \"MasterDataSetup\";\n ComplianceUploadStatus2[\"DataUploadFinalized\"] = \"DataUploadFinalized\";\n ComplianceUploadStatus2[\"DataVatGenerated\"] = \"DataVatGenerated\";\n ComplianceUploadStatus2[\"SentToReturnGeneration\"] = \"SentToReturnGeneration\";\n ComplianceUploadStatus2[\"InsufficientCredit\"] = \"InsufficientCredit\";\n ComplianceUploadStatus2[\"UploadProcessed\"] = \"UploadProcessed\";\n ComplianceUploadStatus2[\"Error\"] = \"Error\";\n return ComplianceUploadStatus2;\n})(ComplianceUploadStatus || {});\nexport var ComplianceUploadType = /* @__PURE__ */ ((ComplianceUploadType2) => {\n ComplianceUploadType2[\"IOSS\"] = \"IOSS\";\n ComplianceUploadType2[\"VAT\"] = \"VAT\";\n return ComplianceUploadType2;\n})(ComplianceUploadType || {});\n","import { ComplianceUpload } from \"./../ComplianceUpload\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.ComplianceUploads.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"ComplianceUploads\"] && _data[\"ComplianceUploads\"].constructor === Array) {\n this.ComplianceUploads = [];\n for (let item of _data[\"ComplianceUploads\"]) {\n const complianceUploads_ = new ComplianceUpload();\n this.ComplianceUploads.push(complianceUploads_.init(item));\n }\n }\n this.Count = _data[\"Count\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.ComplianceUploads && this.ComplianceUploads.constructor === Array) {\n _data[\"ComplianceUploads\"] = [];\n for (let item of this.ComplianceUploads) {\n _data[\"ComplianceUploads\"].push(item.toJSON());\n }\n }\n _data[\"Count\"] = this.Count;\n return _data;\n }\n}\n","export class ValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.ValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnCode = ValidationMessageColumnCode[_data[\"ColumnCode\"]];\n this.ColumnName = ValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = ValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnCode\"] = ValidationMessageColumnCode[this.ColumnCode];\n _data[\"ColumnName\"] = ValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = ValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var ValidationMessageColumnCode = /* @__PURE__ */ ((ValidationMessageColumnCode2) => {\n ValidationMessageColumnCode2[\"A\"] = \"A\";\n ValidationMessageColumnCode2[\"B\"] = \"B\";\n ValidationMessageColumnCode2[\"C\"] = \"C\";\n ValidationMessageColumnCode2[\"D\"] = \"D\";\n ValidationMessageColumnCode2[\"E\"] = \"E\";\n ValidationMessageColumnCode2[\"F\"] = \"F\";\n ValidationMessageColumnCode2[\"G\"] = \"G\";\n ValidationMessageColumnCode2[\"H\"] = \"H\";\n ValidationMessageColumnCode2[\"I\"] = \"I\";\n ValidationMessageColumnCode2[\"J\"] = \"J\";\n ValidationMessageColumnCode2[\"K\"] = \"K\";\n ValidationMessageColumnCode2[\"L\"] = \"L\";\n ValidationMessageColumnCode2[\"M\"] = \"M\";\n ValidationMessageColumnCode2[\"N\"] = \"N\";\n ValidationMessageColumnCode2[\"O\"] = \"O\";\n ValidationMessageColumnCode2[\"P\"] = \"P\";\n ValidationMessageColumnCode2[\"Q\"] = \"Q\";\n ValidationMessageColumnCode2[\"R\"] = \"R\";\n ValidationMessageColumnCode2[\"S\"] = \"S\";\n ValidationMessageColumnCode2[\"T\"] = \"T\";\n ValidationMessageColumnCode2[\"U\"] = \"U\";\n ValidationMessageColumnCode2[\"V\"] = \"V\";\n ValidationMessageColumnCode2[\"W\"] = \"W\";\n ValidationMessageColumnCode2[\"X\"] = \"X\";\n ValidationMessageColumnCode2[\"Y\"] = \"Y\";\n ValidationMessageColumnCode2[\"Z\"] = \"Z\";\n ValidationMessageColumnCode2[\"AA\"] = \"AA\";\n ValidationMessageColumnCode2[\"AB\"] = \"AB\";\n ValidationMessageColumnCode2[\"AC\"] = \"AC\";\n ValidationMessageColumnCode2[\"AD\"] = \"AD\";\n ValidationMessageColumnCode2[\"AE\"] = \"AE\";\n ValidationMessageColumnCode2[\"AF\"] = \"AF\";\n ValidationMessageColumnCode2[\"AG\"] = \"AG\";\n ValidationMessageColumnCode2[\"AH\"] = \"AH\";\n ValidationMessageColumnCode2[\"AI\"] = \"AI\";\n ValidationMessageColumnCode2[\"AJ\"] = \"AJ\";\n ValidationMessageColumnCode2[\"AK\"] = \"AK\";\n ValidationMessageColumnCode2[\"AL\"] = \"AL\";\n ValidationMessageColumnCode2[\"AM\"] = \"AM\";\n ValidationMessageColumnCode2[\"AN\"] = \"AN\";\n ValidationMessageColumnCode2[\"AO\"] = \"AO\";\n ValidationMessageColumnCode2[\"AP\"] = \"AP\";\n ValidationMessageColumnCode2[\"AQ\"] = \"AQ\";\n ValidationMessageColumnCode2[\"AR\"] = \"AR\";\n ValidationMessageColumnCode2[\"AS\"] = \"AS\";\n ValidationMessageColumnCode2[\"AT\"] = \"AT\";\n ValidationMessageColumnCode2[\"AU\"] = \"AU\";\n ValidationMessageColumnCode2[\"AV\"] = \"AV\";\n ValidationMessageColumnCode2[\"AW\"] = \"AW\";\n ValidationMessageColumnCode2[\"AX\"] = \"AX\";\n ValidationMessageColumnCode2[\"AY\"] = \"AY\";\n ValidationMessageColumnCode2[\"AZ\"] = \"AZ\";\n ValidationMessageColumnCode2[\"BA\"] = \"BA\";\n ValidationMessageColumnCode2[\"BB\"] = \"BB\";\n ValidationMessageColumnCode2[\"BC\"] = \"BC\";\n ValidationMessageColumnCode2[\"BD\"] = \"BD\";\n ValidationMessageColumnCode2[\"BE\"] = \"BE\";\n ValidationMessageColumnCode2[\"BF\"] = \"BF\";\n ValidationMessageColumnCode2[\"BG\"] = \"BG\";\n ValidationMessageColumnCode2[\"BH\"] = \"BH\";\n ValidationMessageColumnCode2[\"BI\"] = \"BI\";\n ValidationMessageColumnCode2[\"BJ\"] = \"BJ\";\n ValidationMessageColumnCode2[\"BK\"] = \"BK\";\n ValidationMessageColumnCode2[\"BL\"] = \"BL\";\n return ValidationMessageColumnCode2;\n})(ValidationMessageColumnCode || {});\nexport var ValidationMessageColumnName = /* @__PURE__ */ ((ValidationMessageColumnName2) => {\n ValidationMessageColumnName2[\"TransactionType\"] = \"TransactionType\";\n ValidationMessageColumnName2[\"TransactionDate\"] = \"TransactionDate\";\n ValidationMessageColumnName2[\"DestinationCountry\"] = \"DestinationCountry\";\n ValidationMessageColumnName2[\"Currency\"] = \"Currency\";\n ValidationMessageColumnName2[\"VatRate\"] = \"VatRate\";\n ValidationMessageColumnName2[\"GrossAmount\"] = \"GrossAmount\";\n ValidationMessageColumnName2[\"TransactionIdentifier\"] = \"TransactionIdentifier\";\n ValidationMessageColumnName2[\"DateOfSupply\"] = \"DateOfSupply\";\n ValidationMessageColumnName2[\"PaymentDate\"] = \"PaymentDate\";\n ValidationMessageColumnName2[\"InvoiceDate\"] = \"InvoiceDate\";\n ValidationMessageColumnName2[\"Description\"] = \"Description\";\n ValidationMessageColumnName2[\"Quantity\"] = \"Quantity\";\n ValidationMessageColumnName2[\"DepartureCountry\"] = \"DepartureCountry\";\n ValidationMessageColumnName2[\"TaxableBasis\"] = \"TaxableBasis\";\n ValidationMessageColumnName2[\"VatAmount\"] = \"VatAmount\";\n ValidationMessageColumnName2[\"ConsignmentNumber\"] = \"ConsignmentNumber\";\n ValidationMessageColumnName2[\"InvoiceCountry\"] = \"InvoiceCountry\";\n ValidationMessageColumnName2[\"CommodityCode\"] = \"CommodityCode\";\n ValidationMessageColumnName2[\"ExchangeRate\"] = \"ExchangeRate\";\n ValidationMessageColumnName2[\"ReportingGrossAmount\"] = \"ReportingGrossAmount\";\n ValidationMessageColumnName2[\"ReportingTaxableBasis\"] = \"ReportingTaxableBasis\";\n ValidationMessageColumnName2[\"ReportingVatAmount\"] = \"ReportingVatAmount\";\n ValidationMessageColumnName2[\"InvoiceNumber\"] = \"InvoiceNumber\";\n return ValidationMessageColumnName2;\n})(ValidationMessageColumnName || {});\nexport var ValidationMessageValidationCode = /* @__PURE__ */ ((ValidationMessageValidationCode2) => {\n ValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n ValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n ValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n ValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n ValidationMessageValidationCode2[\"Required\"] = \"Required\";\n ValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n ValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n ValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n ValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n ValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n ValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n ValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n ValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n ValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return ValidationMessageValidationCode2;\n})(ValidationMessageValidationCode || {});\n","import { ValidationMessage } from \"./ValidationMessage\";\nexport class UploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof UploadResult\n */\n this.$type = \"V1.ComplianceUploads.UploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new ValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class KpmgValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof KpmgValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.KpmgValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnCode = KpmgValidationMessageColumnCode[_data[\"ColumnCode\"]];\n this.ColumnName = KpmgValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = KpmgValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnCode\"] = KpmgValidationMessageColumnCode[this.ColumnCode];\n _data[\"ColumnName\"] = KpmgValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = KpmgValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var KpmgValidationMessageColumnCode = /* @__PURE__ */ ((KpmgValidationMessageColumnCode2) => {\n KpmgValidationMessageColumnCode2[\"A\"] = \"A\";\n KpmgValidationMessageColumnCode2[\"B\"] = \"B\";\n KpmgValidationMessageColumnCode2[\"C\"] = \"C\";\n KpmgValidationMessageColumnCode2[\"D\"] = \"D\";\n KpmgValidationMessageColumnCode2[\"E\"] = \"E\";\n KpmgValidationMessageColumnCode2[\"F\"] = \"F\";\n KpmgValidationMessageColumnCode2[\"G\"] = \"G\";\n KpmgValidationMessageColumnCode2[\"H\"] = \"H\";\n KpmgValidationMessageColumnCode2[\"I\"] = \"I\";\n KpmgValidationMessageColumnCode2[\"J\"] = \"J\";\n KpmgValidationMessageColumnCode2[\"K\"] = \"K\";\n KpmgValidationMessageColumnCode2[\"L\"] = \"L\";\n KpmgValidationMessageColumnCode2[\"M\"] = \"M\";\n KpmgValidationMessageColumnCode2[\"N\"] = \"N\";\n KpmgValidationMessageColumnCode2[\"O\"] = \"O\";\n KpmgValidationMessageColumnCode2[\"P\"] = \"P\";\n KpmgValidationMessageColumnCode2[\"Q\"] = \"Q\";\n KpmgValidationMessageColumnCode2[\"R\"] = \"R\";\n KpmgValidationMessageColumnCode2[\"S\"] = \"S\";\n KpmgValidationMessageColumnCode2[\"T\"] = \"T\";\n KpmgValidationMessageColumnCode2[\"U\"] = \"U\";\n KpmgValidationMessageColumnCode2[\"V\"] = \"V\";\n KpmgValidationMessageColumnCode2[\"W\"] = \"W\";\n KpmgValidationMessageColumnCode2[\"X\"] = \"X\";\n KpmgValidationMessageColumnCode2[\"Y\"] = \"Y\";\n KpmgValidationMessageColumnCode2[\"Z\"] = \"Z\";\n KpmgValidationMessageColumnCode2[\"AA\"] = \"AA\";\n KpmgValidationMessageColumnCode2[\"AB\"] = \"AB\";\n KpmgValidationMessageColumnCode2[\"AC\"] = \"AC\";\n KpmgValidationMessageColumnCode2[\"AD\"] = \"AD\";\n KpmgValidationMessageColumnCode2[\"AE\"] = \"AE\";\n KpmgValidationMessageColumnCode2[\"AF\"] = \"AF\";\n KpmgValidationMessageColumnCode2[\"AG\"] = \"AG\";\n KpmgValidationMessageColumnCode2[\"AH\"] = \"AH\";\n KpmgValidationMessageColumnCode2[\"AI\"] = \"AI\";\n KpmgValidationMessageColumnCode2[\"AJ\"] = \"AJ\";\n KpmgValidationMessageColumnCode2[\"AK\"] = \"AK\";\n KpmgValidationMessageColumnCode2[\"AL\"] = \"AL\";\n KpmgValidationMessageColumnCode2[\"AM\"] = \"AM\";\n KpmgValidationMessageColumnCode2[\"AN\"] = \"AN\";\n KpmgValidationMessageColumnCode2[\"AO\"] = \"AO\";\n KpmgValidationMessageColumnCode2[\"AP\"] = \"AP\";\n KpmgValidationMessageColumnCode2[\"AQ\"] = \"AQ\";\n KpmgValidationMessageColumnCode2[\"AR\"] = \"AR\";\n KpmgValidationMessageColumnCode2[\"AS\"] = \"AS\";\n KpmgValidationMessageColumnCode2[\"AT\"] = \"AT\";\n KpmgValidationMessageColumnCode2[\"AU\"] = \"AU\";\n KpmgValidationMessageColumnCode2[\"AV\"] = \"AV\";\n KpmgValidationMessageColumnCode2[\"AW\"] = \"AW\";\n KpmgValidationMessageColumnCode2[\"AX\"] = \"AX\";\n KpmgValidationMessageColumnCode2[\"AY\"] = \"AY\";\n KpmgValidationMessageColumnCode2[\"AZ\"] = \"AZ\";\n KpmgValidationMessageColumnCode2[\"BA\"] = \"BA\";\n KpmgValidationMessageColumnCode2[\"BB\"] = \"BB\";\n KpmgValidationMessageColumnCode2[\"BC\"] = \"BC\";\n KpmgValidationMessageColumnCode2[\"BD\"] = \"BD\";\n KpmgValidationMessageColumnCode2[\"BE\"] = \"BE\";\n KpmgValidationMessageColumnCode2[\"BF\"] = \"BF\";\n KpmgValidationMessageColumnCode2[\"BG\"] = \"BG\";\n KpmgValidationMessageColumnCode2[\"BH\"] = \"BH\";\n KpmgValidationMessageColumnCode2[\"BI\"] = \"BI\";\n KpmgValidationMessageColumnCode2[\"BJ\"] = \"BJ\";\n KpmgValidationMessageColumnCode2[\"BK\"] = \"BK\";\n KpmgValidationMessageColumnCode2[\"BL\"] = \"BL\";\n return KpmgValidationMessageColumnCode2;\n})(KpmgValidationMessageColumnCode || {});\nexport var KpmgValidationMessageColumnName = /* @__PURE__ */ ((KpmgValidationMessageColumnName2) => {\n KpmgValidationMessageColumnName2[\"TransactionType\"] = \"TransactionType\";\n KpmgValidationMessageColumnName2[\"TypeOfSale\"] = \"TypeOfSale\";\n KpmgValidationMessageColumnName2[\"TypeOfPartner\"] = \"TypeOfPartner\";\n KpmgValidationMessageColumnName2[\"VatNumber\"] = \"VatNumber\";\n KpmgValidationMessageColumnName2[\"TransactionDate\"] = \"TransactionDate\";\n KpmgValidationMessageColumnName2[\"InvoiceNumber\"] = \"InvoiceNumber\";\n KpmgValidationMessageColumnName2[\"ShippingFrom\"] = \"ShippingFrom\";\n KpmgValidationMessageColumnName2[\"CountryOfCustomer\"] = \"CountryOfCustomer\";\n KpmgValidationMessageColumnName2[\"Currency\"] = \"Currency\";\n KpmgValidationMessageColumnName2[\"GrossAmount\"] = \"GrossAmount\";\n KpmgValidationMessageColumnName2[\"VatReportingCountry\"] = \"VatReportingCountry\";\n KpmgValidationMessageColumnName2[\"VatRate\"] = \"VatRate\";\n KpmgValidationMessageColumnName2[\"TaxableBasis\"] = \"TaxableBasis\";\n KpmgValidationMessageColumnName2[\"VatAmount\"] = \"VatAmount\";\n KpmgValidationMessageColumnName2[\"InvoiceDate\"] = \"InvoiceDate\";\n KpmgValidationMessageColumnName2[\"TransactionIdentifier\"] = \"TransactionIdentifier\";\n KpmgValidationMessageColumnName2[\"DateOfSupply\"] = \"DateOfSupply\";\n KpmgValidationMessageColumnName2[\"PaymentDate\"] = \"PaymentDate\";\n KpmgValidationMessageColumnName2[\"Consignment\"] = \"Consignment\";\n KpmgValidationMessageColumnName2[\"OnlineMarketplace\"] = \"OnlineMarketplace\";\n KpmgValidationMessageColumnName2[\"PostponedAccounting\"] = \"PostponedAccounting\";\n KpmgValidationMessageColumnName2[\"TaxCollectionResponsibility\"] = \"TaxCollectionResponsibility\";\n KpmgValidationMessageColumnName2[\"CountryOfOrigin\"] = \"CountryOfOrigin\";\n KpmgValidationMessageColumnName2[\"Weight\"] = \"Weight\";\n KpmgValidationMessageColumnName2[\"Unit\"] = \"Unit\";\n KpmgValidationMessageColumnName2[\"Quantity\"] = \"Quantity\";\n KpmgValidationMessageColumnName2[\"DepartureZipCode\"] = \"DepartureZipCode\";\n KpmgValidationMessageColumnName2[\"DeliveryConditions\"] = \"DeliveryConditions\";\n KpmgValidationMessageColumnName2[\"NatureOfTransaction\"] = \"NatureOfTransaction\";\n KpmgValidationMessageColumnName2[\"CommodityCode\"] = \"CommodityCode\";\n KpmgValidationMessageColumnName2[\"ModeOfTransport\"] = \"ModeOfTransport\";\n KpmgValidationMessageColumnName2[\"ArrivalZipCode\"] = \"ArrivalZipCode\";\n KpmgValidationMessageColumnName2[\"Sale_MPP\"] = \"Sale_MPP\";\n KpmgValidationMessageColumnName2[\"SW\"] = \"SW\";\n KpmgValidationMessageColumnName2[\"EE\"] = \"EE\";\n KpmgValidationMessageColumnName2[\"TP\"] = \"TP\";\n KpmgValidationMessageColumnName2[\"TT_WNT\"] = \"TT_WNT\";\n KpmgValidationMessageColumnName2[\"TT_D\"] = \"TT_D\";\n KpmgValidationMessageColumnName2[\"MR_T\"] = \"MR_T\";\n KpmgValidationMessageColumnName2[\"MR_UZ\"] = \"MR_UZ\";\n KpmgValidationMessageColumnName2[\"I_42\"] = \"I_42\";\n KpmgValidationMessageColumnName2[\"I_63\"] = \"I_63\";\n KpmgValidationMessageColumnName2[\"B_SPV\"] = \"B_SPV\";\n KpmgValidationMessageColumnName2[\"B_SPV_DOSTWA\"] = \"B_SPV_DOSTWA\";\n KpmgValidationMessageColumnName2[\"B_MPV_PROWIZJA\"] = \"B_MPV_PROWIZJA\";\n KpmgValidationMessageColumnName2[\"RO\"] = \"RO\";\n KpmgValidationMessageColumnName2[\"Sale_WEW\"] = \"Sale_WEW\";\n KpmgValidationMessageColumnName2[\"FP\"] = \"FP\";\n KpmgValidationMessageColumnName2[\"IMP\"] = \"IMP\";\n KpmgValidationMessageColumnName2[\"Purchase_MPP\"] = \"Purchase_MPP\";\n KpmgValidationMessageColumnName2[\"MK\"] = \"MK\";\n KpmgValidationMessageColumnName2[\"VAT_RR\"] = \"VAT_RR\";\n KpmgValidationMessageColumnName2[\"Purchase_WEW\"] = \"Purchase_WEW\";\n KpmgValidationMessageColumnName2[\"GTU_01\"] = \"GTU_01\";\n KpmgValidationMessageColumnName2[\"GTU_02\"] = \"GTU_02\";\n KpmgValidationMessageColumnName2[\"GTU_03\"] = \"GTU_03\";\n KpmgValidationMessageColumnName2[\"GTU_04\"] = \"GTU_04\";\n KpmgValidationMessageColumnName2[\"GTU_05\"] = \"GTU_05\";\n KpmgValidationMessageColumnName2[\"GTU_06\"] = \"GTU_06\";\n KpmgValidationMessageColumnName2[\"GTU_07\"] = \"GTU_07\";\n KpmgValidationMessageColumnName2[\"GTU_08\"] = \"GTU_08\";\n KpmgValidationMessageColumnName2[\"GTU_09\"] = \"GTU_09\";\n KpmgValidationMessageColumnName2[\"GTU_10\"] = \"GTU_10\";\n KpmgValidationMessageColumnName2[\"GTU_11\"] = \"GTU_11\";\n KpmgValidationMessageColumnName2[\"GTU_12\"] = \"GTU_12\";\n KpmgValidationMessageColumnName2[\"GTU_13\"] = \"GTU_13\";\n KpmgValidationMessageColumnName2[\"PartnerName\"] = \"PartnerName\";\n return KpmgValidationMessageColumnName2;\n})(KpmgValidationMessageColumnName || {});\nexport var KpmgValidationMessageValidationCode = /* @__PURE__ */ ((KpmgValidationMessageValidationCode2) => {\n KpmgValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n KpmgValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n KpmgValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n KpmgValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n KpmgValidationMessageValidationCode2[\"Required\"] = \"Required\";\n KpmgValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n KpmgValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n KpmgValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n KpmgValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n KpmgValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n KpmgValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n KpmgValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n KpmgValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n KpmgValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return KpmgValidationMessageValidationCode2;\n})(KpmgValidationMessageValidationCode || {});\n","import { KpmgValidationMessage } from \"./KpmgValidationMessage\";\nexport class KpmgUploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof KpmgUploadResult\n */\n this.$type = \"V1.ComplianceUploads.KpmgUploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new KpmgValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class AmazonValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.AmazonValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnName = AmazonValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = AmazonValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnName\"] = AmazonValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = AmazonValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var AmazonValidationMessageColumnName = /* @__PURE__ */ ((AmazonValidationMessageColumnName2) => {\n AmazonValidationMessageColumnName2[\"UNIQUE_ACCOUNT_IDENTIFIER\"] = \"UNIQUE_ACCOUNT_IDENTIFIER\";\n AmazonValidationMessageColumnName2[\"ACTIVITY_PERIOD\"] = \"ACTIVITY_PERIOD\";\n AmazonValidationMessageColumnName2[\"SALES_CHANNEL\"] = \"SALES_CHANNEL\";\n AmazonValidationMessageColumnName2[\"MARKETPLACE\"] = \"MARKETPLACE\";\n AmazonValidationMessageColumnName2[\"PROGRAM_TYPE\"] = \"PROGRAM_TYPE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_TYPE\"] = \"TRANSACTION_TYPE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_EVENT_ID\"] = \"TRANSACTION_EVENT_ID\";\n AmazonValidationMessageColumnName2[\"ACTIVITY_TRANSACTION_ID\"] = \"ACTIVITY_TRANSACTION_ID\";\n AmazonValidationMessageColumnName2[\"TAX_CALCULATION_DATE\"] = \"TAX_CALCULATION_DATE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_DEPART_DATE\"] = \"TRANSACTION_DEPART_DATE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_ARRIVAL_DATE\"] = \"TRANSACTION_ARRIVAL_DATE\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_COMPLETE_DATE\"] = \"TRANSACTION_COMPLETE_DATE\";\n AmazonValidationMessageColumnName2[\"SELLER_SKU\"] = \"SELLER_SKU\";\n AmazonValidationMessageColumnName2[\"ASIN\"] = \"ASIN\";\n AmazonValidationMessageColumnName2[\"ITEM_DESCRIPTION\"] = \"ITEM_DESCRIPTION\";\n AmazonValidationMessageColumnName2[\"ITEM_MANUFACTURE_COUNTRY\"] = \"ITEM_MANUFACTURE_COUNTRY\";\n AmazonValidationMessageColumnName2[\"QTY\"] = \"QTY\";\n AmazonValidationMessageColumnName2[\"ITEM_WEIGHT\"] = \"ITEM_WEIGHT\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_WEIGHT\"] = \"TOTAL_ACTIVITY_WEIGHT\";\n AmazonValidationMessageColumnName2[\"COST_PRICE_OF_ITEMS\"] = \"COST_PRICE_OF_ITEMS\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_AMT_VAT_EXCL\"] = \"PRICE_OF_ITEMS_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PROMO_PRICE_OF_ITEMS_AMT_VAT_EXCL\"] = \"PROMO_PRICE_OF_ITEMS_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_PRICE_OF_ITEMS_AMT_VAT_EXCL\"] = \"TOTAL_PRICE_OF_ITEMS_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_AMT_VAT_EXCL\"] = \"SHIP_CHARGE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PROMO_SHIP_CHARGE_AMT_VAT_EXCL\"] = \"PROMO_SHIP_CHARGE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_SHIP_CHARGE_AMT_VAT_EXCL\"] = \"TOTAL_SHIP_CHARGE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_AMT_VAT_EXCL\"] = \"GIFT_WRAP_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PROMO_GIFT_WRAP_AMT_VAT_EXCL\"] = \"PROMO_GIFT_WRAP_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_GIFT_WRAP_AMT_VAT_EXCL\"] = \"TOTAL_GIFT_WRAP_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_VALUE_AMT_VAT_EXCL\"] = \"TOTAL_ACTIVITY_VALUE_AMT_VAT_EXCL\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_VAT_RATE_PERCENT\"] = \"PRICE_OF_ITEMS_VAT_RATE_PERCENT\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_VAT_AMT\"] = \"PRICE_OF_ITEMS_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PROMO_PRICE_OF_ITEMS_VAT_AMT\"] = \"PROMO_PRICE_OF_ITEMS_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_PRICE_OF_ITEMS_VAT_AMT\"] = \"TOTAL_PRICE_OF_ITEMS_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_VAT_RATE_PERCENT\"] = \"SHIP_CHARGE_VAT_RATE_PERCENT\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_VAT_AMT\"] = \"SHIP_CHARGE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PROMO_SHIP_CHARGE_VAT_AMT\"] = \"PROMO_SHIP_CHARGE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_SHIP_CHARGE_VAT_AMT\"] = \"TOTAL_SHIP_CHARGE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_VAT_RATE_PERCENT\"] = \"GIFT_WRAP_VAT_RATE_PERCENT\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_VAT_AMT\"] = \"GIFT_WRAP_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PROMO_GIFT_WRAP_VAT_AMT\"] = \"PROMO_GIFT_WRAP_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_GIFT_WRAP_VAT_AMT\"] = \"TOTAL_GIFT_WRAP_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_VALUE_VAT_AMT\"] = \"TOTAL_ACTIVITY_VALUE_VAT_AMT\";\n AmazonValidationMessageColumnName2[\"PRICE_OF_ITEMS_AMT_VAT_INCL\"] = \"PRICE_OF_ITEMS_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"PROMO_PRICE_OF_ITEMS_AMT_VAT_INCL\"] = \"PROMO_PRICE_OF_ITEMS_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_PRICE_OF_ITEMS_AMT_VAT_INCL\"] = \"TOTAL_PRICE_OF_ITEMS_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"SHIP_CHARGE_AMT_VAT_INCL\"] = \"SHIP_CHARGE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"PROMO_SHIP_CHARGE_AMT_VAT_INCL\"] = \"PROMO_SHIP_CHARGE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_SHIP_CHARGE_AMT_VAT_INCL\"] = \"TOTAL_SHIP_CHARGE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"GIFT_WRAP_AMT_VAT_INCL\"] = \"GIFT_WRAP_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"PROMO_GIFT_WRAP_AMT_VAT_INCL\"] = \"PROMO_GIFT_WRAP_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_GIFT_WRAP_AMT_VAT_INCL\"] = \"TOTAL_GIFT_WRAP_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_VALUE_AMT_VAT_INCL\"] = \"TOTAL_ACTIVITY_VALUE_AMT_VAT_INCL\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_CURRENCY_CODE\"] = \"TRANSACTION_CURRENCY_CODE\";\n AmazonValidationMessageColumnName2[\"COMMODITY_CODE\"] = \"COMMODITY_CODE\";\n AmazonValidationMessageColumnName2[\"STATISTICAL_CODE_DEPART\"] = \"STATISTICAL_CODE_DEPART\";\n AmazonValidationMessageColumnName2[\"STATISTICAL_CODE_ARRIVAL\"] = \"STATISTICAL_CODE_ARRIVAL\";\n AmazonValidationMessageColumnName2[\"COMMODITY_CODE_SUPPLEMENTARY_UNIT\"] = \"COMMODITY_CODE_SUPPLEMENTARY_UNIT\";\n AmazonValidationMessageColumnName2[\"ITEM_QTY_SUPPLEMENTARY_UNIT\"] = \"ITEM_QTY_SUPPLEMENTARY_UNIT\";\n AmazonValidationMessageColumnName2[\"TOTAL_ACTIVITY_SUPPLEMENTARY_UNIT\"] = \"TOTAL_ACTIVITY_SUPPLEMENTARY_UNIT\";\n AmazonValidationMessageColumnName2[\"PRODUCT_TAX_CODE\"] = \"PRODUCT_TAX_CODE\";\n AmazonValidationMessageColumnName2[\"DEPATURE_CITY\"] = \"DEPATURE_CITY\";\n AmazonValidationMessageColumnName2[\"DEPARTURE_COUNTRY\"] = \"DEPARTURE_COUNTRY\";\n AmazonValidationMessageColumnName2[\"DEPARTURE_POST_CODE\"] = \"DEPARTURE_POST_CODE\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_CITY\"] = \"ARRIVAL_CITY\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_COUNTRY\"] = \"ARRIVAL_COUNTRY\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_POST_CODE\"] = \"ARRIVAL_POST_CODE\";\n AmazonValidationMessageColumnName2[\"SALE_DEPART_COUNTRY\"] = \"SALE_DEPART_COUNTRY\";\n AmazonValidationMessageColumnName2[\"SALE_ARRIVAL_COUNTRY\"] = \"SALE_ARRIVAL_COUNTRY\";\n AmazonValidationMessageColumnName2[\"TRANSPORTATION_MODE\"] = \"TRANSPORTATION_MODE\";\n AmazonValidationMessageColumnName2[\"DELIVERY_CONDITIONS\"] = \"DELIVERY_CONDITIONS\";\n AmazonValidationMessageColumnName2[\"SELLER_DEPART_VAT_NUMBER_COUNTRY\"] = \"SELLER_DEPART_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"SELLER_DEPART_COUNTRY_VAT_NUMBER\"] = \"SELLER_DEPART_COUNTRY_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"SELLER_ARRIVAL_VAT_NUMBER_COUNTRY\"] = \"SELLER_ARRIVAL_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"SELLER_ARRIVAL_COUNTRY_VAT_NUMBER\"] = \"SELLER_ARRIVAL_COUNTRY_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_SELLER_VAT_NUMBER_COUNTRY\"] = \"TRANSACTION_SELLER_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"TRANSACTION_SELLER_VAT_NUMBER\"] = \"TRANSACTION_SELLER_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"BUYER_VAT_NUMBER_COUNTRY\"] = \"BUYER_VAT_NUMBER_COUNTRY\";\n AmazonValidationMessageColumnName2[\"BUYER_VAT_NUMBER\"] = \"BUYER_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"VAT_CALCULATION_IMPUTATION_COUNTRY\"] = \"VAT_CALCULATION_IMPUTATION_COUNTRY\";\n AmazonValidationMessageColumnName2[\"TAXABLE_JURISDICTION\"] = \"TAXABLE_JURISDICTION\";\n AmazonValidationMessageColumnName2[\"TAXABLE_JURISDICTION_LEVEL\"] = \"TAXABLE_JURISDICTION_LEVEL\";\n AmazonValidationMessageColumnName2[\"VAT_INV_NUMBER\"] = \"VAT_INV_NUMBER\";\n AmazonValidationMessageColumnName2[\"VAT_INV_CONVERTED_AMT\"] = \"VAT_INV_CONVERTED_AMT\";\n AmazonValidationMessageColumnName2[\"VAT_INV_CURRENCY_CODE\"] = \"VAT_INV_CURRENCY_CODE\";\n AmazonValidationMessageColumnName2[\"VAT_INV_EXCHANGE_RATE\"] = \"VAT_INV_EXCHANGE_RATE\";\n AmazonValidationMessageColumnName2[\"VAT_INV_EXCHANGE_RATE_DATE\"] = \"VAT_INV_EXCHANGE_RATE_DATE\";\n AmazonValidationMessageColumnName2[\"EXPORT_OUTSIDE_EU\"] = \"EXPORT_OUTSIDE_EU\";\n AmazonValidationMessageColumnName2[\"INVOICE_URL\"] = \"INVOICE_URL\";\n AmazonValidationMessageColumnName2[\"BUYER_NAME\"] = \"BUYER_NAME\";\n AmazonValidationMessageColumnName2[\"ARRIVAL_ADDRESS\"] = \"ARRIVAL_ADDRESS\";\n AmazonValidationMessageColumnName2[\"SUPPLIER_NAME\"] = \"SUPPLIER_NAME\";\n AmazonValidationMessageColumnName2[\"SUPPLIER_VAT_NUMBER\"] = \"SUPPLIER_VAT_NUMBER\";\n AmazonValidationMessageColumnName2[\"TAX_REPORTING_SCHEME\"] = \"TAX_REPORTING_SCHEME\";\n AmazonValidationMessageColumnName2[\"TAX_COLLECTION_RESPONSIBILITY\"] = \"TAX_COLLECTION_RESPONSIBILITY\";\n return AmazonValidationMessageColumnName2;\n})(AmazonValidationMessageColumnName || {});\nexport var AmazonValidationMessageValidationCode = /* @__PURE__ */ ((AmazonValidationMessageValidationCode2) => {\n AmazonValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n AmazonValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n AmazonValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n AmazonValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n AmazonValidationMessageValidationCode2[\"Required\"] = \"Required\";\n AmazonValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n AmazonValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n AmazonValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n AmazonValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n AmazonValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n AmazonValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n AmazonValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n AmazonValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n AmazonValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return AmazonValidationMessageValidationCode2;\n})(AmazonValidationMessageValidationCode || {});\n","import { AmazonValidationMessage } from \"./AmazonValidationMessage\";\nexport class AmazonUploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonUploadResult\n */\n this.$type = \"V1.ComplianceUploads.AmazonUploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new AmazonValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class AmazonSaftValidationMessage {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonSaftValidationMessage\n */\n this.$type = \"V1.ComplianceUploads.AmazonSaftValidationMessage\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ColumnName = AmazonSaftValidationMessageColumnName[_data[\"ColumnName\"]];\n this.IsWarning = _data[\"IsWarning\"];\n if (_data[\"Parameters\"] && _data[\"Parameters\"].constructor === Array) {\n this.Parameters = [];\n for (let item of _data[\"Parameters\"]) {\n this.Parameters.push(item);\n }\n }\n this.RowNumber = _data[\"RowNumber\"];\n this.TotalCount = _data[\"TotalCount\"];\n this.ValidationCode = AmazonSaftValidationMessageValidationCode[_data[\"ValidationCode\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ColumnName\"] = AmazonSaftValidationMessageColumnName[this.ColumnName];\n _data[\"IsWarning\"] = this.IsWarning;\n if (this.Parameters && this.Parameters.constructor === Array) {\n _data[\"Parameters\"] = [];\n for (let item of this.Parameters) {\n _data[\"Parameters\"].push(item);\n }\n }\n _data[\"RowNumber\"] = this.RowNumber;\n _data[\"TotalCount\"] = this.TotalCount;\n _data[\"ValidationCode\"] = AmazonSaftValidationMessageValidationCode[this.ValidationCode];\n return _data;\n }\n}\nexport var AmazonSaftValidationMessageColumnName = /* @__PURE__ */ ((AmazonSaftValidationMessageColumnName2) => {\n AmazonSaftValidationMessageColumnName2[\"ID\"] = \"ID\";\n AmazonSaftValidationMessageColumnName2[\"TRANSACTION_EVENT_ID\"] = \"TRANSACTION_EVENT_ID\";\n AmazonSaftValidationMessageColumnName2[\"TRANSACTION_COMPLETE_DATE\"] = \"TRANSACTION_COMPLETE_DATE\";\n AmazonSaftValidationMessageColumnName2[\"SELLER_SKU\"] = \"SELLER_SKU\";\n AmazonSaftValidationMessageColumnName2[\"TRANSACTION_TYPE\"] = \"TRANSACTION_TYPE\";\n AmazonSaftValidationMessageColumnName2[\"Sale_MPP\"] = \"Sale_MPP\";\n AmazonSaftValidationMessageColumnName2[\"SW\"] = \"SW\";\n AmazonSaftValidationMessageColumnName2[\"EE\"] = \"EE\";\n AmazonSaftValidationMessageColumnName2[\"TP\"] = \"TP\";\n AmazonSaftValidationMessageColumnName2[\"TT_WNT\"] = \"TT_WNT\";\n AmazonSaftValidationMessageColumnName2[\"TT_D\"] = \"TT_D\";\n AmazonSaftValidationMessageColumnName2[\"MR_T\"] = \"MR_T\";\n AmazonSaftValidationMessageColumnName2[\"MR_UZ\"] = \"MR_UZ\";\n AmazonSaftValidationMessageColumnName2[\"I_42\"] = \"I_42\";\n AmazonSaftValidationMessageColumnName2[\"I_63\"] = \"I_63\";\n AmazonSaftValidationMessageColumnName2[\"B_SPV\"] = \"B_SPV\";\n AmazonSaftValidationMessageColumnName2[\"B_SPV_DOSTWA\"] = \"B_SPV_DOSTWA\";\n AmazonSaftValidationMessageColumnName2[\"B_MPV_PROWIZJA\"] = \"B_MPV_PROWIZJA\";\n AmazonSaftValidationMessageColumnName2[\"RO\"] = \"RO\";\n AmazonSaftValidationMessageColumnName2[\"Sale_WEW\"] = \"Sale_WEW\";\n AmazonSaftValidationMessageColumnName2[\"FP\"] = \"FP\";\n AmazonSaftValidationMessageColumnName2[\"IMP\"] = \"IMP\";\n AmazonSaftValidationMessageColumnName2[\"Purchase_MPP\"] = \"Purchase_MPP\";\n AmazonSaftValidationMessageColumnName2[\"MK\"] = \"MK\";\n AmazonSaftValidationMessageColumnName2[\"VAT_RR\"] = \"VAT_RR\";\n AmazonSaftValidationMessageColumnName2[\"Purchase_WEW\"] = \"Purchase_WEW\";\n return AmazonSaftValidationMessageColumnName2;\n})(AmazonSaftValidationMessageColumnName || {});\nexport var AmazonSaftValidationMessageValidationCode = /* @__PURE__ */ ((AmazonSaftValidationMessageValidationCode2) => {\n AmazonSaftValidationMessageValidationCode2[\"WrongTemplateColumns\"] = \"WrongTemplateColumns\";\n AmazonSaftValidationMessageValidationCode2[\"WrongHeader\"] = \"WrongHeader\";\n AmazonSaftValidationMessageValidationCode2[\"TaxableBasisReportingExceededTheLimit\"] = \"TaxableBasisReportingExceededTheLimit\";\n AmazonSaftValidationMessageValidationCode2[\"OutOfPeriodTransactions\"] = \"OutOfPeriodTransactions\";\n AmazonSaftValidationMessageValidationCode2[\"Required\"] = \"Required\";\n AmazonSaftValidationMessageValidationCode2[\"RequiredOrWrongFormat\"] = \"RequiredOrWrongFormat\";\n AmazonSaftValidationMessageValidationCode2[\"RequiredReportingFields\"] = \"RequiredReportingFields\";\n AmazonSaftValidationMessageValidationCode2[\"WrongExchangeRate\"] = \"WrongExchangeRate\";\n AmazonSaftValidationMessageValidationCode2[\"InvalidData\"] = \"InvalidData\";\n AmazonSaftValidationMessageValidationCode2[\"InvalidDecimal\"] = \"InvalidDecimal\";\n AmazonSaftValidationMessageValidationCode2[\"ConstraintNotFulfilled\"] = \"ConstraintNotFulfilled\";\n AmazonSaftValidationMessageValidationCode2[\"TransactionIsInTheFuture\"] = \"TransactionIsInTheFuture\";\n AmazonSaftValidationMessageValidationCode2[\"TransactionIsBeforeService\"] = \"TransactionIsBeforeService\";\n AmazonSaftValidationMessageValidationCode2[\"UnsupportedCurrency\"] = \"UnsupportedCurrency\";\n return AmazonSaftValidationMessageValidationCode2;\n})(AmazonSaftValidationMessageValidationCode || {});\n","import { AmazonSaftValidationMessage } from \"./AmazonSaftValidationMessage\";\nexport class AmazonSaftUploadResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof AmazonSaftUploadResult\n */\n this.$type = \"V1.ComplianceUploads.AmazonSaftUploadResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.IsSuccess = _data[\"IsSuccess\"];\n this.NumberOfTotalLinesWithError = _data[\"NumberOfTotalLinesWithError\"];\n if (_data[\"ValidationMessages\"] && _data[\"ValidationMessages\"].constructor === Array) {\n this.ValidationMessages = [];\n for (let item of _data[\"ValidationMessages\"]) {\n const validationMessages_ = new AmazonSaftValidationMessage();\n this.ValidationMessages.push(validationMessages_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"IsSuccess\"] = this.IsSuccess;\n _data[\"NumberOfTotalLinesWithError\"] = this.NumberOfTotalLinesWithError;\n if (this.ValidationMessages && this.ValidationMessages.constructor === Array) {\n _data[\"ValidationMessages\"] = [];\n for (let item of this.ValidationMessages) {\n _data[\"ValidationMessages\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class StatusResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof StatusResult\n */\n this.$type = \"V1.ComplianceUploads.StatusResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ComplianceUploadStatus = StatusResultComplianceUploadStatus[_data[\"ComplianceUploadStatus\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ComplianceUploadStatus\"] = StatusResultComplianceUploadStatus[this.ComplianceUploadStatus];\n return _data;\n }\n}\nexport var StatusResultComplianceUploadStatus = /* @__PURE__ */ ((StatusResultComplianceUploadStatus2) => {\n StatusResultComplianceUploadStatus2[\"New\"] = \"New\";\n StatusResultComplianceUploadStatus2[\"WaitingForFinalize\"] = \"WaitingForFinalize\";\n StatusResultComplianceUploadStatus2[\"InvalidData\"] = \"InvalidData\";\n StatusResultComplianceUploadStatus2[\"SaftCompliance\"] = \"SaftCompliance\";\n StatusResultComplianceUploadStatus2[\"MasterDataSetup\"] = \"MasterDataSetup\";\n StatusResultComplianceUploadStatus2[\"DataUploadFinalized\"] = \"DataUploadFinalized\";\n StatusResultComplianceUploadStatus2[\"DataVatGenerated\"] = \"DataVatGenerated\";\n StatusResultComplianceUploadStatus2[\"SentToReturnGeneration\"] = \"SentToReturnGeneration\";\n StatusResultComplianceUploadStatus2[\"InsufficientCredit\"] = \"InsufficientCredit\";\n StatusResultComplianceUploadStatus2[\"UploadProcessed\"] = \"UploadProcessed\";\n StatusResultComplianceUploadStatus2[\"Error\"] = \"Error\";\n return StatusResultComplianceUploadStatus2;\n})(StatusResultComplianceUploadStatus || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/ComplianceUploads/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { UploadResult } from \"./../models/V1/ComplianceUploads/UploadResult\";\nimport { KpmgUploadResult } from \"./../models/V1/ComplianceUploads/KpmgUploadResult\";\nimport { AmazonUploadResult } from \"./../models/V1/ComplianceUploads/AmazonUploadResult\";\nimport { AmazonSaftUploadResult } from \"./../models/V1/ComplianceUploads/AmazonSaftUploadResult\";\nimport { StatusResult } from \"./../models/V1/ComplianceUploads/StatusResult\";\nimport { ComplianceUpload } from \"./../models/V1/ComplianceUploads/ComplianceUpload\";\nexport class ComplianceUploads {\n /**\n * Creates an instance of ComplianceUploads.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof ComplianceUploads\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchComplianceUploadsRq_ _searchComplianceUploadsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n searchComplianceUploads(pSearchComplianceUploadsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchComplianceUploadsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportComplianceUploadsRq_ _exportComplianceUploadsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n exportComplianceUploads(pExportComplianceUploadsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/Export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv, application/json\",\n options\n );\n client.addBody({ value: pExportComplianceUploadsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadIossTransactionsRq_ _uploadIossTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadIossTransactions(pUploadIossTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/IOSS\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"ignoreWarnings\", value: pUploadIossTransactionsRq.ignoreWarnings, required: true }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadIossTransactionsRq.complianceUploadId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadIossTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: UploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadVatKpmgTransactionsRq_ _uploadVatKpmgTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadVatKpmgTransactions(pUploadVatKpmgTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/VAT\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"ignoreWarnings\", value: pUploadVatKpmgTransactionsRq.ignoreWarnings, required: true }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadVatKpmgTransactionsRq.complianceUploadId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadVatKpmgTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: KpmgUploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveUploadedVatKpmgTransactionsRq_ _removeUploadedVatKpmgTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n removeUploadedVatKpmgTransactions(pRemoveUploadedVatKpmgTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/VAT\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pRemoveUploadedVatKpmgTransactionsRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadAmazonTransactionsRq_ _uploadAmazonTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadAmazonTransactions(pUploadAmazonTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/Amazon/{sellerEntityId}\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"ignoreWarnings\", value: pUploadAmazonTransactionsRq.ignoreWarnings, required: true }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadAmazonTransactionsRq.complianceUploadId, required: true },\n { name: \"sellerEntityId\", value: pUploadAmazonTransactionsRq.sellerEntityId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadAmazonTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: AmazonUploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveUploadedAmazonTransactionsRq_ _removeUploadedAmazonTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n removeUploadedAmazonTransactions(pRemoveUploadedAmazonTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/Amazon\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pRemoveUploadedAmazonTransactionsRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSaftTransactionsRq_ _uploadSaftTransactionsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n uploadSaftTransactions(pUploadSaftTransactionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Transactions/SAFT\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pUploadSaftTransactionsRq.complianceUploadId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSaftTransactionsRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: AmazonSaftUploadResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GenerateSaftTemplateRq_ _generateSaftTemplateRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n generateSaftTemplate(pGenerateSaftTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/GenerateSaftTemplate\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/plain, application/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pGenerateSaftTemplateRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadFileRq_ _downloadFileRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n downloadFile(pDownloadFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Files/{reference}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/plain, application/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pDownloadFileRq.complianceUploadId, required: true },\n { name: \"reference\", value: pDownloadFileRq.reference, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeVatComplianceUploadRq_ _finalizeVatComplianceUploadRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeVatComplianceUpload(pFinalizeVatComplianceUploadRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeVat\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeVatComplianceUploadRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: StatusResult },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeSAFTRq_ _finalizeSAFTRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeSAFT(pFinalizeSAFTRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeSAFT\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"confirmNoSaft\", value: pFinalizeSAFTRq.confirmNoSaft }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeSAFTRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: StatusResult },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeMasterDataRq_ _finalizeMasterDataRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeMasterData(pFinalizeMasterDataRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeMasterData\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"acknowledgeIncompleteSkus\", value: pFinalizeMasterDataRq.acknowledgeIncompleteSkus }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeMasterDataRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: StatusResult },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FinalizeIossComplianceUploadRq_ _finalizeIossComplianceUploadRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n finalizeIossComplianceUpload(pFinalizeIossComplianceUploadRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/FinalizeIoss\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pFinalizeIossComplianceUploadRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeStatusRq_ _changeStatusRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n changeStatus(pChangeStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Status\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pChangeStatusRq.complianceUploadId, required: true }\n ]);\n client.addBody({ value: pChangeStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GenerateTextFileRq_ _generateTextFileRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n generateTextFile(pGenerateTextFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Text\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/tab-separated-values, text/plain, application/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pGenerateTextFileRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeIgnoreOverdueRq_ _changeIgnoreOverdueRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n changeIgnoreOverdue(pChangeIgnoreOverdueRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/IgnoreOverdue\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addQueryParams([\n { name: \"newValue\", value: pChangeIgnoreOverdueRq.newValue }\n ]);\n client.addPathParams([\n { name: \"complianceUploadId\", value: pChangeIgnoreOverdueRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CheckBalanceRq_ _checkBalanceRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n checkBalance(pCheckBalanceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/CheckBalance\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pCheckBalanceRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetComplianceRq_ _getComplianceRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n getCompliance(pGetComplianceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pGetComplianceRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: ComplianceUpload },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CancelComplianceUploadRq_ _cancelComplianceUploadRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n cancelComplianceUpload(pCancelComplianceUploadRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{complianceUploadId}/Cancel\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"complianceUploadId\", value: pCancelComplianceUploadRq.complianceUploadId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GeneratePeriodsRq_ _generatePeriodsRq\n * @returns Promise\n * @memberof ComplianceUploads\n */\n generatePeriods(pGeneratePeriodsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/ComplianceUploads/{companyId}/generate\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGeneratePeriodsRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nexport class DataUpload {\n /**\n * Creates an instance of DataUpload.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof DataUpload\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param UpdateWebRegistrationRequestRq_ _updateWebRegistrationRequestRq\n * @returns Promise\n * @memberof DataUpload\n */\n updateWebRegistrationRequest(pUpdateWebRegistrationRequestRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/DataUpload/UpdateWebRegistrationRequest\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"application/json; charset=UTF-8\",\n options\n );\n client.addBody({ value: pUpdateWebRegistrationRequestRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class DocumentGenerator {\n /**\n * Creates an instance of DocumentGenerator.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof DocumentGenerator\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GeneratePreviewRq_ _generatePreviewRq\n * @returns Promise\n * @memberof DocumentGenerator\n */\n generatePreview(pGeneratePreviewRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/DocumentGenerator/preview\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addBody({ value: pGeneratePreviewRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { DateConverter } from \"./../../../../../converters/DateConverter\";\nexport class IossRegistration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof IossRegistration\n */\n this.$type = \"V1.Company.IossRegistration.Search.IossRegistration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientId = _data[\"ClientId\"];\n this.ClientName = _data[\"ClientName\"];\n this.ClientSource = IossRegistrationClientSource[_data[\"ClientSource\"]];\n this.CompanyStatus = IossRegistrationCompanyStatus[_data[\"CompanyStatus\"]];\n this.Id = _data[\"Id\"];\n this.MerchantId = _data[\"MerchantId\"];\n this.ProductId = _data[\"ProductId\"];\n this.RegistrationType = IossRegistrationRegistrationType[_data[\"RegistrationType\"]];\n this.SignupDate = DateConverter.from(_data[\"SignupDate\"]);\n this.Status = IossRegistrationStatus[_data[\"Status\"]];\n this.SubscriptionStatus = IossRegistrationSubscriptionStatus[_data[\"SubscriptionStatus\"]];\n this.SubscriptionValidTo = DateConverter.from(_data[\"SubscriptionValidTo\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientId\"] = this.ClientId;\n _data[\"ClientName\"] = this.ClientName;\n _data[\"ClientSource\"] = IossRegistrationClientSource[this.ClientSource];\n _data[\"CompanyStatus\"] = IossRegistrationCompanyStatus[this.CompanyStatus];\n _data[\"Id\"] = this.Id;\n _data[\"MerchantId\"] = this.MerchantId;\n _data[\"ProductId\"] = this.ProductId;\n _data[\"RegistrationType\"] = IossRegistrationRegistrationType[this.RegistrationType];\n _data[\"SignupDate\"] = DateConverter.toUtcDateString(this.SignupDate);\n _data[\"Status\"] = IossRegistrationStatus[this.Status];\n _data[\"SubscriptionStatus\"] = IossRegistrationSubscriptionStatus[this.SubscriptionStatus];\n _data[\"SubscriptionValidTo\"] = DateConverter.toUtcDateString(this.SubscriptionValidTo);\n return _data;\n }\n}\nexport var IossRegistrationClientSource = /* @__PURE__ */ ((IossRegistrationClientSource2) => {\n IossRegistrationClientSource2[\"Amazon\"] = \"Amazon\";\n IossRegistrationClientSource2[\"KPMG\"] = \"KPMG\";\n IossRegistrationClientSource2[\"FedEx\"] = \"FedEx\";\n IossRegistrationClientSource2[\"LaPoste\"] = \"LaPoste\";\n return IossRegistrationClientSource2;\n})(IossRegistrationClientSource || {});\nexport var IossRegistrationCompanyStatus = /* @__PURE__ */ ((IossRegistrationCompanyStatus2) => {\n IossRegistrationCompanyStatus2[\"Active\"] = \"Active\";\n IossRegistrationCompanyStatus2[\"Rejected\"] = \"Rejected\";\n IossRegistrationCompanyStatus2[\"Inactive\"] = \"Inactive\";\n return IossRegistrationCompanyStatus2;\n})(IossRegistrationCompanyStatus || {});\nexport var IossRegistrationRegistrationType = /* @__PURE__ */ ((IossRegistrationRegistrationType2) => {\n IossRegistrationRegistrationType2[\"NewRegistration\"] = \"NewRegistration\";\n IossRegistrationRegistrationType2[\"TakeOver\"] = \"TakeOver\";\n return IossRegistrationRegistrationType2;\n})(IossRegistrationRegistrationType || {});\nexport var IossRegistrationStatus = /* @__PURE__ */ ((IossRegistrationStatus2) => {\n IossRegistrationStatus2[\"Pending\"] = \"Pending\";\n IossRegistrationStatus2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n IossRegistrationStatus2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n IossRegistrationStatus2[\"SentToTA\"] = \"SentToTA\";\n IossRegistrationStatus2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n IossRegistrationStatus2[\"Failed\"] = \"Failed\";\n IossRegistrationStatus2[\"Declined\"] = \"Declined\";\n IossRegistrationStatus2[\"Deregistered\"] = \"Deregistered\";\n IossRegistrationStatus2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n return IossRegistrationStatus2;\n})(IossRegistrationStatus || {});\nexport var IossRegistrationSubscriptionStatus = /* @__PURE__ */ ((IossRegistrationSubscriptionStatus2) => {\n IossRegistrationSubscriptionStatus2[\"Active\"] = \"Active\";\n IossRegistrationSubscriptionStatus2[\"Cancelled\"] = \"Cancelled\";\n IossRegistrationSubscriptionStatus2[\"Expired\"] = \"Expired\";\n IossRegistrationSubscriptionStatus2[\"Pending\"] = \"Pending\";\n return IossRegistrationSubscriptionStatus2;\n})(IossRegistrationSubscriptionStatus || {});\n","import { IossRegistration } from \"./IossRegistration\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Company.IossRegistration.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"IossRegistrations\"] && _data[\"IossRegistrations\"].constructor === Array) {\n this.IossRegistrations = [];\n for (let item of _data[\"IossRegistrations\"]) {\n const iossRegistrations_ = new IossRegistration();\n this.IossRegistrations.push(iossRegistrations_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.IossRegistrations && this.IossRegistrations.constructor === Array) {\n _data[\"IossRegistrations\"] = [];\n for (let item of this.IossRegistrations) {\n _data[\"IossRegistrations\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class PossibleStatusChange {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PossibleStatusChange\n */\n this.$type = \"V1.Company.IossRegistration.PossibleStatusChange\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.From = PossibleStatusChangeFrom[_data[\"From\"]];\n this.To = PossibleStatusChangeTo[_data[\"To\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"From\"] = PossibleStatusChangeFrom[this.From];\n _data[\"To\"] = PossibleStatusChangeTo[this.To];\n return _data;\n }\n}\nexport var PossibleStatusChangeFrom = /* @__PURE__ */ ((PossibleStatusChangeFrom2) => {\n PossibleStatusChangeFrom2[\"Pending\"] = \"Pending\";\n PossibleStatusChangeFrom2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n PossibleStatusChangeFrom2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n PossibleStatusChangeFrom2[\"SentToTA\"] = \"SentToTA\";\n PossibleStatusChangeFrom2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n PossibleStatusChangeFrom2[\"Failed\"] = \"Failed\";\n PossibleStatusChangeFrom2[\"Declined\"] = \"Declined\";\n PossibleStatusChangeFrom2[\"Deregistered\"] = \"Deregistered\";\n PossibleStatusChangeFrom2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n return PossibleStatusChangeFrom2;\n})(PossibleStatusChangeFrom || {});\nexport var PossibleStatusChangeTo = /* @__PURE__ */ ((PossibleStatusChangeTo2) => {\n PossibleStatusChangeTo2[\"Pending\"] = \"Pending\";\n PossibleStatusChangeTo2[\"WaitingForSignature\"] = \"WaitingForSignature\";\n PossibleStatusChangeTo2[\"DocumentsSigned\"] = \"DocumentsSigned\";\n PossibleStatusChangeTo2[\"SentToTA\"] = \"SentToTA\";\n PossibleStatusChangeTo2[\"RegistrationCompleted\"] = \"RegistrationCompleted\";\n PossibleStatusChangeTo2[\"Failed\"] = \"Failed\";\n PossibleStatusChangeTo2[\"Declined\"] = \"Declined\";\n PossibleStatusChangeTo2[\"Deregistered\"] = \"Deregistered\";\n PossibleStatusChangeTo2[\"DeregistrationInProgress\"] = \"DeregistrationInProgress\";\n return PossibleStatusChangeTo2;\n})(PossibleStatusChangeTo || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/Company/IossRegistration/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { PossibleStatusChange } from \"./../models/V1/Company/IossRegistration/PossibleStatusChange\";\nexport class IossRegistration {\n /**\n * Creates an instance of IossRegistration.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof IossRegistration\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchIossRegistrationsRq_ _searchIossRegistrationsRq\n * @returns Promise\n * @memberof IossRegistration\n */\n searchIossRegistrations(pSearchIossRegistrationsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Registrations\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchIossRegistrationsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportIossRegistrationsRq_ _exportIossRegistrationsRq\n * @returns Promise\n * @memberof IossRegistration\n */\n exportIossRegistrations(pExportIossRegistrationsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv, application/json\",\n options\n );\n client.addBody({ value: pExportIossRegistrationsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetAvailableStatusChangesRq_ _getAvailableStatusChangesRq\n * @returns Promise\n * @memberof IossRegistration\n */\n getAvailableStatusChanges(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/Registrations/Statuses\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: PossibleStatusChange, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeStatusRq_ _changeStatusRq\n * @returns Promise\n * @memberof IossRegistration\n */\n changeStatus(pChangeStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/{companyId}/Registrations/{registrationId}/Status\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangeStatusRq.companyId, required: true },\n { name: \"registrationId\", value: pChangeStatusRq.registrationId, required: true }\n ]);\n client.addBody({ value: pChangeStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadRegistrationDocumentRq_ _downloadRegistrationDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n downloadRegistrationDocument(pDownloadRegistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/{companyId}/Registrations/{registrationId}/Documents/{documentId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addQueryParams([\n { name: \"type\", value: pDownloadRegistrationDocumentRq.type }\n ]);\n client.addPathParams([\n { name: \"companyId\", value: pDownloadRegistrationDocumentRq.companyId, required: true },\n { name: \"registrationId\", value: pDownloadRegistrationDocumentRq.registrationId, required: true },\n { name: \"documentId\", value: pDownloadRegistrationDocumentRq.documentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSignedRegistrationDocumentRq_ _uploadSignedRegistrationDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n uploadSignedRegistrationDocument(pUploadSignedRegistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/{companyId}/Registrations/{registrationId}/Documents/{documentId}/Signed\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadSignedRegistrationDocumentRq.companyId, required: true },\n { name: \"registrationId\", value: pUploadSignedRegistrationDocumentRq.registrationId, required: true },\n { name: \"documentId\", value: pUploadSignedRegistrationDocumentRq.documentId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSignedRegistrationDocumentRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadCertificateRq_ _downloadCertificateRq\n * @returns Promise\n * @memberof IossRegistration\n */\n downloadCertificate(pDownloadCertificateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/{companyId}/Registrations/{registrationId}/Certificate\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDownloadCertificateRq.companyId, required: true },\n { name: \"registrationId\", value: pDownloadCertificateRq.registrationId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadDeregistrationDocumentRq_ _downloadDeregistrationDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n downloadDeregistrationDocument(pDownloadDeregistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/{companyId}/Registrations/{registrationId}/deregistrationdocument\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDownloadDeregistrationDocumentRq.companyId, required: true },\n { name: \"registrationId\", value: pDownloadDeregistrationDocumentRq.registrationId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadDocumentRq_ _uploadDocumentRq\n * @returns Promise\n * @memberof IossRegistration\n */\n uploadDocument(pUploadDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/IossRegistration/Companies/{companyId}/Registrations/{registrationId}/document\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadDocumentRq.companyId, required: true },\n { name: \"registrationId\", value: pUploadDocumentRq.registrationId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadDocumentRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var DownloadRegistrationDocumentType = /* @__PURE__ */ ((DownloadRegistrationDocumentType2) => {\n DownloadRegistrationDocumentType2[\"Unsigned\"] = \"Unsigned\";\n DownloadRegistrationDocumentType2[\"Signed\"] = \"Signed\";\n return DownloadRegistrationDocumentType2;\n})(DownloadRegistrationDocumentType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Country } from \"./../models/V1/Common/MasterData/Country\";\nexport class MasterData {\n /**\n * Creates an instance of MasterData.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof MasterData\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetCountriesRq_ _getCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getCountries(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/Countries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetServiceCountriesRq_ _getServiceCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getServiceCountries(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/ServiceCountries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetEuCountriesRq_ _getEuCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getEuCountries(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/EuCountries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetBirthCountriesRq_ _getBirthCountriesRq\n * @returns Promise\n * @memberof MasterData\n */\n getBirthCountries(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/MasterData/BirthCountries\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Country, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Migration {\n /**\n * Creates an instance of Migration.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Migration\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param MigrateCompanyRq_ _migrateCompanyRq\n * @returns Promise\n * @memberof Migration\n */\n migrateCompany(pMigrateCompanyRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Migration/company\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pMigrateCompanyRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param MigrateSubscriptionsRq_ _migrateSubscriptionsRq\n * @returns Promise\n * @memberof Migration\n */\n migrateSubscriptions(pMigrateSubscriptionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Migration/subscriptions\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pMigrateSubscriptionsRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param MigrateSellerAccountRq_ _migrateSellerAccountRq\n * @returns Promise\n * @memberof Migration\n */\n migrateSellerAccount(pMigrateSellerAccountRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Migration/seller-acount\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pMigrateSellerAccountRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param MigrateOtherVatRq_ _migrateOtherVatRq\n * @returns Promise\n * @memberof Migration\n */\n migrateOtherVat(pMigrateOtherVatRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Migration/other-vat\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pMigrateOtherVatRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Order } from \"./../models/V1/Orders/Get/Order\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { SearchResponse } from \"./../models/V1/Orders/Search/SearchResponse\";\nexport class Orders {\n /**\n * Creates an instance of Orders.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Orders\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param CreateOrderRq_ _createOrderRq\n * @returns Promise\n * @memberof Orders\n */\n createOrder(pCreateOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pCreateOrderRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201, clazz: Order },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetOrderRq_ _getOrderRq\n * @returns Promise\n * @memberof Orders\n */\n getOrder(pGetOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pGetOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: Order },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateOrderRq_ _updateOrderRq\n * @returns Promise\n * @memberof Orders\n */\n updateOrder(pUpdateOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pUpdateOrderRq.orderId, required: true }\n ]);\n client.addBody({ value: pUpdateOrderRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param FixOrderRq_ _fixOrderRq\n * @returns Promise\n * @memberof Orders\n */\n fixOrder(pFixOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/fix\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pFixOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ApproveDraftOrderRq_ _approveDraftOrderRq\n * @returns Promise\n * @memberof Orders\n */\n approveDraftOrder(pApproveDraftOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/ApproveDraft\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pApproveDraftOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RejectDraftOrderRq_ _rejectDraftOrderRq\n * @returns Promise\n * @memberof Orders\n */\n rejectDraftOrder(pRejectDraftOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/RejectDraft\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pRejectDraftOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CancelOrderRq_ _cancelOrderRq\n * @returns Promise\n * @memberof Orders\n */\n cancelOrder(pCancelOrderRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/Cancel\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pCancelOrderRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadContractRq_ _downloadContractRq\n * @returns Promise\n * @memberof Orders\n */\n downloadContract(pDownloadContractRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/contract\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pDownloadContractRq.orderId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchOrdersRq_ _searchOrdersRq\n * @returns Promise\n * @memberof Orders\n */\n searchOrders(pSearchOrdersRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchOrdersRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResponse },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadBillingDocumentRq_ _downloadBillingDocumentRq\n * @returns Promise\n * @memberof Orders\n */\n downloadBillingDocument(pDownloadBillingDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Orders/{orderId}/documents/{documentId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pDownloadBillingDocumentRq.orderId, required: true },\n { name: \"documentId\", value: pDownloadBillingDocumentRq.documentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Payments {\n /**\n * Creates an instance of Payments.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Payments\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param DownloadBankTransferPaymentProofRq_ _downloadBankTransferPaymentProofRq\n * @returns Promise\n * @memberof Payments\n */\n downloadBankTransferPaymentProof(pDownloadBankTransferPaymentProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/orders/{orderId}/payments/{paymentId}/proof\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pDownloadBankTransferPaymentProofRq.orderId, required: true },\n { name: \"paymentId\", value: pDownloadBankTransferPaymentProofRq.paymentId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadBankTransferPaymentProofRq_ _uploadBankTransferPaymentProofRq\n * @returns Promise\n * @memberof Payments\n */\n uploadBankTransferPaymentProof(pUploadBankTransferPaymentProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/orders/{orderId}/payments/{paymentId}/proof\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pUploadBankTransferPaymentProofRq.orderId, required: true },\n { name: \"paymentId\", value: pUploadBankTransferPaymentProofRq.paymentId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadBankTransferPaymentProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ApproveBankTransferPaymentRq_ _approveBankTransferPaymentRq\n * @returns Promise\n * @memberof Payments\n */\n approveBankTransferPayment(pApproveBankTransferPaymentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/orders/{orderId}/payments/{paymentId}/approve\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"orderId\", value: pApproveBankTransferPaymentRq.orderId, required: true },\n { name: \"paymentId\", value: pApproveBankTransferPaymentRq.paymentId, required: true }\n ]);\n client.addBody({ value: pApproveBankTransferPaymentRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Questionnaire as QuestionnaireModel } from \"./../models/V1/CompanyInfo/Questionnaire/Questionnaire\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { FileReferenceAnswer } from \"./../models/V1/CompanyInfo/Questionnaire/Answers/FileReferenceAnswer\";\nexport class Questionnaire {\n /**\n * Creates an instance of Questionnaire.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Questionnaire\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetQuestionnaireRq_ _getQuestionnaireRq\n * @returns Promise\n * @memberof Questionnaire\n */\n getQuestionnaire(pGetQuestionnaireRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetQuestionnaireRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: QuestionnaireModel },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SaveModificationRq_ _saveModificationRq\n * @returns Promise\n * @memberof Questionnaire\n */\n saveModification(pSaveModificationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pSaveModificationRq.companyId, required: true }\n ]);\n client.addBody({ value: pSaveModificationRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadFileToQuestionRq_ _uploadFileToQuestionRq\n * @returns Promise\n * @memberof Questionnaire\n */\n uploadFileToQuestion(pUploadFileToQuestionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}/Answers/{questionId}/Upload\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadFileToQuestionRq.companyId, required: true },\n { name: \"questionId\", value: pUploadFileToQuestionRq.questionId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadFileToQuestionRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: FileReferenceAnswer },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 415, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadFileRq_ _uploadFileRq\n * @returns Promise\n * @memberof Questionnaire\n */\n uploadFile(pUploadFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}/Answers/FileUpload\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadFileRq.companyId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadFileRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 415, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param IncompleteQuestionnaireRq_ _incompleteQuestionnaireRq\n * @returns Promise\n * @memberof Questionnaire\n */\n incompleteQuestionnaire(pIncompleteQuestionnaireRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}/Incomplete\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pIncompleteQuestionnaireRq.companyId, required: true }\n ]);\n client.addBody({ value: pIncompleteQuestionnaireRq.body, isPrimitive: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeQuestionnaireStatusRq_ _changeQuestionnaireStatusRq\n * @returns Promise\n * @memberof Questionnaire\n */\n changeQuestionnaireStatus(pChangeQuestionnaireStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}/Status\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangeQuestionnaireStatusRq.companyId, required: true }\n ]);\n client.addBody({ value: pChangeQuestionnaireStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadFileRq_ _downloadFileRq\n * @returns Promise\n * @memberof Questionnaire\n */\n downloadFile(pDownloadFileRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Questionnaire/Company/{companyId}/Files/{reference}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"image/png, image/jpeg, application/pdf\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDownloadFileRq.companyId, required: true },\n { name: \"reference\", value: pDownloadFileRq.reference, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nexport class Reporting {\n /**\n * Creates an instance of Reporting.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Reporting\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GenerateAccountReportRq_ _generateAccountReportRq\n * @returns Promise\n * @memberof Reporting\n */\n generateAccountReport(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Reporting/Accounts\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GenerateClientRegistrationReportRq_ _generateClientRegistrationReportRq\n * @returns Promise\n * @memberof Reporting\n */\n generateClientRegistrationReport(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Reporting/ClientRegistrations\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GenerateSubscriptionFeedbackReportRq_ _generateSubscriptionFeedbackReportRq\n * @returns Promise\n * @memberof Reporting\n */\n generateSubscriptionFeedbackReport(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Reporting/SubscriptionFeedbacks\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/csv\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Roles {\n /**\n * Creates an instance of Roles.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Roles\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetRolesRq_ _getRolesRq\n * @returns Promise\n * @memberof Roles\n */\n getRoles(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Roles\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isArray: true },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { Money } from \"./../Common/Money\";\nexport class ServiceDescriptor {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ServiceDescriptor\n */\n this.$type = \"V1.Services.ServiceDescriptor\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = ServiceDescriptorCode[_data[\"Code\"]];\n this.Country = _data[\"Country\"];\n this.IsCountryBased = _data[\"IsCountryBased\"];\n if (_data[\"Price\"]) {\n const price_ = new Money();\n this.Price = price_.init(_data[\"Price\"]);\n }\n this.PricingType = ServiceDescriptorPricingType[_data[\"PricingType\"]];\n this.Type = ServiceDescriptorType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = ServiceDescriptorCode[this.Code];\n _data[\"Country\"] = this.Country;\n _data[\"IsCountryBased\"] = this.IsCountryBased;\n _data[\"Price\"] = this.Price ? this.Price.toJSON() : void 0;\n _data[\"PricingType\"] = ServiceDescriptorPricingType[this.PricingType];\n _data[\"Type\"] = ServiceDescriptorType[this.Type];\n return _data;\n }\n}\nexport var ServiceDescriptorCode = /* @__PURE__ */ ((ServiceDescriptorCode2) => {\n ServiceDescriptorCode2[\"VatCompliance\"] = \"VatCompliance\";\n ServiceDescriptorCode2[\"VatMonthlyCompliance\"] = \"VatMonthlyCompliance\";\n ServiceDescriptorCode2[\"VatRegistration\"] = \"VatRegistration\";\n ServiceDescriptorCode2[\"VatTakeOver\"] = \"VatTakeOver\";\n ServiceDescriptorCode2[\"VatSpanishBankAccount\"] = \"VatSpanishBankAccount\";\n ServiceDescriptorCode2[\"VatFiscalRepresentative\"] = \"VatFiscalRepresentative\";\n ServiceDescriptorCode2[\"VatFilingAgent\"] = \"VatFilingAgent\";\n ServiceDescriptorCode2[\"VatRetrospectiveReturn\"] = \"VatRetrospectiveReturn\";\n ServiceDescriptorCode2[\"VatIntrastatIn\"] = \"VatIntrastatIn\";\n ServiceDescriptorCode2[\"VatIntrastatOut\"] = \"VatIntrastatOut\";\n ServiceDescriptorCode2[\"VatDeregistration\"] = \"VatDeregistration\";\n ServiceDescriptorCode2[\"VatSelfRevision\"] = \"VatSelfRevision\";\n ServiceDescriptorCode2[\"VatHomeCountryCompliance\"] = \"VatHomeCountryCompliance\";\n ServiceDescriptorCode2[\"IossComplianceTier0\"] = \"IossComplianceTier0\";\n ServiceDescriptorCode2[\"IossComplianceTier1\"] = \"IossComplianceTier1\";\n ServiceDescriptorCode2[\"IossComplianceTier2\"] = \"IossComplianceTier2\";\n ServiceDescriptorCode2[\"IossComplianceTier3\"] = \"IossComplianceTier3\";\n ServiceDescriptorCode2[\"IossRegistration\"] = \"IossRegistration\";\n ServiceDescriptorCode2[\"IossTakeOver\"] = \"IossTakeOver\";\n ServiceDescriptorCode2[\"IossDeregistration\"] = \"IossDeregistration\";\n ServiceDescriptorCode2[\"OssCompliance\"] = \"OssCompliance\";\n ServiceDescriptorCode2[\"OssRegistration\"] = \"OssRegistration\";\n ServiceDescriptorCode2[\"OssTakeOver\"] = \"OssTakeOver\";\n ServiceDescriptorCode2[\"OssDeregistration\"] = \"OssDeregistration\";\n ServiceDescriptorCode2[\"GlobalEoriUk\"] = \"GlobalEoriUk\";\n ServiceDescriptorCode2[\"GlobalEoriEu\"] = \"GlobalEoriEu\";\n ServiceDescriptorCode2[\"GlobalGeneralVatAdvice\"] = \"GlobalGeneralVatAdvice\";\n ServiceDescriptorCode2[\"GlobalSpecialistVatAdvice\"] = \"GlobalSpecialistVatAdvice\";\n ServiceDescriptorCode2[\"GlobalCommunicatingWithTaxAuthorities\"] = \"GlobalCommunicatingWithTaxAuthorities\";\n ServiceDescriptorCode2[\"GlobalChangeCompanyDetail\"] = \"GlobalChangeCompanyDetail\";\n ServiceDescriptorCode2[\"GlobalContactingTaxAuthorities\"] = \"GlobalContactingTaxAuthorities\";\n ServiceDescriptorCode2[\"GlobalTranslation\"] = \"GlobalTranslation\";\n ServiceDescriptorCode2[\"GlobalTaxCertificate\"] = \"GlobalTaxCertificate\";\n ServiceDescriptorCode2[\"GlobalIntrastatThresholdCheck\"] = \"GlobalIntrastatThresholdCheck\";\n ServiceDescriptorCode2[\"GlobalDistanceSaleThresholdCheck\"] = \"GlobalDistanceSaleThresholdCheck\";\n return ServiceDescriptorCode2;\n})(ServiceDescriptorCode || {});\nexport var ServiceDescriptorPricingType = /* @__PURE__ */ ((ServiceDescriptorPricingType2) => {\n ServiceDescriptorPricingType2[\"Hourly\"] = \"Hourly\";\n ServiceDescriptorPricingType2[\"Monthly\"] = \"Monthly\";\n ServiceDescriptorPricingType2[\"Yearly\"] = \"Yearly\";\n ServiceDescriptorPricingType2[\"Fixed\"] = \"Fixed\";\n ServiceDescriptorPricingType2[\"Custom\"] = \"Custom\";\n return ServiceDescriptorPricingType2;\n})(ServiceDescriptorPricingType || {});\nexport var ServiceDescriptorType = /* @__PURE__ */ ((ServiceDescriptorType2) => {\n ServiceDescriptorType2[\"OneTime\"] = \"OneTime\";\n ServiceDescriptorType2[\"Subscription\"] = \"Subscription\";\n ServiceDescriptorType2[\"OneTimeSubscription\"] = \"OneTimeSubscription\";\n return ServiceDescriptorType2;\n})(ServiceDescriptorType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { ServiceDescriptor } from \"./../models/V1/Services/ServiceDescriptor\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Services {\n /**\n * Creates an instance of Services.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Services\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetAvailableServicesRq_ _getAvailableServicesRq\n * @returns Promise\n * @memberof Services\n */\n getAvailableServices(pGetAvailableServicesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/companies/{companyId}/services\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetAvailableServicesRq.companyId, required: true }\n ]);\n client.addBody({ value: pGetAvailableServicesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: ServiceDescriptor, isArray: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class SubmissionDeadlineConfiguration {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubmissionDeadlineConfiguration\n */\n this.$type = \"V1.SubmissionDeadlineConfigurations.Search.SubmissionDeadlineConfiguration\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientApprovalDueDate = DateConverter.from(_data[\"ClientApprovalDueDate\"]);\n this.Deadline = DateConverter.from(_data[\"Deadline\"]);\n this.EFiling = _data[\"EFiling\"];\n this.EstablishmentCountryType = SubmissionDeadlineConfigurationEstablishmentCountryType[_data[\"EstablishmentCountryType\"]];\n this.FilingExtension = _data[\"FilingExtension\"];\n this.FrequencyType = SubmissionDeadlineConfigurationFrequencyType[_data[\"FrequencyType\"]];\n this.IsEPayment = _data[\"IsEPayment\"];\n this.PaymentDueDate = DateConverter.from(_data[\"PaymentDueDate\"]);\n this.PeriodNumber = _data[\"PeriodNumber\"];\n this.ReturnGenerationDueDate = DateConverter.from(_data[\"ReturnGenerationDueDate\"]);\n this.ReturnType = SubmissionDeadlineConfigurationReturnType[_data[\"ReturnType\"]];\n this.ServiceCountryCode = _data[\"ServiceCountryCode\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientApprovalDueDate\"] = DateConverter.toUtcDateString(this.ClientApprovalDueDate);\n _data[\"Deadline\"] = DateConverter.toUtcDateString(this.Deadline);\n _data[\"EFiling\"] = this.EFiling;\n _data[\"EstablishmentCountryType\"] = SubmissionDeadlineConfigurationEstablishmentCountryType[this.EstablishmentCountryType];\n _data[\"FilingExtension\"] = this.FilingExtension;\n _data[\"FrequencyType\"] = SubmissionDeadlineConfigurationFrequencyType[this.FrequencyType];\n _data[\"IsEPayment\"] = this.IsEPayment;\n _data[\"PaymentDueDate\"] = DateConverter.toUtcDateString(this.PaymentDueDate);\n _data[\"PeriodNumber\"] = this.PeriodNumber;\n _data[\"ReturnGenerationDueDate\"] = DateConverter.toUtcDateString(this.ReturnGenerationDueDate);\n _data[\"ReturnType\"] = SubmissionDeadlineConfigurationReturnType[this.ReturnType];\n _data[\"ServiceCountryCode\"] = this.ServiceCountryCode;\n return _data;\n }\n}\nexport var SubmissionDeadlineConfigurationEstablishmentCountryType = /* @__PURE__ */ ((SubmissionDeadlineConfigurationEstablishmentCountryType2) => {\n SubmissionDeadlineConfigurationEstablishmentCountryType2[\"EU\"] = \"EU\";\n SubmissionDeadlineConfigurationEstablishmentCountryType2[\"NonEU\"] = \"NonEU\";\n return SubmissionDeadlineConfigurationEstablishmentCountryType2;\n})(SubmissionDeadlineConfigurationEstablishmentCountryType || {});\nexport var SubmissionDeadlineConfigurationFrequencyType = /* @__PURE__ */ ((SubmissionDeadlineConfigurationFrequencyType2) => {\n SubmissionDeadlineConfigurationFrequencyType2[\"Monthly\"] = \"Monthly\";\n SubmissionDeadlineConfigurationFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n SubmissionDeadlineConfigurationFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n SubmissionDeadlineConfigurationFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n SubmissionDeadlineConfigurationFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n SubmissionDeadlineConfigurationFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n SubmissionDeadlineConfigurationFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n SubmissionDeadlineConfigurationFrequencyType2[\"Yearly\"] = \"Yearly\";\n return SubmissionDeadlineConfigurationFrequencyType2;\n})(SubmissionDeadlineConfigurationFrequencyType || {});\nexport var SubmissionDeadlineConfigurationReturnType = /* @__PURE__ */ ((SubmissionDeadlineConfigurationReturnType2) => {\n SubmissionDeadlineConfigurationReturnType2[\"PrimaryVAT\"] = \"PrimaryVAT\";\n SubmissionDeadlineConfigurationReturnType2[\"SecondaryVAT\"] = \"SecondaryVAT\";\n SubmissionDeadlineConfigurationReturnType2[\"ESL\"] = \"ESL\";\n SubmissionDeadlineConfigurationReturnType2[\"VLS\"] = \"VLS\";\n SubmissionDeadlineConfigurationReturnType2[\"IOSS\"] = \"IOSS\";\n SubmissionDeadlineConfigurationReturnType2[\"Intrastat\"] = \"Intrastat\";\n SubmissionDeadlineConfigurationReturnType2[\"OSS\"] = \"OSS\";\n return SubmissionDeadlineConfigurationReturnType2;\n})(SubmissionDeadlineConfigurationReturnType || {});\n","import { SubmissionDeadlineConfiguration } from \"./SubmissionDeadlineConfiguration\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.SubmissionDeadlineConfigurations.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"SubmissionDeadlineConfigurations\"] && _data[\"SubmissionDeadlineConfigurations\"].constructor === Array) {\n this.SubmissionDeadlineConfigurations = [];\n for (let item of _data[\"SubmissionDeadlineConfigurations\"]) {\n const submissionDeadlineConfigurations_ = new SubmissionDeadlineConfiguration();\n this.SubmissionDeadlineConfigurations.push(submissionDeadlineConfigurations_.init(item));\n }\n }\n this.TotalCount = _data[\"TotalCount\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.SubmissionDeadlineConfigurations && this.SubmissionDeadlineConfigurations.constructor === Array) {\n _data[\"SubmissionDeadlineConfigurations\"] = [];\n for (let item of this.SubmissionDeadlineConfigurations) {\n _data[\"SubmissionDeadlineConfigurations\"].push(item.toJSON());\n }\n }\n _data[\"TotalCount\"] = this.TotalCount;\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/SubmissionDeadlineConfigurations/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class SubmissionDeadlineConfigurations {\n /**\n * Creates an instance of SubmissionDeadlineConfigurations.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof SubmissionDeadlineConfigurations\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchRq_ _searchRq\n * @returns Promise\n * @memberof SubmissionDeadlineConfigurations\n */\n search(pSearchRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionDeadlineConfigurations/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nimport { File } from \"./File\";\nexport class SubmissionPeriod {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SubmissionPeriod\n */\n this.$type = \"V1.Submission.Search.SubmissionPeriod\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.ClientApprovalDate = DateConverter.from(_data[\"ClientApprovalDate\"]);\n this.ClientApprovalDueDate = DateConverter.from(_data[\"ClientApprovalDueDate\"]);\n this.CompanyId = _data[\"CompanyId\"];\n this.CompanyName = _data[\"CompanyName\"];\n this.EFiling = _data[\"EFiling\"];\n if (_data[\"Errors\"] && _data[\"Errors\"].constructor === Array) {\n this.Errors = [];\n for (let item of _data[\"Errors\"]) {\n this.Errors.push(item);\n }\n }\n this.EstablishmentCountryCode = _data[\"EstablishmentCountryCode\"];\n this.EstablishmentCountryType = SubmissionPeriodEstablishmentCountryType[_data[\"EstablishmentCountryType\"]];\n this.FrequencyType = SubmissionPeriodFrequencyType[_data[\"FrequencyType\"]];\n this.Id = _data[\"Id\"];\n this.PaymentCategory = SubmissionPeriodPaymentCategory[_data[\"PaymentCategory\"]];\n this.PaymentDueDate = DateConverter.from(_data[\"PaymentDueDate\"]);\n if (_data[\"PaymentProof\"]) {\n const paymentProof_ = new File();\n this.PaymentProof = paymentProof_.init(_data[\"PaymentProof\"]);\n }\n this.PaymentStatus = SubmissionPeriodPaymentStatus[_data[\"PaymentStatus\"]];\n this.PaymentUrl = _data[\"PaymentUrl\"];\n this.Period = _data[\"Period\"];\n this.PeriodStartDate = DateConverter.from(_data[\"PeriodStartDate\"]);\n this.ReturnGenerationDate = DateConverter.from(_data[\"ReturnGenerationDate\"]);\n this.ReturnGenerationDueDate = DateConverter.from(_data[\"ReturnGenerationDueDate\"]);\n this.Revision = _data[\"Revision\"];\n this.ServiceCountryCode = _data[\"ServiceCountryCode\"];\n this.Status = SubmissionPeriodStatus[_data[\"Status\"]];\n this.SubmissionDate = DateConverter.from(_data[\"SubmissionDate\"]);\n this.SubmissionDueDate = DateConverter.from(_data[\"SubmissionDueDate\"]);\n if (_data[\"SubmissionProof\"]) {\n const submissionProof_ = new File();\n this.SubmissionProof = submissionProof_.init(_data[\"SubmissionProof\"]);\n }\n if (_data[\"SubmissionProof2\"]) {\n const submissionProof2_ = new File();\n this.SubmissionProof2 = submissionProof2_.init(_data[\"SubmissionProof2\"]);\n }\n this.SubmissionProof2Date = DateConverter.from(_data[\"SubmissionProof2Date\"]);\n this.SubmissionProofDate = DateConverter.from(_data[\"SubmissionProofDate\"]);\n this.SubmittedAndPaidDate = DateConverter.from(_data[\"SubmittedAndPaidDate\"]);\n this.TaxReturnType = SubmissionPeriodTaxReturnType[_data[\"TaxReturnType\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"ClientApprovalDate\"] = DateConverter.toUtcDateString(this.ClientApprovalDate);\n _data[\"ClientApprovalDueDate\"] = DateConverter.toUtcDateString(this.ClientApprovalDueDate);\n _data[\"CompanyId\"] = this.CompanyId;\n _data[\"CompanyName\"] = this.CompanyName;\n _data[\"EFiling\"] = this.EFiling;\n if (this.Errors && this.Errors.constructor === Array) {\n _data[\"Errors\"] = [];\n for (let item of this.Errors) {\n _data[\"Errors\"].push(item);\n }\n }\n _data[\"EstablishmentCountryCode\"] = this.EstablishmentCountryCode;\n _data[\"EstablishmentCountryType\"] = SubmissionPeriodEstablishmentCountryType[this.EstablishmentCountryType];\n _data[\"FrequencyType\"] = SubmissionPeriodFrequencyType[this.FrequencyType];\n _data[\"Id\"] = this.Id;\n _data[\"PaymentCategory\"] = SubmissionPeriodPaymentCategory[this.PaymentCategory];\n _data[\"PaymentDueDate\"] = DateConverter.toUtcDateString(this.PaymentDueDate);\n _data[\"PaymentProof\"] = this.PaymentProof ? this.PaymentProof.toJSON() : void 0;\n _data[\"PaymentStatus\"] = SubmissionPeriodPaymentStatus[this.PaymentStatus];\n _data[\"PaymentUrl\"] = this.PaymentUrl;\n _data[\"Period\"] = this.Period;\n _data[\"PeriodStartDate\"] = DateConverter.toUtcDateString(this.PeriodStartDate);\n _data[\"ReturnGenerationDate\"] = DateConverter.toUtcDateString(this.ReturnGenerationDate);\n _data[\"ReturnGenerationDueDate\"] = DateConverter.toUtcDateString(this.ReturnGenerationDueDate);\n _data[\"Revision\"] = this.Revision;\n _data[\"ServiceCountryCode\"] = this.ServiceCountryCode;\n _data[\"Status\"] = SubmissionPeriodStatus[this.Status];\n _data[\"SubmissionDate\"] = DateConverter.toUtcDateString(this.SubmissionDate);\n _data[\"SubmissionDueDate\"] = DateConverter.toUtcDateString(this.SubmissionDueDate);\n _data[\"SubmissionProof\"] = this.SubmissionProof ? this.SubmissionProof.toJSON() : void 0;\n _data[\"SubmissionProof2\"] = this.SubmissionProof2 ? this.SubmissionProof2.toJSON() : void 0;\n _data[\"SubmissionProof2Date\"] = DateConverter.toIsoUtcString(this.SubmissionProof2Date);\n _data[\"SubmissionProofDate\"] = DateConverter.toIsoUtcString(this.SubmissionProofDate);\n _data[\"SubmittedAndPaidDate\"] = DateConverter.toUtcDateString(this.SubmittedAndPaidDate);\n _data[\"TaxReturnType\"] = SubmissionPeriodTaxReturnType[this.TaxReturnType];\n return _data;\n }\n}\nexport var SubmissionPeriodEstablishmentCountryType = /* @__PURE__ */ ((SubmissionPeriodEstablishmentCountryType2) => {\n SubmissionPeriodEstablishmentCountryType2[\"EU\"] = \"EU\";\n SubmissionPeriodEstablishmentCountryType2[\"NonEU\"] = \"NonEU\";\n SubmissionPeriodEstablishmentCountryType2[\"GB\"] = \"GB\";\n return SubmissionPeriodEstablishmentCountryType2;\n})(SubmissionPeriodEstablishmentCountryType || {});\nexport var SubmissionPeriodFrequencyType = /* @__PURE__ */ ((SubmissionPeriodFrequencyType2) => {\n SubmissionPeriodFrequencyType2[\"Monthly\"] = \"Monthly\";\n SubmissionPeriodFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n SubmissionPeriodFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n SubmissionPeriodFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n SubmissionPeriodFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n SubmissionPeriodFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n SubmissionPeriodFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n SubmissionPeriodFrequencyType2[\"Yearly\"] = \"Yearly\";\n return SubmissionPeriodFrequencyType2;\n})(SubmissionPeriodFrequencyType || {});\nexport var SubmissionPeriodPaymentCategory = /* @__PURE__ */ ((SubmissionPeriodPaymentCategory2) => {\n SubmissionPeriodPaymentCategory2[\"Payable\"] = \"Payable\";\n SubmissionPeriodPaymentCategory2[\"Reclaimable\"] = \"Reclaimable\";\n SubmissionPeriodPaymentCategory2[\"Nil\"] = \"Nil\";\n return SubmissionPeriodPaymentCategory2;\n})(SubmissionPeriodPaymentCategory || {});\nexport var SubmissionPeriodPaymentStatus = /* @__PURE__ */ ((SubmissionPeriodPaymentStatus2) => {\n SubmissionPeriodPaymentStatus2[\"Due\"] = \"Due\";\n SubmissionPeriodPaymentStatus2[\"Paid\"] = \"Paid\";\n SubmissionPeriodPaymentStatus2[\"PaidByClient\"] = \"PaidByClient\";\n SubmissionPeriodPaymentStatus2[\"NoPaymentNeeded\"] = \"NoPaymentNeeded\";\n return SubmissionPeriodPaymentStatus2;\n})(SubmissionPeriodPaymentStatus || {});\nexport var SubmissionPeriodStatus = /* @__PURE__ */ ((SubmissionPeriodStatus2) => {\n SubmissionPeriodStatus2[\"New\"] = \"New\";\n SubmissionPeriodStatus2[\"DataUploaded\"] = \"DataUploaded\";\n SubmissionPeriodStatus2[\"ErrorReturnGen\"] = \"ErrorReturnGen\";\n SubmissionPeriodStatus2[\"ReturnGenerated\"] = \"ReturnGenerated\";\n SubmissionPeriodStatus2[\"ApprovedByClient\"] = \"ApprovedByClient\";\n SubmissionPeriodStatus2[\"RefusedByClient\"] = \"RefusedByClient\";\n SubmissionPeriodStatus2[\"ErrorAtTA\"] = \"ErrorAtTA\";\n SubmissionPeriodStatus2[\"SentToTA\"] = \"SentToTA\";\n SubmissionPeriodStatus2[\"Submitted\"] = \"Submitted\";\n SubmissionPeriodStatus2[\"Rejected\"] = \"Rejected\";\n SubmissionPeriodStatus2[\"SubmittedByClient\"] = \"SubmittedByClient\";\n SubmissionPeriodStatus2[\"NotToBeSubmitted\"] = \"NotToBeSubmitted\";\n return SubmissionPeriodStatus2;\n})(SubmissionPeriodStatus || {});\nexport var SubmissionPeriodTaxReturnType = /* @__PURE__ */ ((SubmissionPeriodTaxReturnType2) => {\n SubmissionPeriodTaxReturnType2[\"PrimaryVAT\"] = \"PrimaryVAT\";\n SubmissionPeriodTaxReturnType2[\"SecondaryVAT\"] = \"SecondaryVAT\";\n SubmissionPeriodTaxReturnType2[\"ESL\"] = \"ESL\";\n SubmissionPeriodTaxReturnType2[\"VLS\"] = \"VLS\";\n SubmissionPeriodTaxReturnType2[\"IOSS\"] = \"IOSS\";\n SubmissionPeriodTaxReturnType2[\"Intrastat\"] = \"Intrastat\";\n SubmissionPeriodTaxReturnType2[\"OSS\"] = \"OSS\";\n return SubmissionPeriodTaxReturnType2;\n})(SubmissionPeriodTaxReturnType || {});\n","import { SubmissionPeriod } from \"./SubmissionPeriod\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.Submission.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"SubmissionPeriods\"] && _data[\"SubmissionPeriods\"].constructor === Array) {\n this.SubmissionPeriods = [];\n for (let item of _data[\"SubmissionPeriods\"]) {\n const submissionPeriods_ = new SubmissionPeriod();\n this.SubmissionPeriods.push(submissionPeriods_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.SubmissionPeriods && this.SubmissionPeriods.constructor === Array) {\n _data[\"SubmissionPeriods\"] = [];\n for (let item of this.SubmissionPeriods) {\n _data[\"SubmissionPeriods\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class FrequencyConfigurationOption {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof FrequencyConfigurationOption\n */\n this.$type = \"V1.Submission.FrequencyConfigurationOption\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.EFiling = _data[\"EFiling\"];\n this.FilingExtension = _data[\"FilingExtension\"];\n this.FrequencyType = FrequencyConfigurationOptionFrequencyType[_data[\"FrequencyType\"]];\n this.ReturnType = FrequencyConfigurationOptionReturnType[_data[\"ReturnType\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"EFiling\"] = this.EFiling;\n _data[\"FilingExtension\"] = this.FilingExtension;\n _data[\"FrequencyType\"] = FrequencyConfigurationOptionFrequencyType[this.FrequencyType];\n _data[\"ReturnType\"] = FrequencyConfigurationOptionReturnType[this.ReturnType];\n return _data;\n }\n}\nexport var FrequencyConfigurationOptionFrequencyType = /* @__PURE__ */ ((FrequencyConfigurationOptionFrequencyType2) => {\n FrequencyConfigurationOptionFrequencyType2[\"Monthly\"] = \"Monthly\";\n FrequencyConfigurationOptionFrequencyType2[\"Quarterly\"] = \"Quarterly\";\n FrequencyConfigurationOptionFrequencyType2[\"QuarterlyShifted1\"] = \"QuarterlyShifted1\";\n FrequencyConfigurationOptionFrequencyType2[\"QuarterlyShifted2\"] = \"QuarterlyShifted2\";\n FrequencyConfigurationOptionFrequencyType2[\"BiMonthly\"] = \"BiMonthly\";\n FrequencyConfigurationOptionFrequencyType2[\"FourMonthly\"] = \"FourMonthly\";\n FrequencyConfigurationOptionFrequencyType2[\"SixMonthly\"] = \"SixMonthly\";\n FrequencyConfigurationOptionFrequencyType2[\"Yearly\"] = \"Yearly\";\n return FrequencyConfigurationOptionFrequencyType2;\n})(FrequencyConfigurationOptionFrequencyType || {});\nexport var FrequencyConfigurationOptionReturnType = /* @__PURE__ */ ((FrequencyConfigurationOptionReturnType2) => {\n FrequencyConfigurationOptionReturnType2[\"PrimaryVAT\"] = \"PrimaryVAT\";\n FrequencyConfigurationOptionReturnType2[\"SecondaryVAT\"] = \"SecondaryVAT\";\n FrequencyConfigurationOptionReturnType2[\"ESL\"] = \"ESL\";\n FrequencyConfigurationOptionReturnType2[\"VLS\"] = \"VLS\";\n FrequencyConfigurationOptionReturnType2[\"IOSS\"] = \"IOSS\";\n FrequencyConfigurationOptionReturnType2[\"Intrastat\"] = \"Intrastat\";\n FrequencyConfigurationOptionReturnType2[\"OSS\"] = \"OSS\";\n return FrequencyConfigurationOptionReturnType2;\n})(FrequencyConfigurationOptionReturnType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/Submission/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { SubmissionPeriodFiles } from \"./../models/V1/Submission/SubmissionPeriodFiles\";\nimport { FrequencyConfigurationOption } from \"./../models/V1/Submission/FrequencyConfigurationOption\";\nexport class SubmissionPeriods {\n /**\n * Creates an instance of SubmissionPeriods.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof SubmissionPeriods\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchSubmissionsRq_ _searchSubmissionsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n searchSubmissions(pSearchSubmissionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/Search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchSubmissionsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportSubmissionsRq_ _exportSubmissionsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n exportSubmissions(pExportSubmissionsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/Export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv, application/json\",\n options\n );\n client.addBody({ value: pExportSubmissionsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetSubmissionPeriodFilesRq_ _getSubmissionPeriodFilesRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n getSubmissionPeriodFiles(pGetSubmissionPeriodFilesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Files\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pGetSubmissionPeriodFilesRq.submissionPeriodId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SubmissionPeriodFiles },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeStatusRq_ _changeStatusRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n changeStatus(pChangeStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Status\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pChangeStatusRq.submissionPeriodId, required: true }\n ]);\n client.addBody({ value: pChangeStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangePaymentStatusRq_ _changePaymentStatusRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n changePaymentStatus(pChangePaymentStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/PaymentStatus\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pChangePaymentStatusRq.submissionPeriodId, required: true }\n ]);\n client.addBody({ value: pChangePaymentStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadDocumentRq_ _downloadDocumentRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n downloadDocument(pDownloadDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/{type}/{documentId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pDownloadDocumentRq.submissionPeriodId, required: true },\n { name: \"documentId\", value: pDownloadDocumentRq.documentId, required: true },\n { name: \"type\", value: pDownloadDocumentRq.type, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSubmissionProofRq_ _uploadSubmissionProofRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadSubmissionProof(pUploadSubmissionProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/SubmissionProof\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadSubmissionProofRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSubmissionProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSubmissionProof2Rq_ _uploadSubmissionProof2Rq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadSubmissionProof2(pUploadSubmissionProof2Rq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/SubmissionProof2\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadSubmissionProof2Rq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSubmissionProof2Rq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadPaymentProofRq_ _uploadPaymentProofRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadPaymentProof(pUploadPaymentProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/PaymentProof\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadPaymentProofRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadPaymentProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadNotToBeSubmittedProofRq_ _uploadNotToBeSubmittedProofRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadNotToBeSubmittedProof(pUploadNotToBeSubmittedProofRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/NotToBeSubmittedProof\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadNotToBeSubmittedProofRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadNotToBeSubmittedProofRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadReturnDocumentsRq_ _uploadReturnDocumentsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n uploadReturnDocuments(pUploadReturnDocumentsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Documents/Return\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pUploadReturnDocumentsRq.submissionPeriodId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"files\", value: pUploadReturnDocumentsRq.files }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetFrequencyConfigurationOptionsRq_ _getFrequencyConfigurationOptionsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n getFrequencyConfigurationOptions(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/FrequencyConfigurationOptions\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: FrequencyConfigurationOption, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeRevisionRq_ _changeRevisionRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n changeRevision(pChangeRevisionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{submissionPeriodId}/Revision\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"submissionPeriodId\", value: pChangeRevisionRq.submissionPeriodId, required: true }\n ]);\n client.addBody({ value: pChangeRevisionRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GeneratePeriodsRq_ _generatePeriodsRq\n * @returns Promise\n * @memberof SubmissionPeriods\n */\n generatePeriods(pGeneratePeriodsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/SubmissionPeriods/{companyId}/generate\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGeneratePeriodsRq.companyId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var DownloadDocumentType = /* @__PURE__ */ ((DownloadDocumentType2) => {\n DownloadDocumentType2[\"SubmissionProof\"] = \"SubmissionProof\";\n DownloadDocumentType2[\"SubmissionProofIntrastatIn\"] = \"SubmissionProofIntrastatIn\";\n DownloadDocumentType2[\"SubmissionProofIntrastatOut\"] = \"SubmissionProofIntrastatOut\";\n DownloadDocumentType2[\"PaymentProof\"] = \"PaymentProof\";\n DownloadDocumentType2[\"NotToBeSubmittedProof\"] = \"NotToBeSubmittedProof\";\n DownloadDocumentType2[\"Return\"] = \"Return\";\n DownloadDocumentType2[\"DataVat\"] = \"DataVat\";\n DownloadDocumentType2[\"Transaction\"] = \"Transaction\";\n DownloadDocumentType2[\"InvalidVatNumbersReport\"] = \"InvalidVatNumbersReport\";\n DownloadDocumentType2[\"OutOfScopeFile\"] = \"OutOfScopeFile\";\n DownloadDocumentType2[\"RefusedReasonFile\"] = \"RefusedReasonFile\";\n return DownloadDocumentType2;\n})(DownloadDocumentType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SubscriptionSearchResult } from \"./../models/V1/Subscriptions/SubscriptionSearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class Subscriptions {\n /**\n * Creates an instance of Subscriptions.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Subscriptions\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchRq_ _searchRq\n * @returns Promise\n * @memberof Subscriptions\n */\n search(pSearchRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Subscriptions/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SubscriptionSearchResult },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SubscribeRq_ _subscribeRq\n * @returns Promise\n * @memberof Subscriptions\n */\n subscribe(pSubscribeRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Subscriptions\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSubscribeRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UnSubscribeRq_ _unSubscribeRq\n * @returns Promise\n * @memberof Subscriptions\n */\n unSubscribe(pUnSubscribeRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Subscriptions\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pUnSubscribeRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class TaxCode {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TaxCode\n */\n this.$type = \"V1.TaxEngine.TaxCode\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.DistanceSalesCountry = TaxCodeDistanceSalesCountry[_data[\"DistanceSalesCountry\"]];\n this.ReportingCountry = TaxCodeReportingCountry[_data[\"ReportingCountry\"]];\n this.TranTypeCode = _data[\"TranTypeCode\"];\n this.TypeOfGoods = _data[\"TypeOfGoods\"];\n this.VatRateType = TaxCodeVatRateType[_data[\"VatRateType\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"DistanceSalesCountry\"] = TaxCodeDistanceSalesCountry[this.DistanceSalesCountry];\n _data[\"ReportingCountry\"] = TaxCodeReportingCountry[this.ReportingCountry];\n _data[\"TranTypeCode\"] = this.TranTypeCode;\n _data[\"TypeOfGoods\"] = this.TypeOfGoods;\n _data[\"VatRateType\"] = TaxCodeVatRateType[this.VatRateType];\n return _data;\n }\n}\nexport var TaxCodeDistanceSalesCountry = /* @__PURE__ */ ((TaxCodeDistanceSalesCountry2) => {\n TaxCodeDistanceSalesCountry2[\"Arrival\"] = \"Arrival\";\n TaxCodeDistanceSalesCountry2[\"Departure\"] = \"Departure\";\n TaxCodeDistanceSalesCountry2[\"VATReporting\"] = \"VATReporting\";\n return TaxCodeDistanceSalesCountry2;\n})(TaxCodeDistanceSalesCountry || {});\nexport var TaxCodeReportingCountry = /* @__PURE__ */ ((TaxCodeReportingCountry2) => {\n TaxCodeReportingCountry2[\"Arrival\"] = \"Arrival\";\n TaxCodeReportingCountry2[\"Departure\"] = \"Departure\";\n TaxCodeReportingCountry2[\"VATReporting\"] = \"VATReporting\";\n return TaxCodeReportingCountry2;\n})(TaxCodeReportingCountry || {});\nexport var TaxCodeVatRateType = /* @__PURE__ */ ((TaxCodeVatRateType2) => {\n TaxCodeVatRateType2[\"Standard\"] = \"Standard\";\n TaxCodeVatRateType2[\"Standard2\"] = \"Standard2\";\n TaxCodeVatRateType2[\"Reduced\"] = \"Reduced\";\n TaxCodeVatRateType2[\"Reduced2\"] = \"Reduced2\";\n TaxCodeVatRateType2[\"SuperReduced\"] = \"SuperReduced\";\n TaxCodeVatRateType2[\"SuperReduced2\"] = \"SuperReduced2\";\n TaxCodeVatRateType2[\"Exempt\"] = \"Exempt\";\n TaxCodeVatRateType2[\"ZeroRated\"] = \"ZeroRated\";\n TaxCodeVatRateType2[\"Middle\"] = \"Middle\";\n return TaxCodeVatRateType2;\n})(TaxCodeVatRateType || {});\n","import { DateRange } from \"./DateRange\";\nexport class TaxCodeTerm {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TaxCodeTerm\n */\n this.$type = \"V1.TaxEngine.TaxCodeTerm\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Code = TaxCodeTermCode[_data[\"Code\"]];\n if (_data[\"DateRange\"]) {\n const dateRange_ = new DateRange();\n this.DateRange = dateRange_.init(_data[\"DateRange\"]);\n }\n if (_data[\"MultiSelectVal\"] && _data[\"MultiSelectVal\"].constructor === Array) {\n this.MultiSelectVal = [];\n for (let item of _data[\"MultiSelectVal\"]) {\n this.MultiSelectVal.push(item);\n }\n }\n this.NumberVal = _data[\"NumberVal\"];\n this.Operation = TaxCodeTermOperation[_data[\"Operation\"]];\n this.SelectVal = _data[\"SelectVal\"];\n this.Type = TaxCodeTermType[_data[\"Type\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Code\"] = TaxCodeTermCode[this.Code];\n _data[\"DateRange\"] = this.DateRange ? this.DateRange.toJSON() : void 0;\n if (this.MultiSelectVal && this.MultiSelectVal.constructor === Array) {\n _data[\"MultiSelectVal\"] = [];\n for (let item of this.MultiSelectVal) {\n _data[\"MultiSelectVal\"].push(item);\n }\n }\n _data[\"NumberVal\"] = this.NumberVal;\n _data[\"Operation\"] = TaxCodeTermOperation[this.Operation];\n _data[\"SelectVal\"] = this.SelectVal;\n _data[\"Type\"] = TaxCodeTermType[this.Type];\n return _data;\n }\n}\nexport var TaxCodeTermCode = /* @__PURE__ */ ((TaxCodeTermCode2) => {\n TaxCodeTermCode2[\"TransactionType\"] = \"TransactionType\";\n TaxCodeTermCode2[\"EstablishmentCountry\"] = \"EstablishmentCountry\";\n TaxCodeTermCode2[\"DepartureCountry\"] = \"DepartureCountry\";\n TaxCodeTermCode2[\"ArrivalCountry\"] = \"ArrivalCountry\";\n TaxCodeTermCode2[\"CustomerType\"] = \"CustomerType\";\n TaxCodeTermCode2[\"OnlineMarketplace\"] = \"OnlineMarketplace\";\n TaxCodeTermCode2[\"NetConsignmentVal\"] = \"NetConsignmentVal\";\n TaxCodeTermCode2[\"TaxCollectionResponsibility\"] = \"TaxCollectionResponsibility\";\n TaxCodeTermCode2[\"DeliveryCondition\"] = \"DeliveryCondition\";\n TaxCodeTermCode2[\"TransactionDate\"] = \"TransactionDate\";\n TaxCodeTermCode2[\"SourceType\"] = \"SourceType\";\n TaxCodeTermCode2[\"IsRegisteredInArrivalCountry\"] = \"IsRegisteredInArrivalCountry\";\n TaxCodeTermCode2[\"DepartureAndArrivalCountry\"] = \"DepartureAndArrivalCountry\";\n TaxCodeTermCode2[\"AccountWithReverseCharge\"] = \"AccountWithReverseCharge\";\n TaxCodeTermCode2[\"ExportOutsideEU\"] = \"ExportOutsideEU\";\n TaxCodeTermCode2[\"TypeOfSale\"] = \"TypeOfSale\";\n TaxCodeTermCode2[\"PriceOfItem\"] = \"PriceOfItem\";\n TaxCodeTermCode2[\"ClientHasOSSNumber\"] = \"ClientHasOSSNumber\";\n TaxCodeTermCode2[\"OSSRegistrationCountry\"] = \"OSSRegistrationCountry\";\n return TaxCodeTermCode2;\n})(TaxCodeTermCode || {});\nexport var TaxCodeTermOperation = /* @__PURE__ */ ((TaxCodeTermOperation2) => {\n TaxCodeTermOperation2[\"Equals\"] = \"Equals\";\n TaxCodeTermOperation2[\"NotEquals\"] = \"NotEquals\";\n TaxCodeTermOperation2[\"LessThan\"] = \"LessThan\";\n TaxCodeTermOperation2[\"GreaterThan\"] = \"GreaterThan\";\n TaxCodeTermOperation2[\"LessThanEquals\"] = \"LessThanEquals\";\n TaxCodeTermOperation2[\"GreaterThanEquals\"] = \"GreaterThanEquals\";\n TaxCodeTermOperation2[\"In\"] = \"In\";\n TaxCodeTermOperation2[\"NotIn\"] = \"NotIn\";\n TaxCodeTermOperation2[\"Is\"] = \"Is\";\n TaxCodeTermOperation2[\"IsBetween\"] = \"IsBetween\";\n return TaxCodeTermOperation2;\n})(TaxCodeTermOperation || {});\nexport var TaxCodeTermType = /* @__PURE__ */ ((TaxCodeTermType2) => {\n TaxCodeTermType2[\"Select\"] = \"Select\";\n TaxCodeTermType2[\"Multiselect\"] = \"Multiselect\";\n TaxCodeTermType2[\"Number\"] = \"Number\";\n TaxCodeTermType2[\"DateRange\"] = \"DateRange\";\n return TaxCodeTermType2;\n})(TaxCodeTermType || {});\n","import { TaxCodeTerm } from \"./TaxCodeTerm\";\nexport class Condition {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Condition\n */\n this.$type = \"V1.TaxEngine.Condition\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Terms\"] && _data[\"Terms\"].constructor === Array) {\n this.Terms = [];\n for (let item of _data[\"Terms\"]) {\n const terms_ = new TaxCodeTerm();\n this.Terms.push(terms_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Terms && this.Terms.constructor === Array) {\n _data[\"Terms\"] = [];\n for (let item of this.Terms) {\n _data[\"Terms\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TaxCode } from \"./TaxCode\";\nimport { Condition } from \"./Condition\";\nexport class TaxCodeDefinition {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TaxCodeDefinition\n */\n this.$type = \"V1.TaxEngine.TaxCodeDefinition\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"Conditions\"] && _data[\"Conditions\"].constructor === Array) {\n this.Conditions = [];\n for (let item of _data[\"Conditions\"]) {\n const conditions_ = new Condition();\n this.Conditions.push(conditions_.init(item));\n }\n }\n this.Enabled = _data[\"Enabled\"];\n this.Id = _data[\"Id\"];\n this.ReturnType = TaxCodeDefinitionReturnType[_data[\"ReturnType\"]];\n if (_data[\"TaxCode\"]) {\n const taxCode_ = new TaxCode();\n this.TaxCode = taxCode_.init(_data[\"TaxCode\"]);\n }\n this.TaxCodeStr = _data[\"TaxCodeStr\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.Conditions && this.Conditions.constructor === Array) {\n _data[\"Conditions\"] = [];\n for (let item of this.Conditions) {\n _data[\"Conditions\"].push(item.toJSON());\n }\n }\n _data[\"Enabled\"] = this.Enabled;\n _data[\"Id\"] = this.Id;\n _data[\"ReturnType\"] = TaxCodeDefinitionReturnType[this.ReturnType];\n _data[\"TaxCode\"] = this.TaxCode ? this.TaxCode.toJSON() : void 0;\n _data[\"TaxCodeStr\"] = this.TaxCodeStr;\n return _data;\n }\n}\nexport var TaxCodeDefinitionReturnType = /* @__PURE__ */ ((TaxCodeDefinitionReturnType2) => {\n TaxCodeDefinitionReturnType2[\"VAT\"] = \"VAT\";\n TaxCodeDefinitionReturnType2[\"IOSS\"] = \"IOSS\";\n return TaxCodeDefinitionReturnType2;\n})(TaxCodeDefinitionReturnType || {});\n","import { TaxCodeDefinition } from \"./../TaxCodeDefinition\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.TaxEngine.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"TaxCodes\"] && _data[\"TaxCodes\"].constructor === Array) {\n this.TaxCodes = [];\n for (let item of _data[\"TaxCodes\"]) {\n const taxCodes_ = new TaxCodeDefinition();\n this.TaxCodes.push(taxCodes_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.TaxCodes && this.TaxCodes.constructor === Array) {\n _data[\"TaxCodes\"] = [];\n for (let item of this.TaxCodes) {\n _data[\"TaxCodes\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { TaxCodeDefinition } from \"./../models/V1/TaxEngine/TaxCodeDefinition\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { SearchResult } from \"./../models/V1/TaxEngine/Search/SearchResult\";\nexport class TaxCodeDefinitions {\n /**\n * Creates an instance of TaxCodeDefinitions.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof TaxCodeDefinitions\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetTaxCodeByStringRq_ _getTaxCodeByStringRq\n * @returns Promise\n * @memberof TaxCodeDefinitions\n */\n getTaxCodeByString(pGetTaxCodeByStringRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/TaxCodeDefinitions/QueryByCodeStr/{returnType}-{taxCodeStr}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"returnType\", value: pGetTaxCodeByStringRq.returnType, required: true },\n { name: \"taxCodeStr\", value: pGetTaxCodeByStringRq.taxCodeStr, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TaxCodeDefinition },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchTaxCodesRq_ _searchTaxCodesRq\n * @returns Promise\n * @memberof TaxCodeDefinitions\n */\n searchTaxCodes(pSearchTaxCodesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/TaxCodeDefinitions/Search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchTaxCodesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ToggleEnabledRq_ _toggleEnabledRq\n * @returns Promise\n * @memberof TaxCodeDefinitions\n */\n toggleEnabled(pToggleEnabledRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/TaxCodeDefinitions/{taxCodeDefId}/Enabled\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"taxCodeDefId\", value: pToggleEnabledRq.taxCodeDefId, required: true }\n ]);\n client.addBody({ value: pToggleEnabledRq.body, isPrimitive: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddTaxCodeDefRq_ _addTaxCodeDefRq\n * @returns Promise\n * @memberof TaxCodeDefinitions\n */\n addTaxCodeDef(pAddTaxCodeDefRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/TaxCodeDefinitions\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pAddTaxCodeDefRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201, clazz: TaxCodeDefinition },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateTaxCodeDefRq_ _updateTaxCodeDefRq\n * @returns Promise\n * @memberof TaxCodeDefinitions\n */\n updateTaxCodeDef(pUpdateTaxCodeDefRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/TaxCodeDefinitions/{taxCodeDefId}\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"taxCodeDefId\", value: pUpdateTaxCodeDefRq.taxCodeDefId, required: true }\n ]);\n client.addBody({ value: pUpdateTaxCodeDefRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var GetTaxCodeByStringReturnType = /* @__PURE__ */ ((GetTaxCodeByStringReturnType2) => {\n GetTaxCodeByStringReturnType2[\"VAT\"] = \"VAT\";\n GetTaxCodeByStringReturnType2[\"IOSS\"] = \"IOSS\";\n return GetTaxCodeByStringReturnType2;\n})(GetTaxCodeByStringReturnType || {});\n","import { CustomParamBase } from \"./CustomParamBase\";\nexport class CompanyCustomParam extends CustomParamBase {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyCustomParam\n */\n this.$type = \"V1.TemplateMapping.CompanyCustomParam\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Trigger = CompanyCustomParamTrigger[_data[\"Trigger\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Trigger\"] = CompanyCustomParamTrigger[this.Trigger];\n return _data;\n }\n}\nexport var CompanyCustomParamTrigger = /* @__PURE__ */ ((CompanyCustomParamTrigger2) => {\n CompanyCustomParamTrigger2[\"OrderCreated\"] = \"OrderCreated\";\n return CompanyCustomParamTrigger2;\n})(CompanyCustomParamTrigger || {});\n","import { CustomParamBase } from \"./CustomParamBase\";\nexport class VatRegCustomParam extends CustomParamBase {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegCustomParam\n */\n this.$type = \"V1.TemplateMapping.VatRegCustomParam\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.Category = VatRegCustomParamCategory[_data[\"Category\"]];\n this.CompanyType = VatRegCustomParamCompanyType[_data[\"CompanyType\"]];\n this.Country = _data[\"Country\"];\n if (_data[\"EstablishmentCountries\"] && _data[\"EstablishmentCountries\"].constructor === Array) {\n this.EstablishmentCountries = [];\n for (let item of _data[\"EstablishmentCountries\"]) {\n this.EstablishmentCountries.push(item);\n }\n }\n this.RegType = VatRegCustomParamRegType[_data[\"RegType\"]];\n this.Trigger = VatRegCustomParamTrigger[_data[\"Trigger\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"Category\"] = VatRegCustomParamCategory[this.Category];\n _data[\"CompanyType\"] = VatRegCustomParamCompanyType[this.CompanyType];\n _data[\"Country\"] = this.Country;\n if (this.EstablishmentCountries && this.EstablishmentCountries.constructor === Array) {\n _data[\"EstablishmentCountries\"] = [];\n for (let item of this.EstablishmentCountries) {\n _data[\"EstablishmentCountries\"].push(item);\n }\n }\n _data[\"RegType\"] = VatRegCustomParamRegType[this.RegType];\n _data[\"Trigger\"] = VatRegCustomParamTrigger[this.Trigger];\n return _data;\n }\n}\nexport var VatRegCustomParamCategory = /* @__PURE__ */ ((VatRegCustomParamCategory2) => {\n VatRegCustomParamCategory2[\"RequiredElectronicallyOnly\"] = \"RequiredElectronicallyOnly\";\n VatRegCustomParamCategory2[\"RequiredByPost\"] = \"RequiredByPost\";\n VatRegCustomParamCategory2[\"ForInformationOnly\"] = \"ForInformationOnly\";\n return VatRegCustomParamCategory2;\n})(VatRegCustomParamCategory || {});\nexport var VatRegCustomParamCompanyType = /* @__PURE__ */ ((VatRegCustomParamCompanyType2) => {\n VatRegCustomParamCompanyType2[\"Individual\"] = \"Individual\";\n VatRegCustomParamCompanyType2[\"Company\"] = \"Company\";\n return VatRegCustomParamCompanyType2;\n})(VatRegCustomParamCompanyType || {});\nexport var VatRegCustomParamRegType = /* @__PURE__ */ ((VatRegCustomParamRegType2) => {\n VatRegCustomParamRegType2[\"NewReg\"] = \"NewReg\";\n VatRegCustomParamRegType2[\"TakeOver\"] = \"TakeOver\";\n return VatRegCustomParamRegType2;\n})(VatRegCustomParamRegType || {});\nexport var VatRegCustomParamTrigger = /* @__PURE__ */ ((VatRegCustomParamTrigger2) => {\n VatRegCustomParamTrigger2[\"Q11EApproved\"] = \"Q11EApproved\";\n VatRegCustomParamTrigger2[\"Q11ECompleted\"] = \"Q11ECompleted\";\n VatRegCustomParamTrigger2[\"Q11EIncomplete\"] = \"Q11EIncomplete\";\n VatRegCustomParamTrigger2[\"Q11EVerified\"] = \"Q11EVerified\";\n VatRegCustomParamTrigger2[\"CompanyCreated\"] = \"CompanyCreated\";\n VatRegCustomParamTrigger2[\"CompanyRejected\"] = \"CompanyRejected\";\n VatRegCustomParamTrigger2[\"VatRegPending\"] = \"VatRegPending\";\n VatRegCustomParamTrigger2[\"VatRegWaitingForSignature\"] = \"VatRegWaitingForSignature\";\n VatRegCustomParamTrigger2[\"VatRegDocumentsSigned\"] = \"VatRegDocumentsSigned\";\n VatRegCustomParamTrigger2[\"VatRegTranslationInProgress\"] = \"VatRegTranslationInProgress\";\n VatRegCustomParamTrigger2[\"VatRegSentToTA\"] = \"VatRegSentToTA\";\n VatRegCustomParamTrigger2[\"VatRegLocalTaxReceived\"] = \"VatRegLocalTaxReceived\";\n VatRegCustomParamTrigger2[\"VatRegRegistrationCompleted\"] = \"VatRegRegistrationCompleted\";\n return VatRegCustomParamTrigger2;\n})(VatRegCustomParamTrigger || {});\n","import { CustomParamBase } from \"./CustomParamBase\";\nimport { CompanyCustomParam } from \"./CompanyCustomParam\";\nimport { VatRegCustomParam } from \"./VatRegCustomParam\";\nexport class CustomParamBaseFactory {\n static create($type) {\n if ($type === \"V1.TemplateMapping.CustomParamBase\") {\n const result = new CustomParamBase();\n return result;\n }\n if ($type === \"V1.TemplateMapping.CompanyCustomParam\") {\n const result = new CompanyCustomParam();\n return result;\n }\n if ($type === \"V1.TemplateMapping.VatRegCustomParam\") {\n const result = new VatRegCustomParam();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { CustomParamBaseFactory } from \"./CustomParamBaseFactory\";\nimport { TemplateVersionDescription } from \"./TemplateVersionDescription\";\nexport class TemplateResponse {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TemplateResponse\n */\n this.$type = \"V1.TemplateMapping.TemplateResponse\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Culture = _data[\"Culture\"];\n const $typeCustomParam = _data[\"CustomParam\"] && _data[\"CustomParam\"].$type;\n if ($typeCustomParam) {\n const customParam_ = CustomParamBaseFactory.create($typeCustomParam);\n this.CustomParam = customParam_.init(_data[\"CustomParam\"]);\n } else {\n this.CustomParam = _data[\"CustomParam\"];\n }\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.TemplateType = TemplateResponseTemplateType[_data[\"TemplateType\"]];\n if (_data[\"Versions\"] && _data[\"Versions\"].constructor === Array) {\n this.Versions = [];\n for (let item of _data[\"Versions\"]) {\n const versions_ = new TemplateVersionDescription();\n this.Versions.push(versions_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Culture\"] = this.Culture;\n _data[\"CustomParam\"] = this.CustomParam ? this.CustomParam.toJSON() : void 0;\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"TemplateType\"] = TemplateResponseTemplateType[this.TemplateType];\n if (this.Versions && this.Versions.constructor === Array) {\n _data[\"Versions\"] = [];\n for (let item of this.Versions) {\n _data[\"Versions\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var TemplateResponseTemplateType = /* @__PURE__ */ ((TemplateResponseTemplateType2) => {\n TemplateResponseTemplateType2[\"MPVatReg\"] = \"MPVatReg\";\n TemplateResponseTemplateType2[\"MPCompany\"] = \"MPCompany\";\n return TemplateResponseTemplateType2;\n})(TemplateResponseTemplateType || {});\n","export class VatRegTemplateSearchContent {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegTemplateSearchContent\n */\n this.$type = \"V1.TemplateMapping.TemplateSearch.VatRegTemplateSearchContent\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Category = VatRegTemplateSearchContentCategory[_data[\"Category\"]];\n this.CompanyType = VatRegTemplateSearchContentCompanyType[_data[\"CompanyType\"]];\n this.Country = _data[\"Country\"];\n this.Culture = _data[\"Culture\"];\n if (_data[\"EstablishmentCountries\"] && _data[\"EstablishmentCountries\"].constructor === Array) {\n this.EstablishmentCountries = [];\n for (let item of _data[\"EstablishmentCountries\"]) {\n this.EstablishmentCountries.push(item);\n }\n }\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.RegistrationType = VatRegTemplateSearchContentRegistrationType[_data[\"RegistrationType\"]];\n this.TemplateStatus = VatRegTemplateSearchContentTemplateStatus[_data[\"TemplateStatus\"]];\n this.Trigger = VatRegTemplateSearchContentTrigger[_data[\"Trigger\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Category\"] = VatRegTemplateSearchContentCategory[this.Category];\n _data[\"CompanyType\"] = VatRegTemplateSearchContentCompanyType[this.CompanyType];\n _data[\"Country\"] = this.Country;\n _data[\"Culture\"] = this.Culture;\n if (this.EstablishmentCountries && this.EstablishmentCountries.constructor === Array) {\n _data[\"EstablishmentCountries\"] = [];\n for (let item of this.EstablishmentCountries) {\n _data[\"EstablishmentCountries\"].push(item);\n }\n }\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"RegistrationType\"] = VatRegTemplateSearchContentRegistrationType[this.RegistrationType];\n _data[\"TemplateStatus\"] = VatRegTemplateSearchContentTemplateStatus[this.TemplateStatus];\n _data[\"Trigger\"] = VatRegTemplateSearchContentTrigger[this.Trigger];\n return _data;\n }\n}\nexport var VatRegTemplateSearchContentCategory = /* @__PURE__ */ ((VatRegTemplateSearchContentCategory2) => {\n VatRegTemplateSearchContentCategory2[\"RequiredElectronicallyOnly\"] = \"RequiredElectronicallyOnly\";\n VatRegTemplateSearchContentCategory2[\"RequiredByPost\"] = \"RequiredByPost\";\n VatRegTemplateSearchContentCategory2[\"ForInformationOnly\"] = \"ForInformationOnly\";\n return VatRegTemplateSearchContentCategory2;\n})(VatRegTemplateSearchContentCategory || {});\nexport var VatRegTemplateSearchContentCompanyType = /* @__PURE__ */ ((VatRegTemplateSearchContentCompanyType2) => {\n VatRegTemplateSearchContentCompanyType2[\"Individual\"] = \"Individual\";\n VatRegTemplateSearchContentCompanyType2[\"Company\"] = \"Company\";\n return VatRegTemplateSearchContentCompanyType2;\n})(VatRegTemplateSearchContentCompanyType || {});\nexport var VatRegTemplateSearchContentRegistrationType = /* @__PURE__ */ ((VatRegTemplateSearchContentRegistrationType2) => {\n VatRegTemplateSearchContentRegistrationType2[\"NewReg\"] = \"NewReg\";\n VatRegTemplateSearchContentRegistrationType2[\"TakeOver\"] = \"TakeOver\";\n return VatRegTemplateSearchContentRegistrationType2;\n})(VatRegTemplateSearchContentRegistrationType || {});\nexport var VatRegTemplateSearchContentTemplateStatus = /* @__PURE__ */ ((VatRegTemplateSearchContentTemplateStatus2) => {\n VatRegTemplateSearchContentTemplateStatus2[\"Draft\"] = \"Draft\";\n VatRegTemplateSearchContentTemplateStatus2[\"Enabled\"] = \"Enabled\";\n VatRegTemplateSearchContentTemplateStatus2[\"Disabled\"] = \"Disabled\";\n return VatRegTemplateSearchContentTemplateStatus2;\n})(VatRegTemplateSearchContentTemplateStatus || {});\nexport var VatRegTemplateSearchContentTrigger = /* @__PURE__ */ ((VatRegTemplateSearchContentTrigger2) => {\n VatRegTemplateSearchContentTrigger2[\"Q11EApproved\"] = \"Q11EApproved\";\n VatRegTemplateSearchContentTrigger2[\"Q11ECompleted\"] = \"Q11ECompleted\";\n VatRegTemplateSearchContentTrigger2[\"Q11EIncomplete\"] = \"Q11EIncomplete\";\n VatRegTemplateSearchContentTrigger2[\"Q11EVerified\"] = \"Q11EVerified\";\n VatRegTemplateSearchContentTrigger2[\"CompanyCreated\"] = \"CompanyCreated\";\n VatRegTemplateSearchContentTrigger2[\"CompanyRejected\"] = \"CompanyRejected\";\n VatRegTemplateSearchContentTrigger2[\"VatRegPending\"] = \"VatRegPending\";\n VatRegTemplateSearchContentTrigger2[\"VatRegWaitingForSignature\"] = \"VatRegWaitingForSignature\";\n VatRegTemplateSearchContentTrigger2[\"VatRegDocumentsSigned\"] = \"VatRegDocumentsSigned\";\n VatRegTemplateSearchContentTrigger2[\"VatRegTranslationInProgress\"] = \"VatRegTranslationInProgress\";\n VatRegTemplateSearchContentTrigger2[\"VatRegSentToTA\"] = \"VatRegSentToTA\";\n VatRegTemplateSearchContentTrigger2[\"VatRegLocalTaxReceived\"] = \"VatRegLocalTaxReceived\";\n VatRegTemplateSearchContentTrigger2[\"VatRegRegistrationCompleted\"] = \"VatRegRegistrationCompleted\";\n return VatRegTemplateSearchContentTrigger2;\n})(VatRegTemplateSearchContentTrigger || {});\n","import { VatRegTemplateSearchContent } from \"./VatRegTemplateSearchContent\";\nexport class VatRegTemplateSearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRegTemplateSearchResult\n */\n this.$type = \"V1.TemplateMapping.TemplateSearch.VatRegTemplateSearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"TemplateSearchContents\"] && _data[\"TemplateSearchContents\"].constructor === Array) {\n this.TemplateSearchContents = [];\n for (let item of _data[\"TemplateSearchContents\"]) {\n const templateSearchContents_ = new VatRegTemplateSearchContent();\n this.TemplateSearchContents.push(templateSearchContents_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.TemplateSearchContents && this.TemplateSearchContents.constructor === Array) {\n _data[\"TemplateSearchContents\"] = [];\n for (let item of this.TemplateSearchContents) {\n _data[\"TemplateSearchContents\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","export class CompanyTemplateSearchContent {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyTemplateSearchContent\n */\n this.$type = \"V1.TemplateMapping.TemplateSearch.CompanyTemplateSearchContent\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Culture = _data[\"Culture\"];\n this.Id = _data[\"Id\"];\n this.Name = _data[\"Name\"];\n this.TemplateStatus = CompanyTemplateSearchContentTemplateStatus[_data[\"TemplateStatus\"]];\n this.Trigger = CompanyTemplateSearchContentTrigger[_data[\"Trigger\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Culture\"] = this.Culture;\n _data[\"Id\"] = this.Id;\n _data[\"Name\"] = this.Name;\n _data[\"TemplateStatus\"] = CompanyTemplateSearchContentTemplateStatus[this.TemplateStatus];\n _data[\"Trigger\"] = CompanyTemplateSearchContentTrigger[this.Trigger];\n return _data;\n }\n}\nexport var CompanyTemplateSearchContentTemplateStatus = /* @__PURE__ */ ((CompanyTemplateSearchContentTemplateStatus2) => {\n CompanyTemplateSearchContentTemplateStatus2[\"Draft\"] = \"Draft\";\n CompanyTemplateSearchContentTemplateStatus2[\"Enabled\"] = \"Enabled\";\n CompanyTemplateSearchContentTemplateStatus2[\"Disabled\"] = \"Disabled\";\n return CompanyTemplateSearchContentTemplateStatus2;\n})(CompanyTemplateSearchContentTemplateStatus || {});\nexport var CompanyTemplateSearchContentTrigger = /* @__PURE__ */ ((CompanyTemplateSearchContentTrigger2) => {\n CompanyTemplateSearchContentTrigger2[\"OrderCreated\"] = \"OrderCreated\";\n return CompanyTemplateSearchContentTrigger2;\n})(CompanyTemplateSearchContentTrigger || {});\n","import { CompanyTemplateSearchContent } from \"./CompanyTemplateSearchContent\";\nexport class CompanyTemplateSearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof CompanyTemplateSearchResult\n */\n this.$type = \"V1.TemplateMapping.TemplateSearch.CompanyTemplateSearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Count = _data[\"Count\"];\n if (_data[\"TemplateSearchContents\"] && _data[\"TemplateSearchContents\"].constructor === Array) {\n this.TemplateSearchContents = [];\n for (let item of _data[\"TemplateSearchContents\"]) {\n const templateSearchContents_ = new CompanyTemplateSearchContent();\n this.TemplateSearchContents.push(templateSearchContents_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Count\"] = this.Count;\n if (this.TemplateSearchContents && this.TemplateSearchContents.constructor === Array) {\n _data[\"TemplateSearchContents\"] = [];\n for (let item of this.TemplateSearchContents) {\n _data[\"TemplateSearchContents\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../converters/DateConverter\";\nexport class Term {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof Term\n */\n this.$type = \"V1.TemplateMapping.Term\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.DateTimeValue = DateConverter.from(_data[\"DateTimeValue\"]);\n this.DSFieldType = TermDSFieldType[_data[\"DSFieldType\"]];\n this.Not = _data[\"Not\"];\n this.NumberValue = _data[\"NumberValue\"];\n this.Path = _data[\"Path\"];\n this.StringValue = _data[\"StringValue\"];\n this.TermOperator = TermTermOperator[_data[\"TermOperator\"]];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"DateTimeValue\"] = DateConverter.toIsoUtcString(this.DateTimeValue);\n _data[\"DSFieldType\"] = TermDSFieldType[this.DSFieldType];\n _data[\"Not\"] = this.Not;\n _data[\"NumberValue\"] = this.NumberValue;\n _data[\"Path\"] = this.Path;\n _data[\"StringValue\"] = this.StringValue;\n _data[\"TermOperator\"] = TermTermOperator[this.TermOperator];\n return _data;\n }\n}\nexport var TermDSFieldType = /* @__PURE__ */ ((TermDSFieldType2) => {\n TermDSFieldType2[\"String\"] = \"String\";\n TermDSFieldType2[\"Decimal\"] = \"Decimal\";\n TermDSFieldType2[\"Int\"] = \"Int\";\n TermDSFieldType2[\"DateTime\"] = \"DateTime\";\n TermDSFieldType2[\"Enum\"] = \"Enum\";\n TermDSFieldType2[\"Boolean\"] = \"Boolean\";\n TermDSFieldType2[\"Unsupported\"] = \"Unsupported\";\n return TermDSFieldType2;\n})(TermDSFieldType || {});\nexport var TermTermOperator = /* @__PURE__ */ ((TermTermOperator2) => {\n TermTermOperator2[\"Eq\"] = \"Eq\";\n TermTermOperator2[\"In\"] = \"In\";\n TermTermOperator2[\"Gt\"] = \"Gt\";\n TermTermOperator2[\"Lt\"] = \"Lt\";\n TermTermOperator2[\"Lte\"] = \"Lte\";\n TermTermOperator2[\"Gte\"] = \"Gte\";\n return TermTermOperator2;\n})(TermTermOperator || {});\n","import { Term } from \"./Term\";\nimport { MappingExpressionBase } from \"./MappingExpressionBase\";\nexport class ConditionExpression extends MappingExpressionBase {\n constructor(_data) {\n super();\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof ConditionExpression\n */\n this.$type = \"V1.TemplateMapping.ConditionExpression\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n super.init(_data);\n if (_data) {\n this.BoolOperator = ConditionExpressionBoolOperator[_data[\"BoolOperator\"]];\n if (_data[\"Terms\"] && _data[\"Terms\"].constructor === Array) {\n this.Terms = [];\n for (let item of _data[\"Terms\"]) {\n const terms_ = new Term();\n this.Terms.push(terms_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n super.toJSON(_data);\n _data[\"BoolOperator\"] = ConditionExpressionBoolOperator[this.BoolOperator];\n if (this.Terms && this.Terms.constructor === Array) {\n _data[\"Terms\"] = [];\n for (let item of this.Terms) {\n _data[\"Terms\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\nexport var ConditionExpressionBoolOperator = /* @__PURE__ */ ((ConditionExpressionBoolOperator2) => {\n ConditionExpressionBoolOperator2[\"And\"] = \"And\";\n ConditionExpressionBoolOperator2[\"Or\"] = \"Or\";\n return ConditionExpressionBoolOperator2;\n})(ConditionExpressionBoolOperator || {});\n","import { MappingExpressionBase } from \"./MappingExpressionBase\";\nimport { ConcatExpression } from \"./ConcatExpression\";\nimport { ConditionExpression } from \"./ConditionExpression\";\nimport { DateExpression } from \"./DateExpression\";\nimport { EnumExpression } from \"./EnumExpression\";\nimport { IdentityExpression } from \"./IdentityExpression\";\nimport { SubstringExpression } from \"./SubstringExpression\";\nexport class MappingExpressionBaseFactory {\n static create($type) {\n if ($type === \"V1.TemplateMapping.MappingExpressionBase\") {\n const result = new MappingExpressionBase();\n return result;\n }\n if ($type === \"V1.TemplateMapping.ConcatExpression\") {\n const result = new ConcatExpression();\n return result;\n }\n if ($type === \"V1.TemplateMapping.ConditionExpression\") {\n const result = new ConditionExpression();\n return result;\n }\n if ($type === \"V1.TemplateMapping.DateExpression\") {\n const result = new DateExpression();\n return result;\n }\n if ($type === \"V1.TemplateMapping.EnumExpression\") {\n const result = new EnumExpression();\n return result;\n }\n if ($type === \"V1.TemplateMapping.IdentityExpression\") {\n const result = new IdentityExpression();\n return result;\n }\n if ($type === \"V1.TemplateMapping.SubstringExpression\") {\n const result = new SubstringExpression();\n return result;\n }\n throw new Error($type + \" not found\");\n }\n}\n","import { MappingExpressionBaseFactory } from \"./MappingExpressionBaseFactory\";\nexport class MappingItem {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof MappingItem\n */\n this.$type = \"V1.TemplateMapping.MappingItem\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"EnumSourceValues\"] && _data[\"EnumSourceValues\"].constructor === Array) {\n this.EnumSourceValues = [];\n for (let item of _data[\"EnumSourceValues\"]) {\n this.EnumSourceValues.push(item);\n }\n }\n const $typeExpression = _data[\"Expression\"] && _data[\"Expression\"].$type;\n if ($typeExpression) {\n const expression_ = MappingExpressionBaseFactory.create($typeExpression);\n this.Expression = expression_.init(_data[\"Expression\"]);\n } else {\n this.Expression = _data[\"Expression\"];\n }\n this.Id = _data[\"Id\"];\n this.PdfFieldName = _data[\"PdfFieldName\"];\n this.TemplateVersionId = _data[\"TemplateVersionId\"];\n this.Type = _data[\"Type\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.EnumSourceValues && this.EnumSourceValues.constructor === Array) {\n _data[\"EnumSourceValues\"] = [];\n for (let item of this.EnumSourceValues) {\n _data[\"EnumSourceValues\"].push(item);\n }\n }\n _data[\"Expression\"] = this.Expression ? this.Expression.toJSON() : void 0;\n _data[\"Id\"] = this.Id;\n _data[\"PdfFieldName\"] = this.PdfFieldName;\n _data[\"TemplateVersionId\"] = this.TemplateVersionId;\n _data[\"Type\"] = this.Type;\n return _data;\n }\n}\n","import { DateConverter } from \"./../../../converters/DateConverter\";\nimport { MappingItem } from \"./MappingItem\";\nimport { PdfField } from \"./PdfField\";\nexport class TemplateVersion {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TemplateVersion\n */\n this.$type = \"V1.TemplateMapping.TemplateVersion\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Created = DateConverter.from(_data[\"Created\"]);\n this.CreatedBy = _data[\"CreatedBy\"];\n this.Disabled = _data[\"Disabled\"];\n this.Draft = _data[\"Draft\"];\n this.Id = _data[\"Id\"];\n if (_data[\"MappingItems\"] && _data[\"MappingItems\"].constructor === Array) {\n this.MappingItems = [];\n for (let item of _data[\"MappingItems\"]) {\n const mappingItems_ = new MappingItem();\n this.MappingItems.push(mappingItems_.init(item));\n }\n }\n if (_data[\"PdfFields\"] && _data[\"PdfFields\"].constructor === Array) {\n this.PdfFields = [];\n for (let item of _data[\"PdfFields\"]) {\n const pdfFields_ = new PdfField();\n this.PdfFields.push(pdfFields_.init(item));\n }\n }\n this.TemplateId = _data[\"TemplateId\"];\n this.TemplateName = _data[\"TemplateName\"];\n this.TemplateReference = _data[\"TemplateReference\"];\n this.Updated = DateConverter.from(_data[\"Updated\"]);\n this.UpdatedBy = _data[\"UpdatedBy\"];\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n this.Version = _data[\"Version\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Created\"] = DateConverter.toIsoUtcString(this.Created);\n _data[\"CreatedBy\"] = this.CreatedBy;\n _data[\"Disabled\"] = this.Disabled;\n _data[\"Draft\"] = this.Draft;\n _data[\"Id\"] = this.Id;\n if (this.MappingItems && this.MappingItems.constructor === Array) {\n _data[\"MappingItems\"] = [];\n for (let item of this.MappingItems) {\n _data[\"MappingItems\"].push(item.toJSON());\n }\n }\n if (this.PdfFields && this.PdfFields.constructor === Array) {\n _data[\"PdfFields\"] = [];\n for (let item of this.PdfFields) {\n _data[\"PdfFields\"].push(item.toJSON());\n }\n }\n _data[\"TemplateId\"] = this.TemplateId;\n _data[\"TemplateName\"] = this.TemplateName;\n _data[\"TemplateReference\"] = this.TemplateReference;\n _data[\"Updated\"] = DateConverter.toIsoUtcString(this.Updated);\n _data[\"UpdatedBy\"] = this.UpdatedBy;\n _data[\"ValidFrom\"] = DateConverter.toIsoUtcString(this.ValidFrom);\n _data[\"Version\"] = this.Version;\n return _data;\n }\n}\n","export class PdfFieldValue {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PdfFieldValue\n */\n this.$type = \"V1.TemplateMapping.PdfFieldValue\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Name = _data[\"Name\"];\n this.Type = PdfFieldValueType[_data[\"Type\"]];\n if (_data[\"Values\"] && _data[\"Values\"].constructor === Array) {\n this.Values = [];\n for (let item of _data[\"Values\"]) {\n this.Values.push(item);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Name\"] = this.Name;\n _data[\"Type\"] = PdfFieldValueType[this.Type];\n if (this.Values && this.Values.constructor === Array) {\n _data[\"Values\"] = [];\n for (let item of this.Values) {\n _data[\"Values\"].push(item);\n }\n }\n return _data;\n }\n}\nexport var PdfFieldValueType = /* @__PURE__ */ ((PdfFieldValueType2) => {\n PdfFieldValueType2[\"Unknown\"] = \"Unknown\";\n PdfFieldValueType2[\"Checkbox\"] = \"Checkbox\";\n PdfFieldValueType2[\"Dropdown\"] = \"Dropdown\";\n PdfFieldValueType2[\"Text\"] = \"Text\";\n return PdfFieldValueType2;\n})(PdfFieldValueType || {});\n","import { PdfFieldValue } from \"./PdfFieldValue\";\nexport class PdfFieldResponse {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof PdfFieldResponse\n */\n this.$type = \"V1.TemplateMapping.PdfFieldResponse\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n if (_data[\"SupportedFields\"] && _data[\"SupportedFields\"].constructor === Array) {\n this.SupportedFields = [];\n for (let item of _data[\"SupportedFields\"]) {\n const supportedFields_ = new PdfFieldValue();\n this.SupportedFields.push(supportedFields_.init(item));\n }\n }\n this.TemplateReference = _data[\"TemplateReference\"];\n if (_data[\"UnsupportedFields\"] && _data[\"UnsupportedFields\"].constructor === Array) {\n this.UnsupportedFields = [];\n for (let item of _data[\"UnsupportedFields\"]) {\n const unsupportedFields_ = new PdfFieldValue();\n this.UnsupportedFields.push(unsupportedFields_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n if (this.SupportedFields && this.SupportedFields.constructor === Array) {\n _data[\"SupportedFields\"] = [];\n for (let item of this.SupportedFields) {\n _data[\"SupportedFields\"].push(item.toJSON());\n }\n }\n _data[\"TemplateReference\"] = this.TemplateReference;\n if (this.UnsupportedFields && this.UnsupportedFields.constructor === Array) {\n _data[\"UnsupportedFields\"] = [];\n for (let item of this.UnsupportedFields) {\n _data[\"UnsupportedFields\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { TemplateResponse } from \"./../models/V1/TemplateMapping/TemplateResponse\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { VatRegTemplateSearchResult } from \"./../models/V1/TemplateMapping/TemplateSearch/VatRegTemplateSearchResult\";\nimport { CompanyTemplateSearchResult } from \"./../models/V1/TemplateMapping/TemplateSearch/CompanyTemplateSearchResult\";\nimport { TemplateVersion } from \"./../models/V1/TemplateMapping/TemplateVersion\";\nimport { MappingItem } from \"./../models/V1/TemplateMapping/MappingItem\";\nimport { PdfFieldResponse } from \"./../models/V1/TemplateMapping/PdfFieldResponse\";\nexport class Templates {\n /**\n * Creates an instance of Templates.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof Templates\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetTemplateRq_ _getTemplateRq\n * @returns Promise\n * @memberof Templates\n */\n getTemplate(pGetTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pGetTemplateRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TemplateResponse },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchVatRegTemplatesRq_ _searchVatRegTemplatesRq\n * @returns Promise\n * @memberof Templates\n */\n searchVatRegTemplates(pSearchVatRegTemplatesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/search/vatregistration\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchVatRegTemplatesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: VatRegTemplateSearchResult }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchCompanyTemplatesRq_ _searchCompanyTemplatesRq\n * @returns Promise\n * @memberof Templates\n */\n searchCompanyTemplates(pSearchCompanyTemplatesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/search/company\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchCompanyTemplatesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: CompanyTemplateSearchResult }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetTemplatesRq_ _getTemplatesRq\n * @returns Promise\n * @memberof Templates\n */\n getTemplates(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TemplateResponse, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateTemplateRq_ _updateTemplateRq\n * @returns Promise\n * @memberof Templates\n */\n updateTemplate(pUpdateTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pUpdateTemplateRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param AddTemplateRq_ _addTemplateRq\n * @returns Promise\n * @memberof Templates\n */\n addTemplate(pAddTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pAddTemplateRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 201, clazz: TemplateResponse }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DeleteTemplateVersionRq_ _deleteTemplateVersionRq\n * @returns Promise\n * @memberof Templates\n */\n deleteTemplateVersion(pDeleteTemplateVersionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/{templateVersion}\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pDeleteTemplateVersionRq.templateId, required: true },\n { name: \"templateVersion\", value: pDeleteTemplateVersionRq.templateVersion, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param PublishTemplateVersionRq_ _publishTemplateVersionRq\n * @returns Promise\n * @memberof Templates\n */\n publishTemplateVersion(pPublishTemplateVersionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/{templateVersion}/publish\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pPublishTemplateVersionRq.templateId, required: true },\n { name: \"templateVersion\", value: pPublishTemplateVersionRq.templateVersion, required: true }\n ]);\n client.addBody({ value: pPublishTemplateVersionRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param EnableTemplateVersionRq_ _enableTemplateVersionRq\n * @returns Promise\n * @memberof Templates\n */\n enableTemplateVersion(pEnableTemplateVersionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/{templateVersion}/enable\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pEnableTemplateVersionRq.templateId, required: true },\n { name: \"templateVersion\", value: pEnableTemplateVersionRq.templateVersion, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DisableTemplateVersionRq_ _disableTemplateVersionRq\n * @returns Promise\n * @memberof Templates\n */\n disableTemplateVersion(pDisableTemplateVersionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/{templateVersion}/enable\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pDisableTemplateVersionRq.templateId, required: true },\n { name: \"templateVersion\", value: pDisableTemplateVersionRq.templateVersion, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetTemplateVersionRq_ _getTemplateVersionRq\n * @returns Promise\n * @memberof Templates\n */\n getTemplateVersion(pGetTemplateVersionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/{templateVersion}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pGetTemplateVersionRq.templateId, required: true },\n { name: \"templateVersion\", value: pGetTemplateVersionRq.templateVersion, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TemplateVersion },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CreateDraftTemplateVersionRq_ _createDraftTemplateVersionRq\n * @returns Promise\n * @memberof Templates\n */\n createDraftTemplateVersion(pCreateDraftTemplateVersionRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/draft\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pCreateDraftTemplateVersionRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TemplateVersion }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CloneTemplateVersionToDraftRq_ _cloneTemplateVersionToDraftRq\n * @returns Promise\n * @memberof Templates\n */\n cloneTemplateVersionToDraft(pCloneTemplateVersionToDraftRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/{templateVersion}/clone\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pCloneTemplateVersionToDraftRq.templateId, required: true },\n { name: \"templateVersion\", value: pCloneTemplateVersionToDraftRq.templateVersion, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TemplateVersion },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SaveMappingsRq_ _saveMappingsRq\n * @returns Promise\n * @memberof Templates\n */\n saveMappings(pSaveMappingsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/{templateVersion}/mappings\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pSaveMappingsRq.templateId, required: true },\n { name: \"templateVersion\", value: pSaveMappingsRq.templateVersion, required: true }\n ]);\n client.addBody({ value: pSaveMappingsRq.body, isArray: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: MappingItem, isArray: true },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param RemoveMappingRq_ _removeMappingRq\n * @returns Promise\n * @memberof Templates\n */\n removeMapping(pRemoveMappingRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/{templateVersion}/mappings/{pdfFieldName}\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pRemoveMappingRq.templateId, required: true },\n { name: \"templateVersion\", value: pRemoveMappingRq.templateVersion, required: true },\n { name: \"pdfFieldName\", value: pRemoveMappingRq.pdfFieldName, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadPdfTemplateRq_ _uploadPdfTemplateRq\n * @returns Promise\n * @memberof Templates\n */\n uploadPdfTemplate(pUploadPdfTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/{templateVersion}/uploadPdfTemplate\",\n \"PUT\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pUploadPdfTemplateRq.templateId, required: true },\n { name: \"templateVersion\", value: pUploadPdfTemplateRq.templateVersion, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadPdfTemplateRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: PdfFieldResponse },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadPdfTemplateRq_ _downloadPdfTemplateRq\n * @returns Promise\n * @memberof Templates\n */\n downloadPdfTemplate(pDownloadPdfTemplateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/Templates/{templateId}/versions/{templateVersion}/downloadPdfTemplate\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"templateId\", value: pDownloadPdfTemplateRq.templateId, required: true },\n { name: \"templateVersion\", value: pDownloadPdfTemplateRq.templateVersion, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class TemplateTypeDescription {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof TemplateTypeDescription\n */\n this.$type = \"V1.TemplateMapping.TemplateTypeDescription\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.Id = TemplateTypeDescriptionId[_data[\"Id\"]];\n this.Label = _data[\"Label\"];\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"Id\"] = TemplateTypeDescriptionId[this.Id];\n _data[\"Label\"] = this.Label;\n return _data;\n }\n}\nexport var TemplateTypeDescriptionId = /* @__PURE__ */ ((TemplateTypeDescriptionId2) => {\n TemplateTypeDescriptionId2[\"MPVatReg\"] = \"MPVatReg\";\n TemplateTypeDescriptionId2[\"MPCompany\"] = \"MPCompany\";\n return TemplateTypeDescriptionId2;\n})(TemplateTypeDescriptionId || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { TemplateTypeDescription } from \"./../models/V1/TemplateMapping/TemplateTypeDescription\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class TemplateTypes {\n /**\n * Creates an instance of TemplateTypes.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof TemplateTypes\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetTemplateTypesRq_ _getTemplateTypesRq\n * @returns Promise\n * @memberof TemplateTypes\n */\n getTemplateTypes(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/TemplateTypes\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: TemplateTypeDescription, isArray: true },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","import { DateConverter } from \"./../../../../converters/DateConverter\";\nexport class VatRateTypeSetting {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof VatRateTypeSetting\n */\n this.$type = \"V1.VatRateTypeSettings.Search.VatRateTypeSetting\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.CountryCode = _data[\"CountryCode\"];\n this.Rate = _data[\"Rate\"];\n this.Type = VatRateTypeSettingType[_data[\"Type\"]];\n this.ValidFrom = DateConverter.from(_data[\"ValidFrom\"]);\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"CountryCode\"] = this.CountryCode;\n _data[\"Rate\"] = this.Rate;\n _data[\"Type\"] = VatRateTypeSettingType[this.Type];\n _data[\"ValidFrom\"] = DateConverter.toUtcDateString(this.ValidFrom);\n return _data;\n }\n}\nexport var VatRateTypeSettingType = /* @__PURE__ */ ((VatRateTypeSettingType2) => {\n VatRateTypeSettingType2[\"Standard\"] = \"Standard\";\n VatRateTypeSettingType2[\"Standard2\"] = \"Standard2\";\n VatRateTypeSettingType2[\"Reduced\"] = \"Reduced\";\n VatRateTypeSettingType2[\"Reduced2\"] = \"Reduced2\";\n VatRateTypeSettingType2[\"SuperReduced\"] = \"SuperReduced\";\n VatRateTypeSettingType2[\"SuperReduced2\"] = \"SuperReduced2\";\n VatRateTypeSettingType2[\"Exempt\"] = \"Exempt\";\n VatRateTypeSettingType2[\"ZeroRated\"] = \"ZeroRated\";\n VatRateTypeSettingType2[\"Middle\"] = \"Middle\";\n return VatRateTypeSettingType2;\n})(VatRateTypeSettingType || {});\n","import { VatRateTypeSetting } from \"./VatRateTypeSetting\";\nexport class SearchResult {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof SearchResult\n */\n this.$type = \"V1.VatRateTypeSettings.Search.SearchResult\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.TotalCount = _data[\"TotalCount\"];\n if (_data[\"VatRateTypeSettings\"] && _data[\"VatRateTypeSettings\"].constructor === Array) {\n this.VatRateTypeSettings = [];\n for (let item of _data[\"VatRateTypeSettings\"]) {\n const vatRateTypeSettings_ = new VatRateTypeSetting();\n this.VatRateTypeSettings.push(vatRateTypeSettings_.init(item));\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"TotalCount\"] = this.TotalCount;\n if (this.VatRateTypeSettings && this.VatRateTypeSettings.constructor === Array) {\n _data[\"VatRateTypeSettings\"] = [];\n for (let item of this.VatRateTypeSettings) {\n _data[\"VatRateTypeSettings\"].push(item.toJSON());\n }\n }\n return _data;\n }\n}\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { SearchResult } from \"./../models/V1/VatRateTypeSettings/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class VATRateTypeSettings {\n /**\n * Creates an instance of VATRateTypeSettings.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof VATRateTypeSettings\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param SearchRq_ _searchRq\n * @returns Promise\n * @memberof VATRateTypeSettings\n */\n search(pSearchRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VATRateTypeSettings/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportRq_ _exportRq\n * @returns Promise\n * @memberof VATRateTypeSettings\n */\n export(pExportRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VATRateTypeSettings/export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv, application/json\",\n options\n );\n client.addBody({ value: pExportRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param CreateVATRateRq_ _createVATRateRq\n * @returns Promise\n * @memberof VATRateTypeSettings\n */\n createVATRate(pCreateVATRateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VATRateTypeSettings/{countryCode}/vatrate\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"countryCode\", value: pCreateVATRateRq.countryCode, required: true }\n ]);\n client.addBody({ value: pCreateVATRateRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","export class DataSourceField {\n constructor(_data) {\n /**\n * Adds support for polymorphism. The discriminator is the schema property\n * name that is used to differentiate between other schema that inherit this\n * schema.\n *\n * @protected\n * @type {string}\n * @memberof DataSourceField\n */\n this.$type = \"V1.DocGenerator.DataSourceField\";\n if (_data) {\n for (const property in _data) {\n if (_data.hasOwnProperty(property)) {\n this[property] = _data[property];\n }\n }\n }\n }\n /**\n * Initializes a new model instance.\n */\n init(_data) {\n if (_data) {\n this.FieldType = DataSourceFieldFieldType[_data[\"FieldType\"]];\n this.Name = _data[\"Name\"];\n this.Value = _data[\"Value\"];\n if (_data[\"Values\"] && _data[\"Values\"].constructor === Array) {\n this.Values = [];\n for (let item of _data[\"Values\"]) {\n this.Values.push(item);\n }\n }\n }\n return this;\n }\n toJSON(_data) {\n _data = typeof _data === \"object\" ? _data : {};\n _data[\"FieldType\"] = DataSourceFieldFieldType[this.FieldType];\n _data[\"Name\"] = this.Name;\n _data[\"Value\"] = this.Value;\n if (this.Values && this.Values.constructor === Array) {\n _data[\"Values\"] = [];\n for (let item of this.Values) {\n _data[\"Values\"].push(item);\n }\n }\n return _data;\n }\n}\nexport var DataSourceFieldFieldType = /* @__PURE__ */ ((DataSourceFieldFieldType2) => {\n DataSourceFieldFieldType2[\"String\"] = \"String\";\n DataSourceFieldFieldType2[\"Decimal\"] = \"Decimal\";\n DataSourceFieldFieldType2[\"Int\"] = \"Int\";\n DataSourceFieldFieldType2[\"DateTime\"] = \"DateTime\";\n DataSourceFieldFieldType2[\"Enum\"] = \"Enum\";\n DataSourceFieldFieldType2[\"Boolean\"] = \"Boolean\";\n DataSourceFieldFieldType2[\"Unsupported\"] = \"Unsupported\";\n return DataSourceFieldFieldType2;\n})(DataSourceFieldFieldType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nimport { PossibleStatusChange } from \"./../models/V1/Company/VatRegistration/PossibleStatusChange\";\nimport { VatRegSearchResult } from \"./../models/V1/Company/VatRegistration/Search/VatRegSearchResult\";\nimport { DataSourceField } from \"./../models/V1/DocGenerator/DataSourceField\";\nimport { PredefinedBankAccount } from \"./../models/V1/CompanyInfo/VatRegistration/PredefinedBankAccount\";\nexport class VatRegistration {\n /**\n * Creates an instance of VatRegistration.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof VatRegistration\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param DownloadVatRegDocumentRq_ _downloadVatRegDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadVatRegDocument(pDownloadVatRegDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/template/{templateId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addQueryParams([\n { name: \"type\", value: pDownloadVatRegDocumentRq.type }\n ]);\n client.addPathParams([\n { name: \"companyId\", value: pDownloadVatRegDocumentRq.companyId, required: true },\n { name: \"vatRegId\", value: pDownloadVatRegDocumentRq.vatRegId, required: true },\n { name: \"templateId\", value: pDownloadVatRegDocumentRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadSignedVatRegDocumentRq_ _uploadSignedVatRegDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n uploadSignedVatRegDocument(pUploadSignedVatRegDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/template/{templateId}/signed\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadSignedVatRegDocumentRq.companyId, required: true },\n { name: \"vatRegId\", value: pUploadSignedVatRegDocumentRq.vatRegId, required: true },\n { name: \"templateId\", value: pUploadSignedVatRegDocumentRq.templateId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadSignedVatRegDocumentRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetAvailableStatusChangesRq_ _getAvailableStatusChangesRq\n * @returns Promise\n * @memberof VatRegistration\n */\n getAvailableStatusChanges(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/registrations/statuses\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: PossibleStatusChange, isArray: true },\n { statusCode: 403, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeVatRegStatusRq_ _changeVatRegStatusRq\n * @returns Promise\n * @memberof VatRegistration\n */\n changeVatRegStatus(pChangeVatRegStatusRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/status\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangeVatRegStatusRq.companyId, required: true },\n { name: \"vatRegId\", value: pChangeVatRegStatusRq.vatRegId, required: true }\n ]);\n client.addBody({ value: pChangeVatRegStatusRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadVatCertificateRq_ _downloadVatCertificateRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadVatCertificate(pDownloadVatCertificateRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/certificate/{certificateType}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDownloadVatCertificateRq.companyId, required: true },\n { name: \"vatRegId\", value: pDownloadVatCertificateRq.vatRegId, required: true },\n { name: \"certificateType\", value: pDownloadVatCertificateRq.certificateType, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadDeregistrationDocumentRq_ _downloadDeregistrationDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadDeregistrationDocument(pDownloadDeregistrationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/deregistrationDocument\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDownloadDeregistrationDocumentRq.companyId, required: true },\n { name: \"vatRegId\", value: pDownloadDeregistrationDocumentRq.vatRegId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DownloadPoaRevokedConfirmationDocumentRq_ _downloadPoaRevokedConfirmationDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n downloadPoaRevokedConfirmationDocument(pDownloadPoaRevokedConfirmationDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/poarevokeconfirmationdocument\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"application/pdf, application/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDownloadPoaRevokedConfirmationDocumentRq.companyId, required: true },\n { name: \"vatRegId\", value: pDownloadPoaRevokedConfirmationDocumentRq.vatRegId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UploadDocumentRq_ _uploadDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n uploadDocument(pUploadDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/document\",\n \"POST\",\n \"multipart/form-data\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUploadDocumentRq.companyId, required: true },\n { name: \"vatRegId\", value: pUploadDocumentRq.vatRegId, required: true }\n ]);\n client.addFormData(\"multipart/form-data\", [\n { name: \"file\", value: pUploadDocumentRq.file }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GenerateVatRegDocumentRq_ _generateVatRegDocumentRq\n * @returns Promise\n * @memberof VatRegistration\n */\n generateVatRegDocument(pGenerateVatRegDocumentRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/template/{templateId}/creation\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGenerateVatRegDocumentRq.companyId, required: true },\n { name: \"vatRegId\", value: pGenerateVatRegDocumentRq.vatRegId, required: true },\n { name: \"templateId\", value: pGenerateVatRegDocumentRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchVatRegistrationRq_ _searchVatRegistrationRq\n * @returns Promise\n * @memberof VatRegistration\n */\n searchVatRegistration(pSearchVatRegistrationRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/registration\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchVatRegistrationRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: VatRegSearchResult },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ExportVatRegistrationsRq_ _exportVatRegistrationsRq\n * @returns Promise\n * @memberof VatRegistration\n */\n exportVatRegistrations(pExportVatRegistrationsRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/export\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/csv, application/json\",\n options\n );\n client.addBody({ value: pExportVatRegistrationsRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, isFile: true },\n { statusCode: 400, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetDataSourceRq_ _getDataSourceRq\n * @returns Promise\n * @memberof VatRegistration\n */\n getDataSource(pGetDataSourceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/countries/{vatRegCountry}/template/{templateId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pGetDataSourceRq.companyId, required: true },\n { name: \"vatRegCountry\", value: pGetDataSourceRq.vatRegCountry, required: true },\n { name: \"templateId\", value: pGetDataSourceRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: DataSourceField, isArray: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeBankAccountRq_ _changeBankAccountRq\n * @returns Promise\n * @memberof VatRegistration\n */\n changeBankAccount(pChangeBankAccountRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/BankAccount\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangeBankAccountRq.companyId, required: true },\n { name: \"vatRegId\", value: pChangeBankAccountRq.vatRegId, required: true }\n ]);\n client.addBody({ value: pChangeBankAccountRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeFrequenciesRq_ _changeFrequenciesRq\n * @returns Promise\n * @memberof VatRegistration\n */\n changeFrequencies(pChangeFrequenciesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registration/{vatRegId}/ChangeFrequencies\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangeFrequenciesRq.companyId, required: true },\n { name: \"vatRegId\", value: pChangeFrequenciesRq.vatRegId, required: true }\n ]);\n client.addBody({ value: pChangeFrequenciesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetEmptyDataSourceRq_ _getEmptyDataSourceRq\n * @returns Promise\n * @memberof VatRegistration\n */\n getEmptyDataSource(pGetEmptyDataSourceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/countries/{vatRegCountry}/template/{templateId}\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"vatRegCountry\", value: pGetEmptyDataSourceRq.vatRegCountry, required: true },\n { name: \"templateId\", value: pGetEmptyDataSourceRq.templateId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: DataSourceField, isArray: true },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param GetPredefinedBankAccountsRq_ _getPredefinedBankAccountsRq\n * @returns Promise\n * @memberof VatRegistration\n */\n getPredefinedBankAccounts(options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/PredefinedBankAccounts\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: PredefinedBankAccount, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangePaymentReferenceRq_ _changePaymentReferenceRq\n * @returns Promise\n * @memberof VatRegistration\n */\n changePaymentReference(pChangePaymentReferenceRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registrations/{vatRegistrationId}/paymentreference\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangePaymentReferenceRq.companyId, required: true },\n { name: \"vatRegistrationId\", value: pChangePaymentReferenceRq.vatRegistrationId, required: true }\n ]);\n client.addBody({ value: pChangePaymentReferenceRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeTaxIdentifierRq_ _changeTaxIdentifierRq\n * @returns Promise\n * @memberof VatRegistration\n */\n changeTaxIdentifier(pChangeTaxIdentifierRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registrations/{vatRegistrationId}/taxidentifier\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pChangeTaxIdentifierRq.companyId, required: true },\n { name: \"vatRegistrationId\", value: pChangeTaxIdentifierRq.vatRegistrationId, required: true }\n ]);\n client.addBody({ value: pChangeTaxIdentifierRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param UpdateAdministratorRq_ _updateAdministratorRq\n * @returns Promise\n * @memberof VatRegistration\n */\n updateAdministrator(pUpdateAdministratorRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registrations/{vatRegistrationId}/administrator\",\n \"PUT\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pUpdateAdministratorRq.companyId, required: true },\n { name: \"vatRegistrationId\", value: pUpdateAdministratorRq.vatRegistrationId, required: true }\n ]);\n client.addBody({ value: pUpdateAdministratorRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param DeleteAdministratorRq_ _deleteAdministratorRq\n * @returns Promise\n * @memberof VatRegistration\n */\n deleteAdministrator(pDeleteAdministratorRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/VatRegistration/companies/{companyId}/registrations/{vatRegistrationId}/administrator\",\n \"DELETE\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"companyId\", value: pDeleteAdministratorRq.companyId, required: true },\n { name: \"vatRegistrationId\", value: pDeleteAdministratorRq.vatRegistrationId, required: true }\n ]);\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 400, clazz: ApiError },\n { statusCode: 403, clazz: ApiError },\n { statusCode: 404, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\nexport var DownloadVatRegDocumentType = /* @__PURE__ */ ((DownloadVatRegDocumentType2) => {\n DownloadVatRegDocumentType2[\"Unsigned\"] = \"Unsigned\";\n DownloadVatRegDocumentType2[\"Signed\"] = \"Signed\";\n return DownloadVatRegDocumentType2;\n})(DownloadVatRegDocumentType || {});\nexport var DownloadVatCertificateCertificateType = /* @__PURE__ */ ((DownloadVatCertificateCertificateType2) => {\n DownloadVatCertificateCertificateType2[\"Local\"] = \"Local\";\n DownloadVatCertificateCertificateType2[\"Eu\"] = \"Eu\";\n return DownloadVatCertificateCertificateType2;\n})(DownloadVatCertificateCertificateType || {});\n","import { TswagClient } from \"./../commons/TswagClient\";\nimport { UserData } from \"./../models/V1/Users/UserData\";\nimport { SearchResult } from \"./../models/V1/Users/Search/SearchResult\";\nimport { Error as ApiError } from \"./../models/V1/Common/Error/Error\";\nexport class WebUsers {\n /**\n * Creates an instance of WebUsers.\n * @param {string} [baseUrl]\n * @param {{ fetch(url: RequestInfo, init?: RequestInit): Promise }} [http]\n * @memberof WebUsers\n */\n constructor(baseUrl, http) {\n this.baseUrl = baseUrl;\n this.http = http ? http : window;\n }\n /**\n * @param GetUsersRq_ _getUsersRq\n * @returns Promise\n * @memberof WebUsers\n */\n getUsers(pGetUsersRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/WebUsers\",\n \"GET\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pGetUsersRq.body, isArray: true, isPrimitive: true });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: UserData, isArray: true }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param SearchUsersRq_ _searchUsersRq\n * @returns Promise\n * @memberof WebUsers\n */\n searchUsers(pSearchUsersRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/WebUsers/search\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pSearchUsersRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 200, clazz: SearchResult }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param ChangeEmailRq_ _changeEmailRq\n * @returns Promise\n * @memberof WebUsers\n */\n changeEmail(pChangeEmailRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/WebUsers/{userId}/email\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"userId\", value: pChangeEmailRq.userId, required: true }\n ]);\n client.addBody({ value: pChangeEmailRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param PatchCompaniesRq_ _patchCompaniesRq\n * @returns Promise\n * @memberof WebUsers\n */\n patchCompanies(pPatchCompaniesRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/WebUsers/{userId}/companies\",\n \"PATCH\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addPathParams([\n { name: \"userId\", value: pPatchCompaniesRq.userId, required: true }\n ]);\n client.addBody({ value: pPatchCompaniesRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 404, clazz: ApiError },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n /**\n * @param InviteUserRq_ _inviteUserRq\n * @returns Promise\n * @memberof WebUsers\n */\n inviteUser(pInviteUserRq, options = {}) {\n const client = new TswagClient(\n this.baseUrl + \"/api/v1/WebUsers/invite\",\n \"POST\",\n \"application/json; charset=UTF-8\",\n \"text/plain, application/json, text/json\",\n options\n );\n client.addBody({ value: pInviteUserRq.body });\n const respDescriptor = {\n headerParams: [],\n items: [\n { statusCode: 204 },\n { statusCode: 409, clazz: ApiError },\n { statusCode: 422, clazz: ApiError }\n ]\n };\n return client.fetch(this.http, respDescriptor);\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext, useClient } from \"GlobalShared/haunted/CustomHooks\";\nimport { LegalRepresentativesAnswer as WebLegalRepresentativesAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { LegalRepresentativesAnswer as AdminLegalRepresentativesAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { LegalRepsValidator, LegalRepValidator } from \"./AnswerValidators\";\nimport { newUniqueId } from \"GlobalShared/helpers/stringHelper\";\nimport i18next from \"i18next\";\nimport { Questionnaire as AdminQuestionnaire } from \"AdminServices/APIs/self/clients\";\nimport { Questionnaire as WebQuestionnaire } from \"WebServices/APIs/self/clients\";\nimport { LegalRepresentative as WebLegalRepresentative } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/LegalRepresentative\";\nimport { LegalRepresentative as AdminLegalRepresentative } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/LegalRepresentative\";\nimport { Address } from \"WebServices/APIs/self/models/V1/Common/Address\";\nimport { templateTitle } from \"GlobalShared/templates/commons\";\nimport { mapBooleanToState, mapStateToBoolean } from \"GlobalShared/helpers/booleanHelper\";\nimport { notifyError, withErrorHandling } from \"GlobalShared/helpers/errorHelper\";\nimport { checkAnswerDate } from \"./answer-helpers\";\nimport { Q11E_DOC_ACCEPT_LIST } from \"GlobalShared/helpers/fileHelper\";\nexport const observedAttributes = [\"q11e\", \"questionId\", \"worldCountries\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-legal-representatives\";\nconst DEFAULT_LEGAL_REPRESENTATIVE = {\n Id: void 0,\n Title: void 0,\n FirstName: \"\",\n LastName: \"\",\n MiddleName: void 0,\n FiscalCode: void 0,\n AddressCountry: \"\",\n Address: new Address({\n City: \"\",\n Street: \"\",\n StreetNumber: \"\",\n Zip: \"\"\n }),\n BirthName: \"\",\n MotherBirthName: \"\",\n FatherName: \"\",\n DateOfBirth: void 0,\n CountryOfBirth: \"\",\n CityOfBirth: \"\",\n Nationality: \"\",\n HomeAddressIsSameAsRegistered: void 0,\n DocumentType: void 0,\n DocumentNumber: \"\",\n DocumentExpirationDate: void 0,\n PhotoCopyReference: \"\",\n Position: void 0,\n PositionDescription: void 0,\n OwnMoreThan25Percent: void 0,\n IsOnlyDirector: void 0\n};\nconst TITLES = [\n { label: i18next.t(\"Mr\"), value: \"Mr\" },\n { label: i18next.t(\"Ms\"), value: \"Ms\" }\n];\nconst IDENTICATION_DOCUMENT_TYPES = [\n { label: i18next.t(\"Passport\"), value: \"Passport\" },\n { label: i18next.t(\"Personal Identity card\"), value: \"PersonalId\" },\n { label: i18next.t(\"Driving License\"), value: \"DrivingLicense\" }\n];\nconst POSITIONS = [\n { label: i18next.t(\"Owner\"), value: \"Owner\" },\n { label: i18next.t(\"Director\"), value: \"Director\" },\n { label: i18next.t(\"CEO\"), value: \"Ceo\" },\n { label: i18next.t(\"Other\"), value: \"Other\" }\n];\nconst DEFAULTS = {\n validation: {\n required: false\n },\n worldCountries: [],\n birthCountries: []\n};\nexport class LegalRepsChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation,\n worldCountries: host.worldCountries ? host.worldCountries : DEFAULTS.worldCountries,\n birthCountries: host.birthCountries ? host.birthCountries : DEFAULTS.birthCountries\n };\n const getLabel = (fieldName, required = false) => {\n var _a;\n return ((_a = getSubQuestion(fieldName)) == null ? void 0 : _a.Label) + (required ? \"*\" : \"\");\n };\n const getSubQuestion = (questionId) => {\n const filteredSubQuestions = question.SubQuestions.filter((subQuestion) => subQuestion.Id === questionId);\n if (filteredSubQuestions.length === 1) {\n return filteredSubQuestions[0];\n } else {\n return void 0;\n }\n };\n const initForm = () => {\n legalRepValidationContext.clearFieldValidations();\n };\n const getAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminLegalRepresentativesAnswer({\n Value: legalReps.map((legalRepViewModel) => new AdminLegalRepresentative(__spreadValues({}, legalRepViewModel))),\n QuestionId: props.questionId\n });\n }\n return new WebLegalRepresentativesAnswer({\n Value: legalReps.map((legalRepViewModel) => new WebLegalRepresentative(__spreadValues({}, legalRepViewModel))),\n QuestionId: props.questionId\n });\n };\n const onFileUpload = (event) => __async(void 0, null, function* () {\n const file = event.detail.files[0];\n let reference;\n yield withErrorHandling(\n () => __async(void 0, null, function* () {\n if (props.q11e.isAdmin === true) {\n reference = (yield AdminQuestionnaireClient.uploadFile({\n companyId: props.q11e.company.Id,\n file\n })).data;\n } else {\n reference = (yield WebQuestionnaireClient.uploadFile({\n file\n })).data;\n }\n }),\n (error) => {\n notifyError(error);\n }\n );\n legalRepValidationContext.validateField(\"photo_copy_reference\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n PhotoCopyReference: reference\n }));\n });\n const editLegalRep = (id) => {\n initForm();\n setCurrentLegalRep(legalReps.filter((legalRep) => legalRep.Id === id)[0]);\n };\n const removeLegalRep = (id) => {\n setDispatchIfValid(true);\n setLegalReps(legalReps.filter((legalRep) => legalRep.Id !== id));\n };\n const saveLegalRep = () => {\n if (legalRepValidationContext.validationResult.isValid()) {\n setDispatchIfValid(true);\n if (currentLegalRep.Id === void 0) {\n currentLegalRep.Id = newUniqueId();\n setLegalReps([...legalReps, currentLegalRep]);\n } else {\n setLegalReps(legalReps.map((legalRep) => legalRep.Id === currentLegalRep.Id ? currentLegalRep : legalRep));\n }\n setCurrentLegalRep(void 0);\n } else {\n legalRepValidationContext.validateFields([\n \"title\",\n \"first_name\",\n \"last_name\",\n \"birth_name\",\n \"email\",\n \"phone\",\n \"position\",\n \"position_description\",\n \"date_of_birth\",\n \"city_of_birth\",\n \"nationality\",\n \"country_of_birth\",\n \"mother_birth_name\",\n \"father_name\",\n \"home_address_is_same_as_registered\",\n \"address_country\",\n \"address_city\",\n \"address_street\",\n \"address_street_number\",\n \"address_zip\",\n \"document_type\",\n \"document_number\",\n \"document_expiration_date\",\n \"photo_copy_reference\",\n \"own_more_than_25_percent\",\n \"is_only_director\"\n ]);\n legalRepValidationContext.validate(new WebLegalRepresentative(__spreadValues({}, currentLegalRep)));\n setCurrentLegalRep(__spreadValues({}, currentLegalRep));\n }\n };\n const cancelLegalRep = () => {\n setCurrentLegalRep(void 0);\n };\n const startAddingNewLegalRep = () => {\n initForm();\n setCurrentLegalRep(__spreadValues({}, DEFAULT_LEGAL_REPRESENTATIVE));\n };\n const AdminQuestionnaireClient = useClient(AdminQuestionnaire);\n const WebQuestionnaireClient = useClient(WebQuestionnaire);\n const [legalReps, setLegalReps] = useState([]);\n const [currentLegalRep, setCurrentLegalRep] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(\n new LegalRepsValidator(props.validation, props.q11e, true)\n );\n const legalRepValidationContext = useValidationContext(new LegalRepValidator(props.q11e, false));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new LegalRepsChangeEvent({\n answer: getAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(getAnswer());\n }, [legalReps]);\n useEffect(() => {\n legalRepValidationContext.validate(new WebLegalRepresentative(__spreadValues({}, currentLegalRep)));\n }, [currentLegalRep]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebLegalRepresentativesAnswer || answer instanceof AdminLegalRepresentativesAnswer) {\n setLegalReps(\n answer.Value.map((legalRep) => __spreadProps(__spreadValues({}, legalRep), {\n Id: newUniqueId(),\n PositionText: \"\"\n }))\n );\n }\n }\n }, [props.q11e, props.questionId]);\n const templateBasicInfo = () => {\n var _a, _b, _c, _d;\n return html`
\n\t\t\t\t {\n legalRepValidationContext.validateField(\"title\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Title: e.detail.selectedValue\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"first_name\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { FirstName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t {\n var _a2;\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { MiddleName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"last_name\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { LastName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"birth_name\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { BirthName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"email\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { Email: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"phone\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { Phone: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n legalRepValidationContext.validateField(\"position\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Position: e.detail.selectedValue\n }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { FiscalCode: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}}\"\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"position_description\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { PositionDescription: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}}\"\n\t\t\t>`;\n };\n const templateBirthInfo = () => {\n var _a, _b;\n return html`\n\t\t\t\t

${i18next.t(\"Birth info\")}

\n\t\t\t\n\t\t\t {\n if (checkAnswerDate(e.detail.value)) {\n legalRepValidationContext.validateField(\"date_of_birth\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { DateOfBirth: e.detail.value }));\n }\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"city_of_birth\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { CityOfBirth: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t ({ label: country.Name, value: country.Code }))}\n\t\t\t\t.filterable=${true}\n\t\t\t\t.readonly=${props.q11e.isReadonly()}\n\t\t\t\t.validationMessage=${legalRepValidationContext.getValidationMessage(\"nationality\")}\n\t\t\t\t@change=${(e) => {\n legalRepValidationContext.validateField(\"nationality\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Nationality: e.detail.selectedValue\n }));\n }}\n\t\t\t>\n\t\t\t ({ label: country.Name, value: country.Code }))}\n\t\t\t\t.readonly=${props.q11e.isReadonly()}\n\t\t\t\t.filterable=${true}\n\t\t\t\t.validationMessage=${legalRepValidationContext.getValidationMessage(\"country_of_birth\")}\n\t\t\t\tclass=${`${((_a = props.q11e) == null ? void 0 : _a.isVisible(\"legal_rep\", \"country_of_birth\")) ? \"\" : \"hidden\"}`}\n\t\t\t\t@change=${(e) => {\n legalRepValidationContext.validateField(\"country_of_birth\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n CountryOfBirth: e.detail.selectedValue\n }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"mother_birth_name\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { MotherBirthName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"father_name\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { FatherName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>`;\n };\n const templateAddress = () => {\n return html`\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t {\n var _a;\n legalRepValidationContext.validateField(\"home_address_is_same_as_registered\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n HomeAddressIsSameAsRegistered: mapStateToBoolean((_a = e.detail) == null ? void 0 : _a.state)\n }));\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t ({ label: country.Name, value: country.Code }))}\n\t\t\t\t\t.readonly=${props.q11e.isReadonly()}\n\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t.validationMessage=${legalRepValidationContext.getValidationMessage(\"address_country\")}\n\t\t\t\t\t@change=${(e) => {\n legalRepValidationContext.validateField(\"address_country\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n AddressCountry: e.detail.selectedValue\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a;\n legalRepValidationContext.validateField(\"address_city\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Address: new Address(__spreadProps(__spreadValues({}, currentLegalRep.Address), { City: (_a = e.detail) == null ? void 0 : _a.value }))\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a;\n legalRepValidationContext.validateField(\"address_street\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Address: new Address(__spreadProps(__spreadValues({}, currentLegalRep.Address), { Street: (_a = e.detail) == null ? void 0 : _a.value }))\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a;\n legalRepValidationContext.validateField(\"address_street_number\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Address: new Address(__spreadProps(__spreadValues({}, currentLegalRep.Address), { StreetNumber: (_a = e.detail) == null ? void 0 : _a.value }))\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a;\n legalRepValidationContext.validateField(\"address_zip\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n Address: new Address(__spreadProps(__spreadValues({}, currentLegalRep.Address), { Zip: (_a = e.detail) == null ? void 0 : _a.value }))\n }));\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t`;\n };\n const templateIdentification = () => {\n var _a, _b, _c, _d;\n return html`\n\t\t\t\t

${i18next.t(\"Identification\")}

\n\t\t\t\n\t\t\t {\n legalRepValidationContext.validateField(\"document_type\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n DocumentType: e.detail.selectedValue\n }));\n }}\n\t\t\t>\n\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"document_number\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { DocumentNumber: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t>\n\t\t\t {\n if (checkAnswerDate(e.detail.value)) {\n legalRepValidationContext.validateField(\"document_expiration_date\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), { DocumentExpirationDate: e.detail.value }));\n }\n }}\n\t\t\t>\n\t\t\t __async(void 0, null, function* () {\n yield onFileUpload(_e);\n legalRepValidationContext.validateField(\"photo_copy_reference\");\n })}\n\t\t\t>\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"own_more_than_25_percent\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n OwnMoreThan25Percent: mapStateToBoolean((_a2 = e.detail) == null ? void 0 : _a2.state)\n }));\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t {\n var _a2;\n legalRepValidationContext.validateField(\"is_only_director\");\n setCurrentLegalRep(__spreadProps(__spreadValues({}, currentLegalRep), {\n IsOnlyDirector: mapStateToBoolean((_a2 = e.detail) == null ? void 0 : _a2.state)\n }));\n }}\n\t\t\t\t\t>\n\t\t\t\t
\n\t\t\t
`;\n };\n const templateLegalRep = () => {\n return html`
\n\t\t\t
${templateBasicInfo()} ${templateBirthInfo()} ${templateAddress()} ${templateIdentification()}
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t${props.q11e.isReadonly() ? \"\" : html``}\n\t\t\t
\n\t\t
`;\n };\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t\t\t
${templateTitle(i18next.t(\"Authorized signatory\"))}
\n\t\t\t\t\t\t${legalReps.length > 0 ? legalReps.map(\n (legalRep) => html`
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t editLegalRep(legalRep.Id)}>${legalRep.LastName}, ${legalRep.FirstName}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t${props.q11e.isReadonly() ? \"\" : html`
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t removeLegalRep(legalRep.Id)}>${i18next.t(\"Remove\")}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
`}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
`\n ) : html`${currentLegalRep === void 0 ? html`
\n\t\t\t\t\t\t\t\t\t\t\t${i18next.t(\"The authorized signatory is duly authorized to sign and legally act on behalf of the company. Please add at least one authorized signatory.\")}\n\t\t\t\t\t\t\t\t\t
` : \"\"}`}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${currentLegalRep !== void 0 ? templateLegalRep() : props.q11e.isReadonly() ? \"\" : html``}\n\t\t\t\t\t
` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { BusinessOwnersAnswer as WebBusinessOwnerAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { BusinessOwnersAnswer as AdminBusinessOwnerAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { newUniqueId } from \"GlobalShared/helpers/stringHelper\";\nimport i18next from \"i18next\";\nimport { BusinessOwner as WebBusinessOwner } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/BusinessOwner\";\nimport { BusinessOwner as AdminBusinessOwner } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/BusinessOwner\";\nimport { BusinessOwnerShareholderType } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/BusinessOwner/BusinessOwner\";\nimport { BusinessOwnersValidator, BusinessOwnerValidator } from \"./AnswerValidators\";\nimport { templateTitle } from \"GlobalShared/templates/commons\";\nimport { checkAnswerDate } from \"./answer-helpers\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-business-owners\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class BusinessOwnersChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nconst NATURAL_PERSON = { label: i18next.t(\"Natural Person\"), value: \"NaturalPerson\" };\nexport const SHAREHOLDER_SELECT_ITEMS = [{ label: i18next.t(\"Company\"), value: \"Company\" }, NATURAL_PERSON];\nconst IDENTICATION_DOCUMENT_TYPES = [\n { label: i18next.t(\"Passport\"), value: \"Passport\" },\n { label: i18next.t(\"Personal Identity card\"), value: \"PersonalId\" },\n { label: i18next.t(\"Driving License\"), value: \"DrivingLicense\" }\n];\nexport const DEFAULT_BUSINESS_OWNER = {\n Id: void 0,\n ShareholderType: void 0,\n FirstName: \"\",\n LastName: \"\",\n FullName: \"\",\n DateOfBirth: void 0,\n DateOfIncorporation: void 0,\n SharePercentage: void 0,\n DocumentNumber: void 0,\n DocumentType: void 0,\n RegistrationNumber: void 0\n};\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getLabel = (fieldName, required = false) => {\n var _a;\n return ((_a = getSubQuestion(fieldName)) == null ? void 0 : _a.Label) + (required ? \"*\" : \"\");\n };\n const getSubQuestion = (questionId) => {\n const filteredSubQuestions = question.SubQuestions.filter((subQuestion) => subQuestion.Id === questionId);\n if (filteredSubQuestions.length === 1) {\n return filteredSubQuestions[0];\n } else {\n return void 0;\n }\n };\n const initForm = () => {\n businessOwnerValidationContext.clearFieldValidations();\n };\n const getAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminBusinessOwnerAnswer({\n Value: businessOwners.map((businessOwnerViewModel) => new AdminBusinessOwner(__spreadValues({}, businessOwnerViewModel))),\n QuestionId: props.questionId\n });\n }\n return new WebBusinessOwnerAnswer({\n Value: businessOwners.map((businessOwnerViewModel) => new WebBusinessOwner(__spreadValues({}, businessOwnerViewModel))),\n QuestionId: props.questionId\n });\n };\n const editBusinessOwner = (id) => {\n initForm();\n setCurrentBusinessOwner(businessOwners.filter((businessOwner) => businessOwner.Id === id)[0]);\n };\n const removeBusinessOwner = (id) => {\n setDispatchIfValid(true);\n setBusinessOwners(businessOwners.filter((businessOwner) => businessOwner.Id !== id));\n };\n const saveBusinessOwner = () => {\n if (businessOwnerValidationContext.validationResult.isValid()) {\n setDispatchIfValid(true);\n if (currentBusinessOwner.Id === void 0) {\n currentBusinessOwner.Id = newUniqueId();\n setBusinessOwners([...businessOwners, currentBusinessOwner]);\n } else {\n setBusinessOwners(businessOwners.map((businessOwner) => businessOwner.Id === currentBusinessOwner.Id ? currentBusinessOwner : businessOwner));\n }\n setCurrentBusinessOwner(void 0);\n } else {\n businessOwnerValidationContext.validateFields([\n \"shareholder_type\",\n \"first_name\",\n \"last_name\",\n \"full_name\",\n \"date_of_birth\",\n \"date_of_incorporation\",\n \"share_percentage\",\n \"document_type\",\n \"document_number\",\n \"registration_number\"\n ]);\n businessOwnerValidationContext.validate(new WebBusinessOwner(__spreadValues({}, currentBusinessOwner)));\n setCurrentBusinessOwner(__spreadValues({}, currentBusinessOwner));\n }\n };\n const cancelBusinessOwner = () => {\n setCurrentBusinessOwner(void 0);\n };\n const startAddingBusinessOwner = () => {\n initForm();\n setCurrentBusinessOwner(__spreadValues({}, DEFAULT_BUSINESS_OWNER));\n };\n const [businessOwners, setBusinessOwners] = useState([]);\n const [currentBusinessOwner, setCurrentBusinessOwner] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new BusinessOwnersValidator(props.validation, props.q11e));\n const businessOwnerValidationContext = useValidationContext(new BusinessOwnerValidator(props.q11e));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new BusinessOwnersChangeEvent({\n answer: getAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(getAnswer());\n }, [businessOwners]);\n useEffect(() => {\n businessOwnerValidationContext.validate(new WebBusinessOwner(__spreadValues({}, currentBusinessOwner)));\n }, [currentBusinessOwner]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebBusinessOwnerAnswer || answer instanceof AdminBusinessOwnerAnswer) {\n setBusinessOwners(\n answer.Value.map((businessOwner) => __spreadProps(__spreadValues({}, businessOwner), {\n Id: newUniqueId()\n }))\n );\n }\n }\n }, [props.q11e, props.questionId]);\n const templateBusinessOwner = () => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;\n return html`
\n\t\t\t
\n\t\t\t\t {\n businessOwnerValidationContext.validateField(\"shareholder_type\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), {\n ShareholderType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a2;\n businessOwnerValidationContext.validateField(\"first_name\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), { FirstName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a2;\n businessOwnerValidationContext.validateField(\"last_name\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), { LastName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a2;\n businessOwnerValidationContext.validateField(\"full_name\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), { FullName: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n if (checkAnswerDate(e.detail.value)) {\n businessOwnerValidationContext.validateField(\"date_of_birth\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), { DateOfBirth: e.detail.value }));\n }\n }}\n\t\t\t\t>\n\t\t\t\t {\n businessOwnerValidationContext.validateField(\"document_type\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), {\n DocumentType: e.detail.selectedValue\n }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a2;\n businessOwnerValidationContext.validateField(\"document_number\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), { DocumentNumber: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t\t>\n\n\t\t\t\t {\n var _a2;\n businessOwnerValidationContext.validateField(\"registration_number\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), { RegistrationNumber: (_a2 = e.detail) == null ? void 0 : _a2.value }));\n }}\n\t\t\t\t>\n\t\t\t\t {\n if (checkAnswerDate(e.detail.value)) {\n businessOwnerValidationContext.validateField(\"date_of_incorporation\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), {\n DateOfIncorporation: e.detail.value\n }));\n }\n }}\n\t\t\t\t>\n\t\t\t\t {\n var _a2;\n businessOwnerValidationContext.validateField(\"share_percentage\");\n setCurrentBusinessOwner(__spreadProps(__spreadValues({}, currentBusinessOwner), {\n SharePercentage: Number((_a2 = e.detail) == null ? void 0 : _a2.value)\n }));\n }}\n\t\t\t\t>\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t${props.q11e.isReadonly() ? \"\" : html``}\n\t\t\t
\n\t\t
`;\n };\n const templateBusinessOwners = () => {\n return html`
\n\t\t\t\t${businessOwners.length > 0 ? businessOwners.map(\n (businessOwner) => html`\n\t\t\t\t\t\t\t\t\t
`\n ) : html`${currentBusinessOwner === void 0 ? html`
\n\t\t\t\t\t\t\t\t\t${i18next.t(\"Please add at least one business owner.\")} ${(businessOwners == null ? void 0 : businessOwners.length) === 0 ? i18next.t(\"No business owner has been added yet.\") : \"\"}\n\t\t\t\t\t\t\t
` : \"\"}`}\n\t\t\t
\n\t\t\t
\n\t\t\t\t${currentBusinessOwner !== void 0 ? templateBusinessOwner() : props.q11e.isReadonly() ? \"\" : html``}\n\t\t\t
`;\n };\n return html`${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t
${templateTitle(i18next.t(\"Business Owners\"))}
\n\t\t\t\t${templateBusinessOwners()}\n\t\t
` : \"\"}`;\n};\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { BankInformationValidator } from \"./AnswerValidators\";\nimport { BankInformationAnswer as WebBankInformationAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BankInformationAnswer\";\nimport { BankInformationAnswer as AdminBankInformationAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers/BankInformationAnswer\";\nimport { Address as AdminAddress } from \"AdminServices/APIs/self/models/V1/Common\";\nimport { Address as WebAddress } from \"WebServices/APIs/self/models/V1/Common\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-bank-information\";\nconst DEFAULTS = {\n q11e: void 0,\n questionId: void 0,\n validation: {\n required: false\n },\n worldCountries: []\n};\nexport class BankInformationChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n var _a;\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation,\n worldCountries: (_a = host.worldCountries) != null ? _a : DEFAULTS.worldCountries,\n withDefaultCountry: host.withDefaultCountry\n };\n const getLabel = (fieldName, required = false) => {\n var _a2;\n return ((_a2 = getSubQuestion(fieldName)) == null ? void 0 : _a2.Label) + (required ? \"*\" : \"\");\n };\n const getSubQuestion = (questionId) => {\n const filteredSubQuestions = question.SubQuestions.filter((subQuestion) => subQuestion.Id === questionId);\n if (filteredSubQuestions.length === 1) {\n return filteredSubQuestions[0];\n } else {\n return void 0;\n }\n };\n const getAnswer = () => {\n var _a2;\n if ((_a2 = props.q11e) == null ? void 0 : _a2.isAdmin) {\n return new AdminBankInformationAnswer({\n Name: bankName,\n Address: new AdminAddress(__spreadValues({}, address)),\n AddressCountry: addressCountry,\n Owner: bankOwner,\n Iban: iban,\n Swift: swift,\n QuestionId: props.questionId\n });\n }\n return new WebBankInformationAnswer({\n Name: bankName,\n Address: new WebAddress(__spreadValues({}, address)),\n AddressCountry: addressCountry,\n Owner: bankOwner,\n Iban: iban,\n Swift: swift,\n QuestionId: props.questionId\n });\n };\n const [bankName, setBankName] = useState(void 0);\n const [bankOwner, setBankOwner] = useState(void 0);\n const [iban, setIban] = useState(void 0);\n const [swift, setSwift] = useState(void 0);\n const [addressCountry, setAddressCountry] = useState(void 0);\n const [address, setAddress] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new BankInformationValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof AdminBankInformationAnswer || answer instanceof WebBankInformationAnswer) {\n setBankName(answer.Name);\n setBankOwner(answer.Owner);\n setIban(answer.Iban);\n setSwift(answer.Swift);\n setAddress(answer.Address);\n setAddressCountry(answer.AddressCountry);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n if (props == null ? void 0 : props.withDefaultCountry) {\n setAddressCountry(props.withDefaultCountry);\n }\n }, [props.withDefaultCountry]);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new BankInformationChangeEvent({\n answer: getAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n validationContext.validate(getAnswer());\n }, [bankName, bankOwner, iban, swift, address, addressCountry]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`
\n\t\t\t\t\t {\n setBankName(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"name\");\n }}\n\t\t\t\t\t>\n\n\t\t\t\t\t ({\n label: country.Name,\n value: country.Code\n }))}\n\t\t\t\t\t\t.filterable=${true}\n\t\t\t\t\t\t.readonly=${props.q11e.isReadonly()}\n\t\t\t\t\t\t.validationMessage=${validationContext.getValidationMessage(\"address_country\")}\n\t\t\t\t\t\t@change=${(e) => {\n setAddressCountry(e.detail.selectedValue);\n setDispatchIfValid(true);\n validationContext.validateField(\"address_country\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setAddress(new WebAddress(__spreadProps(__spreadValues({}, address), { City: e.detail.value })));\n setDispatchIfValid(true);\n validationContext.validateField(\"address_city\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setAddress(new WebAddress(__spreadProps(__spreadValues({}, address), { Street: e.detail.value })));\n setDispatchIfValid(true);\n validationContext.validateField(\"address_street\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setAddress(new WebAddress(__spreadProps(__spreadValues({}, address), { StreetNumber: e.detail.value })));\n setDispatchIfValid(true);\n validationContext.validateField(\"address_street_number\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setAddress(new WebAddress(__spreadProps(__spreadValues({}, address), { Zip: e.detail.value })));\n setDispatchIfValid(true);\n validationContext.validateField(\"address_zip\");\n }}\n\t\t\t\t\t>\n\n\t\t\t\t\t {\n setBankOwner(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"owner\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setIban(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"iban\");\n }}\n\t\t\t\t\t>\n\t\t\t\t\t {\n setSwift(e.detail.value);\n setDispatchIfValid(true);\n validationContext.validateField(\"swift\");\n }}\n\t\t\t\t\t>\n\t\t\t
` : \"\"}\n\t`;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { CountryAnswer as WebCountryAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { CountryAnswer as AdminCountryAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { CountryValidator } from \"./AnswerValidators\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-country\";\nconst DEFAULTS = {\n validation: {\n required: false\n },\n nolabel: false\n};\nexport class CountryChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation,\n countries: host.countries,\n nolabel: host.nolabel !== void 0 ? host.nolabel : DEFAULTS.nolabel\n };\n const getCountryAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminCountryAnswer({ CountryCode: currentVal, QuestionId: props.questionId });\n }\n return new WebCountryAnswer({ CountryCode: currentVal, QuestionId: props.questionId });\n };\n const getLabel = () => {\n return props.nolabel ? void 0 : question.Label + (props.validation.required ? \"*\" : \"\");\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new CountryValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new CountryChangeEvent({\n answer: getCountryAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebCountryAnswer || answer instanceof AdminCountryAnswer) {\n setCurrentVal(answer.CountryCode);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getCountryAnswer());\n }, [currentVal]);\n const templateSelect = () => {\n var _a;\n return html` ({\n label: country.Name,\n value: country.Code\n }))}\n\t\t\t.filterable=${true}\n\t\t\t@change=${(e) => {\n setCurrentVal(e.detail.selectedValue);\n setDispatchIfValid(true);\n validationContext.validateField(\"countryCode\");\n }}\n\t\t>`;\n };\n return html` ${props.q11e !== void 0 && question !== void 0 ? html`${templateSelect()}` : \"\"} `;\n};\n","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nimport { html } from \"lit-html\";\nimport { useEffect, useState, useValidationContext } from \"GlobalShared/haunted/CustomHooks\";\nimport { VatNumberAnswer as WebVatNumberAnswer } from \"WebServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { VatNumberAnswer as AdminVatNumberAnswer } from \"AdminServices/APIs/self/models/V1/CompanyInfo/Questionnaire/Answers\";\nimport { VatNumberValidator } from \"./AnswerValidators\";\nimport { VatIdentificationNumber as WebVatIdentificationNumber } from \"WebServices/APIs/self/models/V1/Common\";\nimport { VatIdentificationNumber as AdminVatIdentificationNumber } from \"AdminServices/APIs/self/models/V1/Common\";\nexport const observedAttributes = [\"q11e\", \"questionId\"];\nexport const useShadowDOM = false;\nexport const name = \"ww-answer-vatnumber\";\nconst DEFAULTS = {\n validation: {\n required: false\n }\n};\nexport class VatNumberChangeEvent extends CustomEvent {\n constructor(detail) {\n super(\"change\", { detail, bubbles: true });\n }\n}\nexport const Component = (host) => {\n const props = {\n q11e: host.q11e,\n questionId: host.questionId,\n countryCode: host.countryCode,\n validation: host.validation !== void 0 ? __spreadValues(__spreadValues({}, DEFAULTS.validation), host.validation) : DEFAULTS.validation\n };\n const getVatNumberAnswer = () => {\n var _a;\n if ((_a = props.q11e) == null ? void 0 : _a.isAdmin) {\n return new AdminVatNumberAnswer({\n Value: new AdminVatIdentificationNumber({ CountryCode: props.countryCode, VatNumber: currentVal }),\n QuestionId: props.questionId\n });\n }\n return new WebVatNumberAnswer({\n Value: new WebVatIdentificationNumber({ CountryCode: props.countryCode, VatNumber: currentVal }),\n QuestionId: props.questionId\n });\n };\n const [currentVal, setCurrentVal] = useState(void 0);\n const [question, setQuestion] = useState(void 0);\n const validationContext = useValidationContext(new VatNumberValidator(props.validation));\n const [dispatchIfValid, setDispatchIfValid] = useState(false);\n useEffect(() => {\n if (validationContext.validationResult.isValid() && dispatchIfValid) {\n setDispatchIfValid(false);\n host.dispatchEvent(\n new VatNumberChangeEvent({\n answer: getVatNumberAnswer()\n })\n );\n }\n }, [validationContext.validationResult]);\n useEffect(() => {\n if (props.q11e) {\n setQuestion(props.q11e.getQuestion(props.questionId));\n const answer = props.q11e.getAnswer(props.questionId);\n if (answer instanceof WebVatNumberAnswer || answer instanceof AdminVatNumberAnswer) {\n setCurrentVal(answer.Value.VatNumber);\n }\n }\n }, [props.q11e, props.questionId]);\n useEffect(() => {\n validationContext.validate(getVatNumberAnswer());\n }, [currentVal]);\n return html`\n\t\t${props.q11e !== void 0 && question !== void 0 ? html`\n\t\t\t\t\t${question.Label ? html`