@matech/thebigpos-sdk 3.13.0-dev-5505 → 3.13.0-pr-5465-5532

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";
@@ -84,6 +85,15 @@ export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
84
85
  export type CompanyDocumentSourceType = "File" | "FreeText";
85
86
  export type CompanyDocumentIndexStatus = "Uploaded" | "Indexing" | "Indexed" | "Failed";
86
87
  export type ClassificationSource = "Textract" | "Llm" | "Manual";
88
+ export type CanvasWidgetType = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
89
+ export type CanvasWidgetScope = "Loan" | "User" | "Any";
90
+ export type CanvasSurface = "Home" | "LoanSummary" | "LoanDetails";
91
+ export type CanvasLabelPosition = "Left" | "Above";
92
+ export type CanvasInformationItemKind = "Field" | "Heading" | "Separator";
93
+ export type CanvasFieldSource = "Standard" | "Custom";
94
+ export type CanvasFieldFormat = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
95
+ export type CanvasFieldDataType = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
96
+ export type CanvasAudience = "Staff" | "Borrower" | "Partner";
87
97
  export type BulkLoanTaskOperationType = "SetStatus" | "Delete" | "SetDueDate";
88
98
  export type BranchType = "Mortgage" | "RealEstate";
89
99
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
@@ -102,6 +112,7 @@ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy
102
112
  export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
103
113
  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
114
  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";
