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

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
@@ -511,7 +511,9 @@ export type AiQueryTemplateName =
511
511
  | "ApplicationCompleteness"
512
512
  | "LosSyncHealth"
513
513
  | "DeclarationsRisk"
514
- | "MilitaryEligibility";
514
+ | "MilitaryEligibility"
515
+ | "OutstandingTasks"
516
+ | "ConsentTracking";
515
517
 
516
518
  export type AiPromptCategory =
517
519
  | "DocumentAnalysis"
@@ -673,7 +675,7 @@ export interface AccountBilling {
673
675
  }
674
676
 
675
677
  export interface AccountBillingRequest {
676
- billingType: "ClosedLoan" | "LoanOfficer";
678
+ billingType: AccountBillingRequestBillingTypeEnum;
677
679
  /** @format double */
678
680
  contractedRate: number;
679
681
  }
@@ -723,7 +725,7 @@ export interface Action {
723
725
  comments?: string | null;
724
726
  /** @format uuid */
725
727
  siteConfigurationID: string;
726
- applicationSettings?: any;
728
+ applicationSettings?: any | null;
727
729
  surveysToken?: string | null;
728
730
  }
729
731
 
@@ -960,29 +962,7 @@ export interface AiAuditLog {
960
962
  conversationId?: string | null;
961
963
  /** @format uuid */
962
964
  messageId?: string | null;
963
- eventType:
964
- | "Error"
965
- | "GuardrailBlockedPre"
966
- | "GuardrailPassedPre"
967
- | "IntentClassified"
968
- | "LoanResolvedFromMessage"
969
- | "DocumentNotFound"
970
- | "GuardrailBlockedPost"
971
- | "GuardrailPassedPost"
972
- | "DocumentAnalyzed"
973
- | "DocumentList"
974
- | "DocumentResolutionAmbiguous"
975
- | "ResponseGenerated"
976
- | "ParametersExtracted"
977
- | "QueryExecuted"
978
- | "LoanContextNotFound"
979
- | "LoanContextLoaded"
980
- | "GuardrailBlockedBedrock"
981
- | "PromptMatched"
982
- | "QueryCondensed"
983
- | "IntentParseFailed"
984
- | "LoanSearchTermDiscarded"
985
- | "CanonicalFieldsSelected";
965
+ eventType: AiAuditLogEventTypeEnum;
986
966
  modelId?: string | null;
987
967
  /** @format int32 */
988
968
  inputTokens?: number | null;
@@ -995,7 +975,7 @@ export interface AiAuditLog {
995
975
  guardrailCategory?: string | null;
996
976
  rawRequest?: string | null;
997
977
  rawResponse?: string | null;
998
- details?: any;
978
+ details?: any | null;
999
979
  /** @format date-time */
1000
980
  createdAt: string;
1001
981
  }
@@ -1064,18 +1044,7 @@ export interface AiChatMessagePaginated {
1064
1044
  }
1065
1045
 
1066
1046
  export interface AiChatMetadata {
1067
- intent:
1068
- | "Greeting"
1069
- | "Invalid"
1070
- | "Relevant"
1071
- | "LoanSpecific"
1072
- | "DocumentList"
1073
- | "GeneralKnowledge"
1074
- | "Blocked"
1075
- | "Action"
1076
- | "ConversationMeta"
1077
- | "Capabilities"
1078
- | "UsageReport";
1047
+ intent: AiChatMetadataIntentEnum;
1079
1048
  fieldsAccessed: string[];
1080
1049
  /** @format int64 */
1081
1050
  queryTimeMs: number;
@@ -1103,7 +1072,7 @@ export interface AiChatRequest {
1103
1072
  }
1104
1073
 
1105
1074
  export interface AiChatStructuredData {
1106
- type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
1075
+ type: AiChatStructuredDataTypeEnum;
1107
1076
  displayHint?: AiDisplayHint | null;
1108
1077
  detectedDocumentType?: string | null;
1109
1078
  columns: string[];
@@ -1120,19 +1089,12 @@ export interface AiConfigChangeLog {
1120
1089
  accountId?: string | null;
1121
1090
  /** @format uuid */
1122
1091
  actorUserId: string;
1123
- entityType:
1124
- | "Prompt"
1125
- | "Guardrail"
1126
- | "CanonicalField"
1127
- | "UrlSource"
1128
- | "AdminSettings"
1129
- | "AccountTokenSettings"
1130
- | "AccountSettings";
1092
+ entityType: AiConfigChangeLogEntityTypeEnum;
1131
1093
  /** @format uuid */
1132
1094
  entityId?: string | null;
1133
- action: "Created" | "Updated" | "Deleted" | "Toggled";
1134
- before?: any;
1135
- after?: any;
1095
+ action: AiConfigChangeLogActionEnum;
1096
+ before?: any | null;
1097
+ after?: any | null;
1136
1098
  /** @format date-time */
1137
1099
  createdAt: string;
1138
1100
  }
@@ -1213,7 +1175,7 @@ export interface AiGuardrail {
1213
1175
  /** @format uuid */
1214
1176
  id: string;
1215
1177
  name: string;
1216
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1178
+ category: AiGuardrailCategoryEnum;
1217
1179
  description?: string | null;
1218
1180
  keywords: string[];
1219
1181
  responseTemplate: string;
@@ -1325,8 +1287,8 @@ export interface AiUrlSource {
1325
1287
  name: string;
1326
1288
  url: string;
1327
1289
  description?: string | null;
1328
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1329
- scope: "FullDomain" | "SpecificPath";
1290
+ category: AiUrlSourceCategoryEnum;
1291
+ scope: AiUrlSourceScopeEnum;
1330
1292
  isActive: boolean;
1331
1293
  isDefault: boolean;
1332
1294
  hasAccountOverride: boolean;
@@ -1444,21 +1406,14 @@ export interface AuditLogEntry {
1444
1406
  /** @format uuid */
1445
1407
  id: string;
1446
1408
  entityType: string;
1447
- changeType:
1448
- | "Created"
1449
- | "Modified"
1450
- | "SoftDeleted"
1451
- | "HardDeleted"
1452
- | "Restored"
1453
- | "Deactivated"
1454
- | "Reactivated";
1409
+ changeType: AuditLogEntryChangeTypeEnum;
1455
1410
  /** @format uuid */
1456
1411
  entityId: string;
1457
1412
  performedBy?: AuditLogUser | null;
1458
1413
  rootEntityType?: string | null;
1459
1414
  /** @format uuid */
1460
1415
  rootEntityId?: string | null;
1461
- changes?: any;
1416
+ changes?: any | null;
1462
1417
  /** @format date-time */
1463
1418
  createdAt: string;
1464
1419
  }
@@ -1503,20 +1458,7 @@ export interface BorrowerCount {
1503
1458
  firstName: string;
1504
1459
  lastName: string;
1505
1460
  email: string;
1506
- role:
1507
- | "Borrower"
1508
- | "CoBorrower"
1509
- | "NonBorrower"
1510
- | "LoanOfficer"
1511
- | "LoanProcessor"
1512
- | "LoanOfficerAssistant"
1513
- | "SupportingLoanOfficer"
1514
- | "BuyerAgent"
1515
- | "SellerAgent"
1516
- | "TitleInsuranceAgent"
1517
- | "EscrowAgent"
1518
- | "SettlementAgent"
1519
- | "Admin";
1461
+ role: BorrowerCountRoleEnum;
1520
1462
  /** @format int32 */
1521
1463
  count: number;
1522
1464
  }
@@ -1527,20 +1469,7 @@ export interface BorrowerIdentity {
1527
1469
  firstName: string;
1528
1470
  lastName: string;
1529
1471
  email: string;
1530
- role:
1531
- | "Borrower"
1532
- | "CoBorrower"
1533
- | "NonBorrower"
1534
- | "LoanOfficer"
1535
- | "LoanProcessor"
1536
- | "LoanOfficerAssistant"
1537
- | "SupportingLoanOfficer"
1538
- | "BuyerAgent"
1539
- | "SellerAgent"
1540
- | "TitleInsuranceAgent"
1541
- | "EscrowAgent"
1542
- | "SettlementAgent"
1543
- | "Admin";
1472
+ role: BorrowerIdentityRoleEnum;
1544
1473
  }
1545
1474
 
1546
1475
  export interface BorrowersNotUsingPosSummary {
@@ -1801,7 +1730,7 @@ export interface CorporateSearchCriteria {
1801
1730
  }
1802
1731
 
1803
1732
  export interface CreateAccessScopeRequest {
1804
- scopeType: "User" | "Branch";
1733
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1805
1734
  /** @format uuid */
1806
1735
  userId?: string | null;
1807
1736
  /** @format uuid */
@@ -1820,7 +1749,7 @@ export interface CreateAccountRequest {
1820
1749
  /** @format int64 */
1821
1750
  nlmsid: number;
1822
1751
  settings: AccountSettingsRequest;
1823
- environment: "Development" | "Staging" | "UAT" | "Production";
1752
+ environment: CreateAccountRequestEnvironmentEnum;
1824
1753
  losIntegration: LOSIntegration;
1825
1754
  billingSettings: AccountBillingRequest;
1826
1755
  }
@@ -1836,7 +1765,7 @@ export interface CreateAiCanonicalFieldRequest {
1836
1765
 
1837
1766
  export interface CreateAiGuardrailRequest {
1838
1767
  name: string;
1839
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1768
+ category: CreateAiGuardrailRequestCategoryEnum;
1840
1769
  description?: string | null;
1841
1770
  keywords: string[];
1842
1771
  responseTemplate: string;
@@ -1864,8 +1793,8 @@ export interface CreateAiUrlSourceRequest {
1864
1793
  name: string;
1865
1794
  url: string;
1866
1795
  description?: string | null;
1867
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1868
- scope: "FullDomain" | "SpecificPath";
1796
+ category: CreateAiUrlSourceRequestCategoryEnum;
1797
+ scope: CreateAiUrlSourceRequestScopeEnum;
1869
1798
  }
1870
1799
 
1871
1800
  export interface CreateBranchRequest {
@@ -1890,15 +1819,8 @@ export interface CreateCustomFieldDefinitionRequest {
1890
1819
  name: string;
1891
1820
  defaultValue?: string | null;
1892
1821
  regexPattern?: string | null;
1893
- dataType:
1894
- | "String"
1895
- | "Number"
1896
- | "Decimal"
1897
- | "Boolean"
1898
- | "Date"
1899
- | "SingleSelect"
1900
- | "MultiSelect";
1901
- entityType: "Loan";
1822
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1823
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1902
1824
  options?: CustomFieldOptionRequest[] | null;
1903
1825
  permissions?: CustomFieldPermissionRequest[] | null;
1904
1826
  }
@@ -1915,20 +1837,7 @@ export interface CreateDocumentTemplateRequest {
1915
1837
  export interface CreateGroupMemberRequest {
1916
1838
  /** @format uuid */
1917
1839
  userId: string;
1918
- loanRole:
1919
- | "Borrower"
1920
- | "CoBorrower"
1921
- | "NonBorrower"
1922
- | "LoanOfficer"
1923
- | "LoanProcessor"
1924
- | "LoanOfficerAssistant"
1925
- | "SupportingLoanOfficer"
1926
- | "BuyerAgent"
1927
- | "SellerAgent"
1928
- | "TitleInsuranceAgent"
1929
- | "EscrowAgent"
1930
- | "SettlementAgent"
1931
- | "Admin";
1840
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1932
1841
  }
1933
1842
 
1934
1843
  export interface CreateInviteRequest {
@@ -1937,7 +1846,7 @@ export interface CreateInviteRequest {
1937
1846
  emailAddress: string;
1938
1847
  phoneNumber?: string | null;
1939
1848
  /** @deprecated */
1940
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1849
+ relationship: CreateInviteRequestRelationshipEnum;
1941
1850
  loanID: string;
1942
1851
  route?: string | null;
1943
1852
  /** @format uuid */
@@ -1959,7 +1868,7 @@ export interface CreateLoanImportRequest {
1959
1868
  endDate: string;
1960
1869
  /** @format date-time */
1961
1870
  startDate: string;
1962
- importMode: "All" | "NewOnly" | "UpdateOnly";
1871
+ importMode: CreateLoanImportRequestImportModeEnum;
1963
1872
  }
1964
1873
 
1965
1874
  export interface CreateSession {
@@ -1981,20 +1890,7 @@ export interface CreateUserDeviceRequest {
1981
1890
  }
1982
1891
 
1983
1892
  export interface CreateUserDraft {
1984
- loanRole:
1985
- | "Borrower"
1986
- | "CoBorrower"
1987
- | "NonBorrower"
1988
- | "LoanOfficer"
1989
- | "LoanProcessor"
1990
- | "LoanOfficerAssistant"
1991
- | "SupportingLoanOfficer"
1992
- | "BuyerAgent"
1993
- | "SellerAgent"
1994
- | "TitleInsuranceAgent"
1995
- | "EscrowAgent"
1996
- | "SettlementAgent"
1997
- | "Admin";
1893
+ loanRole: CreateUserDraftLoanRoleEnum;
1998
1894
  }
1999
1895
 
2000
1896
  export interface CreateUserGroupRequest {
@@ -2062,15 +1958,8 @@ export interface CustomFieldDefinition {
2062
1958
  name: string;
2063
1959
  defaultValue?: string | null;
2064
1960
  regexPattern?: string | null;
2065
- dataType:
2066
- | "String"
2067
- | "Number"
2068
- | "Decimal"
2069
- | "Boolean"
2070
- | "Date"
2071
- | "SingleSelect"
2072
- | "MultiSelect";
2073
- entityType: "Loan";
1961
+ dataType: CustomFieldDefinitionDataTypeEnum;
1962
+ entityType: CustomFieldDefinitionEntityTypeEnum;
2074
1963
  options: CustomFieldOption[];
2075
1964
  permissions: CustomFieldPermission[];
2076
1965
  encompassMapping?: EncompassMapping | null;
@@ -2085,14 +1974,7 @@ export interface CustomFieldEntry {
2085
1974
  displayOrder: number;
2086
1975
  name: string;
2087
1976
  value: string;
2088
- dataType:
2089
- | "String"
2090
- | "Number"
2091
- | "Decimal"
2092
- | "Boolean"
2093
- | "Date"
2094
- | "SingleSelect"
2095
- | "MultiSelect";
1977
+ dataType: CustomFieldEntryDataTypeEnum;
2096
1978
  }
2097
1979
 
2098
1980
  export interface CustomFieldOption {
@@ -2112,31 +1994,13 @@ export interface CustomFieldOptionRequest {
2112
1994
  export interface CustomFieldPermission {
2113
1995
  /** @format uuid */
2114
1996
  id: string;
2115
- role:
2116
- | "Borrower"
2117
- | "LoanOfficer"
2118
- | "Admin"
2119
- | "SuperAdmin"
2120
- | "Realtor"
2121
- | "SettlementAgent"
2122
- | "LoanProcessor"
2123
- | "LoanOfficerAssistant"
2124
- | "SystemAdmin";
2125
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1997
+ role: CustomFieldPermissionRoleEnum;
1998
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
2126
1999
  }
2127
2000
 
2128
2001
  export interface CustomFieldPermissionRequest {
2129
- role:
2130
- | "Borrower"
2131
- | "LoanOfficer"
2132
- | "Admin"
2133
- | "SuperAdmin"
2134
- | "Realtor"
2135
- | "SettlementAgent"
2136
- | "LoanProcessor"
2137
- | "LoanOfficerAssistant"
2138
- | "SystemAdmin";
2139
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2002
+ role: CustomFieldPermissionRequestRoleEnum;
2003
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2140
2004
  }
2141
2005
 
2142
2006
  export interface CustomFieldValue {
@@ -2148,14 +2012,7 @@ export interface CustomFieldValue {
2148
2012
  customFieldDefinitionID: string;
2149
2013
  value: string;
2150
2014
  definitionName: string;
2151
- dataType:
2152
- | "String"
2153
- | "Number"
2154
- | "Decimal"
2155
- | "Boolean"
2156
- | "Date"
2157
- | "SingleSelect"
2158
- | "MultiSelect";
2015
+ dataType: CustomFieldValueDataTypeEnum;
2159
2016
  }
2160
2017
 
2161
2018
  export interface DetailedUser {
@@ -2412,7 +2269,7 @@ export interface Draft {
2412
2269
  siteConfiguration: SiteConfigurationReduced;
2413
2270
  /** @format uuid */
2414
2271
  loanID?: string | null;
2415
- type: "NewLoan" | "EditLoan";
2272
+ type: DraftTypeEnum;
2416
2273
  isCoBorrower: boolean;
2417
2274
  }
2418
2275
 
@@ -2431,7 +2288,7 @@ export interface DraftContent {
2431
2288
  siteConfiguration: SiteConfigurationReduced;
2432
2289
  /** @format uuid */
2433
2290
  loanID?: string | null;
2434
- type: "NewLoan" | "EditLoan";
2291
+ type: DraftContentTypeEnum;
2435
2292
  isCoBorrower: boolean;
2436
2293
  applicationPayload: any;
2437
2294
  }
@@ -2450,7 +2307,7 @@ export interface DraftLoanOfficerReassignRequest {
2450
2307
 
2451
2308
  export interface DraftRequest {
2452
2309
  applicationPayload: any;
2453
- customData?: any;
2310
+ customData?: any | null;
2454
2311
  isCoBorrower: boolean;
2455
2312
  }
2456
2313
 
@@ -2528,9 +2385,9 @@ export interface EncompassCredentialsDetail {
2528
2385
  clearStateIfUnlicensed: boolean;
2529
2386
  /** @deprecated */
2530
2387
  baseUrl?: string | null;
2531
- encompassEnvironment: "Production" | "UAT";
2388
+ encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2532
2389
  consumerConnectWidgetHost?: string | null;
2533
- signingMethod: "ConsumerConnect" | "POSF";
2390
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2534
2391
  subscriptionId?: string | null;
2535
2392
  environment?: string | null;
2536
2393
  }
@@ -2547,9 +2404,9 @@ export interface EncompassCredentialsRequest {
2547
2404
  clearStateIfUnlicensed: boolean;
2548
2405
  /** @deprecated */
2549
2406
  baseUrl?: string | null;
2550
- encompassEnvironment: "Production" | "UAT";
2407
+ encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2551
2408
  consumerConnectWidgetHost?: string | null;
2552
- signingMethod: "ConsumerConnect" | "POSF";
2409
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2553
2410
  subscriptionId?: string | null;
2554
2411
  environment?: string | null;
2555
2412
  clientID?: string | null;
@@ -2670,15 +2527,8 @@ export interface EncompassRequestLog {
2670
2527
  losId?: string | null;
2671
2528
  /** @format uuid */
2672
2529
  accountId: string;
2673
- operationType:
2674
- | "FieldUpdate"
2675
- | "ConsentUpdate"
2676
- | "DocumentSync"
2677
- | "MilestoneUpdate"
2678
- | "DocumentAttachment"
2679
- | "General"
2680
- | "FieldReader";
2681
- outcome: "Success" | "Failure" | "PartialSuccess";
2530
+ operationType: EncompassRequestLogOperationTypeEnum;
2531
+ outcome: EncompassRequestLogOutcomeEnum;
2682
2532
  message: string;
2683
2533
  endpoint?: string | null;
2684
2534
  httpMethod?: string | null;
@@ -2686,7 +2536,7 @@ export interface EncompassRequestLog {
2686
2536
  httpStatusCode?: number | null;
2687
2537
  /** @format int64 */
2688
2538
  durationMs?: number | null;
2689
- context?: any;
2539
+ context?: any | null;
2690
2540
  /** @format date-time */
2691
2541
  createdAt: string;
2692
2542
  }
@@ -2732,7 +2582,7 @@ export interface FileSearchCriteria {
2732
2582
  export interface FileWithBytes {
2733
2583
  name: string;
2734
2584
  /** @format byte */
2735
- data: string;
2585
+ data: Blob;
2736
2586
  fileName: string;
2737
2587
  mimeType?: string | null;
2738
2588
  extension?: string | null;
@@ -2811,7 +2661,7 @@ export interface FormSubmission {
2811
2661
  subjectPropertyAddressCounty?: string | null;
2812
2662
  subjectPropertyAddressState?: string | null;
2813
2663
  subjectPropertyAddressZip?: string | null;
2814
- data?: any;
2664
+ data?: any | null;
2815
2665
  /** @format uuid */
2816
2666
  listingID?: string | null;
2817
2667
  listing?: Listing | null;
@@ -2849,7 +2699,7 @@ export interface FormSubmissionRequest {
2849
2699
  subjectPropertyAddressCounty?: string | null;
2850
2700
  subjectPropertyAddressState?: string | null;
2851
2701
  subjectPropertyAddressZip?: string | null;
2852
- data?: any;
2702
+ data?: any | null;
2853
2703
  /** @format uuid */
2854
2704
  listingID?: string | null;
2855
2705
  }
@@ -2904,20 +2754,7 @@ export interface FusionFieldDisplay {
2904
2754
  }
2905
2755
 
2906
2756
  export interface FusionReportFilter {
2907
- filterType:
2908
- | "DateGreaterThanOrEqualTo"
2909
- | "DateGreaterThan"
2910
- | "DateLessThan"
2911
- | "DateLessThanOrEqualTo"
2912
- | "DateEquals"
2913
- | "DateDoesntEqual"
2914
- | "DateNonEmpty"
2915
- | "DateEmpty"
2916
- | "StringContains"
2917
- | "StringEquals"
2918
- | "StringNotEmpty"
2919
- | "StringNotEquals"
2920
- | "StringNotContains";
2757
+ filterType: FusionReportFilterFilterTypeEnum;
2921
2758
  targetField: string;
2922
2759
  targetValue: string;
2923
2760
  }
@@ -2942,7 +2779,7 @@ export interface GenerateSystemPrompt {
2942
2779
 
2943
2780
  export interface GenerateSystemPromptRequest {
2944
2781
  description: string;
2945
- category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2782
+ category: GenerateSystemPromptRequestCategoryEnum;
2946
2783
  }
2947
2784
 
2948
2785
  export interface GetApplications {
@@ -3038,45 +2875,12 @@ export interface GetWorkflowRequest {
3038
2875
  export interface GuidPatchOperation {
3039
2876
  op: string;
3040
2877
  path: string;
3041
- value?: any;
2878
+ value?: any | null;
3042
2879
  from?: string | null;
3043
2880
  }
3044
2881
 
3045
2882
  export interface IPAddress {
3046
- addressFamily:
3047
- | "Unspecified"
3048
- | "Unix"
3049
- | "InterNetwork"
3050
- | "ImpLink"
3051
- | "Pup"
3052
- | "Chaos"
3053
- | "NS"
3054
- | "Ipx"
3055
- | "Iso"
3056
- | "Osi"
3057
- | "Ecma"
3058
- | "DataKit"
3059
- | "Ccitt"
3060
- | "Sna"
3061
- | "DecNet"
3062
- | "DataLink"
3063
- | "Lat"
3064
- | "HyperChannel"
3065
- | "AppleTalk"
3066
- | "NetBios"
3067
- | "VoiceView"
3068
- | "FireFox"
3069
- | "Banyan"
3070
- | "Atm"
3071
- | "InterNetworkV6"
3072
- | "Cluster"
3073
- | "Ieee12844"
3074
- | "Irda"
3075
- | "NetworkDesigners"
3076
- | "Max"
3077
- | "Packet"
3078
- | "ControllerAreaNetwork"
3079
- | "Unknown";
2883
+ addressFamily: IpAddressAddressFamilyEnum;
3080
2884
  /** @format int64 */
3081
2885
  scopeId: number;
3082
2886
  isIPv6Multicast: boolean;
@@ -3338,7 +3142,7 @@ export interface Loan {
3338
3142
  contacts: LoanContact[];
3339
3143
  customFields: CustomFieldEntry[];
3340
3144
  milestones: LoanMilestone[];
3341
- signingMethod: "ConsumerConnect" | "POSF";
3145
+ signingMethod: LoanSigningMethodEnum;
3342
3146
  }
3343
3147
 
3344
3148
  export interface LoanApplication {
@@ -3376,7 +3180,7 @@ export interface LoanApplicationRequest {
3376
3180
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3377
3181
  /** @format uuid */
3378
3182
  draftId?: string | null;
3379
- additionalFields?: Record<string, any>;
3183
+ additionalFields?: Record<string, any> | null;
3380
3184
  /** @format uuid */
3381
3185
  existingLoanId?: string | null;
3382
3186
  }
@@ -3396,7 +3200,7 @@ export interface LoanBorrower {
3396
3200
  citizenship?: LoanCitizenship | null;
3397
3201
  maritalStatus?: LoanMaritalStatus | null;
3398
3202
  languagePreference?: LoanLanguagePreference | null;
3399
- applicationStatus: "Draft" | "Complete";
3203
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
3400
3204
  /** @format int32 */
3401
3205
  numberOfDependents?: number | null;
3402
3206
  isPrimaryBorrower: boolean;
@@ -3976,9 +3780,18 @@ export interface LoanBorrowerRealEstateAsset {
3976
3780
  /** @format double */
3977
3781
  marketValue?: number | null;
3978
3782
  /** @format double */
3783
+ purchasePrice?: number | null;
3784
+ /** @format int32 */
3785
+ yearBuilt?: number | null;
3786
+ /** @format int32 */
3787
+ numberOfUnits?: number | null;
3788
+ /** @format double */
3979
3789
  monthlyInsTaxDues?: number | null;
3980
3790
  /** @format double */
3981
3791
  monthlyRentalIncome?: number | null;
3792
+ /** @format double */
3793
+ maintenanceExpense?: number | null;
3794
+ dispositionStatus?: string | null;
3982
3795
  address?: AddressV3 | null;
3983
3796
  mortgages?: LoanBorrowerRealEstateAssetMortgage[] | null;
3984
3797
  }
@@ -4165,7 +3978,7 @@ export interface LoanConsentRequest {
4165
3978
  borrowerEConsent?: boolean | null;
4166
3979
  borrowerCreditAuth?: boolean | null;
4167
3980
  borrowerTCPAOptIn?: boolean | null;
4168
- additionalFields?: Record<string, string>;
3981
+ additionalFields?: Record<string, string> | null;
4169
3982
  }
4170
3983
 
4171
3984
  export interface LoanContact {
@@ -4184,20 +3997,7 @@ export interface LoanContact {
4184
3997
  email?: string | null;
4185
3998
  phone?: string | null;
4186
3999
  companyName?: string | null;
4187
- role:
4188
- | "Borrower"
4189
- | "CoBorrower"
4190
- | "NonBorrower"
4191
- | "LoanOfficer"
4192
- | "LoanProcessor"
4193
- | "LoanOfficerAssistant"
4194
- | "SupportingLoanOfficer"
4195
- | "BuyerAgent"
4196
- | "SellerAgent"
4197
- | "TitleInsuranceAgent"
4198
- | "EscrowAgent"
4199
- | "SettlementAgent"
4200
- | "Admin";
4000
+ role: LoanContactRoleEnum;
4201
4001
  }
4202
4002
 
4203
4003
  export interface LoanContactList {
@@ -4205,7 +4005,7 @@ export interface LoanContactList {
4205
4005
  }
4206
4006
 
4207
4007
  export interface LoanCustomFieldsRequest {
4208
- additionalFields?: Record<string, string>;
4008
+ additionalFields?: Record<string, string> | null;
4209
4009
  }
4210
4010
 
4211
4011
  export interface LoanDocument {
@@ -4258,39 +4058,13 @@ export interface LoanDocumentFolderPermission {
4258
4058
  id: string;
4259
4059
  /** @format uuid */
4260
4060
  loanDocumentFolderID: string;
4261
- role:
4262
- | "Borrower"
4263
- | "CoBorrower"
4264
- | "NonBorrower"
4265
- | "LoanOfficer"
4266
- | "LoanProcessor"
4267
- | "LoanOfficerAssistant"
4268
- | "SupportingLoanOfficer"
4269
- | "BuyerAgent"
4270
- | "SellerAgent"
4271
- | "TitleInsuranceAgent"
4272
- | "EscrowAgent"
4273
- | "SettlementAgent"
4274
- | "Admin";
4275
- level: "None" | "Read" | "Write" | "Manage";
4061
+ role: LoanDocumentFolderPermissionRoleEnum;
4062
+ level: LoanDocumentFolderPermissionLevelEnum;
4276
4063
  }
4277
4064
 
4278
4065
  export interface LoanDocumentFolderPermissionRequest {
4279
- role:
4280
- | "Borrower"
4281
- | "CoBorrower"
4282
- | "NonBorrower"
4283
- | "LoanOfficer"
4284
- | "LoanProcessor"
4285
- | "LoanOfficerAssistant"
4286
- | "SupportingLoanOfficer"
4287
- | "BuyerAgent"
4288
- | "SellerAgent"
4289
- | "TitleInsuranceAgent"
4290
- | "EscrowAgent"
4291
- | "SettlementAgent"
4292
- | "Admin";
4293
- level: "None" | "Read" | "Write" | "Manage";
4066
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
4067
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
4294
4068
  }
4295
4069
 
4296
4070
  export interface LoanDocumentFolderUsage {
@@ -4417,19 +4191,14 @@ export interface LoanImport {
4417
4191
  /** @format int32 */
4418
4192
  importedCount: number;
4419
4193
  statusMessage?: string | null;
4420
- status:
4421
- | "WaitingProcess"
4422
- | "InProgress"
4423
- | "Completed"
4424
- | "Failed"
4425
- | "Cancelled";
4426
- importMode: "All" | "NewOnly" | "UpdateOnly";
4194
+ status: LoanImportStatusEnum;
4195
+ importMode: LoanImportImportModeEnum;
4427
4196
  /** @format date-time */
4428
4197
  createdAt?: string | null;
4429
4198
  }
4430
4199
 
4431
4200
  export interface LoanImportLog {
4432
- level: "None" | "Info" | "Warning" | "Error";
4201
+ level: LoanImportLogLevelEnum;
4433
4202
  message: string;
4434
4203
  /** @format date-time */
4435
4204
  createdAt: string;
@@ -4490,25 +4259,8 @@ export interface LoanListPaginated {
4490
4259
  export interface LoanLog {
4491
4260
  /** @format uuid */
4492
4261
  id: string;
4493
- level: "None" | "Info" | "Warning" | "Error";
4494
- type:
4495
- | "Loan"
4496
- | "Queue"
4497
- | "POSFlagChanged"
4498
- | "Verification"
4499
- | "DocumentUploaded"
4500
- | "LoanCreated"
4501
- | "WorkflowSubmitted"
4502
- | "UserInvitationSent"
4503
- | "CoBorrowerAdded"
4504
- | "TaskCompleted"
4505
- | "LoanStatusChanged"
4506
- | "Consent"
4507
- | "SensitiveDataPurge"
4508
- | "ClosingDateUpdated"
4509
- | "ConsumerConnectAssociation"
4510
- | "TaskReminderSent"
4511
- | "DocumentClassified";
4262
+ level: LoanLogLevelEnum;
4263
+ type: LoanLogTypeEnum;
4512
4264
  message: string;
4513
4265
  /** @format date-time */
4514
4266
  createdAt: string;
@@ -4517,25 +4269,8 @@ export interface LoanLog {
4517
4269
  export interface LoanLogDetail {
4518
4270
  /** @format uuid */
4519
4271
  id: string;
4520
- level: "None" | "Info" | "Warning" | "Error";
4521
- type:
4522
- | "Loan"
4523
- | "Queue"
4524
- | "POSFlagChanged"
4525
- | "Verification"
4526
- | "DocumentUploaded"
4527
- | "LoanCreated"
4528
- | "WorkflowSubmitted"
4529
- | "UserInvitationSent"
4530
- | "CoBorrowerAdded"
4531
- | "TaskCompleted"
4532
- | "LoanStatusChanged"
4533
- | "Consent"
4534
- | "SensitiveDataPurge"
4535
- | "ClosingDateUpdated"
4536
- | "ConsumerConnectAssociation"
4537
- | "TaskReminderSent"
4538
- | "DocumentClassified";
4272
+ level: LoanLogDetailLevelEnum;
4273
+ type: LoanLogDetailTypeEnum;
4539
4274
  message: string;
4540
4275
  /** @format date-time */
4541
4276
  createdAt: string;
@@ -4789,7 +4524,7 @@ export interface LoanQueueWithData {
4789
4524
  user: UserPublic;
4790
4525
  loanOfficer: LoanOfficerPublic;
4791
4526
  siteConfiguration: SiteConfigurationReduced;
4792
- data?: any;
4527
+ data?: any | null;
4793
4528
  }
4794
4529
 
4795
4530
  export interface LoanRecord {
@@ -4825,7 +4560,7 @@ export interface LoanTaskSearchRequest {
4825
4560
  }
4826
4561
 
4827
4562
  export interface LoanTaskStatusSummary {
4828
- status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4563
+ status: LoanTaskStatusSummaryStatusEnum;
4829
4564
  /** @format int32 */
4830
4565
  count: number;
4831
4566
  }
@@ -4838,20 +4573,7 @@ export interface LoanUser {
4838
4573
  email: string;
4839
4574
  phone?: string | null;
4840
4575
  role: string;
4841
- loanRole:
4842
- | "Borrower"
4843
- | "CoBorrower"
4844
- | "NonBorrower"
4845
- | "LoanOfficer"
4846
- | "LoanProcessor"
4847
- | "LoanOfficerAssistant"
4848
- | "SupportingLoanOfficer"
4849
- | "BuyerAgent"
4850
- | "SellerAgent"
4851
- | "TitleInsuranceAgent"
4852
- | "EscrowAgent"
4853
- | "SettlementAgent"
4854
- | "Admin";
4576
+ loanRole: LoanUserLoanRoleEnum;
4855
4577
  isUser: boolean;
4856
4578
  /** @format date-time */
4857
4579
  createdAt: string;
@@ -4887,13 +4609,7 @@ export interface LosOperationTracking {
4887
4609
  operationType: string;
4888
4610
  correlationKey: string;
4889
4611
  lastTriggerSource?: string | null;
4890
- status:
4891
- | "Pending"
4892
- | "Success"
4893
- | "Failed"
4894
- | "ConfigurationError"
4895
- | "PermanentFailure"
4896
- | "Locked";
4612
+ status: LosOperationTrackingStatusEnum;
4897
4613
  /** @format date-time */
4898
4614
  createdAt: string;
4899
4615
  /** @format date-time */
@@ -4960,7 +4676,7 @@ export interface LosSyncStep {
4960
4676
  /** @format int32 */
4961
4677
  order: number;
4962
4678
  name: string;
4963
- severity: "Success" | "Info" | "Warning" | "Error";
4679
+ severity: LosSyncStepSeverityEnum;
4964
4680
  message: string;
4965
4681
  /** @format date-time */
4966
4682
  atUtc: string;
@@ -4976,65 +4692,7 @@ export interface LosWebhook {
4976
4692
  }
4977
4693
 
4978
4694
  export interface ManualDocumentClassificationRequest {
4979
- documentType:
4980
- | "W2"
4981
- | "Paystub"
4982
- | "Form1099"
4983
- | "Form1099Int"
4984
- | "Form1099Misc"
4985
- | "Form1099Nec"
4986
- | "Form1099R"
4987
- | "Form1099G"
4988
- | "Form1099Div"
4989
- | "Form1099Ssa"
4990
- | "FederalTaxReturn1040"
4991
- | "TaxReturnScheduleC"
4992
- | "TaxReturnScheduleD"
4993
- | "TaxReturnScheduleE"
4994
- | "Form1065"
4995
- | "Form1120"
4996
- | "Form1120S"
4997
- | "ProfitAndLossStatement"
4998
- | "VerificationOfEmployment"
4999
- | "BankStatement"
5000
- | "InvestmentStatement"
5001
- | "CreditCardStatement"
5002
- | "MortgageStatement"
5003
- | "PayoffStatement"
5004
- | "HoaDocuments"
5005
- | "UtilityBill"
5006
- | "IdentityDocument"
5007
- | "DemographicAddendum"
5008
- | "Ssa89"
5009
- | "Vba260551"
5010
- | "Hud92900B"
5011
- | "Check"
5012
- | "Invoice"
5013
- | "Receipt"
5014
- | "LoanApplication1003"
5015
- | "UnderwritingTransmittal1008"
5016
- | "Other"
5017
- | "SalesContract"
5018
- | "TitleCommitment"
5019
- | "DriversLicense"
5020
- | "VerificationOfIncome"
5021
- | "VerificationOfAssets"
5022
- | "FloodCertificate"
5023
- | "FraudReport"
5024
- | "AddendumToSalesContract"
5025
- | "GiftLetter"
5026
- | "CpaLetter"
5027
- | "TaxBill"
5028
- | "CondoQuestionnaire"
5029
- | "CondoBudget"
5030
- | "CondoBylaws"
5031
- | "RentalAgreements"
5032
- | "Lease"
5033
- | "HazardInsurance"
5034
- | "VaCertificateOfEligibility"
5035
- | "Appraisal"
5036
- | "CreditReport"
5037
- | "CondoMasterPolicy";
4695
+ documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5038
4696
  }
5039
4697
 
5040
4698
  export interface MdmUser {
@@ -5121,7 +4779,7 @@ export interface ModuleParameterValue {
5121
4779
  parameterID: string;
5122
4780
  parameterName: string;
5123
4781
  parameterType: string;
5124
- value?: any;
4782
+ value?: any | null;
5125
4783
  isInherited: boolean;
5126
4784
  }
5127
4785
 
@@ -5307,7 +4965,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5307
4965
 
5308
4966
  export interface Operation {
5309
4967
  op?: string;
5310
- value?: string | number | boolean | null | object;
4968
+ value?: object | null;
5311
4969
  path?: string;
5312
4970
  }
5313
4971
 
@@ -5672,7 +5330,7 @@ export interface SiteConfiguration {
5672
5330
  deletedAt?: string | null;
5673
5331
  /** @format uuid */
5674
5332
  id: string;
5675
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5333
+ type: SiteConfigurationTypeEnum;
5676
5334
  /** @format uuid */
5677
5335
  entityID: string;
5678
5336
  /** @format int32 */
@@ -5866,7 +5524,7 @@ export interface SiteConfigurationByUrl {
5866
5524
  deletedAt?: string | null;
5867
5525
  /** @format uuid */
5868
5526
  id: string;
5869
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5527
+ type: SiteConfigurationByUrlTypeEnum;
5870
5528
  /** @format uuid */
5871
5529
  entityID: string;
5872
5530
  /** @format int32 */
@@ -6078,7 +5736,7 @@ export interface SiteConfigurationForm {
6078
5736
  export interface SiteConfigurationReduced {
6079
5737
  /** @format uuid */
6080
5738
  id: string;
6081
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5739
+ type: SiteConfigurationReducedTypeEnum;
6082
5740
  url?: string | null;
6083
5741
  name: string;
6084
5742
  /** @format int64 */
@@ -6096,7 +5754,7 @@ export interface SiteConfigurationRequest {
6096
5754
  entityID: string;
6097
5755
  /** @format int32 */
6098
5756
  entityType: number;
6099
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5757
+ type: SiteConfigurationRequestTypeEnum;
6100
5758
  url: string;
6101
5759
  name: string;
6102
5760
  introduction?: string | null;
@@ -6273,7 +5931,7 @@ export interface SiteConfigurationSearchCriteria {
6273
5931
  export interface SiteConfigurationSummary {
6274
5932
  /** @format uuid */
6275
5933
  id: string;
6276
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5934
+ type: SiteConfigurationSummaryTypeEnum;
6277
5935
  url?: string | null;
6278
5936
  name: string;
6279
5937
  /** @format int64 */
@@ -6564,20 +6222,7 @@ export interface UnregisteredBorrower {
6564
6222
  lastName?: string | null;
6565
6223
  fullName?: string | null;
6566
6224
  email?: string | null;
6567
- role:
6568
- | "Borrower"
6569
- | "CoBorrower"
6570
- | "NonBorrower"
6571
- | "LoanOfficer"
6572
- | "LoanProcessor"
6573
- | "LoanOfficerAssistant"
6574
- | "SupportingLoanOfficer"
6575
- | "BuyerAgent"
6576
- | "SellerAgent"
6577
- | "TitleInsuranceAgent"
6578
- | "EscrowAgent"
6579
- | "SettlementAgent"
6580
- | "Admin";
6225
+ role: UnregisteredBorrowerRoleEnum;
6581
6226
  }
6582
6227
 
6583
6228
  export interface UpdateAccountRequest {
@@ -6605,7 +6250,7 @@ export interface UpdateAiCanonicalFieldRequest {
6605
6250
 
6606
6251
  export interface UpdateAiGuardrailRequest {
6607
6252
  name: string;
6608
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6253
+ category: UpdateAiGuardrailRequestCategoryEnum;
6609
6254
  description?: string | null;
6610
6255
  keywords: string[];
6611
6256
  responseTemplate: string;
@@ -6632,8 +6277,8 @@ export interface UpdateAiUrlSourceRequest {
6632
6277
  name: string;
6633
6278
  url: string;
6634
6279
  description?: string | null;
6635
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6636
- scope: "FullDomain" | "SpecificPath";
6280
+ category: UpdateAiUrlSourceRequestCategoryEnum;
6281
+ scope: UpdateAiUrlSourceRequestScopeEnum;
6637
6282
  }
6638
6283
 
6639
6284
  export interface UpdateCustomFieldDefinitionRequest {
@@ -6945,20 +6590,7 @@ export interface UserDevice {
6945
6590
  export interface UserDraft {
6946
6591
  /** @format uuid */
6947
6592
  draftID: string;
6948
- role:
6949
- | "Borrower"
6950
- | "CoBorrower"
6951
- | "NonBorrower"
6952
- | "LoanOfficer"
6953
- | "LoanProcessor"
6954
- | "LoanOfficerAssistant"
6955
- | "SupportingLoanOfficer"
6956
- | "BuyerAgent"
6957
- | "SellerAgent"
6958
- | "TitleInsuranceAgent"
6959
- | "EscrowAgent"
6960
- | "SettlementAgent"
6961
- | "Admin";
6593
+ role: UserDraftRoleEnum;
6962
6594
  user: User;
6963
6595
  }
6964
6596
 
@@ -6985,7 +6617,7 @@ export interface UserGroupAccessScope {
6985
6617
  id: string;
6986
6618
  /** @format uuid */
6987
6619
  groupId: string;
6988
- scopeType: "User" | "Branch";
6620
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
6989
6621
  /** @format uuid */
6990
6622
  userId?: string | null;
6991
6623
  /** @format uuid */
@@ -7021,20 +6653,7 @@ export interface UserLoan {
7021
6653
  deletedAt?: string | null;
7022
6654
  loanID: string;
7023
6655
  user: User;
7024
- role:
7025
- | "Borrower"
7026
- | "CoBorrower"
7027
- | "NonBorrower"
7028
- | "LoanOfficer"
7029
- | "LoanProcessor"
7030
- | "LoanOfficerAssistant"
7031
- | "SupportingLoanOfficer"
7032
- | "BuyerAgent"
7033
- | "SellerAgent"
7034
- | "TitleInsuranceAgent"
7035
- | "EscrowAgent"
7036
- | "SettlementAgent"
7037
- | "Admin";
6656
+ role: UserLoanRoleEnum;
7038
6657
  /** @format int32 */
7039
6658
  borrowerPair?: number | null;
7040
6659
  /** @format int32 */
@@ -7042,197 +6661,888 @@ export interface UserLoan {
7042
6661
  consents: UserLoanConsent[];
7043
6662
  }
7044
6663
 
7045
- export interface UserLoanConsent {
7046
- /** @format uuid */
7047
- id: string;
7048
- /** @format uuid */
7049
- userLoanID: string;
7050
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
7051
- providedConsent: boolean;
7052
- source?: ConsentSource | null;
7053
- ipAddress?: string | null;
7054
- losSyncStatus: "NotStarted" | "Failed" | "Success";
7055
- /** @format date-time */
7056
- createdAt: string;
7057
- /** @format date-time */
7058
- updatedAt?: string | null;
7059
- /** @format date-time */
7060
- deletedAt?: string | null;
7061
- }
6664
+ export interface UserLoanConsent {
6665
+ /** @format uuid */
6666
+ id: string;
6667
+ /** @format uuid */
6668
+ userLoanID: string;
6669
+ type: UserLoanConsentTypeEnum;
6670
+ providedConsent: boolean;
6671
+ source?: ConsentSource | null;
6672
+ ipAddress?: string | null;
6673
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
6674
+ /** @format date-time */
6675
+ createdAt: string;
6676
+ /** @format date-time */
6677
+ updatedAt?: string | null;
6678
+ /** @format date-time */
6679
+ deletedAt?: string | null;
6680
+ }
6681
+
6682
+ export interface UserLoanTask {
6683
+ /** @format uuid */
6684
+ id: string;
6685
+ status: string;
6686
+ /** @format date-time */
6687
+ statusChangedDate?: string | null;
6688
+ task: Task;
6689
+ user: User;
6690
+ value?: string | null;
6691
+ documents: LoanDocument[];
6692
+ loan: LoanIdentifier;
6693
+ loanID: string;
6694
+ /** @format date-time */
6695
+ completedDate?: string | null;
6696
+ /** @format date-time */
6697
+ createdAt: string;
6698
+ createdBy: User;
6699
+ submittedBy?: User | null;
6700
+ completedBy?: User | null;
6701
+ /** @format int32 */
6702
+ commentsCount: number;
6703
+ }
6704
+
6705
+ export interface UserLoanTaskPaginated {
6706
+ rows: UserLoanTask[];
6707
+ pagination: Pagination;
6708
+ /** @format int64 */
6709
+ count: number;
6710
+ }
6711
+
6712
+ export interface UserLoanTaskRequest {
6713
+ 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";
7062
7414
 
7063
- export interface UserLoanTask {
7064
- /** @format uuid */
7065
- id: string;
7066
- status: string;
7067
- /** @format date-time */
7068
- statusChangedDate?: string | null;
7069
- task: Task;
7070
- user: User;
7071
- value?: string | null;
7072
- documents: LoanDocument[];
7073
- loan: LoanIdentifier;
7074
- loanID: string;
7075
- /** @format date-time */
7076
- completedDate?: string | null;
7077
- /** @format date-time */
7078
- createdAt: string;
7079
- createdBy: User;
7080
- submittedBy?: User | null;
7081
- completedBy?: User | null;
7082
- /** @format int32 */
7083
- commentsCount: number;
7084
- }
7415
+ export type SiteConfigurationRequestTypeEnum =
7416
+ | "None"
7417
+ | "Account"
7418
+ | "Corporate"
7419
+ | "Branch"
7420
+ | "LoanOfficer"
7421
+ | "Partner";
7085
7422
 
7086
- export interface UserLoanTaskPaginated {
7087
- rows: UserLoanTask[];
7088
- pagination: Pagination;
7089
- /** @format int64 */
7090
- count: number;
7091
- }
7423
+ export type SiteConfigurationSummaryTypeEnum =
7424
+ | "None"
7425
+ | "Account"
7426
+ | "Corporate"
7427
+ | "Branch"
7428
+ | "LoanOfficer"
7429
+ | "Partner";
7092
7430
 
7093
- export interface UserLoanTaskRequest {
7094
- value?: string | null;
7095
- /** @format uuid */
7096
- userID: string;
7097
- }
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";
7098
7445
 
7099
- export interface UserLoanTaskUpdateRequest {
7100
- status?: string | null;
7101
- value?: string | null;
7102
- }
7446
+ export type UpdateAiGuardrailRequestCategoryEnum =
7447
+ | "ContentSafety"
7448
+ | "PromptInjection"
7449
+ | "Privacy"
7450
+ | "Legal";
7103
7451
 
7104
- export interface UserMobilePhoneVerificationRequest {
7105
- code: string;
7106
- }
7452
+ export type UpdateAiUrlSourceRequestCategoryEnum =
7453
+ | "Regulatory"
7454
+ | "Guidelines"
7455
+ | "MarketData"
7456
+ | "Custom";
7107
7457
 
7108
- export interface UserNotificationSettings {
7109
- emailEnabled: boolean;
7110
- textEnabled: boolean;
7111
- textOptIn?: boolean | null;
7112
- pushEnabled: boolean;
7113
- }
7458
+ export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7114
7459
 
7115
- export interface UserNotificationSettingsUpdateRequest {
7116
- emailEnabled: boolean;
7117
- textEnabled: boolean;
7118
- textOptIn?: boolean | null;
7119
- pushEnabled: boolean;
7120
- }
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";
7121
7474
 
7122
- export interface UserPaginated {
7123
- rows: User[];
7124
- pagination: Pagination;
7125
- /** @format int64 */
7126
- count: number;
7127
- }
7475
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7128
7476
 
7129
- export interface UserPublic {
7130
- /** @format uuid */
7131
- id: string;
7132
- role: string;
7133
- firstName: string;
7134
- lastName: string;
7135
- email: string;
7136
- phone?: string | null;
7137
- title?: string | null;
7138
- }
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";
7139
7491
 
7140
- export interface UserRelation {
7141
- /** @format uuid */
7142
- userId1: string;
7143
- /** @format uuid */
7144
- userId2: string;
7145
- relationType: string;
7146
- /** @format uuid */
7147
- id: string;
7148
- user1Email: string;
7149
- user1Role: string;
7150
- user2Email: string;
7151
- user2Role: string;
7152
- }
7492
+ export type UserLoanConsentTypeEnum =
7493
+ | "Econsent"
7494
+ | "CreditAuthorization"
7495
+ | "Tcpa";
7153
7496
 
7154
- export interface UserRelationship {
7155
- /** @format uuid */
7156
- id: string;
7157
- role: string;
7158
- firstName?: string | null;
7159
- lastName?: string | null;
7160
- email?: string | null;
7161
- phone?: string | null;
7162
- siteConfigurations: SiteConfigurationReduced[];
7163
- /** @format date-time */
7164
- createdAt?: string | null;
7165
- /** @format date-time */
7166
- deletedAt?: string | null;
7167
- }
7497
+ export type UserLoanConsentLosSyncStatusEnum =
7498
+ | "NotStarted"
7499
+ | "Failed"
7500
+ | "Success";
7168
7501
 
7169
- export interface UserRelationshipProspect {
7170
- /** @format uuid */
7171
- id: string;
7172
- role: string;
7173
- firstName: string;
7174
- lastName: string;
7175
- email: string;
7176
- contactPhone?: string | null;
7177
- licenseNumber?: string | null;
7178
- /** @format uuid */
7179
- branchID: string;
7180
- companyName?: string | null;
7181
- /** @format date-time */
7182
- createdAt?: string | null;
7183
- /** @format date-time */
7184
- deletedAt?: string | null;
7185
- }
7502
+ export type UserSummaryRoleEnum =
7503
+ | "Borrower"
7504
+ | "LoanOfficer"
7505
+ | "Admin"
7506
+ | "SuperAdmin"
7507
+ | "Realtor"
7508
+ | "SettlementAgent"
7509
+ | "LoanProcessor"
7510
+ | "LoanOfficerAssistant"
7511
+ | "SystemAdmin";
7186
7512
 
7187
- export interface UserSearchCriteria {
7188
- searchText?: string | null;
7189
- isActive?: boolean | null;
7190
- roles?: string[] | null;
7191
- }
7513
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7192
7514
 
7193
- export interface UserSummary {
7194
- /** @format uuid */
7195
- id: string;
7196
- name?: string | null;
7197
- email?: string | null;
7198
- role:
7199
- | "Borrower"
7200
- | "LoanOfficer"
7201
- | "Admin"
7202
- | "SuperAdmin"
7203
- | "Realtor"
7204
- | "SettlementAgent"
7205
- | "LoanProcessor"
7206
- | "LoanOfficerAssistant"
7207
- | "SystemAdmin";
7208
- }
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";
7209
7526
 
7210
- export interface VerifyPasswordRequest {
7211
- email: string;
7212
- code: string;
7213
- password: string;
7214
- /** @format uuid */
7215
- siteConfigurationId?: string | null;
7216
- }
7527
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
7528
+ | "ConsumerConnect"
7529
+ | "TheBigPOS"
7530
+ | "POSF";
7217
7531
 
7218
- export interface Workflow {
7219
- formType: string;
7220
- target: string;
7221
- authType: string;
7222
- name: string;
7223
- isDefault: boolean;
7224
- description: string;
7225
- slug: string;
7226
- status: string;
7227
- userRole: string;
7228
- borrowerType: string;
7229
- showProgressBar: boolean;
7230
- showTile: boolean;
7231
- tileLocation: string;
7232
- tileText: string;
7233
- tileSubtitle: string;
7234
- icon: string;
7235
- }
7532
+ export type GetSamlMetadataParamsEnum =
7533
+ | "ConsumerConnect"
7534
+ | "TheBigPOS"
7535
+ | "POSF";
7536
+
7537
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
7538
+ | "ConsumerConnect"
7539
+ | "TheBigPOS"
7540
+ | "POSF";
7541
+
7542
+ export type CreateOrReplaceSamlMetadataParamsEnum =
7543
+ | "ConsumerConnect"
7544
+ | "TheBigPOS"
7545
+ | "POSF";
7236
7546
 
7237
7547
  import type {
7238
7548
  AxiosInstance,
@@ -7275,14 +7585,12 @@ export interface ApiConfig<SecurityDataType = unknown>
7275
7585
  format?: ResponseType;
7276
7586
  }
7277
7587
 
7278
- export enum ContentType {
7279
- JsonPatch = "application/json-patch+json",
7280
- Json = "application/json",
7281
- JsonApi = "application/vnd.api+json",
7282
- FormData = "multipart/form-data",
7283
- UrlEncoded = "application/x-www-form-urlencoded",
7284
- Text = "text/plain",
7285
- }
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";
7286
7594
 
7287
7595
  export class HttpClient<SecurityDataType = unknown> {
7288
7596
  public instance: AxiosInstance;
@@ -7379,7 +7687,7 @@ export class HttpClient<SecurityDataType = unknown> {
7379
7687
  const responseFormat = format || this.format || undefined;
7380
7688
 
7381
7689
  if (
7382
- type === ContentType.FormData &&
7690
+ type === "multipart/form-data" &&
7383
7691
  body &&
7384
7692
  body !== null &&
7385
7693
  typeof body === "object"
@@ -7388,7 +7696,7 @@ export class HttpClient<SecurityDataType = unknown> {
7388
7696
  }
7389
7697
 
7390
7698
  if (
7391
- type === ContentType.Text &&
7699
+ type === "text/plain" &&
7392
7700
  body &&
7393
7701
  body !== null &&
7394
7702
  typeof body !== "string"
@@ -7495,7 +7803,7 @@ export class Api<
7495
7803
  method: "PUT",
7496
7804
  body: data,
7497
7805
  secure: true,
7498
- type: ContentType.Json,
7806
+ type: "application/json",
7499
7807
  format: "json",
7500
7808
  ...params,
7501
7809
  }),
@@ -7539,7 +7847,7 @@ export class Api<
7539
7847
  method: "PUT",
7540
7848
  body: data,
7541
7849
  secure: true,
7542
- type: ContentType.Json,
7850
+ type: "application/json",
7543
7851
  format: "json",
7544
7852
  ...params,
7545
7853
  }),
@@ -7563,7 +7871,7 @@ export class Api<
7563
7871
  method: "POST",
7564
7872
  body: data,
7565
7873
  secure: true,
7566
- type: ContentType.Json,
7874
+ type: "application/json",
7567
7875
  ...params,
7568
7876
  }),
7569
7877
 
@@ -7587,7 +7895,7 @@ export class Api<
7587
7895
  method: "POST",
7588
7896
  body: data,
7589
7897
  secure: true,
7590
- type: ContentType.Json,
7898
+ type: "application/json",
7591
7899
  ...params,
7592
7900
  }),
7593
7901
 
@@ -7627,7 +7935,7 @@ export class Api<
7627
7935
  method: "POST",
7628
7936
  body: data,
7629
7937
  secure: true,
7630
- type: ContentType.Json,
7938
+ type: "application/json",
7631
7939
  format: "json",
7632
7940
  ...params,
7633
7941
  }),
@@ -7703,7 +8011,7 @@ export class Api<
7703
8011
  method: "PUT",
7704
8012
  body: data,
7705
8013
  secure: true,
7706
- type: ContentType.Json,
8014
+ type: "application/json",
7707
8015
  format: "json",
7708
8016
  ...params,
7709
8017
  }),
@@ -7747,7 +8055,7 @@ export class Api<
7747
8055
  method: "PUT",
7748
8056
  body: data,
7749
8057
  secure: true,
7750
- type: ContentType.Json,
8058
+ type: "application/json",
7751
8059
  format: "json",
7752
8060
  ...params,
7753
8061
  }),
@@ -7952,7 +8260,7 @@ export class Api<
7952
8260
  method: "POST",
7953
8261
  body: data,
7954
8262
  secure: true,
7955
- type: ContentType.Json,
8263
+ type: "application/json",
7956
8264
  format: "json",
7957
8265
  ...params,
7958
8266
  }),
@@ -7999,7 +8307,7 @@ export class Api<
7999
8307
  method: "PUT",
8000
8308
  body: data,
8001
8309
  secure: true,
8002
- type: ContentType.Json,
8310
+ type: "application/json",
8003
8311
  format: "json",
8004
8312
  ...params,
8005
8313
  }),
@@ -8064,7 +8372,7 @@ export class Api<
8064
8372
  method: "POST",
8065
8373
  body: data,
8066
8374
  secure: true,
8067
- type: ContentType.JsonPatch,
8375
+ type: "application/json",
8068
8376
  format: "json",
8069
8377
  ...params,
8070
8378
  }),
@@ -8127,7 +8435,7 @@ export class Api<
8127
8435
  method: "PUT",
8128
8436
  body: data,
8129
8437
  secure: true,
8130
- type: ContentType.Json,
8438
+ type: "application/json",
8131
8439
  format: "json",
8132
8440
  ...params,
8133
8441
  }),
@@ -8171,7 +8479,7 @@ export class Api<
8171
8479
  method: "POST",
8172
8480
  body: data,
8173
8481
  secure: true,
8174
- type: ContentType.Json,
8482
+ type: "application/json",
8175
8483
  format: "json",
8176
8484
  ...params,
8177
8485
  }),
@@ -8218,7 +8526,7 @@ export class Api<
8218
8526
  method: "PUT",
8219
8527
  body: data,
8220
8528
  secure: true,
8221
- type: ContentType.Json,
8529
+ type: "application/json",
8222
8530
  format: "json",
8223
8531
  ...params,
8224
8532
  }),
@@ -8280,7 +8588,7 @@ export class Api<
8280
8588
  method: "POST",
8281
8589
  body: data,
8282
8590
  secure: true,
8283
- type: ContentType.JsonPatch,
8591
+ type: "application/json",
8284
8592
  format: "json",
8285
8593
  ...params,
8286
8594
  }),
@@ -8359,7 +8667,7 @@ export class Api<
8359
8667
  method: "PATCH",
8360
8668
  body: data,
8361
8669
  secure: true,
8362
- type: ContentType.JsonPatch,
8670
+ type: "application/json",
8363
8671
  format: "json",
8364
8672
  ...params,
8365
8673
  }),
@@ -8459,7 +8767,7 @@ export class Api<
8459
8767
  method: "PUT",
8460
8768
  body: data,
8461
8769
  secure: true,
8462
- type: ContentType.Json,
8770
+ type: "application/json",
8463
8771
  format: "json",
8464
8772
  ...params,
8465
8773
  }),
@@ -8587,7 +8895,7 @@ export class Api<
8587
8895
  method: "POST",
8588
8896
  body: data,
8589
8897
  secure: true,
8590
- type: ContentType.Json,
8898
+ type: "application/json",
8591
8899
  format: "json",
8592
8900
  ...params,
8593
8901
  }),
@@ -8634,7 +8942,7 @@ export class Api<
8634
8942
  method: "PUT",
8635
8943
  body: data,
8636
8944
  secure: true,
8637
- type: ContentType.Json,
8945
+ type: "application/json",
8638
8946
  format: "json",
8639
8947
  ...params,
8640
8948
  }),
@@ -8875,7 +9183,7 @@ export class Api<
8875
9183
  query: query,
8876
9184
  body: data,
8877
9185
  secure: true,
8878
- type: ContentType.JsonPatch,
9186
+ type: "application/json",
8879
9187
  format: "json",
8880
9188
  ...params,
8881
9189
  }),
@@ -8951,7 +9259,7 @@ export class Api<
8951
9259
  method: "PUT",
8952
9260
  body: data,
8953
9261
  secure: true,
8954
- type: ContentType.Json,
9262
+ type: "application/json",
8955
9263
  format: "json",
8956
9264
  ...params,
8957
9265
  }),
@@ -8996,7 +9304,7 @@ export class Api<
8996
9304
  method: "POST",
8997
9305
  body: data,
8998
9306
  secure: true,
8999
- type: ContentType.Json,
9307
+ type: "application/json",
9000
9308
  format: "json",
9001
9309
  ...params,
9002
9310
  }),
@@ -9044,7 +9352,7 @@ export class Api<
9044
9352
  method: "PUT",
9045
9353
  body: data,
9046
9354
  secure: true,
9047
- type: ContentType.Json,
9355
+ type: "application/json",
9048
9356
  format: "json",
9049
9357
  ...params,
9050
9358
  }),
@@ -9165,7 +9473,7 @@ export class Api<
9165
9473
  query: query,
9166
9474
  body: data,
9167
9475
  secure: true,
9168
- type: ContentType.JsonPatch,
9476
+ type: "application/json",
9169
9477
  format: "json",
9170
9478
  ...params,
9171
9479
  }),
@@ -9230,7 +9538,7 @@ export class Api<
9230
9538
  method: "POST",
9231
9539
  body: data,
9232
9540
  secure: true,
9233
- type: ContentType.Json,
9541
+ type: "application/json",
9234
9542
  format: "json",
9235
9543
  ...params,
9236
9544
  }),
@@ -9252,7 +9560,7 @@ export class Api<
9252
9560
  method: "POST",
9253
9561
  body: data,
9254
9562
  secure: true,
9255
- type: ContentType.Json,
9563
+ type: "application/json",
9256
9564
  format: "json",
9257
9565
  ...params,
9258
9566
  }),
@@ -9277,7 +9585,7 @@ export class Api<
9277
9585
  method: "POST",
9278
9586
  body: data,
9279
9587
  secure: true,
9280
- type: ContentType.Json,
9588
+ type: "application/json",
9281
9589
  format: "json",
9282
9590
  ...params,
9283
9591
  }),
@@ -9299,7 +9607,7 @@ export class Api<
9299
9607
  method: "POST",
9300
9608
  body: data,
9301
9609
  secure: true,
9302
- type: ContentType.Json,
9610
+ type: "application/json",
9303
9611
  format: "json",
9304
9612
  ...params,
9305
9613
  }),
@@ -9321,7 +9629,7 @@ export class Api<
9321
9629
  method: "POST",
9322
9630
  body: data,
9323
9631
  secure: true,
9324
- type: ContentType.Json,
9632
+ type: "application/json",
9325
9633
  format: "json",
9326
9634
  ...params,
9327
9635
  }),
@@ -9394,7 +9702,7 @@ export class Api<
9394
9702
  method: "POST",
9395
9703
  body: data,
9396
9704
  secure: true,
9397
- type: ContentType.Json,
9705
+ type: "application/json",
9398
9706
  format: "json",
9399
9707
  ...params,
9400
9708
  }),
@@ -9427,7 +9735,7 @@ export class Api<
9427
9735
  query: query,
9428
9736
  body: data,
9429
9737
  secure: true,
9430
- type: ContentType.Json,
9738
+ type: "application/json",
9431
9739
  format: "json",
9432
9740
  ...params,
9433
9741
  }),
@@ -9472,7 +9780,7 @@ export class Api<
9472
9780
  method: "PUT",
9473
9781
  body: data,
9474
9782
  secure: true,
9475
- type: ContentType.Json,
9783
+ type: "application/json",
9476
9784
  format: "json",
9477
9785
  ...params,
9478
9786
  }),
@@ -9535,7 +9843,7 @@ export class Api<
9535
9843
  method: "POST",
9536
9844
  body: data,
9537
9845
  secure: true,
9538
- type: ContentType.Json,
9846
+ type: "application/json",
9539
9847
  format: "json",
9540
9848
  ...params,
9541
9849
  }),
@@ -9589,7 +9897,7 @@ export class Api<
9589
9897
  query: query,
9590
9898
  body: data,
9591
9899
  secure: true,
9592
- type: ContentType.Json,
9900
+ type: "application/json",
9593
9901
  format: "json",
9594
9902
  ...params,
9595
9903
  }),
