@matech/thebigpos-sdk 2.43.1-rc.0 → 2.43.8-aibi-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +2 -2
- package/dist/index.d.ts +947 -151
- package/dist/index.js +645 -162
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +2238 -1046
- package/tsconfig.json +27 -27
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,16 @@ export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
|
67
67
|
export type BorrowerApplicationStatus = "Draft" | "Complete";
|
|
68
68
|
export type BillingType = "ClosedLoan" | "LoanOfficer";
|
|
69
69
|
export type AuditChangeType = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
|
|
70
|
+
export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
|
|
71
|
+
export type AiUrlSourceCategory = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
72
|
+
export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
73
|
+
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";
|
|
74
|
+
export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
75
|
+
export type AiOutputType = "Text" | "Document";
|
|
76
|
+
export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta";
|
|
77
|
+
export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
78
|
+
export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
|
|
79
|
+
export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded";
|
|
70
80
|
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";
|
|
71
81
|
export interface ASOSettings {
|
|
72
82
|
enabled: boolean;
|
|
@@ -117,7 +127,7 @@ export interface AccountBilling {
|
|
|
117
127
|
contractedRate: number;
|
|
118
128
|
}
|
|
119
129
|
export interface AccountBillingRequest {
|
|
120
|
-
billingType:
|
|
130
|
+
billingType: "ClosedLoan" | "LoanOfficer";
|
|
121
131
|
/** @format double */
|
|
122
132
|
contractedRate: number;
|
|
123
133
|
}
|
|
@@ -146,11 +156,13 @@ export interface AccountSettings {
|
|
|
146
156
|
smsNumber?: string | null;
|
|
147
157
|
ssoHostOverride?: string | null;
|
|
148
158
|
isEarlyAdopter: boolean;
|
|
159
|
+
isAIEnabled: boolean;
|
|
149
160
|
}
|
|
150
161
|
export interface AccountSettingsRequest {
|
|
151
162
|
isSmsEnabled: boolean;
|
|
152
163
|
smsNumber?: string | null;
|
|
153
164
|
isEarlyAdopter: boolean;
|
|
165
|
+
isAIEnabled: boolean;
|
|
154
166
|
}
|
|
155
167
|
export interface Action {
|
|
156
168
|
/** @format uuid */
|
|
@@ -159,7 +171,7 @@ export interface Action {
|
|
|
159
171
|
comments?: string | null;
|
|
160
172
|
/** @format uuid */
|
|
161
173
|
siteConfigurationID: string;
|
|
162
|
-
applicationSettings?: any
|
|
174
|
+
applicationSettings?: any;
|
|
163
175
|
surveysToken?: string | null;
|
|
164
176
|
}
|
|
165
177
|
export interface Address {
|
|
@@ -294,6 +306,248 @@ export interface AffordabilityCalculatorRequest {
|
|
|
294
306
|
/** @format double */
|
|
295
307
|
annualInsurance: number;
|
|
296
308
|
}
|
|
309
|
+
export interface AiAdminSettings {
|
|
310
|
+
bedrockModelId: string;
|
|
311
|
+
/** @format int32 */
|
|
312
|
+
maxTokens: number;
|
|
313
|
+
/** @format double */
|
|
314
|
+
temperature: number;
|
|
315
|
+
/** @format int32 */
|
|
316
|
+
conversationContextTurns: number;
|
|
317
|
+
/** @format int32 */
|
|
318
|
+
requestTimeoutSeconds: number;
|
|
319
|
+
bedrockRegion: string;
|
|
320
|
+
}
|
|
321
|
+
export interface AiAdminSettingsRequest {
|
|
322
|
+
bedrockModelId?: string | null;
|
|
323
|
+
/** @format int32 */
|
|
324
|
+
maxTokens?: number | null;
|
|
325
|
+
/** @format double */
|
|
326
|
+
temperature?: number | null;
|
|
327
|
+
/** @format int32 */
|
|
328
|
+
conversationContextTurns?: number | null;
|
|
329
|
+
/** @format int32 */
|
|
330
|
+
requestTimeoutSeconds?: number | null;
|
|
331
|
+
}
|
|
332
|
+
export interface AiAdminStats {
|
|
333
|
+
/** @format int32 */
|
|
334
|
+
totalRequests: number;
|
|
335
|
+
/** @format int32 */
|
|
336
|
+
blockedRequests: number;
|
|
337
|
+
/** @format double */
|
|
338
|
+
averageResponseTimeMs: number;
|
|
339
|
+
intentDistribution: Record<string, number>;
|
|
340
|
+
topQueryTemplates: Record<string, number>;
|
|
341
|
+
period: string;
|
|
342
|
+
}
|
|
343
|
+
export interface AiAuditLog {
|
|
344
|
+
/** @format uuid */
|
|
345
|
+
id: string;
|
|
346
|
+
/** @format uuid */
|
|
347
|
+
requestId: string;
|
|
348
|
+
/** @format uuid */
|
|
349
|
+
userId: string;
|
|
350
|
+
eventType: "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded";
|
|
351
|
+
details?: any;
|
|
352
|
+
/** @format date-time */
|
|
353
|
+
createdAt: string;
|
|
354
|
+
}
|
|
355
|
+
export interface AiAuditLogPaginated {
|
|
356
|
+
rows: AiAuditLog[];
|
|
357
|
+
pagination: Pagination;
|
|
358
|
+
/** @format int64 */
|
|
359
|
+
count: number;
|
|
360
|
+
}
|
|
361
|
+
export interface AiCanonicalField {
|
|
362
|
+
/** @format uuid */
|
|
363
|
+
id: string;
|
|
364
|
+
canonicalName: string;
|
|
365
|
+
displayName: string;
|
|
366
|
+
description: string;
|
|
367
|
+
allowedRoles: string[];
|
|
368
|
+
efPath?: string | null;
|
|
369
|
+
isPii: boolean;
|
|
370
|
+
isActive: boolean;
|
|
371
|
+
dataSource: string;
|
|
372
|
+
isDefault: boolean;
|
|
373
|
+
category?: string | null;
|
|
374
|
+
jsonPropertyName?: string | null;
|
|
375
|
+
textractKey?: string | null;
|
|
376
|
+
textractKeyAliases?: string | null;
|
|
377
|
+
hasAccountOverride: boolean;
|
|
378
|
+
/** @format date-time */
|
|
379
|
+
createdAt: string;
|
|
380
|
+
/** @format date-time */
|
|
381
|
+
updatedAt?: string | null;
|
|
382
|
+
}
|
|
383
|
+
export interface AiChat {
|
|
384
|
+
/** @format uuid */
|
|
385
|
+
conversationId: string;
|
|
386
|
+
/** @format uuid */
|
|
387
|
+
messageId: string;
|
|
388
|
+
response: AiChatBody;
|
|
389
|
+
metadata: AiChatMetadata;
|
|
390
|
+
}
|
|
391
|
+
export interface AiChatBody {
|
|
392
|
+
text: string;
|
|
393
|
+
data?: AiChatStructuredData | null;
|
|
394
|
+
}
|
|
395
|
+
export interface AiChatMessage {
|
|
396
|
+
/** @format uuid */
|
|
397
|
+
id: string;
|
|
398
|
+
userMessage: string;
|
|
399
|
+
assistantResponse: string;
|
|
400
|
+
intent?: AiIntent | null;
|
|
401
|
+
fieldsAccessed?: string[] | null;
|
|
402
|
+
data?: AiChatStructuredData | null;
|
|
403
|
+
/** @format date-time */
|
|
404
|
+
createdAt: string;
|
|
405
|
+
}
|
|
406
|
+
export interface AiChatMessagePaginated {
|
|
407
|
+
rows: AiChatMessage[];
|
|
408
|
+
pagination: Pagination;
|
|
409
|
+
/** @format int64 */
|
|
410
|
+
count: number;
|
|
411
|
+
}
|
|
412
|
+
export interface AiChatMetadata {
|
|
413
|
+
intent: "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta";
|
|
414
|
+
fieldsAccessed: string[];
|
|
415
|
+
/** @format int64 */
|
|
416
|
+
queryTimeMs: number;
|
|
417
|
+
/** @format int64 */
|
|
418
|
+
llmTimeMs: number;
|
|
419
|
+
wasBlocked: boolean;
|
|
420
|
+
blockedReason?: string | null;
|
|
421
|
+
}
|
|
422
|
+
export interface AiChatRequest {
|
|
423
|
+
message: string;
|
|
424
|
+
/** @format uuid */
|
|
425
|
+
conversationId?: string | null;
|
|
426
|
+
/** @format uuid */
|
|
427
|
+
loanId?: string | null;
|
|
428
|
+
documentIds?: string[] | null;
|
|
429
|
+
/** @format uuid */
|
|
430
|
+
promptId?: string | null;
|
|
431
|
+
}
|
|
432
|
+
export interface AiChatStructuredData {
|
|
433
|
+
type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
434
|
+
displayHint?: AiDisplayHint | null;
|
|
435
|
+
detectedDocumentType?: string | null;
|
|
436
|
+
columns: string[];
|
|
437
|
+
rows: string[][];
|
|
438
|
+
/** @format uuid */
|
|
439
|
+
generatedDocumentId?: string | null;
|
|
440
|
+
generatedFileName?: string | null;
|
|
441
|
+
}
|
|
442
|
+
export interface AiConversationDetail {
|
|
443
|
+
/** @format uuid */
|
|
444
|
+
id: string;
|
|
445
|
+
name?: string | null;
|
|
446
|
+
isPinned: boolean;
|
|
447
|
+
/** @format date-time */
|
|
448
|
+
createdAt: string;
|
|
449
|
+
/** @format date-time */
|
|
450
|
+
updatedAt?: string | null;
|
|
451
|
+
/** @format int32 */
|
|
452
|
+
messageCount: number;
|
|
453
|
+
}
|
|
454
|
+
export interface AiConversationListItem {
|
|
455
|
+
/** @format uuid */
|
|
456
|
+
id: string;
|
|
457
|
+
name?: string | null;
|
|
458
|
+
preview: string;
|
|
459
|
+
/** @format int32 */
|
|
460
|
+
messageCount: number;
|
|
461
|
+
isPinned: boolean;
|
|
462
|
+
/** @format date-time */
|
|
463
|
+
createdAt: string;
|
|
464
|
+
/** @format date-time */
|
|
465
|
+
updatedAt?: string | null;
|
|
466
|
+
}
|
|
467
|
+
export interface AiConversationListItemPaginated {
|
|
468
|
+
rows: AiConversationListItem[];
|
|
469
|
+
pagination: Pagination;
|
|
470
|
+
/** @format int64 */
|
|
471
|
+
count: number;
|
|
472
|
+
}
|
|
473
|
+
export interface AiGuardrail {
|
|
474
|
+
/** @format uuid */
|
|
475
|
+
id: string;
|
|
476
|
+
name: string;
|
|
477
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
478
|
+
description?: string | null;
|
|
479
|
+
keywords: string[];
|
|
480
|
+
responseTemplate: string;
|
|
481
|
+
isDefault: boolean;
|
|
482
|
+
isEnabled: boolean;
|
|
483
|
+
hasAccountOverride: boolean;
|
|
484
|
+
/** @format date-time */
|
|
485
|
+
createdAt: string;
|
|
486
|
+
/** @format date-time */
|
|
487
|
+
updatedAt?: string | null;
|
|
488
|
+
}
|
|
489
|
+
export interface AiPrompt {
|
|
490
|
+
/** @format uuid */
|
|
491
|
+
id: string;
|
|
492
|
+
title: string;
|
|
493
|
+
slug?: string | null;
|
|
494
|
+
description: string;
|
|
495
|
+
documentTypes: string[];
|
|
496
|
+
applicableUrlSourceIds: string[];
|
|
497
|
+
allowedRoles: string[];
|
|
498
|
+
systemPrompt: string;
|
|
499
|
+
/** @format int32 */
|
|
500
|
+
sortOrder: number;
|
|
501
|
+
isDefault: boolean;
|
|
502
|
+
/** @format uuid */
|
|
503
|
+
accountId?: string | null;
|
|
504
|
+
isActive: boolean;
|
|
505
|
+
category?: AiPromptCategory | null;
|
|
506
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
507
|
+
displayHint?: AiDisplayHint | null;
|
|
508
|
+
bedrockModelId?: string | null;
|
|
509
|
+
requiredDataSources?: string[] | null;
|
|
510
|
+
outputType?: AiOutputType | null;
|
|
511
|
+
hasAccountOverride: boolean;
|
|
512
|
+
/** @format date-time */
|
|
513
|
+
createdAt: string;
|
|
514
|
+
/** @format date-time */
|
|
515
|
+
updatedAt?: string | null;
|
|
516
|
+
}
|
|
517
|
+
export interface AiPromptSummary {
|
|
518
|
+
/** @format uuid */
|
|
519
|
+
id: string;
|
|
520
|
+
title: string;
|
|
521
|
+
slug?: string | null;
|
|
522
|
+
description: string;
|
|
523
|
+
documentTypes: string[];
|
|
524
|
+
applicableUrlSourceIds: string[];
|
|
525
|
+
/** @format int32 */
|
|
526
|
+
sortOrder: number;
|
|
527
|
+
category?: AiPromptCategory | null;
|
|
528
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
529
|
+
displayHint?: AiDisplayHint | null;
|
|
530
|
+
bedrockModelId?: string | null;
|
|
531
|
+
requiredDataSources?: string[] | null;
|
|
532
|
+
outputType?: AiOutputType | null;
|
|
533
|
+
}
|
|
534
|
+
export interface AiUrlSource {
|
|
535
|
+
/** @format uuid */
|
|
536
|
+
id: string;
|
|
537
|
+
slug?: string | null;
|
|
538
|
+
name: string;
|
|
539
|
+
url: string;
|
|
540
|
+
description?: string | null;
|
|
541
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
542
|
+
scope: "FullDomain" | "SpecificPath";
|
|
543
|
+
isActive: boolean;
|
|
544
|
+
isDefault: boolean;
|
|
545
|
+
hasAccountOverride: boolean;
|
|
546
|
+
/** @format date-time */
|
|
547
|
+
createdAt: string;
|
|
548
|
+
/** @format date-time */
|
|
549
|
+
updatedAt?: string | null;
|
|
550
|
+
}
|
|
297
551
|
export interface AllowImpersonationRequest {
|
|
298
552
|
email: string;
|
|
299
553
|
}
|
|
@@ -396,14 +650,14 @@ export interface AuditLogEntry {
|
|
|
396
650
|
/** @format uuid */
|
|
397
651
|
id: string;
|
|
398
652
|
entityType: string;
|
|
399
|
-
changeType:
|
|
653
|
+
changeType: "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
|
|
400
654
|
/** @format uuid */
|
|
401
655
|
entityId: string;
|
|
402
656
|
performedBy?: AuditLogUser | null;
|
|
403
657
|
rootEntityType?: string | null;
|
|
404
658
|
/** @format uuid */
|
|
405
659
|
rootEntityId?: string | null;
|
|
406
|
-
changes?: any
|
|
660
|
+
changes?: any;
|
|
407
661
|
/** @format date-time */
|
|
408
662
|
createdAt: string;
|
|
409
663
|
}
|
|
@@ -443,7 +697,7 @@ export interface BorrowerCount {
|
|
|
443
697
|
firstName: string;
|
|
444
698
|
lastName: string;
|
|
445
699
|
email: string;
|
|
446
|
-
role:
|
|
700
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
447
701
|
/** @format int32 */
|
|
448
702
|
count: number;
|
|
449
703
|
}
|
|
@@ -453,7 +707,7 @@ export interface BorrowerIdentity {
|
|
|
453
707
|
firstName: string;
|
|
454
708
|
lastName: string;
|
|
455
709
|
email: string;
|
|
456
|
-
role:
|
|
710
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
457
711
|
}
|
|
458
712
|
export interface BorrowersNotUsingPosSummary {
|
|
459
713
|
/** @format int32 */
|
|
@@ -687,7 +941,7 @@ export interface CorporateSearchCriteria {
|
|
|
687
941
|
isActive?: boolean | null;
|
|
688
942
|
}
|
|
689
943
|
export interface CreateAccessScopeRequest {
|
|
690
|
-
scopeType:
|
|
944
|
+
scopeType: "User" | "Branch";
|
|
691
945
|
/** @format uuid */
|
|
692
946
|
userId?: string | null;
|
|
693
947
|
/** @format uuid */
|
|
@@ -705,10 +959,49 @@ export interface CreateAccountRequest {
|
|
|
705
959
|
/** @format int64 */
|
|
706
960
|
nlmsid: number;
|
|
707
961
|
settings: AccountSettingsRequest;
|
|
708
|
-
environment:
|
|
962
|
+
environment: "Development" | "Staging" | "UAT" | "Production";
|
|
709
963
|
losIntegration: LOSIntegration;
|
|
710
964
|
billingSettings: AccountBillingRequest;
|
|
711
965
|
}
|
|
966
|
+
export interface CreateAiCanonicalFieldRequest {
|
|
967
|
+
displayName: string;
|
|
968
|
+
description: string;
|
|
969
|
+
allowedRoles: string[];
|
|
970
|
+
isPii: boolean;
|
|
971
|
+
dataSource: string;
|
|
972
|
+
category?: string | null;
|
|
973
|
+
}
|
|
974
|
+
export interface CreateAiGuardrailRequest {
|
|
975
|
+
name: string;
|
|
976
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
977
|
+
description?: string | null;
|
|
978
|
+
keywords: string[];
|
|
979
|
+
responseTemplate: string;
|
|
980
|
+
}
|
|
981
|
+
export interface CreateAiPromptRequest {
|
|
982
|
+
title: string;
|
|
983
|
+
slug?: string | null;
|
|
984
|
+
description: string;
|
|
985
|
+
documentTypes: string[];
|
|
986
|
+
applicableUrlSourceIds: string[];
|
|
987
|
+
allowedRoles: string[];
|
|
988
|
+
systemPrompt: string;
|
|
989
|
+
/** @format int32 */
|
|
990
|
+
sortOrder: number;
|
|
991
|
+
category?: AiPromptCategory | null;
|
|
992
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
993
|
+
displayHint?: AiDisplayHint | null;
|
|
994
|
+
bedrockModelId?: string | null;
|
|
995
|
+
requiredDataSources?: string[] | null;
|
|
996
|
+
outputType?: AiOutputType | null;
|
|
997
|
+
}
|
|
998
|
+
export interface CreateAiUrlSourceRequest {
|
|
999
|
+
name: string;
|
|
1000
|
+
url: string;
|
|
1001
|
+
description?: string | null;
|
|
1002
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1003
|
+
scope: "FullDomain" | "SpecificPath";
|
|
1004
|
+
}
|
|
712
1005
|
export interface CreateBranchRequest {
|
|
713
1006
|
name: string;
|
|
714
1007
|
/** @format uuid */
|
|
@@ -730,8 +1023,8 @@ export interface CreateCustomFieldDefinitionRequest {
|
|
|
730
1023
|
name: string;
|
|
731
1024
|
defaultValue?: string | null;
|
|
732
1025
|
regexPattern?: string | null;
|
|
733
|
-
dataType:
|
|
734
|
-
entityType:
|
|
1026
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
1027
|
+
entityType: "Loan";
|
|
735
1028
|
options?: CustomFieldOptionRequest[] | null;
|
|
736
1029
|
permissions?: CustomFieldPermissionRequest[] | null;
|
|
737
1030
|
}
|
|
@@ -746,7 +1039,7 @@ export interface CreateDocumentTemplateRequest {
|
|
|
746
1039
|
export interface CreateGroupMemberRequest {
|
|
747
1040
|
/** @format uuid */
|
|
748
1041
|
userId: string;
|
|
749
|
-
loanRole:
|
|
1042
|
+
loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
750
1043
|
}
|
|
751
1044
|
export interface CreateInviteRequest {
|
|
752
1045
|
firstName: string;
|
|
@@ -754,7 +1047,7 @@ export interface CreateInviteRequest {
|
|
|
754
1047
|
emailAddress: string;
|
|
755
1048
|
phoneNumber?: string | null;
|
|
756
1049
|
/** @deprecated */
|
|
757
|
-
relationship:
|
|
1050
|
+
relationship: "NotApplicable" | "Spouse" | "NonSpouse";
|
|
758
1051
|
loanID: string;
|
|
759
1052
|
route?: string | null;
|
|
760
1053
|
/** @format uuid */
|
|
@@ -774,7 +1067,7 @@ export interface CreateLoanImportRequest {
|
|
|
774
1067
|
endDate: string;
|
|
775
1068
|
/** @format date-time */
|
|
776
1069
|
startDate: string;
|
|
777
|
-
importMode:
|
|
1070
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
778
1071
|
}
|
|
779
1072
|
export interface CreateSession {
|
|
780
1073
|
sessionId: string;
|
|
@@ -792,7 +1085,7 @@ export interface CreateUserDeviceRequest {
|
|
|
792
1085
|
token: string;
|
|
793
1086
|
}
|
|
794
1087
|
export interface CreateUserDraft {
|
|
795
|
-
loanRole:
|
|
1088
|
+
loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
796
1089
|
}
|
|
797
1090
|
export interface CreateUserGroupRequest {
|
|
798
1091
|
name: string;
|
|
@@ -853,8 +1146,8 @@ export interface CustomFieldDefinition {
|
|
|
853
1146
|
name: string;
|
|
854
1147
|
defaultValue?: string | null;
|
|
855
1148
|
regexPattern?: string | null;
|
|
856
|
-
dataType:
|
|
857
|
-
entityType:
|
|
1149
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
1150
|
+
entityType: "Loan";
|
|
858
1151
|
options: CustomFieldOption[];
|
|
859
1152
|
permissions: CustomFieldPermission[];
|
|
860
1153
|
encompassMapping?: EncompassMapping | null;
|
|
@@ -868,7 +1161,7 @@ export interface CustomFieldEntry {
|
|
|
868
1161
|
displayOrder: number;
|
|
869
1162
|
name: string;
|
|
870
1163
|
value: string;
|
|
871
|
-
dataType:
|
|
1164
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
872
1165
|
}
|
|
873
1166
|
export interface CustomFieldOption {
|
|
874
1167
|
/** @format uuid */
|
|
@@ -885,12 +1178,12 @@ export interface CustomFieldOptionRequest {
|
|
|
885
1178
|
export interface CustomFieldPermission {
|
|
886
1179
|
/** @format uuid */
|
|
887
1180
|
id: string;
|
|
888
|
-
role:
|
|
889
|
-
accessLevel:
|
|
1181
|
+
role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
1182
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
890
1183
|
}
|
|
891
1184
|
export interface CustomFieldPermissionRequest {
|
|
892
|
-
role:
|
|
893
|
-
accessLevel:
|
|
1185
|
+
role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
1186
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
894
1187
|
}
|
|
895
1188
|
export interface CustomFieldValue {
|
|
896
1189
|
/** @format uuid */
|
|
@@ -901,7 +1194,7 @@ export interface CustomFieldValue {
|
|
|
901
1194
|
customFieldDefinitionID: string;
|
|
902
1195
|
value: string;
|
|
903
1196
|
definitionName: string;
|
|
904
|
-
dataType:
|
|
1197
|
+
dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
905
1198
|
}
|
|
906
1199
|
export interface DetailedUser {
|
|
907
1200
|
/** @format date-time */
|
|
@@ -1139,7 +1432,7 @@ export interface Draft {
|
|
|
1139
1432
|
siteConfiguration: SiteConfigurationReduced;
|
|
1140
1433
|
/** @format uuid */
|
|
1141
1434
|
loanID?: string | null;
|
|
1142
|
-
type:
|
|
1435
|
+
type: "NewLoan" | "EditLoan";
|
|
1143
1436
|
isCoBorrower: boolean;
|
|
1144
1437
|
}
|
|
1145
1438
|
export interface DraftContent {
|
|
@@ -1157,7 +1450,7 @@ export interface DraftContent {
|
|
|
1157
1450
|
siteConfiguration: SiteConfigurationReduced;
|
|
1158
1451
|
/** @format uuid */
|
|
1159
1452
|
loanID?: string | null;
|
|
1160
|
-
type:
|
|
1453
|
+
type: "NewLoan" | "EditLoan";
|
|
1161
1454
|
isCoBorrower: boolean;
|
|
1162
1455
|
applicationPayload: any;
|
|
1163
1456
|
}
|
|
@@ -1173,7 +1466,7 @@ export interface DraftLoanOfficerReassignRequest {
|
|
|
1173
1466
|
}
|
|
1174
1467
|
export interface DraftRequest {
|
|
1175
1468
|
applicationPayload: any;
|
|
1176
|
-
customData?: any
|
|
1469
|
+
customData?: any;
|
|
1177
1470
|
isCoBorrower: boolean;
|
|
1178
1471
|
}
|
|
1179
1472
|
export interface EconsentPendingSummary {
|
|
@@ -1247,9 +1540,9 @@ export interface EncompassCredentialsDetail {
|
|
|
1247
1540
|
clearStateIfUnlicensed: boolean;
|
|
1248
1541
|
/** @deprecated */
|
|
1249
1542
|
baseUrl?: string | null;
|
|
1250
|
-
encompassEnvironment:
|
|
1543
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1251
1544
|
consumerConnectWidgetHost?: string | null;
|
|
1252
|
-
signingMethod:
|
|
1545
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1253
1546
|
subscriptionId?: string | null;
|
|
1254
1547
|
environment?: string | null;
|
|
1255
1548
|
}
|
|
@@ -1265,9 +1558,9 @@ export interface EncompassCredentialsRequest {
|
|
|
1265
1558
|
clearStateIfUnlicensed: boolean;
|
|
1266
1559
|
/** @deprecated */
|
|
1267
1560
|
baseUrl?: string | null;
|
|
1268
|
-
encompassEnvironment:
|
|
1561
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1269
1562
|
consumerConnectWidgetHost?: string | null;
|
|
1270
|
-
signingMethod:
|
|
1563
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1271
1564
|
subscriptionId?: string | null;
|
|
1272
1565
|
environment?: string | null;
|
|
1273
1566
|
clientID?: string | null;
|
|
@@ -1376,8 +1669,8 @@ export interface EncompassRequestLog {
|
|
|
1376
1669
|
losId?: string | null;
|
|
1377
1670
|
/** @format uuid */
|
|
1378
1671
|
accountId: string;
|
|
1379
|
-
operationType:
|
|
1380
|
-
outcome:
|
|
1672
|
+
operationType: "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
|
|
1673
|
+
outcome: "Success" | "Failure" | "PartialSuccess";
|
|
1381
1674
|
message: string;
|
|
1382
1675
|
endpoint?: string | null;
|
|
1383
1676
|
httpMethod?: string | null;
|
|
@@ -1385,7 +1678,7 @@ export interface EncompassRequestLog {
|
|
|
1385
1678
|
httpStatusCode?: number | null;
|
|
1386
1679
|
/** @format int64 */
|
|
1387
1680
|
durationMs?: number | null;
|
|
1388
|
-
context?: any
|
|
1681
|
+
context?: any;
|
|
1389
1682
|
/** @format date-time */
|
|
1390
1683
|
createdAt: string;
|
|
1391
1684
|
}
|
|
@@ -1424,7 +1717,7 @@ export interface FileSearchCriteria {
|
|
|
1424
1717
|
export interface FileWithBytes {
|
|
1425
1718
|
name: string;
|
|
1426
1719
|
/** @format byte */
|
|
1427
|
-
data:
|
|
1720
|
+
data: string;
|
|
1428
1721
|
fileName: string;
|
|
1429
1722
|
mimeType?: string | null;
|
|
1430
1723
|
extension?: string | null;
|
|
@@ -1500,7 +1793,7 @@ export interface FormSubmission {
|
|
|
1500
1793
|
subjectPropertyAddressCounty?: string | null;
|
|
1501
1794
|
subjectPropertyAddressState?: string | null;
|
|
1502
1795
|
subjectPropertyAddressZip?: string | null;
|
|
1503
|
-
data?: any
|
|
1796
|
+
data?: any;
|
|
1504
1797
|
/** @format uuid */
|
|
1505
1798
|
listingID?: string | null;
|
|
1506
1799
|
listing?: Listing | null;
|
|
@@ -1535,7 +1828,7 @@ export interface FormSubmissionRequest {
|
|
|
1535
1828
|
subjectPropertyAddressCounty?: string | null;
|
|
1536
1829
|
subjectPropertyAddressState?: string | null;
|
|
1537
1830
|
subjectPropertyAddressZip?: string | null;
|
|
1538
|
-
data?: any
|
|
1831
|
+
data?: any;
|
|
1539
1832
|
/** @format uuid */
|
|
1540
1833
|
listingID?: string | null;
|
|
1541
1834
|
}
|
|
@@ -1584,7 +1877,7 @@ export interface FusionFieldDisplay {
|
|
|
1584
1877
|
fieldValue: string;
|
|
1585
1878
|
}
|
|
1586
1879
|
export interface FusionReportFilter {
|
|
1587
|
-
filterType:
|
|
1880
|
+
filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
|
|
1588
1881
|
targetField: string;
|
|
1589
1882
|
targetValue: string;
|
|
1590
1883
|
}
|
|
@@ -1601,6 +1894,13 @@ export interface GenerateDocumentRequest {
|
|
|
1601
1894
|
preview: boolean;
|
|
1602
1895
|
recipients: string[];
|
|
1603
1896
|
}
|
|
1897
|
+
export interface GenerateSystemPrompt {
|
|
1898
|
+
systemPrompt: string;
|
|
1899
|
+
}
|
|
1900
|
+
export interface GenerateSystemPromptRequest {
|
|
1901
|
+
description: string;
|
|
1902
|
+
category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
1903
|
+
}
|
|
1604
1904
|
export interface GetApplications {
|
|
1605
1905
|
applications: ApplicationRowData[];
|
|
1606
1906
|
}
|
|
@@ -1683,11 +1983,11 @@ export interface GetWorkflowRequest {
|
|
|
1683
1983
|
export interface GuidPatchOperation {
|
|
1684
1984
|
op: string;
|
|
1685
1985
|
path: string;
|
|
1686
|
-
value?: any
|
|
1986
|
+
value?: any;
|
|
1687
1987
|
from?: string | null;
|
|
1688
1988
|
}
|
|
1689
1989
|
export interface IPAddress {
|
|
1690
|
-
addressFamily:
|
|
1990
|
+
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";
|
|
1691
1991
|
/** @format int64 */
|
|
1692
1992
|
scopeId: number;
|
|
1693
1993
|
isIPv6Multicast: boolean;
|
|
@@ -1931,7 +2231,7 @@ export interface Loan {
|
|
|
1931
2231
|
userLoans: UserLoan[];
|
|
1932
2232
|
contacts: LoanContact[];
|
|
1933
2233
|
customFields: CustomFieldEntry[];
|
|
1934
|
-
signingMethod:
|
|
2234
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1935
2235
|
}
|
|
1936
2236
|
export interface LoanApplication {
|
|
1937
2237
|
/** @format uuid */
|
|
@@ -1967,7 +2267,7 @@ export interface LoanApplicationRequest {
|
|
|
1967
2267
|
nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
|
|
1968
2268
|
/** @format uuid */
|
|
1969
2269
|
draftId?: string | null;
|
|
1970
|
-
additionalFields?: Record<string, any
|
|
2270
|
+
additionalFields?: Record<string, any>;
|
|
1971
2271
|
/** @format uuid */
|
|
1972
2272
|
existingLoanId?: string | null;
|
|
1973
2273
|
}
|
|
@@ -1986,7 +2286,7 @@ export interface LoanBorrower {
|
|
|
1986
2286
|
citizenship?: LoanCitizenship | null;
|
|
1987
2287
|
maritalStatus?: LoanMaritalStatus | null;
|
|
1988
2288
|
languagePreference?: LoanLanguagePreference | null;
|
|
1989
|
-
applicationStatus:
|
|
2289
|
+
applicationStatus: "Draft" | "Complete";
|
|
1990
2290
|
/** @format int32 */
|
|
1991
2291
|
numberOfDependents?: number | null;
|
|
1992
2292
|
isPrimaryBorrower: boolean;
|
|
@@ -2688,7 +2988,7 @@ export interface LoanConsentRequest {
|
|
|
2688
2988
|
borrowerEConsent?: boolean | null;
|
|
2689
2989
|
borrowerCreditAuth?: boolean | null;
|
|
2690
2990
|
borrowerTCPAOptIn?: boolean | null;
|
|
2691
|
-
additionalFields?: Record<string, string
|
|
2991
|
+
additionalFields?: Record<string, string>;
|
|
2692
2992
|
}
|
|
2693
2993
|
export interface LoanContact {
|
|
2694
2994
|
/** @format date-time */
|
|
@@ -2706,13 +3006,13 @@ export interface LoanContact {
|
|
|
2706
3006
|
email?: string | null;
|
|
2707
3007
|
phone?: string | null;
|
|
2708
3008
|
companyName?: string | null;
|
|
2709
|
-
role:
|
|
3009
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
2710
3010
|
}
|
|
2711
3011
|
export interface LoanContactList {
|
|
2712
3012
|
email: string;
|
|
2713
3013
|
}
|
|
2714
3014
|
export interface LoanCustomFieldsRequest {
|
|
2715
|
-
additionalFields?: Record<string, string
|
|
3015
|
+
additionalFields?: Record<string, string>;
|
|
2716
3016
|
}
|
|
2717
3017
|
export interface LoanDocument {
|
|
2718
3018
|
/** @format date-time */
|
|
@@ -2755,12 +3055,12 @@ export interface LoanDocumentFolderPermission {
|
|
|
2755
3055
|
id: string;
|
|
2756
3056
|
/** @format uuid */
|
|
2757
3057
|
loanDocumentFolderID: string;
|
|
2758
|
-
role:
|
|
2759
|
-
level:
|
|
3058
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3059
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
2760
3060
|
}
|
|
2761
3061
|
export interface LoanDocumentFolderPermissionRequest {
|
|
2762
|
-
role:
|
|
2763
|
-
level:
|
|
3062
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3063
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
2764
3064
|
}
|
|
2765
3065
|
export interface LoanDocumentFolderUsage {
|
|
2766
3066
|
/** @format uuid */
|
|
@@ -2859,13 +3159,13 @@ export interface LoanImport {
|
|
|
2859
3159
|
/** @format int32 */
|
|
2860
3160
|
importedCount: number;
|
|
2861
3161
|
statusMessage?: string | null;
|
|
2862
|
-
status:
|
|
2863
|
-
importMode:
|
|
3162
|
+
status: "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
3163
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
2864
3164
|
/** @format date-time */
|
|
2865
3165
|
createdAt?: string | null;
|
|
2866
3166
|
}
|
|
2867
3167
|
export interface LoanImportLog {
|
|
2868
|
-
level:
|
|
3168
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
2869
3169
|
message: string;
|
|
2870
3170
|
/** @format date-time */
|
|
2871
3171
|
createdAt: string;
|
|
@@ -2920,8 +3220,8 @@ export interface LoanListPaginated {
|
|
|
2920
3220
|
export interface LoanLog {
|
|
2921
3221
|
/** @format uuid */
|
|
2922
3222
|
id: string;
|
|
2923
|
-
level:
|
|
2924
|
-
type:
|
|
3223
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
3224
|
+
type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
|
|
2925
3225
|
message: string;
|
|
2926
3226
|
/** @format date-time */
|
|
2927
3227
|
createdAt: string;
|
|
@@ -2929,8 +3229,8 @@ export interface LoanLog {
|
|
|
2929
3229
|
export interface LoanLogDetail {
|
|
2930
3230
|
/** @format uuid */
|
|
2931
3231
|
id: string;
|
|
2932
|
-
level:
|
|
2933
|
-
type:
|
|
3232
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
3233
|
+
type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
|
|
2934
3234
|
message: string;
|
|
2935
3235
|
/** @format date-time */
|
|
2936
3236
|
createdAt: string;
|
|
@@ -3138,7 +3438,7 @@ export interface LoanQueueWithData {
|
|
|
3138
3438
|
user: UserPublic;
|
|
3139
3439
|
loanOfficer: LoanOfficerPublic;
|
|
3140
3440
|
siteConfiguration: SiteConfigurationReduced;
|
|
3141
|
-
data?: any
|
|
3441
|
+
data?: any;
|
|
3142
3442
|
}
|
|
3143
3443
|
export interface LoanRecord {
|
|
3144
3444
|
loanGuid: string;
|
|
@@ -3169,7 +3469,7 @@ export interface LoanTaskSearchRequest {
|
|
|
3169
3469
|
loanStatus?: LoanTaskActivityFilter | null;
|
|
3170
3470
|
}
|
|
3171
3471
|
export interface LoanTaskStatusSummary {
|
|
3172
|
-
status:
|
|
3472
|
+
status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
3173
3473
|
/** @format int32 */
|
|
3174
3474
|
count: number;
|
|
3175
3475
|
}
|
|
@@ -3181,7 +3481,7 @@ export interface LoanUser {
|
|
|
3181
3481
|
email: string;
|
|
3182
3482
|
phone?: string | null;
|
|
3183
3483
|
role: string;
|
|
3184
|
-
loanRole:
|
|
3484
|
+
loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
3185
3485
|
isUser: boolean;
|
|
3186
3486
|
/** @format date-time */
|
|
3187
3487
|
createdAt: string;
|
|
@@ -3214,7 +3514,7 @@ export interface LosOperationTracking {
|
|
|
3214
3514
|
operationType: string;
|
|
3215
3515
|
correlationKey: string;
|
|
3216
3516
|
lastTriggerSource?: string | null;
|
|
3217
|
-
status:
|
|
3517
|
+
status: "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
|
|
3218
3518
|
/** @format date-time */
|
|
3219
3519
|
createdAt: string;
|
|
3220
3520
|
/** @format date-time */
|
|
@@ -3275,7 +3575,7 @@ export interface LosSyncStep {
|
|
|
3275
3575
|
/** @format int32 */
|
|
3276
3576
|
order: number;
|
|
3277
3577
|
name: string;
|
|
3278
|
-
severity:
|
|
3578
|
+
severity: "Success" | "Info" | "Warning" | "Error";
|
|
3279
3579
|
message: string;
|
|
3280
3580
|
/** @format date-time */
|
|
3281
3581
|
atUtc: string;
|
|
@@ -3365,7 +3665,7 @@ export interface ModuleParameterValue {
|
|
|
3365
3665
|
parameterID: string;
|
|
3366
3666
|
parameterName: string;
|
|
3367
3667
|
parameterType: string;
|
|
3368
|
-
value?: any
|
|
3668
|
+
value?: any;
|
|
3369
3669
|
isInherited: boolean;
|
|
3370
3670
|
}
|
|
3371
3671
|
export interface MonthlyPaymentCalculator {
|
|
@@ -3538,7 +3838,7 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
3538
3838
|
}
|
|
3539
3839
|
export interface Operation {
|
|
3540
3840
|
op?: string;
|
|
3541
|
-
value?:
|
|
3841
|
+
value?: string | number | boolean | null | object;
|
|
3542
3842
|
path?: string;
|
|
3543
3843
|
}
|
|
3544
3844
|
export interface OverridePasswordRequest {
|
|
@@ -3583,6 +3883,9 @@ export interface PendingTasksSummary {
|
|
|
3583
3883
|
total: number;
|
|
3584
3884
|
borrowers: BorrowerCount[];
|
|
3585
3885
|
}
|
|
3886
|
+
export interface PinAiConversationRequest {
|
|
3887
|
+
isPinned: boolean;
|
|
3888
|
+
}
|
|
3586
3889
|
export interface PostLoanComparisonPdfRequest {
|
|
3587
3890
|
/** @format uuid */
|
|
3588
3891
|
siteConfigurationID: string;
|
|
@@ -3732,6 +4035,9 @@ export interface RegisterUserRequest {
|
|
|
3732
4035
|
/** @format uuid */
|
|
3733
4036
|
inviteCode?: string | null;
|
|
3734
4037
|
}
|
|
4038
|
+
export interface RenameAiConversationRequest {
|
|
4039
|
+
name: string;
|
|
4040
|
+
}
|
|
3735
4041
|
export interface RequestImpersonationRequest {
|
|
3736
4042
|
email: string;
|
|
3737
4043
|
}
|
|
@@ -3851,7 +4157,7 @@ export interface SiteConfiguration {
|
|
|
3851
4157
|
deletedAt?: string | null;
|
|
3852
4158
|
/** @format uuid */
|
|
3853
4159
|
id: string;
|
|
3854
|
-
type:
|
|
4160
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3855
4161
|
/** @format uuid */
|
|
3856
4162
|
entityID: string;
|
|
3857
4163
|
/** @format int32 */
|
|
@@ -4044,7 +4350,7 @@ export interface SiteConfigurationByUrl {
|
|
|
4044
4350
|
deletedAt?: string | null;
|
|
4045
4351
|
/** @format uuid */
|
|
4046
4352
|
id: string;
|
|
4047
|
-
type:
|
|
4353
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4048
4354
|
/** @format uuid */
|
|
4049
4355
|
entityID: string;
|
|
4050
4356
|
/** @format int32 */
|
|
@@ -4254,7 +4560,7 @@ export interface SiteConfigurationForm {
|
|
|
4254
4560
|
export interface SiteConfigurationReduced {
|
|
4255
4561
|
/** @format uuid */
|
|
4256
4562
|
id: string;
|
|
4257
|
-
type:
|
|
4563
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4258
4564
|
url?: string | null;
|
|
4259
4565
|
name: string;
|
|
4260
4566
|
/** @format int64 */
|
|
@@ -4271,7 +4577,7 @@ export interface SiteConfigurationRequest {
|
|
|
4271
4577
|
entityID: string;
|
|
4272
4578
|
/** @format int32 */
|
|
4273
4579
|
entityType: number;
|
|
4274
|
-
type:
|
|
4580
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4275
4581
|
url: string;
|
|
4276
4582
|
name: string;
|
|
4277
4583
|
introduction?: string | null;
|
|
@@ -4446,7 +4752,7 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
4446
4752
|
export interface SiteConfigurationSummary {
|
|
4447
4753
|
/** @format uuid */
|
|
4448
4754
|
id: string;
|
|
4449
|
-
type:
|
|
4755
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4450
4756
|
url?: string | null;
|
|
4451
4757
|
name: string;
|
|
4452
4758
|
/** @format int64 */
|
|
@@ -4490,6 +4796,13 @@ export interface SocialSurveyRecord {
|
|
|
4490
4796
|
/** @format date-time */
|
|
4491
4797
|
reviewCompletedTimeStamp?: string | null;
|
|
4492
4798
|
}
|
|
4799
|
+
export interface SupportedModel {
|
|
4800
|
+
modelId: string;
|
|
4801
|
+
displayName: string;
|
|
4802
|
+
provider: string;
|
|
4803
|
+
description?: string | null;
|
|
4804
|
+
isDefault: boolean;
|
|
4805
|
+
}
|
|
4493
4806
|
export interface SurveyEmailRequest {
|
|
4494
4807
|
loanOfficerEmailAddress: string;
|
|
4495
4808
|
}
|
|
@@ -4702,7 +5015,7 @@ export interface UnregisteredBorrower {
|
|
|
4702
5015
|
lastName?: string | null;
|
|
4703
5016
|
fullName?: string | null;
|
|
4704
5017
|
email?: string | null;
|
|
4705
|
-
role:
|
|
5018
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
4706
5019
|
}
|
|
4707
5020
|
export interface UpdateAccountRequest {
|
|
4708
5021
|
name: string;
|
|
@@ -4713,6 +5026,43 @@ export interface UpdateAccountRequest {
|
|
|
4713
5026
|
asoSettings?: ASOSettings | null;
|
|
4714
5027
|
settings: AccountSettingsRequest;
|
|
4715
5028
|
}
|
|
5029
|
+
export interface UpdateAiCanonicalFieldRequest {
|
|
5030
|
+
displayName: string;
|
|
5031
|
+
description: string;
|
|
5032
|
+
allowedRoles: string[];
|
|
5033
|
+
isPii: boolean;
|
|
5034
|
+
category?: string | null;
|
|
5035
|
+
}
|
|
5036
|
+
export interface UpdateAiGuardrailRequest {
|
|
5037
|
+
name: string;
|
|
5038
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
5039
|
+
description?: string | null;
|
|
5040
|
+
keywords: string[];
|
|
5041
|
+
responseTemplate: string;
|
|
5042
|
+
}
|
|
5043
|
+
export interface UpdateAiPromptRequest {
|
|
5044
|
+
title: string;
|
|
5045
|
+
description: string;
|
|
5046
|
+
documentTypes: string[];
|
|
5047
|
+
applicableUrlSourceIds: string[];
|
|
5048
|
+
allowedRoles: string[];
|
|
5049
|
+
systemPrompt: string;
|
|
5050
|
+
/** @format int32 */
|
|
5051
|
+
sortOrder: number;
|
|
5052
|
+
category?: AiPromptCategory | null;
|
|
5053
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
5054
|
+
displayHint?: AiDisplayHint | null;
|
|
5055
|
+
bedrockModelId?: string | null;
|
|
5056
|
+
requiredDataSources?: string[] | null;
|
|
5057
|
+
outputType?: AiOutputType | null;
|
|
5058
|
+
}
|
|
5059
|
+
export interface UpdateAiUrlSourceRequest {
|
|
5060
|
+
name: string;
|
|
5061
|
+
url: string;
|
|
5062
|
+
description?: string | null;
|
|
5063
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
5064
|
+
scope: "FullDomain" | "SpecificPath";
|
|
5065
|
+
}
|
|
4716
5066
|
export interface UpdateCustomFieldDefinitionRequest {
|
|
4717
5067
|
isRequired: boolean;
|
|
4718
5068
|
/** @format int32 */
|
|
@@ -4998,7 +5348,7 @@ export interface UserDevice {
|
|
|
4998
5348
|
export interface UserDraft {
|
|
4999
5349
|
/** @format uuid */
|
|
5000
5350
|
draftID: string;
|
|
5001
|
-
role:
|
|
5351
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5002
5352
|
user: User;
|
|
5003
5353
|
}
|
|
5004
5354
|
export interface UserDraftPaginated {
|
|
@@ -5022,7 +5372,7 @@ export interface UserGroupAccessScope {
|
|
|
5022
5372
|
id: string;
|
|
5023
5373
|
/** @format uuid */
|
|
5024
5374
|
groupId: string;
|
|
5025
|
-
scopeType:
|
|
5375
|
+
scopeType: "User" | "Branch";
|
|
5026
5376
|
/** @format uuid */
|
|
5027
5377
|
userId?: string | null;
|
|
5028
5378
|
/** @format uuid */
|
|
@@ -5055,7 +5405,7 @@ export interface UserLoan {
|
|
|
5055
5405
|
deletedAt?: string | null;
|
|
5056
5406
|
loanID: string;
|
|
5057
5407
|
user: User;
|
|
5058
|
-
role:
|
|
5408
|
+
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5059
5409
|
/** @format int32 */
|
|
5060
5410
|
borrowerPair?: number | null;
|
|
5061
5411
|
/** @format int32 */
|
|
@@ -5067,11 +5417,11 @@ export interface UserLoanConsent {
|
|
|
5067
5417
|
id: string;
|
|
5068
5418
|
/** @format uuid */
|
|
5069
5419
|
userLoanID: string;
|
|
5070
|
-
type:
|
|
5420
|
+
type: "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
5071
5421
|
providedConsent: boolean;
|
|
5072
5422
|
source?: ConsentSource | null;
|
|
5073
5423
|
ipAddress?: string | null;
|
|
5074
|
-
losSyncStatus:
|
|
5424
|
+
losSyncStatus: "NotStarted" | "Failed" | "Success";
|
|
5075
5425
|
/** @format date-time */
|
|
5076
5426
|
createdAt: string;
|
|
5077
5427
|
/** @format date-time */
|
|
@@ -5201,7 +5551,7 @@ export interface UserSummary {
|
|
|
5201
5551
|
id: string;
|
|
5202
5552
|
name?: string | null;
|
|
5203
5553
|
email?: string | null;
|
|
5204
|
-
role:
|
|
5554
|
+
role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5205
5555
|
}
|
|
5206
5556
|
export interface VerifyPasswordRequest {
|
|
5207
5557
|
email: string;
|
|
@@ -5228,74 +5578,6 @@ export interface Workflow {
|
|
|
5228
5578
|
tileSubtitle: string;
|
|
5229
5579
|
icon: string;
|
|
5230
5580
|
}
|
|
5231
|
-
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
5232
|
-
export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
|
|
5233
|
-
export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5234
|
-
export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5235
|
-
export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
|
|
5236
|
-
export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
|
|
5237
|
-
export type CreateCustomFieldDefinitionRequestDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5238
|
-
export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
|
|
5239
|
-
export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5240
|
-
/** @deprecated */
|
|
5241
|
-
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
5242
|
-
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
5243
|
-
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5244
|
-
export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5245
|
-
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
5246
|
-
export type CustomFieldEntryDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5247
|
-
export type CustomFieldPermissionRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5248
|
-
export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
5249
|
-
export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5250
|
-
export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
5251
|
-
export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
5252
|
-
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
5253
|
-
export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
|
|
5254
|
-
export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
|
|
5255
|
-
export type EncompassCredentialsDetailSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
5256
|
-
export type EncompassCredentialsRequestEncompassEnvironmentEnum = "Production" | "UAT";
|
|
5257
|
-
export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
5258
|
-
export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
|
|
5259
|
-
export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
|
|
5260
|
-
export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
|
|
5261
|
-
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";
|
|
5262
|
-
export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
5263
|
-
export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
5264
|
-
export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5265
|
-
export type LoanDocumentFolderPermissionRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5266
|
-
export type LoanDocumentFolderPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
5267
|
-
export type LoanDocumentFolderPermissionRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5268
|
-
export type LoanDocumentFolderPermissionRequestLevelEnum = "None" | "Read" | "Write" | "Manage";
|
|
5269
|
-
export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
5270
|
-
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
5271
|
-
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5272
|
-
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5273
|
-
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
|
|
5274
|
-
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5275
|
-
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
|
|
5276
|
-
export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
5277
|
-
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5278
|
-
export type LosOperationTrackingStatusEnum = "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
|
|
5279
|
-
export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
|
|
5280
|
-
export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5281
|
-
export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5282
|
-
export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5283
|
-
export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5284
|
-
export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5285
|
-
export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5286
|
-
export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5287
|
-
export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
|
|
5288
|
-
export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
5289
|
-
export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
5290
|
-
export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
|
|
5291
|
-
export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5292
|
-
export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
|
|
5293
|
-
/** @default "Realtor" */
|
|
5294
|
-
export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5295
|
-
export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5296
|
-
export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5297
|
-
export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5298
|
-
export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5299
5581
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
5300
5582
|
export type QueryParamsType = Record<string | number, any>;
|
|
5301
5583
|
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
@@ -5318,7 +5600,14 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
|
|
|
5318
5600
|
secure?: boolean;
|
|
5319
5601
|
format?: ResponseType;
|
|
5320
5602
|
}
|
|
5321
|
-
export
|
|
5603
|
+
export declare enum ContentType {
|
|
5604
|
+
JsonPatch = "application/json-patch+json",
|
|
5605
|
+
Json = "application/json",
|
|
5606
|
+
JsonApi = "application/vnd.api+json",
|
|
5607
|
+
FormData = "multipart/form-data",
|
|
5608
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
5609
|
+
Text = "text/plain"
|
|
5610
|
+
}
|
|
5322
5611
|
export declare class HttpClient<SecurityDataType = unknown> {
|
|
5323
5612
|
instance: AxiosInstance;
|
|
5324
5613
|
private securityData;
|
|
@@ -5334,7 +5623,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
5334
5623
|
}
|
|
5335
5624
|
/**
|
|
5336
5625
|
* @title The Big POS API
|
|
5337
|
-
* @version v2.43.
|
|
5626
|
+
* @version v2.43.8
|
|
5338
5627
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
5339
5628
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
5340
5629
|
*/
|
|
@@ -5495,6 +5784,513 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5495
5784
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
5496
5785
|
*/
|
|
5497
5786
|
updateAccountBilling: (id: string, data: AccountBillingRequest, params?: RequestParams) => Promise<AxiosResponse<AccountBilling, any, {}>>;
|
|
5787
|
+
/**
|
|
5788
|
+
* No description
|
|
5789
|
+
*
|
|
5790
|
+
* @tags AiAdmin
|
|
5791
|
+
* @name GetAiAuditLogs
|
|
5792
|
+
* @summary Get paginated audit logs
|
|
5793
|
+
* @request GET:/api/ai/admin/audit-logs
|
|
5794
|
+
* @secure
|
|
5795
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
5796
|
+
*/
|
|
5797
|
+
getAiAuditLogs: (query?: {
|
|
5798
|
+
eventType?: AiAuditEventType;
|
|
5799
|
+
/** @format date-time */
|
|
5800
|
+
startDate?: string;
|
|
5801
|
+
/** @format date-time */
|
|
5802
|
+
endDate?: string;
|
|
5803
|
+
/** @format int32 */
|
|
5804
|
+
pageSize?: number;
|
|
5805
|
+
/** @format int32 */
|
|
5806
|
+
pageNumber?: number;
|
|
5807
|
+
sortBy?: string;
|
|
5808
|
+
sortDirection?: string;
|
|
5809
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
5810
|
+
/**
|
|
5811
|
+
* No description
|
|
5812
|
+
*
|
|
5813
|
+
* @tags AiAdmin
|
|
5814
|
+
* @name GetAiAdminStats
|
|
5815
|
+
* @summary Get AI admin dashboard stats
|
|
5816
|
+
* @request GET:/api/ai/admin/stats
|
|
5817
|
+
* @secure
|
|
5818
|
+
* @response `200` `AiAdminStats` OK
|
|
5819
|
+
*/
|
|
5820
|
+
getAiAdminStats: (query?: {
|
|
5821
|
+
/** @format date-time */
|
|
5822
|
+
startDate?: string;
|
|
5823
|
+
/** @format date-time */
|
|
5824
|
+
endDate?: string;
|
|
5825
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
5826
|
+
/**
|
|
5827
|
+
* No description
|
|
5828
|
+
*
|
|
5829
|
+
* @tags AiAdminPrompt
|
|
5830
|
+
* @name GetAiPrompts
|
|
5831
|
+
* @summary Get all prompts
|
|
5832
|
+
* @request GET:/api/ai/admin/prompts
|
|
5833
|
+
* @secure
|
|
5834
|
+
* @response `200` `(AiPrompt)[]` OK
|
|
5835
|
+
*/
|
|
5836
|
+
getAiPrompts: (params?: RequestParams) => Promise<AxiosResponse<AiPrompt[], any, {}>>;
|
|
5837
|
+
/**
|
|
5838
|
+
* No description
|
|
5839
|
+
*
|
|
5840
|
+
* @tags AiAdminPrompt
|
|
5841
|
+
* @name CreateAiPrompt
|
|
5842
|
+
* @summary Create custom prompt
|
|
5843
|
+
* @request POST:/api/ai/admin/prompts
|
|
5844
|
+
* @secure
|
|
5845
|
+
* @response `201` `AiPrompt` Created
|
|
5846
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5847
|
+
*/
|
|
5848
|
+
createAiPrompt: (data: CreateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5849
|
+
/**
|
|
5850
|
+
* No description
|
|
5851
|
+
*
|
|
5852
|
+
* @tags AiAdminPrompt
|
|
5853
|
+
* @name GetAiPrompt
|
|
5854
|
+
* @summary Get prompt by ID
|
|
5855
|
+
* @request GET:/api/ai/admin/prompts/{id}
|
|
5856
|
+
* @secure
|
|
5857
|
+
* @response `200` `AiPrompt` OK
|
|
5858
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5859
|
+
*/
|
|
5860
|
+
getAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5861
|
+
/**
|
|
5862
|
+
* No description
|
|
5863
|
+
*
|
|
5864
|
+
* @tags AiAdminPrompt
|
|
5865
|
+
* @name UpdateAiPrompt
|
|
5866
|
+
* @summary Update prompt
|
|
5867
|
+
* @request PUT:/api/ai/admin/prompts/{id}
|
|
5868
|
+
* @secure
|
|
5869
|
+
* @response `200` `AiPrompt` OK
|
|
5870
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5871
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5872
|
+
*/
|
|
5873
|
+
updateAiPrompt: (id: string, data: UpdateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5874
|
+
/**
|
|
5875
|
+
* No description
|
|
5876
|
+
*
|
|
5877
|
+
* @tags AiAdminPrompt
|
|
5878
|
+
* @name DeleteAiPrompt
|
|
5879
|
+
* @summary Delete prompt
|
|
5880
|
+
* @request DELETE:/api/ai/admin/prompts/{id}
|
|
5881
|
+
* @secure
|
|
5882
|
+
* @response `204` `void` No Content
|
|
5883
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5884
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5885
|
+
*/
|
|
5886
|
+
deleteAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
5887
|
+
/**
|
|
5888
|
+
* No description
|
|
5889
|
+
*
|
|
5890
|
+
* @tags AiAdminPrompt
|
|
5891
|
+
* @name ToggleAiPrompt
|
|
5892
|
+
* @summary Toggle prompt active/inactive
|
|
5893
|
+
* @request PATCH:/api/ai/admin/prompts/{id}/toggle
|
|
5894
|
+
* @secure
|
|
5895
|
+
* @response `200` `AiPrompt` OK
|
|
5896
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5897
|
+
*/
|
|
5898
|
+
toggleAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5899
|
+
/**
|
|
5900
|
+
* No description
|
|
5901
|
+
*
|
|
5902
|
+
* @tags AiAdminPrompt
|
|
5903
|
+
* @name GenerateAiSystemPrompt
|
|
5904
|
+
* @summary Generate a system prompt from description
|
|
5905
|
+
* @request POST:/api/ai/admin/prompts/generate
|
|
5906
|
+
* @secure
|
|
5907
|
+
* @response `200` `GenerateSystemPrompt` OK
|
|
5908
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5909
|
+
*/
|
|
5910
|
+
generateAiSystemPrompt: (data: GenerateSystemPromptRequest, params?: RequestParams) => Promise<AxiosResponse<GenerateSystemPrompt, any, {}>>;
|
|
5911
|
+
/**
|
|
5912
|
+
* No description
|
|
5913
|
+
*
|
|
5914
|
+
* @tags AiAdminPrompt
|
|
5915
|
+
* @name GetSupportedModels
|
|
5916
|
+
* @summary Get supported LLM models
|
|
5917
|
+
* @request GET:/api/ai/admin/prompts/supported-models
|
|
5918
|
+
* @secure
|
|
5919
|
+
* @response `200` `(SupportedModel)[]` OK
|
|
5920
|
+
*/
|
|
5921
|
+
getSupportedModels: (params?: RequestParams) => Promise<AxiosResponse<SupportedModel[], any, {}>>;
|
|
5922
|
+
/**
|
|
5923
|
+
* No description
|
|
5924
|
+
*
|
|
5925
|
+
* @tags AiAdminSettings
|
|
5926
|
+
* @name GetAiAdminSettings
|
|
5927
|
+
* @summary Get global AI settings
|
|
5928
|
+
* @request GET:/api/ai/admin/settings
|
|
5929
|
+
* @secure
|
|
5930
|
+
* @response `200` `AiAdminSettings` OK
|
|
5931
|
+
*/
|
|
5932
|
+
getAiAdminSettings: (params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
|
|
5933
|
+
/**
|
|
5934
|
+
* No description
|
|
5935
|
+
*
|
|
5936
|
+
* @tags AiAdminSettings
|
|
5937
|
+
* @name UpdateAiAdminSettings
|
|
5938
|
+
* @summary Update global AI settings
|
|
5939
|
+
* @request PUT:/api/ai/admin/settings
|
|
5940
|
+
* @secure
|
|
5941
|
+
* @response `200` `AiAdminSettings` OK
|
|
5942
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5943
|
+
*/
|
|
5944
|
+
updateAiAdminSettings: (data: AiAdminSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
|
|
5945
|
+
/**
|
|
5946
|
+
* No description
|
|
5947
|
+
*
|
|
5948
|
+
* @tags AiCanonicalField
|
|
5949
|
+
* @name GetAiCanonicalFields
|
|
5950
|
+
* @summary Get all canonical fields
|
|
5951
|
+
* @request GET:/api/ai/admin/fields
|
|
5952
|
+
* @secure
|
|
5953
|
+
* @response `200` `(AiCanonicalField)[]` OK
|
|
5954
|
+
*/
|
|
5955
|
+
getAiCanonicalFields: (params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField[], any, {}>>;
|
|
5956
|
+
/**
|
|
5957
|
+
* No description
|
|
5958
|
+
*
|
|
5959
|
+
* @tags AiCanonicalField
|
|
5960
|
+
* @name CreateAiCanonicalField
|
|
5961
|
+
* @summary Create canonical field
|
|
5962
|
+
* @request POST:/api/ai/admin/fields
|
|
5963
|
+
* @secure
|
|
5964
|
+
* @response `201` `AiCanonicalField` Created
|
|
5965
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5966
|
+
*/
|
|
5967
|
+
createAiCanonicalField: (data: CreateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5968
|
+
/**
|
|
5969
|
+
* No description
|
|
5970
|
+
*
|
|
5971
|
+
* @tags AiCanonicalField
|
|
5972
|
+
* @name GetAiCanonicalField
|
|
5973
|
+
* @summary Get canonical field by ID
|
|
5974
|
+
* @request GET:/api/ai/admin/fields/{id}
|
|
5975
|
+
* @secure
|
|
5976
|
+
* @response `200` `AiCanonicalField` OK
|
|
5977
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5978
|
+
*/
|
|
5979
|
+
getAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5980
|
+
/**
|
|
5981
|
+
* No description
|
|
5982
|
+
*
|
|
5983
|
+
* @tags AiCanonicalField
|
|
5984
|
+
* @name UpdateAiCanonicalField
|
|
5985
|
+
* @summary Update canonical field
|
|
5986
|
+
* @request PUT:/api/ai/admin/fields/{id}
|
|
5987
|
+
* @secure
|
|
5988
|
+
* @response `200` `AiCanonicalField` OK
|
|
5989
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5990
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5991
|
+
*/
|
|
5992
|
+
updateAiCanonicalField: (id: string, data: UpdateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5993
|
+
/**
|
|
5994
|
+
* No description
|
|
5995
|
+
*
|
|
5996
|
+
* @tags AiCanonicalField
|
|
5997
|
+
* @name DeleteAiCanonicalField
|
|
5998
|
+
* @summary Delete canonical field
|
|
5999
|
+
* @request DELETE:/api/ai/admin/fields/{id}
|
|
6000
|
+
* @secure
|
|
6001
|
+
* @response `204` `void` No Content
|
|
6002
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6003
|
+
*/
|
|
6004
|
+
deleteAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6005
|
+
/**
|
|
6006
|
+
* No description
|
|
6007
|
+
*
|
|
6008
|
+
* @tags AiCanonicalField
|
|
6009
|
+
* @name ToggleAiCanonicalField
|
|
6010
|
+
* @summary Toggle canonical field active/inactive
|
|
6011
|
+
* @request PATCH:/api/ai/admin/fields/{id}/toggle
|
|
6012
|
+
* @secure
|
|
6013
|
+
* @response `200` `AiCanonicalField` OK
|
|
6014
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6015
|
+
*/
|
|
6016
|
+
toggleAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
6017
|
+
/**
|
|
6018
|
+
* No description
|
|
6019
|
+
*
|
|
6020
|
+
* @tags AiChat
|
|
6021
|
+
* @name AiChat
|
|
6022
|
+
* @summary Send AI chat message
|
|
6023
|
+
* @request POST:/api/ai/chat
|
|
6024
|
+
* @secure
|
|
6025
|
+
* @response `200` `AiChat` OK
|
|
6026
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6027
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
6028
|
+
*/
|
|
6029
|
+
aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}>>;
|
|
6030
|
+
/**
|
|
6031
|
+
* No description
|
|
6032
|
+
*
|
|
6033
|
+
* @tags AiConversation
|
|
6034
|
+
* @name GetAiConversations
|
|
6035
|
+
* @summary Get user conversations
|
|
6036
|
+
* @request GET:/api/ai/conversations
|
|
6037
|
+
* @secure
|
|
6038
|
+
* @response `200` `AiConversationListItemPaginated` OK
|
|
6039
|
+
*/
|
|
6040
|
+
getAiConversations: (query?: {
|
|
6041
|
+
/** @format int32 */
|
|
6042
|
+
pageSize?: number;
|
|
6043
|
+
/** @format int32 */
|
|
6044
|
+
pageNumber?: number;
|
|
6045
|
+
sortBy?: string;
|
|
6046
|
+
sortDirection?: string;
|
|
6047
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
|
|
6048
|
+
/**
|
|
6049
|
+
* No description
|
|
6050
|
+
*
|
|
6051
|
+
* @tags AiConversation
|
|
6052
|
+
* @name GetAiConversation
|
|
6053
|
+
* @summary Get conversation metadata
|
|
6054
|
+
* @request GET:/api/ai/conversations/{id}
|
|
6055
|
+
* @secure
|
|
6056
|
+
* @response `200` `AiConversationDetail` OK
|
|
6057
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6058
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6059
|
+
*/
|
|
6060
|
+
getAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
|
|
6061
|
+
/**
|
|
6062
|
+
* No description
|
|
6063
|
+
*
|
|
6064
|
+
* @tags AiConversation
|
|
6065
|
+
* @name RenameAiConversation
|
|
6066
|
+
* @summary Rename conversation
|
|
6067
|
+
* @request PATCH:/api/ai/conversations/{id}
|
|
6068
|
+
* @secure
|
|
6069
|
+
* @response `200` `AiConversationDetail` OK
|
|
6070
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6071
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6072
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6073
|
+
*/
|
|
6074
|
+
renameAiConversation: (id: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
|
|
6075
|
+
/**
|
|
6076
|
+
* No description
|
|
6077
|
+
*
|
|
6078
|
+
* @tags AiConversation
|
|
6079
|
+
* @name DeleteAiConversation
|
|
6080
|
+
* @summary Delete conversation
|
|
6081
|
+
* @request DELETE:/api/ai/conversations/{id}
|
|
6082
|
+
* @secure
|
|
6083
|
+
* @response `204` `void` No Content
|
|
6084
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6085
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6086
|
+
*/
|
|
6087
|
+
deleteAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6088
|
+
/**
|
|
6089
|
+
* No description
|
|
6090
|
+
*
|
|
6091
|
+
* @tags AiConversation
|
|
6092
|
+
* @name GetAiConversationMessages
|
|
6093
|
+
* @summary Get conversation messages
|
|
6094
|
+
* @request GET:/api/ai/conversations/{id}/messages
|
|
6095
|
+
* @secure
|
|
6096
|
+
* @response `200` `AiChatMessagePaginated` OK
|
|
6097
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6098
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6099
|
+
*/
|
|
6100
|
+
getAiConversationMessages: (id: string, query?: {
|
|
6101
|
+
/** @format int32 */
|
|
6102
|
+
pageSize?: number;
|
|
6103
|
+
/** @format int32 */
|
|
6104
|
+
pageNumber?: number;
|
|
6105
|
+
sortBy?: string;
|
|
6106
|
+
sortDirection?: string;
|
|
6107
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiChatMessagePaginated, any, {}>>;
|
|
6108
|
+
/**
|
|
6109
|
+
* No description
|
|
6110
|
+
*
|
|
6111
|
+
* @tags AiConversation
|
|
6112
|
+
* @name ClearAiConversationHistory
|
|
6113
|
+
* @summary Clear conversation history
|
|
6114
|
+
* @request DELETE:/api/ai/conversations/{id}/messages
|
|
6115
|
+
* @secure
|
|
6116
|
+
* @response `204` `void` No Content
|
|
6117
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6118
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6119
|
+
*/
|
|
6120
|
+
clearAiConversationHistory: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6121
|
+
/**
|
|
6122
|
+
* No description
|
|
6123
|
+
*
|
|
6124
|
+
* @tags AiConversation
|
|
6125
|
+
* @name PinAiConversation
|
|
6126
|
+
* @summary Pin or unpin conversation
|
|
6127
|
+
* @request PUT:/api/ai/conversations/{id}/pin
|
|
6128
|
+
* @secure
|
|
6129
|
+
* @response `200` `AiConversationDetail` OK
|
|
6130
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6131
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6132
|
+
*/
|
|
6133
|
+
pinAiConversation: (id: string, data: PinAiConversationRequest, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
|
|
6134
|
+
/**
|
|
6135
|
+
* No description
|
|
6136
|
+
*
|
|
6137
|
+
* @tags AiGuardrail
|
|
6138
|
+
* @name GetAiGuardrails
|
|
6139
|
+
* @summary Get all guardrails
|
|
6140
|
+
* @request GET:/api/ai/admin/guardrails
|
|
6141
|
+
* @secure
|
|
6142
|
+
* @response `200` `(AiGuardrail)[]` OK
|
|
6143
|
+
*/
|
|
6144
|
+
getAiGuardrails: (params?: RequestParams) => Promise<AxiosResponse<AiGuardrail[], any, {}>>;
|
|
6145
|
+
/**
|
|
6146
|
+
* No description
|
|
6147
|
+
*
|
|
6148
|
+
* @tags AiGuardrail
|
|
6149
|
+
* @name CreateAiGuardrail
|
|
6150
|
+
* @summary Create custom guardrail
|
|
6151
|
+
* @request POST:/api/ai/admin/guardrails
|
|
6152
|
+
* @secure
|
|
6153
|
+
* @response `201` `AiGuardrail` Created
|
|
6154
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6155
|
+
*/
|
|
6156
|
+
createAiGuardrail: (data: CreateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
6157
|
+
/**
|
|
6158
|
+
* No description
|
|
6159
|
+
*
|
|
6160
|
+
* @tags AiGuardrail
|
|
6161
|
+
* @name GetAiGuardrail
|
|
6162
|
+
* @summary Get guardrail by ID
|
|
6163
|
+
* @request GET:/api/ai/admin/guardrails/{id}
|
|
6164
|
+
* @secure
|
|
6165
|
+
* @response `200` `AiGuardrail` OK
|
|
6166
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6167
|
+
*/
|
|
6168
|
+
getAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
6169
|
+
/**
|
|
6170
|
+
* No description
|
|
6171
|
+
*
|
|
6172
|
+
* @tags AiGuardrail
|
|
6173
|
+
* @name UpdateAiGuardrail
|
|
6174
|
+
* @summary Update guardrail
|
|
6175
|
+
* @request PUT:/api/ai/admin/guardrails/{id}
|
|
6176
|
+
* @secure
|
|
6177
|
+
* @response `200` `AiGuardrail` OK
|
|
6178
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6179
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6180
|
+
*/
|
|
6181
|
+
updateAiGuardrail: (id: string, data: UpdateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
6182
|
+
/**
|
|
6183
|
+
* No description
|
|
6184
|
+
*
|
|
6185
|
+
* @tags AiGuardrail
|
|
6186
|
+
* @name DeleteAiGuardrail
|
|
6187
|
+
* @summary Delete guardrail
|
|
6188
|
+
* @request DELETE:/api/ai/admin/guardrails/{id}
|
|
6189
|
+
* @secure
|
|
6190
|
+
* @response `204` `void` No Content
|
|
6191
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6192
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6193
|
+
*/
|
|
6194
|
+
deleteAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6195
|
+
/**
|
|
6196
|
+
* No description
|
|
6197
|
+
*
|
|
6198
|
+
* @tags AiGuardrail
|
|
6199
|
+
* @name ToggleAiGuardrail
|
|
6200
|
+
* @summary Toggle guardrail enabled/disabled
|
|
6201
|
+
* @request PATCH:/api/ai/admin/guardrails/{id}/toggle
|
|
6202
|
+
* @secure
|
|
6203
|
+
* @response `200` `AiGuardrail` OK
|
|
6204
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6205
|
+
*/
|
|
6206
|
+
toggleAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
6207
|
+
/**
|
|
6208
|
+
* No description
|
|
6209
|
+
*
|
|
6210
|
+
* @tags AiPrompt
|
|
6211
|
+
* @name GetAvailablePrompts
|
|
6212
|
+
* @summary Get available prompts for current user
|
|
6213
|
+
* @request GET:/api/ai/prompts
|
|
6214
|
+
* @secure
|
|
6215
|
+
* @response `200` `(AiPromptSummary)[]` OK
|
|
6216
|
+
*/
|
|
6217
|
+
getAvailablePrompts: (query?: {
|
|
6218
|
+
documentType?: string;
|
|
6219
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
|
|
6220
|
+
/**
|
|
6221
|
+
* No description
|
|
6222
|
+
*
|
|
6223
|
+
* @tags AiUrlSource
|
|
6224
|
+
* @name GetAiUrlSources
|
|
6225
|
+
* @summary Get all URL sources
|
|
6226
|
+
* @request GET:/api/ai/admin/url-sources
|
|
6227
|
+
* @secure
|
|
6228
|
+
* @response `200` `(AiUrlSource)[]` OK
|
|
6229
|
+
*/
|
|
6230
|
+
getAiUrlSources: (params?: RequestParams) => Promise<AxiosResponse<AiUrlSource[], any, {}>>;
|
|
6231
|
+
/**
|
|
6232
|
+
* No description
|
|
6233
|
+
*
|
|
6234
|
+
* @tags AiUrlSource
|
|
6235
|
+
* @name CreateAiUrlSource
|
|
6236
|
+
* @summary Create URL source
|
|
6237
|
+
* @request POST:/api/ai/admin/url-sources
|
|
6238
|
+
* @secure
|
|
6239
|
+
* @response `201` `AiUrlSource` Created
|
|
6240
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6241
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6242
|
+
*/
|
|
6243
|
+
createAiUrlSource: (data: CreateAiUrlSourceRequest, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
|
|
6244
|
+
/**
|
|
6245
|
+
* No description
|
|
6246
|
+
*
|
|
6247
|
+
* @tags AiUrlSource
|
|
6248
|
+
* @name GetAiUrlSource
|
|
6249
|
+
* @summary Get URL source by ID
|
|
6250
|
+
* @request GET:/api/ai/admin/url-sources/{id}
|
|
6251
|
+
* @secure
|
|
6252
|
+
* @response `200` `AiUrlSource` OK
|
|
6253
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6254
|
+
*/
|
|
6255
|
+
getAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
|
|
6256
|
+
/**
|
|
6257
|
+
* No description
|
|
6258
|
+
*
|
|
6259
|
+
* @tags AiUrlSource
|
|
6260
|
+
* @name UpdateAiUrlSource
|
|
6261
|
+
* @summary Update URL source
|
|
6262
|
+
* @request PUT:/api/ai/admin/url-sources/{id}
|
|
6263
|
+
* @secure
|
|
6264
|
+
* @response `200` `AiUrlSource` OK
|
|
6265
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6266
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6267
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6268
|
+
*/
|
|
6269
|
+
updateAiUrlSource: (id: string, data: UpdateAiUrlSourceRequest, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
|
|
6270
|
+
/**
|
|
6271
|
+
* No description
|
|
6272
|
+
*
|
|
6273
|
+
* @tags AiUrlSource
|
|
6274
|
+
* @name DeleteAiUrlSource
|
|
6275
|
+
* @summary Delete URL source
|
|
6276
|
+
* @request DELETE:/api/ai/admin/url-sources/{id}
|
|
6277
|
+
* @secure
|
|
6278
|
+
* @response `204` `void` No Content
|
|
6279
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6280
|
+
*/
|
|
6281
|
+
deleteAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6282
|
+
/**
|
|
6283
|
+
* No description
|
|
6284
|
+
*
|
|
6285
|
+
* @tags AiUrlSource
|
|
6286
|
+
* @name ToggleAiUrlSource
|
|
6287
|
+
* @summary Toggle URL source active/inactive
|
|
6288
|
+
* @request PATCH:/api/ai/admin/url-sources/{id}/toggle
|
|
6289
|
+
* @secure
|
|
6290
|
+
* @response `200` `AiUrlSource` OK
|
|
6291
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6292
|
+
*/
|
|
6293
|
+
toggleAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
|
|
5498
6294
|
/**
|
|
5499
6295
|
* No description
|
|
5500
6296
|
*
|
|
@@ -6019,7 +6815,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6019
6815
|
* @response `200` `(CustomFieldDefinition)[]` OK
|
|
6020
6816
|
*/
|
|
6021
6817
|
getCustomFieldDefinitions: (query?: {
|
|
6022
|
-
entityType?:
|
|
6818
|
+
entityType?: "Loan";
|
|
6023
6819
|
}, params?: RequestParams) => Promise<AxiosResponse<CustomFieldDefinition[], any, {}>>;
|
|
6024
6820
|
/**
|
|
6025
6821
|
* No description
|
|
@@ -7526,10 +8322,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7526
8322
|
* @summary Download By ID
|
|
7527
8323
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
7528
8324
|
* @secure
|
|
7529
|
-
* @response `200` `
|
|
8325
|
+
* @response `200` `string` OK
|
|
7530
8326
|
* @response `404` `ProblemDetails` Not Found
|
|
7531
8327
|
*/
|
|
7532
|
-
downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<
|
|
8328
|
+
downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
|
|
7533
8329
|
/**
|
|
7534
8330
|
* No description
|
|
7535
8331
|
*
|
|
@@ -8042,7 +8838,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8042
8838
|
* @response `404` `ProblemDetails` Not Found
|
|
8043
8839
|
* @response `409` `any` Conflict
|
|
8044
8840
|
*/
|
|
8045
|
-
updateLoan: (loanId: string, data:
|
|
8841
|
+
updateLoan: (loanId: string, data: LoanPatchRequestGuidPatchDocument, params?: RequestParams) => Promise<AxiosResponse<Loan, any, {}>>;
|
|
8046
8842
|
/**
|
|
8047
8843
|
* No description
|
|
8048
8844
|
*
|
|
@@ -8732,7 +9528,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8732
9528
|
getPartners: (query?: {
|
|
8733
9529
|
showAll?: boolean;
|
|
8734
9530
|
/** @default "Realtor" */
|
|
8735
|
-
role?:
|
|
9531
|
+
role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
8736
9532
|
/** @format int32 */
|
|
8737
9533
|
pageSize?: number;
|
|
8738
9534
|
/** @format int32 */
|
|
@@ -8910,7 +9706,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8910
9706
|
* @response `200` `File` OK
|
|
8911
9707
|
* @response `404` `ProblemDetails` Not Found
|
|
8912
9708
|
*/
|
|
8913
|
-
getSamlMetadata: (sSoIntegration:
|
|
9709
|
+
getSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
8914
9710
|
/**
|
|
8915
9711
|
* No description
|
|
8916
9712
|
*
|
|
@@ -8921,7 +9717,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8921
9717
|
* @secure
|
|
8922
9718
|
* @response `200` `File` OK
|
|
8923
9719
|
*/
|
|
8924
|
-
createOrReplaceSamlMetadata: (sSoIntegration:
|
|
9720
|
+
createOrReplaceSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
8925
9721
|
/**
|
|
8926
9722
|
* No description
|
|
8927
9723
|
*
|