@matech/thebigpos-sdk 2.45.1-rc10 → 2.45.1-rc11
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/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +0 -10
- package/dist/index.d.ts +298 -461
- package/dist/index.js +336 -350
- package/dist/index.js.map +1 -1
- package/package.json +1 -4
- package/scripts/apply-json-patch-content-type.js +36 -129
- package/src/index.ts +1161 -1582
- package/tsconfig.json +27 -27
package/src/index.ts
CHANGED
|
@@ -552,21 +552,6 @@ export type AiDisplayHint =
|
|
|
552
552
|
| "Comparison"
|
|
553
553
|
| "ExecutiveBrief";
|
|
554
554
|
|
|
555
|
-
export type AiConfigEntityType =
|
|
556
|
-
| "Prompt"
|
|
557
|
-
| "Guardrail"
|
|
558
|
-
| "CanonicalField"
|
|
559
|
-
| "UrlSource"
|
|
560
|
-
| "AdminSettings"
|
|
561
|
-
| "AccountTokenSettings"
|
|
562
|
-
| "AccountSettings";
|
|
563
|
-
|
|
564
|
-
export type AiConfigChangeAction =
|
|
565
|
-
| "Created"
|
|
566
|
-
| "Updated"
|
|
567
|
-
| "Deleted"
|
|
568
|
-
| "Toggled";
|
|
569
|
-
|
|
570
555
|
export type AiAuditEventType =
|
|
571
556
|
| "Error"
|
|
572
557
|
| "GuardrailBlockedPre"
|
|
@@ -589,7 +574,8 @@ export type AiAuditEventType =
|
|
|
589
574
|
| "QueryCondensed"
|
|
590
575
|
| "IntentParseFailed"
|
|
591
576
|
| "LoanSearchTermDiscarded"
|
|
592
|
-
| "CanonicalFieldsSelected"
|
|
577
|
+
| "CanonicalFieldsSelected"
|
|
578
|
+
| "LoanAccessDenied";
|
|
593
579
|
|
|
594
580
|
export type AddressFamily =
|
|
595
581
|
| "Unspecified"
|
|
@@ -678,7 +664,7 @@ export interface AccountBilling {
|
|
|
678
664
|
}
|
|
679
665
|
|
|
680
666
|
export interface AccountBillingRequest {
|
|
681
|
-
billingType:
|
|
667
|
+
billingType: "ClosedLoan" | "LoanOfficer";
|
|
682
668
|
/** @format double */
|
|
683
669
|
contractedRate: number;
|
|
684
670
|
}
|
|
@@ -711,7 +697,6 @@ export interface AccountSettings {
|
|
|
711
697
|
smsNumber?: string | null;
|
|
712
698
|
ssoHostOverride?: string | null;
|
|
713
699
|
isEarlyAdopter: boolean;
|
|
714
|
-
isAIEnabled: boolean;
|
|
715
700
|
}
|
|
716
701
|
|
|
717
702
|
export interface AccountSettingsRequest {
|
|
@@ -727,7 +712,7 @@ export interface Action {
|
|
|
727
712
|
comments?: string | null;
|
|
728
713
|
/** @format uuid */
|
|
729
714
|
siteConfigurationID: string;
|
|
730
|
-
applicationSettings?: any
|
|
715
|
+
applicationSettings?: any;
|
|
731
716
|
surveysToken?: string | null;
|
|
732
717
|
}
|
|
733
718
|
|
|
@@ -964,7 +949,30 @@ export interface AiAuditLog {
|
|
|
964
949
|
conversationId?: string | null;
|
|
965
950
|
/** @format uuid */
|
|
966
951
|
messageId?: string | null;
|
|
967
|
-
eventType:
|
|
952
|
+
eventType:
|
|
953
|
+
| "Error"
|
|
954
|
+
| "GuardrailBlockedPre"
|
|
955
|
+
| "GuardrailPassedPre"
|
|
956
|
+
| "IntentClassified"
|
|
957
|
+
| "LoanResolvedFromMessage"
|
|
958
|
+
| "DocumentNotFound"
|
|
959
|
+
| "GuardrailBlockedPost"
|
|
960
|
+
| "GuardrailPassedPost"
|
|
961
|
+
| "DocumentAnalyzed"
|
|
962
|
+
| "DocumentList"
|
|
963
|
+
| "DocumentResolutionAmbiguous"
|
|
964
|
+
| "ResponseGenerated"
|
|
965
|
+
| "ParametersExtracted"
|
|
966
|
+
| "QueryExecuted"
|
|
967
|
+
| "LoanContextNotFound"
|
|
968
|
+
| "LoanContextLoaded"
|
|
969
|
+
| "GuardrailBlockedBedrock"
|
|
970
|
+
| "PromptMatched"
|
|
971
|
+
| "QueryCondensed"
|
|
972
|
+
| "IntentParseFailed"
|
|
973
|
+
| "LoanSearchTermDiscarded"
|
|
974
|
+
| "CanonicalFieldsSelected"
|
|
975
|
+
| "LoanAccessDenied";
|
|
968
976
|
modelId?: string | null;
|
|
969
977
|
/** @format int32 */
|
|
970
978
|
inputTokens?: number | null;
|
|
@@ -977,7 +985,7 @@ export interface AiAuditLog {
|
|
|
977
985
|
guardrailCategory?: string | null;
|
|
978
986
|
rawRequest?: string | null;
|
|
979
987
|
rawResponse?: string | null;
|
|
980
|
-
details?: any
|
|
988
|
+
details?: any;
|
|
981
989
|
/** @format date-time */
|
|
982
990
|
createdAt: string;
|
|
983
991
|
}
|
|
@@ -1046,7 +1054,18 @@ export interface AiChatMessagePaginated {
|
|
|
1046
1054
|
}
|
|
1047
1055
|
|
|
1048
1056
|
export interface AiChatMetadata {
|
|
1049
|
-
intent:
|
|
1057
|
+
intent:
|
|
1058
|
+
| "Greeting"
|
|
1059
|
+
| "Invalid"
|
|
1060
|
+
| "Relevant"
|
|
1061
|
+
| "LoanSpecific"
|
|
1062
|
+
| "DocumentList"
|
|
1063
|
+
| "GeneralKnowledge"
|
|
1064
|
+
| "Blocked"
|
|
1065
|
+
| "Action"
|
|
1066
|
+
| "ConversationMeta"
|
|
1067
|
+
| "Capabilities"
|
|
1068
|
+
| "UsageReport";
|
|
1050
1069
|
fieldsAccessed: string[];
|
|
1051
1070
|
/** @format int64 */
|
|
1052
1071
|
queryTimeMs: number;
|
|
@@ -1074,7 +1093,7 @@ export interface AiChatRequest {
|
|
|
1074
1093
|
}
|
|
1075
1094
|
|
|
1076
1095
|
export interface AiChatStructuredData {
|
|
1077
|
-
type:
|
|
1096
|
+
type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
1078
1097
|
displayHint?: AiDisplayHint | null;
|
|
1079
1098
|
detectedDocumentType?: string | null;
|
|
1080
1099
|
columns: string[];
|
|
@@ -1084,30 +1103,6 @@ export interface AiChatStructuredData {
|
|
|
1084
1103
|
generatedFileName?: string | null;
|
|
1085
1104
|
}
|
|
1086
1105
|
|
|
1087
|
-
export interface AiConfigChangeLog {
|
|
1088
|
-
/** @format uuid */
|
|
1089
|
-
id: string;
|
|
1090
|
-
/** @format uuid */
|
|
1091
|
-
accountId?: string | null;
|
|
1092
|
-
/** @format uuid */
|
|
1093
|
-
actorUserId: string;
|
|
1094
|
-
entityType: AiConfigChangeLogEntityTypeEnum;
|
|
1095
|
-
/** @format uuid */
|
|
1096
|
-
entityId?: string | null;
|
|
1097
|
-
action: AiConfigChangeLogActionEnum;
|
|
1098
|
-
before?: any | null;
|
|
1099
|
-
after?: any | null;
|
|
1100
|
-
/** @format date-time */
|
|
1101
|
-
createdAt: string;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
export interface AiConfigChangeLogPaginated {
|
|
1105
|
-
rows: AiConfigChangeLog[];
|
|
1106
|
-
pagination: Pagination;
|
|
1107
|
-
/** @format int64 */
|
|
1108
|
-
count: number;
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
1106
|
export interface AiConversationAuditSummary {
|
|
1112
1107
|
/** @format uuid */
|
|
1113
1108
|
conversationId: string;
|
|
@@ -1173,16 +1168,20 @@ export interface AiConversationListItemPaginated {
|
|
|
1173
1168
|
count: number;
|
|
1174
1169
|
}
|
|
1175
1170
|
|
|
1171
|
+
export interface AiEnabled {
|
|
1172
|
+
isEnabled: boolean;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1176
1175
|
export interface AiGuardrail {
|
|
1177
1176
|
/** @format uuid */
|
|
1178
1177
|
id: string;
|
|
1179
1178
|
name: string;
|
|
1180
|
-
category:
|
|
1179
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1181
1180
|
description?: string | null;
|
|
1182
1181
|
keywords: string[];
|
|
1183
1182
|
responseTemplate: string;
|
|
1184
1183
|
isDefault: boolean;
|
|
1185
|
-
|
|
1184
|
+
isActive: boolean;
|
|
1186
1185
|
hasAccountOverride: boolean;
|
|
1187
1186
|
/** @format date-time */
|
|
1188
1187
|
createdAt: string;
|
|
@@ -1289,8 +1288,8 @@ export interface AiUrlSource {
|
|
|
1289
1288
|
name: string;
|
|
1290
1289
|
url: string;
|
|
1291
1290
|
description?: string | null;
|
|
1292
|
-
category:
|
|
1293
|
-
scope:
|
|
1291
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1292
|
+
scope: "FullDomain" | "SpecificPath";
|
|
1294
1293
|
isActive: boolean;
|
|
1295
1294
|
isDefault: boolean;
|
|
1296
1295
|
hasAccountOverride: boolean;
|
|
@@ -1403,14 +1402,21 @@ export interface AuditLogEntry {
|
|
|
1403
1402
|
/** @format uuid */
|
|
1404
1403
|
id: string;
|
|
1405
1404
|
entityType: string;
|
|
1406
|
-
changeType:
|
|
1405
|
+
changeType:
|
|
1406
|
+
| "Created"
|
|
1407
|
+
| "Modified"
|
|
1408
|
+
| "SoftDeleted"
|
|
1409
|
+
| "HardDeleted"
|
|
1410
|
+
| "Restored"
|
|
1411
|
+
| "Deactivated"
|
|
1412
|
+
| "Reactivated";
|
|
1407
1413
|
/** @format uuid */
|
|
1408
1414
|
entityId: string;
|
|
1409
1415
|
performedBy?: AuditLogUser | null;
|
|
1410
1416
|
rootEntityType?: string | null;
|
|
1411
1417
|
/** @format uuid */
|
|
1412
1418
|
rootEntityId?: string | null;
|
|
1413
|
-
changes?: any
|
|
1419
|
+
changes?: any;
|
|
1414
1420
|
/** @format date-time */
|
|
1415
1421
|
createdAt: string;
|
|
1416
1422
|
}
|
|
@@ -1455,7 +1461,20 @@ export interface BorrowerCount {
|
|
|
1455
1461
|
firstName: string;
|
|
1456
1462
|
lastName: string;
|
|
1457
1463
|
email: string;
|
|
1458
|
-
role:
|
|
1464
|
+
role:
|
|
1465
|
+
| "Borrower"
|
|
1466
|
+
| "CoBorrower"
|
|
1467
|
+
| "NonBorrower"
|
|
1468
|
+
| "LoanOfficer"
|
|
1469
|
+
| "LoanProcessor"
|
|
1470
|
+
| "LoanOfficerAssistant"
|
|
1471
|
+
| "SupportingLoanOfficer"
|
|
1472
|
+
| "BuyerAgent"
|
|
1473
|
+
| "SellerAgent"
|
|
1474
|
+
| "TitleInsuranceAgent"
|
|
1475
|
+
| "EscrowAgent"
|
|
1476
|
+
| "SettlementAgent"
|
|
1477
|
+
| "Admin";
|
|
1459
1478
|
/** @format int32 */
|
|
1460
1479
|
count: number;
|
|
1461
1480
|
}
|
|
@@ -1466,7 +1485,20 @@ export interface BorrowerIdentity {
|
|
|
1466
1485
|
firstName: string;
|
|
1467
1486
|
lastName: string;
|
|
1468
1487
|
email: string;
|
|
1469
|
-
role:
|
|
1488
|
+
role:
|
|
1489
|
+
| "Borrower"
|
|
1490
|
+
| "CoBorrower"
|
|
1491
|
+
| "NonBorrower"
|
|
1492
|
+
| "LoanOfficer"
|
|
1493
|
+
| "LoanProcessor"
|
|
1494
|
+
| "LoanOfficerAssistant"
|
|
1495
|
+
| "SupportingLoanOfficer"
|
|
1496
|
+
| "BuyerAgent"
|
|
1497
|
+
| "SellerAgent"
|
|
1498
|
+
| "TitleInsuranceAgent"
|
|
1499
|
+
| "EscrowAgent"
|
|
1500
|
+
| "SettlementAgent"
|
|
1501
|
+
| "Admin";
|
|
1470
1502
|
}
|
|
1471
1503
|
|
|
1472
1504
|
export interface BorrowersNotUsingPosSummary {
|
|
@@ -1727,7 +1759,7 @@ export interface CorporateSearchCriteria {
|
|
|
1727
1759
|
}
|
|
1728
1760
|
|
|
1729
1761
|
export interface CreateAccessScopeRequest {
|
|
1730
|
-
scopeType:
|
|
1762
|
+
scopeType: "User" | "Branch";
|
|
1731
1763
|
/** @format uuid */
|
|
1732
1764
|
userId?: string | null;
|
|
1733
1765
|
/** @format uuid */
|
|
@@ -1746,7 +1778,7 @@ export interface CreateAccountRequest {
|
|
|
1746
1778
|
/** @format int64 */
|
|
1747
1779
|
nlmsid: number;
|
|
1748
1780
|
settings: AccountSettingsRequest;
|
|
1749
|
-
environment:
|
|
1781
|
+
environment: "Development" | "Staging" | "UAT" | "Production";
|
|
1750
1782
|
losIntegration: LOSIntegration;
|
|
1751
1783
|
billingSettings: AccountBillingRequest;
|
|
1752
1784
|
}
|
|
@@ -1762,7 +1794,7 @@ export interface CreateAiCanonicalFieldRequest {
|
|
|
1762
1794
|
|
|
1763
1795
|
export interface CreateAiGuardrailRequest {
|
|
1764
1796
|
name: string;
|
|
1765
|
-
category:
|
|
1797
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1766
1798
|
description?: string | null;
|
|
1767
1799
|
keywords: string[];
|
|
1768
1800
|
responseTemplate: string;
|
|
@@ -1790,8 +1822,8 @@ export interface CreateAiUrlSourceRequest {
|
|
|
1790
1822
|
name: string;
|
|
1791
1823
|
url: string;
|
|
1792
1824
|
description?: string | null;
|
|
1793
|
-
category:
|
|
1794
|
-
scope:
|
|
1825
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1826
|
+
scope: "FullDomain" | "SpecificPath";
|
|
1795
1827
|
}
|
|
1796
1828
|
|
|
1797
1829
|
export interface CreateBranchRequest {
|
|
@@ -1816,8 +1848,15 @@ export interface CreateCustomFieldDefinitionRequest {
|
|
|
1816
1848
|
name: string;
|
|
1817
1849
|
defaultValue?: string | null;
|
|
1818
1850
|
regexPattern?: string | null;
|
|
1819
|
-
dataType:
|
|
1820
|
-
|
|
1851
|
+
dataType:
|
|
1852
|
+
| "String"
|
|
1853
|
+
| "Number"
|
|
1854
|
+
| "Decimal"
|
|
1855
|
+
| "Boolean"
|
|
1856
|
+
| "Date"
|
|
1857
|
+
| "SingleSelect"
|
|
1858
|
+
| "MultiSelect";
|
|
1859
|
+
entityType: "Loan";
|
|
1821
1860
|
options?: CustomFieldOptionRequest[] | null;
|
|
1822
1861
|
permissions?: CustomFieldPermissionRequest[] | null;
|
|
1823
1862
|
}
|
|
@@ -1834,7 +1873,20 @@ export interface CreateDocumentTemplateRequest {
|
|
|
1834
1873
|
export interface CreateGroupMemberRequest {
|
|
1835
1874
|
/** @format uuid */
|
|
1836
1875
|
userId: string;
|
|
1837
|
-
loanRole:
|
|
1876
|
+
loanRole:
|
|
1877
|
+
| "Borrower"
|
|
1878
|
+
| "CoBorrower"
|
|
1879
|
+
| "NonBorrower"
|
|
1880
|
+
| "LoanOfficer"
|
|
1881
|
+
| "LoanProcessor"
|
|
1882
|
+
| "LoanOfficerAssistant"
|
|
1883
|
+
| "SupportingLoanOfficer"
|
|
1884
|
+
| "BuyerAgent"
|
|
1885
|
+
| "SellerAgent"
|
|
1886
|
+
| "TitleInsuranceAgent"
|
|
1887
|
+
| "EscrowAgent"
|
|
1888
|
+
| "SettlementAgent"
|
|
1889
|
+
| "Admin";
|
|
1838
1890
|
}
|
|
1839
1891
|
|
|
1840
1892
|
export interface CreateInviteRequest {
|
|
@@ -1843,7 +1895,7 @@ export interface CreateInviteRequest {
|
|
|
1843
1895
|
emailAddress: string;
|
|
1844
1896
|
phoneNumber?: string | null;
|
|
1845
1897
|
/** @deprecated */
|
|
1846
|
-
relationship:
|
|
1898
|
+
relationship: "NotApplicable" | "Spouse" | "NonSpouse";
|
|
1847
1899
|
loanID: string;
|
|
1848
1900
|
route?: string | null;
|
|
1849
1901
|
/** @format uuid */
|
|
@@ -1865,7 +1917,7 @@ export interface CreateLoanImportRequest {
|
|
|
1865
1917
|
endDate: string;
|
|
1866
1918
|
/** @format date-time */
|
|
1867
1919
|
startDate: string;
|
|
1868
|
-
importMode:
|
|
1920
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
1869
1921
|
}
|
|
1870
1922
|
|
|
1871
1923
|
export interface CreateSession {
|
|
@@ -1887,7 +1939,20 @@ export interface CreateUserDeviceRequest {
|
|
|
1887
1939
|
}
|
|
1888
1940
|
|
|
1889
1941
|
export interface CreateUserDraft {
|
|
1890
|
-
loanRole:
|
|
1942
|
+
loanRole:
|
|
1943
|
+
| "Borrower"
|
|
1944
|
+
| "CoBorrower"
|
|
1945
|
+
| "NonBorrower"
|
|
1946
|
+
| "LoanOfficer"
|
|
1947
|
+
| "LoanProcessor"
|
|
1948
|
+
| "LoanOfficerAssistant"
|
|
1949
|
+
| "SupportingLoanOfficer"
|
|
1950
|
+
| "BuyerAgent"
|
|
1951
|
+
| "SellerAgent"
|
|
1952
|
+
| "TitleInsuranceAgent"
|
|
1953
|
+
| "EscrowAgent"
|
|
1954
|
+
| "SettlementAgent"
|
|
1955
|
+
| "Admin";
|
|
1891
1956
|
}
|
|
1892
1957
|
|
|
1893
1958
|
export interface CreateUserGroupRequest {
|
|
@@ -1955,8 +2020,15 @@ export interface CustomFieldDefinition {
|
|
|
1955
2020
|
name: string;
|
|
1956
2021
|
defaultValue?: string | null;
|
|
1957
2022
|
regexPattern?: string | null;
|
|
1958
|
-
dataType:
|
|
1959
|
-
|
|
2023
|
+
dataType:
|
|
2024
|
+
| "String"
|
|
2025
|
+
| "Number"
|
|
2026
|
+
| "Decimal"
|
|
2027
|
+
| "Boolean"
|
|
2028
|
+
| "Date"
|
|
2029
|
+
| "SingleSelect"
|
|
2030
|
+
| "MultiSelect";
|
|
2031
|
+
entityType: "Loan";
|
|
1960
2032
|
options: CustomFieldOption[];
|
|
1961
2033
|
permissions: CustomFieldPermission[];
|
|
1962
2034
|
encompassMapping?: EncompassMapping | null;
|
|
@@ -1971,7 +2043,14 @@ export interface CustomFieldEntry {
|
|
|
1971
2043
|
displayOrder: number;
|
|
1972
2044
|
name: string;
|
|
1973
2045
|
value: string;
|
|
1974
|
-
dataType:
|
|
2046
|
+
dataType:
|
|
2047
|
+
| "String"
|
|
2048
|
+
| "Number"
|
|
2049
|
+
| "Decimal"
|
|
2050
|
+
| "Boolean"
|
|
2051
|
+
| "Date"
|
|
2052
|
+
| "SingleSelect"
|
|
2053
|
+
| "MultiSelect";
|
|
1975
2054
|
}
|
|
1976
2055
|
|
|
1977
2056
|
export interface CustomFieldOption {
|
|
@@ -1991,13 +2070,31 @@ export interface CustomFieldOptionRequest {
|
|
|
1991
2070
|
export interface CustomFieldPermission {
|
|
1992
2071
|
/** @format uuid */
|
|
1993
2072
|
id: string;
|
|
1994
|
-
role:
|
|
1995
|
-
|
|
2073
|
+
role:
|
|
2074
|
+
| "Borrower"
|
|
2075
|
+
| "LoanOfficer"
|
|
2076
|
+
| "Admin"
|
|
2077
|
+
| "SuperAdmin"
|
|
2078
|
+
| "Realtor"
|
|
2079
|
+
| "SettlementAgent"
|
|
2080
|
+
| "LoanProcessor"
|
|
2081
|
+
| "LoanOfficerAssistant"
|
|
2082
|
+
| "SystemAdmin";
|
|
2083
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
1996
2084
|
}
|
|
1997
2085
|
|
|
1998
2086
|
export interface CustomFieldPermissionRequest {
|
|
1999
|
-
role:
|
|
2000
|
-
|
|
2087
|
+
role:
|
|
2088
|
+
| "Borrower"
|
|
2089
|
+
| "LoanOfficer"
|
|
2090
|
+
| "Admin"
|
|
2091
|
+
| "SuperAdmin"
|
|
2092
|
+
| "Realtor"
|
|
2093
|
+
| "SettlementAgent"
|
|
2094
|
+
| "LoanProcessor"
|
|
2095
|
+
| "LoanOfficerAssistant"
|
|
2096
|
+
| "SystemAdmin";
|
|
2097
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
2001
2098
|
}
|
|
2002
2099
|
|
|
2003
2100
|
export interface CustomFieldValue {
|
|
@@ -2009,7 +2106,14 @@ export interface CustomFieldValue {
|
|
|
2009
2106
|
customFieldDefinitionID: string;
|
|
2010
2107
|
value: string;
|
|
2011
2108
|
definitionName: string;
|
|
2012
|
-
dataType:
|
|
2109
|
+
dataType:
|
|
2110
|
+
| "String"
|
|
2111
|
+
| "Number"
|
|
2112
|
+
| "Decimal"
|
|
2113
|
+
| "Boolean"
|
|
2114
|
+
| "Date"
|
|
2115
|
+
| "SingleSelect"
|
|
2116
|
+
| "MultiSelect";
|
|
2013
2117
|
}
|
|
2014
2118
|
|
|
2015
2119
|
export interface DetailedUser {
|
|
@@ -2266,7 +2370,7 @@ export interface Draft {
|
|
|
2266
2370
|
siteConfiguration: SiteConfigurationReduced;
|
|
2267
2371
|
/** @format uuid */
|
|
2268
2372
|
loanID?: string | null;
|
|
2269
|
-
type:
|
|
2373
|
+
type: "NewLoan" | "EditLoan";
|
|
2270
2374
|
isCoBorrower: boolean;
|
|
2271
2375
|
}
|
|
2272
2376
|
|
|
@@ -2285,7 +2389,7 @@ export interface DraftContent {
|
|
|
2285
2389
|
siteConfiguration: SiteConfigurationReduced;
|
|
2286
2390
|
/** @format uuid */
|
|
2287
2391
|
loanID?: string | null;
|
|
2288
|
-
type:
|
|
2392
|
+
type: "NewLoan" | "EditLoan";
|
|
2289
2393
|
isCoBorrower: boolean;
|
|
2290
2394
|
applicationPayload: any;
|
|
2291
2395
|
}
|
|
@@ -2304,7 +2408,7 @@ export interface DraftLoanOfficerReassignRequest {
|
|
|
2304
2408
|
|
|
2305
2409
|
export interface DraftRequest {
|
|
2306
2410
|
applicationPayload: any;
|
|
2307
|
-
customData?: any
|
|
2411
|
+
customData?: any;
|
|
2308
2412
|
isCoBorrower: boolean;
|
|
2309
2413
|
}
|
|
2310
2414
|
|
|
@@ -2382,9 +2486,9 @@ export interface EncompassCredentialsDetail {
|
|
|
2382
2486
|
clearStateIfUnlicensed: boolean;
|
|
2383
2487
|
/** @deprecated */
|
|
2384
2488
|
baseUrl?: string | null;
|
|
2385
|
-
encompassEnvironment:
|
|
2489
|
+
encompassEnvironment: "Production" | "UAT";
|
|
2386
2490
|
consumerConnectWidgetHost?: string | null;
|
|
2387
|
-
signingMethod:
|
|
2491
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
2388
2492
|
subscriptionId?: string | null;
|
|
2389
2493
|
environment?: string | null;
|
|
2390
2494
|
}
|
|
@@ -2401,9 +2505,9 @@ export interface EncompassCredentialsRequest {
|
|
|
2401
2505
|
clearStateIfUnlicensed: boolean;
|
|
2402
2506
|
/** @deprecated */
|
|
2403
2507
|
baseUrl?: string | null;
|
|
2404
|
-
encompassEnvironment:
|
|
2508
|
+
encompassEnvironment: "Production" | "UAT";
|
|
2405
2509
|
consumerConnectWidgetHost?: string | null;
|
|
2406
|
-
signingMethod:
|
|
2510
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
2407
2511
|
subscriptionId?: string | null;
|
|
2408
2512
|
environment?: string | null;
|
|
2409
2513
|
clientID?: string | null;
|
|
@@ -2525,8 +2629,15 @@ export interface EncompassRequestLog {
|
|
|
2525
2629
|
losId?: string | null;
|
|
2526
2630
|
/** @format uuid */
|
|
2527
2631
|
accountId: string;
|
|
2528
|
-
operationType:
|
|
2529
|
-
|
|
2632
|
+
operationType:
|
|
2633
|
+
| "FieldUpdate"
|
|
2634
|
+
| "ConsentUpdate"
|
|
2635
|
+
| "DocumentSync"
|
|
2636
|
+
| "MilestoneUpdate"
|
|
2637
|
+
| "DocumentAttachment"
|
|
2638
|
+
| "General"
|
|
2639
|
+
| "FieldReader";
|
|
2640
|
+
outcome: "Success" | "Failure" | "PartialSuccess";
|
|
2530
2641
|
message: string;
|
|
2531
2642
|
endpoint?: string | null;
|
|
2532
2643
|
httpMethod?: string | null;
|
|
@@ -2534,7 +2645,7 @@ export interface EncompassRequestLog {
|
|
|
2534
2645
|
httpStatusCode?: number | null;
|
|
2535
2646
|
/** @format int64 */
|
|
2536
2647
|
durationMs?: number | null;
|
|
2537
|
-
context?: any
|
|
2648
|
+
context?: any;
|
|
2538
2649
|
/** @format date-time */
|
|
2539
2650
|
createdAt: string;
|
|
2540
2651
|
}
|
|
@@ -2580,7 +2691,7 @@ export interface FileSearchCriteria {
|
|
|
2580
2691
|
export interface FileWithBytes {
|
|
2581
2692
|
name: string;
|
|
2582
2693
|
/** @format byte */
|
|
2583
|
-
data:
|
|
2694
|
+
data: string;
|
|
2584
2695
|
fileName: string;
|
|
2585
2696
|
mimeType?: string | null;
|
|
2586
2697
|
extension?: string | null;
|
|
@@ -2659,7 +2770,7 @@ export interface FormSubmission {
|
|
|
2659
2770
|
subjectPropertyAddressCounty?: string | null;
|
|
2660
2771
|
subjectPropertyAddressState?: string | null;
|
|
2661
2772
|
subjectPropertyAddressZip?: string | null;
|
|
2662
|
-
data?: any
|
|
2773
|
+
data?: any;
|
|
2663
2774
|
/** @format uuid */
|
|
2664
2775
|
listingID?: string | null;
|
|
2665
2776
|
listing?: Listing | null;
|
|
@@ -2697,7 +2808,7 @@ export interface FormSubmissionRequest {
|
|
|
2697
2808
|
subjectPropertyAddressCounty?: string | null;
|
|
2698
2809
|
subjectPropertyAddressState?: string | null;
|
|
2699
2810
|
subjectPropertyAddressZip?: string | null;
|
|
2700
|
-
data?: any
|
|
2811
|
+
data?: any;
|
|
2701
2812
|
/** @format uuid */
|
|
2702
2813
|
listingID?: string | null;
|
|
2703
2814
|
}
|
|
@@ -2752,7 +2863,20 @@ export interface FusionFieldDisplay {
|
|
|
2752
2863
|
}
|
|
2753
2864
|
|
|
2754
2865
|
export interface FusionReportFilter {
|
|
2755
|
-
filterType:
|
|
2866
|
+
filterType:
|
|
2867
|
+
| "DateGreaterThanOrEqualTo"
|
|
2868
|
+
| "DateGreaterThan"
|
|
2869
|
+
| "DateLessThan"
|
|
2870
|
+
| "DateLessThanOrEqualTo"
|
|
2871
|
+
| "DateEquals"
|
|
2872
|
+
| "DateDoesntEqual"
|
|
2873
|
+
| "DateNonEmpty"
|
|
2874
|
+
| "DateEmpty"
|
|
2875
|
+
| "StringContains"
|
|
2876
|
+
| "StringEquals"
|
|
2877
|
+
| "StringNotEmpty"
|
|
2878
|
+
| "StringNotEquals"
|
|
2879
|
+
| "StringNotContains";
|
|
2756
2880
|
targetField: string;
|
|
2757
2881
|
targetValue: string;
|
|
2758
2882
|
}
|
|
@@ -2775,7 +2899,7 @@ export interface GenerateSystemPrompt {
|
|
|
2775
2899
|
|
|
2776
2900
|
export interface GenerateSystemPromptRequest {
|
|
2777
2901
|
description: string;
|
|
2778
|
-
category:
|
|
2902
|
+
category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
2779
2903
|
}
|
|
2780
2904
|
|
|
2781
2905
|
export interface GetApplications {
|
|
@@ -2871,12 +2995,45 @@ export interface GetWorkflowRequest {
|
|
|
2871
2995
|
export interface GuidPatchOperation {
|
|
2872
2996
|
op: string;
|
|
2873
2997
|
path: string;
|
|
2874
|
-
value?: any
|
|
2998
|
+
value?: any;
|
|
2875
2999
|
from?: string | null;
|
|
2876
3000
|
}
|
|
2877
3001
|
|
|
2878
3002
|
export interface IPAddress {
|
|
2879
|
-
addressFamily:
|
|
3003
|
+
addressFamily:
|
|
3004
|
+
| "Unspecified"
|
|
3005
|
+
| "Unix"
|
|
3006
|
+
| "InterNetwork"
|
|
3007
|
+
| "ImpLink"
|
|
3008
|
+
| "Pup"
|
|
3009
|
+
| "Chaos"
|
|
3010
|
+
| "NS"
|
|
3011
|
+
| "Ipx"
|
|
3012
|
+
| "Iso"
|
|
3013
|
+
| "Osi"
|
|
3014
|
+
| "Ecma"
|
|
3015
|
+
| "DataKit"
|
|
3016
|
+
| "Ccitt"
|
|
3017
|
+
| "Sna"
|
|
3018
|
+
| "DecNet"
|
|
3019
|
+
| "DataLink"
|
|
3020
|
+
| "Lat"
|
|
3021
|
+
| "HyperChannel"
|
|
3022
|
+
| "AppleTalk"
|
|
3023
|
+
| "NetBios"
|
|
3024
|
+
| "VoiceView"
|
|
3025
|
+
| "FireFox"
|
|
3026
|
+
| "Banyan"
|
|
3027
|
+
| "Atm"
|
|
3028
|
+
| "InterNetworkV6"
|
|
3029
|
+
| "Cluster"
|
|
3030
|
+
| "Ieee12844"
|
|
3031
|
+
| "Irda"
|
|
3032
|
+
| "NetworkDesigners"
|
|
3033
|
+
| "Max"
|
|
3034
|
+
| "Packet"
|
|
3035
|
+
| "ControllerAreaNetwork"
|
|
3036
|
+
| "Unknown";
|
|
2880
3037
|
/** @format int64 */
|
|
2881
3038
|
scopeId: number;
|
|
2882
3039
|
isIPv6Multicast: boolean;
|
|
@@ -3140,7 +3297,7 @@ export interface Loan {
|
|
|
3140
3297
|
contacts: LoanContact[];
|
|
3141
3298
|
customFields: CustomFieldEntry[];
|
|
3142
3299
|
milestones: LoanMilestone[];
|
|
3143
|
-
signingMethod:
|
|
3300
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
3144
3301
|
}
|
|
3145
3302
|
|
|
3146
3303
|
export interface LoanApplication {
|
|
@@ -3180,7 +3337,7 @@ export interface LoanApplicationRequest {
|
|
|
3180
3337
|
nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
|
|
3181
3338
|
/** @format uuid */
|
|
3182
3339
|
draftId?: string | null;
|
|
3183
|
-
additionalFields?: Record<string, any
|
|
3340
|
+
additionalFields?: Record<string, any>;
|
|
3184
3341
|
/** @format uuid */
|
|
3185
3342
|
existingLoanId?: string | null;
|
|
3186
3343
|
}
|
|
@@ -3200,7 +3357,7 @@ export interface LoanBorrower {
|
|
|
3200
3357
|
citizenship?: LoanCitizenship | null;
|
|
3201
3358
|
maritalStatus?: LoanMaritalStatus | null;
|
|
3202
3359
|
languagePreference?: LoanLanguagePreference | null;
|
|
3203
|
-
applicationStatus:
|
|
3360
|
+
applicationStatus: "Draft" | "Complete";
|
|
3204
3361
|
/** @format int32 */
|
|
3205
3362
|
numberOfDependents?: number | null;
|
|
3206
3363
|
/** @format int32 */
|
|
@@ -3993,7 +4150,7 @@ export interface LoanConsentRequest {
|
|
|
3993
4150
|
borrowerEConsent?: boolean | null;
|
|
3994
4151
|
borrowerCreditAuth?: boolean | null;
|
|
3995
4152
|
borrowerTCPAOptIn?: boolean | null;
|
|
3996
|
-
additionalFields?: Record<string, string
|
|
4153
|
+
additionalFields?: Record<string, string>;
|
|
3997
4154
|
}
|
|
3998
4155
|
|
|
3999
4156
|
export interface LoanContact {
|
|
@@ -4012,7 +4169,20 @@ export interface LoanContact {
|
|
|
4012
4169
|
email?: string | null;
|
|
4013
4170
|
phone?: string | null;
|
|
4014
4171
|
companyName?: string | null;
|
|
4015
|
-
role:
|
|
4172
|
+
role:
|
|
4173
|
+
| "Borrower"
|
|
4174
|
+
| "CoBorrower"
|
|
4175
|
+
| "NonBorrower"
|
|
4176
|
+
| "LoanOfficer"
|
|
4177
|
+
| "LoanProcessor"
|
|
4178
|
+
| "LoanOfficerAssistant"
|
|
4179
|
+
| "SupportingLoanOfficer"
|
|
4180
|
+
| "BuyerAgent"
|
|
4181
|
+
| "SellerAgent"
|
|
4182
|
+
| "TitleInsuranceAgent"
|
|
4183
|
+
| "EscrowAgent"
|
|
4184
|
+
| "SettlementAgent"
|
|
4185
|
+
| "Admin";
|
|
4016
4186
|
}
|
|
4017
4187
|
|
|
4018
4188
|
export interface LoanContactList {
|
|
@@ -4037,7 +4207,7 @@ export interface LoanCostDetails {
|
|
|
4037
4207
|
}
|
|
4038
4208
|
|
|
4039
4209
|
export interface LoanCustomFieldsRequest {
|
|
4040
|
-
additionalFields?: Record<string, string
|
|
4210
|
+
additionalFields?: Record<string, string>;
|
|
4041
4211
|
}
|
|
4042
4212
|
|
|
4043
4213
|
export interface LoanDocument {
|
|
@@ -4090,13 +4260,39 @@ export interface LoanDocumentFolderPermission {
|
|
|
4090
4260
|
id: string;
|
|
4091
4261
|
/** @format uuid */
|
|
4092
4262
|
loanDocumentFolderID: string;
|
|
4093
|
-
role:
|
|
4094
|
-
|
|
4263
|
+
role:
|
|
4264
|
+
| "Borrower"
|
|
4265
|
+
| "CoBorrower"
|
|
4266
|
+
| "NonBorrower"
|
|
4267
|
+
| "LoanOfficer"
|
|
4268
|
+
| "LoanProcessor"
|
|
4269
|
+
| "LoanOfficerAssistant"
|
|
4270
|
+
| "SupportingLoanOfficer"
|
|
4271
|
+
| "BuyerAgent"
|
|
4272
|
+
| "SellerAgent"
|
|
4273
|
+
| "TitleInsuranceAgent"
|
|
4274
|
+
| "EscrowAgent"
|
|
4275
|
+
| "SettlementAgent"
|
|
4276
|
+
| "Admin";
|
|
4277
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
4095
4278
|
}
|
|
4096
4279
|
|
|
4097
4280
|
export interface LoanDocumentFolderPermissionRequest {
|
|
4098
|
-
role:
|
|
4099
|
-
|
|
4281
|
+
role:
|
|
4282
|
+
| "Borrower"
|
|
4283
|
+
| "CoBorrower"
|
|
4284
|
+
| "NonBorrower"
|
|
4285
|
+
| "LoanOfficer"
|
|
4286
|
+
| "LoanProcessor"
|
|
4287
|
+
| "LoanOfficerAssistant"
|
|
4288
|
+
| "SupportingLoanOfficer"
|
|
4289
|
+
| "BuyerAgent"
|
|
4290
|
+
| "SellerAgent"
|
|
4291
|
+
| "TitleInsuranceAgent"
|
|
4292
|
+
| "EscrowAgent"
|
|
4293
|
+
| "SettlementAgent"
|
|
4294
|
+
| "Admin";
|
|
4295
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
4100
4296
|
}
|
|
4101
4297
|
|
|
4102
4298
|
export interface LoanDocumentFolderUsage {
|
|
@@ -4242,14 +4438,19 @@ export interface LoanImport {
|
|
|
4242
4438
|
/** @format int32 */
|
|
4243
4439
|
importedCount: number;
|
|
4244
4440
|
statusMessage?: string | null;
|
|
4245
|
-
status:
|
|
4246
|
-
|
|
4441
|
+
status:
|
|
4442
|
+
| "WaitingProcess"
|
|
4443
|
+
| "InProgress"
|
|
4444
|
+
| "Completed"
|
|
4445
|
+
| "Failed"
|
|
4446
|
+
| "Cancelled";
|
|
4447
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
4247
4448
|
/** @format date-time */
|
|
4248
4449
|
createdAt?: string | null;
|
|
4249
4450
|
}
|
|
4250
4451
|
|
|
4251
4452
|
export interface LoanImportLog {
|
|
4252
|
-
level:
|
|
4453
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
4253
4454
|
message: string;
|
|
4254
4455
|
/** @format date-time */
|
|
4255
4456
|
createdAt: string;
|
|
@@ -4310,8 +4511,25 @@ export interface LoanListPaginated {
|
|
|
4310
4511
|
export interface LoanLog {
|
|
4311
4512
|
/** @format uuid */
|
|
4312
4513
|
id: string;
|
|
4313
|
-
level:
|
|
4314
|
-
type:
|
|
4514
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
4515
|
+
type:
|
|
4516
|
+
| "Loan"
|
|
4517
|
+
| "Queue"
|
|
4518
|
+
| "POSFlagChanged"
|
|
4519
|
+
| "Verification"
|
|
4520
|
+
| "DocumentUploaded"
|
|
4521
|
+
| "LoanCreated"
|
|
4522
|
+
| "WorkflowSubmitted"
|
|
4523
|
+
| "UserInvitationSent"
|
|
4524
|
+
| "CoBorrowerAdded"
|
|
4525
|
+
| "TaskCompleted"
|
|
4526
|
+
| "LoanStatusChanged"
|
|
4527
|
+
| "Consent"
|
|
4528
|
+
| "SensitiveDataPurge"
|
|
4529
|
+
| "ClosingDateUpdated"
|
|
4530
|
+
| "ConsumerConnectAssociation"
|
|
4531
|
+
| "TaskReminderSent"
|
|
4532
|
+
| "DocumentClassified";
|
|
4315
4533
|
message: string;
|
|
4316
4534
|
/** @format date-time */
|
|
4317
4535
|
createdAt: string;
|
|
@@ -4320,8 +4538,25 @@ export interface LoanLog {
|
|
|
4320
4538
|
export interface LoanLogDetail {
|
|
4321
4539
|
/** @format uuid */
|
|
4322
4540
|
id: string;
|
|
4323
|
-
level:
|
|
4324
|
-
type:
|
|
4541
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
4542
|
+
type:
|
|
4543
|
+
| "Loan"
|
|
4544
|
+
| "Queue"
|
|
4545
|
+
| "POSFlagChanged"
|
|
4546
|
+
| "Verification"
|
|
4547
|
+
| "DocumentUploaded"
|
|
4548
|
+
| "LoanCreated"
|
|
4549
|
+
| "WorkflowSubmitted"
|
|
4550
|
+
| "UserInvitationSent"
|
|
4551
|
+
| "CoBorrowerAdded"
|
|
4552
|
+
| "TaskCompleted"
|
|
4553
|
+
| "LoanStatusChanged"
|
|
4554
|
+
| "Consent"
|
|
4555
|
+
| "SensitiveDataPurge"
|
|
4556
|
+
| "ClosingDateUpdated"
|
|
4557
|
+
| "ConsumerConnectAssociation"
|
|
4558
|
+
| "TaskReminderSent"
|
|
4559
|
+
| "DocumentClassified";
|
|
4325
4560
|
message: string;
|
|
4326
4561
|
/** @format date-time */
|
|
4327
4562
|
createdAt: string;
|
|
@@ -4605,7 +4840,7 @@ export interface LoanQueueWithData {
|
|
|
4605
4840
|
user: UserPublic;
|
|
4606
4841
|
loanOfficer: LoanOfficerPublic;
|
|
4607
4842
|
siteConfiguration: SiteConfigurationReduced;
|
|
4608
|
-
data?: any
|
|
4843
|
+
data?: any;
|
|
4609
4844
|
}
|
|
4610
4845
|
|
|
4611
4846
|
export interface LoanRecord {
|
|
@@ -4641,7 +4876,7 @@ export interface LoanTaskSearchRequest {
|
|
|
4641
4876
|
}
|
|
4642
4877
|
|
|
4643
4878
|
export interface LoanTaskStatusSummary {
|
|
4644
|
-
status:
|
|
4879
|
+
status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
4645
4880
|
/** @format int32 */
|
|
4646
4881
|
count: number;
|
|
4647
4882
|
}
|
|
@@ -4654,7 +4889,20 @@ export interface LoanUser {
|
|
|
4654
4889
|
email: string;
|
|
4655
4890
|
phone?: string | null;
|
|
4656
4891
|
role: string;
|
|
4657
|
-
loanRole:
|
|
4892
|
+
loanRole:
|
|
4893
|
+
| "Borrower"
|
|
4894
|
+
| "CoBorrower"
|
|
4895
|
+
| "NonBorrower"
|
|
4896
|
+
| "LoanOfficer"
|
|
4897
|
+
| "LoanProcessor"
|
|
4898
|
+
| "LoanOfficerAssistant"
|
|
4899
|
+
| "SupportingLoanOfficer"
|
|
4900
|
+
| "BuyerAgent"
|
|
4901
|
+
| "SellerAgent"
|
|
4902
|
+
| "TitleInsuranceAgent"
|
|
4903
|
+
| "EscrowAgent"
|
|
4904
|
+
| "SettlementAgent"
|
|
4905
|
+
| "Admin";
|
|
4658
4906
|
isUser: boolean;
|
|
4659
4907
|
/** @format date-time */
|
|
4660
4908
|
createdAt: string;
|
|
@@ -4690,7 +4938,13 @@ export interface LosOperationTracking {
|
|
|
4690
4938
|
operationType: string;
|
|
4691
4939
|
correlationKey: string;
|
|
4692
4940
|
lastTriggerSource?: string | null;
|
|
4693
|
-
status:
|
|
4941
|
+
status:
|
|
4942
|
+
| "Pending"
|
|
4943
|
+
| "Success"
|
|
4944
|
+
| "Failed"
|
|
4945
|
+
| "ConfigurationError"
|
|
4946
|
+
| "PermanentFailure"
|
|
4947
|
+
| "Locked";
|
|
4694
4948
|
/** @format date-time */
|
|
4695
4949
|
createdAt: string;
|
|
4696
4950
|
/** @format date-time */
|
|
@@ -4757,7 +5011,7 @@ export interface LosSyncStep {
|
|
|
4757
5011
|
/** @format int32 */
|
|
4758
5012
|
order: number;
|
|
4759
5013
|
name: string;
|
|
4760
|
-
severity:
|
|
5014
|
+
severity: "Success" | "Info" | "Warning" | "Error";
|
|
4761
5015
|
message: string;
|
|
4762
5016
|
/** @format date-time */
|
|
4763
5017
|
atUtc: string;
|
|
@@ -4773,7 +5027,65 @@ export interface LosWebhook {
|
|
|
4773
5027
|
}
|
|
4774
5028
|
|
|
4775
5029
|
export interface ManualDocumentClassificationRequest {
|
|
4776
|
-
documentType:
|
|
5030
|
+
documentType:
|
|
5031
|
+
| "W2"
|
|
5032
|
+
| "Paystub"
|
|
5033
|
+
| "Form1099"
|
|
5034
|
+
| "Form1099Int"
|
|
5035
|
+
| "Form1099Misc"
|
|
5036
|
+
| "Form1099Nec"
|
|
5037
|
+
| "Form1099R"
|
|
5038
|
+
| "Form1099G"
|
|
5039
|
+
| "Form1099Div"
|
|
5040
|
+
| "Form1099Ssa"
|
|
5041
|
+
| "FederalTaxReturn1040"
|
|
5042
|
+
| "TaxReturnScheduleC"
|
|
5043
|
+
| "TaxReturnScheduleD"
|
|
5044
|
+
| "TaxReturnScheduleE"
|
|
5045
|
+
| "Form1065"
|
|
5046
|
+
| "Form1120"
|
|
5047
|
+
| "Form1120S"
|
|
5048
|
+
| "ProfitAndLossStatement"
|
|
5049
|
+
| "VerificationOfEmployment"
|
|
5050
|
+
| "BankStatement"
|
|
5051
|
+
| "InvestmentStatement"
|
|
5052
|
+
| "CreditCardStatement"
|
|
5053
|
+
| "MortgageStatement"
|
|
5054
|
+
| "PayoffStatement"
|
|
5055
|
+
| "HoaDocuments"
|
|
5056
|
+
| "UtilityBill"
|
|
5057
|
+
| "IdentityDocument"
|
|
5058
|
+
| "DemographicAddendum"
|
|
5059
|
+
| "Ssa89"
|
|
5060
|
+
| "Vba260551"
|
|
5061
|
+
| "Hud92900B"
|
|
5062
|
+
| "Check"
|
|
5063
|
+
| "Invoice"
|
|
5064
|
+
| "Receipt"
|
|
5065
|
+
| "LoanApplication1003"
|
|
5066
|
+
| "UnderwritingTransmittal1008"
|
|
5067
|
+
| "Other"
|
|
5068
|
+
| "SalesContract"
|
|
5069
|
+
| "TitleCommitment"
|
|
5070
|
+
| "DriversLicense"
|
|
5071
|
+
| "VerificationOfIncome"
|
|
5072
|
+
| "VerificationOfAssets"
|
|
5073
|
+
| "FloodCertificate"
|
|
5074
|
+
| "FraudReport"
|
|
5075
|
+
| "AddendumToSalesContract"
|
|
5076
|
+
| "GiftLetter"
|
|
5077
|
+
| "CpaLetter"
|
|
5078
|
+
| "TaxBill"
|
|
5079
|
+
| "CondoQuestionnaire"
|
|
5080
|
+
| "CondoBudget"
|
|
5081
|
+
| "CondoBylaws"
|
|
5082
|
+
| "RentalAgreements"
|
|
5083
|
+
| "Lease"
|
|
5084
|
+
| "HazardInsurance"
|
|
5085
|
+
| "VaCertificateOfEligibility"
|
|
5086
|
+
| "Appraisal"
|
|
5087
|
+
| "CreditReport"
|
|
5088
|
+
| "CondoMasterPolicy";
|
|
4777
5089
|
}
|
|
4778
5090
|
|
|
4779
5091
|
export interface MdmUser {
|
|
@@ -4860,7 +5172,7 @@ export interface ModuleParameterValue {
|
|
|
4860
5172
|
parameterID: string;
|
|
4861
5173
|
parameterName: string;
|
|
4862
5174
|
parameterType: string;
|
|
4863
|
-
value?: any
|
|
5175
|
+
value?: any;
|
|
4864
5176
|
isInherited: boolean;
|
|
4865
5177
|
}
|
|
4866
5178
|
|
|
@@ -5046,7 +5358,7 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
5046
5358
|
|
|
5047
5359
|
export interface Operation {
|
|
5048
5360
|
op?: string;
|
|
5049
|
-
value?:
|
|
5361
|
+
value?: string | number | boolean | null | object;
|
|
5050
5362
|
path?: string;
|
|
5051
5363
|
}
|
|
5052
5364
|
|
|
@@ -5408,7 +5720,7 @@ export interface SiteConfiguration {
|
|
|
5408
5720
|
deletedAt?: string | null;
|
|
5409
5721
|
/** @format uuid */
|
|
5410
5722
|
id: string;
|
|
5411
|
-
type:
|
|
5723
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5412
5724
|
/** @format uuid */
|
|
5413
5725
|
entityID: string;
|
|
5414
5726
|
/** @format int32 */
|
|
@@ -5602,7 +5914,7 @@ export interface SiteConfigurationByUrl {
|
|
|
5602
5914
|
deletedAt?: string | null;
|
|
5603
5915
|
/** @format uuid */
|
|
5604
5916
|
id: string;
|
|
5605
|
-
type:
|
|
5917
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5606
5918
|
/** @format uuid */
|
|
5607
5919
|
entityID: string;
|
|
5608
5920
|
/** @format int32 */
|
|
@@ -5814,7 +6126,7 @@ export interface SiteConfigurationForm {
|
|
|
5814
6126
|
export interface SiteConfigurationReduced {
|
|
5815
6127
|
/** @format uuid */
|
|
5816
6128
|
id: string;
|
|
5817
|
-
type:
|
|
6129
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5818
6130
|
url?: string | null;
|
|
5819
6131
|
name: string;
|
|
5820
6132
|
/** @format int64 */
|
|
@@ -5832,7 +6144,7 @@ export interface SiteConfigurationRequest {
|
|
|
5832
6144
|
entityID: string;
|
|
5833
6145
|
/** @format int32 */
|
|
5834
6146
|
entityType: number;
|
|
5835
|
-
type:
|
|
6147
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5836
6148
|
url: string;
|
|
5837
6149
|
name: string;
|
|
5838
6150
|
introduction?: string | null;
|
|
@@ -6009,7 +6321,7 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
6009
6321
|
export interface SiteConfigurationSummary {
|
|
6010
6322
|
/** @format uuid */
|
|
6011
6323
|
id: string;
|
|
6012
|
-
type:
|
|
6324
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
6013
6325
|
url?: string | null;
|
|
6014
6326
|
name: string;
|
|
6015
6327
|
/** @format int64 */
|
|
@@ -6290,7 +6602,20 @@ export interface UnregisteredBorrower {
|
|
|
6290
6602
|
lastName?: string | null;
|
|
6291
6603
|
fullName?: string | null;
|
|
6292
6604
|
email?: string | null;
|
|
6293
|
-
role:
|
|
6605
|
+
role:
|
|
6606
|
+
| "Borrower"
|
|
6607
|
+
| "CoBorrower"
|
|
6608
|
+
| "NonBorrower"
|
|
6609
|
+
| "LoanOfficer"
|
|
6610
|
+
| "LoanProcessor"
|
|
6611
|
+
| "LoanOfficerAssistant"
|
|
6612
|
+
| "SupportingLoanOfficer"
|
|
6613
|
+
| "BuyerAgent"
|
|
6614
|
+
| "SellerAgent"
|
|
6615
|
+
| "TitleInsuranceAgent"
|
|
6616
|
+
| "EscrowAgent"
|
|
6617
|
+
| "SettlementAgent"
|
|
6618
|
+
| "Admin";
|
|
6294
6619
|
}
|
|
6295
6620
|
|
|
6296
6621
|
export interface UpdateAccountRequest {
|
|
@@ -6318,7 +6643,7 @@ export interface UpdateAiCanonicalFieldRequest {
|
|
|
6318
6643
|
|
|
6319
6644
|
export interface UpdateAiGuardrailRequest {
|
|
6320
6645
|
name: string;
|
|
6321
|
-
category:
|
|
6646
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
6322
6647
|
description?: string | null;
|
|
6323
6648
|
keywords: string[];
|
|
6324
6649
|
responseTemplate: string;
|
|
@@ -6345,8 +6670,8 @@ export interface UpdateAiUrlSourceRequest {
|
|
|
6345
6670
|
name: string;
|
|
6346
6671
|
url: string;
|
|
6347
6672
|
description?: string | null;
|
|
6348
|
-
category:
|
|
6349
|
-
scope:
|
|
6673
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
6674
|
+
scope: "FullDomain" | "SpecificPath";
|
|
6350
6675
|
}
|
|
6351
6676
|
|
|
6352
6677
|
export interface UpdateCustomFieldDefinitionRequest {
|
|
@@ -6658,7 +6983,20 @@ export interface UserDevice {
|
|
|
6658
6983
|
export interface UserDraft {
|
|
6659
6984
|
/** @format uuid */
|
|
6660
6985
|
draftID: string;
|
|
6661
|
-
role:
|
|
6986
|
+
role:
|
|
6987
|
+
| "Borrower"
|
|
6988
|
+
| "CoBorrower"
|
|
6989
|
+
| "NonBorrower"
|
|
6990
|
+
| "LoanOfficer"
|
|
6991
|
+
| "LoanProcessor"
|
|
6992
|
+
| "LoanOfficerAssistant"
|
|
6993
|
+
| "SupportingLoanOfficer"
|
|
6994
|
+
| "BuyerAgent"
|
|
6995
|
+
| "SellerAgent"
|
|
6996
|
+
| "TitleInsuranceAgent"
|
|
6997
|
+
| "EscrowAgent"
|
|
6998
|
+
| "SettlementAgent"
|
|
6999
|
+
| "Admin";
|
|
6662
7000
|
user: User;
|
|
6663
7001
|
}
|
|
6664
7002
|
|
|
@@ -6685,7 +7023,7 @@ export interface UserGroupAccessScope {
|
|
|
6685
7023
|
id: string;
|
|
6686
7024
|
/** @format uuid */
|
|
6687
7025
|
groupId: string;
|
|
6688
|
-
scopeType:
|
|
7026
|
+
scopeType: "User" | "Branch";
|
|
6689
7027
|
/** @format uuid */
|
|
6690
7028
|
userId?: string | null;
|
|
6691
7029
|
/** @format uuid */
|
|
@@ -6721,7 +7059,20 @@ export interface UserLoan {
|
|
|
6721
7059
|
deletedAt?: string | null;
|
|
6722
7060
|
loanID: string;
|
|
6723
7061
|
user: User;
|
|
6724
|
-
role:
|
|
7062
|
+
role:
|
|
7063
|
+
| "Borrower"
|
|
7064
|
+
| "CoBorrower"
|
|
7065
|
+
| "NonBorrower"
|
|
7066
|
+
| "LoanOfficer"
|
|
7067
|
+
| "LoanProcessor"
|
|
7068
|
+
| "LoanOfficerAssistant"
|
|
7069
|
+
| "SupportingLoanOfficer"
|
|
7070
|
+
| "BuyerAgent"
|
|
7071
|
+
| "SellerAgent"
|
|
7072
|
+
| "TitleInsuranceAgent"
|
|
7073
|
+
| "EscrowAgent"
|
|
7074
|
+
| "SettlementAgent"
|
|
7075
|
+
| "Admin";
|
|
6725
7076
|
/** @format int32 */
|
|
6726
7077
|
borrowerPair?: number | null;
|
|
6727
7078
|
/** @format int32 */
|
|
@@ -6734,11 +7085,11 @@ export interface UserLoanConsent {
|
|
|
6734
7085
|
id: string;
|
|
6735
7086
|
/** @format uuid */
|
|
6736
7087
|
userLoanID: string;
|
|
6737
|
-
type:
|
|
7088
|
+
type: "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
6738
7089
|
providedConsent: boolean;
|
|
6739
7090
|
source?: ConsentSource | null;
|
|
6740
7091
|
ipAddress?: string | null;
|
|
6741
|
-
losSyncStatus:
|
|
7092
|
+
losSyncStatus: "NotStarted" | "Failed" | "Success";
|
|
6742
7093
|
/** @format date-time */
|
|
6743
7094
|
createdAt: string;
|
|
6744
7095
|
/** @format date-time */
|
|
@@ -6882,7 +7233,16 @@ export interface UserSummary {
|
|
|
6882
7233
|
id: string;
|
|
6883
7234
|
name?: string | null;
|
|
6884
7235
|
email?: string | null;
|
|
6885
|
-
role:
|
|
7236
|
+
role:
|
|
7237
|
+
| "Borrower"
|
|
7238
|
+
| "LoanOfficer"
|
|
7239
|
+
| "Admin"
|
|
7240
|
+
| "SuperAdmin"
|
|
7241
|
+
| "Realtor"
|
|
7242
|
+
| "SettlementAgent"
|
|
7243
|
+
| "LoanProcessor"
|
|
7244
|
+
| "LoanOfficerAssistant"
|
|
7245
|
+
| "SystemAdmin";
|
|
6886
7246
|
}
|
|
6887
7247
|
|
|
6888
7248
|
export interface VerifyPasswordRequest {
|
|
@@ -6912,865 +7272,167 @@ export interface Workflow {
|
|
|
6912
7272
|
icon: string;
|
|
6913
7273
|
}
|
|
6914
7274
|
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
| "DocumentNotFound"
|
|
6924
|
-
| "GuardrailBlockedPost"
|
|
6925
|
-
| "GuardrailPassedPost"
|
|
6926
|
-
| "DocumentAnalyzed"
|
|
6927
|
-
| "DocumentList"
|
|
6928
|
-
| "DocumentResolutionAmbiguous"
|
|
6929
|
-
| "ResponseGenerated"
|
|
6930
|
-
| "ParametersExtracted"
|
|
6931
|
-
| "QueryExecuted"
|
|
6932
|
-
| "LoanContextNotFound"
|
|
6933
|
-
| "LoanContextLoaded"
|
|
6934
|
-
| "GuardrailBlockedBedrock"
|
|
6935
|
-
| "PromptMatched"
|
|
6936
|
-
| "QueryCondensed"
|
|
6937
|
-
| "IntentParseFailed"
|
|
6938
|
-
| "LoanSearchTermDiscarded"
|
|
6939
|
-
| "CanonicalFieldsSelected";
|
|
7275
|
+
import type {
|
|
7276
|
+
AxiosInstance,
|
|
7277
|
+
AxiosRequestConfig,
|
|
7278
|
+
AxiosResponse,
|
|
7279
|
+
HeadersDefaults,
|
|
7280
|
+
ResponseType,
|
|
7281
|
+
} from "axios";
|
|
7282
|
+
import axios from "axios";
|
|
6940
7283
|
|
|
6941
|
-
export type
|
|
6942
|
-
| "Greeting"
|
|
6943
|
-
| "Invalid"
|
|
6944
|
-
| "Relevant"
|
|
6945
|
-
| "LoanSpecific"
|
|
6946
|
-
| "DocumentList"
|
|
6947
|
-
| "GeneralKnowledge"
|
|
6948
|
-
| "Blocked"
|
|
6949
|
-
| "Action"
|
|
6950
|
-
| "ConversationMeta"
|
|
6951
|
-
| "Capabilities"
|
|
6952
|
-
| "UsageReport";
|
|
7284
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
6953
7285
|
|
|
6954
|
-
export
|
|
6955
|
-
| "
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
7286
|
+
export interface FullRequestParams
|
|
7287
|
+
extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
7288
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
7289
|
+
secure?: boolean;
|
|
7290
|
+
/** request path */
|
|
7291
|
+
path: string;
|
|
7292
|
+
/** content type of request body */
|
|
7293
|
+
type?: ContentType;
|
|
7294
|
+
/** query params */
|
|
7295
|
+
query?: QueryParamsType;
|
|
7296
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
7297
|
+
format?: ResponseType;
|
|
7298
|
+
/** request body */
|
|
7299
|
+
body?: unknown;
|
|
7300
|
+
}
|
|
6959
7301
|
|
|
6960
|
-
export type
|
|
6961
|
-
|
|
6962
|
-
| "
|
|
6963
|
-
|
|
6964
|
-
| "UrlSource"
|
|
6965
|
-
| "AdminSettings"
|
|
6966
|
-
| "AccountTokenSettings"
|
|
6967
|
-
| "AccountSettings";
|
|
7302
|
+
export type RequestParams = Omit<
|
|
7303
|
+
FullRequestParams,
|
|
7304
|
+
"body" | "method" | "query" | "path"
|
|
7305
|
+
>;
|
|
6968
7306
|
|
|
6969
|
-
export
|
|
6970
|
-
| "
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
|
7307
|
+
export interface ApiConfig<SecurityDataType = unknown>
|
|
7308
|
+
extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
7309
|
+
securityWorker?: (
|
|
7310
|
+
securityData: SecurityDataType | null,
|
|
7311
|
+
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
7312
|
+
secure?: boolean;
|
|
7313
|
+
format?: ResponseType;
|
|
7314
|
+
}
|
|
6974
7315
|
|
|
6975
|
-
export
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
7316
|
+
export enum ContentType {
|
|
7317
|
+
JsonPatch = "application/json-patch+json",
|
|
7318
|
+
Json = "application/json",
|
|
7319
|
+
JsonApi = "application/vnd.api+json",
|
|
7320
|
+
FormData = "multipart/form-data",
|
|
7321
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
7322
|
+
Text = "text/plain",
|
|
7323
|
+
}
|
|
6980
7324
|
|
|
6981
|
-
export
|
|
6982
|
-
|
|
6983
|
-
|
|
|
6984
|
-
|
|
6985
|
-
|
|
7325
|
+
export class HttpClient<SecurityDataType = unknown> {
|
|
7326
|
+
public instance: AxiosInstance;
|
|
7327
|
+
private securityData: SecurityDataType | null = null;
|
|
7328
|
+
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
7329
|
+
private secure?: boolean;
|
|
7330
|
+
private format?: ResponseType;
|
|
6986
7331
|
|
|
6987
|
-
|
|
7332
|
+
constructor({
|
|
7333
|
+
securityWorker,
|
|
7334
|
+
secure,
|
|
7335
|
+
format,
|
|
7336
|
+
...axiosConfig
|
|
7337
|
+
}: ApiConfig<SecurityDataType> = {}) {
|
|
7338
|
+
this.instance = axios.create({
|
|
7339
|
+
...axiosConfig,
|
|
7340
|
+
baseURL: axiosConfig.baseURL || "",
|
|
7341
|
+
});
|
|
7342
|
+
this.secure = secure;
|
|
7343
|
+
this.format = format;
|
|
7344
|
+
this.securityWorker = securityWorker;
|
|
7345
|
+
}
|
|
6988
7346
|
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
| "SoftDeleted"
|
|
6993
|
-
| "HardDeleted"
|
|
6994
|
-
| "Restored"
|
|
6995
|
-
| "Deactivated"
|
|
6996
|
-
| "Reactivated";
|
|
7347
|
+
public setSecurityData = (data: SecurityDataType | null) => {
|
|
7348
|
+
this.securityData = data;
|
|
7349
|
+
};
|
|
6997
7350
|
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
| "LoanProcessor"
|
|
7004
|
-
| "LoanOfficerAssistant"
|
|
7005
|
-
| "SupportingLoanOfficer"
|
|
7006
|
-
| "BuyerAgent"
|
|
7007
|
-
| "SellerAgent"
|
|
7008
|
-
| "TitleInsuranceAgent"
|
|
7009
|
-
| "EscrowAgent"
|
|
7010
|
-
| "SettlementAgent"
|
|
7011
|
-
| "Admin";
|
|
7351
|
+
protected mergeRequestParams(
|
|
7352
|
+
params1: AxiosRequestConfig,
|
|
7353
|
+
params2?: AxiosRequestConfig,
|
|
7354
|
+
): AxiosRequestConfig {
|
|
7355
|
+
const method = params1.method || (params2 && params2.method);
|
|
7012
7356
|
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7357
|
+
return {
|
|
7358
|
+
...this.instance.defaults,
|
|
7359
|
+
...params1,
|
|
7360
|
+
...(params2 || {}),
|
|
7361
|
+
headers: {
|
|
7362
|
+
...((method &&
|
|
7363
|
+
this.instance.defaults.headers[
|
|
7364
|
+
method.toLowerCase() as keyof HeadersDefaults
|
|
7365
|
+
]) ||
|
|
7366
|
+
{}),
|
|
7367
|
+
...(params1.headers || {}),
|
|
7368
|
+
...((params2 && params2.headers) || {}),
|
|
7369
|
+
},
|
|
7370
|
+
};
|
|
7371
|
+
}
|
|
7027
7372
|
|
|
7028
|
-
|
|
7373
|
+
protected stringifyFormItem(formItem: unknown) {
|
|
7374
|
+
if (typeof formItem === "object" && formItem !== null) {
|
|
7375
|
+
return JSON.stringify(formItem);
|
|
7376
|
+
} else {
|
|
7377
|
+
return `${formItem}`;
|
|
7378
|
+
}
|
|
7379
|
+
}
|
|
7029
7380
|
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7381
|
+
protected createFormData(input: Record<string, unknown>): FormData {
|
|
7382
|
+
if (input instanceof FormData) {
|
|
7383
|
+
return input;
|
|
7384
|
+
}
|
|
7385
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
7386
|
+
const property = input[key];
|
|
7387
|
+
const propertyContent: any[] =
|
|
7388
|
+
property instanceof Array ? property : [property];
|
|
7035
7389
|
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7390
|
+
for (const formItem of propertyContent) {
|
|
7391
|
+
const isFileType = formItem instanceof Blob || formItem instanceof File;
|
|
7392
|
+
formData.append(
|
|
7393
|
+
key,
|
|
7394
|
+
isFileType ? formItem : this.stringifyFormItem(formItem),
|
|
7395
|
+
);
|
|
7396
|
+
}
|
|
7041
7397
|
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
| "MarketData"
|
|
7046
|
-
| "Custom";
|
|
7398
|
+
return formData;
|
|
7399
|
+
}, new FormData());
|
|
7400
|
+
}
|
|
7047
7401
|
|
|
7048
|
-
|
|
7402
|
+
public request = async <T = any, _E = any>({
|
|
7403
|
+
secure,
|
|
7404
|
+
path,
|
|
7405
|
+
type,
|
|
7406
|
+
query,
|
|
7407
|
+
format,
|
|
7408
|
+
body,
|
|
7409
|
+
...params
|
|
7410
|
+
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
7411
|
+
const secureParams =
|
|
7412
|
+
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
7413
|
+
this.securityWorker &&
|
|
7414
|
+
(await this.securityWorker(this.securityData))) ||
|
|
7415
|
+
{};
|
|
7416
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
7417
|
+
const responseFormat = format || this.format || undefined;
|
|
7049
7418
|
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7419
|
+
if (
|
|
7420
|
+
type === ContentType.FormData &&
|
|
7421
|
+
body &&
|
|
7422
|
+
body !== null &&
|
|
7423
|
+
typeof body === "object"
|
|
7424
|
+
) {
|
|
7425
|
+
body = this.createFormData(body as Record<string, unknown>);
|
|
7426
|
+
}
|
|
7058
7427
|
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
| "LoanOfficerAssistant"
|
|
7068
|
-
| "SupportingLoanOfficer"
|
|
7069
|
-
| "BuyerAgent"
|
|
7070
|
-
| "SellerAgent"
|
|
7071
|
-
| "TitleInsuranceAgent"
|
|
7072
|
-
| "EscrowAgent"
|
|
7073
|
-
| "SettlementAgent"
|
|
7074
|
-
| "Admin";
|
|
7075
|
-
|
|
7076
|
-
/** @deprecated */
|
|
7077
|
-
export type CreateInviteRequestRelationshipEnum =
|
|
7078
|
-
| "NotApplicable"
|
|
7079
|
-
| "Spouse"
|
|
7080
|
-
| "NonSpouse";
|
|
7081
|
-
|
|
7082
|
-
export type CreateLoanImportRequestImportModeEnum =
|
|
7083
|
-
| "All"
|
|
7084
|
-
| "NewOnly"
|
|
7085
|
-
| "UpdateOnly";
|
|
7086
|
-
|
|
7087
|
-
export type CreateUserDraftLoanRoleEnum =
|
|
7088
|
-
| "Borrower"
|
|
7089
|
-
| "CoBorrower"
|
|
7090
|
-
| "NonBorrower"
|
|
7091
|
-
| "LoanOfficer"
|
|
7092
|
-
| "LoanProcessor"
|
|
7093
|
-
| "LoanOfficerAssistant"
|
|
7094
|
-
| "SupportingLoanOfficer"
|
|
7095
|
-
| "BuyerAgent"
|
|
7096
|
-
| "SellerAgent"
|
|
7097
|
-
| "TitleInsuranceAgent"
|
|
7098
|
-
| "EscrowAgent"
|
|
7099
|
-
| "SettlementAgent"
|
|
7100
|
-
| "Admin";
|
|
7101
|
-
|
|
7102
|
-
export type CustomFieldDefinitionDataTypeEnum =
|
|
7103
|
-
| "String"
|
|
7104
|
-
| "Number"
|
|
7105
|
-
| "Decimal"
|
|
7106
|
-
| "Boolean"
|
|
7107
|
-
| "Date"
|
|
7108
|
-
| "SingleSelect"
|
|
7109
|
-
| "MultiSelect";
|
|
7110
|
-
|
|
7111
|
-
export type CustomFieldDefinitionEntityTypeEnum = "Loan";
|
|
7112
|
-
|
|
7113
|
-
export type CustomFieldEntryDataTypeEnum =
|
|
7114
|
-
| "String"
|
|
7115
|
-
| "Number"
|
|
7116
|
-
| "Decimal"
|
|
7117
|
-
| "Boolean"
|
|
7118
|
-
| "Date"
|
|
7119
|
-
| "SingleSelect"
|
|
7120
|
-
| "MultiSelect";
|
|
7121
|
-
|
|
7122
|
-
export type CustomFieldPermissionRoleEnum =
|
|
7123
|
-
| "Borrower"
|
|
7124
|
-
| "LoanOfficer"
|
|
7125
|
-
| "Admin"
|
|
7126
|
-
| "SuperAdmin"
|
|
7127
|
-
| "Realtor"
|
|
7128
|
-
| "SettlementAgent"
|
|
7129
|
-
| "LoanProcessor"
|
|
7130
|
-
| "LoanOfficerAssistant"
|
|
7131
|
-
| "SystemAdmin";
|
|
7132
|
-
|
|
7133
|
-
export type CustomFieldPermissionAccessLevelEnum =
|
|
7134
|
-
| "NoAccess"
|
|
7135
|
-
| "ReadOnly"
|
|
7136
|
-
| "ReadWrite";
|
|
7137
|
-
|
|
7138
|
-
export type CustomFieldPermissionRequestRoleEnum =
|
|
7139
|
-
| "Borrower"
|
|
7140
|
-
| "LoanOfficer"
|
|
7141
|
-
| "Admin"
|
|
7142
|
-
| "SuperAdmin"
|
|
7143
|
-
| "Realtor"
|
|
7144
|
-
| "SettlementAgent"
|
|
7145
|
-
| "LoanProcessor"
|
|
7146
|
-
| "LoanOfficerAssistant"
|
|
7147
|
-
| "SystemAdmin";
|
|
7148
|
-
|
|
7149
|
-
export type CustomFieldPermissionRequestAccessLevelEnum =
|
|
7150
|
-
| "NoAccess"
|
|
7151
|
-
| "ReadOnly"
|
|
7152
|
-
| "ReadWrite";
|
|
7153
|
-
|
|
7154
|
-
export type CustomFieldValueDataTypeEnum =
|
|
7155
|
-
| "String"
|
|
7156
|
-
| "Number"
|
|
7157
|
-
| "Decimal"
|
|
7158
|
-
| "Boolean"
|
|
7159
|
-
| "Date"
|
|
7160
|
-
| "SingleSelect"
|
|
7161
|
-
| "MultiSelect";
|
|
7162
|
-
|
|
7163
|
-
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
7164
|
-
|
|
7165
|
-
export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
|
|
7166
|
-
|
|
7167
|
-
export type EncompassCredentialsDetailEncompassEnvironmentEnum =
|
|
7168
|
-
| "Production"
|
|
7169
|
-
| "UAT";
|
|
7170
|
-
|
|
7171
|
-
export type EncompassCredentialsDetailSigningMethodEnum =
|
|
7172
|
-
| "ConsumerConnect"
|
|
7173
|
-
| "POSF";
|
|
7174
|
-
|
|
7175
|
-
export type EncompassCredentialsRequestEncompassEnvironmentEnum =
|
|
7176
|
-
| "Production"
|
|
7177
|
-
| "UAT";
|
|
7178
|
-
|
|
7179
|
-
export type EncompassCredentialsRequestSigningMethodEnum =
|
|
7180
|
-
| "ConsumerConnect"
|
|
7181
|
-
| "POSF";
|
|
7182
|
-
|
|
7183
|
-
export type EncompassRequestLogOperationTypeEnum =
|
|
7184
|
-
| "FieldUpdate"
|
|
7185
|
-
| "ConsentUpdate"
|
|
7186
|
-
| "DocumentSync"
|
|
7187
|
-
| "MilestoneUpdate"
|
|
7188
|
-
| "DocumentAttachment"
|
|
7189
|
-
| "General"
|
|
7190
|
-
| "FieldReader";
|
|
7191
|
-
|
|
7192
|
-
export type EncompassRequestLogOutcomeEnum =
|
|
7193
|
-
| "Success"
|
|
7194
|
-
| "Failure"
|
|
7195
|
-
| "PartialSuccess";
|
|
7196
|
-
|
|
7197
|
-
export type FusionReportFilterFilterTypeEnum =
|
|
7198
|
-
| "DateGreaterThanOrEqualTo"
|
|
7199
|
-
| "DateGreaterThan"
|
|
7200
|
-
| "DateLessThan"
|
|
7201
|
-
| "DateLessThanOrEqualTo"
|
|
7202
|
-
| "DateEquals"
|
|
7203
|
-
| "DateDoesntEqual"
|
|
7204
|
-
| "DateNonEmpty"
|
|
7205
|
-
| "DateEmpty"
|
|
7206
|
-
| "StringContains"
|
|
7207
|
-
| "StringEquals"
|
|
7208
|
-
| "StringNotEmpty"
|
|
7209
|
-
| "StringNotEquals"
|
|
7210
|
-
| "StringNotContains";
|
|
7211
|
-
|
|
7212
|
-
export type GenerateSystemPromptRequestCategoryEnum =
|
|
7213
|
-
| "DocumentAnalysis"
|
|
7214
|
-
| "DataQuery"
|
|
7215
|
-
| "General"
|
|
7216
|
-
| "Action";
|
|
7217
|
-
|
|
7218
|
-
export type IpAddressAddressFamilyEnum =
|
|
7219
|
-
| "Unspecified"
|
|
7220
|
-
| "Unix"
|
|
7221
|
-
| "InterNetwork"
|
|
7222
|
-
| "ImpLink"
|
|
7223
|
-
| "Pup"
|
|
7224
|
-
| "Chaos"
|
|
7225
|
-
| "NS"
|
|
7226
|
-
| "Ipx"
|
|
7227
|
-
| "Iso"
|
|
7228
|
-
| "Osi"
|
|
7229
|
-
| "Ecma"
|
|
7230
|
-
| "DataKit"
|
|
7231
|
-
| "Ccitt"
|
|
7232
|
-
| "Sna"
|
|
7233
|
-
| "DecNet"
|
|
7234
|
-
| "DataLink"
|
|
7235
|
-
| "Lat"
|
|
7236
|
-
| "HyperChannel"
|
|
7237
|
-
| "AppleTalk"
|
|
7238
|
-
| "NetBios"
|
|
7239
|
-
| "VoiceView"
|
|
7240
|
-
| "FireFox"
|
|
7241
|
-
| "Banyan"
|
|
7242
|
-
| "Atm"
|
|
7243
|
-
| "InterNetworkV6"
|
|
7244
|
-
| "Cluster"
|
|
7245
|
-
| "Ieee12844"
|
|
7246
|
-
| "Irda"
|
|
7247
|
-
| "NetworkDesigners"
|
|
7248
|
-
| "Max"
|
|
7249
|
-
| "Packet"
|
|
7250
|
-
| "ControllerAreaNetwork"
|
|
7251
|
-
| "Unknown";
|
|
7252
|
-
|
|
7253
|
-
export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
|
|
7254
|
-
|
|
7255
|
-
export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
7256
|
-
|
|
7257
|
-
export type LoanContactRoleEnum =
|
|
7258
|
-
| "Borrower"
|
|
7259
|
-
| "CoBorrower"
|
|
7260
|
-
| "NonBorrower"
|
|
7261
|
-
| "LoanOfficer"
|
|
7262
|
-
| "LoanProcessor"
|
|
7263
|
-
| "LoanOfficerAssistant"
|
|
7264
|
-
| "SupportingLoanOfficer"
|
|
7265
|
-
| "BuyerAgent"
|
|
7266
|
-
| "SellerAgent"
|
|
7267
|
-
| "TitleInsuranceAgent"
|
|
7268
|
-
| "EscrowAgent"
|
|
7269
|
-
| "SettlementAgent"
|
|
7270
|
-
| "Admin";
|
|
7271
|
-
|
|
7272
|
-
export type LoanDocumentFolderPermissionRoleEnum =
|
|
7273
|
-
| "Borrower"
|
|
7274
|
-
| "CoBorrower"
|
|
7275
|
-
| "NonBorrower"
|
|
7276
|
-
| "LoanOfficer"
|
|
7277
|
-
| "LoanProcessor"
|
|
7278
|
-
| "LoanOfficerAssistant"
|
|
7279
|
-
| "SupportingLoanOfficer"
|
|
7280
|
-
| "BuyerAgent"
|
|
7281
|
-
| "SellerAgent"
|
|
7282
|
-
| "TitleInsuranceAgent"
|
|
7283
|
-
| "EscrowAgent"
|
|
7284
|
-
| "SettlementAgent"
|
|
7285
|
-
| "Admin";
|
|
7286
|
-
|
|
7287
|
-
export type LoanDocumentFolderPermissionLevelEnum =
|
|
7288
|
-
| "None"
|
|
7289
|
-
| "Read"
|
|
7290
|
-
| "Write"
|
|
7291
|
-
| "Manage";
|
|
7292
|
-
|
|
7293
|
-
export type LoanDocumentFolderPermissionRequestRoleEnum =
|
|
7294
|
-
| "Borrower"
|
|
7295
|
-
| "CoBorrower"
|
|
7296
|
-
| "NonBorrower"
|
|
7297
|
-
| "LoanOfficer"
|
|
7298
|
-
| "LoanProcessor"
|
|
7299
|
-
| "LoanOfficerAssistant"
|
|
7300
|
-
| "SupportingLoanOfficer"
|
|
7301
|
-
| "BuyerAgent"
|
|
7302
|
-
| "SellerAgent"
|
|
7303
|
-
| "TitleInsuranceAgent"
|
|
7304
|
-
| "EscrowAgent"
|
|
7305
|
-
| "SettlementAgent"
|
|
7306
|
-
| "Admin";
|
|
7307
|
-
|
|
7308
|
-
export type LoanDocumentFolderPermissionRequestLevelEnum =
|
|
7309
|
-
| "None"
|
|
7310
|
-
| "Read"
|
|
7311
|
-
| "Write"
|
|
7312
|
-
| "Manage";
|
|
7313
|
-
|
|
7314
|
-
export type LoanImportStatusEnum =
|
|
7315
|
-
| "WaitingProcess"
|
|
7316
|
-
| "InProgress"
|
|
7317
|
-
| "Completed"
|
|
7318
|
-
| "Failed"
|
|
7319
|
-
| "Cancelled";
|
|
7320
|
-
|
|
7321
|
-
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
7322
|
-
|
|
7323
|
-
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
7324
|
-
|
|
7325
|
-
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
7326
|
-
|
|
7327
|
-
export type LoanLogTypeEnum =
|
|
7328
|
-
| "Loan"
|
|
7329
|
-
| "Queue"
|
|
7330
|
-
| "POSFlagChanged"
|
|
7331
|
-
| "Verification"
|
|
7332
|
-
| "DocumentUploaded"
|
|
7333
|
-
| "LoanCreated"
|
|
7334
|
-
| "WorkflowSubmitted"
|
|
7335
|
-
| "UserInvitationSent"
|
|
7336
|
-
| "CoBorrowerAdded"
|
|
7337
|
-
| "TaskCompleted"
|
|
7338
|
-
| "LoanStatusChanged"
|
|
7339
|
-
| "Consent"
|
|
7340
|
-
| "SensitiveDataPurge"
|
|
7341
|
-
| "ClosingDateUpdated"
|
|
7342
|
-
| "ConsumerConnectAssociation"
|
|
7343
|
-
| "TaskReminderSent"
|
|
7344
|
-
| "DocumentClassified";
|
|
7345
|
-
|
|
7346
|
-
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
7347
|
-
|
|
7348
|
-
export type LoanLogDetailTypeEnum =
|
|
7349
|
-
| "Loan"
|
|
7350
|
-
| "Queue"
|
|
7351
|
-
| "POSFlagChanged"
|
|
7352
|
-
| "Verification"
|
|
7353
|
-
| "DocumentUploaded"
|
|
7354
|
-
| "LoanCreated"
|
|
7355
|
-
| "WorkflowSubmitted"
|
|
7356
|
-
| "UserInvitationSent"
|
|
7357
|
-
| "CoBorrowerAdded"
|
|
7358
|
-
| "TaskCompleted"
|
|
7359
|
-
| "LoanStatusChanged"
|
|
7360
|
-
| "Consent"
|
|
7361
|
-
| "SensitiveDataPurge"
|
|
7362
|
-
| "ClosingDateUpdated"
|
|
7363
|
-
| "ConsumerConnectAssociation"
|
|
7364
|
-
| "TaskReminderSent"
|
|
7365
|
-
| "DocumentClassified";
|
|
7366
|
-
|
|
7367
|
-
export type LoanTaskStatusSummaryStatusEnum =
|
|
7368
|
-
| "Outstanding"
|
|
7369
|
-
| "Pending"
|
|
7370
|
-
| "Completed"
|
|
7371
|
-
| "Rejected"
|
|
7372
|
-
| "Unknown";
|
|
7373
|
-
|
|
7374
|
-
export type LoanUserLoanRoleEnum =
|
|
7375
|
-
| "Borrower"
|
|
7376
|
-
| "CoBorrower"
|
|
7377
|
-
| "NonBorrower"
|
|
7378
|
-
| "LoanOfficer"
|
|
7379
|
-
| "LoanProcessor"
|
|
7380
|
-
| "LoanOfficerAssistant"
|
|
7381
|
-
| "SupportingLoanOfficer"
|
|
7382
|
-
| "BuyerAgent"
|
|
7383
|
-
| "SellerAgent"
|
|
7384
|
-
| "TitleInsuranceAgent"
|
|
7385
|
-
| "EscrowAgent"
|
|
7386
|
-
| "SettlementAgent"
|
|
7387
|
-
| "Admin";
|
|
7388
|
-
|
|
7389
|
-
export type LosOperationTrackingStatusEnum =
|
|
7390
|
-
| "Pending"
|
|
7391
|
-
| "Success"
|
|
7392
|
-
| "Failed"
|
|
7393
|
-
| "ConfigurationError"
|
|
7394
|
-
| "PermanentFailure"
|
|
7395
|
-
| "Locked";
|
|
7396
|
-
|
|
7397
|
-
export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
|
|
7398
|
-
|
|
7399
|
-
export type ManualDocumentClassificationRequestDocumentTypeEnum =
|
|
7400
|
-
| "W2"
|
|
7401
|
-
| "Paystub"
|
|
7402
|
-
| "Form1099"
|
|
7403
|
-
| "Form1099Int"
|
|
7404
|
-
| "Form1099Misc"
|
|
7405
|
-
| "Form1099Nec"
|
|
7406
|
-
| "Form1099R"
|
|
7407
|
-
| "Form1099G"
|
|
7408
|
-
| "Form1099Div"
|
|
7409
|
-
| "Form1099Ssa"
|
|
7410
|
-
| "FederalTaxReturn1040"
|
|
7411
|
-
| "TaxReturnScheduleC"
|
|
7412
|
-
| "TaxReturnScheduleD"
|
|
7413
|
-
| "TaxReturnScheduleE"
|
|
7414
|
-
| "Form1065"
|
|
7415
|
-
| "Form1120"
|
|
7416
|
-
| "Form1120S"
|
|
7417
|
-
| "ProfitAndLossStatement"
|
|
7418
|
-
| "VerificationOfEmployment"
|
|
7419
|
-
| "BankStatement"
|
|
7420
|
-
| "InvestmentStatement"
|
|
7421
|
-
| "CreditCardStatement"
|
|
7422
|
-
| "MortgageStatement"
|
|
7423
|
-
| "PayoffStatement"
|
|
7424
|
-
| "HoaDocuments"
|
|
7425
|
-
| "UtilityBill"
|
|
7426
|
-
| "IdentityDocument"
|
|
7427
|
-
| "DemographicAddendum"
|
|
7428
|
-
| "Ssa89"
|
|
7429
|
-
| "Vba260551"
|
|
7430
|
-
| "Hud92900B"
|
|
7431
|
-
| "Check"
|
|
7432
|
-
| "Invoice"
|
|
7433
|
-
| "Receipt"
|
|
7434
|
-
| "LoanApplication1003"
|
|
7435
|
-
| "UnderwritingTransmittal1008"
|
|
7436
|
-
| "Other"
|
|
7437
|
-
| "SalesContract"
|
|
7438
|
-
| "TitleCommitment"
|
|
7439
|
-
| "DriversLicense"
|
|
7440
|
-
| "VerificationOfIncome"
|
|
7441
|
-
| "VerificationOfAssets"
|
|
7442
|
-
| "FloodCertificate"
|
|
7443
|
-
| "FraudReport"
|
|
7444
|
-
| "AddendumToSalesContract"
|
|
7445
|
-
| "GiftLetter"
|
|
7446
|
-
| "CpaLetter"
|
|
7447
|
-
| "TaxBill"
|
|
7448
|
-
| "CondoQuestionnaire"
|
|
7449
|
-
| "CondoBudget"
|
|
7450
|
-
| "CondoBylaws"
|
|
7451
|
-
| "RentalAgreements"
|
|
7452
|
-
| "Lease"
|
|
7453
|
-
| "HazardInsurance"
|
|
7454
|
-
| "VaCertificateOfEligibility"
|
|
7455
|
-
| "Appraisal"
|
|
7456
|
-
| "CreditReport"
|
|
7457
|
-
| "CondoMasterPolicy";
|
|
7458
|
-
|
|
7459
|
-
export type SiteConfigurationTypeEnum =
|
|
7460
|
-
| "None"
|
|
7461
|
-
| "Account"
|
|
7462
|
-
| "Corporate"
|
|
7463
|
-
| "Branch"
|
|
7464
|
-
| "LoanOfficer"
|
|
7465
|
-
| "Partner";
|
|
7466
|
-
|
|
7467
|
-
export type SiteConfigurationByUrlTypeEnum =
|
|
7468
|
-
| "None"
|
|
7469
|
-
| "Account"
|
|
7470
|
-
| "Corporate"
|
|
7471
|
-
| "Branch"
|
|
7472
|
-
| "LoanOfficer"
|
|
7473
|
-
| "Partner";
|
|
7474
|
-
|
|
7475
|
-
export type SiteConfigurationReducedTypeEnum =
|
|
7476
|
-
| "None"
|
|
7477
|
-
| "Account"
|
|
7478
|
-
| "Corporate"
|
|
7479
|
-
| "Branch"
|
|
7480
|
-
| "LoanOfficer"
|
|
7481
|
-
| "Partner";
|
|
7482
|
-
|
|
7483
|
-
export type SiteConfigurationRequestTypeEnum =
|
|
7484
|
-
| "None"
|
|
7485
|
-
| "Account"
|
|
7486
|
-
| "Corporate"
|
|
7487
|
-
| "Branch"
|
|
7488
|
-
| "LoanOfficer"
|
|
7489
|
-
| "Partner";
|
|
7490
|
-
|
|
7491
|
-
export type SiteConfigurationSummaryTypeEnum =
|
|
7492
|
-
| "None"
|
|
7493
|
-
| "Account"
|
|
7494
|
-
| "Corporate"
|
|
7495
|
-
| "Branch"
|
|
7496
|
-
| "LoanOfficer"
|
|
7497
|
-
| "Partner";
|
|
7498
|
-
|
|
7499
|
-
export type UnregisteredBorrowerRoleEnum =
|
|
7500
|
-
| "Borrower"
|
|
7501
|
-
| "CoBorrower"
|
|
7502
|
-
| "NonBorrower"
|
|
7503
|
-
| "LoanOfficer"
|
|
7504
|
-
| "LoanProcessor"
|
|
7505
|
-
| "LoanOfficerAssistant"
|
|
7506
|
-
| "SupportingLoanOfficer"
|
|
7507
|
-
| "BuyerAgent"
|
|
7508
|
-
| "SellerAgent"
|
|
7509
|
-
| "TitleInsuranceAgent"
|
|
7510
|
-
| "EscrowAgent"
|
|
7511
|
-
| "SettlementAgent"
|
|
7512
|
-
| "Admin";
|
|
7513
|
-
|
|
7514
|
-
export type UpdateAiGuardrailRequestCategoryEnum =
|
|
7515
|
-
| "ContentSafety"
|
|
7516
|
-
| "PromptInjection"
|
|
7517
|
-
| "Privacy"
|
|
7518
|
-
| "Legal";
|
|
7519
|
-
|
|
7520
|
-
export type UpdateAiUrlSourceRequestCategoryEnum =
|
|
7521
|
-
| "Regulatory"
|
|
7522
|
-
| "Guidelines"
|
|
7523
|
-
| "MarketData"
|
|
7524
|
-
| "Custom";
|
|
7525
|
-
|
|
7526
|
-
export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
|
|
7527
|
-
|
|
7528
|
-
export type UserDraftRoleEnum =
|
|
7529
|
-
| "Borrower"
|
|
7530
|
-
| "CoBorrower"
|
|
7531
|
-
| "NonBorrower"
|
|
7532
|
-
| "LoanOfficer"
|
|
7533
|
-
| "LoanProcessor"
|
|
7534
|
-
| "LoanOfficerAssistant"
|
|
7535
|
-
| "SupportingLoanOfficer"
|
|
7536
|
-
| "BuyerAgent"
|
|
7537
|
-
| "SellerAgent"
|
|
7538
|
-
| "TitleInsuranceAgent"
|
|
7539
|
-
| "EscrowAgent"
|
|
7540
|
-
| "SettlementAgent"
|
|
7541
|
-
| "Admin";
|
|
7542
|
-
|
|
7543
|
-
export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
|
|
7544
|
-
|
|
7545
|
-
export type UserLoanRoleEnum =
|
|
7546
|
-
| "Borrower"
|
|
7547
|
-
| "CoBorrower"
|
|
7548
|
-
| "NonBorrower"
|
|
7549
|
-
| "LoanOfficer"
|
|
7550
|
-
| "LoanProcessor"
|
|
7551
|
-
| "LoanOfficerAssistant"
|
|
7552
|
-
| "SupportingLoanOfficer"
|
|
7553
|
-
| "BuyerAgent"
|
|
7554
|
-
| "SellerAgent"
|
|
7555
|
-
| "TitleInsuranceAgent"
|
|
7556
|
-
| "EscrowAgent"
|
|
7557
|
-
| "SettlementAgent"
|
|
7558
|
-
| "Admin";
|
|
7559
|
-
|
|
7560
|
-
export type UserLoanConsentTypeEnum =
|
|
7561
|
-
| "Econsent"
|
|
7562
|
-
| "CreditAuthorization"
|
|
7563
|
-
| "Tcpa";
|
|
7564
|
-
|
|
7565
|
-
export type UserLoanConsentLosSyncStatusEnum =
|
|
7566
|
-
| "NotStarted"
|
|
7567
|
-
| "Failed"
|
|
7568
|
-
| "Success";
|
|
7569
|
-
|
|
7570
|
-
export type UserSummaryRoleEnum =
|
|
7571
|
-
| "Borrower"
|
|
7572
|
-
| "LoanOfficer"
|
|
7573
|
-
| "Admin"
|
|
7574
|
-
| "SuperAdmin"
|
|
7575
|
-
| "Realtor"
|
|
7576
|
-
| "SettlementAgent"
|
|
7577
|
-
| "LoanProcessor"
|
|
7578
|
-
| "LoanOfficerAssistant"
|
|
7579
|
-
| "SystemAdmin";
|
|
7580
|
-
|
|
7581
|
-
export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
|
|
7582
|
-
|
|
7583
|
-
/** @default "Realtor" */
|
|
7584
|
-
export type GetPartnersParamsRoleEnum =
|
|
7585
|
-
| "Borrower"
|
|
7586
|
-
| "LoanOfficer"
|
|
7587
|
-
| "Admin"
|
|
7588
|
-
| "SuperAdmin"
|
|
7589
|
-
| "Realtor"
|
|
7590
|
-
| "SettlementAgent"
|
|
7591
|
-
| "LoanProcessor"
|
|
7592
|
-
| "LoanOfficerAssistant"
|
|
7593
|
-
| "SystemAdmin";
|
|
7594
|
-
|
|
7595
|
-
export type GetSamlMetadataParamsSSoIntegrationEnum =
|
|
7596
|
-
| "ConsumerConnect"
|
|
7597
|
-
| "TheBigPOS"
|
|
7598
|
-
| "POSF";
|
|
7599
|
-
|
|
7600
|
-
export type GetSamlMetadataParamsEnum =
|
|
7601
|
-
| "ConsumerConnect"
|
|
7602
|
-
| "TheBigPOS"
|
|
7603
|
-
| "POSF";
|
|
7604
|
-
|
|
7605
|
-
export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
|
|
7606
|
-
| "ConsumerConnect"
|
|
7607
|
-
| "TheBigPOS"
|
|
7608
|
-
| "POSF";
|
|
7609
|
-
|
|
7610
|
-
export type CreateOrReplaceSamlMetadataParamsEnum =
|
|
7611
|
-
| "ConsumerConnect"
|
|
7612
|
-
| "TheBigPOS"
|
|
7613
|
-
| "POSF";
|
|
7614
|
-
|
|
7615
|
-
import type {
|
|
7616
|
-
AxiosInstance,
|
|
7617
|
-
AxiosRequestConfig,
|
|
7618
|
-
AxiosResponse,
|
|
7619
|
-
HeadersDefaults,
|
|
7620
|
-
ResponseType,
|
|
7621
|
-
} from "axios";
|
|
7622
|
-
import axios from "axios";
|
|
7623
|
-
|
|
7624
|
-
export type QueryParamsType = Record<string | number, any>;
|
|
7625
|
-
|
|
7626
|
-
export interface FullRequestParams
|
|
7627
|
-
extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
7628
|
-
/** set parameter to `true` for call `securityWorker` for this request */
|
|
7629
|
-
secure?: boolean;
|
|
7630
|
-
/** request path */
|
|
7631
|
-
path: string;
|
|
7632
|
-
/** content type of request body */
|
|
7633
|
-
type?: ContentType;
|
|
7634
|
-
/** query params */
|
|
7635
|
-
query?: QueryParamsType;
|
|
7636
|
-
/** format of response (i.e. response.json() -> format: "json") */
|
|
7637
|
-
format?: ResponseType;
|
|
7638
|
-
/** request body */
|
|
7639
|
-
body?: unknown;
|
|
7640
|
-
}
|
|
7641
|
-
|
|
7642
|
-
export type RequestParams = Omit<
|
|
7643
|
-
FullRequestParams,
|
|
7644
|
-
"body" | "method" | "query" | "path"
|
|
7645
|
-
>;
|
|
7646
|
-
|
|
7647
|
-
export interface ApiConfig<SecurityDataType = unknown>
|
|
7648
|
-
extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
7649
|
-
securityWorker?: (
|
|
7650
|
-
securityData: SecurityDataType | null,
|
|
7651
|
-
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
7652
|
-
secure?: boolean;
|
|
7653
|
-
format?: ResponseType;
|
|
7654
|
-
}
|
|
7655
|
-
|
|
7656
|
-
export type ContentType =
|
|
7657
|
-
| "application/json"
|
|
7658
|
-
| "application/vnd.api+json"
|
|
7659
|
-
| "multipart/form-data"
|
|
7660
|
-
| "application/x-www-form-urlencoded"
|
|
7661
|
-
| "text/plain";
|
|
7662
|
-
|
|
7663
|
-
export class HttpClient<SecurityDataType = unknown> {
|
|
7664
|
-
public instance: AxiosInstance;
|
|
7665
|
-
private securityData: SecurityDataType | null = null;
|
|
7666
|
-
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
7667
|
-
private secure?: boolean;
|
|
7668
|
-
private format?: ResponseType;
|
|
7669
|
-
|
|
7670
|
-
constructor({
|
|
7671
|
-
securityWorker,
|
|
7672
|
-
secure,
|
|
7673
|
-
format,
|
|
7674
|
-
...axiosConfig
|
|
7675
|
-
}: ApiConfig<SecurityDataType> = {}) {
|
|
7676
|
-
this.instance = axios.create({
|
|
7677
|
-
...axiosConfig,
|
|
7678
|
-
baseURL: axiosConfig.baseURL || "",
|
|
7679
|
-
});
|
|
7680
|
-
this.secure = secure;
|
|
7681
|
-
this.format = format;
|
|
7682
|
-
this.securityWorker = securityWorker;
|
|
7683
|
-
}
|
|
7684
|
-
|
|
7685
|
-
public setSecurityData = (data: SecurityDataType | null) => {
|
|
7686
|
-
this.securityData = data;
|
|
7687
|
-
};
|
|
7688
|
-
|
|
7689
|
-
protected mergeRequestParams(
|
|
7690
|
-
params1: AxiosRequestConfig,
|
|
7691
|
-
params2?: AxiosRequestConfig,
|
|
7692
|
-
): AxiosRequestConfig {
|
|
7693
|
-
const method = params1.method || (params2 && params2.method);
|
|
7694
|
-
|
|
7695
|
-
return {
|
|
7696
|
-
...this.instance.defaults,
|
|
7697
|
-
...params1,
|
|
7698
|
-
...(params2 || {}),
|
|
7699
|
-
headers: {
|
|
7700
|
-
...((method &&
|
|
7701
|
-
this.instance.defaults.headers[
|
|
7702
|
-
method.toLowerCase() as keyof HeadersDefaults
|
|
7703
|
-
]) ||
|
|
7704
|
-
{}),
|
|
7705
|
-
...(params1.headers || {}),
|
|
7706
|
-
...((params2 && params2.headers) || {}),
|
|
7707
|
-
},
|
|
7708
|
-
};
|
|
7709
|
-
}
|
|
7710
|
-
|
|
7711
|
-
protected stringifyFormItem(formItem: unknown) {
|
|
7712
|
-
if (typeof formItem === "object" && formItem !== null) {
|
|
7713
|
-
return JSON.stringify(formItem);
|
|
7714
|
-
} else {
|
|
7715
|
-
return `${formItem}`;
|
|
7716
|
-
}
|
|
7717
|
-
}
|
|
7718
|
-
|
|
7719
|
-
protected createFormData(input: Record<string, unknown>): FormData {
|
|
7720
|
-
if (input instanceof FormData) {
|
|
7721
|
-
return input;
|
|
7722
|
-
}
|
|
7723
|
-
return Object.keys(input || {}).reduce((formData, key) => {
|
|
7724
|
-
const property = input[key];
|
|
7725
|
-
const propertyContent: any[] =
|
|
7726
|
-
property instanceof Array ? property : [property];
|
|
7727
|
-
|
|
7728
|
-
for (const formItem of propertyContent) {
|
|
7729
|
-
const isFileType = formItem instanceof Blob || formItem instanceof File;
|
|
7730
|
-
formData.append(
|
|
7731
|
-
key,
|
|
7732
|
-
isFileType ? formItem : this.stringifyFormItem(formItem),
|
|
7733
|
-
);
|
|
7734
|
-
}
|
|
7735
|
-
|
|
7736
|
-
return formData;
|
|
7737
|
-
}, new FormData());
|
|
7738
|
-
}
|
|
7739
|
-
|
|
7740
|
-
public request = async <T = any, _E = any>({
|
|
7741
|
-
secure,
|
|
7742
|
-
path,
|
|
7743
|
-
type,
|
|
7744
|
-
query,
|
|
7745
|
-
format,
|
|
7746
|
-
body,
|
|
7747
|
-
...params
|
|
7748
|
-
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
7749
|
-
const secureParams =
|
|
7750
|
-
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
7751
|
-
this.securityWorker &&
|
|
7752
|
-
(await this.securityWorker(this.securityData))) ||
|
|
7753
|
-
{};
|
|
7754
|
-
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
7755
|
-
const responseFormat = format || this.format || undefined;
|
|
7756
|
-
|
|
7757
|
-
if (
|
|
7758
|
-
type === "multipart/form-data" &&
|
|
7759
|
-
body &&
|
|
7760
|
-
body !== null &&
|
|
7761
|
-
typeof body === "object"
|
|
7762
|
-
) {
|
|
7763
|
-
body = this.createFormData(body as Record<string, unknown>);
|
|
7764
|
-
}
|
|
7765
|
-
|
|
7766
|
-
if (
|
|
7767
|
-
type === "text/plain" &&
|
|
7768
|
-
body &&
|
|
7769
|
-
body !== null &&
|
|
7770
|
-
typeof body !== "string"
|
|
7771
|
-
) {
|
|
7772
|
-
body = JSON.stringify(body);
|
|
7773
|
-
}
|
|
7428
|
+
if (
|
|
7429
|
+
type === ContentType.Text &&
|
|
7430
|
+
body &&
|
|
7431
|
+
body !== null &&
|
|
7432
|
+
typeof body !== "string"
|
|
7433
|
+
) {
|
|
7434
|
+
body = JSON.stringify(body);
|
|
7435
|
+
}
|
|
7774
7436
|
|
|
7775
7437
|
return this.instance.request({
|
|
7776
7438
|
...requestParams,
|
|
@@ -7788,7 +7450,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
7788
7450
|
|
|
7789
7451
|
/**
|
|
7790
7452
|
* @title The Big POS API
|
|
7791
|
-
* @version v2.45.
|
|
7453
|
+
* @version v2.45.1
|
|
7792
7454
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
7793
7455
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
7794
7456
|
*/
|
|
@@ -7871,7 +7533,7 @@ export class Api<
|
|
|
7871
7533
|
method: "PUT",
|
|
7872
7534
|
body: data,
|
|
7873
7535
|
secure: true,
|
|
7874
|
-
type:
|
|
7536
|
+
type: ContentType.Json,
|
|
7875
7537
|
format: "json",
|
|
7876
7538
|
...params,
|
|
7877
7539
|
}),
|
|
@@ -7915,7 +7577,7 @@ export class Api<
|
|
|
7915
7577
|
method: "PUT",
|
|
7916
7578
|
body: data,
|
|
7917
7579
|
secure: true,
|
|
7918
|
-
type:
|
|
7580
|
+
type: ContentType.Json,
|
|
7919
7581
|
format: "json",
|
|
7920
7582
|
...params,
|
|
7921
7583
|
}),
|
|
@@ -7939,7 +7601,7 @@ export class Api<
|
|
|
7939
7601
|
method: "POST",
|
|
7940
7602
|
body: data,
|
|
7941
7603
|
secure: true,
|
|
7942
|
-
type:
|
|
7604
|
+
type: ContentType.Json,
|
|
7943
7605
|
...params,
|
|
7944
7606
|
}),
|
|
7945
7607
|
|
|
@@ -7963,7 +7625,7 @@ export class Api<
|
|
|
7963
7625
|
method: "POST",
|
|
7964
7626
|
body: data,
|
|
7965
7627
|
secure: true,
|
|
7966
|
-
type:
|
|
7628
|
+
type: ContentType.Json,
|
|
7967
7629
|
...params,
|
|
7968
7630
|
}),
|
|
7969
7631
|
|
|
@@ -8003,7 +7665,7 @@ export class Api<
|
|
|
8003
7665
|
method: "POST",
|
|
8004
7666
|
body: data,
|
|
8005
7667
|
secure: true,
|
|
8006
|
-
type:
|
|
7668
|
+
type: ContentType.Json,
|
|
8007
7669
|
format: "json",
|
|
8008
7670
|
...params,
|
|
8009
7671
|
}),
|
|
@@ -8079,51 +7741,7 @@ export class Api<
|
|
|
8079
7741
|
method: "PUT",
|
|
8080
7742
|
body: data,
|
|
8081
7743
|
secure: true,
|
|
8082
|
-
type:
|
|
8083
|
-
format: "json",
|
|
8084
|
-
...params,
|
|
8085
|
-
}),
|
|
8086
|
-
|
|
8087
|
-
/**
|
|
8088
|
-
* No description
|
|
8089
|
-
*
|
|
8090
|
-
* @tags AiAccountSettings
|
|
8091
|
-
* @name GetAiAccountSettings
|
|
8092
|
-
* @summary Get account AI settings
|
|
8093
|
-
* @request GET:/api/ai/admin/account-settings
|
|
8094
|
-
* @secure
|
|
8095
|
-
* @response `200` `AiAccountSettings` OK
|
|
8096
|
-
*/
|
|
8097
|
-
getAiAccountSettings: (params: RequestParams = {}) =>
|
|
8098
|
-
this.request<AiAccountSettings, any>({
|
|
8099
|
-
path: `/api/ai/admin/account-settings`,
|
|
8100
|
-
method: "GET",
|
|
8101
|
-
secure: true,
|
|
8102
|
-
format: "json",
|
|
8103
|
-
...params,
|
|
8104
|
-
}),
|
|
8105
|
-
|
|
8106
|
-
/**
|
|
8107
|
-
* No description
|
|
8108
|
-
*
|
|
8109
|
-
* @tags AiAccountSettings
|
|
8110
|
-
* @name UpdateAiAccountSettings
|
|
8111
|
-
* @summary Update account AI settings
|
|
8112
|
-
* @request PUT:/api/ai/admin/account-settings
|
|
8113
|
-
* @secure
|
|
8114
|
-
* @response `200` `AiAccountSettings` OK
|
|
8115
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8116
|
-
*/
|
|
8117
|
-
updateAiAccountSettings: (
|
|
8118
|
-
data: AiAccountSettingsRequest,
|
|
8119
|
-
params: RequestParams = {},
|
|
8120
|
-
) =>
|
|
8121
|
-
this.request<AiAccountSettings, ProblemDetails>({
|
|
8122
|
-
path: `/api/ai/admin/account-settings`,
|
|
8123
|
-
method: "PUT",
|
|
8124
|
-
body: data,
|
|
8125
|
-
secure: true,
|
|
8126
|
-
type: "application/json",
|
|
7744
|
+
type: ContentType.Json,
|
|
8127
7745
|
format: "json",
|
|
8128
7746
|
...params,
|
|
8129
7747
|
}),
|
|
@@ -8131,40 +7749,17 @@ export class Api<
|
|
|
8131
7749
|
/**
|
|
8132
7750
|
* No description
|
|
8133
7751
|
*
|
|
8134
|
-
* @tags
|
|
8135
|
-
* @name
|
|
8136
|
-
* @summary Get
|
|
8137
|
-
* @request GET:/api/ai/
|
|
7752
|
+
* @tags AiAccess
|
|
7753
|
+
* @name GetAiAccess
|
|
7754
|
+
* @summary Get whether AI is enabled for the current user's account
|
|
7755
|
+
* @request GET:/api/ai/access
|
|
8138
7756
|
* @secure
|
|
8139
|
-
* @response `200` `
|
|
7757
|
+
* @response `200` `AiEnabled` OK
|
|
8140
7758
|
*/
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
/** @format uuid */
|
|
8145
|
-
requestId?: string;
|
|
8146
|
-
/** @format uuid */
|
|
8147
|
-
userId?: string;
|
|
8148
|
-
/** @format uuid */
|
|
8149
|
-
conversationId?: string;
|
|
8150
|
-
blockedOnly?: boolean;
|
|
8151
|
-
/** @format date-time */
|
|
8152
|
-
startDate?: string;
|
|
8153
|
-
/** @format date-time */
|
|
8154
|
-
endDate?: string;
|
|
8155
|
-
/** @format int32 */
|
|
8156
|
-
pageSize?: number;
|
|
8157
|
-
/** @format int32 */
|
|
8158
|
-
pageNumber?: number;
|
|
8159
|
-
sortBy?: string;
|
|
8160
|
-
sortDirection?: string;
|
|
8161
|
-
},
|
|
8162
|
-
params: RequestParams = {},
|
|
8163
|
-
) =>
|
|
8164
|
-
this.request<AiAuditLogPaginated, any>({
|
|
8165
|
-
path: `/api/ai/admin/audit-logs`,
|
|
7759
|
+
getAiAccess: (params: RequestParams = {}) =>
|
|
7760
|
+
this.request<AiEnabled, any>({
|
|
7761
|
+
path: `/api/ai/access`,
|
|
8166
7762
|
method: "GET",
|
|
8167
|
-
query: query,
|
|
8168
7763
|
secure: true,
|
|
8169
7764
|
format: "json",
|
|
8170
7765
|
...params,
|
|
@@ -8173,16 +7768,16 @@ export class Api<
|
|
|
8173
7768
|
/**
|
|
8174
7769
|
* No description
|
|
8175
7770
|
*
|
|
8176
|
-
* @tags
|
|
8177
|
-
* @name
|
|
8178
|
-
* @summary Get
|
|
8179
|
-
* @request GET:/api/ai/
|
|
7771
|
+
* @tags AiAccount
|
|
7772
|
+
* @name GetAccountAiEnabled
|
|
7773
|
+
* @summary Get whether AI is enabled for an account (SuperAdmin only)
|
|
7774
|
+
* @request GET:/api/ai/accounts/{accountId}/ai-enabled
|
|
8180
7775
|
* @secure
|
|
8181
|
-
* @response `200` `
|
|
7776
|
+
* @response `200` `AiEnabled` OK
|
|
8182
7777
|
*/
|
|
8183
|
-
|
|
8184
|
-
this.request<
|
|
8185
|
-
path: `/api/ai/
|
|
7778
|
+
getAccountAiEnabled: (accountId: string, params: RequestParams = {}) =>
|
|
7779
|
+
this.request<AiEnabled, any>({
|
|
7780
|
+
path: `/api/ai/accounts/${accountId}/ai-enabled`,
|
|
8186
7781
|
method: "GET",
|
|
8187
7782
|
secure: true,
|
|
8188
7783
|
format: "json",
|
|
@@ -8192,61 +7787,41 @@ export class Api<
|
|
|
8192
7787
|
/**
|
|
8193
7788
|
* No description
|
|
8194
7789
|
*
|
|
8195
|
-
* @tags
|
|
8196
|
-
* @name
|
|
8197
|
-
* @summary
|
|
8198
|
-
* @request
|
|
7790
|
+
* @tags AiAccount
|
|
7791
|
+
* @name SetAccountAiEnabled
|
|
7792
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
7793
|
+
* @request PUT:/api/ai/accounts/{accountId}/ai-enabled
|
|
8199
7794
|
* @secure
|
|
8200
|
-
* @response `
|
|
7795
|
+
* @response `204` `void` No Content
|
|
8201
7796
|
*/
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
/** @format date-time */
|
|
8206
|
-
startDate?: string;
|
|
8207
|
-
/** @format date-time */
|
|
8208
|
-
endDate?: string;
|
|
8209
|
-
/** @format int32 */
|
|
8210
|
-
pageSize?: number;
|
|
8211
|
-
/** @format int32 */
|
|
8212
|
-
pageNumber?: number;
|
|
8213
|
-
sortBy?: string;
|
|
8214
|
-
sortDirection?: string;
|
|
8215
|
-
},
|
|
7797
|
+
setAccountAiEnabled: (
|
|
7798
|
+
accountId: string,
|
|
7799
|
+
data: SetAiEnabledRequest,
|
|
8216
7800
|
params: RequestParams = {},
|
|
8217
7801
|
) =>
|
|
8218
|
-
this.request<
|
|
8219
|
-
path: `/api/ai/
|
|
8220
|
-
method: "
|
|
8221
|
-
|
|
7802
|
+
this.request<void, any>({
|
|
7803
|
+
path: `/api/ai/accounts/${accountId}/ai-enabled`,
|
|
7804
|
+
method: "PUT",
|
|
7805
|
+
body: data,
|
|
8222
7806
|
secure: true,
|
|
8223
|
-
|
|
7807
|
+
type: ContentType.Json,
|
|
8224
7808
|
...params,
|
|
8225
7809
|
}),
|
|
8226
7810
|
|
|
8227
7811
|
/**
|
|
8228
7812
|
* No description
|
|
8229
7813
|
*
|
|
8230
|
-
* @tags
|
|
8231
|
-
* @name
|
|
8232
|
-
* @summary Get AI
|
|
8233
|
-
* @request GET:/api/ai/
|
|
7814
|
+
* @tags AiAccountSettings
|
|
7815
|
+
* @name GetAiAccountSettings
|
|
7816
|
+
* @summary Get account AI settings
|
|
7817
|
+
* @request GET:/api/ai/account-settings
|
|
8234
7818
|
* @secure
|
|
8235
|
-
* @response `200` `
|
|
7819
|
+
* @response `200` `AiAccountSettings` OK
|
|
8236
7820
|
*/
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
startDate?: string;
|
|
8241
|
-
/** @format date-time */
|
|
8242
|
-
endDate?: string;
|
|
8243
|
-
},
|
|
8244
|
-
params: RequestParams = {},
|
|
8245
|
-
) =>
|
|
8246
|
-
this.request<AiAdminStats, any>({
|
|
8247
|
-
path: `/api/ai/admin/stats`,
|
|
7821
|
+
getAiAccountSettings: (params: RequestParams = {}) =>
|
|
7822
|
+
this.request<AiAccountSettings, any>({
|
|
7823
|
+
path: `/api/ai/account-settings`,
|
|
8248
7824
|
method: "GET",
|
|
8249
|
-
query: query,
|
|
8250
7825
|
secure: true,
|
|
8251
7826
|
format: "json",
|
|
8252
7827
|
...params,
|
|
@@ -8255,39 +7830,24 @@ export class Api<
|
|
|
8255
7830
|
/**
|
|
8256
7831
|
* No description
|
|
8257
7832
|
*
|
|
8258
|
-
* @tags
|
|
8259
|
-
* @name
|
|
8260
|
-
* @summary
|
|
8261
|
-
* @request
|
|
7833
|
+
* @tags AiAccountSettings
|
|
7834
|
+
* @name UpdateAiAccountSettings
|
|
7835
|
+
* @summary Update account AI settings
|
|
7836
|
+
* @request PUT:/api/ai/account-settings
|
|
8262
7837
|
* @secure
|
|
8263
|
-
* @response `200` `
|
|
7838
|
+
* @response `200` `AiAccountSettings` OK
|
|
7839
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8264
7840
|
*/
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
entityType?: AiConfigEntityType;
|
|
8268
|
-
/** @format uuid */
|
|
8269
|
-
entityId?: string;
|
|
8270
|
-
/** @format uuid */
|
|
8271
|
-
actorUserId?: string;
|
|
8272
|
-
action?: AiConfigChangeAction;
|
|
8273
|
-
/** @format date-time */
|
|
8274
|
-
startDate?: string;
|
|
8275
|
-
/** @format date-time */
|
|
8276
|
-
endDate?: string;
|
|
8277
|
-
/** @format int32 */
|
|
8278
|
-
pageSize?: number;
|
|
8279
|
-
/** @format int32 */
|
|
8280
|
-
pageNumber?: number;
|
|
8281
|
-
sortBy?: string;
|
|
8282
|
-
sortDirection?: string;
|
|
8283
|
-
},
|
|
7841
|
+
updateAiAccountSettings: (
|
|
7842
|
+
data: AiAccountSettingsRequest,
|
|
8284
7843
|
params: RequestParams = {},
|
|
8285
7844
|
) =>
|
|
8286
|
-
this.request<
|
|
8287
|
-
path: `/api/ai/
|
|
8288
|
-
method: "
|
|
8289
|
-
|
|
7845
|
+
this.request<AiAccountSettings, ProblemDetails>({
|
|
7846
|
+
path: `/api/ai/account-settings`,
|
|
7847
|
+
method: "PUT",
|
|
7848
|
+
body: data,
|
|
8290
7849
|
secure: true,
|
|
7850
|
+
type: ContentType.Json,
|
|
8291
7851
|
format: "json",
|
|
8292
7852
|
...params,
|
|
8293
7853
|
}),
|
|
@@ -8298,13 +7858,13 @@ export class Api<
|
|
|
8298
7858
|
* @tags AiAdminPrompt
|
|
8299
7859
|
* @name GetAiPrompts
|
|
8300
7860
|
* @summary Get all prompts
|
|
8301
|
-
* @request GET:/api/ai/
|
|
7861
|
+
* @request GET:/api/ai/prompts
|
|
8302
7862
|
* @secure
|
|
8303
7863
|
* @response `200` `(AiPrompt)[]` OK
|
|
8304
7864
|
*/
|
|
8305
7865
|
getAiPrompts: (params: RequestParams = {}) =>
|
|
8306
7866
|
this.request<AiPrompt[], any>({
|
|
8307
|
-
path: `/api/ai/
|
|
7867
|
+
path: `/api/ai/prompts`,
|
|
8308
7868
|
method: "GET",
|
|
8309
7869
|
secure: true,
|
|
8310
7870
|
format: "json",
|
|
@@ -8317,18 +7877,18 @@ export class Api<
|
|
|
8317
7877
|
* @tags AiAdminPrompt
|
|
8318
7878
|
* @name CreateAiPrompt
|
|
8319
7879
|
* @summary Create custom prompt
|
|
8320
|
-
* @request POST:/api/ai/
|
|
7880
|
+
* @request POST:/api/ai/prompts
|
|
8321
7881
|
* @secure
|
|
8322
7882
|
* @response `201` `AiPrompt` Created
|
|
8323
7883
|
* @response `400` `ProblemDetails` Bad Request
|
|
8324
7884
|
*/
|
|
8325
7885
|
createAiPrompt: (data: CreateAiPromptRequest, params: RequestParams = {}) =>
|
|
8326
7886
|
this.request<AiPrompt, ProblemDetails>({
|
|
8327
|
-
path: `/api/ai/
|
|
7887
|
+
path: `/api/ai/prompts`,
|
|
8328
7888
|
method: "POST",
|
|
8329
7889
|
body: data,
|
|
8330
7890
|
secure: true,
|
|
8331
|
-
type:
|
|
7891
|
+
type: ContentType.Json,
|
|
8332
7892
|
format: "json",
|
|
8333
7893
|
...params,
|
|
8334
7894
|
}),
|
|
@@ -8339,14 +7899,14 @@ export class Api<
|
|
|
8339
7899
|
* @tags AiAdminPrompt
|
|
8340
7900
|
* @name GetAiPrompt
|
|
8341
7901
|
* @summary Get prompt by ID
|
|
8342
|
-
* @request GET:/api/ai/
|
|
7902
|
+
* @request GET:/api/ai/prompts/{id}
|
|
8343
7903
|
* @secure
|
|
8344
7904
|
* @response `200` `AiPrompt` OK
|
|
8345
7905
|
* @response `404` `ProblemDetails` Not Found
|
|
8346
7906
|
*/
|
|
8347
7907
|
getAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
8348
7908
|
this.request<AiPrompt, ProblemDetails>({
|
|
8349
|
-
path: `/api/ai/
|
|
7909
|
+
path: `/api/ai/prompts/${id}`,
|
|
8350
7910
|
method: "GET",
|
|
8351
7911
|
secure: true,
|
|
8352
7912
|
format: "json",
|
|
@@ -8359,7 +7919,7 @@ export class Api<
|
|
|
8359
7919
|
* @tags AiAdminPrompt
|
|
8360
7920
|
* @name UpdateAiPrompt
|
|
8361
7921
|
* @summary Update prompt
|
|
8362
|
-
* @request PUT:/api/ai/
|
|
7922
|
+
* @request PUT:/api/ai/prompts/{id}
|
|
8363
7923
|
* @secure
|
|
8364
7924
|
* @response `200` `AiPrompt` OK
|
|
8365
7925
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -8371,11 +7931,11 @@ export class Api<
|
|
|
8371
7931
|
params: RequestParams = {},
|
|
8372
7932
|
) =>
|
|
8373
7933
|
this.request<AiPrompt, ProblemDetails>({
|
|
8374
|
-
path: `/api/ai/
|
|
7934
|
+
path: `/api/ai/prompts/${id}`,
|
|
8375
7935
|
method: "PUT",
|
|
8376
7936
|
body: data,
|
|
8377
7937
|
secure: true,
|
|
8378
|
-
type:
|
|
7938
|
+
type: ContentType.Json,
|
|
8379
7939
|
format: "json",
|
|
8380
7940
|
...params,
|
|
8381
7941
|
}),
|
|
@@ -8386,7 +7946,7 @@ export class Api<
|
|
|
8386
7946
|
* @tags AiAdminPrompt
|
|
8387
7947
|
* @name DeleteAiPrompt
|
|
8388
7948
|
* @summary Delete prompt
|
|
8389
|
-
* @request DELETE:/api/ai/
|
|
7949
|
+
* @request DELETE:/api/ai/prompts/{id}
|
|
8390
7950
|
* @secure
|
|
8391
7951
|
* @response `204` `void` No Content
|
|
8392
7952
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -8394,7 +7954,7 @@ export class Api<
|
|
|
8394
7954
|
*/
|
|
8395
7955
|
deleteAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
8396
7956
|
this.request<void, ProblemDetails>({
|
|
8397
|
-
path: `/api/ai/
|
|
7957
|
+
path: `/api/ai/prompts/${id}`,
|
|
8398
7958
|
method: "DELETE",
|
|
8399
7959
|
secure: true,
|
|
8400
7960
|
...params,
|
|
@@ -8406,14 +7966,14 @@ export class Api<
|
|
|
8406
7966
|
* @tags AiAdminPrompt
|
|
8407
7967
|
* @name ToggleAiPrompt
|
|
8408
7968
|
* @summary Toggle prompt active/inactive
|
|
8409
|
-
* @request PATCH:/api/ai/
|
|
7969
|
+
* @request PATCH:/api/ai/prompts/{id}/toggle
|
|
8410
7970
|
* @secure
|
|
8411
7971
|
* @response `200` `AiPrompt` OK
|
|
8412
7972
|
* @response `404` `ProblemDetails` Not Found
|
|
8413
7973
|
*/
|
|
8414
7974
|
toggleAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
8415
7975
|
this.request<AiPrompt, ProblemDetails>({
|
|
8416
|
-
path: `/api/ai/
|
|
7976
|
+
path: `/api/ai/prompts/${id}/toggle`,
|
|
8417
7977
|
method: "PATCH",
|
|
8418
7978
|
secure: true,
|
|
8419
7979
|
format: "json",
|
|
@@ -8423,24 +7983,158 @@ export class Api<
|
|
|
8423
7983
|
/**
|
|
8424
7984
|
* No description
|
|
8425
7985
|
*
|
|
8426
|
-
* @tags AiAdminPrompt
|
|
8427
|
-
* @name GenerateAiSystemPrompt
|
|
8428
|
-
* @summary Generate a system prompt from description
|
|
8429
|
-
* @request POST:/api/ai/
|
|
7986
|
+
* @tags AiAdminPrompt
|
|
7987
|
+
* @name GenerateAiSystemPrompt
|
|
7988
|
+
* @summary Generate a system prompt from description
|
|
7989
|
+
* @request POST:/api/ai/prompts/generate
|
|
7990
|
+
* @secure
|
|
7991
|
+
* @response `200` `GenerateSystemPrompt` OK
|
|
7992
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7993
|
+
*/
|
|
7994
|
+
generateAiSystemPrompt: (
|
|
7995
|
+
data: GenerateSystemPromptRequest,
|
|
7996
|
+
params: RequestParams = {},
|
|
7997
|
+
) =>
|
|
7998
|
+
this.request<GenerateSystemPrompt, ProblemDetails>({
|
|
7999
|
+
path: `/api/ai/prompts/generate`,
|
|
8000
|
+
method: "POST",
|
|
8001
|
+
body: data,
|
|
8002
|
+
secure: true,
|
|
8003
|
+
type: ContentType.JsonPatch,
|
|
8004
|
+
format: "json",
|
|
8005
|
+
...params,
|
|
8006
|
+
}),
|
|
8007
|
+
|
|
8008
|
+
/**
|
|
8009
|
+
* No description
|
|
8010
|
+
*
|
|
8011
|
+
* @tags AiAdminPrompt
|
|
8012
|
+
* @name GetAiSupportedModels
|
|
8013
|
+
* @summary Get supported LLM models
|
|
8014
|
+
* @request GET:/api/ai/prompts/supported-models
|
|
8015
|
+
* @secure
|
|
8016
|
+
* @response `200` `(SupportedModel)[]` OK
|
|
8017
|
+
*/
|
|
8018
|
+
getAiSupportedModels: (params: RequestParams = {}) =>
|
|
8019
|
+
this.request<SupportedModel[], any>({
|
|
8020
|
+
path: `/api/ai/prompts/supported-models`,
|
|
8021
|
+
method: "GET",
|
|
8022
|
+
secure: true,
|
|
8023
|
+
format: "json",
|
|
8024
|
+
...params,
|
|
8025
|
+
}),
|
|
8026
|
+
|
|
8027
|
+
/**
|
|
8028
|
+
* No description
|
|
8029
|
+
*
|
|
8030
|
+
* @tags AiAdminSettings
|
|
8031
|
+
* @name GetAiAdminSettings
|
|
8032
|
+
* @summary Get global AI settings
|
|
8033
|
+
* @request GET:/api/ai/settings
|
|
8034
|
+
* @secure
|
|
8035
|
+
* @response `200` `AiAdminSettings` OK
|
|
8036
|
+
*/
|
|
8037
|
+
getAiAdminSettings: (params: RequestParams = {}) =>
|
|
8038
|
+
this.request<AiAdminSettings, any>({
|
|
8039
|
+
path: `/api/ai/settings`,
|
|
8040
|
+
method: "GET",
|
|
8041
|
+
secure: true,
|
|
8042
|
+
format: "json",
|
|
8043
|
+
...params,
|
|
8044
|
+
}),
|
|
8045
|
+
|
|
8046
|
+
/**
|
|
8047
|
+
* No description
|
|
8048
|
+
*
|
|
8049
|
+
* @tags AiAdminSettings
|
|
8050
|
+
* @name UpdateAiAdminSettings
|
|
8051
|
+
* @summary Update global AI settings
|
|
8052
|
+
* @request PUT:/api/ai/settings
|
|
8053
|
+
* @secure
|
|
8054
|
+
* @response `200` `AiAdminSettings` OK
|
|
8055
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8056
|
+
*/
|
|
8057
|
+
updateAiAdminSettings: (
|
|
8058
|
+
data: AiAdminSettingsRequest,
|
|
8059
|
+
params: RequestParams = {},
|
|
8060
|
+
) =>
|
|
8061
|
+
this.request<AiAdminSettings, ProblemDetails>({
|
|
8062
|
+
path: `/api/ai/settings`,
|
|
8063
|
+
method: "PUT",
|
|
8064
|
+
body: data,
|
|
8065
|
+
secure: true,
|
|
8066
|
+
type: ContentType.Json,
|
|
8067
|
+
format: "json",
|
|
8068
|
+
...params,
|
|
8069
|
+
}),
|
|
8070
|
+
|
|
8071
|
+
/**
|
|
8072
|
+
* No description
|
|
8073
|
+
*
|
|
8074
|
+
* @tags AiAudit
|
|
8075
|
+
* @name GetAiAuditLogs
|
|
8076
|
+
* @summary Get paginated AI audit logs (own account, or any/all accounts for SuperAdmin)
|
|
8077
|
+
* @request GET:/api/ai/audit-logs
|
|
8078
|
+
* @secure
|
|
8079
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
8080
|
+
*/
|
|
8081
|
+
getAiAuditLogs: (
|
|
8082
|
+
query?: {
|
|
8083
|
+
/** @format uuid */
|
|
8084
|
+
accountId?: string;
|
|
8085
|
+
eventType?: AiAuditEventType;
|
|
8086
|
+
/** @format uuid */
|
|
8087
|
+
requestId?: string;
|
|
8088
|
+
/** @format uuid */
|
|
8089
|
+
userId?: string;
|
|
8090
|
+
/** @format uuid */
|
|
8091
|
+
conversationId?: string;
|
|
8092
|
+
blockedOnly?: boolean;
|
|
8093
|
+
/** @format date-time */
|
|
8094
|
+
startDate?: string;
|
|
8095
|
+
/** @format date-time */
|
|
8096
|
+
endDate?: string;
|
|
8097
|
+
/** @format int32 */
|
|
8098
|
+
pageSize?: number;
|
|
8099
|
+
/** @format int32 */
|
|
8100
|
+
pageNumber?: number;
|
|
8101
|
+
sortBy?: string;
|
|
8102
|
+
sortDirection?: string;
|
|
8103
|
+
},
|
|
8104
|
+
params: RequestParams = {},
|
|
8105
|
+
) =>
|
|
8106
|
+
this.request<AiAuditLogPaginated, any>({
|
|
8107
|
+
path: `/api/ai/audit-logs`,
|
|
8108
|
+
method: "GET",
|
|
8109
|
+
query: query,
|
|
8110
|
+
secure: true,
|
|
8111
|
+
format: "json",
|
|
8112
|
+
...params,
|
|
8113
|
+
}),
|
|
8114
|
+
|
|
8115
|
+
/**
|
|
8116
|
+
* No description
|
|
8117
|
+
*
|
|
8118
|
+
* @tags AiAudit
|
|
8119
|
+
* @name GetAiRequestLifecycle
|
|
8120
|
+
* @summary Get the full event lifecycle of a single AI request
|
|
8121
|
+
* @request GET:/api/ai/audit-logs/request/{requestId}
|
|
8430
8122
|
* @secure
|
|
8431
|
-
* @response `200` `
|
|
8432
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8123
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
8433
8124
|
*/
|
|
8434
|
-
|
|
8435
|
-
|
|
8125
|
+
getAiRequestLifecycle: (
|
|
8126
|
+
requestId: string,
|
|
8127
|
+
query?: {
|
|
8128
|
+
/** @format uuid */
|
|
8129
|
+
accountId?: string;
|
|
8130
|
+
},
|
|
8436
8131
|
params: RequestParams = {},
|
|
8437
8132
|
) =>
|
|
8438
|
-
this.request<
|
|
8439
|
-
path: `/api/ai/
|
|
8440
|
-
method: "
|
|
8441
|
-
|
|
8133
|
+
this.request<AiAuditLog[], any>({
|
|
8134
|
+
path: `/api/ai/audit-logs/request/${requestId}`,
|
|
8135
|
+
method: "GET",
|
|
8136
|
+
query: query,
|
|
8442
8137
|
secure: true,
|
|
8443
|
-
type: "application/json",
|
|
8444
8138
|
format: "json",
|
|
8445
8139
|
...params,
|
|
8446
8140
|
}),
|
|
@@ -8448,17 +8142,35 @@ export class Api<
|
|
|
8448
8142
|
/**
|
|
8449
8143
|
* No description
|
|
8450
8144
|
*
|
|
8451
|
-
* @tags
|
|
8452
|
-
* @name
|
|
8453
|
-
* @summary
|
|
8454
|
-
* @request GET:/api/ai/
|
|
8145
|
+
* @tags AiAudit
|
|
8146
|
+
* @name GetAiAuditConversations
|
|
8147
|
+
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
8148
|
+
* @request GET:/api/ai/audit-conversations
|
|
8455
8149
|
* @secure
|
|
8456
|
-
* @response `200` `
|
|
8150
|
+
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
8457
8151
|
*/
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8152
|
+
getAiAuditConversations: (
|
|
8153
|
+
query?: {
|
|
8154
|
+
/** @format uuid */
|
|
8155
|
+
accountId?: string;
|
|
8156
|
+
searchText?: string;
|
|
8157
|
+
/** @format date-time */
|
|
8158
|
+
startDate?: string;
|
|
8159
|
+
/** @format date-time */
|
|
8160
|
+
endDate?: string;
|
|
8161
|
+
/** @format int32 */
|
|
8162
|
+
pageSize?: number;
|
|
8163
|
+
/** @format int32 */
|
|
8164
|
+
pageNumber?: number;
|
|
8165
|
+
sortBy?: string;
|
|
8166
|
+
sortDirection?: string;
|
|
8167
|
+
},
|
|
8168
|
+
params: RequestParams = {},
|
|
8169
|
+
) =>
|
|
8170
|
+
this.request<AiConversationAuditSummaryPaginated, any>({
|
|
8171
|
+
path: `/api/ai/audit-conversations`,
|
|
8461
8172
|
method: "GET",
|
|
8173
|
+
query: query,
|
|
8462
8174
|
secure: true,
|
|
8463
8175
|
format: "json",
|
|
8464
8176
|
...params,
|
|
@@ -8467,17 +8179,28 @@ export class Api<
|
|
|
8467
8179
|
/**
|
|
8468
8180
|
* No description
|
|
8469
8181
|
*
|
|
8470
|
-
* @tags
|
|
8471
|
-
* @name
|
|
8472
|
-
* @summary Get
|
|
8473
|
-
* @request GET:/api/ai/
|
|
8182
|
+
* @tags AiAudit
|
|
8183
|
+
* @name GetAiStats
|
|
8184
|
+
* @summary Get AI dashboard stats (own account, or any/all accounts for SuperAdmin)
|
|
8185
|
+
* @request GET:/api/ai/stats
|
|
8474
8186
|
* @secure
|
|
8475
|
-
* @response `200` `
|
|
8187
|
+
* @response `200` `AiAdminStats` OK
|
|
8476
8188
|
*/
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8189
|
+
getAiStats: (
|
|
8190
|
+
query?: {
|
|
8191
|
+
/** @format uuid */
|
|
8192
|
+
accountId?: string;
|
|
8193
|
+
/** @format date-time */
|
|
8194
|
+
startDate?: string;
|
|
8195
|
+
/** @format date-time */
|
|
8196
|
+
endDate?: string;
|
|
8197
|
+
},
|
|
8198
|
+
params: RequestParams = {},
|
|
8199
|
+
) =>
|
|
8200
|
+
this.request<AiAdminStats, any>({
|
|
8201
|
+
path: `/api/ai/stats`,
|
|
8480
8202
|
method: "GET",
|
|
8203
|
+
query: query,
|
|
8481
8204
|
secure: true,
|
|
8482
8205
|
format: "json",
|
|
8483
8206
|
...params,
|
|
@@ -8486,24 +8209,39 @@ export class Api<
|
|
|
8486
8209
|
/**
|
|
8487
8210
|
* No description
|
|
8488
8211
|
*
|
|
8489
|
-
* @tags
|
|
8490
|
-
* @name
|
|
8491
|
-
* @summary
|
|
8492
|
-
* @request
|
|
8212
|
+
* @tags AiAudit
|
|
8213
|
+
* @name GetAiConfigChanges
|
|
8214
|
+
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
8215
|
+
* @request GET:/api/ai/config-changes
|
|
8493
8216
|
* @secure
|
|
8494
|
-
* @response `200` `
|
|
8495
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8217
|
+
* @response `200` `AuditLogEntryPaginated` OK
|
|
8496
8218
|
*/
|
|
8497
|
-
|
|
8498
|
-
|
|
8219
|
+
getAiConfigChanges: (
|
|
8220
|
+
query?: {
|
|
8221
|
+
/** @format uuid */
|
|
8222
|
+
accountId?: string;
|
|
8223
|
+
/** @format uuid */
|
|
8224
|
+
entityId?: string;
|
|
8225
|
+
/** @format uuid */
|
|
8226
|
+
actorUserId?: string;
|
|
8227
|
+
/** @format date-time */
|
|
8228
|
+
startDate?: string;
|
|
8229
|
+
/** @format date-time */
|
|
8230
|
+
endDate?: string;
|
|
8231
|
+
/** @format int32 */
|
|
8232
|
+
pageSize?: number;
|
|
8233
|
+
/** @format int32 */
|
|
8234
|
+
pageNumber?: number;
|
|
8235
|
+
sortBy?: string;
|
|
8236
|
+
sortDirection?: string;
|
|
8237
|
+
},
|
|
8499
8238
|
params: RequestParams = {},
|
|
8500
8239
|
) =>
|
|
8501
|
-
this.request<
|
|
8502
|
-
path: `/api/ai/
|
|
8503
|
-
method: "
|
|
8504
|
-
|
|
8240
|
+
this.request<AuditLogEntryPaginated, any>({
|
|
8241
|
+
path: `/api/ai/config-changes`,
|
|
8242
|
+
method: "GET",
|
|
8243
|
+
query: query,
|
|
8505
8244
|
secure: true,
|
|
8506
|
-
type: "application/json",
|
|
8507
8245
|
format: "json",
|
|
8508
8246
|
...params,
|
|
8509
8247
|
}),
|
|
@@ -8514,13 +8252,13 @@ export class Api<
|
|
|
8514
8252
|
* @tags AiCanonicalField
|
|
8515
8253
|
* @name GetAiCanonicalFields
|
|
8516
8254
|
* @summary Get all canonical fields
|
|
8517
|
-
* @request GET:/api/ai/
|
|
8255
|
+
* @request GET:/api/ai/canonical-fields
|
|
8518
8256
|
* @secure
|
|
8519
8257
|
* @response `200` `(AiCanonicalField)[]` OK
|
|
8520
8258
|
*/
|
|
8521
8259
|
getAiCanonicalFields: (params: RequestParams = {}) =>
|
|
8522
8260
|
this.request<AiCanonicalField[], any>({
|
|
8523
|
-
path: `/api/ai/
|
|
8261
|
+
path: `/api/ai/canonical-fields`,
|
|
8524
8262
|
method: "GET",
|
|
8525
8263
|
secure: true,
|
|
8526
8264
|
format: "json",
|
|
@@ -8533,7 +8271,7 @@ export class Api<
|
|
|
8533
8271
|
* @tags AiCanonicalField
|
|
8534
8272
|
* @name CreateAiCanonicalField
|
|
8535
8273
|
* @summary Create canonical field
|
|
8536
|
-
* @request POST:/api/ai/
|
|
8274
|
+
* @request POST:/api/ai/canonical-fields
|
|
8537
8275
|
* @secure
|
|
8538
8276
|
* @response `201` `AiCanonicalField` Created
|
|
8539
8277
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -8543,11 +8281,11 @@ export class Api<
|
|
|
8543
8281
|
params: RequestParams = {},
|
|
8544
8282
|
) =>
|
|
8545
8283
|
this.request<AiCanonicalField, ProblemDetails>({
|
|
8546
|
-
path: `/api/ai/
|
|
8284
|
+
path: `/api/ai/canonical-fields`,
|
|
8547
8285
|
method: "POST",
|
|
8548
8286
|
body: data,
|
|
8549
8287
|
secure: true,
|
|
8550
|
-
type:
|
|
8288
|
+
type: ContentType.Json,
|
|
8551
8289
|
format: "json",
|
|
8552
8290
|
...params,
|
|
8553
8291
|
}),
|
|
@@ -8558,14 +8296,14 @@ export class Api<
|
|
|
8558
8296
|
* @tags AiCanonicalField
|
|
8559
8297
|
* @name GetAiCanonicalField
|
|
8560
8298
|
* @summary Get canonical field by ID
|
|
8561
|
-
* @request GET:/api/ai/
|
|
8299
|
+
* @request GET:/api/ai/canonical-fields/{id}
|
|
8562
8300
|
* @secure
|
|
8563
8301
|
* @response `200` `AiCanonicalField` OK
|
|
8564
8302
|
* @response `404` `ProblemDetails` Not Found
|
|
8565
8303
|
*/
|
|
8566
8304
|
getAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
8567
8305
|
this.request<AiCanonicalField, ProblemDetails>({
|
|
8568
|
-
path: `/api/ai/
|
|
8306
|
+
path: `/api/ai/canonical-fields/${id}`,
|
|
8569
8307
|
method: "GET",
|
|
8570
8308
|
secure: true,
|
|
8571
8309
|
format: "json",
|
|
@@ -8578,7 +8316,7 @@ export class Api<
|
|
|
8578
8316
|
* @tags AiCanonicalField
|
|
8579
8317
|
* @name UpdateAiCanonicalField
|
|
8580
8318
|
* @summary Update canonical field
|
|
8581
|
-
* @request PUT:/api/ai/
|
|
8319
|
+
* @request PUT:/api/ai/canonical-fields/{id}
|
|
8582
8320
|
* @secure
|
|
8583
8321
|
* @response `200` `AiCanonicalField` OK
|
|
8584
8322
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -8590,11 +8328,11 @@ export class Api<
|
|
|
8590
8328
|
params: RequestParams = {},
|
|
8591
8329
|
) =>
|
|
8592
8330
|
this.request<AiCanonicalField, ProblemDetails>({
|
|
8593
|
-
path: `/api/ai/
|
|
8331
|
+
path: `/api/ai/canonical-fields/${id}`,
|
|
8594
8332
|
method: "PUT",
|
|
8595
8333
|
body: data,
|
|
8596
8334
|
secure: true,
|
|
8597
|
-
type:
|
|
8335
|
+
type: ContentType.Json,
|
|
8598
8336
|
format: "json",
|
|
8599
8337
|
...params,
|
|
8600
8338
|
}),
|
|
@@ -8605,14 +8343,14 @@ export class Api<
|
|
|
8605
8343
|
* @tags AiCanonicalField
|
|
8606
8344
|
* @name DeleteAiCanonicalField
|
|
8607
8345
|
* @summary Delete canonical field
|
|
8608
|
-
* @request DELETE:/api/ai/
|
|
8346
|
+
* @request DELETE:/api/ai/canonical-fields/{id}
|
|
8609
8347
|
* @secure
|
|
8610
8348
|
* @response `204` `void` No Content
|
|
8611
8349
|
* @response `404` `ProblemDetails` Not Found
|
|
8612
8350
|
*/
|
|
8613
8351
|
deleteAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
8614
8352
|
this.request<void, ProblemDetails>({
|
|
8615
|
-
path: `/api/ai/
|
|
8353
|
+
path: `/api/ai/canonical-fields/${id}`,
|
|
8616
8354
|
method: "DELETE",
|
|
8617
8355
|
secure: true,
|
|
8618
8356
|
...params,
|
|
@@ -8624,14 +8362,14 @@ export class Api<
|
|
|
8624
8362
|
* @tags AiCanonicalField
|
|
8625
8363
|
* @name ToggleAiCanonicalField
|
|
8626
8364
|
* @summary Toggle canonical field active/inactive
|
|
8627
|
-
* @request PATCH:/api/ai/
|
|
8365
|
+
* @request PATCH:/api/ai/canonical-fields/{id}/toggle
|
|
8628
8366
|
* @secure
|
|
8629
8367
|
* @response `200` `AiCanonicalField` OK
|
|
8630
8368
|
* @response `404` `ProblemDetails` Not Found
|
|
8631
8369
|
*/
|
|
8632
8370
|
toggleAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
8633
8371
|
this.request<AiCanonicalField, ProblemDetails>({
|
|
8634
|
-
path: `/api/ai/
|
|
8372
|
+
path: `/api/ai/canonical-fields/${id}/toggle`,
|
|
8635
8373
|
method: "PATCH",
|
|
8636
8374
|
secure: true,
|
|
8637
8375
|
format: "json",
|
|
@@ -8644,7 +8382,7 @@ export class Api<
|
|
|
8644
8382
|
* @tags AiChat
|
|
8645
8383
|
* @name AiChat
|
|
8646
8384
|
* @summary Send AI chat message
|
|
8647
|
-
* @request POST:/api/ai/
|
|
8385
|
+
* @request POST:/api/ai/chats
|
|
8648
8386
|
* @secure
|
|
8649
8387
|
* @response `200` `AiChat` OK
|
|
8650
8388
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -8652,11 +8390,11 @@ export class Api<
|
|
|
8652
8390
|
*/
|
|
8653
8391
|
aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
|
|
8654
8392
|
this.request<AiChat, ProblemDetails>({
|
|
8655
|
-
path: `/api/ai/
|
|
8393
|
+
path: `/api/ai/chats`,
|
|
8656
8394
|
method: "POST",
|
|
8657
8395
|
body: data,
|
|
8658
8396
|
secure: true,
|
|
8659
|
-
type:
|
|
8397
|
+
type: ContentType.JsonPatch,
|
|
8660
8398
|
format: "json",
|
|
8661
8399
|
...params,
|
|
8662
8400
|
}),
|
|
@@ -8735,7 +8473,7 @@ export class Api<
|
|
|
8735
8473
|
method: "PATCH",
|
|
8736
8474
|
body: data,
|
|
8737
8475
|
secure: true,
|
|
8738
|
-
type:
|
|
8476
|
+
type: ContentType.JsonPatch,
|
|
8739
8477
|
format: "json",
|
|
8740
8478
|
...params,
|
|
8741
8479
|
}),
|
|
@@ -8835,7 +8573,7 @@ export class Api<
|
|
|
8835
8573
|
method: "PUT",
|
|
8836
8574
|
body: data,
|
|
8837
8575
|
secure: true,
|
|
8838
|
-
type:
|
|
8576
|
+
type: ContentType.Json,
|
|
8839
8577
|
format: "json",
|
|
8840
8578
|
...params,
|
|
8841
8579
|
}),
|
|
@@ -8846,7 +8584,7 @@ export class Api<
|
|
|
8846
8584
|
* @tags AiConversationAdmin
|
|
8847
8585
|
* @name GetAiAccountConversations
|
|
8848
8586
|
* @summary List AI conversations across the account, optionally filtered by user (admin supervision)
|
|
8849
|
-
* @request GET:/api/ai/
|
|
8587
|
+
* @request GET:/api/ai/conversations/all
|
|
8850
8588
|
* @secure
|
|
8851
8589
|
* @response `200` `AiConversationListItemPaginated` OK
|
|
8852
8590
|
*/
|
|
@@ -8864,7 +8602,7 @@ export class Api<
|
|
|
8864
8602
|
params: RequestParams = {},
|
|
8865
8603
|
) =>
|
|
8866
8604
|
this.request<AiConversationListItemPaginated, any>({
|
|
8867
|
-
path: `/api/ai/
|
|
8605
|
+
path: `/api/ai/conversations/all`,
|
|
8868
8606
|
method: "GET",
|
|
8869
8607
|
query: query,
|
|
8870
8608
|
secure: true,
|
|
@@ -8878,14 +8616,14 @@ export class Api<
|
|
|
8878
8616
|
* @tags AiConversationAdmin
|
|
8879
8617
|
* @name GetAiAccountConversation
|
|
8880
8618
|
* @summary Get an account conversation's detail (admin supervision)
|
|
8881
|
-
* @request GET:/api/ai/
|
|
8619
|
+
* @request GET:/api/ai/conversations/all/{id}
|
|
8882
8620
|
* @secure
|
|
8883
8621
|
* @response `200` `AiConversationDetail` OK
|
|
8884
8622
|
* @response `404` `ProblemDetails` Not Found
|
|
8885
8623
|
*/
|
|
8886
8624
|
getAiAccountConversation: (id: string, params: RequestParams = {}) =>
|
|
8887
8625
|
this.request<AiConversationDetail, ProblemDetails>({
|
|
8888
|
-
path: `/api/ai/
|
|
8626
|
+
path: `/api/ai/conversations/all/${id}`,
|
|
8889
8627
|
method: "GET",
|
|
8890
8628
|
secure: true,
|
|
8891
8629
|
format: "json",
|
|
@@ -8898,7 +8636,7 @@ export class Api<
|
|
|
8898
8636
|
* @tags AiConversationAdmin
|
|
8899
8637
|
* @name GetAiAccountConversationMessages
|
|
8900
8638
|
* @summary Get an account conversation's messages (admin supervision)
|
|
8901
|
-
* @request GET:/api/ai/
|
|
8639
|
+
* @request GET:/api/ai/conversations/all/{id}/messages
|
|
8902
8640
|
* @secure
|
|
8903
8641
|
* @response `200` `AiChatMessagePaginated` OK
|
|
8904
8642
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -8916,7 +8654,7 @@ export class Api<
|
|
|
8916
8654
|
params: RequestParams = {},
|
|
8917
8655
|
) =>
|
|
8918
8656
|
this.request<AiChatMessagePaginated, ProblemDetails>({
|
|
8919
|
-
path: `/api/ai/
|
|
8657
|
+
path: `/api/ai/conversations/all/${id}/messages`,
|
|
8920
8658
|
method: "GET",
|
|
8921
8659
|
query: query,
|
|
8922
8660
|
secure: true,
|
|
@@ -8930,13 +8668,13 @@ export class Api<
|
|
|
8930
8668
|
* @tags AiGuardrail
|
|
8931
8669
|
* @name GetAiGuardrails
|
|
8932
8670
|
* @summary Get all guardrails
|
|
8933
|
-
* @request GET:/api/ai/
|
|
8671
|
+
* @request GET:/api/ai/guardrails
|
|
8934
8672
|
* @secure
|
|
8935
8673
|
* @response `200` `(AiGuardrail)[]` OK
|
|
8936
8674
|
*/
|
|
8937
8675
|
getAiGuardrails: (params: RequestParams = {}) =>
|
|
8938
8676
|
this.request<AiGuardrail[], any>({
|
|
8939
|
-
path: `/api/ai/
|
|
8677
|
+
path: `/api/ai/guardrails`,
|
|
8940
8678
|
method: "GET",
|
|
8941
8679
|
secure: true,
|
|
8942
8680
|
format: "json",
|
|
@@ -8949,7 +8687,7 @@ export class Api<
|
|
|
8949
8687
|
* @tags AiGuardrail
|
|
8950
8688
|
* @name CreateAiGuardrail
|
|
8951
8689
|
* @summary Create custom guardrail
|
|
8952
|
-
* @request POST:/api/ai/
|
|
8690
|
+
* @request POST:/api/ai/guardrails
|
|
8953
8691
|
* @secure
|
|
8954
8692
|
* @response `201` `AiGuardrail` Created
|
|
8955
8693
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -8959,11 +8697,11 @@ export class Api<
|
|
|
8959
8697
|
params: RequestParams = {},
|
|
8960
8698
|
) =>
|
|
8961
8699
|
this.request<AiGuardrail, ProblemDetails>({
|
|
8962
|
-
path: `/api/ai/
|
|
8700
|
+
path: `/api/ai/guardrails`,
|
|
8963
8701
|
method: "POST",
|
|
8964
8702
|
body: data,
|
|
8965
8703
|
secure: true,
|
|
8966
|
-
type:
|
|
8704
|
+
type: ContentType.Json,
|
|
8967
8705
|
format: "json",
|
|
8968
8706
|
...params,
|
|
8969
8707
|
}),
|
|
@@ -8974,14 +8712,14 @@ export class Api<
|
|
|
8974
8712
|
* @tags AiGuardrail
|
|
8975
8713
|
* @name GetAiGuardrail
|
|
8976
8714
|
* @summary Get guardrail by ID
|
|
8977
|
-
* @request GET:/api/ai/
|
|
8715
|
+
* @request GET:/api/ai/guardrails/{id}
|
|
8978
8716
|
* @secure
|
|
8979
8717
|
* @response `200` `AiGuardrail` OK
|
|
8980
8718
|
* @response `404` `ProblemDetails` Not Found
|
|
8981
8719
|
*/
|
|
8982
8720
|
getAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
8983
8721
|
this.request<AiGuardrail, ProblemDetails>({
|
|
8984
|
-
path: `/api/ai/
|
|
8722
|
+
path: `/api/ai/guardrails/${id}`,
|
|
8985
8723
|
method: "GET",
|
|
8986
8724
|
secure: true,
|
|
8987
8725
|
format: "json",
|
|
@@ -8994,7 +8732,7 @@ export class Api<
|
|
|
8994
8732
|
* @tags AiGuardrail
|
|
8995
8733
|
* @name UpdateAiGuardrail
|
|
8996
8734
|
* @summary Update guardrail
|
|
8997
|
-
* @request PUT:/api/ai/
|
|
8735
|
+
* @request PUT:/api/ai/guardrails/{id}
|
|
8998
8736
|
* @secure
|
|
8999
8737
|
* @response `200` `AiGuardrail` OK
|
|
9000
8738
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -9006,11 +8744,11 @@ export class Api<
|
|
|
9006
8744
|
params: RequestParams = {},
|
|
9007
8745
|
) =>
|
|
9008
8746
|
this.request<AiGuardrail, ProblemDetails>({
|
|
9009
|
-
path: `/api/ai/
|
|
8747
|
+
path: `/api/ai/guardrails/${id}`,
|
|
9010
8748
|
method: "PUT",
|
|
9011
8749
|
body: data,
|
|
9012
8750
|
secure: true,
|
|
9013
|
-
type:
|
|
8751
|
+
type: ContentType.Json,
|
|
9014
8752
|
format: "json",
|
|
9015
8753
|
...params,
|
|
9016
8754
|
}),
|
|
@@ -9021,7 +8759,7 @@ export class Api<
|
|
|
9021
8759
|
* @tags AiGuardrail
|
|
9022
8760
|
* @name DeleteAiGuardrail
|
|
9023
8761
|
* @summary Delete guardrail
|
|
9024
|
-
* @request DELETE:/api/ai/
|
|
8762
|
+
* @request DELETE:/api/ai/guardrails/{id}
|
|
9025
8763
|
* @secure
|
|
9026
8764
|
* @response `204` `void` No Content
|
|
9027
8765
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -9029,7 +8767,7 @@ export class Api<
|
|
|
9029
8767
|
*/
|
|
9030
8768
|
deleteAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
9031
8769
|
this.request<void, ProblemDetails>({
|
|
9032
|
-
path: `/api/ai/
|
|
8770
|
+
path: `/api/ai/guardrails/${id}`,
|
|
9033
8771
|
method: "DELETE",
|
|
9034
8772
|
secure: true,
|
|
9035
8773
|
...params,
|
|
@@ -9041,14 +8779,14 @@ export class Api<
|
|
|
9041
8779
|
* @tags AiGuardrail
|
|
9042
8780
|
* @name ToggleAiGuardrail
|
|
9043
8781
|
* @summary Toggle guardrail enabled/disabled
|
|
9044
|
-
* @request PATCH:/api/ai/
|
|
8782
|
+
* @request PATCH:/api/ai/guardrails/{id}/toggle
|
|
9045
8783
|
* @secure
|
|
9046
8784
|
* @response `200` `AiGuardrail` OK
|
|
9047
8785
|
* @response `404` `ProblemDetails` Not Found
|
|
9048
8786
|
*/
|
|
9049
8787
|
toggleAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
9050
8788
|
this.request<AiGuardrail, ProblemDetails>({
|
|
9051
|
-
path: `/api/ai/
|
|
8789
|
+
path: `/api/ai/guardrails/${id}/toggle`,
|
|
9052
8790
|
method: "PATCH",
|
|
9053
8791
|
secure: true,
|
|
9054
8792
|
format: "json",
|
|
@@ -9059,163 +8797,20 @@ export class Api<
|
|
|
9059
8797
|
* No description
|
|
9060
8798
|
*
|
|
9061
8799
|
* @tags AiPrompt
|
|
9062
|
-
* @name
|
|
8800
|
+
* @name GetAiAvailablePrompts
|
|
9063
8801
|
* @summary Get available prompts for current user
|
|
9064
|
-
* @request GET:/api/ai/prompts
|
|
8802
|
+
* @request GET:/api/ai/prompts/available
|
|
9065
8803
|
* @secure
|
|
9066
8804
|
* @response `200` `(AiPromptSummary)[]` OK
|
|
9067
8805
|
*/
|
|
9068
|
-
|
|
8806
|
+
getAiAvailablePrompts: (
|
|
9069
8807
|
query?: {
|
|
9070
8808
|
documentType?: string;
|
|
9071
8809
|
},
|
|
9072
8810
|
params: RequestParams = {},
|
|
9073
8811
|
) =>
|
|
9074
8812
|
this.request<AiPromptSummary[], any>({
|
|
9075
|
-
path: `/api/ai/prompts`,
|
|
9076
|
-
method: "GET",
|
|
9077
|
-
query: query,
|
|
9078
|
-
secure: true,
|
|
9079
|
-
format: "json",
|
|
9080
|
-
...params,
|
|
9081
|
-
}),
|
|
9082
|
-
|
|
9083
|
-
/**
|
|
9084
|
-
* No description
|
|
9085
|
-
*
|
|
9086
|
-
* @tags AiSuperAdmin
|
|
9087
|
-
* @name GetAiAuditLogsCrossAccount
|
|
9088
|
-
* @summary Get AI audit logs for a specific account or across all accounts
|
|
9089
|
-
* @request GET:/api/ai/superadmin/audit-logs
|
|
9090
|
-
* @secure
|
|
9091
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
9092
|
-
*/
|
|
9093
|
-
getAiAuditLogsCrossAccount: (
|
|
9094
|
-
query?: {
|
|
9095
|
-
/** @format uuid */
|
|
9096
|
-
accountId?: string;
|
|
9097
|
-
eventType?: AiAuditEventType;
|
|
9098
|
-
/** @format uuid */
|
|
9099
|
-
requestId?: string;
|
|
9100
|
-
/** @format uuid */
|
|
9101
|
-
userId?: string;
|
|
9102
|
-
/** @format uuid */
|
|
9103
|
-
conversationId?: string;
|
|
9104
|
-
blockedOnly?: boolean;
|
|
9105
|
-
/** @format date-time */
|
|
9106
|
-
startDate?: string;
|
|
9107
|
-
/** @format date-time */
|
|
9108
|
-
endDate?: string;
|
|
9109
|
-
/** @format int32 */
|
|
9110
|
-
pageSize?: number;
|
|
9111
|
-
/** @format int32 */
|
|
9112
|
-
pageNumber?: number;
|
|
9113
|
-
sortBy?: string;
|
|
9114
|
-
sortDirection?: string;
|
|
9115
|
-
},
|
|
9116
|
-
params: RequestParams = {},
|
|
9117
|
-
) =>
|
|
9118
|
-
this.request<AiAuditLogPaginated, any>({
|
|
9119
|
-
path: `/api/ai/superadmin/audit-logs`,
|
|
9120
|
-
method: "GET",
|
|
9121
|
-
query: query,
|
|
9122
|
-
secure: true,
|
|
9123
|
-
format: "json",
|
|
9124
|
-
...params,
|
|
9125
|
-
}),
|
|
9126
|
-
|
|
9127
|
-
/**
|
|
9128
|
-
* No description
|
|
9129
|
-
*
|
|
9130
|
-
* @tags AiSuperAdmin
|
|
9131
|
-
* @name GetAiRequestLifecycleCrossAccount
|
|
9132
|
-
* @summary Get the full event lifecycle of a single AI request from any account
|
|
9133
|
-
* @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
|
|
9134
|
-
* @secure
|
|
9135
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
9136
|
-
*/
|
|
9137
|
-
getAiRequestLifecycleCrossAccount: (
|
|
9138
|
-
requestId: string,
|
|
9139
|
-
query?: {
|
|
9140
|
-
/** @format uuid */
|
|
9141
|
-
accountId?: string;
|
|
9142
|
-
},
|
|
9143
|
-
params: RequestParams = {},
|
|
9144
|
-
) =>
|
|
9145
|
-
this.request<AiAuditLog[], any>({
|
|
9146
|
-
path: `/api/ai/superadmin/audit-logs/request/${requestId}`,
|
|
9147
|
-
method: "GET",
|
|
9148
|
-
query: query,
|
|
9149
|
-
secure: true,
|
|
9150
|
-
format: "json",
|
|
9151
|
-
...params,
|
|
9152
|
-
}),
|
|
9153
|
-
|
|
9154
|
-
/**
|
|
9155
|
-
* No description
|
|
9156
|
-
*
|
|
9157
|
-
* @tags AiSuperAdmin
|
|
9158
|
-
* @name GetAiStatsCrossAccount
|
|
9159
|
-
* @summary Get AI stats for a specific account or platform-wide
|
|
9160
|
-
* @request GET:/api/ai/superadmin/stats
|
|
9161
|
-
* @secure
|
|
9162
|
-
* @response `200` `AiAdminStats` OK
|
|
9163
|
-
*/
|
|
9164
|
-
getAiStatsCrossAccount: (
|
|
9165
|
-
query?: {
|
|
9166
|
-
/** @format uuid */
|
|
9167
|
-
accountId?: string;
|
|
9168
|
-
/** @format date-time */
|
|
9169
|
-
startDate?: string;
|
|
9170
|
-
/** @format date-time */
|
|
9171
|
-
endDate?: string;
|
|
9172
|
-
},
|
|
9173
|
-
params: RequestParams = {},
|
|
9174
|
-
) =>
|
|
9175
|
-
this.request<AiAdminStats, any>({
|
|
9176
|
-
path: `/api/ai/superadmin/stats`,
|
|
9177
|
-
method: "GET",
|
|
9178
|
-
query: query,
|
|
9179
|
-
secure: true,
|
|
9180
|
-
format: "json",
|
|
9181
|
-
...params,
|
|
9182
|
-
}),
|
|
9183
|
-
|
|
9184
|
-
/**
|
|
9185
|
-
* No description
|
|
9186
|
-
*
|
|
9187
|
-
* @tags AiSuperAdmin
|
|
9188
|
-
* @name GetAiConfigChangesCrossAccount
|
|
9189
|
-
* @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
|
|
9190
|
-
* @request GET:/api/ai/superadmin/config-changes
|
|
9191
|
-
* @secure
|
|
9192
|
-
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
9193
|
-
*/
|
|
9194
|
-
getAiConfigChangesCrossAccount: (
|
|
9195
|
-
query?: {
|
|
9196
|
-
/** @format uuid */
|
|
9197
|
-
accountId?: string;
|
|
9198
|
-
entityType?: AiConfigEntityType;
|
|
9199
|
-
/** @format uuid */
|
|
9200
|
-
entityId?: string;
|
|
9201
|
-
/** @format uuid */
|
|
9202
|
-
actorUserId?: string;
|
|
9203
|
-
action?: AiConfigChangeAction;
|
|
9204
|
-
/** @format date-time */
|
|
9205
|
-
startDate?: string;
|
|
9206
|
-
/** @format date-time */
|
|
9207
|
-
endDate?: string;
|
|
9208
|
-
/** @format int32 */
|
|
9209
|
-
pageSize?: number;
|
|
9210
|
-
/** @format int32 */
|
|
9211
|
-
pageNumber?: number;
|
|
9212
|
-
sortBy?: string;
|
|
9213
|
-
sortDirection?: string;
|
|
9214
|
-
},
|
|
9215
|
-
params: RequestParams = {},
|
|
9216
|
-
) =>
|
|
9217
|
-
this.request<AiConfigChangeLogPaginated, any>({
|
|
9218
|
-
path: `/api/ai/superadmin/config-changes`,
|
|
8813
|
+
path: `/api/ai/prompts/available`,
|
|
9219
8814
|
method: "GET",
|
|
9220
8815
|
query: query,
|
|
9221
8816
|
secure: true,
|
|
@@ -9223,38 +8818,13 @@ export class Api<
|
|
|
9223
8818
|
...params,
|
|
9224
8819
|
}),
|
|
9225
8820
|
|
|
9226
|
-
/**
|
|
9227
|
-
* No description
|
|
9228
|
-
*
|
|
9229
|
-
* @tags AiSuperAdmin
|
|
9230
|
-
* @name SetAccountAiEnabled
|
|
9231
|
-
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
9232
|
-
* @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
|
|
9233
|
-
* @secure
|
|
9234
|
-
* @response `204` `void` No Content
|
|
9235
|
-
* @response `404` `ProblemDetails` Not Found
|
|
9236
|
-
*/
|
|
9237
|
-
setAccountAiEnabled: (
|
|
9238
|
-
accountId: string,
|
|
9239
|
-
data: SetAiEnabledRequest,
|
|
9240
|
-
params: RequestParams = {},
|
|
9241
|
-
) =>
|
|
9242
|
-
this.request<void, ProblemDetails>({
|
|
9243
|
-
path: `/api/ai/superadmin/accounts/${accountId}/ai-enabled`,
|
|
9244
|
-
method: "PUT",
|
|
9245
|
-
body: data,
|
|
9246
|
-
secure: true,
|
|
9247
|
-
type: "application/json",
|
|
9248
|
-
...params,
|
|
9249
|
-
}),
|
|
9250
|
-
|
|
9251
8821
|
/**
|
|
9252
8822
|
* No description
|
|
9253
8823
|
*
|
|
9254
8824
|
* @tags AiTokenUsageAdmin
|
|
9255
8825
|
* @name SearchAiAccountTokenUsage
|
|
9256
8826
|
* @summary Search accounts by current-month AI token usage and classification
|
|
9257
|
-
* @request POST:/api/ai/
|
|
8827
|
+
* @request POST:/api/ai/token-usage/search
|
|
9258
8828
|
* @secure
|
|
9259
8829
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
9260
8830
|
*/
|
|
@@ -9271,12 +8841,12 @@ export class Api<
|
|
|
9271
8841
|
params: RequestParams = {},
|
|
9272
8842
|
) =>
|
|
9273
8843
|
this.request<AiAccountUsageOverviewPaginated, any>({
|
|
9274
|
-
path: `/api/ai/
|
|
8844
|
+
path: `/api/ai/token-usage/search`,
|
|
9275
8845
|
method: "POST",
|
|
9276
8846
|
query: query,
|
|
9277
8847
|
body: data,
|
|
9278
8848
|
secure: true,
|
|
9279
|
-
type:
|
|
8849
|
+
type: ContentType.JsonPatch,
|
|
9280
8850
|
format: "json",
|
|
9281
8851
|
...params,
|
|
9282
8852
|
}),
|
|
@@ -9287,13 +8857,13 @@ export class Api<
|
|
|
9287
8857
|
* @tags AiTokenUsageAdmin
|
|
9288
8858
|
* @name GetAiAccountTokenUsage
|
|
9289
8859
|
* @summary Get an account's current-month AI token usage
|
|
9290
|
-
* @request GET:/api/ai/
|
|
8860
|
+
* @request GET:/api/ai/token-usage/{accountId}
|
|
9291
8861
|
* @secure
|
|
9292
8862
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
9293
8863
|
*/
|
|
9294
8864
|
getAiAccountTokenUsage: (accountId: string, params: RequestParams = {}) =>
|
|
9295
8865
|
this.request<AiTokenBudgetStatus, any>({
|
|
9296
|
-
path: `/api/ai/
|
|
8866
|
+
path: `/api/ai/token-usage/${accountId}`,
|
|
9297
8867
|
method: "GET",
|
|
9298
8868
|
secure: true,
|
|
9299
8869
|
format: "json",
|
|
@@ -9306,7 +8876,7 @@ export class Api<
|
|
|
9306
8876
|
* @tags AiTokenUsageAdmin
|
|
9307
8877
|
* @name GetAiAccountTokenUsageHistory
|
|
9308
8878
|
* @summary Get an account's monthly AI token usage history
|
|
9309
|
-
* @request GET:/api/ai/
|
|
8879
|
+
* @request GET:/api/ai/token-usage/{accountId}/history
|
|
9310
8880
|
* @secure
|
|
9311
8881
|
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
9312
8882
|
*/
|
|
@@ -9323,7 +8893,7 @@ export class Api<
|
|
|
9323
8893
|
params: RequestParams = {},
|
|
9324
8894
|
) =>
|
|
9325
8895
|
this.request<AiTokenUsageWindowPaginated, any>({
|
|
9326
|
-
path: `/api/ai/
|
|
8896
|
+
path: `/api/ai/token-usage/${accountId}/history`,
|
|
9327
8897
|
method: "GET",
|
|
9328
8898
|
query: query,
|
|
9329
8899
|
secure: true,
|
|
@@ -9337,7 +8907,7 @@ export class Api<
|
|
|
9337
8907
|
* @tags AiTokenUsageAdmin
|
|
9338
8908
|
* @name SetAiAccountTokenLimit
|
|
9339
8909
|
* @summary Set or raise an account's monthly AI token limit
|
|
9340
|
-
* @request PUT:/api/ai/
|
|
8910
|
+
* @request PUT:/api/ai/token-usage/{accountId}/limit
|
|
9341
8911
|
* @secure
|
|
9342
8912
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
9343
8913
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -9348,11 +8918,11 @@ export class Api<
|
|
|
9348
8918
|
params: RequestParams = {},
|
|
9349
8919
|
) =>
|
|
9350
8920
|
this.request<AiTokenBudgetStatus, ProblemDetails>({
|
|
9351
|
-
path: `/api/ai/
|
|
8921
|
+
path: `/api/ai/token-usage/${accountId}/limit`,
|
|
9352
8922
|
method: "PUT",
|
|
9353
8923
|
body: data,
|
|
9354
8924
|
secure: true,
|
|
9355
|
-
type:
|
|
8925
|
+
type: ContentType.Json,
|
|
9356
8926
|
format: "json",
|
|
9357
8927
|
...params,
|
|
9358
8928
|
}),
|
|
@@ -9363,13 +8933,13 @@ export class Api<
|
|
|
9363
8933
|
* @tags AiUrlSource
|
|
9364
8934
|
* @name GetAiUrlSources
|
|
9365
8935
|
* @summary Get all URL sources
|
|
9366
|
-
* @request GET:/api/ai/
|
|
8936
|
+
* @request GET:/api/ai/url-sources
|
|
9367
8937
|
* @secure
|
|
9368
8938
|
* @response `200` `(AiUrlSource)[]` OK
|
|
9369
8939
|
*/
|
|
9370
8940
|
getAiUrlSources: (params: RequestParams = {}) =>
|
|
9371
8941
|
this.request<AiUrlSource[], any>({
|
|
9372
|
-
path: `/api/ai/
|
|
8942
|
+
path: `/api/ai/url-sources`,
|
|
9373
8943
|
method: "GET",
|
|
9374
8944
|
secure: true,
|
|
9375
8945
|
format: "json",
|
|
@@ -9382,7 +8952,7 @@ export class Api<
|
|
|
9382
8952
|
* @tags AiUrlSource
|
|
9383
8953
|
* @name CreateAiUrlSource
|
|
9384
8954
|
* @summary Create URL source
|
|
9385
|
-
* @request POST:/api/ai/
|
|
8955
|
+
* @request POST:/api/ai/url-sources
|
|
9386
8956
|
* @secure
|
|
9387
8957
|
* @response `201` `AiUrlSource` Created
|
|
9388
8958
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -9393,11 +8963,11 @@ export class Api<
|
|
|
9393
8963
|
params: RequestParams = {},
|
|
9394
8964
|
) =>
|
|
9395
8965
|
this.request<AiUrlSource, ProblemDetails>({
|
|
9396
|
-
path: `/api/ai/
|
|
8966
|
+
path: `/api/ai/url-sources`,
|
|
9397
8967
|
method: "POST",
|
|
9398
8968
|
body: data,
|
|
9399
8969
|
secure: true,
|
|
9400
|
-
type:
|
|
8970
|
+
type: ContentType.Json,
|
|
9401
8971
|
format: "json",
|
|
9402
8972
|
...params,
|
|
9403
8973
|
}),
|
|
@@ -9408,14 +8978,14 @@ export class Api<
|
|
|
9408
8978
|
* @tags AiUrlSource
|
|
9409
8979
|
* @name GetAiUrlSource
|
|
9410
8980
|
* @summary Get URL source by ID
|
|
9411
|
-
* @request GET:/api/ai/
|
|
8981
|
+
* @request GET:/api/ai/url-sources/{id}
|
|
9412
8982
|
* @secure
|
|
9413
8983
|
* @response `200` `AiUrlSource` OK
|
|
9414
8984
|
* @response `404` `ProblemDetails` Not Found
|
|
9415
8985
|
*/
|
|
9416
8986
|
getAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
9417
8987
|
this.request<AiUrlSource, ProblemDetails>({
|
|
9418
|
-
path: `/api/ai/
|
|
8988
|
+
path: `/api/ai/url-sources/${id}`,
|
|
9419
8989
|
method: "GET",
|
|
9420
8990
|
secure: true,
|
|
9421
8991
|
format: "json",
|
|
@@ -9428,7 +8998,7 @@ export class Api<
|
|
|
9428
8998
|
* @tags AiUrlSource
|
|
9429
8999
|
* @name UpdateAiUrlSource
|
|
9430
9000
|
* @summary Update URL source
|
|
9431
|
-
* @request PUT:/api/ai/
|
|
9001
|
+
* @request PUT:/api/ai/url-sources/{id}
|
|
9432
9002
|
* @secure
|
|
9433
9003
|
* @response `200` `AiUrlSource` OK
|
|
9434
9004
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -9441,11 +9011,11 @@ export class Api<
|
|
|
9441
9011
|
params: RequestParams = {},
|
|
9442
9012
|
) =>
|
|
9443
9013
|
this.request<AiUrlSource, ProblemDetails>({
|
|
9444
|
-
path: `/api/ai/
|
|
9014
|
+
path: `/api/ai/url-sources/${id}`,
|
|
9445
9015
|
method: "PUT",
|
|
9446
9016
|
body: data,
|
|
9447
9017
|
secure: true,
|
|
9448
|
-
type:
|
|
9018
|
+
type: ContentType.Json,
|
|
9449
9019
|
format: "json",
|
|
9450
9020
|
...params,
|
|
9451
9021
|
}),
|
|
@@ -9456,14 +9026,14 @@ export class Api<
|
|
|
9456
9026
|
* @tags AiUrlSource
|
|
9457
9027
|
* @name DeleteAiUrlSource
|
|
9458
9028
|
* @summary Delete URL source
|
|
9459
|
-
* @request DELETE:/api/ai/
|
|
9029
|
+
* @request DELETE:/api/ai/url-sources/{id}
|
|
9460
9030
|
* @secure
|
|
9461
9031
|
* @response `204` `void` No Content
|
|
9462
9032
|
* @response `404` `ProblemDetails` Not Found
|
|
9463
9033
|
*/
|
|
9464
9034
|
deleteAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
9465
9035
|
this.request<void, ProblemDetails>({
|
|
9466
|
-
path: `/api/ai/
|
|
9036
|
+
path: `/api/ai/url-sources/${id}`,
|
|
9467
9037
|
method: "DELETE",
|
|
9468
9038
|
secure: true,
|
|
9469
9039
|
...params,
|
|
@@ -9475,14 +9045,14 @@ export class Api<
|
|
|
9475
9045
|
* @tags AiUrlSource
|
|
9476
9046
|
* @name ToggleAiUrlSource
|
|
9477
9047
|
* @summary Toggle URL source active/inactive
|
|
9478
|
-
* @request PATCH:/api/ai/
|
|
9048
|
+
* @request PATCH:/api/ai/url-sources/{id}/toggle
|
|
9479
9049
|
* @secure
|
|
9480
9050
|
* @response `200` `AiUrlSource` OK
|
|
9481
9051
|
* @response `404` `ProblemDetails` Not Found
|
|
9482
9052
|
*/
|
|
9483
9053
|
toggleAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
9484
9054
|
this.request<AiUrlSource, ProblemDetails>({
|
|
9485
|
-
path: `/api/ai/
|
|
9055
|
+
path: `/api/ai/url-sources/${id}/toggle`,
|
|
9486
9056
|
method: "PATCH",
|
|
9487
9057
|
secure: true,
|
|
9488
9058
|
format: "json",
|
|
@@ -9566,7 +9136,7 @@ export class Api<
|
|
|
9566
9136
|
query: query,
|
|
9567
9137
|
body: data,
|
|
9568
9138
|
secure: true,
|
|
9569
|
-
type:
|
|
9139
|
+
type: ContentType.JsonPatch,
|
|
9570
9140
|
format: "json",
|
|
9571
9141
|
...params,
|
|
9572
9142
|
}),
|
|
@@ -9631,7 +9201,7 @@ export class Api<
|
|
|
9631
9201
|
method: "POST",
|
|
9632
9202
|
body: data,
|
|
9633
9203
|
secure: true,
|
|
9634
|
-
type:
|
|
9204
|
+
type: ContentType.Json,
|
|
9635
9205
|
format: "json",
|
|
9636
9206
|
...params,
|
|
9637
9207
|
}),
|
|
@@ -9653,7 +9223,7 @@ export class Api<
|
|
|
9653
9223
|
method: "POST",
|
|
9654
9224
|
body: data,
|
|
9655
9225
|
secure: true,
|
|
9656
|
-
type:
|
|
9226
|
+
type: ContentType.Json,
|
|
9657
9227
|
format: "json",
|
|
9658
9228
|
...params,
|
|
9659
9229
|
}),
|
|
@@ -9678,7 +9248,7 @@ export class Api<
|
|
|
9678
9248
|
method: "POST",
|
|
9679
9249
|
body: data,
|
|
9680
9250
|
secure: true,
|
|
9681
|
-
type:
|
|
9251
|
+
type: ContentType.Json,
|
|
9682
9252
|
format: "json",
|
|
9683
9253
|
...params,
|
|
9684
9254
|
}),
|
|
@@ -9700,7 +9270,7 @@ export class Api<
|
|
|
9700
9270
|
method: "POST",
|
|
9701
9271
|
body: data,
|
|
9702
9272
|
secure: true,
|
|
9703
|
-
type:
|
|
9273
|
+
type: ContentType.Json,
|
|
9704
9274
|
format: "json",
|
|
9705
9275
|
...params,
|
|
9706
9276
|
}),
|
|
@@ -9722,7 +9292,7 @@ export class Api<
|
|
|
9722
9292
|
method: "POST",
|
|
9723
9293
|
body: data,
|
|
9724
9294
|
secure: true,
|
|
9725
|
-
type:
|
|
9295
|
+
type: ContentType.Json,
|
|
9726
9296
|
format: "json",
|
|
9727
9297
|
...params,
|
|
9728
9298
|
}),
|
|
@@ -9795,7 +9365,7 @@ export class Api<
|
|
|
9795
9365
|
method: "POST",
|
|
9796
9366
|
body: data,
|
|
9797
9367
|
secure: true,
|
|
9798
|
-
type:
|
|
9368
|
+
type: ContentType.Json,
|
|
9799
9369
|
format: "json",
|
|
9800
9370
|
...params,
|
|
9801
9371
|
}),
|
|
@@ -9828,7 +9398,7 @@ export class Api<
|
|
|
9828
9398
|
query: query,
|
|
9829
9399
|
body: data,
|
|
9830
9400
|
secure: true,
|
|
9831
|
-
type:
|
|
9401
|
+
type: ContentType.Json,
|
|
9832
9402
|
format: "json",
|
|
9833
9403
|
...params,
|
|
9834
9404
|
}),
|
|
@@ -9873,7 +9443,7 @@ export class Api<
|
|
|
9873
9443
|
method: "PUT",
|
|
9874
9444
|
body: data,
|
|
9875
9445
|
secure: true,
|
|
9876
|
-
type:
|
|
9446
|
+
type: ContentType.Json,
|
|
9877
9447
|
format: "json",
|
|
9878
9448
|
...params,
|
|
9879
9449
|
}),
|
|
@@ -9936,7 +9506,7 @@ export class Api<
|
|
|
9936
9506
|
method: "POST",
|
|
9937
9507
|
body: data,
|
|
9938
9508
|
secure: true,
|
|
9939
|
-
type:
|
|
9509
|
+
type: ContentType.Json,
|
|
9940
9510
|
format: "json",
|
|
9941
9511
|
...params,
|
|
9942
9512
|
}),
|
|
@@ -9990,7 +9560,7 @@ export class Api<
|
|
|
9990
9560
|
query: query,
|
|
9991
9561
|
body: data,
|
|
9992
9562
|
secure: true,
|
|
9993
|
-
type:
|
|
9563
|
+
type: ContentType.Json,
|
|
9994
9564
|
format: "json",
|
|
9995
9565
|
...params,
|
|
9996
9566
|
}),
|
|
@@ -10059,7 +9629,7 @@ export class Api<
|
|
|
10059
9629
|
method: "POST",
|
|
10060
9630
|
body: data,
|
|
10061
9631
|
secure: true,
|
|
10062
|
-
type:
|
|
9632
|
+
type: ContentType.Json,
|
|
10063
9633
|
format: "json",
|
|
10064
9634
|
...params,
|
|
10065
9635
|
}),
|
|
@@ -10104,7 +9674,7 @@ export class Api<
|
|
|
10104
9674
|
method: "PUT",
|
|
10105
9675
|
body: data,
|
|
10106
9676
|
secure: true,
|
|
10107
|
-
type:
|
|
9677
|
+
type: ContentType.Json,
|
|
10108
9678
|
format: "json",
|
|
10109
9679
|
...params,
|
|
10110
9680
|
}),
|
|
@@ -10165,7 +9735,7 @@ export class Api<
|
|
|
10165
9735
|
method: "POST",
|
|
10166
9736
|
body: data,
|
|
10167
9737
|
secure: true,
|
|
10168
|
-
type:
|
|
9738
|
+
type: ContentType.Json,
|
|
10169
9739
|
format: "json",
|
|
10170
9740
|
...params,
|
|
10171
9741
|
}),
|
|
@@ -10259,7 +9829,7 @@ export class Api<
|
|
|
10259
9829
|
method: "POST",
|
|
10260
9830
|
body: data,
|
|
10261
9831
|
secure: true,
|
|
10262
|
-
type:
|
|
9832
|
+
type: ContentType.Json,
|
|
10263
9833
|
format: "json",
|
|
10264
9834
|
...params,
|
|
10265
9835
|
}),
|
|
@@ -10292,7 +9862,7 @@ export class Api<
|
|
|
10292
9862
|
query: query,
|
|
10293
9863
|
body: data,
|
|
10294
9864
|
secure: true,
|
|
10295
|
-
type:
|
|
9865
|
+
type: ContentType.Json,
|
|
10296
9866
|
format: "json",
|
|
10297
9867
|
...params,
|
|
10298
9868
|
}),
|
|
@@ -10337,7 +9907,7 @@ export class Api<
|
|
|
10337
9907
|
method: "PUT",
|
|
10338
9908
|
body: data,
|
|
10339
9909
|
secure: true,
|
|
10340
|
-
type:
|
|
9910
|
+
type: ContentType.Json,
|
|
10341
9911
|
format: "json",
|
|
10342
9912
|
...params,
|
|
10343
9913
|
}),
|
|
@@ -10399,7 +9969,7 @@ export class Api<
|
|
|
10399
9969
|
method: "POST",
|
|
10400
9970
|
body: data,
|
|
10401
9971
|
secure: true,
|
|
10402
|
-
type:
|
|
9972
|
+
type: ContentType.Json,
|
|
10403
9973
|
format: "json",
|
|
10404
9974
|
...params,
|
|
10405
9975
|
}),
|
|
@@ -10453,7 +10023,7 @@ export class Api<
|
|
|
10453
10023
|
query: query,
|
|
10454
10024
|
body: data,
|
|
10455
10025
|
secure: true,
|
|
10456
|
-
type:
|
|
10026
|
+
type: ContentType.Json,
|
|
10457
10027
|
format: "json",
|
|
10458
10028
|
...params,
|
|
10459
10029
|
}),
|
|
@@ -10508,7 +10078,7 @@ export class Api<
|
|
|
10508
10078
|
*/
|
|
10509
10079
|
getCustomFieldDefinitions: (
|
|
10510
10080
|
query?: {
|
|
10511
|
-
entityType?:
|
|
10081
|
+
entityType?: "Loan";
|
|
10512
10082
|
},
|
|
10513
10083
|
params: RequestParams = {},
|
|
10514
10084
|
) =>
|
|
@@ -10542,7 +10112,7 @@ export class Api<
|
|
|
10542
10112
|
method: "POST",
|
|
10543
10113
|
body: data,
|
|
10544
10114
|
secure: true,
|
|
10545
|
-
type:
|
|
10115
|
+
type: ContentType.Json,
|
|
10546
10116
|
format: "json",
|
|
10547
10117
|
...params,
|
|
10548
10118
|
}),
|
|
@@ -10591,7 +10161,7 @@ export class Api<
|
|
|
10591
10161
|
method: "PUT",
|
|
10592
10162
|
body: data,
|
|
10593
10163
|
secure: true,
|
|
10594
|
-
type:
|
|
10164
|
+
type: ContentType.Json,
|
|
10595
10165
|
format: "json",
|
|
10596
10166
|
...params,
|
|
10597
10167
|
}),
|
|
@@ -10725,7 +10295,7 @@ export class Api<
|
|
|
10725
10295
|
method: "PUT",
|
|
10726
10296
|
body: data,
|
|
10727
10297
|
secure: true,
|
|
10728
|
-
type:
|
|
10298
|
+
type: ContentType.Json,
|
|
10729
10299
|
format: "json",
|
|
10730
10300
|
...params,
|
|
10731
10301
|
}),
|
|
@@ -10844,7 +10414,7 @@ export class Api<
|
|
|
10844
10414
|
method: "POST",
|
|
10845
10415
|
body: data,
|
|
10846
10416
|
secure: true,
|
|
10847
|
-
type:
|
|
10417
|
+
type: ContentType.Json,
|
|
10848
10418
|
format: "json",
|
|
10849
10419
|
...params,
|
|
10850
10420
|
}),
|
|
@@ -10921,7 +10491,7 @@ export class Api<
|
|
|
10921
10491
|
method: "PUT",
|
|
10922
10492
|
body: data,
|
|
10923
10493
|
secure: true,
|
|
10924
|
-
type:
|
|
10494
|
+
type: ContentType.Json,
|
|
10925
10495
|
format: "json",
|
|
10926
10496
|
...params,
|
|
10927
10497
|
}),
|
|
@@ -11008,7 +10578,7 @@ export class Api<
|
|
|
11008
10578
|
method: "POST",
|
|
11009
10579
|
body: data,
|
|
11010
10580
|
secure: true,
|
|
11011
|
-
type:
|
|
10581
|
+
type: ContentType.Json,
|
|
11012
10582
|
format: "json",
|
|
11013
10583
|
...params,
|
|
11014
10584
|
}),
|
|
@@ -11057,7 +10627,7 @@ export class Api<
|
|
|
11057
10627
|
method: "PUT",
|
|
11058
10628
|
body: data,
|
|
11059
10629
|
secure: true,
|
|
11060
|
-
type:
|
|
10630
|
+
type: ContentType.Json,
|
|
11061
10631
|
format: "json",
|
|
11062
10632
|
...params,
|
|
11063
10633
|
}),
|
|
@@ -11132,7 +10702,7 @@ export class Api<
|
|
|
11132
10702
|
method: "POST",
|
|
11133
10703
|
body: data,
|
|
11134
10704
|
secure: true,
|
|
11135
|
-
type:
|
|
10705
|
+
type: ContentType.Json,
|
|
11136
10706
|
format: "json",
|
|
11137
10707
|
...params,
|
|
11138
10708
|
}),
|
|
@@ -11349,7 +10919,7 @@ export class Api<
|
|
|
11349
10919
|
method: "POST",
|
|
11350
10920
|
body: data,
|
|
11351
10921
|
secure: true,
|
|
11352
|
-
type:
|
|
10922
|
+
type: ContentType.Json,
|
|
11353
10923
|
format: "json",
|
|
11354
10924
|
...params,
|
|
11355
10925
|
}),
|
|
@@ -11412,7 +10982,7 @@ export class Api<
|
|
|
11412
10982
|
method: "POST",
|
|
11413
10983
|
body: data,
|
|
11414
10984
|
secure: true,
|
|
11415
|
-
type:
|
|
10985
|
+
type: ContentType.FormData,
|
|
11416
10986
|
format: "json",
|
|
11417
10987
|
...params,
|
|
11418
10988
|
}),
|
|
@@ -11453,7 +11023,7 @@ export class Api<
|
|
|
11453
11023
|
method: "PUT",
|
|
11454
11024
|
body: data,
|
|
11455
11025
|
secure: true,
|
|
11456
|
-
type:
|
|
11026
|
+
type: ContentType.Json,
|
|
11457
11027
|
format: "json",
|
|
11458
11028
|
...params,
|
|
11459
11029
|
}),
|
|
@@ -11504,7 +11074,7 @@ export class Api<
|
|
|
11504
11074
|
query: query,
|
|
11505
11075
|
body: data,
|
|
11506
11076
|
secure: true,
|
|
11507
|
-
type:
|
|
11077
|
+
type: ContentType.Json,
|
|
11508
11078
|
format: "json",
|
|
11509
11079
|
...params,
|
|
11510
11080
|
}),
|
|
@@ -11551,7 +11121,7 @@ export class Api<
|
|
|
11551
11121
|
method: "POST",
|
|
11552
11122
|
body: data,
|
|
11553
11123
|
secure: true,
|
|
11554
|
-
type:
|
|
11124
|
+
type: ContentType.Json,
|
|
11555
11125
|
format: "json",
|
|
11556
11126
|
...params,
|
|
11557
11127
|
}),
|
|
@@ -11592,7 +11162,7 @@ export class Api<
|
|
|
11592
11162
|
method: "PUT",
|
|
11593
11163
|
body: data,
|
|
11594
11164
|
secure: true,
|
|
11595
|
-
type:
|
|
11165
|
+
type: ContentType.Json,
|
|
11596
11166
|
format: "json",
|
|
11597
11167
|
...params,
|
|
11598
11168
|
}),
|
|
@@ -11658,7 +11228,7 @@ export class Api<
|
|
|
11658
11228
|
method: "POST",
|
|
11659
11229
|
body: data,
|
|
11660
11230
|
secure: true,
|
|
11661
|
-
type:
|
|
11231
|
+
type: ContentType.FormData,
|
|
11662
11232
|
format: "json",
|
|
11663
11233
|
...params,
|
|
11664
11234
|
}),
|
|
@@ -11766,7 +11336,7 @@ export class Api<
|
|
|
11766
11336
|
query: query,
|
|
11767
11337
|
body: data,
|
|
11768
11338
|
secure: true,
|
|
11769
|
-
type:
|
|
11339
|
+
type: ContentType.Json,
|
|
11770
11340
|
format: "json",
|
|
11771
11341
|
...params,
|
|
11772
11342
|
}),
|
|
@@ -11810,7 +11380,7 @@ export class Api<
|
|
|
11810
11380
|
method: "PUT",
|
|
11811
11381
|
body: data,
|
|
11812
11382
|
secure: true,
|
|
11813
|
-
type:
|
|
11383
|
+
type: ContentType.Json,
|
|
11814
11384
|
format: "json",
|
|
11815
11385
|
...params,
|
|
11816
11386
|
}),
|
|
@@ -11861,7 +11431,7 @@ export class Api<
|
|
|
11861
11431
|
query: query,
|
|
11862
11432
|
body: data,
|
|
11863
11433
|
secure: true,
|
|
11864
|
-
type:
|
|
11434
|
+
type: ContentType.Json,
|
|
11865
11435
|
format: "json",
|
|
11866
11436
|
...params,
|
|
11867
11437
|
}),
|
|
@@ -11905,7 +11475,7 @@ export class Api<
|
|
|
11905
11475
|
method: "POST",
|
|
11906
11476
|
body: data,
|
|
11907
11477
|
secure: true,
|
|
11908
|
-
type:
|
|
11478
|
+
type: ContentType.Json,
|
|
11909
11479
|
format: "json",
|
|
11910
11480
|
...params,
|
|
11911
11481
|
}),
|
|
@@ -11950,7 +11520,7 @@ export class Api<
|
|
|
11950
11520
|
method: "PUT",
|
|
11951
11521
|
body: data,
|
|
11952
11522
|
secure: true,
|
|
11953
|
-
type:
|
|
11523
|
+
type: ContentType.Json,
|
|
11954
11524
|
format: "json",
|
|
11955
11525
|
...params,
|
|
11956
11526
|
}),
|
|
@@ -12038,7 +11608,7 @@ export class Api<
|
|
|
12038
11608
|
method: "PATCH",
|
|
12039
11609
|
body: data,
|
|
12040
11610
|
secure: true,
|
|
12041
|
-
type:
|
|
11611
|
+
type: ContentType.JsonPatch,
|
|
12042
11612
|
format: "json",
|
|
12043
11613
|
...params,
|
|
12044
11614
|
}),
|
|
@@ -12059,7 +11629,7 @@ export class Api<
|
|
|
12059
11629
|
method: "POST",
|
|
12060
11630
|
body: data,
|
|
12061
11631
|
secure: true,
|
|
12062
|
-
type:
|
|
11632
|
+
type: ContentType.Json,
|
|
12063
11633
|
format: "json",
|
|
12064
11634
|
...params,
|
|
12065
11635
|
}),
|
|
@@ -12091,7 +11661,7 @@ export class Api<
|
|
|
12091
11661
|
query: query,
|
|
12092
11662
|
body: data,
|
|
12093
11663
|
secure: true,
|
|
12094
|
-
type:
|
|
11664
|
+
type: ContentType.Json,
|
|
12095
11665
|
format: "json",
|
|
12096
11666
|
...params,
|
|
12097
11667
|
}),
|
|
@@ -12122,7 +11692,7 @@ export class Api<
|
|
|
12122
11692
|
query: query,
|
|
12123
11693
|
body: data,
|
|
12124
11694
|
secure: true,
|
|
12125
|
-
type:
|
|
11695
|
+
type: ContentType.Json,
|
|
12126
11696
|
format: "json",
|
|
12127
11697
|
...params,
|
|
12128
11698
|
}),
|
|
@@ -12148,7 +11718,7 @@ export class Api<
|
|
|
12148
11718
|
method: "PATCH",
|
|
12149
11719
|
body: data,
|
|
12150
11720
|
secure: true,
|
|
12151
|
-
type:
|
|
11721
|
+
type: ContentType.JsonPatch,
|
|
12152
11722
|
format: "json",
|
|
12153
11723
|
...params,
|
|
12154
11724
|
}),
|
|
@@ -12175,7 +11745,7 @@ export class Api<
|
|
|
12175
11745
|
method: "PATCH",
|
|
12176
11746
|
body: data,
|
|
12177
11747
|
secure: true,
|
|
12178
|
-
type:
|
|
11748
|
+
type: ContentType.JsonPatch,
|
|
12179
11749
|
format: "json",
|
|
12180
11750
|
...params,
|
|
12181
11751
|
}),
|
|
@@ -12367,7 +11937,7 @@ export class Api<
|
|
|
12367
11937
|
method: "POST",
|
|
12368
11938
|
body: data,
|
|
12369
11939
|
secure: true,
|
|
12370
|
-
type:
|
|
11940
|
+
type: ContentType.FormData,
|
|
12371
11941
|
format: "json",
|
|
12372
11942
|
...params,
|
|
12373
11943
|
}),
|
|
@@ -12392,7 +11962,7 @@ export class Api<
|
|
|
12392
11962
|
method: "PATCH",
|
|
12393
11963
|
body: data,
|
|
12394
11964
|
secure: true,
|
|
12395
|
-
type:
|
|
11965
|
+
type: ContentType.JsonPatch,
|
|
12396
11966
|
format: "json",
|
|
12397
11967
|
...params,
|
|
12398
11968
|
}),
|
|
@@ -12447,7 +12017,7 @@ export class Api<
|
|
|
12447
12017
|
method: "POST",
|
|
12448
12018
|
body: data,
|
|
12449
12019
|
secure: true,
|
|
12450
|
-
type:
|
|
12020
|
+
type: ContentType.FormData,
|
|
12451
12021
|
format: "json",
|
|
12452
12022
|
...params,
|
|
12453
12023
|
}),
|
|
@@ -12472,7 +12042,7 @@ export class Api<
|
|
|
12472
12042
|
method: "PATCH",
|
|
12473
12043
|
body: data,
|
|
12474
12044
|
secure: true,
|
|
12475
|
-
type:
|
|
12045
|
+
type: ContentType.JsonPatch,
|
|
12476
12046
|
format: "json",
|
|
12477
12047
|
...params,
|
|
12478
12048
|
}),
|
|
@@ -12546,7 +12116,7 @@ export class Api<
|
|
|
12546
12116
|
method: "POST",
|
|
12547
12117
|
body: data,
|
|
12548
12118
|
secure: true,
|
|
12549
|
-
type:
|
|
12119
|
+
type: ContentType.Json,
|
|
12550
12120
|
format: "json",
|
|
12551
12121
|
...params,
|
|
12552
12122
|
}),
|
|
@@ -12609,7 +12179,7 @@ export class Api<
|
|
|
12609
12179
|
method: "PUT",
|
|
12610
12180
|
body: data,
|
|
12611
12181
|
secure: true,
|
|
12612
|
-
type:
|
|
12182
|
+
type: ContentType.Json,
|
|
12613
12183
|
format: "json",
|
|
12614
12184
|
...params,
|
|
12615
12185
|
}),
|
|
@@ -12660,7 +12230,7 @@ export class Api<
|
|
|
12660
12230
|
query: query,
|
|
12661
12231
|
body: data,
|
|
12662
12232
|
secure: true,
|
|
12663
|
-
type:
|
|
12233
|
+
type: ContentType.Json,
|
|
12664
12234
|
format: "json",
|
|
12665
12235
|
...params,
|
|
12666
12236
|
}),
|
|
@@ -12688,7 +12258,7 @@ export class Api<
|
|
|
12688
12258
|
method: "PUT",
|
|
12689
12259
|
body: data,
|
|
12690
12260
|
secure: true,
|
|
12691
|
-
type:
|
|
12261
|
+
type: ContentType.FormData,
|
|
12692
12262
|
format: "json",
|
|
12693
12263
|
...params,
|
|
12694
12264
|
}),
|
|
@@ -12771,7 +12341,7 @@ export class Api<
|
|
|
12771
12341
|
method: "POST",
|
|
12772
12342
|
body: data,
|
|
12773
12343
|
secure: true,
|
|
12774
|
-
type:
|
|
12344
|
+
type: ContentType.Json,
|
|
12775
12345
|
format: "json",
|
|
12776
12346
|
...params,
|
|
12777
12347
|
}),
|
|
@@ -12818,7 +12388,7 @@ export class Api<
|
|
|
12818
12388
|
method: "POST",
|
|
12819
12389
|
body: data,
|
|
12820
12390
|
secure: true,
|
|
12821
|
-
type:
|
|
12391
|
+
type: ContentType.Json,
|
|
12822
12392
|
format: "json",
|
|
12823
12393
|
...params,
|
|
12824
12394
|
}),
|
|
@@ -12866,7 +12436,7 @@ export class Api<
|
|
|
12866
12436
|
method: "POST",
|
|
12867
12437
|
body: data,
|
|
12868
12438
|
secure: true,
|
|
12869
|
-
type:
|
|
12439
|
+
type: ContentType.Json,
|
|
12870
12440
|
...params,
|
|
12871
12441
|
}),
|
|
12872
12442
|
|
|
@@ -12931,7 +12501,7 @@ export class Api<
|
|
|
12931
12501
|
method: "PUT",
|
|
12932
12502
|
body: data,
|
|
12933
12503
|
secure: true,
|
|
12934
|
-
type:
|
|
12504
|
+
type: ContentType.Json,
|
|
12935
12505
|
...params,
|
|
12936
12506
|
}),
|
|
12937
12507
|
|
|
@@ -12959,7 +12529,7 @@ export class Api<
|
|
|
12959
12529
|
method: "PUT",
|
|
12960
12530
|
body: data,
|
|
12961
12531
|
secure: true,
|
|
12962
|
-
type:
|
|
12532
|
+
type: ContentType.Json,
|
|
12963
12533
|
...params,
|
|
12964
12534
|
}),
|
|
12965
12535
|
|
|
@@ -13025,7 +12595,7 @@ export class Api<
|
|
|
13025
12595
|
method: "POST",
|
|
13026
12596
|
body: data,
|
|
13027
12597
|
secure: true,
|
|
13028
|
-
type:
|
|
12598
|
+
type: ContentType.Json,
|
|
13029
12599
|
format: "json",
|
|
13030
12600
|
...params,
|
|
13031
12601
|
}),
|
|
@@ -13070,7 +12640,7 @@ export class Api<
|
|
|
13070
12640
|
method: "POST",
|
|
13071
12641
|
body: data,
|
|
13072
12642
|
secure: true,
|
|
13073
|
-
type:
|
|
12643
|
+
type: ContentType.Json,
|
|
13074
12644
|
format: "json",
|
|
13075
12645
|
...params,
|
|
13076
12646
|
}),
|
|
@@ -13119,7 +12689,7 @@ export class Api<
|
|
|
13119
12689
|
method: "PUT",
|
|
13120
12690
|
body: data,
|
|
13121
12691
|
secure: true,
|
|
13122
|
-
type:
|
|
12692
|
+
type: ContentType.Json,
|
|
13123
12693
|
format: "json",
|
|
13124
12694
|
...params,
|
|
13125
12695
|
}),
|
|
@@ -13254,7 +12824,7 @@ export class Api<
|
|
|
13254
12824
|
method: "POST",
|
|
13255
12825
|
body: data,
|
|
13256
12826
|
secure: true,
|
|
13257
|
-
type:
|
|
12827
|
+
type: ContentType.Json,
|
|
13258
12828
|
format: "json",
|
|
13259
12829
|
...params,
|
|
13260
12830
|
}),
|
|
@@ -13288,7 +12858,7 @@ export class Api<
|
|
|
13288
12858
|
query: query,
|
|
13289
12859
|
body: data,
|
|
13290
12860
|
secure: true,
|
|
13291
|
-
type:
|
|
12861
|
+
type: ContentType.Json,
|
|
13292
12862
|
format: "json",
|
|
13293
12863
|
...params,
|
|
13294
12864
|
}),
|
|
@@ -13318,7 +12888,7 @@ export class Api<
|
|
|
13318
12888
|
query: query,
|
|
13319
12889
|
body: data,
|
|
13320
12890
|
secure: true,
|
|
13321
|
-
type:
|
|
12891
|
+
type: ContentType.Json,
|
|
13322
12892
|
format: "json",
|
|
13323
12893
|
...params,
|
|
13324
12894
|
}),
|
|
@@ -13331,7 +12901,7 @@ export class Api<
|
|
|
13331
12901
|
* @summary Download By ID
|
|
13332
12902
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
13333
12903
|
* @secure
|
|
13334
|
-
* @response `200` `
|
|
12904
|
+
* @response `200` `string` OK
|
|
13335
12905
|
* @response `404` `ProblemDetails` Not Found
|
|
13336
12906
|
*/
|
|
13337
12907
|
downloadLoanDocument: (
|
|
@@ -13339,7 +12909,7 @@ export class Api<
|
|
|
13339
12909
|
documentId: string,
|
|
13340
12910
|
params: RequestParams = {},
|
|
13341
12911
|
) =>
|
|
13342
|
-
this.request<
|
|
12912
|
+
this.request<string, ProblemDetails>({
|
|
13343
12913
|
path: `/api/loans/${loanId}/documents/${documentId}/download`,
|
|
13344
12914
|
method: "GET",
|
|
13345
12915
|
secure: true,
|
|
@@ -13376,7 +12946,7 @@ export class Api<
|
|
|
13376
12946
|
method: "POST",
|
|
13377
12947
|
body: data,
|
|
13378
12948
|
secure: true,
|
|
13379
|
-
type:
|
|
12949
|
+
type: ContentType.FormData,
|
|
13380
12950
|
format: "json",
|
|
13381
12951
|
...params,
|
|
13382
12952
|
}),
|
|
@@ -13426,7 +12996,7 @@ export class Api<
|
|
|
13426
12996
|
method: "POST",
|
|
13427
12997
|
body: data,
|
|
13428
12998
|
secure: true,
|
|
13429
|
-
type:
|
|
12999
|
+
type: ContentType.Json,
|
|
13430
13000
|
format: "json",
|
|
13431
13001
|
...params,
|
|
13432
13002
|
}),
|
|
@@ -13453,7 +13023,7 @@ export class Api<
|
|
|
13453
13023
|
method: "POST",
|
|
13454
13024
|
body: data,
|
|
13455
13025
|
secure: true,
|
|
13456
|
-
type:
|
|
13026
|
+
type: ContentType.Json,
|
|
13457
13027
|
...params,
|
|
13458
13028
|
}),
|
|
13459
13029
|
|
|
@@ -13500,7 +13070,7 @@ export class Api<
|
|
|
13500
13070
|
method: "POST",
|
|
13501
13071
|
body: data,
|
|
13502
13072
|
secure: true,
|
|
13503
|
-
type:
|
|
13073
|
+
type: ContentType.Json,
|
|
13504
13074
|
format: "json",
|
|
13505
13075
|
...params,
|
|
13506
13076
|
}),
|
|
@@ -13545,7 +13115,7 @@ export class Api<
|
|
|
13545
13115
|
method: "POST",
|
|
13546
13116
|
body: data,
|
|
13547
13117
|
secure: true,
|
|
13548
|
-
type:
|
|
13118
|
+
type: ContentType.Json,
|
|
13549
13119
|
format: "json",
|
|
13550
13120
|
...params,
|
|
13551
13121
|
}),
|
|
@@ -13608,7 +13178,7 @@ export class Api<
|
|
|
13608
13178
|
method: "PUT",
|
|
13609
13179
|
body: data,
|
|
13610
13180
|
secure: true,
|
|
13611
|
-
type:
|
|
13181
|
+
type: ContentType.Json,
|
|
13612
13182
|
format: "json",
|
|
13613
13183
|
...params,
|
|
13614
13184
|
}),
|
|
@@ -13659,7 +13229,7 @@ export class Api<
|
|
|
13659
13229
|
query: query,
|
|
13660
13230
|
body: data,
|
|
13661
13231
|
secure: true,
|
|
13662
|
-
type:
|
|
13232
|
+
type: ContentType.Json,
|
|
13663
13233
|
format: "json",
|
|
13664
13234
|
...params,
|
|
13665
13235
|
}),
|
|
@@ -13684,7 +13254,7 @@ export class Api<
|
|
|
13684
13254
|
method: "PUT",
|
|
13685
13255
|
body: data,
|
|
13686
13256
|
secure: true,
|
|
13687
|
-
type:
|
|
13257
|
+
type: ContentType.Json,
|
|
13688
13258
|
format: "json",
|
|
13689
13259
|
...params,
|
|
13690
13260
|
}),
|
|
@@ -13759,7 +13329,7 @@ export class Api<
|
|
|
13759
13329
|
method: "POST",
|
|
13760
13330
|
body: data,
|
|
13761
13331
|
secure: true,
|
|
13762
|
-
type:
|
|
13332
|
+
type: ContentType.Json,
|
|
13763
13333
|
format: "json",
|
|
13764
13334
|
...params,
|
|
13765
13335
|
}),
|
|
@@ -13855,7 +13425,7 @@ export class Api<
|
|
|
13855
13425
|
method: "POST",
|
|
13856
13426
|
body: data,
|
|
13857
13427
|
secure: true,
|
|
13858
|
-
type:
|
|
13428
|
+
type: ContentType.Json,
|
|
13859
13429
|
format: "json",
|
|
13860
13430
|
...params,
|
|
13861
13431
|
}),
|
|
@@ -13889,7 +13459,7 @@ export class Api<
|
|
|
13889
13459
|
query: query,
|
|
13890
13460
|
body: data,
|
|
13891
13461
|
secure: true,
|
|
13892
|
-
type:
|
|
13462
|
+
type: ContentType.Json,
|
|
13893
13463
|
format: "json",
|
|
13894
13464
|
...params,
|
|
13895
13465
|
}),
|
|
@@ -13940,7 +13510,7 @@ export class Api<
|
|
|
13940
13510
|
method: "POST",
|
|
13941
13511
|
body: data,
|
|
13942
13512
|
secure: true,
|
|
13943
|
-
type:
|
|
13513
|
+
type: ContentType.Json,
|
|
13944
13514
|
...params,
|
|
13945
13515
|
}),
|
|
13946
13516
|
|
|
@@ -13966,7 +13536,7 @@ export class Api<
|
|
|
13966
13536
|
method: "POST",
|
|
13967
13537
|
body: data,
|
|
13968
13538
|
secure: true,
|
|
13969
|
-
type:
|
|
13539
|
+
type: ContentType.Json,
|
|
13970
13540
|
...params,
|
|
13971
13541
|
}),
|
|
13972
13542
|
|
|
@@ -14029,7 +13599,7 @@ export class Api<
|
|
|
14029
13599
|
query: query,
|
|
14030
13600
|
body: data,
|
|
14031
13601
|
secure: true,
|
|
14032
|
-
type:
|
|
13602
|
+
type: ContentType.Json,
|
|
14033
13603
|
format: "json",
|
|
14034
13604
|
...params,
|
|
14035
13605
|
}),
|
|
@@ -14074,7 +13644,7 @@ export class Api<
|
|
|
14074
13644
|
method: "POST",
|
|
14075
13645
|
body: data,
|
|
14076
13646
|
secure: true,
|
|
14077
|
-
type:
|
|
13647
|
+
type: ContentType.Json,
|
|
14078
13648
|
format: "json",
|
|
14079
13649
|
...params,
|
|
14080
13650
|
}),
|
|
@@ -14128,7 +13698,7 @@ export class Api<
|
|
|
14128
13698
|
query: query,
|
|
14129
13699
|
body: data,
|
|
14130
13700
|
secure: true,
|
|
14131
|
-
type:
|
|
13701
|
+
type: ContentType.Json,
|
|
14132
13702
|
format: "json",
|
|
14133
13703
|
...params,
|
|
14134
13704
|
}),
|
|
@@ -14161,7 +13731,7 @@ export class Api<
|
|
|
14161
13731
|
query: query,
|
|
14162
13732
|
body: data,
|
|
14163
13733
|
secure: true,
|
|
14164
|
-
type:
|
|
13734
|
+
type: ContentType.Json,
|
|
14165
13735
|
format: "json",
|
|
14166
13736
|
...params,
|
|
14167
13737
|
}),
|
|
@@ -14207,7 +13777,7 @@ export class Api<
|
|
|
14207
13777
|
method: "PUT",
|
|
14208
13778
|
body: data,
|
|
14209
13779
|
secure: true,
|
|
14210
|
-
type:
|
|
13780
|
+
type: ContentType.Json,
|
|
14211
13781
|
format: "json",
|
|
14212
13782
|
...params,
|
|
14213
13783
|
}),
|
|
@@ -14308,7 +13878,7 @@ export class Api<
|
|
|
14308
13878
|
method: "POST",
|
|
14309
13879
|
body: data,
|
|
14310
13880
|
secure: true,
|
|
14311
|
-
type:
|
|
13881
|
+
type: ContentType.Json,
|
|
14312
13882
|
format: "json",
|
|
14313
13883
|
...params,
|
|
14314
13884
|
}),
|
|
@@ -14341,7 +13911,7 @@ export class Api<
|
|
|
14341
13911
|
query: query,
|
|
14342
13912
|
body: data,
|
|
14343
13913
|
secure: true,
|
|
14344
|
-
type:
|
|
13914
|
+
type: ContentType.Json,
|
|
14345
13915
|
format: "json",
|
|
14346
13916
|
...params,
|
|
14347
13917
|
}),
|
|
@@ -14371,7 +13941,7 @@ export class Api<
|
|
|
14371
13941
|
method: "PATCH",
|
|
14372
13942
|
body: data,
|
|
14373
13943
|
secure: true,
|
|
14374
|
-
type:
|
|
13944
|
+
type: ContentType.JsonPatch,
|
|
14375
13945
|
format: "json",
|
|
14376
13946
|
...params,
|
|
14377
13947
|
}),
|
|
@@ -14481,7 +14051,7 @@ export class Api<
|
|
|
14481
14051
|
method: "POST",
|
|
14482
14052
|
body: data,
|
|
14483
14053
|
secure: true,
|
|
14484
|
-
type:
|
|
14054
|
+
type: ContentType.Json,
|
|
14485
14055
|
format: "json",
|
|
14486
14056
|
...params,
|
|
14487
14057
|
}),
|
|
@@ -14517,7 +14087,7 @@ export class Api<
|
|
|
14517
14087
|
query: query,
|
|
14518
14088
|
body: data,
|
|
14519
14089
|
secure: true,
|
|
14520
|
-
type:
|
|
14090
|
+
type: ContentType.Json,
|
|
14521
14091
|
format: "json",
|
|
14522
14092
|
...params,
|
|
14523
14093
|
}),
|
|
@@ -14569,7 +14139,7 @@ export class Api<
|
|
|
14569
14139
|
method: "POST",
|
|
14570
14140
|
body: data,
|
|
14571
14141
|
secure: true,
|
|
14572
|
-
type:
|
|
14142
|
+
type: ContentType.Json,
|
|
14573
14143
|
format: "json",
|
|
14574
14144
|
...params,
|
|
14575
14145
|
}),
|
|
@@ -14597,7 +14167,7 @@ export class Api<
|
|
|
14597
14167
|
method: "PUT",
|
|
14598
14168
|
body: data,
|
|
14599
14169
|
secure: true,
|
|
14600
|
-
type:
|
|
14170
|
+
type: ContentType.Json,
|
|
14601
14171
|
format: "json",
|
|
14602
14172
|
...params,
|
|
14603
14173
|
}),
|
|
@@ -14656,7 +14226,7 @@ export class Api<
|
|
|
14656
14226
|
method: "POST",
|
|
14657
14227
|
body: data,
|
|
14658
14228
|
secure: true,
|
|
14659
|
-
type:
|
|
14229
|
+
type: ContentType.FormData,
|
|
14660
14230
|
format: "json",
|
|
14661
14231
|
...params,
|
|
14662
14232
|
}),
|
|
@@ -14684,7 +14254,7 @@ export class Api<
|
|
|
14684
14254
|
method: "POST",
|
|
14685
14255
|
body: data,
|
|
14686
14256
|
secure: true,
|
|
14687
|
-
type:
|
|
14257
|
+
type: ContentType.Json,
|
|
14688
14258
|
...params,
|
|
14689
14259
|
}),
|
|
14690
14260
|
|
|
@@ -14710,7 +14280,7 @@ export class Api<
|
|
|
14710
14280
|
method: "POST",
|
|
14711
14281
|
body: data,
|
|
14712
14282
|
secure: true,
|
|
14713
|
-
type:
|
|
14283
|
+
type: ContentType.Json,
|
|
14714
14284
|
...params,
|
|
14715
14285
|
}),
|
|
14716
14286
|
|
|
@@ -14742,7 +14312,7 @@ export class Api<
|
|
|
14742
14312
|
query: query,
|
|
14743
14313
|
body: data,
|
|
14744
14314
|
secure: true,
|
|
14745
|
-
type:
|
|
14315
|
+
type: ContentType.Json,
|
|
14746
14316
|
format: "json",
|
|
14747
14317
|
...params,
|
|
14748
14318
|
}),
|
|
@@ -14767,7 +14337,7 @@ export class Api<
|
|
|
14767
14337
|
method: "POST",
|
|
14768
14338
|
body: data,
|
|
14769
14339
|
secure: true,
|
|
14770
|
-
type:
|
|
14340
|
+
type: ContentType.Json,
|
|
14771
14341
|
format: "json",
|
|
14772
14342
|
...params,
|
|
14773
14343
|
}),
|
|
@@ -14854,7 +14424,7 @@ export class Api<
|
|
|
14854
14424
|
method: "POST",
|
|
14855
14425
|
body: data,
|
|
14856
14426
|
secure: true,
|
|
14857
|
-
type:
|
|
14427
|
+
type: ContentType.Json,
|
|
14858
14428
|
format: "json",
|
|
14859
14429
|
...params,
|
|
14860
14430
|
}),
|
|
@@ -14880,7 +14450,7 @@ export class Api<
|
|
|
14880
14450
|
method: "POST",
|
|
14881
14451
|
body: data,
|
|
14882
14452
|
secure: true,
|
|
14883
|
-
type:
|
|
14453
|
+
type: ContentType.Json,
|
|
14884
14454
|
format: "json",
|
|
14885
14455
|
...params,
|
|
14886
14456
|
}),
|
|
@@ -14907,7 +14477,7 @@ export class Api<
|
|
|
14907
14477
|
method: "PUT",
|
|
14908
14478
|
body: data,
|
|
14909
14479
|
secure: true,
|
|
14910
|
-
type:
|
|
14480
|
+
type: ContentType.Json,
|
|
14911
14481
|
format: "json",
|
|
14912
14482
|
...params,
|
|
14913
14483
|
}),
|
|
@@ -15024,7 +14594,7 @@ export class Api<
|
|
|
15024
14594
|
method: "POST",
|
|
15025
14595
|
body: data,
|
|
15026
14596
|
secure: true,
|
|
15027
|
-
type:
|
|
14597
|
+
type: ContentType.Json,
|
|
15028
14598
|
format: "json",
|
|
15029
14599
|
...params,
|
|
15030
14600
|
}),
|
|
@@ -15102,7 +14672,7 @@ export class Api<
|
|
|
15102
14672
|
query: query,
|
|
15103
14673
|
body: data,
|
|
15104
14674
|
secure: true,
|
|
15105
|
-
type:
|
|
14675
|
+
type: ContentType.Json,
|
|
15106
14676
|
format: "json",
|
|
15107
14677
|
...params,
|
|
15108
14678
|
}),
|
|
@@ -15146,7 +14716,7 @@ export class Api<
|
|
|
15146
14716
|
method: "POST",
|
|
15147
14717
|
body: data,
|
|
15148
14718
|
secure: true,
|
|
15149
|
-
type:
|
|
14719
|
+
type: ContentType.Json,
|
|
15150
14720
|
format: "json",
|
|
15151
14721
|
...params,
|
|
15152
14722
|
}),
|
|
@@ -15193,7 +14763,7 @@ export class Api<
|
|
|
15193
14763
|
method: "PUT",
|
|
15194
14764
|
body: data,
|
|
15195
14765
|
secure: true,
|
|
15196
|
-
type:
|
|
14766
|
+
type: ContentType.Json,
|
|
15197
14767
|
format: "json",
|
|
15198
14768
|
...params,
|
|
15199
14769
|
}),
|
|
@@ -15239,7 +14809,7 @@ export class Api<
|
|
|
15239
14809
|
method: "POST",
|
|
15240
14810
|
body: data,
|
|
15241
14811
|
secure: true,
|
|
15242
|
-
type:
|
|
14812
|
+
type: ContentType.Json,
|
|
15243
14813
|
format: "json",
|
|
15244
14814
|
...params,
|
|
15245
14815
|
}),
|
|
@@ -15264,7 +14834,7 @@ export class Api<
|
|
|
15264
14834
|
method: "POST",
|
|
15265
14835
|
body: data,
|
|
15266
14836
|
secure: true,
|
|
15267
|
-
type:
|
|
14837
|
+
type: ContentType.Json,
|
|
15268
14838
|
format: "json",
|
|
15269
14839
|
...params,
|
|
15270
14840
|
}),
|
|
@@ -15289,7 +14859,7 @@ export class Api<
|
|
|
15289
14859
|
method: "POST",
|
|
15290
14860
|
body: data,
|
|
15291
14861
|
secure: true,
|
|
15292
|
-
type:
|
|
14862
|
+
type: ContentType.Json,
|
|
15293
14863
|
format: "json",
|
|
15294
14864
|
...params,
|
|
15295
14865
|
}),
|
|
@@ -15314,7 +14884,7 @@ export class Api<
|
|
|
15314
14884
|
method: "POST",
|
|
15315
14885
|
body: data,
|
|
15316
14886
|
secure: true,
|
|
15317
|
-
type:
|
|
14887
|
+
type: ContentType.Json,
|
|
15318
14888
|
format: "json",
|
|
15319
14889
|
...params,
|
|
15320
14890
|
}),
|
|
@@ -15339,7 +14909,7 @@ export class Api<
|
|
|
15339
14909
|
method: "POST",
|
|
15340
14910
|
body: data,
|
|
15341
14911
|
secure: true,
|
|
15342
|
-
type:
|
|
14912
|
+
type: ContentType.Json,
|
|
15343
14913
|
format: "json",
|
|
15344
14914
|
...params,
|
|
15345
14915
|
}),
|
|
@@ -15389,7 +14959,7 @@ export class Api<
|
|
|
15389
14959
|
method: "POST",
|
|
15390
14960
|
body: data,
|
|
15391
14961
|
secure: true,
|
|
15392
|
-
type:
|
|
14962
|
+
type: ContentType.Json,
|
|
15393
14963
|
format: "json",
|
|
15394
14964
|
...params,
|
|
15395
14965
|
}),
|
|
@@ -15422,7 +14992,7 @@ export class Api<
|
|
|
15422
14992
|
query: query,
|
|
15423
14993
|
body: data,
|
|
15424
14994
|
secure: true,
|
|
15425
|
-
type:
|
|
14995
|
+
type: ContentType.Json,
|
|
15426
14996
|
format: "json",
|
|
15427
14997
|
...params,
|
|
15428
14998
|
}),
|
|
@@ -15467,7 +15037,7 @@ export class Api<
|
|
|
15467
15037
|
method: "PUT",
|
|
15468
15038
|
body: data,
|
|
15469
15039
|
secure: true,
|
|
15470
|
-
type:
|
|
15040
|
+
type: ContentType.Json,
|
|
15471
15041
|
format: "json",
|
|
15472
15042
|
...params,
|
|
15473
15043
|
}),
|
|
@@ -15551,7 +15121,7 @@ export class Api<
|
|
|
15551
15121
|
method: "POST",
|
|
15552
15122
|
body: data,
|
|
15553
15123
|
secure: true,
|
|
15554
|
-
type:
|
|
15124
|
+
type: ContentType.Json,
|
|
15555
15125
|
format: "json",
|
|
15556
15126
|
...params,
|
|
15557
15127
|
}),
|
|
@@ -15600,7 +15170,7 @@ export class Api<
|
|
|
15600
15170
|
method: "PUT",
|
|
15601
15171
|
body: data,
|
|
15602
15172
|
secure: true,
|
|
15603
|
-
type:
|
|
15173
|
+
type: ContentType.Json,
|
|
15604
15174
|
format: "json",
|
|
15605
15175
|
...params,
|
|
15606
15176
|
}),
|
|
@@ -15642,7 +15212,16 @@ export class Api<
|
|
|
15642
15212
|
query?: {
|
|
15643
15213
|
showAll?: boolean;
|
|
15644
15214
|
/** @default "Realtor" */
|
|
15645
|
-
role?:
|
|
15215
|
+
role?:
|
|
15216
|
+
| "Borrower"
|
|
15217
|
+
| "LoanOfficer"
|
|
15218
|
+
| "Admin"
|
|
15219
|
+
| "SuperAdmin"
|
|
15220
|
+
| "Realtor"
|
|
15221
|
+
| "SettlementAgent"
|
|
15222
|
+
| "LoanProcessor"
|
|
15223
|
+
| "LoanOfficerAssistant"
|
|
15224
|
+
| "SystemAdmin";
|
|
15646
15225
|
/** @format int32 */
|
|
15647
15226
|
pageSize?: number;
|
|
15648
15227
|
/** @format int32 */
|
|
@@ -15689,7 +15268,7 @@ export class Api<
|
|
|
15689
15268
|
query: query,
|
|
15690
15269
|
body: data,
|
|
15691
15270
|
secure: true,
|
|
15692
|
-
type:
|
|
15271
|
+
type: ContentType.Json,
|
|
15693
15272
|
format: "json",
|
|
15694
15273
|
...params,
|
|
15695
15274
|
}),
|
|
@@ -15734,7 +15313,7 @@ export class Api<
|
|
|
15734
15313
|
method: "POST",
|
|
15735
15314
|
body: data,
|
|
15736
15315
|
secure: true,
|
|
15737
|
-
type:
|
|
15316
|
+
type: ContentType.Json,
|
|
15738
15317
|
format: "json",
|
|
15739
15318
|
...params,
|
|
15740
15319
|
}),
|
|
@@ -15788,7 +15367,7 @@ export class Api<
|
|
|
15788
15367
|
query: query,
|
|
15789
15368
|
body: data,
|
|
15790
15369
|
secure: true,
|
|
15791
|
-
type:
|
|
15370
|
+
type: ContentType.Json,
|
|
15792
15371
|
format: "json",
|
|
15793
15372
|
...params,
|
|
15794
15373
|
}),
|
|
@@ -15833,7 +15412,7 @@ export class Api<
|
|
|
15833
15412
|
method: "POST",
|
|
15834
15413
|
body: data,
|
|
15835
15414
|
secure: true,
|
|
15836
|
-
type:
|
|
15415
|
+
type: ContentType.Json,
|
|
15837
15416
|
format: "json",
|
|
15838
15417
|
...params,
|
|
15839
15418
|
}),
|
|
@@ -15885,7 +15464,7 @@ export class Api<
|
|
|
15885
15464
|
method: "POST",
|
|
15886
15465
|
body: data,
|
|
15887
15466
|
secure: true,
|
|
15888
|
-
type:
|
|
15467
|
+
type: ContentType.Json,
|
|
15889
15468
|
format: "json",
|
|
15890
15469
|
...params,
|
|
15891
15470
|
}),
|
|
@@ -15942,7 +15521,7 @@ export class Api<
|
|
|
15942
15521
|
query: query,
|
|
15943
15522
|
body: data,
|
|
15944
15523
|
secure: true,
|
|
15945
|
-
type:
|
|
15524
|
+
type: ContentType.Json,
|
|
15946
15525
|
format: "json",
|
|
15947
15526
|
...params,
|
|
15948
15527
|
}),
|
|
@@ -15978,7 +15557,7 @@ export class Api<
|
|
|
15978
15557
|
* @response `404` `ProblemDetails` Not Found
|
|
15979
15558
|
*/
|
|
15980
15559
|
getSamlMetadata: (
|
|
15981
|
-
sSoIntegration:
|
|
15560
|
+
sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
|
|
15982
15561
|
ssoIntegration: string,
|
|
15983
15562
|
params: RequestParams = {},
|
|
15984
15563
|
) =>
|
|
@@ -16000,7 +15579,7 @@ export class Api<
|
|
|
16000
15579
|
* @response `200` `File` OK
|
|
16001
15580
|
*/
|
|
16002
15581
|
createOrReplaceSamlMetadata: (
|
|
16003
|
-
sSoIntegration:
|
|
15582
|
+
sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
|
|
16004
15583
|
ssoIntegration: string,
|
|
16005
15584
|
params: RequestParams = {},
|
|
16006
15585
|
) =>
|
|
@@ -16125,7 +15704,7 @@ export class Api<
|
|
|
16125
15704
|
method: "POST",
|
|
16126
15705
|
body: data,
|
|
16127
15706
|
secure: true,
|
|
16128
|
-
type:
|
|
15707
|
+
type: ContentType.Json,
|
|
16129
15708
|
format: "json",
|
|
16130
15709
|
...params,
|
|
16131
15710
|
}),
|
|
@@ -16173,7 +15752,7 @@ export class Api<
|
|
|
16173
15752
|
method: "POST",
|
|
16174
15753
|
body: data,
|
|
16175
15754
|
secure: true,
|
|
16176
|
-
type:
|
|
15755
|
+
type: ContentType.Json,
|
|
16177
15756
|
format: "json",
|
|
16178
15757
|
...params,
|
|
16179
15758
|
}),
|
|
@@ -16225,7 +15804,7 @@ export class Api<
|
|
|
16225
15804
|
method: "POST",
|
|
16226
15805
|
body: data,
|
|
16227
15806
|
secure: true,
|
|
16228
|
-
type:
|
|
15807
|
+
type: ContentType.Json,
|
|
16229
15808
|
format: "json",
|
|
16230
15809
|
...params,
|
|
16231
15810
|
}),
|
|
@@ -16267,7 +15846,7 @@ export class Api<
|
|
|
16267
15846
|
method: "PUT",
|
|
16268
15847
|
body: data,
|
|
16269
15848
|
secure: true,
|
|
16270
|
-
type:
|
|
15849
|
+
type: ContentType.Json,
|
|
16271
15850
|
format: "json",
|
|
16272
15851
|
...params,
|
|
16273
15852
|
}),
|
|
@@ -16319,7 +15898,7 @@ export class Api<
|
|
|
16319
15898
|
query: query,
|
|
16320
15899
|
body: data,
|
|
16321
15900
|
secure: true,
|
|
16322
|
-
type:
|
|
15901
|
+
type: ContentType.Json,
|
|
16323
15902
|
format: "json",
|
|
16324
15903
|
...params,
|
|
16325
15904
|
}),
|
|
@@ -16342,7 +15921,7 @@ export class Api<
|
|
|
16342
15921
|
method: "POST",
|
|
16343
15922
|
body: data,
|
|
16344
15923
|
secure: true,
|
|
16345
|
-
type:
|
|
15924
|
+
type: ContentType.Json,
|
|
16346
15925
|
...params,
|
|
16347
15926
|
}),
|
|
16348
15927
|
|
|
@@ -16375,7 +15954,7 @@ export class Api<
|
|
|
16375
15954
|
query: query,
|
|
16376
15955
|
body: data,
|
|
16377
15956
|
secure: true,
|
|
16378
|
-
type:
|
|
15957
|
+
type: ContentType.Json,
|
|
16379
15958
|
format: "json",
|
|
16380
15959
|
...params,
|
|
16381
15960
|
}),
|
|
@@ -16419,7 +15998,7 @@ export class Api<
|
|
|
16419
15998
|
method: "POST",
|
|
16420
15999
|
body: data,
|
|
16421
16000
|
secure: true,
|
|
16422
|
-
type:
|
|
16001
|
+
type: ContentType.Json,
|
|
16423
16002
|
format: "json",
|
|
16424
16003
|
...params,
|
|
16425
16004
|
}),
|
|
@@ -16443,7 +16022,7 @@ export class Api<
|
|
|
16443
16022
|
method: "PUT",
|
|
16444
16023
|
body: data,
|
|
16445
16024
|
secure: true,
|
|
16446
|
-
type:
|
|
16025
|
+
type: ContentType.Json,
|
|
16447
16026
|
format: "json",
|
|
16448
16027
|
...params,
|
|
16449
16028
|
}),
|
|
@@ -16486,7 +16065,7 @@ export class Api<
|
|
|
16486
16065
|
method: "POST",
|
|
16487
16066
|
body: data,
|
|
16488
16067
|
secure: true,
|
|
16489
|
-
type:
|
|
16068
|
+
type: ContentType.Json,
|
|
16490
16069
|
format: "json",
|
|
16491
16070
|
...params,
|
|
16492
16071
|
}),
|
|
@@ -16538,7 +16117,7 @@ export class Api<
|
|
|
16538
16117
|
query: query,
|
|
16539
16118
|
body: data,
|
|
16540
16119
|
secure: true,
|
|
16541
|
-
type:
|
|
16120
|
+
type: ContentType.Json,
|
|
16542
16121
|
format: "json",
|
|
16543
16122
|
...params,
|
|
16544
16123
|
}),
|
|
@@ -16712,7 +16291,7 @@ export class Api<
|
|
|
16712
16291
|
method: "POST",
|
|
16713
16292
|
body: data,
|
|
16714
16293
|
secure: true,
|
|
16715
|
-
type:
|
|
16294
|
+
type: ContentType.Json,
|
|
16716
16295
|
format: "json",
|
|
16717
16296
|
...params,
|
|
16718
16297
|
}),
|
|
@@ -16811,7 +16390,7 @@ export class Api<
|
|
|
16811
16390
|
method: "POST",
|
|
16812
16391
|
body: data,
|
|
16813
16392
|
secure: true,
|
|
16814
|
-
type:
|
|
16393
|
+
type: ContentType.Json,
|
|
16815
16394
|
format: "json",
|
|
16816
16395
|
...params,
|
|
16817
16396
|
}),
|
|
@@ -16877,7 +16456,7 @@ export class Api<
|
|
|
16877
16456
|
method: "POST",
|
|
16878
16457
|
body: data,
|
|
16879
16458
|
secure: true,
|
|
16880
|
-
type:
|
|
16459
|
+
type: ContentType.Json,
|
|
16881
16460
|
format: "json",
|
|
16882
16461
|
...params,
|
|
16883
16462
|
}),
|
|
@@ -16948,7 +16527,7 @@ export class Api<
|
|
|
16948
16527
|
query: query,
|
|
16949
16528
|
body: data,
|
|
16950
16529
|
secure: true,
|
|
16951
|
-
type:
|
|
16530
|
+
type: ContentType.Json,
|
|
16952
16531
|
format: "json",
|
|
16953
16532
|
...params,
|
|
16954
16533
|
}),
|
|
@@ -17045,7 +16624,7 @@ export class Api<
|
|
|
17045
16624
|
method: "PUT",
|
|
17046
16625
|
body: data,
|
|
17047
16626
|
secure: true,
|
|
17048
|
-
type:
|
|
16627
|
+
type: ContentType.Json,
|
|
17049
16628
|
format: "json",
|
|
17050
16629
|
...params,
|
|
17051
16630
|
}),
|
|
@@ -17087,7 +16666,7 @@ export class Api<
|
|
|
17087
16666
|
method: "POST",
|
|
17088
16667
|
body: data,
|
|
17089
16668
|
secure: true,
|
|
17090
|
-
type:
|
|
16669
|
+
type: ContentType.Json,
|
|
17091
16670
|
format: "json",
|
|
17092
16671
|
...params,
|
|
17093
16672
|
}),
|
|
@@ -17113,7 +16692,7 @@ export class Api<
|
|
|
17113
16692
|
method: "POST",
|
|
17114
16693
|
body: data,
|
|
17115
16694
|
secure: true,
|
|
17116
|
-
type:
|
|
16695
|
+
type: ContentType.Json,
|
|
17117
16696
|
...params,
|
|
17118
16697
|
}),
|
|
17119
16698
|
|
|
@@ -17138,7 +16717,7 @@ export class Api<
|
|
|
17138
16717
|
method: "POST",
|
|
17139
16718
|
body: data,
|
|
17140
16719
|
secure: true,
|
|
17141
|
-
type:
|
|
16720
|
+
type: ContentType.Json,
|
|
17142
16721
|
...params,
|
|
17143
16722
|
}),
|
|
17144
16723
|
|
|
@@ -17224,7 +16803,7 @@ export class Api<
|
|
|
17224
16803
|
method: "POST",
|
|
17225
16804
|
body: data,
|
|
17226
16805
|
secure: true,
|
|
17227
|
-
type:
|
|
16806
|
+
type: ContentType.Json,
|
|
17228
16807
|
...params,
|
|
17229
16808
|
}),
|
|
17230
16809
|
|
|
@@ -17264,7 +16843,7 @@ export class Api<
|
|
|
17264
16843
|
method: "POST",
|
|
17265
16844
|
body: data,
|
|
17266
16845
|
secure: true,
|
|
17267
|
-
type:
|
|
16846
|
+
type: ContentType.Json,
|
|
17268
16847
|
...params,
|
|
17269
16848
|
}),
|
|
17270
16849
|
|
|
@@ -17347,7 +16926,7 @@ export class Api<
|
|
|
17347
16926
|
method: "POST",
|
|
17348
16927
|
body: data,
|
|
17349
16928
|
secure: true,
|
|
17350
|
-
type:
|
|
16929
|
+
type: ContentType.Json,
|
|
17351
16930
|
...params,
|
|
17352
16931
|
}),
|
|
17353
16932
|
|
|
@@ -17439,7 +17018,7 @@ export class Api<
|
|
|
17439
17018
|
method: "POST",
|
|
17440
17019
|
body: data,
|
|
17441
17020
|
secure: true,
|
|
17442
|
-
type:
|
|
17021
|
+
type: ContentType.Json,
|
|
17443
17022
|
format: "json",
|
|
17444
17023
|
...params,
|
|
17445
17024
|
}),
|
|
@@ -17472,7 +17051,7 @@ export class Api<
|
|
|
17472
17051
|
query: query,
|
|
17473
17052
|
body: data,
|
|
17474
17053
|
secure: true,
|
|
17475
|
-
type:
|
|
17054
|
+
type: ContentType.Json,
|
|
17476
17055
|
format: "json",
|
|
17477
17056
|
...params,
|
|
17478
17057
|
}),
|
|
@@ -17493,7 +17072,7 @@ export class Api<
|
|
|
17493
17072
|
method: "POST",
|
|
17494
17073
|
body: data,
|
|
17495
17074
|
secure: true,
|
|
17496
|
-
type:
|
|
17075
|
+
type: ContentType.Json,
|
|
17497
17076
|
format: "json",
|
|
17498
17077
|
...params,
|
|
17499
17078
|
}),
|
|
@@ -17515,7 +17094,7 @@ export class Api<
|
|
|
17515
17094
|
method: "POST",
|
|
17516
17095
|
body: data,
|
|
17517
17096
|
secure: true,
|
|
17518
|
-
type:
|
|
17097
|
+
type: ContentType.Json,
|
|
17519
17098
|
format: "json",
|
|
17520
17099
|
...params,
|
|
17521
17100
|
}),
|
|
@@ -17541,7 +17120,7 @@ export class Api<
|
|
|
17541
17120
|
method: "PUT",
|
|
17542
17121
|
body: data,
|
|
17543
17122
|
secure: true,
|
|
17544
|
-
type:
|
|
17123
|
+
type: ContentType.Json,
|
|
17545
17124
|
format: "json",
|
|
17546
17125
|
...params,
|
|
17547
17126
|
}),
|
|
@@ -17607,7 +17186,7 @@ export class Api<
|
|
|
17607
17186
|
method: "POST",
|
|
17608
17187
|
body: data,
|
|
17609
17188
|
secure: true,
|
|
17610
|
-
type:
|
|
17189
|
+
type: ContentType.Json,
|
|
17611
17190
|
...params,
|
|
17612
17191
|
}),
|
|
17613
17192
|
|
|
@@ -17628,7 +17207,7 @@ export class Api<
|
|
|
17628
17207
|
method: "POST",
|
|
17629
17208
|
body: data,
|
|
17630
17209
|
secure: true,
|
|
17631
|
-
type:
|
|
17210
|
+
type: ContentType.Json,
|
|
17632
17211
|
...params,
|
|
17633
17212
|
}),
|
|
17634
17213
|
|
|
@@ -17653,7 +17232,7 @@ export class Api<
|
|
|
17653
17232
|
method: "POST",
|
|
17654
17233
|
body: data,
|
|
17655
17234
|
secure: true,
|
|
17656
|
-
type:
|
|
17235
|
+
type: ContentType.Json,
|
|
17657
17236
|
...params,
|
|
17658
17237
|
}),
|
|
17659
17238
|
|
|
@@ -17677,7 +17256,7 @@ export class Api<
|
|
|
17677
17256
|
method: "POST",
|
|
17678
17257
|
body: data,
|
|
17679
17258
|
secure: true,
|
|
17680
|
-
type:
|
|
17259
|
+
type: ContentType.Json,
|
|
17681
17260
|
...params,
|
|
17682
17261
|
}),
|
|
17683
17262
|
|
|
@@ -17720,7 +17299,7 @@ export class Api<
|
|
|
17720
17299
|
method: "PUT",
|
|
17721
17300
|
body: data,
|
|
17722
17301
|
secure: true,
|
|
17723
|
-
type:
|
|
17302
|
+
type: ContentType.Json,
|
|
17724
17303
|
...params,
|
|
17725
17304
|
}),
|
|
17726
17305
|
|
|
@@ -17760,7 +17339,7 @@ export class Api<
|
|
|
17760
17339
|
method: "PUT",
|
|
17761
17340
|
body: data,
|
|
17762
17341
|
secure: true,
|
|
17763
|
-
type:
|
|
17342
|
+
type: ContentType.Json,
|
|
17764
17343
|
format: "json",
|
|
17765
17344
|
...params,
|
|
17766
17345
|
}),
|
|
@@ -17784,7 +17363,7 @@ export class Api<
|
|
|
17784
17363
|
method: "PUT",
|
|
17785
17364
|
body: data,
|
|
17786
17365
|
secure: true,
|
|
17787
|
-
type:
|
|
17366
|
+
type: ContentType.Json,
|
|
17788
17367
|
format: "json",
|
|
17789
17368
|
...params,
|
|
17790
17369
|
}),
|
|
@@ -17861,7 +17440,7 @@ export class Api<
|
|
|
17861
17440
|
method: "POST",
|
|
17862
17441
|
body: data,
|
|
17863
17442
|
secure: true,
|
|
17864
|
-
type:
|
|
17443
|
+
type: ContentType.Json,
|
|
17865
17444
|
...params,
|
|
17866
17445
|
}),
|
|
17867
17446
|
|
|
@@ -17881,7 +17460,7 @@ export class Api<
|
|
|
17881
17460
|
method: "POST",
|
|
17882
17461
|
body: data,
|
|
17883
17462
|
secure: true,
|
|
17884
|
-
type:
|
|
17463
|
+
type: ContentType.Json,
|
|
17885
17464
|
format: "json",
|
|
17886
17465
|
...params,
|
|
17887
17466
|
}),
|