@@ -9658,7 +9966,7 @@ export class Api<
9658
9966
  method: "POST",
9659
9967
  body: data,
9660
9968
  secure: true,
9661
- type: ContentType.Json,
9969
+ type: "application/json",
9662
9970
  format: "json",
9663
9971
  ...params,
9664
9972
  }),
@@ -9703,7 +10011,7 @@ export class Api<
9703
10011
  method: "PUT",
9704
10012
  body: data,
9705
10013
  secure: true,
9706
- type: ContentType.Json,
10014
+ type: "application/json",
9707
10015
  format: "json",
9708
10016
  ...params,
9709
10017
  }),
@@ -9764,7 +10072,7 @@ export class Api<
9764
10072
  method: "POST",
9765
10073
  body: data,
9766
10074
  secure: true,
9767
- type: ContentType.Json,
10075
+ type: "application/json",
9768
10076
  format: "json",
9769
10077
  ...params,
9770
10078
  }),
@@ -9858,7 +10166,7 @@ export class Api<
9858
10166
  method: "POST",
9859
10167
  body: data,
9860
10168
  secure: true,
9861
- type: ContentType.Json,
10169
+ type: "application/json",
9862
10170
  format: "json",
9863
10171
  ...params,
9864
10172
  }),
@@ -9891,7 +10199,7 @@ export class Api<
9891
10199
  query: query,
