@matech/thebigpos-sdk 2.27.11-rc1 → 2.28.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -43,6 +43,12 @@ export type OperationType =
43
43
 
44
44
  export type LogLevel = "None" | "Info" | "Warning" | "Error";
45
45
 
46
+ export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
47
+
48
+ export type LoanTrustType = "Living" | "Land" | "Testamentary" | "Other";
49
+
50
+ export type LoanTitleHeld = "Self" | "JointlyWithSpouse" | "JointlyWithAnother";
51
+
46
52
  export type LoanRole =
47
53
  | "Borrower"
48
54
  | "CoBorrower"
@@ -57,6 +63,8 @@ export type LoanRole =
57
63
  | "EscrowAgent"
58
64
  | "SettlementAgent";
59
65
 
66
+ export type LoanRealEstateStatus = "Sold" | "Pending" | "Retained";
67
+
60
68
  export type LoanQueueType =
61
69
  | "Unknown"
62
70
  | "New"
@@ -68,12 +76,127 @@ export type LoanQueueType =
68
76
 
69
77
  export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
70
78
 
79
+ export type LoanPurpose = "Purchase" | "Refinance";
80
+
81
+ export type LoanPropertyType =
82
+ | "SingleFamily"
83
+ | "MultiFamily"
84
+ | "Condominium"
85
+ | "Townhouse"
86
+ | "ManufacturedHome"
87
+ | "PlannedUnitDevelopment"
88
+ | "ModularHome"
89
+ | "Other";
90
+
91
+ export type LoanPhoneNumberType = "Home" | "Cell" | "Work" | "Fax" | "Other";
92
+
93
+ export type LoanPacificIslanderRace =
94
+ | "NativeHawaiian"
95
+ | "GuamanianOrChamorro"
96
+ | "Samoan"
97
+ | "Other";
98
+
99
+ export type LoanOtherLiabilityType =
100
+ | "Alimony"
101
+ | "ChildSupport"
102
+ | "SeparateMaintenance"
103
+ | "JobRelatedExpense"
104
+ | "Other";
105
+
106
+ export type LoanOtherIncomeType =
107
+ | "Alimony"
108
+ | "AutomobileAllowance"
109
+ | "BoarderIncome"
110
+ | "CapitalGains"
111
+ | "ChildSupport"
112
+ | "Disability"
113
+ | "FosterCare"
114
+ | "Housing"
115
+ | "InterestAndDividends"
116
+ | "MortgageCreditCertificate"
117
+ | "MortgageDifferentialPayments"
118
+ | "NotesReceivable"
119
+ | "PublicAssistance"
120
+ | "Retirement"
121
+ | "RoyaltyPayments"
122
+ | "SeparateMaintenance"
123
+ | "SocialSecurity"
124
+ | "Trust"
125
+ | "Unemployment"
126
+ | "VaCompensation"
127
+ | "Other";
128
+
129
+ export type LoanOtherAssetType =
130
+ | "ProceedsRealEstate"
131
+ | "ProceedsNonRealEstate"
132
+ | "SecuredBorrowerFunds"
133
+ | "UnsecuredBorrowerFunds"
134
+ | "EarnestMoney"
135
+ | "EmployerAssistance"
136
+ | "LotEquity"
137
+ | "ReAddressFunds"
138
+ | "RentCredit"
139
+ | "SweatEquity"
140
+ | "TradeEquity"
141
+ | "Other";
142
+
143
+ export type LoanOccupancyType =
144
+ | "PrimaryResidence"
145
+ | "SecondHome"
146
+ | "InvestmentProperty"
147
+ | "Other";
148
+
149
+ export type LoanNameSuffix =
150
+ | "Jr"
151
+ | "Sr"
152
+ | "II"
153
+ | "III"
154
+ | "IV"
155
+ | "V"
156
+ | "VI"
157
+ | "VII";
158
+
159
+ export type LoanNamePrefix = "Mr" | "Mrs" | "Ms";
160
+
161
+ export type LoanMilitaryServiceType =
162
+ | "Current"
163
+ | "RetiredDischargedSeparated"
164
+ | "NonActivatedNationalGuard"
165
+ | "SurvivingSpouse";
166
+
167
+ export type LoanMaritalStatus = "Married" | "Separated" | "Unmarried";
168
+
71
169
  export type LoanLogType =
72
170
  | "Loan"
73
171
  | "Queue"
74
172
  | "POSFlagChanged"
75
173
  | "Verification"
76
- | "DocumentUploaded";
174
+ | "DocumentUploaded"
175
+ | "LoanCreated"
176
+ | "WorkflowSubmitted"
177
+ | "UserInvitationSent"
178
+ | "CoBorrowerAdded"
179
+ | "TaskCompleted"
180
+ | "LoanStatusChanged"
181
+ | "EConsent";
182
+
183
+ export type LoanLienPosition = "First" | "Subordinate";
184
+
185
+ export type LoanLiabilityType =
186
+ | "Revolving"
187
+ | "Installment"
188
+ | "Open30Day"
189
+ | "Lease"
190
+ | "Other";
191
+
192
+ export type LoanLanguagePreference =
193
+ | "English"
194
+ | "Chinese"
195
+ | "Korean"
196
+ | "Spanish"
197
+ | "Tagalog"
198
+ | "Vietnamese"
199
+ | "Other";
77
200
 
78
201
  export type LoanImportStatus =
79
202
  | "WaitingProcess"
@@ -84,6 +207,69 @@ export type LoanImportStatus =
84
207
 
85
208
  export type LoanImportMode = "All" | "NewOnly" | "UpdateOnly";
86
209
 
210
+ export type LoanHousingType = "NoExpense" | "Own" | "Rent";
211
+
212
+ export type LoanHomeOwnershipType = "Counseling" | "Education" | "Other";
213
+
214
+ export type LoanHomeOwnershipFormat = "InPerson" | "Online" | "Telephone";
215
+
216
+ export type LoanHispanicEthnicity =
217
+ | "Mexican"
218
+ | "PuertoRican"
219
+ | "Cuban"
220
+ | "Other";
221
+
222
+ export type LoanGiftSource =
223
+ | "CommunityNonProfit"
224
+ | "Employer"
225
+ | "FederalAgency"
226
+ | "LocalAgency"
227
+ | "Relative"
228
+ | "ReligiousNonProfit"
229
+ | "StateAgency"
230
+ | "UnmarriedPartner"
231
+ | "Lender"
232
+ | "Other";
233
+
234
+ export type LoanGiftAssetType = "Cash" | "Asset" | "Equity";
235
+
236
+ export type LoanGenderType = "Male" | "Female";
237
+
238
+ export type LoanCitizenship =
239
+ | "Us"
240
+ | "PermanentResidentAlien"
241
+ | "NonPermanentResidentAlien";
242
+
243
+ export type LoanBankruptcyType =
244
+ | "Chapter7"
245
+ | "Chapter11"
246
+ | "Chapter12"
247
+ | "Chapter13";
248
+
249
+ export type LoanAsianRace =
250
+ | "AsianIndian"
251
+ | "Chinese"
252
+ | "Filipino"
253
+ | "Japanese"
254
+ | "Korean"
255
+ | "Vietnamese"
256
+ | "Other";
257
+
258
+ export type LoanAccountAssetType =
259
+ | "Checking"
260
+ | "Savings"
261
+ | "MoneyMarket"
262
+ | "CertificateOfDeposit"
263
+ | "MutualFund"
264
+ | "Stocks"
265
+ | "Bonds"
266
+ | "Retirement"
267
+ | "BridgeLoanProceeds"
268
+ | "IndividualDevelopmentAccount"
269
+ | "TrustAccount"
270
+ | "CashValueOfLifeInsurance"
271
+ | "Other";
272
+
87
273
  export type LoanAccessScopeType = "User" | "Branch";
