@matech/thebigpos-sdk 2.14.0-rc3 → 2.14.0-rc6
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 +2 -1
- package/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/index.d.ts +205 -84
- package/dist/index.js +71 -31
- package/dist/index.js.map +1 -1
- package/package.json +40 -40
- package/src/index.ts +301 -128
- package/tsconfig.json +27 -27
package/.husky/pre-commit
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
yarn build
|
|
1
|
+
yarn build
|
|
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
|
@@ -38,6 +38,15 @@ export interface Account {
|
|
|
38
38
|
allowedLoginsWithoutMFA: number;
|
|
39
39
|
losSettings: LOSSettings;
|
|
40
40
|
asoSettings?: ASOSettings | null;
|
|
41
|
+
settings: AccountSettings;
|
|
42
|
+
}
|
|
43
|
+
export interface AccountSettings {
|
|
44
|
+
isSmsEnabled: boolean;
|
|
45
|
+
smsNumber?: string | null;
|
|
46
|
+
}
|
|
47
|
+
export interface AccountSettingsRequest {
|
|
48
|
+
isSmsEnabled: boolean;
|
|
49
|
+
smsNumber?: string | null;
|
|
41
50
|
}
|
|
42
51
|
export interface Action {
|
|
43
52
|
/** @format uuid */
|
|
@@ -152,6 +161,7 @@ export interface AdminAccessUser {
|
|
|
152
161
|
canImpersonate: boolean;
|
|
153
162
|
loanIDs: string[];
|
|
154
163
|
drafts: Draft[];
|
|
164
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
155
165
|
/** @format uuid */
|
|
156
166
|
accountID?: string | null;
|
|
157
167
|
loans: UserLoan[];
|
|
@@ -227,6 +237,18 @@ export interface Attachment {
|
|
|
227
237
|
}
|
|
228
238
|
export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
229
239
|
export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
|
|
240
|
+
export interface BranchBase {
|
|
241
|
+
/** @format date-time */
|
|
242
|
+
createdAt: string;
|
|
243
|
+
/** @format date-time */
|
|
244
|
+
updatedAt?: string | null;
|
|
245
|
+
/** @format date-time */
|
|
246
|
+
deletedAt?: string | null;
|
|
247
|
+
/** @format uuid */
|
|
248
|
+
id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
type: string;
|
|
251
|
+
}
|
|
230
252
|
export interface BranchReduced {
|
|
231
253
|
/** @format uuid */
|
|
232
254
|
id: string;
|
|
@@ -263,6 +285,7 @@ export interface BranchUser {
|
|
|
263
285
|
canImpersonate: boolean;
|
|
264
286
|
loanIDs: string[];
|
|
265
287
|
drafts: Draft[];
|
|
288
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
266
289
|
/** @format uuid */
|
|
267
290
|
branchID: string;
|
|
268
291
|
branchName: string;
|
|
@@ -390,6 +413,17 @@ export interface Corporate {
|
|
|
390
413
|
branchIDs: string[];
|
|
391
414
|
siteConfigurations: SiteConfigurationReduced[];
|
|
392
415
|
}
|
|
416
|
+
export interface CorporateBase {
|
|
417
|
+
/** @format date-time */
|
|
418
|
+
createdAt: string;
|
|
419
|
+
/** @format date-time */
|
|
420
|
+
updatedAt?: string | null;
|
|
421
|
+
/** @format date-time */
|
|
422
|
+
deletedAt?: string | null;
|
|
423
|
+
/** @format uuid */
|
|
424
|
+
id: string;
|
|
425
|
+
name: string;
|
|
426
|
+
}
|
|
393
427
|
export interface CorporatePaginated {
|
|
394
428
|
rows: Corporate[];
|
|
395
429
|
pagination: Pagination;
|
|
@@ -423,6 +457,7 @@ export interface CreateAccountRequest {
|
|
|
423
457
|
* @min 0
|
|
424
458
|
*/
|
|
425
459
|
nlmsid: number;
|
|
460
|
+
settings: AccountSettingsRequest;
|
|
426
461
|
}
|
|
427
462
|
export interface CreateBranchRequest {
|
|
428
463
|
/**
|
|
@@ -527,6 +562,7 @@ export interface DetailedUser {
|
|
|
527
562
|
canImpersonate: boolean;
|
|
528
563
|
loanIDs: string[];
|
|
529
564
|
drafts: Draft[];
|
|
565
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
530
566
|
}
|
|
531
567
|
export interface Device {
|
|
532
568
|
/** @format uuid */
|
|
@@ -736,11 +772,13 @@ export interface DraftContentPaginated {
|
|
|
736
772
|
/** @format int64 */
|
|
737
773
|
count: number;
|
|
738
774
|
}
|
|
775
|
+
export interface DraftLoanOfficerReassignRequest {
|
|
776
|
+
/** @format uuid */
|
|
777
|
+
loanOfficerID: string;
|
|
778
|
+
}
|
|
739
779
|
export interface DraftRequest {
|
|
740
780
|
applicationPayload: any;
|
|
741
781
|
customData?: any;
|
|
742
|
-
/** @format uuid */
|
|
743
|
-
loanOfficerID?: string | null;
|
|
744
782
|
}
|
|
745
783
|
export interface EConsentInformation {
|
|
746
784
|
status: string;
|
|
@@ -768,7 +806,6 @@ export interface EnabledServices {
|
|
|
768
806
|
borrowerTasks?: boolean | null;
|
|
769
807
|
docusign?: boolean | null;
|
|
770
808
|
emailNotifications?: boolean | null;
|
|
771
|
-
textNotifications?: boolean | null;
|
|
772
809
|
voc?: boolean | null;
|
|
773
810
|
spanishPrequal?: boolean | null;
|
|
774
811
|
spanishFullApp?: boolean | null;
|
|
@@ -800,6 +837,8 @@ export interface Error {
|
|
|
800
837
|
message: string;
|
|
801
838
|
}
|
|
802
839
|
export interface ExtendedLoan {
|
|
840
|
+
/** @format uuid */
|
|
841
|
+
id: string;
|
|
803
842
|
loanID: string;
|
|
804
843
|
loanNumber?: string | null;
|
|
805
844
|
/** @format date-time */
|
|
@@ -1288,6 +1327,8 @@ export interface ListingSearchCriteria {
|
|
|
1288
1327
|
partnerIds?: string[] | null;
|
|
1289
1328
|
}
|
|
1290
1329
|
export interface Loan {
|
|
1330
|
+
/** @format uuid */
|
|
1331
|
+
id: string;
|
|
1291
1332
|
loanID: string;
|
|
1292
1333
|
loanNumber?: string | null;
|
|
1293
1334
|
/** @format date-time */
|
|
@@ -1442,11 +1483,12 @@ export interface LoanQueue {
|
|
|
1442
1483
|
deletedAt?: string | null;
|
|
1443
1484
|
/** @format uuid */
|
|
1444
1485
|
id: string;
|
|
1445
|
-
|
|
1486
|
+
loan?: Loan | null;
|
|
1446
1487
|
type: string;
|
|
1447
1488
|
reason: string;
|
|
1448
1489
|
status: string;
|
|
1449
1490
|
details?: string | null;
|
|
1491
|
+
jobID?: string | null;
|
|
1450
1492
|
user: UserPublic;
|
|
1451
1493
|
loanOfficer: LoanOfficerPublic;
|
|
1452
1494
|
siteConfiguration: SiteConfigurationReduced;
|
|
@@ -1465,7 +1507,7 @@ export interface LoanQueueSearchCriteria {
|
|
|
1465
1507
|
status?: LOSStatus | null;
|
|
1466
1508
|
reason?: LoanQueueReason | null;
|
|
1467
1509
|
}
|
|
1468
|
-
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
|
|
1510
|
+
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
|
|
1469
1511
|
export interface LoanQueueWithData {
|
|
1470
1512
|
/** @format date-time */
|
|
1471
1513
|
createdAt: string;
|
|
@@ -1475,15 +1517,16 @@ export interface LoanQueueWithData {
|
|
|
1475
1517
|
deletedAt?: string | null;
|
|
1476
1518
|
/** @format uuid */
|
|
1477
1519
|
id: string;
|
|
1478
|
-
|
|
1520
|
+
loan?: Loan | null;
|
|
1479
1521
|
type: string;
|
|
1480
1522
|
reason: string;
|
|
1481
1523
|
status: string;
|
|
1482
1524
|
details?: string | null;
|
|
1525
|
+
jobID?: string | null;
|
|
1483
1526
|
user: UserPublic;
|
|
1484
1527
|
loanOfficer: LoanOfficerPublic;
|
|
1485
1528
|
siteConfiguration: SiteConfigurationReduced;
|
|
1486
|
-
data
|
|
1529
|
+
data?: any;
|
|
1487
1530
|
}
|
|
1488
1531
|
export interface LoanRecord {
|
|
1489
1532
|
loanGuid: string;
|
|
@@ -1569,30 +1612,6 @@ export interface ModuleParameterValue {
|
|
|
1569
1612
|
value?: any;
|
|
1570
1613
|
isInherited: boolean;
|
|
1571
1614
|
}
|
|
1572
|
-
export interface NotificationLog {
|
|
1573
|
-
/** @format uuid */
|
|
1574
|
-
id: string;
|
|
1575
|
-
type: "Email" | "Text" | "PushNotification";
|
|
1576
|
-
to: string;
|
|
1577
|
-
cc?: string | null;
|
|
1578
|
-
subject?: string | null;
|
|
1579
|
-
message: string;
|
|
1580
|
-
notificationTemplate?: NotificationTemplate | null;
|
|
1581
|
-
/** @format date-time */
|
|
1582
|
-
createdAt: string;
|
|
1583
|
-
}
|
|
1584
|
-
export interface NotificationLogPaginated {
|
|
1585
|
-
rows: NotificationLog[];
|
|
1586
|
-
pagination: Pagination;
|
|
1587
|
-
/** @format int64 */
|
|
1588
|
-
count: number;
|
|
1589
|
-
}
|
|
1590
|
-
export interface NotificationLogSearchCriteria {
|
|
1591
|
-
searchText?: string | null;
|
|
1592
|
-
type?: NotificationType | null;
|
|
1593
|
-
to?: string[] | null;
|
|
1594
|
-
cc?: string[] | null;
|
|
1595
|
-
}
|
|
1596
1615
|
export interface NotificationTemplate {
|
|
1597
1616
|
/** @format date-time */
|
|
1598
1617
|
createdAt?: string | null;
|
|
@@ -1672,6 +1691,7 @@ export interface NotificationTemplateVersion {
|
|
|
1672
1691
|
isActive: boolean;
|
|
1673
1692
|
htmlBody: string;
|
|
1674
1693
|
plainBody: string;
|
|
1694
|
+
textBody: string;
|
|
1675
1695
|
notificationTemplate: NotificationTemplate;
|
|
1676
1696
|
}
|
|
1677
1697
|
export interface NotificationTemplateVersionBase {
|
|
@@ -1689,6 +1709,7 @@ export interface NotificationTemplateVersionBase {
|
|
|
1689
1709
|
isActive: boolean;
|
|
1690
1710
|
htmlBody: string;
|
|
1691
1711
|
plainBody: string;
|
|
1712
|
+
textBody: string;
|
|
1692
1713
|
}
|
|
1693
1714
|
export interface NotificationTemplateVersionRequest {
|
|
1694
1715
|
/** @maxLength 255 */
|
|
@@ -1696,6 +1717,7 @@ export interface NotificationTemplateVersionRequest {
|
|
|
1696
1717
|
isActive: boolean;
|
|
1697
1718
|
htmlBody: string;
|
|
1698
1719
|
plainBody: string;
|
|
1720
|
+
textBody: string;
|
|
1699
1721
|
}
|
|
1700
1722
|
export interface NotificationTemplateVersionUpdateRequest {
|
|
1701
1723
|
/**
|
|
@@ -1708,8 +1730,9 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
1708
1730
|
htmlBody: string;
|
|
1709
1731
|
/** @minLength 1 */
|
|
1710
1732
|
plainBody: string;
|
|
1733
|
+
/** @minLength 1 */
|
|
1734
|
+
textBody: string;
|
|
1711
1735
|
}
|
|
1712
|
-
export type NotificationType = "Email" | "Text" | "PushNotification";
|
|
1713
1736
|
export interface Operation {
|
|
1714
1737
|
op?: string;
|
|
1715
1738
|
value?: object | null;
|
|
@@ -1890,6 +1913,7 @@ export interface RunLOCalculation {
|
|
|
1890
1913
|
canGeneratePreQual: boolean;
|
|
1891
1914
|
canGeneratePreApproval: boolean;
|
|
1892
1915
|
preApprovalNotes?: string | null;
|
|
1916
|
+
additionalPreApprovalNotes?: string | null;
|
|
1893
1917
|
downPaymentAmount?: string | null;
|
|
1894
1918
|
downPaymentPercent?: string | null;
|
|
1895
1919
|
lienType?: string | null;
|
|
@@ -1925,6 +1949,7 @@ export interface RunLOCalculationRequest {
|
|
|
1925
1949
|
/** @minLength 1 */
|
|
1926
1950
|
lienType: string;
|
|
1927
1951
|
preApprovalNotes?: string | null;
|
|
1952
|
+
additionalPreApprovalNotes?: string | null;
|
|
1928
1953
|
}
|
|
1929
1954
|
export interface SSOToken {
|
|
1930
1955
|
/** @format uuid */
|
|
@@ -1958,6 +1983,7 @@ export interface SendNotificationForLoanRequest {
|
|
|
1958
1983
|
siteConfigurationId?: string | null;
|
|
1959
1984
|
/** @minLength 1 */
|
|
1960
1985
|
email: string;
|
|
1986
|
+
phone?: string | null;
|
|
1961
1987
|
attachments: Attachment[];
|
|
1962
1988
|
}
|
|
1963
1989
|
export interface SiteConfiguration {
|
|
@@ -2151,6 +2177,7 @@ export interface SiteConfiguration {
|
|
|
2151
2177
|
modules: Module[];
|
|
2152
2178
|
user?: UserPublic | null;
|
|
2153
2179
|
asoSettings?: ASOSettings | null;
|
|
2180
|
+
accountSettings: AccountSettings;
|
|
2154
2181
|
}
|
|
2155
2182
|
export interface SiteConfigurationByUrl {
|
|
2156
2183
|
/** @format date-time */
|
|
@@ -2343,6 +2370,7 @@ export interface SiteConfigurationByUrl {
|
|
|
2343
2370
|
modules: Module[];
|
|
2344
2371
|
user?: UserPublic | null;
|
|
2345
2372
|
asoSettings?: ASOSettings | null;
|
|
2373
|
+
accountSettings: AccountSettings;
|
|
2346
2374
|
workflows: Workflow[];
|
|
2347
2375
|
}
|
|
2348
2376
|
export interface SiteConfigurationForm {
|
|
@@ -2366,12 +2394,6 @@ export interface SiteConfigurationForm {
|
|
|
2366
2394
|
icon: string;
|
|
2367
2395
|
entityTypes: string[];
|
|
2368
2396
|
}
|
|
2369
|
-
export interface SiteConfigurationPaginated {
|
|
2370
|
-
rows: SiteConfiguration[];
|
|
2371
|
-
pagination: Pagination;
|
|
2372
|
-
/** @format int64 */
|
|
2373
|
-
count: number;
|
|
2374
|
-
}
|
|
2375
2397
|
export interface SiteConfigurationReduced {
|
|
2376
2398
|
/** @format uuid */
|
|
2377
2399
|
id: string;
|
|
@@ -2552,6 +2574,37 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
2552
2574
|
searchText?: string | null;
|
|
2553
2575
|
isActive?: boolean | null;
|
|
2554
2576
|
entityType?: string | null;
|
|
2577
|
+
/** @format uuid */
|
|
2578
|
+
branch?: string | null;
|
|
2579
|
+
/** @format uuid */
|
|
2580
|
+
brand?: string | null;
|
|
2581
|
+
role?: UserRole | null;
|
|
2582
|
+
branchType?: string | null;
|
|
2583
|
+
}
|
|
2584
|
+
export interface SiteConfigurationWithBranchBrandLOInformation {
|
|
2585
|
+
/** @format uuid */
|
|
2586
|
+
id: string;
|
|
2587
|
+
url?: string | null;
|
|
2588
|
+
name: string;
|
|
2589
|
+
/** @format int64 */
|
|
2590
|
+
nmlsid: number;
|
|
2591
|
+
email?: string | null;
|
|
2592
|
+
companyName?: string | null;
|
|
2593
|
+
/** @format date-time */
|
|
2594
|
+
createdAt?: string | null;
|
|
2595
|
+
/** @format date-time */
|
|
2596
|
+
deletedAt?: string | null;
|
|
2597
|
+
branch?: BranchBase | null;
|
|
2598
|
+
corporate?: CorporateBase | null;
|
|
2599
|
+
loanOfficer?: User | null;
|
|
2600
|
+
realtor?: User | null;
|
|
2601
|
+
branchName?: string | null;
|
|
2602
|
+
}
|
|
2603
|
+
export interface SiteConfigurationWithBranchBrandLOInformationPaginated {
|
|
2604
|
+
rows: SiteConfigurationWithBranchBrandLOInformation[];
|
|
2605
|
+
pagination: Pagination;
|
|
2606
|
+
/** @format int64 */
|
|
2607
|
+
count: number;
|
|
2555
2608
|
}
|
|
2556
2609
|
export interface SiteConfigurationWithInherited {
|
|
2557
2610
|
siteConfiguration: SiteConfiguration;
|
|
@@ -2607,6 +2660,26 @@ export interface Task {
|
|
|
2607
2660
|
willAutocompleteAfterResponse: boolean;
|
|
2608
2661
|
hasAutoPropagationOnAdd: boolean;
|
|
2609
2662
|
}
|
|
2663
|
+
export interface TaskComment {
|
|
2664
|
+
/** @format uuid */
|
|
2665
|
+
id: string;
|
|
2666
|
+
comment: string;
|
|
2667
|
+
createdBy: UserBase;
|
|
2668
|
+
/** @format date-time */
|
|
2669
|
+
createdAt: string;
|
|
2670
|
+
}
|
|
2671
|
+
export interface TaskCommentPaginated {
|
|
2672
|
+
rows: TaskComment[];
|
|
2673
|
+
pagination: Pagination;
|
|
2674
|
+
/** @format int64 */
|
|
2675
|
+
count: number;
|
|
2676
|
+
}
|
|
2677
|
+
export interface TaskCommentRequest {
|
|
2678
|
+
comment: string;
|
|
2679
|
+
}
|
|
2680
|
+
export interface TaskCommentSearchCriteria {
|
|
2681
|
+
searchText?: string | null;
|
|
2682
|
+
}
|
|
2610
2683
|
export interface TaskPaginated {
|
|
2611
2684
|
rows: Task[];
|
|
2612
2685
|
pagination: Pagination;
|
|
@@ -2658,6 +2731,7 @@ export interface TestSendNotificationForLoanRequest {
|
|
|
2658
2731
|
/** @format uuid */
|
|
2659
2732
|
siteConfigurationId: string;
|
|
2660
2733
|
toAddress?: string | null;
|
|
2734
|
+
toPhoneNumber?: string | null;
|
|
2661
2735
|
templateName?: string | null;
|
|
2662
2736
|
attachments: Attachment[];
|
|
2663
2737
|
}
|
|
@@ -2754,6 +2828,7 @@ export interface UpdateAccountRequest {
|
|
|
2754
2828
|
allowedLoginsWithoutMFA: number;
|
|
2755
2829
|
losSettings: LOSSettingsUpdateRequest;
|
|
2756
2830
|
asoSettings?: ASOSettings | null;
|
|
2831
|
+
settings: AccountSettingsRequest;
|
|
2757
2832
|
}
|
|
2758
2833
|
export interface UpdateDocumentTemplateRequest {
|
|
2759
2834
|
/** @minLength 1 */
|
|
@@ -2809,6 +2884,7 @@ export interface UpdateMeRequest {
|
|
|
2809
2884
|
title?: string | null;
|
|
2810
2885
|
forcePasswordReset: boolean;
|
|
2811
2886
|
mfaEnabled: boolean;
|
|
2887
|
+
notificationSettings: UserNotificationSettingsUpdateRequest;
|
|
2812
2888
|
}
|
|
2813
2889
|
export interface UpdateMobilePhoneRequest {
|
|
2814
2890
|
phone: string;
|
|
@@ -2886,6 +2962,8 @@ export interface UserLoanTask {
|
|
|
2886
2962
|
createdBy: User;
|
|
2887
2963
|
submittedBy?: User | null;
|
|
2888
2964
|
completedBy?: User | null;
|
|
2965
|
+
/** @format int32 */
|
|
2966
|
+
commentsCount: number;
|
|
2889
2967
|
}
|
|
2890
2968
|
export interface UserLoanTaskRequest {
|
|
2891
2969
|
value?: string | null;
|
|
@@ -2903,6 +2981,16 @@ export interface UserMobilePhoneVerificationRequest {
|
|
|
2903
2981
|
/** @minLength 1 */
|
|
2904
2982
|
code: string;
|
|
2905
2983
|
}
|
|
2984
|
+
export interface UserNotificationSettings {
|
|
2985
|
+
emailEnabled: boolean;
|
|
2986
|
+
textEnabled: boolean;
|
|
2987
|
+
textOptIn?: boolean | null;
|
|
2988
|
+
}
|
|
2989
|
+
export interface UserNotificationSettingsUpdateRequest {
|
|
2990
|
+
emailEnabled: boolean;
|
|
2991
|
+
textEnabled: boolean;
|
|
2992
|
+
textOptIn?: boolean | null;
|
|
2993
|
+
}
|
|
2906
2994
|
export interface UserPaginated {
|
|
2907
2995
|
rows: User[];
|
|
2908
2996
|
pagination: Pagination;
|
|
@@ -3069,7 +3157,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
3069
3157
|
}
|
|
3070
3158
|
/**
|
|
3071
3159
|
* @title The Big POS API
|
|
3072
|
-
* @version v2.
|
|
3160
|
+
* @version v2.14.1
|
|
3073
3161
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
3074
3162
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
3075
3163
|
*/
|
|
@@ -4610,6 +4698,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4610
4698
|
sortBy?: string;
|
|
4611
4699
|
sortDirection?: string;
|
|
4612
4700
|
}, params?: RequestParams) => Promise<AxiosResponse<DraftContentPaginated, any>>;
|
|
4701
|
+
/**
|
|
4702
|
+
* No description
|
|
4703
|
+
*
|
|
4704
|
+
* @tags LoanDrafts
|
|
4705
|
+
* @name ReassignLoanOfficer
|
|
4706
|
+
* @summary Reassign Loan officer
|
|
4707
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
4708
|
+
* @secure
|
|
4709
|
+
*/
|
|
4710
|
+
reassignLoanOfficer: (draftId: string, data: DraftLoanOfficerReassignRequest, params?: RequestParams) => Promise<AxiosResponse<Draft, any>>;
|
|
4613
4711
|
/**
|
|
4614
4712
|
* No description
|
|
4615
4713
|
*
|
|
@@ -4734,6 +4832,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4734
4832
|
* @secure
|
|
4735
4833
|
*/
|
|
4736
4834
|
replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params?: RequestParams) => Promise<AxiosResponse<LoanQueueWithData, any>>;
|
|
4835
|
+
/**
|
|
4836
|
+
* No description
|
|
4837
|
+
*
|
|
4838
|
+
* @tags LoanQueue
|
|
4839
|
+
* @name DeleteLoanQueue
|
|
4840
|
+
* @summary Delete Loan Queue Item
|
|
4841
|
+
* @request DELETE:/api/loans/queue/{loanQueueId}
|
|
4842
|
+
* @secure
|
|
4843
|
+
*/
|
|
4844
|
+
deleteLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4737
4845
|
/**
|
|
4738
4846
|
* No description
|
|
4739
4847
|
*
|
|
@@ -4808,6 +4916,63 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4808
4916
|
* @secure
|
|
4809
4917
|
*/
|
|
4810
4918
|
importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
4919
|
+
/**
|
|
4920
|
+
* No description
|
|
4921
|
+
*
|
|
4922
|
+
* @tags LoanTaskComments
|
|
4923
|
+
* @name SearchLoanTaskComments
|
|
4924
|
+
* @summary Search
|
|
4925
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
4926
|
+
* @secure
|
|
4927
|
+
*/
|
|
4928
|
+
searchLoanTaskComments: (loanId: string, userLoanTaskId: string, data: TaskCommentSearchCriteria, query?: {
|
|
4929
|
+
/** @format int32 */
|
|
4930
|
+
pageSize?: number;
|
|
4931
|
+
/** @format int32 */
|
|
4932
|
+
pageNumber?: number;
|
|
4933
|
+
sortBy?: string;
|
|
4934
|
+
sortDirection?: string;
|
|
4935
|
+
}, params?: RequestParams) => Promise<AxiosResponse<TaskCommentPaginated, any>>;
|
|
4936
|
+
/**
|
|
4937
|
+
* No description
|
|
4938
|
+
*
|
|
4939
|
+
* @tags LoanTaskComments
|
|
4940
|
+
* @name GetLoanTaskComment
|
|
4941
|
+
* @summary Get by ID
|
|
4942
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
4943
|
+
* @secure
|
|
4944
|
+
*/
|
|
4945
|
+
getLoanTaskComment: (id: string, loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4946
|
+
/**
|
|
4947
|
+
* No description
|
|
4948
|
+
*
|
|
4949
|
+
* @tags LoanTaskComments
|
|
4950
|
+
* @name CreateLoanTaskComment
|
|
4951
|
+
* @summary Create
|
|
4952
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
4953
|
+
* @secure
|
|
4954
|
+
*/
|
|
4955
|
+
createLoanTaskComment: (loanId: string, userLoanTaskId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4956
|
+
/**
|
|
4957
|
+
* No description
|
|
4958
|
+
*
|
|
4959
|
+
* @tags LoanTaskComments
|
|
4960
|
+
* @name ReplaceLoanTaskComment
|
|
4961
|
+
* @summary Replace
|
|
4962
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
4963
|
+
* @secure
|
|
4964
|
+
*/
|
|
4965
|
+
replaceLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4966
|
+
/**
|
|
4967
|
+
* No description
|
|
4968
|
+
*
|
|
4969
|
+
* @tags LoanTaskComments
|
|
4970
|
+
* @name DeleteLoanTaskComment
|
|
4971
|
+
* @summary Delete
|
|
4972
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
4973
|
+
* @secure
|
|
4974
|
+
*/
|
|
4975
|
+
deleteLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4811
4976
|
/**
|
|
4812
4977
|
* No description
|
|
4813
4978
|
*
|
|
@@ -4993,40 +5158,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4993
5158
|
* @secure
|
|
4994
5159
|
*/
|
|
4995
5160
|
deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4996
|
-
/**
|
|
4997
|
-
* No description
|
|
4998
|
-
*
|
|
4999
|
-
* @tags NotificationLogs
|
|
5000
|
-
* @name GetNotificationLogs
|
|
5001
|
-
* @summary Get All
|
|
5002
|
-
* @request GET:/api/notifications/logs
|
|
5003
|
-
* @secure
|
|
5004
|
-
*/
|
|
5005
|
-
getNotificationLogs: (query?: {
|
|
5006
|
-
/** @format int32 */
|
|
5007
|
-
pageSize?: number;
|
|
5008
|
-
/** @format int32 */
|
|
5009
|
-
pageNumber?: number;
|
|
5010
|
-
sortBy?: string;
|
|
5011
|
-
sortDirection?: string;
|
|
5012
|
-
}, params?: RequestParams) => Promise<AxiosResponse<NotificationLog[], any>>;
|
|
5013
|
-
/**
|
|
5014
|
-
* No description
|
|
5015
|
-
*
|
|
5016
|
-
* @tags NotificationLogs
|
|
5017
|
-
* @name SearchNotificationLog
|
|
5018
|
-
* @summary Search
|
|
5019
|
-
* @request POST:/api/notifications/logs/search
|
|
5020
|
-
* @secure
|
|
5021
|
-
*/
|
|
5022
|
-
searchNotificationLog: (data: NotificationLogSearchCriteria, query?: {
|
|
5023
|
-
/** @format int32 */
|
|
5024
|
-
pageSize?: number;
|
|
5025
|
-
/** @format int32 */
|
|
5026
|
-
pageNumber?: number;
|
|
5027
|
-
sortBy?: string;
|
|
5028
|
-
sortDirection?: string;
|
|
5029
|
-
}, params?: RequestParams) => Promise<AxiosResponse<NotificationLogPaginated, any>>;
|
|
5030
5161
|
/**
|
|
5031
5162
|
* No description
|
|
5032
5163
|
*
|
|
@@ -5284,16 +5415,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5284
5415
|
* @secure
|
|
5285
5416
|
*/
|
|
5286
5417
|
deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
5287
|
-
/**
|
|
5288
|
-
* No description
|
|
5289
|
-
*
|
|
5290
|
-
* @tags SelfProvisioning
|
|
5291
|
-
* @name CreateSelfProvisioningItem
|
|
5292
|
-
* @summary Create
|
|
5293
|
-
* @request POST:/api/selfprovisioning/newcustomer
|
|
5294
|
-
* @secure
|
|
5295
|
-
*/
|
|
5296
|
-
createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
5297
5418
|
/**
|
|
5298
5419
|
* No description
|
|
5299
5420
|
*
|
|
@@ -5364,7 +5485,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5364
5485
|
pageNumber?: number;
|
|
5365
5486
|
sortBy?: string;
|
|
5366
5487
|
sortDirection?: string;
|
|
5367
|
-
}, params?: RequestParams) => Promise<AxiosResponse<
|
|
5488
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithBranchBrandLOInformationPaginated, any>>;
|
|
5368
5489
|
/**
|
|
5369
5490
|
* No description
|
|
5370
5491
|
*
|