@matech/thebigpos-sdk 2.49.0-rc0 → 2.49.3-rc0

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
@@ -44,6 +44,18 @@ export type SigningMethod = "ConsumerConnect" | "POSF";
44
44
 
45
45
  export type SSOIntegrationType = "ConsumerConnect" | "TheBigPOS" | "POSF";
46
46
 
47
+ export type LosWebhookInventoryStatus =
48
+ | "Unknown"
49
+ | "Healthy"
50
+ | "Disabled"
51
+ | "Missing";
52
+
53
+ export type LosWebhookEntryStatus =
54
+ | "Registered"
55
+ | "Disabled"
56
+ | "Missing"
57
+ | "Extra";
58
+
47
59
  export type LosSyncStepSeverity = "Success" | "Info" | "Warning" | "Error";
48
60
 
49
61
  export type LosOperationStatus =
@@ -54,6 +66,14 @@ export type LosOperationStatus =
54
66
  | "PermanentFailure"
55
67
  | "Locked";
56
68
 
69
+ export type LosCredentialHealthStatus =
70
+ | "Unknown"
71
+ | "Healthy"
72
+ | "InvalidCredentials"
73
+ | "Forbidden"
74
+ | "TransportError"
75
+ | "NotConfigured";
76
+
57
77
  export type LogLevel = "None" | "Info" | "Warning" | "Error";
58
78
 
59
79
  export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
@@ -82,7 +102,19 @@ export type LoanRole =
82
102
  | "SettlementAgent"
83
103
  | "Admin";
84
104
 
85
- export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell";
105
+ export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
106
+
107
+ export type LoanRealEstateOccupancyType =
108
+ | "PrimaryHome"
109
+ | "SecondHome"
110
+ | "InvestmentProperty"
111
+ | "FHASecondaryResidence";
112
+
113
+ export type LoanRealEstateIntendedUsageType =
114
+ | "PrimaryResidence"
115
+ | "SecondHome"
116
+ | "Investment"
117
+ | "Other";
86
118
 
87
119
  export type LoanQueueType =
88
120
  | "Unknown"
@@ -249,7 +281,13 @@ export type LoanHousingType = "NoExpense" | "Own" | "Rent";
249
281
 
250
282
  export type LoanHomeOwnershipType = "Counseling" | "Education" | "Other";
251
283
 
252
- export type LoanHomeOwnershipFormat = "InPerson" | "Online" | "Telephone";
284
+ export type LoanHomeOwnershipFormat =
285
+ | "InPerson"
286
+ | "Online"
287
+ | "Telephone"
288
+ | "FaceToFace"
289
+ | "Hybrid"
290
+ | "Internet";
253
291
 
254
292
  export type LoanHispanicEthnicity =
255
293
  | "Mexican"
@@ -271,7 +309,7 @@ export type LoanGiftSource =
271
309
  | "Institutional"
272
310
  | "Borrower";
273
311
 
274
- export type LoanGiftAssetType = "Cash" | "Asset" | "Equity";
312
+ export type LoanGiftAssetType = "Cash" | "Asset" | "Equity" | "Grant";
275
313
 
276
314
  export type LoanGenderType = "Male" | "Female";
277
315
 
@@ -333,7 +371,13 @@ export type LoanDocumentType =
333
371
  | "VaCertificateOfEligibility"
334
372
  | "Appraisal"
335
373
  | "CreditReport"
336
- | "CondoMasterPolicy";
374
+ | "CondoMasterPolicy"
375
+ | "EConsent"
376
+ | "CreditAuthorization"
377
+ | "TextOptIn"
378
+ | "LoanComparison"
379
+ | "AiGeneratedDocument"
380
+ | "Unidentified";
337
381
 
338
382
  export type LoanDocumentFolderPermissionLevel =
339
383
  | "None"
@@ -376,7 +420,8 @@ export type LoanAccountAssetType =
376
420
  | "IndividualDevelopmentAccount"
377
421
  | "TrustAccount"
378
422
  | "CashValueOfLifeInsurance"
379
- | "Other";
423
+ | "Other"
424
+ | "StockOptions";
380
425
 
381
426
  export type LoanAccessScopeType = "User" | "Branch";
382
427
 
@@ -480,7 +525,8 @@ export type AuditChangeType =
480
525
  | "HardDeleted"
481
526
  | "Restored"
482
527
  | "Deactivated"
483
- | "Reactivated";
528
+ | "Reactivated"
529
+ | "Accessed";
484
530
 
485
531
  export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
486
532
 
@@ -692,16 +738,11 @@ export interface AccountBilling {
692
738
  }
693
739
 
694
740
  export interface AccountBillingRequest {
695
- billingType: AccountBillingRequestBillingTypeEnum;
741
+ billingType: "ClosedLoan" | "LoanOfficer";
696
742
  /** @format double */
697
743
  contractedRate: number;
698
744
  }
699
745
 
