@matech/thebigpos-sdk 3.14.0 → 3.15.0-dev-6023

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/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ type UtilRequiredKeys<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
1
2
  export type VersionStatusType = "Draft" | "Published";
2
3
  export type UserRole = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
3
4
  export type TaskType = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
@@ -67,6 +68,7 @@ export type LoanAccountAssetType = "Checking" | "Savings" | "MoneyMarket" | "Cer
67
68
  export type LoanAccessScopeType = "User" | "Branch";
68
69
  export type LinkTarget = "Self" | "Blank";
69
70
  export type LOSStatus = "Unknown" | "Pending" | "Retrying" | "Successful" | "Failed" | "FailedPermanently" | "Uploaded" | "PendingSync";
71
+ export type IncompleteLoanSource = "V3" | "LegacyDraft";
70
72
  export type Environment = "Development" | "Staging" | "UAT" | "Production";
71
73
  export type EntityType = "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Realtor";
72
74
  export type EncompassWebhookType = "Legacy" | "LoanV3" | "WebDocuments" | "PosfCreatePackage";
@@ -77,6 +79,7 @@ export type DraftType = "NewLoan" | "EditLoan";
77
79
  export type DocumentVisibilityScope = "Own" | "All";
78
80
  export type CustomFieldEntityType = "Loan";
79
81
  export type CustomFieldDataType = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
82
+ export type CustomFieldAnswerWarningReason = "Unresolved" | "Inactive" | "ReadOnly" | "DuplicateDefinition";
80
83
  export type CustomFieldAccessLevel = "NoAccess" | "ReadOnly" | "ReadWrite";
81
84
  export type ConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
82
85
  export type ConsentSource = "TheBigPOS" | "ConsumerConnect";
@@ -84,6 +87,15 @@ export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
84
87
  export type CompanyDocumentSourceType = "File" | "FreeText";
85
88
  export type CompanyDocumentIndexStatus = "Uploaded" | "Indexing" | "Indexed" | "Failed";
86
89
  export type ClassificationSource = "Textract" | "Llm" | "Manual";
90
+ export type CanvasWidgetType = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
91
+ export type CanvasWidgetScope = "Loan" | "User" | "Any";
92
+ export type CanvasSurface = "Home" | "LoanSummary" | "LoanDetails";
93
+ export type CanvasLabelPosition = "Left" | "Above";
94
+ export type CanvasInformationItemKind = "Field" | "Heading" | "Separator";
95
+ export type CanvasFieldSource = "Standard" | "Custom";
96
+ export type CanvasFieldFormat = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
97
+ export type CanvasFieldDataType = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
98
+ export type CanvasAudience = "Staff" | "Borrower" | "Partner";
87
99
  export type BulkLoanTaskOperationType = "SetStatus" | "Delete" | "SetDueDate";
88
100
  export type BranchType = "Mortgage" | "RealEstate";
89
101
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
@@ -102,6 +114,7 @@ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy
102
114
  export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
103
115
  export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced" | "RecommendationRunCompleted" | "BoundPromptForced";
104
116
  export type AddressFamily = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
