@matech/thebigpos-sdk 3.11.0 → 3.12.0-pr-5444-4828

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";
@@ -85,6 +86,15 @@ export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
85
86
  export type CompanyDocumentSourceType = "File" | "FreeText";
86
87
  export type CompanyDocumentIndexStatus = "Uploaded" | "Indexing" | "Indexed" | "Failed";
87
88
  export type ClassificationSource = "Textract" | "Llm" | "Manual";
89
+ export type CanvasWidgetType = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
90
+ export type CanvasWidgetScope = "Loan" | "User" | "Any";
91
+ export type CanvasSurface = "Home" | "LoanSummary" | "LoanDetails";
92
+ export type CanvasLabelPosition = "Left" | "Above";
93
+ export type CanvasInformationItemKind = "Field" | "Heading" | "Separator";
94
+ export type CanvasFieldSource = "Standard" | "Custom";
95
+ export type CanvasFieldFormat = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
96
+ export type CanvasFieldDataType = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
97
+ export type CanvasAudience = "Staff" | "Borrower" | "Partner";
88
98
  export type BulkLoanTaskOperationType = "SetStatus" | "Delete" | "SetDueDate";
89
99
  export type BranchType = "Mortgage" | "RealEstate";
90
100
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
@@ -103,6 +113,7 @@ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy
103
113
  export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
104
114
  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";
105
115
  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";
