UNPKG

@salaxy/core

Version:

General plain JavaScript / TypeScript libraries for Salaxy API (Palkkaus.fi)

64 lines 2.56 MB
class Ht { /** * Gets a valid input type, format and other input properties from schema. * @param schema The property schema based on which the input is created. * @param propertyName Name of property or null if the input is not created from a property, but from model directly. * @param dataBindingPath Path for the data model. * Default is "form": The current form. Could be a a longer path e.g. "form.result.employerCalc" */ static getInputMetadata(e, a, i = "form") { a = a || ""; const n = { name: a, path: null, type: e.type, format: e.format, isEnum: !1 }; switch (n.path = n.name ? i ? i + "." + n.name : n.name : i, n.type) { case "number": case "integer": case "boolean": case "object": case "array": break; case "string": n.isEnum = (e.enum?.length ?? 0) > 0; break; default: return n.type = "error", n.content = `Unhandled data type '${n.type}', format '${n.format}' in '${a || "no property name"}'.`, n; } return n; } /** * Gets the necessary metadata for generating the inputs for the specified model of type "object". * If the schema is not of type "object", returns null. * @param schema Schema for which the user interface is generated. * @param dataBindingPath Path for the data model. * Default is "form": The current form. Could be a a longer path e.g. "form.result.employerCalc" */ static getInputsForObject(e, a = "form") { if (e.type === "object") return Object.keys(e.properties ?? {}).map((i) => this.getInputMetadata(e, i, a)); } /** * Gets input for the schema itself. * @param schema Schema for which the input component is generated. * @param propertyName Property name in relation to schema. This may be used in language versioning / texts. * @param dataBindingPath Path for the data binding within the form. */ static getInputForSelf(e, a, i) { return this.getInputMetadata(e, a, i); } /** * Gets the necessary metadata for generating the inputs for the array items. * If the schema is not of type "array", returns null. * @param schema Schema for which the user interface is generated. * @param dataBindingPath Path for the data binding within the form. */ static getInputsForArray(e, a) { if (e.type === "array") return Ht.getInputsForObject(e.items, a) || [Ht.getInputForSelf(e.items, void 0, a)]; } } var bn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Authorization_code = "authorization_code", t.Password = "password", t.Client_credentials = "client_credentials", t.Refresh_token = "refresh_token", t.JwtBearer = "jwtBearer", t))(bn || {}), Tn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Code = "code", t.Token = "token", t))(Tn || {}), Sn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Bearer = "bearer", t.Mac = "mac", t))(Sn || {}), Pn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Invalid_request = "invalid_request", t.Unauthorized_client = "unauthorized_client", t.Access_denied = "access_denied", t.Unsupported_response_type = "unsupported_response_type", t.Invalid_scope = "invalid_scope", t.Server_error = "server_error", t.Temporarily_unavailable = "temporarily_unavailable", t))(Pn || {}), An = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Sign_in = "sign_in", t.Sign_up = "sign_up", t))(An || {}), En = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.DoNotShow = "doNotShow", t.Employment = "employment", t.Insurance = "insurance", t.Salary = "salary", t.Examples = "examples", t.PalkkausGeneral = "palkkausGeneral", t.PalkkausInstructions = "palkkausInstructions", t.Blog = "blog", t.Press = "press", t.PersonEmployer = "personEmployer", t.HouseholdEmployer = "householdEmployer", t.Worker = "worker", t.Employee = "employee", t.Entrepreneur = "entrepreneur", t.Association = "association", t.BusinessOwner = "businessOwner", t.ProductLongDescription = "productLongDescription", t.DocumentTemplates = "documentTemplates", t.InstructionsAndExamples = "instructionsAndExamples", t))(En || {}), Lt = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.UnpaidLeave = "unpaidLeave", t.PersonalReason = "personalReason", t.Illness = "illness", t.PartTimeSickLeave = "partTimeSickLeave", t.ParentalLeave = "parentalLeave", t.SpecialMaternityLeave = "specialMaternityLeave", t.Rehabilitation = "rehabilitation", t.ChildIllness = "childIllness", t.PartTimeChildCareLeave = "partTimeChildCareLeave", t.Training = "training", t.JobAlternationLeave = "jobAlternationLeave", t.StudyLeave = "studyLeave", t.IndustrialAction = "industrialAction", t.InterruptionInWorkProvision = "interruptionInWorkProvision", t.LeaveOfAbsence = "leaveOfAbsence", t.MilitaryRefresherTraining = "militaryRefresherTraining", t.MilitaryService = "militaryService", t.LayOff = "layOff", t.ChildCareLeave = "childCareLeave", t.MidWeekHoliday = "midWeekHoliday", t.AccruedHoliday = "accruedHoliday", t.OccupationalAccident = "occupationalAccident", t.AnnualLeave = "annualLeave", t.PartTimeAbsenceDueToRehabilitation = "partTimeAbsenceDueToRehabilitation", t.Other = "other", t))(Lt || {}), xn = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.UnlinkedPrimaryPartner = "unlinkedPrimaryPartner", t.UnlinkedAccountingOnly = "unlinkedAccountingOnly", t.PendingPrimaryPartner = "pendingPrimaryPartner", t.PrimaryPartner = "primaryPartner", t.None = "none", t))(xn || {}), wn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Procountor = "procountor", t.VismaNetvisor = "vismaNetvisor", t.VismaFivaldi = "vismaFivaldi", t))(wn || {}), In = /* @__PURE__ */ ((t) => (t.Default = "default", t.Accounting = "accounting", t.PeriodicInvoices = "periodicInvoices", t.AccountingAndPeriodicInvoices = "accountingAndPeriodicInvoices", t.IrReports = "irReports", t.AccountingAndIrReports = "accountingAndIrReports", t.PeriodicInvoicesAndIrReports = "periodicInvoicesAndIrReports", t.AccountingAndPeriodicInvoicesAndIrReports = "accountingAndPeriodicInvoicesAndIrReports", t))(In || {}), Ln = /* @__PURE__ */ ((t) => (t.Debit = "debit", t.Credit = "credit", t.Total = "total", t.GroupHeader = "groupHeader", t.GroupTotal = "groupTotal", t.ChildRow = "childRow", t))(Ln || {}), Tt = /* @__PURE__ */ ((t) => (t.Classic = "classic", t.Simple = "simple", t.Mapped = "mapped", t))(Tt || {}), Dn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.OwnedTarget = "ownedTarget", t.ProductTarget = "productTarget", t.SharedTarget = "sharedTarget", t))(Dn || {}), ti = /* @__PURE__ */ ((t) => (t.A = "a", t.B = "b", t.C = "c", t.U = "u", t))(ti || {}), ai = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Age_15 = "age_15", t.Age16 = "age16", t.Age17 = "age17", t.Age18_52 = "age18_52", t.Age53_62 = "age53_62", t.Age63_64 = "age63_64", t.Age65_67 = "age65_67", t.Age68AndOVer = "age68AndOVer", t))(ai || {}), Cn = /* @__PURE__ */ ((t) => (t.MealAllowance = "mealAllowance", t.PartialDailyAllowance = "partialDailyAllowance", t.FullDailyAllowance = "fullDailyAllowance", t.InternationalDailyAllowance = "internationalDailyAllowance", t.TaxExemptReimbursementsAbroad = "taxExemptReimbursementsAbroad", t))(Cn || {}), Ce = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Planned = "planned", t.ManualSalary = "manualSalary", t.ManualCompensation = "manualCompensation", t.ManualBonus = "manualBonus", t.PaidCalc = "paidCalc", t.DraftCalc = "draftCalc", t))(Ce || {}), Fn = /* @__PURE__ */ ((t) => (t.Ignored = "ignored", t.Success = "success", t.Warning = "warning", t.Error = "error", t))(Fn || {}), Mn = /* @__PURE__ */ ((t) => (t.Ignored = "ignored", t.Success = "success", t.Warning = "warning", t.Error = "error", t))(Mn || {}), ht = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.AccountBase = "accountBase", t.CompanyAccount = "companyAccount", t.PersonAccount = "personAccount", t.WorkerAccount = "workerAccount", t.Certificate = "certificate", t.SessionUserCredential = "sessionUserCredential", t.Onboarding = "onboarding", t.Profile = "profile", t.Calculation = "calculation", t.CalculationPaid = "calculationPaid", t.ESalaryPayment = "eSalaryPayment", t.Payment = "payment", t.EarningsPayment = "earningsPayment", t.Employment = "employment", t.WorkerAbsences = "workerAbsences", t.HolidayYear = "holidayYear", t.Taxcard = "taxcard", t.PayrollDetails = "payrollDetails", t.Invoice = "invoice", t.Report = "report", t.BlobFile = "blobFile", t.PayerSummary = "payerSummary", t.CalendarEvent = "calendarEvent", t.Usecase = "usecase", t.Dataset = "dataset", t.Article = "article", t.MessageThread = "messageThread", t.EmailMessage = "emailMessage", t.AccountProducts = "accountProducts", t.VarmaPensionOrder = "varmaPensionOrder", t.IfInsuranceOrder = "ifInsuranceOrder", t.Historical = "historical", t))(ht || {}), On = /* @__PURE__ */ ((t) => (t.Default = "default", t.UserFriendly = "userFriendly", t))(On || {}), dt = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Calculation = "calculation", t.CalculationPaid = "calculationPaid", t.Dataset = "dataset", t.PayrollDetails = "payrollDetails", t.Invoice = "invoice", t.EarningsPaymentReport = "earningsPaymentReport", t.PayerSummaryReport = "payerSummaryReport", t.Employment = "employment", t.MessageThread = "messageThread", t.CalendarEvent = "calendarEvent", t.ListItems = "listItems", t))(dt || {}), xe = /* @__PURE__ */ ((t) => (t.General = "general", t.Required = "required", t.Invalid = "invalid", t.Warning = "warning", t))(xe || {}), Kn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.EmailPwdLocal = "emailPwdLocal", t.Facebook = "facebook", t.Google = "google", t.Microsoft = "microsoft", t.LinkedIn = "linkedIn", t.Auth0Database = "auth0Database", t.X509 = "x509", t.Salaxy = "salaxy", t.Test = "test", t.WebAuthn = "webAuthn", t.MicrosoftOAuth = "microsoftOAuth", t.GoogleOAuth = "googleOAuth", t.InternalLocalhost = "internalLocalhost", t))(Kn || {}), Nn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.OK = "oK", t.AccessDenied = "accessDenied", t.ExpiredOauthToken = "expiredOauthToken", t.InvalidOAuthToken = "invalidOAuthToken", t.NoOauthToken = "noOauthToken", t))(Nn || {}), Vn = /* @__PURE__ */ ((t) => (t.None = "none", t.EmployerAuthorization = "employerAuthorization", t.WorkerContract = "workerContract", t.CompanyContract = "companyContract", t.PartnerContract = "partnerContract", t.Manual = "manual", t.Temporary = "temporary", t))(Vn || {}), We = /* @__PURE__ */ ((t) => (t.Icon = "icon", t.Uploaded = "uploaded", t.Gravatar = "gravatar", t))(We || {}), Rn = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Error = "error", t.PaytrailBatch = "paytrailBatch", t.NetvisorPayment = "netvisorPayment", t.SalaryGrossPayment = "salaryGrossPayment", t.RefundPayment = "refundPayment", t.PartialRefundPayment = "partialRefundPayment", t.DoubleRefundPayment = "doubleRefundPayment", t.TransferToEcfaPayment = "transferToEcfaPayment", t.InsuranceGrossPayment = "insuranceGrossPayment", t.NetSalary = "netSalary", t.SalaryAdvance = "salaryAdvance", t.NetSalaryRepayment = "netSalaryRepayment", t.NetSalaryCorrection = "netSalaryCorrection", t.TaxAccount = "taxAccount", t.Tvr = "tvr", t.TvrRfnd = "tvrRfnd", t.PalkkausFees = "palkkausFees", t.BankFees = "bankFees", t.PaytrailFees = "paytrailFees", t.InsuranceLahiTapiola = "insuranceLahiTapiola", t.Tyel = "tyel", t.TyelEteraContract = "tyelEteraContract", t.TyelEteraTemp = "tyelEteraTemp", t.TyelEteraUnknown = "tyelEteraUnknown", t.TyelEloContract = "tyelEloContract", t.TyelEloTemp = "tyelEloTemp", t.TyelEloInitialImport = "tyelEloInitialImport", t.TyelVarmaContract = "tyelVarmaContract", t.TyelVarmaTemp = "tyelVarmaTemp", t.TyelIlmarinenContract = "tyelIlmarinenContract", t.TyelIlmarinenTemp = "tyelIlmarinenTemp", t.Union = "union", t.UnionRaksa = "unionRaksa", t.Foreclosure = "foreclosure", t.SaldoYearBegin = "saldoYearBegin", t.SaldoYearEnd = "saldoYearEnd", t))(Rn || {}), Bn = /* @__PURE__ */ ((t) => (t.AccommodationBenefit = "accommodationBenefit", t.TelephoneBenefit = "telephoneBenefit", t.MealBenefit = "mealBenefit", t.OtherBenefits = "otherBenefits", t))(Bn || {}), Hn = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.AuthorizationPdf = "authorizationPdf", t.Avatar = "avatar", t.TaxCard = "taxCard", t.ExpensesReceipt = "expensesReceipt", t.Raksaloki = "raksaloki", t.Template = "template", t.EInvoice = "eInvoice", t.Temporary = "temporary", t.Settings = "settings", t.Messages = "messages", t.Record = "record", t.MonthlyReport = "monthlyReport", t.YearlyReport = "yearlyReport", t.CalcReport = "calcReport", t))(Hn || {}), Un = /* @__PURE__ */ ((t) => (t.UserFiles = "userFiles", t.VersionHistory = "versionHistory", t.SystemFiles = "systemFiles", t.Payload = "payload", t.Reports = "reports", t.CdnImages = "cdnImages", t.Iam = "iam", t.GitContent = "gitContent", t.FileSystemContent = "fileSystemContent", t))(Un || {}), He = /* @__PURE__ */ ((t) => (t.Default = "default", t.Primary = "primary", t.Success = "success", t.Info = "info", t.Warning = "warning", t.Danger = "danger", t))(He || {}), Yn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.BaseSalary = "baseSalary", t.SalaryAdditions = "salaryAdditions", t.Benefits = "benefits", t.Expenses = "expenses", t.Deductions = "deductions", t.OtherNoPayment = "otherNoPayment", t.Totals = "totals", t.Disabled = "disabled", t))(Yn || {}), C = /* @__PURE__ */ ((t) => (t.Number = "number", t.Hidden = "hidden", t.ReadOnly = "readOnly", t))(C || {}), gt = /* @__PURE__ */ ((t) => (t.BuiltIn = "builtIn", t.Custom = "custom", t))(gt || {}), Wn = /* @__PURE__ */ ((t) => (t.Exclude = "exclude", t.PensionInsurance = "pensionInsurance", t.AccidentInsurance = "accidentInsurance", t.UnemploymentInsurance = "unemploymentInsurance", t.HealthInsurance = "healthInsurance", t.InsurancesDeduction = "insurancesDeduction", t.NoTax = "noTax", t.Tax = "tax", t.TaxDeduction = "taxDeduction", t.CfNoPayment = "cfNoPayment", t.CfPayment = "cfPayment", t.CfDeduction = "cfDeduction", t.CfDeductionAtSalaxy = "cfDeductionAtSalaxy", t))(Wn || {}), $n = /* @__PURE__ */ ((t) => (t.Default = "default", t.Worker = "worker", t.Employer = "employer", t.Employment = "employment", t.Taxcard = "taxcard", t.Insurances = "insurances", t))($n || {}), Gn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.TotalBenefits = "totalBenefits", t.TotalExpenses = "totalExpenses", t.TotalSocialSecurityEmployer = "totalSocialSecurityEmployer", t.TotalSocialSecurityEmployerDebt = "totalSocialSecurityEmployerDebt", t.TotalSocialSecurityEmployerPayment = "totalSocialSecurityEmployerPayment", t.TotalPension = "totalPension", t.TotalPensionPayment = "totalPensionPayment", t.TotalPensionEmployer = "totalPensionEmployer", t.TotalPensionEmployerDebt = "totalPensionEmployerDebt", t.TotalPensionWorker = "totalPensionWorker", t.TotalUnemployment = "totalUnemployment", t.TotalUnemploymentPayment = "totalUnemploymentPayment", t.TotalUnemploymentEmployer = "totalUnemploymentEmployer", t.TotalUnemploymentEmployerDebt = "totalUnemploymentEmployerDebt", t.TotalUnemploymentWorker = "totalUnemploymentWorker", t.TotalPalkkaus = "totalPalkkaus", t.TotalSalary = "totalSalary", t.TotalTax = "totalTax", t.TotalTaxPayment = "totalTaxPayment", t.TotalPayment = "totalPayment", t.TotalWorkerPayment = "totalWorkerPayment", t.TotalService = "totalService", t))(Gn || {}), A = /* @__PURE__ */ ((t) => (t.Salary = "salary", t.SalaryAdditions = "salaryAdditions", t.SalaryCalc = "salaryCalc", t.Holidays = "holidays", t.Benefits = "benefits", t.Expenses = "expenses", t.Deductions = "deductions", t.Other = "other", t))(A || {}), yt = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Disabled = "disabled", t.ManualRow = "manualRow", t.WorktimeImport = "worktimeImport", t.PriceEmployment = "priceEmployment", t.PriceCompany = "priceCompany", t.CopyEmployment = "copyEmployment", t.CopyCompany = "copyCompany", t.CustomRowtype = "customRowtype", t))(yt || {}), k = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Salary = "salary", t.HourlySalary = "hourlySalary", t.MonthlySalary = "monthlySalary", t.TotalWorkerPayment = "totalWorkerPayment", t.TotalEmployerPayment = "totalEmployerPayment", t.TimeRatePay = "timeRatePay", t.Compensation = "compensation", t.Overtime = "overtime", t.TesWorktimeShortening = "tesWorktimeShortening", t.EveningAddition = "eveningAddition", t.NightimeAddition = "nightimeAddition", t.SaturdayAddition = "saturdayAddition", t.SundayWork = "sundayWork", t.OtherAdditions = "otherAdditions", t.PaidSickLeaveSalary = "paidSickLeaveSalary", t.PaidSickLeaveHourlySalary = "paidSickLeaveHourlySalary", t.PaidSickLeaveMonthlySalary = "paidSickLeaveMonthlySalary", t.TrainingSalary = "trainingSalary", t.TrainingHourlySalary = "trainingHourlySalary", t.TrainingMonthlySalary = "trainingMonthlySalary", t.AccomodationBenefit = "accomodationBenefit", t.MealBenefit = "mealBenefit", t.PhoneBenefit = "phoneBenefit", t.CarBenefit = "carBenefit", t.BicycleBenefit = "bicycleBenefit", t.OtherBenefit = "otherBenefit", t.HolidayCompensation = "holidayCompensation", t.HolidayBonus = "holidayBonus", t.HolidaySalary = "holidaySalary", t.DailyAllowance = "dailyAllowance", t.DailyAllowanceHalf = "dailyAllowanceHalf", t.MealCompensation = "mealCompensation", t.MilageOwnCar = "milageOwnCar", t.ToolCompensation = "toolCompensation", t.Expenses = "expenses", t.MilageDaily = "milageDaily", t.MilageOther = "milageOther", t.UnionPayment = "unionPayment", t.Foreclosure = "foreclosure", t.Advance = "advance", t.ForeclosureByPalkkaus = "foreclosureByPalkkaus", t.PrepaidExpenses = "prepaidExpenses", t.OtherDeductions = "otherDeductions", t.DeductibleOfExerciseAndCultureBenefit = "deductibleOfExerciseAndCultureBenefit", t.ChildCareSubsidy = "childCareSubsidy", t.ChainsawReduction = "chainsawReduction", t.NonProfitOrg = "nonProfitOrg", t.SubsidisedCommute = "subsidisedCommute", t.IrIncomeType = "irIncomeType", t.Board = "board", t.Remuneration = "remuneration", t.OtherCompensation = "otherCompensation", t.WorkingTimeCompensation = "workingTimeCompensation", t.EmploymentTermination = "employmentTermination", t.HourlySalaryWithWorkingTimeCompensation = "hourlySalaryWithWorkingTimeCompensation", t.PaidSickLeave = "paidSickLeave", t.Training = "training", t.PayStats = "payStats", t.TaxAtSource = "taxAtSource", t.TaxWithholding = "taxWithholding", t.AbsencePeriod = "absencePeriod", t.ServiceCharge = "serviceCharge", t.Service = "service", t.Script = "script", t.Totals = "totals", t))(k || {}), H = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Count = "count", t.Percent = "percent", t.Days = "days", t.Kilometers = "kilometers", t.Hours = "hours", t.Weeks = "weeks", t.Months = "months", t))(H || {}), ot = /* @__PURE__ */ ((t) => (t.Draft = "draft", t.PaymentStarted = "paymentStarted", t.PaymentSucceeded = "paymentSucceeded", t.PaymentCanceled = "paymentCanceled", t.PaymentError = "paymentError", t.PaymentWorkerCopy = "paymentWorkerCopy", t.WorkerRequested = "workerRequested", t.WorkerRequestAccepted = "workerRequestAccepted", t.WorkerRequestDeclined = "workerRequestDeclined", t.PaymentRefunded = "paymentRefunded", t.PaymentRepairCopy = "paymentRepairCopy", t.WaitingApproval = "waitingApproval", t.PayrollDraft = "payrollDraft", t.Repair = "repair", t.ProDraft = "proDraft", t.SharedWaiting = "sharedWaiting", t.SharedApproved = "sharedApproved", t.SharedRejected = "sharedRejected", t.History = "history", t.Template = "template", t))(ot || {}), Jn = /* @__PURE__ */ ((t) => (t.All = "all", t.Readonly = "readonly", t.Editable = "editable", t.Sent = "sent", t.Shared = "shared", t.Received = "received", t.Error = "error", t))(Jn || {}), zn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Display = "display", t.Email = "email", t.Audio = "audio", t.CreateItem = "createItem", t.Script = "script", t.PaymentDate = "paymentDate", t))(zn || {}), _n = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Cancelled = "cancelled", t.Confirmed = "confirmed", t.Tentative = "tentative", t.NeedsAction = "needsAction", t.Completed = "completed", t.InProcess = "inProcess", t))(_n || {}), Xn = /* @__PURE__ */ ((t) => (t.LimitedCarBenefit = "limitedCarBenefit", t.FullCarBenefit = "fullCarBenefit", t))(Xn || {}), qn = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.FiOy = "fiOy", t.FiTm = "fiTm", t.FiRy = "fiRy", t.FiYy = "fiYy", t))(qn || {}), Zn = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Overwrite = "overwrite", t.Preserve = "preserve", t.Append = "append", t))(Zn || {}), Ut = /* @__PURE__ */ ((t) => (t.Person = "person", t.CustomContact = "customContact", t))(Ut || {}), jt = /* @__PURE__ */ ((t) => (t.Default = "default", t.WorkerAccount = "workerAccount", t.EmployerOverride = "employerOverride", t.Foreign = "foreign", t))(jt || {}), Qn = /* @__PURE__ */ ((t) => (t.None = "none", t.Calculation = "calculation", t.Row = "row", t.Hidden = "hidden", t))(Qn || {}), Yt = /* @__PURE__ */ ((t) => (t.Fi = "fi", t.Ae = "ae", t.At = "at", t.Ba = "ba", t.Bg = "bg", t.By = "by", t.Cn = "cn", t.De = "de", t.Eg = "eg", t.Fr = "fr", t.Gg = "gg", t.Hr = "hr", t.Ie = "ie", t.In = "in", t.Je = "je", t.Kr = "kr", t.Lk = "lk", t.Lv = "lv", t.Me = "me", t.Mx = "mx", t.No = "no", t.Pk = "pk", t.Rs = "rs", t.Sg = "sg", t.Th = "th", t.Tr = "tr", t.Us = "us", t.Vg = "vg", t.Zm = "zm", t.Am = "am", t.Au = "au", t.Bb = "bb", t.Bm = "bm", t.Ca = "ca", t.Cy = "cy", t.Dk = "dk", t.Es = "es", t.Gb = "gb", t.Gr = "gr", t.Hu = "hu", t.Il = "il", t.Is = "is", t.Jp = "jp", t.Ky = "ky", t.Lt = "lt", t.Ma = "ma", t.Mk = "mk", t.My = "my", t.Nz = "nz", t.Pl = "pl", t.Ru = "ru", t.Si = "si", t.Tj = "tj", t.Tz = "tz", t.Uy = "uy", t.Vn = "vn", t.Ar = "ar", t.Az = "az", t.Be = "be", t.Br = "br", t.Ch = "ch", t.Cz = "cz", t.Ee = "ee", t.Ge = "ge", t.Hk = "hk", t.Id = "id", t.Im = "im", t.It = "it", t.Kg = "kg", t.Kz = "kz", t.Lu = "lu", t.Md = "md", t.Mt = "mt", t.Nl = "nl", t.Ph = "ph", t.Ro = "ro", t.Se = "se", t.Sk = "sk", t.Tm = "tm", t.Ua = "ua", t.Uz = "uz", t.Za = "za", t.Other = "other", t))(Yt || {}), es = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Forecast = "forecast", t.Preview = "preview", t.WaitingPalkkaus = "waitingPalkkaus", t.Unread = "unread", t.Read = "read", t.PaymentStarted = "paymentStarted", t.Warning = "warning", t.Paid = "paid", t.Canceled = "canceled", t.Error = "error", t))(es || {}), ts = /* @__PURE__ */ ((t) => (t.Palkkaus = "palkkaus", t.CustomSso = "customSso", t.CustomPalkkaus = "customPalkkaus", t.NoCustomerUi = "noCustomerUi", t))(ts || {}), as = /* @__PURE__ */ ((t) => (t.New = "new", t.Scheduled = "scheduled", t.Succeeded = "succeeded", t.Canceled = "canceled", t.Error = "error", t.Invalid = "invalid", t.Sending = "sending", t))(as || {}), sa = /* @__PURE__ */ ((t) => (t.BankAccount = "bankAccount", t.External = "external", t))(sa || {}), is = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Primary = "primary", t.SecondaryCurrent = "secondaryCurrent", t.Archived = "archived", t))(is || {}), Et = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Auto = "auto", t.Manual = "manual", t.NoTaxCard = "noTaxCard", t.TaxAtSource = "taxAtSource", t))(Et || {}), V = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Salary = "salary", t.HourlySalary = "hourlySalary", t.MonthlySalary = "monthlySalary", t.Compensation = "compensation", t.BoardMember = "boardMember", t.Entrepreneur = "entrepreneur", t.Farmer = "farmer", t.EmployedByStateEmploymentFund = "employedByStateEmploymentFund", t.Athlete = "athlete", t.PerformingArtist = "performingArtist", t.ForeignWorker = "foreignWorker", t.WorkingAbroad = "workingAbroad", t))(V || {}), ee = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.FileExcel = "fileExcel", t.FileCsv = "fileCsv", t.FilePdf = "filePdf", t.FileText = "fileText", t.CopyExcel = "copyExcel", t.CopyCsv = "copyCsv", t.CopyText = "copyText", t.PaymentChannel = "paymentChannel", t.Api = "api", t))(ee || {}), ii = /* @__PURE__ */ ((t) => (t.Draft = "draft", t.Instance = "instance", t.Template = "template", t))(ii || {}), ns = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.ReportAdHoc = "reportAdHoc", t.Import = "import", t.Export = "export", t.Batch = "batch", t))(ns || {}), ss = /* @__PURE__ */ ((t) => (t.Assumption = "assumption", t.AgeBased = "ageBased", t.AgeGroupBased = "ageGroupBased", t.MonthCorrect = "monthCorrect", t.Exact = "exact", t.Verified = "verified", t))(ss || {}), ni = /* @__PURE__ */ ((t) => (t.NotDefined = "notDefined", t.Construction = "construction", t.Mll = "mll", t.ChildCare = "childCare", t.Cleaning = "cleaning", t.SantaClaus = "santaClaus", t.Entrepreneur = "entrepreneur", t.Other = "other", t))(ni || {}), os = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Male = "male", t.Female = "female", t))(os || {}), ls = /* @__PURE__ */ ((t) => (t.NotDefined = "notDefined", t.I = "i", t.J = "j", t.K = "k", t.M = "m", t.O = "o", t.N = "n", t.P = "p", t.Q = "q", t.R = "r", t.S = "s", t.Other = "other", t))(ls || {}), rs = /* @__PURE__ */ ((t) => (t.NotDefined = "notDefined", t.Small = "small", t.Medium = "medium", t.Large = "large", t))(rs || {}), Qe = /* @__PURE__ */ ((t) => (t.EmployedByStateEmploymentFund = "employedByStateEmploymentFund", t.JointOwnerWithPayer = "jointOwnerWithPayer", t.PartialOwner = "partialOwner", t.KeyEmployee = "keyEmployee", t.LeasedEmployeeLivingAbroad = "leasedEmployeeLivingAbroad", t.PersonWorkingInFrontierDistrict = "personWorkingInFrontierDistrict", t.PersonWorkingAbroad = "personWorkingAbroad", t.Athlete = "athlete", t.PerformingArtist = "performingArtist", t.RestrictedPeriodInFinland = "restrictedPeriodInFinland", t.NetOfTaxContract = "netOfTaxContract", t.Organization = "organization", t.PersonWorkingOnAlandFerry = "personWorkingOnAlandFerry", t.EntrepreneurOrFarmerNoPensionRequired = "entrepreneurOrFarmerNoPensionRequired", t.DimplomaticMission = "dimplomaticMission", t.Eppo = "eppo", t.LightEntrepreneur = "lightEntrepreneur", t))(Qe || {}), us = /* @__PURE__ */ ((t) => (t.Default = "default", t.New = "new", t.Changed = "changed", t.Removed = "removed", t))(us || {}), ks = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.TaxIdentificationNumber = "taxIdentificationNumber", t.ForeignPersonalIdentificationNumber = "foreignPersonalIdentificationNumber", t.Other = "other", t))(ks || {}), si = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Forecast = "forecast", t.Preview = "preview", t.WaitingPalkkaus = "waitingPalkkaus", t.Unread = "unread", t.Read = "read", t.WaitingConfirmation = "waitingConfirmation", t.PaymentStarted = "paymentStarted", t.Warning = "warning", t.Paid = "paid", t.Canceled = "canceled", t.Error = "error", t))(si || {}), ms = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Net = "net", t.Tax = "tax", t.TaxWithholding = "taxWithholding", t.TaxSocialSecurity = "taxSocialSecurity", t.TaxAtSource = "taxAtSource", t.Unemployment = "unemployment", t.Pension = "pension", t.Union = "union", t.Foreclosure = "foreclosure", t.Payroll = "payroll", t.Service = "service", t.Fee = "fee", t.Gross = "gross", t.Verification = "verification", t))(ms || {}), ds = /* @__PURE__ */ ((t) => (t.NewYearsDay = "newYearsDay", t.Epiphany = "epiphany", t.GoodFriday = "goodFriday", t.EasterSunday = "easterSunday", t.EasterSaturday = "easterSaturday", t.EasterMonday = "easterMonday", t.MayDay = "mayDay", t.AscensionDay = "ascensionDay", t.Pentecost = "pentecost", t.MidsummerEve = "midsummerEve", t.MidsummerDay = "midsummerDay", t.AllSaintsDay = "allSaintsDay", t.IndependenceDay = "independenceDay", t.ChristmasEve = "christmasEve", t.ChristmasDay = "christmasDay", t.StStephensDay = "stStephensDay", t))(ds || {}), cs = /* @__PURE__ */ ((t) => (t.Initial = "initial", t.Manual = "manual", t.CalcDraft = "calcDraft", t.CalcPaid = "calcPaid", t))(cs || {}), ps = /* @__PURE__ */ ((t) => (t.None = "none", t.PayForHolidaySalary = "payForHolidaySalary", t.PaySummerBonus = "paySummerBonus", t.PaySelectedDays = "paySelectedDays", t.Pay24Days = "pay24Days", t.PayAllBonus = "payAllBonus", t))(ps || {}), Wt = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Permanent14Days = "permanent14Days", t.Permanent35Hours = "permanent35Hours", t.TemporaryTimeOff = "temporaryTimeOff", t.HolidayCompensation = "holidayCompensation", t.HolidayCompensationIncluded = "holidayCompensationIncluded", t.NoHolidays = "noHolidays", t.Other = "other", t.Script = "script", t))(Wt || {}), ct = /* @__PURE__ */ ((t) => (t.Official = "official", t.NonBanking = "nonBanking", t.Holiday = "holiday", t))(ct || {}), et = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.NormalMonthlyPay = "normalMonthlyPay", t.AverageDailyPay = "averageDailyPay", t.PercentageBasedPay = "percentageBasedPay", t.AverageHourlyPay = "averageHourlyPay", t.HolidayCompensation = "holidayCompensation", t.OtherPay = "otherPay", t.ScriptPay = "scriptPay", t))(et || {}), ys = /* @__PURE__ */ ((t) => (t.Open = "open", t.Closed = "closed", t.Printed = "printed", t))(ys || {}), vs = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Ok = "ok", t.OkWithModifications = "okWithModifications", t.WillHandleMyself = "willHandleMyself", t))(vs || {}), hs = /* @__PURE__ */ ((t) => (t.None = "none", t.LähiTapiola = "lähiTapiola", t.Pohjola = "pohjola", t.If = "if", t.Fennia = "fennia", t.AVakuutus = "aVakuutus", t.Aktia = "aktia", t.Pohjantähti = "pohjantähti", t.Tryg = "tryg", t.Ålands = "ålands", t.Turva = "turva", t.Redarnas = "redarnas", t.Folksam = "folksam", t.Alandia = "alandia", t.Protector = "protector", t.Other = "other", t.Pending = "pending", t))(hs || {}), $t = /* @__PURE__ */ ((t) => (t.NotSubjectToEarningsRelatedPensionInsurance = "notSubjectToEarningsRelatedPensionInsurance", t.NotSubjectToAccidentAndOccupationalDiseaseInsurance = "notSubjectToAccidentAndOccupationalDiseaseInsurance", t.NotSubjectToUnemploymentInsurance = "notSubjectToUnemploymentInsurance", t.NotSubjectToHealthInsurance = "notSubjectToHealthInsurance", t.VoluntaryEarningsRelatedPensionInsurance = "voluntaryEarningsRelatedPensionInsurance", t.NoObligationToHealthInsuranceDailyAllowanceContribution = "noObligationToHealthInsuranceDailyAllowanceContribution", t))($t || {}), fs = /* @__PURE__ */ ((t) => (t.Default = "default", t.Foreign = "foreign", t.Mixed = "mixed", t))(fs || {}), oi = /* @__PURE__ */ ((t) => (t.InvoiceDate = "invoiceDate", t.DueDate = "dueDate", t.LogicalDate = "logicalDate", t))(oi || {}), gs = /* @__PURE__ */ ((t) => (t.Default = "default", t.Salary = "salary", t.SalaryInPast = "salaryInPast", t))(gs || {}), js = /* @__PURE__ */ ((t) => (t.NoMoney = "noMoney", t.OneOff = "oneOff", t.UnjustEnrichment = "unjustEnrichment", t))(js || {}), bs = /* @__PURE__ */ ((t) => (t.IncludeAll = "includeAll", t.IncludePension = "includePension", t.IncludeHealthInsurance = "includeHealthInsurance", t.IncludeUnemployment = "includeUnemployment", t.IncludeAccidentInsurance = "includeAccidentInsurance", t.ExcludeAll = "excludeAll", t.ExcludePension = "excludePension", t.ExcludeHealthInsurance = "excludeHealthInsurance", t.ExcludeUnemployment = "excludeUnemployment", t.ExcludeAccidentInsurance = "excludeAccidentInsurance", t))(bs || {}), Ts = /* @__PURE__ */ ((t) => (t.Manual = "manual", t.Usecase = "usecase", t.UsecaseV02 = "usecaseV02", t))(Ts || {}), Ee = /* @__PURE__ */ ((t) => (t.Default = "default", t.Fi = "fi", t.Sv = "sv", t.En = "en", t))(Ee || {}), ce = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Person = "person", t.Company = "company", t.PersonCreatedByEmployer = "personCreatedByEmployer", t.Partner = "partner", t))(ce || {}), Ss = /* @__PURE__ */ ((t) => (t.Procuration = "procuration", t.PowerOfAttorney = "powerOfAttorney", t.ApparentAuthority = "apparentAuthority", t.Other = "other", t))(Ss || {}), Ps = /* @__PURE__ */ ((t) => (t.Draft = "draft", t.WaitingApproval = "waitingApproval", t.Checked = "checked", t.Sent = "sent", t.Handled = "handled", t.Canceled = "canceled", t))(Ps || {}), As = /* @__PURE__ */ ((t) => (t.NewWorkerInsurance = "newWorkerInsurance", t.MoveWorkerInsurance = "moveWorkerInsurance", t.NewEntrepreneurInsurance = "newEntrepreneurInsurance", t.MoveEntrepreneurInsurance = "moveEntrepreneurInsurance", t.Other = "other", t))(As || {}), Es = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.RemoveAllRows = "removeAllRows", t.RemoveImportedRows = "removeImportedRows", t))(Es || {}), xs = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Owner = "owner", t.OtherParty = "otherParty", t.System = "system", t))(xs || {}), ws = /* @__PURE__ */ ((t) => (t.Draft = "draft", t.Active = "active", t.Approved = "approved", t.Rejected = "rejected", t.Archived = "archived", t.Template = "template", t))(ws || {}), Is = /* @__PURE__ */ ((t) => (t.Email = "email", t.Sms = "sms", t))(Is || {}), Ls = /* @__PURE__ */ ((t) => (t.Created = "created", t.Open = "open", t.Error = "error", t.Cancel = "cancel", t.Done = "done", t.Expired = "expired", t))(Ls || {}), Ds = /* @__PURE__ */ ((t) => (t.New = "new", t.Scheduled = "scheduled", t.Succeeded = "succeeded", t.Canceled = "canceled", t.Error = "error", t.Invalid = "invalid", t.Sending = "sending", t))(Ds || {}), w = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Test = "test", t.ZeroPayment = "zeroPayment", t.External = "external", t.PalkkausManual = "palkkausManual", t.PalkkausWS = "palkkausWS", t.PalkkausPersonal = "palkkausPersonal", t.PalkkausInvoices = "palkkausInvoices", t.PalkkausPSD = "palkkausPSD", t.PalkkausCfaPaytrail = "palkkausCfaPaytrail", t.PalkkausCfaReference = "palkkausCfaReference", t.PalkkausCfaFinvoice = "palkkausCfaFinvoice", t.PalkkausEcfaPaytrail = "palkkausEcfaPaytrail", t.PalkkausEcfaReference = "palkkausEcfaReference", t.PalkkausEcfaFinvoice = "palkkausEcfaFinvoice", t.PalkkausCfaTest = "palkkausCfaTest", t.AccountorGo = "accountorGo", t.TalenomOnline = "talenomOnline", t.TalenomCfa = "talenomCfa", t.HolviCfa = "holviCfa", t.FinagoSolo = "finagoSolo", t.Procountor = "procountor", t.Kevytyrittaja = "kevytyrittaja", t.VismaNetvisor = "vismaNetvisor", t.Askelma = "askelma", t.Briox = "briox", t.Lemonaid = "lemonaid", t.Laskupiste = "laskupiste", t.Holvi = "holvi", t.Kompassi = "kompassi", t.Domus = "domus", t.PasseliMerit = "passeliMerit", t.Odoo = "odoo", t.Ecom = "ecom", t.Kitsas = "kitsas", t.TalenomManual = "talenomManual", t.Hausvise = "hausvise", t))(w || {}), Cs = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Sepa = "sepa", t.Siirto = "siirto", t.Test = "test", t))(Cs || {}), Fs = /* @__PURE__ */ ((t) => (t.New = "new", t.SentToBank = "sentToBank", t.BankTechApproval = "bankTechApproval", t.BankDelivered = "bankDelivered", t.BankPartialError = "bankPartialError", t.BankError = "bankError", t.Paid = "paid", t.Unknown = "unknown", t.Cancelled = "cancelled", t))(Fs || {}), Ms = /* @__PURE__ */ ((t) => (t.Draft = "draft", t.PaymentStarted = "paymentStarted", t.PaymentSucceeded = "paymentSucceeded", t.PaymentCanceled = "paymentCanceled", t.PaymentError = "paymentError", t.PaymentAllowed = "paymentAllowed", t.WaitingApproval = "waitingApproval", t.WaitingPartnerApproval = "waitingPartnerApproval", t.Handled = "handled", t.Template = "template", t))(Ms || {}), Os = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Year = "year", t.HalfYear = "halfYear", t.Quarter = "quarter", t.Month = "month", t.LastPayPeriod = "lastPayPeriod", t.Other = "other", t))(Os || {}), Ks = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.AverageHourlyPay = "averageHourlyPay", t.Script = "script", t))(Ks || {}), R = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Employee = "employee", t.Entrepreneur = "entrepreneur", t.Farmer = "farmer", t.PartialOwner = "partialOwner", t.Athlete = "athlete", t.Compensation = "compensation", t.BoardRemuneration = "boardRemuneration", t.SmallEntrepreneur = "smallEntrepreneur", t.SmallFarmer = "smallFarmer", t.PublicSector = "publicSector", t))(R || {}), W = /* @__PURE__ */ ((t) => (t.None = "none", t.Etera = "etera", t.Ilmarinen = "ilmarinen", t.Elo = "elo", t.PensionsAlandia = "pensionsAlandia", t.Varma = "varma", t.Veritas = "veritas", t.Apteekkien = "apteekkien", t.Verso = "verso", t.KevaMunicipal = "kevaMunicipal", t.KevaAland = "kevaAland", t.KevaChurch = "kevaChurch", t.KevaKela = "kevaKela", t.KevaState = "kevaState", t.Valio = "valio", t.Other = "other", t))(W || {}), Ns = /* @__PURE__ */ ((t) => (t.Default = "default", t.MonthlyLowerLimit = "monthlyLowerLimit", t))(Ns || {}), Vs = /* @__PURE__ */ ((t) => (t.PaidAtDate = "paidAtDate", t.SalaryDate = "salaryDate", t.WorkDate = "workDate", t.WorkDateStart = "workDateStart", t.WorkDateEnd = "workDateEnd", t))(Vs || {}), oa = /* @__PURE__ */ ((t) => (t.Month = "month", t.Quarter = "quarter", t.Year = "year", t.Custom = "custom", t))(oa || {}), Rs = /* @__PURE__ */ ((t) => (t.PalkkausFee = "palkkausFee", t.NoFee = "noFee", t.FixedFee = "fixedFee", t))(Rs || {}), Bs = /* @__PURE__ */ ((t) => (t.Default = "default", t.PartnerBasic = "partnerBasic", t.PartnerPro = "partnerPro", t))(Bs || {}), Hs = /* @__PURE__ */ ((t) => (t.Available = "available", t.All = "all", t))(Hs || {}), Us = /* @__PURE__ */ ((t) => (t.All = "all", t.Monthly = "monthly", t.Yearly = "yearly", t))(Us || {}), Ae = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Example = "example", t.MonthlyDetails = "monthlyDetails", t.TaxMonthly4001 = "taxMonthly4001", t.PayerSummaryReport = "payerSummaryReport", t.MonthlyPension = "monthlyPension", t.MonthlyLiikekirjuri = "monthlyLiikekirjuri", t.MonthlyLiikekirjuriLegacy = "monthlyLiikekirjuriLegacy", t.MonthlyRapko = "monthlyRapko", t.MonthlyAccounting = "monthlyAccounting", t.MonthlyAccountingExcel = "monthlyAccountingExcel", t.YearlyDetails = "yearlyDetails", t.YearEndReport = "yearEndReport", t.YearlyWorkerSummary = "yearlyWorkerSummary", t.TaxYearly7801 = "taxYearly7801", t.Unemployment = "unemployment", t.Insurance = "insurance", t.HouseholdDeduction = "householdDeduction", t.TaxHouseholdDeduction14B = "taxHouseholdDeduction14B", t.TaxHouseholdDeduction14BSpouseA = "taxHouseholdDeduction14BSpouseA", t.TaxHouseholdDeduction14BSpouseB = "taxHouseholdDeduction14BSpouseB", t.SalarySlip = "salarySlip", t.SalarySlipPaid = "salarySlipPaid", t.SalarySlipCopy = "salarySlipCopy", t.ESalarySpecification = "eSalarySpecification", t.EmployerReport = "employerReport", t.PaymentReport = "paymentReport", t.PaymentSummaryReport = "paymentSummaryReport", t.TotalsReport = "totalsReport", t.EarningsPaymentReport = "earningsPaymentReport", t.AccountingReport = "accountingReport", t.Invoice = "invoice", t.InvoiceList = "invoiceList", t.EmploymentContract = "employmentContract", t.Authorization = "authorization", t))(Ae || {}), Ys = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Accountant = "accountant", t.TrustedPartner = "trustedPartner", t.AccountantCandidate = "accountantCandidate", t.PricingPartner = "pricingPartner", t.SepaPartner = "sepaPartner", t.SalaxyPay = "salaxyPay", t))(Ys || {}), Ws = /* @__PURE__ */ ((t) => (t.Default = "default", t.InPast = "inPast", t))(Ws || {}), Ve = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.FixedSalary = "fixedSalary", t.HourlySalary = "hourlySalary", t.MonthlySalary = "monthlySalary", t.Compensation = "compensation", t.TotalWorkerPayment = "totalWorkerPayment", t.TotalEmployerPayment = "totalEmployerPayment", t))(Ve || {}), $s = /* @__PURE__ */ ((t) => (t.Tyel = "tyel", t.Yel = "yel", t.Compensation = "compensation", t))($s || {}), Gs = /* @__PURE__ */ ((t) => (t.Shared = "shared", t.PartnerOnly = "partnerOnly", t))(Gs || {}), Js = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Checked = "checked", t.Pending = "pending", t))(Js || {}), li = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Url = "url", t.Employer = "employer", t))(li || {}), zs = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Salary = "salary", t.DividendsForWorkAsSalary = "dividendsForWorkAsSalary", t.PersonnelFundIncome = "personnelFundIncome", t.SalaryOneOff = "salaryOneOff", t.CompensationForUseEarnedIncome = "compensationForUseEarnedIncome", t.CompensationForUseCapitalIncome = "compensationForUseCapitalIncome", t.CompensationVatResponsible = "compensationVatResponsible", t.Compensation = "compensation", t.DividendsForWorkAsCompensation = "dividendsForWorkAsCompensation", t.AthletePay = "athletePay", t.OtherTaxableIncome = "otherTaxableIncome", t.OtherTaxableIncomeOneOff = "otherTaxableIncomeOneOff", t.EmployeeStockOption = "employeeStockOption", t))(zs || {}), _s = /* @__PURE__ */ ((t) => (t.AssureWaiting = "assureWaiting", t.Approve = "approve", t.Reject = "reject", t))(_s || {}), ri = /* @__PURE__ */ ((t) => (t.GetDiff = "getDiff", t.NoCheck = "noCheck", t.CommitDiff = "commitDiff", t))(ri || {}), Xs = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.SalaxyCalculation = "salaxyCalculation", t.PreviousEmployerSalaries = "previousEmployerSalaries", t.ExternalSalaries = "externalSalaries", t.SharedCardExtSum = "sharedCardExtSum", t.Diff = "diff", t))(Xs || {}), Ge = /* @__PURE__ */ ((t) => (t.New = "new", t.Approved = "approved", t.EmployerAdded = "employerAdded", t.VerifiedVero = "verifiedVero", t.SharedWaiting = "sharedWaiting", t.SharedApproved = "sharedApproved", t.SharedRejected = "sharedRejected", t.SharedRejectedWithoutOpen = "sharedRejectedWithoutOpen", t.Shared = "shared", t))(Ge || {}), _ = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.NoTaxCard = "noTaxCard", t.Auto = "auto", t.DefaultYearly = "defaultYearly", t.Replacement = "replacement", t.NoWithholdingHousehold = "noWithholdingHousehold", t.Others = "others", t.Historical = "historical", t))(_ || {}), qs = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Valid = "valid", t.ValidJanuary = "validJanuary", t.Future = "future", t.Expired = "expired", t))(qs || {}), Ne = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.NoDeduction = "noDeduction", t.MonthlyDeduction = "monthlyDeduction", t.DailyDeduction = "dailyDeduction", t.FixedValues = "fixedValues", t))(Ne || {}), ie = /* @__PURE__ */ ((t) => (t.None = "none", t.Householdwork = "householdwork", t.Carework = "carework", t.HomeImprovement = "homeImprovement", t.OwnPropety = "ownPropety", t.RelativesProperty = "relativesProperty", t.OilHeatingReplacementWork = "oilHeatingReplacementWork", t))(ie || {}), Zs = /* @__PURE__ */ ((t) => (t.Default = "default", t.NoZeroSalaryReport = "noZeroSalaryReport", t.NoMonthlyReport = "noMonthlyReport", t.Always = "always", t))(Zs || {}), tt = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Percentage = "percentage", t.FixedValue = "fixedValue", t))(tt || {}), Qs = /* @__PURE__ */ ((t) => (t.NotSelected = "notSelected", t.ConstructionCarpenter = "constructionCarpenter", t.ConstructionFloor = "constructionFloor", t.ConstructionOther = "constructionOther", t.ConstructionFreeContract = "constructionFreeContract", t))(Qs || {}), eo = /* @__PURE__ */ ((t) => (t.ValueZero = "valueZero", t.ValueOne = "valueOne", t.ValueTwo = "valueTwo", t.ValueThree = "valueThree", t.ValueFour = "valueFour", t.ValueFive = "valueFive", t.ValueSix = "valueSix", t.ValueSeven = "valueSeven", t.ValueEight = "valueEight", t.ValueNine = "valueNine", t.ValueTen = "valueTen", t))(eo || {}), to = /* @__PURE__ */ ((t) => (t.Text = "text", t.BlobFile = "blobFile", t.Calculation = "calculation", t.Payroll = "payroll", t.WorkerAccount = "workerAccount", t.Email = "email", t.SalaxyEmail = "salaxyEmail", t.Sms = "sms", t.SalaxySms = "salaxySms", t.Timer = "timer", t.TimerEdited = "timerEdited", t.HourlyReport = "hourlyReport", t.TimeReport = "timeReport", t.Absence = "absence", t.AnnualLeave = "annualLeave", t.CalcRow = "calcRow", t.Travel = "travel", t.Expense = "expense", t))(to || {}), ao = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Default = "default", t.PaidSickLeave = "paidSickLeave", t.Training = "training", t.Military = "military", t.Travel = "travel", t))(ao || {}), io = /* @__PURE__ */ ((t) => (t.Default = "default", t.Higher = "higher", t))(io || {}), no = /* @__PURE__ */ ((t) => (t.NotSelected = "notSelected", t.RaksaNormal = "raksaNormal", t.RaksaUnemploymentOnly = "raksaUnemploymentOnly", t.Other = "other", t))(no || {}), ye = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Hours = "hours", t.Days = "days", t.Weeks = "weeks", t.Period = "period", t.One = "one", t.Count = "count", t.Percent = "percent", t.Kilometers = "kilometers", t.Euro = "euro", t))(ye || {}), Dt = /* @__PURE__ */ ((t) => (t.ClientScript = "clientScript", t.ClientScriptAsync = "clientScriptAsync", t.ServerScript = "serverScript", t.ServerScriptAsync = "serverScriptAsync", t.WebServiceCall = "webServiceCall", t.PowerAutomateFlow = "powerAutomateFlow", t))(Dt || {}), so = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Active = "active", t.Default = "default", t.Inactive = "inactive", t))(so || {}), oo = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.NewYel = "newYel", t.NewTyel = "newTyel", t.Move = "move", t))(oo || {}), lo = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Entrepreneur = "entrepreneur", t.Company = "company", t))(lo || {}), le = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.None = "none", t.Vat0000 = "vat0000", t.Vat1000 = "vat1000", t.Vat1350 = "vat1350", t.Vat1400 = "vat1400", t.Vat2400 = "vat2400", t.Vat2550 = "vat2550", t.Other = "other", t))(le || {}), ro = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Monthly = "monthly", t.Hourly = "hourly", t.PerformanceBased = "performanceBased", t.Other = "other", t))(ro || {}), ui = /* @__PURE__ */ ((t) => (t.None = "none", t.Household = "household", t.Worker = "worker", t.Company = "company", t))(ui || {}), uo = /* @__PURE__ */ ((t) => (t.Always = "always", t.Silent = "silent", t))(uo || {}), ko = /* @__PURE__ */ ((t) => (t.Default = "default", t.Payslip = "payslip", t.Omapalkka = "omapalkka", t))(ko || {}), mo = /* @__PURE__ */ ((t) => (t.None = "none", t.IsActive = "isActive", t.IsEditable = "isEditable", t.IsRemovable = "isRemovable", t.IsOnHold = "isOnHold", t))(mo || {}), co = /* @__PURE__ */ ((t) => (t.NotChecked = "notChecked", t.Ok = "ok", t.OkWithWarning = "okWithWarning", t.Errors = "errors", t))(co || {}), po = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.SalaxyPayment = "salaxyPayment", t.External = "external", t.Correction = "correction", t))(po || {}), yo = /* @__PURE__ */ ((t) => (t.NotChecked = "notChecked", t.Ok = "ok", t.OkWithModifications = "okWithModifications", t.WillHandleMyself = "willHandleMyself", t.NoYearlyReports = "noYearlyReports", t))(yo || {}), vo = /* @__PURE__ */ ((t) => (t.NoCompanyType = "noCompanyType", t.HousingCooperative = "housingCooperative", t.Condominium = "condominium", t.AsoAssociation = "asoAssociation", t.OpenCompany = "openCompany", t.Association = "association", t.HypoAssociation = "hypoAssociation", t.MutualRealEstateCompany = "mutualRealEstateCompany", t.Ky = "ky", t.Osuuskunta = "osuuskunta", t.CooperativeBank = "cooperativeBank", t.Oy = "oy", t.PublicLimitedCompany = "publicLimitedCompany", t.Foundation = "foundation", t.Branch = "branch", t.SavingsBank = "savingsBank", t.FinancialAssociation = "financialAssociation", t.StateEstablishment = "stateEstablishment", t.InsuranceAssociation = "insuranceAssociation", t.PrivateEntrepreneur = "privateEntrepreneur", t.OtherAssociation = "otherAssociation", t.SpecialPurposeAssociation = "specialPurposeAssociation", t.ForestCareAssociation = "forestCareAssociation", t.OtherFinancialAssociation = "otherFinancialAssociation", t.ReligiousCommunity = "religiousCommunity", t.JointInterestGroups = "jointInterestGroups", t.TaxableGrouping = "taxableGrouping", t.DeathEstate = "deathEstate", t.BusinessPartnership = "businessPartnership", t.MutualInsuranceAssociation = "mutualInsuranceAssociation", t.ForeignOrganisation = "foreignOrganisation", t.MunicipalEstablishment = "municipalEstablishment", t.FederationOfMunicipalitiesEstablishment = "federationOfMunicipalitiesEstablishment", t.AlandFederation = "alandFederation", t.EuropeanCooperative = "europeanCooperative", t.EuropeanCooperativeBank = "europeanCooperativeBank", t.ReindeerHerdingCooperative = "reindeerHerdingCooperative", t.Unknown = "unknown", t))(vo || {}), ho = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.LimitedCarBenefit = "limitedCarBenefit", t.FullCarBenefit = "fullCarBenefit", t))(ho || {}), Je = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.NoDeduction = "noDeduction", t.SingleDeduction = "singleDeduction", t.PeriodicalDeduction = "periodicalDeduction", t))(Je || {}), ue = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.Fixed = "fixed", t.Percentage = "percentage", t.PercentageAndLimits = "percentageAndLimits", t.RaksaNormal = "raksaNormal", t.RaksaUnemploymentOnly = "raksaUnemploymentOnly", t.Other = "other", t))(ue || {}), fo = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.KilometreAllowance = "kilometreAllowance", t.DailyAllowance = "dailyAllowance", t.AccomodationAllowance = "accomodationAllowance", t))(fo || {}), ze = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.NoDeduction = "noDeduction", t.SingleDeduction = "singleDeduction", t.PeriodicalDeduction = "periodicalDeduction", t))(ze || {}), ke = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.CateringContract = "cateringContract", t.MealTicket = "mealTicket", t.TaxableAmount = "taxableAmount", t.MealAllowance = "mealAllowance", t.Institute = "institute", t.Teacher = "teacher", t.RestaurantWorker = "restaurantWorker", t.CollectedReimbursement = "collectedReimbursement", t))(ke || {}), Ue = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t.FullDailyAllowance = "fullDailyAllowance", t.PartialDailyAllowance = "partialDailyAllowance", t.InternationalDailyAllowance = "internationalDailyAllowance", t.MealAllowance = "mealAllowance", t))(Ue || {}), ki = /* @__PURE__ */ ((t) => (t.Undefined = "undefined", t))(ki || {}), at = /* @__PURE__ */ ((t) => (t.Undefined =