@matech/thebigpos-sdk 2.13.0-rc1 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +1 -1
- package/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/index.d.ts +158 -30
- package/dist/index.js +68 -18
- package/dist/index.js.map +1 -1
- package/package.json +40 -40
- package/src/index.ts +243 -42
- package/tsconfig.json +27 -27
package/.husky/pre-commit
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
yarn build
|
|
1
|
+
yarn build
|
|
2
2
|
git add .
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Mortgage Automation Technologies
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Mortgage Automation Technologies
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
# The BIG POS Typescript SDK
|
|
2
|
-
|
|
3
|
-
## Installation
|
|
4
|
-
Using npm:
|
|
5
|
-
|
|
6
|
-
```bash
|
|
7
|
-
$ npm install @matech/thebigpos-sdk
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
Using yarn:
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
$ yarn add @matech/thebigpos-sdk
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Quick Start
|
|
17
|
-
```js
|
|
18
|
-
import { Api } from "@matech/thebigpos-sdk";
|
|
19
|
-
|
|
20
|
-
const securityWorker = (data: any) => {
|
|
21
|
-
return { headers: data }
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const setBearerSecurityWorker = (accessToken:string) => {
|
|
25
|
-
const data = {
|
|
26
|
-
Authorization: `Bearer ${accessToken}`
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
apiClient.setSecurityData(data);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const apiClient = new Api({
|
|
33
|
-
baseURL:
|
|
34
|
-
process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
|
|
35
|
-
securityWorker,
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
apiClient.api.getSiteConfiguration().then((response) => {
|
|
39
|
-
console.log(response.data);
|
|
40
|
-
});
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
____
|
|
44
|
-
© 2024 Mortgage Automation Technologies. All rights reserved
|
|
1
|
+
# The BIG POS Typescript SDK
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
Using npm:
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
$ npm install @matech/thebigpos-sdk
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Using yarn:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
$ yarn add @matech/thebigpos-sdk
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Quick Start
|
|
17
|
+
```js
|
|
18
|
+
import { Api } from "@matech/thebigpos-sdk";
|
|
19
|
+
|
|
20
|
+
const securityWorker = (data: any) => {
|
|
21
|
+
return { headers: data }
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const setBearerSecurityWorker = (accessToken:string) => {
|
|
25
|
+
const data = {
|
|
26
|
+
Authorization: `Bearer ${accessToken}`
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
apiClient.setSecurityData(data);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const apiClient = new Api({
|
|
33
|
+
baseURL:
|
|
34
|
+
process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
|
|
35
|
+
securityWorker,
|
|
36
|
+
})
|
|
37
|
+
|
|
38
|
+
apiClient.api.getSiteConfiguration().then((response) => {
|
|
39
|
+
console.log(response.data);
|
|
40
|
+
});
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
____
|
|
44
|
+
© 2024 Mortgage Automation Technologies. All rights reserved
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface ASOSettings {
|
|
|
17
17
|
preApproval: boolean;
|
|
18
18
|
preQualification: boolean;
|
|
19
19
|
mi: boolean;
|
|
20
|
-
|
|
20
|
+
miRadian: boolean;
|
|
21
21
|
miEssent: boolean;
|
|
22
22
|
miNational: boolean;
|
|
23
23
|
miEnact: boolean;
|
|
@@ -84,6 +84,30 @@ export interface AddressRequest {
|
|
|
84
84
|
/** @minLength 1 */
|
|
85
85
|
postalCode: string;
|
|
86
86
|
}
|
|
87
|
+
export interface AdminAccessGetForm {
|
|
88
|
+
/** @format date-time */
|
|
89
|
+
createdAt?: string | null;
|
|
90
|
+
/** @format date-time */
|
|
91
|
+
updatedAt?: string | null;
|
|
92
|
+
/** @format date-time */
|
|
93
|
+
deletedAt?: string | null;
|
|
94
|
+
/** @format uuid */
|
|
95
|
+
id: string;
|
|
96
|
+
formJSON: any;
|
|
97
|
+
/** @format int32 */
|
|
98
|
+
type: number;
|
|
99
|
+
target: string;
|
|
100
|
+
authType: string;
|
|
101
|
+
name: string;
|
|
102
|
+
isDefault: boolean;
|
|
103
|
+
description?: string | null;
|
|
104
|
+
slug?: string | null;
|
|
105
|
+
status: string;
|
|
106
|
+
language?: string | null;
|
|
107
|
+
showProgressBar: boolean;
|
|
108
|
+
borrowerType?: BorrowerType | null;
|
|
109
|
+
versions: FormVersion[];
|
|
110
|
+
}
|
|
87
111
|
export interface AdminAccessGetForms {
|
|
88
112
|
/** @format date-time */
|
|
89
113
|
createdAt?: string | null;
|
|
@@ -146,6 +170,8 @@ export interface AllowImpersonationRequest {
|
|
|
146
170
|
email: string;
|
|
147
171
|
}
|
|
148
172
|
export interface ApplicationRowData {
|
|
173
|
+
buyerAgent?: LoanContact | null;
|
|
174
|
+
titleInsuranceAgent?: LoanContact | null;
|
|
149
175
|
borrowerEmail?: string | null;
|
|
150
176
|
borrowerFirstName?: string | null;
|
|
151
177
|
borrowerLastName?: string | null;
|
|
@@ -191,11 +217,9 @@ export interface ApplicationRowData {
|
|
|
191
217
|
subjectPropertyState?: string | null;
|
|
192
218
|
subjectPropertyZip?: string | null;
|
|
193
219
|
loanPurpose?: string | null;
|
|
194
|
-
buyerAgent?: LoanContact | null;
|
|
195
220
|
sellerAgent?: LoanContact | null;
|
|
196
221
|
settlementAgent?: LoanContact | null;
|
|
197
222
|
escrowAgent?: LoanContact | null;
|
|
198
|
-
titleInsuranceAgent?: LoanContact | null;
|
|
199
223
|
}
|
|
200
224
|
export interface Attachment {
|
|
201
225
|
fileName: string;
|
|
@@ -712,11 +736,13 @@ export interface DraftContentPaginated {
|
|
|
712
736
|
/** @format int64 */
|
|
713
737
|
count: number;
|
|
714
738
|
}
|
|
739
|
+
export interface DraftLoanOfficerReassignRequest {
|
|
740
|
+
/** @format uuid */
|
|
741
|
+
loanOfficerID: string;
|
|
742
|
+
}
|
|
715
743
|
export interface DraftRequest {
|
|
716
744
|
applicationPayload: any;
|
|
717
745
|
customData?: any;
|
|
718
|
-
/** @format uuid */
|
|
719
|
-
loanOfficerID?: string | null;
|
|
720
746
|
}
|
|
721
747
|
export interface EConsentInformation {
|
|
722
748
|
status: string;
|
|
@@ -1437,12 +1463,30 @@ export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
|
|
|
1437
1463
|
export interface LoanQueueSearchCriteria {
|
|
1438
1464
|
searchText?: string | null;
|
|
1439
1465
|
loanID?: string | null;
|
|
1440
|
-
isActive?: boolean | null;
|
|
1441
1466
|
type?: LoanQueueType | null;
|
|
1442
1467
|
status?: LOSStatus | null;
|
|
1443
1468
|
reason?: LoanQueueReason | null;
|
|
1444
1469
|
}
|
|
1445
|
-
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
|
|
1470
|
+
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
|
|
1471
|
+
export interface LoanQueueWithData {
|
|
1472
|
+
/** @format date-time */
|
|
1473
|
+
createdAt: string;
|
|
1474
|
+
/** @format date-time */
|
|
1475
|
+
updatedAt?: string | null;
|
|
1476
|
+
/** @format date-time */
|
|
1477
|
+
deletedAt?: string | null;
|
|
1478
|
+
/** @format uuid */
|
|
1479
|
+
id: string;
|
|
1480
|
+
loanID?: string | null;
|
|
1481
|
+
type: string;
|
|
1482
|
+
reason: string;
|
|
1483
|
+
status: string;
|
|
1484
|
+
details?: string | null;
|
|
1485
|
+
user: UserPublic;
|
|
1486
|
+
loanOfficer: LoanOfficerPublic;
|
|
1487
|
+
siteConfiguration: SiteConfigurationReduced;
|
|
1488
|
+
data: any;
|
|
1489
|
+
}
|
|
1446
1490
|
export interface LoanRecord {
|
|
1447
1491
|
loanGuid: string;
|
|
1448
1492
|
loanFields: Record<string, string>;
|
|
@@ -1848,6 +1892,7 @@ export interface RunLOCalculation {
|
|
|
1848
1892
|
canGeneratePreQual: boolean;
|
|
1849
1893
|
canGeneratePreApproval: boolean;
|
|
1850
1894
|
preApprovalNotes?: string | null;
|
|
1895
|
+
additionalPreApprovalNotes?: string | null;
|
|
1851
1896
|
downPaymentAmount?: string | null;
|
|
1852
1897
|
downPaymentPercent?: string | null;
|
|
1853
1898
|
lienType?: string | null;
|
|
@@ -1883,6 +1928,7 @@ export interface RunLOCalculationRequest {
|
|
|
1883
1928
|
/** @minLength 1 */
|
|
1884
1929
|
lienType: string;
|
|
1885
1930
|
preApprovalNotes?: string | null;
|
|
1931
|
+
additionalPreApprovalNotes?: string | null;
|
|
1886
1932
|
}
|
|
1887
1933
|
export interface SSOToken {
|
|
1888
1934
|
/** @format uuid */
|
|
@@ -2565,6 +2611,26 @@ export interface Task {
|
|
|
2565
2611
|
willAutocompleteAfterResponse: boolean;
|
|
2566
2612
|
hasAutoPropagationOnAdd: boolean;
|
|
2567
2613
|
}
|
|
2614
|
+
export interface TaskComment {
|
|
2615
|
+
/** @format uuid */
|
|
2616
|
+
id: string;
|
|
2617
|
+
comment: string;
|
|
2618
|
+
createdBy: UserBase;
|
|
2619
|
+
/** @format date-time */
|
|
2620
|
+
createdAt: string;
|
|
2621
|
+
}
|
|
2622
|
+
export interface TaskCommentPaginated {
|
|
2623
|
+
rows: TaskComment[];
|
|
2624
|
+
pagination: Pagination;
|
|
2625
|
+
/** @format int64 */
|
|
2626
|
+
count: number;
|
|
2627
|
+
}
|
|
2628
|
+
export interface TaskCommentRequest {
|
|
2629
|
+
comment: string;
|
|
2630
|
+
}
|
|
2631
|
+
export interface TaskCommentSearchCriteria {
|
|
2632
|
+
searchText?: string | null;
|
|
2633
|
+
}
|
|
2568
2634
|
export interface TaskPaginated {
|
|
2569
2635
|
rows: Task[];
|
|
2570
2636
|
pagination: Pagination;
|
|
@@ -2749,6 +2815,9 @@ export interface UpdateListingPhotoRequest {
|
|
|
2749
2815
|
/** @format int32 */
|
|
2750
2816
|
weight: number;
|
|
2751
2817
|
}
|
|
2818
|
+
export interface UpdateLoanQueueRequest {
|
|
2819
|
+
data: any;
|
|
2820
|
+
}
|
|
2752
2821
|
export interface UpdateMeRequest {
|
|
2753
2822
|
phone?: string | null;
|
|
2754
2823
|
/**
|
|
@@ -2841,6 +2910,8 @@ export interface UserLoanTask {
|
|
|
2841
2910
|
createdBy: User;
|
|
2842
2911
|
submittedBy?: User | null;
|
|
2843
2912
|
completedBy?: User | null;
|
|
2913
|
+
/** @format int32 */
|
|
2914
|
+
commentsCount: number;
|
|
2844
2915
|
}
|
|
2845
2916
|
export interface UserLoanTaskRequest {
|
|
2846
2917
|
value?: string | null;
|
|
@@ -3820,7 +3891,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3820
3891
|
* @request POST:/api/forms
|
|
3821
3892
|
* @secure
|
|
3822
3893
|
*/
|
|
3823
|
-
createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<
|
|
3894
|
+
createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3824
3895
|
/**
|
|
3825
3896
|
* No description
|
|
3826
3897
|
*
|
|
@@ -3830,7 +3901,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3830
3901
|
* @request GET:/api/forms/{id}
|
|
3831
3902
|
* @secure
|
|
3832
3903
|
*/
|
|
3833
|
-
getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<
|
|
3904
|
+
getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3834
3905
|
/**
|
|
3835
3906
|
* No description
|
|
3836
3907
|
*
|
|
@@ -3840,7 +3911,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3840
3911
|
* @request PUT:/api/forms/{id}
|
|
3841
3912
|
* @secure
|
|
3842
3913
|
*/
|
|
3843
|
-
replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<
|
|
3914
|
+
replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3844
3915
|
/**
|
|
3845
3916
|
* No description
|
|
3846
3917
|
*
|
|
@@ -3860,7 +3931,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3860
3931
|
* @request POST:/api/forms/{id}/restore
|
|
3861
3932
|
* @secure
|
|
3862
3933
|
*/
|
|
3863
|
-
restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<
|
|
3934
|
+
restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3864
3935
|
/**
|
|
3865
3936
|
* No description
|
|
3866
3937
|
*
|
|
@@ -4565,6 +4636,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4565
4636
|
sortBy?: string;
|
|
4566
4637
|
sortDirection?: string;
|
|
4567
4638
|
}, params?: RequestParams) => Promise<AxiosResponse<DraftContentPaginated, any>>;
|
|
4639
|
+
/**
|
|
4640
|
+
* No description
|
|
4641
|
+
*
|
|
4642
|
+
* @tags LoanDrafts
|
|
4643
|
+
* @name ReassignLoanOfficer
|
|
4644
|
+
* @summary Reassign Loan officer
|
|
4645
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
4646
|
+
* @secure
|
|
4647
|
+
*/
|
|
4648
|
+
reassignLoanOfficer: (draftId: string, data: DraftLoanOfficerReassignRequest, params?: RequestParams) => Promise<AxiosResponse<Draft, any>>;
|
|
4568
4649
|
/**
|
|
4569
4650
|
* No description
|
|
4570
4651
|
*
|
|
@@ -4673,22 +4754,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4673
4754
|
* No description
|
|
4674
4755
|
*
|
|
4675
4756
|
* @tags LoanQueue
|
|
4676
|
-
* @name
|
|
4677
|
-
* @summary Get
|
|
4678
|
-
* @request GET:/api/loans/queue/{loanQueueId}
|
|
4757
|
+
* @name GetLoanQueue
|
|
4758
|
+
* @summary Get Loan Queue Record
|
|
4759
|
+
* @request GET:/api/loans/queue/{loanQueueId}
|
|
4679
4760
|
* @secure
|
|
4680
4761
|
*/
|
|
4681
|
-
|
|
4762
|
+
getLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
4682
4763
|
/**
|
|
4683
4764
|
* No description
|
|
4684
4765
|
*
|
|
4685
4766
|
* @tags LoanQueue
|
|
4686
|
-
* @name
|
|
4687
|
-
* @summary
|
|
4688
|
-
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
4767
|
+
* @name ReplaceLoanQueue
|
|
4768
|
+
* @summary Replace Loan Queue Record
|
|
4769
|
+
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
4689
4770
|
* @secure
|
|
4690
4771
|
*/
|
|
4691
|
-
|
|
4772
|
+
replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params?: RequestParams) => Promise<AxiosResponse<LoanQueueWithData, any>>;
|
|
4692
4773
|
/**
|
|
4693
4774
|
* No description
|
|
4694
4775
|
*
|
|
@@ -4763,6 +4844,63 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4763
4844
|
* @secure
|
|
4764
4845
|
*/
|
|
4765
4846
|
importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
4847
|
+
/**
|
|
4848
|
+
* No description
|
|
4849
|
+
*
|
|
4850
|
+
* @tags LoanTaskComments
|
|
4851
|
+
* @name SearchLoanTaskComments
|
|
4852
|
+
* @summary Search
|
|
4853
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
4854
|
+
* @secure
|
|
4855
|
+
*/
|
|
4856
|
+
searchLoanTaskComments: (loanId: string, userLoanTaskId: string, data: TaskCommentSearchCriteria, query?: {
|
|
4857
|
+
/** @format int32 */
|
|
4858
|
+
pageSize?: number;
|
|
4859
|
+
/** @format int32 */
|
|
4860
|
+
pageNumber?: number;
|
|
4861
|
+
sortBy?: string;
|
|
4862
|
+
sortDirection?: string;
|
|
4863
|
+
}, params?: RequestParams) => Promise<AxiosResponse<TaskCommentPaginated, any>>;
|
|
4864
|
+
/**
|
|
4865
|
+
* No description
|
|
4866
|
+
*
|
|
4867
|
+
* @tags LoanTaskComments
|
|
4868
|
+
* @name GetLoanTaskComment
|
|
4869
|
+
* @summary Get by ID
|
|
4870
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
4871
|
+
* @secure
|
|
4872
|
+
*/
|
|
4873
|
+
getLoanTaskComment: (id: string, loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4874
|
+
/**
|
|
4875
|
+
* No description
|
|
4876
|
+
*
|
|
4877
|
+
* @tags LoanTaskComments
|
|
4878
|
+
* @name CreateLoanTaskComment
|
|
4879
|
+
* @summary Create
|
|
4880
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
4881
|
+
* @secure
|
|
4882
|
+
*/
|
|
4883
|
+
createLoanTaskComment: (loanId: string, userLoanTaskId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4884
|
+
/**
|
|
4885
|
+
* No description
|
|
4886
|
+
*
|
|
4887
|
+
* @tags LoanTaskComments
|
|
4888
|
+
* @name ReplaceLoanTaskComment
|
|
4889
|
+
* @summary Replace
|
|
4890
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
4891
|
+
* @secure
|
|
4892
|
+
*/
|
|
4893
|
+
replaceLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4894
|
+
/**
|
|
4895
|
+
* No description
|
|
4896
|
+
*
|
|
4897
|
+
* @tags LoanTaskComments
|
|
4898
|
+
* @name DeleteLoanTaskComment
|
|
4899
|
+
* @summary Delete
|
|
4900
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
4901
|
+
* @secure
|
|
4902
|
+
*/
|
|
4903
|
+
deleteLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4766
4904
|
/**
|
|
4767
4905
|
* No description
|
|
4768
4906
|
*
|
|
@@ -5125,7 +5263,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5125
5263
|
*/
|
|
5126
5264
|
getPartners: (query?: {
|
|
5127
5265
|
showAll?: boolean;
|
|
5128
|
-
/** @default
|
|
5266
|
+
/** @default "Realtor" */
|
|
5129
5267
|
role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
|
|
5130
5268
|
/** @format int32 */
|
|
5131
5269
|
pageSize?: number;
|
|
@@ -5239,16 +5377,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5239
5377
|
* @secure
|
|
5240
5378
|
*/
|
|
5241
5379
|
deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
5242
|
-
/**
|
|
5243
|
-
* No description
|
|
5244
|
-
*
|
|
5245
|
-
* @tags SelfProvisioning
|
|
5246
|
-
* @name CreateSelfProvisioningItem
|
|
5247
|
-
* @summary Create
|
|
5248
|
-
* @request POST:/api/selfprovisioning/newcustomer
|
|
5249
|
-
* @secure
|
|
5250
|
-
*/
|
|
5251
|
-
createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
5252
5380
|
/**
|
|
5253
5381
|
* No description
|
|
5254
5382
|
*
|
package/dist/index.js
CHANGED
|
@@ -1481,6 +1481,16 @@ export class Api extends HttpClient {
|
|
|
1481
1481
|
* @secure
|
|
1482
1482
|
*/
|
|
1483
1483
|
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1484
|
+
/**
|
|
1485
|
+
* No description
|
|
1486
|
+
*
|
|
1487
|
+
* @tags LoanDrafts
|
|
1488
|
+
* @name ReassignLoanOfficer
|
|
1489
|
+
* @summary Reassign Loan officer
|
|
1490
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
1491
|
+
* @secure
|
|
1492
|
+
*/
|
|
1493
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1484
1494
|
/**
|
|
1485
1495
|
* No description
|
|
1486
1496
|
*
|
|
@@ -1565,22 +1575,22 @@ export class Api extends HttpClient {
|
|
|
1565
1575
|
* No description
|
|
1566
1576
|
*
|
|
1567
1577
|
* @tags LoanQueue
|
|
1568
|
-
* @name
|
|
1569
|
-
* @summary Get
|
|
1570
|
-
* @request GET:/api/loans/queue/{loanQueueId}
|
|
1578
|
+
* @name GetLoanQueue
|
|
1579
|
+
* @summary Get Loan Queue Record
|
|
1580
|
+
* @request GET:/api/loans/queue/{loanQueueId}
|
|
1571
1581
|
* @secure
|
|
1572
1582
|
*/
|
|
1573
|
-
|
|
1583
|
+
getLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1574
1584
|
/**
|
|
1575
1585
|
* No description
|
|
1576
1586
|
*
|
|
1577
1587
|
* @tags LoanQueue
|
|
1578
|
-
* @name
|
|
1579
|
-
* @summary
|
|
1580
|
-
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
1588
|
+
* @name ReplaceLoanQueue
|
|
1589
|
+
* @summary Replace Loan Queue Record
|
|
1590
|
+
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
1581
1591
|
* @secure
|
|
1582
1592
|
*/
|
|
1583
|
-
|
|
1593
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1584
1594
|
/**
|
|
1585
1595
|
* No description
|
|
1586
1596
|
*
|
|
@@ -1641,6 +1651,56 @@ export class Api extends HttpClient {
|
|
|
1641
1651
|
* @secure
|
|
1642
1652
|
*/
|
|
1643
1653
|
importLoanFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/import-from-los/${loanId}`, method: "POST", secure: true, format: "json" }, params)),
|
|
1654
|
+
/**
|
|
1655
|
+
* No description
|
|
1656
|
+
*
|
|
1657
|
+
* @tags LoanTaskComments
|
|
1658
|
+
* @name SearchLoanTaskComments
|
|
1659
|
+
* @summary Search
|
|
1660
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
1661
|
+
* @secure
|
|
1662
|
+
*/
|
|
1663
|
+
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1664
|
+
/**
|
|
1665
|
+
* No description
|
|
1666
|
+
*
|
|
1667
|
+
* @tags LoanTaskComments
|
|
1668
|
+
* @name GetLoanTaskComment
|
|
1669
|
+
* @summary Get by ID
|
|
1670
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
1671
|
+
* @secure
|
|
1672
|
+
*/
|
|
1673
|
+
getLoanTaskComment: (id, loanId, userLoanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1674
|
+
/**
|
|
1675
|
+
* No description
|
|
1676
|
+
*
|
|
1677
|
+
* @tags LoanTaskComments
|
|
1678
|
+
* @name CreateLoanTaskComment
|
|
1679
|
+
* @summary Create
|
|
1680
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
1681
|
+
* @secure
|
|
1682
|
+
*/
|
|
1683
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1684
|
+
/**
|
|
1685
|
+
* No description
|
|
1686
|
+
*
|
|
1687
|
+
* @tags LoanTaskComments
|
|
1688
|
+
* @name ReplaceLoanTaskComment
|
|
1689
|
+
* @summary Replace
|
|
1690
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
1691
|
+
* @secure
|
|
1692
|
+
*/
|
|
1693
|
+
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1694
|
+
/**
|
|
1695
|
+
* No description
|
|
1696
|
+
*
|
|
1697
|
+
* @tags LoanTaskComments
|
|
1698
|
+
* @name DeleteLoanTaskComment
|
|
1699
|
+
* @summary Delete
|
|
1700
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
1701
|
+
* @secure
|
|
1702
|
+
*/
|
|
1703
|
+
deleteLoanTaskComment: (loanId, userLoanTaskId, commentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "DELETE", secure: true }, params)),
|
|
1644
1704
|
/**
|
|
1645
1705
|
* No description
|
|
1646
1706
|
*
|
|
@@ -2074,16 +2134,6 @@ export class Api extends HttpClient {
|
|
|
2074
2134
|
* @secure
|
|
2075
2135
|
*/
|
|
2076
2136
|
deleteQueueRequest: (id, params = {}) => this.request(Object.assign({ path: `/api/request-queues/${id}`, method: "DELETE", secure: true }, params)),
|
|
2077
|
-
/**
|
|
2078
|
-
* No description
|
|
2079
|
-
*
|
|
2080
|
-
* @tags SelfProvisioning
|
|
2081
|
-
* @name CreateSelfProvisioningItem
|
|
2082
|
-
* @summary Create
|
|
2083
|
-
* @request POST:/api/selfprovisioning/newcustomer
|
|
2084
|
-
* @secure
|
|
2085
|
-
*/
|
|
2086
|
-
createSelfProvisioningItem: (data, params = {}) => this.request(Object.assign({ path: `/api/selfprovisioning/newcustomer`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2087
2137
|
/**
|
|
2088
2138
|
* No description
|
|
2089
2139
|
*
|