@matech/thebigpos-sdk 2.45.1-rc9 → 2.46.8-aibi-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/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +0 -10
- package/dist/index.d.ts +391 -496
- package/dist/index.js +376 -363
- package/dist/index.js.map +1 -1
- package/package.json +1 -4
- package/scripts/apply-json-patch-content-type.js +36 -129
- package/src/index.ts +1280 -1595
- package/tsconfig.json +27 -27
- package/.claude/settings.local.json +0 -52
package/dist/index.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export type LoanOccupancyType = "PrimaryHome" | "SecondHome" | "InvestmentProper
|
|
|
27
27
|
export type LoanNameSuffix = "Jr" | "Sr" | "II" | "III" | "IV" | "V" | "VI" | "VII";
|
|
28
28
|
export type LoanNamePrefix = "Mr" | "Mrs" | "Ms";
|
|
29
29
|
export type LoanMilitaryServiceType = "Current" | "RetiredDischargedSeparated" | "NonActivatedNationalGuard" | "SurvivingSpouse";
|
|
30
|
-
export type LoanMaritalStatus = "Married" | "Separated" | "
|
|
31
|
-
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
|
|
30
|
+
export type LoanMaritalStatus = "Married" | "Separated" | "Single";
|
|
31
|
+
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed";
|
|
32
32
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
33
33
|
export type LoanLiabilityType = "Revolving" | "Installment" | "Open30Day" | "Lease" | "Other";
|
|
34
34
|
export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other" | "DoNotWishToRespond";
|
|
@@ -73,15 +73,14 @@ export type AuditChangeType = "Created" | "Modified" | "SoftDeleted" | "HardDele
|
|
|
73
73
|
export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
|
|
74
74
|
export type AiUrlSourceCategory = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
75
75
|
export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
76
|
-
export type AiQueryTemplateName = "PipelineSummary" | "LoanDetail" | "LoansClosing" | "StaleLoans" | "LoansByType" | "LoansByOfficer" | "AverageLoanAmount" | "LockedVsUnlocked" | "LoansByPurpose" | "LoansByPropertyState" | "LoansByRate" | "DtiLtvRisk" | "DisclosureTracking" | "NewLoans" | "ExpiringLocks" | "ClosedLoans" | "VerificationGaps" | "CreditScoreDistribution" | "OccupancyMix" | "PropertyTypeMix" | "FirstTimeHomebuyer" | "SelfEmployed" | "ReferralSourcePerformance" | "AmortizationMix" | "TimeToClose" | "ConversionFunnel" | "MonthlyProduction" | "PaymentAffordability" | "DownPaymentCashToClose" | "ApprovalExpirations" | "ApplicationCompleteness" | "LosSyncHealth" | "DeclarationsRisk" | "MilitaryEligibility" | "OutstandingTasks" | "ConsentTracking";
|
|
76
|
+
export type AiQueryTemplateName = "PipelineSummary" | "LoanDetail" | "LoansClosing" | "StaleLoans" | "LoansByType" | "LoansByOfficer" | "AverageLoanAmount" | "LockedVsUnlocked" | "LoansByPurpose" | "LoansByPropertyState" | "LoansByRate" | "DtiLtvRisk" | "DisclosureTracking" | "NewLoans" | "ExpiringLocks" | "ClosedLoans" | "VerificationGaps" | "CreditScoreDistribution" | "OccupancyMix" | "PropertyTypeMix" | "FirstTimeHomebuyer" | "SelfEmployed" | "ReferralSourcePerformance" | "AmortizationMix" | "TimeToClose" | "ConversionFunnel" | "MonthlyProduction" | "PaymentAffordability" | "DownPaymentCashToClose" | "ApprovalExpirations" | "ApplicationCompleteness" | "LosSyncHealth" | "DeclarationsRisk" | "MilitaryEligibility" | "OutstandingTasks" | "ConsentTracking" | "TaskStatusBreakdown" | "ConsentSyncHealth";
|
|
77
|
+
export type AiPromptScope = "General" | "LoanSpecific";
|
|
77
78
|
export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
78
79
|
export type AiOutputType = "Text" | "Document";
|
|
79
80
|
export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta" | "Capabilities" | "UsageReport";
|
|
80
81
|
export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
81
82
|
export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
|
|
82
|
-
export type
|
|
83
|
-
export type AiConfigChangeAction = "Created" | "Updated" | "Deleted" | "Toggled";
|
|
84
|
-
export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected";
|
|
83
|
+
export type AiAuditEventType = "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";
|
|
85
84
|
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";
|
|
86
85
|
export interface ASOSettings {
|
|
87
86
|
enabled: boolean;
|
|
@@ -132,7 +131,7 @@ export interface AccountBilling {
|
|
|
132
131
|
contractedRate: number;
|
|
133
132
|
}
|
|
134
133
|
export interface AccountBillingRequest {
|
|
135
|
-
billingType:
|
|
134
|
+
billingType: "ClosedLoan" | "LoanOfficer";
|
|
136
135
|
/** @format double */
|
|
137
136
|
contractedRate: number;
|
|
138
137
|
}
|
|
@@ -161,7 +160,6 @@ export interface AccountSettings {
|
|
|
161
160
|
smsNumber?: string | null;
|
|
162
161
|
ssoHostOverride?: string | null;
|
|
163
162
|
isEarlyAdopter: boolean;
|
|
164
|
-
isAIEnabled: boolean;
|
|
165
163
|
}
|
|
166
164
|
export interface AccountSettingsRequest {
|
|
167
165
|
isSmsEnabled: boolean;
|
|
@@ -175,7 +173,7 @@ export interface Action {
|
|
|
175
173
|
comments?: string | null;
|
|
176
174
|
/** @format uuid */
|
|
177
175
|
siteConfigurationID: string;
|
|
178
|
-
applicationSettings?: any
|
|
176
|
+
applicationSettings?: any;
|
|
179
177
|
surveysToken?: string | null;
|
|
180
178
|
}
|
|
181
179
|
export interface Address {
|
|
@@ -353,6 +351,7 @@ export interface AiAdminSettings {
|
|
|
353
351
|
requestTimeoutSeconds: number;
|
|
354
352
|
/** @format int32 */
|
|
355
353
|
defaultTokenLimit: number;
|
|
354
|
+
useAgentLoop: boolean;
|
|
356
355
|
bedrockRegion: string;
|
|
357
356
|
}
|
|
358
357
|
export interface AiAdminSettingsRequest {
|
|
@@ -367,6 +366,7 @@ export interface AiAdminSettingsRequest {
|
|
|
367
366
|
requestTimeoutSeconds?: number | null;
|
|
368
367
|
/** @format int32 */
|
|
369
368
|
defaultTokenLimit?: number | null;
|
|
369
|
+
useAgentLoop?: boolean | null;
|
|
370
370
|
}
|
|
371
371
|
export interface AiAdminStats {
|
|
372
372
|
/** @format int32 */
|
|
@@ -396,7 +396,7 @@ export interface AiAuditLog {
|
|
|
396
396
|
conversationId?: string | null;
|
|
397
397
|
/** @format uuid */
|
|
398
398
|
messageId?: string | null;
|
|
399
|
-
eventType:
|
|
399
|
+
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";
|
|
400
400
|
modelId?: string | null;
|
|
401
401
|
/** @format int32 */
|
|
402
402
|
inputTokens?: number | null;
|
|
@@ -409,7 +409,7 @@ export interface AiAuditLog {
|
|
|
409
409
|
guardrailCategory?: string | null;
|
|
410
410
|
rawRequest?: string | null;
|
|
411
411
|
rawResponse?: string | null;
|
|
412
|
-
details?: any
|
|
412
|
+
details?: any;
|
|
413
413
|
/** @format date-time */
|
|
414
414
|
createdAt: string;
|
|
415
415
|
}
|
|
@@ -471,7 +471,7 @@ export interface AiChatMessagePaginated {
|
|
|
471
471
|
count: number;
|
|
472
472
|
}
|
|
473
473
|
export interface AiChatMetadata {
|
|
474
|
-
intent:
|
|
474
|
+
intent: "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta" | "Capabilities" | "UsageReport";
|
|
475
475
|
fieldsAccessed: string[];
|
|
476
476
|
/** @format int64 */
|
|
477
477
|
queryTimeMs: number;
|
|
@@ -497,7 +497,7 @@ export interface AiChatRequest {
|
|
|
497
497
|
promptId?: string | null;
|
|
498
498
|
}
|
|
499
499
|
export interface AiChatStructuredData {
|
|
500
|
-
type:
|
|
500
|
+
type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
501
501
|
displayHint?: AiDisplayHint | null;
|
|
502
502
|
detectedDocumentType?: string | null;
|
|
503
503
|
columns: string[];
|
|
@@ -506,28 +506,6 @@ export interface AiChatStructuredData {
|
|
|
506
506
|
generatedDocumentId?: string | null;
|
|
507
507
|
generatedFileName?: string | null;
|
|
508
508
|
}
|
|
509
|
-
export interface AiConfigChangeLog {
|
|
510
|
-
/** @format uuid */
|
|
511
|
-
id: string;
|
|
512
|
-
/** @format uuid */
|
|
513
|
-
accountId?: string | null;
|
|
514
|
-
/** @format uuid */
|
|
515
|
-
actorUserId: string;
|
|
516
|
-
entityType: AiConfigChangeLogEntityTypeEnum;
|
|
517
|
-
/** @format uuid */
|
|
518
|
-
entityId?: string | null;
|
|
519
|
-
action: AiConfigChangeLogActionEnum;
|
|
520
|
-
before?: any | null;
|
|
521
|
-
after?: any | null;
|
|
522
|
-
/** @format date-time */
|
|
523
|
-
createdAt: string;
|
|
524
|
-
}
|
|
525
|
-
export interface AiConfigChangeLogPaginated {
|
|
526
|
-
rows: AiConfigChangeLog[];
|
|
527
|
-
pagination: Pagination;
|
|
528
|
-
/** @format int64 */
|
|
529
|
-
count: number;
|
|
530
|
-
}
|
|
531
509
|
export interface AiConversationAuditSummary {
|
|
532
510
|
/** @format uuid */
|
|
533
511
|
conversationId: string;
|
|
@@ -572,6 +550,8 @@ export interface AiConversationListItem {
|
|
|
572
550
|
id: string;
|
|
573
551
|
/** @format uuid */
|
|
574
552
|
userId: string;
|
|
553
|
+
/** @format uuid */
|
|
554
|
+
loanId?: string | null;
|
|
575
555
|
name?: string | null;
|
|
576
556
|
preview: string;
|
|
577
557
|
/** @format int32 */
|
|
@@ -588,16 +568,19 @@ export interface AiConversationListItemPaginated {
|
|
|
588
568
|
/** @format int64 */
|
|
589
569
|
count: number;
|
|
590
570
|
}
|
|
571
|
+
export interface AiEnabled {
|
|
572
|
+
isEnabled: boolean;
|
|
573
|
+
}
|
|
591
574
|
export interface AiGuardrail {
|
|
592
575
|
/** @format uuid */
|
|
593
576
|
id: string;
|
|
594
577
|
name: string;
|
|
595
|
-
category:
|
|
578
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
596
579
|
description?: string | null;
|
|
597
580
|
keywords: string[];
|
|
598
581
|
responseTemplate: string;
|
|
599
582
|
isDefault: boolean;
|
|
600
|
-
|
|
583
|
+
isActive: boolean;
|
|
601
584
|
hasAccountOverride: boolean;
|
|
602
585
|
/** @format date-time */
|
|
603
586
|
createdAt: string;
|
|
@@ -626,6 +609,10 @@ export interface AiPrompt {
|
|
|
626
609
|
bedrockModelId?: string | null;
|
|
627
610
|
requiredDataSources?: string[] | null;
|
|
628
611
|
outputType?: AiOutputType | null;
|
|
612
|
+
scope?: AiPromptScope | null;
|
|
613
|
+
inputHint?: string | null;
|
|
614
|
+
agentSystemPrompt?: string | null;
|
|
615
|
+
tools?: AiPromptTool[] | null;
|
|
629
616
|
hasAccountOverride: boolean;
|
|
630
617
|
/** @format date-time */
|
|
631
618
|
createdAt: string;
|
|
@@ -648,6 +635,14 @@ export interface AiPromptSummary {
|
|
|
648
635
|
bedrockModelId?: string | null;
|
|
649
636
|
requiredDataSources?: string[] | null;
|
|
650
637
|
outputType?: AiOutputType | null;
|
|
638
|
+
scope?: AiPromptScope | null;
|
|
639
|
+
inputHint?: string | null;
|
|
640
|
+
}
|
|
641
|
+
export interface AiPromptTool {
|
|
642
|
+
toolName: string;
|
|
643
|
+
}
|
|
644
|
+
export interface AiPromptToolInput {
|
|
645
|
+
toolName: string;
|
|
651
646
|
}
|
|
652
647
|
export interface AiTokenBudgetStatus {
|
|
653
648
|
/** @format int32 */
|
|
@@ -691,6 +686,11 @@ export interface AiTokenUsageWindowPaginated {
|
|
|
691
686
|
/** @format int64 */
|
|
692
687
|
count: number;
|
|
693
688
|
}
|
|
689
|
+
export interface AiToolCatalogItem {
|
|
690
|
+
toolName: string;
|
|
691
|
+
displayName: string;
|
|
692
|
+
description: string;
|
|
693
|
+
}
|
|
694
694
|
export interface AiUrlSource {
|
|
695
695
|
/** @format uuid */
|
|
696
696
|
id: string;
|
|
@@ -698,8 +698,8 @@ export interface AiUrlSource {
|
|
|
698
698
|
name: string;
|
|
699
699
|
url: string;
|
|
700
700
|
description?: string | null;
|
|
701
|
-
category:
|
|
702
|
-
scope:
|
|
701
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
702
|
+
scope: "FullDomain" | "SpecificPath";
|
|
703
703
|
isActive: boolean;
|
|
704
704
|
isDefault: boolean;
|
|
705
705
|
hasAccountOverride: boolean;
|
|
@@ -806,14 +806,14 @@ export interface AuditLogEntry {
|
|
|
806
806
|
/** @format uuid */
|
|
807
807
|
id: string;
|
|
808
808
|
entityType: string;
|
|
809
|
-
changeType:
|
|
809
|
+
changeType: "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
|
|
810
810
|
/** @format uuid */
|
|
811
811
|
entityId: string;
|
|
812
812
|
performedBy?: AuditLogUser | null;
|
|
813
813
|
rootEntityType?: string | null;
|
|
814
814
|
/** @format uuid */
|
|
815
815
|
rootEntityId?: string | null;
|
|
816
|
-
changes?: any
|
|
816
|
+
changes?: any;
|
|
817
817
|
/** @format date-time */
|
|
818
818
|
createdAt: string;
|
|
819
819
|
}
|
|
@@ -853,7 +853,7 @@ export interface BorrowerCount {
|
|
|
853
853
|
firstName: string;
|
|
854
854
|
lastName: string;
|
|
855
855
|
email: string;
|
|
856
|
-
role:
|
|
856
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
857
857
|
/** @format int32 */
|
|
858
858
|
count: number;
|
|
859
859
|
}
|
|
@@ -863,7 +863,7 @@ export interface BorrowerIdentity {
|
|
|
863
863
|
firstName: string;
|
|
864
864
|
lastName: string;
|
|
865
865
|
email: string;
|
|
866
|
-
role:
|
|
866
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
867
867
|
}
|
|
868
868
|
export interface BorrowersNotUsingPosSummary {
|
|
869
869
|
/** @format int32 */
|
|
@@ -1052,6 +1052,7 @@ export interface ConsumerConnectStatus {
|
|
|
1052
1052
|
/** @format date-time */
|
|
1053
1053
|
nextRetryAt?: string | null;
|
|
1054
1054
|
lastTriggerSource?: string | null;
|
|
1055
|
+
lastError?: string | null;
|
|
1055
1056
|
}
|
|
1056
1057
|
export interface ContactInfo {
|
|
1057
1058
|
phone: string;
|
|
@@ -1097,7 +1098,7 @@ export interface CorporateSearchCriteria {
|
|
|
1097
1098
|
isActive?: boolean | null;
|
|
1098
1099
|
}
|
|
1099
1100
|
export interface CreateAccessScopeRequest {
|
|
1100
|
-
scopeType:
|
|
1101
|
+
scopeType: "User" | "Branch";
|
|
1101
1102
|
/** @format uuid */
|
|
1102
1103
|
userId?: string | null;
|
|
1103
1104
|
/** @format uuid */
|
|
@@ -1115,7 +1116,7 @@ export interface CreateAccountRequest {
|
|
|
1115
1116
|
/** @format int64 */
|
|
1116
1117
|
nlmsid: number;
|
|
1117
1118
|
settings: AccountSettingsRequest;
|
|
1118
|
-
environment:
|
|
1119
|
+
environment: "Development" | "Staging" | "UAT" | "Production";
|
|
1119
1120
|
losIntegration: LOSIntegration;
|
|
1120
1121
|
billingSettings: AccountBillingRequest;
|
|
1121
1122
|
}
|
|
@@ -1129,7 +1130,7 @@ export interface CreateAiCanonicalFieldRequest {
|
|
|
1129
1130
|
}
|
|
1130
1131
|
export interface CreateAiGuardrailRequest {
|
|
1131
1132
|
name: string;
|
|
1132
|
-
category:
|
|
1133
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1133
1134
|
description?: string | null;
|
|
1134
1135
|
keywords: string[];
|
|
1135
1136
|
responseTemplate: string;
|
|
@@ -1155,8 +1156,8 @@ export interface CreateAiUrlSourceRequest {
|
|
|
1155
1156
|
name: string;
|
|
1156
1157
|
url: string;
|
|
1157
1158
|
description?: string | null;
|
|
1158
|
-
category:
|
|
1159
|
-
scope:
|
|
1159
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1160
|
+
scope: "FullDomain" | "SpecificPath";
|
|
1160
1161
|
}
|
|
1161
1162
|
export interface CreateBranchRequest {
|
|
1162
1163
|
name: string;
|
|
@@ -1179,8 +1180,8 @@ export interface CreateCustomFieldDefinitionRequest {
|
|
|
1179
1180
|
name: string;
|
|
1180
1181
|
defaultValue?: string | null;
|
|
1181
1182
|
regexPattern?: string | null;
|
|
1182
|
-
dataType:
|
|
1183
|
-
entityType:
|
|
1183
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
1184
|
+
entityType: "Loan";
|
|
1184
1185
|
options?: CustomFieldOptionRequest[] | null;
|
|
1185
1186
|
permissions?: CustomFieldPermissionRequest[] | null;
|
|
1186
1187
|
}
|
|
@@ -1195,7 +1196,7 @@ export interface CreateDocumentTemplateRequest {
|
|
|
1195
1196
|
export interface CreateGroupMemberRequest {
|
|
1196
1197
|
/** @format uuid */
|
|
1197
1198
|
userId: string;
|
|
1198
|
-
loanRole:
|
|
1199
|
+
loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
1199
1200
|
}
|
|
1200
1201
|
export interface CreateInviteRequest {
|
|
1201
1202
|
firstName: string;
|
|
@@ -1203,7 +1204,7 @@ export interface CreateInviteRequest {
|
|
|
1203
1204
|
emailAddress: string;
|
|
1204
1205
|
phoneNumber?: string | null;
|
|
1205
1206
|
/** @deprecated */
|
|
1206
|
-
relationship:
|
|
1207
|
+
relationship: "NotApplicable" | "Spouse" | "NonSpouse";
|
|
1207
1208
|
loanID: string;
|
|
1208
1209
|
route?: string | null;
|
|
1209
1210
|
/** @format uuid */
|
|
@@ -1223,7 +1224,7 @@ export interface CreateLoanImportRequest {
|
|
|
1223
1224
|
endDate: string;
|
|
1224
1225
|
/** @format date-time */
|
|
1225
1226
|
startDate: string;
|
|
1226
|
-
importMode:
|
|
1227
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
1227
1228
|
}
|
|
1228
1229
|
export interface CreateSession {
|
|
1229
1230
|
sessionId: string;
|
|
@@ -1241,7 +1242,7 @@ export interface CreateUserDeviceRequest {
|
|
|
1241
1242
|
token: string;
|
|
1242
1243
|
}
|
|
1243
1244
|
export interface CreateUserDraft {
|
|
1244
|
-
loanRole:
|
|
1245
|
+
loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
1245
1246
|
}
|
|
1246
1247
|
export interface CreateUserGroupRequest {
|
|
1247
1248
|
name: string;
|
|
@@ -1302,8 +1303,8 @@ export interface CustomFieldDefinition {
|
|
|
1302
1303
|
name: string;
|
|
1303
1304
|
defaultValue?: string | null;
|
|
1304
1305
|
regexPattern?: string | null;
|
|
1305
|
-
dataType:
|
|
1306
|
-
entityType:
|
|
1306
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
1307
|
+
entityType: "Loan";
|
|
1307
1308
|
options: CustomFieldOption[];
|
|
1308
1309
|
permissions: CustomFieldPermission[];
|
|
1309
1310
|
encompassMapping?: EncompassMapping | null;
|
|
@@ -1317,7 +1318,7 @@ export interface CustomFieldEntry {
|
|
|
1317
1318
|
displayOrder: number;
|
|
1318
1319
|
name: string;
|
|
1319
1320
|
value: string;
|
|
1320
|
-
dataType:
|
|
1321
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
1321
1322
|
}
|
|
1322
1323
|
export interface CustomFieldOption {
|
|
1323
1324
|
/** @format uuid */
|
|
@@ -1334,12 +1335,12 @@ export interface CustomFieldOptionRequest {
|
|
|
1334
1335
|
export interface CustomFieldPermission {
|
|
1335
1336
|
/** @format uuid */
|
|
1336
1337
|
id: string;
|
|
1337
|
-
role:
|
|
1338
|
-
accessLevel:
|
|
1338
|
+
role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
1339
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
1339
1340
|
}
|
|
1340
1341
|
export interface CustomFieldPermissionRequest {
|
|
1341
|
-
role:
|
|
1342
|
-
accessLevel:
|
|
1342
|
+
role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
1343
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
1343
1344
|
}
|
|
1344
1345
|
export interface CustomFieldValue {
|
|
1345
1346
|
/** @format uuid */
|
|
@@ -1350,7 +1351,7 @@ export interface CustomFieldValue {
|
|
|
1350
1351
|
customFieldDefinitionID: string;
|
|
1351
1352
|
value: string;
|
|
1352
1353
|
definitionName: string;
|
|
1353
|
-
dataType:
|
|
1354
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
1354
1355
|
}
|
|
1355
1356
|
export interface DetailedUser {
|
|
1356
1357
|
/** @format date-time */
|
|
@@ -1444,18 +1445,6 @@ export interface DeviceRequest {
|
|
|
1444
1445
|
name?: string | null;
|
|
1445
1446
|
comments?: string | null;
|
|
1446
1447
|
}
|
|
1447
|
-
export interface DocumentData {
|
|
1448
|
-
documentID: string;
|
|
1449
|
-
/** @format uuid */
|
|
1450
|
-
eSignRecordID: string;
|
|
1451
|
-
documentBucketTitle?: string | null;
|
|
1452
|
-
documentName?: string | null;
|
|
1453
|
-
/** @format date-time */
|
|
1454
|
-
createdAt: string;
|
|
1455
|
-
extension?: string | null;
|
|
1456
|
-
password: string;
|
|
1457
|
-
systemGenerated: boolean;
|
|
1458
|
-
}
|
|
1459
1448
|
export interface DocumentDataRequest {
|
|
1460
1449
|
documentID?: string | null;
|
|
1461
1450
|
/** @format uuid */
|
|
@@ -1588,7 +1577,7 @@ export interface Draft {
|
|
|
1588
1577
|
siteConfiguration: SiteConfigurationReduced;
|
|
1589
1578
|
/** @format uuid */
|
|
1590
1579
|
loanID?: string | null;
|
|
1591
|
-
type:
|
|
1580
|
+
type: "NewLoan" | "EditLoan";
|
|
1592
1581
|
isCoBorrower: boolean;
|
|
1593
1582
|
}
|
|
1594
1583
|
export interface DraftContent {
|
|
@@ -1606,7 +1595,7 @@ export interface DraftContent {
|
|
|
1606
1595
|
siteConfiguration: SiteConfigurationReduced;
|
|
1607
1596
|
/** @format uuid */
|
|
1608
1597
|
loanID?: string | null;
|
|
1609
|
-
type:
|
|
1598
|
+
type: "NewLoan" | "EditLoan";
|
|
1610
1599
|
isCoBorrower: boolean;
|
|
1611
1600
|
applicationPayload: any;
|
|
1612
1601
|
}
|
|
@@ -1622,7 +1611,7 @@ export interface DraftLoanOfficerReassignRequest {
|
|
|
1622
1611
|
}
|
|
1623
1612
|
export interface DraftRequest {
|
|
1624
1613
|
applicationPayload: any;
|
|
1625
|
-
customData?: any
|
|
1614
|
+
customData?: any;
|
|
1626
1615
|
isCoBorrower: boolean;
|
|
1627
1616
|
}
|
|
1628
1617
|
export interface EconsentPendingSummary {
|
|
@@ -1685,10 +1674,6 @@ export interface EncompassContact {
|
|
|
1685
1674
|
company?: string | null;
|
|
1686
1675
|
}
|
|
1687
1676
|
export interface EncompassCredentialsDetail {
|
|
1688
|
-
/** @format uuid */
|
|
1689
|
-
id: string;
|
|
1690
|
-
/** @format uuid */
|
|
1691
|
-
accountID: string;
|
|
1692
1677
|
instanceID: string;
|
|
1693
1678
|
loanAssignmentRole?: string | null;
|
|
1694
1679
|
loanTemplate?: string | null;
|
|
@@ -1696,17 +1681,17 @@ export interface EncompassCredentialsDetail {
|
|
|
1696
1681
|
clearStateIfUnlicensed: boolean;
|
|
1697
1682
|
/** @deprecated */
|
|
1698
1683
|
baseUrl?: string | null;
|
|
1699
|
-
encompassEnvironment:
|
|
1684
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1700
1685
|
consumerConnectWidgetHost?: string | null;
|
|
1701
|
-
signingMethod:
|
|
1686
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1702
1687
|
subscriptionId?: string | null;
|
|
1703
1688
|
environment?: string | null;
|
|
1704
|
-
}
|
|
1705
|
-
export interface EncompassCredentialsRequest {
|
|
1706
1689
|
/** @format uuid */
|
|
1707
1690
|
id: string;
|
|
1708
1691
|
/** @format uuid */
|
|
1709
1692
|
accountID: string;
|
|
1693
|
+
}
|
|
1694
|
+
export interface EncompassCredentialsRequest {
|
|
1710
1695
|
instanceID: string;
|
|
1711
1696
|
loanAssignmentRole?: string | null;
|
|
1712
1697
|
loanTemplate?: string | null;
|
|
@@ -1714,9 +1699,9 @@ export interface EncompassCredentialsRequest {
|
|
|
1714
1699
|
clearStateIfUnlicensed: boolean;
|
|
1715
1700
|
/** @deprecated */
|
|
1716
1701
|
baseUrl?: string | null;
|
|
1717
|
-
encompassEnvironment:
|
|
1702
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1718
1703
|
consumerConnectWidgetHost?: string | null;
|
|
1719
|
-
signingMethod:
|
|
1704
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1720
1705
|
subscriptionId?: string | null;
|
|
1721
1706
|
environment?: string | null;
|
|
1722
1707
|
clientID?: string | null;
|
|
@@ -1787,6 +1772,7 @@ export interface EncompassPackageItem {
|
|
|
1787
1772
|
/** @format date-time */
|
|
1788
1773
|
createdAt: string;
|
|
1789
1774
|
recipientId: string;
|
|
1775
|
+
borrowerName?: string | null;
|
|
1790
1776
|
title?: string | null;
|
|
1791
1777
|
/** @format date-time */
|
|
1792
1778
|
issuedAt?: string | null;
|
|
@@ -1825,8 +1811,8 @@ export interface EncompassRequestLog {
|
|
|
1825
1811
|
losId?: string | null;
|
|
1826
1812
|
/** @format uuid */
|
|
1827
1813
|
accountId: string;
|
|
1828
|
-
operationType:
|
|
1829
|
-
outcome:
|
|
1814
|
+
operationType: "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
|
|
1815
|
+
outcome: "Success" | "Failure" | "PartialSuccess";
|
|
1830
1816
|
message: string;
|
|
1831
1817
|
endpoint?: string | null;
|
|
1832
1818
|
httpMethod?: string | null;
|
|
@@ -1834,7 +1820,7 @@ export interface EncompassRequestLog {
|
|
|
1834
1820
|
httpStatusCode?: number | null;
|
|
1835
1821
|
/** @format int64 */
|
|
1836
1822
|
durationMs?: number | null;
|
|
1837
|
-
context?: any
|
|
1823
|
+
context?: any;
|
|
1838
1824
|
/** @format date-time */
|
|
1839
1825
|
createdAt: string;
|
|
1840
1826
|
}
|
|
@@ -1873,7 +1859,7 @@ export interface FileSearchCriteria {
|
|
|
1873
1859
|
export interface FileWithBytes {
|
|
1874
1860
|
name: string;
|
|
1875
1861
|
/** @format byte */
|
|
1876
|
-
data:
|
|
1862
|
+
data: string;
|
|
1877
1863
|
fileName: string;
|
|
1878
1864
|
mimeType?: string | null;
|
|
1879
1865
|
extension?: string | null;
|
|
@@ -1949,7 +1935,7 @@ export interface FormSubmission {
|
|
|
1949
1935
|
subjectPropertyAddressCounty?: string | null;
|
|
1950
1936
|
subjectPropertyAddressState?: string | null;
|
|
1951
1937
|
subjectPropertyAddressZip?: string | null;
|
|
1952
|
-
data?: any
|
|
1938
|
+
data?: any;
|
|
1953
1939
|
/** @format uuid */
|
|
1954
1940
|
listingID?: string | null;
|
|
1955
1941
|
listing?: Listing | null;
|
|
@@ -1984,7 +1970,7 @@ export interface FormSubmissionRequest {
|
|
|
1984
1970
|
subjectPropertyAddressCounty?: string | null;
|
|
1985
1971
|
subjectPropertyAddressState?: string | null;
|
|
1986
1972
|
subjectPropertyAddressZip?: string | null;
|
|
1987
|
-
data?: any
|
|
1973
|
+
data?: any;
|
|
1988
1974
|
/** @format uuid */
|
|
1989
1975
|
listingID?: string | null;
|
|
1990
1976
|
}
|
|
@@ -2033,7 +2019,7 @@ export interface FusionFieldDisplay {
|
|
|
2033
2019
|
fieldValue: string;
|
|
2034
2020
|
}
|
|
2035
2021
|
export interface FusionReportFilter {
|
|
2036
|
-
filterType:
|
|
2022
|
+
filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
|
|
2037
2023
|
targetField: string;
|
|
2038
2024
|
targetValue: string;
|
|
2039
2025
|
}
|
|
@@ -2053,7 +2039,7 @@ export interface GenerateSystemPrompt {
|
|
|
2053
2039
|
}
|
|
2054
2040
|
export interface GenerateSystemPromptRequest {
|
|
2055
2041
|
description: string;
|
|
2056
|
-
category:
|
|
2042
|
+
category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
2057
2043
|
}
|
|
2058
2044
|
export interface GetApplications {
|
|
2059
2045
|
applications: ApplicationRowData[];
|
|
@@ -2137,11 +2123,11 @@ export interface GetWorkflowRequest {
|
|
|
2137
2123
|
export interface GuidPatchOperation {
|
|
2138
2124
|
op: string;
|
|
2139
2125
|
path: string;
|
|
2140
|
-
value?: any
|
|
2126
|
+
value?: any;
|
|
2141
2127
|
from?: string | null;
|
|
2142
2128
|
}
|
|
2143
2129
|
export interface IPAddress {
|
|
2144
|
-
addressFamily:
|
|
2130
|
+
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";
|
|
2145
2131
|
/** @format int64 */
|
|
2146
2132
|
scopeId: number;
|
|
2147
2133
|
isIPv6Multicast: boolean;
|
|
@@ -2390,7 +2376,7 @@ export interface Loan {
|
|
|
2390
2376
|
contacts: LoanContact[];
|
|
2391
2377
|
customFields: CustomFieldEntry[];
|
|
2392
2378
|
milestones: LoanMilestone[];
|
|
2393
|
-
signingMethod:
|
|
2379
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
2394
2380
|
}
|
|
2395
2381
|
export interface LoanApplication {
|
|
2396
2382
|
/** @format uuid */
|
|
@@ -2428,7 +2414,7 @@ export interface LoanApplicationRequest {
|
|
|
2428
2414
|
nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
|
|
2429
2415
|
/** @format uuid */
|
|
2430
2416
|
draftId?: string | null;
|
|
2431
|
-
additionalFields?: Record<string, any
|
|
2417
|
+
additionalFields?: Record<string, any>;
|
|
2432
2418
|
/** @format uuid */
|
|
2433
2419
|
existingLoanId?: string | null;
|
|
2434
2420
|
}
|
|
@@ -2447,7 +2433,7 @@ export interface LoanBorrower {
|
|
|
2447
2433
|
citizenship?: LoanCitizenship | null;
|
|
2448
2434
|
maritalStatus?: LoanMaritalStatus | null;
|
|
2449
2435
|
languagePreference?: LoanLanguagePreference | null;
|
|
2450
|
-
applicationStatus:
|
|
2436
|
+
applicationStatus: "Draft" | "Complete";
|
|
2451
2437
|
/** @format int32 */
|
|
2452
2438
|
numberOfDependents?: number | null;
|
|
2453
2439
|
/** @format int32 */
|
|
@@ -3045,7 +3031,7 @@ export interface LoanBorrowerRealEstateAssetRequest {
|
|
|
3045
3031
|
/** @format double */
|
|
3046
3032
|
maintenanceExpense?: number | null;
|
|
3047
3033
|
address?: AddressRequest | null;
|
|
3048
|
-
|
|
3034
|
+
mortgage?: LoanBorrowerRealEstateAssetMortgageRequest | null;
|
|
3049
3035
|
}
|
|
3050
3036
|
export interface LoanBorrowerRequest {
|
|
3051
3037
|
ssn?: string | null;
|
|
@@ -3173,7 +3159,7 @@ export interface LoanConsentRequest {
|
|
|
3173
3159
|
borrowerEConsent?: boolean | null;
|
|
3174
3160
|
borrowerCreditAuth?: boolean | null;
|
|
3175
3161
|
borrowerTCPAOptIn?: boolean | null;
|
|
3176
|
-
additionalFields?: Record<string, string
|
|
3162
|
+
additionalFields?: Record<string, string>;
|
|
3177
3163
|
}
|
|
3178
3164
|
export interface LoanContact {
|
|
3179
3165
|
/** @format date-time */
|
|
@@ -3191,7 +3177,7 @@ export interface LoanContact {
|
|
|
3191
3177
|
email?: string | null;
|
|
3192
3178
|
phone?: string | null;
|
|
3193
3179
|
companyName?: string | null;
|
|
3194
|
-
role:
|
|
3180
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3195
3181
|
}
|
|
3196
3182
|
export interface LoanContactList {
|
|
3197
3183
|
email: string;
|
|
@@ -3213,7 +3199,7 @@ export interface LoanCostDetails {
|
|
|
3213
3199
|
totalFinancing?: number | null;
|
|
3214
3200
|
}
|
|
3215
3201
|
export interface LoanCustomFieldsRequest {
|
|
3216
|
-
additionalFields?: Record<string, string
|
|
3202
|
+
additionalFields?: Record<string, string>;
|
|
3217
3203
|
}
|
|
3218
3204
|
export interface LoanDocument {
|
|
3219
3205
|
/** @format date-time */
|
|
@@ -3263,12 +3249,12 @@ export interface LoanDocumentFolderPermission {
|
|
|
3263
3249
|
id: string;
|
|
3264
3250
|
/** @format uuid */
|
|
3265
3251
|
loanDocumentFolderID: string;
|
|
3266
|
-
role:
|
|
3267
|
-
level:
|
|
3252
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3253
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
3268
3254
|
}
|
|
3269
3255
|
export interface LoanDocumentFolderPermissionRequest {
|
|
3270
|
-
role:
|
|
3271
|
-
level:
|
|
3256
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3257
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
3272
3258
|
}
|
|
3273
3259
|
export interface LoanDocumentFolderUsage {
|
|
3274
3260
|
/** @format uuid */
|
|
@@ -3402,13 +3388,13 @@ export interface LoanImport {
|
|
|
3402
3388
|
/** @format int32 */
|
|
3403
3389
|
importedCount: number;
|
|
3404
3390
|
statusMessage?: string | null;
|
|
3405
|
-
status:
|
|
3406
|
-
importMode:
|
|
3391
|
+
status: "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
3392
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
3407
3393
|
/** @format date-time */
|
|
3408
3394
|
createdAt?: string | null;
|
|
3409
3395
|
}
|
|
3410
3396
|
export interface LoanImportLog {
|
|
3411
|
-
level:
|
|
3397
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
3412
3398
|
message: string;
|
|
3413
3399
|
/** @format date-time */
|
|
3414
3400
|
createdAt: string;
|
|
@@ -3463,8 +3449,8 @@ export interface LoanListPaginated {
|
|
|
3463
3449
|
export interface LoanLog {
|
|
3464
3450
|
/** @format uuid */
|
|
3465
3451
|
id: string;
|
|
3466
|
-
level:
|
|
3467
|
-
type:
|
|
3452
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
3453
|
+
type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed";
|
|
3468
3454
|
message: string;
|
|
3469
3455
|
/** @format date-time */
|
|
3470
3456
|
createdAt: string;
|
|
@@ -3472,8 +3458,8 @@ export interface LoanLog {
|
|
|
3472
3458
|
export interface LoanLogDetail {
|
|
3473
3459
|
/** @format uuid */
|
|
3474
3460
|
id: string;
|
|
3475
|
-
level:
|
|
3476
|
-
type:
|
|
3461
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
3462
|
+
type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed";
|
|
3477
3463
|
message: string;
|
|
3478
3464
|
/** @format date-time */
|
|
3479
3465
|
createdAt: string;
|
|
@@ -3735,7 +3721,7 @@ export interface LoanQueueWithData {
|
|
|
3735
3721
|
user: UserPublic;
|
|
3736
3722
|
loanOfficer: LoanOfficerPublic;
|
|
3737
3723
|
siteConfiguration: SiteConfigurationReduced;
|
|
3738
|
-
data?: any
|
|
3724
|
+
data?: any;
|
|
3739
3725
|
}
|
|
3740
3726
|
export interface LoanRecord {
|
|
3741
3727
|
loanGuid: string;
|
|
@@ -3766,7 +3752,7 @@ export interface LoanTaskSearchRequest {
|
|
|
3766
3752
|
loanStatus?: LoanTaskActivityFilter | null;
|
|
3767
3753
|
}
|
|
3768
3754
|
export interface LoanTaskStatusSummary {
|
|
3769
|
-
status:
|
|
3755
|
+
status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
3770
3756
|
/** @format int32 */
|
|
3771
3757
|
count: number;
|
|
3772
3758
|
}
|
|
@@ -3778,7 +3764,7 @@ export interface LoanUser {
|
|
|
3778
3764
|
email: string;
|
|
3779
3765
|
phone?: string | null;
|
|
3780
3766
|
role: string;
|
|
3781
|
-
loanRole:
|
|
3767
|
+
loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3782
3768
|
isUser: boolean;
|
|
3783
3769
|
/** @format date-time */
|
|
3784
3770
|
createdAt: string;
|
|
@@ -3811,7 +3797,7 @@ export interface LosOperationTracking {
|
|
|
3811
3797
|
operationType: string;
|
|
3812
3798
|
correlationKey: string;
|
|
3813
3799
|
lastTriggerSource?: string | null;
|
|
3814
|
-
status:
|
|
3800
|
+
status: "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
|
|
3815
3801
|
/** @format date-time */
|
|
3816
3802
|
createdAt: string;
|
|
3817
3803
|
/** @format date-time */
|
|
@@ -3872,7 +3858,7 @@ export interface LosSyncStep {
|
|
|
3872
3858
|
/** @format int32 */
|
|
3873
3859
|
order: number;
|
|
3874
3860
|
name: string;
|
|
3875
|
-
severity:
|
|
3861
|
+
severity: "Success" | "Info" | "Warning" | "Error";
|
|
3876
3862
|
message: string;
|
|
3877
3863
|
/** @format date-time */
|
|
3878
3864
|
atUtc: string;
|
|
@@ -3886,7 +3872,7 @@ export interface LosWebhook {
|
|
|
3886
3872
|
enableSubscription: boolean;
|
|
3887
3873
|
}
|
|
3888
3874
|
export interface ManualDocumentClassificationRequest {
|
|
3889
|
-
documentType:
|
|
3875
|
+
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";
|
|
3890
3876
|
}
|
|
3891
3877
|
export interface MdmUser {
|
|
3892
3878
|
user_email?: string | null;
|
|
@@ -3965,7 +3951,7 @@ export interface ModuleParameterValue {
|
|
|
3965
3951
|
parameterID: string;
|
|
3966
3952
|
parameterName: string;
|
|
3967
3953
|
parameterType: string;
|
|
3968
|
-
value?: any
|
|
3954
|
+
value?: any;
|
|
3969
3955
|
isInherited: boolean;
|
|
3970
3956
|
}
|
|
3971
3957
|
export interface MonthlyPaymentCalculator {
|
|
@@ -4138,7 +4124,7 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
4138
4124
|
}
|
|
4139
4125
|
export interface Operation {
|
|
4140
4126
|
op?: string;
|
|
4141
|
-
value?:
|
|
4127
|
+
value?: string | number | boolean | null | object;
|
|
4142
4128
|
path?: string;
|
|
4143
4129
|
}
|
|
4144
4130
|
export interface OverridePasswordRequest {
|
|
@@ -4464,7 +4450,7 @@ export interface SiteConfiguration {
|
|
|
4464
4450
|
deletedAt?: string | null;
|
|
4465
4451
|
/** @format uuid */
|
|
4466
4452
|
id: string;
|
|
4467
|
-
type:
|
|
4453
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4468
4454
|
/** @format uuid */
|
|
4469
4455
|
entityID: string;
|
|
4470
4456
|
/** @format int32 */
|
|
@@ -4657,7 +4643,7 @@ export interface SiteConfigurationByUrl {
|
|
|
4657
4643
|
deletedAt?: string | null;
|
|
4658
4644
|
/** @format uuid */
|
|
4659
4645
|
id: string;
|
|
4660
|
-
type:
|
|
4646
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4661
4647
|
/** @format uuid */
|
|
4662
4648
|
entityID: string;
|
|
4663
4649
|
/** @format int32 */
|
|
@@ -4867,7 +4853,7 @@ export interface SiteConfigurationForm {
|
|
|
4867
4853
|
export interface SiteConfigurationReduced {
|
|
4868
4854
|
/** @format uuid */
|
|
4869
4855
|
id: string;
|
|
4870
|
-
type:
|
|
4856
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4871
4857
|
url?: string | null;
|
|
4872
4858
|
name: string;
|
|
4873
4859
|
/** @format int64 */
|
|
@@ -4884,7 +4870,7 @@ export interface SiteConfigurationRequest {
|
|
|
4884
4870
|
entityID: string;
|
|
4885
4871
|
/** @format int32 */
|
|
4886
4872
|
entityType: number;
|
|
4887
|
-
type:
|
|
4873
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4888
4874
|
url: string;
|
|
4889
4875
|
name: string;
|
|
4890
4876
|
introduction?: string | null;
|
|
@@ -5059,7 +5045,7 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
5059
5045
|
export interface SiteConfigurationSummary {
|
|
5060
5046
|
/** @format uuid */
|
|
5061
5047
|
id: string;
|
|
5062
|
-
type:
|
|
5048
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5063
5049
|
url?: string | null;
|
|
5064
5050
|
name: string;
|
|
5065
5051
|
/** @format int64 */
|
|
@@ -5313,7 +5299,7 @@ export interface UnregisteredBorrower {
|
|
|
5313
5299
|
lastName?: string | null;
|
|
5314
5300
|
fullName?: string | null;
|
|
5315
5301
|
email?: string | null;
|
|
5316
|
-
role:
|
|
5302
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5317
5303
|
}
|
|
5318
5304
|
export interface UpdateAccountRequest {
|
|
5319
5305
|
name: string;
|
|
@@ -5337,7 +5323,7 @@ export interface UpdateAiCanonicalFieldRequest {
|
|
|
5337
5323
|
}
|
|
5338
5324
|
export interface UpdateAiGuardrailRequest {
|
|
5339
5325
|
name: string;
|
|
5340
|
-
category:
|
|
5326
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
5341
5327
|
description?: string | null;
|
|
5342
5328
|
keywords: string[];
|
|
5343
5329
|
responseTemplate: string;
|
|
@@ -5358,12 +5344,16 @@ export interface UpdateAiPromptRequest {
|
|
|
5358
5344
|
requiredDataSources?: string[] | null;
|
|
5359
5345
|
outputType?: AiOutputType | null;
|
|
5360
5346
|
}
|
|
5347
|
+
export interface UpdateAiPromptToolsRequest {
|
|
5348
|
+
tools: AiPromptToolInput[];
|
|
5349
|
+
agentSystemPrompt?: string | null;
|
|
5350
|
+
}
|
|
5361
5351
|
export interface UpdateAiUrlSourceRequest {
|
|
5362
5352
|
name: string;
|
|
5363
5353
|
url: string;
|
|
5364
5354
|
description?: string | null;
|
|
5365
|
-
category:
|
|
5366
|
-
scope:
|
|
5355
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
5356
|
+
scope: "FullDomain" | "SpecificPath";
|
|
5367
5357
|
}
|
|
5368
5358
|
export interface UpdateCustomFieldDefinitionRequest {
|
|
5369
5359
|
isRequired: boolean;
|
|
@@ -5650,7 +5640,7 @@ export interface UserDevice {
|
|
|
5650
5640
|
export interface UserDraft {
|
|
5651
5641
|
/** @format uuid */
|
|
5652
5642
|
draftID: string;
|
|
5653
|
-
role:
|
|
5643
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5654
5644
|
user: User;
|
|
5655
5645
|
}
|
|
5656
5646
|
export interface UserDraftPaginated {
|
|
@@ -5674,7 +5664,7 @@ export interface UserGroupAccessScope {
|
|
|
5674
5664
|
id: string;
|
|
5675
5665
|
/** @format uuid */
|
|
5676
5666
|
groupId: string;
|
|
5677
|
-
scopeType:
|
|
5667
|
+
scopeType: "User" | "Branch";
|
|
5678
5668
|
/** @format uuid */
|
|
5679
5669
|
userId?: string | null;
|
|
5680
5670
|
/** @format uuid */
|
|
@@ -5707,7 +5697,7 @@ export interface UserLoan {
|
|
|
5707
5697
|
deletedAt?: string | null;
|
|
5708
5698
|
loanID: string;
|
|
5709
5699
|
user: User;
|
|
5710
|
-
role:
|
|
5700
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5711
5701
|
/** @format int32 */
|
|
5712
5702
|
borrowerPair?: number | null;
|
|
5713
5703
|
/** @format int32 */
|
|
@@ -5719,11 +5709,11 @@ export interface UserLoanConsent {
|
|
|
5719
5709
|
id: string;
|
|
5720
5710
|
/** @format uuid */
|
|
5721
5711
|
userLoanID: string;
|
|
5722
|
-
type:
|
|
5712
|
+
type: "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
5723
5713
|
providedConsent: boolean;
|
|
5724
5714
|
source?: ConsentSource | null;
|
|
5725
5715
|
ipAddress?: string | null;
|
|
5726
|
-
losSyncStatus:
|
|
5716
|
+
losSyncStatus: "NotStarted" | "Failed" | "Success";
|
|
5727
5717
|
/** @format date-time */
|
|
5728
5718
|
createdAt: string;
|
|
5729
5719
|
/** @format date-time */
|
|
@@ -5853,7 +5843,7 @@ export interface UserSummary {
|
|
|
5853
5843
|
id: string;
|
|
5854
5844
|
name?: string | null;
|
|
5855
5845
|
email?: string | null;
|
|
5856
|
-
role:
|
|
5846
|
+
role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5857
5847
|
}
|
|
5858
5848
|
export interface VerifyPasswordRequest {
|
|
5859
5849
|
email: string;
|
|
@@ -5880,90 +5870,6 @@ export interface Workflow {
|
|
|
5880
5870
|
tileSubtitle: string;
|
|
5881
5871
|
icon: string;
|
|
5882
5872
|
}
|
|
5883
|
-
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
5884
|
-
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";
|
|
5885
|
-
export type AiChatMetadataIntentEnum = "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta" | "Capabilities" | "UsageReport";
|
|
5886
|
-
export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
5887
|
-
export type AiConfigChangeLogEntityTypeEnum = "Prompt" | "Guardrail" | "CanonicalField" | "UrlSource" | "AdminSettings" | "AccountTokenSettings" | "AccountSettings";
|
|
5888
|
-
export type AiConfigChangeLogActionEnum = "Created" | "Updated" | "Deleted" | "Toggled";
|
|
5889
|
-
export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
5890
|
-
export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
5891
|
-
export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
|
|
5892
|
-
export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
|
|
5893
|
-
export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5894
|
-
export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5895
|
-
export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
|
|
5896
|
-
export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
|
|
5897
|
-
export type CreateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
5898
|
-
export type CreateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
5899
|
-
export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
|
|
5900
|
-
export type CreateCustomFieldDefinitionRequestDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5901
|
-
export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
|
|
5902
|
-
export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5903
|
-
/** @deprecated */
|
|
5904
|
-
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
5905
|
-
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
5906
|
-
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5907
|
-
export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5908
|
-
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
5909
|
-
export type CustomFieldEntryDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5910
|
-
export type CustomFieldPermissionRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5911
|
-
export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
5912
|
-
export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5913
|
-
export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
5914
|
-
export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5915
|
-
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
5916
|
-
export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
|
|
5917
|
-
export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
|
|
5918
|
-
export type EncompassCredentialsDetailSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
5919
|
-
export type EncompassCredentialsRequestEncompassEnvironmentEnum = "Production" | "UAT";
|
|
5920
|
-
export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
5921
|
-
export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
|
|
5922
|
-
export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
|
|
5923
|
-
export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
|
|
5924
|
-
export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
5925
|
-
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";
|
|
5926
|
-
export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
5927
|
-
export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
5928
|
-
export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5929
|
-
export type LoanDocumentFolderPermissionRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5930
|
-
export type LoanDocumentFolderPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
5931
|
-
export type LoanDocumentFolderPermissionRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5932
|
-
export type LoanDocumentFolderPermissionRequestLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
5933
|
-
export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
5934
|
-
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
5935
|
-
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5936
|
-
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5937
|
-
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
|
|
5938
|
-
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5939
|
-
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
|
|
5940
|
-
export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
5941
|
-
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5942
|
-
export type LosOperationTrackingStatusEnum = "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
|
|
5943
|
-
export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
|
|
5944
|
-
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";
|
|
5945
|
-
export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5946
|
-
export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5947
|
-
export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5948
|
-
export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5949
|
-
export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5950
|
-
export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5951
|
-
export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
5952
|
-
export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
5953
|
-
export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
|
|
5954
|
-
export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5955
|
-
export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
|
|
5956
|
-
export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5957
|
-
export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
5958
|
-
export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
|
|
5959
|
-
export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5960
|
-
export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
|
|
5961
|
-
/** @default "Realtor" */
|
|
5962
|
-
export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5963
|
-
export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5964
|
-
export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5965
|
-
export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5966
|
-
export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5967
5873
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
5968
5874
|
export type QueryParamsType = Record<string | number, any>;
|
|
5969
5875
|
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
@@ -5986,7 +5892,14 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
|
|
|
5986
5892
|
secure?: boolean;
|
|
5987
5893
|
format?: ResponseType;
|
|
5988
5894
|
}
|
|
5989
|
-
export
|
|
5895
|
+
export declare enum ContentType {
|
|
5896
|
+
JsonPatch = "application/json-patch+json",
|
|
5897
|
+
Json = "application/json",
|
|
5898
|
+
JsonApi = "application/vnd.api+json",
|
|
5899
|
+
FormData = "multipart/form-data",
|
|
5900
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
5901
|
+
Text = "text/plain"
|
|
5902
|
+
}
|
|
5990
5903
|
export declare class HttpClient<SecurityDataType = unknown> {
|
|
5991
5904
|
instance: AxiosInstance;
|
|
5992
5905
|
private securityData;
|
|
@@ -6002,7 +5915,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
6002
5915
|
}
|
|
6003
5916
|
/**
|
|
6004
5917
|
* @title The Big POS API
|
|
6005
|
-
* @version v2.
|
|
5918
|
+
* @version v2.46.8
|
|
6006
5919
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
6007
5920
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
6008
5921
|
*/
|
|
@@ -6166,141 +6079,66 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6166
6079
|
/**
|
|
6167
6080
|
* No description
|
|
6168
6081
|
*
|
|
6169
|
-
* @tags
|
|
6170
|
-
* @name
|
|
6171
|
-
* @summary Get
|
|
6172
|
-
* @request GET:/api/ai/
|
|
6082
|
+
* @tags AiAccess
|
|
6083
|
+
* @name GetAiAccess
|
|
6084
|
+
* @summary Get whether AI is enabled for the current user's account
|
|
6085
|
+
* @request GET:/api/ai/access
|
|
6173
6086
|
* @secure
|
|
6174
|
-
* @response `200` `
|
|
6087
|
+
* @response `200` `AiEnabled` OK
|
|
6175
6088
|
*/
|
|
6176
|
-
|
|
6089
|
+
getAiAccess: (params?: RequestParams) => Promise<AxiosResponse<AiEnabled, any, {}>>;
|
|
6177
6090
|
/**
|
|
6178
6091
|
* No description
|
|
6179
6092
|
*
|
|
6180
|
-
* @tags
|
|
6181
|
-
* @name
|
|
6182
|
-
* @summary
|
|
6183
|
-
* @request
|
|
6093
|
+
* @tags AiAccount
|
|
6094
|
+
* @name GetAccountAiEnabled
|
|
6095
|
+
* @summary Get whether AI is enabled for an account (SuperAdmin only)
|
|
6096
|
+
* @request GET:/api/ai/accounts/{accountId}/ai-enabled
|
|
6184
6097
|
* @secure
|
|
6185
|
-
* @response `200` `
|
|
6186
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6098
|
+
* @response `200` `AiEnabled` OK
|
|
6187
6099
|
*/
|
|
6188
|
-
|
|
6100
|
+
getAccountAiEnabled: (accountId: string, params?: RequestParams) => Promise<AxiosResponse<AiEnabled, any, {}>>;
|
|
6189
6101
|
/**
|
|
6190
6102
|
* No description
|
|
6191
6103
|
*
|
|
6192
|
-
* @tags
|
|
6193
|
-
* @name
|
|
6194
|
-
* @summary
|
|
6195
|
-
* @request
|
|
6196
|
-
* @secure
|
|
6197
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
6198
|
-
*/
|
|
6199
|
-
getAiAuditLogs: (query?: {
|
|
6200
|
-
eventType?: AiAuditEventType;
|
|
6201
|
-
/** @format uuid */
|
|
6202
|
-
requestId?: string;
|
|
6203
|
-
/** @format uuid */
|
|
6204
|
-
userId?: string;
|
|
6205
|
-
/** @format uuid */
|
|
6206
|
-
conversationId?: string;
|
|
6207
|
-
blockedOnly?: boolean;
|
|
6208
|
-
/** @format date-time */
|
|
6209
|
-
startDate?: string;
|
|
6210
|
-
/** @format date-time */
|
|
6211
|
-
endDate?: string;
|
|
6212
|
-
/** @format int32 */
|
|
6213
|
-
pageSize?: number;
|
|
6214
|
-
/** @format int32 */
|
|
6215
|
-
pageNumber?: number;
|
|
6216
|
-
sortBy?: string;
|
|
6217
|
-
sortDirection?: string;
|
|
6218
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
6219
|
-
/**
|
|
6220
|
-
* No description
|
|
6221
|
-
*
|
|
6222
|
-
* @tags AiAdmin
|
|
6223
|
-
* @name GetAiRequestLifecycle
|
|
6224
|
-
* @summary Get the full event lifecycle of a single AI request
|
|
6225
|
-
* @request GET:/api/ai/admin/audit-logs/request/{requestId}
|
|
6226
|
-
* @secure
|
|
6227
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
6228
|
-
*/
|
|
6229
|
-
getAiRequestLifecycle: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
|
|
6230
|
-
/**
|
|
6231
|
-
* No description
|
|
6232
|
-
*
|
|
6233
|
-
* @tags AiAdmin
|
|
6234
|
-
* @name GetAiAuditConversations
|
|
6235
|
-
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
6236
|
-
* @request GET:/api/ai/admin/audit-conversations
|
|
6104
|
+
* @tags AiAccount
|
|
6105
|
+
* @name SetAccountAiEnabled
|
|
6106
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
6107
|
+
* @request PUT:/api/ai/accounts/{accountId}/ai-enabled
|
|
6237
6108
|
* @secure
|
|
6238
|
-
* @response `
|
|
6109
|
+
* @response `204` `void` No Content
|
|
6239
6110
|
*/
|
|
6240
|
-
|
|
6241
|
-
searchText?: string;
|
|
6242
|
-
/** @format date-time */
|
|
6243
|
-
startDate?: string;
|
|
6244
|
-
/** @format date-time */
|
|
6245
|
-
endDate?: string;
|
|
6246
|
-
/** @format int32 */
|
|
6247
|
-
pageSize?: number;
|
|
6248
|
-
/** @format int32 */
|
|
6249
|
-
pageNumber?: number;
|
|
6250
|
-
sortBy?: string;
|
|
6251
|
-
sortDirection?: string;
|
|
6252
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationAuditSummaryPaginated, any, {}>>;
|
|
6111
|
+
setAccountAiEnabled: (accountId: string, data: SetAiEnabledRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6253
6112
|
/**
|
|
6254
6113
|
* No description
|
|
6255
6114
|
*
|
|
6256
|
-
* @tags
|
|
6257
|
-
* @name
|
|
6258
|
-
* @summary Get AI
|
|
6259
|
-
* @request GET:/api/ai/
|
|
6115
|
+
* @tags AiAccountSettings
|
|
6116
|
+
* @name GetAiAccountSettings
|
|
6117
|
+
* @summary Get account AI settings
|
|
6118
|
+
* @request GET:/api/ai/account-settings
|
|
6260
6119
|
* @secure
|
|
6261
|
-
* @response `200` `
|
|
6120
|
+
* @response `200` `AiAccountSettings` OK
|
|
6262
6121
|
*/
|
|
6263
|
-
|
|
6264
|
-
/** @format date-time */
|
|
6265
|
-
startDate?: string;
|
|
6266
|
-
/** @format date-time */
|
|
6267
|
-
endDate?: string;
|
|
6268
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
6122
|
+
getAiAccountSettings: (params?: RequestParams) => Promise<AxiosResponse<AiAccountSettings, any, {}>>;
|
|
6269
6123
|
/**
|
|
6270
6124
|
* No description
|
|
6271
6125
|
*
|
|
6272
|
-
* @tags
|
|
6273
|
-
* @name
|
|
6274
|
-
* @summary
|
|
6275
|
-
* @request
|
|
6126
|
+
* @tags AiAccountSettings
|
|
6127
|
+
* @name UpdateAiAccountSettings
|
|
6128
|
+
* @summary Update account AI settings
|
|
6129
|
+
* @request PUT:/api/ai/account-settings
|
|
6276
6130
|
* @secure
|
|
6277
|
-
* @response `200` `
|
|
6131
|
+
* @response `200` `AiAccountSettings` OK
|
|
6132
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6278
6133
|
*/
|
|
6279
|
-
|
|
6280
|
-
entityType?: AiConfigEntityType;
|
|
6281
|
-
/** @format uuid */
|
|
6282
|
-
entityId?: string;
|
|
6283
|
-
/** @format uuid */
|
|
6284
|
-
actorUserId?: string;
|
|
6285
|
-
action?: AiConfigChangeAction;
|
|
6286
|
-
/** @format date-time */
|
|
6287
|
-
startDate?: string;
|
|
6288
|
-
/** @format date-time */
|
|
6289
|
-
endDate?: string;
|
|
6290
|
-
/** @format int32 */
|
|
6291
|
-
pageSize?: number;
|
|
6292
|
-
/** @format int32 */
|
|
6293
|
-
pageNumber?: number;
|
|
6294
|
-
sortBy?: string;
|
|
6295
|
-
sortDirection?: string;
|
|
6296
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
|
|
6134
|
+
updateAiAccountSettings: (data: AiAccountSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAccountSettings, any, {}>>;
|
|
6297
6135
|
/**
|
|
6298
6136
|
* No description
|
|
6299
6137
|
*
|
|
6300
6138
|
* @tags AiAdminPrompt
|
|
6301
6139
|
* @name GetAiPrompts
|
|
6302
6140
|
* @summary Get all prompts
|
|
6303
|
-
* @request GET:/api/ai/
|
|
6141
|
+
* @request GET:/api/ai/prompts
|
|
6304
6142
|
* @secure
|
|
6305
6143
|
* @response `200` `(AiPrompt)[]` OK
|
|
6306
6144
|
*/
|
|
@@ -6311,7 +6149,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6311
6149
|
* @tags AiAdminPrompt
|
|
6312
6150
|
* @name CreateAiPrompt
|
|
6313
6151
|
* @summary Create custom prompt
|
|
6314
|
-
* @request POST:/api/ai/
|
|
6152
|
+
* @request POST:/api/ai/prompts
|
|
6315
6153
|
* @secure
|
|
6316
6154
|
* @response `201` `AiPrompt` Created
|
|
6317
6155
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6323,7 +6161,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6323
6161
|
* @tags AiAdminPrompt
|
|
6324
6162
|
* @name GetAiPrompt
|
|
6325
6163
|
* @summary Get prompt by ID
|
|
6326
|
-
* @request GET:/api/ai/
|
|
6164
|
+
* @request GET:/api/ai/prompts/{id}
|
|
6327
6165
|
* @secure
|
|
6328
6166
|
* @response `200` `AiPrompt` OK
|
|
6329
6167
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6335,7 +6173,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6335
6173
|
* @tags AiAdminPrompt
|
|
6336
6174
|
* @name UpdateAiPrompt
|
|
6337
6175
|
* @summary Update prompt
|
|
6338
|
-
* @request PUT:/api/ai/
|
|
6176
|
+
* @request PUT:/api/ai/prompts/{id}
|
|
6339
6177
|
* @secure
|
|
6340
6178
|
* @response `200` `AiPrompt` OK
|
|
6341
6179
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6348,20 +6186,44 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6348
6186
|
* @tags AiAdminPrompt
|
|
6349
6187
|
* @name DeleteAiPrompt
|
|
6350
6188
|
* @summary Delete prompt
|
|
6351
|
-
* @request DELETE:/api/ai/
|
|
6189
|
+
* @request DELETE:/api/ai/prompts/{id}
|
|
6352
6190
|
* @secure
|
|
6353
6191
|
* @response `204` `void` No Content
|
|
6354
6192
|
* @response `400` `ProblemDetails` Bad Request
|
|
6355
6193
|
* @response `404` `ProblemDetails` Not Found
|
|
6356
6194
|
*/
|
|
6357
6195
|
deleteAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6196
|
+
/**
|
|
6197
|
+
* No description
|
|
6198
|
+
*
|
|
6199
|
+
* @tags AiAdminPrompt
|
|
6200
|
+
* @name GetAiTools
|
|
6201
|
+
* @summary List available agent tools and their settings schema
|
|
6202
|
+
* @request GET:/api/ai/prompts/tools
|
|
6203
|
+
* @secure
|
|
6204
|
+
* @response `200` `(AiToolCatalogItem)[]` OK
|
|
6205
|
+
*/
|
|
6206
|
+
getAiTools: (params?: RequestParams) => Promise<AxiosResponse<AiToolCatalogItem[], any, {}>>;
|
|
6207
|
+
/**
|
|
6208
|
+
* No description
|
|
6209
|
+
*
|
|
6210
|
+
* @tags AiAdminPrompt
|
|
6211
|
+
* @name UpdateAiPromptTools
|
|
6212
|
+
* @summary Replace the prompt's agent tool configuration
|
|
6213
|
+
* @request PUT:/api/ai/prompts/{id}/tools
|
|
6214
|
+
* @secure
|
|
6215
|
+
* @response `200` `AiPrompt` OK
|
|
6216
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6217
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6218
|
+
*/
|
|
6219
|
+
updateAiPromptTools: (id: string, data: UpdateAiPromptToolsRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
6358
6220
|
/**
|
|
6359
6221
|
* No description
|
|
6360
6222
|
*
|
|
6361
6223
|
* @tags AiAdminPrompt
|
|
6362
6224
|
* @name ToggleAiPrompt
|
|
6363
6225
|
* @summary Toggle prompt active/inactive
|
|
6364
|
-
* @request PATCH:/api/ai/
|
|
6226
|
+
* @request PATCH:/api/ai/prompts/{id}/toggle
|
|
6365
6227
|
* @secure
|
|
6366
6228
|
* @response `200` `AiPrompt` OK
|
|
6367
6229
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6373,7 +6235,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6373
6235
|
* @tags AiAdminPrompt
|
|
6374
6236
|
* @name GenerateAiSystemPrompt
|
|
6375
6237
|
* @summary Generate a system prompt from description
|
|
6376
|
-
* @request POST:/api/ai/
|
|
6238
|
+
* @request POST:/api/ai/prompts/generate
|
|
6377
6239
|
* @secure
|
|
6378
6240
|
* @response `200` `GenerateSystemPrompt` OK
|
|
6379
6241
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6383,20 +6245,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6383
6245
|
* No description
|
|
6384
6246
|
*
|
|
6385
6247
|
* @tags AiAdminPrompt
|
|
6386
|
-
* @name
|
|
6248
|
+
* @name GetAiSupportedModels
|
|
6387
6249
|
* @summary Get supported LLM models
|
|
6388
|
-
* @request GET:/api/ai/
|
|
6250
|
+
* @request GET:/api/ai/prompts/supported-models
|
|
6389
6251
|
* @secure
|
|
6390
6252
|
* @response `200` `(SupportedModel)[]` OK
|
|
6391
6253
|
*/
|
|
6392
|
-
|
|
6254
|
+
getAiSupportedModels: (params?: RequestParams) => Promise<AxiosResponse<SupportedModel[], any, {}>>;
|
|
6393
6255
|
/**
|
|
6394
6256
|
* No description
|
|
6395
6257
|
*
|
|
6396
6258
|
* @tags AiAdminSettings
|
|
6397
6259
|
* @name GetAiAdminSettings
|
|
6398
6260
|
* @summary Get global AI settings
|
|
6399
|
-
* @request GET:/api/ai/
|
|
6261
|
+
* @request GET:/api/ai/settings
|
|
6400
6262
|
* @secure
|
|
6401
6263
|
* @response `200` `AiAdminSettings` OK
|
|
6402
6264
|
*/
|
|
@@ -6407,19 +6269,136 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6407
6269
|
* @tags AiAdminSettings
|
|
6408
6270
|
* @name UpdateAiAdminSettings
|
|
6409
6271
|
* @summary Update global AI settings
|
|
6410
|
-
* @request PUT:/api/ai/
|
|
6272
|
+
* @request PUT:/api/ai/settings
|
|
6411
6273
|
* @secure
|
|
6412
6274
|
* @response `200` `AiAdminSettings` OK
|
|
6413
6275
|
* @response `400` `ProblemDetails` Bad Request
|
|
6414
6276
|
*/
|
|
6415
6277
|
updateAiAdminSettings: (data: AiAdminSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
|
|
6278
|
+
/**
|
|
6279
|
+
* No description
|
|
6280
|
+
*
|
|
6281
|
+
* @tags AiAudit
|
|
6282
|
+
* @name GetAiAuditLogs
|
|
6283
|
+
* @summary Get paginated AI audit logs (own account, or any/all accounts for SuperAdmin)
|
|
6284
|
+
* @request GET:/api/ai/audit-logs
|
|
6285
|
+
* @secure
|
|
6286
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
6287
|
+
*/
|
|
6288
|
+
getAiAuditLogs: (query?: {
|
|
6289
|
+
/** @format uuid */
|
|
6290
|
+
accountId?: string;
|
|
6291
|
+
eventType?: AiAuditEventType;
|
|
6292
|
+
/** @format uuid */
|
|
6293
|
+
requestId?: string;
|
|
6294
|
+
/** @format uuid */
|
|
6295
|
+
userId?: string;
|
|
6296
|
+
/** @format uuid */
|
|
6297
|
+
conversationId?: string;
|
|
6298
|
+
blockedOnly?: boolean;
|
|
6299
|
+
/** @format date-time */
|
|
6300
|
+
startDate?: string;
|
|
6301
|
+
/** @format date-time */
|
|
6302
|
+
endDate?: string;
|
|
6303
|
+
/** @format int32 */
|
|
6304
|
+
pageSize?: number;
|
|
6305
|
+
/** @format int32 */
|
|
6306
|
+
pageNumber?: number;
|
|
6307
|
+
sortBy?: string;
|
|
6308
|
+
sortDirection?: string;
|
|
6309
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
6310
|
+
/**
|
|
6311
|
+
* No description
|
|
6312
|
+
*
|
|
6313
|
+
* @tags AiAudit
|
|
6314
|
+
* @name GetAiRequestLifecycle
|
|
6315
|
+
* @summary Get the full event lifecycle of a single AI request
|
|
6316
|
+
* @request GET:/api/ai/audit-logs/request/{requestId}
|
|
6317
|
+
* @secure
|
|
6318
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
6319
|
+
*/
|
|
6320
|
+
getAiRequestLifecycle: (requestId: string, query?: {
|
|
6321
|
+
/** @format uuid */
|
|
6322
|
+
accountId?: string;
|
|
6323
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
|
|
6324
|
+
/**
|
|
6325
|
+
* No description
|
|
6326
|
+
*
|
|
6327
|
+
* @tags AiAudit
|
|
6328
|
+
* @name GetAiAuditConversations
|
|
6329
|
+
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
6330
|
+
* @request GET:/api/ai/audit-conversations
|
|
6331
|
+
* @secure
|
|
6332
|
+
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
6333
|
+
*/
|
|
6334
|
+
getAiAuditConversations: (query?: {
|
|
6335
|
+
/** @format uuid */
|
|
6336
|
+
accountId?: string;
|
|
6337
|
+
searchText?: string;
|
|
6338
|
+
/** @format date-time */
|
|
6339
|
+
startDate?: string;
|
|
6340
|
+
/** @format date-time */
|
|
6341
|
+
endDate?: string;
|
|
6342
|
+
/** @format int32 */
|
|
6343
|
+
pageSize?: number;
|
|
6344
|
+
/** @format int32 */
|
|
6345
|
+
pageNumber?: number;
|
|
6346
|
+
sortBy?: string;
|
|
6347
|
+
sortDirection?: string;
|
|
6348
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationAuditSummaryPaginated, any, {}>>;
|
|
6349
|
+
/**
|
|
6350
|
+
* No description
|
|
6351
|
+
*
|
|
6352
|
+
* @tags AiAudit
|
|
6353
|
+
* @name GetAiStats
|
|
6354
|
+
* @summary Get AI dashboard stats (own account, or any/all accounts for SuperAdmin)
|
|
6355
|
+
* @request GET:/api/ai/stats
|
|
6356
|
+
* @secure
|
|
6357
|
+
* @response `200` `AiAdminStats` OK
|
|
6358
|
+
*/
|
|
6359
|
+
getAiStats: (query?: {
|
|
6360
|
+
/** @format uuid */
|
|
6361
|
+
accountId?: string;
|
|
6362
|
+
/** @format date-time */
|
|
6363
|
+
startDate?: string;
|
|
6364
|
+
/** @format date-time */
|
|
6365
|
+
endDate?: string;
|
|
6366
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
6367
|
+
/**
|
|
6368
|
+
* No description
|
|
6369
|
+
*
|
|
6370
|
+
* @tags AiAudit
|
|
6371
|
+
* @name GetAiConfigChanges
|
|
6372
|
+
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
6373
|
+
* @request GET:/api/ai/config-changes
|
|
6374
|
+
* @secure
|
|
6375
|
+
* @response `200` `AuditLogEntryPaginated` OK
|
|
6376
|
+
*/
|
|
6377
|
+
getAiConfigChanges: (query?: {
|
|
6378
|
+
/** @format uuid */
|
|
6379
|
+
accountId?: string;
|
|
6380
|
+
/** @format uuid */
|
|
6381
|
+
entityId?: string;
|
|
6382
|
+
/** @format uuid */
|
|
6383
|
+
actorUserId?: string;
|
|
6384
|
+
/** @format date-time */
|
|
6385
|
+
startDate?: string;
|
|
6386
|
+
/** @format date-time */
|
|
6387
|
+
endDate?: string;
|
|
6388
|
+
/** @format int32 */
|
|
6389
|
+
pageSize?: number;
|
|
6390
|
+
/** @format int32 */
|
|
6391
|
+
pageNumber?: number;
|
|
6392
|
+
sortBy?: string;
|
|
6393
|
+
sortDirection?: string;
|
|
6394
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AuditLogEntryPaginated, any, {}>>;
|
|
6416
6395
|
/**
|
|
6417
6396
|
* No description
|
|
6418
6397
|
*
|
|
6419
6398
|
* @tags AiCanonicalField
|
|
6420
6399
|
* @name GetAiCanonicalFields
|
|
6421
6400
|
* @summary Get all canonical fields
|
|
6422
|
-
* @request GET:/api/ai/
|
|
6401
|
+
* @request GET:/api/ai/canonical-fields
|
|
6423
6402
|
* @secure
|
|
6424
6403
|
* @response `200` `(AiCanonicalField)[]` OK
|
|
6425
6404
|
*/
|
|
@@ -6430,7 +6409,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6430
6409
|
* @tags AiCanonicalField
|
|
6431
6410
|
* @name CreateAiCanonicalField
|
|
6432
6411
|
* @summary Create canonical field
|
|
6433
|
-
* @request POST:/api/ai/
|
|
6412
|
+
* @request POST:/api/ai/canonical-fields
|
|
6434
6413
|
* @secure
|
|
6435
6414
|
* @response `201` `AiCanonicalField` Created
|
|
6436
6415
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6442,7 +6421,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6442
6421
|
* @tags AiCanonicalField
|
|
6443
6422
|
* @name GetAiCanonicalField
|
|
6444
6423
|
* @summary Get canonical field by ID
|
|
6445
|
-
* @request GET:/api/ai/
|
|
6424
|
+
* @request GET:/api/ai/canonical-fields/{id}
|
|
6446
6425
|
* @secure
|
|
6447
6426
|
* @response `200` `AiCanonicalField` OK
|
|
6448
6427
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6454,7 +6433,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6454
6433
|
* @tags AiCanonicalField
|
|
6455
6434
|
* @name UpdateAiCanonicalField
|
|
6456
6435
|
* @summary Update canonical field
|
|
6457
|
-
* @request PUT:/api/ai/
|
|
6436
|
+
* @request PUT:/api/ai/canonical-fields/{id}
|
|
6458
6437
|
* @secure
|
|
6459
6438
|
* @response `200` `AiCanonicalField` OK
|
|
6460
6439
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6467,7 +6446,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6467
6446
|
* @tags AiCanonicalField
|
|
6468
6447
|
* @name DeleteAiCanonicalField
|
|
6469
6448
|
* @summary Delete canonical field
|
|
6470
|
-
* @request DELETE:/api/ai/
|
|
6449
|
+
* @request DELETE:/api/ai/canonical-fields/{id}
|
|
6471
6450
|
* @secure
|
|
6472
6451
|
* @response `204` `void` No Content
|
|
6473
6452
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6479,7 +6458,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6479
6458
|
* @tags AiCanonicalField
|
|
6480
6459
|
* @name ToggleAiCanonicalField
|
|
6481
6460
|
* @summary Toggle canonical field active/inactive
|
|
6482
|
-
* @request PATCH:/api/ai/
|
|
6461
|
+
* @request PATCH:/api/ai/canonical-fields/{id}/toggle
|
|
6483
6462
|
* @secure
|
|
6484
6463
|
* @response `200` `AiCanonicalField` OK
|
|
6485
6464
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6491,7 +6470,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6491
6470
|
* @tags AiChat
|
|
6492
6471
|
* @name AiChat
|
|
6493
6472
|
* @summary Send AI chat message
|
|
6494
|
-
* @request POST:/api/ai/
|
|
6473
|
+
* @request POST:/api/ai/chats
|
|
6495
6474
|
* @secure
|
|
6496
6475
|
* @response `200` `AiChat` OK
|
|
6497
6476
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6515,6 +6494,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6515
6494
|
pageNumber?: number;
|
|
6516
6495
|
sortBy?: string;
|
|
6517
6496
|
sortDirection?: string;
|
|
6497
|
+
/** @format uuid */
|
|
6498
|
+
loanId?: string;
|
|
6518
6499
|
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
|
|
6519
6500
|
/**
|
|
6520
6501
|
* No description
|
|
@@ -6608,7 +6589,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6608
6589
|
* @tags AiConversationAdmin
|
|
6609
6590
|
* @name GetAiAccountConversations
|
|
6610
6591
|
* @summary List AI conversations across the account, optionally filtered by user (admin supervision)
|
|
6611
|
-
* @request GET:/api/ai/
|
|
6592
|
+
* @request GET:/api/ai/conversations/all
|
|
6612
6593
|
* @secure
|
|
6613
6594
|
* @response `200` `AiConversationListItemPaginated` OK
|
|
6614
6595
|
*/
|
|
@@ -6628,7 +6609,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6628
6609
|
* @tags AiConversationAdmin
|
|
6629
6610
|
* @name GetAiAccountConversation
|
|
6630
6611
|
* @summary Get an account conversation's detail (admin supervision)
|
|
6631
|
-
* @request GET:/api/ai/
|
|
6612
|
+
* @request GET:/api/ai/conversations/all/{id}
|
|
6632
6613
|
* @secure
|
|
6633
6614
|
* @response `200` `AiConversationDetail` OK
|
|
6634
6615
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6640,7 +6621,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6640
6621
|
* @tags AiConversationAdmin
|
|
6641
6622
|
* @name GetAiAccountConversationMessages
|
|
6642
6623
|
* @summary Get an account conversation's messages (admin supervision)
|
|
6643
|
-
* @request GET:/api/ai/
|
|
6624
|
+
* @request GET:/api/ai/conversations/all/{id}/messages
|
|
6644
6625
|
* @secure
|
|
6645
6626
|
* @response `200` `AiChatMessagePaginated` OK
|
|
6646
6627
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6659,7 +6640,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6659
6640
|
* @tags AiGuardrail
|
|
6660
6641
|
* @name GetAiGuardrails
|
|
6661
6642
|
* @summary Get all guardrails
|
|
6662
|
-
* @request GET:/api/ai/
|
|
6643
|
+
* @request GET:/api/ai/guardrails
|
|
6663
6644
|
* @secure
|
|
6664
6645
|
* @response `200` `(AiGuardrail)[]` OK
|
|
6665
6646
|
*/
|
|
@@ -6670,7 +6651,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6670
6651
|
* @tags AiGuardrail
|
|
6671
6652
|
* @name CreateAiGuardrail
|
|
6672
6653
|
* @summary Create custom guardrail
|
|
6673
|
-
* @request POST:/api/ai/
|
|
6654
|
+
* @request POST:/api/ai/guardrails
|
|
6674
6655
|
* @secure
|
|
6675
6656
|
* @response `201` `AiGuardrail` Created
|
|
6676
6657
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6682,7 +6663,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6682
6663
|
* @tags AiGuardrail
|
|
6683
6664
|
* @name GetAiGuardrail
|
|
6684
6665
|
* @summary Get guardrail by ID
|
|
6685
|
-
* @request GET:/api/ai/
|
|
6666
|
+
* @request GET:/api/ai/guardrails/{id}
|
|
6686
6667
|
* @secure
|
|
6687
6668
|
* @response `200` `AiGuardrail` OK
|
|
6688
6669
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6694,7 +6675,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6694
6675
|
* @tags AiGuardrail
|
|
6695
6676
|
* @name UpdateAiGuardrail
|
|
6696
6677
|
* @summary Update guardrail
|
|
6697
|
-
* @request PUT:/api/ai/
|
|
6678
|
+
* @request PUT:/api/ai/guardrails/{id}
|
|
6698
6679
|
* @secure
|
|
6699
6680
|
* @response `200` `AiGuardrail` OK
|
|
6700
6681
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6707,7 +6688,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6707
6688
|
* @tags AiGuardrail
|
|
6708
6689
|
* @name DeleteAiGuardrail
|
|
6709
6690
|
* @summary Delete guardrail
|
|
6710
|
-
* @request DELETE:/api/ai/
|
|
6691
|
+
* @request DELETE:/api/ai/guardrails/{id}
|
|
6711
6692
|
* @secure
|
|
6712
6693
|
* @response `204` `void` No Content
|
|
6713
6694
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6720,7 +6701,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6720
6701
|
* @tags AiGuardrail
|
|
6721
6702
|
* @name ToggleAiGuardrail
|
|
6722
6703
|
* @summary Toggle guardrail enabled/disabled
|
|
6723
|
-
* @request PATCH:/api/ai/
|
|
6704
|
+
* @request PATCH:/api/ai/guardrails/{id}/toggle
|
|
6724
6705
|
* @secure
|
|
6725
6706
|
* @response `200` `AiGuardrail` OK
|
|
6726
6707
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6730,128 +6711,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6730
6711
|
* No description
|
|
6731
6712
|
*
|
|
6732
6713
|
* @tags AiPrompt
|
|
6733
|
-
* @name
|
|
6714
|
+
* @name GetAiAvailablePrompts
|
|
6734
6715
|
* @summary Get available prompts for current user
|
|
6735
|
-
* @request GET:/api/ai/prompts
|
|
6716
|
+
* @request GET:/api/ai/prompts/available
|
|
6736
6717
|
* @secure
|
|
6737
6718
|
* @response `200` `(AiPromptSummary)[]` OK
|
|
6738
6719
|
*/
|
|
6739
|
-
|
|
6720
|
+
getAiAvailablePrompts: (query?: {
|
|
6740
6721
|
documentType?: string;
|
|
6741
6722
|
}, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
|
|
6742
|
-
/**
|
|
6743
|
-
* No description
|
|
6744
|
-
*
|
|
6745
|
-
* @tags AiSuperAdmin
|
|
6746
|
-
* @name GetAiAuditLogsCrossAccount
|
|
6747
|
-
* @summary Get AI audit logs for a specific account or across all accounts
|
|
6748
|
-
* @request GET:/api/ai/superadmin/audit-logs
|
|
6749
|
-
* @secure
|
|
6750
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
6751
|
-
*/
|
|
6752
|
-
getAiAuditLogsCrossAccount: (query?: {
|
|
6753
|
-
/** @format uuid */
|
|
6754
|
-
accountId?: string;
|
|
6755
|
-
eventType?: AiAuditEventType;
|
|
6756
|
-
/** @format uuid */
|
|
6757
|
-
requestId?: string;
|
|
6758
|
-
/** @format uuid */
|
|
6759
|
-
userId?: string;
|
|
6760
|
-
/** @format uuid */
|
|
6761
|
-
conversationId?: string;
|
|
6762
|
-
blockedOnly?: boolean;
|
|
6763
|
-
/** @format date-time */
|
|
6764
|
-
startDate?: string;
|
|
6765
|
-
/** @format date-time */
|
|
6766
|
-
endDate?: string;
|
|
6767
|
-
/** @format int32 */
|
|
6768
|
-
pageSize?: number;
|
|
6769
|
-
/** @format int32 */
|
|
6770
|
-
pageNumber?: number;
|
|
6771
|
-
sortBy?: string;
|
|
6772
|
-
sortDirection?: string;
|
|
6773
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
6774
|
-
/**
|
|
6775
|
-
* No description
|
|
6776
|
-
*
|
|
6777
|
-
* @tags AiSuperAdmin
|
|
6778
|
-
* @name GetAiRequestLifecycleCrossAccount
|
|
6779
|
-
* @summary Get the full event lifecycle of a single AI request from any account
|
|
6780
|
-
* @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
|
|
6781
|
-
* @secure
|
|
6782
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
6783
|
-
*/
|
|
6784
|
-
getAiRequestLifecycleCrossAccount: (requestId: string, query?: {
|
|
6785
|
-
/** @format uuid */
|
|
6786
|
-
accountId?: string;
|
|
6787
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
|
|
6788
|
-
/**
|
|
6789
|
-
* No description
|
|
6790
|
-
*
|
|
6791
|
-
* @tags AiSuperAdmin
|
|
6792
|
-
* @name GetAiStatsCrossAccount
|
|
6793
|
-
* @summary Get AI stats for a specific account or platform-wide
|
|
6794
|
-
* @request GET:/api/ai/superadmin/stats
|
|
6795
|
-
* @secure
|
|
6796
|
-
* @response `200` `AiAdminStats` OK
|
|
6797
|
-
*/
|
|
6798
|
-
getAiStatsCrossAccount: (query?: {
|
|
6799
|
-
/** @format uuid */
|
|
6800
|
-
accountId?: string;
|
|
6801
|
-
/** @format date-time */
|
|
6802
|
-
startDate?: string;
|
|
6803
|
-
/** @format date-time */
|
|
6804
|
-
endDate?: string;
|
|
6805
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
6806
|
-
/**
|
|
6807
|
-
* No description
|
|
6808
|
-
*
|
|
6809
|
-
* @tags AiSuperAdmin
|
|
6810
|
-
* @name GetAiConfigChangesCrossAccount
|
|
6811
|
-
* @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
|
|
6812
|
-
* @request GET:/api/ai/superadmin/config-changes
|
|
6813
|
-
* @secure
|
|
6814
|
-
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
6815
|
-
*/
|
|
6816
|
-
getAiConfigChangesCrossAccount: (query?: {
|
|
6817
|
-
/** @format uuid */
|
|
6818
|
-
accountId?: string;
|
|
6819
|
-
entityType?: AiConfigEntityType;
|
|
6820
|
-
/** @format uuid */
|
|
6821
|
-
entityId?: string;
|
|
6822
|
-
/** @format uuid */
|
|
6823
|
-
actorUserId?: string;
|
|
6824
|
-
action?: AiConfigChangeAction;
|
|
6825
|
-
/** @format date-time */
|
|
6826
|
-
startDate?: string;
|
|
6827
|
-
/** @format date-time */
|
|
6828
|
-
endDate?: string;
|
|
6829
|
-
/** @format int32 */
|
|
6830
|
-
pageSize?: number;
|
|
6831
|
-
/** @format int32 */
|
|
6832
|
-
pageNumber?: number;
|
|
6833
|
-
sortBy?: string;
|
|
6834
|
-
sortDirection?: string;
|
|
6835
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
|
|
6836
|
-
/**
|
|
6837
|
-
* No description
|
|
6838
|
-
*
|
|
6839
|
-
* @tags AiSuperAdmin
|
|
6840
|
-
* @name SetAccountAiEnabled
|
|
6841
|
-
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
6842
|
-
* @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
|
|
6843
|
-
* @secure
|
|
6844
|
-
* @response `204` `void` No Content
|
|
6845
|
-
* @response `404` `ProblemDetails` Not Found
|
|
6846
|
-
*/
|
|
6847
|
-
setAccountAiEnabled: (accountId: string, data: SetAiEnabledRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6848
6723
|
/**
|
|
6849
6724
|
* No description
|
|
6850
6725
|
*
|
|
6851
6726
|
* @tags AiTokenUsageAdmin
|
|
6852
6727
|
* @name SearchAiAccountTokenUsage
|
|
6853
6728
|
* @summary Search accounts by current-month AI token usage and classification
|
|
6854
|
-
* @request POST:/api/ai/
|
|
6729
|
+
* @request POST:/api/ai/token-usage/search
|
|
6855
6730
|
* @secure
|
|
6856
6731
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
6857
6732
|
*/
|
|
@@ -6869,7 +6744,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6869
6744
|
* @tags AiTokenUsageAdmin
|
|
6870
6745
|
* @name GetAiAccountTokenUsage
|
|
6871
6746
|
* @summary Get an account's current-month AI token usage
|
|
6872
|
-
* @request GET:/api/ai/
|
|
6747
|
+
* @request GET:/api/ai/token-usage/{accountId}
|
|
6873
6748
|
* @secure
|
|
6874
6749
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
6875
6750
|
*/
|
|
@@ -6880,7 +6755,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6880
6755
|
* @tags AiTokenUsageAdmin
|
|
6881
6756
|
* @name GetAiAccountTokenUsageHistory
|
|
6882
6757
|
* @summary Get an account's monthly AI token usage history
|
|
6883
|
-
* @request GET:/api/ai/
|
|
6758
|
+
* @request GET:/api/ai/token-usage/{accountId}/history
|
|
6884
6759
|
* @secure
|
|
6885
6760
|
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
6886
6761
|
*/
|
|
@@ -6898,7 +6773,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6898
6773
|
* @tags AiTokenUsageAdmin
|
|
6899
6774
|
* @name SetAiAccountTokenLimit
|
|
6900
6775
|
* @summary Set or raise an account's monthly AI token limit
|
|
6901
|
-
* @request PUT:/api/ai/
|
|
6776
|
+
* @request PUT:/api/ai/token-usage/{accountId}/limit
|
|
6902
6777
|
* @secure
|
|
6903
6778
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
6904
6779
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6910,7 +6785,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6910
6785
|
* @tags AiUrlSource
|
|
6911
6786
|
* @name GetAiUrlSources
|
|
6912
6787
|
* @summary Get all URL sources
|
|
6913
|
-
* @request GET:/api/ai/
|
|
6788
|
+
* @request GET:/api/ai/url-sources
|
|
6914
6789
|
* @secure
|
|
6915
6790
|
* @response `200` `(AiUrlSource)[]` OK
|
|
6916
6791
|
*/
|
|
@@ -6921,7 +6796,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6921
6796
|
* @tags AiUrlSource
|
|
6922
6797
|
* @name CreateAiUrlSource
|
|
6923
6798
|
* @summary Create URL source
|
|
6924
|
-
* @request POST:/api/ai/
|
|
6799
|
+
* @request POST:/api/ai/url-sources
|
|
6925
6800
|
* @secure
|
|
6926
6801
|
* @response `201` `AiUrlSource` Created
|
|
6927
6802
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6934,7 +6809,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6934
6809
|
* @tags AiUrlSource
|
|
6935
6810
|
* @name GetAiUrlSource
|
|
6936
6811
|
* @summary Get URL source by ID
|
|
6937
|
-
* @request GET:/api/ai/
|
|
6812
|
+
* @request GET:/api/ai/url-sources/{id}
|
|
6938
6813
|
* @secure
|
|
6939
6814
|
* @response `200` `AiUrlSource` OK
|
|
6940
6815
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6946,7 +6821,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6946
6821
|
* @tags AiUrlSource
|
|
6947
6822
|
* @name UpdateAiUrlSource
|
|
6948
6823
|
* @summary Update URL source
|
|
6949
|
-
* @request PUT:/api/ai/
|
|
6824
|
+
* @request PUT:/api/ai/url-sources/{id}
|
|
6950
6825
|
* @secure
|
|
6951
6826
|
* @response `200` `AiUrlSource` OK
|
|
6952
6827
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6960,7 +6835,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6960
6835
|
* @tags AiUrlSource
|
|
6961
6836
|
* @name DeleteAiUrlSource
|
|
6962
6837
|
* @summary Delete URL source
|
|
6963
|
-
* @request DELETE:/api/ai/
|
|
6838
|
+
* @request DELETE:/api/ai/url-sources/{id}
|
|
6964
6839
|
* @secure
|
|
6965
6840
|
* @response `204` `void` No Content
|
|
6966
6841
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6972,7 +6847,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6972
6847
|
* @tags AiUrlSource
|
|
6973
6848
|
* @name ToggleAiUrlSource
|
|
6974
6849
|
* @summary Toggle URL source active/inactive
|
|
6975
|
-
* @request PATCH:/api/ai/
|
|
6850
|
+
* @request PATCH:/api/ai/url-sources/{id}/toggle
|
|
6976
6851
|
* @secure
|
|
6977
6852
|
* @response `200` `AiUrlSource` OK
|
|
6978
6853
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -7361,12 +7236,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7361
7236
|
*
|
|
7362
7237
|
* @tags ConsumerConnect
|
|
7363
7238
|
* @name RetryConsumerConnectAssociation
|
|
7364
|
-
* @summary Manually retry Consumer Connect association for failed borrowers on a loan. Returns per-borrower results; check individual Success fields for partial failures.
|
|
7239
|
+
* @summary Manually retry Consumer Connect association for failed borrowers on a loan. Set force=true to also re-run borrowers already marked Success. Returns per-borrower results; check individual Success fields for partial failures.
|
|
7365
7240
|
* @request POST:/api/loans/{loanId}/consumer-connect/retry
|
|
7366
7241
|
* @secure
|
|
7367
7242
|
* @response `200` `(ConsumerConnectRetry)[]` OK
|
|
7368
7243
|
*/
|
|
7369
|
-
retryConsumerConnectAssociation: (loanId: string,
|
|
7244
|
+
retryConsumerConnectAssociation: (loanId: string, query?: {
|
|
7245
|
+
/** @default false */
|
|
7246
|
+
force?: boolean;
|
|
7247
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ConsumerConnectRetry[], any, {}>>;
|
|
7370
7248
|
/**
|
|
7371
7249
|
* No description
|
|
7372
7250
|
*
|
|
@@ -7531,7 +7409,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7531
7409
|
* @response `200` `(CustomFieldDefinition)[]` OK
|
|
7532
7410
|
*/
|
|
7533
7411
|
getCustomFieldDefinitions: (query?: {
|
|
7534
|
-
entityType?:
|
|
7412
|
+
entityType?: "Loan";
|
|
7535
7413
|
}, params?: RequestParams) => Promise<AxiosResponse<CustomFieldDefinition[], any, {}>>;
|
|
7536
7414
|
/**
|
|
7537
7415
|
* No description
|
|
@@ -7942,6 +7820,34 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7942
7820
|
sortBy?: string;
|
|
7943
7821
|
sortDirection?: string;
|
|
7944
7822
|
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any, {}>>;
|
|
7823
|
+
/**
|
|
7824
|
+
* No description
|
|
7825
|
+
*
|
|
7826
|
+
* @tags Encompass Packages
|
|
7827
|
+
* @name GetLoanPackages
|
|
7828
|
+
* @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
|
|
7829
|
+
* @secure
|
|
7830
|
+
* @response `200` `EncompassPackageList` OK
|
|
7831
|
+
* @response `400` `EncompassError` Bad Request
|
|
7832
|
+
* @response `401` `EncompassError` Unauthorized
|
|
7833
|
+
* @response `403` `EncompassError` Forbidden
|
|
7834
|
+
* @response `500` `EncompassError` Internal Server Error
|
|
7835
|
+
*/
|
|
7836
|
+
getLoanPackages: (loanId: string, query?: {
|
|
7837
|
+
status?: string;
|
|
7838
|
+
/**
|
|
7839
|
+
* @format int32
|
|
7840
|
+
* @default 1
|
|
7841
|
+
*/
|
|
7842
|
+
page?: number;
|
|
7843
|
+
/**
|
|
7844
|
+
* @format int32
|
|
7845
|
+
* @default 20
|
|
7846
|
+
*/
|
|
7847
|
+
pageSize?: number;
|
|
7848
|
+
sortBy?: string;
|
|
7849
|
+
sortDirection?: string;
|
|
7850
|
+
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any, {}>>;
|
|
7945
7851
|
/**
|
|
7946
7852
|
* No description
|
|
7947
7853
|
*
|
|
@@ -8410,17 +8316,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8410
8316
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8411
8317
|
*/
|
|
8412
8318
|
updateLoanConsent: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
|
|
8413
|
-
/**
|
|
8414
|
-
* No description
|
|
8415
|
-
*
|
|
8416
|
-
* @tags LegacyLoan
|
|
8417
|
-
* @name GetTaskDocumentsByLoan
|
|
8418
|
-
* @summary Get Documents
|
|
8419
|
-
* @request GET:/api/los/loan/tasks/documents/{loanID}
|
|
8420
|
-
* @secure
|
|
8421
|
-
* @response `200` `(DocumentData)[]` OK
|
|
8422
|
-
*/
|
|
8423
|
-
getTaskDocumentsByLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentData[], any, {}>>;
|
|
8424
8319
|
/**
|
|
8425
8320
|
* No description
|
|
8426
8321
|
*
|
|
@@ -9026,10 +8921,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9026
8921
|
* @summary Download By ID
|
|
9027
8922
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
9028
8923
|
* @secure
|
|
9029
|
-
* @response `200` `
|
|
8924
|
+
* @response `200` `string` OK
|
|
9030
8925
|
* @response `404` `ProblemDetails` Not Found
|
|
9031
8926
|
*/
|
|
9032
|
-
downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<
|
|
8927
|
+
downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
|
|
9033
8928
|
/**
|
|
9034
8929
|
* No description
|
|
9035
8930
|
*
|
|
@@ -10237,7 +10132,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10237
10132
|
getPartners: (query?: {
|
|
10238
10133
|
showAll?: boolean;
|
|
10239
10134
|
/** @default "Realtor" */
|
|
10240
|
-
role?:
|
|
10135
|
+
role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
10241
10136
|
/** @format int32 */
|
|
10242
10137
|
pageSize?: number;
|
|
10243
10138
|
/** @format int32 */
|
|
@@ -10415,7 +10310,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10415
10310
|
* @response `200` `File` OK
|
|
10416
10311
|
* @response `404` `ProblemDetails` Not Found
|
|
10417
10312
|
*/
|
|
10418
|
-
getSamlMetadata: (sSoIntegration:
|
|
10313
|
+
getSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
10419
10314
|
/**
|
|
10420
10315
|
* No description
|
|
10421
10316
|
*
|
|
@@ -10426,7 +10321,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10426
10321
|
* @secure
|
|
10427
10322
|
* @response `200` `File` OK
|
|
10428
10323
|
*/
|
|
10429
|
-
createOrReplaceSamlMetadata: (sSoIntegration:
|
|
10324
|
+
createOrReplaceSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
10430
10325
|
/**
|
|
10431
10326
|
* No description
|
|
10432
10327
|
*
|