!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("@levecap/models",["exports"],t):t(((e=e||self).levecap=e.levecap||{},e.levecap.models={}))}(this,(function(e){"use strict";
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    Licensed under the Apache License, Version 2.0 (the "License"); you may not use
    this file except in compliance with the License. You may obtain a copy of the
    License at http://www.apache.org/licenses/LICENSE-2.0

    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABLITY OR NON-INFRINGEMENT.

    See the Apache Version 2.0 License for specific language governing permissions
    and limitations under the License.
    ***************************************************************************** */var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,i)};function i(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var a in t=arguments[i])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function a(e){return e?new Date(e):void 0}function o(e,t,i){return r(e,i).getDate()===r(t,i).getDate()}function r(e,t){if(e){var i=new Date(e),n=e.getTimezoneOffset();return i.setMinutes(i.getMinutes()+n),i.setMinutes(i.getMinutes()+t),i}}function d(e){if(e){var t=Date.now()-e.getTime();return(t-t%864e5)/864e5}}function u(e){return e?e.toJSON().substring(0,10):void 0}var c=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.city=t.city,e.complement=t.complement,e.id=t.id,e.neighborhood=t.neighborhood,e.number=t.number,e.postalCode=t.postalCode,e.publicPlace=t.publicPlace,e.state=t.state,e.created=t.created,e.modified=t.modified}(this,t):s(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{city:(e=this).city,complement:e.complement,id:e.id,neighborhood:e.neighborhood,number:e.number,postal_code:e.postalCode,public_place:e.publicPlace,state:e.state};var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"basicInfoFilled",{get:function(){return!!(this.city&&this.number&&this.postalCode&&this.publicPlace&&this.state)},enumerable:!0,configurable:!0}),e}();function l(e){return e?new c(e):void 0}function s(e,t){e.city=t.city,e.complement=t.complement,e.id=t.id,e.neighborhood=t.neighborhood,e.number=t.number,e.postalCode=t.postal_code,e.publicPlace=t.public_place,e.state=t.state,e.created=a(t.created),e.modified=a(t.modified)}var m,_=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.code=t.code,e.fullName=t.fullName,e.id=t.id,e.ispb=t.ispb,e.shortName=t.shortName}(this,t):E(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{code:(e=this).code,full_name:e.fullName,id:e.id,ispb:e.ispb,short_name:e.shortName};var e},enumerable:!0,configurable:!0}),e}();function f(e){return e?new _(e):void 0}function E(e,t){e.code=t.code,e.fullName=t.full_name,e.id=t.id,e.ispb=t.ispb,e.shortName=t.short_name}(m=e.BANK_ACCOUNT_TYPES||(e.BANK_ACCOUNT_TYPES={})).SAVING_ACCOUNT="SAVING_ACCOUNT",m.CHECKING_ACCOUNT="CHECKING_ACCOUNT",m.SALARY_ACCOUNT="SALARY_ACCOUNT";var A,p=function(t){return{key:t,value:e.BANK_ACCOUNT_TYPES[t]}},v=Object.keys(e.BANK_ACCOUNT_TYPES).map(p),R=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.bank=f(t.bank),e.branchNumber=t.branchNumber,e.checkingAccount=t.checkingAccount,e.checkingAccountDigit=t.checkingAccountDigit,e.bankAccountType=t.bankAccountType}(this,t):I(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,bank:e.bank.id,branch_number:e.branchNumber,checking_account:e.checkingAccount,checking_account_digit:e.checkingAccountDigit,account_type:e.bankAccountType};var e},enumerable:!0,configurable:!0}),e}();function N(e){return e?new R(e):void 0}function I(e,t){e.id=t.id,e.bank=f(t.bank),e.branchNumber=t.branch_number,e.checkingAccount=t.checking_account,e.checkingAccountDigit=t.checking_account_digit,e.bankAccountType=t.account_type}function S(e){return y(e)?"string"==typeof e?parseFloat(e):e:void 0}function y(e){var t=null!==e,i=""!==e,n=!(e instanceof Date),a=!isNaN(e);return t&&i&&n&&a}function P(e,t){return isNaN(e)?void 0:T(e/100,t)}function T(e,t){return isNaN(e)?void 0:e.toFixed(t)}(A=e.BANKING_CHARGE_STATUS||(e.BANKING_CHARGE_STATUS={})).PENDING="PENDING",A.RECEIVED="RECEIVED",A.OVERDUE="OVERDUE",A.CANCELED="CANCELED";var D,b,g,O=function(e){void 0===e&&(e={}),h(this,"string"==typeof e?{id:e}:e)};function C(e){return e?new O(e):void 0}function h(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{amount:t.amount||i.amount,netAmount:t.net_amount||i.netAmount,discountAmount:t.discount_amount||i.discountAmount,discountDueDateLimitDays:t.discount_due_date_limit_days||i.discountDueDateLimitDays,dueDate:t.due_date||i.dueDate,interestAmount:t.interest_amount||i.interestAmount,fine:t.fine||i.fine,bankSlipUrl:t.bank_slip_url||i.bankSlipUrl,objectId:t.object_id||i.objectId,paymentDate:t.payment_date||i.paymentDate})}(t);e.id=i.id,e.created=a(i.created),e.modified=a(i.modified),e.amount=S(i.amount),e.netAmount=S(i.netAmount),e.discountAmount=S(i.discountAmount),e.discountDueDateLimitDays=S(i.discountDueDateLimitDays),e.dueDate=r(a(i.dueDate),0),e.interestAmount=S(i.interestAmount),e.fine=S(i.fine),e.bankSlipUrl=i.bankSlipUrl,e.objectId=i.objectId,e.paymentDate=r(a(i.paymentDate),0),e.description=i.description,e.status=i.status}(D=e.EMPLOYEE_DATA_FILE_HISTORY_STATUS||(e.EMPLOYEE_DATA_FILE_HISTORY_STATUS={})).OK="OK",D.ERROR="ERROR",D.PROCESSING="PROCESSING",(b=e.EMPLOYEE_DATA_FILE_HISTORY_STATUS_TRANSLATE||(e.EMPLOYEE_DATA_FILE_HISTORY_STATUS_TRANSLATE={})).OK="Ok",b.ERROR="Erro",b.PROCESSING="Processando",(g=e.EMPLOYEE_DATA_FILE_HISTORY_STATUS_COLORS||(e.EMPLOYEE_DATA_FILE_HISTORY_STATUS_COLORS={})).OK="#077d3b",g.ERROR="#c22937",g.PROCESSING="#f0bc00";var L=function(e){!function(e,t){var i=function(e){var t=e,i=e;return{fileName:t.file_name||i.fileName,filePath:t.file_path||i.filePath,uploaderUserId:t.uploader_user_id||i.uploaderUserId,uploaderEmail:t.uploader_email||i.uploaderEmail,created:t.created||i.created,modified:t.modified||i.modified}}(t);e.fileName=i.fileName,e.filePath=i.filePath,e.uploaderUserId=i.uploaderUserId,e.uploaderEmail=i.uploaderEmail,e.created=r(a(i.created),0),e.modified=r(a(i.modified),0)}(this,e)};var U,G=function(e){void 0===e&&(e={}),x(this,"string"==typeof e?{id:e}:e)};function F(e){return e?new G(e):void 0}function x(e,t){t=function(e){var t=e,i=e;return n(n({},e),{isSso:t.is_sso||i.isSso,estimatedEmployees:t.estimated_employees||i.estimatedEmployees,siteDomain:t.site_domain||i.siteDomain})}(t),e.id=t.id,e.isSso=t.isSso,e.name=t.name,e.estimatedEmployees=t.estimatedEmployees,e.siteDomain=t.siteDomain,e.siteDomain=t.siteDomain,e.modified=a(t.modified),e.created=a(t.created)}(U=e.EMPLOYER_CREDIT_POLICY_TYPE||(e.EMPLOYER_CREDIT_POLICY_TYPE={})).PAYROLL_LOAN="PAYROLL_LOAN",U.NEGATIVE_SCORE_PAYROLL_LOAN="NEGATIVE_SCORE_PAYROLL_LOAN",U.PAYCHECK_ADVANCE="PAYCHECK_ADVANCE";var B=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.originationFee=t.originationFee,e.isOriginationFeePercentage=t.isOriginationFeePercentage,e.minimumMonthsSinceHiring=t.minimumMonthsSinceHiring,e.maximumInstallmentAmountPercentage=t.maximumInstallmentAmountPercentage,e.minimumInstallmentsCount=t.minimumInstallmentsCount,e.maximumInstallmentsCount=t.maximumInstallmentsCount,e.maximumSalaryMultiplier=t.maximumSalaryMultiplier,e.minimumInterestRate=t.minimumInterestRate,e.maximumInterestRate=t.maximumInterestRate,e.policyType=t.policyType,e.additionalConditions=t.additionalConditions,e.negativeScore=t.negativeScore,e.employer=t.employer,e.minimumFirstDueDate=t.minimumFirstDueDate,e.maximumAmount=t.maximumAmount,e.minimumAmount=t.minimumAmount,e.freeRequestLimit=t.freeRequestLimit,e.maximumOriginationFee=t.maximumOriginationFee,e.feeAdditionForNegatives=t.feeAdditionForNegatives,e.specialOriginationFee=t.specialOriginationFee,e.maxAmountForSpecialFee=t.maxAmountForSpecialFee,e.maximumProposalCount=t.maxmimumProposalCount,e.loanInsurancePremiumRate=t.loanInsurancePremiumRate,e.loanInsurancePremiumLimitAmount=t.loanInsurancePremiumLimitAmount,e.created=t.created,e.modified=t.modified}(this,t):V(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,origination_fee:e.originationFee,is_origination_fee_percentage:e.isOriginationFeePercentage,minimum_months_since_hiring:e.minimumMonthsSinceHiring,maximum_installment_amount_percentage:P(e.maximumInstallmentAmountPercentage,2),minimum_installments_count:e.minimumInstallmentsCount,maximum_installments_count:e.maximumInstallmentsCount,maximum_salary_multiplier:e.maximumSalaryMultiplier,minimum_interest_rate:P(e.minimumInterestRate,4),maximum_interest_rate:P(e.maximumInterestRate,4),policy_type:e.policyType,additional_conditions:e.additionalConditions,negative_score:e.negativeScore,employer:e.employer.id,minimum_first_due_date:u(e.minimumFirstDueDate)||null,maximum_amount:e.maximumAmount,minimum_amount:e.minimumAmount,free_request_limit:e.freeRequestLimit,maximum_origination_fee:e.maximumOriginationFee||null,fee_addition_for_negatives:e.feeAdditionForNegatives,special_origination_fee:e.specialOriginationFee,max_amount_for_special_fee:e.maxAmountForSpecialFee,maximum_proposal_count:e.maximumProposalCount,loan_insurance_premium_rate:e.loanInsurancePremiumRate,loan_insurance_premium_limit_amount:e.loanInsurancePremiumLimitAmount};var e},enumerable:!0,configurable:!0}),e}();function k(e){return e?new B(e):void 0}function V(e,t){e.id=t.id,e.originationFee=t.origination_fee,e.isOriginationFeePercentage=t.is_origination_fee_percentage,e.minimumMonthsSinceHiring=t.minimum_months_since_hiring,e.maximumInstallmentAmountPercentage=(100*parseFloat(t.maximum_installment_amount_percentage||"0")).toFixed(2),e.minimumInstallmentsCount=t.minimum_installments_count,e.maximumInstallmentsCount=t.maximum_installments_count,e.maximumSalaryMultiplier=t.maximum_salary_multiplier,e.minimumInterestRate=(100*parseFloat(t.minimum_interest_rate||"0")).toFixed(2),e.maximumInterestRate=(100*parseFloat(t.maximum_interest_rate||"0")).toFixed(2),e.policyType=t.policy_type,e.additionalConditions=t.additional_conditions,e.negativeScore=t.negative_score,e.employer=q(t.employer),e.minimumFirstDueDate=r(a(t.minimum_first_due_date),0),e.maximumAmount=t.maximum_amount,e.minimumAmount=t.minimum_amount,e.freeRequestLimit=t.free_request_limit,e.maximumOriginationFee=t.maximum_origination_fee||null,e.feeAdditionForNegatives=t.fee_addition_for_negatives,e.specialOriginationFee=t.special_origination_fee,e.maxAmountForSpecialFee=t.max_amount_for_special_fee,e.maximumProposalCount=t.maximum_proposal_count,e.loanInsurancePremiumRate=t.loan_insurance_premium_rate,e.loanInsurancePremiumLimitAmount=t.loan_insurance_premium_limit_amount,e.created=a(t.created),e.modified=a(t.modified)}var M=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.transitoryAccountUuid=t.transitoryAccountUuid,e.checkingAccountUuid=t.checkingAccountUuid,e.accountNumber=t.accountNumber,e.branchNumber=t.branchNumber,e.communicationEmail=t.communicationEmail,e.accountCnpj=t.accountCnpj,e.created=t.created,e.modified=t.modified}(this,t):w(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,transitory_account_uuid:e.transitoryAccountUuid,checking_account_uuid:e.checkingAccountUuid,account_number:e.accountNumber,branch_number:e.branchNumber,communication_email:e.communicationEmail,account_cnpj:e.accountCnpj};var e},enumerable:!0,configurable:!0}),e}();function w(e,t){e.id=t.id,e.transitoryAccountUuid=t.transitory_account_uuid,e.checkingAccountUuid=t.checking_account_uuid,e.accountNumber=t.account_number,e.branchNumber=t.branch_number,e.communicationEmail=t.communication_email,e.accountCnpj=t.account_cnpj,e.created=a(t.created),e.modified=a(t.modified)}var Y=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.hasPaycheckAdvance=t.hasPaycheckAdvance,e.ilfEnabled=t.ilfEnabled,e.useEsocialIdentificationNumber=t.useEsocialIdentificationNumber,e.paycheckAdvanceEnabled=t.paycheckAdvanceEnabled,e.payrollPaymentEnabled=t.payrollPaymentEnabled,e.integrationType=t.integrationType,e.financialConsultantApprovalEnabled=t.financialConsultantApprovalEnabled,e.payrollLoanEnabled=t.payrollLoanEnabled,e.consortiumEnabled=t.consortiumEnabled,e.savingsEnabled=t.savingsEnabled,e.advisorEnabled=t.advisorEnabled,e.advisorScheduleEnabled=t.advisorScheduleEnabled,e.socialAssistanceEnabled=t.socialAssistanceEnabled,e.isWhitelistDomain=t.isWhitelistDomain,e.loanInsuranceEnabled=t.loanInsuranceEnabled,e.graceMonthsCount=t.graceMonthsCount,e.installmentDueDay=t.installmentDueDay,e.monthlyBankingChargeDueDay=t.monthlyBankingChargeDueDay,e.convertedToNeonApp=t.convertedToNeonApp,e.ccbByEmailEnabled=t.ccbByEmailEnabled,e.monthlyInvoiceClosingDay=t.monthlyInvoiceClosingDay,e.created=t.created,e.modified=t.modified}(this,t):H(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,has_paycheck_advance:e.hasPaycheckAdvance,ilf_enabled:e.ilfEnabled,use_esocial_identification_number:e.useEsocialIdentificationNumber,paycheck_advance_enabled:e.paycheckAdvanceEnabled,payroll_payment_enabled:e.payrollPaymentEnabled,integration_type:e.integrationType,financial_consultant_approval_enabled:e.financialConsultantApprovalEnabled,payroll_loan_enabled:e.payrollLoanEnabled,consortium_enabled:e.consortiumEnabled,savings_enabled:e.savingsEnabled,advisor_enabled:e.advisorEnabled,advisor_schedule_enabled:e.advisorScheduleEnabled,social_assistance_enabled:e.socialAssistanceEnabled,is_whitelist_domain:e.isWhitelistDomain,loan_insurance_disabled:e.loanInsuranceEnabled,grace_months_count:e.graceMonthsCount,installment_due_day:e.installmentDueDay,monthly_banking_charge_due_day:e.monthlyBankingChargeDueDay,converted_to_neon_app:e.convertedToNeonApp,ccb_by_email_enabled:e.ccbByEmailEnabled,monthly_invoice_closing_day:e.monthlyInvoiceClosingDay};var e},enumerable:!0,configurable:!0}),e}();function j(e){return e?new Y(e):void 0}function H(e,t){e.id=t.id,e.hasPaycheckAdvance=t.has_paycheck_advance,e.ilfEnabled=t.ilf_enabled,e.useEsocialIdentificationNumber=t.use_esocial_identification_number,e.paycheckAdvanceEnabled=t.paycheck_advance_enabled,e.payrollPaymentEnabled=t.payroll_payment_enabled,e.integrationType=t.integration_type,e.financialConsultantApprovalEnabled=t.financial_consultant_approval_enabled,e.payrollLoanEnabled=t.payroll_loan_enabled,e.consortiumEnabled=t.consortium_enabled,e.savingsEnabled=t.savings_enabled,e.advisorEnabled=t.advisor_enabled,e.advisorScheduleEnabled=t.advisor_schedule_enabled,e.socialAssistanceEnabled=t.social_assistance_enabled,e.isWhitelistDomain=t.is_whitelist_domain,e.loanInsuranceEnabled=t.loan_insurance_enabled,e.graceMonthsCount=t.grace_months_count,e.installmentDueDay=t.installment_due_day,e.monthlyBankingChargeDueDay=t.monthly_banking_charge_due_day,e.convertedToNeonApp=t.converted_to_neon_app,e.ccbByEmailEnabled=t.ccb_by_email_enabled,e.monthlyInvoiceClosingDay=t.monthly_invoice_closing_day,e.created=a(t.created),e.modified=a(t.modified)}var K=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.name=t.name,e.nickname=t.nickname,e.identity=t.identity,e.active=t.active,e.employeesCount=t.employeesCount,e.warrantExpiresAt=t.warrantExpiresAt,e.contactName=t.contactName,e.contactPhoneNumber=t.contactPhoneNumber,e.softwareHouse=t.softwareHouse,e.corporateGroup=t.corporateGroup,e.address=t.address,e.settings=t.settings,e.payrollSettings=t.payrollSettings,e.payrollCutoffDay=t.payrollCutoffDay,e.savingsLaunchDate=t.savingsLaunchDate,e.advisorLaunchDate=t.advisorLaunchDate,e.payrollLoanLaunchDate=t.payrollLoanLaunchDate,e.paycheckAdvanceLaunchDate=t.paycheckAdvanceLaunchDate,e.isInvoicesAndFilesEnabled=t.isInvoicesAndFilesEnabled,e.newestPendingChargingFileDate=t.newestPendingChargingFileDate,e.estimatedEmployees=t.estimatedEmployees,e.isHeadquarter=t.isHeadquarter,e.creditPolicies=t.creditPolicies,e.created=t.created,e.modified=t.modified}(this,t):J(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,name:e.name,identity:e.identity,active:e.active,employees_count:e.employeesCount,warrant_expires_at:u(e.warrantExpiresAt),contact_name:e.contactName,contact_phone_number:e.contactPhoneNumber,software_house:e.softwareHouse,address:e.address,corporate_group:e.corporateGroup,settings:e.settings,payroll_settings:e.payrollSettings,payroll_cutoff_day:e.payrollCutoffDay,savings_launch_date:e.savingsLaunchDate,advisor_launch_date:e.advisorLaunchDate,payroll_loan_launch_date:e.payrollLoanLaunchDate,paycheck_advance_launch_date:e.paycheckAdvanceLaunchDate,isInvoicesAndFilesEnabled:e.isInvoicesAndFilesEnabled,newest_pending_charging_file_date:e.newestPendingChargingFileDate,estimated_employees:e.estimatedEmployees,is_headquarter:e.isHeadquarter,credit_policies:e.creditPolicies};var e},enumerable:!0,configurable:!0}),e}();function q(e){return e?new K(e):void 0}function J(e,t){var i,n;e.id=t.id,e.name=t.name,e.nickname=t.nickname,e.identity=t.identity,e.active=t.active,e.employeesCount=t.employees_count,e.warrantExpiresAt=r(a(t.warrant_expires_at),0),e.contactName=t.contact_name,e.contactPhoneNumber=t.contact_phone_number,e.softwareHouse=t.software_house,e.corporateGroup=F(t.corporate_group),e.address=l(t.address),e.settings=j(t.settings),e.payrollSettings=function(e){return e?new M(e):void 0}(t.payroll_settings),e.payrollCutoffDay=t.payroll_cutoff_day,e.isInvoicesAndFilesEnabled=t.is_invoices_and_files_enabled,e.savingsLaunchDate=t.savings_launch_date,e.advisorLaunchDate=t.advisor_launch_date,e.payrollLoanLaunchDate=t.payroll_loan_launch_date,e.paycheckAdvanceLaunchDate=t.paycheck_advance_launch_date,e.newestPendingChargingFileDate=t.newest_pending_charging_file_date,e.estimatedEmployees=t.estimated_employees,e.isHeadquarter=t.is_headquarter,e.creditPolicies=[],(null===(n=null===(i=t)||void 0===i?void 0:i.credit_policies)||void 0===n?void 0:n.length)>0&&(e.creditPolicies=t.credit_policies.map((function(e){return k(e)}))),e.created=a(t.created),e.modified=a(t.modified)}var X,W=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.isActive=t.isActive,e.isEmployerStaff=t.isEmployerStaff,e.isStaff=t.isStaff}(this,t):function(e,t){e.isActive=t.is_active,e.isEmployerStaff=t.is_employer_staff,e.isStaff=t.is_staff}(this,t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{is_active:(e=this).isActive,is_employer_staff:e.isEmployerStaff,is_staff:e.isStaff};var e},enumerable:!0,configurable:!0}),e}();(X=e.USER_FILE_CATEGORY||(e.USER_FILE_CATEGORY={})).CCB="CCB",X.ILF_REPORT="ILF_REPORT";var z,Q=function(e){void 0===e&&(e={}),$(this,"string"==typeof e?{id:e}:e)},Z=function(){};function $(e,t){var i=function(e){return n({},e)}(t);e.id=i.id,e.filename=i.filename,e.bucket=i.bucket,e.key=i.key,e.category=i.category}function ee(e){return e?new Q(e):void 0}(z=e.ILF_FINANCIAL_STATUS||(e.ILF_FINANCIAL_STATUS={})).FINANCIALLY_HEALTHY="FINANCIALLY_HEALTHY",z.FINANCIALLY_COPING="FINANCIALLY_COPING",z.FINANCIALLY_VULNERABLE="FINANCIALLY_VULNERABLE";var te=function(e){void 0===e&&(e={}),ie(this,"string"==typeof e?{id:e}:e)};function ie(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{id:t.id||i.id,key:t.key||i.key,type:t.type||i.type,created:t.created||i.created,modified:t.modified||i.modified})}(t);e.id=i.id,e.key=i.key,e.type=i.type,e.user=ae(i.user),e.created=r(a(i.created),0),e.modified=r(a(i.modified),0)}var ne=function(){function e(e){void 0===e&&(e={}),this.address=new c,oe(this,"string"==typeof e?{id:e}:e)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{address:null===(t=(e=this).address)||void 0===t?void 0:t.djangoModel,date_of_birth:""+e.dateOfBirth,email:e.email,email_confirmed:e.emailConfirmed,full_name:e.fullName,first_name:e.firstName,nickname:e.nickname,id:e.id,rating:e.rating,is_active:e.isActive,is_staff:e.isStaff,phone_number:e.phoneNumber,phone_number_confirmed:e.phoneNumberConfirmed,social_security_number:e.socialSecurityNumber,identification_card:e.identificationCard,identification_card_issuer_name:e.identificationCardIssuerName,identification_card_issuer_state:e.identificationCardIssuerState,terms_accepted:e.termsAcceptedVersion,terms_accepted_version:""+e.termsAcceptedVersion,warn_change_password:e.warnChangePassword,pix_data:e.pix};var e,t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"basicInfoFilled",{get:function(){return!!(e=this).fullName&&!!e.phoneNumber&&!!e.identificationCard&&!!e.identificationCardIssuerName&&!!e.identificationCardIssuerState&&e.address.basicInfoFilled;var e},enumerable:!0,configurable:!0}),e}();function ae(e){return e?new ne(e):void 0}function oe(e,t){var i,o,d=function(e){var t=e,i=e;return n(n({},e),{dateOfBirth:t.date_of_birth||i.dateOfBirth,emailConfirmed:t.email_confirmed||i.emailConfirmed,fullName:t.full_name||i.fullName,firstName:t.first_name||i.firstName,nickname:t.nickname||i.nickname,isActive:t.is_active||i.isActive,isStaff:t.is_staff||i.isStaff,isEmployerStaff:t.is_customer_staff||i.isEmployerStaff,ilfScore:t.ilf_score||i.ilfScore,ilfScoreResult:t.ilf_score_result||i.ilfScoreResult,ilfExpenses:t.ilf_expenses||i.ilfExpenses,ilfSavings:t.ilf_savings||i.ilfSavings,ilfDebts:t.ilf_debts||i.ilfDebts,ilfPlanning:t.ilf_planning||i.ilfPlanning,phoneNumber:t.phone_number||i.phoneNumber,phoneNumberConfirmed:t.phone_number_confirmed||i.phoneNumberConfirmed,socialSecurityNumber:t.social_security_number||i.socialSecurityNumber,identificationCard:t.identification_card||i.identificationCard,identificationCardIssuerName:t.identification_card_issuer_name||i.identificationCardIssuerName,identificationCardIssuerState:t.identification_card_issuer_state||i.identificationCardIssuerState,termsAcceptedVersion:t.terms_accepted_version||i.termsAcceptedVersion,bankAccount:t.bank_account||i.bankAccount,warnChangePassword:t.warn_change_password||i.warnChangePassword,latestIlfFile:t.latest_ilf_file||i.latestIlfFile,pix:t.pix_data||i.pix})}(t);e.address=l(d.address||{}),e.dateOfBirth=r(a(d.dateOfBirth),0),e.email=d.email,e.emailConfirmed=d.emailConfirmed,e.fullName=d.fullName,e.firstName=d.firstName,e.nickname=d.nickname,e.id=d.id,e.rating=d.rating,e.isActive=d.isActive,e.isStaff=d.isStaff,e.isEmployerStaff=d.isEmployerStaff,e.ilfScore=d.ilfScore,e.ilfScoreResult=d.ilfScoreResult,e.ilfExpenses=d.ilfExpenses,e.ilfSavings=d.ilfSavings,e.ilfDebts=d.ilfDebts,e.ilfPlanning=d.ilfPlanning,e.phoneNumber=d.phoneNumber,e.phoneNumberConfirmed=d.phoneNumberConfirmed,e.socialSecurityNumber=d.socialSecurityNumber,e.identificationCard=d.identificationCard,e.identificationCardIssuerName=d.identificationCardIssuerName,e.identificationCardIssuerState=d.identificationCardIssuerState,e.termsAcceptedVersion=d.termsAcceptedVersion,e.validated=d.validated,e.bankAccount=N(d.bankAccount),e.warnChangePassword=d.warnChangePassword,e.latestIlfFile=ee(d.latestIlfFile),e.files=(i=d.files,o=function(e){return new Q(e)},Array.isArray(i)?i.map((function(e){return o(e)})):void 0),e.pix=function(e){return e?new te(e):void 0}(d.pix)}function re(e){return e?{detailed:ue(e.detailed),summarized:le(e.summarized),totalWages:me(e.total_wages)}:void 0}function de(e){return e?{detailed:ce(e.detailed),summarized:se(e.summarized),totalWages:_e(e.totalWages)}:void 0}function ue(e){return e?e.map((function(e){var t,i,n,a,o;return{type:null===(t=e)||void 0===t?void 0:t.type,modality:null===(i=e)||void 0===i?void 0:i.modality,domain:null===(n=e)||void 0===n?void 0:n.domain,subdomain:null===(a=e)||void 0===a?void 0:a.sub_domain,amount:null===(o=e)||void 0===o?void 0:o.expiration_value}})):void 0}function ce(e){return e?e.map((function(e){var t,i,n,a,o;return{type:null===(t=e)||void 0===t?void 0:t.type,modality:null===(i=e)||void 0===i?void 0:i.modality,domain:null===(n=e)||void 0===n?void 0:n.domain,subdomain:null===(a=e)||void 0===a?void 0:a.subDomain,amount:null===(o=e)||void 0===o?void 0:o.expirationValue}})):void 0}function le(e){return e?{damageOver12Months:e.damage_over_12_months,damageUpTo12Months:e.damage_up_to_12_months}:void 0}function se(e){return e?{damageOver12Months:e.damageOver12Months,damageUpTo12Months:e.damageUpTo12Months}:void 0}function me(e){return e?e.map((function(e){var t,i;return{type:null===(t=e)||void 0===t?void 0:t.modality,totalValue:null===(i=e)||void 0===i?void 0:i.amount}})):void 0}function _e(e){return e?e.map((function(e){var t,i;return{type:null===(t=e)||void 0===t?void 0:t.type,totalValue:null===(i=e)||void 0===i?void 0:i.totalValue}})):void 0}function fe(e){return e?{protests:Ae(e.protests),judicialActions:ve(e.judicial_actions),REFIN:Ne(e.REFIN),PEFIN:De(e.PEFIN),scoring:ge(e.scoring)}:void 0}function Ee(e){return e?{protests:pe(e.protests),judicialActions:Re(e.judicialActions),REFIN:Te(e.REFIN),PEFIN:be(e.PEFIN),scoring:Oe(e.scoring)}:void 0}function Ae(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E;return e?{initialDate:e.initial_date,finalDate:e.final_date,totalAmount:e.total_amount,value:e.value,cityOfOrigin:e.city_of_origin,detail:{dateAnnotacion:null===(t=e.detail)||void 0===t?void 0:t.date_annotacion,notaryNumber:null===(i=e.detail)||void 0===i?void 0:i.notary_number,codeOfNature:null===(n=e.detail)||void 0===n?void 0:n.code_of_nature,noteValue:null===(a=e.detail)||void 0===a?void 0:a.note_value,squareCode:null===(o=e.detail)||void 0===o?void 0:o.square_code,federativeUnit:null===(r=e.detail)||void 0===r?void 0:r.federative_unit,localityOfRegistry:null===(d=e.detail)||void 0===d?void 0:d.locality_of_registry,subJudiceType:null===(u=e.detail)||void 0===u?void 0:u.sub_judice_type,receivingDate:null===(c=e.detail)||void 0===c?void 0:c.receiving_date,branchNumber:null===(l=e.detail)||void 0===l?void 0:l.branch_number,verifyingDigit:null===(s=e.detail)||void 0===s?void 0:s.verifying_digit,dateAddedNote:null===(m=e.detail)||void 0===m?void 0:m.date_added_note,hourAddedNote:null===(_=e.detail)||void 0===_?void 0:_.hour_added_note,cadusKey:null===(f=e.detail)||void 0===f?void 0:f.cadus_key,subJudice:ye(null===(E=e.detail)||void 0===E?void 0:E.sub_judice)}}:void 0}function pe(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E;return e?{initialDate:e.initialDate,finalDate:e.finalDate,totalAmount:e.totalAmount,value:e.value,cityOfOrigin:e.cityOfOrigin,detail:{dateAnnotacion:null===(t=e.detail)||void 0===t?void 0:t.dateAnnotacion,notaryNumber:null===(i=e.detail)||void 0===i?void 0:i.notaryNumber,codeOfNature:null===(n=e.detail)||void 0===n?void 0:n.codeOfNature,noteValue:null===(a=e.detail)||void 0===a?void 0:a.noteValue,squareCode:null===(o=e.detail)||void 0===o?void 0:o.squareCode,federativeUnit:null===(r=e.detail)||void 0===r?void 0:r.federativeUnit,localityOfRegistry:null===(d=e.detail)||void 0===d?void 0:d.localityOfRegistry,subJudiceType:null===(u=e.detail)||void 0===u?void 0:u.subJudiceType,receivingDate:null===(c=e.detail)||void 0===c?void 0:c.receivingDate,branchNumber:null===(l=e.detail)||void 0===l?void 0:l.receivingDate,verifyingDigit:null===(s=e.detail)||void 0===s?void 0:s.verifyingDigit,dateAddedNote:null===(m=e.detail)||void 0===m?void 0:m.dateAddedNote,hourAddedNote:null===(_=e.detail)||void 0===_?void 0:_.hourAddedNote,cadusKey:null===(f=e.detail)||void 0===f?void 0:f.cadusKey,subJudice:Ie(null===(E=e.detail)||void 0===E?void 0:E.subJudice)}}:void 0}function ve(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E;return e?{initialDate:e.initial_date,finalDate:e.final_date,totalAmount:e.total_amount,value:e.value,cityOfOrigin:e.city_of_origin,natureDescription:e.nature_description,detail:{dateOfOccurrence:null===(t=e.detail)||void 0===t?void 0:t.date_of_occurrence,civilCourt:null===(i=e.detail)||void 0===i?void 0:i.civil_court,distributorNumber:null===(n=e.detail)||void 0===n?void 0:n.distributor_number,natureCode:null===(a=e.detail)||void 0===a?void 0:a.nature_code,shareValue:null===(o=e.detail)||void 0===o?void 0:o.share_value,DDI:null===(r=e.detail)||void 0===r?void 0:r.DDI,federationUnit:null===(d=e.detail)||void 0===d?void 0:d.federation_unit,cityName:null===(u=e.detail)||void 0===u?void 0:u.city_name,principal:null===(c=e.detail)||void 0===c?void 0:c.principal,branchNumber:null===(l=e.detail)||void 0===l?void 0:l.branch_number,verifyingDigit:null===(s=e.detail)||void 0===s?void 0:s.verifying_digit,dateAddedNote:null===(m=e.detail)||void 0===m?void 0:m.date_added_note,hourAddedNote:null===(_=e.detail)||void 0===_?void 0:_.hour_added_note,cadusKey:null===(f=e.detail)||void 0===f?void 0:f.cadus_key,subJudice:ye(null===(E=e.detail)||void 0===E?void 0:E.sub_judice)}}:void 0}function Re(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E;return e?{initialDate:e.initialDate,finalDate:e.finalDate,totalAmount:e.totalAmount,value:e.value,cityOfOrigin:e.cityOfOrigin,natureDescription:e.natureDescription,detail:{dateOfOccurrence:null===(t=e.detail)||void 0===t?void 0:t.dateOfOccurrence,civilCourt:null===(i=e.detail)||void 0===i?void 0:i.civilCourt,distributorNumber:null===(n=e.detail)||void 0===n?void 0:n.distributorNumber,natureCode:null===(a=e.detail)||void 0===a?void 0:a.natureCode,shareValue:null===(o=e.detail)||void 0===o?void 0:o.shareValue,DDI:null===(r=e.detail)||void 0===r?void 0:r.DDI,federationUnit:null===(d=e.detail)||void 0===d?void 0:d.federationUnit,cityName:null===(u=e.detail)||void 0===u?void 0:u.cityName,principal:null===(c=e.detail)||void 0===c?void 0:c.principal,branchNumber:null===(l=e.detail)||void 0===l?void 0:l.branchNumber,verifyingDigit:null===(s=e.detail)||void 0===s?void 0:s.verifyingDigit,dateAddedNote:null===(m=e.detail)||void 0===m?void 0:m.dateAddedNote,hourAddedNote:null===(_=e.detail)||void 0===_?void 0:_.hourAddedNote,cadusKey:null===(f=e.detail)||void 0===f?void 0:f.cadusKey,subJudice:Ie(null===(E=e.detail)||void 0===E?void 0:E.subJudice)}}:void 0}function Ne(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E,A,p,v;return e?{initialDate:e.initial_date,finalDate:e.final_date,totalAmount:e.total_amount,value:e.value,latestCreditor:e.latest_creditor,detail:{dateOfOccurrence:null===(t=e.detail)||void 0===t?void 0:t.date_of_occurrence,natureCode:null===(i=e.detail)||void 0===i?void 0:i.nature_code,CNPJParticipant:null===(n=e.detail)||void 0===n?void 0:n.CNPJ_participant,occurrenceValue:null===(a=e.detail)||void 0===a?void 0:a.occurrence_value,DDI:null===(o=e.detail)||void 0===o?void 0:o.DDI,federationUnit:null===(r=e.detail)||void 0===r?void 0:r.federation_unit,originCompanyName:null===(d=e.detail)||void 0===d?void 0:d.origin_company_name,cityName:null===(u=e.detail)||void 0===u?void 0:u.city_name,principal:null===(c=e.detail)||void 0===c?void 0:c.principal,cadusKey:null===(l=e.detail)||void 0===l?void 0:l.cadus_key,cadusKeySeries:null===(s=e.detail)||void 0===s?void 0:s.cadus_key_series,subJudice:Ie(null===(m=e.detail)||void 0===m?void 0:m.sub_judice),branchNumber:null===(_=e.detail)||void 0===_?void 0:_.branch_number,verifyingDigit:null===(f=e.detail)||void 0===f?void 0:f.verifying_digit,dateAddedNote:null===(E=e.detail)||void 0===E?void 0:E.date_added_note,hourAddedNote:null===(A=e.detail)||void 0===A?void 0:A.hour_added_note,contractCode:null===(p=e.detail)||void 0===p?void 0:p.contract_code,nature:null===(v=e.detail)||void 0===v?void 0:v.nature}}:void 0}function Ie(e){return"object"==typeof e?{square:e.square,distributor:e.distributor,civilCourt:e.civilCourt,date:e.date,process:e.process,message:e.message}:e}function Se(e){return"object"==typeof e?{square:e.square,distributor:e.distributor,civilCourt:e.civilCourt,date:e.date,process:e.process,message:e.message,occurrenceType:e.occurrenceType}:e}function ye(e){return"object"==typeof e?{square:e.square,distributor:e.distributor,civilCourt:e.civil_court,date:e.date,process:e.process,message:e.message}:e}function Pe(e){return"object"==typeof e?{square:e.square,distributor:e.distributor,civilCourt:e.civil_court,date:e.date,process:e.process,message:e.message,occurrenceType:e.occurrence_type}:e}function Te(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E,A,p,v;return e?{initialDate:e.initialDate,finalDate:e.finalDate,totalAmount:e.totalAmount,value:e.value,latestCreditor:e.latestCreditor,detail:{dateOfOccurrence:null===(t=e.detail)||void 0===t?void 0:t.dateOfOccurrence,natureCode:null===(i=e.detail)||void 0===i?void 0:i.natureCode,CNPJParticipant:null===(n=e.detail)||void 0===n?void 0:n.CNPJParticipant,occurrenceValue:null===(a=e.detail)||void 0===a?void 0:a.occurrenceValue,DDI:null===(o=e.detail)||void 0===o?void 0:o.DDI,federationUnit:null===(r=e.detail)||void 0===r?void 0:r.federationUnit,originCompanyName:null===(d=e.detail)||void 0===d?void 0:d.originCompanyName,cityName:null===(u=e.detail)||void 0===u?void 0:u.cityName,principal:null===(c=e.detail)||void 0===c?void 0:c.principal,cadusKey:null===(l=e.detail)||void 0===l?void 0:l.cadusKey,cadusKeySeries:null===(s=e.detail)||void 0===s?void 0:s.cadusKeySeries,subJudice:Ie(null===(m=e.detail)||void 0===m?void 0:m.subJudice),branchNumber:null===(_=e.detail)||void 0===_?void 0:_.branchNumber,verifyingDigit:null===(f=e.detail)||void 0===f?void 0:f.verifyingDigit,dateAddedNote:null===(E=e.detail)||void 0===E?void 0:E.dateAddedNote,hourAddedNote:null===(A=e.detail)||void 0===A?void 0:A.hourAddedNote,contractCode:null===(p=e.detail)||void 0===p?void 0:p.contractCode,nature:null===(v=e.detail)||void 0===v?void 0:v.nature}}:void 0}function De(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E,A,p,v;return e?{initialDate:e.initial_date,finalDate:e.final_date,totalAmount:e.total_amount,latestValue:e.latest_value,lastBankName:e.last_bank_name,occurrenceType:e.occurrence_type,creditor:{lenderDocument:null===(t=e.creditor)||void 0===t?void 0:t.lender_document,lenderName:null===(i=e.creditor)||void 0===i?void 0:i.lender_name,occurrenceType:null===(n=e.creditor)||void 0===n?void 0:n.occurrence_type},detail:{dateOfOccurrence:null===(a=e.detail)||void 0===a?void 0:a.date_of_occurrence,natureCode:null===(o=e.detail)||void 0===o?void 0:o.nature_code,occurrenceValue:null===(r=e.detail)||void 0===r?void 0:r.occurrence_value,DDI:null===(d=e.detail)||void 0===d?void 0:d.DDI,principal:null===(u=e.detail)||void 0===u?void 0:u.principal,contractCode:null===(c=e.detail)||void 0===c?void 0:c.contract_code,subJudice:Pe(null===(l=e.detail)||void 0===l?void 0:l.sub_judice),cadusKeySeries:null===(s=e.detail)||void 0===s?void 0:s.cadus_key_series,cadusKey:null===(m=e.detail)||void 0===m?void 0:m.cadus_key,occurrenceType:null===(_=e.detail)||void 0===_?void 0:_.occurrence_type,branchName:null===(f=e.detail)||void 0===f?void 0:f.branch_name,verifyingDigit:null===(E=e.detail)||void 0===E?void 0:E.verifying_digit,dateAddedNote:null===(A=e.detail)||void 0===A?void 0:A.date_added_note,hourAddedNote:null===(p=e.detail)||void 0===p?void 0:p.hour_added_note,modality:null===(v=e.detail)||void 0===v?void 0:v.modality}}:void 0}function be(e){var t,i,n,a,o,r,d,u,c,l,s,m,_,f,E,A,p,v;return e?{initialDate:e.initialDate,finalDate:e.finalDate,totalAmount:e.totalAmount,latestValue:e.latestValue,lastBankName:e.lastBankName,occurrenceType:e.occurrenceType,creditor:{lenderDocument:null===(t=e.creditor)||void 0===t?void 0:t.lenderDocument,lenderName:null===(i=e.creditor)||void 0===i?void 0:i.lenderName,occurrenceType:null===(n=e.creditor)||void 0===n?void 0:n.occurrenceType},detail:{dateOfOccurrence:null===(a=e.detail)||void 0===a?void 0:a.dateOfOccurrence,natureCode:null===(o=e.detail)||void 0===o?void 0:o.natureCode,occurrenceValue:null===(r=e.detail)||void 0===r?void 0:r.occurrenceValue,DDI:null===(d=e.detail)||void 0===d?void 0:d.DDI,principal:null===(u=e.detail)||void 0===u?void 0:u.principal,contractCode:null===(c=e.detail)||void 0===c?void 0:c.contractCode,subJudice:Se(null===(l=e.detail)||void 0===l?void 0:l.subJudice),cadusKeySeries:null===(s=e.detail)||void 0===s?void 0:s.cadusKeySeries,cadusKey:null===(m=e.detail)||void 0===m?void 0:m.cadusKey,occurrenceType:null===(_=e.detail)||void 0===_?void 0:_.occurrenceType,branchName:null===(f=e.detail)||void 0===f?void 0:f.branchName,verifyingDigit:null===(E=e.detail)||void 0===E?void 0:E.verifyingDigit,dateAddedNote:null===(A=e.detail)||void 0===A?void 0:A.dateAddedNote,hourAddedNote:null===(p=e.detail)||void 0===p?void 0:p.hourAddedNote,modality:null===(v=e.detail)||void 0===v?void 0:v.modality}}:void 0}function ge(e){return e?{scoreCode:e.score_code,punctuation:e.punctuation,message:e.message,percent:e.percent}:void 0}function Oe(e){return e?{scoreCode:e.scoreCode,punctuation:e.punctuation,message:e.message,percent:e.percent}:void 0}function Ce(e){return e?{totalAmount:e.total_amount,totalValue:e.total_value}:void 0}function he(e){return e?{totalAmount:e.totalAmount,totalValue:e.totalValue}:void 0}function Le(e){return e?new Ue(e):void 0}var Ue=function(e){void 0===e&&(e={}),Ge(this,"string"==typeof e?{id:e}:e)};function Ge(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{isActive:void 0!==t.is_active?t.is_active:i.isActive,financialConsultantApprovalEnabled:null!=t.financial_consultant_approval_enabled?t.financial_consultant_approval_enabled:i.financialConsultantApprovalEnabled,netEarnings:y(t.net_earnings)?t.net_earnings:i.netEarnings,loanInstallmentsTotal:y(t.loan_installments_total)?t.net_earnings:i.loanInstallmentsTotal,paycheckAdvancesTotal:y(t.paycheck_advances_total)?t.net_earnings:i.paycheckAdvancesTotal,score:y(t.score)?t.score:i.score,cluster:y(t.score)?t.cluster:i.cluster,bacen:t.bacen||i.bacen,concentre:t.concentre?fe(t.concentre):Ee(i.concentre),detailedConcentre:t.detailed_concentre?Ce(t.detailed_concentre):he(i.detailedConcentre),compiledBacen:t.compiled_bacen?re(t.compiled_bacen):de(i.compiledBacen),automaticCreditLimit:y(t.automatic_credit_limit)?t.automatic_credit_limit:i.automaticCreditLimit,manualCreditLimit:y(t.manual_credit_limit)?t.manual_credit_limit:i.manualCreditLimit,creditLimit:y(t.credit_limit)?t.credit_limit:i.creditLimit,creditBalance:y(t.credit_balance)?t.credit_balance:i.creditBalance,debtBalance:y(t.debt_balance)?t.debt_balance:i.debtBalance,paycheckAdvanceBalance:y(t.paycheck_advance_balance)?t.paycheck_advance_balance:i.paycheckAdvanceBalance,identificationNumber:t.identification_number||i.identificationNumber,hiringAt:t.hiring_at||i.hiringAt,layOffAt:t.lay_off_at||i.layOffAt,payrollDeductions:y(t.payroll_deductions)?t.payroll_deductions:i.payrollDeductions,esocialValidationStatus:t.esocial_validation_status||i.esocialValidationStatus,contractId:t.contract_id||i.contractId,creditUpdatedAt:t.credit_updated_at||i.creditUpdatedAt,esocialId:t.esocial_id||i.esocialId,salaryNotFound:null!=t.salary_not_found?t.salary_not_found:i.salaryNotFound,maximumInstallmentAmount:y(t.maximum_installment_amount)?t.maximum_installment_amount:i.maximumInstallmentAmount,currentMaximumInstallmentAmount:y(t.current_maximum_installment_amount)?t.current_maximum_installment_amount:i.currentMaximumInstallmentAmount,simulationAvailableAt:t.simulation_available_at||i.simulationAvailableAt,paycheckAdvanceAvailableAt:t.paycheck_advance_available_at||i.paycheckAdvanceAvailableAt,corporateEmail:t.corporate_email||i.corporateEmail,maximumPaycheckAdvanceAmount:y(t.maximum_paycheck_advance_amount)?t.maximum_paycheck_advance_amount:i.maximumPaycheckAdvanceAmount,minimumPaycheckAdvanceAmount:y(t.minimum_paycheck_advance_amount)?t.minimum_paycheck_advance_amount:i.minimumPaycheckAdvanceAmount,freeRequestLimitPaycheckAdvance:y(t.free_request_limit_paycheck_advance)?t.free_request_limit_paycheck_advance:i.freeRequestLimitPaycheckAdvance,totalLoanDebtBalance:y(t.total_loan_debt_balance)?t.total_loan_debt_balance:i.totalPaycheckAdvanceDebtBalance,totalPaycheckAdvanceDebtBalance:y(t.total_paycheck_advance_debt_balance)?t.total_paycheck_advance_debt_balance:i.totalPaycheckAdvanceDebtBalance,hasChargingFileDeductions:void 0!==t.has_charging_file_deductions?t.has_charging_file_deductions:i.hasChargingFileDeductions,canChangeChargingFile:void 0!==t.can_change_charging_file?t.can_change_charging_file:i.canChangeChargingFile,hasProposalInProgress:void 0!==t.has_proposal_in_progress?t.has_proposal_in_progress:i.hasProposalInProgress,department:t.department||i.department,refiCreditBalance:y(t.refi_credit_balance)?t.refi_credit_balance:i.refiCreditBalance})}(t);e.id=i.id,e.isActive=i.isActive,e.financialConsultantApprovalEnabled=i.financialConsultantApprovalEnabled,e.netEarnings=i.netEarnings,e.loanInstallmentsTotal=i.loanInstallmentsTotal,e.paycheckAdvancesTotal=i.paycheckAdvancesTotal,e.currency=i.currency,e.score=i.score,e.cluster=i.cluster,e.detailedConcentre=i.detailedConcentre,e.concentre=i.concentre,e.compiledBacen=i.compiledBacen,e.bacen=i.bacen,e.automaticCreditLimit=i.automaticCreditLimit,e.manualCreditLimit=S(i.manualCreditLimit),e.creditLimit=i.creditLimit,e.creditBalance=S(i.creditBalance),e.debtBalance=i.debtBalance,e.paycheckAdvanceBalance=S(i.paycheckAdvanceBalance),e.salary=S(i.salary),e.role=i.role,e.identificationNumber=i.identificationNumber,e.hiringAt=r(a(i.hiringAt),0),e.layOffAt=r(a(i.layOffAt),0),e.payrollDeductions=i.payrollDeductions,e.user=ae(i.user),e.employer=q(i.employer),e.esocialValidationStatus=i.esocialValidationStatus,e.contractId=i.contractId,e.creditUpdatedAt=r(a(i.creditUpdatedAt),0),e.esocialId=i.esocialId,e.salaryNotFound=i.salaryNotFound,e.maximumInstallmentAmount=i.maximumInstallmentAmount,e.currentMaximumInstallmentAmount=i.currentMaximumInstallmentAmount,e.simulationAvailableAt=r(a(i.simulationAvailableAt),0),e.paycheckAdvanceAvailableAt=r(a(i.paycheckAdvanceAvailableAt),0),e.status=i.status,e.corporateEmail=i.corporateEmail,e.maximumPaycheckAdvanceAmount=S(i.maximumPaycheckAdvanceAmount),e.minimumPaycheckAdvanceAmount=S(i.minimumPaycheckAdvanceAmount),e.freeRequestLimitPaycheckAdvance=S(i.freeRequestLimitPaycheckAdvance),e.totalLoanDebtBalance=S(i.totalLoanDebtBalance),e.totalPaycheckAdvanceDebtBalance=S(i.totalPaycheckAdvanceDebtBalance),e.hasChargingFileDeductions=i.hasChargingFileDeductions,e.canChangeChargingFile=i.canChangeChargingFile,e.hasProposalInProgress=i.hasProposalInProgress,e.department=i.department,e.refiCreditBalance=S(i.refiCreditBalance),e.created=a(t.created),e.modified=a(t.modified)}var Fe=function(e){!function(e,t){var i=function(e){var t=e,i=e;return{id:t.id||i.id,employeesDataFile:Be(t.employees_data_file),uploaderUser:xe(t.uploader_user),uploaderEmail:t.uploader_email||i.uploaderEmail,status:t.status||i.status,created:t.created||i.created,modified:t.modified||i.modified}}(t);e.id=i.id,e.employeesDataFile=i.employeesDataFile,e.uploaderUser=i.uploaderUser,e.uploaderEmail=i.uploaderEmail,e.status=i.status,e.created=r(a(i.created),0),e.modified=r(a(i.modified),0)}(this,e)};function xe(e){var t,i={};return i.fullName=(null===(t=e)||void 0===t?void 0:t.full_name)||void 0,i}function Be(e){var t,i,n={};return n.fileName=(null===(t=e)||void 0===t?void 0:t.filename)||void 0,n.id=(null===(i=e)||void 0===i?void 0:i.id)||void 0,n.employers=e.employers||void 0,n}var ke,Ve,Me=function(e){void 0===e&&(e={}),Ye(this,"string"==typeof e?{id:e}:e)};function we(e){return e?new Me(e):void 0}function Ye(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{fullName:t.full_name||i.fullName,shortName:t.short_name||i.shortName,walletId:t.wallet_id||i.walletId,startDate:t.start_date||i.startDate,endDate:t.end_date||i.endDate})}(t);e.id=i.id,e.created=a(i.created),e.modified=a(i.modified),e.balance=S(i.balance),e.fullName=i.fullName,e.shortName=i.shortName,e.identity=i.identity,e.walletId=i.walletId,e.startDate=r(a(i.startDate),0),e.endDate=r(a(i.endDate),0)}(ke=e.PROPOSAL_OPERATION_TYPE||(e.PROPOSAL_OPERATION_TYPE={})).NEW_LOAN="NEW_LOAN",ke.DEBT_TRANSFER="DEBT_TRANSFER",ke.RENEGOTIATION="RENEGOTIATION",ke.REFINANCE="REFINANCE",(Ve=e.PROPOSAL_REGISTRATION_STATUS||(e.PROPOSAL_REGISTRATION_STATUS={})).PENDING="PENDING",Ve.AUTO_APPROVED="AUTO_APPROVED",Ve.APPROVED="APPROVED",Ve.DENIED="DENIED",Ve.ERROR="ERROR",Ve.CANCELED="CANCELED";var je,He=function(e){void 0===e&&(e={}),qe(this,"string"==typeof e?{id:e}:e)};function Ke(e){return e?new He(e):void 0}function qe(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{employerStaffUserId:t.employer_staff_user_id||i.employerStaffUser,levecapitalUser:t.levecapital_user||i.levecapitalUser})}(t);e.id=i.id,e.employerStaffUser=ae(i.employerStaffUser),e.description=i.description,e.status=i.status,e.levecapitalUser=i.levecapitalUser}(je=e.PROPOSAL_STATUS||(e.PROPOSAL_STATUS={})).BORROWER_SIGNATURE_PENDING="BORROWER_SIGNATURE_PENDING",je.CANCELED="CANCELED",je.CANCELING_PENDING="CANCELING_PENDING",je.CNAB_PENDING="CNAB_PENDING",je.CREDIT_ERROR="CREDIT_ERROR",je.CREDIT_PENDING="CREDIT_PENDING",je.DEBT_TRANSFER_INVOICE_PENDING="DEBT_TRANSFER_INVOICE_PENDING",je.DEBT_TRANSFER_ERROR="DEBT_TRANSFER_ERROR",je.DEFAULT="DEFAULT",je.DENIED="DENIED",je.ENDORSEMENT_CREATED="ENDORSEMENT_CREATED",je.ERROR="ERROR",je.EXPIRED="EXPIRED",je.FINISHED="FINISHED",je.IN_PROGRESS="IN_PROGRESS",je.LENDER_SIGNATURE_PENDING="LENDER_SIGNATURE_PENDING",je.FINANCIAL_CONSULTANT_APPROVAL_PENDING="FINANCIAL_CONSULTANT_APPROVAL_PENDING",je.FINISHED_PENDING="FINISHED_PENDING",je.LENDER_APPROVAL_PENDING="LENDER_APPROVAL_PENDING",je.PIX_PROCESSING_ERROR="PIX_PROCESSING_ERROR",je.PIX_PROCESSING="PIX_PROCESSING_ERROR",je.REGISTRATION_PENDING="REGISTRATION_PENDING",je.RELEASED="RELEASED";var Je,Xe=[e.PROPOSAL_STATUS.BORROWER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.REGISTRATION_PENDING,e.PROPOSAL_STATUS.LENDER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.LENDER_APPROVAL_PENDING,e.PROPOSAL_STATUS.DEBT_TRANSFER_INVOICE_PENDING],We=[e.PROPOSAL_STATUS.REGISTRATION_PENDING,e.PROPOSAL_STATUS.LENDER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.LENDER_APPROVAL_PENDING],ze=[e.PROPOSAL_STATUS.LENDER_APPROVAL_PENDING],Qe=[e.PROPOSAL_STATUS.DEBT_TRANSFER_INVOICE_PENDING],Ze=[e.PROPOSAL_STATUS.BORROWER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.LENDER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.CNAB_PENDING,e.PROPOSAL_STATUS.ENDORSEMENT_CREATED,e.PROPOSAL_STATUS.CREDIT_PENDING,e.PROPOSAL_STATUS.CREDIT_ERROR,e.PROPOSAL_STATUS.IN_PROGRESS,e.PROPOSAL_STATUS.ERROR,e.PROPOSAL_STATUS.FINISHED_PENDING],$e=[e.PROPOSAL_STATUS.BORROWER_SIGNATURE_PENDING],et=[e.PROPOSAL_STATUS.LENDER_SIGNATURE_PENDING],tt=[e.PROPOSAL_STATUS.FINANCIAL_CONSULTANT_APPROVAL_PENDING];(Je=e.HR_PROPOSAL_STEP||(e.HR_PROPOSAL_STEP={})).BORROWER_SIGNATURE_PENDING="BORROWER_SIGNATURE_PENDING",Je.UNDER_ANALYSIS="UNDER_ANALYSIS",Je.REGISTRATION_PENDING="REGISTRATION_PENDING",Je.INVOICE_PENDING="INVOICE_PENDING",Je.CREDIT_PENDING="CREDIT_PENDING",Je.CREDIT_ERROR="CREDIT_ERROR",Je.CREDITED="CREDITED",Je.DENIED="DENIED",Je.CANCELING="CANCELING",Je.CANCELED="CANCELED",Je.FINISHED="FINISHED",Je.EXPIRED="EXPIRED",Je.PENDING_PAYMENT="PENDING_PAYMENT";var it,nt={BORROWER_SIGNATURE_PENDING:[e.PROPOSAL_STATUS.BORROWER_SIGNATURE_PENDING],UNDER_ANALYSIS:[e.PROPOSAL_STATUS.LENDER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.LENDER_APPROVAL_PENDING,e.PROPOSAL_STATUS.FINISHED_PENDING,e.PROPOSAL_STATUS.RELEASED],REGISTRATION_PENDING:[e.PROPOSAL_STATUS.REGISTRATION_PENDING],INVOICE_PENDING:[e.PROPOSAL_STATUS.DEBT_TRANSFER_INVOICE_PENDING],CREDIT_PENDING:[e.PROPOSAL_STATUS.CNAB_PENDING,e.PROPOSAL_STATUS.CREDIT_PENDING,e.PROPOSAL_STATUS.ENDORSEMENT_CREATED],CREDIT_ERROR:[e.PROPOSAL_STATUS.CREDIT_ERROR],CREDITED:[e.PROPOSAL_STATUS.IN_PROGRESS],DENIED:[e.PROPOSAL_STATUS.DENIED],CANCELING:[e.PROPOSAL_STATUS.CANCELING_PENDING],CANCELED:[e.PROPOSAL_STATUS.CANCELED],FINISHED:[e.PROPOSAL_STATUS.FINISHED],EXPIRED:[e.PROPOSAL_STATUS.EXPIRED],PENDING_PAYMENT:[e.PROPOSAL_STATUS.DEFAULT]};(it=e.EMPLOYEE_PROPOSAL_STEP||(e.EMPLOYEE_PROPOSAL_STEP={})).SIGNATURE_PENDING="SIGNATURE_PENDING",it.UNDER_ANALYSIS="UNDER_ANALYSIS",it.INVOICE_PENDING="INVOICE_PENDING",it.CREDIT_PENDING="CREDIT_PENDING",it.CREDIT_ERROR="CREDIT_ERROR",it.CREDITED="CREDITED",it.DENIED="DENIED",it.CANCELING="CANCELING",it.CANCELED="CANCELED",it.FINISHED="FINISHED",it.EXPIRED="EXPIRED",it.PENDING_PAYMENT="PENDING_PAYMENT";var at,ot={SIGNATURE_PENDING:[e.PROPOSAL_STATUS.BORROWER_SIGNATURE_PENDING],UNDER_ANALYSIS:[e.PROPOSAL_STATUS.LENDER_SIGNATURE_PENDING,e.PROPOSAL_STATUS.LENDER_APPROVAL_PENDING,e.PROPOSAL_STATUS.REGISTRATION_PENDING,e.PROPOSAL_STATUS.RELEASED],INVOICE_PENDING:[e.PROPOSAL_STATUS.DEBT_TRANSFER_INVOICE_PENDING],CREDIT_PENDING:[e.PROPOSAL_STATUS.CNAB_PENDING,e.PROPOSAL_STATUS.CREDIT_PENDING,e.PROPOSAL_STATUS.ENDORSEMENT_CREATED,e.PROPOSAL_STATUS.FINISHED_PENDING],CREDIT_ERROR:[e.PROPOSAL_STATUS.CREDIT_ERROR],CREDITED:[e.PROPOSAL_STATUS.IN_PROGRESS],DENIED:[e.PROPOSAL_STATUS.DENIED],CANCELING:[e.PROPOSAL_STATUS.CANCELING_PENDING],CANCELED:[e.PROPOSAL_STATUS.CANCELED],FINISHED:[e.PROPOSAL_STATUS.FINISHED],EXPIRED:[e.PROPOSAL_STATUS.EXPIRED],PENDING_PAYMENT:[e.PROPOSAL_STATUS.DEFAULT]};(at=e.PROPOSAL_TYPE||(e.PROPOSAL_TYPE={})).PAYROLL_LOAN="PAYROLL_LOAN",at.PERSONAL_LOAN="PERSONAL_LOAN",at.PAYCHECK_ADVANCE="PAYCHECK_ADVANCE";var rt,dt=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.typeableCode=t.typeableCode,e.amount=t.amount,e.cashback=t.cashback,e.expiresAt=t.expiresAt,e.proposalFileId=t.proposalFileId,e.identity=t.identity,e.name=t.name,e.simulation=t.simulation}(this,t):ct(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,typeable_code:e.typeableCode,amount:e.amount,cashback:e.cashback,identity:e.identity,proposal_file_id:e.proposalFileId,name:e.name,simulation:e.simulation,expires_at:e.expiresAt?u(e.expiresAt):""};var e},enumerable:!0,configurable:!0}),e}();function ut(e){return e?new dt(e):void 0}function ct(e,t){e.id=t.id,e.typeableCode=t.typeable_code,e.amount=t.amount,e.cashback=t.cashback,e.expiresAt=a(t.expires_at),e.identity=t.identity,e.proposalFileId=t.proposal_file_id,e.name=t.name,e.simulation=t.simulation}(rt=e.INVOICE_STATUS||(e.INVOICE_STATUS={})).PENDING="PENDING",rt.PAID="PAID",rt.PRE_PAID_DISMISSAL="PRE_PAID_DISMISSAL",rt.PRE_PAID_USER="PRE_PAID_USER",rt.CANCELED="CANCELED",rt.DIFFER="DIFFER",rt.ERROR="ERROR",rt.RESTRUCTURED="RESTRUCTURED",rt.BANKING_CHARGE_GENERATED="BANKING_CHARGE_GENERATED";var lt=[e.INVOICE_STATUS.PENDING],st=function(){function t(e){void 0===e&&(e={}),_t(this,"string"==typeof e?{id:e}:e)}return Object.defineProperty(t.prototype,"canRegisterPayment",{get:function(){return e=this,lt.includes(e.status);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canGenerateNewBankingCharge",{get:function(){return!(t=this).bankingCharge||t.bankingCharge.status===e.BANKING_CHARGE_STATUS.CANCELED;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canCancelBankingCharge",{get:function(){return!!(t=this).bankingCharge&&![e.BANKING_CHARGE_STATUS.CANCELED,e.BANKING_CHARGE_STATUS.RECEIVED].includes(t.bankingCharge.status);var t},enumerable:!0,configurable:!0}),t}();function mt(e){return e?new st(e):void 0}function _t(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{dueDate:t.due_date||i.dueDate,closingDate:t.closing_date||i.closingDate,bankingCharge:t.banking_charge||i.bankingCharge})}(t);e.id=i.id,e.balance=S(i.balance),e.created=a(i.created),e.modified=a(i.modified),e.closingDate=r(a(i.closingDate),0),e.dueDate=r(a(i.dueDate),0),e.amount=S(i.amount),e.currency=i.currency,e.status=i.status,e.bankingCharge=C(i.bankingCharge)}var ft=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,t)||this;return"string"!=typeof t&&function(e,t){e.employee=Le(t.employee)}(i,t),i}return i(t,e),t}(st);var Et=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.employeeName=t.employeeName,e.employeeStatus=t.employeeStatus,e.employeeHeadOfficeIdentity=t.employeeHeadOfficeIdentity,e.userSocialSecurityNumber=t.userSocialSecurityNumber,e.ccbNumber=t.ccbNumber,e.amount=t.amount,e.type=t.type}(this,t):function(e,t){e.id=t.id,e.employeeName=t.employee_name,e.employeeStatus=t.employee_status,e.employeeHeadOfficeIdentity=t.employee_head_office_identity,e.userSocialSecurityNumber=t.user_social_security_number,e.ccbNumber=t.ccb_number,e.amount=Number(t.amount),e.type=t.type}(this,t)};var At=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,t)||this;return"string"!=typeof t&&function(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{installmentsCount:t.installments_count||i.installmentsCount,paycheckAdvancesCount:t.paycheck_advances_count||i.paycheckAdvancesCount,rescissionsCount:t.rescissions_count||i.rescissionsCount,totalAmount:t.total_amount||i.totalAmount,amountStatusTotalCount:t.amount_status_total_count||i.amountStatusTotalCount,amountStatusPartialCount:t.amount_status_partial_count||i.amountStatusPartialCount,amountStatusNoPayCount:t.amount_status_no_pay_count||i.amountStatusNoPayCount,closeBy:t.closed_by||i.closeBy})}(t);e.employer=q(t.employer),e.installmentsCount=i.installmentsCount,e.paycheckAdvancesCount=i.paycheckAdvancesCount,e.rescissionsCount=i.rescissionsCount,e.totalAmount=i.totalAmount,e.amountStatusTotalCount=i.amountStatusTotalCount,e.amountStatusPartialCount=i.amountStatusPartialCount,e.amountStatusNoPayCount=i.amountStatusNoPayCount,e.closeBy=i.closeBy}(i,t),i}return i(t,e),t}(st);var pt=function(){function e(e){void 0===e&&(e={}),vt(this,"string"==typeof e?{id:e}:e)}return e.toDjango=function(e){return{id:e.id,amount:e.amount,paid_in:u(e.paidIn),fine_amount:e.fineAmount,interest_amount:e.interestAmount}},e}();function vt(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{paidIn:i.paidIn||r(a(t.paid_in),0),fineAmount:t.fine_amount||i.fineAmount,interestAmount:t.interest_amount||i.interestAmount})}(t);e.amount=S(i.amount),e.id=i.id,e.paidIn=a(i.paidIn),e.fineAmount=S(i.fineAmount),e.interestAmount=S(i.interestAmount)}var Rt=function e(t){void 0===t&&(t={}),this.id="",this.employee=new Ue,this.campaignRedeem=new Ut,this.proposal=new Tt,this.used=!1,this.bonusAmount=0,this.expired=!0,"string"==typeof t?Ct(this,{id:t}):t instanceof e?Ot(this,t):Ct(this,t)};function Nt(e){return e?new Rt(e):void 0}var It=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.employee=t.employee,e.user=t.user,e.taxAmount=t.taxAmount,e.firstReferencePeriod=t.firstReferencePeriod,e.lastReferencePeriod=t.lastReferencePeriod,e.installmentAmount=t.installmentAmount,e.dueDate=t.dueDate,e.firstDueDate=t.firstDueDate,e.lastDueDate=t.lastDueDate,e.firstPendingInstallmentDueDate=t.firstPendingInstallmentDueDate,e.lastPendingInstallmentDueDate=t.lastPendingInstallmentDueDate,e.totalDebtAmount=t.totalDebtAmount,e.financedAmount=t.financedAmount,e.modified=t.modified,e.created=t.created,e.amount=t.amount,e.period=t.period,e.interestRate=t.interestRate,e.effectiveInterestRate=t.effectiveInterestRate,e.feeAmount=t.feeAmount,e.currency=t.currency,e.score=t.score,e.scoreVersion=t.scoreVersion,e.agioAmount=t.agioAmount,e.isRefi=t.isRefi,e.insuranceInstallmentAmount=t.insuranceInstallmentAmount}(this,t):yt(this,"string"==typeof t?{id:t}:t)};function St(e){return e?new It(e):void 0}function yt(e,t){e.id=t.id,e.employee=Le(t.employee),e.user=ae(t.user),e.taxAmount=Number(t.tax_amount),e.installmentAmount=Number(t.installment_amount),e.firstReferencePeriod=t.first_reference_period,e.lastReferencePeriod=r(a(t.last_reference_period),0),e.dueDate=r(a(t.due_date),0),e.firstDueDate=r(a(t.first_due_date),0),e.lastDueDate=r(a(t.last_due_date),0),e.firstPendingInstallmentDueDate=r(a(t.first_pending_installment_due_date),0),e.lastPendingInstallmentDueDate=r(a(t.last_pending_installment_due_date),0),e.totalDebtAmount=Number(t.total_debt_amount),e.financedAmount=Number(t.financed_amount),e.modified=a(t.modified),e.created=a(t.created),e.amount=Number(t.amount),e.period=Number(t.period),e.interestRate=Number(t.interest_rate),e.effectiveInterestRate=Number(t.effective_interest_rate),e.feeAmount=Number(t.fee_amount),e.currency=t.currency,e.score=Number(t.score),e.scoreVersion=Number(t.score_version),e.agioAmount=Number(t.agio_amount),e.isRefi=Boolean(t.is_refi),e.insuranceInstallmentAmount=Number(t.insurance_installment_amount)}var Pt=function(e){void 0===e&&(e={}),function(e,t){var i=t,n=t;e.borrowerId=i.borrower_id||n.borrowerId,e.created=a(t.created),e.lenderId=i.lender_id||n.lenderId,e.modified=a(t.modified),e.phoneNumber=i.phone_number||n.phoneNumber}(this,e)};var Tt=function(){function t(e){void 0===e&&(e={}),bt(this,"string"==typeof e?{id:e}:e)}return Object.defineProperty(t.prototype,"attachable",{get:function(){return e=this,Qe.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invoiceDownloadable",{get:function(){return i=(t=this).operationType===e.PROPOSAL_OPERATION_TYPE.DEBT_TRANSFER,n=Ze.includes(t.processingStatus),i&&n;var t,i,n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"approvable",{get:function(){return e=this,ze.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cancelable",{get:function(){return e=this,Xe.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verifiable",{get:function(){return e=this,tt.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assignable",{get:function(){return e=this,$e.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lenderSignable",{get:function(){return e=this,et.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"employeeStep",{get:function(){return gt(ot,this.processingStatus)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hrStep",{get:function(){return gt(nt,this.processingStatus)},enumerable:!0,configurable:!0}),t}();function Dt(e){return e?new Tt(e):void 0}function bt(e,t){t=function(e){var t=e,i=e;return n(n({},e),{transferedDebtAmount:t.transfered_debt_amount||i.transferedDebtAmount,documentKey:t.document_key||i.documentKey,proposalType:t.proposal_type||i.proposalType,operationType:t.operation_type||i.operationType,processingStatus:t.processing_status||i.processingStatus,debtTransfer:t.debt_transfer||i.debtTransfer,lenderPortfolio:t.lender_portfolio||i.lenderPortfolio,paycheckAdvanceBonus:t.paycheck_advance_bonus||i.paycheckAdvanceBonus,isRefi:t.is_refi||i.isRefi,ccbNumber:t.ccb_number||i.ccbNumber})}(t),e.id=t.id,e.transferedDebtAmount=t.transferedDebtAmount,e.documentKey=t.documentKey,e.simulation=St(t.simulation),e.registration=Ke(t.registration),e.proposalType=t.proposalType,e.operationType=t.operationType,e.processingStatus=t.processingStatus,e.bucket=t.bucket,e.key=t.key,e.debtTransfer=ut(t.debtTransfer),e.signers=function(e){return e?new Pt(e):void 0}(t.signers),e.lenderPortfolio=t.lenderPortfolio,e.paycheckAdvanceBonus=Nt(t.paycheckAdvanceBonus),e.isRefi=t.isRefi,e.ccbNumber=t.ccbNumber,e.modified=a(t.modified),e.created=a(t.created)}function gt(e,t){return Object.keys(e).map((function(e){return e})).find((function(i){return e[i].includes(t)}))}function Ot(e,t){Object.keys(e).forEach((function(i){e[i]=t[i]}))}function Ct(e,t){Object.keys(e).forEach((function(i){var n=i.split(/(?=[A-Z])/).join("_").toLowerCase();Array.isArray(e[i])?(t[n].forEach((function(t){if("object"==typeof t){var n=new e[i][0].constructor;Ct(n,t),e[i].push(n)}else e[i].push(t)})),e[i].shift()):e[i]instanceof Date?e[i]=a(t[n]):e[i]instanceof _?e[i]=f(t[n]):e[i]instanceof Ue?e[i]=Le(t[n]):e[i]instanceof Me?e[i]=we(t[n]):e[i]instanceof Tt?e[i]=Dt(t[n]):e[i]instanceof ne?e[i]=ae(t[n]):e[i]=t[n]}))}var ht,Lt=function t(i){void 0===i&&(i={}),this.id="",this.campaignType=e.CampaignType.DEFAULT,this.bonusAmount=0,this.redeemLimit=0,this.startDate=new Date,this.endDate=new Date,"string"==typeof i?Ct(this,{id:i}):i instanceof t?Ot(this,i):Ct(this,i)};(ht=e.CampaignType||(e.CampaignType={})).MGM="MGM",ht.DEFAULT="DEFAULT";var Ut=function e(t){void 0===t&&(t={}),this.activatedEmployee=new Ue,this.bonusAmount=0,this.created=new Date,this.modified=new Date,t instanceof e?Ot(this,t):Ct(this,t)};var Gt,Ft=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.employeeId=t.employeeId,e.amount=t.amount,e.startDate=t.startDate,e.firstDueDate=t.firstDueDate,e.numberOfInstallments=t.numberOfInstallments,e.installmentAmount=t.installmentAmount,e.period=t.period,e.interestRate=t.interestRate,e.effectiveInterestRate=t.effectiveInterestRate,e.feeAmount=t.feeAmount,e.taxAmount=t.taxAmount,e.fixedTaxRate=t.fixedTaxRate,e.referencePeriod=t.referencePeriod,e.totalFinancedAmount=t.totalFinancedAmount,e.totalDebtAmount=t.totalDebtAmount}(this,t):function(e,t){e.employeeId=t.employee_id,e.amount=t.amount,e.startDate=r(a(t.start_date),0),e.firstDueDate=r(a(t.first_due_date),0),e.numberOfInstallments=t.number_of_installments,e.period=t.period,e.installmentAmount=t.installment_amount,e.interestRate=t.interest_rate,e.effectiveInterestRate=t.effective_interest_rate,e.feeAmount=t.fee_amount,e.taxAmount=t.tax_amount,e.fixedTaxRate=t.fixed_tax_rate,e.referencePeriod=t.reference_period,e.totalFinancedAmount=t.total_financed_amount,e.totalDebtAmount=t.total_debt_amount}(this,t)};(Gt=e.SIMULATION_TYPE||(e.SIMULATION_TYPE={})).SIMPLE="Simples",Gt.COMPLETE="Completa";var xt=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.amount=t.amount,e.numberOfInstallments=t.numberOfInstallments,e.interestRate=t.interestRate,e.fee=t.fee,e.isFeePercentage=t.isFeePercentage,e.checkEmployeeLimits=t.checkEmployeeLimits,e.cutoffDay=t.cutoffDay,e.minimumDueDate=t.minimumDueDate,e.simulationType=t.simulationType,e.debtTransfer=t.debtTransfer,e.debtTransferAmount=t.debtTransferAmount,e.financialChangeAmount=t.financialChangeAmount,e.releasedMarginAmount=t.releasedMarginAmount}(this,t):function(e,t){e.amount=t.amount,e.numberOfInstallments=t.number_of_installments,e.interestRate=100*parseFloat(t.interest_rate),e.fee=100*parseFloat(t.fee),e.isFeePercentage=t.is_fee_percentage,e.checkEmployeeLimits=t.checkEmployeeLimits,e.cutoffDay=t.cutoff_day,e.minimumDueDate=r(a(t.minimum_due_date),0),e.simulationType=t.simulation_type,e.debtTransfer=t.debt_transfer,e.debtTransferAmount=t.debt_transfer_amount,e.financialChangeAmount=t.financial_change_amount,e.releasedMarginAmount=t.released_margin_amount}(this,t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return t=!!(e=this).isFeePercentage,i=!!e.checkEmployeeLimits,{simulation_type:e.simulationType,debt_transfer:e.debtTransfer,debt_transfer_amount:e.debtTransferAmount,released_margin_amount:e.releasedMarginAmount,financial_change_amount:e.financialChangeAmount,amount:e.amount,number_of_installments:e.numberOfInstallments,interest_rate:P(e.interestRate,6),fee:t?P(e.fee,6):T(e.fee,6),is_fee_percentage:t,checkEmployeeLimits:i,cutoff_day:e.cutoffDay,minimum_due_date:e.minimumDueDate?u(e.minimumDueDate):null};var e,t,i},enumerable:!0,configurable:!0}),e}();var Bt,kt,Vt=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.created=t.created,e.modified=t.modified}(this,t):function(e,t){e.created=a(t.created),e.modified=a(t.modified)}(this,t)};(Bt=e.EMPLOYER_SETTINGS_INTEGRATION_TYPE||(e.EMPLOYER_SETTINGS_INTEGRATION_TYPE={})).CSV="CSV",Bt.ESOCIAL="ESOCIAL",(kt=e.ESOCIAL_VALIDATION_STATUS||(e.ESOCIAL_VALIDATION_STATUS={})).ACCEPTED="ACCEPTED",kt.IN_PROGRESS="IN_PROGRESS",kt.DENIED="DENIED",kt.ERROR="ERROR",kt.LOAD_PAYROLL_DATA_ERROR="LOAD_PAYROLL_DATA_ERROR",kt.LOAD_REGISTRATION_DATA_ERROR="LOAD_REGISTRATION_DATA_ERROR",kt.LOAD_LABOR_DATA_ERROR="LOAD_LABOR_DATA_ERROR";var Mt=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.justFirstInstallment=t.justFirstInstallment,e.isEnabled=t.isEnabled,e.isPercentage=t.isPercentage,e.percentage=t.percentage,e.amount=t.amount,e.minimumInstallmentCount=t.minimumInstallmentCount,e.maximumInstallmentCount=t.maximumInstallmentCount,e.minimumInstallmentAmount=t.minimumInstallmentAmount,e.maximumInstallmentAmount=t.maximumInstallmentAmount,e.employer=t.employer,e.createdBy=t.createdBy,e.modifiedBy=t.modifiedBy,e.created=t.created,e.modified=t.modified}(this,t):wt(this,"string"==typeof t?{id:t}:t)}return Object.defineProperty(e.prototype,"djangoModel",{get:function(){return{id:(e=this).id,just_first_installment:e.justFirstInstallment,is_enabled:e.isEnabled,is_percentage:e.isPercentage,percentage:e.percentage,amount:e.amount,minimum_installment_count:e.minimumInstallmentCount,maximum_installment_count:e.maximumInstallmentCount,minimum_installment_amount:e.minimumInstallmentAmount,maximum_installment_amount:e.maximumInstallmentAmount,employer:e.employer,created_by:e.createdBy,modified_by:e.modifiedBy,created:e.created,modified:e.modified};var e},enumerable:!0,configurable:!0}),e}();function wt(e,t){e.id=t.id,e.justFirstInstallment=t.just_first_installment,e.isEnabled=t.is_enabled,e.isPercentage=t.is_percentage,e.percentage=Number(t.percentage),e.amount=Number(t.amount),e.minimumInstallmentCount=Number(t.minimum_installment_count),e.maximumInstallmentCount=Number(t.maximum_installment_count),e.minimumInstallmentAmount=Number(t.minimum_installment_amount),e.maximumInstallmentAmount=Number(t.maximum_installment_amount),e.employer=q(t.employer),e.createdBy=t.created_by,e.modifiedBy=t.modified_by,e.created=a(t.created),e.modified=a(t.modified)}var Yt;(Yt=e.INSTALLMENT_STATUS||(e.INSTALLMENT_STATUS={})).PENDING="PENDING",Yt.PAID="PAID",Yt.CANCELED="CANCELED",Yt.DIFFER="DIFFER",Yt.ERROR="ERROR",Yt.RESTRUCTURED="RESTRUCTURED",Yt.PRE_PAID_USER="PRE_PAID_USER",Yt.PRE_PAID_DISMISSAL="PRE_PAID_DISMISSAL",(e.INSTALLMENT_FIELDS||(e.INSTALLMENT_FIELDS={})).STATUS="STATUS";var jt,Ht=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.currency=t.currency,e.number=t.number,e.amount=t.amount,e.formattedReferencePeriod=t.formattedReferencePeriod,e.dueDate=t.dueDate,e.status=t.status,e.insuranceAmount=t.insuranceAmount,e.created=t.created,e.modified=t.modified,e.remainingAmount=t.remainingAmount}(this,t):Kt(this,"string"==typeof t?{id:t}:t)};function Kt(e,t){e.id=t.id,e.currency=t.currency,e.formattedReferencePeriod=r(a(t.formatted_reference_period),0),e.number=t.number,e.amount=t.amount,e.dueDate=r(a(t.due_date),0),e.status=t.status,e.insuranceAmount=t.insurance_amount,e.created=a(t.created),e.modified=a(t.modified),e.remainingAmount=t.remaining_amount}(jt=e.JOBS_QUEUE_STATUS||(e.JOBS_QUEUE_STATUS={})).IDLE="IDLE",jt.IN_PROGRESS="IN_PROGRESS",jt.NO_QUEUE="NO_QUEUE";var qt=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.queueStatus=t.queueStatus,e.numberOfMessages=t.numberOfMessages}(this,t):function(e,t){e.queueStatus=t.queue_status,e.numberOfMessages=t.number_of_messages}(this,t)};var Jt,Xt=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.amount=t.amount,e.period=t.period,e.interestRate=t.interestRate,e.effectiveInterestRate=t.effectiveInterestRate,e.feeAmount=t.feeAmount,e.taxAmount=t.taxAmount,e.score=t.score,e.scoreVersion=t.scoreVersion,e.currency=t.currency,e.agioAmount=t.agioAmount,e.created=t.created,e.modified=t.modified}(this,t):function(e,t){e.amount=t.amount,e.period=t.period,e.interestRate=t.interest_rate,e.effectiveInterestRate=t.effective_interest_rate,e.feeAmount=t.fee_amount,e.taxAmount=t.tax_amount,e.score=t.score,e.scoreVersion=t.score_version,e.currency=t.currency,e.agioAmount=t.agio_amount,e.created=a(t.created),e.modified=a(t.modified)}(this,t)};(Jt=e.LOAN_REASON||(e.LOAN_REASON={})).HOUSE_BILLS="HOUSE_BILLS",Jt.RENOVATION_OR_REPAIRS="RENOVATION_OR_REPAIRS",Jt.TRAVEL="TRAVEL",Jt.DEBT="DEBT",Jt.MEDICAL_EXPENSES="MEDICAL_EXPENSES",Jt.EDUCATION="EDUCATION",Jt.SHOPPING="SHOPPING",Jt.OTHERS="OTHERS";var Wt;(Wt=e.SERVICE_STATUS||(e.SERVICE_STATUS={})).CNAB_PENDING="CNAB_PENDING",Wt.CREDIT_ERROR="CREDIT_ERROR",Wt.CREDIT_PENDING="CREDIT_PENDING",Wt.DEFAULT="DEFAULT",Wt.ENDORSEMENT_CREATED="ENDORSEMENT_CREATED",Wt.ERROR="ERROR",Wt.EXPIRED="EXPIRED",Wt.FINISHED="FINISHED",Wt.GAVE_UP="GAVE_UP",Wt.IN_PROGRESS="IN_PROGRESS",Wt.PIX_PROCESSING="PIX_PROCESSING",Wt.PIX_PROCESSING_ERROR="PIX_PROCESSING_ERROR",Wt.RENEGOTIATING="RENEGOTIATING",Wt.RESTRUCTURED="RESTRUCTURED";var zt,Qt=[e.SERVICE_STATUS.DEFAULT,e.SERVICE_STATUS.FINISHED,e.SERVICE_STATUS.GAVE_UP,e.SERVICE_STATUS.IN_PROGRESS],Zt=[e.SERVICE_STATUS.IN_PROGRESS,e.SERVICE_STATUS.RENEGOTIATING],$t=[e.SERVICE_STATUS.IN_PROGRESS];function ei(e){var t=d(e.created)<8,i=$t.includes(e.status||e.processingStatus);return t&&i}(zt=e.HR_SERVICE_STEP||(e.HR_SERVICE_STEP={})).CREDIT_PENDING="CREDIT_PENDING",zt.CREDIT_ERROR="CREDIT_ERROR",zt.CREDITED="CREDITED",zt.EXPIRED="EXPIRED",zt.FINISHED="FINISHED",zt.GAVE_UP="GAVE_UP",zt.RENEGOTIATING="RENEGOTIATING",zt.PENDING_PAYMENT="PENDING_PAYMENT",zt.RESTRUCTURED="RESTRUCTURED";var ti,ii={CREDIT_PENDING:[e.SERVICE_STATUS.CNAB_PENDING,e.SERVICE_STATUS.CREDIT_PENDING,e.SERVICE_STATUS.ENDORSEMENT_CREATED],CREDIT_ERROR:[e.SERVICE_STATUS.CREDIT_ERROR,e.SERVICE_STATUS.PIX_PROCESSING_ERROR],CREDITED:[e.SERVICE_STATUS.IN_PROGRESS],EXPIRED:[e.SERVICE_STATUS.EXPIRED],FINISHED:[e.SERVICE_STATUS.FINISHED],GAVE_UP:[e.SERVICE_STATUS.GAVE_UP],RENEGOTIATING:[e.SERVICE_STATUS.RENEGOTIATING],PENDING_PAYMENT:[e.SERVICE_STATUS.DEFAULT,e.SERVICE_STATUS.PIX_PROCESSING],RESTRUCTURED:[e.SERVICE_STATUS.RESTRUCTURED]};(ti=e.EMPLOYEE_SERVICE_STEP||(e.EMPLOYEE_SERVICE_STEP={})).CREDIT_PENDING="CREDIT_PENDING",ti.CREDIT_ERROR="CREDIT_ERROR",ti.CREDITED="CREDITED",ti.EXPIRED="EXPIRED",ti.FINISHED="FINISHED",ti.GAVE_UP="GAVE_UP",ti.RENEGOTIATING="RENEGOTIATING",ti.PENDING_PAYMENT="PENDING_PAYMENT",ti.RESTRUCTURED="RESTRUCTURED";var ni={CREDIT_PENDING:[e.SERVICE_STATUS.CNAB_PENDING,e.SERVICE_STATUS.CREDIT_PENDING,e.SERVICE_STATUS.ENDORSEMENT_CREATED],CREDIT_ERROR:[e.SERVICE_STATUS.CREDIT_ERROR],CREDITED:[e.SERVICE_STATUS.IN_PROGRESS],EXPIRED:[e.SERVICE_STATUS.EXPIRED],FINISHED:[e.SERVICE_STATUS.FINISHED],GAVE_UP:[e.SERVICE_STATUS.GAVE_UP],RENEGOTIATING:[e.SERVICE_STATUS.RENEGOTIATING],PENDING_PAYMENT:[e.SERVICE_STATUS.DEFAULT],RESTRUCTURED:[e.SERVICE_STATUS.RESTRUCTURED]},ai=function(){function t(e){void 0===e&&(e={}),ri(this,"string"==typeof e?{proposal:e}:e)}return Object.defineProperty(t.prototype,"giveupable",{get:function(){return ei(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liquidatable",{get:function(){return e=this,Zt.includes(e.status);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ccbDownloadable",{get:function(){return e=this,Qt.includes(e.status);var e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"settableAsRenegotiable",{get:function(){return(t=this).status===e.SERVICE_STATUS.IN_PROGRESS&&!t.isRenegotiable;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"settableToPrepayment",{get:function(){return this.proposal.proposalType!==e.PROPOSAL_TYPE.PERSONAL_LOAN},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"employeeStep",{get:function(){return gt(ni,this.status)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hrStep",{get:function(){return gt(ii,this.status)},enumerable:!0,configurable:!0}),t}();function oi(e){return e?new ai(e):void 0}function ri(e,t){var i=function(e){var t=e,i=e;return n(n({},e),{firstReferencePeriod:t.first_reference_period||i.firstReferencePeriod,lastReferencePeriod:r(a(t.last_reference_period),0)||i.lastReferencePeriod,dueDate:r(a(t.due_date),0)||i.dueDate,firstDueDate:r(a(t.first_due_date),0)||i.firstDueDate,taxAmount:t.tax_amount||i.taxAmount,totalVariableTaxAmount:t.total_debt_amount||i.totalVariableTaxAmount,fixedTaxAmount:t.fixed_tax_amount||i.fixedTaxAmount,installmentAmount:t.installment_amount||i.installmentAmount,insurancePremiumAmount:t.insurance_premium_amount||i.insurancePremiumAmount,totalDebtAmount:t.total_debt_amount||i.totalDebtAmount,debtBalance:t.debt_balance||i.debtBalance,fixedTaxRate:t.fixed_tax_rate||i.fixedTaxRate,registeredInPayroll:t.registered_in_payroll||i.registeredInPayroll,isRenegotiable:t.is_renegotiable||i.isRenegotiable,isRefinanceable:t.is_refinanceable||i.isRefinanceable,interestRate:t.interest_rate||i.interestRate,effectiveInterestRate:t.effective_interest_rate||i.effectiveInterestRate,feeAmount:t.fee_amount||i.feeAmount,score:t.score||i.score,scoreVersion:t.score_version||i.scoreVersion,agioAmount:t.agio_amount||i.agioAmount,balanceForPrepayment:t.balance_for_prepayment||i.balanceForPrepayment,refinanceableBalance:t.refinanceable_balance||i.refinanceableBalance,sumPaidInstallments:t.sum_paid_installments||i.sumPaidInstallments,paidAmount:t.paid_amount||i.sumPaidInstallments})}(t);e.proposal=Dt(i.proposal),e.employee=Le(i.employee),e.dueDate=a(i.dueDate),e.firstReferencePeriod=i.firstReferencePeriod,e.lastReferencePeriod=a(i.lastReferencePeriod),e.firstDueDate=a(i.firstDueDate),e.taxAmount=i.taxAmount,e.totalVariableTaxAmount=i.totalVariableTaxAmount,e.fixedTaxAmount=i.fixedTaxAmount,e.costs=i.costs,e.installmentAmount=i.installmentAmount,e.insurancePremiumAmount=i.insurancePremiumAmount,e.totalDebtAmount=i.totalDebtAmount,e.debtBalance=i.debtBalance,e.balance=i.balance,e.credited=a(i.credited),e.status=i.status,e.fixedTaxRate=i.fixedTaxRate,e.registeredInPayroll=i.registeredInPayroll,e.isRenegotiable=i.isRenegotiable,e.isRefinanceable=i.isRefinanceable,e.reason=i.reason,e.balanceForPrepayment=i.balanceForPrepayment,e.refinanceableBalance=i.refinanceableBalance,e.sumPaidInstallments=i.sumPaidInstallments,e.paidAmount=i.paidAmount,e.created=a(i.created),e.modified=a(i.modified),e.amount=i.amount,e.period=i.period,e.interestRate=i.interestRate,e.effectiveInterestRate=i.effectiveInterestRate,e.feeAmount=i.feeAmount,e.currency=i.currency,e.score=i.score,e.scoreVersion=i.scoreVersion,e.agioAmount=i.agioAmount}var di=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.loan=t.loan,e.proposal=t.proposal,e.created=t.created,e.modified=t.modified}(this,t):ui(this,"string"==typeof t?{id:t}:t)};function ui(e,t){e.id=t.id,e.loan=oi(t.loan),e.proposal=Dt(t.proposal),e.created=a(t.created),e.modified=a(t.modified)}var ci=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.proposal=t.proposal,e.availableUntil=t.availableUntil,e.balance=t.balance,e.enabled=t.enabled,e.fee=t.fee,e.debtMonth=t.debtMonth,e.minimunTenureInMonths=t.minimunTenureInMonths,e.currency=t.currency,e.availableAmount=t.availableAmount,e.daysUntilCutoff=t.daysUntilCutoff,e.daysWorked=t.daysWorked,e.maximumAmount=t.maximumAmount,e.minimumAmount=t.minimumAmount,e.maximumSalaryMultiplier=e.maximumSalaryMultiplier,e.maximumMonthlyAmount=e.maximumMonthlyAmount,e.netEarnings=t.netEarnings,e.lockedAmount=t.lockedAmount,e.daysUntilMinimumAmount=t.daysUntilMinimumAmount,e.defaultOriginationFee=t.defaultOriginationFee,e.message=t.message,e.accumulatedBonusAmount=t.accumulatedBonusAmount,e.bonusAmountPerWithdrawal=t.bonusAmountPerWithdrawal,e.specialOriginationFee=t.specialOriginationFee,e.originationFee=t.originationFee,e.maxAmountForSpecialFee=t.maxAmountForSpecialFee}(this,t):function(e,t){e.proposal=Dt(t.proposal),e.availableUntil=r(a(t.available_until),0),e.balance=t.balance,e.enabled=t.enabled,e.fee=t.fee,e.debtMonth=t.debt_month,e.minimunTenureInMonths=t.minimun_tenure_in_months,e.currency=t.currency,e.availableAmount=t.available_amount,e.daysUntilCutoff=t.days_until_cutoff,e.daysWorked=t.days_worked,e.maximumAmount=t.maximum_amount,e.minimumAmount=t.minimum_amount,e.maximumSalaryMultiplier=t.maximum_salary_multiplier,e.maximumMonthlyAmount=t.maximum_monthly_amount,e.netEarnings=t.net_earnings,e.lockedAmount=t.locked_amount,e.daysUntilMinimumAmount=t.days_until_minimum_amount,e.defaultOriginationFee=t.default_origination_fee,e.message=t.message,e.bonusAmountPerWithdrawal=t.bonus_amount_per_withdrawal,e.accumulatedBonusAmount=t.accumulated_bonus_amount,e.specialOriginationFee=t.special_origination_fee,e.originationFee=t.origination_fee,e.maxAmountForSpecialFee=t.max_amount_for_special_fee}(this,t)}return Object.defineProperty(e.prototype,"canBeUsedToday",{get:function(){return new Date<=this.availableUntil},enumerable:!0,configurable:!0}),e}();var li=function(){function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.processingStatus=t.processingStatus,e.paymentStatus=t.paymentStatus,e.employee=t.employee,e.proposal=t.proposal,e.registration=t.registration,e.invoice=t.invoice,e.dueDate=t.dueDate,e.credited=t.credited,e.taxAmount=t.taxAmount,e.totalDebtAmount=t.totalDebtAmount,e.created=t.created,e.modified=t.modified,e.amount=t.amount,e.period=t.period,e.interestRate=t.interestRate,e.effectiveInterestRate=t.effectiveInterestRate,e.feeAmount=t.feeAmount,e.currency=t.currency,e.score=t.score,e.scoreVersion=t.scoreVersion,e.agioAmount=t.agioAmount}(this,t):si(this,"string"==typeof t?{proposal:t}:t)}return Object.defineProperty(e.prototype,"giveupable",{get:function(){return ei(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"liquidatable",{get:function(){return e=this,Zt.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ccbDownloadable",{get:function(){return e=this,Qt.includes(e.processingStatus);var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"employeeStep",{get:function(){return gt(ni,this.processingStatus)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hrStep",{get:function(){return gt(ii,this.processingStatus)},enumerable:!0,configurable:!0}),e}();function si(e,t){e.processingStatus=t.processing_status,e.paymentStatus=t.payment_status,e.employee=Le(t.employee),e.proposal=Dt(t.proposal),e.registration=t.registration,e.invoice=t.invoice,e.dueDate=r(a(t.due_date),0),e.created=a(t.created),e.taxAmount=t.tax_amount,e.totalDebtAmount=t.total_debt_amount,e.modified=a(t.modified),e.credited=a(t.credited),e.amount=t.amount,e.period=t.period,e.interestRate=t.interest_rate,e.effectiveInterestRate=t.effective_interest_rate,e.feeAmount=t.fee_amount,e.currency=t.currency,e.score=t.score,e.scoreVersion=t.score_version,e.agioAmount=t.agio_amount}var mi=function e(t){t instanceof e?function(e,t){e.accountBalance=t.accountBalance,e.payrollsTotal=t.payrollsTotal}(this,t):function(e,t){e.accountBalance=S(t.account_balance),e.payrollsTotal=S(t.payrolls_total)}(this,t)};var _i=function e(t){t instanceof e?function(e,t){e.id=t.id,e.companyId=t.companyId,e.companyName=t.companyName,e.companyCheckingAccount=t.companyCheckingAccount,e.receivedFileId=t.receivedFileId,e.receivedFileHash=t.receivedFileHash,e.receivedDate=t.receivedDate,e.receivedStatus=t.receivedStatus,e.receivedStatusDescription=t.receivedStatusDescription,e.companyCnpj=t.companyCnpj,e.employeeCount=t.employeeCount,e.totalPayrollValue=t.totalPayrollValue}(this,t):function(e,t){e.id=t.id,e.companyId=t.company_id,e.companyName=t.company_name,e.companyCheckingAccount=t.company_checking_account,e.receivedFileId=t.received_file_id,e.receivedFileHash=t.received_file_hash,e.receivedDate=r(a(t.received_date),0),e.receivedStatus=S(t.received_status),e.receivedStatusDescription=t.received_status_description,e.companyCnpj=t.company_cnpj,e.employeeCount=S(t.employee_count),e.totalPayrollValue=S(t.total_payroll_value)}(this,t)};var fi=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.cluster=t.cluster,e.timeOnJob=t.timeOnJob,e.maximumEarningsMultiplier=t.maximumEarningsMultiplier,e.minimumRefinancePaidInstallments=t.minimumRefinancePaidInstallments,e.incomeCommitment=t.incomeCommitment,e.createdBy=t.createdBy,e.modifiedBy=t.modifiedBy}(this,t):Ei(this,"string"==typeof t?{id:t}:t)};function Ei(e,t){e.id=t.id,e.cluster=t.cluster,e.timeOnJob=t.time_on_job,e.maximumEarningsMultiplier=t.maximum_earnings_multiplier,e.minimumRefinancePaidInstallments=t.minimum_refinance_paid_installments,e.incomeCommitment=t.income_commitment,e.createdBy=t.created_by,e.modifiedBy=t.modified_by}function Ai(e){return e?new fi(e):void 0}var pi=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.cluster=t.cluster,e.timeOnJob=t.timeOnJob,e.period=t.period,e.interestRate=t.interestRate,e.createdBy=t.createdBy,e.modifiedBy=t.modifiedBy}(this,t):vi(this,"string"==typeof t?{id:t}:t)};function vi(e,t){e.id=t.id,e.cluster=t.cluster,e.timeOnJob=t.time_on_job,e.period=t.period,e.interestRate=t.interest_rate,e.createdBy=t.created_by,e.modifiedBy=t.modified_by}function Ri(e){return e?new pi(e):void 0}var Ni,Ii,Si,yi,Pi=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.description=t.description,e.minimumAge=t.minimumAge,e.maximumAge=t.maximumAge,e.minimumOperationAmount=t.minimumOperationAmount,e.maximumTotalAmount=t.maximumTotalAmount,e.minimumInstallmentAmount=t.minimumInstallmentAmount,e.maximumInstallmentAmount=t.maximumInstallmentAmount,e.minimumInstallmentsCount=t.minimumInstallmentsCount,e.maximumInstallmentsCount=t.maximumInstallmentsCount,e.insuranceEnabled=t.insuranceEnabled,e.insurancePremiumRate=t.insurancePremiumRate,e.maximumInsurancePremiumAmount=t.maximumInsurancePremiumAmount,e.iofFixedRate=t.iofFixedRate,e.iofReducedRate=t.iofReducedRate,e.iofLimitReducedRate=t.iofLimitReducedRate,e.iofDailyRate=t.iofDailyRate,e.dailyDelayRestriction=t.dailyDelayRestriction,e.maximumInstallmentAmountPercentage=t.maximumInstallmentAmountPercentage,e.overdueInterest=t.overdueInterest,e.overdueFine=t.overdueFine,e.createdBy=t.createdBy,e.modifiedBy=t.modifiedBy}(this,t):Ti(this,t)};function Ti(e,t){e.id=t.id,e.description=t.description,e.minimumAge=t.minimum_age,e.maximumAge=t.maximum_age,e.minimumOperationAmount=t.minimum_operation_amount,e.maximumTotalAmount=t.maximum_total_amount,e.minimumInstallmentAmount=t.minimum_installment_amount,e.maximumInstallmentAmount=t.maximum_installment_amount,e.minimumInstallmentsCount=t.minimum_installments_count,e.maximumInstallmentsCount=t.maximum_installments_count,e.insuranceEnabled=t.insurance_enabled,e.insurancePremiumRate=t.insurance_premium_rate,e.maximumInsurancePremiumAmount=t.maximum_insurance_premium_amount,e.iofFixedRate=t.iof_fixed_rate,e.iofReducedRate=t.iof_reduced_rate,e.iofLimitReducedRate=t.iof_limit_reduced_rate,e.iofDailyRate=t.iof_daily_rate,e.dailyDelayRestriction=t.daily_delay_restriction,e.maximumInstallmentAmountPercentage=t.maximum_installment_amount_percentage,e.overdueInterest=t.overdue_interest,e.overdueFine=t.overdue_fine,e.createdBy=t.created_by,e.modifiedBy=t.modified_by}(Ni=e.PRODUCT_TYPE||(e.PRODUCT_TYPE={})).PAYROLL_LOAN="PAYROLL_LOAN",Ni.PERSONAL_LOAN="PERSONAL_LOAN",Ni.PAYCHECK_ADVANCE="PAYCHECK_ADVANCE",(Ii=e.PRODUCT_TYPE_TRANSLATE||(e.PRODUCT_TYPE_TRANSLATE={})).PAYROLL_LOAN="Empréstimo consignado",Ii.PERSONAL_LOAN="Empréstimo pessoal",Ii.PAYCHECK_ADVANCE="Adiantamento",(Si=e.PRODUCT_OPERATION_TYPE||(e.PRODUCT_OPERATION_TYPE={})).NEW_LOAN="NEW_LOAN",Si.REFINANCE="REFINANCE",Si.DEBT_TRANSFER="DEBT_TRANSFER",Si.REFINANCE_AND_DEBT_TRANSFER="REFINANCE_AND_DEBT_TRANSFER",Si.PORTABILITY="PORTABILITY",(yi=e.PRODUCT_OPERATION_TYPE_TRANSLATE||(e.PRODUCT_OPERATION_TYPE_TRANSLATE={})).NEW_LOAN="Empréstimo",yi.REFINANCE="Refinanciamento",yi.DEBT_TRANSFER="Troca de dívida",yi.REFINANCE_AND_DEBT_TRANSFER="Refi. e Troca de dívida",yi.PORTABILITY="Portabilidade";var Di=function(e){void 0===e&&(e={}),gi(this,"string"==typeof e?{id:e}:e)};function bi(e){return void 0===e&&(e={}),e?new Di(e):void 0}function gi(e,t){var i=function(e){var t=e,i=e;return{id:t.id||i.id,productType:t.product_type||i.productType,operationType:t.operation_type||i.operationType,name:t.name||i.name,description:t.description||i.description,isEnabled:t.is_enabled||i.isEnabled,createdBy:t.created_by||i.createdBy,modifiedBy:t.modified_by||i.modifiedBy,productSettings:t.product_settings?new Pi(t.product_settings):new Pi(i.productSettings)}}(t);e.id=i.id,e.name=i.name,e.description=i.description,e.productType=i.productType,e.operationType=i.operationType,e.isEnabled=i.isEnabled,e.createdBy=r(a(i.createdBy),0),e.modifiedBy=r(a(i.modifiedBy),0),e.productSettings=i.productSettings}var Oi=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.id=t.id,e.name=t.name,e.startDate=t.startDate,e.endDate=t.endDate,e.createdBy=t.createdBy,e.modifiedBy=t.modifiedBy,e.creditPolicyRelations=t.creditPolicyRelations,e.eligibilityPolicies=t.eligibilityPolicies,e.pricePolicies=t.pricePolicies}(this,t):Ci(this,"string"==typeof t?{id:t}:t)};function Ci(e,t){var i,n,o,d,u,c,l;e.id=t.id,e.name=t.name,e.startDate=r(a(t.start_date),0),e.endDate=r(a(t.end_date),0),e.createdBy=t.created_by,e.modifiedBy=t.modified_by,(null===(n=null===(i=t)||void 0===i?void 0:i.credit_policy_relations)||void 0===n?void 0:n.length)>0&&(e.creditPolicyRelations=null===(o=t)||void 0===o?void 0:o.credit_policy_relations.map((function(e){return e.employer&&(e.employer=q(e.employer)),e.product&&(e.product=bi(e.product)),e})),(null===(u=null===(d=t)||void 0===d?void 0:d.eligibility_policies)||void 0===u?void 0:u.length)>0&&(e.eligibilityPolicies=t.eligibility_policies.map((function(e){return Ai(e)}))),(null===(l=null===(c=t)||void 0===c?void 0:c.price_policies)||void 0===l?void 0:l.length)>0&&(e.pricePolicies=t.price_policies.map((function(e){return Ri(e)}))))}var hi=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.loanBalance=t.loanBalance,e.amount=t.amount,e.dueDate=t.dueDate,e.balanceAfterPrepayment=t.balanceAfterPrepayment,e.savedAmount=t.savedAmount,e.newInstallments=t.newInstallments}(this,t):function(e,t){e.loanBalance=t.loan_balance,e.amount=t.amount,e.dueDate=r(a(t.due_date),0),e.balanceAfterPrepayment=t.balance_after_prepayment,e.savedAmount=t.saved_amount,e.newInstallments=t.new_installments}(this,t)};var Li=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.numberOfInstallments=t.numberOfInstallments,e.amount=t.amount}(this,t):function(e,t){e.numberOfInstallments=t.number_of_installments,e.amount=t.amount}(this,t)};var Ui=function e(t){void 0===t&&(t={}),t instanceof e?function(e,t){e.employee=Le(t.employee),e.contentType=t.contentType,e.objectId=t.objectId,e.invoice=mt(t.invoice),e.interestDelayed=t.interestDelayed,e.interestDefault=t.interestDefault,e.fine=t.fine,e.bankingChargeUrl=t.bankingChargeUrl,e.isDismissal=t.isDismissal}(this,t):function(e,t){e.employee=Le(t.employee),e.contentType=t.content_type,e.objectId=t.object_id,e.invoice=mt(t.invoice),e.interestDelayed=t.interest_delayed,e.interestDefault=t.interest_default,e.fine=t.fine,e.bankingChargeUrl=t.banking_charge_url,e.isDismissal=t.is_dismissal}(this,t)};e.AbstractLoan=Xt,e.Address=c,e.BANK_ACCOUNT_TYPES_MAP=v,e.Bank=_,e.BankAccount=R,e.BankingCharge=O,e.Campaign=Lt,e.CampaignRedeem=Ut,e.CorporateGroup=G,e.CreditEngineProposal=Ft,e.DebtTransferInvoice=dt,e.DjangoUserFile=Z,e.EMPLOYEE_PROPOSAL_STATUS_BY_STEP=ot,e.EMPLOYEE_SERVICE_STATUS_BY_STEP=ni,e.EligibilityPolicy=fi,e.Employee=Ue,e.EmployeeDataFileHistory=L,e.EmployeeInvoice=ft,e.EmployeesDataFileHistory=Fe,e.Employer=K,e.EmployerCreditPolicy=B,e.EmployerInvoice=At,e.EmployerInvoiceItem=Et,e.EmployerSettings=Y,e.Fee=Mt,e.GIVEUPABLE_DAYS_AFTER_PURCHASE=8,e.HR_PROPOSAL_STATUS_BY_STEP=nt,e.HR_SERVICE_STATUS_BY_STEP=ii,e.ILF_STATUS_COLORS={FINANCIALLY_HEALTHY:"#408F4D",FINANCIALLY_COPING:"#F1B254",FINANCIALLY_VULNERABLE:"#B23634"},e.ILF_STATUS_IMAGES={FINANCIALLY_HEALTHY:"https://leve-assets.s3-sa-east-1.amazonaws.com/images/ilf_saudavel.svg",FINANCIALLY_COPING:"https://leve-assets.s3-sa-east-1.amazonaws.com/images/ilf_sobrevivente.svg",FINANCIALLY_VULNERABLE:"https://leve-assets.s3-sa-east-1.amazonaws.com/images/ilf_vulneravel.svg"},e.ILF_STATUS_NAMES={FINANCIALLY_HEALTHY:"Saudável",FINANCIALLY_COPING:"Sobrevivente",FINANCIALLY_VULNERABLE:"Vulnerável"},e.INVOICE_PAYABLE_STATUSES=lt,e.Installment=Ht,e.Invoice=st,e.InvoiceTransaction=pt,e.JobsQueue=qt,e.LenderPortfolio=Me,e.Loan=ai,e.LoanRenegotiation=di,e.PROPOSAL_APPROVABLE_STATUSES=ze,e.PROPOSAL_CANCELABLE_STATUSES=Xe,e.PROPOSAL_DENIABLE_STATUSES=We,e.PROPOSAL_FINANCIAL_CONSULTANT_APPROVAL_STATUSES=tt,e.PROPOSAL_INVOICE_ATTACHABLE_STATUSES=Qe,e.PROPOSAL_INVOICE_DOWNLOADABLE_STATUSES=Ze,e.PROPOSAL_LENDER_SIGNABLE_STATUSES=et,e.PROPOSAL_SIGNABLE_STATUSES=$e,e.PaycheckAdvance=li,e.PaycheckAdvanceBonus=Rt,e.PaycheckAdvanceConfig=ci,e.PayrollBalance=mi,e.PayrollPayment=_i,e.PrepaymentConditions=hi,e.PrepaymentInstallments=Li,e.PrepaymentProposal=Ui,e.PricePolicy=pi,e.Product=Di,e.ProductCreditPolicy=Oi,e.ProductSettings=Pi,e.Proposal=Tt,e.ProposalRegistration=He,e.SERVICE_CCB_DOWNLOADABLE_STATUSES=Qt,e.SERVICE_GIVEUPABLE_STATUSES=$t,e.SERVICE_LIQUIDATEABLE_STATUSES=Zt,e.Simulation=It,e.SimulationParameters=xt,e.TimeStamped=Vt,e.User=ne,e.UserFile=Q,e.UserPermissions=W,e.abbreviatedStates=[{id:"AC",name:"AC"},{id:"AL",name:"AL"},{id:"AM",name:"AM"},{id:"BA",name:"BA"},{id:"CE",name:"CE"},{id:"DF",name:"DF"},{id:"ES",name:"ES"},{id:"GO",name:"GO"},{id:"MA",name:"MA"},{id:"MT",name:"MT"},{id:"MS",name:"MS"},{id:"MG",name:"MG"},{id:"PA",name:"PA"},{id:"PB",name:"PB"},{id:"PR",name:"PR"},{id:"PE",name:"PE"},{id:"PI",name:"PI"},{id:"RJ",name:"RJ"},{id:"RN",name:"RN"},{id:"RS",name:"RS"},{id:"RO",name:"RO"},{id:"RR",name:"RR"},{id:"SC",name:"SC"},{id:"SP",name:"SP"},{id:"SE",name:"SE"},{id:"TO",name:"TO"}],e.applyTimezone=r,e.calcDaysOfLife=d,e.floatToFourDecimals=function(e){if(e){var t=e.match(/[0-9]/g),i=t.pop(),n=t.pop()||0,a=t.pop()||0,o=t.pop()||0;return(t.join("")||0)+"."+o+a+n+i}return"0"},e.floatToStringCurrencyInputValue=function(e){if(e){var t=e.match(/[0-9]/g),i=t.pop(),n=t.pop()||0;return(t.join("")||0)+"."+n+i}return"0"},e.getDateOnly=u,e.isNumeric=y,e.isSameDayInTimezone=o,e.isServiceGiveupable=ei,e.isTodayInBrazil=function(e){return o(new Date,e,-180)},e.numberToPercentWithFixedFractionDigits=P,e.parseAbstractLoan=function(e){return e?new Xt(e):void 0},e.parseAddress=l,e.parseBank=f,e.parseBankAccount=N,e.parseBankingCharge=C,e.parseCampaign=function(e){return e?new Lt(e):void 0},e.parseCampaignRedeem=function(e){return e?new Ut(e):void 0},e.parseCorporateGroup=F,e.parseCreditEngineProposal=function(e){return e?new Ft(e):void 0},e.parseDate=a,e.parseDebtTransferInvoice=ut,e.parseDjangoProductSettings=function(e){return e?Ti(this,e):void 0},e.parseEligibilityPolicy=Ai,e.parseEmployee=Le,e.parseEmployeeInvoice=function(e){return e?new ft(e):void 0},e.parseEmployer=q,e.parseEmployerCreditPolicy=k,e.parseEmployerInvoice=function(e){return e?new At(e):void 0},e.parseEmployerSettings=j,e.parseFee=function(e){return e?new Mt(e):void 0},e.parseFixedFractionDigits=T,e.parseInstallment=function(e){return e?new Ht(e):void 0},e.parseInvoice=mt,e.parseInvoiceTransaction=function(e){if(e)return new pt(e)},e.parseJobsQueue=function(e){return e?new qt(e):void 0},e.parseLenderPortfolio=we,e.parseLoan=oi,e.parseLoanRenegotiation=function(e){return e?new di(e):void 0},e.parseNumeric=S,e.parsePaycheckAdvance=function(e){return e?new li(e):void 0},e.parsePaycheckAdvanceBonus=Nt,e.parsePaycheckAdvanceConfig=function(e){return e?new ci(e):void 0},e.parsePricePolicy=Ri,e.parseProduct=bi,e.parseProductSettings=function(e){return e?this.bindProductSettingsData(e):void 0},e.parseProposal=Dt,e.parseProposalRegistration=Ke,e.parseSimulation=St,e.parseSimulationParameters=function(e){return e?new xt(e):void 0},e.parseTimeStamped=function(e){return e?new Vt(e):void 0},e.parseUser=ae,e.parseUserFile=ee,e.parseUserPermissions=function(e){return e?new W(e):void 0},e.states=[{id:"Acre",name:"Acre"},{id:"Alagoas",name:"Alagoas"},{id:"Amapá",name:"Amapá"},{id:"Bahia",name:"Bahia"},{id:"Ceará",name:"Ceará"},{id:"Distrito Federal",name:"Distrito federal"},{id:"Espírito Santo",name:"Espírito Santo"},{id:"Goiás",name:"Goiás"},{id:"Maranhão",name:"Maranhão"},{id:"Mato Grosso",name:"Mato Grosso"},{id:"Mato Grosso do Sul",name:"Mato Grosso do Sul"},{id:"Minas Gerais",name:"Minas Gerais"},{id:"Pará",name:"Pará"},{id:"Paraíba",name:"Paraíba"},{id:"Paraná",name:"Paraná"},{id:"Pernambuco",name:"Pernambuco"},{id:"Piauí",name:"Piauí"},{id:"Rio de Janeiro",name:"Rio de Janeiro"},{id:"Rio Grande do Norte",name:"Rio Grande do Norte"},{id:"Rio Grande do Sul",name:"Rio Grande do Sul"},{id:"Rondônia",name:"Rondônia"},{id:"Roraima",name:"Roraima"},{id:"Santa Catarina",name:"Santa Catarina"},{id:"São Paulo",name:"São Paulo"},{id:"Sergipe",name:"Sergipe"},{id:"Tocantins",name:"Tocantins"}],e.ɵ0=p,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=levecap-models.umd.min.js.map