@matech/thebigpos-sdk 2.47.1-rc0 → 2.48.0-rc1

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
@@ -525,6 +525,8 @@ export type AiQueryTemplateName =
525
525
  | "TaskStatusBreakdown"
526
526
  | "ConsentSyncHealth";
527
527
 
528
+ export type AiPromptScope = "General" | "LoanSpecific";
529
+
528
530
  export type AiPromptCategory =
529
531
  | "DocumentAnalysis"
530
532
  | "DataQuery"
@@ -582,7 +584,13 @@ export type AiAuditEventType =
582
584
  | "IntentParseFailed"
583
585
  | "LoanSearchTermDiscarded"
584
586
  | "CanonicalFieldsSelected"
585
- | "LoanAccessDenied";
587
+ | "LoanAccessDenied"
588
+ | "AgentModelCall"
589
+ | "AgentToolCallRequested"
590
+ | "AgentToolCallCompleted"
591
+ | "AgentToolCallFailed"
592
+ | "AgentLoopLimitReached"
593
+ | "RequestCancelled";
586
594
 
587
595
  export type AddressFamily =
588
596
  | "Unspecified"
@@ -671,7 +679,7 @@ export interface AccountBilling {
671
679
  }
672
680
 
673
681
  export interface AccountBillingRequest {
674
- billingType: AccountBillingRequestBillingTypeEnum;
682
+ billingType: "ClosedLoan" | "LoanOfficer";
675
683
  /** @format double */
676
684
  contractedRate: number;
677
685
  }
@@ -681,6 +689,13 @@ export interface AccountDeactivated {
681
689
  email: string;
682
690
  }
683
691
 
