@matech/thebigpos-sdk 2.48.0-rc3 → 2.48.0-rc4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -450,14 +450,6 @@ export type ConsentSource = "TheBigPOS" | "ConsumerConnect";
450
450
 
451
451
  export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
452
452
 
453
- export type CompanyDocumentSourceType = "File" | "FreeText";
454
-
455
- export type CompanyDocumentIndexStatus =
456
- | "Uploaded"
457
- | "Indexing"
458
- | "Indexed"
459
- | "Failed";
460
-
461
453
  export type ClassificationSource = "Textract" | "Llm" | "Manual";
462
454
 
463
455
  export type BranchType = "Mortgage" | "RealEstate";
@@ -491,8 +483,7 @@ export type AiStructuredDataType =
491
483
  | "Table"
492
484
  | "DocumentAnalysis"
493
485
  | "DocumentList"
494
- | "GeneratedDocument"
495
- | "CitedPassages";
486
+ | "GeneratedDocument";
496
487
 
497
488
  export type AiQueryTemplateName =
498
489
  | "PipelineSummary"
@@ -599,8 +590,7 @@ export type AiAuditEventType =
599
590
  | "AgentToolCallCompleted"
600
591
  | "AgentToolCallFailed"
601
592
  | "AgentLoopLimitReached"
602
- | "RequestCancelled"
603
- | "KnowledgeBaseRetrieved";
593
+ | "RequestCancelled";
604
594
 
605
595
  export type AddressFamily =
606
596
  | "Unspecified"
@@ -689,7 +679,7 @@ export interface AccountBilling {
689
679
  }
690
680
 
691
681
  export interface AccountBillingRequest {
692
- billingType: "ClosedLoan" | "LoanOfficer";
682
+ billingType: AccountBillingRequestBillingTypeEnum;
693
683
  /** @format double */
694
684
  contractedRate: number;
695
685
  }
@@ -744,7 +734,7 @@ export interface Action {
744
734
  comments?: string | null;
745
735
  /** @format uuid */
746
736
  siteConfigurationID: string;
747
- applicationSettings?: any;
737
+ applicationSettings?: any | null;
748
738
  surveysToken?: string | null;
749
739
  }
750
740
 
