@matech/thebigpos-sdk 2.48.0-rc2 → 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";
@@ -687,7 +679,7 @@ export interface AccountBilling {
687
679
  }
688
680
 
689
681
  export interface AccountBillingRequest {
690
- billingType: "ClosedLoan" | "LoanOfficer";
682
+ billingType: AccountBillingRequestBillingTypeEnum;
691
683
  /** @format double */
692
684
  contractedRate: number;
693
685
  }
@@ -742,7 +734,7 @@ export interface Action {
742
734
  comments?: string | null;
743
735
  /** @format uuid */
744
736
  siteConfigurationID: string;
745
- applicationSettings?: any;
737
+ applicationSettings?: any | null;
746
738
  surveysToken?: string | null;
747
739
  }
748
740
 
@@ -981,36 +973,7 @@ export interface AiAuditLog {
981
973
  conversationId?: string | null;
982
974
  /** @format uuid */
983
975
  messageId?: string | null;
984
- eventType:
985
- | "Error"
986
- | "GuardrailBlockedPre"
987
- | "GuardrailPassedPre"
988
- | "IntentClassified"
989
- | "LoanResolvedFromMessage"
990
- | "DocumentNotFound"
991
- | "GuardrailBlockedPost"
992
- | "GuardrailPassedPost"
993
- | "DocumentAnalyzed"
994
- | "DocumentList"
995
- | "DocumentResolutionAmbiguous"
996
- | "ResponseGenerated"
997
- | "ParametersExtracted"
998
- | "QueryExecuted"
999
- | "LoanContextNotFound"
1000
- | "LoanContextLoaded"
1001
- | "GuardrailBlockedBedrock"
1002
- | "PromptMatched"
1003
- | "QueryCondensed"
1004
- | "IntentParseFailed"
1005
- | "LoanSearchTermDiscarded"
1006
- | "CanonicalFieldsSelected"
1007
- | "LoanAccessDenied"
1008
- | "AgentModelCall"
1009
- | "AgentToolCallRequested"
1010
- | "AgentToolCallCompleted"
1011
- | "AgentToolCallFailed"
1012
- | "AgentLoopLimitReached"
1013
- | "RequestCancelled";
976
+ eventType: AiAuditLogEventTypeEnum;
1014
977
  modelId?: string | null;
1015
978
  /** @format int32 */
1016
979
  inputTokens?: number | null;
@@ -1023,7 +986,7 @@ export interface AiAuditLog {
1023
986
  guardrailCategory?: string | null;
1024
987
  rawRequest?: string | null;
1025
988
  rawResponse?: string | null;
1026
- details?: any;
989
+ details?: any | null;
1027
990
  /** @format date-time */
1028
991
  createdAt: string;
1029
992
  }
@@ -1092,18 +1055,7 @@ export interface AiChatMessagePaginated {
1092
1055
  }
1093
1056
 
1094
1057
  export interface AiChatMetadata {
1095
- intent:
1096
- | "Greeting"
1097
- | "Invalid"
1098
- | "Relevant"
1099
- | "LoanSpecific"
1100
- | "DocumentList"
1101
- | "GeneralKnowledge"
1102
- | "Blocked"
1103
- | "Action"
1104
- | "ConversationMeta"
1105
- | "Capabilities"
1106
- | "UsageReport";
1058
+ intent: AiChatMetadataIntentEnum;
1107
1059
  fieldsAccessed: string[];
1108
1060
  /** @format int64 */
1109
1061
  queryTimeMs: number;
@@ -1131,7 +1083,7 @@ export interface AiChatRequest {
1131
1083
  }
1132
1084
 
1133
1085
  export interface AiChatStructuredData {
1134
- type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
1086
+ type: AiChatStructuredDataTypeEnum;
1135
1087
  displayHint?: AiDisplayHint | null;
1136
1088
  detectedDocumentType?: string | null;
1137
1089
  columns: string[];
@@ -1216,7 +1168,7 @@ export interface AiGuardrail {
1216
1168
  /** @format uuid */
1217
1169
  id: string;
1218
1170
  name: string;
1219
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1171
+ category: AiGuardrailCategoryEnum;
1220
1172
  description?: string | null;
1221
1173
  keywords: string[];
1222
1174
  responseTemplate: string;
@@ -1352,8 +1304,8 @@ export interface AiUrlSource {
1352
1304
  name: string;
1353
1305
  url: string;
1354
1306
  description?: string | null;
1355
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1356
- scope: "FullDomain" | "SpecificPath";
1307
+ category: AiUrlSourceCategoryEnum;
1308
+ scope: AiUrlSourceScopeEnum;
1357
1309
  isActive: boolean;
1358
1310
  isDefault: boolean;
1359
1311
  hasAccountOverride: boolean;
@@ -1466,21 +1418,14 @@ export interface AuditLogEntry {
1466
1418
  /** @format uuid */
1467
1419
  id: string;
1468
1420
  entityType: string;
1469
- changeType:
1470
- | "Created"
1471
- | "Modified"
1472
- | "SoftDeleted"
1473
- | "HardDeleted"
1474
- | "Restored"
1475
- | "Deactivated"
1476
- | "Reactivated";
1421
+ changeType: AuditLogEntryChangeTypeEnum;
1477
1422
  /** @format uuid */
1478
1423
  entityId: string;
1479
1424
  performedBy?: AuditLogUser | null;
1480
1425
  rootEntityType?: string | null;
1481
1426
  /** @format uuid */
1482
1427
  rootEntityId?: string | null;
1483
- changes?: any;
1428
+ changes?: any | null;
1484
1429
  /** @format date-time */
1485
1430
  createdAt: string;
1486
1431
  }
@@ -1525,20 +1470,7 @@ export interface BorrowerCount {
1525
1470
  firstName: string;
1526
1471
  lastName: string;
1527
1472
  email: string;
1528
- role:
1529
- | "Borrower"
1530
- | "CoBorrower"
1531
- | "NonBorrower"
1532
- | "LoanOfficer"
1533
- | "LoanProcessor"
1534
- | "LoanOfficerAssistant"
1535
- | "SupportingLoanOfficer"
1536
- | "BuyerAgent"
1537
- | "SellerAgent"
1538
- | "TitleInsuranceAgent"
1539
- | "EscrowAgent"
1540
- | "SettlementAgent"
1541
- | "Admin";
1473
+ role: BorrowerCountRoleEnum;
1542
1474
  /** @format int32 */
1543
1475
  count: number;
1544
1476
  }
@@ -1549,20 +1481,7 @@ export interface BorrowerIdentity {
1549
1481
  firstName: string;
1550
1482
  lastName: string;
1551
1483
  email: string;
1552
- role:
1553
- | "Borrower"
1554
- | "CoBorrower"
1555
- | "NonBorrower"
1556
- | "LoanOfficer"
1557
- | "LoanProcessor"
1558
- | "LoanOfficerAssistant"
1559
- | "SupportingLoanOfficer"
1560
- | "BuyerAgent"
1561
- | "SellerAgent"
1562
- | "TitleInsuranceAgent"
1563
- | "EscrowAgent"
1564
- | "SettlementAgent"
1565
- | "Admin";
1484
+ role: BorrowerIdentityRoleEnum;
1566
1485
  }
1567
1486
 
1568
1487
  export interface BorrowersNotUsingPosSummary {
@@ -1741,59 +1660,6 @@ export interface CompanyAddress {
1741
1660
  zip: string;
1742
1661
  }
1743
1662
 
1744
- export interface CompanyDocument {
1745
- /** @format uuid */
1746
- id: string;
1747
- /** @format uuid */
1748
- folderId: string;
1749
- folderName: string;
1750
- name: string;
1751
- sourceType: "File" | "FreeText";
1752
- contentType?: string | null;
1753
- /** @format int64 */
1754
- fileSizeBytes: number;
1755
- inlineContent?: string | null;
1756
- indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1757
- indexError?: string | null;
1758
- /** @format date-time */
1759
- indexedAt?: string | null;
1760
- /** @format uuid */
1761
- uploadedByUserId?: string | null;
1762
- /** @format date-time */
1763
- createdAt: string;
1764
- /** @format date-time */
1765
- updatedAt?: string | null;
1766
- }
1767
-
1768
- export interface CompanyDocumentFolder {
1769
- /** @format uuid */
1770
- id: string;
1771
- name: string;
1772
- description?: string | null;
1773
- isSystemDefault: boolean;
1774
- /** @format int32 */
1775
- documentCount: number;
1776
- /** @format date-time */
1777
- createdAt: string;
1778
- /** @format date-time */
1779
- updatedAt?: string | null;
1780
- }
1781
-
1782
- export interface CompanyDocumentPaginated {
1783
- rows: CompanyDocument[];
1784
- pagination: Pagination;
1785
- /** @format int64 */
1786
- count: number;
1787
- }
1788
-
1789
- export interface CompanyDocumentSearchCriteria {
1790
- searchText?: string | null;
1791
- /** @format uuid */
1792
- folderID?: string | null;
1793
- indexStatuses?: CompanyDocumentIndexStatus[] | null;
1794
- sourceType?: CompanyDocumentSourceType | null;
1795
- }
1796
-
1797
1663
  export interface ConditionComment {
1798
1664
  commentId: string;
1799
1665
  comments: string;
@@ -1877,7 +1743,7 @@ export interface CorporateSearchCriteria {
1877
1743
  }
1878
1744
 
1879
1745
  export interface CreateAccessScopeRequest {
1880
- scopeType: "User" | "Branch";
1746
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1881
1747
  /** @format uuid */
1882
1748
  userId?: string | null;
1883
1749
  /** @format uuid */
@@ -1896,7 +1762,7 @@ export interface CreateAccountRequest {
1896
1762
  /** @format int64 */
1897
1763
  nlmsid: number;
1898
1764
  settings: AccountSettingsRequest;
1899
- environment: "Development" | "Staging" | "UAT" | "Production";
1765
+ environment: CreateAccountRequestEnvironmentEnum;
1900
1766
  losIntegration: LOSIntegration;
1901
1767
  billingSettings: AccountBillingRequest;
1902
1768
  }
@@ -1912,7 +1778,7 @@ export interface CreateAiCanonicalFieldRequest {
1912
1778
 
1913
1779
  export interface CreateAiGuardrailRequest {
1914
1780
  name: string;
1915
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1781
+ category: CreateAiGuardrailRequestCategoryEnum;
1916
1782
  description?: string | null;
1917
1783
  keywords: string[];
1918
1784
  responseTemplate: string;
@@ -1944,8 +1810,8 @@ export interface CreateAiUrlSourceRequest {
1944
1810
  name: string;
1945
1811
  url: string;
1946
1812
  description?: string | null;
1947
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1948
- scope: "FullDomain" | "SpecificPath";
1813
+ category: CreateAiUrlSourceRequestCategoryEnum;
1814
+ scope: CreateAiUrlSourceRequestScopeEnum;
1949
1815
  }
1950
1816
 
1951
1817
  export interface CreateBranchRequest {
@@ -1955,18 +1821,6 @@ export interface CreateBranchRequest {
1955
1821
  type: string;
1956
1822
  }
1957
1823
 
1958
- export interface CreateCompanyDocumentFolderRequest {
1959
- name: string;
1960
- description?: string | null;
1961
- }
1962
-
1963
- export interface CreateCompanyTextDocumentRequest {
1964
- name: string;
1965
- /** @format uuid */
1966
- folderID: string;
1967
- content: string;
1968
- }
1969
-
1970
1824
  export interface CreateCustomFieldDefinitionRequest {
1971
1825
  isRequired: boolean;
1972
1826
  /** @format int32 */
@@ -1982,15 +1836,8 @@ export interface CreateCustomFieldDefinitionRequest {
1982
1836
  name: string;
1983
1837
  defaultValue?: string | null;
1984
1838
  regexPattern?: string | null;
1985
- dataType:
1986
- | "String"
1987
- | "Number"
1988
- | "Decimal"
1989
- | "Boolean"
1990
- | "Date"
1991
- | "SingleSelect"
1992
- | "MultiSelect";
1993
- entityType: "Loan";
1839
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1840
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1994
1841
  options?: CustomFieldOptionRequest[] | null;
1995
1842
  permissions?: CustomFieldPermissionRequest[] | null;
1996
1843
  }
@@ -2007,20 +1854,7 @@ export interface CreateDocumentTemplateRequest {
2007
1854
  export interface CreateGroupMemberRequest {
2008
1855
  /** @format uuid */
2009
1856
  userId: string;
2010
- loanRole:
2011
- | "Borrower"
2012
- | "CoBorrower"
2013
- | "NonBorrower"
2014
- | "LoanOfficer"
2015
- | "LoanProcessor"
2016
- | "LoanOfficerAssistant"
2017
- | "SupportingLoanOfficer"
2018
- | "BuyerAgent"
2019
- | "SellerAgent"
2020
- | "TitleInsuranceAgent"
2021
- | "EscrowAgent"
2022
- | "SettlementAgent"
2023
- | "Admin";
1857
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
2024
1858
  }
2025
1859
 
2026
1860
  export interface CreateInviteRequest {
@@ -2029,7 +1863,7 @@ export interface CreateInviteRequest {
2029
1863
  emailAddress: string;
2030
1864
  phoneNumber?: string | null;
2031
1865
  /** @deprecated */
2032
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1866
+ relationship: CreateInviteRequestRelationshipEnum;
2033
1867
  loanID: string;
2034
1868
  route?: string | null;
2035
1869
  /** @format uuid */
@@ -2051,7 +1885,7 @@ export interface CreateLoanImportRequest {
2051
1885
  endDate: string;
2052
1886
  /** @format date-time */
2053
1887
  startDate: string;
2054
- importMode: "All" | "NewOnly" | "UpdateOnly";
1888
+ importMode: CreateLoanImportRequestImportModeEnum;
2055
1889
  }
2056
1890
 
2057
1891
  export interface CreateSession {
@@ -2073,20 +1907,7 @@ export interface CreateUserDeviceRequest {
2073
1907
  }
2074
1908
 
2075
1909
  export interface CreateUserDraft {
2076
- loanRole:
2077
- | "Borrower"
2078
- | "CoBorrower"
2079
- | "NonBorrower"
2080
- | "LoanOfficer"
2081
- | "LoanProcessor"
2082
- | "LoanOfficerAssistant"
2083
- | "SupportingLoanOfficer"
2084
- | "BuyerAgent"
2085
- | "SellerAgent"
2086
- | "TitleInsuranceAgent"
2087
- | "EscrowAgent"
2088
- | "SettlementAgent"
2089
- | "Admin";
1910
+ loanRole: CreateUserDraftLoanRoleEnum;
2090
1911
  }
2091
1912
 
2092
1913
  export interface CreateUserGroupRequest {
@@ -2154,15 +1975,8 @@ export interface CustomFieldDefinition {
2154
1975
  name: string;
2155
1976
  defaultValue?: string | null;
2156
1977
  regexPattern?: string | null;
2157
- dataType:
2158
- | "String"
2159
- | "Number"
2160
- | "Decimal"
2161
- | "Boolean"
2162
- | "Date"
2163
- | "SingleSelect"
2164
- | "MultiSelect";
2165
- entityType: "Loan";
1978
+ dataType: CustomFieldDefinitionDataTypeEnum;
1979
+ entityType: CustomFieldDefinitionEntityTypeEnum;
2166
1980
  options: CustomFieldOption[];
2167
1981
  permissions: CustomFieldPermission[];
2168
1982
  encompassMapping?: EncompassMapping | null;
@@ -2177,14 +1991,7 @@ export interface CustomFieldEntry {
2177
1991
  displayOrder: number;
2178
1992
  name: string;
2179
1993
  value: string;
2180
- dataType:
2181
- | "String"
2182
- | "Number"
2183
- | "Decimal"
2184
- | "Boolean"
2185
- | "Date"
2186
- | "SingleSelect"
2187
- | "MultiSelect";
1994
+ dataType: CustomFieldEntryDataTypeEnum;
2188
1995
  }
2189
1996
 
2190
1997
  export interface CustomFieldOption {
@@ -2204,31 +2011,13 @@ export interface CustomFieldOptionRequest {
2204
2011
  export interface CustomFieldPermission {
2205
2012
  /** @format uuid */
2206
2013
  id: string;
2207
- role:
2208
- | "Borrower"
2209
- | "LoanOfficer"
2210
- | "Admin"
2211
- | "SuperAdmin"
2212
- | "Realtor"
2213
- | "SettlementAgent"
2214
- | "LoanProcessor"
2215
- | "LoanOfficerAssistant"
2216
- | "SystemAdmin";
2217
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2014
+ role: CustomFieldPermissionRoleEnum;
2015
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
2218
2016
  }
2219
2017
 
2220
2018
  export interface CustomFieldPermissionRequest {
2221
- role:
2222
- | "Borrower"
2223
- | "LoanOfficer"
2224
- | "Admin"
2225
- | "SuperAdmin"
2226
- | "Realtor"
2227
- | "SettlementAgent"
2228
- | "LoanProcessor"
2229
- | "LoanOfficerAssistant"
2230
- | "SystemAdmin";
2231
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2019
+ role: CustomFieldPermissionRequestRoleEnum;
2020
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2232
2021
  }
2233
2022
 
2234
2023
  export interface CustomFieldValue {
@@ -2240,14 +2029,7 @@ export interface CustomFieldValue {
2240
2029
  customFieldDefinitionID: string;
2241
2030
  value: string;
2242
2031
  definitionName: string;
2243
- dataType:
2244
- | "String"
2245
- | "Number"
2246
- | "Decimal"
2247
- | "Boolean"
2248
- | "Date"
2249
- | "SingleSelect"
2250
- | "MultiSelect";
2032
+ dataType: CustomFieldValueDataTypeEnum;
2251
2033
  }
2252
2034
 
2253
2035
  export interface DetailedUser {
@@ -2491,7 +2273,7 @@ export interface Draft {
2491
2273
  siteConfiguration: SiteConfigurationReduced;
2492
2274
  /** @format uuid */
2493
2275
  loanID?: string | null;
2494
- type: "NewLoan" | "EditLoan";
2276
+ type: DraftTypeEnum;
2495
2277
  isCoBorrower: boolean;
2496
2278
  }
2497
2279
 
@@ -2510,7 +2292,7 @@ export interface DraftContent {
2510
2292
  siteConfiguration: SiteConfigurationReduced;
2511
2293
  /** @format uuid */
2512
2294
  loanID?: string | null;
2513
- type: "NewLoan" | "EditLoan";
2295
+ type: DraftContentTypeEnum;
2514
2296
  isCoBorrower: boolean;
2515
2297
  applicationPayload: any;
2516
2298
  }
@@ -2529,7 +2311,7 @@ export interface DraftLoanOfficerReassignRequest {
2529
2311
 
2530
2312
  export interface DraftRequest {
2531
2313
  applicationPayload: any;
2532
- customData?: any;
2314
+ customData?: any | null;
2533
2315
  isCoBorrower: boolean;
2534
2316
  }
2535
2317
 
@@ -2603,9 +2385,9 @@ export interface EncompassCredentialsDetail {
2603
2385
  clearStateIfUnlicensed: boolean;
2604
2386
  /** @deprecated */
2605
2387
  baseUrl?: string | null;
2606
- encompassEnvironment: "Production" | "UAT";
2388
+ encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2607
2389
  consumerConnectWidgetHost?: string | null;
2608
- signingMethod: "ConsumerConnect" | "POSF";
2390
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2609
2391
  subscriptionId?: string | null;
2610
2392
  environment?: string | null;
2611
2393
  /** @format uuid */
@@ -2622,9 +2404,9 @@ export interface EncompassCredentialsRequest {
2622
2404
  clearStateIfUnlicensed: boolean;
2623
2405
  /** @deprecated */
2624
2406
  baseUrl?: string | null;
2625
- encompassEnvironment: "Production" | "UAT";
2407
+ encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2626
2408
  consumerConnectWidgetHost?: string | null;
2627
- signingMethod: "ConsumerConnect" | "POSF";
2409
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2628
2410
  subscriptionId?: string | null;
2629
2411
  environment?: string | null;
2630
2412
  clientID?: string | null;
@@ -2746,15 +2528,8 @@ export interface EncompassRequestLog {
2746
2528
  losId?: string | null;
2747
2529
  /** @format uuid */
2748
2530
  accountId: string;
2749
- operationType:
2750
- | "FieldUpdate"
2751
- | "ConsentUpdate"
2752
- | "DocumentSync"
2753
- | "MilestoneUpdate"
2754
- | "DocumentAttachment"
2755
- | "General"
2756
- | "FieldReader";
2757
- outcome: "Success" | "Failure" | "PartialSuccess";
2531
+ operationType: EncompassRequestLogOperationTypeEnum;
2532
+ outcome: EncompassRequestLogOutcomeEnum;
2758
2533
  message: string;
2759
2534
  endpoint?: string | null;
2760
2535
  httpMethod?: string | null;
@@ -2762,7 +2537,7 @@ export interface EncompassRequestLog {
2762
2537
  httpStatusCode?: number | null;
2763
2538
  /** @format int64 */
2764
2539
  durationMs?: number | null;
2765
- context?: any;
2540
+ context?: any | null;
2766
2541
  /** @format date-time */
2767
2542
  createdAt: string;
2768
2543
  }
@@ -2815,7 +2590,7 @@ export interface FileSearchCriteria {
2815
2590
  export interface FileWithBytes {
2816
2591
  name: string;
2817
2592
  /** @format byte */
2818
- data: string;
2593
+ data: Blob;
2819
2594
  fileName: string;
2820
2595
  mimeType?: string | null;
2821
2596
  extension?: string | null;
@@ -2894,7 +2669,7 @@ export interface FormSubmission {
2894
2669
  subjectPropertyAddressCounty?: string | null;
2895
2670
  subjectPropertyAddressState?: string | null;
2896
2671
  subjectPropertyAddressZip?: string | null;
2897
- data?: any;
2672
+ data?: any | null;
2898
2673
  /** @format uuid */
2899
2674
  listingID?: string | null;
2900
2675
  listing?: Listing | null;
@@ -2932,7 +2707,7 @@ export interface FormSubmissionRequest {
2932
2707
  subjectPropertyAddressCounty?: string | null;
2933
2708
  subjectPropertyAddressState?: string | null;
2934
2709
  subjectPropertyAddressZip?: string | null;
2935
- data?: any;
2710
+ data?: any | null;
2936
2711
  /** @format uuid */
2937
2712
  listingID?: string | null;
2938
2713
  }
@@ -2987,20 +2762,7 @@ export interface FusionFieldDisplay {
2987
2762
  }
2988
2763
 
2989
2764
  export interface FusionReportFilter {
2990
- filterType:
2991
- | "DateGreaterThanOrEqualTo"
2992
- | "DateGreaterThan"
2993
- | "DateLessThan"
2994
- | "DateLessThanOrEqualTo"
2995
- | "DateEquals"
2996
- | "DateDoesntEqual"
2997
- | "DateNonEmpty"
2998
- | "DateEmpty"
2999
- | "StringContains"
3000
- | "StringEquals"
3001
- | "StringNotEmpty"
3002
- | "StringNotEquals"
3003
- | "StringNotContains";
2765
+ filterType: FusionReportFilterFilterTypeEnum;
3004
2766
  targetField: string;
3005
2767
  targetValue: string;
3006
2768
  }
@@ -3023,7 +2785,7 @@ export interface GenerateSystemPrompt {
3023
2785
 
3024
2786
  export interface GenerateSystemPromptRequest {
3025
2787
  description: string;
3026
- category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2788
+ category: GenerateSystemPromptRequestCategoryEnum;
3027
2789
  }
3028
2790
 
3029
2791
  export interface GetApplications {
@@ -3119,45 +2881,12 @@ export interface GetWorkflowRequest {
3119
2881
  export interface GuidPatchOperation {
3120
2882
  op: string;
3121
2883
  path: string;
3122
- value?: any;
2884
+ value?: any | null;
3123
2885
  from?: string | null;
3124
2886
  }
3125
2887
 
3126
2888
  export interface IPAddress {
3127
- addressFamily:
3128
- | "Unspecified"
3129
- | "Unix"
3130
- | "InterNetwork"
3131
- | "ImpLink"
3132
- | "Pup"
3133
- | "Chaos"
3134
- | "NS"
3135
- | "Ipx"
3136
- | "Iso"
3137
- | "Osi"
3138
- | "Ecma"
3139
- | "DataKit"
3140
- | "Ccitt"
3141
- | "Sna"
3142
- | "DecNet"
3143
- | "DataLink"
3144
- | "Lat"
3145
- | "HyperChannel"
3146
- | "AppleTalk"
3147
- | "NetBios"
3148
- | "VoiceView"
3149
- | "FireFox"
3150
- | "Banyan"
3151
- | "Atm"
3152
- | "InterNetworkV6"
3153
- | "Cluster"
3154
- | "Ieee12844"
3155
- | "Irda"
3156
- | "NetworkDesigners"
3157
- | "Max"
3158
- | "Packet"
3159
- | "ControllerAreaNetwork"
3160
- | "Unknown";
2889
+ addressFamily: IpAddressAddressFamilyEnum;
3161
2890
  /** @format int64 */
3162
2891
  scopeId: number;
3163
2892
  isIPv6Multicast: boolean;
@@ -3421,7 +3150,7 @@ export interface Loan {
3421
3150
  contacts: LoanContact[];
3422
3151
  customFields: CustomFieldEntry[];
3423
3152
  milestones: LoanMilestone[];
3424
- signingMethod: "ConsumerConnect" | "POSF";
3153
+ signingMethod: LoanSigningMethodEnum;
3425
3154
  }
3426
3155
 
3427
3156
  export interface LoanApplication {
@@ -3461,7 +3190,7 @@ export interface LoanApplicationRequest {
3461
3190
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3462
3191
  /** @format uuid */
3463
3192
  draftId?: string | null;
3464
- additionalFields?: Record<string, any>;
3193
+ additionalFields?: Record<string, any> | null;
3465
3194
  /** @format uuid */
3466
3195
  existingLoanId?: string | null;
3467
3196
  }
@@ -3481,7 +3210,7 @@ export interface LoanBorrower {
3481
3210
  citizenship?: LoanCitizenship | null;
3482
3211
  maritalStatus?: LoanMaritalStatus | null;
3483
3212
  languagePreference?: LoanLanguagePreference | null;
3484
- applicationStatus: "Draft" | "Complete";
3213
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
3485
3214
  /** @format int32 */
3486
3215
  numberOfDependents?: number | null;
3487
3216
  /** @format int32 */
@@ -4274,7 +4003,7 @@ export interface LoanConsentRequest {
4274
4003
  borrowerEConsent?: boolean | null;
4275
4004
  borrowerCreditAuth?: boolean | null;
4276
4005
  borrowerTCPAOptIn?: boolean | null;
4277
- additionalFields?: Record<string, string>;
4006
+ additionalFields?: Record<string, string> | null;
4278
4007
  }
4279
4008
 
4280
4009
  export interface LoanContact {
@@ -4293,20 +4022,7 @@ export interface LoanContact {
4293
4022
  email?: string | null;
4294
4023
  phone?: string | null;
4295
4024
  companyName?: string | null;
4296
- role:
4297
- | "Borrower"
4298
- | "CoBorrower"
4299
- | "NonBorrower"
4300
- | "LoanOfficer"
4301
- | "LoanProcessor"
4302
- | "LoanOfficerAssistant"
4303
- | "SupportingLoanOfficer"
4304
- | "BuyerAgent"
4305
- | "SellerAgent"
4306
- | "TitleInsuranceAgent"
4307
- | "EscrowAgent"
4308
- | "SettlementAgent"
4309
- | "Admin";
4025
+ role: LoanContactRoleEnum;
4310
4026
  }
4311
4027
 
4312
4028
  export interface LoanContactList {
@@ -4331,7 +4047,7 @@ export interface LoanCostDetails {
4331
4047
  }
4332
4048
 
4333
4049
  export interface LoanCustomFieldsRequest {
4334
- additionalFields?: Record<string, string>;
4050
+ additionalFields?: Record<string, string> | null;
4335
4051
  }
4336
4052
 
4337
4053
  export interface LoanDocument {
@@ -4384,39 +4100,13 @@ export interface LoanDocumentFolderPermission {
4384
4100
  id: string;
4385
4101
  /** @format uuid */
4386
4102
  loanDocumentFolderID: string;
4387
- role:
4388
- | "Borrower"
4389
- | "CoBorrower"
4390
- | "NonBorrower"
4391
- | "LoanOfficer"
4392
- | "LoanProcessor"
4393
- | "LoanOfficerAssistant"
4394
- | "SupportingLoanOfficer"
4395
- | "BuyerAgent"
4396
- | "SellerAgent"
4397
- | "TitleInsuranceAgent"
4398
- | "EscrowAgent"
4399
- | "SettlementAgent"
4400
- | "Admin";
4401
- level: "None" | "Read" | "Write" | "Manage";
4103
+ role: LoanDocumentFolderPermissionRoleEnum;
4104
+ level: LoanDocumentFolderPermissionLevelEnum;
4402
4105
  }
4403
4106
 
4404
4107
  export interface LoanDocumentFolderPermissionRequest {
4405
- role:
4406
- | "Borrower"
4407
- | "CoBorrower"
4408
- | "NonBorrower"
4409
- | "LoanOfficer"
4410
- | "LoanProcessor"
4411
- | "LoanOfficerAssistant"
4412
- | "SupportingLoanOfficer"
4413
- | "BuyerAgent"
4414
- | "SellerAgent"
4415
- | "TitleInsuranceAgent"
4416
- | "EscrowAgent"
4417
- | "SettlementAgent"
4418
- | "Admin";
4419
- level: "None" | "Read" | "Write" | "Manage";
4108
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
4109
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
4420
4110
  }
4421
4111
 
4422
4112
  export interface LoanDocumentFolderUsage {
@@ -4562,19 +4252,14 @@ export interface LoanImport {
4562
4252
  /** @format int32 */
4563
4253
  importedCount: number;
4564
4254
  statusMessage?: string | null;
4565
- status:
4566
- | "WaitingProcess"
4567
- | "InProgress"
4568
- | "Completed"
4569
- | "Failed"
4570
- | "Cancelled";
4571
- importMode: "All" | "NewOnly" | "UpdateOnly";
4255
+ status: LoanImportStatusEnum;
4256
+ importMode: LoanImportImportModeEnum;
4572
4257
  /** @format date-time */
4573
4258
  createdAt?: string | null;
4574
4259
  }
4575
4260
 
4576
4261
  export interface LoanImportLog {
4577
- level: "None" | "Info" | "Warning" | "Error";
4262
+ level: LoanImportLogLevelEnum;
4578
4263
  message: string;
4579
4264
  /** @format date-time */
4580
4265
  createdAt: string;
@@ -4635,26 +4320,8 @@ export interface LoanListPaginated {
4635
4320
  export interface LoanLog {
4636
4321
  /** @format uuid */
4637
4322
  id: string;
4638
- level: "None" | "Info" | "Warning" | "Error";
4639
- type:
4640
- | "Loan"
4641
- | "Queue"
4642
- | "POSFlagChanged"
4643
- | "Verification"
4644
- | "DocumentUploaded"
4645
- | "LoanCreated"
4646
- | "WorkflowSubmitted"
4647
- | "UserInvitationSent"
4648
- | "CoBorrowerAdded"
4649
- | "TaskCompleted"
4650
- | "LoanStatusChanged"
4651
- | "Consent"
4652
- | "SensitiveDataPurge"
4653
- | "ClosingDateUpdated"
4654
- | "ConsumerConnectAssociation"
4655
- | "TaskReminderSent"
4656
- | "DocumentClassified"
4657
- | "CoBorrowerEmailAutoFixed";
4323
+ level: LoanLogLevelEnum;
4324
+ type: LoanLogTypeEnum;
4658
4325
  message: string;
4659
4326
  /** @format date-time */
4660
4327
  createdAt: string;
@@ -4663,26 +4330,8 @@ export interface LoanLog {
4663
4330
  export interface LoanLogDetail {
4664
4331
  /** @format uuid */
4665
4332
  id: string;
4666
- level: "None" | "Info" | "Warning" | "Error";
4667
- type:
4668
- | "Loan"
4669
- | "Queue"
4670
- | "POSFlagChanged"
4671
- | "Verification"
4672
- | "DocumentUploaded"
4673
- | "LoanCreated"
4674
- | "WorkflowSubmitted"
4675
- | "UserInvitationSent"
4676
- | "CoBorrowerAdded"
4677
- | "TaskCompleted"
4678
- | "LoanStatusChanged"
4679
- | "Consent"
4680
- | "SensitiveDataPurge"
4681
- | "ClosingDateUpdated"
4682
- | "ConsumerConnectAssociation"
4683
- | "TaskReminderSent"
4684
- | "DocumentClassified"
4685
- | "CoBorrowerEmailAutoFixed";
4333
+ level: LoanLogDetailLevelEnum;
4334
+ type: LoanLogDetailTypeEnum;
4686
4335
  message: string;
4687
4336
  /** @format date-time */
4688
4337
  createdAt: string;
@@ -4966,7 +4615,7 @@ export interface LoanQueueWithData {
4966
4615
  user: UserPublic;
4967
4616
  loanOfficer: LoanOfficerPublic;
4968
4617
  siteConfiguration: SiteConfigurationReduced;
4969
- data?: any;
4618
+ data?: any | null;
4970
4619
  }
4971
4620
 
4972
4621
  export interface LoanRecord {
@@ -5002,7 +4651,7 @@ export interface LoanTaskSearchRequest {
5002
4651
  }
5003
4652
 
5004
4653
  export interface LoanTaskStatusSummary {
5005
- status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4654
+ status: LoanTaskStatusSummaryStatusEnum;
5006
4655
  /** @format int32 */
5007
4656
  count: number;
5008
4657
  }
@@ -5015,20 +4664,7 @@ export interface LoanUser {
5015
4664
  email: string;
5016
4665
  phone?: string | null;
5017
4666
  role: string;
5018
- loanRole:
5019
- | "Borrower"
5020
- | "CoBorrower"
5021
- | "NonBorrower"
5022
- | "LoanOfficer"
5023
- | "LoanProcessor"
5024
- | "LoanOfficerAssistant"
5025
- | "SupportingLoanOfficer"
5026
- | "BuyerAgent"
5027
- | "SellerAgent"
5028
- | "TitleInsuranceAgent"
5029
- | "EscrowAgent"
5030
- | "SettlementAgent"
5031
- | "Admin";
4667
+ loanRole: LoanUserLoanRoleEnum;
5032
4668
  isUser: boolean;
5033
4669
  /** @format date-time */
5034
4670
  createdAt: string;
@@ -5065,13 +4701,7 @@ export interface LosOperationTracking {
5065
4701
  operationType: string;
5066
4702
  correlationKey: string;
5067
4703
  lastTriggerSource?: string | null;
5068
- status:
5069
- | "Pending"
5070
- | "Success"
5071
- | "Failed"
5072
- | "ConfigurationError"
5073
- | "PermanentFailure"
5074
- | "Locked";
4704
+ status: LosOperationTrackingStatusEnum;
5075
4705
  /** @format date-time */
5076
4706
  createdAt: string;
5077
4707
  /** @format date-time */
@@ -5115,6 +4745,12 @@ export interface LosSync {
5115
4745
  completedAtUtc?: string | null;
5116
4746
  /** @format date-time */
5117
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;
5118
4754
  errors: string[];
5119
4755
  steps: LosSyncStep[];
5120
4756
  }
@@ -5159,7 +4795,7 @@ export interface LosSyncStep {
5159
4795
  /** @format int32 */
5160
4796
  order: number;
5161
4797
  name: string;
5162
- severity: "Success" | "Info" | "Warning" | "Error";
4798
+ severity: LosSyncStepSeverityEnum;
5163
4799
  message: string;
5164
4800
  /** @format date-time */
5165
4801
  atUtc: string;
@@ -5175,65 +4811,7 @@ export interface LosWebhook {
5175
4811
  }
5176
4812
 
5177
4813
  export interface ManualDocumentClassificationRequest {
5178
- documentType:
5179
- | "W2"
5180
- | "Paystub"
5181
- | "Form1099"
5182
- | "Form1099Int"
5183
- | "Form1099Misc"
5184
- | "Form1099Nec"
5185
- | "Form1099R"
5186
- | "Form1099G"
5187
- | "Form1099Div"
5188
- | "Form1099Ssa"
5189
- | "FederalTaxReturn1040"
5190
- | "TaxReturnScheduleC"
5191
- | "TaxReturnScheduleD"
5192
- | "TaxReturnScheduleE"
5193
- | "Form1065"
5194
- | "Form1120"
5195
- | "Form1120S"
5196
- | "ProfitAndLossStatement"
5197
- | "VerificationOfEmployment"
5198
- | "BankStatement"
5199
- | "InvestmentStatement"
5200
- | "CreditCardStatement"
5201
- | "MortgageStatement"
5202
- | "PayoffStatement"
5203
- | "HoaDocuments"
5204
- | "UtilityBill"
5205
- | "IdentityDocument"
5206
- | "DemographicAddendum"
5207
- | "Ssa89"
5208
- | "Vba260551"
5209
- | "Hud92900B"
5210
- | "Check"
5211
- | "Invoice"
5212
- | "Receipt"
5213
- | "LoanApplication1003"
5214
- | "UnderwritingTransmittal1008"
5215
- | "Other"
5216
- | "SalesContract"
5217
- | "TitleCommitment"
5218
- | "DriversLicense"
5219
- | "VerificationOfIncome"
5220
- | "VerificationOfAssets"
5221
- | "FloodCertificate"
5222
- | "FraudReport"
5223
- | "AddendumToSalesContract"
5224
- | "GiftLetter"
5225
- | "CpaLetter"
5226
- | "TaxBill"
5227
- | "CondoQuestionnaire"
5228
- | "CondoBudget"
5229
- | "CondoBylaws"
5230
- | "RentalAgreements"
5231
- | "Lease"
5232
- | "HazardInsurance"
5233
- | "VaCertificateOfEligibility"
5234
- | "Appraisal"
5235
- | "CreditReport"
5236
- | "CondoMasterPolicy";
4814
+ documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5237
4815
  }
5238
4816
 
5239
4817
  export interface MdmUser {
@@ -5303,6 +4881,10 @@ export interface MobileSettings {
5303
4881
  universalUrl?: string | null;
5304
4882
  appleStoreUrl?: string | null;
5305
4883
  googlePlayStoreUrl?: string | null;
4884
+ appleTeamId?: string | null;
4885
+ appleBundleId?: string | null;
4886
+ androidPackageName?: string | null;
4887
+ androidSha256CertFingerprints?: string[] | null;
5306
4888
  }
5307
4889
 
5308
4890
  export interface Module {
@@ -5320,7 +4902,7 @@ export interface ModuleParameterValue {
5320
4902
  parameterID: string;
5321
4903
  parameterName: string;
5322
4904
  parameterType: string;
5323
- value?: any;
4905
+ value?: any | null;
5324
4906
  isInherited: boolean;
5325
4907
  }
5326
4908
 
@@ -5506,7 +5088,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5506
5088
 
5507
5089
  export interface Operation {
5508
5090
  op?: string;
5509
- value?: string | number | boolean | null | object;
5091
+ value?: object | null;
5510
5092
  path?: string;
5511
5093
  }
5512
5094
 
@@ -5731,6 +5313,11 @@ export interface RequestImpersonationRequest {
5731
5313
  email: string;
5732
5314
  }
5733
5315
 
5316
+ export interface ResetPasswordRequest {
5317
+ token: string;
5318
+ password: string;
5319
+ }
5320
+
5734
5321
  export interface RunLOCalculation {
5735
5322
  loanID: string;
5736
5323
  loanAmount?: string | null;
@@ -5855,6 +5442,11 @@ export interface SetCustomFieldValueRequest {
5855
5442
  value?: string | null;
5856
5443
  }
5857
5444
 
5445
+ export interface SetPasswordRequest {
5446
+ token: string;
5447
+ password: string;
5448
+ }
5449
+
5858
5450
  export interface SetSingleCustomFieldValueRequest {
5859
5451
  value?: string | null;
5860
5452
  }
@@ -5868,7 +5460,7 @@ export interface SiteConfiguration {
5868
5460
  deletedAt?: string | null;
5869
5461
  /** @format uuid */
5870
5462
  id: string;
5871
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5463
+ type: SiteConfigurationTypeEnum;
5872
5464
  /** @format uuid */
5873
5465
  entityID: string;
5874
5466
  /** @format int32 */
@@ -6063,7 +5655,7 @@ export interface SiteConfigurationByUrl {
6063
5655
  deletedAt?: string | null;
6064
5656
  /** @format uuid */
6065
5657
  id: string;
6066
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5658
+ type: SiteConfigurationByUrlTypeEnum;
6067
5659
  /** @format uuid */
6068
5660
  entityID: string;
6069
5661
  /** @format int32 */
@@ -6276,7 +5868,7 @@ export interface SiteConfigurationForm {
6276
5868
  export interface SiteConfigurationReduced {
6277
5869
  /** @format uuid */
6278
5870
  id: string;
6279
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5871
+ type: SiteConfigurationReducedTypeEnum;
6280
5872
  url?: string | null;
6281
5873
  name: string;
6282
5874
  /** @format int64 */
@@ -6294,7 +5886,7 @@ export interface SiteConfigurationRequest {
6294
5886
  entityID: string;
6295
5887
  /** @format int32 */
6296
5888
  entityType: number;
6297
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5889
+ type: SiteConfigurationRequestTypeEnum;
6298
5890
  url: string;
6299
5891
  name: string;
6300
5892
  introduction?: string | null;
@@ -6472,7 +6064,7 @@ export interface SiteConfigurationSearchCriteria {
6472
6064
  export interface SiteConfigurationSummary {
6473
6065
  /** @format uuid */
6474
6066
  id: string;
6475
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6067
+ type: SiteConfigurationSummaryTypeEnum;
6476
6068
  url?: string | null;
6477
6069
  name: string;
6478
6070
  /** @format int64 */
@@ -6511,7 +6103,7 @@ export interface SiteTile {
6511
6103
  title: string;
6512
6104
  description: string;
6513
6105
  linkUrl: string;
6514
- linkTarget: "Self" | "Blank";
6106
+ linkTarget: SiteTileLinkTargetEnum;
6515
6107
  siteTypes: SiteConfigurationType[];
6516
6108
  locations: SiteTileLocation[];
6517
6109
  audience: UserRole[];
@@ -6538,7 +6130,7 @@ export interface SiteTileRequest {
6538
6130
  title: string;
6539
6131
  description: string;
6540
6132
  linkUrl: string;
6541
- linkTarget: "Self" | "Blank";
6133
+ linkTarget: SiteTileRequestLinkTargetEnum;
6542
6134
  siteTypes: SiteConfigurationType[];
6543
6135
  locations: SiteTileLocation[];
6544
6136
  audience: UserRole[];
@@ -6562,7 +6154,7 @@ export interface SiteTileView {
6562
6154
  title: string;
6563
6155
  description: string;
6564
6156
  linkUrl: string;
6565
- linkTarget: "Self" | "Blank";
6157
+ linkTarget: SiteTileViewLinkTargetEnum;
6566
6158
  /** @format int32 */
6567
6159
  weight: number;
6568
6160
  }
@@ -6818,20 +6410,7 @@ export interface UnregisteredBorrower {
6818
6410
  lastName?: string | null;
6819
6411
  fullName?: string | null;
6820
6412
  email?: string | null;
6821
- role:
6822
- | "Borrower"
6823
- | "CoBorrower"
6824
- | "NonBorrower"
6825
- | "LoanOfficer"
6826
- | "LoanProcessor"
6827
- | "LoanOfficerAssistant"
6828
- | "SupportingLoanOfficer"
6829
- | "BuyerAgent"
6830
- | "SellerAgent"
6831
- | "TitleInsuranceAgent"
6832
- | "EscrowAgent"
6833
- | "SettlementAgent"
6834
- | "Admin";
6413
+ role: UnregisteredBorrowerRoleEnum;
6835
6414
  }
6836
6415
 
6837
6416
  export interface UpdateAccountRequest {
@@ -6859,7 +6438,7 @@ export interface UpdateAiCanonicalFieldRequest {
6859
6438
 
6860
6439
  export interface UpdateAiGuardrailRequest {
6861
6440
  name: string;
6862
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6441
+ category: UpdateAiGuardrailRequestCategoryEnum;
6863
6442
  description?: string | null;
6864
6443
  keywords: string[];
6865
6444
  responseTemplate: string;
@@ -6895,20 +6474,8 @@ export interface UpdateAiUrlSourceRequest {
6895
6474
  name: string;
6896
6475
  url: string;
6897
6476
  description?: string | null;
6898
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6899
- scope: "FullDomain" | "SpecificPath";
6900
- }
6901
-
6902
- export interface UpdateCompanyDocumentFolderRequest {
6903
- name: string;
6904
- description?: string | null;
6905
- }
6906
-
6907
- export interface UpdateCompanyDocumentRequest {
6908
- name?: string | null;
6909
- /** @format uuid */
6910
- folderID?: string | null;
6911
- content?: string | null;
6477
+ category: UpdateAiUrlSourceRequestCategoryEnum;
6478
+ scope: UpdateAiUrlSourceRequestScopeEnum;
6912
6479
  }
6913
6480
 
6914
6481
  export interface UpdateCustomFieldDefinitionRequest {
@@ -7220,20 +6787,7 @@ export interface UserDevice {
7220
6787
  export interface UserDraft {
7221
6788
  /** @format uuid */
7222
6789
  draftID: string;
7223
- role:
7224
- | "Borrower"
7225
- | "CoBorrower"
7226
- | "NonBorrower"
7227
- | "LoanOfficer"
7228
- | "LoanProcessor"
7229
- | "LoanOfficerAssistant"
7230
- | "SupportingLoanOfficer"
7231
- | "BuyerAgent"
7232
- | "SellerAgent"
7233
- | "TitleInsuranceAgent"
7234
- | "EscrowAgent"
7235
- | "SettlementAgent"
7236
- | "Admin";
6790
+ role: UserDraftRoleEnum;
7237
6791
  user: User;
7238
6792
  }
7239
6793
 
@@ -7260,7 +6814,7 @@ export interface UserGroupAccessScope {
7260
6814
  id: string;
7261
6815
  /** @format uuid */
7262
6816
  groupId: string;
7263
- scopeType: "User" | "Branch";
6817
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
7264
6818
  /** @format uuid */
7265
6819
  userId?: string | null;
7266
6820
  /** @format uuid */
@@ -7296,20 +6850,7 @@ export interface UserLoan {
7296
6850
  deletedAt?: string | null;
7297
6851
  loanID: string;
7298
6852
  user: User;
7299
- role:
7300
- | "Borrower"
7301
- | "CoBorrower"
7302
- | "NonBorrower"
7303
- | "LoanOfficer"
7304
- | "LoanProcessor"
7305
- | "LoanOfficerAssistant"
7306
- | "SupportingLoanOfficer"
7307
- | "BuyerAgent"
7308
- | "SellerAgent"
7309
- | "TitleInsuranceAgent"
7310
- | "EscrowAgent"
7311
- | "SettlementAgent"
7312
- | "Admin";
6853
+ role: UserLoanRoleEnum;
7313
6854
  /** @format int32 */
7314
6855
  borrowerPair?: number | null;
7315
6856
  /** @format int32 */
@@ -7322,11 +6863,11 @@ export interface UserLoanConsent {
7322
6863
  id: string;
7323
6864
  /** @format uuid */
7324
6865
  userLoanID: string;
7325
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
6866
+ type: UserLoanConsentTypeEnum;
7326
6867
  providedConsent: boolean;
7327
6868
  source?: ConsentSource | null;
7328
6869
  ipAddress?: string | null;
7329
- losSyncStatus: "NotStarted" | "Failed" | "Success";
6870
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7330
6871
  /** @format date-time */
7331
6872
  createdAt: string;
7332
6873
  /** @format date-time */
@@ -7470,16 +7011,11 @@ export interface UserSummary {
7470
7011
  id: string;
7471
7012
  name?: string | null;
7472
7013
  email?: string | null;
7473
- role:
7474
- | "Borrower"
7475
- | "LoanOfficer"
7476
- | "Admin"
7477
- | "SuperAdmin"
7478
- | "Realtor"
7479
- | "SettlementAgent"
7480
- | "LoanProcessor"
7481
- | "LoanOfficerAssistant"
7482
- | "SystemAdmin";
7014
+ role: UserSummaryRoleEnum;
7015
+ }
7016
+
7017
+ export interface VerifyEmailRequest {
7018
+ token: string;
7483
7019
  }
7484
7020
 
7485
7021
  export interface VerifyPasswordRequest {
@@ -7509,124 +7045,826 @@ export interface Workflow {
7509
7045
  icon: string;
7510
7046
  }
7511
7047
 
7512
- import type {
7513
- AxiosInstance,
7514
- AxiosRequestConfig,
7515
- AxiosResponse,
7516
- HeadersDefaults,
7517
- ResponseType,
7518
- } from "axios";
7519
- import axios from "axios";
7048
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7520
7049
 
7521
- 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";
7522
7080
 
7523
- export interface FullRequestParams
7524
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
7525
- /** set parameter to `true` for call `securityWorker` for this request */
7526
- secure?: boolean;
7527
- /** request path */
7528
- path: string;
7529
- /** content type of request body */
7530
- type?: ContentType;
7531
- /** query params */
7532
- query?: QueryParamsType;
7533
- /** format of response (i.e. response.json() -> format: "json") */
7534
- format?: ResponseType;
7535
- /** request body */
7536
- body?: unknown;
7537
- }
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";
7538
7093
 
7539
- export type RequestParams = Omit<
7540
- FullRequestParams,
7541
- "body" | "method" | "query" | "path"
7542
- >;
7094
+ export type AiChatStructuredDataTypeEnum =
7095
+ | "Table"
7096
+ | "DocumentAnalysis"
7097
+ | "DocumentList"
7098
+ | "GeneratedDocument";
7543
7099
 
7544
- export interface ApiConfig<SecurityDataType = unknown>
7545
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
7546
- securityWorker?: (
7547
- securityData: SecurityDataType | null,
7548
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
7549
- secure?: boolean;
7550
- format?: ResponseType;
7551
- }
7100
+ export type AiGuardrailCategoryEnum =
7101
+ | "ContentSafety"
7102
+ | "PromptInjection"
7103
+ | "Privacy"
7104
+ | "Legal";
7552
7105
 
7553
- export enum ContentType {
7554
- JsonPatch = "application/json-patch+json",
7555
- Json = "application/json",
7556
- JsonApi = "application/vnd.api+json",
7557
- FormData = "multipart/form-data",
7558
- UrlEncoded = "application/x-www-form-urlencoded",
7559
- Text = "text/plain",
7560
- }
7106
+ export type AiUrlSourceCategoryEnum =
7107
+ | "Regulatory"
7108
+ | "Guidelines"
7109
+ | "MarketData"
7110
+ | "Custom";
7561
7111
 
7562
- export class HttpClient<SecurityDataType = unknown> {
7563
- public instance: AxiosInstance;
7564
- private securityData: SecurityDataType | null = null;
7565
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
7566
- private secure?: boolean;
7567
- private format?: ResponseType;
7112
+ export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
7568
7113
 
7569
- constructor({
7570
- securityWorker,
7571
- secure,
7572
- format,
7573
- ...axiosConfig
7574
- }: ApiConfig<SecurityDataType> = {}) {
7575
- this.instance = axios.create({
7576
- ...axiosConfig,
7577
- baseURL: axiosConfig.baseURL || "",
7578
- });
7579
- this.secure = secure;
7580
- this.format = format;
7581
- this.securityWorker = securityWorker;
7582
- }
7114
+ export type AuditLogEntryChangeTypeEnum =
7115
+ | "Created"
7116
+ | "Modified"
7117
+ | "SoftDeleted"
7118
+ | "HardDeleted"
7119
+ | "Restored"
7120
+ | "Deactivated"
7121
+ | "Reactivated";
7583
7122
 
7584
- public setSecurityData = (data: SecurityDataType | null) => {
7585
- this.securityData = data;
7586
- };
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";
7587
7137
 
7588
- protected mergeRequestParams(
7589
- params1: AxiosRequestConfig,
7590
- params2?: AxiosRequestConfig,
7591
- ): AxiosRequestConfig {
7592
- 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";
7593
7152
 
7594
- return {
7595
- ...this.instance.defaults,
7596
- ...params1,
7597
- ...(params2 || {}),
7598
- headers: {
7599
- ...((method &&
7600
- this.instance.defaults.headers[
7601
- method.toLowerCase() as keyof HeadersDefaults
7602
- ]) ||
7603
- {}),
7604
- ...(params1.headers || {}),
7605
- ...((params2 && params2.headers) || {}),
7606
- },
7607
- };
7608
- }
7153
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
7609
7154
 
7610
- protected stringifyFormItem(formItem: unknown) {
7611
- if (typeof formItem === "object" && formItem !== null) {
7612
- return JSON.stringify(formItem);
7613
- } else {
7614
- return `${formItem}`;
7615
- }
7616
- }
7155
+ export type CreateAccountRequestEnvironmentEnum =
7156
+ | "Development"
7157
+ | "Staging"
7158
+ | "UAT"
7159
+ | "Production";
7617
7160
 
7618
- protected createFormData(input: Record<string, unknown>): FormData {
7619
- if (input instanceof FormData) {
7620
- return input;
7621
- }
7622
- return Object.keys(input || {}).reduce((formData, key) => {
7623
- const property = input[key];
7624
- const propertyContent: any[] =
7625
- property instanceof Array ? property : [property];
7161
+ export type CreateAiGuardrailRequestCategoryEnum =
7162
+ | "ContentSafety"
7163
+ | "PromptInjection"
7164
+ | "Privacy"
7165
+ | "Legal";
7626
7166
 
7627
- for (const formItem of propertyContent) {
7628
- const isFileType = formItem instanceof Blob || formItem instanceof File;
7629
- formData.append(
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) {
7866
+ const isFileType = formItem instanceof Blob || formItem instanceof File;
7867
+ formData.append(
7630
7868
  key,
7631
7869
  isFileType ? formItem : this.stringifyFormItem(formItem),
7632
7870
  );
@@ -7654,7 +7892,7 @@ export class HttpClient<SecurityDataType = unknown> {
7654
7892
  const responseFormat = format || this.format || undefined;
7655
7893
 
7656
7894
  if (
7657
- type === ContentType.FormData &&
7895
+ type === "multipart/form-data" &&
7658
7896
  body &&
7659
7897
  body !== null &&
7660
7898
  typeof body === "object"
@@ -7663,7 +7901,7 @@ export class HttpClient<SecurityDataType = unknown> {
7663
7901
  }
7664
7902
 
7665
7903
  if (
7666
- type === ContentType.Text &&
7904
+ type === "text/plain" &&
7667
7905
  body &&
7668
7906
  body !== null &&
7669
7907
  typeof body !== "string"
@@ -7770,7 +8008,7 @@ export class Api<
7770
8008
  method: "PUT",
7771
8009
  body: data,
7772
8010
  secure: true,
7773
- type: ContentType.Json,
8011
+ type: "application/json",
7774
8012
  format: "json",
7775
8013
  ...params,
7776
8014
  }),
@@ -7814,7 +8052,7 @@ export class Api<
7814
8052
  method: "PUT",
7815
8053
  body: data,
7816
8054
  secure: true,
7817
- type: ContentType.Json,
8055
+ type: "application/json",
7818
8056
  format: "json",
7819
8057
  ...params,
7820
8058
  }),
@@ -7838,7 +8076,7 @@ export class Api<
7838
8076
  method: "POST",
7839
8077
  body: data,
7840
8078
  secure: true,
7841
- type: ContentType.Json,
8079
+ type: "application/json",
7842
8080
  ...params,
7843
8081
  }),
7844
8082
 
@@ -7862,7 +8100,7 @@ export class Api<
7862
8100
  method: "POST",
7863
8101
  body: data,
7864
8102
  secure: true,
7865
- type: ContentType.Json,
8103
+ type: "application/json",
7866
8104
  ...params,
7867
8105
  }),
7868
8106
 
@@ -7902,7 +8140,7 @@ export class Api<
7902
8140
  method: "POST",
7903
8141
  body: data,
7904
8142
  secure: true,
7905
- type: ContentType.Json,
8143
+ type: "application/json",
7906
8144
  format: "json",
7907
8145
  ...params,
7908
8146
  }),
@@ -7978,7 +8216,7 @@ export class Api<
7978
8216
  method: "PUT",
7979
8217
  body: data,
7980
8218
  secure: true,
7981
- type: ContentType.Json,
8219
+ type: "application/json",
7982
8220
  format: "json",
7983
8221
  ...params,
7984
8222
  }),
@@ -8041,7 +8279,7 @@ export class Api<
8041
8279
  method: "PUT",
8042
8280
  body: data,
8043
8281
  secure: true,
8044
- type: ContentType.Json,
8282
+ type: "application/json",
8045
8283
  ...params,
8046
8284
  }),
8047
8285
 
@@ -8084,7 +8322,7 @@ export class Api<
8084
8322
  method: "PUT",
8085
8323
  body: data,
8086
8324
  secure: true,
8087
- type: ContentType.Json,
8325
+ type: "application/json",
8088
8326
  format: "json",
8089
8327
  ...params,
8090
8328
  }),
@@ -8125,7 +8363,7 @@ export class Api<
8125
8363
  method: "POST",
8126
8364
  body: data,
8127
8365
  secure: true,
8128
- type: ContentType.Json,
8366
+ type: "application/json",
8129
8367
  format: "json",
8130
8368
  ...params,
8131
8369
  }),
@@ -8172,7 +8410,7 @@ export class Api<
8172
8410
  method: "PUT",
8173
8411
  body: data,
8174
8412
  secure: true,
8175
- type: ContentType.Json,
8413
+ type: "application/json",
8176
8414
  format: "json",
8177
8415
  ...params,
8178
8416
  }),
@@ -8238,7 +8476,7 @@ export class Api<
8238
8476
  method: "PUT",
8239
8477
  body: data,
8240
8478
  secure: true,
8241
- type: ContentType.Json,
8479
+ type: "application/json",
8242
8480
  format: "json",
8243
8481
  ...params,
8244
8482
  }),
@@ -8283,7 +8521,7 @@ export class Api<
8283
8521
  method: "POST",
8284
8522
  body: data,
8285
8523
  secure: true,
8286
- type: ContentType.JsonPatch,
8524
+ type: "application/json",
8287
8525
  format: "json",
8288
8526
  ...params,
8289
8527
  }),
@@ -8346,7 +8584,7 @@ export class Api<
8346
8584
  method: "PUT",
8347
8585
  body: data,
8348
8586
  secure: true,
8349
- type: ContentType.Json,
8587
+ type: "application/json",
8350
8588
  format: "json",
8351
8589
  ...params,
8352
8590
  }),
@@ -8568,7 +8806,7 @@ export class Api<
8568
8806
  method: "POST",
8569
8807
  body: data,
8570
8808
  secure: true,
8571
- type: ContentType.Json,
8809
+ type: "application/json",
8572
8810
  format: "json",
8573
8811
  ...params,
8574
8812
  }),
@@ -8615,7 +8853,7 @@ export class Api<
8615
8853
  method: "PUT",
8616
8854
  body: data,
8617
8855
  secure: true,
8618
- type: ContentType.Json,
8856
+ type: "application/json",
8619
8857
  format: "json",
8620
8858
  ...params,
8621
8859
  }),
@@ -8678,7 +8916,7 @@ export class Api<
8678
8916
  method: "POST",
8679
8917
  body: data,
8680
8918
  secure: true,
8681
- type: ContentType.JsonPatch,
8919
+ type: "application/json",
8682
8920
  format: "json",
8683
8921
  ...params,
8684
8922
  }),
@@ -8759,7 +8997,7 @@ export class Api<
8759
8997
  method: "PATCH",
8760
8998
  body: data,
8761
8999
  secure: true,
8762
- type: ContentType.JsonPatch,
9000
+ type: "application/json",
8763
9001
  format: "json",
8764
9002
  ...params,
8765
9003
  }),
@@ -8859,7 +9097,7 @@ export class Api<
8859
9097
  method: "PUT",
8860
9098
  body: data,
8861
9099
  secure: true,
8862
- type: ContentType.Json,
9100
+ type: "application/json",
8863
9101
  format: "json",
8864
9102
  ...params,
8865
9103
  }),
@@ -8987,7 +9225,7 @@ export class Api<
8987
9225
  method: "POST",
8988
9226
  body: data,
8989
9227
  secure: true,
8990
- type: ContentType.Json,
9228
+ type: "application/json",
8991
9229
  format: "json",
8992
9230
  ...params,
8993
9231
  }),
@@ -9034,7 +9272,7 @@ export class Api<
9034
9272
  method: "PUT",
9035
9273
  body: data,
9036
9274
  secure: true,
9037
- type: ContentType.Json,
9275
+ type: "application/json",
9038
9276
  format: "json",
9039
9277
  ...params,
9040
9278
  }),
@@ -9132,7 +9370,7 @@ export class Api<
9132
9370
  query: query,
9133
9371
  body: data,
9134
9372
  secure: true,
9135
- type: ContentType.JsonPatch,
9373
+ type: "application/json",
9136
9374
  format: "json",
9137
9375
  ...params,
9138
9376
  }),
@@ -9208,7 +9446,7 @@ export class Api<
9208
9446
  method: "PUT",
9209
9447
  body: data,
9210
9448
  secure: true,
9211
- type: ContentType.Json,
9449
+ type: "application/json",
9212
9450
  format: "json",
9213
9451
  ...params,
9214
9452
  }),
@@ -9253,7 +9491,7 @@ export class Api<
9253
9491
  method: "POST",
9254
9492
  body: data,
9255
9493
  secure: true,
9256
- type: ContentType.Json,
9494
+ type: "application/json",
9257
9495
  format: "json",
9258
9496
  ...params,
9259
9497
  }),
@@ -9301,7 +9539,7 @@ export class Api<
9301
9539
  method: "PUT",
9302
9540
  body: data,
9303
9541
  secure: true,
9304
- type: ContentType.Json,
9542
+ type: "application/json",
9305
9543
  format: "json",
9306
9544
  ...params,
9307
9545
  }),
@@ -9422,7 +9660,7 @@ export class Api<
9422
9660
  query: query,
9423
9661
  body: data,
9424
9662
  secure: true,
9425
- type: ContentType.JsonPatch,
9663
+ type: "application/json",
9426
9664
  format: "json",
9427
9665
  ...params,
9428
9666
  }),
@@ -9437,32 +9675,140 @@ export class Api<
9437
9675
  * @secure
9438
9676
  * @response `200` `(AuditEntityType)[]` OK
9439
9677
  */
9440
- getAuditLogEntityTypes: (params: RequestParams = {}) =>
9441
- this.request<AuditEntityType[], any>({
9442
- path: `/api/audit-logs/entity-types`,
9443
- 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",
9444
9790
  secure: true,
9445
- format: "json",
9446
9791
  ...params,
9447
9792
  }),
9448
9793
 
9449
9794
  /**
9450
9795
  * No description
9451
9796
  *
9452
- * @tags AuditLog
9453
- * @name GetAuditLogById
9454
- * @summary Get by ID
9455
- * @request GET:/api/audit-logs/{id}
9797
+ * @tags Auth
9798
+ * @name AuthVerifyEmail
9799
+ * @summary Verify Email (branded)
9800
+ * @request POST:/api/auth/verify-email
9456
9801
  * @secure
9457
- * @response `200` `AuditLogEntry` OK
9458
- * @response `404` `ProblemDetails` Not Found
9802
+ * @response `204` `void` No Content
9803
+ * @response `422` `UnprocessableEntity` Unprocessable Content
9459
9804
  */
9460
- getAuditLogById: (id: string, params: RequestParams = {}) =>
9461
- this.request<AuditLogEntry, ProblemDetails>({
9462
- path: `/api/audit-logs/${id}`,
9463
- 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,
9464
9810
  secure: true,
9465
- format: "json",
9811
+ type: "application/json",
9466
9812
  ...params,
9467
9813
  }),
9468
9814
 
@@ -9487,7 +9833,7 @@ export class Api<
9487
9833
  method: "POST",
9488
9834
  body: data,
9489
9835
  secure: true,
9490
- type: ContentType.Json,
9836
+ type: "application/json",
9491
9837
  format: "json",
9492
9838
  ...params,
9493
9839
  }),
@@ -9509,7 +9855,7 @@ export class Api<
9509
9855
  method: "POST",
9510
9856
  body: data,
9511
9857
  secure: true,
9512
- type: ContentType.Json,
9858
+ type: "application/json",
9513
9859
  format: "json",
9514
9860
  ...params,
9515
9861
  }),
@@ -9534,7 +9880,7 @@ export class Api<
9534
9880
  method: "POST",
9535
9881
  body: data,
9536
9882
  secure: true,
9537
- type: ContentType.Json,
9883
+ type: "application/json",
9538
9884
  format: "json",
9539
9885
  ...params,
9540
9886
  }),
@@ -9556,7 +9902,7 @@ export class Api<
9556
9902
  method: "POST",
9557
9903
  body: data,
9558
9904
  secure: true,
9559
- type: ContentType.Json,
9905
+ type: "application/json",
9560
9906
  format: "json",
9561
9907
  ...params,
9562
9908
  }),
@@ -9578,7 +9924,7 @@ export class Api<
9578
9924
  method: "POST",
9579
9925
  body: data,
9580
9926
  secure: true,
9581
- type: ContentType.Json,
9927
+ type: "application/json",
9582
9928
  format: "json",
9583
9929
  ...params,
9584
9930
  }),
@@ -9651,7 +9997,7 @@ export class Api<
9651
9997
  method: "POST",
9652
9998
  body: data,
9653
9999
  secure: true,
9654
- type: ContentType.Json,
10000
+ type: "application/json",
9655
10001
  format: "json",
9656
10002
  ...params,
9657
10003
  }),
@@ -9684,7 +10030,7 @@ export class Api<
9684
10030
  query: query,
9685
10031
  body: data,
9686
10032
  secure: true,
9687
- type: ContentType.Json,
10033
+ type: "application/json",
9688
10034
  format: "json",
9689
10035
  ...params,
9690
10036
  }),
@@ -9729,7 +10075,7 @@ export class Api<
9729
10075
  method: "PUT",
9730
10076
  body: data,
9731
10077
  secure: true,
9732
- type: ContentType.Json,
10078
+ type: "application/json",
9733
10079
  format: "json",
9734
10080
  ...params,
9735
10081
  }),
@@ -9792,7 +10138,7 @@ export class Api<
9792
10138
  method: "POST",
9793
10139
  body: data,
9794
10140
  secure: true,
9795
- type: ContentType.Json,
10141
+ type: "application/json",
9796
10142
  format: "json",
9797
10143
  ...params,
9798
10144
  }),
@@ -9846,7 +10192,7 @@ export class Api<
9846
10192
  query: query,
9847
10193
  body: data,
9848
10194
  secure: true,
9849
- type: ContentType.Json,
10195
+ type: "application/json",
9850
10196
  format: "json",
9851
10197
  ...params,
9852
10198
  }),
@@ -9915,7 +10261,7 @@ export class Api<
9915
10261
  method: "POST",
9916
10262
  body: data,
9917
10263
  secure: true,
9918
- type: ContentType.Json,
10264
+ type: "application/json",
9919
10265
  format: "json",
9920
10266
  ...params,
9921
10267
  }),
@@ -9960,7 +10306,7 @@ export class Api<
9960
10306
  method: "PUT",
9961
10307
  body: data,
9962
10308
  secure: true,
9963
- type: ContentType.Json,
10309
+ type: "application/json",
9964
10310
  format: "json",
9965
10311
  ...params,
9966
10312
  }),
@@ -10021,322 +10367,7 @@ export class Api<
10021
10367
  method: "POST",
10022
10368
  body: data,
10023
10369
  secure: true,
10024
- type: ContentType.Json,
10025
- format: "json",
10026
- ...params,
10027
- }),
10028
-
10029
- /**
10030
- * No description
10031
- *
10032
- * @tags CompanyDocumentFolders
10033
- * @name GetCompanyDocumentFolders
10034
- * @summary Get all company document folders
10035
- * @request GET:/api/company-document-folders
10036
- * @secure
10037
- * @response `200` `(CompanyDocumentFolder)[]` OK
10038
- */
10039
- getCompanyDocumentFolders: (params: RequestParams = {}) =>
10040
- this.request<CompanyDocumentFolder[], any>({
10041
- path: `/api/company-document-folders`,
10042
- method: "GET",
10043
- secure: true,
10044
- format: "json",
10045
- ...params,
10046
- }),
10047
-
10048
- /**
10049
- * No description
10050
- *
10051
- * @tags CompanyDocumentFolders
10052
- * @name CreateCompanyDocumentFolder
10053
- * @summary Create company document folder
10054
- * @request POST:/api/company-document-folders
10055
- * @secure
10056
- * @response `201` `CompanyDocumentFolder` Created
10057
- * @response `400` `ProblemDetails` Bad Request
10058
- * @response `409` `ProblemDetails` Conflict
10059
- */
10060
- createCompanyDocumentFolder: (
10061
- data: CreateCompanyDocumentFolderRequest,
10062
- params: RequestParams = {},
10063
- ) =>
10064
- this.request<CompanyDocumentFolder, ProblemDetails>({
10065
- path: `/api/company-document-folders`,
10066
- method: "POST",
10067
- body: data,
10068
- secure: true,
10069
- type: ContentType.Json,
10070
- format: "json",
10071
- ...params,
10072
- }),
10073
-
10074
- /**
10075
- * No description
10076
- *
10077
- * @tags CompanyDocumentFolders
10078
- * @name GetCompanyDocumentFolder
10079
- * @summary Get company document folder by ID
10080
- * @request GET:/api/company-document-folders/{id}
10081
- * @secure
10082
- * @response `200` `CompanyDocumentFolder` OK
10083
- * @response `404` `ProblemDetails` Not Found
10084
- */
10085
- getCompanyDocumentFolder: (id: string, params: RequestParams = {}) =>
10086
- this.request<CompanyDocumentFolder, ProblemDetails>({
10087
- path: `/api/company-document-folders/${id}`,
10088
- method: "GET",
10089
- secure: true,
10090
- format: "json",
10091
- ...params,
10092
- }),
10093
-
10094
- /**
10095
- * No description
10096
- *
10097
- * @tags CompanyDocumentFolders
10098
- * @name UpdateCompanyDocumentFolder
10099
- * @summary Update company document folder
10100
- * @request PUT:/api/company-document-folders/{id}
10101
- * @secure
10102
- * @response `200` `CompanyDocumentFolder` OK
10103
- * @response `400` `ProblemDetails` Bad Request
10104
- * @response `404` `ProblemDetails` Not Found
10105
- * @response `409` `ProblemDetails` Conflict
10106
- */
10107
- updateCompanyDocumentFolder: (
10108
- id: string,
10109
- data: UpdateCompanyDocumentFolderRequest,
10110
- params: RequestParams = {},
10111
- ) =>
10112
- this.request<CompanyDocumentFolder, ProblemDetails>({
10113
- path: `/api/company-document-folders/${id}`,
10114
- method: "PUT",
10115
- body: data,
10116
- secure: true,
10117
- type: ContentType.Json,
10118
- format: "json",
10119
- ...params,
10120
- }),
10121
-
10122
- /**
10123
- * No description
10124
- *
10125
- * @tags CompanyDocumentFolders
10126
- * @name DeleteCompanyDocumentFolder
10127
- * @summary Delete company document folder
10128
- * @request DELETE:/api/company-document-folders/{id}
10129
- * @secure
10130
- * @response `204` `void` No Content
10131
- * @response `400` `ProblemDetails` Bad Request
10132
- * @response `404` `ProblemDetails` Not Found
10133
- * @response `409` `ProblemDetails` Conflict
10134
- */
10135
- deleteCompanyDocumentFolder: (id: string, params: RequestParams = {}) =>
10136
- this.request<void, ProblemDetails>({
10137
- path: `/api/company-document-folders/${id}`,
10138
- method: "DELETE",
10139
- secure: true,
10140
- ...params,
10141
- }),
10142
-
10143
- /**
10144
- * No description
10145
- *
10146
- * @tags CompanyDocuments
10147
- * @name SearchCompanyDocuments
10148
- * @summary Search company documents
10149
- * @request POST:/api/company-documents/search
10150
- * @secure
10151
- * @response `200` `CompanyDocumentPaginated` OK
10152
- * @response `400` `ProblemDetails` Bad Request
10153
- */
10154
- searchCompanyDocuments: (
10155
- data: CompanyDocumentSearchCriteria,
10156
- query?: {
10157
- /** @format int32 */
10158
- pageSize?: number;
10159
- /** @format int32 */
10160
- pageNumber?: number;
10161
- sortBy?: string;
10162
- sortDirection?: string;
10163
- },
10164
- params: RequestParams = {},
10165
- ) =>
10166
- this.request<CompanyDocumentPaginated, ProblemDetails>({
10167
- path: `/api/company-documents/search`,
10168
- method: "POST",
10169
- query: query,
10170
- body: data,
10171
- secure: true,
10172
- type: ContentType.Json,
10173
- format: "json",
10174
- ...params,
10175
- }),
10176
-
10177
- /**
10178
- * No description
10179
- *
10180
- * @tags CompanyDocuments
10181
- * @name GetCompanyDocument
10182
- * @summary Get company document by ID
10183
- * @request GET:/api/company-documents/{id}
10184
- * @secure
10185
- * @response `200` `CompanyDocument` OK
10186
- * @response `404` `ProblemDetails` Not Found
10187
- */
10188
- getCompanyDocument: (id: string, params: RequestParams = {}) =>
10189
- this.request<CompanyDocument, ProblemDetails>({
10190
- path: `/api/company-documents/${id}`,
10191
- method: "GET",
10192
- secure: true,
10193
- format: "json",
10194
- ...params,
10195
- }),
10196
-
10197
- /**
10198
- * No description
10199
- *
10200
- * @tags CompanyDocuments
10201
- * @name UpdateCompanyDocument
10202
- * @summary Update company document
10203
- * @request PUT:/api/company-documents/{id}
10204
- * @secure
10205
- * @response `200` `CompanyDocument` OK
10206
- * @response `400` `ProblemDetails` Bad Request
10207
- * @response `404` `ProblemDetails` Not Found
10208
- * @response `409` `ProblemDetails` Conflict
10209
- */
10210
- updateCompanyDocument: (
10211
- id: string,
10212
- data: UpdateCompanyDocumentRequest,
10213
- params: RequestParams = {},
10214
- ) =>
10215
- this.request<CompanyDocument, ProblemDetails>({
10216
- path: `/api/company-documents/${id}`,
10217
- method: "PUT",
10218
- body: data,
10219
- secure: true,
10220
- type: ContentType.Json,
10221
- format: "json",
10222
- ...params,
10223
- }),
10224
-
10225
- /**
10226
- * No description
10227
- *
10228
- * @tags CompanyDocuments
10229
- * @name DeleteCompanyDocument
10230
- * @summary Delete company document
10231
- * @request DELETE:/api/company-documents/{id}
10232
- * @secure
10233
- * @response `204` `void` No Content
10234
- * @response `404` `ProblemDetails` Not Found
10235
- */
10236
- deleteCompanyDocument: (id: string, params: RequestParams = {}) =>
10237
- this.request<void, ProblemDetails>({
10238
- path: `/api/company-documents/${id}`,
10239
- method: "DELETE",
10240
- secure: true,
10241
- ...params,
10242
- }),
10243
-
10244
- /**
10245
- * No description
10246
- *
10247
- * @tags CompanyDocuments
10248
- * @name DownloadCompanyDocument
10249
- * @summary Download company document
10250
- * @request GET:/api/company-documents/{id}/download
10251
- * @secure
10252
- * @response `200` `void` OK
10253
- * @response `404` `ProblemDetails` Not Found
10254
- */
10255
- downloadCompanyDocument: (id: string, params: RequestParams = {}) =>
10256
- this.request<void, ProblemDetails>({
10257
- path: `/api/company-documents/${id}/download`,
10258
- method: "GET",
10259
- secure: true,
10260
- ...params,
10261
- }),
10262
-
10263
- /**
10264
- * No description
10265
- *
10266
- * @tags CompanyDocuments
10267
- * @name CreateCompanyDocument
10268
- * @summary Upload company document
10269
- * @request POST:/api/company-documents
10270
- * @secure
10271
- * @response `201` `CompanyDocument` Created
10272
- * @response `400` `ProblemDetails` Bad Request
10273
- * @response `404` `ProblemDetails` Not Found
10274
- * @response `409` `ProblemDetails` Conflict
10275
- */
10276
- createCompanyDocument: (
10277
- data: {
10278
- /** @format binary */
10279
- file?: File;
10280
- /** @format uuid */
10281
- folderID?: string;
10282
- name?: string;
10283
- },
10284
- params: RequestParams = {},
10285
- ) =>
10286
- this.request<CompanyDocument, ProblemDetails>({
10287
- path: `/api/company-documents`,
10288
- method: "POST",
10289
- body: data,
10290
- secure: true,
10291
- type: ContentType.FormData,
10292
- format: "json",
10293
- ...params,
10294
- }),
10295
-
10296
- /**
10297
- * No description
10298
- *
10299
- * @tags CompanyDocuments
10300
- * @name CreateCompanyTextDocument
10301
- * @summary Create free-form text company document
10302
- * @request POST:/api/company-documents/text
10303
- * @secure
10304
- * @response `201` `CompanyDocument` Created
10305
- * @response `400` `ProblemDetails` Bad Request
10306
- * @response `404` `ProblemDetails` Not Found
10307
- * @response `409` `ProblemDetails` Conflict
10308
- */
10309
- createCompanyTextDocument: (
10310
- data: CreateCompanyTextDocumentRequest,
10311
- params: RequestParams = {},
10312
- ) =>
10313
- this.request<CompanyDocument, ProblemDetails>({
10314
- path: `/api/company-documents/text`,
10315
- method: "POST",
10316
- body: data,
10317
- secure: true,
10318
- type: ContentType.Json,
10319
- format: "json",
10320
- ...params,
10321
- }),
10322
-
10323
- /**
10324
- * No description
10325
- *
10326
- * @tags CompanyDocuments
10327
- * @name ReindexCompanyDocument
10328
- * @summary Re-index a failed company document
10329
- * @request POST:/api/company-documents/{id}/reindex
10330
- * @secure
10331
- * @response `200` `CompanyDocument` OK
10332
- * @response `400` `ProblemDetails` Bad Request
10333
- * @response `404` `ProblemDetails` Not Found
10334
- */
10335
- reindexCompanyDocument: (id: string, params: RequestParams = {}) =>
10336
- this.request<CompanyDocument, ProblemDetails>({
10337
- path: `/api/company-documents/${id}/reindex`,
10338
- method: "POST",
10339
- secure: true,
10370
+ type: "application/json",
10340
10371
  format: "json",
10341
10372
  ...params,
10342
10373
  }),
@@ -10435,7 +10466,7 @@ export class Api<
10435
10466
  method: "POST",
10436
10467
  body: data,
10437
10468
  secure: true,
10438
- type: ContentType.Json,
10469
+ type: "application/json",
10439
10470
  format: "json",
10440
10471
  ...params,
10441
10472
  }),