692
+ export interface AccountFailureCount {
693
+ /** @format uuid */
694
+ accountId: string;
695
+ /** @format int32 */
696
+ count: number;
697
+ }
698
+
684
699
  export interface AccountReactivationCompleteRequest {
685
700
  /** @format uuid */
686
701
  token: string;
@@ -719,7 +734,7 @@ export interface Action {
719
734
  comments?: string | null;
720
735
  /** @format uuid */
721
736
  siteConfigurationID: string;
722
- applicationSettings?: any | null;
737
+ applicationSettings?: any;
723
738
  surveysToken?: string | null;
724
739
  }
725
740
 
@@ -910,6 +925,7 @@ export interface AiAdminSettings {
910
925
  requestTimeoutSeconds: number;
911
926
  /** @format int32 */
912
927
  defaultTokenLimit: number;
928
+ useAgentLoop: boolean;
913
929
  bedrockRegion: string;
914
930
  }
915
931
 
@@ -925,6 +941,7 @@ export interface AiAdminSettingsRequest {
925
941
  requestTimeoutSeconds?: number | null;
926
942
  /** @format int32 */
927
943
  defaultTokenLimit?: number | null;
944
+ useAgentLoop?: boolean | null;
928
945
  }
929
946
 
930
947
  export interface AiAdminStats {
@@ -956,7 +973,36 @@ export interface AiAuditLog {
956
973
  conversationId?: string | null;
957
974
  /** @format uuid */
958
975
  messageId?: string | null;
959
- eventType: AiAuditLogEventTypeEnum;
976
+ eventType:
977
+ | "Error"
978
+ | "GuardrailBlockedPre"
979
+ | "GuardrailPassedPre"
980
+ | "IntentClassified"
981
+ | "LoanResolvedFromMessage"
982
+ | "DocumentNotFound"
983
+ | "GuardrailBlockedPost"
984
+ | "GuardrailPassedPost"
985
+ | "DocumentAnalyzed"
986
+ | "DocumentList"
987
+ | "DocumentResolutionAmbiguous"
988
+ | "ResponseGenerated"
989
+ | "ParametersExtracted"
990
+ | "QueryExecuted"
991
+ | "LoanContextNotFound"
992
+ | "LoanContextLoaded"
993
+ | "GuardrailBlockedBedrock"
994
+ | "PromptMatched"
995
+ | "QueryCondensed"
996
+ | "IntentParseFailed"
997
+ | "LoanSearchTermDiscarded"
998
+ | "CanonicalFieldsSelected"
999
+ | "LoanAccessDenied"
1000
+ | "AgentModelCall"
1001
+ | "AgentToolCallRequested"
1002
+ | "AgentToolCallCompleted"
1003
+ | "AgentToolCallFailed"
1004
+ | "AgentLoopLimitReached"
1005
+ | "RequestCancelled";
960
1006
  modelId?: string | null;
961
1007
  /** @format int32 */
962
1008
  inputTokens?: number | null;
@@ -969,7 +1015,7 @@ export interface AiAuditLog {
969
1015
  guardrailCategory?: string | null;
970
1016
  rawRequest?: string | null;
971
1017
  rawResponse?: string | null;
972
- details?: any | null;
1018
+ details?: any;
973
1019
  /** @format date-time */
974
1020
  createdAt: string;
975
1021
  }
@@ -1038,7 +1084,18 @@ export interface AiChatMessagePaginated {
1038
1084
  }
1039
1085
 
1040
1086
  export interface AiChatMetadata {
1041
- intent: AiChatMetadataIntentEnum;
1087
+ intent:
1088
+ | "Greeting"
1089
+ | "Invalid"
1090
+ | "Relevant"
1091
+ | "LoanSpecific"
1092
+ | "DocumentList"
1093
+ | "GeneralKnowledge"
1094
+ | "Blocked"
1095
+ | "Action"
1096
+ | "ConversationMeta"
1097
+ | "Capabilities"
1098
+ | "UsageReport";
1042
1099
  fieldsAccessed: string[];
1043
1100
  /** @format int64 */
1044
1101
  queryTimeMs: number;
@@ -1066,7 +1123,7 @@ export interface AiChatRequest {
1066
1123
  }
1067
1124
 
1068
1125
  export interface AiChatStructuredData {
1069
- type: AiChatStructuredDataTypeEnum;
1126
+ type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
1070
1127
  displayHint?: AiDisplayHint | null;
1071
1128
  detectedDocumentType?: string | null;
1072
1129
  columns: string[];
@@ -1151,7 +1208,7 @@ export interface AiGuardrail {
1151
1208
  /** @format uuid */
1152
1209
  id: string;
1153
1210
  name: string;
1154
- category: AiGuardrailCategoryEnum;
1211
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1155
1212
  description?: string | null;
1156
1213
  keywords: string[];
1157
1214
  responseTemplate: string;
@@ -1186,6 +1243,12 @@ export interface AiPrompt {
1186
1243
  bedrockModelId?: string | null;
1187
1244
  requiredDataSources?: string[] | null;
1188
1245
  outputType?: AiOutputType | null;
1246
+ scope?: AiPromptScope | null;
1247
+ inputHint?: string | null;
1248
+ isFeatured: boolean;
1249
+ icon?: string | null;
1250
+ agentSystemPrompt?: string | null;
1251
+ tools?: AiPromptTool[] | null;
1189
1252
  hasAccountOverride: boolean;
1190
1253
  /** @format date-time */
1191
1254
  createdAt: string;
@@ -1209,6 +1272,18 @@ export interface AiPromptSummary {
1209
1272
  bedrockModelId?: string | null;
1210
1273
  requiredDataSources?: string[] | null;
1211
1274
  outputType?: AiOutputType | null;
1275
+ scope?: AiPromptScope | null;
1276
+ inputHint?: string | null;
1277
+ isFeatured: boolean;
1278
+ icon?: string | null;
1279
+ }
1280
+
1281
+ export interface AiPromptTool {
1282
+ toolName: string;
1283
+ }
1284
+
1285
+ export interface AiPromptToolInput {
1286
+ toolName: string;
1212
1287
  }
1213
1288
 
1214
1289
  export interface AiTokenBudgetStatus {
@@ -1256,6 +1331,12 @@ export interface AiTokenUsageWindowPaginated {
1256
1331
  count: number;
1257
1332
  }
1258
1333
 
1334
+ export interface AiToolCatalogItem {
1335
+ toolName: string;
1336
+ displayName: string;
1337
+ description: string;
1338
+ }
1339
+
1259
1340
  export interface AiUrlSource {
1260
1341
  /** @format uuid */
1261
1342
  id: string;
@@ -1263,8 +1344,8 @@ export interface AiUrlSource {
1263
1344
  name: string;
1264
1345
  url: string;
1265
1346
  description?: string | null;
1266
- category: AiUrlSourceCategoryEnum;
1267
- scope: AiUrlSourceScopeEnum;
1347
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1348
+ scope: "FullDomain" | "SpecificPath";
1268
1349
  isActive: boolean;
1269
1350
  isDefault: boolean;
1270
1351
  hasAccountOverride: boolean;
@@ -1377,14 +1458,21 @@ export interface AuditLogEntry {
1377
1458
  /** @format uuid */
1378
1459
  id: string;
1379
1460
  entityType: string;
1380
- changeType: AuditLogEntryChangeTypeEnum;
1461
+ changeType:
1462
+ | "Created"
1463
+ | "Modified"
1464
+ | "SoftDeleted"
1465
+ | "HardDeleted"
1466
+ | "Restored"
1467
+ | "Deactivated"
1468
+ | "Reactivated";
1381
1469
  /** @format uuid */
1382
1470
  entityId: string;
1383
1471
  performedBy?: AuditLogUser | null;
1384
1472
  rootEntityType?: string | null;
1385
1473
  /** @format uuid */
1386
1474
  rootEntityId?: string | null;
1387
- changes?: any | null;
1475
+ changes?: any;
1388
1476
  /** @format date-time */
1389
1477
  createdAt: string;
1390
1478
  }
@@ -1429,7 +1517,20 @@ export interface BorrowerCount {
1429
1517
  firstName: string;
1430
1518
  lastName: string;
1431
1519
  email: string;
1432
- role: BorrowerCountRoleEnum;
1520
+ role:
1521
+ | "Borrower"
1522
+ | "CoBorrower"
1523
+ | "NonBorrower"
1524
+ | "LoanOfficer"
1525
+ | "LoanProcessor"
1526
+ | "LoanOfficerAssistant"
1527
+ | "SupportingLoanOfficer"
1528
+ | "BuyerAgent"
1529
+ | "SellerAgent"
1530
+ | "TitleInsuranceAgent"
1531
+ | "EscrowAgent"
1532
+ | "SettlementAgent"
1533
+ | "Admin";
1433
1534
  /** @format int32 */
1434
1535
  count: number;
1435
1536
  }
@@ -1440,7 +1541,20 @@ export interface BorrowerIdentity {
1440
1541
  firstName: string;
1441
1542
  lastName: string;
1442
1543
  email: string;
1443
- role: BorrowerIdentityRoleEnum;
1544
+ role:
1545
+ | "Borrower"
1546
+ | "CoBorrower"
1547
+ | "NonBorrower"
1548
+ | "LoanOfficer"
1549
+ | "LoanProcessor"
1550
+ | "LoanOfficerAssistant"
1551
+ | "SupportingLoanOfficer"
1552
+ | "BuyerAgent"
1553
+ | "SellerAgent"
1554
+ | "TitleInsuranceAgent"
1555
+ | "EscrowAgent"
1556
+ | "SettlementAgent"
1557
+ | "Admin";
1444
1558
  }
1445
1559
 
1446
1560
  export interface BorrowersNotUsingPosSummary {
@@ -1702,7 +1816,7 @@ export interface CorporateSearchCriteria {
1702
1816
  }
1703
1817
 
1704
1818
  export interface CreateAccessScopeRequest {
1705
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1819
+ scopeType: "User" | "Branch";
1706
1820
  /** @format uuid */
1707
1821
  userId?: string | null;
1708
1822
  /** @format uuid */
@@ -1721,7 +1835,7 @@ export interface CreateAccountRequest {
1721
1835
  /** @format int64 */
1722
1836
  nlmsid: number;
1723
1837
  settings: AccountSettingsRequest;
1724
- environment: CreateAccountRequestEnvironmentEnum;
1838
+ environment: "Development" | "Staging" | "UAT" | "Production";
1725
1839
  losIntegration: LOSIntegration;
1726
1840
  billingSettings: AccountBillingRequest;
1727
1841
  }
@@ -1737,7 +1851,7 @@ export interface CreateAiCanonicalFieldRequest {
1737
1851
 
1738
1852
  export interface CreateAiGuardrailRequest {
1739
1853
  name: string;
1740
- category: CreateAiGuardrailRequestCategoryEnum;
1854
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1741
1855
  description?: string | null;
1742
1856
  keywords: string[];
1743
1857
  responseTemplate: string;
@@ -1759,14 +1873,18 @@ export interface CreateAiPromptRequest {
1759
1873
  bedrockModelId?: string | null;
1760
1874
  requiredDataSources?: string[] | null;
1761
1875
  outputType?: AiOutputType | null;
1876
+ scope?: AiPromptScope | null;
1877
+ inputHint?: string | null;
1878
+ isFeatured: boolean;
1879
+ icon?: string | null;
1762
1880
  }
1763
1881
 
1764
1882
  export interface CreateAiUrlSourceRequest {
1765
1883
  name: string;
1766
1884
  url: string;
1767
1885
  description?: string | null;
1768
- category: CreateAiUrlSourceRequestCategoryEnum;
1769
- scope: CreateAiUrlSourceRequestScopeEnum;
1886
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1887
+ scope: "FullDomain" | "SpecificPath";
1770
1888
  }
1771
1889
 
1772
1890
  export interface CreateBranchRequest {
@@ -1791,8 +1909,15 @@ export interface CreateCustomFieldDefinitionRequest {
1791
1909
  name: string;
1792
1910
  defaultValue?: string | null;
1793
1911
  regexPattern?: string | null;
1794
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1795
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1912
+ dataType:
1913
+ | "String"
1914
+ | "Number"
1915
+ | "Decimal"
1916
+ | "Boolean"
1917
+ | "Date"
1918
+ | "SingleSelect"
1919
+ | "MultiSelect";
1920
+ entityType: "Loan";
1796
1921
  options?: CustomFieldOptionRequest[] | null;
1797
1922
  permissions?: CustomFieldPermissionRequest[] | null;
1798
1923
  }
@@ -1809,7 +1934,20 @@ export interface CreateDocumentTemplateRequest {
1809
1934
  export interface CreateGroupMemberRequest {
1810
1935
  /** @format uuid */
1811
1936
  userId: string;
1812
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
1937
+ loanRole:
1938
+ | "Borrower"
1939
+ | "CoBorrower"
1940
+ | "NonBorrower"
1941
+ | "LoanOfficer"
1942
+ | "LoanProcessor"
1943
+ | "LoanOfficerAssistant"
1944
+ | "SupportingLoanOfficer"
1945
+ | "BuyerAgent"
1946
+ | "SellerAgent"
1947
+ | "TitleInsuranceAgent"
1948
+ | "EscrowAgent"
1949
+ | "SettlementAgent"
1950
+ | "Admin";
1813
1951
  }
1814
1952
 
1815
1953
  export interface CreateInviteRequest {
@@ -1818,7 +1956,7 @@ export interface CreateInviteRequest {
1818
1956
  emailAddress: string;
1819
1957
  phoneNumber?: string | null;
1820
1958
  /** @deprecated */
1821
- relationship: CreateInviteRequestRelationshipEnum;
1959
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1822
1960
  loanID: string;
1823
1961
  route?: string | null;
1824
1962
  /** @format uuid */
@@ -1840,7 +1978,7 @@ export interface CreateLoanImportRequest {
1840
1978
  endDate: string;
1841
1979
  /** @format date-time */
1842
1980
  startDate: string;
1843
- importMode: CreateLoanImportRequestImportModeEnum;
1981
+ importMode: "All" | "NewOnly" | "UpdateOnly";
1844
1982
  }
1845
1983
 
1846
1984
  export interface CreateSession {
@@ -1862,7 +2000,20 @@ export interface CreateUserDeviceRequest {
1862
2000
  }
1863
2001
 
1864
2002
  export interface CreateUserDraft {
1865
- loanRole: CreateUserDraftLoanRoleEnum;
2003
+ loanRole:
2004
+ | "Borrower"
2005
+ | "CoBorrower"
2006
+ | "NonBorrower"
2007
+ | "LoanOfficer"
2008
+ | "LoanProcessor"
2009
+ | "LoanOfficerAssistant"
2010
+ | "SupportingLoanOfficer"
2011
+ | "BuyerAgent"
2012
+ | "SellerAgent"
2013
+ | "TitleInsuranceAgent"
2014
+ | "EscrowAgent"
2015
+ | "SettlementAgent"
2016
+ | "Admin";
1866
2017
  }
1867
2018
 
1868
2019
  export interface CreateUserGroupRequest {
@@ -1930,8 +2081,15 @@ export interface CustomFieldDefinition {
1930
2081
  name: string;
1931
2082
  defaultValue?: string | null;
1932
2083
  regexPattern?: string | null;
1933
- dataType: CustomFieldDefinitionDataTypeEnum;
1934
- entityType: CustomFieldDefinitionEntityTypeEnum;
2084
+ dataType:
2085
+ | "String"
2086
+ | "Number"
2087
+ | "Decimal"
2088
+ | "Boolean"
2089
+ | "Date"
2090
+ | "SingleSelect"
2091
+ | "MultiSelect";
2092
+ entityType: "Loan";
1935
2093
  options: CustomFieldOption[];
1936
2094
  permissions: CustomFieldPermission[];
1937
2095
  encompassMapping?: EncompassMapping | null;
@@ -1946,7 +2104,14 @@ export interface CustomFieldEntry {
1946
2104
  displayOrder: number;
1947
2105
  name: string;
1948
2106
  value: string;
1949
- dataType: CustomFieldEntryDataTypeEnum;
2107
+ dataType:
2108
+ | "String"
2109
+ | "Number"
2110
+ | "Decimal"
2111
+ | "Boolean"
2112
+ | "Date"
2113
+ | "SingleSelect"
2114
+ | "MultiSelect";
1950
2115
  }
1951
2116
 
1952
2117
  export interface CustomFieldOption {
@@ -1966,13 +2131,31 @@ export interface CustomFieldOptionRequest {
1966
2131
  export interface CustomFieldPermission {
1967
2132
  /** @format uuid */
1968
2133
  id: string;
1969
- role: CustomFieldPermissionRoleEnum;
1970
- accessLevel: CustomFieldPermissionAccessLevelEnum;
2134
+ role:
2135
+ | "Borrower"
2136
+ | "LoanOfficer"
2137
+ | "Admin"
2138
+ | "SuperAdmin"
2139
+ | "Realtor"
2140
+ | "SettlementAgent"
2141
+ | "LoanProcessor"
2142
+ | "LoanOfficerAssistant"
2143
+ | "SystemAdmin";
2144
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1971
2145
  }
1972
2146
 
1973
2147
  export interface CustomFieldPermissionRequest {
1974
- role: CustomFieldPermissionRequestRoleEnum;
1975
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2148
+ role:
2149
+ | "Borrower"
2150
+ | "LoanOfficer"
2151
+ | "Admin"
2152
+ | "SuperAdmin"
2153
+ | "Realtor"
2154
+ | "SettlementAgent"
2155
+ | "LoanProcessor"
2156
+ | "LoanOfficerAssistant"
2157
+ | "SystemAdmin";
2158
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1976
2159
  }
1977
2160
 
1978
2161
  export interface CustomFieldValue {
@@ -1984,7 +2167,14 @@ export interface CustomFieldValue {
1984
2167
  customFieldDefinitionID: string;
1985
2168
  value: string;
1986
2169
  definitionName: string;
1987
- dataType: CustomFieldValueDataTypeEnum;
2170
+ dataType:
2171
+ | "String"
2172
+ | "Number"
2173
+ | "Decimal"
2174
+ | "Boolean"
2175
+ | "Date"
2176
+ | "SingleSelect"
2177
+ | "MultiSelect";
1988
2178
  }
1989
2179
 
1990
2180
  export interface DetailedUser {
@@ -2228,7 +2418,7 @@ export interface Draft {
2228
2418
  siteConfiguration: SiteConfigurationReduced;
2229
2419
  /** @format uuid */
2230
2420
  loanID?: string | null;
2231
- type: DraftTypeEnum;
2421
+ type: "NewLoan" | "EditLoan";
2232
2422
  isCoBorrower: boolean;
2233
2423
  }
2234
2424
 
@@ -2247,7 +2437,7 @@ export interface DraftContent {
2247
2437
  siteConfiguration: SiteConfigurationReduced;
2248
2438
  /** @format uuid */
2249
2439
  loanID?: string | null;
2250
- type: DraftContentTypeEnum;
2440
+ type: "NewLoan" | "EditLoan";
2251
2441
  isCoBorrower: boolean;
2252
2442
  applicationPayload: any;
2253
2443
  }
@@ -2266,7 +2456,7 @@ export interface DraftLoanOfficerReassignRequest {
2266
2456
 
2267
2457
  export interface DraftRequest {
2268
2458
  applicationPayload: any;
2269
- customData?: any | null;
2459
+ customData?: any;
2270
2460
  isCoBorrower: boolean;
2271
2461
  }
2272
2462
 
@@ -2340,9 +2530,9 @@ export interface EncompassCredentialsDetail {
2340
2530
  clearStateIfUnlicensed: boolean;
2341
2531
  /** @deprecated */
2342
2532
  baseUrl?: string | null;
2343
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2533
+ encompassEnvironment: "Production" | "UAT";
2344
2534
  consumerConnectWidgetHost?: string | null;
2345
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2535
+ signingMethod: "ConsumerConnect" | "POSF";
2346
2536
  subscriptionId?: string | null;
2347
2537
  environment?: string | null;
2348
2538
  /** @format uuid */
@@ -2359,9 +2549,9 @@ export interface EncompassCredentialsRequest {
2359
2549
  clearStateIfUnlicensed: boolean;
2360
2550
  /** @deprecated */
2361
2551
  baseUrl?: string | null;
2362
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2552
+ encompassEnvironment: "Production" | "UAT";
2363
2553
  consumerConnectWidgetHost?: string | null;
2364
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2554
+ signingMethod: "ConsumerConnect" | "POSF";
2365
2555
  subscriptionId?: string | null;
2366
2556
  environment?: string | null;
2367
2557
  clientID?: string | null;
@@ -2483,8 +2673,15 @@ export interface EncompassRequestLog {
2483
2673
  losId?: string | null;
2484
2674
  /** @format uuid */
2485
2675
  accountId: string;
2486
- operationType: EncompassRequestLogOperationTypeEnum;
2487
- outcome: EncompassRequestLogOutcomeEnum;
2676
+ operationType:
2677
+ | "FieldUpdate"
2678
+ | "ConsentUpdate"
2679
+ | "DocumentSync"
2680
+ | "MilestoneUpdate"
2681
+ | "DocumentAttachment"
2682
+ | "General"
2683
+ | "FieldReader";
2684
+ outcome: "Success" | "Failure" | "PartialSuccess";
2488
2685
  message: string;
2489
2686
  endpoint?: string | null;
2490
2687
  httpMethod?: string | null;
@@ -2492,7 +2689,7 @@ export interface EncompassRequestLog {
2492
2689
  httpStatusCode?: number | null;
2493
2690
  /** @format int64 */
2494
2691
  durationMs?: number | null;
2495
- context?: any | null;
2692
+ context?: any;
2496
2693
  /** @format date-time */
2497
2694
  createdAt: string;
2498
2695
  }
@@ -2508,6 +2705,13 @@ export interface Error {
2508
2705
  message: string;
2509
2706
  }
2510
2707
 
2708
+ export interface FailureBucket {
2709
+ /** @format date-time */
2710
+ startUtc: string;
2711
+ /** @format int32 */
2712
+ count: number;
2713
+ }
2714
+
2511
2715
  export interface File {
2512
2716
  /** @format uuid */
2513
2717
  id: string;
@@ -2538,7 +2742,7 @@ export interface FileSearchCriteria {
2538
2742
  export interface FileWithBytes {
2539
2743
  name: string;
2540
2744
  /** @format byte */
2541
- data: Blob;
2745
+ data: string;
2542
2746
  fileName: string;
2543
2747
  mimeType?: string | null;
2544
2748
  extension?: string | null;
@@ -2617,7 +2821,7 @@ export interface FormSubmission {
2617
2821
  subjectPropertyAddressCounty?: string | null;
2618
2822
  subjectPropertyAddressState?: string | null;
2619
2823
  subjectPropertyAddressZip?: string | null;
2620
- data?: any | null;
2824
+ data?: any;
2621
2825
  /** @format uuid */
2622
2826
  listingID?: string | null;
2623
2827
  listing?: Listing | null;
@@ -2655,7 +2859,7 @@ export interface FormSubmissionRequest {
2655
2859
  subjectPropertyAddressCounty?: string | null;
2656
2860
  subjectPropertyAddressState?: string | null;
2657
2861
  subjectPropertyAddressZip?: string | null;
2658
- data?: any | null;
2862
+ data?: any;
2659
2863
  /** @format uuid */
2660
2864
  listingID?: string | null;
2661
2865
  }
@@ -2710,7 +2914,20 @@ export interface FusionFieldDisplay {
2710
2914
  }
2711
2915
 
2712
2916
  export interface FusionReportFilter {
2713
- filterType: FusionReportFilterFilterTypeEnum;
2917
+ filterType:
2918
+ | "DateGreaterThanOrEqualTo"
2919
+ | "DateGreaterThan"
2920
+ | "DateLessThan"
2921
+ | "DateLessThanOrEqualTo"
2922
+ | "DateEquals"
2923
+ | "DateDoesntEqual"
2924
+ | "DateNonEmpty"
2925
+ | "DateEmpty"
2926
+ | "StringContains"
2927
+ | "StringEquals"
2928
+ | "StringNotEmpty"
2929
+ | "StringNotEquals"
2930
+ | "StringNotContains";
2714
2931
  targetField: string;
2715
2932
  targetValue: string;
2716
2933
  }
@@ -2733,7 +2950,7 @@ export interface GenerateSystemPrompt {
2733
2950
 
2734
2951
  export interface GenerateSystemPromptRequest {
2735
2952
  description: string;
2736
- category: GenerateSystemPromptRequestCategoryEnum;
2953
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2737
2954
  }
2738
2955
 
2739
2956
  export interface GetApplications {
@@ -2829,12 +3046,45 @@ export interface GetWorkflowRequest {
2829
3046
  export interface GuidPatchOperation {
2830
3047
  op: string;
2831
3048
  path: string;
2832
- value?: any | null;
3049
+ value?: any;
2833
3050
  from?: string | null;
2834
3051
  }
2835
3052
 
2836
3053
  export interface IPAddress {
2837
- addressFamily: IpAddressAddressFamilyEnum;
3054
+ addressFamily:
3055
+ | "Unspecified"
3056
+ | "Unix"
3057
+ | "InterNetwork"
3058
+ | "ImpLink"
3059
+ | "Pup"
3060
+ | "Chaos"
3061
+ | "NS"
3062
+ | "Ipx"
3063
+ | "Iso"
3064
+ | "Osi"
3065
+ | "Ecma"
3066
+ | "DataKit"
3067
+ | "Ccitt"
3068
+ | "Sna"
3069
+ | "DecNet"
3070
+ | "DataLink"
3071
+ | "Lat"
3072
+ | "HyperChannel"
3073
+ | "AppleTalk"
3074
+ | "NetBios"
3075
+ | "VoiceView"
3076
+ | "FireFox"
3077
+ | "Banyan"
3078
+ | "Atm"
3079
+ | "InterNetworkV6"
3080
+ | "Cluster"
3081
+ | "Ieee12844"
3082
+ | "Irda"
3083
+ | "NetworkDesigners"
3084
+ | "Max"
3085
+ | "Packet"
3086
+ | "ControllerAreaNetwork"
3087
+ | "Unknown";
2838
3088
  /** @format int64 */
2839
3089
  scopeId: number;
2840
3090
  isIPv6Multicast: boolean;
@@ -3098,7 +3348,7 @@ export interface Loan {
3098
3348
  contacts: LoanContact[];
3099
3349
  customFields: CustomFieldEntry[];
3100
3350
  milestones: LoanMilestone[];
3101
- signingMethod: LoanSigningMethodEnum;
3351
+ signingMethod: "ConsumerConnect" | "POSF";
3102
3352
  }
3103
3353
 
3104
3354
  export interface LoanApplication {
@@ -3138,7 +3388,7 @@ export interface LoanApplicationRequest {
3138
3388
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3139
3389
  /** @format uuid */
3140
3390
  draftId?: string | null;
3141
- additionalFields?: Record<string, any> | null;
3391
+ additionalFields?: Record<string, any>;
3142
3392
  /** @format uuid */
3143
3393
  existingLoanId?: string | null;
3144
3394
  }
@@ -3158,7 +3408,7 @@ export interface LoanBorrower {
3158
3408
  citizenship?: LoanCitizenship | null;
3159
3409
  maritalStatus?: LoanMaritalStatus | null;
3160
3410
  languagePreference?: LoanLanguagePreference | null;
3161
- applicationStatus: LoanBorrowerApplicationStatusEnum;
3411
+ applicationStatus: "Draft" | "Complete";
3162
3412
  /** @format int32 */
3163
3413
  numberOfDependents?: number | null;
3164
3414
  /** @format int32 */
@@ -3951,7 +4201,7 @@ export interface LoanConsentRequest {
3951
4201
  borrowerEConsent?: boolean | null;
3952
4202
  borrowerCreditAuth?: boolean | null;
3953
4203
  borrowerTCPAOptIn?: boolean | null;
3954
- additionalFields?: Record<string, string> | null;
4204
+ additionalFields?: Record<string, string>;
3955
4205
  }
3956
4206
 
3957
4207
  export interface LoanContact {
@@ -3970,7 +4220,20 @@ export interface LoanContact {
3970
4220
  email?: string | null;
3971
4221
  phone?: string | null;
3972
4222
  companyName?: string | null;
3973
- role: LoanContactRoleEnum;
4223
+ role:
4224
+ | "Borrower"
4225
+ | "CoBorrower"
4226
+ | "NonBorrower"
4227
+ | "LoanOfficer"
4228
+ | "LoanProcessor"
4229
+ | "LoanOfficerAssistant"
4230
+ | "SupportingLoanOfficer"
4231
+ | "BuyerAgent"
4232
+ | "SellerAgent"
4233
+ | "TitleInsuranceAgent"
4234
+ | "EscrowAgent"
4235
+ | "SettlementAgent"
4236
+ | "Admin";
3974
4237
  }
3975
4238
 
3976
4239
  export interface LoanContactList {
@@ -3995,7 +4258,7 @@ export interface LoanCostDetails {
3995
4258
  }
3996
4259
 
3997
4260
  export interface LoanCustomFieldsRequest {
3998
- additionalFields?: Record<string, string> | null;
4261
+ additionalFields?: Record<string, string>;
3999
4262
  }
4000
4263
 
4001
4264
  export interface LoanDocument {
@@ -4048,13 +4311,39 @@ export interface LoanDocumentFolderPermission {
4048
4311
  id: string;
4049
4312
  /** @format uuid */
4050
4313
  loanDocumentFolderID: string;
4051
- role: LoanDocumentFolderPermissionRoleEnum;
4052
- level: LoanDocumentFolderPermissionLevelEnum;
4314
+ role:
4315
+ | "Borrower"
4316
+ | "CoBorrower"
4317
+ | "NonBorrower"
4318
+ | "LoanOfficer"
4319
+ | "LoanProcessor"
4320
+ | "LoanOfficerAssistant"
4321
+ | "SupportingLoanOfficer"
4322
+ | "BuyerAgent"
4323
+ | "SellerAgent"
4324
+ | "TitleInsuranceAgent"
4325
+ | "EscrowAgent"
4326
+ | "SettlementAgent"
4327
+ | "Admin";
4328
+ level: "None" | "Read" | "Write" | "Manage";
4053
4329
  }
4054
4330
 
4055
4331
  export interface LoanDocumentFolderPermissionRequest {
4056
- role: LoanDocumentFolderPermissionRequestRoleEnum;
4057
- level: LoanDocumentFolderPermissionRequestLevelEnum;
4332
+ role:
4333
+ | "Borrower"
4334
+ | "CoBorrower"
4335
+ | "NonBorrower"
4336
+ | "LoanOfficer"
4337
+ | "LoanProcessor"
4338
+ | "LoanOfficerAssistant"
4339
+ | "SupportingLoanOfficer"
4340
+ | "BuyerAgent"
4341
+ | "SellerAgent"
4342
+ | "TitleInsuranceAgent"
4343
+ | "EscrowAgent"
4344
+ | "SettlementAgent"
4345
+ | "Admin";
4346
+ level: "None" | "Read" | "Write" | "Manage";
4058
4347
  }
4059
4348
 
4060
4349
  export interface LoanDocumentFolderUsage {
@@ -4200,14 +4489,19 @@ export interface LoanImport {
4200
4489
  /** @format int32 */
4201
4490
  importedCount: number;
4202
4491
  statusMessage?: string | null;
4203
- status: LoanImportStatusEnum;
4204
- importMode: LoanImportImportModeEnum;
4492
+ status:
4493
+ | "WaitingProcess"
4494
+ | "InProgress"
4495
+ | "Completed"
4496
+ | "Failed"
4497
+ | "Cancelled";
4498
+ importMode: "All" | "NewOnly" | "UpdateOnly";
4205
4499
  /** @format date-time */
4206
4500
  createdAt?: string | null;
4207
4501
  }
4208
4502
 
4209
4503
  export interface LoanImportLog {
4210
- level: LoanImportLogLevelEnum;
4504
+ level: "None" | "Info" | "Warning" | "Error";
4211
4505
  message: string;
4212
4506
  /** @format date-time */
4213
4507
  createdAt: string;
@@ -4268,8 +4562,26 @@ export interface LoanListPaginated {
4268
4562
  export interface LoanLog {
4269
4563
  /** @format uuid */
4270
4564
  id: string;
4271
- level: LoanLogLevelEnum;
4272
- type: LoanLogTypeEnum;
4565
+ level: "None" | "Info" | "Warning" | "Error";
4566
+ type:
4567
+ | "Loan"
4568
+ | "Queue"
4569
+ | "POSFlagChanged"
4570
+ | "Verification"
4571
+ | "DocumentUploaded"
4572
+ | "LoanCreated"
4573
+ | "WorkflowSubmitted"
4574
+ | "UserInvitationSent"
4575
+ | "CoBorrowerAdded"
4576
+ | "TaskCompleted"
4577
+ | "LoanStatusChanged"
4578
+ | "Consent"
4579
+ | "SensitiveDataPurge"
4580
+ | "ClosingDateUpdated"
4581
+ | "ConsumerConnectAssociation"
4582
+ | "TaskReminderSent"
4583
+ | "DocumentClassified"
4584
+ | "CoBorrowerEmailAutoFixed";
4273
4585
  message: string;
4274
4586
  /** @format date-time */
4275
4587
  createdAt: string;
@@ -4278,8 +4590,26 @@ export interface LoanLog {
4278
4590
  export interface LoanLogDetail {
4279
4591
  /** @format uuid */
4280
4592
  id: string;
4281
- level: LoanLogDetailLevelEnum;
4282
- type: LoanLogDetailTypeEnum;
4593
+ level: "None" | "Info" | "Warning" | "Error";
4594
+ type:
4595
+ | "Loan"
4596
+ | "Queue"
4597
+ | "POSFlagChanged"
4598
+ | "Verification"
4599
+ | "DocumentUploaded"
4600
+ | "LoanCreated"
4601
+ | "WorkflowSubmitted"
4602
+ | "UserInvitationSent"
4603
+ | "CoBorrowerAdded"
4604
+ | "TaskCompleted"
4605
+ | "LoanStatusChanged"
4606
+ | "Consent"
4607
+ | "SensitiveDataPurge"
4608
+ | "ClosingDateUpdated"
4609
+ | "ConsumerConnectAssociation"
4610
+ | "TaskReminderSent"
4611
+ | "DocumentClassified"
4612
+ | "CoBorrowerEmailAutoFixed";
4283
4613
  message: string;
4284
4614
  /** @format date-time */
4285
4615
  createdAt: string;
@@ -4563,7 +4893,7 @@ export interface LoanQueueWithData {
4563
4893
  user: UserPublic;
4564
4894
  loanOfficer: LoanOfficerPublic;
4565
4895
  siteConfiguration: SiteConfigurationReduced;
4566
- data?: any | null;
4896
+ data?: any;
4567
4897
  }
4568
4898
 
4569
4899
  export interface LoanRecord {
@@ -4599,7 +4929,7 @@ export interface LoanTaskSearchRequest {
4599
4929
  }
4600
4930
 
4601
4931
  export interface LoanTaskStatusSummary {
4602
- status: LoanTaskStatusSummaryStatusEnum;
4932
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4603
4933
  /** @format int32 */
4604
4934
  count: number;
4605
4935
  }
@@ -4612,7 +4942,20 @@ export interface LoanUser {
4612
4942
  email: string;
4613
4943
  phone?: string | null;
4614
4944
  role: string;
4615
- loanRole: LoanUserLoanRoleEnum;
4945
+ loanRole:
4946
+ | "Borrower"
4947
+ | "CoBorrower"
4948
+ | "NonBorrower"
4949
+ | "LoanOfficer"
4950
+ | "LoanProcessor"
4951
+ | "LoanOfficerAssistant"
4952
+ | "SupportingLoanOfficer"
4953
+ | "BuyerAgent"
4954
+ | "SellerAgent"
4955
+ | "TitleInsuranceAgent"
4956
+ | "EscrowAgent"
4957
+ | "SettlementAgent"
4958
+ | "Admin";
4616
4959
  isUser: boolean;
4617
4960
  /** @format date-time */
4618
4961
  createdAt: string;
@@ -4635,6 +4978,7 @@ export interface LosLoanCreationRequest {
4635
4978
  borrowerPair: number;
4636
4979
  applyLoanAssociation: boolean;
4637
4980
  siteID?: string | null;
4981
+ signingMethodOverride?: SigningMethod | null;
4638
4982
  existingLoanID?: string | null;
4639
4983
  }
4640
4984
 
@@ -4648,7 +4992,13 @@ export interface LosOperationTracking {
4648
4992
  operationType: string;
4649
4993
  correlationKey: string;
4650
4994
  lastTriggerSource?: string | null;
4651
- status: LosOperationTrackingStatusEnum;
4995
+ status:
4996
+ | "Pending"
4997
+ | "Success"
4998
+ | "Failed"
4999
+ | "ConfigurationError"
5000
+ | "PermanentFailure"
5001
+ | "Locked";
4652
5002
  /** @format date-time */
4653
5003
  createdAt: string;
4654
5004
  /** @format date-time */
@@ -4676,6 +5026,8 @@ export interface LosSync {
4676
5026
  /** @format uuid */
4677
5027
  correlationId: string;
4678
5028
  /** @format uuid */
5029
+ accountId: string;
5030
+ /** @format uuid */
4679
5031
  loanId?: string | null;
4680
5032
  direction: string;
4681
5033
  eventType?: string | null;
@@ -4694,6 +5046,25 @@ export interface LosSync {
4694
5046
  steps: LosSyncStep[];
4695
5047
  }
4696
5048
 
5049
+ export interface LosSyncFailuresSearchCriteria {
5050
+ searchText?: string | null;
5051
+ /** @format date-time */
5052
+ failedFromUtc?: string | null;
5053
+ /** @format date-time */
5054
+ failedToUtc?: string | null;
5055
+ }
5056
+
5057
+ export interface LosSyncFailuresSummary {
5058
+ /** @format int32 */
5059
+ totalFailures: number;
5060
+ /** @format int32 */
5061
+ accountsAffected: number;
5062
+ topAccounts: AccountFailureCount[];
5063
+ buckets: FailureBucket[];
5064
+ /** @format int32 */
5065
+ previousTotalFailures: number;
5066
+ }
5067
+
4697
5068
  export interface LosSyncPaginated {
4698
5069
  rows: LosSync[];
4699
5070
  pagination: Pagination;
@@ -4715,7 +5086,7 @@ export interface LosSyncStep {
4715
5086
  /** @format int32 */
4716
5087
  order: number;
4717
5088
  name: string;
4718
- severity: LosSyncStepSeverityEnum;
5089
+ severity: "Success" | "Info" | "Warning" | "Error";
4719
5090
  message: string;
4720
5091
  /** @format date-time */
4721
5092
  atUtc: string;
@@ -4731,7 +5102,65 @@ export interface LosWebhook {
4731
5102
  }
4732
5103
 
4733
5104
  export interface ManualDocumentClassificationRequest {
4734
- documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5105
+ documentType:
5106
+ | "W2"
5107
+ | "Paystub"
5108
+ | "Form1099"
5109
+ | "Form1099Int"
5110
+ | "Form1099Misc"
5111
+ | "Form1099Nec"
5112
+ | "Form1099R"
5113
+ | "Form1099G"
5114
+ | "Form1099Div"
5115
+ | "Form1099Ssa"
5116
+ | "FederalTaxReturn1040"
5117
+ | "TaxReturnScheduleC"
5118
+ | "TaxReturnScheduleD"
5119
+ | "TaxReturnScheduleE"
5120
+ | "Form1065"
5121
+ | "Form1120"
5122
+ | "Form1120S"
5123
+ | "ProfitAndLossStatement"
5124
+ | "VerificationOfEmployment"
5125
+ | "BankStatement"
5126
+ | "InvestmentStatement"
5127
+ | "CreditCardStatement"
5128
+ | "MortgageStatement"
5129
+ | "PayoffStatement"
5130
+ | "HoaDocuments"
5131
+ | "UtilityBill"
5132
+ | "IdentityDocument"
5133
+ | "DemographicAddendum"
5134
+ | "Ssa89"
5135
+ | "Vba260551"
5136
+ | "Hud92900B"
5137
+ | "Check"
5138
+ | "Invoice"
5139
+ | "Receipt"
5140
+ | "LoanApplication1003"
5141
+ | "UnderwritingTransmittal1008"
5142
+ | "Other"
5143
+ | "SalesContract"
5144
+ | "TitleCommitment"
5145
+ | "DriversLicense"
5146
+ | "VerificationOfIncome"
5147
+ | "VerificationOfAssets"
5148
+ | "FloodCertificate"
5149
+ | "FraudReport"
5150
+ | "AddendumToSalesContract"
5151
+ | "GiftLetter"
5152
+ | "CpaLetter"
5153
+ | "TaxBill"
5154
+ | "CondoQuestionnaire"
5155
+ | "CondoBudget"
5156
+ | "CondoBylaws"
5157
+ | "RentalAgreements"
5158
+ | "Lease"
5159
+ | "HazardInsurance"
5160
+ | "VaCertificateOfEligibility"
5161
+ | "Appraisal"
5162
+ | "CreditReport"
5163
+ | "CondoMasterPolicy";
4735
5164
  }
4736
5165
 
4737
5166
  export interface MdmUser {
@@ -4818,7 +5247,7 @@ export interface ModuleParameterValue {
4818
5247
  parameterID: string;
4819
5248
  parameterName: string;
4820
5249
  parameterType: string;
4821
- value?: any | null;
5250
+ value?: any;
4822
5251
  isInherited: boolean;
4823
5252
  }
4824
5253
 
@@ -5004,7 +5433,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5004
5433
 
5005
5434
  export interface Operation {
5006
5435
  op?: string;
5007
- value?: object | null;
5436
+ value?: string | number | boolean | null | object;
5008
5437
  path?: string;
5009
5438
  }
5010
5439
 
@@ -5366,7 +5795,7 @@ export interface SiteConfiguration {
5366
5795
  deletedAt?: string | null;
5367
5796
  /** @format uuid */
5368
5797
  id: string;
5369
- type: SiteConfigurationTypeEnum;
5798
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5370
5799
  /** @format uuid */
5371
5800
  entityID: string;
5372
5801
  /** @format int32 */
@@ -5501,6 +5930,7 @@ export interface SiteConfiguration {
5501
5930
  /** @format uuid */
5502
5931
  addCoBorrowerAnimatedIconID?: string | null;
5503
5932
  disclosuresSSOSiteID?: string | null;
5933
+ signingMethodOverride?: SigningMethod | null;
5504
5934
  loanChannel?: string | null;
5505
5935
  loanFolder?: string | null;
5506
5936
  loanTemplate?: string | null;
@@ -5560,7 +5990,7 @@ export interface SiteConfigurationByUrl {
5560
5990
  deletedAt?: string | null;
5561
5991
  /** @format uuid */
5562
5992
  id: string;
5563
- type: SiteConfigurationByUrlTypeEnum;
5993
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5564
5994
  /** @format uuid */
5565
5995
  entityID: string;
5566
5996
  /** @format int32 */
@@ -5695,6 +6125,7 @@ export interface SiteConfigurationByUrl {
5695
6125
  /** @format uuid */
5696
6126
  addCoBorrowerAnimatedIconID?: string | null;
5697
6127
  disclosuresSSOSiteID?: string | null;
6128
+ signingMethodOverride?: SigningMethod | null;
5698
6129
  loanChannel?: string | null;
5699
6130
  loanFolder?: string | null;
5700
6131
  loanTemplate?: string | null;
@@ -5772,7 +6203,7 @@ export interface SiteConfigurationForm {
5772
6203
  export interface SiteConfigurationReduced {
5773
6204
  /** @format uuid */
5774
6205
  id: string;
5775
- type: SiteConfigurationReducedTypeEnum;
6206
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5776
6207
  url?: string | null;
5777
6208
  name: string;
5778
6209
  /** @format int64 */
@@ -5790,7 +6221,7 @@ export interface SiteConfigurationRequest {
5790
6221
  entityID: string;
5791
6222
  /** @format int32 */
5792
6223
  entityType: number;
5793
- type: SiteConfigurationRequestTypeEnum;
6224
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5794
6225
  url: string;
5795
6226
  name: string;
5796
6227
  introduction?: string | null;
@@ -5921,6 +6352,7 @@ export interface SiteConfigurationRequest {
5921
6352
  /** @format uuid */
5922
6353
  addCoBorrowerAnimatedIconID?: string | null;
5923
6354
  disclosuresSSOSiteID?: string | null;
6355
+ signingMethodOverride?: SigningMethod | null;
5924
6356
  loanChannel?: string | null;
5925
6357
  loanFolder?: string | null;
5926
6358
  loanTemplate?: string | null;
@@ -5967,7 +6399,7 @@ export interface SiteConfigurationSearchCriteria {
5967
6399
  export interface SiteConfigurationSummary {
5968
6400
  /** @format uuid */
5969
6401
  id: string;
5970
- type: SiteConfigurationSummaryTypeEnum;
6402
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5971
6403
  url?: string | null;
5972
6404
  name: string;
5973
6405
  /** @format int64 */
@@ -6006,7 +6438,7 @@ export interface SiteTile {
6006
6438
  title: string;
6007
6439
  description: string;
6008
6440
  linkUrl: string;
6009
- linkTarget: SiteTileLinkTargetEnum;
6441
+ linkTarget: "Self" | "Blank";
6010
6442
  siteTypes: SiteConfigurationType[];
6011
6443
  locations: SiteTileLocation[];
6012
6444
  audience: UserRole[];
@@ -6033,7 +6465,7 @@ export interface SiteTileRequest {
6033
6465
  title: string;
6034
6466
  description: string;
6035
6467
  linkUrl: string;
6036
- linkTarget: SiteTileRequestLinkTargetEnum;
6468
+ linkTarget: "Self" | "Blank";
6037
6469
  siteTypes: SiteConfigurationType[];
6038
6470
  locations: SiteTileLocation[];
6039
6471
  audience: UserRole[];
@@ -6057,7 +6489,7 @@ export interface SiteTileView {
6057
6489
  title: string;
6058
6490
  description: string;
6059
6491
  linkUrl: string;
6060
- linkTarget: SiteTileViewLinkTargetEnum;
6492
+ linkTarget: "Self" | "Blank";
6061
6493
  /** @format int32 */
6062
6494
  weight: number;
6063
6495
  }
@@ -6313,7 +6745,20 @@ export interface UnregisteredBorrower {
6313
6745
  lastName?: string | null;
6314
6746
  fullName?: string | null;
6315
6747
  email?: string | null;
6316
- role: UnregisteredBorrowerRoleEnum;
6748
+ role:
6749
+ | "Borrower"
6750
+ | "CoBorrower"
6751
+ | "NonBorrower"
6752
+ | "LoanOfficer"
6753
+ | "LoanProcessor"
6754
+ | "LoanOfficerAssistant"
6755
+ | "SupportingLoanOfficer"
6756
+ | "BuyerAgent"
6757
+ | "SellerAgent"
6758
+ | "TitleInsuranceAgent"
6759
+ | "EscrowAgent"
6760
+ | "SettlementAgent"
6761
+ | "Admin";
6317
6762
  }
6318
6763
 
6319
6764
  export interface UpdateAccountRequest {
@@ -6341,7 +6786,7 @@ export interface UpdateAiCanonicalFieldRequest {
6341
6786
 
6342
6787
  export interface UpdateAiGuardrailRequest {
6343
6788
  name: string;
6344
- category: UpdateAiGuardrailRequestCategoryEnum;
6789
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6345
6790
  description?: string | null;
6346
6791
  keywords: string[];
6347
6792
  responseTemplate: string;
@@ -6362,14 +6807,23 @@ export interface UpdateAiPromptRequest {
6362
6807
  bedrockModelId?: string | null;
6363
6808
  requiredDataSources?: string[] | null;
6364
6809
  outputType?: AiOutputType | null;
6810
+ scope?: AiPromptScope | null;
6811
+ inputHint?: string | null;
6812
+ isFeatured?: boolean | null;
6813
+ icon?: string | null;
6814
+ }
6815
+
6816
+ export interface UpdateAiPromptToolsRequest {
6817
+ tools: AiPromptToolInput[];
6818
+ agentSystemPrompt?: string | null;
6365
6819
  }
6366
6820
 
6367
6821
  export interface UpdateAiUrlSourceRequest {
6368
6822
  name: string;
6369
6823
  url: string;
6370
6824
  description?: string | null;
6371
- category: UpdateAiUrlSourceRequestCategoryEnum;
6372
- scope: UpdateAiUrlSourceRequestScopeEnum;
6825
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6826
+ scope: "FullDomain" | "SpecificPath";
6373
6827
  }
6374
6828
 
6375
6829
  export interface UpdateCustomFieldDefinitionRequest {
@@ -6681,7 +7135,20 @@ export interface UserDevice {
6681
7135
  export interface UserDraft {
6682
7136
  /** @format uuid */
6683
7137
  draftID: string;
6684
- role: UserDraftRoleEnum;
7138
+ role:
7139
+ | "Borrower"
7140
+ | "CoBorrower"
7141
+ | "NonBorrower"
7142
+ | "LoanOfficer"
7143
+ | "LoanProcessor"
7144
+ | "LoanOfficerAssistant"
7145
+ | "SupportingLoanOfficer"
7146
+ | "BuyerAgent"
7147
+ | "SellerAgent"
7148
+ | "TitleInsuranceAgent"
7149
+ | "EscrowAgent"
7150
+ | "SettlementAgent"
7151
+ | "Admin";
6685
7152
  user: User;
6686
7153
  }
6687
7154
 
@@ -6708,7 +7175,7 @@ export interface UserGroupAccessScope {
6708
7175
  id: string;
6709
7176
  /** @format uuid */
6710
7177
  groupId: string;
6711
- scopeType: UserGroupAccessScopeScopeTypeEnum;
7178
+ scopeType: "User" | "Branch";
6712
7179
  /** @format uuid */
6713
7180
  userId?: string | null;
6714
7181
  /** @format uuid */
@@ -6744,7 +7211,20 @@ export interface UserLoan {
6744
7211
  deletedAt?: string | null;
6745
7212
  loanID: string;
6746
7213
  user: User;
6747
- role: UserLoanRoleEnum;
7214
+ role:
7215
+ | "Borrower"
7216
+ | "CoBorrower"
7217
+ | "NonBorrower"
7218
+ | "LoanOfficer"
7219
+ | "LoanProcessor"
7220
+ | "LoanOfficerAssistant"
7221
+ | "SupportingLoanOfficer"
7222
+ | "BuyerAgent"
7223
+ | "SellerAgent"
7224
+ | "TitleInsuranceAgent"
7225
+ | "EscrowAgent"
7226
+ | "SettlementAgent"
7227
+ | "Admin";
6748
7228
  /** @format int32 */
6749
7229
  borrowerPair?: number | null;
6750
7230
  /** @format int32 */
@@ -6757,11 +7237,11 @@ export interface UserLoanConsent {
6757
7237
  id: string;
6758
7238
  /** @format uuid */
6759
7239
  userLoanID: string;
6760
- type: UserLoanConsentTypeEnum;
7240
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
6761
7241
  providedConsent: boolean;
6762
7242
  source?: ConsentSource | null;
6763
7243
  ipAddress?: string | null;
6764
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7244
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
6765
7245
  /** @format date-time */
6766
7246
  createdAt: string;
6767
7247
  /** @format date-time */
@@ -6791,847 +7271,158 @@ export interface UserLoanTask {
6791
7271
  completedBy?: User | null;
6792
7272
  /** @format int32 */
6793
7273
  commentsCount: number;
6794
- }
6795
-
6796
- export interface UserLoanTaskPaginated {
6797
- rows: UserLoanTask[];
6798
- pagination: Pagination;
6799
- /** @format int64 */
6800
- count: number;
6801
- }
6802
-
6803
- export interface UserLoanTaskRequest {
6804
- value?: string | null;
6805
- /** @format uuid */
6806
- userID: string;
6807
- }
6808
-
6809
- export interface UserLoanTaskUpdateRequest {
6810
- status?: string | null;
6811
- value?: string | null;
6812
- }
6813
-
6814
- export interface UserMobilePhoneVerificationRequest {
6815
- code: string;
6816
- }
6817
-
6818
- export interface UserNotificationSettings {
6819
- emailEnabled: boolean;
6820
- textEnabled: boolean;
6821
- textOptIn?: boolean | null;
6822
- pushEnabled: boolean;
6823
- }
6824
-
6825
- export interface UserNotificationSettingsUpdateRequest {
6826
- emailEnabled: boolean;
6827
- textEnabled: boolean;
6828
- textOptIn?: boolean | null;
6829
- pushEnabled: boolean;
6830
- }
6831
-
6832
- export interface UserPaginated {
6833
- rows: User[];
6834
- pagination: Pagination;
6835
- /** @format int64 */
6836
- count: number;
6837
- }
6838
-
6839
- export interface UserPublic {
6840
- /** @format uuid */
6841
- id: string;
6842
- role: string;
6843
- firstName: string;
6844
- lastName: string;
6845
- email: string;
6846
- phone?: string | null;
6847
- title?: string | null;
6848
- }
6849
-
6850
- export interface UserRelation {
6851
- /** @format uuid */
6852
- userId1: string;
6853
- /** @format uuid */
6854
- userId2: string;
6855
- relationType: string;
6856
- /** @format uuid */
6857
- id: string;
6858
- user1Email: string;
6859
- user1Role: string;
6860
- user2Email: string;
6861
- user2Role: string;
6862
- }
6863
-
6864
- export interface UserRelationship {
6865
- /** @format uuid */
6866
- id: string;
6867
- role: string;
6868
- firstName?: string | null;
6869
- lastName?: string | null;
6870
- email?: string | null;
6871
- phone?: string | null;
6872
- siteConfigurations: SiteConfigurationReduced[];
6873
- /** @format date-time */
6874
- createdAt?: string | null;
6875
- /** @format date-time */
6876
- deletedAt?: string | null;
6877
- }
6878
-
6879
- export interface UserRelationshipProspect {
6880
- /** @format uuid */
6881
- id: string;
6882
- role: string;
6883
- firstName: string;
6884
- lastName: string;
6885
- email: string;
6886
- contactPhone?: string | null;
6887
- licenseNumber?: string | null;
6888
- /** @format uuid */
6889
- branchID: string;
6890
- companyName?: string | null;
6891
- /** @format date-time */
6892
- createdAt?: string | null;
6893
- /** @format date-time */
6894
- deletedAt?: string | null;
6895
- }
6896
-
6897
- export interface UserSearchCriteria {
6898
- searchText?: string | null;
6899
- isActive?: boolean | null;
6900
- roles?: string[] | null;
6901
- }
6902
-
6903
- export interface UserSummary {
6904
- /** @format uuid */
6905
- id: string;
6906
- name?: string | null;
6907
- email?: string | null;
6908
- role: UserSummaryRoleEnum;
6909
- }
6910
-
6911
- export interface VerifyPasswordRequest {
6912
- email: string;
6913
- code: string;
6914
- password: string;
6915
- /** @format uuid */
6916
- siteConfigurationId?: string | null;
6917
- }
6918
-
6919
- export interface Workflow {
6920
- formType: string;
6921
- target: string;
6922
- authType: string;
6923
- name: string;
6924
- isDefault: boolean;
6925
- description: string;
6926
- slug: string;
6927
- status: string;
6928
- userRole: string;
6929
- borrowerType: string;
6930
- showProgressBar: boolean;
6931
- showTile: boolean;
6932
- tileLocation: string;
6933
- tileText: string;
6934
- tileSubtitle: string;
6935
- icon: string;
6936
- }
6937
-
6938
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6939
-
6940
- export type AiAuditLogEventTypeEnum =
6941
- | "Error"
6942
- | "GuardrailBlockedPre"
6943
- | "GuardrailPassedPre"
6944
- | "IntentClassified"
6945
- | "LoanResolvedFromMessage"
6946
- | "DocumentNotFound"
6947
- | "GuardrailBlockedPost"
6948
- | "GuardrailPassedPost"
6949
- | "DocumentAnalyzed"
6950
- | "DocumentList"
6951
- | "DocumentResolutionAmbiguous"
6952
- | "ResponseGenerated"
6953
- | "ParametersExtracted"
6954
- | "QueryExecuted"
6955
- | "LoanContextNotFound"
6956
- | "LoanContextLoaded"
6957
- | "GuardrailBlockedBedrock"
6958
- | "PromptMatched"
6959
- | "QueryCondensed"
6960
- | "IntentParseFailed"
6961
- | "LoanSearchTermDiscarded"
6962
- | "CanonicalFieldsSelected"
6963
- | "LoanAccessDenied";
6964
-
6965
- export type AiChatMetadataIntentEnum =
6966
- | "Greeting"
6967
- | "Invalid"
6968
- | "Relevant"
6969
- | "LoanSpecific"
6970
- | "DocumentList"
6971
- | "GeneralKnowledge"
6972
- | "Blocked"
6973
- | "Action"
6974
- | "ConversationMeta"
6975
- | "Capabilities"
6976
- | "UsageReport";
6977
-
6978
- export type AiChatStructuredDataTypeEnum =
6979
- | "Table"
6980
- | "DocumentAnalysis"
6981
- | "DocumentList"
6982
- | "GeneratedDocument";
6983
-
6984
- export type AiGuardrailCategoryEnum =
6985
- | "ContentSafety"
6986
- | "PromptInjection"
6987
- | "Privacy"
6988
- | "Legal";
6989
-
6990
- export type AiUrlSourceCategoryEnum =
6991
- | "Regulatory"
6992
- | "Guidelines"
6993
- | "MarketData"
6994
- | "Custom";
6995
-
6996
- export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6997
-
6998
- export type AuditLogEntryChangeTypeEnum =
6999
- | "Created"
7000
- | "Modified"
7001
- | "SoftDeleted"
7002
- | "HardDeleted"
7003
- | "Restored"
7004
- | "Deactivated"
7005
- | "Reactivated";
7006
-
7007
- export type BorrowerCountRoleEnum =
7008
- | "Borrower"
7009
- | "CoBorrower"
7010
- | "NonBorrower"
7011
- | "LoanOfficer"
7012
- | "LoanProcessor"
7013
- | "LoanOfficerAssistant"
7014
- | "SupportingLoanOfficer"
7015
- | "BuyerAgent"
7016
- | "SellerAgent"
7017
- | "TitleInsuranceAgent"
7018
- | "EscrowAgent"
7019
- | "SettlementAgent"
7020
- | "Admin";
7021
-
7022
- export type BorrowerIdentityRoleEnum =
7023
- | "Borrower"
7024
- | "CoBorrower"
7025
- | "NonBorrower"
7026
- | "LoanOfficer"
7027
- | "LoanProcessor"
7028
- | "LoanOfficerAssistant"
7029
- | "SupportingLoanOfficer"
7030
- | "BuyerAgent"
7031
- | "SellerAgent"
7032
- | "TitleInsuranceAgent"
7033
- | "EscrowAgent"
7034
- | "SettlementAgent"
7035
- | "Admin";
7036
-
7037
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
7038
-
7039
- export type CreateAccountRequestEnvironmentEnum =
7040
- | "Development"
7041
- | "Staging"
7042
- | "UAT"
7043
- | "Production";
7044
-
7045
- export type CreateAiGuardrailRequestCategoryEnum =
7046
- | "ContentSafety"
7047
- | "PromptInjection"
7048
- | "Privacy"
7049
- | "Legal";
7050
-
7051
- export type CreateAiUrlSourceRequestCategoryEnum =
7052
- | "Regulatory"
7053
- | "Guidelines"
7054
- | "MarketData"
7055
- | "Custom";
7056
-
7057
- export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7058
-
7059
- export type CreateCustomFieldDefinitionRequestDataTypeEnum =
7060
- | "String"
7061
- | "Number"
7062
- | "Decimal"
7063
- | "Boolean"
7064
- | "Date"
7065
- | "SingleSelect"
7066
- | "MultiSelect";
7067
-
7068
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
7069
-
7070
- export type CreateGroupMemberRequestLoanRoleEnum =
7071
- | "Borrower"
7072
- | "CoBorrower"
7073
- | "NonBorrower"
7074
- | "LoanOfficer"
7075
- | "LoanProcessor"
7076
- | "LoanOfficerAssistant"
7077
- | "SupportingLoanOfficer"
7078
- | "BuyerAgent"
7079
- | "SellerAgent"
7080
- | "TitleInsuranceAgent"
7081
- | "EscrowAgent"
7082
- | "SettlementAgent"
7083
- | "Admin";
7084
-
7085
- /** @deprecated */
7086
- export type CreateInviteRequestRelationshipEnum =
7087
- | "NotApplicable"
7088
- | "Spouse"
7089
- | "NonSpouse";
7090
-
7091
- export type CreateLoanImportRequestImportModeEnum =
7092
- | "All"
7093
- | "NewOnly"
7094
- | "UpdateOnly";
7095
-
7096
- export type CreateUserDraftLoanRoleEnum =
7097
- | "Borrower"
7098
- | "CoBorrower"
7099
- | "NonBorrower"
7100
- | "LoanOfficer"
7101
- | "LoanProcessor"
7102
- | "LoanOfficerAssistant"
7103
- | "SupportingLoanOfficer"
7104
- | "BuyerAgent"
7105
- | "SellerAgent"
7106
- | "TitleInsuranceAgent"
7107
- | "EscrowAgent"
7108
- | "SettlementAgent"
7109
- | "Admin";
7110
-
7111
- export type CustomFieldDefinitionDataTypeEnum =
7112
- | "String"
7113
- | "Number"
7114
- | "Decimal"
7115
- | "Boolean"
7116
- | "Date"
7117
- | "SingleSelect"
7118
- | "MultiSelect";
7119
-
7120
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
7121
-
7122
- export type CustomFieldEntryDataTypeEnum =
7123
- | "String"
7124
- | "Number"
7125
- | "Decimal"
7126
- | "Boolean"
7127
- | "Date"
7128
- | "SingleSelect"
7129
- | "MultiSelect";
7130
-
7131
- export type CustomFieldPermissionRoleEnum =
7132
- | "Borrower"
7133
- | "LoanOfficer"
7134
- | "Admin"
7135
- | "SuperAdmin"
7136
- | "Realtor"
7137
- | "SettlementAgent"
7138
- | "LoanProcessor"
7139
- | "LoanOfficerAssistant"
7140
- | "SystemAdmin";
7141
-
7142
- export type CustomFieldPermissionAccessLevelEnum =
7143
- | "NoAccess"
7144
- | "ReadOnly"
7145
- | "ReadWrite";
7146
-
7147
- export type CustomFieldPermissionRequestRoleEnum =
7148
- | "Borrower"
7149
- | "LoanOfficer"
7150
- | "Admin"
7151
- | "SuperAdmin"
7152
- | "Realtor"
7153
- | "SettlementAgent"
7154
- | "LoanProcessor"
7155
- | "LoanOfficerAssistant"
7156
- | "SystemAdmin";
7157
-
7158
- export type CustomFieldPermissionRequestAccessLevelEnum =
7159
- | "NoAccess"
7160
- | "ReadOnly"
7161
- | "ReadWrite";
7162
-
7163
- export type CustomFieldValueDataTypeEnum =
7164
- | "String"
7165
- | "Number"
7166
- | "Decimal"
7167
- | "Boolean"
7168
- | "Date"
7169
- | "SingleSelect"
7170
- | "MultiSelect";
7171
-
7172
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
7173
-
7174
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
7175
-
7176
- export type EncompassCredentialsDetailEncompassEnvironmentEnum =
7177
- | "Production"
7178
- | "UAT";
7179
-
7180
- export type EncompassCredentialsDetailSigningMethodEnum =
7181
- | "ConsumerConnect"
7182
- | "POSF";
7183
-
7184
- export type EncompassCredentialsRequestEncompassEnvironmentEnum =
7185
- | "Production"
7186
- | "UAT";
7187
-
7188
- export type EncompassCredentialsRequestSigningMethodEnum =
7189
- | "ConsumerConnect"
7190
- | "POSF";
7191
-
7192
- export type EncompassRequestLogOperationTypeEnum =
7193
- | "FieldUpdate"
7194
- | "ConsentUpdate"
7195
- | "DocumentSync"
7196
- | "MilestoneUpdate"
7197
- | "DocumentAttachment"
7198
- | "General"
7199
- | "FieldReader";
7200
-
7201
- export type EncompassRequestLogOutcomeEnum =
7202
- | "Success"
7203
- | "Failure"
7204
- | "PartialSuccess";
7205
-
7206
- export type FusionReportFilterFilterTypeEnum =
7207
- | "DateGreaterThanOrEqualTo"
7208
- | "DateGreaterThan"
7209
- | "DateLessThan"
7210
- | "DateLessThanOrEqualTo"
7211
- | "DateEquals"
7212
- | "DateDoesntEqual"
7213
- | "DateNonEmpty"
7214
- | "DateEmpty"
7215
- | "StringContains"
7216
- | "StringEquals"
7217
- | "StringNotEmpty"
7218
- | "StringNotEquals"
7219
- | "StringNotContains";
7220
-
7221
- export type GenerateSystemPromptRequestCategoryEnum =
7222
- | "DocumentAnalysis"
7223
- | "DataQuery"
7224
- | "General"
7225
- | "Action";
7226
-
7227
- export type IpAddressAddressFamilyEnum =
7228
- | "Unspecified"
7229
- | "Unix"
7230
- | "InterNetwork"
7231
- | "ImpLink"
7232
- | "Pup"
7233
- | "Chaos"
7234
- | "NS"
7235
- | "Ipx"
7236
- | "Iso"
7237
- | "Osi"
7238
- | "Ecma"
7239
- | "DataKit"
7240
- | "Ccitt"
7241
- | "Sna"
7242
- | "DecNet"
7243
- | "DataLink"
7244
- | "Lat"
7245
- | "HyperChannel"
7246
- | "AppleTalk"
7247
- | "NetBios"
7248
- | "VoiceView"
7249
- | "FireFox"
7250
- | "Banyan"
7251
- | "Atm"
7252
- | "InterNetworkV6"
7253
- | "Cluster"
7254
- | "Ieee12844"
7255
- | "Irda"
7256
- | "NetworkDesigners"
7257
- | "Max"
7258
- | "Packet"
7259
- | "ControllerAreaNetwork"
7260
- | "Unknown";
7261
-
7262
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
7263
-
7264
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7265
-
7266
- export type LoanContactRoleEnum =
7267
- | "Borrower"
7268
- | "CoBorrower"
7269
- | "NonBorrower"
7270
- | "LoanOfficer"
7271
- | "LoanProcessor"
7272
- | "LoanOfficerAssistant"
7273
- | "SupportingLoanOfficer"
7274
- | "BuyerAgent"
7275
- | "SellerAgent"
7276
- | "TitleInsuranceAgent"
7277
- | "EscrowAgent"
7278
- | "SettlementAgent"
7279
- | "Admin";
7280
-
7281
- export type LoanDocumentFolderPermissionRoleEnum =
7282
- | "Borrower"
7283
- | "CoBorrower"
7284
- | "NonBorrower"
7285
- | "LoanOfficer"
7286
- | "LoanProcessor"
7287
- | "LoanOfficerAssistant"
7288
- | "SupportingLoanOfficer"
7289
- | "BuyerAgent"
7290
- | "SellerAgent"
7291
- | "TitleInsuranceAgent"
7292
- | "EscrowAgent"
7293
- | "SettlementAgent"
7294
- | "Admin";
7295
-
7296
- export type LoanDocumentFolderPermissionLevelEnum =
7297
- | "None"
7298
- | "Read"
7299
- | "Write"
7300
- | "Manage";
7301
-
7302
- export type LoanDocumentFolderPermissionRequestRoleEnum =
7303
- | "Borrower"
7304
- | "CoBorrower"
7305
- | "NonBorrower"
7306
- | "LoanOfficer"
7307
- | "LoanProcessor"
7308
- | "LoanOfficerAssistant"
7309
- | "SupportingLoanOfficer"
7310
- | "BuyerAgent"
7311
- | "SellerAgent"
7312
- | "TitleInsuranceAgent"
7313
- | "EscrowAgent"
7314
- | "SettlementAgent"
7315
- | "Admin";
7316
-
7317
- export type LoanDocumentFolderPermissionRequestLevelEnum =
7318
- | "None"
7319
- | "Read"
7320
- | "Write"
7321
- | "Manage";
7322
-
7323
- export type LoanImportStatusEnum =
7324
- | "WaitingProcess"
7325
- | "InProgress"
7326
- | "Completed"
7327
- | "Failed"
7328
- | "Cancelled";
7329
-
7330
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
7331
-
7332
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7333
-
7334
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7335
-
7336
- export type LoanLogTypeEnum =
7337
- | "Loan"
7338
- | "Queue"
7339
- | "POSFlagChanged"
7340
- | "Verification"
7341
- | "DocumentUploaded"
7342
- | "LoanCreated"
7343
- | "WorkflowSubmitted"
7344
- | "UserInvitationSent"
7345
- | "CoBorrowerAdded"
7346
- | "TaskCompleted"
7347
- | "LoanStatusChanged"
7348
- | "Consent"
7349
- | "SensitiveDataPurge"
7350
- | "ClosingDateUpdated"
7351
- | "ConsumerConnectAssociation"
7352
- | "TaskReminderSent"
7353
- | "DocumentClassified"
7354
- | "CoBorrowerEmailAutoFixed";
7355
-
7356
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
7357
-
7358
- export type LoanLogDetailTypeEnum =
7359
- | "Loan"
7360
- | "Queue"
7361
- | "POSFlagChanged"
7362
- | "Verification"
7363
- | "DocumentUploaded"
7364
- | "LoanCreated"
7365
- | "WorkflowSubmitted"
7366
- | "UserInvitationSent"
7367
- | "CoBorrowerAdded"
7368
- | "TaskCompleted"
7369
- | "LoanStatusChanged"
7370
- | "Consent"
7371
- | "SensitiveDataPurge"
7372
- | "ClosingDateUpdated"
7373
- | "ConsumerConnectAssociation"
7374
- | "TaskReminderSent"
7375
- | "DocumentClassified"
7376
- | "CoBorrowerEmailAutoFixed";
7377
-
7378
- export type LoanTaskStatusSummaryStatusEnum =
7379
- | "Outstanding"
7380
- | "Pending"
7381
- | "Completed"
7382
- | "Rejected"
7383
- | "Unknown";
7384
-
7385
- export type LoanUserLoanRoleEnum =
7386
- | "Borrower"
7387
- | "CoBorrower"
7388
- | "NonBorrower"
7389
- | "LoanOfficer"
7390
- | "LoanProcessor"
7391
- | "LoanOfficerAssistant"
7392
- | "SupportingLoanOfficer"
7393
- | "BuyerAgent"
7394
- | "SellerAgent"
7395
- | "TitleInsuranceAgent"
7396
- | "EscrowAgent"
7397
- | "SettlementAgent"
7398
- | "Admin";
7399
-
7400
- export type LosOperationTrackingStatusEnum =
7401
- | "Pending"
7402
- | "Success"
7403
- | "Failed"
7404
- | "ConfigurationError"
7405
- | "PermanentFailure"
7406
- | "Locked";
7407
-
7408
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
7409
-
7410
- export type ManualDocumentClassificationRequestDocumentTypeEnum =
7411
- | "W2"
7412
- | "Paystub"
7413
- | "Form1099"
7414
- | "Form1099Int"
7415
- | "Form1099Misc"
7416
- | "Form1099Nec"
7417
- | "Form1099R"
7418
- | "Form1099G"
7419
- | "Form1099Div"
7420
- | "Form1099Ssa"
7421
- | "FederalTaxReturn1040"
7422
- | "TaxReturnScheduleC"
7423
- | "TaxReturnScheduleD"
7424
- | "TaxReturnScheduleE"
7425
- | "Form1065"
7426
- | "Form1120"
7427
- | "Form1120S"
7428
- | "ProfitAndLossStatement"
7429
- | "VerificationOfEmployment"
7430
- | "BankStatement"
7431
- | "InvestmentStatement"
7432
- | "CreditCardStatement"
7433
- | "MortgageStatement"
7434
- | "PayoffStatement"
7435
- | "HoaDocuments"
7436
- | "UtilityBill"
7437
- | "IdentityDocument"
7438
- | "DemographicAddendum"
7439
- | "Ssa89"
7440
- | "Vba260551"
7441
- | "Hud92900B"
7442
- | "Check"
7443
- | "Invoice"
7444
- | "Receipt"
7445
- | "LoanApplication1003"
7446
- | "UnderwritingTransmittal1008"
7447
- | "Other"
7448
- | "SalesContract"
7449
- | "TitleCommitment"
7450
- | "DriversLicense"
7451
- | "VerificationOfIncome"
7452
- | "VerificationOfAssets"
7453
- | "FloodCertificate"
7454
- | "FraudReport"
7455
- | "AddendumToSalesContract"
7456
- | "GiftLetter"
7457
- | "CpaLetter"
7458
- | "TaxBill"
7459
- | "CondoQuestionnaire"
7460
- | "CondoBudget"
7461
- | "CondoBylaws"
7462
- | "RentalAgreements"
7463
- | "Lease"
7464
- | "HazardInsurance"
7465
- | "VaCertificateOfEligibility"
7466
- | "Appraisal"
7467
- | "CreditReport"
7468
- | "CondoMasterPolicy";
7469
-
7470
- export type SiteConfigurationTypeEnum =
7471
- | "None"
7472
- | "Account"
7473
- | "Corporate"
7474
- | "Branch"
7475
- | "LoanOfficer"
7476
- | "Partner";
7477
-
7478
- export type SiteConfigurationByUrlTypeEnum =
7479
- | "None"
7480
- | "Account"
7481
- | "Corporate"
7482
- | "Branch"
7483
- | "LoanOfficer"
7484
- | "Partner";
7485
-
7486
- export type SiteConfigurationReducedTypeEnum =
7487
- | "None"
7488
- | "Account"
7489
- | "Corporate"
7490
- | "Branch"
7491
- | "LoanOfficer"
7492
- | "Partner";
7493
-
7494
- export type SiteConfigurationRequestTypeEnum =
7495
- | "None"
7496
- | "Account"
7497
- | "Corporate"
7498
- | "Branch"
7499
- | "LoanOfficer"
7500
- | "Partner";
7501
-
7502
- export type SiteConfigurationSummaryTypeEnum =
7503
- | "None"
7504
- | "Account"
7505
- | "Corporate"
7506
- | "Branch"
7507
- | "LoanOfficer"
7508
- | "Partner";
7509
-
7510
- export type SiteTileLinkTargetEnum = "Self" | "Blank";
7511
-
7512
- export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
7513
-
7514
- export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7515
-
7516
- export type UnregisteredBorrowerRoleEnum =
7517
- | "Borrower"
7518
- | "CoBorrower"
7519
- | "NonBorrower"
7520
- | "LoanOfficer"
7521
- | "LoanProcessor"
7522
- | "LoanOfficerAssistant"
7523
- | "SupportingLoanOfficer"
7524
- | "BuyerAgent"
7525
- | "SellerAgent"
7526
- | "TitleInsuranceAgent"
7527
- | "EscrowAgent"
7528
- | "SettlementAgent"
7529
- | "Admin";
7530
-
7531
- export type UpdateAiGuardrailRequestCategoryEnum =
7532
- | "ContentSafety"
7533
- | "PromptInjection"
7534
- | "Privacy"
7535
- | "Legal";
7536
-
7537
- export type UpdateAiUrlSourceRequestCategoryEnum =
7538
- | "Regulatory"
7539
- | "Guidelines"
7540
- | "MarketData"
7541
- | "Custom";
7274
+ }
7542
7275
 
7543
- export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7276
+ export interface UserLoanTaskPaginated {
7277
+ rows: UserLoanTask[];
7278
+ pagination: Pagination;
7279
+ /** @format int64 */
7280
+ count: number;
7281
+ }
7544
7282
 
7545
- export type UserDraftRoleEnum =
7546
- | "Borrower"
7547
- | "CoBorrower"
7548
- | "NonBorrower"
7549
- | "LoanOfficer"
7550
- | "LoanProcessor"
7551
- | "LoanOfficerAssistant"
7552
- | "SupportingLoanOfficer"
7553
- | "BuyerAgent"
7554
- | "SellerAgent"
7555
- | "TitleInsuranceAgent"
7556
- | "EscrowAgent"
7557
- | "SettlementAgent"
7558
- | "Admin";
7283
+ export interface UserLoanTaskRequest {
7284
+ value?: string | null;
7285
+ /** @format uuid */
7286
+ userID: string;
7287
+ }
7559
7288
 
7560
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7289
+ export interface UserLoanTaskUpdateRequest {
7290
+ status?: string | null;
7291
+ value?: string | null;
7292
+ }
7561
7293
 
7562
- export type UserLoanRoleEnum =
7563
- | "Borrower"
7564
- | "CoBorrower"
7565
- | "NonBorrower"
7566
- | "LoanOfficer"
7567
- | "LoanProcessor"
7568
- | "LoanOfficerAssistant"
7569
- | "SupportingLoanOfficer"
7570
- | "BuyerAgent"
7571
- | "SellerAgent"
7572
- | "TitleInsuranceAgent"
7573
- | "EscrowAgent"
7574
- | "SettlementAgent"
7575
- | "Admin";
7294
+ export interface UserMobilePhoneVerificationRequest {
7295
+ code: string;
7296
+ }
7576
7297
 
7577
- export type UserLoanConsentTypeEnum =
7578
- | "Econsent"
7579
- | "CreditAuthorization"
7580
- | "Tcpa";
7298
+ export interface UserNotificationSettings {
7299
+ emailEnabled: boolean;
7300
+ textEnabled: boolean;
7301
+ textOptIn?: boolean | null;
7302
+ pushEnabled: boolean;
7303
+ }
7581
7304
 
7582
- export type UserLoanConsentLosSyncStatusEnum =
7583
- | "NotStarted"
7584
- | "Failed"
7585
- | "Success";
7305
+ export interface UserNotificationSettingsUpdateRequest {
7306
+ emailEnabled: boolean;
7307
+ textEnabled: boolean;
7308
+ textOptIn?: boolean | null;
7309
+ pushEnabled: boolean;
7310
+ }
7586
7311
 
7587
- export type UserSummaryRoleEnum =
7588
- | "Borrower"
7589
- | "LoanOfficer"
7590
- | "Admin"
7591
- | "SuperAdmin"
7592
- | "Realtor"
7593
- | "SettlementAgent"
7594
- | "LoanProcessor"
7595
- | "LoanOfficerAssistant"
7596
- | "SystemAdmin";
7312
+ export interface UserPaginated {
7313
+ rows: User[];
7314
+ pagination: Pagination;
7315
+ /** @format int64 */
7316
+ count: number;
7317
+ }
7597
7318
 
7598
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7319
+ export interface UserPublic {
7320
+ /** @format uuid */
7321
+ id: string;
7322
+ role: string;
7323
+ firstName: string;
7324
+ lastName: string;
7325
+ email: string;
7326
+ phone?: string | null;
7327
+ title?: string | null;
7328
+ }
7599
7329
 
7600
- /** @default "Realtor" */
7601
- export type GetPartnersParamsRoleEnum =
7602
- | "Borrower"
7603
- | "LoanOfficer"
7604
- | "Admin"
7605
- | "SuperAdmin"
7606
- | "Realtor"
7607
- | "SettlementAgent"
7608
- | "LoanProcessor"
7609
- | "LoanOfficerAssistant"
7610
- | "SystemAdmin";
7330
+ export interface UserRelation {
7331
+ /** @format uuid */
7332
+ userId1: string;
7333
+ /** @format uuid */
7334
+ userId2: string;
7335
+ relationType: string;
7336
+ /** @format uuid */
7337
+ id: string;
7338
+ user1Email: string;
7339
+ user1Role: string;
7340
+ user2Email: string;
7341
+ user2Role: string;
7342
+ }
7343
+
7344
+ export interface UserRelationship {
7345
+ /** @format uuid */
7346
+ id: string;
7347
+ role: string;
7348
+ firstName?: string | null;
7349
+ lastName?: string | null;
7350
+ email?: string | null;
7351
+ phone?: string | null;
7352
+ siteConfigurations: SiteConfigurationReduced[];
7353
+ /** @format date-time */
7354
+ createdAt?: string | null;
7355
+ /** @format date-time */
7356
+ deletedAt?: string | null;
7357
+ }
7611
7358
 
7612
- export type GetSamlMetadataParamsSSoIntegrationEnum =
7613
- | "ConsumerConnect"
7614
- | "TheBigPOS"
7615
- | "POSF";
7359
+ export interface UserRelationshipProspect {
7360
+ /** @format uuid */
7361
+ id: string;
7362
+ role: string;
7363
+ firstName: string;
7364
+ lastName: string;
7365
+ email: string;
7366
+ contactPhone?: string | null;
7367
+ licenseNumber?: string | null;
7368
+ /** @format uuid */
7369
+ branchID: string;
7370
+ companyName?: string | null;
7371
+ /** @format date-time */
7372
+ createdAt?: string | null;
7373
+ /** @format date-time */
7374
+ deletedAt?: string | null;
7375
+ }
7616
7376
 
7617
- export type GetSamlMetadataParamsEnum =
7618
- | "ConsumerConnect"
7619
- | "TheBigPOS"
7620
- | "POSF";
7377
+ export interface UserSearchCriteria {
7378
+ searchText?: string | null;
7379
+ isActive?: boolean | null;
7380
+ roles?: string[] | null;
7381
+ }
7621
7382
 
7622
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
7623
- | "ConsumerConnect"
7624
- | "TheBigPOS"
7625
- | "POSF";
7383
+ export interface UserSummary {
7384
+ /** @format uuid */
7385
+ id: string;
7386
+ name?: string | null;
7387
+ email?: string | null;
7388
+ role:
7389
+ | "Borrower"
7390
+ | "LoanOfficer"
7391
+ | "Admin"
7392
+ | "SuperAdmin"
7393
+ | "Realtor"
7394
+ | "SettlementAgent"
7395
+ | "LoanProcessor"
7396
+ | "LoanOfficerAssistant"
7397
+ | "SystemAdmin";
7398
+ }
7626
7399
 
7627
- export type CreateOrReplaceSamlMetadataParamsEnum =
7628
- | "ConsumerConnect"
7629
- | "TheBigPOS"
7630
- | "POSF";
7400
+ export interface VerifyPasswordRequest {
7401
+ email: string;
7402
+ code: string;
7403
+ password: string;
7404
+ /** @format uuid */
7405
+ siteConfigurationId?: string | null;
7406
+ }
7631
7407
 
7632
- export type GetSiteTilesBySiteConfigurationParamsLocationEnum =
7633
- | "HomePage"
7634
- | "Dashboard";
7408
+ export interface Workflow {
7409
+ formType: string;
7410
+ target: string;
7411
+ authType: string;
7412
+ name: string;
7413
+ isDefault: boolean;
7414
+ description: string;
7415
+ slug: string;
7416
+ status: string;
7417
+ userRole: string;
7418
+ borrowerType: string;
7419
+ showProgressBar: boolean;
7420
+ showTile: boolean;
7421
+ tileLocation: string;
7422
+ tileText: string;
7423
+ tileSubtitle: string;
7424
+ icon: string;
7425
+ }
7635
7426
 
7636
7427
  import type {
7637
7428
  AxiosInstance,
@@ -7674,12 +7465,14 @@ export interface ApiConfig<SecurityDataType = unknown>
7674
7465
  format?: ResponseType;
7675
7466
  }
7676
7467
 
7677
- export type ContentType =
7678
- | "application/json"
7679
- | "application/vnd.api+json"
7680
- | "multipart/form-data"
7681
- | "application/x-www-form-urlencoded"
7682
- | "text/plain";
7468
+ export enum ContentType {
7469
+ JsonPatch = "application/json-patch+json",
7470
+ Json = "application/json",
7471
+ JsonApi = "application/vnd.api+json",
7472
+ FormData = "multipart/form-data",
7473
+ UrlEncoded = "application/x-www-form-urlencoded",
7474
+ Text = "text/plain",
7475
+ }
7683
7476
 
7684
7477
  export class HttpClient<SecurityDataType = unknown> {
7685
7478
  public instance: AxiosInstance;
@@ -7776,7 +7569,7 @@ export class HttpClient<SecurityDataType = unknown> {
7776
7569
  const responseFormat = format || this.format || undefined;
7777
7570
 
7778
7571
  if (
7779
- type === "multipart/form-data" &&
7572
+ type === ContentType.FormData &&
7780
7573
  body &&
7781
7574
  body !== null &&
7782
7575
  typeof body === "object"
@@ -7785,7 +7578,7 @@ export class HttpClient<SecurityDataType = unknown> {
7785
7578
  }
7786
7579
 
7787
7580
  if (
7788
- type === "text/plain" &&
7581
+ type === ContentType.Text &&
7789
7582
  body &&
7790
7583
  body !== null &&
7791
7584
  typeof body !== "string"
@@ -7809,7 +7602,7 @@ export class HttpClient<SecurityDataType = unknown> {
7809
7602
 
7810
7603
  /**
7811
7604
  * @title The Big POS API
7812
- * @version v2.47.0
7605
+ * @version v2.48.0
7813
7606
  * @termsOfService https://www.thebigpos.com/terms-of-use/
7814
7607
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
7815
7608
  */
@@ -7892,7 +7685,7 @@ export class Api<
7892
7685
  method: "PUT",
7893
7686
  body: data,
7894
7687
  secure: true,
7895
- type: "application/json",
7688
+ type: ContentType.Json,
7896
7689
  format: "json",
7897
7690
  ...params,
7898
7691
  }),
@@ -7936,7 +7729,7 @@ export class Api<
7936
7729
  method: "PUT",
7937
7730
  body: data,
7938
7731
  secure: true,
7939
- type: "application/json",
7732
+ type: ContentType.Json,
7940
7733
  format: "json",
7941
7734
  ...params,
7942
7735
  }),
@@ -7960,7 +7753,7 @@ export class Api<
7960
7753
  method: "POST",
7961
7754
  body: data,
7962
7755
  secure: true,
7963
- type: "application/json",
7756
+ type: ContentType.Json,
7964
7757
  ...params,
7965
7758
  }),
7966
7759
 
@@ -7984,7 +7777,7 @@ export class Api<
7984
7777
  method: "POST",
7985
7778
  body: data,
7986
7779
  secure: true,
7987
- type: "application/json",
7780
+ type: ContentType.Json,
7988
7781
  ...params,
7989
7782
  }),
7990
7783
 
@@ -8024,7 +7817,7 @@ export class Api<
8024
7817
  method: "POST",
8025
7818
  body: data,
8026
7819
  secure: true,
8027
- type: "application/json",
7820
+ type: ContentType.Json,
8028
7821
  format: "json",
8029
7822
  ...params,
8030
7823
  }),
@@ -8100,7 +7893,7 @@ export class Api<
8100
7893
  method: "PUT",
8101
7894
  body: data,
8102
7895
  secure: true,
8103
- type: "application/json",
7896
+ type: ContentType.Json,
8104
7897
  format: "json",
8105
7898
  ...params,
8106
7899
  }),
@@ -8163,7 +7956,7 @@ export class Api<
8163
7956
  method: "PUT",
8164
7957
  body: data,
8165
7958
  secure: true,
8166
- type: "application/json",
7959
+ type: ContentType.Json,
8167
7960
  ...params,
8168
7961
  }),
8169
7962
 
@@ -8206,7 +7999,7 @@ export class Api<
8206
7999
  method: "PUT",
8207
8000
  body: data,
8208
8001
  secure: true,
8209
- type: "application/json",
8002
+ type: ContentType.Json,
8210
8003
  format: "json",
8211
8004
  ...params,
8212
8005
  }),
@@ -8247,7 +8040,7 @@ export class Api<
8247
8040
  method: "POST",
8248
8041
  body: data,
8249
8042
  secure: true,
8250
- type: "application/json",
8043
+ type: ContentType.Json,
8251
8044
  format: "json",
8252
8045
  ...params,
8253
8046
  }),
@@ -8294,7 +8087,7 @@ export class Api<
8294
8087
  method: "PUT",
8295
8088
  body: data,
8296
8089
  secure: true,
8297
- type: "application/json",
8090
+ type: ContentType.Json,
8298
8091
  format: "json",
8299
8092
  ...params,
8300
8093
  }),
@@ -8319,6 +8112,52 @@ export class Api<
8319
8112
  ...params,
8320
8113
  }),
8321
8114
 
8115
+ /**
8116
+ * No description
8117
+ *
8118
+ * @tags AiAdminPrompt
8119
+ * @name GetAiTools
8120
+ * @summary List available agent tools and their settings schema
8121
+ * @request GET:/api/ai/prompts/tools
8122
+ * @secure
8123
+ * @response `200` `(AiToolCatalogItem)[]` OK
8124
+ */
8125
+ getAiTools: (params: RequestParams = {}) =>
8126
+ this.request<AiToolCatalogItem[], any>({
8127
+ path: `/api/ai/prompts/tools`,
8128
+ method: "GET",
8129
+ secure: true,
8130
+ format: "json",
8131
+ ...params,
8132
+ }),
8133
+
8134
+ /**
8135
+ * No description
8136
+ *
8137
+ * @tags AiAdminPrompt
8138
+ * @name UpdateAiPromptTools
8139
+ * @summary Replace the prompt's agent tool configuration
8140
+ * @request PUT:/api/ai/prompts/{id}/tools
8141
+ * @secure
8142
+ * @response `200` `AiPrompt` OK
8143
+ * @response `400` `ProblemDetails` Bad Request
8144
+ * @response `404` `ProblemDetails` Not Found
8145
+ */
8146
+ updateAiPromptTools: (
8147
+ id: string,
8148
+ data: UpdateAiPromptToolsRequest,
8149
+ params: RequestParams = {},
8150
+ ) =>
8151
+ this.request<AiPrompt, ProblemDetails>({
8152
+ path: `/api/ai/prompts/${id}/tools`,
8153
+ method: "PUT",
8154
+ body: data,
8155
+ secure: true,
8156
+ type: ContentType.Json,
8157
+ format: "json",
8158
+ ...params,
8159
+ }),
8160
+
8322
8161
  /**
8323
8162
  * No description
8324
8163
  *
@@ -8359,7 +8198,7 @@ export class Api<
8359
8198
  method: "POST",
8360
8199
  body: data,
8361
8200
  secure: true,
8362
- type: "application/json",
8201
+ type: ContentType.JsonPatch,
8363
8202
  format: "json",
8364
8203
  ...params,
8365
8204
  }),
@@ -8422,7 +8261,7 @@ export class Api<
8422
8261
  method: "PUT",
8423
8262
  body: data,
8424
8263
  secure: true,
8425
- type: "application/json",
8264
+ type: ContentType.Json,
8426
8265
  format: "json",
8427
8266
  ...params,
8428
8267
  }),
@@ -8644,7 +8483,7 @@ export class Api<
8644
8483
  method: "POST",
8645
8484
  body: data,
8646
8485
  secure: true,
8647
- type: "application/json",
8486
+ type: ContentType.Json,
8648
8487
  format: "json",
8649
8488
  ...params,
8650
8489
  }),
@@ -8691,7 +8530,7 @@ export class Api<
8691
8530
  method: "PUT",
8692
8531
  body: data,
8693
8532
  secure: true,
8694
- type: "application/json",
8533
+ type: ContentType.Json,
8695
8534
  format: "json",
8696
8535
  ...params,
8697
8536
  }),
@@ -8746,6 +8585,7 @@ export class Api<
8746
8585
  * @response `200` `AiChat` OK
8747
8586
  * @response `400` `ProblemDetails` Bad Request
8748
8587
  * @response `401` `ProblemDetails` Unauthorized
8588
+ * @response `429` `ProblemDetails` Too Many Requests
8749
8589
  */
8750
8590
  aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
8751
8591
  this.request<AiChat, ProblemDetails>({
@@ -8753,7 +8593,7 @@ export class Api<
8753
8593
  method: "POST",
8754
8594
  body: data,
8755
8595
  secure: true,
8756
- type: "application/json",
8596
+ type: ContentType.JsonPatch,
8757
8597
  format: "json",
8758
8598
  ...params,
8759
8599
  }),
@@ -8834,7 +8674,7 @@ export class Api<
8834
8674
  method: "PATCH",
8835
8675
  body: data,
8836
8676
  secure: true,
8837
- type: "application/json",
8677
+ type: ContentType.JsonPatch,
8838
8678
  format: "json",
8839
8679
  ...params,
8840
8680
  }),
@@ -8934,7 +8774,7 @@ export class Api<
8934
8774
  method: "PUT",
8935
8775
  body: data,
8936
8776
  secure: true,
8937
- type: "application/json",
8777
+ type: ContentType.Json,
8938
8778
  format: "json",
8939
8779
  ...params,
8940
8780
  }),
@@ -9062,7 +8902,7 @@ export class Api<
9062
8902
  method: "POST",
9063
8903
  body: data,
9064
8904
  secure: true,
9065
- type: "application/json",
8905
+ type: ContentType.Json,
9066
8906
  format: "json",
9067
8907
  ...params,
9068
8908
  }),
@@ -9109,7 +8949,7 @@ export class Api<
9109
8949
  method: "PUT",
9110
8950
  body: data,
9111
8951
  secure: true,
9112
- type: "application/json",
8952
+ type: ContentType.Json,
9113
8953
  format: "json",
9114
8954
  ...params,
9115
8955
  }),
@@ -9207,7 +9047,7 @@ export class Api<
9207
9047
  query: query,
9208
9048
  body: data,
9209
9049
  secure: true,
9210
- type: "application/json",
9050
+ type: ContentType.JsonPatch,
9211
9051
  format: "json",
9212
9052
  ...params,
9213
9053
  }),
@@ -9283,7 +9123,7 @@ export class Api<
9283
9123
  method: "PUT",
9284
9124
  body: data,
9285
9125
  secure: true,
9286
- type: "application/json",
9126
+ type: ContentType.Json,
9287
9127
  format: "json",
9288
9128
  ...params,
9289
9129
  }),
@@ -9328,7 +9168,7 @@ export class Api<
9328
9168
  method: "POST",
9329
9169
  body: data,
9330
9170
  secure: true,
9331
- type: "application/json",
9171
+ type: ContentType.Json,
9332
9172
  format: "json",
9333
9173
  ...params,
9334
9174
  }),
@@ -9376,7 +9216,7 @@ export class Api<
9376
9216
  method: "PUT",
9377
9217
  body: data,
9378
9218
  secure: true,
9379
- type: "application/json",
9219
+ type: ContentType.Json,
9380
9220
  format: "json",
9381
9221
  ...params,
9382
9222
  }),
@@ -9497,7 +9337,7 @@ export class Api<
9497
9337
  query: query,
9498
9338
  body: data,
9499
9339
  secure: true,
9500
- type: "application/json",
9340
+ type: ContentType.JsonPatch,
9501
9341
  format: "json",
9502
9342
  ...params,
9503
9343
  }),
@@ -9562,7 +9402,7 @@ export class Api<
9562
9402
  method: "POST",
9563
9403
  body: data,
9564
9404
  secure: true,
9565
- type: "application/json",
9405
+ type: ContentType.Json,
9566
9406
  format: "json",
9567
9407
  ...params,
9568
9408
  }),
@@ -9584,7 +9424,7 @@ export class Api<
9584
9424
  method: "POST",
9585
9425
  body: data,
9586
9426
  secure: true,
9587
- type: "application/json",
9427
+ type: ContentType.Json,
9588
9428
  format: "json",
9589
9429
  ...params,
9590
9430
  }),
@@ -9609,7 +9449,7 @@ export class Api<
9609
9449
  method: "POST",
9610
9450
  body: data,
9611
9451
  secure: true,
9612
- type: "application/json",
9452
+ type: ContentType.Json,
9613
9453
  format: "json",
9614
9454
  ...params,
9615
9455
  }),
@@ -9631,7 +9471,7 @@ export class Api<
9631
9471
  method: "POST",
9632
9472
  body: data,
9633
9473
  secure: true,
9634
- type: "application/json",
9474
+ type: ContentType.Json,
9635
9475
  format: "json",
9636
9476
  ...params,
9637
9477
  }),
@@ -9653,7 +9493,7 @@ export class Api<
9653
9493
  method: "POST",
9654
9494
  body: data,
9655
9495
  secure: true,
9656
- type: "application/json",
9496
+ type: ContentType.Json,
9657
9497
  format: "json",
9658
9498
  ...params,
9659
9499
  }),
@@ -9726,7 +9566,7 @@ export class Api<
9726
9566
  method: "POST",
9727
9567
  body: data,
9728
9568
  secure: true,
9729
- type: "application/json",
9569
+ type: ContentType.Json,
9730
9570
  format: "json",
9731
9571
  ...params,
9732
9572
  }),
@@ -9759,7 +9599,7 @@ export class Api<
9759
9599
  query: query,
9760
9600
  body: data,
9761
9601
  secure: true,
9762
- type: "application/json",
9602
+ type: ContentType.Json,
9763
9603
  format: "json",
9764
9604
  ...params,
9765
9605
  }),
@@ -9804,7 +9644,7 @@ export class Api<
9804
9644
  method: "PUT",
9805
9645
  body: data,
9806
9646
  secure: true,
9807
- type: "application/json",
9647
+ type: ContentType.Json,
9808
9648
  format: "json",
9809
9649
  ...params,
9810
9650
  }),
@@ -9867,7 +9707,7 @@ export class Api<
9867
9707
  method: "POST",
9868
9708
  body: data,
9869
9709
  secure: true,
9870
- type: "application/json",
9710
+ type: ContentType.Json,
9871
9711
  format: "json",
9872
9712
  ...params,
9873
9713
  }),
@@ -9921,7 +9761,7 @@ export class Api<
9921
9761
  query: query,
9922
9762
  body: data,
9923
9763
  secure: true,
9924
- type: "application/json",
9764
+ type: ContentType.Json,
9925
9765
  format: "json",
9926
9766
  ...params,
9927
9767
  }),
@@ -9990,7 +9830,7 @@ export class Api<
9990
9830
  method: "POST",
9991
9831
  body: data,
9992
9832
  secure: true,
9993
- type: "application/json",
9833
+ type: ContentType.Json,
9994
9834
  format: "json",
9995
9835
  ...params,
9996
9836
  }),
@@ -10035,7 +9875,7 @@ export class Api<
10035
9875
  method: "PUT",
10036
9876
  body: data,
10037
9877
  secure: true,
10038
- type: "application/json",
9878
+ type: ContentType.Json,
10039
9879
  format: "json",
10040
9880
  ...params,
10041
9881
  }),
@@ -10096,7 +9936,7 @@ export class Api<
10096
9936
  method: "POST",
10097
9937
  body: data,
10098
9938
  secure: true,
10099
- type: "application/json",
9939
+ type: ContentType.Json,
10100
9940
  format: "json",
10101
9941
  ...params,
10102
9942
  }),
@@ -10195,7 +10035,7 @@ export class Api<
10195
10035
  method: "POST",
10196
10036
  body: data,
10197
10037
  secure: true,
10198
- type: "application/json",
10038
+ type: ContentType.Json,
10199
10039
  format: "json",
10200
10040
  ...params,
10201
10041
  }),
@@ -10228,7 +10068,7 @@ export class Api<
10228
10068
  query: query,
10229
10069
  body: data,
10230
10070
  secure: true,
10231
- type: "application/json",
10071
+ type: ContentType.Json,
10232
10072
  format: "json",
10233
10073
  ...params,
10234
10074
  }),
@@ -10273,7 +10113,7 @@ export class Api<
10273
10113
  method: "PUT",
10274
10114
  body: data,
10275
10115
  secure: true,
10276
- type: "application/json",
10116
+ type: ContentType.Json,
10277
10117
  format: "json",
10278
10118
  ...params,
10279
10119
  }),
@@ -10335,7 +10175,7 @@ export class Api<
10335
10175
  method: "POST",
10336
10176
  body: data,
10337
10177
  secure: true,
10338
- type: "application/json",
10178
+ type: ContentType.Json,
10339
10179
  format: "json",
10340
10180
  ...params,
10341
10181
  }),
@@ -10389,7 +10229,7 @@ export class Api<
10389
10229
  query: query,
10390
10230
  body: data,
10391
10231
  secure: true,
10392
- type: "application/json",
10232
+ type: ContentType.Json,
10393
10233
  format: "json",
10394
10234
  ...params,
10395
10235
  }),
@@ -10444,7 +10284,7 @@ export class Api<
10444
10284
  */
10445
10285
  getCustomFieldDefinitions: (
10446
10286
  query?: {
10447
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
10287
+ entityType?: "Loan";
10448
10288
  },
10449
10289
  params: RequestParams = {},
10450
10290
  ) =>
@@ -10478,7 +10318,7 @@ export class Api<
10478
10318
  method: "POST",
10479
10319
  body: data,
10480
10320
  secure: true,
10481
- type: "application/json",
10321
+ type: ContentType.Json,
10482
10322
  format: "json",
10483
10323
  ...params,
10484
10324
  }),
@@ -10527,7 +10367,7 @@ export class Api<
10527
10367
  method: "PUT",
10528
10368
  body: data,
10529
10369
  secure: true,
10530
- type: "application/json",
10370
+ type: ContentType.Json,
10531
10371
  format: "json",
10532
10372
  ...params,
10533
10373
  }),