@@ -983,37 +973,7 @@ export interface AiAuditLog {
983
973
  conversationId?: string | null;
984
974
  /** @format uuid */
985
975
  messageId?: string | null;
986
- eventType:
987
- | "Error"
988
- | "GuardrailBlockedPre"
989
- | "GuardrailPassedPre"
990
- | "IntentClassified"
991
- | "LoanResolvedFromMessage"
992
- | "DocumentNotFound"
993
- | "GuardrailBlockedPost"
994
- | "GuardrailPassedPost"
995
- | "DocumentAnalyzed"
996
- | "DocumentList"
997
- | "DocumentResolutionAmbiguous"
998
- | "ResponseGenerated"
999
- | "ParametersExtracted"
1000
- | "QueryExecuted"
1001
- | "LoanContextNotFound"
1002
- | "LoanContextLoaded"
1003
- | "GuardrailBlockedBedrock"
1004
- | "PromptMatched"
1005
- | "QueryCondensed"
1006
- | "IntentParseFailed"
1007
- | "LoanSearchTermDiscarded"
1008
- | "CanonicalFieldsSelected"
1009
- | "LoanAccessDenied"
1010
- | "AgentModelCall"
1011
- | "AgentToolCallRequested"
1012
- | "AgentToolCallCompleted"
1013
- | "AgentToolCallFailed"
1014
- | "AgentLoopLimitReached"
1015
- | "RequestCancelled"
1016
- | "KnowledgeBaseRetrieved";
976
+ eventType: AiAuditLogEventTypeEnum;
1017
977
  modelId?: string | null;
1018
978
  /** @format int32 */
1019
979
  inputTokens?: number | null;
@@ -1026,7 +986,7 @@ export interface AiAuditLog {
1026
986
  guardrailCategory?: string | null;
1027
987
  rawRequest?: string | null;
1028
988
  rawResponse?: string | null;
1029
- details?: any;
989
+ details?: any | null;
1030
990
  /** @format date-time */
1031
991
  createdAt: string;
1032
992
  }
@@ -1095,18 +1055,7 @@ export interface AiChatMessagePaginated {
1095
1055
  }
1096
1056
 
1097
1057
  export interface AiChatMetadata {
1098
- intent:
1099
- | "Greeting"
1100
- | "Invalid"
1101
- | "Relevant"
1102
- | "LoanSpecific"
1103
- | "DocumentList"
1104
- | "GeneralKnowledge"
1105
- | "Blocked"
1106
- | "Action"
1107
- | "ConversationMeta"
1108
- | "Capabilities"
1109
- | "UsageReport";
1058
+ intent: AiChatMetadataIntentEnum;
1110
1059
  fieldsAccessed: string[];
1111
1060
  /** @format int64 */
1112
1061
  queryTimeMs: number;
@@ -1134,12 +1083,7 @@ export interface AiChatRequest {
1134
1083
  }
1135
1084
 
1136
1085
  export interface AiChatStructuredData {
1137
- type:
1138
- | "Table"
1139
- | "DocumentAnalysis"
1140
- | "DocumentList"
1141
- | "GeneratedDocument"
1142
- | "CitedPassages";
1086
+ type: AiChatStructuredDataTypeEnum;
1143
1087
  displayHint?: AiDisplayHint | null;
1144
1088
  detectedDocumentType?: string | null;
1145
1089
  columns: string[];
@@ -1147,15 +1091,6 @@ export interface AiChatStructuredData {
1147
1091
  /** @format uuid */
1148
1092
  generatedDocumentId?: string | null;
1149
1093
  generatedFileName?: string | null;
1150
- passages?: AiCitedPassage[] | null;
1151
- }
1152
-
1153
- export interface AiCitedPassage {
1154
- folderName: string;
1155
- documentName: string;
1156
- excerpt: string;
1157
- /** @format double */
1158
- score?: number | null;
1159
1094
  }
1160
1095
 
1161
1096
  export interface AiConversationAuditSummary {
@@ -1233,7 +1168,7 @@ export interface AiGuardrail {
1233
1168
  /** @format uuid */
1234
1169
  id: string;
1235
1170
  name: string;
1236
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1171
+ category: AiGuardrailCategoryEnum;
1237
1172
  description?: string | null;
1238
1173
  keywords: string[];
1239
1174
  responseTemplate: string;
@@ -1254,7 +1189,6 @@ export interface AiPrompt {
1254
1189
  description: string;
1255
1190
  documentTypes: string[];
1256
1191
  applicableUrlSourceIds: string[];
1257
- knowledgeBaseFolderIds: string[];
1258
1192
  allowedRoles: string[];
1259
1193
  systemPrompt: string;
1260
1194
  /** @format int32 */
@@ -1370,8 +1304,8 @@ export interface AiUrlSource {
1370
1304
  name: string;
1371
1305
  url: string;
1372
1306
  description?: string | null;
1373
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1374
- scope: "FullDomain" | "SpecificPath";
1307
+ category: AiUrlSourceCategoryEnum;
1308
+ scope: AiUrlSourceScopeEnum;
1375
1309
  isActive: boolean;
1376
1310
  isDefault: boolean;
1377
1311
  hasAccountOverride: boolean;
@@ -1484,21 +1418,14 @@ export interface AuditLogEntry {
1484
1418
  /** @format uuid */
1485
1419
  id: string;
1486
1420
  entityType: string;
1487
- changeType:
1488
- | "Created"
1489
- | "Modified"
1490
- | "SoftDeleted"
1491
- | "HardDeleted"
1492
- | "Restored"
1493
- | "Deactivated"
1494
- | "Reactivated";
1421
+ changeType: AuditLogEntryChangeTypeEnum;
1495
1422
  /** @format uuid */
1496
1423
  entityId: string;
1497
1424
  performedBy?: AuditLogUser | null;
1498
1425
  rootEntityType?: string | null;
1499
1426
  /** @format uuid */
1500
1427
  rootEntityId?: string | null;
1501
- changes?: any;
1428
+ changes?: any | null;
1502
1429
  /** @format date-time */
1503
1430
  createdAt: string;
1504
1431
  }
@@ -1543,20 +1470,7 @@ export interface BorrowerCount {
1543
1470
  firstName: string;
1544
1471
  lastName: string;
1545
1472
  email: string;
1546
- role:
1547
- | "Borrower"
1548
- | "CoBorrower"
1549
- | "NonBorrower"
1550
- | "LoanOfficer"
1551
- | "LoanProcessor"
1552
- | "LoanOfficerAssistant"
1553
- | "SupportingLoanOfficer"
1554
- | "BuyerAgent"
1555
- | "SellerAgent"
1556
- | "TitleInsuranceAgent"
1557
- | "EscrowAgent"
1558
- | "SettlementAgent"
1559
- | "Admin";
1473
+ role: BorrowerCountRoleEnum;
1560
1474
  /** @format int32 */
1561
1475
  count: number;
1562
1476
  }
@@ -1567,20 +1481,7 @@ export interface BorrowerIdentity {
1567
1481
  firstName: string;
1568
1482
  lastName: string;
1569
1483
  email: string;
1570
- role:
1571
- | "Borrower"
1572
- | "CoBorrower"
1573
- | "NonBorrower"
1574
- | "LoanOfficer"
1575
- | "LoanProcessor"
1576
- | "LoanOfficerAssistant"
1577
- | "SupportingLoanOfficer"
1578
- | "BuyerAgent"
1579
- | "SellerAgent"
1580
- | "TitleInsuranceAgent"
1581
- | "EscrowAgent"
1582
- | "SettlementAgent"
1583
- | "Admin";
1484
+ role: BorrowerIdentityRoleEnum;
1584
1485
  }
1585
1486
 
1586
1487
  export interface BorrowersNotUsingPosSummary {
@@ -1759,59 +1660,6 @@ export interface CompanyAddress {
1759
1660
  zip: string;
1760
1661
  }
1761
1662
 
1762
- export interface CompanyDocument {
1763
- /** @format uuid */
1764
- id: string;
1765
- /** @format uuid */
1766
- folderId: string;
1767
- folderName: string;
1768
- name: string;
1769
- sourceType: "File" | "FreeText";
1770
- contentType?: string | null;
1771
- /** @format int64 */
1772
- fileSizeBytes: number;
1773
- inlineContent?: string | null;
1774
- indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1775
- indexError?: string | null;
1776
- /** @format date-time */
1777
- indexedAt?: string | null;
1778
- /** @format uuid */
1779
- uploadedByUserId?: string | null;
1780
- /** @format date-time */
1781
- createdAt: string;
1782
- /** @format date-time */
1783
- updatedAt?: string | null;
1784
- }
1785
-
1786
- export interface CompanyDocumentFolder {
1787
- /** @format uuid */
1788
- id: string;
1789
- name: string;
1790
- description?: string | null;
1791
- isSystemDefault: boolean;
1792
- /** @format int32 */
1793
- documentCount: number;
1794
- /** @format date-time */
1795
- createdAt: string;
1796
- /** @format date-time */
1797
- updatedAt?: string | null;
1798
- }
1799
-
1800
- export interface CompanyDocumentPaginated {
1801
- rows: CompanyDocument[];
1802
- pagination: Pagination;
1803
- /** @format int64 */
1804
- count: number;
1805
- }
1806
-
1807
- export interface CompanyDocumentSearchCriteria {
1808
- searchText?: string | null;
1809
- /** @format uuid */
1810
- folderID?: string | null;
1811
- indexStatuses?: CompanyDocumentIndexStatus[] | null;
1812
- sourceType?: CompanyDocumentSourceType | null;
1813
- }
1814
-
1815
1663
  export interface ConditionComment {
1816
1664
  commentId: string;
1817
1665
  comments: string;
@@ -1895,7 +1743,7 @@ export interface CorporateSearchCriteria {
1895
1743
  }
1896
1744
 
1897
1745
  export interface CreateAccessScopeRequest {
1898
- scopeType: "User" | "Branch";
1746
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1899
1747
  /** @format uuid */
1900
1748
  userId?: string | null;
1901
1749
  /** @format uuid */
@@ -1914,7 +1762,7 @@ export interface CreateAccountRequest {
1914
1762
  /** @format int64 */
1915
1763
  nlmsid: number;
1916
1764
  settings: AccountSettingsRequest;
1917
- environment: "Development" | "Staging" | "UAT" | "Production";
1765
+ environment: CreateAccountRequestEnvironmentEnum;
1918
1766
  losIntegration: LOSIntegration;
1919
1767
  billingSettings: AccountBillingRequest;
1920
1768
  }
@@ -1930,7 +1778,7 @@ export interface CreateAiCanonicalFieldRequest {
1930
1778
 
1931
1779
  export interface CreateAiGuardrailRequest {
1932
1780
  name: string;
1933
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1781
+ category: CreateAiGuardrailRequestCategoryEnum;
1934
1782
  description?: string | null;
1935
1783
  keywords: string[];
1936
1784
  responseTemplate: string;
@@ -1942,7 +1790,6 @@ export interface CreateAiPromptRequest {
1942
1790
  description: string;
1943
1791
  documentTypes: string[];
1944
1792
  applicableUrlSourceIds: string[];
1945
- knowledgeBaseFolderIds: string[];
1946
1793
  allowedRoles: string[];
1947
1794
  systemPrompt: string;
1948
1795
  /** @format int32 */
@@ -1963,8 +1810,8 @@ export interface CreateAiUrlSourceRequest {
1963
1810
  name: string;
1964
1811
  url: string;
1965
1812
  description?: string | null;
1966
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1967
- scope: "FullDomain" | "SpecificPath";
1813
+ category: CreateAiUrlSourceRequestCategoryEnum;
1814
+ scope: CreateAiUrlSourceRequestScopeEnum;
1968
1815
  }
1969
1816
 
1970
1817
  export interface CreateBranchRequest {
@@ -1974,18 +1821,6 @@ export interface CreateBranchRequest {
1974
1821
  type: string;
1975
1822
  }
1976
1823
 
1977
- export interface CreateCompanyDocumentFolderRequest {
1978
- name: string;
1979
- description?: string | null;
1980
- }
1981
-
1982
- export interface CreateCompanyTextDocumentRequest {
1983
- name: string;
1984
- /** @format uuid */
1985
- folderID: string;
1986
- content: string;
1987
- }
1988
-
1989
1824
  export interface CreateCustomFieldDefinitionRequest {
1990
1825
  isRequired: boolean;
1991
1826
  /** @format int32 */
@@ -2001,15 +1836,8 @@ export interface CreateCustomFieldDefinitionRequest {
2001
1836
  name: string;
2002
1837
  defaultValue?: string | null;
2003
1838
  regexPattern?: string | null;
2004
- dataType:
2005
- | "String"
2006
- | "Number"
2007
- | "Decimal"
2008
- | "Boolean"
2009
- | "Date"
2010
- | "SingleSelect"
2011
- | "MultiSelect";
2012
- entityType: "Loan";
1839
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1840
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
2013
1841
  options?: CustomFieldOptionRequest[] | null;
2014
1842
  permissions?: CustomFieldPermissionRequest[] | null;
2015
1843
  }
@@ -2026,20 +1854,7 @@ export interface CreateDocumentTemplateRequest {
2026
1854
  export interface CreateGroupMemberRequest {
2027
1855
  /** @format uuid */
2028
1856
  userId: string;
2029
- loanRole:
2030
- | "Borrower"
2031
- | "CoBorrower"
2032
- | "NonBorrower"
2033
- | "LoanOfficer"
2034
- | "LoanProcessor"
2035
- | "LoanOfficerAssistant"
2036
- | "SupportingLoanOfficer"
2037
- | "BuyerAgent"
2038
- | "SellerAgent"
2039
- | "TitleInsuranceAgent"
2040
- | "EscrowAgent"
2041
- | "SettlementAgent"
2042
- | "Admin";
1857
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
2043
1858
  }
2044
1859
 
2045
1860
  export interface CreateInviteRequest {
@@ -2048,7 +1863,7 @@ export interface CreateInviteRequest {
2048
1863
  emailAddress: string;
2049
1864
  phoneNumber?: string | null;
2050
1865
  /** @deprecated */
2051
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1866
+ relationship: CreateInviteRequestRelationshipEnum;
2052
1867
  loanID: string;
2053
1868
  route?: string | null;
2054
1869
  /** @format uuid */
@@ -2070,7 +1885,7 @@ export interface CreateLoanImportRequest {
2070
1885
  endDate: string;
2071
1886
  /** @format date-time */
2072
1887
  startDate: string;
2073
- importMode: "All" | "NewOnly" | "UpdateOnly";
1888
+ importMode: CreateLoanImportRequestImportModeEnum;
2074
1889
  }
2075
1890
 
2076
1891
  export interface CreateSession {
@@ -2092,20 +1907,7 @@ export interface CreateUserDeviceRequest {
2092
1907
  }
2093
1908
 
2094
1909
  export interface CreateUserDraft {
2095
- loanRole:
2096
- | "Borrower"
2097
- | "CoBorrower"
2098
- | "NonBorrower"
2099
- | "LoanOfficer"
2100
- | "LoanProcessor"
2101
- | "LoanOfficerAssistant"
2102
- | "SupportingLoanOfficer"
2103
- | "BuyerAgent"
2104
- | "SellerAgent"
2105
- | "TitleInsuranceAgent"
2106
- | "EscrowAgent"
2107
- | "SettlementAgent"
2108
- | "Admin";
1910
+ loanRole: CreateUserDraftLoanRoleEnum;
2109
1911
  }
2110
1912
 
2111
1913
  export interface CreateUserGroupRequest {
@@ -2173,15 +1975,8 @@ export interface CustomFieldDefinition {
2173
1975
  name: string;
2174
1976
  defaultValue?: string | null;
2175
1977
  regexPattern?: string | null;
2176
- dataType:
2177
- | "String"
2178
- | "Number"
2179
- | "Decimal"
2180
- | "Boolean"
2181
- | "Date"
2182
- | "SingleSelect"
2183
- | "MultiSelect";
2184
- entityType: "Loan";
1978
+ dataType: CustomFieldDefinitionDataTypeEnum;
1979
+ entityType: CustomFieldDefinitionEntityTypeEnum;
2185
1980
  options: CustomFieldOption[];
2186
1981
  permissions: CustomFieldPermission[];
2187
1982
  encompassMapping?: EncompassMapping | null;
@@ -2196,14 +1991,7 @@ export interface CustomFieldEntry {
2196
1991
  displayOrder: number;
2197
1992
  name: string;
2198
1993
  value: string;
2199
- dataType:
2200
- | "String"
2201
- | "Number"
2202
- | "Decimal"
2203
- | "Boolean"
2204
- | "Date"
2205
- | "SingleSelect"
2206
- | "MultiSelect";
1994
+ dataType: CustomFieldEntryDataTypeEnum;
2207
1995
  }
2208
1996
 
2209
1997
  export interface CustomFieldOption {
@@ -2223,31 +2011,13 @@ export interface CustomFieldOptionRequest {
2223
2011
  export interface CustomFieldPermission {
2224
2012
  /** @format uuid */
2225
2013
  id: string;
2226
- role:
2227
- | "Borrower"
2228
- | "LoanOfficer"
2229
- | "Admin"
2230
- | "SuperAdmin"
2231
- | "Realtor"
2232
- | "SettlementAgent"
2233
- | "LoanProcessor"
2234
- | "LoanOfficerAssistant"
2235
- | "SystemAdmin";
2236
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2014
+ role: CustomFieldPermissionRoleEnum;
2015
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
2237
2016
  }
2238
2017
 
2239
2018
  export interface CustomFieldPermissionRequest {
2240
- role:
2241
- | "Borrower"
2242
- | "LoanOfficer"
2243
- | "Admin"
2244
- | "SuperAdmin"
2245
- | "Realtor"
2246
- | "SettlementAgent"
2247
- | "LoanProcessor"
2248
- | "LoanOfficerAssistant"
2249
- | "SystemAdmin";
2250
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2019
+ role: CustomFieldPermissionRequestRoleEnum;
2020
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2251
2021
  }
2252
2022
 
2253
2023
  export interface CustomFieldValue {
@@ -2259,14 +2029,7 @@ export interface CustomFieldValue {
2259
2029
  customFieldDefinitionID: string;
2260
2030
  value: string;
2261
2031
  definitionName: string;
2262
- dataType:
2263
- | "String"
2264
- | "Number"
2265
- | "Decimal"
2266
- | "Boolean"
2267
- | "Date"
2268
- | "SingleSelect"
2269
- | "MultiSelect";
2032
+ dataType: CustomFieldValueDataTypeEnum;
2270
2033
  }
2271
2034
 
2272
2035
  export interface DetailedUser {
@@ -2510,7 +2273,7 @@ export interface Draft {
2510
2273
  siteConfiguration: SiteConfigurationReduced;
2511
2274
  /** @format uuid */
2512
2275
  loanID?: string | null;
2513
- type: "NewLoan" | "EditLoan";
2276
+ type: DraftTypeEnum;
2514
2277
  isCoBorrower: boolean;
2515
2278
  }
2516
2279
 
@@ -2529,7 +2292,7 @@ export interface DraftContent {
2529
2292
  siteConfiguration: SiteConfigurationReduced;
2530
2293
  /** @format uuid */
2531
2294
  loanID?: string | null;
2532
- type: "NewLoan" | "EditLoan";
2295
+ type: DraftContentTypeEnum;
2533
2296
  isCoBorrower: boolean;
2534
2297
  applicationPayload: any;
2535
2298
  }
@@ -2548,7 +2311,7 @@ export interface DraftLoanOfficerReassignRequest {
2548
2311
 
2549
2312
  export interface DraftRequest {
2550
2313
  applicationPayload: any;
2551
- customData?: any;
2314
+ customData?: any | null;
2552
2315
  isCoBorrower: boolean;
2553
2316
  }
2554
2317
 
@@ -2622,9 +2385,9 @@ export interface EncompassCredentialsDetail {
2622
2385
  clearStateIfUnlicensed: boolean;
2623
2386
  /** @deprecated */
2624
2387
  baseUrl?: string | null;
2625
- encompassEnvironment: "Production" | "UAT";
2388
+ encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2626
2389
  consumerConnectWidgetHost?: string | null;
2627
- signingMethod: "ConsumerConnect" | "POSF";
2390
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2628
2391
  subscriptionId?: string | null;
2629
2392
  environment?: string | null;
2630
2393
  /** @format uuid */
@@ -2641,9 +2404,9 @@ export interface EncompassCredentialsRequest {
2641
2404
  clearStateIfUnlicensed: boolean;
2642
2405
  /** @deprecated */
2643
2406
  baseUrl?: string | null;
2644
- encompassEnvironment: "Production" | "UAT";
2407
+ encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2645
2408
  consumerConnectWidgetHost?: string | null;
2646
- signingMethod: "ConsumerConnect" | "POSF";
2409
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2647
2410
  subscriptionId?: string | null;
2648
2411
  environment?: string | null;
2649
2412
  clientID?: string | null;
@@ -2765,15 +2528,8 @@ export interface EncompassRequestLog {
2765
2528
  losId?: string | null;
2766
2529
  /** @format uuid */
2767
2530
  accountId: string;
2768
- operationType:
2769
- | "FieldUpdate"
2770
- | "ConsentUpdate"
2771
- | "DocumentSync"
2772
- | "MilestoneUpdate"
2773
- | "DocumentAttachment"
2774
- | "General"
2775
- | "FieldReader";
2776
- outcome: "Success" | "Failure" | "PartialSuccess";
2531
+ operationType: EncompassRequestLogOperationTypeEnum;
2532
+ outcome: EncompassRequestLogOutcomeEnum;
2777
2533
  message: string;
2778
2534
  endpoint?: string | null;
2779
2535
  httpMethod?: string | null;
@@ -2781,7 +2537,7 @@ export interface EncompassRequestLog {
2781
2537
  httpStatusCode?: number | null;
2782
2538
  /** @format int64 */
2783
2539
  durationMs?: number | null;
2784
- context?: any;
2540
+ context?: any | null;
2785
2541
  /** @format date-time */
2786
2542
  createdAt: string;
2787
2543
  }
@@ -2834,7 +2590,7 @@ export interface FileSearchCriteria {
2834
2590
  export interface FileWithBytes {
2835
2591
  name: string;
2836
2592
  /** @format byte */
2837
- data: string;
2593
+ data: Blob;
2838
2594
  fileName: string;
2839
2595
  mimeType?: string | null;
2840
2596
  extension?: string | null;
@@ -2913,7 +2669,7 @@ export interface FormSubmission {
2913
2669
  subjectPropertyAddressCounty?: string | null;
2914
2670
  subjectPropertyAddressState?: string | null;
2915
2671
  subjectPropertyAddressZip?: string | null;
2916
- data?: any;
2672
+ data?: any | null;
2917
2673
  /** @format uuid */
2918
2674
  listingID?: string | null;
2919
2675
  listing?: Listing | null;
@@ -2951,7 +2707,7 @@ export interface FormSubmissionRequest {
2951
2707
  subjectPropertyAddressCounty?: string | null;
2952
2708
  subjectPropertyAddressState?: string | null;
2953
2709
  subjectPropertyAddressZip?: string | null;
2954
- data?: any;
2710
+ data?: any | null;
2955
2711
  /** @format uuid */
2956
2712
  listingID?: string | null;
2957
2713
  }
@@ -3006,20 +2762,7 @@ export interface FusionFieldDisplay {
3006
2762
  }
3007
2763
 
3008
2764
  export interface FusionReportFilter {
3009
- filterType:
3010
- | "DateGreaterThanOrEqualTo"
3011
- | "DateGreaterThan"
3012
- | "DateLessThan"
3013
- | "DateLessThanOrEqualTo"
3014
- | "DateEquals"
3015
- | "DateDoesntEqual"
3016
- | "DateNonEmpty"
3017
- | "DateEmpty"
3018
- | "StringContains"
3019
- | "StringEquals"
3020
- | "StringNotEmpty"
3021
- | "StringNotEquals"
3022
- | "StringNotContains";
2765
+ filterType: FusionReportFilterFilterTypeEnum;
3023
2766
  targetField: string;
3024
2767
  targetValue: string;
3025
2768
  }
@@ -3042,7 +2785,7 @@ export interface GenerateSystemPrompt {
3042
2785
 
3043
2786
  export interface GenerateSystemPromptRequest {
3044
2787
  description: string;
3045
- category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2788
+ category: GenerateSystemPromptRequestCategoryEnum;
3046
2789
  }
3047
2790
 
3048
2791
  export interface GetApplications {
@@ -3138,45 +2881,12 @@ export interface GetWorkflowRequest {
3138
2881
  export interface GuidPatchOperation {
3139
2882
  op: string;
3140
2883
  path: string;
3141
- value?: any;
2884
+ value?: any | null;
3142
2885
  from?: string | null;
3143
2886
  }
3144
2887
 
3145
2888
  export interface IPAddress {
3146
- addressFamily:
3147
- | "Unspecified"
3148
- | "Unix"
3149
- | "InterNetwork"
3150
- | "ImpLink"
3151
- | "Pup"
3152
- | "Chaos"
3153
- | "NS"
3154
- | "Ipx"
3155
- | "Iso"
3156
- | "Osi"
3157
- | "Ecma"
3158
- | "DataKit"
3159
- | "Ccitt"
3160
- | "Sna"
3161
- | "DecNet"
3162
- | "DataLink"
3163
- | "Lat"
3164
- | "HyperChannel"
3165
- | "AppleTalk"
3166
- | "NetBios"
3167
- | "VoiceView"
3168
- | "FireFox"
3169
- | "Banyan"
3170
- | "Atm"
3171
- | "InterNetworkV6"
3172
- | "Cluster"
3173
- | "Ieee12844"
3174
- | "Irda"
3175
- | "NetworkDesigners"
3176
- | "Max"
3177
- | "Packet"
3178
- | "ControllerAreaNetwork"
3179
- | "Unknown";
2889
+ addressFamily: IpAddressAddressFamilyEnum;
3180
2890
  /** @format int64 */
3181
2891
  scopeId: number;
3182
2892
  isIPv6Multicast: boolean;
@@ -3440,7 +3150,7 @@ export interface Loan {
3440
3150
  contacts: LoanContact[];
3441
3151
  customFields: CustomFieldEntry[];
3442
3152
  milestones: LoanMilestone[];
3443
- signingMethod: "ConsumerConnect" | "POSF";
3153
+ signingMethod: LoanSigningMethodEnum;
3444
3154
  }
3445
3155
 
3446
3156
  export interface LoanApplication {
@@ -3480,7 +3190,7 @@ export interface LoanApplicationRequest {
3480
3190
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3481
3191
  /** @format uuid */
3482
3192
  draftId?: string | null;
3483
- additionalFields?: Record<string, any>;
3193
+ additionalFields?: Record<string, any> | null;
3484
3194
  /** @format uuid */
3485
3195
  existingLoanId?: string | null;
3486
3196
  }
@@ -3500,7 +3210,7 @@ export interface LoanBorrower {
3500
3210
  citizenship?: LoanCitizenship | null;
3501
3211
  maritalStatus?: LoanMaritalStatus | null;
3502
3212
  languagePreference?: LoanLanguagePreference | null;
3503
- applicationStatus: "Draft" | "Complete";
3213
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
3504
3214
  /** @format int32 */
3505
3215
  numberOfDependents?: number | null;
3506
3216
  /** @format int32 */
@@ -4293,7 +4003,7 @@ export interface LoanConsentRequest {
4293
4003
  borrowerEConsent?: boolean | null;
4294
4004
  borrowerCreditAuth?: boolean | null;
4295
4005
  borrowerTCPAOptIn?: boolean | null;
4296
- additionalFields?: Record<string, string>;
4006
+ additionalFields?: Record<string, string> | null;
4297
4007
  }
4298
4008
 
4299
4009
  export interface LoanContact {
@@ -4312,20 +4022,7 @@ export interface LoanContact {
4312
4022
  email?: string | null;
4313
4023
  phone?: string | null;
4314
4024
  companyName?: string | null;
4315
- role:
4316
- | "Borrower"
4317
- | "CoBorrower"
4318
- | "NonBorrower"
4319
- | "LoanOfficer"
4320
- | "LoanProcessor"
4321
- | "LoanOfficerAssistant"
4322
- | "SupportingLoanOfficer"
4323
- | "BuyerAgent"
4324
- | "SellerAgent"
4325
- | "TitleInsuranceAgent"
4326
- | "EscrowAgent"
4327
- | "SettlementAgent"
4328
- | "Admin";
4025
+ role: LoanContactRoleEnum;
4329
4026
  }
4330
4027
 
4331
4028
  export interface LoanContactList {
@@ -4350,7 +4047,7 @@ export interface LoanCostDetails {
4350
4047
  }
4351
4048
 
4352
4049
  export interface LoanCustomFieldsRequest {
4353
- additionalFields?: Record<string, string>;
4050
+ additionalFields?: Record<string, string> | null;
4354
4051
  }
4355
4052
 
4356
4053
  export interface LoanDocument {
@@ -4403,39 +4100,13 @@ export interface LoanDocumentFolderPermission {
4403
4100
  id: string;
4404
4101
  /** @format uuid */
4405
4102
  loanDocumentFolderID: string;
4406
- role:
4407
- | "Borrower"
4408
- | "CoBorrower"
4409
- | "NonBorrower"
4410
- | "LoanOfficer"
4411
- | "LoanProcessor"
4412
- | "LoanOfficerAssistant"
4413
- | "SupportingLoanOfficer"
4414
- | "BuyerAgent"
4415
- | "SellerAgent"
4416
- | "TitleInsuranceAgent"
4417
- | "EscrowAgent"
4418
- | "SettlementAgent"
4419
- | "Admin";
4420
- level: "None" | "Read" | "Write" | "Manage";
4103
+ role: LoanDocumentFolderPermissionRoleEnum;
4104
+ level: LoanDocumentFolderPermissionLevelEnum;
4421
4105
  }
4422
4106
 
4423
4107
  export interface LoanDocumentFolderPermissionRequest {
4424
- role:
4425
- | "Borrower"
4426
- | "CoBorrower"
4427
- | "NonBorrower"
4428
- | "LoanOfficer"
4429
- | "LoanProcessor"
4430
- | "LoanOfficerAssistant"
4431
- | "SupportingLoanOfficer"
4432
- | "BuyerAgent"
4433
- | "SellerAgent"
4434
- | "TitleInsuranceAgent"
4435
- | "EscrowAgent"
4436
- | "SettlementAgent"
4437
- | "Admin";
4438
- level: "None" | "Read" | "Write" | "Manage";
4108
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
4109
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
4439
4110
  }
4440
4111
 
4441
4112
  export interface LoanDocumentFolderUsage {
@@ -4581,19 +4252,14 @@ export interface LoanImport {
4581
4252
  /** @format int32 */
4582
4253
  importedCount: number;
4583
4254
  statusMessage?: string | null;
4584
- status:
4585
- | "WaitingProcess"
4586
- | "InProgress"
4587
- | "Completed"
4588
- | "Failed"
4589
- | "Cancelled";
4590
- importMode: "All" | "NewOnly" | "UpdateOnly";
4255
+ status: LoanImportStatusEnum;
4256
+ importMode: LoanImportImportModeEnum;
4591
4257
  /** @format date-time */
4592
4258
  createdAt?: string | null;
4593
4259
  }
4594
4260
 
4595
4261
  export interface LoanImportLog {
4596
- level: "None" | "Info" | "Warning" | "Error";
4262
+ level: LoanImportLogLevelEnum;
4597
4263
  message: string;
4598
4264
  /** @format date-time */
4599
4265
  createdAt: string;
@@ -4654,26 +4320,8 @@ export interface LoanListPaginated {
4654
4320
  export interface LoanLog {
4655
4321
  /** @format uuid */
4656
4322
  id: string;
4657
- level: "None" | "Info" | "Warning" | "Error";
4658
- type:
4659
- | "Loan"
4660
- | "Queue"
4661
- | "POSFlagChanged"
4662
- | "Verification"
4663
- | "DocumentUploaded"
4664
- | "LoanCreated"
4665
- | "WorkflowSubmitted"
4666
- | "UserInvitationSent"
4667
- | "CoBorrowerAdded"
4668
- | "TaskCompleted"
4669
- | "LoanStatusChanged"
4670
- | "Consent"
4671
- | "SensitiveDataPurge"
4672
- | "ClosingDateUpdated"
4673
- | "ConsumerConnectAssociation"
4674
- | "TaskReminderSent"
4675
- | "DocumentClassified"
4676
- | "CoBorrowerEmailAutoFixed";
4323
+ level: LoanLogLevelEnum;
4324
+ type: LoanLogTypeEnum;
4677
4325
  message: string;
4678
4326
  /** @format date-time */
4679
4327
  createdAt: string;
@@ -4682,26 +4330,8 @@ export interface LoanLog {
4682
4330
  export interface LoanLogDetail {
4683
4331
  /** @format uuid */
4684
4332
  id: string;
4685
- level: "None" | "Info" | "Warning" | "Error";
4686
- type:
4687
- | "Loan"
4688
- | "Queue"
4689
- | "POSFlagChanged"
4690
- | "Verification"
4691
- | "DocumentUploaded"
4692
- | "LoanCreated"
4693
- | "WorkflowSubmitted"
4694
- | "UserInvitationSent"
4695
- | "CoBorrowerAdded"
4696
- | "TaskCompleted"
4697
- | "LoanStatusChanged"
4698
- | "Consent"
4699
- | "SensitiveDataPurge"
4700
- | "ClosingDateUpdated"
4701
- | "ConsumerConnectAssociation"
4702
- | "TaskReminderSent"
4703
- | "DocumentClassified"
4704
- | "CoBorrowerEmailAutoFixed";
4333
+ level: LoanLogDetailLevelEnum;
4334
+ type: LoanLogDetailTypeEnum;
4705
4335
  message: string;
4706
4336
  /** @format date-time */
4707
4337
  createdAt: string;
@@ -4985,7 +4615,7 @@ export interface LoanQueueWithData {
4985
4615
  user: UserPublic;
4986
4616
  loanOfficer: LoanOfficerPublic;
4987
4617
  siteConfiguration: SiteConfigurationReduced;
4988
- data?: any;
4618
+ data?: any | null;
4989
4619
  }
4990
4620
 
4991
4621
  export interface LoanRecord {
@@ -5021,7 +4651,7 @@ export interface LoanTaskSearchRequest {
5021
4651
  }
5022
4652
 
5023
4653
  export interface LoanTaskStatusSummary {
5024
- status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4654
+ status: LoanTaskStatusSummaryStatusEnum;
5025
4655
  /** @format int32 */
5026
4656
  count: number;
5027
4657
  }
@@ -5034,20 +4664,7 @@ export interface LoanUser {
5034
4664
  email: string;
5035
4665
  phone?: string | null;
5036
4666
  role: string;
5037
- loanRole:
5038
- | "Borrower"
5039
- | "CoBorrower"
5040
- | "NonBorrower"
5041
- | "LoanOfficer"
5042
- | "LoanProcessor"
5043
- | "LoanOfficerAssistant"
5044
- | "SupportingLoanOfficer"
5045
- | "BuyerAgent"
5046
- | "SellerAgent"
5047
- | "TitleInsuranceAgent"
5048
- | "EscrowAgent"
5049
- | "SettlementAgent"
5050
- | "Admin";
4667
+ loanRole: LoanUserLoanRoleEnum;
5051
4668
  isUser: boolean;
5052
4669
  /** @format date-time */
5053
4670
  createdAt: string;
@@ -5084,13 +4701,7 @@ export interface LosOperationTracking {
5084
4701
  operationType: string;
5085
4702
  correlationKey: string;
5086
4703
  lastTriggerSource?: string | null;
5087
- status:
5088
- | "Pending"
5089
- | "Success"
5090
- | "Failed"
5091
- | "ConfigurationError"
5092
- | "PermanentFailure"
5093
- | "Locked";
4704
+ status: LosOperationTrackingStatusEnum;
5094
4705
  /** @format date-time */
5095
4706
  createdAt: string;
5096
4707
  /** @format date-time */
@@ -5134,6 +4745,12 @@ export interface LosSync {
5134
4745
  completedAtUtc?: string | null;
5135
4746
  /** @format date-time */
5136
4747
  failedAtUtc?: string | null;
4748
+ /** @format int32 */
4749
+ redriveCount: number;
4750
+ /** @format date-time */
4751
+ nextRedriveAtUtc?: string | null;
4752
+ /** @format date-time */
4753
+ redriveExhaustedAtUtc?: string | null;
5137
4754
  errors: string[];
5138
4755
  steps: LosSyncStep[];
5139
4756
  }
@@ -5178,7 +4795,7 @@ export interface LosSyncStep {
5178
4795
  /** @format int32 */
5179
4796
  order: number;
5180
4797
  name: string;
5181
- severity: "Success" | "Info" | "Warning" | "Error";
4798
+ severity: LosSyncStepSeverityEnum;
5182
4799
  message: string;
5183
4800
  /** @format date-time */
5184
4801
  atUtc: string;
@@ -5194,65 +4811,7 @@ export interface LosWebhook {
5194
4811
  }
5195
4812
 
5196
4813
  export interface ManualDocumentClassificationRequest {
5197
- documentType:
5198
- | "W2"
5199
- | "Paystub"
5200
- | "Form1099"
5201
- | "Form1099Int"
5202
- | "Form1099Misc"
5203
- | "Form1099Nec"
5204
- | "Form1099R"
5205
- | "Form1099G"
5206
- | "Form1099Div"
5207
- | "Form1099Ssa"
5208
- | "FederalTaxReturn1040"
5209
- | "TaxReturnScheduleC"
5210
- | "TaxReturnScheduleD"
5211
- | "TaxReturnScheduleE"
5212
- | "Form1065"
5213
- | "Form1120"
5214
- | "Form1120S"
5215
- | "ProfitAndLossStatement"
5216
- | "VerificationOfEmployment"
5217
- | "BankStatement"
5218
- | "InvestmentStatement"
5219
- | "CreditCardStatement"
5220
- | "MortgageStatement"
5221
- | "PayoffStatement"
5222
- | "HoaDocuments"
5223
- | "UtilityBill"
5224
- | "IdentityDocument"
5225
- | "DemographicAddendum"
5226
- | "Ssa89"
5227
- | "Vba260551"
5228
- | "Hud92900B"
5229
- | "Check"
5230
- | "Invoice"
5231
- | "Receipt"
5232
- | "LoanApplication1003"
5233
- | "UnderwritingTransmittal1008"
5234
- | "Other"
5235
- | "SalesContract"
5236
- | "TitleCommitment"
5237
- | "DriversLicense"
5238
- | "VerificationOfIncome"
5239
- | "VerificationOfAssets"
5240
- | "FloodCertificate"
5241
- | "FraudReport"
5242
- | "AddendumToSalesContract"
5243
- | "GiftLetter"
5244
- | "CpaLetter"
5245
- | "TaxBill"
5246
- | "CondoQuestionnaire"
5247
- | "CondoBudget"
5248
- | "CondoBylaws"
5249
- | "RentalAgreements"
5250
- | "Lease"
5251
- | "HazardInsurance"
5252
- | "VaCertificateOfEligibility"
5253
- | "Appraisal"
5254
- | "CreditReport"
5255
- | "CondoMasterPolicy";
4814
+ documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5256
4815
  }
5257
4816
 
5258
4817
  export interface MdmUser {
@@ -5322,6 +4881,10 @@ export interface MobileSettings {
5322
4881
  universalUrl?: string | null;
5323
4882
  appleStoreUrl?: string | null;
5324
4883
  googlePlayStoreUrl?: string | null;
4884
+ appleTeamId?: string | null;
4885
+ appleBundleId?: string | null;
4886
+ androidPackageName?: string | null;
4887
+ androidSha256CertFingerprints?: string[] | null;
5325
4888
  }
5326
4889
 
5327
4890
  export interface Module {
@@ -5339,7 +4902,7 @@ export interface ModuleParameterValue {
5339
4902
  parameterID: string;
5340
4903
  parameterName: string;
5341
4904
  parameterType: string;
5342
- value?: any;
4905
+ value?: any | null;
5343
4906
  isInherited: boolean;
5344
4907
  }
5345
4908
 
@@ -5525,7 +5088,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5525
5088
 
5526
5089
  export interface Operation {
5527
5090
  op?: string;
5528
- value?: string | number | boolean | null | object;
5091
+ value?: object | null;
5529
5092
  path?: string;
5530
5093
  }
5531
5094
 
@@ -5750,6 +5313,11 @@ export interface RequestImpersonationRequest {
5750
5313
  email: string;
5751
5314
  }
5752
5315
 
5316
+ export interface ResetPasswordRequest {
5317
+ token: string;
5318
+ password: string;
5319
+ }
5320
+
5753
5321
  export interface RunLOCalculation {
5754
5322
  loanID: string;
5755
5323
  loanAmount?: string | null;
@@ -5874,6 +5442,11 @@ export interface SetCustomFieldValueRequest {
5874
5442
  value?: string | null;
5875
5443
  }
5876
5444
 
5445
+ export interface SetPasswordRequest {
5446
+ token: string;
5447
+ password: string;
5448
+ }
5449
+
5877
5450
  export interface SetSingleCustomFieldValueRequest {
5878
5451
  value?: string | null;
5879
5452
  }
@@ -5887,7 +5460,7 @@ export interface SiteConfiguration {
5887
5460
  deletedAt?: string | null;
5888
5461
  /** @format uuid */
5889
5462
  id: string;
5890
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5463
+ type: SiteConfigurationTypeEnum;
5891
5464
  /** @format uuid */
5892
5465
  entityID: string;
5893
5466
  /** @format int32 */
@@ -6082,7 +5655,7 @@ export interface SiteConfigurationByUrl {
6082
5655
  deletedAt?: string | null;
6083
5656
  /** @format uuid */
6084
5657
  id: string;
6085
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5658
+ type: SiteConfigurationByUrlTypeEnum;
6086
5659
  /** @format uuid */
6087
5660
  entityID: string;
6088
5661
  /** @format int32 */
@@ -6295,7 +5868,7 @@ export interface SiteConfigurationForm {
6295
5868
  export interface SiteConfigurationReduced {
6296
5869
  /** @format uuid */
6297
5870
  id: string;
6298
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5871
+ type: SiteConfigurationReducedTypeEnum;
6299
5872
  url?: string | null;
6300
5873
  name: string;
6301
5874
  /** @format int64 */
@@ -6313,7 +5886,7 @@ export interface SiteConfigurationRequest {
6313
5886
  entityID: string;
6314
5887
  /** @format int32 */
6315
5888
  entityType: number;
6316
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5889
+ type: SiteConfigurationRequestTypeEnum;
6317
5890
  url: string;
6318
5891
  name: string;
6319
5892
  introduction?: string | null;
@@ -6491,7 +6064,7 @@ export interface SiteConfigurationSearchCriteria {
6491
6064
  export interface SiteConfigurationSummary {
6492
6065
  /** @format uuid */
6493
6066
  id: string;
6494
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6067
+ type: SiteConfigurationSummaryTypeEnum;
6495
6068
  url?: string | null;
6496
6069
  name: string;
6497
6070
  /** @format int64 */
@@ -6530,7 +6103,7 @@ export interface SiteTile {
6530
6103
  title: string;
6531
6104
  description: string;
6532
6105
  linkUrl: string;
6533
- linkTarget: "Self" | "Blank";
6106
+ linkTarget: SiteTileLinkTargetEnum;
6534
6107
  siteTypes: SiteConfigurationType[];
6535
6108
  locations: SiteTileLocation[];
6536
6109
  audience: UserRole[];
@@ -6557,7 +6130,7 @@ export interface SiteTileRequest {
6557
6130
  title: string;
6558
6131
  description: string;
6559
6132
  linkUrl: string;
6560
- linkTarget: "Self" | "Blank";
6133
+ linkTarget: SiteTileRequestLinkTargetEnum;
6561
6134
  siteTypes: SiteConfigurationType[];
6562
6135
  locations: SiteTileLocation[];
6563
6136
  audience: UserRole[];
@@ -6581,7 +6154,7 @@ export interface SiteTileView {
6581
6154
  title: string;
6582
6155
  description: string;
6583
6156
  linkUrl: string;
6584
- linkTarget: "Self" | "Blank";
6157
+ linkTarget: SiteTileViewLinkTargetEnum;
6585
6158
  /** @format int32 */
6586
6159
  weight: number;
6587
6160
  }
@@ -6837,20 +6410,7 @@ export interface UnregisteredBorrower {
6837
6410
  lastName?: string | null;
6838
6411
  fullName?: string | null;
6839
6412
  email?: string | null;
6840
- role:
6841
- | "Borrower"
6842
- | "CoBorrower"
6843
- | "NonBorrower"
6844
- | "LoanOfficer"
6845
- | "LoanProcessor"
6846
- | "LoanOfficerAssistant"
6847
- | "SupportingLoanOfficer"
6848
- | "BuyerAgent"
6849
- | "SellerAgent"
6850
- | "TitleInsuranceAgent"
6851
- | "EscrowAgent"
6852
- | "SettlementAgent"
6853
- | "Admin";
6413
+ role: UnregisteredBorrowerRoleEnum;
6854
6414
  }
6855
6415
 
6856
6416
  export interface UpdateAccountRequest {
@@ -6878,7 +6438,7 @@ export interface UpdateAiCanonicalFieldRequest {
6878
6438
 
6879
6439
  export interface UpdateAiGuardrailRequest {
6880
6440
  name: string;
6881
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6441
+ category: UpdateAiGuardrailRequestCategoryEnum;
6882
6442
  description?: string | null;
6883
6443
  keywords: string[];
6884
6444
  responseTemplate: string;
@@ -6889,7 +6449,6 @@ export interface UpdateAiPromptRequest {
6889
6449
  description: string;
6890
6450
  documentTypes: string[];
6891
6451
  applicableUrlSourceIds: string[];
6892
- knowledgeBaseFolderIds: string[];
6893
6452
  allowedRoles: string[];
6894
6453
  systemPrompt: string;
6895
6454
  /** @format int32 */
@@ -6915,20 +6474,8 @@ export interface UpdateAiUrlSourceRequest {
6915
6474
  name: string;
6916
6475
  url: string;
6917
6476
  description?: string | null;
6918
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6919
- scope: "FullDomain" | "SpecificPath";
6920
- }
6921
-
6922
- export interface UpdateCompanyDocumentFolderRequest {
6923
- name: string;
6924
- description?: string | null;
6925
- }
6926
-
6927
- export interface UpdateCompanyDocumentRequest {
6928
- name?: string | null;
6929
- /** @format uuid */
6930
- folderID?: string | null;
6931
- content?: string | null;
6477
+ category: UpdateAiUrlSourceRequestCategoryEnum;
6478
+ scope: UpdateAiUrlSourceRequestScopeEnum;
6932
6479
  }
6933
6480
 
6934
6481
  export interface UpdateCustomFieldDefinitionRequest {
@@ -7240,20 +6787,7 @@ export interface UserDevice {
7240
6787
  export interface UserDraft {
7241
6788
  /** @format uuid */
7242
6789
  draftID: string;
7243
- role:
7244
- | "Borrower"
7245
- | "CoBorrower"
7246
- | "NonBorrower"
7247
- | "LoanOfficer"
7248
- | "LoanProcessor"
7249
- | "LoanOfficerAssistant"
7250
- | "SupportingLoanOfficer"
7251
- | "BuyerAgent"
7252
- | "SellerAgent"
7253
- | "TitleInsuranceAgent"
7254
- | "EscrowAgent"
7255
- | "SettlementAgent"
7256
- | "Admin";
6790
+ role: UserDraftRoleEnum;
7257
6791
  user: User;
7258
6792
  }
7259
6793
 
@@ -7280,7 +6814,7 @@ export interface UserGroupAccessScope {
7280
6814
  id: string;
7281
6815
  /** @format uuid */
7282
6816
  groupId: string;
7283
- scopeType: "User" | "Branch";
6817
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
7284
6818
  /** @format uuid */
7285
6819
  userId?: string | null;
7286
6820
  /** @format uuid */
@@ -7316,20 +6850,7 @@ export interface UserLoan {
7316
6850
  deletedAt?: string | null;
7317
6851
  loanID: string;
7318
6852
  user: User;
7319
- role:
7320
- | "Borrower"
7321
- | "CoBorrower"
7322
- | "NonBorrower"
7323
- | "LoanOfficer"
7324
- | "LoanProcessor"
7325
- | "LoanOfficerAssistant"
7326
- | "SupportingLoanOfficer"
7327
- | "BuyerAgent"
7328
- | "SellerAgent"
7329
- | "TitleInsuranceAgent"
7330
- | "EscrowAgent"
7331
- | "SettlementAgent"
7332
- | "Admin";
6853
+ role: UserLoanRoleEnum;
7333
6854
  /** @format int32 */
7334
6855
  borrowerPair?: number | null;
7335
6856
  /** @format int32 */
@@ -7342,11 +6863,11 @@ export interface UserLoanConsent {
7342
6863
  id: string;
7343
6864
  /** @format uuid */
7344
6865
  userLoanID: string;
7345
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
6866
+ type: UserLoanConsentTypeEnum;
7346
6867
  providedConsent: boolean;
7347
6868
  source?: ConsentSource | null;
7348
6869
  ipAddress?: string | null;
7349
- losSyncStatus: "NotStarted" | "Failed" | "Success";
6870
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7350
6871
  /** @format date-time */
7351
6872
  createdAt: string;
7352
6873
  /** @format date-time */
@@ -7490,16 +7011,11 @@ export interface UserSummary {
7490
7011
  id: string;
7491
7012
  name?: string | null;
7492
7013
  email?: string | null;
7493
- role:
7494
- | "Borrower"
7495
- | "LoanOfficer"
7496
- | "Admin"
7497
- | "SuperAdmin"
7498
- | "Realtor"
7499
- | "SettlementAgent"
7500
- | "LoanProcessor"
7501
- | "LoanOfficerAssistant"
7502
- | "SystemAdmin";
7014
+ role: UserSummaryRoleEnum;
7015
+ }
7016
+
7017
+ export interface VerifyEmailRequest {
7018
+ token: string;
7503
7019
  }
7504
7020
 
7505
7021
  export interface VerifyPasswordRequest {
@@ -7529,122 +7045,824 @@ export interface Workflow {
7529
7045
  icon: string;
7530
7046
  }
7531
7047
 
7532
- import type {
7533
- AxiosInstance,
7534
- AxiosRequestConfig,
7535
- AxiosResponse,
7536
- HeadersDefaults,
7537
- ResponseType,
7538
- } from "axios";
7539
- import axios from "axios";
7048
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7540
7049
 
7541
- export type QueryParamsType = Record<string | number, any>;
7050
+ export type AiAuditLogEventTypeEnum =
7051
+ | "Error"
7052
+ | "GuardrailBlockedPre"
7053
+ | "GuardrailPassedPre"
7054
+ | "IntentClassified"
7055
+ | "LoanResolvedFromMessage"
7056
+ | "DocumentNotFound"
7057
+ | "GuardrailBlockedPost"
7058
+ | "GuardrailPassedPost"
7059
+ | "DocumentAnalyzed"
7060
+ | "DocumentList"
7061
+ | "DocumentResolutionAmbiguous"
7062
+ | "ResponseGenerated"
7063
+ | "ParametersExtracted"
7064
+ | "QueryExecuted"
7065
+ | "LoanContextNotFound"
7066
+ | "LoanContextLoaded"
7067
+ | "GuardrailBlockedBedrock"
7068
+ | "PromptMatched"
7069
+ | "QueryCondensed"
7070
+ | "IntentParseFailed"
7071
+ | "LoanSearchTermDiscarded"
7072
+ | "CanonicalFieldsSelected"
7073
+ | "LoanAccessDenied"
7074
+ | "AgentModelCall"
7075
+ | "AgentToolCallRequested"
7076
+ | "AgentToolCallCompleted"
7077
+ | "AgentToolCallFailed"
7078
+ | "AgentLoopLimitReached"
7079
+ | "RequestCancelled";
7542
7080
 
7543
- export interface FullRequestParams
7544
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
7545
- /** set parameter to `true` for call `securityWorker` for this request */
7546
- secure?: boolean;
7547
- /** request path */
7548
- path: string;
7549
- /** content type of request body */
7550
- type?: ContentType;
7551
- /** query params */
7552
- query?: QueryParamsType;
7553
- /** format of response (i.e. response.json() -> format: "json") */
7554
- format?: ResponseType;
7555
- /** request body */
7556
- body?: unknown;
7557
- }
7081
+ export type AiChatMetadataIntentEnum =
7082
+ | "Greeting"
7083
+ | "Invalid"
7084
+ | "Relevant"
7085
+ | "LoanSpecific"
7086
+ | "DocumentList"
7087
+ | "GeneralKnowledge"
7088
+ | "Blocked"
7089
+ | "Action"
7090
+ | "ConversationMeta"
7091
+ | "Capabilities"
7092
+ | "UsageReport";
7558
7093
 
7559
- export type RequestParams = Omit<
7560
- FullRequestParams,
7561
- "body" | "method" | "query" | "path"
7562
- >;
7094
+ export type AiChatStructuredDataTypeEnum =
7095
+ | "Table"
7096
+ | "DocumentAnalysis"
7097
+ | "DocumentList"
7098
+ | "GeneratedDocument";
7563
7099
 
7564
- export interface ApiConfig<SecurityDataType = unknown>
7565
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
7566
- securityWorker?: (
7567
- securityData: SecurityDataType | null,
7568
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
7569
- secure?: boolean;
7570
- format?: ResponseType;
7571
- }
7100
+ export type AiGuardrailCategoryEnum =
7101
+ | "ContentSafety"
7102
+ | "PromptInjection"
7103
+ | "Privacy"
7104
+ | "Legal";
7572
7105
 
7573
- export enum ContentType {
7574
- JsonPatch = "application/json-patch+json",
7575
- Json = "application/json",
7576
- JsonApi = "application/vnd.api+json",
7577
- FormData = "multipart/form-data",
7578
- UrlEncoded = "application/x-www-form-urlencoded",
7579
- Text = "text/plain",
7580
- }
7106
+ export type AiUrlSourceCategoryEnum =
7107
+ | "Regulatory"
7108
+ | "Guidelines"
7109
+ | "MarketData"
7110
+ | "Custom";
7581
7111
 
7582
- export class HttpClient<SecurityDataType = unknown> {
7583
- public instance: AxiosInstance;
7584
- private securityData: SecurityDataType | null = null;
7585
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
7586
- private secure?: boolean;
7587
- private format?: ResponseType;
7112
+ export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
7588
7113
 
7589
- constructor({
7590
- securityWorker,
7591
- secure,
7592
- format,
7593
- ...axiosConfig
7594
- }: ApiConfig<SecurityDataType> = {}) {
7595
- this.instance = axios.create({
7596
- ...axiosConfig,
7597
- baseURL: axiosConfig.baseURL || "",
7598
- });
7599
- this.secure = secure;
7600
- this.format = format;
7601
- this.securityWorker = securityWorker;
7602
- }
7114
+ export type AuditLogEntryChangeTypeEnum =
7115
+ | "Created"
7116
+ | "Modified"
7117
+ | "SoftDeleted"
7118
+ | "HardDeleted"
7119
+ | "Restored"
7120
+ | "Deactivated"
7121
+ | "Reactivated";
7603
7122
 
7604
- public setSecurityData = (data: SecurityDataType | null) => {
7605
- this.securityData = data;
7606
- };
7123
+ export type BorrowerCountRoleEnum =
7124
+ | "Borrower"
7125
+ | "CoBorrower"
7126
+ | "NonBorrower"
7127
+ | "LoanOfficer"
7128
+ | "LoanProcessor"
7129
+ | "LoanOfficerAssistant"
7130
+ | "SupportingLoanOfficer"
7131
+ | "BuyerAgent"
7132
+ | "SellerAgent"
7133
+ | "TitleInsuranceAgent"
7134
+ | "EscrowAgent"
7135
+ | "SettlementAgent"
7136
+ | "Admin";
7607
7137
 
7608
- protected mergeRequestParams(
7609
- params1: AxiosRequestConfig,
7610
- params2?: AxiosRequestConfig,
7611
- ): AxiosRequestConfig {
7612
- const method = params1.method || (params2 && params2.method);
7138
+ export type BorrowerIdentityRoleEnum =
7139
+ | "Borrower"
7140
+ | "CoBorrower"
7141
+ | "NonBorrower"
7142
+ | "LoanOfficer"
7143
+ | "LoanProcessor"
7144
+ | "LoanOfficerAssistant"
7145
+ | "SupportingLoanOfficer"
7146
+ | "BuyerAgent"
7147
+ | "SellerAgent"
7148
+ | "TitleInsuranceAgent"
7149
+ | "EscrowAgent"
7150
+ | "SettlementAgent"
7151
+ | "Admin";
7613
7152
 
7614
- return {
7615
- ...this.instance.defaults,
7616
- ...params1,
7617
- ...(params2 || {}),
7618
- headers: {
7619
- ...((method &&
7620
- this.instance.defaults.headers[
7621
- method.toLowerCase() as keyof HeadersDefaults
7622
- ]) ||
7623
- {}),
7624
- ...(params1.headers || {}),
7625
- ...((params2 && params2.headers) || {}),
7626
- },
7627
- };
7628
- }
7153
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
7629
7154
 
7630
- protected stringifyFormItem(formItem: unknown) {
7631
- if (typeof formItem === "object" && formItem !== null) {
7632
- return JSON.stringify(formItem);
7633
- } else {
7634
- return `${formItem}`;
7635
- }
7636
- }
7155
+ export type CreateAccountRequestEnvironmentEnum =
7156
+ | "Development"
7157
+ | "Staging"
7158
+ | "UAT"
7159
+ | "Production";
7637
7160
 
7638
- protected createFormData(input: Record<string, unknown>): FormData {
7639
- if (input instanceof FormData) {
7640
- return input;
7641
- }
7642
- return Object.keys(input || {}).reduce((formData, key) => {
7643
- const property = input[key];
7644
- const propertyContent: any[] =
7645
- property instanceof Array ? property : [property];
7161
+ export type CreateAiGuardrailRequestCategoryEnum =
7162
+ | "ContentSafety"
7163
+ | "PromptInjection"
7164
+ | "Privacy"
7165
+ | "Legal";
7646
7166
 
7647
- for (const formItem of propertyContent) {
7167
+ export type CreateAiUrlSourceRequestCategoryEnum =
7168
+ | "Regulatory"
7169
+ | "Guidelines"
7170
+ | "MarketData"
7171
+ | "Custom";
7172
+
7173
+ export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7174
+
7175
+ export type CreateCustomFieldDefinitionRequestDataTypeEnum =
7176
+ | "String"
7177
+ | "Number"
7178
+ | "Decimal"
7179
+ | "Boolean"
7180
+ | "Date"
7181
+ | "SingleSelect"
7182
+ | "MultiSelect";
7183
+
7184
+ export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
7185
+
7186
+ export type CreateGroupMemberRequestLoanRoleEnum =
7187
+ | "Borrower"
7188
+ | "CoBorrower"
7189
+ | "NonBorrower"
7190
+ | "LoanOfficer"
7191
+ | "LoanProcessor"
7192
+ | "LoanOfficerAssistant"
7193
+ | "SupportingLoanOfficer"
7194
+ | "BuyerAgent"
7195
+ | "SellerAgent"
7196
+ | "TitleInsuranceAgent"
7197
+ | "EscrowAgent"
7198
+ | "SettlementAgent"
7199
+ | "Admin";
7200
+
7201
+ /** @deprecated */
7202
+ export type CreateInviteRequestRelationshipEnum =
7203
+ | "NotApplicable"
7204
+ | "Spouse"
7205
+ | "NonSpouse";
7206
+
7207
+ export type CreateLoanImportRequestImportModeEnum =
7208
+ | "All"
7209
+ | "NewOnly"
7210
+ | "UpdateOnly";
7211
+
7212
+ export type CreateUserDraftLoanRoleEnum =
7213
+ | "Borrower"
7214
+ | "CoBorrower"
7215
+ | "NonBorrower"
7216
+ | "LoanOfficer"
7217
+ | "LoanProcessor"
7218
+ | "LoanOfficerAssistant"
7219
+ | "SupportingLoanOfficer"
7220
+ | "BuyerAgent"
7221
+ | "SellerAgent"
7222
+ | "TitleInsuranceAgent"
7223
+ | "EscrowAgent"
7224
+ | "SettlementAgent"
7225
+ | "Admin";
7226
+
7227
+ export type CustomFieldDefinitionDataTypeEnum =
7228
+ | "String"
7229
+ | "Number"
7230
+ | "Decimal"
7231
+ | "Boolean"
7232
+ | "Date"
7233
+ | "SingleSelect"
7234
+ | "MultiSelect";
7235
+
7236
+ export type CustomFieldDefinitionEntityTypeEnum = "Loan";
7237
+
7238
+ export type CustomFieldEntryDataTypeEnum =
7239
+ | "String"
7240
+ | "Number"
7241
+ | "Decimal"
7242
+ | "Boolean"
7243
+ | "Date"
7244
+ | "SingleSelect"
7245
+ | "MultiSelect";
7246
+
7247
+ export type CustomFieldPermissionRoleEnum =
7248
+ | "Borrower"
7249
+ | "LoanOfficer"
7250
+ | "Admin"
7251
+ | "SuperAdmin"
7252
+ | "Realtor"
7253
+ | "SettlementAgent"
7254
+ | "LoanProcessor"
7255
+ | "LoanOfficerAssistant"
7256
+ | "SystemAdmin";
7257
+
7258
+ export type CustomFieldPermissionAccessLevelEnum =
7259
+ | "NoAccess"
7260
+ | "ReadOnly"
7261
+ | "ReadWrite";
7262
+
7263
+ export type CustomFieldPermissionRequestRoleEnum =
7264
+ | "Borrower"
7265
+ | "LoanOfficer"
7266
+ | "Admin"
7267
+ | "SuperAdmin"
7268
+ | "Realtor"
7269
+ | "SettlementAgent"
7270
+ | "LoanProcessor"
7271
+ | "LoanOfficerAssistant"
7272
+ | "SystemAdmin";
7273
+
7274
+ export type CustomFieldPermissionRequestAccessLevelEnum =
7275
+ | "NoAccess"
7276
+ | "ReadOnly"
7277
+ | "ReadWrite";
7278
+
7279
+ export type CustomFieldValueDataTypeEnum =
7280
+ | "String"
7281
+ | "Number"
7282
+ | "Decimal"
7283
+ | "Boolean"
7284
+ | "Date"
7285
+ | "SingleSelect"
7286
+ | "MultiSelect";
7287
+
7288
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
7289
+
7290
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
7291
+
7292
+ export type EncompassCredentialsDetailEncompassEnvironmentEnum =
7293
+ | "Production"
7294
+ | "UAT";
7295
+
7296
+ export type EncompassCredentialsDetailSigningMethodEnum =
7297
+ | "ConsumerConnect"
7298
+ | "POSF";
7299
+
7300
+ export type EncompassCredentialsRequestEncompassEnvironmentEnum =
7301
+ | "Production"
7302
+ | "UAT";
7303
+
7304
+ export type EncompassCredentialsRequestSigningMethodEnum =
7305
+ | "ConsumerConnect"
7306
+ | "POSF";
7307
+
7308
+ export type EncompassRequestLogOperationTypeEnum =
7309
+ | "FieldUpdate"
7310
+ | "ConsentUpdate"
7311
+ | "DocumentSync"
7312
+ | "MilestoneUpdate"
7313
+ | "DocumentAttachment"
7314
+ | "General"
7315
+ | "FieldReader";
7316
+
7317
+ export type EncompassRequestLogOutcomeEnum =
7318
+ | "Success"
7319
+ | "Failure"
7320
+ | "PartialSuccess";
7321
+
7322
+ export type FusionReportFilterFilterTypeEnum =
7323
+ | "DateGreaterThanOrEqualTo"
7324
+ | "DateGreaterThan"
7325
+ | "DateLessThan"
7326
+ | "DateLessThanOrEqualTo"
7327
+ | "DateEquals"
7328
+ | "DateDoesntEqual"
7329
+ | "DateNonEmpty"
7330
+ | "DateEmpty"
7331
+ | "StringContains"
7332
+ | "StringEquals"
7333
+ | "StringNotEmpty"
7334
+ | "StringNotEquals"
7335
+ | "StringNotContains";
7336
+
7337
+ export type GenerateSystemPromptRequestCategoryEnum =
7338
+ | "DocumentAnalysis"
7339
+ | "DataQuery"
7340
+ | "General"
7341
+ | "Action";
7342
+
7343
+ export type IpAddressAddressFamilyEnum =
7344
+ | "Unspecified"
7345
+ | "Unix"
7346
+ | "InterNetwork"
7347
+ | "ImpLink"
7348
+ | "Pup"
7349
+ | "Chaos"
7350
+ | "NS"
7351
+ | "Ipx"
7352
+ | "Iso"
7353
+ | "Osi"
7354
+ | "Ecma"
7355
+ | "DataKit"
7356
+ | "Ccitt"
7357
+ | "Sna"
7358
+ | "DecNet"
7359
+ | "DataLink"
7360
+ | "Lat"
7361
+ | "HyperChannel"
7362
+ | "AppleTalk"
7363
+ | "NetBios"
7364
+ | "VoiceView"
7365
+ | "FireFox"
7366
+ | "Banyan"
7367
+ | "Atm"
7368
+ | "InterNetworkV6"
7369
+ | "Cluster"
7370
+ | "Ieee12844"
7371
+ | "Irda"
7372
+ | "NetworkDesigners"
7373
+ | "Max"
7374
+ | "Packet"
7375
+ | "ControllerAreaNetwork"
7376
+ | "Unknown";
7377
+
7378
+ export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
7379
+
7380
+ export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7381
+
7382
+ export type LoanContactRoleEnum =
7383
+ | "Borrower"
7384
+ | "CoBorrower"
7385
+ | "NonBorrower"
7386
+ | "LoanOfficer"
7387
+ | "LoanProcessor"
7388
+ | "LoanOfficerAssistant"
7389
+ | "SupportingLoanOfficer"
7390
+ | "BuyerAgent"
7391
+ | "SellerAgent"
7392
+ | "TitleInsuranceAgent"
7393
+ | "EscrowAgent"
7394
+ | "SettlementAgent"
7395
+ | "Admin";
7396
+
7397
+ export type LoanDocumentFolderPermissionRoleEnum =
7398
+ | "Borrower"
7399
+ | "CoBorrower"
7400
+ | "NonBorrower"
7401
+ | "LoanOfficer"
7402
+ | "LoanProcessor"
7403
+ | "LoanOfficerAssistant"
7404
+ | "SupportingLoanOfficer"
7405
+ | "BuyerAgent"
7406
+ | "SellerAgent"
7407
+ | "TitleInsuranceAgent"
7408
+ | "EscrowAgent"
7409
+ | "SettlementAgent"
7410
+ | "Admin";
7411
+
7412
+ export type LoanDocumentFolderPermissionLevelEnum =
7413
+ | "None"
7414
+ | "Read"
7415
+ | "Write"
7416
+ | "Manage";
7417
+
7418
+ export type LoanDocumentFolderPermissionRequestRoleEnum =
7419
+ | "Borrower"
7420
+ | "CoBorrower"
7421
+ | "NonBorrower"
7422
+ | "LoanOfficer"
7423
+ | "LoanProcessor"
7424
+ | "LoanOfficerAssistant"
7425
+ | "SupportingLoanOfficer"
7426
+ | "BuyerAgent"
7427
+ | "SellerAgent"
7428
+ | "TitleInsuranceAgent"
7429
+ | "EscrowAgent"
7430
+ | "SettlementAgent"
7431
+ | "Admin";
7432
+
7433
+ export type LoanDocumentFolderPermissionRequestLevelEnum =
7434
+ | "None"
7435
+ | "Read"
7436
+ | "Write"
7437
+ | "Manage";
7438
+
7439
+ export type LoanImportStatusEnum =
7440
+ | "WaitingProcess"
7441
+ | "InProgress"
7442
+ | "Completed"
7443
+ | "Failed"
7444
+ | "Cancelled";
7445
+
7446
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
7447
+
7448
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7449
+
7450
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7451
+
7452
+ export type LoanLogTypeEnum =
7453
+ | "Loan"
7454
+ | "Queue"
7455
+ | "POSFlagChanged"
7456
+ | "Verification"
7457
+ | "DocumentUploaded"
7458
+ | "LoanCreated"
7459
+ | "WorkflowSubmitted"
7460
+ | "UserInvitationSent"
7461
+ | "CoBorrowerAdded"
7462
+ | "TaskCompleted"
7463
+ | "LoanStatusChanged"
7464
+ | "Consent"
7465
+ | "SensitiveDataPurge"
7466
+ | "ClosingDateUpdated"
7467
+ | "ConsumerConnectAssociation"
7468
+ | "TaskReminderSent"
7469
+ | "DocumentClassified"
7470
+ | "CoBorrowerEmailAutoFixed";
7471
+
7472
+ export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
7473
+
7474
+ export type LoanLogDetailTypeEnum =
7475
+ | "Loan"
7476
+ | "Queue"
7477
+ | "POSFlagChanged"
7478
+ | "Verification"
7479
+ | "DocumentUploaded"
7480
+ | "LoanCreated"
7481
+ | "WorkflowSubmitted"
7482
+ | "UserInvitationSent"
7483
+ | "CoBorrowerAdded"
7484
+ | "TaskCompleted"
7485
+ | "LoanStatusChanged"
7486
+ | "Consent"
7487
+ | "SensitiveDataPurge"
7488
+ | "ClosingDateUpdated"
7489
+ | "ConsumerConnectAssociation"
7490
+ | "TaskReminderSent"
7491
+ | "DocumentClassified"
7492
+ | "CoBorrowerEmailAutoFixed";
7493
+
7494
+ export type LoanTaskStatusSummaryStatusEnum =
7495
+ | "Outstanding"
7496
+ | "Pending"
7497
+ | "Completed"
7498
+ | "Rejected"
7499
+ | "Unknown";
7500
+
7501
+ export type LoanUserLoanRoleEnum =
7502
+ | "Borrower"
7503
+ | "CoBorrower"
7504
+ | "NonBorrower"
7505
+ | "LoanOfficer"
7506
+ | "LoanProcessor"
7507
+ | "LoanOfficerAssistant"
7508
+ | "SupportingLoanOfficer"
7509
+ | "BuyerAgent"
7510
+ | "SellerAgent"
7511
+ | "TitleInsuranceAgent"
7512
+ | "EscrowAgent"
7513
+ | "SettlementAgent"
7514
+ | "Admin";
7515
+
7516
+ export type LosOperationTrackingStatusEnum =
7517
+ | "Pending"
7518
+ | "Success"
7519
+ | "Failed"
7520
+ | "ConfigurationError"
7521
+ | "PermanentFailure"
7522
+ | "Locked";
7523
+
7524
+ export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
7525
+
7526
+ export type ManualDocumentClassificationRequestDocumentTypeEnum =
7527
+ | "W2"
7528
+ | "Paystub"
7529
+ | "Form1099"
7530
+ | "Form1099Int"
7531
+ | "Form1099Misc"
7532
+ | "Form1099Nec"
7533
+ | "Form1099R"
7534
+ | "Form1099G"
7535
+ | "Form1099Div"
7536
+ | "Form1099Ssa"
7537
+ | "FederalTaxReturn1040"
7538
+ | "TaxReturnScheduleC"
7539
+ | "TaxReturnScheduleD"
7540
+ | "TaxReturnScheduleE"
7541
+ | "Form1065"
7542
+ | "Form1120"
7543
+ | "Form1120S"
7544
+ | "ProfitAndLossStatement"
7545
+ | "VerificationOfEmployment"
7546
+ | "BankStatement"
7547
+ | "InvestmentStatement"
7548
+ | "CreditCardStatement"
7549
+ | "MortgageStatement"
7550
+ | "PayoffStatement"
7551
+ | "HoaDocuments"
7552
+ | "UtilityBill"
7553
+ | "IdentityDocument"
7554
+ | "DemographicAddendum"
7555
+ | "Ssa89"
7556
+ | "Vba260551"
7557
+ | "Hud92900B"
7558
+ | "Check"
7559
+ | "Invoice"
7560
+ | "Receipt"
7561
+ | "LoanApplication1003"
7562
+ | "UnderwritingTransmittal1008"
7563
+ | "Other"
7564
+ | "SalesContract"
7565
+ | "TitleCommitment"
7566
+ | "DriversLicense"
7567
+ | "VerificationOfIncome"
7568
+ | "VerificationOfAssets"
7569
+ | "FloodCertificate"
7570
+ | "FraudReport"
7571
+ | "AddendumToSalesContract"
7572
+ | "GiftLetter"
7573
+ | "CpaLetter"
7574
+ | "TaxBill"
7575
+ | "CondoQuestionnaire"
7576
+ | "CondoBudget"
7577
+ | "CondoBylaws"
7578
+ | "RentalAgreements"
7579
+ | "Lease"
7580
+ | "HazardInsurance"
7581
+ | "VaCertificateOfEligibility"
7582
+ | "Appraisal"
7583
+ | "CreditReport"
7584
+ | "CondoMasterPolicy";
7585
+
7586
+ export type SiteConfigurationTypeEnum =
7587
+ | "None"
7588
+ | "Account"
7589
+ | "Corporate"
7590
+ | "Branch"
7591
+ | "LoanOfficer"
7592
+ | "Partner";
7593
+
7594
+ export type SiteConfigurationByUrlTypeEnum =
7595
+ | "None"
7596
+ | "Account"
7597
+ | "Corporate"
7598
+ | "Branch"
7599
+ | "LoanOfficer"
7600
+ | "Partner";
7601
+
7602
+ export type SiteConfigurationReducedTypeEnum =
7603
+ | "None"
7604
+ | "Account"
7605
+ | "Corporate"
7606
+ | "Branch"
7607
+ | "LoanOfficer"
7608
+ | "Partner";
7609
+
7610
+ export type SiteConfigurationRequestTypeEnum =
7611
+ | "None"
7612
+ | "Account"
7613
+ | "Corporate"
7614
+ | "Branch"
7615
+ | "LoanOfficer"
7616
+ | "Partner";
7617
+
7618
+ export type SiteConfigurationSummaryTypeEnum =
7619
+ | "None"
7620
+ | "Account"
7621
+ | "Corporate"
7622
+ | "Branch"
7623
+ | "LoanOfficer"
7624
+ | "Partner";
7625
+
7626
+ export type SiteTileLinkTargetEnum = "Self" | "Blank";
7627
+
7628
+ export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
7629
+
7630
+ export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7631
+
7632
+ export type UnregisteredBorrowerRoleEnum =
7633
+ | "Borrower"
7634
+ | "CoBorrower"
7635
+ | "NonBorrower"
7636
+ | "LoanOfficer"
7637
+ | "LoanProcessor"
7638
+ | "LoanOfficerAssistant"
7639
+ | "SupportingLoanOfficer"
7640
+ | "BuyerAgent"
7641
+ | "SellerAgent"
7642
+ | "TitleInsuranceAgent"
7643
+ | "EscrowAgent"
7644
+ | "SettlementAgent"
7645
+ | "Admin";
7646
+
7647
+ export type UpdateAiGuardrailRequestCategoryEnum =
7648
+ | "ContentSafety"
7649
+ | "PromptInjection"
7650
+ | "Privacy"
7651
+ | "Legal";
7652
+
7653
+ export type UpdateAiUrlSourceRequestCategoryEnum =
7654
+ | "Regulatory"
7655
+ | "Guidelines"
7656
+ | "MarketData"
7657
+ | "Custom";
7658
+
7659
+ export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7660
+
7661
+ export type UserDraftRoleEnum =
7662
+ | "Borrower"
7663
+ | "CoBorrower"
7664
+ | "NonBorrower"
7665
+ | "LoanOfficer"
7666
+ | "LoanProcessor"
7667
+ | "LoanOfficerAssistant"
7668
+ | "SupportingLoanOfficer"
7669
+ | "BuyerAgent"
7670
+ | "SellerAgent"
7671
+ | "TitleInsuranceAgent"
7672
+ | "EscrowAgent"
7673
+ | "SettlementAgent"
7674
+ | "Admin";
7675
+
7676
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7677
+
7678
+ export type UserLoanRoleEnum =
7679
+ | "Borrower"
7680
+ | "CoBorrower"
7681
+ | "NonBorrower"
7682
+ | "LoanOfficer"
7683
+ | "LoanProcessor"
7684
+ | "LoanOfficerAssistant"
7685
+ | "SupportingLoanOfficer"
7686
+ | "BuyerAgent"
7687
+ | "SellerAgent"
7688
+ | "TitleInsuranceAgent"
7689
+ | "EscrowAgent"
7690
+ | "SettlementAgent"
7691
+ | "Admin";
7692
+
7693
+ export type UserLoanConsentTypeEnum =
7694
+ | "Econsent"
7695
+ | "CreditAuthorization"
7696
+ | "Tcpa";
7697
+
7698
+ export type UserLoanConsentLosSyncStatusEnum =
7699
+ | "NotStarted"
7700
+ | "Failed"
7701
+ | "Success";
7702
+
7703
+ export type UserSummaryRoleEnum =
7704
+ | "Borrower"
7705
+ | "LoanOfficer"
7706
+ | "Admin"
7707
+ | "SuperAdmin"
7708
+ | "Realtor"
7709
+ | "SettlementAgent"
7710
+ | "LoanProcessor"
7711
+ | "LoanOfficerAssistant"
7712
+ | "SystemAdmin";
7713
+
7714
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7715
+
7716
+ /** @default "Realtor" */
7717
+ export type GetPartnersParamsRoleEnum =
7718
+ | "Borrower"
7719
+ | "LoanOfficer"
7720
+ | "Admin"
7721
+ | "SuperAdmin"
7722
+ | "Realtor"
7723
+ | "SettlementAgent"
7724
+ | "LoanProcessor"
7725
+ | "LoanOfficerAssistant"
7726
+ | "SystemAdmin";
7727
+
7728
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
7729
+ | "ConsumerConnect"
7730
+ | "TheBigPOS"
7731
+ | "POSF";
7732
+
7733
+ export type GetSamlMetadataParamsEnum =
7734
+ | "ConsumerConnect"
7735
+ | "TheBigPOS"
7736
+ | "POSF";
7737
+
7738
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
7739
+ | "ConsumerConnect"
7740
+ | "TheBigPOS"
7741
+ | "POSF";
7742
+
7743
+ export type CreateOrReplaceSamlMetadataParamsEnum =
7744
+ | "ConsumerConnect"
7745
+ | "TheBigPOS"
7746
+ | "POSF";
7747
+
7748
+ export type GetSiteTilesBySiteConfigurationParamsLocationEnum =
7749
+ | "HomePage"
7750
+ | "Dashboard";
7751
+
7752
+ import type {
7753
+ AxiosInstance,
7754
+ AxiosRequestConfig,
7755
+ AxiosResponse,
7756
+ HeadersDefaults,
7757
+ ResponseType,
7758
+ } from "axios";
7759
+ import axios from "axios";
7760
+
7761
+ export type QueryParamsType = Record<string | number, any>;
7762
+
7763
+ export interface FullRequestParams
7764
+ extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
7765
+ /** set parameter to `true` for call `securityWorker` for this request */
7766
+ secure?: boolean;
7767
+ /** request path */
7768
+ path: string;
7769
+ /** content type of request body */
7770
+ type?: ContentType;
7771
+ /** query params */
7772
+ query?: QueryParamsType;
7773
+ /** format of response (i.e. response.json() -> format: "json") */
7774
+ format?: ResponseType;
7775
+ /** request body */
7776
+ body?: unknown;
7777
+ }
7778
+
7779
+ export type RequestParams = Omit<
7780
+ FullRequestParams,
7781
+ "body" | "method" | "query" | "path"
7782
+ >;
7783
+
7784
+ export interface ApiConfig<SecurityDataType = unknown>
7785
+ extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
7786
+ securityWorker?: (
7787
+ securityData: SecurityDataType | null,
7788
+ ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
7789
+ secure?: boolean;
7790
+ format?: ResponseType;
7791
+ }
7792
+
7793
+ export type ContentType =
7794
+ | "application/json"
7795
+ | "application/vnd.api+json"
7796
+ | "multipart/form-data"
7797
+ | "application/x-www-form-urlencoded"
7798
+ | "text/plain";
7799
+
7800
+ export class HttpClient<SecurityDataType = unknown> {
7801
+ public instance: AxiosInstance;
7802
+ private securityData: SecurityDataType | null = null;
7803
+ private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
7804
+ private secure?: boolean;
7805
+ private format?: ResponseType;
7806
+
7807
+ constructor({
7808
+ securityWorker,
7809
+ secure,
7810
+ format,
7811
+ ...axiosConfig
7812
+ }: ApiConfig<SecurityDataType> = {}) {
7813
+ this.instance = axios.create({
7814
+ ...axiosConfig,
7815
+ baseURL: axiosConfig.baseURL || "",
7816
+ });
7817
+ this.secure = secure;
7818
+ this.format = format;
7819
+ this.securityWorker = securityWorker;
7820
+ }
7821
+
7822
+ public setSecurityData = (data: SecurityDataType | null) => {
7823
+ this.securityData = data;
7824
+ };
7825
+
7826
+ protected mergeRequestParams(
7827
+ params1: AxiosRequestConfig,
7828
+ params2?: AxiosRequestConfig,
7829
+ ): AxiosRequestConfig {
7830
+ const method = params1.method || (params2 && params2.method);
7831
+
7832
+ return {
7833
+ ...this.instance.defaults,
7834
+ ...params1,
7835
+ ...(params2 || {}),
7836
+ headers: {
7837
+ ...((method &&
7838
+ this.instance.defaults.headers[
7839
+ method.toLowerCase() as keyof HeadersDefaults
7840
+ ]) ||
7841
+ {}),
7842
+ ...(params1.headers || {}),
7843
+ ...((params2 && params2.headers) || {}),
7844
+ },
7845
+ };
7846
+ }
7847
+
7848
+ protected stringifyFormItem(formItem: unknown) {
7849
+ if (typeof formItem === "object" && formItem !== null) {
7850
+ return JSON.stringify(formItem);
7851
+ } else {
7852
+ return `${formItem}`;
7853
+ }
7854
+ }
7855
+
7856
+ protected createFormData(input: Record<string, unknown>): FormData {
7857
+ if (input instanceof FormData) {
7858
+ return input;
7859
+ }
7860
+ return Object.keys(input || {}).reduce((formData, key) => {
7861
+ const property = input[key];
7862
+ const propertyContent: any[] =
7863
+ property instanceof Array ? property : [property];
7864
+
7865
+ for (const formItem of propertyContent) {
7648
7866
  const isFileType = formItem instanceof Blob || formItem instanceof File;
7649
7867
  formData.append(
7650
7868
  key,
@@ -7674,7 +7892,7 @@ export class HttpClient<SecurityDataType = unknown> {
7674
7892
  const responseFormat = format || this.format || undefined;
7675
7893
 
7676
7894
  if (
7677
- type === ContentType.FormData &&
7895
+ type === "multipart/form-data" &&
7678
7896
  body &&
7679
7897
  body !== null &&
7680
7898
  typeof body === "object"
@@ -7683,7 +7901,7 @@ export class HttpClient<SecurityDataType = unknown> {
7683
7901
  }
7684
7902
 
7685
7903
  if (
7686
- type === ContentType.Text &&
7904
+ type === "text/plain" &&
7687
7905
  body &&
7688
7906
  body !== null &&
7689
7907
  typeof body !== "string"
@@ -7790,7 +8008,7 @@ export class Api<
7790
8008
  method: "PUT",
7791
8009
  body: data,
7792
8010
  secure: true,
7793
- type: ContentType.Json,
8011
+ type: "application/json",
7794
8012
  format: "json",
7795
8013
  ...params,
7796
8014
  }),
@@ -7834,7 +8052,7 @@ export class Api<
7834
8052
  method: "PUT",
7835
8053
  body: data,
7836
8054
  secure: true,
7837
- type: ContentType.Json,
8055
+ type: "application/json",
7838
8056
  format: "json",
7839
8057
  ...params,
7840
8058
  }),
@@ -7858,7 +8076,7 @@ export class Api<
7858
8076
  method: "POST",
7859
8077
  body: data,
7860
8078
  secure: true,
7861
- type: ContentType.Json,
8079
+ type: "application/json",
7862
8080
  ...params,
7863
8081
  }),
7864
8082
 
@@ -7882,7 +8100,7 @@ export class Api<
7882
8100
  method: "POST",
7883
8101
  body: data,
7884
8102
  secure: true,
7885
- type: ContentType.Json,
8103
+ type: "application/json",
7886
8104
  ...params,
7887
8105
  }),
7888
8106
 
@@ -7922,7 +8140,7 @@ export class Api<
7922
8140
  method: "POST",
7923
8141
  body: data,
7924
8142
  secure: true,
7925
- type: ContentType.Json,
8143
+ type: "application/json",
7926
8144
  format: "json",
7927
8145
  ...params,
7928
8146
  }),
@@ -7998,7 +8216,7 @@ export class Api<
7998
8216
  method: "PUT",
7999
8217
  body: data,
8000
8218
  secure: true,
8001
- type: ContentType.Json,
8219
+ type: "application/json",
8002
8220
  format: "json",
8003
8221
  ...params,
8004
8222
  }),
@@ -8061,7 +8279,7 @@ export class Api<
8061
8279
  method: "PUT",
8062
8280
  body: data,
8063
8281
  secure: true,
8064
- type: ContentType.Json,
8282
+ type: "application/json",
8065
8283
  ...params,
8066
8284
  }),
8067
8285
 
@@ -8104,7 +8322,7 @@ export class Api<
8104
8322
  method: "PUT",
8105
8323
  body: data,
8106
8324
  secure: true,
8107
- type: ContentType.Json,
8325
+ type: "application/json",
8108
8326
  format: "json",
8109
8327
  ...params,
8110
8328
  }),
@@ -8145,7 +8363,7 @@ export class Api<
8145
8363
  method: "POST",
8146
8364
  body: data,
8147
8365
  secure: true,
8148
- type: ContentType.Json,
8366
+ type: "application/json",
8149
8367
  format: "json",
8150
8368
  ...params,
8151
8369
  }),
@@ -8192,7 +8410,7 @@ export class Api<
8192
8410
  method: "PUT",
8193
8411
  body: data,
8194
8412
  secure: true,
8195
- type: ContentType.Json,
8413
+ type: "application/json",
8196
8414
  format: "json",
8197
8415
  ...params,
8198
8416
  }),
@@ -8258,7 +8476,7 @@ export class Api<
8258
8476
  method: "PUT",
8259
8477
  body: data,
8260
8478
  secure: true,
8261
- type: ContentType.Json,
8479
+ type: "application/json",
8262
8480
  format: "json",
8263
8481
  ...params,
8264
8482
  }),
@@ -8303,7 +8521,7 @@ export class Api<
8303
8521
  method: "POST",
8304
8522
  body: data,
8305
8523
  secure: true,
8306
- type: ContentType.JsonPatch,
8524
+ type: "application/json",
8307
8525
  format: "json",
8308
8526
  ...params,
8309
8527
  }),
@@ -8366,7 +8584,7 @@ export class Api<
8366
8584
  method: "PUT",
8367
8585
  body: data,
8368
8586
  secure: true,
8369
- type: ContentType.Json,
8587
+ type: "application/json",
8370
8588
  format: "json",
8371
8589
  ...params,
8372
8590
  }),
@@ -8588,7 +8806,7 @@ export class Api<
8588
8806
  method: "POST",
8589
8807
  body: data,
8590
8808
  secure: true,
8591
- type: ContentType.Json,
8809
+ type: "application/json",
8592
8810
  format: "json",
8593
8811
  ...params,
8594
8812
  }),
@@ -8635,7 +8853,7 @@ export class Api<
8635
8853
  method: "PUT",
8636
8854
  body: data,
8637
8855
  secure: true,
8638
- type: ContentType.Json,
8856
+ type: "application/json",
8639
8857
  format: "json",
8640
8858
  ...params,
8641
8859
  }),
@@ -8698,7 +8916,7 @@ export class Api<
8698
8916
  method: "POST",
8699
8917
  body: data,
8700
8918
  secure: true,
8701
- type: ContentType.JsonPatch,
8919
+ type: "application/json",
8702
8920
  format: "json",
8703
8921
  ...params,
8704
8922
  }),
@@ -8779,7 +8997,7 @@ export class Api<
8779
8997
  method: "PATCH",
8780
8998
  body: data,
8781
8999
  secure: true,
8782
- type: ContentType.JsonPatch,
9000
+ type: "application/json",
8783
9001
  format: "json",
8784
9002
  ...params,
8785
9003
  }),
@@ -8879,7 +9097,7 @@ export class Api<
8879
9097
  method: "PUT",
8880
9098
  body: data,
8881
9099
  secure: true,
8882
- type: ContentType.Json,
9100
+ type: "application/json",
8883
9101
  format: "json",
8884
9102
  ...params,
8885
9103
  }),
@@ -9007,7 +9225,7 @@ export class Api<
9007
9225
  method: "POST",
9008
9226
  body: data,
9009
9227
  secure: true,
9010
- type: ContentType.Json,
9228
+ type: "application/json",
9011
9229
  format: "json",
9012
9230
  ...params,
9013
9231
  }),
@@ -9054,7 +9272,7 @@ export class Api<
9054
9272
  method: "PUT",
9055
9273
  body: data,
9056
9274
  secure: true,
9057
- type: ContentType.Json,
9275
+ type: "application/json",
9058
9276
  format: "json",
9059
9277
  ...params,
9060
9278
  }),
@@ -9152,7 +9370,7 @@ export class Api<
9152
9370
  query: query,
9153
9371
  body: data,
9154
9372
  secure: true,
9155
- type: ContentType.JsonPatch,
9373
+ type: "application/json",
9156
9374
  format: "json",
9157
9375
  ...params,
9158
9376
  }),
@@ -9228,7 +9446,7 @@ export class Api<
9228
9446
  method: "PUT",
9229
9447
  body: data,
9230
9448
  secure: true,
9231
- type: ContentType.Json,
9449
+ type: "application/json",
9232
9450
  format: "json",
9233
9451
  ...params,
9234
9452
  }),
@@ -9273,7 +9491,7 @@ export class Api<
9273
9491
  method: "POST",
9274
9492
  body: data,
9275
9493
  secure: true,
9276
- type: ContentType.Json,
9494
+ type: "application/json",
9277
9495
  format: "json",
9278
9496
  ...params,
9279
9497
  }),
@@ -9321,7 +9539,7 @@ export class Api<
9321
9539
  method: "PUT",
9322
9540
  body: data,
9323
9541
  secure: true,
9324
- type: ContentType.Json,
9542
+ type: "application/json",
9325
9543
  format: "json",
9326
9544
  ...params,
9327
9545
  }),
@@ -9442,7 +9660,7 @@ export class Api<
9442
9660
  query: query,
9443
9661
  body: data,
9444
9662
  secure: true,
9445
- type: ContentType.JsonPatch,
9663
+ type: "application/json",
9446
9664
  format: "json",
9447
9665
  ...params,
9448
9666
  }),
@@ -9457,32 +9675,140 @@ export class Api<
9457
9675
  * @secure
9458
9676
  * @response `200` `(AuditEntityType)[]` OK
9459
9677
  */
9460
- getAuditLogEntityTypes: (params: RequestParams = {}) =>
9461
- this.request<AuditEntityType[], any>({
9462
- path: `/api/audit-logs/entity-types`,
9463
- method: "GET",
9678
+ getAuditLogEntityTypes: (params: RequestParams = {}) =>
9679
+ this.request<AuditEntityType[], any>({
9680
+ path: `/api/audit-logs/entity-types`,
9681
+ method: "GET",
9682
+ secure: true,
9683
+ format: "json",
9684
+ ...params,
9685
+ }),
9686
+
9687
+ /**
9688
+ * No description
9689
+ *
9690
+ * @tags AuditLog
9691
+ * @name GetAuditLogById
9692
+ * @summary Get by ID
9693
+ * @request GET:/api/audit-logs/{id}
9694
+ * @secure
9695
+ * @response `200` `AuditLogEntry` OK
9696
+ * @response `404` `ProblemDetails` Not Found
9697
+ */
9698
+ getAuditLogById: (id: string, params: RequestParams = {}) =>
9699
+ this.request<AuditLogEntry, ProblemDetails>({
9700
+ path: `/api/audit-logs/${id}`,
9701
+ method: "GET",
9702
+ secure: true,
9703
+ format: "json",
9704
+ ...params,
9705
+ }),
9706
+
9707
+ /**
9708
+ * No description
9709
+ *
9710
+ * @tags Auth
9711
+ * @name AuthForgotPassword
9712
+ * @summary Forgot Password (branded)
9713
+ * @request POST:/api/auth/forgot-password
9714
+ * @secure
9715
+ * @response `204` `void` No Content
9716
+ * @response `422` `UnprocessableEntity` Unprocessable Content
9717
+ */
9718
+ authForgotPassword: (
9719
+ data: SendForgotPasswordRequest,
9720
+ params: RequestParams = {},
9721
+ ) =>
9722
+ this.request<void, UnprocessableEntity>({
9723
+ path: `/api/auth/forgot-password`,
9724
+ method: "POST",
9725
+ body: data,
9726
+ secure: true,
9727
+ type: "application/json",
9728
+ ...params,
9729
+ }),
9730
+
9731
+ /**
9732
+ * No description
9733
+ *
9734
+ * @tags Auth
9735
+ * @name AuthResetPassword
9736
+ * @summary Reset Password (branded)
9737
+ * @request POST:/api/auth/reset-password
9738
+ * @secure
9739
+ * @response `204` `void` No Content
9740
+ * @response `422` `UnprocessableEntity` Unprocessable Content
9741
+ */
9742
+ authResetPassword: (
9743
+ data: ResetPasswordRequest,
9744
+ params: RequestParams = {},
9745
+ ) =>
9746
+ this.request<void, UnprocessableEntity>({
9747
+ path: `/api/auth/reset-password`,
9748
+ method: "POST",
9749
+ body: data,
9750
+ secure: true,
9751
+ type: "application/json",
9752
+ ...params,
9753
+ }),
9754
+
9755
+ /**
9756
+ * No description
9757
+ *
9758
+ * @tags Auth
9759
+ * @name AuthSetPassword
9760
+ * @summary Set Password (branded account setup)
9761
+ * @request POST:/api/auth/set-password
9762
+ * @secure
9763
+ * @response `204` `void` No Content
9764
+ * @response `422` `UnprocessableEntity` Unprocessable Content
9765
+ */
9766
+ authSetPassword: (data: SetPasswordRequest, params: RequestParams = {}) =>
9767
+ this.request<void, UnprocessableEntity>({
9768
+ path: `/api/auth/set-password`,
9769
+ method: "POST",
9770
+ body: data,
9771
+ secure: true,
9772
+ type: "application/json",
9773
+ ...params,
9774
+ }),
9775
+
9776
+ /**
9777
+ * No description
9778
+ *
9779
+ * @tags Auth
9780
+ * @name AuthSendVerificationEmail
9781
+ * @summary Send branded email-verification link to the current user
9782
+ * @request POST:/api/auth/send-verification-email
9783
+ * @secure
9784
+ * @response `204` `void` No Content
9785
+ */
9786
+ authSendVerificationEmail: (params: RequestParams = {}) =>
9787
+ this.request<void, any>({
9788
+ path: `/api/auth/send-verification-email`,
9789
+ method: "POST",
9464
9790
  secure: true,
9465
- format: "json",
9466
9791
  ...params,
9467
9792
  }),
9468
9793
 
9469
9794
  /**
9470
9795
  * No description
9471
9796
  *
9472
- * @tags AuditLog
9473
- * @name GetAuditLogById
9474
- * @summary Get by ID
9475
- * @request GET:/api/audit-logs/{id}
9797
+ * @tags Auth
9798
+ * @name AuthVerifyEmail
9799
+ * @summary Verify Email (branded)
9800
+ * @request POST:/api/auth/verify-email
9476
9801
  * @secure
9477
- * @response `200` `AuditLogEntry` OK
9478
- * @response `404` `ProblemDetails` Not Found
9802
+ * @response `204` `void` No Content
9803
+ * @response `422` `UnprocessableEntity` Unprocessable Content
9479
9804
  */
9480
- getAuditLogById: (id: string, params: RequestParams = {}) =>
9481
- this.request<AuditLogEntry, ProblemDetails>({
9482
- path: `/api/audit-logs/${id}`,
9483
- method: "GET",
9805
+ authVerifyEmail: (data: VerifyEmailRequest, params: RequestParams = {}) =>
9806
+ this.request<void, UnprocessableEntity>({
9807
+ path: `/api/auth/verify-email`,
9808
+ method: "POST",
9809
+ body: data,
9484
9810
  secure: true,
9485
- format: "json",
9811
+ type: "application/json",
9486
9812
  ...params,
9487
9813
  }),
9488
9814
 
@@ -9507,7 +9833,7 @@ export class Api<
9507
9833
  method: "POST",
9508
9834
  body: data,
9509
9835
  secure: true,
9510
- type: ContentType.Json,
9836
+ type: "application/json",
9511
9837
  format: "json",
9512
9838
  ...params,
9513
9839
  }),
@@ -9529,7 +9855,7 @@ export class Api<
9529
9855
  method: "POST",
9530
9856
  body: data,
9531
9857
  secure: true,
9532
- type: ContentType.Json,
9858
+ type: "application/json",
9533
9859
  format: "json",
9534
9860
  ...params,
9535
9861
  }),
@@ -9554,7 +9880,7 @@ export class Api<
9554
9880
  method: "POST",
9555
9881
  body: data,
9556
9882
  secure: true,
9557
- type: ContentType.Json,
9883
+ type: "application/json",
9558
9884
  format: "json",
9559
9885
  ...params,
9560
9886
  }),
@@ -9576,7 +9902,7 @@ export class Api<
9576
9902
  method: "POST",
9577
9903
  body: data,
9578
9904
  secure: true,
9579
- type: ContentType.Json,
9905
+ type: "application/json",
9580
9906
  format: "json",
9581
9907
  ...params,
9582
9908
  }),
@@ -9598,7 +9924,7 @@ export class Api<
9598
9924
  method: "POST",
9599
9925
  body: data,
9600
9926
  secure: true,
9601
- type: ContentType.Json,
9927
+ type: "application/json",
9602
9928
  format: "json",
9603
9929
  ...params,
9604
9930
  }),
@@ -9671,7 +9997,7 @@ export class Api<
9671
9997
  method: "POST",
9672
9998
  body: data,
9673
9999
  secure: true,
9674
- type: ContentType.Json,
10000
+ type: "application/json",
9675
10001
  format: "json",
9676
10002
  ...params,
9677
10003
  }),
@@ -9704,7 +10030,7 @@ export class Api<
9704
10030
  query: query,
9705
10031
  body: data,
9706
10032
  secure: true,
9707
- type: ContentType.Json,
10033
+ type: "application/json",
9708
10034
  format: "json",
9709
10035
  ...params,
9710
10036
  }),
@@ -9749,7 +10075,7 @@ export class Api<
9749
10075
  method: "PUT",
9750
10076
  body: data,
9751
10077
  secure: true,
9752
- type: ContentType.Json,
10078
+ type: "application/json",
9753
10079
  format: "json",
9754
10080
  ...params,
9755
10081
  }),
@@ -9812,7 +10138,7 @@ export class Api<
9812
10138
  method: "POST",
9813
10139
  body: data,
9814
10140
  secure: true,
9815
- type: ContentType.Json,
10141
+ type: "application/json",
9816
10142
  format: "json",
9817
10143
  ...params,
9818
10144
  }),
@@ -9866,7 +10192,7 @@ export class Api<
9866
10192
  query: query,
9867
10193
  body: data,
9868
10194
  secure: true,
9869
- type: ContentType.Json,
10195
+ type: "application/json",
9870
10196
  format: "json",
9871
10197
  ...params,
9872
10198
  }),
@@ -9935,7 +10261,7 @@ export class Api<
9935
10261
  method: "POST",
9936
10262
  body: data,
9937
10263
  secure: true,
9938
- type: ContentType.Json,
10264
+ type: "application/json",
9939
10265
  format: "json",
9940
10266
  ...params,
9941
10267
  }),
@@ -9980,7 +10306,7 @@ export class Api<
9980
10306
  method: "PUT",
9981
10307
  body: data,
9982
10308
  secure: true,
9983
- type: ContentType.Json,
10309
+ type: "application/json",
9984
10310
  format: "json",
9985
10311
  ...params,
9986
10312
  }),
@@ -10041,322 +10367,7 @@ export class Api<
10041
10367
  method: "POST",
10042
10368
  body: data,
10043
10369
  secure: true,
10044
- type: ContentType.Json,
10045
- format: "json",
10046
- ...params,
10047
- }),
10048
-
10049
- /**
10050
- * No description
10051
- *
10052
- * @tags CompanyDocumentFolders
10053
- * @name GetCompanyDocumentFolders
10054
- * @summary Get all company document folders
10055
- * @request GET:/api/company-document-folders
10056
- * @secure
10057
- * @response `200` `(CompanyDocumentFolder)[]` OK
10058
- */
10059
- getCompanyDocumentFolders: (params: RequestParams = {}) =>
10060
- this.request<CompanyDocumentFolder[], any>({
10061
- path: `/api/company-document-folders`,
10062
- method: "GET",
10063
- secure: true,
10064
- format: "json",
10065
- ...params,
10066
- }),
10067
-
10068
- /**
10069
- * No description
10070
- *
10071
- * @tags CompanyDocumentFolders
10072
- * @name CreateCompanyDocumentFolder
10073
- * @summary Create company document folder
10074
- * @request POST:/api/company-document-folders
10075
- * @secure
10076
- * @response `201` `CompanyDocumentFolder` Created
10077
- * @response `400` `ProblemDetails` Bad Request
10078
- * @response `409` `ProblemDetails` Conflict
10079
- */
10080
- createCompanyDocumentFolder: (
10081
- data: CreateCompanyDocumentFolderRequest,
10082
- params: RequestParams = {},
10083
- ) =>
10084
- this.request<CompanyDocumentFolder, ProblemDetails>({
10085
- path: `/api/company-document-folders`,
10086
- method: "POST",
10087
- body: data,
10088
- secure: true,
10089
- type: ContentType.Json,
10090
- format: "json",
10091
- ...params,
10092
- }),
10093
-
10094
- /**
10095
- * No description
10096
- *
10097
- * @tags CompanyDocumentFolders
10098
- * @name GetCompanyDocumentFolder
10099
- * @summary Get company document folder by ID
10100
- * @request GET:/api/company-document-folders/{id}
10101
- * @secure
10102
- * @response `200` `CompanyDocumentFolder` OK
10103
- * @response `404` `ProblemDetails` Not Found
10104
- */
10105
- getCompanyDocumentFolder: (id: string, params: RequestParams = {}) =>
10106
- this.request<CompanyDocumentFolder, ProblemDetails>({
10107
- path: `/api/company-document-folders/${id}`,
10108
- method: "GET",
10109
- secure: true,
10110
- format: "json",
10111
- ...params,
10112
- }),
10113
-
10114
- /**
10115
- * No description
10116
- *
10117
- * @tags CompanyDocumentFolders
10118
- * @name UpdateCompanyDocumentFolder
10119
- * @summary Update company document folder
10120
- * @request PUT:/api/company-document-folders/{id}
10121
- * @secure
10122
- * @response `200` `CompanyDocumentFolder` OK
10123
- * @response `400` `ProblemDetails` Bad Request
10124
- * @response `404` `ProblemDetails` Not Found
10125
- * @response `409` `ProblemDetails` Conflict
10126
- */
10127
- updateCompanyDocumentFolder: (
10128
- id: string,
10129
- data: UpdateCompanyDocumentFolderRequest,
10130
- params: RequestParams = {},
10131
- ) =>
10132
- this.request<CompanyDocumentFolder, ProblemDetails>({
10133
- path: `/api/company-document-folders/${id}`,
10134
- method: "PUT",
10135
- body: data,
10136
- secure: true,
10137
- type: ContentType.Json,
10138
- format: "json",
10139
- ...params,
10140
- }),
10141
-
10142
- /**
10143
- * No description
10144
- *
10145
- * @tags CompanyDocumentFolders
10146
- * @name DeleteCompanyDocumentFolder
10147
- * @summary Delete company document folder
10148
- * @request DELETE:/api/company-document-folders/{id}
10149
- * @secure
10150
- * @response `204` `void` No Content
10151
- * @response `400` `ProblemDetails` Bad Request
10152
- * @response `404` `ProblemDetails` Not Found
10153
- * @response `409` `ProblemDetails` Conflict
10154
- */
10155
- deleteCompanyDocumentFolder: (id: string, params: RequestParams = {}) =>
10156
- this.request<void, ProblemDetails>({
10157
- path: `/api/company-document-folders/${id}`,
10158
- method: "DELETE",
10159
- secure: true,
10160
- ...params,
10161
- }),
10162
-
10163
- /**
10164
- * No description
10165
- *
10166
- * @tags CompanyDocuments
10167
- * @name SearchCompanyDocuments
10168
- * @summary Search company documents
10169
- * @request POST:/api/company-documents/search
10170
- * @secure
10171
- * @response `200` `CompanyDocumentPaginated` OK
10172
- * @response `400` `ProblemDetails` Bad Request
10173
- */
10174
- searchCompanyDocuments: (
10175
- data: CompanyDocumentSearchCriteria,
10176
- query?: {
10177
- /** @format int32 */
10178
- pageSize?: number;
10179
- /** @format int32 */
10180
- pageNumber?: number;
10181
- sortBy?: string;
10182
- sortDirection?: string;
10183
- },
10184
- params: RequestParams = {},
10185
- ) =>
10186
- this.request<CompanyDocumentPaginated, ProblemDetails>({
10187
- path: `/api/company-documents/search`,
10188
- method: "POST",
10189
- query: query,
10190
- body: data,
10191
- secure: true,
10192
- type: ContentType.Json,
10193
- format: "json",
10194
- ...params,
10195
- }),
10196
-
10197
- /**
10198
- * No description
10199
- *
10200
- * @tags CompanyDocuments
10201
- * @name GetCompanyDocument
10202
- * @summary Get company document by ID
10203
- * @request GET:/api/company-documents/{id}
10204
- * @secure
10205
- * @response `200` `CompanyDocument` OK
10206
- * @response `404` `ProblemDetails` Not Found
10207
- */
10208
- getCompanyDocument: (id: string, params: RequestParams = {}) =>
10209
- this.request<CompanyDocument, ProblemDetails>({
10210
- path: `/api/company-documents/${id}`,
10211
- method: "GET",
10212
- secure: true,
10213
- format: "json",
10214
- ...params,
10215
- }),
10216
-
10217
- /**
10218
- * No description
10219
- *
10220
- * @tags CompanyDocuments
10221
- * @name UpdateCompanyDocument
10222
- * @summary Update company document
10223
- * @request PUT:/api/company-documents/{id}
10224
- * @secure
10225
- * @response `200` `CompanyDocument` OK
10226
- * @response `400` `ProblemDetails` Bad Request
10227
- * @response `404` `ProblemDetails` Not Found
10228
- * @response `409` `ProblemDetails` Conflict
10229
- */
10230
- updateCompanyDocument: (
10231
- id: string,
10232
- data: UpdateCompanyDocumentRequest,
10233
- params: RequestParams = {},
10234
- ) =>
10235
- this.request<CompanyDocument, ProblemDetails>({
10236
- path: `/api/company-documents/${id}`,
10237
- method: "PUT",
10238
- body: data,
10239
- secure: true,
10240
- type: ContentType.Json,
10241
- format: "json",
10242
- ...params,
10243
- }),
10244
-
10245
- /**
10246
- * No description
10247
- *
10248
- * @tags CompanyDocuments
10249
- * @name DeleteCompanyDocument
10250
- * @summary Delete company document
10251
- * @request DELETE:/api/company-documents/{id}
10252
- * @secure
10253
- * @response `204` `void` No Content
10254
- * @response `404` `ProblemDetails` Not Found
10255
- */
10256
- deleteCompanyDocument: (id: string, params: RequestParams = {}) =>
10257
- this.request<void, ProblemDetails>({
10258
- path: `/api/company-documents/${id}`,
10259
- method: "DELETE",
10260
- secure: true,
10261
- ...params,
10262
- }),
10263
-
10264
- /**
10265
- * No description
10266
- *
10267
- * @tags CompanyDocuments
10268
- * @name DownloadCompanyDocument
10269
- * @summary Download company document
10270
- * @request GET:/api/company-documents/{id}/download
10271
- * @secure
10272
- * @response `200` `void` OK
10273
- * @response `404` `ProblemDetails` Not Found
10274
- */
10275
- downloadCompanyDocument: (id: string, params: RequestParams = {}) =>
10276
- this.request<void, ProblemDetails>({
10277
- path: `/api/company-documents/${id}/download`,
10278
- method: "GET",
10279
- secure: true,
10280
- ...params,
10281
- }),
10282
-
10283
- /**
10284
- * No description
10285
- *
10286
- * @tags CompanyDocuments
10287
- * @name CreateCompanyDocument
10288
- * @summary Upload company document
10289
- * @request POST:/api/company-documents
10290
- * @secure
10291
- * @response `201` `CompanyDocument` Created
10292
- * @response `400` `ProblemDetails` Bad Request
10293
- * @response `404` `ProblemDetails` Not Found
10294
- * @response `409` `ProblemDetails` Conflict
10295
- */
10296
- createCompanyDocument: (
10297
- data: {
10298
- /** @format binary */
10299
- file?: File;
10300
- /** @format uuid */
10301
- folderID?: string;
10302
- name?: string;
10303
- },
10304
- params: RequestParams = {},
10305
- ) =>
10306
- this.request<CompanyDocument, ProblemDetails>({
10307
- path: `/api/company-documents`,
10308
- method: "POST",
10309
- body: data,
10310
- secure: true,
10311
- type: ContentType.FormData,
10312
- format: "json",
10313
- ...params,
10314
- }),
10315
-
10316
- /**
10317
- * No description
10318
- *
10319
- * @tags CompanyDocuments
10320
- * @name CreateCompanyTextDocument
10321
- * @summary Create free-form text company document
10322
- * @request POST:/api/company-documents/text
10323
- * @secure
10324
- * @response `201` `CompanyDocument` Created
10325
- * @response `400` `ProblemDetails` Bad Request
10326
- * @response `404` `ProblemDetails` Not Found
10327
- * @response `409` `ProblemDetails` Conflict
10328
- */
10329
- createCompanyTextDocument: (
10330
- data: CreateCompanyTextDocumentRequest,
10331
- params: RequestParams = {},
10332
- ) =>
10333
- this.request<CompanyDocument, ProblemDetails>({
10334
- path: `/api/company-documents/text`,
10335
- method: "POST",
10336
- body: data,
10337
- secure: true,
10338
- type: ContentType.Json,
10339
- format: "json",
10340
- ...params,
10341
- }),
10342
-
10343
- /**
10344
- * No description
10345
- *
10346
- * @tags CompanyDocuments
10347
- * @name ReindexCompanyDocument
10348
- * @summary Re-index a failed company document
10349
- * @request POST:/api/company-documents/{id}/reindex
10350
- * @secure
10351
- * @response `200` `CompanyDocument` OK
10352
- * @response `400` `ProblemDetails` Bad Request
10353
- * @response `404` `ProblemDetails` Not Found
10354
- */
10355
- reindexCompanyDocument: (id: string, params: RequestParams = {}) =>
10356
- this.request<CompanyDocument, ProblemDetails>({
10357
- path: `/api/company-documents/${id}/reindex`,
10358
- method: "POST",
10359
- secure: true,
10370
+ type: "application/json",
10360
10371
  format: "json",
10361
10372
  ...params,
10362
10373
  }),
@@ -10455,7 +10466,7 @@ export class Api<
10455
10466
  method: "POST",
10456
10467
  body: data,
10457
10468
  secure: true,
10458
- type: ContentType.Json,
10469
+ type: "application/json",
10459
10470
  format: "json",
10460
10471
  ...params,
10461
10472
  }),
@@ -10488,7 +10499,7 @@ export class Api<
10488
10499
  query: query,
10489
10500
  body: data,
10490
10501
  secure: true,
10491
- type: ContentType.Json,
10502
+ type: "application/json",
10492
10503
  format: "json",
10493
10504
  ...params,
10494
10505
  }),
@@ -10533,7 +10544,7 @@ export class Api<
10533
10544
  method: "PUT",
10534
10545
  body: data,
10535
10546
  secure: true,
10536
- type: ContentType.Json,
10547
+ type: "application/json",
10537
10548
  format: "json",
10538
10549
  ...params,
10539
10550
  }),
@@ -10595,7 +10606,7 @@ export class Api<
10595
10606
  method: "POST",
10596
10607
  body: data,
10597
10608
  secure: true,
10598
- type: ContentType.Json,
10609
+ type: "application/json",
10599
10610
  format: "json",
10600
10611
  ...params,
10601
10612
  }),
@@ -10649,7 +10660,7 @@ export class Api<
10649
10660
  query: query,
10650
10661
  body: data,
10651
10662
  secure: true,
10652
- type: ContentType.Json,
10663
+ type: "application/json",
10653
10664
  format: "json",
10654
10665
  ...params,
10655
10666
  }),
@@ -10704,7 +10715,7 @@ export class Api<
10704
10715
  */
10705
10716
  getCustomFieldDefinitions: (
10706
10717
  query?: {
10707
- entityType?: "Loan";
10718
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
10708
10719
  },
10709
10720
  params: RequestParams = {},
10710
10721
  ) =>
@@ -10738,7 +10749,7 @@ export class Api<
10738
10749
  method: "POST",
10739
10750
  body: data,
10740
10751
  secure: true,
10741
- type: ContentType.Json,
10752
+ type: "application/json",
10742
10753
  format: "json",
10743
10754
  ...params,
10744
10755
  }),
@@ -10787,7 +10798,7 @@ export class Api<
10787
10798
  method: "PUT",
10788
10799
  body: data,
10789
10800
  secure: true,
10790
- type: ContentType.Json,
10801
+ type: "application/json",
10791
10802
  format: "json",
10792
10803
  ...params,
10793
10804
  }),
