@matech/thebigpos-sdk 3.14.0-pr-5571-5943 → 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";
@@ -25,7 +26,6 @@ export type LoanRoleTaskSource = "Rule" | "Manual";
25
26
  export type LoanRole = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
26
27
  export type LoanRefinancePurpose = "CashOutDebtConsolidation" | "CashOutHomeImprovement" | "CashOutOther" | "NoCashOut" | "LimitedCashOut";
27
28
  export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
28
- export type LoanRealEstatePropertyType = "SingleFamily" | "Condominium" | "Townhouse" | "Cooperative" | "TwoToFourUnitProperty" | "MultifamilyMoreThanFourUnits" | "ManufacturedMobileHome" | "CommercialNonResidential" | "HomeAndBusinessCombined" | "MixedUseResidential" | "Farm" | "Land";
29
29
  export type LoanRealEstateOccupancyType = "PrimaryHome" | "SecondHome" | "InvestmentProperty" | "FHASecondaryResidence";
30
30
  export type LoanRealEstateIntendedUsageType = "PrimaryResidence" | "SecondHome" | "Investment" | "Other";
31
31
  export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
@@ -87,6 +87,15 @@ export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
87
87
  export type CompanyDocumentSourceType = "File" | "FreeText";
88
88
  export type CompanyDocumentIndexStatus = "Uploaded" | "Indexing" | "Indexed" | "Failed";
89
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";
90
99
  export type BulkLoanTaskOperationType = "SetStatus" | "Delete" | "SetDueDate";
91
100
  export type BranchType = "Mortgage" | "RealEstate";
92
101
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
@@ -105,6 +114,7 @@ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy
105
114
  export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
