@matech/thebigpos-sdk 3.1.2-dev-30 → 3.1.2-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -138,7 +138,7 @@ export interface AccountBilling {
138
138
  contractedRate: number;
139
139
  }
140
140
  export interface AccountBillingRequest {
141
- billingType: AccountBillingRequestBillingTypeEnum;
141
+ billingType: "ClosedLoan" | "LoanOfficer";
142
142
  /** @format double */
143
143
  contractedRate: number;
144
144
  }
@@ -167,7 +167,7 @@ export interface Action {
167
167
  comments?: string | null;
168
168
  /** @format uuid */
169
169
  siteConfigurationID: string;
170
- applicationSettings?: any | null;
170
+ applicationSettings?: any;
171
171
  surveysToken?: string | null;
172
172
  }
173
173
  export interface Address {
@@ -386,7 +386,7 @@ export interface AiAuditLog {
386
386
  conversationId?: string | null;
387
387
  /** @format uuid */
388
388
  messageId?: string | null;
389
- eventType: AiAuditLogEventTypeEnum;
389
+ eventType: "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed";
390
390
  modelId?: string | null;
391
391
  /** @format int32 */
392
392
  inputTokens?: number | null;
@@ -399,7 +399,7 @@ export interface AiAuditLog {
399
399
  guardrailCategory?: string | null;
400
400
  rawRequest?: string | null;
401
401
  rawResponse?: string | null;
402
- details?: any | null;
402
+ details?: any;
403
403
  /** @format date-time */
404
404
  createdAt: string;
405
405
  }
@@ -483,7 +483,7 @@ export interface AiChatRequest {
483
483
  promptId?: string | null;
484
484
  }
485
485
  export interface AiChatStructuredData {
486
- type: AiChatStructuredDataTypeEnum;
486
+ type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages";
487
487
  displayHint?: AiDisplayHint | null;
488
488
  detectedDocumentType?: string | null;
489
489
  columns: string[];
@@ -500,7 +500,7 @@ export interface AiCitedDocument {
500
500
  folderId: string;
501
501
  folderName: string;
502
502
  name: string;
503
- sourceType: AiCitedDocumentSourceTypeEnum;
503
+ sourceType: "File" | "FreeText";
504
504
  contentType?: string | null;
505
505
  /** @format int64 */
506
506
  fileSizeBytes: number;
@@ -592,7 +592,7 @@ export interface AiGuardrail {
592
592
  /** @format uuid */
593
593
  id: string;
594
594
  name: string;
595
- category: AiGuardrailCategoryEnum;
595
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
596
596
  description?: string | null;
597
597
  keywords: string[];
598
598
  responseTemplate: string;
@@ -712,8 +712,8 @@ export interface AiUrlSource {
712
712
  name: string;
713
713
  url: string;
714
714
  description?: string | null;
715
- category: AiUrlSourceCategoryEnum;
716
- scope: AiUrlSourceScopeEnum;
715
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
716
+ scope: "FullDomain" | "SpecificPath";
717
717
  isActive: boolean;
718
718
  isDefault: boolean;
719
719
  hasAccountOverride: boolean;
@@ -826,14 +826,14 @@ export interface AuditLogEntry {
826
826
  /** @format uuid */
827
827
  id: string;
828
828
  entityType: string;
829
- changeType: AuditLogEntryChangeTypeEnum;
829
+ changeType: "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated" | "Accessed";
830
830
  /** @format uuid */
831
831
  entityId: string;
832
832
  performedBy?: AuditLogUser | null;
833
833
  rootEntityType?: string | null;
834
834
  /** @format uuid */
835
835
  rootEntityId?: string | null;
836
- changes?: any | null;
836
+ changes?: any;
837
837
  /** @format date-time */
838
838
  createdAt: string;
839
839
  }
@@ -873,7 +873,7 @@ export interface BorrowerCount {
873
873
  firstName: string;
874
874
  lastName: string;
875
875
  email: string;
876
- role: BorrowerCountRoleEnum;
876
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
877
877
  /** @format int32 */
878
878
  count: number;
879
879
  }
@@ -883,7 +883,7 @@ export interface BorrowerIdentity {
883
883
  firstName: string;
884
884
  lastName: string;
885
885
  email: string;
886
- role: BorrowerIdentityRoleEnum;
886
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
887
887
  }
888
888
  export interface BorrowersNotUsingPosSummary {
889
889
  /** @format int32 */
@@ -1051,13 +1051,13 @@ export interface CompanyDocument {
1051
1051
  folderId: string;
1052
1052
  folderName: string;
1053
1053
  name: string;
1054
- sourceType: CompanyDocumentSourceTypeEnum;
1054
+ sourceType: "File" | "FreeText";
1055
1055
  contentType?: string | null;
1056
1056
  /** @format int64 */
1057
1057
  fileSizeBytes: number;
1058
1058
  inlineContent?: string | null;
1059
1059
  previewImage?: string | null;
1060
- indexStatus: CompanyDocumentIndexStatusEnum;
1060
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1061
1061
  indexError?: string | null;
1062
1062
  /** @format date-time */
1063
1063
  indexedAt?: string | null;
@@ -1086,8 +1086,8 @@ export interface CompanyDocumentFolderFile {
1086
1086
  /** @format uuid */
1087
1087
  id: string;
1088
1088
  name: string;
1089
- sourceType: CompanyDocumentFolderFileSourceTypeEnum;
1090
- indexStatus: CompanyDocumentFolderFileIndexStatusEnum;
1089
+ sourceType: "File" | "FreeText";
1090
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1091
1091
  }
1092
1092
  export interface CompanyDocumentPaginated {
1093
1093
  rows: CompanyDocument[];
@@ -1179,7 +1179,7 @@ export interface CorporateSearchCriteria {
1179
1179
  isActive?: boolean | null;
1180
1180
  }
1181
1181
  export interface CreateAccessScopeRequest {
1182
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1182
+ scopeType: "User" | "Branch";
1183
1183
  /** @format uuid */
1184
1184
  userId?: string | null;
1185
1185
  /** @format uuid */
@@ -1197,7 +1197,7 @@ export interface CreateAccountRequest {
1197
1197
  /** @format int64 */
1198
1198
  nlmsid: number;
1199
1199
  settings: AccountSettingsRequest;
1200
- environment: CreateAccountRequestEnvironmentEnum;
1200
+ environment: "Development" | "Staging" | "UAT" | "Production";
1201
1201
  losIntegration: LOSIntegration;
1202
1202
  billingSettings: AccountBillingRequest;
1203
1203
  }
@@ -1211,7 +1211,7 @@ export interface CreateAiCanonicalFieldRequest {
1211
1211
  }
1212
1212
  export interface CreateAiGuardrailRequest {
1213
1213
  name: string;
1214
- category: CreateAiGuardrailRequestCategoryEnum;
1214
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1215
1215
  description?: string | null;
1216
1216
  keywords: string[];
1217
1217
  responseTemplate: string;
@@ -1238,8 +1238,8 @@ export interface CreateAiUrlSourceRequest {
1238
1238
  name: string;
1239
1239
  url: string;
1240
1240
  description?: string | null;
1241
- category: CreateAiUrlSourceRequestCategoryEnum;
1242
- scope: CreateAiUrlSourceRequestScopeEnum;
1241
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1242
+ scope: "FullDomain" | "SpecificPath";
1243
1243
  }
1244
1244
  export interface CreateBranchRequest {
1245
1245
  name: string;
@@ -1272,8 +1272,8 @@ export interface CreateCustomFieldDefinitionRequest {
1272
1272
  name: string;
1273
1273
  defaultValue?: string | null;
1274
1274
  regexPattern?: string | null;
1275
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1276
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1275
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1276
+ entityType: "Loan";
1277
1277
  options?: CustomFieldOptionRequest[] | null;
1278
1278
  permissions?: CustomFieldPermissionRequest[] | null;
1279
1279
  }
@@ -1291,7 +1291,7 @@ export interface CreateDocumentTemplateRequest {
1291
1291
  export interface CreateGroupMemberRequest {
1292
1292
  /** @format uuid */
1293
1293
  userId: string;
1294
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
1294
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
1295
1295
  }
1296
1296
  export interface CreateInviteRequest {
1297
1297
  firstName: string;
@@ -1299,7 +1299,7 @@ export interface CreateInviteRequest {
1299
1299
  emailAddress: string;
1300
1300
  phoneNumber?: string | null;
1301
1301
  /** @deprecated */
1302
- relationship: CreateInviteRequestRelationshipEnum;
1302
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1303
1303
  loanID: string;
1304
1304
  route?: string | null;
1305
1305
  /** @format uuid */
@@ -1319,7 +1319,7 @@ export interface CreateLoanImportRequest {
1319
1319
  endDate: string;
1320
1320
  /** @format date-time */
1321
1321
  startDate: string;
1322
- importMode: CreateLoanImportRequestImportModeEnum;
1322
+ importMode: "All" | "NewOnly" | "UpdateOnly";
1323
1323
  }
1324
1324
  export interface CreateSession {
1325
1325
  sessionId: string;
@@ -1337,7 +1337,7 @@ export interface CreateUserDeviceRequest {
1337
1337
  token: string;
1338
1338
  }
1339
1339
  export interface CreateUserDraft {
1340
- loanRole: CreateUserDraftLoanRoleEnum;
1340
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
1341
1341
  }
1342
1342
  export interface CreateUserGroupRequest {
1343
1343
  name: string;
@@ -1398,8 +1398,8 @@ export interface CustomFieldDefinition {
1398
1398
  name: string;
1399
1399
  defaultValue?: string | null;
1400
1400
  regexPattern?: string | null;
1401
- dataType: CustomFieldDefinitionDataTypeEnum;
1402
- entityType: CustomFieldDefinitionEntityTypeEnum;
1401
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1402
+ entityType: "Loan";
1403
1403
  options: CustomFieldOption[];
1404
1404
  permissions: CustomFieldPermission[];
1405
1405
  encompassMapping?: EncompassMapping | null;
@@ -1413,7 +1413,7 @@ export interface CustomFieldEntry {
1413
1413
  displayOrder: number;
1414
1414
  name: string;
1415
1415
  value: string;
1416
- dataType: CustomFieldEntryDataTypeEnum;
1416
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1417
1417
  }
1418
1418
  export interface CustomFieldOption {
1419
1419
  /** @format uuid */
@@ -1430,12 +1430,12 @@ export interface CustomFieldOptionRequest {
1430
1430
  export interface CustomFieldPermission {
1431
1431
  /** @format uuid */
1432
1432
  id: string;
1433
- role: CustomFieldPermissionRoleEnum;
1434
- accessLevel: CustomFieldPermissionAccessLevelEnum;
1433
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
1434
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1435
1435
  }
1436
1436
  export interface CustomFieldPermissionRequest {
1437
- role: CustomFieldPermissionRequestRoleEnum;
1438
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1437
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
1438
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1439
1439
  }
1440
1440
  export interface CustomFieldValue {
1441
1441
  /** @format uuid */
@@ -1446,7 +1446,7 @@ export interface CustomFieldValue {
1446
1446
  customFieldDefinitionID: string;
1447
1447
  value: string;
1448
1448
  definitionName: string;
1449
- dataType: CustomFieldValueDataTypeEnum;
1449
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1450
1450
  }
1451
1451
  export interface DetailedUser {
1452
1452
  /** @format date-time */
@@ -1676,7 +1676,7 @@ export interface Draft {
1676
1676
  siteConfiguration: SiteConfigurationReduced;
1677
1677
  /** @format uuid */
1678
1678
  loanID?: string | null;
1679
- type: DraftTypeEnum;
1679
+ type: "NewLoan" | "EditLoan";
1680
1680
  isCoBorrower: boolean;
1681
1681
  }
1682
1682
  export interface DraftContent {
@@ -1694,7 +1694,7 @@ export interface DraftContent {
1694
1694
  siteConfiguration: SiteConfigurationReduced;
1695
1695
  /** @format uuid */
1696
1696
  loanID?: string | null;
1697
- type: DraftContentTypeEnum;
1697
+ type: "NewLoan" | "EditLoan";
1698
1698
  isCoBorrower: boolean;
1699
1699
  applicationPayload: any;
1700
1700
  }
@@ -1710,7 +1710,7 @@ export interface DraftLoanOfficerReassignRequest {
1710
1710
  }
1711
1711
  export interface DraftRequest {
1712
1712
  applicationPayload: any;
1713
- customData?: any | null;
1713
+ customData?: any;
1714
1714
  isCoBorrower: boolean;
1715
1715
  }
1716
1716
  export interface EconsentPendingSummary {
@@ -1780,9 +1780,9 @@ export interface EncompassCredentialsDetail {
1780
1780
  clearStateIfUnlicensed: boolean;
1781
1781
  /** @deprecated */
1782
1782
  baseUrl?: string | null;
1783
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
1783
+ encompassEnvironment: "Production" | "UAT";
1784
1784
  consumerConnectWidgetHost?: string | null;
1785
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1785
+ signingMethod: "ConsumerConnect" | "POSF";
1786
1786
  subscriptionId?: string | null;
1787
1787
  environment?: string | null;
1788
1788
  /** @format uuid */
@@ -1798,9 +1798,9 @@ export interface EncompassCredentialsRequest {
1798
1798
  clearStateIfUnlicensed: boolean;
1799
1799
  /** @deprecated */
1800
1800
  baseUrl?: string | null;
1801
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
1801
+ encompassEnvironment: "Production" | "UAT";
1802
1802
  consumerConnectWidgetHost?: string | null;
1803
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1803
+ signingMethod: "ConsumerConnect" | "POSF";
1804
1804
  subscriptionId?: string | null;
1805
1805
  environment?: string | null;
1806
1806
  clientID?: string | null;
@@ -1917,8 +1917,8 @@ export interface EncompassRequestLog {
1917
1917
  losId?: string | null;
1918
1918
  /** @format uuid */
1919
1919
  accountId: string;
1920
- operationType: EncompassRequestLogOperationTypeEnum;
1921
- outcome: EncompassRequestLogOutcomeEnum;
1920
+ operationType: "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader" | "Read";
1921
+ outcome: "Success" | "Failure" | "PartialSuccess";
1922
1922
  message: string;
1923
1923
  endpoint?: string | null;
1924
1924
  httpMethod?: string | null;
@@ -1926,7 +1926,7 @@ export interface EncompassRequestLog {
1926
1926
  httpStatusCode?: number | null;
1927
1927
  /** @format int64 */
1928
1928
  durationMs?: number | null;
1929
- context?: any | null;
1929
+ context?: any;
1930
1930
  /** @format date-time */
1931
1931
  createdAt: string;
1932
1932
  }
@@ -1971,7 +1971,7 @@ export interface FileSearchCriteria {
1971
1971
  export interface FileWithBytes {
1972
1972
  name: string;
1973
1973
  /** @format byte */
1974
- data: Blob;
1974
+ data: string;
1975
1975
  fileName: string;
1976
1976
  mimeType?: string | null;
1977
1977
  extension?: string | null;
@@ -2047,7 +2047,7 @@ export interface FormSubmission {
2047
2047
  subjectPropertyAddressCounty?: string | null;
2048
2048
  subjectPropertyAddressState?: string | null;
2049
2049
  subjectPropertyAddressZip?: string | null;
2050
- data?: any | null;
2050
+ data?: any;
2051
2051
  /** @format uuid */
2052
2052
  listingID?: string | null;
2053
2053
  listing?: Listing | null;
@@ -2082,7 +2082,7 @@ export interface FormSubmissionRequest {
2082
2082
  subjectPropertyAddressCounty?: string | null;
2083
2083
  subjectPropertyAddressState?: string | null;
2084
2084
  subjectPropertyAddressZip?: string | null;
2085
- data?: any | null;
2085
+ data?: any;
2086
2086
  /** @format uuid */
2087
2087
  listingID?: string | null;
2088
2088
  }
@@ -2131,7 +2131,7 @@ export interface FusionFieldDisplay {
2131
2131
  fieldValue: string;
2132
2132
  }
2133
2133
  export interface FusionReportFilter {
2134
- filterType: FusionReportFilterFilterTypeEnum;
2134
+ filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
2135
2135
  targetField: string;
2136
2136
  targetValue: string;
2137
2137
  }
@@ -2151,7 +2151,7 @@ export interface GenerateSystemPrompt {
2151
2151
  }
2152
2152
  export interface GenerateSystemPromptRequest {
2153
2153
  description: string;
2154
- category: GenerateSystemPromptRequestCategoryEnum;
2154
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2155
2155
  }
2156
2156
  export interface GetApplications {
2157
2157
  applications: ApplicationRowData[];
@@ -2235,11 +2235,11 @@ export interface GetWorkflowRequest {
2235
2235
  export interface GuidPatchOperation {
2236
2236
  op: string;
2237
2237
  path: string;
2238
- value?: any | null;
2238
+ value?: any;
2239
2239
  from?: string | null;
2240
2240
  }
2241
2241
  export interface IPAddress {
2242
- addressFamily: IpAddressAddressFamilyEnum;
2242
+ addressFamily: "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
2243
2243
  /** @format int64 */
2244
2244
  scopeId: number;
2245
2245
  isIPv6Multicast: boolean;
@@ -2491,7 +2491,7 @@ export interface Loan {
2491
2491
  contacts: LoanContact[];
2492
2492
  customFields: CustomFieldEntry[];
2493
2493
  milestones: LoanMilestone[];
2494
- signingMethod: LoanSigningMethodEnum;
2494
+ signingMethod: "ConsumerConnect" | "POSF";
2495
2495
  }
2496
2496
  export interface LoanApplication {
2497
2497
  /** @format uuid */
@@ -2529,7 +2529,7 @@ export interface LoanApplicationRequest {
2529
2529
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
2530
2530
  /** @format uuid */
2531
2531
  draftId?: string | null;
2532
- additionalFields?: Record<string, any> | null;
2532
+ additionalFields?: Record<string, any>;
2533
2533
  /** @format uuid */
2534
2534
  existingLoanId?: string | null;
2535
2535
  }
@@ -2548,7 +2548,7 @@ export interface LoanBorrower {
2548
2548
  citizenship?: LoanCitizenship | null;
2549
2549
  maritalStatus?: LoanMaritalStatus | null;
2550
2550
  languagePreference?: LoanLanguagePreference | null;
2551
- applicationStatus: LoanBorrowerApplicationStatusEnum;
2551
+ applicationStatus: "Draft" | "Complete";
2552
2552
  /** @format int32 */
2553
2553
  numberOfDependents?: number | null;
2554
2554
  /** @format int32 */
@@ -3292,7 +3292,7 @@ export interface LoanConsentRequest {
3292
3292
  borrowerEConsent?: boolean | null;
3293
3293
  borrowerCreditAuth?: boolean | null;
3294
3294
  borrowerTCPAOptIn?: boolean | null;
3295
- additionalFields?: Record<string, string> | null;
3295
+ additionalFields?: Record<string, string>;
3296
3296
  }
3297
3297
  export interface LoanContact {
3298
3298
  /** @format date-time */
@@ -3310,7 +3310,7 @@ export interface LoanContact {
3310
3310
  email?: string | null;
3311
3311
  phone?: string | null;
3312
3312
  companyName?: string | null;
3313
- role: LoanContactRoleEnum;
3313
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3314
3314
  }
3315
3315
  export interface LoanContactList {
3316
3316
  email: string;
@@ -3332,7 +3332,7 @@ export interface LoanCostDetails {
3332
3332
  totalFinancing?: number | null;
3333
3333
  }
3334
3334
  export interface LoanCustomFieldsRequest {
3335
- additionalFields?: Record<string, string> | null;
3335
+ additionalFields?: Record<string, string>;
3336
3336
  }
3337
3337
  export interface LoanDocument {
3338
3338
  /** @format date-time */
@@ -3389,14 +3389,14 @@ export interface LoanDocumentFolderPermission {
3389
3389
  id: string;
3390
3390
  /** @format uuid */
3391
3391
  loanDocumentFolderID: string;
3392
- role: LoanDocumentFolderPermissionRoleEnum;
3393
- level: LoanDocumentFolderPermissionLevelEnum;
3394
- readScope: LoanDocumentFolderPermissionReadScopeEnum;
3392
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3393
+ level: "None" | "Read" | "Write" | "Manage";
3394
+ readScope: "Own" | "All";
3395
3395
  }
3396
3396
  export interface LoanDocumentFolderPermissionRequest {
3397
- role: LoanDocumentFolderPermissionRequestRoleEnum;
3398
- level: LoanDocumentFolderPermissionRequestLevelEnum;
3399
- readScope: LoanDocumentFolderPermissionRequestReadScopeEnum;
3397
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3398
+ level: "None" | "Read" | "Write" | "Manage";
3399
+ readScope: "Own" | "All";
3400
3400
  }
3401
3401
  export interface LoanDocumentFolderSearchCriteria {
3402
3402
  searchText?: string | null;
@@ -3556,13 +3556,13 @@ export interface LoanImport {
3556
3556
  /** @format int32 */
3557
3557
  importedCount: number;
3558
3558
  statusMessage?: string | null;
3559
- status: LoanImportStatusEnum;
3560
- importMode: LoanImportImportModeEnum;
3559
+ status: "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
3560
+ importMode: "All" | "NewOnly" | "UpdateOnly";
3561
3561
  /** @format date-time */
3562
3562
  createdAt?: string | null;
3563
3563
  }
3564
3564
  export interface LoanImportLog {
3565
- level: LoanImportLogLevelEnum;
3565
+ level: "None" | "Info" | "Warning" | "Error";
3566
3566
  message: string;
3567
3567
  /** @format date-time */
3568
3568
  createdAt: string;
@@ -3617,8 +3617,8 @@ export interface LoanListPaginated {
3617
3617
  export interface LoanLog {
3618
3618
  /** @format uuid */
3619
3619
  id: string;
3620
- level: LoanLogLevelEnum;
3621
- type: LoanLogTypeEnum;
3620
+ level: "None" | "Info" | "Warning" | "Error";
3621
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack";
3622
3622
  message: string;
3623
3623
  /** @format date-time */
3624
3624
  createdAt: string;
@@ -3626,8 +3626,8 @@ export interface LoanLog {
3626
3626
  export interface LoanLogDetail {
3627
3627
  /** @format uuid */
3628
3628
  id: string;
3629
- level: LoanLogDetailLevelEnum;
3630
- type: LoanLogDetailTypeEnum;
3629
+ level: "None" | "Info" | "Warning" | "Error";
3630
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack";
3631
3631
  message: string;
3632
3632
  /** @format date-time */
3633
3633
  createdAt: string;
@@ -3889,7 +3889,7 @@ export interface LoanQueueWithData {
3889
3889
  user: UserPublic;
3890
3890
  loanOfficer: LoanOfficerPublic;
3891
3891
  siteConfiguration: SiteConfigurationReduced;
3892
- data?: any | null;
3892
+ data?: any;
3893
3893
  }
3894
3894
  export interface LoanRecord {
3895
3895
  loanGuid: string;
@@ -3920,7 +3920,7 @@ export interface LoanTaskSearchRequest {
3920
3920
  loanStatus?: LoanTaskActivityFilter | null;
3921
3921
  }
3922
3922
  export interface LoanTaskStatusSummary {
3923
- status: LoanTaskStatusSummaryStatusEnum;
3923
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
3924
3924
  /** @format int32 */
3925
3925
  count: number;
3926
3926
  }
@@ -3932,7 +3932,7 @@ export interface LoanUser {
3932
3932
  email: string;
3933
3933
  phone?: string | null;
3934
3934
  role: string;
3935
- loanRole: LoanUserLoanRoleEnum;
3935
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3936
3936
  isUser: boolean;
3937
3937
  /** @format date-time */
3938
3938
  createdAt: string;
@@ -3940,7 +3940,7 @@ export interface LoanUser {
3940
3940
  export interface LosCredentialHealth {
3941
3941
  /** @format uuid */
3942
3942
  accountId: string;
3943
- status: LosCredentialHealthStatusEnum;
3943
+ status: "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
3944
3944
  /** @format date-time */
3945
3945
  checkedAtUtc: string;
3946
3946
  message: string;
@@ -3957,8 +3957,8 @@ export interface LosIntegration {
3957
3957
  accountId: string;
3958
3958
  accountName?: string | null;
3959
3959
  instanceID: string;
3960
- encompassEnvironment: LosIntegrationEncompassEnvironmentEnum;
3961
- signingMethod: LosIntegrationSigningMethodEnum;
3960
+ encompassEnvironment: "Production" | "UAT";
3961
+ signingMethod: "ConsumerConnect" | "POSF";
3962
3962
  consumerConnectWidgetHost?: string | null;
3963
3963
  defaultLoanOfficerUserName?: string | null;
3964
3964
  loanTemplate?: string | null;
@@ -3976,8 +3976,8 @@ export interface LosIntegrationCredentials {
3976
3976
  /** @format uuid */
3977
3977
  accountID: string;
3978
3978
  instanceID: string;
3979
- encompassEnvironment: LosIntegrationCredentialsEncompassEnvironmentEnum;
3980
- signingMethod: LosIntegrationCredentialsSigningMethodEnum;
3979
+ encompassEnvironment: "Production" | "UAT";
3980
+ signingMethod: "ConsumerConnect" | "POSF";
3981
3981
  consumerConnectWidgetHost?: string | null;
3982
3982
  defaultLoanOfficerUserName?: string | null;
3983
3983
  loanTemplate?: string | null;
@@ -4039,7 +4039,7 @@ export interface LosOperationTracking {
4039
4039
  operationType: string;
4040
4040
  correlationKey: string;
4041
4041
  lastTriggerSource?: string | null;
4042
- status: LosOperationTrackingStatusEnum;
4042
+ status: "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
4043
4043
  /** @format date-time */
4044
4044
  createdAt: string;
4045
4045
  /** @format date-time */
@@ -4125,7 +4125,7 @@ export interface LosSyncStep {
4125
4125
  /** @format int32 */
4126
4126
  order: number;
4127
4127
  name: string;
4128
- severity: LosSyncStepSeverityEnum;
4128
+ severity: "Success" | "Info" | "Warning" | "Error";
4129
4129
  message: string;
4130
4130
  /** @format date-time */
4131
4131
  atUtc: string;
@@ -4146,12 +4146,12 @@ export interface LosWebhookEntry {
4146
4146
  /** @format uuid */
4147
4147
  subscriptionId?: string | null;
4148
4148
  enableSubscription?: boolean | null;
4149
- status: LosWebhookEntryStatusEnum;
4149
+ status: "Registered" | "Disabled" | "Missing" | "Extra";
4150
4150
  }
4151
4151
  export interface LosWebhookInventory {
4152
4152
  /** @format uuid */
4153
4153
  accountId: string;
4154
- overallStatus: LosWebhookInventoryOverallStatusEnum;
4154
+ overallStatus: "Unknown" | "Healthy" | "Disabled" | "Missing";
4155
4155
  entries: LosWebhookEntry[];
4156
4156
  /** @format int32 */
4157
4157
  missingCount: number;
@@ -4160,7 +4160,7 @@ export interface LosWebhookInventory {
4160
4160
  message: string;
4161
4161
  }
4162
4162
  export interface ManualDocumentClassificationRequest {
4163
- documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
4163
+ documentType: "W2" | "Paystub" | "Form1099" | "Form1099Int" | "Form1099Misc" | "Form1099Nec" | "Form1099R" | "Form1099G" | "Form1099Div" | "Form1099Ssa" | "FederalTaxReturn1040" | "TaxReturnScheduleC" | "TaxReturnScheduleD" | "TaxReturnScheduleE" | "Form1065" | "Form1120" | "Form1120S" | "ProfitAndLossStatement" | "VerificationOfEmployment" | "BankStatement" | "InvestmentStatement" | "CreditCardStatement" | "MortgageStatement" | "PayoffStatement" | "HoaDocuments" | "UtilityBill" | "IdentityDocument" | "DemographicAddendum" | "Ssa89" | "Vba260551" | "Hud92900B" | "Check" | "Invoice" | "Receipt" | "LoanApplication1003" | "UnderwritingTransmittal1008" | "Other" | "SalesContract" | "TitleCommitment" | "DriversLicense" | "VerificationOfIncome" | "VerificationOfAssets" | "FloodCertificate" | "FraudReport" | "AddendumToSalesContract" | "GiftLetter" | "CpaLetter" | "TaxBill" | "CondoQuestionnaire" | "CondoBudget" | "CondoBylaws" | "RentalAgreements" | "Lease" | "HazardInsurance" | "VaCertificateOfEligibility" | "Appraisal" | "CreditReport" | "CondoMasterPolicy" | "EConsent" | "CreditAuthorization" | "TextOptIn" | "LoanComparison" | "AiGeneratedDocument" | "Unidentified";
4164
4164
  }
4165
4165
  export interface MdmUser {
4166
4166
  user_email?: string | null;
@@ -4243,7 +4243,7 @@ export interface ModuleParameterValue {
4243
4243
  parameterID: string;
4244
4244
  parameterName: string;
4245
4245
  parameterType: string;
4246
- value?: any | null;
4246
+ value?: any;
4247
4247
  isInherited: boolean;
4248
4248
  }
4249
4249
  export interface MonthlyPaymentCalculator {
@@ -4750,7 +4750,7 @@ export interface SiteConfiguration {
4750
4750
  deletedAt?: string | null;
4751
4751
  /** @format uuid */
4752
4752
  id: string;
4753
- type: SiteConfigurationTypeEnum;
4753
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4754
4754
  /** @format uuid */
4755
4755
  entityID: string;
4756
4756
  /** @format int32 */
@@ -4944,7 +4944,7 @@ export interface SiteConfigurationByUrl {
4944
4944
  deletedAt?: string | null;
4945
4945
  /** @format uuid */
4946
4946
  id: string;
4947
- type: SiteConfigurationByUrlTypeEnum;
4947
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4948
4948
  /** @format uuid */
4949
4949
  entityID: string;
4950
4950
  /** @format int32 */
@@ -5155,7 +5155,7 @@ export interface SiteConfigurationForm {
5155
5155
  export interface SiteConfigurationReduced {
5156
5156
  /** @format uuid */
5157
5157
  id: string;
5158
- type: SiteConfigurationReducedTypeEnum;
5158
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5159
5159
  url?: string | null;
5160
5160
  name: string;
5161
5161
  /** @format int64 */
@@ -5172,7 +5172,7 @@ export interface SiteConfigurationRequest {
5172
5172
  entityID: string;
5173
5173
  /** @format int32 */
5174
5174
  entityType: number;
5175
- type: SiteConfigurationRequestTypeEnum;
5175
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5176
5176
  url: string;
5177
5177
  name: string;
5178
5178
  introduction?: string | null;
@@ -5348,7 +5348,7 @@ export interface SiteConfigurationSearchCriteria {
5348
5348
  export interface SiteConfigurationSummary {
5349
5349
  /** @format uuid */
5350
5350
  id: string;
5351
- type: SiteConfigurationSummaryTypeEnum;
5351
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5352
5352
  url?: string | null;
5353
5353
  name: string;
5354
5354
  /** @format int64 */
@@ -5384,7 +5384,7 @@ export interface SiteTile {
5384
5384
  title: string;
5385
5385
  description: string;
5386
5386
  linkUrl: string;
5387
- linkTarget: SiteTileLinkTargetEnum;
5387
+ linkTarget: "Self" | "Blank";
5388
5388
  siteTypes: SiteConfigurationType[];
5389
5389
  locationAudiences: SiteTileLocationAudience[];
5390
5390
  /** @format int32 */
@@ -5396,11 +5396,11 @@ export interface SiteTile {
5396
5396
  updatedAt?: string | null;
5397
5397
  }
5398
5398
  export interface SiteTileLocationAudience {
5399
- location: SiteTileLocationAudienceLocationEnum;
5399
+ location: "HomePage" | "Dashboard";
5400
5400
  audience: UserRole[];
5401
5401
  }
5402
5402
  export interface SiteTileLocationAudienceRequest {
5403
- location: SiteTileLocationAudienceRequestLocationEnum;
5403
+ location: "HomePage" | "Dashboard";
5404
5404
  audience: UserRole[];
5405
5405
  }
5406
5406
  export interface SiteTilePaginated {
@@ -5416,7 +5416,7 @@ export interface SiteTileRequest {
5416
5416
  title: string;
5417
5417
  description: string;
5418
5418
  linkUrl: string;
5419
- linkTarget: SiteTileRequestLinkTargetEnum;
5419
+ linkTarget: "Self" | "Blank";
5420
5420
  siteTypes: SiteConfigurationType[];
5421
5421
  locationAudiences: SiteTileLocationAudienceRequest[];
5422
5422
  /** @format int32 */
@@ -5437,7 +5437,7 @@ export interface SiteTileView {
5437
5437
  title: string;
5438
5438
  description: string;
5439
5439
  linkUrl: string;
5440
- linkTarget: SiteTileViewLinkTargetEnum;
5440
+ linkTarget: "Self" | "Blank";
5441
5441
  /** @format int32 */
5442
5442
  weight: number;
5443
5443
  }
@@ -5668,7 +5668,7 @@ export interface UnregisteredBorrower {
5668
5668
  lastName?: string | null;
5669
5669
  fullName?: string | null;
5670
5670
  email?: string | null;
5671
- role: UnregisteredBorrowerRoleEnum;
5671
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5672
5672
  }
5673
5673
  export interface UpdateAccountRequest {
5674
5674
  name: string;
@@ -5692,7 +5692,7 @@ export interface UpdateAiCanonicalFieldRequest {
5692
5692
  }
5693
5693
  export interface UpdateAiGuardrailRequest {
5694
5694
  name: string;
5695
- category: UpdateAiGuardrailRequestCategoryEnum;
5695
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
5696
5696
  description?: string | null;
5697
5697
  keywords: string[];
5698
5698
  responseTemplate: string;
@@ -5722,8 +5722,8 @@ export interface UpdateAiUrlSourceRequest {
5722
5722
  name: string;
5723
5723
  url: string;
5724
5724
  description?: string | null;
5725
- category: UpdateAiUrlSourceRequestCategoryEnum;
5726
- scope: UpdateAiUrlSourceRequestScopeEnum;
5725
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
5726
+ scope: "FullDomain" | "SpecificPath";
5727
5727
  }
5728
5728
  export interface UpdateCompanyDocumentFolderRequest {
5729
5729
  name: string;
@@ -6027,7 +6027,7 @@ export interface UserDevice {
6027
6027
  export interface UserDraft {
6028
6028
  /** @format uuid */
6029
6029
  draftID: string;
6030
- role: UserDraftRoleEnum;
6030
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6031
6031
  user: User;
6032
6032
  }
6033
6033
  export interface UserDraftPaginated {
@@ -6051,7 +6051,7 @@ export interface UserGroupAccessScope {
6051
6051
  id: string;
6052
6052
  /** @format uuid */
6053
6053
  groupId: string;
6054
- scopeType: UserGroupAccessScopeScopeTypeEnum;
6054
+ scopeType: "User" | "Branch";
6055
6055
  /** @format uuid */
6056
6056
  userId?: string | null;
6057
6057
  /** @format uuid */
@@ -6074,7 +6074,7 @@ export interface UserGroupMemberUserSummary {
6074
6074
  id: string;
6075
6075
  name?: string | null;
6076
6076
  email?: string | null;
6077
- role: UserGroupMemberUserSummaryRoleEnum;
6077
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6078
6078
  }
6079
6079
  export interface UserGroupPaginated {
6080
6080
  rows: UserGroup[];
@@ -6091,7 +6091,7 @@ export interface UserLoan {
6091
6091
  deletedAt?: string | null;
6092
6092
  loanID: string;
6093
6093
  user: User;
6094
- role: UserLoanRoleEnum;
6094
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6095
6095
  /** @format int32 */
6096
6096
  borrowerPair?: number | null;
6097
6097
  /** @format int32 */
@@ -6103,11 +6103,11 @@ export interface UserLoanConsent {
6103
6103
  id: string;
6104
6104
  /** @format uuid */
6105
6105
  userLoanID: string;
6106
- type: UserLoanConsentTypeEnum;
6106
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
6107
6107
  providedConsent: boolean;
6108
6108
  source?: ConsentSource | null;
6109
6109
  ipAddress?: string | null;
6110
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
6110
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
6111
6111
  /** @format date-time */
6112
6112
  createdAt: string;
6113
6113
  /** @format date-time */
@@ -6281,107 +6281,6 @@ export interface Workflow {
6281
6281
  tileSubtitle: string;
6282
6282
  icon: string;
6283
6283
  }
6284
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6285
- export type AiAuditLogEventTypeEnum = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed";
6286
- export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages";
6287
- export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
6288
- export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6289
- export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6290
- export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6291
- export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated" | "Accessed";
6292
- export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6293
- export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6294
- export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
6295
- export type CompanyDocumentIndexStatusEnum = "Uploaded" | "Indexing" | "Indexed" | "Failed";
6296
- export type CompanyDocumentFolderFileSourceTypeEnum = "File" | "FreeText";
6297
- export type CompanyDocumentFolderFileIndexStatusEnum = "Uploaded" | "Indexing" | "Indexed" | "Failed";
6298
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6299
- export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
6300
- export type CreateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6301
- export type CreateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6302
- export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
6303
- export type CreateCustomFieldDefinitionRequestDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
6304
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
6305
- export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6306
- /** @deprecated */
6307
- export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
6308
- export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6309
- export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6310
- export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
6311
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
6312
- export type CustomFieldEntryDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
6313
- export type CustomFieldPermissionRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6314
- export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
6315
- export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6316
- export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
6317
- export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
6318
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
6319
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6320
- export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
6321
- export type EncompassCredentialsDetailSigningMethodEnum = "ConsumerConnect" | "POSF";
6322
- export type EncompassCredentialsRequestEncompassEnvironmentEnum = "Production" | "UAT";
6323
- export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "POSF";
6324
- export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader" | "Read";
6325
- export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
6326
- export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
6327
- export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
6328
- export type IpAddressAddressFamilyEnum = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
6329
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6330
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6331
- export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6332
- export type LoanDocumentFolderPermissionRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6333
- export type LoanDocumentFolderPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
6334
- export type LoanDocumentFolderPermissionReadScopeEnum = "Own" | "All";
6335
- export type LoanDocumentFolderPermissionRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6336
- export type LoanDocumentFolderPermissionRequestLevelEnum = "None" | "Read" | "Write" | "Manage";
6337
- export type LoanDocumentFolderPermissionRequestReadScopeEnum = "Own" | "All";
6338
- export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
6339
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6340
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6341
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6342
- export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack";
6343
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6344
- export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack";
6345
- export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
6346
- export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6347
- export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
6348
- export type LosIntegrationEncompassEnvironmentEnum = "Production" | "UAT";
6349
- export type LosIntegrationSigningMethodEnum = "ConsumerConnect" | "POSF";
6350
- export type LosIntegrationCredentialsEncompassEnvironmentEnum = "Production" | "UAT";
6351
- export type LosIntegrationCredentialsSigningMethodEnum = "ConsumerConnect" | "POSF";
6352
- export type LosOperationTrackingStatusEnum = "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
6353
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
6354
- export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" | "Extra";
6355
- export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
6356
- export type ManualDocumentClassificationRequestDocumentTypeEnum = "W2" | "Paystub" | "Form1099" | "Form1099Int" | "Form1099Misc" | "Form1099Nec" | "Form1099R" | "Form1099G" | "Form1099Div" | "Form1099Ssa" | "FederalTaxReturn1040" | "TaxReturnScheduleC" | "TaxReturnScheduleD" | "TaxReturnScheduleE" | "Form1065" | "Form1120" | "Form1120S" | "ProfitAndLossStatement" | "VerificationOfEmployment" | "BankStatement" | "InvestmentStatement" | "CreditCardStatement" | "MortgageStatement" | "PayoffStatement" | "HoaDocuments" | "UtilityBill" | "IdentityDocument" | "DemographicAddendum" | "Ssa89" | "Vba260551" | "Hud92900B" | "Check" | "Invoice" | "Receipt" | "LoanApplication1003" | "UnderwritingTransmittal1008" | "Other" | "SalesContract" | "TitleCommitment" | "DriversLicense" | "VerificationOfIncome" | "VerificationOfAssets" | "FloodCertificate" | "FraudReport" | "AddendumToSalesContract" | "GiftLetter" | "CpaLetter" | "TaxBill" | "CondoQuestionnaire" | "CondoBudget" | "CondoBylaws" | "RentalAgreements" | "Lease" | "HazardInsurance" | "VaCertificateOfEligibility" | "Appraisal" | "CreditReport" | "CondoMasterPolicy" | "EConsent" | "CreditAuthorization" | "TextOptIn" | "LoanComparison" | "AiGeneratedDocument" | "Unidentified";
6357
- export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6358
- export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6359
- export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6360
- export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6361
- export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6362
- export type SiteTileLinkTargetEnum = "Self" | "Blank";
6363
- export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
6364
- export type SiteTileLocationAudienceRequestLocationEnum = "HomePage" | "Dashboard";
6365
- export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
6366
- export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
6367
- export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6368
- export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6369
- export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6370
- export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
6371
- export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6372
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6373
- export type UserGroupMemberUserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6374
- export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6375
- export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
6376
- export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
6377
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6378
- /** @default "Realtor" */
6379
- export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6380
- export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6381
- export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6382
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6383
- export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6384
- export type GetSiteTilesBySiteConfigurationParamsLocationEnum = "HomePage" | "Dashboard";
6385
6284
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
6386
6285
  export type QueryParamsType = Record<string | number, any>;
6387
6286
  export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
@@ -6404,7 +6303,14 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
6404
6303
  secure?: boolean;
6405
6304
  format?: ResponseType;
6406
6305
  }
6407
- export type ContentType = "application/json" | "application/vnd.api+json" | "multipart/form-data" | "application/x-www-form-urlencoded" | "text/plain";
6306
+ export declare enum ContentType {
6307
+ JsonPatch = "application/json-patch+json",
6308
+ Json = "application/json",
6309
+ JsonApi = "application/vnd.api+json",
6310
+ FormData = "multipart/form-data",
6311
+ UrlEncoded = "application/x-www-form-urlencoded",
6312
+ Text = "text/plain"
6313
+ }
6408
6314
  export declare class HttpClient<SecurityDataType = unknown> {
6409
6315
  instance: AxiosInstance;
6410
6316
  private securityData;
@@ -8204,7 +8110,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8204
8110
  * @response `200` `(CustomFieldDefinition)[]` OK
8205
8111
  */
8206
8112
  getCustomFieldDefinitions: (query?: {
8207
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
8113
+ entityType?: "Loan";
8208
8114
  }, params?: RequestParams) => Promise<AxiosResponse<CustomFieldDefinition[], any, {}>>;
8209
8115
  /**
8210
8116
  * No description
@@ -9915,10 +9821,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9915
9821
  * @summary Download By ID
9916
9822
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
9917
9823
  * @secure
9918
- * @response `200` `Blob` OK
9824
+ * @response `200` `string` OK
9919
9825
  * @response `404` `ProblemDetails` Not Found
9920
9826
  */
9921
- downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<Blob, any, {}>>;
9827
+ downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
9922
9828
  /**
9923
9829
  * No description
9924
9830
  *
@@ -11195,7 +11101,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11195
11101
  getPartners: (query?: {
11196
11102
  showAll?: boolean;
11197
11103
  /** @default "Realtor" */
11198
- role?: GetPartnersParamsRoleEnum;
11104
+ role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
11199
11105
  /** @format int32 */
11200
11106
  pageSize?: number;
11201
11107
  /** @format int32 */
@@ -11373,7 +11279,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11373
11279
  * @response `200` `File` OK
11374
11280
  * @response `404` `ProblemDetails` Not Found
11375
11281
  */
11376
- getSamlMetadata: (sSoIntegration: GetSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
11282
+ getSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
11377
11283
  /**
11378
11284
  * No description
11379
11285
  *
@@ -11384,7 +11290,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11384
11290
  * @secure
11385
11291
  * @response `200` `File` OK
11386
11292
  */
11387
- createOrReplaceSamlMetadata: (sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
11293
+ createOrReplaceSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
11388
11294
  /**
11389
11295
  * No description
11390
11296
  *
@@ -11477,7 +11383,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11477
11383
  getSiteTilesBySiteConfiguration: (query?: {
11478
11384
  /** @format uuid */
11479
11385
  siteConfigurationId?: string;
11480
- location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
11386
+ location?: "HomePage" | "Dashboard";
11481
11387
  }, params?: RequestParams) => Promise<AxiosResponse<SiteTileView[], any, {}>>;
11482
11388
  /**
11483
11389
  * No description