@@ -10468,7 +10499,7 @@ export class Api<
10468
10499
  query: query,
10469
10500
  body: data,
10470
10501
  secure: true,
10471
- type: ContentType.Json,
10502
+ type: "application/json",
10472
10503
  format: "json",
10473
10504
  ...params,
10474
10505
  }),
@@ -10513,7 +10544,7 @@ export class Api<
10513
10544
  method: "PUT",
10514
10545
  body: data,
10515
10546
  secure: true,
10516
- type: ContentType.Json,
10547
+ type: "application/json",
10517
10548
  format: "json",
10518
10549
  ...params,
10519
10550
  }),
@@ -10575,7 +10606,7 @@ export class Api<
10575
10606
  method: "POST",
10576
10607
  body: data,
10577
10608
  secure: true,
10578
- type: ContentType.Json,
10609
+ type: "application/json",
10579
10610
  format: "json",
10580
10611
  ...params,
10581
10612
  }),
@@ -10629,7 +10660,7 @@ export class Api<
10629
10660
  query: query,
10630
10661
  body: data,
10631
10662
  secure: true,
10632
- type: ContentType.Json,
10663
+ type: "application/json",
10633
10664
  format: "json",
10634
10665
  ...params,
10635
10666
  }),
@@ -10684,7 +10715,7 @@ export class Api<
10684
10715
  */