@@ -10661,7 +10501,7 @@ export class Api<
10661
10501
  method: "PUT",
10662
10502
  body: data,
10663
10503
  secure: true,
10664
- type: "application/json",
10504
+ type: ContentType.Json,
10665
10505
  format: "json",
10666
10506
  ...params,
10667
10507
  }),
@@ -10780,7 +10620,7 @@ export class Api<
10780
10620
  method: "POST",
10781
10621
  body: data,
10782
10622
  secure: true,
10783
- type: "application/json",
10623
+ type: ContentType.Json,
10784
10624
  format: "json",
10785
10625
  ...params,
10786
10626
  }),
@@ -10857,7 +10697,7 @@ export class Api<
10857
10697
  method: "PUT",
10858
10698
  body: data,
10859
10699
  secure: true,
10860
- type: "application/json",
10700
+ type: ContentType.Json,
10861
10701
  format: "json",
10862
10702
  ...params,
10863
10703
  }),
@@ -10944,7 +10784,7 @@ export class Api<
10944
10784
  method: "POST",
10945
10785
  body: data,
10946
10786
  secure: true,
10947
- type: "application/json",
10787
+ type: ContentType.Json,
10948
10788
  format: "json",
10949
10789
  ...params,
10950
10790
  }),
@@ -10993,7 +10833,7 @@ export class Api<
10993
10833
  method: "PUT",