115
+ 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
116
  export interface ASOSettings {
106
117
  enabled: boolean;
107
118
  softPull: boolean;
@@ -882,6 +893,9 @@ export interface AmortizationSchedule {
882
893
  /** @format double */
883
894
  pmi: number;
884
895
  }
896
+ export type AmortizationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
897
+ type: AmortizationWidgetConfigTypeEnum;
898
+ };
885
899
  export interface ApplicationRowData {
886
900
  borrowerEmail?: string | null;
887
901
  borrowerFirstName?: string | null;
@@ -1132,6 +1146,174 @@ export interface BusinessRuleRequest {
1132
1146
  filter: BusinessRuleCondition[];
1133
1147
  applyToAllBorrowerPairs: boolean;
1134
1148
  }
1149
+ export interface CanvasAuthor {
1150
+ /** @format uuid */
1151
+ id: string;
1152
+ firstName: string;
1153
+ lastName: string;
1154
+ email: string;
1155
+ }
1156
+ export interface CanvasBoard {
1157
+ roles: UserRole[];
1158
+ widgetIds: string[];
1159
+ widgets: Record<string, CanvasWidget>;
1160
+ }
1161
+ export interface CanvasBoardView {
1162
+ widgetIds: string[];
1163
+ widgets: Record<string, CanvasWidgetView>;
1164
+ }
1165
+ export interface CanvasDocument {
1166
+ /** @format int32 */
1167
+ schemaVersion: number;
1168
+ board?: CanvasBoard | null;
1169
+ removedInheritedTabs?: string[] | null;
1170
+ tabs?: CanvasTab[] | null;
1171
+ }
1172
+ export interface CanvasFieldCatalog {
1173
+ fields: CanvasFieldDescriptor[];
1174
+ }
1175
+ export interface CanvasFieldDescriptor {
1176
+ source: CanvasFieldDescriptorSourceEnum;
1177
+ key: string;
1178
+ label: string;
1179
+ category: string;
1180
+ categoryKey: string;
1181
+ dataType: CanvasFieldDescriptorDataTypeEnum;
1182
+ format: CanvasFieldDescriptorFormatEnum;
1183
+ encompassFieldId?: string | null;
1184
+ readableRoles: UserRole[];
1185
+ isActive: boolean;
1186
+ rolesWithoutPermissionRows: UserRole[];
1187
+ options: string[];
1188
+ }
1189
+ export interface CanvasFieldRef {
1190
+ source: CanvasFieldRefSourceEnum;
1191
+ key: string;
1192
+ }
1193
+ export interface CanvasFieldValue {
1194
+ dataType: CanvasFieldValueDataTypeEnum;
1195
+ value?: any | null;
1196
+ }
1197
+ export interface CanvasFieldValues {
1198
+ standard: Record<string, CanvasFieldValue>;
1199
+ custom: Record<string, CanvasFieldValue>;
1200
+ }
1201
+ export interface CanvasFieldValuesRequest {
1202
+ standardKeys: string[];
1203
+ customFieldIds: string[];
1204
+ }
1205
+ export interface CanvasFieldView {
1206
+ label: string;
1207
+ dataType: CanvasFieldViewDataTypeEnum;
1208
+ format: CanvasFieldViewFormatEnum;
1209
+ options: string[];
1210
+ }
1211
+ export interface CanvasInformationItem {
1212
+ kind: CanvasInformationItemKindEnum;
1213
+ field?: CanvasFieldRef | null;
1214
+ text?: string | null;
1215
+ label?: string | null;
1216
+ format?: CanvasFieldFormat | null;
1217
+ emphasis: boolean;
1218
+ hideWhenEmpty: boolean;
1219
+ roles: UserRole[];
1220
+ /** @format int32 */
1221
+ column: number;
1222
+ }
1223
+ export interface CanvasSourceSite {
1224
+ /** @format uuid */
1225
+ siteConfigurationID: string;
1226
+ name: string;
1227
+ type: CanvasSourceSiteTypeEnum;
1228
+ }
1229
+ export interface CanvasSurfaceState {
1230
+ surface: CanvasSurfaceStateSurfaceEnum;
1231
+ own?: CanvasDocument | null;
1232
+ /** @format int32 */
1233
+ ownVersion?: number | null;
1234
+ isOwnUnreadable: boolean;
1235
+ /** @format date-time */
1236
+ ownUpdatedAt?: string | null;
1237
+ /** @format uuid */
1238
+ forkedFromSiteConfigurationID?: string | null;
1239
+ /** @format int32 */
1240
+ forkedFromVersion?: number | null;
1241
+ inherited?: CanvasDocument | null;
1242
+ /** @format int32 */
1243
+ inheritedVersion?: number | null;
1244
+ inheritedFrom?: CanvasSourceSite | null;
1245
+ isBehindInherited: boolean;
1246
+ effectiveBoard?: CanvasBoard | null;
1247
+ effectiveTabs?: ResolvedCanvasTab[] | null;
1248
+ removedInheritedTabs?: ResolvedCanvasTab[] | null;
1249
+ }
1250
+ export interface CanvasTab {
1251
+ key: string;
1252
+ /** @format int32 */
1253
+ version: number;
1254
+ title: string;
1255
+ roles: UserRole[];
1256
+ copiedFrom?: CanvasTabOrigin | null;
1257
+ board: CanvasBoard;
1258
+ }
1259
+ export interface CanvasTabOrigin {
1260
+ /** @format uuid */
1261
+ siteConfigurationID: string;
1262
+ tabKey: string;
1263
+ /** @format int32 */
1264
+ version: number;
1265
+ }
1266
+ export interface CanvasTabView {
1267
+ key: string;
1268
+ title: string;
1269
+ board: CanvasBoardView;
1270
+ }
1271
+ export interface CanvasVersion {
1272
+ /** @format int32 */
1273
+ version: number;
1274
+ /** @format date-time */
1275
+ createdAt: string;
1276
+ createdBy?: CanvasAuthor | null;
1277
+ }
1278
+ export interface CanvasView {
1279
+ surface: CanvasViewSurfaceEnum;
1280
+ isConfigured: boolean;
1281
+ board?: CanvasBoardView | null;
1282
+ tabs?: CanvasTabView[] | null;
1283
+ standardFields: Record<string, CanvasFieldView>;
1284
+ customFields: Record<string, CanvasFieldView>;
1285
+ }
1286
+ export interface CanvasWidget {
1287
+ type: CanvasWidgetTypeEnum;
1288
+ /** @format int32 */
1289
+ configVersion: number;
1290
+ title?: string | null;
1291
+ /** @format int32 */
1292
+ width: number;
1293
+ roles: UserRole[];
1294
+ config: InformationWidgetConfig | KpiWidgetConfig | KeyDatesWidgetConfig | LoanProgressWidgetConfig | MonthlyPaymentWidgetConfig | AmortizationWidgetConfig | PrimaryBorrowerWidgetConfig | OpenTasksWidgetConfig | DocumentsWidgetConfig | EsignStatusWidgetConfig | LoanTeamWidgetConfig | TextBlockWidgetConfig | SectionDividerWidgetConfig | MyTasksWidgetConfig | RecentLoansWidgetConfig | ClosingSoonWidgetConfig;
1295
+ }
1296
+ export interface CanvasWidgetTypeDescriptor {
1297
+ type: CanvasWidgetTypeDescriptorTypeEnum;
1298
+ scope: CanvasWidgetTypeDescriptorScopeEnum;
1299
+ surfaces: CanvasSurface[];
1300
+ audiences: CanvasAudience[];
1301
+ allowedRoles: UserRole[];
1302
+ allowedWidths: number[];
1303
+ /** @format int32 */
1304
+ maxPerBoard: number;
1305
+ /** @format int32 */
1306
+ configVersion: number;
1307
+ }
1308
+ export interface CanvasWidgetView {
1309
+ type: CanvasWidgetViewTypeEnum;
1310
+ /** @format int32 */
1311
+ configVersion: number;
1312
+ title?: string | null;
1313
+ /** @format int32 */
1314
+ width: number;
1315
+ config: InformationWidgetConfig | KpiWidgetConfig | KeyDatesWidgetConfig | LoanProgressWidgetConfig | MonthlyPaymentWidgetConfig | AmortizationWidgetConfig | PrimaryBorrowerWidgetConfig | OpenTasksWidgetConfig | DocumentsWidgetConfig | EsignStatusWidgetConfig | LoanTeamWidgetConfig | TextBlockWidgetConfig | SectionDividerWidgetConfig | MyTasksWidgetConfig | RecentLoansWidgetConfig | ClosingSoonWidgetConfig;
1316
+ }
1135
1317
  export interface ChangePasswordRequest {
1136
1318
  oldPassword: string;
1137
1319
  newPassword: string;
@@ -1162,6 +1344,13 @@ export interface ClosedLoansReportRequest {
1162
1344
  /** @format date */
1163
1345
  endDate: string;
1164
1346
  }
1347
+ export type ClosingSoonWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1348
+ /** @format int32 */
1349
+ withinDays: number;
1350
+ /** @format int32 */
1351
+ maxItems: number;
1352
+ type: ClosingSoonWidgetConfigTypeEnum;
1353
+ };
1165
1354
  export interface CommentUserInformation {
1166
1355
  entityId: string;
1167
1356
  entityType: string;
@@ -1753,6 +1942,12 @@ export interface DocumentTemplateVersionUpdateRequest {
1753
1942
  isActive: boolean;
1754
1943
  htmlBody: string;
1755
1944
  }
1945
+ export type DocumentsWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1946
+ /** @format int32 */
1947
+ maxItems: number;
1948
+ onlyOutstanding: boolean;
1949
+ type: DocumentsWidgetConfigTypeEnum;
1950
+ };
1756
1951
  export interface Draft {
1757
1952
  /** @format date-time */
1758
1953
  createdAt: string;
@@ -2052,6 +2247,9 @@ export interface EncompassWebhookSubscription {
2052
2247
  export interface Error {
2053
2248
  message: string;
2054
2249
  }
2250
+ export type EsignStatusWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2251
+ type: EsignStatusWidgetConfigTypeEnum;
2252
+ };
2055
2253
  export interface FailureBucket {
2056
2254
  /** @format date-time */
2057
2255
  startUtc: string;
@@ -2410,6 +2608,15 @@ export interface IncompleteApplicationSummary {
2410
2608
  total: number;
2411
2609
  borrowers: BorrowerIdentity[];
2412
2610
  }
2611
+ export type InformationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2612
+ /** @format int32 */
2613
+ columns: number;
2614
+ labelPosition: InformationWidgetConfigLabelPositionEnum;
2615
+ hideWhenEmpty: boolean;
2616
+ emptyText?: string | null;
2617
+ items: CanvasInformationItem[];
2618
+ type: InformationWidgetConfigTypeEnum;
2619
+ };
2413
2620
  export interface IntegrationSettings {
2414
2621
  encompass?: EncompassIntegrationSettings | null;
2415
2622
  }
@@ -2443,6 +2650,16 @@ export interface Invite {
2443
2650
  }
2444
2651
  /** Array of operations to perform */
2445
2652
  export type JsonPatchDocument = Operation[];
2653
+ export type KeyDatesWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2654
+ dates: string[];
2655
+ type: KeyDatesWidgetConfigTypeEnum;
2656
+ };
2657
+ export type KpiWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2658
+ field: CanvasFieldRef;
2659
+ label?: string | null;
2660
+ format?: CanvasFieldFormat | null;
2661
+ type: KpiWidgetConfigTypeEnum;
2662
+ };
2446
2663
  export interface LOSIntegration {
2447
2664
  instanceID: string;
2448
2665
  }