700
- export interface AccountDeactivated {
701
- accountDeactivated: boolean;
702
- email: string;
703
- }
704
-
705
746
  export interface AccountFailureCount {
706
747
  /** @format uuid */
707
748
  accountId: string;
@@ -709,23 +750,6 @@ export interface AccountFailureCount {
709
750
  count: number;
710
751
  }
711
752
 
712
- export interface AccountReactivationCompleteRequest {
713
- /** @format uuid */
714
- token: string;
715
- /** @minLength 8 */
716
- newPassword: string;
717
- }
718
-
719
- export interface AccountReactivationRequest {
720
- /**
721
- * @format email
722
- * @minLength 1
723
- */
724
- email: string;
725
- /** @format uuid */
726
- siteConfigurationId: string;
727
- }
728
-
729
753
  export interface AccountSettings {
730
754
  isSmsEnabled: boolean;
731
755
  isLoanEditEnabled: boolean;
@@ -747,7 +771,7 @@ export interface Action {
747
771
  comments?: string | null;
748
772
  /** @format uuid */
749
773
  siteConfigurationID: string;
750
- applicationSettings?: any | null;
774
+ applicationSettings?: any;
751
775
  surveysToken?: string | null;
752
776
  }
753
777
 
@@ -986,7 +1010,37 @@ export interface AiAuditLog {
986
1010
  conversationId?: string | null;
987
1011
  /** @format uuid */
988
1012
  messageId?: string | null;
989
- eventType: AiAuditLogEventTypeEnum;
1013
+ eventType:
1014
+ | "Error"
1015
+ | "GuardrailBlockedPre"
1016
+ | "GuardrailPassedPre"
1017
+ | "IntentClassified"
1018
+ | "LoanResolvedFromMessage"
1019
+ | "DocumentNotFound"
1020
+ | "GuardrailBlockedPost"
1021
+ | "GuardrailPassedPost"
1022
+ | "DocumentAnalyzed"
1023
+ | "DocumentList"
1024
+ | "DocumentResolutionAmbiguous"
1025
+ | "ResponseGenerated"
1026
+ | "ParametersExtracted"
1027
+ | "QueryExecuted"
1028
+ | "LoanContextNotFound"
1029
+ | "LoanContextLoaded"
1030
+ | "GuardrailBlockedBedrock"
1031
+ | "PromptMatched"
1032
+ | "QueryCondensed"
1033
+ | "IntentParseFailed"
1034
+ | "LoanSearchTermDiscarded"
1035
+ | "CanonicalFieldsSelected"
1036
+ | "LoanAccessDenied"
1037
+ | "AgentModelCall"
1038
+ | "AgentToolCallRequested"
1039
+ | "AgentToolCallCompleted"
1040
+ | "AgentToolCallFailed"
1041
+ | "AgentLoopLimitReached"
1042
+ | "RequestCancelled"
1043
+ | "KnowledgeBaseRetrieved";
990
1044
  modelId?: string | null;
991
1045
  /** @format int32 */
992
1046
  inputTokens?: number | null;
@@ -999,7 +1053,7 @@ export interface AiAuditLog {
999
1053
  guardrailCategory?: string | null;
1000
1054
  rawRequest?: string | null;
1001
1055
  rawResponse?: string | null;
1002
- details?: any | null;
1056
+ details?: any;
1003
1057
  /** @format date-time */
1004
1058
  createdAt: string;
1005
1059
  }
@@ -1068,7 +1122,18 @@ export interface AiChatMessagePaginated {
1068
1122
  }
1069
1123
 
1070
1124
  export interface AiChatMetadata {
1071
- intent: AiChatMetadataIntentEnum;
1125
+ intent:
1126
+ | "Greeting"
1127
+ | "Invalid"
1128
+ | "Relevant"
1129
+ | "LoanSpecific"
1130
+ | "DocumentList"
1131
+ | "GeneralKnowledge"
1132
+ | "Blocked"
1133
+ | "Action"
1134
+ | "ConversationMeta"
1135
+ | "Capabilities"
1136
+ | "UsageReport";
1072
1137
  fieldsAccessed: string[];
1073
1138
  /** @format int64 */
1074
1139
  queryTimeMs: number;
@@ -1096,7 +1161,12 @@ export interface AiChatRequest {
1096
1161
  }
1097
1162
 
1098
1163
  export interface AiChatStructuredData {
1099
- type: AiChatStructuredDataTypeEnum;
1164
+ type:
1165
+ | "Table"
1166
+ | "DocumentAnalysis"
1167
+ | "DocumentList"
1168
+ | "GeneratedDocument"
1169
+ | "CitedPassages";
1100
1170
  displayHint?: AiDisplayHint | null;
1101
1171
  detectedDocumentType?: string | null;
1102
1172
  columns: string[];
@@ -1190,7 +1260,7 @@ export interface AiGuardrail {
1190
1260
  /** @format uuid */
1191
1261
  id: string;
1192
1262
  name: string;
1193
- category: AiGuardrailCategoryEnum;
1263
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1194
1264
  description?: string | null;
1195
1265
  keywords: string[];
1196
1266
  responseTemplate: string;
@@ -1327,8 +1397,8 @@ export interface AiUrlSource {
1327
1397
  name: string;
1328
1398
  url: string;
1329
1399
  description?: string | null;
1330
- category: AiUrlSourceCategoryEnum;
1331
- scope: AiUrlSourceScopeEnum;
1400
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1401
+ scope: "FullDomain" | "SpecificPath";
1332
1402
  isActive: boolean;
1333
1403
  isDefault: boolean;
1334
1404
  hasAccountOverride: boolean;
@@ -1441,14 +1511,22 @@ export interface AuditLogEntry {
1441
1511
  /** @format uuid */
1442
1512
  id: string;
1443
1513
  entityType: string;
1444
- changeType: AuditLogEntryChangeTypeEnum;
1514
+ changeType:
1515
+ | "Created"
1516
+ | "Modified"
1517
+ | "SoftDeleted"
1518
+ | "HardDeleted"
1519
+ | "Restored"
1520
+ | "Deactivated"
1521
+ | "Reactivated"
1522
+ | "Accessed";
1445
1523
  /** @format uuid */
1446
1524
  entityId: string;
1447
1525
  performedBy?: AuditLogUser | null;
1448
1526
  rootEntityType?: string | null;
1449
1527
  /** @format uuid */
1450
1528
  rootEntityId?: string | null;
1451
- changes?: any | null;
1529
+ changes?: any;
1452
1530
  /** @format date-time */
1453
1531
  createdAt: string;
1454
1532
  }
@@ -1493,7 +1571,20 @@ export interface BorrowerCount {
1493
1571
  firstName: string;
1494
1572
  lastName: string;
1495
1573
  email: string;
1496
- role: BorrowerCountRoleEnum;
1574
+ role:
1575
+ | "Borrower"
1576
+ | "CoBorrower"
1577
+ | "NonBorrower"
1578
+ | "LoanOfficer"
1579
+ | "LoanProcessor"
1580
+ | "LoanOfficerAssistant"
1581
+ | "SupportingLoanOfficer"
1582
+ | "BuyerAgent"
1583
+ | "SellerAgent"
1584
+ | "TitleInsuranceAgent"
1585
+ | "EscrowAgent"
1586
+ | "SettlementAgent"
1587
+ | "Admin";
1497
1588
  /** @format int32 */
1498
1589
  count: number;
1499
1590
  }
@@ -1504,7 +1595,20 @@ export interface BorrowerIdentity {
1504
1595
  firstName: string;
1505
1596
  lastName: string;
1506
1597
  email: string;
1507
- role: BorrowerIdentityRoleEnum;
1598
+ role:
1599
+ | "Borrower"
1600
+ | "CoBorrower"
1601
+ | "NonBorrower"
1602
+ | "LoanOfficer"
1603
+ | "LoanProcessor"
1604
+ | "LoanOfficerAssistant"
1605
+ | "SupportingLoanOfficer"
1606
+ | "BuyerAgent"
1607
+ | "SellerAgent"
1608
+ | "TitleInsuranceAgent"
1609
+ | "EscrowAgent"
1610
+ | "SettlementAgent"
1611
+ | "Admin";
1508
1612
  }
1509
1613
 
1510
1614
  export interface BorrowersNotUsingPosSummary {
@@ -1690,12 +1794,13 @@ export interface CompanyDocument {
1690
1794
  folderId: string;
1691
1795
  folderName: string;
1692
1796
  name: string;
1693
- sourceType: CompanyDocumentSourceTypeEnum;
1797
+ sourceType: "File" | "FreeText";
1694
1798
  contentType?: string | null;
1695
1799
  /** @format int64 */
1696
1800
  fileSizeBytes: number;
1697
1801
  inlineContent?: string | null;
1698
- indexStatus: CompanyDocumentIndexStatusEnum;
1802
+ previewImage?: string | null;
1803
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1699
1804
  indexError?: string | null;
1700
1805
  /** @format date-time */
1701
1806
  indexedAt?: string | null;
@@ -1728,6 +1833,10 @@ export interface CompanyDocumentPaginated {
1728
1833
  count: number;
1729
1834
  }
1730
1835
 
1836
+ export interface CompanyDocumentPreviewsRequest {
1837
+ documentIds: string[];
1838
+ }
1839
+
1731
1840
  export interface CompanyDocumentSearchCriteria {
1732
1841
  searchText?: string | null;
1733
1842
  /** @format uuid */
@@ -1819,7 +1928,7 @@ export interface CorporateSearchCriteria {
1819
1928
  }
1820
1929
 
1821
1930
  export interface CreateAccessScopeRequest {
1822
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1931
+ scopeType: "User" | "Branch";
1823
1932
  /** @format uuid */
1824
1933
  userId?: string | null;
1825
1934
  /** @format uuid */
@@ -1838,7 +1947,7 @@ export interface CreateAccountRequest {
1838
1947
  /** @format int64 */
1839
1948
  nlmsid: number;
1840
1949
  settings: AccountSettingsRequest;
1841
- environment: CreateAccountRequestEnvironmentEnum;
1950
+ environment: "Development" | "Staging" | "UAT" | "Production";
1842
1951
  losIntegration: LOSIntegration;
1843
1952
  billingSettings: AccountBillingRequest;
1844
1953
  }
@@ -1854,7 +1963,7 @@ export interface CreateAiCanonicalFieldRequest {
1854
1963
 
1855
1964
  export interface CreateAiGuardrailRequest {
1856
1965
  name: string;
1857
- category: CreateAiGuardrailRequestCategoryEnum;
1966
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1858
1967
  description?: string | null;
1859
1968
  keywords: string[];
1860
1969
  responseTemplate: string;
@@ -1887,8 +1996,8 @@ export interface CreateAiUrlSourceRequest {
1887
1996
  name: string;
1888
1997
  url: string;
1889
1998
  description?: string | null;
1890
- category: CreateAiUrlSourceRequestCategoryEnum;
1891
- scope: CreateAiUrlSourceRequestScopeEnum;
1999
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
2000
+ scope: "FullDomain" | "SpecificPath";
1892
2001
  }
1893
2002
 
1894
2003
  export interface CreateBranchRequest {
@@ -1925,8 +2034,15 @@ export interface CreateCustomFieldDefinitionRequest {
1925
2034
  name: string;
1926
2035
  defaultValue?: string | null;
1927
2036
  regexPattern?: string | null;
1928
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1929
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
2037
+ dataType:
2038
+ | "String"
2039
+ | "Number"
2040
+ | "Decimal"
2041
+ | "Boolean"
2042
+ | "Date"
2043
+ | "SingleSelect"
2044
+ | "MultiSelect";
2045
+ entityType: "Loan";
1930
2046
  options?: CustomFieldOptionRequest[] | null;
1931
2047
  permissions?: CustomFieldPermissionRequest[] | null;
1932
2048
  }
@@ -1946,7 +2062,20 @@ export interface CreateDocumentTemplateRequest {
1946
2062
  export interface CreateGroupMemberRequest {
1947
2063
  /** @format uuid */
1948
2064
  userId: string;
1949
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
2065
+ loanRole:
2066
+ | "Borrower"
2067
+ | "CoBorrower"
2068
+ | "NonBorrower"
2069
+ | "LoanOfficer"
2070
+ | "LoanProcessor"
2071
+ | "LoanOfficerAssistant"
2072
+ | "SupportingLoanOfficer"
2073
+ | "BuyerAgent"
2074
+ | "SellerAgent"
2075
+ | "TitleInsuranceAgent"
2076
+ | "EscrowAgent"
2077
+ | "SettlementAgent"
2078
+ | "Admin";
1950
2079
  }
1951
2080
 
1952
2081
  export interface CreateInviteRequest {
@@ -1955,7 +2084,7 @@ export interface CreateInviteRequest {
1955
2084
  emailAddress: string;
1956
2085
  phoneNumber?: string | null;
1957
2086
  /** @deprecated */
1958
- relationship: CreateInviteRequestRelationshipEnum;
2087
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1959
2088
  loanID: string;
1960
2089
  route?: string | null;
1961
2090
  /** @format uuid */
@@ -1977,7 +2106,7 @@ export interface CreateLoanImportRequest {
1977
2106
  endDate: string;
1978
2107
  /** @format date-time */
1979
2108
  startDate: string;
1980
- importMode: CreateLoanImportRequestImportModeEnum;
2109
+ importMode: "All" | "NewOnly" | "UpdateOnly";
1981
2110
  }
1982
2111
 
1983
2112
  export interface CreateSession {
@@ -1999,7 +2128,20 @@ export interface CreateUserDeviceRequest {
1999
2128
  }
2000
2129
 
2001
2130
  export interface CreateUserDraft {
2002
- loanRole: CreateUserDraftLoanRoleEnum;
2131
+ loanRole:
2132
+ | "Borrower"
2133
+ | "CoBorrower"
2134
+ | "NonBorrower"
2135
+ | "LoanOfficer"
2136
+ | "LoanProcessor"
2137
+ | "LoanOfficerAssistant"
2138
+ | "SupportingLoanOfficer"
2139
+ | "BuyerAgent"
2140
+ | "SellerAgent"
2141
+ | "TitleInsuranceAgent"
2142
+ | "EscrowAgent"
2143
+ | "SettlementAgent"
2144
+ | "Admin";
2003
2145
  }
2004
2146
 
2005
2147
  export interface CreateUserGroupRequest {
@@ -2067,8 +2209,15 @@ export interface CustomFieldDefinition {
2067
2209
  name: string;
2068
2210
  defaultValue?: string | null;
2069
2211
  regexPattern?: string | null;
2070
- dataType: CustomFieldDefinitionDataTypeEnum;
2071
- entityType: CustomFieldDefinitionEntityTypeEnum;
2212
+ dataType:
2213
+ | "String"
2214
+ | "Number"
2215
+ | "Decimal"
2216
+ | "Boolean"
2217
+ | "Date"
2218
+ | "SingleSelect"
2219
+ | "MultiSelect";
2220
+ entityType: "Loan";
2072
2221
  options: CustomFieldOption[];
2073
2222
  permissions: CustomFieldPermission[];
2074
2223
  encompassMapping?: EncompassMapping | null;
@@ -2083,7 +2232,14 @@ export interface CustomFieldEntry {
2083
2232
  displayOrder: number;
2084
2233
  name: string;
2085
2234
  value: string;
2086
- dataType: CustomFieldEntryDataTypeEnum;
2235
+ dataType:
2236
+ | "String"
2237
+ | "Number"
2238
+ | "Decimal"
2239
+ | "Boolean"
2240
+ | "Date"
2241
+ | "SingleSelect"
2242
+ | "MultiSelect";
2087
2243
  }
2088
2244
 
2089
2245
  export interface CustomFieldOption {
@@ -2103,13 +2259,31 @@ export interface CustomFieldOptionRequest {
2103
2259
  export interface CustomFieldPermission {
2104
2260
  /** @format uuid */
2105
2261
  id: string;
2106
- role: CustomFieldPermissionRoleEnum;
2107
- accessLevel: CustomFieldPermissionAccessLevelEnum;
2262
+ role:
2263
+ | "Borrower"
2264
+ | "LoanOfficer"
2265
+ | "Admin"
2266
+ | "SuperAdmin"
2267
+ | "Realtor"
2268
+ | "SettlementAgent"
2269
+ | "LoanProcessor"
2270
+ | "LoanOfficerAssistant"
2271
+ | "SystemAdmin";
2272
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2108
2273
  }
2109
2274
 
2110
2275
  export interface CustomFieldPermissionRequest {
2111
- role: CustomFieldPermissionRequestRoleEnum;
2112
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2276
+ role:
2277
+ | "Borrower"
2278
+ | "LoanOfficer"
2279
+ | "Admin"
2280
+ | "SuperAdmin"
2281
+ | "Realtor"
2282
+ | "SettlementAgent"
2283
+ | "LoanProcessor"
2284
+ | "LoanOfficerAssistant"
2285
+ | "SystemAdmin";
2286
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2113
2287
  }
2114
2288
 
2115
2289
  export interface CustomFieldValue {
@@ -2121,7 +2295,14 @@ export interface CustomFieldValue {
2121
2295
  customFieldDefinitionID: string;
2122
2296
  value: string;
2123
2297
  definitionName: string;
2124
- dataType: CustomFieldValueDataTypeEnum;
2298
+ dataType:
2299
+ | "String"
2300
+ | "Number"
2301
+ | "Decimal"
2302
+ | "Boolean"
2303
+ | "Date"
2304
+ | "SingleSelect"
2305
+ | "MultiSelect";
2125
2306
  }
2126
2307
 
2127
2308
  export interface DetailedUser {
@@ -2369,7 +2550,7 @@ export interface Draft {
2369
2550
  siteConfiguration: SiteConfigurationReduced;
2370
2551
  /** @format uuid */
2371
2552
  loanID?: string | null;
2372
- type: DraftTypeEnum;
2553
+ type: "NewLoan" | "EditLoan";
2373
2554
  isCoBorrower: boolean;
2374
2555
  }
2375
2556
 
@@ -2388,7 +2569,7 @@ export interface DraftContent {
2388
2569
  siteConfiguration: SiteConfigurationReduced;
2389
2570
  /** @format uuid */
2390
2571
  loanID?: string | null;
2391
- type: DraftContentTypeEnum;
2572
+ type: "NewLoan" | "EditLoan";
2392
2573
  isCoBorrower: boolean;
2393
2574
  applicationPayload: any;
2394
2575
  }
@@ -2407,7 +2588,7 @@ export interface DraftLoanOfficerReassignRequest {
2407
2588
 
2408
2589
  export interface DraftRequest {
2409
2590
  applicationPayload: any;
2410
- customData?: any | null;
2591
+ customData?: any;
2411
2592
  isCoBorrower: boolean;
2412
2593
  }
2413
2594
 
@@ -2481,9 +2662,9 @@ export interface EncompassCredentialsDetail {
2481
2662
  clearStateIfUnlicensed: boolean;
2482
2663
  /** @deprecated */
2483
2664
  baseUrl?: string | null;
2484
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2665
+ encompassEnvironment: "Production" | "UAT";
2485
2666
  consumerConnectWidgetHost?: string | null;
2486
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2667
+ signingMethod: "ConsumerConnect" | "POSF";
2487
2668
  subscriptionId?: string | null;
2488
2669
  environment?: string | null;
2489
2670
  /** @format uuid */
@@ -2500,9 +2681,9 @@ export interface EncompassCredentialsRequest {
2500
2681
  clearStateIfUnlicensed: boolean;
2501
2682
  /** @deprecated */
2502
2683
  baseUrl?: string | null;
2503
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2684
+ encompassEnvironment: "Production" | "UAT";
2504
2685
  consumerConnectWidgetHost?: string | null;
2505
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2686
+ signingMethod: "ConsumerConnect" | "POSF";
2506
2687
  subscriptionId?: string | null;
2507
2688
  environment?: string | null;
2508
2689
  clientID?: string | null;
@@ -2624,8 +2805,16 @@ export interface EncompassRequestLog {
2624
2805
  losId?: string | null;
2625
2806
  /** @format uuid */
2626
2807
  accountId: string;
2627
- operationType: EncompassRequestLogOperationTypeEnum;
2628
- outcome: EncompassRequestLogOutcomeEnum;
2808
+ operationType:
2809
+ | "FieldUpdate"
2810
+ | "ConsentUpdate"
2811
+ | "DocumentSync"
2812
+ | "MilestoneUpdate"
2813
+ | "DocumentAttachment"
2814
+ | "General"
2815
+ | "FieldReader"
2816
+ | "Read";
2817
+ outcome: "Success" | "Failure" | "PartialSuccess";
2629
2818
  message: string;
2630
2819
  endpoint?: string | null;
2631
2820
  httpMethod?: string | null;
@@ -2633,7 +2822,7 @@ export interface EncompassRequestLog {
2633
2822
  httpStatusCode?: number | null;
2634
2823
  /** @format int64 */
2635
2824
  durationMs?: number | null;
2636
- context?: any | null;
2825
+ context?: any;
2637
2826
  /** @format date-time */
2638
2827
  createdAt: string;
2639
2828
  }
@@ -2686,7 +2875,7 @@ export interface FileSearchCriteria {
2686
2875
  export interface FileWithBytes {
2687
2876
  name: string;
2688
2877
  /** @format byte */
2689
- data: Blob;
2878
+ data: string;
2690
2879
  fileName: string;
2691
2880
  mimeType?: string | null;
2692
2881
  extension?: string | null;
@@ -2765,7 +2954,7 @@ export interface FormSubmission {
2765
2954
  subjectPropertyAddressCounty?: string | null;
2766
2955
  subjectPropertyAddressState?: string | null;
2767
2956
  subjectPropertyAddressZip?: string | null;
2768
- data?: any | null;
2957
+ data?: any;
2769
2958
  /** @format uuid */
2770
2959
  listingID?: string | null;
2771
2960
  listing?: Listing | null;
@@ -2803,7 +2992,7 @@ export interface FormSubmissionRequest {
2803
2992
  subjectPropertyAddressCounty?: string | null;
2804
2993
  subjectPropertyAddressState?: string | null;
2805
2994
  subjectPropertyAddressZip?: string | null;
2806
- data?: any | null;
2995
+ data?: any;
2807
2996
  /** @format uuid */
2808
2997
  listingID?: string | null;
2809
2998
  }
@@ -2858,7 +3047,20 @@ export interface FusionFieldDisplay {
2858
3047
  }
2859
3048
 
2860
3049
  export interface FusionReportFilter {
2861
- filterType: FusionReportFilterFilterTypeEnum;
3050
+ filterType:
3051
+ | "DateGreaterThanOrEqualTo"
3052
+ | "DateGreaterThan"
3053
+ | "DateLessThan"
3054
+ | "DateLessThanOrEqualTo"
3055
+ | "DateEquals"
3056
+ | "DateDoesntEqual"
3057
+ | "DateNonEmpty"
3058
+ | "DateEmpty"
3059
+ | "StringContains"
3060
+ | "StringEquals"
3061
+ | "StringNotEmpty"
3062
+ | "StringNotEquals"
3063
+ | "StringNotContains";
2862
3064
  targetField: string;
2863
3065
  targetValue: string;
2864
3066
  }
@@ -2881,7 +3083,7 @@ export interface GenerateSystemPrompt {
2881
3083
 
2882
3084
  export interface GenerateSystemPromptRequest {
2883
3085
  description: string;
2884
- category: GenerateSystemPromptRequestCategoryEnum;
3086
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2885
3087
  }
2886
3088
 
2887
3089
  export interface GetApplications {
@@ -2977,12 +3179,45 @@ export interface GetWorkflowRequest {
2977
3179
  export interface GuidPatchOperation {
2978
3180
  op: string;
2979
3181
  path: string;
2980
- value?: any | null;
3182
+ value?: any;
2981
3183
  from?: string | null;
2982
3184
  }
2983
3185
 
2984
3186
  export interface IPAddress {
2985
- addressFamily: IpAddressAddressFamilyEnum;
3187
+ addressFamily:
3188
+ | "Unspecified"
3189
+ | "Unix"
3190
+ | "InterNetwork"
3191
+ | "ImpLink"
3192
+ | "Pup"
3193
+ | "Chaos"
3194
+ | "NS"
3195
+ | "Ipx"
3196
+ | "Iso"
3197
+ | "Osi"
3198
+ | "Ecma"
3199
+ | "DataKit"
3200
+ | "Ccitt"
3201
+ | "Sna"
3202
+ | "DecNet"
3203
+ | "DataLink"
3204
+ | "Lat"
3205
+ | "HyperChannel"
3206
+ | "AppleTalk"
3207
+ | "NetBios"
3208
+ | "VoiceView"
3209
+ | "FireFox"
3210
+ | "Banyan"
3211
+ | "Atm"
3212
+ | "InterNetworkV6"
3213
+ | "Cluster"
3214
+ | "Ieee12844"
3215
+ | "Irda"
3216
+ | "NetworkDesigners"
3217
+ | "Max"
3218
+ | "Packet"
3219
+ | "ControllerAreaNetwork"
3220
+ | "Unknown";
2986
3221
  /** @format int64 */
2987
3222
  scopeId: number;
2988
3223
  isIPv6Multicast: boolean;
@@ -3246,7 +3481,7 @@ export interface Loan {
3246
3481
  contacts: LoanContact[];
3247
3482
  customFields: CustomFieldEntry[];
3248
3483
  milestones: LoanMilestone[];
3249
- signingMethod: LoanSigningMethodEnum;
3484
+ signingMethod: "ConsumerConnect" | "POSF";
3250
3485
  }
3251
3486
 
3252
3487
  export interface LoanApplication {
@@ -3286,7 +3521,7 @@ export interface LoanApplicationRequest {
3286
3521
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3287
3522
  /** @format uuid */
3288
3523
  draftId?: string | null;
3289
- additionalFields?: Record<string, any> | null;
3524
+ additionalFields?: Record<string, any>;
3290
3525
  /** @format uuid */
3291
3526
  existingLoanId?: string | null;
3292
3527
  }
@@ -3306,7 +3541,7 @@ export interface LoanBorrower {
3306
3541
  citizenship?: LoanCitizenship | null;
3307
3542
  maritalStatus?: LoanMaritalStatus | null;
3308
3543
  languagePreference?: LoanLanguagePreference | null;
3309
- applicationStatus: LoanBorrowerApplicationStatusEnum;
3544
+ applicationStatus: "Draft" | "Complete";
3310
3545
  /** @format int32 */
3311
3546
  numberOfDependents?: number | null;
3312
3547
  /** @format int32 */
@@ -3713,11 +3948,17 @@ export interface LoanBorrowerGiftRequest {
3713
3948
  isDeposited?: boolean | null;
3714
3949
  source?: LoanGiftSource | null;
3715
3950
  assetType?: LoanGiftAssetType | null;
3951
+ grantorDonorName?: string | null;
3952
+ /** @format double */
3953
+ amountAppliedToDownPayment?: number | null;
3954
+ /** @format double */
3955
+ amountAppliedToClosingCosts?: number | null;
3716
3956
  }
3717
3957
 
3718
3958
  export interface LoanBorrowerHomeOwnership {
3719
3959
  /** @format uuid */
3720
3960
  id?: string | null;
3961
+ isCompleted?: boolean | null;
3721
3962
  /** @format date */
3722
3963
  dateCompleted?: string | null;
3723
3964
  type?: LoanHomeOwnershipType | null;
@@ -3730,16 +3971,19 @@ export interface LoanBorrowerHomeOwnershipProvider {
3730
3971
  id?: string | null;
3731
3972
  name?: string | null;
3732
3973
  phoneNumber?: string | null;
3974
+ hudAgencyId?: string | null;
3733
3975
  address?: AddressV3 | null;
3734
3976
  }
3735
3977
 
3736
3978
  export interface LoanBorrowerHomeOwnershipProviderRequest {
3737
3979
  name?: string | null;
3738
3980
  phoneNumber?: string | null;
3981
+ hudAgencyId?: string | null;
3739
3982
  address?: AddressRequest | null;
3740
3983
  }
3741
3984
 
3742
3985
  export interface LoanBorrowerHomeOwnershipRequest {
3986
+ isCompleted?: boolean | null;
3743
3987
  /** @format date */
3744
3988
  dateCompleted?: string | null;
3745
3989
  type?: LoanHomeOwnershipType | null;
@@ -3889,7 +4133,9 @@ export interface LoanBorrowerRealEstateAsset {
3889
4133
  /** @format uuid */
3890
4134
  id?: string | null;
3891
4135
  status?: LoanRealEstateStatus | null;
3892
- occupancy?: LoanOccupancyType | null;
4136
+ occupancy?: LoanRealEstateOccupancyType | null;
4137
+ intendedUsage?: LoanRealEstateIntendedUsageType | null;
4138
+ intendedUsageOtherDescription?: string | null;
3893
4139
  /** @format double */
3894
4140
  marketValue?: number | null;
3895
4141
  /** @format double */
@@ -3947,7 +4193,9 @@ export interface LoanBorrowerRealEstateAssetMortgageRequest {
3947
4193
 
3948
4194
  export interface LoanBorrowerRealEstateAssetRequest {
3949
4195
  status?: LoanRealEstateStatus | null;
3950
- occupancy?: LoanOccupancyType | null;
4196
+ occupancy?: LoanRealEstateOccupancyType | null;
4197
+ intendedUsage?: LoanRealEstateIntendedUsageType | null;
4198
+ intendedUsageOtherDescription?: string | null;
3951
4199
  /** @format double */
3952
4200
  marketValue?: number | null;
3953
4201
  /** @format double */
@@ -4099,7 +4347,7 @@ export interface LoanConsentRequest {
4099
4347
  borrowerEConsent?: boolean | null;
4100
4348
  borrowerCreditAuth?: boolean | null;
4101
4349
  borrowerTCPAOptIn?: boolean | null;
4102
- additionalFields?: Record<string, string> | null;
4350
+ additionalFields?: Record<string, string>;
4103
4351
  }
4104
4352
 
4105
4353
  export interface LoanContact {
@@ -4118,7 +4366,20 @@ export interface LoanContact {
4118
4366
  email?: string | null;
4119
4367
  phone?: string | null;
4120
4368
  companyName?: string | null;
4121
- role: LoanContactRoleEnum;
4369
+ role:
4370
+ | "Borrower"
4371
+ | "CoBorrower"
4372
+ | "NonBorrower"
4373
+ | "LoanOfficer"
4374
+ | "LoanProcessor"
4375
+ | "LoanOfficerAssistant"
4376
+ | "SupportingLoanOfficer"
4377
+ | "BuyerAgent"
4378
+ | "SellerAgent"
4379
+ | "TitleInsuranceAgent"
4380
+ | "EscrowAgent"
4381
+ | "SettlementAgent"
4382
+ | "Admin";
4122
4383
  }
4123
4384
 
4124
4385
  export interface LoanContactList {
@@ -4143,7 +4404,7 @@ export interface LoanCostDetails {
4143
4404
  }
4144
4405
 
4145
4406
  export interface LoanCustomFieldsRequest {
4146
- additionalFields?: Record<string, string> | null;
4407
+ additionalFields?: Record<string, string>;
4147
4408
  }
4148
4409
 
4149
4410
  export interface LoanDocument {
@@ -4204,15 +4465,41 @@ export interface LoanDocumentFolderPermission {
4204
4465
  id: string;
4205
4466
  /** @format uuid */
4206
4467
  loanDocumentFolderID: string;
4207
- role: LoanDocumentFolderPermissionRoleEnum;
4208
- level: LoanDocumentFolderPermissionLevelEnum;
4209
- readScope: LoanDocumentFolderPermissionReadScopeEnum;
4468
+ role:
4469
+ | "Borrower"
4470
+ | "CoBorrower"
4471
+ | "NonBorrower"
4472
+ | "LoanOfficer"
4473
+ | "LoanProcessor"
4474
+ | "LoanOfficerAssistant"
4475
+ | "SupportingLoanOfficer"
4476
+ | "BuyerAgent"
4477
+ | "SellerAgent"
4478
+ | "TitleInsuranceAgent"
4479
+ | "EscrowAgent"
4480
+ | "SettlementAgent"
4481
+ | "Admin";
4482
+ level: "None" | "Read" | "Write" | "Manage";
4483
+ readScope: "Own" | "All";
4210
4484
  }
4211
4485
 
4212
4486
  export interface LoanDocumentFolderPermissionRequest {
4213
- role: LoanDocumentFolderPermissionRequestRoleEnum;
4214
- level: LoanDocumentFolderPermissionRequestLevelEnum;
4215
- readScope: LoanDocumentFolderPermissionRequestReadScopeEnum;
4487
+ role:
4488
+ | "Borrower"
4489
+ | "CoBorrower"
4490
+ | "NonBorrower"
4491
+ | "LoanOfficer"
4492
+ | "LoanProcessor"
4493
+ | "LoanOfficerAssistant"
4494
+ | "SupportingLoanOfficer"
4495
+ | "BuyerAgent"
4496
+ | "SellerAgent"
4497
+ | "TitleInsuranceAgent"
4498
+ | "EscrowAgent"
4499
+ | "SettlementAgent"
4500
+ | "Admin";
4501
+ level: "None" | "Read" | "Write" | "Manage";
4502
+ readScope: "Own" | "All";
4216
4503
  }
4217
4504
 
4218
4505
  export interface LoanDocumentFolderSearchCriteria {
@@ -4387,14 +4674,19 @@ export interface LoanImport {
4387
4674
  /** @format int32 */
4388
4675
  importedCount: number;
4389
4676
  statusMessage?: string | null;
4390
- status: LoanImportStatusEnum;
4391
- importMode: LoanImportImportModeEnum;
4677
+ status:
4678
+ | "WaitingProcess"
4679
+ | "InProgress"
4680
+ | "Completed"
4681
+ | "Failed"
4682
+ | "Cancelled";
4683
+ importMode: "All" | "NewOnly" | "UpdateOnly";
4392
4684
  /** @format date-time */
4393
4685
  createdAt?: string | null;
4394
4686
  }
4395
4687
 
4396
4688
  export interface LoanImportLog {
4397
- level: LoanImportLogLevelEnum;
4689
+ level: "None" | "Info" | "Warning" | "Error";
4398
4690
  message: string;
4399
4691
  /** @format date-time */
4400
4692
  createdAt: string;
@@ -4455,8 +4747,26 @@ export interface LoanListPaginated {
4455
4747
  export interface LoanLog {
4456
4748
  /** @format uuid */
4457
4749
  id: string;
4458
- level: LoanLogLevelEnum;
4459
- type: LoanLogTypeEnum;
4750
+ level: "None" | "Info" | "Warning" | "Error";
4751
+ type:
4752
+ | "Loan"
4753
+ | "Queue"
4754
+ | "POSFlagChanged"
4755
+ | "Verification"
4756
+ | "DocumentUploaded"
4757
+ | "LoanCreated"
4758
+ | "WorkflowSubmitted"
4759
+ | "UserInvitationSent"
4760
+ | "CoBorrowerAdded"
4761
+ | "TaskCompleted"
4762
+ | "LoanStatusChanged"
4763
+ | "Consent"
4764
+ | "SensitiveDataPurge"
4765
+ | "ClosingDateUpdated"
4766
+ | "ConsumerConnectAssociation"
4767
+ | "TaskReminderSent"
4768
+ | "DocumentClassified"
4769
+ | "CoBorrowerEmailAutoFixed";
4460
4770
  message: string;
4461
4771
  /** @format date-time */
4462
4772
  createdAt: string;
@@ -4465,8 +4775,26 @@ export interface LoanLog {
4465
4775
  export interface LoanLogDetail {
4466
4776
  /** @format uuid */
4467
4777
  id: string;
4468
- level: LoanLogDetailLevelEnum;
4469
- type: LoanLogDetailTypeEnum;
4778
+ level: "None" | "Info" | "Warning" | "Error";
4779
+ type:
4780
+ | "Loan"
4781
+ | "Queue"
4782
+ | "POSFlagChanged"
4783
+ | "Verification"
4784
+ | "DocumentUploaded"
4785
+ | "LoanCreated"
4786
+ | "WorkflowSubmitted"
4787
+ | "UserInvitationSent"
4788
+ | "CoBorrowerAdded"
4789
+ | "TaskCompleted"
4790
+ | "LoanStatusChanged"
4791
+ | "Consent"
4792
+ | "SensitiveDataPurge"
4793
+ | "ClosingDateUpdated"
4794
+ | "ConsumerConnectAssociation"
4795
+ | "TaskReminderSent"
4796
+ | "DocumentClassified"
4797
+ | "CoBorrowerEmailAutoFixed";
4470
4798
  message: string;
4471
4799
  /** @format date-time */
4472
4800
  createdAt: string;
@@ -4750,7 +5078,7 @@ export interface LoanQueueWithData {
4750
5078
  user: UserPublic;
4751
5079
  loanOfficer: LoanOfficerPublic;
4752
5080
  siteConfiguration: SiteConfigurationReduced;
4753
- data?: any | null;
5081
+ data?: any;
4754
5082
  }
4755
5083
 
4756
5084
  export interface LoanRecord {
@@ -4786,7 +5114,7 @@ export interface LoanTaskSearchRequest {
4786
5114
  }
4787
5115
 
4788
5116
  export interface LoanTaskStatusSummary {
4789
- status: LoanTaskStatusSummaryStatusEnum;
5117
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4790
5118
  /** @format int32 */
4791
5119
  count: number;
4792
5120
  }
@@ -4799,12 +5127,40 @@ export interface LoanUser {
4799
5127
  email: string;
4800
5128
  phone?: string | null;
4801
5129
  role: string;
4802
- loanRole: LoanUserLoanRoleEnum;
5130
+ loanRole:
5131
+ | "Borrower"
5132
+ | "CoBorrower"
5133
+ | "NonBorrower"
5134
+ | "LoanOfficer"
5135
+ | "LoanProcessor"
5136
+ | "LoanOfficerAssistant"
5137
+ | "SupportingLoanOfficer"
5138
+ | "BuyerAgent"
5139
+ | "SellerAgent"
5140
+ | "TitleInsuranceAgent"
5141
+ | "EscrowAgent"
5142
+ | "SettlementAgent"
5143
+ | "Admin";
4803
5144
  isUser: boolean;
4804
5145
  /** @format date-time */
4805
5146
  createdAt: string;
4806
5147
  }
4807
5148
 
5149
+ export interface LosCredentialHealth {
5150
+ /** @format uuid */
5151
+ accountId: string;
5152
+ status:
5153
+ | "Unknown"
5154
+ | "Healthy"
5155
+ | "InvalidCredentials"
5156
+ | "Forbidden"
5157
+ | "TransportError"
5158
+ | "NotConfigured";
5159
+ /** @format date-time */
5160
+ checkedAtUtc: string;
5161
+ message: string;
5162
+ }
5163
+
4808
5164
  export interface LosCredentials {
4809
5165
  /** @format uuid */
4810
5166
  id: string;
@@ -4813,6 +5169,77 @@ export interface LosCredentials {
4813
5169
  instanceID: string;
4814
5170
  }
4815
5171
 
5172
+ export interface LosIntegration {
5173
+ /** @format uuid */
5174
+ accountId: string;
5175
+ accountName?: string | null;
5176
+ instanceID: string;
5177
+ encompassEnvironment: "Production" | "UAT";
5178
+ signingMethod: "ConsumerConnect" | "POSF";
5179
+ consumerConnectWidgetHost?: string | null;
5180
+ defaultLoanOfficerUserName?: string | null;
5181
+ loanTemplate?: string | null;
5182
+ loanAssignmentRole?: string | null;
5183
+ clearStateIfUnlicensed: boolean;
5184
+ subscriptionId?: string | null;
5185
+ environment?: string | null;
5186
+ hasSigningKey: boolean;
5187
+ health?: LosCredentialHealth | null;
5188
+ webhooks?: LosWebhookInventory | null;
5189
+ }
5190
+
5191
+ export interface LosIntegrationCredentials {
5192
+ /** @format uuid */
5193
+ id: string;
5194
+ /** @format uuid */
5195
+ accountID: string;
5196
+ instanceID: string;
5197
+ encompassEnvironment: "Production" | "UAT";
5198
+ signingMethod: "ConsumerConnect" | "POSF";
5199
+ consumerConnectWidgetHost?: string | null;
5200
+ defaultLoanOfficerUserName?: string | null;
5201
+ loanTemplate?: string | null;
5202
+ loanAssignmentRole?: string | null;
5203
+ clearStateIfUnlicensed: boolean;
5204
+ subscriptionId?: string | null;
5205
+ environment?: string | null;
5206
+ clientID?: string | null;
5207
+ clientSecret?: string | null;
5208
+ signingKeyId?: string | null;
5209
+ signingKey?: string | null;
5210
+ secretsDecrypted: boolean;
5211
+ }
5212
+
5213
+ export interface LosIntegrationPaginated {
5214
+ rows: LosIntegration[];
5215
+ pagination: Pagination;
5216
+ /** @format int64 */
5217
+ count: number;
5218
+ }
5219
+
5220
+ export interface LosIntegrationsBatchRequest {
5221
+ accountIds: string[];
5222
+ }
5223
+
5224
+ export interface LosIntegrationsSearchCriteria {
5225
+ searchText?: string | null;
5226
+ }
5227
+
5228
+ export interface LosIntegrationsSummary {
5229
+ /** @format int32 */
5230
+ totalIntegrations: number;
5231
+ /** @format int32 */
5232
+ healthyCount: number;
5233
+ /** @format int32 */
5234
+ failingCount: number;
5235
+ /** @format int32 */
5236
+ unknownCount: number;
5237
+ /** @format int32 */
5238
+ accountsMissingExpectedWebhook: number;
5239
+ /** @format int32 */
5240
+ webhookUnknownCount: number;
5241
+ }
5242
+
4816
5243
  export interface LosLoanCreationRequest {
4817
5244
  loanOfficerUserName?: string | null;
4818
5245
  loanTemplate?: string | null;
@@ -4836,7 +5263,13 @@ export interface LosOperationTracking {
4836
5263
  operationType: string;
4837
5264
  correlationKey: string;
4838
5265
  lastTriggerSource?: string | null;
4839
- status: LosOperationTrackingStatusEnum;
5266
+ status:
5267
+ | "Pending"
5268
+ | "Success"
5269
+ | "Failed"
5270
+ | "ConfigurationError"
5271
+ | "PermanentFailure"
5272
+ | "Locked";
4840
5273
  /** @format date-time */
4841
5274
  createdAt: string;
4842
5275
  /** @format date-time */
@@ -4930,7 +5363,7 @@ export interface LosSyncStep {
4930
5363
  /** @format int32 */
4931
5364
  order: number;
4932
5365
  name: string;
4933
- severity: LosSyncStepSeverityEnum;
5366
+ severity: "Success" | "Info" | "Warning" | "Error";
4934
5367
  message: string;
4935
5368
  /** @format date-time */
4936
5369
  atUtc: string;
@@ -4945,8 +5378,95 @@ export interface LosWebhook {
4945
5378
  enableSubscription: boolean;
4946
5379
  }
4947
5380
 
5381
+ export interface LosWebhookEntry {
5382
+ path: string;
5383
+ endpoint: string;
5384
+ resource: string;
5385
+ events: string[];
5386
+ /** @format uuid */
5387
+ subscriptionId?: string | null;
5388
+ enableSubscription?: boolean | null;
5389
+ status: "Registered" | "Disabled" | "Missing" | "Extra";
5390
+ }
5391
+
5392
+ export interface LosWebhookInventory {
5393
+ /** @format uuid */
5394
+ accountId: string;
5395
+ overallStatus: "Unknown" | "Healthy" | "Disabled" | "Missing";
5396
+ entries: LosWebhookEntry[];
5397
+ /** @format int32 */
5398
+ missingCount: number;
5399
+ /** @format date-time */
5400
+ checkedAtUtc: string;
5401
+ message: string;
5402
+ }
5403
+
4948
5404
  export interface ManualDocumentClassificationRequest {
4949
- documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5405
+ documentType:
5406
+ | "W2"
5407
+ | "Paystub"
5408
+ | "Form1099"
5409
+ | "Form1099Int"
5410
+ | "Form1099Misc"
5411
+ | "Form1099Nec"
5412
+ | "Form1099R"
5413
+ | "Form1099G"
5414
+ | "Form1099Div"
5415
+ | "Form1099Ssa"
5416
+ | "FederalTaxReturn1040"
5417
+ | "TaxReturnScheduleC"
5418
+ | "TaxReturnScheduleD"
5419
+ | "TaxReturnScheduleE"
5420
+ | "Form1065"
5421
+ | "Form1120"
5422
+ | "Form1120S"
5423
+ | "ProfitAndLossStatement"
5424
+ | "VerificationOfEmployment"
5425
+ | "BankStatement"
5426
+ | "InvestmentStatement"
5427
+ | "CreditCardStatement"
5428
+ | "MortgageStatement"
5429
+ | "PayoffStatement"
5430
+ | "HoaDocuments"
5431
+ | "UtilityBill"
5432
+ | "IdentityDocument"
5433
+ | "DemographicAddendum"
5434
+ | "Ssa89"
5435
+ | "Vba260551"
5436
+ | "Hud92900B"
5437
+ | "Check"
5438
+ | "Invoice"
5439
+ | "Receipt"
5440
+ | "LoanApplication1003"
5441
+ | "UnderwritingTransmittal1008"
5442
+ | "Other"
5443
+ | "SalesContract"
5444
+ | "TitleCommitment"
5445
+ | "DriversLicense"
5446
+ | "VerificationOfIncome"
5447
+ | "VerificationOfAssets"
5448
+ | "FloodCertificate"
5449
+ | "FraudReport"
5450
+ | "AddendumToSalesContract"
5451
+ | "GiftLetter"
5452
+ | "CpaLetter"
5453
+ | "TaxBill"
5454
+ | "CondoQuestionnaire"
5455
+ | "CondoBudget"
5456
+ | "CondoBylaws"
5457
+ | "RentalAgreements"
5458
+ | "Lease"
5459
+ | "HazardInsurance"
5460
+ | "VaCertificateOfEligibility"
5461
+ | "Appraisal"
5462
+ | "CreditReport"
5463
+ | "CondoMasterPolicy"
5464
+ | "EConsent"
5465
+ | "CreditAuthorization"
5466
+ | "TextOptIn"
5467
+ | "LoanComparison"
5468
+ | "AiGeneratedDocument"
5469
+ | "Unidentified";
4950
5470
  }
4951
5471
 
4952
5472
  export interface MdmUser {
@@ -5037,7 +5557,7 @@ export interface ModuleParameterValue {
5037
5557
  parameterID: string;
5038
5558
  parameterName: string;
5039
5559
  parameterType: string;
5040
- value?: any | null;
5560
+ value?: any;
5041
5561
  isInherited: boolean;
5042
5562
  }
5043
5563
 
@@ -5223,7 +5743,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5223
5743
 
5224
5744
  export interface Operation {
5225
5745
  op?: string;
5226
- value?: object | null;
5746
+ value?: string | number | boolean | null | object;
5227
5747
  path?: string;
5228
5748
  }
5229
5749
 
@@ -5595,7 +6115,7 @@ export interface SiteConfiguration {
5595
6115
  deletedAt?: string | null;
5596
6116
  /** @format uuid */
5597
6117
  id: string;
5598
- type: SiteConfigurationTypeEnum;
6118
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5599
6119
  /** @format uuid */
5600
6120
  entityID: string;
5601
6121
  /** @format int32 */
@@ -5790,7 +6310,7 @@ export interface SiteConfigurationByUrl {
5790
6310
  deletedAt?: string | null;
5791
6311
  /** @format uuid */
5792
6312
  id: string;
5793
- type: SiteConfigurationByUrlTypeEnum;
6313
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5794
6314
  /** @format uuid */
5795
6315
  entityID: string;
5796
6316
  /** @format int32 */
@@ -6003,7 +6523,7 @@ export interface SiteConfigurationForm {
6003
6523
  export interface SiteConfigurationReduced {
6004
6524
  /** @format uuid */
6005
6525
  id: string;
6006
- type: SiteConfigurationReducedTypeEnum;
6526
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6007
6527
  url?: string | null;
6008
6528
  name: string;
6009
6529
  /** @format int64 */
@@ -6021,7 +6541,7 @@ export interface SiteConfigurationRequest {
6021
6541
  entityID: string;
6022
6542
  /** @format int32 */
6023
6543
  entityType: number;
6024
- type: SiteConfigurationRequestTypeEnum;
6544
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6025
6545
  url: string;
6026
6546
  name: string;
6027
6547
  introduction?: string | null;
@@ -6199,7 +6719,7 @@ export interface SiteConfigurationSearchCriteria {
6199
6719
  export interface SiteConfigurationSummary {
6200
6720
  /** @format uuid */
6201
6721
  id: string;
6202
- type: SiteConfigurationSummaryTypeEnum;
6722
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6203
6723
  url?: string | null;
6204
6724
  name: string;
6205
6725
  /** @format int64 */
@@ -6238,7 +6758,7 @@ export interface SiteTile {
6238
6758
  title: string;
6239
6759
  description: string;
6240
6760
  linkUrl: string;
6241
- linkTarget: SiteTileLinkTargetEnum;
6761
+ linkTarget: "Self" | "Blank";
6242
6762
  siteTypes: SiteConfigurationType[];
6243
6763
  locationAudiences: SiteTileLocationAudience[];
6244
6764
  /** @format int32 */
@@ -6251,12 +6771,12 @@ export interface SiteTile {
6251
6771
  }
6252
6772
 
6253
6773
  export interface SiteTileLocationAudience {
6254
- location: SiteTileLocationAudienceLocationEnum;
6774
+ location: "HomePage" | "Dashboard";
6255
6775
  audience: UserRole[];
6256
6776
  }
6257
6777
 
6258
6778
  export interface SiteTileLocationAudienceRequest {
6259
- location: SiteTileLocationAudienceRequestLocationEnum;
6779
+ location: "HomePage" | "Dashboard";
6260
6780
  audience: UserRole[];
6261
6781
  }
6262
6782
 
@@ -6274,7 +6794,7 @@ export interface SiteTileRequest {
6274
6794
  title: string;
6275
6795
  description: string;
6276
6796
  linkUrl: string;
6277
- linkTarget: SiteTileRequestLinkTargetEnum;
6797
+ linkTarget: "Self" | "Blank";
6278
6798
  siteTypes: SiteConfigurationType[];
6279
6799
  locationAudiences: SiteTileLocationAudienceRequest[];
6280
6800
  /** @format int32 */
@@ -6297,7 +6817,7 @@ export interface SiteTileView {
6297
6817
  title: string;
6298
6818
  description: string;
6299
6819
  linkUrl: string;
6300
- linkTarget: SiteTileViewLinkTargetEnum;
6820
+ linkTarget: "Self" | "Blank";
6301
6821
  /** @format int32 */
6302
6822
  weight: number;
6303
6823
  }
@@ -6553,7 +7073,20 @@ export interface UnregisteredBorrower {
6553
7073
  lastName?: string | null;
6554
7074
  fullName?: string | null;
6555
7075
  email?: string | null;
6556
- role: UnregisteredBorrowerRoleEnum;
7076
+ role:
7077
+ | "Borrower"
7078
+ | "CoBorrower"
7079
+ | "NonBorrower"
7080
+ | "LoanOfficer"
7081
+ | "LoanProcessor"
7082
+ | "LoanOfficerAssistant"
7083
+ | "SupportingLoanOfficer"
7084
+ | "BuyerAgent"
7085
+ | "SellerAgent"
7086
+ | "TitleInsuranceAgent"
7087
+ | "EscrowAgent"
7088
+ | "SettlementAgent"
7089
+ | "Admin";
6557
7090
  }
6558
7091
 
6559
7092
  export interface UpdateAccountRequest {
@@ -6581,7 +7114,7 @@ export interface UpdateAiCanonicalFieldRequest {
6581
7114
 
6582
7115
  export interface UpdateAiGuardrailRequest {
6583
7116
  name: string;
6584
- category: UpdateAiGuardrailRequestCategoryEnum;
7117
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6585
7118
  description?: string | null;
6586
7119
  keywords: string[];
6587
7120
  responseTemplate: string;
@@ -6618,8 +7151,8 @@ export interface UpdateAiUrlSourceRequest {
6618
7151
  name: string;
6619
7152
  url: string;
6620
7153
  description?: string | null;
6621
- category: UpdateAiUrlSourceRequestCategoryEnum;
6622
- scope: UpdateAiUrlSourceRequestScopeEnum;
7154
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
7155
+ scope: "FullDomain" | "SpecificPath";
6623
7156
  }
6624
7157
 
6625
7158
  export interface UpdateCompanyDocumentFolderRequest {
@@ -6931,6 +7464,11 @@ export interface UserBase {
6931
7464
  email: string;
6932
7465
  }
6933
7466
 
7467
+ export interface UserDeactivated {
7468
+ accountDeactivated: boolean;
7469
+ email: string;
7470
+ }
7471
+
6934
7472
  export interface UserDevice {
6935
7473
  /** @format uuid */
6936
7474
  id: string;
@@ -6946,7 +7484,20 @@ export interface UserDevice {
6946
7484
  export interface UserDraft {
6947
7485
  /** @format uuid */
6948
7486
  draftID: string;
6949
- role: UserDraftRoleEnum;
7487
+ role:
7488
+ | "Borrower"
7489
+ | "CoBorrower"
7490
+ | "NonBorrower"
7491
+ | "LoanOfficer"
7492
+ | "LoanProcessor"
7493
+ | "LoanOfficerAssistant"
7494
+ | "SupportingLoanOfficer"
7495
+ | "BuyerAgent"
7496
+ | "SellerAgent"
7497
+ | "TitleInsuranceAgent"
7498
+ | "EscrowAgent"
7499
+ | "SettlementAgent"
7500
+ | "Admin";
6950
7501
  user: User;
6951
7502
  }
6952
7503
 
@@ -6973,7 +7524,7 @@ export interface UserGroupAccessScope {
6973
7524
  id: string;
6974
7525
  /** @format uuid */
6975
7526
  groupId: string;
6976
- scopeType: UserGroupAccessScopeScopeTypeEnum;
7527
+ scopeType: "User" | "Branch";
6977
7528
  /** @format uuid */
6978
7529
  userId?: string | null;
6979
7530
  /** @format uuid */
@@ -6998,7 +7549,16 @@ export interface UserGroupMemberUserSummary {
6998
7549
  id: string;
6999
7550
  name?: string | null;
7000
7551
  email?: string | null;
7001
- role: UserGroupMemberUserSummaryRoleEnum;
7552
+ role:
7553
+ | "Borrower"
7554
+ | "LoanOfficer"
7555
+ | "Admin"
7556
+ | "SuperAdmin"
7557
+ | "Realtor"
7558
+ | "SettlementAgent"
7559
+ | "LoanProcessor"
7560
+ | "LoanOfficerAssistant"
7561
+ | "SystemAdmin";
7002
7562
  }
7003
7563
 
7004
7564
  export interface UserGroupPaginated {
@@ -7017,7 +7577,20 @@ export interface UserLoan {
7017
7577
  deletedAt?: string | null;
7018
7578
  loanID: string;
7019
7579
  user: User;
7020
- role: UserLoanRoleEnum;
7580
+ role:
7581
+ | "Borrower"
7582
+ | "CoBorrower"
7583
+ | "NonBorrower"
7584
+ | "LoanOfficer"
7585
+ | "LoanProcessor"
7586
+ | "LoanOfficerAssistant"
7587
+ | "SupportingLoanOfficer"
7588
+ | "BuyerAgent"
7589
+ | "SellerAgent"
7590
+ | "TitleInsuranceAgent"
7591
+ | "EscrowAgent"
7592
+ | "SettlementAgent"
7593
+ | "Admin";
7021
7594
  /** @format int32 */
7022
7595
  borrowerPair?: number | null;
7023
7596
  /** @format int32 */
@@ -7030,11 +7603,11 @@ export interface UserLoanConsent {
7030
7603
  id: string;
7031
7604
  /** @format uuid */
7032
7605
  userLoanID: string;
7033
- type: UserLoanConsentTypeEnum;
7606
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
7034
7607
  providedConsent: boolean;
7035
7608
  source?: ConsentSource | null;
7036
7609
  ipAddress?: string | null;
7037
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7610
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
7038
7611
  /** @format date-time */
7039
7612
  createdAt: string;
7040
7613
  /** @format date-time */
@@ -7120,6 +7693,23 @@ export interface UserPublic {
7120
7693
  title?: string | null;
7121
7694
  }
7122
7695
 
7696
+ export interface UserReactivationCompleteRequest {
7697
+ /** @format uuid */
7698
+ token: string;
7699
+ /** @minLength 8 */
7700
+ newPassword: string;
7701
+ }
7702
+
7703
+ export interface UserReactivationRequest {
7704
+ /**
7705
+ * @format email
7706
+ * @minLength 1
7707
+ */
7708
+ email: string;
7709
+ /** @format uuid */
7710
+ siteConfigurationId: string;
7711
+ }
7712
+
7123
7713
  export interface UserRelation {
7124
7714
  /** @format uuid */
7125
7715
  userId1: string;
@@ -7211,800 +7801,77 @@ export interface Workflow {
7211
7801
  icon: string;
7212
7802
  }
7213
7803
 
7214
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7804
+ import type {
7805
+ AxiosInstance,
7806
+ AxiosRequestConfig,
7807
+ AxiosResponse,
7808
+ HeadersDefaults,
7809
+ ResponseType,
7810
+ } from "axios";
7811
+ import axios from "axios";
7215
7812
 
7216
- export type AiAuditLogEventTypeEnum =
7217
- | "Error"
7218
- | "GuardrailBlockedPre"
7219
- | "GuardrailPassedPre"
7220
- | "IntentClassified"
7221
- | "LoanResolvedFromMessage"
7222
- | "DocumentNotFound"
7223
- | "GuardrailBlockedPost"
7224
- | "GuardrailPassedPost"
7225
- | "DocumentAnalyzed"
7226
- | "DocumentList"
7227
- | "DocumentResolutionAmbiguous"
7228
- | "ResponseGenerated"
7229
- | "ParametersExtracted"
7230
- | "QueryExecuted"
7231
- | "LoanContextNotFound"
7232
- | "LoanContextLoaded"
7233
- | "GuardrailBlockedBedrock"
7234
- | "PromptMatched"
7235
- | "QueryCondensed"
7236
- | "IntentParseFailed"
7237
- | "LoanSearchTermDiscarded"
7238
- | "CanonicalFieldsSelected"
7239
- | "LoanAccessDenied"
7240
- | "AgentModelCall"
7241
- | "AgentToolCallRequested"
7242
- | "AgentToolCallCompleted"
7243
- | "AgentToolCallFailed"
7244
- | "AgentLoopLimitReached"
7245
- | "RequestCancelled"
7246
- | "KnowledgeBaseRetrieved";
7813
+ export type QueryParamsType = Record<string | number, any>;
7247
7814
 
7248
- export type AiChatMetadataIntentEnum =
7249
- | "Greeting"
7250
- | "Invalid"
7251
- | "Relevant"
7252
- | "LoanSpecific"
7253
- | "DocumentList"
7254
- | "GeneralKnowledge"
7255
- | "Blocked"
7256
- | "Action"
7257
- | "ConversationMeta"
7258
- | "Capabilities"
7259
- | "UsageReport";
7815
+ export interface FullRequestParams
7816
+ extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
7817
+ /** set parameter to `true` for call `securityWorker` for this request */
7818
+ secure?: boolean;
7819
+ /** request path */
7820
+ path: string;
7821
+ /** content type of request body */
7822
+ type?: ContentType;
7823
+ /** query params */
7824
+ query?: QueryParamsType;
7825
+ /** format of response (i.e. response.json() -> format: "json") */
7826
+ format?: ResponseType;
7827
+ /** request body */
7828
+ body?: unknown;
7829
+ }
7260
7830
 
7261
- export type AiChatStructuredDataTypeEnum =
7262
- | "Table"
7263
- | "DocumentAnalysis"
7264
- | "DocumentList"
7265
- | "GeneratedDocument"
7266
- | "CitedPassages";
7831
+ export type RequestParams = Omit<
7832
+ FullRequestParams,
7833
+ "body" | "method" | "query" | "path"
7834
+ >;
7267
7835
 
7268
- export type AiGuardrailCategoryEnum =
7269
- | "ContentSafety"
7270
- | "PromptInjection"
7271
- | "Privacy"
7272
- | "Legal";
7836
+ export interface ApiConfig<SecurityDataType = unknown>
7837
+ extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
7838
+ securityWorker?: (
7839
+ securityData: SecurityDataType | null,
7840
+ ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
7841
+ secure?: boolean;
7842
+ format?: ResponseType;
7843
+ }
7273
7844
 
7274
- export type AiUrlSourceCategoryEnum =
7275
- | "Regulatory"
7276
- | "Guidelines"
7277
- | "MarketData"
7278
- | "Custom";
7845
+ export enum ContentType {
7846
+ JsonPatch = "application/json-patch+json",
7847
+ Json = "application/json",
7848
+ JsonApi = "application/vnd.api+json",
7849
+ FormData = "multipart/form-data",
7850
+ UrlEncoded = "application/x-www-form-urlencoded",
7851
+ Text = "text/plain",
7852
+ }
7279
7853
 
7280
- export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
7854
+ export class HttpClient<SecurityDataType = unknown> {
7855
+ public instance: AxiosInstance;
7856
+ private securityData: SecurityDataType | null = null;
7857
+ private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
7858
+ private secure?: boolean;
7859
+ private format?: ResponseType;
7281
7860
 
7282
- export type AuditLogEntryChangeTypeEnum =
7283
- | "Created"
7284
- | "Modified"
7285
- | "SoftDeleted"
7286
- | "HardDeleted"
7287
- | "Restored"
7288
- | "Deactivated"
7289
- | "Reactivated";
7290
-
7291
- export type BorrowerCountRoleEnum =
7292
- | "Borrower"
7293
- | "CoBorrower"
7294
- | "NonBorrower"
7295
- | "LoanOfficer"
7296
- | "LoanProcessor"
7297
- | "LoanOfficerAssistant"
7298
- | "SupportingLoanOfficer"
7299
- | "BuyerAgent"
7300
- | "SellerAgent"
7301
- | "TitleInsuranceAgent"
7302
- | "EscrowAgent"
7303
- | "SettlementAgent"
7304
- | "Admin";
7305
-
7306
- export type BorrowerIdentityRoleEnum =
7307
- | "Borrower"
7308
- | "CoBorrower"
7309
- | "NonBorrower"
7310
- | "LoanOfficer"
7311
- | "LoanProcessor"
7312
- | "LoanOfficerAssistant"
7313
- | "SupportingLoanOfficer"
7314
- | "BuyerAgent"
7315
- | "SellerAgent"
7316
- | "TitleInsuranceAgent"
7317
- | "EscrowAgent"
7318
- | "SettlementAgent"
7319
- | "Admin";
7320
-
7321
- export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
7322
-
7323
- export type CompanyDocumentIndexStatusEnum =
7324
- | "Uploaded"
7325
- | "Indexing"
7326
- | "Indexed"
7327
- | "Failed";
7328
-
7329
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
7330
-
7331
- export type CreateAccountRequestEnvironmentEnum =
7332
- | "Development"
7333
- | "Staging"
7334
- | "UAT"
7335
- | "Production";
7336
-
7337
- export type CreateAiGuardrailRequestCategoryEnum =
7338
- | "ContentSafety"
7339
- | "PromptInjection"
7340
- | "Privacy"
7341
- | "Legal";
7342
-
7343
- export type CreateAiUrlSourceRequestCategoryEnum =
7344
- | "Regulatory"
7345
- | "Guidelines"
7346
- | "MarketData"
7347
- | "Custom";
7348
-
7349
- export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7350
-
7351
- export type CreateCustomFieldDefinitionRequestDataTypeEnum =
7352
- | "String"
7353
- | "Number"
7354
- | "Decimal"
7355
- | "Boolean"
7356
- | "Date"
7357
- | "SingleSelect"
7358
- | "MultiSelect";
7359
-
7360
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
7361
-
7362
- export type CreateGroupMemberRequestLoanRoleEnum =
7363
- | "Borrower"
7364
- | "CoBorrower"
7365
- | "NonBorrower"
7366
- | "LoanOfficer"
7367
- | "LoanProcessor"
7368
- | "LoanOfficerAssistant"
7369
- | "SupportingLoanOfficer"
7370
- | "BuyerAgent"
7371
- | "SellerAgent"
7372
- | "TitleInsuranceAgent"
7373
- | "EscrowAgent"
7374
- | "SettlementAgent"
7375
- | "Admin";
7376
-
7377
- /** @deprecated */
7378
- export type CreateInviteRequestRelationshipEnum =
7379
- | "NotApplicable"
7380
- | "Spouse"
7381
- | "NonSpouse";
7382
-
7383
- export type CreateLoanImportRequestImportModeEnum =
7384
- | "All"
7385
- | "NewOnly"
7386
- | "UpdateOnly";
7387
-
7388
- export type CreateUserDraftLoanRoleEnum =
7389
- | "Borrower"
7390
- | "CoBorrower"
7391
- | "NonBorrower"
7392
- | "LoanOfficer"
7393
- | "LoanProcessor"
7394
- | "LoanOfficerAssistant"
7395
- | "SupportingLoanOfficer"
7396
- | "BuyerAgent"
7397
- | "SellerAgent"
7398
- | "TitleInsuranceAgent"
7399
- | "EscrowAgent"
7400
- | "SettlementAgent"
7401
- | "Admin";
7402
-
7403
- export type CustomFieldDefinitionDataTypeEnum =
7404
- | "String"
7405
- | "Number"
7406
- | "Decimal"
7407
- | "Boolean"
7408
- | "Date"
7409
- | "SingleSelect"
7410
- | "MultiSelect";
7411
-
7412
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
7413
-
7414
- export type CustomFieldEntryDataTypeEnum =
7415
- | "String"
7416
- | "Number"
7417
- | "Decimal"
7418
- | "Boolean"
7419
- | "Date"
7420
- | "SingleSelect"
7421
- | "MultiSelect";
7422
-
7423
- export type CustomFieldPermissionRoleEnum =
7424
- | "Borrower"
7425
- | "LoanOfficer"
7426
- | "Admin"
7427
- | "SuperAdmin"
7428
- | "Realtor"
7429
- | "SettlementAgent"
7430
- | "LoanProcessor"
7431
- | "LoanOfficerAssistant"
7432
- | "SystemAdmin";
7433
-
7434
- export type CustomFieldPermissionAccessLevelEnum =
7435
- | "NoAccess"
7436
- | "ReadOnly"
7437
- | "ReadWrite";
7438
-
7439
- export type CustomFieldPermissionRequestRoleEnum =
7440
- | "Borrower"
7441
- | "LoanOfficer"
7442
- | "Admin"
7443
- | "SuperAdmin"
7444
- | "Realtor"
7445
- | "SettlementAgent"
7446
- | "LoanProcessor"
7447
- | "LoanOfficerAssistant"
7448
- | "SystemAdmin";
7449
-
7450
- export type CustomFieldPermissionRequestAccessLevelEnum =
7451
- | "NoAccess"
7452
- | "ReadOnly"
7453
- | "ReadWrite";
7454
-
7455
- export type CustomFieldValueDataTypeEnum =
7456
- | "String"
7457
- | "Number"
7458
- | "Decimal"
7459
- | "Boolean"
7460
- | "Date"
7461
- | "SingleSelect"
7462
- | "MultiSelect";
7463
-
7464
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
7465
-
7466
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
7467
-
7468
- export type EncompassCredentialsDetailEncompassEnvironmentEnum =
7469
- | "Production"
7470
- | "UAT";
7471
-
7472
- export type EncompassCredentialsDetailSigningMethodEnum =
7473
- | "ConsumerConnect"
7474
- | "POSF";
7475
-
7476
- export type EncompassCredentialsRequestEncompassEnvironmentEnum =
7477
- | "Production"
7478
- | "UAT";
7479
-
7480
- export type EncompassCredentialsRequestSigningMethodEnum =
7481
- | "ConsumerConnect"
7482
- | "POSF";
7483
-
7484
- export type EncompassRequestLogOperationTypeEnum =
7485
- | "FieldUpdate"
7486
- | "ConsentUpdate"
7487
- | "DocumentSync"
7488
- | "MilestoneUpdate"
7489
- | "DocumentAttachment"
7490
- | "General"
7491
- | "FieldReader"
7492
- | "Read";
7493
-
7494
- export type EncompassRequestLogOutcomeEnum =
7495
- | "Success"
7496
- | "Failure"
7497
- | "PartialSuccess";
7498
-
7499
- export type FusionReportFilterFilterTypeEnum =
7500
- | "DateGreaterThanOrEqualTo"
7501
- | "DateGreaterThan"
7502
- | "DateLessThan"
7503
- | "DateLessThanOrEqualTo"
7504
- | "DateEquals"
7505
- | "DateDoesntEqual"
7506
- | "DateNonEmpty"
7507
- | "DateEmpty"
7508
- | "StringContains"
7509
- | "StringEquals"
7510
- | "StringNotEmpty"
7511
- | "StringNotEquals"
7512
- | "StringNotContains";
7513
-
7514
- export type GenerateSystemPromptRequestCategoryEnum =
7515
- | "DocumentAnalysis"
7516
- | "DataQuery"
7517
- | "General"
7518
- | "Action";
7519
-
7520
- export type IpAddressAddressFamilyEnum =
7521
- | "Unspecified"
7522
- | "Unix"
7523
- | "InterNetwork"
7524
- | "ImpLink"
7525
- | "Pup"
7526
- | "Chaos"
7527
- | "NS"
7528
- | "Ipx"
7529
- | "Iso"
7530
- | "Osi"
7531
- | "Ecma"
7532
- | "DataKit"
7533
- | "Ccitt"
7534
- | "Sna"
7535
- | "DecNet"
7536
- | "DataLink"
7537
- | "Lat"
7538
- | "HyperChannel"
7539
- | "AppleTalk"
7540
- | "NetBios"
7541
- | "VoiceView"
7542
- | "FireFox"
7543
- | "Banyan"
7544
- | "Atm"
7545
- | "InterNetworkV6"
7546
- | "Cluster"
7547
- | "Ieee12844"
7548
- | "Irda"
7549
- | "NetworkDesigners"
7550
- | "Max"
7551
- | "Packet"
7552
- | "ControllerAreaNetwork"
7553
- | "Unknown";
7554
-
7555
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
7556
-
7557
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7558
-
7559
- export type LoanContactRoleEnum =
7560
- | "Borrower"
7561
- | "CoBorrower"
7562
- | "NonBorrower"
7563
- | "LoanOfficer"
7564
- | "LoanProcessor"
7565
- | "LoanOfficerAssistant"
7566
- | "SupportingLoanOfficer"
7567
- | "BuyerAgent"
7568
- | "SellerAgent"
7569
- | "TitleInsuranceAgent"
7570
- | "EscrowAgent"
7571
- | "SettlementAgent"
7572
- | "Admin";
7573
-
7574
- export type LoanDocumentFolderPermissionRoleEnum =
7575
- | "Borrower"
7576
- | "CoBorrower"
7577
- | "NonBorrower"
7578
- | "LoanOfficer"
7579
- | "LoanProcessor"
7580
- | "LoanOfficerAssistant"
7581
- | "SupportingLoanOfficer"
7582
- | "BuyerAgent"
7583
- | "SellerAgent"
7584
- | "TitleInsuranceAgent"
7585
- | "EscrowAgent"
7586
- | "SettlementAgent"
7587
- | "Admin";
7588
-
7589
- export type LoanDocumentFolderPermissionLevelEnum =
7590
- | "None"
7591
- | "Read"
7592
- | "Write"
7593
- | "Manage";
7594
-
7595
- export type LoanDocumentFolderPermissionReadScopeEnum = "Own" | "All";
7596
-
7597
- export type LoanDocumentFolderPermissionRequestRoleEnum =
7598
- | "Borrower"
7599
- | "CoBorrower"
7600
- | "NonBorrower"
7601
- | "LoanOfficer"
7602
- | "LoanProcessor"
7603
- | "LoanOfficerAssistant"
7604
- | "SupportingLoanOfficer"
7605
- | "BuyerAgent"
7606
- | "SellerAgent"
7607
- | "TitleInsuranceAgent"
7608
- | "EscrowAgent"
7609
- | "SettlementAgent"
7610
- | "Admin";
7611
-
7612
- export type LoanDocumentFolderPermissionRequestLevelEnum =
7613
- | "None"
7614
- | "Read"
7615
- | "Write"
7616
- | "Manage";
7617
-
7618
- export type LoanDocumentFolderPermissionRequestReadScopeEnum = "Own" | "All";
7619
-
7620
- export type LoanImportStatusEnum =
7621
- | "WaitingProcess"
7622
- | "InProgress"
7623
- | "Completed"
7624
- | "Failed"
7625
- | "Cancelled";
7626
-
7627
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
7628
-
7629
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7630
-
7631
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7632
-
7633
- export type LoanLogTypeEnum =
7634
- | "Loan"
7635
- | "Queue"
7636
- | "POSFlagChanged"
7637
- | "Verification"
7638
- | "DocumentUploaded"
7639
- | "LoanCreated"
7640
- | "WorkflowSubmitted"
7641
- | "UserInvitationSent"
7642
- | "CoBorrowerAdded"
7643
- | "TaskCompleted"
7644
- | "LoanStatusChanged"
7645
- | "Consent"
7646
- | "SensitiveDataPurge"
7647
- | "ClosingDateUpdated"
7648
- | "ConsumerConnectAssociation"
7649
- | "TaskReminderSent"
7650
- | "DocumentClassified"
7651
- | "CoBorrowerEmailAutoFixed";
7652
-
7653
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
7654
-
7655
- export type LoanLogDetailTypeEnum =
7656
- | "Loan"
7657
- | "Queue"
7658
- | "POSFlagChanged"
7659
- | "Verification"
7660
- | "DocumentUploaded"
7661
- | "LoanCreated"
7662
- | "WorkflowSubmitted"
7663
- | "UserInvitationSent"
7664
- | "CoBorrowerAdded"
7665
- | "TaskCompleted"
7666
- | "LoanStatusChanged"
7667
- | "Consent"
7668
- | "SensitiveDataPurge"
7669
- | "ClosingDateUpdated"
7670
- | "ConsumerConnectAssociation"
7671
- | "TaskReminderSent"
7672
- | "DocumentClassified"
7673
- | "CoBorrowerEmailAutoFixed";
7674
-
7675
- export type LoanTaskStatusSummaryStatusEnum =
7676
- | "Outstanding"
7677
- | "Pending"
7678
- | "Completed"
7679
- | "Rejected"
7680
- | "Unknown";
7681
-
7682
- export type LoanUserLoanRoleEnum =
7683
- | "Borrower"
7684
- | "CoBorrower"
7685
- | "NonBorrower"
7686
- | "LoanOfficer"
7687
- | "LoanProcessor"
7688
- | "LoanOfficerAssistant"
7689
- | "SupportingLoanOfficer"
7690
- | "BuyerAgent"
7691
- | "SellerAgent"
7692
- | "TitleInsuranceAgent"
7693
- | "EscrowAgent"
7694
- | "SettlementAgent"
7695
- | "Admin";
7696
-
7697
- export type LosOperationTrackingStatusEnum =
7698
- | "Pending"
7699
- | "Success"
7700
- | "Failed"
7701
- | "ConfigurationError"
7702
- | "PermanentFailure"
7703
- | "Locked";
7704
-
7705
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
7706
-
7707
- export type ManualDocumentClassificationRequestDocumentTypeEnum =
7708
- | "W2"
7709
- | "Paystub"
7710
- | "Form1099"
7711
- | "Form1099Int"
7712
- | "Form1099Misc"
7713
- | "Form1099Nec"
7714
- | "Form1099R"
7715
- | "Form1099G"
7716
- | "Form1099Div"
7717
- | "Form1099Ssa"
7718
- | "FederalTaxReturn1040"
7719
- | "TaxReturnScheduleC"
7720
- | "TaxReturnScheduleD"
7721
- | "TaxReturnScheduleE"
7722
- | "Form1065"
7723
- | "Form1120"
7724
- | "Form1120S"
7725
- | "ProfitAndLossStatement"
7726
- | "VerificationOfEmployment"
7727
- | "BankStatement"
7728
- | "InvestmentStatement"
7729
- | "CreditCardStatement"
7730
- | "MortgageStatement"
7731
- | "PayoffStatement"
7732
- | "HoaDocuments"
7733
- | "UtilityBill"
7734
- | "IdentityDocument"
7735
- | "DemographicAddendum"
7736
- | "Ssa89"
7737
- | "Vba260551"
7738
- | "Hud92900B"
7739
- | "Check"
7740
- | "Invoice"
7741
- | "Receipt"
7742
- | "LoanApplication1003"
7743
- | "UnderwritingTransmittal1008"
7744
- | "Other"
7745
- | "SalesContract"
7746
- | "TitleCommitment"
7747
- | "DriversLicense"
7748
- | "VerificationOfIncome"
7749
- | "VerificationOfAssets"
7750
- | "FloodCertificate"
7751
- | "FraudReport"
7752
- | "AddendumToSalesContract"
7753
- | "GiftLetter"
7754
- | "CpaLetter"
7755
- | "TaxBill"
7756
- | "CondoQuestionnaire"
7757
- | "CondoBudget"
7758
- | "CondoBylaws"
7759
- | "RentalAgreements"
7760
- | "Lease"
7761
- | "HazardInsurance"
7762
- | "VaCertificateOfEligibility"
7763
- | "Appraisal"
7764
- | "CreditReport"
7765
- | "CondoMasterPolicy";
7766
-
7767
- export type SiteConfigurationTypeEnum =
7768
- | "None"
7769
- | "Account"
7770
- | "Corporate"
7771
- | "Branch"
7772
- | "LoanOfficer"
7773
- | "Partner";
7774
-
7775
- export type SiteConfigurationByUrlTypeEnum =
7776
- | "None"
7777
- | "Account"
7778
- | "Corporate"
7779
- | "Branch"
7780
- | "LoanOfficer"
7781
- | "Partner";
7782
-
7783
- export type SiteConfigurationReducedTypeEnum =
7784
- | "None"
7785
- | "Account"
7786
- | "Corporate"
7787
- | "Branch"
7788
- | "LoanOfficer"
7789
- | "Partner";
7790
-
7791
- export type SiteConfigurationRequestTypeEnum =
7792
- | "None"
7793
- | "Account"
7794
- | "Corporate"
7795
- | "Branch"
7796
- | "LoanOfficer"
7797
- | "Partner";
7798
-
7799
- export type SiteConfigurationSummaryTypeEnum =
7800
- | "None"
7801
- | "Account"
7802
- | "Corporate"
7803
- | "Branch"
7804
- | "LoanOfficer"
7805
- | "Partner";
7806
-
7807
- export type SiteTileLinkTargetEnum = "Self" | "Blank";
7808
-
7809
- export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
7810
-
7811
- export type SiteTileLocationAudienceRequestLocationEnum =
7812
- | "HomePage"
7813
- | "Dashboard";
7814
-
7815
- export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
7816
-
7817
- export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7818
-
7819
- export type UnregisteredBorrowerRoleEnum =
7820
- | "Borrower"
7821
- | "CoBorrower"
7822
- | "NonBorrower"
7823
- | "LoanOfficer"
7824
- | "LoanProcessor"
7825
- | "LoanOfficerAssistant"
7826
- | "SupportingLoanOfficer"
7827
- | "BuyerAgent"
7828
- | "SellerAgent"
7829
- | "TitleInsuranceAgent"
7830
- | "EscrowAgent"
7831
- | "SettlementAgent"
7832
- | "Admin";
7833
-
7834
- export type UpdateAiGuardrailRequestCategoryEnum =
7835
- | "ContentSafety"
7836
- | "PromptInjection"
7837
- | "Privacy"
7838
- | "Legal";
7839
-
7840
- export type UpdateAiUrlSourceRequestCategoryEnum =
7841
- | "Regulatory"
7842
- | "Guidelines"
7843
- | "MarketData"
7844
- | "Custom";
7845
-
7846
- export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7847
-
7848
- export type UserDraftRoleEnum =
7849
- | "Borrower"
7850
- | "CoBorrower"
7851
- | "NonBorrower"
7852
- | "LoanOfficer"
7853
- | "LoanProcessor"
7854
- | "LoanOfficerAssistant"
7855
- | "SupportingLoanOfficer"
7856
- | "BuyerAgent"
7857
- | "SellerAgent"
7858
- | "TitleInsuranceAgent"
7859
- | "EscrowAgent"
7860
- | "SettlementAgent"
7861
- | "Admin";
7862
-
7863
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7864
-
7865
- export type UserGroupMemberUserSummaryRoleEnum =
7866
- | "Borrower"
7867
- | "LoanOfficer"
7868
- | "Admin"
7869
- | "SuperAdmin"
7870
- | "Realtor"
7871
- | "SettlementAgent"
7872
- | "LoanProcessor"
7873
- | "LoanOfficerAssistant"
7874
- | "SystemAdmin";
7875
-
7876
- export type UserLoanRoleEnum =
7877
- | "Borrower"
7878
- | "CoBorrower"
7879
- | "NonBorrower"
7880
- | "LoanOfficer"
7881
- | "LoanProcessor"
7882
- | "LoanOfficerAssistant"
7883
- | "SupportingLoanOfficer"
7884
- | "BuyerAgent"
7885
- | "SellerAgent"
7886
- | "TitleInsuranceAgent"
7887
- | "EscrowAgent"
7888
- | "SettlementAgent"
7889
- | "Admin";
7890
-
7891
- export type UserLoanConsentTypeEnum =
7892
- | "Econsent"
7893
- | "CreditAuthorization"
7894
- | "Tcpa";
7895
-
7896
- export type UserLoanConsentLosSyncStatusEnum =
7897
- | "NotStarted"
7898
- | "Failed"
7899
- | "Success";
7900
-
7901
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7902
-
7903
- /** @default "Realtor" */
7904
- export type GetPartnersParamsRoleEnum =
7905
- | "Borrower"
7906
- | "LoanOfficer"
7907
- | "Admin"
7908
- | "SuperAdmin"
7909
- | "Realtor"
7910
- | "SettlementAgent"
7911
- | "LoanProcessor"
7912
- | "LoanOfficerAssistant"
7913
- | "SystemAdmin";
7914
-
7915
- export type GetSamlMetadataParamsSSoIntegrationEnum =
7916
- | "ConsumerConnect"
7917
- | "TheBigPOS"
7918
- | "POSF";
7919
-
7920
- export type GetSamlMetadataParamsEnum =
7921
- | "ConsumerConnect"
7922
- | "TheBigPOS"
7923
- | "POSF";
7924
-
7925
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
7926
- | "ConsumerConnect"
7927
- | "TheBigPOS"
7928
- | "POSF";
7929
-
7930
- export type CreateOrReplaceSamlMetadataParamsEnum =
7931
- | "ConsumerConnect"
7932
- | "TheBigPOS"
7933
- | "POSF";
7934
-
7935
- export type GetSiteTilesBySiteConfigurationParamsLocationEnum =
7936
- | "HomePage"
7937
- | "Dashboard";
7938
-
7939
- import type {
7940
- AxiosInstance,
7941
- AxiosRequestConfig,
7942
- AxiosResponse,
7943
- HeadersDefaults,
7944
- ResponseType,
7945
- } from "axios";
7946
- import axios from "axios";
7947
-
7948
- export type QueryParamsType = Record<string | number, any>;
7949
-
7950
- export interface FullRequestParams
7951
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
7952
- /** set parameter to `true` for call `securityWorker` for this request */
7953
- secure?: boolean;
7954
- /** request path */
7955
- path: string;
7956
- /** content type of request body */
7957
- type?: ContentType;
7958
- /** query params */
7959
- query?: QueryParamsType;
7960
- /** format of response (i.e. response.json() -> format: "json") */
7961
- format?: ResponseType;
7962
- /** request body */
7963
- body?: unknown;
7964
- }
7965
-
7966
- export type RequestParams = Omit<
7967
- FullRequestParams,
7968
- "body" | "method" | "query" | "path"
7969
- >;
7970
-
7971
- export interface ApiConfig<SecurityDataType = unknown>
7972
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
7973
- securityWorker?: (
7974
- securityData: SecurityDataType | null,
7975
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
7976
- secure?: boolean;
7977
- format?: ResponseType;
7978
- }
7979
-
7980
- export type ContentType =
7981
- | "application/json"
7982
- | "application/vnd.api+json"
7983
- | "multipart/form-data"
7984
- | "application/x-www-form-urlencoded"
7985
- | "text/plain";
7986
-
7987
- export class HttpClient<SecurityDataType = unknown> {
7988
- public instance: AxiosInstance;
7989
- private securityData: SecurityDataType | null = null;
7990
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
7991
- private secure?: boolean;
7992
- private format?: ResponseType;
7993
-
7994
- constructor({
7995
- securityWorker,
7996
- secure,
7997
- format,
7998
- ...axiosConfig
7999
- }: ApiConfig<SecurityDataType> = {}) {
8000
- this.instance = axios.create({
8001
- ...axiosConfig,
8002
- baseURL: axiosConfig.baseURL || "",
8003
- });
8004
- this.secure = secure;
8005
- this.format = format;
8006
- this.securityWorker = securityWorker;
8007
- }
7861
+ constructor({
7862
+ securityWorker,
7863
+ secure,
7864
+ format,
7865
+ ...axiosConfig
7866
+ }: ApiConfig<SecurityDataType> = {}) {
7867
+ this.instance = axios.create({
7868
+ ...axiosConfig,
7869
+ baseURL: axiosConfig.baseURL || "",
7870
+ });
7871
+ this.secure = secure;
7872
+ this.format = format;
7873
+ this.securityWorker = securityWorker;
7874
+ }
8008
7875
 
8009
7876
  public setSecurityData = (data: SecurityDataType | null) => {
8010
7877
  this.securityData = data;
@@ -8079,7 +7946,7 @@ export class HttpClient<SecurityDataType = unknown> {
8079
7946
  const responseFormat = format || this.format || undefined;
8080
7947
 
8081
7948
  if (
8082
- type === "multipart/form-data" &&
7949
+ type === ContentType.FormData &&
8083
7950
  body &&
8084
7951
  body !== null &&
8085
7952
  typeof body === "object"
@@ -8088,7 +7955,7 @@ export class HttpClient<SecurityDataType = unknown> {
8088
7955
  }
8089
7956
 
8090
7957
  if (
8091
- type === "text/plain" &&
7958
+ type === ContentType.Text &&
8092
7959
  body &&
8093
7960
  body !== null &&
8094
7961
  typeof body !== "string"
@@ -8112,7 +7979,7 @@ export class HttpClient<SecurityDataType = unknown> {
8112
7979
 
8113
7980
  /**
8114
7981
  * @title The Big POS API
8115
- * @version v2.49.0
7982
+ * @version v2.49.3
8116
7983
  * @termsOfService https://www.thebigpos.com/terms-of-use/
8117
7984
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
8118
7985
  */
@@ -8195,7 +8062,7 @@ export class Api<
8195
8062
  method: "PUT",
8196
8063
  body: data,
8197
8064
  secure: true,
8198
- type: "application/json",
8065
+ type: ContentType.Json,
8199
8066
  format: "json",
8200
8067
  ...params,
8201
8068
  }),
@@ -8235,59 +8102,12 @@ export class Api<
8235
8102
  params: RequestParams = {},
8236
8103
  ) =>
8237
8104
  this.request<SiteConfiguration, UnprocessableEntity>({
8238
- path: `/api/account/site-configurations`,
8239
- method: "PUT",
8240
- body: data,
8241
- secure: true,
8242
- type: "application/json",
8243
- format: "json",
8244
- ...params,
8245
- }),
8246
-
8247
- /**
8248
- * No description
8249
- *
8250
- * @tags AccountReactivation
8251
- * @name RequestAccountReactivation
8252
- * @summary Request account reactivation
8253
- * @request POST:/api/account/reactivation/request
8254
- * @secure
8255
- * @response `204` `void` No Content
8256
- */
8257
- requestAccountReactivation: (
8258
- data: AccountReactivationRequest,
8259
- params: RequestParams = {},
8260
- ) =>
8261
- this.request<void, any>({
8262
- path: `/api/account/reactivation/request`,
8263
- method: "POST",
8264
- body: data,
8265
- secure: true,
8266
- type: "application/json",
8267
- ...params,
8268
- }),
8269
-
8270
- /**
8271
- * No description
8272
- *
8273
- * @tags AccountReactivation
8274
- * @name CompleteAccountReactivation
8275
- * @summary Complete account reactivation with new password
8276
- * @request POST:/api/account/reactivation/complete
8277
- * @secure
8278
- * @response `204` `void` No Content
8279
- * @response `400` `ProblemDetails` Bad Request
8280
- */
8281
- completeAccountReactivation: (
8282
- data: AccountReactivationCompleteRequest,
8283
- params: RequestParams = {},
8284
- ) =>
8285
- this.request<void, ProblemDetails>({
8286
- path: `/api/account/reactivation/complete`,
8287
- method: "POST",
8105
+ path: `/api/account/site-configurations`,
8106
+ method: "PUT",
8288
8107
  body: data,
8289
8108
  secure: true,
8290
- type: "application/json",
8109
+ type: ContentType.Json,
8110
+ format: "json",
8291
8111
  ...params,
8292
8112
  }),
8293
8113
 
@@ -8327,7 +8147,7 @@ export class Api<
8327
8147
  method: "POST",
8328
8148
  body: data,
8329
8149
  secure: true,
8330
- type: "application/json",
8150
+ type: ContentType.Json,
8331
8151
  format: "json",
8332
8152
  ...params,
8333
8153
  }),
@@ -8403,7 +8223,7 @@ export class Api<
8403
8223
  method: "PUT",
8404
8224
  body: data,
8405
8225
  secure: true,
8406
- type: "application/json",
8226
+ type: ContentType.Json,
8407
8227
  format: "json",
8408
8228
  ...params,
8409
8229
  }),
@@ -8466,7 +8286,7 @@ export class Api<
8466
8286
  method: "PUT",
8467
8287
  body: data,
8468
8288
  secure: true,
8469
- type: "application/json",
8289
+ type: ContentType.Json,
8470
8290
  ...params,
8471
8291
  }),
8472
8292
 
@@ -8509,7 +8329,7 @@ export class Api<
8509
8329
  method: "PUT",
8510
8330
  body: data,
8511
8331
  secure: true,
8512
- type: "application/json",
8332
+ type: ContentType.Json,
8513
8333
  format: "json",
8514
8334
  ...params,
8515
8335
  }),
@@ -8550,7 +8370,7 @@ export class Api<
8550
8370
  method: "POST",
8551
8371
  body: data,
8552
8372
  secure: true,
8553
- type: "application/json",
8373
+ type: ContentType.Json,
8554
8374
  format: "json",
8555
8375
  ...params,
8556
8376
  }),
@@ -8597,7 +8417,7 @@ export class Api<
8597
8417
  method: "PUT",
8598
8418
  body: data,
8599
8419
  secure: true,
8600
- type: "application/json",
8420
+ type: ContentType.Json,
8601
8421
  format: "json",
8602
8422
  ...params,
8603
8423
  }),
@@ -8663,7 +8483,7 @@ export class Api<
8663
8483
  method: "PUT",
8664
8484
  body: data,
8665
8485
  secure: true,
8666
- type: "application/json",
8486
+ type: ContentType.Json,
8667
8487
  format: "json",
8668
8488
  ...params,
8669
8489
  }),
@@ -8708,7 +8528,7 @@ export class Api<
8708
8528
  method: "POST",
8709
8529
  body: data,
8710
8530
  secure: true,
8711
- type: "application/json",
8531
+ type: ContentType.JsonPatch,
8712
8532
  format: "json",
8713
8533
  ...params,
8714
8534
  }),
@@ -8771,7 +8591,7 @@ export class Api<
8771
8591
  method: "PUT",
8772
8592
  body: data,
8773
8593
  secure: true,
8774
- type: "application/json",
8594
+ type: ContentType.Json,
8775
8595
  format: "json",
8776
8596
  ...params,
8777
8597
  }),
@@ -8993,7 +8813,7 @@ export class Api<
8993
8813
  method: "POST",
8994
8814
  body: data,
8995
8815
  secure: true,
8996
- type: "application/json",
8816
+ type: ContentType.Json,
8997
8817
  format: "json",
8998
8818
  ...params,
8999
8819
  }),
@@ -9040,7 +8860,7 @@ export class Api<
9040
8860
  method: "PUT",
9041
8861
  body: data,
9042
8862
  secure: true,
9043
- type: "application/json",
8863
+ type: ContentType.Json,
9044
8864
  format: "json",
9045
8865
  ...params,
9046
8866
  }),
@@ -9103,7 +8923,7 @@ export class Api<
9103
8923
  method: "POST",
9104
8924
  body: data,
9105
8925
  secure: true,
9106
- type: "application/json",
8926
+ type: ContentType.JsonPatch,
9107
8927
  format: "json",
9108
8928
  ...params,
9109
8929
  }),
@@ -9184,7 +9004,7 @@ export class Api<
9184
9004
  method: "PATCH",
9185
9005
  body: data,
9186
9006
  secure: true,
9187
- type: "application/json",
9007
+ type: ContentType.JsonPatch,
9188
9008
  format: "json",
9189
9009
  ...params,
9190
9010
  }),
@@ -9284,7 +9104,7 @@ export class Api<
9284
9104
  method: "PUT",
9285
9105
  body: data,
9286
9106
  secure: true,
9287
- type: "application/json",
9107
+ type: ContentType.Json,
9288
9108
  format: "json",
9289
9109
  ...params,
9290
9110
  }),
@@ -9412,7 +9232,7 @@ export class Api<
9412
9232
  method: "POST",
9413
9233
  body: data,
9414
9234
  secure: true,
9415
- type: "application/json",
9235
+ type: ContentType.Json,
9416
9236
  format: "json",
9417
9237
  ...params,
9418
9238
  }),
@@ -9459,7 +9279,7 @@ export class Api<
9459
9279
  method: "PUT",
9460
9280
  body: data,
9461
9281
  secure: true,
9462
- type: "application/json",
9282
+ type: ContentType.Json,
9463
9283
  format: "json",
9464
9284
  ...params,
9465
9285
  }),
@@ -9557,7 +9377,7 @@ export class Api<
9557
9377
  query: query,
9558
9378
  body: data,
9559
9379
  secure: true,
9560
- type: "application/json",
9380
+ type: ContentType.JsonPatch,
9561
9381
  format: "json",
9562
9382
  ...params,
9563
9383
  }),
@@ -9633,7 +9453,7 @@ export class Api<
9633
9453
  method: "PUT",
9634
9454
  body: data,
9635
9455
  secure: true,
9636
- type: "application/json",
9456
+ type: ContentType.Json,
9637
9457
  format: "json",
9638
9458
  ...params,
9639
9459
  }),
@@ -9678,7 +9498,7 @@ export class Api<
9678
9498
  method: "POST",
9679
9499
  body: data,
9680
9500
  secure: true,
9681
- type: "application/json",
9501
+ type: ContentType.Json,
9682
9502
  format: "json",
9683
9503
  ...params,
9684
9504
  }),
@@ -9726,7 +9546,7 @@ export class Api<
9726
9546
  method: "PUT",
9727
9547
  body: data,
9728
9548
  secure: true,
9729
- type: "application/json",
9549
+ type: ContentType.Json,
9730
9550
  format: "json",
9731
9551
  ...params,
9732
9552
  }),
@@ -9847,7 +9667,7 @@ export class Api<
9847
9667
  query: query,
9848
9668
  body: data,
9849
9669
  secure: true,
9850
- type: "application/json",
9670
+ type: ContentType.JsonPatch,
9851
9671
  format: "json",
9852
9672
  ...params,
9853
9673
  }),
@@ -9911,7 +9731,7 @@ export class Api<
9911
9731
  method: "POST",
9912
9732
  body: data,
9913
9733
  secure: true,
9914
- type: "application/json",
9734
+ type: ContentType.Json,
9915
9735
  ...params,
9916
9736
  }),
9917
9737
 
@@ -9935,7 +9755,7 @@ export class Api<
9935
9755
  method: "POST",
9936
9756
  body: data,
9937
9757
  secure: true,
9938
- type: "application/json",
9758
+ type: ContentType.Json,
9939
9759
  ...params,
9940
9760
  }),
9941
9761
 
@@ -9956,7 +9776,7 @@ export class Api<
9956
9776
  method: "POST",
9957
9777
  body: data,
9958
9778
  secure: true,
9959
- type: "application/json",
9779
+ type: ContentType.Json,
9960
9780
  ...params,
9961
9781
  }),
9962
9782
 
@@ -9995,7 +9815,7 @@ export class Api<
9995
9815
  method: "POST",
9996
9816
  body: data,
9997
9817
  secure: true,
9998
- type: "application/json",
9818
+ type: ContentType.Json,
9999
9819
  ...params,
10000
9820
  }),
10001
9821
 
@@ -10020,7 +9840,7 @@ export class Api<
10020
9840
  method: "POST",
10021
9841
  body: data,
10022
9842
  secure: true,
10023
- type: "application/json",
9843
+ type: ContentType.Json,
10024
9844
  format: "json",
10025
9845
  ...params,
10026
9846
  }),
@@ -10033,16 +9853,16 @@ export class Api<
10033
9853
  * @summary Get Token
10034
9854
  * @request POST:/api/token
10035
9855
  * @secure
10036
- * @response `200` `AccountDeactivated` OK
9856
+ * @response `200` `UserDeactivated` OK
10037
9857
  * @response `422` `UnprocessableEntity` Unprocessable Content
10038
9858
  */
10039
9859
  getToken: (data: TokenRequest, params: RequestParams = {}) =>
10040
- this.request<AccountDeactivated, UnprocessableEntity>({
9860
+ this.request<UserDeactivated, UnprocessableEntity>({
10041
9861
  path: `/api/token`,
10042
9862
  method: "POST",
10043
9863
  body: data,
10044
9864
  secure: true,
10045
- type: "application/json",
9865
+ type: ContentType.Json,
10046
9866
  format: "json",
10047
9867
  ...params,
10048
9868
  }),
@@ -10055,19 +9875,19 @@ export class Api<
10055
9875
  * @summary Get Token From Challenge Code
10056
9876
  * @request POST:/api/token/code
10057
9877
  * @secure
10058
- * @response `200` `AccountDeactivated` OK
9878
+ * @response `200` `UserDeactivated` OK
10059
9879
  * @response `422` `UnprocessableEntity` Unprocessable Content
10060
9880
  */
10061
9881
  getTokenFromChallengeCode: (
10062
9882
  data: TokenChallengeRequest,
10063
9883
  params: RequestParams = {},
10064
9884
  ) =>
10065
- this.request<AccountDeactivated, UnprocessableEntity>({
9885
+ this.request<UserDeactivated, UnprocessableEntity>({
10066
9886
  path: `/api/token/code`,
10067
9887
  method: "POST",
10068
9888
  body: data,
10069
9889
  secure: true,
10070
- type: "application/json",
9890
+ type: ContentType.Json,
10071
9891
  format: "json",
10072
9892
  ...params,
10073
9893
  }),
@@ -10089,7 +9909,7 @@ export class Api<
10089
9909
  method: "POST",
10090
9910
  body: data,
10091
9911
  secure: true,
10092
- type: "application/json",
9912
+ type: ContentType.Json,
10093
9913
  format: "json",
10094
9914
  ...params,
10095
9915
  }),
@@ -10111,7 +9931,7 @@ export class Api<
10111
9931
  method: "POST",
10112
9932
  body: data,
10113
9933
  secure: true,
10114
- type: "application/json",
9934
+ type: ContentType.Json,
10115
9935
  format: "json",
10116
9936
  ...params,
10117
9937
  }),
@@ -10184,7 +10004,7 @@ export class Api<
10184
10004
  method: "POST",
10185
10005
  body: data,
10186
10006
  secure: true,
10187
- type: "application/json",
10007
+ type: ContentType.Json,
10188
10008
  format: "json",
10189
10009
  ...params,
10190
10010
  }),
@@ -10217,7 +10037,7 @@ export class Api<
10217
10037
  query: query,
10218
10038
  body: data,
10219
10039
  secure: true,
10220
- type: "application/json",
10040
+ type: ContentType.Json,
10221
10041
  format: "json",
10222
10042
  ...params,
10223
10043
  }),
@@ -10262,7 +10082,7 @@ export class Api<
10262
10082
  method: "PUT",
10263
10083
  body: data,
10264
10084
  secure: true,
10265
- type: "application/json",
10085
+ type: ContentType.Json,
10266
10086
  format: "json",
10267
10087
  ...params,
10268
10088
  }),
@@ -10325,7 +10145,7 @@ export class Api<
10325
10145
  method: "POST",
10326
10146
  body: data,
10327
10147
  secure: true,
10328
- type: "application/json",
10148
+ type: ContentType.Json,
10329
10149
  format: "json",
10330
10150
  ...params,
10331
10151
  }),
@@ -10379,7 +10199,7 @@ export class Api<
10379
10199
  query: query,
10380
10200
  body: data,
10381
10201
  secure: true,
10382
- type: "application/json",
10202
+ type: ContentType.Json,
10383
10203
  format: "json",
10384
10204
  ...params,
10385
10205
  }),
@@ -10448,7 +10268,7 @@ export class Api<
10448
10268
  method: "POST",
10449
10269
  body: data,
10450
10270
  secure: true,
10451
- type: "application/json",
10271
+ type: ContentType.Json,
10452
10272
  format: "json",
10453
10273
  ...params,
10454
10274
  }),
@@ -10493,7 +10313,7 @@ export class Api<
10493
10313
  method: "PUT",
10494
10314
  body: data,
10495
10315
  secure: true,
10496
- type: "application/json",
10316
+ type: ContentType.Json,
10497
10317
  format: "json",
10498
10318
  ...params,
10499
10319
  }),
@@ -10554,7 +10374,7 @@ export class Api<
10554
10374
  method: "POST",
10555
10375
  body: data,
10556
10376
  secure: true,
10557
- type: "application/json",
10377
+ type: ContentType.Json,
10558
10378
  format: "json",
10559
10379
  ...params,
10560
10380
  }),
@@ -10599,7 +10419,7 @@ export class Api<
10599
10419
  method: "POST",
10600
10420
  body: data,
10601
10421
  secure: true,
10602
- type: "application/json",
10422
+ type: ContentType.Json,
10603
10423
  format: "json",
10604
10424
  ...params,
10605
10425
  }),
@@ -10647,7 +10467,7 @@ export class Api<
10647
10467
  method: "PUT",
10648
10468
  body: data,
10649
10469
  secure: true,
10650
- type: "application/json",
10470
+ type: ContentType.Json,
10651
10471
  format: "json",
10652
10472
  ...params,
10653
10473
  }),
@@ -10702,7 +10522,7 @@ export class Api<
10702
10522
  query: query,
10703
10523
  body: data,
10704
10524
  secure: true,
10705
- type: "application/json",
10525
+ type: ContentType.Json,
10706
10526
  format: "json",
10707
10527
  ...params,
10708
10528
  }),
@@ -10718,10 +10538,18 @@ export class Api<
10718
10538
  * @response `200` `CompanyDocument` OK
10719
10539
  * @response `404` `ProblemDetails` Not Found
10720
10540
  */
10721
- getCompanyDocument: (id: string, params: RequestParams = {}) =>
10541
+ getCompanyDocument: (
10542
+ id: string,
10543
+ query?: {
10544
+ /** @default false */
10545
+ preview?: boolean;
10546
+ },
10547
+ params: RequestParams = {},
10548
+ ) =>
10722
10549
  this.request<CompanyDocument, ProblemDetails>({
10723
10550
  path: `/api/company-documents/${id}`,
10724
10551
  method: "GET",
10552
+ query: query,
10725
10553
  secure: true,
10726
10554
  format: "json",
10727
10555
  ...params,
@@ -10750,7 +10578,7 @@ export class Api<
10750
10578
  method: "PUT",
10751
10579
  body: data,
10752
10580
  secure: true,
10753
- type: "application/json",
10581
+ type: ContentType.Json,
10754
10582
  format: "json",
10755
10583
  ...params,
10756
10584
  }),
@@ -10774,6 +10602,31 @@ export class Api<
10774
10602
  ...params,
10775
10603
  }),
10776
10604
 
10605
+ /**
10606
+ * No description
10607
+ *
10608
+ * @tags CompanyDocuments
10609
+ * @name GetCompanyDocumentPreviews
10610
+ * @summary Get company document previews in batch
10611
+ * @request POST:/api/company-documents/previews
10612
+ * @secure
10613
+ * @response `200` `Record<string,string>` OK
10614
+ * @response `400` `ProblemDetails` Bad Request
10615
+ */
10616
+ getCompanyDocumentPreviews: (
10617
+ data: CompanyDocumentPreviewsRequest,
10618
+ params: RequestParams = {},
10619
+ ) =>
10620
+ this.request<Record<string, string>, ProblemDetails>({
10621
+ path: `/api/company-documents/previews`,
10622
+ method: "POST",
10623
+ body: data,
10624
+ secure: true,
10625
+ type: ContentType.Json,
10626
+ format: "json",
10627
+ ...params,
10628
+ }),
10629
+
10777
10630
  /**
10778
10631
  * No description
10779
10632
  *
@@ -10821,7 +10674,7 @@ export class Api<
10821
10674
  method: "POST",
10822
10675
  body: data,
10823
10676
  secure: true,
10824
- type: "multipart/form-data",
10677
+ type: ContentType.FormData,
10825
10678
  format: "json",
10826
10679
  ...params,
10827
10680
  }),
@@ -10848,7 +10701,7 @@ export class Api<
10848
10701
  method: "POST",
10849
10702
  body: data,
10850
10703
  secure: true,
10851
- type: "application/json",
10704
+ type: ContentType.Json,
10852
10705
  format: "json",
10853
10706
  ...params,
10854
10707
  }),
@@ -10968,7 +10821,7 @@ export class Api<
10968
10821
  method: "POST",
10969
10822
  body: data,
10970
10823
  secure: true,
10971
- type: "application/json",
10824
+ type: ContentType.Json,
10972
10825
  format: "json",
10973
10826
  ...params,
10974
10827
  }),
@@ -11001,7 +10854,7 @@ export class Api<
11001
10854
  query: query,
11002
10855
  body: data,
11003
10856
  secure: true,
11004
- type: "application/json",
10857
+ type: ContentType.Json,
11005
10858
  format: "json",
11006
10859
  ...params,
11007
10860
  }),
@@ -11046,7 +10899,7 @@ export class Api<
11046
10899
  method: "PUT",
11047
10900
  body: data,
11048
10901
  secure: true,
11049
- type: "application/json",
10902
+ type: ContentType.Json,
11050
10903
  format: "json",
11051
10904
  ...params,
11052
10905
  }),
@@ -11108,7 +10961,7 @@ export class Api<
11108
10961
  method: "POST",
11109
10962
  body: data,
11110
10963
  secure: true,
11111
- type: "application/json",
10964
+ type: ContentType.Json,
11112
10965
  format: "json",
11113
10966
  ...params,
11114
10967
  }),
@@ -11162,7 +11015,7 @@ export class Api<
11162
11015
  query: query,
11163
11016
  body: data,
11164
11017
  secure: true,
11165
- type: "application/json",
11018
+ type: ContentType.Json,
11166
11019
  format: "json",
11167
11020
  ...params,
11168
11021
  }),
@@ -11217,7 +11070,7 @@ export class Api<
11217
11070
  */
11218
11071
  getCustomFieldDefinitions: (
11219
11072
  query?: {
11220
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
11073
+ entityType?: "Loan";
11221
11074
  },
11222
11075
  params: RequestParams = {},
11223
11076
  ) =>
@@ -11251,7 +11104,7 @@ export class Api<
11251
11104
  method: "POST",
11252
11105
  body: data,
11253
11106
  secure: true,
11254
- type: "application/json",
11107
+ type: ContentType.Json,
11255
11108
  format: "json",
11256
11109
  ...params,
11257
11110
  }),
@@ -11300,7 +11153,7 @@ export class Api<
11300
11153
  method: "PUT",
11301
11154
  body: data,
11302
11155
  secure: true,
11303
- type: "application/json",
11156
+ type: ContentType.Json,
11304
11157
  format: "json",
11305
11158
  ...params,
11306
11159
  }),