@@ -10921,7 +10932,7 @@ export class Api<
10921
10932
  method: "PUT",
10922
10933
  body: data,
10923
10934
  secure: true,
10924
- type: ContentType.Json,
10935
+ type: "application/json",
10925
10936
  format: "json",
10926
10937
  ...params,
10927
10938
  }),
@@ -11040,7 +11051,7 @@ export class Api<
11040
11051
  method: "POST",
11041
11052
  body: data,
11042
11053
  secure: true,
11043
- type: ContentType.Json,
11054
+ type: "application/json",
11044
11055
  format: "json",
11045
11056
  ...params,
11046
11057
  }),
@@ -11117,7 +11128,7 @@ export class Api<
11117
11128
  method: "PUT",
11118
11129
  body: data,
11119
11130
  secure: true,
11120
- type: ContentType.Json,
11131
+ type: "application/json",
11121
11132
  format: "json",
11122
11133
  ...params,
11123
11134
  }),
@@ -11204,7 +11215,7 @@ export class Api<
11204
11215
  method: "POST",
11205
11216
  body: data,
11206
11217
  secure: true,
11207
- type: ContentType.Json,
11218
+ type: "application/json",
11208
11219
  format: "json",
11209
11220
  ...params,
11210
11221
  }),
@@ -11253,7 +11264,7 @@ export class Api<
11253
11264
  method: "PUT",
