@matech/thebigpos-sdk 2.13.0-rc1 → 2.14.0-rc.4
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 -2
- package/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/index.d.ts +161 -85
- package/dist/index.js +58 -38
- package/dist/index.js.map +1 -1
- package/package.json +40 -40
- package/src/index.ts +232 -128
- package/tsconfig.json +27 -27
package/.husky/pre-commit
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
yarn build
|
|
2
|
-
git add .
|
|
1
|
+
yarn build
|
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;
|
|
@@ -128,6 +152,7 @@ export interface AdminAccessUser {
|
|
|
128
152
|
canImpersonate: boolean;
|
|
129
153
|
loanIDs: string[];
|
|
130
154
|
drafts: Draft[];
|
|
155
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
131
156
|
/** @format uuid */
|
|
132
157
|
accountID?: string | null;
|
|
133
158
|
loans: UserLoan[];
|
|
@@ -239,6 +264,7 @@ export interface BranchUser {
|
|
|
239
264
|
canImpersonate: boolean;
|
|
240
265
|
loanIDs: string[];
|
|
241
266
|
drafts: Draft[];
|
|
267
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
242
268
|
/** @format uuid */
|
|
243
269
|
branchID: string;
|
|
244
270
|
branchName: string;
|
|
@@ -503,6 +529,7 @@ export interface DetailedUser {
|
|
|
503
529
|
canImpersonate: boolean;
|
|
504
530
|
loanIDs: string[];
|
|
505
531
|
drafts: Draft[];
|
|
532
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
506
533
|
}
|
|
507
534
|
export interface Device {
|
|
508
535
|
/** @format uuid */
|
|
@@ -1437,12 +1464,30 @@ export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
|
|
|
1437
1464
|
export interface LoanQueueSearchCriteria {
|
|
1438
1465
|
searchText?: string | null;
|
|
1439
1466
|
loanID?: string | null;
|
|
1440
|
-
isActive?: boolean | null;
|
|
1441
1467
|
type?: LoanQueueType | null;
|
|
1442
1468
|
status?: LOSStatus | null;
|
|
1443
1469
|
reason?: LoanQueueReason | null;
|
|
1444
1470
|
}
|
|
1445
|
-
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
|
|
1471
|
+
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
|
|
1472
|
+
export interface LoanQueueWithData {
|
|
1473
|
+
/** @format date-time */
|
|
1474
|
+
createdAt: string;
|
|
1475
|
+
/** @format date-time */
|
|
1476
|
+
updatedAt?: string | null;
|
|
1477
|
+
/** @format date-time */
|
|
1478
|
+
deletedAt?: string | null;
|
|
1479
|
+
/** @format uuid */
|
|
1480
|
+
id: string;
|
|
1481
|
+
loanID?: string | null;
|
|
1482
|
+
type: string;
|
|
1483
|
+
reason: string;
|
|
1484
|
+
status: string;
|
|
1485
|
+
details?: string | null;
|
|
1486
|
+
user: UserPublic;
|
|
1487
|
+
loanOfficer: LoanOfficerPublic;
|
|
1488
|
+
siteConfiguration: SiteConfigurationReduced;
|
|
1489
|
+
data: any;
|
|
1490
|
+
}
|
|
1446
1491
|
export interface LoanRecord {
|
|
1447
1492
|
loanGuid: string;
|
|
1448
1493
|
loanFields: Record<string, string>;
|
|
@@ -1527,30 +1572,6 @@ export interface ModuleParameterValue {
|
|
|
1527
1572
|
value?: any;
|
|
1528
1573
|
isInherited: boolean;
|
|
1529
1574
|
}
|
|
1530
|
-
export interface NotificationLog {
|
|
1531
|
-
/** @format uuid */
|
|
1532
|
-
id: string;
|
|
1533
|
-
type: "Email" | "Text" | "PushNotification";
|
|
1534
|
-
to: string;
|
|
1535
|
-
cc?: string | null;
|
|
1536
|
-
subject?: string | null;
|
|
1537
|
-
message: string;
|
|
1538
|
-
notificationTemplate?: NotificationTemplate | null;
|
|
1539
|
-
/** @format date-time */
|
|
1540
|
-
createdAt: string;
|
|
1541
|
-
}
|
|
1542
|
-
export interface NotificationLogPaginated {
|
|
1543
|
-
rows: NotificationLog[];
|
|
1544
|
-
pagination: Pagination;
|
|
1545
|
-
/** @format int64 */
|
|
1546
|
-
count: number;
|
|
1547
|
-
}
|
|
1548
|
-
export interface NotificationLogSearchCriteria {
|
|
1549
|
-
searchText?: string | null;
|
|
1550
|
-
type?: NotificationType | null;
|
|
1551
|
-
to?: string[] | null;
|
|
1552
|
-
cc?: string[] | null;
|
|
1553
|
-
}
|
|
1554
1575
|
export interface NotificationTemplate {
|
|
1555
1576
|
/** @format date-time */
|
|
1556
1577
|
createdAt?: string | null;
|
|
@@ -1630,6 +1651,7 @@ export interface NotificationTemplateVersion {
|
|
|
1630
1651
|
isActive: boolean;
|
|
1631
1652
|
htmlBody: string;
|
|
1632
1653
|
plainBody: string;
|
|
1654
|
+
textBody: string;
|
|
1633
1655
|
notificationTemplate: NotificationTemplate;
|
|
1634
1656
|
}
|
|
1635
1657
|
export interface NotificationTemplateVersionBase {
|
|
@@ -1647,6 +1669,7 @@ export interface NotificationTemplateVersionBase {
|
|
|
1647
1669
|
isActive: boolean;
|
|
1648
1670
|
htmlBody: string;
|
|
1649
1671
|
plainBody: string;
|
|
1672
|
+
textBody: string;
|
|
1650
1673
|
}
|
|
1651
1674
|
export interface NotificationTemplateVersionRequest {
|
|
1652
1675
|
/** @maxLength 255 */
|
|
@@ -1654,6 +1677,7 @@ export interface NotificationTemplateVersionRequest {
|
|
|
1654
1677
|
isActive: boolean;
|
|
1655
1678
|
htmlBody: string;
|
|
1656
1679
|
plainBody: string;
|
|
1680
|
+
textBody: string;
|
|
1657
1681
|
}
|
|
1658
1682
|
export interface NotificationTemplateVersionUpdateRequest {
|
|
1659
1683
|
/**
|
|
@@ -1666,8 +1690,9 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
1666
1690
|
htmlBody: string;
|
|
1667
1691
|
/** @minLength 1 */
|
|
1668
1692
|
plainBody: string;
|
|
1693
|
+
/** @minLength 1 */
|
|
1694
|
+
textBody: string;
|
|
1669
1695
|
}
|
|
1670
|
-
export type NotificationType = "Email" | "Text" | "PushNotification";
|
|
1671
1696
|
export interface Operation {
|
|
1672
1697
|
op?: string;
|
|
1673
1698
|
value?: object | null;
|
|
@@ -1916,6 +1941,7 @@ export interface SendNotificationForLoanRequest {
|
|
|
1916
1941
|
siteConfigurationId?: string | null;
|
|
1917
1942
|
/** @minLength 1 */
|
|
1918
1943
|
email: string;
|
|
1944
|
+
phone?: string | null;
|
|
1919
1945
|
attachments: Attachment[];
|
|
1920
1946
|
}
|
|
1921
1947
|
export interface SiteConfiguration {
|
|
@@ -2564,6 +2590,28 @@ export interface Task {
|
|
|
2564
2590
|
usedInBusinessRule: boolean;
|
|
2565
2591
|
willAutocompleteAfterResponse: boolean;
|
|
2566
2592
|
hasAutoPropagationOnAdd: boolean;
|
|
2593
|
+
/** @format int32 */
|
|
2594
|
+
commentsCount: number;
|
|
2595
|
+
}
|
|
2596
|
+
export interface TaskComment {
|
|
2597
|
+
/** @format uuid */
|
|
2598
|
+
id: string;
|
|
2599
|
+
comment: string;
|
|
2600
|
+
createdBy: UserBase;
|
|
2601
|
+
/** @format date-time */
|
|
2602
|
+
createdAt: string;
|
|
2603
|
+
}
|
|
2604
|
+
export interface TaskCommentPaginated {
|
|
2605
|
+
rows: TaskComment[];
|
|
2606
|
+
pagination: Pagination;
|
|
2607
|
+
/** @format int64 */
|
|
2608
|
+
count: number;
|
|
2609
|
+
}
|
|
2610
|
+
export interface TaskCommentRequest {
|
|
2611
|
+
comment: string;
|
|
2612
|
+
}
|
|
2613
|
+
export interface TaskCommentSearchCriteria {
|
|
2614
|
+
searchText?: string | null;
|
|
2567
2615
|
}
|
|
2568
2616
|
export interface TaskPaginated {
|
|
2569
2617
|
rows: Task[];
|
|
@@ -2616,6 +2664,7 @@ export interface TestSendNotificationForLoanRequest {
|
|
|
2616
2664
|
/** @format uuid */
|
|
2617
2665
|
siteConfigurationId: string;
|
|
2618
2666
|
toAddress?: string | null;
|
|
2667
|
+
toPhoneNumber?: string | null;
|
|
2619
2668
|
templateName?: string | null;
|
|
2620
2669
|
attachments: Attachment[];
|
|
2621
2670
|
}
|
|
@@ -2749,6 +2798,9 @@ export interface UpdateListingPhotoRequest {
|
|
|
2749
2798
|
/** @format int32 */
|
|
2750
2799
|
weight: number;
|
|
2751
2800
|
}
|
|
2801
|
+
export interface UpdateLoanQueueRequest {
|
|
2802
|
+
data: any;
|
|
2803
|
+
}
|
|
2752
2804
|
export interface UpdateMeRequest {
|
|
2753
2805
|
phone?: string | null;
|
|
2754
2806
|
/**
|
|
@@ -2764,6 +2816,7 @@ export interface UpdateMeRequest {
|
|
|
2764
2816
|
title?: string | null;
|
|
2765
2817
|
forcePasswordReset: boolean;
|
|
2766
2818
|
mfaEnabled: boolean;
|
|
2819
|
+
notificationSettings: UserNotificationSettingsUpdateRequest;
|
|
2767
2820
|
}
|
|
2768
2821
|
export interface UpdateMobilePhoneRequest {
|
|
2769
2822
|
phone: string;
|
|
@@ -2841,6 +2894,8 @@ export interface UserLoanTask {
|
|
|
2841
2894
|
createdBy: User;
|
|
2842
2895
|
submittedBy?: User | null;
|
|
2843
2896
|
completedBy?: User | null;
|
|
2897
|
+
/** @format int32 */
|
|
2898
|
+
commentsCount: number;
|
|
2844
2899
|
}
|
|
2845
2900
|
export interface UserLoanTaskRequest {
|
|
2846
2901
|
value?: string | null;
|
|
@@ -2858,6 +2913,14 @@ export interface UserMobilePhoneVerificationRequest {
|
|
|
2858
2913
|
/** @minLength 1 */
|
|
2859
2914
|
code: string;
|
|
2860
2915
|
}
|
|
2916
|
+
export interface UserNotificationSettings {
|
|
2917
|
+
emailEnabled: boolean;
|
|
2918
|
+
textEnabled?: boolean | null;
|
|
2919
|
+
}
|
|
2920
|
+
export interface UserNotificationSettingsUpdateRequest {
|
|
2921
|
+
emailEnabled: boolean;
|
|
2922
|
+
textEnabled?: boolean | null;
|
|
2923
|
+
}
|
|
2861
2924
|
export interface UserPaginated {
|
|
2862
2925
|
rows: User[];
|
|
2863
2926
|
pagination: Pagination;
|
|
@@ -3820,7 +3883,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3820
3883
|
* @request POST:/api/forms
|
|
3821
3884
|
* @secure
|
|
3822
3885
|
*/
|
|
3823
|
-
createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<
|
|
3886
|
+
createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3824
3887
|
/**
|
|
3825
3888
|
* No description
|
|
3826
3889
|
*
|
|
@@ -3830,7 +3893,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3830
3893
|
* @request GET:/api/forms/{id}
|
|
3831
3894
|
* @secure
|
|
3832
3895
|
*/
|
|
3833
|
-
getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<
|
|
3896
|
+
getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3834
3897
|
/**
|
|
3835
3898
|
* No description
|
|
3836
3899
|
*
|
|
@@ -3840,7 +3903,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3840
3903
|
* @request PUT:/api/forms/{id}
|
|
3841
3904
|
* @secure
|
|
3842
3905
|
*/
|
|
3843
|
-
replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<
|
|
3906
|
+
replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3844
3907
|
/**
|
|
3845
3908
|
* No description
|
|
3846
3909
|
*
|
|
@@ -3860,7 +3923,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3860
3923
|
* @request POST:/api/forms/{id}/restore
|
|
3861
3924
|
* @secure
|
|
3862
3925
|
*/
|
|
3863
|
-
restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<
|
|
3926
|
+
restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
|
|
3864
3927
|
/**
|
|
3865
3928
|
* No description
|
|
3866
3929
|
*
|
|
@@ -4673,22 +4736,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4673
4736
|
* No description
|
|
4674
4737
|
*
|
|
4675
4738
|
* @tags LoanQueue
|
|
4676
|
-
* @name
|
|
4677
|
-
* @summary Get
|
|
4678
|
-
* @request GET:/api/loans/queue/{loanQueueId}
|
|
4739
|
+
* @name GetLoanQueue
|
|
4740
|
+
* @summary Get Loan Queue Record
|
|
4741
|
+
* @request GET:/api/loans/queue/{loanQueueId}
|
|
4679
4742
|
* @secure
|
|
4680
4743
|
*/
|
|
4681
|
-
|
|
4744
|
+
getLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
|
|
4682
4745
|
/**
|
|
4683
4746
|
* No description
|
|
4684
4747
|
*
|
|
4685
4748
|
* @tags LoanQueue
|
|
4686
|
-
* @name
|
|
4687
|
-
* @summary
|
|
4688
|
-
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
4749
|
+
* @name ReplaceLoanQueue
|
|
4750
|
+
* @summary Replace Loan Queue Record
|
|
4751
|
+
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
4689
4752
|
* @secure
|
|
4690
4753
|
*/
|
|
4691
|
-
|
|
4754
|
+
replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params?: RequestParams) => Promise<AxiosResponse<LoanQueueWithData, any>>;
|
|
4692
4755
|
/**
|
|
4693
4756
|
* No description
|
|
4694
4757
|
*
|
|
@@ -4763,6 +4826,63 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4763
4826
|
* @secure
|
|
4764
4827
|
*/
|
|
4765
4828
|
importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
4829
|
+
/**
|
|
4830
|
+
* No description
|
|
4831
|
+
*
|
|
4832
|
+
* @tags LoanTaskComments
|
|
4833
|
+
* @name SearchLoanTaskComments
|
|
4834
|
+
* @summary Search
|
|
4835
|
+
* @request POST:/api/loans/{loanId}/tasks/{taskId}/comments/search
|
|
4836
|
+
* @secure
|
|
4837
|
+
*/
|
|
4838
|
+
searchLoanTaskComments: (loanId: string, taskId: string, data: TaskCommentSearchCriteria, query?: {
|
|
4839
|
+
/** @format int32 */
|
|
4840
|
+
pageSize?: number;
|
|
4841
|
+
/** @format int32 */
|
|
4842
|
+
pageNumber?: number;
|
|
4843
|
+
sortBy?: string;
|
|
4844
|
+
sortDirection?: string;
|
|
4845
|
+
}, params?: RequestParams) => Promise<AxiosResponse<TaskCommentPaginated, any>>;
|
|
4846
|
+
/**
|
|
4847
|
+
* No description
|
|
4848
|
+
*
|
|
4849
|
+
* @tags LoanTaskComments
|
|
4850
|
+
* @name GetLoanTaskComment
|
|
4851
|
+
* @summary Get by ID
|
|
4852
|
+
* @request GET:/api/loans/{loanId}/tasks/{taskId}/comments/{id}
|
|
4853
|
+
* @secure
|
|
4854
|
+
*/
|
|
4855
|
+
getLoanTaskComment: (id: string, loanId: string, taskId: string, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4856
|
+
/**
|
|
4857
|
+
* No description
|
|
4858
|
+
*
|
|
4859
|
+
* @tags LoanTaskComments
|
|
4860
|
+
* @name CreateLoanTaskComment
|
|
4861
|
+
* @summary Create
|
|
4862
|
+
* @request POST:/api/loans/{loanId}/tasks/{taskId}/comments
|
|
4863
|
+
* @secure
|
|
4864
|
+
*/
|
|
4865
|
+
createLoanTaskComment: (loanId: string, taskId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4866
|
+
/**
|
|
4867
|
+
* No description
|
|
4868
|
+
*
|
|
4869
|
+
* @tags LoanTaskComments
|
|
4870
|
+
* @name ReplaceLoanTaskComment
|
|
4871
|
+
* @summary Replace
|
|
4872
|
+
* @request PUT:/api/loans/{loanId}/tasks/{taskId}/comments/{commentId}
|
|
4873
|
+
* @secure
|
|
4874
|
+
*/
|
|
4875
|
+
replaceLoanTaskComment: (loanId: string, taskId: string, commentId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4876
|
+
/**
|
|
4877
|
+
* No description
|
|
4878
|
+
*
|
|
4879
|
+
* @tags LoanTaskComments
|
|
4880
|
+
* @name DeleteLoanTaskComment
|
|
4881
|
+
* @summary Delete
|
|
4882
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{taskId}/comments/{commentId}
|
|
4883
|
+
* @secure
|
|
4884
|
+
*/
|
|
4885
|
+
deleteLoanTaskComment: (loanId: string, taskId: string, commentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4766
4886
|
/**
|
|
4767
4887
|
* No description
|
|
4768
4888
|
*
|
|
@@ -4948,40 +5068,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4948
5068
|
* @secure
|
|
4949
5069
|
*/
|
|
4950
5070
|
deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4951
|
-
/**
|
|
4952
|
-
* No description
|
|
4953
|
-
*
|
|
4954
|
-
* @tags NotificationLogs
|
|
4955
|
-
* @name GetNotificationLogs
|
|
4956
|
-
* @summary Get All
|
|
4957
|
-
* @request GET:/api/notifications/logs
|
|
4958
|
-
* @secure
|
|
4959
|
-
*/
|
|
4960
|
-
getNotificationLogs: (query?: {
|
|
4961
|
-
/** @format int32 */
|
|
4962
|
-
pageSize?: number;
|
|
4963
|
-
/** @format int32 */
|
|
4964
|
-
pageNumber?: number;
|
|
4965
|
-
sortBy?: string;
|
|
4966
|
-
sortDirection?: string;
|
|
4967
|
-
}, params?: RequestParams) => Promise<AxiosResponse<NotificationLog[], any>>;
|
|
4968
|
-
/**
|
|
4969
|
-
* No description
|
|
4970
|
-
*
|
|
4971
|
-
* @tags NotificationLogs
|
|
4972
|
-
* @name SearchNotificationLog
|
|
4973
|
-
* @summary Search
|
|
4974
|
-
* @request POST:/api/notifications/logs/search
|
|
4975
|
-
* @secure
|
|
4976
|
-
*/
|
|
4977
|
-
searchNotificationLog: (data: NotificationLogSearchCriteria, query?: {
|
|
4978
|
-
/** @format int32 */
|
|
4979
|
-
pageSize?: number;
|
|
4980
|
-
/** @format int32 */
|
|
4981
|
-
pageNumber?: number;
|
|
4982
|
-
sortBy?: string;
|
|
4983
|
-
sortDirection?: string;
|
|
4984
|
-
}, params?: RequestParams) => Promise<AxiosResponse<NotificationLogPaginated, any>>;
|
|
4985
5071
|
/**
|
|
4986
5072
|
* No description
|
|
4987
5073
|
*
|
|
@@ -5125,7 +5211,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5125
5211
|
*/
|
|
5126
5212
|
getPartners: (query?: {
|
|
5127
5213
|
showAll?: boolean;
|
|
5128
|
-
/** @default
|
|
5214
|
+
/** @default "Realtor" */
|
|
5129
5215
|
role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
|
|
5130
5216
|
/** @format int32 */
|
|
5131
5217
|
pageSize?: number;
|
|
@@ -5239,16 +5325,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5239
5325
|
* @secure
|
|
5240
5326
|
*/
|
|
5241
5327
|
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
5328
|
/**
|
|
5253
5329
|
* No description
|
|
5254
5330
|
*
|