@matech/thebigpos-sdk 2.31.2 → 2.33.3-rc1
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/dist/index.d.ts +185 -227
- package/dist/index.js +79 -79
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +250 -323
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export type UserRole = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
|
|
2
2
|
export type SiteConfigurationType = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
3
3
|
export type SSOIntegrationType = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
4
|
-
export type OperationType = "Add" | "Remove" | "Replace" | "Move" | "Copy" | "Test" | "Invalid";
|
|
5
4
|
export type LogLevel = "None" | "Info" | "Warning" | "Error";
|
|
6
5
|
export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
|
|
7
6
|
export type LoanTrustType = "Living" | "Land" | "Testamentary" | "Other";
|
|
@@ -93,6 +92,12 @@ export interface Account {
|
|
|
93
92
|
asoSettings?: ASOSettings | null;
|
|
94
93
|
settings: AccountSettings;
|
|
95
94
|
}
|
|
95
|
+
export interface AccountReportFailure {
|
|
96
|
+
/** @format uuid */
|
|
97
|
+
accountID: string;
|
|
98
|
+
accountName: string;
|
|
99
|
+
errorMessage: string;
|
|
100
|
+
}
|
|
96
101
|
export interface AccountSettings {
|
|
97
102
|
isSmsEnabled: boolean;
|
|
98
103
|
isLoanEditEnabled: boolean;
|
|
@@ -335,60 +340,6 @@ export interface AmortizationSchedule {
|
|
|
335
340
|
/** @format double */
|
|
336
341
|
pmi: number;
|
|
337
342
|
}
|
|
338
|
-
export interface ApplicationRowData {
|
|
339
|
-
borrowerEmail?: string | null;
|
|
340
|
-
borrowerFirstName?: string | null;
|
|
341
|
-
borrowerLastName?: string | null;
|
|
342
|
-
/** @deprecated */
|
|
343
|
-
firstName?: string | null;
|
|
344
|
-
/** @deprecated */
|
|
345
|
-
lastName?: string | null;
|
|
346
|
-
coBorrowerEmail?: string | null;
|
|
347
|
-
coBorrowerFirstName?: string | null;
|
|
348
|
-
coBorrowerLastName?: string | null;
|
|
349
|
-
loanOfficer?: string | null;
|
|
350
|
-
loanOfficerEmail?: string | null;
|
|
351
|
-
/** @format uuid */
|
|
352
|
-
id: string;
|
|
353
|
-
loanID: string;
|
|
354
|
-
/** @format date-time */
|
|
355
|
-
applicationDate?: string | null;
|
|
356
|
-
loanReferenceID: string;
|
|
357
|
-
/** @format float */
|
|
358
|
-
loanAmount?: number | null;
|
|
359
|
-
loanNumber?: string | null;
|
|
360
|
-
/** @deprecated */
|
|
361
|
-
role?: string | null;
|
|
362
|
-
/** @format date-time */
|
|
363
|
-
initialDisclosureDate?: string | null;
|
|
364
|
-
/** @format date-time */
|
|
365
|
-
closingDisclosureDate?: string | null;
|
|
366
|
-
/** @format date-time */
|
|
367
|
-
underwritingApprovalDate?: string | null;
|
|
368
|
-
/** @format date-time */
|
|
369
|
-
closedDate?: string | null;
|
|
370
|
-
/** @format date-time */
|
|
371
|
-
fundingDate?: string | null;
|
|
372
|
-
/** @format date-time */
|
|
373
|
-
currentStatusDate?: string | null;
|
|
374
|
-
channel?: string | null;
|
|
375
|
-
currentMilestone?: string | null;
|
|
376
|
-
lastMilestone?: string | null;
|
|
377
|
-
loanStatus?: string | null;
|
|
378
|
-
loanTerm?: string | null;
|
|
379
|
-
subjectPropertyStreet?: string | null;
|
|
380
|
-
subjectPropertyUnitType?: string | null;
|
|
381
|
-
subjectPropertyUnitNumber?: string | null;
|
|
382
|
-
subjectPropertyCity?: string | null;
|
|
383
|
-
subjectPropertyState?: string | null;
|
|
384
|
-
subjectPropertyZip?: string | null;
|
|
385
|
-
loanPurpose?: string | null;
|
|
386
|
-
buyerAgent?: EncompassContact | null;
|
|
387
|
-
sellerAgent?: EncompassContact | null;
|
|
388
|
-
settlementAgent?: EncompassContact | null;
|
|
389
|
-
escrowAgent?: EncompassContact | null;
|
|
390
|
-
titleInsuranceAgent?: EncompassContact | null;
|
|
391
|
-
}
|
|
392
343
|
export interface Attachment {
|
|
393
344
|
fileName: string;
|
|
394
345
|
base64Data: string;
|
|
@@ -688,10 +639,6 @@ export interface CreateInviteRequest {
|
|
|
688
639
|
userRole?: UserRole | null;
|
|
689
640
|
loanRole?: LoanRole | null;
|
|
690
641
|
}
|
|
691
|
-
export interface CreateLoanByDraftRequest {
|
|
692
|
-
/** @format uuid */
|
|
693
|
-
draftId: string;
|
|
694
|
-
}
|
|
695
642
|
export interface CreateLoanImportRequest {
|
|
696
643
|
/** @format uuid */
|
|
697
644
|
accountID: string;
|
|
@@ -892,6 +839,18 @@ export interface DocumentDataRequest {
|
|
|
892
839
|
password?: string | null;
|
|
893
840
|
systemGenerated: boolean;
|
|
894
841
|
}
|
|
842
|
+
export interface DocumentFile {
|
|
843
|
+
/** @format uuid */
|
|
844
|
+
id: string;
|
|
845
|
+
name: string;
|
|
846
|
+
losStatus: string;
|
|
847
|
+
}
|
|
848
|
+
export interface DocumentFolder {
|
|
849
|
+
folderName: string;
|
|
850
|
+
/** @format int32 */
|
|
851
|
+
count: number;
|
|
852
|
+
files: DocumentFile[];
|
|
853
|
+
}
|
|
895
854
|
export interface DocumentSync {
|
|
896
855
|
/** @format int32 */
|
|
897
856
|
syncedCount: number;
|
|
@@ -1085,12 +1044,6 @@ export interface EnabledServices {
|
|
|
1085
1044
|
addCoBorrower?: boolean | null;
|
|
1086
1045
|
autoNameTaskDocuments?: boolean | null;
|
|
1087
1046
|
}
|
|
1088
|
-
export interface EncompassContact {
|
|
1089
|
-
name?: string | null;
|
|
1090
|
-
email?: string | null;
|
|
1091
|
-
phone?: string | null;
|
|
1092
|
-
company?: string | null;
|
|
1093
|
-
}
|
|
1094
1047
|
export interface EncompassError {
|
|
1095
1048
|
errorCode: string;
|
|
1096
1049
|
message: string;
|
|
@@ -1329,9 +1282,6 @@ export interface GenerateDocumentRequest {
|
|
|
1329
1282
|
preview: boolean;
|
|
1330
1283
|
recipients: string[];
|
|
1331
1284
|
}
|
|
1332
|
-
export interface GetApplications {
|
|
1333
|
-
applications: ApplicationRowData[];
|
|
1334
|
-
}
|
|
1335
1285
|
export interface GetBranch {
|
|
1336
1286
|
/** @format date-time */
|
|
1337
1287
|
createdAt?: string | null;
|
|
@@ -1422,7 +1372,6 @@ export interface GuidPatchOperation {
|
|
|
1422
1372
|
value?: any;
|
|
1423
1373
|
from?: string | null;
|
|
1424
1374
|
}
|
|
1425
|
-
export type IContractResolver = object;
|
|
1426
1375
|
export interface IPAddress {
|
|
1427
1376
|
addressFamily: "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
|
|
1428
1377
|
/** @format int64 */
|
|
@@ -1620,6 +1569,29 @@ export interface Loan {
|
|
|
1620
1569
|
id: string;
|
|
1621
1570
|
loanID: string;
|
|
1622
1571
|
loanNumber?: string | null;
|
|
1572
|
+
referenceID: string;
|
|
1573
|
+
type?: LoanType | null;
|
|
1574
|
+
purpose?: LoanPurpose | null;
|
|
1575
|
+
lienPosition?: LoanLienPosition | null;
|
|
1576
|
+
status?: string | null;
|
|
1577
|
+
currentLoanStatus?: string | null;
|
|
1578
|
+
currentMilestone?: string | null;
|
|
1579
|
+
lastCompletedMilestone?: string | null;
|
|
1580
|
+
/** @format date-time */
|
|
1581
|
+
currentStatusDate?: string | null;
|
|
1582
|
+
isActive: boolean;
|
|
1583
|
+
loanChannel?: string | null;
|
|
1584
|
+
loanProgram?: string | null;
|
|
1585
|
+
loanType?: string | null;
|
|
1586
|
+
/** @format int32 */
|
|
1587
|
+
term?: number | null;
|
|
1588
|
+
/** @format double */
|
|
1589
|
+
totalLoanAmount?: number | null;
|
|
1590
|
+
fileStarter?: string | null;
|
|
1591
|
+
source?: string | null;
|
|
1592
|
+
isPOSLoan?: boolean | null;
|
|
1593
|
+
/** @format date-time */
|
|
1594
|
+
startDate?: string | null;
|
|
1623
1595
|
/** @format date-time */
|
|
1624
1596
|
initialDisclosureProvidedDate?: string | null;
|
|
1625
1597
|
/** @format date-time */
|
|
@@ -1630,36 +1602,20 @@ export interface Loan {
|
|
|
1630
1602
|
closingDate?: string | null;
|
|
1631
1603
|
/** @format date-time */
|
|
1632
1604
|
fundingOrderDate?: string | null;
|
|
1633
|
-
/** @format date-time */
|
|
1634
|
-
currentStatusDate?: string | null;
|
|
1635
|
-
loanChannel?: string | null;
|
|
1636
|
-
/** @format double */
|
|
1637
|
-
totalLoanAmount?: number | null;
|
|
1638
|
-
currentLoanStatus?: string | null;
|
|
1639
|
-
currentMilestone?: string | null;
|
|
1640
|
-
lastCompletedMilestone?: string | null;
|
|
1641
|
-
/** @format date-time */
|
|
1642
|
-
startDate?: string | null;
|
|
1643
1605
|
isInSync: boolean;
|
|
1644
1606
|
/** @format date-time */
|
|
1645
1607
|
syncDate?: string | null;
|
|
1608
|
+
isLocked: boolean;
|
|
1609
|
+
isLockedFromEditing: boolean;
|
|
1646
1610
|
excludeFromAutoTaskReminders?: boolean | null;
|
|
1647
|
-
|
|
1648
|
-
isPOSLoan?: boolean | null;
|
|
1649
|
-
referenceID: string;
|
|
1650
|
-
/** @format int32 */
|
|
1651
|
-
term?: number | null;
|
|
1652
|
-
loanProgram?: string | null;
|
|
1653
|
-
loanType?: string | null;
|
|
1654
|
-
status?: string | null;
|
|
1655
|
-
isActive: boolean;
|
|
1611
|
+
loanSettings?: LoanSettings | null;
|
|
1656
1612
|
loanOfficer?: LoanOfficer | null;
|
|
1657
1613
|
propertyAddress?: Address | null;
|
|
1658
|
-
|
|
1614
|
+
property?: LoanProperty | null;
|
|
1615
|
+
financial?: LoanFinancial | null;
|
|
1616
|
+
borrowers: LoanBorrower[];
|
|
1617
|
+
nonOwningBorrowers: LoanNonOwningBorrower[];
|
|
1659
1618
|
loanLogs: LoanLog[];
|
|
1660
|
-
isLocked: boolean;
|
|
1661
|
-
isLockedFromEditing: boolean;
|
|
1662
|
-
source?: string | null;
|
|
1663
1619
|
userLoans: UserLoan[];
|
|
1664
1620
|
contacts: LoanContact[];
|
|
1665
1621
|
}
|
|
@@ -2620,6 +2576,7 @@ export interface LoanDocumentSearchCriteria {
|
|
|
2620
2576
|
/** @format uuid */
|
|
2621
2577
|
userID?: string | null;
|
|
2622
2578
|
documentIDs?: string[] | null;
|
|
2579
|
+
losStatuses?: LOSStatus[] | null;
|
|
2623
2580
|
}
|
|
2624
2581
|
export interface LoanDocumentSearchPaginated {
|
|
2625
2582
|
rows: LoanDocumentSearch[];
|
|
@@ -2719,6 +2676,8 @@ export interface LoanList {
|
|
|
2719
2676
|
status?: string | null;
|
|
2720
2677
|
loanID?: string | null;
|
|
2721
2678
|
loanNumber?: string | null;
|
|
2679
|
+
type?: LoanType | null;
|
|
2680
|
+
purpose?: LoanPurpose | null;
|
|
2722
2681
|
/** @format double */
|
|
2723
2682
|
totalLoanAmount?: number | null;
|
|
2724
2683
|
/** @format date-time */
|
|
@@ -2730,30 +2689,9 @@ export interface LoanList {
|
|
|
2730
2689
|
sellerAgentContact?: LoanContactList | null;
|
|
2731
2690
|
userLoans: UserLoan[];
|
|
2732
2691
|
contacts: LoanContact[];
|
|
2692
|
+
borrowers: LoanListBorrower[];
|
|
2733
2693
|
}
|
|
2734
|
-
export interface
|
|
2735
|
-
rows: LoanList[];
|
|
2736
|
-
pagination: Pagination;
|
|
2737
|
-
/** @format int64 */
|
|
2738
|
-
count: number;
|
|
2739
|
-
}
|
|
2740
|
-
export interface LoanListV3 {
|
|
2741
|
-
/** @format uuid */
|
|
2742
|
-
id: string;
|
|
2743
|
-
status?: string | null;
|
|
2744
|
-
number?: string | null;
|
|
2745
|
-
type?: LoanType | null;
|
|
2746
|
-
purpose?: LoanPurpose | null;
|
|
2747
|
-
/** @format double */
|
|
2748
|
-
totalLoanAmount?: number | null;
|
|
2749
|
-
/** @format date-time */
|
|
2750
|
-
startDate?: string | null;
|
|
2751
|
-
isActive: boolean;
|
|
2752
|
-
propertyAddress?: Address | null;
|
|
2753
|
-
loanOfficer?: LoanListV3LoanOfficer | null;
|
|
2754
|
-
borrowers: LoanListV3Borrower[];
|
|
2755
|
-
}
|
|
2756
|
-
export interface LoanListV3Borrower {
|
|
2694
|
+
export interface LoanListBorrower {
|
|
2757
2695
|
/** @format uuid */
|
|
2758
2696
|
id: string;
|
|
2759
2697
|
firstName?: string | null;
|
|
@@ -2761,11 +2699,8 @@ export interface LoanListV3Borrower {
|
|
|
2761
2699
|
email?: string | null;
|
|
2762
2700
|
isPrimaryBorrower: boolean;
|
|
2763
2701
|
}
|
|
2764
|
-
export interface
|
|
2765
|
-
|
|
2766
|
-
}
|
|
2767
|
-
export interface LoanListV3Paginated {
|
|
2768
|
-
rows: LoanListV3[];
|
|
2702
|
+
export interface LoanListPaginated {
|
|
2703
|
+
rows: LoanList[];
|
|
2769
2704
|
pagination: Pagination;
|
|
2770
2705
|
/** @format int64 */
|
|
2771
2706
|
count: number;
|
|
@@ -3026,31 +2961,9 @@ export interface LoanSearchCriteria {
|
|
|
3026
2961
|
/** @format uuid */
|
|
3027
2962
|
siteConfigurationId?: string | null;
|
|
3028
2963
|
}
|
|
3029
|
-
export interface LoanSearchV3Criteria {
|
|
3030
|
-
searchText?: string | null;
|
|
3031
|
-
/** @format uuid */
|
|
3032
|
-
loanOfficerId?: string | null;
|
|
3033
|
-
loanNumber?: string | null;
|
|
3034
|
-
isClosed?: boolean | null;
|
|
3035
|
-
purpose?: LoanPurpose | null;
|
|
3036
|
-
type?: LoanType | null;
|
|
3037
|
-
/** @format uuid */
|
|
3038
|
-
siteConfigurationId?: string | null;
|
|
3039
|
-
}
|
|
3040
2964
|
export interface LoanSettings {
|
|
3041
2965
|
excludeFromAutoTaskReminders: boolean;
|
|
3042
2966
|
}
|
|
3043
|
-
export interface LoanUpdateRequestJsonPatchDocument {
|
|
3044
|
-
operations?: LoanUpdateRequestOperation[] | null;
|
|
3045
|
-
contractResolver?: IContractResolver | null;
|
|
3046
|
-
}
|
|
3047
|
-
export interface LoanUpdateRequestOperation {
|
|
3048
|
-
operationType: "Add" | "Remove" | "Replace" | "Move" | "Copy" | "Test" | "Invalid";
|
|
3049
|
-
path?: string | null;
|
|
3050
|
-
op?: string | null;
|
|
3051
|
-
from?: string | null;
|
|
3052
|
-
value?: any;
|
|
3053
|
-
}
|
|
3054
2967
|
export interface LoanUser {
|
|
3055
2968
|
/** @format uuid */
|
|
3056
2969
|
id: string;
|
|
@@ -4659,6 +4572,43 @@ export interface UpdateUserRequest {
|
|
|
4659
4572
|
forcePasswordReset: boolean;
|
|
4660
4573
|
mfaEnabled: boolean;
|
|
4661
4574
|
}
|
|
4575
|
+
export interface UsageReport {
|
|
4576
|
+
/** @format uuid */
|
|
4577
|
+
id: string;
|
|
4578
|
+
/** @format uuid */
|
|
4579
|
+
accountID: string;
|
|
4580
|
+
accountName: string;
|
|
4581
|
+
/** @format int32 */
|
|
4582
|
+
month: number;
|
|
4583
|
+
/** @format int32 */
|
|
4584
|
+
year: number;
|
|
4585
|
+
/** @format int32 */
|
|
4586
|
+
posClosedLoansCount: number;
|
|
4587
|
+
/** @format int32 */
|
|
4588
|
+
nonPOSClosedLoansCount: number;
|
|
4589
|
+
/** @format int32 */
|
|
4590
|
+
reconciledLoansCount: number;
|
|
4591
|
+
/** @format int32 */
|
|
4592
|
+
loanOfficersCount: number;
|
|
4593
|
+
/** @format int32 */
|
|
4594
|
+
leadsCount: number;
|
|
4595
|
+
hasMobileApp: boolean;
|
|
4596
|
+
hasSms: boolean;
|
|
4597
|
+
fileKey: string;
|
|
4598
|
+
fileUrl: string;
|
|
4599
|
+
/** @format date-time */
|
|
4600
|
+
createdAt: string;
|
|
4601
|
+
}
|
|
4602
|
+
export interface UsageReportGenerationResult {
|
|
4603
|
+
fileKey: string;
|
|
4604
|
+
fileUrl: string;
|
|
4605
|
+
/** @format int32 */
|
|
4606
|
+
successCount: number;
|
|
4607
|
+
/** @format int32 */
|
|
4608
|
+
failureCount: number;
|
|
4609
|
+
reports: UsageReport[];
|
|
4610
|
+
failures: AccountReportFailure[];
|
|
4611
|
+
}
|
|
4662
4612
|
export interface User {
|
|
4663
4613
|
/** @format date-time */
|
|
4664
4614
|
createdAt?: string | null;
|
|
@@ -4987,7 +4937,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
4987
4937
|
}
|
|
4988
4938
|
/**
|
|
4989
4939
|
* @title The Big POS API
|
|
4990
|
-
* @version v2.
|
|
4940
|
+
* @version v2.33.3
|
|
4991
4941
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
4992
4942
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
4993
4943
|
*/
|
|
@@ -6688,6 +6638,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6688
6638
|
sortBy?: string;
|
|
6689
6639
|
sortDirection?: string;
|
|
6690
6640
|
}, params?: RequestParams) => Promise<AxiosResponse<LoanDocumentSearchPaginated, any>>;
|
|
6641
|
+
/**
|
|
6642
|
+
* @description Returns all documents grouped by folder for sidebar display
|
|
6643
|
+
*
|
|
6644
|
+
* @tags LoanDocuments
|
|
6645
|
+
* @name GetLoanDocumentFolders
|
|
6646
|
+
* @summary Get document folder hierarchy
|
|
6647
|
+
* @request GET:/api/loans/{loanId}/documents/folders
|
|
6648
|
+
* @secure
|
|
6649
|
+
* @response `200` `(DocumentFolder)[]` Success
|
|
6650
|
+
*/
|
|
6651
|
+
getLoanDocumentFolders: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentFolder[], any>>;
|
|
6691
6652
|
/**
|
|
6692
6653
|
* No description
|
|
6693
6654
|
*
|
|
@@ -7128,29 +7089,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7128
7089
|
* @response `404` `ProblemDetails` Not Found
|
|
7129
7090
|
*/
|
|
7130
7091
|
retryLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
7131
|
-
/**
|
|
7132
|
-
* No description
|
|
7133
|
-
*
|
|
7134
|
-
* @tags Loans
|
|
7135
|
-
* @name CreateLoanByDraftId
|
|
7136
|
-
* @summary Create Loan by DraftId
|
|
7137
|
-
* @request POST:/api/loans
|
|
7138
|
-
* @secure
|
|
7139
|
-
* @response `200` `string` Success
|
|
7140
|
-
* @response `422` `UnprocessableEntity` Client Error
|
|
7141
|
-
*/
|
|
7142
|
-
createLoanByDraftId: (data: CreateLoanByDraftRequest, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
|
|
7143
|
-
/**
|
|
7144
|
-
* No description
|
|
7145
|
-
*
|
|
7146
|
-
* @tags Loans
|
|
7147
|
-
* @name GetLoans
|
|
7148
|
-
* @summary Get Loans
|
|
7149
|
-
* @request GET:/api/loans
|
|
7150
|
-
* @secure
|
|
7151
|
-
* @response `200` `GetApplications` Success
|
|
7152
|
-
*/
|
|
7153
|
-
getLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplications, any>>;
|
|
7154
7092
|
/**
|
|
7155
7093
|
* No description
|
|
7156
7094
|
*
|
|
@@ -7185,13 +7123,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7185
7123
|
* No description
|
|
7186
7124
|
*
|
|
7187
7125
|
* @tags Loans
|
|
7188
|
-
* @name
|
|
7189
|
-
* @summary
|
|
7190
|
-
* @request POST:/api/loans
|
|
7126
|
+
* @name CreateLoan2
|
|
7127
|
+
* @summary Submit Loan Application
|
|
7128
|
+
* @request POST:/api/loans
|
|
7129
|
+
* @originalName createLoan
|
|
7130
|
+
* @duplicate
|
|
7191
7131
|
* @secure
|
|
7192
|
-
* @response `
|
|
7132
|
+
* @response `201` `LoanApplication` Created
|
|
7133
|
+
* @response `400` `any` Bad Request
|
|
7134
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
7135
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
7193
7136
|
*/
|
|
7194
|
-
|
|
7137
|
+
createLoan2: (data: LoanApplicationRequest, params?: RequestParams) => Promise<AxiosResponse<LoanApplication, any>>;
|
|
7195
7138
|
/**
|
|
7196
7139
|
* No description
|
|
7197
7140
|
*
|
|
@@ -7201,72 +7144,24 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7201
7144
|
* @request PATCH:/api/loans/{loanId}
|
|
7202
7145
|
* @secure
|
|
7203
7146
|
* @response `200` `Loan` Success
|
|
7204
|
-
*/
|
|
7205
|
-
updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7206
|
-
/**
|
|
7207
|
-
* @description Retrieves a loan by its unique identifier
|
|
7208
|
-
*
|
|
7209
|
-
* @tags Loans V3
|
|
7210
|
-
* @name GetLoanById
|
|
7211
|
-
* @summary Get Loan by ID
|
|
7212
|
-
* @request GET:/api/v3/loans/{id}
|
|
7213
|
-
* @secure
|
|
7214
|
-
* @response `200` `LoanApplication` Success
|
|
7215
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
7216
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7217
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7218
|
-
*/
|
|
7219
|
-
getLoanById: (id: string, params?: RequestParams) => Promise<AxiosResponse<LoanApplication, any>>;
|
|
7220
|
-
/**
|
|
7221
|
-
* @description Partially update a loan using GUID-based patch operations. Supports GUID lookups in collections, eliminating index ordering issues.
|
|
7222
|
-
*
|
|
7223
|
-
* @tags Loans V3
|
|
7224
|
-
* @name PatchLoan
|
|
7225
|
-
* @summary Patch Loan (GUID-based)
|
|
7226
|
-
* @request PATCH:/api/v3/loans/{id}
|
|
7227
|
-
* @secure
|
|
7228
|
-
* @response `200` `LoanApplication` Success
|
|
7229
7147
|
* @response `400` `any` Bad Request
|
|
7230
7148
|
* @response `401` `ProblemDetails` Unauthorized
|
|
7231
7149
|
* @response `403` `ProblemDetails` Forbidden
|
|
7232
7150
|
* @response `404` `ProblemDetails` Not Found
|
|
7233
7151
|
* @response `409` `any` Conflict
|
|
7234
7152
|
*/
|
|
7235
|
-
|
|
7153
|
+
updateLoan: (loanId: string, data: any, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7236
7154
|
/**
|
|
7237
|
-
*
|
|
7238
|
-
*
|
|
7239
|
-
* @tags Loans V3
|
|
7240
|
-
* @name SubmitLoanApplication
|
|
7241
|
-
* @summary Submit Loan Application
|
|
7242
|
-
* @request POST:/api/v3/loans/applications
|
|
7243
|
-
* @secure
|
|
7244
|
-
* @response `201` `LoanApplication` Created
|
|
7245
|
-
* @response `400` `any` Bad Request
|
|
7246
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
7247
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7248
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7249
|
-
*/
|
|
7250
|
-
submitLoanApplication: (data: LoanApplicationRequest, params?: RequestParams) => Promise<AxiosResponse<LoanApplication, any>>;
|
|
7251
|
-
/**
|
|
7252
|
-
* @description Returns a paginated list of loans based on search criteria
|
|
7155
|
+
* No description
|
|
7253
7156
|
*
|
|
7254
|
-
* @tags Loans
|
|
7255
|
-
* @name
|
|
7256
|
-
* @summary
|
|
7257
|
-
* @request POST:/api/
|
|
7157
|
+
* @tags Loans
|
|
7158
|
+
* @name ImportLoanFromLos
|
|
7159
|
+
* @summary Import from LOS
|
|
7160
|
+
* @request POST:/api/loans/import-from-los/{loanId}
|
|
7258
7161
|
* @secure
|
|
7259
|
-
* @response `200` `
|
|
7260
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
7162
|
+
* @response `200` `Loan` Success
|
|
7261
7163
|
*/
|
|
7262
|
-
|
|
7263
|
-
/** @format int32 */
|
|
7264
|
-
pageSize?: number;
|
|
7265
|
-
/** @format int32 */
|
|
7266
|
-
pageNumber?: number;
|
|
7267
|
-
sortBy?: string;
|
|
7268
|
-
sortDirection?: string;
|
|
7269
|
-
}, params?: RequestParams) => Promise<AxiosResponse<LoanListV3Paginated, any>>;
|
|
7164
|
+
importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7270
7165
|
/**
|
|
7271
7166
|
* No description
|
|
7272
7167
|
*
|
|
@@ -8166,6 +8061,69 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8166
8061
|
* @response `200` `void` Success
|
|
8167
8062
|
*/
|
|
8168
8063
|
integrationsLosLoansCreate: (data: LosLoanCreationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
8064
|
+
/**
|
|
8065
|
+
* No description
|
|
8066
|
+
*
|
|
8067
|
+
* @tags UsageReports
|
|
8068
|
+
* @name GenerateUsageReports
|
|
8069
|
+
* @summary Generate usage reports for all active production accounts
|
|
8070
|
+
* @request POST:/api/usage-reports
|
|
8071
|
+
* @secure
|
|
8072
|
+
* @response `200` `UsageReportGenerationResult` Success
|
|
8073
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8074
|
+
*/
|
|
8075
|
+
generateUsageReports: (query?: {
|
|
8076
|
+
/** @format int32 */
|
|
8077
|
+
month?: number;
|
|
8078
|
+
/** @format int32 */
|
|
8079
|
+
year?: number;
|
|
8080
|
+
}, params?: RequestParams) => Promise<AxiosResponse<UsageReportGenerationResult, any>>;
|
|
8081
|
+
/**
|
|
8082
|
+
* No description
|
|
8083
|
+
*
|
|
8084
|
+
* @tags UsageReports
|
|
8085
|
+
* @name GetUsageReportsByPeriod
|
|
8086
|
+
* @summary Get usage reports by month and year
|
|
8087
|
+
* @request GET:/api/usage-reports
|
|
8088
|
+
* @secure
|
|
8089
|
+
* @response `200` `(UsageReport)[]` Success
|
|
8090
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8091
|
+
*/
|
|
8092
|
+
getUsageReportsByPeriod: (query?: {
|
|
8093
|
+
/** @format int32 */
|
|
8094
|
+
month?: number;
|
|
8095
|
+
/** @format int32 */
|
|
8096
|
+
year?: number;
|
|
8097
|
+
}, params?: RequestParams) => Promise<AxiosResponse<UsageReport[], any>>;
|
|
8098
|
+
/**
|
|
8099
|
+
* No description
|
|
8100
|
+
*
|
|
8101
|
+
* @tags UsageReports
|
|
8102
|
+
* @name GenerateAndSendUsageReport
|
|
8103
|
+
* @summary Generate and send monthly usage report email
|
|
8104
|
+
* @request POST:/api/usage-reports/generate-and-send
|
|
8105
|
+
* @secure
|
|
8106
|
+
* @response `204` `void` No Content
|
|
8107
|
+
* @response `500` `void` Server Error
|
|
8108
|
+
*/
|
|
8109
|
+
generateAndSendUsageReport: (query?: {
|
|
8110
|
+
/** @format int32 */
|
|
8111
|
+
month?: number;
|
|
8112
|
+
/** @format int32 */
|
|
8113
|
+
year?: number;
|
|
8114
|
+
}, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
8115
|
+
/**
|
|
8116
|
+
* No description
|
|
8117
|
+
*
|
|
8118
|
+
* @tags UsageReports
|
|
8119
|
+
* @name GetUsageReportById
|
|
8120
|
+
* @summary Get usage report by ID
|
|
8121
|
+
* @request GET:/api/usage-reports/{id}
|
|
8122
|
+
* @secure
|
|
8123
|
+
* @response `200` `UsageReport` Success
|
|
8124
|
+
* @response `404` `ProblemDetails` Not Found
|
|
8125
|
+
*/
|
|
8126
|
+
getUsageReportById: (id: string, params?: RequestParams) => Promise<AxiosResponse<UsageReport, any>>;
|
|
8169
8127
|
/**
|
|
8170
8128
|
* No description
|
|
8171
8129
|
*
|