@matech/thebigpos-sdk 2.26.2 → 2.27.0-eclose

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
@@ -68,7 +68,12 @@ export type LoanQueueType =
68
68
 
69
69
  export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
70
70
 
71
- export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification";
71
+ export type LoanLogType =
72
+ | "Loan"
73
+ | "Queue"
74
+ | "POSFlagChanged"
75
+ | "Verification"
76
+ | "DocumentUploaded";
72
77
 
73
78
  export type LoanImportStatus =
74
79
  | "WaitingProcess"
@@ -664,7 +669,7 @@ export interface CorporateSearchCriteria {
664
669
  }
665
670
 
666
671
  export interface CreateAccessScopeRequest {
667
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
672
+ scopeType: "User" | "Branch";
668
673
  /** @format uuid */
669
674
  userId?: string | null;
670
675
  /** @format uuid */
@@ -688,7 +693,7 @@ export interface CreateAccountRequest {
688
693
  */
689
694
  nlmsid: number;
690
695
  settings: AccountSettingsRequest;
691
- environment: CreateAccountRequestEnvironmentEnum;
696
+ environment: "Development" | "Staging" | "UAT" | "Production";
692
697
  losIntegration: LOSIntegration;
693
698
  }
694
699
 
@@ -720,7 +725,19 @@ export interface CreateDocumentTemplateRequest {
720
725
  export interface CreateGroupMemberRequest {
721
726
  /** @format uuid */
722
727
  userId: string;
723
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
728
+ loanRole:
729
+ | "Borrower"
730
+ | "CoBorrower"
731
+ | "NonBorrower"
732
+ | "LoanOfficer"
733
+ | "LoanProcessor"
734
+ | "LoanOfficerAssistant"
735
+ | "SupportingLoanOfficer"
736
+ | "BuyerAgent"
737
+ | "SellerAgent"
738
+ | "TitleInsuranceAgent"
739
+ | "EscrowAgent"
740
+ | "SettlementAgent";
724
741
  }
725
742
 
726
743
  export interface CreateInviteRequest {
@@ -732,7 +749,7 @@ export interface CreateInviteRequest {
732
749
  emailAddress: string;
733
750
  phoneNumber?: string | null;
734
751
  /** @deprecated */
735
- relationship: CreateInviteRequestRelationshipEnum;
752
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
736
753
  loanID: string;
737
754
  route?: string | null;
738
755
  /** @format uuid */
@@ -755,7 +772,21 @@ export interface CreateLoanImportRequest {
755
772
  * @minLength 1
756
773
  */
757
774
  startDate: string;
758
- importMode: CreateLoanImportRequestImportModeEnum;
775
+ importMode: "All" | "NewOnly" | "UpdateOnly";
776
+ }
777
+
778
+ export interface CreateSession {
779
+ sessionId: string;
780
+ sessionUrl: string;
781
+ /** @format date-time */
782
+ createdAt: string;
783
+ /** @format date-time */
784
+ expiresAt?: string | null;
785
+ }
786
+
787
+ export interface CreateSessionRequest {
788
+ packageId: string;
789
+ recipientId: string;
759
790
  }
760
791
 
761
792
  export interface CreateUserDeviceRequest {
@@ -763,7 +794,19 @@ export interface CreateUserDeviceRequest {
763
794
  }
764
795
 
765
796
  export interface CreateUserDraft {
766
- loanRole: CreateUserDraftLoanRoleEnum;
797
+ loanRole:
798
+ | "Borrower"
799
+ | "CoBorrower"
800
+ | "NonBorrower"
801
+ | "LoanOfficer"
802
+ | "LoanProcessor"
803
+ | "LoanOfficerAssistant"
804
+ | "SupportingLoanOfficer"
805
+ | "BuyerAgent"
806
+ | "SellerAgent"
807
+ | "TitleInsuranceAgent"
808
+ | "EscrowAgent"
809
+ | "SettlementAgent";
767
810
  }
768
811
 
769
812
  export interface CreateUserGroupRequest {
@@ -1151,6 +1194,40 @@ export interface EncompassContact {
1151
1194
  company?: string | null;
1152
1195
  }
1153
1196
 
1197
+ export interface EncompassError {
1198
+ errorCode: string;
1199
+ message: string;
1200
+ details?: string[] | null;
1201
+ }
1202
+
1203
+ export interface EncompassPackageItem {
1204
+ packageId: string;
1205
+ status: string;
1206
+ title?: string | null;
1207
+ /** @format date-time */
1208
+ createdAt: string;
1209
+ /** @format date-time */
1210
+ dueDate?: string | null;
1211
+ /** @format date-time */
1212
+ completedAt?: string | null;
1213
+ canSign: boolean;
1214
+ recipientId: string;
1215
+ propertyAddress?: string | null;
1216
+ loanNumber?: string | null;
1217
+ }
1218
+
1219
+ export interface EncompassPackageList {
1220
+ packages: EncompassPackageItem[];
1221
+ /** @format int32 */
1222
+ totalCount: number;
1223
+ /** @format int32 */
1224
+ page: number;
1225
+ /** @format int32 */
1226
+ pageSize: number;
1227
+ /** @format int32 */
1228
+ totalPages: number;
1229
+ }
1230
+
1154
1231
  export interface Error {
1155
1232
  message: string;
1156
1233
  }
@@ -1363,7 +1440,20 @@ export interface FusionFieldDisplay {
1363
1440
  }
1364
1441
 
1365
1442
  export interface FusionReportFilter {
1366
- filterType: FusionReportFilterFilterTypeEnum;
1443
+ filterType:
1444
+ | "DateGreaterThanOrEqualTo"
1445
+ | "DateGreaterThan"
1446
+ | "DateLessThan"
1447
+ | "DateLessThanOrEqualTo"
1448
+ | "DateEquals"
1449
+ | "DateDoesntEqual"
1450
+ | "DateNonEmpty"
1451
+ | "DateEmpty"
1452
+ | "StringContains"
1453
+ | "StringEquals"
1454
+ | "StringNotEmpty"
1455
+ | "StringNotEquals"
1456
+ | "StringNotContains";
1367
1457
  targetField: string;
1368
1458
  targetValue: string;
1369
1459
  }
@@ -1857,7 +1947,19 @@ export interface LoanContact {
1857
1947
  email?: string | null;
1858
1948
  phone?: string | null;
1859
1949
  companyName?: string | null;
1860
- role: LoanContactRoleEnum;
1950
+ role:
1951
+ | "Borrower"
1952
+ | "CoBorrower"
1953
+ | "NonBorrower"
1954
+ | "LoanOfficer"
1955
+ | "LoanProcessor"
1956
+ | "LoanOfficerAssistant"
1957
+ | "SupportingLoanOfficer"
1958
+ | "BuyerAgent"
1959
+ | "SellerAgent"
1960
+ | "TitleInsuranceAgent"
1961
+ | "EscrowAgent"
1962
+ | "SettlementAgent";
1861
1963
  }
1862
1964
 
1863
1965
  export interface LoanContactList {
@@ -1953,14 +2055,19 @@ export interface LoanImport {
1953
2055
  /** @format int32 */
1954
2056
  importedCount: number;
1955
2057
  statusMessage?: string | null;
1956
- status: LoanImportStatusEnum;
1957
- importMode: LoanImportImportModeEnum;
2058
+ status:
2059
+ | "WaitingProcess"
2060
+ | "InProgress"
2061
+ | "Completed"
2062
+ | "Failed"
2063
+ | "Cancelled";
2064
+ importMode: "All" | "NewOnly" | "UpdateOnly";
1958
2065
  /** @format date-time */
1959
2066
  createdAt?: string | null;
1960
2067
  }
1961
2068
 
1962
2069
  export interface LoanImportLog {
1963
- level: LoanImportLogLevelEnum;
2070
+ level: "None" | "Info" | "Warning" | "Error";
1964
2071
  message: string;
1965
2072
  /** @format date-time */
1966
2073
  createdAt: string;
@@ -2009,8 +2116,13 @@ export interface LoanListPaginated {
2009
2116
  export interface LoanLog {
2010
2117
  /** @format uuid */
2011
2118
  id: string;
2012
- level: LoanLogLevelEnum;
2013
- type: LoanLogTypeEnum;
2119
+ level: "None" | "Info" | "Warning" | "Error";
2120
+ type:
2121
+ | "Loan"
2122
+ | "Queue"
2123
+ | "POSFlagChanged"
2124
+ | "Verification"
2125
+ | "DocumentUploaded";
2014
2126
  message: string;
2015
2127
  /** @format date-time */
2016
2128
  createdAt: string;
@@ -2147,7 +2259,14 @@ export interface LoanUpdateRequestJsonPatchDocument {
2147
2259
  }
2148
2260
 
2149
2261
  export interface LoanUpdateRequestOperation {
2150
- operationType: LoanUpdateRequestOperationOperationTypeEnum;
2262
+ operationType:
2263
+ | "Add"
2264
+ | "Remove"
2265
+ | "Replace"
2266
+ | "Move"
2267
+ | "Copy"
2268
+ | "Test"
2269
+ | "Invalid";
2151
2270
  path?: string | null;
2152
2271
  op?: string | null;
2153
2272
  from?: string | null;
@@ -2162,7 +2281,19 @@ export interface LoanUser {
2162
2281
  email: string;
2163
2282
  phone?: string | null;
2164
2283
  role: string;
2165
- loanRole: LoanUserLoanRoleEnum;
2284
+ loanRole:
2285
+ | "Borrower"
2286
+ | "CoBorrower"
2287
+ | "NonBorrower"
2288
+ | "LoanOfficer"
2289
+ | "LoanProcessor"
2290
+ | "LoanOfficerAssistant"
2291
+ | "SupportingLoanOfficer"
2292
+ | "BuyerAgent"
2293
+ | "SellerAgent"
2294
+ | "TitleInsuranceAgent"
2295
+ | "EscrowAgent"
2296
+ | "SettlementAgent";
2166
2297
  isUser: boolean;
2167
2298
  /** @format date-time */
2168
2299
  createdAt: string;
@@ -2446,7 +2577,7 @@ export interface NotificationTemplateVersionUpdateRequest {
2446
2577
 
2447
2578
  export interface Operation {
2448
2579
  op?: string;
2449
- value?: string | number | boolean | null | object;
2580
+ value?: object | null;
2450
2581
  path?: string;
2451
2582
  }
2452
2583
 
@@ -2529,6 +2660,24 @@ export interface ProblemDetails {
2529
2660
  [key: string]: any;
2530
2661
  }
2531
2662
 
2663
+ export interface ProcessCompletion {
2664
+ success: boolean;
2665
+ sessionId: string;
2666
+ status: string;
2667
+ message: string;
2668
+ packageId?: string | null;
2669
+ recipientId: string;
2670
+ internalUserId: string;
2671
+ /** @format date-time */
2672
+ completedAt: string;
2673
+ wasAlreadyProcessed: boolean;
2674
+ }
2675
+
2676
+ export interface ProcessCompletionRequest {
2677
+ /** @minLength 1 */
2678
+ sessionId: string;
2679
+ }
2680
+
2532
2681
  export interface RefinanceCalculator {
2533
2682
  currentLoan: RefinanceLoan;
2534
2683
  refinanceLoan: RefinanceLoan;
@@ -2793,7 +2942,7 @@ export interface SSOTokenRequest {
2793
2942
  }
2794
2943
 
2795
2944
  export interface SamlMetadataRequest {
2796
- ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
2945
+ ssoIntegration: "ConsumerConnect" | "TheBigPOS";
2797
2946
  }
2798
2947
 
2799
2948
  export interface SendForgotPasswordRequest {
@@ -2832,7 +2981,7 @@ export interface SiteConfiguration {
2832
2981
  deletedAt?: string | null;
2833
2982
  /** @format uuid */
2834
2983
  id: string;
2835
- type: SiteConfigurationTypeEnum;
2984
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
2836
2985
  /** @format uuid */
2837
2986
  entityID: string;
2838
2987
  /** @format int32 */
@@ -3027,7 +3176,7 @@ export interface SiteConfigurationByUrl {
3027
3176
  deletedAt?: string | null;
3028
3177
  /** @format uuid */
3029
3178
  id: string;
3030
- type: SiteConfigurationByUrlTypeEnum;
3179
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3031
3180
  /** @format uuid */
3032
3181
  entityID: string;
3033
3182
  /** @format int32 */
@@ -3240,7 +3389,7 @@ export interface SiteConfigurationForm {
3240
3389
  export interface SiteConfigurationReduced {
3241
3390
  /** @format uuid */
3242
3391
  id: string;
3243
- type: SiteConfigurationReducedTypeEnum;
3392
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3244
3393
  url?: string | null;
3245
3394
  name: string;
3246
3395
  /** @format int64 */
@@ -3258,7 +3407,7 @@ export interface SiteConfigurationRequest {
3258
3407
  entityID: string;
3259
3408
  /** @format int32 */
3260
3409
  entityType: number;
3261
- type: SiteConfigurationRequestTypeEnum;
3410
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3262
3411
  url: string;
3263
3412
  name: string;
3264
3413
  introduction?: string | null;
@@ -3435,7 +3584,7 @@ export interface SiteConfigurationSearchCriteria {
3435
3584
  export interface SiteConfigurationSummary {
3436
3585
  /** @format uuid */
3437
3586
  id: string;
3438
- type: SiteConfigurationSummaryTypeEnum;
3587
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3439
3588
  url?: string | null;
3440
3589
  name: string;
3441
3590
  /** @format int64 */
@@ -3874,7 +4023,19 @@ export interface UserDevice {
3874
4023
  export interface UserDraft {
3875
4024
  /** @format uuid */
3876
4025
  draftID: string;
3877
- role: UserDraftRoleEnum;
4026
+ role:
4027
+ | "Borrower"
4028
+ | "CoBorrower"
4029
+ | "NonBorrower"
4030
+ | "LoanOfficer"
4031
+ | "LoanProcessor"
4032
+ | "LoanOfficerAssistant"
4033
+ | "SupportingLoanOfficer"
4034
+ | "BuyerAgent"
4035
+ | "SellerAgent"
4036
+ | "TitleInsuranceAgent"
4037
+ | "EscrowAgent"
4038
+ | "SettlementAgent";
3878
4039
  user: User;
3879
4040
  }
3880
4041
 
@@ -3901,7 +4062,7 @@ export interface UserGroupAccessScope {
3901
4062
  id: string;
3902
4063
  /** @format uuid */
3903
4064
  groupId: string;
3904
- scopeType: UserGroupAccessScopeScopeTypeEnum;
4065
+ scopeType: "User" | "Branch";
3905
4066
  /** @format uuid */
3906
4067
  userId?: string | null;
3907
4068
  /** @format uuid */
@@ -3937,7 +4098,19 @@ export interface UserLoan {
3937
4098
  deletedAt?: string | null;
3938
4099
  loanID: string;
3939
4100
  user: User;
3940
- role: UserLoanRoleEnum;
4101
+ role:
4102
+ | "Borrower"
4103
+ | "CoBorrower"
4104
+ | "NonBorrower"
4105
+ | "LoanOfficer"
4106
+ | "LoanProcessor"
4107
+ | "LoanOfficerAssistant"
4108
+ | "SupportingLoanOfficer"
4109
+ | "BuyerAgent"
4110
+ | "SellerAgent"
4111
+ | "TitleInsuranceAgent"
4112
+ | "EscrowAgent"
4113
+ | "SettlementAgent";
3941
4114
  /** @format int32 */
3942
4115
  borrowerPair?: number | null;
3943
4116
  /** @format int32 */
@@ -4083,7 +4256,17 @@ export interface UserSummary {
4083
4256
  id: string;
4084
4257
  name?: string | null;
4085
4258
  email?: string | null;
4086
- role: UserSummaryRoleEnum;
4259
+ role:
4260
+ | "Borrower"
4261
+ | "LoanOfficer"
4262
+ | "Admin"
4263
+ | "SuperAdmin"
4264
+ | "Realtor"
4265
+ | "SettlementAgent"
4266
+ | "LoanProcessor"
4267
+ | "LoanOfficerAssistant"
4268
+ | "BranchManager"
4269
+ | "SystemAdmin";
4087
4270
  }
4088
4271
 
4089
4272
  export interface VerifyPasswordRequest {
@@ -4119,237 +4302,6 @@ export interface Workflow {
4119
4302
  icon: string;
4120
4303
  }
4121
4304
 
4122
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
4123
-
4124
- export type CreateAccountRequestEnvironmentEnum =
4125
- | "Development"
4126
- | "Staging"
4127
- | "UAT"
4128
- | "Production";
4129
-
4130
- export type CreateGroupMemberRequestLoanRoleEnum =
4131
- | "Borrower"
4132
- | "CoBorrower"
4133
- | "NonBorrower"
4134
- | "LoanOfficer"
4135
- | "LoanProcessor"
4136
- | "LoanOfficerAssistant"
4137
- | "SupportingLoanOfficer"
4138
- | "BuyerAgent"
4139
- | "SellerAgent"
4140
- | "TitleInsuranceAgent"
4141
- | "EscrowAgent"
4142
- | "SettlementAgent";
4143
-
4144
- /** @deprecated */
4145
- export type CreateInviteRequestRelationshipEnum =
4146
- | "NotApplicable"
4147
- | "Spouse"
4148
- | "NonSpouse";
4149
-
4150
- export type CreateLoanImportRequestImportModeEnum =
4151
- | "All"
4152
- | "NewOnly"
4153
- | "UpdateOnly";
4154
-
4155
- export type CreateUserDraftLoanRoleEnum =
4156
- | "Borrower"
4157
- | "CoBorrower"
4158
- | "NonBorrower"
4159
- | "LoanOfficer"
4160
- | "LoanProcessor"
4161
- | "LoanOfficerAssistant"
4162
- | "SupportingLoanOfficer"
4163
- | "BuyerAgent"
4164
- | "SellerAgent"
4165
- | "TitleInsuranceAgent"
4166
- | "EscrowAgent"
4167
- | "SettlementAgent";
4168
-
4169
- export type FusionReportFilterFilterTypeEnum =
4170
- | "DateGreaterThanOrEqualTo"
4171
- | "DateGreaterThan"
4172
- | "DateLessThan"
4173
- | "DateLessThanOrEqualTo"
4174
- | "DateEquals"
4175
- | "DateDoesntEqual"
4176
- | "DateNonEmpty"
4177
- | "DateEmpty"
4178
- | "StringContains"
4179
- | "StringEquals"
4180
- | "StringNotEmpty"
4181
- | "StringNotEquals"
4182
- | "StringNotContains";
4183
-
4184
- export type LoanContactRoleEnum =
4185
- | "Borrower"
4186
- | "CoBorrower"
4187
- | "NonBorrower"
4188
- | "LoanOfficer"
4189
- | "LoanProcessor"
4190
- | "LoanOfficerAssistant"
4191
- | "SupportingLoanOfficer"
4192
- | "BuyerAgent"
4193
- | "SellerAgent"
4194
- | "TitleInsuranceAgent"
4195
- | "EscrowAgent"
4196
- | "SettlementAgent";
4197
-
4198
- export type LoanImportStatusEnum =
4199
- | "WaitingProcess"
4200
- | "InProgress"
4201
- | "Completed"
4202
- | "Failed"
4203
- | "Cancelled";
4204
-
4205
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
4206
-
4207
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
4208
-
4209
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
4210
-
4211
- export type LoanLogTypeEnum =
4212
- | "Loan"
4213
- | "Queue"
4214
- | "POSFlagChanged"
4215
- | "Verification";
4216
-
4217
- export type LoanUpdateRequestOperationOperationTypeEnum =
4218
- | "Add"
4219
- | "Remove"
4220
- | "Replace"
4221
- | "Move"
4222
- | "Copy"
4223
- | "Test"
4224
- | "Invalid";
4225
-
4226
- export type LoanUserLoanRoleEnum =
4227
- | "Borrower"
4228
- | "CoBorrower"
4229
- | "NonBorrower"
4230
- | "LoanOfficer"
4231
- | "LoanProcessor"
4232
- | "LoanOfficerAssistant"
4233
- | "SupportingLoanOfficer"
4234
- | "BuyerAgent"
4235
- | "SellerAgent"
4236
- | "TitleInsuranceAgent"
4237
- | "EscrowAgent"
4238
- | "SettlementAgent";
4239
-
4240
- export type SamlMetadataRequestSsoIntegrationEnum =
4241
- | "ConsumerConnect"
4242
- | "TheBigPOS";
4243
-
4244
- export type SiteConfigurationTypeEnum =
4245
- | "None"
4246
- | "Account"
4247
- | "Corporate"
4248
- | "Branch"
4249
- | "LoanOfficer"
4250
- | "Partner";
4251
-
4252
- export type SiteConfigurationByUrlTypeEnum =
4253
- | "None"
4254
- | "Account"
4255
- | "Corporate"
4256
- | "Branch"
4257
- | "LoanOfficer"
4258
- | "Partner";
4259
-
4260
- export type SiteConfigurationReducedTypeEnum =
4261
- | "None"
4262
- | "Account"
4263
- | "Corporate"
4264
- | "Branch"
4265
- | "LoanOfficer"
4266
- | "Partner";
4267
-
4268
- export type SiteConfigurationRequestTypeEnum =
4269
- | "None"
4270
- | "Account"
4271
- | "Corporate"
4272
- | "Branch"
4273
- | "LoanOfficer"
4274
- | "Partner";
4275
-
4276
- export type SiteConfigurationSummaryTypeEnum =
4277
- | "None"
4278
- | "Account"
4279
- | "Corporate"
4280
- | "Branch"
4281
- | "LoanOfficer"
4282
- | "Partner";
4283
-
4284
- export type UserDraftRoleEnum =
4285
- | "Borrower"
4286
- | "CoBorrower"
4287
- | "NonBorrower"
4288
- | "LoanOfficer"
4289
- | "LoanProcessor"
4290
- | "LoanOfficerAssistant"
4291
- | "SupportingLoanOfficer"
4292
- | "BuyerAgent"
4293
- | "SellerAgent"
4294
- | "TitleInsuranceAgent"
4295
- | "EscrowAgent"
4296
- | "SettlementAgent";
4297
-
4298
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
4299
-
4300
- export type UserLoanRoleEnum =
4301
- | "Borrower"
4302
- | "CoBorrower"
4303
- | "NonBorrower"
4304
- | "LoanOfficer"
4305
- | "LoanProcessor"
4306
- | "LoanOfficerAssistant"
4307
- | "SupportingLoanOfficer"
4308
- | "BuyerAgent"
4309
- | "SellerAgent"
4310
- | "TitleInsuranceAgent"
4311
- | "EscrowAgent"
4312
- | "SettlementAgent";
4313
-
4314
- export type UserSummaryRoleEnum =
4315
- | "Borrower"
4316
- | "LoanOfficer"
4317
- | "Admin"
4318
- | "SuperAdmin"
4319
- | "Realtor"
4320
- | "SettlementAgent"
4321
- | "LoanProcessor"
4322
- | "LoanOfficerAssistant"
4323
- | "BranchManager"
4324
- | "SystemAdmin";
4325
-
4326
- /** @default "Realtor" */
4327
- export type GetPartnersParamsRoleEnum =
4328
- | "Borrower"
4329
- | "LoanOfficer"
4330
- | "Admin"
4331
- | "SuperAdmin"
4332
- | "Realtor"
4333
- | "SettlementAgent"
4334
- | "LoanProcessor"
4335
- | "LoanOfficerAssistant"
4336
- | "BranchManager"
4337
- | "SystemAdmin";
4338
-
4339
- export type GetSamlMetadataParamsSSoIntegrationEnum =
4340
- | "ConsumerConnect"
4341
- | "TheBigPOS";
4342
-
4343
- export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS";
4344
-
4345
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
4346
- | "ConsumerConnect"
4347
- | "TheBigPOS";
4348
-
4349
- export type CreateOrReplaceSamlMetadataParamsEnum =
4350
- | "ConsumerConnect"
4351
- | "TheBigPOS";
4352
-
4353
4305
  import type {
4354
4306
  AxiosInstance,
4355
4307
  AxiosRequestConfig,
@@ -4392,7 +4344,6 @@ export interface ApiConfig<SecurityDataType = unknown>
4392
4344
  }
4393
4345
 
4394
4346
  export enum ContentType {
4395
- JsonPatch = "application/json-patch+json",
4396
4347
  Json = "application/json",
4397
4348
  JsonApi = "application/vnd.api+json",
4398
4349
  FormData = "multipart/form-data",
@@ -4528,7 +4479,7 @@ export class HttpClient<SecurityDataType = unknown> {
4528
4479
 
4529
4480
  /**
4530
4481
  * @title The Big POS API
4531
- * @version v2.26.1
4482
+ * @version v2.27.0
4532
4483
  * @termsOfService https://www.thebigpos.com/terms-of-use/
4533
4484
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
4534
4485
  */
@@ -6027,6 +5978,124 @@ export class Api<
6027
5978
  ...params,
6028
5979
  }),
6029
5980
 
5981
+ /**
5982
+ * No description
5983
+ *
5984
+ * @tags Encompass Cancellation
5985
+ * @name CancelEncompassSession
5986
+ * @request POST:/api/los/encompass/eclose/sessions/cancel
5987
+ * @secure
5988
+ * @response `200` `ProcessCompletion` Success
5989
+ * @response `400` `EncompassError` Bad Request
5990
+ * @response `404` `EncompassError` Not Found
5991
+ * @response `500` `EncompassError` Server Error
5992
+ */
5993
+ cancelEncompassSession: (
5994
+ data: ProcessCompletionRequest,
5995
+ params: RequestParams = {},
5996
+ ) =>
5997
+ this.request<ProcessCompletion, EncompassError>({
5998
+ path: `/api/los/encompass/eclose/sessions/cancel`,
5999
+ method: "POST",
6000
+ body: data,
6001
+ secure: true,
6002
+ type: ContentType.Json,
6003
+ format: "json",
6004
+ ...params,
6005
+ }),
6006
+
6007
+ /**
6008
+ * No description
6009
+ *
6010
+ * @tags Encompass Completion
6011
+ * @name CompleteEncompassSession
6012
+ * @request POST:/api/los/encompass/eclose/sessions/complete
6013
+ * @secure
6014
+ * @response `200` `ProcessCompletion` Success
6015
+ * @response `400` `EncompassError` Bad Request
6016
+ * @response `404` `EncompassError` Not Found
6017
+ * @response `500` `EncompassError` Server Error
6018
+ */
6019
+ completeEncompassSession: (
6020
+ data: ProcessCompletionRequest,
6021
+ params: RequestParams = {},
6022
+ ) =>
6023
+ this.request<ProcessCompletion, EncompassError>({
6024
+ path: `/api/los/encompass/eclose/sessions/complete`,
6025
+ method: "POST",
6026
+ body: data,
6027
+ secure: true,
6028
+ type: ContentType.Json,
6029
+ format: "json",
6030
+ ...params,
6031
+ }),
6032
+
6033
+ /**
6034
+ * No description
6035
+ *
6036
+ * @tags Encompass Packages
6037
+ * @name GetUserPackages
6038
+ * @request GET:/api/los/encompass/eclose/packages
6039
+ * @secure
6040
+ * @response `200` `EncompassPackageList` Success
6041
+ * @response `400` `EncompassError` Bad Request
6042
+ * @response `401` `EncompassError` Unauthorized
6043
+ * @response `500` `EncompassError` Server Error
6044
+ */
6045
+ getUserPackages: (
6046
+ query?: {
6047
+ /** @default "all" */
6048
+ status?: string;
6049
+ /**
6050
+ * @format int32
6051
+ * @default 1
6052
+ */
6053
+ page?: number;
6054
+ /**
6055
+ * @format int32
6056
+ * @default 20
6057
+ */
6058
+ pageSize?: number;
6059
+ },
6060
+ params: RequestParams = {},
6061
+ ) =>
6062
+ this.request<EncompassPackageList, EncompassError>({
6063
+ path: `/api/los/encompass/eclose/packages`,
6064
+ method: "GET",
6065
+ query: query,
6066
+ secure: true,
6067
+ format: "json",
6068
+ ...params,
6069
+ }),
6070
+
6071
+ /**
6072
+ * No description
6073
+ *
6074
+ * @tags Encompass Sessions
6075
+ * @name CreateEncompassSession
6076
+ * @request POST:/api/los/encompass/eclose/sessions
6077
+ * @secure
6078
+ * @response `200` `CreateSession` Success
6079
+ * @response `400` `EncompassError` Bad Request
6080
+ * @response `401` `EncompassError` Unauthorized
6081
+ * @response `403` `EncompassError` Forbidden
6082
+ * @response `404` `EncompassError` Not Found
6083
+ * @response `500` `EncompassError` Server Error
6084
+ */
6085
+ createEncompassSession: (
6086
+ data: CreateSessionRequest,
6087
+ params: RequestParams = {},
6088
+ ) =>
6089
+ this.request<CreateSession, EncompassError>({
6090
+ path: `/api/los/encompass/eclose/sessions`,
6091
+ method: "POST",
6092
+ body: data,
6093
+ secure: true,
6094
+ type: ContentType.Json,
6095
+ format: "json",
6096
+ ...params,
6097
+ }),
6098
+
6030
6099
  /**
6031
6100
  * No description
6032
6101
  *
@@ -6692,7 +6761,7 @@ export class Api<
6692
6761
  method: "PATCH",
6693
6762
  body: data,
6694
6763
  secure: true,
6695
- type: ContentType.JsonPatch,
6764
+ type: ContentType.Json,
6696
6765
  format: "json",
6697
6766
  ...params,
6698
6767
  }),
@@ -6762,7 +6831,7 @@ export class Api<
6762
6831
  method: "PATCH",
6763
6832
  body: data,
6764
6833
  secure: true,
6765
- type: ContentType.JsonPatch,
6834
+ type: ContentType.Json,
6766
6835
  format: "json",
6767
6836
  ...params,
6768
6837
  }),
@@ -6788,7 +6857,7 @@ export class Api<
6788
6857
  method: "PATCH",
6789
6858
  body: data,
6790
6859
  secure: true,
6791
- type: ContentType.JsonPatch,
6860
+ type: ContentType.Json,
6792
6861
  format: "json",
6793
6862
  ...params,
6794
6863
  }),
@@ -7000,7 +7069,7 @@ export class Api<
7000
7069
  method: "PATCH",
7001
7070
  body: data,
7002
7071
  secure: true,
7003
- type: ContentType.JsonPatch,
7072
+ type: ContentType.Json,
7004
7073
  format: "json",
7005
7074
  ...params,
7006
7075
  }),
@@ -7080,7 +7149,7 @@ export class Api<
7080
7149
  method: "PATCH",
7081
7150
  body: data,
7082
7151
  secure: true,
7083
- type: ContentType.JsonPatch,
7152
+ type: ContentType.Json,
7084
7153
  format: "json",
7085
7154
  ...params,
7086
7155
  }),
@@ -8531,7 +8600,7 @@ export class Api<
8531
8600
  method: "PATCH",
8532
8601
  body: data,
8533
8602
  secure: true,
8534
- type: ContentType.JsonPatch,
8603
+ type: ContentType.Json,
8535
8604
  format: "json",
8536
8605
  ...params,
8537
8606
  }),
@@ -9556,7 +9625,17 @@ export class Api<
9556
9625
  query?: {
9557
9626
  showAll?: boolean;
9558
9627
  /** @default "Realtor" */
9559
- role?: GetPartnersParamsRoleEnum;
9628
+ role?:
9629
+ | "Borrower"
9630
+ | "LoanOfficer"
9631
+ | "Admin"
9632
+ | "SuperAdmin"
9633
+ | "Realtor"
9634
+ | "SettlementAgent"
9635
+ | "LoanProcessor"
9636
+ | "LoanOfficerAssistant"
9637
+ | "BranchManager"
9638
+ | "SystemAdmin";
9560
9639
  /** @format int32 */
9561
9640
  pageSize?: number;
9562
9641
  /** @format int32 */
@@ -9892,7 +9971,7 @@ export class Api<
9892
9971
  * @response `404` `ProblemDetails` Not Found
9893
9972
  */
9894
9973
  getSamlMetadata: (
9895
- sSoIntegration: GetSamlMetadataParamsEnum,
9974
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS",
9896
9975
  ssoIntegration: string,
9897
9976
  params: RequestParams = {},
9898
9977
  ) =>
@@ -9914,7 +9993,7 @@ export class Api<
9914
9993
  * @response `200` `File` Success
9915
9994
  */
9916
9995
  createOrReplaceSamlMetadata: (
9917
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
9996
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS",
9918
9997
  ssoIntegration: string,
9919
9998
  params: RequestParams = {},
9920
9999
  ) =>