@matech/thebigpos-sdk 2.49.3-rc1 → 2.49.3-rc2

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
@@ -738,7 +738,7 @@ export interface AccountBilling {
738
738
  }
739
739
 
740
740
  export interface AccountBillingRequest {
741
- billingType: AccountBillingRequestBillingTypeEnum;
741
+ billingType: "ClosedLoan" | "LoanOfficer";
742
742
  /** @format double */
743
743
  contractedRate: number;
744
744
  }
@@ -771,7 +771,7 @@ export interface Action {
771
771
  comments?: string | null;
772
772
  /** @format uuid */
773
773
  siteConfigurationID: string;
774
- applicationSettings?: any | null;
774
+ applicationSettings?: any;
775
775
  surveysToken?: string | null;
776
776
  }
777
777
 
@@ -1010,7 +1010,37 @@ export interface AiAuditLog {
1010
1010
  conversationId?: string | null;
1011
1011
  /** @format uuid */
1012
1012
  messageId?: string | null;
1013
- eventType: AiAuditLogEventTypeEnum;
1013
+ eventType:
1014
+ | "Error"
1015
+ | "GuardrailBlockedPre"
1016
+ | "GuardrailPassedPre"
1017
+ | "IntentClassified"
1018
+ | "LoanResolvedFromMessage"
1019
+ | "DocumentNotFound"
1020
+ | "GuardrailBlockedPost"
1021
+ | "GuardrailPassedPost"
1022
+ | "DocumentAnalyzed"
1023
+ | "DocumentList"
1024
+ | "DocumentResolutionAmbiguous"
1025
+ | "ResponseGenerated"
1026
+ | "ParametersExtracted"
1027
+ | "QueryExecuted"
1028
+ | "LoanContextNotFound"
1029
+ | "LoanContextLoaded"
1030
+ | "GuardrailBlockedBedrock"
1031
+ | "PromptMatched"
1032
+ | "QueryCondensed"
1033
+ | "IntentParseFailed"
1034
+ | "LoanSearchTermDiscarded"
1035
+ | "CanonicalFieldsSelected"
1036
+ | "LoanAccessDenied"
1037
+ | "AgentModelCall"
1038
+ | "AgentToolCallRequested"
1039
+ | "AgentToolCallCompleted"
1040
+ | "AgentToolCallFailed"
1041
+ | "AgentLoopLimitReached"
1042
+ | "RequestCancelled"
1043
+ | "KnowledgeBaseRetrieved";
1014
1044
  modelId?: string | null;
1015
1045
  /** @format int32 */
1016
1046
  inputTokens?: number | null;
@@ -1023,7 +1053,7 @@ export interface AiAuditLog {
1023
1053
  guardrailCategory?: string | null;
1024
1054
  rawRequest?: string | null;
1025
1055
  rawResponse?: string | null;
1026
- details?: any | null;
1056
+ details?: any;
1027
1057
  /** @format date-time */
1028
1058
  createdAt: string;
1029
1059
  }
@@ -1092,7 +1122,18 @@ export interface AiChatMessagePaginated {
1092
1122
  }
1093
1123
 
1094
1124
  export interface AiChatMetadata {
1095
- intent: AiChatMetadataIntentEnum;
1125
+ intent:
1126
+ | "Greeting"
1127
+ | "Invalid"
1128
+ | "Relevant"
1129
+ | "LoanSpecific"
1130
+ | "DocumentList"
1131
+ | "GeneralKnowledge"
1132
+ | "Blocked"
1133
+ | "Action"
1134
+ | "ConversationMeta"
1135
+ | "Capabilities"
1136
+ | "UsageReport";
1096
1137
  fieldsAccessed: string[];
1097
1138
  /** @format int64 */
1098
1139
  queryTimeMs: number;
@@ -1120,7 +1161,12 @@ export interface AiChatRequest {
1120
1161
  }
1121
1162
 
1122
1163
  export interface AiChatStructuredData {
1123
- type: AiChatStructuredDataTypeEnum;
1164
+ type:
1165
+ | "Table"
1166
+ | "DocumentAnalysis"
1167
+ | "DocumentList"
1168
+ | "GeneratedDocument"
1169
+ | "CitedPassages";
1124
1170
  displayHint?: AiDisplayHint | null;
1125
1171
  detectedDocumentType?: string | null;
1126
1172
  columns: string[];
@@ -1214,7 +1260,7 @@ export interface AiGuardrail {
1214
1260
  /** @format uuid */
1215
1261
  id: string;
1216
1262
  name: string;
1217
- category: AiGuardrailCategoryEnum;
1263
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1218
1264
  description?: string | null;
1219
1265
  keywords: string[];
1220
1266
  responseTemplate: string;
@@ -1351,8 +1397,8 @@ export interface AiUrlSource {
1351
1397
  name: string;
1352
1398
  url: string;
1353
1399
  description?: string | null;
1354
- category: AiUrlSourceCategoryEnum;
1355
- scope: AiUrlSourceScopeEnum;
1400
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1401
+ scope: "FullDomain" | "SpecificPath";
1356
1402
  isActive: boolean;
1357
1403
  isDefault: boolean;
1358
1404
  hasAccountOverride: boolean;
@@ -1465,14 +1511,22 @@ export interface AuditLogEntry {
1465
1511
  /** @format uuid */
1466
1512
  id: string;
1467
1513
  entityType: string;
1468
- changeType: AuditLogEntryChangeTypeEnum;
1514
+ changeType:
1515
+ | "Created"
1516
+ | "Modified"
1517
+ | "SoftDeleted"
1518
+ | "HardDeleted"
1519
+ | "Restored"
1520
+ | "Deactivated"
1521
+ | "Reactivated"
1522
+ | "Accessed";
1469
1523
  /** @format uuid */
1470
1524
  entityId: string;
1471
1525
  performedBy?: AuditLogUser | null;
1472
1526
  rootEntityType?: string | null;
1473
1527
  /** @format uuid */
1474
1528
  rootEntityId?: string | null;
1475
- changes?: any | null;
1529
+ changes?: any;
1476
1530
  /** @format date-time */
1477
1531
  createdAt: string;
1478
1532
  }
@@ -1517,7 +1571,20 @@ export interface BorrowerCount {
1517
1571
  firstName: string;
1518
1572
  lastName: string;
1519
1573
  email: string;
1520
- role: BorrowerCountRoleEnum;
1574
+ role:
1575
+ | "Borrower"
1576
+ | "CoBorrower"
1577
+ | "NonBorrower"
1578
+ | "LoanOfficer"
1579
+ | "LoanProcessor"
1580
+ | "LoanOfficerAssistant"
1581
+ | "SupportingLoanOfficer"
1582
+ | "BuyerAgent"
1583
+ | "SellerAgent"
1584
+ | "TitleInsuranceAgent"
1585
+ | "EscrowAgent"
1586
+ | "SettlementAgent"
1587
+ | "Admin";
1521
1588
  /** @format int32 */
1522
1589
  count: number;
1523
1590
  }
@@ -1528,7 +1595,20 @@ export interface BorrowerIdentity {
1528
1595
  firstName: string;
1529
1596
  lastName: string;
1530
1597
  email: string;
1531
- role: BorrowerIdentityRoleEnum;
1598
+ role:
1599
+ | "Borrower"
1600
+ | "CoBorrower"
1601
+ | "NonBorrower"
1602
+ | "LoanOfficer"
1603
+ | "LoanProcessor"
1604
+ | "LoanOfficerAssistant"
1605
+ | "SupportingLoanOfficer"
1606
+ | "BuyerAgent"
1607
+ | "SellerAgent"
1608
+ | "TitleInsuranceAgent"
1609
+ | "EscrowAgent"
1610
+ | "SettlementAgent"
1611
+ | "Admin";
1532
1612
  }
1533
1613
 
1534
1614
  export interface BorrowersNotUsingPosSummary {
@@ -1714,13 +1794,13 @@ export interface CompanyDocument {
1714
1794
  folderId: string;
1715
1795
  folderName: string;
1716
1796
  name: string;
1717
- sourceType: CompanyDocumentSourceTypeEnum;
1797
+ sourceType: "File" | "FreeText";
1718
1798
  contentType?: string | null;
1719
1799
  /** @format int64 */
1720
1800
  fileSizeBytes: number;
1721
1801
  inlineContent?: string | null;
1722
1802
  previewImage?: string | null;
1723
- indexStatus: CompanyDocumentIndexStatusEnum;
1803
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1724
1804
  indexError?: string | null;
1725
1805
  /** @format date-time */
1726
1806
  indexedAt?: string | null;
@@ -1744,6 +1824,15 @@ export interface CompanyDocumentFolder {
1744
1824
  createdAt: string;
1745
1825
  /** @format date-time */
1746
1826
  updatedAt?: string | null;
1827
+ files?: CompanyDocumentFolderFile[] | null;
1828
+ }
1829
+
1830
+ export interface CompanyDocumentFolderFile {
1831
+ /** @format uuid */
1832
+ id: string;
1833
+ name: string;
1834
+ sourceType: "File" | "FreeText";
1835
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1747
1836
  }
1748
1837
 
1749
1838
  export interface CompanyDocumentPaginated {
@@ -1848,7 +1937,7 @@ export interface CorporateSearchCriteria {
1848
1937
  }
1849
1938
 
1850
1939
  export interface CreateAccessScopeRequest {
1851
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1940
+ scopeType: "User" | "Branch";
1852
1941
  /** @format uuid */
1853
1942
  userId?: string | null;
1854
1943
  /** @format uuid */
@@ -1867,7 +1956,7 @@ export interface CreateAccountRequest {
1867
1956
  /** @format int64 */
1868
1957
  nlmsid: number;
1869
1958
  settings: AccountSettingsRequest;
1870
- environment: CreateAccountRequestEnvironmentEnum;
1959
+ environment: "Development" | "Staging" | "UAT" | "Production";
1871
1960
  losIntegration: LOSIntegration;
1872
1961
  billingSettings: AccountBillingRequest;
1873
1962
  }
@@ -1883,7 +1972,7 @@ export interface CreateAiCanonicalFieldRequest {
1883
1972
 
1884
1973
  export interface CreateAiGuardrailRequest {
1885
1974
  name: string;
1886
- category: CreateAiGuardrailRequestCategoryEnum;
1975
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1887
1976
  description?: string | null;
1888
1977
  keywords: string[];
1889
1978
  responseTemplate: string;
@@ -1916,8 +2005,8 @@ export interface CreateAiUrlSourceRequest {
1916
2005
  name: string;
1917
2006
  url: string;
1918
2007
  description?: string | null;
1919
- category: CreateAiUrlSourceRequestCategoryEnum;
1920
- scope: CreateAiUrlSourceRequestScopeEnum;
2008
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
2009
+ scope: "FullDomain" | "SpecificPath";
1921
2010
  }
1922
2011
 
1923
2012
  export interface CreateBranchRequest {
@@ -1954,8 +2043,15 @@ export interface CreateCustomFieldDefinitionRequest {
1954
2043
  name: string;
1955
2044
  defaultValue?: string | null;
1956
2045
  regexPattern?: string | null;
1957
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1958
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
2046
+ dataType:
2047
+ | "String"
2048
+ | "Number"
2049
+ | "Decimal"
2050
+ | "Boolean"
2051
+ | "Date"
2052
+ | "SingleSelect"
2053
+ | "MultiSelect";
2054
+ entityType: "Loan";
1959
2055
  options?: CustomFieldOptionRequest[] | null;
1960
2056
  permissions?: CustomFieldPermissionRequest[] | null;
1961
2057
  }
@@ -1975,7 +2071,20 @@ export interface CreateDocumentTemplateRequest {
1975
2071
  export interface CreateGroupMemberRequest {
1976
2072
  /** @format uuid */
1977
2073
  userId: string;
1978
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
2074
+ loanRole:
2075
+ | "Borrower"
2076
+ | "CoBorrower"
2077
+ | "NonBorrower"
2078
+ | "LoanOfficer"
2079
+ | "LoanProcessor"
2080
+ | "LoanOfficerAssistant"
2081
+ | "SupportingLoanOfficer"
2082
+ | "BuyerAgent"
2083
+ | "SellerAgent"
2084
+ | "TitleInsuranceAgent"
2085
+ | "EscrowAgent"
2086
+ | "SettlementAgent"
2087
+ | "Admin";
1979
2088
  }
1980
2089
 
1981
2090
  export interface CreateInviteRequest {
@@ -1984,7 +2093,7 @@ export interface CreateInviteRequest {
1984
2093
  emailAddress: string;
1985
2094
  phoneNumber?: string | null;
1986
2095
  /** @deprecated */
1987
- relationship: CreateInviteRequestRelationshipEnum;
2096
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1988
2097
  loanID: string;
1989
2098
  route?: string | null;
1990
2099
  /** @format uuid */
@@ -2006,7 +2115,7 @@ export interface CreateLoanImportRequest {
2006
2115
  endDate: string;
2007
2116
  /** @format date-time */
2008
2117
  startDate: string;
2009
- importMode: CreateLoanImportRequestImportModeEnum;
2118
+ importMode: "All" | "NewOnly" | "UpdateOnly";
2010
2119
  }
2011
2120
 
2012
2121
  export interface CreateSession {
@@ -2028,7 +2137,20 @@ export interface CreateUserDeviceRequest {
2028
2137
  }
2029
2138
 
2030
2139
  export interface CreateUserDraft {
2031
- loanRole: CreateUserDraftLoanRoleEnum;
2140
+ loanRole:
2141
+ | "Borrower"
2142
+ | "CoBorrower"
2143
+ | "NonBorrower"
2144
+ | "LoanOfficer"
2145
+ | "LoanProcessor"
2146
+ | "LoanOfficerAssistant"
2147
+ | "SupportingLoanOfficer"
2148
+ | "BuyerAgent"
2149
+ | "SellerAgent"
2150
+ | "TitleInsuranceAgent"
2151
+ | "EscrowAgent"
2152
+ | "SettlementAgent"
2153
+ | "Admin";
2032
2154
  }
2033
2155
 
2034
2156
  export interface CreateUserGroupRequest {
@@ -2096,8 +2218,15 @@ export interface CustomFieldDefinition {
2096
2218
  name: string;
2097
2219
  defaultValue?: string | null;
2098
2220
  regexPattern?: string | null;
2099
- dataType: CustomFieldDefinitionDataTypeEnum;
2100
- entityType: CustomFieldDefinitionEntityTypeEnum;
2221
+ dataType:
2222
+ | "String"
2223
+ | "Number"
2224
+ | "Decimal"
2225
+ | "Boolean"
2226
+ | "Date"
2227
+ | "SingleSelect"
2228
+ | "MultiSelect";
2229
+ entityType: "Loan";
2101
2230
  options: CustomFieldOption[];
2102
2231
  permissions: CustomFieldPermission[];
2103
2232
  encompassMapping?: EncompassMapping | null;
@@ -2112,7 +2241,14 @@ export interface CustomFieldEntry {
2112
2241
  displayOrder: number;
2113
2242
  name: string;
2114
2243
  value: string;
2115
- dataType: CustomFieldEntryDataTypeEnum;
2244
+ dataType:
2245
+ | "String"
2246
+ | "Number"
2247
+ | "Decimal"
2248
+ | "Boolean"
2249
+ | "Date"
2250
+ | "SingleSelect"
2251
+ | "MultiSelect";
2116
2252
  }
2117
2253
 
2118
2254
  export interface CustomFieldOption {
@@ -2132,13 +2268,31 @@ export interface CustomFieldOptionRequest {
2132
2268
  export interface CustomFieldPermission {
2133
2269
  /** @format uuid */
2134
2270
  id: string;
2135
- role: CustomFieldPermissionRoleEnum;
2136
- accessLevel: CustomFieldPermissionAccessLevelEnum;
2271
+ role:
2272
+ | "Borrower"
2273
+ | "LoanOfficer"
2274
+ | "Admin"
2275
+ | "SuperAdmin"
2276
+ | "Realtor"
2277
+ | "SettlementAgent"
2278
+ | "LoanProcessor"
2279
+ | "LoanOfficerAssistant"
2280
+ | "SystemAdmin";
2281
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2137
2282
  }
2138
2283
 
2139
2284
  export interface CustomFieldPermissionRequest {
2140
- role: CustomFieldPermissionRequestRoleEnum;
2141
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2285
+ role:
2286
+ | "Borrower"
2287
+ | "LoanOfficer"
2288
+ | "Admin"
2289
+ | "SuperAdmin"
2290
+ | "Realtor"
2291
+ | "SettlementAgent"
2292
+ | "LoanProcessor"
2293
+ | "LoanOfficerAssistant"
2294
+ | "SystemAdmin";
2295
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2142
2296
  }
2143
2297
 
2144
2298
  export interface CustomFieldValue {
@@ -2150,7 +2304,14 @@ export interface CustomFieldValue {
2150
2304
  customFieldDefinitionID: string;
2151
2305
  value: string;
2152
2306
  definitionName: string;
2153
- dataType: CustomFieldValueDataTypeEnum;
2307
+ dataType:
2308
+ | "String"
2309
+ | "Number"
2310
+ | "Decimal"
2311
+ | "Boolean"
2312
+ | "Date"
2313
+ | "SingleSelect"
2314
+ | "MultiSelect";
2154
2315
  }
2155
2316
 
2156
2317
  export interface DetailedUser {
@@ -2398,7 +2559,7 @@ export interface Draft {
2398
2559
  siteConfiguration: SiteConfigurationReduced;
2399
2560
  /** @format uuid */
2400
2561
  loanID?: string | null;
2401
- type: DraftTypeEnum;
2562
+ type: "NewLoan" | "EditLoan";
2402
2563
  isCoBorrower: boolean;
2403
2564
  }
2404
2565
 
@@ -2417,7 +2578,7 @@ export interface DraftContent {
2417
2578
  siteConfiguration: SiteConfigurationReduced;
2418
2579
  /** @format uuid */
2419
2580
  loanID?: string | null;
2420
- type: DraftContentTypeEnum;
2581
+ type: "NewLoan" | "EditLoan";
2421
2582
  isCoBorrower: boolean;
2422
2583
  applicationPayload: any;
2423
2584
  }
@@ -2436,7 +2597,7 @@ export interface DraftLoanOfficerReassignRequest {
2436
2597
 
2437
2598
  export interface DraftRequest {
2438
2599
  applicationPayload: any;
2439
- customData?: any | null;
2600
+ customData?: any;
2440
2601
  isCoBorrower: boolean;
2441
2602
  }
2442
2603
 
@@ -2510,9 +2671,9 @@ export interface EncompassCredentialsDetail {
2510
2671
  clearStateIfUnlicensed: boolean;
2511
2672
  /** @deprecated */
2512
2673
  baseUrl?: string | null;
2513
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2674
+ encompassEnvironment: "Production" | "UAT";
2514
2675
  consumerConnectWidgetHost?: string | null;
2515
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2676
+ signingMethod: "ConsumerConnect" | "POSF";
2516
2677
  subscriptionId?: string | null;
2517
2678
  environment?: string | null;
2518
2679
  /** @format uuid */
@@ -2529,9 +2690,9 @@ export interface EncompassCredentialsRequest {
2529
2690
  clearStateIfUnlicensed: boolean;
2530
2691
  /** @deprecated */
2531
2692
  baseUrl?: string | null;
2532
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2693
+ encompassEnvironment: "Production" | "UAT";
2533
2694
  consumerConnectWidgetHost?: string | null;
2534
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2695
+ signingMethod: "ConsumerConnect" | "POSF";
2535
2696
  subscriptionId?: string | null;
2536
2697
  environment?: string | null;
2537
2698
  clientID?: string | null;
@@ -2653,8 +2814,16 @@ export interface EncompassRequestLog {
2653
2814
  losId?: string | null;
2654
2815
  /** @format uuid */
2655
2816
  accountId: string;
2656
- operationType: EncompassRequestLogOperationTypeEnum;
2657
- outcome: EncompassRequestLogOutcomeEnum;
2817
+ operationType:
2818
+ | "FieldUpdate"
2819
+ | "ConsentUpdate"
2820
+ | "DocumentSync"
2821
+ | "MilestoneUpdate"
2822
+ | "DocumentAttachment"
2823
+ | "General"
2824
+ | "FieldReader"
2825
+ | "Read";
2826
+ outcome: "Success" | "Failure" | "PartialSuccess";
2658
2827
  message: string;
2659
2828
  endpoint?: string | null;
2660
2829
  httpMethod?: string | null;
@@ -2662,7 +2831,7 @@ export interface EncompassRequestLog {
2662
2831
  httpStatusCode?: number | null;
2663
2832
  /** @format int64 */
2664
2833
  durationMs?: number | null;
2665
- context?: any | null;
2834
+ context?: any;
2666
2835
  /** @format date-time */
2667
2836
  createdAt: string;
2668
2837
  }
@@ -2715,7 +2884,7 @@ export interface FileSearchCriteria {
2715
2884
  export interface FileWithBytes {
2716
2885
  name: string;
2717
2886
  /** @format byte */
2718
- data: Blob;
2887
+ data: string;
2719
2888
  fileName: string;
2720
2889
  mimeType?: string | null;
2721
2890
  extension?: string | null;
@@ -2794,7 +2963,7 @@ export interface FormSubmission {
2794
2963
  subjectPropertyAddressCounty?: string | null;
2795
2964
  subjectPropertyAddressState?: string | null;
2796
2965
  subjectPropertyAddressZip?: string | null;
2797
- data?: any | null;
2966
+ data?: any;
2798
2967
  /** @format uuid */
2799
2968
  listingID?: string | null;
2800
2969
  listing?: Listing | null;
@@ -2832,7 +3001,7 @@ export interface FormSubmissionRequest {
2832
3001
  subjectPropertyAddressCounty?: string | null;
2833
3002
  subjectPropertyAddressState?: string | null;
2834
3003
  subjectPropertyAddressZip?: string | null;
2835
- data?: any | null;
3004
+ data?: any;
2836
3005
  /** @format uuid */
2837
3006
  listingID?: string | null;
2838
3007
  }
@@ -2887,7 +3056,20 @@ export interface FusionFieldDisplay {
2887
3056
  }
2888
3057
 
2889
3058
  export interface FusionReportFilter {
2890
- filterType: FusionReportFilterFilterTypeEnum;
3059
+ filterType:
3060
+ | "DateGreaterThanOrEqualTo"
3061
+ | "DateGreaterThan"
3062
+ | "DateLessThan"
3063
+ | "DateLessThanOrEqualTo"
3064
+ | "DateEquals"
3065
+ | "DateDoesntEqual"
3066
+ | "DateNonEmpty"
3067
+ | "DateEmpty"
3068
+ | "StringContains"
3069
+ | "StringEquals"
3070
+ | "StringNotEmpty"
3071
+ | "StringNotEquals"
3072
+ | "StringNotContains";
2891
3073
  targetField: string;
2892
3074
  targetValue: string;
2893
3075
  }
@@ -2910,7 +3092,7 @@ export interface GenerateSystemPrompt {
2910
3092
 
2911
3093
  export interface GenerateSystemPromptRequest {
2912
3094
  description: string;
2913
- category: GenerateSystemPromptRequestCategoryEnum;
3095
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2914
3096
  }
2915
3097
 
2916
3098
  export interface GetApplications {
@@ -3006,12 +3188,45 @@ export interface GetWorkflowRequest {
3006
3188
  export interface GuidPatchOperation {
3007
3189
  op: string;
3008
3190
  path: string;
3009
- value?: any | null;
3191
+ value?: any;
3010
3192
  from?: string | null;
3011
3193
  }
3012
3194
 
3013
3195
  export interface IPAddress {
3014
- addressFamily: IpAddressAddressFamilyEnum;
3196
+ addressFamily:
3197
+ | "Unspecified"
3198
+ | "Unix"
3199
+ | "InterNetwork"
3200
+ | "ImpLink"
3201
+ | "Pup"
3202
+ | "Chaos"
3203
+ | "NS"
3204
+ | "Ipx"
3205
+ | "Iso"
3206
+ | "Osi"
3207
+ | "Ecma"
3208
+ | "DataKit"
3209
+ | "Ccitt"
3210
+ | "Sna"
3211
+ | "DecNet"
3212
+ | "DataLink"
3213
+ | "Lat"
3214
+ | "HyperChannel"
3215
+ | "AppleTalk"
3216
+ | "NetBios"
3217
+ | "VoiceView"
3218
+ | "FireFox"
3219
+ | "Banyan"
3220
+ | "Atm"
3221
+ | "InterNetworkV6"
3222
+ | "Cluster"
3223
+ | "Ieee12844"
3224
+ | "Irda"
3225
+ | "NetworkDesigners"
3226
+ | "Max"
3227
+ | "Packet"
3228
+ | "ControllerAreaNetwork"
3229
+ | "Unknown";
3015
3230
  /** @format int64 */
3016
3231
  scopeId: number;
3017
3232
  isIPv6Multicast: boolean;
@@ -3278,7 +3493,7 @@ export interface Loan {
3278
3493
  contacts: LoanContact[];
3279
3494
  customFields: CustomFieldEntry[];
3280
3495
  milestones: LoanMilestone[];
3281
- signingMethod: LoanSigningMethodEnum;
3496
+ signingMethod: "ConsumerConnect" | "POSF";
3282
3497
  }
3283
3498
 
3284
3499
  export interface LoanApplication {
@@ -3318,7 +3533,7 @@ export interface LoanApplicationRequest {
3318
3533
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3319
3534
  /** @format uuid */
3320
3535
  draftId?: string | null;
3321
- additionalFields?: Record<string, any> | null;
3536
+ additionalFields?: Record<string, any>;
3322
3537
  /** @format uuid */
3323
3538
  existingLoanId?: string | null;
3324
3539
  }
@@ -3338,7 +3553,7 @@ export interface LoanBorrower {
3338
3553
  citizenship?: LoanCitizenship | null;
3339
3554
  maritalStatus?: LoanMaritalStatus | null;
3340
3555
  languagePreference?: LoanLanguagePreference | null;
3341
- applicationStatus: LoanBorrowerApplicationStatusEnum;
3556
+ applicationStatus: "Draft" | "Complete";
3342
3557
  /** @format int32 */
3343
3558
  numberOfDependents?: number | null;
3344
3559
  /** @format int32 */
@@ -4144,7 +4359,7 @@ export interface LoanConsentRequest {
4144
4359
  borrowerEConsent?: boolean | null;
4145
4360
  borrowerCreditAuth?: boolean | null;
4146
4361
  borrowerTCPAOptIn?: boolean | null;
4147
- additionalFields?: Record<string, string> | null;
4362
+ additionalFields?: Record<string, string>;
4148
4363
  }
4149
4364
 
4150
4365
  export interface LoanContact {
@@ -4163,7 +4378,20 @@ export interface LoanContact {
4163
4378
  email?: string | null;
4164
4379
  phone?: string | null;
4165
4380
  companyName?: string | null;
4166
- role: LoanContactRoleEnum;
4381
+ role:
4382
+ | "Borrower"
4383
+ | "CoBorrower"
4384
+ | "NonBorrower"
4385
+ | "LoanOfficer"
4386
+ | "LoanProcessor"
4387
+ | "LoanOfficerAssistant"
4388
+ | "SupportingLoanOfficer"
4389
+ | "BuyerAgent"
4390
+ | "SellerAgent"
4391
+ | "TitleInsuranceAgent"
4392
+ | "EscrowAgent"
4393
+ | "SettlementAgent"
4394
+ | "Admin";
4167
4395
  }
4168
4396
 
4169
4397
  export interface LoanContactList {
@@ -4188,7 +4416,7 @@ export interface LoanCostDetails {
4188
4416
  }
4189
4417
 
4190
4418
  export interface LoanCustomFieldsRequest {
4191
- additionalFields?: Record<string, string> | null;
4419
+ additionalFields?: Record<string, string>;
4192
4420
  }
4193
4421
 
4194
4422
  export interface LoanDocument {
@@ -4249,15 +4477,41 @@ export interface LoanDocumentFolderPermission {
4249
4477
  id: string;
4250
4478
  /** @format uuid */
4251
4479
  loanDocumentFolderID: string;
4252
- role: LoanDocumentFolderPermissionRoleEnum;
4253
- level: LoanDocumentFolderPermissionLevelEnum;
4254
- readScope: LoanDocumentFolderPermissionReadScopeEnum;
4480
+ role:
4481
+ | "Borrower"
4482
+ | "CoBorrower"
4483
+ | "NonBorrower"
4484
+ | "LoanOfficer"
4485
+ | "LoanProcessor"
4486
+ | "LoanOfficerAssistant"
4487
+ | "SupportingLoanOfficer"
4488
+ | "BuyerAgent"
4489
+ | "SellerAgent"
4490
+ | "TitleInsuranceAgent"
4491
+ | "EscrowAgent"
4492
+ | "SettlementAgent"
4493
+ | "Admin";
4494
+ level: "None" | "Read" | "Write" | "Manage";
4495
+ readScope: "Own" | "All";
4255
4496
  }
4256
4497
 
4257
4498
  export interface LoanDocumentFolderPermissionRequest {
4258
- role: LoanDocumentFolderPermissionRequestRoleEnum;
4259
- level: LoanDocumentFolderPermissionRequestLevelEnum;
4260
- readScope: LoanDocumentFolderPermissionRequestReadScopeEnum;
4499
+ role:
4500
+ | "Borrower"
4501
+ | "CoBorrower"
4502
+ | "NonBorrower"
4503
+ | "LoanOfficer"
4504
+ | "LoanProcessor"
4505
+ | "LoanOfficerAssistant"
4506
+ | "SupportingLoanOfficer"
4507
+ | "BuyerAgent"
4508
+ | "SellerAgent"
4509
+ | "TitleInsuranceAgent"
4510
+ | "EscrowAgent"
4511
+ | "SettlementAgent"
4512
+ | "Admin";
4513
+ level: "None" | "Read" | "Write" | "Manage";
4514
+ readScope: "Own" | "All";
4261
4515
  }
4262
4516
 
4263
4517
  export interface LoanDocumentFolderSearchCriteria {
@@ -4432,14 +4686,19 @@ export interface LoanImport {
4432
4686
  /** @format int32 */
4433
4687
  importedCount: number;
4434
4688
  statusMessage?: string | null;
4435
- status: LoanImportStatusEnum;
4436
- importMode: LoanImportImportModeEnum;
4689
+ status:
4690
+ | "WaitingProcess"
4691
+ | "InProgress"
4692
+ | "Completed"
4693
+ | "Failed"
4694
+ | "Cancelled";
4695
+ importMode: "All" | "NewOnly" | "UpdateOnly";
4437
4696
  /** @format date-time */
4438
4697
  createdAt?: string | null;
4439
4698
  }
4440
4699
 
4441
4700
  export interface LoanImportLog {
4442
- level: LoanImportLogLevelEnum;
4701
+ level: "None" | "Info" | "Warning" | "Error";
4443
4702
  message: string;
4444
4703
  /** @format date-time */
4445
4704
  createdAt: string;
@@ -4500,8 +4759,26 @@ export interface LoanListPaginated {
4500
4759
  export interface LoanLog {
4501
4760
  /** @format uuid */
4502
4761
  id: string;
4503
- level: LoanLogLevelEnum;
4504
- type: LoanLogTypeEnum;
4762
+ level: "None" | "Info" | "Warning" | "Error";
4763
+ type:
4764
+ | "Loan"
4765
+ | "Queue"
4766
+ | "POSFlagChanged"
4767
+ | "Verification"
4768
+ | "DocumentUploaded"
4769
+ | "LoanCreated"
4770
+ | "WorkflowSubmitted"
4771
+ | "UserInvitationSent"
4772
+ | "CoBorrowerAdded"
4773
+ | "TaskCompleted"
4774
+ | "LoanStatusChanged"
4775
+ | "Consent"
4776
+ | "SensitiveDataPurge"
4777
+ | "ClosingDateUpdated"
4778
+ | "ConsumerConnectAssociation"
4779
+ | "TaskReminderSent"
4780
+ | "DocumentClassified"
4781
+ | "CoBorrowerEmailAutoFixed";
4505
4782
  message: string;
4506
4783
  /** @format date-time */
4507
4784
  createdAt: string;
@@ -4510,8 +4787,26 @@ export interface LoanLog {
4510
4787
  export interface LoanLogDetail {
4511
4788
  /** @format uuid */
4512
4789
  id: string;
4513
- level: LoanLogDetailLevelEnum;
4514
- type: LoanLogDetailTypeEnum;
4790
+ level: "None" | "Info" | "Warning" | "Error";
4791
+ type:
4792
+ | "Loan"
4793
+ | "Queue"
4794
+ | "POSFlagChanged"
4795
+ | "Verification"
4796
+ | "DocumentUploaded"
4797
+ | "LoanCreated"
4798
+ | "WorkflowSubmitted"
4799
+ | "UserInvitationSent"
4800
+ | "CoBorrowerAdded"
4801
+ | "TaskCompleted"
4802
+ | "LoanStatusChanged"
4803
+ | "Consent"
4804
+ | "SensitiveDataPurge"
4805
+ | "ClosingDateUpdated"
4806
+ | "ConsumerConnectAssociation"
4807
+ | "TaskReminderSent"
4808
+ | "DocumentClassified"
4809
+ | "CoBorrowerEmailAutoFixed";
4515
4810
  message: string;
4516
4811
  /** @format date-time */
4517
4812
  createdAt: string;
@@ -4795,7 +5090,7 @@ export interface LoanQueueWithData {
4795
5090
  user: UserPublic;
4796
5091
  loanOfficer: LoanOfficerPublic;
4797
5092
  siteConfiguration: SiteConfigurationReduced;
4798
- data?: any | null;
5093
+ data?: any;
4799
5094
  }
4800
5095
 
4801
5096
  export interface LoanRecord {
@@ -4831,7 +5126,7 @@ export interface LoanTaskSearchRequest {
4831
5126
  }
4832
5127
 
4833
5128
  export interface LoanTaskStatusSummary {
4834
- status: LoanTaskStatusSummaryStatusEnum;
5129
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4835
5130
  /** @format int32 */
4836
5131
  count: number;
4837
5132
  }
@@ -4844,7 +5139,20 @@ export interface LoanUser {
4844
5139
  email: string;
4845
5140
  phone?: string | null;
4846
5141
  role: string;
4847
- loanRole: LoanUserLoanRoleEnum;
5142
+ loanRole:
5143
+ | "Borrower"
5144
+ | "CoBorrower"
5145
+ | "NonBorrower"
5146
+ | "LoanOfficer"
5147
+ | "LoanProcessor"
5148
+ | "LoanOfficerAssistant"
5149
+ | "SupportingLoanOfficer"
5150
+ | "BuyerAgent"
5151
+ | "SellerAgent"
5152
+ | "TitleInsuranceAgent"
5153
+ | "EscrowAgent"
5154
+ | "SettlementAgent"
5155
+ | "Admin";
4848
5156
  isUser: boolean;
4849
5157
  /** @format date-time */
4850
5158
  createdAt: string;
@@ -4853,7 +5161,13 @@ export interface LoanUser {
4853
5161
  export interface LosCredentialHealth {
4854
5162
  /** @format uuid */
4855
5163
  accountId: string;
4856
- status: LosCredentialHealthStatusEnum;
5164
+ status:
5165
+ | "Unknown"
5166
+ | "Healthy"
5167
+ | "InvalidCredentials"
5168
+ | "Forbidden"
5169
+ | "TransportError"
5170
+ | "NotConfigured";
4857
5171
  /** @format date-time */
4858
5172
  checkedAtUtc: string;
4859
5173
  message: string;
@@ -4872,8 +5186,8 @@ export interface LosIntegration {
4872
5186
  accountId: string;
4873
5187
  accountName?: string | null;
4874
5188
  instanceID: string;
4875
- encompassEnvironment: LosIntegrationEncompassEnvironmentEnum;
4876
- signingMethod: LosIntegrationSigningMethodEnum;
5189
+ encompassEnvironment: "Production" | "UAT";
5190
+ signingMethod: "ConsumerConnect" | "POSF";
4877
5191
  consumerConnectWidgetHost?: string | null;
4878
5192
  defaultLoanOfficerUserName?: string | null;
4879
5193
  loanTemplate?: string | null;
@@ -4892,8 +5206,8 @@ export interface LosIntegrationCredentials {
4892
5206
  /** @format uuid */
4893
5207
  accountID: string;
4894
5208
  instanceID: string;
4895
- encompassEnvironment: LosIntegrationCredentialsEncompassEnvironmentEnum;
4896
- signingMethod: LosIntegrationCredentialsSigningMethodEnum;
5209
+ encompassEnvironment: "Production" | "UAT";
5210
+ signingMethod: "ConsumerConnect" | "POSF";
4897
5211
  consumerConnectWidgetHost?: string | null;
4898
5212
  defaultLoanOfficerUserName?: string | null;
4899
5213
  loanTemplate?: string | null;
@@ -4961,7 +5275,13 @@ export interface LosOperationTracking {
4961
5275
  operationType: string;
4962
5276
  correlationKey: string;
4963
5277
  lastTriggerSource?: string | null;
4964
- status: LosOperationTrackingStatusEnum;
5278
+ status:
5279
+ | "Pending"
5280
+ | "Success"
5281
+ | "Failed"
5282
+ | "ConfigurationError"
5283
+ | "PermanentFailure"
5284
+ | "Locked";
4965
5285
  /** @format date-time */
4966
5286
  createdAt: string;
4967
5287
  /** @format date-time */
@@ -5055,7 +5375,7 @@ export interface LosSyncStep {
5055
5375
  /** @format int32 */
5056
5376
  order: number;
5057
5377
  name: string;
5058
- severity: LosSyncStepSeverityEnum;
5378
+ severity: "Success" | "Info" | "Warning" | "Error";
5059
5379
  message: string;
5060
5380
  /** @format date-time */
5061
5381
  atUtc: string;
@@ -5078,13 +5398,13 @@ export interface LosWebhookEntry {
5078
5398
  /** @format uuid */
5079
5399
  subscriptionId?: string | null;
5080
5400
  enableSubscription?: boolean | null;
5081
- status: LosWebhookEntryStatusEnum;
5401
+ status: "Registered" | "Disabled" | "Missing" | "Extra";
5082
5402
  }
5083
5403
 
5084
5404
  export interface LosWebhookInventory {
5085
5405
  /** @format uuid */
5086
5406
  accountId: string;
5087
- overallStatus: LosWebhookInventoryOverallStatusEnum;
5407
+ overallStatus: "Unknown" | "Healthy" | "Disabled" | "Missing";
5088
5408
  entries: LosWebhookEntry[];
5089
5409
  /** @format int32 */
5090
5410
  missingCount: number;
@@ -5094,7 +5414,71 @@ export interface LosWebhookInventory {
5094
5414
  }
5095
5415
 
5096
5416
  export interface ManualDocumentClassificationRequest {
5097
- documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5417
+ documentType:
5418
+ | "W2"
5419
+ | "Paystub"
5420
+ | "Form1099"
5421
+ | "Form1099Int"
5422
+ | "Form1099Misc"
5423
+ | "Form1099Nec"
5424
+ | "Form1099R"
5425
+ | "Form1099G"
5426
+ | "Form1099Div"
5427
+ | "Form1099Ssa"
5428
+ | "FederalTaxReturn1040"
5429
+ | "TaxReturnScheduleC"
5430
+ | "TaxReturnScheduleD"
5431
+ | "TaxReturnScheduleE"
5432
+ | "Form1065"
5433
+ | "Form1120"
5434
+ | "Form1120S"
5435
+ | "ProfitAndLossStatement"
5436
+ | "VerificationOfEmployment"
5437
+ | "BankStatement"
5438
+ | "InvestmentStatement"
5439
+ | "CreditCardStatement"
5440
+ | "MortgageStatement"
5441
+ | "PayoffStatement"
5442
+ | "HoaDocuments"
5443
+ | "UtilityBill"
5444
+ | "IdentityDocument"
5445
+ | "DemographicAddendum"
5446
+ | "Ssa89"
5447
+ | "Vba260551"
5448
+ | "Hud92900B"
5449
+ | "Check"
5450
+ | "Invoice"
5451
+ | "Receipt"
5452
+ | "LoanApplication1003"
5453
+ | "UnderwritingTransmittal1008"
5454
+ | "Other"
5455
+ | "SalesContract"
5456
+ | "TitleCommitment"
5457
+ | "DriversLicense"
5458
+ | "VerificationOfIncome"
5459
+ | "VerificationOfAssets"
5460
+ | "FloodCertificate"
5461
+ | "FraudReport"
5462
+ | "AddendumToSalesContract"
5463
+ | "GiftLetter"
5464
+ | "CpaLetter"
5465
+ | "TaxBill"
5466
+ | "CondoQuestionnaire"
5467
+ | "CondoBudget"
5468
+ | "CondoBylaws"
5469
+ | "RentalAgreements"
5470
+ | "Lease"
5471
+ | "HazardInsurance"
5472
+ | "VaCertificateOfEligibility"
5473
+ | "Appraisal"
5474
+ | "CreditReport"
5475
+ | "CondoMasterPolicy"
5476
+ | "EConsent"
5477
+ | "CreditAuthorization"
5478
+ | "TextOptIn"
5479
+ | "LoanComparison"
5480
+ | "AiGeneratedDocument"
5481
+ | "Unidentified";
5098
5482
  }
5099
5483
 
5100
5484
  export interface MdmUser {
@@ -5185,7 +5569,7 @@ export interface ModuleParameterValue {
5185
5569
  parameterID: string;
5186
5570
  parameterName: string;
5187
5571
  parameterType: string;
5188
- value?: any | null;
5572
+ value?: any;
5189
5573
  isInherited: boolean;
5190
5574
  }
5191
5575
 
@@ -5371,7 +5755,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5371
5755
 
5372
5756
  export interface Operation {
5373
5757
  op?: string;
5374
- value?: object | null;
5758
+ value?: string | number | boolean | null | object;
5375
5759
  path?: string;
5376
5760
  }
5377
5761
 
@@ -5743,7 +6127,7 @@ export interface SiteConfiguration {
5743
6127
  deletedAt?: string | null;
5744
6128
  /** @format uuid */
5745
6129
  id: string;
5746
- type: SiteConfigurationTypeEnum;
6130
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5747
6131
  /** @format uuid */
5748
6132
  entityID: string;
5749
6133
  /** @format int32 */
@@ -5938,7 +6322,7 @@ export interface SiteConfigurationByUrl {
5938
6322
  deletedAt?: string | null;
5939
6323
  /** @format uuid */
5940
6324
  id: string;
5941
- type: SiteConfigurationByUrlTypeEnum;
6325
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5942
6326
  /** @format uuid */
5943
6327
  entityID: string;
5944
6328
  /** @format int32 */
@@ -6151,7 +6535,7 @@ export interface SiteConfigurationForm {
6151
6535
  export interface SiteConfigurationReduced {
6152
6536
  /** @format uuid */
6153
6537
  id: string;
6154
- type: SiteConfigurationReducedTypeEnum;
6538
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6155
6539
  url?: string | null;
6156
6540
  name: string;
6157
6541
  /** @format int64 */
@@ -6169,7 +6553,7 @@ export interface SiteConfigurationRequest {
6169
6553
  entityID: string;
6170
6554
  /** @format int32 */
6171
6555
  entityType: number;
6172
- type: SiteConfigurationRequestTypeEnum;
6556
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6173
6557
  url: string;
6174
6558
  name: string;
6175
6559
  introduction?: string | null;
@@ -6347,7 +6731,7 @@ export interface SiteConfigurationSearchCriteria {
6347
6731
  export interface SiteConfigurationSummary {
6348
6732
  /** @format uuid */
6349
6733
  id: string;
6350
- type: SiteConfigurationSummaryTypeEnum;
6734
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6351
6735
  url?: string | null;
6352
6736
  name: string;
6353
6737
  /** @format int64 */
@@ -6386,7 +6770,7 @@ export interface SiteTile {
6386
6770
  title: string;
6387
6771
  description: string;
6388
6772
  linkUrl: string;
6389
- linkTarget: SiteTileLinkTargetEnum;
6773
+ linkTarget: "Self" | "Blank";
6390
6774
  siteTypes: SiteConfigurationType[];
6391
6775
  locationAudiences: SiteTileLocationAudience[];
6392
6776
  /** @format int32 */
@@ -6399,12 +6783,12 @@ export interface SiteTile {
6399
6783
  }
6400
6784
 
6401
6785
  export interface SiteTileLocationAudience {
6402
- location: SiteTileLocationAudienceLocationEnum;
6786
+ location: "HomePage" | "Dashboard";
6403
6787
  audience: UserRole[];
6404
6788
  }
6405
6789
 
6406
6790
  export interface SiteTileLocationAudienceRequest {
6407
- location: SiteTileLocationAudienceRequestLocationEnum;
6791
+ location: "HomePage" | "Dashboard";
6408
6792
  audience: UserRole[];
6409
6793
  }
6410
6794
 
@@ -6422,7 +6806,7 @@ export interface SiteTileRequest {
6422
6806
  title: string;
6423
6807
  description: string;
6424
6808
  linkUrl: string;
6425
- linkTarget: SiteTileRequestLinkTargetEnum;
6809
+ linkTarget: "Self" | "Blank";
6426
6810
  siteTypes: SiteConfigurationType[];
6427
6811
  locationAudiences: SiteTileLocationAudienceRequest[];
6428
6812
  /** @format int32 */
@@ -6445,7 +6829,7 @@ export interface SiteTileView {
6445
6829
  title: string;
6446
6830
  description: string;
6447
6831
  linkUrl: string;
6448
- linkTarget: SiteTileViewLinkTargetEnum;
6832
+ linkTarget: "Self" | "Blank";
6449
6833
  /** @format int32 */
6450
6834
  weight: number;
6451
6835
  }
@@ -6701,7 +7085,20 @@ export interface UnregisteredBorrower {
6701
7085
  lastName?: string | null;
6702
7086
  fullName?: string | null;
6703
7087
  email?: string | null;
6704
- role: UnregisteredBorrowerRoleEnum;
7088
+ role:
7089
+ | "Borrower"
7090
+ | "CoBorrower"
7091
+ | "NonBorrower"
7092
+ | "LoanOfficer"
7093
+ | "LoanProcessor"
7094
+ | "LoanOfficerAssistant"
7095
+ | "SupportingLoanOfficer"
7096
+ | "BuyerAgent"
7097
+ | "SellerAgent"
7098
+ | "TitleInsuranceAgent"
7099
+ | "EscrowAgent"
7100
+ | "SettlementAgent"
7101
+ | "Admin";
6705
7102
  }
6706
7103
 
6707
7104
  export interface UpdateAccountRequest {
@@ -6729,7 +7126,7 @@ export interface UpdateAiCanonicalFieldRequest {
6729
7126
 
6730
7127
  export interface UpdateAiGuardrailRequest {
6731
7128
  name: string;
6732
- category: UpdateAiGuardrailRequestCategoryEnum;
7129
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6733
7130
  description?: string | null;
6734
7131
  keywords: string[];
6735
7132
  responseTemplate: string;
@@ -6766,8 +7163,8 @@ export interface UpdateAiUrlSourceRequest {
6766
7163
  name: string;
6767
7164
  url: string;
6768
7165
  description?: string | null;
6769
- category: UpdateAiUrlSourceRequestCategoryEnum;
6770
- scope: UpdateAiUrlSourceRequestScopeEnum;
7166
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
7167
+ scope: "FullDomain" | "SpecificPath";
6771
7168
  }
6772
7169
 
6773
7170
  export interface UpdateCompanyDocumentFolderRequest {
@@ -7099,7 +7496,20 @@ export interface UserDevice {
7099
7496
  export interface UserDraft {
7100
7497
  /** @format uuid */
7101
7498
  draftID: string;
7102
- role: UserDraftRoleEnum;
7499
+ role:
7500
+ | "Borrower"
7501
+ | "CoBorrower"
7502
+ | "NonBorrower"
7503
+ | "LoanOfficer"
7504
+ | "LoanProcessor"
7505
+ | "LoanOfficerAssistant"
7506
+ | "SupportingLoanOfficer"
7507
+ | "BuyerAgent"
7508
+ | "SellerAgent"
7509
+ | "TitleInsuranceAgent"
7510
+ | "EscrowAgent"
7511
+ | "SettlementAgent"
7512
+ | "Admin";
7103
7513
  user: User;
7104
7514
  }
7105
7515
 
@@ -7126,7 +7536,7 @@ export interface UserGroupAccessScope {
7126
7536
  id: string;
7127
7537
  /** @format uuid */
7128
7538
  groupId: string;
7129
- scopeType: UserGroupAccessScopeScopeTypeEnum;
7539
+ scopeType: "User" | "Branch";
7130
7540
  /** @format uuid */
7131
7541
  userId?: string | null;
7132
7542
  /** @format uuid */
@@ -7151,7 +7561,16 @@ export interface UserGroupMemberUserSummary {
7151
7561
  id: string;
7152
7562
  name?: string | null;
7153
7563
  email?: string | null;
7154
- role: UserGroupMemberUserSummaryRoleEnum;
7564
+ role:
7565
+ | "Borrower"
7566
+ | "LoanOfficer"
7567
+ | "Admin"
7568
+ | "SuperAdmin"
7569
+ | "Realtor"
7570
+ | "SettlementAgent"
7571
+ | "LoanProcessor"
7572
+ | "LoanOfficerAssistant"
7573
+ | "SystemAdmin";
7155
7574
  }
7156
7575
 
7157
7576
  export interface UserGroupPaginated {
@@ -7170,7 +7589,20 @@ export interface UserLoan {
7170
7589
  deletedAt?: string | null;
7171
7590
  loanID: string;
7172
7591
  user: User;
7173
- role: UserLoanRoleEnum;
7592
+ role:
7593
+ | "Borrower"
7594
+ | "CoBorrower"
7595
+ | "NonBorrower"
7596
+ | "LoanOfficer"
7597
+ | "LoanProcessor"
7598
+ | "LoanOfficerAssistant"
7599
+ | "SupportingLoanOfficer"
7600
+ | "BuyerAgent"
7601
+ | "SellerAgent"
7602
+ | "TitleInsuranceAgent"
7603
+ | "EscrowAgent"
7604
+ | "SettlementAgent"
7605
+ | "Admin";
7174
7606
  /** @format int32 */
7175
7607
  borrowerPair?: number | null;
7176
7608
  /** @format int32 */
@@ -7178,972 +7610,208 @@ export interface UserLoan {
7178
7610
  consents: UserLoanConsent[];
7179
7611
  }
7180
7612
 
7181
- export interface UserLoanConsent {
7182
- /** @format uuid */
7183
- id: string;
7184
- /** @format uuid */
7185
- userLoanID: string;
7186
- type: UserLoanConsentTypeEnum;
7187
- providedConsent: boolean;
7188
- source?: ConsentSource | null;
7189
- ipAddress?: string | null;
7190
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7191
- /** @format date-time */
7192
- createdAt: string;
7193
- /** @format date-time */
7194
- updatedAt?: string | null;
7195
- /** @format date-time */
7196
- deletedAt?: string | null;
7197
- }
7198
-
7199
- export interface UserLoanTask {
7200
- /** @format uuid */
7201
- id: string;
7202
- status: string;
7203
- /** @format date-time */
7204
- statusChangedDate?: string | null;
7205
- task: Task;
7206
- user: User;
7207
- value?: string | null;
7208
- documents: LoanDocument[];
7209
- loan: LoanIdentifier;
7210
- loanID: string;
7211
- /** @format date-time */
7212
- completedDate?: string | null;
7213
- /** @format date-time */
7214
- createdAt: string;
7215
- createdBy: User;
7216
- submittedBy?: User | null;
7217
- completedBy?: User | null;
7218
- /** @format int32 */
7219
- commentsCount: number;
7220
- }
7221
-
7222
- export interface UserLoanTaskPaginated {
7223
- rows: UserLoanTask[];
7224
- pagination: Pagination;
7225
- /** @format int64 */
7226
- count: number;
7227
- }
7228
-
7229
- export interface UserLoanTaskRequest {
7230
- value?: string | null;
7231
- /** @format uuid */
7232
- userID: string;
7233
- }
7234
-
7235
- export interface UserLoanTaskUpdateRequest {
7236
- status?: string | null;
7237
- value?: string | null;
7238
- }
7239
-
7240
- export interface UserMobilePhoneVerificationRequest {
7241
- code: string;
7242
- }
7243
-
7244
- export interface UserNotificationSettings {
7245
- emailEnabled: boolean;
7246
- textEnabled: boolean;
7247
- textOptIn?: boolean | null;
7248
- pushEnabled: boolean;
7249
- }
7250
-
7251
- export interface UserNotificationSettingsUpdateRequest {
7252
- emailEnabled: boolean;
7253
- textEnabled: boolean;
7254
- textOptIn?: boolean | null;
7255
- pushEnabled: boolean;
7256
- }
7257
-
7258
- export interface UserPaginated {
7259
- rows: User[];
7260
- pagination: Pagination;
7261
- /** @format int64 */
7262
- count: number;
7263
- }
7264
-
7265
- export interface UserPublic {
7266
- /** @format uuid */
7267
- id: string;
7268
- role: string;
7269
- firstName: string;
7270
- lastName: string;
7271
- email: string;
7272
- phone?: string | null;
7273
- title?: string | null;
7274
- }
7275
-
7276
- export interface UserReactivationCompleteRequest {
7277
- /** @format uuid */
7278
- token: string;
7279
- /** @minLength 8 */
7280
- newPassword: string;
7281
- }
7282
-
7283
- export interface UserReactivationRequest {
7284
- /**
7285
- * @format email
7286
- * @minLength 1
7287
- */
7288
- email: string;
7289
- /** @format uuid */
7290
- siteConfigurationId: string;
7291
- }
7292
-
7293
- export interface UserRelation {
7294
- /** @format uuid */
7295
- userId1: string;
7296
- /** @format uuid */
7297
- userId2: string;
7298
- relationType: string;
7299
- /** @format uuid */
7300
- id: string;
7301
- user1Email: string;
7302
- user1Role: string;
7303
- user2Email: string;
7304
- user2Role: string;
7305
- }
7306
-
7307
- export interface UserRelationship {
7308
- /** @format uuid */
7309
- id: string;
7310
- role: string;
7311
- firstName?: string | null;
7312
- lastName?: string | null;
7313
- email?: string | null;
7314
- phone?: string | null;
7315
- siteConfigurations: SiteConfigurationReduced[];
7316
- /** @format date-time */
7317
- createdAt?: string | null;
7318
- /** @format date-time */
7319
- deletedAt?: string | null;
7320
- }
7321
-
7322
- export interface UserRelationshipProspect {
7323
- /** @format uuid */
7324
- id: string;
7325
- role: string;
7326
- firstName: string;
7327
- lastName: string;
7328
- email: string;
7329
- contactPhone?: string | null;
7330
- licenseNumber?: string | null;
7331
- /** @format uuid */
7332
- branchID: string;
7333
- companyName?: string | null;
7334
- /** @format date-time */
7335
- createdAt?: string | null;
7336
- /** @format date-time */
7337
- deletedAt?: string | null;
7338
- }
7339
-
7340
- export interface UserSearchCriteria {
7341
- searchText?: string | null;
7342
- isActive?: boolean | null;
7343
- roles?: string[] | null;
7344
- }
7345
-
7346
- export interface UserSummary {
7347
- /** @format uuid */
7348
- id: string;
7349
- firstName: string;
7350
- lastName: string;
7351
- }
7352
-
7353
- export interface VerifyEmailRequest {
7354
- token: string;
7355
- }
7356
-
7357
- export interface VerifyPasswordRequest {
7358
- email: string;
7359
- code: string;
7360
- password: string;
7361
- /** @format uuid */
7362
- siteConfigurationId?: string | null;
7363
- }
7364
-
7365
- export interface Workflow {
7366
- formType: string;
7367
- target: string;
7368
- authType: string;
7369
- name: string;
7370
- isDefault: boolean;
7371
- description: string;
7372
- slug: string;
7373
- status: string;
7374
- userRole: string;
7375
- borrowerType: string;
7376
- showProgressBar: boolean;
7377
- showTile: boolean;
7378
- tileLocation: string;
7379
- tileText: string;
7380
- tileSubtitle: string;
7381
- icon: string;
7382
- }
7383
-
7384
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7385
-
7386
- export type AiAuditLogEventTypeEnum =
7387
- | "Error"
7388
- | "GuardrailBlockedPre"
7389
- | "GuardrailPassedPre"
7390
- | "IntentClassified"
7391
- | "LoanResolvedFromMessage"
7392
- | "DocumentNotFound"
7393
- | "GuardrailBlockedPost"
7394
- | "GuardrailPassedPost"
7395
- | "DocumentAnalyzed"
7396
- | "DocumentList"
7397
- | "DocumentResolutionAmbiguous"
7398
- | "ResponseGenerated"
7399
- | "ParametersExtracted"
7400
- | "QueryExecuted"
7401
- | "LoanContextNotFound"
7402
- | "LoanContextLoaded"
7403
- | "GuardrailBlockedBedrock"
7404
- | "PromptMatched"
7405
- | "QueryCondensed"
7406
- | "IntentParseFailed"
7407
- | "LoanSearchTermDiscarded"
7408
- | "CanonicalFieldsSelected"
7409
- | "LoanAccessDenied"
7410
- | "AgentModelCall"
7411
- | "AgentToolCallRequested"
7412
- | "AgentToolCallCompleted"
7413
- | "AgentToolCallFailed"
7414
- | "AgentLoopLimitReached"
7415
- | "RequestCancelled"
7416
- | "KnowledgeBaseRetrieved";
7417
-
7418
- export type AiChatMetadataIntentEnum =
7419
- | "Greeting"
7420
- | "Invalid"
7421
- | "Relevant"
7422
- | "LoanSpecific"
7423
- | "DocumentList"
7424
- | "GeneralKnowledge"
7425
- | "Blocked"
7426
- | "Action"
7427
- | "ConversationMeta"
7428
- | "Capabilities"
7429
- | "UsageReport";
7430
-
7431
- export type AiChatStructuredDataTypeEnum =
7432
- | "Table"
7433
- | "DocumentAnalysis"
7434
- | "DocumentList"
7435
- | "GeneratedDocument"
7436
- | "CitedPassages";
7437
-
7438
- export type AiGuardrailCategoryEnum =
7439
- | "ContentSafety"
7440
- | "PromptInjection"
7441
- | "Privacy"
7442
- | "Legal";
7443
-
7444
- export type AiUrlSourceCategoryEnum =
7445
- | "Regulatory"
7446
- | "Guidelines"
7447
- | "MarketData"
7448
- | "Custom";
7449
-
7450
- export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
7451
-
7452
- export type AuditLogEntryChangeTypeEnum =
7453
- | "Created"
7454
- | "Modified"
7455
- | "SoftDeleted"
7456
- | "HardDeleted"
7457
- | "Restored"
7458
- | "Deactivated"
7459
- | "Reactivated"
7460
- | "Accessed";
7461
-
7462
- export type BorrowerCountRoleEnum =
7463
- | "Borrower"
7464
- | "CoBorrower"
7465
- | "NonBorrower"
7466
- | "LoanOfficer"
7467
- | "LoanProcessor"
7468
- | "LoanOfficerAssistant"
7469
- | "SupportingLoanOfficer"
7470
- | "BuyerAgent"
7471
- | "SellerAgent"
7472
- | "TitleInsuranceAgent"
7473
- | "EscrowAgent"
7474
- | "SettlementAgent"
7475
- | "Admin";
7476
-
7477
- export type BorrowerIdentityRoleEnum =
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";
7491
-
7492
- export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
7493
-
7494
- export type CompanyDocumentIndexStatusEnum =
7495
- | "Uploaded"
7496
- | "Indexing"
7497
- | "Indexed"
7498
- | "Failed";
7499
-
7500
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
7501
-
7502
- export type CreateAccountRequestEnvironmentEnum =
7503
- | "Development"
7504
- | "Staging"
7505
- | "UAT"
7506
- | "Production";
7507
-
7508
- export type CreateAiGuardrailRequestCategoryEnum =
7509
- | "ContentSafety"
7510
- | "PromptInjection"
7511
- | "Privacy"
7512
- | "Legal";
7513
-
7514
- export type CreateAiUrlSourceRequestCategoryEnum =
7515
- | "Regulatory"
7516
- | "Guidelines"
7517
- | "MarketData"
7518
- | "Custom";
7519
-
7520
- export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7521
-
7522
- export type CreateCustomFieldDefinitionRequestDataTypeEnum =
7523
- | "String"
7524
- | "Number"
7525
- | "Decimal"
7526
- | "Boolean"
7527
- | "Date"
7528
- | "SingleSelect"
7529
- | "MultiSelect";
7530
-
7531
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
7532
-
7533
- export type CreateGroupMemberRequestLoanRoleEnum =
7534
- | "Borrower"
7535
- | "CoBorrower"
7536
- | "NonBorrower"
7537
- | "LoanOfficer"
7538
- | "LoanProcessor"
7539
- | "LoanOfficerAssistant"
7540
- | "SupportingLoanOfficer"
7541
- | "BuyerAgent"
7542
- | "SellerAgent"
7543
- | "TitleInsuranceAgent"
7544
- | "EscrowAgent"
7545
- | "SettlementAgent"
7546
- | "Admin";
7547
-
7548
- /** @deprecated */
7549
- export type CreateInviteRequestRelationshipEnum =
7550
- | "NotApplicable"
7551
- | "Spouse"
7552
- | "NonSpouse";
7553
-
7554
- export type CreateLoanImportRequestImportModeEnum =
7555
- | "All"
7556
- | "NewOnly"
7557
- | "UpdateOnly";
7558
-
7559
- export type CreateUserDraftLoanRoleEnum =
7560
- | "Borrower"
7561
- | "CoBorrower"
7562
- | "NonBorrower"
7563
- | "LoanOfficer"
7564
- | "LoanProcessor"
7565
- | "LoanOfficerAssistant"
7566
- | "SupportingLoanOfficer"
7567
- | "BuyerAgent"
7568
- | "SellerAgent"
7569
- | "TitleInsuranceAgent"
7570
- | "EscrowAgent"
7571
- | "SettlementAgent"
7572
- | "Admin";
7573
-
7574
- export type CustomFieldDefinitionDataTypeEnum =
7575
- | "String"
7576
- | "Number"
7577
- | "Decimal"
7578
- | "Boolean"
7579
- | "Date"
7580
- | "SingleSelect"
7581
- | "MultiSelect";
7582
-
7583
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
7584
-
7585
- export type CustomFieldEntryDataTypeEnum =
7586
- | "String"
7587
- | "Number"
7588
- | "Decimal"
7589
- | "Boolean"
7590
- | "Date"
7591
- | "SingleSelect"
7592
- | "MultiSelect";
7593
-
7594
- export type CustomFieldPermissionRoleEnum =
7595
- | "Borrower"
7596
- | "LoanOfficer"
7597
- | "Admin"
7598
- | "SuperAdmin"
7599
- | "Realtor"
7600
- | "SettlementAgent"
7601
- | "LoanProcessor"
7602
- | "LoanOfficerAssistant"
7603
- | "SystemAdmin";
7604
-
7605
- export type CustomFieldPermissionAccessLevelEnum =
7606
- | "NoAccess"
7607
- | "ReadOnly"
7608
- | "ReadWrite";
7609
-
7610
- export type CustomFieldPermissionRequestRoleEnum =
7611
- | "Borrower"
7612
- | "LoanOfficer"
7613
- | "Admin"
7614
- | "SuperAdmin"
7615
- | "Realtor"
7616
- | "SettlementAgent"
7617
- | "LoanProcessor"
7618
- | "LoanOfficerAssistant"
7619
- | "SystemAdmin";
7620
-
7621
- export type CustomFieldPermissionRequestAccessLevelEnum =
7622
- | "NoAccess"
7623
- | "ReadOnly"
7624
- | "ReadWrite";
7625
-
7626
- export type CustomFieldValueDataTypeEnum =
7627
- | "String"
7628
- | "Number"
7629
- | "Decimal"
7630
- | "Boolean"
7631
- | "Date"
7632
- | "SingleSelect"
7633
- | "MultiSelect";
7634
-
7635
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
7636
-
7637
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
7638
-
7639
- export type EncompassCredentialsDetailEncompassEnvironmentEnum =
7640
- | "Production"
7641
- | "UAT";
7642
-
7643
- export type EncompassCredentialsDetailSigningMethodEnum =
7644
- | "ConsumerConnect"
7645
- | "POSF";
7646
-
7647
- export type EncompassCredentialsRequestEncompassEnvironmentEnum =
7648
- | "Production"
7649
- | "UAT";
7650
-
7651
- export type EncompassCredentialsRequestSigningMethodEnum =
7652
- | "ConsumerConnect"
7653
- | "POSF";
7654
-
7655
- export type EncompassRequestLogOperationTypeEnum =
7656
- | "FieldUpdate"
7657
- | "ConsentUpdate"
7658
- | "DocumentSync"
7659
- | "MilestoneUpdate"
7660
- | "DocumentAttachment"
7661
- | "General"
7662
- | "FieldReader"
7663
- | "Read";
7664
-
7665
- export type EncompassRequestLogOutcomeEnum =
7666
- | "Success"
7667
- | "Failure"
7668
- | "PartialSuccess";
7669
-
7670
- export type FusionReportFilterFilterTypeEnum =
7671
- | "DateGreaterThanOrEqualTo"
7672
- | "DateGreaterThan"
7673
- | "DateLessThan"
7674
- | "DateLessThanOrEqualTo"
7675
- | "DateEquals"
7676
- | "DateDoesntEqual"
7677
- | "DateNonEmpty"
7678
- | "DateEmpty"
7679
- | "StringContains"
7680
- | "StringEquals"
7681
- | "StringNotEmpty"
7682
- | "StringNotEquals"
7683
- | "StringNotContains";
7684
-
7685
- export type GenerateSystemPromptRequestCategoryEnum =
7686
- | "DocumentAnalysis"
7687
- | "DataQuery"
7688
- | "General"
7689
- | "Action";
7690
-
7691
- export type IpAddressAddressFamilyEnum =
7692
- | "Unspecified"
7693
- | "Unix"
7694
- | "InterNetwork"
7695
- | "ImpLink"
7696
- | "Pup"
7697
- | "Chaos"
7698
- | "NS"
7699
- | "Ipx"
7700
- | "Iso"
7701
- | "Osi"
7702
- | "Ecma"
7703
- | "DataKit"
7704
- | "Ccitt"
7705
- | "Sna"
7706
- | "DecNet"
7707
- | "DataLink"
7708
- | "Lat"
7709
- | "HyperChannel"
7710
- | "AppleTalk"
7711
- | "NetBios"
7712
- | "VoiceView"
7713
- | "FireFox"
7714
- | "Banyan"
7715
- | "Atm"
7716
- | "InterNetworkV6"
7717
- | "Cluster"
7718
- | "Ieee12844"
7719
- | "Irda"
7720
- | "NetworkDesigners"
7721
- | "Max"
7722
- | "Packet"
7723
- | "ControllerAreaNetwork"
7724
- | "Unknown";
7725
-
7726
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
7727
-
7728
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7729
-
7730
- export type LoanContactRoleEnum =
7731
- | "Borrower"
7732
- | "CoBorrower"
7733
- | "NonBorrower"
7734
- | "LoanOfficer"
7735
- | "LoanProcessor"
7736
- | "LoanOfficerAssistant"
7737
- | "SupportingLoanOfficer"
7738
- | "BuyerAgent"
7739
- | "SellerAgent"
7740
- | "TitleInsuranceAgent"
7741
- | "EscrowAgent"
7742
- | "SettlementAgent"
7743
- | "Admin";
7744
-
7745
- export type LoanDocumentFolderPermissionRoleEnum =
7746
- | "Borrower"
7747
- | "CoBorrower"
7748
- | "NonBorrower"
7749
- | "LoanOfficer"
7750
- | "LoanProcessor"
7751
- | "LoanOfficerAssistant"
7752
- | "SupportingLoanOfficer"
7753
- | "BuyerAgent"
7754
- | "SellerAgent"
7755
- | "TitleInsuranceAgent"
7756
- | "EscrowAgent"
7757
- | "SettlementAgent"
7758
- | "Admin";
7759
-
7760
- export type LoanDocumentFolderPermissionLevelEnum =
7761
- | "None"
7762
- | "Read"
7763
- | "Write"
7764
- | "Manage";
7765
-
7766
- export type LoanDocumentFolderPermissionReadScopeEnum = "Own" | "All";
7767
-
7768
- export type LoanDocumentFolderPermissionRequestRoleEnum =
7769
- | "Borrower"
7770
- | "CoBorrower"
7771
- | "NonBorrower"
7772
- | "LoanOfficer"
7773
- | "LoanProcessor"
7774
- | "LoanOfficerAssistant"
7775
- | "SupportingLoanOfficer"
7776
- | "BuyerAgent"
7777
- | "SellerAgent"
7778
- | "TitleInsuranceAgent"
7779
- | "EscrowAgent"
7780
- | "SettlementAgent"
7781
- | "Admin";
7782
-
7783
- export type LoanDocumentFolderPermissionRequestLevelEnum =
7784
- | "None"
7785
- | "Read"
7786
- | "Write"
7787
- | "Manage";
7788
-
7789
- export type LoanDocumentFolderPermissionRequestReadScopeEnum = "Own" | "All";
7790
-
7791
- export type LoanImportStatusEnum =
7792
- | "WaitingProcess"
7793
- | "InProgress"
7794
- | "Completed"
7795
- | "Failed"
7796
- | "Cancelled";
7797
-
7798
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
7799
-
7800
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7801
-
7802
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
7803
-
7804
- export type LoanLogTypeEnum =
7805
- | "Loan"
7806
- | "Queue"
7807
- | "POSFlagChanged"
7808
- | "Verification"
7809
- | "DocumentUploaded"
7810
- | "LoanCreated"
7811
- | "WorkflowSubmitted"
7812
- | "UserInvitationSent"
7813
- | "CoBorrowerAdded"
7814
- | "TaskCompleted"
7815
- | "LoanStatusChanged"
7816
- | "Consent"
7817
- | "SensitiveDataPurge"
7818
- | "ClosingDateUpdated"
7819
- | "ConsumerConnectAssociation"
7820
- | "TaskReminderSent"
7821
- | "DocumentClassified"
7822
- | "CoBorrowerEmailAutoFixed";
7823
-
7824
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
7825
-
7826
- export type LoanLogDetailTypeEnum =
7827
- | "Loan"
7828
- | "Queue"
7829
- | "POSFlagChanged"
7830
- | "Verification"
7831
- | "DocumentUploaded"
7832
- | "LoanCreated"
7833
- | "WorkflowSubmitted"
7834
- | "UserInvitationSent"
7835
- | "CoBorrowerAdded"
7836
- | "TaskCompleted"
7837
- | "LoanStatusChanged"
7838
- | "Consent"
7839
- | "SensitiveDataPurge"
7840
- | "ClosingDateUpdated"
7841
- | "ConsumerConnectAssociation"
7842
- | "TaskReminderSent"
7843
- | "DocumentClassified"
7844
- | "CoBorrowerEmailAutoFixed";
7845
-
7846
- export type LoanTaskStatusSummaryStatusEnum =
7847
- | "Outstanding"
7848
- | "Pending"
7849
- | "Completed"
7850
- | "Rejected"
7851
- | "Unknown";
7852
-
7853
- export type LoanUserLoanRoleEnum =
7854
- | "Borrower"
7855
- | "CoBorrower"
7856
- | "NonBorrower"
7857
- | "LoanOfficer"
7858
- | "LoanProcessor"
7859
- | "LoanOfficerAssistant"
7860
- | "SupportingLoanOfficer"
7861
- | "BuyerAgent"
7862
- | "SellerAgent"
7863
- | "TitleInsuranceAgent"
7864
- | "EscrowAgent"
7865
- | "SettlementAgent"
7866
- | "Admin";
7867
-
7868
- export type LosCredentialHealthStatusEnum =
7869
- | "Unknown"
7870
- | "Healthy"
7871
- | "InvalidCredentials"
7872
- | "Forbidden"
7873
- | "TransportError"
7874
- | "NotConfigured";
7875
-
7876
- export type LosIntegrationEncompassEnvironmentEnum = "Production" | "UAT";
7877
-
7878
- export type LosIntegrationSigningMethodEnum = "ConsumerConnect" | "POSF";
7879
-
7880
- export type LosIntegrationCredentialsEncompassEnvironmentEnum =
7881
- | "Production"
7882
- | "UAT";
7883
-
7884
- export type LosIntegrationCredentialsSigningMethodEnum =
7885
- | "ConsumerConnect"
7886
- | "POSF";
7887
-
7888
- export type LosOperationTrackingStatusEnum =
7889
- | "Pending"
7890
- | "Success"
7891
- | "Failed"
7892
- | "ConfigurationError"
7893
- | "PermanentFailure"
7894
- | "Locked";
7895
-
7896
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
7897
-
7898
- export type LosWebhookEntryStatusEnum =
7899
- | "Registered"
7900
- | "Disabled"
7901
- | "Missing"
7902
- | "Extra";
7903
-
7904
- export type LosWebhookInventoryOverallStatusEnum =
7905
- | "Unknown"
7906
- | "Healthy"
7907
- | "Disabled"
7908
- | "Missing";
7909
-
7910
- export type ManualDocumentClassificationRequestDocumentTypeEnum =
7911
- | "W2"
7912
- | "Paystub"
7913
- | "Form1099"
7914
- | "Form1099Int"
7915
- | "Form1099Misc"
7916
- | "Form1099Nec"
7917
- | "Form1099R"
7918
- | "Form1099G"
7919
- | "Form1099Div"
7920
- | "Form1099Ssa"
7921
- | "FederalTaxReturn1040"
7922
- | "TaxReturnScheduleC"
7923
- | "TaxReturnScheduleD"
7924
- | "TaxReturnScheduleE"
7925
- | "Form1065"
7926
- | "Form1120"
7927
- | "Form1120S"
7928
- | "ProfitAndLossStatement"
7929
- | "VerificationOfEmployment"
7930
- | "BankStatement"
7931
- | "InvestmentStatement"
7932
- | "CreditCardStatement"
7933
- | "MortgageStatement"
7934
- | "PayoffStatement"
7935
- | "HoaDocuments"
7936
- | "UtilityBill"
7937
- | "IdentityDocument"
7938
- | "DemographicAddendum"
7939
- | "Ssa89"
7940
- | "Vba260551"
7941
- | "Hud92900B"
7942
- | "Check"
7943
- | "Invoice"
7944
- | "Receipt"
7945
- | "LoanApplication1003"
7946
- | "UnderwritingTransmittal1008"
7947
- | "Other"
7948
- | "SalesContract"
7949
- | "TitleCommitment"
7950
- | "DriversLicense"
7951
- | "VerificationOfIncome"
7952
- | "VerificationOfAssets"
7953
- | "FloodCertificate"
7954
- | "FraudReport"
7955
- | "AddendumToSalesContract"
7956
- | "GiftLetter"
7957
- | "CpaLetter"
7958
- | "TaxBill"
7959
- | "CondoQuestionnaire"
7960
- | "CondoBudget"
7961
- | "CondoBylaws"
7962
- | "RentalAgreements"
7963
- | "Lease"
7964
- | "HazardInsurance"
7965
- | "VaCertificateOfEligibility"
7966
- | "Appraisal"
7967
- | "CreditReport"
7968
- | "CondoMasterPolicy"
7969
- | "EConsent"
7970
- | "CreditAuthorization"
7971
- | "TextOptIn"
7972
- | "LoanComparison"
7973
- | "AiGeneratedDocument"
7974
- | "Unidentified";
7975
-
7976
- export type SiteConfigurationTypeEnum =
7977
- | "None"
7978
- | "Account"
7979
- | "Corporate"
7980
- | "Branch"
7981
- | "LoanOfficer"
7982
- | "Partner";
7983
-
7984
- export type SiteConfigurationByUrlTypeEnum =
7985
- | "None"
7986
- | "Account"
7987
- | "Corporate"
7988
- | "Branch"
7989
- | "LoanOfficer"
7990
- | "Partner";
7991
-
7992
- export type SiteConfigurationReducedTypeEnum =
7993
- | "None"
7994
- | "Account"
7995
- | "Corporate"
7996
- | "Branch"
7997
- | "LoanOfficer"
7998
- | "Partner";
7999
-
8000
- export type SiteConfigurationRequestTypeEnum =
8001
- | "None"
8002
- | "Account"
8003
- | "Corporate"
8004
- | "Branch"
8005
- | "LoanOfficer"
8006
- | "Partner";
8007
-
8008
- export type SiteConfigurationSummaryTypeEnum =
8009
- | "None"
8010
- | "Account"
8011
- | "Corporate"
8012
- | "Branch"
8013
- | "LoanOfficer"
8014
- | "Partner";
8015
-
8016
- export type SiteTileLinkTargetEnum = "Self" | "Blank";
8017
-
8018
- export type SiteTileLocationAudienceLocationEnum = "HomePage" | "Dashboard";
8019
-
8020
- export type SiteTileLocationAudienceRequestLocationEnum =
8021
- | "HomePage"
8022
- | "Dashboard";
7613
+ export interface UserLoanConsent {
7614
+ /** @format uuid */
7615
+ id: string;
7616
+ /** @format uuid */
7617
+ userLoanID: string;
7618
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
7619
+ providedConsent: boolean;
7620
+ source?: ConsentSource | null;
7621
+ ipAddress?: string | null;
7622
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
7623
+ /** @format date-time */
7624
+ createdAt: string;
7625
+ /** @format date-time */
7626
+ updatedAt?: string | null;
7627
+ /** @format date-time */
7628
+ deletedAt?: string | null;
7629
+ }
8023
7630
 
8024
- export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
7631
+ export interface UserLoanTask {
7632
+ /** @format uuid */
7633
+ id: string;
7634
+ status: string;
7635
+ /** @format date-time */
7636
+ statusChangedDate?: string | null;
7637
+ task: Task;
7638
+ user: User;
7639
+ value?: string | null;
7640
+ documents: LoanDocument[];
7641
+ loan: LoanIdentifier;
7642
+ loanID: string;
7643
+ /** @format date-time */
7644
+ completedDate?: string | null;
7645
+ /** @format date-time */
7646
+ createdAt: string;
7647
+ createdBy: User;
7648
+ submittedBy?: User | null;
7649
+ completedBy?: User | null;
7650
+ /** @format int32 */
7651
+ commentsCount: number;
7652
+ }
8025
7653
 
8026
- export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
7654
+ export interface UserLoanTaskPaginated {
7655
+ rows: UserLoanTask[];
7656
+ pagination: Pagination;
7657
+ /** @format int64 */
7658
+ count: number;
7659
+ }
8027
7660
 
8028
- export type UnregisteredBorrowerRoleEnum =
8029
- | "Borrower"
8030
- | "CoBorrower"
8031
- | "NonBorrower"
8032
- | "LoanOfficer"
8033
- | "LoanProcessor"
8034
- | "LoanOfficerAssistant"
8035
- | "SupportingLoanOfficer"
8036
- | "BuyerAgent"
8037
- | "SellerAgent"
8038
- | "TitleInsuranceAgent"
8039
- | "EscrowAgent"
8040
- | "SettlementAgent"
8041
- | "Admin";
7661
+ export interface UserLoanTaskRequest {
7662
+ value?: string | null;
7663
+ /** @format uuid */
7664
+ userID: string;
7665
+ }
8042
7666
 
8043
- export type UpdateAiGuardrailRequestCategoryEnum =
8044
- | "ContentSafety"
8045
- | "PromptInjection"
8046
- | "Privacy"
8047
- | "Legal";
7667
+ export interface UserLoanTaskUpdateRequest {
7668
+ status?: string | null;
7669
+ value?: string | null;
7670
+ }
8048
7671
 
8049
- export type UpdateAiUrlSourceRequestCategoryEnum =
8050
- | "Regulatory"
8051
- | "Guidelines"
8052
- | "MarketData"
8053
- | "Custom";
7672
+ export interface UserMobilePhoneVerificationRequest {
7673
+ code: string;
7674
+ }
8054
7675
 
8055
- export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7676
+ export interface UserNotificationSettings {
7677
+ emailEnabled: boolean;
7678
+ textEnabled: boolean;
7679
+ textOptIn?: boolean | null;
7680
+ pushEnabled: boolean;
7681
+ }
8056
7682
 
8057
- export type UserDraftRoleEnum =
8058
- | "Borrower"
8059
- | "CoBorrower"
8060
- | "NonBorrower"
8061
- | "LoanOfficer"
8062
- | "LoanProcessor"
8063
- | "LoanOfficerAssistant"
8064
- | "SupportingLoanOfficer"
8065
- | "BuyerAgent"
8066
- | "SellerAgent"
8067
- | "TitleInsuranceAgent"
8068
- | "EscrowAgent"
8069
- | "SettlementAgent"
8070
- | "Admin";
7683
+ export interface UserNotificationSettingsUpdateRequest {
7684
+ emailEnabled: boolean;
7685
+ textEnabled: boolean;
7686
+ textOptIn?: boolean | null;
7687
+ pushEnabled: boolean;
7688
+ }
8071
7689
 
8072
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7690
+ export interface UserPaginated {
7691
+ rows: User[];
7692
+ pagination: Pagination;
7693
+ /** @format int64 */
7694
+ count: number;
7695
+ }
8073
7696
 
8074
- export type UserGroupMemberUserSummaryRoleEnum =
8075
- | "Borrower"
8076
- | "LoanOfficer"
8077
- | "Admin"
8078
- | "SuperAdmin"
8079
- | "Realtor"
8080
- | "SettlementAgent"
8081
- | "LoanProcessor"
8082
- | "LoanOfficerAssistant"
8083
- | "SystemAdmin";
7697
+ export interface UserPublic {
7698
+ /** @format uuid */
7699
+ id: string;
7700
+ role: string;
7701
+ firstName: string;
7702
+ lastName: string;
7703
+ email: string;
7704
+ phone?: string | null;
7705
+ title?: string | null;
7706
+ }
8084
7707
 
8085
- export type UserLoanRoleEnum =
8086
- | "Borrower"
8087
- | "CoBorrower"
8088
- | "NonBorrower"
8089
- | "LoanOfficer"
8090
- | "LoanProcessor"
8091
- | "LoanOfficerAssistant"
8092
- | "SupportingLoanOfficer"
8093
- | "BuyerAgent"
8094
- | "SellerAgent"
8095
- | "TitleInsuranceAgent"
8096
- | "EscrowAgent"
8097
- | "SettlementAgent"
8098
- | "Admin";
7708
+ export interface UserReactivationCompleteRequest {
7709
+ /** @format uuid */
7710
+ token: string;
7711
+ /** @minLength 8 */
7712
+ newPassword: string;
7713
+ }
8099
7714
 
8100
- export type UserLoanConsentTypeEnum =
8101
- | "Econsent"
8102
- | "CreditAuthorization"
8103
- | "Tcpa";
7715
+ export interface UserReactivationRequest {
7716
+ /**
7717
+ * @format email
7718
+ * @minLength 1
7719
+ */
7720
+ email: string;
7721
+ /** @format uuid */
7722
+ siteConfigurationId: string;
7723
+ }
8104
7724
 
8105
- export type UserLoanConsentLosSyncStatusEnum =
8106
- | "NotStarted"
8107
- | "Failed"
8108
- | "Success";
7725
+ export interface UserRelation {
7726
+ /** @format uuid */
7727
+ userId1: string;
7728
+ /** @format uuid */
7729
+ userId2: string;
7730
+ relationType: string;
7731
+ /** @format uuid */
7732
+ id: string;
7733
+ user1Email: string;
7734
+ user1Role: string;
7735
+ user2Email: string;
7736
+ user2Role: string;
7737
+ }
8109
7738
 
8110
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7739
+ export interface UserRelationship {
7740
+ /** @format uuid */
7741
+ id: string;
7742
+ role: string;
7743
+ firstName?: string | null;
7744
+ lastName?: string | null;
7745
+ email?: string | null;
7746
+ phone?: string | null;
7747
+ siteConfigurations: SiteConfigurationReduced[];
7748
+ /** @format date-time */
7749
+ createdAt?: string | null;
7750
+ /** @format date-time */
7751
+ deletedAt?: string | null;
7752
+ }
8111
7753
 
8112
- /** @default "Realtor" */
8113
- export type GetPartnersParamsRoleEnum =
8114
- | "Borrower"
8115
- | "LoanOfficer"
8116
- | "Admin"
8117
- | "SuperAdmin"
8118
- | "Realtor"
8119
- | "SettlementAgent"
8120
- | "LoanProcessor"
8121
- | "LoanOfficerAssistant"
8122
- | "SystemAdmin";
7754
+ export interface UserRelationshipProspect {
7755
+ /** @format uuid */
7756
+ id: string;
7757
+ role: string;
7758
+ firstName: string;
7759
+ lastName: string;
7760
+ email: string;
7761
+ contactPhone?: string | null;
7762
+ licenseNumber?: string | null;
7763
+ /** @format uuid */
7764
+ branchID: string;
7765
+ companyName?: string | null;
7766
+ /** @format date-time */
7767
+ createdAt?: string | null;
7768
+ /** @format date-time */
7769
+ deletedAt?: string | null;
7770
+ }
8123
7771
 
8124
- export type GetSamlMetadataParamsSSoIntegrationEnum =
8125
- | "ConsumerConnect"
8126
- | "TheBigPOS"
8127
- | "POSF";
7772
+ export interface UserSearchCriteria {
7773
+ searchText?: string | null;
7774
+ isActive?: boolean | null;
7775
+ roles?: string[] | null;
7776
+ }
8128
7777
 
8129
- export type GetSamlMetadataParamsEnum =
8130
- | "ConsumerConnect"
8131
- | "TheBigPOS"
8132
- | "POSF";
7778
+ export interface UserSummary {
7779
+ /** @format uuid */
7780
+ id: string;
7781
+ firstName: string;
7782
+ lastName: string;
7783
+ }
8133
7784
 
8134
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
8135
- | "ConsumerConnect"
8136
- | "TheBigPOS"
8137
- | "POSF";
7785
+ export interface VerifyEmailRequest {
7786
+ token: string;
7787
+ }
8138
7788
 
8139
- export type CreateOrReplaceSamlMetadataParamsEnum =
8140
- | "ConsumerConnect"
8141
- | "TheBigPOS"
8142
- | "POSF";
7789
+ export interface VerifyPasswordRequest {
7790
+ email: string;
7791
+ code: string;
7792
+ password: string;
7793
+ /** @format uuid */
7794
+ siteConfigurationId?: string | null;
7795
+ }
8143
7796
 
8144
- export type GetSiteTilesBySiteConfigurationParamsLocationEnum =
8145
- | "HomePage"
8146
- | "Dashboard";
7797
+ export interface Workflow {
7798
+ formType: string;
7799
+ target: string;
7800
+ authType: string;
7801
+ name: string;
7802
+ isDefault: boolean;
7803
+ description: string;
7804
+ slug: string;
7805
+ status: string;
7806
+ userRole: string;
7807
+ borrowerType: string;
7808
+ showProgressBar: boolean;
7809
+ showTile: boolean;
7810
+ tileLocation: string;
7811
+ tileText: string;
7812
+ tileSubtitle: string;
7813
+ icon: string;
7814
+ }
8147
7815
 
8148
7816
  import type {
8149
7817
  AxiosInstance,
@@ -8186,12 +7854,14 @@ export interface ApiConfig<SecurityDataType = unknown>
8186
7854
  format?: ResponseType;
8187
7855
  }
8188
7856
 
8189
- export type ContentType =
8190
- | "application/json"
8191
- | "application/vnd.api+json"
8192
- | "multipart/form-data"
8193
- | "application/x-www-form-urlencoded"
8194
- | "text/plain";
7857
+ export enum ContentType {
7858
+ JsonPatch = "application/json-patch+json",
7859
+ Json = "application/json",
7860
+ JsonApi = "application/vnd.api+json",
7861
+ FormData = "multipart/form-data",
7862
+ UrlEncoded = "application/x-www-form-urlencoded",
7863
+ Text = "text/plain",
7864
+ }
8195
7865
 
8196
7866
  export class HttpClient<SecurityDataType = unknown> {
8197
7867
  public instance: AxiosInstance;
@@ -8288,7 +7958,7 @@ export class HttpClient<SecurityDataType = unknown> {
8288
7958
  const responseFormat = format || this.format || undefined;
8289
7959
 
8290
7960
  if (
8291
- type === "multipart/form-data" &&
7961
+ type === ContentType.FormData &&
8292
7962
  body &&
8293
7963
  body !== null &&
8294
7964
  typeof body === "object"
@@ -8297,7 +7967,7 @@ export class HttpClient<SecurityDataType = unknown> {
8297
7967
  }
8298
7968
 
8299
7969
  if (
8300
- type === "text/plain" &&
7970
+ type === ContentType.Text &&
8301
7971
  body &&
8302
7972
  body !== null &&
8303
7973
  typeof body !== "string"
@@ -8404,7 +8074,7 @@ export class Api<
8404
8074
  method: "PUT",
8405
8075
  body: data,
8406
8076
  secure: true,
8407
- type: "application/json",
8077
+ type: ContentType.Json,
8408
8078
  format: "json",
8409
8079
  ...params,
8410
8080
  }),
@@ -8448,7 +8118,7 @@ export class Api<
8448
8118
  method: "PUT",
8449
8119
  body: data,
8450
8120
  secure: true,
8451
- type: "application/json",
8121
+ type: ContentType.Json,
8452
8122
  format: "json",
8453
8123
  ...params,
8454
8124
  }),
@@ -8489,7 +8159,7 @@ export class Api<
8489
8159
  method: "POST",
8490
8160
  body: data,
8491
8161
  secure: true,
8492
- type: "application/json",
8162
+ type: ContentType.Json,
8493
8163
  format: "json",
8494
8164
  ...params,
8495
8165
  }),
@@ -8565,7 +8235,7 @@ export class Api<
8565
8235
  method: "PUT",
8566
8236
  body: data,
8567
8237
  secure: true,
8568
- type: "application/json",
8238
+ type: ContentType.Json,
8569
8239
  format: "json",
8570
8240
  ...params,
8571
8241
  }),
@@ -8628,7 +8298,7 @@ export class Api<
8628
8298
  method: "PUT",
8629
8299
  body: data,
8630
8300
  secure: true,
8631
- type: "application/json",
8301
+ type: ContentType.Json,
8632
8302
  ...params,
8633
8303
  }),
8634
8304
 
@@ -8671,7 +8341,7 @@ export class Api<
8671
8341
  method: "PUT",
8672
8342
  body: data,
8673
8343
  secure: true,
8674
- type: "application/json",
8344
+ type: ContentType.Json,
8675
8345
  format: "json",
8676
8346
  ...params,
8677
8347
  }),
@@ -8712,7 +8382,7 @@ export class Api<
8712
8382
  method: "POST",
8713
8383
  body: data,
8714
8384
  secure: true,
8715
- type: "application/json",
8385
+ type: ContentType.Json,
8716
8386
  format: "json",
8717
8387
  ...params,
8718
8388
  }),
@@ -8759,7 +8429,7 @@ export class Api<
8759
8429
  method: "PUT",
8760
8430
  body: data,
8761
8431
  secure: true,
8762
- type: "application/json",
8432
+ type: ContentType.Json,
8763
8433
  format: "json",
8764
8434
  ...params,
8765
8435
  }),
@@ -8825,7 +8495,7 @@ export class Api<
8825
8495
  method: "PUT",
8826
8496
  body: data,
8827
8497
  secure: true,
8828
- type: "application/json",
8498
+ type: ContentType.Json,
8829
8499
  format: "json",
8830
8500
  ...params,
8831
8501
  }),
@@ -8870,7 +8540,7 @@ export class Api<
8870
8540
  method: "POST",
8871
8541
  body: data,
8872
8542
  secure: true,
8873
- type: "application/json",
8543
+ type: ContentType.JsonPatch,
8874
8544
  format: "json",
8875
8545
  ...params,
8876
8546
  }),
@@ -8933,7 +8603,7 @@ export class Api<
8933
8603
  method: "PUT",
8934
8604
  body: data,
8935
8605
  secure: true,
8936
- type: "application/json",
8606
+ type: ContentType.Json,
8937
8607
  format: "json",
8938
8608
  ...params,
8939
8609
  }),
@@ -9155,7 +8825,7 @@ export class Api<
9155
8825
  method: "POST",
9156
8826
  body: data,
9157
8827
  secure: true,
9158
- type: "application/json",
8828
+ type: ContentType.Json,
9159
8829
  format: "json",
9160
8830
  ...params,
9161
8831
  }),
@@ -9202,7 +8872,7 @@ export class Api<
9202
8872
  method: "PUT",
9203
8873
  body: data,
9204
8874
  secure: true,
9205
- type: "application/json",
8875
+ type: ContentType.Json,
9206
8876
  format: "json",
9207
8877
  ...params,
9208
8878
  }),
@@ -9265,7 +8935,7 @@ export class Api<
9265
8935
  method: "POST",
9266
8936
  body: data,
9267
8937
  secure: true,
9268
- type: "application/json",
8938
+ type: ContentType.JsonPatch,
9269
8939
  format: "json",
9270
8940
  ...params,
9271
8941
  }),
@@ -9346,7 +9016,7 @@ export class Api<
9346
9016
  method: "PATCH",
9347
9017
  body: data,
9348
9018
  secure: true,
9349
- type: "application/json",
9019
+ type: ContentType.JsonPatch,
9350
9020
  format: "json",
9351
9021
  ...params,
9352
9022
  }),
@@ -9446,7 +9116,7 @@ export class Api<
9446
9116
  method: "PUT",
9447
9117
  body: data,
9448
9118
  secure: true,
9449
- type: "application/json",
9119
+ type: ContentType.Json,
9450
9120
  format: "json",
9451
9121
  ...params,
9452
9122
  }),
@@ -9574,7 +9244,7 @@ export class Api<
9574
9244
  method: "POST",
9575
9245
  body: data,
9576
9246
  secure: true,
9577
- type: "application/json",
9247
+ type: ContentType.Json,
9578
9248
  format: "json",
9579
9249
  ...params,
9580
9250
  }),
@@ -9621,7 +9291,7 @@ export class Api<
9621
9291
  method: "PUT",
9622
9292
  body: data,
9623
9293
  secure: true,
9624
- type: "application/json",
9294
+ type: ContentType.Json,
9625
9295
  format: "json",
9626
9296
  ...params,
9627
9297
  }),
@@ -9719,7 +9389,7 @@ export class Api<
9719
9389
  query: query,
9720
9390
  body: data,
9721
9391
  secure: true,
9722
- type: "application/json",
9392
+ type: ContentType.JsonPatch,
9723
9393
  format: "json",
9724
9394
  ...params,
9725
9395
  }),
@@ -9795,7 +9465,7 @@ export class Api<
9795
9465
  method: "PUT",
9796
9466
  body: data,
9797
9467
  secure: true,
9798
- type: "application/json",
9468
+ type: ContentType.Json,
9799
9469
  format: "json",
9800
9470
  ...params,
9801
9471
  }),
@@ -9840,7 +9510,7 @@ export class Api<
9840
9510
  method: "POST",
9841
9511
  body: data,
9842
9512
  secure: true,
9843
- type: "application/json",
9513
+ type: ContentType.Json,
9844
9514
  format: "json",
9845
9515
  ...params,
9846
9516
  }),
@@ -9888,7 +9558,7 @@ export class Api<
9888
9558
  method: "PUT",
9889
9559
  body: data,
9890
9560
  secure: true,
9891
- type: "application/json",
9561
+ type: ContentType.Json,
9892
9562
  format: "json",
9893
9563
  ...params,
9894
9564
  }),
@@ -10009,7 +9679,7 @@ export class Api<
10009
9679
  query: query,
10010
9680
  body: data,
10011
9681
  secure: true,
10012
- type: "application/json",
9682
+ type: ContentType.JsonPatch,
10013
9683
  format: "json",
10014
9684
  ...params,
10015
9685
  }),
@@ -10073,7 +9743,7 @@ export class Api<
10073
9743
  method: "POST",
10074
9744
  body: data,
10075
9745
  secure: true,
10076
- type: "application/json",
9746
+ type: ContentType.Json,
10077
9747
  ...params,
10078
9748
  }),
10079
9749
 
@@ -10097,7 +9767,7 @@ export class Api<
10097
9767
  method: "POST",
10098
9768
  body: data,
10099
9769
  secure: true,
10100
- type: "application/json",
9770
+ type: ContentType.Json,
10101
9771
  ...params,
10102
9772
  }),
10103
9773
 
@@ -10118,7 +9788,7 @@ export class Api<
10118
9788
  method: "POST",
10119
9789
  body: data,
10120
9790
  secure: true,
10121
- type: "application/json",
9791
+ type: ContentType.Json,
10122
9792
  ...params,
10123
9793
  }),
10124
9794
 
@@ -10157,7 +9827,7 @@ export class Api<
10157
9827
  method: "POST",
10158
9828
  body: data,
10159
9829
  secure: true,
10160
- type: "application/json",
9830
+ type: ContentType.Json,
10161
9831
  ...params,
10162
9832
  }),
10163
9833
 
@@ -10182,7 +9852,7 @@ export class Api<
10182
9852
  method: "POST",
10183
9853
  body: data,
10184
9854
  secure: true,
10185
- type: "application/json",
9855
+ type: ContentType.Json,
10186
9856
  format: "json",
10187
9857
  ...params,
10188
9858
  }),
@@ -10204,7 +9874,7 @@ export class Api<
10204
9874
  method: "POST",
10205
9875
  body: data,
10206
9876
  secure: true,
10207
- type: "application/json",
9877
+ type: ContentType.Json,
10208
9878
  format: "json",
10209
9879
  ...params,
10210
9880
  }),
@@ -10229,7 +9899,7 @@ export class Api<
10229
9899
  method: "POST",
10230
9900
  body: data,
10231
9901
  secure: true,
10232
- type: "application/json",
9902
+ type: ContentType.Json,
10233
9903
  format: "json",
10234
9904
  ...params,
10235
9905
  }),
@@ -10251,7 +9921,7 @@ export class Api<
10251
9921
  method: "POST",
10252
9922
  body: data,
10253
9923
  secure: true,
10254
- type: "application/json",
9924
+ type: ContentType.Json,
10255
9925
  format: "json",
10256
9926
  ...params,
10257
9927
  }),
@@ -10273,7 +9943,7 @@ export class Api<
10273
9943
  method: "POST",
10274
9944
  body: data,
10275
9945
  secure: true,
10276
- type: "application/json",
9946
+ type: ContentType.Json,
10277
9947
  format: "json",
10278
9948
  ...params,
10279
9949
  }),
@@ -10346,7 +10016,7 @@ export class Api<
10346
10016
  method: "POST",
10347
10017
  body: data,
10348
10018
  secure: true,
10349
- type: "application/json",
10019
+ type: ContentType.Json,
10350
10020
  format: "json",
10351
10021
  ...params,
10352
10022
  }),
@@ -10379,7 +10049,7 @@ export class Api<
10379
10049
  query: query,
10380
10050
  body: data,
10381
10051
  secure: true,
10382
- type: "application/json",
10052
+ type: ContentType.Json,
10383
10053
  format: "json",
10384
10054
  ...params,
10385
10055
  }),
@@ -10424,7 +10094,7 @@ export class Api<
10424
10094
  method: "PUT",
10425
10095
  body: data,
10426
10096
  secure: true,
10427
- type: "application/json",
10097
+ type: ContentType.Json,
10428
10098
  format: "json",
10429
10099
  ...params,
10430
10100
  }),
@@ -10487,7 +10157,7 @@ export class Api<
10487
10157
  method: "POST",
10488
10158
  body: data,
10489
10159
  secure: true,
10490
- type: "application/json",
10160
+ type: ContentType.Json,
10491
10161
  format: "json",
10492
10162
  ...params,
10493
10163
  }),
@@ -10541,7 +10211,7 @@ export class Api<
10541
10211
  query: query,
10542
10212
  body: data,
10543
10213
  secure: true,
10544
- type: "application/json",
10214
+ type: ContentType.Json,
10545
10215
  format: "json",
10546
10216
  ...params,
10547
10217
  }),
@@ -10610,7 +10280,7 @@ export class Api<
10610
10280
  method: "POST",
10611
10281
  body: data,
10612
10282
  secure: true,
10613
- type: "application/json",
10283
+ type: ContentType.Json,
10614
10284
  format: "json",
10615
10285
  ...params,
10616
10286
  }),
