@matech/thebigpos-sdk 2.35.1-rc1 → 2.36.4

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
@@ -184,7 +184,8 @@ export type LoanLogType =
184
184
  | "CoBorrowerAdded"
185
185
  | "TaskCompleted"
186
186
  | "LoanStatusChanged"
187
- | "EConsent";
187
+ | "EConsent"
188
+ | "SensitiveDataPurge";
188
189
 
189
190
  export type LoanLienPosition = "First" | "Subordinate";
190
191
 
@@ -312,6 +313,17 @@ export type EntityType =
312
313
  | "LoanOfficer"
313
314
  | "Realtor";
314
315
 
316
+ export type EncompassLogOutcome = "Success" | "Failure" | "PartialSuccess";
317
+
318
+ export type EncompassLogOperationType =
319
+ | "FieldUpdate"
320
+ | "EConsentUpdate"
321
+ | "DocumentSync"
322
+ | "ApiError"
323
+ | "LoanCreation"
324
+ | "SlotCreation"
325
+ | "MilestoneUpdate";
326
+
315
327
  export type DraftType = "NewLoan" | "EditLoan";
316
328
 
317
329
  export type ConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
@@ -411,7 +423,7 @@ export interface AccountBilling {
411
423
  }
412
424
 
413
425
  export interface AccountBillingRequest {
414
- billingType: "ClosedLoan" | "LoanOfficer";
426
+ billingType: AccountBillingRequestBillingTypeEnum;
415
427
  /**
416
428
  * @format double
417
429
  * @min 0
@@ -986,7 +998,7 @@ export interface CorporateSearchCriteria {
986
998
  }
987
999
 
988
1000
  export interface CreateAccessScopeRequest {
989
- scopeType: "User" | "Branch";
1001
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
990
1002
  /** @format uuid */
991
1003
  userId?: string | null;
992
1004
  /** @format uuid */
@@ -1010,7 +1022,7 @@ export interface CreateAccountRequest {
1010
1022
  */
1011
1023
  nlmsid: number;
1012
1024
  settings: AccountSettingsRequest;
1013
- environment: "Development" | "Staging" | "UAT" | "Production";
1025
+ environment: CreateAccountRequestEnvironmentEnum;
1014
1026
  losIntegration: LOSIntegration;
1015
1027
  billingSettings: AccountBillingRequest;
1016
1028
  }
@@ -1043,19 +1055,7 @@ export interface CreateDocumentTemplateRequest {
1043
1055
  export interface CreateGroupMemberRequest {
1044
1056
  /** @format uuid */
1045
1057
  userId: string;
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";
1058
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1059
1059
  }
1060
1060
 
1061
1061
  export interface CreateInviteRequest {
@@ -1067,7 +1067,7 @@ export interface CreateInviteRequest {
1067
1067
  emailAddress: string;
1068
1068
  phoneNumber?: string | null;
1069
1069
  /** @deprecated */
1070
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1070
+ relationship: CreateInviteRequestRelationshipEnum;
1071
1071
  loanID: string;
1072
1072
  route?: string | null;
1073
1073
  /** @format uuid */
@@ -1090,7 +1090,7 @@ export interface CreateLoanImportRequest {
1090
1090
  * @minLength 1
1091
1091
  */
1092
1092
  startDate: string;
1093
- importMode: "All" | "NewOnly" | "UpdateOnly";
1093
+ importMode: CreateLoanImportRequestImportModeEnum;
1094
1094
  }
1095
1095
 
1096
1096
  export interface CreateSession {
@@ -1112,19 +1112,7 @@ export interface CreateUserDeviceRequest {
1112
1112
  }
1113
1113
 
1114
1114
  export interface CreateUserDraft {
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";
1115
+ loanRole: CreateUserDraftLoanRoleEnum;
1128
1116
  }
1129
1117
 
1130
1118
  export interface CreateUserGroupRequest {
@@ -1440,7 +1428,7 @@ export interface Draft {
1440
1428
  siteConfiguration: SiteConfigurationReduced;
1441
1429
  /** @format uuid */
1442
1430
  loanID?: string | null;
1443
- type: "NewLoan" | "EditLoan";
1431
+ type: DraftTypeEnum;
1444
1432
  isCoBorrower: boolean;
1445
1433
  }
1446
1434
 
@@ -1459,7 +1447,7 @@ export interface DraftContent {
1459
1447
  siteConfiguration: SiteConfigurationReduced;
1460
1448
  /** @format uuid */
1461
1449
  loanID?: string | null;
1462
- type: "NewLoan" | "EditLoan";
1450
+ type: DraftContentTypeEnum;
1463
1451
  isCoBorrower: boolean;
1464
1452
  applicationPayload: any;
1465
1453
  }
@@ -1551,6 +1539,18 @@ export interface EncompassError {
1551
1539
  details?: string[] | null;
1552
1540
  }
1553
1541
 
1542
+ export interface EncompassLogSearchCriteria {
1543
+ searchText?: string | null;
1544
+ operationTypes?: EncompassLogOperationType[] | null;
1545
+ outcomes?: EncompassLogOutcome[] | null;
1546
+ /** @format date-time */
1547
+ createdFrom?: string | null;
1548
+ /** @format date-time */
1549
+ createdTo?: string | null;
1550
+ /** @format int32 */
1551
+ httpStatusCode?: number | null;
1552
+ }
1553
+
1554
1554
  export interface EncompassPackageItem {
1555
1555
  packageId: string;
1556
1556
  status: string;
@@ -1571,6 +1571,33 @@ export interface EncompassPackageList {
1571
1571
  totalPages: number;
1572
1572
  }
1573
1573
 
1574
+ export interface EncompassRequestLog {
1575
+ /** @format uuid */
1576
+ id: string;
1577
+ losId?: string | null;
1578
+ /** @format uuid */
1579
+ accountId: string;
1580
+ operationType: EncompassRequestLogOperationTypeEnum;
1581
+ outcome: EncompassRequestLogOutcomeEnum;
1582
+ message: string;
1583
+ endpoint?: string | null;
1584
+ httpMethod?: string | null;
1585
+ /** @format int32 */
1586
+ httpStatusCode?: number | null;
1587
+ /** @format int64 */
1588
+ durationMs?: number | null;
1589
+ context?: any;
1590
+ /** @format date-time */
1591
+ createdAt: string;
1592
+ }
1593
+
1594
+ export interface EncompassRequestLogPaginated {
1595
+ rows: EncompassRequestLog[];
1596
+ pagination: Pagination;
1597
+ /** @format int64 */
1598
+ count: number;
1599
+ }
1600
+
1574
1601
  export interface Error {
1575
1602
  message: string;
1576
1603
  }
@@ -1783,20 +1810,7 @@ export interface FusionFieldDisplay {
1783
1810
  }
1784
1811
 
1785
1812
  export interface FusionReportFilter {
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";
1813
+ filterType: FusionReportFilterFilterTypeEnum;
1800
1814
  targetField: string;
1801
1815
  targetValue: string;
1802
1816
  }
@@ -1924,40 +1938,7 @@ export interface GuidPatchOperation {
1924
1938
  }
1925
1939
 
1926
1940
  export interface IPAddress {
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";
1941
+ addressFamily: IpAddressAddressFamilyEnum;
1961
1942
  /** @format int64 */
1962
1943
  scopeId: number;
1963
1944
  isIPv6Multicast: boolean;
@@ -3202,19 +3183,7 @@ export interface LoanContact {
3202
3183
  email?: string | null;
3203
3184
  phone?: string | null;
3204
3185
  companyName?: string | null;
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";
3186
+ role: LoanContactRoleEnum;
3218
3187
  }
3219
3188
 
3220
3189
  export interface LoanContactList {
@@ -3346,19 +3315,14 @@ export interface LoanImport {
3346
3315
  /** @format int32 */
3347
3316
  importedCount: number;
3348
3317
  statusMessage?: string | null;
3349
- status:
3350
- | "WaitingProcess"
3351
- | "InProgress"
3352
- | "Completed"
3353
- | "Failed"
3354
- | "Cancelled";
3355
- importMode: "All" | "NewOnly" | "UpdateOnly";
3318
+ status: LoanImportStatusEnum;
3319
+ importMode: LoanImportImportModeEnum;
3356
3320
  /** @format date-time */
3357
3321
  createdAt?: string | null;
3358
3322
  }
3359
3323
 
3360
3324
  export interface LoanImportLog {
3361
- level: "None" | "Info" | "Warning" | "Error";
3325
+ level: LoanImportLogLevelEnum;
3362
3326
  message: string;
3363
3327
  /** @format date-time */
3364
3328
  createdAt: string;
@@ -3419,20 +3383,8 @@ export interface LoanListPaginated {
3419
3383
  export interface LoanLog {
3420
3384
  /** @format uuid */
3421
3385
  id: string;
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";
3386
+ level: LoanLogLevelEnum;
3387
+ type: LoanLogTypeEnum;
3436
3388
  message: string;
3437
3389
  /** @format date-time */
3438
3390
  createdAt: string;
@@ -3716,19 +3668,7 @@ export interface LoanUser {
3716
3668
  email: string;
3717
3669
  phone?: string | null;
3718
3670
  role: string;
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";
3671
+ loanRole: LoanUserLoanRoleEnum;
3732
3672
  isUser: boolean;
3733
3673
  /** @format date-time */
3734
3674
  createdAt: string;
@@ -4373,7 +4313,7 @@ export interface SSOTokenRequest {
4373
4313
  }
4374
4314
 
4375
4315
  export interface SamlMetadataRequest {
4376
- ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4316
+ ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
4377
4317
  }
4378
4318
 
4379
4319
  export interface SendForgotPasswordRequest {
@@ -4412,7 +4352,7 @@ export interface SiteConfiguration {
4412
4352
  deletedAt?: string | null;
4413
4353
  /** @format uuid */
4414
4354
  id: string;
4415
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4355
+ type: SiteConfigurationTypeEnum;
4416
4356
  /** @format uuid */
4417
4357
  entityID: string;
4418
4358
  /** @format int32 */
@@ -4607,7 +4547,7 @@ export interface SiteConfigurationByUrl {
4607
4547
  deletedAt?: string | null;
4608
4548
  /** @format uuid */
4609
4549
  id: string;
4610
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4550
+ type: SiteConfigurationByUrlTypeEnum;
4611
4551
  /** @format uuid */
4612
4552
  entityID: string;
4613
4553
  /** @format int32 */
@@ -4820,7 +4760,7 @@ export interface SiteConfigurationForm {
4820
4760
  export interface SiteConfigurationReduced {
4821
4761
  /** @format uuid */
4822
4762
  id: string;
4823
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4763
+ type: SiteConfigurationReducedTypeEnum;
4824
4764
  url?: string | null;
4825
4765
  name: string;
4826
4766
  /** @format int64 */
@@ -4838,7 +4778,7 @@ export interface SiteConfigurationRequest {
4838
4778
  entityID: string;
4839
4779
  /** @format int32 */
4840
4780
  entityType: number;
4841
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4781
+ type: SiteConfigurationRequestTypeEnum;
4842
4782
  url: string;
4843
4783
  name: string;
4844
4784
  introduction?: string | null;
@@ -5015,7 +4955,7 @@ export interface SiteConfigurationSearchCriteria {
5015
4955
  export interface SiteConfigurationSummary {
5016
4956
  /** @format uuid */
5017
4957
  id: string;
5018
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4958
+ type: SiteConfigurationSummaryTypeEnum;
5019
4959
  url?: string | null;
5020
4960
  name: string;
5021
4961
  /** @format int64 */
@@ -5641,19 +5581,7 @@ export interface UserDevice {
5641
5581
  export interface UserDraft {
5642
5582
  /** @format uuid */
5643
5583
  draftID: string;
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";
5584
+ role: UserDraftRoleEnum;
5657
5585
  user: User;
5658
5586
  }
5659
5587
 
@@ -5680,7 +5608,7 @@ export interface UserGroupAccessScope {
5680
5608
  id: string;
5681
5609
  /** @format uuid */
5682
5610
  groupId: string;
5683
- scopeType: "User" | "Branch";
5611
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
5684
5612
  /** @format uuid */
5685
5613
  userId?: string | null;
5686
5614
  /** @format uuid */
@@ -5716,19 +5644,7 @@ export interface UserLoan {
5716
5644
  deletedAt?: string | null;
5717
5645
  loanID: string;
5718
5646
  user: User;
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";
5647
+ role: UserLoanRoleEnum;
5732
5648
  /** @format int32 */
5733
5649
  borrowerPair?: number | null;
5734
5650
  /** @format int32 */
@@ -5741,7 +5657,7 @@ export interface UserLoanConsent {
5741
5657
  id: string;
5742
5658
  /** @format uuid */
5743
5659
  userLoanID: string;
5744
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
5660
+ type: UserLoanConsentTypeEnum;
5745
5661
  providedConsent: boolean;
5746
5662
  ipAddress?: string | null;
5747
5663
  /** @format date-time */
@@ -5888,17 +5804,7 @@ export interface UserSummary {
5888
5804
  id: string;
5889
5805
  name?: string | null;
5890
5806
  email?: string | null;
5891
- role:
5892
- | "Borrower"
5893
- | "LoanOfficer"
5894
- | "Admin"
5895
- | "SuperAdmin"
5896
- | "Realtor"
5897
- | "SettlementAgent"
5898
- | "LoanProcessor"
5899
- | "LoanOfficerAssistant"
5900
- | "BranchManager"
5901
- | "SystemAdmin";
5807
+ role: UserSummaryRoleEnum;
5902
5808
  }
5903
5809
 
5904
5810
  export interface VerifyPasswordRequest {
@@ -5934,6 +5840,304 @@ export interface Workflow {
5934
5840
  icon: string;
5935
5841
  }
5936
5842
 
5843
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
5844
+
5845
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
5846
+
5847
+ export type CreateAccountRequestEnvironmentEnum =
5848
+ | "Development"
5849
+ | "Staging"
5850
+ | "UAT"
5851
+ | "Production";
5852
+
5853
+ export type CreateGroupMemberRequestLoanRoleEnum =
5854
+ | "Borrower"
5855
+ | "CoBorrower"
5856
+ | "NonBorrower"
5857
+ | "LoanOfficer"
5858
+ | "LoanProcessor"
5859
+ | "LoanOfficerAssistant"
5860
+ | "SupportingLoanOfficer"
5861
+ | "BuyerAgent"
5862
+ | "SellerAgent"
5863
+ | "TitleInsuranceAgent"
5864
+ | "EscrowAgent"
5865
+ | "SettlementAgent";
5866
+
5867
+ /** @deprecated */
5868
+ export type CreateInviteRequestRelationshipEnum =
5869
+ | "NotApplicable"
5870
+ | "Spouse"
5871
+ | "NonSpouse";
5872
+
5873
+ export type CreateLoanImportRequestImportModeEnum =
5874
+ | "All"
5875
+ | "NewOnly"
5876
+ | "UpdateOnly";
5877
+
5878
+ export type CreateUserDraftLoanRoleEnum =
5879
+ | "Borrower"
5880
+ | "CoBorrower"
5881
+ | "NonBorrower"
5882
+ | "LoanOfficer"
5883
+ | "LoanProcessor"
5884
+ | "LoanOfficerAssistant"
5885
+ | "SupportingLoanOfficer"
5886
+ | "BuyerAgent"
5887
+ | "SellerAgent"
5888
+ | "TitleInsuranceAgent"
5889
+ | "EscrowAgent"
5890
+ | "SettlementAgent";
5891
+
5892
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
5893
+
5894
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
5895
+
5896
+ export type EncompassRequestLogOperationTypeEnum =
5897
+ | "FieldUpdate"
5898
+ | "EConsentUpdate"
5899
+ | "DocumentSync"
5900
+ | "ApiError"
5901
+ | "LoanCreation"
5902
+ | "SlotCreation"
5903
+ | "MilestoneUpdate";
5904
+
5905
+ export type EncompassRequestLogOutcomeEnum =
5906
+ | "Success"
5907
+ | "Failure"
5908
+ | "PartialSuccess";
5909
+
5910
+ export type FusionReportFilterFilterTypeEnum =
5911
+ | "DateGreaterThanOrEqualTo"
5912
+ | "DateGreaterThan"
5913
+ | "DateLessThan"
5914
+ | "DateLessThanOrEqualTo"
5915
+ | "DateEquals"
5916
+ | "DateDoesntEqual"
5917
+ | "DateNonEmpty"
5918
+ | "DateEmpty"
5919
+ | "StringContains"
5920
+ | "StringEquals"
5921
+ | "StringNotEmpty"
5922
+ | "StringNotEquals"
5923
+ | "StringNotContains";
5924
+
5925
+ export type IpAddressAddressFamilyEnum =
5926
+ | "Unspecified"
5927
+ | "Unix"
5928
+ | "InterNetwork"
5929
+ | "ImpLink"
5930
+ | "Pup"
5931
+ | "Chaos"
5932
+ | "NS"
5933
+ | "Ipx"
5934
+ | "Iso"
5935
+ | "Osi"
5936
+ | "Ecma"
5937
+ | "DataKit"
5938
+ | "Ccitt"
5939
+ | "Sna"
5940
+ | "DecNet"
5941
+ | "DataLink"
5942
+ | "Lat"
5943
+ | "HyperChannel"
5944
+ | "AppleTalk"
5945
+ | "NetBios"
5946
+ | "VoiceView"
5947
+ | "FireFox"
5948
+ | "Banyan"
5949
+ | "Atm"
5950
+ | "InterNetworkV6"
5951
+ | "Cluster"
5952
+ | "Ieee12844"
5953
+ | "Irda"
5954
+ | "NetworkDesigners"
5955
+ | "Max"
5956
+ | "Packet"
5957
+ | "ControllerAreaNetwork"
5958
+ | "Unknown";
5959
+
5960
+ export type LoanContactRoleEnum =
5961
+ | "Borrower"
5962
+ | "CoBorrower"
5963
+ | "NonBorrower"
5964
+ | "LoanOfficer"
5965
+ | "LoanProcessor"
5966
+ | "LoanOfficerAssistant"
5967
+ | "SupportingLoanOfficer"
5968
+ | "BuyerAgent"
5969
+ | "SellerAgent"
5970
+ | "TitleInsuranceAgent"
5971
+ | "EscrowAgent"
5972
+ | "SettlementAgent";
5973
+
5974
+ export type LoanImportStatusEnum =
5975
+ | "WaitingProcess"
5976
+ | "InProgress"
5977
+ | "Completed"
5978
+ | "Failed"
5979
+ | "Cancelled";
5980
+
5981
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5982
+
5983
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5984
+
5985
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5986
+
5987
+ export type LoanLogTypeEnum =
5988
+ | "Loan"
5989
+ | "Queue"
5990
+ | "POSFlagChanged"
5991
+ | "Verification"
5992
+ | "DocumentUploaded"
5993
+ | "LoanCreated"
5994
+ | "WorkflowSubmitted"
5995
+ | "UserInvitationSent"
5996
+ | "CoBorrowerAdded"
5997
+ | "TaskCompleted"
5998
+ | "LoanStatusChanged"
5999
+ | "EConsent"
6000
+ | "SensitiveDataPurge";
6001
+
6002
+ export type LoanUserLoanRoleEnum =
6003
+ | "Borrower"
6004
+ | "CoBorrower"
6005
+ | "NonBorrower"
6006
+ | "LoanOfficer"
6007
+ | "LoanProcessor"
6008
+ | "LoanOfficerAssistant"
6009
+ | "SupportingLoanOfficer"
6010
+ | "BuyerAgent"
6011
+ | "SellerAgent"
6012
+ | "TitleInsuranceAgent"
6013
+ | "EscrowAgent"
6014
+ | "SettlementAgent";
6015
+
6016
+ export type SamlMetadataRequestSsoIntegrationEnum =
6017
+ | "ConsumerConnect"
6018
+ | "TheBigPOS"
6019
+ | "POSF";
6020
+
6021
+ export type SiteConfigurationTypeEnum =
6022
+ | "None"
6023
+ | "Account"
6024
+ | "Corporate"
6025
+ | "Branch"
6026
+ | "LoanOfficer"
6027
+ | "Partner";
6028
+
6029
+ export type SiteConfigurationByUrlTypeEnum =
6030
+ | "None"
6031
+ | "Account"
6032
+ | "Corporate"
6033
+ | "Branch"
6034
+ | "LoanOfficer"
6035
+ | "Partner";
6036
+
6037
+ export type SiteConfigurationReducedTypeEnum =
6038
+ | "None"
6039
+ | "Account"
6040
+ | "Corporate"
6041
+ | "Branch"
6042
+ | "LoanOfficer"
6043
+ | "Partner";
6044
+
6045
+ export type SiteConfigurationRequestTypeEnum =
6046
+ | "None"
6047
+ | "Account"
6048
+ | "Corporate"
6049
+ | "Branch"
6050
+ | "LoanOfficer"
6051
+ | "Partner";
6052
+
6053
+ export type SiteConfigurationSummaryTypeEnum =
6054
+ | "None"
6055
+ | "Account"
6056
+ | "Corporate"
6057
+ | "Branch"
6058
+ | "LoanOfficer"
6059
+ | "Partner";
6060
+
6061
+ export type UserDraftRoleEnum =
6062
+ | "Borrower"
6063
+ | "CoBorrower"
6064
+ | "NonBorrower"
6065
+ | "LoanOfficer"
6066
+ | "LoanProcessor"
6067
+ | "LoanOfficerAssistant"
6068
+ | "SupportingLoanOfficer"
6069
+ | "BuyerAgent"
6070
+ | "SellerAgent"
6071
+ | "TitleInsuranceAgent"
6072
+ | "EscrowAgent"
6073
+ | "SettlementAgent";
6074
+
6075
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6076
+
6077
+ export type UserLoanRoleEnum =
6078
+ | "Borrower"
6079
+ | "CoBorrower"
6080
+ | "NonBorrower"
6081
+ | "LoanOfficer"
6082
+ | "LoanProcessor"
6083
+ | "LoanOfficerAssistant"
6084
+ | "SupportingLoanOfficer"
6085
+ | "BuyerAgent"
6086
+ | "SellerAgent"
6087
+ | "TitleInsuranceAgent"
6088
+ | "EscrowAgent"
6089
+ | "SettlementAgent";
6090
+
6091
+ export type UserLoanConsentTypeEnum =
6092
+ | "Econsent"
6093
+ | "CreditAuthorization"
6094
+ | "Tcpa";
6095
+
6096
+ export type UserSummaryRoleEnum =
6097
+ | "Borrower"
6098
+ | "LoanOfficer"
6099
+ | "Admin"
6100
+ | "SuperAdmin"
6101
+ | "Realtor"
6102
+ | "SettlementAgent"
6103
+ | "LoanProcessor"
6104
+ | "LoanOfficerAssistant"
6105
+ | "BranchManager"
6106
+ | "SystemAdmin";
6107
+
6108
+ /** @default "Realtor" */
6109
+ export type GetPartnersParamsRoleEnum =
6110
+ | "Borrower"
6111
+ | "LoanOfficer"
6112
+ | "Admin"
6113
+ | "SuperAdmin"
6114
+ | "Realtor"
6115
+ | "SettlementAgent"
6116
+ | "LoanProcessor"
6117
+ | "LoanOfficerAssistant"
6118
+ | "BranchManager"
6119
+ | "SystemAdmin";
6120
+
6121
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
6122
+ | "ConsumerConnect"
6123
+ | "TheBigPOS"
6124
+ | "POSF";
6125
+
6126
+ export type GetSamlMetadataParamsEnum =
6127
+ | "ConsumerConnect"
6128
+ | "TheBigPOS"
6129
+ | "POSF";
6130
+
6131
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6132
+ | "ConsumerConnect"
6133
+ | "TheBigPOS"
6134
+ | "POSF";
6135
+
6136
+ export type CreateOrReplaceSamlMetadataParamsEnum =
6137
+ | "ConsumerConnect"
6138
+ | "TheBigPOS"
6139
+ | "POSF";
6140
+
5937
6141
  import type {
5938
6142
  AxiosInstance,
5939
6143
  AxiosRequestConfig,
@@ -6112,7 +6316,7 @@ export class HttpClient<SecurityDataType = unknown> {
6112
6316
 
6113
6317
  /**
6114
6318
  * @title The Big POS API
6115
- * @version v2.35.1
6319
+ * @version v2.36.4
6116
6320
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6117
6321
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6118
6322
  */
@@ -8368,7 +8572,7 @@ export class Api<
8368
8572
  method: "PATCH",
8369
8573
  body: data,
8370
8574
  secure: true,
8371
- type: ContentType.JsonPatch,
8575
+ type: ContentType.JsonPatchPatch,
8372
8576
  format: "json",
8373
8577
  ...params,
8374
8578
  }),
@@ -8478,7 +8682,7 @@ export class Api<
8478
8682
  method: "PATCH",
8479
8683
  body: data,
8480
8684
  secure: true,
8481
- type: ContentType.JsonPatch,
8685
+ type: ContentType.JsonPatchPatch,
8482
8686
  format: "json",
8483
8687
  ...params,
8484
8688
  }),
@@ -8505,7 +8709,7 @@ export class Api<
8505
8709
  method: "PATCH",
8506
8710
  body: data,
8507
8711
  secure: true,
8508
- type: ContentType.JsonPatch,
8712
+ type: ContentType.JsonPatchPatch,
8509
8713
  format: "json",
8510
8714
  ...params,
8511
8715
  }),
@@ -8747,7 +8951,7 @@ export class Api<
8747
8951
  method: "PATCH",
8748
8952
  body: data,
8749
8953
  secure: true,
8750
- type: ContentType.JsonPatch,
8954
+ type: ContentType.JsonPatchPatch,
8751
8955
  format: "json",
8752
8956
  ...params,
8753
8957
  }),
@@ -8827,7 +9031,7 @@ export class Api<
8827
9031
  method: "PATCH",
8828
9032
  body: data,
8829
9033
  secure: true,
8830
- type: ContentType.JsonPatch,
9034
+ type: ContentType.JsonPatchPatch,
8831
9035
  format: "json",
8832
9036
  ...params,
8833
9037
  }),
@@ -10347,6 +10551,25 @@ export class Api<
10347
10551
  ...params,
10348
10552
  }),
10349
10553
 
10554
+ /**
10555
+ * No description
10556
+ *
10557
+ * @tags LoanSensitiveDataPurge
10558
+ * @name PurgeSensitiveLoanData
10559
+ * @summary Manually trigger sensitive data purge for a specific loan
10560
+ * @request POST:/api/loans/sensitive-data-purge/{loanId}
10561
+ * @secure
10562
+ * @response `204` `void` No Content
10563
+ * @response `404` `ProblemDetails` Not Found
10564
+ */
10565
+ purgeSensitiveLoanData: (loanId: string, params: RequestParams = {}) =>
10566
+ this.request<void, ProblemDetails>({
10567
+ path: `/api/loans/sensitive-data-purge/${loanId}`,
10568
+ method: "POST",
10569
+ secure: true,
10570
+ ...params,
10571
+ }),
10572
+
10350
10573
  /**
10351
10574
  * No description
10352
10575
  *
@@ -10378,7 +10601,7 @@ export class Api<
10378
10601
  query: query,
10379
10602
  body: data,
10380
10603
  secure: true,
10381
- type: ContentType.JsonPatch,
10604
+ type: ContentType.JsonPatchPatch,
10382
10605
  format: "json",
10383
10606
  ...params,
10384
10607
  }),
@@ -11390,17 +11613,7 @@ export class Api<
11390
11613
  query?: {
11391
11614
  showAll?: boolean;
11392
11615
  /** @default "Realtor" */
11393
- role?:
11394
- | "Borrower"
11395
- | "LoanOfficer"
11396
- | "Admin"
11397
- | "SuperAdmin"
11398
- | "Realtor"
11399
- | "SettlementAgent"
11400
- | "LoanProcessor"
11401
- | "LoanOfficerAssistant"
11402
- | "BranchManager"
11403
- | "SystemAdmin";
11616
+ role?: GetPartnersParamsRoleEnum;
11404
11617
  /** @format int32 */
11405
11618
  pageSize?: number;
11406
11619
  /** @format int32 */
@@ -11736,7 +11949,7 @@ export class Api<
11736
11949
  * @response `404` `ProblemDetails` Not Found
11737
11950
  */
11738
11951
  getSamlMetadata: (
11739
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
11952
+ sSoIntegration: GetSamlMetadataParamsEnum,
11740
11953
  ssoIntegration: string,
11741
11954
  params: RequestParams = {},
11742
11955
  ) =>
@@ -11758,7 +11971,7 @@ export class Api<
11758
11971
  * @response `200` `File` Success
11759
11972
  */
11760
11973
  createOrReplaceSamlMetadata: (
11761
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
11974
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
11762
11975
  ssoIntegration: string,
11763
11976
  params: RequestParams = {},
11764
11977
  ) =>
@@ -12103,6 +12316,39 @@ export class Api<
12103
12316
  ...params,
12104
12317
  }),
12105
12318
 
12319
+ /**
12320
+ * No description
12321
+ *
12322
+ * @tags TheBigPOS
12323
+ * @name SearchEncompassLogs
12324
+ * @request POST:/api/los/encompass/logs/{losId}/search
12325
+ * @secure
12326
+ * @response `200` `EncompassRequestLogPaginated` Success
12327
+ */
12328
+ searchEncompassLogs: (
12329
+ losId: string,
12330
+ query: {
12331
+ /** @format int32 */
12332
+ pageSize: number;
12333
+ /** @format int32 */
12334
+ pageNumber: number;
12335
+ sortBy?: string;
12336
+ sortDirection?: string;
12337
+ },
12338
+ data: EncompassLogSearchCriteria,
12339
+ params: RequestParams = {},
12340
+ ) =>
12341
+ this.request<EncompassRequestLogPaginated, any>({
12342
+ path: `/api/los/encompass/logs/${losId}/search`,
12343
+ method: "POST",
12344
+ query: query,
12345
+ body: data,
12346
+ secure: true,
12347
+ type: ContentType.Json,
12348
+ format: "json",
12349
+ ...params,
12350
+ }),
12351
+
12106
12352
  /**
12107
12353
  * No description
12108
12354
  *