@matech/thebigpos-sdk 3.7.0 → 3.8.0-pr-4912-3553
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +272 -6
- package/dist/index.js +137 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +467 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type VersionStatusType = "Draft" | "Published";
|
|
2
2
|
export type UserRole = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
3
|
+
export type TaskType = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
|
|
3
4
|
export type TaskStatus = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
4
5
|
export type TableKey = "Pipeline";
|
|
5
6
|
export type SortDirection = "Asc" | "Desc";
|
|
@@ -19,6 +20,7 @@ export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
|
|
|
19
20
|
export type LoanTrustType = "Living" | "Land" | "Testamentary" | "Other";
|
|
20
21
|
export type LoanTitleHeld = "Sole" | "JointWithSpouse" | "JointWithOtherThanSpouse";
|
|
21
22
|
export type LoanTaskActivityFilter = "Active" | "Inactive" | "All";
|
|
23
|
+
export type LoanRoleTaskSource = "Rule" | "Manual";
|
|
22
24
|
export type LoanRole = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
23
25
|
export type LoanRefinancePurpose = "CashOutDebtConsolidation" | "CashOutHomeImprovement" | "CashOutOther" | "NoCashOut" | "LimitedCashOut";
|
|
24
26
|
export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
|
|
@@ -39,7 +41,7 @@ export type LoanNameSuffix = "Jr" | "Sr" | "II" | "III" | "IV" | "V" | "VI" | "V
|
|
|
39
41
|
export type LoanNamePrefix = "Mr" | "Mrs" | "Ms";
|
|
40
42
|
export type LoanMilitaryServiceType = "Current" | "RetiredDischargedSeparated" | "NonActivatedNationalGuard" | "SurvivingSpouse";
|
|
41
43
|
export type LoanMaritalStatus = "Married" | "Separated" | "Single";
|
|
42
|
-
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
44
|
+
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
|
|
43
45
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
44
46
|
export type LoanLiabilityType = "Revolving" | "Installment" | "Open30Day" | "Lease" | "Other";
|
|
45
47
|
export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other" | "DoNotWishToRespond";
|
|
@@ -98,7 +100,7 @@ export type AiPromptScope = "General" | "LoanSpecific";
|
|
|
98
100
|
export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
99
101
|
export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
100
102
|
export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
|
|
101
|
-
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" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced";
|
|
103
|
+
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" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced" | "RecommendationRunCompleted";
|
|
102
104
|
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";
|
|
103
105
|
export interface ASOSettings {
|
|
104
106
|
enabled: boolean;
|
|
@@ -257,6 +259,7 @@ export interface AdminAccessUser {
|
|
|
257
259
|
preferredLoanOfficer?: PreferredLoanOfficer | null;
|
|
258
260
|
loanIDs: string[];
|
|
259
261
|
drafts: Draft[];
|
|
262
|
+
inProgressLoans: InProgressLoan[];
|
|
260
263
|
notificationSettings?: UserNotificationSettings | null;
|
|
261
264
|
hasExtendedLoanVisibility: boolean;
|
|
262
265
|
/** @format uuid */
|
|
@@ -1025,6 +1028,7 @@ export interface BranchUser {
|
|
|
1025
1028
|
preferredLoanOfficer?: PreferredLoanOfficer | null;
|
|
1026
1029
|
loanIDs: string[];
|
|
1027
1030
|
drafts: Draft[];
|
|
1031
|
+
inProgressLoans: InProgressLoan[];
|
|
1028
1032
|
notificationSettings?: UserNotificationSettings | null;
|
|
1029
1033
|
hasExtendedLoanVisibility: boolean;
|
|
1030
1034
|
/** @format uuid */
|
|
@@ -1421,6 +1425,15 @@ export interface CreateLoanImportRequest {
|
|
|
1421
1425
|
startDate: string;
|
|
1422
1426
|
importMode: CreateLoanImportRequestImportModeEnum;
|
|
1423
1427
|
}
|
|
1428
|
+
export interface CreateLoanRoleTaskRequest {
|
|
1429
|
+
/** @format uuid */
|
|
1430
|
+
taskId: string;
|
|
1431
|
+
role: CreateLoanRoleTaskRequestRoleEnum;
|
|
1432
|
+
/** @format int32 */
|
|
1433
|
+
borrowerPair: number;
|
|
1434
|
+
/** @format int32 */
|
|
1435
|
+
borrowerPosition: number;
|
|
1436
|
+
}
|
|
1424
1437
|
export interface CreateSession {
|
|
1425
1438
|
sessionId: string;
|
|
1426
1439
|
sessionUrl: string;
|
|
@@ -1573,6 +1586,7 @@ export interface DetailedUser {
|
|
|
1573
1586
|
preferredLoanOfficer?: PreferredLoanOfficer | null;
|
|
1574
1587
|
loanIDs: string[];
|
|
1575
1588
|
drafts: Draft[];
|
|
1589
|
+
inProgressLoans: InProgressLoan[];
|
|
1576
1590
|
notificationSettings?: UserNotificationSettings | null;
|
|
1577
1591
|
hasExtendedLoanVisibility: boolean;
|
|
1578
1592
|
}
|
|
@@ -1834,6 +1848,7 @@ export interface EnabledServices {
|
|
|
1834
1848
|
ringCentral?: boolean | null;
|
|
1835
1849
|
socialSurvey?: boolean | null;
|
|
1836
1850
|
borrowerTasks?: boolean | null;
|
|
1851
|
+
preBorrowerTasks?: boolean | null;
|
|
1837
1852
|
docusign?: boolean | null;
|
|
1838
1853
|
emailNotifications?: boolean | null;
|
|
1839
1854
|
autoTaskReminders?: boolean | null;
|
|
@@ -2412,6 +2427,7 @@ export interface ImpersonatedDetailedUser {
|
|
|
2412
2427
|
preferredLoanOfficer?: PreferredLoanOfficer | null;
|
|
2413
2428
|
loanIDs: string[];
|
|
2414
2429
|
drafts: Draft[];
|
|
2430
|
+
inProgressLoans: InProgressLoan[];
|
|
2415
2431
|
notificationSettings?: UserNotificationSettings | null;
|
|
2416
2432
|
hasExtendedLoanVisibility: boolean;
|
|
2417
2433
|
/** @deprecated */
|
|
@@ -2424,6 +2440,16 @@ export interface ImportUserLoanTaskRequest {
|
|
|
2424
2440
|
/** @format uuid */
|
|
2425
2441
|
userID: string;
|
|
2426
2442
|
}
|
|
2443
|
+
export interface InProgressLoan {
|
|
2444
|
+
/** @format uuid */
|
|
2445
|
+
id: string;
|
|
2446
|
+
/** @format uuid */
|
|
2447
|
+
borrowerId: string;
|
|
2448
|
+
/** @format uuid */
|
|
2449
|
+
siteConfigurationId?: string | null;
|
|
2450
|
+
/** @format date-time */
|
|
2451
|
+
updatedAt?: string | null;
|
|
2452
|
+
}
|
|
2427
2453
|
export interface IncompleteApplicationSummary {
|
|
2428
2454
|
/** @format int32 */
|
|
2429
2455
|
total: number;
|
|
@@ -2681,6 +2707,18 @@ export interface LoanApplicationRequest {
|
|
|
2681
2707
|
/** @format uuid */
|
|
2682
2708
|
existingLoanId?: string | null;
|
|
2683
2709
|
}
|
|
2710
|
+
export interface LoanApplicationSession {
|
|
2711
|
+
routeName: string;
|
|
2712
|
+
currentQuestionId?: string | null;
|
|
2713
|
+
questionHistory: string[];
|
|
2714
|
+
/** @format date-time */
|
|
2715
|
+
completedAt?: string | null;
|
|
2716
|
+
}
|
|
2717
|
+
export interface LoanApplicationSessionRequest {
|
|
2718
|
+
routeName: string;
|
|
2719
|
+
currentQuestionId?: string | null;
|
|
2720
|
+
questionHistory: string[];
|
|
2721
|
+
}
|
|
2684
2722
|
export interface LoanBorrower {
|
|
2685
2723
|
/** @format uuid */
|
|
2686
2724
|
id: string;
|
|
@@ -4066,6 +4104,24 @@ export interface LoanQueueWithData {
|
|
|
4066
4104
|
siteConfiguration: SiteConfigurationReduced;
|
|
4067
4105
|
data?: any | null;
|
|
4068
4106
|
}
|
|
4107
|
+
export interface LoanRecommendation {
|
|
4108
|
+
/** @format uuid */
|
|
4109
|
+
id: string;
|
|
4110
|
+
canonicalName: string;
|
|
4111
|
+
displayName: string;
|
|
4112
|
+
extractedValue: string;
|
|
4113
|
+
currentLoanValue?: any | null;
|
|
4114
|
+
/** @format uuid */
|
|
4115
|
+
sourceDocumentId: string;
|
|
4116
|
+
sourceDocumentName?: string | null;
|
|
4117
|
+
/** @format float */
|
|
4118
|
+
confidence: number;
|
|
4119
|
+
/** @format uuid */
|
|
4120
|
+
borrowerId?: string | null;
|
|
4121
|
+
borrowerName?: string | null;
|
|
4122
|
+
/** @format date-time */
|
|
4123
|
+
detectedAt: string;
|
|
4124
|
+
}
|
|
4069
4125
|
export interface LoanRecord {
|
|
4070
4126
|
loanGuid: string;
|
|
4071
4127
|
loanFields: Record<string, string>;
|
|
@@ -4114,6 +4170,52 @@ export interface LoanRefinanceRequest {
|
|
|
4114
4170
|
purpose?: LoanRefinancePurpose | null;
|
|
4115
4171
|
currentLoan?: LoanRefinanceCurrentLoanRequest | null;
|
|
4116
4172
|
}
|
|
4173
|
+
export interface LoanRoleSlotTasks {
|
|
4174
|
+
role: LoanRoleSlotTasksRoleEnum;
|
|
4175
|
+
/** @format int32 */
|
|
4176
|
+
borrowerPair: number;
|
|
4177
|
+
/** @format int32 */
|
|
4178
|
+
borrowerPosition: number;
|
|
4179
|
+
tasks: LoanRoleTask[];
|
|
4180
|
+
}
|
|
4181
|
+
export interface LoanRoleTask {
|
|
4182
|
+
/** @format uuid */
|
|
4183
|
+
id: string;
|
|
4184
|
+
/** @format uuid */
|
|
4185
|
+
loanId: string;
|
|
4186
|
+
role: LoanRoleTaskRoleEnum;
|
|
4187
|
+
/** @format int32 */
|
|
4188
|
+
borrowerPair: number;
|
|
4189
|
+
/** @format int32 */
|
|
4190
|
+
borrowerPosition: number;
|
|
4191
|
+
/** @format uuid */
|
|
4192
|
+
definitionTaskId: string;
|
|
4193
|
+
/** @format uuid */
|
|
4194
|
+
taskId: string;
|
|
4195
|
+
name: string;
|
|
4196
|
+
description?: string | null;
|
|
4197
|
+
type: LoanRoleTaskTypeEnum;
|
|
4198
|
+
losTarget?: string | null;
|
|
4199
|
+
/** @format int32 */
|
|
4200
|
+
daysDueFromApplication?: number | null;
|
|
4201
|
+
/** @format int32 */
|
|
4202
|
+
weight: number;
|
|
4203
|
+
willAutocompleteAfterResponse: boolean;
|
|
4204
|
+
/** @format uuid */
|
|
4205
|
+
loanDocumentFolderId?: string | null;
|
|
4206
|
+
/** @format date */
|
|
4207
|
+
dueDate?: string | null;
|
|
4208
|
+
source: LoanRoleTaskSourceEnum;
|
|
4209
|
+
isAttached: boolean;
|
|
4210
|
+
/** @format uuid */
|
|
4211
|
+
attachedUserLoanTaskId?: string | null;
|
|
4212
|
+
/** @format date-time */
|
|
4213
|
+
attachedAt?: string | null;
|
|
4214
|
+
/** @format uuid */
|
|
4215
|
+
createdById?: string | null;
|
|
4216
|
+
/** @format date-time */
|
|
4217
|
+
createdAt: string;
|
|
4218
|
+
}
|
|
4117
4219
|
export interface LoanSearchCriteria {
|
|
4118
4220
|
searchText?: string | null;
|
|
4119
4221
|
searchTerms?: string[] | null;
|
|
@@ -4142,6 +4244,7 @@ export interface LoanSearchCriteria {
|
|
|
4142
4244
|
closingFrom?: string | null;
|
|
4143
4245
|
/** @format date */
|
|
4144
4246
|
closingTo?: string | null;
|
|
4247
|
+
milestoneConfigurationIds?: string[] | null;
|
|
4145
4248
|
}
|
|
4146
4249
|
export interface LoanSettings {
|
|
4147
4250
|
excludeFromAutoTaskReminders: boolean;
|
|
@@ -4446,6 +4549,10 @@ export interface LosWebhookSigningKeySyncResult {
|
|
|
4446
4549
|
export interface ManualDocumentClassificationRequest {
|
|
4447
4550
|
documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
|
|
4448
4551
|
}
|
|
4552
|
+
export interface MaterializeLoanRoleTasks {
|
|
4553
|
+
/** @format int32 */
|
|
4554
|
+
rowsAdded: number;
|
|
4555
|
+
}
|
|
4449
4556
|
export interface MdmUser {
|
|
4450
4557
|
user_email?: string | null;
|
|
4451
4558
|
user_id?: string | null;
|
|
@@ -5798,6 +5905,8 @@ export interface Task {
|
|
|
5798
5905
|
isGlobal: boolean;
|
|
5799
5906
|
/** @format uuid */
|
|
5800
5907
|
id: string;
|
|
5908
|
+
/** @format uuid */
|
|
5909
|
+
sourceTaskID?: string | null;
|
|
5801
5910
|
user?: User | null;
|
|
5802
5911
|
isFromLegacySource: boolean;
|
|
5803
5912
|
usedInBusinessRule: boolean;
|
|
@@ -6117,6 +6226,16 @@ export interface UpdateLoanDocumentFolderRequest {
|
|
|
6117
6226
|
export interface UpdateLoanQueueRequest {
|
|
6118
6227
|
data: any;
|
|
6119
6228
|
}
|
|
6229
|
+
export interface UpdateLoanRoleTaskRequest {
|
|
6230
|
+
name?: string | null;
|
|
6231
|
+
description?: string | null;
|
|
6232
|
+
/** @format int32 */
|
|
6233
|
+
weight?: number | null;
|
|
6234
|
+
/** @format uuid */
|
|
6235
|
+
loanDocumentFolderId?: string | null;
|
|
6236
|
+
/** @format date */
|
|
6237
|
+
dueDate?: string | null;
|
|
6238
|
+
}
|
|
6120
6239
|
export interface UpdateMeRequest {
|
|
6121
6240
|
phone?: string | null;
|
|
6122
6241
|
firstName: string;
|
|
@@ -6487,6 +6606,12 @@ export interface UserLoanTaskUpdateRequest {
|
|
|
6487
6606
|
value?: string | null;
|
|
6488
6607
|
/** @format date */
|
|
6489
6608
|
dueDate?: string | null;
|
|
6609
|
+
name?: string | null;
|
|
6610
|
+
description?: string | null;
|
|
6611
|
+
/** @format int32 */
|
|
6612
|
+
weight?: number | null;
|
|
6613
|
+
/** @format uuid */
|
|
6614
|
+
loanDocumentFolderId?: string | null;
|
|
6490
6615
|
}
|
|
6491
6616
|
export interface UserMobilePhoneVerificationRequest {
|
|
6492
6617
|
code: string;
|
|
@@ -6635,7 +6760,7 @@ export interface Workflow {
|
|
|
6635
6760
|
icon: string;
|
|
6636
6761
|
}
|
|
6637
6762
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
6638
|
-
export type AiAuditLogEventTypeEnum = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced";
|
|
6763
|
+
export type AiAuditLogEventTypeEnum = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced" | "RecommendationRunCompleted";
|
|
6639
6764
|
export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
|
|
6640
6765
|
export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
|
|
6641
6766
|
export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
@@ -6660,6 +6785,7 @@ export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "
|
|
|
6660
6785
|
/** @deprecated */
|
|
6661
6786
|
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
6662
6787
|
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6788
|
+
export type CreateLoanRoleTaskRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6663
6789
|
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6664
6790
|
export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
6665
6791
|
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
@@ -6695,9 +6821,13 @@ export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed"
|
|
|
6695
6821
|
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6696
6822
|
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6697
6823
|
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6698
|
-
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6824
|
+
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
|
|
6699
6825
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6700
|
-
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6826
|
+
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
|
|
6827
|
+
export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6828
|
+
export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6829
|
+
export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
|
|
6830
|
+
export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
|
|
6701
6831
|
export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
6702
6832
|
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6703
6833
|
export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
|
|
@@ -6783,7 +6913,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
6783
6913
|
}
|
|
6784
6914
|
/**
|
|
6785
6915
|
* @title The Big POS API
|
|
6786
|
-
* @version v3.
|
|
6916
|
+
* @version v3.8.0
|
|
6787
6917
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
6788
6918
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
6789
6919
|
*/
|
|
@@ -10889,6 +11019,111 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10889
11019
|
* @response `404` `ProblemDetails` Not Found
|
|
10890
11020
|
*/
|
|
10891
11021
|
retryLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
11022
|
+
/**
|
|
11023
|
+
* No description
|
|
11024
|
+
*
|
|
11025
|
+
* @tags LoanRecommendations
|
|
11026
|
+
* @name GetLoanRecommendations
|
|
11027
|
+
* @summary Get a loan's open recommendations
|
|
11028
|
+
* @request GET:/api/loans/{loanId}/recommendations
|
|
11029
|
+
* @secure
|
|
11030
|
+
* @response `200` `(LoanRecommendation)[]` OK
|
|
11031
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
11032
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11033
|
+
*/
|
|
11034
|
+
getLoanRecommendations: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanRecommendation[], any, {}>>;
|
|
11035
|
+
/**
|
|
11036
|
+
* No description
|
|
11037
|
+
*
|
|
11038
|
+
* @tags LoanRecommendations
|
|
11039
|
+
* @name DismissLoanRecommendation
|
|
11040
|
+
* @summary Dismiss a loan recommendation
|
|
11041
|
+
* @request POST:/api/loans/{loanId}/recommendations/{id}/dismiss
|
|
11042
|
+
* @secure
|
|
11043
|
+
* @response `204` `void` No Content
|
|
11044
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
11045
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11046
|
+
*/
|
|
11047
|
+
dismissLoanRecommendation: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
11048
|
+
/**
|
|
11049
|
+
* No description
|
|
11050
|
+
*
|
|
11051
|
+
* @tags LoanRoleTasks
|
|
11052
|
+
* @name GetLoanRoleTasks
|
|
11053
|
+
* @summary Get queued tasks grouped by borrower slot
|
|
11054
|
+
* @request GET:/api/loans/{loanId}/role-tasks
|
|
11055
|
+
* @secure
|
|
11056
|
+
* @response `200` `(LoanRoleSlotTasks)[]` OK
|
|
11057
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11058
|
+
*/
|
|
11059
|
+
getLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleSlotTasks[], any, {}>>;
|
|
11060
|
+
/**
|
|
11061
|
+
* @description Queues an account template against a borrower slot that has no registered user yet. The row owns a per-loan copy of the template, so editing it never changes the account's catalogue.
|
|
11062
|
+
*
|
|
11063
|
+
* @tags LoanRoleTasks
|
|
11064
|
+
* @name CreateLoanRoleTask
|
|
11065
|
+
* @summary Queue a task for a borrower slot
|
|
11066
|
+
* @request POST:/api/loans/{loanId}/role-tasks
|
|
11067
|
+
* @secure
|
|
11068
|
+
* @response `201` `LoanRoleTask` Created
|
|
11069
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
11070
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11071
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11072
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
11073
|
+
*/
|
|
11074
|
+
createLoanRoleTask: (loanId: string, data: CreateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
11075
|
+
/**
|
|
11076
|
+
* No description
|
|
11077
|
+
*
|
|
11078
|
+
* @tags LoanRoleTasks
|
|
11079
|
+
* @name GetLoanRoleTask
|
|
11080
|
+
* @summary Get a queued task
|
|
11081
|
+
* @request GET:/api/loans/{loanId}/role-tasks/{id}
|
|
11082
|
+
* @secure
|
|
11083
|
+
* @response `200` `LoanRoleTask` OK
|
|
11084
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11085
|
+
*/
|
|
11086
|
+
getLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
11087
|
+
/**
|
|
11088
|
+
* @description Edits the loan's own copy of the template. The account's catalogue entry is untouched, so the change applies to this borrower only. Omitted fields are left as they are.
|
|
11089
|
+
*
|
|
11090
|
+
* @tags LoanRoleTasks
|
|
11091
|
+
* @name UpdateLoanRoleTask
|
|
11092
|
+
* @summary Edit a queued task
|
|
11093
|
+
* @request PUT:/api/loans/{loanId}/role-tasks/{id}
|
|
11094
|
+
* @secure
|
|
11095
|
+
* @response `200` `LoanRoleTask` OK
|
|
11096
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
11097
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11098
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11099
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
11100
|
+
*/
|
|
11101
|
+
updateLoanRoleTask: (loanId: string, id: string, data: UpdateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
11102
|
+
/**
|
|
11103
|
+
* @description Removes a queued task from a borrower slot. The removal is remembered, so a later run of the rules does not queue the same template again.
|
|
11104
|
+
*
|
|
11105
|
+
* @tags LoanRoleTasks
|
|
11106
|
+
* @name DeleteLoanRoleTask
|
|
11107
|
+
* @summary Remove a queued task
|
|
11108
|
+
* @request DELETE:/api/loans/{loanId}/role-tasks/{id}
|
|
11109
|
+
* @secure
|
|
11110
|
+
* @response `204` `void` No Content
|
|
11111
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11112
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11113
|
+
*/
|
|
11114
|
+
deleteLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
11115
|
+
/**
|
|
11116
|
+
* @description Runs the account's business rules against the loan and queues what is missing. Templates already queued, and ones removed by staff, are left alone.
|
|
11117
|
+
*
|
|
11118
|
+
* @tags LoanRoleTasks
|
|
11119
|
+
* @name MaterializeLoanRoleTasks
|
|
11120
|
+
* @summary Queue the business rule defaults
|
|
11121
|
+
* @request POST:/api/loans/{loanId}/role-tasks/materialize
|
|
11122
|
+
* @secure
|
|
11123
|
+
* @response `200` `MaterializeLoanRoleTasks` OK
|
|
11124
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11125
|
+
*/
|
|
11126
|
+
materializeLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<MaterializeLoanRoleTasks, any, {}>>;
|
|
10892
11127
|
/**
|
|
10893
11128
|
* No description
|
|
10894
11129
|
*
|
|
@@ -10974,6 +11209,36 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10974
11209
|
* @response `404` `ProblemDetails` Not Found
|
|
10975
11210
|
*/
|
|
10976
11211
|
completeBorrowerApplication: (loanId: string, borrowerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
11212
|
+
/**
|
|
11213
|
+
* No description
|
|
11214
|
+
*
|
|
11215
|
+
* @tags Loans
|
|
11216
|
+
* @name GetBorrowerApplicationSession
|
|
11217
|
+
* @summary Get borrower application session
|
|
11218
|
+
* @request GET:/api/loans/{loanId}/borrowers/{borrowerId}/application-session
|
|
11219
|
+
* @secure
|
|
11220
|
+
* @response `200` `LoanApplicationSession` OK
|
|
11221
|
+
* @response `400` `any` Bad Request
|
|
11222
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
11223
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
11224
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11225
|
+
*/
|
|
11226
|
+
getBorrowerApplicationSession: (loanId: string, borrowerId: string, params?: RequestParams) => Promise<AxiosResponse<LoanApplicationSession, any, {}>>;
|
|
11227
|
+
/**
|
|
11228
|
+
* No description
|
|
11229
|
+
*
|
|
11230
|
+
* @tags Loans
|
|
11231
|
+
* @name UpdateBorrowerApplicationSession
|
|
11232
|
+
* @summary Update borrower application session
|
|
11233
|
+
* @request PUT:/api/loans/{loanId}/borrowers/{borrowerId}/application-session
|
|
11234
|
+
* @secure
|
|
11235
|
+
* @response `200` `LoanApplicationSession` OK
|
|
11236
|
+
* @response `400` `any` Bad Request
|
|
11237
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
11238
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
11239
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11240
|
+
*/
|
|
11241
|
+
updateBorrowerApplicationSession: (loanId: string, borrowerId: string, data: LoanApplicationSessionRequest, params?: RequestParams) => Promise<AxiosResponse<LoanApplicationSession, any, {}>>;
|
|
10977
11242
|
/**
|
|
10978
11243
|
* No description
|
|
10979
11244
|
*
|
|
@@ -11323,6 +11588,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11323
11588
|
* @request POST:/api/loans/{loanId}/users/{userId}
|
|
11324
11589
|
* @secure
|
|
11325
11590
|
* @response `201` `LoanUser` Created
|
|
11591
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11326
11592
|
*/
|
|
11327
11593
|
addLoanUser: (loanId: string, userId: string, data: CreateUserLoan, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any, {}>>;
|
|
11328
11594
|
/**
|
package/dist/index.js
CHANGED
|
@@ -101,7 +101,7 @@ export class HttpClient {
|
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* @title The Big POS API
|
|
104
|
-
* @version v3.
|
|
104
|
+
* @version v3.8.0
|
|
105
105
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
106
106
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
107
107
|
*/
|
|
@@ -3773,6 +3773,111 @@ export class Api extends HttpClient {
|
|
|
3773
3773
|
* @response `404` `ProblemDetails` Not Found
|
|
3774
3774
|
*/
|
|
3775
3775
|
retryLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}/retry`, method: "POST", secure: true }, params)),
|
|
3776
|
+
/**
|
|
3777
|
+
* No description
|
|
3778
|
+
*
|
|
3779
|
+
* @tags LoanRecommendations
|
|
3780
|
+
* @name GetLoanRecommendations
|
|
3781
|
+
* @summary Get a loan's open recommendations
|
|
3782
|
+
* @request GET:/api/loans/{loanId}/recommendations
|
|
3783
|
+
* @secure
|
|
3784
|
+
* @response `200` `(LoanRecommendation)[]` OK
|
|
3785
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3786
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3787
|
+
*/
|
|
3788
|
+
getLoanRecommendations: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/recommendations`, method: "GET", secure: true, format: "json" }, params)),
|
|
3789
|
+
/**
|
|
3790
|
+
* No description
|
|
3791
|
+
*
|
|
3792
|
+
* @tags LoanRecommendations
|
|
3793
|
+
* @name DismissLoanRecommendation
|
|
3794
|
+
* @summary Dismiss a loan recommendation
|
|
3795
|
+
* @request POST:/api/loans/{loanId}/recommendations/{id}/dismiss
|
|
3796
|
+
* @secure
|
|
3797
|
+
* @response `204` `void` No Content
|
|
3798
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3799
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3800
|
+
*/
|
|
3801
|
+
dismissLoanRecommendation: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/recommendations/${id}/dismiss`, method: "POST", secure: true }, params)),
|
|
3802
|
+
/**
|
|
3803
|
+
* No description
|
|
3804
|
+
*
|
|
3805
|
+
* @tags LoanRoleTasks
|
|
3806
|
+
* @name GetLoanRoleTasks
|
|
3807
|
+
* @summary Get queued tasks grouped by borrower slot
|
|
3808
|
+
* @request GET:/api/loans/{loanId}/role-tasks
|
|
3809
|
+
* @secure
|
|
3810
|
+
* @response `200` `(LoanRoleSlotTasks)[]` OK
|
|
3811
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3812
|
+
*/
|
|
3813
|
+
getLoanRoleTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks`, method: "GET", secure: true, format: "json" }, params)),
|
|
3814
|
+
/**
|
|
3815
|
+
* @description Queues an account template against a borrower slot that has no registered user yet. The row owns a per-loan copy of the template, so editing it never changes the account's catalogue.
|
|
3816
|
+
*
|
|
3817
|
+
* @tags LoanRoleTasks
|
|
3818
|
+
* @name CreateLoanRoleTask
|
|
3819
|
+
* @summary Queue a task for a borrower slot
|
|
3820
|
+
* @request POST:/api/loans/{loanId}/role-tasks
|
|
3821
|
+
* @secure
|
|
3822
|
+
* @response `201` `LoanRoleTask` Created
|
|
3823
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3824
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3825
|
+
* @response `409` `ProblemDetails` Conflict
|
|
3826
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3827
|
+
*/
|
|
3828
|
+
createLoanRoleTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3829
|
+
/**
|
|
3830
|
+
* No description
|
|
3831
|
+
*
|
|
3832
|
+
* @tags LoanRoleTasks
|
|
3833
|
+
* @name GetLoanRoleTask
|
|
3834
|
+
* @summary Get a queued task
|
|
3835
|
+
* @request GET:/api/loans/{loanId}/role-tasks/{id}
|
|
3836
|
+
* @secure
|
|
3837
|
+
* @response `200` `LoanRoleTask` OK
|
|
3838
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3839
|
+
*/
|
|
3840
|
+
getLoanRoleTask: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
3841
|
+
/**
|
|
3842
|
+
* @description Edits the loan's own copy of the template. The account's catalogue entry is untouched, so the change applies to this borrower only. Omitted fields are left as they are.
|
|
3843
|
+
*
|
|
3844
|
+
* @tags LoanRoleTasks
|
|
3845
|
+
* @name UpdateLoanRoleTask
|
|
3846
|
+
* @summary Edit a queued task
|
|
3847
|
+
* @request PUT:/api/loans/{loanId}/role-tasks/{id}
|
|
3848
|
+
* @secure
|
|
3849
|
+
* @response `200` `LoanRoleTask` OK
|
|
3850
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3851
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3852
|
+
* @response `409` `ProblemDetails` Conflict
|
|
3853
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3854
|
+
*/
|
|
3855
|
+
updateLoanRoleTask: (loanId, id, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3856
|
+
/**
|
|
3857
|
+
* @description Removes a queued task from a borrower slot. The removal is remembered, so a later run of the rules does not queue the same template again.
|
|
3858
|
+
*
|
|
3859
|
+
* @tags LoanRoleTasks
|
|
3860
|
+
* @name DeleteLoanRoleTask
|
|
3861
|
+
* @summary Remove a queued task
|
|
3862
|
+
* @request DELETE:/api/loans/{loanId}/role-tasks/{id}
|
|
3863
|
+
* @secure
|
|
3864
|
+
* @response `204` `void` No Content
|
|
3865
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3866
|
+
* @response `409` `ProblemDetails` Conflict
|
|
3867
|
+
*/
|
|
3868
|
+
deleteLoanRoleTask: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "DELETE", secure: true }, params)),
|
|
3869
|
+
/**
|
|
3870
|
+
* @description Runs the account's business rules against the loan and queues what is missing. Templates already queued, and ones removed by staff, are left alone.
|
|
3871
|
+
*
|
|
3872
|
+
* @tags LoanRoleTasks
|
|
3873
|
+
* @name MaterializeLoanRoleTasks
|
|
3874
|
+
* @summary Queue the business rule defaults
|
|
3875
|
+
* @request POST:/api/loans/{loanId}/role-tasks/materialize
|
|
3876
|
+
* @secure
|
|
3877
|
+
* @response `200` `MaterializeLoanRoleTasks` OK
|
|
3878
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3879
|
+
*/
|
|
3880
|
+
materializeLoanRoleTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/materialize`, method: "POST", secure: true, format: "json" }, params)),
|
|
3776
3881
|
/**
|
|
3777
3882
|
* No description
|
|
3778
3883
|
*
|
|
@@ -3851,6 +3956,36 @@ export class Api extends HttpClient {
|
|
|
3851
3956
|
* @response `404` `ProblemDetails` Not Found
|
|
3852
3957
|
*/
|
|
3853
3958
|
completeBorrowerApplication: (loanId, borrowerId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/borrowers/${borrowerId}/complete`, method: "POST", secure: true }, params)),
|
|
3959
|
+
/**
|
|
3960
|
+
* No description
|
|
3961
|
+
*
|
|
3962
|
+
* @tags Loans
|
|
3963
|
+
* @name GetBorrowerApplicationSession
|
|
3964
|
+
* @summary Get borrower application session
|
|
3965
|
+
* @request GET:/api/loans/{loanId}/borrowers/{borrowerId}/application-session
|
|
3966
|
+
* @secure
|
|
3967
|
+
* @response `200` `LoanApplicationSession` OK
|
|
3968
|
+
* @response `400` `any` Bad Request
|
|
3969
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3970
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3971
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3972
|
+
*/
|
|
3973
|
+
getBorrowerApplicationSession: (loanId, borrowerId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/borrowers/${borrowerId}/application-session`, method: "GET", secure: true, format: "json" }, params)),
|
|
3974
|
+
/**
|
|
3975
|
+
* No description
|
|
3976
|
+
*
|
|
3977
|
+
* @tags Loans
|
|
3978
|
+
* @name UpdateBorrowerApplicationSession
|
|
3979
|
+
* @summary Update borrower application session
|
|
3980
|
+
* @request PUT:/api/loans/{loanId}/borrowers/{borrowerId}/application-session
|
|
3981
|
+
* @secure
|
|
3982
|
+
* @response `200` `LoanApplicationSession` OK
|
|
3983
|
+
* @response `400` `any` Bad Request
|
|
3984
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3985
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3986
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3987
|
+
*/
|
|
3988
|
+
updateBorrowerApplicationSession: (loanId, borrowerId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/borrowers/${borrowerId}/application-session`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3854
3989
|
/**
|
|
3855
3990
|
* No description
|
|
3856
3991
|
*
|
|
@@ -4178,6 +4313,7 @@ export class Api extends HttpClient {
|
|
|
4178
4313
|
* @request POST:/api/loans/{loanId}/users/{userId}
|
|
4179
4314
|
* @secure
|
|
4180
4315
|
* @response `201` `LoanUser` Created
|
|
4316
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4181
4317
|
*/
|
|
4182
4318
|
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4183
4319
|
/**
|