10994
10834
  body: data,
10995
10835
  secure: true,
10996
- type: "application/json",
10836
+ type: ContentType.Json,
10997
10837
  format: "json",
10998
10838
  ...params,
10999
10839
  }),
@@ -11068,7 +10908,7 @@ export class Api<
11068
10908
  method: "POST",
11069
10909
  body: data,
11070
10910
  secure: true,
11071
- type: "application/json",
10911
+ type: ContentType.Json,
11072
10912
  format: "json",
11073
10913
  ...params,
11074
10914
  }),
@@ -11285,7 +11125,7 @@ export class Api<
11285
11125
  method: "POST",
11286
11126
  body: data,
11287
11127
  secure: true,
11288
- type: "application/json",
11128
+ type: ContentType.Json,
11289
11129
  format: "json",
11290
11130
  ...params,
11291
11131
  }),
@@ -11348,7 +11188,7 @@ export class Api<
11348
11188
  method: "POST",
11349
11189
  body: data,
11350
11190
  secure: true,
11351
- type: "multipart/form-data",
11191
+ type: ContentType.FormData,
11352
11192
  format: "json",
11353
11193
  ...params,
11354
11194
  }),
@@ -11389,7 +11229,7 @@ export class Api<
11389
11229
  method: "PUT",
11390
11230
  body: data,
