@matech/thebigpos-sdk 2.18.4-rc.0 → 2.19.4-rc.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 +2 -1
- package/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/index.d.ts +133 -75
- package/dist/index.js +49 -6
- package/dist/index.js.map +1 -1
- package/package.json +40 -40
- package/{apply-json-patch-content-type.js → scripts/apply-json-patch-content-type.js} +56 -45
- package/src/index.ts +188 -85
- 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
|
@@ -159,6 +159,11 @@ export interface AllowImpersonationRequest {
|
|
|
159
159
|
email: string;
|
|
160
160
|
}
|
|
161
161
|
export interface ApplicationRowData {
|
|
162
|
+
buyerAgent?: EncompassContact | null;
|
|
163
|
+
sellerAgent?: EncompassContact | null;
|
|
164
|
+
settlementAgent?: EncompassContact | null;
|
|
165
|
+
escrowAgent?: EncompassContact | null;
|
|
166
|
+
titleInsuranceAgent?: EncompassContact | null;
|
|
162
167
|
borrowerEmail?: string | null;
|
|
163
168
|
borrowerFirstName?: string | null;
|
|
164
169
|
borrowerLastName?: string | null;
|
|
@@ -204,11 +209,6 @@ export interface ApplicationRowData {
|
|
|
204
209
|
subjectPropertyState?: string | null;
|
|
205
210
|
subjectPropertyZip?: string | null;
|
|
206
211
|
loanPurpose?: string | null;
|
|
207
|
-
buyerAgent?: EncompassContact | null;
|
|
208
|
-
sellerAgent?: EncompassContact | null;
|
|
209
|
-
settlementAgent?: EncompassContact | null;
|
|
210
|
-
escrowAgent?: EncompassContact | null;
|
|
211
|
-
titleInsuranceAgent?: EncompassContact | null;
|
|
212
212
|
}
|
|
213
213
|
export interface Attachment {
|
|
214
214
|
fileName: string;
|
|
@@ -351,14 +351,6 @@ export interface ConditionComment {
|
|
|
351
351
|
createdBy: string;
|
|
352
352
|
createdByName: string;
|
|
353
353
|
}
|
|
354
|
-
export interface Contact {
|
|
355
|
-
/** @format uuid */
|
|
356
|
-
id: string;
|
|
357
|
-
firstName?: string | null;
|
|
358
|
-
lastName?: string | null;
|
|
359
|
-
name?: string | null;
|
|
360
|
-
email?: string | null;
|
|
361
|
-
}
|
|
362
354
|
export interface ContactInfo {
|
|
363
355
|
phone: string;
|
|
364
356
|
tollFreePhone?: string | null;
|
|
@@ -813,6 +805,7 @@ export interface EnabledServices {
|
|
|
813
805
|
listingOfferForm?: boolean | null;
|
|
814
806
|
listings?: boolean | null;
|
|
815
807
|
addCoBorrower?: boolean | null;
|
|
808
|
+
autoNameTaskDocuments?: boolean | null;
|
|
816
809
|
}
|
|
817
810
|
export interface EncompassContact {
|
|
818
811
|
name?: string | null;
|
|
@@ -823,64 +816,6 @@ export interface EncompassContact {
|
|
|
823
816
|
export interface Error {
|
|
824
817
|
message: string;
|
|
825
818
|
}
|
|
826
|
-
export interface ExtendedLoan {
|
|
827
|
-
/** @format uuid */
|
|
828
|
-
id: string;
|
|
829
|
-
loanID: string;
|
|
830
|
-
loanNumber?: string | null;
|
|
831
|
-
/** @format date-time */
|
|
832
|
-
initialDisclosureProvidedDate?: string | null;
|
|
833
|
-
/** @format date-time */
|
|
834
|
-
closingDisclosureSentDate?: string | null;
|
|
835
|
-
/** @format date-time */
|
|
836
|
-
underwritingApprovalDate?: string | null;
|
|
837
|
-
/** @format date-time */
|
|
838
|
-
closingDate?: string | null;
|
|
839
|
-
/** @format date-time */
|
|
840
|
-
fundingOrderDate?: string | null;
|
|
841
|
-
/** @format date-time */
|
|
842
|
-
currentStatusDate?: string | null;
|
|
843
|
-
loanChannel?: string | null;
|
|
844
|
-
/** @format double */
|
|
845
|
-
totalLoanAmount?: number | null;
|
|
846
|
-
currentLoanStatus?: string | null;
|
|
847
|
-
currentMilestone?: string | null;
|
|
848
|
-
lastCompletedMilestone?: string | null;
|
|
849
|
-
/** @format date-time */
|
|
850
|
-
startDate?: string | null;
|
|
851
|
-
isInSync: boolean;
|
|
852
|
-
/** @format date-time */
|
|
853
|
-
syncDate?: string | null;
|
|
854
|
-
excludeFromAutoTaskReminders?: boolean | null;
|
|
855
|
-
fileStarter?: string | null;
|
|
856
|
-
isPOSLoan?: boolean | null;
|
|
857
|
-
referenceID: string;
|
|
858
|
-
/** @format int32 */
|
|
859
|
-
term?: number | null;
|
|
860
|
-
loanProgram?: string | null;
|
|
861
|
-
loanType?: string | null;
|
|
862
|
-
status?: string | null;
|
|
863
|
-
loanOfficer?: LoanOfficer | null;
|
|
864
|
-
propertyAddress?: Address | null;
|
|
865
|
-
loanSettings?: LoanSettings | null;
|
|
866
|
-
loanLogs: LoanLog[];
|
|
867
|
-
isLocked: boolean;
|
|
868
|
-
source?: string | null;
|
|
869
|
-
userLoans: UserLoan[];
|
|
870
|
-
contacts: LoanContact[];
|
|
871
|
-
buyerAgentContact?: Contact | null;
|
|
872
|
-
sellerAgentContact?: Contact | null;
|
|
873
|
-
escrowAgentContact?: Contact | null;
|
|
874
|
-
titleInsuranceAgentContact?: Contact | null;
|
|
875
|
-
settlementAgentContact?: Contact | null;
|
|
876
|
-
loanProcessorContact?: Contact | null;
|
|
877
|
-
}
|
|
878
|
-
export interface ExtendedLoanPaginated {
|
|
879
|
-
rows: ExtendedLoan[];
|
|
880
|
-
pagination: Pagination;
|
|
881
|
-
/** @format int64 */
|
|
882
|
-
count: number;
|
|
883
|
-
}
|
|
884
819
|
export interface File {
|
|
885
820
|
/** @format uuid */
|
|
886
821
|
id: string;
|
|
@@ -1368,6 +1303,7 @@ export interface Loan {
|
|
|
1368
1303
|
loanSettings?: LoanSettings | null;
|
|
1369
1304
|
loanLogs: LoanLog[];
|
|
1370
1305
|
isLocked: boolean;
|
|
1306
|
+
isLockedFromEditing: boolean;
|
|
1371
1307
|
source?: string | null;
|
|
1372
1308
|
userLoans: UserLoan[];
|
|
1373
1309
|
contacts: LoanContact[];
|
|
@@ -1434,6 +1370,9 @@ export interface LoanContact {
|
|
|
1434
1370
|
companyName?: string | null;
|
|
1435
1371
|
role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
1436
1372
|
}
|
|
1373
|
+
export interface LoanContactList {
|
|
1374
|
+
email: string;
|
|
1375
|
+
}
|
|
1437
1376
|
export interface LoanDocument {
|
|
1438
1377
|
/** @format date-time */
|
|
1439
1378
|
createdAt: string;
|
|
@@ -1452,6 +1391,37 @@ export interface LoanDocument {
|
|
|
1452
1391
|
contents?: string | null;
|
|
1453
1392
|
failoverDocumentPath?: string | null;
|
|
1454
1393
|
}
|
|
1394
|
+
export interface LoanDocumentSearch {
|
|
1395
|
+
/** @format date-time */
|
|
1396
|
+
createdAt?: string | null;
|
|
1397
|
+
/** @format date-time */
|
|
1398
|
+
updatedAt?: string | null;
|
|
1399
|
+
/** @format date-time */
|
|
1400
|
+
deletedAt?: string | null;
|
|
1401
|
+
/** @format uuid */
|
|
1402
|
+
id: string;
|
|
1403
|
+
name: string;
|
|
1404
|
+
loanID?: string | null;
|
|
1405
|
+
userID?: string | null;
|
|
1406
|
+
initialBucket?: string | null;
|
|
1407
|
+
losDocumentID?: string | null;
|
|
1408
|
+
losStatus: string;
|
|
1409
|
+
contents?: string | null;
|
|
1410
|
+
failoverDocumentPath?: string | null;
|
|
1411
|
+
}
|
|
1412
|
+
export interface LoanDocumentSearchCriteria {
|
|
1413
|
+
searchText?: string | null;
|
|
1414
|
+
bucket?: string | null;
|
|
1415
|
+
/** @format uuid */
|
|
1416
|
+
userID?: string | null;
|
|
1417
|
+
documentIDs?: string[] | null;
|
|
1418
|
+
}
|
|
1419
|
+
export interface LoanDocumentSearchPaginated {
|
|
1420
|
+
rows: LoanDocumentSearch[];
|
|
1421
|
+
pagination: Pagination;
|
|
1422
|
+
/** @format int64 */
|
|
1423
|
+
count: number;
|
|
1424
|
+
}
|
|
1455
1425
|
export interface LoanDraftSearchCriteria {
|
|
1456
1426
|
searchText?: string | null;
|
|
1457
1427
|
/** @format uuid */
|
|
@@ -1460,6 +1430,28 @@ export interface LoanDraftSearchCriteria {
|
|
|
1460
1430
|
siteConfigurationId?: string | null;
|
|
1461
1431
|
isUnassigned?: boolean | null;
|
|
1462
1432
|
}
|
|
1433
|
+
export interface LoanList {
|
|
1434
|
+
/** @format uuid */
|
|
1435
|
+
id: string;
|
|
1436
|
+
status?: string | null;
|
|
1437
|
+
loanID?: string | null;
|
|
1438
|
+
loanNumber?: string | null;
|
|
1439
|
+
/** @format double */
|
|
1440
|
+
totalLoanAmount?: number | null;
|
|
1441
|
+
/** @format date-time */
|
|
1442
|
+
startDate?: string | null;
|
|
1443
|
+
propertyAddress?: Address | null;
|
|
1444
|
+
loanOfficer?: LoanOfficerList | null;
|
|
1445
|
+
buyerAgentContact?: LoanContactList | null;
|
|
1446
|
+
sellerAgentContact?: LoanContactList | null;
|
|
1447
|
+
userLoans: UserLoan[];
|
|
1448
|
+
}
|
|
1449
|
+
export interface LoanListPaginated {
|
|
1450
|
+
rows: LoanList[];
|
|
1451
|
+
pagination: Pagination;
|
|
1452
|
+
/** @format int64 */
|
|
1453
|
+
count: number;
|
|
1454
|
+
}
|
|
1463
1455
|
export interface LoanLog {
|
|
1464
1456
|
/** @format uuid */
|
|
1465
1457
|
id: string;
|
|
@@ -1480,6 +1472,9 @@ export interface LoanOfficer {
|
|
|
1480
1472
|
profilePhotoUrl: string;
|
|
1481
1473
|
siteConfiguration: SiteConfiguration;
|
|
1482
1474
|
}
|
|
1475
|
+
export interface LoanOfficerList {
|
|
1476
|
+
name?: string | null;
|
|
1477
|
+
}
|
|
1483
1478
|
export interface LoanOfficerPublic {
|
|
1484
1479
|
firstName: string;
|
|
1485
1480
|
lastName: string;
|
|
@@ -1630,6 +1625,12 @@ export interface MilestoneConfigurationRequest {
|
|
|
1630
1625
|
loanType: string;
|
|
1631
1626
|
notificationsEnabled: boolean;
|
|
1632
1627
|
}
|
|
1628
|
+
export interface MobileSettings {
|
|
1629
|
+
/** @format uuid */
|
|
1630
|
+
id: string;
|
|
1631
|
+
hasMobile: boolean;
|
|
1632
|
+
downloadLink?: string | null;
|
|
1633
|
+
}
|
|
1633
1634
|
export interface Module {
|
|
1634
1635
|
/** @format uuid */
|
|
1635
1636
|
id: string;
|
|
@@ -1769,7 +1770,7 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
1769
1770
|
}
|
|
1770
1771
|
export interface Operation {
|
|
1771
1772
|
op?: string;
|
|
1772
|
-
value?:
|
|
1773
|
+
value?: string | number | boolean | null | object;
|
|
1773
1774
|
path?: string;
|
|
1774
1775
|
}
|
|
1775
1776
|
export interface OverridePasswordRequest {
|
|
@@ -2000,6 +2001,11 @@ export interface SendForgotPasswordRequest {
|
|
|
2000
2001
|
*/
|
|
2001
2002
|
email: string;
|
|
2002
2003
|
}
|
|
2004
|
+
export interface SendLoanDocumentsRequest {
|
|
2005
|
+
documentIDs: string[];
|
|
2006
|
+
loanUserIDs: string[];
|
|
2007
|
+
emailAddresses: string[];
|
|
2008
|
+
}
|
|
2003
2009
|
export interface SendNotificationForLoanRequest {
|
|
2004
2010
|
/** @minLength 1 */
|
|
2005
2011
|
loanID: string;
|
|
@@ -2202,6 +2208,7 @@ export interface SiteConfiguration {
|
|
|
2202
2208
|
asoSettings?: ASOSettings | null;
|
|
2203
2209
|
accountSettings: AccountSettings;
|
|
2204
2210
|
autoTaskReminderIntervalsInDays: number[];
|
|
2211
|
+
mobileSettings: MobileSettings;
|
|
2205
2212
|
}
|
|
2206
2213
|
export interface SiteConfigurationByUrl {
|
|
2207
2214
|
/** @format date-time */
|
|
@@ -2393,6 +2400,7 @@ export interface SiteConfigurationByUrl {
|
|
|
2393
2400
|
asoSettings?: ASOSettings | null;
|
|
2394
2401
|
accountSettings: AccountSettings;
|
|
2395
2402
|
autoTaskReminderIntervalsInDays: number[];
|
|
2403
|
+
mobileSettings: MobileSettings;
|
|
2396
2404
|
workflows: Workflow[];
|
|
2397
2405
|
}
|
|
2398
2406
|
export interface SiteConfigurationForm {
|
|
@@ -3186,7 +3194,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
3186
3194
|
}
|
|
3187
3195
|
/**
|
|
3188
3196
|
* @title The Big POS API
|
|
3189
|
-
* @version v2.
|
|
3197
|
+
* @version v2.19.1
|
|
3190
3198
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
3191
3199
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
3192
3200
|
*/
|
|
@@ -4347,6 +4355,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4347
4355
|
* @secure
|
|
4348
4356
|
* @response `200` `string` Success
|
|
4349
4357
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4358
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4350
4359
|
*/
|
|
4351
4360
|
updateLoanConsent: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
|
|
4352
4361
|
/**
|
|
@@ -4370,6 +4379,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4370
4379
|
* @secure
|
|
4371
4380
|
* @response `200` `string` Success
|
|
4372
4381
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4382
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4373
4383
|
*/
|
|
4374
4384
|
createLoan: (data: any, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
|
|
4375
4385
|
/**
|
|
@@ -4465,6 +4475,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4465
4475
|
* @deprecated
|
|
4466
4476
|
* @secure
|
|
4467
4477
|
* @response `200` `DocumentDataRequest` Success
|
|
4478
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4468
4479
|
*/
|
|
4469
4480
|
createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentDataRequest, any>>;
|
|
4470
4481
|
/**
|
|
@@ -4693,6 +4704,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4693
4704
|
* @secure
|
|
4694
4705
|
* @response `200` `RunLOCalculation` Success
|
|
4695
4706
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4707
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4696
4708
|
*/
|
|
4697
4709
|
runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculation, any>>;
|
|
4698
4710
|
/**
|
|
@@ -4716,6 +4728,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4716
4728
|
* @secure
|
|
4717
4729
|
* @response `201` `LoanComparisonScenario` Created
|
|
4718
4730
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4731
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4719
4732
|
*/
|
|
4720
4733
|
createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonScenario, any>>;
|
|
4721
4734
|
/**
|
|
@@ -4778,6 +4791,24 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4778
4791
|
/** @default false */
|
|
4779
4792
|
preview?: boolean;
|
|
4780
4793
|
}, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
|
|
4794
|
+
/**
|
|
4795
|
+
* No description
|
|
4796
|
+
*
|
|
4797
|
+
* @tags LoanDocuments
|
|
4798
|
+
* @name SearchLoanDocuments
|
|
4799
|
+
* @summary Search loan documents
|
|
4800
|
+
* @request POST:/api/loans/{loanId}/documents/search
|
|
4801
|
+
* @secure
|
|
4802
|
+
* @response `200` `LoanDocumentSearchPaginated` Success
|
|
4803
|
+
*/
|
|
4804
|
+
searchLoanDocuments: (loanId: string, data: LoanDocumentSearchCriteria, query?: {
|
|
4805
|
+
/** @format int32 */
|
|
4806
|
+
pageSize?: number;
|
|
4807
|
+
/** @format int32 */
|
|
4808
|
+
pageNumber?: number;
|
|
4809
|
+
sortBy?: string;
|
|
4810
|
+
sortDirection?: string;
|
|
4811
|
+
}, params?: RequestParams) => Promise<AxiosResponse<LoanDocumentSearchPaginated, any>>;
|
|
4781
4812
|
/**
|
|
4782
4813
|
* No description
|
|
4783
4814
|
*
|
|
@@ -4801,6 +4832,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4801
4832
|
* @response `201` `LoanDocument` Created
|
|
4802
4833
|
* @response `404` `ProblemDetails` Not Found
|
|
4803
4834
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4835
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4804
4836
|
*/
|
|
4805
4837
|
createLoanDocument: (loanId: string, data: {
|
|
4806
4838
|
name?: string;
|
|
@@ -4819,6 +4851,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4819
4851
|
* @response `200` `LoanDocument` Success
|
|
4820
4852
|
* @response `404` `ProblemDetails` Not Found
|
|
4821
4853
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4854
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
4822
4855
|
*/
|
|
4823
4856
|
retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
|
|
4824
4857
|
/**
|
|
@@ -4832,6 +4865,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4832
4865
|
* @response `200` `DocumentDataRequest` Success
|
|
4833
4866
|
*/
|
|
4834
4867
|
generateLoanDocument: (loanId: string, data: GenerateDocumentRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentDataRequest, any>>;
|
|
4868
|
+
/**
|
|
4869
|
+
* No description
|
|
4870
|
+
*
|
|
4871
|
+
* @tags LoanDocuments
|
|
4872
|
+
* @name SendLoanDocuments
|
|
4873
|
+
* @summary Send existing documents to loan users or external emails
|
|
4874
|
+
* @request POST:/api/loans/{loanId}/documents/distribute
|
|
4875
|
+
* @secure
|
|
4876
|
+
* @response `200` `void` Success
|
|
4877
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
4878
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4879
|
+
*/
|
|
4880
|
+
sendLoanDocuments: (loanId: string, data: SendLoanDocumentsRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4835
4881
|
/**
|
|
4836
4882
|
* No description
|
|
4837
4883
|
*
|
|
@@ -5151,7 +5197,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5151
5197
|
* @summary Search
|
|
5152
5198
|
* @request POST:/api/loans/search
|
|
5153
5199
|
* @secure
|
|
5154
|
-
* @response `200` `
|
|
5200
|
+
* @response `200` `LoanListPaginated` Success
|
|
5155
5201
|
*/
|
|
5156
5202
|
searchLoans: (data: LoanSearchCriteria, query?: {
|
|
5157
5203
|
/** @format int32 */
|
|
@@ -5160,7 +5206,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5160
5206
|
pageNumber?: number;
|
|
5161
5207
|
sortBy?: string;
|
|
5162
5208
|
sortDirection?: string;
|
|
5163
|
-
}, params?: RequestParams) => Promise<AxiosResponse<
|
|
5209
|
+
}, params?: RequestParams) => Promise<AxiosResponse<LoanListPaginated, any>>;
|
|
5164
5210
|
/**
|
|
5165
5211
|
* No description
|
|
5166
5212
|
*
|
|
@@ -5326,6 +5372,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5326
5372
|
* @secure
|
|
5327
5373
|
* @response `201` `UserLoanTask` Created
|
|
5328
5374
|
* @response `404` `ProblemDetails` Not Found
|
|
5375
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
5329
5376
|
*/
|
|
5330
5377
|
createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
|
|
5331
5378
|
/**
|
|
@@ -5338,6 +5385,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5338
5385
|
* @secure
|
|
5339
5386
|
* @response `201` `(UserLoanTask)[]` Created
|
|
5340
5387
|
* @response `404` `ProblemDetails` Not Found
|
|
5388
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
5341
5389
|
*/
|
|
5342
5390
|
importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
|
|
5343
5391
|
/**
|
|
@@ -6051,6 +6099,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6051
6099
|
* @response `200` `void` Success
|
|
6052
6100
|
*/
|
|
6053
6101
|
integrationsLosLoansLockedList: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
6102
|
+
/**
|
|
6103
|
+
* No description
|
|
6104
|
+
*
|
|
6105
|
+
* @tags TheBigPOS
|
|
6106
|
+
* @name IntegrationsLosLoansBucketsList
|
|
6107
|
+
* @request GET:/api/integrations/los/loans/{loanID}/buckets
|
|
6108
|
+
* @secure
|
|
6109
|
+
* @response `200` `void` Success
|
|
6110
|
+
*/
|
|
6111
|
+
integrationsLosLoansBucketsList: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
6054
6112
|
/**
|
|
6055
6113
|
* No description
|
|
6056
6114
|
*
|