@matech/thebigpos-sdk 2.40.4-rc1 → 2.40.6-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -356,8 +356,6 @@ export type EncompassLogOperationType =
356
356
  | "General"
357
357
  | "FieldReader";
358
358
 
359
- export type EncompassEnvironment = "Production" | "UAT";
360
-
361
359
  export type DraftType = "NewLoan" | "EditLoan";
362
360
 
363
361
  export type CustomFieldEntityType = "Loan";
@@ -375,6 +373,8 @@ export type CustomFieldAccessLevel = "NoAccess" | "ReadOnly" | "ReadWrite";
375
373
 
376
374
  export type ConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
377
375
 
376
+ export type ConsentSource = "TheBigPOS" | "ConsumerConnect";
377
+
378
378
  export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
379
379
 
380
380
  export type BranchType = "Mortgage" | "RealEstate";
@@ -483,7 +483,7 @@ export interface AccountBilling {
483
483
  }
484
484
 
485
485
  export interface AccountBillingRequest {
486
- billingType: "ClosedLoan" | "LoanOfficer";
486
+ billingType: AccountBillingRequestBillingTypeEnum;
487
487
  /**
488
488
  * @format double
489
489
  * @min 0
@@ -843,14 +843,7 @@ export interface AuditLogEntry {
843
843
  /** @format uuid */
844
844
  id: string;
845
845
  entityType: string;
846
- changeType:
847
- | "Created"
848
- | "Modified"
849
- | "SoftDeleted"
850
- | "HardDeleted"
851
- | "Restored"
852
- | "Deactivated"
853
- | "Reactivated";
846
+ changeType: AuditLogEntryChangeTypeEnum;
854
847
  /** @format uuid */
855
848
  entityId: string;
856
849
  performedBy?: AuditLogUser | null;
@@ -1164,7 +1157,7 @@ export interface CorporateSearchCriteria {
1164
1157
  }
1165
1158
 
1166
1159
  export interface CreateAccessScopeRequest {
1167
- scopeType: "User" | "Branch";
1160
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1168
1161
  /** @format uuid */
1169
1162
  userId?: string | null;
1170
1163
  /** @format uuid */
@@ -1188,7 +1181,7 @@ export interface CreateAccountRequest {
1188
1181
  */
1189
1182
  nlmsid: number;
1190
1183
  settings: AccountSettingsRequest;
1191
- environment: "Development" | "Staging" | "UAT" | "Production";
1184
+ environment: CreateAccountRequestEnvironmentEnum;
1192
1185
  losIntegration: LOSIntegration;
1193
1186
  billingSettings: AccountBillingRequest;
1194
1187
  }
@@ -1226,15 +1219,8 @@ export interface CreateCustomFieldDefinitionRequest {
1226
1219
  name: string;
1227
1220
  defaultValue?: string | null;
1228
1221
  regexPattern?: string | null;
1229
- dataType:
1230
- | "String"
1231
- | "Number"
1232
- | "Decimal"
1233
- | "Boolean"
1234
- | "Date"
1235
- | "SingleSelect"
1236
- | "MultiSelect";
1237
- entityType: "Loan";
1222
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1223
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1238
1224
  options?: CustomFieldOptionRequest[] | null;
1239
1225
  permissions?: CustomFieldPermissionRequest[] | null;
1240
1226
  }
@@ -1256,20 +1242,7 @@ export interface CreateDocumentTemplateRequest {
1256
1242
  export interface CreateGroupMemberRequest {
1257
1243
  /** @format uuid */
1258
1244
  userId: string;
1259
- loanRole:
1260
- | "Borrower"
1261
- | "CoBorrower"
1262
- | "NonBorrower"
1263
- | "LoanOfficer"
1264
- | "LoanProcessor"
1265
- | "LoanOfficerAssistant"
1266
- | "SupportingLoanOfficer"
1267
- | "BuyerAgent"
1268
- | "SellerAgent"
1269
- | "TitleInsuranceAgent"
1270
- | "EscrowAgent"
1271
- | "SettlementAgent"
1272
- | "Admin";
1245
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1273
1246
  }
1274
1247
 
1275
1248
  export interface CreateInviteRequest {
@@ -1281,7 +1254,7 @@ export interface CreateInviteRequest {
1281
1254
  emailAddress: string;
1282
1255
  phoneNumber?: string | null;
1283
1256
  /** @deprecated */
1284
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1257
+ relationship: CreateInviteRequestRelationshipEnum;
1285
1258
  loanID: string;
1286
1259
  route?: string | null;
1287
1260
  /** @format uuid */
@@ -1313,7 +1286,7 @@ export interface CreateLoanImportRequest {
1313
1286
  * @minLength 1
1314
1287
  */
1315
1288
  startDate: string;
1316
- importMode: "All" | "NewOnly" | "UpdateOnly";
1289
+ importMode: CreateLoanImportRequestImportModeEnum;
1317
1290
  }
1318
1291
 
1319
1292
  export interface CreateSession {
@@ -1335,20 +1308,7 @@ export interface CreateUserDeviceRequest {
1335
1308
  }
1336
1309
 
1337
1310
  export interface CreateUserDraft {
1338
- loanRole:
1339
- | "Borrower"
1340
- | "CoBorrower"
1341
- | "NonBorrower"
1342
- | "LoanOfficer"
1343
- | "LoanProcessor"
1344
- | "LoanOfficerAssistant"
1345
- | "SupportingLoanOfficer"
1346
- | "BuyerAgent"
1347
- | "SellerAgent"
1348
- | "TitleInsuranceAgent"
1349
- | "EscrowAgent"
1350
- | "SettlementAgent"
1351
- | "Admin";
1311
+ loanRole: CreateUserDraftLoanRoleEnum;
1352
1312
  }
1353
1313
 
1354
1314
  export interface CreateUserGroupRequest {
@@ -1435,15 +1395,8 @@ export interface CustomFieldDefinition {
1435
1395
  name: string;
1436
1396
  defaultValue?: string | null;
1437
1397
  regexPattern?: string | null;
1438
- dataType:
1439
- | "String"
1440
- | "Number"
1441
- | "Decimal"
1442
- | "Boolean"
1443
- | "Date"
1444
- | "SingleSelect"
1445
- | "MultiSelect";
1446
- entityType: "Loan";
1398
+ dataType: CustomFieldDefinitionDataTypeEnum;
1399
+ entityType: CustomFieldDefinitionEntityTypeEnum;
1447
1400
  options: CustomFieldOption[];
1448
1401
  permissions: CustomFieldPermission[];
1449
1402
  encompassMapping?: EncompassMapping | null;
@@ -1458,14 +1411,7 @@ export interface CustomFieldEntry {
1458
1411
  displayOrder: number;
1459
1412
  name: string;
1460
1413
  value: string;
1461
- dataType:
1462
- | "String"
1463
- | "Number"
1464
- | "Decimal"
1465
- | "Boolean"
1466
- | "Date"
1467
- | "SingleSelect"
1468
- | "MultiSelect";
1414
+ dataType: CustomFieldEntryDataTypeEnum;
1469
1415
  }
1470
1416
 
1471
1417
  export interface CustomFieldOption {
@@ -1485,31 +1431,13 @@ export interface CustomFieldOptionRequest {
1485
1431
  export interface CustomFieldPermission {
1486
1432
  /** @format uuid */
1487
1433
  id: string;
1488
- role:
1489
- | "Borrower"
1490
- | "LoanOfficer"
1491
- | "Admin"
1492
- | "SuperAdmin"
1493
- | "Realtor"
1494
- | "SettlementAgent"
1495
- | "LoanProcessor"
1496
- | "LoanOfficerAssistant"
1497
- | "SystemAdmin";
1498
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1434
+ role: CustomFieldPermissionRoleEnum;
1435
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
1499
1436
  }
1500
1437
 
1501
1438
  export interface CustomFieldPermissionRequest {
1502
- role:
1503
- | "Borrower"
1504
- | "LoanOfficer"
1505
- | "Admin"
1506
- | "SuperAdmin"
1507
- | "Realtor"
1508
- | "SettlementAgent"
1509
- | "LoanProcessor"
1510
- | "LoanOfficerAssistant"
1511
- | "SystemAdmin";
1512
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1439
+ role: CustomFieldPermissionRequestRoleEnum;
1440
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1513
1441
  }
1514
1442
 
1515
1443
  export interface CustomFieldValue {
@@ -1521,14 +1449,7 @@ export interface CustomFieldValue {
1521
1449
  customFieldDefinitionID: string;
1522
1450
  value: string;
1523
1451
  definitionName: string;
1524
- dataType:
1525
- | "String"
1526
- | "Number"
1527
- | "Decimal"
1528
- | "Boolean"
1529
- | "Date"
1530
- | "SingleSelect"
1531
- | "MultiSelect";
1452
+ dataType: CustomFieldValueDataTypeEnum;
1532
1453
  }
1533
1454
 
1534
1455
  export interface DetailedUser {
@@ -1788,7 +1709,7 @@ export interface Draft {
1788
1709
  siteConfiguration: SiteConfigurationReduced;
1789
1710
  /** @format uuid */
1790
1711
  loanID?: string | null;
1791
- type: "NewLoan" | "EditLoan";
1712
+ type: DraftTypeEnum;
1792
1713
  isCoBorrower: boolean;
1793
1714
  }
1794
1715
 
@@ -1807,7 +1728,7 @@ export interface DraftContent {
1807
1728
  siteConfiguration: SiteConfigurationReduced;
1808
1729
  /** @format uuid */
1809
1730
  loanID?: string | null;
1810
- type: "NewLoan" | "EditLoan";
1731
+ type: DraftContentTypeEnum;
1811
1732
  isCoBorrower: boolean;
1812
1733
  applicationPayload: any;
1813
1734
  }
@@ -1897,9 +1818,7 @@ export interface EncompassCredentialsDetail {
1897
1818
  defaultLoanOfficerUserName?: string | null;
1898
1819
  clearStateIfUnlicensed: boolean;
1899
1820
  baseUrl?: string | null;
1900
- encompassEnvironment: "Production" | "UAT";
1901
- consumerConnectWidgetHost?: string | null;
1902
- signingMethod: "ConsumerConnect" | "POSF";
1821
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1903
1822
  subscriptionId?: string | null;
1904
1823
  environment?: string | null;
1905
1824
  }
@@ -1915,9 +1834,7 @@ export interface EncompassCredentialsRequest {
1915
1834
  defaultLoanOfficerUserName?: string | null;
1916
1835
  clearStateIfUnlicensed: boolean;
1917
1836
  baseUrl?: string | null;
1918
- encompassEnvironment: "Production" | "UAT";
1919
- consumerConnectWidgetHost?: string | null;
1920
- signingMethod: "ConsumerConnect" | "POSF";
1837
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1921
1838
  subscriptionId?: string | null;
1922
1839
  environment?: string | null;
1923
1840
  clientID?: string | null;
@@ -1956,10 +1873,6 @@ export interface EncompassFieldListItem {
1956
1873
  inUse: boolean;
1957
1874
  }
1958
1875
 
1959
- export interface EncompassIntegrationSettings {
1960
- consumerConnectWidgetHost?: string | null;
1961
- }
1962
-
1963
1876
  export interface EncompassLogSearchCriteria {
1964
1877
  searchText?: string | null;
1965
1878
  operationTypes?: EncompassLogOperationType[] | null;
@@ -2038,15 +1951,8 @@ export interface EncompassRequestLog {
2038
1951
  losId?: string | null;
2039
1952
  /** @format uuid */
2040
1953
  accountId: string;
2041
- operationType:
2042
- | "FieldUpdate"
2043
- | "ConsentUpdate"
2044
- | "DocumentSync"
2045
- | "MilestoneUpdate"
2046
- | "DocumentAttachment"
2047
- | "General"
2048
- | "FieldReader";
2049
- outcome: "Success" | "Failure" | "PartialSuccess";
1954
+ operationType: EncompassRequestLogOperationTypeEnum;
1955
+ outcome: EncompassRequestLogOutcomeEnum;
2050
1956
  message: string;
2051
1957
  endpoint?: string | null;
2052
1958
  httpMethod?: string | null;
@@ -2278,20 +2184,7 @@ export interface FusionFieldDisplay {
2278
2184
  }
2279
2185
 
2280
2186
  export interface FusionReportFilter {
2281
- filterType:
2282
- | "DateGreaterThanOrEqualTo"
2283
- | "DateGreaterThan"
2284
- | "DateLessThan"
2285
- | "DateLessThanOrEqualTo"
2286
- | "DateEquals"
2287
- | "DateDoesntEqual"
2288
- | "DateNonEmpty"
2289
- | "DateEmpty"
2290
- | "StringContains"
2291
- | "StringEquals"
2292
- | "StringNotEmpty"
2293
- | "StringNotEquals"
2294
- | "StringNotContains";
2187
+ filterType: FusionReportFilterFilterTypeEnum;
2295
2188
  targetField: string;
2296
2189
  targetValue: string;
2297
2190
  }
@@ -2419,40 +2312,7 @@ export interface GuidPatchOperation {
2419
2312
  }
2420
2313
 
2421
2314
  export interface IPAddress {
2422
- addressFamily:
2423
- | "Unspecified"
2424
- | "Unix"
2425
- | "InterNetwork"
2426
- | "ImpLink"
2427
- | "Pup"
2428
- | "Chaos"
2429
- | "NS"
2430
- | "Ipx"
2431
- | "Iso"
2432
- | "Osi"
2433
- | "Ecma"
2434
- | "DataKit"
2435
- | "Ccitt"
2436
- | "Sna"
2437
- | "DecNet"
2438
- | "DataLink"
2439
- | "Lat"
2440
- | "HyperChannel"
2441
- | "AppleTalk"
2442
- | "NetBios"
2443
- | "VoiceView"
2444
- | "FireFox"
2445
- | "Banyan"
2446
- | "Atm"
2447
- | "InterNetworkV6"
2448
- | "Cluster"
2449
- | "Ieee12844"
2450
- | "Irda"
2451
- | "NetworkDesigners"
2452
- | "Max"
2453
- | "Packet"
2454
- | "ControllerAreaNetwork"
2455
- | "Unknown";
2315
+ addressFamily: IpAddressAddressFamilyEnum;
2456
2316
  /** @format int64 */
2457
2317
  scopeId: number;
2458
2318
  isIPv6Multicast: boolean;
@@ -2512,10 +2372,6 @@ export interface ImportUserLoanTaskRequest {
2512
2372
  userID: string;
2513
2373
  }
2514
2374
 
2515
- export interface IntegrationSettings {
2516
- encompass?: EncompassIntegrationSettings | null;
2517
- }
2518
-
2519
2375
  export interface Invite {
2520
2376
  /** @format uuid */
2521
2377
  id: string;
@@ -2724,7 +2580,7 @@ export interface Loan {
2724
2580
  userLoans: UserLoan[];
2725
2581
  contacts: LoanContact[];
2726
2582
  customFields: CustomFieldEntry[];
2727
- signingMethod: "ConsumerConnect" | "POSF";
2583
+ signingMethod: LoanSigningMethodEnum;
2728
2584
  }
2729
2585
 
2730
2586
  export interface LoanApplication {
@@ -2783,7 +2639,7 @@ export interface LoanBorrower {
2783
2639
  citizenship?: LoanCitizenship | null;
2784
2640
  maritalStatus?: LoanMaritalStatus | null;
2785
2641
  languagePreference?: LoanLanguagePreference | null;
2786
- applicationStatus: "Draft" | "Complete";
2642
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
2787
2643
  /** @format int32 */
2788
2644
  numberOfDependents?: number | null;
2789
2645
  isPrimaryBorrower: boolean;
@@ -2921,6 +2777,7 @@ export interface LoanBorrowerConsent {
2921
2777
  id?: string | null;
2922
2778
  type?: ConsentType | null;
2923
2779
  providedConsent?: boolean | null;
2780
+ source?: ConsentSource | null;
2924
2781
  ipAddress?: string | null;
2925
2782
  }
2926
2783
 
@@ -3708,20 +3565,7 @@ export interface LoanContact {
3708
3565
  email?: string | null;
3709
3566
  phone?: string | null;
3710
3567
  companyName?: string | null;
3711
- role:
3712
- | "Borrower"
3713
- | "CoBorrower"
3714
- | "NonBorrower"
3715
- | "LoanOfficer"
3716
- | "LoanProcessor"
3717
- | "LoanOfficerAssistant"
3718
- | "SupportingLoanOfficer"
3719
- | "BuyerAgent"
3720
- | "SellerAgent"
3721
- | "TitleInsuranceAgent"
3722
- | "EscrowAgent"
3723
- | "SettlementAgent"
3724
- | "Admin";
3568
+ role: LoanContactRoleEnum;
3725
3569
  }
3726
3570
 
3727
3571
  export interface LoanContactList {
@@ -3775,39 +3619,13 @@ export interface LoanDocumentFolderPermission {
3775
3619
  id: string;
3776
3620
  /** @format uuid */
3777
3621
  loanDocumentFolderID: string;
3778
- role:
3779
- | "Borrower"
3780
- | "CoBorrower"
3781
- | "NonBorrower"
3782
- | "LoanOfficer"
3783
- | "LoanProcessor"
3784
- | "LoanOfficerAssistant"
3785
- | "SupportingLoanOfficer"
3786
- | "BuyerAgent"
3787
- | "SellerAgent"
3788
- | "TitleInsuranceAgent"
3789
- | "EscrowAgent"
3790
- | "SettlementAgent"
3791
- | "Admin";
3792
- level: "None" | "Read" | "Write" | "Manage";
3622
+ role: LoanDocumentFolderPermissionRoleEnum;
3623
+ level: LoanDocumentFolderPermissionLevelEnum;
3793
3624
  }
3794
3625
 
3795
3626
  export interface LoanDocumentFolderPermissionRequest {
3796
- role:
3797
- | "Borrower"
3798
- | "CoBorrower"
3799
- | "NonBorrower"
3800
- | "LoanOfficer"
3801
- | "LoanProcessor"
3802
- | "LoanOfficerAssistant"
3803
- | "SupportingLoanOfficer"
3804
- | "BuyerAgent"
3805
- | "SellerAgent"
3806
- | "TitleInsuranceAgent"
3807
- | "EscrowAgent"
3808
- | "SettlementAgent"
3809
- | "Admin";
3810
- level: "None" | "Read" | "Write" | "Manage";
3627
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
3628
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
3811
3629
  }
3812
3630
 
3813
3631
  export interface LoanDocumentFolderUsage {
@@ -3925,19 +3743,14 @@ export interface LoanImport {
3925
3743
  /** @format int32 */
3926
3744
  importedCount: number;
3927
3745
  statusMessage?: string | null;
3928
- status:
3929
- | "WaitingProcess"
3930
- | "InProgress"
3931
- | "Completed"
3932
- | "Failed"
3933
- | "Cancelled";
3934
- importMode: "All" | "NewOnly" | "UpdateOnly";
3746
+ status: LoanImportStatusEnum;
3747
+ importMode: LoanImportImportModeEnum;
3935
3748
  /** @format date-time */
3936
3749
  createdAt?: string | null;
3937
3750
  }
3938
3751
 
3939
3752
  export interface LoanImportLog {
3940
- level: "None" | "Info" | "Warning" | "Error";
3753
+ level: LoanImportLogLevelEnum;
3941
3754
  message: string;
3942
3755
  /** @format date-time */
3943
3756
  createdAt: string;
@@ -3998,24 +3811,8 @@ export interface LoanListPaginated {
3998
3811
  export interface LoanLog {
3999
3812
  /** @format uuid */
4000
3813
  id: string;
4001
- level: "None" | "Info" | "Warning" | "Error";
4002
- type:
4003
- | "Loan"
4004
- | "Queue"
4005
- | "POSFlagChanged"
4006
- | "Verification"
4007
- | "DocumentUploaded"
4008
- | "LoanCreated"
4009
- | "WorkflowSubmitted"
4010
- | "UserInvitationSent"
4011
- | "CoBorrowerAdded"
4012
- | "TaskCompleted"
4013
- | "LoanStatusChanged"
4014
- | "Consent"
4015
- | "SensitiveDataPurge"
4016
- | "ClosingDateUpdated"
4017
- | "ConsumerConnectAssociation"
4018
- | "TaskReminderSent";
3814
+ level: LoanLogLevelEnum;
3815
+ type: LoanLogTypeEnum;
4019
3816
  message: string;
4020
3817
  /** @format date-time */
4021
3818
  createdAt: string;
@@ -4024,24 +3821,8 @@ export interface LoanLog {
4024
3821
  export interface LoanLogDetail {
4025
3822
  /** @format uuid */
4026
3823
  id: string;
4027
- level: "None" | "Info" | "Warning" | "Error";
4028
- type:
4029
- | "Loan"
4030
- | "Queue"
4031
- | "POSFlagChanged"
4032
- | "Verification"
4033
- | "DocumentUploaded"
4034
- | "LoanCreated"
4035
- | "WorkflowSubmitted"
4036
- | "UserInvitationSent"
4037
- | "CoBorrowerAdded"
4038
- | "TaskCompleted"
4039
- | "LoanStatusChanged"
4040
- | "Consent"
4041
- | "SensitiveDataPurge"
4042
- | "ClosingDateUpdated"
4043
- | "ConsumerConnectAssociation"
4044
- | "TaskReminderSent";
3824
+ level: LoanLogDetailLevelEnum;
3825
+ type: LoanLogDetailTypeEnum;
4045
3826
  message: string;
4046
3827
  /** @format date-time */
4047
3828
  createdAt: string;
@@ -4120,6 +3901,11 @@ export interface LoanOfficerSearchCriteria {
4120
3901
  brand?: string | null;
4121
3902
  }
4122
3903
 
3904
+ export interface LoanOutstandingItems {
3905
+ /** @format int32 */
3906
+ pendingSignaturePackages: number;
3907
+ }
3908
+
4123
3909
  export interface LoanPatchRequestGuidPatchDocument {
4124
3910
  operations: GuidPatchOperation[];
4125
3911
  }
@@ -4329,7 +4115,7 @@ export interface LoanTaskSearchRequest {
4329
4115
  }
4330
4116
 
4331
4117
  export interface LoanTaskStatusSummary {
4332
- status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4118
+ status: LoanTaskStatusSummaryStatusEnum;
4333
4119
  /** @format int32 */
4334
4120
  count: number;
4335
4121
  }
@@ -4342,20 +4128,7 @@ export interface LoanUser {
4342
4128
  email: string;
4343
4129
  phone?: string | null;
4344
4130
  role: string;
4345
- loanRole:
4346
- | "Borrower"
4347
- | "CoBorrower"
4348
- | "NonBorrower"
4349
- | "LoanOfficer"
4350
- | "LoanProcessor"
4351
- | "LoanOfficerAssistant"
4352
- | "SupportingLoanOfficer"
4353
- | "BuyerAgent"
4354
- | "SellerAgent"
4355
- | "TitleInsuranceAgent"
4356
- | "EscrowAgent"
4357
- | "SettlementAgent"
4358
- | "Admin";
4131
+ loanRole: LoanUserLoanRoleEnum;
4359
4132
  isUser: boolean;
4360
4133
  /** @format date-time */
4361
4134
  createdAt: string;
@@ -4391,13 +4164,7 @@ export interface LosOperationTracking {
4391
4164
  operationType: string;
4392
4165
  correlationKey: string;
4393
4166
  lastTriggerSource?: string | null;
4394
- status:
4395
- | "Pending"
4396
- | "Success"
4397
- | "Failed"
4398
- | "ConfigurationError"
4399
- | "PermanentFailure"
4400
- | "Locked";
4167
+ status: LosOperationTrackingStatusEnum;
4401
4168
  /** @format date-time */
4402
4169
  createdAt: string;
4403
4170
  /** @format date-time */
@@ -4464,7 +4231,7 @@ export interface LosSyncStep {
4464
4231
  /** @format int32 */
4465
4232
  order: number;
4466
4233
  name: string;
4467
- severity: "Success" | "Info" | "Warning" | "Error";
4234
+ severity: LosSyncStepSeverityEnum;
4468
4235
  message: string;
4469
4236
  /** @format date-time */
4470
4237
  atUtc: string;
@@ -4797,7 +4564,7 @@ export interface NotificationTemplateVersionUpdateRequest {
4797
4564
 
4798
4565
  export interface Operation {
4799
4566
  op?: string;
4800
- value?: string | number | boolean | null | object;
4567
+ value?: object | null;
4801
4568
  path?: string;
4802
4569
  }
4803
4570
 
@@ -5153,7 +4920,7 @@ export interface SSOTokenRequest {
5153
4920
  }
5154
4921
 
5155
4922
  export interface SamlMetadataRequest {
5156
- ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4923
+ ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
5157
4924
  }
5158
4925
 
5159
4926
  export interface SendForgotPasswordRequest {
@@ -5211,7 +4978,7 @@ export interface SiteConfiguration {
5211
4978
  deletedAt?: string | null;
5212
4979
  /** @format uuid */
5213
4980
  id: string;
5214
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4981
+ type: SiteConfigurationTypeEnum;
5215
4982
  /** @format uuid */
5216
4983
  entityID: string;
5217
4984
  /** @format int32 */
@@ -5406,7 +5173,7 @@ export interface SiteConfigurationByUrl {
5406
5173
  deletedAt?: string | null;
5407
5174
  /** @format uuid */
5408
5175
  id: string;
5409
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5176
+ type: SiteConfigurationByUrlTypeEnum;
5410
5177
  /** @format uuid */
5411
5178
  entityID: string;
5412
5179
  /** @format int32 */
@@ -5619,7 +5386,7 @@ export interface SiteConfigurationForm {
5619
5386
  export interface SiteConfigurationReduced {
5620
5387
  /** @format uuid */
5621
5388
  id: string;
5622
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5389
+ type: SiteConfigurationReducedTypeEnum;
5623
5390
  url?: string | null;
5624
5391
  name: string;
5625
5392
  /** @format int64 */
@@ -5637,7 +5404,7 @@ export interface SiteConfigurationRequest {
5637
5404
  entityID: string;
5638
5405
  /** @format int32 */
5639
5406
  entityType: number;
5640
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5407
+ type: SiteConfigurationRequestTypeEnum;
5641
5408
  url: string;
5642
5409
  name: string;
5643
5410
  introduction?: string | null;
@@ -5814,7 +5581,7 @@ export interface SiteConfigurationSearchCriteria {
5814
5581
  export interface SiteConfigurationSummary {
5815
5582
  /** @format uuid */
5816
5583
  id: string;
5817
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5584
+ type: SiteConfigurationSummaryTypeEnum;
5818
5585
  url?: string | null;
5819
5586
  name: string;
5820
5587
  /** @format int64 */
@@ -6482,20 +6249,7 @@ export interface UserDevice {
6482
6249
  export interface UserDraft {
6483
6250
  /** @format uuid */
6484
6251
  draftID: string;
6485
- role:
6486
- | "Borrower"
6487
- | "CoBorrower"
6488
- | "NonBorrower"
6489
- | "LoanOfficer"
6490
- | "LoanProcessor"
6491
- | "LoanOfficerAssistant"
6492
- | "SupportingLoanOfficer"
6493
- | "BuyerAgent"
6494
- | "SellerAgent"
6495
- | "TitleInsuranceAgent"
6496
- | "EscrowAgent"
6497
- | "SettlementAgent"
6498
- | "Admin";
6252
+ role: UserDraftRoleEnum;
6499
6253
  user: User;
6500
6254
  }
6501
6255
 
@@ -6522,7 +6276,7 @@ export interface UserGroupAccessScope {
6522
6276
  id: string;
6523
6277
  /** @format uuid */
6524
6278
  groupId: string;
6525
- scopeType: "User" | "Branch";
6279
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
6526
6280
  /** @format uuid */
6527
6281
  userId?: string | null;
6528
6282
  /** @format uuid */
@@ -6558,20 +6312,7 @@ export interface UserLoan {
6558
6312
  deletedAt?: string | null;
6559
6313
  loanID: string;
6560
6314
  user: User;
6561
- role:
6562
- | "Borrower"
6563
- | "CoBorrower"
6564
- | "NonBorrower"
6565
- | "LoanOfficer"
6566
- | "LoanProcessor"
6567
- | "LoanOfficerAssistant"
6568
- | "SupportingLoanOfficer"
6569
- | "BuyerAgent"
6570
- | "SellerAgent"
6571
- | "TitleInsuranceAgent"
6572
- | "EscrowAgent"
6573
- | "SettlementAgent"
6574
- | "Admin";
6315
+ role: UserLoanRoleEnum;
6575
6316
  /** @format int32 */
6576
6317
  borrowerPair?: number | null;
6577
6318
  /** @format int32 */
@@ -6584,10 +6325,11 @@ export interface UserLoanConsent {
6584
6325
  id: string;
6585
6326
  /** @format uuid */
6586
6327
  userLoanID: string;
6587
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
6328
+ type: UserLoanConsentTypeEnum;
6588
6329
  providedConsent: boolean;
6330
+ source?: ConsentSource | null;
6589
6331
  ipAddress?: string | null;
6590
- losSyncStatus: "NotStarted" | "Failed" | "Success";
6332
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
6591
6333
  /** @format date-time */
6592
6334
  createdAt: string;
6593
6335
  /** @format date-time */
@@ -6742,16 +6484,7 @@ export interface UserSummary {
6742
6484
  id: string;
6743
6485
  name?: string | null;
6744
6486
  email?: string | null;
6745
- role:
6746
- | "Borrower"
6747
- | "LoanOfficer"
6748
- | "Admin"
6749
- | "SuperAdmin"
6750
- | "Realtor"
6751
- | "SettlementAgent"
6752
- | "LoanProcessor"
6753
- | "LoanOfficerAssistant"
6754
- | "SystemAdmin";
6487
+ role: UserSummaryRoleEnum;
6755
6488
  }
6756
6489
 
6757
6490
  export interface VerifyPasswordRequest {
@@ -6787,6 +6520,490 @@ export interface Workflow {
6787
6520
  icon: string;
6788
6521
  }
6789
6522
 
6523
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6524
+
6525
+ export type AuditLogEntryChangeTypeEnum =
6526
+ | "Created"
6527
+ | "Modified"
6528
+ | "SoftDeleted"
6529
+ | "HardDeleted"
6530
+ | "Restored"
6531
+ | "Deactivated"
6532
+ | "Reactivated";
6533
+
6534
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6535
+
6536
+ export type CreateAccountRequestEnvironmentEnum =
6537
+ | "Development"
6538
+ | "Staging"
6539
+ | "UAT"
6540
+ | "Production";
6541
+
6542
+ export type CreateCustomFieldDefinitionRequestDataTypeEnum =
6543
+ | "String"
6544
+ | "Number"
6545
+ | "Decimal"
6546
+ | "Boolean"
6547
+ | "Date"
6548
+ | "SingleSelect"
6549
+ | "MultiSelect";
6550
+
6551
+ export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
6552
+
6553
+ export type CreateGroupMemberRequestLoanRoleEnum =
6554
+ | "Borrower"
6555
+ | "CoBorrower"
6556
+ | "NonBorrower"
6557
+ | "LoanOfficer"
6558
+ | "LoanProcessor"
6559
+ | "LoanOfficerAssistant"
6560
+ | "SupportingLoanOfficer"
6561
+ | "BuyerAgent"
6562
+ | "SellerAgent"
6563
+ | "TitleInsuranceAgent"
6564
+ | "EscrowAgent"
6565
+ | "SettlementAgent"
6566
+ | "Admin";
6567
+
6568
+ /** @deprecated */
6569
+ export type CreateInviteRequestRelationshipEnum =
6570
+ | "NotApplicable"
6571
+ | "Spouse"
6572
+ | "NonSpouse";
6573
+
6574
+ export type CreateLoanImportRequestImportModeEnum =
6575
+ | "All"
6576
+ | "NewOnly"
6577
+ | "UpdateOnly";
6578
+
6579
+ export type CreateUserDraftLoanRoleEnum =
6580
+ | "Borrower"
6581
+ | "CoBorrower"
6582
+ | "NonBorrower"
6583
+ | "LoanOfficer"
6584
+ | "LoanProcessor"
6585
+ | "LoanOfficerAssistant"
6586
+ | "SupportingLoanOfficer"
6587
+ | "BuyerAgent"
6588
+ | "SellerAgent"
6589
+ | "TitleInsuranceAgent"
6590
+ | "EscrowAgent"
6591
+ | "SettlementAgent"
6592
+ | "Admin";
6593
+
6594
+ export type CustomFieldDefinitionDataTypeEnum =
6595
+ | "String"
6596
+ | "Number"
6597
+ | "Decimal"
6598
+ | "Boolean"
6599
+ | "Date"
6600
+ | "SingleSelect"
6601
+ | "MultiSelect";
6602
+
6603
+ export type CustomFieldDefinitionEntityTypeEnum = "Loan";
6604
+
6605
+ export type CustomFieldEntryDataTypeEnum =
6606
+ | "String"
6607
+ | "Number"
6608
+ | "Decimal"
6609
+ | "Boolean"
6610
+ | "Date"
6611
+ | "SingleSelect"
6612
+ | "MultiSelect";
6613
+
6614
+ export type CustomFieldPermissionRoleEnum =
6615
+ | "Borrower"
6616
+ | "LoanOfficer"
6617
+ | "Admin"
6618
+ | "SuperAdmin"
6619
+ | "Realtor"
6620
+ | "SettlementAgent"
6621
+ | "LoanProcessor"
6622
+ | "LoanOfficerAssistant"
6623
+ | "SystemAdmin";
6624
+
6625
+ export type CustomFieldPermissionAccessLevelEnum =
6626
+ | "NoAccess"
6627
+ | "ReadOnly"
6628
+ | "ReadWrite";
6629
+
6630
+ export type CustomFieldPermissionRequestRoleEnum =
6631
+ | "Borrower"
6632
+ | "LoanOfficer"
6633
+ | "Admin"
6634
+ | "SuperAdmin"
6635
+ | "Realtor"
6636
+ | "SettlementAgent"
6637
+ | "LoanProcessor"
6638
+ | "LoanOfficerAssistant"
6639
+ | "SystemAdmin";
6640
+
6641
+ export type CustomFieldPermissionRequestAccessLevelEnum =
6642
+ | "NoAccess"
6643
+ | "ReadOnly"
6644
+ | "ReadWrite";
6645
+
6646
+ export type CustomFieldValueDataTypeEnum =
6647
+ | "String"
6648
+ | "Number"
6649
+ | "Decimal"
6650
+ | "Boolean"
6651
+ | "Date"
6652
+ | "SingleSelect"
6653
+ | "MultiSelect";
6654
+
6655
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
6656
+
6657
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6658
+
6659
+ export type EncompassCredentialsDetailSigningMethodEnum =
6660
+ | "ConsumerConnect"
6661
+ | "POSF";
6662
+
6663
+ export type EncompassCredentialsRequestSigningMethodEnum =
6664
+ | "ConsumerConnect"
6665
+ | "POSF";
6666
+
6667
+ export type EncompassRequestLogOperationTypeEnum =
6668
+ | "FieldUpdate"
6669
+ | "ConsentUpdate"
6670
+ | "DocumentSync"
6671
+ | "MilestoneUpdate"
6672
+ | "DocumentAttachment"
6673
+ | "General"
6674
+ | "FieldReader";
6675
+
6676
+ export type EncompassRequestLogOutcomeEnum =
6677
+ | "Success"
6678
+ | "Failure"
6679
+ | "PartialSuccess";
6680
+
6681
+ export type FusionReportFilterFilterTypeEnum =
6682
+ | "DateGreaterThanOrEqualTo"
6683
+ | "DateGreaterThan"
6684
+ | "DateLessThan"
6685
+ | "DateLessThanOrEqualTo"
6686
+ | "DateEquals"
6687
+ | "DateDoesntEqual"
6688
+ | "DateNonEmpty"
6689
+ | "DateEmpty"
6690
+ | "StringContains"
6691
+ | "StringEquals"
6692
+ | "StringNotEmpty"
6693
+ | "StringNotEquals"
6694
+ | "StringNotContains";
6695
+
6696
+ export type IpAddressAddressFamilyEnum =
6697
+ | "Unspecified"
6698
+ | "Unix"
6699
+ | "InterNetwork"
6700
+ | "ImpLink"
6701
+ | "Pup"
6702
+ | "Chaos"
6703
+ | "NS"
6704
+ | "Ipx"
6705
+ | "Iso"
6706
+ | "Osi"
6707
+ | "Ecma"
6708
+ | "DataKit"
6709
+ | "Ccitt"
6710
+ | "Sna"
6711
+ | "DecNet"
6712
+ | "DataLink"
6713
+ | "Lat"
6714
+ | "HyperChannel"
6715
+ | "AppleTalk"
6716
+ | "NetBios"
6717
+ | "VoiceView"
6718
+ | "FireFox"
6719
+ | "Banyan"
6720
+ | "Atm"
6721
+ | "InterNetworkV6"
6722
+ | "Cluster"
6723
+ | "Ieee12844"
6724
+ | "Irda"
6725
+ | "NetworkDesigners"
6726
+ | "Max"
6727
+ | "Packet"
6728
+ | "ControllerAreaNetwork"
6729
+ | "Unknown";
6730
+
6731
+ export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6732
+
6733
+ export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6734
+
6735
+ export type LoanContactRoleEnum =
6736
+ | "Borrower"
6737
+ | "CoBorrower"
6738
+ | "NonBorrower"
6739
+ | "LoanOfficer"
6740
+ | "LoanProcessor"
6741
+ | "LoanOfficerAssistant"
6742
+ | "SupportingLoanOfficer"
6743
+ | "BuyerAgent"
6744
+ | "SellerAgent"
6745
+ | "TitleInsuranceAgent"
6746
+ | "EscrowAgent"
6747
+ | "SettlementAgent"
6748
+ | "Admin";
6749
+
6750
+ export type LoanDocumentFolderPermissionRoleEnum =
6751
+ | "Borrower"
6752
+ | "CoBorrower"
6753
+ | "NonBorrower"
6754
+ | "LoanOfficer"
6755
+ | "LoanProcessor"
6756
+ | "LoanOfficerAssistant"
6757
+ | "SupportingLoanOfficer"
6758
+ | "BuyerAgent"
6759
+ | "SellerAgent"
6760
+ | "TitleInsuranceAgent"
6761
+ | "EscrowAgent"
6762
+ | "SettlementAgent"
6763
+ | "Admin";
6764
+
6765
+ export type LoanDocumentFolderPermissionLevelEnum =
6766
+ | "None"
6767
+ | "Read"
6768
+ | "Write"
6769
+ | "Manage";
6770
+
6771
+ export type LoanDocumentFolderPermissionRequestRoleEnum =
6772
+ | "Borrower"
6773
+ | "CoBorrower"
6774
+ | "NonBorrower"
6775
+ | "LoanOfficer"
6776
+ | "LoanProcessor"
6777
+ | "LoanOfficerAssistant"
6778
+ | "SupportingLoanOfficer"
6779
+ | "BuyerAgent"
6780
+ | "SellerAgent"
6781
+ | "TitleInsuranceAgent"
6782
+ | "EscrowAgent"
6783
+ | "SettlementAgent"
6784
+ | "Admin";
6785
+
6786
+ export type LoanDocumentFolderPermissionRequestLevelEnum =
6787
+ | "None"
6788
+ | "Read"
6789
+ | "Write"
6790
+ | "Manage";
6791
+
6792
+ export type LoanImportStatusEnum =
6793
+ | "WaitingProcess"
6794
+ | "InProgress"
6795
+ | "Completed"
6796
+ | "Failed"
6797
+ | "Cancelled";
6798
+
6799
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6800
+
6801
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6802
+
6803
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6804
+
6805
+ export type LoanLogTypeEnum =
6806
+ | "Loan"
6807
+ | "Queue"
6808
+ | "POSFlagChanged"
6809
+ | "Verification"
6810
+ | "DocumentUploaded"
6811
+ | "LoanCreated"
6812
+ | "WorkflowSubmitted"
6813
+ | "UserInvitationSent"
6814
+ | "CoBorrowerAdded"
6815
+ | "TaskCompleted"
6816
+ | "LoanStatusChanged"
6817
+ | "Consent"
6818
+ | "SensitiveDataPurge"
6819
+ | "ClosingDateUpdated"
6820
+ | "ConsumerConnectAssociation"
6821
+ | "TaskReminderSent";
6822
+
6823
+ export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6824
+
6825
+ export type LoanLogDetailTypeEnum =
6826
+ | "Loan"
6827
+ | "Queue"
6828
+ | "POSFlagChanged"
6829
+ | "Verification"
6830
+ | "DocumentUploaded"
6831
+ | "LoanCreated"
6832
+ | "WorkflowSubmitted"
6833
+ | "UserInvitationSent"
6834
+ | "CoBorrowerAdded"
6835
+ | "TaskCompleted"
6836
+ | "LoanStatusChanged"
6837
+ | "Consent"
6838
+ | "SensitiveDataPurge"
6839
+ | "ClosingDateUpdated"
6840
+ | "ConsumerConnectAssociation"
6841
+ | "TaskReminderSent";
6842
+
6843
+ export type LoanTaskStatusSummaryStatusEnum =
6844
+ | "Outstanding"
6845
+ | "Pending"
6846
+ | "Completed"
6847
+ | "Rejected"
6848
+ | "Unknown";
6849
+
6850
+ export type LoanUserLoanRoleEnum =
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 LosOperationTrackingStatusEnum =
6866
+ | "Pending"
6867
+ | "Success"
6868
+ | "Failed"
6869
+ | "ConfigurationError"
6870
+ | "PermanentFailure"
6871
+ | "Locked";
6872
+
6873
+ export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
6874
+
6875
+ export type SamlMetadataRequestSsoIntegrationEnum =
6876
+ | "ConsumerConnect"
6877
+ | "TheBigPOS"
6878
+ | "POSF";
6879
+
6880
+ export type SiteConfigurationTypeEnum =
6881
+ | "None"
6882
+ | "Account"
6883
+ | "Corporate"
6884
+ | "Branch"
6885
+ | "LoanOfficer"
6886
+ | "Partner";
6887
+
6888
+ export type SiteConfigurationByUrlTypeEnum =
6889
+ | "None"
6890
+ | "Account"
6891
+ | "Corporate"
6892
+ | "Branch"
6893
+ | "LoanOfficer"
6894
+ | "Partner";
6895
+
6896
+ export type SiteConfigurationReducedTypeEnum =
6897
+ | "None"
6898
+ | "Account"
6899
+ | "Corporate"
6900
+ | "Branch"
6901
+ | "LoanOfficer"
6902
+ | "Partner";
6903
+
6904
+ export type SiteConfigurationRequestTypeEnum =
6905
+ | "None"
6906
+ | "Account"
6907
+ | "Corporate"
6908
+ | "Branch"
6909
+ | "LoanOfficer"
6910
+ | "Partner";
6911
+
6912
+ export type SiteConfigurationSummaryTypeEnum =
6913
+ | "None"
6914
+ | "Account"
6915
+ | "Corporate"
6916
+ | "Branch"
6917
+ | "LoanOfficer"
6918
+ | "Partner";
6919
+
6920
+ export type UserDraftRoleEnum =
6921
+ | "Borrower"
6922
+ | "CoBorrower"
6923
+ | "NonBorrower"
6924
+ | "LoanOfficer"
6925
+ | "LoanProcessor"
6926
+ | "LoanOfficerAssistant"
6927
+ | "SupportingLoanOfficer"
6928
+ | "BuyerAgent"
6929
+ | "SellerAgent"
6930
+ | "TitleInsuranceAgent"
6931
+ | "EscrowAgent"
6932
+ | "SettlementAgent"
6933
+ | "Admin";
6934
+
6935
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6936
+
6937
+ export type UserLoanRoleEnum =
6938
+ | "Borrower"
6939
+ | "CoBorrower"
6940
+ | "NonBorrower"
6941
+ | "LoanOfficer"
6942
+ | "LoanProcessor"
6943
+ | "LoanOfficerAssistant"
6944
+ | "SupportingLoanOfficer"
6945
+ | "BuyerAgent"
6946
+ | "SellerAgent"
6947
+ | "TitleInsuranceAgent"
6948
+ | "EscrowAgent"
6949
+ | "SettlementAgent"
6950
+ | "Admin";
6951
+
6952
+ export type UserLoanConsentTypeEnum =
6953
+ | "Econsent"
6954
+ | "CreditAuthorization"
6955
+ | "Tcpa";
6956
+
6957
+ export type UserLoanConsentLosSyncStatusEnum =
6958
+ | "NotStarted"
6959
+ | "Failed"
6960
+ | "Success";
6961
+
6962
+ export type UserSummaryRoleEnum =
6963
+ | "Borrower"
6964
+ | "LoanOfficer"
6965
+ | "Admin"
6966
+ | "SuperAdmin"
6967
+ | "Realtor"
6968
+ | "SettlementAgent"
6969
+ | "LoanProcessor"
6970
+ | "LoanOfficerAssistant"
6971
+ | "SystemAdmin";
6972
+
6973
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6974
+
6975
+ /** @default "Realtor" */
6976
+ export type GetPartnersParamsRoleEnum =
6977
+ | "Borrower"
6978
+ | "LoanOfficer"
6979
+ | "Admin"
6980
+ | "SuperAdmin"
6981
+ | "Realtor"
6982
+ | "SettlementAgent"
6983
+ | "LoanProcessor"
6984
+ | "LoanOfficerAssistant"
6985
+ | "SystemAdmin";
6986
+
6987
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
6988
+ | "ConsumerConnect"
6989
+ | "TheBigPOS"
6990
+ | "POSF";
6991
+
6992
+ export type GetSamlMetadataParamsEnum =
6993
+ | "ConsumerConnect"
6994
+ | "TheBigPOS"
6995
+ | "POSF";
6996
+
6997
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6998
+ | "ConsumerConnect"
6999
+ | "TheBigPOS"
7000
+ | "POSF";
7001
+
7002
+ export type CreateOrReplaceSamlMetadataParamsEnum =
7003
+ | "ConsumerConnect"
7004
+ | "TheBigPOS"
7005
+ | "POSF";
7006
+
6790
7007
  import type {
6791
7008
  AxiosInstance,
6792
7009
  AxiosRequestConfig,
@@ -6829,7 +7046,6 @@ export interface ApiConfig<SecurityDataType = unknown>
6829
7046
  }
6830
7047
 
6831
7048
  export enum ContentType {
6832
- JsonPatch = "application/json-patch+json",
6833
7049
  Json = "application/json",
6834
7050
  JsonApi = "application/vnd.api+json",
6835
7051
  FormData = "multipart/form-data",
@@ -6965,7 +7181,7 @@ export class HttpClient<SecurityDataType = unknown> {
6965
7181
 
6966
7182
  /**
6967
7183
  * @title The Big POS API
6968
- * @version v2.40.4
7184
+ * @version v2.40.5
6969
7185
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6970
7186
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6971
7187
  */
@@ -8231,7 +8447,7 @@ export class Api<
8231
8447
  */
8232
8448
  getCustomFieldDefinitions: (
8233
8449
  query?: {
8234
- entityType?: "Loan";
8450
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
8235
8451
  },
8236
8452
  params: RequestParams = {},
8237
8453
  ) =>
@@ -8955,7 +9171,6 @@ export class Api<
8955
9171
  */
8956
9172
  getUserPackages: (
8957
9173
  query?: {
8958
- /** @default "all" */
8959
9174
  status?: string;
8960
9175
  /**
8961
9176
  * @format int32
@@ -8969,6 +9184,8 @@ export class Api<
8969
9184
  pageSize?: number;
8970
9185
  /** @format uuid */
8971
9186
  loanId?: string;
9187
+ sortBy?: string;
9188
+ sortDirection?: string;
8972
9189
  },
8973
9190
  params: RequestParams = {},
8974
9191
  ) =>
@@ -9653,25 +9870,6 @@ export class Api<
9653
9870
  ...params,
9654
9871
  }),
9655
9872
 
9656
- /**
9657
- * No description
9658
- *
9659
- * @tags IntegrationSettings
9660
- * @name GetIntegrationSettings
9661
- * @summary Get Integration Settings
9662
- * @request GET:/api/integrations/settings
9663
- * @secure
9664
- * @response `200` `IntegrationSettings` Success
9665
- */
9666
- getIntegrationSettings: (params: RequestParams = {}) =>
9667
- this.request<IntegrationSettings, any>({
9668
- path: `/api/integrations/settings`,
9669
- method: "GET",
9670
- secure: true,
9671
- format: "json",
9672
- ...params,
9673
- }),
9674
-
9675
9873
  /**
9676
9874
  * No description
9677
9875
  *
@@ -9713,7 +9911,7 @@ export class Api<
9713
9911
  method: "PATCH",
9714
9912
  body: data,
9715
9913
  secure: true,
9716
- type: ContentType.JsonPatch,
9914
+ type: ContentType.Json,
9717
9915
  format: "json",
9718
9916
  ...params,
9719
9917
  }),
@@ -9823,7 +10021,7 @@ export class Api<
9823
10021
  method: "PATCH",
9824
10022
  body: data,
9825
10023
  secure: true,
9826
- type: ContentType.JsonPatch,
10024
+ type: ContentType.Json,
9827
10025
  format: "json",
9828
10026
  ...params,
9829
10027
  }),
@@ -9850,7 +10048,7 @@ export class Api<
9850
10048
  method: "PATCH",
9851
10049
  body: data,
9852
10050
  secure: true,
9853
- type: ContentType.JsonPatch,
10051
+ type: ContentType.Json,
9854
10052
  format: "json",
9855
10053
  ...params,
9856
10054
  }),
@@ -10092,7 +10290,7 @@ export class Api<
10092
10290
  method: "PATCH",
10093
10291
  body: data,
10094
10292
  secure: true,
10095
- type: ContentType.JsonPatch,
10293
+ type: ContentType.Json,
10096
10294
  format: "json",
10097
10295
  ...params,
10098
10296
  }),
@@ -10172,7 +10370,7 @@ export class Api<
10172
10370
  method: "PATCH",
10173
10371
  body: data,
10174
10372
  secure: true,
10175
- type: ContentType.JsonPatch,
10373
+ type: ContentType.Json,
10176
10374
  format: "json",
10177
10375
  ...params,
10178
10376
  }),
@@ -12053,6 +12251,27 @@ export class Api<
12053
12251
  ...params,
12054
12252
  }),
12055
12253
 
12254
+ /**
12255
+ * No description
12256
+ *
12257
+ * @tags Loans
12258
+ * @name GetLoanOutstandingItems
12259
+ * @summary Get outstanding items
12260
+ * @request GET:/api/loans/{loanId}/outstanding-items
12261
+ * @secure
12262
+ * @response `200` `LoanOutstandingItems` Success
12263
+ * @response `401` `ProblemDetails` Unauthorized
12264
+ * @response `403` `ProblemDetails` Forbidden
12265
+ */
12266
+ getLoanOutstandingItems: (loanId: string, params: RequestParams = {}) =>
12267
+ this.request<LoanOutstandingItems, ProblemDetails>({
12268
+ path: `/api/loans/${loanId}/outstanding-items`,
12269
+ method: "GET",
12270
+ secure: true,
12271
+ format: "json",
12272
+ ...params,
12273
+ }),
12274
+
12056
12275
  /**
12057
12276
  * No description
12058
12277
  *
@@ -12075,7 +12294,7 @@ export class Api<
12075
12294
  method: "POST",
12076
12295
  body: data,
12077
12296
  secure: true,
12078
- type: ContentType.JsonPatch,
12297
+ type: ContentType.Json,
12079
12298
  format: "json",
12080
12299
  ...params,
12081
12300
  }),
@@ -13303,16 +13522,7 @@ export class Api<
13303
13522
  query?: {
13304
13523
  showAll?: boolean;
13305
13524
  /** @default "Realtor" */
13306
- role?:
13307
- | "Borrower"
13308
- | "LoanOfficer"
13309
- | "Admin"
13310
- | "SuperAdmin"
13311
- | "Realtor"
13312
- | "SettlementAgent"
13313
- | "LoanProcessor"
13314
- | "LoanOfficerAssistant"
13315
- | "SystemAdmin";
13525
+ role?: GetPartnersParamsRoleEnum;
13316
13526
  /** @format int32 */
13317
13527
  pageSize?: number;
13318
13528
  /** @format int32 */
@@ -13648,7 +13858,7 @@ export class Api<
13648
13858
  * @response `404` `ProblemDetails` Not Found
13649
13859
  */
13650
13860
  getSamlMetadata: (
13651
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13861
+ sSoIntegration: GetSamlMetadataParamsEnum,
13652
13862
  ssoIntegration: string,
13653
13863
  params: RequestParams = {},
13654
13864
  ) =>
@@ -13670,7 +13880,7 @@ export class Api<
13670
13880
  * @response `200` `File` Success
13671
13881
  */
13672
13882
  createOrReplaceSamlMetadata: (
13673
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13883
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
13674
13884
  ssoIntegration: string,
13675
13885
  params: RequestParams = {},
13676
13886
  ) =>