10685
10716
  getCustomFieldDefinitions: (
10686
10717
  query?: {
10687
- entityType?: "Loan";
10718
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
10688
10719
  },
10689
10720
  params: RequestParams = {},
10690
10721
  ) =>
@@ -10718,7 +10749,7 @@ export class Api<
10718
10749
  method: "POST",
10719
10750
  body: data,
10720
10751
  secure: true,
10721
- type: ContentType.Json,
10752
+ type: "application/json",
10722
10753
  format: "json",
10723
10754
  ...params,
10724
10755
  }),
@@ -10767,7 +10798,7 @@ export class Api<
10767
10798
  method: "PUT",
10768
10799
  body: data,
10769
10800
  secure: true,
10770
- type: ContentType.Json,
10801
+ type: "application/json",
10771
10802
  format: "json",
10772
10803
  ...params,
10773
10804
  }),
@@ -10901,7 +10932,7 @@ export class Api<
10901
10932
  method: "PUT",
10902
10933
  body: data,
10903
10934
  secure: true,
10904
- type: ContentType.Json,
10935
+ type: "application/json",
10905
10936
  format: "json",
10906
10937
  ...params,
10907
10938
  }),
@@ -11020,7 +11051,7 @@ export class Api<
11020
11051
  method: "POST",
11021
11052
  body: data,
