@matech/thebigpos-sdk 2.49.3-rc1 → 2.49.7-rc0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -307,7 +307,12 @@ export type LoanGiftSource =
307
307
  | "Lender"
308
308
  | "Other"
309
309
  | "Institutional"
310
- | "Borrower";
310
+ | "Borrower"
311
+ | "NonOriginatingLender"
312
+ | "NonParentRelative"
313
+ | "Parent"
314
+ | "PropertySeller"
315
+ | "UnrelatedFriend";
311
316
 
312
317
  export type LoanGiftAssetType = "Cash" | "Asset" | "Equity" | "Grant";
313
318
 
@@ -738,7 +743,7 @@ export interface AccountBilling {
738
743
  }
739
744
 
740
745
  export interface AccountBillingRequest {
741
- billingType: AccountBillingRequestBillingTypeEnum;
746
+ billingType: "ClosedLoan" | "LoanOfficer";
742
747
  /** @format double */
743
748
  contractedRate: number;
744
749
  }
@@ -771,7 +776,7 @@ export interface Action {
771
776
  comments?: string | null;
772
777
  /** @format uuid */
773
778
  siteConfigurationID: string;
774
- applicationSettings?: any | null;
779
+ applicationSettings?: any;
775
780
  surveysToken?: string | null;
776
781
  }
777
782
 
