@matech/thebigpos-sdk 2.45.0-rc5 → 2.45.0-rc7

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
@@ -230,7 +230,8 @@ export type LoanLanguagePreference =
230
230
  | "Spanish"
231
231
  | "Tagalog"
232
232
  | "Vietnamese"
233
- | "Other";
233
+ | "Other"
234
+ | "DoNotWishToRespond";
234
235
 
235
236
  export type LoanImportStatus =
236
237
  | "WaitingProcess"
@@ -263,7 +264,9 @@ export type LoanGiftSource =
263
264
  | "StateAgency"
264
265
  | "UnmarriedPartner"
265
266
  | "Lender"
266
- | "Other";
267
+ | "Other"
268
+ | "Institutional"
269
+ | "Borrower";
267
270
 
268
271
  export type LoanGiftAssetType = "Cash" | "Asset" | "Equity";
269
272
 
@@ -675,7 +678,7 @@ export interface AccountBilling {
675
678
  }
676
679
 
677
680
  export interface AccountBillingRequest {
678
- billingType: AccountBillingRequestBillingTypeEnum;
681
+ billingType: "ClosedLoan" | "LoanOfficer";
679
682
  /** @format double */
680
683
  contractedRate: number;
681
684
  }
@@ -715,7 +718,6 @@ export interface AccountSettingsRequest {
715
718
  isSmsEnabled: boolean;
716
719
  smsNumber?: string | null;
717
720
  isEarlyAdopter: boolean;
718
- isAIEnabled: boolean;
719
721
  }
720
722
 