11391
11231
  secure: true,
11392
- type: "application/json",
11232
+ type: ContentType.Json,
11393
11233
  format: "json",
11394
11234
  ...params,
11395
11235
  }),
@@ -11440,7 +11280,7 @@ export class Api<
11440
11280
  query: query,
11441
11281
  body: data,
11442
11282
  secure: true,
11443
- type: "application/json",
11283
+ type: ContentType.Json,
11444
11284
  format: "json",
11445
11285
  ...params,
11446
11286
  }),
@@ -11487,7 +11327,7 @@ export class Api<
11487
11327
  method: "POST",
11488
11328
  body: data,
11489
11329
  secure: true,
11490
- type: "application/json",
11330
+ type: ContentType.Json,
11491
11331
  format: "json",
11492
11332
  ...params,
11493
11333
  }),
@@ -11528,7 +11368,7 @@ export class Api<
11528
11368
  method: "PUT",
11529
11369
  body: data,
11530
11370
  secure: true,
11531
- type: "application/json",
11371
+ type: ContentType.Json,
11532
11372
  format: "json",
11533
11373
  ...params,
11534
11374
  }),
@@ -11594,7 +11434,7 @@ export class Api<
11594
11434
  method: "POST",
11595
11435
  body: data,
11596
11436
  secure: true,