11022
11053
  secure: true,
11023
- type: ContentType.Json,
11054
+ type: "application/json",
11024
11055
  format: "json",
11025
11056
  ...params,
11026
11057
  }),
@@ -11097,7 +11128,7 @@ export class Api<
11097
11128
  method: "PUT",
11098
11129
  body: data,
11099
11130
  secure: true,
11100
- type: ContentType.Json,
11131
+ type: "application/json",
11101
11132
  format: "json",
11102
11133
  ...params,
11103
11134
  }),
@@ -11184,7 +11215,7 @@ export class Api<
11184
11215
  method: "POST",
11185
11216
  body: data,
11186
11217
  secure: true,
11187
- type: ContentType.Json,
11218
+ type: "application/json",
11188
11219
  format: "json",
11189
11220
  ...params,
11190
11221
  }),
@@ -11233,7 +11264,7 @@ export class Api<
11233
11264
  method: "PUT",
11234
11265
  body: data,
11235
11266
  secure: true,
11236
- type: ContentType.Json,
11267
+ type: "application/json",
11237
11268
  format: "json",
11238
11269
  ...params,
11239
11270
  }),
@@ -11308,7 +11339,7 @@ export class Api<
11308
11339
  method: "POST",
11309
11340
  body: data,
11310
11341
  secure: true,