88
274
 
89
275
  export type LOSStatus =
@@ -128,6 +314,41 @@ export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
128
314
 
129
315
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
130
316
 
317
+ export type AddressFamily =
318
+ | "Unspecified"
319
+ | "Unix"
320
+ | "InterNetwork"
321
+ | "ImpLink"
322
+ | "Pup"
323
+ | "Chaos"
324
+ | "NS"
325
+ | "Ipx"
326
+ | "Iso"
327
+ | "Osi"
328
+ | "Ecma"
329
+ | "DataKit"
330
+ | "Ccitt"
331
+ | "Sna"
332
+ | "DecNet"
333
+ | "DataLink"
334
+ | "Lat"
335
+ | "HyperChannel"
336
+ | "AppleTalk"
337
+ | "NetBios"
338
+ | "VoiceView"
339
+ | "FireFox"
340
+ | "Banyan"
341
+ | "Atm"
342
+ | "InterNetworkV6"
343
+ | "Cluster"
344
+ | "Ieee12844"
345
+ | "Irda"
346
+ | "NetworkDesigners"
347
+ | "Max"
348
+ | "Packet"
349
+ | "ControllerAreaNetwork"
350
+ | "Unknown";
351
+
131
352
  export interface ASOSettings {
132
353
  enabled: boolean;
133
354
  softPull: boolean;
@@ -209,6 +430,7 @@ export interface AddressRequest {
209
430
  /** @minLength 1 */
210
431
  street: string;
211
432
  unit?: string | null;
433
+ unitType?: string | null;
212
434
  /** @minLength 1 */
213
435
  city: string;
214
436
  /** @minLength 1 */
@@ -676,7 +898,7 @@ export interface CorporateSearchCriteria {
676
898
  }
677
899
 
678
900
  export interface CreateAccessScopeRequest {
679
- scopeType: "User" | "Branch";
901
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
680
902
  /** @format uuid */
681
903
  userId?: string | null;
682
904
  /** @format uuid */
@@ -700,7 +922,7 @@ export interface CreateAccountRequest {
700
922
  */
701
923
  nlmsid: number;
702
924
  settings: AccountSettingsRequest;
703
- environment: "Development" | "Staging" | "UAT" | "Production";
925
+ environment: CreateAccountRequestEnvironmentEnum;
704
926
  losIntegration: LOSIntegration;
705
927
  }
706
928
 
@@ -732,19 +954,7 @@ export interface CreateDocumentTemplateRequest {
732
954
  export interface CreateGroupMemberRequest {
733
955
  /** @format uuid */
734
956
  userId: string;
735
- loanRole:
736
- | "Borrower"
737
- | "CoBorrower"
738
- | "NonBorrower"
739
- | "LoanOfficer"
740
- | "LoanProcessor"
741
- | "LoanOfficerAssistant"
742
- | "SupportingLoanOfficer"
743
- | "BuyerAgent"
744
- | "SellerAgent"
745
- | "TitleInsuranceAgent"
746
- | "EscrowAgent"
747
- | "SettlementAgent";
957
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
748
958
  }
749
959
 
750
960
  export interface CreateInviteRequest {
@@ -756,7 +966,7 @@ export interface CreateInviteRequest {
756
966
  emailAddress: string;
757
967
  phoneNumber?: string | null;
758
968
  /** @deprecated */
759
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
969
+ relationship: CreateInviteRequestRelationshipEnum;
760
970
  loanID: string;
761
971
  route?: string | null;
762
972
  /** @format uuid */
@@ -779,7 +989,7 @@ export interface CreateLoanImportRequest {
779
989
  * @minLength 1
780
990
  */
781
991
  startDate: string;
782
- importMode: "All" | "NewOnly" | "UpdateOnly";
992
+ importMode: CreateLoanImportRequestImportModeEnum;
783
993
  }
784
994
 
785
995
  export interface CreateUserDeviceRequest {
@@ -787,19 +997,7 @@ export interface CreateUserDeviceRequest {
787
997
  }
788
998
 
789
999
  export interface CreateUserDraft {
790
- loanRole:
791
- | "Borrower"
792
- | "CoBorrower"
793
- | "NonBorrower"
794
- | "LoanOfficer"
795
- | "LoanProcessor"
796
- | "LoanOfficerAssistant"
797
- | "SupportingLoanOfficer"
798
- | "BuyerAgent"
799
- | "SellerAgent"
800
- | "TitleInsuranceAgent"
801
- | "EscrowAgent"
802
- | "SettlementAgent";
1000
+ loanRole: CreateUserDraftLoanRoleEnum;
803
1001
  }
804
1002
 
805
1003
  export interface CreateUserGroupRequest {
@@ -1086,7 +1284,7 @@ export interface Draft {
1086
1284
  siteConfiguration: SiteConfigurationReduced;
1087
1285
  /** @format uuid */
1088
1286
  loanID?: string | null;
1089
- type: "NewLoan" | "EditLoan";
1287
+ type: DraftTypeEnum;
1090
1288
  isCoBorrower: boolean;
1091
1289
  }
1092
1290
 
@@ -1105,7 +1303,7 @@ export interface DraftContent {
1105
1303
  siteConfiguration: SiteConfigurationReduced;
1106
1304
  /** @format uuid */
1107
1305
  loanID?: string | null;
1108
- type: "NewLoan" | "EditLoan";
1306
+ type: DraftContentTypeEnum;
1109
1307
  isCoBorrower: boolean;
1110
1308
  applicationPayload: any;
1111
1309
  }
@@ -1403,20 +1601,7 @@ export interface FusionFieldDisplay {
1403
1601
  }
1404
1602
 
1405
1603
  export interface FusionReportFilter {
1406
- filterType:
1407
- | "DateGreaterThanOrEqualTo"
1408
- | "DateGreaterThan"
1409
- | "DateLessThan"
1410
- | "DateLessThanOrEqualTo"
1411
- | "DateEquals"
1412
- | "DateDoesntEqual"
1413
- | "DateNonEmpty"
1414
- | "DateEmpty"
1415
- | "StringContains"
1416
- | "StringEquals"
1417
- | "StringNotEmpty"
1418
- | "StringNotEquals"
1419
- | "StringNotContains";
1604
+ filterType: FusionReportFilterFilterTypeEnum;
1420
1605
  targetField: string;
1421
1606
  targetValue: string;
1422
1607
  }
@@ -1538,6 +1723,23 @@ export interface GetWorkflowRequest {
1538
1723
 
1539
1724
  export type IContractResolver = object;
1540
1725
 
1726
+ export interface IPAddress {
1727
+ addressFamily: IpAddressAddressFamilyEnum;
1728
+ /** @format int64 */
1729
+ scopeId: number;
1730
+ isIPv6Multicast: boolean;
1731
+ isIPv6LinkLocal: boolean;
1732
+ isIPv6SiteLocal: boolean;
1733
+ isIPv6Teredo: boolean;
1734
+ isIPv6UniqueLocal: boolean;
1735
+ isIPv4MappedToIPv6: boolean;
1736
+ /**
1737
+ * @deprecated
1738
+ * @format int64
1739
+ */
1740
+ address: number;
1741
+ }
1742
+
1541
1743
  export interface ImpersonatedDetailedUser {
1542
1744
  /** @format date-time */
1543
1745
  createdAt?: string | null;
@@ -1775,6 +1977,308 @@ export interface Loan {
1775
1977
  contacts: LoanContact[];
1776
1978
  }
1777
1979
 
1980
+ export interface LoanBorrowerAccountAssetRequest {
1981
+ name?: string | null;
1982
+ accountNumber?: string | null;
1983
+ financialInstitution?: string | null;
1984
+ /** @format double */
1985
+ value?: number | null;
1986
+ type?: LoanAccountAssetType | null;
1987
+ }
1988
+
1989
+ export interface LoanBorrowerAddressRequest {
1990
+ street?: string | null;
1991
+ unit?: string | null;
1992
+ unitType?: string | null;
1993
+ city?: string | null;
1994
+ state?: string | null;
1995
+ county?: string | null;
1996
+ postalCode?: string | null;
1997
+ housing?: LoanHousingType | null;
1998
+ /** @format double */
1999
+ rentAmount?: number | null;
2000
+ isCurrent?: boolean | null;
2001
+ isMailingAddress?: boolean | null;
2002
+ timeAtAddress?: TimeAtAddressRequest | null;
2003
+ }
2004
+
2005
+ export interface LoanBorrowerAlternateNameRequest {
2006
+ suffix?: string | null;
2007
+ lastName?: string | null;
2008
+ firstName?: string | null;
2009
+ middleName?: string | null;
2010
+ }
2011
+
2012
+ export interface LoanBorrowerBankruptcyDeclarationRequest {
2013
+ isAffirmative?: boolean | null;
2014
+ description?: string | null;
2015
+ types?: LoanBankruptcyType[] | null;
2016
+ }
2017
+
2018
+ export interface LoanBorrowerConsentRequest {
2019
+ type?: ConsentType | null;
2020
+ providedConsent?: boolean | null;
2021
+ ipAddress?: IPAddress | null;
2022
+ }
2023
+
2024
+ export interface LoanBorrowerDeclarationsRequest {
2025
+ borrowingMoney?: LoanBorrowerMoneyDeclarationRequest | null;
2026
+ bankruptcy?: LoanBorrowerBankruptcyDeclarationRequest | null;
2027
+ primaryResidence?: LoanBorrowerPrimaryResidenceDeclarationRequest | null;
2028
+ foreclosure?: LoanBorrowerSimpleDeclarationRequest | null;
2029
+ coSignerOnDebt?: LoanBorrowerSimpleDeclarationRequest | null;
2030
+ partyToLawsuit?: LoanBorrowerSimpleDeclarationRequest | null;
2031
+ outstandingJudgments?: LoanBorrowerSimpleDeclarationRequest | null;
2032
+ applyingForNewCredit?: LoanBorrowerSimpleDeclarationRequest | null;
2033
+ subjectToLienPriority?: LoanBorrowerSimpleDeclarationRequest | null;
2034
+ inDelinquencyOrDefault?: LoanBorrowerSimpleDeclarationRequest | null;
2035
+ relationshipWithSeller?: LoanBorrowerSimpleDeclarationRequest | null;
2036
+ preForeclosureOrShortSale?: LoanBorrowerSimpleDeclarationRequest | null;
2037
+ applyingForAnotherMortgage?: LoanBorrowerSimpleDeclarationRequest | null;
2038
+ conveyedTitleToPropertyForeclosure?: LoanBorrowerSimpleDeclarationRequest | null;
2039
+ }
2040
+
2041
+ export interface LoanBorrowerDemographicsEthnicityRequest {
2042
+ isDeclined?: boolean | null;
2043
+ isHispanicOrLatino?: boolean | null;
2044
+ otherHispanicOrLatino?: string | null;
2045
+ hispanicOrLatinoEthnicities?: LoanHispanicEthnicity[] | null;
2046
+ }
2047
+
2048
+ export interface LoanBorrowerDemographicsGenderRequest {
2049
+ isDeclined?: boolean | null;
2050
+ gender?: LoanGenderType | null;
2051
+ }
2052
+
2053
+ export interface LoanBorrowerDemographicsRaceRequest {
2054
+ isAmericanIndianOrAlaskanNative?: boolean | null;
2055
+ otherAmericanIndianOrAlaskanNative?: string | null;
2056
+ isAsian?: boolean | null;
2057
+ asianRaces?: LoanAsianRace[] | null;
2058
+ otherAsianRace?: string | null;
2059
+ isBlackOrAfrican?: boolean | null;
2060
+ isPacificIslander?: boolean | null;
2061
+ pacificIslanderRace?: LoanPacificIslanderRace[] | null;
2062
+ otherPacificIslanderRace?: string | null;
2063
+ isWhite?: boolean | null;
2064
+ isDeclined?: boolean | null;
2065
+ }
2066
+
2067
+ export interface LoanBorrowerDemographicsRequest {
2068
+ race?: LoanBorrowerDemographicsRaceRequest | null;
2069
+ gender?: LoanBorrowerDemographicsGenderRequest | null;
2070
+ ethnicity?: LoanBorrowerDemographicsEthnicityRequest | null;
2071
+ }
2072
+
2073
+ export interface LoanBorrowerEmploymentCurrentGrossIncomeRequest {
2074
+ /** @format double */
2075
+ base?: number | null;
2076
+ /** @format double */
2077
+ other?: number | null;
2078
+ /** @format double */
2079
+ bonus?: number | null;
2080
+ /** @format double */
2081
+ overtime?: number | null;
2082
+ /** @format double */
2083
+ commission?: number | null;
2084
+ /** @format double */
2085
+ militaryEntitlements?: number | null;
2086
+ }
2087
+
2088
+ export interface LoanBorrowerEmploymentCurrentOwnershipRequest {
2089
+ isOwner?: boolean | null;
2090
+ hasOwnershipOver25Percent?: boolean | null;
2091
+ /** @format double */
2092
+ monthlyIncome?: number | null;
2093
+ }
2094
+
2095
+ export interface LoanBorrowerEmploymentCurrentRequest {
2096
+ name?: string | null;
2097
+ title?: string | null;
2098
+ phoneNumber?: string | null;
2099
+ /** @format date */
2100
+ startDate?: string | null;
2101
+ isSelfEmployed?: boolean | null;
2102
+ isEmployedByPartyInTransaction?: boolean | null;
2103
+ address?: AddressRequest | null;
2104
+ ownership?: LoanBorrowerEmploymentCurrentOwnershipRequest | null;
2105
+ grossIncome?: LoanBorrowerEmploymentCurrentGrossIncomeRequest | null;
2106
+ timeInLineOfWork?: LoanBorrowerEmploymentCurrentTimeInLineOfWorkRequest | null;
2107
+ }
2108
+
2109
+ export interface LoanBorrowerEmploymentCurrentTimeInLineOfWorkRequest {
2110
+ /** @format int32 */
2111
+ years?: number | null;
2112
+ /** @format int32 */
2113
+ months?: number | null;
2114
+ }
2115
+
2116
+ export interface LoanBorrowerEmploymentPreviousRequest {
2117
+ name?: string | null;
2118
+ title?: string | null;
2119
+ phoneNumber?: string | null;
2120
+ /** @format date */
2121
+ startDate?: string | null;
2122
+ /** @format date */
2123
+ endDate?: string | null;
2124
+ /** @format double */
2125
+ grossIncome?: number | null;
2126
+ isSelfEmployed?: boolean | null;
2127
+ address?: AddressRequest | null;
2128
+ }
2129
+
2130
+ export interface LoanBorrowerGiftRequest {
2131
+ /** @format double */
2132
+ value?: number | null;
2133
+ isDeposited?: boolean | null;
2134
+ source?: LoanGiftSource | null;
2135
+ assetType?: LoanGiftAssetType | null;
2136
+ }
2137
+
2138
+ export interface LoanBorrowerHomeOwnershipProviderRequest {
2139
+ name?: string | null;
2140
+ phoneNumber?: string | null;
2141
+ address?: AddressRequest | null;
2142
+ }
2143
+
2144
+ export interface LoanBorrowerHomeOwnershipRequest {
2145
+ /** @format date */
2146
+ dateCompleted?: string | null;
2147
+ type?: LoanHomeOwnershipType | null;
2148
+ format?: LoanHomeOwnershipFormat | null;
2149
+ provider?: LoanBorrowerHomeOwnershipProviderRequest | null;
2150
+ }
2151
+
2152
+ export interface LoanBorrowerLiabilityRequest {
2153
+ type?: LoanLiabilityType | null;
2154
+ name?: string | null;
2155
+ accountNumber?: string | null;
2156
+ financialInstitution?: string | null;
2157
+ /** @format double */
2158
+ balance?: number | null;
2159
+ /** @format double */
2160
+ monthlyPayment?: number | null;
2161
+ /** @format int32 */
2162
+ monthsLeftToPay?: number | null;
2163
+ isPaidOffBeforeClosing?: boolean | null;
2164
+ }
2165
+
2166
+ export interface LoanBorrowerMilitaryServiceRequest {
2167
+ hasServed?: boolean | null;
2168
+ /** @format date */
2169
+ endDate?: string | null;
2170
+ type?: LoanMilitaryServiceType | null;
2171
+ }
2172
+
2173
+ export interface LoanBorrowerMoneyDeclarationRequest {
2174
+ isAffirmative?: boolean | null;
2175
+ description?: string | null;
2176
+ /** @format double */
2177
+ amount?: number | null;
2178
+ }
2179
+
2180
+ export interface LoanBorrowerOtherAssetRequest {
2181
+ type?: LoanOtherAssetType | null;
2182
+ other?: string | null;
2183
+ /** @format double */
2184
+ value?: number | null;
2185
+ }
2186
+
2187
+ export interface LoanBorrowerOtherIncomeRequest {
2188
+ /** @format double */
2189
+ value?: number | null;
2190
+ type?: LoanOtherIncomeType | null;
2191
+ }
2192
+
2193
+ export interface LoanBorrowerOtherLiabilityRequest {
2194
+ /** @format double */
2195
+ monthlyPayment?: number | null;
2196
+ type?: LoanOtherLiabilityType | null;
2197
+ }
2198
+
2199
+ export interface LoanBorrowerPhoneNumberRequest {
2200
+ ext?: string | null;
2201
+ number?: string | null;
2202
+ type?: LoanPhoneNumberType | null;
2203
+ }
2204
+
2205
+ export interface LoanBorrowerPrimaryResidenceDeclarationRequest {
2206
+ isAffirmative?: boolean | null;
2207
+ description?: string | null;
2208
+ hasInterestInLastThreeYears?: boolean | null;
2209
+ titleHeld?: LoanTitleHeld | null;
2210
+ propertyType?: LoanOccupancyType | null;
2211
+ }
2212
+
2213
+ export interface LoanBorrowerRealEstateAssetMortgageRequest {
2214
+ creditor?: string | null;
2215
+ accountNumber?: string | null;
2216
+ /** @format double */
2217
+ balance?: number | null;
2218
+ /** @format double */
2219
+ creditLimit?: number | null;
2220
+ /** @format double */
2221
+ monthlyMortgagePayment?: number | null;
2222
+ isBalancePaidBeforeClosing?: boolean | null;
2223
+ loanType?: LoanType | null;
2224
+ }
2225
+
2226
+ export interface LoanBorrowerRealEstateAssetRequest {
2227
+ status?: LoanRealEstateStatus | null;
2228
+ occupancy?: LoanOccupancyType | null;
2229
+ /** @format double */
2230
+ marketValue?: number | null;
2231
+ /** @format double */
2232
+ monthlyInsTaxDues?: number | null;
2233
+ /** @format double */
2234
+ monthlyRentalIncome?: number | null;
2235
+ address?: AddressRequest | null;
2236
+ mortgages?: LoanBorrowerRealEstateAssetMortgageRequest[] | null;
2237
+ }
2238
+
2239
+ export interface LoanBorrowerRequest {
2240
+ ssn?: string | null;
2241
+ email?: string | null;
2242
+ lastName?: string | null;
2243
+ firstName?: string | null;
2244
+ middleName?: string | null;
2245
+ prefix?: LoanNamePrefix | null;
2246
+ suffix?: LoanNameSuffix | null;
2247
+ /** @format date-time */
2248
+ birthDate?: string | null;
2249
+ citizenship?: LoanCitizenship | null;
2250
+ maritalStatus?: LoanMaritalStatus | null;
2251
+ languagePreference?: LoanLanguagePreference | null;
2252
+ /** @format int32 */
2253
+ numberOfDependents?: number | null;
2254
+ isPrimaryBorrower: boolean;
2255
+ isFirstTimeHomeBuyer?: boolean | null;
2256
+ hasJointAssetsAndLiabilities?: boolean | null;
2257
+ dependentAges?: number[] | null;
2258
+ demographics?: LoanBorrowerDemographicsRequest | null;
2259
+ declarations?: LoanBorrowerDeclarationsRequest | null;
2260
+ militaryService?: LoanBorrowerMilitaryServiceRequest | null;
2261
+ gifts: LoanBorrowerGiftRequest[];
2262
+ addresses: LoanBorrowerAddressRequest[];
2263
+ consents: LoanBorrowerConsentRequest[];
2264
+ liabilities: LoanBorrowerLiabilityRequest[];
2265
+ otherAssets: LoanBorrowerOtherAssetRequest[];
2266
+ otherIncome: LoanBorrowerOtherIncomeRequest[];
2267
+ phoneNumbers: LoanBorrowerPhoneNumberRequest[];
2268
+ accountAssets: LoanBorrowerAccountAssetRequest[];
2269
+ homeOwnership: LoanBorrowerHomeOwnershipRequest[];
2270
+ alternateNames: LoanBorrowerAlternateNameRequest[];
2271
+ otherLiabilities: LoanBorrowerOtherLiabilityRequest[];
2272
+ realEstateAssets: LoanBorrowerRealEstateAssetRequest[];
2273
+ currentEmployment: LoanBorrowerEmploymentCurrentRequest[];
2274
+ previousEmployment: LoanBorrowerEmploymentPreviousRequest[];
2275
+ }
2276
+
2277
+ export interface LoanBorrowerSimpleDeclarationRequest {
2278
+ isAffirmative?: boolean | null;
2279
+ description?: string | null;
2280
+ }
2281
+
1778
2282
  export interface LoanComparison {
1779
2283
  loanID: string;
1780
2284
  scenarios: LoanComparisonScenario[];
@@ -1912,19 +2416,7 @@ export interface LoanContact {
1912
2416
  email?: string | null;
1913
2417
  phone?: string | null;
1914
2418
  companyName?: string | null;
1915
- role:
1916
- | "Borrower"
1917
- | "CoBorrower"
1918
- | "NonBorrower"
1919
- | "LoanOfficer"
1920
- | "LoanProcessor"
1921
- | "LoanOfficerAssistant"
1922
- | "SupportingLoanOfficer"
1923
- | "BuyerAgent"
1924
- | "SellerAgent"
1925
- | "TitleInsuranceAgent"
1926
- | "EscrowAgent"
1927
- | "SettlementAgent";
2419
+ role: LoanContactRoleEnum;
1928
2420
  }
1929
2421
 
1930
2422
  export interface LoanContactList {
@@ -1937,6 +2429,20 @@ export interface LoanCreateRequest {
1937
2429
  * @minLength 1
1938
2430
  */
1939
2431
  draftId: string;
2432
+ loanOfficerEmail?: string | null;
2433
+ type?: LoanType | null;
2434
+ purpose?: LoanPurpose | null;
2435
+ lienPosition?: LoanLienPosition | null;
2436
+ number?: string | null;
2437
+ program?: string | null;
2438
+ channel?: string | null;
2439
+ isPOSLoan?: boolean | null;
2440
+ /** @format date-time */
2441
+ startDate?: string | null;
2442
+ property?: LoanPropertyRequest | null;
2443
+ financial?: LoanFinancialRequest | null;
2444
+ borrowers: LoanBorrowerRequest[];
2445
+ nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
1940
2446
  }
1941
2447
 
1942
2448
  export interface LoanCustomFieldsRequest {
@@ -2008,6 +2514,16 @@ export interface LoanDraftSearchCriteria {
2008
2514
  draftTypes?: DraftType[] | null;
2009
2515
  }
2010
2516
 
2517
+ export interface LoanFinancialRequest {
2518
+ isDebtsAssetsReviewed?: boolean | null;
2519
+ /** @format double */
2520
+ cashToClose?: number | null;
2521
+ /** @format double */
2522
+ cashDownPayment?: number | null;
2523
+ /** @format double */
2524
+ maximumPurchasePrice?: number | null;
2525
+ }
2526
+
2011
2527
  export interface LoanIdentifier {
2012
2528
  /** @format uuid */
2013
2529
  id: string;
@@ -2027,19 +2543,14 @@ export interface LoanImport {
2027
2543
  /** @format int32 */
2028
2544
  importedCount: number;
2029
2545
  statusMessage?: string | null;
2030
- status:
2031
- | "WaitingProcess"
2032
- | "InProgress"
2033
- | "Completed"
2034
- | "Failed"
2035
- | "Cancelled";
2036
- importMode: "All" | "NewOnly" | "UpdateOnly";
2546
+ status: LoanImportStatusEnum;
2547
+ importMode: LoanImportImportModeEnum;
2037
2548
  /** @format date-time */
2038
2549
  createdAt?: string | null;
2039
2550
  }
2040
2551
 
2041
2552
  export interface LoanImportLog {
2042
- level: "None" | "Info" | "Warning" | "Error";
2553
+ level: LoanImportLogLevelEnum;
2043
2554
  message: string;
2044
2555
  /** @format date-time */
2045
2556
  createdAt: string;
@@ -2088,13 +2599,8 @@ export interface LoanListPaginated {
2088
2599
  export interface LoanLog {
2089
2600
  /** @format uuid */
2090
2601
  id: string;
2091
- level: "None" | "Info" | "Warning" | "Error";
2092
- type:
2093
- | "Loan"
2094
- | "Queue"
2095
- | "POSFlagChanged"
2096
- | "Verification"
2097
- | "DocumentUploaded";
2602
+ level: LoanLogLevelEnum;
2603
+ type: LoanLogTypeEnum;
2098
2604
  message: string;
2099
2605
  /** @format date-time */
2100
2606
  createdAt: string;
@@ -2113,6 +2619,16 @@ export interface LoanLogSearchCriteria {
2113
2619
  levels?: LogLevel[] | null;
2114
2620
  }
2115
2621
 
2622
+ export interface LoanNonOwningBorrowerRequest {
2623
+ email?: string | null;
2624
+ lastName?: string | null;
2625
+ firstName?: string | null;
2626
+ middleName?: string | null;
2627
+ prefix?: LoanNamePrefix | null;
2628
+ suffix?: LoanNameSuffix | null;
2629
+ consents: LoanBorrowerConsentRequest[];
2630
+ }
2631
+
2116
2632
  export interface LoanOfficer {
2117
2633
  /** @format uuid */
2118
2634
  id: string;
@@ -2148,6 +2664,45 @@ export interface LoanOfficerSearchCriteria {
2148
2664
  brand?: string | null;
2149
2665
  }
2150
2666
 
2667
+ export interface LoanPropertyMortgageRequest {
2668
+ creditor?: string | null;
2669
+ /** @format double */
2670
+ loanAmount?: number | null;
2671
+ /** @format double */
2672
+ creditLimit?: number | null;
2673
+ /** @format double */
2674
+ monthlyPayment?: number | null;
2675
+ lienType?: LoanLienPosition | null;
2676
+ }
2677
+
2678
+ export interface LoanPropertyRequest {
2679
+ trustType?: LoanTrustType | null;
2680
+ occupancy?: LoanOccupancyType | null;
2681
+ propertyType?: LoanPropertyType | null;
2682
+ referenceId?: string | null;
2683
+ /** @format int32 */
2684
+ yearBuilt?: number | null;
2685
+ /** @format int32 */
2686
+ yearAcquired?: number | null;
2687
+ /** @format int32 */
2688
+ numberOfUnits?: number | null;
2689
+ /** @format double */
2690
+ salePrice?: number | null;
2691
+ /** @format double */
2692
+ propertyValue?: number | null;
2693
+ /** @format double */
2694
+ purchasePrice?: number | null;
2695
+ /** @format double */
2696
+ estimatedValue?: number | null;
2697
+ /** @format double */
2698
+ monthlyRentalIncome?: number | null;
2699
+ isMixedUseProperty?: boolean | null;
2700
+ isManufacturedHome?: boolean | null;
2701
+ isFhaSecondaryResidence?: boolean | null;
2702
+ address?: AddressRequest | null;
2703
+ mortgages: LoanPropertyMortgageRequest[];
2704
+ }
2705
+
2151
2706
  export interface LoanQueue {
2152
2707
  /** @format date-time */
2153
2708
  createdAt: string;
@@ -2231,14 +2786,7 @@ export interface LoanUpdateRequestJsonPatchDocument {
2231
2786
  }
2232
2787
 
2233
2788
  export interface LoanUpdateRequestOperation {
2234
- operationType:
2235
- | "Add"
2236
- | "Remove"
2237
- | "Replace"
2238
- | "Move"
2239
- | "Copy"
2240
- | "Test"
2241
- | "Invalid";
2789
+ operationType: LoanUpdateRequestOperationOperationTypeEnum;
2242
2790
  path?: string | null;
2243
2791
  op?: string | null;
2244
2792
  from?: string | null;
@@ -2253,19 +2801,7 @@ export interface LoanUser {
2253
2801
  email: string;
2254
2802
  phone?: string | null;
2255
2803
  role: string;
2256
- loanRole:
2257
- | "Borrower"
2258
- | "CoBorrower"
2259
- | "NonBorrower"
2260
- | "LoanOfficer"
2261
- | "LoanProcessor"
2262
- | "LoanOfficerAssistant"
2263
- | "SupportingLoanOfficer"
2264
- | "BuyerAgent"
2265
- | "SellerAgent"
2266
- | "TitleInsuranceAgent"
2267
- | "EscrowAgent"
2268
- | "SettlementAgent";
2804
+ loanRole: LoanUserLoanRoleEnum;
2269
2805
  isUser: boolean;
2270
2806
  /** @format date-time */
2271
2807
  createdAt: string;
@@ -2549,7 +3085,7 @@ export interface NotificationTemplateVersionUpdateRequest {
2549
3085
 
2550
3086
  export interface Operation {
2551
3087
  op?: string;
2552
- value?: string | number | boolean | null | object;
3088
+ value?: object | null;
2553
3089
  path?: string;
2554
3090
  }
2555
3091
 
@@ -2896,7 +3432,7 @@ export interface SSOTokenRequest {
2896
3432
  }
2897
3433
 
2898
3434
  export interface SamlMetadataRequest {
2899
- ssoIntegration: "ConsumerConnect" | "TheBigPOS";
3435
+ ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
2900
3436
  }
2901
3437
 
2902
3438
  export interface SendForgotPasswordRequest {
@@ -2935,7 +3471,7 @@ export interface SiteConfiguration {
2935
3471
  deletedAt?: string | null;
2936
3472
  /** @format uuid */
2937
3473
  id: string;
2938
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3474
+ type: SiteConfigurationTypeEnum;
2939
3475
  /** @format uuid */
2940
3476
  entityID: string;
2941
3477
  /** @format int32 */
@@ -3130,7 +3666,7 @@ export interface SiteConfigurationByUrl {
3130
3666
  deletedAt?: string | null;
3131
3667
  /** @format uuid */
3132
3668
  id: string;
3133
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3669
+ type: SiteConfigurationByUrlTypeEnum;
3134
3670
  /** @format uuid */
3135
3671
  entityID: string;
3136
3672
  /** @format int32 */
@@ -3343,7 +3879,7 @@ export interface SiteConfigurationForm {
3343
3879
  export interface SiteConfigurationReduced {
3344
3880
  /** @format uuid */
3345
3881
  id: string;
3346
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3882
+ type: SiteConfigurationReducedTypeEnum;
3347
3883
  url?: string | null;
3348
3884
  name: string;
3349
3885
  /** @format int64 */
@@ -3361,7 +3897,7 @@ export interface SiteConfigurationRequest {
3361
3897
  entityID: string;
3362
3898
  /** @format int32 */
3363
3899
  entityType: number;
3364
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3900
+ type: SiteConfigurationRequestTypeEnum;
3365
3901
  url: string;
3366
3902
  name: string;
3367
3903
  introduction?: string | null;
@@ -3538,7 +4074,7 @@ export interface SiteConfigurationSearchCriteria {
3538
4074
  export interface SiteConfigurationSummary {
3539
4075
  /** @format uuid */
3540
4076
  id: string;
3541
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4077
+ type: SiteConfigurationSummaryTypeEnum;
3542
4078
  url?: string | null;
3543
4079
  name: string;
3544
4080
  /** @format int64 */
@@ -3736,6 +4272,13 @@ export interface Theme {
3736
4272
  iconColor?: string | null;
3737
4273
  }
3738
4274
 
4275
+ export interface TimeAtAddressRequest {
4276
+ /** @format int32 */
4277
+ years?: number | null;
4278
+ /** @format int32 */
4279
+ months?: number | null;
4280
+ }
4281
+
3739
4282
  export interface Token {
3740
4283
  token_type: string;
3741
4284
  /** @format int32 */
@@ -3977,19 +4520,7 @@ export interface UserDevice {
3977
4520
  export interface UserDraft {
3978
4521
  /** @format uuid */
3979
4522
  draftID: string;
3980
- role:
3981
- | "Borrower"
3982
- | "CoBorrower"
3983
- | "NonBorrower"
3984
- | "LoanOfficer"
3985
- | "LoanProcessor"
3986
- | "LoanOfficerAssistant"
3987
- | "SupportingLoanOfficer"
3988
- | "BuyerAgent"
3989
- | "SellerAgent"
3990
- | "TitleInsuranceAgent"
3991
- | "EscrowAgent"
3992
- | "SettlementAgent";
4523
+ role: UserDraftRoleEnum;
3993
4524
  user: User;
3994
4525
  }
3995
4526
 
@@ -4016,7 +4547,7 @@ export interface UserGroupAccessScope {
4016
4547
  id: string;
4017
4548
  /** @format uuid */
4018
4549
  groupId: string;
4019
- scopeType: "User" | "Branch";
4550
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
4020
4551
  /** @format uuid */
4021
4552
  userId?: string | null;
4022
4553
  /** @format uuid */
@@ -4052,19 +4583,7 @@ export interface UserLoan {
4052
4583
  deletedAt?: string | null;
4053
4584
  loanID: string;
4054
4585
  user: User;
4055
- role:
4056
- | "Borrower"
4057
- | "CoBorrower"
4058
- | "NonBorrower"
4059
- | "LoanOfficer"
4060
- | "LoanProcessor"
4061
- | "LoanOfficerAssistant"
4062
- | "SupportingLoanOfficer"
4063
- | "BuyerAgent"
4064
- | "SellerAgent"
4065
- | "TitleInsuranceAgent"
4066
- | "EscrowAgent"
4067
- | "SettlementAgent";
4586
+ role: UserLoanRoleEnum;
4068
4587
  /** @format int32 */
4069
4588
  borrowerPair?: number | null;
4070
4589
  /** @format int32 */
@@ -4077,7 +4596,7 @@ export interface UserLoanConsent {
4077
4596
  id: string;
4078
4597
  /** @format uuid */
4079
4598
  userLoanID: string;
4080
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
4599
+ type: UserLoanConsentTypeEnum;
4081
4600
  providedConsent: boolean;
4082
4601
  ipAddress?: string | null;
4083
4602
  /** @format date-time */
@@ -4224,17 +4743,7 @@ export interface UserSummary {
4224
4743
  id: string;
4225
4744
  name?: string | null;
4226
4745
  email?: string | null;
4227
- role:
4228
- | "Borrower"
4229
- | "LoanOfficer"
4230
- | "Admin"
4231
- | "SuperAdmin"
4232
- | "Realtor"
4233
- | "SettlementAgent"
4234
- | "LoanProcessor"
4235
- | "LoanOfficerAssistant"
4236
- | "BranchManager"
4237
- | "SystemAdmin";
4746
+ role: UserSummaryRoleEnum;
4238
4747
  }
4239
4748
 
4240
4749
  export interface VerifyPasswordRequest {
@@ -4270,6 +4779,289 @@ export interface Workflow {
4270
4779
  icon: string;
4271
4780
  }
4272
4781
 
4782
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
4783
+
4784
+ export type CreateAccountRequestEnvironmentEnum =
4785
+ | "Development"
4786
+ | "Staging"
4787
+ | "UAT"
4788
+ | "Production";
4789
+
4790
+ export type CreateGroupMemberRequestLoanRoleEnum =
4791
+ | "Borrower"
4792
+ | "CoBorrower"
4793
+ | "NonBorrower"
4794
+ | "LoanOfficer"
4795
+ | "LoanProcessor"
4796
+ | "LoanOfficerAssistant"
4797
+ | "SupportingLoanOfficer"
4798
+ | "BuyerAgent"
4799
+ | "SellerAgent"
4800
+ | "TitleInsuranceAgent"
4801
+ | "EscrowAgent"
4802
+ | "SettlementAgent";
4803
+
4804
+ /** @deprecated */
4805
+ export type CreateInviteRequestRelationshipEnum =
4806
+ | "NotApplicable"
4807
+ | "Spouse"
4808
+ | "NonSpouse";
4809
+
4810
+ export type CreateLoanImportRequestImportModeEnum =
4811
+ | "All"
4812
+ | "NewOnly"
4813
+ | "UpdateOnly";
4814
+
4815
+ export type CreateUserDraftLoanRoleEnum =
4816
+ | "Borrower"
4817
+ | "CoBorrower"
4818
+ | "NonBorrower"
4819
+ | "LoanOfficer"
4820
+ | "LoanProcessor"
4821
+ | "LoanOfficerAssistant"
4822
+ | "SupportingLoanOfficer"
4823
+ | "BuyerAgent"
4824
+ | "SellerAgent"
4825
+ | "TitleInsuranceAgent"
4826
+ | "EscrowAgent"
4827
+ | "SettlementAgent";
4828
+
4829
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
4830
+
4831
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
4832
+
4833
+ export type FusionReportFilterFilterTypeEnum =
4834
+ | "DateGreaterThanOrEqualTo"
4835
+ | "DateGreaterThan"
4836
+ | "DateLessThan"
4837
+ | "DateLessThanOrEqualTo"
4838
+ | "DateEquals"
4839
+ | "DateDoesntEqual"
4840
+ | "DateNonEmpty"
4841
+ | "DateEmpty"
4842
+ | "StringContains"
4843
+ | "StringEquals"
4844
+ | "StringNotEmpty"
4845
+ | "StringNotEquals"
4846
+ | "StringNotContains";
4847
+
4848
+ export type IpAddressAddressFamilyEnum =
4849
+ | "Unspecified"
4850
+ | "Unix"
4851
+ | "InterNetwork"
4852
+ | "ImpLink"
4853
+ | "Pup"
4854
+ | "Chaos"
4855
+ | "NS"
4856
+ | "Ipx"
4857
+ | "Iso"
4858
+ | "Osi"
4859
+ | "Ecma"
4860
+ | "DataKit"
4861
+ | "Ccitt"
4862
+ | "Sna"
4863
+ | "DecNet"
4864
+ | "DataLink"
4865
+ | "Lat"
4866
+ | "HyperChannel"
4867
+ | "AppleTalk"
4868
+ | "NetBios"
4869
+ | "VoiceView"
4870
+ | "FireFox"
4871
+ | "Banyan"
4872
+ | "Atm"
4873
+ | "InterNetworkV6"
4874
+ | "Cluster"
4875
+ | "Ieee12844"
4876
+ | "Irda"
4877
+ | "NetworkDesigners"
4878
+ | "Max"
4879
+ | "Packet"
4880
+ | "ControllerAreaNetwork"
4881
+ | "Unknown";
4882
+
4883
+ export type LoanContactRoleEnum =
4884
+ | "Borrower"
4885
+ | "CoBorrower"
4886
+ | "NonBorrower"
4887
+ | "LoanOfficer"
4888
+ | "LoanProcessor"
4889
+ | "LoanOfficerAssistant"
4890
+ | "SupportingLoanOfficer"
4891
+ | "BuyerAgent"
4892
+ | "SellerAgent"
4893
+ | "TitleInsuranceAgent"
4894
+ | "EscrowAgent"
4895
+ | "SettlementAgent";
4896
+
4897
+ export type LoanImportStatusEnum =
4898
+ | "WaitingProcess"
4899
+ | "InProgress"
4900
+ | "Completed"
4901
+ | "Failed"
4902
+ | "Cancelled";
4903
+
4904
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
4905
+
4906
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
4907
+
4908
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
4909
+
4910
+ export type LoanLogTypeEnum =
4911
+ | "Loan"
4912
+ | "Queue"
4913
+ | "POSFlagChanged"
4914
+ | "Verification"
4915
+ | "DocumentUploaded"
4916
+ | "LoanCreated"
4917
+ | "WorkflowSubmitted"
4918
+ | "UserInvitationSent"
4919
+ | "CoBorrowerAdded"
4920
+ | "TaskCompleted"
4921
+ | "LoanStatusChanged"
4922
+ | "EConsent";
4923
+
4924
+ export type LoanUpdateRequestOperationOperationTypeEnum =
4925
+ | "Add"
4926
+ | "Remove"
4927
+ | "Replace"
4928
+ | "Move"
4929
+ | "Copy"
4930
+ | "Test"
4931
+ | "Invalid";
4932
+
4933
+ export type LoanUserLoanRoleEnum =
4934
+ | "Borrower"
4935
+ | "CoBorrower"
4936
+ | "NonBorrower"
4937
+ | "LoanOfficer"
4938
+ | "LoanProcessor"
4939
+ | "LoanOfficerAssistant"
4940
+ | "SupportingLoanOfficer"
4941
+ | "BuyerAgent"
4942
+ | "SellerAgent"
4943
+ | "TitleInsuranceAgent"
4944
+ | "EscrowAgent"
4945
+ | "SettlementAgent";
4946
+
4947
+ export type SamlMetadataRequestSsoIntegrationEnum =
4948
+ | "ConsumerConnect"
4949
+ | "TheBigPOS";
4950
+
4951
+ export type SiteConfigurationTypeEnum =
4952
+ | "None"
4953
+ | "Account"
4954
+ | "Corporate"
4955
+ | "Branch"
4956
+ | "LoanOfficer"
4957
+ | "Partner";
4958
+
4959
+ export type SiteConfigurationByUrlTypeEnum =
4960
+ | "None"
4961
+ | "Account"
4962
+ | "Corporate"
4963
+ | "Branch"
4964
+ | "LoanOfficer"
4965
+ | "Partner";
4966
+
4967
+ export type SiteConfigurationReducedTypeEnum =
4968
+ | "None"
4969
+ | "Account"
4970
+ | "Corporate"
4971
+ | "Branch"
4972
+ | "LoanOfficer"
4973
+ | "Partner";
4974
+
4975
+ export type SiteConfigurationRequestTypeEnum =
4976
+ | "None"
4977
+ | "Account"
4978
+ | "Corporate"
4979
+ | "Branch"
4980
+ | "LoanOfficer"
4981
+ | "Partner";
4982
+
4983
+ export type SiteConfigurationSummaryTypeEnum =
4984
+ | "None"
4985
+ | "Account"
4986
+ | "Corporate"
4987
+ | "Branch"
4988
+ | "LoanOfficer"
4989
+ | "Partner";
4990
+
4991
+ export type UserDraftRoleEnum =
4992
+ | "Borrower"
4993
+ | "CoBorrower"
4994
+ | "NonBorrower"
4995
+ | "LoanOfficer"
4996
+ | "LoanProcessor"
4997
+ | "LoanOfficerAssistant"
4998
+ | "SupportingLoanOfficer"
4999
+ | "BuyerAgent"
5000
+ | "SellerAgent"
5001
+ | "TitleInsuranceAgent"
5002
+ | "EscrowAgent"
5003
+ | "SettlementAgent";
5004
+
5005
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
5006
+
5007
+ export type UserLoanRoleEnum =
5008
+ | "Borrower"
5009
+ | "CoBorrower"
5010
+ | "NonBorrower"
5011
+ | "LoanOfficer"
5012
+ | "LoanProcessor"
5013
+ | "LoanOfficerAssistant"
5014
+ | "SupportingLoanOfficer"
5015
+ | "BuyerAgent"
5016
+ | "SellerAgent"
5017
+ | "TitleInsuranceAgent"
5018
+ | "EscrowAgent"
5019
+ | "SettlementAgent";
5020
+
5021
+ export type UserLoanConsentTypeEnum =
5022
+ | "Econsent"
5023
+ | "CreditAuthorization"
5024
+ | "Tcpa";
5025
+
5026
+ export type UserSummaryRoleEnum =
5027
+ | "Borrower"
5028
+ | "LoanOfficer"
5029
+ | "Admin"
5030
+ | "SuperAdmin"
5031
+ | "Realtor"
5032
+ | "SettlementAgent"
5033
+ | "LoanProcessor"
5034
+ | "LoanOfficerAssistant"
5035
+ | "BranchManager"
5036
+ | "SystemAdmin";
5037
+
5038
+ /** @default "Realtor" */
5039
+ export type GetPartnersParamsRoleEnum =
5040
+ | "Borrower"
5041
+ | "LoanOfficer"
5042
+ | "Admin"
5043
+ | "SuperAdmin"
5044
+ | "Realtor"
5045
+ | "SettlementAgent"
5046
+ | "LoanProcessor"
5047
+ | "LoanOfficerAssistant"
5048
+ | "BranchManager"
5049
+ | "SystemAdmin";
5050
+
5051
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
5052
+ | "ConsumerConnect"
5053
+ | "TheBigPOS";
5054
+
5055
+ export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS";
5056
+
5057
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
5058
+ | "ConsumerConnect"
5059
+ | "TheBigPOS";
5060
+
5061
+ export type CreateOrReplaceSamlMetadataParamsEnum =
5062
+ | "ConsumerConnect"
5063
+ | "TheBigPOS";
5064
+
4273
5065
  import type {
4274
5066
  AxiosInstance,
4275
5067
  AxiosRequestConfig,
@@ -4312,7 +5104,6 @@ export interface ApiConfig<SecurityDataType = unknown>
4312
5104
  }
4313
5105
 
4314
5106
  export enum ContentType {
4315
- JsonPatch = "application/json-patch+json",
4316
5107
  Json = "application/json",
4317
5108
  JsonApi = "application/vnd.api+json",
4318
5109
  FormData = "multipart/form-data",
@@ -4448,7 +5239,7 @@ export class HttpClient<SecurityDataType = unknown> {
4448
5239
 
4449
5240
  /**
4450
5241
  * @title The Big POS API
4451
- * @version v2.27.9
5242
+ * @version v2.28.1
4452
5243
  * @termsOfService https://www.thebigpos.com/terms-of-use/
4453
5244
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
4454
5245
  */
@@ -6631,7 +7422,7 @@ export class Api<
6631
7422
  method: "PATCH",
6632
7423
  body: data,
6633
7424
  secure: true,
6634
- type: ContentType.JsonPatch,
7425
+ type: ContentType.Json,
6635
7426
  format: "json",
6636
7427
  ...params,
6637
7428
  }),
@@ -6733,7 +7524,7 @@ export class Api<
6733
7524
  method: "PATCH",
6734
7525
  body: data,
6735
7526
  secure: true,
6736
- type: ContentType.JsonPatch,
7527
+ type: ContentType.Json,
6737
7528
  format: "json",
6738
7529
  ...params,
6739
7530
  }),
@@ -6759,7 +7550,7 @@ export class Api<
6759
7550
  method: "PATCH",
6760
7551
  body: data,
6761
7552
  secure: true,
6762
- type: ContentType.JsonPatch,
7553
+ type: ContentType.Json,
6763
7554
  format: "json",
6764
7555
  ...params,
6765
7556
  }),
@@ -6999,7 +7790,7 @@ export class Api<
6999
7790
  method: "PATCH",
7000
7791
  body: data,
7001
7792
  secure: true,
7002
- type: ContentType.JsonPatch,
7793
+ type: ContentType.Json,
7003
7794
  format: "json",
7004
7795
  ...params,
7005
7796
  }),
@@ -7079,7 +7870,7 @@ export class Api<
7079
7870
  method: "PATCH",
7080
7871
  body: data,
7081
7872
  secure: true,
7082
- type: ContentType.JsonPatch,
7873
+ type: ContentType.Json,
7083
7874
  format: "json",
7084
7875
  ...params,
7085
7876
  }),
@@ -8530,7 +9321,7 @@ export class Api<
8530
9321
  method: "PATCH",
8531
9322
  body: data,
8532
9323
  secure: true,
8533
- type: ContentType.JsonPatch,
9324
+ type: ContentType.Json,
8534
9325
  format: "json",
8535
9326
  ...params,
8536
9327
  }),
@@ -9578,17 +10369,7 @@ export class Api<
9578
10369
  query?: {
9579
10370
  showAll?: boolean;
9580
10371
  /** @default "Realtor" */
9581
- role?:
9582
- | "Borrower"
9583
- | "LoanOfficer"
9584
- | "Admin"
9585
- | "SuperAdmin"
9586
- | "Realtor"
9587
- | "SettlementAgent"
9588
- | "LoanProcessor"
9589
- | "LoanOfficerAssistant"
9590
- | "BranchManager"
9591
- | "SystemAdmin";
10372
+ role?: GetPartnersParamsRoleEnum;
9592
10373
  /** @format int32 */
9593
10374
  pageSize?: number;
9594
10375
  /** @format int32 */
@@ -9924,7 +10705,7 @@ export class Api<
9924
10705
  * @response `404` `ProblemDetails` Not Found
9925
10706
  */
9926
10707
  getSamlMetadata: (
9927
- sSoIntegration: "ConsumerConnect" | "TheBigPOS",
10708
+ sSoIntegration: GetSamlMetadataParamsEnum,
9928
10709
  ssoIntegration: string,
9929
10710
  params: RequestParams = {},
9930
10711
  ) =>
@@ -9946,7 +10727,7 @@ export class Api<
9946
10727
  * @response `200` `File` Success
9947
10728
  */
9948
10729
  createOrReplaceSamlMetadata: (
9949
- sSoIntegration: "ConsumerConnect" | "TheBigPOS",
10730
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
9950
10731
  ssoIntegration: string,
9951
10732
  params: RequestParams = {},
9952
10733
  ) =>