@@ -3938,6 +4155,9 @@ export interface LoanOutstandingItems {
3938
4155
  export interface LoanPatchRequestGuidPatchDocument {
3939
4156
  operations: GuidPatchOperation[];
3940
4157
  }
4158
+ export type LoanProgressWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4159
+ type: LoanProgressWidgetConfigTypeEnum;
4160
+ };
3941
4161
  export interface LoanProperty {
3942
4162
  /** @format uuid */
3943
4163
  id?: string | null;
@@ -4241,6 +4461,9 @@ export interface LoanTaskStatusSummary {
4241
4461
  /** @format int32 */
4242
4462
  count: number;
4243
4463
  }
4464
+ export type LoanTeamWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4465
+ type: LoanTeamWidgetConfigTypeEnum;
4466
+ };
4244
4467
  export interface LoanUser {
4245
4468
  /** @format uuid */
4246
4469
  id: string;
@@ -4638,6 +4861,16 @@ export interface MonthlyPaymentCalculatorRequest {
4638
4861
  /** @format int32 */
4639
4862
  term: number;
4640
4863
  }
4864
+ export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4865
+ type: MonthlyPaymentWidgetConfigTypeEnum;
4866
+ };
4867
+ export type MyTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4868
+ /** @format int32 */
4869
+ dueWithinDays: number;
4870
+ /** @format int32 */
4871
+ maxItems: number;
4872
+ type: MyTasksWidgetConfigTypeEnum;
4873
+ };
4641
4874
  export interface NoContentResult {
4642
4875
  /** @format int32 */
4643
4876
  statusCode: number;
@@ -4775,6 +5008,11 @@ export interface NotificationTemplateVersionUpdateRequest {
4775
5008
  textBody?: string | null;
4776
5009
  pushNotificationBody?: string | null;
4777
5010
  }
5011
+ export type OpenTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5012
+ /** @format int32 */
5013
+ maxItems: number;
5014
+ type: OpenTasksWidgetConfigTypeEnum;
5015
+ };
4778
5016
  export interface Operation {
4779
5017
  op?: string;
4780
5018
  value?: string | number | boolean | null | object;
@@ -4909,6 +5147,13 @@ export interface PreliminaryCondition {
4909
5147
  rerequestedDate?: string | null;
4910
5148
  rerequestedBy?: CommentUserInformation | null;
4911
5149
  }
5150
+ export interface PreviewSiteConfigurationCanvasRequest {
5151
+ document: CanvasDocument;
5152
+ role?: UserRole | null;
5153
+ }
5154
+ export type PrimaryBorrowerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5155
+ type: PrimaryBorrowerWidgetConfigTypeEnum;
5156
+ };
4912
5157
  export interface ProblemDetails {
4913
5158
  type?: string | null;
4914
5159
  title?: string | null;
@@ -4918,6 +5163,11 @@ export interface ProblemDetails {
4918
5163
  instance?: string | null;
4919
5164
  [key: string]: any;
4920
5165
  }
5166
+ export type RecentLoansWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5167
+ /** @format int32 */
5168
+ maxItems: number;
5169
+ type: RecentLoansWidgetConfigTypeEnum;
5170
+ };
4921
5171
  export interface RefinanceCalculator {
4922
5172
  currentLoan: RefinanceLoan;
4923
5173
  refinanceLoan: RefinanceLoan;
@@ -5025,6 +5275,15 @@ export interface ResetPasswordRequest {
5025
5275
  token: string;
5026
5276
  password: string;
5027
5277
  }
5278
+ export interface ResolvedCanvasTab {
5279
+ tab: CanvasTab;
5280
+ source: CanvasSourceSite;
5281
+ isInherited: boolean;
5282
+ }
5283
+ export interface RestoreSiteConfigurationCanvasVersionRequest {
5284
+ /** @format int32 */
5285
+ expectedVersion: number;
5286
+ }
5028
5287
  export interface RunLOCalculation {
5029
5288
  loanID: string;
5030
5289
  loanAmount?: string | null;
@@ -5101,9 +5360,22 @@ export interface SSOTokenRequest {
5101
5360
  email: string;
5102
5361
  redirectUri?: string | null;
5103
5362
  }
5363
+ export interface SaveSiteConfigurationCanvasRequest {
5364
+ document: CanvasDocument;
5365
+ /** @format int32 */
5366
+ expectedVersion?: number | null;
5367
+ /** @format uuid */
5368
+ forkedFromSiteConfigurationID?: string | null;
5369
+ /** @format int32 */
5370
+ forkedFromVersion?: number | null;
5371
+ }
5104
5372
  export interface SearchCriteria {
5105
5373
  searchText?: string | null;
5106
5374
  }
5375
+ export type SectionDividerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5376
+ label?: string | null;
5377
+ type: SectionDividerWidgetConfigTypeEnum;
5378
+ };
5107
5379
  export interface SendESignatureReminderRequest {
5108
5380
  /** @format uuid */
5109
5381
  userId: string;
@@ -5532,6 +5804,11 @@ export interface SiteConfigurationByUrl {
5532
5804
  losSettings?: LOSSettings | null;
5533
5805
  workflows: Workflow[];
5534
5806
  }
5807
+ export interface SiteConfigurationCanvases {
5808
+ /** @format uuid */
5809
+ siteConfigurationID: string;
5810
+ surfaces: CanvasSurfaceState[];
5811
+ }
5535
5812
  export interface SiteConfigurationForm {
5536
5813
  /** @format date-time */
5537
5814
  createdAt: string;
@@ -6007,6 +6284,10 @@ export interface TemplateTokenRoot {
6007
6284
  displayName: string;
6008
6285
  fields: TemplateToken[];
6009
6286
  }
6287
+ export type TextBlockWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
6288
+ text: string;
6289
+ type: TextBlockWidgetConfigTypeEnum;
6290
+ };
6010
6291
  export interface Theme {
6011
6292
  logoURL: string;
6012
6293
  primaryColor: string;
@@ -6102,6 +6383,8 @@ export interface UnprocessableEntity {
6102
6383
  export interface UnprocessableEntityError {
6103
6384
  error: string;
6104
6385
  property: string;
6386
+ code?: string | null;
6387
+ params?: Record<string, any> | null;
6105
6388
  }
6106
6389
  export interface UnregisteredBorrower {
6107
6390
  /** @format uuid */
@@ -6761,6 +7044,12 @@ export interface Workflow {
6761
7044
  tileSubtitle: string;
6762
7045
  icon: string;
6763
7046
  }
7047
+ interface BaseCanvasWidgetConfig {
7048
+ type: string;
7049
+ }
7050
+ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7051
+ type: Key;
7052
+ } & Type;
6764
7053
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6765
7054
  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";
6766
7055
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
@@ -6769,9 +7058,26 @@ export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Pri
6769
7058
  export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6770
7059
  export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6771
7060
  export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
7061
+ export type AmortizationWidgetConfigTypeEnum = "Amortization";
6772
7062
  export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated" | "Accessed";
6773
7063
  export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6774
7064
  export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7065
+ export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
7066
+ export type CanvasFieldDescriptorDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7067
+ export type CanvasFieldDescriptorFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
7068
+ export type CanvasFieldRefSourceEnum = "Standard" | "Custom";
7069
+ export type CanvasFieldValueDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7070
+ export type CanvasFieldViewDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7071
+ export type CanvasFieldViewFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
7072
+ export type CanvasInformationItemKindEnum = "Field" | "Heading" | "Separator";
7073
+ export type CanvasSourceSiteTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7074
+ export type CanvasSurfaceStateSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7075
+ export type CanvasViewSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7076
+ export type CanvasWidgetTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7077
+ export type CanvasWidgetTypeDescriptorTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7078
+ export type CanvasWidgetTypeDescriptorScopeEnum = "Loan" | "User" | "Any";
7079
+ export type CanvasWidgetViewTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7080
+ export type ClosingSoonWidgetConfigTypeEnum = "ClosingSoon";
6775
7081
  export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
6776
7082
  export type CompanyDocumentIndexStatusEnum = "Uploaded" | "Indexing" | "Indexed" | "Failed";
6777
7083
  export type CompanyDocumentFolderFileSourceTypeEnum = "File" | "FreeText";
@@ -6797,6 +7103,7 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
6797
7103
  export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6798
7104
  export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
6799
7105
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
7106
+ export type DocumentsWidgetConfigTypeEnum = "Documents";
6800
7107
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
6801
7108
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6802
7109
  export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6806,8 +7113,13 @@ export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "
6806
7113
  export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader" | "Read";
6807
7114
  export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
6808
7115
  export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" | "WebDocuments" | "PosfCreatePackage";
7116
+ export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
6809
7117
  export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
6810
7118
  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";
7119
+ export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
7120
+ export type InformationWidgetConfigTypeEnum = "Information";
7121
+ export type KeyDatesWidgetConfigTypeEnum = "KeyDates";
7122
+ export type KpiWidgetConfigTypeEnum = "Kpi";
6811
7123
  export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6812
7124
  export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6813
7125
  export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
@@ -6825,11 +7137,13 @@ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6825
7137
  export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
6826
7138
  export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6827
7139
  export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
7140
+ export type LoanProgressWidgetConfigTypeEnum = "LoanProgress";
6828
7141
  export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6829
7142
  export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6830
7143
  export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
6831
7144
  export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
6832
7145
  export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
7146
+ export type LoanTeamWidgetConfigTypeEnum = "LoanTeam";
6833
7147
  export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6834
7148
  export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
6835
7149
  export type LosIntegrationEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6843,8 +7157,14 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
6843
7157
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
6844
7158
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
6845
7159
  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";
7160
+ export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
7161
+ export type MyTasksWidgetConfigTypeEnum = "MyTasks";
7162
+ export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
6846
7163
  export type PendingInviteStatusEnum = "InvitePending" | "InviteExpired" | "NotInvited";
6847
7164
  export type PendingInviteRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7165
+ export type PrimaryBorrowerWidgetConfigTypeEnum = "PrimaryBorrower";
7166
+ export type RecentLoansWidgetConfigTypeEnum = "RecentLoans";
7167
+ export type SectionDividerWidgetConfigTypeEnum = "SectionDivider";
6848
7168
  export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6849
7169
  export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6850
7170
  export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
@@ -6855,6 +7175,7 @@ export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
6855
7175
  export type SiteTileLocationAudienceRequestLocationEnum = "HomePage" | "Dashboard";
6856
7176
  export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
6857
7177
  export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7178
+ export type TextBlockWidgetConfigTypeEnum = "TextBlock";
6858
7179
  export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6859
7180
  export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6860
7181
  export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
@@ -6866,9 +7187,21 @@ export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "Loan
6866
7187
  export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
6867
7188
  export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
6868
7189
  export type UserTableSettingsTableKeyEnum = "Pipeline";
7190
+ export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7191
+ export type GetCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6869
7192
  export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6870
7193
  /** @default "Realtor" */
6871
7194
  export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7195
+ export type SaveSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7196
+ export type SaveSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7197
+ export type DeleteSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7198
+ export type DeleteSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7199
+ export type PreviewSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7200
+ export type PreviewSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7201
+ export type GetSiteConfigurationCanvasVersionsParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7202
+ export type GetSiteConfigurationCanvasVersionsParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7203
+ export type RestoreSiteConfigurationCanvasVersionParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7204
+ export type RestoreSiteConfigurationCanvasVersionParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6872
7205
  export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6873
7206
  export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6874
7207
  export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
@@ -8426,6 +8759,49 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8426
8759
  * @response `200` `BusinessRule` OK
8427
8760
  */
8428
8761
  restoreBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any, {}>>;
8762
+ /**
8763
+ * No description
8764
+ *
8765
+ * @tags Canvases
8766
+ * @name GetCanvas
8767
+ * @summary Get a site's canvas for one surface, as the signed-in user sees it
8768
+ * @request GET:/api/canvases/{surface}
8769
+ * @secure
8770
+ * @response `200` `CanvasView` OK
8771
+ * @response `400` `ProblemDetails` Bad Request
8772
+ * @response `404` `ProblemDetails` Not Found
8773
+ * @response `422` `ProblemDetails` Unprocessable Content
8774
+ */
8775
+ getCanvas: (surface: GetCanvasParamsEnum, query: {
8776
+ /** @format uuid */
8777
+ siteConfigurationId: string;
8778
+ }, params?: RequestParams) => Promise<AxiosResponse<CanvasView, any, {}>>;
8779
+ /**
8780
+ * @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.
8781
+ *
8782
+ * @tags CanvasFields
8783
+ * @name GetCanvasFields
8784
+ * @summary Get the fields a canvas can show
8785
+ * @request GET:/api/canvas/fields
8786
+ * @secure
8787
+ * @response `200` `CanvasFieldCatalog` OK
8788
+ * @response `403` `ProblemDetails` Forbidden
8789
+ * @response `404` `ProblemDetails` Not Found
8790
+ */
8791
+ getCanvasFields: (params?: RequestParams) => Promise<AxiosResponse<CanvasFieldCatalog, any, {}>>;
8792
+ /**
8793
+ * No description
8794
+ *
8795
+ * @tags CanvasWidgetTypes
8796
+ * @name GetCanvasWidgetTypes
8797
+ * @summary Get canvas widget types
8798
+ * @request GET:/api/canvas/widget-types
8799
+ * @secure
8800
+ * @response `200` `(CanvasWidgetTypeDescriptor)[]` OK
8801
+ * @response `403` `ProblemDetails` Forbidden
8802
+ * @response `404` `ProblemDetails` Not Found
8803
+ */
8804
+ getCanvasWidgetTypes: (params?: RequestParams) => Promise<AxiosResponse<CanvasWidgetTypeDescriptor[], any, {}>>;
8429
8805
  /**
8430
8806
  * @description Returns closed loan counts per account within the specified date range, including POS vs non-POS breakdown and utilization ratios.
8431
8807
  *
@@ -10196,6 +10572,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10196
10572
  * @response `423` `UnprocessableEntity` Locked
10197
10573
  */
10198
10574
  runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculation, any, {}>>;
10575
+ /**
10576
+ * No description
10577
+ *
10578
+ * @tags LoanCanvasFieldValues
10579
+ * @name GetLoanCanvasFieldValues
10580
+ * @summary Get a loan's values for canvas fields
10581
+ * @request POST:/api/loans/{loanId}/canvas/field-values
10582
+ * @secure
10583
+ * @response `200` `CanvasFieldValues` OK
10584
+ * @response `400` `ProblemDetails` Bad Request
10585
+ * @response `403` `ProblemDetails` Forbidden
10586
+ * @response `404` `ProblemDetails` Not Found
10587
+ * @response `422` `ProblemDetails` Unprocessable Content
10588
+ */
10589
+ getLoanCanvasFieldValues: (loanId: string, data: CanvasFieldValuesRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasFieldValues, any, {}>>;
10199
10590
  /**
10200
10591
  * No description
10201
10592
  *
@@ -12160,6 +12551,104 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12160
12551
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
12161
12552
  applyToChildren?: boolean;
12162
12553
  }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any, {}>>;
12554
+ /**
12555
+ * No description
12556
+ *
12557
+ * @tags SiteConfigurationCanvases
12558
+ * @name GetSiteConfigurationCanvases
12559
+ * @summary Get a site's canvases: own, inherited and effective per surface
12560
+ * @request GET:/api/site-configurations/{siteConfigurationId}/canvases
12561
+ * @secure
12562
+ * @response `200` `SiteConfigurationCanvases` OK
12563
+ * @response `403` `ProblemDetails` Forbidden
12564
+ * @response `404` `ProblemDetails` Not Found
12565
+ */
12566
+ getSiteConfigurationCanvases: (siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationCanvases, any, {}>>;
12567
+ /**
12568
+ * @description The request is the canvas's whole state: leaving out forkedFromSiteConfigurationID and forkedFromVersion clears them, and isBehindInherited with them.
12569
+ *
12570
+ * @tags SiteConfigurationCanvases
12571
+ * @name SaveSiteConfigurationCanvas
12572
+ * @summary Save a site's canvas for one surface
12573
+ * @request PUT:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
12574
+ * @secure
12575
+ * @response `200` `CanvasSurfaceState` OK
12576
+ * @response `400` `ProblemDetails` Bad Request
12577
+ * @response `403` `ProblemDetails` Forbidden
12578
+ * @response `404` `ProblemDetails` Not Found
12579
+ * @response `409` `ProblemDetails` Conflict
12580
+ * @response `422` `ProblemDetails` Unprocessable Content
12581
+ * @response `423` `ProblemDetails` Locked
12582
+ */
12583
+ saveSiteConfigurationCanvas: (siteConfigurationId: string, surface: SaveSiteConfigurationCanvasParamsEnum, data: SaveSiteConfigurationCanvasRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasSurfaceState, any, {}>>;
12584
+ /**
12585
+ * No description
12586
+ *
12587
+ * @tags SiteConfigurationCanvases
12588
+ * @name DeleteSiteConfigurationCanvas
12589
+ * @summary Delete a site's own Home or Loan summary canvas so it inherits again
12590
+ * @request DELETE:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
12591
+ * @secure
12592
+ * @response `204` `void` No Content
12593
+ * @response `400` `ProblemDetails` Bad Request
12594
+ * @response `403` `ProblemDetails` Forbidden
12595
+ * @response `404` `ProblemDetails` Not Found
12596
+ * @response `409` `ProblemDetails` Conflict
12597
+ * @response `422` `ProblemDetails` Unprocessable Content
12598
+ */
12599
+ deleteSiteConfigurationCanvas: (siteConfigurationId: string, surface: DeleteSiteConfigurationCanvasParamsEnum, query: {
12600
+ /**
12601
+ * The canvas Version the caller last read. A delete over a newer save is refused as stale.
12602
+ * @format int32
12603
+ */
12604
+ expectedVersion: number;
12605
+ }, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
12606
+ /**
12607
+ * No description
12608
+ *
12609
+ * @tags SiteConfigurationCanvases
12610
+ * @name PreviewSiteConfigurationCanvas
12611
+ * @summary Preview an unsaved canvas for one surface as a role would see it
12612
+ * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/preview
12613
+ * @secure
12614
+ * @response `200` `CanvasView` OK
12615
+ * @response `400` `ProblemDetails` Bad Request
12616
+ * @response `403` `ProblemDetails` Forbidden
12617
+ * @response `404` `ProblemDetails` Not Found
12618
+ * @response `422` `ProblemDetails` Unprocessable Content
12619
+ */
12620
+ previewSiteConfigurationCanvas: (siteConfigurationId: string, surface: PreviewSiteConfigurationCanvasParamsEnum, data: PreviewSiteConfigurationCanvasRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasView, any, {}>>;
12621
+ /**
12622
+ * No description
12623
+ *
12624
+ * @tags SiteConfigurationCanvases
12625
+ * @name GetSiteConfigurationCanvasVersions
12626
+ * @summary Get the saved versions of a site's layout for a surface, newest first, including those from before a delete
12627
+ * @request GET:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions
12628
+ * @secure
12629
+ * @response `200` `(CanvasVersion)[]` OK
12630
+ * @response `403` `ProblemDetails` Forbidden
12631
+ * @response `404` `ProblemDetails` Not Found
12632
+ * @response `422` `ProblemDetails` Unprocessable Content
12633
+ */
12634
+ getSiteConfigurationCanvasVersions: (siteConfigurationId: string, surface: GetSiteConfigurationCanvasVersionsParamsEnum, params?: RequestParams) => Promise<AxiosResponse<CanvasVersion[], any, {}>>;
12635
+ /**
12636
+ * No description
12637
+ *
12638
+ * @tags SiteConfigurationCanvases
12639
+ * @name RestoreSiteConfigurationCanvasVersion
12640
+ * @summary Restore a saved version of a site's canvas as a new version
12641
+ * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions/{version}/restore
12642
+ * @secure
12643
+ * @response `200` `CanvasSurfaceState` OK
12644
+ * @response `400` `ProblemDetails` Bad Request
12645
+ * @response `403` `ProblemDetails` Forbidden
12646
+ * @response `404` `ProblemDetails` Not Found
12647
+ * @response `409` `ProblemDetails` Conflict
12648
+ * @response `422` `ProblemDetails` Unprocessable Content
12649
+ * @response `423` `ProblemDetails` Locked
12650
+ */
12651
+ restoreSiteConfigurationCanvasVersion: (siteConfigurationId: string, surface: RestoreSiteConfigurationCanvasVersionParamsEnum, version: number, data: RestoreSiteConfigurationCanvasVersionRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasSurfaceState, any, {}>>;
12163
12652
  /**
12164
12653
  * No description
12165
12654
  *
@@ -13487,3 +13976,4 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13487
13976
  logoutList: (params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
13488
13977
  };
13489
13978
  }
13979
+ export {};