721
723
  export interface Action {
@@ -725,7 +727,7 @@ export interface Action {
725
727
  comments?: string | null;
726
728
  /** @format uuid */
727
729
  siteConfigurationID: string;
728
- applicationSettings?: any | null;
730
+ applicationSettings?: any;
729
731
  surveysToken?: string | null;
730
732
  }
731
733
 
@@ -962,7 +964,29 @@ export interface AiAuditLog {
962
964
  conversationId?: string | null;
963
965
  /** @format uuid */
964
966
  messageId?: string | null;
965
- eventType: AiAuditLogEventTypeEnum;
967
+ eventType:
968
+ | "Error"
969
+ | "GuardrailBlockedPre"
970
+ | "GuardrailPassedPre"
971
+ | "IntentClassified"
972
+ | "LoanResolvedFromMessage"
973
+ | "DocumentNotFound"
974
+ | "GuardrailBlockedPost"
975
+ | "GuardrailPassedPost"
976
+ | "DocumentAnalyzed"
977
+ | "DocumentList"
978
+ | "DocumentResolutionAmbiguous"
979
+ | "ResponseGenerated"
980
+ | "ParametersExtracted"
981
+ | "QueryExecuted"
982
+ | "LoanContextNotFound"
983
+ | "LoanContextLoaded"
984
+ | "GuardrailBlockedBedrock"
985
+ | "PromptMatched"
986
+ | "QueryCondensed"
987
+ | "IntentParseFailed"
988
+ | "LoanSearchTermDiscarded"
989
+ | "CanonicalFieldsSelected";
966
990
  modelId?: string | null;
967
991
  /** @format int32 */
968
992
  inputTokens?: number | null;
@@ -975,7 +999,7 @@ export interface AiAuditLog {
975
999
  guardrailCategory?: string | null;
976
1000
  rawRequest?: string | null;
977
1001
  rawResponse?: string | null;
978
- details?: any | null;
1002
+ details?: any;
979
1003
  /** @format date-time */
980
1004
  createdAt: string;
981
1005
  }
@@ -1044,7 +1068,18 @@ export interface AiChatMessagePaginated {
1044
1068
  }
1045
1069
 
1046
1070
  export interface AiChatMetadata {
1047
- intent: AiChatMetadataIntentEnum;
1071
+ intent:
1072
+ | "Greeting"
1073
+ | "Invalid"
1074
+ | "Relevant"
1075
+ | "LoanSpecific"
1076
+ | "DocumentList"
1077
+ | "GeneralKnowledge"
1078
+ | "Blocked"
1079
+ | "Action"
1080
+ | "ConversationMeta"
1081
+ | "Capabilities"
1082
+ | "UsageReport";
1048
1083
  fieldsAccessed: string[];
1049
1084
  /** @format int64 */
1050
1085
  queryTimeMs: number;
@@ -1072,7 +1107,7 @@ export interface AiChatRequest {
1072
1107
  }
1073
1108
 
1074
1109
  export interface AiChatStructuredData {
1075
- type: AiChatStructuredDataTypeEnum;
1110
+ type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
1076
1111
  displayHint?: AiDisplayHint | null;
1077
1112
  detectedDocumentType?: string | null;
1078
1113
  columns: string[];
@@ -1089,12 +1124,19 @@ export interface AiConfigChangeLog {
1089
1124
  accountId?: string | null;
1090
1125
  /** @format uuid */
1091
1126
  actorUserId: string;
1092
- entityType: AiConfigChangeLogEntityTypeEnum;
1127
+ entityType:
1128
+ | "Prompt"
1129
+ | "Guardrail"
1130
+ | "CanonicalField"
1131
+ | "UrlSource"
1132
+ | "AdminSettings"
1133
+ | "AccountTokenSettings"
1134
+ | "AccountSettings";
1093
1135
  /** @format uuid */
1094
1136
  entityId?: string | null;
1095
- action: AiConfigChangeLogActionEnum;
1096
- before?: any | null;
1097
- after?: any | null;
1137
+ action: "Created" | "Updated" | "Deleted" | "Toggled";
1138
+ before?: any;
1139
+ after?: any;
1098
1140
  /** @format date-time */
1099
1141
  createdAt: string;
1100
1142
  }
@@ -1175,7 +1217,7 @@ export interface AiGuardrail {
1175
1217
  /** @format uuid */
1176
1218
  id: string;
1177
1219
  name: string;
1178
- category: AiGuardrailCategoryEnum;
1220
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1179
1221
  description?: string | null;
1180
1222
  keywords: string[];
1181
1223
  responseTemplate: string;
@@ -1287,8 +1329,8 @@ export interface AiUrlSource {
1287
1329
  name: string;
1288
1330
  url: string;
1289
1331
  description?: string | null;
1290
- category: AiUrlSourceCategoryEnum;
1291
- scope: AiUrlSourceScopeEnum;
1332
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1333
+ scope: "FullDomain" | "SpecificPath";
1292
1334
  isActive: boolean;
1293
1335
  isDefault: boolean;
1294
1336
  hasAccountOverride: boolean;
@@ -1392,11 +1434,6 @@ export interface ApplicationRowData {
1392
1434
  titleInsuranceAgent?: EncompassContact | null;
1393
1435
  }
1394
1436
 
1395
- export interface Attachment {
1396
- fileName: string;
1397
- base64Data: string;
1398
- }
1399
-
1400
1437
  export interface AuditEntityType {
1401
1438
  entityType: string;
1402
1439
  rootEntityType?: string | null;
@@ -1406,14 +1443,21 @@ export interface AuditLogEntry {
1406
1443
  /** @format uuid */
1407
1444
  id: string;
1408
1445
  entityType: string;
1409
- changeType: AuditLogEntryChangeTypeEnum;
1446
+ changeType:
1447
+ | "Created"
1448
+ | "Modified"
1449
+ | "SoftDeleted"
1450
+ | "HardDeleted"
1451
+ | "Restored"
1452
+ | "Deactivated"
1453
+ | "Reactivated";
1410
1454
  /** @format uuid */
1411
1455
  entityId: string;
1412
1456
  performedBy?: AuditLogUser | null;
1413
1457
  rootEntityType?: string | null;
1414
1458
  /** @format uuid */
1415
1459
  rootEntityId?: string | null;
1416
- changes?: any | null;
1460
+ changes?: any;
1417
1461
  /** @format date-time */
1418
1462
  createdAt: string;
1419
1463
  }
@@ -1458,7 +1502,20 @@ export interface BorrowerCount {
1458
1502
  firstName: string;
1459
1503
  lastName: string;
1460
1504
  email: string;
1461
- role: BorrowerCountRoleEnum;
1505
+ role:
1506
+ | "Borrower"
1507
+ | "CoBorrower"
1508
+ | "NonBorrower"
1509
+ | "LoanOfficer"
1510
+ | "LoanProcessor"
1511
+ | "LoanOfficerAssistant"
1512
+ | "SupportingLoanOfficer"
1513
+ | "BuyerAgent"
1514
+ | "SellerAgent"
1515
+ | "TitleInsuranceAgent"
1516
+ | "EscrowAgent"
1517
+ | "SettlementAgent"
1518
+ | "Admin";
1462
1519
  /** @format int32 */
1463
1520
  count: number;
1464
1521
  }
@@ -1469,7 +1526,20 @@ export interface BorrowerIdentity {
1469
1526
  firstName: string;
1470
1527
  lastName: string;
1471
1528
  email: string;
1472
- role: BorrowerIdentityRoleEnum;
1529
+ role:
1530
+ | "Borrower"
1531
+ | "CoBorrower"
1532
+ | "NonBorrower"
1533
+ | "LoanOfficer"
1534
+ | "LoanProcessor"
1535
+ | "LoanOfficerAssistant"
1536
+ | "SupportingLoanOfficer"
1537
+ | "BuyerAgent"
1538
+ | "SellerAgent"
1539
+ | "TitleInsuranceAgent"
1540
+ | "EscrowAgent"
1541
+ | "SettlementAgent"
1542
+ | "Admin";
1473
1543
  }
1474
1544
 
1475
1545
  export interface BorrowersNotUsingPosSummary {
@@ -1730,7 +1800,7 @@ export interface CorporateSearchCriteria {
1730
1800
  }
1731
1801
 
1732
1802
  export interface CreateAccessScopeRequest {
1733
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1803
+ scopeType: "User" | "Branch";
1734
1804
  /** @format uuid */
1735
1805
  userId?: string | null;
1736
1806
  /** @format uuid */
@@ -1749,7 +1819,7 @@ export interface CreateAccountRequest {
1749
1819
  /** @format int64 */
1750
1820
  nlmsid: number;
1751
1821
  settings: AccountSettingsRequest;
1752
- environment: CreateAccountRequestEnvironmentEnum;
1822
+ environment: "Development" | "Staging" | "UAT" | "Production";
1753
1823
  losIntegration: LOSIntegration;
1754
1824
  billingSettings: AccountBillingRequest;
1755
1825
  }
@@ -1765,7 +1835,7 @@ export interface CreateAiCanonicalFieldRequest {
1765
1835
 
1766
1836
  export interface CreateAiGuardrailRequest {
1767
1837
  name: string;
1768
- category: CreateAiGuardrailRequestCategoryEnum;
1838
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1769
1839
  description?: string | null;
1770
1840
  keywords: string[];
1771
1841
  responseTemplate: string;
@@ -1793,8 +1863,8 @@ export interface CreateAiUrlSourceRequest {
1793
1863
  name: string;
1794
1864
  url: string;
1795
1865
  description?: string | null;
1796
- category: CreateAiUrlSourceRequestCategoryEnum;
1797
- scope: CreateAiUrlSourceRequestScopeEnum;
1866
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1867
+ scope: "FullDomain" | "SpecificPath";
1798
1868
  }
1799
1869
 
1800
1870
  export interface CreateBranchRequest {
@@ -1819,8 +1889,15 @@ export interface CreateCustomFieldDefinitionRequest {
1819
1889
  name: string;
1820
1890
  defaultValue?: string | null;
1821
1891
  regexPattern?: string | null;
1822
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1823
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1892
+ dataType:
1893
+ | "String"
1894
+ | "Number"
1895
+ | "Decimal"
1896
+ | "Boolean"
1897
+ | "Date"
1898
+ | "SingleSelect"
1899
+ | "MultiSelect";
1900
+ entityType: "Loan";
1824
1901
  options?: CustomFieldOptionRequest[] | null;
1825
1902
  permissions?: CustomFieldPermissionRequest[] | null;
1826
1903
  }
@@ -1837,7 +1914,20 @@ export interface CreateDocumentTemplateRequest {
1837
1914
  export interface CreateGroupMemberRequest {
1838
1915
  /** @format uuid */
1839
1916
  userId: string;
1840
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
1917
+ loanRole:
1918
+ | "Borrower"
1919
+ | "CoBorrower"
1920
+ | "NonBorrower"
1921
+ | "LoanOfficer"
1922
+ | "LoanProcessor"
1923
+ | "LoanOfficerAssistant"
1924
+ | "SupportingLoanOfficer"
1925
+ | "BuyerAgent"
1926
+ | "SellerAgent"
1927
+ | "TitleInsuranceAgent"
1928
+ | "EscrowAgent"
1929
+ | "SettlementAgent"
1930
+ | "Admin";
1841
1931
  }
1842
1932
 
1843
1933
  export interface CreateInviteRequest {
@@ -1846,7 +1936,7 @@ export interface CreateInviteRequest {
1846
1936
  emailAddress: string;
1847
1937
  phoneNumber?: string | null;
1848
1938
  /** @deprecated */
1849
- relationship: CreateInviteRequestRelationshipEnum;
1939
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1850
1940
  loanID: string;
1851
1941
  route?: string | null;
1852
1942
  /** @format uuid */
@@ -1868,7 +1958,7 @@ export interface CreateLoanImportRequest {
1868
1958
  endDate: string;
1869
1959
  /** @format date-time */
1870
1960
  startDate: string;
1871
- importMode: CreateLoanImportRequestImportModeEnum;
1961
+ importMode: "All" | "NewOnly" | "UpdateOnly";
1872
1962
  }
1873
1963
 
1874
1964
  export interface CreateSession {
@@ -1890,7 +1980,20 @@ export interface CreateUserDeviceRequest {
1890
1980
  }
1891
1981
 
1892
1982
  export interface CreateUserDraft {
1893
- loanRole: CreateUserDraftLoanRoleEnum;
1983
+ loanRole:
1984
+ | "Borrower"
1985
+ | "CoBorrower"
1986
+ | "NonBorrower"
1987
+ | "LoanOfficer"
1988
+ | "LoanProcessor"
1989
+ | "LoanOfficerAssistant"
1990
+ | "SupportingLoanOfficer"
1991
+ | "BuyerAgent"
1992
+ | "SellerAgent"
1993
+ | "TitleInsuranceAgent"
1994
+ | "EscrowAgent"
1995
+ | "SettlementAgent"
1996
+ | "Admin";
1894
1997
  }
1895
1998
 
1896
1999
  export interface CreateUserGroupRequest {
@@ -1958,8 +2061,15 @@ export interface CustomFieldDefinition {
1958
2061
  name: string;
1959
2062
  defaultValue?: string | null;
1960
2063
  regexPattern?: string | null;
1961
- dataType: CustomFieldDefinitionDataTypeEnum;
1962
- entityType: CustomFieldDefinitionEntityTypeEnum;
2064
+ dataType:
2065
+ | "String"
2066
+ | "Number"
2067
+ | "Decimal"
2068
+ | "Boolean"
2069
+ | "Date"
2070
+ | "SingleSelect"
2071
+ | "MultiSelect";
2072
+ entityType: "Loan";
1963
2073
  options: CustomFieldOption[];
1964
2074
  permissions: CustomFieldPermission[];
1965
2075
  encompassMapping?: EncompassMapping | null;
@@ -1974,7 +2084,14 @@ export interface CustomFieldEntry {
1974
2084
  displayOrder: number;
1975
2085
  name: string;
1976
2086
  value: string;
1977
- dataType: CustomFieldEntryDataTypeEnum;
2087
+ dataType:
2088
+ | "String"
2089
+ | "Number"
2090
+ | "Decimal"
2091
+ | "Boolean"
2092
+ | "Date"
2093
+ | "SingleSelect"
2094
+ | "MultiSelect";
1978
2095
  }
1979
2096
 
1980
2097
  export interface CustomFieldOption {
@@ -1994,13 +2111,31 @@ export interface CustomFieldOptionRequest {
1994
2111
  export interface CustomFieldPermission {
1995
2112
  /** @format uuid */
1996
2113
  id: string;
1997
- role: CustomFieldPermissionRoleEnum;
1998
- accessLevel: CustomFieldPermissionAccessLevelEnum;
2114
+ role:
2115
+ | "Borrower"
2116
+ | "LoanOfficer"
2117
+ | "Admin"
2118
+ | "SuperAdmin"
2119
+ | "Realtor"
2120
+ | "SettlementAgent"
2121
+ | "LoanProcessor"
2122
+ | "LoanOfficerAssistant"
2123
+ | "SystemAdmin";
2124
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1999
2125
  }
2000
2126
 
2001
2127
  export interface CustomFieldPermissionRequest {
2002
- role: CustomFieldPermissionRequestRoleEnum;
2003
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2128
+ role:
2129
+ | "Borrower"
2130
+ | "LoanOfficer"
2131
+ | "Admin"
2132
+ | "SuperAdmin"
2133
+ | "Realtor"
2134
+ | "SettlementAgent"
2135
+ | "LoanProcessor"
2136
+ | "LoanOfficerAssistant"
2137
+ | "SystemAdmin";
2138
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2004
2139
  }
2005
2140
 
2006
2141
  export interface CustomFieldValue {
@@ -2012,7 +2147,14 @@ export interface CustomFieldValue {
2012
2147
  customFieldDefinitionID: string;
2013
2148
  value: string;
2014
2149
  definitionName: string;
2015
- dataType: CustomFieldValueDataTypeEnum;
2150
+ dataType:
2151
+ | "String"
2152
+ | "Number"
2153
+ | "Decimal"
2154
+ | "Boolean"
2155
+ | "Date"
2156
+ | "SingleSelect"
2157
+ | "MultiSelect";
2016
2158
  }
2017
2159
 
2018
2160
  export interface DetailedUser {
@@ -2269,7 +2411,7 @@ export interface Draft {
2269
2411
  siteConfiguration: SiteConfigurationReduced;
2270
2412
  /** @format uuid */
2271
2413
  loanID?: string | null;
2272
- type: DraftTypeEnum;
2414
+ type: "NewLoan" | "EditLoan";
2273
2415
  isCoBorrower: boolean;
2274
2416
  }
2275
2417
 
@@ -2288,7 +2430,7 @@ export interface DraftContent {
2288
2430
  siteConfiguration: SiteConfigurationReduced;
2289
2431
  /** @format uuid */
2290
2432
  loanID?: string | null;
2291
- type: DraftContentTypeEnum;
2433
+ type: "NewLoan" | "EditLoan";
2292
2434
  isCoBorrower: boolean;
2293
2435
  applicationPayload: any;
2294
2436
  }
@@ -2307,7 +2449,7 @@ export interface DraftLoanOfficerReassignRequest {
2307
2449
 
2308
2450
  export interface DraftRequest {
2309
2451
  applicationPayload: any;
2310
- customData?: any | null;
2452
+ customData?: any;
2311
2453
  isCoBorrower: boolean;
2312
2454
  }
2313
2455
 
@@ -2385,9 +2527,9 @@ export interface EncompassCredentialsDetail {
2385
2527
  clearStateIfUnlicensed: boolean;
2386
2528
  /** @deprecated */
2387
2529
  baseUrl?: string | null;
2388
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2530
+ encompassEnvironment: "Production" | "UAT";
2389
2531
  consumerConnectWidgetHost?: string | null;
2390
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2532
+ signingMethod: "ConsumerConnect" | "POSF";
2391
2533
  subscriptionId?: string | null;
2392
2534
  environment?: string | null;
2393
2535
  }
@@ -2404,9 +2546,9 @@ export interface EncompassCredentialsRequest {
2404
2546
  clearStateIfUnlicensed: boolean;
2405
2547
  /** @deprecated */
2406
2548
  baseUrl?: string | null;
2407
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2549
+ encompassEnvironment: "Production" | "UAT";
2408
2550
  consumerConnectWidgetHost?: string | null;
2409
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2551
+ signingMethod: "ConsumerConnect" | "POSF";
2410
2552
  subscriptionId?: string | null;
2411
2553
  environment?: string | null;
2412
2554
  clientID?: string | null;
@@ -2527,8 +2669,15 @@ export interface EncompassRequestLog {
2527
2669
  losId?: string | null;
2528
2670
  /** @format uuid */
2529
2671
  accountId: string;
2530
- operationType: EncompassRequestLogOperationTypeEnum;
2531
- outcome: EncompassRequestLogOutcomeEnum;
2672
+ operationType:
2673
+ | "FieldUpdate"
2674
+ | "ConsentUpdate"
2675
+ | "DocumentSync"
2676
+ | "MilestoneUpdate"
2677
+ | "DocumentAttachment"
2678
+ | "General"
2679
+ | "FieldReader";
2680
+ outcome: "Success" | "Failure" | "PartialSuccess";
2532
2681
  message: string;
2533
2682
  endpoint?: string | null;
2534
2683
  httpMethod?: string | null;
@@ -2536,7 +2685,7 @@ export interface EncompassRequestLog {
2536
2685
  httpStatusCode?: number | null;
2537
2686
  /** @format int64 */
2538
2687
  durationMs?: number | null;
2539
- context?: any | null;
2688
+ context?: any;
2540
2689
  /** @format date-time */
2541
2690
  createdAt: string;
2542
2691
  }
@@ -2582,7 +2731,7 @@ export interface FileSearchCriteria {
2582
2731
  export interface FileWithBytes {
2583
2732
  name: string;
2584
2733
  /** @format byte */
2585
- data: Blob;
2734
+ data: string;
2586
2735
  fileName: string;
2587
2736
  mimeType?: string | null;
2588
2737
  extension?: string | null;
@@ -2661,7 +2810,7 @@ export interface FormSubmission {
2661
2810
  subjectPropertyAddressCounty?: string | null;
2662
2811
  subjectPropertyAddressState?: string | null;
2663
2812
  subjectPropertyAddressZip?: string | null;
2664
- data?: any | null;
2813
+ data?: any;
2665
2814
  /** @format uuid */
2666
2815
  listingID?: string | null;
2667
2816
  listing?: Listing | null;
@@ -2699,7 +2848,7 @@ export interface FormSubmissionRequest {
2699
2848
  subjectPropertyAddressCounty?: string | null;
2700
2849
  subjectPropertyAddressState?: string | null;
2701
2850
  subjectPropertyAddressZip?: string | null;
2702
- data?: any | null;
2851
+ data?: any;
2703
2852
  /** @format uuid */
2704
2853
  listingID?: string | null;
2705
2854
  }
@@ -2754,14 +2903,25 @@ export interface FusionFieldDisplay {
2754
2903
  }
2755
2904
 
2756
2905
  export interface FusionReportFilter {
2757
- filterType: FusionReportFilterFilterTypeEnum;
2906
+ filterType:
2907
+ | "DateGreaterThanOrEqualTo"
2908
+ | "DateGreaterThan"
2909
+ | "DateLessThan"
2910
+ | "DateLessThanOrEqualTo"
2911
+ | "DateEquals"
2912
+ | "DateDoesntEqual"
2913
+ | "DateNonEmpty"
2914
+ | "DateEmpty"
2915
+ | "StringContains"
2916
+ | "StringEquals"
2917
+ | "StringNotEmpty"
2918
+ | "StringNotEquals"
2919
+ | "StringNotContains";
2758
2920
  targetField: string;
2759
2921
  targetValue: string;
2760
2922
  }
2761
2923
 
2762
2924
  export interface GenerateDocumentRequest {
2763
- /** @deprecated */
2764
- loanID?: string | null;
2765
2925
  /** @format uuid */
2766
2926
  templateID: string;
2767
2927
  /**
@@ -2779,7 +2939,7 @@ export interface GenerateSystemPrompt {
2779
2939
 
2780
2940
  export interface GenerateSystemPromptRequest {
2781
2941
  description: string;
2782
- category: GenerateSystemPromptRequestCategoryEnum;
2942
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2783
2943
  }
2784
2944
 
2785
2945
  export interface GetApplications {
@@ -2875,12 +3035,45 @@ export interface GetWorkflowRequest {
2875
3035
  export interface GuidPatchOperation {
2876
3036
  op: string;
2877
3037
  path: string;
2878
- value?: any | null;
3038
+ value?: any;
2879
3039
  from?: string | null;
2880
3040
  }
2881
3041
 
2882
3042
  export interface IPAddress {
2883
- addressFamily: IpAddressAddressFamilyEnum;
3043
+ addressFamily:
3044
+ | "Unspecified"
3045
+ | "Unix"
3046
+ | "InterNetwork"
3047
+ | "ImpLink"
3048
+ | "Pup"
3049
+ | "Chaos"
3050
+ | "NS"
3051
+ | "Ipx"
3052
+ | "Iso"
3053
+ | "Osi"
3054
+ | "Ecma"
3055
+ | "DataKit"
3056
+ | "Ccitt"
3057
+ | "Sna"
3058
+ | "DecNet"
3059
+ | "DataLink"
3060
+ | "Lat"
3061
+ | "HyperChannel"
3062
+ | "AppleTalk"
3063
+ | "NetBios"
3064
+ | "VoiceView"
3065
+ | "FireFox"
3066
+ | "Banyan"
3067
+ | "Atm"
3068
+ | "InterNetworkV6"
3069
+ | "Cluster"
3070
+ | "Ieee12844"
3071
+ | "Irda"
3072
+ | "NetworkDesigners"
3073
+ | "Max"
3074
+ | "Packet"
3075
+ | "ControllerAreaNetwork"
3076
+ | "Unknown";
2884
3077
  /** @format int64 */
2885
3078
  scopeId: number;
2886
3079
  isIPv6Multicast: boolean;
@@ -3136,13 +3329,15 @@ export interface Loan {
3136
3329
  financial?: LoanFinancial | null;
3137
3330
  financialTerms?: LoanFinancialTerms | null;
3138
3331
  monthlyPayment?: LoanMonthlyPayment | null;
3332
+ costDetails?: LoanCostDetails | null;
3333
+ metrics?: LoanMetrics | null;
3139
3334
  borrowers: LoanBorrower[];
3140
3335
  nonOwningBorrowers: LoanNonOwningBorrower[];
3141
3336
  userLoans: UserLoan[];
3142
3337
  contacts: LoanContact[];
3143
3338
  customFields: CustomFieldEntry[];
3144
3339
  milestones: LoanMilestone[];
3145
- signingMethod: LoanSigningMethodEnum;
3340
+ signingMethod: "ConsumerConnect" | "POSF";
3146
3341
  }
3147
3342
 
3148
3343
  export interface LoanApplication {
@@ -3176,11 +3371,13 @@ export interface LoanApplicationRequest {
3176
3371
  companyName?: string | null;
3177
3372
  property?: LoanPropertyRequest | null;
3178
3373
  financial?: LoanFinancialRequest | null;
3374
+ financialTerms?: LoanFinancialTermsRequest | null;
3375
+ monthlyPayment?: LoanMonthlyPaymentRequest | null;
3179
3376
  borrowers: LoanBorrowerRequest[];
3180
3377
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3181
3378
  /** @format uuid */
3182
3379
  draftId?: string | null;
3183
- additionalFields?: Record<string, any> | null;
3380
+ additionalFields?: Record<string, any>;
3184
3381
  /** @format uuid */
3185
3382
  existingLoanId?: string | null;
3186
3383
  }
@@ -3200,9 +3397,11 @@ export interface LoanBorrower {
3200
3397
  citizenship?: LoanCitizenship | null;
3201
3398
  maritalStatus?: LoanMaritalStatus | null;
3202
3399
  languagePreference?: LoanLanguagePreference | null;
3203
- applicationStatus: LoanBorrowerApplicationStatusEnum;
3400
+ applicationStatus: "Draft" | "Complete";
3204
3401
  /** @format int32 */
3205
3402
  numberOfDependents?: number | null;
3403
+ /** @format int32 */
3404
+ creditDecisionScore?: number | null;
3206
3405
  isPrimaryBorrower: boolean;
3207
3406
  isFirstTimeHomeBuyer?: boolean | null;
3208
3407
  hasJointAssetsAndLiabilities?: boolean | null;
@@ -3592,6 +3791,11 @@ export interface LoanBorrowerGift {
3592
3791
  isDeposited?: boolean | null;
3593
3792
  source?: LoanGiftSource | null;
3594
3793
  assetType?: LoanGiftAssetType | null;
3794
+ grantorDonorName?: string | null;
3795
+ /** @format double */
3796
+ amountAppliedToDownPayment?: number | null;
3797
+ /** @format double */
3798
+ amountAppliedToClosingCosts?: number | null;
3595
3799
  }
3596
3800
 
3597
3801
  export interface LoanBorrowerGiftRequest {
@@ -3790,7 +3994,15 @@ export interface LoanBorrowerRealEstateAsset {
3790
3994
  /** @format double */
3791
3995
  monthlyRentalIncome?: number | null;
3792
3996
  /** @format double */
3997
+ rentalIncomeNetAmount?: number | null;
3998
+ /** @format double */
3793
3999
  maintenanceExpense?: number | null;
4000
+ /** @format double */
4001
+ percentageOfRental?: number | null;
4002
+ /** @format double */
4003
+ participationPercentage?: number | null;
4004
+ /** @format date */
4005
+ acquiredDate?: string | null;
3794
4006
  dispositionStatus?: string | null;
3795
4007
  address?: AddressV3 | null;
3796
4008
  mortgages?: LoanBorrowerRealEstateAssetMortgage[] | null;
@@ -3978,7 +4190,7 @@ export interface LoanConsentRequest {
3978
4190
  borrowerEConsent?: boolean | null;
3979
4191
  borrowerCreditAuth?: boolean | null;
3980
4192
  borrowerTCPAOptIn?: boolean | null;
3981
- additionalFields?: Record<string, string> | null;
4193
+ additionalFields?: Record<string, string>;
3982
4194
  }
3983
4195
 
3984
4196
  export interface LoanContact {
@@ -3997,15 +4209,45 @@ export interface LoanContact {
3997
4209
  email?: string | null;
3998
4210
  phone?: string | null;
3999
4211
  companyName?: string | null;
4000
- role: LoanContactRoleEnum;
4212
+ role:
4213
+ | "Borrower"
4214
+ | "CoBorrower"
4215
+ | "NonBorrower"
4216
+ | "LoanOfficer"
4217
+ | "LoanProcessor"
4218
+ | "LoanOfficerAssistant"
4219
+ | "SupportingLoanOfficer"
4220
+ | "BuyerAgent"
4221
+ | "SellerAgent"
4222
+ | "TitleInsuranceAgent"
4223
+ | "EscrowAgent"
4224
+ | "SettlementAgent"
4225
+ | "Admin";
4001
4226
  }
4002
4227
 
4003
4228
  export interface LoanContactList {
4004
4229
  email: string;
4005
4230
  }
4006
4231
 
4232
+ export interface LoanCostDetails {
4233
+ /** @format uuid */
4234
+ id?: string | null;
4235
+ /** @format double */
4236
+ closingCosts?: number | null;
4237
+ /** @format double */
4238
+ prepaidCharges?: number | null;
4239
+ /** @format double */
4240
+ discount?: number | null;
4241
+ /** @format double */
4242
+ lenderCredit?: number | null;
4243
+ /** @format double */
4244
+ totalCost?: number | null;
4245
+ /** @format double */
4246
+ totalFinancing?: number | null;
4247
+ }
4248
+
4007
4249
  export interface LoanCustomFieldsRequest {
4008
- additionalFields?: Record<string, string> | null;
4250
+ additionalFields?: Record<string, string>;
4009
4251
  }
4010
4252
 
4011
4253
  export interface LoanDocument {
@@ -4058,13 +4300,39 @@ export interface LoanDocumentFolderPermission {
4058
4300
  id: string;
4059
4301
  /** @format uuid */
4060
4302
  loanDocumentFolderID: string;
4061
- role: LoanDocumentFolderPermissionRoleEnum;
4062
- level: LoanDocumentFolderPermissionLevelEnum;
4303
+ role:
4304
+ | "Borrower"
4305
+ | "CoBorrower"
4306
+ | "NonBorrower"
4307
+ | "LoanOfficer"
4308
+ | "LoanProcessor"
4309
+ | "LoanOfficerAssistant"
4310
+ | "SupportingLoanOfficer"
4311
+ | "BuyerAgent"
4312
+ | "SellerAgent"
4313
+ | "TitleInsuranceAgent"
4314
+ | "EscrowAgent"
4315
+ | "SettlementAgent"
4316
+ | "Admin";
4317
+ level: "None" | "Read" | "Write" | "Manage";
4063
4318
  }
4064
4319
 
4065
4320
  export interface LoanDocumentFolderPermissionRequest {
4066
- role: LoanDocumentFolderPermissionRequestRoleEnum;
4067
- level: LoanDocumentFolderPermissionRequestLevelEnum;
4321
+ role:
4322
+ | "Borrower"
4323
+ | "CoBorrower"
4324
+ | "NonBorrower"
4325
+ | "LoanOfficer"
4326
+ | "LoanProcessor"
4327
+ | "LoanOfficerAssistant"
4328
+ | "SupportingLoanOfficer"
4329
+ | "BuyerAgent"
4330
+ | "SellerAgent"
4331
+ | "TitleInsuranceAgent"
4332
+ | "EscrowAgent"
4333
+ | "SettlementAgent"
4334
+ | "Admin";
4335
+ level: "None" | "Read" | "Write" | "Manage";
4068
4336
  }
4069
4337
 
4070
4338
  export interface LoanDocumentFolderUsage {
@@ -4169,6 +4437,25 @@ export interface LoanFinancialTerms {
4169
4437
  baseLoanAmount?: number | null;
4170
4438
  /** @format double */
4171
4439
  totalLoanAmount?: number | null;
4440
+ /** @format double */
4441
+ mortgageInsuranceFactor?: number | null;
4442
+ isEscrowWaived?: boolean | null;
4443
+ }
4444
+
4445
+ export interface LoanFinancialTermsRequest {
4446
+ /** @format int32 */
4447
+ loanTermMonths?: number | null;
4448
+ amortizationType?: LoanAmortizationType | null;
4449
+ /** @format double */
4450
+ apr?: number | null;
4451
+ /** @format double */
4452
+ interestRate?: number | null;
4453
+ /** @format double */
4454
+ downPayment?: number | null;
4455
+ /** @format double */
4456
+ baseLoanAmount?: number | null;
4457
+ /** @format double */
4458
+ totalLoanAmount?: number | null;
4172
4459
  }
4173
4460
 
4174
4461
  export interface LoanIdentifier {
@@ -4191,14 +4478,19 @@ export interface LoanImport {
4191
4478
  /** @format int32 */
4192
4479
  importedCount: number;
4193
4480
  statusMessage?: string | null;
4194
- status: LoanImportStatusEnum;
4195
- importMode: LoanImportImportModeEnum;
4481
+ status:
4482
+ | "WaitingProcess"
4483
+ | "InProgress"
4484
+ | "Completed"
4485
+ | "Failed"
4486
+ | "Cancelled";
4487
+ importMode: "All" | "NewOnly" | "UpdateOnly";
4196
4488
  /** @format date-time */
4197
4489
  createdAt?: string | null;
4198
4490
  }
4199
4491
 
4200
4492
  export interface LoanImportLog {
4201
- level: LoanImportLogLevelEnum;
4493
+ level: "None" | "Info" | "Warning" | "Error";
4202
4494
  message: string;
4203
4495
  /** @format date-time */
4204
4496
  createdAt: string;
@@ -4259,8 +4551,25 @@ export interface LoanListPaginated {
4259
4551
  export interface LoanLog {
4260
4552
  /** @format uuid */
4261
4553
  id: string;
4262
- level: LoanLogLevelEnum;
4263
- type: LoanLogTypeEnum;
4554
+ level: "None" | "Info" | "Warning" | "Error";
4555
+ type:
4556
+ | "Loan"
4557
+ | "Queue"
4558
+ | "POSFlagChanged"
4559
+ | "Verification"
4560
+ | "DocumentUploaded"
4561
+ | "LoanCreated"
4562
+ | "WorkflowSubmitted"
4563
+ | "UserInvitationSent"
4564
+ | "CoBorrowerAdded"
4565
+ | "TaskCompleted"
4566
+ | "LoanStatusChanged"
4567
+ | "Consent"
4568
+ | "SensitiveDataPurge"
4569
+ | "ClosingDateUpdated"
4570
+ | "ConsumerConnectAssociation"
4571
+ | "TaskReminderSent"
4572
+ | "DocumentClassified";
4264
4573
  message: string;
4265
4574
  /** @format date-time */
4266
4575
  createdAt: string;
@@ -4269,8 +4578,25 @@ export interface LoanLog {
4269
4578
  export interface LoanLogDetail {
4270
4579
  /** @format uuid */
4271
4580
  id: string;
4272
- level: LoanLogDetailLevelEnum;
4273
- type: LoanLogDetailTypeEnum;
4581
+ level: "None" | "Info" | "Warning" | "Error";
4582
+ type:
4583
+ | "Loan"
4584
+ | "Queue"
4585
+ | "POSFlagChanged"
4586
+ | "Verification"
4587
+ | "DocumentUploaded"
4588
+ | "LoanCreated"
4589
+ | "WorkflowSubmitted"
4590
+ | "UserInvitationSent"
4591
+ | "CoBorrowerAdded"
4592
+ | "TaskCompleted"
4593
+ | "LoanStatusChanged"
4594
+ | "Consent"
4595
+ | "SensitiveDataPurge"
4596
+ | "ClosingDateUpdated"
4597
+ | "ConsumerConnectAssociation"
4598
+ | "TaskReminderSent"
4599
+ | "DocumentClassified";
4274
4600
  message: string;
4275
4601
  /** @format date-time */
4276
4602
  createdAt: string;
@@ -4290,6 +4616,19 @@ export interface LoanLogSearchCriteria {
4290
4616
  levels?: LogLevel[] | null;
4291
4617
  }
4292
4618
 
4619
+ export interface LoanMetrics {
4620
+ /** @format uuid */
4621
+ id?: string | null;
4622
+ /** @format double */
4623
+ ltv?: number | null;
4624
+ /** @format double */
4625
+ cltv?: number | null;
4626
+ /** @format double */
4627
+ frontDti?: number | null;
4628
+ /** @format double */
4629
+ backDti?: number | null;
4630
+ }
4631
+
4293
4632
  export interface LoanMilestone {
4294
4633
  /** @format uuid */
4295
4634
  id: string;
@@ -4318,6 +4657,23 @@ export interface LoanMonthlyPayment {
4318
4657
  other?: number | null;
4319
4658
  }
4320
4659
 
4660
+ export interface LoanMonthlyPaymentRequest {
4661
+ /** @format double */
4662
+ principalAndInterest?: number | null;
4663
+ /** @format double */
4664
+ taxes?: number | null;
4665
+ /** @format double */
4666
+ insurance?: number | null;
4667
+ /** @format double */
4668
+ mortgageInsurance?: number | null;
4669
+ /** @format double */
4670
+ floodInsurance?: number | null;
4671
+ /** @format double */
4672
+ hoa?: number | null;
4673
+ /** @format double */
4674
+ other?: number | null;
4675
+ }
4676
+
4321
4677
  export interface LoanNonOwningBorrower {
4322
4678
  /** @format uuid */
4323
4679
  id?: string | null;
@@ -4524,7 +4880,7 @@ export interface LoanQueueWithData {
4524
4880
  user: UserPublic;
4525
4881
  loanOfficer: LoanOfficerPublic;
4526
4882
  siteConfiguration: SiteConfigurationReduced;
4527
- data?: any | null;
4883
+ data?: any;
4528
4884
  }
4529
4885
 
4530
4886
  export interface LoanRecord {
@@ -4560,7 +4916,7 @@ export interface LoanTaskSearchRequest {
4560
4916
  }
4561
4917
 
4562
4918
  export interface LoanTaskStatusSummary {
4563
- status: LoanTaskStatusSummaryStatusEnum;
4919
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4564
4920
  /** @format int32 */
4565
4921
  count: number;
4566
4922
  }
@@ -4573,7 +4929,20 @@ export interface LoanUser {
4573
4929
  email: string;
4574
4930
  phone?: string | null;
4575
4931
  role: string;
4576
- loanRole: LoanUserLoanRoleEnum;
4932
+ loanRole:
4933
+ | "Borrower"
4934
+ | "CoBorrower"
4935
+ | "NonBorrower"
4936
+ | "LoanOfficer"
4937
+ | "LoanProcessor"
4938
+ | "LoanOfficerAssistant"
4939
+ | "SupportingLoanOfficer"
4940
+ | "BuyerAgent"
4941
+ | "SellerAgent"
4942
+ | "TitleInsuranceAgent"
4943
+ | "EscrowAgent"
4944
+ | "SettlementAgent"
4945
+ | "Admin";
4577
4946
  isUser: boolean;
4578
4947
  /** @format date-time */
4579
4948
  createdAt: string;
@@ -4609,7 +4978,13 @@ export interface LosOperationTracking {
4609
4978
  operationType: string;
4610
4979
  correlationKey: string;
4611
4980
  lastTriggerSource?: string | null;
4612
- status: LosOperationTrackingStatusEnum;
4981
+ status:
4982
+ | "Pending"
4983
+ | "Success"
4984
+ | "Failed"
4985
+ | "ConfigurationError"
4986
+ | "PermanentFailure"
4987
+ | "Locked";
4613
4988
  /** @format date-time */
4614
4989
  createdAt: string;
4615
4990
  /** @format date-time */
@@ -4676,7 +5051,7 @@ export interface LosSyncStep {
4676
5051
  /** @format int32 */
4677
5052
  order: number;
4678
5053
  name: string;
4679
- severity: LosSyncStepSeverityEnum;
5054
+ severity: "Success" | "Info" | "Warning" | "Error";
4680
5055
  message: string;
4681
5056
  /** @format date-time */
4682
5057
  atUtc: string;
@@ -4692,7 +5067,65 @@ export interface LosWebhook {
4692
5067
  }
4693
5068
 
4694
5069
  export interface ManualDocumentClassificationRequest {
4695
- documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5070
+ documentType:
5071
+ | "W2"
5072
+ | "Paystub"
5073
+ | "Form1099"
5074
+ | "Form1099Int"
5075
+ | "Form1099Misc"
5076
+ | "Form1099Nec"
5077
+ | "Form1099R"
5078
+ | "Form1099G"
5079
+ | "Form1099Div"
5080
+ | "Form1099Ssa"
5081
+ | "FederalTaxReturn1040"
5082
+ | "TaxReturnScheduleC"
5083
+ | "TaxReturnScheduleD"
5084
+ | "TaxReturnScheduleE"
5085
+ | "Form1065"
5086
+ | "Form1120"
5087
+ | "Form1120S"
5088
+ | "ProfitAndLossStatement"
5089
+ | "VerificationOfEmployment"
5090
+ | "BankStatement"
5091
+ | "InvestmentStatement"
5092
+ | "CreditCardStatement"
5093
+ | "MortgageStatement"
5094
+ | "PayoffStatement"
5095
+ | "HoaDocuments"
5096
+ | "UtilityBill"
5097
+ | "IdentityDocument"
5098
+ | "DemographicAddendum"
5099
+ | "Ssa89"
5100
+ | "Vba260551"
5101
+ | "Hud92900B"
5102
+ | "Check"
5103
+ | "Invoice"
5104
+ | "Receipt"
5105
+ | "LoanApplication1003"
5106
+ | "UnderwritingTransmittal1008"
5107
+ | "Other"
5108
+ | "SalesContract"
5109
+ | "TitleCommitment"
5110
+ | "DriversLicense"
5111
+ | "VerificationOfIncome"
5112
+ | "VerificationOfAssets"
5113
+ | "FloodCertificate"
5114
+ | "FraudReport"
5115
+ | "AddendumToSalesContract"
5116
+ | "GiftLetter"
5117
+ | "CpaLetter"
5118
+ | "TaxBill"
5119
+ | "CondoQuestionnaire"
5120
+ | "CondoBudget"
5121
+ | "CondoBylaws"
5122
+ | "RentalAgreements"
5123
+ | "Lease"
5124
+ | "HazardInsurance"
5125
+ | "VaCertificateOfEligibility"
5126
+ | "Appraisal"
5127
+ | "CreditReport"
5128
+ | "CondoMasterPolicy";
4696
5129
  }
4697
5130
 
4698
5131
  export interface MdmUser {
@@ -4779,7 +5212,7 @@ export interface ModuleParameterValue {
4779
5212
  parameterID: string;
4780
5213
  parameterName: string;
4781
5214
  parameterType: string;
4782
- value?: any | null;
5215
+ value?: any;
4783
5216
  isInherited: boolean;
4784
5217
  }
4785
5218
 
@@ -4965,7 +5398,7 @@ export interface NotificationTemplateVersionUpdateRequest {
4965
5398
 
4966
5399
  export interface Operation {
4967
5400
  op?: string;
4968
- value?: object | null;
5401
+ value?: string | number | boolean | null | object;
4969
5402
  path?: string;
4970
5403
  }
4971
5404
 
@@ -5300,15 +5733,12 @@ export interface SendLoanTaskReminderRequest {
5300
5733
  userIds?: string[] | null;
5301
5734
  }
5302
5735
 
5303
- export interface SendNotificationForLoanRequest {
5304
- loanID: string;
5305
- templateKey: string;
5306
- loanOfficerEmail?: string | null;
5307
- /** @format uuid */
5308
- siteConfigurationId?: string | null;
5309
- email?: string | null;
5310
- phone?: string | null;
5311
- attachments: Attachment[];
5736
+ export interface SendOutstandingTaskReminderRequest {
5737
+ userIds?: string[] | null;
5738
+ }
5739
+
5740
+ export interface SetAiEnabledRequest {
5741
+ isEnabled: boolean;
5312
5742
  }
5313
5743
 
5314
5744
  export interface SetCustomFieldValueRequest {
@@ -5330,7 +5760,7 @@ export interface SiteConfiguration {
5330
5760
  deletedAt?: string | null;
5331
5761
  /** @format uuid */
5332
5762
  id: string;
5333
- type: SiteConfigurationTypeEnum;
5763
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5334
5764
  /** @format uuid */
5335
5765
  entityID: string;
5336
5766
  /** @format int32 */
@@ -5524,7 +5954,7 @@ export interface SiteConfigurationByUrl {
5524
5954
  deletedAt?: string | null;
5525
5955
  /** @format uuid */
5526
5956
  id: string;
5527
- type: SiteConfigurationByUrlTypeEnum;
5957
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5528
5958
  /** @format uuid */
5529
5959
  entityID: string;
5530
5960
  /** @format int32 */
@@ -5736,7 +6166,7 @@ export interface SiteConfigurationForm {
5736
6166
  export interface SiteConfigurationReduced {
5737
6167
  /** @format uuid */
5738
6168
  id: string;
5739
- type: SiteConfigurationReducedTypeEnum;
6169
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5740
6170
  url?: string | null;
5741
6171
  name: string;
5742
6172
  /** @format int64 */
@@ -5754,7 +6184,7 @@ export interface SiteConfigurationRequest {
5754
6184
  entityID: string;
5755
6185
  /** @format int32 */
5756
6186
  entityType: number;
5757
- type: SiteConfigurationRequestTypeEnum;
6187
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5758
6188
  url: string;
5759
6189
  name: string;
5760
6190
  introduction?: string | null;
@@ -5931,7 +6361,7 @@ export interface SiteConfigurationSearchCriteria {
5931
6361
  export interface SiteConfigurationSummary {
5932
6362
  /** @format uuid */
5933
6363
  id: string;
5934
- type: SiteConfigurationSummaryTypeEnum;
6364
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5935
6365
  url?: string | null;
5936
6366
  name: string;
5937
6367
  /** @format int64 */
@@ -6099,16 +6529,6 @@ export interface TaxRatesRequest {
6099
6529
  marginalIncomeTaxRate: number;
6100
6530
  }
6101
6531
 
6102
- export interface TestSendNotificationForLoanRequest {
6103
- loanData: Record<string, string>;
6104
- /** @format uuid */
6105
- siteConfigurationId: string;
6106
- toAddress?: string | null;
6107
- toPhoneNumber?: string | null;
6108
- templateKey?: string | null;
6109
- attachments: Attachment[];
6110
- }
6111
-
6112
6532
  export interface Theme {
6113
6533
  logoURL: string;
6114
6534
  primaryColor: string;
@@ -6222,7 +6642,20 @@ export interface UnregisteredBorrower {
6222
6642
  lastName?: string | null;
6223
6643
  fullName?: string | null;
6224
6644
  email?: string | null;
6225
- role: UnregisteredBorrowerRoleEnum;
6645
+ role:
6646
+ | "Borrower"
6647
+ | "CoBorrower"
6648
+ | "NonBorrower"
6649
+ | "LoanOfficer"
6650
+ | "LoanProcessor"
6651
+ | "LoanOfficerAssistant"
6652
+ | "SupportingLoanOfficer"
6653
+ | "BuyerAgent"
6654
+ | "SellerAgent"
6655
+ | "TitleInsuranceAgent"
6656
+ | "EscrowAgent"
6657
+ | "SettlementAgent"
6658
+ | "Admin";
6226
6659
  }
6227
6660
 
6228
6661
  export interface UpdateAccountRequest {
@@ -6250,7 +6683,7 @@ export interface UpdateAiCanonicalFieldRequest {
6250
6683
 
6251
6684
  export interface UpdateAiGuardrailRequest {
6252
6685
  name: string;
6253
- category: UpdateAiGuardrailRequestCategoryEnum;
6686
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6254
6687
  description?: string | null;
6255
6688
  keywords: string[];
6256
6689
  responseTemplate: string;
@@ -6277,8 +6710,8 @@ export interface UpdateAiUrlSourceRequest {
6277
6710
  name: string;
6278
6711
  url: string;
6279
6712
  description?: string | null;
6280
- category: UpdateAiUrlSourceRequestCategoryEnum;
6281
- scope: UpdateAiUrlSourceRequestScopeEnum;
6713
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6714
+ scope: "FullDomain" | "SpecificPath";
6282
6715
  }
6283
6716
 
6284
6717
  export interface UpdateCustomFieldDefinitionRequest {
@@ -6590,7 +7023,20 @@ export interface UserDevice {
6590
7023
  export interface UserDraft {
6591
7024
  /** @format uuid */
6592
7025
  draftID: string;
6593
- role: UserDraftRoleEnum;
7026
+ role:
7027
+ | "Borrower"
7028
+ | "CoBorrower"
7029
+ | "NonBorrower"
7030
+ | "LoanOfficer"
7031
+ | "LoanProcessor"
7032
+ | "LoanOfficerAssistant"
7033
+ | "SupportingLoanOfficer"
7034
+ | "BuyerAgent"
7035
+ | "SellerAgent"
7036
+ | "TitleInsuranceAgent"
7037
+ | "EscrowAgent"
7038
+ | "SettlementAgent"
7039
+ | "Admin";
6594
7040
  user: User;
6595
7041
  }
6596
7042
 
@@ -6617,7 +7063,7 @@ export interface UserGroupAccessScope {
6617
7063
  id: string;
6618
7064
  /** @format uuid */
6619
7065
  groupId: string;
6620
- scopeType: UserGroupAccessScopeScopeTypeEnum;
7066
+ scopeType: "User" | "Branch";
6621
7067
  /** @format uuid */
6622
7068
  userId?: string | null;
6623
7069
  /** @format uuid */
@@ -6653,7 +7099,20 @@ export interface UserLoan {
6653
7099
  deletedAt?: string | null;
6654
7100
  loanID: string;
6655
7101
  user: User;
6656
- role: UserLoanRoleEnum;
7102
+ role:
7103
+ | "Borrower"
7104
+ | "CoBorrower"
7105
+ | "NonBorrower"
7106
+ | "LoanOfficer"
7107
+ | "LoanProcessor"
7108
+ | "LoanOfficerAssistant"
7109
+ | "SupportingLoanOfficer"
7110
+ | "BuyerAgent"
7111
+ | "SellerAgent"
7112
+ | "TitleInsuranceAgent"
7113
+ | "EscrowAgent"
7114
+ | "SettlementAgent"
7115
+ | "Admin";
6657
7116
  /** @format int32 */
6658
7117
  borrowerPair?: number | null;
6659
7118
  /** @format int32 */
@@ -6666,11 +7125,11 @@ export interface UserLoanConsent {
6666
7125
  id: string;
6667
7126
  /** @format uuid */
6668
7127
  userLoanID: string;
6669
- type: UserLoanConsentTypeEnum;
7128
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
6670
7129
  providedConsent: boolean;
6671
7130
  source?: ConsentSource | null;
6672
7131
  ipAddress?: string | null;
6673
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7132
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
6674
7133
  /** @format date-time */
6675
7134
  createdAt: string;
6676
7135
  /** @format date-time */
@@ -6711,838 +7170,147 @@ export interface UserLoanTaskPaginated {
6711
7170
 
6712
7171
  export interface UserLoanTaskRequest {
6713
7172
  value?: string | null;
6714
- /** @format uuid */
6715
- userID: string;
6716
- }
6717
-
6718
- export interface UserLoanTaskUpdateRequest {
6719
- status?: string | null;
6720
- value?: string | null;
6721
- }
6722
-
6723
- export interface UserMobilePhoneVerificationRequest {
6724
- code: string;
6725
- }
6726
-
6727
- export interface UserNotificationSettings {
6728
- emailEnabled: boolean;
6729
- textEnabled: boolean;
6730
- textOptIn?: boolean | null;
6731
- pushEnabled: boolean;
6732
- }
6733
-
6734
- export interface UserNotificationSettingsUpdateRequest {
6735
- emailEnabled: boolean;
6736
- textEnabled: boolean;
6737
- textOptIn?: boolean | null;
6738
- pushEnabled: boolean;
6739
- }
6740
-
6741
- export interface UserPaginated {
6742
- rows: User[];
6743
- pagination: Pagination;
6744
- /** @format int64 */
6745
- count: number;
6746
- }
6747
-
6748
- export interface UserPublic {
6749
- /** @format uuid */
6750
- id: string;
6751
- role: string;
6752
- firstName: string;
6753
- lastName: string;
6754
- email: string;
6755
- phone?: string | null;
6756
- title?: string | null;
6757
- }
6758
-
6759
- export interface UserRelation {
6760
- /** @format uuid */
6761
- userId1: string;
6762
- /** @format uuid */
6763
- userId2: string;
6764
- relationType: string;
6765
- /** @format uuid */
6766
- id: string;
6767
- user1Email: string;
6768
- user1Role: string;
6769
- user2Email: string;
6770
- user2Role: string;
6771
- }
6772
-
6773
- export interface UserRelationship {
6774
- /** @format uuid */
6775
- id: string;
6776
- role: string;
6777
- firstName?: string | null;
6778
- lastName?: string | null;
6779
- email?: string | null;
6780
- phone?: string | null;
6781
- siteConfigurations: SiteConfigurationReduced[];
6782
- /** @format date-time */
6783
- createdAt?: string | null;
6784
- /** @format date-time */
6785
- deletedAt?: string | null;
6786
- }
6787
-
6788
- export interface UserRelationshipProspect {
6789
- /** @format uuid */
6790
- id: string;
6791
- role: string;
6792
- firstName: string;
6793
- lastName: string;
6794
- email: string;
6795
- contactPhone?: string | null;
6796
- licenseNumber?: string | null;
6797
- /** @format uuid */
6798
- branchID: string;
6799
- companyName?: string | null;
6800
- /** @format date-time */
6801
- createdAt?: string | null;
6802
- /** @format date-time */
6803
- deletedAt?: string | null;
6804
- }
6805
-
6806
- export interface UserSearchCriteria {
6807
- searchText?: string | null;
6808
- isActive?: boolean | null;
6809
- roles?: string[] | null;
6810
- }
6811
-
6812
- export interface UserSummary {
6813
- /** @format uuid */
6814
- id: string;
6815
- name?: string | null;
6816
- email?: string | null;
6817
- role: UserSummaryRoleEnum;
6818
- }
6819
-
6820
- export interface VerifyPasswordRequest {
6821
- email: string;
6822
- code: string;
6823
- password: string;
6824
- /** @format uuid */
6825
- siteConfigurationId?: string | null;
6826
- }
6827
-
6828
- export interface Workflow {
6829
- formType: string;
6830
- target: string;
6831
- authType: string;
6832
- name: string;
6833
- isDefault: boolean;
6834
- description: string;
6835
- slug: string;
6836
- status: string;
6837
- userRole: string;
6838
- borrowerType: string;
6839
- showProgressBar: boolean;
6840
- showTile: boolean;
6841
- tileLocation: string;
6842
- tileText: string;
6843
- tileSubtitle: string;
6844
- icon: string;
6845
- }
6846
-
6847
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6848
-
6849
- export type AiAuditLogEventTypeEnum =
6850
- | "Error"
6851
- | "GuardrailBlockedPre"
6852
- | "GuardrailPassedPre"
6853
- | "IntentClassified"
6854
- | "LoanResolvedFromMessage"
6855
- | "DocumentNotFound"
6856
- | "GuardrailBlockedPost"
6857
- | "GuardrailPassedPost"
6858
- | "DocumentAnalyzed"
6859
- | "DocumentList"
6860
- | "DocumentResolutionAmbiguous"
6861
- | "ResponseGenerated"
6862
- | "ParametersExtracted"
6863
- | "QueryExecuted"
6864
- | "LoanContextNotFound"
6865
- | "LoanContextLoaded"
6866
- | "GuardrailBlockedBedrock"
6867
- | "PromptMatched"
6868
- | "QueryCondensed"
6869
- | "IntentParseFailed"
6870
- | "LoanSearchTermDiscarded"
6871
- | "CanonicalFieldsSelected";
6872
-
6873
- export type AiChatMetadataIntentEnum =
6874
- | "Greeting"
6875
- | "Invalid"
6876
- | "Relevant"
6877
- | "LoanSpecific"
6878
- | "DocumentList"
6879
- | "GeneralKnowledge"
6880
- | "Blocked"
6881
- | "Action"
6882
- | "ConversationMeta"
6883
- | "Capabilities"
6884
- | "UsageReport";
6885
-
6886
- export type AiChatStructuredDataTypeEnum =
6887
- | "Table"
6888
- | "DocumentAnalysis"
6889
- | "DocumentList"
6890
- | "GeneratedDocument";
6891
-
6892
- export type AiConfigChangeLogEntityTypeEnum =
6893
- | "Prompt"
6894
- | "Guardrail"
6895
- | "CanonicalField"
6896
- | "UrlSource"
6897
- | "AdminSettings"
6898
- | "AccountTokenSettings"
6899
- | "AccountSettings";
6900
-
6901
- export type AiConfigChangeLogActionEnum =
6902
- | "Created"
6903
- | "Updated"
6904
- | "Deleted"
6905
- | "Toggled";
6906
-
6907
- export type AiGuardrailCategoryEnum =
6908
- | "ContentSafety"
6909
- | "PromptInjection"
6910
- | "Privacy"
6911
- | "Legal";
6912
-
6913
- export type AiUrlSourceCategoryEnum =
6914
- | "Regulatory"
6915
- | "Guidelines"
6916
- | "MarketData"
6917
- | "Custom";
6918
-
6919
- export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
6920
-
6921
- export type AuditLogEntryChangeTypeEnum =
6922
- | "Created"
6923
- | "Modified"
6924
- | "SoftDeleted"
6925
- | "HardDeleted"
6926
- | "Restored"
6927
- | "Deactivated"
6928
- | "Reactivated";
6929
-
6930
- export type BorrowerCountRoleEnum =
6931
- | "Borrower"
6932
- | "CoBorrower"
6933
- | "NonBorrower"
6934
- | "LoanOfficer"
6935
- | "LoanProcessor"
6936
- | "LoanOfficerAssistant"
6937
- | "SupportingLoanOfficer"
6938
- | "BuyerAgent"
6939
- | "SellerAgent"
6940
- | "TitleInsuranceAgent"
6941
- | "EscrowAgent"
6942
- | "SettlementAgent"
6943
- | "Admin";
6944
-
6945
- export type BorrowerIdentityRoleEnum =
6946
- | "Borrower"
6947
- | "CoBorrower"
6948
- | "NonBorrower"
6949
- | "LoanOfficer"
6950
- | "LoanProcessor"
6951
- | "LoanOfficerAssistant"
6952
- | "SupportingLoanOfficer"
6953
- | "BuyerAgent"
6954
- | "SellerAgent"
6955
- | "TitleInsuranceAgent"
6956
- | "EscrowAgent"
6957
- | "SettlementAgent"
6958
- | "Admin";
6959
-
6960
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6961
-
6962
- export type CreateAccountRequestEnvironmentEnum =
6963
- | "Development"
6964
- | "Staging"
6965
- | "UAT"
6966
- | "Production";
6967
-
6968
- export type CreateAiGuardrailRequestCategoryEnum =
6969
- | "ContentSafety"
6970
- | "PromptInjection"
6971
- | "Privacy"
6972
- | "Legal";
6973
-
6974
- export type CreateAiUrlSourceRequestCategoryEnum =
6975
- | "Regulatory"
6976
- | "Guidelines"
6977
- | "MarketData"
6978
- | "Custom";
6979
-
6980
- export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
6981
-
6982
- export type CreateCustomFieldDefinitionRequestDataTypeEnum =
6983
- | "String"
6984
- | "Number"
6985
- | "Decimal"
6986
- | "Boolean"
6987
- | "Date"
6988
- | "SingleSelect"
6989
- | "MultiSelect";
6990
-
6991
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
6992
-
6993
- export type CreateGroupMemberRequestLoanRoleEnum =
6994
- | "Borrower"
6995
- | "CoBorrower"
6996
- | "NonBorrower"
6997
- | "LoanOfficer"
6998
- | "LoanProcessor"
6999
- | "LoanOfficerAssistant"
7000
- | "SupportingLoanOfficer"
7001
- | "BuyerAgent"
7002
- | "SellerAgent"
7003
- | "TitleInsuranceAgent"
7004
- | "EscrowAgent"
7005
- | "SettlementAgent"
7006
- | "Admin";
7007
-
7008
- /** @deprecated */
7009
- export type CreateInviteRequestRelationshipEnum =
7010
- | "NotApplicable"
7011
- | "Spouse"
7012
- | "NonSpouse";
7013
-
7014
- export type CreateLoanImportRequestImportModeEnum =
7015
- | "All"
7016
- | "NewOnly"
7017
- | "UpdateOnly";
7018
-
7019
- export type CreateUserDraftLoanRoleEnum =
7020
- | "Borrower"
7021
- | "CoBorrower"
7022
- | "NonBorrower"
7023
- | "LoanOfficer"
7024
- | "LoanProcessor"
7025
- | "LoanOfficerAssistant"
7026
- | "SupportingLoanOfficer"
7027
- | "BuyerAgent"
7028
- | "SellerAgent"
7029
- | "TitleInsuranceAgent"
7030
- | "EscrowAgent"
7031
- | "SettlementAgent"
7032
- | "Admin";
7033
-
7034
- export type CustomFieldDefinitionDataTypeEnum =
7035
- | "String"
7036
- | "Number"
7037
- | "Decimal"
7038
- | "Boolean"
7039
- | "Date"
7040
- | "SingleSelect"
7041
- | "MultiSelect";
7042
-
7043
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
7044
-
7045
- export type CustomFieldEntryDataTypeEnum =
7046
- | "String"
7047
- | "Number"
7048
- | "Decimal"
7049
- | "Boolean"
7050
- | "Date"
7051
- | "SingleSelect"
7052
- | "MultiSelect";
7053
-
7054
- export type CustomFieldPermissionRoleEnum =
7055
- | "Borrower"
7056
- | "LoanOfficer"
7057
- | "Admin"
7058
- | "SuperAdmin"
7059
- | "Realtor"
7060
- | "SettlementAgent"
7061
- | "LoanProcessor"
7062
- | "LoanOfficerAssistant"
7063
- | "SystemAdmin";
7064
-
7065
- export type CustomFieldPermissionAccessLevelEnum =
7066
- | "NoAccess"
7067
- | "ReadOnly"
7068
- | "ReadWrite";
7069
-
7070
- export type CustomFieldPermissionRequestRoleEnum =
7071
- | "Borrower"
7072
- | "LoanOfficer"
7073
- | "Admin"
7074
- | "SuperAdmin"
7075
- | "Realtor"
7076
- | "SettlementAgent"
7077
- | "LoanProcessor"
7078
- | "LoanOfficerAssistant"
7079
- | "SystemAdmin";
7080
-
7081
- export type CustomFieldPermissionRequestAccessLevelEnum =
7082
- | "NoAccess"
7083
- | "ReadOnly"
7084
- | "ReadWrite";
7085
-
7086
- export type CustomFieldValueDataTypeEnum =
7087
- | "String"
7088
- | "Number"
7089
- | "Decimal"
7090
- | "Boolean"
7091
- | "Date"
7092
- | "SingleSelect"
7093
- | "MultiSelect";
7094
-
7095
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
7096
-
7097
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
7098
-
7099
- export type EncompassCredentialsDetailEncompassEnvironmentEnum =
7100
- | "Production"
7101
- | "UAT";
7102
-
7103
- export type EncompassCredentialsDetailSigningMethodEnum =
7104
- | "ConsumerConnect"
7105
- | "POSF";
7106
-
7107
- export type EncompassCredentialsRequestEncompassEnvironmentEnum =
7108
- | "Production"
7109
- | "UAT";
7110
-
7111
- export type EncompassCredentialsRequestSigningMethodEnum =
7112
- | "ConsumerConnect"
7113
- | "POSF";
7114
-
7115
- export type EncompassRequestLogOperationTypeEnum =
7116
- | "FieldUpdate"
7117
- | "ConsentUpdate"
7118
- | "DocumentSync"
7119
- | "MilestoneUpdate"
7120
- | "DocumentAttachment"
7121
- | "General"
7122
- | "FieldReader";
7123
-
7124
- export type EncompassRequestLogOutcomeEnum =
7125
- | "Success"
7126
- | "Failure"
7127
- | "PartialSuccess";
7128
-
7129
- export type FusionReportFilterFilterTypeEnum =
7130
- | "DateGreaterThanOrEqualTo"
7131
- | "DateGreaterThan"
7132
- | "DateLessThan"
7133
- | "DateLessThanOrEqualTo"
7134
- | "DateEquals"
7135
- | "DateDoesntEqual"
7136
- | "DateNonEmpty"
7137
- | "DateEmpty"
7138
- | "StringContains"
7139
- | "StringEquals"
7140
- | "StringNotEmpty"
7141
- | "StringNotEquals"
7142
- | "StringNotContains";
7143
-
7144
- export type GenerateSystemPromptRequestCategoryEnum =
7145
- | "DocumentAnalysis"
7146
- | "DataQuery"
7147
- | "General"
7148
- | "Action";
7149
-
7150
- export type IpAddressAddressFamilyEnum =
7151
- | "Unspecified"
7152
- | "Unix"
7153
- | "InterNetwork"
7154
- | "ImpLink"
7155
- | "Pup"
7156
- | "Chaos"
7157
- | "NS"
7158
- | "Ipx"
7159
- | "Iso"
7160
- | "Osi"
7161
- | "Ecma"
7162
- | "DataKit"
7163
- | "Ccitt"
7164
- | "Sna"
7165
- | "DecNet"
7166
- | "DataLink"
7167
- | "Lat"
7168
- | "HyperChannel"
7169
- | "AppleTalk"
7170
- | "NetBios"
7171
- | "VoiceView"
7172
- | "FireFox"
7173
- | "Banyan"
7174
- | "Atm"
7175
- | "InterNetworkV6"
7176
- | "Cluster"
7177
- | "Ieee12844"
7178
- | "Irda"
7179
- | "NetworkDesigners"
7180
- | "Max"
7181
- | "Packet"
7182
- | "ControllerAreaNetwork"
7183
- | "Unknown";
7184
-
7185
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
7186
-
7187
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7188
-
7189
- export type LoanContactRoleEnum =
7190
- | "Borrower"
7191
- | "CoBorrower"
7192
- | "NonBorrower"
7193
- | "LoanOfficer"
7194
- | "LoanProcessor"
7195
- | "LoanOfficerAssistant"
7196
- | "SupportingLoanOfficer"
7197
- | "BuyerAgent"
7198
- | "SellerAgent"
7199
- | "TitleInsuranceAgent"
7200
- | "EscrowAgent"
7201
- | "SettlementAgent"
7202
- | "Admin";
7203
-
7204
- export type LoanDocumentFolderPermissionRoleEnum =
7205
- | "Borrower"
7206
- | "CoBorrower"
7207
- | "NonBorrower"
7208
- | "LoanOfficer"
7209
- | "LoanProcessor"
7210
- | "LoanOfficerAssistant"
7211
- | "SupportingLoanOfficer"
7212
- | "BuyerAgent"
7213
- | "SellerAgent"
7214
- | "TitleInsuranceAgent"
7215
- | "EscrowAgent"
7216
- | "SettlementAgent"
7217
- | "Admin";
7218
-
7219
- export type LoanDocumentFolderPermissionLevelEnum =
7220
- | "None"
7221
- | "Read"
7222
- | "Write"
7223
- | "Manage";
7224
-
7225
- export type LoanDocumentFolderPermissionRequestRoleEnum =
7226
- | "Borrower"
7227
- | "CoBorrower"
7228
- | "NonBorrower"
7229
- | "LoanOfficer"
7230
- | "LoanProcessor"
7231
- | "LoanOfficerAssistant"
7232
- | "SupportingLoanOfficer"
7233
- | "BuyerAgent"
7234
- | "SellerAgent"
7235
- | "TitleInsuranceAgent"
7236
- | "EscrowAgent"
7237
- | "SettlementAgent"
7238
- | "Admin";
7239
-
7240
- export type LoanDocumentFolderPermissionRequestLevelEnum =
7241
- | "None"
7242
- | "Read"
7243
- | "Write"
7244
- | "Manage";
7245
-
7246
- export type LoanImportStatusEnum =
7247
- | "WaitingProcess"
7248
- | "InProgress"
7249
- | "Completed"
7250
- | "Failed"
7251
- | "Cancelled";
7252
-
7253
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
7254
-
7255
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7256
-
7257
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7258
-
7259
- export type LoanLogTypeEnum =
7260
- | "Loan"
7261
- | "Queue"
7262
- | "POSFlagChanged"
7263
- | "Verification"
7264
- | "DocumentUploaded"
7265
- | "LoanCreated"
7266
- | "WorkflowSubmitted"
7267
- | "UserInvitationSent"
7268
- | "CoBorrowerAdded"
7269
- | "TaskCompleted"
7270
- | "LoanStatusChanged"
7271
- | "Consent"
7272
- | "SensitiveDataPurge"
7273
- | "ClosingDateUpdated"
7274
- | "ConsumerConnectAssociation"
7275
- | "TaskReminderSent"
7276
- | "DocumentClassified";
7277
-
7278
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
7279
-
7280
- export type LoanLogDetailTypeEnum =
7281
- | "Loan"
7282
- | "Queue"
7283
- | "POSFlagChanged"
7284
- | "Verification"
7285
- | "DocumentUploaded"
7286
- | "LoanCreated"
7287
- | "WorkflowSubmitted"
7288
- | "UserInvitationSent"
7289
- | "CoBorrowerAdded"
7290
- | "TaskCompleted"
7291
- | "LoanStatusChanged"
7292
- | "Consent"
7293
- | "SensitiveDataPurge"
7294
- | "ClosingDateUpdated"
7295
- | "ConsumerConnectAssociation"
7296
- | "TaskReminderSent"
7297
- | "DocumentClassified";
7298
-
7299
- export type LoanTaskStatusSummaryStatusEnum =
7300
- | "Outstanding"
7301
- | "Pending"
7302
- | "Completed"
7303
- | "Rejected"
7304
- | "Unknown";
7305
-
7306
- export type LoanUserLoanRoleEnum =
7307
- | "Borrower"
7308
- | "CoBorrower"
7309
- | "NonBorrower"
7310
- | "LoanOfficer"
7311
- | "LoanProcessor"
7312
- | "LoanOfficerAssistant"
7313
- | "SupportingLoanOfficer"
7314
- | "BuyerAgent"
7315
- | "SellerAgent"
7316
- | "TitleInsuranceAgent"
7317
- | "EscrowAgent"
7318
- | "SettlementAgent"
7319
- | "Admin";
7320
-
7321
- export type LosOperationTrackingStatusEnum =
7322
- | "Pending"
7323
- | "Success"
7324
- | "Failed"
7325
- | "ConfigurationError"
7326
- | "PermanentFailure"
7327
- | "Locked";
7328
-
7329
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
7330
-
7331
- export type ManualDocumentClassificationRequestDocumentTypeEnum =
7332
- | "W2"
7333
- | "Paystub"
7334
- | "Form1099"
7335
- | "Form1099Int"
7336
- | "Form1099Misc"
7337
- | "Form1099Nec"
7338
- | "Form1099R"
7339
- | "Form1099G"
7340
- | "Form1099Div"
7341
- | "Form1099Ssa"
7342
- | "FederalTaxReturn1040"
7343
- | "TaxReturnScheduleC"
7344
- | "TaxReturnScheduleD"
7345
- | "TaxReturnScheduleE"
7346
- | "Form1065"
7347
- | "Form1120"
7348
- | "Form1120S"
7349
- | "ProfitAndLossStatement"
7350
- | "VerificationOfEmployment"
7351
- | "BankStatement"
7352
- | "InvestmentStatement"
7353
- | "CreditCardStatement"
7354
- | "MortgageStatement"
7355
- | "PayoffStatement"
7356
- | "HoaDocuments"
7357
- | "UtilityBill"
7358
- | "IdentityDocument"
7359
- | "DemographicAddendum"
7360
- | "Ssa89"
7361
- | "Vba260551"
7362
- | "Hud92900B"
7363
- | "Check"
7364
- | "Invoice"
7365
- | "Receipt"
7366
- | "LoanApplication1003"
7367
- | "UnderwritingTransmittal1008"
7368
- | "Other"
7369
- | "SalesContract"
7370
- | "TitleCommitment"
7371
- | "DriversLicense"
7372
- | "VerificationOfIncome"
7373
- | "VerificationOfAssets"
7374
- | "FloodCertificate"
7375
- | "FraudReport"
7376
- | "AddendumToSalesContract"
7377
- | "GiftLetter"
7378
- | "CpaLetter"
7379
- | "TaxBill"
7380
- | "CondoQuestionnaire"
7381
- | "CondoBudget"
7382
- | "CondoBylaws"
7383
- | "RentalAgreements"
7384
- | "Lease"
7385
- | "HazardInsurance"
7386
- | "VaCertificateOfEligibility"
7387
- | "Appraisal"
7388
- | "CreditReport"
7389
- | "CondoMasterPolicy";
7390
-
7391
- export type SiteConfigurationTypeEnum =
7392
- | "None"
7393
- | "Account"
7394
- | "Corporate"
7395
- | "Branch"
7396
- | "LoanOfficer"
7397
- | "Partner";
7398
-
7399
- export type SiteConfigurationByUrlTypeEnum =
7400
- | "None"
7401
- | "Account"
7402
- | "Corporate"
7403
- | "Branch"
7404
- | "LoanOfficer"
7405
- | "Partner";
7406
-
7407
- export type SiteConfigurationReducedTypeEnum =
7408
- | "None"
7409
- | "Account"
7410
- | "Corporate"
7411
- | "Branch"
7412
- | "LoanOfficer"
7413
- | "Partner";
7414
-
7415
- export type SiteConfigurationRequestTypeEnum =
7416
- | "None"
7417
- | "Account"
7418
- | "Corporate"
7419
- | "Branch"
7420
- | "LoanOfficer"
7421
- | "Partner";
7422
-
7423
- export type SiteConfigurationSummaryTypeEnum =
7424
- | "None"
7425
- | "Account"
7426
- | "Corporate"
7427
- | "Branch"
7428
- | "LoanOfficer"
7429
- | "Partner";
7430
-
7431
- export type UnregisteredBorrowerRoleEnum =
7432
- | "Borrower"
7433
- | "CoBorrower"
7434
- | "NonBorrower"
7435
- | "LoanOfficer"
7436
- | "LoanProcessor"
7437
- | "LoanOfficerAssistant"
7438
- | "SupportingLoanOfficer"
7439
- | "BuyerAgent"
7440
- | "SellerAgent"
7441
- | "TitleInsuranceAgent"
7442
- | "EscrowAgent"
7443
- | "SettlementAgent"
7444
- | "Admin";
7445
-
7446
- export type UpdateAiGuardrailRequestCategoryEnum =
7447
- | "ContentSafety"
7448
- | "PromptInjection"
7449
- | "Privacy"
7450
- | "Legal";
7451
-
7452
- export type UpdateAiUrlSourceRequestCategoryEnum =
7453
- | "Regulatory"
7454
- | "Guidelines"
7455
- | "MarketData"
7456
- | "Custom";
7173
+ /** @format uuid */
7174
+ userID: string;
7175
+ }
7457
7176
 
7458
- export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7177
+ export interface UserLoanTaskUpdateRequest {
7178
+ status?: string | null;
7179
+ value?: string | null;
7180
+ }
7459
7181
 
7460
- export type UserDraftRoleEnum =
7461
- | "Borrower"
7462
- | "CoBorrower"
7463
- | "NonBorrower"
7464
- | "LoanOfficer"
7465
- | "LoanProcessor"
7466
- | "LoanOfficerAssistant"
7467
- | "SupportingLoanOfficer"
7468
- | "BuyerAgent"
7469
- | "SellerAgent"
7470
- | "TitleInsuranceAgent"
7471
- | "EscrowAgent"
7472
- | "SettlementAgent"
7473
- | "Admin";
7182
+ export interface UserMobilePhoneVerificationRequest {
7183
+ code: string;
7184
+ }
7474
7185
 
7475
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7186
+ export interface UserNotificationSettings {
7187
+ emailEnabled: boolean;
7188
+ textEnabled: boolean;
7189
+ textOptIn?: boolean | null;
7190
+ pushEnabled: boolean;
7191
+ }
7476
7192
 
7477
- export type UserLoanRoleEnum =
7478
- | "Borrower"
7479
- | "CoBorrower"
7480
- | "NonBorrower"
7481
- | "LoanOfficer"
7482
- | "LoanProcessor"
7483
- | "LoanOfficerAssistant"
7484
- | "SupportingLoanOfficer"
7485
- | "BuyerAgent"
7486
- | "SellerAgent"
7487
- | "TitleInsuranceAgent"
7488
- | "EscrowAgent"
7489
- | "SettlementAgent"
7490
- | "Admin";
7193
+ export interface UserNotificationSettingsUpdateRequest {
7194
+ emailEnabled: boolean;
7195
+ textEnabled: boolean;
7196
+ textOptIn?: boolean | null;
7197
+ pushEnabled: boolean;
7198
+ }
7491
7199
 
7492
- export type UserLoanConsentTypeEnum =
7493
- | "Econsent"
7494
- | "CreditAuthorization"
7495
- | "Tcpa";
7200
+ export interface UserPaginated {
7201
+ rows: User[];
7202
+ pagination: Pagination;
7203
+ /** @format int64 */
7204
+ count: number;
7205
+ }
7496
7206
 
7497
- export type UserLoanConsentLosSyncStatusEnum =
7498
- | "NotStarted"
7499
- | "Failed"
7500
- | "Success";
7207
+ export interface UserPublic {
7208
+ /** @format uuid */
7209
+ id: string;
7210
+ role: string;
7211
+ firstName: string;
7212
+ lastName: string;
7213
+ email: string;
7214
+ phone?: string | null;
7215
+ title?: string | null;
7216
+ }
7501
7217
 
7502
- export type UserSummaryRoleEnum =
7503
- | "Borrower"
7504
- | "LoanOfficer"
7505
- | "Admin"
7506
- | "SuperAdmin"
7507
- | "Realtor"
7508
- | "SettlementAgent"
7509
- | "LoanProcessor"
7510
- | "LoanOfficerAssistant"
7511
- | "SystemAdmin";
7218
+ export interface UserRelation {
7219
+ /** @format uuid */
7220
+ userId1: string;
7221
+ /** @format uuid */
7222
+ userId2: string;
7223
+ relationType: string;
7224
+ /** @format uuid */
7225
+ id: string;
7226
+ user1Email: string;
7227
+ user1Role: string;
7228
+ user2Email: string;
7229
+ user2Role: string;
7230
+ }
7512
7231
 
7513
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7232
+ export interface UserRelationship {
7233
+ /** @format uuid */
7234
+ id: string;
7235
+ role: string;
7236
+ firstName?: string | null;
7237
+ lastName?: string | null;
7238
+ email?: string | null;
7239
+ phone?: string | null;
7240
+ siteConfigurations: SiteConfigurationReduced[];
7241
+ /** @format date-time */
7242
+ createdAt?: string | null;
7243
+ /** @format date-time */
7244
+ deletedAt?: string | null;
7245
+ }
7514
7246
 
7515
- /** @default "Realtor" */
7516
- export type GetPartnersParamsRoleEnum =
7517
- | "Borrower"
7518
- | "LoanOfficer"
7519
- | "Admin"
7520
- | "SuperAdmin"
7521
- | "Realtor"
7522
- | "SettlementAgent"
7523
- | "LoanProcessor"
7524
- | "LoanOfficerAssistant"
7525
- | "SystemAdmin";
7247
+ export interface UserRelationshipProspect {
7248
+ /** @format uuid */
7249
+ id: string;
7250
+ role: string;
7251
+ firstName: string;
7252
+ lastName: string;
7253
+ email: string;
7254
+ contactPhone?: string | null;
7255
+ licenseNumber?: string | null;
7256
+ /** @format uuid */
7257
+ branchID: string;
7258
+ companyName?: string | null;
7259
+ /** @format date-time */
7260
+ createdAt?: string | null;
7261
+ /** @format date-time */
7262
+ deletedAt?: string | null;
7263
+ }
7526
7264
 
7527
- export type GetSamlMetadataParamsSSoIntegrationEnum =
7528
- | "ConsumerConnect"
7529
- | "TheBigPOS"
7530
- | "POSF";
7265
+ export interface UserSearchCriteria {
7266
+ searchText?: string | null;
7267
+ isActive?: boolean | null;
7268
+ roles?: string[] | null;
7269
+ }
7531
7270
 
7532
- export type GetSamlMetadataParamsEnum =
7533
- | "ConsumerConnect"
7534
- | "TheBigPOS"
7535
- | "POSF";
7271
+ export interface UserSummary {
7272
+ /** @format uuid */
7273
+ id: string;
7274
+ name?: string | null;
7275
+ email?: string | null;
7276
+ role:
7277
+ | "Borrower"
7278
+ | "LoanOfficer"
7279
+ | "Admin"
7280
+ | "SuperAdmin"
7281
+ | "Realtor"
7282
+ | "SettlementAgent"
7283
+ | "LoanProcessor"
7284
+ | "LoanOfficerAssistant"
7285
+ | "SystemAdmin";
7286
+ }
7536
7287
 
7537
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
7538
- | "ConsumerConnect"
7539
- | "TheBigPOS"
7540
- | "POSF";
7288
+ export interface VerifyPasswordRequest {
7289
+ email: string;
7290
+ code: string;
7291
+ password: string;
7292
+ /** @format uuid */
7293
+ siteConfigurationId?: string | null;
7294
+ }
7541
7295
 
7542
- export type CreateOrReplaceSamlMetadataParamsEnum =
7543
- | "ConsumerConnect"
7544
- | "TheBigPOS"
7545
- | "POSF";
7296
+ export interface Workflow {
7297
+ formType: string;
7298
+ target: string;
7299
+ authType: string;
7300
+ name: string;
7301
+ isDefault: boolean;
7302
+ description: string;
7303
+ slug: string;
7304
+ status: string;
7305
+ userRole: string;
7306
+ borrowerType: string;
7307
+ showProgressBar: boolean;
7308
+ showTile: boolean;
7309
+ tileLocation: string;
7310
+ tileText: string;
7311
+ tileSubtitle: string;
7312
+ icon: string;
7313
+ }
7546
7314
 
7547
7315
  import type {
7548
7316
  AxiosInstance,
@@ -7585,12 +7353,14 @@ export interface ApiConfig<SecurityDataType = unknown>
7585
7353
  format?: ResponseType;
7586
7354
  }
7587
7355
 
7588
- export type ContentType =
7589
- | "application/json"
7590
- | "application/vnd.api+json"
7591
- | "multipart/form-data"
7592
- | "application/x-www-form-urlencoded"
7593
- | "text/plain";
7356
+ export enum ContentType {
7357
+ JsonPatch = "application/json-patch+json",
7358
+ Json = "application/json",
7359
+ JsonApi = "application/vnd.api+json",
7360
+ FormData = "multipart/form-data",
7361
+ UrlEncoded = "application/x-www-form-urlencoded",
7362
+ Text = "text/plain",
7363
+ }
7594
7364
 
7595
7365
  export class HttpClient<SecurityDataType = unknown> {
7596
7366
  public instance: AxiosInstance;
@@ -7687,7 +7457,7 @@ export class HttpClient<SecurityDataType = unknown> {
7687
7457
  const responseFormat = format || this.format || undefined;
7688
7458
 
7689
7459
  if (
7690
- type === "multipart/form-data" &&
7460
+ type === ContentType.FormData &&
7691
7461
  body &&
7692
7462
  body !== null &&
7693
7463
  typeof body === "object"
@@ -7696,7 +7466,7 @@ export class HttpClient<SecurityDataType = unknown> {
7696
7466
  }
7697
7467
 
7698
7468
  if (
7699
- type === "text/plain" &&
7469
+ type === ContentType.Text &&
7700
7470
  body &&
7701
7471
  body !== null &&
7702
7472
  typeof body !== "string"
@@ -7803,7 +7573,7 @@ export class Api<
7803
7573
  method: "PUT",
7804
7574
  body: data,
7805
7575
  secure: true,
7806
- type: "application/json",
7576
+ type: ContentType.Json,
7807
7577
  format: "json",
7808
7578
  ...params,
7809
7579
  }),
@@ -7847,7 +7617,7 @@ export class Api<
7847
7617
  method: "PUT",
7848
7618
  body: data,
7849
7619
  secure: true,
7850
- type: "application/json",
7620
+ type: ContentType.Json,
7851
7621
  format: "json",
7852
7622
  ...params,
7853
7623
  }),
@@ -7871,7 +7641,7 @@ export class Api<
7871
7641
  method: "POST",
7872
7642
  body: data,
7873
7643
  secure: true,
7874
- type: "application/json",
7644
+ type: ContentType.Json,
7875
7645
  ...params,
7876
7646
  }),
7877
7647
 
@@ -7895,7 +7665,7 @@ export class Api<
7895
7665
  method: "POST",
7896
7666
  body: data,
7897
7667
  secure: true,
7898
- type: "application/json",
7668
+ type: ContentType.Json,
7899
7669
  ...params,
7900
7670
  }),
7901
7671
 
@@ -7935,7 +7705,7 @@ export class Api<
7935
7705
  method: "POST",
7936
7706
  body: data,
7937
7707
  secure: true,
7938
- type: "application/json",
7708
+ type: ContentType.Json,
7939
7709
  format: "json",
7940
7710
  ...params,
7941
7711
  }),
@@ -8011,7 +7781,7 @@ export class Api<
8011
7781
  method: "PUT",
8012
7782
  body: data,
8013
7783
  secure: true,
8014
- type: "application/json",
7784
+ type: ContentType.Json,
8015
7785
  format: "json",
8016
7786
  ...params,
8017
7787
  }),
@@ -8055,7 +7825,7 @@ export class Api<
8055
7825
  method: "PUT",
8056
7826
  body: data,
8057
7827
  secure: true,
8058
- type: "application/json",
7828
+ type: ContentType.Json,
8059
7829
  format: "json",
8060
7830
  ...params,
8061
7831
  }),
@@ -8260,7 +8030,7 @@ export class Api<
8260
8030
  method: "POST",
8261
8031
  body: data,
8262
8032
  secure: true,
8263
- type: "application/json",
8033
+ type: ContentType.Json,
8264
8034
  format: "json",
8265
8035
  ...params,
8266
8036
  }),
@@ -8307,7 +8077,7 @@ export class Api<
8307
8077
  method: "PUT",
8308
8078
  body: data,
8309
8079
  secure: true,
8310
- type: "application/json",
8080
+ type: ContentType.Json,
8311
8081
  format: "json",
8312
8082
  ...params,
8313
8083
  }),
@@ -8372,7 +8142,7 @@ export class Api<
8372
8142
  method: "POST",
8373
8143
  body: data,
8374
8144
  secure: true,
8375
- type: "application/json",
8145
+ type: ContentType.JsonPatch,
8376
8146
  format: "json",
8377
8147
  ...params,
8378
8148
  }),
@@ -8435,7 +8205,7 @@ export class Api<
8435
8205
  method: "PUT",
8436
8206
  body: data,
8437
8207
  secure: true,
8438
- type: "application/json",
8208
+ type: ContentType.Json,
8439
8209
  format: "json",
8440
8210
  ...params,
8441
8211
  }),
@@ -8479,7 +8249,7 @@ export class Api<
8479
8249
  method: "POST",
8480
8250
  body: data,
8481
8251
  secure: true,
8482
- type: "application/json",
8252
+ type: ContentType.Json,
8483
8253
  format: "json",
8484
8254
  ...params,
8485
8255
  }),
@@ -8526,7 +8296,7 @@ export class Api<
8526
8296
  method: "PUT",
8527
8297
  body: data,
8528
8298
  secure: true,
8529
- type: "application/json",
8299
+ type: ContentType.Json,
8530
8300
  format: "json",
8531
8301
  ...params,
8532
8302
  }),
@@ -8588,7 +8358,7 @@ export class Api<
8588
8358
  method: "POST",
8589
8359
  body: data,
8590
8360
  secure: true,
8591
- type: "application/json",
8361
+ type: ContentType.JsonPatch,
8592
8362
  format: "json",
8593
8363
  ...params,
8594
8364
  }),
@@ -8667,7 +8437,7 @@ export class Api<
8667
8437
  method: "PATCH",
8668
8438
  body: data,
8669
8439
  secure: true,
8670
- type: "application/json",
8440
+ type: ContentType.JsonPatch,
8671
8441
  format: "json",
8672
8442
  ...params,
8673
8443
  }),
@@ -8767,7 +8537,7 @@ export class Api<
8767
8537
  method: "PUT",
8768
8538
  body: data,
8769
8539
  secure: true,
8770
- type: "application/json",
8540
+ type: ContentType.Json,
8771
8541
  format: "json",
8772
8542
  ...params,
8773
8543
  }),
@@ -8895,7 +8665,7 @@ export class Api<
8895
8665
  method: "POST",
8896
8666
  body: data,
8897
8667
  secure: true,
8898
- type: "application/json",
8668
+ type: ContentType.Json,
8899
8669
  format: "json",
8900
8670
  ...params,
8901
8671
  }),
@@ -8942,7 +8712,7 @@ export class Api<
8942
8712
  method: "PUT",
8943
8713
  body: data,
8944
8714
  secure: true,
8945
- type: "application/json",
8715
+ type: ContentType.Json,
8946
8716
  format: "json",
8947
8717
  ...params,
8948
8718
  }),
@@ -9155,6 +8925,31 @@ export class Api<
9155
8925
  ...params,
9156
8926
  }),
9157
8927
 
8928
+ /**
8929
+ * No description
8930
+ *
8931
+ * @tags AiSuperAdmin
8932
+ * @name SetAccountAiEnabled
8933
+ * @summary Enable or disable AI for an account (SuperAdmin only)
8934
+ * @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
8935
+ * @secure
8936
+ * @response `204` `void` No Content
8937
+ * @response `404` `ProblemDetails` Not Found
8938
+ */
8939
+ setAccountAiEnabled: (
8940
+ accountId: string,
8941
+ data: SetAiEnabledRequest,
8942
+ params: RequestParams = {},
8943
+ ) =>
8944
+ this.request<void, ProblemDetails>({
8945
+ path: `/api/ai/superadmin/accounts/${accountId}/ai-enabled`,
8946
+ method: "PUT",
8947
+ body: data,
8948
+ secure: true,
8949
+ type: ContentType.JsonPatch,
8950
+ ...params,
8951
+ }),
8952
+
9158
8953
  /**
9159
8954
  * No description
9160
8955
  *
@@ -9183,7 +8978,7 @@ export class Api<
9183
8978
  query: query,
9184
8979
  body: data,
9185
8980
  secure: true,
9186
- type: "application/json",
8981
+ type: ContentType.Json,
9187
8982
  format: "json",
9188
8983
  ...params,
9189
8984
  }),
@@ -9259,7 +9054,7 @@ export class Api<
9259
9054
  method: "PUT",
9260
9055
  body: data,
9261
9056
  secure: true,
9262
- type: "application/json",
9057
+ type: ContentType.Json,
9263
9058
  format: "json",
9264
9059
  ...params,
9265
9060
  }),
@@ -9304,7 +9099,7 @@ export class Api<
9304
9099
  method: "POST",
9305
9100
  body: data,
9306
9101
  secure: true,
9307
- type: "application/json",
9102
+ type: ContentType.Json,
9308
9103
  format: "json",
9309
9104
  ...params,
9310
9105
  }),
@@ -9352,7 +9147,7 @@ export class Api<
9352
9147
  method: "PUT",
9353
9148
  body: data,
9354
9149
  secure: true,
9355
- type: "application/json",
9150
+ type: ContentType.Json,
9356
9151
  format: "json",
9357
9152
  ...params,
9358
9153
  }),
@@ -9473,7 +9268,7 @@ export class Api<
9473
9268
  query: query,
9474
9269
  body: data,
9475
9270
  secure: true,
9476
- type: "application/json",
9271
+ type: ContentType.JsonPatch,
9477
9272
  format: "json",
9478
9273
  ...params,
9479
9274
  }),
@@ -9538,7 +9333,7 @@ export class Api<
9538
9333
  method: "POST",
9539
9334
  body: data,
9540
9335
  secure: true,
9541
- type: "application/json",
9336
+ type: ContentType.Json,
9542
9337
  format: "json",
9543
9338
  ...params,
9544
9339
  }),
@@ -9560,7 +9355,7 @@ export class Api<
9560
9355
  method: "POST",
9561
9356
  body: data,
9562
9357
  secure: true,
9563
- type: "application/json",
9358
+ type: ContentType.Json,
9564
9359
  format: "json",
9565
9360
  ...params,
9566
9361
  }),
@@ -9585,7 +9380,7 @@ export class Api<
9585
9380
  method: "POST",
9586
9381
  body: data,
9587
9382
  secure: true,
9588
- type: "application/json",
9383
+ type: ContentType.Json,
9589
9384
  format: "json",
9590
9385
  ...params,
9591
9386
  }),
@@ -9607,7 +9402,7 @@ export class Api<
9607
9402
  method: "POST",
9608
9403
  body: data,
9609
9404
  secure: true,
9610
- type: "application/json",
9405
+ type: ContentType.Json,
9611
9406
  format: "json",
9612
9407
  ...params,
9613
9408
  }),
@@ -9629,7 +9424,7 @@ export class Api<
9629
9424
  method: "POST",
9630
9425
  body: data,
9631
9426
  secure: true,
9632
- type: "application/json",
9427
+ type: ContentType.Json,
9633
9428
  format: "json",
9634
9429
  ...params,
9635
9430
  }),
@@ -9702,7 +9497,7 @@ export class Api<
9702
9497
  method: "POST",
9703
9498
  body: data,
9704
9499
  secure: true,
9705
- type: "application/json",
9500
+ type: ContentType.Json,
9706
9501
  format: "json",
9707
9502
  ...params,
9708
9503
  }),
@@ -9735,7 +9530,7 @@ export class Api<
9735
9530
  query: query,
9736
9531
  body: data,
9737
9532
  secure: true,
9738
- type: "application/json",
9533
+ type: ContentType.Json,
9739
9534
  format: "json",
9740
9535
  ...params,
9741
9536
  }),
@@ -9780,7 +9575,7 @@ export class Api<
9780
9575
  method: "PUT",
9781
9576
  body: data,
9782
9577
  secure: true,
9783
- type: "application/json",
9578
+ type: ContentType.Json,
9784
9579
  format: "json",
9785
9580
  ...params,
9786
9581
  }),
@@ -9843,7 +9638,7 @@ export class Api<
9843
9638
  method: "POST",
9844
9639
  body: data,
9845
9640
  secure: true,
9846
- type: "application/json",
9641
+ type: ContentType.Json,
9847
9642
  format: "json",
9848
9643
  ...params,
9849
9644
  }),
@@ -9897,7 +9692,7 @@ export class Api<
9897
9692
  query: query,
9898
9693
  body: data,
9899
9694
  secure: true,
9900
- type: "application/json",
9695
+ type: ContentType.Json,
9901
9696
  format: "json",
9902
9697
  ...params,
9903
9698
  }),
@@ -9966,7 +9761,7 @@ export class Api<
9966
9761
  method: "POST",
9967
9762
  body: data,
9968
9763
  secure: true,
9969
- type: "application/json",
9764
+ type: ContentType.Json,
9970
9765
  format: "json",
9971
9766
  ...params,
9972
9767
  }),
@@ -10011,7 +9806,7 @@ export class Api<
10011
9806
  method: "PUT",
10012
9807
  body: data,
10013
9808
  secure: true,
10014
- type: "application/json",
9809
+ type: ContentType.Json,
10015
9810
  format: "json",
10016
9811
  ...params,
10017
9812
  }),
@@ -10072,7 +9867,7 @@ export class Api<
10072
9867
  method: "POST",
10073
9868
  body: data,
10074
9869
  secure: true,
10075
- type: "application/json",
9870
+ type: ContentType.Json,
10076
9871
  format: "json",
10077
9872
  ...params,
10078
9873
  }),
@@ -10166,7 +9961,7 @@ export class Api<
10166
9961
  method: "POST",
10167
9962
  body: data,
10168
9963
  secure: true,
10169
- type: "application/json",
9964
+ type: ContentType.Json,
10170
9965
  format: "json",
10171
9966
  ...params,
10172
9967
  }),
@@ -10199,7 +9994,7 @@ export class Api<
10199
9994
  query: query,
10200
9995
  body: data,
10201
9996
  secure: true,
10202
- type: "application/json",
9997
+ type: ContentType.Json,
10203
9998
  format: "json",
10204
9999
  ...params,
10205
10000
  }),
@@ -10244,7 +10039,7 @@ export class Api<
10244
10039
  method: "PUT",
10245
10040
  body: data,
10246
10041
  secure: true,
10247
- type: "application/json",
10042
+ type: ContentType.Json,
10248
10043
  format: "json",
10249
10044
  ...params,
10250
10045
  }),
@@ -10306,7 +10101,7 @@ export class Api<
10306
10101
  method: "POST",
10307
10102
  body: data,
10308
10103
  secure: true,
10309
- type: "application/json",
10104
+ type: ContentType.Json,
10310
10105
  format: "json",
10311
10106
  ...params,
10312
10107
  }),
@@ -10360,7 +10155,7 @@ export class Api<
10360
10155
  query: query,
10361
10156
  body: data,
10362
10157
  secure: true,
10363
- type: "application/json",
10158
+ type: ContentType.Json,
10364
10159
  format: "json",
10365
10160
  ...params,
10366
10161
  }),
@@ -10415,7 +10210,7 @@ export class Api<
10415
10210
  */
10416
10211
  getCustomFieldDefinitions: (
10417
10212
  query?: {
10418
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
10213
+ entityType?: "Loan";
10419
10214
  },
10420
10215
  params: RequestParams = {},
10421
10216
  ) =>
@@ -10449,7 +10244,7 @@ export class Api<
10449
10244
  method: "POST",
10450
10245
  body: data,
10451
10246
  secure: true,
10452
- type: "application/json",
10247
+ type: ContentType.Json,
10453
10248
  format: "json",
10454
10249
  ...params,
10455
10250
  }),
@@ -10498,7 +10293,7 @@ export class Api<
10498
10293
  method: "PUT",
10499
10294
  body: data,
10500
10295
  secure: true,
10501
- type: "application/json",
10296
+ type: ContentType.Json,
10502
10297
  format: "json",
10503
10298
  ...params,
10504
10299
  }),
@@ -10632,7 +10427,7 @@ export class Api<
10632
10427
  method: "PUT",
10633
10428
  body: data,
10634
10429
  secure: true,
10635
- type: "application/json",
10430
+ type: ContentType.Json,
10636
10431
  format: "json",
10637
10432
  ...params,
10638
10433
  }),
@@ -10751,7 +10546,7 @@ export class Api<
10751
10546
  method: "POST",
10752
10547
  body: data,
10753
10548
  secure: true,
10754
- type: "application/json",
10549
+ type: ContentType.Json,
10755
10550
  format: "json",
10756
10551
  ...params,
10757
10552
  }),
@@ -10828,7 +10623,7 @@ export class Api<
10828
10623
  method: "PUT",
10829
10624
  body: data,
10830
10625
  secure: true,
10831
- type: "application/json",
10626
+ type: ContentType.Json,
10832
10627
  format: "json",
10833
10628
  ...params,
10834
10629
  }),
@@ -10915,7 +10710,7 @@ export class Api<
10915
10710
  method: "POST",
10916
10711
  body: data,
10917
10712
  secure: true,
10918
- type: "application/json",
10713
+ type: ContentType.Json,
10919
10714
  format: "json",
10920
10715
  ...params,
10921
10716
  }),
@@ -10964,7 +10759,7 @@ export class Api<
10964
10759
  method: "PUT",
10965
10760
  body: data,
10966
10761
  secure: true,
10967
- type: "application/json",
10762
+ type: ContentType.Json,
10968
10763
  format: "json",
10969
10764
  ...params,
10970
10765
  }),
@@ -11039,7 +10834,7 @@ export class Api<
11039
10834
  method: "POST",
11040
10835
  body: data,
11041
10836
  secure: true,
11042
- type: "application/json",
10837
+ type: ContentType.Json,
11043
10838
  format: "json",
11044
10839
  ...params,
11045
10840
  }),
@@ -11215,7 +11010,7 @@ export class Api<
11215
11010
  method: "POST",
11216
11011
  body: data,
11217
11012
  secure: true,
11218
- type: "application/json",
11013
+ type: ContentType.Json,
11219
11014
  format: "json",
11220
11015
  ...params,
11221
11016
  }),
@@ -11278,7 +11073,7 @@ export class Api<
11278
11073
  method: "POST",
11279
11074
  body: data,
11280
11075
  secure: true,
11281
- type: "multipart/form-data",
11076
+ type: ContentType.FormData,
11282
11077
  format: "json",
11283
11078
  ...params,
11284
11079
  }),
@@ -11319,7 +11114,7 @@ export class Api<
11319
11114
  method: "PUT",
11320
11115
  body: data,
11321
11116
  secure: true,
11322
- type: "application/json",
11117
+ type: ContentType.Json,
11323
11118
  format: "json",
11324
11119
  ...params,
11325
11120
  }),
@@ -11370,7 +11165,7 @@ export class Api<
11370
11165
  query: query,
11371
11166
  body: data,
11372
11167
  secure: true,
11373
- type: "application/json",
11168
+ type: ContentType.Json,
11374
11169
  format: "json",
11375
11170
  ...params,
11376
11171
  }),
@@ -11417,7 +11212,7 @@ export class Api<
11417
11212
  method: "POST",
11418
11213
  body: data,
11419
11214
  secure: true,
11420
- type: "application/json",
11215
+ type: ContentType.Json,
11421
11216
  format: "json",
11422
11217
  ...params,
11423
11218
  }),
@@ -11458,7 +11253,7 @@ export class Api<
11458
11253
  method: "PUT",
11459
11254
  body: data,
11460
11255
  secure: true,
11461
- type: "application/json",
11256
+ type: ContentType.Json,
11462
11257
  format: "json",
11463
11258
  ...params,
11464
11259
  }),
@@ -11524,7 +11319,7 @@ export class Api<
11524
11319
  method: "POST",
11525
11320
  body: data,
11526
11321
  secure: true,
11527
- type: "multipart/form-data",
11322
+ type: ContentType.FormData,
11528
11323
  format: "json",
11529
11324
  ...params,
11530
11325
  }),
@@ -11632,7 +11427,7 @@ export class Api<
11632
11427
  query: query,
11633
11428
  body: data,
11634
11429
  secure: true,
11635
- type: "application/json",
11430
+ type: ContentType.Json,
11636
11431
  format: "json",
11637
11432
  ...params,
11638
11433
  }),
@@ -11676,7 +11471,7 @@ export class Api<
11676
11471
  method: "PUT",
11677
11472
  body: data,
11678
11473
  secure: true,
11679
- type: "application/json",
11474
+ type: ContentType.Json,
11680
11475
  format: "json",
11681
11476
  ...params,
11682
11477
  }),