11254
11265
  body: data,
11255
11266
  secure: true,
11256
- type: ContentType.Json,
11267
+ type: "application/json",
11257
11268
  format: "json",
11258
11269
  ...params,
11259
11270
  }),
@@ -11328,7 +11339,7 @@ export class Api<
11328
11339
  method: "POST",
11329
11340
  body: data,
11330
11341
  secure: true,
11331
- type: ContentType.Json,
11342
+ type: "application/json",
11332
11343
  format: "json",
11333
11344
  ...params,
11334
11345
  }),
@@ -11545,7 +11556,7 @@ export class Api<
11545
11556
  method: "POST",
11546
11557
  body: data,
11547
11558
  secure: true,
11548
- type: ContentType.Json,
11559
+ type: "application/json",
11549
11560
  format: "json",
11550
11561
  ...params,
11551
11562
  }),
@@ -11608,7 +11619,7 @@ export class Api<
11608
11619
  method: "POST",
11609
11620
  body: data,
11610
11621
  secure: true,
11611
- type: ContentType.FormData,
11622
+ type: "multipart/form-data",
11612
11623
  format: "json",
11613
11624
  ...params,
11614
11625
  }),
@@ -11649,7 +11660,7 @@ export class Api<
11649
11660
  method: "PUT",
11650
11661
  body: data,