11311
- type: ContentType.Json,
11342
+ type: "application/json",
11312
11343
  format: "json",
11313
11344
  ...params,
11314
11345
  }),
@@ -11525,7 +11556,7 @@ export class Api<
11525
11556
  method: "POST",
11526
11557
  body: data,
11527
11558
  secure: true,
11528
- type: ContentType.Json,
11559
+ type: "application/json",
11529
11560
  format: "json",
11530
11561
  ...params,
11531
11562
  }),
@@ -11588,7 +11619,7 @@ export class Api<
11588
11619
  method: "POST",
11589
11620
  body: data,
11590
11621
  secure: true,
11591
- type: ContentType.FormData,
11622
+ type: "multipart/form-data",
11592
11623
  format: "json",
11593
11624
  ...params,
11594
11625
  }),
@@ -11629,7 +11660,7 @@ export class Api<
11629
11660
  method: "PUT",
11630
11661
  body: data,
11631
11662
  secure: true,
11632
- type: ContentType.Json,
11663
+ type: "application/json",
11633
11664
  format: "json",
11634
11665
  ...params,
11635
11666
  }),
@@ -11680,7 +11711,7 @@ export class Api<
11680
11711
  query: query,
11681
11712
  body: data,
11682
11713
  secure: true,
11683
- type: ContentType.Json,
11714
+ type: "application/json",
11684
11715
  format: "json",