116
+ 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>);
106
117
  export interface ASOSettings {
107
118
  enabled: boolean;
108
119
  softPull: boolean;
@@ -860,6 +871,9 @@ export interface AmortizationSchedule {
860
871
  /** @format double */
861
872
  pmi: number;
862
873
  }
874
+ export type AmortizationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
875
+ type: AmortizationWidgetConfigTypeEnum;
876
+ };
863
877
  export interface ApplicationRowData {
864
878
  borrowerEmail?: string | null;
865
879
  borrowerFirstName?: string | null;
@@ -1108,6 +1122,173 @@ export interface BusinessRuleRequest {
1108
1122
  filter: BusinessRuleCondition[];
1109
1123
  applyToAllBorrowerPairs: boolean;
1110
1124
  }
1125
+ export interface CanvasAuthor {
1126
+ /** @format uuid */
1127
+ id: string;
1128
+ firstName: string;
1129
+ lastName: string;
1130
+ email: string;
1131
+ }
1132
+ export interface CanvasBoard {
1133
+ roles: UserRole[];
1134
+ widgetIds: string[];
1135
+ widgets: Record<string, CanvasWidget>;
1136
+ }
1137
+ export interface CanvasBoardView {
1138
+ widgetIds: string[];
1139
+ widgets: Record<string, CanvasWidgetView>;
1140
+ }
1141
+ export interface CanvasDocument {
1142
+ /** @format int32 */
1143
+ schemaVersion: number;
1144
+ board?: CanvasBoard | null;
1145
+ removedInheritedTabs?: string[] | null;
1146
+ tabs?: CanvasTab[] | null;
1147
+ }
1148
+ export interface CanvasFieldCatalog {
1149
+ fields: CanvasFieldDescriptor[];
1150
+ }
1151
+ export interface CanvasFieldDescriptor {
1152
+ source: CanvasFieldDescriptorSourceEnum;
1153
+ key: string;
1154
+ label: string;
1155
+ category: string;
1156
+ dataType: CanvasFieldDescriptorDataTypeEnum;
1157
+ format: CanvasFieldDescriptorFormatEnum;
1158
+ encompassFieldId?: string | null;
1159
+ readableRoles: UserRole[];
1160
+ isActive: boolean;
1161
+ rolesWithoutPermissionRows: UserRole[];
1162
+ options: string[];
1163
+ }
1164
+ export interface CanvasFieldRef {
1165
+ source: CanvasFieldRefSourceEnum;
1166
+ key: string;
1167
+ }
1168
+ export interface CanvasFieldValue {
1169
+ dataType: CanvasFieldValueDataTypeEnum;
1170
+ value?: any | null;
1171
+ }
1172
+ export interface CanvasFieldValues {
1173
+ standard: Record<string, CanvasFieldValue>;
1174
+ custom: Record<string, CanvasFieldValue>;
1175
+ }
1176
+ export interface CanvasFieldValuesRequest {
1177
+ standardKeys: string[];
1178
+ customFieldIds: string[];
1179
+ }
1180
+ export interface CanvasFieldView {
1181
+ label: string;
1182
+ dataType: CanvasFieldViewDataTypeEnum;
1183
+ format: CanvasFieldViewFormatEnum;
1184
+ options: string[];
1185
+ }
1186
+ export interface CanvasInformationItem {
1187
+ kind: CanvasInformationItemKindEnum;
1188
+ field?: CanvasFieldRef | null;
1189
+ text?: string | null;
1190
+ label?: string | null;
1191
+ format?: CanvasFieldFormat | null;
1192
+ emphasis: boolean;
1193
+ hideWhenEmpty: boolean;
1194
+ roles: UserRole[];
1195
+ /** @format int32 */
1196
+ column: number;
1197
+ }
1198
+ export interface CanvasSourceSite {
1199
+ /** @format uuid */
1200
+ siteConfigurationID: string;
1201
+ name: string;
1202
+ type: CanvasSourceSiteTypeEnum;
1203
+ }
1204
+ export interface CanvasSurfaceState {
1205
+ surface: CanvasSurfaceStateSurfaceEnum;
1206
+ own?: CanvasDocument | null;
1207
+ /** @format int32 */
1208
+ ownVersion?: number | null;
1209
+ isOwnUnreadable: boolean;
1210
+ /** @format date-time */
1211
+ ownUpdatedAt?: string | null;
1212
+ /** @format uuid */
1213
+ forkedFromSiteConfigurationID?: string | null;
1214
+ /** @format int32 */
1215
+ forkedFromVersion?: number | null;
1216
+ inherited?: CanvasDocument | null;
1217
+ /** @format int32 */
1218
+ inheritedVersion?: number | null;
1219
+ inheritedFrom?: CanvasSourceSite | null;
1220
+ isBehindInherited: boolean;
1221
+ effectiveBoard?: CanvasBoard | null;
1222
+ effectiveTabs?: ResolvedCanvasTab[] | null;
1223
+ removedInheritedTabs?: ResolvedCanvasTab[] | null;
1224
+ }
1225
+ export interface CanvasTab {
1226
+ key: string;
1227
+ /** @format int32 */
1228
+ version: number;
1229
+ title: string;
1230
+ roles: UserRole[];
1231
+ copiedFrom?: CanvasTabOrigin | null;
1232
+ board: CanvasBoard;
1233
+ }
1234
+ export interface CanvasTabOrigin {
1235
+ /** @format uuid */
1236
+ siteConfigurationID: string;
1237
+ tabKey: string;
1238
+ /** @format int32 */
1239
+ version: number;
1240
+ }
1241
+ export interface CanvasTabView {
1242
+ key: string;
1243
+ title: string;
1244
+ board: CanvasBoardView;
1245
+ }
1246
+ export interface CanvasVersion {
1247
+ /** @format int32 */
1248
+ version: number;
1249
+ /** @format date-time */
1250
+ createdAt: string;
1251
+ createdBy?: CanvasAuthor | null;
1252
+ }
1253
+ export interface CanvasView {
1254
+ surface: CanvasViewSurfaceEnum;
1255
+ isConfigured: boolean;
1256
+ board?: CanvasBoardView | null;
1257
+ tabs?: CanvasTabView[] | null;
1258
+ standardFields: Record<string, CanvasFieldView>;
1259
+ customFields: Record<string, CanvasFieldView>;
1260
+ }
1261
+ export interface CanvasWidget {
1262
+ type: CanvasWidgetTypeEnum;
1263
+ /** @format int32 */
1264
+ configVersion: number;
1265
+ title?: string | null;
1266
+ /** @format int32 */
1267
+ width: number;
1268
+ roles: UserRole[];
1269
+ config: InformationWidgetConfig | KpiWidgetConfig | KeyDatesWidgetConfig | LoanProgressWidgetConfig | MonthlyPaymentWidgetConfig | AmortizationWidgetConfig | PrimaryBorrowerWidgetConfig | OpenTasksWidgetConfig | DocumentsWidgetConfig | EsignStatusWidgetConfig | LoanTeamWidgetConfig | TextBlockWidgetConfig | SectionDividerWidgetConfig | MyTasksWidgetConfig | RecentLoansWidgetConfig | ClosingSoonWidgetConfig;
1270
+ }
1271
+ export interface CanvasWidgetTypeDescriptor {
1272
+ type: CanvasWidgetTypeDescriptorTypeEnum;
1273
+ scope: CanvasWidgetTypeDescriptorScopeEnum;
1274
+ surfaces: CanvasSurface[];
1275
+ audiences: CanvasAudience[];
1276
+ allowedRoles: UserRole[];
1277
+ allowedWidths: number[];
1278
+ /** @format int32 */
1279
+ maxPerBoard: number;
1280
+ /** @format int32 */
1281
+ configVersion: number;
1282
+ }
1283
+ export interface CanvasWidgetView {
1284
+ type: CanvasWidgetViewTypeEnum;
1285
+ /** @format int32 */
1286
+ configVersion: number;
1287
+ title?: string | null;
1288
+ /** @format int32 */
1289
+ width: number;
1290
+ config: InformationWidgetConfig | KpiWidgetConfig | KeyDatesWidgetConfig | LoanProgressWidgetConfig | MonthlyPaymentWidgetConfig | AmortizationWidgetConfig | PrimaryBorrowerWidgetConfig | OpenTasksWidgetConfig | DocumentsWidgetConfig | EsignStatusWidgetConfig | LoanTeamWidgetConfig | TextBlockWidgetConfig | SectionDividerWidgetConfig | MyTasksWidgetConfig | RecentLoansWidgetConfig | ClosingSoonWidgetConfig;
1291
+ }
1111
1292
  export interface ChangePasswordRequest {
1112
1293
  oldPassword: string;
1113
1294
  newPassword: string;
@@ -1138,6 +1319,13 @@ export interface ClosedLoansReportRequest {
1138
1319
  /** @format date */
1139
1320
  endDate: string;
1140
1321
  }
1322
+ export type ClosingSoonWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1323
+ /** @format int32 */
1324
+ withinDays: number;
1325
+ /** @format int32 */
1326
+ maxItems: number;
1327
+ type: ClosingSoonWidgetConfigTypeEnum;
1328
+ };
1141
1329
  export interface CommentUserInformation {
1142
1330
  entityId: string;
1143
1331
  entityType: string;
@@ -1792,6 +1980,12 @@ export interface DocumentTemplateVersionUpdateRequest {
1792
1980
  isActive: boolean;
1793
1981
  htmlBody: string;
1794
1982
  }
1983
+ export type DocumentsWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
1984
+ /** @format int32 */
1985
+ maxItems: number;
1986
+ onlyOutstanding: boolean;
1987
+ type: DocumentsWidgetConfigTypeEnum;
1988
+ };
1795
1989
  export interface Draft {
1796
1990
  /** @format date-time */
1797
1991
  createdAt: string;
@@ -2091,6 +2285,9 @@ export interface EncompassWebhookSubscription {
2091
2285
  export interface Error {
2092
2286
  message: string;
2093
2287
  }
2288
+ export type EsignStatusWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2289
+ type: EsignStatusWidgetConfigTypeEnum;
2290
+ };
2094
2291
  export interface FailureBucket {
2095
2292
  /** @format date-time */
2096
2293
  startUtc: string;
@@ -2458,6 +2655,15 @@ export interface IncompleteApplicationSummary {
2458
2655
  total: number;
2459
2656
  borrowers: BorrowerIdentity[];
2460
2657
  }
2658
+ export type InformationWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2659
+ /** @format int32 */
2660
+ columns: number;
2661
+ labelPosition: InformationWidgetConfigLabelPositionEnum;
2662
+ hideWhenEmpty: boolean;
2663
+ emptyText?: string | null;
2664
+ items: CanvasInformationItem[];
2665
+ type: InformationWidgetConfigTypeEnum;
2666
+ };
2461
2667
  export interface IntegrationSettings {
2462
2668
  encompass?: EncompassIntegrationSettings | null;
2463
2669
  }
@@ -2491,6 +2697,16 @@ export interface Invite {
2491
2697
  }
2492
2698
  /** Array of operations to perform */
2493
2699
  export type JsonPatchDocument = Operation[];
2700
+ export type KeyDatesWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2701
+ dates: string[];
2702
+ type: KeyDatesWidgetConfigTypeEnum;
2703
+ };
2704
+ export type KpiWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
2705
+ field: CanvasFieldRef;
2706
+ label?: string | null;
2707
+ format?: CanvasFieldFormat | null;
2708
+ type: KpiWidgetConfigTypeEnum;
2709
+ };
2494
2710
  export interface LOSIntegration {
2495
2711
  instanceID: string;
2496
2712
  }