@@ -11434,7 +11287,7 @@ export class Api<
11434
11287
  method: "PUT",
11435
11288
  body: data,
11436
11289
  secure: true,
11437
- type: "application/json",
11290
+ type: ContentType.Json,
11438
11291
  format: "json",
11439
11292
  ...params,
11440
11293
  }),
@@ -11554,7 +11407,7 @@ export class Api<
11554
11407
  method: "POST",
11555
11408
  body: data,
11556
11409
  secure: true,
11557
- type: "application/json",
11410
+ type: ContentType.Json,
11558
11411
  format: "json",
11559
11412
  ...params,
11560
11413
  }),
@@ -11631,7 +11484,7 @@ export class Api<
11631
11484
  method: "PUT",
11632
11485
  body: data,
11633
11486
  secure: true,
11634
- type: "application/json",
11487
+ type: ContentType.Json,
11635
11488
  format: "json",
11636
11489
  ...params,
11637
11490
  }),
@@ -11718,7 +11571,7 @@ export class Api<
11718
11571
  method: "POST",
11719
11572
  body: data,
11720
11573
  secure: true,
11721
- type: "application/json",
11574
+ type: ContentType.Json,
11722
11575
  format: "json",
11723
11576
  ...params,
11724
11577
  }),
@@ -11767,7 +11620,7 @@ export class Api<
11767
11620
  method: "PUT",