9892
10200
  body: data,
9893
10201
  secure: true,
9894
- type: ContentType.Json,
10202
+ type: "application/json",
9895
10203
  format: "json",
9896
10204
  ...params,
9897
10205
  }),
@@ -9936,7 +10244,7 @@ export class Api<
9936
10244
  method: "PUT",
9937
10245
  body: data,
9938
10246
  secure: true,
9939
- type: ContentType.Json,
10247
+ type: "application/json",
9940
10248
  format: "json",
9941
10249
  ...params,
9942
10250
  }),
@@ -9998,7 +10306,7 @@ export class Api<
9998
10306
  method: "POST",
9999
10307
  body: data,
10000
10308
  secure: true,
10001
- type: ContentType.Json,
10309
+ type: "application/json",
10002
10310
  format: "json",
10003
10311
  ...params,
10004
10312
  }),
@@ -10052,7 +10360,7 @@ export class Api<
10052
10360
  query: query,
10053
10361
  body: data,
10054
10362
  secure: true,
10055
- type: ContentType.Json,
10363
+ type: "application/json",
10056
10364
  format: "json",
10057
10365
  ...params,
10058
10366
  }),
@@ -10107,7 +10415,7 @@ export class Api<
10107
10415
  */
10108
10416
  getCustomFieldDefinitions: (
10109
10417
  query?: {
10110
- entityType?: "Loan";
10418
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
10111
10419
  },
10112
10420
  params: RequestParams = {},
10113
10421
  ) =>