@@ -10655,7 +10325,7 @@ export class Api<
10655
10325
  method: "PUT",
10656
10326
  body: data,
10657
10327
  secure: true,
10658
- type: "application/json",
10328
+ type: ContentType.Json,
10659
10329
  format: "json",
10660
10330
  ...params,
10661
10331
  }),
@@ -10716,7 +10386,7 @@ export class Api<
10716
10386
  method: "POST",
10717
10387
  body: data,
10718
10388
  secure: true,
10719
- type: "application/json",
10389
+ type: ContentType.Json,
10720
10390
  format: "json",
10721
10391
  ...params,
10722
10392
  }),
@@ -10731,10 +10401,17 @@ export class Api<
10731
10401
  * @secure
10732
10402
  * @response `200` `(CompanyDocumentFolder)[]` OK
10733
10403
  */
10734
- getCompanyDocumentFolders: (params: RequestParams = {}) =>
10404
+ getCompanyDocumentFolders: (
10405
+ query?: {
10406
+ /** @default false */
10407
+ includeFiles?: boolean;
10408
+ },
10409
+ params: RequestParams = {},
10410
+ ) =>
10735
10411
  this.request<CompanyDocumentFolder[], any>({
10736
10412
  path: `/api/company-document-folders`,
10737
10413
  method: "GET",
10414
+ query: query,
10738
10415
  secure: true,
10739
10416
  format: "json",
10740
10417
  ...params,
@@ -10761,7 +10438,7 @@ export class Api<
10761
10438
  method: "POST",
10762
10439
  body: data,
10763
10440
  secure: true,
10764
- type: "application/json",
10441
+ type: ContentType.Json,
10765
10442
  format: "json",
10766
10443
  ...params,
10767
10444
  }),