11651
11662
  secure: true,
11652
- type: ContentType.Json,
11663
+ type: "application/json",
11653
11664
  format: "json",
11654
11665
  ...params,
11655
11666
  }),
@@ -11700,7 +11711,7 @@ export class Api<
11700
11711
  query: query,
11701
11712
  body: data,
11702
11713
  secure: true,
11703
- type: ContentType.Json,
11714
+ type: "application/json",
11704
11715
  format: "json",
11705
11716
  ...params,
11706
11717
  }),
@@ -11747,7 +11758,7 @@ export class Api<
11747
11758
  method: "POST",
11748
11759
  body: data,
11749
11760
  secure: true,
11750
- type: ContentType.Json,
11761
+ type: "application/json",
11751
11762
  format: "json",
11752
11763
  ...params,
11753
11764
  }),
@@ -11788,7 +11799,7 @@ export class Api<
11788
11799
  method: "PUT",
11789
11800
  body: data,
11790
11801
  secure: true,
11791
- type: ContentType.Json,
11802
+ type: "application/json",
11792
11803
  format: "json",
11793
11804
  ...params,
11794
11805
  }),
@@ -11854,7 +11865,7 @@ export class Api<
11854
11865
  method: "POST",
11855
11866
  body: data,
11856
11867
  secure: true,