@@ -10141,7 +10449,7 @@ export class Api<
10141
10449
  method: "POST",
10142
10450
  body: data,
10143
10451
  secure: true,
10144
- type: ContentType.Json,
10452
+ type: "application/json",
10145
10453
  format: "json",
10146
10454
  ...params,
10147
10455
  }),
@@ -10190,7 +10498,7 @@ export class Api<
10190
10498
  method: "PUT",
10191
10499
  body: data,
10192
10500
  secure: true,
10193
- type: ContentType.Json,
10501
+ type: "application/json",
10194
10502
  format: "json",
10195
10503
  ...params,
10196
10504
  }),
@@ -10324,7 +10632,7 @@ export class Api<
10324
10632
  method: "PUT",
10325
10633
  body: data,
10326
10634
  secure: true,
10327
- type: ContentType.Json,
10635
+ type: "application/json",
10328
10636
  format: "json",
10329
10637
  ...params,
10330
10638
  }),
@@ -10443,7 +10751,7 @@ export class Api<
10443
10751
  method: "POST",
10444
10752
  body: data,
10445
10753
  secure: true,
10446
- type: ContentType.Json,
10754
+ type: "application/json",
10447
10755
  format: "json",
10448
10756
  ...params,
10449
10757
  }),
@@ -10520,7 +10828,7 @@ export class Api<
10520
10828
  method: "PUT",
