@matech/thebigpos-sdk 3.15.0 → 3.16.0-dev-6073
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/README.md +39 -0
- package/dist/index.d.ts +572 -14
- package/dist/index.js +184 -2
- package/dist/index.js.map +1 -1
- package/docs/sdk_generation.md +149 -0
- package/package.json +16 -6
- package/scripts/apply-json-patch-content-type.js +189 -36
- package/src/index.ts +1119 -15
package/src/index.ts
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* ---------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
type UtilRequiredKeys<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
14
|
+
|
|
13
15
|
export type VersionStatusType = "Draft" | "Published";
|
|
14
16
|
|
|
15
17
|
export type UserRole =
|
|
@@ -141,6 +143,20 @@ export type LoanRefinancePurpose =
|
|
|
141
143
|
|
|
142
144
|
export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
|
|
143
145
|
|
|
146
|
+
export type LoanRealEstatePropertyType =
|
|
147
|
+
| "SingleFamily"
|
|
148
|
+
| "Condominium"
|
|
149
|
+
| "Townhouse"
|
|
150
|
+
| "Cooperative"
|
|
151
|
+
| "TwoToFourUnitProperty"
|
|
152
|
+
| "MultifamilyMoreThanFourUnits"
|
|
153
|
+
| "ManufacturedMobileHome"
|
|
154
|
+
| "CommercialNonResidential"
|
|
155
|
+
| "HomeAndBusinessCombined"
|
|
156
|
+
| "MixedUseResidential"
|
|
157
|
+
| "Farm"
|
|
158
|
+
| "Land";
|
|
159
|
+
|
|
144
160
|
export type LoanRealEstateOccupancyType =
|
|
145
161
|
| "PrimaryHome"
|
|
146
162
|
| "SecondHome"
|
|
@@ -292,7 +308,8 @@ export type LoanLogType =
|
|
|
292
308
|
| "CoBorrowerEmailAutoFixed"
|
|
293
309
|
| "LosFieldWriteBack"
|
|
294
310
|
| "ReferrerChangeDiscarded"
|
|
295
|
-
| "TaskEdited"
|
|
311
|
+
| "TaskEdited"
|
|
312
|
+
| "SigningMethodChanged";
|
|
296
313
|
|
|
297
314
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
298
315
|
|
|
@@ -561,6 +578,55 @@ export type CompanyDocumentIndexStatus =
|
|
|
561
578
|
|
|
562
579
|
export type ClassificationSource = "Textract" | "Llm" | "Manual";
|
|
563
580
|
|
|
581
|
+
export type CanvasWidgetType =
|
|
582
|
+
| "Information"
|
|
583
|
+
| "Kpi"
|
|
584
|
+
| "KeyDates"
|
|
585
|
+
| "LoanProgress"
|
|
586
|
+
| "MonthlyPayment"
|
|
587
|
+
| "Amortization"
|
|
588
|
+
| "PrimaryBorrower"
|
|
589
|
+
| "OpenTasks"
|
|
590
|
+
| "Documents"
|
|
591
|
+
| "EsignStatus"
|
|
592
|
+
| "LoanTeam"
|
|
593
|
+
| "TextBlock"
|
|
594
|
+
| "SectionDivider"
|
|
595
|
+
| "MyTasks"
|
|
596
|
+
| "RecentLoans"
|
|
597
|
+
| "ClosingSoon";
|
|
598
|
+
|
|
599
|
+
export type CanvasWidgetScope = "Loan" | "User" | "Any";
|
|
600
|
+
|
|
601
|
+
export type CanvasSurface = "Home" | "LoanSummary" | "LoanDetails";
|
|
602
|
+
|
|
603
|
+
export type CanvasLabelPosition = "Left" | "Above";
|
|
604
|
+
|
|
605
|
+
export type CanvasInformationItemKind = "Field" | "Heading" | "Separator";
|
|
606
|
+
|
|
607
|
+
export type CanvasFieldSource = "Standard" | "Custom";
|
|
608
|
+
|
|
609
|
+
export type CanvasFieldFormat =
|
|
610
|
+
| "Text"
|
|
611
|
+
| "Number"
|
|
612
|
+
| "Currency"
|
|
613
|
+
| "Percent"
|
|
614
|
+
| "DateShort"
|
|
615
|
+
| "DateLong"
|
|
616
|
+
| "YesNo";
|
|
617
|
+
|
|
618
|
+
export type CanvasFieldDataType =
|
|
619
|
+
| "Text"
|
|
620
|
+
| "Number"
|
|
621
|
+
| "Decimal"
|
|
622
|
+
| "Boolean"
|
|
623
|
+
| "Date"
|
|
624
|
+
| "DateTime"
|
|
625
|
+
| "SingleSelect"
|
|
626
|
+
| "MultiSelect";
|
|
627
|
+
|
|
628
|
+
export type CanvasAudience = "Staff" | "Borrower" | "Partner";
|
|
629
|
+
|
|
564
630
|
export type BulkLoanTaskOperationType = "SetStatus" | "Delete" | "SetDueDate";
|
|
565
631
|
|
|
566
632
|
export type BranchType = "Mortgage" | "RealEstate";
|
|
@@ -701,6 +767,41 @@ export type AddressFamily =
|
|
|
701
767
|
| "ControllerAreaNetwork"
|
|
702
768
|
| "Unknown";
|
|
703
769
|
|
|
770
|
+
export type CanvasWidgetConfig = BaseCanvasWidgetConfig &
|
|
771
|
+
(
|
|
772
|
+
| BaseCanvasWidgetConfigTypeMapping<"Information", InformationWidgetConfig>
|
|
773
|
+
| BaseCanvasWidgetConfigTypeMapping<"Kpi", KpiWidgetConfig>
|
|
774
|
+
| BaseCanvasWidgetConfigTypeMapping<"KeyDates", KeyDatesWidgetConfig>
|
|
775
|
+
| BaseCanvasWidgetConfigTypeMapping<
|
|
776
|
+
"LoanProgress",
|
|
777
|
+
LoanProgressWidgetConfig
|
|
778
|
+
>
|
|
779
|
+
| BaseCanvasWidgetConfigTypeMapping<
|
|
780
|
+
"MonthlyPayment",
|
|
781
|
+
MonthlyPaymentWidgetConfig
|
|
782
|
+
>
|
|
783
|
+
| BaseCanvasWidgetConfigTypeMapping<
|
|
784
|
+
"Amortization",
|
|
785
|
+
AmortizationWidgetConfig
|
|
786
|
+
>
|
|
787
|
+
| BaseCanvasWidgetConfigTypeMapping<
|
|
788
|
+
"PrimaryBorrower",
|
|
789
|
+
PrimaryBorrowerWidgetConfig
|
|
790
|
+
>
|
|
791
|
+
| BaseCanvasWidgetConfigTypeMapping<"OpenTasks", OpenTasksWidgetConfig>
|
|
792
|
+
| BaseCanvasWidgetConfigTypeMapping<"Documents", DocumentsWidgetConfig>
|
|
793
|
+
| BaseCanvasWidgetConfigTypeMapping<"EsignStatus", EsignStatusWidgetConfig>
|
|
794
|
+
| BaseCanvasWidgetConfigTypeMapping<"LoanTeam", LoanTeamWidgetConfig>
|
|
795
|
+
| BaseCanvasWidgetConfigTypeMapping<"TextBlock", TextBlockWidgetConfig>
|
|
796
|
+
| BaseCanvasWidgetConfigTypeMapping<
|
|
797
|
+
"SectionDivider",
|
|
798
|
+
SectionDividerWidgetConfig
|
|
799
|
+
>
|
|
800
|
+
| BaseCanvasWidgetConfigTypeMapping<"MyTasks", MyTasksWidgetConfig>
|
|
801
|
+
| BaseCanvasWidgetConfigTypeMapping<"RecentLoans", RecentLoansWidgetConfig>
|
|
802
|
+
| BaseCanvasWidgetConfigTypeMapping<"ClosingSoon", ClosingSoonWidgetConfig>
|
|
803
|
+
);
|
|
804
|
+
|
|
704
805
|
export interface ASOSettings {
|
|
705
806
|
enabled: boolean;
|
|
706
807
|
softPull: boolean;
|
|
@@ -1043,7 +1144,7 @@ export interface AiAuditLog {
|
|
|
1043
1144
|
guardrailCategory?: string | null;
|
|
1044
1145
|
rawRequest?: string | null;
|
|
1045
1146
|
rawResponse?: string | null;
|
|
1046
|
-
details
|
|
1147
|
+
details?: any | null;
|
|
1047
1148
|
/** @format date-time */
|
|
1048
1149
|
createdAt: string;
|
|
1049
1150
|
}
|
|
@@ -1555,6 +1656,13 @@ export interface AmortizationSchedule {
|
|
|
1555
1656
|
pmi: number;
|
|
1556
1657
|
}
|
|
1557
1658
|
|
|
1659
|
+
export type AmortizationWidgetConfig = UtilRequiredKeys<
|
|
1660
|
+
BaseCanvasWidgetConfig,
|
|
1661
|
+
"type"
|
|
1662
|
+
> & {
|
|
1663
|
+
type: AmortizationWidgetConfigTypeEnum;
|
|
1664
|
+
};
|
|
1665
|
+
|
|
1558
1666
|
export interface ApplicationRowData {
|
|
1559
1667
|
borrowerEmail?: string | null;
|
|
1560
1668
|
borrowerFirstName?: string | null;
|
|
@@ -1630,7 +1738,7 @@ export interface AuditLogEntry {
|
|
|
1630
1738
|
rootEntityType?: string | null;
|
|
1631
1739
|
/** @format uuid */
|
|
1632
1740
|
rootEntityId?: string | null;
|
|
1633
|
-
changes
|
|
1741
|
+
changes?: any | null;
|
|
1634
1742
|
/** @format date-time */
|
|
1635
1743
|
createdAt: string;
|
|
1636
1744
|
}
|
|
@@ -1669,6 +1777,19 @@ export interface AutomatedService {
|
|
|
1669
1777
|
rateLimited: string[];
|
|
1670
1778
|
}
|
|
1671
1779
|
|
|
1780
|
+
export interface BorrowerApplication {
|
|
1781
|
+
/** @format uuid */
|
|
1782
|
+
loanId: string;
|
|
1783
|
+
/** @format uuid */
|
|
1784
|
+
borrowerId: string;
|
|
1785
|
+
/** @format uuid */
|
|
1786
|
+
coBorrowerId?: string | null;
|
|
1787
|
+
applicationStatus: BorrowerApplicationApplicationStatusEnum;
|
|
1788
|
+
answers: Record<string, any>;
|
|
1789
|
+
additionalFields: Record<string, string>;
|
|
1790
|
+
cursor?: LoanApplicationSession | null;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1672
1793
|
export interface BorrowerCount {
|
|
1673
1794
|
/** @format uuid */
|
|
1674
1795
|
userId: string;
|
|
@@ -1828,6 +1949,227 @@ export interface BusinessRuleRequest {
|
|
|
1828
1949
|
applyToAllBorrowerPairs: boolean;
|
|
1829
1950
|
}
|
|
1830
1951
|
|
|
1952
|
+
export interface CanvasAuthor {
|
|
1953
|
+
/** @format uuid */
|
|
1954
|
+
id: string;
|
|
1955
|
+
firstName: string;
|
|
1956
|
+
lastName: string;
|
|
1957
|
+
email: string;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
export interface CanvasBoard {
|
|
1961
|
+
name?: string | null;
|
|
1962
|
+
roles: UserRole[];
|
|
1963
|
+
widgetIds: string[];
|
|
1964
|
+
widgets: Record<string, CanvasWidget>;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
export interface CanvasBoardView {
|
|
1968
|
+
widgetIds: string[];
|
|
1969
|
+
widgets: Record<string, CanvasWidgetView>;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
export interface CanvasDocument {
|
|
1973
|
+
/** @format int32 */
|
|
1974
|
+
schemaVersion: number;
|
|
1975
|
+
boards?: CanvasBoard[] | null;
|
|
1976
|
+
tabs?: CanvasTab[] | null;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
export interface CanvasFieldCatalog {
|
|
1980
|
+
fields: CanvasFieldDescriptor[];
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
export interface CanvasFieldDescriptor {
|
|
1984
|
+
source: CanvasFieldDescriptorSourceEnum;
|
|
1985
|
+
key: string;
|
|
1986
|
+
label: string;
|
|
1987
|
+
category: string;
|
|
1988
|
+
categoryKey: string;
|
|
1989
|
+
dataType: CanvasFieldDescriptorDataTypeEnum;
|
|
1990
|
+
format: CanvasFieldDescriptorFormatEnum;
|
|
1991
|
+
encompassFieldId?: string | null;
|
|
1992
|
+
readableRoles: UserRole[];
|
|
1993
|
+
isActive: boolean;
|
|
1994
|
+
rolesWithoutPermissionRows: UserRole[];
|
|
1995
|
+
options: string[];
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
export interface CanvasFieldRef {
|
|
1999
|
+
source: CanvasFieldRefSourceEnum;
|
|
2000
|
+
key: string;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
export interface CanvasFieldValue {
|
|
2004
|
+
dataType: CanvasFieldValueDataTypeEnum;
|
|
2005
|
+
value?: any | null;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
export interface CanvasFieldValues {
|
|
2009
|
+
standard: Record<string, CanvasFieldValue>;
|
|
2010
|
+
custom: Record<string, CanvasFieldValue>;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
export interface CanvasFieldValuesRequest {
|
|
2014
|
+
standardKeys: string[];
|
|
2015
|
+
customFieldIds: string[];
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
export interface CanvasFieldView {
|
|
2019
|
+
label: string;
|
|
2020
|
+
dataType: CanvasFieldViewDataTypeEnum;
|
|
2021
|
+
format: CanvasFieldViewFormatEnum;
|
|
2022
|
+
options: string[];
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
export interface CanvasInformationItem {
|
|
2026
|
+
kind: CanvasInformationItemKindEnum;
|
|
2027
|
+
field?: CanvasFieldRef | null;
|
|
2028
|
+
text?: string | null;
|
|
2029
|
+
label?: string | null;
|
|
2030
|
+
format?: CanvasFieldFormat | null;
|
|
2031
|
+
emphasis: boolean;
|
|
2032
|
+
hideWhenEmpty: boolean;
|
|
2033
|
+
roles: UserRole[];
|
|
2034
|
+
/** @format int32 */
|
|
2035
|
+
column: number;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
export interface CanvasSourceSite {
|
|
2039
|
+
/** @format uuid */
|
|
2040
|
+
siteConfigurationID: string;
|
|
2041
|
+
name: string;
|
|
2042
|
+
type: CanvasSourceSiteTypeEnum;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
export interface CanvasSurfaceState {
|
|
2046
|
+
surface: CanvasSurfaceStateSurfaceEnum;
|
|
2047
|
+
own?: CanvasDocument | null;
|
|
2048
|
+
/** @format int32 */
|
|
2049
|
+
ownVersion?: number | null;
|
|
2050
|
+
isOwnUnreadable: boolean;
|
|
2051
|
+
/** @format date-time */
|
|
2052
|
+
ownUpdatedAt?: string | null;
|
|
2053
|
+
/** @format uuid */
|
|
2054
|
+
forkedFromSiteConfigurationID?: string | null;
|
|
2055
|
+
/** @format int32 */
|
|
2056
|
+
forkedFromVersion?: number | null;
|
|
2057
|
+
inherited?: CanvasDocument | null;
|
|
2058
|
+
/** @format int32 */
|
|
2059
|
+
inheritedVersion?: number | null;
|
|
2060
|
+
inheritedFrom?: CanvasSourceSite | null;
|
|
2061
|
+
isBehindInherited: boolean;
|
|
2062
|
+
effectiveBoards?: CanvasBoard[] | null;
|
|
2063
|
+
effectiveTabs?: ResolvedCanvasTab[] | null;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
export interface CanvasTab {
|
|
2067
|
+
key: string;
|
|
2068
|
+
/** @format int32 */
|
|
2069
|
+
version: number;
|
|
2070
|
+
title: string;
|
|
2071
|
+
roles: UserRole[];
|
|
2072
|
+
copiedFrom?: CanvasTabOrigin | null;
|
|
2073
|
+
board: CanvasBoard;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
export interface CanvasTabOrigin {
|
|
2077
|
+
/** @format uuid */
|
|
2078
|
+
siteConfigurationID: string;
|
|
2079
|
+
tabKey: string;
|
|
2080
|
+
/** @format int32 */
|
|
2081
|
+
version: number;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
export interface CanvasTabView {
|
|
2085
|
+
key: string;
|
|
2086
|
+
title: string;
|
|
2087
|
+
board: CanvasBoardView;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
export interface CanvasVersion {
|
|
2091
|
+
/** @format int32 */
|
|
2092
|
+
version: number;
|
|
2093
|
+
/** @format date-time */
|
|
2094
|
+
createdAt: string;
|
|
2095
|
+
createdBy?: CanvasAuthor | null;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
export interface CanvasView {
|
|
2099
|
+
surface: CanvasViewSurfaceEnum;
|
|
2100
|
+
isConfigured: boolean;
|
|
2101
|
+
board?: CanvasBoardView | null;
|
|
2102
|
+
tabs?: CanvasTabView[] | null;
|
|
2103
|
+
standardFields: Record<string, CanvasFieldView>;
|
|
2104
|
+
customFields: Record<string, CanvasFieldView>;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
export interface CanvasWidget {
|
|
2108
|
+
type: CanvasWidgetTypeEnum;
|
|
2109
|
+
/** @format int32 */
|
|
2110
|
+
configVersion: number;
|
|
2111
|
+
title?: string | null;
|
|
2112
|
+
/** @format int32 */
|
|
2113
|
+
width: number;
|
|
2114
|
+
roles: UserRole[];
|
|
2115
|
+
config:
|
|
2116
|
+
| InformationWidgetConfig
|
|
2117
|
+
| KpiWidgetConfig
|
|
2118
|
+
| KeyDatesWidgetConfig
|
|
2119
|
+
| LoanProgressWidgetConfig
|
|
2120
|
+
| MonthlyPaymentWidgetConfig
|
|
2121
|
+
| AmortizationWidgetConfig
|
|
2122
|
+
| PrimaryBorrowerWidgetConfig
|
|
2123
|
+
| OpenTasksWidgetConfig
|
|
2124
|
+
| DocumentsWidgetConfig
|
|
2125
|
+
| EsignStatusWidgetConfig
|
|
2126
|
+
| LoanTeamWidgetConfig
|
|
2127
|
+
| TextBlockWidgetConfig
|
|
2128
|
+
| SectionDividerWidgetConfig
|
|
2129
|
+
| MyTasksWidgetConfig
|
|
2130
|
+
| RecentLoansWidgetConfig
|
|
2131
|
+
| ClosingSoonWidgetConfig;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
export interface CanvasWidgetTypeDescriptor {
|
|
2135
|
+
type: CanvasWidgetTypeDescriptorTypeEnum;
|
|
2136
|
+
scope: CanvasWidgetTypeDescriptorScopeEnum;
|
|
2137
|
+
surfaces: CanvasSurface[];
|
|
2138
|
+
audiences: CanvasAudience[];
|
|
2139
|
+
allowedRoles: UserRole[];
|
|
2140
|
+
allowedWidths: number[];
|
|
2141
|
+
/** @format int32 */
|
|
2142
|
+
maxPerBoard: number;
|
|
2143
|
+
/** @format int32 */
|
|
2144
|
+
configVersion: number;
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
export interface CanvasWidgetView {
|
|
2148
|
+
type: CanvasWidgetViewTypeEnum;
|
|
2149
|
+
/** @format int32 */
|
|
2150
|
+
configVersion: number;
|
|
2151
|
+
title?: string | null;
|
|
2152
|
+
/** @format int32 */
|
|
2153
|
+
width: number;
|
|
2154
|
+
config:
|
|
2155
|
+
| InformationWidgetConfig
|
|
2156
|
+
| KpiWidgetConfig
|
|
2157
|
+
| KeyDatesWidgetConfig
|
|
2158
|
+
| LoanProgressWidgetConfig
|
|
2159
|
+
| MonthlyPaymentWidgetConfig
|
|
2160
|
+
| AmortizationWidgetConfig
|
|
2161
|
+
| PrimaryBorrowerWidgetConfig
|
|
2162
|
+
| OpenTasksWidgetConfig
|
|
2163
|
+
| DocumentsWidgetConfig
|
|
2164
|
+
| EsignStatusWidgetConfig
|
|
2165
|
+
| LoanTeamWidgetConfig
|
|
2166
|
+
| TextBlockWidgetConfig
|
|
2167
|
+
| SectionDividerWidgetConfig
|
|
2168
|
+
| MyTasksWidgetConfig
|
|
2169
|
+
| RecentLoansWidgetConfig
|
|
2170
|
+
| ClosingSoonWidgetConfig;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
1831
2173
|
export interface ChangePasswordRequest {
|
|
1832
2174
|
oldPassword: string;
|
|
1833
2175
|
newPassword: string;
|
|
@@ -1862,6 +2204,17 @@ export interface ClosedLoansReportRequest {
|
|
|
1862
2204
|
endDate: string;
|
|
1863
2205
|
}
|
|
1864
2206
|
|
|
2207
|
+
export type ClosingSoonWidgetConfig = UtilRequiredKeys<
|
|
2208
|
+
BaseCanvasWidgetConfig,
|
|
2209
|
+
"type"
|
|
2210
|
+
> & {
|
|
2211
|
+
/** @format int32 */
|
|
2212
|
+
withinDays: number;
|
|
2213
|
+
/** @format int32 */
|
|
2214
|
+
maxItems: number;
|
|
2215
|
+
type: ClosingSoonWidgetConfigTypeEnum;
|
|
2216
|
+
};
|
|
2217
|
+
|
|
1865
2218
|
export interface CommentUserInformation {
|
|
1866
2219
|
entityId: string;
|
|
1867
2220
|
entityType: string;
|
|
@@ -2521,6 +2874,16 @@ export interface DocumentTemplateVersionUpdateRequest {
|
|
|
2521
2874
|
htmlBody: string;
|
|
2522
2875
|
}
|
|
2523
2876
|
|
|
2877
|
+
export type DocumentsWidgetConfig = UtilRequiredKeys<
|
|
2878
|
+
BaseCanvasWidgetConfig,
|
|
2879
|
+
"type"
|
|
2880
|
+
> & {
|
|
2881
|
+
/** @format int32 */
|
|
2882
|
+
maxItems: number;
|
|
2883
|
+
onlyOutstanding: boolean;
|
|
2884
|
+
type: DocumentsWidgetConfigTypeEnum;
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2524
2887
|
export interface Draft {
|
|
2525
2888
|
/** @format date-time */
|
|
2526
2889
|
createdAt: string;
|
|
@@ -2574,7 +2937,7 @@ export interface DraftLoanOfficerReassignRequest {
|
|
|
2574
2937
|
|
|
2575
2938
|
export interface DraftRequest {
|
|
2576
2939
|
applicationPayload: any;
|
|
2577
|
-
customData
|
|
2940
|
+
customData?: any | null;
|
|
2578
2941
|
isCoBorrower: boolean;
|
|
2579
2942
|
}
|
|
2580
2943
|
|
|
@@ -2818,7 +3181,7 @@ export interface EncompassRequestLog {
|
|
|
2818
3181
|
httpStatusCode?: number | null;
|
|
2819
3182
|
/** @format int64 */
|
|
2820
3183
|
durationMs?: number | null;
|
|
2821
|
-
context
|
|
3184
|
+
context?: any | null;
|
|
2822
3185
|
/** @format date-time */
|
|
2823
3186
|
createdAt: string;
|
|
2824
3187
|
}
|
|
@@ -2846,6 +3209,13 @@ export interface Error {
|
|
|
2846
3209
|
message: string;
|
|
2847
3210
|
}
|
|
2848
3211
|
|
|
3212
|
+
export type EsignStatusWidgetConfig = UtilRequiredKeys<
|
|
3213
|
+
BaseCanvasWidgetConfig,
|
|
3214
|
+
"type"
|
|
3215
|
+
> & {
|
|
3216
|
+
type: EsignStatusWidgetConfigTypeEnum;
|
|
3217
|
+
};
|
|
3218
|
+
|
|
2849
3219
|
export interface FailureBucket {
|
|
2850
3220
|
/** @format date-time */
|
|
2851
3221
|
startUtc: string;
|
|
@@ -2959,7 +3329,7 @@ export interface FormSubmission {
|
|
|
2959
3329
|
subjectPropertyAddressCounty?: string | null;
|
|
2960
3330
|
subjectPropertyAddressState?: string | null;
|
|
2961
3331
|
subjectPropertyAddressZip?: string | null;
|
|
2962
|
-
data
|
|
3332
|
+
data?: any | null;
|
|
2963
3333
|
/** @format uuid */
|
|
2964
3334
|
listingID?: string | null;
|
|
2965
3335
|
listing?: Listing | null;
|
|
@@ -3005,7 +3375,7 @@ export interface FormSubmissionRequest {
|
|
|
3005
3375
|
subjectPropertyAddressCounty?: string | null;
|
|
3006
3376
|
subjectPropertyAddressState?: string | null;
|
|
3007
3377
|
subjectPropertyAddressZip?: string | null;
|
|
3008
|
-
data
|
|
3378
|
+
data?: any | null;
|
|
3009
3379
|
/** @format uuid */
|
|
3010
3380
|
listingID?: string | null;
|
|
3011
3381
|
}
|
|
@@ -3154,7 +3524,7 @@ export interface GetWorkflowRequest {
|
|
|
3154
3524
|
export interface GuidPatchOperation {
|
|
3155
3525
|
op: string;
|
|
3156
3526
|
path: string;
|
|
3157
|
-
value
|
|
3527
|
+
value?: any | null;
|
|
3158
3528
|
from?: string | null;
|
|
3159
3529
|
}
|
|
3160
3530
|
|
|
@@ -3232,6 +3602,7 @@ export interface InProgressLoan {
|
|
|
3232
3602
|
siteConfigurationId?: string | null;
|
|
3233
3603
|
/** @format date-time */
|
|
3234
3604
|
updatedAt?: string | null;
|
|
3605
|
+
applicationSession?: LoanApplicationSessionRoute | null;
|
|
3235
3606
|
}
|
|
3236
3607
|
|
|
3237
3608
|
export interface IncompleteApplicationSummary {
|
|
@@ -3268,6 +3639,7 @@ export interface IncompleteLoanBorrower {
|
|
|
3268
3639
|
applicationStatus: IncompleteLoanBorrowerApplicationStatusEnum;
|
|
3269
3640
|
/** @format date-time */
|
|
3270
3641
|
deletedAt?: string | null;
|
|
3642
|
+
applicationSession?: LoanApplicationSessionRoute | null;
|
|
3271
3643
|
}
|
|
3272
3644
|
|
|
3273
3645
|
export interface IncompleteLoanDraft {
|
|
@@ -3302,6 +3674,19 @@ export interface IncompleteLoanSiteConfiguration {
|
|
|
3302
3674
|
name: string;
|
|
3303
3675
|
}
|
|
3304
3676
|
|
|
3677
|
+
export type InformationWidgetConfig = UtilRequiredKeys<
|
|
3678
|
+
BaseCanvasWidgetConfig,
|
|
3679
|
+
"type"
|
|
3680
|
+
> & {
|
|
3681
|
+
/** @format int32 */
|
|
3682
|
+
columns: number;
|
|
3683
|
+
labelPosition: InformationWidgetConfigLabelPositionEnum;
|
|
3684
|
+
hideWhenEmpty: boolean;
|
|
3685
|
+
emptyText?: string | null;
|
|
3686
|
+
items: CanvasInformationItem[];
|
|
3687
|
+
type: InformationWidgetConfigTypeEnum;
|
|
3688
|
+
};
|
|
3689
|
+
|
|
3305
3690
|
export interface IntegrationSettings {
|
|
3306
3691
|
encompass?: EncompassIntegrationSettings | null;
|
|
3307
3692
|
}
|
|
@@ -3339,6 +3724,24 @@ export interface Invite {
|
|
|
3339
3724
|
/** Array of operations to perform */
|
|
3340
3725
|
export type JsonPatchDocument = Operation[];
|
|
3341
3726
|
|
|
3727
|
+
export type KeyDatesWidgetConfig = UtilRequiredKeys<
|
|
3728
|
+
BaseCanvasWidgetConfig,
|
|
3729
|
+
"type"
|
|
3730
|
+
> & {
|
|
3731
|
+
dates: string[];
|
|
3732
|
+
type: KeyDatesWidgetConfigTypeEnum;
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3735
|
+
export type KpiWidgetConfig = UtilRequiredKeys<
|
|
3736
|
+
BaseCanvasWidgetConfig,
|
|
3737
|
+
"type"
|
|
3738
|
+
> & {
|
|
3739
|
+
field: CanvasFieldRef;
|
|
3740
|
+
label?: string | null;
|
|
3741
|
+
format?: CanvasFieldFormat | null;
|
|
3742
|
+
type: KpiWidgetConfigTypeEnum;
|
|
3743
|
+
};
|
|
3744
|
+
|
|
3342
3745
|
export interface LOSIntegration {
|
|
3343
3746
|
instanceID: string;
|
|
3344
3747
|
}
|
|
@@ -3584,6 +3987,10 @@ export interface LoanApplicationSessionRequest {
|
|
|
3584
3987
|
questionHistory: string[];
|
|
3585
3988
|
}
|
|
3586
3989
|
|
|
3990
|
+
export interface LoanApplicationSessionRoute {
|
|
3991
|
+
routeName: string;
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3587
3994
|
export interface LoanBorrower {
|
|
3588
3995
|
/** @format uuid */
|
|
3589
3996
|
id: string;
|
|
@@ -3604,6 +4011,8 @@ export interface LoanBorrower {
|
|
|
3604
4011
|
numberOfDependents?: number | null;
|
|
3605
4012
|
/** @format int32 */
|
|
3606
4013
|
creditDecisionScore?: number | null;
|
|
4014
|
+
/** @format int32 */
|
|
4015
|
+
estimatedCreditScore?: number | null;
|
|
3607
4016
|
isPrimaryBorrower: boolean;
|
|
3608
4017
|
isFirstTimeHomeBuyer?: boolean | null;
|
|
3609
4018
|
hasJointAssetsAndLiabilities?: boolean | null;
|
|
@@ -3984,6 +4393,12 @@ export interface LoanBorrowerEmploymentPrevious {
|
|
|
3984
4393
|
/** @format double */
|
|
3985
4394
|
grossIncome?: number | null;
|
|
3986
4395
|
isSelfEmployed?: boolean | null;
|
|
4396
|
+
/** @format double */
|
|
4397
|
+
bonus?: number | null;
|
|
4398
|
+
/** @format double */
|
|
4399
|
+
overtime?: number | null;
|
|
4400
|
+
/** @format double */
|
|
4401
|
+
commission?: number | null;
|
|
3987
4402
|
address?: AddressV3 | null;
|
|
3988
4403
|
}
|
|
3989
4404
|
|
|
@@ -3998,6 +4413,12 @@ export interface LoanBorrowerEmploymentPreviousRequest {
|
|
|
3998
4413
|
/** @format double */
|
|
3999
4414
|
grossIncome?: number | null;
|
|
4000
4415
|
isSelfEmployed?: boolean | null;
|
|
4416
|
+
/** @format double */
|
|
4417
|
+
bonus?: number | null;
|
|
4418
|
+
/** @format double */
|
|
4419
|
+
overtime?: number | null;
|
|
4420
|
+
/** @format double */
|
|
4421
|
+
commission?: number | null;
|
|
4001
4422
|
address?: AddressRequest | null;
|
|
4002
4423
|
}
|
|
4003
4424
|
|
|
@@ -4210,6 +4631,7 @@ export interface LoanBorrowerRealEstateAsset {
|
|
|
4210
4631
|
occupancy?: LoanRealEstateOccupancyType | null;
|
|
4211
4632
|
intendedUsage?: LoanRealEstateIntendedUsageType | null;
|
|
4212
4633
|
intendedUsageOtherDescription?: string | null;
|
|
4634
|
+
propertyType?: LoanRealEstatePropertyType | null;
|
|
4213
4635
|
/** @format double */
|
|
4214
4636
|
marketValue?: number | null;
|
|
4215
4637
|
/** @format double */
|
|
@@ -4270,6 +4692,7 @@ export interface LoanBorrowerRealEstateAssetRequest {
|
|
|
4270
4692
|
occupancy?: LoanRealEstateOccupancyType | null;
|
|
4271
4693
|
intendedUsage?: LoanRealEstateIntendedUsageType | null;
|
|
4272
4694
|
intendedUsageOtherDescription?: string | null;
|
|
4695
|
+
propertyType?: LoanRealEstatePropertyType | null;
|
|
4273
4696
|
/** @format double */
|
|
4274
4697
|
marketValue?: number | null;
|
|
4275
4698
|
/** @format double */
|
|
@@ -4305,6 +4728,8 @@ export interface LoanBorrowerRequest {
|
|
|
4305
4728
|
isFirstTimeHomeBuyer?: boolean | null;
|
|
4306
4729
|
hasJointAssetsAndLiabilities?: boolean | null;
|
|
4307
4730
|
dependentAges?: number[] | null;
|
|
4731
|
+
/** @format int32 */
|
|
4732
|
+
estimatedCreditScore?: number | null;
|
|
4308
4733
|
demographics?: LoanBorrowerDemographicsRequest | null;
|
|
4309
4734
|
declarations?: LoanBorrowerDeclarationsRequest | null;
|
|
4310
4735
|
militaryService?: LoanBorrowerMilitaryServiceRequest | null;
|
|
@@ -4964,6 +5389,13 @@ export interface LoanPatchRequestGuidPatchDocument {
|
|
|
4964
5389
|
operations: GuidPatchOperation[];
|
|
4965
5390
|
}
|
|
4966
5391
|
|
|
5392
|
+
export type LoanProgressWidgetConfig = UtilRequiredKeys<
|
|
5393
|
+
BaseCanvasWidgetConfig,
|
|
5394
|
+
"type"
|
|
5395
|
+
> & {
|
|
5396
|
+
type: LoanProgressWidgetConfigTypeEnum;
|
|
5397
|
+
};
|
|
5398
|
+
|
|
4967
5399
|
export interface LoanProperty {
|
|
4968
5400
|
/** @format uuid */
|
|
4969
5401
|
id?: string | null;
|
|
@@ -5099,7 +5531,7 @@ export interface LoanQueueWithData {
|
|
|
5099
5531
|
user: UserPublic;
|
|
5100
5532
|
loanOfficer: LoanOfficerPublic;
|
|
5101
5533
|
siteConfiguration: SiteConfigurationReduced;
|
|
5102
|
-
data
|
|
5534
|
+
data?: any | null;
|
|
5103
5535
|
}
|
|
5104
5536
|
|
|
5105
5537
|
export interface LoanRecommendation {
|
|
@@ -5109,7 +5541,7 @@ export interface LoanRecommendation {
|
|
|
5109
5541
|
displayName: string;
|
|
5110
5542
|
extractedValue: string;
|
|
5111
5543
|
mintable: boolean;
|
|
5112
|
-
currentLoanValue
|
|
5544
|
+
currentLoanValue?: any | null;
|
|
5113
5545
|
/** @format uuid */
|
|
5114
5546
|
sourceDocumentId: string;
|
|
5115
5547
|
sourceDocumentName?: string | null;
|
|
@@ -5287,6 +5719,13 @@ export interface LoanTaskStatusSummary {
|
|
|
5287
5719
|
count: number;
|
|
5288
5720
|
}
|
|
5289
5721
|
|
|
5722
|
+
export type LoanTeamWidgetConfig = UtilRequiredKeys<
|
|
5723
|
+
BaseCanvasWidgetConfig,
|
|
5724
|
+
"type"
|
|
5725
|
+
> & {
|
|
5726
|
+
type: LoanTeamWidgetConfigTypeEnum;
|
|
5727
|
+
};
|
|
5728
|
+
|
|
5290
5729
|
export interface LoanUser {
|
|
5291
5730
|
/** @format uuid */
|
|
5292
5731
|
id: string;
|
|
@@ -5684,7 +6123,7 @@ export interface ModuleParameterValue {
|
|
|
5684
6123
|
parameterID: string;
|
|
5685
6124
|
parameterName: string;
|
|
5686
6125
|
parameterType: string;
|
|
5687
|
-
value
|
|
6126
|
+
value?: any | null;
|
|
5688
6127
|
isInherited: boolean;
|
|
5689
6128
|
}
|
|
5690
6129
|
|
|
@@ -5721,6 +6160,24 @@ export interface MonthlyPaymentCalculatorRequest {
|
|
|
5721
6160
|
term: number;
|
|
5722
6161
|
}
|
|
5723
6162
|
|
|
6163
|
+
export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<
|
|
6164
|
+
BaseCanvasWidgetConfig,
|
|
6165
|
+
"type"
|
|
6166
|
+
> & {
|
|
6167
|
+
type: MonthlyPaymentWidgetConfigTypeEnum;
|
|
6168
|
+
};
|
|
6169
|
+
|
|
6170
|
+
export type MyTasksWidgetConfig = UtilRequiredKeys<
|
|
6171
|
+
BaseCanvasWidgetConfig,
|
|
6172
|
+
"type"
|
|
6173
|
+
> & {
|
|
6174
|
+
/** @format int32 */
|
|
6175
|
+
dueWithinDays: number;
|
|
6176
|
+
/** @format int32 */
|
|
6177
|
+
maxItems: number;
|
|
6178
|
+
type: MyTasksWidgetConfigTypeEnum;
|
|
6179
|
+
};
|
|
6180
|
+
|
|
5724
6181
|
export interface NoContentResult {
|
|
5725
6182
|
/** @format int32 */
|
|
5726
6183
|
statusCode: number;
|
|
@@ -5868,6 +6325,15 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
5868
6325
|
pushNotificationBody?: string | null;
|
|
5869
6326
|
}
|
|
5870
6327
|
|
|
6328
|
+
export type OpenTasksWidgetConfig = UtilRequiredKeys<
|
|
6329
|
+
BaseCanvasWidgetConfig,
|
|
6330
|
+
"type"
|
|
6331
|
+
> & {
|
|
6332
|
+
/** @format int32 */
|
|
6333
|
+
maxItems: number;
|
|
6334
|
+
type: OpenTasksWidgetConfigTypeEnum;
|
|
6335
|
+
};
|
|
6336
|
+
|
|
5871
6337
|
export interface Operation {
|
|
5872
6338
|
op?: string;
|
|
5873
6339
|
value?: string | number | boolean | null | object;
|
|
@@ -6017,6 +6483,18 @@ export interface PreliminaryCondition {
|
|
|
6017
6483
|
rerequestedBy?: CommentUserInformation | null;
|
|
6018
6484
|
}
|
|
6019
6485
|
|
|
6486
|
+
export interface PreviewSiteConfigurationCanvasRequest {
|
|
6487
|
+
document: CanvasDocument;
|
|
6488
|
+
role?: UserRole | null;
|
|
6489
|
+
}
|
|
6490
|
+
|
|
6491
|
+
export type PrimaryBorrowerWidgetConfig = UtilRequiredKeys<
|
|
6492
|
+
BaseCanvasWidgetConfig,
|
|
6493
|
+
"type"
|
|
6494
|
+
> & {
|
|
6495
|
+
type: PrimaryBorrowerWidgetConfigTypeEnum;
|
|
6496
|
+
};
|
|
6497
|
+
|
|
6020
6498
|
export interface ProblemDetails {
|
|
6021
6499
|
type?: string | null;
|
|
6022
6500
|
title?: string | null;
|
|
@@ -6027,6 +6505,15 @@ export interface ProblemDetails {
|
|
|
6027
6505
|
[key: string]: any;
|
|
6028
6506
|
}
|
|
6029
6507
|
|
|
6508
|
+
export type RecentLoansWidgetConfig = UtilRequiredKeys<
|
|
6509
|
+
BaseCanvasWidgetConfig,
|
|
6510
|
+
"type"
|
|
6511
|
+
> & {
|
|
6512
|
+
/** @format int32 */
|
|
6513
|
+
maxItems: number;
|
|
6514
|
+
type: RecentLoansWidgetConfigTypeEnum;
|
|
6515
|
+
};
|
|
6516
|
+
|
|
6030
6517
|
export interface RefinanceCalculator {
|
|
6031
6518
|
currentLoan: RefinanceLoan;
|
|
6032
6519
|
refinanceLoan: RefinanceLoan;
|
|
@@ -6147,6 +6634,17 @@ export interface ResetPasswordRequest {
|
|
|
6147
6634
|
password: string;
|
|
6148
6635
|
}
|
|
6149
6636
|
|
|
6637
|
+
export interface ResolvedCanvasTab {
|
|
6638
|
+
tab: CanvasTab;
|
|
6639
|
+
source: CanvasSourceSite;
|
|
6640
|
+
isInherited: boolean;
|
|
6641
|
+
}
|
|
6642
|
+
|
|
6643
|
+
export interface RestoreSiteConfigurationCanvasVersionRequest {
|
|
6644
|
+
/** @format int32 */
|
|
6645
|
+
expectedVersion: number;
|
|
6646
|
+
}
|
|
6647
|
+
|
|
6150
6648
|
export interface RunLOCalculation {
|
|
6151
6649
|
loanID: string;
|
|
6152
6650
|
loanAmount?: string | null;
|
|
@@ -6227,10 +6725,28 @@ export interface SSOTokenRequest {
|
|
|
6227
6725
|
redirectUri?: string | null;
|
|
6228
6726
|
}
|
|
6229
6727
|
|
|
6728
|
+
export interface SaveSiteConfigurationCanvasRequest {
|
|
6729
|
+
document: CanvasDocument;
|
|
6730
|
+
/** @format int32 */
|
|
6731
|
+
expectedVersion?: number | null;
|
|
6732
|
+
/** @format uuid */
|
|
6733
|
+
forkedFromSiteConfigurationID?: string | null;
|
|
6734
|
+
/** @format int32 */
|
|
6735
|
+
forkedFromVersion?: number | null;
|
|
6736
|
+
}
|
|
6737
|
+
|
|
6230
6738
|
export interface SearchCriteria {
|
|
6231
6739
|
searchText?: string | null;
|
|
6232
6740
|
}
|
|
6233
6741
|
|
|
6742
|
+
export type SectionDividerWidgetConfig = UtilRequiredKeys<
|
|
6743
|
+
BaseCanvasWidgetConfig,
|
|
6744
|
+
"type"
|
|
6745
|
+
> & {
|
|
6746
|
+
label?: string | null;
|
|
6747
|
+
type: SectionDividerWidgetConfigTypeEnum;
|
|
6748
|
+
};
|
|
6749
|
+
|
|
6234
6750
|
export interface SendESignatureReminderRequest {
|
|
6235
6751
|
/** @format uuid */
|
|
6236
6752
|
userId: string;
|
|
@@ -6671,6 +7187,12 @@ export interface SiteConfigurationByUrl {
|
|
|
6671
7187
|
workflows: Workflow[];
|
|
6672
7188
|
}
|
|
6673
7189
|
|
|
7190
|
+
export interface SiteConfigurationCanvases {
|
|
7191
|
+
/** @format uuid */
|
|
7192
|
+
siteConfigurationID: string;
|
|
7193
|
+
surfaces: CanvasSurfaceState[];
|
|
7194
|
+
}
|
|
7195
|
+
|
|
6674
7196
|
export interface SiteConfigurationForm {
|
|
6675
7197
|
/** @format date-time */
|
|
6676
7198
|
createdAt: string;
|
|
@@ -7177,6 +7699,14 @@ export interface TemplateTokenRoot {
|
|
|
7177
7699
|
fields: TemplateToken[];
|
|
7178
7700
|
}
|
|
7179
7701
|
|
|
7702
|
+
export type TextBlockWidgetConfig = UtilRequiredKeys<
|
|
7703
|
+
BaseCanvasWidgetConfig,
|
|
7704
|
+
"type"
|
|
7705
|
+
> & {
|
|
7706
|
+
text: string;
|
|
7707
|
+
type: TextBlockWidgetConfigTypeEnum;
|
|
7708
|
+
};
|
|
7709
|
+
|
|
7180
7710
|
export interface Theme {
|
|
7181
7711
|
logoURL: string;
|
|
7182
7712
|
primaryColor: string;
|
|
@@ -7281,6 +7811,8 @@ export interface UnprocessableEntity {
|
|
|
7281
7811
|
export interface UnprocessableEntityError {
|
|
7282
7812
|
error: string;
|
|
7283
7813
|
property: string;
|
|
7814
|
+
code?: string | null;
|
|
7815
|
+
params?: Record<string, any> | null;
|
|
7284
7816
|
}
|
|
7285
7817
|
|
|
7286
7818
|
export interface UnregisteredBorrower {
|
|
@@ -7435,6 +7967,10 @@ export interface UpdateLoanRoleTaskRequest {
|
|
|
7435
7967
|
dueDate?: string | null;
|
|
7436
7968
|
}
|
|
7437
7969
|
|
|
7970
|
+
export interface UpdateLoanSigningMethodRequest {
|
|
7971
|
+
signingMethod?: SigningMethod | null;
|
|
7972
|
+
}
|
|
7973
|
+
|
|
7438
7974
|
export interface UpdateMeRequest {
|
|
7439
7975
|
phone?: string | null;
|
|
7440
7976
|
firstName: string;
|
|
@@ -8007,6 +8543,14 @@ export interface Workflow {
|
|
|
8007
8543
|
icon: string;
|
|
8008
8544
|
}
|
|
8009
8545
|
|
|
8546
|
+
interface BaseCanvasWidgetConfig {
|
|
8547
|
+
type: string;
|
|
8548
|
+
}
|
|
8549
|
+
|
|
8550
|
+
type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
|
|
8551
|
+
type: Key;
|
|
8552
|
+
} & Type;
|
|
8553
|
+
|
|
8010
8554
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
8011
8555
|
|
|
8012
8556
|
export type AiAuditLogEventTypeEnum =
|
|
@@ -8077,6 +8621,8 @@ export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
|
|
|
8077
8621
|
|
|
8078
8622
|
export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
|
|
8079
8623
|
|
|
8624
|
+
export type AmortizationWidgetConfigTypeEnum = "Amortization";
|
|
8625
|
+
|
|
8080
8626
|
export type AuditLogEntryChangeTypeEnum =
|
|
8081
8627
|
| "Created"
|
|
8082
8628
|
| "Modified"
|
|
@@ -8087,6 +8633,8 @@ export type AuditLogEntryChangeTypeEnum =
|
|
|
8087
8633
|
| "Reactivated"
|
|
8088
8634
|
| "Accessed";
|
|
8089
8635
|
|
|
8636
|
+
export type BorrowerApplicationApplicationStatusEnum = "Draft" | "Complete";
|
|
8637
|
+
|
|
8090
8638
|
export type BorrowerCountRoleEnum =
|
|
8091
8639
|
| "Borrower"
|
|
8092
8640
|
| "CoBorrower"
|
|
@@ -8117,6 +8665,133 @@ export type BorrowerIdentityRoleEnum =
|
|
|
8117
8665
|
| "SettlementAgent"
|
|
8118
8666
|
| "Admin";
|
|
8119
8667
|
|
|
8668
|
+
export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
|
|
8669
|
+
|
|
8670
|
+
export type CanvasFieldDescriptorDataTypeEnum =
|
|
8671
|
+
| "Text"
|
|
8672
|
+
| "Number"
|
|
8673
|
+
| "Decimal"
|
|
8674
|
+
| "Boolean"
|
|
8675
|
+
| "Date"
|
|
8676
|
+
| "DateTime"
|
|
8677
|
+
| "SingleSelect"
|
|
8678
|
+
| "MultiSelect";
|
|
8679
|
+
|
|
8680
|
+
export type CanvasFieldDescriptorFormatEnum =
|
|
8681
|
+
| "Text"
|
|
8682
|
+
| "Number"
|
|
8683
|
+
| "Currency"
|
|
8684
|
+
| "Percent"
|
|
8685
|
+
| "DateShort"
|
|
8686
|
+
| "DateLong"
|
|
8687
|
+
| "YesNo";
|
|
8688
|
+
|
|
8689
|
+
export type CanvasFieldRefSourceEnum = "Standard" | "Custom";
|
|
8690
|
+
|
|
8691
|
+
export type CanvasFieldValueDataTypeEnum =
|
|
8692
|
+
| "Text"
|
|
8693
|
+
| "Number"
|
|
8694
|
+
| "Decimal"
|
|
8695
|
+
| "Boolean"
|
|
8696
|
+
| "Date"
|
|
8697
|
+
| "DateTime"
|
|
8698
|
+
| "SingleSelect"
|
|
8699
|
+
| "MultiSelect";
|
|
8700
|
+
|
|
8701
|
+
export type CanvasFieldViewDataTypeEnum =
|
|
8702
|
+
| "Text"
|
|
8703
|
+
| "Number"
|
|
8704
|
+
| "Decimal"
|
|
8705
|
+
| "Boolean"
|
|
8706
|
+
| "Date"
|
|
8707
|
+
| "DateTime"
|
|
8708
|
+
| "SingleSelect"
|
|
8709
|
+
| "MultiSelect";
|
|
8710
|
+
|
|
8711
|
+
export type CanvasFieldViewFormatEnum =
|
|
8712
|
+
| "Text"
|
|
8713
|
+
| "Number"
|
|
8714
|
+
| "Currency"
|
|
8715
|
+
| "Percent"
|
|
8716
|
+
| "DateShort"
|
|
8717
|
+
| "DateLong"
|
|
8718
|
+
| "YesNo";
|
|
8719
|
+
|
|
8720
|
+
export type CanvasInformationItemKindEnum = "Field" | "Heading" | "Separator";
|
|
8721
|
+
|
|
8722
|
+
export type CanvasSourceSiteTypeEnum =
|
|
8723
|
+
| "None"
|
|
8724
|
+
| "Account"
|
|
8725
|
+
| "Corporate"
|
|
8726
|
+
| "Branch"
|
|
8727
|
+
| "LoanOfficer"
|
|
8728
|
+
| "Partner";
|
|
8729
|
+
|
|
8730
|
+
export type CanvasSurfaceStateSurfaceEnum =
|
|
8731
|
+
| "Home"
|
|
8732
|
+
| "LoanSummary"
|
|
8733
|
+
| "LoanDetails";
|
|
8734
|
+
|
|
8735
|
+
export type CanvasViewSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
|
|
8736
|
+
|
|
8737
|
+
export type CanvasWidgetTypeEnum =
|
|
8738
|
+
| "Information"
|
|
8739
|
+
| "Kpi"
|
|
8740
|
+
| "KeyDates"
|
|
8741
|
+
| "LoanProgress"
|
|
8742
|
+
| "MonthlyPayment"
|
|
8743
|
+
| "Amortization"
|
|
8744
|
+
| "PrimaryBorrower"
|
|
8745
|
+
| "OpenTasks"
|
|
8746
|
+
| "Documents"
|
|
8747
|
+
| "EsignStatus"
|
|
8748
|
+
| "LoanTeam"
|
|
8749
|
+
| "TextBlock"
|
|
8750
|
+
| "SectionDivider"
|
|
8751
|
+
| "MyTasks"
|
|
8752
|
+
| "RecentLoans"
|
|
8753
|
+
| "ClosingSoon";
|
|
8754
|
+
|
|
8755
|
+
export type CanvasWidgetTypeDescriptorTypeEnum =
|
|
8756
|
+
| "Information"
|
|
8757
|
+
| "Kpi"
|
|
8758
|
+
| "KeyDates"
|
|
8759
|
+
| "LoanProgress"
|
|
8760
|
+
| "MonthlyPayment"
|
|
8761
|
+
| "Amortization"
|
|
8762
|
+
| "PrimaryBorrower"
|
|
8763
|
+
| "OpenTasks"
|
|
8764
|
+
| "Documents"
|
|
8765
|
+
| "EsignStatus"
|
|
8766
|
+
| "LoanTeam"
|
|
8767
|
+
| "TextBlock"
|
|
8768
|
+
| "SectionDivider"
|
|
8769
|
+
| "MyTasks"
|
|
8770
|
+
| "RecentLoans"
|
|
8771
|
+
| "ClosingSoon";
|
|
8772
|
+
|
|
8773
|
+
export type CanvasWidgetTypeDescriptorScopeEnum = "Loan" | "User" | "Any";
|
|
8774
|
+
|
|
8775
|
+
export type CanvasWidgetViewTypeEnum =
|
|
8776
|
+
| "Information"
|
|
8777
|
+
| "Kpi"
|
|
8778
|
+
| "KeyDates"
|
|
8779
|
+
| "LoanProgress"
|
|
8780
|
+
| "MonthlyPayment"
|
|
8781
|
+
| "Amortization"
|
|
8782
|
+
| "PrimaryBorrower"
|
|
8783
|
+
| "OpenTasks"
|
|
8784
|
+
| "Documents"
|
|
8785
|
+
| "EsignStatus"
|
|
8786
|
+
| "LoanTeam"
|
|
8787
|
+
| "TextBlock"
|
|
8788
|
+
| "SectionDivider"
|
|
8789
|
+
| "MyTasks"
|
|
8790
|
+
| "RecentLoans"
|
|
8791
|
+
| "ClosingSoon";
|
|
8792
|
+
|
|
8793
|
+
export type ClosingSoonWidgetConfigTypeEnum = "ClosingSoon";
|
|
8794
|
+
|
|
8120
8795
|
export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
|
|
8121
8796
|
|
|
8122
8797
|
export type CompanyDocumentIndexStatusEnum =
|
|
@@ -8289,6 +8964,8 @@ export type CustomFieldValueDataTypeEnum =
|
|
|
8289
8964
|
| "SingleSelect"
|
|
8290
8965
|
| "MultiSelect";
|
|
8291
8966
|
|
|
8967
|
+
export type DocumentsWidgetConfigTypeEnum = "Documents";
|
|
8968
|
+
|
|
8292
8969
|
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
8293
8970
|
|
|
8294
8971
|
export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
|
|
@@ -8330,6 +9007,8 @@ export type EncompassWebhookSubscriptionWebhookTypeEnum =
|
|
|
8330
9007
|
| "WebDocuments"
|
|
8331
9008
|
| "PosfCreatePackage";
|
|
8332
9009
|
|
|
9010
|
+
export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
|
|
9011
|
+
|
|
8333
9012
|
export type GenerateSystemPromptRequestCategoryEnum =
|
|
8334
9013
|
| "DocumentAnalysis"
|
|
8335
9014
|
| "DataQuery"
|
|
@@ -8375,6 +9054,14 @@ export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
|
|
|
8375
9054
|
|
|
8376
9055
|
export type IncompleteLoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
8377
9056
|
|
|
9057
|
+
export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
|
|
9058
|
+
|
|
9059
|
+
export type InformationWidgetConfigTypeEnum = "Information";
|
|
9060
|
+
|
|
9061
|
+
export type KeyDatesWidgetConfigTypeEnum = "KeyDates";
|
|
9062
|
+
|
|
9063
|
+
export type KpiWidgetConfigTypeEnum = "Kpi";
|
|
9064
|
+
|
|
8378
9065
|
export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
8379
9066
|
|
|
8380
9067
|
export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
@@ -8480,7 +9167,8 @@ export type LoanLogTypeEnum =
|
|
|
8480
9167
|
| "CoBorrowerEmailAutoFixed"
|
|
8481
9168
|
| "LosFieldWriteBack"
|
|
8482
9169
|
| "ReferrerChangeDiscarded"
|
|
8483
|
-
| "TaskEdited"
|
|
9170
|
+
| "TaskEdited"
|
|
9171
|
+
| "SigningMethodChanged";
|
|
8484
9172
|
|
|
8485
9173
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
8486
9174
|
|
|
@@ -8505,7 +9193,10 @@ export type LoanLogDetailTypeEnum =
|
|
|
8505
9193
|
| "CoBorrowerEmailAutoFixed"
|
|
8506
9194
|
| "LosFieldWriteBack"
|
|
8507
9195
|
| "ReferrerChangeDiscarded"
|
|
8508
|
-
| "TaskEdited"
|
|
9196
|
+
| "TaskEdited"
|
|
9197
|
+
| "SigningMethodChanged";
|
|
9198
|
+
|
|
9199
|
+
export type LoanProgressWidgetConfigTypeEnum = "LoanProgress";
|
|
8509
9200
|
|
|
8510
9201
|
export type LoanRoleSlotTasksRoleEnum =
|
|
8511
9202
|
| "Borrower"
|
|
@@ -8560,6 +9251,8 @@ export type LoanTaskStatusSummaryStatusEnum =
|
|
|
8560
9251
|
| "Rejected"
|
|
8561
9252
|
| "Unknown";
|
|
8562
9253
|
|
|
9254
|
+
export type LoanTeamWidgetConfigTypeEnum = "LoanTeam";
|
|
9255
|
+
|
|
8563
9256
|
export type LoanUserLoanRoleEnum =
|
|
8564
9257
|
| "Borrower"
|
|
8565
9258
|
| "CoBorrower"
|
|
@@ -8691,6 +9384,12 @@ export type ManualDocumentClassificationRequestDocumentTypeEnum =
|
|
|
8691
9384
|
| "AiGeneratedDocument"
|
|
8692
9385
|
| "Unidentified";
|
|
8693
9386
|
|
|
9387
|
+
export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
|
|
9388
|
+
|
|
9389
|
+
export type MyTasksWidgetConfigTypeEnum = "MyTasks";
|
|
9390
|
+
|
|
9391
|
+
export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
|
|
9392
|
+
|
|
8694
9393
|
export type PendingInviteStatusEnum =
|
|
8695
9394
|
| "InvitePending"
|
|
8696
9395
|
| "InviteExpired"
|
|
@@ -8711,6 +9410,12 @@ export type PendingInviteRoleEnum =
|
|
|
8711
9410
|
| "SettlementAgent"
|
|
8712
9411
|
| "Admin";
|
|
8713
9412
|
|
|
9413
|
+
export type PrimaryBorrowerWidgetConfigTypeEnum = "PrimaryBorrower";
|
|
9414
|
+
|
|
9415
|
+
export type RecentLoansWidgetConfigTypeEnum = "RecentLoans";
|
|
9416
|
+
|
|
9417
|
+
export type SectionDividerWidgetConfigTypeEnum = "SectionDivider";
|
|
9418
|
+
|
|
8714
9419
|
export type SiteConfigurationTypeEnum =
|
|
8715
9420
|
| "None"
|
|
8716
9421
|
| "Account"
|
|
@@ -8763,6 +9468,8 @@ export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
|
|
|
8763
9468
|
|
|
8764
9469
|
export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
|
|
8765
9470
|
|
|
9471
|
+
export type TextBlockWidgetConfigTypeEnum = "TextBlock";
|
|
9472
|
+
|
|
8766
9473
|
export type UnregisteredBorrowerRoleEnum =
|
|
8767
9474
|
| "Borrower"
|
|
8768
9475
|
| "CoBorrower"
|
|
@@ -8847,6 +9554,10 @@ export type UserLoanConsentLosSyncStatusEnum =
|
|
|
8847
9554
|
|
|
8848
9555
|
export type UserTableSettingsTableKeyEnum = "Pipeline";
|
|
8849
9556
|
|
|
9557
|
+
export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
|
|
9558
|
+
|
|
9559
|
+
export type GetCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
|
|
9560
|
+
|
|
8850
9561
|
export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
|
|
8851
9562
|
|
|
8852
9563
|
/** @default "Realtor" */
|
|
@@ -8861,6 +9572,56 @@ export type GetPartnersParamsRoleEnum =
|
|
|
8861
9572
|
| "LoanOfficerAssistant"
|
|
8862
9573
|
| "SystemAdmin";
|
|
8863
9574
|
|
|
9575
|
+
export type SaveSiteConfigurationCanvasParamsSurfaceEnum =
|
|
9576
|
+
| "Home"
|
|
9577
|
+
| "LoanSummary"
|
|
9578
|
+
| "LoanDetails";
|
|
9579
|
+
|
|
9580
|
+
export type SaveSiteConfigurationCanvasParamsEnum =
|
|
9581
|
+
| "Home"
|
|
9582
|
+
| "LoanSummary"
|
|
9583
|
+
| "LoanDetails";
|
|
9584
|
+
|
|
9585
|
+
export type DeleteSiteConfigurationCanvasParamsSurfaceEnum =
|
|
9586
|
+
| "Home"
|
|
9587
|
+
| "LoanSummary"
|
|
9588
|
+
| "LoanDetails";
|
|
9589
|
+
|
|
9590
|
+
export type DeleteSiteConfigurationCanvasParamsEnum =
|
|
9591
|
+
| "Home"
|
|
9592
|
+
| "LoanSummary"
|
|
9593
|
+
| "LoanDetails";
|
|
9594
|
+
|
|
9595
|
+
export type PreviewSiteConfigurationCanvasParamsSurfaceEnum =
|
|
9596
|
+
| "Home"
|
|
9597
|
+
| "LoanSummary"
|
|
9598
|
+
| "LoanDetails";
|
|
9599
|
+
|
|
9600
|
+
export type PreviewSiteConfigurationCanvasParamsEnum =
|
|
9601
|
+
| "Home"
|
|
9602
|
+
| "LoanSummary"
|
|
9603
|
+
| "LoanDetails";
|
|
9604
|
+
|
|
9605
|
+
export type GetSiteConfigurationCanvasVersionsParamsSurfaceEnum =
|
|
9606
|
+
| "Home"
|
|
9607
|
+
| "LoanSummary"
|
|
9608
|
+
| "LoanDetails";
|
|
9609
|
+
|
|
9610
|
+
export type GetSiteConfigurationCanvasVersionsParamsEnum =
|
|
9611
|
+
| "Home"
|
|
9612
|
+
| "LoanSummary"
|
|
9613
|
+
| "LoanDetails";
|
|
9614
|
+
|
|
9615
|
+
export type RestoreSiteConfigurationCanvasVersionParamsSurfaceEnum =
|
|
9616
|
+
| "Home"
|
|
9617
|
+
| "LoanSummary"
|
|
9618
|
+
| "LoanDetails";
|
|
9619
|
+
|
|
9620
|
+
export type RestoreSiteConfigurationCanvasVersionParamsEnum =
|
|
9621
|
+
| "Home"
|
|
9622
|
+
| "LoanSummary"
|
|
9623
|
+
| "LoanDetails";
|
|
9624
|
+
|
|
8864
9625
|
export type GetSamlMetadataParamsSSoIntegrationEnum =
|
|
8865
9626
|
| "ConsumerConnect"
|
|
8866
9627
|
| "TheBigPOS"
|
|
@@ -9007,7 +9768,15 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
9007
9768
|
property instanceof Array ? property : [property];
|
|
9008
9769
|
|
|
9009
9770
|
for (const formItem of propertyContent) {
|
|
9010
|
-
|
|
9771
|
+
// React Native files are plain { uri, name, type } objects, not Blob/File.
|
|
9772
|
+
const isReactNativeFile =
|
|
9773
|
+
!!formItem &&
|
|
9774
|
+
typeof formItem === "object" &&
|
|
9775
|
+
"uri" in formItem &&
|
|
9776
|
+
"name" in formItem &&
|
|
9777
|
+
"type" in formItem;
|
|
9778
|
+
const isFileType =
|
|
9779
|
+
isReactNativeFile || formItem instanceof Blob || formItem instanceof File;
|
|
9011
9780
|
formData.append(
|
|
9012
9781
|
key,
|
|
9013
9782
|
isFileType ? formItem : this.stringifyFormItem(formItem),
|
|
@@ -9069,7 +9838,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
9069
9838
|
|
|
9070
9839
|
/**
|
|
9071
9840
|
* @title The Big POS API
|
|
9072
|
-
* @version v3.
|
|
9841
|
+
* @version v3.16.0
|
|
9073
9842
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
9074
9843
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
9075
9844
|
*/
|
|
@@ -11351,6 +12120,32 @@ export class Api<
|
|
|
11351
12120
|
...params,
|
|
11352
12121
|
}),
|
|
11353
12122
|
|
|
12123
|
+
/**
|
|
12124
|
+
* No description
|
|
12125
|
+
*
|
|
12126
|
+
* @tags BorrowerApplication
|
|
12127
|
+
* @name GetBorrowerApplication
|
|
12128
|
+
* @summary Get a borrower's application as flat answers
|
|
12129
|
+
* @request GET:/api/loans/{loanId}/borrowers/{borrowerId}/application
|
|
12130
|
+
* @secure
|
|
12131
|
+
* @response `200` `BorrowerApplication` OK
|
|
12132
|
+
* @response `400` `any` Bad Request
|
|
12133
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
12134
|
+
* @response `404` `ProblemDetails` Not Found
|
|
12135
|
+
*/
|
|
12136
|
+
getBorrowerApplication: (
|
|
12137
|
+
loanId: string,
|
|
12138
|
+
borrowerId: string,
|
|
12139
|
+
params: RequestParams = {},
|
|
12140
|
+
) =>
|
|
12141
|
+
this.request<BorrowerApplication, ProblemDetails>({
|
|
12142
|
+
path: `/api/loans/${loanId}/borrowers/${borrowerId}/application`,
|
|
12143
|
+
method: "GET",
|
|
12144
|
+
secure: true,
|
|
12145
|
+
format: "json",
|
|
12146
|
+
...params,
|
|
12147
|
+
}),
|
|
12148
|
+
|
|
11354
12149
|
/**
|
|
11355
12150
|
* No description
|
|
11356
12151
|
*
|
|
@@ -11750,6 +12545,78 @@ export class Api<
|
|
|
11750
12545
|
...params,
|
|
11751
12546
|
}),
|
|
11752
12547
|
|
|
12548
|
+
/**
|
|
12549
|
+
* No description
|
|
12550
|
+
*
|
|
12551
|
+
* @tags Canvases
|
|
12552
|
+
* @name GetCanvas
|
|
12553
|
+
* @summary Get a site's canvas for one surface, as the signed-in user sees it
|
|
12554
|
+
* @request GET:/api/canvases/{surface}
|
|
12555
|
+
* @secure
|
|
12556
|
+
* @response `200` `CanvasView` OK
|
|
12557
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
12558
|
+
* @response `404` `ProblemDetails` Not Found
|
|
12559
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
12560
|
+
*/
|
|
12561
|
+
getCanvas: (
|
|
12562
|
+
surface: GetCanvasParamsEnum,
|
|
12563
|
+
query: {
|
|
12564
|
+
/** @format uuid */
|
|
12565
|
+
siteConfigurationId: string;
|
|
12566
|
+
},
|
|
12567
|
+
params: RequestParams = {},
|
|
12568
|
+
) =>
|
|
12569
|
+
this.request<CanvasView, ProblemDetails>({
|
|
12570
|
+
path: `/api/canvases/${surface}`,
|
|
12571
|
+
method: "GET",
|
|
12572
|
+
query: query,
|
|
12573
|
+
secure: true,
|
|
12574
|
+
format: "json",
|
|
12575
|
+
...params,
|
|
12576
|
+
}),
|
|
12577
|
+
|
|
12578
|
+
/**
|
|
12579
|
+
* @description A standard field's key and every categoryKey never change: saved layouts refer to fields by key, and a client can translate labels and categories by these keys.
|
|
12580
|
+
*
|
|
12581
|
+
* @tags CanvasFields
|
|
12582
|
+
* @name GetCanvasFields
|
|
12583
|
+
* @summary Get the fields a canvas can show
|
|
12584
|
+
* @request GET:/api/canvas/fields
|
|
12585
|
+
* @secure
|
|
12586
|
+
* @response `200` `CanvasFieldCatalog` OK
|
|
12587
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
12588
|
+
* @response `404` `ProblemDetails` Not Found
|
|
12589
|
+
*/
|
|
12590
|
+
getCanvasFields: (params: RequestParams = {}) =>
|
|
12591
|
+
this.request<CanvasFieldCatalog, ProblemDetails>({
|
|
12592
|
+
path: `/api/canvas/fields`,
|
|
12593
|
+
method: "GET",
|
|
12594
|
+
secure: true,
|
|
12595
|
+
format: "json",
|
|
12596
|
+
...params,
|
|
12597
|
+
}),
|
|
12598
|
+
|
|
12599
|
+
/**
|
|
12600
|
+
* No description
|
|
12601
|
+
*
|
|
12602
|
+
* @tags CanvasWidgetTypes
|
|
12603
|
+
* @name GetCanvasWidgetTypes
|
|
12604
|
+
* @summary Get canvas widget types
|
|
12605
|
+
* @request GET:/api/canvas/widget-types
|
|
12606
|
+
* @secure
|
|
12607
|
+
* @response `200` `(CanvasWidgetTypeDescriptor)[]` OK
|
|
12608
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
12609
|
+
* @response `404` `ProblemDetails` Not Found
|
|
12610
|
+
*/
|
|
12611
|
+
getCanvasWidgetTypes: (params: RequestParams = {}) =>
|
|
12612
|
+
this.request<CanvasWidgetTypeDescriptor[], ProblemDetails>({
|
|
12613
|
+
path: `/api/canvas/widget-types`,
|
|
12614
|
+
method: "GET",
|
|
12615
|
+
secure: true,
|
|
12616
|
+
format: "json",
|
|
12617
|
+
...params,
|
|
12618
|
+
}),
|
|
12619
|
+
|
|
11753
12620
|
/**
|
|
11754
12621
|
* @description Returns closed loan counts per account within the specified date range, including POS vs non-POS breakdown and utilization ratios.
|
|
11755
12622
|
*
|
|
@@ -15094,6 +15961,35 @@ export class Api<
|
|
|
15094
15961
|
...params,
|
|
15095
15962
|
}),
|
|
15096
15963
|
|
|
15964
|
+
/**
|
|
15965
|
+
* No description
|
|
15966
|
+
*
|
|
15967
|
+
* @tags LoanCanvasFieldValues
|
|
15968
|
+
* @name GetLoanCanvasFieldValues
|
|
15969
|
+
* @summary Get a loan's values for canvas fields
|
|
15970
|
+
* @request POST:/api/loans/{loanId}/canvas/field-values
|
|
15971
|
+
* @secure
|
|
15972
|
+
* @response `200` `CanvasFieldValues` OK
|
|
15973
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
15974
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
15975
|
+
* @response `404` `ProblemDetails` Not Found
|
|
15976
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
15977
|
+
*/
|
|
15978
|
+
getLoanCanvasFieldValues: (
|
|
15979
|
+
loanId: string,
|
|
15980
|
+
data: CanvasFieldValuesRequest,
|
|
15981
|
+
params: RequestParams = {},
|
|
15982
|
+
) =>
|
|
15983
|
+
this.request<CanvasFieldValues, ProblemDetails>({
|
|
15984
|
+
path: `/api/loans/${loanId}/canvas/field-values`,
|
|
15985
|
+
method: "POST",
|
|
15986
|
+
body: data,
|
|
15987
|
+
secure: true,
|
|
15988
|
+
type: "application/json",
|
|
15989
|
+
format: "json",
|
|
15990
|
+
...params,
|
|
15991
|
+
}),
|
|
15992
|
+
|
|
15097
15993
|
/**
|
|
15098
15994
|
* No description
|
|
15099
15995
|
*
|
|
@@ -16994,6 +17890,7 @@ export class Api<
|
|
|
16994
17890
|
* @response `404` `ProblemDetails` Not Found
|
|
16995
17891
|
* @response `409` `ProblemDetails` Conflict
|
|
16996
17892
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
17893
|
+
* @response `423` `ProblemDetails` Locked
|
|
16997
17894
|
*/
|
|
16998
17895
|
completeBorrowerApplication: (
|
|
16999
17896
|
loanId: string,
|
|
@@ -17196,6 +18093,33 @@ export class Api<
|
|
|
17196
18093
|
...params,
|
|
17197
18094
|
}),
|
|
17198
18095
|
|
|
18096
|
+
/**
|
|
18097
|
+
* No description
|
|
18098
|
+
*
|
|
18099
|
+
* @tags LoanSigningMethod
|
|
18100
|
+
* @name UpdateLoanSigningMethod
|
|
18101
|
+
* @summary Switch the loan's signing method
|
|
18102
|
+
* @request PUT:/api/loans/{loanId}/signing-method
|
|
18103
|
+
* @secure
|
|
18104
|
+
* @response `204` `void` No Content
|
|
18105
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
18106
|
+
* @response `404` `ProblemDetails` Not Found
|
|
18107
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
18108
|
+
*/
|
|
18109
|
+
updateLoanSigningMethod: (
|
|
18110
|
+
loanId: string,
|
|
18111
|
+
data: UpdateLoanSigningMethodRequest,
|
|
18112
|
+
params: RequestParams = {},
|
|
18113
|
+
) =>
|
|
18114
|
+
this.request<void, ProblemDetails>({
|
|
18115
|
+
path: `/api/loans/${loanId}/signing-method`,
|
|
18116
|
+
method: "PUT",
|
|
18117
|
+
body: data,
|
|
18118
|
+
secure: true,
|
|
18119
|
+
type: "application/json",
|
|
18120
|
+
...params,
|
|
18121
|
+
}),
|
|
18122
|
+
|
|
17199
18123
|
/**
|
|
17200
18124
|
* No description
|
|
17201
18125
|
*
|
|
@@ -18785,6 +19709,186 @@ export class Api<
|
|
|
18785
19709
|
...params,
|
|
18786
19710
|
}),
|
|
18787
19711
|
|
|
19712
|
+
/**
|
|
19713
|
+
* No description
|
|
19714
|
+
*
|
|
19715
|
+
* @tags SiteConfigurationCanvases
|
|
19716
|
+
* @name GetSiteConfigurationCanvases
|
|
19717
|
+
* @summary Get a site's canvases: own, inherited and effective per surface
|
|
19718
|
+
* @request GET:/api/site-configurations/{siteConfigurationId}/canvases
|
|
19719
|
+
* @secure
|
|
19720
|
+
* @response `200` `SiteConfigurationCanvases` OK
|
|
19721
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
19722
|
+
* @response `404` `ProblemDetails` Not Found
|
|
19723
|
+
*/
|
|
19724
|
+
getSiteConfigurationCanvases: (
|
|
19725
|
+
siteConfigurationId: string,
|
|
19726
|
+
params: RequestParams = {},
|
|
19727
|
+
) =>
|
|
19728
|
+
this.request<SiteConfigurationCanvases, ProblemDetails>({
|
|
19729
|
+
path: `/api/site-configurations/${siteConfigurationId}/canvases`,
|
|
19730
|
+
method: "GET",
|
|
19731
|
+
secure: true,
|
|
19732
|
+
format: "json",
|
|
19733
|
+
...params,
|
|
19734
|
+
}),
|
|
19735
|
+
|
|
19736
|
+
/**
|
|
19737
|
+
* @description The request is the canvas's whole state: leaving out forkedFromSiteConfigurationID and forkedFromVersion clears them, and isBehindInherited with them.
|
|
19738
|
+
*
|
|
19739
|
+
* @tags SiteConfigurationCanvases
|
|
19740
|
+
* @name SaveSiteConfigurationCanvas
|
|
19741
|
+
* @summary Save a site's canvas for one surface
|
|
19742
|
+
* @request PUT:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
|
|
19743
|
+
* @secure
|
|
19744
|
+
* @response `200` `CanvasSurfaceState` OK
|
|
19745
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
19746
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
19747
|
+
* @response `404` `ProblemDetails` Not Found
|
|
19748
|
+
* @response `409` `ProblemDetails` Conflict
|
|
19749
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
19750
|
+
* @response `423` `ProblemDetails` Locked
|
|
19751
|
+
*/
|
|
19752
|
+
saveSiteConfigurationCanvas: (
|
|
19753
|
+
siteConfigurationId: string,
|
|
19754
|
+
surface: SaveSiteConfigurationCanvasParamsEnum,
|
|
19755
|
+
data: SaveSiteConfigurationCanvasRequest,
|
|
19756
|
+
params: RequestParams = {},
|
|
19757
|
+
) =>
|
|
19758
|
+
this.request<CanvasSurfaceState, ProblemDetails>({
|
|
19759
|
+
path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}`,
|
|
19760
|
+
method: "PUT",
|
|
19761
|
+
body: data,
|
|
19762
|
+
secure: true,
|
|
19763
|
+
type: "application/json",
|
|
19764
|
+
format: "json",
|
|
19765
|
+
...params,
|
|
19766
|
+
}),
|
|
19767
|
+
|
|
19768
|
+
/**
|
|
19769
|
+
* No description
|
|
19770
|
+
*
|
|
19771
|
+
* @tags SiteConfigurationCanvases
|
|
19772
|
+
* @name DeleteSiteConfigurationCanvas
|
|
19773
|
+
* @summary Delete a site's own canvas for a surface, its boards or its Loan Details tabs, so it inherits again
|
|
19774
|
+
* @request DELETE:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
|
|
19775
|
+
* @secure
|
|
19776
|
+
* @response `204` `void` No Content
|
|
19777
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
19778
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
19779
|
+
* @response `404` `ProblemDetails` Not Found
|
|
19780
|
+
* @response `409` `ProblemDetails` Conflict
|
|
19781
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
19782
|
+
*/
|
|
19783
|
+
deleteSiteConfigurationCanvas: (
|
|
19784
|
+
siteConfigurationId: string,
|
|
19785
|
+
surface: DeleteSiteConfigurationCanvasParamsEnum,
|
|
19786
|
+
query: {
|
|
19787
|
+
/**
|
|
19788
|
+
* The canvas Version the caller last read. A delete over a newer save is refused as stale.
|
|
19789
|
+
* @format int32
|
|
19790
|
+
*/
|
|
19791
|
+
expectedVersion: number;
|
|
19792
|
+
},
|
|
19793
|
+
params: RequestParams = {},
|
|
19794
|
+
) =>
|
|
19795
|
+
this.request<void, ProblemDetails>({
|
|
19796
|
+
path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}`,
|
|
19797
|
+
method: "DELETE",
|
|
19798
|
+
query: query,
|
|
19799
|
+
secure: true,
|
|
19800
|
+
...params,
|
|
19801
|
+
}),
|
|
19802
|
+
|
|
19803
|
+
/**
|
|
19804
|
+
* No description
|
|
19805
|
+
*
|
|
19806
|
+
* @tags SiteConfigurationCanvases
|
|
19807
|
+
* @name PreviewSiteConfigurationCanvas
|
|
19808
|
+
* @summary Preview an unsaved canvas for one surface as a role would see it
|
|
19809
|
+
* @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/preview
|
|
19810
|
+
* @secure
|
|
19811
|
+
* @response `200` `CanvasView` OK
|
|
19812
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
19813
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
19814
|
+
* @response `404` `ProblemDetails` Not Found
|
|
19815
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
19816
|
+
*/
|
|
19817
|
+
previewSiteConfigurationCanvas: (
|
|
19818
|
+
siteConfigurationId: string,
|
|
19819
|
+
surface: PreviewSiteConfigurationCanvasParamsEnum,
|
|
19820
|
+
data: PreviewSiteConfigurationCanvasRequest,
|
|
19821
|
+
params: RequestParams = {},
|
|
19822
|
+
) =>
|
|
19823
|
+
this.request<CanvasView, ProblemDetails>({
|
|
19824
|
+
path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/preview`,
|
|
19825
|
+
method: "POST",
|
|
19826
|
+
body: data,
|
|
19827
|
+
secure: true,
|
|
19828
|
+
type: "application/json",
|
|
19829
|
+
format: "json",
|
|
19830
|
+
...params,
|
|
19831
|
+
}),
|
|
19832
|
+
|
|
19833
|
+
/**
|
|
19834
|
+
* No description
|
|
19835
|
+
*
|
|
19836
|
+
* @tags SiteConfigurationCanvases
|
|
19837
|
+
* @name GetSiteConfigurationCanvasVersions
|
|
19838
|
+
* @summary Get the saved versions of a site's layout for a surface, newest first, including those from before a delete
|
|
19839
|
+
* @request GET:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions
|
|
19840
|
+
* @secure
|
|
19841
|
+
* @response `200` `(CanvasVersion)[]` OK
|
|
19842
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
19843
|
+
* @response `404` `ProblemDetails` Not Found
|
|
19844
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
19845
|
+
*/
|
|
19846
|
+
getSiteConfigurationCanvasVersions: (
|
|
19847
|
+
siteConfigurationId: string,
|
|
19848
|
+
surface: GetSiteConfigurationCanvasVersionsParamsEnum,
|
|
19849
|
+
params: RequestParams = {},
|
|
19850
|
+
) =>
|
|
19851
|
+
this.request<CanvasVersion[], ProblemDetails>({
|
|
19852
|
+
path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/versions`,
|
|
19853
|
+
method: "GET",
|
|
19854
|
+
secure: true,
|
|
19855
|
+
format: "json",
|
|
19856
|
+
...params,
|
|
19857
|
+
}),
|
|
19858
|
+
|
|
19859
|
+
/**
|
|
19860
|
+
* No description
|
|
19861
|
+
*
|
|
19862
|
+
* @tags SiteConfigurationCanvases
|
|
19863
|
+
* @name RestoreSiteConfigurationCanvasVersion
|
|
19864
|
+
* @summary Restore a saved version of a site's canvas as a new version
|
|
19865
|
+
* @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions/{version}/restore
|
|
19866
|
+
* @secure
|
|
19867
|
+
* @response `200` `CanvasSurfaceState` OK
|
|
19868
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
19869
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
19870
|
+
* @response `404` `ProblemDetails` Not Found
|
|
19871
|
+
* @response `409` `ProblemDetails` Conflict
|
|
19872
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
19873
|
+
* @response `423` `ProblemDetails` Locked
|
|
19874
|
+
*/
|
|
19875
|
+
restoreSiteConfigurationCanvasVersion: (
|
|
19876
|
+
siteConfigurationId: string,
|
|
19877
|
+
surface: RestoreSiteConfigurationCanvasVersionParamsEnum,
|
|
19878
|
+
version: number,
|
|
19879
|
+
data: RestoreSiteConfigurationCanvasVersionRequest,
|
|
19880
|
+
params: RequestParams = {},
|
|
19881
|
+
) =>
|
|
19882
|
+
this.request<CanvasSurfaceState, ProblemDetails>({
|
|
19883
|
+
path: `/api/site-configurations/${siteConfigurationId}/canvases/${surface}/versions/${version}/restore`,
|
|
19884
|
+
method: "POST",
|
|
19885
|
+
body: data,
|
|
19886
|
+
secure: true,
|
|
19887
|
+
type: "application/json",
|
|
19888
|
+
format: "json",
|
|
19889
|
+
...params,
|
|
19890
|
+
}),
|
|
19891
|
+
|
|
18788
19892
|
/**
|
|
18789
19893
|
* No description
|
|
18790
19894
|
*
|