@matech/thebigpos-sdk 2.38.0 → 2.38.1-rc0

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
@@ -23,6 +23,13 @@ export type UserRole =
23
23
  | "LoanOfficerAssistant"
24
24
  | "SystemAdmin";
25
25
 
26
+ export type TaskStatus =
27
+ | "Outstanding"
28
+ | "Pending"
29
+ | "Completed"
30
+ | "Rejected"
31
+ | "Unknown";
32
+
26
33
  export type SiteConfigurationType =
27
34
  | "None"
28
35
  | "Account"
@@ -31,8 +38,18 @@ export type SiteConfigurationType =
31
38
  | "LoanOfficer"
32
39
  | "Partner";
33
40
 
41
+ export type SigningMethod = "ConsumerConnect" | "POSF";
42
+
34
43
  export type SSOIntegrationType = "ConsumerConnect" | "TheBigPOS" | "POSF";
35
44
 
45
+ export type LosOperationStatus =
46
+ | "Pending"
47
+ | "Success"
48
+ | "Failed"
49
+ | "ConfigurationError"
50
+ | "PermanentFailure"
51
+ | "Locked";
52
+
36
53
  export type LogLevel = "None" | "Info" | "Warning" | "Error";
37
54
 
38
55
  export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
@@ -44,6 +61,8 @@ export type LoanTitleHeld =
44
61
  | "JointWithSpouse"
45
62
  | "JointWithOtherThanSpouse";
46
63
 
64
+ export type LoanTaskActivityFilter = "Active" | "Inactive" | "All";
65
+
47
66
  export type LoanRole =
48
67
  | "Borrower"
49
68
  | "CoBorrower"
@@ -56,7 +75,8 @@ export type LoanRole =
56
75
  | "SellerAgent"
57
76
  | "TitleInsuranceAgent"
58
77
  | "EscrowAgent"
59
- | "SettlementAgent";
78
+ | "SettlementAgent"
79
+ | "Admin";
60
80
 
61
81
  export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell";
62
82
 
@@ -185,9 +205,11 @@ export type LoanLogType =
185
205
  | "CoBorrowerAdded"
186
206
  | "TaskCompleted"
187
207
  | "LoanStatusChanged"
188
- | "EConsent"
208
+ | "Consent"
189
209
  | "SensitiveDataPurge"
190
- | "ClosingDateUpdated";
210
+ | "ClosingDateUpdated"
211
+ | "ConsumerConnectAssociation"
212
+ | "TaskReminderSent";
191
213
 
192
214
  export type LoanLienPosition = "First" | "Subordinate";
193
215
 
@@ -291,6 +313,8 @@ export type LOSStatus =
291
313
  | "Uploaded"
292
314
  | "PendingSync";
293
315
 
316
+ export type FolderPermissionLevel = "None" | "Read" | "Write" | "Manage";
317
+
294
318
  export type FilterType =
295
319
  | "DateGreaterThanOrEqualTo"
296
320
  | "DateGreaterThan"
@@ -319,7 +343,7 @@ export type EncompassLogOutcome = "Success" | "Failure" | "PartialSuccess";
319
343
 
320
344
  export type EncompassLogOperationType =
321
345
  | "FieldUpdate"
322
- | "EConsentUpdate"
346
+ | "ConsentUpdate"
323
347
  | "DocumentSync"
324
348
  | "MilestoneUpdate"
325
349
  | "DocumentAttachment"
@@ -328,6 +352,19 @@ export type EncompassLogOperationType =
328
352
 
329
353
  export type DraftType = "NewLoan" | "EditLoan";
330
354
 
355
+ export type CustomFieldEntityType = "Loan";
356
+
357
+ export type CustomFieldDataType =
358
+ | "String"
359
+ | "Number"
360
+ | "Decimal"
361
+ | "Boolean"
362
+ | "Date"
363
+ | "SingleSelect"
364
+ | "MultiSelect";
365
+
366
+ export type CustomFieldAccessLevel = "NoAccess" | "ReadOnly" | "ReadWrite";
367
+
331
368
  export type ConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
332
369
 
333
370
  export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
@@ -436,7 +473,7 @@ export interface AccountBilling {
436
473
  }
437
474
 