10521
10829
  body: data,
10522
10830
  secure: true,
10523
- type: ContentType.Json,
10831
+ type: "application/json",
10524
10832
  format: "json",
10525
10833
  ...params,
10526
10834
  }),
@@ -10607,7 +10915,7 @@ export class Api<
10607
10915
  method: "POST",
10608
10916
  body: data,
10609
10917
  secure: true,
10610
- type: ContentType.Json,
10918
+ type: "application/json",
10611
10919
  format: "json",
10612
10920
  ...params,
10613
10921
  }),
@@ -10656,7 +10964,7 @@ export class Api<
10656
10964
  method: "PUT",
10657
10965
  body: data,
10658
10966
  secure: true,
10659
- type: ContentType.Json,
10967
+ type: "application/json",
10660
10968
  format: "json",
10661
10969
  ...params,
10662
10970
  }),
@@ -10731,7 +11039,7 @@ export class Api<
10731
11039
  method: "POST",
10732
11040
  body: data,
10733
11041
  secure: true,
10734
- type: ContentType.Json,
11042
+ type: "application/json",
10735
11043
  format: "json",
10736
11044
  ...params,
10737
11045
  }),
@@ -10907,7 +11215,7 @@ export class Api<
10907
11215
  method: "POST",
10908
11216
  body: data,