11768
11621
  body: data,
11769
11622
  secure: true,
11770
- type: "application/json",
11623
+ type: ContentType.Json,
11771
11624
  format: "json",
11772
11625
  ...params,
11773
11626
  }),
@@ -11842,7 +11695,7 @@ export class Api<
11842
11695
  method: "POST",
11843
11696
  body: data,
11844
11697
  secure: true,
11845
- type: "application/json",
11698
+ type: ContentType.Json,
11846
11699
  format: "json",
11847
11700
  ...params,
11848
11701
  }),
@@ -12059,11 +11912,288 @@ export class Api<
12059
11912
  method: "POST",
12060
11913
  body: data,
12061
11914
  secure: true,
12062
- type: "application/json",
11915
+ type: ContentType.Json,
11916
+ format: "json",
11917
+ ...params,
11918
+ }),
11919
+
11920
+ /**
11921
+ * No description
11922
+ *
11923
+ * @tags EncompassIntegrations
11924
+ * @name SearchEncompassIntegrations
11925
+ * @summary Search registered Encompass integrations across accounts (SuperAdmin)
11926
+ * @request POST:/api/monitoring/encompass-integrations/search
11927
+ * @secure
11928
+ * @response `200` `LosIntegrationPaginated` OK
11929
+ * @response `400` `ProblemDetails` Bad Request
11930
+ * @response `401` `ProblemDetails` Unauthorized
11931
+ * @response `403` `ProblemDetails` Forbidden
11932
+ */
11933
+ searchEncompassIntegrations: (
11934
+ data: LosIntegrationsSearchCriteria,
11935
+ query?: {
11936
+ /** @format int32 */
11937
+ pageSize?: number;
11938
+ /** @format int32 */
11939
+ pageNumber?: number;
11940
+ sortBy?: string;
11941
+ sortDirection?: string;
11942
+ /** @format uuid */
11943
+ accountId?: string;
11944
+ },
11945
+ params: RequestParams = {},
11946
+ ) =>
11947
+ this.request<LosIntegrationPaginated, ProblemDetails>({
11948
+ path: `/api/monitoring/encompass-integrations/search`,
11949
+ method: "POST",
11950
+ query: query,
11951
+ body: data,
11952
+ secure: true,
11953
+ type: ContentType.Json,
11954
+ format: "json",
11955
+ ...params,
11956
+ }),
11957
+
11958
+ /**
11959
+ * No description
11960
+ *
11961
+ * @tags EncompassIntegrations
11962
+ * @name GetEncompassIntegrationsSummary
11963
+ * @summary Summarize registered Encompass integration health across accounts (SuperAdmin)
11964
+ * @request POST:/api/monitoring/encompass-integrations/summary
11965
+ * @secure
11966
+ * @response `200` `LosIntegrationsSummary` OK
11967
+ * @response `401` `ProblemDetails` Unauthorized
11968
+ * @response `403` `ProblemDetails` Forbidden
11969
+ */
11970
+ getEncompassIntegrationsSummary: (
11971
+ data: LosIntegrationsSearchCriteria,
11972
+ query?: {
11973
+ /** @format uuid */
11974
+ accountId?: string;
11975
+ },
11976
+ params: RequestParams = {},
11977
+ ) =>
11978
+ this.request<LosIntegrationsSummary, ProblemDetails>({
11979
+ path: `/api/monitoring/encompass-integrations/summary`,
11980
+ method: "POST",
11981
+ query: query,
11982
+ body: data,
11983
+ secure: true,
11984
+ type: ContentType.Json,
11985
+ format: "json",
11986
+ ...params,
11987
+ }),
11988
+
11989
+ /**
11990
+ * No description
11991
+ *
11992
+ * @tags EncompassIntegrations
11993
+ * @name GetEncompassIntegrationsHealth
11994
+ * @summary Get Encompass login health for a set of accounts (SuperAdmin)
11995
+ * @request POST:/api/monitoring/encompass-integrations/health
11996
+ * @secure
11997
+ * @response `200` `(LosCredentialHealth)[]` OK
11998
+ * @response `400` `ProblemDetails` Bad Request
11999
+ * @response `401` `ProblemDetails` Unauthorized
12000
+ * @response `403` `ProblemDetails` Forbidden
12001
+ */
12002
+ getEncompassIntegrationsHealth: (
12003
+ data: LosIntegrationsBatchRequest,
12004
+ params: RequestParams = {},
12005
+ ) =>
12006
+ this.request<LosCredentialHealth[], ProblemDetails>({
12007
+ path: `/api/monitoring/encompass-integrations/health`,
12008
+ method: "POST",
12009
+ body: data,
12010
+ secure: true,
12011
+ type: ContentType.Json,
12012
+ format: "json",
12013
+ ...params,
12014
+ }),
12015
+
12016
+ /**
12017
+ * No description
12018
+ *
12019
+ * @tags EncompassIntegrations
12020
+ * @name RecheckEncompassIntegrationHealth
12021
+ * @summary Force a fresh Encompass login health check for one account (SuperAdmin)
12022
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/health/recheck
12023
+ * @secure
12024
+ * @response `200` `LosCredentialHealth` OK
12025
+ * @response `401` `ProblemDetails` Unauthorized
12026
+ * @response `403` `ProblemDetails` Forbidden
12027
+ */
12028
+ recheckEncompassIntegrationHealth: (
12029
+ accountId: string,
12030
+ params: RequestParams = {},
12031
+ ) =>
12032
+ this.request<LosCredentialHealth, ProblemDetails>({
12033
+ path: `/api/monitoring/encompass-integrations/${accountId}/health/recheck`,
12034
+ method: "POST",
12035
+ secure: true,
12036
+ format: "json",
12037
+ ...params,
12038
+ }),
12039
+
12040
+ /**
12041
+ * No description
12042
+ *
12043
+ * @tags EncompassIntegrations
12044
+ * @name GetEncompassIntegrationsWebhooks
12045
+ * @summary Get registered-versus-expected Encompass webhooks for a set of accounts (SuperAdmin)
12046
+ * @request POST:/api/monitoring/encompass-integrations/webhooks
12047
+ * @secure
12048
+ * @response `200` `(LosWebhookInventory)[]` OK
12049
+ * @response `400` `ProblemDetails` Bad Request
12050
+ * @response `401` `ProblemDetails` Unauthorized
12051
+ * @response `403` `ProblemDetails` Forbidden
12052
+ */
12053
+ getEncompassIntegrationsWebhooks: (
12054
+ data: LosIntegrationsBatchRequest,
12055
+ params: RequestParams = {},
12056
+ ) =>
12057
+ this.request<LosWebhookInventory[], ProblemDetails>({
12058
+ path: `/api/monitoring/encompass-integrations/webhooks`,
12059
+ method: "POST",
12060
+ body: data,
12061
+ secure: true,
12062
+ type: ContentType.Json,
12063
12063
  format: "json",
12064
12064
  ...params,
12065
12065
  }),