@@ -11727,7 +11522,7 @@ export class Api<
11727
11522
  query: query,
11728
11523
  body: data,
11729
11524
  secure: true,
11730
- type: "application/json",
11525
+ type: ContentType.Json,
11731
11526
  format: "json",
11732
11527
  ...params,
11733
11528
  }),
@@ -11771,7 +11566,7 @@ export class Api<
11771
11566
  method: "POST",
11772
11567
  body: data,
11773
11568
  secure: true,
11774
- type: "application/json",
11569
+ type: ContentType.Json,
11775
11570
  format: "json",
11776
11571
  ...params,
11777
11572
  }),
@@ -11816,7 +11611,7 @@ export class Api<
11816
11611
  method: "PUT",
11817
11612
  body: data,
11818
11613
  secure: true,
11819
- type: "application/json",
11614
+ type: ContentType.Json,
11820
11615
  format: "json",
11821
11616
  ...params,
11822
11617
  }),
@@ -11904,7 +11699,7 @@ export class Api<
11904
11699
  method: "PATCH",
11905
11700
  body: data,
11906
11701
  secure: true,
11907
- type: "application/json",
11702
+ type: ContentType.JsonPatch,
11908
11703
  format: "json",
11909
11704
  ...params,
11910
11705
  }),
@@ -11925,7 +11720,7 @@ export class Api<
11925
11720
  method: "POST",