11685
11716
  ...params,
11686
11717
  }),
@@ -11727,7 +11758,7 @@ export class Api<
11727
11758
  method: "POST",
11728
11759
  body: data,
11729
11760
  secure: true,
11730
- type: ContentType.Json,
11761
+ type: "application/json",
11731
11762
  format: "json",
11732
11763
  ...params,
11733
11764
  }),
@@ -11768,7 +11799,7 @@ export class Api<
11768
11799
  method: "PUT",
11769
11800
  body: data,
11770
11801
  secure: true,
11771
- type: ContentType.Json,
11802
+ type: "application/json",
11772
11803
  format: "json",
11773
11804
  ...params,
11774
11805
  }),
@@ -11834,7 +11865,7 @@ export class Api<
11834
11865
  method: "POST",
11835
11866
  body: data,
11836
11867
  secure: true,
11837
- type: ContentType.FormData,
11868
+ type: "multipart/form-data",
11838
11869
  format: "json",
11839
11870
  ...params,
11840
11871
  }),
@@ -11942,7 +11973,7 @@ export class Api<
11942
11973
  query: query,
11943
11974
  body: data,
11944
11975
  secure: true,
11945
- type: ContentType.Json,
11976
+ type: "application/json",
11946
11977
  format: "json",
11947
11978
  ...params,
11948
11979
  }),
@@ -11986,7 +12017,7 @@ export class Api<
11986
12017
  method: "PUT",
11987
12018
  body: data,
11988
12019
  secure: true,
11989
- type: ContentType.Json,
12020
+ type: "application/json",
11990
12021
  format: "json",
11991
12022
  ...params,
11992
12023
  }),
@@ -12037,7 +12068,7 @@ export class Api<
12037
12068
  query: query,
12038
12069
  body: data,
12039
12070
  secure: true,
12040
- type: ContentType.Json,
12071
+ type: "application/json",
12041
12072
  format: "json",
12042
12073
  ...params,
12043
12074
  }),
@@ -12081,7 +12112,7 @@ export class Api<
12081
12112
  method: "POST",
12082
12113
  body: data,
12083
12114
  secure: true,
12084
- type: ContentType.Json,
12115
+ type: "application/json",
12085
12116
  format: "json",
12086
12117
  ...params,
12087
12118
  }),
@@ -12126,7 +12157,7 @@ export class Api<
12126
12157
  method: "PUT",
12127
12158
  body: data,
12128
12159
  secure: true,
12129
- type: ContentType.Json,
12160
+ type: "application/json",
12130
12161
  format: "json",
12131
12162
  ...params,
12132
12163
  }),
@@ -12214,7 +12245,7 @@ export class Api<
12214
12245
  method: "PATCH",
12215
12246
  body: data,
12216
12247
  secure: true,
12217
- type: ContentType.JsonPatch,
12248
+ type: "application/json",
12218
12249
  format: "json",
12219
12250
  ...params,
12220
12251
  }),
@@ -12235,7 +12266,7 @@ export class Api<
12235
12266
  method: "POST",
12236
12267
  body: data,
12237
12268
  secure: true,
12238
- type: ContentType.Json,
12269
+ type: "application/json",
12239
12270
  format: "json",
12240
12271
  ...params,
12241
12272
  }),
@@ -12267,7 +12298,7 @@ export class Api<
12267
12298
  query: query,
12268
12299
  body: data,
12269
12300
  secure: true,
12270
- type: ContentType.Json,
12301
+ type: "application/json",
12271
12302
  format: "json",
12272
12303
  ...params,
12273
12304
  }),
@@ -12298,7 +12329,7 @@ export class Api<
12298
12329
  query: query,
12299
12330
  body: data,
12300
12331
  secure: true,
12301
- type: ContentType.Json,
12332
+ type: "application/json",
12302
12333
  format: "json",
12303
12334
  ...params,
12304
12335
  }),
@@ -12324,7 +12355,7 @@ export class Api<
12324
12355
  method: "PATCH",
12325
12356
  body: data,
12326
12357
  secure: true,
12327
- type: ContentType.JsonPatch,
12358
+ type: "application/json",
12328
12359
  format: "json",
12329
12360
  ...params,
12330
12361
  }),
@@ -12351,7 +12382,7 @@ export class Api<
12351
12382
  method: "PATCH",
12352
12383
  body: data,
12353
12384
  secure: true,
12354
- type: ContentType.JsonPatch,
12385
+ type: "application/json",
12355
12386
  format: "json",
12356
12387
  ...params,
12357
12388
  }),
@@ -12524,7 +12555,7 @@ export class Api<
12524
12555
  method: "POST",
12525
12556
  body: data,
12526
12557
  secure: true,
12527
- type: ContentType.FormData,
12558
+ type: "multipart/form-data",
12528
12559
  format: "json",
12529
12560
  ...params,
12530
12561
  }),
@@ -12549,7 +12580,7 @@ export class Api<
12549
12580
  method: "PATCH",
12550
12581
  body: data,
12551
12582
  secure: true,
12552
- type: ContentType.JsonPatch,
12583
+ type: "application/json",
12553
12584
  format: "json",
12554
12585
  ...params,
12555
12586
  }),
@@ -12604,7 +12635,7 @@ export class Api<
12604
12635
  method: "POST",
12605
12636
  body: data,
12606
12637
  secure: true,
12607
- type: ContentType.FormData,
12638
+ type: "multipart/form-data",
12608
12639
  format: "json",
12609
12640
  ...params,
12610
12641
  }),
@@ -12629,7 +12660,7 @@ export class Api<
12629
12660
  method: "PATCH",
12630
12661
  body: data,
12631
12662
  secure: true,
12632
- type: ContentType.JsonPatch,
12663
+ type: "application/json",
12633
12664
  format: "json",
12634
12665
  ...params,
12635
12666
  }),
@@ -12703,7 +12734,7 @@ export class Api<
12703
12734
  method: "POST",
12704
12735
  body: data,
12705
12736
  secure: true,
12706
- type: ContentType.Json,
12737
+ type: "application/json",
12707
12738
  format: "json",
12708
12739
  ...params,
12709
12740
  }),
@@ -12766,7 +12797,7 @@ export class Api<
12766
12797
  method: "PUT",
12767
12798
  body: data,
12768
12799
  secure: true,
12769
- type: ContentType.Json,
12800
+ type: "application/json",
12770
12801
  format: "json",
12771
12802
  ...params,
12772
12803
  }),
@@ -12817,7 +12848,7 @@ export class Api<
12817
12848
  query: query,
12818
12849
  body: data,
12819
12850
  secure: true,
12820
- type: ContentType.Json,
12851
+ type: "application/json",
12821
12852
  format: "json",
12822
12853
  ...params,
12823
12854
  }),
@@ -12845,7 +12876,7 @@ export class Api<
12845
12876
  method: "PUT",
12846
12877
  body: data,
12847
12878
  secure: true,
12848
- type: ContentType.FormData,
12879
+ type: "multipart/form-data",
12849
12880
  format: "json",
12850
12881
  ...params,
12851
12882
  }),
@@ -12928,7 +12959,7 @@ export class Api<
12928
12959
  method: "POST",
12929
12960
  body: data,
12930
12961
  secure: true,
12931
- type: ContentType.Json,
12962
+ type: "application/json",
12932
12963
  format: "json",
12933
12964
  ...params,
12934
12965
  }),
@@ -12975,7 +13006,7 @@ export class Api<
12975
13006
  method: "POST",
12976
13007
  body: data,
12977
13008
  secure: true,
12978
- type: ContentType.Json,
13009
+ type: "application/json",
12979
13010
  format: "json",
12980
13011
  ...params,
12981
13012
  }),
@@ -13023,7 +13054,7 @@ export class Api<
13023
13054
  method: "POST",
13024
13055
  body: data,
13025
13056
  secure: true,
13026
- type: ContentType.Json,
13057
+ type: "application/json",
13027
13058
  ...params,
13028
13059
  }),
13029
13060
 
@@ -13088,7 +13119,7 @@ export class Api<
13088
13119
  method: "PUT",
13089
13120
  body: data,
13090
13121
  secure: true,
13091
- type: ContentType.Json,
13122
+ type: "application/json",
13092
13123
  ...params,
13093
13124
  }),
13094
13125
 
@@ -13116,7 +13147,7 @@ export class Api<
13116
13147
  method: "PUT",
13117
13148
  body: data,
13118
13149
  secure: true,
13119
- type: ContentType.Json,
13150
+ type: "application/json",
13120
13151
  ...params,
13121
13152
  }),
13122
13153
 
@@ -13182,7 +13213,7 @@ export class Api<
13182
13213
  method: "POST",
13183
13214
  body: data,
13184
13215
  secure: true,
13185
- type: ContentType.Json,
13216
+ type: "application/json",
13186
13217
  format: "json",
13187
13218
  ...params,
13188
13219
  }),
@@ -13227,7 +13258,7 @@ export class Api<
13227
13258
  method: "POST",
13228
13259
  body: data,
13229
13260
  secure: true,
13230
- type: ContentType.Json,
13261
+ type: "application/json",
13231
13262
  format: "json",
13232
13263
  ...params,
13233
13264
  }),
@@ -13276,7 +13307,7 @@ export class Api<
13276
13307
  method: "PUT",
13277
13308
  body: data,
13278
13309
  secure: true,
13279
- type: ContentType.Json,
13310
+ type: "application/json",
13280
13311
  format: "json",
13281
13312
  ...params,
13282
13313
  }),
@@ -13411,7 +13442,7 @@ export class Api<
13411
13442
  method: "POST",
13412
13443
  body: data,
13413
13444
  secure: true,
13414
- type: ContentType.Json,
13445
+ type: "application/json",
13415
13446
  format: "json",
13416
13447
  ...params,
13417
13448
  }),
@@ -13445,7 +13476,7 @@ export class Api<
13445
13476
  query: query,
13446
13477
  body: data,
13447
13478
  secure: true,
13448
- type: ContentType.Json,
13479
+ type: "application/json",
13449
13480
  format: "json",
13450
13481
  ...params,
13451
13482
  }),
@@ -13475,7 +13506,7 @@ export class Api<
13475
13506
  query: query,
13476
13507
  body: data,
13477
13508
  secure: true,
13478
- type: ContentType.Json,
13509
+ type: "application/json",
13479
13510
  format: "json",
13480
13511
  ...params,
13481
13512
  }),
@@ -13488,7 +13519,7 @@ export class Api<
13488
13519
  * @summary Download By ID
13489
13520
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
13490
13521
  * @secure
13491
- * @response `200` `string` OK
13522
+ * @response `200` `Blob` OK
13492
13523
  * @response `404` `ProblemDetails` Not Found
13493
13524
  */