@@ -10809,7 +10486,7 @@ export class Api<
10809
10486
  method: "PUT",
10810
10487
  body: data,
10811
10488
  secure: true,
10812
- type: "application/json",
10489
+ type: ContentType.Json,
10813
10490
  format: "json",
10814
10491
  ...params,
10815
10492
  }),
@@ -10864,7 +10541,7 @@ export class Api<
10864
10541
  query: query,
10865
10542
  body: data,
10866
10543
  secure: true,
10867
- type: "application/json",
10544
+ type: ContentType.Json,
10868
10545
  format: "json",
10869
10546
  ...params,
10870
10547
  }),
@@ -10920,7 +10597,7 @@ export class Api<
10920
10597
  method: "PUT",
10921
10598
  body: data,
10922
10599
  secure: true,
10923
- type: "application/json",
10600
+ type: ContentType.Json,
10924
10601
  format: "json",
10925
10602
  ...params,
10926
10603
  }),
@@ -10964,7 +10641,7 @@ export class Api<
10964
10641
  method: "POST",
10965
10642
  body: data,
10966
10643
  secure: true,
10967
- type: "application/json",
10644
+ type: ContentType.Json,
10968
10645
  format: "json",
10969
10646
  ...params,
10970
10647
  }),
@@ -11016,7 +10693,7 @@ export class Api<
11016
10693
  method: "POST",