11926
11721
  body: data,
11927
11722
  secure: true,
11928
- type: "application/json",
11723
+ type: ContentType.Json,
11929
11724
  format: "json",
11930
11725
  ...params,
11931
11726
  }),
@@ -11957,7 +11752,7 @@ export class Api<
11957
11752
  query: query,
11958
11753
  body: data,
11959
11754
  secure: true,
11960
- type: "application/json",
11755
+ type: ContentType.Json,
11961
11756
  format: "json",
11962
11757
  ...params,
11963
11758
  }),
@@ -11988,7 +11783,7 @@ export class Api<
11988
11783
  query: query,
11989
11784
  body: data,
11990
11785
  secure: true,
11991
- type: "application/json",
11786
+ type: ContentType.Json,
11992
11787
  format: "json",
11993
11788
  ...params,
11994
11789
  }),
@@ -12014,7 +11809,7 @@ export class Api<
12014
11809
  method: "PATCH",
12015
11810
  body: data,
12016
11811
  secure: true,
12017
- type: "application/json",
11812
+ type: ContentType.JsonPatch,
12018
11813
  format: "json",
12019
11814
  ...params,
12020
11815
  }),
@@ -12041,7 +11836,7 @@ export class Api<
12041
11836
  method: "PATCH",
12042
11837
  body: data,