10909
11217
  secure: true,
10910
- type: ContentType.Json,
11218
+ type: "application/json",
10911
11219
  format: "json",
10912
11220
  ...params,
10913
11221
  }),
@@ -10970,7 +11278,7 @@ export class Api<
10970
11278
  method: "POST",
10971
11279
  body: data,
10972
11280
  secure: true,
10973
- type: ContentType.FormData,
11281
+ type: "multipart/form-data",
10974
11282
  format: "json",
10975
11283
  ...params,
10976
11284
  }),
@@ -11011,7 +11319,7 @@ export class Api<
11011
11319
  method: "PUT",
11012
11320
  body: data,
11013
11321
  secure: true,
11014
- type: ContentType.Json,
11322
+ type: "application/json",
11015
11323
  format: "json",
11016
11324
  ...params,
11017
11325
  }),
@@ -11062,7 +11370,7 @@ export class Api<
11062
11370
  query: query,
11063
11371
  body: data,
11064
11372
  secure: true,
11065
- type: ContentType.Json,
11373
+ type: "application/json",
11066
11374
  format: "json",
11067
11375
  ...params,
11068
11376
  }),
@@ -11109,7 +11417,7 @@ export class Api<
11109
11417
  method: "POST",
11110
11418
  body: data,
11111
11419
  secure: true,
11112
- type: ContentType.Json,
11420
+ type: "application/json",
11113
11421
  format: "json",
11114
11422
  ...params,
11115
11423
  }),
@@ -11150,7 +11458,7 @@ export class Api<
11150
11458
  method: "PUT",
11151
11459
  body: data,
11152
11460
  secure: true,
11153
- type: ContentType.Json,
11461
+ type: "application/json",
11154
11462
  format: "json",
11155
11463
  ...params,
11156
11464
  }),
@@ -11216,7 +11524,7 @@ export class Api<
11216
11524
  method: "POST",
11217
11525
  body: data,
11218
11526
  secure: true,
11219
- type: ContentType.FormData,
11527
+ type: "multipart/form-data",
11220
11528
  format: "json",
11221
11529
  ...params,
11222
11530
  }),
@@ -11324,7 +11632,7 @@ export class Api<
11324
11632
  query: query,
11325
11633
  body: data,
11326
11634
  secure: true,
11327
- type: ContentType.Json,
11635
+ type: "application/json",
11328
11636
  format: "json",
11329
11637
  ...params,
11330
11638
  }),
@@ -11368,7 +11676,7 @@ export class Api<
11368
11676
  method: "PUT",
11369
11677
  body: data,
11370
11678
  secure: true,
11371
- type: ContentType.Json,
11679
+ type: "application/json",
11372
11680
  format: "json",
11373
11681
  ...params,
11374
11682
  }),
@@ -11419,7 +11727,7 @@ export class Api<
11419
11727
  query: query,
11420
11728
  body: data,
11421
11729
  secure: true,
11422
- type: ContentType.Json,
11730
+ type: "application/json",
11423
11731
  format: "json",
11424
11732
  ...params,
11425
11733
  }),
@@ -11463,7 +11771,7 @@ export class Api<
11463
11771
  method: "POST",
11464
11772
  body: data,
11465
11773
  secure: true,
11466
- type: ContentType.Json,
11774
+ type: "application/json",
11467
11775
  format: "json",
11468
11776
  ...params,
11469
11777
  }),
@@ -11508,7 +11816,7 @@ export class Api<
11508
11816
  method: "PUT",
11509
11817
  body: data,
11510
11818
  secure: true,
11511
- type: ContentType.Json,
11819
+ type: "application/json",
11512
11820
  format: "json",
11513
11821
  ...params,
11514
11822
  }),
@@ -11596,7 +11904,7 @@ export class Api<
11596
11904
  method: "PATCH",
11597
11905
  body: data,
11598
11906
  secure: true,
11599
- type: ContentType.JsonPatch,
11907
+ type: "application/json",
11600
11908
  format: "json",
11601
11909
  ...params,
11602
11910
  }),
@@ -11617,7 +11925,7 @@ export class Api<
11617
11925
  method: "POST",
11618
11926
  body: data,
11619
11927
  secure: true,
11620
- type: ContentType.Json,
11928
+ type: "application/json",
11621
11929
  format: "json",
11622
11930
  ...params,
11623
11931
  }),
@@ -11649,7 +11957,7 @@ export class Api<
11649
11957
  query: query,
11650
11958
  body: data,
11651
11959
  secure: true,
11652
- type: ContentType.Json,
11960
+ type: "application/json",
11653
11961
  format: "json",
11654
11962
  ...params,
11655
11963
  }),
@@ -11680,7 +11988,7 @@ export class Api<
11680
11988
  query: query,
11681
11989
  body: data,
11682
11990
  secure: true,
11683
- type: ContentType.Json,
11991
+ type: "application/json",
11684
11992
  format: "json",
11685
11993
  ...params,
11686
11994
  }),
@@ -11706,7 +12014,7 @@ export class Api<
11706
12014
  method: "PATCH",
11707
12015
  body: data,
11708
12016
  secure: true,
11709
- type: ContentType.JsonPatch,
12017
+ type: "application/json",
11710
12018
  format: "json",
11711
12019
  ...params,
11712
12020
  }),
@@ -11733,7 +12041,7 @@ export class Api<
11733
12041
  method: "PATCH",
11734
12042
  body: data,
11735
12043
  secure: true,
11736
- type: ContentType.JsonPatch,
12044
+ type: "application/json",
11737
12045
  format: "json",
11738
12046
  ...params,
11739
12047
  }),
@@ -11890,7 +12198,7 @@ export class Api<
11890
12198
  method: "POST",
11891
12199
  body: data,
11892
12200
  secure: true,
11893
- type: ContentType.Json,
12201
+ type: "application/json",
11894
12202
  format: "json",
11895
12203
  ...params,
11896
12204
  }),
@@ -11950,7 +12258,7 @@ export class Api<
11950
12258
  method: "POST",
11951
12259
  body: data,
11952
12260
  secure: true,
11953
- type: ContentType.FormData,
12261
+ type: "multipart/form-data",
11954
12262
  format: "json",
11955
12263
  ...params,
11956
12264
  }),
@@ -11975,7 +12283,7 @@ export class Api<
11975
12283
  method: "PATCH",
11976
12284
  body: data,
11977
12285
  secure: true,
11978
- type: ContentType.JsonPatch,
12286
+ type: "application/json",
11979
12287
  format: "json",
11980
12288
  ...params,
11981
12289
  }),
@@ -12030,7 +12338,7 @@ export class Api<
12030
12338
  method: "POST",
12031
12339
  body: data,
12032
12340
  secure: true,
12033
- type: ContentType.FormData,
12341
+ type: "multipart/form-data",
12034
12342
  format: "json",
12035
12343
  ...params,
12036
12344
  }),
@@ -12055,7 +12363,7 @@ export class Api<
12055
12363
  method: "PATCH",
12056
12364
  body: data,
12057
12365
  secure: true,
12058
- type: ContentType.JsonPatch,
12366
+ type: "application/json",
12059
12367
  format: "json",
12060
12368
  ...params,
12061
12369
  }),
@@ -12129,7 +12437,7 @@ export class Api<
12129
12437
  method: "POST",
12130
12438
  body: data,
12131
12439
  secure: true,
12132
- type: ContentType.Json,
12440
+ type: "application/json",
12133
12441
  format: "json",
12134
12442
  ...params,
12135
12443
  }),
@@ -12192,7 +12500,7 @@ export class Api<
12192
12500
  method: "PUT",
12193
12501
  body: data,
12194
12502
  secure: true,
12195
- type: ContentType.Json,
12503
+ type: "application/json",
12196
12504
  format: "json",
12197
12505
  ...params,
12198
12506
  }),
@@ -12243,7 +12551,7 @@ export class Api<
12243
12551
  query: query,
12244
12552
  body: data,
12245
12553
  secure: true,
12246
- type: ContentType.Json,
12554
+ type: "application/json",
12247
12555
  format: "json",
12248
12556
  ...params,
12249
12557
  }),
@@ -12271,7 +12579,7 @@ export class Api<
12271
12579
  method: "PUT",
12272
12580
  body: data,
12273
12581
  secure: true,
12274
- type: ContentType.FormData,
12582
+ type: "multipart/form-data",
12275
12583
  format: "json",
12276
12584
  ...params,
12277
12585
  }),
@@ -12354,7 +12662,7 @@ export class Api<
12354
12662
  method: "POST",
12355
12663
  body: data,
12356
12664
  secure: true,
12357
- type: ContentType.Json,
12665
+ type: "application/json",
12358
12666
  format: "json",
12359
12667
  ...params,
12360
12668
  }),
@@ -12401,7 +12709,7 @@ export class Api<
12401
12709
  method: "POST",
12402
12710
  body: data,
12403
12711
  secure: true,
12404
- type: ContentType.Json,
12712
+ type: "application/json",
12405
12713
  format: "json",
12406
12714
  ...params,
12407
12715
  }),
@@ -12449,7 +12757,7 @@ export class Api<
12449
12757
  method: "POST",
12450
12758
  body: data,
12451
12759
  secure: true,
12452
- type: ContentType.Json,
12760
+ type: "application/json",
12453
12761
  ...params,
12454
12762
  }),
12455
12763
 
@@ -12514,7 +12822,7 @@ export class Api<
12514
12822
  method: "PUT",
12515
12823
  body: data,
12516
12824
  secure: true,
12517
- type: ContentType.Json,
12825
+ type: "application/json",
12518
12826
  ...params,
12519
12827
  }),
12520
12828
 
@@ -12542,7 +12850,7 @@ export class Api<
12542
12850
  method: "PUT",
12543
12851
  body: data,
12544
12852
  secure: true,
12545
- type: ContentType.Json,
12853
+ type: "application/json",
12546
12854
  ...params,
12547
12855
  }),
12548
12856
 
@@ -12608,7 +12916,7 @@ export class Api<
12608
12916
  method: "POST",
12609
12917
  body: data,
12610
12918
  secure: true,
12611
- type: ContentType.Json,
12919
+ type: "application/json",
12612
12920
  format: "json",
12613
12921
  ...params,
12614
12922
  }),
@@ -12653,7 +12961,7 @@ export class Api<
12653
12961
  method: "POST",
12654
12962
  body: data,
12655
12963
  secure: true,
12656
- type: ContentType.Json,
12964
+ type: "application/json",
12657
12965
  format: "json",
12658
12966
  ...params,
12659
12967
  }),
@@ -12702,7 +13010,7 @@ export class Api<
12702
13010
  method: "PUT",
12703
13011
  body: data,
12704
13012
  secure: true,
12705
- type: ContentType.Json,
13013
+ type: "application/json",
12706
13014
  format: "json",
12707
13015
  ...params,
12708
13016
  }),
@@ -12837,7 +13145,7 @@ export class Api<
12837
13145
  method: "POST",
12838
13146
  body: data,
12839
13147
  secure: true,
12840
- type: ContentType.Json,
13148
+ type: "application/json",
12841
13149
  format: "json",
12842
13150
  ...params,
12843
13151
  }),
@@ -12871,7 +13179,7 @@ export class Api<
12871
13179
  query: query,
12872
13180
  body: data,
12873
13181
  secure: true,
12874
- type: ContentType.Json,
13182
+ type: "application/json",
12875
13183
  format: "json",
12876
13184
  ...params,
12877
13185
  }),
@@ -12901,7 +13209,7 @@ export class Api<
12901
13209
  query: query,
12902
13210
  body: data,
12903
13211
  secure: true,
12904
- type: ContentType.Json,
13212
+ type: "application/json",
12905
13213
  format: "json",
12906
13214
  ...params,
12907
13215
  }),
@@ -12914,7 +13222,7 @@ export class Api<
12914
13222
  * @summary Download By ID
12915
13223
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
12916
13224
  * @secure
12917
- * @response `200` `string` OK
13225
+ * @response `200` `Blob` OK
12918
13226
  * @response `404` `ProblemDetails` Not Found
12919
13227
  */
12920
13228
  downloadLoanDocument: (
@@ -12922,7 +13230,7 @@ export class Api<
12922
13230
  documentId: string,
12923
13231
  params: RequestParams = {},
12924
13232
  ) =>
12925
- this.request<string, ProblemDetails>({
13233
+ this.request<Blob, ProblemDetails>({
12926
13234
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
12927
13235
  method: "GET",
12928
13236
  secure: true,
@@ -12959,7 +13267,7 @@ export class Api<
12959
13267
  method: "POST",
12960
13268
  body: data,
12961
13269
  secure: true,
12962
- type: ContentType.FormData,
13270
+ type: "multipart/form-data",
12963
13271
  format: "json",
12964
13272
  ...params,
12965
13273
  }),
@@ -13009,7 +13317,7 @@ export class Api<
13009
13317
  method: "POST",
13010
13318
  body: data,
13011
13319
  secure: true,
13012
- type: ContentType.Json,
13320
+ type: "application/json",
13013
13321
  format: "json",
13014
13322
  ...params,
13015
13323
  }),
@@ -13036,7 +13344,7 @@ export class Api<
13036
13344
  method: "POST",
13037
13345
  body: data,
13038
13346
  secure: true,
13039
- type: ContentType.Json,
13347
+ type: "application/json",
13040
13348
  ...params,
13041
13349
  }),