13494
13525
  downloadLoanDocument: (
@@ -13496,7 +13527,7 @@ export class Api<
13496
13527
  documentId: string,
13497
13528
  params: RequestParams = {},
13498
13529
  ) =>
13499
- this.request<string, ProblemDetails>({
13530
+ this.request<Blob, ProblemDetails>({
13500
13531
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
13501
13532
  method: "GET",
13502
13533
  secure: true,
@@ -13533,7 +13564,7 @@ export class Api<
13533
13564
  method: "POST",
13534
13565
  body: data,
13535
13566
  secure: true,
13536
- type: ContentType.FormData,
13567
+ type: "multipart/form-data",
13537
13568
  format: "json",
13538
13569
  ...params,
13539
13570
  }),
@@ -13583,7 +13614,7 @@ export class Api<
13583
13614
  method: "POST",
13584
13615
  body: data,
13585
13616
  secure: true,
13586
- type: ContentType.Json,
13617
+ type: "application/json",
13587
13618
  format: "json",
13588
13619
  ...params,
13589
13620
  }),
@@ -13610,7 +13641,7 @@ export class Api<
13610
13641
  method: "POST",
13611
13642
  body: data,
13612
13643
  secure: true,
13613
- type: ContentType.Json,
13644
+ type: "application/json",
13614
13645
  ...params,
13615
13646
  }),
13616
13647
 
@@ -13657,7 +13688,7 @@ export class Api<
13657
13688
  method: "POST",
13658
13689
  body: data,
13659
13690
  secure: true,
13660
- type: ContentType.Json,
13691
+ type: "application/json",
13661
13692
  format: "json",
13662
13693
  ...params,
13663
13694
  }),
@@ -13702,7 +13733,7 @@ export class Api<
13702
13733
  method: "POST",
13703
13734
  body: data,
13704
13735
  secure: true,
13705
- type: ContentType.Json,
13736
+ type: "application/json",
13706
13737
  format: "json",
13707
13738
  ...params,
13708
13739
  }),
@@ -13765,7 +13796,7 @@ export class Api<
13765
13796
  method: "PUT",
13766
13797
  body: data,
13767
13798
  secure: true,
13768
- type: ContentType.Json,
13799
+ type: "application/json",
13769
13800
  format: "json",
13770
13801
  ...params,
13771
13802
  }),
@@ -13816,7 +13847,7 @@ export class Api<
13816
13847
  query: query,
13817
13848
  body: data,
13818
13849
  secure: true,
13819
- type: ContentType.Json,
13850
+ type: "application/json",
13820
13851
  format: "json",
13821
13852
  ...params,
13822
13853
  }),
@@ -13841,7 +13872,7 @@ export class Api<
13841
13872
  method: "PUT",
13842
13873
  body: data,
13843
13874
  secure: true,
13844
- type: ContentType.Json,
13875
+ type: "application/json",
13845
13876
  format: "json",
13846
13877
  ...params,
13847
13878
  }),
@@ -13916,7 +13947,7 @@ export class Api<
13916
13947
  method: "POST",
13917
13948
  body: data,
13918
13949
  secure: true,
13919
- type: ContentType.Json,
13950
+ type: "application/json",
13920
13951
  format: "json",
13921
13952
  ...params,
13922
13953
  }),
@@ -14012,7 +14043,7 @@ export class Api<
14012
14043
  method: "POST",
14013
14044
  body: data,
14014
14045
  secure: true,
14015
- type: ContentType.Json,
14046
+ type: "application/json",
14016
14047
  format: "json",
14017
14048
  ...params,
14018
14049
  }),
@@ -14046,7 +14077,7 @@ export class Api<
14046
14077
  query: query,
14047
14078
  body: data,
14048
14079
  secure: true,
14049
- type: ContentType.Json,
14080
+ type: "application/json",
14050
14081
  format: "json",
14051
14082
  ...params,
14052
14083
  }),
@@ -14097,7 +14128,7 @@ export class Api<
14097
14128
  method: "POST",
14098
14129
  body: data,
14099
14130
  secure: true,
14100
- type: ContentType.Json,
14131
+ type: "application/json",
14101
14132
  ...params,
14102
14133
  }),
14103
14134
 
@@ -14123,7 +14154,7 @@ export class Api<
14123
14154
  method: "POST",
14124
14155
  body: data,
14125
14156
  secure: true,
14126
- type: ContentType.Json,
14157
+ type: "application/json",
14127
14158
  ...params,
14128
14159
  }),
14129
14160
 
@@ -14186,7 +14217,7 @@ export class Api<
14186
14217
  query: query,
14187
14218
  body: data,
14188
14219
  secure: true,
14189
- type: ContentType.Json,
14220
+ type: "application/json",
14190
14221
  format: "json",
14191
14222
  ...params,
14192
14223
  }),
@@ -14231,7 +14262,7 @@ export class Api<
14231
14262
  method: "POST",
14232
14263
  body: data,
14233
14264
  secure: true,
14234
- type: ContentType.Json,
14265
+ type: "application/json",
14235
14266
  format: "json",
14236
14267
  ...params,
14237
14268
  }),
@@ -14285,7 +14316,7 @@ export class Api<
14285
14316
  query: query,
14286
14317
  body: data,
14287
14318
  secure: true,
14288
- type: ContentType.Json,
14319
+ type: "application/json",
14289
14320
  format: "json",
14290
14321
  ...params,
14291
14322
  }),
@@ -14318,7 +14349,7 @@ export class Api<
14318
14349
  query: query,
14319
14350
  body: data,
14320
14351
  secure: true,
14321
- type: ContentType.Json,
14352
+ type: "application/json",
14322
14353
  format: "json",
14323
14354
  ...params,
14324
14355
  }),
@@ -14364,7 +14395,7 @@ export class Api<
14364
14395
  method: "PUT",
14365
14396
  body: data,
14366
14397
  secure: true,
14367
- type: ContentType.Json,
14398
+ type: "application/json",
14368
14399
  format: "json",
14369
14400
  ...params,
14370
14401
  }),
@@ -14465,7 +14496,7 @@ export class Api<
14465
14496
  method: "POST",
14466
14497
  body: data,
14467
14498
  secure: true,
14468
- type: ContentType.Json,
14499
+ type: "application/json",
14469
14500
  format: "json",
14470
14501
  ...params,
14471
14502
  }),
@@ -14498,7 +14529,7 @@ export class Api<
14498
14529
  query: query,
14499
14530
  body: data,
14500
14531
  secure: true,
14501
- type: ContentType.Json,
14532
+ type: "application/json",
14502
14533
  format: "json",
14503
14534
  ...params,
14504
14535
  }),
@@ -14528,7 +14559,7 @@ export class Api<
14528
14559
  method: "PATCH",
14529
14560
  body: data,
14530
14561
  secure: true,
14531
- type: ContentType.JsonPatch,
14562
+ type: "application/json",
14532
14563
  format: "json",
14533
14564
  ...params,
14534
14565
  }),
@@ -14638,7 +14669,7 @@ export class Api<
14638
14669
  method: "POST",
14639
14670
  body: data,
14640
14671
  secure: true,
14641
- type: ContentType.Json,
14672
+ type: "application/json",
14642
14673
  format: "json",
14643
14674
  ...params,
14644
14675
  }),
@@ -14674,7 +14705,7 @@ export class Api<
14674
14705
  query: query,
14675
14706
  body: data,
14676
14707
  secure: true,
14677
- type: ContentType.Json,
14708
+ type: "application/json",
14678
14709
  format: "json",
14679
14710
  ...params,
14680
14711
  }),
@@ -14726,7 +14757,7 @@ export class Api<
14726
14757
  method: "POST",
14727
14758
  body: data,
14728
14759
  secure: true,
14729
- type: ContentType.Json,
14760
+ type: "application/json",
14730
14761
  format: "json",
14731
14762
  ...params,
14732
14763
  }),
@@ -14754,7 +14785,7 @@ export class Api<
14754
14785
  method: "PUT",
14755
14786
  body: data,
14756
14787
  secure: true,
14757
- type: ContentType.Json,
14788
+ type: "application/json",
14758
14789
  format: "json",
14759
14790
  ...params,
14760
14791
  }),
@@ -14813,7 +14844,7 @@ export class Api<
14813
14844
  method: "POST",
14814
14845
  body: data,
14815
14846
  secure: true,
14816
- type: ContentType.FormData,
14847
+ type: "multipart/form-data",
14817
14848
  format: "json",
14818
14849
  ...params,
14819
14850
  }),
@@ -14841,7 +14872,7 @@ export class Api<
14841
14872
  method: "POST",
14842
14873
  body: data,
14843
14874
  secure: true,
14844
- type: ContentType.Json,
14875
+ type: "application/json",
14845
14876
  ...params,
14846
14877
  }),
14847
14878
 
@@ -14867,7 +14898,7 @@ export class Api<
14867
14898
  method: "POST",
14868
14899
  body: data,
14869
14900
  secure: true,
14870
- type: ContentType.Json,
14901
+ type: "application/json",
14871
14902
  ...params,
14872
14903
  }),
14873
14904
 
@@ -14899,7 +14930,7 @@ export class Api<
14899
14930
  query: query,
14900
14931
  body: data,
14901
14932
  secure: true,
14902
- type: ContentType.Json,
14933
+ type: "application/json",
14903
14934
  format: "json",
14904
14935
  ...params,
14905
14936
  }),
@@ -14924,7 +14955,7 @@ export class Api<
14924
14955
  method: "POST",
14925
14956
  body: data,
14926
14957
  secure: true,
14927
- type: ContentType.Json,
14958
+ type: "application/json",
14928
14959
  format: "json",
14929
14960
  ...params,
14930
14961
  }),
@@ -15011,7 +15042,7 @@ export class Api<
15011
15042
  method: "POST",
15012
15043
  body: data,
15013
15044
  secure: true,
15014
- type: ContentType.Json,
15045
+ type: "application/json",
15015
15046
  format: "json",
15016
15047
  ...params,
15017
15048
  }),
@@ -15037,7 +15068,7 @@ export class Api<
15037
15068
  method: "POST",
15038
15069
  body: data,
15039
15070
  secure: true,
15040
- type: ContentType.Json,
15071
+ type: "application/json",
15041
15072
  format: "json",
15042
15073
  ...params,
15043
15074
  }),
@@ -15064,7 +15095,7 @@ export class Api<
15064
15095
  method: "PUT",
15065
15096
  body: data,
15066
15097
  secure: true,
15067
- type: ContentType.Json,
15098
+ type: "application/json",
15068
15099
  format: "json",
15069
15100
  ...params,
15070
15101
  }),
@@ -15181,7 +15212,7 @@ export class Api<
15181
15212
  method: "POST",
15182
15213
  body: data,
15183
15214
  secure: true,
15184
- type: ContentType.Json,
15215
+ type: "application/json",
15185
15216
  format: "json",
15186
15217
  ...params,
15187
15218
  }),
@@ -15259,7 +15290,7 @@ export class Api<
15259
15290
  query: query,
15260
15291
  body: data,
15261
15292
  secure: true,
15262
- type: ContentType.Json,
15293
+ type: "application/json",
15263
15294
  format: "json",
15264
15295
  ...params,
15265
15296
  }),
@@ -15296,7 +15327,7 @@ export class Api<
15296
15327
  query: query,
15297
15328
  body: data,
15298
15329
  secure: true,
15299
- type: ContentType.Json,
15330
+ type: "application/json",
15300
15331
  format: "json",
15301
15332
  ...params,
15302
15333
  }),
@@ -15327,11 +15358,40 @@ export class Api<
15327
15358
  query: query,
15328
15359
  body: data,
15329
15360
  secure: true,
15330
- type: ContentType.Json,
15361
+ type: "application/json",
15331
15362
  format: "json",
15332
15363
  ...params,
15333
15364
  }),
15334
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
+
15335
15395
  /**
15336
15396
  * No description
15337
15397
  *
@@ -15371,7 +15431,7 @@ export class Api<
15371
15431
  method: "POST",
15372
15432
  body: data,
15373
15433
  secure: true,
15374
- type: ContentType.Json,
15434
+ type: "application/json",
15375
15435
  format: "json",
15376
15436
  ...params,
15377
15437
  }),
@@ -15418,7 +15478,7 @@ export class Api<
15418
15478
  method: "PUT",
15419
15479
  body: data,
15420
15480
  secure: true,
15421
- type: ContentType.Json,
15481
+ type: "application/json",
15422
15482
  format: "json",
15423
15483
  ...params,
15424
15484
  }),
@@ -15464,7 +15524,7 @@ export class Api<
15464
15524
  method: "POST",
15465
15525
  body: data,
15466
15526
  secure: true,
15467
- type: ContentType.Json,
15527
+ type: "application/json",
15468
15528
  format: "json",
15469
15529
  ...params,
15470
15530
  }),
@@ -15489,7 +15549,7 @@ export class Api<
15489
15549
  method: "POST",
15490
15550
  body: data,
15491
15551
  secure: true,
15492
- type: ContentType.Json,
15552
+ type: "application/json",
15493
15553
  format: "json",
15494
15554
  ...params,
15495
15555
  }),
@@ -15514,7 +15574,7 @@ export class Api<
15514
15574
  method: "POST",
15515
15575
  body: data,
15516
15576
  secure: true,
15517
- type: ContentType.Json,
15577
+ type: "application/json",
15518
15578
  format: "json",
15519
15579
  ...params,
15520
15580
  }),
@@ -15539,7 +15599,7 @@ export class Api<
15539
15599
  method: "POST",
15540
15600
  body: data,
15541
15601
  secure: true,
15542
- type: ContentType.Json,
15602
+ type: "application/json",
15543
15603
  format: "json",
15544
15604
  ...params,
15545
15605
  }),
@@ -15564,7 +15624,7 @@ export class Api<
15564
15624
  method: "POST",
15565
15625
  body: data,
15566
15626
  secure: true,
15567
- type: ContentType.Json,
15627
+ type: "application/json",
15568
15628
  format: "json",
15569
15629
  ...params,
15570
15630
  }),
@@ -15614,7 +15674,7 @@ export class Api<
15614
15674
  method: "POST",
15615
15675
  body: data,
15616
15676
  secure: true,
15617
- type: ContentType.Json,
15677
+ type: "application/json",
15618
15678
  format: "json",
15619
15679
  ...params,
15620
15680
  }),
@@ -15647,7 +15707,7 @@ export class Api<
15647
15707
  query: query,
15648
15708
  body: data,
15649
15709
  secure: true,
15650
- type: ContentType.Json,
15710
+ type: "application/json",
15651
15711
  format: "json",
15652
15712
  ...params,
15653
15713
  }),
@@ -15692,7 +15752,7 @@ export class Api<
15692
15752
  method: "PUT",
15693
15753
  body: data,
15694
15754
  secure: true,
15695
- type: ContentType.Json,
15755
+ type: "application/json",
15696
15756
  format: "json",
15697
15757
  ...params,
15698
15758
  }),
@@ -15776,7 +15836,7 @@ export class Api<
15776
15836
  method: "POST",
15777
15837
  body: data,
15778
15838
  secure: true,
15779
- type: ContentType.Json,
15839
+ type: "application/json",
15780
15840
  format: "json",
15781
15841
  ...params,
15782
15842
  }),
@@ -15825,7 +15885,7 @@ export class Api<
15825
15885
  method: "PUT",
15826
15886
  body: data,
15827
15887
  secure: true,
15828
- type: ContentType.Json,
15888
+ type: "application/json",
15829
15889
  format: "json",
15830
15890
  ...params,
15831
15891
  }),
@@ -15867,16 +15927,7 @@ export class Api<
15867
15927
  query?: {
15868
15928
  showAll?: boolean;
15869
15929
  /** @default "Realtor" */
15870
- role?:
15871
- | "Borrower"
15872
- | "LoanOfficer"
15873
- | "Admin"
15874
- | "SuperAdmin"
15875
- | "Realtor"
15876
- | "SettlementAgent"
15877
- | "LoanProcessor"
15878
- | "LoanOfficerAssistant"
15879
- | "SystemAdmin";
15930
+ role?: GetPartnersParamsRoleEnum;
15880
15931
  /** @format int32 */