@@ -1010,7 +1015,37 @@ export interface AiAuditLog {
1010
1015
  conversationId?: string | null;
1011
1016
  /** @format uuid */
1012
1017
  messageId?: string | null;
1013
- eventType: AiAuditLogEventTypeEnum;
1018
+ eventType:
1019
+ | "Error"
1020
+ | "GuardrailBlockedPre"
1021
+ | "GuardrailPassedPre"
1022
+ | "IntentClassified"
1023
+ | "LoanResolvedFromMessage"
1024
+ | "DocumentNotFound"
1025
+ | "GuardrailBlockedPost"
1026
+ | "GuardrailPassedPost"
1027
+ | "DocumentAnalyzed"
1028
+ | "DocumentList"
1029
+ | "DocumentResolutionAmbiguous"
1030
+ | "ResponseGenerated"
1031
+ | "ParametersExtracted"
1032
+ | "QueryExecuted"
1033
+ | "LoanContextNotFound"
1034
+ | "LoanContextLoaded"
1035
+ | "GuardrailBlockedBedrock"
1036
+ | "PromptMatched"
1037
+ | "QueryCondensed"
1038
+ | "IntentParseFailed"
1039
+ | "LoanSearchTermDiscarded"
1040
+ | "CanonicalFieldsSelected"
1041
+ | "LoanAccessDenied"
1042
+ | "AgentModelCall"
1043
+ | "AgentToolCallRequested"
1044
+ | "AgentToolCallCompleted"
1045
+ | "AgentToolCallFailed"
1046
+ | "AgentLoopLimitReached"
1047
+ | "RequestCancelled"
1048
+ | "KnowledgeBaseRetrieved";
1014
1049
  modelId?: string | null;
1015
1050
  /** @format int32 */
1016
1051
  inputTokens?: number | null;
@@ -1023,7 +1058,7 @@ export interface AiAuditLog {
1023
1058
  guardrailCategory?: string | null;
1024
1059
  rawRequest?: string | null;
1025
1060
  rawResponse?: string | null;
1026
- details?: any | null;
1061
+ details?: any;
1027
1062
  /** @format date-time */
1028
1063
  createdAt: string;
1029
1064
  }
@@ -1092,7 +1127,18 @@ export interface AiChatMessagePaginated {
1092
1127
  }
1093
1128
 
1094
1129
  export interface AiChatMetadata {
1095
- intent: AiChatMetadataIntentEnum;
1130
+ intent:
1131
+ | "Greeting"
1132
+ | "Invalid"
1133
+ | "Relevant"
1134
+ | "LoanSpecific"
1135
+ | "DocumentList"
1136
+ | "GeneralKnowledge"
1137
+ | "Blocked"
1138
+ | "Action"
1139
+ | "ConversationMeta"
1140
+ | "Capabilities"
1141
+ | "UsageReport";
1096
1142
  fieldsAccessed: string[];
1097
1143
  /** @format int64 */
1098
1144
  queryTimeMs: number;
@@ -1120,7 +1166,12 @@ export interface AiChatRequest {
1120
1166
  }
1121
1167
 
1122
1168
  export interface AiChatStructuredData {
1123
- type: AiChatStructuredDataTypeEnum;
1169
+ type:
1170
+ | "Table"
1171
+ | "DocumentAnalysis"
1172
+ | "DocumentList"
1173
+ | "GeneratedDocument"
1174
+ | "CitedPassages";
1124
1175
  displayHint?: AiDisplayHint | null;
1125
1176
  detectedDocumentType?: string | null;
1126
1177
  columns: string[];
@@ -1214,7 +1265,7 @@ export interface AiGuardrail {
1214
1265
  /** @format uuid */
1215
1266
  id: string;
1216
1267
  name: string;
1217
- category: AiGuardrailCategoryEnum;
1268
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1218
1269
  description?: string | null;
1219
1270
  keywords: string[];
1220
1271
  responseTemplate: string;
@@ -1351,8 +1402,8 @@ export interface AiUrlSource {
1351
1402
  name: string;
1352
1403
  url: string;
1353
1404
  description?: string | null;
1354
- category: AiUrlSourceCategoryEnum;
1355
- scope: AiUrlSourceScopeEnum;
1405
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1406
+ scope: "FullDomain" | "SpecificPath";
1356
1407
  isActive: boolean;
1357
1408
  isDefault: boolean;
1358
1409
  hasAccountOverride: boolean;
@@ -1465,14 +1516,22 @@ export interface AuditLogEntry {
1465
1516
  /** @format uuid */
1466
1517
  id: string;
1467
1518
  entityType: string;
1468
- changeType: AuditLogEntryChangeTypeEnum;
1519
+ changeType:
1520
+ | "Created"
1521
+ | "Modified"
1522
+ | "SoftDeleted"
1523
+ | "HardDeleted"
1524
+ | "Restored"
1525
+ | "Deactivated"
1526
+ | "Reactivated"
1527
+ | "Accessed";
1469
1528
  /** @format uuid */
1470
1529
  entityId: string;
1471
1530
  performedBy?: AuditLogUser | null;
1472
1531
  rootEntityType?: string | null;
1473
1532
  /** @format uuid */
1474
1533
  rootEntityId?: string | null;
1475
- changes?: any | null;
1534
+ changes?: any;
1476
1535
  /** @format date-time */
1477
1536
  createdAt: string;
1478
1537
  }
@@ -1517,7 +1576,20 @@ export interface BorrowerCount {
1517
1576
  firstName: string;
1518
1577
  lastName: string;
1519
1578
  email: string;
1520
- role: BorrowerCountRoleEnum;
1579
+ role:
1580
+ | "Borrower"
1581
+ | "CoBorrower"
1582
+ | "NonBorrower"
1583
+ | "LoanOfficer"
1584
+ | "LoanProcessor"
1585
+ | "LoanOfficerAssistant"
1586
+ | "SupportingLoanOfficer"
1587
+ | "BuyerAgent"
1588
+ | "SellerAgent"
1589
+ | "TitleInsuranceAgent"
1590
+ | "EscrowAgent"
1591
+ | "SettlementAgent"
1592
+ | "Admin";
1521
1593
  /** @format int32 */
1522
1594
  count: number;
1523
1595
  }
@@ -1528,7 +1600,20 @@ export interface BorrowerIdentity {
1528
1600
  firstName: string;
1529
1601
  lastName: string;
1530
1602
  email: string;
1531
- role: BorrowerIdentityRoleEnum;
1603
+ role:
1604
+ | "Borrower"
1605
+ | "CoBorrower"
1606
+ | "NonBorrower"
1607
+ | "LoanOfficer"
1608
+ | "LoanProcessor"
1609
+ | "LoanOfficerAssistant"
1610
+ | "SupportingLoanOfficer"
1611
+ | "BuyerAgent"
1612
+ | "SellerAgent"
1613
+ | "TitleInsuranceAgent"
1614
+ | "EscrowAgent"
1615
+ | "SettlementAgent"
1616
+ | "Admin";
1532
1617
  }
1533
1618
 
1534
1619
  export interface BorrowersNotUsingPosSummary {
@@ -1714,13 +1799,13 @@ export interface CompanyDocument {
1714
1799
  folderId: string;
1715
1800
  folderName: string;
1716
1801
  name: string;
1717
- sourceType: CompanyDocumentSourceTypeEnum;
1802
+ sourceType: "File" | "FreeText";
1718
1803
  contentType?: string | null;
1719
1804
  /** @format int64 */
1720
1805
  fileSizeBytes: number;
1721
1806
  inlineContent?: string | null;
1722
1807
  previewImage?: string | null;
1723
- indexStatus: CompanyDocumentIndexStatusEnum;
1808
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1724
1809
  indexError?: string | null;
1725
1810
  /** @format date-time */
1726
1811
  indexedAt?: string | null;
@@ -1744,6 +1829,15 @@ export interface CompanyDocumentFolder {
1744
1829
  createdAt: string;
1745
1830
  /** @format date-time */
1746
1831
  updatedAt?: string | null;
1832
+ files?: CompanyDocumentFolderFile[] | null;
1833
+ }
1834
+
1835
+ export interface CompanyDocumentFolderFile {
1836
+ /** @format uuid */
1837
+ id: string;
1838
+ name: string;
1839
+ sourceType: "File" | "FreeText";
1840
+ indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
1747
1841
  }
1748
1842
 
1749
1843
  export interface CompanyDocumentPaginated {
@@ -1848,7 +1942,7 @@ export interface CorporateSearchCriteria {
1848
1942
  }
1849
1943
 
1850
1944
  export interface CreateAccessScopeRequest {
1851
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1945
+ scopeType: "User" | "Branch";
1852
1946
  /** @format uuid */
1853
1947
  userId?: string | null;
1854
1948
  /** @format uuid */
@@ -1867,7 +1961,7 @@ export interface CreateAccountRequest {
1867
1961
  /** @format int64 */
1868
1962
  nlmsid: number;
1869
1963
  settings: AccountSettingsRequest;
1870
- environment: CreateAccountRequestEnvironmentEnum;
1964
+ environment: "Development" | "Staging" | "UAT" | "Production";
1871
1965
  losIntegration: LOSIntegration;
1872
1966
  billingSettings: AccountBillingRequest;
1873
1967
  }
@@ -1883,7 +1977,7 @@ export interface CreateAiCanonicalFieldRequest {
1883
1977
 
1884
1978
  export interface CreateAiGuardrailRequest {
1885
1979
  name: string;
1886
- category: CreateAiGuardrailRequestCategoryEnum;
1980
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1887
1981
  description?: string | null;
1888
1982
  keywords: string[];
1889
1983
  responseTemplate: string;
@@ -1916,8 +2010,8 @@ export interface CreateAiUrlSourceRequest {
1916
2010
  name: string;
1917
2011
  url: string;
1918
2012
  description?: string | null;
1919
- category: CreateAiUrlSourceRequestCategoryEnum;
1920
- scope: CreateAiUrlSourceRequestScopeEnum;
2013
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
2014
+ scope: "FullDomain" | "SpecificPath";
1921
2015
  }
1922
2016
 
1923
2017
  export interface CreateBranchRequest {
@@ -1954,8 +2048,15 @@ export interface CreateCustomFieldDefinitionRequest {
1954
2048
  name: string;
1955
2049
  defaultValue?: string | null;
1956
2050
  regexPattern?: string | null;
1957
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1958
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
2051
+ dataType:
2052
+ | "String"
2053
+ | "Number"
2054
+ | "Decimal"
2055
+ | "Boolean"
2056
+ | "Date"
2057
+ | "SingleSelect"
2058
+ | "MultiSelect";
2059
+ entityType: "Loan";
1959
2060
  options?: CustomFieldOptionRequest[] | null;
1960
2061
  permissions?: CustomFieldPermissionRequest[] | null;
1961
2062
  }
@@ -1975,7 +2076,20 @@ export interface CreateDocumentTemplateRequest {
1975
2076
  export interface CreateGroupMemberRequest {
1976
2077
  /** @format uuid */
1977
2078
  userId: string;
1978
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
2079
+ loanRole:
2080
+ | "Borrower"
2081
+ | "CoBorrower"
2082
+ | "NonBorrower"
2083
+ | "LoanOfficer"
2084
+ | "LoanProcessor"
2085
+ | "LoanOfficerAssistant"
2086
+ | "SupportingLoanOfficer"
2087
+ | "BuyerAgent"
2088
+ | "SellerAgent"
2089
+ | "TitleInsuranceAgent"
2090
+ | "EscrowAgent"
2091
+ | "SettlementAgent"
2092
+ | "Admin";
1979
2093
  }
1980
2094
 
1981
2095
  export interface CreateInviteRequest {
@@ -1984,7 +2098,7 @@ export interface CreateInviteRequest {
1984
2098
  emailAddress: string;
1985
2099
  phoneNumber?: string | null;
1986
2100
  /** @deprecated */
1987
- relationship: CreateInviteRequestRelationshipEnum;
2101
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1988
2102
  loanID: string;
1989
2103
  route?: string | null;
1990
2104
  /** @format uuid */
@@ -2006,7 +2120,7 @@ export interface CreateLoanImportRequest {
2006
2120
  endDate: string;
2007
2121
  /** @format date-time */
2008
2122
  startDate: string;
2009
- importMode: CreateLoanImportRequestImportModeEnum;
2123
+ importMode: "All" | "NewOnly" | "UpdateOnly";
2010
2124
  }
2011
2125
 
2012
2126
  export interface CreateSession {
@@ -2028,7 +2142,20 @@ export interface CreateUserDeviceRequest {
2028
2142
  }
2029
2143
 
2030
2144
  export interface CreateUserDraft {
2031
- loanRole: CreateUserDraftLoanRoleEnum;
2145
+ loanRole:
2146
+ | "Borrower"
2147
+ | "CoBorrower"
2148
+ | "NonBorrower"
2149
+ | "LoanOfficer"
2150
+ | "LoanProcessor"
2151
+ | "LoanOfficerAssistant"
2152
+ | "SupportingLoanOfficer"
2153
+ | "BuyerAgent"
2154
+ | "SellerAgent"
2155
+ | "TitleInsuranceAgent"
2156
+ | "EscrowAgent"
2157
+ | "SettlementAgent"
2158
+ | "Admin";
2032
2159
  }
2033
2160
 
2034
2161
  export interface CreateUserGroupRequest {
@@ -2096,8 +2223,15 @@ export interface CustomFieldDefinition {
2096
2223
  name: string;
2097
2224
  defaultValue?: string | null;
2098
2225
  regexPattern?: string | null;
2099
- dataType: CustomFieldDefinitionDataTypeEnum;
2100
- entityType: CustomFieldDefinitionEntityTypeEnum;
2226
+ dataType:
2227
+ | "String"
2228
+ | "Number"
2229
+ | "Decimal"
2230
+ | "Boolean"
2231
+ | "Date"
2232
+ | "SingleSelect"
2233
+ | "MultiSelect";
2234
+ entityType: "Loan";
2101
2235
  options: CustomFieldOption[];
2102
2236
  permissions: CustomFieldPermission[];
2103
2237
  encompassMapping?: EncompassMapping | null;
@@ -2112,7 +2246,14 @@ export interface CustomFieldEntry {
2112
2246
  displayOrder: number;
2113
2247
  name: string;
2114
2248
  value: string;
2115
- dataType: CustomFieldEntryDataTypeEnum;
2249
+ dataType:
2250
+ | "String"
2251
+ | "Number"
2252
+ | "Decimal"
2253
+ | "Boolean"
2254
+ | "Date"
2255
+ | "SingleSelect"
2256
+ | "MultiSelect";
2116
2257
  }
2117
2258
 
2118
2259
  export interface CustomFieldOption {
@@ -2132,13 +2273,31 @@ export interface CustomFieldOptionRequest {
2132
2273
  export interface CustomFieldPermission {
2133
2274
  /** @format uuid */
2134
2275
  id: string;
2135
- role: CustomFieldPermissionRoleEnum;
2136
- accessLevel: CustomFieldPermissionAccessLevelEnum;
2276
+ role:
2277
+ | "Borrower"
2278
+ | "LoanOfficer"
2279
+ | "Admin"
2280
+ | "SuperAdmin"
2281
+ | "Realtor"
2282
+ | "SettlementAgent"
2283
+ | "LoanProcessor"
2284
+ | "LoanOfficerAssistant"
2285
+ | "SystemAdmin";
2286
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2137
2287
  }
2138
2288
 
2139
2289
  export interface CustomFieldPermissionRequest {
2140
- role: CustomFieldPermissionRequestRoleEnum;
2141
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
2290
+ role:
2291
+ | "Borrower"
2292
+ | "LoanOfficer"
2293
+ | "Admin"
2294
+ | "SuperAdmin"
2295
+ | "Realtor"
2296
+ | "SettlementAgent"
2297
+ | "LoanProcessor"
2298
+ | "LoanOfficerAssistant"
2299
+ | "SystemAdmin";
2300
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
2142
2301
  }
2143
2302
 
2144
2303
  export interface CustomFieldValue {
@@ -2150,7 +2309,14 @@ export interface CustomFieldValue {
2150
2309
  customFieldDefinitionID: string;
2151
2310
  value: string;
2152
2311
  definitionName: string;
2153
- dataType: CustomFieldValueDataTypeEnum;
2312
+ dataType:
2313
+ | "String"
2314
+ | "Number"
2315
+ | "Decimal"
2316
+ | "Boolean"
2317
+ | "Date"
2318
+ | "SingleSelect"
2319
+ | "MultiSelect";
2154
2320
  }
2155
2321
 
2156
2322
  export interface DetailedUser {
@@ -2398,7 +2564,7 @@ export interface Draft {
2398
2564
  siteConfiguration: SiteConfigurationReduced;
2399
2565
  /** @format uuid */
2400
2566
  loanID?: string | null;
2401
- type: DraftTypeEnum;
2567
+ type: "NewLoan" | "EditLoan";
2402
2568
  isCoBorrower: boolean;
2403
2569
  }
2404
2570
 
@@ -2417,7 +2583,7 @@ export interface DraftContent {
2417
2583
  siteConfiguration: SiteConfigurationReduced;
2418
2584
  /** @format uuid */
2419
2585
  loanID?: string | null;
2420
- type: DraftContentTypeEnum;
2586
+ type: "NewLoan" | "EditLoan";
2421
2587
  isCoBorrower: boolean;
2422
2588
  applicationPayload: any;
2423
2589
  }
@@ -2436,7 +2602,7 @@ export interface DraftLoanOfficerReassignRequest {
2436
2602
 
2437
2603
  export interface DraftRequest {
2438
2604
  applicationPayload: any;
2439
- customData?: any | null;
2605
+ customData?: any;
2440
2606
  isCoBorrower: boolean;
2441
2607
  }
2442
2608
 
@@ -2510,9 +2676,9 @@ export interface EncompassCredentialsDetail {
2510
2676
  clearStateIfUnlicensed: boolean;
2511
2677
  /** @deprecated */
2512
2678
  baseUrl?: string | null;
2513
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2679
+ encompassEnvironment: "Production" | "UAT";
2514
2680
  consumerConnectWidgetHost?: string | null;
2515
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2681
+ signingMethod: "ConsumerConnect" | "POSF";
2516
2682
  subscriptionId?: string | null;
2517
2683
  environment?: string | null;
2518
2684
  /** @format uuid */
@@ -2529,9 +2695,9 @@ export interface EncompassCredentialsRequest {
2529
2695
  clearStateIfUnlicensed: boolean;
2530
2696
  /** @deprecated */
2531
2697
  baseUrl?: string | null;
2532
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2698
+ encompassEnvironment: "Production" | "UAT";
2533
2699
  consumerConnectWidgetHost?: string | null;
2534
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2700
+ signingMethod: "ConsumerConnect" | "POSF";
2535
2701
  subscriptionId?: string | null;
2536
2702
  environment?: string | null;
2537
2703
  clientID?: string | null;
@@ -2653,8 +2819,16 @@ export interface EncompassRequestLog {
2653
2819
  losId?: string | null;
2654
2820
  /** @format uuid */
2655
2821
  accountId: string;
2656
- operationType: EncompassRequestLogOperationTypeEnum;
2657
- outcome: EncompassRequestLogOutcomeEnum;
2822
+ operationType:
2823
+ | "FieldUpdate"
2824
+ | "ConsentUpdate"
2825
+ | "DocumentSync"
2826
+ | "MilestoneUpdate"
2827
+ | "DocumentAttachment"
2828
+ | "General"
2829
+ | "FieldReader"
2830
+ | "Read";
2831
+ outcome: "Success" | "Failure" | "PartialSuccess";
2658
2832
  message: string;
2659
2833
  endpoint?: string | null;
2660
2834
  httpMethod?: string | null;
@@ -2662,7 +2836,7 @@ export interface EncompassRequestLog {
2662
2836
  httpStatusCode?: number | null;
2663
2837
  /** @format int64 */
2664
2838
  durationMs?: number | null;
2665
- context?: any | null;
2839
+ context?: any;
2666
2840
  /** @format date-time */
2667
2841
  createdAt: string;
2668
2842
  }
@@ -2715,7 +2889,7 @@ export interface FileSearchCriteria {
2715
2889
  export interface FileWithBytes {
2716
2890
  name: string;
2717
2891
  /** @format byte */
2718
- data: Blob;
2892
+ data: string;
2719
2893
  fileName: string;
2720
2894
  mimeType?: string | null;
2721
2895
  extension?: string | null;
@@ -2794,7 +2968,7 @@ export interface FormSubmission {
2794
2968
  subjectPropertyAddressCounty?: string | null;
2795
2969
  subjectPropertyAddressState?: string | null;
2796
2970
  subjectPropertyAddressZip?: string | null;
2797
- data?: any | null;
2971
+ data?: any;
2798
2972
  /** @format uuid */
2799
2973
  listingID?: string | null;
2800
2974
  listing?: Listing | null;
@@ -2832,7 +3006,7 @@ export interface FormSubmissionRequest {
2832
3006
  subjectPropertyAddressCounty?: string | null;
2833
3007
  subjectPropertyAddressState?: string | null;
2834
3008
  subjectPropertyAddressZip?: string | null;
2835
- data?: any | null;
3009
+ data?: any;
2836
3010
  /** @format uuid */
2837
3011
  listingID?: string | null;
2838
3012
  }
@@ -2887,7 +3061,20 @@ export interface FusionFieldDisplay {
2887
3061
  }
2888
3062
 
2889
3063
  export interface FusionReportFilter {
2890
- filterType: FusionReportFilterFilterTypeEnum;
3064
+ filterType:
3065
+ | "DateGreaterThanOrEqualTo"
3066
+ | "DateGreaterThan"
3067
+ | "DateLessThan"
3068
+ | "DateLessThanOrEqualTo"
3069
+ | "DateEquals"
3070
+ | "DateDoesntEqual"
3071
+ | "DateNonEmpty"
3072
+ | "DateEmpty"
3073
+ | "StringContains"
3074
+ | "StringEquals"
3075
+ | "StringNotEmpty"
3076
+ | "StringNotEquals"
3077
+ | "StringNotContains";
2891
3078
  targetField: string;
2892
3079
  targetValue: string;
2893
3080
  }
@@ -2910,7 +3097,7 @@ export interface GenerateSystemPrompt {
2910
3097
 
2911
3098
  export interface GenerateSystemPromptRequest {
2912
3099
  description: string;
2913
- category: GenerateSystemPromptRequestCategoryEnum;
3100
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2914
3101
  }
2915
3102
 
2916
3103
  export interface GetApplications {
@@ -3006,12 +3193,45 @@ export interface GetWorkflowRequest {
3006
3193
  export interface GuidPatchOperation {
3007
3194
  op: string;
3008
3195
  path: string;
3009
- value?: any | null;
3196
+ value?: any;
3010
3197
  from?: string | null;
3011
3198
  }
3012
3199
 
3013
3200
  export interface IPAddress {
3014
- addressFamily: IpAddressAddressFamilyEnum;
3201
+ addressFamily:
3202
+ | "Unspecified"
3203
+ | "Unix"
3204
+ | "InterNetwork"
3205
+ | "ImpLink"
3206
+ | "Pup"
3207
+ | "Chaos"
3208
+ | "NS"
3209
+ | "Ipx"
3210
+ | "Iso"
3211
+ | "Osi"
3212
+ | "Ecma"
3213
+ | "DataKit"
3214
+ | "Ccitt"
3215
+ | "Sna"
3216
+ | "DecNet"
3217
+ | "DataLink"
3218
+ | "Lat"
3219
+ | "HyperChannel"
3220
+ | "AppleTalk"
3221
+ | "NetBios"
3222
+ | "VoiceView"
3223
+ | "FireFox"
3224
+ | "Banyan"
3225
+ | "Atm"
3226
+ | "InterNetworkV6"
3227
+ | "Cluster"
3228
+ | "Ieee12844"
3229
+ | "Irda"
3230
+ | "NetworkDesigners"
3231
+ | "Max"
3232
+ | "Packet"
3233
+ | "ControllerAreaNetwork"
3234
+ | "Unknown";
3015
3235
  /** @format int64 */
3016
3236
  scopeId: number;
3017
3237
  isIPv6Multicast: boolean;
@@ -3278,7 +3498,7 @@ export interface Loan {
3278
3498
  contacts: LoanContact[];
3279
3499
  customFields: CustomFieldEntry[];
3280
3500
  milestones: LoanMilestone[];
3281
- signingMethod: LoanSigningMethodEnum;
3501
+ signingMethod: "ConsumerConnect" | "POSF";
3282
3502
  }
3283
3503
 
3284
3504
  export interface LoanApplication {
@@ -3318,7 +3538,7 @@ export interface LoanApplicationRequest {
3318
3538
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3319
3539
  /** @format uuid */
3320
3540
  draftId?: string | null;
3321
- additionalFields?: Record<string, any> | null;
3541
+ additionalFields?: Record<string, any>;
3322
3542
  /** @format uuid */
3323
3543
  existingLoanId?: string | null;
3324
3544
  }
@@ -3338,7 +3558,7 @@ export interface LoanBorrower {
3338
3558
  citizenship?: LoanCitizenship | null;
3339
3559
  maritalStatus?: LoanMaritalStatus | null;
3340
3560
  languagePreference?: LoanLanguagePreference | null;
3341
- applicationStatus: LoanBorrowerApplicationStatusEnum;
3561
+ applicationStatus: "Draft" | "Complete";
3342
3562
  /** @format int32 */
3343
3563
  numberOfDependents?: number | null;
3344
3564
  /** @format int32 */
@@ -3604,6 +3824,7 @@ export interface LoanBorrowerEmploymentCurrent {
3604
3824
  startDate?: string | null;
3605
3825
  isSelfEmployed?: boolean | null;
3606
3826
  isEmployedByPartyInTransaction?: boolean | null;
3827
+ isCurrentEmployer?: boolean | null;
3607
3828
  address?: AddressV3 | null;
3608
3829
  ownership?: LoanBorrowerEmploymentCurrentOwnership | null;
3609
3830
  grossIncome?: LoanBorrowerEmploymentCurrentGrossIncome | null;
@@ -3654,6 +3875,8 @@ export interface LoanBorrowerEmploymentCurrentOwnership {
3654
3875
  isOwner?: boolean | null;
3655
3876
  hasOwnershipOver25Percent?: boolean | null;
3656
3877
  /** @format double */
3878
+ ownershipPercentage?: number | null;
3879
+ /** @format double */
3657
3880
  monthlyIncome?: number | null;
3658
3881
  }
3659
3882
 
@@ -3661,6 +3884,8 @@ export interface LoanBorrowerEmploymentCurrentOwnershipRequest {
3661
3884
  isOwner?: boolean | null;
3662
3885
  hasOwnershipOver25Percent?: boolean | null;
3663
3886
  /** @format double */
3887
+ ownershipPercentage?: number | null;
3888
+ /** @format double */
3664
3889
  monthlyIncome?: number | null;
3665
3890
  }
3666
3891
 
@@ -4144,7 +4369,7 @@ export interface LoanConsentRequest {
4144
4369
  borrowerEConsent?: boolean | null;
4145
4370
  borrowerCreditAuth?: boolean | null;
4146
4371
  borrowerTCPAOptIn?: boolean | null;
4147
- additionalFields?: Record<string, string> | null;
4372
+ additionalFields?: Record<string, string>;
4148
4373
  }
4149
4374
 
4150
4375
  export interface LoanContact {
@@ -4163,7 +4388,20 @@ export interface LoanContact {
4163
4388
  email?: string | null;
4164
4389
  phone?: string | null;
4165
4390
  companyName?: string | null;
4166
- role: LoanContactRoleEnum;
4391
+ role:
4392
+ | "Borrower"
4393
+ | "CoBorrower"
4394
+ | "NonBorrower"
4395
+ | "LoanOfficer"
4396
+ | "LoanProcessor"
4397
+ | "LoanOfficerAssistant"
4398
+ | "SupportingLoanOfficer"
4399
+ | "BuyerAgent"
4400
+ | "SellerAgent"
4401
+ | "TitleInsuranceAgent"
4402
+ | "EscrowAgent"
4403
+ | "SettlementAgent"
4404
+ | "Admin";
4167
4405
  }
4168
4406
 
4169
4407
  export interface LoanContactList {
@@ -4188,7 +4426,7 @@ export interface LoanCostDetails {
4188
4426
  }
4189
4427
 
4190
4428
  export interface LoanCustomFieldsRequest {
4191
- additionalFields?: Record<string, string> | null;
4429
+ additionalFields?: Record<string, string>;
4192
4430
  }
4193
4431
 
4194
4432
  export interface LoanDocument {
@@ -4249,15 +4487,41 @@ export interface LoanDocumentFolderPermission {
4249
4487
  id: string;
4250
4488
  /** @format uuid */
4251
4489
  loanDocumentFolderID: string;
4252
- role: LoanDocumentFolderPermissionRoleEnum;
4253
- level: LoanDocumentFolderPermissionLevelEnum;
4254
- readScope: LoanDocumentFolderPermissionReadScopeEnum;
4490
+ role:
4491
+ | "Borrower"
4492
+ | "CoBorrower"
4493
+ | "NonBorrower"
4494
+ | "LoanOfficer"
4495
+ | "LoanProcessor"
4496
+ | "LoanOfficerAssistant"
4497
+ | "SupportingLoanOfficer"
4498
+ | "BuyerAgent"
4499
+ | "SellerAgent"
4500
+ | "TitleInsuranceAgent"
4501
+ | "EscrowAgent"
4502
+ | "SettlementAgent"
4503
+ | "Admin";
4504
+ level: "None" | "Read" | "Write" | "Manage";
4505
+ readScope: "Own" | "All";
4255
4506
  }
4256
4507
 
4257
4508
  export interface LoanDocumentFolderPermissionRequest {
4258
- role: LoanDocumentFolderPermissionRequestRoleEnum;
4259
- level: LoanDocumentFolderPermissionRequestLevelEnum;
4260
- readScope: LoanDocumentFolderPermissionRequestReadScopeEnum;
4509
+ role:
4510
+ | "Borrower"
4511
+ | "CoBorrower"
4512
+ | "NonBorrower"
4513
+ | "LoanOfficer"
4514
+ | "LoanProcessor"
4515
+ | "LoanOfficerAssistant"
4516
+ | "SupportingLoanOfficer"
4517
+ | "BuyerAgent"
4518
+ | "SellerAgent"
4519
+ | "TitleInsuranceAgent"
4520
+ | "EscrowAgent"
4521
+ | "SettlementAgent"
4522
+ | "Admin";
4523
+ level: "None" | "Read" | "Write" | "Manage";
4524
+ readScope: "Own" | "All";
4261
4525
  }
4262
4526
 
4263
4527
  export interface LoanDocumentFolderSearchCriteria {
@@ -4432,14 +4696,19 @@ export interface LoanImport {
4432
4696
  /** @format int32 */
4433
4697
  importedCount: number;
4434
4698
  statusMessage?: string | null;
4435
- status: LoanImportStatusEnum;
4436
- importMode: LoanImportImportModeEnum;
4699
+ status:
4700
+ | "WaitingProcess"
4701
+ | "InProgress"
4702
+ | "Completed"
4703
+ | "Failed"
4704
+ | "Cancelled";
4705
+ importMode: "All" | "NewOnly" | "UpdateOnly";
4437
4706
  /** @format date-time */
4438
4707
  createdAt?: string | null;
4439
4708
  }
4440
4709
 
4441
4710
  export interface LoanImportLog {
4442
- level: LoanImportLogLevelEnum;
4711
+ level: "None" | "Info" | "Warning" | "Error";
4443
4712
  message: string;
4444
4713
  /** @format date-time */
4445
4714
  createdAt: string;
@@ -4500,8 +4769,26 @@ export interface LoanListPaginated {
4500
4769
  export interface LoanLog {
4501
4770
  /** @format uuid */
4502
4771
  id: string;
4503
- level: LoanLogLevelEnum;
4504
- type: LoanLogTypeEnum;
4772
+ level: "None" | "Info" | "Warning" | "Error";
4773
+ type:
4774
+ | "Loan"
4775
+ | "Queue"
4776
+ | "POSFlagChanged"
4777
+ | "Verification"
4778
+ | "DocumentUploaded"
4779
+ | "LoanCreated"
4780
+ | "WorkflowSubmitted"
4781
+ | "UserInvitationSent"
4782
+ | "CoBorrowerAdded"
4783
+ | "TaskCompleted"
4784
+ | "LoanStatusChanged"
4785
+ | "Consent"
4786
+ | "SensitiveDataPurge"
4787
+ | "ClosingDateUpdated"
4788
+ | "ConsumerConnectAssociation"
4789
+ | "TaskReminderSent"
4790
+ | "DocumentClassified"
4791
+ | "CoBorrowerEmailAutoFixed";
4505
4792
  message: string;
4506
4793
  /** @format date-time */
4507
4794
  createdAt: string;
@@ -4510,8 +4797,26 @@ export interface LoanLog {
4510
4797
  export interface LoanLogDetail {
4511
4798
  /** @format uuid */
4512
4799
  id: string;
4513
- level: LoanLogDetailLevelEnum;
4514
- type: LoanLogDetailTypeEnum;
4800
+ level: "None" | "Info" | "Warning" | "Error";
4801
+ type:
4802
+ | "Loan"
4803
+ | "Queue"
4804
+ | "POSFlagChanged"
4805
+ | "Verification"
4806
+ | "DocumentUploaded"
4807
+ | "LoanCreated"
4808
+ | "WorkflowSubmitted"
4809
+ | "UserInvitationSent"
4810
+ | "CoBorrowerAdded"
4811
+ | "TaskCompleted"
4812
+ | "LoanStatusChanged"
4813
+ | "Consent"
4814
+ | "SensitiveDataPurge"
4815
+ | "ClosingDateUpdated"
4816
+ | "ConsumerConnectAssociation"
4817
+ | "TaskReminderSent"
4818
+ | "DocumentClassified"
4819
+ | "CoBorrowerEmailAutoFixed";
4515
4820
  message: string;
4516
4821
  /** @format date-time */
4517
4822
  createdAt: string;
@@ -4795,7 +5100,7 @@ export interface LoanQueueWithData {
4795
5100
  user: UserPublic;
4796
5101
  loanOfficer: LoanOfficerPublic;
4797
5102
  siteConfiguration: SiteConfigurationReduced;
4798
- data?: any | null;
5103
+ data?: any;
4799
5104
  }
4800
5105
 
4801
5106
  export interface LoanRecord {
@@ -4831,7 +5136,7 @@ export interface LoanTaskSearchRequest {
4831
5136
  }
4832
5137
 
4833
5138
  export interface LoanTaskStatusSummary {
4834
- status: LoanTaskStatusSummaryStatusEnum;
5139
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
4835
5140
  /** @format int32 */
4836
5141
  count: number;
4837
5142
  }
@@ -4844,7 +5149,20 @@ export interface LoanUser {
4844
5149
  email: string;
4845
5150
  phone?: string | null;
4846
5151
  role: string;
4847
- loanRole: LoanUserLoanRoleEnum;
5152
+ loanRole:
5153
+ | "Borrower"
5154
+ | "CoBorrower"
5155
+ | "NonBorrower"
5156
+ | "LoanOfficer"
5157
+ | "LoanProcessor"
5158
+ | "LoanOfficerAssistant"
5159
+ | "SupportingLoanOfficer"
5160
+ | "BuyerAgent"
5161
+ | "SellerAgent"
5162
+ | "TitleInsuranceAgent"
5163
+ | "EscrowAgent"
5164
+ | "SettlementAgent"
5165
+ | "Admin";
4848
5166
  isUser: boolean;
4849
5167
  /** @format date-time */
4850
5168
  createdAt: string;
@@ -4853,7 +5171,13 @@ export interface LoanUser {
4853
5171
  export interface LosCredentialHealth {
4854
5172
  /** @format uuid */
4855
5173
  accountId: string;
4856
- status: LosCredentialHealthStatusEnum;
5174
+ status:
5175
+ | "Unknown"
5176
+ | "Healthy"
5177
+ | "InvalidCredentials"
5178
+ | "Forbidden"
5179
+ | "TransportError"
5180
+ | "NotConfigured";
4857
5181
  /** @format date-time */
4858
5182
  checkedAtUtc: string;
4859
5183
  message: string;
@@ -4872,8 +5196,8 @@ export interface LosIntegration {
4872
5196
  accountId: string;
4873
5197
  accountName?: string | null;
4874
5198
  instanceID: string;
4875
- encompassEnvironment: LosIntegrationEncompassEnvironmentEnum;
4876
- signingMethod: LosIntegrationSigningMethodEnum;
5199
+ encompassEnvironment: "Production" | "UAT";
5200
+ signingMethod: "ConsumerConnect" | "POSF";
4877
5201
  consumerConnectWidgetHost?: string | null;
4878
5202
  defaultLoanOfficerUserName?: string | null;
4879
5203
  loanTemplate?: string | null;
@@ -4892,8 +5216,8 @@ export interface LosIntegrationCredentials {
4892
5216
  /** @format uuid */
4893
5217
  accountID: string;
4894
5218
  instanceID: string;
4895
- encompassEnvironment: LosIntegrationCredentialsEncompassEnvironmentEnum;
4896
- signingMethod: LosIntegrationCredentialsSigningMethodEnum;
5219
+ encompassEnvironment: "Production" | "UAT";
5220
+ signingMethod: "ConsumerConnect" | "POSF";
4897
5221
  consumerConnectWidgetHost?: string | null;
4898
5222
  defaultLoanOfficerUserName?: string | null;
4899
5223
  loanTemplate?: string | null;
@@ -4961,7 +5285,13 @@ export interface LosOperationTracking {
4961
5285
  operationType: string;
4962
5286
  correlationKey: string;
4963
5287
  lastTriggerSource?: string | null;
4964
- status: LosOperationTrackingStatusEnum;
5288
+ status:
5289
+ | "Pending"
5290
+ | "Success"
5291
+ | "Failed"
5292
+ | "ConfigurationError"
5293
+ | "PermanentFailure"
5294
+ | "Locked";
4965
5295
  /** @format date-time */
4966
5296
  createdAt: string;
4967
5297
  /** @format date-time */
@@ -5055,7 +5385,7 @@ export interface LosSyncStep {
5055
5385
  /** @format int32 */
5056
5386
  order: number;
5057
5387
  name: string;
5058
- severity: LosSyncStepSeverityEnum;
5388
+ severity: "Success" | "Info" | "Warning" | "Error";
5059
5389
  message: string;
5060
5390
  /** @format date-time */
5061
5391
  atUtc: string;
@@ -5078,13 +5408,13 @@ export interface LosWebhookEntry {
5078
5408
  /** @format uuid */
5079
5409
  subscriptionId?: string | null;
5080
5410
  enableSubscription?: boolean | null;
5081
- status: LosWebhookEntryStatusEnum;
5411
+ status: "Registered" | "Disabled" | "Missing" | "Extra";
5082
5412
  }
5083
5413
 
5084
5414
  export interface LosWebhookInventory {
5085
5415
  /** @format uuid */
5086
5416
  accountId: string;
5087
- overallStatus: LosWebhookInventoryOverallStatusEnum;
5417
+ overallStatus: "Unknown" | "Healthy" | "Disabled" | "Missing";
5088
5418
  entries: LosWebhookEntry[];
5089
5419
  /** @format int32 */
5090
5420
  missingCount: number;
@@ -5094,7 +5424,71 @@ export interface LosWebhookInventory {
5094
5424
  }
5095
5425
 
5096
5426
  export interface ManualDocumentClassificationRequest {
5097
- documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
5427
+ documentType:
5428
+ | "W2"
5429
+ | "Paystub"
5430
+ | "Form1099"
5431
+ | "Form1099Int"
5432
+ | "Form1099Misc"
5433
+ | "Form1099Nec"
5434
+ | "Form1099R"
5435
+ | "Form1099G"
5436
+ | "Form1099Div"
5437
+ | "Form1099Ssa"
5438
+ | "FederalTaxReturn1040"
5439
+ | "TaxReturnScheduleC"
5440
+ | "TaxReturnScheduleD"
5441
+ | "TaxReturnScheduleE"
5442
+ | "Form1065"
5443
+ | "Form1120"
5444
+ | "Form1120S"
5445
+ | "ProfitAndLossStatement"
5446
+ | "VerificationOfEmployment"
5447
+ | "BankStatement"
5448
+ | "InvestmentStatement"
5449
+ | "CreditCardStatement"
5450
+ | "MortgageStatement"
5451
+ | "PayoffStatement"
5452
+ | "HoaDocuments"
5453
+ | "UtilityBill"
5454
+ | "IdentityDocument"
5455
+ | "DemographicAddendum"
5456
+ | "Ssa89"
5457
+ | "Vba260551"
5458
+ | "Hud92900B"
5459
+ | "Check"
5460
+ | "Invoice"
5461
+ | "Receipt"
5462
+ | "LoanApplication1003"
5463
+ | "UnderwritingTransmittal1008"
5464
+ | "Other"
5465
+ | "SalesContract"
5466
+ | "TitleCommitment"
5467
+ | "DriversLicense"
5468
+ | "VerificationOfIncome"
5469
+ | "VerificationOfAssets"
5470
+ | "FloodCertificate"
5471
+ | "FraudReport"
5472
+ | "AddendumToSalesContract"
5473
+ | "GiftLetter"
5474
+ | "CpaLetter"
5475
+ | "TaxBill"
5476
+ | "CondoQuestionnaire"
5477
+ | "CondoBudget"
5478
+ | "CondoBylaws"
5479
+ | "RentalAgreements"
5480
+ | "Lease"
5481
+ | "HazardInsurance"
5482
+ | "VaCertificateOfEligibility"
5483
+ | "Appraisal"
5484
+ | "CreditReport"
5485
+ | "CondoMasterPolicy"
5486
+ | "EConsent"
5487
+ | "CreditAuthorization"
5488
+ | "TextOptIn"
5489
+ | "LoanComparison"
5490
+ | "AiGeneratedDocument"
5491
+ | "Unidentified";
5098
5492
  }
5099
5493
 
5100
5494
  export interface MdmUser {
@@ -5185,7 +5579,7 @@ export interface ModuleParameterValue {
5185
5579
  parameterID: string;
5186
5580
  parameterName: string;
5187
5581
  parameterType: string;
5188
- value?: any | null;
5582
+ value?: any;
5189
5583
  isInherited: boolean;
5190
5584
  }
5191
5585
 
@@ -5371,7 +5765,7 @@ export interface NotificationTemplateVersionUpdateRequest {
5371
5765
 
5372
5766
  export interface Operation {
5373
5767
  op?: string;
5374
- value?: object | null;
5768
+ value?: string | number | boolean | null | object;
5375
5769
  path?: string;
5376
5770
  }
5377
5771
 
@@ -5743,7 +6137,7 @@ export interface SiteConfiguration {
5743
6137
  deletedAt?: string | null;
5744
6138
  /** @format uuid */
5745
6139
  id: string;
5746
- type: SiteConfigurationTypeEnum;
6140
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5747
6141
  /** @format uuid */
5748
6142
  entityID: string;
5749
6143
  /** @format int32 */
@@ -5938,7 +6332,7 @@ export interface SiteConfigurationByUrl {
5938
6332
  deletedAt?: string | null;
5939
6333
  /** @format uuid */
5940
6334
  id: string;
5941
- type: SiteConfigurationByUrlTypeEnum;
6335
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5942
6336
  /** @format uuid */
5943
6337
  entityID: string;
5944
6338
  /** @format int32 */
@@ -6151,7 +6545,7 @@ export interface SiteConfigurationForm {
6151
6545
  export interface SiteConfigurationReduced {
6152
6546
  /** @format uuid */
6153
6547
  id: string;
6154
- type: SiteConfigurationReducedTypeEnum;
6548
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6155
6549
  url?: string | null;
6156
6550
  name: string;
6157
6551
  /** @format int64 */
@@ -6169,7 +6563,7 @@ export interface SiteConfigurationRequest {
6169
6563
  entityID: string;
6170
6564
  /** @format int32 */
6171
6565
  entityType: number;
6172
- type: SiteConfigurationRequestTypeEnum;
6566
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6173
6567
  url: string;
6174
6568
  name: string;
6175
6569
  introduction?: string | null;
@@ -6347,7 +6741,7 @@ export interface SiteConfigurationSearchCriteria {
6347
6741
  export interface SiteConfigurationSummary {
6348
6742
  /** @format uuid */
6349
6743
  id: string;
6350
- type: SiteConfigurationSummaryTypeEnum;
6744
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
6351
6745
  url?: string | null;
6352
6746
  name: string;
6353
6747
  /** @format int64 */
@@ -6386,7 +6780,7 @@ export interface SiteTile {
6386
6780
  title: string;
6387
6781
  description: string;
6388
6782
  linkUrl: string;
6389
- linkTarget: SiteTileLinkTargetEnum;
6783
+ linkTarget: "Self" | "Blank";
6390
6784
  siteTypes: SiteConfigurationType[];
6391
6785
  locationAudiences: SiteTileLocationAudience[];
6392
6786
  /** @format int32 */
@@ -6399,12 +6793,12 @@ export interface SiteTile {
6399
6793
  }
6400
6794
 
6401
6795
  export interface SiteTileLocationAudience {
6402
- location: SiteTileLocationAudienceLocationEnum;
6796
+ location: "HomePage" | "Dashboard";
6403
6797
  audience: UserRole[];
6404
6798
  }
6405
6799
 
6406
6800
  export interface SiteTileLocationAudienceRequest {
6407
- location: SiteTileLocationAudienceRequestLocationEnum;
6801
+ location: "HomePage" | "Dashboard";
6408
6802
  audience: UserRole[];
6409
6803
  }
6410
6804
 
@@ -6422,7 +6816,7 @@ export interface SiteTileRequest {
6422
6816
  title: string;
6423
6817
  description: string;
6424
6818
  linkUrl: string;
6425
- linkTarget: SiteTileRequestLinkTargetEnum;
6819
+ linkTarget: "Self" | "Blank";
6426
6820
  siteTypes: SiteConfigurationType[];
6427
6821
  locationAudiences: SiteTileLocationAudienceRequest[];
6428
6822
  /** @format int32 */
@@ -6445,7 +6839,7 @@ export interface SiteTileView {
6445
6839
  title: string;
6446
6840
  description: string;
6447
6841
  linkUrl: string;
6448
- linkTarget: SiteTileViewLinkTargetEnum;
6842
+ linkTarget: "Self" | "Blank";
6449
6843
  /** @format int32 */
6450
6844
  weight: number;
6451
6845
  }
@@ -6701,7 +7095,20 @@ export interface UnregisteredBorrower {
6701
7095
  lastName?: string | null;
6702
7096
  fullName?: string | null;
6703
7097
  email?: string | null;
6704
- role: UnregisteredBorrowerRoleEnum;
7098
+ role:
7099
+ | "Borrower"
7100
+ | "CoBorrower"
7101
+ | "NonBorrower"
7102
+ | "LoanOfficer"
7103
+ | "LoanProcessor"
7104
+ | "LoanOfficerAssistant"
7105
+ | "SupportingLoanOfficer"
7106
+ | "BuyerAgent"
7107
+ | "SellerAgent"
7108
+ | "TitleInsuranceAgent"
7109
+ | "EscrowAgent"
7110
+ | "SettlementAgent"
7111
+ | "Admin";
6705
7112
  }
6706
7113
 
6707
7114
  export interface UpdateAccountRequest {
@@ -6729,7 +7136,7 @@ export interface UpdateAiCanonicalFieldRequest {
6729
7136
 
6730
7137
  export interface UpdateAiGuardrailRequest {
6731
7138
  name: string;
6732
- category: UpdateAiGuardrailRequestCategoryEnum;
7139
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6733
7140
  description?: string | null;
6734
7141
  keywords: string[];
6735
7142
  responseTemplate: string;
@@ -6766,8 +7173,8 @@ export interface UpdateAiUrlSourceRequest {
6766
7173
  name: string;
6767
7174
  url: string;
6768
7175
  description?: string | null;
6769
- category: UpdateAiUrlSourceRequestCategoryEnum;
6770
- scope: UpdateAiUrlSourceRequestScopeEnum;
7176
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
7177
+ scope: "FullDomain" | "SpecificPath";
6771
7178
  }
6772
7179
 
6773
7180
  export interface UpdateCompanyDocumentFolderRequest {
@@ -7099,7 +7506,20 @@ export interface UserDevice {
7099
7506
  export interface UserDraft {
7100
7507
  /** @format uuid */
7101
7508
  draftID: string;
7102
- role: UserDraftRoleEnum;
7509
+ role:
7510
+ | "Borrower"
7511
+ | "CoBorrower"
7512
+ | "NonBorrower"
7513
+ | "LoanOfficer"
7514
+ | "LoanProcessor"
7515
+ | "LoanOfficerAssistant"
7516
+ | "SupportingLoanOfficer"
7517
+ | "BuyerAgent"
7518
+ | "SellerAgent"
7519
+ | "TitleInsuranceAgent"
7520
+ | "EscrowAgent"
7521
+ | "SettlementAgent"
7522
+ | "Admin";
7103
7523
  user: User;
7104
7524
  }
7105
7525
 
@@ -7126,7 +7546,7 @@ export interface UserGroupAccessScope {
7126
7546
  id: string;
7127
7547
  /** @format uuid */
7128
7548
  groupId: string;
7129
- scopeType: UserGroupAccessScopeScopeTypeEnum;
7549
+ scopeType: "User" | "Branch";
7130
7550
  /** @format uuid */
7131
7551
  userId?: string | null;
7132
7552
  /** @format uuid */
@@ -7151,7 +7571,16 @@ export interface UserGroupMemberUserSummary {
7151
7571
  id: string;
7152
7572
  name?: string | null;
7153
7573
  email?: string | null;
7154
- role: UserGroupMemberUserSummaryRoleEnum;
7574
+ role:
7575
+ | "Borrower"
7576
+ | "LoanOfficer"
7577
+ | "Admin"
7578
+ | "SuperAdmin"
7579
+ | "Realtor"
7580
+ | "SettlementAgent"
7581
+ | "LoanProcessor"
7582
+ | "LoanOfficerAssistant"
7583
+ | "SystemAdmin";
7155
7584
  }
7156
7585
 
7157
7586
  export interface UserGroupPaginated {
@@ -7170,7 +7599,20 @@ export interface UserLoan {
7170
7599
  deletedAt?: string | null;
7171
7600
  loanID: string;
7172
7601
  user: User;
7173
- role: UserLoanRoleEnum;
7602
+ role:
7603
+ | "Borrower"
7604
+ | "CoBorrower"
7605
+ | "NonBorrower"
7606
+ | "LoanOfficer"
7607
+ | "LoanProcessor"
7608
+ | "LoanOfficerAssistant"
7609
+ | "SupportingLoanOfficer"
7610
+ | "BuyerAgent"
7611
+ | "SellerAgent"
7612
+ | "TitleInsuranceAgent"
7613
+ | "EscrowAgent"
7614
+ | "SettlementAgent"
7615
+ | "Admin";
7174
7616
  /** @format int32 */
7175
7617
  borrowerPair?: number | null;
7176
7618
  /** @format int32 */
@@ -7183,11 +7625,11 @@ export interface UserLoanConsent {
7183
7625
  id: string;
7184
7626
  /** @format uuid */
7185
7627
  userLoanID: string;
7186
- type: UserLoanConsentTypeEnum;
7628
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
7187
7629
  providedConsent: boolean;
7188
7630
  source?: ConsentSource | null;
7189
7631
  ipAddress?: string | null;
7190
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
7632
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
7191
7633
  /** @format date-time */
7192
7634
  createdAt: string;
7193
7635
  /** @format date-time */
@@ -7381,929 +7823,167 @@ export interface Workflow {
7381
7823
  icon: string;
7382
7824
  }
7383
7825
 
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";
7826
+ import type {
7827
+ AxiosInstance,
7828
+ AxiosRequestConfig,
7829
+ AxiosResponse,
7830
+ HeadersDefaults,
7831
+ ResponseType,
7832
+ } from "axios";
7833
+ import axios from "axios";
7417
7834
 
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";
7835
+ export type QueryParamsType = Record<string | number, any>;
7430
7836
 
7431
- export type AiChatStructuredDataTypeEnum =
7432
- | "Table"
7433
- | "DocumentAnalysis"
7434
- | "DocumentList"
7435
- | "GeneratedDocument"
7436
- | "CitedPassages";
7837
+ export interface FullRequestParams
7838
+ extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
7839
+ /** set parameter to `true` for call `securityWorker` for this request */
7840
+ secure?: boolean;
7841
+ /** request path */
7842
+ path: string;
7843
+ /** content type of request body */
7844
+ type?: ContentType;
7845
+ /** query params */
7846
+ query?: QueryParamsType;
7847
+ /** format of response (i.e. response.json() -> format: "json") */
7848
+ format?: ResponseType;
7849
+ /** request body */
7850
+ body?: unknown;
7851
+ }
7437
7852
 
7438
- export type AiGuardrailCategoryEnum =
7439
- | "ContentSafety"
7440
- | "PromptInjection"
7441
- | "Privacy"
7442
- | "Legal";
7853
+ export type RequestParams = Omit<
7854
+ FullRequestParams,
7855
+ "body" | "method" | "query" | "path"
7856
+ >;
7443
7857
 
7444
- export type AiUrlSourceCategoryEnum =
7445
- | "Regulatory"
7446
- | "Guidelines"
7447
- | "MarketData"
7448
- | "Custom";
7858
+ export interface ApiConfig<SecurityDataType = unknown>
7859
+ extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
7860
+ securityWorker?: (
7861
+ securityData: SecurityDataType | null,
7862
+ ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
7863
+ secure?: boolean;
7864
+ format?: ResponseType;
7865
+ }
7449
7866
 
7450
- export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
7867
+ export enum ContentType {
7868
+ JsonPatch = "application/json-patch+json",
7869
+ Json = "application/json",
7870
+ JsonApi = "application/vnd.api+json",
7871
+ FormData = "multipart/form-data",
7872
+ UrlEncoded = "application/x-www-form-urlencoded",
7873
+ Text = "text/plain",
7874
+ }
7451
7875
 
7452
- export type AuditLogEntryChangeTypeEnum =
7453
- | "Created"
7454
- | "Modified"
7455
- | "SoftDeleted"
7456
- | "HardDeleted"
7457
- | "Restored"
7458
- | "Deactivated"
7459
- | "Reactivated"
7460
- | "Accessed";
7876
+ export class HttpClient<SecurityDataType = unknown> {
7877
+ public instance: AxiosInstance;
7878
+ private securityData: SecurityDataType | null = null;
7879
+ private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
7880
+ private secure?: boolean;
7881
+ private format?: ResponseType;
7461
7882
 
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";
7883
+ constructor({
7884
+ securityWorker,
7885
+ secure,
7886
+ format,
7887
+ ...axiosConfig
7888
+ }: ApiConfig<SecurityDataType> = {}) {
7889
+ this.instance = axios.create({
7890
+ ...axiosConfig,
7891
+ baseURL: axiosConfig.baseURL || "",
7892
+ });
7893
+ this.secure = secure;
7894
+ this.format = format;
7895
+ this.securityWorker = securityWorker;
7896
+ }
7476
7897
 
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";
7898
+ public setSecurityData = (data: SecurityDataType | null) => {
7899
+ this.securityData = data;
7900
+ };
7491
7901
 
7492
- export type CompanyDocumentSourceTypeEnum = "File" | "FreeText";
7902
+ protected mergeRequestParams(
7903
+ params1: AxiosRequestConfig,
7904
+ params2?: AxiosRequestConfig,
7905
+ ): AxiosRequestConfig {
7906
+ const method = params1.method || (params2 && params2.method);
7493
7907
 
7494
- export type CompanyDocumentIndexStatusEnum =
7495
- | "Uploaded"
7496
- | "Indexing"
7497
- | "Indexed"
7498
- | "Failed";
7908
+ return {
7909
+ ...this.instance.defaults,
7910
+ ...params1,
7911
+ ...(params2 || {}),
7912
+ headers: {
7913
+ ...((method &&
7914
+ this.instance.defaults.headers[
7915
+ method.toLowerCase() as keyof HeadersDefaults
7916
+ ]) ||
7917
+ {}),
7918
+ ...(params1.headers || {}),
7919
+ ...((params2 && params2.headers) || {}),
7920
+ },
7921
+ };
7922
+ }
7499
7923
 
7500
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
7924
+ protected stringifyFormItem(formItem: unknown) {
7925
+ if (typeof formItem === "object" && formItem !== null) {
7926
+ return JSON.stringify(formItem);
7927
+ } else {
7928
+ return `${formItem}`;
7929
+ }
7930
+ }
7501
7931
 
7502
- export type CreateAccountRequestEnvironmentEnum =
7503
- | "Development"
7504
- | "Staging"
7505
- | "UAT"
7506
- | "Production";
7932
+ protected createFormData(input: Record<string, unknown>): FormData {
7933
+ if (input instanceof FormData) {
7934
+ return input;
7935
+ }
7936
+ return Object.keys(input || {}).reduce((formData, key) => {
7937
+ const property = input[key];
7938
+ const propertyContent: any[] =
7939
+ property instanceof Array ? property : [property];
7507
7940
 
7508
- export type CreateAiGuardrailRequestCategoryEnum =
7509
- | "ContentSafety"
7510
- | "PromptInjection"
7511
- | "Privacy"
7512
- | "Legal";
7941
+ for (const formItem of propertyContent) {
7942
+ const isFileType = formItem instanceof Blob || formItem instanceof File;
7943
+ formData.append(
7944
+ key,
7945
+ isFileType ? formItem : this.stringifyFormItem(formItem),
7946
+ );
7947
+ }
7513
7948
 
7514
- export type CreateAiUrlSourceRequestCategoryEnum =
7515
- | "Regulatory"
7516
- | "Guidelines"
7517
- | "MarketData"
7518
- | "Custom";
7949
+ return formData;
7950
+ }, new FormData());
7951
+ }
7519
7952
 
7520
- export type CreateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7953
+ public request = async <T = any, _E = any>({
7954
+ secure,
7955
+ path,
7956
+ type,
7957
+ query,
7958
+ format,
7959
+ body,
7960
+ ...params
7961
+ }: FullRequestParams): Promise<AxiosResponse<T>> => {
7962
+ const secureParams =
7963
+ ((typeof secure === "boolean" ? secure : this.secure) &&
7964
+ this.securityWorker &&
7965
+ (await this.securityWorker(this.securityData))) ||
7966
+ {};
7967
+ const requestParams = this.mergeRequestParams(params, secureParams);
7968
+ const responseFormat = format || this.format || undefined;
7521
7969
 
7522
- export type CreateCustomFieldDefinitionRequestDataTypeEnum =
7523
- | "String"
7524
- | "Number"
7525
- | "Decimal"
7526
- | "Boolean"
7527
- | "Date"
7528
- | "SingleSelect"
7529
- | "MultiSelect";
7970
+ if (
7971
+ type === ContentType.FormData &&
7972
+ body &&
7973
+ body !== null &&
7974
+ typeof body === "object"
7975
+ ) {
7976
+ body = this.createFormData(body as Record<string, unknown>);
7977
+ }
7530
7978
 
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";
8023
-
8024
- export type SiteTileRequestLinkTargetEnum = "Self" | "Blank";
8025
-
8026
- export type SiteTileViewLinkTargetEnum = "Self" | "Blank";
8027
-
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";
8042
-
8043
- export type UpdateAiGuardrailRequestCategoryEnum =
8044
- | "ContentSafety"
8045
- | "PromptInjection"
8046
- | "Privacy"
8047
- | "Legal";
8048
-
8049
- export type UpdateAiUrlSourceRequestCategoryEnum =
8050
- | "Regulatory"
8051
- | "Guidelines"
8052
- | "MarketData"
8053
- | "Custom";
8054
-
8055
- export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
8056
-
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";
8071
-
8072
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
8073
-
8074
- export type UserGroupMemberUserSummaryRoleEnum =
8075
- | "Borrower"
8076
- | "LoanOfficer"
8077
- | "Admin"
8078
- | "SuperAdmin"
8079
- | "Realtor"
8080
- | "SettlementAgent"
8081
- | "LoanProcessor"
8082
- | "LoanOfficerAssistant"
8083
- | "SystemAdmin";
8084
-
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";
8099
-
8100
- export type UserLoanConsentTypeEnum =
8101
- | "Econsent"
8102
- | "CreditAuthorization"
8103
- | "Tcpa";
8104
-
8105
- export type UserLoanConsentLosSyncStatusEnum =
8106
- | "NotStarted"
8107
- | "Failed"
8108
- | "Success";
8109
-
8110
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
8111
-
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";
8123
-
8124
- export type GetSamlMetadataParamsSSoIntegrationEnum =
8125
- | "ConsumerConnect"
8126
- | "TheBigPOS"
8127
- | "POSF";
8128
-
8129
- export type GetSamlMetadataParamsEnum =
8130
- | "ConsumerConnect"
8131
- | "TheBigPOS"
8132
- | "POSF";
8133
-
8134
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
8135
- | "ConsumerConnect"
8136
- | "TheBigPOS"
8137
- | "POSF";
8138
-
8139
- export type CreateOrReplaceSamlMetadataParamsEnum =
8140
- | "ConsumerConnect"
8141
- | "TheBigPOS"
8142
- | "POSF";
8143
-
8144
- export type GetSiteTilesBySiteConfigurationParamsLocationEnum =
8145
- | "HomePage"
8146
- | "Dashboard";
8147
-
8148
- import type {
8149
- AxiosInstance,
8150
- AxiosRequestConfig,
8151
- AxiosResponse,
8152
- HeadersDefaults,
8153
- ResponseType,
8154
- } from "axios";
8155
- import axios from "axios";
8156
-
8157
- export type QueryParamsType = Record<string | number, any>;
8158
-
8159
- export interface FullRequestParams
8160
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
8161
- /** set parameter to `true` for call `securityWorker` for this request */
8162
- secure?: boolean;
8163
- /** request path */
8164
- path: string;
8165
- /** content type of request body */
8166
- type?: ContentType;
8167
- /** query params */
8168
- query?: QueryParamsType;
8169
- /** format of response (i.e. response.json() -> format: "json") */
8170
- format?: ResponseType;
8171
- /** request body */
8172
- body?: unknown;
8173
- }
8174
-
8175
- export type RequestParams = Omit<
8176
- FullRequestParams,
8177
- "body" | "method" | "query" | "path"
8178
- >;
8179
-
8180
- export interface ApiConfig<SecurityDataType = unknown>
8181
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
8182
- securityWorker?: (
8183
- securityData: SecurityDataType | null,
8184
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
8185
- secure?: boolean;
8186
- format?: ResponseType;
8187
- }
8188
-
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";
8195
-
8196
- export class HttpClient<SecurityDataType = unknown> {
8197
- public instance: AxiosInstance;
8198
- private securityData: SecurityDataType | null = null;
8199
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
8200
- private secure?: boolean;
8201
- private format?: ResponseType;
8202
-
8203
- constructor({
8204
- securityWorker,
8205
- secure,
8206
- format,
8207
- ...axiosConfig
8208
- }: ApiConfig<SecurityDataType> = {}) {
8209
- this.instance = axios.create({
8210
- ...axiosConfig,
8211
- baseURL: axiosConfig.baseURL || "",
8212
- });
8213
- this.secure = secure;
8214
- this.format = format;
8215
- this.securityWorker = securityWorker;
8216
- }
8217
-
8218
- public setSecurityData = (data: SecurityDataType | null) => {
8219
- this.securityData = data;
8220
- };
8221
-
8222
- protected mergeRequestParams(
8223
- params1: AxiosRequestConfig,
8224
- params2?: AxiosRequestConfig,
8225
- ): AxiosRequestConfig {
8226
- const method = params1.method || (params2 && params2.method);
8227
-
8228
- return {
8229
- ...this.instance.defaults,
8230
- ...params1,
8231
- ...(params2 || {}),
8232
- headers: {
8233
- ...((method &&
8234
- this.instance.defaults.headers[
8235
- method.toLowerCase() as keyof HeadersDefaults
8236
- ]) ||
8237
- {}),
8238
- ...(params1.headers || {}),
8239
- ...((params2 && params2.headers) || {}),
8240
- },
8241
- };
8242
- }
8243
-
8244
- protected stringifyFormItem(formItem: unknown) {
8245
- if (typeof formItem === "object" && formItem !== null) {
8246
- return JSON.stringify(formItem);
8247
- } else {
8248
- return `${formItem}`;
8249
- }
8250
- }
8251
-
8252
- protected createFormData(input: Record<string, unknown>): FormData {
8253
- if (input instanceof FormData) {
8254
- return input;
8255
- }
8256
- return Object.keys(input || {}).reduce((formData, key) => {
8257
- const property = input[key];
8258
- const propertyContent: any[] =
8259
- property instanceof Array ? property : [property];
8260
-
8261
- for (const formItem of propertyContent) {
8262
- const isFileType = formItem instanceof Blob || formItem instanceof File;
8263
- formData.append(
8264
- key,
8265
- isFileType ? formItem : this.stringifyFormItem(formItem),
8266
- );
8267
- }
8268
-
8269
- return formData;
8270
- }, new FormData());
8271
- }
8272
-
8273
- public request = async <T = any, _E = any>({
8274
- secure,
8275
- path,
8276
- type,
8277
- query,
8278
- format,
8279
- body,
8280
- ...params
8281
- }: FullRequestParams): Promise<AxiosResponse<T>> => {
8282
- const secureParams =
8283
- ((typeof secure === "boolean" ? secure : this.secure) &&
8284
- this.securityWorker &&
8285
- (await this.securityWorker(this.securityData))) ||
8286
- {};
8287
- const requestParams = this.mergeRequestParams(params, secureParams);
8288
- const responseFormat = format || this.format || undefined;
8289
-
8290
- if (
8291
- type === "multipart/form-data" &&
8292
- body &&
8293
- body !== null &&
8294
- typeof body === "object"
8295
- ) {
8296
- body = this.createFormData(body as Record<string, unknown>);
8297
- }
8298
-
8299
- if (
8300
- type === "text/plain" &&
8301
- body &&
8302
- body !== null &&
8303
- typeof body !== "string"
8304
- ) {
8305
- body = JSON.stringify(body);
8306
- }
7979
+ if (
7980
+ type === ContentType.Text &&
7981
+ body &&
7982
+ body !== null &&
7983
+ typeof body !== "string"
7984
+ ) {
7985
+ body = JSON.stringify(body);
7986
+ }
8307
7987
 
8308
7988
  return this.instance.request({
8309
7989
  ...requestParams,
@@ -8321,7 +8001,7 @@ export class HttpClient<SecurityDataType = unknown> {
8321
8001
 
8322
8002
  /**
8323
8003
  * @title The Big POS API
8324
- * @version v2.49.3
8004
+ * @version v2.49.7
8325
8005
  * @termsOfService https://www.thebigpos.com/terms-of-use/
8326
8006
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
8327
8007
  */
@@ -8404,7 +8084,7 @@ export class Api<
8404
8084
  method: "PUT",
8405
8085
  body: data,
8406
8086
  secure: true,
8407
- type: "application/json",
8087
+ type: ContentType.Json,
8408
8088
  format: "json",
8409
8089
  ...params,
8410
8090
  }),
@@ -8448,7 +8128,7 @@ export class Api<
8448
8128
  method: "PUT",
8449
8129
  body: data,
8450
8130
  secure: true,
8451
- type: "application/json",
8131
+ type: ContentType.Json,
8452
8132
  format: "json",
8453
8133
  ...params,
8454
8134
  }),
@@ -8489,7 +8169,7 @@ export class Api<
8489
8169
  method: "POST",
8490
8170
  body: data,
8491
8171
  secure: true,
8492
- type: "application/json",
8172
+ type: ContentType.Json,
8493
8173
  format: "json",
8494
8174
  ...params,
8495
8175
  }),
@@ -8565,7 +8245,7 @@ export class Api<
8565
8245
  method: "PUT",
8566
8246
  body: data,
8567
8247
  secure: true,
8568
- type: "application/json",
8248
+ type: ContentType.Json,
8569
8249
  format: "json",
8570
8250
  ...params,
8571
8251
  }),
@@ -8628,7 +8308,7 @@ export class Api<
8628
8308
  method: "PUT",
8629
8309
  body: data,
8630
8310
  secure: true,
8631
- type: "application/json",
8311
+ type: ContentType.Json,
8632
8312
  ...params,
8633
8313
  }),
8634
8314
 
@@ -8671,7 +8351,7 @@ export class Api<
8671
8351
  method: "PUT",
8672
8352
  body: data,
8673
8353
  secure: true,
8674
- type: "application/json",
8354
+ type: ContentType.Json,
8675
8355
  format: "json",
8676
8356
  ...params,
8677
8357
  }),
@@ -8712,7 +8392,7 @@ export class Api<
8712
8392
  method: "POST",
8713
8393
  body: data,
8714
8394
  secure: true,
8715
- type: "application/json",
8395
+ type: ContentType.Json,
8716
8396
  format: "json",
8717
8397
  ...params,
8718
8398
  }),
@@ -8759,7 +8439,7 @@ export class Api<
8759
8439
  method: "PUT",
8760
8440
  body: data,
8761
8441
  secure: true,
8762
- type: "application/json",
8442
+ type: ContentType.Json,
8763
8443
  format: "json",
8764
8444
  ...params,
8765
8445
  }),
@@ -8825,7 +8505,7 @@ export class Api<
8825
8505
  method: "PUT",
8826
8506
  body: data,
8827
8507
  secure: true,
8828
- type: "application/json",
8508
+ type: ContentType.Json,
8829
8509
  format: "json",
8830
8510
  ...params,
8831
8511
  }),
@@ -8870,7 +8550,7 @@ export class Api<
8870
8550
  method: "POST",
8871
8551
  body: data,
8872
8552
  secure: true,
8873
- type: "application/json",
8553
+ type: ContentType.Json,
8874
8554
  format: "json",
8875
8555
  ...params,
8876
8556
  }),
@@ -8933,7 +8613,7 @@ export class Api<
8933
8613
  method: "PUT",
8934
8614
  body: data,
8935
8615
  secure: true,
8936
- type: "application/json",
8616
+ type: ContentType.Json,
8937
8617
  format: "json",
8938
8618
  ...params,
8939
8619
  }),
@@ -9155,7 +8835,7 @@ export class Api<
9155
8835
  method: "POST",
9156
8836
  body: data,
9157
8837
  secure: true,
9158
- type: "application/json",
8838
+ type: ContentType.Json,
9159
8839
  format: "json",
9160
8840
  ...params,
9161
8841
  }),
@@ -9202,7 +8882,7 @@ export class Api<
9202
8882
  method: "PUT",
9203
8883
  body: data,
9204
8884
  secure: true,
9205
- type: "application/json",
8885
+ type: ContentType.Json,
9206
8886
  format: "json",
9207
8887
  ...params,
9208
8888
  }),
@@ -9265,7 +8945,7 @@ export class Api<
9265
8945
  method: "POST",
9266
8946
  body: data,
9267
8947
  secure: true,
9268
- type: "application/json",
8948
+ type: ContentType.Json,
9269
8949
  format: "json",
9270
8950
  ...params,
9271
8951
  }),
@@ -9346,7 +9026,7 @@ export class Api<
9346
9026
  method: "PATCH",
9347
9027
  body: data,
9348
9028
  secure: true,
9349
- type: "application/json",
9029
+ type: ContentType.Json,
9350
9030
  format: "json",
9351
9031
  ...params,
9352
9032
  }),
@@ -9446,7 +9126,7 @@ export class Api<
9446
9126
  method: "PUT",
9447
9127
  body: data,
9448
9128
  secure: true,
9449
- type: "application/json",
9129
+ type: ContentType.Json,
9450
9130
  format: "json",
9451
9131
  ...params,
9452
9132
  }),
@@ -9574,7 +9254,7 @@ export class Api<
9574
9254
  method: "POST",
9575
9255
  body: data,
9576
9256
  secure: true,
9577
- type: "application/json",
9257
+ type: ContentType.Json,
9578
9258
  format: "json",
9579
9259
  ...params,
9580
9260
  }),
@@ -9621,7 +9301,7 @@ export class Api<
9621
9301
  method: "PUT",
9622
9302
  body: data,
9623
9303
  secure: true,
9624
- type: "application/json",
9304
+ type: ContentType.Json,
9625
9305
  format: "json",
9626
9306
  ...params,
9627
9307
  }),
@@ -9719,7 +9399,7 @@ export class Api<
9719
9399
  query: query,
9720
9400
  body: data,
9721
9401
  secure: true,
9722
- type: "application/json",
9402
+ type: ContentType.Json,
9723
9403
  format: "json",
9724
9404
  ...params,
9725
9405
  }),
@@ -9795,7 +9475,7 @@ export class Api<
9795
9475
  method: "PUT",
9796
9476
  body: data,
9797
9477
  secure: true,
9798
- type: "application/json",
9478
+ type: ContentType.Json,
9799
9479
  format: "json",
9800
9480
  ...params,
9801
9481
  }),
@@ -9840,7 +9520,7 @@ export class Api<
9840
9520
  method: "POST",
9841
9521
  body: data,
9842
9522
  secure: true,
9843
- type: "application/json",
9523
+ type: ContentType.Json,
9844
9524
  format: "json",
9845
9525
  ...params,
9846
9526
  }),
@@ -9888,7 +9568,7 @@ export class Api<
9888
9568
  method: "PUT",
9889
9569
  body: data,
9890
9570
  secure: true,
9891
- type: "application/json",
9571
+ type: ContentType.Json,
9892
9572
  format: "json",
9893
9573
  ...params,
9894
9574
  }),
@@ -10009,7 +9689,7 @@ export class Api<
10009
9689
  query: query,
10010
9690
  body: data,
10011
9691
  secure: true,
10012
- type: "application/json",
9692
+ type: ContentType.Json,
10013
9693
  format: "json",
10014
9694
  ...params,
10015
9695
  }),
@@ -10073,7 +9753,7 @@ export class Api<
10073
9753
  method: "POST",
10074
9754
  body: data,
10075
9755
  secure: true,
10076
- type: "application/json",
9756
+ type: ContentType.Json,
10077
9757
  ...params,
10078
9758
  }),
10079
9759
 
@@ -10097,7 +9777,7 @@ export class Api<
10097
9777
  method: "POST",
10098
9778
  body: data,
10099
9779
  secure: true,
10100
- type: "application/json",
9780
+ type: ContentType.Json,
10101
9781
  ...params,
10102
9782
  }),
10103
9783
 
@@ -10118,7 +9798,7 @@ export class Api<
10118
9798
  method: "POST",
10119
9799
  body: data,
10120
9800
  secure: true,
10121
- type: "application/json",
9801
+ type: ContentType.Json,
10122
9802
  ...params,
10123
9803
  }),
10124
9804
 
@@ -10157,7 +9837,7 @@ export class Api<
10157
9837
  method: "POST",
10158
9838
  body: data,
10159
9839
  secure: true,
10160
- type: "application/json",
9840
+ type: ContentType.Json,
10161
9841
  ...params,
10162
9842
  }),
10163
9843
 
@@ -10182,7 +9862,7 @@ export class Api<
10182
9862
  method: "POST",
10183
9863
  body: data,
10184
9864
  secure: true,
10185
- type: "application/json",
9865
+ type: ContentType.Json,
10186
9866
  format: "json",
10187
9867
  ...params,
10188
9868
  }),
@@ -10204,7 +9884,7 @@ export class Api<
10204
9884
  method: "POST",
10205
9885
  body: data,
10206
9886
  secure: true,
10207
- type: "application/json",
9887
+ type: ContentType.Json,
10208
9888
  format: "json",
10209
9889
  ...params,
10210
9890
  }),
@@ -10229,7 +9909,7 @@ export class Api<
10229
9909
  method: "POST",
10230
9910
  body: data,
10231
9911
  secure: true,
10232
- type: "application/json",
9912
+ type: ContentType.Json,
10233
9913
  format: "json",
10234
9914
  ...params,
10235
9915
  }),
@@ -10251,7 +9931,7 @@ export class Api<
10251
9931
  method: "POST",
10252
9932
  body: data,
10253
9933
  secure: true,
10254
- type: "application/json",
9934
+ type: ContentType.Json,
10255
9935
  format: "json",
10256
9936
  ...params,
10257
9937
  }),
@@ -10273,7 +9953,7 @@ export class Api<
10273
9953
  method: "POST",
10274
9954
  body: data,
10275
9955
  secure: true,
10276
- type: "application/json",
9956
+ type: ContentType.Json,
10277
9957
  format: "json",
10278
9958
  ...params,
10279
9959
  }),
@@ -10346,7 +10026,7 @@ export class Api<
10346
10026
  method: "POST",
10347
10027
  body: data,
10348
10028
  secure: true,
10349
- type: "application/json",
10029
+ type: ContentType.Json,
10350
10030
  format: "json",
10351
10031
  ...params,
10352
10032
  }),
@@ -10379,7 +10059,7 @@ export class Api<
10379
10059
  query: query,
10380
10060
  body: data,
10381
10061
  secure: true,
10382
- type: "application/json",
10062
+ type: ContentType.Json,
10383
10063
  format: "json",
10384
10064
  ...params,
10385
10065
  }),
@@ -10424,7 +10104,7 @@ export class Api<
10424
10104
  method: "PUT",
10425
10105
  body: data,
10426
10106
  secure: true,
10427
- type: "application/json",
10107
+ type: ContentType.Json,
10428
10108
  format: "json",
10429
10109
  ...params,
10430
10110
  }),
@@ -10487,7 +10167,7 @@ export class Api<
10487
10167
  method: "POST",
10488
10168
  body: data,
10489
10169
  secure: true,
10490
- type: "application/json",
10170
+ type: ContentType.Json,
10491
10171
  format: "json",
10492
10172
  ...params,
10493
10173
  }),
@@ -10541,7 +10221,7 @@ export class Api<
10541
10221
  query: query,
10542
10222
  body: data,
10543
10223
  secure: true,
10544
- type: "application/json",
10224
+ type: ContentType.Json,
10545
10225
  format: "json",
10546
10226
  ...params,
10547
10227
  }),
@@ -10610,7 +10290,7 @@ export class Api<
10610
10290
  method: "POST",
10611
10291
  body: data,
10612
10292
  secure: true,
10613
- type: "application/json",
10293
+ type: ContentType.Json,
10614
10294
  format: "json",
10615
10295
  ...params,
10616
10296
  }),
@@ -10655,7 +10335,7 @@ export class Api<
10655
10335
  method: "PUT",
10656
10336
  body: data,
10657
10337
  secure: true,
10658
- type: "application/json",
10338
+ type: ContentType.Json,
10659
10339
  format: "json",
10660
10340
  ...params,
10661
10341
  }),
@@ -10716,7 +10396,7 @@ export class Api<
10716
10396
  method: "POST",
10717
10397
  body: data,
10718
10398
  secure: true,
10719
- type: "application/json",
10399
+ type: ContentType.Json,
10720
10400
  format: "json",
10721
10401
  ...params,
10722
10402
  }),
