import{a as yt}from"./axios-9b9683dd.js";import{j as wt,J as D}from"./jsonrpc-lite-4c3523b4.js";import{C as N}from"./chance-323bc417.js";import{a as ea,c as na,b as ta,d as aa,e as ia,f as ra,g as _a,h as sa,i as oa,j as Ea,k as Oa,l as ca,m as Aa,n as Na,o as Ta,p as Ia,r as Ra,q as la,s as da,t as Da,u as ua,v as La,w as Sa,x as Ua,y as ga,z as ma,A as Ca,F as i,B as Pa,T as Fa,C as R}from"./sdk-shared-e4db1c58.js";class fa extends Error{constructor(n,T){const{tags:E,details:s,params:I=[]}=T??{},_=Array.isArray(I)?I:[I];let A=$t[n].message;_.length&&_.forEach((o,Y)=>A=A.replace(new RegExp(`\\{${Y}\\}`),o)),A=A.replace(new RegExp("{[0-9]}"),""),super(A),this.code=n,E!=null&&E.length&&(this.tags=E.filter(o=>!!o)),s&&(this.details=s)}}var L;(function(e){e.ATTOM_UNAUTHORIZED="ATTOM_UNAUTHORIZED",e.ATTOM_BAD_REQUEST="ATTOM_BAD_REQUEST",e.ATTOM_INTERNAL_SERVER_ERROR="ATTOM_INTERNAL_SERVER_ERROR",e.ATTOM_SUCCESS_WITHOUT_RESULT="ATTOM_SUCCESS_WITHOUT_RESULT",e.ATTOM_UNEXPECTED_ERROR="ATTOM_UNEXPECTED_ERROR",e.ATTOM_GEOCODER_NO_RESULT="ATTOM_GEOCODER_NO_RESULT",e.ATTOM_GEOCODER_ZIPCODE_REQUIRED="ATTOM_GEOCODER_ZIPCODE_REQUIRED",e.ATTOM_GEOCODER_ADDRESS_NOT_IDENTIFIED="ATTOM_GEOCODER_ADDRESS_NOT_IDENTIFIED"})(L||(L={}));var S;(function(e){e.OCROLUS_UNAUTHORIZED="OCROLUS_UNAUTHORIZED",e.OCROLUS_NULL_RESPONSE="OCROLUS_NULL_RESPONSE",e.OCROLUS_INTERNAL_SERVER_ERROR="OCROLUS_INTERNAL_SERVER_ERROR",e.OCROLUS_BOOK_NOT_FOUND="OCROLUS_BOOK_NOT_FOUND",e.OCROLUS_UNEXPECTED_ERROR="OCROLUS_UNEXPECTED_ERROR",e.OCROLUS_TXN_IN_PROGRESS="OCROLUS_TXN_IN_PROGRESS",e.OCROLUS_BOOK_ALREADY_EXISTS="OCROLUS_BOOK_ALREADY_EXISTS",e.OCROLUS_BOOK_PK_NOT_FOUND="OCROLUS_BOOK_PK_NOT_FOUND"})(S||(S={}));var U;(function(e){e.UPSWOT_UNAUTHORIZED="UPSWOT_UNAUTHORIZED",e.UPSWOT_NULL_RESPONSE="UPSWOT_NULL_RESPONSE",e.UPSWOT_BAD_REQUEST="UPSWOT_BAD_REQUEST",e.UPSWOT_ALREADY_EXISTS_ERROR="UPSWOT_ALREADY_EXISTS_ERROR",e.UPSWOT_NOT_FOUND_ERROR="UPSWOT_NOT_FOUND_ERROR",e.UPSWOT_UNEXPECTED_ERROR="UPSWOT_UNEXPECTED_ERROR",e.UNABLE_TO_REGISTER_UPSWOT_ENTITY="UNABLE_TO_REGISTER_UPSWOT_ENTITY"})(U||(U={}));var g;(function(e){e.ENCOMPASS_UNAUTHORIZED="ENCOMPASS_UNAUTHORIZED",e.ENCOMPASS_NULL_RESPONSE="ENCOMPASS_NULL_RESPONSE",e.ENCOMPASS_BAD_REQUEST="ENCOMPASS_BAD_REQUEST",e.ENCOMPASS_NOT_FOUND_ERROR="ENCOMPASS_NOT_FOUND_ERROR",e.ENCOMPASS_ALREADY_EXISTS_ERROR="ENCOMPASS_ALREADY_EXISTS_ERROR",e.ENCOMPASS_UNEXPECTED_ERROR="ENCOMPASS_UNEXPECTED_ERROR"})(g||(g={}));var m;(function(e){e.CRS_UNEXPECTED_ERROR="CRS_UNEXPECTED_ERROR",e.CRS_UNAUTHORIZED="CRS_UNAUTHORIZED"})(m||(m={}));var C;(function(e){e.BRIDGEFT_UNEXPECTED_ERROR="BRIDGEFT_UNEXPECTED_ERROR",e.BRIDGEFT_UNAUTHORIZED="BRIDGEFT_UNAUTHORIZED",e.BRIDGEFT_NULL_RESPONSE="BRIDGEFT_NULL_RESPONSE",e.BRIDGEFT_BAD_REQUEST="BRIDGEFT_BAD_REQUEST",e.BRIDGEFT_NOT_FOUND_ERROR="BRIDGEFT_NOT_FOUND_ERROR"})(C||(C={}));var P;(function(e){e.SUPERNOVA_BAD_REQUEST="SUPERNOVA_BAD_REQUEST",e.SUPERNOVA_UNAUTHORIZED="SUPERNOVA_UNAUTHORIZED",e.SUPERNOVA_FORBIDDEN="SUPERNOVA_FORBIDDEN",e.SUPERNOVA_NOT_FOUND="SUPERNOVA_NOT_FOUND",e.SUPERNOVA_INTERNAL_SERVER_ERROR="SUPERNOVA_INTERNAL_SERVER_ERROR",e.SUPERNOVA_UNEXPECTED_ERROR="SUPERNOVA_UNEXPECTED_ERROR"})(P||(P={}));var F;(function(e){e.ZILLOW_AUTH_FAILED="ZILLOW_AUTH_FAILED",e.ZILLOW_AUTH_TOKEN_INVALID="ZILLOW_AUTH_TOKEN_INVALID",e.ZILLOW_AUTH_TOKEN_EXPIRED="ZILLOW_AUTH_TOKEN_EXPIRED",e.ZILLOW_INTERNAL_SERVER_ERROR="ZILLOW_INTERNAL_SERVER_ERROR",e.ZILLOW_MISSING_REQUIRED_PARAMS="ZILLOW_MISSING_REQUIRED_PARAMS",e.ZILLOW_INVALID_SUBSCRIPTION="ZILLOW_INVALID_SUBSCRIPTION",e.ZILLOW_METHOD_NOT_ALLOWED="ZILLOW_METHOD_NOT_ALLOWED",e.ZILLOW_REQUEST_TIMEOUT="ZILLOW_REQUEST_TIMEOUT",e.ZILLOW_EMPTY_RESPONSE="ZILLOW_EMPTY_RESPONSE",e.ZILLOW_BAD_GATEWAY="ZILLOW_BAD_GATEWAY",e.ZILLOW_BAD_REQUEST="ZILLOW_BAD_REQUEST",e.ZILLOW_SERVICE_UNAVAILABLE="ZILLOW_SERVICE_UNAVAILABLE",e.ZILLOW_GATEWAY_TIMEOUT="ZILLOW_GATEWAY_TIMEOUT",e.ZILLOW_UNEXPECTED_ERROR="ZILLOW_UNEXPECTED_ERROR",e.ZIllOW_AUTH_USER_NOT_FOUND="ZIllOW_AUTH_USER_NOT_FOUND",e.ZILLOW_XML_PARSING_ERROR="ZILLOW_XML_PARSING_ERROR"})(F||(F={}));var f;(function(e){e.INVALID_PAYLOAD_SIGNATURE="INVALID_PAYLOAD_SIGNATURE",e.INVALID_PAYLOAD="INVALID_PAYLOAD",e.DATA_NOT_PRESENT="DATA_NOT_PRESENT",e.VALIDATION_NOT_IMPLEMENTED="VALIDATION_NOT_IMPLEMENTED",e.SKIP_PROCESSING="SKIP_PROCESSING"})(f||(f={}));var v;(function(e){e.SAMUEL_UNAUTHORIZED="SAMUEL_UNAUTHORIZED",e.SAMUEL_NO_DATA_RECEIVED="SAMUEL_NO_DATA_RECEIVED",e.SAMUEL_UNEXPECTED_ERROR="SAMUEL_UNEXPECTED_ERROR"})(v||(v={}));var p;(function(e){e.EGNYTE_PARSING_ERROR="EGNYTE_PARSING_ERROR",e.EGNYTE_USER_NOT_FOUND="EGNYTE_USER_NOT_FOUND",e.EGNYTE_DEVELOPER_OVER_QPS="EGNYTE_DEVELOPER_OVER_QPS",e.EGNYTE_DEVELOPER_OVER_RATE="EGNYTE_DEVELOPER_OVER_RATE",e.EGNYTE_UNEXPECTED_ERROR="EGNYTE_UNEXPECTED_ERROR",e.EGNYTE_AUTHENTICATION_FAILURE="EGNYTE_AUTHENTICATION_FAILURE",e.EGNYTE_USER_NOT_AUTHORIZED="EGNYTE_USER_NOT_AUTHORIZED",e.EGNYTE_RESOURCE_NOT_FOUND="EGNYTE_RESOURCE_NOT_FOUND",e.EGNYTE_FORBIDDEN_UPLOAD_LOCATION="EGNYTE_FORBIDDEN_UPLOAD_LOCATION"})(p||(p={}));var M;(function(e){e.OPENAI_API_CONNECTION_ERROR="OPENAI_API_CONNECTION_ERROR",e.OPENAI_API_CONNECTION_TIMEOUT_ERROR="OPENAI_API_CONNECTION_TIMEOUT_ERROR",e.OPENAI_API_ERROR="OPENAI_API_ERROR",e.OPENAI_API_USER_ABORT_ERROR="OPENAI_API_USER_ABORT_ERROR",e.OPENAI_AUTHENTICATION_ERROR="OPENAI_AUTHENTICATION_ERROR",e.OPENAI_CONFLICT="OPENAI_CONFLICT",e.OPENAI_ERROR="OPENAI_ERROR",e.OPENAI_NO_RESPONSE_CONTENT="OPENAI_NO_RESPONSE_CONTENT",e.OPENAI_UNEXPECTED_ERROR="OPENAI_UNEXPECTED_ERROR"})(M||(M={}));var B;(function(e){e.UNEXPECTED_SERVER_ERROR="UNEXPECTED_SERVER_ERROR",e.URI_NOT_FOUND="URI_NOT_FOUND",e.KAFKA_MESSAGE_NOT_FOUND="KAFKA_MESSAGE_NOT_FOUND",e.SERVER_VERSION_MISMATCH="SERVER_VERSION_MISMATCH",e.NOT_LOGGED_IN="NOT_LOGGED_IN",e.LICENSE_EXPIRED="LICENSE_EXPIRED",e.RENEW_LICENSE="RENEW_LICENSE",e.LICENSE_NOT_FOUND="LICENSE_NOT_FOUND",e.ACCESS_GRANT_EXPIRED="ACCESS_GRANT_EXPIRED",e.SESSION_EXPIRED="SESSION_EXPIRED",e.INVALID_ACCESS_TOKEN="INVALID_ACCESS_TOKEN",e.ACCESS_TOKEN_NOT_GENERATED="ACCESS_TOKEN_NOT_GENERATED",e.INVALID_JWT_TOKEN="INVALID_JWT_TOKEN",e.EXPIRED_JWT_TOKEN="EXPIRED_JWT_TOKEN",e.INACTIVE_JWT_TOKEN="INACTIVE_JWT_TOKEN",e.INVALID_CONTEXT="INVALID_CONTEXT",e.CANNOT_GENERATE_API_KEY="CANNOT_GENERATE_API_KEY",e.INVALID_API_KEY="INVALID_API_KEY",e.INVALID_PAIRING_KEY="INVALID_PAIRING_KEY",e.INVALID_OTP="INVALID_OTP",e.UNAUTHORIZED="UNAUTHORIZED",e.INVALID_APPLICATION_STATUS_UPDATE="INVALID_APPLICATION_STATUS_UPDATE",e.IDP_AUTHENTICATION_FAILURE="IDP_AUTHENTICATION_FAILURE",e.IDP_UNHANDLED_ERROR="IDP_UNHANDLED_ERROR",e.MISSING_SDK_AUTHENTICATION="MISSING_SDK_AUTHENTICATION",e.MISSING_IDP_CONFIGURATION="MISSING_IDP_CONFIGURATION",e.INVALID_IDP_SELECTION="INVALID_IDP_SELECTION",e.INVALID_IMPORT_TYPE="INVALID_IMPORT_TYPE",e.THEME_NOT_FOUND="THEME_NOT_FOUND",e.THEME_NAME_ALREADY_USED="THEME_NAME_ALREADY_USED",e.INTERSDK_CALL_FAILED="INTERSDK_CALL_FAILED",e.JSON_RPC_INVALID_FORMAT="JSON_RPC_INVALID_FORMAT",e.JSON_RPC_INVALID_VERSION="JSON_RPC_INVALID_VERSION",e.JSON_RPC_METHOD_NOT_FOUND="JSON_RPC_METHOD_NOT_FOUND",e.JSON_RPC_INVALID_PARAMS="JSON_RPC_INVALID_PARAMS",e.ACCOUNT_NOT_FOUND="ACCOUNT_NOT_FOUND",e.ACCOUNT_ALREADY_EXIST="ACCOUNT_ALREADY_EXIST",e.ACCOUNT_NOT_ACTIVE="ACCOUNT_NOT_ACTIVE",e.ACCOUNT_ALREADY_LIVE="ACCOUNT_ALREADY_LIVE",e.ACCOUNT_NOT_MARKED_FOR_DELETION="ACCOUNT_NOT_MARKED_FOR_DELETION",e.ACCOUNT_MARKED_FOR_DELETION="ACCOUNT_MARKED_FOR_DELETION",e.UNABLE_TO_ACTIVATE_ACCOUNT="UNABLE_TO_ACTIVATE_ACCOUNT",e.SSO_NOT_CONFIGURED="SSO_NOT_CONFIGURED",e.INVALID_CERT_CONFIGURED="INVALID_CERT_CONFIGURED",e.SSO_SAML2_SERVICE_PROVIDER_INVALID_METADATA="SSO_SAML2_SERVICE_PROVIDER_INVALID_METADATA",e.ADVISOR_CODE_NOT_CONFIGURED="ADVISOR_CODE_NOT_CONFIGURED",e.FIRM_ID_NOT_CONFIGURED="FIRM_ID_NOT_CONFIGURED",e.SUBACCOUNT_NOT_FOUND="SUBACCOUNT_NOT_FOUND",e.SUBACCOUNT_ALREADY_EXIST="SUBACCOUNT_ALREADY_EXIST",e.UNABLE_TO_PROMOTE_PROSPECT="UNABLE_TO_PROMOTE_PROSPECT",e.USER_NOT_FOUND="USER_NOT_FOUND",e.USER_NOT_ACTIVE="USER_NOT_ACTIVE",e.USER_LOCKED="USER_LOCKED",e.DUPLICATE_USER_EMAILS="DUPLICATE_USER_EMAILS",e.CANNOT_DELETE_ACTIVE_USER="CANNOT_DELETE_ACTIVE_USER",e.CANNOT_DEACTIVATE_USER_IF_NO_BUSINESS_OWNER="CANNOT_DEACTIVATE_USER_IF_NO_BUSINESS_OWNER",e.ONLY_ONE_TENANT_ADMIN_AVAILABLE="ONLY_ONE_TENANT_ADMIN_AVAILABLE",e.CUSTODIAN_DOES_NOT_EXIST="CUSTODIAN_DOES_NOT_EXIST",e.INVALID_ROI_REQUEST_FOR_CUSTODIAN="INVALID_ROI_REQUEST_FOR_CUSTODIAN",e.CUSTODIAN_DETAILS_ALREADY_EXIST="CUSTODIAN_DETAILS_ALREADY_EXIST",e.USER_WITH_SAME_EMAIL_ALREADY_EXIST="USER_WITH_SAME_EMAIL_ALREADY_EXIST",e.USER_WITH_SAME_EMAIL_ALREADY_REGISTERED="USER_WITH_SAME_EMAIL_ALREADY_REGISTERED",e.USER_WITH_SAME_EMAIL="USER_WITH_SAME_EMAIL",e.CANNOT_CHANGE_USER_EMAIL="CANNOT_CHANGE_USER_EMAIL",e.CANNOT_CHANGE_SELF_EMAIL="CANNOT_CHANGE_SELF_EMAIL",e.NOT_A_SSO_USER="NOT_A_SSO_USER",e.SIGNATURE_WITH_SAME_NAME="SIGNATURE_WITH_SAME_NAME",e.SIGNATURE_NOT_FOUND="SIGNATURE_NOT_FOUND",e.PASSWORD_SEQUENTIAL_CHARACTERS="PASSWORD_SEQUENTIAL_CHARACTERS",e.PASSWORD_REPEATED_CHARACTERS="PASSWORD_REPEATED_CHARACTERS",e.PASSWORD_CANNOT_CONTAIN_NAME="PASSWORD_CANNOT_CONTAIN_NAME",e.PASSWORD_COMPROMISED="PASSWORD_COMPROMISED",e.TEAM_ALREADY_EXIST="TEAM_ALREADY_EXIST",e.TEAM_NOT_FOUND="TEAM_NOT_FOUND",e.CONTACT_ALREADY_EXIST="CONTACT_ALREADY_EXIST",e.CONTACT_NOT_FOUND="CONTACT_NOT_FOUND",e.INVALID_INVOICE_STATUS_UPDATE="INVALID_INVOICE_STATUS_UPDATE",e.USER_REF_NOT_FOUND="USER_REF_NOT_FOUND",e.UNAUTHENTICATE_USER_REF_NOT_FOUND="UNAUTHENTICATE_USER_REF_NOT_FOUND",e.USER_REF_ALREADY_EXIST="USER_REF_ALREADY_EXIST",e.MULTIPLE_USER_REF_EXISTS="MULTIPLE_USER_REF_EXISTS",e.USER_REF_NOT_FOUND_FOR_USER="USER_REF_NOT_FOUND_FOR_USER",e.PRIMARY_ENTITY_MUST_BE_INDIVIDUAL_ENTITY="PRIMARY_ENTITY_MUST_BE_INDIVIDUAL_ENTITY",e.PRIMARY_ENTITY_MUST_HAVE_EMAIL="PRIMARY_ENTITY_MUST_HAVE_EMAIL",e.USER_INVITATION_ALREADY_EXIST="USER_INVITATION_ALREADY_EXIST",e.USER_INVITATION_ALREADY_ACCEPTED="USER_INVITATION_ALREADY_ACCEPTED",e.USER_INVITATION_REVOKED="USER_INVITATION_REVOKED",e.USER_INVITATION_EXPIRED="USER_INVITATION_EXPIRED",e.USER_INVITATION_NOT_FOUND="USER_INVITATION_NOT_FOUND",e.CANNOT_REVOKE_INVITATION_IF_NO_BUSINESS_OWNER="CANNOT_REVOKE_INVITATION_IF_NO_BUSINESS_OWNER",e.VERIFICATION_TOKEN_ALREADY_VERIFIED="VERIFICATION_TOKEN_ALREADY_VERIFIED",e.VERIFICATION_TOKEN_NOT_FOUND="VERIFICATION_TOKEN_NOT_FOUND",e.VERIFICATION_TOKEN_INVALID="VERIFICATION_TOKEN_INVALID",e.VERIFICATION_CODE_INCORRECT="VERIFICATION_CODE_INCORRECT",e.VERIFICATION_CODE_EXPIRED="VERIFICATION_CODE_EXPIRED",e.VERIFICATION_RETRY_LIMIT_EXCEEDED="VERIFICATION_RETRY_LIMIT_EXCEEDED",e.CLUSTER_NOT_FOUND="CLUSTER_NOT_FOUND",e.TENANT_NOT_FOUND="TENANT_NOT_FOUND",e.TENANT_ID_NOT_FOUND="TENANT_ID_NOT_FOUND",e.CLUSTER_NO_CONNECTED_TENANT_FOUND="CLUSTER_NO_CONNECTED_TENANT_FOUND",e.TENANT_ID_WHITESPACES_NOT_ALLOWED="TENANT_ID_WHITESPACES_NOT_ALLOWED",e.PAIRING_CONNECTION_NOT_FOUND="PAIRING_CONNECTION_NOT_FOUND",e.ACCOUNT_NOT_FOUND_FOR_CONNECTION="ACCOUNT_NOT_FOUND_FOR_CONNECTION",e.AGGREGATOR_NOT_LIVE="AGGREGATOR_NOT_LIVE",e.MULTIPLE_AGGREGATORS="MULTIPLE_AGGREGATORS",e.MULTIPLE_MARKETPLACE="MULTIPLE_MARKETPLACE",e.PASSWORD_NOT_SET="PASSWORD_NOT_SET",e.PASSWORD_LOWERCASE_LETTER_MANDATORY="PASSWORD_LOWERCASE_LETTER_MANDATORY",e.PASSWORD_UPPERCASE_LETTER_MANDATORY="PASSWORD_UPPERCASE_LETTER_MANDATORY",e.PASSWORD_NUMBER_MANDATORY="PASSWORD_NUMBER_MANDATORY",e.PASSWORD_SPECIAL_CHARACTER_MANDATORY="PASSWORD_SPECIAL_CHARACTER_MANDATORY",e.PASSWORD_CANNOT_BE_SAME_AS_PREVIOUS="PASSWORD_CANNOT_BE_SAME_AS_PREVIOUS",e.MINIMUM_PASSWORD_LENGTH="MINIMUM_PASSWORD_LENGTH",e.INCORRECT_EMAIL_OR_PASSWORD="INCORRECT_EMAIL_OR_PASSWORD",e.INCORRECT_PASSWORD="INCORRECT_PASSWORD",e.ENTITY_MISSING_EMAIL="ENTITY_MISSING_EMAIL",e.LENDER_NOT_CONFIGURED="LENDER_NOT_CONFIGURED",e.EXTERNAL_LENDER_CANNOT_BE_UPDATED="EXTERNAL_LENDER_CANNOT_BE_UPDATED",e.LOS_API_KEY_NOT_CONFIGURED="LOS_API_KEY_NOT_CONFIGURED",e.LOS_FOLDER_NOT_CONFIGURED="LOS_FOLDER_NOT_CONFIGURED",e.CUSTOM_FIELD_ALREADY_EXIST="CUSTOM_FIELD_ALREADY_EXIST",e.CUSTOM_FIELD_NOT_FOUND="CUSTOM_FIELD_NOT_FOUND",e.CUSTOM_FIELD_TYPE_MISMATCH="CUSTOM_FIELD_TYPE_MISMATCH",e.DISCLOSURE_NOT_FOUND="DISCLOSURE_NOT_FOUND",e.DISCLOSURE_ALREADY_EXIST="DISCLOSURE_ALREADY_EXIST",e.DISCLOSURE_MISMATCH="DISCLOSURE_MISMATCH",e.DOCUMENT_NOT_FOUND="DOCUMENT_NOT_FOUND",e.DOCUMENTS_NOT_SYNCED="DOCUMENTS_NOT_SYNCED",e.DOCUMENT_MARKED_FOR_DELETION="DOCUMENT_MARKED_FOR_DELETION",e.SUBPRODUCT_NOT_FOUND="SUBPRODUCT_NOT_FOUND",e.SUBPRODUCT_ALREADY_EXIST="SUBPRODUCT_ALREADY_EXIST",e.INVALID_SUBPRODUCT_ASSOCIATION="INVALID_SUBPRODUCT_ASSOCIATION",e.RATECARD_NOT_FOUND="RATECARD_NOT_FOUND",e.DUPLICATE_RATE_CARD_ID="DUPLICATE_RATE_CARD_ID",e.CREDIT_REPORT_NOT_FOUND="CREDIT_REPORT_NOT_FOUND",e.LENDER_UNAVAILABLE="LENDER_UNAVAILABLE",e.LENDER_NOT_FOUND="LENDER_NOT_FOUND",e.LENDER_NOT_SYNCED="LENDER_NOT_SYNCED",e.LENDER_PROFILE_NOT_FOUND="LENDER_PROFILE_NOT_FOUND",e.LENDER_REFID_NOT_FOUND="LENDER_REFID_NOT_FOUND",e.LENDER_FEE_SCHEDULE_NOT_FOUND="LENDER_FEE_SCHEDULE_NOT_FOUND",e.UNABLE_TO_MATCH_FEE_SCHEDULE="UNABLE_TO_MATCH_FEE_SCHEDULE",e.ENTITY_ALREADY_EXIST="ENTITY_ALREADY_EXIST",e.ENTITY_NOT_FOUND="ENTITY_NOT_FOUND",e.CANNOT_MODIFY_ENTITY_EMAIL="CANNOT_MODIFY_ENTITY_EMAIL",e.INVALID_ENTITY_ASSOCIATION="INVALID_ENTITY_ASSOCIATION",e.INVALID_ENTITY_TYPE="INVALID_ENTITY_TYPE",e.EMPLOYMENT_DOES_NOT_EXIST="EMPLOYMENT_DOES_NOT_EXIST",e.CANNOT_UPDATE_ENTITY="CANNOT_UPDATE_ENTITY",e.CANNOT_DELETE_ENTITY="CANNOT_DELETE_ENTITY",e.PRIMARY_ENTITY_NOT_FOUND="PRIMARY_ENTITY_NOT_FOUND",e.EXISTINGDEBT_NOT_FOUND="EXISTINGDEBT_NOT_FOUND",e.FUNDDATA_NOT_FOUND="FUNDDATA_NOT_FOUND",e.ALTSFUND_NOT_FOUND="ALTSFUND_NOT_FOUND",e.ENTITY_NOT_FOUND_FOR_360_INVITATION="ENTITY_NOT_FOUND_FOR_360_INVITATION",e.CLIENT_ALREADY_ONBOARDED_FOR_360="CLIENT_ALREADY_ONBOARDED_FOR_360",e.UNABLE_TO_ADD_CLIENT="UNABLE_TO_ADD_CLIENT",e.USER_STATE_NOT_FOUND="USER_STATE_NOT_FOUND",e.TRISTATE_CONTACT_INFO_NOT_FOUND="TRISTATE_CONTACT_INFO_NOT_FOUND",e.CONNECTION_ALREADY_EXIST="CONNECTION_ALREADY_EXIST",e.CONNECTION_REQUEST_NOT_FOUND="CONNECTION_REQUEST_NOT_FOUND",e.APPLICATION_NOT_FOUND_FOR_TASK="APPLICATION_NOT_FOUND_FOR_TASK",e.APPLICATION_NOT_FOUND="APPLICATION_NOT_FOUND",e.APPLICATION_PACKAGE_NOT_FOUND="APPLICATION_PACKAGE_NOT_FOUND",e.APPLICATION_ALREADY_SUBMITTED="APPLICATION_ALREADY_SUBMITTED",e.APPLICATION_ALREADY_SUBMITTED_WITHOUT_OFFER="APPLICATION_ALREADY_SUBMITTED_WITHOUT_OFFER",e.APPLICATION_ALREADY_CREATED="APPLICATION_ALREADY_CREATED",e.DEPOSIT_APPLICATION_NOT_FOUND="DEPOSIT_APPLICATION_NOT_FOUND",e.INVALID_PRODUCT_SUBTYPE="INVALID_PRODUCT_SUBTYPE",e.PRODUCT_SUBTYPE_NOT_FOUND="PRODUCT_SUBTYPE_NOT_FOUND",e.CANNOT_CLAIM_DEAL="CANNOT_CLAIM_DEAL",e.CANNOT_UNCLAIM_DEAL="CANNOT_UNCLAIM_DEAL",e.INVALID_LOAN_WORKFLOW="INVALID_LOAN_WORKFLOW",e.ENTITY_CANNOT_BE_ADDED_TO_APPLICATION="ENTITY_CANNOT_BE_ADDED_TO_APPLICATION",e.CANNOT_SUBMIT_INCOMPLETE_APPLICATION="CANNOT_SUBMIT_INCOMPLETE_APPLICATION",e.CANNOT_REMOVE_PRIMARY_ENTITY_FROM_APPLICATION="CANNOT_REMOVE_PRIMARY_ENTITY_FROM_APPLICATION",e.COLLATERAL_NOT_FOUND="COLLATERAL_NOT_FOUND",e.INVALID_COLLATERAL_ASSOCIATION="INVALID_COLLATERAL_ASSOCIATION",e.DEAL_SUPPORT_NOT_ENABLED="DEAL_SUPPORT_NOT_ENABLED",e.INTERACTION_NOT_FOUND="INTERACTION_NOT_FOUND",e.HELP_REQUEST_ALREADY_REGISTERED="HELP_REQUEST_ALREADY_REGISTERED",e.HELP_REQUEST_NOT_FOUND="HELP_REQUEST_NOT_FOUND",e.CANNOT_MODIFY_COMPLETED_TASK="CANNOT_MODIFY_COMPLETED_TASK",e.TASK_NOT_FOUND="TASK_NOT_FOUND",e.INVALID_RELATES_TO="INVALID_RELATES_TO",e.BOOK_OF_BUSINESS_NOT_FOUND="BOOK_OF_BUSINESS_NOT_FOUND",e.OBLIGATION_NOT_FOUND="OBLIGATION_NOT_FOUND",e.LARGE_DEAL_WORKFLOW_DISABLED="LARGE_DEAL_WORKFLOW_DISABLED",e.OWNER_REQUIRED_FOR_DEAL="OWNER_REQUIRED_FOR_DEAL",e.WORKFLOW_LOAN_AMOUNT_MISMATCH="WORKFLOW_LOAN_AMOUNT_MISMATCH",e.INVALID_WORKFLOW="INVALID_WORKFLOW",e.UNABLE_TO_FETCH_FILE_CONTENTS="UNABLE_TO_FETCH_FILE_CONTENTS",e.NO_DATA_FOUND_IN_FILE="NO_DATA_FOUND_IN_FILE",e.BORROWER_REQUIRED="BORROWER_REQUIRED",e.BORROWER_NOT_FOUND="BORROWER_NOT_FOUND",e.BORROWER_NAME_NOT_FOUND="BORROWER_NAME_NOT_FOUND",e.ACCOUNT_OWNER_REQUIRED="ACCOUNT_OWNER_REQUIRED",e.ADMIN_ACCESS_NOT_FOUND="ADMIN_ACCESS_NOT_FOUND",e.AUDIT_TRAIL_NOT_FOUND="AUDIT_TRAIL_NOT_FOUND",e.OFFER_DATA_NOT_SYNCED="OFFER_DATA_NOT_SYNCED",e.OFFER_NOT_FOUND="OFFER_NOT_FOUND",e.PAIRING_ID_NOT_FOUND="PAIRING_ID_NOT_FOUND",e.CONSENT_NOT_FOUND="CONSENT_NOT_FOUND",e.INVALID_TAX_ID="INVALID_TAX_ID",e.DUPLICATE_TAX_ID="DUPLICATE_TAX_ID",e.REPORT_SUBSCRIPTION_ALREADY_EXIST="REPORT_SUBSCRIPTION_ALREADY_EXIST",e.REPORT_SUBSCRIPTION_NOT_FOUND="REPORT_SUBSCRIPTION_NOT_FOUND",e.REPORT_NOT_FOUND="REPORT_NOT_FOUND",e.REPORT_NOT_GENERATED="REPORT_NOT_GENERATED",e.DMS_MISMATCH="DMS_MISMATCH",e.DMS_NOT_CONFIGURED="DMS_NOT_CONFIGURED",e.INVALID_DMS_SETTINGS="INVALID_DMS_SETTINGS",e.REQUIRED_ERROR="REQUIRED_ERROR",e.VALIDATION_ERROR="VALIDATION_ERROR",e.EXCEL_COLUMNS_VALIDATION_ERROR="EXCEL_COLUMNS_VALIDATION_ERROR",e.INVALID_REFERENCE_TO_COLLECTION="INVALID_REFERENCE_TO_COLLECTION",e.NOTHING_TO_UPDATE="NOTHING_TO_UPDATE",e.ENV_NOT_SET="ENV_NOT_SET",e.INTERNAL_SERVER_ERROR="INTERNAL_SERVER_ERROR",e.IMPLEMENTATION_NOT_FOUND="IMPLEMENTATION_NOT_FOUND",e.NOTIFICATION_NOT_FOUND="NOTIFICATION_NOT_FOUND",e.TEMPLATE_ALREADY_EXISTS="TEMPLATE_ALREADY_EXISTS",e.INVALID_TEMPLTE="INVALID_TEMPLTE",e.INVALID_OWNERSHIP_TYPE="INVALID_OWNERSHIP_TYPE",e.CONFLICTING_PARAMS="CONFLICTING_PARAMS",e.NO_FUND_ADDED="NO_FUND_ADDED",e.ALTS_SERVICE_ACCOUNT_NOT_FOUND="ALTS_SERVICE_ACCOUNT_NOT_FOUND",e.LIQUIDITY_DATA_NOT_FOUND="LIQUIDITY_DATA_NOT_FOUND",e.LIQUIDITY_DATA_NOT_FOUND_ID="LIQUIDITY_DATA_NOT_FOUND_ID",e.CUSTODIAN_DATA_NOT_FOUND="CUSTODIAN_DATA_NOT_FOUND",e.DUPLICATE_SSN_FOUND_FOR_CUSTODY="DUPLICATE_SSN_FOUND_FOR_CUSTODY",e.ASSET_DATA_NOT_FOUND="ASSET_DATA_NOT_FOUND",e.CANNOT_ADD_FUND="CANNOT_ADD_FUND",e.RAW_DATA_NOT_FOUND="RAW_DATA_NOT_FOUND",e.LIQUIDITY_RAW_DATA_NOT_FOUND="LIQUIDITY_RAW_DATA_NOT_FOUND",e.FUND_DOCUMENT_NOT_FOUND="FUND_DOCUMENT_NOT_FOUND",e.FUND_DOCUMENT_OF_INVALID_TYPE="FUND_DOCUMENT_OF_INVALID_TYPE",e.RULE_ALREADY_EXISTS="RULE_ALREADY_EXISTS",e.RULE_DOES_NOT_EXIST="RULE_DOES_NOT_EXIST",e.RULEACTION_ALREADY_EXISTS="RULEACTION_ALREADY_EXISTS",e.RULEACTION_DOES_NOT_EXIST="RULEACTION_DOES_NOT_EXIST",e.INVALID_RULE_SPECIFICATION="INVALID_RULE_SPECIFICATION",e.INVALID_RISK_MODEL_METADATA="INVALID_RISK_MODEL_METADATA",e.INVALID_GLOBAL_DOCS="INVALID_GLOBAL_DOCS",e.INVALID_GLOBAL_DOCS_DATA="INVALID_GLOBAL_DOCS_DATA",e.INVALID_RATE_CARD_DATA="INVALID_RATE_CARD_DATA",e.INVALID_SUB_PRODUCT_DATA="INVALID_SUB_PRODUCT_DATA",e.PROGRAM_NOT_FOUND="PROGRAM_NOT_FOUND",e.PROGRAM_WITH_GIVEN_NAME_ALREADY_EXISTS="PROGRAM_WITH_GIVEN_NAME_ALREADY_EXISTS",e.PROGRAM_APPLICATION_ALREADY_SUBMITTED="PROGRAM_APPLICATION_ALREADY_SUBMITTED",e.PDF_TEMPLATE_NOT_FOUND="PDF_TEMPLATE_NOT_FOUND",e.RESOURCE_NOT_FOUND="RESOURCE_NOT_FOUND",e.RESOURCE_CANNOT_BE_UPDATED="RESOURCE_CANNOT_BE_UPDATED",e.MESSAGE_NOT_FOUND="MESSAGE_NOT_FOUND",e.SERVICE_ADDRESS_ALREADY_EXIST="SERVICE_ADDRESS_ALREADY_EXIST",e.INVALID_ASSESSMENT="INVALID_ASSESSMENT",e.ERROR_IN_PDF_GEN="ERROR_IN_PDF_GEN",e.EMPTY_PDF_GEN_CONTENT="EMPTY_PDF_GEN_CONTENT",e.UNABLE_TO_DOWNLOAD_FILE="UNABLE_TO_DOWNLOAD_FILE",e.UNABLE_TO_SEND_EMAIL="UNABLE_TO_SEND_EMAIL",e.PDF_GEN_TIMEOUT="PDF_GEN_TIMEOUT",e.DOCUMENT_TYPE_ALREADY_EXIST="DOCUMENT_TYPE_ALREADY_EXIST",e.DOCUMENT_TYPE_NOT_FOUND="DOCUMENT_TYPE_NOT_FOUND",e.PRIVACY_NOTICE_NOT_CHECKED="PRIVACY_NOTICE_NOT_CHECKED",e.LENDER_OPTION_CHECKED_OUT="LENDER_OPTION_CHECKED_OUT",e.INVALID_LENDER_OPTION="INVALID_LENDER_OPTION",e.ESIGN_ERROR="ESIGN_ERROR",e.DOCUSIGN_ERROR="DOCUSIGN_ERROR",e.ORION_CLIENT_IMPORT_NOT_ENABLED="ORION_CLIENT_IMPORT_NOT_ENABLED",e.DEAL_OWNERS_NOT_FOUND="DEAL_OWNERS_NOT_FOUND",e.DEAL_OWNER_ALREADY_EXISTS="DEAL_OWNER_ALREADY_EXISTS",e.INVALID_APPLICATION_PACKAGE_PATH="INVALID_APPLICATION_PACKAGE_PATH",e.COULD_NOT_PARSE_PROPERTIES_DATA="COULD_NOT_PARSE_PROPERTIES_DATA",e.CLIENT_NOT_FOUND="CLIENT_NOT_FOUND",e.CLIENT_IMPORT_NOT_FOUND="CLIENT_IMPORT_NOT_FOUND",e.DOCUMENT_NAME_ALREADY_EXISTS="DOCUMENT_NAME_ALREADY_EXISTS",e.VIEW_ALREADY_EXISTS="VIEW_ALREADY_EXISTS",e.VIEW_NOT_FOUND="VIEW_NOT_FOUND",e.USER_VIEW_NOT_FOUND="USER_VIEW_NOT_FOUND",e.CONTENT_NOT_FOUND="CONTENT_NOT_FOUND",e.CATEGORY_ID_ALREADY_EXISTS="CATEGORY_ID_ALREADY_EXISTS",e.CATEGORY_ID_NOT_FOUND="CATEGORY_ID_NOT_FOUND",e.TEMPLATE_NOT_FOUND="TEMPLATE_NOT_FOUND",e.INVALID_CONTENT_TYPE="INVALID_CONTENT_TYPE",e.CONTENT_SYNCED="CONTENT_SYNCED",e.CATEGORY_ALREADY_USED="CATEGORY_ALREADY_USED",e.CANNOT_CLOSE_CONVERTED_OPPORTUNITY="CANNOT_CLOSE_CONVERTED_OPPORTUNITY",e.UNABLE_TO_GENERATE_THUMBNAIL="UNABLE_TO_GENERATE_THUMBNAIL",e.OPPORTUNITY_NOT_FOUND="OPPORTUNITY_NOT_FOUND",e.FINANCIALDATA_NOT_FOUND="FINANCIALDATA_NOT_FOUND",e.DEALFINANCIAL_NOT_FOUND="DEALFINANCIAL_NOT_FOUND",e.INVALID_WEBHOOK_DATA="INVALID_WEBHOOK_DATA",e.RUNNER_ALREADY_EXISTS="RUNNER_ALREADY_EXISTS",e.RUNNER_NOT_FOUND="RUNNER_NOT_FOUND",e.JOB_NOT_CONFIGURED="JOB_NOT_CONFIGURED",e.JOB_ALREADY_EXISTS="JOB_ALREADY_EXISTS",e.JOB_NOT_FOUND="JOB_NOT_FOUND",e.CANNOT_DELETE_RUNNER="CANNOT_DELETE_RUNNER",e.JOB_SCHEDULE_ALREADY_EXISTS="JOB_SCHEDULE_ALREADY_EXISTS",e.JOB_SCHEDULE_NOT_FOUND="JOB_SCHEDULE_NOT_FOUND",e.JOB_SCHEDULE_ALREADY_EXISTS_FOR_TENANT="JOB_SCHEDULE_ALREADY_EXISTS_FOR_TENANT",e.PROPERTY_DATA_NOT_FOUND="PROPERTY_DATA_NOT_FOUND",e.ROI_REQUEST_FAILED="ROI_REQUEST_FAILED",e.OWNERSHIP_LOG_NOT_FOUND="OWNERSHIP_LOG_NOT_FOUND",e.PAYEE_NOT_FOUND="PAYEE_NOT_FOUND",e.ROLE_NOT_FOUND="ROLE_NOT_FOUND",e.BENEFICIAL_OWNER_NOT_FOUND="BENEFICIAL_OWNER_NOT_FOUND",e.MAX_OWNERSHIP_PERCENTAGE_EXCEEDED="MAX_OWNERSHIP_PERCENTAGE_EXCEEDED",e.INVALID_MISCELLANEOUS_DOCUMENT_OWNER="INVALID_MISCELLANEOUS_DOCUMENT_OWNER",e.DOCUMENT_TRANSFER_FAILED="DOCUMENT_TRANSFER_FAILED",e.PAYEE_DELETE_NOT_ALLOWED="PAYEE_DELETE_NOT_ALLOWED",e.INVALID_TASK_OWNER="INVALID_TASK_OWNER",e.DRAFT_APPLICATION_UPDATE_FAILED="DRAFT_APPLICATION_UPDATE_FAILED",e.PARTNER_REF_NOT_FOUND="PARTNER_REF_NOT_FOUND",e.ENTITY_DETAILS_NOT_FOUND="ENTITY_DETAILS_NOT_FOUND",e.PERSONAL_FINANCIAL_DATA_NOT_FOUND="PERSONAL_FINANCIAL_DATA_NOT_FOUND",e.CANNOT_UPDATE_FORCEFULLY_COMPLETED_TASK="CANNOT_UPDATE_FORCEFULLY_COMPLETED_TASK",e.COSIGNER_ENTITY_NOT_FOUND="COSIGNER_ENTITY_NOT_FOUND",e.DOCUMENT_UPLOAD_FAILED="DOCUMENT_UPLOAD_FAILED",e.DOCUMENT_UPLOAD_RETRY_FAILED="DOCUMENT_UPLOAD_RETRY_FAILED",e.INVALID_BUSINESS_ENTITY="INVALID_BUSINESS_ENTITY",e.IDP_CONFIG_EXISTS="IDP_CONFIG_EXISTS",e.INVALID_REPORT_STATUS="INVALID_REPORT_STATUS",e.USER_FEATURE_NOT_FOUND="USER_FEATURE_NOT_FOUND",e.FEE_STRUCTURE_NOT_FOUND="FEE_STRUCTURE_NOT_FOUND",e.USER_CONNECTION_NOT_FOUND="USER_CONNECTION_NOT_FOUND",e.LIABILITY360_NOT_CONNECTED="LIABILITY360_NOT_CONNECTED",e.LIABILITY360_CONNECTION_NOT_FOUND="LIABILITY360_CONNECTION_NOT_FOUND",e.LIABILITY360_ALREADY_PREVIEWED="LIABILITY360_ALREADY_PREVIEWED",e.LIABILITY360_ALREADY_CONNECTED="LIABILITY360_ALREADY_CONNECTED",e.LIABILITY360_ALREADY_DISCONNECTED="LIABILITY360_ALREADY_DISCONNECTED",e.LIABILITY360_INVITATION_NOT_ACCEPTED="LIABILITY360_INVITATION_NOT_ACCEPTED",e.USER_AUTHORIZATION_NOT_FOUND="USER_AUTHORIZATION_NOT_FOUND"})(B||(B={}));var G;(function(e){e.ORION_UNAUTHORIZED="ORION_UNAUTHORIZED",e.ORION_NOT_AUTHORIZED_SIGNATORY="ORION_NOT_AUTHORIZED_SIGNATORY",e.ORION_NO_DATA_RECEIVED="ORION_NO_DATA_RECEIVED",e.ORION_INVALID_DATA_FORMAT="ORION_INVALID_DATA_FORMAT",e.ORION_UNEXPECTED_ERROR="ORION_UNEXPECTED_ERROR",e.ORION_FIRM_ONBOARDING_NOT_ENABLED="ORION_FIRM_ONBOARDING_NOT_ENABLED",e.ORION_TOKEN_INVALID="ORION_TOKEN_INVALID",e.ORION_USER_NOT_CONFIGURED="ORION_USER_NOT_CONFIGURED",e.ORION_USER_CREATION_UPDATE_FAILED="ORION_USER_CREATION_UPDATE_FAILED",e.ORION_USER_NOT_ASSOCIATED="ORION_USER_NOT_ASSOCIATED",e.ORION_INVALID_USER_ASSOCIATION="ORION_INVALID_USER_ASSOCIATION",e.ORION_MULTIPLE_ACCOUNTS_FOUND="ORION_MULTIPLE_ACCOUNTS_FOUND",e.ORION_SELF_REGISTRATION_NOT_ENABLED="ORION_SELF_REGISTRATION_NOT_ENABLED",e.ORION_SELF_REGISTRATION_AGREEMENT_NOT_SIGNED="ORION_SELF_REGISTRATION_AGREEMENT_NOT_SIGNED",e.ORION_ESIGN_ERROR="ORION_ESIGN_ERROR",e.ORION_INTERNAL_SERVER_ERROR="ORION_INTERNAL_SERVER_ERROR",e.ORION_ENDPOINT_NOT_FOUND="ORION_ENDPOINT_NOT_FOUND",e.ORION_BASE_URL_NOT_FOUND="ORION_BASE_URL_NOT_FOUND"})(G||(G={}));var h;(function(e){e.LOS_APPLICATION_SUBMISSION_FAILED="LOS_APPLICATION_SUBMISSION_FAILED",e.LOS_DOCUMENT_UPLOAD_FAILED="LOS_DOCUMENT_UPLOAD_FAILED",e.LOS_INVALID_APPLICATION_DATA="LOS_INVALID_APPLICATION_DATA",e.LOS_EXTERNAL_LOAN_REFERENCE_NOT_FOUND="LOS_EXTERNAL_LOAN_REFERENCE_NOT_FOUND",e.LOS_EXTERNAL_DOCUMENT_REFERENCE_NOT_FOUND="LOS_EXTERNAL_DOCUMENT_REFERENCE_NOT_FOUND",e.LOS_INVALID_DEAL_STATUS="LOS_INVALID_DEAL_STATUS"})(h||(h={}));const va={...B,...f,...v,...M,...G,...S,...U,...m,...C,...L,...h,...p,...g,...P,...F};var t;(function(e){e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.VersionMisMatch=-32603]="VersionMisMatch",e[e.InternalServerError=-32e3]="InternalServerError",e[e.Unauthenticated=-32001]="Unauthenticated",e[e.Unauthorized=-32002]="Unauthorized",e[e.GeneralError=-32003]="GeneralError"})(t||(t={}));function O(e){return Object.fromEntries(Object.entries(e).map(([n,T])=>[n,{message:T,code:t.InternalServerError}]))}const Ht={SAMUEL_UNAUTHORIZED:"Samuel unauthorized.",SAMUEL_NO_DATA_RECEIVED:"Samuel no data received.",SAMUEL_UNEXPECTED_ERROR:"Samuel unexpected error."},bt={OPENAI_API_CONNECTION_ERROR:"OpenAI API connection error.",OPENAI_API_CONNECTION_TIMEOUT_ERROR:"OpenAI API connection timeout error.",OPENAI_API_ERROR:"OpenAI API error.",OPENAI_API_USER_ABORT_ERROR:"OpenAI API user abort error.",OPENAI_AUTHENTICATION_ERROR:"OpenAI Authentication error.",OPENAI_CONFLICT:"OpenAI Conflict Error.",OPENAI_ERROR:"OpenAI Error.",OPENAI_NO_RESPONSE_CONTENT:"Open AI no response content received.",OPENAI_UNEXPECTED_ERROR:"OpenAI Unexpected error."},Xt={ORION_UNAUTHORIZED:"Orion unauthorized.",ORION_NO_DATA_RECEIVED:"Orion no data or incomplete data received.",ORION_UNEXPECTED_ERROR:"Orion unexpected error.",ORION_FIRM_ONBOARDING_NOT_ENABLED:"Orion firm onboarding not enabled. Please contact administrator.",ORION_TOKEN_INVALID:"Orion token is invalid.",ORION_USER_NOT_CONFIGURED:"Orion user not configured in the system.",ORION_USER_CREATION_UPDATE_FAILED:"Orion user creation or update failed.",ORION_USER_NOT_ASSOCIATED:"Orion user not associated with any account in the system.",ORION_INVALID_USER_ASSOCIATION:"Orion invalid user association.",ORION_MULTIPLE_ACCOUNTS_FOUND:"Orion multiple accounts found for the user.",ORION_SELF_REGISTRATION_NOT_ENABLED:"Orion self registration not enabled for the aggregator.",ORION_NOT_AUTHORIZED_SIGNATORY:"Orion user is not authorized signatory.",ORION_SELF_REGISTRATION_AGREEMENT_NOT_SIGNED:"Orion self registration agreement not signed or unable to fetch agreement signed status from orion.",ORION_ESIGN_ERROR:"Orion eSign error. Please setup esign provider and provide a esign template in tenant settings.",ORION_INTERNAL_SERVER_ERROR:"Orion internal server error.",ORION_ENDPOINT_NOT_FOUND:"Orion endpoint not found.",ORION_INVALID_DATA_FORMAT:"Recived invalid data format from orion.",ORION_BASE_URL_NOT_FOUND:"Orion base url not set in env"},Kt={OCROLUS_UNAUTHORIZED:"Authentication failed.",OCROLUS_NULL_RESPONSE:"Ocrolus null response.",OCROLUS_INTERNAL_SERVER_ERROR:"Ocrolus internal server error.",OCROLUS_BOOK_NOT_FOUND:"Ocrolus book not found.",OCROLUS_BOOK_PK_NOT_FOUND:"Ocrolus book pk not found.",OCROLUS_UNEXPECTED_ERROR:"Ocrolus unexpected error.",OCROLUS_TXN_IN_PROGRESS:"Transaction tags are still being processed, they will be available shortly.",OCROLUS_BOOK_ALREADY_EXISTS:"Book already exists."},xt={UPSWOT_UNAUTHORIZED:"Upswot unauthorized.",UPSWOT_NULL_RESPONSE:"Upswot null response.",UPSWOT_BAD_REQUEST:"Upswot bad request.",UPSWOT_ALREADY_EXISTS_ERROR:"Email is already taken.",UPSWOT_NOT_FOUND_ERROR:"Request not found or not exists.",UPSWOT_UNEXPECTED_ERROR:"Upswot unexpected error.",UNABLE_TO_REGISTER_UPSWOT_ENTITY:"Unable to register entity in Upswot."},qt={ENCOMPASS_UNAUTHORIZED:"Unauthorized.",ENCOMPASS_NULL_RESPONSE:"No response data.",ENCOMPASS_BAD_REQUEST:"Bad request.",ENCOMPASS_NOT_FOUND_ERROR:"Request not found or not exists.",ENCOMPASS_ALREADY_EXISTS_ERROR:"An encompass request already exist ",ENCOMPASS_UNEXPECTED_ERROR:"Unexpected error."},Zt={CRS_UNEXPECTED_ERROR:"Unexpected error occurred in Credit Reporting Services.",CRS_UNAUTHORIZED:"Unable to authorize to Credit Reporting Services."},Qt={BRIDGEFT_UNAUTHORIZED:"Bridgeft unauthorized.",BRIDGEFT_NULL_RESPONSE:"Bridgeft null response.",BRIDGEFT_BAD_REQUEST:"Bridgeft bad request.",BRIDGEFT_NOT_FOUND_ERROR:"Request not found or not exists.",BRIDGEFT_UNEXPECTED_ERROR:"Bridgeft unexpected error."},kt={SUPERNOVA_BAD_REQUEST:"Bad request. Input Validation failed.",SUPERNOVA_UNAUTHORIZED:"Unauthorized. Invalid API Key",SUPERNOVA_FORBIDDEN:"Forbidden. Insufficient permissions.",SUPERNOVA_NOT_FOUND:"Not found. Resource Not Found.",SUPERNOVA_INTERNAL_SERVER_ERROR:"Internal server error.",SUPERNOVA_UNEXPECTED_ERROR:"Unexpected error."},jt={ZILLOW_AUTH_FAILED:"Zillow authentication failed.",ZILLOW_AUTH_TOKEN_INVALID:"Zillow authentication token invalid.",ZILLOW_AUTH_TOKEN_EXPIRED:"Zillow authentication token expired.",ZILLOW_INTERNAL_SERVER_ERROR:"Zillow internal server error.",ZILLOW_BAD_GATEWAY:"Zillow bad gateway.",ZILLOW_BAD_REQUEST:"Zillow bad request.",ZILLOW_SERVICE_UNAVAILABLE:"Zillow service unavailable.",ZILLOW_EMPTY_RESPONSE:"Zillow empty response.",ZILLOW_GATEWAY_TIMEOUT:"Zillow gateway timeout.",ZILLOW_INVALID_SUBSCRIPTION:"Zillow invalid subscription.",ZILLOW_REQUEST_TIMEOUT:"Zillow request timeout.",ZILLOW_MISSING_REQUIRED_PARAMS:"Zillow missing required parameters.",ZILLOW_METHOD_NOT_ALLOWED:"Zillow method not allowed.",ZILLOW_UNEXPECTED_ERROR:"Unexpected error occurred in Zillow.",ZIllOW_AUTH_USER_NOT_FOUND:"Marksman User not found.EmailAddress parameter passed does not map to a valid Marksman user account.",ZILLOW_XML_PARSING_ERROR:"Error while parsing xml to json. {0}"},zt={LOS_APPLICATION_SUBMISSION_FAILED:"Submission to {0} LOS failed.",LOS_DOCUMENT_UPLOAD_FAILED:"Upload document to {0} LOS failed. Failed message: {1}",LOS_INVALID_APPLICATION_DATA:"Invalid application data while submitting to LOS.",LOS_EXTERNAL_LOAN_REFERENCE_NOT_FOUND:"External loan reference for LOS {0} not found. Failed message: {1}",LOS_EXTERNAL_DOCUMENT_REFERENCE_NOT_FOUND:"External document reference for LOS {0} not found. Failed message: {1}",LOS_INVALID_DEAL_STATUS:"Invalid deal status to submit application to LOS. status: {0}"},Jt={EGNYTE_UNEXPECTED_ERROR:"Egnyte unexpected error.",EGNYTE_PARSING_ERROR:"Unable to parse. {0}",EGNYTE_USER_NOT_FOUND:"Egnyte user not found. Please contact customer support team.",EGNYTE_DEVELOPER_OVER_QPS:"Egnyte over QPS limit. Please retry after {0} seconds.",EGNYTE_DEVELOPER_OVER_RATE:"Egnyte over rate limit. Please retry after {0} seconds.",EGNYTE_AUTHENTICATION_FAILURE:"Egnyte authentication failure. Please contact customer support team.",EGNYTE_USER_NOT_AUTHORIZED:"Egnyte user not authorized. Please contact customer support team.",EGNYTE_RESOURCE_NOT_FOUND:"Egnyte resource not found. Please contact customer support team.",EGNYTE_FORBIDDEN_UPLOAD_LOCATION:"Egnyte forbidden upload location. Please contact customer support team."},$t={UNABLE_TO_ADD_CLIENT:{code:t.GeneralError,message:"Unable to add client. Please try again."},CREDIT_REPORT_NOT_FOUND:{code:t.GeneralError,message:"Credit report not found. Please verify the client and credit report Id and try again."},ACCESS_TOKEN_NOT_GENERATED:{code:t.GeneralError,message:"Access token not generated. Please try again."},INVALID_INVOICE_STATUS_UPDATE:{code:t.GeneralError,message:'Invoice Status can only be updated when deal is in "Approved and Funded", "Approved and Not Funded" or "Withdrawn" status.'},UNEXPECTED_SERVER_ERROR:{code:t.InternalServerError,message:"Unexpected server error occurred."},URI_NOT_FOUND:{code:t.GeneralError,message:"Requested resource not found.",httpStatusCode:404},PAYEE_DELETE_NOT_ALLOWED:{code:t.GeneralError,message:"Cannot delete default Payee"},PAYEE_NOT_FOUND:{code:t.GeneralError,message:"Payee not found. Please verify the payee Id and try again."},LENDER_PROFILE_NOT_FOUND:{code:t.GeneralError,message:"Lender Profile not found. Please contact administrator."},INVALID_APPLICATION_STATUS_UPDATE:{code:t.GeneralError,message:"Invalid application status update."},INVALID_IMPORT_TYPE:{code:t.GeneralError,message:"Invalid import type. Please provide valid import type."},INVALID_CONTEXT:{code:t.GeneralError,message:"Something went wrong. Please try again."},OPPORTUNITY_NOT_FOUND:{code:t.GeneralError,message:"Opportunity not found. Please verify the opportunity Id and try again."},KAFKA_MESSAGE_NOT_FOUND:{code:t.GeneralError,message:"Kafka message not found. Please verify the message Id and try again."},SERVER_VERSION_MISMATCH:{code:t.VersionMisMatch,message:"Please reload window."},NOT_LOGGED_IN:{code:t.Unauthenticated,message:"Please login first."},LICENSE_EXPIRED:{code:t.Unauthenticated,message:"License expired. Please renew your license to access the platform."},RENEW_LICENSE:{code:t.Unauthenticated,message:"License expired. Please renew until {0} to avoid losing access"},LICENSE_NOT_FOUND:{code:t.Unauthenticated,message:"License not found. Please contact customer support team."},ACCESS_GRANT_EXPIRED:{code:t.Unauthenticated,message:"Access grant expired. Please request for access again if required."},SESSION_EXPIRED:{code:t.Unauthenticated,message:"Session expired. Please login again."},INVALID_ACCESS_TOKEN:{code:t.Unauthenticated,message:"Invalid acess token. Please login again."},INVALID_JWT_TOKEN:{code:t.Unauthenticated,message:"Invalid JWT token. Please login again."},EXPIRED_JWT_TOKEN:{code:t.Unauthenticated,message:"JWT token Expired. Please login again."},INACTIVE_JWT_TOKEN:{code:t.Unauthenticated,message:"Inactive JWT Token. Please login again."},INVALID_API_KEY:{code:t.Unauthenticated,message:"Invalid API key. Please provide valid API key."},INVALID_PAIRING_KEY:{code:t.Unauthenticated,message:"Invalid pairing key. Please provide valid pairing key."},INVALID_OTP:{code:t.GeneralError,message:"Invalid OTP. Please provide valid OTP."},UNAUTHORIZED:{code:t.Unauthorized,message:"You're not authorized to perform this action."},THEME_NOT_FOUND:{code:t.GeneralError,message:"Theme not found. Please verify the theme id and try again."},THEME_NAME_ALREADY_USED:{code:t.GeneralError,message:"Theme name is already used for other theme. Please use another theme name."},IDP_AUTHENTICATION_FAILURE:{code:t.GeneralError,message:"Unable to verify user with {0} services. Please try again later"},IDP_UNHANDLED_ERROR:{code:t.GeneralError,message:"Unexpected error occurred while verifying user with IDP. Please try again later."},INVALID_IDP_SELECTION:{code:t.GeneralError,message:"Selected identity provider does not match previously used provider."},JSON_RPC_INVALID_FORMAT:{code:t.InvalidRequest,message:"Invalid JSON RPC format."},JSON_RPC_INVALID_VERSION:{code:t.InvalidRequest,message:"Invalid JSON RPC version."},JSON_RPC_METHOD_NOT_FOUND:{code:t.MethodNotFound,message:"JSON RPC method not found."},JSON_RPC_INVALID_PARAMS:{code:t.InvalidParams,message:"JSON RPC invalid params."},CANNOT_GENERATE_API_KEY:{code:t.GeneralError,message:"Cannot generate API key. Please contact customer support team."},ACCOUNT_NOT_FOUND:{code:t.GeneralError,message:"Account not found. Please verify the ID and try again."},ACCOUNT_ALREADY_EXIST:{code:t.GeneralError,message:"Account with provided name already exists. Please provide a different name."},ACCOUNT_NOT_ACTIVE:{code:t.GeneralError,message:"Account deactivated. Please contact customer support team."},ACCOUNT_ALREADY_LIVE:{code:t.GeneralError,message:"Account already live. Please reload the page if you're facing any issue."},ACCOUNT_MARKED_FOR_DELETION:{code:t.GeneralError,message:"Account marked for deletion. Please contact customer support team."},ACCOUNT_NOT_MARKED_FOR_DELETION:{code:t.GeneralError,message:"Account is not marked for deletion. Please initiate delete before permanently deleting account."},UNABLE_TO_ACTIVATE_ACCOUNT:{code:t.GeneralError,message:"Unable to activate account. Please contact customer support team."},SSO_NOT_CONFIGURED:{code:t.GeneralError,message:"Single Sign-On not configured. Please contact account admin."},SUBACCOUNT_NOT_FOUND:{code:t.GeneralError,message:"Subaccount not found. Please verify the ID and try again."},SUBACCOUNT_ALREADY_EXIST:{code:t.GeneralError,message:"Subaccount with provided name already exists. Please provide a different name."},UNABLE_TO_PROMOTE_PROSPECT:{code:t.GeneralError,message:"Unable to promote prospect. Please contact customer support team."},USER_NOT_FOUND:{code:t.GeneralError,message:"User not found. Please verify the ID and try again."},USER_NOT_ACTIVE:{code:t.GeneralError,message:"User deactivated. Please contact account admin."},USER_LOCKED:{code:t.GeneralError,message:"Your account has been locked due to multiple consecutive login attempts. Please contact account admin to unlock your account."},DUPLICATE_USER_EMAILS:{code:t.GeneralError,message:"Duplicate user emails were found. Please provide unique emails for users."},CANNOT_DEACTIVATE_USER_IF_NO_BUSINESS_OWNER:{code:t.GeneralError,message:"Cannot deactivate user if there is no other business owner in the account."},CUSTODIAN_DOES_NOT_EXIST:{code:t.GeneralError,message:"Advisor code and custodian for user does not exist."},INVALID_ROI_REQUEST_FOR_CUSTODIAN:{code:t.GeneralError,message:"Invalid custodian for Release of Information request."},CUSTODIAN_DETAILS_ALREADY_EXIST:{code:t.GeneralError,message:"Duplicate records were found. Please provide unique advisor code and custodian for user."},ENTITY_MISSING_EMAIL:{code:t.GeneralError,message:"Entity does not have a valid email attached to it."},USER_WITH_SAME_EMAIL_ALREADY_EXIST:{code:t.GeneralError,message:"User with given email is already associated to another account."},USER_WITH_SAME_EMAIL_ALREADY_REGISTERED:{code:t.GeneralError,message:"The email address you have entered for the client is already in use. Please use a different email address."},USER_WITH_SAME_EMAIL:{code:t.GeneralError,message:"User with same email already exists. Please provide a different email."},TEAM_ALREADY_EXIST:{code:t.GeneralError,message:"Team with provided name already exists. Please provide a different name."},TEAM_NOT_FOUND:{code:t.GeneralError,message:"Team not found. Please verify the ID and try again."},CONTACT_ALREADY_EXIST:{code:t.GeneralError,message:"Contact with provided email already exists. Please provide a different email."},CONTACT_NOT_FOUND:{code:t.GeneralError,message:"Contact not found. Please verify the ID and try again."},USER_REF_NOT_FOUND:{code:t.GeneralError,message:"User is not linked to the provided account. Please contact account admin."},UNAUTHENTICATE_USER_REF_NOT_FOUND:{code:t.GeneralError,message:"You don't have access to any account in the system."},USER_REF_NOT_FOUND_FOR_USER:{code:t.GeneralError,message:"UserRef not found for the userId {0}."},USER_REF_ALREADY_EXIST:{code:t.GeneralError,message:"User is already linked to the provided account."},MULTIPLE_USER_REF_EXISTS:{code:t.GeneralError,message:"User is already linked to multiple accounts."},PRIMARY_ENTITY_MUST_BE_INDIVIDUAL_ENTITY:{code:t.GeneralError,message:"Primary entity must be an individual entity. {0}"},PRIMARY_ENTITY_MUST_HAVE_EMAIL:{code:t.GeneralError,message:"Primary entity must have an email address. {0}"},USER_INVITATION_ALREADY_EXIST:{code:t.GeneralError,message:"User has already been invited to the provided account."},USER_INVITATION_ALREADY_ACCEPTED:{code:t.GeneralError,message:"The invitation has already been accepted."},USER_INVITATION_REVOKED:{code:t.GeneralError,message:"The invitation has been revoked. Please contact admin to resend the invitation."},USER_INVITATION_EXPIRED:{code:t.GeneralError,message:"The invitation has expired. Please contact admin to resend the invitation."},USER_INVITATION_NOT_FOUND:{code:t.GeneralError,message:"User invitation not found. Please verify the ID and try again."},ONLY_ONE_TENANT_ADMIN_AVAILABLE:{code:t.GeneralError,message:"System must have atleast one tenant admin"},CANNOT_DELETE_ACTIVE_USER:{code:t.GeneralError,message:"Cannot delete a active user. Please deactivate the user first."},CANNOT_REVOKE_INVITATION_IF_NO_BUSINESS_OWNER:{code:t.GeneralError,message:"Cannot revoke invitation if there is no business owner in the account."},VERIFICATION_RETRY_LIMIT_EXCEEDED:{code:t.GeneralError,message:"Retry limit exceeded. Please contact customer support team."},VERIFICATION_TOKEN_ALREADY_VERIFIED:{code:t.GeneralError,message:"The verification token has already been verified."},VERIFICATION_CODE_INCORRECT:{code:t.GeneralError,message:"The verification code is incorrect. Please try again."},VERIFICATION_TOKEN_NOT_FOUND:{code:t.GeneralError,message:"Unable to find the verification token."},VERIFICATION_CODE_EXPIRED:{code:t.GeneralError,message:"The verification code has expired. Please try again with new code."},VERIFICATION_TOKEN_INVALID:{code:t.GeneralError,message:"The verification token is invalid. Please generate a new token."},CLUSTER_NOT_FOUND:{code:t.GeneralError,message:"Cluster not found. Please verify the ID and try again."},TENANT_NOT_FOUND:{code:t.GeneralError,message:"Tenant not found."},TENANT_ID_NOT_FOUND:{code:t.InternalServerError,message:"Tenant ID not found."},CLUSTER_NO_CONNECTED_TENANT_FOUND:{code:t.GeneralError,message:"No connected tenant found for the cluster."},TENANT_ID_WHITESPACES_NOT_ALLOWED:{code:t.GeneralError,message:"Whitespaces are not allowed in tenant ID. Please provide a different tenant ID."},PAIRING_CONNECTION_NOT_FOUND:{code:t.GeneralError,message:"Pairing connection not found. Tenants might not be connected."},ACCOUNT_NOT_FOUND_FOR_CONNECTION:{code:t.GeneralError,message:"Atleast one account is required before making a connection request."},AGGREGATOR_NOT_LIVE:{code:t.GeneralError,message:"Aggregator is not live. Please contact customer support team to resolve this issue."},MULTIPLE_AGGREGATORS:{code:t.GeneralError,message:"Multiple aggregators in a single tenant is not allowed."},MULTIPLE_MARKETPLACE:{code:t.GeneralError,message:"Multiple marketplaces in a single tenant is not allowed."},PASSWORD_NOT_SET:{code:t.GeneralError,message:"Password is not set for user."},PASSWORD_LOWERCASE_LETTER_MANDATORY:{code:t.GeneralError,message:"Lowercase letter is mandatory in password."},PASSWORD_UPPERCASE_LETTER_MANDATORY:{code:t.GeneralError,message:"Uppercase letter is mandatory in password."},PASSWORD_NUMBER_MANDATORY:{code:t.GeneralError,message:"Number is mandatory in password."},PASSWORD_SPECIAL_CHARACTER_MANDATORY:{code:t.GeneralError,message:"Special character is mandatory in password."},PASSWORD_CANNOT_BE_SAME_AS_PREVIOUS:{code:t.GeneralError,message:"Password cannot be same as {0} password. Please provide a different password."},MINIMUM_PASSWORD_LENGTH:{code:t.GeneralError,message:"Minimum password length is {0}."},INCORRECT_EMAIL_OR_PASSWORD:{code:t.GeneralError,message:"Incorrect email or password.{0}"},INCORRECT_PASSWORD:{code:t.GeneralError,message:"Incorrect password."},ADVISOR_CODE_NOT_CONFIGURED:{code:t.GeneralError,message:"Advisor code not configured. Please contact administrator."},FIRM_ID_NOT_CONFIGURED:{code:t.GeneralError,message:"Firm Id not configured. Please contact administrator."},LENDER_NOT_CONFIGURED:{code:t.GeneralError,message:"Lender not configured. Please contact customer support team."},EXTERNAL_LENDER_CANNOT_BE_UPDATED:{code:t.GeneralError,message:"Option from external lender cannot be edited or deleted."},LOS_API_KEY_NOT_CONFIGURED:{code:t.GeneralError,message:"Loan Origination Api Key not configured. Please contact administrator."},LOS_FOLDER_NOT_CONFIGURED:{code:t.GeneralError,message:"Loan Origination Folder not configured. Please contact administrator."},CUSTOM_FIELD_ALREADY_EXIST:{code:t.GeneralError,message:"Custom field with provided ID already exists. Please provide a different ID."},CUSTOM_FIELD_NOT_FOUND:{code:t.GeneralError,message:"Custom field not found. Please verify the ID and try again."},CUSTOM_FIELD_TYPE_MISMATCH:{code:t.GeneralError,message:"Custom field with provided ID existed earlier with a different type {0}. Please provide the same type for the field or add a new field with different ID."},DISCLOSURE_NOT_FOUND:{code:t.GeneralError,message:"Disclosure not found. Please verify the ID and try again."},DISCLOSURE_ALREADY_EXIST:{code:t.GeneralError,message:"Disclosure with provided name already exists. Please provide a different name."},DISCLOSURE_MISMATCH:{code:t.GeneralError,message:"Certain disclosures you have submitted do not match with required disclosures. Please contact customer support for assistance."},DOCUMENT_MARKED_FOR_DELETION:{code:t.GeneralError,message:"Document marked for deletion. Please contact customer support team."},DOCUMENT_NOT_FOUND:{code:t.GeneralError,message:"Document not found. Please verify the ID and try again."},DOCUMENTS_NOT_SYNCED:{code:t.GeneralError,message:"Documents are currently being synced. Please wait and try again later."},SUBPRODUCT_NOT_FOUND:{code:t.GeneralError,message:"Subproduct not found. Please verify the ID and try again."},SUBPRODUCT_ALREADY_EXIST:{code:t.GeneralError,message:"Subproduct with provided name already exists. Please provide a different name."},INVALID_SUBPRODUCT_ASSOCIATION:{code:t.GeneralError,message:"Subproduct {0} is not associated with product {1}. Please contact customer support team."},RATECARD_NOT_FOUND:{code:t.GeneralError,message:"Rate card with id:{0} not found. Please try again or contact customer support for assistance."},DUPLICATE_RATE_CARD_ID:{code:t.GeneralError,message:"Rate card(s) with provided ID(s) - {0} -  already exists. Please provide a different ID(s)."},LENDER_UNAVAILABLE:{code:t.GeneralError,message:"Lender is not available. Please try again after some time."},LENDER_NOT_FOUND:{code:t.GeneralError,message:"Lender not found. Please verify the ID and try again."},LENDER_NOT_SYNCED:{code:t.GeneralError,message:"Lender not synced. Please try again after some time.."},ENTITY_ALREADY_EXIST:{code:t.GeneralError,message:"Entity with this email address already exist. Please log in or use a different email address."},ENTITY_NOT_FOUND:{code:t.GeneralError,message:"Entity not found. Please verify the ID and try again."},EXISTINGDEBT_NOT_FOUND:{code:t.GeneralError,message:"Existing Debt Information not found for Entity."},FUNDDATA_NOT_FOUND:{code:t.GeneralError,message:"Fund details not found for entity."},ALTSFUND_NOT_FOUND:{code:t.GeneralError,message:"Alts Fund not found."},CANNOT_MODIFY_ENTITY_EMAIL:{code:t.GeneralError,message:"Email address cannot be modified. Please contact customer support team."},INVALID_ENTITY_ASSOCIATION:{code:t.GeneralError,message:"Entity association is invalid."},INVALID_ENTITY_TYPE:{code:t.GeneralError,message:"Entity type is invalid."},INVALID_BUSINESS_ENTITY:{code:t.GeneralError,message:"Invalid business entity."},IDP_CONFIG_EXISTS:{code:t.GeneralError,message:"IDP Configuration already exists with same ID."},EMPLOYMENT_DOES_NOT_EXIST:{code:t.GeneralError,message:"Employment information does not exist for entity."},CANNOT_UPDATE_ENTITY:{code:t.GeneralError,message:"Entity cannot be updated."},PRIMARY_ENTITY_NOT_FOUND:{code:t.GeneralError,message:"Primary entity not found."},CANNOT_DELETE_ENTITY:{code:t.GeneralError,message:"Entity cannot be deleted as there are deals created for this entity."},CONNECTION_ALREADY_EXIST:{code:t.GeneralError,message:"Connection already exist."},CONNECTION_REQUEST_NOT_FOUND:{code:t.GeneralError,message:"Connection request not found. Please verify the ID and try again."},APPLICATION_NOT_FOUND_FOR_TASK:{code:t.InternalServerError,message:"Application not found for in the context of task."},APPLICATION_NOT_FOUND:{code:t.GeneralError,message:"Loan request not found. Please verify the ID and try again."},APPLICATION_PACKAGE_NOT_FOUND:{code:t.GeneralError,message:"Loan request package is currently being prepared. Please wait a moment and try again."},APPLICATION_ALREADY_SUBMITTED:{code:t.GeneralError,message:"Loan request already submitted for provided rate card."},APPLICATION_ALREADY_SUBMITTED_WITHOUT_OFFER:{code:t.GeneralError,message:"Loan request already submitted for provided deal."},INVALID_PRODUCT_SUBTYPE:{code:t.GeneralError,message:"Product Subtype is invalid."},PRODUCT_SUBTYPE_NOT_FOUND:{code:t.GeneralError,message:"Product Subtype not found."},CANNOT_CLAIM_DEAL:{code:t.GeneralError,message:"You are not authorized to claim this deal."},CANNOT_UNCLAIM_DEAL:{code:t.GeneralError,message:"You are not authorized to unclaim this deal."},APPLICATION_ALREADY_CREATED:{code:t.GeneralError,message:"Loan request already created. Try creating new deal."},ENTITY_CANNOT_BE_ADDED_TO_APPLICATION:{code:t.GeneralError,message:"Entity cannot be added to loan request."},CANNOT_SUBMIT_INCOMPLETE_APPLICATION:{code:t.GeneralError,message:"Incomplete loan request cannot be submitted."},CANNOT_REMOVE_PRIMARY_ENTITY_FROM_APPLICATION:{code:t.GeneralError,message:"Client cannot be removed from loan request."},COLLATERAL_NOT_FOUND:{code:t.GeneralError,message:"Collateral not found."},INVALID_COLLATERAL_ASSOCIATION:{code:t.GeneralError,message:"Collateral association is invalid."},DEAL_SUPPORT_NOT_ENABLED:{code:t.GeneralError,message:"Deal support is not enabled for this deal."},INTERACTION_NOT_FOUND:{code:t.GeneralError,message:"Interaction not found. Please verify the ID and try again."},HELP_REQUEST_ALREADY_REGISTERED:{code:t.GeneralError,message:"Help request already registered."},HELP_REQUEST_NOT_FOUND:{code:t.GeneralError,message:"Help request not found."},CANNOT_MODIFY_COMPLETED_TASK:{code:t.GeneralError,message:"Completed task cannot be modified."},TASK_NOT_FOUND:{code:t.GeneralError,message:"Task not found."},INVALID_RELATES_TO:{code:t.GeneralError,message:"Invalid relates to"},BOOK_OF_BUSINESS_NOT_FOUND:{code:t.GeneralError,message:"Book of Business not found."},OBLIGATION_NOT_FOUND:{code:t.GeneralError,message:"Obligation not found."},LARGE_DEAL_WORKFLOW_DISABLED:{code:t.GeneralError,message:"Large deal workflow is disabled."},OWNER_REQUIRED_FOR_DEAL:{code:t.GeneralError,message:"Owner is required for deal."},WORKFLOW_LOAN_AMOUNT_MISMATCH:{code:t.GeneralError,message:"Entered loan amount is not applicable for the workflow."},INVALID_WORKFLOW:{code:t.GeneralError,message:"Lender options not applicable for given workflow."},UNABLE_TO_FETCH_FILE_CONTENTS:{code:t.GeneralError,message:"The content you are trying to access could not be fetched. Please refresh the page and try again."},NO_FUND_ADDED:{code:t.GeneralError,message:"No fund was found in the portfolio. Please check and try again."},ALTS_SERVICE_ACCOUNT_NOT_FOUND:{code:t.GeneralError,message:"No alts service client account found for {0} {1}."},LIQUIDITY_DATA_NOT_FOUND:{code:t.GeneralError,message:"Liquidity data not found for context {0}. {1}"},LIQUIDITY_DATA_NOT_FOUND_ID:{code:t.GeneralError,message:"Liquidity data not found for liquidity Id {0}. {1}"},CUSTODIAN_DATA_NOT_FOUND:{code:t.GeneralError,message:"Custodian data not found for entity Id {0}. {1}"},DUPLICATE_SSN_FOUND_FOR_CUSTODY:{code:t.GeneralError,message:"SSN is already used for another custody account. Please contact support."},CANNOT_ADD_FUND:{code:t.GeneralError,message:"Cannot add fund because portfolio is in review status."},LIQUIDITY_RAW_DATA_NOT_FOUND:{code:t.InternalServerError,message:"Financial raw data not found for liquidity id {0}."},RAW_DATA_NOT_FOUND:{code:t.InternalServerError,message:"Financial raw data not found"},PROPERTY_DATA_NOT_FOUND:{code:t.GeneralError,message:"Attom data not found"},FUND_DOCUMENT_NOT_FOUND:{code:t.GeneralError,message:"Fund document not found.{0}"},FUND_DOCUMENT_OF_INVALID_TYPE:{code:t.GeneralError,message:"Fund Document of invalid type.{0}"},ASSET_DATA_NOT_FOUND:{code:t.GeneralError,message:"Asset data {1} not found for context {0}. {2}"},NO_DATA_FOUND_IN_FILE:{code:t.GeneralError,message:"No data was found in the file. Please check and try again."},BORROWER_REQUIRED:{code:t.GeneralError,message:"Loan request must have a borrower."},BORROWER_NAME_NOT_FOUND:{code:t.GeneralError,message:"Loan request must have a borrower name attached."},BORROWER_NOT_FOUND:{code:t.GeneralError,message:"Borrower entity not found."},ADMIN_ACCESS_NOT_FOUND:{code:t.GeneralError,message:"Access not found. Please request access again if required."},AUDIT_TRAIL_NOT_FOUND:{code:t.GeneralError,message:"Audit trail not found. Please verify the ID and try again."},OFFER_DATA_NOT_SYNCED:{code:t.GeneralError,message:"Option data is currently being synced. Please wait and try again later."},OFFER_NOT_FOUND:{code:t.GeneralError,message:"Option not found for the provided lender."},DMS_MISMATCH:{code:t.GeneralError,message:"DMS Provider has been changed after this document was uploaded. Please delete and re-upload the document."},DMS_NOT_CONFIGURED:{code:t.GeneralError,message:"DMS is not configured. Please contact administrator."},INVALID_DMS_SETTINGS:{code:t.GeneralError,message:"DMS {0} is not configured properly for current settings. Please contact UPTIQ administrator for assistance."},PAIRING_ID_NOT_FOUND:{code:t.GeneralError,message:"Pairing ID not found. Please provide the ID and try again."},CONSENT_NOT_FOUND:{code:t.GeneralError,message:"Consent not found."},REQUIRED_ERROR:{code:t.GeneralError,message:"{0} is required."},VALIDATION_ERROR:{code:t.GeneralError,message:"Validation failed for {0}."},EXCEL_COLUMNS_VALIDATION_ERROR:{code:t.GeneralError,message:"Column validation failed. {0}"},INVALID_REFERENCE_TO_COLLECTION:{code:t.GeneralError,message:"Invalid reference to collection {0}."},NOTHING_TO_UPDATE:{code:t.GeneralError,message:"There is nothing to update."},ENV_NOT_SET:{code:t.InternalServerError,message:"{0} is not configured in ENV. Please contact customer support team. {1}"},INTERNAL_SERVER_ERROR:{code:t.InternalServerError,message:"Internal server error: {0}."},IMPLEMENTATION_NOT_FOUND:{code:t.InternalServerError,message:"Implementation not found for {0}."},REPORT_SUBSCRIPTION_ALREADY_EXIST:{code:t.GeneralError,message:"You have already subscribed to this report. Please cancel your current subscription and try again."},REPORT_SUBSCRIPTION_NOT_FOUND:{code:t.GeneralError,message:"You have not subscribed to this report. Please subscribe and try again."},REPORT_NOT_FOUND:{code:t.GeneralError,message:"Report not found. Please verify the ID and try again."},REPORT_NOT_GENERATED:{code:t.GeneralError,message:"Report not yet generated. Please try again after some time."},NOTIFICATION_NOT_FOUND:{code:t.GeneralError,message:"Notification not found. Please verify the ID and try again."},TEMPLATE_ALREADY_EXISTS:{code:t.GeneralError,message:"A notification template with the provided configuration already exists. Please verify the template and try again."},INVALID_TEMPLTE:{code:t.GeneralError,message:"Invalid notification template provided.Please verify the template and try again."},INVALID_OWNERSHIP_TYPE:{code:t.InternalServerError,message:"Invalid ownership type. Please verify the ownership type and try again."},CONFLICTING_PARAMS:{code:t.GeneralError,message:"Conflicting parameters passed."},RULE_ALREADY_EXISTS:{code:t.GeneralError,message:"Rule already exists."},RULE_DOES_NOT_EXIST:{code:t.GeneralError,message:"Rule does not exist."},RULEACTION_ALREADY_EXISTS:{code:t.GeneralError,message:"Rule association already exists."},RULEACTION_DOES_NOT_EXIST:{code:t.GeneralError,message:"Rule association does not exist."},INVALID_RULE_SPECIFICATION:{code:t.GeneralError,message:"Invalid rule specification."},INVALID_RISK_MODEL_METADATA:{code:t.GeneralError,message:"Invalid risk model metadata document. Please verify document with sample document."},INVALID_GLOBAL_DOCS:{code:t.GeneralError,message:"Document template is invalid."},INVALID_GLOBAL_DOCS_DATA:{code:t.GeneralError,message:"Document data is invalid."},PROGRAM_NOT_FOUND:{code:t.GeneralError,message:"Program not found. Please verify the program id and try again."},PROGRAM_WITH_GIVEN_NAME_ALREADY_EXISTS:{code:t.GeneralError,message:"Program with given name already exists. Please use different name for new program."},PROGRAM_APPLICATION_ALREADY_SUBMITTED:{code:t.GeneralError,message:"Program loan request for given loan request id is already submitted. Please create a new loan request."},PDF_TEMPLATE_NOT_FOUND:{code:t.GeneralError,message:"Pdf template not found. Please verify the template id and try again."},TEMPLATE_NOT_FOUND:{code:t.GeneralError,message:"Template not found. Please verify the template id and try again."},INVALID_CONTENT_TYPE:{code:t.GeneralError,message:"Invalid content type"},RESOURCE_NOT_FOUND:{code:t.GeneralError,message:"Resource not found. Please verify the resource id and try again."},RESOURCE_CANNOT_BE_UPDATED:{code:t.GeneralError,message:"This resource cannot be updated."},MESSAGE_NOT_FOUND:{code:t.GeneralError,message:"Message not found."},ACCOUNT_OWNER_REQUIRED:{code:t.GeneralError,message:"Account Owner is required"},SERVICE_ADDRESS_ALREADY_EXIST:{code:t.GeneralError,message:"Service address already exists."},INVALID_ASSESSMENT:{code:t.GeneralError,message:"Invalid assessment data."},ERROR_IN_PDF_GEN:{code:t.GeneralError,message:"Error in pdf generation Status : {0} Config : {1}"},EMPTY_PDF_GEN_CONTENT:{code:t.GeneralError,message:"Empty pdf generation content. Details : {0}"},UNABLE_TO_DOWNLOAD_FILE:{code:t.GeneralError,message:"Unable to download the file. Please try again later."},UNABLE_TO_SEND_EMAIL:{code:t.GeneralError,message:"Unable to send email. Please try again later."},PDF_GEN_TIMEOUT:{code:t.GeneralError,message:"There was a problem. Please try again later."},PRIVACY_NOTICE_NOT_CHECKED:{code:t.GeneralError,message:"Please accept Privacy Notice."},LENDER_OPTION_CHECKED_OUT:{code:t.GeneralError,message:"Cannot delete lender option. Already checked out"},INVALID_LENDER_OPTION:{code:t.GeneralError,message:"Selected offer is no longer valid. Please refresh and try again later."},DEAL_OWNERS_NOT_FOUND:{code:t.GeneralError,message:"Deal Owners not found"},DEAL_OWNER_ALREADY_EXISTS:{code:t.GeneralError,message:"Deal Owner you are trying to add already exists"},INVALID_APPLICATION_PACKAGE_PATH:{code:t.GeneralError,message:"Invalid lenders loan request package path"},DOCUMENT_TYPE_ALREADY_EXIST:{code:t.GeneralError,message:"Document type already exists."},DOCUMENT_TYPE_NOT_FOUND:{code:t.GeneralError,message:"Document type not found."},CANNOT_CHANGE_USER_EMAIL:{code:t.GeneralError,message:"Cannot change email of the user. Please contact System Admin to change email."},CANNOT_CHANGE_SELF_EMAIL:{code:t.GeneralError,message:"Cannot change your own email. Please contact another System Admin to change email."},NOT_A_SSO_USER:{code:t.GeneralError,message:"User is not a {0} SSO user."},INVALID_CERT_CONFIGURED:{code:t.GeneralError,message:"Invalid Certificate configured."},SIGNATURE_WITH_SAME_NAME:{code:t.GeneralError,message:"Signature with same name already exists."},SIGNATURE_NOT_FOUND:{code:t.GeneralError,message:"Signature not found."},PASSWORD_SEQUENTIAL_CHARACTERS:{code:t.GeneralError,message:"Password cannot contain sequential characters."},PASSWORD_REPEATED_CHARACTERS:{code:t.GeneralError,message:"Password cannot contain repeated characters."},PASSWORD_CANNOT_CONTAIN_NAME:{code:t.GeneralError,message:"Password cannot contain name."},PASSWORD_COMPROMISED:{code:t.GeneralError,message:"Password has been compromised. Please provide a different password."},INVALID_RATE_CARD_DATA:{code:t.GeneralError,message:"Rate card data is invalid for Rate Card ID: {0}"},INVALID_SUB_PRODUCT_DATA:{code:t.GeneralError,message:"Sub Product data is invalid for Product Subtype: {0}"},ESIGN_ERROR:{code:t.GeneralError,message:"ESIGN ERROR: {0}"},DOCUSIGN_ERROR:{code:t.GeneralError,message:"DOCUSIGN ERROR: {0}"},COULD_NOT_PARSE_PROPERTIES_DATA:{code:t.GeneralError,message:"Could not parse properties data."},CLIENT_NOT_FOUND:{code:t.GeneralError,message:"Client with Id {0} not found. {1}"},CLIENT_IMPORT_NOT_FOUND:{code:t.GeneralError,message:"Client import not found"},ORION_CLIENT_IMPORT_NOT_ENABLED:{code:t.GeneralError,message:"Orion client import is not enabled."},DOCUMENT_NAME_ALREADY_EXISTS:{code:t.GeneralError,message:"Document with same name already exists"},VIEW_ALREADY_EXISTS:{code:t.GeneralError,message:"View already exists for table {0}."},VIEW_NOT_FOUND:{code:t.GeneralError,message:'View with Id: "{0}" does not exist for table: "{1}".'},USER_VIEW_NOT_FOUND:{code:t.GeneralError,message:'User View for table "{0}" does not exist.'},CONTENT_NOT_FOUND:{code:t.GeneralError,message:"Content not found."},CATEGORY_ID_ALREADY_EXISTS:{code:t.GeneralError,message:"Category Id already exists"},CATEGORY_ID_NOT_FOUND:{code:t.GeneralError,message:"Category Id not found"},CONTENT_SYNCED:{code:t.GeneralError,message:"Synced with tenants. Content can not be deleted."},CATEGORY_ALREADY_USED:{code:t.GeneralError,message:"Category is used by content."},CANNOT_CLOSE_CONVERTED_OPPORTUNITY:{code:t.GeneralError,message:"Cannot close converted opportunity."},UNABLE_TO_GENERATE_THUMBNAIL:{code:t.GeneralError,message:"Unable to generate thumbnails. PDFGen Status:{0}. PDFGen Message:{1}"},INVALID_TAX_ID:{code:t.GeneralError,message:"Invalid Tax Id"},INVALID_WEBHOOK_DATA:{code:t.GeneralError,message:"Invalid webhook data - {0} while processing webook {1}"},DUPLICATE_TAX_ID:{code:t.GeneralError,message:"{0} entity with the same social security number already exists."},FINANCIALDATA_NOT_FOUND:{code:t.InternalServerError,message:"{0} financial not found."},DEALFINANCIAL_NOT_FOUND:{code:t.GeneralError,message:"Deal Financial loan request not found."},ATTOM_UNAUTHORIZED:{code:t.GeneralError,message:"Attom Unauthorised"},ATTOM_BAD_REQUEST:{code:t.GeneralError,message:"Attom Bad Request"},ATTOM_INTERNAL_SERVER_ERROR:{code:t.GeneralError,message:"Attom Internal Server Error"},ATTOM_SUCCESS_WITHOUT_RESULT:{code:t.GeneralError,message:"Attom Success Without Result"},ATTOM_UNEXPECTED_ERROR:{code:t.GeneralError,message:"Attom Unexpected Error"},ATTOM_GEOCODER_NO_RESULT:{code:t.GeneralError,message:"Attom Geocoder Search No Result"},ATTOM_GEOCODER_ZIPCODE_REQUIRED:{code:t.GeneralError,message:"Attom Geocoder Zipcode Required"},ATTOM_GEOCODER_ADDRESS_NOT_IDENTIFIED:{code:t.GeneralError,message:"Attom Geocoder Address Not Identified"},JOB_NOT_CONFIGURED:{code:t.InternalServerError,message:"No job configured for functionName {0}."},RUNNER_ALREADY_EXISTS:{code:t.GeneralError,message:"Runner already exists."},RUNNER_NOT_FOUND:{code:t.GeneralError,message:"Runner not found."},JOB_ALREADY_EXISTS:{code:t.GeneralError,message:"Job already exists."},JOB_NOT_FOUND:{code:t.GeneralError,message:"Job not found."},CANNOT_DELETE_RUNNER:{code:t.GeneralError,message:'Cannot delete runner "{0}".'},JOB_SCHEDULE_ALREADY_EXISTS:{code:t.GeneralError,message:"Job schedule already exists."},JOB_SCHEDULE_NOT_FOUND:{code:t.GeneralError,message:"Job schedule not found."},JOB_SCHEDULE_ALREADY_EXISTS_FOR_TENANT:{code:t.GeneralError,message:"Job schedule already exists for tenant."},INVALID_PAYLOAD_SIGNATURE:{code:t.GeneralError,message:"Invalid webhook payload signature"},INVALID_PAYLOAD:{code:t.GeneralError,message:"Invalid webhook payload"},VALIDATION_NOT_IMPLEMENTED:{code:t.GeneralError,message:"Webhook payload validation is not implemented for {0}"},DATA_NOT_PRESENT:{code:t.GeneralError,message:"Webhook data - {0} not present"},SKIP_PROCESSING:{code:t.GeneralError,message:"{0} Webhook processing skipped. Reason - {1}"},ENTITY_NOT_FOUND_FOR_360_INVITATION:{code:t.GeneralError,message:"Entity not found for while sending 360 invitation for clientId {0}"},CLIENT_ALREADY_ONBOARDED_FOR_360:{code:t.GeneralError,message:"Client already onboarded for Client 360"},ROLE_NOT_FOUND:{code:t.GeneralError,message:"Role {0} not found."},ROI_REQUEST_FAILED:{code:t.GeneralError,message:"ROI request failed. Please try again later."},OWNERSHIP_LOG_NOT_FOUND:{code:t.GeneralError,message:"Invalid ownership log Id. Please verify the ID and try again."},USER_STATE_NOT_FOUND:{code:t.GeneralError,message:"User state not found."},TRISTATE_CONTACT_INFO_NOT_FOUND:{code:t.GeneralError,message:"Tristate contact information not found."},BENEFICIAL_OWNER_NOT_FOUND:{code:t.GeneralError,message:"Beneficial Owner not found."},MAX_OWNERSHIP_PERCENTAGE_EXCEEDED:{code:t.GeneralError,message:"Ownership percentage should be less than or equal to {0}, as total ownership percentage must not exceed 100."},INVALID_MISCELLANEOUS_DOCUMENT_OWNER:{code:t.GeneralError,message:"Invalid owner for miscellaneous document."},PARTNER_REF_NOT_FOUND:{code:t.InternalServerError,message:"Partner ref not found."},DOCUMENT_TRANSFER_FAILED:{code:t.GeneralError,message:"Document transfer failed for documents."},ENTITY_DETAILS_NOT_FOUND:{code:t.InternalServerError,message:"Entity ref details not found."},PERSONAL_FINANCIAL_DATA_NOT_FOUND:{code:t.InternalServerError,message:"Personal financial data not found."},INVALID_TASK_OWNER:{code:t.InternalServerError,message:"Invalid task owner."},DRAFT_APPLICATION_UPDATE_FAILED:{code:t.InternalServerError,message:"Could not update draft application."},CANNOT_UPDATE_FORCEFULLY_COMPLETED_TASK:{code:t.InternalServerError,message:"Cannot update forcefully completed task."},COSIGNER_ENTITY_NOT_FOUND:{code:t.GeneralError,message:"Cosigner entity not found."},DEPOSIT_APPLICATION_NOT_FOUND:{code:t.GeneralError,message:"Deposit Application not found. Please verify the ID and try again."},DOCUMENT_UPLOAD_FAILED:{code:t.GeneralError,message:"Failed to upload document. Please try again later."},DOCUMENT_UPLOAD_RETRY_FAILED:{code:t.InternalServerError,message:"Failed to retry document upload."},INVALID_LOAN_WORKFLOW:{code:t.InternalServerError,message:"Invalid loan workflow."},INTERSDK_CALL_FAILED:{code:t.InternalServerError,message:"Inter-sdk call failed."},MISSING_SDK_AUTHENTICATION:{code:t.InternalServerError,message:"Missing SDK authentication."},MISSING_IDP_CONFIGURATION:{code:t.InternalServerError,message:"Missing IDP Configuration from tenant settings."},SSO_SAML2_SERVICE_PROVIDER_INVALID_METADATA:{code:t.InternalServerError,message:"Invalid SAML 2.0 metadata configuration for service provider."},LENDER_REFID_NOT_FOUND:{code:t.InternalServerError,message:"Lender refId not found."},LENDER_FEE_SCHEDULE_NOT_FOUND:{code:t.GeneralError,message:"Fee schedule not found."},UNABLE_TO_MATCH_FEE_SCHEDULE:{code:t.GeneralError,message:"No fee schedule found for this product."},INVALID_REPORT_STATUS:{code:t.GeneralError,message:"Invalid report status."},USER_FEATURE_NOT_FOUND:{code:t.GeneralError,message:"{0} User feature not found."},FEE_STRUCTURE_NOT_FOUND:{code:t.GeneralError,message:"Fee structure not found."},USER_CONNECTION_NOT_FOUND:{code:t.GeneralError,message:"User connection not found."},LIABILITY360_NOT_CONNECTED:{code:t.GeneralError,message:"Liability 360 not connected."},LIABILITY360_CONNECTION_NOT_FOUND:{code:t.GeneralError,message:"Liability 360 connection not found."},LIABILITY360_ALREADY_PREVIEWED:{code:t.GeneralError,message:"Liability 360 already previewed."},LIABILITY360_ALREADY_CONNECTED:{code:t.GeneralError,message:"Already connected to liability 360."},LIABILITY360_ALREADY_DISCONNECTED:{code:t.GeneralError,message:"Already disconnected from liability 360."},USER_AUTHORIZATION_NOT_FOUND:{code:t.GeneralError,message:"User authorization not found for {0}."},LIABILITY360_INVITATION_NOT_ACCEPTED:{code:t.GeneralError,message:"Invitation for liability 360 not accepted."},...O(Ht),...O(bt),...O(Xt),...O(Kt),...O(xt),...O(Zt),...O(Qt),...O(zt),...O(Jt),...O(qt),...O(kt),...O(jt)};function pa(e){let n="";return e instanceof Error?e.stack?n=e.stack:n=`Error: ${e.message}`:n=JSON.stringify(e),n}const Ma=Object.freeze(Object.defineProperty({__proto__:null,get AttomErrorCode(){return L},get BridgeftErrorCode(){return C},BridgeftErrorMessages:Qt,get CrsErrorCode(){return m},CrsErrorMessages:Zt,get EgnyteErrorCode(){return p},EgnyteErrorMessages:Jt,get EncompassErrorCode(){return g},EncompassErrorMessages:qt,ErrorCode:va,ErrorMessages:$t,ErrorWithCode:fa,get JsonRpcErrorCode(){return t},get LosErrorCode(){return h},LosErrorMessages:zt,get OcrolusErrorCode(){return S},OcrolusErrorMessages:Kt,get OpenAIErrorCode(){return M},OpenAIErrorMessages:bt,get OrionErrorCode(){return G},OrionErrorMessages:Xt,get SamuelErrorCode(){return v},SamuelErrorMessages:Ht,get SupernovaErrorCode(){return P},SupernovaErrorMessages:kt,get UpswotErrorCode(){return U},UpswotErrorMessages:xt,get WebhookErrorCode(){return f},get ZillowErrorCode(){return F},ZillowErrorMessages:jt,getErrorMessage:pa},Symbol.toStringTag,{value:"Module"}));let W="",w="",H="",b="",X="",K="",x="",q="",Z="",Q="",k="",j,l,z;function Ga(e){z=e}function ha(e){W=e}function Va(e){b=e}function Ya(e){K=e}function Ba(e){X=e}function Wa(e){w=e}function wa(e){H=e}function Ha(e){Q=e}function ba(e){x=e}function Xa(e,n){q=e,Z=n}function Ka(e){k=e}function xa(e){j=e}function qa(e){l=e}async function a(e,n){var I;if(!W)throw new Error("Call server.setUrl() first to set server URL.");const T=Za();let E=wt.request(T,e,n).serialize();E=JSON.parse(JSON.stringify(E)),j&&await j(E);let s={};s["Content-Type"]="application/json",w&&(s.AccessToken=w),H&&(s.JWT=H),x&&(s.AdminAccessToken=x),q&&(s.ApiKey=q),Z&&(s.ApiSecret=Z),b&&(s.PairingKey=b),X&&(s.OriginId=X),K&&(s.RefId=K),Q&&(s.Version=Q),k&&(s.SessionUrl=k),z&&(s["X-Request-Id"]=z);try{let _=W;_.endsWith("/")||(_+="/"),_+=e.replace(/_/g,"/");const A=await yt.post(_,E,{headers:s});if(A.status!==200)throw new Error(`Server error ${A.status} - ${A.statusText}`);const o=wt.parse(JSON.stringify(A.data));if(o.type==="error")throw console.error(`[ErrorWithCode] ${o.payload.error.code} - ${o.payload.error.message}`),new D(o.payload.error.message,o.payload.error.code);if(o.type!=="success")throw console.error("Unexpected response from server. Response Object: ",o),new Error(`Unexpected response from server. Response Object: ${o}`);const Y=(c_,d)=>{if(/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+)|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d)|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d)/.test(d)){const Wt=new Date(d);return isNaN(Wt.getTime())?d:Wt}return d};return o.payload.result=JSON.parse(JSON.stringify(o.payload.result),Y),l&&await l(o.payload,!1),o.payload.result}catch(_){throw((I=_==null?void 0:_.response)==null?void 0:I.status)===0?_=new D("Connection failed or request is forbidden",t.InternalServerError):_.code==="ENOTFOUND"&&(_=new D("Unable to resolve host",t.InternalServerError)),_ instanceof D&&(_.data={..._.data,requestId:T}),l&&await l(_,!0),_}}function Za(){const n="0123456789";let T="";for(let E=0;E<15;E++){const s=Math.floor(Math.random()*n.length);T+=n[s]}return T}const Qa=Object.freeze(Object.defineProperty({__proto__:null,callJsonRpcMethod:a,setAccessToken:Wa,setAdminAccessToken:ba,setApiKeyAndSecret:Xa,setJWT:wa,setOriginId:Ba,setPairingKey:Va,setRefId:Ya,setRequestIntercepter:xa,setResponseIntercepter:qa,setSessionUrl:Ka,setUrl:ha,setVersion:Ha,setXRequestId:Ga},Symbol.toStringTag,{value:"Module"}));new N;async function ka(e){return await a("admin_client_getPaginatedClientImports",e)}async function ja(e){return await a("admin_client_getImportLogDetails",e)}async function za(e){return await a("admin_client_getImportLogs",e)}const Ja=Object.freeze(Object.defineProperty({__proto__:null,getImportLogDetails:ja,getImportLogs:za,getPaginatedClientImports:ka},Symbol.toStringTag,{value:"Module"}));var J;(function(e){e.Advisor="Advisor",e.Lender="Lender",e.Aggregator="Aggregator",e.Marketplace="Marketplace",e.BrokerDealer="BrokerDealer",e.ParentContainer="ParentContainer"})(J||(J={}));var $;(function(e){e.Pending="Pending",e.Accepted="Accepted",e.Revoked="Revoked"})($||($={}));var y;(function(e){e.InitialRequest="InitialRequest",e.IntroCall="IntroCall",e.PSASent="PSASent",e.PSASigned="PSASigned",e.ClosedLost="ClosedLost",e.Active="Active",e.Inactive="Inactive",e.Deleting="Deleting",e.MarkedForPermanentDeletion="MarkedForPermanentDeletion"})(y||(y={}));var ee;(function(e){e.Contact="Contact",e.InvitationSent="InvitationSent",e.Active="Active"})(ee||(ee={}));var ne;(function(e){e.small="small",e.medium="medium",e.large="large"})(ne||(ne={}));var te;(function(e){e.small="small",e.medium="medium",e.large="large",e.none="none"})(te||(te={}));var ae;(function(e){e.Account="Account",e.Tenant="Tenant"})(ae||(ae={}));var ie;(function(e){e.Owner="Owner",e.Member="Member"})(ie||(ie={}));var re;(function(e){e.TenantAdmin="TenantAdmin",e.SystemAdmin="SystemAdmin",e.BusinessOwner="BusinessOwner",e.BusinessMember="BusinessMember",e.EndCustomer="EndCustomer",e.AuthorizedTransactor="AuthorizedTransactor",e.EgnyteUser="EgnyteUser",e.RelationshipManager="RelationshipManager",e.DealSpecialist="DealSpecialist",e.CreditUser="CreditUser",e.PiiRestricted="PiiRestricted",e.DocumentSpecialist="DocumentSpecialist",e.FinancialAdvisor="FinancialAdvisor",e.ComplianceOfficer="ComplianceOfficer",e.GovernanceUser="GovernanceUser",e.DealObserver="DealObserver"})(re||(re={}));var _e;(function(e){e.Account="Account",e.User="User",e.Deal="Deal",e.Deposit="Deposit",e.RequiredDocument="RequiredDocument",e.Disclosure="Disclosure",e.Team="Team",e.Client="Client",e.Tenant="Tenant",e.DataSync="DataSync",e.AccessGrant="AccessGrant",e.RIADeal="RIADeal",e.Egnyte="Egnyte",e.PiiRestricted="PiiRestricted",e.Resource="Resource",e.DealArchive="DealArchive",e.Prospect="Prospect",e.DocumentReview="DocumentReview",e.Content="Content"})(_e||(_e={}));var se;(function(e){e.Account="Account",e.Entity="Entity",e.Tenant="Tenant"})(se||(se={}));var oe;(function(e){e.Login="Login",e.AcceptInvitation="AcceptInvitation"})(oe||(oe={}));var Ee;(function(e){e.google="google",e.salesforce="salesforce",e.okta="okta",e.orion="orion"})(Ee||(Ee={}));var Oe;(function(e){e.FeeOnly="FeeOnly",e.FeeBased="FeeBased"})(Oe||(Oe={}));var ce;(function(e){e.NeedsAssessment="NeedsAssessment",e.Entity="Entity",e.Collateral="Collateral"})(ce||(ce={}));var Ae;(function(e){e.Orion="Orion"})(Ae||(Ae={}));var Ne;(function(e){e.Brinker="Brinker",e.OAT="OAT",e.OPS="OPS",e.TownSquare="TownSquare"})(Ne||(Ne={}));var Te;(function(e){e.Green="Green",e.Red="Red",e.Blue="Blue",e.Yellow="Yellow",e.Black="Black",e.Orange="Orange"})(Te||(Te={}));var Ie;(function(e){e.Deal="Deal",e.Client="Client"})(Ie||(Ie={}));var Re;(function(e){e.TriState="TriState",e.Supernova="Supernova"})(Re||(Re={}));var le;(function(e){e.Pending="Pending",e.Processing="Processing",e.Complete="Complete",e.Failed="Failed"})(le||(le={}));var de;(function(e){e.Deal="Deal",e.Platform="Platform"})(de||(de={}));var De;(function(e){e.Pending="Pending",e.RequestSent="RequestSent",e.Verified="Verified",e.Failed="Failed"})(De||(De={}));var ue;(function(e){e.Orion="Orion",e.Salesforce="Salesforce"})(ue||(ue={}));var Le;(function(e){e.Liability360="Liability360",e.PremiumServices="PremiumServices",e.Loan="Loan",e.Platform="Platform"})(Le||(Le={}));var Se;(function(e){e.Pending="Pending",e.Active="Active",e.Inactive="Inactive"})(Se||(Se={}));var Ue;(function(e){e.FlatRate="FlatRate",e.Tiered="Tiered"})(Ue||(Ue={}));var ge;(function(e){e.Count="Count",e.Date="Date"})(ge||(ge={}));var me;(function(e){e.CreditCard="CreditCard",e.DirectDebit="DirectDebit"})(me||(me={}));var Ce;(function(e){e.Monthly="Monthly"})(Ce||(Ce={}));var Pe;(function(e){e.Default="Default",e.Liability360OnBoarding="Liability360OnBoarding"})(Pe||(Pe={}));var Fe;(function(e){e.Pending="Pending",e.Completed="Completed"})(Fe||(Fe={}));var fe;(function(e){e.Account="Account",e.User="User"})(fe||(fe={}));var ve;(function(e){e.full="full",e.square="square",e.favicon="favicon",e.email="email"})(ve||(ve={}));const $a=Object.freeze(Object.defineProperty({__proto__:null,get AccountStatus(){return y},get AccountType(){return J},get AdvisorOnBoardingStatus(){return Fe},get ClientImportStatus(){return le},get ContactStatus(){return ee},get CustodianVerificationStatus(){return De},get ExternalAuthenticationProvider(){return ue},get Feature(){return Le},get FeeStructureFrequency(){return Ce},get FeeStructurePaymentMethod(){return me},get FeeStructureType(){return Ue},get FeeType(){return Oe},get FieldOwner(){return ce},get IdpAuthMethod(){return oe},get ImageColor(){return Te},get LogoType(){return ve},get OrionFirmSubtype(){return Ne},get OrionFirmType(){return Ae},get RegisteredLosSystems(){return Re},get Roles(){return re},get Scope(){return _e},get SsoProvider(){return Ee},get TeamRole(){return ie},get TeamType(){return Ie},get ThemeOwner(){return ae},get ThemeShadow(){return te},get ThemeSize(){return ne},get TierValueType(){return ge},get UserEventScheduleType(){return Pe},get UserFeatureOwner(){return fe},get UserFeatureStatus(){return Se},get UserInvitationStatus(){return $},get UserOwner(){return se},get UserViewType(){return de}},Symbol.toStringTag,{value:"Module"}));var pe;(function(e){e.Pending="Pending",e.Calculated="Calculated",e.Failed="Failed"})(pe||(pe={}));var Me;(function(e){e.Pending="Pending",e.Generated="Generated",e.Failed="Failed"})(Me||(Me={}));var Ge;(function(e){e.UnpaidReceivables="UnpaidReceivables",e.SettledInvoices="SettledInvoices"})(Ge||(Ge={}));const ya=Object.freeze(Object.defineProperty({__proto__:null,get AmountDueCalculationStatus(){return pe},get ReportGenerationStatus(){return Me},get ReportType(){return Ge}},Symbol.toStringTag,{value:"Module"}));var he;(function(e){e.password="password",e.refresh_token="refresh_token"})(he||(he={}));var Ve;(function(e){e.SystemAdmin="SystemAdmin"})(Ve||(Ve={}));const ei=Object.freeze(Object.defineProperty({__proto__:null,get GrantType(){return he},get UserIdpRoles(){return Ve}},Symbol.toStringTag,{value:"Module"}));var V;(function(e){e.Provisioning="Provisioning",e.ConnectionRequested="ConnectionRequested",e.Connected="Connected"})(V||(V={}));const ni=Object.freeze(Object.defineProperty({__proto__:null,get TenantStatus(){return V}},Symbol.toStringTag,{value:"Module"}));var Ye;(function(e){e.advisor="advisor",e.provider="provider",e.admin="admin",e.client360="client360",e.idp="idp"})(Ye||(Ye={}));var Be;(function(e){e.Prod="Prod",e.Test="Test"})(Be||(Be={}));var We;(function(e){e.Advisor="Advisor",e.Lender="Lender",e.Marketplace="Marketplace",e.SuperAdmin="SuperAdmin",e.Client360="Client360",e.Idp="Idp"})(We||(We={}));var we;(function(e){e.AE="AE",e.AF="AF",e.AL="AL",e.DZ="DZ",e.AD="AD",e.AO="AO",e.AG="AG",e.AR="AR",e.AM="AM",e.AW="AW",e.AU="AU",e.AT="AT",e.AZ="AZ",e.BS="BS",e.BH="BH",e.BD="BD",e.BB="BB",e.BY="BY",e.BE="BE",e.BZ="BZ",e.BJ="BJ",e.BT="BT",e.BO="BO",e.BA="BA",e.BW="BW",e.BR="BR",e.IO="IO",e.BN="BN",e.BG="BG",e.BF="BF",e.BI="BI",e.KH="KH",e.CA="CA",e.CM="CM",e.CV="CV",e.BQ="BQ",e.CF="CF",e.TD="TD",e.CL="CL",e.CN="CN",e.CO="CO",e.KM="KM",e.CD="CD",e.CG="CG",e.CR="CR",e.CI="CI",e.HR="HR",e.CU="CU",e.CW="CW",e.CY="CY",e.CZ="CZ",e.DK="DK",e.DJ="DJ",e.DM="DM",e.DO="DO",e.EC="EC",e.EG="EG",e.SV="SV",e.GQ="GQ",e.ER="ER",e.EE="EE",e.ET="ET",e.FJ="FJ",e.FI="FI",e.FR="FR",e.GF="GF",e.PF="PF",e.GA="GA",e.GM="GM",e.GE="GE",e.DE="DE",e.GH="GH",e.GR="GR",e.GD="GD",e.GP="GP",e.GU="GU",e.GT="GT",e.GN="GN",e.GW="GW",e.GY="GY",e.HT="HT",e.HN="HN",e.HK="HK",e.HU="HU",e.IS="IS",e.IN="IN",e.ID="ID",e.IR="IR",e.IQ="IQ",e.IE="IE",e.IL="IL",e.IT="IT",e.JM="JM",e.JP="JP",e.JO="JO",e.KZ="KZ",e.KE="KE",e.KI="KI",e.XK="XK",e.KW="KW",e.KG="KG",e.LA="LA",e.LV="LV",e.LB="LB",e.LS="LS",e.LR="LR",e.LY="LY",e.LI="LI",e.LT="LT",e.LU="LU",e.MO="MO",e.MK="MK",e.MG="MG",e.MW="MW",e.MY="MY",e.MV="MV",e.ML="ML",e.MT="MT",e.MH="MH",e.MQ="MQ",e.MR="MR",e.MU="MU",e.MX="MX",e.FM="FM",e.MD="MD",e.MC="MC",e.MN="MN",e.ME="ME",e.MA="MA",e.MZ="MZ",e.MM="MM",e.NA="NA",e.NR="NR",e.NP="NP",e.NL="NL",e.NC="NC",e.NZ="NZ",e.NI="NI",e.NE="NE",e.NG="NG",e.KP="KP",e.NO="NO",e.OM="OM",e.PK="PK",e.PW="PW",e.PS="PS",e.PA="PA",e.PG="PG",e.PY="PY",e.PE="PE",e.PH="PH",e.PL="PL",e.PT="PT",e.PR="PR",e.QA="QA",e.RE="RE",e.RO="RO",e.RU="RU",e.RW="RW",e.KN="KN",e.LC="LC",e.VC="VC",e.WS="WS",e.SM="SM",e.ST="ST",e.SA="SA",e.SN="SN",e.RS="RS",e.SC="SC",e.SL="SL",e.SG="SG",e.SK="SK",e.SI="SI",e.SB="SB",e.SO="SO",e.ZA="ZA",e.KR="KR",e.SS="SS",e.ES="ES",e.LK="LK",e.SD="SD",e.SR="SR",e.SZ="SZ",e.SE="SE",e.CH="CH",e.SY="SY",e.TW="TW",e.TJ="TJ",e.TZ="TZ",e.TH="TH",e.TL="TL",e.TG="TG",e.TO="TO",e.TT="TT",e.TN="TN",e.TR="TR",e.TM="TM",e.TV="TV",e.UG="UG",e.UA="UA",e.GB="GB",e.US="US",e.UY="UY",e.UZ="UZ",e.VU="VU",e.VA="VA",e.VE="VE",e.VN="VN",e.YE="YE",e.ZM="ZM",e.ZW="ZW"})(we||(we={}));var He;(function(e){e.Automobile="Automobile",e.Crypto="Crypto",e.eCommerce="eCommerce",e.Finance="Finance",e.RealEstate="RealEstate",e.Retail="Retail",e.Other="Other"})(He||(He={}));var be;(function(e){e.USD="USD",e.CAD="CAD",e.AED="AED"})(be||(be={}));var Xe;(function(e){e.Pending="Pending",e.Sending="Sending",e.Sent="Sent",e.Failed="Failed",e.Suppressed="Suppressed",e.Rejected="Rejected",e.Bounced="Bounced"})(Xe||(Xe={}));var Ke;(function(e){e.Account="Account",e.Content="Content",e.Provider="Provider",e.Entity="Entity",e.Loan="Loan",e.Messaging="Messaging",e.Task="Task",e.Survey="Survey"})(Ke||(Ke={}));var xe;(function(e){e.Courier="Courier",e.Sendgrid="Sendgrid",e.Ses="Ses",e.DisableNotification="DisableNotification"})(xe||(xe={}));var qe;(function(e){e.Ocrolus="Ocrolus",e.Upswot="Upswot",e.AwsLambda="AwsLambda",e.Docusign="Docusign",e.Beneficient="Beneficient",e.Samuel="Samuel",e.AwsSns="AwsSns",e.Supernova="Supernova"})(qe||(qe={}));var Ze;(function(e){e.PendingProcessing="PendingProcessing",e.Processed="Processed",e.Skipped="Skipped",e.Failed="Failed",e.Invalid="Invalid"})(Ze||(Ze={}));var Qe;(function(e){e.ProvisionNewTenant="ProvisionNewTenant",e.RequiredDocument="RequiredDocument",e.License="License",e.TenantConfigProductTypesAndSubTypes="TenantConfigProductTypesAndSubTypes",e.TenantNotificationConfigServiceProvider="TenantNotificationConfigServiceProvider",e.LenderPublicInfo="LenderPublicInfo",e.PreflightSummaryNotifications="PreflightSummaryNotifications",e.OfferCurationSearchData="OfferCurationSearchData",e.TenantRiskModelMetadataConfig="TenantRiskModelMetadataConfig",e.TenantRiskModelOverallWeightsConfig="TenantRiskModelOverallWeightsConfig",e.TenantRiskModelSubFactorWeightsConfig="TenantRiskModelSubFactorWeightsConfig",e.TenantAdminRateCards="TenantAdminRateCards",e.MarketplaceInfo="MarketplaceInfo",e.RateCardSyncStatus="RateCardSyncStatus",e.PrimeRate="PrimeRate",e.Resource="Resource",e.SyncLoanDeals="SyncLoanDeals",e.SyncDeletedLoanDeals="SyncDeletedLoanDeals",e.DocumentTypes="DocumentTypes",e.UpdateDocumentNameInRequiredDocuments="UpdateDocumentNameInRequiredDocuments",e.SyncFirm="SyncFirm",e.DeleteTenantSyncedData="DeleteTenantSyncedData",e.SyncClientImport="SyncClientImport",e.PdfTemplate="PdfTemplate",e.Content="Content",e.ContentCategory="ContentCategory",e.ContentImageGallery="ContentImageGallery",e.RunnerConfig="RunnerConfig"})(Qe||(Qe={}));var ke;(function(e){e.PendingProcessing="PendingProcessing",e.Processed="Processed",e.Failed="Failed"})(ke||(ke={}));var je;(function(e){e.Chart="Chart",e.Table="Table",e.Card="Card"})(je||(je={}));var ze;(function(e){e.Pie="Pie",e.Bar="Bar",e.Line="Line",e.Doughnut="Doughnut",e.DoughnutPercent="DoughnutPercent"})(ze||(ze={}));var Je;(function(e){e.S3="S3",e.Egnyte="Egnyte"})(Je||(Je={}));var $e;(function(e){e.Pending="Pending",e.S3DeleteFailed="S3DeleteFailed",e.Success="Success",e.EgnyteUploadFailed="EgnyteUploadFailed",e.ManualS3DeletionRequired="ManualS3DeletionRequired"})($e||($e={}));var ye;(function(e){e.Daily="Daily",e.EveryWeekday="EveryWeekday",e.WeeklyOnMonday="WeeklyOnMonday",e.MonthlyOnSecondMonday="MonthlyOnSecondMonday"})(ye||(ye={}));var en;(function(e){e.PlatformEngagement="PlatformEngagement",e.UserRetention="UserRetention",e.ASMReports="ASMReports"})(en||(en={}));const ti=Object.freeze(Object.defineProperty({__proto__:null,get App(){return Ye},get ChartType(){return ze},get CountryId(){return we},get CurrencyId(){return be},get DmsProvider(){return Je},get IndustryId(){return He},get KafkaMessageType(){return Qe},get KakfkaMessageStatus(){return ke},get Mode(){return Be},get NotificationOwner(){return Ke},get NotificationServiceProvider(){return xe},get NotificationStatus(){return Xe},get PlatformReportType(){return en},get ReportDeliveryFrequency(){return ye},get ReportWidgetType(){return je},get S3EgnyteTransferStatus(){return $e},get TenantType(){return We},get WebhookSource(){return qe},get WebhookStatus(){return Ze}},Symbol.toStringTag,{value:"Module"}));var nn;(function(e){e.Financial="Financial"})(nn||(nn={}));var tn;(function(e){e.OneTime="OneTime",e.Date="Date"})(tn||(tn={}));var an;(function(e){e.CreditAuthorization="CreditAuthorization",e.BankData="BankData",e.InvestmentData="InvestmentData",e.AccountancyData="AccountancyData",e.CustodyAgreement="CustodyAgreement"})(an||(an={}));const ai=Object.freeze(Object.defineProperty({__proto__:null,get ConsentScope(){return an},get ConsentType(){return nn},get ConsentValidity(){return tn}},Symbol.toStringTag,{value:"Module"}));var rn;(function(e){e.PDFTemplate="PDFTemplate",e.EmailTemplate="EmailTemplate",e.VideoLink="VideoLink",e.PDFFile="PDFFile",e.VideoFile="VideoFile",e.OtherFile="OtherFile"})(rn||(rn={}));var _n;(function(e){e.ReviewPending="ReviewPending",e.Approved="Approved",e.Rejected="Rejected"})(_n||(_n={}));var sn;(function(e){e.PDFTemplate="PDFTemplate",e.EmailTemplate="EmailTemplate",e.PDF="PDF",e.Word="Word",e.Excel="Excel",e.Powerpoint="Powerpoint",e.Audio="Audio",e.Video="Video",e.Image="Image",e.Zip="Zip",e.OtherFile="OtherFile"})(sn||(sn={}));const ii=Object.freeze(Object.defineProperty({__proto__:null,get ContentStatus(){return _n},get ContentType(){return rn},get IconType(){return sn}},Symbol.toStringTag,{value:"Module"}));var on;(function(e){e.Entity="Entity",e.Collateral="Collateral",e.DraftApplication="DraftApplication",e.Tasks="Tasks",e.Interactions="Interactions",e.Financials="Financials",e.LenderOptions="LenderOptions",e.RiskRating="RiskRating",e.Messages="Messages",e.Notes="Notes",e.BookOfBusiness="BookOfBusiness",e.Obligation="Obligation"})(on||(on={}));const ri=Object.freeze(Object.defineProperty({__proto__:null,get Owner(){return on}},Symbol.toStringTag,{value:"Module"}));var En;(function(e){e.NeedsAssessment="NeedsAssessment",e.IndicativeOptions="IndicativeOptions",e.Processing="Processing",e.Onboarded="Onboarded"})(En||(En={}));var On;(function(e){e.NewDeposit="NewDeposit",e.Welcome="Welcome",e.TaskAssignment="TaskAssignment",e.MessageReceived="MessageReceived"})(On||(On={}));const _i=Object.freeze(Object.defineProperty({__proto__:null,get NotificationType(){return On},get Status(){return En}},Symbol.toStringTag,{value:"Module"}));var cn;(function(e){e.Lender="Lender",e.Advisor="Advisor"})(cn||(cn={}));var An;(function(e){e.Email="Email",e.Portal="Portal",e.ApplicationSubmission="ApplicationSubmission",e.CreditAuthorization="CreditAuthorization",e.UserAuthorizations="UserAuthorizations",e.ThirdParty="ThirdParty",e.DealInitiation="DealInitiation",e.LenderOptions="LenderOptions",e.BrandedPdfContent="BrandedPdfContent",e.MarketingEmail="MarketingEmail",e.CustodyAgreement="CustodyAgreement",e.MortgageLoanSubmission="MortgageLoanSubmission",e.CombinedCosignerCreditAuthorization="CombinedCosignerCreditAuthorization"})(An||(An={}));const si=Object.freeze(Object.defineProperty({__proto__:null,get DeliveryTarget(){return An},get DisclosureType(){return cn}},Symbol.toStringTag,{value:"Module"}));var Nn;(function(e){e.SuperAdmin="SuperAdmin",e.Tenant="Tenant",e.Account="Account"})(Nn||(Nn={}));var Tn;(function(e){e.Overwrite="Overwrite",e.Append="Append"})(Tn||(Tn={}));const oi=Object.freeze(Object.defineProperty({__proto__:null,get DocumentOwner(){return Nn},get ImportActionType(){return Tn}},Symbol.toStringTag,{value:"Module"}));var In;(function(e){e.Docusign="Docusign"})(In||(In={}));var Rn;(function(e){e.PSA="PSA",e.FundsImportAgreement="FundsImportAgreement",e.OrionSelfRegistration="OrionSelfRegistration"})(Rn||(Rn={}));var ln;(function(e){e.Sent="Sent",e.Completed="Completed",e.Declined="Declined",e.Voided="Voided",e.Created="Created",e.Delivered="Delivered",e.Signed="Signed"})(ln||(ln={}));const Ei=Object.freeze(Object.defineProperty({__proto__:null,get ESignEvents(){return Rn},get ESignProvider(){return In},get ESignStatus(){return ln}},Symbol.toStringTag,{value:"Module"}));var dn;(function(e){e.Individual="Individual",e.Business="Business",e.SelfEmployed="SelfEmployed"})(dn||(dn={}));var Dn;(function(e){e.Citizen="Citizen",e.GreenCardHolder="GreenCardHolder",e.ResidentAlien="ResidentAlien",e.Other="Other"})(Dn||(Dn={}));var un;(function(e){e.ActiveDuty="ActiveDuty",e.Reserve="Reserve",e.Veteran="Veteran",e.NotApplicable="NotApplicable"})(un||(un={}));var Ln;(function(e){e.INCOME="INCOME",e.EXPENSE="EXPENSE",e.BALANCE="BALANCE",e.INVESTMENT="INVESTMENT"})(Ln||(Ln={}));var Sn;(function(e){e.House="House",e.Apartment="Apartment",e.Condo="Condo",e.Lot="Lot",e.Land="Land",e.Building="Building",e.Other="Other"})(Sn||(Sn={}));var Un;(function(e){e.ArtCollection="ArtCollection",e.Jewelry="Jewelry",e.Collectibles="Collectibles"})(Un||(Un={}));var gn;(function(e){e.Orion="Orion"})(gn||(gn={}));var mn;(function(e){e.InvitationSent="InvitationSent",e.InvitationAccepted="InvitationAccepted",e.Active="Active",e.Inactive="Inactive"})(mn||(mn={}));const Oi=Object.freeze(Object.defineProperty({__proto__:null,get Citizenship(){return Dn},get EntityType(){return dn},get ExternalClientImportSource(){return gn},get FinanceCategoryType(){return Ln},get MilitaryStatus(){return un},get PhysicalAssets(){return Un},get PropertyType(){return Sn},get UserConnectionStatus(){return mn}},Symbol.toStringTag,{value:"Module"}));var Cn;(function(e){e.Individual="Individual",e.Business="Business",e.SelfEmployed="SelfEmployed"})(Cn||(Cn={}));const ci=Object.freeze(Object.defineProperty({__proto__:null,get EntityType(){return Cn}},Symbol.toStringTag,{value:"Module"}));var Pn;(function(e){e.Operational="Operational",e.Outage="Outage"})(Pn||(Pn={}));var Fn;(function(e){e.Application="Application",e.BackgroundJobs="BackgroundJobs",e.DatabaseConnectivity="DatabaseConnectivity",e.NotificationService="NotificationService",e.ThirdPartyServices="ThirdPartyServices"})(Fn||(Fn={}));var fn;(function(e){e.Upswot="Upswot",e.Ocrolus="Ocrolus"})(fn||(fn={}));const Ai=Object.freeze(Object.defineProperty({__proto__:null,get HealthStatus(){return Pn},get SecondaryService(){return fn},get Service(){return Fn}},Symbol.toStringTag,{value:"Module"}));var vn;(function(e){e.Active="Active",e.Inactive="Inactive"})(vn||(vn={}));const Ni=Object.freeze(Object.defineProperty({__proto__:null,get Status(){return vn}},Symbol.toStringTag,{value:"Module"}));var pn;(function(e){e.Meeting="Meeting",e.Email="Email",e.PhoneCall="PhoneCall",e.Text="Text",e.WhatsApp="WhatsApp",e.Social="Social",e.PlatformMessage="PlatformMessage"})(pn||(pn={}));var Mn;(function(e){e.Great="Great",e.Good="Good",e.Average="Average",e.Poor="Poor"})(Mn||(Mn={}));var Gn;(function(e){e.Account="Account",e.Client="Client",e.Deal="Deal",e.Deposit="Deposit"})(Gn||(Gn={}));const Ti=Object.freeze(Object.defineProperty({__proto__:null,get InteractionOutcome(){return Mn},get InteractionOwner(){return Gn},get InteractionType(){return pn}},Symbol.toStringTag,{value:"Module"}));var hn;(function(e){e.FlatRate="FlatRate",e.Tiered="Tiered"})(hn||(hn={}));var Vn;(function(e){e.Percentage="Percentage",e.Amount="Amount"})(Vn||(Vn={}));var Yn;(function(e){e.FundedLoanAmount="FundedLoanAmount",e.PerLoan="PerLoan",e.OriginationFee="OriginationFee",e.DrawAmount="DrawAmount",e.DrawFee="DrawFee",e.Revenue="Revenue",e.Commitment="Commitment",e.OutstandingBalance="OutstandingBalance"})(Yn||(Yn={}));var Bn;(function(e){e.DealCount="DealCount",e.BaseAmount="BaseAmount"})(Bn||(Bn={}));var Wn;(function(e){e.Append="Append",e.Overwrite="Overwrite"})(Wn||(Wn={}));const Ii=Object.freeze(Object.defineProperty({__proto__:null,get CalculationBase(){return Yn},get FeeMethod(){return Vn},get FeeScheduleImportType(){return Wn},get PricingStructure(){return hn},get TierValueType(){return Bn}},Symbol.toStringTag,{value:"Module"}));var wn;(function(e){e.PrimaryResidence="PrimaryResidence",e.SecondaryResidence="SecondaryResidence",e.InvestmentProperty="InvestmentProperty",e.VacationProperty="VacationProperty",e.FixAndFlip="FixAndFlip",e.BusinessOfficeOrProperty="BusinessOfficeOrProperty",e.HousingDevelopment="HousingDevelopment",e.Resale="Resale",e.NewConstruction="NewConstruction",e.LandDevelopment="LandDevelopment",e.Acquisition="Acquisition",e.Clinic="Clinic",e.MedicalComplex="MedicalComplex",e.AssistedLivingFacility="AssistedLivingFacility",e.DetoxOrRecoveryClinic="DetoxOrRecoveryClinic",e.Other="Other"})(wn||(wn={}));var Hn;(function(e){e.First="First",e.Second="Second",e.Unknown="Unknown"})(Hn||(Hn={}));var bn;(function(e){e.TIN="TIN",e.EIN="EIN",e.SSN="SSN"})(bn||(bn={}));var Xn;(function(e){e.ContractorLendingPurpose="ContractorLendingPurpose",e.ResidentialMortgage="ResidentialMortgage",e.VacationProperty="VacationProperty",e.ResidentialInvestmentPropertyAuf="ResidentialInvestmentPropertyAuf",e.ResidentialInvestmentProperty="ResidentialInvestmentProperty",e.CommercialInvestmentPropertyAuf="CommercialInvestmentPropertyAuf",e.MortgageRefinanceAuf="MortgageRefinanceAuf",e.MortgageRefinance="MortgageRefinance",e.PurchaseOfficeBuilding="PurchaseOfficeBuilding",e.PurchaseLotLand="PurchaseLotLand",e.CashOutRefinance="CashOutRefinance",e.ReverseMortgage="ReverseMortgage",e.RealEstatePurchase="RealEstatePurchase",e.ResidentialRealEstateRefinance="ResidentialRealEstateRefinance",e.CommercialRealEstateRefinanceAuf="CommercialRealEstateRefinanceAuf",e.CommercialRealEstateRefinance="CommercialRealEstateRefinance",e.CommercialRealEstate="CommercialRealEstate",e.ResidentialRealEstate="ResidentialRealEstate",e.FinanceHotel="FinanceHotel",e.RefinanceHotel="RefinanceHotel",e.FinanceRestaurant="FinanceRestaurant",e.RefinanceRestaurant="RefinanceRestaurant",e.FinanceRealEstatePortfolio="FinanceRealEstatePortfolio",e.FinanceApartmentBuilding="FinanceApartmentBuilding",e.FinanceMedicalFacility="FinanceMedicalFacility",e.FinanceCondo="FinanceCondo",e.PersonalExpenses="PersonalExpenses",e.PersonalExpensesSecurities="PersonalExpensesSecurities",e.SecondMortgage="SecondMortgage",e.MortgageCashOutRefinance="MortgageCashOutRefinance",e.LotRefinance="LotRefinance",e.LotPurchase="LotPurchase",e.ResidentialConstruction="ResidentialConstruction",e.SBACommercialRealEstate="SBACommercialRealEstate",e.CommercialCashOutRefinance="CommercialCashOutRefinance",e.HomeEquity="HomeEquity",e.CommercialInvestmentProperty="CommercialInvestmentProperty",e.FHAMortgage="FHAMortgage",e.VAMortgage="VAMortgage",e.USDAMortgage="USDAMortgage",e.ResidentialRenovation="ResidentialRenovation",e.ResidentialHardMoney="ResidentialHardMoney",e.ResidentialFixAndFlip="ResidentialFixAndFlip"})(Xn||(Xn={}));var Kn;(function(e){e.EquipmentFinance="EquipmentFinance",e.BusinessExpenses="BusinessExpenses",e.NewBusinessOrStartup="NewBusinessOrStartup",e.CommercialPurchase="CommercialPurchase",e.SBA="SBA",e.BusinessVehicle="BusinessVehicle",e.BusinessRealEstate="BusinessRealEstate",e.ContractorLendingPurpose="ContractorLendingPurpose",e.WorkingCapital="WorkingCapital",e.PurchaseFranchise="PurchaseFranchise",e.PurchaseOfficeBuilding="PurchaseOfficeBuilding"})(Kn||(Kn={}));var xn;(function(e){e.Medical="Medical",e.PersonalCreditCard="PersonalCreditCard",e.HomeImprovements="HomeImprovements",e.MilitaryDetails="MilitaryDetails",e.EbFiveFinancing="EbFiveFinancing",e.PersonalExpenses="PersonalExpenses",e.PersonalExpensesSecurities="PersonalExpensesSecurities"})(xn||(xn={}));var qn;(function(e){e.Refinance="Refinance",e.Business="Business",e.Automobile="Automobile",e.Aircraft="Aircraft",e.CommercialShip="CommercialShip",e.BoatOrWatercraft="BoatOrWatercraft"})(qn||(qn={}));var Zn;(function(e){e.PersonalExpenses="PersonalExpenses",e.PersonalExpensesSecurities="PersonalExpensesSecurities",e.CollateralInfo="CollateralInfo",e.Medical="Medical",e.HomeImprovements="HomeImprovements",e.HomeEquity="HomeEquity",e.EbFiveFinancing="EbFiveFinancing",e.ReverseMortgage="ReverseMortgage",e.SBLOC="SBLOC"})(Zn||(Zn={}));var Qn;(function(e){e.Team="Team",e.Individual="Individual"})(Qn||(Qn={}));var kn;(function(e){e.CheckoutAndSubmit="CheckoutAndSubmit",e.UploadDocument="UploadDocument",e.DealAssignment="DealAssignment",e.ClientInvitation="ClientInvitation",e.Welcome="Welcome",e.DocumentReceived="DocumentReceived",e.TaskAssignment="TaskAssignment",e.MessageReceived="MessageReceived",e.ClientSatisfactionSurvey="ClientSatisfactionSurvey",e.PreQualificationInvitationOnly="PreQualificationInvitationOnly",e.PreQualificationInvitationAndRegistration="PreQualificationInvitationAndRegistration"})(kn||(kn={}));var jn;(function(e){e.TaskCompletion="TaskCompletion",e.StatusChange="StatusChange",e.DealSubmission="DealSubmission"})(jn||(jn={}));var zn;(function(e){e.Options="Options",e.Entities="Entities",e.Obligations="Obligations",e.BookOfBusiness="BookOfBusiness",e.Collateral="Collateral",e.Analysis="Analysis",e.Checkout="Checkout",e.Documents="Documents",e.Tasks="Tasks",e.Messages="Messages",e.Notes="Notes",e.Submissions="Submissions",e.Interactions="Interactions",e.Review="Review"})(zn||(zn={}));var Jn;(function(e){e.Initial="Initial",e.Continuous="Continuous",e.Final="Final"})(Jn||(Jn={}));var $n;(function(e){e.Standard="Standard",e.RIALending="RIALending",e.Program="Program",e.ProgramV2="ProgramV2"})($n||($n={}));var yn;(function(e){e.Pending="Pending",e.Accepted="Accepted",e.Returned="Returned"})(yn||(yn={}));var et;(function(e){e.NeedAdvice="NeedAdvice",e.NotEnoughInformationToProceed="NotEnoughInformationToProceed",e.Other="Other"})(et||(et={}));var nt;(function(e){e.Needs="Needs",e.Options="Options",e.Tasks="Tasks",e.Entities="Entities",e.Obligations="Obligations",e.BookOfBusiness="BookOfBusiness",e.Collateral="Collateral",e.Checkout="Checkout",e.Review="Review",e.Documents="Documents",e.Analysis="Analysis",e.Messages="Messages",e.Interactions="Interactions",e.Notes="Notes",e.Submissions="Submissions"})(nt||(nt={}));var tt;(function(e){e.AboutYou="AboutYou",e.CreditVerification="CreditVerification",e.IncomeAndFinances="IncomeAndFinances",e.AboutCosigner="AboutCosigner",e.Collateral="Collateral",e.OtherRealEstateOwned="OtherRealEstateOwned",e.AboutBusiness="AboutBusiness",e.PersonalGuarantee="PersonalGuarantee",e.BusinessFinances="BusinessFinances",e.Ownership="Ownership",e.Checkout="Checkout"})(tt||(tt={}));var at;(function(e){e.ClientDataEntry="ClientDataEntry",e.EmploymentHistory="EmploymentHistory",e.ClientDocumentUpload="ClientDocumentUpload",e.CreditVerification="CreditVerification",e.BankDataImport="BankDataImport",e.InvestmentDataImport="InvestmentDataImport",e.CosignerDataEntry="CosignerDataEntry",e.CosignerDocumentUpload="CosignerDocumentUpload",e.CollateralDataEntry="CollateralDataEntry",e.CollateralDocumentUpload="CollateralDocumentUpload",e.OtherRealEstateOwned="OtherRealEstateOwned",e.BusinessEntityDataEntry="BusinessEntityDataEntry",e.BusinessEntityDocumentUpload="BusinessEntityDocumentUpload",e.ExistingDebt="ExistingDebt",e.TaxDocumentUpload="TaxDocumentUpload",e.FinancialStatementUpload="FinancialStatementUpload",e.Ownership="Ownership",e.Checkout="Checkout"})(at||(at={}));var it;(function(e){e.Zillow="Zillow",e.Zillow2="Zillow2"})(it||(it={}));const Ri=Object.freeze(Object.defineProperty({__proto__:null,get AssessmentTemplate(){return $n},get BusinessPageParams(){return Kn},get CollateralPageParams(){return Zn},get CurationType(){return Jn},get DealFollowerNotificationType(){return jn},get DealOwnerType(){return Qn},get DealStep(){return tt},get DealSubStep(){return at},get LienPosition(){return Hn},get NotificationType(){return kn},get OtherPageParams(){return xn},get PricingServiceProvider(){return it},get PropertyType(){return wn},get RealEstatePageParams(){return Xn},get RequestHelpStatus(){return yn},get RequestHelpType(){return et},get Tabs(){return nt},get TaxIdType(){return bn},get UserActions(){return zn},get VehiclePageParams(){return qn}},Symbol.toStringTag,{value:"Module"}));var rt;(function(e){e.AdvisorClient="AdvisorClient",e.AdvisorAggregator="AdvisorAggregator"})(rt||(rt={}));var _t;(function(e){e.loan_Application="loan_Application",e.investment_Application="investment_Application",e.deposit_Application="deposit_Application"})(_t||(_t={}));const li=Object.freeze(Object.defineProperty({__proto__:null,get ChannelFor(){return rt},get ChannelModuleOwner(){return _t}},Symbol.toStringTag,{value:"Module"}));var st;(function(e){e.SuperAdmin="SuperAdmin",e.Account="Account"})(st||(st={}));const di=Object.freeze(Object.defineProperty({__proto__:null,get ResourceOwner(){return st}},Symbol.toStringTag,{value:"Module"}));var ot;(function(e){e.CreditRating="CreditRating",e.CreditUtilization="CreditUtilization",e.IncomeSustainability="IncomeSustainability",e.CreditInquiries="CreditInquiries",e.SubTypeLTV="SubTypeLTV",e.DebtYieldRatio="DebtYieldRatio",e.DebtRatio="DebtRatio",e.QuickRatio="QuickRatio",e.CurrentRatio="CurrentRatio",e.DebtServiceCoverageRatio="DebtServiceCoverageRatio",e.ProfitMargin="ProfitMargin",e.InterestCoverageRatio="InterestCoverageRatio",e.CapitalRatio="CapitalRatio"})(ot||(ot={}));var Et;(function(e){e.CreditHistory="CreditHistory",e.Capacity="Capacity",e.Capital="Capital",e.Collateral="Collateral"})(Et||(Et={}));var Ot;(function(e){e.High="High",e.Low="Low",e.Moderate="Moderate"})(Ot||(Ot={}));var ct;(function(e){e.ThirdParty="ThirdParty",e.Stated="Stated",e.Combined="Combined"})(ct||(ct={}));var At;(function(e){e.GreaterThan="GreaterThan",e.LessThan="LessThan",e.Equals="Equals",e.Between="Between"})(At||(At={}));var Nt;(function(e){e.Consumer="Consumer",e.Commercial="Commercial"})(Nt||(Nt={}));var Tt;(function(e){e.ConsumerUnsecured="ConsumerUnsecured",e.ConsumerSecured="ConsumerSecured",e.ConsumerVehicle="ConsumerVehicle",e.CommercialVehicle="CommercialVehicle",e.Mortgage="Mortgage",e.MortgageIncomeGenerating="MortgageIncomeGenerating",e.MortgageShortTerm="MortgageShortTerm",e.Construction="Construction",e.HomeEquity="HomeEquity",e.SMBWorkingCapital="SMBWorkingCapital",e.SMBCollateralized="SMBCollateralized",e.CommercialAndIndustrialSecured="CommercialAndIndustrialSecured",e.CommercialAndIndustrialUnSecured="CommercialAndIndustrialUnSecured",e.CommercialRealEstate="CommercialRealEstate",e.CommercialRealEstateIncomeGenerating="CommercialRealEstateIncomeGenerating",e.CommercialRealEstateShortTerm="CommercialRealEstateShortTerm",e.Agriculture="Agriculture"})(Tt||(Tt={}));const Di=Object.freeze(Object.defineProperty({__proto__:null,get ConfidenceLevel(){return Ot},get Model(){return Et},get ModelIndicator(){return ot},get ModelName(){return Tt},get RelationalOperators(){return At},get RiskModelType(){return Nt},get Source(){return ct}},Symbol.toStringTag,{value:"Module"}));var It;(function(e){e.Loan="Loan"})(It||(It={}));var Rt;(function(e){e.DealOwner="DealOwner",e.Task="Task"})(Rt||(Rt={}));var lt;(function(e){e.AssignRole="AssignRole",e.CreateTask="CreateTask",e.CompleteTask="CompleteTask"})(lt||(lt={}));const ui=Object.freeze(Object.defineProperty({__proto__:null,get ActionType(){return lt},get Context(){return Rt},get Owner(){return It}},Symbol.toStringTag,{value:"Module"}));var dt;(function(e){e.loan_Application="loan_Application",e.loan_SubmittedApplication="loan_SubmittedApplication",e.investment_Application="investment_Application",e.account_Account="account_Account",e.deposit_Application="deposit_Application"})(dt||(dt={}));var Dt;(function(e){e.BankDataImport="BankDataImport",e.EntityDataEntry="EntityDataEntry",e.AccountancyDataImport="AccountancyDataImport",e.InvestmentDataImport="InvestmentDataImport",e.CreditReportImport="CreditReportImport",e.CollateralDataEntry="CollateralDataEntry",e.DocumentUpload="DocumentUpload",e.ExistingDebt="ExistingDebt",e.LenderDocuments="LenderDocuments",e.ReadyForCheckout="ReadyForCheckout",e.ProductSubType="ProductSubType",e.LenderPricingOptions="LenderPricingOptions",e.CreateEntity="CreateEntity",e.CreateCollateral="CreateCollateral",e.AccountInitiation="AccountInitiation",e.SendPSA="SendPSA",e.OrionSSOSetup="OrionSSOSetup",e.SupernovaRegistration="SupernovaRegistration",e.TriStateRegistation="TriStateRegistation",e.MidAtlanticRegistration="MidAtlanticRegistration",e.StoneCastleRegistration="StoneCastleRegistration",e.OpenAccount="OpenAccount",e.SendToEncompass="SendToEncompass",e.ProcessLoanRequest="ProcessLoanRequest",e.FundsAgreement="FundsAgreement",e.FundData="FundData",e.EntityIdentificationDocument="EntityIdentificationDocument",e.PortfolioCreation="PortfolioCreation",e.LOA="LOA",e.CustodyAgreement="CustodyAgreement",e.PortfolioDocument="PortfolioDocument",e.AddBeneficialOwners="AddBeneficialOwners"})(Dt||(Dt={}));var ut;(function(e){e.Entity="Entity",e.Collateral="Collateral"})(ut||(ut={}));const Li=Object.freeze(Object.defineProperty({__proto__:null,get Owner(){return dt},get RelatesTo(){return ut},get TaskType(){return Dt}},Symbol.toStringTag,{value:"Module"}));var Lt;(function(e){e.Lending="Lending",e.Insurance="Insurance",e.Deposit="Deposit"})(Lt||(Lt={}));var St;(function(e){e.Account="Account",e.User="User",e.Contact="Contact",e.NeedsAssessment="NeedsAssessment",e.Client="Client",e.Entity="Entity",e.Collateral="Collateral",e.Program="Program",e.SubAccount="SubAccount"})(St||(St={}));var Ut;(function(e){e.Client="Client",e.Business="Business",e.Collateral="Collateral",e.General="General"})(Ut||(Ut={}));const Si=Object.freeze(Object.defineProperty({__proto__:null,get CustomFieldType(){return St},get CustomFieldZone(){return Ut},get Module(){return Lt}},Symbol.toStringTag,{value:"Module"}));var gt;(function(e){(function(n){n.Standard="Standard"})(e.DepositWorkflow||(e.DepositWorkflow={})),function(n){n.AccountOwner="AccountOwner"}(e.DepositEntityRole||(e.DepositEntityRole={}))})(gt||(gt={}));var mt;(function(e){(function(n){n.Individual="Individual",n.CCorporation="CCorporation",n.SCorporation="SCorporation",n.LimitedLiabilityCompany="LimitedLiabilityCompany",n.GeneralPartnership="GeneralPartnership",n.LimitedPartnership="LimitedPartnership",n.LimitedLiabilityPartnership="LimitedLiabilityPartnership",n.Trust="Trust",n.Association="Association",n.NonProfitOrganization="NonProfitOrganization",n.SoleProprietorship="SoleProprietorship",n.IndependentContractor="IndependentContractor",n.SelfEmployedIndividual="SelfEmployedIndividual",n.GovernmentAgency="GovernmentAgency"})(e.LegalEntityType||(e.LegalEntityType={})),function(n){n.Divorced="Divorced",n.Married="Married",n.Separated="Separated",n.Single="Single",n.Widowed="Widowed",n.PreferNotToSay="PreferNotToSay"}(e.MaritalStatus||(e.MaritalStatus={})),function(n){n.HighSchoolOrLess="HighSchoolOrLess",n.Bachelor="Bachelor",n.Master="Master",n.DoctoralOrHigher="DoctoralOrHigher"}(e.EducationLevel||(e.EducationLevel={})),function(n){n.EmployedFullTime="EmployedFullTime",n.EmployedPartTime="EmployedPartTime",n.SelfEmployed="SelfEmployed",n.Unemployed="Unemployed",n.Retired="Retired"}(e.EmploymentStatus||(e.EmploymentStatus={}))})(mt||(mt={}));var Ct;(function(e){(function(n){n.Upswot="Upswot",n.Ocrolus="Ocrolus",n.CRS="CRS",n.Attom="Attom",n.BridgeFt="BridgeFt",n.Uptiq="Uptiq",n.Beneficient="Beneficient",n.Samuel="Samuel",n.Openai="Openai"})(e.FinancialConnector||(e.FinancialConnector={})),function(n){n.Direct="Direct",n.OCR="OCR",n.Manual="Manual"}(e.ImportAction||(e.ImportAction={})),function(n){n.Created="Created",n.WaitingForData="WaitingForData",n.Fetched="Fetched",n.Failed="Failed",n.SentForManualVerification="SentForManualVerification"}(e.FetchStatus||(e.FetchStatus={})),function(n){n.BankData="BankData",n.InvestmentData="InvestmentData",n.Accountancy="Accountancy",n.CreditReport="CreditReport",n.PropertyVerification="PropertyVerification",n.Securities="Securities",n.PersonalFinancialData="PersonalFinancialData",n.BusinessFinancialData="BusinessFinancialData",n.PersonalIdentificationData="PersonalIdentificationData",n.AltsInvestmentVerification="AltsInvestmentVerification"}(e.ImportType||(e.ImportType={})),function(n){n.Personal="Personal",n.Business="Business"}(e.RefType||(e.RefType={})),function(n){n.CRS="CRS"}(e.ConsumerCreditVerificationProvider||(e.ConsumerCreditVerificationProvider={})),function(n){n.ATTOM="ATTOM"}(e.PropertyVerificationProvider||(e.PropertyVerificationProvider={})),function(n){n.BridgeFT="BridgeFT",n.Samuel="Samuel"}(e.SecuritiesVerificationProvider||(e.SecuritiesVerificationProvider={})),function(n){n.Beneficient="Beneficient"}(e.AltsInvestmentVerificationProvider||(e.AltsInvestmentVerificationProvider={})),function(n){n.Ocrolus="Ocrolus",n.Openai="Openai"}(e.BusinessFinancialDataProvider||(e.BusinessFinancialDataProvider={})),function(n){n.CurrentWithZeroBalance="CurrentWithZeroBalance",n.ThirtyDaysDelinquent="ThirtyDaysDelinquent",n.SixtyDaysDelinquent="SixtyDaysDelinquent",n.NinetyDaysDelinquent="NinetyDaysDelinquent",n.OneTwentyDaysDelinquent="OneTwentyDaysDelinquent",n.OneFiftyDaysDelinquent="OneFiftyDaysDelinquent",n.OneEightyDaysDelinquent="OneEightyDaysDelinquent",n.BankruptcyChapterNumberThirteenPetitioned="BankruptcyChapterNumberThirteenPetitioned",n.ForeclosureOrVoluntarySurrenderOrRepossesion="ForeclosureOrVoluntarySurrenderOrRepossesion",n.Collection="Collection",n.AccountConditionChangedOrPaymentCodeNA="AccountConditionChangedOrPaymentCodeNA",n.Current="Current",n.CurrentWithZeroBalanceAndNoUpdate="CurrentWithZeroBalanceAndNoUpdate"}(e.PaymentHistoryMonthStatus||(e.PaymentHistoryMonthStatus={})),function(n){n.TermLoan="TermLoan",n.Mortgage="Mortgage",n.RevolvingLineOfCredit="RevolvingLineOfCredit"}(e.TradelineGroup||(e.TradelineGroup={}))})(Ct||(Ct={}));var Pt;(function(e){(function(n){n.Submitted="Submitted",n.Underwriting="Underwriting",n.ApprovedAndNotFunded="ApprovedAndNotFunded",n.ApprovedAndFunded="ApprovedAndFunded",n.Closing="Closing",n.Rejected="Rejected",n.Withdrawn="Withdrawn",n.Advisory="Advisory",n.OnHold="OnHold"})(e.LenderDecisionStatus||(e.LenderDecisionStatus={})),function(n){n.stearns="stearns",n.encompass="encompass",n.nCino="nCino",n.lendingPad="lendingPad",n.supernova="supernova"}(e.LoanOrigination||(e.LoanOrigination={})),function(n){n.Contracted="Contracted",n.NonContracted="NonContracted"}(e.ContractType||(e.ContractType={})),function(n){n.AtFunding="AtFunding",n.AtDraw="AtDraw",n.Monthly="Monthly",n.Quarterly="Quarterly",n.Annually="Annually",n.WithinDaysOfFunding="WithinDaysOfFunding"}(e.PaymentFrequency||(e.PaymentFrequency={}))})(Pt||(Pt={}));var Ft;(function(e){(function(n){n.SecuritiesBacked="SecuritiesBacked",n.Personal="Personal",n.Auto="Auto",n.BoatOrWatercraft="BoatOrWatercraft",n.RV="RV",n.Aircraft="Aircraft",n.Powersport="Powersport",n.ResidentialRealEstate="ResidentialRealEstate",n.ResidentialConstruction="ResidentialConstruction",n.HomeEquity="HomeEquity",n.CommercialAndIndustrial="CommercialAndIndustrial",n.CommercialRealEstate="CommercialRealEstate",n.CommercialConstruction="CommercialConstruction",n.Agriculture="Agriculture",n.StudentLoan="StudentLoan",n.SmallBusiness="SmallBusiness",n.SBA="SBA",n.CorporateLoan="CorporateLoan",n.AlternativeInvestments="AlternativeInvestments"})(e.ProductType||(e.ProductType={})),function(n){n.ConsumerAutoPurchase="ConsumerAutoPurchase",n.ConsumerAutoRefinance="ConsumerAutoRefinance",n.CommercialAutoPurchase="CommercialAutoPurchase",n.CommercialAutoRefinance="CommercialAutoRefinance",n.CommercialVehicleLease="CommercialVehicleLease",n.ConsumerBoatPurchase="ConsumerBoatPurchase",n.ConsumerBoatRefinance="ConsumerBoatRefinance",n.ConsumerWatercraftPurchase="ConsumerWatercraftPurchase",n.ConsumerWatercraftRefinance="ConsumerWatercraftRefinance",n.CommercialBoatPurchase="CommercialBoatPurchase",n.CommercialBoatRefinance="CommercialBoatRefinance",n.CommercialBoatLease="CommercialBoatLease",n.ConsumerAircraftPurchase="ConsumerAircraftPurchase",n.ConsumerAircraftRefinance="ConsumerAircraftRefinance",n.CommercialAircraftPurchase="CommercialAircraftPurchase",n.CommercialAircraftRefinance="CommercialAircraftRefinance",n.CommercialAircraftLease="CommercialAircraftLease",n.ConsumerRVPurchase="ConsumerRVPurchase",n.ConsumerRVRefinance="ConsumerRVRefinance",n.ConsumerPowersportPurchase="ConsumerPowersportPurchase",n.ConsumerPowersportRefinance="ConsumerPowersportRefinance",n.CommercialPowersportPurchase="CommercialPowersportPurchase",n.CommercialPowersportRefinance="CommercialPowersportRefinance",n.CommercialPowersportLease="CommercialPowersportLease",n.SecuritiesBacked="SecuritiesBacked",n.PersonalSecuritiesBackedLineOfCredit="PersonalSecuritiesBackedLineOfCredit",n.BusinessSecuritiesBackedLineOfCredit="BusinessSecuritiesBackedLineOfCredit",n.Margin="Margin",n.PrivateStockFinance="PrivateStockFinance",n.PersonalUnsecured="PersonalUnsecured",n.PersonalSecured="PersonalSecured",n.StudentLoan="StudentLoan",n.StudentLoanConsolidation="StudentLoanConsolidation",n.ConventionalMortgage="ConventionalMortgage",n.FHAMortgage="FHAMortgage",n.VAMortgage="VAMortgage",n.USDAMortgage="USDAMortgage",n.ARM="ARM",n.JumboMortgage="JumboMortgage",n.JumboARM="JumboARM",n.ResidentialInvestmentProperty="ResidentialInvestmentProperty",n.SecondMortgage="SecondMortgage",n.ReverseMortgage="ReverseMortgage",n.MortgageRefinance="MortgageRefinance",n.LotPurchase="LotPurchase",n.LotRefinance="LotRefinance",n.MortgageCashOutRefinance="MortgageCashOutRefinance",n.ResidentialRealEstateRefinance="ResidentialRealEstateRefinance",n.ResidentialConstructionOnly="ResidentialConstructionOnly",n.ResidentialConstructionToPermanent="ResidentialConstructionToPermanent",n.ResidentialHardMoney="ResidentialHardMoney",n.ResidentialOwnerBuilder="ResidentialOwnerBuilder",n.ResidentialRenovation="ResidentialRenovation",n.ResidentialFixAndFlip="ResidentialFixAndFlip",n.HELO="HELO",n.HELOC="HELOC",n.HomeEquity="HomeEquity",n.SmallBusinessUnsecured="SmallBusinessUnsecured",n.WorkingCapital="WorkingCapital",n.Startup="Startup",n.Franchise="Franchise",n.BusinessAcquisition="BusinessAcquisition",n.SBASevenAStandard="SBASevenAStandard",n.SevenASmallLoan="SevenASmallLoan",n.SBAExpress="SBAExpress",n.ExportExpress="ExportExpress",n.ExportWorkingCapital="ExportWorkingCapital",n.InternationalTrade="InternationalTrade",n.SBAFiveZeroFour="SBAFiveZeroFour",n.SBACommercialRealEstate="SBACommercialRealEstate",n.SBAEquipment="SBAEquipment",n.SBAStartUpOrWorkingCapitalOrExpansion="SBAStartUpOrWorkingCapitalOrExpansion",n.CommercialAndIndustrialSecured="CommercialAndIndustrialSecured",n.CommercialAndIndustrialUnsecured="CommercialAndIndustrialUnsecured",n.AssetBased="AssetBased",n.EquipmentFinance="EquipmentFinance",n.MerchantCashAdvance="MerchantCashAdvance",n.CommercialRealEstateSecured="CommercialRealEstateSecured",n.CommercialRealEstateRefinance="CommercialRealEstateRefinance",n.CommercialCashOutRefinance="CommercialCashOutRefinance",n.BridgeOpen="BridgeOpen",n.BridgeClosed="BridgeClosed",n.LandPurchase="LandPurchase",n.LandRefinance="LandRefinance",n.LandDevelopment="LandDevelopment",n.CommercialInvestmentProperty="CommercialInvestmentProperty",n.Contractor="Contractor",n.ContractorLineOfCredit="ContractorLineOfCredit",n.CommercialConstructionOnly="CommercialConstructionOnly",n.CommercialConstructionToPermanent="CommercialConstructionToPermanent",n.CommercialFixAndFlip="CommercialFixAndFlip",n.CommercialRenovation="CommercialRenovation",n.FarmLandPurchase="FarmLandPurchase",n.FarmLandRefinance="FarmLandRefinance",n.USDAFarmLand="USDAFarmLand",n.FarmOwnershipOrPurchase="FarmOwnershipOrPurchase",n.FarmOperating="FarmOperating",n.FacilitiesOrStructures="FacilitiesOrStructures",n.LivestockOrFeed="LivestockOrFeed",n.CorporateLoanSecured="CorporateLoanSecured",n.CapitalCallLine="CapitalCallLine",n.SubscriptionRedemptionOrNavLine="SubscriptionRedemptionOrNavLine",n.AltSecuredPersonal="AltSecuredPersonal"}(e.ProductSubType||(e.ProductSubType={})),function(n){n.SecuritiesBacked="SecuritiesBacked",n.HELO="HELO",n.HELOC="HELOC"}(e.DeprecatedProductSubType||(e.DeprecatedProductSubType={})),function(n){n.Entity="Entity",n.Collateral="Collateral"}(e.DocumentFor||(e.DocumentFor={})),function(n){n.Required="Required",n.Preferred="Preferred",n.Optional="Optional"}(e.DocumentPriority||(e.DocumentPriority={})),function(n){n.DraftApplication="DraftApplication",n.SubmittedApplication="SubmittedApplication"}(e.MiscellaneousDocumentsOwner||(e.MiscellaneousDocumentsOwner={})),function(n){n.Possessory="Possessory",n.Titled="Titled",n.RealEstate="RealEstate",n.Other="Other"}(e.CollateralCategory||(e.CollateralCategory={})),function(n){n.DDA="DDA",n.Securities="Securities",n.NotesOrInstruments="NotesOrInstruments",n.ReceiptsOrBills="ReceiptsOrBills",n.LetterOfCredit="LetterOfCredit",n.LifeInsurance="LifeInsurance",n.ResidentialRealEstate="ResidentialRealEstate",n.CommercialRealEstate="CommercialRealEstate",n.Titled="Titled",n.GeneralAssets="GeneralAssets",n.PersonalAssets="PersonalAssets",n.AlternativeInvestments="AlternativeInvestments"}(e.CollateralType||(e.CollateralType={})),function(n){n.Checking="Checking",n.Savings="Savings",n.CD="CD",n.Stock="Stock",n.Bond="Bond",n.MutualFund="MutualFund",n.Cryptocurrency="Cryptocurrency",n.WarehouseReceipt="WarehouseReceipt",n.BillOfLading="BillOfLading",n.RevocableLetterOfCredit="RevocableLetterOfCredit",n.IrrevocableLetterOfCredit="IrrevocableLetterOfCredit",n.WholeLife="WholeLife",n.TermLife="TermLife",n.CreditLife="CreditLife",n.NotesOrInstruments="NotesOrInstruments",n.OneToFourFamilyProperty="OneToFourFamilyProperty",n.MultiFamilyProperty="MultiFamilyProperty",n.Construction="Construction",n.RealEstate="RealEstate",n.Lot="Lot",n.Land="Land",n.Farmland="Farmland",n.Office="Office",n.Warehouse="Warehouse",n.Retail="Retail",n.Other="Other",n.MobileHome="MobileHome",n.OilAndGas="OilAndGas",n.Automobile="Automobile",n.Motorcycle="Motorcycle",n.ATV="ATV",n.UTV="UTV",n.SnowMobile="SnowMobile",n.JetSki="JetSki",n.FanBoat="FanBoat",n.Hovercraft="Hovercraft",n.RecreationalVehicle="RecreationalVehicle",n.Boat="Boat",n.Ship="Ship",n.Aircraft="Aircraft",n.Trailer="Trailer",n.Inventory="Inventory",n.AccountsReceivables="AccountsReceivables",n.MarketableSecurities="MarketableSecurities",n.FurnitureAndFixtures="FurnitureAndFixtures",n.Equipment="Equipment",n.CreditCardSales="CreditCardSales",n.LockboxReceipts="LockboxReceipts",n.PreferredStock="PreferredStock",n.MortgageBackedSecurity="MortgageBackedSecurity",n.Future="Future",n.Commodity="Commodity",n.Currency="Currency",n.UnitInvestmentTrust="UnitInvestmentTrust",n.Option="Option",n.EmployeeStockOption="EmployeeStockOption",n.Annuity="Annuity",n.ETF="ETF",n.Warrant="Warrant",n.MoneyMarketFund="MoneyMarketFund",n.Portfolio="Portfolio",n.MixedUse="MixedUse",n.Industrial="Industrial",n.MedicalFacility="MedicalFacility",n.Hotel="Hotel",n.Municipal="Municipal",n.RestaurantBar="RestaurantBar",n.SelfStorage="SelfStorage",n.Art="Art",n.JewelleryAndDiamonds="JewelleryAndDiamonds",n.LuxuryWatches="LuxuryWatches",n.GoldAndSilver="GoldAndSilver",n.DesignerHandbagsAndAccessories="DesignerHandbagsAndAccessories",n.AuctionQualityAssets="AuctionQualityAssets",n.Yacht="Yacht",n.FishingSkiBoat="FishingSkiBoat",n.FishingBoat="FishingBoat",n.DeckBoat="DeckBoat",n.Sailboat="Sailboat",n.HighPerformance="HighPerformance",n.Experimental="Experimental",n.PassengerBoat="PassengerBoat",n.ContainerShip="ContainerShip",n.BulkCarrier="BulkCarrier",n.TankerShip="TankerShip",n.PassengerShip="PassengerShip",n.OffshoreShip="OffshoreShip",n.PersonalWatercraft="PersonalWatercraft",n.Turboprop="Turboprop",n.Turbine="Turbine",n.SingleEngine="SingleEngine",n.TwinEngine="TwinEngine",n.Kit="Kit",n.Lightsport="Lightsport",n.Helicopter="Helicopter",n.MidSizeJet="MidSizeJet",n.RegionalJet="RegionalJet",n.NarrowBodyAirliner="NarrowBodyAirliner",n.WideBodyAirliner="WideBodyAirliner",n.MotorHome="MotorHome",n.HedgeFund="HedgeFund",n.PrivateEquity="PrivateEquity",n.FundofFunds="FundofFunds",n.General="General",n.PrivateEquityFund="PrivateEquityFund",n.VentureCapitalFund="VentureCapitalFund",n.PrivateLendingFund="PrivateLendingFund",n.RealEstateFund="RealEstateFund",n.StartupInvestment="StartupInvestment"}(e.CollateralSubType||(e.CollateralSubType={})),function(n){n.Borrower="Borrower",n.BeneficialOwner="BeneficialOwner",n.BeneficialControl="BeneficialControl",n.Guarantor="Guarantor",n.Grantor="Grantor",n.Signer="Signer",n.Affiliation="Affiliation",n.RelatedEntity="RelatedEntity",n.Principal="Principal",n.Attorney="Attorney",n.Accountant="Accountant",n.Acquiree="Acquiree",n.Contact="Contact"}(e.EntityRole||(e.EntityRole={})),function(n){n.Pending="Pending",n.Uploaded="Uploaded"}(e.DocumentUploadStatus||(e.DocumentUploadStatus={})),function(n){n.TermLoan="TermLoan",n.LineOfCredit="LineOfCredit",n.RevolvingLineOfCredit="RevolvingLineOfCredit"}(e.RepaymentStructure||(e.RepaymentStructure={})),function(n){n.Fixed="Fixed",n.Floating="Floating"}(e.AprType||(e.AprType={})),function(n){n.Prime="Prime",n.SOFR="SOFR"}(e.InterestRateType||(e.InterestRateType={})),function(n){n.Pending="Pending",n.Submitted="Submitted",n.Failed="Failed"}(e.OriginationStatus||(e.OriginationStatus={})),function(n){n.Standard="Standard",n.LargeDeal="LargeDeal",n.RIALending="RIALending",n.Program="Program",n.ProgramV2="ProgramV2",n.Mortgage="Mortgage",n.SBLOC="SBLOC",n.AltsLending="AltsLending"}(e.Workflow||(e.Workflow={})),function(n){n.Brokered="Brokered",n.NonBrokered="NonBrokered"}(e.WorkflowSubType||(e.WorkflowSubType={})),function(n){n.Purchase="Purchase",n.Refinance="Refinance",n.Construction="Construction",n.DelayedDraw="DelayedDraw",n.ProgressPayment="ProgressPayment",n.WorkingCapital="WorkingCapital",n.TermOrInstallment="TermOrInstallment",n.RevolvingLineOfCredit="RevolvingLineOfCredit",n.LineOfCredit="LineOfCredit",n.Other="Other"}(e.LoanPurpose||(e.LoanPurpose={})),function(n){n.Consumer="Consumer",n.Commercial="Commercial"}(e.LoanType||(e.LoanType={})),function(n){n.LPLFinancialLLC="LPLFinancialLLC",n.AdvisorGroup="AdvisorGroup",n.LincolnFinancialNetwork="LincolnFinancialNetwork",n.NorthwesternMutual="NorthwesternMutual",n.AmeripriseFinancialServicesLLC="AmeripriseFinancialServicesLLC",n.MMLInvestorsServicesLLC="MMLInvestorsServicesLLC",n.RaymondJamesFinancialServicesInc="RaymondJamesFinancialServicesInc",n.RoyalAllianceAssociatesInc="RoyalAllianceAssociatesInc",n.EquitableAdvisorsLLC="EquitableAdvisorsLLC",n.CambridgeInvestmentResearchInc="CambridgeInvestmentResearchInc",n.AvantaxInvestmentServicesInc="AvantaxInvestmentServicesInc",n.SecuritiesAmericaInc="SecuritiesAmericaInc",n.TransamericaFinancialAdvisorsInc="TransamericaFinancialAdvisorsInc",n.WoodburyFinancialServices="WoodburyFinancialServices",n.CommonwealthEquityServicesLLC="CommonwealthEquityServicesLLC",n.AtriaWealthSolutions="AtriaWealthSolutions",n.ParkAvenueSecuritiesLLC="ParkAvenueSecuritiesLLC",n.PrincipalSecuritiesInc="PrincipalSecuritiesInc",n.KestraFinancialInc="KestraFinancialInc",n.SagePointFinancialInc="SagePointFinancialInc",n.WaddellAndReedFinancialAdvisors="WaddellAndReedFinancialAdvisors",n.SecurianFinancialServicesInc="SecurianFinancialServicesInc",n.TheLeadersGroup="TheLeadersGroup",n.AmeritasInvestmentCompany="AmeritasInvestmentCompany",n.LincolnInvestmentPlanningLLC="LincolnInvestmentPlanningLLC",n.ConcourseFinancialGroupSecuritiesInc="ConcourseFinancialGroupSecuritiesInc",n.TriadAdvisorsLLC="TriadAdvisorsLLC",n.HornorTownsendAndKentLLC="HornorTownsendAndKentLLC",n.AmericanPortfoliosFinancialServicesInc="AmericanPortfoliosFinancialServicesInc",n.FSCSecuritiesCorp="FSCSecuritiesCorp",n.MHoldingsSecuritiesInc="MHoldingsSecuritiesInc",n.TheONEquitySalesCo="TheONEquitySalesCo",n.CentaurusFinancialInc="CentaurusFinancialInc",n.SigmaFinancialCorp="SigmaFinancialCorp",n.IndependentFinancialGroupLLC="IndependentFinancialGroupLLC",n.JWColeFinancialInc="JWColeFinancialInc",n.UnitedPlannersFinancialServices="UnitedPlannersFinancialServices",n.EquityServicesInc="EquityServicesInc",n.PlanMemberSecuritiesCorp="PlanMemberSecuritiesCorp",n.GrovePointFinancialLLC="GrovePointFinancialLLC",n.CaltonAndAssociatesInc="CaltonAndAssociatesInc",n.KovackSecuritiesInc="KovackSecuritiesInc",n.FortuneFinancialServicesInc="FortuneFinancialServicesInc",n.CrownCapitalSecuritiesLP="CrownCapitalSecuritiesLP",n.ParklandSecuritiesLLC="ParklandSecuritiesLLC",n.LaSalleStSecuritiesLLC="LaSalleStSecuritiesLLC",n.TheInvestmentCenterInc="TheInvestmentCenterInc",n.HarbourInvestmentsInc="HarbourInvestmentsInc",n.PackerlandBrokerageServicesInc="PackerlandBrokerageServicesInc",n.GeneosWealthManagementInc="GeneosWealthManagementInc",n.BerthelFisherAndCoFinancialServicesInc="BerthelFisherAndCoFinancialServicesInc",n.CantellaAndCoInc="CantellaAndCoInc",n.VanderbiltFinancialGroup="VanderbiltFinancialGroup",n.CFDInvestmentsInc="CFDInvestmentsInc",n.SecuritiesManagementandResearch="SecuritiesManagementandResearch",n.TheStrategicFinancialAllianceInc="TheStrategicFinancialAllianceInc",n.AreteWealth="AreteWealth",n.ProsperaFinancialServicesInc="ProsperaFinancialServicesInc",n.NationwidePlanningAssociatesInc="NationwidePlanningAssociatesInc",n.StBernardFinancialServicesInc="StBernardFinancialServicesInc",n.ArkadiosCapital="ArkadiosCapital",n.TrustmontFinancialGroupInc="TrustmontFinancialGroupInc",n.FoundersFinancial="FoundersFinancial",n.ThurstonSpringerMillerHerdAndTitak="ThurstonSpringerMillerHerdAndTitak",n.AldenInvestmentGroup="AldenInvestmentGroup",n.CoordinatedCapitalSecuritiesInc="CoordinatedCapitalSecuritiesInc",n.CutterAndCompanyInc="CutterAndCompanyInc",n.Trutoro="Trutoro",n.QuincyCassAssociatesInc="QuincyCassAssociatesInc",n.NationsFinancialGroup="NationsFinancialGroup",n.BCGSecuritiesInc="BCGSecuritiesInc",n.BrokerDealerFinancialServicesCorp="BrokerDealerFinancialServicesCorp",n.CadaretGrantAndCoInc="CadaretGrantAndCoInc",n.CapitalAnalystsInc="CapitalAnalystsInc",n.CenturySecuritiesAssociatesInc="CenturySecuritiesAssociatesInc",n.CorrellCoInvestmentServicesCorp="CorrellCoInvestmentServicesCorp",n.FirstAlliedSecuritiesInc="FirstAlliedSecuritiesInc",n.GBSFinancialCorp="GBSFinancialCorp",n.INGAdvisorNetworkInc="INGAdvisorNetworkInc",n.CeteraAdvisorNetworks="CeteraAdvisorNetworks",n.VoyaFinancialAdvisorsInc="VoyaFinancialAdvisorsInc",n.CeteraAdvisors="CeteraAdvisors",n.InvestacorpInc="InvestacorpInc",n.INVESTFinancialCorp="INVESTFinancialCorp",n.InvestmentCentersofAmericaInc="InvestmentCentersofAmericaInc",n.NationalPlanningCorporation="NationalPlanningCorporation",n.SIIInvestmentsInc="SIIInvestmentsInc",n.NEXTFinancialGroupInc="NEXTFinancialGroupInc",n.ProtectedInvestorsofAmericaInc="ProtectedInvestorsofAmericaInc",n.SecuritiesServiceNetworkLLC="SecuritiesServiceNetworkLLC",n.SignatorInvestorsInc="SignatorInvestorsInc",n.CeteraFinancialSpecialists="CeteraFinancialSpecialists",n.QuestarCapitalCorp="QuestarCapitalCorp",n.WellsFargoAdvisorsFinancialNetwork="WellsFargoAdvisorsFinancialNetwork",n.WRPInvestmentsInc="WRPInvestmentsInc",n.WunderlichSecuritiesInc="WunderlichSecuritiesInc",n.LifeMarkSecuritiesCorp="LifeMarkSecuritiesCorp",n.BoltonGlobalCapital="BoltonGlobalCapital",n.HilltopSecuritiesIndependentNetworkInc="HilltopSecuritiesIndependentNetworkInc",n.SummitBrokerageServicesInc="SummitBrokerageServicesInc",n.SynergyInvestmentGroup="SynergyInvestmentGroup",n.LeonardAndCo="LeonardAndCo",n.MetLifeInc="MetLifeInc",n.NewEnglandSecuritiesInc="NewEnglandSecuritiesInc",n.TowerSquareSecuritiesInc="TowerSquareSecuritiesInc",n.WalnutStreetSecuritiesInc="WalnutStreetSecuritiesInc",n.FoothillSecuritiesInc="FoothillSecuritiesInc",n.QuestCapitalStrategiesInc="QuestCapitalStrategiesInc",n.SpireInvestmentPartnersLLC="SpireInvestmentPartnersLLC",n.CapitalInvestmentCo="CapitalInvestmentCo",n.NationalSecuritiesCorp="NationalSecuritiesCorp",n.vFinanceInvestmentsInc="vFinanceInvestmentsInc",n.WallStreetAccess="WallStreetAccess",n.TFSSecuritiesInc="TFSSecuritiesInc",n.KMSFinancialServicesInc="KMSFinancialServicesInc",n.CeteraFinancialInstitutions="CeteraFinancialInstitutions",n.SAStone="SAStone",n.FinancialTelesisInc="FinancialTelesisInc",n.FirstRepublicSecuritiesCo="FirstRepublicSecuritiesCo",n.FinancialServicesInternationalCorp="FinancialServicesInternationalCorp",n.DADavidsonAndCo="DADavidsonAndCo",n.WilliamsFinancialGroup="WilliamsFinancialGroup",n.Finance500Inc="Finance500Inc",n.ForestersEquityServicesInc="ForestersEquityServicesInc",n.CUNABrokerageServicesInc="CUNABrokerageServicesInc",n.AusdalFinancialPartners="AusdalFinancialPartners",n.SCFSecuritiesInc="SCFSecuritiesInc",n.HarborFinancialServicesLLC="HarborFinancialServicesLLC",n.TriCorFinancialLLC="TriCorFinancialLLC",n.KalosCapitalInc="KalosCapitalInc",n.BernardiSecuritiesInc="BernardiSecuritiesInc",n.AllstateFinancialServicesLLC="AllstateFinancialServicesLLC",n.WorldCapitalBrokerageInc="WorldCapitalBrokerageInc",n.InfinityFinancialServices="InfinityFinancialServices",n.SchwabIndependentBranchServices="SchwabIndependentBranchServices",n.EdwardJones="EdwardJones",n.DavidANoyesAndCompany="DavidANoyesAndCompany",n.CoastalOne="CoastalOne",n.EagleStrategiesLLC="EagleStrategiesLLC",n.CharlesSchwab="CharlesSchwab",n.Altruist="Altruist",n.Fidelity="Fidelity",n.AuroraPrivateWealthInc="AuroraPrivateWealthInc",n.CopperFinancialNetworkLLC="CopperFinancialNetworkLLC",n.ESIFinancialAdvisors="ESIFinancialAdvisors",n.GradientAdvisorsLLC="GradientAdvisorsLLC",n.GrovePointInvestmentsLLC="GrovePointInvestmentsLLC",n.MutualAdvisorsLLC="MutualAdvisorsLLC",n.MutualOfOmahaInvestorServicesInc="MutualOfOmahaInvestorServicesInc",n.OneAmericaSecuritiesInc="OneAmericaSecuritiesInc",n.OsiacWealthInc="OsiacWealthInc",n.TheFlorioWealthManagementGroupLLC="TheFlorioWealthManagementGroupLLC",n.TLGAdvisorsInc="TLGAdvisorsInc",n.ValmarkAdvisersInc="ValmarkAdvisersInc",n.WestparkWealthAdvisorsInc="WestparkWealthAdvisorsInc",n.IcAdvisoryServicesInc="IcAdvisoryServicesInc"}(e.BrokerDealer||(e.BrokerDealer={})),function(n){n.Created="Created",n.Accepted="Accepted"}(e.ProactiveDemandStatus||(e.ProactiveDemandStatus={})),function(n){n.NeedsAssessment="NeedsAssessment",n.IndicativeOptions="IndicativeOptions",n.PreQualification="PreQualification",n.PreQualificationComplete="PreQualificationComplete",n.ManualReview="ManualReview",n.Fundable="Fundable",n.Unfundable="Unfundable",n.ContractedLenderFound="ContractedLenderFound",n.ContractedLenderNotFound="ContractedLenderNotFound",n.NonContractedLenderFound="NonContractedLenderFound",n.NonContractedLenderNotFound="NonContractedLenderNotFound",n.AdvisoryProspect="AdvisoryProspect",n.Checkout="Checkout",n.Submitted="Submitted",n.Archived="Archived"}(e.DealStatus||(e.DealStatus={})),function(n){n.CompleteTask="CompleteTask",n.ClaimDeal="ClaimDeal",n.AddLenderOptions="AddLenderOptions",n.PublishLenderOptions="PublishLenderOptions",n.SubmitToLender="SubmitToLender"}(e.requiredActions||(e.requiredActions={})),function(n){n.Pending="Pending",n.Paid="Paid"}(e.InvoiceStatus||(e.InvoiceStatus={})),function(n){n.TenYearFixed="TenYearFixed",n.FifteenYearFixed="FifteenYearFixed",n.ThirtyYearFixed="ThirtyYearFixed",n.FiveOneARM="FiveOneARM",n.SevenOneARM="SevenOneARM",n.TenOneARM="TenOneARM"}(e.MortagageLoanProgram||(e.MortagageLoanProgram={}))})(Ft||(Ft={}));var ft;(function(e){(function(n){n.DealInitiated="DealInitiated",n.CheckoutAndSubmit="CheckoutAndSubmit",n.UploadDocument="UploadDocument",n.UploadSpecificDocument="UploadSpecificDocument",n.AdditionalDocumentRecommendation="AdditionalDocumentRecommendation",n.DealAssignment="DealAssignment",n.ClientInvitation="ClientInvitation",n.Welcome="Welcome",n.DocumentReceived="DocumentReceived",n.LoanSubmitted="LoanSubmitted",n.AccountLocked="AccountLocked",n.AccountUnlocked="AccountUnlocked",n.UserAdded="UserAdded",n.PasswordReset="PasswordReset",n.InvitationToJoinPlatform="InvitationToJoinPlatform",n.ErrorOccurred="ErrorOccurred",n.Report="Report",n.MessageReceived="MessageReceived",n.Survey="Survey",n.VerificationCode="VerificationCode",n.HelpRequestedOnDeal="HelpRequestedOnDeal",n.HelpRequestedDuringAssessment="HelpRequestedDuringAssessment",n.TaskCreated="TaskCreated",n.TaskUpdated="TaskUpdated",n.TaskCompleted="TaskCompleted",n.WelcomeContacts="WelcomeContacts",n.SubmitToLender="SubmitToLender",n.SendPreflightSummary="SendPreflightSummary",n.SendEgnytePackage="SendEgnytePackage",n.FollowerTaskCompleted="FollowerTaskCompleted",n.FollowerStatusChanged="FollowerStatusChanged",n.FollowerDealSubmitted="FollowerDealSubmitted",n.DealStatusChanged="DealStatusChanged",n.LoanPreQualification="LoanPreQualification",n.LoanStageChanged="LoanStageChanged",n.NewDeposit="NewDeposit",n.RequestHelp="RequestHelp",n.RequestHelpReturned="RequestHelpReturned",n.ClientImport="ClientImport",n.LenderOptionsPublished="LenderOptionsPublished",n.VirtualAssistantQuestionAsked="VirtualAssistantQuestionAsked",n.SendSubmissionDetails="SendSubmissionDetails",n.OrionUserLoginFailed="OrionUserLoginFailed",n.TestContent="TestContent",n.Content="Content",n.SalesforceUserLoginFailed="SalesforceUserLoginFailed",n.ClientExpressedInterest="ClientExpressedInterest",n.ServerError="ServerError",n.ServerWarning="ServerWarning",n.HealthStatus="HealthStatus",n.IntegrationFailure="IntegrationFailure",n.WebhookFailure="WebhookFailure",n.RateCardSyncFailure="RateCardSyncFailure",n.Client360Invitation="Client360Invitation",n.LenderOptionsPublishedToClient="LenderOptionsPublishedToClient",n.ClaimDeal="ClaimDeal",n.PreQualificationInvitationOnly="PreQualificationInvitationOnly",n.PreQualificationInvitationAndRegistration="PreQualificationInvitationAndRegistration",n.InformDealWithdrawnToClient="InformDealWithdrawnToClient",n.OrionUserUnauthorisedSignatoryContactAsm="OrionUserUnauthorisedSignatoryContactAsm",n.DealSubmittedToSupernova="DealSubmittedToSupernova",n.DealSubmittedToTriState="DealSubmittedToTriState",n.PreQualificationReminderEmail="PreQualificationReminderEmail",n.LendingOptionsAvailableAtCheckoutForClientNonBrokeredMortgage="LendingOptionsAvailableAtCheckoutForClientNonBrokeredMortgage",n.LendingOptionsAvailableAtCheckoutForClientBrokeredMortgage="LendingOptionsAvailableAtCheckoutForClientBrokeredMortgage",n.LendingOptionsAvailableAtCheckoutForAdvisorNonBrokeredMortgage="LendingOptionsAvailableAtCheckoutForAdvisorNonBrokeredMortgage",n.LendingOptionsAvailableAtCheckoutForAdvisorBrokeredMortgage="LendingOptionsAvailableAtCheckoutForAdvisorBrokeredMortgage",n.UndecidedApplication="UndecidedApplication",n.AccountsReceivableReport="AccountsReceivableReport",n.CreditAndLiabilitesCompletion="CreditAndLiabilitesCompletion",n.CreditAndLiabilitesInvitationOnly="CreditAndLiabilitesInvitationOnly",n.CreditAndLiabilitesInvitationAndRegistration="CreditAndLiabilitesInvitationAndRegistration",n.Liability360Previewed="Liability360Previewed",n.Liability360SuccessfulConnection="Liability360SuccessfulConnection",n.Liability360FeatureEnabled="Liability360FeatureEnabled",n.Liability360FeatureEnabledAndRegistration="Liability360FeatureEnabledAndRegistration"})(e.NotificationEvent||(e.NotificationEvent={})),function(n){n.Email="Email",n.InApp="InApp",n.Slack="Slack"}(e.NotificationMode||(e.NotificationMode={})),function(n){n.START_DEAL="START_DEAL"}(e.CallToAction||(e.CallToAction={}))})(ft||(ft={}));var vt;(function(e){(function(n){n.Deal="Deal",n.Team="Team",n.Client="Client",n.Firm="Firm",n.Task="Task",n.FinancialAdvisor="FinancialAdvisor",n.DealFinancialAdvisor="DealFinancialAdvisor"})(e.OwnershipType||(e.OwnershipType={})),function(n){n.Pending="Pending",n.Completed="Completed",n.Failed="Failed"}(e.OwnershipTransferStatus||(e.OwnershipTransferStatus={}))})(vt||(vt={}));const Ui=Object.freeze(Object.defineProperty({__proto__:null,get deposit(){return gt},get entity(){return mt},get financial(){return Ct},get lender(){return Pt},get loan(){return Ft},get notification(){return ft},get ownership(){return vt}},Symbol.toStringTag,{value:"Module"}));var pt;(function(e){e.TEXT="TEXT",e.NUMBER="NUMBER",e.MONEY="MONEY",e.PERCENT="PERCENT",e.PHONE="PHONE",e.DROPDOWN="DROPDOWN",e.CHECKBOX="CHECKBOX",e.RADIO="RADIO",e.SLIDER="SLIDER",e.DATE="DATE",e.DATE_TIME="DATE_TIME",e.SWITCH="SWITCH",e.FILE="FILE",e.ENHANCED_SELECT="ENHANCED_SELECT",e.CONSTANT="CONSTANT",e.CUSTOM="CUSTOM",e.RICH_TEXT="RICH_TEXT",e.COLOR="COLOR"})(pt||(pt={}));var Mt;(function(e){e.EXISTS="EXISTS",e.NOT_EXISTS="NOT_EXISTS",e.LIKE="LIKE",e.NOT_LIKE="NOT_LIKE",e.IN="IN",e.NIN="NIN",e.EQ="EQ",e.NEQ="NEQ",e.GTE="GTE",e.GT="GT",e.LTE="LTE",e.LT="LT",e.BETWEEN="BETWEEN"})(Mt||(Mt={}));var Gt;(function(e){e.GreaterThan="GreaterThan",e.LessThan="LessThan",e.GreaterThanAndEqualTo="GreaterThanAndEqualTo",e.LessThanAndEqualTo="LessThanAndEqualTo",e.EqualTo="EqualTo",e.Any="Any"})(Gt||(Gt={}));var ht;(function(e){e.Form="Form",e.Wizard="Wizard"})(ht||(ht={}));const gi=Object.freeze(Object.defineProperty({__proto__:null,get FieldType(){return pt},get FilterCondition(){return Mt},get FormView(){return ht},get Operator(){return Gt}},Symbol.toStringTag,{value:"Module"}));var Vt;(function(e){e.Email="Email",e.Phone="Phone"})(Vt||(Vt={}));const mi=Object.freeze(Object.defineProperty({__proto__:null,get VerificationType(){return Vt}},Symbol.toStringTag,{value:"Module"})),Ci=Object.freeze(Object.defineProperty({__proto__:null,account:$a,accountsReceivable:ya,auth:ei,cluster:ni,common:ti,consent:ai,content:ii,dealActivity:ri,deposit:_i,disclosure:si,document:oi,eSign:Ei,entity:Oi,entityMgmt:ci,health:Ai,integration:Ni,interaction:Ti,lender:Ii,loan:Ri,messaging:li,resource:di,riskModel:Di,ruleEngine:ui,task:Li,tenant:Si,terminology:Ui,utils:gi,verification:mi},Symbol.toStringTag,{value:"Module"})),Pi=Object.freeze(Object.defineProperty({__proto__:null,account:ea,common:na,consent:ta,content:aa,db:ia,dealActivity:ra,disclosure:_a,docgen:sa,document:oa,eSign:Ea,enums:Oa,error:ca,financial:Aa,health:Na,interaction:Ta,messaging:Ia,resource:Ra,riskModel:la,ruleEngine:da,runner:Da,server:ua,survey:La,task:Sa,tenant:Ua,terminology:ga,utils:ma,verification:Ca},Symbol.toStringTag,{value:"Module"}));new N;const r=e=>e.id?{...e,required:!0}:e,u=new Map,c=e=>()=>(u.has(e)||u.set(e,e()),u.get(e)),Fi=Object.freeze(Object.defineProperty({__proto__:null,memoize:c,memoizeMap:u,req:r},Symbol.toStringTag,{value:"Module"}));new N;async function fi(e){return await a("admin_cluster_getPaginatedAdminRateCards",e)}async function vi(e){await a("admin_cluster_deleteAdminRateCard",e)}async function pi(){return await a("admin_cluster_exportAdminRateCardsData")}async function Mi(e){await a("admin_cluster_importAdminRateCardsData",e)}async function Gi(e){await a("admin_cluster_addAdminRateCard",e)}async function hi(e){await a("admin_cluster_updateAdminRateCard",e)}async function Vi(e){await a("admin_cluster_pushAdminRateCardsToTenants",e)}async function Yi(){return await a("admin_cluster_getAdminRateCardSyncStatuses")}async function Bi(e){return await a("admin_cluster_getContentTenantStatus",e)}async function Wi(){return await a("admin_cluster_getAllTenantContentStatuses")}async function wi(e){await a("admin_cluster_pushAllContentToTenants",e)}async function Hi(e){await a("admin_cluster_pushContentToAllTenants",e)}async function bi(e){await a("admin_cluster_pushContentToTenant",e)}async function Xi(){return await a("admin_cluster_getEtlStatus")}async function Ki(e){await a("admin_cluster_processEtlFullLoad",e)}async function xi(e){return await a("admin_cluster_getRequiredDocumentTenantStatus",e)}async function qi(){return await a("admin_cluster_getAllTenantStatuses")}async function Zi(e){await a("admin_cluster_pushGlobalDocumentsToTenants",e)}async function Qi(e){await a("admin_cluster_pushRequiredDocumentsToAllTenants",e)}async function ki(e){await a("admin_cluster_pushRequiredDocumentsToTenant",e)}async function ji(e){await a("admin_cluster_deleteRequiredDocumentForTenant",e)}async function zi(e){await a("admin_cluster_addDocumentType",e)}async function Ji(e){await a("admin_cluster_updateDocumentType",e)}async function $i(e){return await a("admin_cluster_getLicense",e)}async function yi(e){await a("admin_cluster_updateLicense",e)}async function er(e){return await a("admin_cluster_getLicenseDocumentUrl",e)}async function nr(e){return await a("admin_cluster_getLicenseDocumentUrlInternal",e)}async function tr(){return await a("admin_cluster_getClusters")}async function ar(e){await a("admin_cluster_addCluster",e)}async function ir(e){return await a("admin_cluster_getTenants",e)}async function rr(e){return await a("admin_cluster_addClient360ToExistingTenants",e)}async function _r(e){await a("admin_cluster_addTenant",e)}async function sr(e){return await a("admin_cluster_getTenantStats",e)}async function or(e){return await a("admin_cluster_getTenantAccessUrl",e)}async function Er(e){return await a("admin_cluster_getAuditTrailData",e)}async function Or(e){return await a("admin_cluster_getAuditTrailById",e)}async function cr(){return await a("admin_cluster_getOverallNotificationStatus")}async function Ar(e){return await a("admin_cluster_getNotificationsData",e)}async function Nr(){return await a("admin_cluster_getTenantsProductsInfo")}async function Tr(e){await a("admin_cluster_updateTenantProductTypes",e)}async function Ir(e){await a("admin_cluster_updateAdminProductTypes",e)}async function Rr(){return await a("admin_cluster_getOverallRateCardSyncStatus")}async function lr(e){return await a("admin_cluster_getRateCardSyncStatus",e)}async function dr(e){return await a("admin_cluster_getTenantRateCardsDetails",e)}async function Dr(e){return await a("admin_cluster_getOfferCurationRateCardsDetails",e)}async function ur(e){await a("admin_cluster_syncRateCards",e)}async function Lr(e){return await a("admin_cluster_getResourceTenantStatus",e)}async function Sr(){return await a("admin_cluster_getAllTenantResourceStatuses")}async function Ur(e){await a("admin_cluster_pushAllResourceToTenants",e)}async function gr(e){await a("admin_cluster_pushResourceToAllTenants",e)}async function mr(e){await a("admin_cluster_pushResourceToTenant",e)}async function Cr(e){await a("admin_cluster_deleteResourceForTenant",e)}async function Pr(){return await a("admin_cluster_getRiskModelMetadata")}async function Fr(){await a("admin_cluster_pushRiskModelMetadataToTenants")}async function fr(e){await a("admin_cluster_pushRiskModelSubFactorWeightsConfigToTenants",e)}async function vr(e){await a("admin_cluster_pushRiskModelOverallWeightsConfigToTenants",e)}async function pr(e){await a("admin_cluster_enableSuccessFee",e)}async function Mr(e){await a("admin_cluster_disableSuccessFee",e)}async function Gr(e){return await a("admin_cluster_syncSurveys",e)}async function hr(e){await a("admin_cluster_syncDashboardData",e)}var Yt;(function(e){e.ClusterFields=c(()=>({type:{id:"type",label:"App Type",type:i.DROPDOWN,options:Pa,placeholder:"Select App Type"},tenantCount:{id:"tenantCount",label:"Number of Tenants",type:i.NUMBER}})),e.RunnerFields=c(()=>({name:{id:"name",label:"Name",type:i.TEXT,placeholder:"Enter name"},port:{id:"port",label:"Port",type:i.NUMBER,placeholder:"Enter port"},internalServiceUrl:{id:"internalServiceUrl",label:"Internal Service URL",type:i.TEXT,placeholder:"Enter internal service URL"},functionName:{id:"functionName",label:"Function Name",type:i.TEXT,placeholder:"Enter function name"},runnerId:{id:"runnerId",type:i.DROPDOWN,label:"Runner",placeholder:"Select runner",required:!0,disableClearable:!0},batchSize:{id:"batchSize",label:"Batch Size",type:i.NUMBER,placeholder:"Enter batch size"},processorCount:{id:"processorCount",label:"Processor Count",type:i.NUMBER,placeholder:"Enter processor count"},isEnabled:{id:"isEnabled",label:"Enabled",type:i.CHECKBOX},cronExpression:{id:"cronExpression",label:"Cron Expression",type:i.TEXT,placeholder:"Enter cron expression"}})),e.TenantFields=c(()=>({clusterId:{id:"clusterId",label:"Cluster ID",type:i.TEXT,placeholder:"Enter Cluster ID"},status:{id:"status",label:"Status",type:i.RADIO,options:V},enableSuccessFee:{id:"enableSuccessFee",label:"Enable Success Fee",type:i.CHECKBOX},type:{id:"type",label:"Tenant Type",type:i.DROPDOWN,options:Fa}})),e.ClusterTable=c(()=>({fields:{_id:r(R.CommonFields()._id),type:r(e.ClusterFields().type),tenantCount:r(e.ClusterFields().tenantCount)}})),e.RunnerConfigTable=c(()=>({fields:{_id:r(R.CommonFields()._id),name:r(e.RunnerFields().name),port:r(e.RunnerFields().port),internalServiceUrl:r(e.RunnerFields().internalServiceUrl)}})),e.JobConfigTable=c(()=>({fields:{_id:r(R.CommonFields()._id),functionName:r(e.RunnerFields().functionName),runnerId:r(e.RunnerFields().runnerId),batchSize:r(e.RunnerFields().batchSize),processorCount:r(e.RunnerFields().processorCount),isEnabled:r(e.RunnerFields().isEnabled)}})),e.ScheduleConfigTable=c(()=>({fields:{_id:r(R.CommonFields()._id),functionName:r(e.RunnerFields().functionName),cronExpression:r(e.RunnerFields().cronExpression),name:r(e.RunnerFields().name)}})),e.TenantTable=c(()=>({fields:{_id:r(R.CommonFields()._id),name:r(R.CommonFields().name),clusterId:r(e.TenantFields().clusterId),status:r(e.TenantFields().status),enableSuccessFee:e.TenantFields().enableSuccessFee,type:r(e.TenantFields().type)}}))})(Yt||(Yt={}));const Vr=Object.freeze(Object.defineProperty({__proto__:null,addAdminRateCard:Gi,addClient360ToExistingTenants:rr,addCluster:ar,addDocumentType:zi,addTenant:_r,deleteAdminRateCard:vi,deleteRequiredDocumentForTenant:ji,deleteResourceForTenant:Cr,disableSuccessFee:Mr,enableSuccessFee:pr,exportAdminRateCardsData:pi,getAdminRateCardSyncStatuses:Yi,getAllTenantContentStatuses:Wi,getAllTenantResourceStatuses:Sr,getAllTenantStatuses:qi,getAuditTrailById:Or,getAuditTrailData:Er,getClusters:tr,getContentTenantStatus:Bi,getEtlStatus:Xi,getLicense:$i,getLicenseDocumentUrl:er,getLicenseDocumentUrlInternal:nr,getNotificationsData:Ar,getOfferCurationRateCardsDetails:Dr,getOverallNotificationStatus:cr,getOverallRateCardSyncStatus:Rr,getPaginatedAdminRateCards:fi,getRateCardSyncStatus:lr,getRequiredDocumentTenantStatus:xi,getResourceTenantStatus:Lr,getRiskModelMetadata:Pr,getTenantAccessUrl:or,getTenantRateCardsDetails:dr,getTenantStats:sr,getTenants:ir,getTenantsProductsInfo:Nr,importAdminRateCardsData:Mi,processEtlFullLoad:Ki,pushAdminRateCardsToTenants:Vi,pushAllContentToTenants:wi,pushAllResourceToTenants:Ur,pushContentToAllTenants:Hi,pushContentToTenant:bi,pushGlobalDocumentsToTenants:Zi,pushRequiredDocumentsToAllTenants:Qi,pushRequiredDocumentsToTenant:ki,pushResourceToAllTenants:gr,pushResourceToTenant:mr,pushRiskModelMetadataToTenants:Fr,pushRiskModelOverallWeightsConfigToTenants:vr,pushRiskModelSubFactorWeightsConfigToTenants:fr,get root(){return Yt},syncDashboardData:hr,syncRateCards:ur,syncSurveys:Gr,updateAdminProductTypes:Ir,updateAdminRateCard:hi,updateDocumentType:Ji,updateLicense:yi,updateTenantProductTypes:Tr},Symbol.toStringTag,{value:"Module"}));new N;const Yr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));new N;async function Br(e){return await a("admin_deal_getPaginatedDeals",e)}async function Wr(e){return await a("admin_deal_getDealAccessUrl",e)}const wr=Object.freeze(Object.defineProperty({__proto__:null,getDealAccessUrl:Wr,getPaginatedDeals:Br},Symbol.toStringTag,{value:"Module"}));new N;async function Hr(e){return await a("admin_documentRecognition_addDocument",e)}async function br(e){return await a("admin_documentRecognition_getPaginatedDocumentsData",e)}async function Xr(e){return await a("admin_documentRecognition_getStatusInternal",e)}async function Kr(e){return await a("admin_documentRecognition_getSignedUrl",e)}async function xr(e){await a("admin_documentRecognition_updateDocumentStatus",e)}const qr=Object.freeze(Object.defineProperty({__proto__:null,addDocument:Hr,getPaginatedDocumentsData:br,getSignedUrl:Kr,getStatusInternal:Xr,updateDocumentStatus:xr},Symbol.toStringTag,{value:"Module"}));new N;async function Zr(){return await a("admin_healthStatus_getHealthStatus")}async function Qr(e){return await a("admin_healthStatus_getTenantHealth",e)}const kr=Object.freeze(Object.defineProperty({__proto__:null,getHealthStatus:Zr,getTenantHealth:Qr},Symbol.toStringTag,{value:"Module"}));new N;async function jr(e){return await a("admin_logs_getLogs",e)}var Bt;(function(e){e.LogsFields=c(()=>({id:{id:"id",label:"Id",type:i.TEXT},appType:{id:"appType",label:"App Type",type:i.DROPDOWN,options:[{label:"Admin",value:"admin"},{label:"Advisor",value:"advisor"},{label:"Provider",value:"provider"}]},appName:{id:"appName",label:"App Name",type:i.TEXT},tags:{id:"tags",label:"Tags",type:i.DROPDOWN},source:{id:"source",label:"Source",type:i.DROPDOWN,options:[{label:"Server",value:"server"},{label:"Runner",value:"runner"}]},functionName:{id:"functionName",label:"Function Name",type:i.TEXT},severity:{id:"severity",label:"Severity",type:i.DROPDOWN,options:[{label:"Error",value:"error"},{label:"Information",value:"info"},{label:"Critical",value:"crit"},{label:"Warning",value:"warning"}]},message:{id:"message",label:"Message",type:i.TEXT},timestamp:{id:"timestamp",label:"Timestamp",type:i.DATE_TIME}})),e.LogsTable=c(()=>({fields:{id:e.LogsFields().id,appType:e.LogsFields().appType,appName:e.LogsFields().appName,source:e.LogsFields().source,functionName:e.LogsFields().functionName,tags:e.LogsFields().tags,severity:e.LogsFields().severity,message:e.LogsFields().message,timestamp:e.LogsFields().timestamp}}))})(Bt||(Bt={}));const zr=Object.freeze(Object.defineProperty({__proto__:null,getLogs:jr,get root(){return Bt}},Symbol.toStringTag,{value:"Module"}));new N;async function Jr(e){return await a("admin_reporting_getDashboardFilters",e)}async function $r(e){return await a("admin_reporting_getPlatformReportUrl",e)}async function yr(e){return await a("admin_reporting_getPlatformReports",e)}async function e_(e){await a("admin_reporting_generatePlatformReports",e)}const n_=Object.freeze(Object.defineProperty({__proto__:null,generatePlatformReports:e_,getDashboardFilters:Jr,getPlatformReportUrl:$r,getPlatformReports:yr},Symbol.toStringTag,{value:"Module"}));new N;async function t_(e){return await a("admin_user_getPaginatedUsers",e)}async function a_(e){await a("admin_user_addUser",e)}async function i_(e){await a("admin_user_updateUser",e)}async function r_(e){await a("admin_user_activateUser",e)}async function __(e){await a("admin_user_deactivateUser",e)}async function s_(e){await a("admin_user_resetUserPassword",e)}async function o_(e){await a("admin_user_resetTotp",e)}async function E_(){return await a("admin_user_getAddUserOptions")}const O_=Object.freeze(Object.defineProperty({__proto__:null,activateUser:r_,addUser:a_,deactivateUser:__,getAddUserOptions:E_,getPaginatedUsers:t_,resetTotp:o_,resetUserPassword:s_,updateUser:i_},Symbol.toStringTag,{value:"Module"})),R_=Object.freeze(Object.defineProperty({__proto__:null,client:Ja,cluster:Vr,db:Yr,deal:wr,documentRecognition:qr,enums:Ci,error:Ma,healthStatus:kr,logs:zr,reporting:n_,server:Qa,shared:Pi,user:O_,utils:Fi},Symbol.toStringTag,{value:"Module"}));export{Dr as A,lr as B,dr as C,n_ as D,yr as E,ir as F,Lr as G,Or as H,Er as I,Ar as J,$i as K,Qr as L,O_ as M,E_ as N,t_ as O,V as T,R_ as a,Wi as b,Vr as c,Jr as d,Zr as e,ja as f,Bi as g,za as h,ka as i,tr as j,wr as k,Br as l,fi as m,Yi as n,qr as o,Kr as p,br as q,Yt as r,Xi as s,xi as t,qi as u,Bt as v,jr as w,cr as x,Nr as y,Rr as z};