106
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";
107
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>);
108
118
  export interface ASOSettings {
109
119
  enabled: boolean;
110
120
  softPull: boolean;
@@ -423,7 +433,7 @@ export interface AiAuditLog {
423
433
  guardrailCategory?: string | null;
424
434
  rawRequest?: string | null;
425
435
  rawResponse?: string | null;
426
- details: any;
436
+ details?: any | null;
427
437
  /** @format date-time */
428
438
  createdAt: string;
429
439
  }
@@ -895,6 +905,9 @@ export interface AmortizationSchedule {
895
905
  /** @format double */
896
906
  pmi: number;
897
907
  }
908
+ export type AmortizationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
909
+ type: AmortizationWidgetConfigTypeEnum;
910
+ };
898
911
  export interface ApplicationRowData {
899
912
  borrowerEmail?: string | null;
900
913
  borrowerFirstName?: string | null;
@@ -967,7 +980,7 @@ export interface AuditLogEntry {
967
980
  rootEntityType?: string | null;
968
981
  /** @format uuid */
969
982
  rootEntityId?: string | null;
970
- changes: any;
983
+ changes?: any | null;
971
984
  /** @format date-time */
972
985
  createdAt: string;
973
986
  }
@@ -1145,6 +1158,173 @@ export interface BusinessRuleRequest {
1145
1158
  filter: BusinessRuleCondition[];
1146
1159
  applyToAllBorrowerPairs: boolean;
1147
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
+ }
1148
1328
  export interface ChangePasswordRequest {
1149
1329
  oldPassword: string;
1150
1330
  newPassword: string;
@@ -1175,6 +1355,13 @@ export interface ClosedLoansReportRequest {
1175
1355
  /** @format date */
1176
1356
  endDate: string;
1177
1357
  }
1358
+ export type ClosingSoonWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1359
+ /** @format int32 */
1360
+ withinDays: number;
1361
+ /** @format int32 */
1362
+ maxItems: number;
1363
+ type: ClosingSoonWidgetConfigTypeEnum;
1364
+ };
1178
1365
  export interface CommentUserInformation {
1179
1366
  entityId: string;
1180
1367
  entityType: string;
@@ -1770,6 +1957,12 @@ export interface DocumentTemplateVersionUpdateRequest {
1770
1957
  isActive: boolean;
1771
1958
  htmlBody: string;
1772
1959
  }
1960
+ export type DocumentsWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1961
+ /** @format int32 */
1962
+ maxItems: number;
1963
+ onlyOutstanding: boolean;
1964
+ type: DocumentsWidgetConfigTypeEnum;
1965
+ };
1773
1966
  export interface Draft {
1774
1967
  /** @format date-time */
1775
1968
  createdAt: string;
@@ -1819,7 +2012,7 @@ export interface DraftLoanOfficerReassignRequest {
1819
2012
  }
1820
2013
  export interface DraftRequest {
1821
2014
  applicationPayload: any;
1822
- customData: any;
2015
+ customData?: any | null;
1823
2016
  isCoBorrower: boolean;
1824
2017
  }
1825
2018
  export interface EconsentPendingSummary {
@@ -2044,7 +2237,7 @@ export interface EncompassRequestLog {
2044
2237
  httpStatusCode?: number | null;
2045
2238
  /** @format int64 */
2046
2239
  durationMs?: number | null;
2047
- context: any;
2240
+ context?: any | null;
2048
2241
  /** @format date-time */
2049
2242
  createdAt: string;
2050
2243
  }
@@ -2068,6 +2261,9 @@ export interface EncompassWebhookSubscription {
2068
2261
  export interface Error {
2069
2262
  message: string;
2070
2263
  }
2264
+ export type EsignStatusWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2265
+ type: EsignStatusWidgetConfigTypeEnum;
2266
+ };
2071
2267
  export interface FailureBucket {
2072
2268
  /** @format date-time */
2073
2269
  startUtc: string;
@@ -2173,7 +2369,7 @@ export interface FormSubmission {
2173
2369
  subjectPropertyAddressCounty?: string | null;
2174
2370
  subjectPropertyAddressState?: string | null;
2175
2371
  subjectPropertyAddressZip?: string | null;
2176
- data: any;
2372
+ data?: any | null;
2177
2373
  /** @format uuid */
2178
2374
  listingID?: string | null;
2179
2375
  listing?: Listing | null;
@@ -2215,7 +2411,7 @@ export interface FormSubmissionRequest {
2215
2411
  subjectPropertyAddressCounty?: string | null;
2216
2412
  subjectPropertyAddressState?: string | null;
2217
2413
  subjectPropertyAddressZip?: string | null;
2218
- data: any;
2414
+ data?: any | null;
2219
2415
  /** @format uuid */
2220
2416
  listingID?: string | null;
2221
2417
  }
@@ -2347,7 +2543,7 @@ export interface GetWorkflowRequest {
2347
2543
  export interface GuidPatchOperation {
2348
2544
  op: string;
2349
2545
  path: string;
2350
- value: any;
2546
+ value?: any | null;
2351
2547
  from?: string | null;
2352
2548
  }
2353
2549
  export interface HttpError {
@@ -2482,6 +2678,15 @@ export interface IncompleteLoanSiteConfiguration {
2482
2678
  id: string;
2483
2679
  name: string;
2484
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
+ };
2485
2690
  export interface IntegrationSettings {
2486
2691
  encompass?: EncompassIntegrationSettings | null;
2487
2692
  }
@@ -2516,6 +2721,16 @@ export interface Invite {
2516
2721
  }
2517
2722
  /** Array of operations to perform */
2518
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
+ };
2519
2734
  export interface LOSIntegration {
2520
2735
  instanceID: string;
2521
2736
  }
@@ -2767,8 +2982,6 @@ export interface LoanBorrower {
2767
2982
  numberOfDependents?: number | null;
2768
2983
  /** @format int32 */
2769
2984
  creditDecisionScore?: number | null;
2770
- /** @format int32 */
2771
- estimatedCreditScore?: number | null;
2772
2985
  isPrimaryBorrower: boolean;
2773
2986
  isFirstTimeHomeBuyer?: boolean | null;
2774
2987
  hasJointAssetsAndLiabilities?: boolean | null;
@@ -3119,12 +3332,6 @@ export interface LoanBorrowerEmploymentPrevious {
3119
3332
  /** @format double */
3120
3333
  grossIncome?: number | null;
3121
3334
  isSelfEmployed?: boolean | null;
3122
- /** @format double */
3123
- bonus?: number | null;
3124
- /** @format double */
3125
- overtime?: number | null;
3126
- /** @format double */
3127
- commission?: number | null;
3128
3335
  address?: AddressV3 | null;
3129
3336
  }
3130
3337
  export interface LoanBorrowerEmploymentPreviousRequest {
@@ -3138,12 +3345,6 @@ export interface LoanBorrowerEmploymentPreviousRequest {
3138
3345
  /** @format double */
3139
3346
  grossIncome?: number | null;
3140
3347
  isSelfEmployed?: boolean | null;
3141
- /** @format double */
3142
- bonus?: number | null;
3143
- /** @format double */
3144
- overtime?: number | null;
3145
- /** @format double */
3146
- commission?: number | null;
3147
3348
  address?: AddressRequest | null;
3148
3349
  }
3149
3350
  export interface LoanBorrowerGift {
@@ -3333,7 +3534,6 @@ export interface LoanBorrowerRealEstateAsset {
3333
3534
  occupancy?: LoanRealEstateOccupancyType | null;
3334
3535
  intendedUsage?: LoanRealEstateIntendedUsageType | null;
3335
3536
  intendedUsageOtherDescription?: string | null;
3336
- propertyType?: LoanRealEstatePropertyType | null;
3337
3537
  /** @format double */
3338
3538
  marketValue?: number | null;
3339
3539
  /** @format double */
@@ -3391,7 +3591,6 @@ export interface LoanBorrowerRealEstateAssetRequest {
3391
3591
  occupancy?: LoanRealEstateOccupancyType | null;
3392
3592
  intendedUsage?: LoanRealEstateIntendedUsageType | null;
3393
3593
  intendedUsageOtherDescription?: string | null;
3394
- propertyType?: LoanRealEstatePropertyType | null;
3395
3594
  /** @format double */
3396
3595
  marketValue?: number | null;
3397
3596
  /** @format double */
@@ -3426,8 +3625,6 @@ export interface LoanBorrowerRequest {
3426
3625
  isFirstTimeHomeBuyer?: boolean | null;
3427
3626
  hasJointAssetsAndLiabilities?: boolean | null;
3428
3627
  dependentAges?: number[] | null;
3429
- /** @format int32 */
3430
- estimatedCreditScore?: number | null;
3431
3628
  demographics?: LoanBorrowerDemographicsRequest | null;
3432
3629
  declarations?: LoanBorrowerDeclarationsRequest | null;
3433
3630
  militaryService?: LoanBorrowerMilitaryServiceRequest | null;
@@ -4030,6 +4227,9 @@ export interface LoanOutstandingItems {
4030
4227
  export interface LoanPatchRequestGuidPatchDocument {
4031
4228
  operations: GuidPatchOperation[];
4032
4229
  }
4230
+ export type LoanProgressWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4231
+ type: LoanProgressWidgetConfigTypeEnum;
4232
+ };
4033
4233
  export interface LoanProperty {
4034
4234
  /** @format uuid */
4035
4235
  id?: string | null;
@@ -4158,7 +4358,7 @@ export interface LoanQueueWithData {
4158
4358
  user: UserPublic;
4159
4359
  loanOfficer: LoanOfficerPublic;
4160
4360
  siteConfiguration: SiteConfigurationReduced;
4161
- data: any;
4361
+ data?: any | null;
4162
4362
  }
4163
4363
  export interface LoanRecommendation {
4164
4364
  /** @format uuid */
@@ -4167,7 +4367,7 @@ export interface LoanRecommendation {
4167
4367
  displayName: string;
4168
4368
  extractedValue: string;
4169
4369
  mintable: boolean;
4170
- currentLoanValue: any;
4370
+ currentLoanValue?: any | null;
4171
4371
  /** @format uuid */
4172
4372
  sourceDocumentId: string;
4173
4373
  sourceDocumentName?: string | null;
@@ -4333,6 +4533,9 @@ export interface LoanTaskStatusSummary {
4333
4533
  /** @format int32 */
4334
4534
  count: number;
4335
4535
  }
4536
+ export type LoanTeamWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4537
+ type: LoanTeamWidgetConfigTypeEnum;
4538
+ };
4336
4539
  export interface LoanUser {
4337
4540
  /** @format uuid */
4338
4541
  id: string;
@@ -4696,7 +4899,7 @@ export interface ModuleParameterValue {
4696
4899
  parameterID: string;
4697
4900
  parameterName: string;
4698
4901
  parameterType: string;
4699
- value: any;
4902
+ value?: any | null;
4700
4903
  isInherited: boolean;
4701
4904
  }
4702
4905
  export interface MonthlyPaymentCalculator {
@@ -4730,6 +4933,16 @@ export interface MonthlyPaymentCalculatorRequest {
4730
4933
  /** @format int32 */
4731
4934
  term: number;
4732
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
+ };
4733
4946
  export interface NoContentResult {
4734
4947
  /** @format int32 */
4735
4948
  statusCode: number;
@@ -4867,6 +5080,11 @@ export interface NotificationTemplateVersionUpdateRequest {
4867
5080
  textBody?: string | null;
4868
5081
  pushNotificationBody?: string | null;
4869
5082
  }
5083
+ export type OpenTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5084
+ /** @format int32 */
5085
+ maxItems: number;
5086
+ type: OpenTasksWidgetConfigTypeEnum;
5087
+ };
4870
5088
  export interface Operation {
4871
5089
  op?: string;
4872
5090
  value?: string | number | boolean | null | object;
@@ -5002,6 +5220,13 @@ export interface PreliminaryCondition {
5002
5220
  rerequestedDate?: string | null;
5003
5221
  rerequestedBy?: CommentUserInformation | null;
5004
5222
  }
5223
+ export interface PreviewSiteConfigurationCanvasRequest {
5224
+ document: CanvasDocument;
5225
+ role?: UserRole | null;
5226
+ }
5227
+ export type PrimaryBorrowerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5228
+ type: PrimaryBorrowerWidgetConfigTypeEnum;
5229
+ };
5005
5230
  export interface ProblemDetails {
5006
5231
  type?: string | null;
5007
5232
  title?: string | null;
@@ -5011,6 +5236,11 @@ export interface ProblemDetails {
5011
5236
  instance?: string | null;
5012
5237
  [key: string]: any;
5013
5238
  }
5239
+ export type RecentLoansWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5240
+ /** @format int32 */
5241
+ maxItems: number;
5242
+ type: RecentLoansWidgetConfigTypeEnum;
5243
+ };
5014
5244
  export interface RefinanceCalculator {
5015
5245
  currentLoan: RefinanceLoan;
5016
5246
  refinanceLoan: RefinanceLoan;
@@ -5118,6 +5348,15 @@ export interface ResetPasswordRequest {
5118
5348
  token: string;
5119
5349
  password: string;
5120
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
+ }
5121
5360
  export interface RunLOCalculation {
5122
5361
  loanID: string;
5123
5362
  loanAmount?: string | null;
@@ -5194,9 +5433,22 @@ export interface SSOTokenRequest {
5194
5433
  email: string;
5195
5434
  redirectUri?: string | null;
5196
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
+ }
5197
5445
  export interface SearchCriteria {
5198
5446
  searchText?: string | null;
5199
5447
  }
5448
+ export type SectionDividerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5449
+ label?: string | null;
5450
+ type: SectionDividerWidgetConfigTypeEnum;
5451
+ };
5200
5452
  export interface SendESignatureReminderRequest {
5201
5453
  /** @format uuid */
5202
5454
  userId: string;
@@ -5625,6 +5877,11 @@ export interface SiteConfigurationByUrl {
5625
5877
  losSettings?: LOSSettings | null;
5626
5878
  workflows: Workflow[];
5627
5879
  }
5880
+ export interface SiteConfigurationCanvases {
5881
+ /** @format uuid */
5882
+ siteConfigurationID: string;
5883
+ surfaces: CanvasSurfaceState[];
5884
+ }
5628
5885
  export interface SiteConfigurationForm {
5629
5886
  /** @format date-time */
5630
5887
  createdAt: string;
@@ -6100,6 +6357,10 @@ export interface TemplateTokenRoot {
6100
6357
  displayName: string;
6101
6358
  fields: TemplateToken[];
6102
6359
  }
6360
+ export type TextBlockWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
6361
+ text: string;
6362
+ type: TextBlockWidgetConfigTypeEnum;
6363
+ };
6103
6364
  export interface Theme {
6104
6365
  logoURL: string;
6105
6366
  primaryColor: string;
@@ -6195,6 +6456,8 @@ export interface UnprocessableEntity {
6195
6456
  export interface UnprocessableEntityError {
6196
6457
  error: string;
6197
6458
  property: string;
6459
+ code?: string | null;
6460
+ params?: Record<string, any> | null;
6198
6461
  }
6199
6462
  export interface UnregisteredBorrower {
6200
6463
  /** @format uuid */
@@ -6854,6 +7117,12 @@ export interface Workflow {
6854
7117
  tileSubtitle: string;
6855
7118
  icon: string;
6856
7119
  }
7120
+ interface BaseCanvasWidgetConfig {
7121
+ type: string;
7122
+ }
7123
+ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7124
+ type: Key;
7125
+ } & Type;
6857
7126
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6858
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";
6859
7128
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
@@ -6862,9 +7131,26 @@ export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Pri
6862
7131
  export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6863
7132
  export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6864
7133
  export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
7134
+ export type AmortizationWidgetConfigTypeEnum = "Amortization";
6865
7135
  export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated" | "Accessed";
6866
7136
  export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6867
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";
6868
7154
  export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
6869
7155
  export type CompanyDocumentIndexStatusEnum = "Uploaded" | "Indexing" | "Indexed" | "Failed";
6870
7156
  export type CompanyDocumentFolderFileSourceTypeEnum = "File" | "FreeText";
@@ -6891,6 +7177,7 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
6891
7177
  export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6892
7178
  export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
6893
7179
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
7180
+ export type DocumentsWidgetConfigTypeEnum = "Documents";
6894
7181
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
6895
7182
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6896
7183
  export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6900,10 +7187,15 @@ export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "
6900
7187
  export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader" | "Read";
6901
7188
  export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
6902
7189
  export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" | "WebDocuments" | "PosfCreatePackage";
7190
+ export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
6903
7191
  export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
6904
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";
6905
7193
  export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
6906
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";
6907
7199
  export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6908
7200
  export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6909
7201
  export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
@@ -6921,11 +7213,13 @@ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6921
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";
6922
7214
  export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6923
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";
6924
7217
  export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6925
7218
  export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6926
7219
  export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
6927
7220
  export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
6928
7221
  export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
7222
+ export type LoanTeamWidgetConfigTypeEnum = "LoanTeam";
6929
7223
  export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6930
7224
  export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
6931
7225
  export type LosIntegrationEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6939,8 +7233,14 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
6939
7233
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
6940
7234
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
6941
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";
6942
7239
  export type PendingInviteStatusEnum = "InvitePending" | "InviteExpired" | "NotInvited";
6943
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";
6944
7244
  export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6945
7245
  export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6946
7246
  export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
@@ -6951,6 +7251,7 @@ export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
6951
7251
  export type SiteTileLocationAudienceRequestLocationEnum = "HomePage" | "Dashboard";
6952
7252
  export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
6953
7253
  export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7254
+ export type TextBlockWidgetConfigTypeEnum = "TextBlock";
6954
7255
  export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6955
7256
  export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6956
7257
  export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
@@ -6962,9 +7263,21 @@ export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "Loan
6962
7263
  export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
6963
7264
  export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
6964
7265
  export type UserTableSettingsTableKeyEnum = "Pipeline";
7266
+ export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7267
+ export type GetCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6965
7268
  export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6966
7269
  /** @default "Realtor" */
6967
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";
6968
7281
  export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6969
7282
  export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6970
7283
  export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
@@ -7012,7 +7325,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
7012
7325
  }
7013
7326
  /**
7014
7327
  * @title The Big POS API
7015
- * @version v3.14.0
7328
+ * @version v3.15.0
7016
7329
  * @termsOfService https://www.thebigpos.com/terms-of-use/
7017
7330
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
7018
7331
  */
@@ -8522,6 +8835,49 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8522
8835
  * @response `200` `BusinessRule` OK
8523
8836
  */
8524
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, {}>>;
8525
8881
  /**
8526
8882
  * @description Returns closed loan counts per account within the specified date range, including POS vs non-POS breakdown and utilization ratios.
8527
8883
  *
@@ -10343,6 +10699,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10343
10699
  * @response `423` `UnprocessableEntity` Locked
10344
10700
  */
10345
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, {}>>;
10346
10717
  /**
10347
10718
  * No description
10348
10719
  *
@@ -12309,6 +12680,104 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12309
12680
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
12310
12681
  applyToChildren?: boolean;
12311
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, {}>>;
12312
12781
  /**
12313
12782
  * No description
12314
12783
  *
@@ -13651,3 +14120,4 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13651
14120
  logoutList: (params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
13652
14121
  };
13653
14122
  }
14123
+ export {};