438
475
  export interface AccountBillingRequest {
439
- billingType: "ClosedLoan" | "LoanOfficer";
476
+ billingType: AccountBillingRequestBillingTypeEnum;
440
477
  /**
441
478
  * @format double
442
479
  * @min 0
@@ -729,17 +766,17 @@ export interface ApplicationRowData {
729
766
  loanNumber?: string | null;
730
767
  /** @deprecated */
731
768
  role?: string | null;
732
- /** @format date-time */
769
+ /** @format date */
733
770
  initialDisclosureDate?: string | null;
734
- /** @format date-time */
771
+ /** @format date */
735
772
  closingDisclosureDate?: string | null;
736
- /** @format date-time */
773
+ /** @format date */
737
774
  underwritingApprovalDate?: string | null;
738
775
  /** @format date-time */
739
776
  closedDate?: string | null;
740
777
  /** @format date-time */
741
778
  fundingDate?: string | null;
742
- /** @format date-time */
779
+ /** @format date */
743
780
  currentStatusDate?: string | null;
744
781
  channel?: string | null;
745
782
  currentMilestone?: string | null;
@@ -765,16 +802,16 @@ export interface Attachment {
765
802
  base64Data: string;
766
803
  }
767
804
 
805
+ export interface AuditEntityType {
806
+ entityType: string;
807
+ rootEntityType?: string | null;
808
+ }
809
+
768
810
  export interface AuditLogEntry {
769
811
  /** @format uuid */
770
812
  id: string;
771
813
  entityType: string;
772
- changeType:
773
- | "Created"
774
- | "Modified"
775
- | "SoftDeleted"
776
- | "HardDeleted"
777
- | "Restored";
814
+ changeType: AuditLogEntryChangeTypeEnum;
778
815
  /** @format uuid */
779
816
  entityId: string;
780
817
  performedBy?: AuditLogUser | null;
@@ -804,9 +841,6 @@ export interface AuditLogSearchCriteria {
804
841
  startDate?: string | null;
805
842
  /** @format date-time */
806
843
  endDate?: string | null;
807
- rootEntityType?: string | null;
808
- /** @format uuid */
809
- rootEntityId?: string | null;
810
844
  }
811
845
 
812
846
  export interface AuditLogUser {
@@ -817,6 +851,12 @@ export interface AuditLogUser {
817
851
  email: string;
818
852
  }
819
853
 
854
+ export interface AutomatedService {
855
+ triggered: string[];
856
+ skipped: string[];
857
+ rateLimited: string[];
858
+ }
859
+
820
860
  export interface BranchBase {
821
861
  /** @format date-time */
822
862
  createdAt: string;
@@ -1011,6 +1051,26 @@ export interface ConditionComment {
1011
1051
  createdByName: string;
1012
1052
  }
1013
1053
 
1054
+ export interface ConsumerConnectRetry {
1055
+ correlationKey: string;
1056
+ email: string;
1057
+ status?: LosOperationStatus | null;
1058
+ success: boolean;
1059
+ }
1060
+
1061
+ export interface ConsumerConnectStatus {
1062
+ correlationKey: string;
1063
+ email: string;
1064
+ status?: LosOperationStatus | null;
1065
+ /** @format int32 */
1066
+ attemptCount: number;
1067
+ /** @format date-time */
1068
+ lastAttemptAt?: string | null;
1069
+ /** @format date-time */
1070
+ nextRetryAt?: string | null;
1071
+ lastTriggerSource?: string | null;
1072
+ }
1073
+
1014
1074
  export interface ContactInfo {
1015
1075
  phone: string;
1016
1076
  tollFreePhone?: string | null;
@@ -1065,7 +1125,7 @@ export interface CorporateSearchCriteria {
1065
1125
  }
1066
1126
 
1067
1127
  export interface CreateAccessScopeRequest {
1068
- scopeType: "User" | "Branch";
1128
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1069
1129
  /** @format uuid */
1070
1130
  userId?: string | null;
1071
1131
  /** @format uuid */
@@ -1089,7 +1149,7 @@ export interface CreateAccountRequest {
1089
1149
  */
1090
1150
  nlmsid: number;
1091
1151
  settings: AccountSettingsRequest;
1092
- environment: "Development" | "Staging" | "UAT" | "Production";
1152
+ environment: CreateAccountRequestEnvironmentEnum;
1093
1153
  losIntegration: LOSIntegration;
1094
1154
  billingSettings: AccountBillingRequest;
1095
1155
  }
@@ -1105,6 +1165,34 @@ export interface CreateBranchRequest {
1105
1165
  type: string;
1106
1166
  }
1107
1167
 
1168
+ export interface CreateCustomFieldDefinitionRequest {
1169
+ isRequired: boolean;
1170
+ /**
1171
+ * @format int32
1172
+ * @min 0
1173
+ */
1174
+ displayOrder: number;
1175
+ /** @format int32 */
1176
+ minLength?: number | null;
1177
+ /** @format int32 */
1178
+ maxLength?: number | null;
1179
+ /** @format double */
1180
+ minValue?: number | null;
1181
+ /** @format double */
1182
+ maxValue?: number | null;
1183
+ /**
1184
+ * @minLength 1
1185
+ * @maxLength 250
1186
+ */
1187
+ name: string;
1188
+ defaultValue?: string | null;
1189
+ regexPattern?: string | null;
1190
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1191
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1192
+ options?: CustomFieldOptionRequest[] | null;
1193
+ permissions?: CustomFieldPermissionRequest[] | null;
1194
+ }
1195
+
1108
1196
  export interface CreateDocumentTemplateRequest {
1109
1197
  /** @minLength 1 */
1110
1198
  htmlBody: string;
@@ -1122,19 +1210,7 @@ export interface CreateDocumentTemplateRequest {
1122
1210
  export interface CreateGroupMemberRequest {
1123
1211
  /** @format uuid */
1124
1212
  userId: string;
1125
- loanRole:
1126
- | "Borrower"
1127
- | "CoBorrower"
1128
- | "NonBorrower"
1129
- | "LoanOfficer"
1130
- | "LoanProcessor"
1131
- | "LoanOfficerAssistant"
1132
- | "SupportingLoanOfficer"
1133
- | "BuyerAgent"
1134
- | "SellerAgent"
1135
- | "TitleInsuranceAgent"
1136
- | "EscrowAgent"
1137
- | "SettlementAgent";
1213
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1138
1214
  }
1139
1215
 
1140
1216
  export interface CreateInviteRequest {
@@ -1146,7 +1222,7 @@ export interface CreateInviteRequest {
1146
1222
  emailAddress: string;
1147
1223
  phoneNumber?: string | null;
1148
1224
  /** @deprecated */
1149
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1225
+ relationship: CreateInviteRequestRelationshipEnum;
1150
1226
  loanID: string;
1151
1227
  route?: string | null;
1152
1228
  /** @format uuid */
@@ -1156,6 +1232,15 @@ export interface CreateInviteRequest {
1156
1232
  loanRole?: LoanRole | null;
1157
1233
  }
1158
1234
 
1235
+ export interface CreateLoanDocumentFolderRequest {
1236
+ /**
1237
+ * @minLength 1
1238
+ * @maxLength 250
1239
+ */
1240
+ name: string;
1241
+ permissions: LoanDocumentFolderPermissionRequest[];
1242
+ }
1243
+
1159
1244
  export interface CreateLoanImportRequest {
1160
1245
  /** @format uuid */
1161
1246
  accountID: string;
@@ -1169,7 +1254,7 @@ export interface CreateLoanImportRequest {
1169
1254
  * @minLength 1
1170
1255
  */
1171
1256
  startDate: string;
1172
- importMode: "All" | "NewOnly" | "UpdateOnly";
1257
+ importMode: CreateLoanImportRequestImportModeEnum;
1173
1258
  }
1174
1259
 
1175
1260
  export interface CreateSession {
@@ -1191,19 +1276,7 @@ export interface CreateUserDeviceRequest {
1191
1276
  }
1192
1277
 
1193
1278
  export interface CreateUserDraft {
1194
- loanRole:
1195
- | "Borrower"
1196
- | "CoBorrower"
1197
- | "NonBorrower"
1198
- | "LoanOfficer"
1199
- | "LoanProcessor"
1200
- | "LoanOfficerAssistant"
1201
- | "SupportingLoanOfficer"
1202
- | "BuyerAgent"
1203
- | "SellerAgent"
1204
- | "TitleInsuranceAgent"
1205
- | "EscrowAgent"
1206
- | "SettlementAgent";
1279
+ loanRole: CreateUserDraftLoanRoleEnum;
1207
1280
  }
1208
1281
 
1209
1282
  export interface CreateUserGroupRequest {
@@ -1260,8 +1333,91 @@ export interface CreateUserRequest {
1260
1333
  isInternal?: boolean | null;
1261
1334
  }
1262
1335
 
1263
- export interface CustomLoanData {
1264
- eConsentInformation?: EConsentInformation | null;
1336
+ export interface CreateWebhookRequest {
1337
+ webhookPath: string;
1338
+ }
1339
+
1340
+ export interface CustomFieldDefinition {
1341
+ /** @format date-time */
1342
+ createdAt: string;
1343
+ /** @format date-time */
1344
+ updatedAt?: string | null;
1345
+ /** @format date-time */
1346
+ deletedAt?: string | null;
1347
+ /** @format uuid */
1348
+ id: string;
1349
+ /** @format uuid */
1350
+ accountID: string;
1351
+ isActive: boolean;
1352
+ isRequired: boolean;
1353
+ /** @format int32 */
1354
+ displayOrder: number;
1355
+ /** @format int32 */
1356
+ minLength?: number | null;
1357
+ /** @format int32 */
1358
+ maxLength?: number | null;
1359
+ /** @format double */
1360
+ minValue?: number | null;
1361
+ /** @format double */
1362
+ maxValue?: number | null;
1363
+ name: string;
1364
+ defaultValue?: string | null;
1365
+ regexPattern?: string | null;
1366
+ dataType: CustomFieldDefinitionDataTypeEnum;
1367
+ entityType: CustomFieldDefinitionEntityTypeEnum;
1368
+ options: CustomFieldOption[];
1369
+ permissions: CustomFieldPermission[];
1370
+ encompassMapping?: EncompassMapping | null;
1371
+ }
1372
+
1373
+ export interface CustomFieldEntry {
1374
+ /** @format uuid */
1375
+ definitionId: string;
1376
+ isActive: boolean;
1377
+ isReadOnly: boolean;
1378
+ /** @format int32 */
1379
+ displayOrder: number;
1380
+ name: string;
1381
+ value: string;
1382
+ dataType: CustomFieldEntryDataTypeEnum;
1383
+ }
1384
+
1385
+ export interface CustomFieldOption {
1386
+ /** @format uuid */
1387
+ id: string;
1388
+ /** @format int32 */
1389
+ displayOrder: number;
1390
+ value: string;
1391
+ }
1392
+
1393
+ export interface CustomFieldOptionRequest {
1394
+ /** @format int32 */
1395
+ displayOrder: number;
1396
+ value: string;
1397
+ }
1398
+
1399
+ export interface CustomFieldPermission {
1400
+ /** @format uuid */
1401
+ id: string;
1402
+ role: CustomFieldPermissionRoleEnum;
1403
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
1404
+ }
1405
+
1406
+ export interface CustomFieldPermissionRequest {
1407
+ role: CustomFieldPermissionRequestRoleEnum;
1408
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1409
+ }
1410
+
1411
+ export interface CustomFieldValue {
1412
+ /** @format uuid */
1413
+ id: string;
1414
+ /** @format uuid */
1415
+ entityID: string;
1416
+ /** @format uuid */
1417
+ customFieldDefinitionID: string;
1418
+ value: string;
1419
+ definitionName: string;
1420
+ dataType: CustomFieldValueDataTypeEnum;
1265
1421
  }
1266
1422
 
1267
1423
  export interface DetailedUser {
@@ -1521,7 +1677,7 @@ export interface Draft {
1521
1677
  siteConfiguration: SiteConfigurationReduced;
1522
1678
  /** @format uuid */
1523
1679
  loanID?: string | null;
1524
- type: "NewLoan" | "EditLoan";
1680
+ type: DraftTypeEnum;
1525
1681
  isCoBorrower: boolean;
1526
1682
  }
1527
1683
 
@@ -1540,7 +1696,7 @@ export interface DraftContent {
1540
1696
  siteConfiguration: SiteConfigurationReduced;
1541
1697
  /** @format uuid */
1542
1698
  loanID?: string | null;
1543
- type: "NewLoan" | "EditLoan";
1699
+ type: DraftContentTypeEnum;
1544
1700
  isCoBorrower: boolean;
1545
1701
  applicationPayload: any;
1546
1702
  }
@@ -1563,14 +1719,6 @@ export interface DraftRequest {
1563
1719
  isCoBorrower: boolean;
1564
1720
  }
1565
1721
 
1566
- export interface EConsentInformation {
1567
- status: string;
1568
- /** @format date-time */
1569
- acceptedDate?: string | null;
1570
- ipAddress?: string | null;
1571
- source?: string | null;
1572
- }
1573
-
1574
1722
  export interface EnabledServices {
1575
1723
  /** @format date-time */
1576
1724
  createdAt: string;
@@ -1584,7 +1732,6 @@ export interface EnabledServices {
1584
1732
  fullApp?: boolean | null;
1585
1733
  mobileApp?: boolean | null;
1586
1734
  ringCentral?: boolean | null;
1587
- rates?: boolean | null;
1588
1735
  socialSurvey?: boolean | null;
1589
1736
  borrowerTasks?: boolean | null;
1590
1737
  docusign?: boolean | null;
@@ -1618,6 +1765,7 @@ export interface EnabledServices {
1618
1765
  listings?: boolean | null;
1619
1766
  addCoBorrower?: boolean | null;
1620
1767
  autoNameTaskDocuments?: boolean | null;
1768
+ genericCalculatorsEnabled?: boolean | null;
1621
1769
  }
1622
1770
 
1623
1771
  export interface EncompassContact {
@@ -1627,12 +1775,72 @@ export interface EncompassContact {
1627
1775
  company?: string | null;
1628
1776
  }
1629
1777
 
1778
+ export interface EncompassCredentialsDetail {
1779
+ /** @format uuid */
1780
+ id: string;
1781
+ /** @format uuid */
1782
+ accountID: string;
1783
+ instanceID: string;
1784
+ loanAssignmentRole?: string | null;
1785
+ loanTemplate?: string | null;
1786
+ defaultLoanOfficerUserName?: string | null;
1787
+ clearStateIfUnlicensed: boolean;
1788
+ baseUrl?: string | null;
1789
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1790
+ subscriptionId?: string | null;
1791
+ environment?: string | null;
1792
+ }
1793
+
1794
+ export interface EncompassCredentialsRequest {
1795
+ /** @format uuid */
1796
+ id: string;
1797
+ /** @format uuid */
1798
+ accountID: string;
1799
+ instanceID: string;
1800
+ loanAssignmentRole?: string | null;
1801
+ loanTemplate?: string | null;
1802
+ defaultLoanOfficerUserName?: string | null;
1803
+ clearStateIfUnlicensed: boolean;
1804
+ baseUrl?: string | null;
1805
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1806
+ subscriptionId?: string | null;
1807
+ environment?: string | null;
1808
+ clientID?: string | null;
1809
+ clientSecret?: string | null;
1810
+ signingKeyId?: string | null;
1811
+ signingKey?: string | null;
1812
+ }
1813
+
1814
+ export interface EncompassCustomFieldMapping {
1815
+ /** @format uuid */
1816
+ id: string;
1817
+ /** @format uuid */
1818
+ customFieldDefinitionId: string;
1819
+ encompassFieldId: string;
1820
+ encompassFieldType: string;
1821
+ isActive: boolean;
1822
+ /** @format date-time */
1823
+ createdAt: string;
1824
+ }
1825
+
1826
+ export interface EncompassCustomFieldMappingRequest {
1827
+ encompassFieldId: string;
1828
+ encompassFieldType: string;
1829
+ }
1830
+
1630
1831
  export interface EncompassError {
1631
1832
  errorCode: string;
1632
1833
  message: string;
1633
1834
  details?: string[] | null;
1634
1835
  }
1635
1836
 
1837
+ export interface EncompassFieldListItem {
1838
+ fieldId: string;
1839
+ description: string;
1840
+ fieldType: string;
1841
+ inUse: boolean;
1842
+ }
1843
+
1636
1844
  export interface EncompassLogSearchCriteria {
1637
1845
  searchText?: string | null;
1638
1846
  operationTypes?: EncompassLogOperationType[] | null;
@@ -1645,6 +1853,13 @@ export interface EncompassLogSearchCriteria {
1645
1853
  httpStatusCode?: number | null;
1646
1854
  }
1647
1855
 
1856
+ export interface EncompassMapping {
1857
+ /** @format uuid */
1858
+ id: string;
1859
+ encompassFieldId: string;
1860
+ status: string;
1861
+ }
1862
+
1648
1863
  export interface EncompassPackageItem {
1649
1864
  packageId: string;
1650
1865
  status: string;
@@ -1682,15 +1897,8 @@ export interface EncompassRequestLog {
1682
1897
  losId?: string | null;
1683
1898
  /** @format uuid */
1684
1899
  accountId: string;
1685
- operationType:
1686
- | "FieldUpdate"
1687
- | "EConsentUpdate"
1688
- | "DocumentSync"
1689
- | "MilestoneUpdate"
1690
- | "DocumentAttachment"
1691
- | "General"
1692
- | "FieldReader";
1693
- outcome: "Success" | "Failure" | "PartialSuccess";
1900
+ operationType: EncompassRequestLogOperationTypeEnum;
1901
+ outcome: EncompassRequestLogOutcomeEnum;
1694
1902
  message: string;
1695
1903
  endpoint?: string | null;
1696
1904
  httpMethod?: string | null;
@@ -1927,20 +2135,7 @@ export interface FusionFieldDisplay {
1927
2135
  }
1928
2136
 
1929
2137
  export interface FusionReportFilter {
1930
- filterType:
1931
- | "DateGreaterThanOrEqualTo"
1932
- | "DateGreaterThan"
1933
- | "DateLessThan"
1934
- | "DateLessThanOrEqualTo"
1935
- | "DateEquals"
1936
- | "DateDoesntEqual"
1937
- | "DateNonEmpty"
1938
- | "DateEmpty"
1939
- | "StringContains"
1940
- | "StringEquals"
1941
- | "StringNotEmpty"
1942
- | "StringNotEquals"
1943
- | "StringNotContains";
2138
+ filterType: FusionReportFilterFilterTypeEnum;
1944
2139
  targetField: string;
1945
2140
  targetValue: string;
1946
2141
  }
@@ -2068,40 +2263,7 @@ export interface GuidPatchOperation {
2068
2263
  }
2069
2264
 
2070
2265
  export interface IPAddress {
2071
- addressFamily:
2072
- | "Unspecified"
2073
- | "Unix"
2074
- | "InterNetwork"
2075
- | "ImpLink"
2076
- | "Pup"
2077
- | "Chaos"
2078
- | "NS"
2079
- | "Ipx"
2080
- | "Iso"
2081
- | "Osi"
2082
- | "Ecma"
2083
- | "DataKit"
2084
- | "Ccitt"
2085
- | "Sna"
2086
- | "DecNet"
2087
- | "DataLink"
2088
- | "Lat"
2089
- | "HyperChannel"
2090
- | "AppleTalk"
2091
- | "NetBios"
2092
- | "VoiceView"
2093
- | "FireFox"
2094
- | "Banyan"
2095
- | "Atm"
2096
- | "InterNetworkV6"
2097
- | "Cluster"
2098
- | "Ieee12844"
2099
- | "Irda"
2100
- | "NetworkDesigners"
2101
- | "Max"
2102
- | "Packet"
2103
- | "ControllerAreaNetwork"
2104
- | "Unknown";
2266
+ addressFamily: IpAddressAddressFamilyEnum;
2105
2267
  /** @format int64 */
2106
2268
  scopeId: number;
2107
2269
  isIPv6Multicast: boolean;
@@ -2323,7 +2485,7 @@ export interface Loan {
2323
2485
  currentLoanStatus?: string | null;
2324
2486
  currentMilestone?: string | null;
2325
2487
  lastCompletedMilestone?: string | null;
2326
- /** @format date-time */
2488
+ /** @format date */
2327
2489
  currentStatusDate?: string | null;
2328
2490
  isActive: boolean;
2329
2491
  loanChannel?: string | null;
@@ -2337,17 +2499,17 @@ export interface Loan {
2337
2499
  source?: string | null;
2338
2500
  isPOSLoan?: boolean | null;
2339
2501
  version?: string | null;
2340
- /** @format date-time */
2502
+ /** @format date */
2341
2503
  startDate?: string | null;
2342
- /** @format date-time */
2504
+ /** @format date */
2343
2505
  initialDisclosureProvidedDate?: string | null;
2344
- /** @format date-time */
2506
+ /** @format date */
2345
2507
  closingDisclosureSentDate?: string | null;
2346
- /** @format date-time */
2508
+ /** @format date */
2347
2509
  underwritingApprovalDate?: string | null;
2348
- /** @format date-time */
2510
+ /** @format date */
2349
2511
  closingDate?: string | null;
2350
- /** @format date-time */
2512
+ /** @format date */
2351
2513
  fundingOrderDate?: string | null;
2352
2514
  isInSync: boolean;
2353
2515
  /** @format date-time */
@@ -2368,6 +2530,8 @@ export interface Loan {
2368
2530
  nonOwningBorrowers: LoanNonOwningBorrower[];
2369
2531
  userLoans: UserLoan[];
2370
2532
  contacts: LoanContact[];
2533
+ customFields: CustomFieldEntry[];
2534
+ signingMethod: LoanSigningMethodEnum;
2371
2535
  }
2372
2536
 
2373
2537
  export interface LoanApplication {
@@ -2380,7 +2544,7 @@ export interface LoanApplication {
2380
2544
  number?: string | null;
2381
2545
  program?: string | null;
2382
2546
  channel?: string | null;
2383
- /** @format date-time */
2547
+ /** @format date */
2384
2548
  startDate?: string | null;
2385
2549
  property?: LoanProperty | null;
2386
2550
  financial?: LoanFinancial | null;
@@ -2406,6 +2570,7 @@ export interface LoanApplicationRequest {
2406
2570
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
2407
2571
  /** @format uuid */
2408
2572
  draftId?: string | null;
2573
+ additionalFields?: Record<string, any>;
2409
2574
  /** @format uuid */
2410
2575
  existingLoanId?: string | null;
2411
2576
  }
@@ -2425,7 +2590,7 @@ export interface LoanBorrower {
2425
2590
  citizenship?: LoanCitizenship | null;
2426
2591
  maritalStatus?: LoanMaritalStatus | null;
2427
2592
  languagePreference?: LoanLanguagePreference | null;
2428
- applicationStatus: "Draft" | "Complete";
2593
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
2429
2594
  /** @format int32 */
2430
2595
  numberOfDependents?: number | null;
2431
2596
  isPrimaryBorrower: boolean;
@@ -3350,19 +3515,7 @@ export interface LoanContact {
3350
3515
  email?: string | null;
3351
3516
  phone?: string | null;
3352
3517
  companyName?: string | null;
3353
- role:
3354
- | "Borrower"
3355
- | "CoBorrower"
3356
- | "NonBorrower"
3357
- | "LoanOfficer"
3358
- | "LoanProcessor"
3359
- | "LoanOfficerAssistant"
3360
- | "SupportingLoanOfficer"
3361
- | "BuyerAgent"
3362
- | "SellerAgent"
3363
- | "TitleInsuranceAgent"
3364
- | "EscrowAgent"
3365
- | "SettlementAgent";
3518
+ role: LoanContactRoleEnum;
3366
3519
  }
3367
3520
 
3368
3521
  export interface LoanContactList {
@@ -3394,6 +3547,47 @@ export interface LoanDocument {
3394
3547
  sensitiveDataPurgedOn?: string | null;
3395
3548
  }
3396
3549
 
3550
+ export interface LoanDocumentFolder {
3551
+ /** @format uuid */
3552
+ id: string;
3553
+ /** @format uuid */
3554
+ accountID: string;
3555
+ name: string;
3556
+ isSystemDefault: boolean;
3557
+ isActive: boolean;
3558
+ /** @format date-time */
3559
+ createdAt: string;
3560
+ /** @format date-time */
3561
+ updatedAt?: string | null;
3562
+ /** @format date-time */
3563
+ deletedAt?: string | null;
3564
+ permissions: LoanDocumentFolderPermission[];
3565
+ }
3566
+
3567
+ export interface LoanDocumentFolderPermission {
3568
+ /** @format uuid */
3569
+ id: string;
3570
+ /** @format uuid */
3571
+ loanDocumentFolderID: string;
3572
+ role: LoanDocumentFolderPermissionRoleEnum;
3573
+ level: LoanDocumentFolderPermissionLevelEnum;
3574
+ }
3575
+
3576
+ export interface LoanDocumentFolderPermissionRequest {
3577
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
3578
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
3579
+ }
3580
+
3581
+ export interface LoanDocumentFolderUsage {
3582
+ /** @format uuid */
3583
+ folderID: string;
3584
+ hasEverBeenReferenced: boolean;
3585
+ }
3586
+
3587
+ export interface LoanDocumentPreviewsRequest {
3588
+ documentIds: string[];
3589
+ }
3590
+
3397
3591
  export interface LoanDocumentSearch {
3398
3592
  /** @format date-time */
3399
3593
  createdAt: string;
@@ -3483,6 +3677,7 @@ export interface LoanIdentifier {
3483
3677
  /** @format uuid */
3484
3678
  id: string;
3485
3679
  losLoanID: string;
3680
+ number?: string | null;
3486
3681
  }
3487
3682
 
3488
3683
  export interface LoanImport {
@@ -3498,19 +3693,14 @@ export interface LoanImport {
3498
3693
  /** @format int32 */
3499
3694
  importedCount: number;
3500
3695
  statusMessage?: string | null;
3501
- status:
3502
- | "WaitingProcess"
3503
- | "InProgress"
3504
- | "Completed"
3505
- | "Failed"
3506
- | "Cancelled";
3507
- importMode: "All" | "NewOnly" | "UpdateOnly";
3696
+ status: LoanImportStatusEnum;
3697
+ importMode: LoanImportImportModeEnum;
3508
3698
  /** @format date-time */
3509
3699
  createdAt?: string | null;
3510
3700
  }
3511
3701
 
3512
3702
  export interface LoanImportLog {
3513
- level: "None" | "Info" | "Warning" | "Error";
3703
+ level: LoanImportLogLevelEnum;
3514
3704
  message: string;
3515
3705
  /** @format date-time */
3516
3706
  createdAt: string;
@@ -3540,7 +3730,7 @@ export interface LoanList {
3540
3730
  purpose?: LoanPurpose | null;
3541
3731
  /** @format double */
3542
3732
  totalLoanAmount?: number | null;
3543
- /** @format date-time */
3733
+ /** @format date */
3544
3734
  startDate?: string | null;
3545
3735
  isActive: boolean;
3546
3736
  propertyAddress?: Address | null;
@@ -3571,22 +3761,8 @@ export interface LoanListPaginated {
3571
3761
  export interface LoanLog {
3572
3762
  /** @format uuid */
3573
3763
  id: string;
3574
- level: "None" | "Info" | "Warning" | "Error";
3575
- type:
3576
- | "Loan"
3577
- | "Queue"
3578
- | "POSFlagChanged"
3579
- | "Verification"
3580
- | "DocumentUploaded"
3581
- | "LoanCreated"
3582
- | "WorkflowSubmitted"
3583
- | "UserInvitationSent"
3584
- | "CoBorrowerAdded"
3585
- | "TaskCompleted"
3586
- | "LoanStatusChanged"
3587
- | "EConsent"
3588
- | "SensitiveDataPurge"
3589
- | "ClosingDateUpdated";
3764
+ level: LoanLogLevelEnum;
3765
+ type: LoanLogTypeEnum;
3590
3766
  message: string;
3591
3767
  /** @format date-time */
3592
3768
  createdAt: string;
@@ -3595,22 +3771,8 @@ export interface LoanLog {
3595
3771
  export interface LoanLogDetail {
3596
3772
  /** @format uuid */
3597
3773
  id: string;
3598
- level: "None" | "Info" | "Warning" | "Error";
3599
- type:
3600
- | "Loan"
3601
- | "Queue"
3602
- | "POSFlagChanged"
3603
- | "Verification"
3604
- | "DocumentUploaded"
3605
- | "LoanCreated"
3606
- | "WorkflowSubmitted"
3607
- | "UserInvitationSent"
3608
- | "CoBorrowerAdded"
3609
- | "TaskCompleted"
3610
- | "LoanStatusChanged"
3611
- | "EConsent"
3612
- | "SensitiveDataPurge"
3613
- | "ClosingDateUpdated";
3774
+ level: LoanLogDetailLevelEnum;
3775
+ type: LoanLogDetailTypeEnum;
3614
3776
  message: string;
3615
3777
  /** @format date-time */
3616
3778
  createdAt: string;
@@ -3886,6 +4048,23 @@ export interface LoanSettings {
3886
4048
  excludeFromAutoTaskReminders: boolean;
3887
4049
  }
3888
4050
 
4051
+ export interface LoanTaskSearchRequest {
4052
+ searchText?: string | null;
4053
+ statuses?: TaskStatus[] | null;
4054
+ loanNumber?: string | null;
4055
+ /** @format uuid */
4056
+ borrowerId?: string | null;
4057
+ /** @format uuid */
4058
+ loanId?: string | null;
4059
+ loanStatus?: LoanTaskActivityFilter | null;
4060
+ }
4061
+
4062
+ export interface LoanTaskStatusSummary {
4063
+ status: LoanTaskStatusSummaryStatusEnum;
4064
+ /** @format int32 */
4065
+ count: number;
4066
+ }
4067
+
3889
4068
  export interface LoanUser {
3890
4069
  /** @format uuid */
3891
4070
  id: string;
@@ -3894,24 +4073,20 @@ export interface LoanUser {
3894
4073
  email: string;
3895
4074
  phone?: string | null;
3896
4075
  role: string;
3897
- loanRole:
3898
- | "Borrower"
3899
- | "CoBorrower"
3900
- | "NonBorrower"
3901
- | "LoanOfficer"
3902
- | "LoanProcessor"
3903
- | "LoanOfficerAssistant"
3904
- | "SupportingLoanOfficer"
3905
- | "BuyerAgent"
3906
- | "SellerAgent"
3907
- | "TitleInsuranceAgent"
3908
- | "EscrowAgent"
3909
- | "SettlementAgent";
4076
+ loanRole: LoanUserLoanRoleEnum;
3910
4077
  isUser: boolean;
3911
4078
  /** @format date-time */
3912
4079
  createdAt: string;
3913
4080
  }
3914
4081
 
4082
+ export interface LosCredentials {
4083
+ /** @format uuid */
4084
+ id: string;
4085
+ /** @format uuid */
4086
+ accountID: string;
4087
+ instanceID: string;
4088
+ }
4089
+
3915
4090
  export interface LosLoanCreationRequest {
3916
4091
  loanOfficerUserName?: string | null;
3917
4092
  loanTemplate?: string | null;
@@ -3924,50 +4099,140 @@ export interface LosLoanCreationRequest {
3924
4099
  existingLoanID?: string | null;
3925
4100
  }
3926
4101
 
3927
- export interface MdmUser {
3928
- user_email?: string | null;
3929
- user_id?: string | null;
3930
- user_name?: string | null;
3931
- }
3932
-
3933
- export interface MilestoneConfiguration {
4102
+ export interface LosOperationTracking {
4103
+ /** @format uuid */
4104
+ id: string;
4105
+ /** @format uuid */
4106
+ loanId: string;
4107
+ /** @format int32 */
4108
+ attemptCount: number;
4109
+ operationType: string;
4110
+ correlationKey: string;
4111
+ lastTriggerSource?: string | null;
4112
+ status: LosOperationTrackingStatusEnum;
3934
4113
  /** @format date-time */
3935
4114
  createdAt: string;
3936
4115
  /** @format date-time */
3937
- updatedAt?: string | null;
4116
+ lastAttemptAt?: string | null;
3938
4117
  /** @format date-time */
3939
- deletedAt?: string | null;
3940
- /** @format uuid */
3941
- id: string;
3942
- name: string;
3943
- description?: string | null;
3944
- fieldID: string;
3945
- /** @format int32 */
3946
- weight: number;
3947
- /** @format uuid */
3948
- accountID: string;
3949
- loanType: string;
3950
- notificationsEnabled: boolean;
4118
+ nextRetryAt?: string | null;
3951
4119
  }
3952
4120
 
3953
- export interface MilestoneConfigurationRequest {
3954
- /** @minLength 1 */
3955
- name: string;
3956
- description?: string | null;
3957
- /** @minLength 1 */
3958
- fieldID: string;
3959
- /**
3960
- * @format int32
3961
- * @min -1000
3962
- * @max 1000
3963
- */
3964
- weight?: number | null;
3965
- /** @minLength 1 */
3966
- loanType: string;
3967
- notificationsEnabled: boolean;
4121
+ export interface LosOperationTrackingPaginated {
4122
+ rows: LosOperationTracking[];
4123
+ pagination: Pagination;
4124
+ /** @format int64 */
4125
+ count: number;
3968
4126
  }
3969
4127
 
3970
- export interface MobileSettings {
4128
+ export interface LosOperationTrackingSearchCriteria {
4129
+ searchText?: string | null;
4130
+ /** @format uuid */
4131
+ loanId?: string | null;
4132
+ operationType?: string | null;
4133
+ status?: LosOperationStatus | null;
4134
+ }
4135
+
4136
+ export interface LosSync {
4137
+ /** @format uuid */
4138
+ correlationId: string;
4139
+ /** @format uuid */
4140
+ loanId?: string | null;
4141
+ direction: string;
4142
+ currentState: string;
4143
+ encompassLoanId?: string | null;
4144
+ encompassLoanNumber?: string | null;
4145
+ /** @format int32 */
4146
+ retryCount: number;
4147
+ /** @format date-time */
4148
+ requestedAtUtc?: string | null;
4149
+ /** @format date-time */
4150
+ completedAtUtc?: string | null;
4151
+ /** @format date-time */
4152
+ failedAtUtc?: string | null;
4153
+ errors: string[];
4154
+ steps: LosSyncStep[];
4155
+ }
4156
+
4157
+ export interface LosSyncPaginated {
4158
+ rows: LosSync[];
4159
+ pagination: Pagination;
4160
+ /** @format int64 */
4161
+ count: number;
4162
+ }
4163
+
4164
+ export interface LosSyncSearchCriteria {
4165
+ searchText?: string | null;
4166
+ syncDirection?: string | null;
4167
+ status?: string | null;
4168
+ /** @format date-time */
4169
+ dateFrom?: string | null;
4170
+ /** @format date-time */
4171
+ dateTo?: string | null;
4172
+ }
4173
+
4174
+ export interface LosSyncStep {
4175
+ name: string;
4176
+ completed: boolean;
4177
+ /** @format date-time */
4178
+ completedAtUtc?: string | null;
4179
+ /** @format int32 */
4180
+ order: number;
4181
+ }
4182
+
4183
+ export interface LosWebhook {
4184
+ /** @format uuid */
4185
+ id: string;
4186
+ endpoint: string;
4187
+ resource: string;
4188
+ events: string[];
4189
+ enableSubscription: boolean;
4190
+ }
4191
+
4192
+ export interface MdmUser {
4193
+ user_email?: string | null;
4194
+ user_id?: string | null;
4195
+ user_name?: string | null;
4196
+ }
4197
+
4198
+ export interface MilestoneConfiguration {
4199
+ /** @format date-time */
4200
+ createdAt: string;
4201
+ /** @format date-time */
4202
+ updatedAt?: string | null;
4203
+ /** @format date-time */
4204
+ deletedAt?: string | null;
4205
+ /** @format uuid */
4206
+ id: string;
4207
+ name: string;
4208
+ description?: string | null;
4209
+ fieldID: string;
4210
+ /** @format int32 */
4211
+ weight: number;
4212
+ /** @format uuid */
4213
+ accountID: string;
4214
+ loanType: string;
4215
+ notificationsEnabled: boolean;
4216
+ }
4217
+
4218
+ export interface MilestoneConfigurationRequest {
4219
+ /** @minLength 1 */
4220
+ name: string;
4221
+ description?: string | null;
4222
+ /** @minLength 1 */
4223
+ fieldID: string;
4224
+ /**
4225
+ * @format int32
4226
+ * @min -1000
4227
+ * @max 1000
4228
+ */
4229
+ weight?: number | null;
4230
+ /** @minLength 1 */
4231
+ loanType: string;
4232
+ notificationsEnabled: boolean;
4233
+ }
4234
+
4235
+ export interface MobileSettings {
3971
4236
  /** @format uuid */
3972
4237
  id?: string | null;
3973
4238
  hasMobile: boolean;
@@ -4085,6 +4350,8 @@ export interface NotificationTemplate {
4085
4350
  isDefault: boolean;
4086
4351
  status: string;
4087
4352
  useDefaultHeaderAndFooter: boolean;
4353
+ multipleCustomTemplates: boolean;
4354
+ allowedRoles?: string[] | null;
4088
4355
  versions: NotificationTemplateVersionBase[];
4089
4356
  }
4090
4357
 
@@ -4111,6 +4378,8 @@ export interface NotificationTemplateBase {
4111
4378
  isDefault: boolean;
4112
4379
  status: string;
4113
4380
  useDefaultHeaderAndFooter: boolean;
4381
+ multipleCustomTemplates: boolean;
4382
+ allowedRoles?: string[] | null;
4114
4383
  }
4115
4384
 
4116
4385
  export interface NotificationTemplateBasePaginated {
@@ -4569,7 +4838,7 @@ export interface SSOTokenRequest {
4569
4838
  }
4570
4839
 
4571
4840
  export interface SamlMetadataRequest {
4572
- ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4841
+ ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
4573
4842
  }
4574
4843
 
4575
4844
  export interface SendForgotPasswordRequest {
@@ -4586,6 +4855,15 @@ export interface SendLoanDocumentsRequest {
4586
4855
  emailAddresses: string[];
4587
4856
  }
4588
4857
 
4858
+ export interface SendLoanTaskReminderRequest {
4859
+ /**
4860
+ * @format uuid
4861
+ * @minLength 1
4862
+ */
4863
+ templateId: string;
4864
+ userIds?: string[] | null;
4865
+ }
4866
+
4589
4867
  export interface SendNotificationForLoanRequest {
4590
4868
  /** @minLength 1 */
4591
4869
  loanID: string;
@@ -4599,6 +4877,16 @@ export interface SendNotificationForLoanRequest {
4599
4877
  attachments: Attachment[];
4600
4878
  }
4601
4879
 
4880
+ export interface SetCustomFieldValueRequest {
4881
+ /** @format uuid */
4882
+ definitionId: string;
4883
+ value?: string | null;
4884
+ }
4885
+
4886
+ export interface SetSingleCustomFieldValueRequest {
4887
+ value?: string | null;
4888
+ }
4889
+
4602
4890
  export interface SiteConfiguration {
4603
4891
  /** @format date-time */
4604
4892
  createdAt: string;
@@ -4608,7 +4896,7 @@ export interface SiteConfiguration {
4608
4896
  deletedAt?: string | null;
4609
4897
  /** @format uuid */
4610
4898
  id: string;
4611
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4899
+ type: SiteConfigurationTypeEnum;
4612
4900
  /** @format uuid */
4613
4901
  entityID: string;
4614
4902
  /** @format int32 */
@@ -4803,7 +5091,7 @@ export interface SiteConfigurationByUrl {
4803
5091
  deletedAt?: string | null;
4804
5092
  /** @format uuid */
4805
5093
  id: string;
4806
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5094
+ type: SiteConfigurationByUrlTypeEnum;
4807
5095
  /** @format uuid */
4808
5096
  entityID: string;
4809
5097
  /** @format int32 */
@@ -5016,7 +5304,7 @@ export interface SiteConfigurationForm {
5016
5304
  export interface SiteConfigurationReduced {
5017
5305
  /** @format uuid */
5018
5306
  id: string;
5019
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5307
+ type: SiteConfigurationReducedTypeEnum;
5020
5308
  url?: string | null;
5021
5309
  name: string;
5022
5310
  /** @format int64 */
@@ -5034,7 +5322,7 @@ export interface SiteConfigurationRequest {
5034
5322
  entityID: string;
5035
5323
  /** @format int32 */
5036
5324
  entityType: number;
5037
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5325
+ type: SiteConfigurationRequestTypeEnum;
5038
5326
  url: string;
5039
5327
  name: string;
5040
5328
  introduction?: string | null;
@@ -5211,7 +5499,7 @@ export interface SiteConfigurationSearchCriteria {
5211
5499
  export interface SiteConfigurationSummary {
5212
5500
  /** @format uuid */
5213
5501
  id: string;
5214
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5502
+ type: SiteConfigurationSummaryTypeEnum;
5215
5503
  url?: string | null;
5216
5504
  name: string;
5217
5505
  /** @format int64 */
@@ -5459,6 +5747,11 @@ export interface TokenRequest {
5459
5747
  isSupport: boolean;
5460
5748
  }
5461
5749
 
5750
+ export interface TriggerAsoRequest {
5751
+ /** @maxItems 23 */
5752
+ serviceKeys: string[];
5753
+ }
5754
+
5462
5755
  export interface UnderwritingCondition {
5463
5756
  /** @format uuid */
5464
5757
  id: string;
@@ -5519,6 +5812,32 @@ export interface UpdateAccountRequest {
5519
5812
  settings: AccountSettingsRequest;
5520
5813
  }
5521
5814
 
5815
+ export interface UpdateCustomFieldDefinitionRequest {
5816
+ isRequired: boolean;
5817
+ /**
5818
+ * @format int32
5819
+ * @min 0
5820
+ */
5821
+ displayOrder: number;
5822
+ /** @format int32 */
5823
+ minLength?: number | null;
5824
+ /** @format int32 */
5825
+ maxLength?: number | null;
5826
+ /** @format double */
5827
+ minValue?: number | null;
5828
+ /** @format double */
5829
+ maxValue?: number | null;
5830
+ /**
5831
+ * @minLength 1
5832
+ * @maxLength 250
5833
+ */
5834
+ name: string;
5835
+ defaultValue?: string | null;
5836
+ regexPattern?: string | null;
5837
+ options?: CustomFieldOptionRequest[] | null;
5838
+ permissions?: CustomFieldPermissionRequest[] | null;
5839
+ }
5840
+
5522
5841
  export interface UpdateDocumentTemplateRequest {
5523
5842
  /** @minLength 1 */
5524
5843
  htmlBody: string;
@@ -5558,6 +5877,15 @@ export interface UpdateListingPhotoRequest {
5558
5877
  weight: number;
5559
5878
  }
5560
5879
 
5880
+ export interface UpdateLoanDocumentFolderRequest {
5881
+ /**
5882
+ * @minLength 1
5883
+ * @maxLength 250
5884
+ */
5885
+ name: string;
5886
+ permissions: LoanDocumentFolderPermissionRequest[];
5887
+ }
5888
+
5561
5889
  export interface UpdateLoanQueueRequest {
5562
5890
  data: any;
5563
5891
  }
@@ -5839,19 +6167,7 @@ export interface UserDevice {
5839
6167
  export interface UserDraft {
5840
6168
  /** @format uuid */
5841
6169
  draftID: string;
5842
- role:
5843
- | "Borrower"
5844
- | "CoBorrower"
5845
- | "NonBorrower"
5846
- | "LoanOfficer"
5847
- | "LoanProcessor"
5848
- | "LoanOfficerAssistant"
5849
- | "SupportingLoanOfficer"
5850
- | "BuyerAgent"
5851
- | "SellerAgent"
5852
- | "TitleInsuranceAgent"
5853
- | "EscrowAgent"
5854
- | "SettlementAgent";
6170
+ role: UserDraftRoleEnum;
5855
6171
  user: User;
5856
6172
  }
5857
6173
 
@@ -5878,7 +6194,7 @@ export interface UserGroupAccessScope {
5878
6194
  id: string;
5879
6195
  /** @format uuid */
5880
6196
  groupId: string;
5881
- scopeType: "User" | "Branch";
6197
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
5882
6198
  /** @format uuid */
5883
6199
  userId?: string | null;
5884
6200
  /** @format uuid */
@@ -5914,24 +6230,12 @@ export interface UserLoan {
5914
6230
  deletedAt?: string | null;
5915
6231
  loanID: string;
5916
6232
  user: User;
5917
- role:
5918
- | "Borrower"
5919
- | "CoBorrower"
5920
- | "NonBorrower"
5921
- | "LoanOfficer"
5922
- | "LoanProcessor"
5923
- | "LoanOfficerAssistant"
5924
- | "SupportingLoanOfficer"
5925
- | "BuyerAgent"
5926
- | "SellerAgent"
5927
- | "TitleInsuranceAgent"
5928
- | "EscrowAgent"
5929
- | "SettlementAgent";
6233
+ role: UserLoanRoleEnum;
5930
6234
  /** @format int32 */
5931
6235
  borrowerPair?: number | null;
5932
6236
  /** @format int32 */
5933
6237
  borrowerPosition?: number | null;
5934
- customLoanData?: CustomLoanData | null;
6238
+ consents: UserLoanConsent[];
5935
6239
  }
5936
6240
 
5937
6241
  export interface UserLoanConsent {
@@ -5939,12 +6243,16 @@ export interface UserLoanConsent {
5939
6243
  id: string;
5940
6244
  /** @format uuid */
5941
6245
  userLoanID: string;
5942
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
6246
+ type: UserLoanConsentTypeEnum;
5943
6247
  providedConsent: boolean;
5944
6248
  ipAddress?: string | null;
5945
- losSyncStatus: "NotStarted" | "Failed" | "Success";
6249
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
5946
6250
  /** @format date-time */
5947
6251
  createdAt: string;
6252
+ /** @format date-time */
6253
+ updatedAt?: string | null;
6254
+ /** @format date-time */
6255
+ deletedAt?: string | null;
5948
6256
  }
5949
6257
 
5950
6258
  export interface UserLoanTask {
@@ -5958,7 +6266,6 @@ export interface UserLoanTask {
5958
6266
  value?: string | null;
5959
6267
  documents: LoanDocument[];
5960
6268
  loan: LoanIdentifier;
5961
- /** @deprecated */
5962
6269
  loanID: string;
5963
6270
  /** @format date-time */
5964
6271
  completedDate?: string | null;
@@ -5971,6 +6278,13 @@ export interface UserLoanTask {
5971
6278
  commentsCount: number;
5972
6279
  }
5973
6280
 
6281
+ export interface UserLoanTaskPaginated {
6282
+ rows: UserLoanTask[];
6283
+ pagination: Pagination;
6284
+ /** @format int64 */
6285
+ count: number;
6286
+ }
6287
+
5974
6288
  export interface UserLoanTaskRequest {
5975
6289
  value?: string | null;
5976
6290
  /**
@@ -6087,16 +6401,7 @@ export interface UserSummary {
6087
6401
  id: string;
6088
6402
  name?: string | null;
6089
6403
  email?: string | null;
6090
- role:
6091
- | "Borrower"
6092
- | "LoanOfficer"
6093
- | "Admin"
6094
- | "SuperAdmin"
6095
- | "Realtor"
6096
- | "SettlementAgent"
6097
- | "LoanProcessor"
6098
- | "LoanOfficerAssistant"
6099
- | "SystemAdmin";
6404
+ role: UserSummaryRoleEnum;
6100
6405
  }
6101
6406
 
6102
6407
  export interface VerifyPasswordRequest {
@@ -6132,109 +6437,589 @@ export interface Workflow {
6132
6437
  icon: string;
6133
6438
  }
6134
6439
 
6135
- import type {
6136
- AxiosInstance,
6137
- AxiosRequestConfig,
6138
- AxiosResponse,
6139
- HeadersDefaults,
6140
- ResponseType,
6141
- } from "axios";
6142
- import axios from "axios";
6440
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6143
6441
 
6144
- export type QueryParamsType = Record<string | number, any>;
6442
+ export type AuditLogEntryChangeTypeEnum =
6443
+ | "Created"
6444
+ | "Modified"
6445
+ | "SoftDeleted"
6446
+ | "HardDeleted"
6447
+ | "Restored";
6145
6448
 
6146
- export interface FullRequestParams
6147
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
6148
- /** set parameter to `true` for call `securityWorker` for this request */
6149
- secure?: boolean;
6150
- /** request path */
6151
- path: string;
6152
- /** content type of request body */
6153
- type?: ContentType;
6154
- /** query params */
6155
- query?: QueryParamsType;
6156
- /** format of response (i.e. response.json() -> format: "json") */
6157
- format?: ResponseType;
6158
- /** request body */
6159
- body?: unknown;
6160
- }
6449
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6161
6450
 
6162
- export type RequestParams = Omit<
6163
- FullRequestParams,
6164
- "body" | "method" | "query" | "path"
6165
- >;
6451
+ export type CreateAccountRequestEnvironmentEnum =
6452
+ | "Development"
6453
+ | "Staging"
6454
+ | "UAT"
6455
+ | "Production";
6166
6456
 
6167
- export interface ApiConfig<SecurityDataType = unknown>
6168
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
6169
- securityWorker?: (
6170
- securityData: SecurityDataType | null,
6171
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
6172
- secure?: boolean;
6173
- format?: ResponseType;
6174
- }
6457
+ export type CreateCustomFieldDefinitionRequestDataTypeEnum =
6458
+ | "String"
6459
+ | "Number"
6460
+ | "Decimal"
6461
+ | "Boolean"
6462
+ | "Date"
6463
+ | "SingleSelect"
6464
+ | "MultiSelect";
6175
6465
 
6176
- export enum ContentType {
6177
- JsonPatch = "application/json-patch+json",
6178
- Json = "application/json",
6179
- JsonApi = "application/vnd.api+json",
6180
- FormData = "multipart/form-data",
6181
- UrlEncoded = "application/x-www-form-urlencoded",
6182
- Text = "text/plain",
6183
- }
6466
+ export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
6184
6467
 
6185
- export class HttpClient<SecurityDataType = unknown> {
6186
- public instance: AxiosInstance;
6187
- private securityData: SecurityDataType | null = null;
6188
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
6189
- private secure?: boolean;
6190
- private format?: ResponseType;
6468
+ export type CreateGroupMemberRequestLoanRoleEnum =
6469
+ | "Borrower"
6470
+ | "CoBorrower"
6471
+ | "NonBorrower"
6472
+ | "LoanOfficer"
6473
+ | "LoanProcessor"
6474
+ | "LoanOfficerAssistant"
6475
+ | "SupportingLoanOfficer"
6476
+ | "BuyerAgent"
6477
+ | "SellerAgent"
6478
+ | "TitleInsuranceAgent"
6479
+ | "EscrowAgent"
6480
+ | "SettlementAgent"
6481
+ | "Admin";
6191
6482
 
6192
- constructor({
6193
- securityWorker,
6194
- secure,
6195
- format,
6196
- ...axiosConfig
6197
- }: ApiConfig<SecurityDataType> = {}) {
6198
- this.instance = axios.create({
6199
- ...axiosConfig,
6200
- baseURL: axiosConfig.baseURL || "",
6201
- });
6202
- this.secure = secure;
6203
- this.format = format;
6204
- this.securityWorker = securityWorker;
6205
- }
6483
+ /** @deprecated */
6484
+ export type CreateInviteRequestRelationshipEnum =
6485
+ | "NotApplicable"
6486
+ | "Spouse"
6487
+ | "NonSpouse";
6206
6488
 
6207
- public setSecurityData = (data: SecurityDataType | null) => {
6208
- this.securityData = data;
6209
- };
6489
+ export type CreateLoanImportRequestImportModeEnum =
6490
+ | "All"
6491
+ | "NewOnly"
6492
+ | "UpdateOnly";
6210
6493
 
6211
- protected mergeRequestParams(
6212
- params1: AxiosRequestConfig,
6213
- params2?: AxiosRequestConfig,
6214
- ): AxiosRequestConfig {
6215
- const method = params1.method || (params2 && params2.method);
6494
+ export type CreateUserDraftLoanRoleEnum =
6495
+ | "Borrower"
6496
+ | "CoBorrower"
6497
+ | "NonBorrower"
6498
+ | "LoanOfficer"
6499
+ | "LoanProcessor"
6500
+ | "LoanOfficerAssistant"
6501
+ | "SupportingLoanOfficer"
6502
+ | "BuyerAgent"
6503
+ | "SellerAgent"
6504
+ | "TitleInsuranceAgent"
6505
+ | "EscrowAgent"
6506
+ | "SettlementAgent"
6507
+ | "Admin";
6508
+
6509
+ export type CustomFieldDefinitionDataTypeEnum =
6510
+ | "String"
6511
+ | "Number"
6512
+ | "Decimal"
6513
+ | "Boolean"
6514
+ | "Date"
6515
+ | "SingleSelect"
6516
+ | "MultiSelect";
6517
+
6518
+ export type CustomFieldDefinitionEntityTypeEnum = "Loan";
6519
+
6520
+ export type CustomFieldEntryDataTypeEnum =
6521
+ | "String"
6522
+ | "Number"
6523
+ | "Decimal"
6524
+ | "Boolean"
6525
+ | "Date"
6526
+ | "SingleSelect"
6527
+ | "MultiSelect";
6528
+
6529
+ export type CustomFieldPermissionRoleEnum =
6530
+ | "Borrower"
6531
+ | "LoanOfficer"
6532
+ | "Admin"
6533
+ | "SuperAdmin"
6534
+ | "Realtor"
6535
+ | "SettlementAgent"
6536
+ | "LoanProcessor"
6537
+ | "LoanOfficerAssistant"
6538
+ | "SystemAdmin";
6216
6539
 
6217
- return {
6218
- ...this.instance.defaults,
6219
- ...params1,
6220
- ...(params2 || {}),
6221
- headers: {
6222
- ...((method &&
6223
- this.instance.defaults.headers[
6224
- method.toLowerCase() as keyof HeadersDefaults
6225
- ]) ||
6226
- {}),
6227
- ...(params1.headers || {}),
6228
- ...((params2 && params2.headers) || {}),
6229
- },
6230
- };
6231
- }
6540
+ export type CustomFieldPermissionAccessLevelEnum =
6541
+ | "NoAccess"
6542
+ | "ReadOnly"
6543
+ | "ReadWrite";
6232
6544
 
6233
- protected stringifyFormItem(formItem: unknown) {
6234
- if (typeof formItem === "object" && formItem !== null) {
6235
- return JSON.stringify(formItem);
6236
- } else {
6237
- return `${formItem}`;
6545
+ export type CustomFieldPermissionRequestRoleEnum =
6546
+ | "Borrower"
6547
+ | "LoanOfficer"
6548
+ | "Admin"
6549
+ | "SuperAdmin"
6550
+ | "Realtor"
6551
+ | "SettlementAgent"
6552
+ | "LoanProcessor"
6553
+ | "LoanOfficerAssistant"
6554
+ | "SystemAdmin";
6555
+
6556
+ export type CustomFieldPermissionRequestAccessLevelEnum =
6557
+ | "NoAccess"
6558
+ | "ReadOnly"
6559
+ | "ReadWrite";
6560
+
6561
+ export type CustomFieldValueDataTypeEnum =
6562
+ | "String"
6563
+ | "Number"
6564
+ | "Decimal"
6565
+ | "Boolean"
6566
+ | "Date"
6567
+ | "SingleSelect"
6568
+ | "MultiSelect";
6569
+
6570
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
6571
+
6572
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6573
+
6574
+ export type EncompassCredentialsDetailSigningMethodEnum =
6575
+ | "ConsumerConnect"
6576
+ | "POSF";
6577
+
6578
+ export type EncompassCredentialsRequestSigningMethodEnum =
6579
+ | "ConsumerConnect"
6580
+ | "POSF";
6581
+
6582
+ export type EncompassRequestLogOperationTypeEnum =
6583
+ | "FieldUpdate"
6584
+ | "ConsentUpdate"
6585
+ | "DocumentSync"
6586
+ | "MilestoneUpdate"
6587
+ | "DocumentAttachment"
6588
+ | "General"
6589
+ | "FieldReader";
6590
+
6591
+ export type EncompassRequestLogOutcomeEnum =
6592
+ | "Success"
6593
+ | "Failure"
6594
+ | "PartialSuccess";
6595
+
6596
+ export type FusionReportFilterFilterTypeEnum =
6597
+ | "DateGreaterThanOrEqualTo"
6598
+ | "DateGreaterThan"
6599
+ | "DateLessThan"
6600
+ | "DateLessThanOrEqualTo"
6601
+ | "DateEquals"
6602
+ | "DateDoesntEqual"
6603
+ | "DateNonEmpty"
6604
+ | "DateEmpty"
6605
+ | "StringContains"
6606
+ | "StringEquals"
6607
+ | "StringNotEmpty"
6608
+ | "StringNotEquals"
6609
+ | "StringNotContains";
6610
+
6611
+ export type IpAddressAddressFamilyEnum =
6612
+ | "Unspecified"
6613
+ | "Unix"
6614
+ | "InterNetwork"
6615
+ | "ImpLink"
6616
+ | "Pup"
6617
+ | "Chaos"
6618
+ | "NS"
6619
+ | "Ipx"
6620
+ | "Iso"
6621
+ | "Osi"
6622
+ | "Ecma"
6623
+ | "DataKit"
6624
+ | "Ccitt"
6625
+ | "Sna"
6626
+ | "DecNet"
6627
+ | "DataLink"
6628
+ | "Lat"
6629
+ | "HyperChannel"
6630
+ | "AppleTalk"
6631
+ | "NetBios"
6632
+ | "VoiceView"
6633
+ | "FireFox"
6634
+ | "Banyan"
6635
+ | "Atm"
6636
+ | "InterNetworkV6"
6637
+ | "Cluster"
6638
+ | "Ieee12844"
6639
+ | "Irda"
6640
+ | "NetworkDesigners"
6641
+ | "Max"
6642
+ | "Packet"
6643
+ | "ControllerAreaNetwork"
6644
+ | "Unknown";
6645
+
6646
+ export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6647
+
6648
+ export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6649
+
6650
+ export type LoanContactRoleEnum =
6651
+ | "Borrower"
6652
+ | "CoBorrower"
6653
+ | "NonBorrower"
6654
+ | "LoanOfficer"
6655
+ | "LoanProcessor"
6656
+ | "LoanOfficerAssistant"
6657
+ | "SupportingLoanOfficer"
6658
+ | "BuyerAgent"
6659
+ | "SellerAgent"
6660
+ | "TitleInsuranceAgent"
6661
+ | "EscrowAgent"
6662
+ | "SettlementAgent"
6663
+ | "Admin";
6664
+
6665
+ export type LoanDocumentFolderPermissionRoleEnum =
6666
+ | "Borrower"
6667
+ | "CoBorrower"
6668
+ | "NonBorrower"
6669
+ | "LoanOfficer"
6670
+ | "LoanProcessor"
6671
+ | "LoanOfficerAssistant"
6672
+ | "SupportingLoanOfficer"
6673
+ | "BuyerAgent"
6674
+ | "SellerAgent"
6675
+ | "TitleInsuranceAgent"
6676
+ | "EscrowAgent"
6677
+ | "SettlementAgent"
6678
+ | "Admin";
6679
+
6680
+ export type LoanDocumentFolderPermissionLevelEnum =
6681
+ | "None"
6682
+ | "Read"
6683
+ | "Write"
6684
+ | "Manage";
6685
+
6686
+ export type LoanDocumentFolderPermissionRequestRoleEnum =
6687
+ | "Borrower"
6688
+ | "CoBorrower"
6689
+ | "NonBorrower"
6690
+ | "LoanOfficer"
6691
+ | "LoanProcessor"
6692
+ | "LoanOfficerAssistant"
6693
+ | "SupportingLoanOfficer"
6694
+ | "BuyerAgent"
6695
+ | "SellerAgent"
6696
+ | "TitleInsuranceAgent"
6697
+ | "EscrowAgent"
6698
+ | "SettlementAgent"
6699
+ | "Admin";
6700
+
6701
+ export type LoanDocumentFolderPermissionRequestLevelEnum =
6702
+ | "None"
6703
+ | "Read"
6704
+ | "Write"
6705
+ | "Manage";
6706
+
6707
+ export type LoanImportStatusEnum =
6708
+ | "WaitingProcess"
6709
+ | "InProgress"
6710
+ | "Completed"
6711
+ | "Failed"
6712
+ | "Cancelled";
6713
+
6714
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6715
+
6716
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6717
+
6718
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6719
+
6720
+ export type LoanLogTypeEnum =
6721
+ | "Loan"
6722
+ | "Queue"
6723
+ | "POSFlagChanged"
6724
+ | "Verification"
6725
+ | "DocumentUploaded"
6726
+ | "LoanCreated"
6727
+ | "WorkflowSubmitted"
6728
+ | "UserInvitationSent"
6729
+ | "CoBorrowerAdded"
6730
+ | "TaskCompleted"
6731
+ | "LoanStatusChanged"
6732
+ | "Consent"
6733
+ | "SensitiveDataPurge"
6734
+ | "ClosingDateUpdated"
6735
+ | "ConsumerConnectAssociation"
6736
+ | "TaskReminderSent";
6737
+
6738
+ export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6739
+
6740
+ export type LoanLogDetailTypeEnum =
6741
+ | "Loan"
6742
+ | "Queue"
6743
+ | "POSFlagChanged"
6744
+ | "Verification"
6745
+ | "DocumentUploaded"
6746
+ | "LoanCreated"
6747
+ | "WorkflowSubmitted"
6748
+ | "UserInvitationSent"
6749
+ | "CoBorrowerAdded"
6750
+ | "TaskCompleted"
6751
+ | "LoanStatusChanged"
6752
+ | "Consent"
6753
+ | "SensitiveDataPurge"
6754
+ | "ClosingDateUpdated"
6755
+ | "ConsumerConnectAssociation"
6756
+ | "TaskReminderSent";
6757
+
6758
+ export type LoanTaskStatusSummaryStatusEnum =
6759
+ | "Outstanding"
6760
+ | "Pending"
6761
+ | "Completed"
6762
+ | "Rejected"
6763
+ | "Unknown";
6764
+
6765
+ export type LoanUserLoanRoleEnum =
6766
+ | "Borrower"
6767
+ | "CoBorrower"
6768
+ | "NonBorrower"
6769
+ | "LoanOfficer"
6770
+ | "LoanProcessor"
6771
+ | "LoanOfficerAssistant"
6772
+ | "SupportingLoanOfficer"
6773
+ | "BuyerAgent"
6774
+ | "SellerAgent"
6775
+ | "TitleInsuranceAgent"
6776
+ | "EscrowAgent"
6777
+ | "SettlementAgent"
6778
+ | "Admin";
6779
+
6780
+ export type LosOperationTrackingStatusEnum =
6781
+ | "Pending"
6782
+ | "Success"
6783
+ | "Failed"
6784
+ | "ConfigurationError"
6785
+ | "PermanentFailure"
6786
+ | "Locked";
6787
+
6788
+ export type SamlMetadataRequestSsoIntegrationEnum =
6789
+ | "ConsumerConnect"
6790
+ | "TheBigPOS"
6791
+ | "POSF";
6792
+
6793
+ export type SiteConfigurationTypeEnum =
6794
+ | "None"
6795
+ | "Account"
6796
+ | "Corporate"
6797
+ | "Branch"
6798
+ | "LoanOfficer"
6799
+ | "Partner";
6800
+
6801
+ export type SiteConfigurationByUrlTypeEnum =
6802
+ | "None"
6803
+ | "Account"
6804
+ | "Corporate"
6805
+ | "Branch"
6806
+ | "LoanOfficer"
6807
+ | "Partner";
6808
+
6809
+ export type SiteConfigurationReducedTypeEnum =
6810
+ | "None"
6811
+ | "Account"
6812
+ | "Corporate"
6813
+ | "Branch"
6814
+ | "LoanOfficer"
6815
+ | "Partner";
6816
+
6817
+ export type SiteConfigurationRequestTypeEnum =
6818
+ | "None"
6819
+ | "Account"
6820
+ | "Corporate"
6821
+ | "Branch"
6822
+ | "LoanOfficer"
6823
+ | "Partner";
6824
+
6825
+ export type SiteConfigurationSummaryTypeEnum =
6826
+ | "None"
6827
+ | "Account"
6828
+ | "Corporate"
6829
+ | "Branch"
6830
+ | "LoanOfficer"
6831
+ | "Partner";
6832
+
6833
+ export type UserDraftRoleEnum =
6834
+ | "Borrower"
6835
+ | "CoBorrower"
6836
+ | "NonBorrower"
6837
+ | "LoanOfficer"
6838
+ | "LoanProcessor"
6839
+ | "LoanOfficerAssistant"
6840
+ | "SupportingLoanOfficer"
6841
+ | "BuyerAgent"
6842
+ | "SellerAgent"
6843
+ | "TitleInsuranceAgent"
6844
+ | "EscrowAgent"
6845
+ | "SettlementAgent"
6846
+ | "Admin";
6847
+
6848
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6849
+
6850
+ export type UserLoanRoleEnum =
6851
+ | "Borrower"
6852
+ | "CoBorrower"
6853
+ | "NonBorrower"
6854
+ | "LoanOfficer"
6855
+ | "LoanProcessor"
6856
+ | "LoanOfficerAssistant"
6857
+ | "SupportingLoanOfficer"
6858
+ | "BuyerAgent"
6859
+ | "SellerAgent"
6860
+ | "TitleInsuranceAgent"
6861
+ | "EscrowAgent"
6862
+ | "SettlementAgent"
6863
+ | "Admin";
6864
+
6865
+ export type UserLoanConsentTypeEnum =
6866
+ | "Econsent"
6867
+ | "CreditAuthorization"
6868
+ | "Tcpa";
6869
+
6870
+ export type UserLoanConsentLosSyncStatusEnum =
6871
+ | "NotStarted"
6872
+ | "Failed"
6873
+ | "Success";
6874
+
6875
+ export type UserSummaryRoleEnum =
6876
+ | "Borrower"
6877
+ | "LoanOfficer"
6878
+ | "Admin"
6879
+ | "SuperAdmin"
6880
+ | "Realtor"
6881
+ | "SettlementAgent"
6882
+ | "LoanProcessor"
6883
+ | "LoanOfficerAssistant"
6884
+ | "SystemAdmin";
6885
+
6886
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6887
+
6888
+ /** @default "Realtor" */
6889
+ export type GetPartnersParamsRoleEnum =
6890
+ | "Borrower"
6891
+ | "LoanOfficer"
6892
+ | "Admin"
6893
+ | "SuperAdmin"
6894
+ | "Realtor"
6895
+ | "SettlementAgent"
6896
+ | "LoanProcessor"
6897
+ | "LoanOfficerAssistant"
6898
+ | "SystemAdmin";
6899
+
6900
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
6901
+ | "ConsumerConnect"
6902
+ | "TheBigPOS"
6903
+ | "POSF";
6904
+
6905
+ export type GetSamlMetadataParamsEnum =
6906
+ | "ConsumerConnect"
6907
+ | "TheBigPOS"
6908
+ | "POSF";
6909
+
6910
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6911
+ | "ConsumerConnect"
6912
+ | "TheBigPOS"
6913
+ | "POSF";
6914
+
6915
+ export type CreateOrReplaceSamlMetadataParamsEnum =
6916
+ | "ConsumerConnect"
6917
+ | "TheBigPOS"
6918
+ | "POSF";
6919
+
6920
+ import type {
6921
+ AxiosInstance,
6922
+ AxiosRequestConfig,
6923
+ AxiosResponse,
6924
+ HeadersDefaults,
6925
+ ResponseType,
6926
+ } from "axios";
6927
+ import axios from "axios";
6928
+
6929
+ export type QueryParamsType = Record<string | number, any>;
6930
+
6931
+ export interface FullRequestParams
6932
+ extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
6933
+ /** set parameter to `true` for call `securityWorker` for this request */
6934
+ secure?: boolean;
6935
+ /** request path */
6936
+ path: string;
6937
+ /** content type of request body */
6938
+ type?: ContentType;
6939
+ /** query params */
6940
+ query?: QueryParamsType;
6941
+ /** format of response (i.e. response.json() -> format: "json") */
6942
+ format?: ResponseType;
6943
+ /** request body */
6944
+ body?: unknown;
6945
+ }
6946
+
6947
+ export type RequestParams = Omit<
6948
+ FullRequestParams,
6949
+ "body" | "method" | "query" | "path"
6950
+ >;
6951
+
6952
+ export interface ApiConfig<SecurityDataType = unknown>
6953
+ extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
6954
+ securityWorker?: (
6955
+ securityData: SecurityDataType | null,
6956
+ ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
6957
+ secure?: boolean;
6958
+ format?: ResponseType;
6959
+ }
6960
+
6961
+ export enum ContentType {
6962
+ JsonPatch = "application/json-patch+json",
6963
+ Json = "application/json",
6964
+ JsonApi = "application/vnd.api+json",
6965
+ FormData = "multipart/form-data",
6966
+ UrlEncoded = "application/x-www-form-urlencoded",
6967
+ Text = "text/plain",
6968
+ }
6969
+
6970
+ export class HttpClient<SecurityDataType = unknown> {
6971
+ public instance: AxiosInstance;
6972
+ private securityData: SecurityDataType | null = null;
6973
+ private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
6974
+ private secure?: boolean;
6975
+ private format?: ResponseType;
6976
+
6977
+ constructor({
6978
+ securityWorker,
6979
+ secure,
6980
+ format,
6981
+ ...axiosConfig
6982
+ }: ApiConfig<SecurityDataType> = {}) {
6983
+ this.instance = axios.create({
6984
+ ...axiosConfig,
6985
+ baseURL: axiosConfig.baseURL || "",
6986
+ });
6987
+ this.secure = secure;
6988
+ this.format = format;
6989
+ this.securityWorker = securityWorker;
6990
+ }
6991
+
6992
+ public setSecurityData = (data: SecurityDataType | null) => {
6993
+ this.securityData = data;
6994
+ };
6995
+
6996
+ protected mergeRequestParams(
6997
+ params1: AxiosRequestConfig,
6998
+ params2?: AxiosRequestConfig,
6999
+ ): AxiosRequestConfig {
7000
+ const method = params1.method || (params2 && params2.method);
7001
+
7002
+ return {
7003
+ ...this.instance.defaults,
7004
+ ...params1,
7005
+ ...(params2 || {}),
7006
+ headers: {
7007
+ ...((method &&
7008
+ this.instance.defaults.headers[
7009
+ method.toLowerCase() as keyof HeadersDefaults
7010
+ ]) ||
7011
+ {}),
7012
+ ...(params1.headers || {}),
7013
+ ...((params2 && params2.headers) || {}),
7014
+ },
7015
+ };
7016
+ }
7017
+
7018
+ protected stringifyFormItem(formItem: unknown) {
7019
+ if (typeof formItem === "object" && formItem !== null) {
7020
+ return JSON.stringify(formItem);
7021
+ } else {
7022
+ return `${formItem}`;
6238
7023
  }
6239
7024
  }
6240
7025
 
@@ -6310,7 +7095,7 @@ export class HttpClient<SecurityDataType = unknown> {
6310
7095
 
6311
7096
  /**
6312
7097
  * @title The Big POS API
6313
- * @version v2.38.0
7098
+ * @version v2.39.0
6314
7099
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6315
7100
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6316
7101
  */
@@ -6592,6 +7377,25 @@ export class Api<
6592
7377
  ...params,
6593
7378
  }),
6594
7379
 
7380
+ /**
7381
+ * No description
7382
+ *
7383
+ * @tags AuditLog
7384
+ * @name GetAuditLogEntityTypes
7385
+ * @summary Get entity types
7386
+ * @request GET:/api/audit-logs/entity-types
7387
+ * @secure
7388
+ * @response `200` `(AuditEntityType)[]` Success
7389
+ */
7390
+ getAuditLogEntityTypes: (params: RequestParams = {}) =>
7391
+ this.request<AuditEntityType[], any>({
7392
+ path: `/api/audit-logs/entity-types`,
7393
+ method: "GET",
7394
+ secure: true,
7395
+ format: "json",
7396
+ ...params,
7397
+ }),
7398
+
6595
7399
  /**
6596
7400
  * No description
6597
7401
  *
@@ -7172,6 +7976,47 @@ export class Api<
7172
7976
  ...params,
7173
7977
  }),
7174
7978
 
7979
+ /**
7980
+ * No description
7981
+ *
7982
+ * @tags ConsumerConnect
7983
+ * @name GetConsumerConnectStatus
7984
+ * @summary Get Consumer Connect association status for all borrowers on a loan
7985
+ * @request GET:/api/loans/{loanId}/consumer-connect/status
7986
+ * @secure
7987
+ * @response `200` `(ConsumerConnectStatus)[]` Success
7988
+ */
7989
+ getConsumerConnectStatus: (loanId: string, params: RequestParams = {}) =>
7990
+ this.request<ConsumerConnectStatus[], any>({
7991
+ path: `/api/loans/${loanId}/consumer-connect/status`,
7992
+ method: "GET",
7993
+ secure: true,
7994
+ format: "json",
7995
+ ...params,
7996
+ }),
7997
+
7998
+ /**
7999
+ * No description
8000
+ *
8001
+ * @tags ConsumerConnect
8002
+ * @name RetryConsumerConnectAssociation
8003
+ * @summary Manually retry Consumer Connect association for failed borrowers on a loan. Returns per-borrower results; check individual Success fields for partial failures.
8004
+ * @request POST:/api/loans/{loanId}/consumer-connect/retry
8005
+ * @secure
8006
+ * @response `200` `(ConsumerConnectRetry)[]` Success
8007
+ */
8008
+ retryConsumerConnectAssociation: (
8009
+ loanId: string,
8010
+ params: RequestParams = {},
8011
+ ) =>
8012
+ this.request<ConsumerConnectRetry[], any>({
8013
+ path: `/api/loans/${loanId}/consumer-connect/retry`,
8014
+ method: "POST",
8015
+ secure: true,
8016
+ format: "json",
8017
+ ...params,
8018
+ }),
8019
+
7175
8020
  /**
7176
8021
  * No description
7177
8022
  *
@@ -7457,6 +8302,164 @@ export class Api<
7457
8302
  ...params,
7458
8303
  }),
7459
8304
 
8305
+ /**
8306
+ * No description
8307
+ *
8308
+ * @tags CustomFieldDefinitions
8309
+ * @name GetCustomFieldDefinitions
8310
+ * @summary Get all custom field definitions by entity type
8311
+ * @request GET:/api/custom-field-definitions
8312
+ * @secure
8313
+ * @response `200` `(CustomFieldDefinition)[]` Success
8314
+ */
8315
+ getCustomFieldDefinitions: (
8316
+ query?: {
8317
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
8318
+ },
8319
+ params: RequestParams = {},
8320
+ ) =>
8321
+ this.request<CustomFieldDefinition[], any>({
8322
+ path: `/api/custom-field-definitions`,
8323
+ method: "GET",
8324
+ query: query,
8325
+ secure: true,
8326
+ format: "json",
8327
+ ...params,
8328
+ }),
8329
+
8330
+ /**
8331
+ * No description
8332
+ *
8333
+ * @tags CustomFieldDefinitions
8334
+ * @name CreateCustomFieldDefinition
8335
+ * @summary Create a custom field definition
8336
+ * @request POST:/api/custom-field-definitions
8337
+ * @secure
8338
+ * @response `201` `CustomFieldDefinition` Created
8339
+ * @response `409` `ProblemDetails` Conflict
8340
+ * @response `422` `ProblemDetails` Client Error
8341
+ */
8342
+ createCustomFieldDefinition: (
8343
+ data: CreateCustomFieldDefinitionRequest,
8344
+ params: RequestParams = {},
8345
+ ) =>
8346
+ this.request<CustomFieldDefinition, ProblemDetails>({
8347
+ path: `/api/custom-field-definitions`,
8348
+ method: "POST",
8349
+ body: data,
8350
+ secure: true,
8351
+ type: ContentType.Json,
8352
+ format: "json",
8353
+ ...params,
8354
+ }),
8355
+
8356
+ /**
8357
+ * No description
8358
+ *
8359
+ * @tags CustomFieldDefinitions
8360
+ * @name GetCustomFieldDefinitionById
8361
+ * @summary Get a custom field definition by ID
8362
+ * @request GET:/api/custom-field-definitions/{id}
8363
+ * @secure
8364
+ * @response `200` `CustomFieldDefinition` Success
8365
+ * @response `404` `ProblemDetails` Not Found
8366
+ */
8367
+ getCustomFieldDefinitionById: (id: string, params: RequestParams = {}) =>
8368
+ this.request<CustomFieldDefinition, ProblemDetails>({
8369
+ path: `/api/custom-field-definitions/${id}`,
8370
+ method: "GET",
8371
+ secure: true,
8372
+ format: "json",
8373
+ ...params,
8374
+ }),
8375
+
8376
+ /**
8377
+ * No description
8378
+ *
8379
+ * @tags CustomFieldDefinitions
8380
+ * @name UpdateCustomFieldDefinition
8381
+ * @summary Update a custom field definition
8382
+ * @request PUT:/api/custom-field-definitions/{id}
8383
+ * @secure
8384
+ * @response `200` `CustomFieldDefinition` Success
8385
+ * @response `400` `ProblemDetails` Bad Request
8386
+ * @response `404` `ProblemDetails` Not Found
8387
+ * @response `409` `ProblemDetails` Conflict
8388
+ * @response `422` `ProblemDetails` Client Error
8389
+ */
8390
+ updateCustomFieldDefinition: (
8391
+ id: string,
8392
+ data: UpdateCustomFieldDefinitionRequest,
8393
+ params: RequestParams = {},
8394
+ ) =>
8395
+ this.request<CustomFieldDefinition, ProblemDetails>({
8396
+ path: `/api/custom-field-definitions/${id}`,
8397
+ method: "PUT",
8398
+ body: data,
8399
+ secure: true,
8400
+ type: ContentType.Json,
8401
+ format: "json",
8402
+ ...params,
8403
+ }),
8404
+
8405
+ /**
8406
+ * No description
8407
+ *
8408
+ * @tags CustomFieldDefinitions
8409
+ * @name DeleteCustomFieldDefinition
8410
+ * @summary Delete a custom field definition
8411
+ * @request DELETE:/api/custom-field-definitions/{id}
8412
+ * @secure
8413
+ * @response `204` `void` No Content
8414
+ * @response `404` `ProblemDetails` Not Found
8415
+ * @response `409` `ProblemDetails` Conflict
8416
+ */
8417
+ deleteCustomFieldDefinition: (id: string, params: RequestParams = {}) =>
8418
+ this.request<void, ProblemDetails>({
8419
+ path: `/api/custom-field-definitions/${id}`,
8420
+ method: "DELETE",
8421
+ secure: true,
8422
+ ...params,
8423
+ }),
8424
+
8425
+ /**
8426
+ * No description
8427
+ *
8428
+ * @tags CustomFieldDefinitions
8429
+ * @name DisableCustomFieldDefinition
8430
+ * @summary Disable a custom field definition
8431
+ * @request POST:/api/custom-field-definitions/{id}/disable
8432
+ * @secure
8433
+ * @response `204` `void` No Content
8434
+ * @response `404` `ProblemDetails` Not Found
8435
+ */
8436
+ disableCustomFieldDefinition: (id: string, params: RequestParams = {}) =>
8437
+ this.request<void, ProblemDetails>({
8438
+ path: `/api/custom-field-definitions/${id}/disable`,
8439
+ method: "POST",
8440
+ secure: true,
8441
+ ...params,
8442
+ }),
8443
+
8444
+ /**
8445
+ * No description
8446
+ *
8447
+ * @tags CustomFieldDefinitions
8448
+ * @name EnableCustomFieldDefinition
8449
+ * @summary Enable a custom field definition
8450
+ * @request POST:/api/custom-field-definitions/{id}/enable
8451
+ * @secure
8452
+ * @response `204` `void` No Content
8453
+ * @response `404` `ProblemDetails` Not Found
8454
+ */
8455
+ enableCustomFieldDefinition: (id: string, params: RequestParams = {}) =>
8456
+ this.request<void, ProblemDetails>({
8457
+ path: `/api/custom-field-definitions/${id}/enable`,
8458
+ method: "POST",
8459
+ secure: true,
8460
+ ...params,
8461
+ }),
8462
+
7460
8463
  /**
7461
8464
  * No description
7462
8465
  *
@@ -7819,70 +8822,203 @@ export class Api<
7819
8822
  /**
7820
8823
  * No description
7821
8824
  *
7822
- * @tags DocumentTemplateVersions
7823
- * @name GetDocumentTemplateVersion
7824
- * @summary Get by ID
7825
- * @request GET:/api/document-templates/{documentId}/versions/{id}
8825
+ * @tags DocumentTemplateVersions
8826
+ * @name GetDocumentTemplateVersion
8827
+ * @summary Get by ID
8828
+ * @request GET:/api/document-templates/{documentId}/versions/{id}
8829
+ * @secure
8830
+ * @response `200` `DocumentTemplateVersion` Success
8831
+ */
8832
+ getDocumentTemplateVersion: (
8833
+ documentId: string,
8834
+ id: string,
8835
+ params: RequestParams = {},
8836
+ ) =>
8837
+ this.request<DocumentTemplateVersion, any>({
8838
+ path: `/api/document-templates/${documentId}/versions/${id}`,
8839
+ method: "GET",
8840
+ secure: true,
8841
+ format: "json",
8842
+ ...params,
8843
+ }),
8844
+
8845
+ /**
8846
+ * No description
8847
+ *
8848
+ * @tags DocumentTemplateVersions
8849
+ * @name ReplaceDocumentTemplateVersion
8850
+ * @summary Replace
8851
+ * @request PUT:/api/document-templates/{documentId}/versions/{id}
8852
+ * @secure
8853
+ * @response `200` `DocumentTemplateVersion` Success
8854
+ */
8855
+ replaceDocumentTemplateVersion: (
8856
+ documentId: string,
8857
+ id: string,
8858
+ data: DocumentTemplateVersionUpdateRequest,
8859
+ params: RequestParams = {},
8860
+ ) =>
8861
+ this.request<DocumentTemplateVersion, any>({
8862
+ path: `/api/document-templates/${documentId}/versions/${id}`,
8863
+ method: "PUT",
8864
+ body: data,
8865
+ secure: true,
8866
+ type: ContentType.Json,
8867
+ format: "json",
8868
+ ...params,
8869
+ }),
8870
+
8871
+ /**
8872
+ * No description
8873
+ *
8874
+ * @tags DocumentTemplateVersions
8875
+ * @name DeleteDocumentTemplateVersion
8876
+ * @summary Delete
8877
+ * @request DELETE:/api/document-templates/{documentId}/versions/{id}
8878
+ * @secure
8879
+ * @response `200` `DocumentTemplateVersion` Success
8880
+ */
8881
+ deleteDocumentTemplateVersion: (
8882
+ documentId: string,
8883
+ id: string,
8884
+ params: RequestParams = {},
8885
+ ) =>
8886
+ this.request<DocumentTemplateVersion, any>({
8887
+ path: `/api/document-templates/${documentId}/versions/${id}`,
8888
+ method: "DELETE",
8889
+ secure: true,
8890
+ format: "json",
8891
+ ...params,
8892
+ }),
8893
+
8894
+ /**
8895
+ * No description
8896
+ *
8897
+ * @tags Encompass Custom Field Mappings
8898
+ * @name GetEncompassCustomFieldMapping
8899
+ * @request GET:/api/los/encompass/custom-field-mappings/{definitionId}
8900
+ * @secure
8901
+ * @response `200` `EncompassCustomFieldMapping` Success
8902
+ * @response `404` `void` Not Found
8903
+ */
8904
+ getEncompassCustomFieldMapping: (
8905
+ definitionId: string,
8906
+ params: RequestParams = {},
8907
+ ) =>
8908
+ this.request<EncompassCustomFieldMapping, void>({
8909
+ path: `/api/los/encompass/custom-field-mappings/${definitionId}`,
8910
+ method: "GET",
8911
+ secure: true,
8912
+ format: "json",
8913
+ ...params,
8914
+ }),
8915
+
8916
+ /**
8917
+ * No description
8918
+ *
8919
+ * @tags Encompass Custom Field Mappings
8920
+ * @name AddEncompassCustomFieldMapping
8921
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}
8922
+ * @secure
8923
+ * @response `201` `EncompassCustomFieldMapping` Created
8924
+ * @response `400` `void` Bad Request
8925
+ * @response `404` `void` Not Found
8926
+ * @response `409` `void` Conflict
8927
+ * @response `422` `ProblemDetails` Client Error
8928
+ */
8929
+ addEncompassCustomFieldMapping: (
8930
+ definitionId: string,
8931
+ data: EncompassCustomFieldMappingRequest,
8932
+ params: RequestParams = {},
8933
+ ) =>
8934
+ this.request<EncompassCustomFieldMapping, void | ProblemDetails>({
8935
+ path: `/api/los/encompass/custom-field-mappings/${definitionId}`,
8936
+ method: "POST",
8937
+ body: data,
8938
+ secure: true,
8939
+ type: ContentType.Json,
8940
+ format: "json",
8941
+ ...params,
8942
+ }),
8943
+
8944
+ /**
8945
+ * No description
8946
+ *
8947
+ * @tags Encompass Custom Field Mappings
8948
+ * @name DeleteEncompassCustomFieldMapping
8949
+ * @request DELETE:/api/los/encompass/custom-field-mappings/{definitionId}
8950
+ * @secure
8951
+ * @response `204` `void` No Content
8952
+ * @response `404` `void` Not Found
8953
+ * @response `409` `void` Conflict
8954
+ */
8955
+ deleteEncompassCustomFieldMapping: (
8956
+ definitionId: string,
8957
+ params: RequestParams = {},
8958
+ ) =>
8959
+ this.request<void, void>({
8960
+ path: `/api/los/encompass/custom-field-mappings/${definitionId}`,
8961
+ method: "DELETE",
8962
+ secure: true,
8963
+ ...params,
8964
+ }),
8965
+
8966
+ /**
8967
+ * No description
8968
+ *
8969
+ * @tags Encompass Custom Field Mappings
8970
+ * @name DisableEncompassCustomFieldMapping
8971
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/disable
7826
8972
  * @secure
7827
- * @response `200` `DocumentTemplateVersion` Success
8973
+ * @response `204` `void` No Content
8974
+ * @response `404` `void` Not Found
7828
8975
  */
7829
- getDocumentTemplateVersion: (
7830
- documentId: string,
7831
- id: string,
8976
+ disableEncompassCustomFieldMapping: (
8977
+ definitionId: string,
7832
8978
  params: RequestParams = {},
7833
8979
  ) =>
7834
- this.request<DocumentTemplateVersion, any>({
7835
- path: `/api/document-templates/${documentId}/versions/${id}`,
7836
- method: "GET",
8980
+ this.request<void, void>({
8981
+ path: `/api/los/encompass/custom-field-mappings/${definitionId}/disable`,
8982
+ method: "POST",
7837
8983
  secure: true,
7838
- format: "json",
7839
8984
  ...params,
7840
8985
  }),
7841
8986
 
7842
8987
  /**
7843
8988
  * No description
7844
8989
  *
7845
- * @tags DocumentTemplateVersions
7846
- * @name ReplaceDocumentTemplateVersion
7847
- * @summary Replace
7848
- * @request PUT:/api/document-templates/{documentId}/versions/{id}
8990
+ * @tags Encompass Custom Field Mappings
8991
+ * @name EnableEncompassCustomFieldMapping
8992
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/enable
7849
8993
  * @secure
7850
- * @response `200` `DocumentTemplateVersion` Success
8994
+ * @response `204` `void` No Content
8995
+ * @response `404` `void` Not Found
7851
8996
  */
7852
- replaceDocumentTemplateVersion: (
7853
- documentId: string,
7854
- id: string,
7855
- data: DocumentTemplateVersionUpdateRequest,
8997
+ enableEncompassCustomFieldMapping: (
8998
+ definitionId: string,
7856
8999
  params: RequestParams = {},
7857
9000
  ) =>
7858
- this.request<DocumentTemplateVersion, any>({
7859
- path: `/api/document-templates/${documentId}/versions/${id}`,
7860
- method: "PUT",
7861
- body: data,
9001
+ this.request<void, void>({
9002
+ path: `/api/los/encompass/custom-field-mappings/${definitionId}/enable`,
9003
+ method: "POST",
7862
9004
  secure: true,
7863
- type: ContentType.Json,
7864
- format: "json",
7865
9005
  ...params,
7866
9006
  }),
7867
9007
 
7868
9008
  /**
7869
9009
  * No description
7870
9010
  *
7871
- * @tags DocumentTemplateVersions
7872
- * @name DeleteDocumentTemplateVersion
7873
- * @summary Delete
7874
- * @request DELETE:/api/document-templates/{documentId}/versions/{id}
9011
+ * @tags Encompass Custom Fields
9012
+ * @name GetEncompassFields
9013
+ * @request GET:/api/los/encompass/custom-fields
7875
9014
  * @secure
7876
- * @response `200` `DocumentTemplateVersion` Success
9015
+ * @response `200` `(EncompassFieldListItem)[]` Success
9016
+ * @response `502` `ProblemDetails` Server Error
7877
9017
  */
7878
- deleteDocumentTemplateVersion: (
7879
- documentId: string,
7880
- id: string,
7881
- params: RequestParams = {},
7882
- ) =>
7883
- this.request<DocumentTemplateVersion, any>({
7884
- path: `/api/document-templates/${documentId}/versions/${id}`,
7885
- method: "DELETE",
9018
+ getEncompassFields: (params: RequestParams = {}) =>
9019
+ this.request<EncompassFieldListItem[], ProblemDetails>({
9020
+ path: `/api/los/encompass/custom-fields`,
9021
+ method: "GET",
7886
9022
  secure: true,
7887
9023
  format: "json",
7888
9024
  ...params,
@@ -8662,7 +9798,7 @@ export class Api<
8662
9798
  method: "POST",
8663
9799
  body: data,
8664
9800
  secure: true,
8665
- type: ContentType.JsonPatch,
9801
+ type: ContentType.Json,
8666
9802
  format: "json",
8667
9803
  ...params,
8668
9804
  }),
@@ -8935,7 +10071,7 @@ export class Api<
8935
10071
  method: "POST",
8936
10072
  body: data,
8937
10073
  secure: true,
8938
- type: ContentType.JsonPatch,
10074
+ type: ContentType.Json,
8939
10075
  format: "json",
8940
10076
  ...params,
8941
10077
  }),
@@ -9174,7 +10310,7 @@ export class Api<
9174
10310
  method: "POST",
9175
10311
  body: data,
9176
10312
  secure: true,
9177
- type: ContentType.JsonPatch,
10313
+ type: ContentType.Json,
9178
10314
  format: "json",
9179
10315
  ...params,
9180
10316
  }),
@@ -9498,6 +10634,122 @@ export class Api<
9498
10634
  ...params,
9499
10635
  }),
9500
10636
 
10637
+ /**
10638
+ * No description
10639
+ *
10640
+ * @tags LoanConsents
10641
+ * @name ResyncLoanConsents
10642
+ * @summary Resync loan consents to LOS
10643
+ * @request POST:/api/loans/{loanId}/consents/resync
10644
+ * @secure
10645
+ * @response `204` `void` No Content
10646
+ * @response `404` `ProblemDetails` Not Found
10647
+ * @response `422` `ProblemDetails` Client Error
10648
+ */
10649
+ resyncLoanConsents: (loanId: string, params: RequestParams = {}) =>
10650
+ this.request<void, ProblemDetails>({
10651
+ path: `/api/loans/${loanId}/consents/resync`,
10652
+ method: "POST",
10653
+ secure: true,
10654
+ ...params,
10655
+ }),
10656
+
10657
+ /**
10658
+ * No description
10659
+ *
10660
+ * @tags LoanCustomFieldValues
10661
+ * @name GetLoanCustomFieldValues
10662
+ * @summary Get all custom field values for a loan
10663
+ * @request GET:/api/loans/{loanId}/custom-fields
10664
+ * @secure
10665
+ * @response `200` `(CustomFieldValue)[]` Success
10666
+ */
10667
+ getLoanCustomFieldValues: (loanId: string, params: RequestParams = {}) =>
10668
+ this.request<CustomFieldValue[], any>({
10669
+ path: `/api/loans/${loanId}/custom-fields`,
10670
+ method: "GET",
10671
+ secure: true,
10672
+ format: "json",
10673
+ ...params,
10674
+ }),
10675
+
10676
+ /**
10677
+ * No description
10678
+ *
10679
+ * @tags LoanCustomFieldValues
10680
+ * @name BulkSetLoanCustomFieldValues
10681
+ * @summary Bulk set custom field values for a loan
10682
+ * @request PUT:/api/loans/{loanId}/custom-fields
10683
+ * @secure
10684
+ * @response `204` `void` No Content
10685
+ * @response `400` `ProblemDetails` Bad Request
10686
+ * @response `422` `ProblemDetails` Client Error
10687
+ */
10688
+ bulkSetLoanCustomFieldValues: (
10689
+ loanId: string,
10690
+ data: SetCustomFieldValueRequest[],
10691
+ params: RequestParams = {},
10692
+ ) =>
10693
+ this.request<void, ProblemDetails>({
10694
+ path: `/api/loans/${loanId}/custom-fields`,
10695
+ method: "PUT",
10696
+ body: data,
10697
+ secure: true,
10698
+ type: ContentType.Json,
10699
+ ...params,
10700
+ }),
10701
+
10702
+ /**
10703
+ * No description
10704
+ *
10705
+ * @tags LoanCustomFieldValues
10706
+ * @name SetLoanCustomFieldValue
10707
+ * @summary Set a single custom field value
10708
+ * @request PUT:/api/loans/{loanId}/custom-fields/{definitionId}
10709
+ * @secure
10710
+ * @response `204` `void` No Content
10711
+ * @response `400` `ProblemDetails` Bad Request
10712
+ * @response `404` `ProblemDetails` Not Found
10713
+ * @response `422` `ProblemDetails` Client Error
10714
+ */
10715
+ setLoanCustomFieldValue: (
10716
+ loanId: string,
10717
+ definitionId: string,
10718
+ data: SetSingleCustomFieldValueRequest,
10719
+ params: RequestParams = {},
10720
+ ) =>
10721
+ this.request<void, ProblemDetails>({
10722
+ path: `/api/loans/${loanId}/custom-fields/${definitionId}`,
10723
+ method: "PUT",
10724
+ body: data,
10725
+ secure: true,
10726
+ type: ContentType.Json,
10727
+ ...params,
10728
+ }),
10729
+
10730
+ /**
10731
+ * No description
10732
+ *
10733
+ * @tags LoanCustomFieldValues
10734
+ * @name DeleteLoanCustomFieldValue
10735
+ * @summary Remove a custom field value
10736
+ * @request DELETE:/api/loans/{loanId}/custom-fields/{definitionId}
10737
+ * @secure
10738
+ * @response `204` `void` No Content
10739
+ * @response `404` `ProblemDetails` Not Found
10740
+ */
10741
+ deleteLoanCustomFieldValue: (
10742
+ loanId: string,
10743
+ definitionId: string,
10744
+ params: RequestParams = {},
10745
+ ) =>
10746
+ this.request<void, ProblemDetails>({
10747
+ path: `/api/loans/${loanId}/custom-fields/${definitionId}`,
10748
+ method: "DELETE",
10749
+ secure: true,
10750
+ ...params,
10751
+ }),
10752
+
9501
10753
  /**
9502
10754
  * No description
9503
10755
  *
@@ -9527,17 +10779,191 @@ export class Api<
9527
10779
  * @secure
9528
10780
  * @response `201` `(string)[]` Created
9529
10781
  */
9530
- createLoanDocumentBuckets: (
9531
- loanId: string,
9532
- data: string[],
9533
- params: RequestParams = {},
9534
- ) =>
9535
- this.request<string[], any>({
9536
- path: `/api/loans/${loanId}/documents/buckets`,
9537
- method: "POST",
9538
- body: data,
10782
+ createLoanDocumentBuckets: (
10783
+ loanId: string,
10784
+ data: string[],
10785
+ params: RequestParams = {},
10786
+ ) =>
10787
+ this.request<string[], any>({
10788
+ path: `/api/loans/${loanId}/documents/buckets`,
10789
+ method: "POST",
10790
+ body: data,
10791
+ secure: true,
10792
+ type: ContentType.Json,
10793
+ format: "json",
10794
+ ...params,
10795
+ }),
10796
+
10797
+ /**
10798
+ * No description
10799
+ *
10800
+ * @tags LoanDocumentFolders
10801
+ * @name GetLoanDocumentFolders
10802
+ * @summary Get all loan document folders for the current account
10803
+ * @request GET:/api/loan-document-folders
10804
+ * @secure
10805
+ * @response `200` `(LoanDocumentFolder)[]` Success
10806
+ */
10807
+ getLoanDocumentFolders: (params: RequestParams = {}) =>
10808
+ this.request<LoanDocumentFolder[], any>({
10809
+ path: `/api/loan-document-folders`,
10810
+ method: "GET",
10811
+ secure: true,
10812
+ format: "json",
10813
+ ...params,
10814
+ }),
10815
+
10816
+ /**
10817
+ * No description
10818
+ *
10819
+ * @tags LoanDocumentFolders
10820
+ * @name CreateLoanDocumentFolder
10821
+ * @summary Create a loan document folder
10822
+ * @request POST:/api/loan-document-folders
10823
+ * @secure
10824
+ * @response `201` `LoanDocumentFolder` Created
10825
+ * @response `409` `ProblemDetails` Conflict
10826
+ * @response `422` `ProblemDetails` Client Error
10827
+ */
10828
+ createLoanDocumentFolder: (
10829
+ data: CreateLoanDocumentFolderRequest,
10830
+ params: RequestParams = {},
10831
+ ) =>
10832
+ this.request<LoanDocumentFolder, ProblemDetails>({
10833
+ path: `/api/loan-document-folders`,
10834
+ method: "POST",
10835
+ body: data,
10836
+ secure: true,
10837
+ type: ContentType.Json,
10838
+ format: "json",
10839
+ ...params,
10840
+ }),
10841
+
10842
+ /**
10843
+ * No description
10844
+ *
10845
+ * @tags LoanDocumentFolders
10846
+ * @name GetLoanDocumentFolderById
10847
+ * @summary Get a loan document folder by ID
10848
+ * @request GET:/api/loan-document-folders/{id}
10849
+ * @secure
10850
+ * @response `200` `LoanDocumentFolder` Success
10851
+ * @response `404` `ProblemDetails` Not Found
10852
+ */
10853
+ getLoanDocumentFolderById: (id: string, params: RequestParams = {}) =>
10854
+ this.request<LoanDocumentFolder, ProblemDetails>({
10855
+ path: `/api/loan-document-folders/${id}`,
10856
+ method: "GET",
10857
+ secure: true,
10858
+ format: "json",
10859
+ ...params,
10860
+ }),
10861
+
10862
+ /**
10863
+ * No description
10864
+ *
10865
+ * @tags LoanDocumentFolders
10866
+ * @name UpdateLoanDocumentFolder
10867
+ * @summary Update a loan document folder. Blocked when folder has ever been referenced, except for permission edits on the system-default Unassigned folder.
10868
+ * @request PUT:/api/loan-document-folders/{id}
10869
+ * @secure
10870
+ * @response `200` `LoanDocumentFolder` Success
10871
+ * @response `400` `ProblemDetails` Bad Request
10872
+ * @response `404` `ProblemDetails` Not Found
10873
+ * @response `409` `ProblemDetails` Conflict
10874
+ * @response `422` `ProblemDetails` Client Error
10875
+ */
10876
+ updateLoanDocumentFolder: (
10877
+ id: string,
10878
+ data: UpdateLoanDocumentFolderRequest,
10879
+ params: RequestParams = {},
10880
+ ) =>
10881
+ this.request<LoanDocumentFolder, ProblemDetails>({
10882
+ path: `/api/loan-document-folders/${id}`,
10883
+ method: "PUT",
10884
+ body: data,
10885
+ secure: true,
10886
+ type: ContentType.Json,
10887
+ format: "json",
10888
+ ...params,
10889
+ }),
10890
+
10891
+ /**
10892
+ * No description
10893
+ *
10894
+ * @tags LoanDocumentFolders
10895
+ * @name DeleteLoanDocumentFolder
10896
+ * @summary Delete a loan document folder. Allowed only when the folder has never been referenced and is not the system-default Unassigned folder.
10897
+ * @request DELETE:/api/loan-document-folders/{id}
10898
+ * @secure
10899
+ * @response `204` `void` No Content
10900
+ * @response `400` `ProblemDetails` Bad Request
10901
+ * @response `404` `ProblemDetails` Not Found
10902
+ * @response `409` `ProblemDetails` Conflict
10903
+ */
10904
+ deleteLoanDocumentFolder: (id: string, params: RequestParams = {}) =>
10905
+ this.request<void, ProblemDetails>({
10906
+ path: `/api/loan-document-folders/${id}`,
10907
+ method: "DELETE",
10908
+ secure: true,
10909
+ ...params,
10910
+ }),
10911
+
10912
+ /**
10913
+ * No description
10914
+ *
10915
+ * @tags LoanDocumentFolders
10916
+ * @name DeactivateLoanDocumentFolder
10917
+ * @summary Deactivate a loan document folder. Rejected for the system-default Unassigned folder.
10918
+ * @request POST:/api/loan-document-folders/{id}/deactivate
10919
+ * @secure
10920
+ * @response `204` `void` No Content
10921
+ * @response `400` `ProblemDetails` Bad Request
10922
+ * @response `404` `ProblemDetails` Not Found
10923
+ */
10924
+ deactivateLoanDocumentFolder: (id: string, params: RequestParams = {}) =>
10925
+ this.request<void, ProblemDetails>({
10926
+ path: `/api/loan-document-folders/${id}/deactivate`,
10927
+ method: "POST",
10928
+ secure: true,
10929
+ ...params,
10930
+ }),
10931
+
10932
+ /**
10933
+ * No description
10934
+ *
10935
+ * @tags LoanDocumentFolders
10936
+ * @name ReactivateLoanDocumentFolder
10937
+ * @summary Reactivate a loan document folder.
10938
+ * @request POST:/api/loan-document-folders/{id}/reactivate
10939
+ * @secure
10940
+ * @response `204` `void` No Content
10941
+ * @response `404` `ProblemDetails` Not Found
10942
+ */
10943
+ reactivateLoanDocumentFolder: (id: string, params: RequestParams = {}) =>
10944
+ this.request<void, ProblemDetails>({
10945
+ path: `/api/loan-document-folders/${id}/reactivate`,
10946
+ method: "POST",
10947
+ secure: true,
10948
+ ...params,
10949
+ }),
10950
+
10951
+ /**
10952
+ * No description
10953
+ *
10954
+ * @tags LoanDocumentFolders
10955
+ * @name GetLoanDocumentFolderUsage
10956
+ * @summary Get folder usage. Returns HasEverBeenReferenced including soft-deleted documents and tasks.
10957
+ * @request GET:/api/loan-document-folders/{id}/usage
10958
+ * @secure
10959
+ * @response `200` `LoanDocumentFolderUsage` Success
10960
+ * @response `404` `ProblemDetails` Not Found
10961
+ */
10962
+ getLoanDocumentFolderUsage: (id: string, params: RequestParams = {}) =>
10963
+ this.request<LoanDocumentFolderUsage, ProblemDetails>({
10964
+ path: `/api/loan-document-folders/${id}/usage`,
10965
+ method: "GET",
9539
10966
  secure: true,
9540
- type: ContentType.Json,
9541
10967
  format: "json",
9542
10968
  ...params,
9543
10969
  }),
@@ -9571,6 +10997,32 @@ export class Api<
9571
10997
  ...params,
9572
10998
  }),
9573
10999
 
11000
+ /**
11001
+ * No description
11002
+ *
11003
+ * @tags LoanDocuments
11004
+ * @name GetLoanDocumentPreviews
11005
+ * @summary Get document previews in batch
11006
+ * @request POST:/api/loans/{loanId}/documents/previews
11007
+ * @secure
11008
+ * @response `200` `Record<string,string>` Success
11009
+ * @response `400` `ProblemDetails` Bad Request
11010
+ */
11011
+ getLoanDocumentPreviews: (
11012
+ loanId: string,
11013
+ data: LoanDocumentPreviewsRequest,
11014
+ params: RequestParams = {},
11015
+ ) =>
11016
+ this.request<Record<string, string>, ProblemDetails>({
11017
+ path: `/api/loans/${loanId}/documents/previews`,
11018
+ method: "POST",
11019
+ body: data,
11020
+ secure: true,
11021
+ type: ContentType.Json,
11022
+ format: "json",
11023
+ ...params,
11024
+ }),
11025
+
9574
11026
  /**
9575
11027
  * No description
9576
11028
  *
@@ -9609,13 +11061,15 @@ export class Api<
9609
11061
  * @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
9610
11062
  *
9611
11063
  * @tags LoanDocuments
9612
- * @name GetLoanDocumentFolders
11064
+ * @name GetLoanDocumentFolders2
9613
11065
  * @summary Get document folder hierarchy
9614
11066
  * @request POST:/api/loans/{loanId}/documents/folders
11067
+ * @originalName getLoanDocumentFolders
11068
+ * @duplicate
9615
11069
  * @secure
9616
11070
  * @response `200` `(DocumentFolder)[]` Success
9617
11071
  */
9618
- getLoanDocumentFolders: (
11072
+ getLoanDocumentFolders2: (
9619
11073
  loanId: string,
9620
11074
  data: DocumentFoldersRequest,
9621
11075
  query?: {
@@ -10663,6 +12117,33 @@ export class Api<
10663
12117
  ...params,
10664
12118
  }),
10665
12119
 
12120
+ /**
12121
+ * No description
12122
+ *
12123
+ * @tags Loans
12124
+ * @name TriggerAso
12125
+ * @summary Trigger ASO services
12126
+ * @request POST:/api/loans/{loanId}/aso
12127
+ * @secure
12128
+ * @response `200` `AutomatedService` Success
12129
+ * @response `400` `ProblemDetails` Bad Request
12130
+ * @response `404` `ProblemDetails` Not Found
12131
+ */
12132
+ triggerAso: (
12133
+ loanId: string,
12134
+ data: TriggerAsoRequest,
12135
+ params: RequestParams = {},
12136
+ ) =>
12137
+ this.request<AutomatedService, ProblemDetails>({
12138
+ path: `/api/loans/${loanId}/aso`,
12139
+ method: "POST",
12140
+ body: data,
12141
+ secure: true,
12142
+ type: ContentType.JsonPatch,
12143
+ format: "json",
12144
+ ...params,
12145
+ }),
12146
+
10666
12147
  /**
10667
12148
  * No description
10668
12149
  *
@@ -10694,7 +12175,7 @@ export class Api<
10694
12175
  query: query,
10695
12176
  body: data,
10696
12177
  secure: true,
10697
- type: ContentType.JsonPatch,
12178
+ type: ContentType.Json,
10698
12179
  format: "json",
10699
12180
  ...params,
10700
12181
  }),
@@ -10746,7 +12227,7 @@ export class Api<
10746
12227
  method: "POST",
10747
12228
  body: data,
10748
12229
  secure: true,
10749
- type: ContentType.JsonPatch,
12230
+ type: ContentType.Json,
10750
12231
  format: "json",
10751
12232
  ...params,
10752
12233
  }),
@@ -10885,7 +12366,91 @@ export class Api<
10885
12366
  /**
10886
12367
  * No description
10887
12368
  *
12369
+ * @tags LoanTaskNotifications
12370
+ * @name SendLoanTaskReminder
12371
+ * @summary Send Loan Task Reminder
12372
+ * @request POST:/api/loans/{loanID}/tasks/reminders
12373
+ * @secure
12374
+ * @response `204` `void` No Content
12375
+ * @response `400` `ProblemDetails` Bad Request
12376
+ * @response `404` `ProblemDetails` Not Found
12377
+ */
12378
+ sendLoanTaskReminder: (
12379
+ loanId: string,
12380
+ data: SendLoanTaskReminderRequest,
12381
+ params: RequestParams = {},
12382
+ ) =>
12383
+ this.request<void, ProblemDetails>({
12384
+ path: `/api/loans/${loanId}/tasks/reminders`,
12385
+ method: "POST",
12386
+ body: data,
12387
+ secure: true,
12388
+ type: ContentType.Json,
12389
+ ...params,
12390
+ }),
12391
+
12392
+ /**
12393
+ * @description Search tasks across all loans
12394
+ *
12395
+ * @tags LoanTasks
12396
+ * @name SearchLoanTasks
12397
+ * @summary Search
12398
+ * @request POST:/api/loans/tasks/search
12399
+ * @secure
12400
+ * @response `200` `UserLoanTaskPaginated` Success
12401
+ */
12402
+ searchLoanTasks: (
12403
+ data: LoanTaskSearchRequest,
12404
+ query?: {
12405
+ /** @format int32 */
12406
+ pageSize?: number;
12407
+ /** @format int32 */
12408
+ pageNumber?: number;
12409
+ sortBy?: string;
12410
+ sortDirection?: string;
12411
+ },
12412
+ params: RequestParams = {},
12413
+ ) =>
12414
+ this.request<UserLoanTaskPaginated, any>({
12415
+ path: `/api/loans/tasks/search`,
12416
+ method: "POST",
12417
+ query: query,
12418
+ body: data,
12419
+ secure: true,
12420
+ type: ContentType.Json,
12421
+ format: "json",
12422
+ ...params,
12423
+ }),
12424
+
12425
+ /**
12426
+ * @description Returns task counts grouped by status for loans accessible to the current user based on their role
12427
+ *
10888
12428
  * @tags LoanTasks
12429
+ * @name SearchLoanTasksSummary
12430
+ * @summary Search Summary
12431
+ * @request POST:/api/loans/tasks/search/summary
12432
+ * @secure
12433
+ * @response `200` `(LoanTaskStatusSummary)[]` Success
12434
+ * @response `422` `UnprocessableEntity` Client Error
12435
+ */
12436
+ searchLoanTasksSummary: (
12437
+ data: LoanTaskSearchRequest,
12438
+ params: RequestParams = {},
12439
+ ) =>
12440
+ this.request<LoanTaskStatusSummary[], UnprocessableEntity>({
12441
+ path: `/api/loans/tasks/search/summary`,
12442
+ method: "POST",
12443
+ body: data,
12444
+ secure: true,
12445
+ type: ContentType.Json,
12446
+ format: "json",
12447
+ ...params,
12448
+ }),
12449
+
12450
+ /**
12451
+ * No description
12452
+ *
12453
+ * @tags LoanTasksForSingleLoan
10889
12454
  * @name GetLoanTasks
10890
12455
  * @summary Get All
10891
12456
  * @request GET:/api/loans/{loanID}/tasks
@@ -10905,7 +12470,7 @@ export class Api<
10905
12470
  /**
10906
12471
  * No description
10907
12472
  *
10908
- * @tags LoanTasks
12473
+ * @tags LoanTasksForSingleLoan
10909
12474
  * @name GetLoanTask
10910
12475
  * @summary Get by ID
10911
12476
  * @request GET:/api/loans/{loanID}/tasks/{id}
@@ -10925,7 +12490,7 @@ export class Api<
10925
12490
  /**
10926
12491
  * @description Get the difference between the current loan tasks and the tasks generated by business rules
10927
12492
  *
10928
- * @tags LoanTasks
12493
+ * @tags LoanTasksForSingleLoan
10929
12494
  * @name GetLoanTaskDifference
10930
12495
  * @summary Get Difference
10931
12496
  * @request GET:/api/loans/{loanID}/tasks/diff
@@ -10945,7 +12510,7 @@ export class Api<
10945
12510
  /**
10946
12511
  * No description
10947
12512
  *
10948
- * @tags LoanTasks
12513
+ * @tags LoanTasksForSingleLoan
10949
12514
  * @name CreateLoanTask
10950
12515
  * @summary Create
10951
12516
  * @request POST:/api/loans/{loanID}/tasks/{taskID}
@@ -10972,7 +12537,7 @@ export class Api<
10972
12537
  /**
10973
12538
  * No description
10974
12539
  *
10975
- * @tags LoanTasks
12540
+ * @tags LoanTasksForSingleLoan
10976
12541
  * @name ImportLoanTask
10977
12542
  * @summary Import
10978
12543
  * @request POST:/api/loans/{loanID}/tasks/import
@@ -10998,7 +12563,7 @@ export class Api<
10998
12563
  /**
10999
12564
  * No description
11000
12565
  *
11001
- * @tags LoanTasks
12566
+ * @tags LoanTasksForSingleLoan
11002
12567
  * @name ReplaceLoanTask
11003
12568
  * @summary Replace
11004
12569
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
@@ -11025,7 +12590,7 @@ export class Api<
11025
12590
  /**
11026
12591
  * No description
11027
12592
  *
11028
- * @tags LoanTasks
12593
+ * @tags LoanTasksForSingleLoan
11029
12594
  * @name DeleteLoanTask
11030
12595
  * @summary Delete
11031
12596
  * @request DELETE:/api/loans/{loanID}/tasks/{userLoanTaskID}
@@ -11079,13 +12644,14 @@ export class Api<
11079
12644
  * @request GET:/api/loans/{loanId}/users/{userId}/consents
11080
12645
  * @secure
11081
12646
  * @response `200` `(UserLoanConsent)[]` Success
12647
+ * @response `403` `ProblemDetails` Forbidden
11082
12648
  */
11083
12649
  getLoanUserConsents: (
11084
12650
  loanId: string,
11085
12651
  userId: string,
11086
12652
  params: RequestParams = {},
11087
12653
  ) =>
11088
- this.request<UserLoanConsent[], any>({
12654
+ this.request<UserLoanConsent[], ProblemDetails>({
11089
12655
  path: `/api/loans/${loanId}/users/${userId}/consents`,
11090
12656
  method: "GET",
11091
12657
  secure: true,
@@ -11183,6 +12749,39 @@ export class Api<
11183
12749
  ...params,
11184
12750
  }),
11185
12751
 
12752
+ /**
12753
+ * No description
12754
+ *
12755
+ * @tags LosOperationTracking
12756
+ * @name SearchLosOperationTracking
12757
+ * @summary Search LOS operation tracking
12758
+ * @request POST:/api/los-operation-tracking/search
12759
+ * @secure
12760
+ * @response `200` `LosOperationTrackingPaginated` Success
12761
+ */
12762
+ searchLosOperationTracking: (
12763
+ data: LosOperationTrackingSearchCriteria,
12764
+ query?: {
12765
+ /** @format int32 */
12766
+ pageSize?: number;
12767
+ /** @format int32 */
12768
+ pageNumber?: number;
12769
+ sortBy?: string;
12770
+ sortDirection?: string;
12771
+ },
12772
+ params: RequestParams = {},
12773
+ ) =>
12774
+ this.request<LosOperationTrackingPaginated, any>({
12775
+ path: `/api/los-operation-tracking/search`,
12776
+ method: "POST",
12777
+ query: query,
12778
+ body: data,
12779
+ secure: true,
12780
+ type: ContentType.Json,
12781
+ format: "json",
12782
+ ...params,
12783
+ }),
12784
+
11186
12785
  /**
11187
12786
  * No description
11188
12787
  *
@@ -11739,16 +13338,7 @@ export class Api<
11739
13338
  query?: {
11740
13339
  showAll?: boolean;
11741
13340
  /** @default "Realtor" */
11742
- role?:
11743
- | "Borrower"
11744
- | "LoanOfficer"
11745
- | "Admin"
11746
- | "SuperAdmin"
11747
- | "Realtor"
11748
- | "SettlementAgent"
11749
- | "LoanProcessor"
11750
- | "LoanOfficerAssistant"
11751
- | "SystemAdmin";
13341
+ role?: GetPartnersParamsRoleEnum;
11752
13342
  /** @format int32 */
11753
13343
  pageSize?: number;
11754
13344
  /** @format int32 */
@@ -12084,7 +13674,7 @@ export class Api<
12084
13674
  * @response `404` `ProblemDetails` Not Found
12085
13675
  */
12086
13676
  getSamlMetadata: (
12087
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13677
+ sSoIntegration: GetSamlMetadataParamsEnum,
12088
13678
  ssoIntegration: string,
12089
13679
  params: RequestParams = {},
12090
13680
  ) =>
@@ -12106,7 +13696,7 @@ export class Api<
12106
13696
  * @response `200` `File` Success
12107
13697
  */
12108
13698
  createOrReplaceSamlMetadata: (
12109
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13699
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
12110
13700
  ssoIntegration: string,
12111
13701
  params: RequestParams = {},
12112
13702
  ) =>
@@ -12484,6 +14074,162 @@ export class Api<
12484
14074
  ...params,
12485
14075
  }),
12486
14076
 
14077
+ /**
14078
+ * No description
14079
+ *
14080
+ * @tags TheBigPOS
14081
+ * @name GetEncompassCredentials
14082
+ * @request GET:/api/los/encompass/credentials
14083
+ * @secure
14084
+ * @response `200` `EncompassCredentialsDetail` Success
14085
+ * @response `204` `void` No Content
14086
+ */
14087
+ getEncompassCredentials: (params: RequestParams = {}) =>
14088
+ this.request<EncompassCredentialsDetail, any>({
14089
+ path: `/api/los/encompass/credentials`,
14090
+ method: "GET",
14091
+ secure: true,
14092
+ format: "json",
14093
+ ...params,
14094
+ }),
14095
+
14096
+ /**
14097
+ * No description
14098
+ *
14099
+ * @tags TheBigPOS
14100
+ * @name CreateEncompassCredentials
14101
+ * @request POST:/api/los/encompass/credentials
14102
+ * @secure
14103
+ * @response `201` `LosCredentials` Created
14104
+ */
14105
+ createEncompassCredentials: (
14106
+ data: EncompassCredentialsRequest,
14107
+ params: RequestParams = {},
14108
+ ) =>
14109
+ this.request<LosCredentials, any>({
14110
+ path: `/api/los/encompass/credentials`,
14111
+ method: "POST",
14112
+ body: data,
14113
+ secure: true,
14114
+ type: ContentType.Json,
14115
+ format: "json",
14116
+ ...params,
14117
+ }),
14118
+
14119
+ /**
14120
+ * No description
14121
+ *
14122
+ * @tags TheBigPOS
14123
+ * @name UpdateEncompassCredentials
14124
+ * @request PUT:/api/los/encompass/credentials
14125
+ * @secure
14126
+ * @response `200` `EncompassCredentialsDetail` Success
14127
+ */
14128
+ updateEncompassCredentials: (
14129
+ data: EncompassCredentialsRequest,
14130
+ params: RequestParams = {},
14131
+ ) =>
14132
+ this.request<EncompassCredentialsDetail, any>({
14133
+ path: `/api/los/encompass/credentials`,
14134
+ method: "PUT",
14135
+ body: data,
14136
+ secure: true,
14137
+ type: ContentType.Json,
14138
+ format: "json",
14139
+ ...params,
14140
+ }),
14141
+
14142
+ /**
14143
+ * No description
14144
+ *
14145
+ * @tags TheBigPOS
14146
+ * @name GetEncompassWebhooks
14147
+ * @request GET:/api/los/encompass/webhooks
14148
+ * @secure
14149
+ * @response `200` `(LosWebhook)[]` Success
14150
+ */
14151
+ getEncompassWebhooks: (params: RequestParams = {}) =>
14152
+ this.request<LosWebhook[], any>({
14153
+ path: `/api/los/encompass/webhooks`,
14154
+ method: "GET",
14155
+ secure: true,
14156
+ format: "json",
14157
+ ...params,
14158
+ }),
14159
+
14160
+ /**
14161
+ * No description
14162
+ *
14163
+ * @tags TheBigPOS
14164
+ * @name CreateEncompassWebhook
14165
+ * @request POST:/api/los/encompass/webhooks
14166
+ * @secure
14167
+ * @response `201` `LosWebhook` Created
14168
+ */
14169
+ createEncompassWebhook: (
14170
+ data: CreateWebhookRequest,
14171
+ params: RequestParams = {},
14172
+ ) =>
14173
+ this.request<LosWebhook, any>({
14174
+ path: `/api/los/encompass/webhooks`,
14175
+ method: "POST",
14176
+ body: data,
14177
+ secure: true,
14178
+ type: ContentType.Json,
14179
+ format: "json",
14180
+ ...params,
14181
+ }),
14182
+
14183
+ /**
14184
+ * No description
14185
+ *
14186
+ * @tags TheBigPOS
14187
+ * @name DeleteEncompassWebhook
14188
+ * @request DELETE:/api/los/encompass/webhooks/{webhookId}
14189
+ * @secure
14190
+ * @response `204` `void` No Content
14191
+ */
14192
+ deleteEncompassWebhook: (webhookId: string, params: RequestParams = {}) =>
14193
+ this.request<void, any>({
14194
+ path: `/api/los/encompass/webhooks/${webhookId}`,
14195
+ method: "DELETE",
14196
+ secure: true,
14197
+ ...params,
14198
+ }),
14199
+
14200
+ /**
14201
+ * No description
14202
+ *
14203
+ * @tags TheBigPOS
14204
+ * @name SearchLosSyncs
14205
+ * @request POST:/api/los/encompass/syncs/{loanId}/search
14206
+ * @secure
14207
+ * @response `200` `LosSyncPaginated` Success
14208
+ */
14209
+ searchLosSyncs: (
14210
+ loanId: string,
14211
+ query: {
14212
+ /** @format int32 */
14213
+ pageSize: number;
14214
+ /** @format int32 */
14215
+ pageNumber: number;
14216
+ sortBy?: string;
14217
+ sortDirection?: string;
14218
+ },
14219
+ data: LosSyncSearchCriteria,
14220
+ params: RequestParams = {},
14221
+ ) =>
14222
+ this.request<LosSyncPaginated, any>({
14223
+ path: `/api/los/encompass/syncs/${loanId}/search`,
14224
+ method: "POST",
14225
+ query: query,
14226
+ body: data,
14227
+ secure: true,
14228
+ type: ContentType.Json,
14229
+ format: "json",
14230
+ ...params,
14231
+ }),
14232
+
12487
14233
  /**
12488
14234
  * No description
12489
14235
  *