12043
11838
  secure: true,
12044
- type: "application/json",
11839
+ type: ContentType.JsonPatch,
12045
11840
  format: "json",
12046
11841
  ...params,
12047
11842
  }),
@@ -12178,31 +11973,6 @@ export class Api<
12178
11973
  ...params,
12179
11974
  }),
12180
11975
 
12181
- /**
12182
- * No description
12183
- *
12184
- * @tags LegacyLoan
12185
- * @name CreateLegacyLoanDocument
12186
- * @summary Create Document
12187
- * @request POST:/api/los/loan/generatedocument
12188
- * @deprecated
12189
- * @secure
12190
- * @response `200` `DocumentDataRequest` OK
12191
- */
12192
- createLegacyLoanDocument: (
12193
- data: GenerateDocumentRequest,
12194
- params: RequestParams = {},
12195
- ) =>
12196
- this.request<DocumentDataRequest, any>({
12197
- path: `/api/los/loan/generatedocument`,
12198
- method: "POST",
12199
- body: data,
12200
- secure: true,
12201
- type: "application/json",
12202
- format: "json",
12203
- ...params,
12204
- }),
12205
-
12206
11976
  /**
12207
11977
  * No description
12208
11978
  *
@@ -12258,7 +12028,7 @@ export class Api<
12258
12028
  method: "POST",
12259
12029
  body: data,
12260
12030
  secure: true,
12261
- type: "multipart/form-data",
12031
+ type: ContentType.FormData,
12262
12032
  format: "json",
12263
12033
  ...params,
12264
12034
  }),
@@ -12283,7 +12053,7 @@ export class Api<
12283
12053
  method: "PATCH",
12284
12054
  body: data,
12285
12055
  secure: true,
12286
- type: "application/json",
12056
+ type: ContentType.JsonPatch,
12287
12057
  format: "json",
12288
12058
  ...params,
12289
12059
  }),
@@ -12338,7 +12108,7 @@ export class Api<
12338
12108
  method: "POST",
12339
12109
  body: data,
12340
12110
  secure: true,
12341
- type: "multipart/form-data",
12111
+ type: ContentType.FormData,
12342
12112
  format: "json",
12343
12113
  ...params,
12344
12114
  }),
@@ -12363,7 +12133,7 @@ export class Api<
12363
12133
  method: "PATCH",
12364
12134
  body: data,
12365
12135
  secure: true,
12366
- type: "application/json",
12136
+ type: ContentType.JsonPatch,
12367
12137
  format: "json",
12368
12138
  ...params,
12369
12139
  }),
@@ -12437,7 +12207,7 @@ export class Api<
12437
12207
  method: "POST",
12438
12208
  body: data,
12439
12209
  secure: true,
12440
- type: "application/json",
12210
+ type: ContentType.Json,
12441
12211
  format: "json",
12442
12212
  ...params,
12443
12213
  }),
@@ -12500,7 +12270,7 @@ export class Api<
12500
12270
  method: "PUT",
12501
12271
  body: data,
12502
12272
  secure: true,
12503
- type: "application/json",
12273
+ type: ContentType.Json,
12504
12274
  format: "json",
12505
12275
  ...params,
12506
12276
  }),
@@ -12551,7 +12321,7 @@ export class Api<
12551
12321
  query: query,
12552
12322
  body: data,
12553
12323
  secure: true,
12554
- type: "application/json",
12324
+ type: ContentType.Json,
12555
12325
  format: "json",
12556
12326
  ...params,
12557
12327
  }),
@@ -12579,7 +12349,7 @@ export class Api<
12579
12349
  method: "PUT",
12580
12350
  body: data,
12581
12351
  secure: true,
12582
- type: "multipart/form-data",
12352
+ type: ContentType.FormData,
12583
12353
  format: "json",
12584
12354
  ...params,
12585
12355
  }),
@@ -12662,7 +12432,7 @@ export class Api<
12662
12432
  method: "POST",
12663
12433
  body: data,
12664
12434
  secure: true,
12665
- type: "application/json",
12435
+ type: ContentType.Json,
12666
12436
  format: "json",
12667
12437
  ...params,
12668
12438
  }),
@@ -12709,7 +12479,7 @@ export class Api<
12709
12479
  method: "POST",
12710
12480
  body: data,
12711
12481
  secure: true,
12712
- type: "application/json",
12482
+ type: ContentType.Json,
12713
12483
  format: "json",
12714
12484
  ...params,
12715
12485
  }),
@@ -12757,7 +12527,7 @@ export class Api<
12757
12527
  method: "POST",
12758
12528
  body: data,
12759
12529
  secure: true,
12760
- type: "application/json",
12530
+ type: ContentType.Json,
12761
12531
  ...params,
12762
12532
  }),
12763
12533
 
@@ -12822,7 +12592,7 @@ export class Api<
12822
12592
  method: "PUT",
12823
12593
  body: data,
12824
12594
  secure: true,
12825
- type: "application/json",
12595
+ type: ContentType.Json,
12826
12596
  ...params,
12827
12597
  }),
12828
12598
 
@@ -12850,7 +12620,7 @@ export class Api<
12850
12620
  method: "PUT",
12851
12621
  body: data,
12852
12622
  secure: true,
12853
- type: "application/json",
12623
+ type: ContentType.Json,
12854
12624
  ...params,
12855
12625
  }),
12856
12626
 
@@ -12916,7 +12686,7 @@ export class Api<
12916
12686
  method: "POST",
12917
12687
  body: data,
12918
12688
  secure: true,
12919
- type: "application/json",
12689
+ type: ContentType.Json,
12920
12690
  format: "json",
12921
12691
  ...params,
12922
12692
  }),
@@ -12961,7 +12731,7 @@ export class Api<
12961
12731
  method: "POST",
12962
12732
  body: data,
12963
12733
  secure: true,
12964
- type: "application/json",
12734
+ type: ContentType.Json,
12965
12735
  format: "json",
12966
12736
  ...params,
12967
12737
  }),
@@ -13010,7 +12780,7 @@ export class Api<
13010
12780
  method: "PUT",
13011
12781
  body: data,
13012
12782
  secure: true,
13013
- type: "application/json",
12783
+ type: ContentType.Json,
13014
12784
  format: "json",
13015
12785
  ...params,
13016
12786
  }),
@@ -13145,7 +12915,7 @@ export class Api<
13145
12915
  method: "POST",
13146
12916
  body: data,
13147
12917
  secure: true,
13148
- type: "application/json",
12918
+ type: ContentType.Json,
13149
12919
  format: "json",
13150
12920
  ...params,
13151
12921
  }),
@@ -13179,7 +12949,7 @@ export class Api<
13179
12949
  query: query,
13180
12950
  body: data,
13181
12951
  secure: true,
13182
- type: "application/json",
12952
+ type: ContentType.Json,
13183
12953
  format: "json",
13184
12954
  ...params,
13185
12955
  }),
@@ -13209,7 +12979,7 @@ export class Api<
13209
12979
  query: query,
13210
12980
  body: data,
13211
12981
  secure: true,
13212
- type: "application/json",
12982
+ type: ContentType.Json,
13213
12983
  format: "json",
13214
12984
  ...params,
13215
12985
  }),
@@ -13222,7 +12992,7 @@ export class Api<
13222
12992
  * @summary Download By ID
13223
12993
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
13224
12994
  * @secure
13225
- * @response `200` `Blob` OK
12995
+ * @response `200` `string` OK
13226
12996
  * @response `404` `ProblemDetails` Not Found
13227
12997
  */