11857
- type: ContentType.FormData,
11868
+ type: "multipart/form-data",
11858
11869
  format: "json",
11859
11870
  ...params,
11860
11871
  }),
@@ -11962,7 +11973,7 @@ export class Api<
11962
11973
  query: query,
11963
11974
  body: data,
11964
11975
  secure: true,
11965
- type: ContentType.Json,
11976
+ type: "application/json",
11966
11977
  format: "json",
11967
11978
  ...params,
11968
11979
  }),
@@ -12006,7 +12017,7 @@ export class Api<
12006
12017
  method: "PUT",
12007
12018
  body: data,
12008
12019
  secure: true,
12009
- type: ContentType.Json,
12020
+ type: "application/json",
12010
12021
  format: "json",
12011
12022
  ...params,
12012
12023
  }),
@@ -12057,7 +12068,7 @@ export class Api<
12057
12068
  query: query,
12058
12069
  body: data,
12059
12070
  secure: true,
12060
- type: ContentType.Json,
12071
+ type: "application/json",
12061
12072
  format: "json",
12062
12073
  ...params,
12063
12074
  }),
@@ -12101,7 +12112,7 @@ export class Api<
12101
12112
  method: "POST",
12102
12113
  body: data,
12103
12114
  secure: true,
12104
- type: ContentType.Json,
12115
+ type: "application/json",
12105
12116
  format: "json",
12106
12117
  ...params,
12107
12118
  }),
@@ -12146,7 +12157,7 @@ export class Api<
12146
12157
  method: "PUT",
12147
12158
  body: data,
12148
12159
  secure: true,
12149
- type: ContentType.Json,
12160
+ type: "application/json",
12150
12161
  format: "json",
12151
12162
  ...params,
12152
12163
  }),
@@ -12234,7 +12245,7 @@ export class Api<
12234
12245
  method: "PATCH",