@@ -3974,6 +4190,9 @@ export interface LoanOutstandingItems {
3974
4190
  export interface LoanPatchRequestGuidPatchDocument {
3975
4191
  operations: GuidPatchOperation[];
3976
4192
  }
4193
+ export type LoanProgressWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4194
+ type: LoanProgressWidgetConfigTypeEnum;
4195
+ };
3977
4196
  export interface LoanProperty {
3978
4197
  /** @format uuid */
3979
4198
  id?: string | null;
@@ -4279,6 +4498,9 @@ export interface LoanTaskStatusSummary {
4279
4498
  /** @format int32 */
4280
4499
  count: number;
4281
4500
  }
4501
+ export type LoanTeamWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4502
+ type: LoanTeamWidgetConfigTypeEnum;
4503
+ };
4282
4504
  export interface LoanUser {
4283
4505
  /** @format uuid */
4284
4506
  id: string;
@@ -4681,6 +4903,16 @@ export interface MonthlyPaymentCalculatorRequest {
4681
4903
  /** @format int32 */
4682
4904
  term: number;
4683
4905
  }
4906
+ export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4907
+ type: MonthlyPaymentWidgetConfigTypeEnum;
4908
+ };
4909
+ export type MyTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
4910
+ /** @format int32 */
4911
+ dueWithinDays: number;
4912
+ /** @format int32 */
4913
+ maxItems: number;
4914
+ type: MyTasksWidgetConfigTypeEnum;
4915
+ };
4684
4916
  export interface NoContentResult {
4685
4917
  /** @format int32 */
4686
4918
  statusCode: number;
@@ -4818,6 +5050,11 @@ export interface NotificationTemplateVersionUpdateRequest {
4818
5050
  textBody?: string | null;
4819
5051
  pushNotificationBody?: string | null;
4820
5052
  }
5053
+ export type OpenTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5054
+ /** @format int32 */
5055
+ maxItems: number;
5056
+ type: OpenTasksWidgetConfigTypeEnum;
5057
+ };
4821
5058
  export interface Operation {
4822
5059
  op?: string;
4823
5060
  value?: string | number | boolean | null | object;
@@ -4952,6 +5189,13 @@ export interface PreliminaryCondition {
4952
5189
  rerequestedDate?: string | null;
4953
5190
  rerequestedBy?: CommentUserInformation | null;
4954
5191
  }
5192
+ export interface PreviewSiteConfigurationCanvasRequest {
5193
+ document: CanvasDocument;
5194
+ role?: UserRole | null;
5195
+ }
5196
+ export type PrimaryBorrowerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5197
+ type: PrimaryBorrowerWidgetConfigTypeEnum;
5198
+ };
4955
5199
  export interface ProblemDetails {
4956
5200
  type?: string | null;
4957
5201
  title?: string | null;
@@ -4961,6 +5205,11 @@ export interface ProblemDetails {
4961
5205
  instance?: string | null;
4962
5206
  [key: string]: any;
4963
5207
  }
5208
+ export type RecentLoansWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5209
+ /** @format int32 */
5210
+ maxItems: number;
5211
+ type: RecentLoansWidgetConfigTypeEnum;
5212
+ };
4964
5213
  export interface RefinanceCalculator {
4965
5214
  currentLoan: RefinanceLoan;
4966
5215
  refinanceLoan: RefinanceLoan;
@@ -5068,6 +5317,15 @@ export interface ResetPasswordRequest {
5068
5317
  token: string;
5069
5318
  password: string;
5070
5319
  }
5320
+ export interface ResolvedCanvasTab {
5321
+ tab: CanvasTab;
5322
+ source: CanvasSourceSite;
5323
+ isInherited: boolean;
5324
+ }
5325
+ export interface RestoreSiteConfigurationCanvasVersionRequest {
5326
+ /** @format int32 */
5327
+ expectedVersion: number;
5328
+ }
5071
5329
  export interface RunLOCalculation {
5072
5330
  loanID: string;
5073
5331
  loanAmount?: string | null;
@@ -5144,9 +5402,22 @@ export interface SSOTokenRequest {
5144
5402
  email: string;
5145
5403
  redirectUri?: string | null;
5146
5404
  }
5405
+ export interface SaveSiteConfigurationCanvasRequest {
5406
+ document: CanvasDocument;
5407
+ /** @format int32 */
5408
+ expectedVersion?: number | null;
5409
+ /** @format uuid */
5410
+ forkedFromSiteConfigurationID?: string | null;
5411
+ /** @format int32 */
5412
+ forkedFromVersion?: number | null;
5413
+ }
5147
5414
  export interface SearchCriteria {
5148
5415
  searchText?: string | null;
5149
5416
  }
5417
+ export type SectionDividerWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5418
+ label?: string | null;
5419
+ type: SectionDividerWidgetConfigTypeEnum;
5420
+ };
5150
5421
  export interface SendESignatureReminderRequest {
5151
5422
  /** @format uuid */
5152
5423
  userId: string;
@@ -5575,6 +5846,11 @@ export interface SiteConfigurationByUrl {
5575
5846
  losSettings?: LOSSettings | null;
5576
5847
  workflows: Workflow[];
5577
5848
  }
5849
+ export interface SiteConfigurationCanvases {
5850
+ /** @format uuid */
5851
+ siteConfigurationID: string;
5852
+ surfaces: CanvasSurfaceState[];
5853
+ }
5578
5854
  export interface SiteConfigurationForm {
5579
5855
  /** @format date-time */
5580
5856
  createdAt: string;
@@ -6048,6 +6324,10 @@ export interface TemplateTokenRoot {
6048
6324
  displayName: string;
6049
6325
  fields: TemplateToken[];
6050
6326
  }
6327
+ export type TextBlockWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
6328
+ text: string;
6329
+ type: TextBlockWidgetConfigTypeEnum;
6330
+ };
6051
6331
  export interface Theme {
6052
6332
  logoURL: string;
6053
6333
  primaryColor: string;
@@ -6802,6 +7082,12 @@ export interface Workflow {
6802
7082
  tileSubtitle: string;
6803
7083
  icon: string;
6804
7084
  }
7085
+ interface BaseCanvasWidgetConfig {
7086
+ type: string;
7087
+ }
7088
+ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7089
+ type: Key;
7090
+ } & Type;
6805
7091
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6806
7092
  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";
6807
7093
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
@@ -6810,9 +7096,26 @@ export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Pri
6810
7096
  export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6811
7097
  export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6812
7098
  export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
7099
+ export type AmortizationWidgetConfigTypeEnum = "Amortization";
6813
7100
  export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated" | "Accessed";
6814
7101
  export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6815
7102
  export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7103
+ export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
7104
+ export type CanvasFieldDescriptorDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7105
+ export type CanvasFieldDescriptorFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
7106
+ export type CanvasFieldRefSourceEnum = "Standard" | "Custom";
7107
+ export type CanvasFieldValueDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7108
+ export type CanvasFieldViewDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7109
+ export type CanvasFieldViewFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
7110
+ export type CanvasInformationItemKindEnum = "Field" | "Heading" | "Separator";
7111
+ export type CanvasSourceSiteTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7112
+ export type CanvasSurfaceStateSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7113
+ export type CanvasViewSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7114
+ export type CanvasWidgetTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7115
+ export type CanvasWidgetTypeDescriptorTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7116
+ export type CanvasWidgetTypeDescriptorScopeEnum = "Loan" | "User" | "Any";
7117
+ export type CanvasWidgetViewTypeEnum = "Information" | "Kpi" | "KeyDates" | "LoanProgress" | "MonthlyPayment" | "Amortization" | "PrimaryBorrower" | "OpenTasks" | "Documents" | "EsignStatus" | "LoanTeam" | "TextBlock" | "SectionDivider" | "MyTasks" | "RecentLoans" | "ClosingSoon";
7118
+ export type ClosingSoonWidgetConfigTypeEnum = "ClosingSoon";
6816
7119
  export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
6817
7120
  export type CompanyDocumentIndexStatusEnum = "Uploaded" | "Indexing" | "Indexed" | "Failed";
6818
7121
  export type CompanyDocumentFolderFileSourceTypeEnum = "File" | "FreeText";
@@ -6838,6 +7141,7 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
6838
7141
  export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
6839
7142
  export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
6840
7143
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
7144
+ export type DocumentsWidgetConfigTypeEnum = "Documents";
6841
7145
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
6842
7146
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6843
7147
  export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6847,9 +7151,14 @@ export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "
6847
7151
  export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader" | "Read";
6848
7152
  export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
6849
7153
  export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" | "WebDocuments" | "PosfCreatePackage";
7154
+ export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
6850
7155
  export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
6851
7156
  export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
6852
7157
  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";
7158
+ export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
7159
+ export type InformationWidgetConfigTypeEnum = "Information";
7160
+ export type KeyDatesWidgetConfigTypeEnum = "KeyDates";
7161
+ export type KpiWidgetConfigTypeEnum = "Kpi";
6853
7162
  export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6854
7163
  export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6855
7164
  export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
@@ -6867,11 +7176,13 @@ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6867
7176
  export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
6868
7177
  export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6869
7178
  export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
7179
+ export type LoanProgressWidgetConfigTypeEnum = "LoanProgress";
6870
7180
  export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6871
7181
  export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6872
7182
  export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
6873
7183
  export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
6874
7184
  export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
7185
+ export type LoanTeamWidgetConfigTypeEnum = "LoanTeam";
6875
7186
  export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6876
7187
  export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
6877
7188
  export type LosIntegrationEncompassEnvironmentEnum = "Production" | "UAT";
@@ -6885,8 +7196,14 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
6885
7196
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
6886
7197
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
6887
7198
  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";
7199
+ export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
7200
+ export type MyTasksWidgetConfigTypeEnum = "MyTasks";
7201
+ export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
6888
7202
  export type PendingInviteStatusEnum = "InvitePending" | "InviteExpired" | "NotInvited";
6889
7203
  export type PendingInviteRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7204
+ export type PrimaryBorrowerWidgetConfigTypeEnum = "PrimaryBorrower";
7205
+ export type RecentLoansWidgetConfigTypeEnum = "RecentLoans";
7206
+ export type SectionDividerWidgetConfigTypeEnum = "SectionDivider";
6890
7207
  export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6891
7208
  export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6892
7209
  export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
@@ -6897,6 +7214,7 @@ export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
6897
7214
  export type SiteTileLocationAudienceRequestLocationEnum = "HomePage" | "Dashboard";
6898
7215
  export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
6899
7216
  export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7217
+ export type TextBlockWidgetConfigTypeEnum = "TextBlock";
6900
7218
  export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6901
7219
  export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6902
7220
  export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
@@ -6908,9 +7226,21 @@ export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "Loan
6908
7226
  export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
6909
7227
  export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
6910
7228
  export type UserTableSettingsTableKeyEnum = "Pipeline";
7229
+ export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7230
+ export type GetCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6911
7231
  export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
6912
7232
  /** @default "Realtor" */
6913
7233
  export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7234
+ export type SaveSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7235
+ export type SaveSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7236
+ export type DeleteSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7237
+ export type DeleteSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7238
+ export type PreviewSiteConfigurationCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7239
+ export type PreviewSiteConfigurationCanvasParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7240
+ export type GetSiteConfigurationCanvasVersionsParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7241
+ export type GetSiteConfigurationCanvasVersionsParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
7242
+ export type RestoreSiteConfigurationCanvasVersionParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
7243
+ export type RestoreSiteConfigurationCanvasVersionParamsEnum = "Home" | "LoanSummary" | "LoanDetails";
6914
7244
  export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6915
7245
  export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
6916
7246
  export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
@@ -6958,7 +7288,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
6958
7288
  }
6959
7289
  /**
6960
7290
  * @title The Big POS API
6961
- * @version v3.11.0
7291
+ * @version v3.12.0
6962
7292
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6963
7293
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6964
7294
  */
@@ -8432,6 +8762,49 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8432
8762
  * @response `200` `BusinessRule` OK
8433
8763
  */
8434
8764
  restoreBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any, {}>>;
8765
+ /**
8766
+ * No description
8767
+ *
8768
+ * @tags Canvases
8769
+ * @name GetCanvas
8770
+ * @summary Get a site's canvas for one surface, as the signed-in user sees it
8771
+ * @request GET:/api/canvases/{surface}
8772
+ * @secure
8773
+ * @response `200` `CanvasView` OK
8774
+ * @response `400` `ProblemDetails` Bad Request
8775
+ * @response `404` `ProblemDetails` Not Found
8776
+ * @response `422` `ProblemDetails` Unprocessable Content
8777
+ */
8778
+ getCanvas: (surface: GetCanvasParamsEnum, query: {
8779
+ /** @format uuid */
8780
+ siteConfigurationId: string;
8781
+ }, params?: RequestParams) => Promise<AxiosResponse<CanvasView, any, {}>>;
8782
+ /**
8783
+ * No description
8784
+ *
8785
+ * @tags CanvasFields
8786
+ * @name GetCanvasFields
8787
+ * @summary Get the fields a canvas can show
8788
+ * @request GET:/api/canvas/fields
8789
+ * @secure
8790
+ * @response `200` `CanvasFieldCatalog` OK
8791
+ * @response `403` `ProblemDetails` Forbidden
8792
+ * @response `404` `ProblemDetails` Not Found
8793
+ */
8794
+ getCanvasFields: (params?: RequestParams) => Promise<AxiosResponse<CanvasFieldCatalog, any, {}>>;
8795
+ /**
8796
+ * No description
8797
+ *
8798
+ * @tags CanvasWidgetTypes
8799
+ * @name GetCanvasWidgetTypes
8800
+ * @summary Get canvas widget types
8801
+ * @request GET:/api/canvas/widget-types
8802
+ * @secure
8803
+ * @response `200` `(CanvasWidgetTypeDescriptor)[]` OK
8804
+ * @response `403` `ProblemDetails` Forbidden
8805
+ * @response `404` `ProblemDetails` Not Found
8806
+ */
8807
+ getCanvasWidgetTypes: (params?: RequestParams) => Promise<AxiosResponse<CanvasWidgetTypeDescriptor[], any, {}>>;
8435
8808
  /**
8436
8809
  * @description Returns closed loan counts per account within the specified date range, including POS vs non-POS breakdown and utilization ratios.
8437
8810
  *
@@ -10277,6 +10650,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10277
10650
  * @response `423` `UnprocessableEntity` Locked
10278
10651
  */
10279
10652
  runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculation, any, {}>>;
10653
+ /**
10654
+ * No description
10655
+ *
10656
+ * @tags LoanCanvasFieldValues
10657
+ * @name GetLoanCanvasFieldValues
10658
+ * @summary Get a loan's values for canvas fields
10659
+ * @request POST:/api/loans/{loanId}/canvas/field-values
10660
+ * @secure
10661
+ * @response `200` `CanvasFieldValues` OK
10662
+ * @response `400` `ProblemDetails` Bad Request
10663
+ * @response `403` `ProblemDetails` Forbidden
10664
+ * @response `404` `ProblemDetails` Not Found
10665
+ * @response `422` `ProblemDetails` Unprocessable Content
10666
+ */
10667
+ getLoanCanvasFieldValues: (loanId: string, data: CanvasFieldValuesRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasFieldValues, any, {}>>;
10280
10668
  /**
10281
10669
  * No description
10282
10670
  *
@@ -12206,6 +12594,98 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12206
12594
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
12207
12595
  applyToChildren?: boolean;
12208
12596
  }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any, {}>>;
12597
+ /**
12598
+ * No description
12599
+ *
12600
+ * @tags SiteConfigurationCanvases
12601
+ * @name GetSiteConfigurationCanvases
12602
+ * @summary Get a site's canvases: own, inherited and effective per surface
12603
+ * @request GET:/api/site-configurations/{siteConfigurationId}/canvases
12604
+ * @secure
12605
+ * @response `200` `SiteConfigurationCanvases` OK
12606
+ * @response `403` `ProblemDetails` Forbidden
12607
+ * @response `404` `ProblemDetails` Not Found
12608
+ */
12609
+ getSiteConfigurationCanvases: (siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationCanvases, any, {}>>;
12610
+ /**
12611
+ * No description
12612
+ *
12613
+ * @tags SiteConfigurationCanvases
12614
+ * @name SaveSiteConfigurationCanvas
12615
+ * @summary Save a site's canvas for one surface
12616
+ * @request PUT:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
12617
+ * @secure
12618
+ * @response `200` `CanvasSurfaceState` OK
12619
+ * @response `400` `ProblemDetails` Bad Request
12620
+ * @response `403` `ProblemDetails` Forbidden
12621
+ * @response `404` `ProblemDetails` Not Found
12622
+ * @response `409` `ProblemDetails` Conflict
12623
+ * @response `422` `ProblemDetails` Unprocessable Content
12624
+ * @response `423` `ProblemDetails` Locked
12625
+ */
12626
+ saveSiteConfigurationCanvas: (siteConfigurationId: string, surface: SaveSiteConfigurationCanvasParamsEnum, data: SaveSiteConfigurationCanvasRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasSurfaceState, any, {}>>;
12627
+ /**
12628
+ * No description
12629
+ *
12630
+ * @tags SiteConfigurationCanvases
12631
+ * @name DeleteSiteConfigurationCanvas
12632
+ * @summary Delete a site's own Home or Loan summary canvas so it inherits again
12633
+ * @request DELETE:/api/site-configurations/{siteConfigurationId}/canvases/{surface}
12634
+ * @secure
12635
+ * @response `204` `void` No Content
12636
+ * @response `400` `ProblemDetails` Bad Request
12637
+ * @response `403` `ProblemDetails` Forbidden
12638
+ * @response `404` `ProblemDetails` Not Found
12639
+ * @response `409` `ProblemDetails` Conflict
12640
+ * @response `422` `ProblemDetails` Unprocessable Content
12641
+ */
12642
+ deleteSiteConfigurationCanvas: (siteConfigurationId: string, surface: DeleteSiteConfigurationCanvasParamsEnum, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
12643
+ /**
12644
+ * No description
12645
+ *
12646
+ * @tags SiteConfigurationCanvases
12647
+ * @name PreviewSiteConfigurationCanvas
12648
+ * @summary Preview an unsaved canvas for one surface as a role would see it
12649
+ * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/preview
12650
+ * @secure
12651
+ * @response `200` `CanvasView` OK
12652
+ * @response `400` `ProblemDetails` Bad Request
12653
+ * @response `403` `ProblemDetails` Forbidden
12654
+ * @response `404` `ProblemDetails` Not Found
12655
+ * @response `422` `ProblemDetails` Unprocessable Content
12656
+ */
12657
+ previewSiteConfigurationCanvas: (siteConfigurationId: string, surface: PreviewSiteConfigurationCanvasParamsEnum, data: PreviewSiteConfigurationCanvasRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasView, any, {}>>;
12658
+ /**
12659
+ * No description
12660
+ *
12661
+ * @tags SiteConfigurationCanvases
12662
+ * @name GetSiteConfigurationCanvasVersions
12663
+ * @summary Get the saved versions of a site's layout for a surface, newest first, including those from before a delete
12664
+ * @request GET:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions
12665
+ * @secure
12666
+ * @response `200` `(CanvasVersion)[]` OK
12667
+ * @response `403` `ProblemDetails` Forbidden
12668
+ * @response `404` `ProblemDetails` Not Found
12669
+ * @response `422` `ProblemDetails` Unprocessable Content
12670
+ */
12671
+ getSiteConfigurationCanvasVersions: (siteConfigurationId: string, surface: GetSiteConfigurationCanvasVersionsParamsEnum, params?: RequestParams) => Promise<AxiosResponse<CanvasVersion[], any, {}>>;
12672
+ /**
12673
+ * No description
12674
+ *
12675
+ * @tags SiteConfigurationCanvases
12676
+ * @name RestoreSiteConfigurationCanvasVersion
12677
+ * @summary Restore a saved version of a site's canvas as a new version
12678
+ * @request POST:/api/site-configurations/{siteConfigurationId}/canvases/{surface}/versions/{version}/restore
12679
+ * @secure
12680
+ * @response `200` `CanvasSurfaceState` OK
12681
+ * @response `400` `ProblemDetails` Bad Request
12682
+ * @response `403` `ProblemDetails` Forbidden
12683
+ * @response `404` `ProblemDetails` Not Found
12684
+ * @response `409` `ProblemDetails` Conflict
12685
+ * @response `422` `ProblemDetails` Unprocessable Content
12686
+ * @response `423` `ProblemDetails` Locked
12687
+ */
12688
+ restoreSiteConfigurationCanvasVersion: (siteConfigurationId: string, surface: RestoreSiteConfigurationCanvasVersionParamsEnum, version: number, data: RestoreSiteConfigurationCanvasVersionRequest, params?: RequestParams) => Promise<AxiosResponse<CanvasSurfaceState, any, {}>>;
12209
12689
  /**
12210
12690
  * No description
12211
12691
  *
@@ -13533,3 +14013,4 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13533
14013
  logoutList: (params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
13534
14014
  };
13535
14015
  }
14016
+ export {};