11597
- type: "multipart/form-data",
11437
+ type: ContentType.FormData,
11598
11438
  format: "json",
11599
11439
  ...params,
11600
11440
  }),
@@ -11702,7 +11542,7 @@ export class Api<
11702
11542
  query: query,
11703
11543
  body: data,
11704
11544
  secure: true,
11705
- type: "application/json",
11545
+ type: ContentType.Json,
11706
11546
  format: "json",
11707
11547
  ...params,
11708
11548
  }),
@@ -11746,7 +11586,7 @@ export class Api<
11746
11586
  method: "PUT",
11747
11587
  body: data,
11748
11588
  secure: true,
11749
- type: "application/json",
11589
+ type: ContentType.Json,
11750
11590
  format: "json",
11751
11591
  ...params,
11752
11592
  }),
@@ -11797,7 +11637,7 @@ export class Api<
11797
11637
  query: query,
11798
11638
  body: data,
11799
11639
  secure: true,
11800
- type: "application/json",
11640
+ type: ContentType.Json,
11801
11641
  format: "json",
11802
11642
  ...params,
11803
11643
  }),
@@ -11841,7 +11681,7 @@ export class Api<
11841
11681
  method: "POST",
11842
11682
  body: data,
11843
11683
  secure: true,
11844
- type: "application/json",
11684
+ type: ContentType.Json,
11845
11685
  format: "json",
11846
11686
  ...params,
11847
11687
  }),
@@ -11886,7 +11726,7 @@ export class Api<
11886
11726
  method: "PUT",
11887
11727
  body: data,
11888
11728
  secure: true,
11889
- type: "application/json",
11729
+ type: ContentType.Json,
11890
11730
  format: "json",
11891
11731
  ...params,
11892
11732
  }),
@@ -11974,7 +11814,7 @@ export class Api<
11974
11814
  method: "PATCH",
11975
11815
  body: data,
11976
11816
  secure: true,
11977
- type: "application/json",
11817
+ type: ContentType.JsonPatch,
11978
11818
  format: "json",
11979
11819
  ...params,
11980
11820
  }),
@@ -11995,7 +11835,7 @@ export class Api<
11995
11835
  method: "POST",
11996
11836
  body: data,
11997
11837
  secure: true,
11998
- type: "application/json",
11838
+ type: ContentType.Json,
11999
11839
  format: "json",
12000
11840
  ...params,
12001
11841
  }),
@@ -12027,7 +11867,7 @@ export class Api<
12027
11867
  query: query,
12028
11868
  body: data,
12029
11869
  secure: true,
12030
- type: "application/json",
11870
+ type: ContentType.Json,
12031
11871
  format: "json",
12032
11872
  ...params,
12033
11873
  }),
@@ -12058,7 +11898,7 @@ export class Api<
12058
11898
  query: query,
12059
11899
  body: data,
12060
11900
  secure: true,
12061
- type: "application/json",
11901
+ type: ContentType.Json,
12062
11902
  format: "json",
12063
11903
  ...params,
12064
11904
  }),
@@ -12084,7 +11924,7 @@ export class Api<
12084
11924
  method: "PATCH",
12085
11925
  body: data,
12086
11926
  secure: true,
12087
- type: "application/json",
11927
+ type: ContentType.JsonPatch,
12088
11928
  format: "json",
12089
11929
  ...params,
12090
11930
  }),
@@ -12111,7 +11951,7 @@ export class Api<
12111
11951
  method: "PATCH",
12112
11952
  body: data,
12113
11953
  secure: true,
12114
- type: "application/json",
11954
+ type: ContentType.JsonPatch,
12115
11955
  format: "json",
12116
11956
  ...params,
12117
11957
  }),
@@ -12284,7 +12124,7 @@ export class Api<
12284
12124
  method: "POST",
12285
12125
  body: data,
12286
12126
  secure: true,
12287
- type: "multipart/form-data",
12127
+ type: ContentType.FormData,
12288
12128
  format: "json",
12289
12129
  ...params,
12290
12130
  }),
@@ -12309,7 +12149,7 @@ export class Api<
12309
12149
  method: "PATCH",
12310
12150
  body: data,
12311
12151
  secure: true,
12312
- type: "application/json",
12152
+ type: ContentType.JsonPatch,
12313
12153
  format: "json",
12314
12154
  ...params,
12315
12155
  }),
@@ -12364,7 +12204,7 @@ export class Api<
12364
12204
  method: "POST",
12365
12205
  body: data,
12366
12206
  secure: true,
12367
- type: "multipart/form-data",
12207
+ type: ContentType.FormData,
12368
12208
  format: "json",
12369
12209
  ...params,
12370
12210
  }),
@@ -12389,7 +12229,7 @@ export class Api<
12389
12229
  method: "PATCH",
12390
12230
  body: data,
12391
12231
  secure: true,
12392
- type: "application/json",
12232
+ type: ContentType.JsonPatch,
12393
12233
  format: "json",
12394
12234
  ...params,
12395
12235
  }),
@@ -12463,7 +12303,7 @@ export class Api<
12463
12303
  method: "POST",
12464
12304
  body: data,
12465
12305
  secure: true,
