@matech/thebigpos-sdk 2.31.2 → 2.33.4-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 +198 -159
- package/dist/index.js +87 -74
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +272 -248
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,15 +92,23 @@ 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;
|
|
99
104
|
smsNumber?: string | null;
|
|
100
105
|
ssoHostOverride?: string | null;
|
|
106
|
+
isEarlyAdopter: boolean;
|
|
101
107
|
}
|
|
102
108
|
export interface AccountSettingsRequest {
|
|
103
109
|
isSmsEnabled: boolean;
|
|
104
110
|
smsNumber?: string | null;
|
|
111
|
+
isEarlyAdopter: boolean;
|
|
105
112
|
}
|
|
106
113
|
export interface Action {
|
|
107
114
|
/** @format uuid */
|
|
@@ -688,10 +695,6 @@ export interface CreateInviteRequest {
|
|
|
688
695
|
userRole?: UserRole | null;
|
|
689
696
|
loanRole?: LoanRole | null;
|
|
690
697
|
}
|
|
691
|
-
export interface CreateLoanByDraftRequest {
|
|
692
|
-
/** @format uuid */
|
|
693
|
-
draftId: string;
|
|
694
|
-
}
|
|
695
698
|
export interface CreateLoanImportRequest {
|
|
696
699
|
/** @format uuid */
|
|
697
700
|
accountID: string;
|
|
@@ -892,6 +895,18 @@ export interface DocumentDataRequest {
|
|
|
892
895
|
password?: string | null;
|
|
893
896
|
systemGenerated: boolean;
|
|
894
897
|
}
|
|
898
|
+
export interface DocumentFile {
|
|
899
|
+
/** @format uuid */
|
|
900
|
+
id: string;
|
|
901
|
+
name: string;
|
|
902
|
+
losStatus: string;
|
|
903
|
+
}
|
|
904
|
+
export interface DocumentFolder {
|
|
905
|
+
folderName: string;
|
|
906
|
+
/** @format int32 */
|
|
907
|
+
count: number;
|
|
908
|
+
files: DocumentFile[];
|
|
909
|
+
}
|
|
895
910
|
export interface DocumentSync {
|
|
896
911
|
/** @format int32 */
|
|
897
912
|
syncedCount: number;
|
|
@@ -1422,7 +1437,6 @@ export interface GuidPatchOperation {
|
|
|
1422
1437
|
value?: any;
|
|
1423
1438
|
from?: string | null;
|
|
1424
1439
|
}
|
|
1425
|
-
export type IContractResolver = object;
|
|
1426
1440
|
export interface IPAddress {
|
|
1427
1441
|
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
1442
|
/** @format int64 */
|
|
@@ -1620,6 +1634,29 @@ export interface Loan {
|
|
|
1620
1634
|
id: string;
|
|
1621
1635
|
loanID: string;
|
|
1622
1636
|
loanNumber?: string | null;
|
|
1637
|
+
referenceID: string;
|
|
1638
|
+
type?: LoanType | null;
|
|
1639
|
+
purpose?: LoanPurpose | null;
|
|
1640
|
+
lienPosition?: LoanLienPosition | null;
|
|
1641
|
+
status?: string | null;
|
|
1642
|
+
currentLoanStatus?: string | null;
|
|
1643
|
+
currentMilestone?: string | null;
|
|
1644
|
+
lastCompletedMilestone?: string | null;
|
|
1645
|
+
/** @format date-time */
|
|
1646
|
+
currentStatusDate?: string | null;
|
|
1647
|
+
isActive: boolean;
|
|
1648
|
+
loanChannel?: string | null;
|
|
1649
|
+
loanProgram?: string | null;
|
|
1650
|
+
loanType?: string | null;
|
|
1651
|
+
/** @format int32 */
|
|
1652
|
+
term?: number | null;
|
|
1653
|
+
/** @format double */
|
|
1654
|
+
totalLoanAmount?: number | null;
|
|
1655
|
+
fileStarter?: string | null;
|
|
1656
|
+
source?: string | null;
|
|
1657
|
+
isPOSLoan?: boolean | null;
|
|
1658
|
+
/** @format date-time */
|
|
1659
|
+
startDate?: string | null;
|
|
1623
1660
|
/** @format date-time */
|
|
1624
1661
|
initialDisclosureProvidedDate?: string | null;
|
|
1625
1662
|
/** @format date-time */
|
|
@@ -1630,36 +1667,20 @@ export interface Loan {
|
|
|
1630
1667
|
closingDate?: string | null;
|
|
1631
1668
|
/** @format date-time */
|
|
1632
1669
|
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
1670
|
isInSync: boolean;
|
|
1644
1671
|
/** @format date-time */
|
|
1645
1672
|
syncDate?: string | null;
|
|
1673
|
+
isLocked: boolean;
|
|
1674
|
+
isLockedFromEditing: boolean;
|
|
1646
1675
|
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;
|
|
1676
|
+
loanSettings?: LoanSettings | null;
|
|
1656
1677
|
loanOfficer?: LoanOfficer | null;
|
|
1657
1678
|
propertyAddress?: Address | null;
|
|
1658
|
-
|
|
1679
|
+
property?: LoanProperty | null;
|
|
1680
|
+
financial?: LoanFinancial | null;
|
|
1681
|
+
borrowers: LoanBorrower[];
|
|
1682
|
+
nonOwningBorrowers: LoanNonOwningBorrower[];
|
|
1659
1683
|
loanLogs: LoanLog[];
|
|
1660
|
-
isLocked: boolean;
|
|
1661
|
-
isLockedFromEditing: boolean;
|
|
1662
|
-
source?: string | null;
|
|
1663
1684
|
userLoans: UserLoan[];
|
|
1664
1685
|
contacts: LoanContact[];
|
|
1665
1686
|
}
|
|
@@ -2620,6 +2641,7 @@ export interface LoanDocumentSearchCriteria {
|
|
|
2620
2641
|
/** @format uuid */
|
|
2621
2642
|
userID?: string | null;
|
|
2622
2643
|
documentIDs?: string[] | null;
|
|
2644
|
+
losStatuses?: LOSStatus[] | null;
|
|
2623
2645
|
}
|
|
2624
2646
|
export interface LoanDocumentSearchPaginated {
|
|
2625
2647
|
rows: LoanDocumentSearch[];
|
|
@@ -2719,6 +2741,8 @@ export interface LoanList {
|
|
|
2719
2741
|
status?: string | null;
|
|
2720
2742
|
loanID?: string | null;
|
|
2721
2743
|
loanNumber?: string | null;
|
|
2744
|
+
type?: LoanType | null;
|
|
2745
|
+
purpose?: LoanPurpose | null;
|
|
2722
2746
|
/** @format double */
|
|
2723
2747
|
totalLoanAmount?: number | null;
|
|
2724
2748
|
/** @format date-time */
|
|
@@ -2730,30 +2754,9 @@ export interface LoanList {
|
|
|
2730
2754
|
sellerAgentContact?: LoanContactList | null;
|
|
2731
2755
|
userLoans: UserLoan[];
|
|
2732
2756
|
contacts: LoanContact[];
|
|
2757
|
+
borrowers: LoanListBorrower[];
|
|
2733
2758
|
}
|
|
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 {
|
|
2759
|
+
export interface LoanListBorrower {
|
|
2757
2760
|
/** @format uuid */
|
|
2758
2761
|
id: string;
|
|
2759
2762
|
firstName?: string | null;
|
|
@@ -2761,11 +2764,8 @@ export interface LoanListV3Borrower {
|
|
|
2761
2764
|
email?: string | null;
|
|
2762
2765
|
isPrimaryBorrower: boolean;
|
|
2763
2766
|
}
|
|
2764
|
-
export interface
|
|
2765
|
-
|
|
2766
|
-
}
|
|
2767
|
-
export interface LoanListV3Paginated {
|
|
2768
|
-
rows: LoanListV3[];
|
|
2767
|
+
export interface LoanListPaginated {
|
|
2768
|
+
rows: LoanList[];
|
|
2769
2769
|
pagination: Pagination;
|
|
2770
2770
|
/** @format int64 */
|
|
2771
2771
|
count: number;
|
|
@@ -3026,31 +3026,9 @@ export interface LoanSearchCriteria {
|
|
|
3026
3026
|
/** @format uuid */
|
|
3027
3027
|
siteConfigurationId?: string | null;
|
|
3028
3028
|
}
|
|
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
3029
|
export interface LoanSettings {
|
|
3041
3030
|
excludeFromAutoTaskReminders: boolean;
|
|
3042
3031
|
}
|
|
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
3032
|
export interface LoanUser {
|
|
3055
3033
|
/** @format uuid */
|
|
3056
3034
|
id: string;
|
|
@@ -4659,6 +4637,43 @@ export interface UpdateUserRequest {
|
|
|
4659
4637
|
forcePasswordReset: boolean;
|
|
4660
4638
|
mfaEnabled: boolean;
|
|
4661
4639
|
}
|
|
4640
|
+
export interface UsageReport {
|
|
4641
|
+
/** @format uuid */
|
|
4642
|
+
id: string;
|
|
4643
|
+
/** @format uuid */
|
|
4644
|
+
accountID: string;
|
|
4645
|
+
accountName: string;
|
|
4646
|
+
/** @format int32 */
|
|
4647
|
+
month: number;
|
|
4648
|
+
/** @format int32 */
|
|
4649
|
+
year: number;
|
|
4650
|
+
/** @format int32 */
|
|
4651
|
+
posClosedLoansCount: number;
|
|
4652
|
+
/** @format int32 */
|
|
4653
|
+
nonPOSClosedLoansCount: number;
|
|
4654
|
+
/** @format int32 */
|
|
4655
|
+
reconciledLoansCount: number;
|
|
4656
|
+
/** @format int32 */
|
|
4657
|
+
loanOfficersCount: number;
|
|
4658
|
+
/** @format int32 */
|
|
4659
|
+
leadsCount: number;
|
|
4660
|
+
hasMobileApp: boolean;
|
|
4661
|
+
hasSms: boolean;
|
|
4662
|
+
fileKey: string;
|
|
4663
|
+
fileUrl: string;
|
|
4664
|
+
/** @format date-time */
|
|
4665
|
+
createdAt: string;
|
|
4666
|
+
}
|
|
4667
|
+
export interface UsageReportGenerationResult {
|
|
4668
|
+
fileKey: string;
|
|
4669
|
+
fileUrl: string;
|
|
4670
|
+
/** @format int32 */
|
|
4671
|
+
successCount: number;
|
|
4672
|
+
/** @format int32 */
|
|
4673
|
+
failureCount: number;
|
|
4674
|
+
reports: UsageReport[];
|
|
4675
|
+
failures: AccountReportFailure[];
|
|
4676
|
+
}
|
|
4662
4677
|
export interface User {
|
|
4663
4678
|
/** @format date-time */
|
|
4664
4679
|
createdAt?: string | null;
|
|
@@ -4987,7 +5002,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
4987
5002
|
}
|
|
4988
5003
|
/**
|
|
4989
5004
|
* @title The Big POS API
|
|
4990
|
-
* @version v2.
|
|
5005
|
+
* @version v2.33.4
|
|
4991
5006
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
4992
5007
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
4993
5008
|
*/
|
|
@@ -6352,6 +6367,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6352
6367
|
* @response `200` `Draft` Success
|
|
6353
6368
|
* @response `400` `ProblemDetails` Bad Request
|
|
6354
6369
|
* @response `404` `ProblemDetails` Not Found
|
|
6370
|
+
* @response `423` `ProblemDetails` Client Error
|
|
6355
6371
|
*/
|
|
6356
6372
|
createEditDraftForLoan: (loanId: string, query?: {
|
|
6357
6373
|
/** @default false */
|
|
@@ -6688,6 +6704,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6688
6704
|
sortBy?: string;
|
|
6689
6705
|
sortDirection?: string;
|
|
6690
6706
|
}, params?: RequestParams) => Promise<AxiosResponse<LoanDocumentSearchPaginated, any>>;
|
|
6707
|
+
/**
|
|
6708
|
+
* @description Returns all documents grouped by folder for sidebar display
|
|
6709
|
+
*
|
|
6710
|
+
* @tags LoanDocuments
|
|
6711
|
+
* @name GetLoanDocumentFolders
|
|
6712
|
+
* @summary Get document folder hierarchy
|
|
6713
|
+
* @request GET:/api/loans/{loanId}/documents/folders
|
|
6714
|
+
* @secure
|
|
6715
|
+
* @response `200` `(DocumentFolder)[]` Success
|
|
6716
|
+
*/
|
|
6717
|
+
getLoanDocumentFolders: (loanId: string, query?: {
|
|
6718
|
+
sortBy?: string;
|
|
6719
|
+
sortDirection?: string;
|
|
6720
|
+
}, params?: RequestParams) => Promise<AxiosResponse<DocumentFolder[], any>>;
|
|
6691
6721
|
/**
|
|
6692
6722
|
* No description
|
|
6693
6723
|
*
|
|
@@ -7132,14 +7162,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7132
7162
|
* No description
|
|
7133
7163
|
*
|
|
7134
7164
|
* @tags Loans
|
|
7135
|
-
* @name
|
|
7136
|
-
* @summary
|
|
7137
|
-
* @request
|
|
7165
|
+
* @name GetLoan
|
|
7166
|
+
* @summary Get By ID
|
|
7167
|
+
* @request GET:/api/loans/{loanID}
|
|
7138
7168
|
* @secure
|
|
7139
|
-
* @response `200` `
|
|
7140
|
-
* @response `
|
|
7169
|
+
* @response `200` `Loan` Success
|
|
7170
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7141
7171
|
*/
|
|
7142
|
-
|
|
7172
|
+
getLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7143
7173
|
/**
|
|
7144
7174
|
* No description
|
|
7145
7175
|
*
|
|
@@ -7147,6 +7177,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7147
7177
|
* @name GetLoans
|
|
7148
7178
|
* @summary Get Loans
|
|
7149
7179
|
* @request GET:/api/loans
|
|
7180
|
+
* @deprecated
|
|
7150
7181
|
* @secure
|
|
7151
7182
|
* @response `200` `GetApplications` Success
|
|
7152
7183
|
*/
|
|
@@ -7155,14 +7186,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7155
7186
|
* No description
|
|
7156
7187
|
*
|
|
7157
7188
|
* @tags Loans
|
|
7158
|
-
* @name
|
|
7159
|
-
* @summary
|
|
7160
|
-
* @request
|
|
7189
|
+
* @name CreateLoan2
|
|
7190
|
+
* @summary Submit Loan Application
|
|
7191
|
+
* @request POST:/api/loans
|
|
7192
|
+
* @originalName createLoan
|
|
7193
|
+
* @duplicate
|
|
7161
7194
|
* @secure
|
|
7162
|
-
* @response `
|
|
7163
|
-
* @response `
|
|
7195
|
+
* @response `201` `LoanApplication` Created
|
|
7196
|
+
* @response `400` `any` Bad Request
|
|
7197
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
7198
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
7164
7199
|
*/
|
|
7165
|
-
|
|
7200
|
+
createLoan2: (data: LoanApplicationRequest, params?: RequestParams) => Promise<AxiosResponse<LoanApplication, any>>;
|
|
7166
7201
|
/**
|
|
7167
7202
|
* No description
|
|
7168
7203
|
*
|
|
@@ -7181,17 +7216,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7181
7216
|
sortBy?: string;
|
|
7182
7217
|
sortDirection?: string;
|
|
7183
7218
|
}, params?: RequestParams) => Promise<AxiosResponse<LoanListPaginated, any>>;
|
|
7184
|
-
/**
|
|
7185
|
-
* No description
|
|
7186
|
-
*
|
|
7187
|
-
* @tags Loans
|
|
7188
|
-
* @name ImportLoanFromLos
|
|
7189
|
-
* @summary Import from LOS
|
|
7190
|
-
* @request POST:/api/loans/import-from-los/{loanId}
|
|
7191
|
-
* @secure
|
|
7192
|
-
* @response `200` `Loan` Success
|
|
7193
|
-
*/
|
|
7194
|
-
importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7195
7219
|
/**
|
|
7196
7220
|
* No description
|
|
7197
7221
|
*
|
|
@@ -7201,72 +7225,24 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7201
7225
|
* @request PATCH:/api/loans/{loanId}
|
|
7202
7226
|
* @secure
|
|
7203
7227
|
* @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
7228
|
* @response `400` `any` Bad Request
|
|
7230
7229
|
* @response `401` `ProblemDetails` Unauthorized
|
|
7231
7230
|
* @response `403` `ProblemDetails` Forbidden
|
|
7232
7231
|
* @response `404` `ProblemDetails` Not Found
|
|
7233
7232
|
* @response `409` `any` Conflict
|
|
7234
7233
|
*/
|
|
7235
|
-
|
|
7234
|
+
updateLoan: (loanId: string, data: any, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7236
7235
|
/**
|
|
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
|
|
7236
|
+
* No description
|
|
7253
7237
|
*
|
|
7254
|
-
* @tags Loans
|
|
7255
|
-
* @name
|
|
7256
|
-
* @summary
|
|
7257
|
-
* @request POST:/api/
|
|
7238
|
+
* @tags Loans
|
|
7239
|
+
* @name ImportLoanFromLos
|
|
7240
|
+
* @summary Import from LOS
|
|
7241
|
+
* @request POST:/api/loans/import-from-los/{loanId}
|
|
7258
7242
|
* @secure
|
|
7259
|
-
* @response `200` `
|
|
7260
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
7243
|
+
* @response `200` `Loan` Success
|
|
7261
7244
|
*/
|
|
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>>;
|
|
7245
|
+
importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
|
|
7270
7246
|
/**
|
|
7271
7247
|
* No description
|
|
7272
7248
|
*
|
|
@@ -8166,6 +8142,69 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8166
8142
|
* @response `200` `void` Success
|
|
8167
8143
|
*/
|
|
8168
8144
|
integrationsLosLoansCreate: (data: LosLoanCreationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
8145
|
+
/**
|
|
8146
|
+
* No description
|
|
8147
|
+
*
|
|
8148
|
+
* @tags UsageReports
|
|
8149
|
+
* @name GenerateUsageReports
|
|
8150
|
+
* @summary Generate usage reports for all active production accounts
|
|
8151
|
+
* @request POST:/api/usage-reports
|
|
8152
|
+
* @secure
|
|
8153
|
+
* @response `200` `UsageReportGenerationResult` Success
|
|
8154
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8155
|
+
*/
|
|
8156
|
+
generateUsageReports: (query?: {
|
|
8157
|
+
/** @format int32 */
|
|
8158
|
+
month?: number;
|
|
8159
|
+
/** @format int32 */
|
|
8160
|
+
year?: number;
|
|
8161
|
+
}, params?: RequestParams) => Promise<AxiosResponse<UsageReportGenerationResult, any>>;
|
|
8162
|
+
/**
|
|
8163
|
+
* No description
|
|
8164
|
+
*
|
|
8165
|
+
* @tags UsageReports
|
|
8166
|
+
* @name GetUsageReportsByPeriod
|
|
8167
|
+
* @summary Get usage reports by month and year
|
|
8168
|
+
* @request GET:/api/usage-reports
|
|
8169
|
+
* @secure
|
|
8170
|
+
* @response `200` `(UsageReport)[]` Success
|
|
8171
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8172
|
+
*/
|
|
8173
|
+
getUsageReportsByPeriod: (query?: {
|
|
8174
|
+
/** @format int32 */
|
|
8175
|
+
month?: number;
|
|
8176
|
+
/** @format int32 */
|
|
8177
|
+
year?: number;
|
|
8178
|
+
}, params?: RequestParams) => Promise<AxiosResponse<UsageReport[], any>>;
|
|
8179
|
+
/**
|
|
8180
|
+
* No description
|
|
8181
|
+
*
|
|
8182
|
+
* @tags UsageReports
|
|
8183
|
+
* @name GenerateAndSendUsageReport
|
|
8184
|
+
* @summary Generate and send monthly usage report email
|
|
8185
|
+
* @request POST:/api/usage-reports/generate-and-send
|
|
8186
|
+
* @secure
|
|
8187
|
+
* @response `204` `void` No Content
|
|
8188
|
+
* @response `500` `void` Server Error
|
|
8189
|
+
*/
|
|
8190
|
+
generateAndSendUsageReport: (query?: {
|
|
8191
|
+
/** @format int32 */
|
|
8192
|
+
month?: number;
|
|
8193
|
+
/** @format int32 */
|
|
8194
|
+
year?: number;
|
|
8195
|
+
}, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
8196
|
+
/**
|
|
8197
|
+
* No description
|
|
8198
|
+
*
|
|
8199
|
+
* @tags UsageReports
|
|
8200
|
+
* @name GetUsageReportById
|
|
8201
|
+
* @summary Get usage report by ID
|
|
8202
|
+
* @request GET:/api/usage-reports/{id}
|
|
8203
|
+
* @secure
|
|
8204
|
+
* @response `200` `UsageReport` Success
|
|
8205
|
+
* @response `404` `ProblemDetails` Not Found
|
|
8206
|
+
*/
|
|
8207
|
+
getUsageReportById: (id: string, params?: RequestParams) => Promise<AxiosResponse<UsageReport, any>>;
|
|
8169
8208
|
/**
|
|
8170
8209
|
* No description
|
|
8171
8210
|
*
|