13228
12998
  downloadLoanDocument: (
@@ -13230,7 +13000,7 @@ export class Api<
13230
13000
  documentId: string,
13231
13001
  params: RequestParams = {},
13232
13002
  ) =>
13233
- this.request<Blob, ProblemDetails>({
13003
+ this.request<string, ProblemDetails>({
13234
13004
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
13235
13005
  method: "GET",
13236
13006
  secure: true,
@@ -13267,7 +13037,7 @@ export class Api<
13267
13037
  method: "POST",
13268
13038
  body: data,
13269
13039
  secure: true,
13270
- type: "multipart/form-data",
13040
+ type: ContentType.FormData,
13271
13041
  format: "json",
13272
13042
  ...params,
13273
13043
  }),
@@ -13317,7 +13087,7 @@ export class Api<
13317
13087
  method: "POST",
13318
13088
  body: data,
13319
13089
  secure: true,
13320
- type: "application/json",
13090
+ type: ContentType.Json,
13321
13091
  format: "json",
13322
13092
  ...params,
13323
13093
  }),
@@ -13344,7 +13114,7 @@ export class Api<
13344
13114
  method: "POST",
13345
13115
  body: data,
13346
13116
  secure: true,
13347
- type: "application/json",
13117
+ type: ContentType.Json,
13348
13118
  ...params,
