@matech/thebigpos-sdk 3.7.0-dev-3338 → 3.7.0-dev-3478
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 +176 -5
- package/dist/index.js +79 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +319 -5
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";
|
|
@@ -1421,6 +1423,15 @@ export interface CreateLoanImportRequest {
|
|
|
1421
1423
|
startDate: string;
|
|
1422
1424
|
importMode: CreateLoanImportRequestImportModeEnum;
|
|
1423
1425
|
}
|
|
1426
|
+
export interface CreateLoanRoleTaskRequest {
|
|
1427
|
+
/** @format uuid */
|
|
1428
|
+
taskId: string;
|
|
1429
|
+
role: CreateLoanRoleTaskRequestRoleEnum;
|
|
1430
|
+
/** @format int32 */
|
|
1431
|
+
borrowerPair: number;
|
|
1432
|
+
/** @format int32 */
|
|
1433
|
+
borrowerPosition: number;
|
|
1434
|
+
}
|
|
1424
1435
|
export interface CreateSession {
|
|
1425
1436
|
sessionId: string;
|
|
1426
1437
|
sessionUrl: string;
|
|
@@ -1834,6 +1845,7 @@ export interface EnabledServices {
|
|
|
1834
1845
|
ringCentral?: boolean | null;
|
|
1835
1846
|
socialSurvey?: boolean | null;
|
|
1836
1847
|
borrowerTasks?: boolean | null;
|
|
1848
|
+
preBorrowerTasks?: boolean | null;
|
|
1837
1849
|
docusign?: boolean | null;
|
|
1838
1850
|
emailNotifications?: boolean | null;
|
|
1839
1851
|
autoTaskReminders?: boolean | null;
|
|
@@ -2155,10 +2167,9 @@ export interface FormSubmission {
|
|
|
2155
2167
|
/** @format uuid */
|
|
2156
2168
|
siteConfigurationID: string;
|
|
2157
2169
|
siteConfiguration: SiteConfiguration;
|
|
2158
|
-
loanOfficerEmail?: string | null;
|
|
2159
2170
|
/** @format uuid */
|
|
2160
2171
|
loanOfficerID?: string | null;
|
|
2161
|
-
loanOfficer?:
|
|
2172
|
+
loanOfficer?: FormSubmissionLoanOfficer | null;
|
|
2162
2173
|
/** @format uuid */
|
|
2163
2174
|
branchID?: string | null;
|
|
2164
2175
|
branch?: GetBranch | null;
|
|
@@ -2179,6 +2190,13 @@ export interface FormSubmissionFile {
|
|
|
2179
2190
|
id: string;
|
|
2180
2191
|
file: File;
|
|
2181
2192
|
}
|
|
2193
|
+
export interface FormSubmissionLoanOfficer {
|
|
2194
|
+
/** @format uuid */
|
|
2195
|
+
id: string;
|
|
2196
|
+
firstName: string;
|
|
2197
|
+
lastName: string;
|
|
2198
|
+
title?: string | null;
|
|
2199
|
+
}
|
|
2182
2200
|
export interface FormSubmissionPaginated {
|
|
2183
2201
|
rows: FormSubmission[];
|
|
2184
2202
|
pagination: Pagination;
|
|
@@ -4108,6 +4126,52 @@ export interface LoanRefinanceRequest {
|
|
|
4108
4126
|
purpose?: LoanRefinancePurpose | null;
|
|
4109
4127
|
currentLoan?: LoanRefinanceCurrentLoanRequest | null;
|
|
4110
4128
|
}
|
|
4129
|
+
export interface LoanRoleSlotTasks {
|
|
4130
|
+
role: LoanRoleSlotTasksRoleEnum;
|
|
4131
|
+
/** @format int32 */
|
|
4132
|
+
borrowerPair: number;
|
|
4133
|
+
/** @format int32 */
|
|
4134
|
+
borrowerPosition: number;
|
|
4135
|
+
tasks: LoanRoleTask[];
|
|
4136
|
+
}
|
|
4137
|
+
export interface LoanRoleTask {
|
|
4138
|
+
/** @format uuid */
|
|
4139
|
+
id: string;
|
|
4140
|
+
/** @format uuid */
|
|
4141
|
+
loanId: string;
|
|
4142
|
+
role: LoanRoleTaskRoleEnum;
|
|
4143
|
+
/** @format int32 */
|
|
4144
|
+
borrowerPair: number;
|
|
4145
|
+
/** @format int32 */
|
|
4146
|
+
borrowerPosition: number;
|
|
4147
|
+
/** @format uuid */
|
|
4148
|
+
definitionTaskId: string;
|
|
4149
|
+
/** @format uuid */
|
|
4150
|
+
taskId: string;
|
|
4151
|
+
name: string;
|
|
4152
|
+
description?: string | null;
|
|
4153
|
+
type: LoanRoleTaskTypeEnum;
|
|
4154
|
+
losTarget?: string | null;
|
|
4155
|
+
/** @format int32 */
|
|
4156
|
+
daysDueFromApplication?: number | null;
|
|
4157
|
+
/** @format int32 */
|
|
4158
|
+
weight: number;
|
|
4159
|
+
willAutocompleteAfterResponse: boolean;
|
|
4160
|
+
/** @format uuid */
|
|
4161
|
+
loanDocumentFolderId?: string | null;
|
|
4162
|
+
/** @format date */
|
|
4163
|
+
dueDate?: string | null;
|
|
4164
|
+
source: LoanRoleTaskSourceEnum;
|
|
4165
|
+
isAttached: boolean;
|
|
4166
|
+
/** @format uuid */
|
|
4167
|
+
attachedUserLoanTaskId?: string | null;
|
|
4168
|
+
/** @format date-time */
|
|
4169
|
+
attachedAt?: string | null;
|
|
4170
|
+
/** @format uuid */
|
|
4171
|
+
createdById?: string | null;
|
|
4172
|
+
/** @format date-time */
|
|
4173
|
+
createdAt: string;
|
|
4174
|
+
}
|
|
4111
4175
|
export interface LoanSearchCriteria {
|
|
4112
4176
|
searchText?: string | null;
|
|
4113
4177
|
searchTerms?: string[] | null;
|
|
@@ -4136,6 +4200,7 @@ export interface LoanSearchCriteria {
|
|
|
4136
4200
|
closingFrom?: string | null;
|
|
4137
4201
|
/** @format date */
|
|
4138
4202
|
closingTo?: string | null;
|
|
4203
|
+
milestoneConfigurationIds?: string[] | null;
|
|
4139
4204
|
}
|
|
4140
4205
|
export interface LoanSettings {
|
|
4141
4206
|
excludeFromAutoTaskReminders: boolean;
|
|
@@ -4440,6 +4505,10 @@ export interface LosWebhookSigningKeySyncResult {
|
|
|
4440
4505
|
export interface ManualDocumentClassificationRequest {
|
|
4441
4506
|
documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
|
|
4442
4507
|
}
|
|
4508
|
+
export interface MaterializeLoanRoleTasks {
|
|
4509
|
+
/** @format int32 */
|
|
4510
|
+
rowsAdded: number;
|
|
4511
|
+
}
|
|
4443
4512
|
export interface MdmUser {
|
|
4444
4513
|
user_email?: string | null;
|
|
4445
4514
|
user_id?: string | null;
|
|
@@ -5792,6 +5861,8 @@ export interface Task {
|
|
|
5792
5861
|
isGlobal: boolean;
|
|
5793
5862
|
/** @format uuid */
|
|
5794
5863
|
id: string;
|
|
5864
|
+
/** @format uuid */
|
|
5865
|
+
sourceTaskID?: string | null;
|
|
5795
5866
|
user?: User | null;
|
|
5796
5867
|
isFromLegacySource: boolean;
|
|
5797
5868
|
usedInBusinessRule: boolean;
|
|
@@ -6111,6 +6182,16 @@ export interface UpdateLoanDocumentFolderRequest {
|
|
|
6111
6182
|
export interface UpdateLoanQueueRequest {
|
|
6112
6183
|
data: any;
|
|
6113
6184
|
}
|
|
6185
|
+
export interface UpdateLoanRoleTaskRequest {
|
|
6186
|
+
name?: string | null;
|
|
6187
|
+
description?: string | null;
|
|
6188
|
+
/** @format int32 */
|
|
6189
|
+
weight?: number | null;
|
|
6190
|
+
/** @format uuid */
|
|
6191
|
+
loanDocumentFolderId?: string | null;
|
|
6192
|
+
/** @format date */
|
|
6193
|
+
dueDate?: string | null;
|
|
6194
|
+
}
|
|
6114
6195
|
export interface UpdateMeRequest {
|
|
6115
6196
|
phone?: string | null;
|
|
6116
6197
|
firstName: string;
|
|
@@ -6481,6 +6562,12 @@ export interface UserLoanTaskUpdateRequest {
|
|
|
6481
6562
|
value?: string | null;
|
|
6482
6563
|
/** @format date */
|
|
6483
6564
|
dueDate?: string | null;
|
|
6565
|
+
name?: string | null;
|
|
6566
|
+
description?: string | null;
|
|
6567
|
+
/** @format int32 */
|
|
6568
|
+
weight?: number | null;
|
|
6569
|
+
/** @format uuid */
|
|
6570
|
+
loanDocumentFolderId?: string | null;
|
|
6484
6571
|
}
|
|
6485
6572
|
export interface UserMobilePhoneVerificationRequest {
|
|
6486
6573
|
code: string;
|
|
@@ -6654,6 +6741,7 @@ export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "
|
|
|
6654
6741
|
/** @deprecated */
|
|
6655
6742
|
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
6656
6743
|
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6744
|
+
export type CreateLoanRoleTaskRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6657
6745
|
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6658
6746
|
export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
6659
6747
|
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
@@ -6689,9 +6777,13 @@ export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed"
|
|
|
6689
6777
|
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6690
6778
|
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6691
6779
|
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6692
|
-
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6780
|
+
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
|
|
6693
6781
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6694
|
-
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6782
|
+
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
|
|
6783
|
+
export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6784
|
+
export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6785
|
+
export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
|
|
6786
|
+
export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
|
|
6695
6787
|
export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
6696
6788
|
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6697
6789
|
export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
|
|
@@ -10883,6 +10975,85 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10883
10975
|
* @response `404` `ProblemDetails` Not Found
|
|
10884
10976
|
*/
|
|
10885
10977
|
retryLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
10978
|
+
/**
|
|
10979
|
+
* No description
|
|
10980
|
+
*
|
|
10981
|
+
* @tags LoanRoleTasks
|
|
10982
|
+
* @name GetLoanRoleTasks
|
|
10983
|
+
* @summary Get queued tasks grouped by borrower slot
|
|
10984
|
+
* @request GET:/api/loans/{loanId}/role-tasks
|
|
10985
|
+
* @secure
|
|
10986
|
+
* @response `200` `(LoanRoleSlotTasks)[]` OK
|
|
10987
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10988
|
+
*/
|
|
10989
|
+
getLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleSlotTasks[], any, {}>>;
|
|
10990
|
+
/**
|
|
10991
|
+
* @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.
|
|
10992
|
+
*
|
|
10993
|
+
* @tags LoanRoleTasks
|
|
10994
|
+
* @name CreateLoanRoleTask
|
|
10995
|
+
* @summary Queue a task for a borrower slot
|
|
10996
|
+
* @request POST:/api/loans/{loanId}/role-tasks
|
|
10997
|
+
* @secure
|
|
10998
|
+
* @response `201` `LoanRoleTask` Created
|
|
10999
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
11000
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11001
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11002
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
11003
|
+
*/
|
|
11004
|
+
createLoanRoleTask: (loanId: string, data: CreateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
11005
|
+
/**
|
|
11006
|
+
* No description
|
|
11007
|
+
*
|
|
11008
|
+
* @tags LoanRoleTasks
|
|
11009
|
+
* @name GetLoanRoleTask
|
|
11010
|
+
* @summary Get a queued task
|
|
11011
|
+
* @request GET:/api/loans/{loanId}/role-tasks/{id}
|
|
11012
|
+
* @secure
|
|
11013
|
+
* @response `200` `LoanRoleTask` OK
|
|
11014
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11015
|
+
*/
|
|
11016
|
+
getLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
11017
|
+
/**
|
|
11018
|
+
* @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.
|
|
11019
|
+
*
|
|
11020
|
+
* @tags LoanRoleTasks
|
|
11021
|
+
* @name UpdateLoanRoleTask
|
|
11022
|
+
* @summary Edit a queued task
|
|
11023
|
+
* @request PUT:/api/loans/{loanId}/role-tasks/{id}
|
|
11024
|
+
* @secure
|
|
11025
|
+
* @response `200` `LoanRoleTask` OK
|
|
11026
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
11027
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11028
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11029
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
11030
|
+
*/
|
|
11031
|
+
updateLoanRoleTask: (loanId: string, id: string, data: UpdateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
|
|
11032
|
+
/**
|
|
11033
|
+
* @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.
|
|
11034
|
+
*
|
|
11035
|
+
* @tags LoanRoleTasks
|
|
11036
|
+
* @name DeleteLoanRoleTask
|
|
11037
|
+
* @summary Remove a queued task
|
|
11038
|
+
* @request DELETE:/api/loans/{loanId}/role-tasks/{id}
|
|
11039
|
+
* @secure
|
|
11040
|
+
* @response `204` `void` No Content
|
|
11041
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11042
|
+
* @response `409` `ProblemDetails` Conflict
|
|
11043
|
+
*/
|
|
11044
|
+
deleteLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
11045
|
+
/**
|
|
11046
|
+
* @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.
|
|
11047
|
+
*
|
|
11048
|
+
* @tags LoanRoleTasks
|
|
11049
|
+
* @name MaterializeLoanRoleTasks
|
|
11050
|
+
* @summary Queue the business rule defaults
|
|
11051
|
+
* @request POST:/api/loans/{loanId}/role-tasks/materialize
|
|
11052
|
+
* @secure
|
|
11053
|
+
* @response `200` `MaterializeLoanRoleTasks` OK
|
|
11054
|
+
* @response `404` `ProblemDetails` Not Found
|
|
11055
|
+
*/
|
|
11056
|
+
materializeLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<MaterializeLoanRoleTasks, any, {}>>;
|
|
10886
11057
|
/**
|
|
10887
11058
|
* No description
|
|
10888
11059
|
*
|
package/dist/index.js
CHANGED
|
@@ -3773,6 +3773,85 @@ 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)),
|
|
3776
3855
|
/**
|
|
3777
3856
|
* No description
|
|
3778
3857
|
*
|