11017
10694
  body: data,
11018
10695
  secure: true,
11019
- type: "multipart/form-data",
10696
+ type: ContentType.FormData,
11020
10697
  format: "json",
11021
10698
  ...params,
11022
10699
  }),
@@ -11043,7 +10720,7 @@ export class Api<
11043
10720
  method: "POST",
11044
10721
  body: data,
11045
10722
  secure: true,
11046
- type: "application/json",
10723
+ type: ContentType.Json,
11047
10724
  format: "json",
11048
10725
  ...params,
11049
10726
  }),
@@ -11163,7 +10840,7 @@ export class Api<
11163
10840
  method: "POST",
11164
10841
  body: data,
11165
10842
  secure: true,
11166
- type: "application/json",
10843
+ type: ContentType.Json,
11167
10844
  format: "json",
11168
10845
  ...params,
11169
10846
  }),
@@ -11196,7 +10873,7 @@ export class Api<
11196
10873
  query: query,
11197
10874
  body: data,
11198
10875
  secure: true,
11199
- type: "application/json",
10876
+ type: ContentType.Json,
11200
10877
  format: "json",
11201
10878
  ...params,
11202
10879
  }),
@@ -11241,7 +10918,7 @@ export class Api<
11241
10918
  method: "PUT",
11242
10919
  body: data,