@@ -10731,10 +10411,17 @@ export class Api<
10731
10411
  * @secure
10732
10412
  * @response `200` `(CompanyDocumentFolder)[]` OK
10733
10413
  */
10734
- getCompanyDocumentFolders: (params: RequestParams = {}) =>
10414
+ getCompanyDocumentFolders: (
10415
+ query?: {
10416
+ /** @default false */
10417
+ includeFiles?: boolean;
10418
+ },
10419
+ params: RequestParams = {},
10420
+ ) =>
10735
10421
  this.request<CompanyDocumentFolder[], any>({
10736
10422
  path: `/api/company-document-folders`,
10737
10423
  method: "GET",
10424
+ query: query,
10738
10425
  secure: true,
10739
10426
  format: "json",
10740
10427
  ...params,
@@ -10761,7 +10448,7 @@ export class Api<
10761
10448
  method: "POST",
10762
10449
  body: data,
10763
10450
  secure: true,
10764
- type: "application/json",
10451
+ type: ContentType.Json,
10765
10452
  format: "json",
10766
10453
  ...params,
10767
10454
  }),
@@ -10809,7 +10496,7 @@ export class Api<
10809
10496
  method: "PUT",
10810
10497
  body: data,
10811
10498
  secure: true,
10812
- type: "application/json",
10499
+ type: ContentType.Json,
10813
10500
  format: "json",