13349
13119
  }),
13350
13120
 
@@ -13391,7 +13161,7 @@ export class Api<
13391
13161
  method: "POST",
13392
13162
  body: data,
13393
13163
  secure: true,
13394
- type: "application/json",
13164
+ type: ContentType.Json,
13395
13165
  format: "json",
13396
13166
  ...params,
13397
13167
  }),
@@ -13436,7 +13206,7 @@ export class Api<
13436
13206
  method: "POST",
13437
13207
  body: data,
13438
13208
  secure: true,
13439
- type: "application/json",
13209
+ type: ContentType.Json,
13440
13210
  format: "json",
13441
13211
  ...params,
13442
13212
  }),
@@ -13499,7 +13269,7 @@ export class Api<
13499
13269
  method: "PUT",
13500
13270
  body: data,
13501
13271
  secure: true,
13502
- type: "application/json",
13272
+ type: ContentType.Json,
13503
13273
  format: "json",
13504
13274
  ...params,
13505
13275
  }),
@@ -13550,7 +13320,7 @@ export class Api<
13550
13320
  query: query,
13551
13321
  body: data,
13552
13322
  secure: true,
13553
- type: "application/json",
13323
+ type: ContentType.Json,
13554
13324
  format: "json",
13555
13325
  ...params,
13556
13326
  }),
@@ -13575,7 +13345,7 @@ export class Api<
13575
13345
  method: "PUT",
13576
13346
  body: data,
13577
13347
  secure: true,
13578
- type: "application/json",
13348
+ type: ContentType.Json,
13579
13349
  format: "json",
13580
13350
  ...params,
13581
13351
  }),
@@ -13650,7 +13420,7 @@ export class Api<
13650
13420
  method: "POST",
13651
13421
  body: data,
13652
13422
  secure: true,
13653
- type: "application/json",
13423
+ type: ContentType.Json,
13654
13424
  format: "json",
13655
13425
  ...params,
13656
13426
  }),
@@ -13746,7 +13516,7 @@ export class Api<
13746
13516
  method: "POST",
13747
13517
  body: data,
13748
13518
  secure: true,
13749
- type: "application/json",
13519
+ type: ContentType.Json,
13750
13520
  format: "json",
13751
13521
  ...params,
13752
13522
  }),
@@ -13780,7 +13550,7 @@ export class Api<
13780
13550
  query: query,
13781
13551
  body: data,
13782
13552
  secure: true,
13783
- type: "application/json",
13553
+ type: ContentType.Json,
13784
13554
  format: "json",
13785
13555
  ...params,
13786
13556
  }),
@@ -13831,7 +13601,7 @@ export class Api<
13831
13601
  method: "POST",
13832
13602
  body: data,
13833
13603
  secure: true,
13834
- type: "application/json",
13604
+ type: ContentType.Json,
13835
13605
  ...params,
13836
13606
  }),
13837
13607
 
@@ -13857,7 +13627,7 @@ export class Api<
13857
13627
  method: "POST",
13858
13628
  body: data,
13859
13629
  secure: true,
13860
- type: "application/json",
13630
+ type: ContentType.Json,
13861
13631
  ...params,
13862
13632
  }),
13863
13633
 
@@ -13920,7 +13690,7 @@ export class Api<
13920
13690
  query: query,
13921
13691
  body: data,
13922
13692
  secure: true,
13923
- type: "application/json",
13693
+ type: ContentType.Json,
13924
13694
  format: "json",
13925
13695
  ...params,
13926
13696
  }),
@@ -13965,7 +13735,7 @@ export class Api<
13965
13735
  method: "POST",
13966
13736
  body: data,
13967
13737
  secure: true,
13968
- type: "application/json",
13738
+ type: ContentType.Json,
13969
13739
  format: "json",
13970
13740
  ...params,
13971
13741
  }),
@@ -14019,7 +13789,7 @@ export class Api<
14019
13789
  query: query,
14020
13790
  body: data,
14021
13791
  secure: true,
14022
- type: "application/json",
13792
+ type: ContentType.Json,
14023
13793
  format: "json",
14024
13794
  ...params,
14025
13795
  }),
@@ -14052,7 +13822,7 @@ export class Api<
14052
13822
  query: query,
14053
13823
  body: data,
14054
13824
  secure: true,
14055
- type: "application/json",
13825
+ type: ContentType.Json,
14056
13826
  format: "json",
14057
13827
  ...params,
14058
13828
  }),
@@ -14098,7 +13868,7 @@ export class Api<
14098
13868
  method: "PUT",
14099
13869
  body: data,
14100
13870
  secure: true,
14101
- type: "application/json",
13871
+ type: ContentType.Json,
14102
13872
  format: "json",
14103
13873
  ...params,
14104
13874
  }),
@@ -14199,7 +13969,7 @@ export class Api<
14199
13969
  method: "POST",
14200
13970
  body: data,
14201
13971
  secure: true,
14202
- type: "application/json",
13972
+ type: ContentType.Json,
14203
13973
  format: "json",
14204
13974
  ...params,
14205
13975
  }),
@@ -14232,7 +14002,7 @@ export class Api<
14232
14002
  query: query,
14233
14003
  body: data,
14234
14004
  secure: true,
14235
- type: "application/json",
14005
+ type: ContentType.Json,
14236
14006
  format: "json",
14237
14007
  ...params,
14238
14008
  }),
@@ -14262,7 +14032,7 @@ export class Api<
14262
14032
  method: "PATCH",
14263
14033
  body: data,
14264
14034
  secure: true,
14265
- type: "application/json",
14035
+ type: ContentType.JsonPatch,
14266
14036
  format: "json",
14267
14037
  ...params,
14268
14038
  }),
@@ -14372,7 +14142,7 @@ export class Api<
14372
14142
  method: "POST",
14373
14143
  body: data,
14374
14144
  secure: true,
14375
- type: "application/json",
14145
+ type: ContentType.Json,
14376
14146
  format: "json",
14377
14147
  ...params,
14378
14148
  }),
@@ -14408,7 +14178,7 @@ export class Api<
14408
14178
  query: query,
14409
14179
  body: data,
14410
14180
  secure: true,
14411
- type: "application/json",
14181
+ type: ContentType.Json,
14412
14182
  format: "json",
14413
14183
  ...params,
14414
14184
  }),
@@ -14460,7 +14230,7 @@ export class Api<
14460
14230
  method: "POST",
14461
14231
  body: data,
14462
14232
  secure: true,
14463
- type: "application/json",
14233
+ type: ContentType.Json,
14464
14234
  format: "json",
14465
14235
  ...params,
14466
14236
  }),
@@ -14488,7 +14258,7 @@ export class Api<
14488
14258
  method: "PUT",
14489
14259
  body: data,
14490
14260
  secure: true,
14491
- type: "application/json",
14261
+ type: ContentType.Json,
14492
14262
  format: "json",
14493
14263
  ...params,
14494
14264
  }),
@@ -14547,31 +14317,7 @@ export class Api<
14547
14317
  method: "POST",
14548
14318
  body: data,
14549
14319
  secure: true,