11243
10920
  secure: true,
11244
- type: "application/json",
10921
+ type: ContentType.Json,
11245
10922
  format: "json",
11246
10923
  ...params,
11247
10924
  }),
@@ -11303,7 +10980,7 @@ export class Api<
11303
10980
  method: "POST",
11304
10981
  body: data,
11305
10982
  secure: true,
11306
- type: "application/json",
10983
+ type: ContentType.Json,
11307
10984
  format: "json",
11308
10985
  ...params,
11309
10986
  }),
@@ -11357,7 +11034,7 @@ export class Api<
11357
11034
  query: query,
11358
11035
  body: data,
11359
11036
  secure: true,
11360
- type: "application/json",
11037
+ type: ContentType.Json,
11361
11038
  format: "json",
11362
11039
  ...params,
11363
11040
  }),
@@ -11412,7 +11089,7 @@ export class Api<
11412
11089
  */
11413
11090
  getCustomFieldDefinitions: (
11414
11091
  query?: {
11415
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
11092
+ entityType?: "Loan";
11416
11093
  },
11417
11094
  params: RequestParams = {},
11418
11095
  ) =>
@@ -11446,7 +11123,7 @@ export class Api<
11446
11123
  method: "POST",
11447
11124
  body: data,
11448
11125
  secure: true,