15881
15932
  pageSize?: number;
15882
15933
  /** @format int32 */
@@ -15923,7 +15974,7 @@ export class Api<
15923
15974
  query: query,
15924
15975
  body: data,
15925
15976
  secure: true,
15926
- type: ContentType.Json,
15977
+ type: "application/json",
15927
15978
  format: "json",
15928
15979
  ...params,
15929
15980
  }),
@@ -15968,7 +16019,7 @@ export class Api<
15968
16019
  method: "POST",
15969
16020
  body: data,
15970
16021
  secure: true,
15971
- type: ContentType.Json,
16022
+ type: "application/json",
15972
16023
  format: "json",
15973
16024
  ...params,
15974
16025
  }),
@@ -16022,7 +16073,7 @@ export class Api<
16022
16073
  query: query,
16023
16074
  body: data,
16024
16075
  secure: true,
16025
- type: ContentType.Json,
16076
+ type: "application/json",
16026
16077
  format: "json",
16027
16078
  ...params,
16028
16079
  }),
@@ -16067,7 +16118,7 @@ export class Api<
16067
16118
  method: "POST",
16068
16119
  body: data,
16069
16120
  secure: true,
16070
- type: ContentType.Json,
16121
+ type: "application/json",
16071
16122
  format: "json",
16072
16123
  ...params,
16073
16124
  }),
@@ -16119,7 +16170,7 @@ export class Api<
16119
16170
  method: "POST",
16120
16171
  body: data,
16121
16172
  secure: true,
16122
- type: ContentType.Json,
16173
+ type: "application/json",
16123
16174
  format: "json",
16124
16175
  ...params,
16125
16176
  }),
@@ -16176,7 +16227,7 @@ export class Api<
16176
16227
  query: query,
16177
16228
  body: data,
16178
16229
  secure: true,
16179
- type: ContentType.Json,
16230
+ type: "application/json",
16180
16231
  format: "json",
16181
16232
  ...params,
16182
16233
  }),
@@ -16212,7 +16263,7 @@ export class Api<
16212
16263
  * @response `404` `ProblemDetails` Not Found
16213
16264
  */
16214
16265
  getSamlMetadata: (
16215
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
16266
+ sSoIntegration: GetSamlMetadataParamsEnum,
16216
16267
  ssoIntegration: string,
16217
16268
  params: RequestParams = {},
16218
16269
  ) =>
@@ -16234,7 +16285,7 @@ export class Api<
16234
16285
  * @response `200` `File` OK
16235
16286
  */
16236
16287
  createOrReplaceSamlMetadata: (
16237
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
16288
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
16238
16289
  ssoIntegration: string,
16239
16290
  params: RequestParams = {},
16240
16291
  ) =>
@@ -16359,7 +16410,7 @@ export class Api<
16359
16410
  method: "POST",
16360
16411
  body: data,
16361
16412
  secure: true,
16362
- type: ContentType.Json,
16413
+ type: "application/json",
16363
16414
  format: "json",
16364
16415
  ...params,
16365
16416
  }),
@@ -16393,7 +16444,7 @@ export class Api<
16393
16444
  query: query,
16394
16445
  body: data,
16395
16446
  secure: true,
16396
- type: ContentType.Json,
16447
+ type: "application/json",
16397
16448
  format: "json",
16398
16449
  ...params,
16399
16450
  }),
@@ -16414,7 +16465,7 @@ export class Api<
16414
16465
  query?: {
16415
16466
  /** @format uuid */
16416
16467
  siteConfigurationId?: string;
16417
- location?: "HomePage" | "Dashboard";
16468
+ location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
16418
16469
  },
16419
16470
  params: RequestParams = {},
16420
16471
  ) =>
@@ -16471,7 +16522,7 @@ export class Api<
16471
16522
  method: "PUT",
16472
16523
  body: data,
16473
16524
  secure: true,
16474
- type: ContentType.Json,
16525
+ type: "application/json",
16475
16526
  format: "json",
16476
16527
  ...params,
16477
16528
  }),
@@ -16514,7 +16565,7 @@ export class Api<
16514
16565
  method: "POST",
16515
16566
  body: data,
16516
16567
  secure: true,
16517
- type: ContentType.Json,
16568
+ type: "application/json",
16518
16569
  format: "json",
16519
16570
  ...params,
16520
16571
  }),
@@ -16562,7 +16613,7 @@ export class Api<
16562
16613
  method: "POST",
16563
16614
  body: data,
16564
16615
  secure: true,
16565
- type: ContentType.Json,
16616
+ type: "application/json",
16566
16617
  format: "json",
16567
16618
  ...params,
16568
16619
  }),
@@ -16614,7 +16665,7 @@ export class Api<
16614
16665
  method: "POST",
16615
16666
  body: data,
16616
16667
  secure: true,
16617
- type: ContentType.Json,
16668
+ type: "application/json",
16618
16669
  format: "json",
16619
16670
  ...params,
16620
16671
  }),
@@ -16656,7 +16707,7 @@ export class Api<
16656
16707
  method: "PUT",
16657
16708
  body: data,
16658
16709
  secure: true,
16659
- type: ContentType.Json,
16710
+ type: "application/json",
16660
16711
  format: "json",
16661
16712
  ...params,
16662
16713
  }),
@@ -16708,7 +16759,7 @@ export class Api<
16708
16759
  query: query,
16709
16760
  body: data,
16710
16761
  secure: true,
16711
- type: ContentType.Json,
16762
+ type: "application/json",
16712
16763
  format: "json",
16713
16764
  ...params,
16714
16765
  }),
@@ -16731,7 +16782,7 @@ export class Api<
16731
16782
  method: "POST",
16732
16783
  body: data,
16733
16784
  secure: true,
16734
- type: ContentType.Json,
16785
+ type: "application/json",
16735
16786
  ...params,
16736
16787
  }),
16737
16788
 
@@ -16764,7 +16815,7 @@ export class Api<
16764
16815
  query: query,
16765
16816
  body: data,
16766
16817
  secure: true,
16767
- type: ContentType.Json,
16818
+ type: "application/json",
16768
16819
  format: "json",
16769
16820
  ...params,
16770
16821
  }),
@@ -16808,7 +16859,7 @@ export class Api<
16808
16859
  method: "POST",
16809
16860
  body: data,
16810
16861
  secure: true,
16811
- type: ContentType.Json,
16862
+ type: "application/json",
16812
16863
  format: "json",
16813
16864
  ...params,
16814
16865
  }),
@@ -16832,7 +16883,7 @@ export class Api<
16832
16883
  method: "PUT",
16833
16884
  body: data,
16834
16885
  secure: true,
16835
- type: ContentType.Json,
16886
+ type: "application/json",
16836
16887
  format: "json",
16837
16888
  ...params,
16838
16889
  }),
@@ -16875,7 +16926,7 @@ export class Api<
16875
16926
  method: "POST",
16876
16927
  body: data,
16877
16928
  secure: true,
16878
- type: ContentType.Json,
16929
+ type: "application/json",
16879
16930
  format: "json",
16880
16931
  ...params,
16881
16932
  }),
@@ -16927,7 +16978,7 @@ export class Api<
16927
16978
  query: query,
16928
16979
  body: data,
16929
16980
  secure: true,
16930
- type: ContentType.Json,
16981
+ type: "application/json",
16931
16982
  format: "json",
16932
16983
  ...params,
16933
16984
  }),
@@ -17101,7 +17152,7 @@ export class Api<
17101
17152
  method: "POST",
17102
17153
  body: data,
17103
17154
  secure: true,
17104
- type: ContentType.Json,
17155
+ type: "application/json",
17105
17156
  format: "json",
17106
17157
  ...params,
17107
17158
  }),
@@ -17200,7 +17251,7 @@ export class Api<
17200
17251
  method: "POST",
17201
17252
  body: data,
17202
17253
  secure: true,
17203
- type: ContentType.Json,
17254
+ type: "application/json",
17204
17255
  format: "json",
17205
17256
  ...params,
17206
17257
  }),
@@ -17266,7 +17317,7 @@ export class Api<
17266
17317
  method: "POST",
17267
17318
  body: data,
17268
17319
  secure: true,
17269
- type: ContentType.Json,
17320
+ type: "application/json",
17270
17321
  format: "json",
17271
17322
  ...params,
17272
17323
  }),
@@ -17337,7 +17388,7 @@ export class Api<
17337
17388
  query: query,
17338
17389
  body: data,
17339
17390
  secure: true,
17340
- type: ContentType.Json,
17391
+ type: "application/json",
17341
17392
  format: "json",
17342
17393
  ...params,
17343
17394
  }),
@@ -17434,7 +17485,7 @@ export class Api<
17434
17485
  method: "PUT",
17435
17486
  body: data,
17436
17487
  secure: true,
17437
- type: ContentType.Json,
17488
+ type: "application/json",
17438
17489
  format: "json",
17439
17490
  ...params,
17440
17491
  }),
@@ -17476,7 +17527,7 @@ export class Api<
17476
17527
  method: "POST",
17477
17528
  body: data,
17478
17529
  secure: true,
17479
- type: ContentType.Json,
17530
+ type: "application/json",
17480
17531
  format: "json",
17481
17532
  ...params,
17482
17533
  }),
@@ -17502,7 +17553,7 @@ export class Api<
17502
17553
  method: "POST",
17503
17554
  body: data,
17504
17555
  secure: true,
17505
- type: ContentType.Json,
17556
+ type: "application/json",
17506
17557
  ...params,
17507
17558
  }),
17508
17559
 
@@ -17527,7 +17578,7 @@ export class Api<
17527
17578
  method: "POST",
17528
17579
  body: data,
17529
17580
  secure: true,
17530
- type: ContentType.Json,
17581
+ type: "application/json",
17531
17582
  ...params,
17532
17583
  }),
17533
17584
 
@@ -17613,7 +17664,7 @@ export class Api<
17613
17664
  method: "POST",
17614
17665
  body: data,
17615
17666
  secure: true,
17616
- type: ContentType.Json,
17667
+ type: "application/json",
17617
17668
  ...params,
17618
17669
  }),
17619
17670
 
@@ -17653,7 +17704,7 @@ export class Api<
17653
17704
  method: "POST",
17654
17705
  body: data,
17655
17706
  secure: true,
17656
- type: ContentType.Json,
17707
+ type: "application/json",
17657
17708
  ...params,
17658
17709
  }),
17659
17710
 
@@ -17736,7 +17787,7 @@ export class Api<
17736
17787
  method: "POST",
17737
17788
  body: data,
17738
17789
  secure: true,
17739
- type: ContentType.Json,
17790
+ type: "application/json",
17740
17791
  ...params,
17741
17792
  }),
17742
17793
 
@@ -17828,7 +17879,7 @@ export class Api<
17828
17879
  method: "POST",
17829
17880
  body: data,
17830
17881
  secure: true,
17831
- type: ContentType.Json,
17882
+ type: "application/json",
17832
17883
  format: "json",
17833
17884
  ...params,
17834
17885
  }),
@@ -17861,7 +17912,7 @@ export class Api<
17861
17912
  query: query,
17862
17913
  body: data,
17863
17914
  secure: true,
17864
- type: ContentType.Json,
17915
+ type: "application/json",
17865
17916
  format: "json",
17866
17917
  ...params,
17867
17918
  }),
@@ -17882,7 +17933,7 @@ export class Api<
17882
17933
  method: "POST",
17883
17934
  body: data,
17884
17935
  secure: true,
17885
- type: ContentType.Json,
17936
+ type: "application/json",
17886
17937
  format: "json",
17887
17938
  ...params,
17888
17939
  }),
@@ -17904,7 +17955,7 @@ export class Api<
17904
17955
  method: "POST",
17905
17956
  body: data,
17906
17957
  secure: true,
17907
- type: ContentType.Json,
17958
+ type: "application/json",
17908
17959
  format: "json",
17909
17960
  ...params,
17910
17961
  }),
@@ -17930,7 +17981,7 @@ export class Api<
17930
17981
  method: "PUT",
17931
17982
  body: data,
17932
17983
  secure: true,
17933
- type: ContentType.Json,
17984
+ type: "application/json",
17934
17985
  format: "json",
17935
17986
  ...params,
17936
17987
  }),
@@ -17996,7 +18047,7 @@ export class Api<
17996
18047
  method: "POST",
17997
18048
  body: data,
17998
18049
  secure: true,
17999
- type: ContentType.Json,
18050
+ type: "application/json",
18000
18051
  ...params,
18001
18052
  }),
18002
18053
 
@@ -18005,8 +18056,9 @@ export class Api<
18005
18056
  *
18006
18057
  * @tags Users
18007
18058
  * @name VerifyPassword
18008
- * @summary Verify Password
18059
+ * @summary Verify Password (deprecated; use api/auth/reset-password)
18009
18060
  * @request POST:/api/users/verify-password
18061
+ * @deprecated
18010
18062
  * @secure
18011
18063
  * @response `204` `void` No Content
18012
18064
  * @response `422` `UnprocessableEntity` Unprocessable Content
@@ -18017,7 +18069,7 @@ export class Api<
18017
18069
  method: "POST",
18018
18070
  body: data,
18019
18071
  secure: true,
18020
- type: ContentType.Json,
18072
+ type: "application/json",
18021
18073
  ...params,
18022
18074
  }),
18023
18075
 
@@ -18042,7 +18094,7 @@ export class Api<
18042
18094
  method: "POST",
18043
18095
  body: data,
18044
18096
  secure: true,
18045
- type: ContentType.Json,
18097
+ type: "application/json",
18046
18098
  ...params,
18047
18099
  }),
18048
18100
 
@@ -18051,8 +18103,9 @@ export class Api<
18051
18103
  *
18052
18104
  * @tags Users
18053
18105
  * @name ForgotPassword
18054
- * @summary Forgot Password
18106
+ * @summary Forgot Password (deprecated; use api/auth/forgot-password)
18055
18107
  * @request POST:/api/users/forgot-password
18108
+ * @deprecated
18056
18109
  * @secure
18057
18110
  * @response `204` `void` No Content
18058
18111
  * @response `422` `UnprocessableEntity` Unprocessable Content
@@ -18066,7 +18119,7 @@ export class Api<
18066
18119
  method: "POST",
18067
18120
  body: data,
18068
18121
  secure: true,
18069
- type: ContentType.Json,
18122
+ type: "application/json",
18070
18123
  ...params,
18071
18124
  }),
18072
18125
 
@@ -18109,7 +18162,7 @@ export class Api<
18109
18162
  method: "PUT",
18110
18163
  body: data,
18111
18164
  secure: true,
18112
- type: ContentType.Json,
18165
+ type: "application/json",
18113
18166
  ...params,
18114
18167
  }),
18115
18168
 
@@ -18149,7 +18202,7 @@ export class Api<
18149
18202
  method: "PUT",
18150
18203
  body: data,
18151
18204
  secure: true,
18152
- type: ContentType.Json,
18205
+ type: "application/json",
18153
18206
  format: "json",
18154
18207
  ...params,
18155
18208
  }),
@@ -18173,7 +18226,7 @@ export class Api<
18173
18226
  method: "PUT",
18174
18227
  body: data,
18175
18228
  secure: true,
18176
- type: ContentType.Json,
18229
+ type: "application/json",
18177
18230
  format: "json",
18178
18231
  ...params,
18179
18232
  }),
@@ -18250,7 +18303,7 @@ export class Api<
18250
18303
  method: "POST",
18251
18304
  body: data,
18252
18305
  secure: true,
18253
- type: ContentType.Json,
18306
+ type: "application/json",
18254
18307
  ...params,
18255
18308
  }),
18256
18309
 
@@ -18270,7 +18323,7 @@ export class Api<
18270
18323
  method: "POST",
18271
18324
  body: data,
18272
18325
  secure: true,
18273
- type: ContentType.Json,
18326
+ type: "application/json",
18274
18327
  format: "json",
18275
18328
  ...params,
18276
18329
  }),