10814
10501
  ...params,
10815
10502
  }),
@@ -10864,7 +10551,7 @@ export class Api<
10864
10551
  query: query,
10865
10552
  body: data,
10866
10553
  secure: true,
10867
- type: "application/json",
10554
+ type: ContentType.Json,
10868
10555
  format: "json",
10869
10556
  ...params,
10870
10557
  }),
@@ -10920,7 +10607,7 @@ export class Api<
10920
10607
  method: "PUT",
10921
10608
  body: data,
10922
10609
  secure: true,
10923
- type: "application/json",
10610
+ type: ContentType.Json,
10924
10611
  format: "json",
10925
10612
  ...params,
10926
10613
  }),
@@ -10964,7 +10651,7 @@ export class Api<
10964
10651
  method: "POST",
10965
10652
  body: data,
10966
10653
  secure: true,
10967
- type: "application/json",
10654
+ type: ContentType.Json,
10968
10655
  format: "json",
10969
10656
  ...params,
10970
10657
  }),
@@ -11016,7 +10703,7 @@ export class Api<
11016
10703
  method: "POST",
11017
10704
  body: data,
11018
10705
  secure: true,
11019
- type: "multipart/form-data",
10706
+ type: ContentType.FormData,
11020
10707
  format: "json",
11021
10708
  ...params,