11449
- type: "application/json",
11126
+ type: ContentType.Json,
11450
11127
  format: "json",
11451
11128
  ...params,
11452
11129
  }),
@@ -11495,7 +11172,7 @@ export class Api<
11495
11172
  method: "PUT",
11496
11173
  body: data,
11497
11174
  secure: true,
11498
- type: "application/json",
11175
+ type: ContentType.Json,
11499
11176
  format: "json",
11500
11177
  ...params,
11501
11178
  }),
@@ -11629,7 +11306,7 @@ export class Api<
11629
11306
  method: "PUT",
11630
11307
  body: data,
11631
11308
  secure: true,
11632
- type: "application/json",
11309
+ type: ContentType.Json,
11633
11310
  format: "json",
11634
11311
  ...params,
11635
11312
  }),
@@ -11749,7 +11426,7 @@ export class Api<
11749
11426
  method: "POST",
11750
11427
  body: data,
11751
11428
  secure: true,
11752
- type: "application/json",
11429
+ type: ContentType.Json,
11753
11430
  format: "json",
11754
11431
  ...params,
11755
11432
  }),
@@ -11826,7 +11503,7 @@ export class Api<
11826
11503
  method: "PUT",
11827
11504
  body: data,
11828
11505
  secure: true,
11829
- type: "application/json",
11506
+ type: ContentType.Json,
11830
11507
  format: "json",
11831
11508
  ...params,
11832
11509
  }),
@@ -11913,7 +11590,7 @@ export class Api<
11913
11590
  method: "POST",
11914
11591
  body: data,
11915
11592
  secure: true,
11916
- type: "application/json",
11593
+ type: ContentType.Json,
11917
11594
  format: "json",
11918
11595
  ...params,
11919
11596
  }),
@@ -11962,7 +11639,7 @@ export class Api<
11962
11639
  method: "PUT",
11963
11640
  body: data,
11964
11641
  secure: true,
11965
- type: "application/json",
11642
+ type: ContentType.Json,
11966
11643
  format: "json",
11967
11644
  ...params,
11968
11645
  }),
@@ -12037,7 +11714,7 @@ export class Api<
12037
11714
  method: "POST",
12038
11715
  body: data,
12039
11716
  secure: true,
12040
- type: "application/json",
11717
+ type: ContentType.Json,
12041
11718
  format: "json",
12042
11719
  ...params,
12043
11720
  }),
@@ -12254,7 +11931,7 @@ export class Api<
12254
11931
  method: "POST",
12255
11932
  body: data,
12256
11933
  secure: true,
12257
- type: "application/json",
11934
+ type: ContentType.Json,
12258
11935
  format: "json",
12259
11936
  ...params,
12260
11937
  }),
@@ -12292,7 +11969,7 @@ export class Api<
12292
11969
  query: query,
12293
11970
  body: data,
12294
11971
  secure: true,
12295
- type: "application/json",
11972
+ type: ContentType.Json,
12296
11973
  format: "json",
12297
11974
  ...params,
12298
11975
  }),
@@ -12323,7 +12000,7 @@ export class Api<
12323
12000
  query: query,
12324
12001
  body: data,
12325
12002
  secure: true,
12326
- type: "application/json",
12003
+ type: ContentType.Json,
12327
12004
  format: "json",
12328
12005
  ...params,
12329
12006
  }),
@@ -12350,7 +12027,7 @@ export class Api<
12350
12027
  method: "POST",
12351
12028
  body: data,
12352
12029
  secure: true,
12353
- type: "application/json",
12030
+ type: ContentType.Json,
12354
12031
  format: "json",
12355
12032
  ...params,
12356
12033
  }),
@@ -12401,7 +12078,7 @@ export class Api<
12401
12078
  method: "POST",
12402
12079
  body: data,
12403
12080
  secure: true,
12404
- type: "application/json",
12081
+ type: ContentType.Json,
12405
12082
  format: "json",
12406
12083
  ...params,
12407
12084
  }),
@@ -12478,7 +12155,7 @@ export class Api<
12478
12155
  method: "PUT",
12479
12156
  body: data,
12480
12157
  secure: true,
12481
- type: "application/json",
12158
+ type: ContentType.Json,
12482
12159
  format: "json",
12483
12160
  ...params,
12484
12161
  }),
@@ -12506,7 +12183,7 @@ export class Api<
12506
12183
  method: "POST",
12507
12184
  body: data,
12508
12185
  secure: true,
12509
- type: "application/json",
12186
+ type: ContentType.Json,
12510
12187
  format: "json",
12511
12188
  ...params,
12512
12189
  }),
@@ -12594,7 +12271,7 @@ export class Api<
12594
12271
  method: "POST",
12595
12272
  body: data,
12596
12273
  secure: true,
12597
- type: "multipart/form-data",
12274
+ type: ContentType.FormData,
12598
12275
  format: "json",
12599
12276
  ...params,
12600
12277
  }),
@@ -12635,7 +12312,7 @@ export class Api<
12635
12312
  method: "PUT",
12636
12313
  body: data,
12637
12314
  secure: true,
12638
- type: "application/json",
12315
+ type: ContentType.Json,
12639
12316
  format: "json",
12640
12317
  ...params,
12641
12318
  }),
@@ -12686,7 +12363,7 @@ export class Api<
12686
12363
  query: query,
12687
12364
  body: data,
12688
12365
  secure: true,
12689
- type: "application/json",
12366
+ type: ContentType.Json,
12690
12367
  format: "json",
12691
12368
  ...params,
12692
12369
  }),
@@ -12733,7 +12410,7 @@ export class Api<
12733
12410
  method: "POST",
12734
12411
  body: data,
12735
12412
  secure: true,
12736
- type: "application/json",
12413
+ type: ContentType.Json,
12737
12414
  format: "json",
12738
12415
  ...params,
12739
12416
  }),
@@ -12774,7 +12451,7 @@ export class Api<
12774
12451
  method: "PUT",
12775
12452
  body: data,
12776
12453
  secure: true,
12777
- type: "application/json",
12454
+ type: ContentType.Json,
12778
12455
  format: "json",
12779
12456
  ...params,
12780
12457
  }),
@@ -12840,7 +12517,7 @@ export class Api<
12840
12517
  method: "POST",
12841
12518
  body: data,
12842
12519
  secure: true,
12843
- type: "multipart/form-data",
12520
+ type: ContentType.FormData,
12844
12521
  format: "json",
12845
12522
  ...params,
12846
12523
  }),
@@ -12948,7 +12625,7 @@ export class Api<
12948
12625
  query: query,
12949
12626
  body: data,
12950
12627
  secure: true,
12951
- type: "application/json",
12628
+ type: ContentType.Json,
12952
12629
  format: "json",
12953
12630
  ...params,
12954
12631
  }),
@@ -12992,7 +12669,7 @@ export class Api<
12992
12669
  method: "PUT",
12993
12670
  body: data,
12994
12671
  secure: true,
12995
- type: "application/json",
12672
+ type: ContentType.Json,
12996
12673
  format: "json",
12997
12674
  ...params,
12998
12675
  }),
@@ -13043,7 +12720,7 @@ export class Api<
13043
12720
  query: query,
13044
12721
  body: data,
13045
12722
  secure: true,
13046
- type: "application/json",
12723
+ type: ContentType.Json,
13047
12724
  format: "json",
13048
12725
  ...params,
13049
12726
  }),
@@ -13087,7 +12764,7 @@ export class Api<
13087
12764
  method: "POST",
13088
12765
  body: data,
13089
12766
  secure: true,
13090
- type: "application/json",
12767
+ type: ContentType.Json,
13091
12768
  format: "json",
13092
12769
  ...params,
13093
12770
  }),
@@ -13132,7 +12809,7 @@ export class Api<
13132
12809
  method: "PUT",
13133
12810
  body: data,
13134
12811
  secure: true,
13135
- type: "application/json",
12812
+ type: ContentType.Json,
13136
12813
  format: "json",
13137
12814
  ...params,
13138
12815
  }),
@@ -13220,7 +12897,7 @@ export class Api<
13220
12897
  method: "PATCH",
13221
12898
  body: data,
13222
12899
  secure: true,
13223
- type: "application/json",
12900
+ type: ContentType.JsonPatch,
13224
12901
  format: "json",
13225
12902
  ...params,
13226
12903
  }),
@@ -13241,7 +12918,7 @@ export class Api<
13241
12918
  method: "POST",
13242
12919
  body: data,
13243
12920
  secure: true,
13244
- type: "application/json",
12921
+ type: ContentType.Json,
13245
12922
  format: "json",
13246
12923
  ...params,
13247
12924
  }),
@@ -13273,7 +12950,7 @@ export class Api<
13273
12950
  query: query,
13274
12951
  body: data,
13275
12952
  secure: true,
13276
- type: "application/json",
12953
+ type: ContentType.Json,
13277
12954
  format: "json",