12466
- type: "application/json",
12306
+ type: ContentType.Json,
12467
12307
  format: "json",
12468
12308
  ...params,
12469
12309
  }),
@@ -12526,7 +12366,7 @@ export class Api<
12526
12366
  method: "PUT",
12527
12367
  body: data,
12528
12368
  secure: true,
12529
- type: "application/json",
12369
+ type: ContentType.Json,
12530
12370
  format: "json",
12531
12371
  ...params,
12532
12372
  }),
@@ -12577,7 +12417,7 @@ export class Api<
12577
12417
  query: query,
12578
12418
  body: data,
12579
12419
  secure: true,
12580
- type: "application/json",
12420
+ type: ContentType.Json,
12581
12421
  format: "json",
12582
12422
  ...params,
12583
12423
  }),
@@ -12605,7 +12445,7 @@ export class Api<
12605
12445
  method: "PUT",
12606
12446
  body: data,
12607
12447
  secure: true,
12608
- type: "multipart/form-data",
12448
+ type: ContentType.FormData,
12609
12449
  format: "json",
12610
12450
  ...params,
12611
12451
  }),
@@ -12688,7 +12528,7 @@ export class Api<
12688
12528
  method: "POST",
12689
12529
  body: data,
12690
12530
  secure: true,
12691
- type: "application/json",
12531
+ type: ContentType.Json,
12692
12532
  format: "json",
12693
12533
  ...params,
12694
12534
  }),
@@ -12735,7 +12575,7 @@ export class Api<
12735
12575
  method: "POST",
12736
12576
  body: data,
12737
12577
  secure: true,
12738
- type: "application/json",
12578
+ type: ContentType.Json,
12739
12579
  format: "json",
12740
12580
  ...params,
12741
12581
  }),
@@ -12783,7 +12623,7 @@ export class Api<
12783
12623
  method: "POST",
12784
12624
  body: data,
12785
12625
  secure: true,
12786
- type: "application/json",
12626
+ type: ContentType.Json,
12787
12627
  ...params,
12788
12628
  }),
12789
12629
 
@@ -12848,7 +12688,7 @@ export class Api<
12848
12688
  method: "PUT",
12849
12689
  body: data,
12850
12690
  secure: true,
12851
- type: "application/json",
12691
+ type: ContentType.Json,
12852
12692
  ...params,
12853
12693
  }),
12854
12694
 
@@ -12876,7 +12716,7 @@ export class Api<
12876
12716
  method: "PUT",
12877
12717
  body: data,
12878
12718
  secure: true,
12879
- type: "application/json",
12719
+ type: ContentType.Json,
12880
12720
  ...params,
12881
12721
  }),
12882
12722
 
@@ -12942,7 +12782,7 @@ export class Api<
12942
12782
  method: "POST",
12943
12783
  body: data,
12944
12784
  secure: true,
12945
- type: "application/json",
12785
+ type: ContentType.Json,
12946
12786
  format: "json",
12947
12787
  ...params,
12948
12788
  }),
@@ -12987,7 +12827,7 @@ export class Api<
12987
12827
  method: "POST",
12988
12828
  body: data,
12989
12829
  secure: true,
12990
- type: "application/json",
12830
+ type: ContentType.Json,
12991
12831
  format: "json",
12992
12832
  ...params,
12993
12833
  }),
@@ -13036,7 +12876,7 @@ export class Api<
13036
12876
  method: "PUT",
13037
12877
  body: data,
13038
12878
  secure: true,
13039
- type: "application/json",
12879
+ type: ContentType.Json,
13040
12880
  format: "json",
13041
12881
  ...params,
13042
12882
  }),
@@ -13171,7 +13011,7 @@ export class Api<
13171
13011
  method: "POST",
13172
13012
  body: data,
13173
13013
  secure: true,
13174
- type: "application/json",
13014
+ type: ContentType.Json,
13175
13015
  format: "json",
13176
13016
  ...params,
13177
13017
  }),
@@ -13205,7 +13045,7 @@ export class Api<
13205
13045
  query: query,
13206
13046
  body: data,
13207
13047
  secure: true,
13208
- type: "application/json",
13048
+ type: ContentType.Json,
13209
13049
  format: "json",
13210
13050
  ...params,
13211
13051
  }),
@@ -13235,7 +13075,7 @@ export class Api<
13235
13075
  query: query,
13236
13076
  body: data,
13237
13077
  secure: true,
13238
- type: "application/json",
13078
+ type: ContentType.Json,
13239
13079
  format: "json",
13240
13080
  ...params,
13241
13081
  }),
@@ -13248,7 +13088,7 @@ export class Api<
13248
13088
  * @summary Download By ID
13249
13089
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
13250
13090
  * @secure
13251
- * @response `200` `Blob` OK
13091
+ * @response `200` `string` OK
13252
13092
  * @response `404` `ProblemDetails` Not Found
13253
13093
  */
13254
13094
  downloadLoanDocument: (
@@ -13256,7 +13096,7 @@ export class Api<
13256
13096
  documentId: string,
13257
13097
  params: RequestParams = {},
13258
13098
  ) =>
13259
- this.request<Blob, ProblemDetails>({
13099
+ this.request<string, ProblemDetails>({
13260
13100
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
13261
13101
  method: "GET",
13262
13102
  secure: true,
@@ -13293,7 +13133,7 @@ export class Api<
13293
13133
  method: "POST",
13294
13134
  body: data,
13295
13135
  secure: true,
13296
- type: "multipart/form-data",
13136
+ type: ContentType.FormData,
13297
13137
  format: "json",
13298
13138
  ...params,
13299
13139
  }),
@@ -13343,7 +13183,7 @@ export class Api<
13343
13183
  method: "POST",
13344
13184
  body: data,
13345
13185
  secure: true,
13346
- type: "application/json",
13186
+ type: ContentType.Json,
13347
13187
  format: "json",
13348
13188
  ...params,
13349
13189
  }),
@@ -13370,7 +13210,7 @@ export class Api<
13370
13210
  method: "POST",
13371
13211
  body: data,
13372
13212
  secure: true,
13373
- type: "application/json",
13213
+ type: ContentType.Json,
13374
13214
  ...params,
13375
13215
  }),
13376
13216
 
@@ -13417,7 +13257,7 @@ export class Api<
13417
13257
  method: "POST",
13418
13258
  body: data,
13419
13259
  secure: true,
13420
- type: "application/json",
13260
+ type: ContentType.Json,
13421
13261
  format: "json",
13422
13262
  ...params,
13423
13263
  }),
@@ -13462,7 +13302,7 @@ export class Api<
13462
13302
  method: "POST",
13463
13303
  body: data,
13464
13304
  secure: true,
13465
- type: "application/json",
13305
+ type: ContentType.Json,
13466
13306
  format: "json",
13467
13307
  ...params,
13468
13308
  }),
@@ -13525,7 +13365,7 @@ export class Api<
13525
13365
  method: "PUT",
13526
13366
  body: data,
13527
13367
  secure: true,
13528
- type: "application/json",
13368
+ type: ContentType.Json,
13529
13369
  format: "json",
13530
13370
  ...params,
13531
13371
  }),
@@ -13576,7 +13416,7 @@ export class Api<
13576
13416
  query: query,
13577
13417
  body: data,
13578
13418
  secure: true,
13579
- type: "application/json",
13419
+ type: ContentType.Json,
13580
13420
  format: "json",
13581
13421
  ...params,
13582
13422
  }),
@@ -13601,7 +13441,7 @@ export class Api<
13601
13441
  method: "PUT",
13602
13442
  body: data,
13603
13443
  secure: true,
13604
- type: "application/json",
13444
+ type: ContentType.Json,
13605
13445
  format: "json",
13606
13446
  ...params,
13607
13447
  }),
@@ -13676,7 +13516,7 @@ export class Api<
13676
13516
  method: "POST",
13677
13517
  body: data,
13678
13518
  secure: true,
13679
- type: "application/json",
13519
+ type: ContentType.Json,
13680
13520
  format: "json",
13681
13521
  ...params,
13682
13522
  }),
@@ -13772,7 +13612,7 @@ export class Api<
13772
13612
  method: "POST",
13773
13613
  body: data,
13774
13614
  secure: true,
13775
- type: "application/json",
13615
+ type: ContentType.Json,
13776
13616
  format: "json",
13777
13617
  ...params,
13778
13618
  }),
@@ -13806,7 +13646,7 @@ export class Api<
13806
13646
  query: query,
13807
13647
  body: data,
13808
13648
  secure: true,
13809
- type: "application/json",
13649
+ type: ContentType.Json,
13810
13650
  format: "json",
13811
13651
  ...params,
13812
13652
  }),
@@ -13857,7 +13697,7 @@ export class Api<
13857
13697
  method: "POST",
13858
13698
  body: data,
13859
13699
  secure: true,
13860
- type: "application/json",
13700
+ type: ContentType.Json,
13861
13701
  ...params,
13862
13702
  }),
13863
13703
 
@@ -13883,7 +13723,7 @@ export class Api<
13883
13723
  method: "POST",
13884
13724
  body: data,
13885
13725
  secure: true,
13886
- type: "application/json",
13726
+ type: ContentType.Json,
13887
13727
  ...params,
13888
13728
  }),
13889
13729
 
@@ -13946,7 +13786,7 @@ export class Api<
13946
13786
  query: query,
13947
13787
  body: data,
13948
13788
  secure: true,
13949
- type: "application/json",
13789
+ type: ContentType.Json,
13950
13790
  format: "json",
13951
13791
  ...params,
13952
13792
  }),
@@ -13991,7 +13831,7 @@ export class Api<
13991
13831
  method: "POST",
13992
13832
  body: data,
13993
13833
  secure: true,
13994
- type: "application/json",
13834
+ type: ContentType.Json,
13995
13835
  format: "json",
13996
13836
  ...params,
13997
13837
  }),
@@ -14045,7 +13885,7 @@ export class Api<
14045
13885
  query: query,
14046
13886
  body: data,
14047
13887
  secure: true,
14048
- type: "application/json",
13888
+ type: ContentType.Json,
14049
13889
  format: "json",
14050
13890
  ...params,
14051
13891
  }),
@@ -14078,7 +13918,7 @@ export class Api<
14078
13918
  query: query,
14079
13919
  body: data,
14080
13920
  secure: true,
14081
- type: "application/json",
13921
+ type: ContentType.Json,
14082
13922
  format: "json",
14083
13923
  ...params,
14084
13924
  }),
@@ -14124,7 +13964,7 @@ export class Api<
14124
13964
  method: "PUT",
14125
13965
  body: data,
14126
13966
  secure: true,
14127
- type: "application/json",
13967
+ type: ContentType.Json,
14128
13968
  format: "json",
14129
13969
  ...params,
14130
13970
  }),
@@ -14225,7 +14065,7 @@ export class Api<
14225
14065
  method: "POST",
14226
14066
  body: data,
14227
14067
  secure: true,
14228
- type: "application/json",
14068
+ type: ContentType.Json,
14229
14069
  format: "json",
14230
14070
  ...params,
14231
14071
  }),
@@ -14258,7 +14098,7 @@ export class Api<
14258
14098
  query: query,
14259
14099
  body: data,
14260
14100
  secure: true,
14261
- type: "application/json",
14101
+ type: ContentType.Json,
14262
14102
  format: "json",
14263
14103
  ...params,
14264
14104
  }),
@@ -14288,7 +14128,7 @@ export class Api<
14288
14128
  method: "PATCH",
14289
14129
  body: data,
14290
14130
  secure: true,
14291
- type: "application/json",
14131
+ type: ContentType.JsonPatch,
14292
14132
  format: "json",
14293
14133
  ...params,
14294
14134
  }),
@@ -14398,7 +14238,7 @@ export class Api<
14398
14238
  method: "POST",
14399
14239
  body: data,
14400
14240
  secure: true,
14401
- type: "application/json",
14241
+ type: ContentType.Json,
14402
14242
  format: "json",
14403
14243
  ...params,
14404
14244
  }),
@@ -14434,7 +14274,7 @@ export class Api<
14434
14274
  query: query,
14435
14275
  body: data,
14436
14276
  secure: true,
14437
- type: "application/json",
14277
+ type: ContentType.Json,
14438
14278
  format: "json",
14439
14279
  ...params,
14440
14280
  }),
@@ -14486,7 +14326,7 @@ export class Api<
14486
14326
  method: "POST",
14487
14327
  body: data,
14488
14328
  secure: true,
14489
- type: "application/json",
14329
+ type: ContentType.Json,
14490
14330
  format: "json",
14491
14331
  ...params,
14492
14332
  }),
@@ -14514,7 +14354,7 @@ export class Api<
14514
14354
  method: "PUT",
14515
14355
  body: data,
14516
14356
  secure: true,
14517
- type: "application/json",
14357
+ type: ContentType.Json,
14518
14358
  format: "json",
14519
14359
  ...params,
14520
14360
  }),
@@ -14573,7 +14413,7 @@ export class Api<
14573
14413
  method: "POST",
14574
14414
  body: data,
14575
14415
  secure: true,
14576
- type: "multipart/form-data",
14416
+ type: ContentType.FormData,
14577
14417
  format: "json",
14578
14418
  ...params,
14579
14419
  }),
@@ -14601,7 +14441,7 @@ export class Api<
14601
14441
  method: "POST",
14602
14442
  body: data,
14603
14443
  secure: true,
14604
- type: "application/json",
14444
+ type: ContentType.Json,
14605
14445
  ...params,
14606
14446
  }),
14607
14447
 
@@ -14627,7 +14467,7 @@ export class Api<
14627
14467
  method: "POST",
14628
14468
  body: data,
14629
14469
  secure: true,
14630
- type: "application/json",
14470
+ type: ContentType.Json,
14631
14471
  ...params,
14632
14472
  }),
14633
14473
 
@@ -14659,7 +14499,7 @@ export class Api<
14659
14499
  query: query,
14660
14500
  body: data,
14661
14501
  secure: true,
14662
- type: "application/json",
14502
+ type: ContentType.Json,
14663
14503
  format: "json",
14664
14504
  ...params,
14665
14505
  }),
@@ -14684,7 +14524,7 @@ export class Api<
14684
14524
  method: "POST",
14685
14525
  body: data,
14686
14526
  secure: true,
14687
- type: "application/json",
14527
+ type: ContentType.Json,
14688
14528
  format: "json",
14689
14529
  ...params,
14690
14530
  }),
@@ -14771,7 +14611,7 @@ export class Api<
14771
14611
  method: "POST",
14772
14612
  body: data,
14773
14613
  secure: true,
14774
- type: "application/json",
14614
+ type: ContentType.Json,
14775
14615
  format: "json",
14776
14616
  ...params,
14777
14617
  }),
@@ -14797,7 +14637,7 @@ export class Api<
14797
14637
  method: "POST",
14798
14638
  body: data,
14799
14639
  secure: true,
14800
- type: "application/json",
14640
+ type: ContentType.Json,
14801
14641
  format: "json",
14802
14642
  ...params,
14803
14643
  }),
@@ -14824,7 +14664,7 @@ export class Api<
14824
14664
  method: "PUT",
14825
14665
  body: data,
14826
14666
  secure: true,
14827
- type: "application/json",
14667
+ type: ContentType.Json,
14828
14668
  format: "json",
14829
14669
  ...params,
14830
14670
  }),
@@ -14941,7 +14781,7 @@ export class Api<
14941
14781
  method: "POST",
14942
14782
  body: data,
14943
14783
  secure: true,
14944
- type: "application/json",
14784
+ type: ContentType.Json,
14945
14785
  format: "json",
14946
14786
  ...params,
14947
14787
  }),
@@ -15019,7 +14859,75 @@ export class Api<
15019
14859
  query: query,
15020
14860
  body: data,
15021
14861
  secure: true,
15022
- type: "application/json",
14862
+ type: ContentType.Json,
14863
+ format: "json",
14864
+ ...params,
14865
+ }),
14866
+
14867
+ /**
14868
+ * No description
14869
+ *
14870
+ * @tags LosSyncFailures
14871
+ * @name SearchInboundSyncFailures
14872
+ * @summary Search cross-account failed inbound Encompass syncs (SuperAdmin)
14873
+ * @request POST:/api/monitoring/inbound-sync-failures/search
14874
+ * @secure
14875
+ * @response `200` `LosSyncPaginated` OK
14876
+ * @response `401` `ProblemDetails` Unauthorized
14877
+ * @response `403` `ProblemDetails` Forbidden
14878
+ */
14879
+ searchInboundSyncFailures: (
14880
+ data: LosSyncFailuresSearchCriteria,
14881
+ query?: {
14882
+ /** @format int32 */
14883
+ pageSize?: number;
14884
+ /** @format int32 */
14885
+ pageNumber?: number;
14886
+ sortBy?: string;
14887
+ sortDirection?: string;
14888
+ /** @format uuid */
14889
+ accountId?: string;
14890
+ },
14891
+ params: RequestParams = {},
14892
+ ) =>
14893
+ this.request<LosSyncPaginated, ProblemDetails>({
14894
+ path: `/api/monitoring/inbound-sync-failures/search`,
14895
+ method: "POST",
14896
+ query: query,
14897
+ body: data,
14898
+ secure: true,
14899
+ type: ContentType.Json,
14900
+ format: "json",
14901
+ ...params,
14902
+ }),
14903
+
14904
+ /**
14905
+ * No description
14906
+ *
14907
+ * @tags LosSyncFailures
14908
+ * @name GetInboundSyncFailuresSummary
14909
+ * @summary Summarize cross-account failed inbound Encompass syncs (SuperAdmin)
14910
+ * @request POST:/api/monitoring/inbound-sync-failures/summary
14911
+ * @secure
14912
+ * @response `200` `LosSyncFailuresSummary` OK
14913
+ * @response `401` `ProblemDetails` Unauthorized
14914
+ * @response `403` `ProblemDetails` Forbidden
14915
+ */
14916
+ getInboundSyncFailuresSummary: (
14917
+ data: LosSyncFailuresSearchCriteria,
14918
+ query?: {
14919
+ /** @format uuid */
14920
+ accountId?: string;
14921
+ },
14922
+ params: RequestParams = {},
14923
+ ) =>
14924
+ this.request<LosSyncFailuresSummary, ProblemDetails>({
14925
+ path: `/api/monitoring/inbound-sync-failures/summary`,
14926
+ method: "POST",
14927
+ query: query,
14928
+ body: data,
14929
+ secure: true,
14930
+ type: ContentType.Json,
15023
14931
  format: "json",
15024
14932
  ...params,
15025
14933
  }),
@@ -15063,7 +14971,7 @@ export class Api<
15063
14971
  method: "POST",
15064
14972
  body: data,
15065
14973
  secure: true,
15066
- type: "application/json",
14974
+ type: ContentType.Json,
15067
14975
  format: "json",
15068
14976
  ...params,
15069
14977
  }),