13042
13350
 
@@ -13083,7 +13391,7 @@ export class Api<
13083
13391
  method: "POST",
13084
13392
  body: data,
13085
13393
  secure: true,
13086
- type: ContentType.Json,
13394
+ type: "application/json",
13087
13395
  format: "json",
13088
13396
  ...params,
13089
13397
  }),
@@ -13128,7 +13436,7 @@ export class Api<
13128
13436
  method: "POST",
13129
13437
  body: data,
13130
13438
  secure: true,
13131
- type: ContentType.Json,
13439
+ type: "application/json",
13132
13440
  format: "json",
13133
13441
  ...params,
13134
13442
  }),
@@ -13191,7 +13499,7 @@ export class Api<
13191
13499
  method: "PUT",
13192
13500
  body: data,
13193
13501
  secure: true,
13194
- type: ContentType.Json,
13502
+ type: "application/json",
13195
13503
  format: "json",
13196
13504
  ...params,
13197
13505
  }),
@@ -13242,7 +13550,7 @@ export class Api<
13242
13550
  query: query,
13243
13551
  body: data,
13244
13552
  secure: true,
13245
- type: ContentType.Json,
13553
+ type: "application/json",
13246
13554
  format: "json",
13247
13555
  ...params,
13248
13556
  }),
@@ -13267,7 +13575,7 @@ export class Api<
13267
13575
  method: "PUT",
13268
13576
  body: data,
13269
13577
  secure: true,
13270
- type: ContentType.Json,
13578
+ type: "application/json",
13271
13579
  format: "json",
13272
13580
  ...params,
13273
13581
  }),
@@ -13342,7 +13650,7 @@ export class Api<
13342
13650
  method: "POST",
13343
13651
  body: data,
13344
13652
  secure: true,
13345
- type: ContentType.Json,
13653
+ type: "application/json",
13346
13654
  format: "json",
13347
13655
  ...params,
13348
13656
  }),
@@ -13438,7 +13746,7 @@ export class Api<
13438
13746
  method: "POST",
13439
13747
  body: data,
13440
13748
  secure: true,
13441
- type: ContentType.Json,
13749
+ type: "application/json",
13442
13750
  format: "json",
13443
13751
  ...params,
13444
13752
  }),
@@ -13472,7 +13780,7 @@ export class Api<
13472
13780
  query: query,
13473
13781
  body: data,
13474
13782
  secure: true,
13475
- type: ContentType.Json,
13783
+ type: "application/json",
13476
13784
  format: "json",
13477
13785
  ...params,
13478
13786
  }),
@@ -13523,7 +13831,7 @@ export class Api<
13523
13831
  method: "POST",
13524
13832
  body: data,
13525
13833
  secure: true,
13526
- type: ContentType.Json,
13834
+ type: "application/json",
13527
13835
  ...params,
13528
13836
  }),
13529
13837
 
@@ -13549,7 +13857,7 @@ export class Api<
13549
13857
  method: "POST",
13550
13858
  body: data,
13551
13859
  secure: true,
13552
- type: ContentType.Json,
13860
+ type: "application/json",
13553
13861
  ...params,
13554
13862
  }),
13555
13863
 
@@ -13612,7 +13920,7 @@ export class Api<
13612
13920
  query: query,
13613
13921
  body: data,
13614
13922
  secure: true,
13615
- type: ContentType.Json,
13923
+ type: "application/json",
13616
13924
  format: "json",
13617
13925
  ...params,
13618
13926
  }),
@@ -13657,7 +13965,7 @@ export class Api<
13657
13965
  method: "POST",
13658
13966
  body: data,
13659
13967
  secure: true,
13660
- type: ContentType.Json,
13968
+ type: "application/json",
13661
13969
  format: "json",
13662
13970
  ...params,
13663
13971
  }),
@@ -13711,7 +14019,7 @@ export class Api<
13711
14019
  query: query,
13712
14020
  body: data,
13713
14021
  secure: true,
13714
- type: ContentType.Json,
14022
+ type: "application/json",
13715
14023
  format: "json",
13716
14024
  ...params,
13717
14025
  }),
@@ -13744,7 +14052,7 @@ export class Api<
13744
14052
  query: query,
13745
14053
  body: data,
13746
14054
  secure: true,
13747
- type: ContentType.Json,
14055
+ type: "application/json",
13748
14056
  format: "json",
13749
14057
  ...params,
13750
14058
  }),
@@ -13790,7 +14098,7 @@ export class Api<
13790
14098
  method: "PUT",
13791
14099
  body: data,
13792
14100
  secure: true,
13793
- type: ContentType.Json,
14101
+ type: "application/json",
13794
14102
  format: "json",
13795
14103
  ...params,
13796
14104
  }),
@@ -13891,7 +14199,7 @@ export class Api<
13891
14199
  method: "POST",
13892
14200
  body: data,
13893
14201
  secure: true,
13894
- type: ContentType.Json,
14202
+ type: "application/json",
13895
14203
  format: "json",
13896
14204
  ...params,
13897
14205
  }),
@@ -13924,7 +14232,7 @@ export class Api<
13924
14232
  query: query,
13925
14233
  body: data,
13926
14234
  secure: true,
13927
- type: ContentType.Json,
14235
+ type: "application/json",
13928
14236
  format: "json",
13929
14237
  ...params,
13930
14238
  }),
@@ -13954,7 +14262,7 @@ export class Api<
13954
14262
  method: "PATCH",
13955
14263
  body: data,
13956
14264
  secure: true,
13957
- type: ContentType.JsonPatch,
14265
+ type: "application/json",
13958
14266
  format: "json",
13959
14267
  ...params,
13960
14268
  }),
@@ -14064,7 +14372,7 @@ export class Api<
14064
14372
  method: "POST",
14065
14373
  body: data,
14066
14374
  secure: true,
14067
- type: ContentType.Json,
14375
+ type: "application/json",
14068
14376
  format: "json",
14069
14377
  ...params,
14070
14378
  }),
@@ -14100,7 +14408,7 @@ export class Api<
14100
14408
  query: query,
14101
14409
  body: data,
14102
14410
  secure: true,
14103
- type: ContentType.Json,
14411
+ type: "application/json",
14104
14412
  format: "json",
14105
14413
  ...params,
14106
14414
  }),
@@ -14152,7 +14460,7 @@ export class Api<
14152
14460
  method: "POST",
14153
14461
  body: data,
14154
14462
  secure: true,
14155
- type: ContentType.Json,
14463
+ type: "application/json",
14156
14464
  format: "json",
14157
14465
  ...params,
14158
14466
  }),
@@ -14180,7 +14488,7 @@ export class Api<
14180
14488
  method: "PUT",
14181
14489
  body: data,
14182
14490
  secure: true,
14183
- type: ContentType.Json,
14491
+ type: "application/json",
14184
14492
  format: "json",
14185
14493
  ...params,
14186
14494
  }),
@@ -14239,7 +14547,7 @@ export class Api<
14239
14547
  method: "POST",
14240
14548
  body: data,
14241
14549
  secure: true,
14242
- type: ContentType.FormData,
14550
+ type: "multipart/form-data",
14243
14551
  format: "json",
14244
14552
  ...params,
14245
14553
  }),
@@ -14312,7 +14620,7 @@ export class Api<
14312
14620
  method: "POST",
14313
14621
  body: data,
14314
14622
  secure: true,
14315
- type: ContentType.Json,
14623
+ type: "application/json",
14316
14624
  ...params,
14317
14625
  }),
14318
14626
 
@@ -14344,7 +14652,7 @@ export class Api<
14344
14652
  query: query,
14345
14653
  body: data,
14346
14654
  secure: true,
14347
- type: ContentType.Json,
14655
+ type: "application/json",
14348
14656
  format: "json",
14349
14657
  ...params,
14350
14658
  }),
@@ -14369,7 +14677,7 @@ export class Api<
14369
14677
  method: "POST",
14370
14678
  body: data,
14371
14679
  secure: true,
14372
- type: ContentType.Json,
14680
+ type: "application/json",
14373
14681
  format: "json",
14374
14682
  ...params,
14375
14683
  }),
@@ -14456,7 +14764,7 @@ export class Api<
14456
14764
  method: "POST",
14457
14765
  body: data,
14458
14766
  secure: true,
14459
- type: ContentType.Json,
14767
+ type: "application/json",
14460
14768
  format: "json",
14461
14769
  ...params,
14462
14770
  }),
@@ -14482,7 +14790,7 @@ export class Api<
14482
14790
  method: "POST",
14483
14791
  body: data,
14484
14792
  secure: true,
14485
- type: ContentType.Json,
14793
+ type: "application/json",
14486
14794
  format: "json",
14487
14795
  ...params,
14488
14796
  }),
@@ -14509,7 +14817,7 @@ export class Api<
14509
14817
  method: "PUT",
14510
14818
  body: data,
14511
14819
  secure: true,
14512
- type: ContentType.Json,
14820
+ type: "application/json",
14513
14821
  format: "json",
14514
14822
  ...params,
14515
14823
  }),
@@ -14626,7 +14934,7 @@ export class Api<
14626
14934
  method: "POST",
14627
14935
  body: data,
14628
14936
  secure: true,
14629
- type: ContentType.Json,
14937
+ type: "application/json",
14630
14938
  format: "json",
14631
14939
  ...params,
14632
14940
  }),
@@ -14704,7 +15012,7 @@ export class Api<
14704
15012
  query: query,
14705
15013
  body: data,
14706
15014
  secure: true,
14707
- type: ContentType.Json,
15015
+ type: "application/json",
14708
15016
  format: "json",
14709
15017
  ...params,
14710
15018
  }),
@@ -14748,7 +15056,7 @@ export class Api<
14748
15056
  method: "POST",
14749
15057
  body: data,
14750
15058
  secure: true,
14751
- type: ContentType.Json,
15059
+ type: "application/json",
14752
15060
  format: "json",
14753
15061
  ...params,
14754
15062
  }),
@@ -14795,7 +15103,7 @@ export class Api<
14795
15103
  method: "PUT",
14796
15104
  body: data,
14797
15105
  secure: true,
14798
- type: ContentType.Json,
15106
+ type: "application/json",
14799
15107
  format: "json",
14800
15108
  ...params,
14801
15109
  }),
@@ -14841,7 +15149,7 @@ export class Api<
14841
15149
  method: "POST",
14842
15150
  body: data,
14843
15151
  secure: true,
14844
- type: ContentType.Json,
15152
+ type: "application/json",
14845
15153
  format: "json",
14846
15154
  ...params,
14847
15155
  }),
@@ -14866,7 +15174,7 @@ export class Api<
14866
15174
  method: "POST",
14867
15175
  body: data,
14868
15176
  secure: true,
14869
- type: ContentType.Json,
15177
+ type: "application/json",
14870
15178
  format: "json",
14871
15179
  ...params,
14872
15180
  }),
@@ -14891,7 +15199,7 @@ export class Api<
14891
15199
  method: "POST",
14892
15200
  body: data,
14893
15201
  secure: true,
14894
- type: ContentType.Json,
15202
+ type: "application/json",
14895
15203
  format: "json",
14896
15204
  ...params,
14897
15205
  }),
@@ -14916,7 +15224,7 @@ export class Api<
14916
15224
  method: "POST",
14917
15225
  body: data,
14918
15226
  secure: true,
14919
- type: ContentType.Json,
15227
+ type: "application/json",
14920
15228
  format: "json",
14921
15229
  ...params,
14922
15230
  }),
@@ -14941,7 +15249,7 @@ export class Api<
14941
15249
  method: "POST",
14942
15250
  body: data,
14943
15251
  secure: true,
14944
- type: ContentType.Json,
15252
+ type: "application/json",
14945
15253
  format: "json",
14946
15254
  ...params,
14947
15255
  }),
@@ -14967,7 +15275,7 @@ export class Api<
14967
15275
  method: "POST",
14968
15276
  body: data,
14969
15277
  secure: true,
14970
- type: ContentType.Json,
15278
+ type: "application/json",
14971
15279
  ...params,
14972
15280
  }),
14973
15281
 
@@ -14992,7 +15300,7 @@ export class Api<
14992
15300
  method: "POST",
14993
15301
  body: data,
14994
15302
  secure: true,
14995
- type: ContentType.Json,
15303
+ type: "application/json",
14996
15304
  ...params,
14997
15305
  }),
14998
15306
 
@@ -15041,7 +15349,7 @@ export class Api<
15041
15349
  method: "POST",
15042
15350
  body: data,
15043
15351
  secure: true,
15044
- type: ContentType.Json,
15352
+ type: "application/json",
15045
15353
  format: "json",
15046
15354
  ...params,
15047
15355
  }),
@@ -15074,7 +15382,7 @@ export class Api<
15074
15382
  query: query,
15075
15383
  body: data,
15076
15384
  secure: true,
15077
- type: ContentType.Json,
15385
+ type: "application/json",
15078
15386
  format: "json",
15079
15387
  ...params,
15080
15388
  }),
@@ -15119,7 +15427,7 @@ export class Api<
15119
15427
  method: "PUT",
15120
15428
  body: data,
15121
15429
  secure: true,
15122
- type: ContentType.Json,
15430
+ type: "application/json",
15123
15431
  format: "json",
15124
15432
  ...params,
15125
15433
  }),
@@ -15203,7 +15511,7 @@ export class Api<
15203
15511
  method: "POST",
15204
15512
  body: data,
15205
15513
  secure: true,
15206
- type: ContentType.Json,
15514
+ type: "application/json",
15207
15515
  format: "json",
15208
15516
  ...params,
15209
15517
  }),
@@ -15252,7 +15560,7 @@ export class Api<
15252
15560
  method: "PUT",
15253
15561
  body: data,
15254
15562
  secure: true,
15255
- type: ContentType.Json,
15563
+ type: "application/json",
15256
15564
  format: "json",
15257
15565
  ...params,
15258
15566
  }),