11022
10709
  }),
@@ -11043,7 +10730,7 @@ export class Api<
11043
10730
  method: "POST",
11044
10731
  body: data,
11045
10732
  secure: true,
11046
- type: "application/json",
10733
+ type: ContentType.Json,
11047
10734
  format: "json",
11048
10735
  ...params,
11049
10736
  }),
@@ -11163,7 +10850,7 @@ export class Api<
11163
10850
  method: "POST",
11164
10851
  body: data,
11165
10852
  secure: true,
11166
- type: "application/json",
10853
+ type: ContentType.Json,
11167
10854
  format: "json",
11168
10855
  ...params,
11169
10856
  }),
@@ -11196,7 +10883,7 @@ export class Api<
11196
10883
  query: query,
11197
10884
  body: data,
11198
10885
  secure: true,
11199
- type: "application/json",
10886
+ type: ContentType.Json,
11200
10887
  format: "json",
11201
10888
  ...params,
11202
10889
  }),
@@ -11241,7 +10928,7 @@ export class Api<
11241
10928
  method: "PUT",
11242
10929
  body: data,
11243
10930
  secure: true,
11244
- type: "application/json",
10931
+ type: ContentType.Json,
11245
10932
  format: "json",
11246
10933
  ...params,
11247
10934
  }),
