@matech/thebigpos-sdk 3.7.0-dev-3489 → 3.7.0-main-3537
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 +3 -169
- package/dist/index.js +0 -80
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +4 -312
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";
|
|
@@ -1423,15 +1421,6 @@ export interface CreateLoanImportRequest {
|
|
|
1423
1421
|
startDate: string;
|
|
1424
1422
|
importMode: CreateLoanImportRequestImportModeEnum;
|
|
1425
1423
|
}
|
|
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
|
-
}
|
|
1435
1424
|
export interface CreateSession {
|
|
1436
1425
|
sessionId: string;
|
|
1437
1426
|
sessionUrl: string;
|
|
@@ -1845,7 +1834,6 @@ export interface EnabledServices {
|
|
|
1845
1834
|
ringCentral?: boolean | null;
|
|
1846
1835
|
socialSurvey?: boolean | null;
|
|
1847
1836
|
borrowerTasks?: boolean | null;
|
|
1848
|
-
preBorrowerTasks?: boolean | null;
|
|
1849
1837
|
docusign?: boolean | null;
|
|
1850
1838
|
emailNotifications?: boolean | null;
|
|
1851
1839
|
autoTaskReminders?: boolean | null;
|
|
@@ -4126,52 +4114,6 @@ export interface LoanRefinanceRequest {
|
|
|
4126
4114
|
purpose?: LoanRefinancePurpose | null;
|
|
4127
4115
|
currentLoan?: LoanRefinanceCurrentLoanRequest | null;
|
|
4128
4116
|
}
|
|
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
|
-
}
|
|
4175
4117
|
export interface LoanSearchCriteria {
|
|
4176
4118
|
searchText?: string | null;
|
|
4177
4119
|
searchTerms?: string[] | null;
|
|
@@ -4200,7 +4142,6 @@ export interface LoanSearchCriteria {
|
|
|
4200
4142
|
closingFrom?: string | null;
|
|
4201
4143
|
/** @format date */
|
|
4202
4144
|
closingTo?: string | null;
|
|
4203
|
-
milestoneConfigurationIds?: string[] | null;
|
|
4204
4145
|
}
|
|
4205
4146
|
export interface LoanSettings {
|
|
4206
4147
|
excludeFromAutoTaskReminders: boolean;
|
|
@@ -4505,10 +4446,6 @@ export interface LosWebhookSigningKeySyncResult {
|
|
|
4505
4446
|
export interface ManualDocumentClassificationRequest {
|
|
4506
4447
|
documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
|
|
4507
4448
|
}
|
|
4508
|
-
export interface MaterializeLoanRoleTasks {
|
|
4509
|
-
/** @format int32 */
|
|
4510
|
-
rowsAdded: number;
|
|
4511
|
-
}
|
|
4512
4449
|
export interface MdmUser {
|
|
4513
4450
|
user_email?: string | null;
|
|
4514
4451
|
user_id?: string | null;
|
|
@@ -5861,8 +5798,6 @@ export interface Task {
|
|
|
5861
5798
|
isGlobal: boolean;
|
|
5862
5799
|
/** @format uuid */
|
|
5863
5800
|
id: string;
|
|
5864
|
-
/** @format uuid */
|
|
5865
|
-
sourceTaskID?: string | null;
|
|
5866
5801
|
user?: User | null;
|
|
5867
5802
|
isFromLegacySource: boolean;
|
|
5868
5803
|
usedInBusinessRule: boolean;
|
|
@@ -6182,16 +6117,6 @@ export interface UpdateLoanDocumentFolderRequest {
|
|
|
6182
6117
|
export interface UpdateLoanQueueRequest {
|
|
6183
6118
|
data: any;
|
|
6184
6119
|
}
|
|
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
|
-
}
|
|
6195
6120
|
export interface UpdateMeRequest {
|
|
6196
6121
|
phone?: string | null;
|
|
6197
6122
|
firstName: string;
|
|
@@ -6562,12 +6487,6 @@ export interface UserLoanTaskUpdateRequest {
|
|
|
6562
6487
|
value?: string | null;
|
|
6563
6488
|
/** @format date */
|
|
6564
6489
|
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;
|
|
6571
6490
|
}
|
|
6572
6491
|
export interface UserMobilePhoneVerificationRequest {
|
|
6573
6492
|
code: string;
|
|
@@ -6741,7 +6660,6 @@ export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "
|
|
|
6741
6660
|
/** @deprecated */
|
|
6742
6661
|
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
6743
6662
|
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6744
|
-
export type CreateLoanRoleTaskRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6745
6663
|
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6746
6664
|
export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
6747
6665
|
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
@@ -6777,13 +6695,9 @@ export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed"
|
|
|
6777
6695
|
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
6778
6696
|
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6779
6697
|
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6780
|
-
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded"
|
|
6698
|
+
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6781
6699
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
6782
|
-
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded"
|
|
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";
|
|
6700
|
+
export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
|
|
6787
6701
|
export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
6788
6702
|
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
6789
6703
|
export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
|
|
@@ -10975,85 +10889,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10975
10889
|
* @response `404` `ProblemDetails` Not Found
|
|
10976
10890
|
*/
|
|
10977
10891
|
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, {}>>;
|
|
11057
10892
|
/**
|
|
11058
10893
|
* No description
|
|
11059
10894
|
*
|
|
@@ -11488,7 +11323,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11488
11323
|
* @request POST:/api/loans/{loanId}/users/{userId}
|
|
11489
11324
|
* @secure
|
|
11490
11325
|
* @response `201` `LoanUser` Created
|
|
11491
|
-
* @response `404` `ProblemDetails` Not Found
|
|
11492
11326
|
*/
|
|
11493
11327
|
addLoanUser: (loanId: string, userId: string, data: CreateUserLoan, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any, {}>>;
|
|
11494
11328
|
/**
|
package/dist/index.js
CHANGED
|
@@ -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
|
*
|
|
@@ -4257,7 +4178,6 @@ export class Api extends HttpClient {
|
|
|
4257
4178
|
* @request POST:/api/loans/{loanId}/users/{userId}
|
|
4258
4179
|
* @secure
|
|
4259
4180
|
* @response `201` `LoanUser` Created
|
|
4260
|
-
* @response `404` `ProblemDetails` Not Found
|
|
4261
4181
|
*/
|
|
4262
4182
|
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)),
|
|
4263
4183
|
/**
|