@@ -15294,16 +15602,7 @@ export class Api<
15294
15602
  query?: {
15295
15603
  showAll?: boolean;
15296
15604
  /** @default "Realtor" */
15297
- role?:
15298
- | "Borrower"
15299
- | "LoanOfficer"
15300
- | "Admin"
15301
- | "SuperAdmin"
15302
- | "Realtor"
15303
- | "SettlementAgent"
15304
- | "LoanProcessor"
15305
- | "LoanOfficerAssistant"
15306
- | "SystemAdmin";
15605
+ role?: GetPartnersParamsRoleEnum;
15307
15606
  /** @format int32 */
15308
15607
  pageSize?: number;
15309
15608
  /** @format int32 */
@@ -15350,7 +15649,7 @@ export class Api<
15350
15649
  query: query,
15351
15650
  body: data,
15352
15651
  secure: true,
15353
- type: ContentType.Json,
15652
+ type: "application/json",
15354
15653
  format: "json",
15355
15654
  ...params,
15356
15655
  }),
@@ -15395,7 +15694,7 @@ export class Api<
15395
15694
  method: "POST",
15396
15695
  body: data,
15397
15696
  secure: true,
15398
- type: ContentType.Json,
15697
+ type: "application/json",
15399
15698
  format: "json",
15400
15699
  ...params,
15401
15700
  }),
@@ -15449,7 +15748,7 @@ export class Api<
15449
15748
  query: query,
15450
15749
  body: data,
15451
15750
  secure: true,
15452
- type: ContentType.Json,
15751
+ type: "application/json",
15453
15752
  format: "json",
15454
15753
  ...params,
15455
15754
  }),
@@ -15494,7 +15793,7 @@ export class Api<
15494
15793
  method: "POST",
15495
15794
  body: data,
15496
15795
  secure: true,
15497
- type: ContentType.Json,
15796
+ type: "application/json",
15498
15797
  format: "json",
15499
15798
  ...params,
15500
15799
  }),
@@ -15546,7 +15845,7 @@ export class Api<
15546
15845
  method: "POST",
15547
15846
  body: data,
15548
15847
  secure: true,
15549
- type: ContentType.Json,
15848
+ type: "application/json",
15550
15849
  format: "json",
15551
15850
  ...params,
15552
15851
  }),
@@ -15603,7 +15902,7 @@ export class Api<
15603
15902
  query: query,
15604
15903
  body: data,
15605
15904
  secure: true,
15606
- type: ContentType.Json,
15905
+ type: "application/json",
15607
15906
  format: "json",
15608
15907
  ...params,
15609
15908
  }),
@@ -15639,7 +15938,7 @@ export class Api<
15639
15938
  * @response `404` `ProblemDetails` Not Found
15640
15939
  */
15641
15940
  getSamlMetadata: (
15642
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
15941
+ sSoIntegration: GetSamlMetadataParamsEnum,
15643
15942
  ssoIntegration: string,
15644
15943
  params: RequestParams = {},
15645
15944
  ) =>
@@ -15661,7 +15960,7 @@ export class Api<
15661
15960
  * @response `200` `File` OK
15662
15961
  */
15663
15962
  createOrReplaceSamlMetadata: (
15664
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
15963
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
15665
15964
  ssoIntegration: string,
15666
15965
  params: RequestParams = {},
15667
15966
  ) =>
@@ -15786,7 +16085,7 @@ export class Api<
15786
16085
  method: "POST",
15787
16086
  body: data,
15788
16087
  secure: true,
15789
- type: ContentType.Json,
16088
+ type: "application/json",
15790
16089
  format: "json",
15791
16090
  ...params,
15792
16091
  }),
@@ -15834,7 +16133,7 @@ export class Api<
15834
16133
  method: "POST",
15835
16134
  body: data,
15836
16135
  secure: true,
15837
- type: ContentType.Json,
16136
+ type: "application/json",
15838
16137
  format: "json",
15839
16138
  ...params,
15840
16139
  }),
@@ -15886,7 +16185,7 @@ export class Api<
15886
16185
  method: "POST",
15887
16186
  body: data,
15888
16187
  secure: true,
15889
- type: ContentType.Json,
16188
+ type: "application/json",
15890
16189
  format: "json",
15891
16190
  ...params,
15892
16191
  }),
@@ -15928,7 +16227,7 @@ export class Api<
15928
16227
  method: "PUT",
15929
16228
  body: data,
15930
16229
  secure: true,
15931
- type: ContentType.Json,
16230
+ type: "application/json",
15932
16231
  format: "json",
15933
16232
  ...params,
15934
16233
  }),
@@ -15980,7 +16279,7 @@ export class Api<
15980
16279
  query: query,
15981
16280
  body: data,
15982
16281
  secure: true,
15983
- type: ContentType.Json,
16282
+ type: "application/json",
15984
16283
  format: "json",
15985
16284
  ...params,
15986
16285
  }),
@@ -16003,7 +16302,7 @@ export class Api<
16003
16302
  method: "POST",
16004
16303
  body: data,
16005
16304
  secure: true,
16006
- type: ContentType.Json,
16305
+ type: "application/json",
16007
16306
  ...params,
16008
16307
  }),
16009
16308
 
@@ -16036,7 +16335,7 @@ export class Api<
16036
16335
  query: query,
16037
16336
  body: data,
16038
16337
  secure: true,
16039
- type: ContentType.Json,
16338
+ type: "application/json",
16040
16339
  format: "json",
16041
16340
  ...params,
16042
16341
  }),
@@ -16080,7 +16379,7 @@ export class Api<
16080
16379
  method: "POST",
16081
16380
  body: data,
16082
16381
  secure: true,
16083
- type: ContentType.Json,
16382
+ type: "application/json",
16084
16383
  format: "json",
16085
16384
  ...params,
16086
16385
  }),
@@ -16104,7 +16403,7 @@ export class Api<
16104
16403
  method: "PUT",
16105
16404
  body: data,
16106
16405
  secure: true,
16107
- type: ContentType.Json,
16406
+ type: "application/json",
16108
16407
  format: "json",
16109
16408
  ...params,
16110
16409
  }),
@@ -16147,7 +16446,7 @@ export class Api<
16147
16446
  method: "POST",
16148
16447
  body: data,
16149
16448
  secure: true,
16150
- type: ContentType.Json,
16449
+ type: "application/json",
16151
16450
  format: "json",
16152
16451
  ...params,
16153
16452
  }),
@@ -16199,7 +16498,7 @@ export class Api<
16199
16498
  query: query,
16200
16499
  body: data,
16201
16500
  secure: true,
16202
- type: ContentType.Json,
16501
+ type: "application/json",
16203
16502
  format: "json",
16204
16503
  ...params,
16205
16504
  }),
@@ -16373,7 +16672,7 @@ export class Api<
16373
16672
  method: "POST",
16374
16673
  body: data,
16375
16674
  secure: true,
16376
- type: ContentType.Json,
16675
+ type: "application/json",
16377
16676
  format: "json",
16378
16677
  ...params,
16379
16678
  }),
@@ -16472,7 +16771,7 @@ export class Api<
16472
16771
  method: "POST",
16473
16772
  body: data,
16474
16773
  secure: true,
16475
- type: ContentType.Json,
16774
+ type: "application/json",
16476
16775
  format: "json",
16477
16776
  ...params,
16478
16777
  }),
@@ -16538,7 +16837,7 @@ export class Api<
16538
16837
  method: "POST",
16539
16838
  body: data,
16540
16839
  secure: true,
16541
- type: ContentType.Json,
16840
+ type: "application/json",
16542
16841
  format: "json",
16543
16842
  ...params,
16544
16843
  }),
@@ -16609,7 +16908,7 @@ export class Api<
16609
16908
  query: query,
16610
16909
  body: data,
16611
16910
  secure: true,
16612
- type: ContentType.Json,
16911
+ type: "application/json",
16613
16912
  format: "json",
16614
16913
  ...params,
16615
16914
  }),
@@ -16706,7 +17005,7 @@ export class Api<
16706
17005
  method: "PUT",
16707
17006
  body: data,
16708
17007
  secure: true,
16709
- type: ContentType.Json,
17008
+ type: "application/json",
16710
17009
  format: "json",
16711
17010
  ...params,
16712
17011
  }),
@@ -16748,7 +17047,7 @@ export class Api<
16748
17047
  method: "POST",
16749
17048
  body: data,
16750
17049
  secure: true,
16751
- type: ContentType.Json,
17050
+ type: "application/json",
16752
17051
  format: "json",
16753
17052
  ...params,
16754
17053
  }),
@@ -16774,7 +17073,7 @@ export class Api<
16774
17073
  method: "POST",
16775
17074
  body: data,
16776
17075
  secure: true,
16777
- type: ContentType.Json,
17076
+ type: "application/json",
16778
17077
  ...params,
16779
17078
  }),
16780
17079
 
@@ -16799,7 +17098,7 @@ export class Api<
16799
17098
  method: "POST",
16800
17099
  body: data,
16801
17100
  secure: true,
16802
- type: ContentType.Json,
17101
+ type: "application/json",
16803
17102
  ...params,
16804
17103
  }),
16805
17104
 
@@ -16885,7 +17184,7 @@ export class Api<
16885
17184
  method: "POST",
16886
17185
  body: data,
16887
17186
  secure: true,
16888
- type: ContentType.Json,
17187
+ type: "application/json",
16889
17188
  ...params,
16890
17189
  }),
16891
17190
 
@@ -16925,7 +17224,7 @@ export class Api<
16925
17224
  method: "POST",
16926
17225
  body: data,
16927
17226
  secure: true,
16928
- type: ContentType.Json,
17227
+ type: "application/json",
16929
17228
  ...params,
16930
17229
  }),
16931
17230
 
@@ -17008,7 +17307,7 @@ export class Api<
17008
17307
  method: "POST",
17009
17308
  body: data,
17010
17309
  secure: true,
17011
- type: ContentType.Json,
17310
+ type: "application/json",
17012
17311
  ...params,
17013
17312
  }),
17014
17313
 
@@ -17100,7 +17399,7 @@ export class Api<
17100
17399
  method: "POST",
17101
17400
  body: data,
17102
17401
  secure: true,
17103
- type: ContentType.Json,
17402
+ type: "application/json",
17104
17403
  format: "json",
17105
17404
  ...params,
17106
17405
  }),
@@ -17133,7 +17432,7 @@ export class Api<
17133
17432
  query: query,
17134
17433
  body: data,
17135
17434
  secure: true,
17136
- type: ContentType.Json,
17435
+ type: "application/json",
17137
17436
  format: "json",
17138
17437
  ...params,
17139
17438
  }),
@@ -17154,7 +17453,7 @@ export class Api<
17154
17453
  method: "POST",
17155
17454
  body: data,
17156
17455
  secure: true,
17157
- type: ContentType.Json,
17456
+ type: "application/json",
17158
17457
  format: "json",
17159
17458
  ...params,
17160
17459
  }),
@@ -17176,7 +17475,7 @@ export class Api<
17176
17475
  method: "POST",
17177
17476
  body: data,
17178
17477
  secure: true,
17179
- type: ContentType.Json,
17478
+ type: "application/json",
17180
17479
  format: "json",
17181
17480
  ...params,
17182
17481
  }),
@@ -17202,7 +17501,7 @@ export class Api<
17202
17501
  method: "PUT",
17203
17502
  body: data,
17204
17503
  secure: true,
17205
- type: ContentType.Json,
17504
+ type: "application/json",
17206
17505
  format: "json",
17207
17506
  ...params,
17208
17507
  }),
@@ -17268,7 +17567,7 @@ export class Api<
17268
17567
  method: "POST",
17269
17568
  body: data,
17270
17569
  secure: true,
17271
- type: ContentType.Json,
17570
+ type: "application/json",
17272
17571
  ...params,
17273
17572
  }),
17274
17573
 
@@ -17289,7 +17588,7 @@ export class Api<
17289
17588
  method: "POST",
17290
17589
  body: data,
17291
17590
  secure: true,
17292
- type: ContentType.Json,
17591
+ type: "application/json",
17293
17592
  ...params,
17294
17593
  }),
17295
17594
 
@@ -17314,7 +17613,7 @@ export class Api<
17314
17613
  method: "POST",
17315
17614
  body: data,
17316
17615
  secure: true,
17317
- type: ContentType.Json,
17616
+ type: "application/json",
17318
17617
  ...params,
17319
17618
  }),
17320
17619
 
@@ -17338,7 +17637,7 @@ export class Api<
17338
17637
  method: "POST",
17339
17638
  body: data,
17340
17639
  secure: true,
17341
- type: ContentType.Json,
17640
+ type: "application/json",
17342
17641
  ...params,
17343
17642
  }),
17344
17643
 
@@ -17381,7 +17680,7 @@ export class Api<
17381
17680
  method: "PUT",
17382
17681
  body: data,
17383
17682
  secure: true,
17384
- type: ContentType.Json,
17683
+ type: "application/json",
17385
17684
  ...params,
17386
17685
  }),
17387
17686
 
@@ -17421,7 +17720,7 @@ export class Api<
17421
17720
  method: "PUT",
17422
17721
  body: data,
17423
17722
  secure: true,
17424
- type: ContentType.Json,
17723
+ type: "application/json",
17425
17724
  format: "json",
17426
17725
  ...params,
17427
17726
  }),
@@ -17445,7 +17744,7 @@ export class Api<
17445
17744
  method: "PUT",
17446
17745
  body: data,
17447
17746
  secure: true,
17448
- type: ContentType.Json,
17747
+ type: "application/json",
17449
17748
  format: "json",
17450
17749
  ...params,
17451
17750
  }),
@@ -17522,7 +17821,7 @@ export class Api<
17522
17821
  method: "POST",
17523
17822
  body: data,
17524
17823
  secure: true,
17525
- type: ContentType.Json,
17824
+ type: "application/json",
17526
17825
  ...params,
17527
17826
  }),
17528
17827
 
@@ -17542,7 +17841,7 @@ export class Api<
17542
17841
  method: "POST",
17543
17842
  body: data,
17544
17843
  secure: true,
17545
- type: ContentType.Json,
17844
+ type: "application/json",
17546
17845
  format: "json",
17547
17846
  ...params,
17548
17847
  }),