@matech/thebigpos-sdk 2.27.0-eclose → 2.27.4-rc0
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 +3 -1
- package/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/index.d.ts +73 -155
- package/dist/index.js +13 -55
- package/dist/index.js.map +1 -1
- package/package.json +40 -40
- package/scripts/apply-json-patch-content-type.js +56 -0
- package/src/index.ts +280 -335
- package/tsconfig.json +27 -27
package/.husky/pre-commit
CHANGED
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
|
@@ -525,7 +525,7 @@ export interface CorporateSearchCriteria {
|
|
|
525
525
|
isActive?: boolean | null;
|
|
526
526
|
}
|
|
527
527
|
export interface CreateAccessScopeRequest {
|
|
528
|
-
scopeType:
|
|
528
|
+
scopeType: CreateAccessScopeRequestScopeTypeEnum;
|
|
529
529
|
/** @format uuid */
|
|
530
530
|
userId?: string | null;
|
|
531
531
|
/** @format uuid */
|
|
@@ -548,7 +548,7 @@ export interface CreateAccountRequest {
|
|
|
548
548
|
*/
|
|
549
549
|
nlmsid: number;
|
|
550
550
|
settings: AccountSettingsRequest;
|
|
551
|
-
environment:
|
|
551
|
+
environment: CreateAccountRequestEnvironmentEnum;
|
|
552
552
|
losIntegration: LOSIntegration;
|
|
553
553
|
}
|
|
554
554
|
export interface CreateBranchRequest {
|
|
@@ -577,7 +577,7 @@ export interface CreateDocumentTemplateRequest {
|
|
|
577
577
|
export interface CreateGroupMemberRequest {
|
|
578
578
|
/** @format uuid */
|
|
579
579
|
userId: string;
|
|
580
|
-
loanRole:
|
|
580
|
+
loanRole: CreateGroupMemberRequestLoanRoleEnum;
|
|
581
581
|
}
|
|
582
582
|
export interface CreateInviteRequest {
|
|
583
583
|
/** @minLength 1 */
|
|
@@ -588,7 +588,7 @@ export interface CreateInviteRequest {
|
|
|
588
588
|
emailAddress: string;
|
|
589
589
|
phoneNumber?: string | null;
|
|
590
590
|
/** @deprecated */
|
|
591
|
-
relationship:
|
|
591
|
+
relationship: CreateInviteRequestRelationshipEnum;
|
|
592
592
|
loanID: string;
|
|
593
593
|
route?: string | null;
|
|
594
594
|
/** @format uuid */
|
|
@@ -610,25 +610,13 @@ export interface CreateLoanImportRequest {
|
|
|
610
610
|
* @minLength 1
|
|
611
611
|
*/
|
|
612
612
|
startDate: string;
|
|
613
|
-
importMode:
|
|
614
|
-
}
|
|
615
|
-
export interface CreateSession {
|
|
616
|
-
sessionId: string;
|
|
617
|
-
sessionUrl: string;
|
|
618
|
-
/** @format date-time */
|
|
619
|
-
createdAt: string;
|
|
620
|
-
/** @format date-time */
|
|
621
|
-
expiresAt?: string | null;
|
|
622
|
-
}
|
|
623
|
-
export interface CreateSessionRequest {
|
|
624
|
-
packageId: string;
|
|
625
|
-
recipientId: string;
|
|
613
|
+
importMode: CreateLoanImportRequestImportModeEnum;
|
|
626
614
|
}
|
|
627
615
|
export interface CreateUserDeviceRequest {
|
|
628
616
|
token: string;
|
|
629
617
|
}
|
|
630
618
|
export interface CreateUserDraft {
|
|
631
|
-
loanRole:
|
|
619
|
+
loanRole: CreateUserDraftLoanRoleEnum;
|
|
632
620
|
}
|
|
633
621
|
export interface CreateUserGroupRequest {
|
|
634
622
|
/**
|
|
@@ -988,37 +976,6 @@ export interface EncompassContact {
|
|
|
988
976
|
phone?: string | null;
|
|
989
977
|
company?: string | null;
|
|
990
978
|
}
|
|
991
|
-
export interface EncompassError {
|
|
992
|
-
errorCode: string;
|
|
993
|
-
message: string;
|
|
994
|
-
details?: string[] | null;
|
|
995
|
-
}
|
|
996
|
-
export interface EncompassPackageItem {
|
|
997
|
-
packageId: string;
|
|
998
|
-
status: string;
|
|
999
|
-
title?: string | null;
|
|
1000
|
-
/** @format date-time */
|
|
1001
|
-
createdAt: string;
|
|
1002
|
-
/** @format date-time */
|
|
1003
|
-
dueDate?: string | null;
|
|
1004
|
-
/** @format date-time */
|
|
1005
|
-
completedAt?: string | null;
|
|
1006
|
-
canSign: boolean;
|
|
1007
|
-
recipientId: string;
|
|
1008
|
-
propertyAddress?: string | null;
|
|
1009
|
-
loanNumber?: string | null;
|
|
1010
|
-
}
|
|
1011
|
-
export interface EncompassPackageList {
|
|
1012
|
-
packages: EncompassPackageItem[];
|
|
1013
|
-
/** @format int32 */
|
|
1014
|
-
totalCount: number;
|
|
1015
|
-
/** @format int32 */
|
|
1016
|
-
page: number;
|
|
1017
|
-
/** @format int32 */
|
|
1018
|
-
pageSize: number;
|
|
1019
|
-
/** @format int32 */
|
|
1020
|
-
totalPages: number;
|
|
1021
|
-
}
|
|
1022
979
|
export interface Error {
|
|
1023
980
|
message: string;
|
|
1024
981
|
}
|
|
@@ -1214,7 +1171,7 @@ export interface FusionFieldDisplay {
|
|
|
1214
1171
|
fieldValue: string;
|
|
1215
1172
|
}
|
|
1216
1173
|
export interface FusionReportFilter {
|
|
1217
|
-
filterType:
|
|
1174
|
+
filterType: FusionReportFilterFilterTypeEnum;
|
|
1218
1175
|
targetField: string;
|
|
1219
1176
|
targetValue: string;
|
|
1220
1177
|
}
|
|
@@ -1673,7 +1630,7 @@ export interface LoanContact {
|
|
|
1673
1630
|
email?: string | null;
|
|
1674
1631
|
phone?: string | null;
|
|
1675
1632
|
companyName?: string | null;
|
|
1676
|
-
role:
|
|
1633
|
+
role: LoanContactRoleEnum;
|
|
1677
1634
|
}
|
|
1678
1635
|
export interface LoanContactList {
|
|
1679
1636
|
email: string;
|
|
@@ -1760,13 +1717,13 @@ export interface LoanImport {
|
|
|
1760
1717
|
/** @format int32 */
|
|
1761
1718
|
importedCount: number;
|
|
1762
1719
|
statusMessage?: string | null;
|
|
1763
|
-
status:
|
|
1764
|
-
importMode:
|
|
1720
|
+
status: LoanImportStatusEnum;
|
|
1721
|
+
importMode: LoanImportImportModeEnum;
|
|
1765
1722
|
/** @format date-time */
|
|
1766
1723
|
createdAt?: string | null;
|
|
1767
1724
|
}
|
|
1768
1725
|
export interface LoanImportLog {
|
|
1769
|
-
level:
|
|
1726
|
+
level: LoanImportLogLevelEnum;
|
|
1770
1727
|
message: string;
|
|
1771
1728
|
/** @format date-time */
|
|
1772
1729
|
createdAt: string;
|
|
@@ -1810,8 +1767,8 @@ export interface LoanListPaginated {
|
|
|
1810
1767
|
export interface LoanLog {
|
|
1811
1768
|
/** @format uuid */
|
|
1812
1769
|
id: string;
|
|
1813
|
-
level:
|
|
1814
|
-
type:
|
|
1770
|
+
level: LoanLogLevelEnum;
|
|
1771
|
+
type: LoanLogTypeEnum;
|
|
1815
1772
|
message: string;
|
|
1816
1773
|
/** @format date-time */
|
|
1817
1774
|
createdAt: string;
|
|
@@ -1933,7 +1890,7 @@ export interface LoanUpdateRequestJsonPatchDocument {
|
|
|
1933
1890
|
contractResolver?: IContractResolver | null;
|
|
1934
1891
|
}
|
|
1935
1892
|
export interface LoanUpdateRequestOperation {
|
|
1936
|
-
operationType:
|
|
1893
|
+
operationType: LoanUpdateRequestOperationOperationTypeEnum;
|
|
1937
1894
|
path?: string | null;
|
|
1938
1895
|
op?: string | null;
|
|
1939
1896
|
from?: string | null;
|
|
@@ -1947,7 +1904,7 @@ export interface LoanUser {
|
|
|
1947
1904
|
email: string;
|
|
1948
1905
|
phone?: string | null;
|
|
1949
1906
|
role: string;
|
|
1950
|
-
loanRole:
|
|
1907
|
+
loanRole: LoanUserLoanRoleEnum;
|
|
1951
1908
|
isUser: boolean;
|
|
1952
1909
|
/** @format date-time */
|
|
1953
1910
|
createdAt: string;
|
|
@@ -2290,22 +2247,6 @@ export interface ProblemDetails {
|
|
|
2290
2247
|
instance?: string | null;
|
|
2291
2248
|
[key: string]: any;
|
|
2292
2249
|
}
|
|
2293
|
-
export interface ProcessCompletion {
|
|
2294
|
-
success: boolean;
|
|
2295
|
-
sessionId: string;
|
|
2296
|
-
status: string;
|
|
2297
|
-
message: string;
|
|
2298
|
-
packageId?: string | null;
|
|
2299
|
-
recipientId: string;
|
|
2300
|
-
internalUserId: string;
|
|
2301
|
-
/** @format date-time */
|
|
2302
|
-
completedAt: string;
|
|
2303
|
-
wasAlreadyProcessed: boolean;
|
|
2304
|
-
}
|
|
2305
|
-
export interface ProcessCompletionRequest {
|
|
2306
|
-
/** @minLength 1 */
|
|
2307
|
-
sessionId: string;
|
|
2308
|
-
}
|
|
2309
2250
|
export interface RefinanceCalculator {
|
|
2310
2251
|
currentLoan: RefinanceLoan;
|
|
2311
2252
|
refinanceLoan: RefinanceLoan;
|
|
@@ -2558,7 +2499,7 @@ export interface SSOTokenRequest {
|
|
|
2558
2499
|
redirectUri: string;
|
|
2559
2500
|
}
|
|
2560
2501
|
export interface SamlMetadataRequest {
|
|
2561
|
-
ssoIntegration:
|
|
2502
|
+
ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
|
|
2562
2503
|
}
|
|
2563
2504
|
export interface SendForgotPasswordRequest {
|
|
2564
2505
|
/**
|
|
@@ -2593,7 +2534,7 @@ export interface SiteConfiguration {
|
|
|
2593
2534
|
deletedAt?: string | null;
|
|
2594
2535
|
/** @format uuid */
|
|
2595
2536
|
id: string;
|
|
2596
|
-
type:
|
|
2537
|
+
type: SiteConfigurationTypeEnum;
|
|
2597
2538
|
/** @format uuid */
|
|
2598
2539
|
entityID: string;
|
|
2599
2540
|
/** @format int32 */
|
|
@@ -2787,7 +2728,7 @@ export interface SiteConfigurationByUrl {
|
|
|
2787
2728
|
deletedAt?: string | null;
|
|
2788
2729
|
/** @format uuid */
|
|
2789
2730
|
id: string;
|
|
2790
|
-
type:
|
|
2731
|
+
type: SiteConfigurationByUrlTypeEnum;
|
|
2791
2732
|
/** @format uuid */
|
|
2792
2733
|
entityID: string;
|
|
2793
2734
|
/** @format int32 */
|
|
@@ -2998,7 +2939,7 @@ export interface SiteConfigurationForm {
|
|
|
2998
2939
|
export interface SiteConfigurationReduced {
|
|
2999
2940
|
/** @format uuid */
|
|
3000
2941
|
id: string;
|
|
3001
|
-
type:
|
|
2942
|
+
type: SiteConfigurationReducedTypeEnum;
|
|
3002
2943
|
url?: string | null;
|
|
3003
2944
|
name: string;
|
|
3004
2945
|
/** @format int64 */
|
|
@@ -3015,7 +2956,7 @@ export interface SiteConfigurationRequest {
|
|
|
3015
2956
|
entityID: string;
|
|
3016
2957
|
/** @format int32 */
|
|
3017
2958
|
entityType: number;
|
|
3018
|
-
type:
|
|
2959
|
+
type: SiteConfigurationRequestTypeEnum;
|
|
3019
2960
|
url: string;
|
|
3020
2961
|
name: string;
|
|
3021
2962
|
introduction?: string | null;
|
|
@@ -3190,7 +3131,7 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
3190
3131
|
export interface SiteConfigurationSummary {
|
|
3191
3132
|
/** @format uuid */
|
|
3192
3133
|
id: string;
|
|
3193
|
-
type:
|
|
3134
|
+
type: SiteConfigurationSummaryTypeEnum;
|
|
3194
3135
|
url?: string | null;
|
|
3195
3136
|
name: string;
|
|
3196
3137
|
/** @format int64 */
|
|
@@ -3592,7 +3533,7 @@ export interface UserDevice {
|
|
|
3592
3533
|
export interface UserDraft {
|
|
3593
3534
|
/** @format uuid */
|
|
3594
3535
|
draftID: string;
|
|
3595
|
-
role:
|
|
3536
|
+
role: UserDraftRoleEnum;
|
|
3596
3537
|
user: User;
|
|
3597
3538
|
}
|
|
3598
3539
|
export interface UserDraftPaginated {
|
|
@@ -3616,7 +3557,7 @@ export interface UserGroupAccessScope {
|
|
|
3616
3557
|
id: string;
|
|
3617
3558
|
/** @format uuid */
|
|
3618
3559
|
groupId: string;
|
|
3619
|
-
scopeType:
|
|
3560
|
+
scopeType: UserGroupAccessScopeScopeTypeEnum;
|
|
3620
3561
|
/** @format uuid */
|
|
3621
3562
|
userId?: string | null;
|
|
3622
3563
|
/** @format uuid */
|
|
@@ -3649,7 +3590,7 @@ export interface UserLoan {
|
|
|
3649
3590
|
deletedAt?: string | null;
|
|
3650
3591
|
loanID: string;
|
|
3651
3592
|
user: User;
|
|
3652
|
-
role:
|
|
3593
|
+
role: UserLoanRoleEnum;
|
|
3653
3594
|
/** @format int32 */
|
|
3654
3595
|
borrowerPair?: number | null;
|
|
3655
3596
|
/** @format int32 */
|
|
@@ -3782,7 +3723,7 @@ export interface UserSummary {
|
|
|
3782
3723
|
id: string;
|
|
3783
3724
|
name?: string | null;
|
|
3784
3725
|
email?: string | null;
|
|
3785
|
-
role:
|
|
3726
|
+
role: UserSummaryRoleEnum;
|
|
3786
3727
|
}
|
|
3787
3728
|
export interface VerifyPasswordRequest {
|
|
3788
3729
|
/**
|
|
@@ -3815,6 +3756,38 @@ export interface Workflow {
|
|
|
3815
3756
|
tileSubtitle: string;
|
|
3816
3757
|
icon: string;
|
|
3817
3758
|
}
|
|
3759
|
+
export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
|
|
3760
|
+
export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
|
|
3761
|
+
export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
3762
|
+
/** @deprecated */
|
|
3763
|
+
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
3764
|
+
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
3765
|
+
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
3766
|
+
export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
|
|
3767
|
+
export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
3768
|
+
export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
3769
|
+
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
3770
|
+
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
3771
|
+
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
3772
|
+
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded";
|
|
3773
|
+
export type LoanUpdateRequestOperationOperationTypeEnum = "Add" | "Remove" | "Replace" | "Move" | "Copy" | "Test" | "Invalid";
|
|
3774
|
+
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
3775
|
+
export type SamlMetadataRequestSsoIntegrationEnum = "ConsumerConnect" | "TheBigPOS";
|
|
3776
|
+
export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3777
|
+
export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3778
|
+
export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3779
|
+
export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3780
|
+
export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3781
|
+
export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
3782
|
+
export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
|
|
3783
|
+
export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
3784
|
+
export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
|
|
3785
|
+
/** @default "Realtor" */
|
|
3786
|
+
export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
|
|
3787
|
+
export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS";
|
|
3788
|
+
export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS";
|
|
3789
|
+
export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS";
|
|
3790
|
+
export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS";
|
|
3818
3791
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
3819
3792
|
export type QueryParamsType = Record<string | number, any>;
|
|
3820
3793
|
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
@@ -3859,7 +3832,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
3859
3832
|
}
|
|
3860
3833
|
/**
|
|
3861
3834
|
* @title The Big POS API
|
|
3862
|
-
* @version v2.27.
|
|
3835
|
+
* @version v2.27.3
|
|
3863
3836
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
3864
3837
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
3865
3838
|
*/
|
|
@@ -4069,6 +4042,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4069
4042
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4070
4043
|
*/
|
|
4071
4044
|
getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<AxiosResponse<SSOToken, any>>;
|
|
4045
|
+
/**
|
|
4046
|
+
* No description
|
|
4047
|
+
*
|
|
4048
|
+
* @tags Authentication
|
|
4049
|
+
* @name LogOut
|
|
4050
|
+
* @summary Sign out (clear auth cookies)
|
|
4051
|
+
* @request POST:/api/logout
|
|
4052
|
+
* @secure
|
|
4053
|
+
* @response `204` `void` No Content
|
|
4054
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
4055
|
+
*/
|
|
4056
|
+
logOut: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4072
4057
|
/**
|
|
4073
4058
|
* No description
|
|
4074
4059
|
*
|
|
@@ -4662,73 +4647,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4662
4647
|
* @response `200` `DocumentTemplateVersion` Success
|
|
4663
4648
|
*/
|
|
4664
4649
|
deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersion, any>>;
|
|
4665
|
-
/**
|
|
4666
|
-
* No description
|
|
4667
|
-
*
|
|
4668
|
-
* @tags Encompass Cancellation
|
|
4669
|
-
* @name CancelEncompassSession
|
|
4670
|
-
* @request POST:/api/los/encompass/eclose/sessions/cancel
|
|
4671
|
-
* @secure
|
|
4672
|
-
* @response `200` `ProcessCompletion` Success
|
|
4673
|
-
* @response `400` `EncompassError` Bad Request
|
|
4674
|
-
* @response `404` `EncompassError` Not Found
|
|
4675
|
-
* @response `500` `EncompassError` Server Error
|
|
4676
|
-
*/
|
|
4677
|
-
cancelEncompassSession: (data: ProcessCompletionRequest, params?: RequestParams) => Promise<AxiosResponse<ProcessCompletion, any>>;
|
|
4678
|
-
/**
|
|
4679
|
-
* No description
|
|
4680
|
-
*
|
|
4681
|
-
* @tags Encompass Completion
|
|
4682
|
-
* @name CompleteEncompassSession
|
|
4683
|
-
* @request POST:/api/los/encompass/eclose/sessions/complete
|
|
4684
|
-
* @secure
|
|
4685
|
-
* @response `200` `ProcessCompletion` Success
|
|
4686
|
-
* @response `400` `EncompassError` Bad Request
|
|
4687
|
-
* @response `404` `EncompassError` Not Found
|
|
4688
|
-
* @response `500` `EncompassError` Server Error
|
|
4689
|
-
*/
|
|
4690
|
-
completeEncompassSession: (data: ProcessCompletionRequest, params?: RequestParams) => Promise<AxiosResponse<ProcessCompletion, any>>;
|
|
4691
|
-
/**
|
|
4692
|
-
* No description
|
|
4693
|
-
*
|
|
4694
|
-
* @tags Encompass Packages
|
|
4695
|
-
* @name GetUserPackages
|
|
4696
|
-
* @request GET:/api/los/encompass/eclose/packages
|
|
4697
|
-
* @secure
|
|
4698
|
-
* @response `200` `EncompassPackageList` Success
|
|
4699
|
-
* @response `400` `EncompassError` Bad Request
|
|
4700
|
-
* @response `401` `EncompassError` Unauthorized
|
|
4701
|
-
* @response `500` `EncompassError` Server Error
|
|
4702
|
-
*/
|
|
4703
|
-
getUserPackages: (query?: {
|
|
4704
|
-
/** @default "all" */
|
|
4705
|
-
status?: string;
|
|
4706
|
-
/**
|
|
4707
|
-
* @format int32
|
|
4708
|
-
* @default 1
|
|
4709
|
-
*/
|
|
4710
|
-
page?: number;
|
|
4711
|
-
/**
|
|
4712
|
-
* @format int32
|
|
4713
|
-
* @default 20
|
|
4714
|
-
*/
|
|
4715
|
-
pageSize?: number;
|
|
4716
|
-
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any>>;
|
|
4717
|
-
/**
|
|
4718
|
-
* No description
|
|
4719
|
-
*
|
|
4720
|
-
* @tags Encompass Sessions
|
|
4721
|
-
* @name CreateEncompassSession
|
|
4722
|
-
* @request POST:/api/los/encompass/eclose/sessions
|
|
4723
|
-
* @secure
|
|
4724
|
-
* @response `200` `CreateSession` Success
|
|
4725
|
-
* @response `400` `EncompassError` Bad Request
|
|
4726
|
-
* @response `401` `EncompassError` Unauthorized
|
|
4727
|
-
* @response `403` `EncompassError` Forbidden
|
|
4728
|
-
* @response `404` `EncompassError` Not Found
|
|
4729
|
-
* @response `500` `EncompassError` Server Error
|
|
4730
|
-
*/
|
|
4731
|
-
createEncompassSession: (data: CreateSessionRequest, params?: RequestParams) => Promise<AxiosResponse<CreateSession, any>>;
|
|
4732
4650
|
/**
|
|
4733
4651
|
* No description
|
|
4734
4652
|
*
|
|
@@ -6578,7 +6496,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6578
6496
|
getPartners: (query?: {
|
|
6579
6497
|
showAll?: boolean;
|
|
6580
6498
|
/** @default "Realtor" */
|
|
6581
|
-
role?:
|
|
6499
|
+
role?: GetPartnersParamsRoleEnum;
|
|
6582
6500
|
/** @format int32 */
|
|
6583
6501
|
pageSize?: number;
|
|
6584
6502
|
/** @format int32 */
|
|
@@ -6756,7 +6674,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6756
6674
|
* @response `200` `File` Success
|
|
6757
6675
|
* @response `404` `ProblemDetails` Not Found
|
|
6758
6676
|
*/
|
|
6759
|
-
getSamlMetadata: (sSoIntegration:
|
|
6677
|
+
getSamlMetadata: (sSoIntegration: GetSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
|
|
6760
6678
|
/**
|
|
6761
6679
|
* No description
|
|
6762
6680
|
*
|
|
@@ -6767,7 +6685,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6767
6685
|
* @secure
|
|
6768
6686
|
* @response `200` `File` Success
|
|
6769
6687
|
*/
|
|
6770
|
-
createOrReplaceSamlMetadata: (sSoIntegration:
|
|
6688
|
+
createOrReplaceSamlMetadata: (sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
|
|
6771
6689
|
/**
|
|
6772
6690
|
* No description
|
|
6773
6691
|
*
|
package/dist/index.js
CHANGED
|
@@ -103,7 +103,7 @@ export class HttpClient {
|
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* @title The Big POS API
|
|
106
|
-
* @version v2.27.
|
|
106
|
+
* @version v2.27.3
|
|
107
107
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
108
108
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
109
109
|
*/
|
|
@@ -312,6 +312,18 @@ export class Api extends HttpClient {
|
|
|
312
312
|
* @response `422` `UnprocessableEntity` Client Error
|
|
313
313
|
*/
|
|
314
314
|
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
315
|
+
/**
|
|
316
|
+
* No description
|
|
317
|
+
*
|
|
318
|
+
* @tags Authentication
|
|
319
|
+
* @name LogOut
|
|
320
|
+
* @summary Sign out (clear auth cookies)
|
|
321
|
+
* @request POST:/api/logout
|
|
322
|
+
* @secure
|
|
323
|
+
* @response `204` `void` No Content
|
|
324
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
325
|
+
*/
|
|
326
|
+
logOut: (params = {}) => this.request(Object.assign({ path: `/api/logout`, method: "POST", secure: true }, params)),
|
|
315
327
|
/**
|
|
316
328
|
* No description
|
|
317
329
|
*
|
|
@@ -850,60 +862,6 @@ export class Api extends HttpClient {
|
|
|
850
862
|
* @response `200` `DocumentTemplateVersion` Success
|
|
851
863
|
*/
|
|
852
864
|
deleteDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
853
|
-
/**
|
|
854
|
-
* No description
|
|
855
|
-
*
|
|
856
|
-
* @tags Encompass Cancellation
|
|
857
|
-
* @name CancelEncompassSession
|
|
858
|
-
* @request POST:/api/los/encompass/eclose/sessions/cancel
|
|
859
|
-
* @secure
|
|
860
|
-
* @response `200` `ProcessCompletion` Success
|
|
861
|
-
* @response `400` `EncompassError` Bad Request
|
|
862
|
-
* @response `404` `EncompassError` Not Found
|
|
863
|
-
* @response `500` `EncompassError` Server Error
|
|
864
|
-
*/
|
|
865
|
-
cancelEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions/cancel`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
866
|
-
/**
|
|
867
|
-
* No description
|
|
868
|
-
*
|
|
869
|
-
* @tags Encompass Completion
|
|
870
|
-
* @name CompleteEncompassSession
|
|
871
|
-
* @request POST:/api/los/encompass/eclose/sessions/complete
|
|
872
|
-
* @secure
|
|
873
|
-
* @response `200` `ProcessCompletion` Success
|
|
874
|
-
* @response `400` `EncompassError` Bad Request
|
|
875
|
-
* @response `404` `EncompassError` Not Found
|
|
876
|
-
* @response `500` `EncompassError` Server Error
|
|
877
|
-
*/
|
|
878
|
-
completeEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions/complete`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
879
|
-
/**
|
|
880
|
-
* No description
|
|
881
|
-
*
|
|
882
|
-
* @tags Encompass Packages
|
|
883
|
-
* @name GetUserPackages
|
|
884
|
-
* @request GET:/api/los/encompass/eclose/packages
|
|
885
|
-
* @secure
|
|
886
|
-
* @response `200` `EncompassPackageList` Success
|
|
887
|
-
* @response `400` `EncompassError` Bad Request
|
|
888
|
-
* @response `401` `EncompassError` Unauthorized
|
|
889
|
-
* @response `500` `EncompassError` Server Error
|
|
890
|
-
*/
|
|
891
|
-
getUserPackages: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
892
|
-
/**
|
|
893
|
-
* No description
|
|
894
|
-
*
|
|
895
|
-
* @tags Encompass Sessions
|
|
896
|
-
* @name CreateEncompassSession
|
|
897
|
-
* @request POST:/api/los/encompass/eclose/sessions
|
|
898
|
-
* @secure
|
|
899
|
-
* @response `200` `CreateSession` Success
|
|
900
|
-
* @response `400` `EncompassError` Bad Request
|
|
901
|
-
* @response `401` `EncompassError` Unauthorized
|
|
902
|
-
* @response `403` `EncompassError` Forbidden
|
|
903
|
-
* @response `404` `EncompassError` Not Found
|
|
904
|
-
* @response `500` `EncompassError` Server Error
|
|
905
|
-
*/
|
|
906
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
907
865
|
/**
|
|
908
866
|
* No description
|
|
909
867
|
*
|