@@ -15110,7 +15018,7 @@ export class Api<
15110
15018
  method: "PUT",
15111
15019
  body: data,
15112
15020
  secure: true,
15113
- type: "application/json",
15021
+ type: ContentType.Json,
15114
15022
  format: "json",
15115
15023
  ...params,
15116
15024
  }),
@@ -15156,7 +15064,7 @@ export class Api<
15156
15064
  method: "POST",
15157
15065
  body: data,
15158
15066
  secure: true,
15159
- type: "application/json",
15067
+ type: ContentType.Json,
15160
15068
  format: "json",
15161
15069
  ...params,
15162
15070
  }),
@@ -15181,7 +15089,7 @@ export class Api<
15181
15089
  method: "POST",
15182
15090
  body: data,
15183
15091
  secure: true,
15184
- type: "application/json",
15092
+ type: ContentType.Json,
15185
15093
  format: "json",
15186
15094
  ...params,
15187
15095
  }),
@@ -15206,7 +15114,7 @@ export class Api<
15206
15114
  method: "POST",
15207
15115
  body: data,
15208
15116
  secure: true,
15209
- type: "application/json",
15117
+ type: ContentType.Json,
15210
15118
  format: "json",
15211
15119
  ...params,
15212
15120
  }),
@@ -15231,7 +15139,7 @@ export class Api<
15231
15139
  method: "POST",
15232
15140
  body: data,
15233
15141
  secure: true,
15234
- type: "application/json",
15142
+ type: ContentType.Json,
15235
15143
  format: "json",
15236
15144
  ...params,
15237
15145
  }),
@@ -15256,7 +15164,7 @@ export class Api<
15256
15164
  method: "POST",
15257
15165
  body: data,
15258
15166
  secure: true,
15259
- type: "application/json",
15167
+ type: ContentType.Json,
15260
15168
  format: "json",
15261
15169
  ...params,
15262
15170
  }),
@@ -15306,7 +15214,7 @@ export class Api<
15306
15214
  method: "POST",
15307
15215
  body: data,
15308
15216
  secure: true,
15309
- type: "application/json",
15217
+ type: ContentType.Json,
15310
15218
  format: "json",
15311
15219
  ...params,
15312
15220
  }),
@@ -15339,7 +15247,7 @@ export class Api<
15339
15247
  query: query,
15340
15248
  body: data,
15341
15249
  secure: true,
15342
- type: "application/json",
15250
+ type: ContentType.Json,
15343
15251
  format: "json",
15344
15252
  ...params,
15345
15253
  }),
@@ -15384,7 +15292,7 @@ export class Api<
15384
15292
  method: "PUT",
15385
15293
  body: data,
15386
15294
  secure: true,
15387
- type: "application/json",
15295
+ type: ContentType.Json,
15388
15296
  format: "json",
15389
15297
  ...params,
15390
15298
  }),
@@ -15468,7 +15376,7 @@ export class Api<
15468
15376
  method: "POST",
15469
15377
  body: data,
15470
15378
  secure: true,
15471
- type: "application/json",
15379
+ type: ContentType.Json,
15472
15380
  format: "json",
15473
15381
  ...params,
15474
15382
  }),
@@ -15517,7 +15425,7 @@ export class Api<
15517
15425
  method: "PUT",
15518
15426
  body: data,
15519
15427
  secure: true,
15520
- type: "application/json",
15428
+ type: ContentType.Json,
15521
15429
  format: "json",
15522
15430
  ...params,
15523
15431
  }),
@@ -15559,7 +15467,16 @@ export class Api<
15559
15467
  query?: {
15560
15468
  showAll?: boolean;
15561
15469
  /** @default "Realtor" */
15562
- role?: GetPartnersParamsRoleEnum;
15470
+ role?:
15471
+ | "Borrower"
15472
+ | "LoanOfficer"
15473
+ | "Admin"
15474
+ | "SuperAdmin"
15475
+ | "Realtor"
15476
+ | "SettlementAgent"
15477
+ | "LoanProcessor"
15478
+ | "LoanOfficerAssistant"
15479
+ | "SystemAdmin";
15563
15480
  /** @format int32 */
15564
15481
  pageSize?: number;
15565
15482
  /** @format int32 */
@@ -15606,7 +15523,7 @@ export class Api<
15606
15523
  query: query,
15607
15524
  body: data,
15608
15525
  secure: true,
15609
- type: "application/json",
15526
+ type: ContentType.Json,
15610
15527
  format: "json",
15611
15528
  ...params,
15612
15529
  }),
@@ -15651,7 +15568,7 @@ export class Api<
15651
15568
  method: "POST",
15652
15569
  body: data,
15653
15570
  secure: true,
15654
- type: "application/json",
15571
+ type: ContentType.Json,
15655
15572
  format: "json",
15656
15573
  ...params,
15657
15574
  }),
@@ -15705,7 +15622,7 @@ export class Api<
15705
15622
  query: query,
15706
15623
  body: data,
15707
15624
  secure: true,
15708
- type: "application/json",
15625
+ type: ContentType.Json,
15709
15626
  format: "json",
15710
15627
  ...params,
15711
15628
  }),
@@ -15750,7 +15667,7 @@ export class Api<
15750
15667
  method: "POST",
15751
15668
  body: data,
15752
15669
  secure: true,
15753
- type: "application/json",
15670
+ type: ContentType.Json,
15754
15671
  format: "json",
15755
15672
  ...params,
15756
15673
  }),
@@ -15802,7 +15719,7 @@ export class Api<
15802
15719
  method: "POST",
15803
15720
  body: data,
15804
15721
  secure: true,
15805
- type: "application/json",
15722
+ type: ContentType.Json,
15806
15723
  format: "json",
15807
15724
  ...params,
15808
15725
  }),
@@ -15859,7 +15776,7 @@ export class Api<
15859
15776
  query: query,
15860
15777
  body: data,
15861
15778
  secure: true,
15862
- type: "application/json",
15779
+ type: ContentType.Json,
15863
15780
  format: "json",
15864
15781
  ...params,
15865
15782
  }),
@@ -15895,7 +15812,7 @@ export class Api<
15895
15812
  * @response `404` `ProblemDetails` Not Found
15896
15813
  */
15897
15814
  getSamlMetadata: (
15898
- sSoIntegration: GetSamlMetadataParamsEnum,
15815
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
15899
15816
  ssoIntegration: string,
15900
15817
  params: RequestParams = {},
15901
15818
  ) =>
@@ -15917,7 +15834,7 @@ export class Api<
15917
15834
  * @response `200` `File` OK
15918
15835
  */
15919
15836
  createOrReplaceSamlMetadata: (
15920
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
15837
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
15921
15838
  ssoIntegration: string,
15922
15839
  params: RequestParams = {},
15923
15840
  ) =>
@@ -16042,7 +15959,7 @@ export class Api<
16042
15959
  method: "POST",
16043
15960
  body: data,
16044
15961
  secure: true,
16045
- type: "application/json",
15962
+ type: ContentType.Json,
16046
15963
  format: "json",
16047
15964
  ...params,
16048
15965
  }),
@@ -16076,7 +15993,7 @@ export class Api<
16076
15993
  query: query,
16077
15994
  body: data,
16078
15995
  secure: true,
16079
- type: "application/json",
15996
+ type: ContentType.Json,
16080
15997
  format: "json",
16081
15998
  ...params,
16082
15999
  }),
@@ -16097,7 +16014,7 @@ export class Api<
16097
16014
  query?: {
16098
16015
  /** @format uuid */
16099
16016
  siteConfigurationId?: string;
16100
- location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
16017
+ location?: "HomePage" | "Dashboard";
16101
16018
  },
16102
16019
  params: RequestParams = {},
16103
16020
  ) =>
@@ -16154,7 +16071,7 @@ export class Api<
16154
16071
  method: "PUT",
16155
16072
  body: data,
16156
16073
  secure: true,
16157
- type: "application/json",
16074
+ type: ContentType.Json,
16158
16075
  format: "json",
16159
16076
  ...params,
16160
16077
  }),
@@ -16197,7 +16114,7 @@ export class Api<
16197
16114
  method: "POST",
16198
16115
  body: data,
16199
16116
  secure: true,
16200
- type: "application/json",
16117
+ type: ContentType.Json,
16201
16118
  format: "json",
16202
16119
  ...params,
16203
16120
  }),
@@ -16245,7 +16162,7 @@ export class Api<
16245
16162
  method: "POST",
16246
16163
  body: data,
16247
16164
  secure: true,
16248
- type: "application/json",
16165
+ type: ContentType.Json,
16249
16166
  format: "json",
16250
16167
  ...params,
16251
16168
  }),
@@ -16297,7 +16214,7 @@ export class Api<
16297
16214
  method: "POST",
16298
16215
  body: data,
16299
16216
  secure: true,
16300
- type: "application/json",
16217
+ type: ContentType.Json,
16301
16218
  format: "json",
16302
16219
  ...params,
16303
16220
  }),
@@ -16339,7 +16256,7 @@ export class Api<
16339
16256
  method: "PUT",
16340
16257
  body: data,
16341
16258
  secure: true,
16342
- type: "application/json",
16259
+ type: ContentType.Json,
16343
16260
  format: "json",
16344
16261
  ...params,
16345
16262
  }),
@@ -16391,7 +16308,7 @@ export class Api<
16391
16308
  query: query,
16392
16309
  body: data,
16393
16310
  secure: true,
16394
- type: "application/json",
16311
+ type: ContentType.Json,
16395
16312
  format: "json",
16396
16313
  ...params,
16397
16314
  }),
@@ -16414,7 +16331,7 @@ export class Api<
16414
16331
  method: "POST",
16415
16332
  body: data,
16416
16333
  secure: true,
16417
- type: "application/json",
16334
+ type: ContentType.Json,
16418
16335
  ...params,
16419
16336
  }),
16420
16337
 
@@ -16447,7 +16364,7 @@ export class Api<
16447
16364
  query: query,
16448
16365
  body: data,
16449
16366
  secure: true,
16450
- type: "application/json",
16367
+ type: ContentType.Json,
16451
16368
  format: "json",
16452
16369
  ...params,
16453
16370
  }),
@@ -16491,7 +16408,7 @@ export class Api<
16491
16408
  method: "POST",
16492
16409
  body: data,
16493
16410
  secure: true,
16494
- type: "application/json",
16411
+ type: ContentType.Json,
16495
16412
  format: "json",
16496
16413
  ...params,
16497
16414
  }),
@@ -16515,7 +16432,7 @@ export class Api<
16515
16432
  method: "PUT",
16516
16433
  body: data,
16517
16434
  secure: true,
16518
- type: "application/json",
16435
+ type: ContentType.Json,
16519
16436
  format: "json",
16520
16437
  ...params,
16521
16438
  }),
@@ -16558,7 +16475,7 @@ export class Api<
16558
16475
  method: "POST",
16559
16476
  body: data,
16560
16477
  secure: true,
16561
- type: "application/json",
16478
+ type: ContentType.Json,
16562
16479
  format: "json",
16563
16480
  ...params,
16564
16481
  }),
@@ -16610,7 +16527,7 @@ export class Api<
16610
16527
  query: query,
16611
16528
  body: data,
16612
16529
  secure: true,
16613
- type: "application/json",
16530
+ type: ContentType.Json,
16614
16531
  format: "json",
16615
16532
  ...params,
16616
16533
  }),
@@ -16784,7 +16701,7 @@ export class Api<
16784
16701
  method: "POST",
16785
16702
  body: data,
16786
16703
  secure: true,
16787
- type: "application/json",
16704
+ type: ContentType.Json,
16788
16705
  format: "json",
16789
16706
  ...params,
16790
16707
  }),
@@ -16883,7 +16800,7 @@ export class Api<
16883
16800
  method: "POST",
16884
16801
  body: data,
16885
16802
  secure: true,
16886
- type: "application/json",
16803
+ type: ContentType.Json,
16887
16804
  format: "json",
16888
16805
  ...params,
16889
16806
  }),
@@ -16949,7 +16866,7 @@ export class Api<
16949
16866
  method: "POST",
16950
16867
  body: data,
16951
16868
  secure: true,
16952
- type: "application/json",
16869
+ type: ContentType.Json,
16953
16870
  format: "json",
16954
16871
  ...params,
16955
16872
  }),
@@ -17020,7 +16937,7 @@ export class Api<
17020
16937
  query: query,
17021
16938
  body: data,
17022
16939
  secure: true,
17023
- type: "application/json",
16940
+ type: ContentType.Json,
17024
16941
  format: "json",
17025
16942
  ...params,
17026
16943
  }),
@@ -17117,7 +17034,7 @@ export class Api<
17117
17034
  method: "PUT",
17118
17035
  body: data,
17119
17036
  secure: true,
17120
- type: "application/json",
17037
+ type: ContentType.Json,
17121
17038
  format: "json",
17122
17039
  ...params,
17123
17040
  }),
@@ -17159,7 +17076,7 @@ export class Api<
17159
17076
  method: "POST",
17160
17077
  body: data,
17161
17078
  secure: true,
17162
- type: "application/json",
17079
+ type: ContentType.Json,
17163
17080
  format: "json",
17164
17081
  ...params,
17165
17082
  }),
@@ -17185,7 +17102,7 @@ export class Api<
17185
17102
  method: "POST",
17186
17103
  body: data,
17187
17104
  secure: true,
17188
- type: "application/json",
17105
+ type: ContentType.Json,
17189
17106
  ...params,
17190
17107
  }),
17191
17108
 
@@ -17210,7 +17127,7 @@ export class Api<
17210
17127
  method: "POST",
17211
17128
  body: data,
17212
17129
  secure: true,
17213
- type: "application/json",
17130
+ type: ContentType.Json,
17214
17131
  ...params,
17215
17132
  }),
17216
17133
 
@@ -17296,7 +17213,7 @@ export class Api<
17296
17213
  method: "POST",
17297
17214
  body: data,
17298
17215
  secure: true,
17299
- type: "application/json",
17216
+ type: ContentType.Json,
17300
17217
  ...params,
17301
17218
  }),
17302
17219
 
@@ -17336,7 +17253,7 @@ export class Api<
17336
17253
  method: "POST",
17337
17254
  body: data,
17338
17255
  secure: true,
17339
- type: "application/json",
17256
+ type: ContentType.Json,
17340
17257
  ...params,
17341
17258
  }),
17342
17259
 
@@ -17419,7 +17336,7 @@ export class Api<
17419
17336
  method: "POST",
17420
17337
  body: data,
17421
17338
  secure: true,
17422
- type: "application/json",
17339
+ type: ContentType.Json,
17423
17340
  ...params,
17424
17341
  }),
17425
17342
 
@@ -17511,7 +17428,7 @@ export class Api<
17511
17428
  method: "POST",
17512
17429
  body: data,
17513
17430
  secure: true,
17514
- type: "application/json",
17431
+ type: ContentType.Json,
17515
17432
  format: "json",
17516
17433
  ...params,
17517
17434
  }),
@@ -17544,7 +17461,7 @@ export class Api<
17544
17461
  query: query,
17545
17462
  body: data,
17546
17463
  secure: true,
17547
- type: "application/json",
17464
+ type: ContentType.Json,
17548
17465
  format: "json",
17549
17466
  ...params,
17550
17467
  }),
@@ -17565,7 +17482,7 @@ export class Api<
17565
17482
  method: "POST",
17566
17483
  body: data,
17567
17484
  secure: true,
17568
- type: "application/json",
17485
+ type: ContentType.Json,
17569
17486
  format: "json",
17570
17487
  ...params,
17571
17488
  }),
@@ -17587,7 +17504,7 @@ export class Api<
17587
17504
  method: "POST",
17588
17505
  body: data,
17589
17506
  secure: true,
17590
- type: "application/json",
17507
+ type: ContentType.Json,
17591
17508
  format: "json",
17592
17509
  ...params,
17593
17510
  }),
@@ -17613,7 +17530,7 @@ export class Api<
17613
17530
  method: "PUT",
17614
17531
  body: data,
17615
17532
  secure: true,
17616
- type: "application/json",
17533
+ type: ContentType.Json,
17617
17534
  format: "json",
17618
17535
  ...params,
17619
17536
  }),
@@ -17679,7 +17596,7 @@ export class Api<
17679
17596
  method: "POST",
17680
17597
  body: data,
17681
17598
  secure: true,
17682
- type: "application/json",
17599
+ type: ContentType.Json,
17683
17600
  ...params,
17684
17601
  }),
17685
17602
 
@@ -17700,7 +17617,7 @@ export class Api<
17700
17617
  method: "POST",
17701
17618
  body: data,
17702
17619
  secure: true,
17703
- type: "application/json",
17620
+ type: ContentType.Json,
17704
17621
  ...params,
17705
17622
  }),
17706
17623
 
@@ -17725,7 +17642,7 @@ export class Api<
17725
17642
  method: "POST",
17726
17643
  body: data,
17727
17644
  secure: true,
17728
- type: "application/json",
17645
+ type: ContentType.Json,
17729
17646
  ...params,
17730
17647
  }),
17731
17648
 
@@ -17749,7 +17666,7 @@ export class Api<
17749
17666
  method: "POST",
17750
17667
  body: data,
17751
17668
  secure: true,
17752
- type: "application/json",
17669
+ type: ContentType.Json,
17753
17670
  ...params,
17754
17671
  }),
17755
17672
 
@@ -17792,7 +17709,7 @@ export class Api<
17792
17709
  method: "PUT",
17793
17710
  body: data,
17794
17711
  secure: true,
17795
- type: "application/json",
17712
+ type: ContentType.Json,
17796
17713
  ...params,
17797
17714
  }),
17798
17715
 
@@ -17832,7 +17749,7 @@ export class Api<
17832
17749
  method: "PUT",
17833
17750
  body: data,
17834
17751
  secure: true,
17835
- type: "application/json",
17752
+ type: ContentType.Json,
17836
17753
  format: "json",
17837
17754
  ...params,
17838
17755
  }),
@@ -17856,7 +17773,7 @@ export class Api<
17856
17773
  method: "PUT",
17857
17774
  body: data,
17858
17775
  secure: true,
17859
- type: "application/json",
17776
+ type: ContentType.Json,
17860
17777
  format: "json",
17861
17778
  ...params,
17862
17779
  }),
@@ -17933,7 +17850,7 @@ export class Api<
17933
17850
  method: "POST",
17934
17851
  body: data,
17935
17852
  secure: true,
17936
- type: "application/json",
17853
+ type: ContentType.Json,
17937
17854
  ...params,
17938
17855
  }),
17939
17856
 
@@ -17953,7 +17870,7 @@ export class Api<
17953
17870
  method: "POST",
17954
17871
  body: data,
17955
17872
  secure: true,
17956
- type: "application/json",
17873
+ type: ContentType.Json,
17957
17874
  format: "json",
17958
17875
  ...params,
17959
17876
  }),