13278
12955
  ...params,
13279
12956
  }),
@@ -13304,7 +12981,7 @@ export class Api<
13304
12981
  query: query,
13305
12982
  body: data,
13306
12983
  secure: true,
13307
- type: "application/json",
12984
+ type: ContentType.Json,
13308
12985
  format: "json",
13309
12986
  ...params,
13310
12987
  }),
@@ -13330,7 +13007,7 @@ export class Api<
13330
13007
  method: "PATCH",
13331
13008
  body: data,
13332
13009
  secure: true,
13333
- type: "application/json",
13010
+ type: ContentType.JsonPatch,
13334
13011
  format: "json",
13335
13012
  ...params,
13336
13013
  }),
@@ -13357,7 +13034,7 @@ export class Api<
13357
13034
  method: "PATCH",
13358
13035
  body: data,
13359
13036
  secure: true,
13360
- type: "application/json",
13037
+ type: ContentType.JsonPatch,
13361
13038
  format: "json",
13362
13039
  ...params,
13363
13040
  }),
@@ -13530,7 +13207,7 @@ export class Api<
13530
13207
  method: "POST",
13531
13208
  body: data,
13532
13209
  secure: true,
13533
- type: "multipart/form-data",
13210
+ type: ContentType.FormData,
13534
13211
  format: "json",
13535
13212
  ...params,
13536
13213
  }),
@@ -13555,7 +13232,7 @@ export class Api<
13555
13232
  method: "PATCH",
13556
13233
  body: data,
13557
13234
  secure: true,
13558
- type: "application/json",
13235
+ type: ContentType.JsonPatch,
13559
13236
  format: "json",
13560
13237
  ...params,
13561
13238
  }),
@@ -13610,7 +13287,7 @@ export class Api<
13610
13287
  method: "POST",
13611
13288
  body: data,
13612
13289
  secure: true,
13613
- type: "multipart/form-data",
13290
+ type: ContentType.FormData,
13614
13291
  format: "json",
13615
13292
  ...params,
13616
13293
  }),
@@ -13635,7 +13312,7 @@ export class Api<
13635
13312
  method: "PATCH",
13636
13313
  body: data,
13637
13314
  secure: true,
13638
- type: "application/json",
13315
+ type: ContentType.JsonPatch,
13639
13316
  format: "json",
13640
13317
  ...params,
13641
13318
  }),
@@ -13709,7 +13386,7 @@ export class Api<
13709
13386
  method: "POST",
13710
13387
  body: data,
13711
13388
  secure: true,
13712
- type: "application/json",
13389
+ type: ContentType.Json,
13713
13390
  format: "json",
13714
13391
  ...params,
13715
13392
  }),
@@ -13772,7 +13449,7 @@ export class Api<
13772
13449
  method: "PUT",
13773
13450
  body: data,
13774
13451
  secure: true,
13775
- type: "application/json",
13452
+ type: ContentType.Json,
13776
13453
  format: "json",
13777
13454
  ...params,
13778
13455
  }),
@@ -13823,7 +13500,7 @@ export class Api<
13823
13500
  query: query,
13824
13501
  body: data,
13825
13502
  secure: true,
13826
- type: "application/json",
13503
+ type: ContentType.Json,
13827
13504
  format: "json",
13828
13505
  ...params,
13829
13506
  }),
@@ -13851,7 +13528,7 @@ export class Api<
13851
13528
  method: "PUT",
13852
13529
  body: data,
13853
13530
  secure: true,
13854
- type: "multipart/form-data",
13531
+ type: ContentType.FormData,
13855
13532
  format: "json",
13856
13533
  ...params,
13857
13534
  }),
@@ -13934,7 +13611,7 @@ export class Api<
13934
13611
  method: "POST",
13935
13612
  body: data,
13936
13613
  secure: true,
13937
- type: "application/json",
13614
+ type: ContentType.Json,
13938
13615
  format: "json",
13939
13616
  ...params,
13940
13617
  }),
@@ -13981,7 +13658,7 @@ export class Api<
13981
13658
  method: "POST",
13982
13659
  body: data,
13983
13660
  secure: true,
13984
- type: "application/json",
13661
+ type: ContentType.Json,
13985
13662
  format: "json",
13986
13663
  ...params,
13987
13664
  }),
@@ -14029,7 +13706,7 @@ export class Api<
14029
13706
  method: "POST",
14030
13707
  body: data,
14031
13708
  secure: true,
14032
- type: "application/json",
13709
+ type: ContentType.Json,
14033
13710
  ...params,
14034
13711
  }),
14035
13712
 
@@ -14094,7 +13771,7 @@ export class Api<
14094
13771
  method: "PUT",
14095
13772
  body: data,
14096
13773
  secure: true,
14097
- type: "application/json",
13774
+ type: ContentType.Json,
14098
13775
  ...params,
14099
13776
  }),
14100
13777
 
@@ -14122,7 +13799,7 @@ export class Api<
14122
13799
  method: "PUT",
14123
13800
  body: data,
14124
13801
  secure: true,
14125
- type: "application/json",
13802
+ type: ContentType.Json,
14126
13803
  ...params,
14127
13804
  }),
14128
13805
 
@@ -14197,7 +13874,7 @@ export class Api<
14197
13874
  query: query,
14198
13875
  body: data,
14199
13876
  secure: true,
14200
- type: "application/json",
13877
+ type: ContentType.Json,
14201
13878
  format: "json",
14202
13879
  ...params,
14203
13880
  }),
@@ -14246,7 +13923,7 @@ export class Api<
14246
13923
  method: "PUT",
14247
13924
  body: data,
14248
13925
  secure: true,
14249
- type: "application/json",
13926
+ type: ContentType.Json,
14250
13927
  format: "json",
14251
13928
  ...params,
14252
13929
  }),
@@ -14293,7 +13970,7 @@ export class Api<
14293
13970
  method: "POST",
14294
13971
  body: data,
14295
13972
  secure: true,
14296
- type: "application/json",
13973
+ type: ContentType.Json,
14297
13974
  format: "json",
14298
13975
  ...params,
14299
13976
  }),
@@ -14402,7 +14079,7 @@ export class Api<
14402
14079
  query: query,
14403
14080
  body: data,
14404
14081
  secure: true,
14405
- type: "application/json",
14082
+ type: ContentType.Json,
14406
14083
  format: "json",
14407
14084
  ...params,
14408
14085
  }),
@@ -14457,7 +14134,7 @@ export class Api<
14457
14134
  method: "POST",
14458
14135
  body: data,
14459
14136
  secure: true,
14460
- type: "application/json",
14137
+ type: ContentType.Json,
14461
14138
  format: "json",
14462
14139
  ...params,
14463
14140
  }),
@@ -14491,7 +14168,7 @@ export class Api<
14491
14168
  query: query,
14492
14169
  body: data,
14493
14170
  secure: true,
14494
- type: "application/json",
14171
+ type: ContentType.Json,
14495
14172
  format: "json",
14496
14173
  ...params,
14497
14174
  }),
@@ -14504,7 +14181,7 @@ export class Api<
14504
14181
  * @summary Download By ID
14505
14182
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
14506
14183
  * @secure
14507
- * @response `200` `Blob` OK
14184
+ * @response `200` `string` OK
14508
14185
  * @response `404` `ProblemDetails` Not Found
14509
14186
  */
14510
14187
  downloadLoanDocument: (
@@ -14512,7 +14189,7 @@ export class Api<
14512
14189
  documentId: string,
14513
14190
  params: RequestParams = {},
14514
14191
  ) =>
14515
- this.request<Blob, ProblemDetails>({
14192
+ this.request<string, ProblemDetails>({
14516
14193
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
14517
14194
  method: "GET",
14518
14195
  secure: true,
@@ -14550,7 +14227,7 @@ export class Api<
14550
14227
  method: "POST",
14551
14228
  body: data,
14552
14229
  secure: true,
14553
- type: "multipart/form-data",
14230
+ type: ContentType.FormData,
14554
14231
  format: "json",
14555
14232
  ...params,
14556
14233
  }),
@@ -14600,7 +14277,7 @@ export class Api<
14600
14277
  method: "POST",
14601
14278
  body: data,
14602
14279
  secure: true,
14603
- type: "application/json",
14280
+ type: ContentType.Json,
14604
14281
  format: "json",
14605
14282
  ...params,
14606
14283
  }),
@@ -14627,7 +14304,7 @@ export class Api<
14627
14304
  method: "POST",
14628
14305
  body: data,
14629
14306
  secure: true,
14630
- type: "application/json",
14307
+ type: ContentType.Json,
14631
14308
  ...params,
14632
14309
  }),
14633
14310
 
@@ -14674,7 +14351,7 @@ export class Api<
14674
14351
  method: "POST",
14675
14352
  body: data,
14676
14353
  secure: true,
14677
- type: "application/json",
14354
+ type: ContentType.Json,
14678
14355
  format: "json",
14679
14356
  ...params,
14680
14357
  }),
@@ -14719,7 +14396,7 @@ export class Api<
14719
14396
  method: "POST",
14720
14397
  body: data,
14721
14398
  secure: true,
14722
- type: "application/json",
14399
+ type: ContentType.Json,
14723
14400
  format: "json",
14724
14401
  ...params,
14725
14402
  }),
@@ -14782,7 +14459,7 @@ export class Api<
14782
14459
  method: "PUT",
14783
14460
  body: data,
14784
14461
  secure: true,
14785
- type: "application/json",
14462
+ type: ContentType.Json,
14786
14463
  format: "json",
14787
14464
  ...params,
14788
14465
  }),
@@ -14833,7 +14510,7 @@ export class Api<
14833
14510
  query: query,
14834
14511
  body: data,
14835
14512
  secure: true,
14836
- type: "application/json",
14513
+ type: ContentType.Json,
14837
14514
  format: "json",
14838
14515
  ...params,
14839
14516
  }),
@@ -14858,7 +14535,7 @@ export class Api<
14858
14535
  method: "PUT",
14859
14536
  body: data,
14860
14537
  secure: true,
14861
- type: "application/json",
14538
+ type: ContentType.Json,
14862
14539
  format: "json",
14863
14540
  ...params,
14864
14541
  }),
@@ -14933,7 +14610,7 @@ export class Api<
14933
14610
  method: "POST",
14934
14611
  body: data,
14935
14612
  secure: true,
14936
- type: "application/json",
14613
+ type: ContentType.Json,
14937
14614
  format: "json",
14938
14615
  ...params,
14939
14616
  }),
@@ -15029,7 +14706,7 @@ export class Api<
15029
14706
  method: "POST",
15030
14707
  body: data,
15031
14708
  secure: true,
15032
- type: "application/json",
14709
+ type: ContentType.Json,
15033
14710
  format: "json",
15034
14711
  ...params,
15035
14712
  }),
@@ -15086,7 +14763,7 @@ export class Api<
15086
14763
  query: query,
15087
14764
  body: data,
15088
14765
  secure: true,
15089
- type: "application/json",
14766
+ type: ContentType.Json,
15090
14767
  format: "json",
15091
14768
  ...params,
15092
14769
  }),
@@ -15137,7 +14814,7 @@ export class Api<
15137
14814
  method: "POST",
15138
14815
  body: data,
15139
14816
  secure: true,
15140
- type: "application/json",
14817
+ type: ContentType.Json,
15141
14818
  ...params,
15142
14819
  }),
15143
14820
 
@@ -15163,7 +14840,7 @@ export class Api<
15163
14840
  method: "POST",
15164
14841
  body: data,
15165
14842
  secure: true,
15166
- type: "application/json",
14843
+ type: ContentType.Json,
15167
14844
  ...params,
15168
14845
  }),
15169
14846
 
@@ -15226,7 +14903,7 @@ export class Api<
15226
14903
  query: query,
15227
14904
  body: data,
15228
14905
  secure: true,
15229
- type: "application/json",
14906
+ type: ContentType.Json,
15230
14907
  format: "json",
15231
14908
  ...params,
15232
14909
  }),
@@ -15271,7 +14948,7 @@ export class Api<
15271
14948
  method: "POST",
15272
14949
  body: data,
15273
14950
  secure: true,
15274
- type: "application/json",
14951
+ type: ContentType.Json,
15275
14952
  format: "json",
15276
14953
  ...params,
15277
14954
  }),
@@ -15325,7 +15002,7 @@ export class Api<
15325
15002
  query: query,
15326
15003
  body: data,
15327
15004
  secure: true,
15328
- type: "application/json",
15005
+ type: ContentType.Json,
15329
15006
  format: "json",
15330
15007
  ...params,
15331
15008
  }),
@@ -15358,7 +15035,7 @@ export class Api<
15358
15035
  query: query,
15359
15036
  body: data,
15360
15037
  secure: true,
15361
- type: "application/json",
15038
+ type: ContentType.Json,
15362
15039
  format: "json",
15363
15040
  ...params,
15364
15041
  }),
@@ -15404,7 +15081,7 @@ export class Api<
15404
15081
  method: "PUT",
15405
15082
  body: data,
15406
15083
  secure: true,
15407
- type: "application/json",
15084
+ type: ContentType.Json,
15408
15085
  format: "json",
15409
15086
  ...params,
15410
15087
  }),
@@ -15505,7 +15182,7 @@ export class Api<
15505
15182
  method: "POST",
15506
15183
  body: data,
15507
15184
  secure: true,
15508
- type: "application/json",
15185
+ type: ContentType.Json,
15509
15186
  format: "json",
15510
15187
  ...params,
15511
15188
  }),
@@ -15538,7 +15215,7 @@ export class Api<
15538
15215
  query: query,
15539
15216
  body: data,
15540
15217
  secure: true,
15541
- type: "application/json",
15218
+ type: ContentType.Json,
15542
15219
  format: "json",
15543
15220
  ...params,
15544
15221
  }),
@@ -15568,7 +15245,7 @@ export class Api<
15568
15245
  method: "PATCH",
15569
15246
  body: data,
15570
15247
  secure: true,
15571
- type: "application/json",
15248
+ type: ContentType.JsonPatch,
15572
15249
  format: "json",
15573
15250
  ...params,
15574
15251
  }),
@@ -15678,7 +15355,7 @@ export class Api<
15678
15355
  method: "POST",
15679
15356
  body: data,
15680
15357
  secure: true,
15681
- type: "application/json",
15358
+ type: ContentType.Json,
15682
15359
  format: "json",
15683
15360
  ...params,
15684
15361
  }),
@@ -15714,7 +15391,7 @@ export class Api<
15714
15391
  query: query,
15715
15392
  body: data,
15716
15393
  secure: true,
15717
- type: "application/json",
15394
+ type: ContentType.Json,
15718
15395
  format: "json",
15719
15396
  ...params,
15720
15397
  }),
@@ -15766,7 +15443,7 @@ export class Api<
15766
15443
  method: "POST",
15767
15444
  body: data,
15768
15445
  secure: true,
15769
- type: "application/json",
15446
+ type: ContentType.Json,
15770
15447
  format: "json",
15771
15448
  ...params,
15772
15449
  }),
@@ -15794,7 +15471,7 @@ export class Api<
15794
15471
  method: "PUT",
15795
15472
  body: data,
15796
15473
  secure: true,
15797
- type: "application/json",
15474
+ type: ContentType.Json,
15798
15475
  format: "json",
15799
15476
  ...params,
15800
15477
  }),
@@ -15854,7 +15531,7 @@ export class Api<
15854
15531
  method: "POST",
15855
15532
  body: data,
15856
15533
  secure: true,
15857
- type: "multipart/form-data",
15534
+ type: ContentType.FormData,
15858
15535
  format: "json",
15859
15536
  ...params,
15860
15537
  }),
@@ -15882,7 +15559,7 @@ export class Api<
15882
15559
  method: "POST",
15883
15560
  body: data,
15884
15561
  secure: true,
15885
- type: "application/json",
15562
+ type: ContentType.Json,
15886
15563
  ...params,
15887
15564
  }),
15888
15565
 
@@ -15908,7 +15585,7 @@ export class Api<
15908
15585
  method: "POST",
15909
15586
  body: data,
15910
15587
  secure: true,
15911
- type: "application/json",
15588
+ type: ContentType.Json,
15912
15589
  ...params,
15913
15590
  }),
15914
15591
 
@@ -15940,7 +15617,7 @@ export class Api<
15940
15617
  query: query,
15941
15618
  body: data,
15942
15619
  secure: true,
15943
- type: "application/json",
15620
+ type: ContentType.Json,
15944
15621
  format: "json",
15945
15622
  ...params,
15946
15623
  }),
@@ -15965,7 +15642,7 @@ export class Api<
15965
15642
  method: "POST",
15966
15643
  body: data,
15967
15644
  secure: true,
15968
- type: "application/json",
15645
+ type: ContentType.Json,
15969
15646
  format: "json",
15970
15647
  ...params,
15971
15648
  }),
@@ -16052,7 +15729,7 @@ export class Api<
16052
15729
  method: "POST",
16053
15730
  body: data,
16054
15731
  secure: true,
16055
- type: "application/json",
15732
+ type: ContentType.Json,
16056
15733
  format: "json",
16057
15734
  ...params,
16058
15735
  }),
@@ -16078,7 +15755,7 @@ export class Api<
16078
15755
  method: "POST",
16079
15756
  body: data,
16080
15757
  secure: true,
16081
- type: "application/json",
15758
+ type: ContentType.Json,
16082
15759
  format: "json",
16083
15760
  ...params,
16084
15761
  }),
@@ -16105,7 +15782,7 @@ export class Api<
16105
15782
  method: "PUT",
16106
15783
  body: data,
16107
15784
  secure: true,
16108
- type: "application/json",
15785
+ type: ContentType.Json,
16109
15786
  format: "json",
16110
15787
  ...params,
16111
15788
  }),
@@ -16222,7 +15899,7 @@ export class Api<
16222
15899
  method: "POST",
16223
15900
  body: data,
16224
15901
  secure: true,
16225
- type: "application/json",
15902
+ type: ContentType.Json,
16226
15903
  format: "json",
16227
15904
  ...params,
16228
15905
  }),
@@ -16300,7 +15977,7 @@ export class Api<
16300
15977
  query: query,
16301
15978
  body: data,
16302
15979
  secure: true,
16303
- type: "application/json",
15980
+ type: ContentType.Json,
16304
15981
  format: "json",
16305
15982
  ...params,
16306
15983
  }),
@@ -16337,7 +16014,7 @@ export class Api<
16337
16014
  query: query,
16338
16015
  body: data,
16339
16016
  secure: true,
16340
- type: "application/json",
16017
+ type: ContentType.Json,
16341
16018
  format: "json",
16342
16019
  ...params,
16343
16020
  }),
@@ -16368,7 +16045,7 @@ export class Api<
16368
16045
  query: query,
16369
16046
  body: data,
16370
16047
  secure: true,
16371
- type: "application/json",
16048
+ type: ContentType.Json,
16372
16049
  format: "json",
16373
16050
  ...params,
16374
16051
  }),
@@ -16441,7 +16118,7 @@ export class Api<
16441
16118
  method: "POST",
16442
16119
  body: data,
16443
16120
  secure: true,
16444
- type: "application/json",
16121
+ type: ContentType.Json,
16445
16122
  format: "json",
16446
16123
  ...params,
16447
16124
  }),
@@ -16488,7 +16165,7 @@ export class Api<
16488
16165
  method: "PUT",
