@matech/thebigpos-sdk 3.7.0-pr-4910 → 3.7.0-pr-5083-3019
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 +18 -169
- package/dist/index.js +11 -90
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +28 -322
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
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";
|
|
4
3
|
export type TaskStatus = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
5
4
|
export type TableKey = "Pipeline";
|
|
6
5
|
export type SortDirection = "Asc" | "Desc";
|
|
@@ -20,7 +19,6 @@ export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
|
|
|
20
19
|
export type LoanTrustType = "Living" | "Land" | "Testamentary" | "Other";
|
|
21
20
|
export type LoanTitleHeld = "Sole" | "JointWithSpouse" | "JointWithOtherThanSpouse";
|
|
22
21
|
export type LoanTaskActivityFilter = "Active" | "Inactive" | "All";
|
|
23
|
-
export type LoanRoleTaskSource = "Rule" | "Manual";
|
|
24
22
|
export type LoanRole = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
25
23
|
export type LoanRefinancePurpose = "CashOutDebtConsolidation" | "CashOutHomeImprovement" | "CashOutOther" | "NoCashOut" | "LimitedCashOut";
|
|
26
24
|
export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
|
|
@@ -41,7 +39,7 @@ export type LoanNameSuffix = "Jr" | "Sr" | "II" | "III" | "IV" | "V" | "VI" | "V
|
|
|
41
39
|
export type LoanNamePrefix = "Mr" | "Mrs" | "Ms";
|
|
42
40
|
export type LoanMilitaryServiceType = "Current" | "RetiredDischargedSeparated" | "NonActivatedNationalGuard" | "SurvivingSpouse";
|
|
43
41
|
export type LoanMaritalStatus = "Married" | "Separated" | "Single";
|
|
44
|
-
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded"
|
|
42
|
+
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
45
43
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
46
44
|
export type LoanLiabilityType = "Revolving" | "Installment" | "Open30Day" | "Lease" | "Other";
|
|
47
45
|
export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other" | "DoNotWishToRespond";
|
|
@@ -99,7 +97,7 @@ export type AiPromptScope = "General" | "LoanSpecific";
|
|
|
99
97
|
export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
100
98
|
export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
101
99
|
export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
|
|
102
|
-
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";
|
|
100
|
+
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
101
|
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";
|
|
104
102
|
export interface ASOSettings {
|
|
105
103
|
enabled: boolean;
|
|
@@ -259,6 +257,7 @@ export interface AdminAccessUser {
|
|
|
259
257
|
loanIDs: string[];
|
|
260
258
|
drafts: Draft[];
|
|
261
259
|
notificationSettings?: UserNotificationSettings | null;
|
|
260
|
+
hasExtendedLoanVisibility: boolean;
|
|
262
261
|
/** @format uuid */
|
|
263
262
|
accountID?: string | null;
|
|
264
263
|
loans: UserLoan[];
|
|
@@ -1026,6 +1025,7 @@ export interface BranchUser {
|
|
|
1026
1025
|
loanIDs: string[];
|
|
1027
1026
|
drafts: Draft[];
|
|
1028
1027
|
notificationSettings?: UserNotificationSettings | null;
|
|
1028
|
+
hasExtendedLoanVisibility: boolean;
|
|
1029
1029
|
/** @format uuid */
|
|
1030
1030
|
branchID: string;
|
|
1031
1031
|
branchName: string;
|
|
@@ -1420,15 +1420,6 @@ export interface CreateLoanImportRequest {
|
|
|
1420
1420
|
startDate: string;
|
|
1421
1421
|
importMode: CreateLoanImportRequestImportModeEnum;
|
|
1422
1422
|
}
|
|
1423
|
-
export interface CreateLoanRoleTaskRequest {
|
|
1424
|
-
/** @format uuid */
|
|
1425
|
-
taskId: string;
|
|
1426
|
-
role: CreateLoanRoleTaskRequestRoleEnum;
|
|
1427
|
-
/** @format int32 */
|
|
1428
|
-
borrowerPair: number;
|
|
1429
|
-
/** @format int32 */
|
|
1430
|
-
borrowerPosition: number;
|
|
1431
|
-
}
|
|
1432
1423
|
export interface CreateSession {
|
|
1433
1424
|
sessionId: string;
|
|
1434
1425
|
sessionUrl: string;
|
|
@@ -1582,6 +1573,7 @@ export interface DetailedUser {
|
|
|
1582
1573
|
loanIDs: string[];
|
|
1583
1574
|
drafts: Draft[];
|
|
1584
1575
|
notificationSettings?: UserNotificationSettings | null;
|
|
1576
|
+
hasExtendedLoanVisibility: boolean;
|
|
1585
1577
|
}
|
|
1586
1578
|
export interface Device {
|
|
1587
1579
|
/** @format uuid */
|
|
@@ -1841,7 +1833,6 @@ export interface EnabledServices {
|
|
|
1841
1833
|
ringCentral?: boolean | null;
|
|
1842
1834
|
socialSurvey?: boolean | null;
|
|
1843
1835
|
borrowerTasks?: boolean | null;
|
|
1844
|
-
preBorrowerTasks?: boolean | null;
|
|
1845
1836
|
docusign?: boolean | null;
|
|
1846
1837
|
emailNotifications?: boolean | null;
|
|
1847
1838
|
autoTaskReminders?: boolean | null;
|
|
@@ -2415,6 +2406,7 @@ export interface ImpersonatedDetailedUser {
|
|
|
2415
2406
|
loanIDs: string[];
|
|
2416
2407
|
drafts: Draft[];
|
|
2417
2408
|
notificationSettings?: UserNotificationSettings | null;
|
|
2409
|
+
hasExtendedLoanVisibility: boolean;
|
|
2418
2410
|
/** @deprecated */
|
|
2419
2411
|
impersonatedBy?: string | null;
|
|
2420
2412
|
impersonatingUser?: User | null;
|
|
@@ -2425,6 +2417,11 @@ export interface ImportUserLoanTaskRequest {
|
|
|
2425
2417
|
/** @format uuid */
|
|
2426
2418
|
userID: string;
|
|
2427
2419
|
}
|
|
2420
|
+
export interface IncompleteApplicationSummary {
|
|
2421
|
+
/** @format int32 */
|
|
2422
|
+
total: number;
|
|
2423
|
+
borrowers: BorrowerIdentity[];
|
|
2424
|
+
}
|
|
2428
2425
|
export interface IntegrationSettings {
|
|
2429
2426
|
encompass?: EncompassIntegrationSettings | null;
|
|
2430
2427
|
}
|
|
@@ -3905,6 +3902,7 @@ export interface LoanOfficerPublic {
|
|
|
3905
3902
|
/** @format uuid */
|
|
3906
3903
|
corporateID?: string | null;
|
|
3907
3904
|
siteConfigurationIDs: string[];
|
|
3905
|
+
siteConfigurations: SiteConfigurationReduced[];
|
|
3908
3906
|
}
|
|
3909
3907
|
export interface LoanOfficerSearchCriteria {
|
|
3910
3908
|
searchText?: string | null;
|
|
@@ -3922,6 +3920,7 @@ export interface LoanOutstandingItems {
|
|
|
3922
3920
|
pendingInvites: PendingInvitesSummary;
|
|
3923
3921
|
creditAuthPending: CreditAuthPendingSummary;
|
|
3924
3922
|
econsentPending: EconsentPendingSummary;
|
|
3923
|
+
incompleteApplication: IncompleteApplicationSummary;
|
|
3925
3924
|
borrowersNotUsingPos: BorrowersNotUsingPosSummary;
|
|
3926
3925
|
}
|
|
3927
3926
|
export interface LoanPatchRequestGuidPatchDocument {
|
|
@@ -4105,52 +4104,6 @@ export interface LoanRefinanceRequest {
|
|
|
4105
4104
|
purpose?: LoanRefinancePurpose | null;
|
|
4106
4105
|
currentLoan?: LoanRefinanceCurrentLoanRequest | null;
|
|
4107
4106
|
}
|
|
4108
|
-
export interface LoanRoleSlotTasks {
|
|
4109
|
-
role: LoanRoleSlotTasksRoleEnum;
|
|
4110
|
-
/** @format int32 */
|
|
4111
|
-
borrowerPair: number;
|
|
4112
|
-
/** @format int32 */
|
|
4113
|
-
borrowerPosition: number;
|
|
4114
|
-
tasks: LoanRoleTask[];
|
|
4115
|
-
}
|
|
4116
|
-
export interface LoanRoleTask {
|
|
4117
|
-
/** @format uuid */
|
|
4118
|
-
id: string;
|
|
4119
|
-
/** @format uuid */
|
|
4120
|
-
loanId: string;
|
|
4121
|
-
role: LoanRoleTaskRoleEnum;
|
|
4122
|
-
/** @format int32 */
|
|
4123
|
-
borrowerPair: number;
|
|
4124
|
-
/** @format int32 */
|
|
4125
|
-
borrowerPosition: number;
|
|
4126
|
-
/** @format uuid */
|
|
4127
|
-
definitionTaskId: string;
|
|
4128
|
-
/** @format uuid */
|
|
4129
|
-
taskId: string;
|
|
4130
|
-
name: string;
|
|
4131
|
-
description?: string | null;
|
|
4132
|
-
type: LoanRoleTaskTypeEnum;
|
|
4133
|
-
losTarget?: string | null;
|
|
4134
|
-
/** @format int32 */
|
|
4135
|
-
daysDueFromApplication?: number | null;
|
|
4136
|
-
/** @format int32 */
|
|
4137
|
-
weight: number;
|
|
4138
|
-
willAutocompleteAfterResponse: boolean;
|
|
4139
|
-
/** @format uuid */
|
|
4140
|
-
loanDocumentFolderId?: string | null;
|
|
4141
|
-
/** @format date */
|
|
4142
|
-
dueDate?: string | null;
|
|
4143
|
-
source: LoanRoleTaskSourceEnum;
|
|
4144
|
-
isAttached: boolean;
|
|
4145
|
-
/** @format uuid */
|
|
4146
|
-
attachedUserLoanTaskId?: string | null;
|
|
4147
|
-
/** @format date-time */
|
|
4148
|
-
attachedAt?: string | null;
|
|
4149
|
-
/** @format uuid */
|
|
4150
|
-
createdById?: string | null;
|
|
4151
|
-
/** @format date-time */
|
|
4152
|
-
createdAt: string;
|
|
4153
|
-
}
|
|
4154
4107
|
export interface LoanSearchCriteria {
|
|
4155
4108
|
searchText?: string | null;
|
|
4156
4109
|
searchTerms?: string[] | null;
|
|
@@ -4467,10 +4420,6 @@ export interface LosWebhookSigningKeySyncResult {
|
|
|
4467
4420
|
export interface ManualDocumentClassificationRequest {
|
|
4468
4421
|
documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
|
|
4469
4422
|
}
|
|
4470
|
-
export interface MaterializeLoanRoleTasks {
|
|
4471
|
-
/** @format int32 */
|
|
4472
|
-
rowsAdded: number;
|
|
4473
|
-
}
|
|
4474
4423
|
export interface MdmUser {
|
|
4475
4424
|
user_email?: string | null;
|
|
4476
4425
|
user_id?: string | null;
|
|
@@ -5483,6 +5432,7 @@ export interface SiteConfigurationReduced {
|
|
|
5483
5432
|
nmlsid: number;
|
|
5484
5433
|
email?: string | null;
|
|
5485
5434
|
companyName?: string | null;
|
|
5435
|
+
licenses?: string[] | null;
|
|
5486
5436
|
/** @format date-time */
|
|
5487
5437
|
createdAt?: string | null;
|
|
5488
5438
|
/** @format date-time */
|
|
@@ -5676,6 +5626,7 @@ export interface SiteConfigurationSummary {
|
|
|
5676
5626
|
nmlsid: number;
|
|
5677
5627
|
email?: string | null;
|
|
5678
5628
|
companyName?: string | null;
|
|
5629
|
+
licenses?: string[] | null;
|
|
5679
5630
|
/** @format date-time */
|
|
5680
5631
|
createdAt?: string | null;
|
|
5681
5632
|
/** @format date-time */
|
|
@@ -5813,8 +5764,6 @@ export interface Task {
|
|
|
5813
5764
|
isGlobal: boolean;
|
|
5814
5765
|
/** @format uuid */
|
|
5815
5766
|
id: string;
|
|
5816
|
-
/** @format uuid */
|
|
5817
|
-
sourceTaskID?: string | null;
|
|
5818
5767
|
user?: User | null;
|
|
5819
5768
|
isFromLegacySource: boolean;
|
|
5820
5769
|
usedInBusinessRule: boolean;
|
|
@@ -6120,16 +6069,6 @@ export interface UpdateLoanDocumentFolderRequest {
|
|
|
6120
6069
|
export interface UpdateLoanQueueRequest {
|
|
6121
6070
|
data: any;
|
|
6122
6071
|
}
|
|
6123
|
-
export interface UpdateLoanRoleTaskRequest {
|
|
6124
|
-
name?: string | null;
|
|
6125
|
-
description?: string | null;
|
|
6126
|
-
/** @format int32 */
|
|
6127
|
-
weight?: number | null;
|
|
6128
|
-
/** @format uuid */
|
|
6129
|
-
loanDocumentFolderId?: string | null;
|
|
6130
|
-
/** @format date */
|
|
6131
|
-
dueDate?: string | null;
|
|
6132
|
-
}
|
|
6133
6072
|
export interface UpdateMeRequest {
|
|
6134
6073
|
phone?: string | null;
|
|
6135
6074
|
firstName: string;
|
|
@@ -6500,12 +6439,6 @@ export interface UserLoanTaskUpdateRequest {
|
|
|
6500
6439
|
value?: string | null;
|
|
6501
6440
|
/** @format date */
|
|
6502
6441
|
dueDate?: string | null;
|
|
6503
|
-
name?: string | null;
|
|
6504
|
-
description?: string | null;
|
|
6505
|
-
/** @format int32 */
|
|
6506
|
-
weight?: number | null;
|
|
6507
|
-
/** @format uuid */
|
|
6508
|
-
loanDocumentFolderId?: string | null;
|
|
6509
6442
|
}
|
|
6510
6443
|
export interface UserMobilePhoneVerificationRequest {
|
|
6511
6444
|
code: string;
|
|
@@ -6654,7 +6587,7 @@ export interface Workflow {
|
|
|
6654
6587
|
icon: string;
|
|
6655
6588
|
}
|
|
6656
6589
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
6657
|
-
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";
|
|
6590
|
+
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";
|
|
6658
6591
|
export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
|
|
6659
6592
|
export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
|
|
6660
6593
|
export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
@@ -6679,7 +6612,6 @@ export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "
|
|
|
6679
6612
|
/** @deprecated */
|
|
6680
6613
|
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
6681
6614
|
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6682
|
-
export type CreateLoanRoleTaskRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6683
6615
|
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6684
6616
|
export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
6685
6617
|
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
@@ -6715,13 +6647,9 @@ export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed"
|
|
|
6715
6647
|
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6716
6648
|
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6717
6649
|
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6718
|
-
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded"
|
|
6650
|
+
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6719
6651
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6720
|
-
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded"
|
|
6721
|
-
export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6722
|
-
export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6723
|
-
export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
|
|
6724
|
-
export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
|
|
6652
|
+
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6725
6653
|
export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
6726
6654
|
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6727
6655
|
export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
|
|
@@ -10913,85 +10841,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10913
10841
|
* @response `404` `ProblemDetails` Not Found
|
|
10914
10842
|
*/
|
|
10915
10843
|
retryLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
10916
|
-
/**
|
|
10917
|
-
* No description
|
|
10918
|
-
*
|
|
10919
|
-
* @tags LoanRoleTasks
|
|
10920
|
-
* @name GetLoanRoleTasks
|
|
10921
|
-
* @summary Get queued tasks grouped by borrower slot
|
|
10922
|
-
* @request GET:/api/loans/{loanId}/role-tasks
|
|
10923
|
-
* @secure
|
|
10924
|
-
* @response `200` `(LoanRoleSlotTasks)[]` OK
|
|
10925
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10926
|
-
*/
|
|
10927
|
-
getLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleSlotTasks[], any, {}>>;
|
|
10928
|
-
/**
|
|
10929
|
-
* @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.
|
|
10930
|
-
*
|
|
10931
|
-
* @tags LoanRoleTasks
|
|
10932
|
-
* @name CreateLoanRoleTask
|
|
10933
|
-
* @summary Queue a task for a borrower slot
|
|
10934
|
-
* @request POST:/api/loans/{loanId}/role-tasks
|
|
10935
|
-
* @secure
|
|
10936
|
-
* @response `201` `LoanRoleTask` Created
|
|
10937
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
10938
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10939
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10940
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
10941
|
-
*/
|
|
10942
|
-
createLoanRoleTask: (loanId: string, data: CreateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
10943
|
-
/**
|
|
10944
|
-
* No description
|
|
10945
|
-
*
|
|
10946
|
-
* @tags LoanRoleTasks
|
|
10947
|
-
* @name GetLoanRoleTask
|
|
10948
|
-
* @summary Get a queued task
|
|
10949
|
-
* @request GET:/api/loans/{loanId}/role-tasks/{id}
|
|
10950
|
-
* @secure
|
|
10951
|
-
* @response `200` `LoanRoleTask` OK
|
|
10952
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10953
|
-
*/
|
|
10954
|
-
getLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
10955
|
-
/**
|
|
10956
|
-
* @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.
|
|
10957
|
-
*
|
|
10958
|
-
* @tags LoanRoleTasks
|
|
10959
|
-
* @name UpdateLoanRoleTask
|
|
10960
|
-
* @summary Edit a queued task
|
|
10961
|
-
* @request PUT:/api/loans/{loanId}/role-tasks/{id}
|
|
10962
|
-
* @secure
|
|
10963
|
-
* @response `200` `LoanRoleTask` OK
|
|
10964
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
10965
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10966
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10967
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
10968
|
-
*/
|
|
10969
|
-
updateLoanRoleTask: (loanId: string, id: string, data: UpdateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
10970
|
-
/**
|
|
10971
|
-
* @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.
|
|
10972
|
-
*
|
|
10973
|
-
* @tags LoanRoleTasks
|
|
10974
|
-
* @name DeleteLoanRoleTask
|
|
10975
|
-
* @summary Remove a queued task
|
|
10976
|
-
* @request DELETE:/api/loans/{loanId}/role-tasks/{id}
|
|
10977
|
-
* @secure
|
|
10978
|
-
* @response `204` `void` No Content
|
|
10979
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10980
|
-
* @response `409` `ProblemDetails` Conflict
|
|
10981
|
-
*/
|
|
10982
|
-
deleteLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
10983
|
-
/**
|
|
10984
|
-
* @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.
|
|
10985
|
-
*
|
|
10986
|
-
* @tags LoanRoleTasks
|
|
10987
|
-
* @name MaterializeLoanRoleTasks
|
|
10988
|
-
* @summary Queue the business rule defaults
|
|
10989
|
-
* @request POST:/api/loans/{loanId}/role-tasks/materialize
|
|
10990
|
-
* @secure
|
|
10991
|
-
* @response `200` `MaterializeLoanRoleTasks` OK
|
|
10992
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10993
|
-
*/
|
|
10994
|
-
materializeLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<MaterializeLoanRoleTasks, any, {}>>;
|
|
10995
10844
|
/**
|
|
10996
10845
|
* No description
|
|
10997
10846
|
*
|
package/dist/index.js
CHANGED
|
@@ -390,7 +390,7 @@ export class Api extends HttpClient {
|
|
|
390
390
|
* @response `200` `AiPrompt` OK
|
|
391
391
|
* @response `404` `ProblemDetails` Not Found
|
|
392
392
|
*/
|
|
393
|
-
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true,
|
|
393
|
+
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
394
394
|
/**
|
|
395
395
|
* No description
|
|
396
396
|
*
|
|
@@ -563,7 +563,7 @@ export class Api extends HttpClient {
|
|
|
563
563
|
* @response `200` `AiCanonicalField` OK
|
|
564
564
|
* @response `404` `ProblemDetails` Not Found
|
|
565
565
|
*/
|
|
566
|
-
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true,
|
|
566
|
+
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
567
567
|
/**
|
|
568
568
|
* No description
|
|
569
569
|
*
|
|
@@ -639,7 +639,7 @@ export class Api extends HttpClient {
|
|
|
639
639
|
* @response `403` `ProblemDetails` Forbidden
|
|
640
640
|
* @response `404` `ProblemDetails` Not Found
|
|
641
641
|
*/
|
|
642
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
642
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
643
643
|
/**
|
|
644
644
|
* No description
|
|
645
645
|
*
|
|
@@ -799,7 +799,7 @@ export class Api extends HttpClient {
|
|
|
799
799
|
* @response `200` `AiGuardrail` OK
|
|
800
800
|
* @response `404` `ProblemDetails` Not Found
|
|
801
801
|
*/
|
|
802
|
-
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true,
|
|
802
|
+
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
803
803
|
/**
|
|
804
804
|
* No description
|
|
805
805
|
*
|
|
@@ -988,7 +988,7 @@ export class Api extends HttpClient {
|
|
|
988
988
|
* @response `200` `AiUrlSource` OK
|
|
989
989
|
* @response `404` `ProblemDetails` Not Found
|
|
990
990
|
*/
|
|
991
|
-
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true,
|
|
991
|
+
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
992
992
|
/**
|
|
993
993
|
* No description
|
|
994
994
|
*
|
|
@@ -2708,7 +2708,7 @@ export class Api extends HttpClient {
|
|
|
2708
2708
|
* @response `200` `string` OK
|
|
2709
2709
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2710
2710
|
*/
|
|
2711
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2711
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2712
2712
|
/**
|
|
2713
2713
|
* No description
|
|
2714
2714
|
*
|
|
@@ -2758,7 +2758,7 @@ export class Api extends HttpClient {
|
|
|
2758
2758
|
* @response `200` `string` OK
|
|
2759
2759
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2760
2760
|
*/
|
|
2761
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2761
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2762
2762
|
/**
|
|
2763
2763
|
* No description
|
|
2764
2764
|
*
|
|
@@ -2771,7 +2771,7 @@ export class Api extends HttpClient {
|
|
|
2771
2771
|
* @response `202` `string` Accepted
|
|
2772
2772
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2773
2773
|
*/
|
|
2774
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2774
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2775
2775
|
/**
|
|
2776
2776
|
* No description
|
|
2777
2777
|
*
|
|
@@ -2862,7 +2862,7 @@ export class Api extends HttpClient {
|
|
|
2862
2862
|
* @secure
|
|
2863
2863
|
* @response `200` `ListingFile` OK
|
|
2864
2864
|
*/
|
|
2865
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2865
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2866
2866
|
/**
|
|
2867
2867
|
* No description
|
|
2868
2868
|
*
|
|
@@ -2895,7 +2895,7 @@ export class Api extends HttpClient {
|
|
|
2895
2895
|
* @secure
|
|
2896
2896
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2897
2897
|
*/
|
|
2898
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2898
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2899
2899
|
/**
|
|
2900
2900
|
* No description
|
|
2901
2901
|
*
|
|
@@ -3773,85 +3773,6 @@ 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 LoanRoleTasks
|
|
3780
|
-
* @name GetLoanRoleTasks
|
|
3781
|
-
* @summary Get queued tasks grouped by borrower slot
|
|
3782
|
-
* @request GET:/api/loans/{loanId}/role-tasks
|
|
3783
|
-
* @secure
|
|
3784
|
-
* @response `200` `(LoanRoleSlotTasks)[]` OK
|
|
3785
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3786
|
-
*/
|
|
3787
|
-
getLoanRoleTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks`, method: "GET", secure: true, format: "json" }, params)),
|
|
3788
|
-
/**
|
|
3789
|
-
* @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.
|
|
3790
|
-
*
|
|
3791
|
-
* @tags LoanRoleTasks
|
|
3792
|
-
* @name CreateLoanRoleTask
|
|
3793
|
-
* @summary Queue a task for a borrower slot
|
|
3794
|
-
* @request POST:/api/loans/{loanId}/role-tasks
|
|
3795
|
-
* @secure
|
|
3796
|
-
* @response `201` `LoanRoleTask` Created
|
|
3797
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
3798
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3799
|
-
* @response `409` `ProblemDetails` Conflict
|
|
3800
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3801
|
-
*/
|
|
3802
|
-
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)),
|
|
3803
|
-
/**
|
|
3804
|
-
* No description
|
|
3805
|
-
*
|
|
3806
|
-
* @tags LoanRoleTasks
|
|
3807
|
-
* @name GetLoanRoleTask
|
|
3808
|
-
* @summary Get a queued task
|
|
3809
|
-
* @request GET:/api/loans/{loanId}/role-tasks/{id}
|
|
3810
|
-
* @secure
|
|
3811
|
-
* @response `200` `LoanRoleTask` OK
|
|
3812
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3813
|
-
*/
|
|
3814
|
-
getLoanRoleTask: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
3815
|
-
/**
|
|
3816
|
-
* @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.
|
|
3817
|
-
*
|
|
3818
|
-
* @tags LoanRoleTasks
|
|
3819
|
-
* @name UpdateLoanRoleTask
|
|
3820
|
-
* @summary Edit a queued task
|
|
3821
|
-
* @request PUT:/api/loans/{loanId}/role-tasks/{id}
|
|
3822
|
-
* @secure
|
|
3823
|
-
* @response `200` `LoanRoleTask` OK
|
|
3824
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
3825
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3826
|
-
* @response `409` `ProblemDetails` Conflict
|
|
3827
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3828
|
-
*/
|
|
3829
|
-
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)),
|
|
3830
|
-
/**
|
|
3831
|
-
* @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.
|
|
3832
|
-
*
|
|
3833
|
-
* @tags LoanRoleTasks
|
|
3834
|
-
* @name DeleteLoanRoleTask
|
|
3835
|
-
* @summary Remove a queued task
|
|
3836
|
-
* @request DELETE:/api/loans/{loanId}/role-tasks/{id}
|
|
3837
|
-
* @secure
|
|
3838
|
-
* @response `204` `void` No Content
|
|
3839
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3840
|
-
* @response `409` `ProblemDetails` Conflict
|
|
3841
|
-
*/
|
|
3842
|
-
deleteLoanRoleTask: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "DELETE", secure: true }, params)),
|
|
3843
|
-
/**
|
|
3844
|
-
* @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.
|
|
3845
|
-
*
|
|
3846
|
-
* @tags LoanRoleTasks
|
|
3847
|
-
* @name MaterializeLoanRoleTasks
|
|
3848
|
-
* @summary Queue the business rule defaults
|
|
3849
|
-
* @request POST:/api/loans/{loanId}/role-tasks/materialize
|
|
3850
|
-
* @secure
|
|
3851
|
-
* @response `200` `MaterializeLoanRoleTasks` OK
|
|
3852
|
-
* @response `404` `ProblemDetails` Not Found
|
|
3853
|
-
*/
|
|
3854
|
-
materializeLoanRoleTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/materialize`, method: "POST", secure: true, format: "json" }, params)),
|
|
3855
3776
|
/**
|
|
3856
3777
|
* No description
|
|
3857
3778
|
*
|
|
@@ -3916,7 +3837,7 @@ export class Api extends HttpClient {
|
|
|
3916
3837
|
* @response `409` `any` Conflict
|
|
3917
3838
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3918
3839
|
*/
|
|
3919
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3840
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3920
3841
|
/**
|
|
3921
3842
|
* No description
|
|
3922
3843
|
*
|