@matech/thebigpos-sdk 2.40.0-rc.2 → 2.40.3-aibi-1

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
@@ -65,6 +65,16 @@ export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
65
65
  export type BorrowerApplicationStatus = "Draft" | "Complete";
66
66
  export type BillingType = "ClosedLoan" | "LoanOfficer";
67
67
  export type AuditChangeType = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored";
68
+ export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
69
+ export type AiUrlSourceCategory = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
70
+ export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
71
+ export type AiQueryTemplateName = "PipelineSummary" | "LoanDetail" | "LoansClosing" | "StaleLoans" | "LoansByType" | "LoansByOfficer" | "AverageLoanAmount" | "LockedVsUnlocked" | "LoansByPurpose" | "LoansByPropertyState" | "LoansByRate" | "DtiLtvRisk" | "DisclosureTracking" | "NewLoans" | "ExpiringLocks" | "ClosedLoans";
72
+ export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
73
+ export type AiOutputType = "Text" | "Document";
74
+ export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action";
75
+ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
76
+ export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
77
+ export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched";
68
78
  export type 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";
69
79
  export interface ASOSettings {
70
80
  enabled: boolean;
@@ -115,7 +125,7 @@ export interface AccountBilling {
115
125
  contractedRate: number;
116
126
  }
117
127
  export interface AccountBillingRequest {
118
- billingType: AccountBillingRequestBillingTypeEnum;
128
+ billingType: "ClosedLoan" | "LoanOfficer";
119
129
  /**
120
130
  * @format double
121
131
  * @min 0
@@ -129,6 +139,7 @@ export interface AccountSettings {
129
139
  smsNumber?: string | null;
130
140
  ssoHostOverride?: string | null;
131
141
  isEarlyAdopter: boolean;
142
+ isAIEnabled: boolean;
132
143
  }
133
144
  export interface AccountSettingsRequest {
134
145
  isSmsEnabled: boolean;
@@ -329,6 +340,220 @@ export interface AffordabilityCalculatorRequest {
329
340
  */
330
341
  annualInsurance: number;
331
342
  }
343
+ export interface AiAdminStats {
344
+ /** @format int32 */
345
+ totalRequests: number;
346
+ /** @format int32 */
347
+ blockedRequests: number;
348
+ /** @format double */
349
+ averageResponseTimeMs: number;
350
+ intentDistribution: Record<string, number>;
351
+ topQueryTemplates: Record<string, number>;
352
+ period: string;
353
+ }
354
+ export interface AiAuditLog {
355
+ /** @format uuid */
356
+ id: string;
357
+ /** @format uuid */
358
+ requestId: string;
359
+ /** @format uuid */
360
+ userId: string;
361
+ eventType: "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched";
362
+ details?: any;
363
+ /** @format date-time */
364
+ createdAt: string;
365
+ }
366
+ export interface AiAuditLogPaginated {
367
+ rows: AiAuditLog[];
368
+ pagination: Pagination;
369
+ /** @format int64 */
370
+ count: number;
371
+ }
372
+ export interface AiCanonicalField {
373
+ /** @format uuid */
374
+ id: string;
375
+ canonicalName: string;
376
+ displayName: string;
377
+ description: string;
378
+ allowedRoles: string[];
379
+ efPath?: string | null;
380
+ isPii: boolean;
381
+ isActive: boolean;
382
+ dataSource: string;
383
+ isDefault: boolean;
384
+ category?: string | null;
385
+ jsonPropertyName?: string | null;
386
+ textractKey?: string | null;
387
+ textractKeyAliases?: string | null;
388
+ hasAccountOverride: boolean;
389
+ /** @format date-time */
390
+ createdAt: string;
391
+ /** @format date-time */
392
+ updatedAt?: string | null;
393
+ }
394
+ export interface AiChat {
395
+ /** @format uuid */
396
+ conversationId: string;
397
+ /** @format uuid */
398
+ messageId: string;
399
+ response: AiChatBody;
400
+ metadata: AiChatMetadata;
401
+ }
402
+ export interface AiChatBody {
403
+ text: string;
404
+ data?: AiChatStructuredData | null;
405
+ suggestedFollowUps: string[];
406
+ }
407
+ export interface AiChatMessage {
408
+ /** @format uuid */
409
+ id: string;
410
+ userMessage: string;
411
+ assistantResponse: string;
412
+ intent?: AiIntent | null;
413
+ fieldsAccessed?: string[] | null;
414
+ /** @format date-time */
415
+ createdAt: string;
416
+ }
417
+ export interface AiChatMetadata {
418
+ intent: "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action";
419
+ fieldsAccessed: string[];
420
+ /** @format int64 */
421
+ queryTimeMs: number;
422
+ /** @format int64 */
423
+ llmTimeMs: number;
424
+ wasBlocked: boolean;
425
+ blockedReason?: string | null;
426
+ }
427
+ export interface AiChatRequest {
428
+ /**
429
+ * @minLength 1
430
+ * @maxLength 2000
431
+ */
432
+ message: string;
433
+ /** @format uuid */
434
+ conversationId?: string | null;
435
+ /** @format uuid */
436
+ loanId?: string | null;
437
+ documentIds?: string[] | null;
438
+ /** @format uuid */
439
+ promptId?: string | null;
440
+ }
441
+ export interface AiChatStructuredData {
442
+ type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
443
+ displayHint?: AiDisplayHint | null;
444
+ detectedDocumentType?: string | null;
445
+ columns: string[];
446
+ rows: string[][];
447
+ /** @format uuid */
448
+ generatedDocumentId?: string | null;
449
+ generatedFileName?: string | null;
450
+ }
451
+ export interface AiConversationDetail {
452
+ /** @format uuid */
453
+ id: string;
454
+ /** @format date-time */
455
+ createdAt: string;
456
+ /** @format date-time */
457
+ updatedAt?: string | null;
458
+ messages: AiChatMessage[];
459
+ }
460
+ export interface AiConversationListItem {
461
+ /** @format uuid */
462
+ id: string;
463
+ preview: string;
464
+ /** @format int32 */
465
+ messageCount: number;
466
+ /** @format date-time */
467
+ createdAt: string;
468
+ /** @format date-time */
469
+ updatedAt?: string | null;
470
+ }
471
+ export interface AiConversationListItemPaginated {
472
+ rows: AiConversationListItem[];
473
+ pagination: Pagination;
474
+ /** @format int64 */
475
+ count: number;
476
+ }
477
+ export interface AiGuardrail {
478
+ /** @format uuid */
479
+ id: string;
480
+ name: string;
481
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
482
+ description?: string | null;
483
+ keywords: string[];
484
+ responseTemplate: string;
485
+ isDefault: boolean;
486
+ isEnabled: boolean;
487
+ hasAccountOverride: boolean;
488
+ /** @format date-time */
489
+ createdAt: string;
490
+ /** @format date-time */
491
+ updatedAt?: string | null;
492
+ }
493
+ export interface AiPrompt {
494
+ /** @format uuid */
495
+ id: string;
496
+ title: string;
497
+ icon: string;
498
+ slug: string;
499
+ description: string;
500
+ documentTypes: string[];
501
+ applicableGuidelines: string[];
502
+ allowedRoles: string[];
503
+ systemPrompt: string;
504
+ userPromptTemplate: string;
505
+ followUpPrompts: string[];
506
+ /** @format int32 */
507
+ sortOrder: number;
508
+ isDefault: boolean;
509
+ /** @format uuid */
510
+ accountId?: string | null;
511
+ isActive: boolean;
512
+ category?: AiPromptCategory | null;
513
+ queryTemplateName?: AiQueryTemplateName | null;
514
+ displayHint?: AiDisplayHint | null;
515
+ bedrockModelId?: string | null;
516
+ requiredDataSources?: string[] | null;
517
+ outputType?: AiOutputType | null;
518
+ hasAccountOverride: boolean;
519
+ /** @format date-time */
520
+ createdAt: string;
521
+ /** @format date-time */
522
+ updatedAt?: string | null;
523
+ }
524
+ export interface AiPromptSummary {
525
+ /** @format uuid */
526
+ id: string;
527
+ title: string;
528
+ icon: string;
529
+ slug: string;
530
+ description: string;
531
+ documentTypes: string[];
532
+ applicableGuidelines: string[];
533
+ followUpPrompts: string[];
534
+ /** @format int32 */
535
+ sortOrder: number;
536
+ category?: AiPromptCategory | null;
537
+ queryTemplateName?: AiQueryTemplateName | null;
538
+ displayHint?: AiDisplayHint | null;
539
+ bedrockModelId?: string | null;
540
+ requiredDataSources?: string[] | null;
541
+ outputType?: AiOutputType | null;
542
+ }
543
+ export interface AiUrlSource {
544
+ /** @format uuid */
545
+ id: string;
546
+ name: string;
547
+ url: string;
548
+ description?: string | null;
549
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
550
+ scope: "FullDomain" | "SpecificPath";
551
+ isActive: boolean;
552
+ /** @format date-time */
553
+ createdAt: string;
554
+ /** @format date-time */
555
+ updatedAt?: string | null;
556
+ }
332
557
  export interface AllowImpersonationRequest {
333
558
  /**
334
559
  * @format email
@@ -435,7 +660,7 @@ export interface AuditLogEntry {
435
660
  /** @format uuid */
436
661
  id: string;
437
662
  entityType: string;
438
- changeType: AuditLogEntryChangeTypeEnum;
663
+ changeType: "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored";
439
664
  /** @format uuid */
440
665
  entityId: string;
441
666
  performedBy?: AuditLogUser | null;
@@ -719,7 +944,7 @@ export interface CorporateSearchCriteria {
719
944
  isActive?: boolean | null;
720
945
  }
721
946
  export interface CreateAccessScopeRequest {
722
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
947
+ scopeType: "User" | "Branch";
723
948
  /** @format uuid */
724
949
  userId?: string | null;
725
950
  /** @format uuid */
@@ -742,10 +967,87 @@ export interface CreateAccountRequest {
742
967
  */
743
968
  nlmsid: number;
744
969
  settings: AccountSettingsRequest;
745
- environment: CreateAccountRequestEnvironmentEnum;
970
+ environment: "Development" | "Staging" | "UAT" | "Production";
746
971
  losIntegration: LOSIntegration;
747
972
  billingSettings: AccountBillingRequest;
748
973
  }
974
+ export interface CreateAiCanonicalFieldRequest {
975
+ /**
976
+ * @minLength 1
977
+ * @maxLength 200
978
+ */
979
+ displayName: string;
980
+ /** @minLength 1 */
981
+ description: string;
982
+ /** @minItems 1 */
983
+ allowedRoles: string[];
984
+ isPii: boolean;
985
+ /** @minLength 1 */
986
+ dataSource: string;
987
+ category?: string | null;
988
+ }
989
+ export interface CreateAiGuardrailRequest {
990
+ /**
991
+ * @minLength 1
992
+ * @maxLength 200
993
+ */
994
+ name: string;
995
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
996
+ description?: string | null;
997
+ /** @minItems 1 */
998
+ keywords: string[];
999
+ /** @minLength 1 */
1000
+ responseTemplate: string;
1001
+ }
1002
+ export interface CreateAiPromptRequest {
1003
+ /**
1004
+ * @minLength 1
1005
+ * @maxLength 200
1006
+ */
1007
+ title: string;
1008
+ icon: string;
1009
+ /**
1010
+ * @minLength 1
1011
+ * @maxLength 100
1012
+ */
1013
+ slug: string;
1014
+ /**
1015
+ * @minLength 1
1016
+ * @maxLength 500
1017
+ */
1018
+ description: string;
1019
+ documentTypes: string[];
1020
+ applicableGuidelines: string[];
1021
+ allowedRoles: string[];
1022
+ /** @minLength 1 */
1023
+ systemPrompt: string;
1024
+ /** @minLength 1 */
1025
+ userPromptTemplate: string;
1026
+ followUpPrompts: string[];
1027
+ /** @format int32 */
1028
+ sortOrder: number;
1029
+ category?: AiPromptCategory | null;
1030
+ queryTemplateName?: AiQueryTemplateName | null;
1031
+ displayHint?: AiDisplayHint | null;
1032
+ bedrockModelId?: string | null;
1033
+ requiredDataSources?: string[] | null;
1034
+ outputType?: AiOutputType | null;
1035
+ }
1036
+ export interface CreateAiUrlSourceRequest {
1037
+ /**
1038
+ * @minLength 1
1039
+ * @maxLength 200
1040
+ */
1041
+ name: string;
1042
+ /**
1043
+ * @minLength 1
1044
+ * @maxLength 2048
1045
+ */
1046
+ url: string;
1047
+ description?: string | null;
1048
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1049
+ scope: "FullDomain" | "SpecificPath";
1050
+ }
749
1051
  export interface CreateBranchRequest {
750
1052
  /**
751
1053
  * @minLength 1
@@ -778,8 +1080,8 @@ export interface CreateCustomFieldDefinitionRequest {
778
1080
  name: string;
779
1081
  defaultValue?: string | null;
780
1082
  regexPattern?: string | null;
781
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
782
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1083
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1084
+ entityType: "Loan";
783
1085
  options?: CustomFieldOptionRequest[] | null;
784
1086
  permissions?: CustomFieldPermissionRequest[] | null;
785
1087
  }
@@ -799,7 +1101,7 @@ export interface CreateDocumentTemplateRequest {
799
1101
  export interface CreateGroupMemberRequest {
800
1102
  /** @format uuid */
801
1103
  userId: string;
802
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
1104
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
803
1105
  }
804
1106
  export interface CreateInviteRequest {
805
1107
  /** @minLength 1 */
@@ -810,7 +1112,7 @@ export interface CreateInviteRequest {
810
1112
  emailAddress: string;
811
1113
  phoneNumber?: string | null;
812
1114
  /** @deprecated */
813
- relationship: CreateInviteRequestRelationshipEnum;
1115
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
814
1116
  loanID: string;
815
1117
  route?: string | null;
816
1118
  /** @format uuid */
@@ -840,7 +1142,7 @@ export interface CreateLoanImportRequest {
840
1142
  * @minLength 1
841
1143
  */
842
1144
  startDate: string;
843
- importMode: CreateLoanImportRequestImportModeEnum;
1145
+ importMode: "All" | "NewOnly" | "UpdateOnly";
844
1146
  }
845
1147
  export interface CreateSession {
846
1148
  sessionId: string;
@@ -858,7 +1160,7 @@ export interface CreateUserDeviceRequest {
858
1160
  token: string;
859
1161
  }
860
1162
  export interface CreateUserDraft {
861
- loanRole: CreateUserDraftLoanRoleEnum;
1163
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
862
1164
  }
863
1165
  export interface CreateUserGroupRequest {
864
1166
  /**
@@ -939,8 +1241,8 @@ export interface CustomFieldDefinition {
939
1241
  name: string;
940
1242
  defaultValue?: string | null;
941
1243
  regexPattern?: string | null;
942
- dataType: CustomFieldDefinitionDataTypeEnum;
943
- entityType: CustomFieldDefinitionEntityTypeEnum;
1244
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1245
+ entityType: "Loan";
944
1246
  options: CustomFieldOption[];
945
1247
  permissions: CustomFieldPermission[];
946
1248
  encompassMapping?: EncompassMapping | null;
@@ -954,7 +1256,7 @@ export interface CustomFieldEntry {
954
1256
  displayOrder: number;
955
1257
  name: string;
956
1258
  value: string;
957
- dataType: CustomFieldEntryDataTypeEnum;
1259
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
958
1260
  }
959
1261
  export interface CustomFieldOption {
960
1262
  /** @format uuid */
@@ -971,12 +1273,12 @@ export interface CustomFieldOptionRequest {
971
1273
  export interface CustomFieldPermission {
972
1274
  /** @format uuid */
973
1275
  id: string;
974
- role: CustomFieldPermissionRoleEnum;
975
- accessLevel: CustomFieldPermissionAccessLevelEnum;
1276
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
1277
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
976
1278
  }
977
1279
  export interface CustomFieldPermissionRequest {
978
- role: CustomFieldPermissionRequestRoleEnum;
979
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1280
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
1281
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
980
1282
  }
981
1283
  export interface CustomFieldValue {
982
1284
  /** @format uuid */
@@ -987,7 +1289,7 @@ export interface CustomFieldValue {
987
1289
  customFieldDefinitionID: string;
988
1290
  value: string;
989
1291
  definitionName: string;
990
- dataType: CustomFieldValueDataTypeEnum;
1292
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
991
1293
  }
992
1294
  export interface CustomLoanData {
993
1295
  eConsentInformation?: EConsentInformation | null;
@@ -1231,7 +1533,7 @@ export interface Draft {
1231
1533
  siteConfiguration: SiteConfigurationReduced;
1232
1534
  /** @format uuid */
1233
1535
  loanID?: string | null;
1234
- type: DraftTypeEnum;
1536
+ type: "NewLoan" | "EditLoan";
1235
1537
  isCoBorrower: boolean;
1236
1538
  }
1237
1539
  export interface DraftContent {
@@ -1249,7 +1551,7 @@ export interface DraftContent {
1249
1551
  siteConfiguration: SiteConfigurationReduced;
1250
1552
  /** @format uuid */
1251
1553
  loanID?: string | null;
1252
- type: DraftContentTypeEnum;
1554
+ type: "NewLoan" | "EditLoan";
1253
1555
  isCoBorrower: boolean;
1254
1556
  applicationPayload: any;
1255
1557
  }
@@ -1340,7 +1642,7 @@ export interface EncompassCredentialsDetail {
1340
1642
  defaultLoanOfficerUserName?: string | null;
1341
1643
  clearStateIfUnlicensed: boolean;
1342
1644
  baseUrl?: string | null;
1343
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1645
+ signingMethod: "ConsumerConnect" | "POSF";
1344
1646
  subscriptionId?: string | null;
1345
1647
  environment?: string | null;
1346
1648
  }
@@ -1355,7 +1657,7 @@ export interface EncompassCredentialsRequest {
1355
1657
  defaultLoanOfficerUserName?: string | null;
1356
1658
  clearStateIfUnlicensed: boolean;
1357
1659
  baseUrl?: string | null;
1358
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1660
+ signingMethod: "ConsumerConnect" | "POSF";
1359
1661
  subscriptionId?: string | null;
1360
1662
  environment?: string | null;
1361
1663
  clientID?: string | null;
@@ -1406,12 +1708,33 @@ export interface EncompassMapping {
1406
1708
  encompassFieldId: string;
1407
1709
  status: string;
1408
1710
  }
1711
+ export interface EncompassPackageDocumentStatus {
1712
+ documentId: string;
1713
+ title: string;
1714
+ type?: string | null;
1715
+ signatureType?: string | null;
1716
+ isSigned: boolean;
1717
+ /** @format date-time */
1718
+ viewedAt?: string | null;
1719
+ /** @format date-time */
1720
+ completedAt?: string | null;
1721
+ }
1409
1722
  export interface EncompassPackageItem {
1410
1723
  packageId: string;
1411
1724
  status: string;
1412
1725
  /** @format date-time */
1413
1726
  createdAt: string;
1414
1727
  recipientId: string;
1728
+ title?: string | null;
1729
+ /** @format date-time */
1730
+ issuedAt?: string | null;
1731
+ /** @format date-time */
1732
+ expiresAt?: string | null;
1733
+ /** @format int32 */
1734
+ totalDocuments: number;
1735
+ /** @format int32 */
1736
+ signedDocuments: number;
1737
+ documents: EncompassPackageDocumentStatus[];
1415
1738
  }
1416
1739
  export interface EncompassPackageList {
1417
1740
  packages: EncompassPackageItem[];
@@ -1440,8 +1763,8 @@ export interface EncompassRequestLog {
1440
1763
  losId?: string | null;
1441
1764
  /** @format uuid */
1442
1765
  accountId: string;
1443
- operationType: EncompassRequestLogOperationTypeEnum;
1444
- outcome: EncompassRequestLogOutcomeEnum;
1766
+ operationType: "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
1767
+ outcome: "Success" | "Failure" | "PartialSuccess";
1445
1768
  message: string;
1446
1769
  endpoint?: string | null;
1447
1770
  httpMethod?: string | null;
@@ -1658,7 +1981,7 @@ export interface FusionFieldDisplay {
1658
1981
  fieldValue: string;
1659
1982
  }
1660
1983
  export interface FusionReportFilter {
1661
- filterType: FusionReportFilterFilterTypeEnum;
1984
+ filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
1662
1985
  targetField: string;
1663
1986
  targetValue: string;
1664
1987
  }
@@ -1678,6 +2001,17 @@ export interface GenerateDocumentRequest {
1678
2001
  preview: boolean;
1679
2002
  recipients: string[];
1680
2003
  }
2004
+ export interface GenerateSystemPrompt {
2005
+ systemPrompt: string;
2006
+ }
2007
+ export interface GenerateSystemPromptRequest {
2008
+ /**
2009
+ * @minLength 1
2010
+ * @maxLength 2000
2011
+ */
2012
+ description: string;
2013
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2014
+ }
1681
2015
  export interface GetApplications {
1682
2016
  applications: ApplicationRowData[];
1683
2017
  }
@@ -1772,7 +2106,7 @@ export interface GuidPatchOperation {
1772
2106
  from?: string | null;
1773
2107
  }
1774
2108
  export interface IPAddress {
1775
- addressFamily: IpAddressAddressFamilyEnum;
2109
+ 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";
1776
2110
  /** @format int64 */
1777
2111
  scopeId: number;
1778
2112
  isIPv6Multicast: boolean;
@@ -2026,7 +2360,7 @@ export interface Loan {
2026
2360
  userLoans: UserLoan[];
2027
2361
  contacts: LoanContact[];
2028
2362
  customFields: CustomFieldEntry[];
2029
- signingMethod: LoanSigningMethodEnum;
2363
+ signingMethod: "ConsumerConnect" | "POSF";
2030
2364
  }
2031
2365
  export interface LoanApplication {
2032
2366
  /** @format uuid */
@@ -2082,7 +2416,7 @@ export interface LoanBorrower {
2082
2416
  citizenship?: LoanCitizenship | null;
2083
2417
  maritalStatus?: LoanMaritalStatus | null;
2084
2418
  languagePreference?: LoanLanguagePreference | null;
2085
- applicationStatus: LoanBorrowerApplicationStatusEnum;
2419
+ applicationStatus: "Draft" | "Complete";
2086
2420
  /** @format int32 */
2087
2421
  numberOfDependents?: number | null;
2088
2422
  isPrimaryBorrower: boolean;
@@ -2939,7 +3273,7 @@ export interface LoanContact {
2939
3273
  email?: string | null;
2940
3274
  phone?: string | null;
2941
3275
  companyName?: string | null;
2942
- role: LoanContactRoleEnum;
3276
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
2943
3277
  }
2944
3278
  export interface LoanContactList {
2945
3279
  email: string;
@@ -2988,12 +3322,12 @@ export interface LoanDocumentFolderPermission {
2988
3322
  id: string;
2989
3323
  /** @format uuid */
2990
3324
  loanDocumentFolderID: string;
2991
- role: LoanDocumentFolderPermissionRoleEnum;
2992
- level: LoanDocumentFolderPermissionLevelEnum;
3325
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3326
+ level: "None" | "Read" | "Write" | "Manage";
2993
3327
  }
2994
3328
  export interface LoanDocumentFolderPermissionRequest {
2995
- role: LoanDocumentFolderPermissionRequestRoleEnum;
2996
- level: LoanDocumentFolderPermissionRequestLevelEnum;
3329
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3330
+ level: "None" | "Read" | "Write" | "Manage";
2997
3331
  }
2998
3332
  export interface LoanDocumentFolderUsage {
2999
3333
  /** @format uuid */
@@ -3101,13 +3435,13 @@ export interface LoanImport {
3101
3435
  /** @format int32 */
3102
3436
  importedCount: number;
3103
3437
  statusMessage?: string | null;
3104
- status: LoanImportStatusEnum;
3105
- importMode: LoanImportImportModeEnum;
3438
+ status: "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
3439
+ importMode: "All" | "NewOnly" | "UpdateOnly";
3106
3440
  /** @format date-time */
3107
3441
  createdAt?: string | null;
3108
3442
  }
3109
3443
  export interface LoanImportLog {
3110
- level: LoanImportLogLevelEnum;
3444
+ level: "None" | "Info" | "Warning" | "Error";
3111
3445
  message: string;
3112
3446
  /** @format date-time */
3113
3447
  createdAt: string;
@@ -3162,8 +3496,8 @@ export interface LoanListPaginated {
3162
3496
  export interface LoanLog {
3163
3497
  /** @format uuid */
3164
3498
  id: string;
3165
- level: LoanLogLevelEnum;
3166
- type: LoanLogTypeEnum;
3499
+ level: "None" | "Info" | "Warning" | "Error";
3500
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
3167
3501
  message: string;
3168
3502
  /** @format date-time */
3169
3503
  createdAt: string;
@@ -3171,8 +3505,8 @@ export interface LoanLog {
3171
3505
  export interface LoanLogDetail {
3172
3506
  /** @format uuid */
3173
3507
  id: string;
3174
- level: LoanLogDetailLevelEnum;
3175
- type: LoanLogDetailTypeEnum;
3508
+ level: "None" | "Info" | "Warning" | "Error";
3509
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
3176
3510
  message: string;
3177
3511
  /** @format date-time */
3178
3512
  createdAt: string;
@@ -3438,7 +3772,7 @@ export interface LoanTaskSearchRequest {
3438
3772
  loanStatus?: LoanTaskActivityFilter | null;
3439
3773
  }
3440
3774
  export interface LoanTaskStatusSummary {
3441
- status: LoanTaskStatusSummaryStatusEnum;
3775
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
3442
3776
  /** @format int32 */
3443
3777
  count: number;
3444
3778
  }
@@ -3450,7 +3784,7 @@ export interface LoanUser {
3450
3784
  email: string;
3451
3785
  phone?: string | null;
3452
3786
  role: string;
3453
- loanRole: LoanUserLoanRoleEnum;
3787
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3454
3788
  isUser: boolean;
3455
3789
  /** @format date-time */
3456
3790
  createdAt: string;
@@ -3483,7 +3817,7 @@ export interface LosOperationTracking {
3483
3817
  operationType: string;
3484
3818
  correlationKey: string;
3485
3819
  lastTriggerSource?: string | null;
3486
- status: LosOperationTrackingStatusEnum;
3820
+ status: "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
3487
3821
  /** @format date-time */
3488
3822
  createdAt: string;
3489
3823
  /** @format date-time */
@@ -3544,7 +3878,7 @@ export interface LosSyncStep {
3544
3878
  /** @format int32 */
3545
3879
  order: number;
3546
3880
  name: string;
3547
- severity: LosSyncStepSeverityEnum;
3881
+ severity: "Success" | "Info" | "Warning" | "Error";
3548
3882
  message: string;
3549
3883
  /** @format date-time */
3550
3884
  atUtc: string;
@@ -3597,6 +3931,29 @@ export interface MilestoneConfigurationRequest {
3597
3931
  loanType: string;
3598
3932
  notificationsEnabled: boolean;
3599
3933
  }
3934
+ export interface MobileAppReviewSeed {
3935
+ /** @format uuid */
3936
+ userID: string;
3937
+ userCreated: boolean;
3938
+ /** @format uuid */
3939
+ siteConfigurationID: string;
3940
+ siteConfigurationCreated: boolean;
3941
+ /** @format uuid */
3942
+ loanID: string;
3943
+ loanCreated: boolean;
3944
+ /** @format uuid */
3945
+ borrowerID: string;
3946
+ borrowerCompleted: boolean;
3947
+ }
3948
+ export interface MobileAppReviewSeedRequest {
3949
+ /**
3950
+ * @format uuid
3951
+ * @minLength 1
3952
+ */
3953
+ accountID: string;
3954
+ /** @format uuid */
3955
+ branchID?: string | null;
3956
+ }
3600
3957
  export interface MobileSettings {
3601
3958
  /** @format uuid */
3602
3959
  id?: string | null;
@@ -4168,7 +4525,7 @@ export interface SSOTokenRequest {
4168
4525
  redirectUri: string;
4169
4526
  }
4170
4527
  export interface SamlMetadataRequest {
4171
- ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
4528
+ ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4172
4529
  }
4173
4530
  export interface SendForgotPasswordRequest {
4174
4531
  /**
@@ -4219,7 +4576,7 @@ export interface SiteConfiguration {
4219
4576
  deletedAt?: string | null;
4220
4577
  /** @format uuid */
4221
4578
  id: string;
4222
- type: SiteConfigurationTypeEnum;
4579
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4223
4580
  /** @format uuid */
4224
4581
  entityID: string;
4225
4582
  /** @format int32 */
@@ -4413,7 +4770,7 @@ export interface SiteConfigurationByUrl {
4413
4770
  deletedAt?: string | null;
4414
4771
  /** @format uuid */
4415
4772
  id: string;
4416
- type: SiteConfigurationByUrlTypeEnum;
4773
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4417
4774
  /** @format uuid */
4418
4775
  entityID: string;
4419
4776
  /** @format int32 */
@@ -4624,7 +4981,7 @@ export interface SiteConfigurationForm {
4624
4981
  export interface SiteConfigurationReduced {
4625
4982
  /** @format uuid */
4626
4983
  id: string;
4627
- type: SiteConfigurationReducedTypeEnum;
4984
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4628
4985
  url?: string | null;
4629
4986
  name: string;
4630
4987
  /** @format int64 */
@@ -4641,7 +4998,7 @@ export interface SiteConfigurationRequest {
4641
4998
  entityID: string;
4642
4999
  /** @format int32 */
4643
5000
  entityType: number;
4644
- type: SiteConfigurationRequestTypeEnum;
5001
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4645
5002
  url: string;
4646
5003
  name: string;
4647
5004
  introduction?: string | null;
@@ -4816,7 +5173,7 @@ export interface SiteConfigurationSearchCriteria {
4816
5173
  export interface SiteConfigurationSummary {
4817
5174
  /** @format uuid */
4818
5175
  id: string;
4819
- type: SiteConfigurationSummaryTypeEnum;
5176
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4820
5177
  url?: string | null;
4821
5178
  name: string;
4822
5179
  /** @format int64 */
@@ -4860,6 +5217,13 @@ export interface SocialSurveyRecord {
4860
5217
  /** @format date-time */
4861
5218
  reviewCompletedTimeStamp?: string | null;
4862
5219
  }
5220
+ export interface SupportedModel {
5221
+ modelId: string;
5222
+ displayName: string;
5223
+ provider: string;
5224
+ description?: string | null;
5225
+ isDefault: boolean;
5226
+ }
4863
5227
  export interface SurveyEmailRequest {
4864
5228
  /** @minLength 1 */
4865
5229
  loanOfficerEmailAddress: string;
@@ -5101,6 +5465,75 @@ export interface UpdateAccountRequest {
5101
5465
  asoSettings?: ASOSettings | null;
5102
5466
  settings: AccountSettingsRequest;
5103
5467
  }
5468
+ export interface UpdateAiCanonicalFieldRequest {
5469
+ /**
5470
+ * @minLength 1
5471
+ * @maxLength 200
5472
+ */
5473
+ displayName: string;
5474
+ /** @minLength 1 */
5475
+ description: string;
5476
+ /** @minItems 1 */
5477
+ allowedRoles: string[];
5478
+ isPii: boolean;
5479
+ }
5480
+ export interface UpdateAiGuardrailRequest {
5481
+ /**
5482
+ * @minLength 1
5483
+ * @maxLength 200
5484
+ */
5485
+ name: string;
5486
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
5487
+ description?: string | null;
5488
+ /** @minItems 1 */
5489
+ keywords: string[];
5490
+ /** @minLength 1 */
5491
+ responseTemplate: string;
5492
+ }
5493
+ export interface UpdateAiPromptRequest {
5494
+ /**
5495
+ * @minLength 1
5496
+ * @maxLength 200
5497
+ */
5498
+ title: string;
5499
+ icon: string;
5500
+ /**
5501
+ * @minLength 1
5502
+ * @maxLength 500
5503
+ */
5504
+ description: string;
5505
+ documentTypes: string[];
5506
+ applicableGuidelines: string[];
5507
+ allowedRoles: string[];
5508
+ /** @minLength 1 */
5509
+ systemPrompt: string;
5510
+ /** @minLength 1 */
5511
+ userPromptTemplate: string;
5512
+ followUpPrompts: string[];
5513
+ /** @format int32 */
5514
+ sortOrder: number;
5515
+ category?: AiPromptCategory | null;
5516
+ queryTemplateName?: AiQueryTemplateName | null;
5517
+ displayHint?: AiDisplayHint | null;
5518
+ bedrockModelId?: string | null;
5519
+ requiredDataSources?: string[] | null;
5520
+ outputType?: AiOutputType | null;
5521
+ }
5522
+ export interface UpdateAiUrlSourceRequest {
5523
+ /**
5524
+ * @minLength 1
5525
+ * @maxLength 200
5526
+ */
5527
+ name: string;
5528
+ /**
5529
+ * @minLength 1
5530
+ * @maxLength 2048
5531
+ */
5532
+ url: string;
5533
+ description?: string | null;
5534
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
5535
+ scope: "FullDomain" | "SpecificPath";
5536
+ }
5104
5537
  export interface UpdateCustomFieldDefinitionRequest {
5105
5538
  isRequired: boolean;
5106
5539
  /**
@@ -5432,7 +5865,7 @@ export interface UserDevice {
5432
5865
  export interface UserDraft {
5433
5866
  /** @format uuid */
5434
5867
  draftID: string;
5435
- role: UserDraftRoleEnum;
5868
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5436
5869
  user: User;
5437
5870
  }
5438
5871
  export interface UserDraftPaginated {
@@ -5456,7 +5889,7 @@ export interface UserGroupAccessScope {
5456
5889
  id: string;
5457
5890
  /** @format uuid */
5458
5891
  groupId: string;
5459
- scopeType: UserGroupAccessScopeScopeTypeEnum;
5892
+ scopeType: "User" | "Branch";
5460
5893
  /** @format uuid */
5461
5894
  userId?: string | null;
5462
5895
  /** @format uuid */
@@ -5489,7 +5922,7 @@ export interface UserLoan {
5489
5922
  deletedAt?: string | null;
5490
5923
  loanID: string;
5491
5924
  user: User;
5492
- role: UserLoanRoleEnum;
5925
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5493
5926
  /** @format int32 */
5494
5927
  borrowerPair?: number | null;
5495
5928
  /** @format int32 */
@@ -5502,10 +5935,10 @@ export interface UserLoanConsent {
5502
5935
  id: string;
5503
5936
  /** @format uuid */
5504
5937
  userLoanID: string;
5505
- type: UserLoanConsentTypeEnum;
5938
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
5506
5939
  providedConsent: boolean;
5507
5940
  ipAddress?: string | null;
5508
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
5941
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
5509
5942
  /** @format date-time */
5510
5943
  createdAt: string;
5511
5944
  /** @format date-time */
@@ -5646,7 +6079,7 @@ export interface UserSummary {
5646
6079
  id: string;
5647
6080
  name?: string | null;
5648
6081
  email?: string | null;
5649
- role: UserSummaryRoleEnum;
6082
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5650
6083
  }
5651
6084
  export interface VerifyPasswordRequest {
5652
6085
  /**
@@ -5679,70 +6112,6 @@ export interface Workflow {
5679
6112
  tileSubtitle: string;
5680
6113
  icon: string;
5681
6114
  }
5682
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
5683
- export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored";
5684
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
5685
- export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
5686
- export type CreateCustomFieldDefinitionRequestDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5687
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
5688
- export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5689
- /** @deprecated */
5690
- export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
5691
- export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5692
- export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5693
- export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5694
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
5695
- export type CustomFieldEntryDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5696
- export type CustomFieldPermissionRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5697
- export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
5698
- export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5699
- export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
5700
- export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5701
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
5702
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
5703
- export type EncompassCredentialsDetailSigningMethodEnum = "ConsumerConnect" | "POSF";
5704
- export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "POSF";
5705
- export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
5706
- export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
5707
- export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
5708
- 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";
5709
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
5710
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
5711
- export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5712
- export type LoanDocumentFolderPermissionRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5713
- export type LoanDocumentFolderPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
5714
- export type LoanDocumentFolderPermissionRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5715
- export type LoanDocumentFolderPermissionRequestLevelEnum = "None" | "Read" | "Write" | "Manage";
5716
- export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
5717
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5718
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5719
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5720
- export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
5721
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
5722
- export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
5723
- export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
5724
- export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5725
- export type LosOperationTrackingStatusEnum = "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
5726
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
5727
- export type SamlMetadataRequestSsoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5728
- export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5729
- export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5730
- export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5731
- export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5732
- export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5733
- export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5734
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
5735
- export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5736
- export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
5737
- export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
5738
- export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5739
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
5740
- /** @default "Realtor" */
5741
- export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5742
- export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5743
- export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5744
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5745
- export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5746
6115
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
5747
6116
  export type QueryParamsType = Record<string | number, any>;
5748
6117
  export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
@@ -5788,7 +6157,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
5788
6157
  }
5789
6158
  /**
5790
6159
  * @title The Big POS API
5791
- * @version v2.40.0
6160
+ * @version v2.40.3
5792
6161
  * @termsOfService https://www.thebigpos.com/terms-of-use/
5793
6162
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
5794
6163
  */
@@ -5926,6 +6295,430 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5926
6295
  * @response `422` `ProblemDetails` Client Error
5927
6296
  */
5928
6297
  updateAccountBilling: (id: string, data: AccountBillingRequest, params?: RequestParams) => Promise<AxiosResponse<AccountBilling, any, {}>>;
6298
+ /**
6299
+ * No description
6300
+ *
6301
+ * @tags AiAdmin
6302
+ * @name GetAiAuditLogs
6303
+ * @summary Get paginated audit logs
6304
+ * @request GET:/api/ai/admin/audit-logs
6305
+ * @secure
6306
+ * @response `200` `AiAuditLogPaginated` Success
6307
+ */
6308
+ getAiAuditLogs: (query?: {
6309
+ eventType?: AiAuditEventType;
6310
+ /** @format date-time */
6311
+ startDate?: string;
6312
+ /** @format date-time */
6313
+ endDate?: string;
6314
+ /** @format int32 */
6315
+ pageSize?: number;
6316
+ /** @format int32 */
6317
+ pageNumber?: number;
6318
+ sortBy?: string;
6319
+ sortDirection?: string;
6320
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
6321
+ /**
6322
+ * No description
6323
+ *
6324
+ * @tags AiAdmin
6325
+ * @name GetAiAdminStats
6326
+ * @summary Get AI admin dashboard stats
6327
+ * @request GET:/api/ai/admin/stats
6328
+ * @secure
6329
+ * @response `200` `AiAdminStats` Success
6330
+ */
6331
+ getAiAdminStats: (query?: {
6332
+ /** @format date-time */
6333
+ startDate?: string;
6334
+ /** @format date-time */
6335
+ endDate?: string;
6336
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
6337
+ /**
6338
+ * No description
6339
+ *
6340
+ * @tags AiAdminPrompt
6341
+ * @name GetAiPrompts
6342
+ * @summary Get all prompts
6343
+ * @request GET:/api/ai/admin/prompts
6344
+ * @secure
6345
+ * @response `200` `(AiPrompt)[]` Success
6346
+ */
6347
+ getAiPrompts: (params?: RequestParams) => Promise<AxiosResponse<AiPrompt[], any, {}>>;
6348
+ /**
6349
+ * No description
6350
+ *
6351
+ * @tags AiAdminPrompt
6352
+ * @name CreateAiPrompt
6353
+ * @summary Create custom prompt
6354
+ * @request POST:/api/ai/admin/prompts
6355
+ * @secure
6356
+ * @response `201` `AiPrompt` Created
6357
+ * @response `400` `ProblemDetails` Bad Request
6358
+ */
6359
+ createAiPrompt: (data: CreateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6360
+ /**
6361
+ * No description
6362
+ *
6363
+ * @tags AiAdminPrompt
6364
+ * @name GetAiPrompt
6365
+ * @summary Get prompt by ID
6366
+ * @request GET:/api/ai/admin/prompts/{id}
6367
+ * @secure
6368
+ * @response `200` `AiPrompt` Success
6369
+ * @response `404` `ProblemDetails` Not Found
6370
+ */
6371
+ getAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6372
+ /**
6373
+ * No description
6374
+ *
6375
+ * @tags AiAdminPrompt
6376
+ * @name UpdateAiPrompt
6377
+ * @summary Update prompt
6378
+ * @request PUT:/api/ai/admin/prompts/{id}
6379
+ * @secure
6380
+ * @response `200` `AiPrompt` Success
6381
+ * @response `400` `ProblemDetails` Bad Request
6382
+ * @response `404` `ProblemDetails` Not Found
6383
+ */
6384
+ updateAiPrompt: (id: string, data: UpdateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6385
+ /**
6386
+ * No description
6387
+ *
6388
+ * @tags AiAdminPrompt
6389
+ * @name DeleteAiPrompt
6390
+ * @summary Delete prompt
6391
+ * @request DELETE:/api/ai/admin/prompts/{id}
6392
+ * @secure
6393
+ * @response `204` `void` No Content
6394
+ * @response `400` `ProblemDetails` Bad Request
6395
+ * @response `404` `ProblemDetails` Not Found
6396
+ */
6397
+ deleteAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6398
+ /**
6399
+ * No description
6400
+ *
6401
+ * @tags AiAdminPrompt
6402
+ * @name ToggleAiPrompt
6403
+ * @summary Toggle prompt active/inactive
6404
+ * @request PATCH:/api/ai/admin/prompts/{id}/toggle
6405
+ * @secure
6406
+ * @response `200` `AiPrompt` Success
6407
+ * @response `404` `ProblemDetails` Not Found
6408
+ */
6409
+ toggleAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6410
+ /**
6411
+ * No description
6412
+ *
6413
+ * @tags AiAdminPrompt
6414
+ * @name GenerateAiSystemPrompt
6415
+ * @summary Generate a system prompt from description
6416
+ * @request POST:/api/ai/admin/prompts/generate
6417
+ * @secure
6418
+ * @response `200` `GenerateSystemPrompt` Success
6419
+ * @response `400` `ProblemDetails` Bad Request
6420
+ */
6421
+ generateAiSystemPrompt: (data: GenerateSystemPromptRequest, params?: RequestParams) => Promise<AxiosResponse<GenerateSystemPrompt, any, {}>>;
6422
+ /**
6423
+ * No description
6424
+ *
6425
+ * @tags AiAdminPrompt
6426
+ * @name GetSupportedModels
6427
+ * @summary Get supported LLM models
6428
+ * @request GET:/api/ai/admin/prompts/supported-models
6429
+ * @secure
6430
+ * @response `200` `(SupportedModel)[]` Success
6431
+ */
6432
+ getSupportedModels: (params?: RequestParams) => Promise<AxiosResponse<SupportedModel[], any, {}>>;
6433
+ /**
6434
+ * No description
6435
+ *
6436
+ * @tags AiCanonicalField
6437
+ * @name GetAiCanonicalFields
6438
+ * @summary Get all canonical fields
6439
+ * @request GET:/api/ai/admin/fields
6440
+ * @secure
6441
+ * @response `200` `(AiCanonicalField)[]` Success
6442
+ */
6443
+ getAiCanonicalFields: (params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField[], any, {}>>;
6444
+ /**
6445
+ * No description
6446
+ *
6447
+ * @tags AiCanonicalField
6448
+ * @name CreateAiCanonicalField
6449
+ * @summary Create canonical field
6450
+ * @request POST:/api/ai/admin/fields
6451
+ * @secure
6452
+ * @response `201` `AiCanonicalField` Created
6453
+ * @response `400` `ProblemDetails` Bad Request
6454
+ */
6455
+ createAiCanonicalField: (data: CreateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6456
+ /**
6457
+ * No description
6458
+ *
6459
+ * @tags AiCanonicalField
6460
+ * @name GetAiCanonicalField
6461
+ * @summary Get canonical field by ID
6462
+ * @request GET:/api/ai/admin/fields/{id}
6463
+ * @secure
6464
+ * @response `200` `AiCanonicalField` Success
6465
+ * @response `404` `ProblemDetails` Not Found
6466
+ */
6467
+ getAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6468
+ /**
6469
+ * No description
6470
+ *
6471
+ * @tags AiCanonicalField
6472
+ * @name UpdateAiCanonicalField
6473
+ * @summary Update canonical field
6474
+ * @request PUT:/api/ai/admin/fields/{id}
6475
+ * @secure
6476
+ * @response `200` `AiCanonicalField` Success
6477
+ * @response `400` `ProblemDetails` Bad Request
6478
+ * @response `404` `ProblemDetails` Not Found
6479
+ */
6480
+ updateAiCanonicalField: (id: string, data: UpdateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6481
+ /**
6482
+ * No description
6483
+ *
6484
+ * @tags AiCanonicalField
6485
+ * @name DeleteAiCanonicalField
6486
+ * @summary Delete canonical field
6487
+ * @request DELETE:/api/ai/admin/fields/{id}
6488
+ * @secure
6489
+ * @response `204` `void` No Content
6490
+ * @response `404` `ProblemDetails` Not Found
6491
+ */
6492
+ deleteAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6493
+ /**
6494
+ * No description
6495
+ *
6496
+ * @tags AiCanonicalField
6497
+ * @name ToggleAiCanonicalField
6498
+ * @summary Toggle canonical field active/inactive
6499
+ * @request PATCH:/api/ai/admin/fields/{id}/toggle
6500
+ * @secure
6501
+ * @response `200` `AiCanonicalField` Success
6502
+ * @response `404` `ProblemDetails` Not Found
6503
+ */
6504
+ toggleAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6505
+ /**
6506
+ * No description
6507
+ *
6508
+ * @tags AiChat
6509
+ * @name AiChat
6510
+ * @summary Send AI chat message
6511
+ * @request POST:/api/ai/chat
6512
+ * @secure
6513
+ * @response `200` `AiChat` Success
6514
+ * @response `400` `ProblemDetails` Bad Request
6515
+ * @response `401` `ProblemDetails` Unauthorized
6516
+ */
6517
+ aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}>>;
6518
+ /**
6519
+ * No description
6520
+ *
6521
+ * @tags AiConversation
6522
+ * @name GetAiConversations
6523
+ * @summary Get user conversations
6524
+ * @request GET:/api/ai/conversations
6525
+ * @secure
6526
+ * @response `200` `AiConversationListItemPaginated` Success
6527
+ */
6528
+ getAiConversations: (query?: {
6529
+ /** @format int32 */
6530
+ pageSize?: number;
6531
+ /** @format int32 */
6532
+ pageNumber?: number;
6533
+ sortBy?: string;
6534
+ sortDirection?: string;
6535
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
6536
+ /**
6537
+ * No description
6538
+ *
6539
+ * @tags AiConversation
6540
+ * @name GetAiConversation
6541
+ * @summary Get conversation with messages
6542
+ * @request GET:/api/ai/conversations/{id}
6543
+ * @secure
6544
+ * @response `200` `AiConversationDetail` Success
6545
+ * @response `403` `ProblemDetails` Forbidden
6546
+ * @response `404` `ProblemDetails` Not Found
6547
+ */
6548
+ getAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
6549
+ /**
6550
+ * No description
6551
+ *
6552
+ * @tags AiConversation
6553
+ * @name DeleteAiConversation
6554
+ * @summary Delete conversation
6555
+ * @request DELETE:/api/ai/conversations/{id}
6556
+ * @secure
6557
+ * @response `204` `void` No Content
6558
+ * @response `403` `ProblemDetails` Forbidden
6559
+ * @response `404` `ProblemDetails` Not Found
6560
+ */
6561
+ deleteAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6562
+ /**
6563
+ * No description
6564
+ *
6565
+ * @tags AiGuardrail
6566
+ * @name GetAiGuardrails
6567
+ * @summary Get all guardrails
6568
+ * @request GET:/api/ai/admin/guardrails
6569
+ * @secure
6570
+ * @response `200` `(AiGuardrail)[]` Success
6571
+ */
6572
+ getAiGuardrails: (params?: RequestParams) => Promise<AxiosResponse<AiGuardrail[], any, {}>>;
6573
+ /**
6574
+ * No description
6575
+ *
6576
+ * @tags AiGuardrail
6577
+ * @name CreateAiGuardrail
6578
+ * @summary Create custom guardrail
6579
+ * @request POST:/api/ai/admin/guardrails
6580
+ * @secure
6581
+ * @response `201` `AiGuardrail` Created
6582
+ * @response `400` `ProblemDetails` Bad Request
6583
+ */
6584
+ createAiGuardrail: (data: CreateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6585
+ /**
6586
+ * No description
6587
+ *
6588
+ * @tags AiGuardrail
6589
+ * @name GetAiGuardrail
6590
+ * @summary Get guardrail by ID
6591
+ * @request GET:/api/ai/admin/guardrails/{id}
6592
+ * @secure
6593
+ * @response `200` `AiGuardrail` Success
6594
+ * @response `404` `ProblemDetails` Not Found
6595
+ */
6596
+ getAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6597
+ /**
6598
+ * No description
6599
+ *
6600
+ * @tags AiGuardrail
6601
+ * @name UpdateAiGuardrail
6602
+ * @summary Update guardrail
6603
+ * @request PUT:/api/ai/admin/guardrails/{id}
6604
+ * @secure
6605
+ * @response `200` `AiGuardrail` Success
6606
+ * @response `400` `ProblemDetails` Bad Request
6607
+ * @response `404` `ProblemDetails` Not Found
6608
+ */
6609
+ updateAiGuardrail: (id: string, data: UpdateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6610
+ /**
6611
+ * No description
6612
+ *
6613
+ * @tags AiGuardrail
6614
+ * @name DeleteAiGuardrail
6615
+ * @summary Delete guardrail
6616
+ * @request DELETE:/api/ai/admin/guardrails/{id}
6617
+ * @secure
6618
+ * @response `204` `void` No Content
6619
+ * @response `400` `ProblemDetails` Bad Request
6620
+ * @response `404` `ProblemDetails` Not Found
6621
+ */
6622
+ deleteAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6623
+ /**
6624
+ * No description
6625
+ *
6626
+ * @tags AiGuardrail
6627
+ * @name ToggleAiGuardrail
6628
+ * @summary Toggle guardrail enabled/disabled
6629
+ * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
6630
+ * @secure
6631
+ * @response `200` `AiGuardrail` Success
6632
+ * @response `404` `ProblemDetails` Not Found
6633
+ */
6634
+ toggleAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6635
+ /**
6636
+ * No description
6637
+ *
6638
+ * @tags AiPrompt
6639
+ * @name GetAvailablePrompts
6640
+ * @summary Get available prompts for current user
6641
+ * @request GET:/api/ai/prompts
6642
+ * @secure
6643
+ * @response `200` `(AiPromptSummary)[]` Success
6644
+ */
6645
+ getAvailablePrompts: (query?: {
6646
+ documentType?: string;
6647
+ }, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
6648
+ /**
6649
+ * No description
6650
+ *
6651
+ * @tags AiUrlSource
6652
+ * @name GetAiUrlSources
6653
+ * @summary Get all URL sources
6654
+ * @request GET:/api/ai/admin/url-sources
6655
+ * @secure
6656
+ * @response `200` `(AiUrlSource)[]` Success
6657
+ */
6658
+ getAiUrlSources: (params?: RequestParams) => Promise<AxiosResponse<AiUrlSource[], any, {}>>;
6659
+ /**
6660
+ * No description
6661
+ *
6662
+ * @tags AiUrlSource
6663
+ * @name CreateAiUrlSource
6664
+ * @summary Create URL source
6665
+ * @request POST:/api/ai/admin/url-sources
6666
+ * @secure
6667
+ * @response `201` `AiUrlSource` Created
6668
+ * @response `400` `ProblemDetails` Bad Request
6669
+ * @response `409` `ProblemDetails` Conflict
6670
+ */
6671
+ createAiUrlSource: (data: CreateAiUrlSourceRequest, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6672
+ /**
6673
+ * No description
6674
+ *
6675
+ * @tags AiUrlSource
6676
+ * @name GetAiUrlSource
6677
+ * @summary Get URL source by ID
6678
+ * @request GET:/api/ai/admin/url-sources/{id}
6679
+ * @secure
6680
+ * @response `200` `AiUrlSource` Success
6681
+ * @response `404` `ProblemDetails` Not Found
6682
+ */
6683
+ getAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6684
+ /**
6685
+ * No description
6686
+ *
6687
+ * @tags AiUrlSource
6688
+ * @name UpdateAiUrlSource
6689
+ * @summary Update URL source
6690
+ * @request PUT:/api/ai/admin/url-sources/{id}
6691
+ * @secure
6692
+ * @response `200` `AiUrlSource` Success
6693
+ * @response `400` `ProblemDetails` Bad Request
6694
+ * @response `404` `ProblemDetails` Not Found
6695
+ * @response `409` `ProblemDetails` Conflict
6696
+ */
6697
+ updateAiUrlSource: (id: string, data: UpdateAiUrlSourceRequest, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6698
+ /**
6699
+ * No description
6700
+ *
6701
+ * @tags AiUrlSource
6702
+ * @name DeleteAiUrlSource
6703
+ * @summary Delete URL source
6704
+ * @request DELETE:/api/ai/admin/url-sources/{id}
6705
+ * @secure
6706
+ * @response `204` `void` No Content
6707
+ * @response `404` `ProblemDetails` Not Found
6708
+ */
6709
+ deleteAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6710
+ /**
6711
+ * No description
6712
+ *
6713
+ * @tags AiUrlSource
6714
+ * @name ToggleAiUrlSource
6715
+ * @summary Toggle URL source active/inactive
6716
+ * @request PATCH:/api/ai/admin/url-sources/{id}/toggle
6717
+ * @secure
6718
+ * @response `200` `AiUrlSource` Success
6719
+ * @response `404` `ProblemDetails` Not Found
6720
+ */
6721
+ toggleAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
5929
6722
  /**
5930
6723
  * No description
5931
6724
  *
@@ -6450,7 +7243,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6450
7243
  * @response `200` `(CustomFieldDefinition)[]` Success
6451
7244
  */
6452
7245
  getCustomFieldDefinitions: (query?: {
6453
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
7246
+ entityType?: "Loan";
6454
7247
  }, params?: RequestParams) => Promise<AxiosResponse<CustomFieldDefinition[], any, {}>>;
6455
7248
  /**
6456
7249
  * No description
@@ -8890,6 +9683,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8890
9683
  * @response `404` `Error` Not Found
8891
9684
  */
8892
9685
  deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
9686
+ /**
9687
+ * No description
9688
+ *
9689
+ * @tags MobileAppReview
9690
+ * @name SeedMobileAppReview
9691
+ * @summary Idempotently seed the test loan officer, site configuration, loan and completed borrower used by mobile app store reviewers.
9692
+ * @request POST:/api/mobile-app-review/seed
9693
+ * @secure
9694
+ * @response `200` `MobileAppReviewSeed` Success
9695
+ * @response `400` `ProblemDetails` Bad Request
9696
+ * @response `404` `ProblemDetails` Not Found
9697
+ * @response `422` `ProblemDetails` Client Error
9698
+ */
9699
+ seedMobileAppReview: (data: MobileAppReviewSeedRequest, params?: RequestParams) => Promise<AxiosResponse<MobileAppReviewSeed, any, {}>>;
8893
9700
  /**
8894
9701
  * No description
8895
9702
  *
@@ -9118,7 +9925,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9118
9925
  getPartners: (query?: {
9119
9926
  showAll?: boolean;
9120
9927
  /** @default "Realtor" */
9121
- role?: GetPartnersParamsRoleEnum;
9928
+ role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
9122
9929
  /** @format int32 */
9123
9930
  pageSize?: number;
9124
9931
  /** @format int32 */
@@ -9296,7 +10103,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9296
10103
  * @response `200` `File` Success
9297
10104
  * @response `404` `ProblemDetails` Not Found
9298
10105
  */
9299
- getSamlMetadata: (sSoIntegration: GetSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
10106
+ getSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
9300
10107
  /**
9301
10108
  * No description
9302
10109
  *
@@ -9307,7 +10114,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9307
10114
  * @secure
9308
10115
  * @response `200` `File` Success
9309
10116
  */
9310
- createOrReplaceSamlMetadata: (sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
10117
+ createOrReplaceSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
9311
10118
  /**
9312
10119
  * No description
9313
10120
  *