@@ -11303,7 +10990,7 @@ export class Api<
11303
10990
  method: "POST",
11304
10991
  body: data,
11305
10992
  secure: true,
11306
- type: "application/json",
10993
+ type: ContentType.Json,
11307
10994
  format: "json",
11308
10995
  ...params,
11309
10996
  }),
@@ -11357,7 +11044,7 @@ export class Api<
11357
11044
  query: query,
11358
11045
  body: data,
11359
11046
  secure: true,
11360
- type: "application/json",
11047
+ type: ContentType.Json,
11361
11048
  format: "json",
11362
11049
  ...params,
11363
11050
  }),
@@ -11412,7 +11099,7 @@ export class Api<
11412
11099
  */
11413
11100
  getCustomFieldDefinitions: (
11414
11101
  query?: {
11415
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
11102
+ entityType?: "Loan";
11416
11103
  },
11417
11104
  params: RequestParams = {},
11418
11105
  ) =>
@@ -11446,7 +11133,7 @@ export class Api<
11446
11133
  method: "POST",
11447
11134
  body: data,
11448
11135
  secure: true,
11449
- type: "application/json",
11136
+ type: ContentType.Json,
11450
11137
  format: "json",
11451
11138
  ...params,
11452
11139
  }),
@@ -11495,7 +11182,7 @@ export class Api<
11495
11182
  method: "PUT",
11496
11183
  body: data,
11497
11184
  secure: true,
11498
- type: "application/json",
11185
+ type: ContentType.Json,
11499
11186
  format: "json",
11500
11187
  ...params,
11501
11188
  }),
@@ -11629,7 +11316,7 @@ export class Api<
11629
11316
  method: "PUT",
11630
11317
  body: data,
11631
11318
  secure: true,
11632
- type: "application/json",
11319
+ type: ContentType.Json,
11633
11320
  format: "json",
11634
11321
  ...params,
11635
11322
  }),
@@ -11749,7 +11436,7 @@ export class Api<
11749
11436
  method: "POST",
11750
11437
  body: data,
11751
11438
  secure: true,
11752
- type: "application/json",
11439
+ type: ContentType.Json,
11753
11440
  format: "json",
11754
11441
  ...params,
11755
11442
  }),
@@ -11826,7 +11513,7 @@ export class Api<
11826
11513
  method: "PUT",
11827
11514
  body: data,
11828
11515
  secure: true,
11829
- type: "application/json",
11516
+ type: ContentType.Json,
11830
11517
  format: "json",
11831
11518
  ...params,
11832
11519
  }),
@@ -11913,7 +11600,7 @@ export class Api<
11913
11600
  method: "POST",
11914
11601
  body: data,
11915
11602
  secure: true,
11916
- type: "application/json",
11603
+ type: ContentType.Json,
11917
11604
  format: "json",
11918
11605
  ...params,
11919
11606
  }),
@@ -11962,7 +11649,7 @@ export class Api<
11962
11649
  method: "PUT",
11963
11650
  body: data,
11964
11651
  secure: true,
11965
- type: "application/json",
11652
+ type: ContentType.Json,
11966
11653
  format: "json",
11967
11654
  ...params,
11968
11655
  }),
@@ -12037,7 +11724,7 @@ export class Api<
12037
11724
  method: "POST",
12038
11725
  body: data,
12039
11726
  secure: true,
12040
- type: "application/json",
11727
+ type: ContentType.Json,
12041
11728
  format: "json",
12042
11729
  ...params,
12043
11730
  }),
@@ -12254,7 +11941,7 @@ export class Api<
12254
11941
  method: "POST",
12255
11942
  body: data,
12256
11943
  secure: true,
12257
- type: "application/json",
11944
+ type: ContentType.Json,
12258
11945
  format: "json",
12259
11946
  ...params,
12260
11947
  }),
@@ -12292,7 +11979,7 @@ export class Api<
12292
11979
  query: query,
12293
11980
  body: data,
12294
11981
  secure: true,
12295
- type: "application/json",
11982
+ type: ContentType.Json,
12296
11983
  format: "json",
12297
11984
  ...params,
12298
11985
  }),
@@ -12323,7 +12010,7 @@ export class Api<
12323
12010
  query: query,
12324
12011
  body: data,
12325
12012
  secure: true,
12326
- type: "application/json",
12013
+ type: ContentType.Json,
12327
12014
  format: "json",
12328
12015
  ...params,
12329
12016
  }),
@@ -12350,7 +12037,7 @@ export class Api<
12350
12037
  method: "POST",
12351
12038
  body: data,
12352
12039
  secure: true,
12353
- type: "application/json",
12040
+ type: ContentType.Json,
12354
12041
  format: "json",
12355
12042
  ...params,
12356
12043
  }),
@@ -12401,7 +12088,7 @@ export class Api<
12401
12088
  method: "POST",
12402
12089
  body: data,
12403
12090
  secure: true,
12404
- type: "application/json",
12091
+ type: ContentType.Json,
12405
12092
  format: "json",
12406
12093
  ...params,
12407
12094
  }),
@@ -12478,7 +12165,7 @@ export class Api<
12478
12165
  method: "PUT",
12479
12166
  body: data,
12480
12167
  secure: true,
12481
- type: "application/json",
12168
+ type: ContentType.Json,
12482
12169
  format: "json",
12483
12170
  ...params,
12484
12171
  }),
@@ -12506,7 +12193,7 @@ export class Api<
12506
12193
  method: "POST",
12507
12194
  body: data,
12508
12195
  secure: true,
12509
- type: "application/json",
12196
+ type: ContentType.Json,
12510
12197
  format: "json",
12511
12198
  ...params,
12512
12199
  }),
@@ -12594,7 +12281,7 @@ export class Api<
12594
12281
  method: "POST",
12595
12282
  body: data,
12596
12283
  secure: true,
12597
- type: "multipart/form-data",
12284
+ type: ContentType.FormData,
12598
12285
  format: "json",
12599
12286
  ...params,
12600
12287
  }),
@@ -12635,7 +12322,7 @@ export class Api<
12635
12322
  method: "PUT",
12636
12323
  body: data,
12637
12324
  secure: true,
12638
- type: "application/json",
12325
+ type: ContentType.Json,
12639
12326
  format: "json",
12640
12327
  ...params,
12641
12328
  }),
@@ -12686,7 +12373,7 @@ export class Api<
12686
12373
  query: query,
12687
12374
  body: data,
12688
12375
  secure: true,
12689
- type: "application/json",
12376
+ type: ContentType.Json,
12690
12377
  format: "json",
12691
12378
  ...params,
12692
12379
  }),
@@ -12733,7 +12420,7 @@ export class Api<
12733
12420
  method: "POST",
12734
12421
  body: data,
12735
12422
  secure: true,
12736
- type: "application/json",
12423
+ type: ContentType.Json,
12737
12424
  format: "json",
12738
12425
  ...params,
12739
12426
  }),
@@ -12774,7 +12461,7 @@ export class Api<
12774
12461
  method: "PUT",
12775
12462
  body: data,
12776
12463
  secure: true,
12777
- type: "application/json",
12464
+ type: ContentType.Json,
12778
12465
  format: "json",
12779
12466
  ...params,
12780
12467
  }),
@@ -12840,7 +12527,7 @@ export class Api<
12840
12527
  method: "POST",
12841
12528
  body: data,
12842
12529
  secure: true,
12843
- type: "multipart/form-data",
12530
+ type: ContentType.FormData,
12844
12531
  format: "json",
12845
12532
  ...params,
12846
12533
  }),
@@ -12948,7 +12635,7 @@ export class Api<
12948
12635
  query: query,
12949
12636
  body: data,
12950
12637
  secure: true,
12951
- type: "application/json",
12638
+ type: ContentType.Json,
12952
12639
  format: "json",
12953
12640
  ...params,
12954
12641
  }),
@@ -12992,7 +12679,7 @@ export class Api<
12992
12679
  method: "PUT",
12993
12680
  body: data,
12994
12681
  secure: true,
12995
- type: "application/json",
12682
+ type: ContentType.Json,
12996
12683
  format: "json",
12997
12684
  ...params,
12998
12685
  }),
@@ -13043,7 +12730,7 @@ export class Api<
13043
12730
  query: query,
13044
12731
  body: data,
13045
12732
  secure: true,
13046
- type: "application/json",
12733
+ type: ContentType.Json,
13047
12734
  format: "json",
13048
12735
  ...params,
13049
12736
  }),
@@ -13087,7 +12774,7 @@ export class Api<
13087
12774
  method: "POST",
13088
12775
  body: data,
13089
12776
  secure: true,
13090
- type: "application/json",
12777
+ type: ContentType.Json,
13091
12778
  format: "json",
13092
12779
  ...params,
13093
12780
  }),
@@ -13132,7 +12819,7 @@ export class Api<
13132
12819
  method: "PUT",
13133
12820
  body: data,
13134
12821
  secure: true,
13135
- type: "application/json",
12822
+ type: ContentType.Json,
13136
12823
  format: "json",
13137
12824
  ...params,
13138
12825
  }),
@@ -13220,7 +12907,7 @@ export class Api<
13220
12907
  method: "PATCH",
13221
12908
  body: data,
13222
12909
  secure: true,
13223
- type: "application/json",
12910
+ type: ContentType.Json,
13224
12911
  format: "json",
13225
12912
  ...params,
13226
12913
  }),
@@ -13241,7 +12928,7 @@ export class Api<
13241
12928
  method: "POST",
13242
12929
  body: data,
13243
12930
  secure: true,
13244
- type: "application/json",
12931
+ type: ContentType.Json,
13245
12932
  format: "json",
13246
12933
  ...params,
13247
12934
  }),
@@ -13273,7 +12960,7 @@ export class Api<
13273
12960
  query: query,
13274
12961
  body: data,
13275
12962
  secure: true,
13276
- type: "application/json",
12963
+ type: ContentType.Json,
13277
12964
  format: "json",
13278
12965
  ...params,
13279
12966
  }),
@@ -13304,7 +12991,7 @@ export class Api<
13304
12991
  query: query,
13305
12992
  body: data,
13306
12993
  secure: true,
13307
- type: "application/json",
12994
+ type: ContentType.Json,
13308
12995
  format: "json",
13309
12996
  ...params,
13310
12997
  }),
@@ -13330,7 +13017,7 @@ export class Api<
13330
13017
  method: "PATCH",
13331
13018
  body: data,
13332
13019
  secure: true,
13333
- type: "application/json",
13020
+ type: ContentType.Json,
13334
13021
  format: "json",
13335
13022
  ...params,
13336
13023
  }),
@@ -13357,7 +13044,7 @@ export class Api<
13357
13044
  method: "PATCH",
13358
13045
  body: data,
13359
13046
  secure: true,
13360
- type: "application/json",
13047
+ type: ContentType.Json,
13361
13048
  format: "json",
13362
13049
  ...params,
13363
13050
  }),
@@ -13530,7 +13217,7 @@ export class Api<
13530
13217
  method: "POST",
13531
13218
  body: data,
13532
13219
  secure: true,
13533
- type: "multipart/form-data",
13220
+ type: ContentType.FormData,
13534
13221
  format: "json",
13535
13222
  ...params,
13536
13223
  }),
@@ -13555,7 +13242,7 @@ export class Api<
13555
13242
  method: "PATCH",
13556
13243
  body: data,
13557
13244
  secure: true,
13558
- type: "application/json",
13245
+ type: ContentType.Json,
13559
13246
  format: "json",
13560
13247
  ...params,
13561
13248
  }),
@@ -13610,7 +13297,7 @@ export class Api<
13610
13297
  method: "POST",
13611
13298
  body: data,
13612
13299
  secure: true,
13613
- type: "multipart/form-data",
13300
+ type: ContentType.FormData,
13614
13301
  format: "json",
13615
13302
  ...params,
13616
13303
  }),
@@ -13635,7 +13322,7 @@ export class Api<
13635
13322
  method: "PATCH",
13636
13323
  body: data,
13637
13324
  secure: true,
13638
- type: "application/json",
13325
+ type: ContentType.Json,
13639
13326
  format: "json",
13640
13327
  ...params,
13641
13328
  }),
@@ -13709,7 +13396,7 @@ export class Api<
13709
13396
  method: "POST",
13710
13397
  body: data,
13711
13398
  secure: true,
13712
- type: "application/json",
13399
+ type: ContentType.Json,
13713
13400
  format: "json",
13714
13401
  ...params,
13715
13402
  }),
@@ -13772,7 +13459,7 @@ export class Api<
13772
13459
  method: "PUT",
13773
13460
  body: data,
13774
13461
  secure: true,
13775
- type: "application/json",
13462
+ type: ContentType.Json,
13776
13463
  format: "json",
13777
13464
  ...params,
13778
13465
  }),
@@ -13823,7 +13510,7 @@ export class Api<
13823
13510
  query: query,
13824
13511
  body: data,
13825
13512
  secure: true,
13826
- type: "application/json",
13513
+ type: ContentType.Json,
13827
13514
  format: "json",
13828
13515
  ...params,
13829
13516
  }),
@@ -13851,7 +13538,7 @@ export class Api<
13851
13538
  method: "PUT",
13852
13539
  body: data,
13853
13540
  secure: true,
13854
- type: "multipart/form-data",
13541
+ type: ContentType.FormData,
13855
13542
  format: "json",
13856
13543
  ...params,
13857
13544
  }),
@@ -13934,7 +13621,7 @@ export class Api<
13934
13621
  method: "POST",
13935
13622
  body: data,
13936
13623
  secure: true,
13937
- type: "application/json",
13624
+ type: ContentType.Json,
13938
13625
  format: "json",
13939
13626
  ...params,
13940
13627
  }),
@@ -13981,7 +13668,7 @@ export class Api<
13981
13668
  method: "POST",
13982
13669
  body: data,
13983
13670
  secure: true,
13984
- type: "application/json",
13671
+ type: ContentType.Json,
13985
13672
  format: "json",
13986
13673
  ...params,
13987
13674
  }),
@@ -14029,7 +13716,7 @@ export class Api<
14029
13716
  method: "POST",
14030
13717
  body: data,
14031
13718
  secure: true,
14032
- type: "application/json",
13719
+ type: ContentType.Json,
14033
13720
  ...params,
14034
13721
  }),
14035
13722
 
@@ -14094,7 +13781,7 @@ export class Api<
14094
13781
  method: "PUT",
14095
13782
  body: data,
14096
13783
  secure: true,
14097
- type: "application/json",
13784
+ type: ContentType.Json,
14098
13785
  ...params,
14099
13786
  }),
14100
13787
 
@@ -14122,7 +13809,7 @@ export class Api<
14122
13809
  method: "PUT",
14123
13810
  body: data,
14124
13811
  secure: true,
14125
- type: "application/json",
13812
+ type: ContentType.Json,
14126
13813
  ...params,
14127
13814
  }),
14128
13815
 
@@ -14197,7 +13884,7 @@ export class Api<
14197
13884
  query: query,
14198
13885
  body: data,
14199
13886
  secure: true,
14200
- type: "application/json",
13887
+ type: ContentType.Json,
14201
13888
  format: "json",
14202
13889
  ...params,
14203
13890
  }),