12235
12246
  body: data,
12236
12247
  secure: true,
12237
- type: ContentType.JsonPatch,
12248
+ type: "application/json",
12238
12249
  format: "json",
12239
12250
  ...params,
12240
12251
  }),
@@ -12255,7 +12266,7 @@ export class Api<
12255
12266
  method: "POST",
12256
12267
  body: data,
12257
12268
  secure: true,
12258
- type: ContentType.Json,
12269
+ type: "application/json",
12259
12270
  format: "json",
12260
12271
  ...params,
12261
12272
  }),
@@ -12287,7 +12298,7 @@ export class Api<
12287
12298
  query: query,
12288
12299
  body: data,
12289
12300
  secure: true,
12290
- type: ContentType.Json,
12301
+ type: "application/json",
12291
12302
  format: "json",
12292
12303
  ...params,
12293
12304
  }),
@@ -12318,7 +12329,7 @@ export class Api<
12318
12329
  query: query,
12319
12330
  body: data,
12320
12331
  secure: true,
12321
- type: ContentType.Json,
12332
+ type: "application/json",
12322
12333
  format: "json",
12323
12334
  ...params,
12324
12335
  }),
@@ -12344,7 +12355,7 @@ export class Api<
12344
12355
  method: "PATCH",
12345
12356
  body: data,
12346
12357
  secure: true,
12347
- type: ContentType.JsonPatch,
12358
+ type: "application/json",
12348
12359
  format: "json",
12349
12360
  ...params,
12350
12361
  }),
@@ -12371,7 +12382,7 @@ export class Api<
12371
12382
  method: "PATCH",
12372
12383
  body: data,
12373
12384
  secure: true,
12374
- type: ContentType.JsonPatch,
12385
+ type: "application/json",
12375
12386
  format: "json",
12376
12387
  ...params,
12377
12388
  }),
@@ -12544,7 +12555,7 @@ export class Api<
12544
12555
  method: "POST",
12545
12556
  body: data,
12546
12557
  secure: true,
12547
- type: ContentType.FormData,
12558
+ type: "multipart/form-data",
12548
12559
  format: "json",
12549
12560
  ...params,
12550
12561
  }),
@@ -12569,7 +12580,7 @@ export class Api<
12569
12580
  method: "PATCH",
12570
12581
  body: data,
12571
12582
  secure: true,
12572
- type: ContentType.JsonPatch,
12583
+ type: "application/json",
12573
12584
  format: "json",
12574
12585
  ...params,
12575
12586
  }),
@@ -12624,7 +12635,7 @@ export class Api<
12624
12635
  method: "POST",
12625
12636
  body: data,
12626
12637
  secure: true,
12627
- type: ContentType.FormData,
12638
+ type: "multipart/form-data",
12628
12639
  format: "json",
12629
12640
  ...params,
12630
12641
  }),
@@ -12649,7 +12660,7 @@ export class Api<
12649
12660
  method: "PATCH",
12650
12661
  body: data,
12651
12662
  secure: true,
12652
- type: ContentType.JsonPatch,
12663
+ type: "application/json",
12653
12664
  format: "json",
12654
12665
  ...params,
12655
12666
  }),
@@ -12723,7 +12734,7 @@ export class Api<
12723
12734
  method: "POST",
12724
12735
  body: data,
12725
12736
  secure: true,
12726
- type: ContentType.Json,
12737
+ type: "application/json",
12727
12738
  format: "json",
12728
12739
  ...params,
12729
12740
  }),
@@ -12786,7 +12797,7 @@ export class Api<
12786
12797
  method: "PUT",
12787
12798
  body: data,
12788
12799
  secure: true,
12789
- type: ContentType.Json,
12800
+ type: "application/json",
12790
12801
  format: "json",
12791
12802
  ...params,
12792
12803
  }),
@@ -12837,7 +12848,7 @@ export class Api<
12837
12848
  query: query,
12838
12849
  body: data,
12839
12850
  secure: true,
12840
- type: ContentType.Json,
12851
+ type: "application/json",
12841
12852
  format: "json",
12842
12853
  ...params,
12843
12854
  }),
@@ -12865,7 +12876,7 @@ export class Api<
12865
12876
  method: "PUT",
12866
12877
  body: data,
12867
12878
  secure: true,
12868
- type: ContentType.FormData,
12879
+ type: "multipart/form-data",
12869
12880
  format: "json",
12870
12881
  ...params,
12871
12882
  }),
@@ -12948,7 +12959,7 @@ export class Api<
12948
12959
  method: "POST",
12949
12960
  body: data,
12950
12961
  secure: true,
12951
- type: ContentType.Json,
12962
+ type: "application/json",
12952
12963
  format: "json",
12953
12964
  ...params,
12954
12965
  }),
@@ -12995,7 +13006,7 @@ export class Api<
12995
13006
  method: "POST",
12996
13007
  body: data,
12997
13008
  secure: true,
12998
- type: ContentType.Json,
13009
+ type: "application/json",
12999
13010
  format: "json",
13000
13011
  ...params,
13001
13012
  }),
@@ -13043,7 +13054,7 @@ export class Api<
13043
13054
  method: "POST",
13044
13055
  body: data,
13045
13056
  secure: true,
13046
- type: ContentType.Json,
13057
+ type: "application/json",
13047
13058
  ...params,
13048
13059
  }),
13049
13060
 
@@ -13108,7 +13119,7 @@ export class Api<
13108
13119
  method: "PUT",
13109
13120
  body: data,
13110
13121
  secure: true,
13111
- type: ContentType.Json,
13122
+ type: "application/json",
13112
13123
  ...params,
13113
13124
  }),
13114
13125
 
@@ -13136,7 +13147,7 @@ export class Api<
13136
13147
  method: "PUT",
13137
13148
  body: data,
13138
13149
  secure: true,
13139
- type: ContentType.Json,
13150
+ type: "application/json",
13140
13151
  ...params,
13141
13152
  }),
13142
13153
 
@@ -13202,7 +13213,7 @@ export class Api<
13202
13213
  method: "POST",
13203
13214
  body: data,
13204
13215
  secure: true,
13205
- type: ContentType.Json,
13216
+ type: "application/json",
13206
13217
  format: "json",
13207
13218
  ...params,
13208
13219
  }),
@@ -13247,7 +13258,7 @@ export class Api<
13247
13258
  method: "POST",
13248
13259
  body: data,
13249
13260
  secure: true,
13250
- type: ContentType.Json,
13261
+ type: "application/json",
13251
13262
  format: "json",
13252
13263
  ...params,
13253
13264
  }),
@@ -13296,7 +13307,7 @@ export class Api<
13296
13307
  method: "PUT",
13297
13308
  body: data,
13298
13309
  secure: true,
13299
- type: ContentType.Json,
13310
+ type: "application/json",
13300
13311
  format: "json",
13301
13312
  ...params,
13302
13313
  }),
@@ -13431,7 +13442,7 @@ export class Api<
13431
13442
  method: "POST",
13432
13443
  body: data,
13433
13444
  secure: true,
13434
- type: ContentType.Json,
13445
+ type: "application/json",
13435
13446
  format: "json",
13436
13447
  ...params,
13437
13448
  }),
@@ -13465,7 +13476,7 @@ export class Api<
13465
13476
  query: query,
13466
13477
  body: data,
13467
13478
  secure: true,
13468
- type: ContentType.Json,
13479
+ type: "application/json",
13469
13480
  format: "json",
13470
13481
  ...params,
13471
13482
  }),
@@ -13495,7 +13506,7 @@ export class Api<
13495
13506
  query: query,
13496
13507
  body: data,
13497
13508
  secure: true,
13498
- type: ContentType.Json,
13509
+ type: "application/json",
13499
13510
  format: "json",
13500
13511
  ...params,
13501
13512
  }),
@@ -13508,7 +13519,7 @@ export class Api<
13508
13519
  * @summary Download By ID
13509
13520
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
13510
13521
  * @secure
13511
- * @response `200` `string` OK
13522
+ * @response `200` `Blob` OK
13512
13523
  * @response `404` `ProblemDetails` Not Found
13513
13524
  */
13514
13525
  downloadLoanDocument: (
@@ -13516,7 +13527,7 @@ export class Api<
13516
13527
  documentId: string,
13517
13528
  params: RequestParams = {},
13518
13529
  ) =>
13519
- this.request<string, ProblemDetails>({
13530
+ this.request<Blob, ProblemDetails>({
13520
13531
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
13521
13532
  method: "GET",
13522
13533
  secure: true,
@@ -13553,7 +13564,7 @@ export class Api<
13553
13564
  method: "POST",
13554
13565
  body: data,
13555
13566
  secure: true,
13556
- type: ContentType.FormData,
13567
+ type: "multipart/form-data",
13557
13568
  format: "json",
13558
13569
  ...params,
13559
13570
  }),
@@ -13603,7 +13614,7 @@ export class Api<
13603
13614
  method: "POST",
13604
13615
  body: data,
13605
13616
  secure: true,
13606
- type: ContentType.Json,
13617
+ type: "application/json",
13607
13618
  format: "json",
13608
13619
  ...params,
13609
13620
  }),
@@ -13630,7 +13641,7 @@ export class Api<
13630
13641
  method: "POST",
13631
13642
  body: data,
13632
13643
  secure: true,
13633
- type: ContentType.Json,
13644
+ type: "application/json",
13634
13645
  ...params,
13635
13646
  }),
13636
13647
 
@@ -13677,7 +13688,7 @@ export class Api<
13677
13688
  method: "POST",
13678
13689
  body: data,
13679
13690
  secure: true,
13680
- type: ContentType.Json,
13691
+ type: "application/json",
13681
13692
  format: "json",
13682
13693
  ...params,
13683
13694
  }),
@@ -13722,7 +13733,7 @@ export class Api<
13722
13733
  method: "POST",
13723
13734
  body: data,
13724
13735
  secure: true,
13725
- type: ContentType.Json,
13736
+ type: "application/json",
13726
13737
  format: "json",
13727
13738
  ...params,
13728
13739
  }),
@@ -13785,7 +13796,7 @@ export class Api<
13785
13796
  method: "PUT",
13786
13797
  body: data,
13787
13798
  secure: true,
13788
- type: ContentType.Json,
13799
+ type: "application/json",
13789
13800
  format: "json",
13790
13801
  ...params,
13791
13802
  }),
@@ -13836,7 +13847,7 @@ export class Api<
13836
13847
  query: query,
13837
13848
  body: data,
13838
13849
  secure: true,
13839
- type: ContentType.Json,
13850
+ type: "application/json",
13840
13851
  format: "json",
13841
13852
  ...params,
13842
13853
  }),
@@ -13861,7 +13872,7 @@ export class Api<
13861
13872
  method: "PUT",
13862
13873
  body: data,
13863
13874
  secure: true,
13864
- type: ContentType.Json,
13875
+ type: "application/json",
13865
13876
  format: "json",
13866
13877
  ...params,
13867
13878
  }),
@@ -13936,7 +13947,7 @@ export class Api<
13936
13947
  method: "POST",
13937
13948
  body: data,
13938
13949
  secure: true,
13939
- type: ContentType.Json,
13950
+ type: "application/json",
13940
13951
  format: "json",
13941
13952
  ...params,
13942
13953
  }),
@@ -14032,7 +14043,7 @@ export class Api<
14032
14043
  method: "POST",
14033
14044
  body: data,
14034
14045
  secure: true,
14035
- type: ContentType.Json,
14046
+ type: "application/json",
14036
14047
  format: "json",
14037
14048
  ...params,
14038
14049
  }),
@@ -14066,7 +14077,7 @@ export class Api<
14066
14077
  query: query,
14067
14078
  body: data,
14068
14079
  secure: true,
14069
- type: ContentType.Json,
14080
+ type: "application/json",
14070
14081
  format: "json",
14071
14082
  ...params,
14072
14083
  }),
@@ -14117,7 +14128,7 @@ export class Api<
14117
14128
  method: "POST",
14118
14129
  body: data,
14119
14130
  secure: true,
14120
- type: ContentType.Json,
14131
+ type: "application/json",
14121
14132
  ...params,
14122
14133
  }),
14123
14134
 
@@ -14143,7 +14154,7 @@ export class Api<
14143
14154
  method: "POST",
14144
14155
  body: data,
14145
14156
  secure: true,
14146
- type: ContentType.Json,
14157
+ type: "application/json",
14147
14158
  ...params,
14148
14159
  }),
14149
14160
 
@@ -14206,7 +14217,7 @@ export class Api<
14206
14217
  query: query,
14207
14218
  body: data,
14208
14219
  secure: true,
14209
- type: ContentType.Json,
14220
+ type: "application/json",
14210
14221
  format: "json",
14211
14222
  ...params,
14212
14223
  }),
@@ -14251,7 +14262,7 @@ export class Api<
14251
14262
  method: "POST",
14252
14263
  body: data,
14253
14264
  secure: true,
14254
- type: ContentType.Json,
14265
+ type: "application/json",
14255
14266
  format: "json",
14256
14267
  ...params,
14257
14268
  }),
@@ -14305,7 +14316,7 @@ export class Api<
14305
14316
  query: query,
14306
14317
  body: data,
14307
14318
  secure: true,
14308
- type: ContentType.Json,
14319
+ type: "application/json",
14309
14320
  format: "json",
14310
14321
  ...params,
14311
14322
  }),
@@ -14338,7 +14349,7 @@ export class Api<
14338
14349
  query: query,
14339
14350
  body: data,
14340
14351
  secure: true,
14341
- type: ContentType.Json,
14352
+ type: "application/json",
14342
14353
  format: "json",
14343
14354
  ...params,
14344
14355
  }),
@@ -14384,7 +14395,7 @@ export class Api<
14384
14395
  method: "PUT",
14385
14396
  body: data,
14386
14397
  secure: true,
14387
- type: ContentType.Json,
14398
+ type: "application/json",
14388
14399
  format: "json",
14389
14400
  ...params,
14390
14401
  }),
@@ -14485,7 +14496,7 @@ export class Api<
14485
14496
  method: "POST",
14486
14497
  body: data,
14487
14498
  secure: true,
14488
- type: ContentType.Json,
14499
+ type: "application/json",
14489
14500
  format: "json",
14490
14501
  ...params,
14491
14502
  }),
@@ -14518,7 +14529,7 @@ export class Api<
14518
14529
  query: query,
14519
14530
  body: data,
14520
14531
  secure: true,
14521
- type: ContentType.Json,
14532
+ type: "application/json",
14522
14533
  format: "json",
14523
14534
  ...params,
14524
14535
  }),
@@ -14548,7 +14559,7 @@ export class Api<
14548
14559
  method: "PATCH",
14549
14560
  body: data,
14550
14561
  secure: true,
14551
- type: ContentType.JsonPatch,
14562
+ type: "application/json",
14552
14563
  format: "json",
14553
14564
  ...params,
14554
14565
  }),
@@ -14658,7 +14669,7 @@ export class Api<
14658
14669
  method: "POST",
14659
14670
  body: data,
14660
14671
  secure: true,
14661
- type: ContentType.Json,
14672
+ type: "application/json",
14662
14673
  format: "json",
14663
14674
  ...params,
14664
14675
  }),
@@ -14694,7 +14705,7 @@ export class Api<
14694
14705
  query: query,
14695
14706
  body: data,
14696
14707
  secure: true,
14697
- type: ContentType.Json,
14708
+ type: "application/json",
14698
14709
  format: "json",
14699
14710
  ...params,
14700
14711
  }),
@@ -14746,7 +14757,7 @@ export class Api<
14746
14757
  method: "POST",
14747
14758
  body: data,
14748
14759
  secure: true,
14749
- type: ContentType.Json,
14760
+ type: "application/json",
14750
14761
  format: "json",
14751
14762
  ...params,
14752
14763
  }),
@@ -14774,7 +14785,7 @@ export class Api<
14774
14785
  method: "PUT",
14775
14786
  body: data,
14776
14787
  secure: true,
14777
- type: ContentType.Json,
14788
+ type: "application/json",
14778
14789
  format: "json",
14779
14790
  ...params,
14780
14791
  }),
@@ -14833,7 +14844,7 @@ export class Api<
14833
14844
  method: "POST",
14834
14845
  body: data,
14835
14846
  secure: true,
14836
- type: ContentType.FormData,
14847
+ type: "multipart/form-data",
14837
14848
  format: "json",
14838
14849
  ...params,
14839
14850
  }),
@@ -14861,7 +14872,7 @@ export class Api<
14861
14872
  method: "POST",
14862
14873
  body: data,
14863
14874
  secure: true,
14864
- type: ContentType.Json,
14875
+ type: "application/json",
14865
14876
  ...params,
14866
14877
  }),
14867
14878
 
@@ -14887,7 +14898,7 @@ export class Api<
14887
14898
  method: "POST",
14888
14899
  body: data,
14889
14900
  secure: true,
14890
- type: ContentType.Json,
14901
+ type: "application/json",
14891
14902
  ...params,
14892
14903
  }),
14893
14904
 
@@ -14919,7 +14930,7 @@ export class Api<
14919
14930
  query: query,
14920
14931
  body: data,
14921
14932
  secure: true,
14922
- type: ContentType.Json,
14933
+ type: "application/json",
14923
14934
  format: "json",
14924
14935
  ...params,
14925
14936
  }),
@@ -14944,7 +14955,7 @@ export class Api<
14944
14955
  method: "POST",
14945
14956
  body: data,
14946
14957
  secure: true,
14947
- type: ContentType.Json,
14958
+ type: "application/json",
14948
14959
  format: "json",
14949
14960
  ...params,
14950
14961
  }),
@@ -15031,7 +15042,7 @@ export class Api<
15031
15042
  method: "POST",
15032
15043
  body: data,
15033
15044
  secure: true,
15034
- type: ContentType.Json,
15045
+ type: "application/json",
15035
15046
  format: "json",
15036
15047
  ...params,
15037
15048
  }),
@@ -15057,7 +15068,7 @@ export class Api<
15057
15068
  method: "POST",
15058
15069
  body: data,
15059
15070
  secure: true,
15060
- type: ContentType.Json,
15071
+ type: "application/json",
15061
15072
  format: "json",
15062
15073
  ...params,
15063
15074
  }),
@@ -15084,7 +15095,7 @@ export class Api<
15084
15095
  method: "PUT",
15085
15096
  body: data,
15086
15097
  secure: true,
15087
- type: ContentType.Json,
15098
+ type: "application/json",
15088
15099
  format: "json",
15089
15100
  ...params,
15090
15101
  }),
@@ -15201,7 +15212,7 @@ export class Api<
15201
15212
  method: "POST",
15202
15213
  body: data,
15203
15214
  secure: true,
15204
- type: ContentType.Json,
15215
+ type: "application/json",
15205
15216
  format: "json",
15206
15217
  ...params,
15207
15218
  }),
@@ -15279,7 +15290,7 @@ export class Api<
15279
15290
  query: query,
15280
15291
  body: data,
15281
15292
  secure: true,
15282
- type: ContentType.Json,
15293
+ type: "application/json",
15283
15294
  format: "json",
15284
15295
  ...params,
15285
15296
  }),
@@ -15316,7 +15327,7 @@ export class Api<
15316
15327
  query: query,
15317
15328
  body: data,
15318
15329
  secure: true,
15319
- type: ContentType.Json,
15330
+ type: "application/json",
15320
15331
  format: "json",
15321
15332
  ...params,
15322
15333
  }),
@@ -15347,11 +15358,40 @@ export class Api<
15347
15358
  query: query,
15348
15359
  body: data,
15349
15360
  secure: true,
15350
- type: ContentType.Json,
15361
+ type: "application/json",
15351
15362
  format: "json",
15352
15363
  ...params,
15353
15364
  }),
15354
15365
 