12066
12066
 
12067
+ /**
12068
+ * No description
12069
+ *
12070
+ * @tags EncompassIntegrations
12071
+ * @name RecheckEncompassIntegrationWebhooks
12072
+ * @summary Force a fresh Encompass webhook inventory read for one account (SuperAdmin)
12073
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks/recheck
12074
+ * @secure
12075
+ * @response `200` `LosWebhookInventory` OK
12076
+ * @response `401` `ProblemDetails` Unauthorized
12077
+ * @response `403` `ProblemDetails` Forbidden
12078
+ */
12079
+ recheckEncompassIntegrationWebhooks: (
12080
+ accountId: string,
12081
+ params: RequestParams = {},
12082
+ ) =>
12083
+ this.request<LosWebhookInventory, ProblemDetails>({
12084
+ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/recheck`,
12085
+ method: "POST",
12086
+ secure: true,
12087
+ format: "json",
12088
+ ...params,
12089
+ }),
12090
+
12091
+ /**
12092
+ * No description
12093
+ *
12094
+ * @tags EncompassIntegrations
12095
+ * @name GetEncompassIntegrationCredentials
12096
+ * @summary Get Encompass credentials including secrets for a specific account (SuperAdmin)
12097
+ * @request GET:/api/monitoring/encompass-integrations/{accountId}/credentials
12098
+ * @secure
12099
+ * @response `200` `LosIntegrationCredentials` OK
12100
+ * @response `401` `ProblemDetails` Unauthorized
12101
+ * @response `403` `ProblemDetails` Forbidden
12102
+ * @response `404` `ProblemDetails` Not Found
12103
+ */
12104
+ getEncompassIntegrationCredentials: (
12105
+ accountId: string,
12106
+ params: RequestParams = {},
12107
+ ) =>
12108
+ this.request<LosIntegrationCredentials, ProblemDetails>({
12109
+ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`,
12110
+ method: "GET",
12111
+ secure: true,
12112
+ format: "json",
12113
+ ...params,
12114
+ }),
12115
+
12116
+ /**
12117
+ * No description
12118
+ *
12119
+ * @tags EncompassIntegrations
12120
+ * @name UpdateEncompassIntegrationCredentials
12121
+ * @summary Update Encompass credentials for a specific account (SuperAdmin)
12122
+ * @request PUT:/api/monitoring/encompass-integrations/{accountId}/credentials
12123
+ * @secure
12124
+ * @response `200` `EncompassCredentialsDetail` OK
12125
+ * @response `401` `ProblemDetails` Unauthorized
12126
+ * @response `403` `ProblemDetails` Forbidden
12127
+ * @response `404` `ProblemDetails` Not Found
12128
+ */
12129
+ updateEncompassIntegrationCredentials: (
12130
+ accountId: string,
12131
+ data: EncompassCredentialsRequest,
12132
+ params: RequestParams = {},
12133
+ ) =>
12134
+ this.request<EncompassCredentialsDetail, ProblemDetails>({
12135
+ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`,
12136
+ method: "PUT",
12137
+ body: data,
12138
+ secure: true,
12139
+ type: ContentType.Json,
12140
+ format: "json",
12141
+ ...params,
12142
+ }),
12143
+
12144
+ /**
12145
+ * No description
12146
+ *
12147
+ * @tags EncompassIntegrations
12148
+ * @name RegisterEncompassIntegrationWebhook
12149
+ * @summary Register an expected Encompass webhook for a specific account (SuperAdmin)
12150
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks
12151
+ * @secure
12152
+ * @response `201` `LosWebhook` Created
12153
+ * @response `400` `ProblemDetails` Bad Request
12154
+ * @response `401` `ProblemDetails` Unauthorized
12155
+ * @response `403` `ProblemDetails` Forbidden
12156
+ */
12157
+ registerEncompassIntegrationWebhook: (
12158
+ accountId: string,
12159
+ data: CreateWebhookRequest,
12160
+ params: RequestParams = {},
12161
+ ) =>
12162
+ this.request<LosWebhook, ProblemDetails>({
12163
+ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`,
12164
+ method: "POST",
12165
+ body: data,
12166
+ secure: true,
12167
+ type: ContentType.Json,
12168
+ format: "json",
12169
+ ...params,
12170
+ }),
12171
+
12172
+ /**
12173
+ * No description
12174
+ *
12175
+ * @tags EncompassIntegrations
12176
+ * @name DeleteEncompassIntegrationWebhook
12177
+ * @summary Delete an Encompass webhook for a specific account (SuperAdmin)
12178
+ * @request DELETE:/api/monitoring/encompass-integrations/{accountId}/webhooks/{webhookId}
12179
+ * @secure
12180
+ * @response `204` `void` No Content
12181
+ * @response `401` `ProblemDetails` Unauthorized
12182
+ * @response `403` `ProblemDetails` Forbidden
12183
+ * @response `404` `ProblemDetails` Not Found
12184
+ */
12185
+ deleteEncompassIntegrationWebhook: (
12186
+ accountId: string,
12187
+ webhookId: string,
12188
+ params: RequestParams = {},
12189
+ ) =>
12190
+ this.request<void, ProblemDetails>({
12191
+ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/${webhookId}`,
12192
+ method: "DELETE",
12193
+ secure: true,
12194
+ ...params,
12195
+ }),
12196
+
12067
12197
  /**
12068
12198
  * No description
12069
12199
  *
@@ -12122,7 +12252,7 @@ export class Api<
12122
12252
  method: "POST",
12123
12253
  body: data,
12124
12254
  secure: true,
12125
- type: "multipart/form-data",
12255
+ type: ContentType.FormData,
12126
12256
  format: "json",
12127
12257
  ...params,
12128
12258
  }),
@@ -12163,7 +12293,7 @@ export class Api<
12163
12293
  method: "PUT",
12164
12294
  body: data,
12165
12295
  secure: true,
12166
- type: "application/json",
12296
+ type: ContentType.Json,
12167
12297
  format: "json",
12168
12298
  ...params,
12169
12299
  }),
@@ -12214,7 +12344,7 @@ export class Api<
12214
12344
  query: query,
12215
12345
  body: data,
12216
12346
  secure: true,
12217
- type: "application/json",
12347
+ type: ContentType.Json,
12218
12348
  format: "json",
12219
12349
  ...params,
12220
12350
  }),
@@ -12261,7 +12391,7 @@ export class Api<
12261
12391
  method: "POST",
12262
12392
  body: data,
12263
12393
  secure: true,
12264
- type: "application/json",
12394
+ type: ContentType.Json,
12265
12395
  format: "json",
12266
12396
  ...params,
12267
12397
  }),
@@ -12302,7 +12432,7 @@ export class Api<
12302
12432
  method: "PUT",
12303
12433
  body: data,
12304
12434
  secure: true,
12305
- type: "application/json",
12435
+ type: ContentType.Json,
12306
12436
  format: "json",
12307
12437
  ...params,
12308
12438
  }),
@@ -12368,7 +12498,7 @@ export class Api<
12368
12498
  method: "POST",
12369
12499
  body: data,
12370
12500
  secure: true,
12371
- type: "multipart/form-data",
12501
+ type: ContentType.FormData,
12372
12502
  format: "json",
12373
12503
  ...params,
12374
12504
  }),
@@ -12476,7 +12606,7 @@ export class Api<
12476
12606
  query: query,
12477
12607
  body: data,
12478
12608
  secure: true,
12479
- type: "application/json",
12609
+ type: ContentType.Json,
12480
12610
  format: "json",
12481
12611
  ...params,
12482
12612
  }),
@@ -12520,7 +12650,7 @@ export class Api<
12520
12650
  method: "PUT",
12521
12651
  body: data,
12522
12652
  secure: true,
12523
- type: "application/json",
12653
+ type: ContentType.Json,
12524
12654
  format: "json",
12525
12655
  ...params,
12526
12656
  }),
@@ -12571,7 +12701,7 @@ export class Api<
12571
12701
  query: query,
12572
12702
  body: data,
12573
12703
  secure: true,
12574
- type: "application/json",
12704
+ type: ContentType.Json,
12575
12705
  format: "json",
12576
12706
  ...params,
12577
12707
  }),
@@ -12615,7 +12745,7 @@ export class Api<
12615
12745
  method: "POST",
12616
12746
  body: data,
12617
12747
  secure: true,
12618
- type: "application/json",
12748
+ type: ContentType.Json,
12619
12749
  format: "json",
12620
12750
  ...params,
12621
12751
  }),
@@ -12660,7 +12790,7 @@ export class Api<
12660
12790
  method: "PUT",
12661
12791
  body: data,
12662
12792
  secure: true,
12663
- type: "application/json",
12793
+ type: ContentType.Json,
12664
12794
  format: "json",
12665
12795
  ...params,
12666
12796
  }),
@@ -12748,7 +12878,7 @@ export class Api<
12748
12878
  method: "PATCH",
12749
12879
  body: data,
12750
12880
  secure: true,
12751
- type: "application/json",
12881
+ type: ContentType.JsonPatch,
12752
12882
  format: "json",
12753
12883
  ...params,
12754
12884
  }),
@@ -12769,7 +12899,7 @@ export class Api<
12769
12899
  method: "POST",
12770
12900
  body: data,
12771
12901
  secure: true,
12772
- type: "application/json",
12902
+ type: ContentType.Json,
12773
12903
  format: "json",
12774
12904
  ...params,
12775
12905
  }),
@@ -12801,7 +12931,7 @@ export class Api<
12801
12931
  query: query,
12802
12932
  body: data,
12803
12933
  secure: true,
12804
- type: "application/json",
12934
+ type: ContentType.Json,
12805
12935
  format: "json",
12806
12936
  ...params,
12807
12937
  }),
@@ -12832,7 +12962,7 @@ export class Api<
12832
12962
  query: query,
12833
12963
  body: data,
12834
12964
  secure: true,
12835
- type: "application/json",
12965
+ type: ContentType.Json,
12836
12966
  format: "json",
12837
12967
  ...params,
12838
12968
  }),
@@ -12858,7 +12988,7 @@ export class Api<
12858
12988
  method: "PATCH",
12859
12989
  body: data,
12860
12990
  secure: true,
12861
- type: "application/json",
12991
+ type: ContentType.JsonPatch,
12862
12992
  format: "json",
12863
12993
  ...params,
12864
12994
  }),
@@ -12885,7 +13015,7 @@ export class Api<
12885
13015
  method: "PATCH",
12886
13016
  body: data,
12887
13017
  secure: true,
12888
- type: "application/json",
13018
+ type: ContentType.JsonPatch,
12889
13019
  format: "json",
12890
13020
  ...params,
12891
13021
  }),
@@ -13058,7 +13188,7 @@ export class Api<
13058
13188
  method: "POST",
13059
13189
  body: data,
13060
13190
  secure: true,
13061
- type: "multipart/form-data",
13191
+ type: ContentType.FormData,
13062
13192
  format: "json",
13063
13193
  ...params,
13064
13194
  }),
@@ -13083,7 +13213,7 @@ export class Api<
13083
13213
  method: "PATCH",
13084
13214
  body: data,
13085
13215
  secure: true,
13086
- type: "application/json",
13216
+ type: ContentType.JsonPatch,
13087
13217
  format: "json",
13088
13218
  ...params,
13089
13219
  }),
@@ -13138,7 +13268,7 @@ export class Api<
13138
13268
  method: "POST",
13139
13269
  body: data,
13140
13270
  secure: true,
13141
- type: "multipart/form-data",
13271
+ type: ContentType.FormData,
13142
13272
  format: "json",
13143
13273
  ...params,
13144
13274
  }),
@@ -13163,7 +13293,7 @@ export class Api<
13163
13293
  method: "PATCH",
13164
13294
  body: data,
13165
13295
  secure: true,
13166
- type: "application/json",
13296
+ type: ContentType.JsonPatch,
13167
13297
  format: "json",
13168
13298
  ...params,
13169
13299
  }),
@@ -13237,7 +13367,7 @@ export class Api<
13237
13367
  method: "POST",
13238
13368
  body: data,
13239
13369
  secure: true,
13240
- type: "application/json",
13370
+ type: ContentType.Json,
13241
13371
  format: "json",
13242
13372
  ...params,
13243
13373
  }),
@@ -13300,7 +13430,7 @@ export class Api<
13300
13430
  method: "PUT",
13301
13431
  body: data,
13302
13432
  secure: true,
13303
- type: "application/json",
13433
+ type: ContentType.Json,
13304
13434
  format: "json",
13305
13435
  ...params,
13306
13436
  }),
@@ -13351,7 +13481,7 @@ export class Api<
13351
13481
  query: query,
13352
13482
  body: data,
13353
13483
  secure: true,
13354
- type: "application/json",
13484
+ type: ContentType.Json,
13355
13485
  format: "json",
13356
13486
  ...params,
13357
13487
  }),
@@ -13379,7 +13509,7 @@ export class Api<
13379
13509
  method: "PUT",
13380
13510
  body: data,
13381
13511
  secure: true,
13382
- type: "multipart/form-data",
13512
+ type: ContentType.FormData,
13383
13513
  format: "json",
13384
13514
  ...params,
13385
13515
  }),
@@ -13462,7 +13592,7 @@ export class Api<
13462
13592
  method: "POST",
13463
13593
  body: data,
13464
13594
  secure: true,
13465
- type: "application/json",
13595
+ type: ContentType.Json,
13466
13596
  format: "json",
13467
13597
  ...params,
13468
13598
  }),
@@ -13509,7 +13639,7 @@ export class Api<
13509
13639
  method: "POST",
13510
13640
  body: data,
13511
13641
  secure: true,
13512
- type: "application/json",
13642
+ type: ContentType.Json,
13513
13643
  format: "json",
13514
13644
  ...params,
13515
13645
  }),
@@ -13557,7 +13687,7 @@ export class Api<
13557
13687
  method: "POST",
13558
13688
  body: data,
13559
13689
  secure: true,
13560
- type: "application/json",
13690
+ type: ContentType.Json,
13561
13691
  ...params,
13562
13692
  }),
13563
13693
 
@@ -13622,7 +13752,7 @@ export class Api<
13622
13752
  method: "PUT",
13623
13753
  body: data,
13624
13754
  secure: true,
13625
- type: "application/json",
13755
+ type: ContentType.Json,
13626
13756
  ...params,
13627
13757
  }),
13628
13758
 
@@ -13650,7 +13780,7 @@ export class Api<
13650
13780
  method: "PUT",
13651
13781
  body: data,
13652
13782
  secure: true,
13653
- type: "application/json",
13783
+ type: ContentType.Json,
13654
13784
  ...params,
13655
13785
  }),
13656
13786
 
@@ -13725,7 +13855,7 @@ export class Api<
13725
13855
  query: query,
13726
13856
  body: data,
13727
13857
  secure: true,
13728
- type: "application/json",
13858
+ type: ContentType.Json,
13729
13859
  format: "json",
13730
13860
  ...params,
13731
13861
  }),
@@ -13774,7 +13904,7 @@ export class Api<
13774
13904
  method: "PUT",
13775
13905
  body: data,
13776
13906
  secure: true,
13777
- type: "application/json",
13907
+ type: ContentType.Json,
13778
13908
  format: "json",
13779
13909
  ...params,
13780
13910
  }),
@@ -13821,7 +13951,7 @@ export class Api<
13821
13951
  method: "POST",
13822
13952
  body: data,
13823
13953
  secure: true,
13824
- type: "application/json",
13954
+ type: ContentType.Json,
13825
13955
  format: "json",
13826
13956
  ...params,
13827
13957
  }),
@@ -13930,7 +14060,7 @@ export class Api<
13930
14060
  query: query,
13931
14061
  body: data,
13932
14062
  secure: true,
13933
- type: "application/json",
14063
+ type: ContentType.Json,
13934
14064
  format: "json",
13935
14065
  ...params,
13936
14066
  }),
@@ -13985,7 +14115,7 @@ export class Api<
13985
14115
  method: "POST",
13986
14116
  body: data,
13987
14117
  secure: true,
13988
- type: "application/json",
14118
+ type: ContentType.Json,
13989
14119
  format: "json",
13990
14120
  ...params,
13991
14121
  }),
@@ -14019,7 +14149,7 @@ export class Api<
14019
14149
  query: query,
14020
14150
  body: data,
14021
14151
  secure: true,
14022
- type: "application/json",
14152
+ type: ContentType.Json,
14023
14153
  format: "json",
14024
14154
  ...params,
14025
14155
  }),
@@ -14032,7 +14162,7 @@ export class Api<
14032
14162
  * @summary Download By ID
14033
14163
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
14034
14164
  * @secure
14035
- * @response `200` `Blob` OK
14165
+ * @response `200` `string` OK
14036
14166
  * @response `404` `ProblemDetails` Not Found
14037
14167
  */
14038
14168
  downloadLoanDocument: (
@@ -14040,7 +14170,7 @@ export class Api<
14040
14170
  documentId: string,
14041
14171
  params: RequestParams = {},
14042
14172
  ) =>
14043
- this.request<Blob, ProblemDetails>({
14173
+ this.request<string, ProblemDetails>({
14044
14174
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
14045
14175
  method: "GET",
14046
14176
  secure: true,
@@ -14078,7 +14208,7 @@ export class Api<
14078
14208
  method: "POST",
14079
14209
  body: data,
14080
14210
  secure: true,
14081
- type: "multipart/form-data",
14211
+ type: ContentType.FormData,
14082
14212
  format: "json",
14083
14213
  ...params,
14084
14214
  }),
@@ -14128,7 +14258,7 @@ export class Api<
14128
14258
  method: "POST",
14129
14259
  body: data,
14130
14260
  secure: true,
14131
- type: "application/json",
14261
+ type: ContentType.Json,
14132
14262
  format: "json",
14133
14263
  ...params,
14134
14264
  }),
@@ -14155,7 +14285,7 @@ export class Api<
14155
14285
  method: "POST",
14156
14286
  body: data,
14157
14287
  secure: true,
14158
- type: "application/json",
14288
+ type: ContentType.Json,
14159
14289
  ...params,
14160
14290
  }),
14161
14291
 
@@ -14202,7 +14332,7 @@ export class Api<
14202
14332
  method: "POST",
14203
14333
  body: data,
14204
14334
  secure: true,
14205
- type: "application/json",
14335
+ type: ContentType.Json,
14206
14336
  format: "json",
14207
14337
  ...params,
14208
14338
  }),
@@ -14247,7 +14377,7 @@ export class Api<
14247
14377
  method: "POST",
14248
14378
  body: data,
14249
14379
  secure: true,
14250
- type: "application/json",
14380
+ type: ContentType.Json,
14251
14381
  format: "json",
14252
14382
  ...params,
14253
14383
  }),
@@ -14310,7 +14440,7 @@ export class Api<
14310
14440
  method: "PUT",
14311
14441
  body: data,
14312
14442
  secure: true,
14313
- type: "application/json",
14443
+ type: ContentType.Json,
14314
14444
  format: "json",
14315
14445
  ...params,
14316
14446
  }),
@@ -14361,7 +14491,7 @@ export class Api<
14361
14491
  query: query,
14362
14492
  body: data,
14363
14493
  secure: true,
14364
- type: "application/json",
14494
+ type: ContentType.Json,
14365
14495
  format: "json",
14366
14496
  ...params,
14367
14497
  }),
@@ -14386,7 +14516,7 @@ export class Api<
14386
14516
  method: "PUT",
14387
14517
  body: data,
14388
14518
  secure: true,
14389
- type: "application/json",
14519
+ type: ContentType.Json,
14390
14520
  format: "json",
14391
14521
  ...params,
14392
14522
  }),
@@ -14461,7 +14591,7 @@ export class Api<
14461
14591
  method: "POST",
14462
14592
  body: data,
14463
14593
  secure: true,
14464
- type: "application/json",
14594
+ type: ContentType.Json,
14465
14595
  format: "json",
14466
14596
  ...params,
14467
14597
  }),
@@ -14557,7 +14687,7 @@ export class Api<
14557
14687
  method: "POST",
14558
14688
  body: data,
14559
14689
  secure: true,
14560
- type: "application/json",
14690
+ type: ContentType.Json,
14561
14691
  format: "json",
14562
14692
  ...params,
14563
14693
  }),
@@ -14591,7 +14721,7 @@ export class Api<
14591
14721
  query: query,
14592
14722
  body: data,
14593
14723
  secure: true,
14594
- type: "application/json",
14724
+ type: ContentType.Json,
14595
14725
  format: "json",
14596
14726
  ...params,
14597
14727
  }),
@@ -14642,7 +14772,7 @@ export class Api<
14642
14772
  method: "POST",
14643
14773
  body: data,
14644
14774
  secure: true,
14645
- type: "application/json",
14775
+ type: ContentType.Json,
14646
14776
  ...params,
14647
14777
  }),
14648
14778
 
@@ -14668,7 +14798,7 @@ export class Api<
14668
14798
  method: "POST",
14669
14799
  body: data,
14670
14800
  secure: true,
14671
- type: "application/json",
14801
+ type: ContentType.Json,
14672
14802
  ...params,
14673
14803
  }),
14674
14804
 
@@ -14731,7 +14861,7 @@ export class Api<
14731
14861
  query: query,
14732
14862
  body: data,
14733
14863
  secure: true,
14734
- type: "application/json",
14864
+ type: ContentType.Json,
14735
14865
  format: "json",
14736
14866
  ...params,
14737
14867
  }),
@@ -14776,7 +14906,7 @@ export class Api<
14776
14906
  method: "POST",
14777
14907
  body: data,
14778
14908
  secure: true,
14779
- type: "application/json",
14909
+ type: ContentType.Json,
14780
14910
  format: "json",
14781
14911
  ...params,
14782
14912
  }),
@@ -14830,7 +14960,7 @@ export class Api<
14830
14960
  query: query,
14831
14961
  body: data,
14832
14962
  secure: true,
14833
- type: "application/json",
14963
+ type: ContentType.Json,
14834
14964
  format: "json",
14835
14965
  ...params,
14836
14966
  }),
@@ -14863,7 +14993,7 @@ export class Api<
14863
14993
  query: query,
14864
14994
  body: data,
14865
14995
  secure: true,
14866
- type: "application/json",
14996
+ type: ContentType.Json,
14867
14997
  format: "json",
14868
14998
  ...params,
14869
14999
  }),
@@ -14909,7 +15039,7 @@ export class Api<
14909
15039
  method: "PUT",
14910
15040
  body: data,
14911
15041
  secure: true,
14912
- type: "application/json",
15042
+ type: ContentType.Json,
14913
15043
  format: "json",
14914
15044
  ...params,
14915
15045
  }),
@@ -15010,7 +15140,7 @@ export class Api<
15010
15140
  method: "POST",
15011
15141
  body: data,
15012
15142
  secure: true,
15013
- type: "application/json",
15143
+ type: ContentType.Json,
15014
15144
  format: "json",
15015
15145
  ...params,
15016
15146
  }),
@@ -15043,7 +15173,7 @@ export class Api<
15043
15173
  query: query,
15044
15174
  body: data,
15045
15175
  secure: true,
15046
- type: "application/json",
15176
+ type: ContentType.Json,
15047
15177
  format: "json",
15048
15178
  ...params,
15049
15179
  }),
@@ -15073,7 +15203,7 @@ export class Api<
15073
15203
  method: "PATCH",
15074
15204
  body: data,
15075
15205
  secure: true,
15076
- type: "application/json",
15206
+ type: ContentType.JsonPatch,
15077
15207
  format: "json",
15078
15208
  ...params,
15079
15209
  }),
@@ -15183,7 +15313,7 @@ export class Api<
15183
15313
  method: "POST",
15184
15314
  body: data,
15185
15315
  secure: true,
15186
- type: "application/json",
15316
+ type: ContentType.Json,
15187
15317
  format: "json",
15188
15318
  ...params,
15189
15319
  }),
@@ -15219,7 +15349,7 @@ export class Api<
15219
15349
  query: query,
15220
15350
  body: data,
15221
15351
  secure: true,
15222
- type: "application/json",
15352
+ type: ContentType.Json,
15223
15353
  format: "json",
15224
15354
  ...params,
15225
15355
  }),
@@ -15271,7 +15401,7 @@ export class Api<
15271
15401
  method: "POST",
15272
15402
  body: data,
15273
15403
  secure: true,
15274
- type: "application/json",
15404
+ type: ContentType.Json,
15275
15405
  format: "json",
15276
15406
  ...params,
15277
15407
  }),
@@ -15299,7 +15429,7 @@ export class Api<
15299
15429
  method: "PUT",
15300
15430
  body: data,
15301
15431
  secure: true,
15302
- type: "application/json",
15432
+ type: ContentType.Json,
15303
15433
  format: "json",
15304
15434
  ...params,
15305
15435
  }),
@@ -15359,7 +15489,7 @@ export class Api<
15359
15489
  method: "POST",
15360
15490
  body: data,
15361
15491
  secure: true,
15362
- type: "multipart/form-data",
15492
+ type: ContentType.FormData,
15363
15493
  format: "json",
15364
15494
  ...params,
15365
15495
  }),
@@ -15387,7 +15517,7 @@ export class Api<
15387
15517
  method: "POST",
15388
15518
  body: data,
15389
15519
  secure: true,
15390
- type: "application/json",
15520
+ type: ContentType.Json,
15391
15521
  ...params,
15392
15522
  }),
15393
15523
 
@@ -15413,7 +15543,7 @@ export class Api<
15413
15543
  method: "POST",
15414
15544
  body: data,
15415
15545
  secure: true,
15416
- type: "application/json",
15546
+ type: ContentType.Json,
15417
15547
  ...params,
15418
15548
  }),
15419
15549
 
@@ -15445,7 +15575,7 @@ export class Api<
15445
15575
  query: query,
15446
15576
  body: data,
15447
15577
  secure: true,
15448
- type: "application/json",
15578
+ type: ContentType.Json,
15449
15579
  format: "json",
15450
15580
  ...params,
15451
15581
  }),
@@ -15470,7 +15600,7 @@ export class Api<
15470
15600
  method: "POST",
15471
15601
  body: data,
15472
15602
  secure: true,
15473
- type: "application/json",
15603
+ type: ContentType.Json,
15474
15604
  format: "json",
15475
15605
  ...params,
15476
15606
  }),
@@ -15557,7 +15687,7 @@ export class Api<
15557
15687
  method: "POST",
15558
15688
  body: data,
15559
15689
  secure: true,
15560
- type: "application/json",
15690
+ type: ContentType.Json,
15561
15691
  format: "json",
15562
15692
  ...params,
15563
15693
  }),
@@ -15583,7 +15713,7 @@ export class Api<
15583
15713
  method: "POST",
15584
15714
  body: data,
15585
15715
  secure: true,
15586
- type: "application/json",
15716
+ type: ContentType.Json,
15587
15717
  format: "json",
15588
15718
  ...params,
15589
15719
  }),
@@ -15610,7 +15740,7 @@ export class Api<
15610
15740
  method: "PUT",
15611
15741
  body: data,
15612
15742
  secure: true,
15613
- type: "application/json",
15743
+ type: ContentType.Json,
15614
15744
  format: "json",
15615
15745
  ...params,
15616
15746
  }),
@@ -15727,7 +15857,7 @@ export class Api<
15727
15857
  method: "POST",
15728
15858
  body: data,
15729
15859
  secure: true,
15730
- type: "application/json",
15860
+ type: ContentType.Json,
15731
15861
  format: "json",
15732
15862
  ...params,
15733
15863
  }),
@@ -15805,7 +15935,7 @@ export class Api<
15805
15935
  query: query,
15806
15936
  body: data,
15807
15937
  secure: true,
15808
- type: "application/json",
15938
+ type: ContentType.Json,
15809
15939
  format: "json",
15810
15940
  ...params,
15811
15941
  }),
@@ -15842,7 +15972,7 @@ export class Api<
15842
15972
  query: query,
15843
15973
  body: data,
15844
15974
  secure: true,
15845
- type: "application/json",
15975
+ type: ContentType.Json,
15846
15976
  format: "json",
15847
15977
  ...params,
15848
15978
  }),
@@ -15873,7 +16003,7 @@ export class Api<
15873
16003
  query: query,
15874
16004
  body: data,
15875
16005
  secure: true,
15876
- type: "application/json",
16006
+ type: ContentType.Json,
15877
16007
  format: "json",
15878
16008
  ...params,
15879
16009
  }),
@@ -15946,7 +16076,7 @@ export class Api<
15946
16076
  method: "POST",
15947
16077
  body: data,
15948
16078
  secure: true,
15949
- type: "application/json",
16079
+ type: ContentType.Json,
15950
16080
  format: "json",
15951
16081
  ...params,
15952
16082
  }),
@@ -15993,7 +16123,7 @@ export class Api<
15993
16123
  method: "PUT",
15994
16124
  body: data,
15995
16125
  secure: true,
15996
- type: "application/json",
16126
+ type: ContentType.Json,
15997
16127
  format: "json",
15998
16128
  ...params,
15999
16129
  }),
@@ -16039,7 +16169,7 @@ export class Api<
16039
16169
  method: "POST",
16040
16170
  body: data,
16041
16171
  secure: true,
16042
- type: "application/json",
16172
+ type: ContentType.Json,
16043
16173
  format: "json",
16044
16174
  ...params,
16045
16175
  }),
@@ -16064,7 +16194,7 @@ export class Api<
16064
16194
  method: "POST",
16065
16195
  body: data,
16066
16196
  secure: true,
16067
- type: "application/json",
16197
+ type: ContentType.Json,
16068
16198
  format: "json",
16069
16199
  ...params,
16070
16200
  }),
@@ -16089,7 +16219,7 @@ export class Api<
16089
16219
  method: "POST",
16090
16220
  body: data,
16091
16221
  secure: true,
16092
- type: "application/json",
16222
+ type: ContentType.Json,
16093
16223
  format: "json",
16094
16224
  ...params,
16095
16225
  }),
@@ -16114,7 +16244,7 @@ export class Api<
16114
16244
  method: "POST",
16115
16245
  body: data,
16116
16246
  secure: true,
16117
- type: "application/json",
16247
+ type: ContentType.Json,
16118
16248
  format: "json",
16119
16249
  ...params,
16120
16250
  }),
@@ -16139,7 +16269,7 @@ export class Api<
16139
16269
  method: "POST",
16140
16270
  body: data,
16141
16271
  secure: true,
16142
- type: "application/json",
16272
+ type: ContentType.Json,
16143
16273
  format: "json",
16144
16274
  ...params,
16145
16275
  }),
@@ -16189,7 +16319,7 @@ export class Api<
16189
16319
  method: "POST",
16190
16320
  body: data,
16191
16321
  secure: true,
16192
- type: "application/json",
16322
+ type: ContentType.Json,
16193
16323
  format: "json",
16194
16324
  ...params,
16195
16325
  }),
@@ -16222,7 +16352,7 @@ export class Api<
16222
16352
  query: query,
16223
16353
  body: data,
16224
16354
  secure: true,
16225
- type: "application/json",
16355
+ type: ContentType.Json,
16226
16356
  format: "json",
16227
16357
  ...params,
16228
16358
  }),
@@ -16267,7 +16397,7 @@ export class Api<
16267
16397
  method: "PUT",
16268
16398
  body: data,
16269
16399
  secure: true,
16270
- type: "application/json",
16400
+ type: ContentType.Json,
16271
16401
  format: "json",
16272
16402
  ...params,
16273
16403
  }),
@@ -16351,7 +16481,7 @@ export class Api<
16351
16481
  method: "POST",
16352
16482
  body: data,
16353
16483
  secure: true,
16354
- type: "application/json",
16484
+ type: ContentType.Json,
16355
16485
  format: "json",
16356
16486
  ...params,
16357
16487
  }),
@@ -16400,7 +16530,7 @@ export class Api<
16400
16530
  method: "PUT",
16401
16531
  body: data,
16402
16532
  secure: true,
16403
- type: "application/json",
16533
+ type: ContentType.Json,
16404
16534
  format: "json",
16405
16535
  ...params,
16406
16536
  }),
@@ -16442,7 +16572,16 @@ export class Api<
16442
16572
  query?: {
16443
16573
  showAll?: boolean;
16444
16574
  /** @default "Realtor" */
16445
- role?: GetPartnersParamsRoleEnum;
16575
+ role?:
16576
+ | "Borrower"
16577
+ | "LoanOfficer"
16578
+ | "Admin"
16579
+ | "SuperAdmin"
16580
+ | "Realtor"
16581
+ | "SettlementAgent"
16582
+ | "LoanProcessor"
16583
+ | "LoanOfficerAssistant"
16584
+ | "SystemAdmin";
16446
16585
  /** @format int32 */
16447
16586
  pageSize?: number;
16448
16587
  /** @format int32 */
@@ -16489,7 +16628,7 @@ export class Api<
16489
16628
  query: query,
16490
16629
  body: data,
16491
16630
  secure: true,
16492
- type: "application/json",
16631
+ type: ContentType.Json,
16493
16632
  format: "json",
16494
16633
  ...params,
16495
16634
  }),
@@ -16534,7 +16673,7 @@ export class Api<
16534
16673
  method: "POST",
16535
16674
  body: data,
16536
16675
  secure: true,
16537
- type: "application/json",
16676
+ type: ContentType.Json,
16538
16677
  format: "json",
16539
16678
  ...params,
16540
16679
  }),
@@ -16588,7 +16727,7 @@ export class Api<
16588
16727
  query: query,
16589
16728
  body: data,
16590
16729
  secure: true,
16591
- type: "application/json",
16730
+ type: ContentType.Json,
16592
16731
  format: "json",
16593
16732
  ...params,
16594
16733
  }),
@@ -16633,7 +16772,7 @@ export class Api<
16633
16772
  method: "POST",
16634
16773
  body: data,
16635
16774
  secure: true,
16636
- type: "application/json",
16775
+ type: ContentType.Json,
16637
16776
  format: "json",
16638
16777
  ...params,
16639
16778
  }),
@@ -16685,7 +16824,7 @@ export class Api<
16685
16824
  method: "POST",
16686
16825
  body: data,
16687
16826
  secure: true,
16688
- type: "application/json",
16827
+ type: ContentType.Json,
16689
16828
  format: "json",
16690
16829
  ...params,
16691
16830
  }),
@@ -16742,7 +16881,7 @@ export class Api<
16742
16881
  query: query,
16743
16882
  body: data,
16744
16883
  secure: true,
16745
- type: "application/json",
16884
+ type: ContentType.Json,
16746
16885
  format: "json",
16747
16886
  ...params,
16748
16887
  }),
@@ -16778,7 +16917,7 @@ export class Api<
16778
16917
  * @response `404` `ProblemDetails` Not Found
16779
16918
  */
16780
16919
  getSamlMetadata: (
16781
- sSoIntegration: GetSamlMetadataParamsEnum,
16920
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
16782
16921
  ssoIntegration: string,
16783
16922
  params: RequestParams = {},
16784
16923
  ) =>
@@ -16800,7 +16939,7 @@ export class Api<
16800
16939
  * @response `200` `File` OK
16801
16940
  */
16802
16941
  createOrReplaceSamlMetadata: (
16803
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
16942
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
16804
16943
  ssoIntegration: string,
16805
16944
  params: RequestParams = {},
16806
16945
  ) =>
@@ -16925,7 +17064,7 @@ export class Api<
16925
17064
  method: "POST",
16926
17065
  body: data,
16927
17066
  secure: true,
16928
- type: "application/json",
17067
+ type: ContentType.Json,
16929
17068
  format: "json",
16930
17069
  ...params,
16931
17070
  }),
@@ -16959,7 +17098,7 @@ export class Api<
16959
17098
  query: query,
16960
17099
  body: data,
16961
17100
  secure: true,
16962
- type: "application/json",
17101
+ type: ContentType.Json,
16963
17102
  format: "json",
16964
17103
  ...params,
16965
17104
  }),
@@ -16980,7 +17119,7 @@ export class Api<
16980
17119
  query?: {
16981
17120
  /** @format uuid */
16982
17121
  siteConfigurationId?: string;
16983
- location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
17122
+ location?: "HomePage" | "Dashboard";
16984
17123
  },
16985
17124
  params: RequestParams = {},
16986
17125
  ) =>
@@ -17037,7 +17176,7 @@ export class Api<
17037
17176
  method: "PUT",
17038
17177
  body: data,
17039
17178
  secure: true,
17040
- type: "application/json",
17179
+ type: ContentType.Json,
17041
17180
  format: "json",
17042
17181
  ...params,
17043
17182
  }),
@@ -17080,7 +17219,7 @@ export class Api<
17080
17219
  method: "POST",
17081
17220
  body: data,
17082
17221
  secure: true,
17083
- type: "application/json",
17222
+ type: ContentType.Json,
17084
17223
  format: "json",
17085
17224
  ...params,
17086
17225
  }),
@@ -17128,7 +17267,7 @@ export class Api<
17128
17267
  method: "POST",
17129
17268
  body: data,
17130
17269
  secure: true,
17131
- type: "application/json",
17270
+ type: ContentType.Json,
17132
17271
  format: "json",
17133
17272
  ...params,
17134
17273
  }),
@@ -17180,7 +17319,7 @@ export class Api<
17180
17319
  method: "POST",
17181
17320
  body: data,
17182
17321
  secure: true,
17183
- type: "application/json",
17322
+ type: ContentType.Json,
17184
17323
  format: "json",
17185
17324
  ...params,
17186
17325
  }),
@@ -17222,7 +17361,7 @@ export class Api<
17222
17361
  method: "PUT",
17223
17362
  body: data,
17224
17363
  secure: true,
17225
- type: "application/json",
17364
+ type: ContentType.Json,
17226
17365
  format: "json",
17227
17366
  ...params,
17228
17367
  }),
@@ -17274,7 +17413,7 @@ export class Api<
17274
17413
  query: query,
17275
17414
  body: data,
17276
17415
  secure: true,
17277
- type: "application/json",
17416
+ type: ContentType.Json,
17278
17417
  format: "json",
17279
17418
  ...params,
17280
17419
  }),
@@ -17297,7 +17436,7 @@ export class Api<
17297
17436
  method: "POST",
17298
17437
  body: data,
17299
17438
  secure: true,
17300
- type: "application/json",
17439
+ type: ContentType.Json,
17301
17440
  ...params,
17302
17441
  }),
17303
17442
 
@@ -17330,7 +17469,7 @@ export class Api<
17330
17469
  query: query,
17331
17470
  body: data,
17332
17471
  secure: true,
17333
- type: "application/json",
17472
+ type: ContentType.Json,
17334
17473
  format: "json",
17335
17474
  ...params,
17336
17475
  }),
@@ -17374,7 +17513,7 @@ export class Api<
17374
17513
  method: "POST",
17375
17514
  body: data,
17376
17515
  secure: true,
17377
- type: "application/json",
17516
+ type: ContentType.Json,
17378
17517
  format: "json",
17379
17518
  ...params,
17380
17519
  }),
@@ -17398,7 +17537,7 @@ export class Api<
17398
17537
  method: "PUT",
17399
17538
  body: data,
17400
17539
  secure: true,
17401
- type: "application/json",
17540
+ type: ContentType.Json,
17402
17541
  format: "json",
17403
17542
  ...params,
17404
17543
  }),
@@ -17441,7 +17580,7 @@ export class Api<
17441
17580
  method: "POST",
17442
17581
  body: data,
17443
17582
  secure: true,
17444
- type: "application/json",
17583
+ type: ContentType.Json,
17445
17584
  format: "json",
17446
17585
  ...params,
17447
17586
  }),
@@ -17493,7 +17632,7 @@ export class Api<
17493
17632
  query: query,
17494
17633
  body: data,
17495
17634
  secure: true,
17496
- type: "application/json",
17635
+ type: ContentType.Json,
17497
17636
  format: "json",
17498
17637
  ...params,
17499
17638
  }),
@@ -17667,7 +17806,7 @@ export class Api<
17667
17806
  method: "POST",
17668
17807
  body: data,
17669
17808
  secure: true,
17670
- type: "application/json",
17809
+ type: ContentType.Json,
17671
17810
  format: "json",
17672
17811
  ...params,
17673
17812
  }),
@@ -17768,7 +17907,7 @@ export class Api<
17768
17907
  method: "POST",
17769
17908
  body: data,
17770
17909
  secure: true,
17771
- type: "application/json",
17910
+ type: ContentType.Json,
17772
17911
  format: "json",
17773
17912
  ...params,
17774
17913
  }),
@@ -17834,7 +17973,7 @@ export class Api<
17834
17973
  method: "POST",
17835
17974
  body: data,
17836
17975
  secure: true,
17837
- type: "application/json",
17976
+ type: ContentType.Json,
17838
17977
  format: "json",
17839
17978
  ...params,
17840
17979
  }),
@@ -17905,7 +18044,7 @@ export class Api<
17905
18044
  query: query,
17906
18045
  body: data,
17907
18046
  secure: true,
17908
- type: "application/json",
18047
+ type: ContentType.Json,
17909
18048
  format: "json",
17910
18049
  ...params,
17911
18050
  }),
@@ -18002,7 +18141,7 @@ export class Api<
18002
18141
  method: "PUT",
18003
18142
  body: data,
18004
18143
  secure: true,
18005
- type: "application/json",
18144
+ type: ContentType.Json,
18006
18145
  format: "json",
18007
18146
  ...params,
18008
18147
  }),
@@ -18044,7 +18183,7 @@ export class Api<
18044
18183
  method: "POST",
18045
18184
  body: data,
18046
18185
  secure: true,
18047
- type: "application/json",
18186
+ type: ContentType.Json,
18048
18187
  format: "json",
18049
18188
  ...params,
18050
18189
  }),
@@ -18070,7 +18209,7 @@ export class Api<
18070
18209
  method: "POST",
18071
18210
  body: data,
18072
18211
  secure: true,
18073
- type: "application/json",
18212
+ type: ContentType.Json,
18074
18213
  ...params,
18075
18214
  }),
18076
18215
 
@@ -18095,7 +18234,7 @@ export class Api<
18095
18234
  method: "POST",
18096
18235
  body: data,
18097
18236
  secure: true,
18098
- type: "application/json",
18237
+ type: ContentType.Json,
18099
18238
  ...params,
18100
18239
  }),
18101
18240
 
@@ -18181,7 +18320,7 @@ export class Api<
18181
18320
  method: "POST",
18182
18321
  body: data,
18183
18322
  secure: true,
18184
- type: "application/json",
18323
+ type: ContentType.Json,
18185
18324
  ...params,
18186
18325
  }),
18187
18326
 
@@ -18221,7 +18360,7 @@ export class Api<
18221
18360
  method: "POST",
18222
18361
  body: data,
18223
18362
  secure: true,
18224
- type: "application/json",
18363
+ type: ContentType.Json,
18225
18364
  ...params,
18226
18365
  }),
18227
18366
 
@@ -18265,6 +18404,53 @@ export class Api<
18265
18404
  ...params,
18266
18405
  }),
18267
18406
 
18407
+ /**
18408
+ * No description
18409
+ *
18410
+ * @tags UserReactivation
18411
+ * @name RequestUserReactivation
18412
+ * @summary Request user reactivation
18413
+ * @request POST:/api/users/reactivation/request
18414
+ * @secure
18415
+ * @response `204` `void` No Content
18416
+ */
18417
+ requestUserReactivation: (
18418
+ data: UserReactivationRequest,
18419
+ params: RequestParams = {},
18420
+ ) =>
18421
+ this.request<void, any>({
18422
+ path: `/api/users/reactivation/request`,
18423
+ method: "POST",
18424
+ body: data,
18425
+ secure: true,
18426
+ type: ContentType.Json,
18427
+ ...params,
18428
+ }),
18429
+
18430
+ /**
18431
+ * No description
18432
+ *
18433
+ * @tags UserReactivation
18434
+ * @name CompleteUserReactivation
18435
+ * @summary Complete user reactivation with new password
18436
+ * @request POST:/api/users/reactivation/complete
18437
+ * @secure
18438
+ * @response `204` `void` No Content
18439
+ * @response `400` `ProblemDetails` Bad Request
18440
+ */
18441
+ completeUserReactivation: (
18442
+ data: UserReactivationCompleteRequest,
18443
+ params: RequestParams = {},
18444
+ ) =>
18445
+ this.request<void, ProblemDetails>({
18446
+ path: `/api/users/reactivation/complete`,
18447
+ method: "POST",
18448
+ body: data,
18449
+ secure: true,
18450
+ type: ContentType.Json,
18451
+ ...params,
18452
+ }),
18453
+
18268
18454
  /**
18269
18455
  * No description
18270
18456
  *
@@ -18304,7 +18490,7 @@ export class Api<
18304
18490
  method: "POST",
18305
18491
  body: data,
18306
18492
  secure: true,
18307
- type: "application/json",
18493
+ type: ContentType.Json,
18308
18494
  ...params,
18309
18495
  }),
18310
18496
 
@@ -18388,15 +18574,16 @@ export class Api<
18388
18574
  * @request POST:/api/users
18389
18575
  * @secure
18390
18576
  * @response `200` `DetailedUser` OK
18577
+ * @response `409` `ProblemDetails` Conflict
18391
18578
  * @response `422` `UnprocessableEntity` Unprocessable Content
18392
18579
  */
18393
18580
  createUser: (data: CreateUserRequest, params: RequestParams = {}) =>
18394
- this.request<DetailedUser, UnprocessableEntity>({
18581
+ this.request<DetailedUser, ProblemDetails | UnprocessableEntity>({
18395
18582
  path: `/api/users`,
18396
18583
  method: "POST",
18397
18584
  body: data,
18398
18585
  secure: true,
18399
- type: "application/json",
18586
+ type: ContentType.Json,
18400
18587
  format: "json",
18401
18588
  ...params,
18402
18589
  }),
@@ -18429,7 +18616,7 @@ export class Api<
18429
18616
  query: query,
18430
18617
  body: data,
18431
18618
  secure: true,
18432
- type: "application/json",
18619
+ type: ContentType.Json,
18433
18620
  format: "json",
18434
18621
  ...params,
18435
18622
  }),
@@ -18450,7 +18637,7 @@ export class Api<
18450
18637
  method: "POST",
18451
18638
  body: data,
18452
18639
  secure: true,
18453
- type: "application/json",
18640
+ type: ContentType.Json,
18454
18641
  format: "json",
18455
18642
  ...params,
18456
18643
  }),
@@ -18472,7 +18659,7 @@ export class Api<
18472
18659
  method: "POST",
18473
18660
  body: data,
18474
18661
  secure: true,
18475
- type: "application/json",
18662
+ type: ContentType.Json,
18476
18663
  format: "json",
18477
18664
  ...params,
18478
18665
  }),
@@ -18498,7 +18685,7 @@ export class Api<
18498
18685
  method: "PUT",
18499
18686
  body: data,
18500
18687
  secure: true,
18501
- type: "application/json",
18688
+ type: ContentType.Json,
18502
18689
  format: "json",
18503
18690
  ...params,
18504
18691
  }),
@@ -18564,7 +18751,7 @@ export class Api<
18564
18751
  method: "POST",
18565
18752
  body: data,
18566
18753
  secure: true,
18567
- type: "application/json",
18754
+ type: ContentType.Json,
18568
18755
  ...params,
18569
18756
  }),
18570
18757
 
@@ -18586,7 +18773,7 @@ export class Api<
18586
18773
  method: "POST",
18587
18774
  body: data,
18588
18775
  secure: true,
18589
- type: "application/json",
18776
+ type: ContentType.Json,
18590
18777
  ...params,
18591
18778
  }),
18592
18779
 
@@ -18611,7 +18798,7 @@ export class Api<
18611
18798
  method: "POST",
18612
18799
  body: data,
18613
18800
  secure: true,
18614
- type: "application/json",
18801
+ type: ContentType.Json,
18615
18802
  ...params,
18616
18803
  }),
18617
18804
 
@@ -18636,7 +18823,7 @@ export class Api<
18636
18823
  method: "POST",
18637
18824
  body: data,
18638
18825
  secure: true,
18639
- type: "application/json",
18826
+ type: ContentType.Json,
18640
18827
  ...params,
18641
18828
  }),
18642
18829
 
@@ -18679,7 +18866,7 @@ export class Api<
18679
18866
  method: "PUT",
18680
18867
  body: data,
18681
18868
  secure: true,
18682
- type: "application/json",
18869
+ type: ContentType.Json,
18683
18870
  ...params,
18684
18871
  }),
18685
18872
 
@@ -18712,14 +18899,16 @@ export class Api<
18712
18899
  * @request PUT:/api/users/me
18713
18900
  * @secure
18714
18901
  * @response `200` `DetailedUser` OK
18902
+ * @response `403` `ProblemDetails` Forbidden
18903
+ * @response `409` `ProblemDetails` Conflict
18715
18904
  */
18716
18905
  replaceMe: (data: UpdateMeRequest, params: RequestParams = {}) =>
18717
- this.request<DetailedUser, any>({
18906
+ this.request<DetailedUser, ProblemDetails>({
18718
18907
  path: `/api/users/me`,
18719
18908
  method: "PUT",
18720
18909
  body: data,
18721
18910
  secure: true,
18722
- type: "application/json",
18911
+ type: ContentType.Json,
18723
18912
  format: "json",
18724
18913
  ...params,
18725
18914
  }),
@@ -18743,7 +18932,7 @@ export class Api<
18743
18932
  method: "PUT",
18744
18933
  body: data,
18745
18934
  secure: true,
18746
- type: "application/json",
18935
+ type: ContentType.Json,
18747
18936
  format: "json",
18748
18937
  ...params,
18749
18938
  }),
@@ -18820,7 +19009,7 @@ export class Api<
18820
19009
  method: "POST",
18821
19010
  body: data,
18822
19011
  secure: true,
18823
- type: "application/json",
19012
+ type: ContentType.Json,
18824
19013
  ...params,
18825
19014
  }),
18826
19015
 
@@ -18840,7 +19029,7 @@ export class Api<
18840
19029
  method: "POST",
18841
19030
  body: data,
18842
19031
  secure: true,
18843
- type: "application/json",
19032
+ type: ContentType.Json,
18844
19033
  format: "json",
18845
19034
  ...params,
18846
19035
  }),