@@ -14246,7 +13933,7 @@ export class Api<
14246
13933
  method: "PUT",
14247
13934
  body: data,
14248
13935
  secure: true,
14249
- type: "application/json",
13936
+ type: ContentType.Json,
14250
13937
  format: "json",
14251
13938
  ...params,
14252
13939
  }),
@@ -14293,7 +13980,7 @@ export class Api<
14293
13980
  method: "POST",
14294
13981
  body: data,
14295
13982
  secure: true,
14296
- type: "application/json",
13983
+ type: ContentType.Json,
14297
13984
  format: "json",
14298
13985
  ...params,
14299
13986
  }),
@@ -14402,7 +14089,7 @@ export class Api<
14402
14089
  query: query,
14403
14090
  body: data,
14404
14091
  secure: true,
14405
- type: "application/json",
14092
+ type: ContentType.Json,
14406
14093
  format: "json",
14407
14094
  ...params,
14408
14095
  }),
@@ -14457,7 +14144,7 @@ export class Api<
14457
14144
  method: "POST",
14458
14145
  body: data,
14459
14146
  secure: true,
14460
- type: "application/json",
14147
+ type: ContentType.Json,
14461
14148
  format: "json",
14462
14149
  ...params,
14463
14150
  }),
@@ -14491,7 +14178,7 @@ export class Api<
14491
14178
  query: query,
14492
14179
  body: data,
14493
14180
  secure: true,
14494
- type: "application/json",
14181
+ type: ContentType.Json,
14495
14182
  format: "json",
14496
14183
  ...params,
14497
14184
  }),
@@ -14504,7 +14191,7 @@ export class Api<
14504
14191
  * @summary Download By ID
14505
14192
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
14506
14193
  * @secure
14507
- * @response `200` `Blob` OK
14194
+ * @response `200` `string` OK
14508
14195
  * @response `404` `ProblemDetails` Not Found
14509
14196
  */
14510
14197
  downloadLoanDocument: (
@@ -14512,7 +14199,7 @@ export class Api<
14512
14199
  documentId: string,
14513
14200
  params: RequestParams = {},
14514
14201
  ) =>
14515
- this.request<Blob, ProblemDetails>({
14202
+ this.request<string, ProblemDetails>({
14516
14203
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
14517
14204
  method: "GET",
14518
14205
  secure: true,
@@ -14550,7 +14237,7 @@ export class Api<
14550
14237
  method: "POST",
14551
14238
  body: data,
14552
14239
  secure: true,
14553
- type: "multipart/form-data",
14240
+ type: ContentType.FormData,
14554
14241
  format: "json",
14555
14242
  ...params,
14556
14243
  }),
@@ -14600,7 +14287,7 @@ export class Api<
14600
14287
  method: "POST",
14601
14288
  body: data,
14602
14289
  secure: true,
14603
- type: "application/json",
14290
+ type: ContentType.Json,
14604
14291
  format: "json",
14605
14292
  ...params,
14606
14293
  }),
@@ -14627,7 +14314,7 @@ export class Api<
14627
14314
  method: "POST",
14628
14315
  body: data,
14629
14316
  secure: true,
14630
- type: "application/json",
14317
+ type: ContentType.Json,
14631
14318
  ...params,
14632
14319
  }),
14633
14320
 
@@ -14674,7 +14361,7 @@ export class Api<
14674
14361
  method: "POST",
14675
14362
  body: data,
14676
14363
  secure: true,
14677
- type: "application/json",
14364
+ type: ContentType.Json,
14678
14365
  format: "json",
14679
14366
  ...params,
14680
14367
  }),
@@ -14719,7 +14406,7 @@ export class Api<
14719
14406
  method: "POST",
14720
14407
  body: data,
14721
14408
  secure: true,
14722
- type: "application/json",
14409
+ type: ContentType.Json,
14723
14410
  format: "json",
14724
14411
  ...params,
14725
14412
  }),
@@ -14782,7 +14469,7 @@ export class Api<
14782
14469
  method: "PUT",
14783
14470
  body: data,
14784
14471
  secure: true,
14785
- type: "application/json",
14472
+ type: ContentType.Json,
14786
14473
  format: "json",
14787
14474
  ...params,
14788
14475
  }),
@@ -14833,7 +14520,7 @@ export class Api<
14833
14520
  query: query,
14834
14521
  body: data,
14835
14522
  secure: true,
14836
- type: "application/json",
14523
+ type: ContentType.Json,
14837
14524
  format: "json",
14838
14525
  ...params,
14839
14526
  }),
@@ -14858,7 +14545,7 @@ export class Api<
14858
14545
  method: "PUT",
14859
14546
  body: data,
14860
14547
  secure: true,
14861
- type: "application/json",
14548
+ type: ContentType.Json,
14862
14549
  format: "json",
14863
14550
  ...params,
14864
14551
  }),
@@ -14933,7 +14620,7 @@ export class Api<
14933
14620
  method: "POST",
14934
14621
  body: data,
14935
14622
  secure: true,
14936
- type: "application/json",
14623
+ type: ContentType.Json,
14937
14624
  format: "json",
14938
14625
  ...params,
14939
14626
  }),
@@ -15029,7 +14716,7 @@ export class Api<
15029
14716
  method: "POST",
15030
14717
  body: data,
15031
14718
  secure: true,
15032
- type: "application/json",
14719
+ type: ContentType.Json,
15033
14720
  format: "json",
15034
14721
  ...params,
15035
14722
  }),
@@ -15086,7 +14773,7 @@ export class Api<
15086
14773
  query: query,
15087
14774
  body: data,
15088
14775
  secure: true,
15089
- type: "application/json",
14776
+ type: ContentType.Json,
15090
14777
  format: "json",
15091
14778
  ...params,
15092
14779
  }),
@@ -15137,7 +14824,7 @@ export class Api<
15137
14824
  method: "POST",
15138
14825
  body: data,
15139
14826
  secure: true,
15140
- type: "application/json",
14827
+ type: ContentType.Json,
15141
14828
  ...params,
15142
14829
  }),
15143
14830
 
@@ -15163,7 +14850,7 @@ export class Api<
15163
14850
  method: "POST",
15164
14851
  body: data,
15165
14852
  secure: true,
15166
- type: "application/json",
14853
+ type: ContentType.Json,
15167
14854
  ...params,
15168
14855
  }),
15169
14856
 
@@ -15226,7 +14913,7 @@ export class Api<
15226
14913
  query: query,
15227
14914
  body: data,
15228
14915
  secure: true,
15229
- type: "application/json",
14916
+ type: ContentType.Json,
15230
14917
  format: "json",
15231
14918
  ...params,
15232
14919
  }),
@@ -15271,7 +14958,7 @@ export class Api<
15271
14958
  method: "POST",
15272
14959
  body: data,
15273
14960
  secure: true,
15274
- type: "application/json",
14961
+ type: ContentType.Json,
15275
14962
  format: "json",
15276
14963
  ...params,
15277
14964
  }),
@@ -15325,7 +15012,7 @@ export class Api<
15325
15012
  query: query,
15326
15013
  body: data,
15327
15014
  secure: true,
15328
- type: "application/json",
15015
+ type: ContentType.Json,
15329
15016
  format: "json",
15330
15017
  ...params,
15331
15018
  }),
@@ -15358,7 +15045,7 @@ export class Api<
15358
15045
  query: query,
15359
15046
  body: data,
15360
15047
  secure: true,
15361
- type: "application/json",
15048
+ type: ContentType.Json,
15362
15049
  format: "json",
15363
15050
  ...params,
15364
15051
  }),
@@ -15404,7 +15091,7 @@ export class Api<
15404
15091
  method: "PUT",
15405
15092
  body: data,
15406
15093
  secure: true,
15407
- type: "application/json",
15094
+ type: ContentType.Json,
15408
15095
  format: "json",
15409
15096
  ...params,
15410
15097
  }),
@@ -15505,7 +15192,7 @@ export class Api<
15505
15192
  method: "POST",
15506
15193
  body: data,
15507
15194
  secure: true,
15508
- type: "application/json",
15195
+ type: ContentType.Json,
15509
15196
  format: "json",
15510
15197
  ...params,
15511
15198
  }),
@@ -15538,7 +15225,7 @@ export class Api<
15538
15225
  query: query,
15539
15226
  body: data,
15540
15227
  secure: true,
15541
- type: "application/json",
15228
+ type: ContentType.Json,
15542
15229
  format: "json",
15543
15230
  ...params,
15544
15231
  }),
@@ -15568,7 +15255,7 @@ export class Api<
15568
15255
  method: "PATCH",
15569
15256
  body: data,
15570
15257
  secure: true,
15571
- type: "application/json",
15258
+ type: ContentType.Json,
15572
15259
  format: "json",
15573
15260
  ...params,
15574
15261
  }),
@@ -15678,7 +15365,7 @@ export class Api<
15678
15365
  method: "POST",
15679
15366
  body: data,
15680
15367
  secure: true,
15681
- type: "application/json",
15368
+ type: ContentType.Json,
15682
15369
  format: "json",
15683
15370
  ...params,
15684
15371
  }),
@@ -15714,7 +15401,7 @@ export class Api<
15714
15401
  query: query,
15715
15402
  body: data,
15716
15403
  secure: true,
15717
- type: "application/json",
15404
+ type: ContentType.Json,
15718
15405
  format: "json",
15719
15406
  ...params,
15720
15407
  }),
@@ -15766,7 +15453,7 @@ export class Api<
15766
15453
  method: "POST",
15767
15454
  body: data,
15768
15455
  secure: true,
15769
- type: "application/json",
15456
+ type: ContentType.Json,
15770
15457
  format: "json",
15771
15458
  ...params,
15772
15459
  }),
@@ -15794,7 +15481,7 @@ export class Api<
15794
15481
  method: "PUT",
15795
15482
  body: data,
15796
15483
  secure: true,
15797
- type: "application/json",
15484
+ type: ContentType.Json,
15798
15485
  format: "json",
15799
15486
  ...params,
15800
15487
  }),
@@ -15854,7 +15541,7 @@ export class Api<
15854
15541
  method: "POST",
15855
15542
  body: data,
15856
15543
  secure: true,
15857
- type: "multipart/form-data",
15544
+ type: ContentType.FormData,
15858
15545
  format: "json",
15859
15546
  ...params,
15860
15547
  }),
@@ -15882,7 +15569,7 @@ export class Api<
15882
15569
  method: "POST",
15883
15570
  body: data,
15884
15571
  secure: true,
15885
- type: "application/json",
15572
+ type: ContentType.Json,
15886
15573
  ...params,
15887
15574
  }),
15888
15575
 
@@ -15908,7 +15595,7 @@ export class Api<
15908
15595
  method: "POST",
15909
15596
  body: data,
15910
15597
  secure: true,
15911
- type: "application/json",
15598
+ type: ContentType.Json,
15912
15599
  ...params,
15913
15600
  }),
15914
15601
 
@@ -15940,7 +15627,7 @@ export class Api<
15940
15627
  query: query,
15941
15628
  body: data,
15942
15629
  secure: true,
15943
- type: "application/json",
15630
+ type: ContentType.Json,
15944
15631
  format: "json",
15945
15632
  ...params,
15946
15633
  }),
@@ -15965,7 +15652,7 @@ export class Api<
15965
15652
  method: "POST",
15966
15653
  body: data,
15967
15654
  secure: true,
15968
- type: "application/json",
15655
+ type: ContentType.Json,
15969
15656
  format: "json",
15970
15657
  ...params,
15971
15658
  }),
@@ -16052,7 +15739,7 @@ export class Api<
16052
15739
  method: "POST",
16053
15740
  body: data,
16054
15741
  secure: true,
16055
- type: "application/json",
15742
+ type: ContentType.Json,
16056
15743
  format: "json",
16057
15744
  ...params,
16058
15745
  }),
@@ -16078,7 +15765,7 @@ export class Api<
16078
15765
  method: "POST",
16079
15766
  body: data,
16080
15767
  secure: true,
16081
- type: "application/json",
15768
+ type: ContentType.Json,
16082
15769
  format: "json",
16083
15770
  ...params,
16084
15771
  }),
@@ -16105,7 +15792,7 @@ export class Api<
16105
15792
  method: "PUT",
16106
15793
  body: data,
16107
15794
  secure: true,
16108
- type: "application/json",
15795
+ type: ContentType.Json,
16109
15796
  format: "json",
16110
15797
  ...params,
16111
15798
  }),
@@ -16222,7 +15909,7 @@ export class Api<
16222
15909
  method: "POST",
16223
15910
  body: data,
16224
15911
  secure: true,
16225
- type: "application/json",
15912
+ type: ContentType.Json,
16226
15913
  format: "json",
16227
15914
  ...params,
16228
15915
  }),
@@ -16300,7 +15987,7 @@ export class Api<
16300
15987
  query: query,
16301
15988
  body: data,
16302
15989
  secure: true,
16303
- type: "application/json",
15990
+ type: ContentType.Json,
16304
15991
  format: "json",
16305
15992
  ...params,
16306
15993
  }),
@@ -16337,7 +16024,7 @@ export class Api<
16337
16024
  query: query,
16338
16025
  body: data,
16339
16026
  secure: true,
16340
- type: "application/json",
16027
+ type: ContentType.Json,
16341
16028
  format: "json",
16342
16029
  ...params,
16343
16030
  }),
@@ -16368,7 +16055,7 @@ export class Api<
16368
16055
  query: query,
16369
16056
  body: data,
16370
16057
  secure: true,
16371
- type: "application/json",
16058
+ type: ContentType.Json,
16372
16059
  format: "json",
16373
16060
  ...params,
16374
16061
  }),
@@ -16441,7 +16128,7 @@ export class Api<
16441
16128
  method: "POST",
16442
16129
  body: data,
16443
16130
  secure: true,
16444
- type: "application/json",
16131
+ type: ContentType.Json,
16445
16132
  format: "json",
16446
16133
  ...params,
16447
16134
  }),
@@ -16488,7 +16175,7 @@ export class Api<
16488
16175
  method: "PUT",
16489
16176
  body: data,
16490
16177
  secure: true,
16491
- type: "application/json",
16178
+ type: ContentType.Json,
16492
16179
  format: "json",
16493
16180
  ...params,
16494
16181
  }),
@@ -16534,7 +16221,7 @@ export class Api<
16534
16221
  method: "POST",
16535
16222
  body: data,
16536
16223
  secure: true,
16537
- type: "application/json",
16224
+ type: ContentType.Json,
16538
16225
  format: "json",
16539
16226
  ...params,
16540
16227
  }),
@@ -16559,7 +16246,7 @@ export class Api<
16559
16246
  method: "POST",
16560
16247
  body: data,
16561
16248
  secure: true,
16562
- type: "application/json",
16249
+ type: ContentType.Json,
16563
16250
  format: "json",
16564
16251
  ...params,
16565
16252
  }),
@@ -16584,7 +16271,7 @@ export class Api<
16584
16271
  method: "POST",
16585
16272
  body: data,
16586
16273
  secure: true,
16587
- type: "application/json",
16274
+ type: ContentType.Json,
16588
16275
  format: "json",
16589
16276
  ...params,
16590
16277
  }),
@@ -16609,7 +16296,7 @@ export class Api<
16609
16296
  method: "POST",
16610
16297
  body: data,
16611
16298
  secure: true,
16612
- type: "application/json",
16299
+ type: ContentType.Json,
16613
16300
  format: "json",
16614
16301
  ...params,
16615
16302
  }),
@@ -16634,7 +16321,7 @@ export class Api<
16634
16321
  method: "POST",
16635
16322
  body: data,
16636
16323
  secure: true,
16637
- type: "application/json",
16324
+ type: ContentType.Json,
16638
16325
  format: "json",
16639
16326
  ...params,
16640
16327
  }),
@@ -16684,7 +16371,7 @@ export class Api<
16684
16371
  method: "POST",
16685
16372
  body: data,
16686
16373
  secure: true,
16687
- type: "application/json",
16374
+ type: ContentType.Json,
16688
16375
  format: "json",
16689
16376
  ...params,
16690
16377
  }),
@@ -16717,7 +16404,7 @@ export class Api<
16717
16404
  query: query,
16718
16405
  body: data,
16719
16406
  secure: true,
16720
- type: "application/json",
16407
+ type: ContentType.Json,
16721
16408
  format: "json",
16722
16409
  ...params,
16723
16410
  }),
@@ -16762,7 +16449,7 @@ export class Api<
16762
16449
  method: "PUT",
16763
16450
  body: data,
16764
16451
  secure: true,
16765
- type: "application/json",
16452
+ type: ContentType.Json,
16766
16453
  format: "json",
16767
16454
  ...params,
16768
16455
  }),
@@ -16846,7 +16533,7 @@ export class Api<
16846
16533
  method: "POST",