15366
+ /**
15367
+ * No description
15368
+ *
15369
+ * @tags LosSyncFailures
15370
+ * @name RedriveInboundSyncFailure
15371
+ * @summary Manually re-drive a failed inbound Encompass sync (SuperAdmin)
15372
+ * @request POST:/api/monitoring/inbound-sync-failures/{correlationId}/redrive
15373
+ * @secure
15374
+ * @response `202` `void` Accepted
15375
+ * @response `401` `ProblemDetails` Unauthorized
15376
+ * @response `403` `ProblemDetails` Forbidden
15377
+ * @response `404` `ProblemDetails` Not Found
15378
+ */
15379
+ redriveInboundSyncFailure: (
15380
+ correlationId: string,
15381
+ query?: {
15382
+ /** @format uuid */
15383
+ accountId?: string;
15384
+ },
15385
+ params: RequestParams = {},
15386
+ ) =>
15387
+ this.request<void, ProblemDetails>({
15388
+ path: `/api/monitoring/inbound-sync-failures/${correlationId}/redrive`,
15389
+ method: "POST",
15390
+ query: query,
15391
+ secure: true,
15392
+ ...params,
15393
+ }),
15394
+
15355
15395
  /**
15356
15396
  * No description
15357
15397
  *
@@ -15391,7 +15431,7 @@ export class Api<
15391
15431
  method: "POST",
15392
15432
  body: data,
15393
15433
  secure: true,
15394
- type: ContentType.Json,
15434
+ type: "application/json",
15395
15435
  format: "json",
15396
15436
  ...params,
15397
15437
  }),
@@ -15438,7 +15478,7 @@ export class Api<
15438
15478
  method: "PUT",
15439
15479
  body: data,
15440
15480
  secure: true,
15441
- type: ContentType.Json,
15481
+ type: "application/json",
15442
15482
  format: "json",
15443
15483
  ...params,
15444
15484
  }),
@@ -15484,7 +15524,7 @@ export class Api<
15484
15524
  method: "POST",
15485
15525
  body: data,
15486
15526
  secure: true,
15487
- type: ContentType.Json,
15527
+ type: "application/json",
15488
15528
  format: "json",
15489
15529
  ...params,
15490
15530
  }),
@@ -15509,7 +15549,7 @@ export class Api<
15509
15549
  method: "POST",
15510
15550
  body: data,
15511
15551
  secure: true,
15512
- type: ContentType.Json,
15552
+ type: "application/json",
15513
15553
  format: "json",
15514
15554
  ...params,
15515
15555
  }),
@@ -15534,7 +15574,7 @@ export class Api<
15534
15574
  method: "POST",
15535
15575
  body: data,
15536
15576
  secure: true,
15537
- type: ContentType.Json,
15577
+ type: "application/json",
15538
15578
  format: "json",
15539
15579
  ...params,
15540
15580
  }),
@@ -15559,7 +15599,7 @@ export class Api<
15559
15599
  method: "POST",
15560
15600
  body: data,
15561
15601
  secure: true,
15562
- type: ContentType.Json,
15602
+ type: "application/json",
15563
15603
  format: "json",
15564
15604
  ...params,
15565
15605
  }),
@@ -15584,7 +15624,7 @@ export class Api<
15584
15624
  method: "POST",
15585
15625
  body: data,
15586
15626
  secure: true,
15587
- type: ContentType.Json,
15627
+ type: "application/json",
15588
15628
  format: "json",
15589
15629
  ...params,
15590
15630
  }),
@@ -15634,7 +15674,7 @@ export class Api<
15634
15674
  method: "POST",
15635
15675
  body: data,
15636
15676
  secure: true,
15637
- type: ContentType.Json,
15677
+ type: "application/json",
15638
15678
  format: "json",
15639
15679
  ...params,
15640
15680
  }),
@@ -15667,7 +15707,7 @@ export class Api<
15667
15707
  query: query,
15668
15708
  body: data,
15669
15709
  secure: true,
15670
- type: ContentType.Json,
15710
+ type: "application/json",
15671
15711
  format: "json",
15672
15712
  ...params,
15673
15713
  }),
@@ -15712,7 +15752,7 @@ export class Api<
15712
15752
  method: "PUT",
15713
15753
  body: data,
15714
15754
  secure: true,
15715
- type: ContentType.Json,
15755
+ type: "application/json",
15716
15756
  format: "json",
15717
15757
  ...params,
15718
15758
  }),
@@ -15796,7 +15836,7 @@ export class Api<
15796
15836
  method: "POST",
15797
15837
  body: data,
15798
15838
  secure: true,
15799
- type: ContentType.Json,
15839
+ type: "application/json",
15800
15840
  format: "json",
15801
15841
  ...params,
15802
15842
  }),
@@ -15845,7 +15885,7 @@ export class Api<
15845
15885
  method: "PUT",
15846
15886
  body: data,
15847
15887
  secure: true,
15848
- type: ContentType.Json,
15888
+ type: "application/json",
15849
15889
  format: "json",
15850
15890
  ...params,
15851
15891
  }),
@@ -15887,16 +15927,7 @@ export class Api<
15887
15927
  query?: {
15888
15928
  showAll?: boolean;
15889
15929
  /** @default "Realtor" */
15890
- role?:
15891
- | "Borrower"
15892
- | "LoanOfficer"
15893
- | "Admin"
15894
- | "SuperAdmin"
15895
- | "Realtor"
15896
- | "SettlementAgent"
15897
- | "LoanProcessor"
15898
- | "LoanOfficerAssistant"
15899
- | "SystemAdmin";
15930
+ role?: GetPartnersParamsRoleEnum;
15900
15931
  /** @format int32 */
15901
15932
  pageSize?: number;
15902
15933
  /** @format int32 */
@@ -15943,7 +15974,7 @@ export class Api<
15943
15974
  query: query,
15944
15975
  body: data,
15945
15976
  secure: true,
15946
- type: ContentType.Json,
15977
+ type: "application/json",
15947
15978
  format: "json",
15948
15979
  ...params,
15949
15980
  }),
@@ -15988,7 +16019,7 @@ export class Api<
15988
16019
  method: "POST",
15989
16020
  body: data,
15990
16021
  secure: true,
15991
- type: ContentType.Json,
16022
+ type: "application/json",
15992
16023
  format: "json",
15993
16024
  ...params,
15994
16025
  }),
@@ -16042,7 +16073,7 @@ export class Api<
16042
16073
  query: query,
16043
16074
  body: data,
16044
16075
  secure: true,
16045
- type: ContentType.Json,
16076
+ type: "application/json",
16046
16077
  format: "json",
16047
16078
  ...params,
16048
16079
  }),
@@ -16087,7 +16118,7 @@ export class Api<
16087
16118
  method: "POST",
16088
16119
  body: data,
16089
16120
  secure: true,
16090
- type: ContentType.Json,
16121
+ type: "application/json",
16091
16122
  format: "json",
16092
16123
  ...params,
16093
16124
  }),
@@ -16139,7 +16170,7 @@ export class Api<
16139
16170
  method: "POST",
16140
16171
  body: data,
16141
16172
  secure: true,
16142
- type: ContentType.Json,
16173
+ type: "application/json",
16143
16174
  format: "json",
16144
16175
  ...params,
16145
16176
  }),
@@ -16196,7 +16227,7 @@ export class Api<
16196
16227
  query: query,
16197
16228
  body: data,
16198
16229
  secure: true,
16199
- type: ContentType.Json,
16230
+ type: "application/json",
16200
16231
  format: "json",
16201
16232
  ...params,
16202
16233
  }),
@@ -16232,7 +16263,7 @@ export class Api<
16232
16263
  * @response `404` `ProblemDetails` Not Found
16233
16264
  */
16234
16265
  getSamlMetadata: (
16235
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
16266
+ sSoIntegration: GetSamlMetadataParamsEnum,
16236
16267
  ssoIntegration: string,
16237
16268
  params: RequestParams = {},
16238
16269
  ) =>
@@ -16254,7 +16285,7 @@ export class Api<
16254
16285
  * @response `200` `File` OK
16255
16286
  */
16256
16287
  createOrReplaceSamlMetadata: (
16257
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
16288
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
16258
16289
  ssoIntegration: string,
16259
16290
  params: RequestParams = {},
16260
16291
  ) =>
@@ -16379,7 +16410,7 @@ export class Api<
16379
16410
  method: "POST",
16380
16411
  body: data,
16381
16412
  secure: true,
16382
- type: ContentType.Json,
16413
+ type: "application/json",
16383
16414
  format: "json",
16384
16415
  ...params,
16385
16416
  }),
@@ -16413,7 +16444,7 @@ export class Api<
16413
16444
  query: query,
16414
16445
  body: data,
16415
16446
  secure: true,
16416
- type: ContentType.Json,
16447
+ type: "application/json",
16417
16448
  format: "json",
16418
16449
  ...params,
16419
16450
  }),
@@ -16434,7 +16465,7 @@ export class Api<
16434
16465
  query?: {
16435
16466
  /** @format uuid */
16436
16467
  siteConfigurationId?: string;
16437
- location?: "HomePage" | "Dashboard";
16468
+ location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
16438
16469
  },
16439
16470
  params: RequestParams = {},
16440
16471
  ) =>
@@ -16491,7 +16522,7 @@ export class Api<
16491
16522
  method: "PUT",
16492
16523
  body: data,
16493
16524
  secure: true,
16494
- type: ContentType.Json,
16525
+ type: "application/json",
16495
16526
  format: "json",
16496
16527
  ...params,
16497
16528
  }),
@@ -16534,7 +16565,7 @@ export class Api<
16534
16565
  method: "POST",
16535
16566
  body: data,
16536
16567
  secure: true,
16537
- type: ContentType.Json,
16568
+ type: "application/json",
16538
16569
  format: "json",
16539
16570
  ...params,
16540
16571
  }),
@@ -16582,7 +16613,7 @@ export class Api<
16582
16613
  method: "POST",
16583
16614
  body: data,
16584
16615
  secure: true,
16585
- type: ContentType.Json,
16616
+ type: "application/json",
16586
16617
  format: "json",
16587
16618
  ...params,
16588
16619
  }),
@@ -16634,7 +16665,7 @@ export class Api<
16634
16665
  method: "POST",
16635
16666
  body: data,
16636
16667
  secure: true,
16637
- type: ContentType.Json,
16668
+ type: "application/json",
16638
16669
  format: "json",
16639
16670
  ...params,
16640
16671
  }),
@@ -16676,7 +16707,7 @@ export class Api<
16676
16707
  method: "PUT",
16677
16708
  body: data,
16678
16709
  secure: true,
16679
- type: ContentType.Json,
16710
+ type: "application/json",
16680
16711
  format: "json",
16681
16712
  ...params,
16682
16713
  }),
@@ -16728,7 +16759,7 @@ export class Api<
16728
16759
  query: query,
16729
16760
  body: data,
16730
16761
  secure: true,
16731
- type: ContentType.Json,
16762
+ type: "application/json",
16732
16763
  format: "json",
16733
16764
  ...params,
16734
16765
  }),
@@ -16751,7 +16782,7 @@ export class Api<
16751
16782
  method: "POST",
16752
16783
  body: data,
16753
16784
  secure: true,
16754
- type: ContentType.Json,
16785
+ type: "application/json",
16755
16786
  ...params,
16756
16787
  }),
16757
16788
 
@@ -16784,7 +16815,7 @@ export class Api<
16784
16815
  query: query,
16785
16816
  body: data,
16786
16817
  secure: true,
16787
- type: ContentType.Json,
16818
+ type: "application/json",
16788
16819
  format: "json",
16789
16820
  ...params,
16790
16821
  }),
@@ -16828,7 +16859,7 @@ export class Api<
16828
16859
  method: "POST",
16829
16860
  body: data,
16830
16861
  secure: true,
16831
- type: ContentType.Json,
16862
+ type: "application/json",
16832
16863
  format: "json",
16833
16864
  ...params,
16834
16865
  }),
@@ -16852,7 +16883,7 @@ export class Api<
16852
16883
  method: "PUT",
16853
16884
  body: data,
16854
16885
  secure: true,
16855
- type: ContentType.Json,
16886
+ type: "application/json",
16856
16887
  format: "json",
16857
16888
  ...params,
16858
16889
  }),
@@ -16895,7 +16926,7 @@ export class Api<
16895
16926
  method: "POST",
16896
16927
  body: data,
16897
16928
  secure: true,
16898
- type: ContentType.Json,
16929
+ type: "application/json",
16899
16930
  format: "json",
16900
16931
  ...params,
16901
16932
  }),
@@ -16947,7 +16978,7 @@ export class Api<
16947
16978
  query: query,
16948
16979
  body: data,
16949
16980
  secure: true,
16950
- type: ContentType.Json,
16981
+ type: "application/json",
16951
16982
  format: "json",
16952
16983
  ...params,
16953
16984
  }),
@@ -17121,7 +17152,7 @@ export class Api<
17121
17152
  method: "POST",
17122
17153
  body: data,
17123
17154
  secure: true,
17124
- type: ContentType.Json,
17155
+ type: "application/json",
17125
17156
  format: "json",
17126
17157
  ...params,
17127
17158
  }),
@@ -17220,7 +17251,7 @@ export class Api<
17220
17251
  method: "POST",
17221
17252
  body: data,
17222
17253
  secure: true,
17223
- type: ContentType.Json,
17254
+ type: "application/json",
17224
17255
  format: "json",
17225
17256
  ...params,
17226
17257
  }),
@@ -17286,7 +17317,7 @@ export class Api<
17286
17317
  method: "POST",
17287
17318
  body: data,
17288
17319
  secure: true,
17289
- type: ContentType.Json,
17320
+ type: "application/json",
17290
17321
  format: "json",
17291
17322
  ...params,
17292
17323
  }),
@@ -17357,7 +17388,7 @@ export class Api<
17357
17388
  query: query,
17358
17389
  body: data,
17359
17390
  secure: true,
17360
- type: ContentType.Json,
17391
+ type: "application/json",
17361
17392
  format: "json",
17362
17393
  ...params,
17363
17394
  }),
@@ -17454,7 +17485,7 @@ export class Api<
17454
17485
  method: "PUT",
17455
17486
  body: data,
17456
17487
  secure: true,
17457
- type: ContentType.Json,
17488
+ type: "application/json",
17458
17489
  format: "json",
17459
17490
  ...params,
17460
17491
  }),
@@ -17496,7 +17527,7 @@ export class Api<
17496
17527
  method: "POST",
17497
17528
  body: data,
17498
17529
  secure: true,
17499
- type: ContentType.Json,
17530
+ type: "application/json",
17500
17531
  format: "json",
17501
17532
  ...params,
17502
17533
  }),
@@ -17522,7 +17553,7 @@ export class Api<
17522
17553
  method: "POST",
17523
17554
  body: data,
17524
17555
  secure: true,
17525
- type: ContentType.Json,
17556
+ type: "application/json",
17526
17557
  ...params,
17527
17558
  }),
17528
17559
 
@@ -17547,7 +17578,7 @@ export class Api<
17547
17578
  method: "POST",
17548
17579
  body: data,
17549
17580
  secure: true,
17550
- type: ContentType.Json,
17581
+ type: "application/json",
17551
17582
  ...params,
17552
17583
  }),
17553
17584
 
@@ -17633,7 +17664,7 @@ export class Api<
17633
17664
  method: "POST",
17634
17665
  body: data,
17635
17666
  secure: true,
17636
- type: ContentType.Json,
17667
+ type: "application/json",
17637
17668
  ...params,
17638
17669
  }),
17639
17670
 
@@ -17673,7 +17704,7 @@ export class Api<
17673
17704
  method: "POST",
17674
17705
  body: data,
17675
17706
  secure: true,
17676
- type: ContentType.Json,
17707
+ type: "application/json",
17677
17708
  ...params,
17678
17709
  }),
17679
17710
 
@@ -17756,7 +17787,7 @@ export class Api<
17756
17787
  method: "POST",
17757
17788
  body: data,
17758
17789
  secure: true,
17759
- type: ContentType.Json,
17790
+ type: "application/json",
17760
17791
  ...params,
17761
17792
  }),
17762
17793
 
@@ -17848,7 +17879,7 @@ export class Api<
17848
17879
  method: "POST",
17849
17880
  body: data,
17850
17881
  secure: true,
17851
- type: ContentType.Json,
17882
+ type: "application/json",
17852
17883
  format: "json",
17853
17884
  ...params,
17854
17885
  }),
@@ -17881,7 +17912,7 @@ export class Api<
17881
17912
  query: query,
17882
17913
  body: data,
17883
17914
  secure: true,
17884
- type: ContentType.Json,
17915
+ type: "application/json",
17885
17916
  format: "json",
17886
17917
  ...params,
17887
17918
  }),
@@ -17902,7 +17933,7 @@ export class Api<
17902
17933
  method: "POST",
17903
17934
  body: data,
17904
17935
  secure: true,
17905
- type: ContentType.Json,
17936
+ type: "application/json",
17906
17937
  format: "json",
17907
17938
  ...params,
17908
17939
  }),
@@ -17924,7 +17955,7 @@ export class Api<
17924
17955
  method: "POST",
17925
17956
  body: data,
17926
17957
  secure: true,
17927
- type: ContentType.Json,
17958
+ type: "application/json",
17928
17959
  format: "json",
17929
17960
  ...params,
17930
17961
  }),
@@ -17950,7 +17981,7 @@ export class Api<
17950
17981
  method: "PUT",
17951
17982
  body: data,
17952
17983
  secure: true,
17953
- type: ContentType.Json,
17984
+ type: "application/json",
17954
17985
  format: "json",
17955
17986
  ...params,
17956
17987
  }),
@@ -18016,7 +18047,7 @@ export class Api<
18016
18047
  method: "POST",
18017
18048
  body: data,
18018
18049
  secure: true,
18019
- type: ContentType.Json,
18050
+ type: "application/json",
18020
18051
  ...params,
18021
18052
  }),
18022
18053
 
@@ -18025,8 +18056,9 @@ export class Api<
18025
18056
  *
18026
18057
  * @tags Users
18027
18058
  * @name VerifyPassword
18028
- * @summary Verify Password
18059
+ * @summary Verify Password (deprecated; use api/auth/reset-password)
18029
18060
  * @request POST:/api/users/verify-password
18061
+ * @deprecated
18030
18062
  * @secure
18031
18063
  * @response `204` `void` No Content
18032
18064
  * @response `422` `UnprocessableEntity` Unprocessable Content
@@ -18037,7 +18069,7 @@ export class Api<
18037
18069
  method: "POST",
18038
18070
  body: data,
18039
18071
  secure: true,
18040
- type: ContentType.Json,
18072
+ type: "application/json",
18041
18073
  ...params,
18042
18074
  }),
18043
18075
 
@@ -18062,7 +18094,7 @@ export class Api<
18062
18094
  method: "POST",
18063
18095
  body: data,
18064
18096
  secure: true,
18065
- type: ContentType.Json,
18097
+ type: "application/json",
18066
18098
  ...params,
18067
18099
  }),
18068
18100
 
@@ -18071,8 +18103,9 @@ export class Api<
18071
18103
  *
18072
18104
  * @tags Users
18073
18105
  * @name ForgotPassword
18074
- * @summary Forgot Password
18106
+ * @summary Forgot Password (deprecated; use api/auth/forgot-password)
18075
18107
  * @request POST:/api/users/forgot-password
18108
+ * @deprecated
18076
18109
  * @secure
18077
18110
  * @response `204` `void` No Content
18078
18111
  * @response `422` `UnprocessableEntity` Unprocessable Content
@@ -18086,7 +18119,7 @@ export class Api<
18086
18119
  method: "POST",
18087
18120
  body: data,
18088
18121
  secure: true,
18089
- type: ContentType.Json,
18122
+ type: "application/json",
18090
18123
  ...params,
18091
18124
  }),
18092
18125
 
@@ -18129,7 +18162,7 @@ export class Api<
18129
18162
  method: "PUT",
18130
18163
  body: data,
18131
18164
  secure: true,
18132
- type: ContentType.Json,
18165
+ type: "application/json",
18133
18166
  ...params,
18134
18167
  }),
18135
18168
 
@@ -18169,7 +18202,7 @@ export class Api<
18169
18202
  method: "PUT",
18170
18203
  body: data,
18171
18204
  secure: true,
18172
- type: ContentType.Json,
18205
+ type: "application/json",
18173
18206
  format: "json",
18174
18207
  ...params,
18175
18208
  }),
@@ -18193,7 +18226,7 @@ export class Api<
18193
18226
  method: "PUT",
18194
18227
  body: data,
18195
18228
  secure: true,
18196
- type: ContentType.Json,
18229
+ type: "application/json",
18197
18230
  format: "json",
18198
18231
  ...params,
18199
18232
  }),
@@ -18270,7 +18303,7 @@ export class Api<
18270
18303
  method: "POST",
18271
18304
  body: data,
18272
18305
  secure: true,
18273
- type: ContentType.Json,
18306
+ type: "application/json",
18274
18307
  ...params,
18275
18308
  }),
18276
18309
 
@@ -18290,7 +18323,7 @@ export class Api<
18290
18323
  method: "POST",
18291
18324
  body: data,
18292
18325
  secure: true,
18293
- type: ContentType.Json,
18326
+ type: "application/json",
18294
18327
  format: "json",
18295
18328
  ...params,
18296
18329
  }),