16489
16166
  body: data,
16490
16167
  secure: true,
16491
- type: "application/json",
16168
+ type: ContentType.Json,
16492
16169
  format: "json",
16493
16170
  ...params,
16494
16171
  }),
@@ -16534,7 +16211,7 @@ export class Api<
16534
16211
  method: "POST",
16535
16212
  body: data,
16536
16213
  secure: true,
16537
- type: "application/json",
16214
+ type: ContentType.Json,
16538
16215
  format: "json",
16539
16216
  ...params,
16540
16217
  }),
@@ -16559,7 +16236,7 @@ export class Api<
16559
16236
  method: "POST",
16560
16237
  body: data,
16561
16238
  secure: true,
16562
- type: "application/json",
16239
+ type: ContentType.Json,
16563
16240
  format: "json",
16564
16241
  ...params,
16565
16242
  }),
@@ -16584,7 +16261,7 @@ export class Api<
16584
16261
  method: "POST",
16585
16262
  body: data,
16586
16263
  secure: true,
16587
- type: "application/json",
16264
+ type: ContentType.Json,
16588
16265
  format: "json",
16589
16266
  ...params,
16590
16267
  }),
@@ -16609,7 +16286,7 @@ export class Api<
16609
16286
  method: "POST",
16610
16287
  body: data,
16611
16288
  secure: true,
16612
- type: "application/json",
16289
+ type: ContentType.Json,
16613
16290
  format: "json",
16614
16291
  ...params,
16615
16292
  }),
@@ -16634,7 +16311,7 @@ export class Api<
16634
16311
  method: "POST",
16635
16312
  body: data,
16636
16313
  secure: true,
16637
- type: "application/json",
16314
+ type: ContentType.Json,
16638
16315
  format: "json",
16639
16316
  ...params,
16640
16317
  }),
@@ -16684,7 +16361,7 @@ export class Api<
16684
16361
  method: "POST",
16685
16362
  body: data,
16686
16363
  secure: true,
16687
- type: "application/json",
16364
+ type: ContentType.Json,
16688
16365
  format: "json",
16689
16366
  ...params,
16690
16367
  }),
@@ -16717,7 +16394,7 @@ export class Api<
16717
16394
  query: query,
16718
16395
  body: data,
16719
16396
  secure: true,
16720
- type: "application/json",
16397
+ type: ContentType.Json,
16721
16398
  format: "json",
16722
16399
  ...params,
16723
16400
  }),
@@ -16762,7 +16439,7 @@ export class Api<
16762
16439
  method: "PUT",
16763
16440
  body: data,
16764
16441
  secure: true,
16765
- type: "application/json",
16442
+ type: ContentType.Json,
16766
16443
  format: "json",
16767
16444
  ...params,
16768
16445
  }),
@@ -16846,7 +16523,7 @@ export class Api<
16846
16523
  method: "POST",
16847
16524
  body: data,
16848
16525
  secure: true,
16849
- type: "application/json",
16526
+ type: ContentType.Json,
16850
16527
  format: "json",
16851
16528
  ...params,
16852
16529
  }),
@@ -16895,7 +16572,7 @@ export class Api<
16895
16572
  method: "PUT",
16896
16573
  body: data,
16897
16574
  secure: true,
16898
- type: "application/json",
16575
+ type: ContentType.Json,
16899
16576
  format: "json",
16900
16577
  ...params,
16901
16578
  }),
@@ -16937,7 +16614,16 @@ export class Api<
16937
16614
  query?: {
16938
16615
  showAll?: boolean;
16939
16616
  /** @default "Realtor" */
16940
- role?: GetPartnersParamsRoleEnum;
16617
+ role?:
16618
+ | "Borrower"
16619
+ | "LoanOfficer"
16620
+ | "Admin"
16621
+ | "SuperAdmin"
16622
+ | "Realtor"
16623
+ | "SettlementAgent"
16624
+ | "LoanProcessor"
16625
+ | "LoanOfficerAssistant"
16626
+ | "SystemAdmin";
16941
16627
  /** @format int32 */
16942
16628
  pageSize?: number;
16943
16629
  /** @format int32 */
@@ -16984,7 +16670,7 @@ export class Api<
16984
16670
  query: query,
16985
16671
  body: data,
16986
16672
  secure: true,
16987
- type: "application/json",
16673
+ type: ContentType.Json,
16988
16674
  format: "json",
16989
16675
  ...params,
16990
16676
  }),
@@ -17029,7 +16715,7 @@ export class Api<
17029
16715
  method: "POST",
17030
16716
  body: data,
17031
16717
  secure: true,
17032
- type: "application/json",
16718
+ type: ContentType.Json,
17033
16719
  format: "json",
17034
16720
  ...params,
17035
16721
  }),
@@ -17083,7 +16769,7 @@ export class Api<
17083
16769
  query: query,
17084
16770
  body: data,
17085
16771
  secure: true,
17086
- type: "application/json",
16772
+ type: ContentType.Json,
17087
16773
  format: "json",
17088
16774
  ...params,
17089
16775
  }),
@@ -17128,7 +16814,7 @@ export class Api<
17128
16814
  method: "POST",
17129
16815
  body: data,
17130
16816
  secure: true,
17131
- type: "application/json",
16817
+ type: ContentType.Json,
17132
16818
  format: "json",
17133
16819
  ...params,
17134
16820
  }),
@@ -17180,7 +16866,7 @@ export class Api<
17180
16866
  method: "POST",
17181
16867
  body: data,
17182
16868
  secure: true,
17183
- type: "application/json",
16869
+ type: ContentType.Json,
17184
16870
  format: "json",
17185
16871
  ...params,
17186
16872
  }),
@@ -17237,7 +16923,7 @@ export class Api<
17237
16923
  query: query,
17238
16924
  body: data,
17239
16925
  secure: true,
17240
- type: "application/json",
16926
+ type: ContentType.Json,
17241
16927
  format: "json",
17242
16928
  ...params,
17243
16929
  }),
@@ -17273,7 +16959,7 @@ export class Api<
17273
16959
  * @response `404` `ProblemDetails` Not Found
17274
16960
  */
17275
16961
  getSamlMetadata: (
17276
- sSoIntegration: GetSamlMetadataParamsEnum,
16962
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
17277
16963
  ssoIntegration: string,
17278
16964
  params: RequestParams = {},
17279
16965
  ) =>
@@ -17295,7 +16981,7 @@ export class Api<
17295
16981
  * @response `200` `File` OK
17296
16982
  */
17297
16983
  createOrReplaceSamlMetadata: (
17298
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
16984
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
17299
16985
  ssoIntegration: string,
17300
16986
  params: RequestParams = {},
17301
16987
  ) =>
@@ -17420,7 +17106,7 @@ export class Api<
17420
17106
  method: "POST",
17421
17107
  body: data,
17422
17108
  secure: true,
17423
- type: "application/json",
17109
+ type: ContentType.Json,
17424
17110
  format: "json",
17425
17111
  ...params,
17426
17112
  }),
@@ -17454,7 +17140,7 @@ export class Api<
17454
17140
  query: query,
17455
17141
  body: data,
17456
17142
  secure: true,
17457
- type: "application/json",
17143
+ type: ContentType.Json,
17458
17144
  format: "json",
17459
17145
  ...params,
17460
17146
  }),
@@ -17475,7 +17161,7 @@ export class Api<
17475
17161
  query?: {
17476
17162
  /** @format uuid */
17477
17163
  siteConfigurationId?: string;
17478
- location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
17164
+ location?: "HomePage" | "Dashboard";
17479
17165
  },
17480
17166
  params: RequestParams = {},
17481
17167
  ) =>
@@ -17532,7 +17218,7 @@ export class Api<
17532
17218
  method: "PUT",
17533
17219
  body: data,
17534
17220
  secure: true,
17535
- type: "application/json",
17221
+ type: ContentType.Json,
17536
17222
  format: "json",
17537
17223
  ...params,
17538
17224
  }),
@@ -17575,7 +17261,7 @@ export class Api<
17575
17261
  method: "POST",
17576
17262
  body: data,
17577
17263
  secure: true,
17578
- type: "application/json",
17264
+ type: ContentType.Json,
17579
17265
  format: "json",
17580
17266
  ...params,
17581
17267
  }),
@@ -17623,7 +17309,7 @@ export class Api<
17623
17309
  method: "POST",
17624
17310
  body: data,
17625
17311
  secure: true,
17626
- type: "application/json",
17312
+ type: ContentType.Json,
17627
17313
  format: "json",
17628
17314
  ...params,
17629
17315
  }),
@@ -17675,7 +17361,7 @@ export class Api<
17675
17361
  method: "POST",
17676
17362
  body: data,
17677
17363
  secure: true,
17678
- type: "application/json",
17364
+ type: ContentType.Json,
17679
17365
  format: "json",
17680
17366
  ...params,
17681
17367
  }),
@@ -17717,7 +17403,7 @@ export class Api<
17717
17403
  method: "PUT",
17718
17404
  body: data,
17719
17405
  secure: true,
17720
- type: "application/json",
17406
+ type: ContentType.Json,
17721
17407
  format: "json",
17722
17408
  ...params,
17723
17409
  }),
@@ -17769,7 +17455,7 @@ export class Api<
17769
17455
  query: query,
17770
17456
  body: data,
17771
17457
  secure: true,
17772
- type: "application/json",
17458
+ type: ContentType.Json,
17773
17459
  format: "json",
17774
17460
  ...params,
17775
17461
  }),
@@ -17792,7 +17478,7 @@ export class Api<
17792
17478
  method: "POST",
17793
17479
  body: data,
17794
17480
  secure: true,
17795
- type: "application/json",
17481
+ type: ContentType.Json,
17796
17482
  ...params,
17797
17483
  }),
17798
17484
 
@@ -17825,7 +17511,7 @@ export class Api<
17825
17511
  query: query,
17826
17512
  body: data,
17827
17513
  secure: true,
17828
- type: "application/json",
17514
+ type: ContentType.Json,
17829
17515
  format: "json",
17830
17516
  ...params,
17831
17517
  }),
@@ -17869,7 +17555,7 @@ export class Api<
17869
17555
  method: "POST",
17870
17556
  body: data,
17871
17557
  secure: true,
17872
- type: "application/json",
17558
+ type: ContentType.Json,
17873
17559
  format: "json",
17874
17560
  ...params,
17875
17561
  }),
@@ -17893,7 +17579,7 @@ export class Api<
17893
17579
  method: "PUT",
17894
17580
  body: data,
17895
17581
  secure: true,
17896
- type: "application/json",
17582
+ type: ContentType.Json,
17897
17583
  format: "json",
17898
17584
  ...params,
17899
17585
  }),
@@ -17936,7 +17622,7 @@ export class Api<
17936
17622
  method: "POST",
17937
17623
  body: data,
17938
17624
  secure: true,
17939
- type: "application/json",
17625
+ type: ContentType.Json,
17940
17626
  format: "json",
17941
17627
  ...params,
17942
17628
  }),
@@ -17988,7 +17674,7 @@ export class Api<
17988
17674
  query: query,
17989
17675
  body: data,
17990
17676
  secure: true,
17991
- type: "application/json",
17677
+ type: ContentType.Json,
17992
17678
  format: "json",
17993
17679
  ...params,
17994
17680
  }),
@@ -18162,7 +17848,7 @@ export class Api<
18162
17848
  method: "POST",
18163
17849
  body: data,
18164
17850
  secure: true,
18165
- type: "application/json",
17851
+ type: ContentType.Json,
18166
17852
  format: "json",
18167
17853
  ...params,
18168
17854
  }),
@@ -18263,7 +17949,7 @@ export class Api<
18263
17949
  method: "POST",
18264
17950
  body: data,
18265
17951
  secure: true,
18266
- type: "application/json",
17952
+ type: ContentType.Json,
18267
17953
  format: "json",
18268
17954
  ...params,
18269
17955
  }),
@@ -18329,7 +18015,7 @@ export class Api<
18329
18015
  method: "POST",
18330
18016
  body: data,
18331
18017
  secure: true,
18332
- type: "application/json",
18018
+ type: ContentType.Json,
18333
18019
  format: "json",
18334
18020
  ...params,
18335
18021
  }),
@@ -18400,7 +18086,7 @@ export class Api<
18400
18086
  query: query,
18401
18087
  body: data,
18402
18088
  secure: true,
18403
- type: "application/json",
18089
+ type: ContentType.Json,
18404
18090
  format: "json",
18405
18091
  ...params,
18406
18092
  }),
@@ -18497,7 +18183,7 @@ export class Api<
18497
18183
  method: "PUT",
18498
18184
  body: data,
18499
18185
  secure: true,
18500
- type: "application/json",
18186
+ type: ContentType.Json,
18501
18187
  format: "json",
18502
18188
  ...params,
18503
18189
  }),
@@ -18539,7 +18225,7 @@ export class Api<
18539
18225
  method: "POST",
18540
18226
  body: data,
18541
18227
  secure: true,
18542
- type: "application/json",
18228
+ type: ContentType.Json,
18543
18229
  format: "json",
18544
18230
  ...params,
18545
18231
  }),
@@ -18565,7 +18251,7 @@ export class Api<
18565
18251
  method: "POST",
18566
18252
  body: data,
18567
18253
  secure: true,
18568
- type: "application/json",
18254
+ type: ContentType.Json,
18569
18255
  ...params,
18570
18256
  }),
18571
18257
 
@@ -18590,7 +18276,7 @@ export class Api<
18590
18276
  method: "POST",
18591
18277
  body: data,
18592
18278
  secure: true,
18593
- type: "application/json",
18279
+ type: ContentType.Json,
18594
18280
  ...params,
18595
18281
  }),
18596
18282
 
@@ -18676,7 +18362,7 @@ export class Api<
18676
18362
  method: "POST",
18677
18363
  body: data,
18678
18364
  secure: true,
18679
- type: "application/json",
18365
+ type: ContentType.Json,
18680
18366
  ...params,
18681
18367
  }),
18682
18368
 
@@ -18716,7 +18402,7 @@ export class Api<
18716
18402
  method: "POST",
18717
18403
  body: data,
18718
18404
  secure: true,
18719
- type: "application/json",
18405
+ type: ContentType.Json,
18720
18406
  ...params,
18721
18407
  }),
18722
18408
 
@@ -18781,7 +18467,7 @@ export class Api<
18781
18467
  method: "POST",
18782
18468
  body: data,
18783
18469
  secure: true,
18784
- type: "application/json",
18470
+ type: ContentType.Json,
18785
18471
  ...params,
18786
18472
  }),
18787
18473
 
@@ -18805,7 +18491,7 @@ export class Api<
18805
18491
  method: "POST",
18806
18492
  body: data,
18807
18493
  secure: true,
18808
- type: "application/json",
18494
+ type: ContentType.Json,
18809
18495
  ...params,
18810
18496
  }),
18811
18497
 
@@ -18848,7 +18534,7 @@ export class Api<
18848
18534
  method: "POST",
18849
18535
  body: data,
18850
18536
  secure: true,
18851
- type: "application/json",
18537
+ type: ContentType.Json,
18852
18538
  ...params,
18853
18539
  }),
18854
18540
 
@@ -18941,7 +18627,7 @@ export class Api<
18941
18627
  method: "POST",
18942
18628
  body: data,
18943
18629
  secure: true,
18944
- type: "application/json",
18630
+ type: ContentType.Json,
18945
18631
  format: "json",
18946
18632
  ...params,
18947
18633
  }),
@@ -18974,7 +18660,7 @@ export class Api<
18974
18660
  query: query,
18975
18661
  body: data,
18976
18662
  secure: true,
18977
- type: "application/json",
18663
+ type: ContentType.Json,
18978
18664
  format: "json",
18979
18665
  ...params,
18980
18666
  }),
@@ -18995,7 +18681,7 @@ export class Api<
18995
18681
  method: "POST",
18996
18682
  body: data,
18997
18683
  secure: true,
18998
- type: "application/json",
18684
+ type: ContentType.Json,
18999
18685
  format: "json",
19000
18686
  ...params,
19001
18687
  }),
@@ -19017,7 +18703,7 @@ export class Api<
19017
18703
  method: "POST",
19018
18704
  body: data,
19019
18705
  secure: true,
19020
- type: "application/json",
18706
+ type: ContentType.Json,
19021
18707
  format: "json",
19022
18708
  ...params,
19023
18709
  }),
@@ -19043,7 +18729,7 @@ export class Api<
19043
18729
  method: "PUT",
19044
18730
  body: data,
19045
18731
  secure: true,
19046
- type: "application/json",
18732
+ type: ContentType.Json,
19047
18733
  format: "json",
19048
18734
  ...params,
19049
18735
  }),
@@ -19109,7 +18795,7 @@ export class Api<
19109
18795
  method: "POST",
19110
18796
  body: data,
19111
18797
  secure: true,
19112
- type: "application/json",
18798
+ type: ContentType.Json,
19113
18799
  ...params,
19114
18800
  }),
19115
18801
 
@@ -19131,7 +18817,7 @@ export class Api<
19131
18817
  method: "POST",
19132
18818
  body: data,
19133
18819
  secure: true,
19134
- type: "application/json",
18820
+ type: ContentType.Json,
19135
18821
  ...params,
19136
18822
  }),
19137
18823
 
@@ -19156,7 +18842,7 @@ export class Api<
19156
18842
  method: "POST",
19157
18843
  body: data,
19158
18844
  secure: true,
19159
- type: "application/json",
18845
+ type: ContentType.Json,
19160
18846
  ...params,
19161
18847
  }),
19162
18848
 
@@ -19181,7 +18867,7 @@ export class Api<
19181
18867
  method: "POST",
19182
18868
  body: data,
19183
18869
  secure: true,
19184
- type: "application/json",
18870
+ type: ContentType.Json,
19185
18871
  ...params,
19186
18872
  }),
19187
18873
 
@@ -19224,7 +18910,7 @@ export class Api<
19224
18910
  method: "PUT",
19225
18911
  body: data,
19226
18912
  secure: true,
19227
- type: "application/json",
18913
+ type: ContentType.Json,
19228
18914
  ...params,
19229
18915
  }),
19230
18916
 
@@ -19266,7 +18952,7 @@ export class Api<
19266
18952
  method: "PUT",
19267
18953
  body: data,
19268
18954
  secure: true,
19269
- type: "application/json",
18955
+ type: ContentType.Json,
19270
18956
  format: "json",
19271
18957
  ...params,
19272
18958
  }),
@@ -19290,7 +18976,7 @@ export class Api<
19290
18976
  method: "PUT",
19291
18977
  body: data,
19292
18978
  secure: true,
19293
- type: "application/json",
18979
+ type: ContentType.Json,
19294
18980
  format: "json",
19295
18981
  ...params,
19296
18982
  }),
@@ -19367,7 +19053,7 @@ export class Api<
19367
19053
  method: "POST",
19368
19054
  body: data,
19369
19055
  secure: true,
19370
- type: "application/json",
19056
+ type: ContentType.Json,
19371
19057
  ...params,
19372
19058
  }),
19373
19059
 
@@ -19387,7 +19073,7 @@ export class Api<
19387
19073
  method: "POST",
19388
19074
  body: data,
19389
19075
  secure: true,
19390
- type: "application/json",
19076
+ type: ContentType.Json,
19391
19077
  format: "json",
19392
19078
  ...params,
19393
19079
  }),