16847
16534
  body: data,
16848
16535
  secure: true,
16849
- type: "application/json",
16536
+ type: ContentType.Json,
16850
16537
  format: "json",
16851
16538
  ...params,
16852
16539
  }),
@@ -16895,7 +16582,7 @@ export class Api<
16895
16582
  method: "PUT",
16896
16583
  body: data,
16897
16584
  secure: true,
16898
- type: "application/json",
16585
+ type: ContentType.Json,
16899
16586
  format: "json",
16900
16587
  ...params,
16901
16588
  }),
@@ -16937,7 +16624,16 @@ export class Api<
16937
16624
  query?: {
16938
16625
  showAll?: boolean;
16939
16626
  /** @default "Realtor" */
16940
- role?: GetPartnersParamsRoleEnum;
16627
+ role?:
16628
+ | "Borrower"
16629
+ | "LoanOfficer"
16630
+ | "Admin"
16631
+ | "SuperAdmin"
16632
+ | "Realtor"
16633
+ | "SettlementAgent"
16634
+ | "LoanProcessor"
16635
+ | "LoanOfficerAssistant"
16636
+ | "SystemAdmin";
16941
16637
  /** @format int32 */
16942
16638
  pageSize?: number;
16943
16639
  /** @format int32 */
@@ -16984,7 +16680,7 @@ export class Api<
16984
16680
  query: query,
16985
16681
  body: data,
16986
16682
  secure: true,
16987
- type: "application/json",
16683
+ type: ContentType.Json,
16988
16684
  format: "json",
16989
16685
  ...params,
16990
16686
  }),
@@ -17029,7 +16725,7 @@ export class Api<
17029
16725
  method: "POST",
17030
16726
  body: data,
17031
16727
  secure: true,
17032
- type: "application/json",
16728
+ type: ContentType.Json,
17033
16729
  format: "json",
17034
16730
  ...params,
17035
16731
  }),
@@ -17083,7 +16779,7 @@ export class Api<
17083
16779
  query: query,
17084
16780
  body: data,
17085
16781
  secure: true,
17086
- type: "application/json",
16782
+ type: ContentType.Json,
17087
16783
  format: "json",
17088
16784
  ...params,
17089
16785
  }),
@@ -17128,7 +16824,7 @@ export class Api<
17128
16824
  method: "POST",
17129
16825
  body: data,
17130
16826
  secure: true,
17131
- type: "application/json",
16827
+ type: ContentType.Json,
17132
16828
  format: "json",
17133
16829
  ...params,
17134
16830
  }),
@@ -17180,7 +16876,7 @@ export class Api<
17180
16876
  method: "POST",
17181
16877
  body: data,
17182
16878
  secure: true,
17183
- type: "application/json",
16879
+ type: ContentType.Json,
17184
16880
  format: "json",
17185
16881
  ...params,
17186
16882
  }),
@@ -17237,7 +16933,7 @@ export class Api<
17237
16933
  query: query,
17238
16934
  body: data,
17239
16935
  secure: true,
17240
- type: "application/json",
16936
+ type: ContentType.Json,
17241
16937
  format: "json",
17242
16938
  ...params,
17243
16939
  }),
@@ -17273,7 +16969,7 @@ export class Api<
17273
16969
  * @response `404` `ProblemDetails` Not Found
17274
16970
  */
17275
16971
  getSamlMetadata: (
17276
- sSoIntegration: GetSamlMetadataParamsEnum,
16972
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
17277
16973
  ssoIntegration: string,
17278
16974
  params: RequestParams = {},
17279
16975
  ) =>
@@ -17295,7 +16991,7 @@ export class Api<
17295
16991
  * @response `200` `File` OK
17296
16992
  */
17297
16993
  createOrReplaceSamlMetadata: (
17298
- sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
16994
+ sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
17299
16995
  ssoIntegration: string,
17300
16996
  params: RequestParams = {},
17301
16997
  ) =>
@@ -17420,7 +17116,7 @@ export class Api<
17420
17116
  method: "POST",
17421
17117
  body: data,
17422
17118
  secure: true,
17423
- type: "application/json",
17119
+ type: ContentType.Json,
17424
17120
  format: "json",
17425
17121
  ...params,
17426
17122
  }),
@@ -17454,7 +17150,7 @@ export class Api<
17454
17150
  query: query,
17455
17151
  body: data,
17456
17152
  secure: true,
17457
- type: "application/json",
17153
+ type: ContentType.Json,
17458
17154
  format: "json",
17459
17155
  ...params,
17460
17156
  }),
@@ -17475,7 +17171,7 @@ export class Api<
17475
17171
  query?: {
17476
17172
  /** @format uuid */
17477
17173
  siteConfigurationId?: string;
17478
- location?: GetSiteTilesBySiteConfigurationParamsLocationEnum;
17174
+ location?: "HomePage" | "Dashboard";
17479
17175
  },
17480
17176
  params: RequestParams = {},
17481
17177
  ) =>
@@ -17532,7 +17228,7 @@ export class Api<
17532
17228
  method: "PUT",
17533
17229
  body: data,
17534
17230
  secure: true,
17535
- type: "application/json",
17231
+ type: ContentType.Json,
17536
17232
  format: "json",
17537
17233
  ...params,
17538
17234
  }),
@@ -17575,7 +17271,7 @@ export class Api<
17575
17271
  method: "POST",
17576
17272
  body: data,
17577
17273
  secure: true,
17578
- type: "application/json",
17274
+ type: ContentType.Json,
17579
17275
  format: "json",
17580
17276
  ...params,
17581
17277
  }),
@@ -17623,7 +17319,7 @@ export class Api<
17623
17319
  method: "POST",
17624
17320
  body: data,
17625
17321
  secure: true,
17626
- type: "application/json",
17322
+ type: ContentType.Json,
17627
17323
  format: "json",
17628
17324
  ...params,
17629
17325
  }),
@@ -17675,7 +17371,7 @@ export class Api<
17675
17371
  method: "POST",
17676
17372
  body: data,
17677
17373
  secure: true,
17678
- type: "application/json",
17374
+ type: ContentType.Json,
17679
17375
  format: "json",
17680
17376
  ...params,
17681
17377
  }),
@@ -17717,7 +17413,7 @@ export class Api<
17717
17413
  method: "PUT",
17718
17414
  body: data,
17719
17415
  secure: true,
17720
- type: "application/json",
17416
+ type: ContentType.Json,
17721
17417
  format: "json",
17722
17418
  ...params,
17723
17419
  }),
@@ -17769,7 +17465,7 @@ export class Api<
17769
17465
  query: query,
17770
17466
  body: data,
17771
17467
  secure: true,
17772
- type: "application/json",
17468
+ type: ContentType.Json,
17773
17469
  format: "json",
17774
17470
  ...params,
17775
17471
  }),
@@ -17792,7 +17488,7 @@ export class Api<
17792
17488
  method: "POST",
17793
17489
  body: data,
17794
17490
  secure: true,
17795
- type: "application/json",
17491
+ type: ContentType.Json,
17796
17492
  ...params,
17797
17493
  }),
17798
17494
 
@@ -17825,7 +17521,7 @@ export class Api<
17825
17521
  query: query,
17826
17522
  body: data,
17827
17523
  secure: true,
17828
- type: "application/json",
17524
+ type: ContentType.Json,
17829
17525
  format: "json",
17830
17526
  ...params,
17831
17527
  }),
@@ -17869,7 +17565,7 @@ export class Api<
17869
17565
  method: "POST",
17870
17566
  body: data,
17871
17567
  secure: true,
17872
- type: "application/json",
17568
+ type: ContentType.Json,
17873
17569
  format: "json",
17874
17570
  ...params,
17875
17571
  }),
@@ -17893,7 +17589,7 @@ export class Api<
17893
17589
  method: "PUT",
17894
17590
  body: data,
17895
17591
  secure: true,
17896
- type: "application/json",
17592
+ type: ContentType.Json,
17897
17593
  format: "json",
17898
17594
  ...params,
17899
17595
  }),
@@ -17936,7 +17632,7 @@ export class Api<
17936
17632
  method: "POST",
17937
17633
  body: data,
17938
17634
  secure: true,
17939
- type: "application/json",
17635
+ type: ContentType.Json,
17940
17636
  format: "json",
17941
17637
  ...params,
17942
17638
  }),
@@ -17988,7 +17684,7 @@ export class Api<
17988
17684
  query: query,
17989
17685
  body: data,
17990
17686
  secure: true,
17991
- type: "application/json",
17687
+ type: ContentType.Json,
17992
17688
  format: "json",
17993
17689
  ...params,
17994
17690
  }),
@@ -18162,7 +17858,7 @@ export class Api<
18162
17858
  method: "POST",
18163
17859
  body: data,
18164
17860
  secure: true,
18165
- type: "application/json",
17861
+ type: ContentType.Json,
18166
17862
  format: "json",
18167
17863
  ...params,
18168
17864
  }),
@@ -18263,7 +17959,7 @@ export class Api<
18263
17959
  method: "POST",
18264
17960
  body: data,
18265
17961
  secure: true,
18266
- type: "application/json",
17962
+ type: ContentType.Json,
18267
17963
  format: "json",
18268
17964
  ...params,
18269
17965
  }),
@@ -18329,7 +18025,7 @@ export class Api<
18329
18025
  method: "POST",
18330
18026
  body: data,
18331
18027
  secure: true,
18332
- type: "application/json",
18028
+ type: ContentType.Json,
18333
18029
  format: "json",
18334
18030
  ...params,
18335
18031
  }),
@@ -18400,7 +18096,7 @@ export class Api<
18400
18096
  query: query,
18401
18097
  body: data,
18402
18098
  secure: true,
18403
- type: "application/json",
18099
+ type: ContentType.Json,
18404
18100
  format: "json",
18405
18101
  ...params,
18406
18102
  }),
@@ -18497,7 +18193,7 @@ export class Api<
18497
18193
  method: "PUT",
18498
18194
  body: data,
18499
18195
  secure: true,
18500
- type: "application/json",
18196
+ type: ContentType.Json,
18501
18197
  format: "json",
18502
18198
  ...params,
18503
18199
  }),
@@ -18539,7 +18235,7 @@ export class Api<
18539
18235
  method: "POST",
18540
18236
  body: data,
18541
18237
  secure: true,
18542
- type: "application/json",
18238
+ type: ContentType.Json,
18543
18239
  format: "json",
18544
18240
  ...params,
18545
18241
  }),
@@ -18565,7 +18261,7 @@ export class Api<
18565
18261
  method: "POST",
18566
18262
  body: data,
18567
18263
  secure: true,
18568
- type: "application/json",
18264
+ type: ContentType.Json,
18569
18265
  ...params,
18570
18266
  }),
18571
18267
 
@@ -18590,7 +18286,7 @@ export class Api<
18590
18286
  method: "POST",
18591
18287
  body: data,
18592
18288
  secure: true,
18593
- type: "application/json",
18289
+ type: ContentType.Json,
18594
18290
  ...params,
18595
18291
  }),
18596
18292
 
@@ -18676,7 +18372,7 @@ export class Api<
18676
18372
  method: "POST",
18677
18373
  body: data,
18678
18374
  secure: true,
18679
- type: "application/json",
18375
+ type: ContentType.Json,
18680
18376
  ...params,
18681
18377
  }),
18682
18378
 
@@ -18716,7 +18412,7 @@ export class Api<
18716
18412
  method: "POST",
18717
18413
  body: data,
18718
18414
  secure: true,
18719
- type: "application/json",
18415
+ type: ContentType.Json,
18720
18416
  ...params,
18721
18417
  }),
18722
18418
 
@@ -18781,7 +18477,7 @@ export class Api<
18781
18477
  method: "POST",
18782
18478
  body: data,
18783
18479
  secure: true,
18784
- type: "application/json",
18480
+ type: ContentType.Json,
18785
18481
  ...params,
18786
18482
  }),
18787
18483
 
@@ -18805,7 +18501,7 @@ export class Api<
18805
18501
  method: "POST",
18806
18502
  body: data,
18807
18503
  secure: true,
18808
- type: "application/json",
18504
+ type: ContentType.Json,
18809
18505
  ...params,
18810
18506
  }),
18811
18507
 
@@ -18848,7 +18544,7 @@ export class Api<
18848
18544
  method: "POST",
18849
18545
  body: data,
18850
18546
  secure: true,
18851
- type: "application/json",
18547
+ type: ContentType.Json,
18852
18548
  ...params,
18853
18549
  }),
18854
18550
 
@@ -18941,7 +18637,7 @@ export class Api<
18941
18637
  method: "POST",
18942
18638
  body: data,
18943
18639
  secure: true,
18944
- type: "application/json",
18640
+ type: ContentType.Json,
18945
18641
  format: "json",
18946
18642
  ...params,
18947
18643
  }),
@@ -18974,7 +18670,7 @@ export class Api<
18974
18670
  query: query,
18975
18671
  body: data,
18976
18672
  secure: true,
18977
- type: "application/json",
18673
+ type: ContentType.Json,
18978
18674
  format: "json",
18979
18675
  ...params,
18980
18676
  }),
@@ -18995,7 +18691,7 @@ export class Api<
18995
18691
  method: "POST",
18996
18692
  body: data,
18997
18693
  secure: true,
18998
- type: "application/json",
18694
+ type: ContentType.Json,
18999
18695
  format: "json",
19000
18696
  ...params,
19001
18697
  }),
@@ -19017,7 +18713,7 @@ export class Api<
19017
18713
  method: "POST",
19018
18714
  body: data,
19019
18715
  secure: true,
19020
- type: "application/json",
18716
+ type: ContentType.Json,
19021
18717
  format: "json",
19022
18718
  ...params,
19023
18719
  }),
@@ -19043,7 +18739,7 @@ export class Api<
19043
18739
  method: "PUT",
19044
18740
  body: data,
19045
18741
  secure: true,
19046
- type: "application/json",
18742
+ type: ContentType.Json,
19047
18743
  format: "json",
19048
18744
  ...params,
19049
18745
  }),
@@ -19109,7 +18805,7 @@ export class Api<
19109
18805
  method: "POST",
19110
18806
  body: data,
19111
18807
  secure: true,
19112
- type: "application/json",
18808
+ type: ContentType.Json,
19113
18809
  ...params,
19114
18810
  }),
19115
18811
 
@@ -19131,7 +18827,7 @@ export class Api<
19131
18827
  method: "POST",
19132
18828
  body: data,
19133
18829
  secure: true,
19134
- type: "application/json",
18830
+ type: ContentType.Json,
19135
18831
  ...params,
19136
18832
  }),
19137
18833
 
@@ -19156,7 +18852,7 @@ export class Api<
19156
18852
  method: "POST",
19157
18853
  body: data,
19158
18854
  secure: true,
19159
- type: "application/json",
18855
+ type: ContentType.Json,
19160
18856
  ...params,
19161
18857
  }),
19162
18858
 
@@ -19181,7 +18877,7 @@ export class Api<
19181
18877
  method: "POST",
19182
18878
  body: data,
19183
18879
  secure: true,
19184
- type: "application/json",
18880
+ type: ContentType.Json,
19185
18881
  ...params,
19186
18882
  }),
19187
18883
 
@@ -19224,7 +18920,7 @@ export class Api<
19224
18920
  method: "PUT",
19225
18921
  body: data,
19226
18922
  secure: true,
19227
- type: "application/json",
18923
+ type: ContentType.Json,
19228
18924
  ...params,
19229
18925
  }),
19230
18926
 
@@ -19266,7 +18962,7 @@ export class Api<
19266
18962
  method: "PUT",
19267
18963
  body: data,
19268
18964
  secure: true,
19269
- type: "application/json",
18965
+ type: ContentType.Json,
19270
18966
  format: "json",
19271
18967
  ...params,
19272
18968
  }),
@@ -19290,7 +18986,7 @@ export class Api<
19290
18986
  method: "PUT",
19291
18987
  body: data,
19292
18988
  secure: true,
19293
- type: "application/json",
18989
+ type: ContentType.Json,
19294
18990
  format: "json",
19295
18991
  ...params,
19296
18992
  }),
@@ -19367,7 +19063,7 @@ export class Api<
19367
19063
  method: "POST",
19368
19064
  body: data,
19369
19065
  secure: true,
19370
- type: "application/json",
19066
+ type: ContentType.Json,
19371
19067
  ...params,
19372
19068
  }),
19373
19069
 
@@ -19387,7 +19083,7 @@ export class Api<
19387
19083
  method: "POST",
19388
19084
  body: data,
19389
19085
  secure: true,
19390
- type: "application/json",
19086
+ type: ContentType.Json,
19391
19087
  format: "json",
19392
19088
  ...params,
19393
19089
  }),