@matech/thebigpos-sdk 2.40.0-rc.1 → 2.40.0-rc.2

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
@@ -268,6 +268,12 @@ export type LoanGiftAssetType = "Cash" | "Asset" | "Equity";
268
268
 
269
269
  export type LoanGenderType = "Male" | "Female";
270
270
 
271
+ export type LoanDocumentFolderPermissionLevel =
272
+ | "None"
273
+ | "Read"
274
+ | "Write"
275
+ | "Manage";
276
+
271
277
  export type LoanCitizenship =
272
278
  | "USCitizen"
273
279
  | "PermanentResidentAlien"
@@ -315,8 +321,6 @@ export type LOSStatus =
315
321
  | "Uploaded"
316
322
  | "PendingSync";
317
323
 
318
- export type FolderPermissionLevel = "None" | "Read" | "Write" | "Manage";
319
-
320
324
  export type FilterType =
321
325
  | "DateGreaterThanOrEqualTo"
322
326
  | "DateGreaterThan"
@@ -475,7 +479,7 @@ export interface AccountBilling {
475
479
  }
476
480
 
477
481
  export interface AccountBillingRequest {
478
- billingType: "ClosedLoan" | "LoanOfficer";
482
+ billingType: AccountBillingRequestBillingTypeEnum;
479
483
  /**
480
484
  * @format double
481
485
  * @min 0
@@ -813,12 +817,7 @@ export interface AuditLogEntry {
813
817
  /** @format uuid */
814
818
  id: string;
815
819
  entityType: string;
816
- changeType:
817
- | "Created"
818
- | "Modified"
819
- | "SoftDeleted"
820
- | "HardDeleted"
821
- | "Restored";
820
+ changeType: AuditLogEntryChangeTypeEnum;
822
821
  /** @format uuid */
823
822
  entityId: string;
824
823
  performedBy?: AuditLogUser | null;
@@ -1132,7 +1131,7 @@ export interface CorporateSearchCriteria {
1132
1131
  }
1133
1132
 
1134
1133
  export interface CreateAccessScopeRequest {
1135
- scopeType: "User" | "Branch";
1134
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1136
1135
  /** @format uuid */
1137
1136
  userId?: string | null;
1138
1137
  /** @format uuid */
@@ -1156,7 +1155,7 @@ export interface CreateAccountRequest {
1156
1155
  */
1157
1156
  nlmsid: number;
1158
1157
  settings: AccountSettingsRequest;
1159
- environment: "Development" | "Staging" | "UAT" | "Production";
1158
+ environment: CreateAccountRequestEnvironmentEnum;
1160
1159
  losIntegration: LOSIntegration;
1161
1160
  billingSettings: AccountBillingRequest;
1162
1161
  }
@@ -1194,15 +1193,8 @@ export interface CreateCustomFieldDefinitionRequest {
1194
1193
  name: string;
1195
1194
  defaultValue?: string | null;
1196
1195
  regexPattern?: string | null;
1197
- dataType:
1198
- | "String"
1199
- | "Number"
1200
- | "Decimal"
1201
- | "Boolean"
1202
- | "Date"
1203
- | "SingleSelect"
1204
- | "MultiSelect";
1205
- entityType: "Loan";
1196
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1197
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1206
1198
  options?: CustomFieldOptionRequest[] | null;
1207
1199
  permissions?: CustomFieldPermissionRequest[] | null;
1208
1200
  }
@@ -1224,20 +1216,7 @@ export interface CreateDocumentTemplateRequest {
1224
1216
  export interface CreateGroupMemberRequest {
1225
1217
  /** @format uuid */
1226
1218
  userId: string;
1227
- loanRole:
1228
- | "Borrower"
1229
- | "CoBorrower"
1230
- | "NonBorrower"
1231
- | "LoanOfficer"
1232
- | "LoanProcessor"
1233
- | "LoanOfficerAssistant"
1234
- | "SupportingLoanOfficer"
1235
- | "BuyerAgent"
1236
- | "SellerAgent"
1237
- | "TitleInsuranceAgent"
1238
- | "EscrowAgent"
1239
- | "SettlementAgent"
1240
- | "Admin";
1219
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1241
1220
  }
1242
1221
 
1243
1222
  export interface CreateInviteRequest {
@@ -1249,7 +1228,7 @@ export interface CreateInviteRequest {
1249
1228
  emailAddress: string;
1250
1229
  phoneNumber?: string | null;
1251
1230
  /** @deprecated */
1252
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1231
+ relationship: CreateInviteRequestRelationshipEnum;
1253
1232
  loanID: string;
1254
1233
  route?: string | null;
1255
1234
  /** @format uuid */
@@ -1281,7 +1260,7 @@ export interface CreateLoanImportRequest {
1281
1260
  * @minLength 1
1282
1261
  */
1283
1262
  startDate: string;
1284
- importMode: "All" | "NewOnly" | "UpdateOnly";
1263
+ importMode: CreateLoanImportRequestImportModeEnum;
1285
1264
  }
1286
1265
 
1287
1266
  export interface CreateSession {
@@ -1303,20 +1282,7 @@ export interface CreateUserDeviceRequest {
1303
1282
  }
1304
1283
 
1305
1284
  export interface CreateUserDraft {
1306
- loanRole:
1307
- | "Borrower"
1308
- | "CoBorrower"
1309
- | "NonBorrower"
1310
- | "LoanOfficer"
1311
- | "LoanProcessor"
1312
- | "LoanOfficerAssistant"
1313
- | "SupportingLoanOfficer"
1314
- | "BuyerAgent"
1315
- | "SellerAgent"
1316
- | "TitleInsuranceAgent"
1317
- | "EscrowAgent"
1318
- | "SettlementAgent"
1319
- | "Admin";
1285
+ loanRole: CreateUserDraftLoanRoleEnum;
1320
1286
  }
1321
1287
 
1322
1288
  export interface CreateUserGroupRequest {
@@ -1403,15 +1369,8 @@ export interface CustomFieldDefinition {
1403
1369
  name: string;
1404
1370
  defaultValue?: string | null;
1405
1371
  regexPattern?: string | null;
1406
- dataType:
1407
- | "String"
1408
- | "Number"
1409
- | "Decimal"
1410
- | "Boolean"
1411
- | "Date"
1412
- | "SingleSelect"
1413
- | "MultiSelect";
1414
- entityType: "Loan";
1372
+ dataType: CustomFieldDefinitionDataTypeEnum;
1373
+ entityType: CustomFieldDefinitionEntityTypeEnum;
1415
1374
  options: CustomFieldOption[];
1416
1375
  permissions: CustomFieldPermission[];
1417
1376
  encompassMapping?: EncompassMapping | null;
@@ -1426,14 +1385,7 @@ export interface CustomFieldEntry {
1426
1385
  displayOrder: number;
1427
1386
  name: string;
1428
1387
  value: string;
1429
- dataType:
1430
- | "String"
1431
- | "Number"
1432
- | "Decimal"
1433
- | "Boolean"
1434
- | "Date"
1435
- | "SingleSelect"
1436
- | "MultiSelect";
1388
+ dataType: CustomFieldEntryDataTypeEnum;
1437
1389
  }
1438
1390
 
1439
1391
  export interface CustomFieldOption {
@@ -1453,31 +1405,13 @@ export interface CustomFieldOptionRequest {
1453
1405
  export interface CustomFieldPermission {
1454
1406
  /** @format uuid */
1455
1407
  id: string;
1456
- role:
1457
- | "Borrower"
1458
- | "LoanOfficer"
1459
- | "Admin"
1460
- | "SuperAdmin"
1461
- | "Realtor"
1462
- | "SettlementAgent"
1463
- | "LoanProcessor"
1464
- | "LoanOfficerAssistant"
1465
- | "SystemAdmin";
1466
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1408
+ role: CustomFieldPermissionRoleEnum;
1409
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
1467
1410
  }
1468
1411
 
1469
1412
  export interface CustomFieldPermissionRequest {
1470
- role:
1471
- | "Borrower"
1472
- | "LoanOfficer"
1473
- | "Admin"
1474
- | "SuperAdmin"
1475
- | "Realtor"
1476
- | "SettlementAgent"
1477
- | "LoanProcessor"
1478
- | "LoanOfficerAssistant"
1479
- | "SystemAdmin";
1480
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1413
+ role: CustomFieldPermissionRequestRoleEnum;
1414
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1481
1415
  }
1482
1416
 
1483
1417
  export interface CustomFieldValue {
@@ -1489,14 +1423,7 @@ export interface CustomFieldValue {
1489
1423
  customFieldDefinitionID: string;
1490
1424
  value: string;
1491
1425
  definitionName: string;
1492
- dataType:
1493
- | "String"
1494
- | "Number"
1495
- | "Decimal"
1496
- | "Boolean"
1497
- | "Date"
1498
- | "SingleSelect"
1499
- | "MultiSelect";
1426
+ dataType: CustomFieldValueDataTypeEnum;
1500
1427
  }
1501
1428
 
1502
1429
  export interface CustomLoanData {
@@ -1760,7 +1687,7 @@ export interface Draft {
1760
1687
  siteConfiguration: SiteConfigurationReduced;
1761
1688
  /** @format uuid */
1762
1689
  loanID?: string | null;
1763
- type: "NewLoan" | "EditLoan";
1690
+ type: DraftTypeEnum;
1764
1691
  isCoBorrower: boolean;
1765
1692
  }
1766
1693
 
@@ -1779,7 +1706,7 @@ export interface DraftContent {
1779
1706
  siteConfiguration: SiteConfigurationReduced;
1780
1707
  /** @format uuid */
1781
1708
  loanID?: string | null;
1782
- type: "NewLoan" | "EditLoan";
1709
+ type: DraftContentTypeEnum;
1783
1710
  isCoBorrower: boolean;
1784
1711
  applicationPayload: any;
1785
1712
  }
@@ -1877,7 +1804,7 @@ export interface EncompassCredentialsDetail {
1877
1804
  defaultLoanOfficerUserName?: string | null;
1878
1805
  clearStateIfUnlicensed: boolean;
1879
1806
  baseUrl?: string | null;
1880
- signingMethod: "ConsumerConnect" | "POSF";
1807
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1881
1808
  subscriptionId?: string | null;
1882
1809
  environment?: string | null;
1883
1810
  }
@@ -1893,7 +1820,7 @@ export interface EncompassCredentialsRequest {
1893
1820
  defaultLoanOfficerUserName?: string | null;
1894
1821
  clearStateIfUnlicensed: boolean;
1895
1822
  baseUrl?: string | null;
1896
- signingMethod: "ConsumerConnect" | "POSF";
1823
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1897
1824
  subscriptionId?: string | null;
1898
1825
  environment?: string | null;
1899
1826
  clientID?: string | null;
@@ -1988,15 +1915,8 @@ export interface EncompassRequestLog {
1988
1915
  losId?: string | null;
1989
1916
  /** @format uuid */
1990
1917
  accountId: string;
1991
- operationType:
1992
- | "FieldUpdate"
1993
- | "ConsentUpdate"
1994
- | "DocumentSync"
1995
- | "MilestoneUpdate"
1996
- | "DocumentAttachment"
1997
- | "General"
1998
- | "FieldReader";
1999
- outcome: "Success" | "Failure" | "PartialSuccess";
1918
+ operationType: EncompassRequestLogOperationTypeEnum;
1919
+ outcome: EncompassRequestLogOutcomeEnum;
2000
1920
  message: string;
2001
1921
  endpoint?: string | null;
2002
1922
  httpMethod?: string | null;
@@ -2233,20 +2153,7 @@ export interface FusionFieldDisplay {
2233
2153
  }
2234
2154
 
2235
2155
  export interface FusionReportFilter {
2236
- filterType:
2237
- | "DateGreaterThanOrEqualTo"
2238
- | "DateGreaterThan"
2239
- | "DateLessThan"
2240
- | "DateLessThanOrEqualTo"
2241
- | "DateEquals"
2242
- | "DateDoesntEqual"
2243
- | "DateNonEmpty"
2244
- | "DateEmpty"
2245
- | "StringContains"
2246
- | "StringEquals"
2247
- | "StringNotEmpty"
2248
- | "StringNotEquals"
2249
- | "StringNotContains";
2156
+ filterType: FusionReportFilterFilterTypeEnum;
2250
2157
  targetField: string;
2251
2158
  targetValue: string;
2252
2159
  }
@@ -2374,40 +2281,7 @@ export interface GuidPatchOperation {
2374
2281
  }
2375
2282
 
2376
2283
  export interface IPAddress {
2377
- addressFamily:
2378
- | "Unspecified"
2379
- | "Unix"
2380
- | "InterNetwork"
2381
- | "ImpLink"
2382
- | "Pup"
2383
- | "Chaos"
2384
- | "NS"
2385
- | "Ipx"
2386
- | "Iso"
2387
- | "Osi"
2388
- | "Ecma"
2389
- | "DataKit"
2390
- | "Ccitt"
2391
- | "Sna"
2392
- | "DecNet"
2393
- | "DataLink"
2394
- | "Lat"
2395
- | "HyperChannel"
2396
- | "AppleTalk"
2397
- | "NetBios"
2398
- | "VoiceView"
2399
- | "FireFox"
2400
- | "Banyan"
2401
- | "Atm"
2402
- | "InterNetworkV6"
2403
- | "Cluster"
2404
- | "Ieee12844"
2405
- | "Irda"
2406
- | "NetworkDesigners"
2407
- | "Max"
2408
- | "Packet"
2409
- | "ControllerAreaNetwork"
2410
- | "Unknown";
2284
+ addressFamily: IpAddressAddressFamilyEnum;
2411
2285
  /** @format int64 */
2412
2286
  scopeId: number;
2413
2287
  isIPv6Multicast: boolean;
@@ -2675,7 +2549,7 @@ export interface Loan {
2675
2549
  userLoans: UserLoan[];
2676
2550
  contacts: LoanContact[];
2677
2551
  customFields: CustomFieldEntry[];
2678
- signingMethod: "ConsumerConnect" | "POSF";
2552
+ signingMethod: LoanSigningMethodEnum;
2679
2553
  }
2680
2554
 
2681
2555
  export interface LoanApplication {
@@ -2734,7 +2608,7 @@ export interface LoanBorrower {
2734
2608
  citizenship?: LoanCitizenship | null;
2735
2609
  maritalStatus?: LoanMaritalStatus | null;
2736
2610
  languagePreference?: LoanLanguagePreference | null;
2737
- applicationStatus: "Draft" | "Complete";
2611
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
2738
2612
  /** @format int32 */
2739
2613
  numberOfDependents?: number | null;
2740
2614
  isPrimaryBorrower: boolean;
@@ -3659,20 +3533,7 @@ export interface LoanContact {
3659
3533
  email?: string | null;
3660
3534
  phone?: string | null;
3661
3535
  companyName?: string | null;
3662
- role:
3663
- | "Borrower"
3664
- | "CoBorrower"
3665
- | "NonBorrower"
3666
- | "LoanOfficer"
3667
- | "LoanProcessor"
3668
- | "LoanOfficerAssistant"
3669
- | "SupportingLoanOfficer"
3670
- | "BuyerAgent"
3671
- | "SellerAgent"
3672
- | "TitleInsuranceAgent"
3673
- | "EscrowAgent"
3674
- | "SettlementAgent"
3675
- | "Admin";
3536
+ role: LoanContactRoleEnum;
3676
3537
  }
3677
3538
 
3678
3539
  export interface LoanContactList {
@@ -3726,39 +3587,13 @@ export interface LoanDocumentFolderPermission {
3726
3587
  id: string;
3727
3588
  /** @format uuid */
3728
3589
  loanDocumentFolderID: string;
3729
- role:
3730
- | "Borrower"
3731
- | "CoBorrower"
3732
- | "NonBorrower"
3733
- | "LoanOfficer"
3734
- | "LoanProcessor"
3735
- | "LoanOfficerAssistant"
3736
- | "SupportingLoanOfficer"
3737
- | "BuyerAgent"
3738
- | "SellerAgent"
3739
- | "TitleInsuranceAgent"
3740
- | "EscrowAgent"
3741
- | "SettlementAgent"
3742
- | "Admin";
3743
- level: "None" | "Read" | "Write" | "Manage";
3590
+ role: LoanDocumentFolderPermissionRoleEnum;
3591
+ level: LoanDocumentFolderPermissionLevelEnum;
3744
3592
  }
3745
3593
 
3746
3594
  export interface LoanDocumentFolderPermissionRequest {
3747
- role:
3748
- | "Borrower"
3749
- | "CoBorrower"
3750
- | "NonBorrower"
3751
- | "LoanOfficer"
3752
- | "LoanProcessor"
3753
- | "LoanOfficerAssistant"
3754
- | "SupportingLoanOfficer"
3755
- | "BuyerAgent"
3756
- | "SellerAgent"
3757
- | "TitleInsuranceAgent"
3758
- | "EscrowAgent"
3759
- | "SettlementAgent"
3760
- | "Admin";
3761
- level: "None" | "Read" | "Write" | "Manage";
3595
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
3596
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
3762
3597
  }
3763
3598
 
3764
3599
  export interface LoanDocumentFolderUsage {
@@ -3876,19 +3711,14 @@ export interface LoanImport {
3876
3711
  /** @format int32 */
3877
3712
  importedCount: number;
3878
3713
  statusMessage?: string | null;
3879
- status:
3880
- | "WaitingProcess"
3881
- | "InProgress"
3882
- | "Completed"
3883
- | "Failed"
3884
- | "Cancelled";
3885
- importMode: "All" | "NewOnly" | "UpdateOnly";
3714
+ status: LoanImportStatusEnum;
3715
+ importMode: LoanImportImportModeEnum;
3886
3716
  /** @format date-time */
3887
3717
  createdAt?: string | null;
3888
3718
  }
3889
3719
 
3890
3720
  export interface LoanImportLog {
3891
- level: "None" | "Info" | "Warning" | "Error";
3721
+ level: LoanImportLogLevelEnum;
3892
3722
  message: string;
3893
3723
  /** @format date-time */
3894
3724
  createdAt: string;
@@ -3949,24 +3779,8 @@ export interface LoanListPaginated {
3949
3779
  export interface LoanLog {
3950
3780
  /** @format uuid */
3951
3781
  id: string;
3952
- level: "None" | "Info" | "Warning" | "Error";
3953
- type:
3954
- | "Loan"
3955
- | "Queue"
3956
- | "POSFlagChanged"
3957
- | "Verification"
3958
- | "DocumentUploaded"
3959
- | "LoanCreated"
3960
- | "WorkflowSubmitted"
3961
- | "UserInvitationSent"
3962
- | "CoBorrowerAdded"
3963
- | "TaskCompleted"
3964
- | "LoanStatusChanged"
3965
- | "Consent"
3966
- | "SensitiveDataPurge"
3967
- | "ClosingDateUpdated"
3968
- | "ConsumerConnectAssociation"
3969
- | "TaskReminderSent";
3782
+ level: LoanLogLevelEnum;
3783
+ type: LoanLogTypeEnum;
3970
3784
  message: string;
3971
3785
  /** @format date-time */
3972
3786
  createdAt: string;
@@ -3975,24 +3789,8 @@ export interface LoanLog {
3975
3789
  export interface LoanLogDetail {
3976
3790
  /** @format uuid */
3977
3791
  id: string;
3978
- level: "None" | "Info" | "Warning" | "Error";
3979
- type:
3980
- | "Loan"
3981
- | "Queue"
3982
- | "POSFlagChanged"
3983
- | "Verification"
3984
- | "DocumentUploaded"
3985
- | "LoanCreated"
3986
- | "WorkflowSubmitted"
3987
- | "UserInvitationSent"
3988
- | "CoBorrowerAdded"
3989
- | "TaskCompleted"
3990
- | "LoanStatusChanged"
3991
- | "Consent"
3992
- | "SensitiveDataPurge"
3993
- | "ClosingDateUpdated"
3994
- | "ConsumerConnectAssociation"
3995
- | "TaskReminderSent";
3792
+ level: LoanLogDetailLevelEnum;
3793
+ type: LoanLogDetailTypeEnum;
3996
3794
  message: string;
3997
3795
  /** @format date-time */
3998
3796
  createdAt: string;
@@ -4280,7 +4078,7 @@ export interface LoanTaskSearchRequest {
4280
4078
  }
4281
4079
 
4282
4080
  export interface LoanTaskStatusSummary {
4283
- status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4081
+ status: LoanTaskStatusSummaryStatusEnum;
4284
4082
  /** @format int32 */
4285
4083
  count: number;
4286
4084
  }
@@ -4293,20 +4091,7 @@ export interface LoanUser {
4293
4091
  email: string;
4294
4092
  phone?: string | null;
4295
4093
  role: string;
4296
- loanRole:
4297
- | "Borrower"
4298
- | "CoBorrower"
4299
- | "NonBorrower"
4300
- | "LoanOfficer"
4301
- | "LoanProcessor"
4302
- | "LoanOfficerAssistant"
4303
- | "SupportingLoanOfficer"
4304
- | "BuyerAgent"
4305
- | "SellerAgent"
4306
- | "TitleInsuranceAgent"
4307
- | "EscrowAgent"
4308
- | "SettlementAgent"
4309
- | "Admin";
4094
+ loanRole: LoanUserLoanRoleEnum;
4310
4095
  isUser: boolean;
4311
4096
  /** @format date-time */
4312
4097
  createdAt: string;
@@ -4342,13 +4127,7 @@ export interface LosOperationTracking {
4342
4127
  operationType: string;
4343
4128
  correlationKey: string;
4344
4129
  lastTriggerSource?: string | null;
4345
- status:
4346
- | "Pending"
4347
- | "Success"
4348
- | "Failed"
4349
- | "ConfigurationError"
4350
- | "PermanentFailure"
4351
- | "Locked";
4130
+ status: LosOperationTrackingStatusEnum;
4352
4131
  /** @format date-time */
4353
4132
  createdAt: string;
4354
4133
  /** @format date-time */
@@ -4415,7 +4194,7 @@ export interface LosSyncStep {
4415
4194
  /** @format int32 */
4416
4195
  order: number;
4417
4196
  name: string;
4418
- severity: "Success" | "Info" | "Warning" | "Error";
4197
+ severity: LosSyncStepSeverityEnum;
4419
4198
  message: string;
4420
4199
  /** @format date-time */
4421
4200
  atUtc: string;
@@ -5079,7 +4858,7 @@ export interface SSOTokenRequest {
5079
4858
  }
5080
4859
 
5081
4860
  export interface SamlMetadataRequest {
5082
- ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4861
+ ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
5083
4862
  }
5084
4863
 
5085
4864
  export interface SendForgotPasswordRequest {
@@ -5137,7 +4916,7 @@ export interface SiteConfiguration {
5137
4916
  deletedAt?: string | null;
5138
4917
  /** @format uuid */
5139
4918
  id: string;
5140
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4919
+ type: SiteConfigurationTypeEnum;
5141
4920
  /** @format uuid */
5142
4921
  entityID: string;
5143
4922
  /** @format int32 */
@@ -5332,7 +5111,7 @@ export interface SiteConfigurationByUrl {
5332
5111
  deletedAt?: string | null;
5333
5112
  /** @format uuid */
5334
5113
  id: string;
5335
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5114
+ type: SiteConfigurationByUrlTypeEnum;
5336
5115
  /** @format uuid */
5337
5116
  entityID: string;
5338
5117
  /** @format int32 */
@@ -5545,7 +5324,7 @@ export interface SiteConfigurationForm {
5545
5324
  export interface SiteConfigurationReduced {
5546
5325
  /** @format uuid */
5547
5326
  id: string;
5548
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5327
+ type: SiteConfigurationReducedTypeEnum;
5549
5328
  url?: string | null;
5550
5329
  name: string;
5551
5330
  /** @format int64 */
@@ -5563,7 +5342,7 @@ export interface SiteConfigurationRequest {
5563
5342
  entityID: string;
5564
5343
  /** @format int32 */
5565
5344
  entityType: number;
5566
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5345
+ type: SiteConfigurationRequestTypeEnum;
5567
5346
  url: string;
5568
5347
  name: string;
5569
5348
  introduction?: string | null;
@@ -5740,7 +5519,7 @@ export interface SiteConfigurationSearchCriteria {
5740
5519
  export interface SiteConfigurationSummary {
5741
5520
  /** @format uuid */
5742
5521
  id: string;
5743
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5522
+ type: SiteConfigurationSummaryTypeEnum;
5744
5523
  url?: string | null;
5745
5524
  name: string;
5746
5525
  /** @format int64 */
@@ -6408,20 +6187,7 @@ export interface UserDevice {
6408
6187
  export interface UserDraft {
6409
6188
  /** @format uuid */
6410
6189
  draftID: string;
6411
- role:
6412
- | "Borrower"
6413
- | "CoBorrower"
6414
- | "NonBorrower"
6415
- | "LoanOfficer"
6416
- | "LoanProcessor"
6417
- | "LoanOfficerAssistant"
6418
- | "SupportingLoanOfficer"
6419
- | "BuyerAgent"
6420
- | "SellerAgent"
6421
- | "TitleInsuranceAgent"
6422
- | "EscrowAgent"
6423
- | "SettlementAgent"
6424
- | "Admin";
6190
+ role: UserDraftRoleEnum;
6425
6191
  user: User;
6426
6192
  }
6427
6193
 
@@ -6448,7 +6214,7 @@ export interface UserGroupAccessScope {
6448
6214
  id: string;
6449
6215
  /** @format uuid */
6450
6216
  groupId: string;
6451
- scopeType: "User" | "Branch";
6217
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
6452
6218
  /** @format uuid */
6453
6219
  userId?: string | null;
6454
6220
  /** @format uuid */
@@ -6484,25 +6250,13 @@ export interface UserLoan {
6484
6250
  deletedAt?: string | null;
6485
6251
  loanID: string;
6486
6252
  user: User;
6487
- role:
6488
- | "Borrower"
6489
- | "CoBorrower"
6490
- | "NonBorrower"
6491
- | "LoanOfficer"
6492
- | "LoanProcessor"
6493
- | "LoanOfficerAssistant"
6494
- | "SupportingLoanOfficer"
6495
- | "BuyerAgent"
6496
- | "SellerAgent"
6497
- | "TitleInsuranceAgent"
6498
- | "EscrowAgent"
6499
- | "SettlementAgent"
6500
- | "Admin";
6253
+ role: UserLoanRoleEnum;
6501
6254
  /** @format int32 */
6502
6255
  borrowerPair?: number | null;
6503
6256
  /** @format int32 */
6504
6257
  borrowerPosition?: number | null;
6505
6258
  customLoanData?: CustomLoanData | null;
6259
+ consents: UserLoanConsent[];
6506
6260
  }
6507
6261
 
6508
6262
  export interface UserLoanConsent {
@@ -6510,12 +6264,16 @@ export interface UserLoanConsent {
6510
6264
  id: string;
6511
6265
  /** @format uuid */
6512
6266
  userLoanID: string;
6513
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
6267
+ type: UserLoanConsentTypeEnum;
6514
6268
  providedConsent: boolean;
6515
6269
  ipAddress?: string | null;
6516
- losSyncStatus: "NotStarted" | "Failed" | "Success";
6270
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
6517
6271
  /** @format date-time */
6518
6272
  createdAt: string;
6273
+ /** @format date-time */
6274
+ updatedAt?: string | null;
6275
+ /** @format date-time */
6276
+ deletedAt?: string | null;
6519
6277
  }
6520
6278
 
6521
6279
  export interface UserLoanTask {
@@ -6664,16 +6422,7 @@ export interface UserSummary {
6664
6422
  id: string;
6665
6423
  name?: string | null;
6666
6424
  email?: string | null;
6667
- role:
6668
- | "Borrower"
6669
- | "LoanOfficer"
6670
- | "Admin"
6671
- | "SuperAdmin"
6672
- | "Realtor"
6673
- | "SettlementAgent"
6674
- | "LoanProcessor"
6675
- | "LoanOfficerAssistant"
6676
- | "SystemAdmin";
6425
+ role: UserSummaryRoleEnum;
6677
6426
  }
6678
6427
 
6679
6428
  export interface VerifyPasswordRequest {
@@ -6709,6 +6458,488 @@ export interface Workflow {
6709
6458
  icon: string;
6710
6459
  }
6711
6460
 
6461
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6462
+
6463
+ export type AuditLogEntryChangeTypeEnum =
6464
+ | "Created"
6465
+ | "Modified"
6466
+ | "SoftDeleted"
6467
+ | "HardDeleted"
6468
+ | "Restored";
6469
+
6470
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6471
+
6472
+ export type CreateAccountRequestEnvironmentEnum =
6473
+ | "Development"
6474
+ | "Staging"
6475
+ | "UAT"
6476
+ | "Production";
6477
+
6478
+ export type CreateCustomFieldDefinitionRequestDataTypeEnum =
6479
+ | "String"
6480
+ | "Number"
6481
+ | "Decimal"
6482
+ | "Boolean"
6483
+ | "Date"
6484
+ | "SingleSelect"
6485
+ | "MultiSelect";
6486
+
6487
+ export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
6488
+
6489
+ export type CreateGroupMemberRequestLoanRoleEnum =
6490
+ | "Borrower"
6491
+ | "CoBorrower"
6492
+ | "NonBorrower"
6493
+ | "LoanOfficer"
6494
+ | "LoanProcessor"
6495
+ | "LoanOfficerAssistant"
6496
+ | "SupportingLoanOfficer"
6497
+ | "BuyerAgent"
6498
+ | "SellerAgent"
6499
+ | "TitleInsuranceAgent"
6500
+ | "EscrowAgent"
6501
+ | "SettlementAgent"
6502
+ | "Admin";
6503
+
6504
+ /** @deprecated */
6505
+ export type CreateInviteRequestRelationshipEnum =
6506
+ | "NotApplicable"
6507
+ | "Spouse"
6508
+ | "NonSpouse";
6509
+
6510
+ export type CreateLoanImportRequestImportModeEnum =
6511
+ | "All"
6512
+ | "NewOnly"
6513
+ | "UpdateOnly";
6514
+
6515
+ export type CreateUserDraftLoanRoleEnum =
6516
+ | "Borrower"
6517
+ | "CoBorrower"
6518
+ | "NonBorrower"
6519
+ | "LoanOfficer"
6520
+ | "LoanProcessor"
6521
+ | "LoanOfficerAssistant"
6522
+ | "SupportingLoanOfficer"
6523
+ | "BuyerAgent"
6524
+ | "SellerAgent"
6525
+ | "TitleInsuranceAgent"
6526
+ | "EscrowAgent"
6527
+ | "SettlementAgent"
6528
+ | "Admin";
6529
+
6530
+ export type CustomFieldDefinitionDataTypeEnum =
6531
+ | "String"
6532
+ | "Number"
6533
+ | "Decimal"
6534
+ | "Boolean"
6535
+ | "Date"
6536
+ | "SingleSelect"
6537
+ | "MultiSelect";
6538
+
6539
+ export type CustomFieldDefinitionEntityTypeEnum = "Loan";
6540
+
6541
+ export type CustomFieldEntryDataTypeEnum =
6542
+ | "String"
6543
+ | "Number"
6544
+ | "Decimal"
6545
+ | "Boolean"
6546
+ | "Date"
6547
+ | "SingleSelect"
6548
+ | "MultiSelect";
6549
+
6550
+ export type CustomFieldPermissionRoleEnum =
6551
+ | "Borrower"
6552
+ | "LoanOfficer"
6553
+ | "Admin"
6554
+ | "SuperAdmin"
6555
+ | "Realtor"
6556
+ | "SettlementAgent"
6557
+ | "LoanProcessor"
6558
+ | "LoanOfficerAssistant"
6559
+ | "SystemAdmin";
6560
+
6561
+ export type CustomFieldPermissionAccessLevelEnum =
6562
+ | "NoAccess"
6563
+ | "ReadOnly"
6564
+ | "ReadWrite";
6565
+
6566
+ export type CustomFieldPermissionRequestRoleEnum =
6567
+ | "Borrower"
6568
+ | "LoanOfficer"
6569
+ | "Admin"
6570
+ | "SuperAdmin"
6571
+ | "Realtor"
6572
+ | "SettlementAgent"
6573
+ | "LoanProcessor"
6574
+ | "LoanOfficerAssistant"
6575
+ | "SystemAdmin";
6576
+
6577
+ export type CustomFieldPermissionRequestAccessLevelEnum =
6578
+ | "NoAccess"
6579
+ | "ReadOnly"
6580
+ | "ReadWrite";
6581
+
6582
+ export type CustomFieldValueDataTypeEnum =
6583
+ | "String"
6584
+ | "Number"
6585
+ | "Decimal"
6586
+ | "Boolean"
6587
+ | "Date"
6588
+ | "SingleSelect"
6589
+ | "MultiSelect";
6590
+
6591
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
6592
+
6593
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6594
+
6595
+ export type EncompassCredentialsDetailSigningMethodEnum =
6596
+ | "ConsumerConnect"
6597
+ | "POSF";
6598
+
6599
+ export type EncompassCredentialsRequestSigningMethodEnum =
6600
+ | "ConsumerConnect"
6601
+ | "POSF";
6602
+
6603
+ export type EncompassRequestLogOperationTypeEnum =
6604
+ | "FieldUpdate"
6605
+ | "ConsentUpdate"
6606
+ | "DocumentSync"
6607
+ | "MilestoneUpdate"
6608
+ | "DocumentAttachment"
6609
+ | "General"
6610
+ | "FieldReader";
6611
+
6612
+ export type EncompassRequestLogOutcomeEnum =
6613
+ | "Success"
6614
+ | "Failure"
6615
+ | "PartialSuccess";
6616
+
6617
+ export type FusionReportFilterFilterTypeEnum =
6618
+ | "DateGreaterThanOrEqualTo"
6619
+ | "DateGreaterThan"
6620
+ | "DateLessThan"
6621
+ | "DateLessThanOrEqualTo"
6622
+ | "DateEquals"
6623
+ | "DateDoesntEqual"
6624
+ | "DateNonEmpty"
6625
+ | "DateEmpty"
6626
+ | "StringContains"
6627
+ | "StringEquals"
6628
+ | "StringNotEmpty"
6629
+ | "StringNotEquals"
6630
+ | "StringNotContains";
6631
+
6632
+ export type IpAddressAddressFamilyEnum =
6633
+ | "Unspecified"
6634
+ | "Unix"
6635
+ | "InterNetwork"
6636
+ | "ImpLink"
6637
+ | "Pup"
6638
+ | "Chaos"
6639
+ | "NS"
6640
+ | "Ipx"
6641
+ | "Iso"
6642
+ | "Osi"
6643
+ | "Ecma"
6644
+ | "DataKit"
6645
+ | "Ccitt"
6646
+ | "Sna"
6647
+ | "DecNet"
6648
+ | "DataLink"
6649
+ | "Lat"
6650
+ | "HyperChannel"
6651
+ | "AppleTalk"
6652
+ | "NetBios"
6653
+ | "VoiceView"
6654
+ | "FireFox"
6655
+ | "Banyan"
6656
+ | "Atm"
6657
+ | "InterNetworkV6"
6658
+ | "Cluster"
6659
+ | "Ieee12844"
6660
+ | "Irda"
6661
+ | "NetworkDesigners"
6662
+ | "Max"
6663
+ | "Packet"
6664
+ | "ControllerAreaNetwork"
6665
+ | "Unknown";
6666
+
6667
+ export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6668
+
6669
+ export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6670
+
6671
+ export type LoanContactRoleEnum =
6672
+ | "Borrower"
6673
+ | "CoBorrower"
6674
+ | "NonBorrower"
6675
+ | "LoanOfficer"
6676
+ | "LoanProcessor"
6677
+ | "LoanOfficerAssistant"
6678
+ | "SupportingLoanOfficer"
6679
+ | "BuyerAgent"
6680
+ | "SellerAgent"
6681
+ | "TitleInsuranceAgent"
6682
+ | "EscrowAgent"
6683
+ | "SettlementAgent"
6684
+ | "Admin";
6685
+
6686
+ export type LoanDocumentFolderPermissionRoleEnum =
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 LoanDocumentFolderPermissionLevelEnum =
6702
+ | "None"
6703
+ | "Read"
6704
+ | "Write"
6705
+ | "Manage";
6706
+
6707
+ export type LoanDocumentFolderPermissionRequestRoleEnum =
6708
+ | "Borrower"
6709
+ | "CoBorrower"
6710
+ | "NonBorrower"
6711
+ | "LoanOfficer"
6712
+ | "LoanProcessor"
6713
+ | "LoanOfficerAssistant"
6714
+ | "SupportingLoanOfficer"
6715
+ | "BuyerAgent"
6716
+ | "SellerAgent"
6717
+ | "TitleInsuranceAgent"
6718
+ | "EscrowAgent"
6719
+ | "SettlementAgent"
6720
+ | "Admin";
6721
+
6722
+ export type LoanDocumentFolderPermissionRequestLevelEnum =
6723
+ | "None"
6724
+ | "Read"
6725
+ | "Write"
6726
+ | "Manage";
6727
+
6728
+ export type LoanImportStatusEnum =
6729
+ | "WaitingProcess"
6730
+ | "InProgress"
6731
+ | "Completed"
6732
+ | "Failed"
6733
+ | "Cancelled";
6734
+
6735
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6736
+
6737
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6738
+
6739
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6740
+
6741
+ export type LoanLogTypeEnum =
6742
+ | "Loan"
6743
+ | "Queue"
6744
+ | "POSFlagChanged"
6745
+ | "Verification"
6746
+ | "DocumentUploaded"
6747
+ | "LoanCreated"
6748
+ | "WorkflowSubmitted"
6749
+ | "UserInvitationSent"
6750
+ | "CoBorrowerAdded"
6751
+ | "TaskCompleted"
6752
+ | "LoanStatusChanged"
6753
+ | "Consent"
6754
+ | "SensitiveDataPurge"
6755
+ | "ClosingDateUpdated"
6756
+ | "ConsumerConnectAssociation"
6757
+ | "TaskReminderSent";
6758
+
6759
+ export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6760
+
6761
+ export type LoanLogDetailTypeEnum =
6762
+ | "Loan"
6763
+ | "Queue"
6764
+ | "POSFlagChanged"
6765
+ | "Verification"
6766
+ | "DocumentUploaded"
6767
+ | "LoanCreated"
6768
+ | "WorkflowSubmitted"
6769
+ | "UserInvitationSent"
6770
+ | "CoBorrowerAdded"
6771
+ | "TaskCompleted"
6772
+ | "LoanStatusChanged"
6773
+ | "Consent"
6774
+ | "SensitiveDataPurge"
6775
+ | "ClosingDateUpdated"
6776
+ | "ConsumerConnectAssociation"
6777
+ | "TaskReminderSent";
6778
+
6779
+ export type LoanTaskStatusSummaryStatusEnum =
6780
+ | "Outstanding"
6781
+ | "Pending"
6782
+ | "Completed"
6783
+ | "Rejected"
6784
+ | "Unknown";
6785
+
6786
+ export type LoanUserLoanRoleEnum =
6787
+ | "Borrower"
6788
+ | "CoBorrower"
6789
+ | "NonBorrower"
6790
+ | "LoanOfficer"
6791
+ | "LoanProcessor"
6792
+ | "LoanOfficerAssistant"
6793
+ | "SupportingLoanOfficer"
6794
+ | "BuyerAgent"
6795
+ | "SellerAgent"
6796
+ | "TitleInsuranceAgent"
6797
+ | "EscrowAgent"
6798
+ | "SettlementAgent"
6799
+ | "Admin";
6800
+
6801
+ export type LosOperationTrackingStatusEnum =
6802
+ | "Pending"
6803
+ | "Success"
6804
+ | "Failed"
6805
+ | "ConfigurationError"
6806
+ | "PermanentFailure"
6807
+ | "Locked";
6808
+
6809
+ export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
6810
+
6811
+ export type SamlMetadataRequestSsoIntegrationEnum =
6812
+ | "ConsumerConnect"
6813
+ | "TheBigPOS"
6814
+ | "POSF";
6815
+
6816
+ export type SiteConfigurationTypeEnum =
6817
+ | "None"
6818
+ | "Account"
6819
+ | "Corporate"
6820
+ | "Branch"
6821
+ | "LoanOfficer"
6822
+ | "Partner";
6823
+
6824
+ export type SiteConfigurationByUrlTypeEnum =
6825
+ | "None"
6826
+ | "Account"
6827
+ | "Corporate"
6828
+ | "Branch"
6829
+ | "LoanOfficer"
6830
+ | "Partner";
6831
+
6832
+ export type SiteConfigurationReducedTypeEnum =
6833
+ | "None"
6834
+ | "Account"
6835
+ | "Corporate"
6836
+ | "Branch"
6837
+ | "LoanOfficer"
6838
+ | "Partner";
6839
+
6840
+ export type SiteConfigurationRequestTypeEnum =
6841
+ | "None"
6842
+ | "Account"
6843
+ | "Corporate"
6844
+ | "Branch"
6845
+ | "LoanOfficer"
6846
+ | "Partner";
6847
+
6848
+ export type SiteConfigurationSummaryTypeEnum =
6849
+ | "None"
6850
+ | "Account"
6851
+ | "Corporate"
6852
+ | "Branch"
6853
+ | "LoanOfficer"
6854
+ | "Partner";
6855
+
6856
+ export type UserDraftRoleEnum =
6857
+ | "Borrower"
6858
+ | "CoBorrower"
6859
+ | "NonBorrower"
6860
+ | "LoanOfficer"
6861
+ | "LoanProcessor"
6862
+ | "LoanOfficerAssistant"
6863
+ | "SupportingLoanOfficer"
6864
+ | "BuyerAgent"
6865
+ | "SellerAgent"
6866
+ | "TitleInsuranceAgent"
6867
+ | "EscrowAgent"
6868
+ | "SettlementAgent"
6869
+ | "Admin";
6870
+
6871
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6872
+
6873
+ export type UserLoanRoleEnum =
6874
+ | "Borrower"
6875
+ | "CoBorrower"
6876
+ | "NonBorrower"
6877
+ | "LoanOfficer"
6878
+ | "LoanProcessor"
6879
+ | "LoanOfficerAssistant"
6880
+ | "SupportingLoanOfficer"
6881
+ | "BuyerAgent"
6882
+ | "SellerAgent"
6883
+ | "TitleInsuranceAgent"
6884
+ | "EscrowAgent"
6885
+ | "SettlementAgent"
6886
+ | "Admin";
6887
+
6888
+ export type UserLoanConsentTypeEnum =
6889
+ | "Econsent"
6890
+ | "CreditAuthorization"
6891
+ | "Tcpa";
6892
+
6893
+ export type UserLoanConsentLosSyncStatusEnum =
6894
+ | "NotStarted"
6895
+ | "Failed"
6896
+ | "Success";
6897
+
6898
+ export type UserSummaryRoleEnum =
6899
+ | "Borrower"
6900
+ | "LoanOfficer"
6901
+ | "Admin"
6902
+ | "SuperAdmin"
6903
+ | "Realtor"
6904
+ | "SettlementAgent"
6905
+ | "LoanProcessor"
6906
+ | "LoanOfficerAssistant"
6907
+ | "SystemAdmin";
6908
+
6909
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6910
+
6911
+ /** @default "Realtor" */
6912
+ export type GetPartnersParamsRoleEnum =
6913
+ | "Borrower"
6914
+ | "LoanOfficer"
6915
+ | "Admin"
6916
+ | "SuperAdmin"
6917
+ | "Realtor"
6918
+ | "SettlementAgent"
6919
+ | "LoanProcessor"
6920
+ | "LoanOfficerAssistant"
6921
+ | "SystemAdmin";
6922
+
6923
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
6924
+ | "ConsumerConnect"
6925
+ | "TheBigPOS"
6926
+ | "POSF";
6927
+
6928
+ export type GetSamlMetadataParamsEnum =
6929
+ | "ConsumerConnect"
6930
+ | "TheBigPOS"
6931
+ | "POSF";
6932
+
6933
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6934
+ | "ConsumerConnect"
6935
+ | "TheBigPOS"
6936
+ | "POSF";
6937
+
6938
+ export type CreateOrReplaceSamlMetadataParamsEnum =
6939
+ | "ConsumerConnect"
6940
+ | "TheBigPOS"
6941
+ | "POSF";
6942
+
6712
6943
  import type {
6713
6944
  AxiosInstance,
6714
6945
  AxiosRequestConfig,
@@ -6887,7 +7118,7 @@ export class HttpClient<SecurityDataType = unknown> {
6887
7118
 
6888
7119
  /**
6889
7120
  * @title The Big POS API
6890
- * @version v2.39.2
7121
+ * @version v2.40.0
6891
7122
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6892
7123
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6893
7124
  */
@@ -8106,7 +8337,7 @@ export class Api<
8106
8337
  */
8107
8338
  getCustomFieldDefinitions: (
8108
8339
  query?: {
8109
- entityType?: "Loan";
8340
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
8110
8341
  },
8111
8342
  params: RequestParams = {},
8112
8343
  ) =>
@@ -10590,13 +10821,13 @@ export class Api<
10590
10821
  * No description
10591
10822
  *
10592
10823
  * @tags LoanDocumentFolders
10593
- * @name GetLoanDocumentFolders
10824
+ * @name GetAllLoanDocumentFolders
10594
10825
  * @summary Get all loan document folders for the current account
10595
10826
  * @request GET:/api/loan-document-folders
10596
10827
  * @secure
10597
10828
  * @response `200` `(LoanDocumentFolder)[]` Success
10598
10829
  */
10599
- getLoanDocumentFolders: (params: RequestParams = {}) =>
10830
+ getAllLoanDocumentFolders: (params: RequestParams = {}) =>
10600
10831
  this.request<LoanDocumentFolder[], any>({
10601
10832
  path: `/api/loan-document-folders`,
10602
10833
  method: "GET",
@@ -10853,15 +11084,13 @@ export class Api<
10853
11084
  * @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).
10854
11085
  *
10855
11086
  * @tags LoanDocuments
10856
- * @name GetLoanDocumentFolders2
11087
+ * @name GetLoanDocumentFolders
10857
11088
  * @summary Get document folder hierarchy
10858
11089
  * @request POST:/api/loans/{loanId}/documents/folders
10859
- * @originalName getLoanDocumentFolders
10860
- * @duplicate
10861
11090
  * @secure
10862
11091
  * @response `200` `(DocumentFolder)[]` Success
10863
11092
  */
10864
- getLoanDocumentFolders2: (
11093
+ getLoanDocumentFolders: (
10865
11094
  loanId: string,
10866
11095
  data: DocumentFoldersRequest,
10867
11096
  query?: {
@@ -10924,6 +11153,8 @@ export class Api<
10924
11153
  /** @format binary */
10925
11154
  file?: File;
10926
11155
  bucket?: string;
11156
+ /** @format uuid */
11157
+ folderID?: string;
10927
11158
  },
10928
11159
  params: RequestParams = {},
10929
11160
  ) =>
@@ -12096,6 +12327,8 @@ export class Api<
12096
12327
  /** @format binary */
12097
12328
  file?: File;
12098
12329
  bucket?: string;
12330
+ /** @format uuid */
12331
+ folderID?: string;
12099
12332
  },
12100
12333
  params: RequestParams = {},
12101
12334
  ) =>
@@ -13130,16 +13363,7 @@ export class Api<
13130
13363
  query?: {
13131
13364
  showAll?: boolean;
13132
13365
  /** @default "Realtor" */
13133
- role?:
13134
- | "Borrower"
13135
- | "LoanOfficer"
13136
- | "Admin"
13137
- | "SuperAdmin"
13138
- | "Realtor"
13139
- | "SettlementAgent"
13140
- | "LoanProcessor"
13141
- | "LoanOfficerAssistant"
13142
- | "SystemAdmin";
13366
+ role?: GetPartnersParamsRoleEnum;
13143
13367
  /** @format int32 */
13144
13368
  pageSize?: number;
13145
13369
  /** @format int32 */
@@ -13475,7 +13699,7 @@ export class Api<
13475
13699
  * @response `404` `ProblemDetails` Not Found
13476
13700
  */
13477
13701
  getSamlMetadata: (
13478
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13702
+ sSoIntegration: GetSamlMetadataParamsEnum,
13479
13703
  ssoIntegration: string,
13480
13704
  params: RequestParams = {},
13481
13705
  ) =>
@@ -13497,7 +13721,7 @@ export class Api<
13497
13721
  * @response `200` `File` Success
13498
13722
  */
13499
13723
  createOrReplaceSamlMetadata: (
13500
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13724
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
13501
13725
  ssoIntegration: string,
13502
13726
  params: RequestParams = {},
13503
13727
  ) =>