@gooddata/api-client-tiger 11.7.0-alpha.1 → 11.7.0-alpha.2
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +20 -389
- package/esm/generated/afm-rest-api/api.d.ts +18 -695
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +8 -763
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +15 -283
- package/package.json +4 -4
|
@@ -173,6 +173,12 @@ export const FilterByLabelTypeEnum = {
|
|
|
173
173
|
PRIMARY: "PRIMARY",
|
|
174
174
|
REQUESTED: "REQUESTED",
|
|
175
175
|
};
|
|
176
|
+
export const GetQualityIssuesResponseStatusEnum = {
|
|
177
|
+
RUNNING: "RUNNING",
|
|
178
|
+
COMPLETED: "COMPLETED",
|
|
179
|
+
FAILED: "FAILED",
|
|
180
|
+
NOT_FOUND: "NOT_FOUND",
|
|
181
|
+
};
|
|
176
182
|
export const KeyDriversDimensionGranularityEnum = {
|
|
177
183
|
MINUTE: "MINUTE",
|
|
178
184
|
HOUR: "HOUR",
|
|
@@ -203,11 +209,6 @@ export const KeyDriversRequestSortDirectionEnum = {
|
|
|
203
209
|
ASC: "ASC",
|
|
204
210
|
DESC: "DESC",
|
|
205
211
|
};
|
|
206
|
-
export const MemoryItemStrategyEnum = {
|
|
207
|
-
MEMORY_ITEM_STRATEGY_ALLWAYS: "MEMORY_ITEM_STRATEGY_ALLWAYS",
|
|
208
|
-
MEMORY_ITEM_STRATEGY_NEVER: "MEMORY_ITEM_STRATEGY_NEVER",
|
|
209
|
-
MEMORY_ITEM_STRATEGY_AUTO: "MEMORY_ITEM_STRATEGY_AUTO",
|
|
210
|
-
};
|
|
211
212
|
export const MetricTypeEnum = {
|
|
212
213
|
METRIC: "metric",
|
|
213
214
|
FACT: "fact",
|
|
@@ -222,8 +223,8 @@ export const MetricAggFunctionEnum = {
|
|
|
222
223
|
MEDIAN: "MEDIAN",
|
|
223
224
|
};
|
|
224
225
|
export const QualityIssueSeverityEnum = {
|
|
225
|
-
|
|
226
|
-
|
|
226
|
+
WARNING: "WARNING",
|
|
227
|
+
INFO: "INFO",
|
|
227
228
|
};
|
|
228
229
|
export const QualityIssuesCalculationStatusResponseStatusEnum = {
|
|
229
230
|
RUNNING: "RUNNING",
|
|
@@ -1011,47 +1012,6 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1011
1012
|
options: localVarRequestOptions,
|
|
1012
1013
|
};
|
|
1013
1014
|
},
|
|
1014
|
-
/**
|
|
1015
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
1016
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
1017
|
-
* @param {string} workspaceId Workspace identifier
|
|
1018
|
-
* @param {MemoryItem} memoryItem
|
|
1019
|
-
* @param {*} [options] Override http request option.
|
|
1020
|
-
* @throws {RequiredError}
|
|
1021
|
-
*/
|
|
1022
|
-
createMemoryItem: async (workspaceId, memoryItem, options = {}) => {
|
|
1023
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1024
|
-
assertParamExists("createMemoryItem", "workspaceId", workspaceId);
|
|
1025
|
-
// verify required parameter 'memoryItem' is not null or undefined
|
|
1026
|
-
assertParamExists("createMemoryItem", "memoryItem", memoryItem);
|
|
1027
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1028
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1029
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1030
|
-
let baseOptions;
|
|
1031
|
-
if (configuration) {
|
|
1032
|
-
baseOptions = configuration.baseOptions;
|
|
1033
|
-
}
|
|
1034
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1035
|
-
const localVarHeaderParameter = {};
|
|
1036
|
-
const localVarQueryParameter = {};
|
|
1037
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1038
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1039
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1040
|
-
localVarRequestOptions.headers = {
|
|
1041
|
-
...localVarHeaderParameter,
|
|
1042
|
-
...headersFromBaseOptions,
|
|
1043
|
-
...options.headers,
|
|
1044
|
-
};
|
|
1045
|
-
const needsSerialization = typeof memoryItem !== "string" ||
|
|
1046
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1047
|
-
localVarRequestOptions.data = needsSerialization
|
|
1048
|
-
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
1049
|
-
: memoryItem || "";
|
|
1050
|
-
return {
|
|
1051
|
-
url: toPathString(localVarUrlObj),
|
|
1052
|
-
options: localVarRequestOptions,
|
|
1053
|
-
};
|
|
1054
|
-
},
|
|
1055
1015
|
/**
|
|
1056
1016
|
* Returns a list of Users who created any object for this workspace
|
|
1057
1017
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -1224,43 +1184,6 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1224
1184
|
options: localVarRequestOptions,
|
|
1225
1185
|
};
|
|
1226
1186
|
},
|
|
1227
|
-
/**
|
|
1228
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
1229
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
1230
|
-
* @param {string} workspaceId Workspace identifier
|
|
1231
|
-
* @param {string} memoryId
|
|
1232
|
-
* @param {*} [options] Override http request option.
|
|
1233
|
-
* @throws {RequiredError}
|
|
1234
|
-
*/
|
|
1235
|
-
getMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
1236
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1237
|
-
assertParamExists("getMemoryItem", "workspaceId", workspaceId);
|
|
1238
|
-
// verify required parameter 'memoryId' is not null or undefined
|
|
1239
|
-
assertParamExists("getMemoryItem", "memoryId", memoryId);
|
|
1240
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
1241
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1242
|
-
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
1243
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1244
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1245
|
-
let baseOptions;
|
|
1246
|
-
if (configuration) {
|
|
1247
|
-
baseOptions = configuration.baseOptions;
|
|
1248
|
-
}
|
|
1249
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1250
|
-
const localVarHeaderParameter = {};
|
|
1251
|
-
const localVarQueryParameter = {};
|
|
1252
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1253
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1254
|
-
localVarRequestOptions.headers = {
|
|
1255
|
-
...localVarHeaderParameter,
|
|
1256
|
-
...headersFromBaseOptions,
|
|
1257
|
-
...options.headers,
|
|
1258
|
-
};
|
|
1259
|
-
return {
|
|
1260
|
-
url: toPathString(localVarUrlObj),
|
|
1261
|
-
options: localVarRequestOptions,
|
|
1262
|
-
};
|
|
1263
|
-
},
|
|
1264
1187
|
/**
|
|
1265
1188
|
* Returns metadata quality issues detected by the platform linter.
|
|
1266
1189
|
* @summary Get Quality Issues
|
|
@@ -1420,75 +1343,6 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1420
1343
|
options: localVarRequestOptions,
|
|
1421
1344
|
};
|
|
1422
1345
|
},
|
|
1423
|
-
/**
|
|
1424
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
1425
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
1426
|
-
* @param {string} workspaceId Workspace identifier
|
|
1427
|
-
* @param {*} [options] Override http request option.
|
|
1428
|
-
* @throws {RequiredError}
|
|
1429
|
-
*/
|
|
1430
|
-
listMemoryItems: async (workspaceId, options = {}) => {
|
|
1431
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1432
|
-
assertParamExists("listMemoryItems", "workspaceId", workspaceId);
|
|
1433
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1434
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1435
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1436
|
-
let baseOptions;
|
|
1437
|
-
if (configuration) {
|
|
1438
|
-
baseOptions = configuration.baseOptions;
|
|
1439
|
-
}
|
|
1440
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1441
|
-
const localVarHeaderParameter = {};
|
|
1442
|
-
const localVarQueryParameter = {};
|
|
1443
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1444
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1445
|
-
localVarRequestOptions.headers = {
|
|
1446
|
-
...localVarHeaderParameter,
|
|
1447
|
-
...headersFromBaseOptions,
|
|
1448
|
-
...options.headers,
|
|
1449
|
-
};
|
|
1450
|
-
return {
|
|
1451
|
-
url: toPathString(localVarUrlObj),
|
|
1452
|
-
options: localVarRequestOptions,
|
|
1453
|
-
};
|
|
1454
|
-
},
|
|
1455
|
-
/**
|
|
1456
|
-
* (EXPERIMENTAL) Removes memory item
|
|
1457
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
1458
|
-
* @param {string} workspaceId Workspace identifier
|
|
1459
|
-
* @param {string} memoryId
|
|
1460
|
-
* @param {*} [options] Override http request option.
|
|
1461
|
-
* @throws {RequiredError}
|
|
1462
|
-
*/
|
|
1463
|
-
removeMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
1464
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1465
|
-
assertParamExists("removeMemoryItem", "workspaceId", workspaceId);
|
|
1466
|
-
// verify required parameter 'memoryId' is not null or undefined
|
|
1467
|
-
assertParamExists("removeMemoryItem", "memoryId", memoryId);
|
|
1468
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
1469
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1470
|
-
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
1471
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1472
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1473
|
-
let baseOptions;
|
|
1474
|
-
if (configuration) {
|
|
1475
|
-
baseOptions = configuration.baseOptions;
|
|
1476
|
-
}
|
|
1477
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1478
|
-
const localVarHeaderParameter = {};
|
|
1479
|
-
const localVarQueryParameter = {};
|
|
1480
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1481
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1482
|
-
localVarRequestOptions.headers = {
|
|
1483
|
-
...localVarHeaderParameter,
|
|
1484
|
-
...headersFromBaseOptions,
|
|
1485
|
-
...options.headers,
|
|
1486
|
-
};
|
|
1487
|
-
return {
|
|
1488
|
-
url: toPathString(localVarUrlObj),
|
|
1489
|
-
options: localVarRequestOptions,
|
|
1490
|
-
};
|
|
1491
|
-
},
|
|
1492
1346
|
/**
|
|
1493
1347
|
* Returns a list of available LLM Endpoints
|
|
1494
1348
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -1675,52 +1529,6 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1675
1529
|
options: localVarRequestOptions,
|
|
1676
1530
|
};
|
|
1677
1531
|
},
|
|
1678
|
-
/**
|
|
1679
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
1680
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
1681
|
-
* @param {string} workspaceId Workspace identifier
|
|
1682
|
-
* @param {string} memoryId
|
|
1683
|
-
* @param {MemoryItem} memoryItem
|
|
1684
|
-
* @param {*} [options] Override http request option.
|
|
1685
|
-
* @throws {RequiredError}
|
|
1686
|
-
*/
|
|
1687
|
-
updateMemoryItem: async (workspaceId, memoryId, memoryItem, options = {}) => {
|
|
1688
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1689
|
-
assertParamExists("updateMemoryItem", "workspaceId", workspaceId);
|
|
1690
|
-
// verify required parameter 'memoryId' is not null or undefined
|
|
1691
|
-
assertParamExists("updateMemoryItem", "memoryId", memoryId);
|
|
1692
|
-
// verify required parameter 'memoryItem' is not null or undefined
|
|
1693
|
-
assertParamExists("updateMemoryItem", "memoryItem", memoryItem);
|
|
1694
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
1695
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1696
|
-
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
1697
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1698
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1699
|
-
let baseOptions;
|
|
1700
|
-
if (configuration) {
|
|
1701
|
-
baseOptions = configuration.baseOptions;
|
|
1702
|
-
}
|
|
1703
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1704
|
-
const localVarHeaderParameter = {};
|
|
1705
|
-
const localVarQueryParameter = {};
|
|
1706
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1707
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1708
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1709
|
-
localVarRequestOptions.headers = {
|
|
1710
|
-
...localVarHeaderParameter,
|
|
1711
|
-
...headersFromBaseOptions,
|
|
1712
|
-
...options.headers,
|
|
1713
|
-
};
|
|
1714
|
-
const needsSerialization = typeof memoryItem !== "string" ||
|
|
1715
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1716
|
-
localVarRequestOptions.data = needsSerialization
|
|
1717
|
-
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
1718
|
-
: memoryItem || "";
|
|
1719
|
-
return {
|
|
1720
|
-
url: toPathString(localVarUrlObj),
|
|
1721
|
-
options: localVarRequestOptions,
|
|
1722
|
-
};
|
|
1723
|
-
},
|
|
1724
1532
|
/**
|
|
1725
1533
|
* Validates LLM endpoint with provided parameters.
|
|
1726
1534
|
* @summary Validate LLM Endpoint
|
|
@@ -2011,18 +1819,6 @@ export const ActionsApiFp = function (configuration) {
|
|
|
2011
1819
|
const localVarAxiosArgs = await localVarAxiosParamCreator.computeValidObjects(workspaceId, afmValidObjectsQuery, options);
|
|
2012
1820
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2013
1821
|
},
|
|
2014
|
-
/**
|
|
2015
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
2016
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
2017
|
-
* @param {string} workspaceId Workspace identifier
|
|
2018
|
-
* @param {MemoryItem} memoryItem
|
|
2019
|
-
* @param {*} [options] Override http request option.
|
|
2020
|
-
* @throws {RequiredError}
|
|
2021
|
-
*/
|
|
2022
|
-
async createMemoryItem(workspaceId, memoryItem, options) {
|
|
2023
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMemoryItem(workspaceId, memoryItem, options);
|
|
2024
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2025
|
-
},
|
|
2026
1822
|
/**
|
|
2027
1823
|
* Returns a list of Users who created any object for this workspace
|
|
2028
1824
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -2075,18 +1871,6 @@ export const ActionsApiFp = function (configuration) {
|
|
|
2075
1871
|
const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
|
|
2076
1872
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2077
1873
|
},
|
|
2078
|
-
/**
|
|
2079
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
2080
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
2081
|
-
* @param {string} workspaceId Workspace identifier
|
|
2082
|
-
* @param {string} memoryId
|
|
2083
|
-
* @param {*} [options] Override http request option.
|
|
2084
|
-
* @throws {RequiredError}
|
|
2085
|
-
*/
|
|
2086
|
-
async getMemoryItem(workspaceId, memoryId, options) {
|
|
2087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryItem(workspaceId, memoryId, options);
|
|
2088
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2089
|
-
},
|
|
2090
1874
|
/**
|
|
2091
1875
|
* Returns metadata quality issues detected by the platform linter.
|
|
2092
1876
|
* @summary Get Quality Issues
|
|
@@ -2137,29 +1921,6 @@ export const ActionsApiFp = function (configuration) {
|
|
|
2137
1921
|
const localVarAxiosArgs = await localVarAxiosParamCreator.keyDriverAnalysisResult(workspaceId, resultId, offset, limit, options);
|
|
2138
1922
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2139
1923
|
},
|
|
2140
|
-
/**
|
|
2141
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
2142
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
2143
|
-
* @param {string} workspaceId Workspace identifier
|
|
2144
|
-
* @param {*} [options] Override http request option.
|
|
2145
|
-
* @throws {RequiredError}
|
|
2146
|
-
*/
|
|
2147
|
-
async listMemoryItems(workspaceId, options) {
|
|
2148
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listMemoryItems(workspaceId, options);
|
|
2149
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2150
|
-
},
|
|
2151
|
-
/**
|
|
2152
|
-
* (EXPERIMENTAL) Removes memory item
|
|
2153
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
2154
|
-
* @param {string} workspaceId Workspace identifier
|
|
2155
|
-
* @param {string} memoryId
|
|
2156
|
-
* @param {*} [options] Override http request option.
|
|
2157
|
-
* @throws {RequiredError}
|
|
2158
|
-
*/
|
|
2159
|
-
async removeMemoryItem(workspaceId, memoryId, options) {
|
|
2160
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.removeMemoryItem(workspaceId, memoryId, options);
|
|
2161
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2162
|
-
},
|
|
2163
1924
|
/**
|
|
2164
1925
|
* Returns a list of available LLM Endpoints
|
|
2165
1926
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -2221,19 +1982,6 @@ export const ActionsApiFp = function (configuration) {
|
|
|
2221
1982
|
const localVarAxiosArgs = await localVarAxiosParamCreator.triggerQualityIssuesCalculation(workspaceId, options);
|
|
2222
1983
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2223
1984
|
},
|
|
2224
|
-
/**
|
|
2225
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
2226
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
2227
|
-
* @param {string} workspaceId Workspace identifier
|
|
2228
|
-
* @param {string} memoryId
|
|
2229
|
-
* @param {MemoryItem} memoryItem
|
|
2230
|
-
* @param {*} [options] Override http request option.
|
|
2231
|
-
* @throws {RequiredError}
|
|
2232
|
-
*/
|
|
2233
|
-
async updateMemoryItem(workspaceId, memoryId, memoryItem, options) {
|
|
2234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMemoryItem(workspaceId, memoryId, memoryItem, options);
|
|
2235
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2236
|
-
},
|
|
2237
1985
|
/**
|
|
2238
1986
|
* Validates LLM endpoint with provided parameters.
|
|
2239
1987
|
* @summary Validate LLM Endpoint
|
|
@@ -2458,18 +2206,6 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2458
2206
|
.computeValidObjects(requestParameters.workspaceId, requestParameters.afmValidObjectsQuery, options)
|
|
2459
2207
|
.then((request) => request(axios, basePath));
|
|
2460
2208
|
},
|
|
2461
|
-
/**
|
|
2462
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
2463
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
2464
|
-
* @param {ActionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
2465
|
-
* @param {*} [options] Override http request option.
|
|
2466
|
-
* @throws {RequiredError}
|
|
2467
|
-
*/
|
|
2468
|
-
createMemoryItem(requestParameters, options) {
|
|
2469
|
-
return localVarFp
|
|
2470
|
-
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
2471
|
-
.then((request) => request(axios, basePath));
|
|
2472
|
-
},
|
|
2473
2209
|
/**
|
|
2474
2210
|
* Returns a list of Users who created any object for this workspace
|
|
2475
2211
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -2518,18 +2254,6 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2518
2254
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2519
2255
|
.then((request) => request(axios, basePath));
|
|
2520
2256
|
},
|
|
2521
|
-
/**
|
|
2522
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
2523
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
2524
|
-
* @param {ActionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
2525
|
-
* @param {*} [options] Override http request option.
|
|
2526
|
-
* @throws {RequiredError}
|
|
2527
|
-
*/
|
|
2528
|
-
getMemoryItem(requestParameters, options) {
|
|
2529
|
-
return localVarFp
|
|
2530
|
-
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2531
|
-
.then((request) => request(axios, basePath));
|
|
2532
|
-
},
|
|
2533
2257
|
/**
|
|
2534
2258
|
* Returns metadata quality issues detected by the platform linter.
|
|
2535
2259
|
* @summary Get Quality Issues
|
|
@@ -2578,30 +2302,6 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2578
2302
|
.keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2579
2303
|
.then((request) => request(axios, basePath));
|
|
2580
2304
|
},
|
|
2581
|
-
/**
|
|
2582
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
2583
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
2584
|
-
* @param {ActionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
2585
|
-
* @param {*} [options] Override http request option.
|
|
2586
|
-
* @throws {RequiredError}
|
|
2587
|
-
*/
|
|
2588
|
-
listMemoryItems(requestParameters, options) {
|
|
2589
|
-
return localVarFp
|
|
2590
|
-
.listMemoryItems(requestParameters.workspaceId, options)
|
|
2591
|
-
.then((request) => request(axios, basePath));
|
|
2592
|
-
},
|
|
2593
|
-
/**
|
|
2594
|
-
* (EXPERIMENTAL) Removes memory item
|
|
2595
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
2596
|
-
* @param {ActionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
2597
|
-
* @param {*} [options] Override http request option.
|
|
2598
|
-
* @throws {RequiredError}
|
|
2599
|
-
*/
|
|
2600
|
-
removeMemoryItem(requestParameters, options) {
|
|
2601
|
-
return localVarFp
|
|
2602
|
-
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2603
|
-
.then((request) => request(axios, basePath));
|
|
2604
|
-
},
|
|
2605
2305
|
/**
|
|
2606
2306
|
* Returns a list of available LLM Endpoints
|
|
2607
2307
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -2662,18 +2362,6 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2662
2362
|
.triggerQualityIssuesCalculation(requestParameters.workspaceId, options)
|
|
2663
2363
|
.then((request) => request(axios, basePath));
|
|
2664
2364
|
},
|
|
2665
|
-
/**
|
|
2666
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
2667
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
2668
|
-
* @param {ActionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
2669
|
-
* @param {*} [options] Override http request option.
|
|
2670
|
-
* @throws {RequiredError}
|
|
2671
|
-
*/
|
|
2672
|
-
updateMemoryItem(requestParameters, options) {
|
|
2673
|
-
return localVarFp
|
|
2674
|
-
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
2675
|
-
.then((request) => request(axios, basePath));
|
|
2676
|
-
},
|
|
2677
2365
|
/**
|
|
2678
2366
|
* Validates LLM endpoint with provided parameters.
|
|
2679
2367
|
* @summary Validate LLM Endpoint
|
|
@@ -2915,19 +2603,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
2915
2603
|
.computeValidObjects(requestParameters.workspaceId, requestParameters.afmValidObjectsQuery, options)
|
|
2916
2604
|
.then((request) => request(this.axios, this.basePath));
|
|
2917
2605
|
}
|
|
2918
|
-
/**
|
|
2919
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
2920
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
2921
|
-
* @param {ActionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
2922
|
-
* @param {*} [options] Override http request option.
|
|
2923
|
-
* @throws {RequiredError}
|
|
2924
|
-
* @memberof ActionsApi
|
|
2925
|
-
*/
|
|
2926
|
-
createMemoryItem(requestParameters, options) {
|
|
2927
|
-
return ActionsApiFp(this.configuration)
|
|
2928
|
-
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
2929
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2930
|
-
}
|
|
2931
2606
|
/**
|
|
2932
2607
|
* Returns a list of Users who created any object for this workspace
|
|
2933
2608
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -2980,19 +2655,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
2980
2655
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2981
2656
|
.then((request) => request(this.axios, this.basePath));
|
|
2982
2657
|
}
|
|
2983
|
-
/**
|
|
2984
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
2985
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
2986
|
-
* @param {ActionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
2987
|
-
* @param {*} [options] Override http request option.
|
|
2988
|
-
* @throws {RequiredError}
|
|
2989
|
-
* @memberof ActionsApi
|
|
2990
|
-
*/
|
|
2991
|
-
getMemoryItem(requestParameters, options) {
|
|
2992
|
-
return ActionsApiFp(this.configuration)
|
|
2993
|
-
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2994
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2995
|
-
}
|
|
2996
2658
|
/**
|
|
2997
2659
|
* Returns metadata quality issues detected by the platform linter.
|
|
2998
2660
|
* @summary Get Quality Issues
|
|
@@ -3045,32 +2707,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
3045
2707
|
.keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
3046
2708
|
.then((request) => request(this.axios, this.basePath));
|
|
3047
2709
|
}
|
|
3048
|
-
/**
|
|
3049
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
3050
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
3051
|
-
* @param {ActionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
3052
|
-
* @param {*} [options] Override http request option.
|
|
3053
|
-
* @throws {RequiredError}
|
|
3054
|
-
* @memberof ActionsApi
|
|
3055
|
-
*/
|
|
3056
|
-
listMemoryItems(requestParameters, options) {
|
|
3057
|
-
return ActionsApiFp(this.configuration)
|
|
3058
|
-
.listMemoryItems(requestParameters.workspaceId, options)
|
|
3059
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3060
|
-
}
|
|
3061
|
-
/**
|
|
3062
|
-
* (EXPERIMENTAL) Removes memory item
|
|
3063
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
3064
|
-
* @param {ActionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
3065
|
-
* @param {*} [options] Override http request option.
|
|
3066
|
-
* @throws {RequiredError}
|
|
3067
|
-
* @memberof ActionsApi
|
|
3068
|
-
*/
|
|
3069
|
-
removeMemoryItem(requestParameters, options) {
|
|
3070
|
-
return ActionsApiFp(this.configuration)
|
|
3071
|
-
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
3072
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3073
|
-
}
|
|
3074
2710
|
/**
|
|
3075
2711
|
* Returns a list of available LLM Endpoints
|
|
3076
2712
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -3136,19 +2772,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
3136
2772
|
.triggerQualityIssuesCalculation(requestParameters.workspaceId, options)
|
|
3137
2773
|
.then((request) => request(this.axios, this.basePath));
|
|
3138
2774
|
}
|
|
3139
|
-
/**
|
|
3140
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
3141
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
3142
|
-
* @param {ActionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
3143
|
-
* @param {*} [options] Override http request option.
|
|
3144
|
-
* @throws {RequiredError}
|
|
3145
|
-
* @memberof ActionsApi
|
|
3146
|
-
*/
|
|
3147
|
-
updateMemoryItem(requestParameters, options) {
|
|
3148
|
-
return ActionsApiFp(this.configuration)
|
|
3149
|
-
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
3150
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3151
|
-
}
|
|
3152
2775
|
/**
|
|
3153
2776
|
* Validates LLM endpoint with provided parameters.
|
|
3154
2777
|
* @summary Validate LLM Endpoint
|
|
@@ -4509,47 +4132,6 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
4509
4132
|
options: localVarRequestOptions,
|
|
4510
4133
|
};
|
|
4511
4134
|
},
|
|
4512
|
-
/**
|
|
4513
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
4514
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
4515
|
-
* @param {string} workspaceId Workspace identifier
|
|
4516
|
-
* @param {MemoryItem} memoryItem
|
|
4517
|
-
* @param {*} [options] Override http request option.
|
|
4518
|
-
* @throws {RequiredError}
|
|
4519
|
-
*/
|
|
4520
|
-
createMemoryItem: async (workspaceId, memoryItem, options = {}) => {
|
|
4521
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4522
|
-
assertParamExists("createMemoryItem", "workspaceId", workspaceId);
|
|
4523
|
-
// verify required parameter 'memoryItem' is not null or undefined
|
|
4524
|
-
assertParamExists("createMemoryItem", "memoryItem", memoryItem);
|
|
4525
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
4526
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4527
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4528
|
-
let baseOptions;
|
|
4529
|
-
if (configuration) {
|
|
4530
|
-
baseOptions = configuration.baseOptions;
|
|
4531
|
-
}
|
|
4532
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4533
|
-
const localVarHeaderParameter = {};
|
|
4534
|
-
const localVarQueryParameter = {};
|
|
4535
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4536
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4537
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4538
|
-
localVarRequestOptions.headers = {
|
|
4539
|
-
...localVarHeaderParameter,
|
|
4540
|
-
...headersFromBaseOptions,
|
|
4541
|
-
...options.headers,
|
|
4542
|
-
};
|
|
4543
|
-
const needsSerialization = typeof memoryItem !== "string" ||
|
|
4544
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
4545
|
-
localVarRequestOptions.data = needsSerialization
|
|
4546
|
-
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
4547
|
-
: memoryItem || "";
|
|
4548
|
-
return {
|
|
4549
|
-
url: toPathString(localVarUrlObj),
|
|
4550
|
-
options: localVarRequestOptions,
|
|
4551
|
-
};
|
|
4552
|
-
},
|
|
4553
4135
|
/**
|
|
4554
4136
|
* Returns a list of Users who created any object for this workspace
|
|
4555
4137
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -4677,43 +4259,6 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
4677
4259
|
options: localVarRequestOptions,
|
|
4678
4260
|
};
|
|
4679
4261
|
},
|
|
4680
|
-
/**
|
|
4681
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
4682
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
4683
|
-
* @param {string} workspaceId Workspace identifier
|
|
4684
|
-
* @param {string} memoryId
|
|
4685
|
-
* @param {*} [options] Override http request option.
|
|
4686
|
-
* @throws {RequiredError}
|
|
4687
|
-
*/
|
|
4688
|
-
getMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
4689
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4690
|
-
assertParamExists("getMemoryItem", "workspaceId", workspaceId);
|
|
4691
|
-
// verify required parameter 'memoryId' is not null or undefined
|
|
4692
|
-
assertParamExists("getMemoryItem", "memoryId", memoryId);
|
|
4693
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
4694
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
4695
|
-
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
4696
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4697
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4698
|
-
let baseOptions;
|
|
4699
|
-
if (configuration) {
|
|
4700
|
-
baseOptions = configuration.baseOptions;
|
|
4701
|
-
}
|
|
4702
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4703
|
-
const localVarHeaderParameter = {};
|
|
4704
|
-
const localVarQueryParameter = {};
|
|
4705
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4706
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4707
|
-
localVarRequestOptions.headers = {
|
|
4708
|
-
...localVarHeaderParameter,
|
|
4709
|
-
...headersFromBaseOptions,
|
|
4710
|
-
...options.headers,
|
|
4711
|
-
};
|
|
4712
|
-
return {
|
|
4713
|
-
url: toPathString(localVarUrlObj),
|
|
4714
|
-
options: localVarRequestOptions,
|
|
4715
|
-
};
|
|
4716
|
-
},
|
|
4717
4262
|
/**
|
|
4718
4263
|
* Returns metadata quality issues detected by the platform linter.
|
|
4719
4264
|
* @summary Get Quality Issues
|
|
@@ -4783,75 +4328,6 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
4783
4328
|
options: localVarRequestOptions,
|
|
4784
4329
|
};
|
|
4785
4330
|
},
|
|
4786
|
-
/**
|
|
4787
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
4788
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
4789
|
-
* @param {string} workspaceId Workspace identifier
|
|
4790
|
-
* @param {*} [options] Override http request option.
|
|
4791
|
-
* @throws {RequiredError}
|
|
4792
|
-
*/
|
|
4793
|
-
listMemoryItems: async (workspaceId, options = {}) => {
|
|
4794
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4795
|
-
assertParamExists("listMemoryItems", "workspaceId", workspaceId);
|
|
4796
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
4797
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4798
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4799
|
-
let baseOptions;
|
|
4800
|
-
if (configuration) {
|
|
4801
|
-
baseOptions = configuration.baseOptions;
|
|
4802
|
-
}
|
|
4803
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4804
|
-
const localVarHeaderParameter = {};
|
|
4805
|
-
const localVarQueryParameter = {};
|
|
4806
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4807
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4808
|
-
localVarRequestOptions.headers = {
|
|
4809
|
-
...localVarHeaderParameter,
|
|
4810
|
-
...headersFromBaseOptions,
|
|
4811
|
-
...options.headers,
|
|
4812
|
-
};
|
|
4813
|
-
return {
|
|
4814
|
-
url: toPathString(localVarUrlObj),
|
|
4815
|
-
options: localVarRequestOptions,
|
|
4816
|
-
};
|
|
4817
|
-
},
|
|
4818
|
-
/**
|
|
4819
|
-
* (EXPERIMENTAL) Removes memory item
|
|
4820
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
4821
|
-
* @param {string} workspaceId Workspace identifier
|
|
4822
|
-
* @param {string} memoryId
|
|
4823
|
-
* @param {*} [options] Override http request option.
|
|
4824
|
-
* @throws {RequiredError}
|
|
4825
|
-
*/
|
|
4826
|
-
removeMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
4827
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4828
|
-
assertParamExists("removeMemoryItem", "workspaceId", workspaceId);
|
|
4829
|
-
// verify required parameter 'memoryId' is not null or undefined
|
|
4830
|
-
assertParamExists("removeMemoryItem", "memoryId", memoryId);
|
|
4831
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
4832
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
4833
|
-
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
4834
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4835
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4836
|
-
let baseOptions;
|
|
4837
|
-
if (configuration) {
|
|
4838
|
-
baseOptions = configuration.baseOptions;
|
|
4839
|
-
}
|
|
4840
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
4841
|
-
const localVarHeaderParameter = {};
|
|
4842
|
-
const localVarQueryParameter = {};
|
|
4843
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4844
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4845
|
-
localVarRequestOptions.headers = {
|
|
4846
|
-
...localVarHeaderParameter,
|
|
4847
|
-
...headersFromBaseOptions,
|
|
4848
|
-
...options.headers,
|
|
4849
|
-
};
|
|
4850
|
-
return {
|
|
4851
|
-
url: toPathString(localVarUrlObj),
|
|
4852
|
-
options: localVarRequestOptions,
|
|
4853
|
-
};
|
|
4854
|
-
},
|
|
4855
4331
|
/**
|
|
4856
4332
|
* Returns a list of available LLM Endpoints
|
|
4857
4333
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -4948,52 +4424,6 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
4948
4424
|
options: localVarRequestOptions,
|
|
4949
4425
|
};
|
|
4950
4426
|
},
|
|
4951
|
-
/**
|
|
4952
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
4953
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
4954
|
-
* @param {string} workspaceId Workspace identifier
|
|
4955
|
-
* @param {string} memoryId
|
|
4956
|
-
* @param {MemoryItem} memoryItem
|
|
4957
|
-
* @param {*} [options] Override http request option.
|
|
4958
|
-
* @throws {RequiredError}
|
|
4959
|
-
*/
|
|
4960
|
-
updateMemoryItem: async (workspaceId, memoryId, memoryItem, options = {}) => {
|
|
4961
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4962
|
-
assertParamExists("updateMemoryItem", "workspaceId", workspaceId);
|
|
4963
|
-
// verify required parameter 'memoryId' is not null or undefined
|
|
4964
|
-
assertParamExists("updateMemoryItem", "memoryId", memoryId);
|
|
4965
|
-
// verify required parameter 'memoryItem' is not null or undefined
|
|
4966
|
-
assertParamExists("updateMemoryItem", "memoryItem", memoryItem);
|
|
4967
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
4968
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
4969
|
-
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
4970
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4971
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4972
|
-
let baseOptions;
|
|
4973
|
-
if (configuration) {
|
|
4974
|
-
baseOptions = configuration.baseOptions;
|
|
4975
|
-
}
|
|
4976
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
4977
|
-
const localVarHeaderParameter = {};
|
|
4978
|
-
const localVarQueryParameter = {};
|
|
4979
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4980
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4981
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4982
|
-
localVarRequestOptions.headers = {
|
|
4983
|
-
...localVarHeaderParameter,
|
|
4984
|
-
...headersFromBaseOptions,
|
|
4985
|
-
...options.headers,
|
|
4986
|
-
};
|
|
4987
|
-
const needsSerialization = typeof memoryItem !== "string" ||
|
|
4988
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
4989
|
-
localVarRequestOptions.data = needsSerialization
|
|
4990
|
-
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
4991
|
-
: memoryItem || "";
|
|
4992
|
-
return {
|
|
4993
|
-
url: toPathString(localVarUrlObj),
|
|
4994
|
-
options: localVarRequestOptions,
|
|
4995
|
-
};
|
|
4996
|
-
},
|
|
4997
4427
|
/**
|
|
4998
4428
|
* Validates LLM endpoint with provided parameters.
|
|
4999
4429
|
* @summary Validate LLM Endpoint
|
|
@@ -5195,18 +4625,6 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
5195
4625
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clusteringResult(workspaceId, resultId, offset, limit, options);
|
|
5196
4626
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5197
4627
|
},
|
|
5198
|
-
/**
|
|
5199
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
5200
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
5201
|
-
* @param {string} workspaceId Workspace identifier
|
|
5202
|
-
* @param {MemoryItem} memoryItem
|
|
5203
|
-
* @param {*} [options] Override http request option.
|
|
5204
|
-
* @throws {RequiredError}
|
|
5205
|
-
*/
|
|
5206
|
-
async createMemoryItem(workspaceId, memoryItem, options) {
|
|
5207
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMemoryItem(workspaceId, memoryItem, options);
|
|
5208
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5209
|
-
},
|
|
5210
4628
|
/**
|
|
5211
4629
|
* Returns a list of Users who created any object for this workspace
|
|
5212
4630
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -5246,18 +4664,6 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
5246
4664
|
const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
|
|
5247
4665
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5248
4666
|
},
|
|
5249
|
-
/**
|
|
5250
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
5251
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
5252
|
-
* @param {string} workspaceId Workspace identifier
|
|
5253
|
-
* @param {string} memoryId
|
|
5254
|
-
* @param {*} [options] Override http request option.
|
|
5255
|
-
* @throws {RequiredError}
|
|
5256
|
-
*/
|
|
5257
|
-
async getMemoryItem(workspaceId, memoryId, options) {
|
|
5258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryItem(workspaceId, memoryId, options);
|
|
5259
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5260
|
-
},
|
|
5261
4667
|
/**
|
|
5262
4668
|
* Returns metadata quality issues detected by the platform linter.
|
|
5263
4669
|
* @summary Get Quality Issues
|
|
@@ -5281,29 +4687,6 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
5281
4687
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getQualityIssuesCalculationStatus(workspaceId, processId, options);
|
|
5282
4688
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5283
4689
|
},
|
|
5284
|
-
/**
|
|
5285
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
5286
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
5287
|
-
* @param {string} workspaceId Workspace identifier
|
|
5288
|
-
* @param {*} [options] Override http request option.
|
|
5289
|
-
* @throws {RequiredError}
|
|
5290
|
-
*/
|
|
5291
|
-
async listMemoryItems(workspaceId, options) {
|
|
5292
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listMemoryItems(workspaceId, options);
|
|
5293
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5294
|
-
},
|
|
5295
|
-
/**
|
|
5296
|
-
* (EXPERIMENTAL) Removes memory item
|
|
5297
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
5298
|
-
* @param {string} workspaceId Workspace identifier
|
|
5299
|
-
* @param {string} memoryId
|
|
5300
|
-
* @param {*} [options] Override http request option.
|
|
5301
|
-
* @throws {RequiredError}
|
|
5302
|
-
*/
|
|
5303
|
-
async removeMemoryItem(workspaceId, memoryId, options) {
|
|
5304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.removeMemoryItem(workspaceId, memoryId, options);
|
|
5305
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5306
|
-
},
|
|
5307
4690
|
/**
|
|
5308
4691
|
* Returns a list of available LLM Endpoints
|
|
5309
4692
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -5337,19 +4720,6 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
5337
4720
|
const localVarAxiosArgs = await localVarAxiosParamCreator.triggerQualityIssuesCalculation(workspaceId, options);
|
|
5338
4721
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5339
4722
|
},
|
|
5340
|
-
/**
|
|
5341
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
5342
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
5343
|
-
* @param {string} workspaceId Workspace identifier
|
|
5344
|
-
* @param {string} memoryId
|
|
5345
|
-
* @param {MemoryItem} memoryItem
|
|
5346
|
-
* @param {*} [options] Override http request option.
|
|
5347
|
-
* @throws {RequiredError}
|
|
5348
|
-
*/
|
|
5349
|
-
async updateMemoryItem(workspaceId, memoryId, memoryItem, options) {
|
|
5350
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMemoryItem(workspaceId, memoryId, memoryItem, options);
|
|
5351
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5352
|
-
},
|
|
5353
4723
|
/**
|
|
5354
4724
|
* Validates LLM endpoint with provided parameters.
|
|
5355
4725
|
* @summary Validate LLM Endpoint
|
|
@@ -5490,18 +4860,6 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
5490
4860
|
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
5491
4861
|
.then((request) => request(axios, basePath));
|
|
5492
4862
|
},
|
|
5493
|
-
/**
|
|
5494
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
5495
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
5496
|
-
* @param {SmartFunctionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
5497
|
-
* @param {*} [options] Override http request option.
|
|
5498
|
-
* @throws {RequiredError}
|
|
5499
|
-
*/
|
|
5500
|
-
createMemoryItem(requestParameters, options) {
|
|
5501
|
-
return localVarFp
|
|
5502
|
-
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
5503
|
-
.then((request) => request(axios, basePath));
|
|
5504
|
-
},
|
|
5505
4863
|
/**
|
|
5506
4864
|
* Returns a list of Users who created any object for this workspace
|
|
5507
4865
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -5538,18 +4896,6 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
5538
4896
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
5539
4897
|
.then((request) => request(axios, basePath));
|
|
5540
4898
|
},
|
|
5541
|
-
/**
|
|
5542
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
5543
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
5544
|
-
* @param {SmartFunctionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
5545
|
-
* @param {*} [options] Override http request option.
|
|
5546
|
-
* @throws {RequiredError}
|
|
5547
|
-
*/
|
|
5548
|
-
getMemoryItem(requestParameters, options) {
|
|
5549
|
-
return localVarFp
|
|
5550
|
-
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5551
|
-
.then((request) => request(axios, basePath));
|
|
5552
|
-
},
|
|
5553
4899
|
/**
|
|
5554
4900
|
* Returns metadata quality issues detected by the platform linter.
|
|
5555
4901
|
* @summary Get Quality Issues
|
|
@@ -5574,30 +4920,6 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
5574
4920
|
.getQualityIssuesCalculationStatus(requestParameters.workspaceId, requestParameters.processId, options)
|
|
5575
4921
|
.then((request) => request(axios, basePath));
|
|
5576
4922
|
},
|
|
5577
|
-
/**
|
|
5578
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
5579
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
5580
|
-
* @param {SmartFunctionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
5581
|
-
* @param {*} [options] Override http request option.
|
|
5582
|
-
* @throws {RequiredError}
|
|
5583
|
-
*/
|
|
5584
|
-
listMemoryItems(requestParameters, options) {
|
|
5585
|
-
return localVarFp
|
|
5586
|
-
.listMemoryItems(requestParameters.workspaceId, options)
|
|
5587
|
-
.then((request) => request(axios, basePath));
|
|
5588
|
-
},
|
|
5589
|
-
/**
|
|
5590
|
-
* (EXPERIMENTAL) Removes memory item
|
|
5591
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
5592
|
-
* @param {SmartFunctionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
5593
|
-
* @param {*} [options] Override http request option.
|
|
5594
|
-
* @throws {RequiredError}
|
|
5595
|
-
*/
|
|
5596
|
-
removeMemoryItem(requestParameters, options) {
|
|
5597
|
-
return localVarFp
|
|
5598
|
-
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5599
|
-
.then((request) => request(axios, basePath));
|
|
5600
|
-
},
|
|
5601
4923
|
/**
|
|
5602
4924
|
* Returns a list of available LLM Endpoints
|
|
5603
4925
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -5634,18 +4956,6 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
5634
4956
|
.triggerQualityIssuesCalculation(requestParameters.workspaceId, options)
|
|
5635
4957
|
.then((request) => request(axios, basePath));
|
|
5636
4958
|
},
|
|
5637
|
-
/**
|
|
5638
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
5639
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
5640
|
-
* @param {SmartFunctionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
5641
|
-
* @param {*} [options] Override http request option.
|
|
5642
|
-
* @throws {RequiredError}
|
|
5643
|
-
*/
|
|
5644
|
-
updateMemoryItem(requestParameters, options) {
|
|
5645
|
-
return localVarFp
|
|
5646
|
-
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
5647
|
-
.then((request) => request(axios, basePath));
|
|
5648
|
-
},
|
|
5649
4959
|
/**
|
|
5650
4960
|
* Validates LLM endpoint with provided parameters.
|
|
5651
4961
|
* @summary Validate LLM Endpoint
|
|
@@ -5796,19 +5106,6 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
5796
5106
|
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
5797
5107
|
.then((request) => request(this.axios, this.basePath));
|
|
5798
5108
|
}
|
|
5799
|
-
/**
|
|
5800
|
-
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
5801
|
-
* @summary (EXPERIMENTAL) Create new memory item
|
|
5802
|
-
* @param {SmartFunctionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
5803
|
-
* @param {*} [options] Override http request option.
|
|
5804
|
-
* @throws {RequiredError}
|
|
5805
|
-
* @memberof SmartFunctionsApi
|
|
5806
|
-
*/
|
|
5807
|
-
createMemoryItem(requestParameters, options) {
|
|
5808
|
-
return SmartFunctionsApiFp(this.configuration)
|
|
5809
|
-
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
5810
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5811
|
-
}
|
|
5812
5109
|
/**
|
|
5813
5110
|
* Returns a list of Users who created any object for this workspace
|
|
5814
5111
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -5848,19 +5145,6 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
5848
5145
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
5849
5146
|
.then((request) => request(this.axios, this.basePath));
|
|
5850
5147
|
}
|
|
5851
|
-
/**
|
|
5852
|
-
* (EXPERIMENTAL) Get memory item by id
|
|
5853
|
-
* @summary (EXPERIMENTAL) Get memory item
|
|
5854
|
-
* @param {SmartFunctionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
5855
|
-
* @param {*} [options] Override http request option.
|
|
5856
|
-
* @throws {RequiredError}
|
|
5857
|
-
* @memberof SmartFunctionsApi
|
|
5858
|
-
*/
|
|
5859
|
-
getMemoryItem(requestParameters, options) {
|
|
5860
|
-
return SmartFunctionsApiFp(this.configuration)
|
|
5861
|
-
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5862
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5863
|
-
}
|
|
5864
5148
|
/**
|
|
5865
5149
|
* Returns metadata quality issues detected by the platform linter.
|
|
5866
5150
|
* @summary Get Quality Issues
|
|
@@ -5887,32 +5171,6 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
5887
5171
|
.getQualityIssuesCalculationStatus(requestParameters.workspaceId, requestParameters.processId, options)
|
|
5888
5172
|
.then((request) => request(this.axios, this.basePath));
|
|
5889
5173
|
}
|
|
5890
|
-
/**
|
|
5891
|
-
* (EXPERIMENTAL) Returns a list of memory items
|
|
5892
|
-
* @summary (EXPERIMENTAL) List all memory items
|
|
5893
|
-
* @param {SmartFunctionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
5894
|
-
* @param {*} [options] Override http request option.
|
|
5895
|
-
* @throws {RequiredError}
|
|
5896
|
-
* @memberof SmartFunctionsApi
|
|
5897
|
-
*/
|
|
5898
|
-
listMemoryItems(requestParameters, options) {
|
|
5899
|
-
return SmartFunctionsApiFp(this.configuration)
|
|
5900
|
-
.listMemoryItems(requestParameters.workspaceId, options)
|
|
5901
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5902
|
-
}
|
|
5903
|
-
/**
|
|
5904
|
-
* (EXPERIMENTAL) Removes memory item
|
|
5905
|
-
* @summary (EXPERIMENTAL) Remove memory item
|
|
5906
|
-
* @param {SmartFunctionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
5907
|
-
* @param {*} [options] Override http request option.
|
|
5908
|
-
* @throws {RequiredError}
|
|
5909
|
-
* @memberof SmartFunctionsApi
|
|
5910
|
-
*/
|
|
5911
|
-
removeMemoryItem(requestParameters, options) {
|
|
5912
|
-
return SmartFunctionsApiFp(this.configuration)
|
|
5913
|
-
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5914
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5915
|
-
}
|
|
5916
5174
|
/**
|
|
5917
5175
|
* Returns a list of available LLM Endpoints
|
|
5918
5176
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -5952,19 +5210,6 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
5952
5210
|
.triggerQualityIssuesCalculation(requestParameters.workspaceId, options)
|
|
5953
5211
|
.then((request) => request(this.axios, this.basePath));
|
|
5954
5212
|
}
|
|
5955
|
-
/**
|
|
5956
|
-
* (EXPERIMENTAL) Updates memory item and returns it
|
|
5957
|
-
* @summary (EXPERIMENTAL) Update memory item
|
|
5958
|
-
* @param {SmartFunctionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
5959
|
-
* @param {*} [options] Override http request option.
|
|
5960
|
-
* @throws {RequiredError}
|
|
5961
|
-
* @memberof SmartFunctionsApi
|
|
5962
|
-
*/
|
|
5963
|
-
updateMemoryItem(requestParameters, options) {
|
|
5964
|
-
return SmartFunctionsApiFp(this.configuration)
|
|
5965
|
-
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
5966
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5967
|
-
}
|
|
5968
5213
|
/**
|
|
5969
5214
|
* Validates LLM endpoint with provided parameters.
|
|
5970
5215
|
* @summary Validate LLM Endpoint
|