@matech/thebigpos-sdk 2.35.0 → 2.35.1-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
@@ -411,7 +411,7 @@ export interface AccountBilling {
411
411
  }
412
412
 
413
413
  export interface AccountBillingRequest {
414
- billingType: AccountBillingRequestBillingTypeEnum;
414
+ billingType: "ClosedLoan" | "LoanOfficer";
415
415
  /**
416
416
  * @format double
417
417
  * @min 0
@@ -986,7 +986,7 @@ export interface CorporateSearchCriteria {
986
986
  }
987
987
 
988
988
  export interface CreateAccessScopeRequest {
989
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
989
+ scopeType: "User" | "Branch";
990
990
  /** @format uuid */
991
991
  userId?: string | null;
992
992
  /** @format uuid */
@@ -1010,7 +1010,7 @@ export interface CreateAccountRequest {
1010
1010
  */
1011
1011
  nlmsid: number;
1012
1012
  settings: AccountSettingsRequest;
1013
- environment: CreateAccountRequestEnvironmentEnum;
1013
+ environment: "Development" | "Staging" | "UAT" | "Production";
1014
1014
  losIntegration: LOSIntegration;
1015
1015
  billingSettings: AccountBillingRequest;
1016
1016
  }
@@ -1043,7 +1043,19 @@ export interface CreateDocumentTemplateRequest {
1043
1043
  export interface CreateGroupMemberRequest {
1044
1044
  /** @format uuid */
1045
1045
  userId: string;
1046
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
1046
+ loanRole:
1047
+ | "Borrower"
1048
+ | "CoBorrower"
1049
+ | "NonBorrower"
1050
+ | "LoanOfficer"
1051
+ | "LoanProcessor"
1052
+ | "LoanOfficerAssistant"
1053
+ | "SupportingLoanOfficer"
1054
+ | "BuyerAgent"
1055
+ | "SellerAgent"
1056
+ | "TitleInsuranceAgent"
1057
+ | "EscrowAgent"
1058
+ | "SettlementAgent";
1047
1059
  }
1048
1060
 
1049
1061
  export interface CreateInviteRequest {
@@ -1055,7 +1067,7 @@ export interface CreateInviteRequest {
1055
1067
  emailAddress: string;
1056
1068
  phoneNumber?: string | null;
1057
1069
  /** @deprecated */
1058
- relationship: CreateInviteRequestRelationshipEnum;
1070
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1059
1071
  loanID: string;
1060
1072
  route?: string | null;
1061
1073
  /** @format uuid */
@@ -1078,7 +1090,7 @@ export interface CreateLoanImportRequest {
1078
1090
  * @minLength 1
1079
1091
  */
1080
1092
  startDate: string;
1081
- importMode: CreateLoanImportRequestImportModeEnum;
1093
+ importMode: "All" | "NewOnly" | "UpdateOnly";
1082
1094
  }
1083
1095
 
1084
1096
  export interface CreateSession {
@@ -1100,7 +1112,19 @@ export interface CreateUserDeviceRequest {
1100
1112
  }
1101
1113
 
1102
1114
  export interface CreateUserDraft {
1103
- loanRole: CreateUserDraftLoanRoleEnum;
1115
+ loanRole:
1116
+ | "Borrower"
1117
+ | "CoBorrower"
1118
+ | "NonBorrower"
1119
+ | "LoanOfficer"
1120
+ | "LoanProcessor"
1121
+ | "LoanOfficerAssistant"
1122
+ | "SupportingLoanOfficer"
1123
+ | "BuyerAgent"
1124
+ | "SellerAgent"
1125
+ | "TitleInsuranceAgent"
1126
+ | "EscrowAgent"
1127
+ | "SettlementAgent";
1104
1128
  }
1105
1129
 
1106
1130
  export interface CreateUserGroupRequest {
@@ -1298,9 +1322,18 @@ export interface DocumentFolder {
1298
1322
  files: DocumentFile[];
1299
1323
  }
1300
1324
 
1325
+ export interface DocumentFoldersRequest {
1326
+ searchText?: string | null;
1327
+ losStatuses?: LOSStatus[] | null;
1328
+ sortBy?: string | null;
1329
+ sortDirection?: string | null;
1330
+ }
1331
+
1301
1332
  export interface DocumentSync {
1302
1333
  /** @format int32 */
1303
1334
  syncedCount: number;
1335
+ /** @format date-time */
1336
+ lastLosDocumentsSyncDate?: string | null;
1304
1337
  }
1305
1338
 
1306
1339
  export interface DocumentTemplate {
@@ -1407,7 +1440,7 @@ export interface Draft {
1407
1440
  siteConfiguration: SiteConfigurationReduced;
1408
1441
  /** @format uuid */
1409
1442
  loanID?: string | null;
1410
- type: DraftTypeEnum;
1443
+ type: "NewLoan" | "EditLoan";
1411
1444
  isCoBorrower: boolean;
1412
1445
  }
1413
1446
 
@@ -1426,7 +1459,7 @@ export interface DraftContent {
1426
1459
  siteConfiguration: SiteConfigurationReduced;
1427
1460
  /** @format uuid */
1428
1461
  loanID?: string | null;
1429
- type: DraftContentTypeEnum;
1462
+ type: "NewLoan" | "EditLoan";
1430
1463
  isCoBorrower: boolean;
1431
1464
  applicationPayload: any;
1432
1465
  }
@@ -1750,7 +1783,20 @@ export interface FusionFieldDisplay {
1750
1783
  }
1751
1784
 
1752
1785
  export interface FusionReportFilter {
1753
- filterType: FusionReportFilterFilterTypeEnum;
1786
+ filterType:
1787
+ | "DateGreaterThanOrEqualTo"
1788
+ | "DateGreaterThan"
1789
+ | "DateLessThan"
1790
+ | "DateLessThanOrEqualTo"
1791
+ | "DateEquals"
1792
+ | "DateDoesntEqual"
1793
+ | "DateNonEmpty"
1794
+ | "DateEmpty"
1795
+ | "StringContains"
1796
+ | "StringEquals"
1797
+ | "StringNotEmpty"
1798
+ | "StringNotEquals"
1799
+ | "StringNotContains";
1754
1800
  targetField: string;
1755
1801
  targetValue: string;
1756
1802
  }
@@ -1878,7 +1924,40 @@ export interface GuidPatchOperation {
1878
1924
  }
1879
1925
 
1880
1926
  export interface IPAddress {
1881
- addressFamily: IpAddressAddressFamilyEnum;
1927
+ addressFamily:
1928
+ | "Unspecified"
1929
+ | "Unix"
1930
+ | "InterNetwork"
1931
+ | "ImpLink"
1932
+ | "Pup"
1933
+ | "Chaos"
1934
+ | "NS"
1935
+ | "Ipx"
1936
+ | "Iso"
1937
+ | "Osi"
1938
+ | "Ecma"
1939
+ | "DataKit"
1940
+ | "Ccitt"
1941
+ | "Sna"
1942
+ | "DecNet"
1943
+ | "DataLink"
1944
+ | "Lat"
1945
+ | "HyperChannel"
1946
+ | "AppleTalk"
1947
+ | "NetBios"
1948
+ | "VoiceView"
1949
+ | "FireFox"
1950
+ | "Banyan"
1951
+ | "Atm"
1952
+ | "InterNetworkV6"
1953
+ | "Cluster"
1954
+ | "Ieee12844"
1955
+ | "Irda"
1956
+ | "NetworkDesigners"
1957
+ | "Max"
1958
+ | "Packet"
1959
+ | "ControllerAreaNetwork"
1960
+ | "Unknown";
1882
1961
  /** @format int64 */
1883
1962
  scopeId: number;
1884
1963
  isIPv6Multicast: boolean;
@@ -2127,6 +2206,8 @@ export interface Loan {
2127
2206
  isInSync: boolean;
2128
2207
  /** @format date-time */
2129
2208
  syncDate?: string | null;
2209
+ /** @format date-time */
2210
+ lastLosDocumentsSyncDate?: string | null;
2130
2211
  isLocked: boolean;
2131
2212
  isLockedFromEditing: boolean;
2132
2213
  excludeFromAutoTaskReminders?: boolean | null;
@@ -2177,6 +2258,8 @@ export interface LoanApplicationRequest {
2177
2258
  borrowers: LoanBorrowerRequest[];
2178
2259
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
2179
2260
  /** @format uuid */
2261
+ draftId?: string | null;
2262
+ /** @format uuid */
2180
2263
  existingLoanId?: string | null;
2181
2264
  }
2182
2265
 
@@ -3119,7 +3202,19 @@ export interface LoanContact {
3119
3202
  email?: string | null;
3120
3203
  phone?: string | null;
3121
3204
  companyName?: string | null;
3122
- role: LoanContactRoleEnum;
3205
+ role:
3206
+ | "Borrower"
3207
+ | "CoBorrower"
3208
+ | "NonBorrower"
3209
+ | "LoanOfficer"
3210
+ | "LoanProcessor"
3211
+ | "LoanOfficerAssistant"
3212
+ | "SupportingLoanOfficer"
3213
+ | "BuyerAgent"
3214
+ | "SellerAgent"
3215
+ | "TitleInsuranceAgent"
3216
+ | "EscrowAgent"
3217
+ | "SettlementAgent";
3123
3218
  }
3124
3219
 
3125
3220
  export interface LoanContactList {
@@ -3251,14 +3346,19 @@ export interface LoanImport {
3251
3346
  /** @format int32 */
3252
3347
  importedCount: number;
3253
3348
  statusMessage?: string | null;
3254
- status: LoanImportStatusEnum;
3255
- importMode: LoanImportImportModeEnum;
3349
+ status:
3350
+ | "WaitingProcess"
3351
+ | "InProgress"
3352
+ | "Completed"
3353
+ | "Failed"
3354
+ | "Cancelled";
3355
+ importMode: "All" | "NewOnly" | "UpdateOnly";
3256
3356
  /** @format date-time */
3257
3357
  createdAt?: string | null;
3258
3358
  }
3259
3359
 
3260
3360
  export interface LoanImportLog {
3261
- level: LoanImportLogLevelEnum;
3361
+ level: "None" | "Info" | "Warning" | "Error";
3262
3362
  message: string;
3263
3363
  /** @format date-time */
3264
3364
  createdAt: string;
@@ -3319,8 +3419,20 @@ export interface LoanListPaginated {
3319
3419
  export interface LoanLog {
3320
3420
  /** @format uuid */
3321
3421
  id: string;
3322
- level: LoanLogLevelEnum;
3323
- type: LoanLogTypeEnum;
3422
+ level: "None" | "Info" | "Warning" | "Error";
3423
+ type:
3424
+ | "Loan"
3425
+ | "Queue"
3426
+ | "POSFlagChanged"
3427
+ | "Verification"
3428
+ | "DocumentUploaded"
3429
+ | "LoanCreated"
3430
+ | "WorkflowSubmitted"
3431
+ | "UserInvitationSent"
3432
+ | "CoBorrowerAdded"
3433
+ | "TaskCompleted"
3434
+ | "LoanStatusChanged"
3435
+ | "EConsent";
3324
3436
  message: string;
3325
3437
  /** @format date-time */
3326
3438
  createdAt: string;
@@ -3604,7 +3716,19 @@ export interface LoanUser {
3604
3716
  email: string;
3605
3717
  phone?: string | null;
3606
3718
  role: string;
3607
- loanRole: LoanUserLoanRoleEnum;
3719
+ loanRole:
3720
+ | "Borrower"
3721
+ | "CoBorrower"
3722
+ | "NonBorrower"
3723
+ | "LoanOfficer"
3724
+ | "LoanProcessor"
3725
+ | "LoanOfficerAssistant"
3726
+ | "SupportingLoanOfficer"
3727
+ | "BuyerAgent"
3728
+ | "SellerAgent"
3729
+ | "TitleInsuranceAgent"
3730
+ | "EscrowAgent"
3731
+ | "SettlementAgent";
3608
3732
  isUser: boolean;
3609
3733
  /** @format date-time */
3610
3734
  createdAt: string;
@@ -4249,7 +4373,7 @@ export interface SSOTokenRequest {
4249
4373
  }
4250
4374
 
4251
4375
  export interface SamlMetadataRequest {
4252
- ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
4376
+ ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4253
4377
  }
4254
4378
 
4255
4379
  export interface SendForgotPasswordRequest {
@@ -4288,7 +4412,7 @@ export interface SiteConfiguration {
4288
4412
  deletedAt?: string | null;
4289
4413
  /** @format uuid */
4290
4414
  id: string;
4291
- type: SiteConfigurationTypeEnum;
4415
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4292
4416
  /** @format uuid */
4293
4417
  entityID: string;
4294
4418
  /** @format int32 */
@@ -4483,7 +4607,7 @@ export interface SiteConfigurationByUrl {
4483
4607
  deletedAt?: string | null;
4484
4608
  /** @format uuid */
4485
4609
  id: string;
4486
- type: SiteConfigurationByUrlTypeEnum;
4610
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4487
4611
  /** @format uuid */
4488
4612
  entityID: string;
4489
4613
  /** @format int32 */
@@ -4696,7 +4820,7 @@ export interface SiteConfigurationForm {
4696
4820
  export interface SiteConfigurationReduced {
4697
4821
  /** @format uuid */
4698
4822
  id: string;
4699
- type: SiteConfigurationReducedTypeEnum;
4823
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4700
4824
  url?: string | null;
4701
4825
  name: string;
4702
4826
  /** @format int64 */
@@ -4714,7 +4838,7 @@ export interface SiteConfigurationRequest {
4714
4838
  entityID: string;
4715
4839
  /** @format int32 */
4716
4840
  entityType: number;
4717
- type: SiteConfigurationRequestTypeEnum;
4841
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4718
4842
  url: string;
4719
4843
  name: string;
4720
4844
  introduction?: string | null;
@@ -4891,7 +5015,7 @@ export interface SiteConfigurationSearchCriteria {
4891
5015
  export interface SiteConfigurationSummary {
4892
5016
  /** @format uuid */
4893
5017
  id: string;
4894
- type: SiteConfigurationSummaryTypeEnum;
5018
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4895
5019
  url?: string | null;
4896
5020
  name: string;
4897
5021
  /** @format int64 */
@@ -5517,7 +5641,19 @@ export interface UserDevice {
5517
5641
  export interface UserDraft {
5518
5642
  /** @format uuid */
5519
5643
  draftID: string;
5520
- role: UserDraftRoleEnum;
5644
+ role:
5645
+ | "Borrower"
5646
+ | "CoBorrower"
5647
+ | "NonBorrower"
5648
+ | "LoanOfficer"
5649
+ | "LoanProcessor"
5650
+ | "LoanOfficerAssistant"
5651
+ | "SupportingLoanOfficer"
5652
+ | "BuyerAgent"
5653
+ | "SellerAgent"
5654
+ | "TitleInsuranceAgent"
5655
+ | "EscrowAgent"
5656
+ | "SettlementAgent";
5521
5657
  user: User;
5522
5658
  }
5523
5659
 
@@ -5544,7 +5680,7 @@ export interface UserGroupAccessScope {
5544
5680
  id: string;
5545
5681
  /** @format uuid */
5546
5682
  groupId: string;
5547
- scopeType: UserGroupAccessScopeScopeTypeEnum;
5683
+ scopeType: "User" | "Branch";
5548
5684
  /** @format uuid */
5549
5685
  userId?: string | null;
5550
5686
  /** @format uuid */
@@ -5580,7 +5716,19 @@ export interface UserLoan {
5580
5716
  deletedAt?: string | null;
5581
5717
  loanID: string;
5582
5718
  user: User;
5583
- role: UserLoanRoleEnum;
5719
+ role:
5720
+ | "Borrower"
5721
+ | "CoBorrower"
5722
+ | "NonBorrower"
5723
+ | "LoanOfficer"
5724
+ | "LoanProcessor"
5725
+ | "LoanOfficerAssistant"
5726
+ | "SupportingLoanOfficer"
5727
+ | "BuyerAgent"
5728
+ | "SellerAgent"
5729
+ | "TitleInsuranceAgent"
5730
+ | "EscrowAgent"
5731
+ | "SettlementAgent";
5584
5732
  /** @format int32 */
5585
5733
  borrowerPair?: number | null;
5586
5734
  /** @format int32 */
@@ -5593,7 +5741,7 @@ export interface UserLoanConsent {
5593
5741
  id: string;
5594
5742
  /** @format uuid */
5595
5743
  userLoanID: string;
5596
- type: UserLoanConsentTypeEnum;
5744
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
5597
5745
  providedConsent: boolean;
5598
5746
  ipAddress?: string | null;
5599
5747
  /** @format date-time */
@@ -5740,7 +5888,17 @@ export interface UserSummary {
5740
5888
  id: string;
5741
5889
  name?: string | null;
5742
5890
  email?: string | null;
5743
- role: UserSummaryRoleEnum;
5891
+ role:
5892
+ | "Borrower"
5893
+ | "LoanOfficer"
5894
+ | "Admin"
5895
+ | "SuperAdmin"
5896
+ | "Realtor"
5897
+ | "SettlementAgent"
5898
+ | "LoanProcessor"
5899
+ | "LoanOfficerAssistant"
5900
+ | "BranchManager"
5901
+ | "SystemAdmin";
5744
5902
  }
5745
5903
 
5746
5904
  export interface VerifyPasswordRequest {
@@ -5776,289 +5934,6 @@ export interface Workflow {
5776
5934
  icon: string;
5777
5935
  }
5778
5936
 
5779
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
5780
-
5781
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
5782
-
5783
- export type CreateAccountRequestEnvironmentEnum =
5784
- | "Development"
5785
- | "Staging"
5786
- | "UAT"
5787
- | "Production";
5788
-
5789
- export type CreateGroupMemberRequestLoanRoleEnum =
5790
- | "Borrower"
5791
- | "CoBorrower"
5792
- | "NonBorrower"
5793
- | "LoanOfficer"
5794
- | "LoanProcessor"
5795
- | "LoanOfficerAssistant"
5796
- | "SupportingLoanOfficer"
5797
- | "BuyerAgent"
5798
- | "SellerAgent"
5799
- | "TitleInsuranceAgent"
5800
- | "EscrowAgent"
5801
- | "SettlementAgent";
5802
-
5803
- /** @deprecated */
5804
- export type CreateInviteRequestRelationshipEnum =
5805
- | "NotApplicable"
5806
- | "Spouse"
5807
- | "NonSpouse";
5808
-
5809
- export type CreateLoanImportRequestImportModeEnum =
5810
- | "All"
5811
- | "NewOnly"
5812
- | "UpdateOnly";
5813
-
5814
- export type CreateUserDraftLoanRoleEnum =
5815
- | "Borrower"
5816
- | "CoBorrower"
5817
- | "NonBorrower"
5818
- | "LoanOfficer"
5819
- | "LoanProcessor"
5820
- | "LoanOfficerAssistant"
5821
- | "SupportingLoanOfficer"
5822
- | "BuyerAgent"
5823
- | "SellerAgent"
5824
- | "TitleInsuranceAgent"
5825
- | "EscrowAgent"
5826
- | "SettlementAgent";
5827
-
5828
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
5829
-
5830
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
5831
-
5832
- export type FusionReportFilterFilterTypeEnum =
5833
- | "DateGreaterThanOrEqualTo"
5834
- | "DateGreaterThan"
5835
- | "DateLessThan"
5836
- | "DateLessThanOrEqualTo"
5837
- | "DateEquals"
5838
- | "DateDoesntEqual"
5839
- | "DateNonEmpty"
5840
- | "DateEmpty"
5841
- | "StringContains"
5842
- | "StringEquals"
5843
- | "StringNotEmpty"
5844
- | "StringNotEquals"
5845
- | "StringNotContains";
5846
-
5847
- export type IpAddressAddressFamilyEnum =
5848
- | "Unspecified"
5849
- | "Unix"
5850
- | "InterNetwork"
5851
- | "ImpLink"
5852
- | "Pup"
5853
- | "Chaos"
5854
- | "NS"
5855
- | "Ipx"
5856
- | "Iso"
5857
- | "Osi"
5858
- | "Ecma"
5859
- | "DataKit"
5860
- | "Ccitt"
5861
- | "Sna"
5862
- | "DecNet"
5863
- | "DataLink"
5864
- | "Lat"
5865
- | "HyperChannel"
5866
- | "AppleTalk"
5867
- | "NetBios"
5868
- | "VoiceView"
5869
- | "FireFox"
5870
- | "Banyan"
5871
- | "Atm"
5872
- | "InterNetworkV6"
5873
- | "Cluster"
5874
- | "Ieee12844"
5875
- | "Irda"
5876
- | "NetworkDesigners"
5877
- | "Max"
5878
- | "Packet"
5879
- | "ControllerAreaNetwork"
5880
- | "Unknown";
5881
-
5882
- export type LoanContactRoleEnum =
5883
- | "Borrower"
5884
- | "CoBorrower"
5885
- | "NonBorrower"
5886
- | "LoanOfficer"
5887
- | "LoanProcessor"
5888
- | "LoanOfficerAssistant"
5889
- | "SupportingLoanOfficer"
5890
- | "BuyerAgent"
5891
- | "SellerAgent"
5892
- | "TitleInsuranceAgent"
5893
- | "EscrowAgent"
5894
- | "SettlementAgent";
5895
-
5896
- export type LoanImportStatusEnum =
5897
- | "WaitingProcess"
5898
- | "InProgress"
5899
- | "Completed"
5900
- | "Failed"
5901
- | "Cancelled";
5902
-
5903
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5904
-
5905
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5906
-
5907
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5908
-
5909
- export type LoanLogTypeEnum =
5910
- | "Loan"
5911
- | "Queue"
5912
- | "POSFlagChanged"
5913
- | "Verification"
5914
- | "DocumentUploaded"
5915
- | "LoanCreated"
5916
- | "WorkflowSubmitted"
5917
- | "UserInvitationSent"
5918
- | "CoBorrowerAdded"
5919
- | "TaskCompleted"
5920
- | "LoanStatusChanged"
5921
- | "EConsent";
5922
-
5923
- export type LoanUserLoanRoleEnum =
5924
- | "Borrower"
5925
- | "CoBorrower"
5926
- | "NonBorrower"
5927
- | "LoanOfficer"
5928
- | "LoanProcessor"
5929
- | "LoanOfficerAssistant"
5930
- | "SupportingLoanOfficer"
5931
- | "BuyerAgent"
5932
- | "SellerAgent"
5933
- | "TitleInsuranceAgent"
5934
- | "EscrowAgent"
5935
- | "SettlementAgent";
5936
-
5937
- export type SamlMetadataRequestSsoIntegrationEnum =
5938
- | "ConsumerConnect"
5939
- | "TheBigPOS"
5940
- | "POSF";
5941
-
5942
- export type SiteConfigurationTypeEnum =
5943
- | "None"
5944
- | "Account"
5945
- | "Corporate"
5946
- | "Branch"
5947
- | "LoanOfficer"
5948
- | "Partner";
5949
-
5950
- export type SiteConfigurationByUrlTypeEnum =
5951
- | "None"
5952
- | "Account"
5953
- | "Corporate"
5954
- | "Branch"
5955
- | "LoanOfficer"
5956
- | "Partner";
5957
-
5958
- export type SiteConfigurationReducedTypeEnum =
5959
- | "None"
5960
- | "Account"
5961
- | "Corporate"
5962
- | "Branch"
5963
- | "LoanOfficer"
5964
- | "Partner";
5965
-
5966
- export type SiteConfigurationRequestTypeEnum =
5967
- | "None"
5968
- | "Account"
5969
- | "Corporate"
5970
- | "Branch"
5971
- | "LoanOfficer"
5972
- | "Partner";
5973
-
5974
- export type SiteConfigurationSummaryTypeEnum =
5975
- | "None"
5976
- | "Account"
5977
- | "Corporate"
5978
- | "Branch"
5979
- | "LoanOfficer"
5980
- | "Partner";
5981
-
5982
- export type UserDraftRoleEnum =
5983
- | "Borrower"
5984
- | "CoBorrower"
5985
- | "NonBorrower"
5986
- | "LoanOfficer"
5987
- | "LoanProcessor"
5988
- | "LoanOfficerAssistant"
5989
- | "SupportingLoanOfficer"
5990
- | "BuyerAgent"
5991
- | "SellerAgent"
5992
- | "TitleInsuranceAgent"
5993
- | "EscrowAgent"
5994
- | "SettlementAgent";
5995
-
5996
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
5997
-
5998
- export type UserLoanRoleEnum =
5999
- | "Borrower"
6000
- | "CoBorrower"
6001
- | "NonBorrower"
6002
- | "LoanOfficer"
6003
- | "LoanProcessor"
6004
- | "LoanOfficerAssistant"
6005
- | "SupportingLoanOfficer"
6006
- | "BuyerAgent"
6007
- | "SellerAgent"
6008
- | "TitleInsuranceAgent"
6009
- | "EscrowAgent"
6010
- | "SettlementAgent";
6011
-
6012
- export type UserLoanConsentTypeEnum =
6013
- | "Econsent"
6014
- | "CreditAuthorization"
6015
- | "Tcpa";
6016
-
6017
- export type UserSummaryRoleEnum =
6018
- | "Borrower"
6019
- | "LoanOfficer"
6020
- | "Admin"
6021
- | "SuperAdmin"
6022
- | "Realtor"
6023
- | "SettlementAgent"
6024
- | "LoanProcessor"
6025
- | "LoanOfficerAssistant"
6026
- | "BranchManager"
6027
- | "SystemAdmin";
6028
-
6029
- /** @default "Realtor" */
6030
- export type GetPartnersParamsRoleEnum =
6031
- | "Borrower"
6032
- | "LoanOfficer"
6033
- | "Admin"
6034
- | "SuperAdmin"
6035
- | "Realtor"
6036
- | "SettlementAgent"
6037
- | "LoanProcessor"
6038
- | "LoanOfficerAssistant"
6039
- | "BranchManager"
6040
- | "SystemAdmin";
6041
-
6042
- export type GetSamlMetadataParamsSSoIntegrationEnum =
6043
- | "ConsumerConnect"
6044
- | "TheBigPOS"
6045
- | "POSF";
6046
-
6047
- export type GetSamlMetadataParamsEnum =
6048
- | "ConsumerConnect"
6049
- | "TheBigPOS"
6050
- | "POSF";
6051
-
6052
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6053
- | "ConsumerConnect"
6054
- | "TheBigPOS"
6055
- | "POSF";
6056
-
6057
- export type CreateOrReplaceSamlMetadataParamsEnum =
6058
- | "ConsumerConnect"
6059
- | "TheBigPOS"
6060
- | "POSF";
6061
-
6062
5937
  import type {
6063
5938
  AxiosInstance,
6064
5939
  AxiosRequestConfig,
@@ -6237,7 +6112,7 @@ export class HttpClient<SecurityDataType = unknown> {
6237
6112
 
6238
6113
  /**
6239
6114
  * @title The Big POS API
6240
- * @version v2.35.0
6115
+ * @version v2.35.1
6241
6116
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6242
6117
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6243
6118
  */
@@ -9458,20 +9333,31 @@ export class Api<
9458
9333
  }),
9459
9334
 
9460
9335
  /**
9461
- * @description Returns all documents grouped by folder for sidebar display
9336
+ * @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).
9462
9337
  *
9463
9338
  * @tags LoanDocuments
9464
9339
  * @name GetLoanDocumentFolders
9465
9340
  * @summary Get document folder hierarchy
9466
- * @request GET:/api/loans/{loanId}/documents/folders
9341
+ * @request POST:/api/loans/{loanId}/documents/folders
9467
9342
  * @secure
9468
9343
  * @response `200` `(DocumentFolder)[]` Success
9469
9344
  */
9470
- getLoanDocumentFolders: (loanId: string, params: RequestParams = {}) =>
9345
+ getLoanDocumentFolders: (
9346
+ loanId: string,
9347
+ data: DocumentFoldersRequest,
9348
+ query?: {
9349
+ /** @default false */
9350
+ folderNamesOnly?: boolean;
9351
+ },
9352
+ params: RequestParams = {},
9353
+ ) =>
9471
9354
  this.request<DocumentFolder[], any>({
9472
9355
  path: `/api/loans/${loanId}/documents/folders`,
9473
- method: "GET",
9356
+ method: "POST",
9357
+ query: query,
9358
+ body: data,
9474
9359
  secure: true,
9360
+ type: ContentType.Json,
9475
9361
  format: "json",
9476
9362
  ...params,
9477
9363
  }),
@@ -9612,17 +9498,14 @@ export class Api<
9612
9498
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
9613
9499
  *
9614
9500
  * @tags LoanDocuments
9615
- * @name SyncLoanDocumentsFromEncompass
9616
- * @summary Sync documents from Encompass
9501
+ * @name SyncLoanDocumentsFromLos
9502
+ * @summary Sync documents from LOS
9617
9503
  * @request POST:/api/loans/{loanId}/documents/sync
9618
9504
  * @secure
9619
9505
  * @response `200` `DocumentSync` Success
9620
9506
  * @response `404` `ProblemDetails` Not Found
9621
9507
  */
9622
- syncLoanDocumentsFromEncompass: (
9623
- loanId: string,
9624
- params: RequestParams = {},
9625
- ) =>
9508
+ syncLoanDocumentsFromLos: (loanId: string, params: RequestParams = {}) =>
9626
9509
  this.request<DocumentSync, ProblemDetails>({
9627
9510
  path: `/api/loans/${loanId}/documents/sync`,
9628
9511
  method: "POST",
@@ -9632,18 +9515,18 @@ export class Api<
9632
9515
  }),
9633
9516
 
9634
9517
  /**
9635
- * @description Re-attempts to push a failed document to Encompass
9518
+ * @description Re-attempts to push a failed document to LOS
9636
9519
  *
9637
9520
  * @tags LoanDocuments
9638
- * @name RetrySyncLoanDocumentToEncompass
9639
- * @summary Retry syncing a document to Encompass
9521
+ * @name RetrySyncLoanDocumentToLos
9522
+ * @summary Retry syncing a document to LOS
9640
9523
  * @request POST:/api/loans/{loanId}/documents/{documentId}/sync/retry
9641
9524
  * @secure
9642
9525
  * @response `200` `void` Success
9643
9526
  * @response `404` `ProblemDetails` Not Found
9644
9527
  * @response `423` `ProblemDetails` Client Error
9645
9528
  */
9646
- retrySyncLoanDocumentToEncompass: (
9529
+ retrySyncLoanDocumentToLos: (
9647
9530
  loanId: string,
9648
9531
  documentId: string,
9649
9532
  params: RequestParams = {},
@@ -10327,7 +10210,6 @@ export class Api<
10327
10210
  * @name GetLoans
10328
10211
  * @summary Get Loans
10329
10212
  * @request GET:/api/loans
10330
- * @deprecated
10331
10213
  * @secure
10332
10214
  * @response `200` `GetApplications` Success
10333
10215
  */
@@ -11508,7 +11390,17 @@ export class Api<
11508
11390
  query?: {
11509
11391
  showAll?: boolean;
11510
11392
  /** @default "Realtor" */
11511
- role?: GetPartnersParamsRoleEnum;
11393
+ role?:
11394
+ | "Borrower"
11395
+ | "LoanOfficer"
11396
+ | "Admin"
11397
+ | "SuperAdmin"
11398
+ | "Realtor"
11399
+ | "SettlementAgent"
11400
+ | "LoanProcessor"
11401
+ | "LoanOfficerAssistant"
11402
+ | "BranchManager"
11403
+ | "SystemAdmin";
11512
11404
  /** @format int32 */
11513
11405
  pageSize?: number;
11514
11406
  /** @format int32 */
@@ -11844,7 +11736,7 @@ export class Api<
11844
11736
  * @response `404` `ProblemDetails` Not Found
11845
11737
  */
11846
11738
  getSamlMetadata: (
11847
- sSoIntegration: GetSamlMetadataParamsEnum,
11739
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
11848
11740
  ssoIntegration: string,
11849
11741
  params: RequestParams = {},
11850
11742
  ) =>
@@ -11866,7 +11758,7 @@ export class Api<
11866
11758
  * @response `200` `File` Success
11867
11759
  */
11868
11760
  createOrReplaceSamlMetadata: (
11869
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
11761
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
11870
11762
  ssoIntegration: string,
11871
11763
  params: RequestParams = {},
11872
11764
  ) =>