14550
- type: "multipart/form-data",
14551
- format: "json",
14552
- ...params,
14553
- }),
14554
-
14555
- /**
14556
- * No description
14557
- *
14558
- * @tags LoanTaskDocuments
14559
- * @name CreateLoanTaskDocumentBucket
14560
- * @summary Create Bucket
14561
- * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
14562
- * @secure
14563
- * @response `204` `UserLoanTask` No Content
14564
- * @response `422` `UnprocessableEntity` Unprocessable Content
14565
- */
14566
- createLoanTaskDocumentBucket: (
14567
- loanId: string,
14568
- loanTaskId: string,
14569
- params: RequestParams = {},
14570
- ) =>
14571
- this.request<UserLoanTask, UnprocessableEntity>({
14572
- path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`,
14573
- method: "POST",
14574
- secure: true,
14320
+ type: ContentType.FormData,
14575
14321
  format: "json",
14576
14322
  ...params,
14577
14323
  }),
@@ -14585,16 +14331,21 @@ export class Api<
14585
14331
  * @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
14586
14332
  * @secure
14587
14333
  * @response `204` `void` No Content
14334
+ * @response `400` `ProblemDetails` Bad Request
14588
14335
  * @response `404` `ProblemDetails` Not Found
14336
+ * @response `422` `ProblemDetails` Unprocessable Content
14589
14337
  */
14590
14338
  sendOutstandingLoanTaskNotification: (
14591
14339
  loanId: string,
14340
+ data: SendOutstandingTaskReminderRequest,
14592
14341
  params: RequestParams = {},
14593
14342
  ) =>
14594
14343
  this.request<void, ProblemDetails>({
14595
14344
  path: `/api/loans/${loanId}/tasks/reminders/outstanding`,
14596
14345
  method: "POST",
14346
+ body: data,
14597
14347
  secure: true,
14348
+ type: ContentType.Json,
14598
14349
  ...params,
14599
14350
  }),
14600
14351
 
@@ -14620,7 +14371,7 @@ export class Api<
14620
14371
  method: "POST",
14621
14372
  body: data,
14622
14373
  secure: true,
14623
- type: "application/json",
14374
+ type: ContentType.Json,
14624
14375
  ...params,
14625
14376
  }),
14626
14377
 
@@ -14652,7 +14403,7 @@ export class Api<
14652
14403
  query: query,
14653
14404
  body: data,
14654
14405
  secure: true,
14655
- type: "application/json",
14406
+ type: ContentType.Json,
14656
14407
  format: "json",
14657
14408
  ...params,
14658
14409
  }),
@@ -14677,7 +14428,7 @@ export class Api<
14677
14428
  method: "POST",
14678
14429
  body: data,
14679
14430
  secure: true,
14680
- type: "application/json",
14431
+ type: ContentType.Json,
14681
14432
  format: "json",
14682
14433
  ...params,
14683
14434
  }),
@@ -14764,7 +14515,7 @@ export class Api<
14764
14515
  method: "POST",
14765
14516
  body: data,
14766
14517
  secure: true,
14767
- type: "application/json",
14518
+ type: ContentType.Json,
14768
14519
  format: "json",
14769
14520
  ...params,
14770
14521
  }),
@@ -14790,7 +14541,7 @@ export class Api<
14790
14541
  method: "POST",
14791
14542
  body: data,
14792
14543
  secure: true,
14793
- type: "application/json",
14544
+ type: ContentType.Json,
14794
14545
  format: "json",
14795
14546
  ...params,
14796
14547
  }),
@@ -14817,7 +14568,7 @@ export class Api<
14817
14568
  method: "PUT",
14818
14569
  body: data,
14819
14570
  secure: true,
14820
- type: "application/json",
14571
+ type: ContentType.Json,
14821
14572
  format: "json",
14822
14573
  ...params,
14823
14574
  }),
@@ -14934,7 +14685,7 @@ export class Api<
14934
14685
  method: "POST",
14935
14686
  body: data,
14936
14687
  secure: true,
14937
- type: "application/json",
14688
+ type: ContentType.Json,
14938
14689
  format: "json",
14939
14690
  ...params,
14940
14691
  }),
@@ -15012,7 +14763,7 @@ export class Api<
15012
14763
  query: query,
15013
14764
  body: data,
15014
14765
  secure: true,
15015
- type: "application/json",
14766
+ type: ContentType.Json,
15016
14767
  format: "json",
15017
14768
  ...params,
15018
14769
  }),
@@ -15056,7 +14807,7 @@ export class Api<
15056
14807
  method: "POST",
15057
14808
  body: data,
15058
14809
  secure: true,
15059
- type: "application/json",
14810
+ type: ContentType.Json,
15060
14811
  format: "json",
15061
14812
  ...params,
15062
14813
  }),
@@ -15103,7 +14854,7 @@ export class Api<
15103
14854
  method: "PUT",
15104
14855
  body: data,
15105
14856
  secure: true,
15106
- type: "application/json",
14857
+ type: ContentType.Json,
15107
14858
  format: "json",
15108
14859
  ...params,
15109
14860
  }),
@@ -15149,7 +14900,7 @@ export class Api<
15149
14900
  method: "POST",
15150
14901
  body: data,
15151
14902
  secure: true,
15152
- type: "application/json",
14903
+ type: ContentType.Json,
15153
14904
  format: "json",
15154
14905
  ...params,
15155
14906
  }),
@@ -15174,7 +14925,7 @@ export class Api<
15174
14925
  method: "POST",
15175
14926
  body: data,
15176
14927
  secure: true,
15177
- type: "application/json",
14928
+ type: ContentType.Json,
15178
14929
  format: "json",
15179
14930
  ...params,
15180
14931
  }),
@@ -15199,7 +14950,7 @@ export class Api<
15199
14950
  method: "POST",
15200
14951
  body: data,
15201
14952
  secure: true,
15202
- type: "application/json",
14953
+ type: ContentType.Json,
15203
14954
  format: "json",
15204
14955
  ...params,
15205
14956
  }),
@@ -15224,7 +14975,7 @@ export class Api<
15224
14975
  method: "POST",
15225
14976
  body: data,
15226
14977
  secure: true,
15227
- type: "application/json",
14978
+ type: ContentType.Json,
15228
14979
  format: "json",
15229
14980
  ...params,
15230
14981
  }),
@@ -15249,61 +15000,11 @@ export class Api<
15249
15000
  method: "POST",
15250
15001
  body: data,
15251
15002
  secure: true,
15252
- type: "application/json",
15003
+ type: ContentType.Json,
15253
15004
  format: "json",
15254
15005
  ...params,
15255
15006
  }),
15256
15007
 
15257
- /**
15258
- * No description
15259
- *
15260
- * @tags Notifications
15261
- * @name SendNotificationForLoan
15262
- * @summary Send Notification for Loan
15263
- * @request POST:/api/notifications
15264
- * @deprecated
15265
- * @secure
15266
- * @response `200` `void` OK
15267
- * @response `422` `UnprocessableEntity` Unprocessable Content
15268
- */
15269
- sendNotificationForLoan: (
15270
- data: SendNotificationForLoanRequest,
15271
- params: RequestParams = {},
15272
- ) =>
15273
- this.request<void, UnprocessableEntity>({
15274
- path: `/api/notifications`,
15275
- method: "POST",
15276
- body: data,
15277
- secure: true,
15278
- type: "application/json",
15279
- ...params,
15280
- }),
15281
-
15282
- /**
15283
- * No description
15284
- *
15285
- * @tags Notifications
15286
- * @name SendTestNotificationForLoan
15287
- * @summary Send Test Notification for Loan
15288
- * @request POST:/api/notifications/test
15289
- * @deprecated
15290
- * @secure
15291
- * @response `200` `void` OK
15292
- * @response `422` `UnprocessableEntity` Unprocessable Content
15293
- */
15294
- sendTestNotificationForLoan: (
15295
- data: TestSendNotificationForLoanRequest,
15296
- params: RequestParams = {},
15297
- ) =>
15298
- this.request<void, UnprocessableEntity>({
15299
- path: `/api/notifications/test`,
15300
- method: "POST",
15301
- body: data,
15302
- secure: true,
15303
- type: "application/json",
15304
- ...params,
15305
- }),
15306
-
15307
15008
  /**
15308
15009
  * No description
15309
15010
  *
@@ -15349,7 +15050,7 @@ export class Api<
15349
15050
  method: "POST",
15350
15051
  body: data,
15351
15052
  secure: true,
15352
- type: "application/json",
15053
+ type: ContentType.Json,
15353
15054
  format: "json",
15354
15055
  ...params,
15355
15056
  }),
@@ -15382,7 +15083,7 @@ export class Api<
15382
15083
  query: query,
15383
15084
  body: data,
15384
15085
  secure: true,
15385
- type: "application/json",
15086
+ type: ContentType.Json,
15386
15087
  format: "json",
15387
15088
  ...params,
15388
15089
  }),
@@ -15427,7 +15128,7 @@ export class Api<
15427
15128
  method: "PUT",
15428
15129
  body: data,
15429
15130
  secure: true,
15430
- type: "application/json",
15131
+ type: ContentType.Json,
15431
15132
  format: "json",
15432
15133
  ...params,
15433
15134
  }),
@@ -15511,7 +15212,7 @@ export class Api<
15511
15212
  method: "POST",
15512
15213
  body: data,
15513
15214
  secure: true,
15514
- type: "application/json",
15215
+ type: ContentType.Json,
15515
15216
  format: "json",
15516
15217
  ...params,
15517
15218
  }),
@@ -15560,7 +15261,7 @@ export class Api<
15560
15261
  method: "PUT",
15561
15262
  body: data,
15562
15263
  secure: true,
15563
- type: "application/json",
15264
+ type: ContentType.Json,
15564
15265
  format: "json",
15565
15266
  ...params,
15566
15267
  }),
@@ -15602,7 +15303,16 @@ export class Api<
15602
15303
  query?: {
15603
15304
  showAll?: boolean;
15604
15305
  /** @default "Realtor" */
15605
- role?: GetPartnersParamsRoleEnum;
15306
+ role?:
15307
+ | "Borrower"
15308
+ | "LoanOfficer"
15309
+ | "Admin"
15310
+ | "SuperAdmin"
15311
+ | "Realtor"
15312
+ | "SettlementAgent"
15313
+ | "LoanProcessor"
15314
+ | "LoanOfficerAssistant"
15315
+ | "SystemAdmin";
15606
15316
  /** @format int32 */
15607
15317
  pageSize?: number;
15608
15318
  /** @format int32 */
@@ -15649,7 +15359,7 @@ export class Api<
15649
15359
  query: query,
15650
15360
  body: data,
15651
15361
  secure: true,
15652
- type: "application/json",
15362
+ type: ContentType.Json,
15653
15363
  format: "json",
15654
15364
  ...params,
15655
15365
  }),
@@ -15694,7 +15404,7 @@ export class Api<
15694
15404
  method: "POST",
15695
15405
  body: data,
15696
15406
  secure: true,
15697
- type: "application/json",
15407
+ type: ContentType.Json,
15698
15408
  format: "json",
15699
15409
  ...params,
15700
15410
  }),
@@ -15748,7 +15458,7 @@ export class Api<
15748
15458
  query: query,
15749
15459
  body: data,
15750
15460
  secure: true,
15751
- type: "application/json",
15461
+ type: ContentType.Json,
15752
15462
  format: "json",
15753
15463
  ...params,
15754
15464
  }),
@@ -15793,7 +15503,7 @@ export class Api<
15793
15503
  method: "POST",
15794
15504
  body: data,
15795
15505
  secure: true,
15796
- type: "application/json",
15506
+ type: ContentType.Json,
15797
15507
  format: "json",
15798
15508
  ...params,
15799
15509
  }),
@@ -15845,7 +15555,7 @@ export class Api<
15845
15555
  method: "POST",
15846
15556
  body: data,
15847
15557
  secure: true,
15848
- type: "application/json",
15558
+ type: ContentType.Json,
15849
15559
  format: "json",
15850
15560
  ...params,
15851
15561
  }),
@@ -15902,7 +15612,7 @@ export class Api<
15902
15612
  query: query,
15903
15613
  body: data,
15904
15614
  secure: true,
15905
- type: "application/json",
15615
+ type: ContentType.Json,
15906
15616
  format: "json",
15907
15617
  ...params,
15908
15618
  }),
@@ -15938,7 +15648,7 @@ export class Api<
15938
15648
  * @response `404` `ProblemDetails` Not Found
15939
15649
  */
15940
15650
  getSamlMetadata: (
15941
- sSoIntegration: GetSamlMetadataParamsEnum,
15651
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
15942
15652
  ssoIntegration: string,
15943
15653
  params: RequestParams = {},
15944
15654
  ) =>
@@ -15960,7 +15670,7 @@ export class Api<
15960
15670
  * @response `200` `File` OK
15961
15671
  */
15962
15672
  createOrReplaceSamlMetadata: (
15963
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
15673
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
15964
15674
  ssoIntegration: string,
15965
15675
  params: RequestParams = {},
15966
15676
  ) =>
@@ -16085,7 +15795,7 @@ export class Api<
16085
15795
  method: "POST",
16086
15796
  body: data,
16087
15797
  secure: true,
16088
- type: "application/json",
15798
+ type: ContentType.Json,
16089
15799
  format: "json",
16090
15800
  ...params,
16091
15801
  }),
@@ -16133,7 +15843,7 @@ export class Api<
16133
15843
  method: "POST",
16134
15844
  body: data,
16135
15845
  secure: true,
16136
- type: "application/json",
15846
+ type: ContentType.Json,
16137
15847
  format: "json",
16138
15848
  ...params,
16139
15849
  }),
@@ -16185,7 +15895,7 @@ export class Api<
16185
15895
  method: "POST",
16186
15896
  body: data,
16187
15897
  secure: true,
16188
- type: "application/json",
15898
+ type: ContentType.Json,
16189
15899
  format: "json",
16190
15900
  ...params,
16191
15901
  }),
@@ -16227,7 +15937,7 @@ export class Api<
16227
15937
  method: "PUT",
16228
15938
  body: data,
16229
15939
  secure: true,
16230
- type: "application/json",
15940
+ type: ContentType.Json,
16231
15941
  format: "json",
16232
15942
  ...params,
16233
15943
  }),
@@ -16279,7 +15989,7 @@ export class Api<
16279
15989
  query: query,
16280
15990
  body: data,
16281
15991
  secure: true,
16282
- type: "application/json",
15992
+ type: ContentType.Json,
16283
15993
  format: "json",
16284
15994
  ...params,
16285
15995
  }),
@@ -16302,7 +16012,7 @@ export class Api<
16302
16012
  method: "POST",
16303
16013
  body: data,
16304
16014
  secure: true,
16305
- type: "application/json",
16015
+ type: ContentType.Json,
16306
16016
  ...params,
16307
16017
  }),
16308
16018
 
@@ -16335,7 +16045,7 @@ export class Api<
16335
16045
  query: query,
16336
16046
  body: data,
16337
16047
  secure: true,
16338
- type: "application/json",
16048
+ type: ContentType.Json,
16339
16049
  format: "json",
16340
16050
  ...params,
16341
16051
  }),
@@ -16379,7 +16089,7 @@ export class Api<
16379
16089
  method: "POST",
16380
16090
  body: data,
16381
16091
  secure: true,
16382
- type: "application/json",
16092
+ type: ContentType.Json,
16383
16093
  format: "json",
16384
16094
  ...params,
16385
16095
  }),
@@ -16403,7 +16113,7 @@ export class Api<
16403
16113
  method: "PUT",
16404
16114
  body: data,
16405
16115
  secure: true,
16406
- type: "application/json",
16116
+ type: ContentType.Json,
16407
16117
  format: "json",
16408
16118
  ...params,
16409
16119
  }),
@@ -16446,7 +16156,7 @@ export class Api<
16446
16156
  method: "POST",
16447
16157
  body: data,
16448
16158
  secure: true,
16449
- type: "application/json",
16159
+ type: ContentType.Json,
16450
16160
  format: "json",
16451
16161
  ...params,
16452
16162
  }),
@@ -16498,7 +16208,7 @@ export class Api<
16498
16208
  query: query,
16499
16209
  body: data,
16500
16210
  secure: true,
16501
- type: "application/json",
16211
+ type: ContentType.Json,
16502
16212
  format: "json",
16503
16213
  ...params,
16504
16214
  }),
@@ -16672,7 +16382,7 @@ export class Api<
16672
16382
  method: "POST",
16673
16383
  body: data,
16674
16384
  secure: true,
16675
- type: "application/json",
16385
+ type: ContentType.Json,
16676
16386
  format: "json",
16677
16387
  ...params,
16678
16388
  }),
@@ -16771,7 +16481,7 @@ export class Api<
16771
16481
  method: "POST",
16772
16482
  body: data,
16773
16483
  secure: true,
16774
- type: "application/json",
16484
+ type: ContentType.Json,
16775
16485
  format: "json",
16776
16486
  ...params,
16777
16487
  }),
@@ -16837,7 +16547,7 @@ export class Api<
16837
16547
  method: "POST",
16838
16548
  body: data,
16839
16549
  secure: true,
16840
- type: "application/json",
16550
+ type: ContentType.Json,
16841
16551
  format: "json",
16842
16552
  ...params,
16843
16553
  }),
@@ -16908,7 +16618,7 @@ export class Api<
16908
16618
  query: query,
16909
16619
  body: data,
16910
16620
  secure: true,
16911
- type: "application/json",
16621
+ type: ContentType.Json,
16912
16622
  format: "json",
16913
16623
  ...params,
16914
16624
  }),
@@ -17005,7 +16715,7 @@ export class Api<
17005
16715
  method: "PUT",
17006
16716
  body: data,
17007
16717
  secure: true,
17008
- type: "application/json",
16718
+ type: ContentType.Json,
17009
16719
  format: "json",
17010
16720
  ...params,
17011
16721
  }),
@@ -17047,7 +16757,7 @@ export class Api<
17047
16757
  method: "POST",
17048
16758
  body: data,
17049
16759
  secure: true,
17050
- type: "application/json",
16760
+ type: ContentType.Json,
17051
16761
  format: "json",
17052
16762
  ...params,
17053
16763
  }),
@@ -17073,7 +16783,7 @@ export class Api<
17073
16783
  method: "POST",
17074
16784
  body: data,
17075
16785
  secure: true,
17076
- type: "application/json",
16786
+ type: ContentType.Json,
17077
16787
  ...params,
17078
16788
  }),
17079
16789
 
@@ -17098,7 +16808,7 @@ export class Api<
17098
16808
  method: "POST",
17099
16809
  body: data,
17100
16810
  secure: true,
17101
- type: "application/json",
16811
+ type: ContentType.Json,
17102
16812
  ...params,
17103
16813
  }),
17104
16814
 
@@ -17184,7 +16894,7 @@ export class Api<
17184
16894
  method: "POST",
17185
16895
  body: data,
17186
16896
  secure: true,
17187
- type: "application/json",
16897
+ type: ContentType.Json,
17188
16898
  ...params,
17189
16899
  }),
17190
16900
 
@@ -17224,7 +16934,7 @@ export class Api<
17224
16934
  method: "POST",
17225
16935
  body: data,
17226
16936
  secure: true,
17227
- type: "application/json",
16937
+ type: ContentType.Json,
17228
16938
  ...params,
17229
16939
  }),
17230
16940
 
@@ -17307,7 +17017,7 @@ export class Api<
17307
17017
  method: "POST",
17308
17018
  body: data,
17309
17019
  secure: true,
17310
- type: "application/json",
17020
+ type: ContentType.Json,
17311
17021
  ...params,
17312
17022
  }),
17313
17023
 
@@ -17399,7 +17109,7 @@ export class Api<
17399
17109
  method: "POST",
17400
17110
  body: data,
17401
17111
  secure: true,
17402
- type: "application/json",
17112
+ type: ContentType.Json,
17403
17113
  format: "json",
17404
17114
  ...params,
17405
17115
  }),
@@ -17432,7 +17142,7 @@ export class Api<
17432
17142
  query: query,
17433
17143
  body: data,
17434
17144
  secure: true,
17435
- type: "application/json",
17145
+ type: ContentType.Json,
17436
17146
  format: "json",
17437
17147
  ...params,
17438
17148
  }),
@@ -17453,7 +17163,7 @@ export class Api<
17453
17163
  method: "POST",
17454
17164
  body: data,
17455
17165
  secure: true,
17456
- type: "application/json",
17166
+ type: ContentType.Json,
17457
17167
  format: "json",
17458
17168
  ...params,
17459
17169
  }),
@@ -17475,7 +17185,7 @@ export class Api<
17475
17185
  method: "POST",
17476
17186
  body: data,
17477
17187
  secure: true,
17478
- type: "application/json",
17188
+ type: ContentType.Json,
17479
17189
  format: "json",
17480
17190
  ...params,
17481
17191
  }),
@@ -17501,7 +17211,7 @@ export class Api<
17501
17211
  method: "PUT",
17502
17212
  body: data,
17503
17213
  secure: true,
17504
- type: "application/json",
17214
+ type: ContentType.Json,
17505
17215
  format: "json",
17506
17216
  ...params,
17507
17217
  }),
@@ -17567,7 +17277,7 @@ export class Api<
17567
17277
  method: "POST",
17568
17278
  body: data,
17569
17279
  secure: true,
17570
- type: "application/json",
17280
+ type: ContentType.Json,
17571
17281
  ...params,
17572
17282
  }),
17573
17283
 
@@ -17588,7 +17298,7 @@ export class Api<
17588
17298
  method: "POST",
17589
17299
  body: data,
17590
17300
  secure: true,
17591
- type: "application/json",
17301
+ type: ContentType.Json,
17592
17302
  ...params,
17593
17303
  }),
17594
17304
 
@@ -17613,7 +17323,7 @@ export class Api<
17613
17323
  method: "POST",
17614
17324
  body: data,
17615
17325
  secure: true,
17616
- type: "application/json",
17326
+ type: ContentType.Json,
17617
17327
  ...params,
17618
17328
  }),
17619
17329
 
@@ -17637,7 +17347,7 @@ export class Api<
17637
17347
  method: "POST",
17638
17348
  body: data,
17639
17349
  secure: true,
17640
- type: "application/json",
17350
+ type: ContentType.Json,
17641
17351
  ...params,
17642
17352
  }),
17643
17353
 
@@ -17680,7 +17390,7 @@ export class Api<
17680
17390
  method: "PUT",
17681
17391
  body: data,
17682
17392
  secure: true,
17683
- type: "application/json",
17393
+ type: ContentType.Json,
17684
17394
  ...params,
17685
17395
  }),
17686
17396
 
@@ -17720,7 +17430,7 @@ export class Api<
17720
17430
  method: "PUT",
17721
17431
  body: data,
17722
17432
  secure: true,
17723
- type: "application/json",
17433
+ type: ContentType.Json,
17724
17434
  format: "json",
17725
17435
  ...params,
17726
17436
  }),
@@ -17744,7 +17454,7 @@ export class Api<
17744
17454
  method: "PUT",
17745
17455
  body: data,
17746
17456
  secure: true,
17747
- type: "application/json",
17457
+ type: ContentType.Json,
17748
17458
  format: "json",
17749
17459
  ...params,
17750
17460
  }),
@@ -17821,7 +17531,7 @@ export class Api<
17821
17531
  method: "POST",
17822
17532
  body: data,
17823
17533
  secure: true,
17824
- type: "application/json",
17534
+ type: ContentType.Json,
17825
17535
  ...params,
17826
17536
  }),
17827
17537
 
@@ -17841,7 +17551,7 @@ export class Api<
17841
17551
  method: "POST",
17842
17552
  body: data,
17843
17553
  secure: true,
17844
- type: "application/json",
17554
+ type: ContentType.Json,
17845
17555
  format: "json",
17846
17556
  ...params,
17847
17557
  }),