117
+ export type CanvasWidgetConfig = BaseCanvasWidgetConfig & (BaseCanvasWidgetConfigTypeMapping<"Information", InformationWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"Kpi", KpiWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"KeyDates", KeyDatesWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"LoanProgress", LoanProgressWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"MonthlyPayment", MonthlyPaymentWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"Amortization", AmortizationWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"PrimaryBorrower", PrimaryBorrowerWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"OpenTasks", OpenTasksWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"Documents", DocumentsWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"EsignStatus", EsignStatusWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"LoanTeam", LoanTeamWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"TextBlock", TextBlockWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"SectionDivider", SectionDividerWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"MyTasks", MyTasksWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"RecentLoans", RecentLoansWidgetConfig> | BaseCanvasWidgetConfigTypeMapping<"ClosingSoon", ClosingSoonWidgetConfig>);
105
118
  export interface ASOSettings {
106
119
  enabled: boolean;
107
120
  softPull: boolean;
@@ -128,6 +141,16 @@ export interface ASOSettings {
128
141
  mimgic: boolean;
129
142
  miArch: boolean;
130
143
  }
144
+ export interface AcceptBorrowerInviteRequest {
145
+ /** @format uuid */
146
+ inviteCode: string;
147
+ }
148
+ export interface AcceptedBorrowerInvite {
149
+ /** @format uuid */
150
+ loanId: string;
151
+ /** @format uuid */
152
+ borrowerId: string;
153
+ }
131
154
  export interface Account {
132
155
  /** @format uuid */
133
156
  id: string;
@@ -882,6 +905,9 @@ export interface AmortizationSchedule {
882
905
  /** @format double */
883
906
  pmi: number;
884
907
  }
908
+ export type AmortizationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
909
+ type: AmortizationWidgetConfigTypeEnum;
910
+ };
885
911
  export interface ApplicationRowData {
886
912
  borrowerEmail?: string | null;
887
913
  borrowerFirstName?: string | null;
@@ -1132,6 +1158,173 @@ export interface BusinessRuleRequest {
1132
1158
  filter: BusinessRuleCondition[];
1133
1159
  applyToAllBorrowerPairs: boolean;
1134
1160
  }
1161
+ export interface CanvasAuthor {
1162
+ /** @format uuid */
1163
+ id: string;
1164
+ firstName: string;
1165
+ lastName: string;
1166
+ email: string;
1167
+ }
1168
+ export interface CanvasBoard {
1169
+ name?: string | null;
1170
+ roles: UserRole[];
1171
+ widgetIds: string[];
1172
+ widgets: Record<string, CanvasWidget>;
1173
+ }
1174
+ export interface CanvasBoardView {
1175
+ widgetIds: string[];
1176
+ widgets: Record<string, CanvasWidgetView>;
1177
+ }
1178
+ export interface CanvasDocument {
1179
+ /** @format int32 */
1180
+ schemaVersion: number;
1181
+ boards?: CanvasBoard[] | null;
1182
+ tabs?: CanvasTab[] | null;
1183
+ }
1184
+ export interface CanvasFieldCatalog {
1185
+ fields: CanvasFieldDescriptor[];
1186
+ }
1187
+ export interface CanvasFieldDescriptor {
1188
+ source: CanvasFieldDescriptorSourceEnum;
1189
+ key: string;
1190
+ label: string;
1191
+ category: string;
1192
+ categoryKey: string;
1193
+ dataType: CanvasFieldDescriptorDataTypeEnum;
1194
+ format: CanvasFieldDescriptorFormatEnum;
1195
+ encompassFieldId?: string | null;
1196
+ readableRoles: UserRole[];
1197
+ isActive: boolean;
1198
+ rolesWithoutPermissionRows: UserRole[];
1199
+ options: string[];
1200
+ }
1201
+ export interface CanvasFieldRef {
1202
+ source: CanvasFieldRefSourceEnum;
1203
+ key: string;
1204
+ }
1205
+ export interface CanvasFieldValue {
1206
+ dataType: CanvasFieldValueDataTypeEnum;
1207
+ value?: any | null;
1208
+ }
1209
+ export interface CanvasFieldValues {
1210
+ standard: Record<string, CanvasFieldValue>;
1211
+ custom: Record<string, CanvasFieldValue>;
1212
+ }
1213
+ export interface CanvasFieldValuesRequest {
1214
+ standardKeys: string[];
1215
+ customFieldIds: string[];
1216
+ }
1217
+ export interface CanvasFieldView {
1218
+ label: string;
1219
+ dataType: CanvasFieldViewDataTypeEnum;
1220
+ format: CanvasFieldViewFormatEnum;
1221
+ options: string[];
1222
+ }
1223
+ export interface CanvasInformationItem {
1224
+ kind: CanvasInformationItemKindEnum;
1225
+ field?: CanvasFieldRef | null;
1226
+ text?: string | null;
1227
+ label?: string | null;
1228
+ format?: CanvasFieldFormat | null;
1229
+ emphasis: boolean;
1230
+ hideWhenEmpty: boolean;
1231
+ roles: UserRole[];
1232
+ /** @format int32 */
1233
+ column: number;
1234
+ }
1235
+ export interface CanvasSourceSite {
1236
+ /** @format uuid */
1237
+ siteConfigurationID: string;
1238
+ name: string;
1239
+ type: CanvasSourceSiteTypeEnum;
1240
+ }
1241
+ export interface CanvasSurfaceState {
1242
+ surface: CanvasSurfaceStateSurfaceEnum;
1243
+ own?: CanvasDocument | null;
1244
+ /** @format int32 */
1245
+ ownVersion?: number | null;
1246
+ isOwnUnreadable: boolean;
1247
+ /** @format date-time */
1248
+ ownUpdatedAt?: string | null;
1249
+ /** @format uuid */
1250
+ forkedFromSiteConfigurationID?: string | null;
1251
+ /** @format int32 */
1252
+ forkedFromVersion?: number | null;
1253
+ inherited?: CanvasDocument | null;
1254
+ /** @format int32 */
1255
+ inheritedVersion?: number | null;
1256
+ inheritedFrom?: CanvasSourceSite | null;
1257
+ isBehindInherited: boolean;
1258
+ effectiveBoards?: CanvasBoard[] | null;
1259
+ effectiveTabs?: ResolvedCanvasTab[] | null;
1260
+ }
1261
+ export interface CanvasTab {
1262
+ key: string;
1263
+ /** @format int32 */
1264
+ version: number;
1265
+ title: string;
1266
+ roles: UserRole[];
1267
+ copiedFrom?: CanvasTabOrigin | null;
1268
+ board: CanvasBoard;
1269
+ }
1270
+ export interface CanvasTabOrigin {
1271
+ /** @format uuid */
1272
+ siteConfigurationID: string;
1273
+ tabKey: string;
1274
+ /** @format int32 */
1275
+ version: number;
1276
+ }
1277
+ export interface CanvasTabView {
1278
+ key: string;
1279
+ title: string;
1280
+ board: CanvasBoardView;
1281
+ }
1282
+ export interface CanvasVersion {
1283
+ /** @format int32 */
1284
+ version: number;
1285
+ /** @format date-time */
1286
+ createdAt: string;
1287
+ createdBy?: CanvasAuthor | null;
1288
+ }
1289
+ export interface CanvasView {
1290
+ surface: CanvasViewSurfaceEnum;
1291
+ isConfigured: boolean;
1292
+ board?: CanvasBoardView | null;
1293
+ tabs?: CanvasTabView[] | null;
1294
+ standardFields: Record<string, CanvasFieldView>;
1295
+ customFields: Record<string, CanvasFieldView>;
1296
+ }
1297
+ export interface CanvasWidget {
1298
+ type: CanvasWidgetTypeEnum;
1299
+ /** @format int32 */
1300
+ configVersion: number;
1301
+ title?: string | null;
1302
+ /** @format int32 */
1303
+ width: number;
1304
+ roles: UserRole[];
1305
+ config: InformationWidgetConfig | KpiWidgetConfig | KeyDatesWidgetConfig | LoanProgressWidgetConfig | MonthlyPaymentWidgetConfig | AmortizationWidgetConfig | PrimaryBorrowerWidgetConfig | OpenTasksWidgetConfig | DocumentsWidgetConfig | EsignStatusWidgetConfig | LoanTeamWidgetConfig | TextBlockWidgetConfig | SectionDividerWidgetConfig | MyTasksWidgetConfig | RecentLoansWidgetConfig | ClosingSoonWidgetConfig;
1306
+ }
1307
+ export interface CanvasWidgetTypeDescriptor {
1308
+ type: CanvasWidgetTypeDescriptorTypeEnum;
1309
+ scope: CanvasWidgetTypeDescriptorScopeEnum;
1310
+ surfaces: CanvasSurface[];
1311
+ audiences: CanvasAudience[];
1312
+ allowedRoles: UserRole[];
1313
+ allowedWidths: number[];
1314
+ /** @format int32 */
1315
+ maxPerBoard: number;
1316
+ /** @format int32 */
1317
+ configVersion: number;
1318
+ }
1319
+ export interface CanvasWidgetView {
1320
+ type: CanvasWidgetViewTypeEnum;
1321
+ /** @format int32 */
1322
+ configVersion: number;
1323
+ title?: string | null;
1324
+ /** @format int32 */
1325
+ width: number;
1326
+ config: InformationWidgetConfig | KpiWidgetConfig | KeyDatesWidgetConfig | LoanProgressWidgetConfig | MonthlyPaymentWidgetConfig | AmortizationWidgetConfig | PrimaryBorrowerWidgetConfig | OpenTasksWidgetConfig | DocumentsWidgetConfig | EsignStatusWidgetConfig | LoanTeamWidgetConfig | TextBlockWidgetConfig | SectionDividerWidgetConfig | MyTasksWidgetConfig | RecentLoansWidgetConfig | ClosingSoonWidgetConfig;
1327
+ }
1135
1328
  export interface ChangePasswordRequest {
1136
1329
  oldPassword: string;
1137
1330
  newPassword: string;
@@ -1162,6 +1355,13 @@ export interface ClosedLoansReportRequest {
1162
1355
  /** @format date */
1163
1356
  endDate: string;
1164
1357
  }
1358
+ export type ClosingSoonWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1359
+ /** @format int32 */
1360
+ withinDays: number;
1361
+ /** @format int32 */
1362
+ maxItems: number;
1363
+ type: ClosingSoonWidgetConfigTypeEnum;
1364
+ };
1165
1365
  export interface CommentUserInformation {
1166
1366
  entityId: string;
1167
1367
  entityType: string;
@@ -1527,6 +1727,10 @@ export interface CreditAuthPendingSummary {
1527
1727
  total: number;
1528
1728
  borrowers: BorrowerIdentity[];
1529
1729
  }
1730
+ export interface CustomFieldAnswerWarning {
1731
+ key: string;
1732
+ reason: CustomFieldAnswerWarningReasonEnum;
1733
+ }
1530
1734
  export interface CustomFieldDefinition {
1531
1735
  /** @format date-time */
1532
1736
  createdAt: string;
@@ -1753,6 +1957,12 @@ export interface DocumentTemplateVersionUpdateRequest {
1753
1957
  isActive: boolean;
1754
1958
  htmlBody: string;
1755
1959
  }
1960
+ export type DocumentsWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1961
+ /** @format int32 */
1962
+ maxItems: number;
1963
+ onlyOutstanding: boolean;
1964
+ type: DocumentsWidgetConfigTypeEnum;
1965
+ };
1756
1966
  export interface Draft {
1757
1967
  /** @format date-time */
1758
1968
  createdAt: string;
@@ -2051,6 +2261,9 @@ export interface EncompassWebhookSubscription {
2051
2261
  export interface Error {
2052
2262
  message: string;
2053
2263
  }
2264
+ export type EsignStatusWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2265
+ type: EsignStatusWidgetConfigTypeEnum;
2266
+ };
2054
2267
  export interface FailureBucket {
2055
2268
  /** @format date-time */
2056
2269
  startUtc: string;
@@ -2409,6 +2622,71 @@ export interface IncompleteApplicationSummary {
2409
2622
  total: number;
2410
2623
  borrowers: BorrowerIdentity[];
2411
2624
  }
2625
+ export interface IncompleteLoan {
2626
+ source: IncompleteLoanSourceEnum;
2627
+ /** @format uuid */
2628
+ loanId?: string | null;
2629
+ /** @format uuid */
2630
+ borrowerId?: string | null;
2631
+ /** @format uuid */
2632
+ draftId?: string | null;
2633
+ /** @format date-time */
2634
+ createdAt: string;
2635
+ /** @format date-time */
2636
+ updatedAt?: string | null;
2637
+ loanOfficer?: UserSummary | null;
2638
+ siteConfiguration?: IncompleteLoanSiteConfiguration | null;
2639
+ draft?: IncompleteLoanDraft | null;
2640
+ borrowers: IncompleteLoanBorrower[];
2641
+ }
2642
+ export interface IncompleteLoanBorrower {
2643
+ /** @format uuid */
2644
+ id: string;
2645
+ firstName?: string | null;
2646
+ lastName?: string | null;
2647
+ email?: string | null;
2648
+ isPrimaryBorrower: boolean;
2649
+ applicationStatus: IncompleteLoanBorrowerApplicationStatusEnum;
2650
+ /** @format date-time */
2651
+ deletedAt?: string | null;
2652
+ }
2653
+ export interface IncompleteLoanDraft {
2654
+ /** @format uuid */
2655
+ loanID?: string | null;
2656
+ /** @format date-time */
2657
+ deletedAt?: string | null;
2658
+ routeName?: string | null;
2659
+ user: UserBase;
2660
+ }
2661
+ export interface IncompleteLoanPaginated {
2662
+ rows: IncompleteLoan[];
2663
+ pagination: Pagination;
2664
+ /** @format int64 */
2665
+ count: number;
2666
+ }
2667
+ export interface IncompleteLoanSearchCriteria {
2668
+ searchText?: string | null;
2669
+ /** @format uuid */
2670
+ loanOfficerId?: string | null;
2671
+ /** @format uuid */
2672
+ siteConfigurationId?: string | null;
2673
+ isUnassigned?: boolean | null;
2674
+ includeRemovedApplications?: boolean | null;
2675
+ }
2676
+ export interface IncompleteLoanSiteConfiguration {
2677
+ /** @format uuid */
2678
+ id: string;
2679
+ name: string;
2680
+ }
2681
+ export type InformationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2682
+ /** @format int32 */
2683
+ columns: number;
2684
+ labelPosition: InformationWidgetConfigLabelPositionEnum;
2685
+ hideWhenEmpty: boolean;
2686
+ emptyText?: string | null;
2687
+ items: CanvasInformationItem[];
2688
+ type: InformationWidgetConfigTypeEnum;
2689
+ };
2412
2690
  export interface IntegrationSettings {
2413
2691
  encompass?: EncompassIntegrationSettings | null;
2414
2692
  }
@@ -2439,9 +2717,20 @@ export interface Invite {
2439
2717
  status: string;
2440
2718
  loan: LoanIdentifier;
2441
2719
  url: string;
2720
+ linksBorrowerApplication?: boolean | null;
2442
2721
  }
2443
2722
  /** Array of operations to perform */
2444
2723
  export type JsonPatchDocument = Operation[];
2724
+ export type KeyDatesWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2725
+ dates: string[];
2726
+ type: KeyDatesWidgetConfigTypeEnum;
2727
+ };
2728
+ export type KpiWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2729
+ field: CanvasFieldRef;
2730
+ label?: string | null;
2731
+ format?: CanvasFieldFormat | null;
2732
+ type: KpiWidgetConfigTypeEnum;
2733
+ };
2445
2734
  export interface LOSIntegration {
2446
2735
  instanceID: string;
2447
2736
  }
@@ -2634,6 +2923,7 @@ export interface LoanApplication {
2634
2923
  refinance?: LoanRefinance | null;
2635
2924
  borrowers: LoanBorrower[];
2636
2925
  nonOwningBorrowers: LoanNonOwningBorrower[];
2926
+ customFieldWarnings?: CustomFieldAnswerWarning[] | null;
2637
2927
  }
2638
2928
  export interface LoanApplicationRequest {
2639
2929
  /** @format uuid */
@@ -3937,6 +4227,9 @@ export interface LoanOutstandingItems {
3937
4227
  export interface LoanPatchRequestGuidPatchDocument {
3938
4228
  operations: GuidPatchOperation[];
3939
4229
  }
4230
+ export type LoanProgressWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4231
+ type: LoanProgressWidgetConfigTypeEnum;
4232
+ };
3940
4233
  export interface LoanProperty {
3941
4234
  /** @format uuid */
3942
4235
  id?: string | null;
@@ -4240,6 +4533,9 @@ export interface LoanTaskStatusSummary {
4240
4533
  /** @format int32 */
4241
4534
  count: number;
4242
4535
  }
4536
+ export type LoanTeamWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4537
+ type: LoanTeamWidgetConfigTypeEnum;
4538
+ };
4243
4539
  export interface LoanUser {
4244
4540
  /** @format uuid */
4245
4541
  id: string;
@@ -4637,6 +4933,16 @@ export interface MonthlyPaymentCalculatorRequest {
4637
4933
  /** @format int32 */
4638
4934
  term: number;
4639
4935
  }
4936
+ export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4937
+ type: MonthlyPaymentWidgetConfigTypeEnum;
4938
+ };
4939
+ export type MyTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4940
+ /** @format int32 */
4941
+ dueWithinDays: number;
4942
+ /** @format int32 */
4943
+ maxItems: number;
4944
+ type: MyTasksWidgetConfigTypeEnum;
4945
+ };
4640
4946
  export interface NoContentResult {
4641
4947
  /** @format int32 */
4642
4948
  statusCode: number;
@@ -4774,6 +5080,11 @@ export interface NotificationTemplateVersionUpdateRequest {
4774
5080
  textBody?: string | null;
4775
5081
  pushNotificationBody?: string | null;
4776
5082
  }
5083
+ export type OpenTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5084
+ /** @format int32 */
5085
+ maxItems: number;
5086
+ type: OpenTasksWidgetConfigTypeEnum;
5087
+ };
4777
5088
  export interface Operation {
4778
5089
  op?: string;
4779
5090
  value?: string | number | boolean | null | object;
@@ -4789,6 +5100,7 @@ export interface OutboundFailureBucket {
4789
5100
  }
4790
5101
  export interface OverridePasswordRequest {
4791
5102
  password: string;
5103
+ passwordConfirmation?: string | null;
4792
5104
  }
4793
5105
  export interface Pagination {
4794
5106
  /** @format int32 */
@@ -4908,6 +5220,13 @@ export interface PreliminaryCondition {
4908
5220
  rerequestedDate?: string | null;
4909
5221
  rerequestedBy?: CommentUserInformation | null;
4910
5222
  }
5223
+ export interface PreviewSiteConfigurationCanvasRequest {
5224
+ document: CanvasDocument;
5225
+ role?: UserRole | null;
5226
+ }
5227
+ export type PrimaryBorrowerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5228
+ type: PrimaryBorrowerWidgetConfigTypeEnum;
5229
+ };
4911
5230
  export interface ProblemDetails {
4912
5231
  type?: string | null;
4913
5232
  title?: string | null;
@@ -4917,6 +5236,11 @@ export interface ProblemDetails {
4917
5236
  instance?: string | null;
4918
5237
  [key: string]: any;
4919
5238
  }
5239
+ export type RecentLoansWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5240
+ /** @format int32 */
5241
+ maxItems: number;
5242
+ type: RecentLoansWidgetConfigTypeEnum;
5243
+ };
4920
5244
  export interface RefinanceCalculator {
4921
5245
  currentLoan: RefinanceLoan;
4922
5246
  refinanceLoan: RefinanceLoan;
@@ -5024,6 +5348,15 @@ export interface ResetPasswordRequest {
5024
5348
  token: string;
5025
5349
  password: string;
5026
5350
  }
5351
+ export interface ResolvedCanvasTab {
5352
+ tab: CanvasTab;
5353
+ source: CanvasSourceSite;
5354
+ isInherited: boolean;
5355
+ }
5356
+ export interface RestoreSiteConfigurationCanvasVersionRequest {
5357
+ /** @format int32 */
5358
+ expectedVersion: number;
5359
+ }
5027
5360
  export interface RunLOCalculation {
5028
5361
  loanID: string;
5029
5362
  loanAmount?: string | null;
@@ -5100,9 +5433,22 @@ export interface SSOTokenRequest {
5100
5433
  email: string;
5101
5434
  redirectUri?: string | null;
5102
5435
  }
5436
+ export interface SaveSiteConfigurationCanvasRequest {
5437
+ document: CanvasDocument;
5438
+ /** @format int32 */
5439
+ expectedVersion?: number | null;
5440
+ /** @format uuid */
5441
+ forkedFromSiteConfigurationID?: string | null;
5442
+ /** @format int32 */
5443
+ forkedFromVersion?: number | null;
5444
+ }
5103
5445
  export interface SearchCriteria {
5104
5446
  searchText?: string | null;
5105
5447
  }
5448
+ export type SectionDividerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5449
+ label?: string | null;
5450
+ type: SectionDividerWidgetConfigTypeEnum;
5451
+ };
5106
5452
  export interface SendESignatureReminderRequest {
5107
5453
  /** @format uuid */
5108
5454
  userId: string;
@@ -5531,6 +5877,11 @@ export interface SiteConfigurationByUrl {
5531
5877
  losSettings?: LOSSettings | null;
5532
5878
  workflows: Workflow[];
5533
5879
  }
5880
+ export interface SiteConfigurationCanvases {
5881
+ /** @format uuid */
5882
+ siteConfigurationID: string;
5883
+ surfaces: CanvasSurfaceState[];
5884
+ }
5534
5885
  export interface SiteConfigurationForm {
5535
5886
  /** @format date-time */
5536
5887
  createdAt: string;
@@ -6006,6 +6357,10 @@ export interface TemplateTokenRoot {
6006
6357
  displayName: string;
6007
6358
  fields: TemplateToken[];
6008
6359
  }
6360
+ export type TextBlockWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
6361
+ text: string;
6362
+ type: TextBlockWidgetConfigTypeEnum;
6363
+ };
6009
6364
  export interface Theme {
6010
6365
  logoURL: string;
6011
6366
  primaryColor: string;
@@ -6101,6 +6456,8 @@ export interface UnprocessableEntity {
6101
6456
  export interface UnprocessableEntityError {
6102
6457
  error: string;
6103
6458
  property: string;
6459
+ code?: string | null;
6460
+ params?: Record<string, any> | null;
6104
6461
  }
6105
6462
  export interface UnregisteredBorrower {
6106
6463
  /** @format uuid */
@@ -6760,6 +7117,12 @@ export interface Workflow {
6760
7117
  tileSubtitle: string;
6761
7118
  icon: string;
6762
7119
  }
7120
+ interface BaseCanvasWidgetConfig {
7121
+ type: string;
7122
+ }
7123
+ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7124
+ type: Key;
7125
+ } & Type;
6763
7126
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6764
7127
  export type AiAuditLogEventTypeEnum = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced" | "RecommendationRunCompleted" | "BoundPromptForced";
6765
7128
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
@@ -6768,9 +7131,26 @@ export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Pri
6768
7131
  export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6769
7132
  export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6770
7133
  export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
7134
+ export type AmortizationWidgetConfigTypeEnum = "Amortization";
6771
7135
  export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated" | "Accessed";
6772
7136
  export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6773
7137
  export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7138
+ export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
7139
+ export type CanvasFieldDescriptorDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7140
+ export type CanvasFieldDescriptorFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
7141
+ export type CanvasFieldRefSourceEnum = "Standard" | "Custom";
7142
+ export type CanvasFieldValueDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7143
+ export type CanvasFieldViewDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7144
+ export type CanvasFieldViewFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
7145
+ export type CanvasInformationItemKindEnum = "Field" | "Heading" | "Separator";
7146
+ export type CanvasSourceSiteTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7147
+ export type CanvasSurfaceStateSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7148
+ export type CanvasViewSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7149
+ export type CanvasWidgetTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7150
+ export type CanvasWidgetTypeDescriptorTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7151
+ export type CanvasWidgetTypeDescriptorScopeEnum = "Loan" | "User" | "Any";
7152
+ export type CanvasWidgetViewTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7153
+ export type ClosingSoonWidgetConfigTypeEnum = "ClosingSoon";
6774
7154
  export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
6775
7155
  export type CompanyDocumentIndexStatusEnum = "Uploaded" | "Indexing" | "Indexed" | "Failed";
6776
7156
  export type CompanyDocumentFolderFileSourceTypeEnum = "File" | "FreeText";
@@ -6788,6 +7168,7 @@ export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "
6788
7168
  export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6789
7169
  export type CreateLoanRoleTaskRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6790
7170
  export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7171
+ export type CustomFieldAnswerWarningReasonEnum = "Unresolved" | "Inactive" | "ReadOnly" | "DuplicateDefinition";
6791
7172
  export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
6792
7173
  export type CustomFieldDefinitionEntityTypeEnum = "Loan";
6793
7174
  export type CustomFieldEntryDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
@@ -6796,6 +7177,7 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
6796
7177
  export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6797
7178
  export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
6798
7179
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
7180
+ export type DocumentsWidgetConfigTypeEnum = "Documents";
6799
7181
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
6800
7182
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6801
7183
  export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6805,8 +7187,15 @@ export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "
6805
7187
  export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader" | "Read";
6806
7188
  export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
6807
7189
  export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" | "WebDocuments" | "PosfCreatePackage";
7190
+ export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
6808
7191
  export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
6809
7192
  export type IpAddressAddressFamilyEnum = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
7193
+ export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
7194
+ export type IncompleteLoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7195
+ export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
7196
+ export type InformationWidgetConfigTypeEnum = "Information";
7197
+ export type KeyDatesWidgetConfigTypeEnum = "KeyDates";
7198
+ export type KpiWidgetConfigTypeEnum = "Kpi";
6810
7199
  export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6811
7200
  export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6812
7201
  export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
@@ -6824,11 +7213,13 @@ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6824
7213
  export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
6825
7214
  export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6826
7215
  export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
7216
+ export type LoanProgressWidgetConfigTypeEnum = "LoanProgress";
6827
7217
  export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6828
7218
  export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6829
7219
  export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
6830
7220
  export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
6831
7221
  export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
7222
+ export type LoanTeamWidgetConfigTypeEnum = "LoanTeam";
6832
7223
  export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6833
7224
  export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
6834
7225
  export type LosIntegrationEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6842,8 +7233,14 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
6842
7233
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
6843
7234
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
6844
7235
  export type ManualDocumentClassificationRequestDocumentTypeEnum = "W2" | "Paystub" | "Form1099" | "Form1099Int" | "Form1099Misc" | "Form1099Nec" | "Form1099R" | "Form1099G" | "Form1099Div" | "Form1099Ssa" | "FederalTaxReturn1040" | "TaxReturnScheduleC" | "TaxReturnScheduleD" | "TaxReturnScheduleE" | "Form1065" | "Form1120" | "Form1120S" | "ProfitAndLossStatement" | "VerificationOfEmployment" | "BankStatement" | "InvestmentStatement" | "CreditCardStatement" | "MortgageStatement" | "PayoffStatement" | "HoaDocuments" | "UtilityBill" | "IdentityDocument" | "DemographicAddendum" | "Ssa89" | "Vba260551" | "Hud92900B" | "Check" | "Invoice" | "Receipt" | "LoanApplication1003" | "UnderwritingTransmittal1008" | "Other" | "SalesContract" | "TitleCommitment" | "DriversLicense" | "VerificationOfIncome" | "VerificationOfAssets" | "FloodCertificate" | "FraudReport" | "AddendumToSalesContract" | "GiftLetter" | "CpaLetter" | "TaxBill" | "CondoQuestionnaire" | "CondoBudget" | "CondoBylaws" | "RentalAgreements" | "Lease" | "HazardInsurance" | "VaCertificateOfEligibility" | "Appraisal" | "CreditReport" | "CondoMasterPolicy" | "EConsent" | "CreditAuthorization" | "TextOptIn" | "LoanComparison" | "AiGeneratedDocument" | "Unidentified";
7236
+ export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
7237
+ export type MyTasksWidgetConfigTypeEnum = "MyTasks";
7238
+ export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
6845
7239
  export type PendingInviteStatusEnum = "InvitePending" | "InviteExpired" | "NotInvited";
6846
7240
  export type PendingInviteRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7241
+ export type PrimaryBorrowerWidgetConfigTypeEnum = "PrimaryBorrower";
7242
+ export type RecentLoansWidgetConfigTypeEnum = "RecentLoans";
7243
+ export type SectionDividerWidgetConfigTypeEnum = "SectionDivider";
6847
7244
  export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6848
7245
  export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6849
7246
  export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
@@ -6854,6 +7251,7 @@ export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
6854
7251
  export type SiteTileLocationAudienceRequestLocationEnum = "HomePage" | "Dashboard";
6855
7252
  export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
6856
7253
  export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7254
+ export type TextBlockWidgetConfigTypeEnum = "TextBlock";
6857
7255
  export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6858
7256
  export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6859
7257
  export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
@@ -6865,9 +7263,21 @@ export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "Loan
6865
7263
  export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
6866
7264
  export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
6867
7265
  export type UserTableSettingsTableKeyEnum = "Pipeline";
7266
+ export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7267
+ export type GetCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6868
7268
  export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6869
7269
  /** @default "Realtor" */
6870
7270
  export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7271
+ export type SaveSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7272
+ export type SaveSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7273
+ export type DeleteSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7274
+ export type DeleteSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7275
+ export type PreviewSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7276
+ export type PreviewSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7277
+ export type GetSiteConfigurationCanvasVersionsParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7278
+ export type GetSiteConfigurationCanvasVersionsParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7279
+ export type RestoreSiteConfigurationCanvasVersionParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7280
+ export type RestoreSiteConfigurationCanvasVersionParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6871
7281
  export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6872
7282
  export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6873
7283
  export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
@@ -6915,7 +7325,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
6915
7325
  }
6916
7326
  /**
6917
7327
  * @title The Big POS API
6918
- * @version v3.14.0
7328
+ * @version v3.15.0
6919
7329
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6920
7330
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6921
7331
  */
@@ -8425,6 +8835,49 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8425
8835
  * @response `200` `BusinessRule` OK
8426
8836
  */
8427
8837
  restoreBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any, {}>>;
8838
+ /**
8839
+ * No description
8840
+ *
8841
+ * @tags Canvases
8842
+ * @name GetCanvas
8843
+ * @summary Get a site's canvas for one surface, as the signed-in user sees it
8844
+ * @request GET:/api/canvases/{surface}
8845
+ * @secure
8846
+ * @response `200` `CanvasView` OK
8847
+ * @response `400` `ProblemDetails` Bad Request
8848
+ * @response `404` `ProblemDetails` Not Found
8849
+ * @response `422` `ProblemDetails` Unprocessable Content
8850
+ */
8851
+ getCanvas: (surface: GetCanvasParamsEnum, query: {
8852
+ /** @format uuid */
8853
+ siteConfigurationId: string;
8854
+ }, params?: RequestParams) => Promise<AxiosResponse<CanvasView, any, {}>>;
8855
+ /**
8856
+ * @description A standard field's key and every categoryKey never change: saved layouts refer to fields by key, and a client can translate labels and categories by these keys.
8857
+ *
8858
+ * @tags CanvasFields
8859
+ * @name GetCanvasFields
8860
+ * @summary Get the fields a canvas can show
8861
+ * @request GET:/api/canvas/fields
8862
+ * @secure
8863
+ * @response `200` `CanvasFieldCatalog` OK
8864
+ * @response `403` `ProblemDetails` Forbidden
8865
+ * @response `404` `ProblemDetails` Not Found
8866
+ */
8867
+ getCanvasFields: (params?: RequestParams) => Promise<AxiosResponse<CanvasFieldCatalog, any, {}>>;
8868
+ /**
8869
+ * No description
8870
+ *
8871
+ * @tags CanvasWidgetTypes
8872
+ * @name GetCanvasWidgetTypes
8873
+ * @summary Get canvas widget types
8874
+ * @request GET:/api/canvas/widget-types
8875
+ * @secure
8876
+ * @response `200` `(CanvasWidgetTypeDescriptor)[]` OK
8877
+ * @response `403` `ProblemDetails` Forbidden
8878
+ * @response `404` `ProblemDetails` Not Found
8879
+ */
8880
+ getCanvasWidgetTypes: (params?: RequestParams) => Promise<AxiosResponse<CanvasWidgetTypeDescriptor[], any, {}>>;
8428
8881
  /**
8429
8882
  * @description Returns closed loan counts per account within the specified date range, including POS vs non-POS breakdown and utilization ratios.
8430
8883
  *
@@ -9794,6 +10247,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9794
10247
  * @response `200` `FormVersion` OK
9795
10248
  */
9796
10249
  deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any, {}>>;
10250
+ /**
10251
+ * No description
10252
+ *
10253
+ * @tags IncompleteLoans
10254
+ * @name SearchIncompleteLoans
10255
+ * @summary Search incomplete loans
10256
+ * @request POST:/api/loans/incomplete/search
10257
+ * @secure
10258
+ * @response `200` `IncompleteLoanPaginated` OK
10259
+ * @response `400` `ProblemDetails` Bad Request
10260
+ * @response `403` `ProblemDetails` Forbidden
10261
+ * @response `404` `ProblemDetails` Not Found
10262
+ */
10263
+ searchIncompleteLoans: (data: IncompleteLoanSearchCriteria, query?: {
10264
+ /** @format int32 */
10265
+ pageSize?: number;
10266
+ /** @format int32 */
10267
+ pageNumber?: number;
10268
+ sortBy?: string;
10269
+ sortDirection?: string;
10270
+ }, params?: RequestParams) => Promise<AxiosResponse<IncompleteLoanPaginated, any, {}>>;
9797
10271
  /**
9798
10272
  * No description
9799
10273
  *
@@ -10171,6 +10645,36 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10171
10645
  * @response `200` `File` OK
10172
10646
  */
10173
10647
  getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
10648
+ /**
10649
+ * No description
10650
+ *
10651
+ * @tags LoanApplicationRemoval
10652
+ * @name RemoveLoanApplication
10653
+ * @summary Remove a loan application nobody has submitted
10654
+ * @request POST:/api/loans/{loanId}/application/remove
10655
+ * @secure
10656
+ * @response `204` `void` No Content
10657
+ * @response `400` `ProblemDetails` Bad Request
10658
+ * @response `403` `ProblemDetails` Forbidden
10659
+ * @response `404` `ProblemDetails` Not Found
10660
+ * @response `409` `ProblemDetails` Conflict
10661
+ */
10662
+ removeLoanApplication: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
10663
+ /**
10664
+ * No description
10665
+ *
10666
+ * @tags LoanApplicationRemoval
10667
+ * @name RestoreLoanApplication
10668
+ * @summary Restore a removed loan application
10669
+ * @request POST:/api/loans/{loanId}/application/restore
10670
+ * @secure
10671
+ * @response `204` `void` No Content
10672
+ * @response `400` `ProblemDetails` Bad Request
10673
+ * @response `403` `ProblemDetails` Forbidden
10674
+ * @response `404` `ProblemDetails` Not Found
10675
+ * @response `409` `ProblemDetails` Conflict
10676
+ */
10677
+ restoreLoanApplication: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
10174
10678
  /**
10175
10679
  * No description
10176
10680
  *
@@ -10195,6 +10699,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10195
10699
  * @response `423` `UnprocessableEntity` Locked
10196
10700
  */
10197
10701
  runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculation, any, {}>>;
10702
+ /**
10703
+ * No description
10704
+ *
10705
+ * @tags LoanCanvasFieldValues
10706
+ * @name GetLoanCanvasFieldValues
10707
+ * @summary Get a loan's values for canvas fields
10708
+ * @request POST:/api/loans/{loanId}/canvas/field-values
10709
+ * @secure
10710
+ * @response `200` `CanvasFieldValues` OK
10711
+ * @response `400` `ProblemDetails` Bad Request
10712
+ * @response `403` `ProblemDetails` Forbidden
10713
+ * @response `404` `ProblemDetails` Not Found
10714
+ * @response `422` `ProblemDetails` Unprocessable Content
10715
+ */
10716
+ getLoanCanvasFieldValues: (loanId: string, data: CanvasFieldValuesRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasFieldValues, any, {}>>;
10198
10717
  /**
10199
10718
  * No description
10200
10719
  *
@@ -11211,6 +11730,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11211
11730
  * @response `404` `ProblemDetails` Not Found
11212
11731
  * @response `409` `any` Conflict
11213
11732
  * @response `422` `UnprocessableEntity` Unprocessable Content
11733
+ * @response `423` `ProblemDetails` Locked
11214
11734
  */
11215
11735
  updateLoan: (loanId: string, data: LoanPatchRequestGuidPatchDocument, params?: RequestParams) => Promise<AxiosResponse<Loan, any, {}>>;
11216
11736
  /**
@@ -11293,6 +11813,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11293
11813
  * @secure
11294
11814
  * @response `202` `void` Accepted
11295
11815
  * @response `404` `ProblemDetails` Not Found
11816
+ * @response `409` `ProblemDetails` Conflict
11296
11817
  */
11297
11818
  syncLoanToLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
11298
11819
  /**
@@ -12159,6 +12680,104 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12159
12680
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
12160
12681
  applyToChildren?: boolean;
12161
12682
  }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any, {}>>;
12683
+ /**
12684
+ * No description
12685
+ *
12686
+ * @tags SiteConfigurationCanvases
12687
+ * @name GetSiteConfigurationCanvases
12688
+ * @summary Get a site's canvases: own, inherited and effective per surface
12689
+ * @request GET:/api/site-configurations/{siteConfigurationId}/canvases
12690
+ * @secure
12691
+ * @response `200` `SiteConfigurationCanvases` OK
12692
+ * @response `403` `ProblemDetails` Forbidden
12693
+ * @response `404` `ProblemDetails` Not Found
12694
+ */
12695
+ getSiteConfigurationCanvases: (siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationCanvases, any, {}>>;
12696
+ /**
12697
+ * @description The request is the canvas's whole state: leaving out forkedFromSiteConfigurationID and forkedFromVersion clears them, and isBehindInherited with them.
12698
+ *
12699
+ * @tags SiteConfigurationCanvases
12700
+ * @name SaveSiteConfigurationCanvas
12701
+ * @summary Save a site's canvas for one surface
12702
+ * @request PUT:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
12703
+ * @secure
12704
+ * @response `200` `CanvasSurfaceState` OK
12705
+ * @response `400` `ProblemDetails` Bad Request
12706
+ * @response `403` `ProblemDetails` Forbidden
12707
+ * @response `404` `ProblemDetails` Not Found
12708
+ * @response `409` `ProblemDetails` Conflict
12709
+ * @response `422` `ProblemDetails` Unprocessable Content
12710
+ * @response `423` `ProblemDetails` Locked
12711
+ */
12712
+ saveSiteConfigurationCanvas: (siteConfigurationId: string, surface: SaveSiteConfigurationCanvasParamsEnum, data: SaveSiteConfigurationCanvasRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasSurfaceState, any, {}>>;
12713
+ /**
12714
+ * No description
12715
+ *
12716
+ * @tags SiteConfigurationCanvases
12717
+ * @name DeleteSiteConfigurationCanvas
12718
+ * @summary Delete a site's own canvas for a surface, its boards or its Loan Details tabs, so it inherits again
12719
+ * @request DELETE:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
12720
+ * @secure
12721
+ * @response `204` `void` No Content
12722
+ * @response `400` `ProblemDetails` Bad Request
12723
+ * @response `403` `ProblemDetails` Forbidden
12724
+ * @response `404` `ProblemDetails` Not Found
12725
+ * @response `409` `ProblemDetails` Conflict
12726
+ * @response `422` `ProblemDetails` Unprocessable Content
12727
+ */
12728
+ deleteSiteConfigurationCanvas: (siteConfigurationId: string, surface: DeleteSiteConfigurationCanvasParamsEnum, query: {
12729
+ /**
12730
+ * The canvas Version the caller last read. A delete over a newer save is refused as stale.
12731
+ * @format int32
12732
+ */
12733
+ expectedVersion: number;
12734
+ }, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
12735
+ /**
12736
+ * No description
12737
+ *
12738
+ * @tags SiteConfigurationCanvases
12739
+ * @name PreviewSiteConfigurationCanvas
12740
+ * @summary Preview an unsaved canvas for one surface as a role would see it
12741
+ * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/preview
12742
+ * @secure
12743
+ * @response `200` `CanvasView` OK
12744
+ * @response `400` `ProblemDetails` Bad Request
12745
+ * @response `403` `ProblemDetails` Forbidden
12746
+ * @response `404` `ProblemDetails` Not Found
12747
+ * @response `422` `ProblemDetails` Unprocessable Content
12748
+ */
12749
+ previewSiteConfigurationCanvas: (siteConfigurationId: string, surface: PreviewSiteConfigurationCanvasParamsEnum, data: PreviewSiteConfigurationCanvasRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasView, any, {}>>;
12750
+ /**
12751
+ * No description
12752
+ *
12753
+ * @tags SiteConfigurationCanvases
12754
+ * @name GetSiteConfigurationCanvasVersions
12755
+ * @summary Get the saved versions of a site's layout for a surface, newest first, including those from before a delete
12756
+ * @request GET:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions
12757
+ * @secure
12758
+ * @response `200` `(CanvasVersion)[]` OK
12759
+ * @response `403` `ProblemDetails` Forbidden
12760
+ * @response `404` `ProblemDetails` Not Found
12761
+ * @response `422` `ProblemDetails` Unprocessable Content
12762
+ */
12763
+ getSiteConfigurationCanvasVersions: (siteConfigurationId: string, surface: GetSiteConfigurationCanvasVersionsParamsEnum, params?: RequestParams) => Promise<AxiosResponse<CanvasVersion[], any, {}>>;
12764
+ /**
12765
+ * No description
12766
+ *
12767
+ * @tags SiteConfigurationCanvases
12768
+ * @name RestoreSiteConfigurationCanvasVersion
12769
+ * @summary Restore a saved version of a site's canvas as a new version
12770
+ * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions/{version}/restore
12771
+ * @secure
12772
+ * @response `200` `CanvasSurfaceState` OK
12773
+ * @response `400` `ProblemDetails` Bad Request
12774
+ * @response `403` `ProblemDetails` Forbidden
12775
+ * @response `404` `ProblemDetails` Not Found
12776
+ * @response `409` `ProblemDetails` Conflict
12777
+ * @response `422` `ProblemDetails` Unprocessable Content
12778
+ * @response `423` `ProblemDetails` Locked
12779
+ */
12780
+ restoreSiteConfigurationCanvasVersion: (siteConfigurationId: string, surface: RestoreSiteConfigurationCanvasVersionParamsEnum, version: number, data: RestoreSiteConfigurationCanvasVersionRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasSurfaceState, any, {}>>;
12162
12781
  /**
12163
12782
  * No description
12164
12783
  *
@@ -13005,6 +13624,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13005
13624
  * @response `204` `void` No Content
13006
13625
  * @response `404` `Error` Not Found
13007
13626
  * @response `422` `UnprocessableEntity` Unprocessable Content
13627
+ * @response `429` `ProblemDetails` Too Many Requests
13008
13628
  */
13009
13629
  allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
13010
13630
  /**
@@ -13056,6 +13676,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13056
13676
  * @response `422` `UnprocessableEntity` Unprocessable Content
13057
13677
  */
13058
13678
  extendImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
13679
+ /**
13680
+ * No description
13681
+ *
13682
+ * @tags UserInviteAcceptance
13683
+ * @name AcceptBorrowerInvite
13684
+ * @summary Accept a borrower invite with the signed-in account
13685
+ * @request POST:/api/users/invites/accept
13686
+ * @secure
13687
+ * @response `200` `AcceptedBorrowerInvite` OK
13688
+ * @response `403` `ProblemDetails` Forbidden
13689
+ * @response `404` `ProblemDetails` Not Found
13690
+ * @response `409` `ProblemDetails` Conflict
13691
+ */
13692
+ acceptBorrowerInvite: (data: AcceptBorrowerInviteRequest, params?: RequestParams) => Promise<AxiosResponse<AcceptedBorrowerInvite, any, {}>>;
13059
13693
  /**
13060
13694
  * No description
13061
13695
  *
@@ -13486,3 +14120,4 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13486
14120
  logoutList: (params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
13487
14121
  };
13488
14122
  }
14123
+ export {};