@gooddata/api-client-tiger 11.2.0 → 11.3.0-alpha.1
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.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +1045 -511
- package/esm/generated/afm-rest-api/api.d.ts +692 -5
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +761 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +283 -0
- package/esm/generated/automation-json-api/api.d.ts +23 -7
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/automation-json-api/api.js +10 -0
- package/esm/generated/automation-json-api/api.js.map +1 -1
- package/esm/generated/automation-json-api/openapi-spec.json +16 -9
- package/esm/generated/export-json-api/api.d.ts +22 -7
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.js +9 -0
- package/esm/generated/export-json-api/api.js.map +1 -1
- package/esm/generated/export-json-api/openapi-spec.json +16 -9
- package/esm/generated/metadata-json-api/api.d.ts +550 -452
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +43 -16
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +7957 -7854
- package/package.json +3 -4
|
@@ -203,6 +203,11 @@ export const KeyDriversRequestSortDirectionEnum = {
|
|
|
203
203
|
ASC: "ASC",
|
|
204
204
|
DESC: "DESC",
|
|
205
205
|
};
|
|
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
|
+
};
|
|
206
211
|
export const MetricTypeEnum = {
|
|
207
212
|
METRIC: "metric",
|
|
208
213
|
FACT: "fact",
|
|
@@ -913,6 +918,47 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
913
918
|
options: localVarRequestOptions,
|
|
914
919
|
};
|
|
915
920
|
},
|
|
921
|
+
/**
|
|
922
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
923
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
924
|
+
* @param {string} workspaceId Workspace identifier
|
|
925
|
+
* @param {MemoryItem} memoryItem
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
*/
|
|
929
|
+
createMemoryItem: async (workspaceId, memoryItem, options = {}) => {
|
|
930
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
931
|
+
assertParamExists("createMemoryItem", "workspaceId", workspaceId);
|
|
932
|
+
// verify required parameter 'memoryItem' is not null or undefined
|
|
933
|
+
assertParamExists("createMemoryItem", "memoryItem", memoryItem);
|
|
934
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
935
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
936
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
937
|
+
let baseOptions;
|
|
938
|
+
if (configuration) {
|
|
939
|
+
baseOptions = configuration.baseOptions;
|
|
940
|
+
}
|
|
941
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
942
|
+
const localVarHeaderParameter = {};
|
|
943
|
+
const localVarQueryParameter = {};
|
|
944
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
947
|
+
localVarRequestOptions.headers = {
|
|
948
|
+
...localVarHeaderParameter,
|
|
949
|
+
...headersFromBaseOptions,
|
|
950
|
+
...options.headers,
|
|
951
|
+
};
|
|
952
|
+
const needsSerialization = typeof memoryItem !== "string" ||
|
|
953
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
954
|
+
localVarRequestOptions.data = needsSerialization
|
|
955
|
+
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
956
|
+
: memoryItem || "";
|
|
957
|
+
return {
|
|
958
|
+
url: toPathString(localVarUrlObj),
|
|
959
|
+
options: localVarRequestOptions,
|
|
960
|
+
};
|
|
961
|
+
},
|
|
916
962
|
/**
|
|
917
963
|
* Returns a list of Users who created any object for this workspace
|
|
918
964
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -1085,6 +1131,43 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1085
1131
|
options: localVarRequestOptions,
|
|
1086
1132
|
};
|
|
1087
1133
|
},
|
|
1134
|
+
/**
|
|
1135
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
1136
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
1137
|
+
* @param {string} workspaceId Workspace identifier
|
|
1138
|
+
* @param {string} memoryId
|
|
1139
|
+
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
getMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
1143
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1144
|
+
assertParamExists("getMemoryItem", "workspaceId", workspaceId);
|
|
1145
|
+
// verify required parameter 'memoryId' is not null or undefined
|
|
1146
|
+
assertParamExists("getMemoryItem", "memoryId", memoryId);
|
|
1147
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
1148
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1149
|
+
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
1150
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1151
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1152
|
+
let baseOptions;
|
|
1153
|
+
if (configuration) {
|
|
1154
|
+
baseOptions = configuration.baseOptions;
|
|
1155
|
+
}
|
|
1156
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1157
|
+
const localVarHeaderParameter = {};
|
|
1158
|
+
const localVarQueryParameter = {};
|
|
1159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1161
|
+
localVarRequestOptions.headers = {
|
|
1162
|
+
...localVarHeaderParameter,
|
|
1163
|
+
...headersFromBaseOptions,
|
|
1164
|
+
...options.headers,
|
|
1165
|
+
};
|
|
1166
|
+
return {
|
|
1167
|
+
url: toPathString(localVarUrlObj),
|
|
1168
|
+
options: localVarRequestOptions,
|
|
1169
|
+
};
|
|
1170
|
+
},
|
|
1088
1171
|
/**
|
|
1089
1172
|
* Returns metadata quality issues detected by the platform linter.
|
|
1090
1173
|
* @summary Get Quality Issues
|
|
@@ -1207,6 +1290,75 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1207
1290
|
options: localVarRequestOptions,
|
|
1208
1291
|
};
|
|
1209
1292
|
},
|
|
1293
|
+
/**
|
|
1294
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
1295
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
1296
|
+
* @param {string} workspaceId Workspace identifier
|
|
1297
|
+
* @param {*} [options] Override http request option.
|
|
1298
|
+
* @throws {RequiredError}
|
|
1299
|
+
*/
|
|
1300
|
+
listMemoryItems: async (workspaceId, options = {}) => {
|
|
1301
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1302
|
+
assertParamExists("listMemoryItems", "workspaceId", workspaceId);
|
|
1303
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1305
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1306
|
+
let baseOptions;
|
|
1307
|
+
if (configuration) {
|
|
1308
|
+
baseOptions = configuration.baseOptions;
|
|
1309
|
+
}
|
|
1310
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1311
|
+
const localVarHeaderParameter = {};
|
|
1312
|
+
const localVarQueryParameter = {};
|
|
1313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1315
|
+
localVarRequestOptions.headers = {
|
|
1316
|
+
...localVarHeaderParameter,
|
|
1317
|
+
...headersFromBaseOptions,
|
|
1318
|
+
...options.headers,
|
|
1319
|
+
};
|
|
1320
|
+
return {
|
|
1321
|
+
url: toPathString(localVarUrlObj),
|
|
1322
|
+
options: localVarRequestOptions,
|
|
1323
|
+
};
|
|
1324
|
+
},
|
|
1325
|
+
/**
|
|
1326
|
+
* (EXPERIMENTAL) Removes memory item
|
|
1327
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
1328
|
+
* @param {string} workspaceId Workspace identifier
|
|
1329
|
+
* @param {string} memoryId
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
removeMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
1334
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1335
|
+
assertParamExists("removeMemoryItem", "workspaceId", workspaceId);
|
|
1336
|
+
// verify required parameter 'memoryId' is not null or undefined
|
|
1337
|
+
assertParamExists("removeMemoryItem", "memoryId", memoryId);
|
|
1338
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
1339
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1340
|
+
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
1341
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1342
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1343
|
+
let baseOptions;
|
|
1344
|
+
if (configuration) {
|
|
1345
|
+
baseOptions = configuration.baseOptions;
|
|
1346
|
+
}
|
|
1347
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1348
|
+
const localVarHeaderParameter = {};
|
|
1349
|
+
const localVarQueryParameter = {};
|
|
1350
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1351
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1352
|
+
localVarRequestOptions.headers = {
|
|
1353
|
+
...localVarHeaderParameter,
|
|
1354
|
+
...headersFromBaseOptions,
|
|
1355
|
+
...options.headers,
|
|
1356
|
+
};
|
|
1357
|
+
return {
|
|
1358
|
+
url: toPathString(localVarUrlObj),
|
|
1359
|
+
options: localVarRequestOptions,
|
|
1360
|
+
};
|
|
1361
|
+
},
|
|
1210
1362
|
/**
|
|
1211
1363
|
* Returns a list of available LLM Endpoints
|
|
1212
1364
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -1361,6 +1513,52 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1361
1513
|
options: localVarRequestOptions,
|
|
1362
1514
|
};
|
|
1363
1515
|
},
|
|
1516
|
+
/**
|
|
1517
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
1518
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
1519
|
+
* @param {string} workspaceId Workspace identifier
|
|
1520
|
+
* @param {string} memoryId
|
|
1521
|
+
* @param {MemoryItem} memoryItem
|
|
1522
|
+
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @throws {RequiredError}
|
|
1524
|
+
*/
|
|
1525
|
+
updateMemoryItem: async (workspaceId, memoryId, memoryItem, options = {}) => {
|
|
1526
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1527
|
+
assertParamExists("updateMemoryItem", "workspaceId", workspaceId);
|
|
1528
|
+
// verify required parameter 'memoryId' is not null or undefined
|
|
1529
|
+
assertParamExists("updateMemoryItem", "memoryId", memoryId);
|
|
1530
|
+
// verify required parameter 'memoryItem' is not null or undefined
|
|
1531
|
+
assertParamExists("updateMemoryItem", "memoryItem", memoryItem);
|
|
1532
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
1533
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1534
|
+
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
1535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1536
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1537
|
+
let baseOptions;
|
|
1538
|
+
if (configuration) {
|
|
1539
|
+
baseOptions = configuration.baseOptions;
|
|
1540
|
+
}
|
|
1541
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1542
|
+
const localVarHeaderParameter = {};
|
|
1543
|
+
const localVarQueryParameter = {};
|
|
1544
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1545
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1546
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1547
|
+
localVarRequestOptions.headers = {
|
|
1548
|
+
...localVarHeaderParameter,
|
|
1549
|
+
...headersFromBaseOptions,
|
|
1550
|
+
...options.headers,
|
|
1551
|
+
};
|
|
1552
|
+
const needsSerialization = typeof memoryItem !== "string" ||
|
|
1553
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1554
|
+
localVarRequestOptions.data = needsSerialization
|
|
1555
|
+
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
1556
|
+
: memoryItem || "";
|
|
1557
|
+
return {
|
|
1558
|
+
url: toPathString(localVarUrlObj),
|
|
1559
|
+
options: localVarRequestOptions,
|
|
1560
|
+
};
|
|
1561
|
+
},
|
|
1364
1562
|
/**
|
|
1365
1563
|
* Validates LLM endpoint with provided parameters.
|
|
1366
1564
|
* @summary Validate LLM Endpoint
|
|
@@ -1627,6 +1825,18 @@ export const ActionsApiFp = function (configuration) {
|
|
|
1627
1825
|
const localVarAxiosArgs = await localVarAxiosParamCreator.computeValidObjects(workspaceId, afmValidObjectsQuery, options);
|
|
1628
1826
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1629
1827
|
},
|
|
1828
|
+
/**
|
|
1829
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
1830
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
1831
|
+
* @param {string} workspaceId Workspace identifier
|
|
1832
|
+
* @param {MemoryItem} memoryItem
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
*/
|
|
1836
|
+
async createMemoryItem(workspaceId, memoryItem, options) {
|
|
1837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMemoryItem(workspaceId, memoryItem, options);
|
|
1838
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1839
|
+
},
|
|
1630
1840
|
/**
|
|
1631
1841
|
* Returns a list of Users who created any object for this workspace
|
|
1632
1842
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -1679,6 +1889,18 @@ export const ActionsApiFp = function (configuration) {
|
|
|
1679
1889
|
const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
|
|
1680
1890
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1681
1891
|
},
|
|
1892
|
+
/**
|
|
1893
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
1894
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
1895
|
+
* @param {string} workspaceId Workspace identifier
|
|
1896
|
+
* @param {string} memoryId
|
|
1897
|
+
* @param {*} [options] Override http request option.
|
|
1898
|
+
* @throws {RequiredError}
|
|
1899
|
+
*/
|
|
1900
|
+
async getMemoryItem(workspaceId, memoryId, options) {
|
|
1901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryItem(workspaceId, memoryId, options);
|
|
1902
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1903
|
+
},
|
|
1682
1904
|
/**
|
|
1683
1905
|
* Returns metadata quality issues detected by the platform linter.
|
|
1684
1906
|
* @summary Get Quality Issues
|
|
@@ -1717,6 +1939,29 @@ export const ActionsApiFp = function (configuration) {
|
|
|
1717
1939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.keyDriverAnalysisResult(workspaceId, resultId, offset, limit, options);
|
|
1718
1940
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1719
1941
|
},
|
|
1942
|
+
/**
|
|
1943
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
1944
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
1945
|
+
* @param {string} workspaceId Workspace identifier
|
|
1946
|
+
* @param {*} [options] Override http request option.
|
|
1947
|
+
* @throws {RequiredError}
|
|
1948
|
+
*/
|
|
1949
|
+
async listMemoryItems(workspaceId, options) {
|
|
1950
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMemoryItems(workspaceId, options);
|
|
1951
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1952
|
+
},
|
|
1953
|
+
/**
|
|
1954
|
+
* (EXPERIMENTAL) Removes memory item
|
|
1955
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
1956
|
+
* @param {string} workspaceId Workspace identifier
|
|
1957
|
+
* @param {string} memoryId
|
|
1958
|
+
* @param {*} [options] Override http request option.
|
|
1959
|
+
* @throws {RequiredError}
|
|
1960
|
+
*/
|
|
1961
|
+
async removeMemoryItem(workspaceId, memoryId, options) {
|
|
1962
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeMemoryItem(workspaceId, memoryId, options);
|
|
1963
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1964
|
+
},
|
|
1720
1965
|
/**
|
|
1721
1966
|
* Returns a list of available LLM Endpoints
|
|
1722
1967
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -1767,6 +2012,19 @@ export const ActionsApiFp = function (configuration) {
|
|
|
1767
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tags(workspaceId, options);
|
|
1768
2013
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1769
2014
|
},
|
|
2015
|
+
/**
|
|
2016
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
2017
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
2018
|
+
* @param {string} workspaceId Workspace identifier
|
|
2019
|
+
* @param {string} memoryId
|
|
2020
|
+
* @param {MemoryItem} memoryItem
|
|
2021
|
+
* @param {*} [options] Override http request option.
|
|
2022
|
+
* @throws {RequiredError}
|
|
2023
|
+
*/
|
|
2024
|
+
async updateMemoryItem(workspaceId, memoryId, memoryItem, options) {
|
|
2025
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMemoryItem(workspaceId, memoryId, memoryItem, options);
|
|
2026
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2027
|
+
},
|
|
1770
2028
|
/**
|
|
1771
2029
|
* Validates LLM endpoint with provided parameters.
|
|
1772
2030
|
* @summary Validate LLM Endpoint
|
|
@@ -1967,6 +2225,18 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1967
2225
|
.computeValidObjects(requestParameters.workspaceId, requestParameters.afmValidObjectsQuery, options)
|
|
1968
2226
|
.then((request) => request(axios, basePath));
|
|
1969
2227
|
},
|
|
2228
|
+
/**
|
|
2229
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
2230
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
2231
|
+
* @param {ActionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
2232
|
+
* @param {*} [options] Override http request option.
|
|
2233
|
+
* @throws {RequiredError}
|
|
2234
|
+
*/
|
|
2235
|
+
createMemoryItem(requestParameters, options) {
|
|
2236
|
+
return localVarFp
|
|
2237
|
+
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
2238
|
+
.then((request) => request(axios, basePath));
|
|
2239
|
+
},
|
|
1970
2240
|
/**
|
|
1971
2241
|
* Returns a list of Users who created any object for this workspace
|
|
1972
2242
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -2015,6 +2285,18 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2015
2285
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2016
2286
|
.then((request) => request(axios, basePath));
|
|
2017
2287
|
},
|
|
2288
|
+
/**
|
|
2289
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
2290
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
2291
|
+
* @param {ActionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
2292
|
+
* @param {*} [options] Override http request option.
|
|
2293
|
+
* @throws {RequiredError}
|
|
2294
|
+
*/
|
|
2295
|
+
getMemoryItem(requestParameters, options) {
|
|
2296
|
+
return localVarFp
|
|
2297
|
+
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2298
|
+
.then((request) => request(axios, basePath));
|
|
2299
|
+
},
|
|
2018
2300
|
/**
|
|
2019
2301
|
* Returns metadata quality issues detected by the platform linter.
|
|
2020
2302
|
* @summary Get Quality Issues
|
|
@@ -2051,6 +2333,30 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2051
2333
|
.keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2052
2334
|
.then((request) => request(axios, basePath));
|
|
2053
2335
|
},
|
|
2336
|
+
/**
|
|
2337
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
2338
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
2339
|
+
* @param {ActionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
2340
|
+
* @param {*} [options] Override http request option.
|
|
2341
|
+
* @throws {RequiredError}
|
|
2342
|
+
*/
|
|
2343
|
+
listMemoryItems(requestParameters, options) {
|
|
2344
|
+
return localVarFp
|
|
2345
|
+
.listMemoryItems(requestParameters.workspaceId, options)
|
|
2346
|
+
.then((request) => request(axios, basePath));
|
|
2347
|
+
},
|
|
2348
|
+
/**
|
|
2349
|
+
* (EXPERIMENTAL) Removes memory item
|
|
2350
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
2351
|
+
* @param {ActionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
2352
|
+
* @param {*} [options] Override http request option.
|
|
2353
|
+
* @throws {RequiredError}
|
|
2354
|
+
*/
|
|
2355
|
+
removeMemoryItem(requestParameters, options) {
|
|
2356
|
+
return localVarFp
|
|
2357
|
+
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2358
|
+
.then((request) => request(axios, basePath));
|
|
2359
|
+
},
|
|
2054
2360
|
/**
|
|
2055
2361
|
* Returns a list of available LLM Endpoints
|
|
2056
2362
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -2099,6 +2405,18 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2099
2405
|
.tags(requestParameters.workspaceId, options)
|
|
2100
2406
|
.then((request) => request(axios, basePath));
|
|
2101
2407
|
},
|
|
2408
|
+
/**
|
|
2409
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
2410
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
2411
|
+
* @param {ActionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
2412
|
+
* @param {*} [options] Override http request option.
|
|
2413
|
+
* @throws {RequiredError}
|
|
2414
|
+
*/
|
|
2415
|
+
updateMemoryItem(requestParameters, options) {
|
|
2416
|
+
return localVarFp
|
|
2417
|
+
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
2418
|
+
.then((request) => request(axios, basePath));
|
|
2419
|
+
},
|
|
2102
2420
|
/**
|
|
2103
2421
|
* Validates LLM endpoint with provided parameters.
|
|
2104
2422
|
* @summary Validate LLM Endpoint
|
|
@@ -2314,6 +2632,19 @@ export class ActionsApi extends BaseAPI {
|
|
|
2314
2632
|
.computeValidObjects(requestParameters.workspaceId, requestParameters.afmValidObjectsQuery, options)
|
|
2315
2633
|
.then((request) => request(this.axios, this.basePath));
|
|
2316
2634
|
}
|
|
2635
|
+
/**
|
|
2636
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
2637
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
2638
|
+
* @param {ActionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
2639
|
+
* @param {*} [options] Override http request option.
|
|
2640
|
+
* @throws {RequiredError}
|
|
2641
|
+
* @memberof ActionsApi
|
|
2642
|
+
*/
|
|
2643
|
+
createMemoryItem(requestParameters, options) {
|
|
2644
|
+
return ActionsApiFp(this.configuration)
|
|
2645
|
+
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
2646
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2647
|
+
}
|
|
2317
2648
|
/**
|
|
2318
2649
|
* Returns a list of Users who created any object for this workspace
|
|
2319
2650
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -2366,6 +2697,19 @@ export class ActionsApi extends BaseAPI {
|
|
|
2366
2697
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2367
2698
|
.then((request) => request(this.axios, this.basePath));
|
|
2368
2699
|
}
|
|
2700
|
+
/**
|
|
2701
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
2702
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
2703
|
+
* @param {ActionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
2704
|
+
* @param {*} [options] Override http request option.
|
|
2705
|
+
* @throws {RequiredError}
|
|
2706
|
+
* @memberof ActionsApi
|
|
2707
|
+
*/
|
|
2708
|
+
getMemoryItem(requestParameters, options) {
|
|
2709
|
+
return ActionsApiFp(this.configuration)
|
|
2710
|
+
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2711
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2712
|
+
}
|
|
2369
2713
|
/**
|
|
2370
2714
|
* Returns metadata quality issues detected by the platform linter.
|
|
2371
2715
|
* @summary Get Quality Issues
|
|
@@ -2405,6 +2749,32 @@ export class ActionsApi extends BaseAPI {
|
|
|
2405
2749
|
.keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2406
2750
|
.then((request) => request(this.axios, this.basePath));
|
|
2407
2751
|
}
|
|
2752
|
+
/**
|
|
2753
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
2754
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
2755
|
+
* @param {ActionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
2756
|
+
* @param {*} [options] Override http request option.
|
|
2757
|
+
* @throws {RequiredError}
|
|
2758
|
+
* @memberof ActionsApi
|
|
2759
|
+
*/
|
|
2760
|
+
listMemoryItems(requestParameters, options) {
|
|
2761
|
+
return ActionsApiFp(this.configuration)
|
|
2762
|
+
.listMemoryItems(requestParameters.workspaceId, options)
|
|
2763
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2764
|
+
}
|
|
2765
|
+
/**
|
|
2766
|
+
* (EXPERIMENTAL) Removes memory item
|
|
2767
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
2768
|
+
* @param {ActionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
2769
|
+
* @param {*} [options] Override http request option.
|
|
2770
|
+
* @throws {RequiredError}
|
|
2771
|
+
* @memberof ActionsApi
|
|
2772
|
+
*/
|
|
2773
|
+
removeMemoryItem(requestParameters, options) {
|
|
2774
|
+
return ActionsApiFp(this.configuration)
|
|
2775
|
+
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
2776
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2777
|
+
}
|
|
2408
2778
|
/**
|
|
2409
2779
|
* Returns a list of available LLM Endpoints
|
|
2410
2780
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -2457,6 +2827,19 @@ export class ActionsApi extends BaseAPI {
|
|
|
2457
2827
|
.tags(requestParameters.workspaceId, options)
|
|
2458
2828
|
.then((request) => request(this.axios, this.basePath));
|
|
2459
2829
|
}
|
|
2830
|
+
/**
|
|
2831
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
2832
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
2833
|
+
* @param {ActionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
2834
|
+
* @param {*} [options] Override http request option.
|
|
2835
|
+
* @throws {RequiredError}
|
|
2836
|
+
* @memberof ActionsApi
|
|
2837
|
+
*/
|
|
2838
|
+
updateMemoryItem(requestParameters, options) {
|
|
2839
|
+
return ActionsApiFp(this.configuration)
|
|
2840
|
+
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
2841
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2842
|
+
}
|
|
2460
2843
|
/**
|
|
2461
2844
|
* Validates LLM endpoint with provided parameters.
|
|
2462
2845
|
* @summary Validate LLM Endpoint
|
|
@@ -3665,6 +4048,47 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
3665
4048
|
options: localVarRequestOptions,
|
|
3666
4049
|
};
|
|
3667
4050
|
},
|
|
4051
|
+
/**
|
|
4052
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
4053
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
4054
|
+
* @param {string} workspaceId Workspace identifier
|
|
4055
|
+
* @param {MemoryItem} memoryItem
|
|
4056
|
+
* @param {*} [options] Override http request option.
|
|
4057
|
+
* @throws {RequiredError}
|
|
4058
|
+
*/
|
|
4059
|
+
createMemoryItem: async (workspaceId, memoryItem, options = {}) => {
|
|
4060
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
4061
|
+
assertParamExists("createMemoryItem", "workspaceId", workspaceId);
|
|
4062
|
+
// verify required parameter 'memoryItem' is not null or undefined
|
|
4063
|
+
assertParamExists("createMemoryItem", "memoryItem", memoryItem);
|
|
4064
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
4065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4066
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4067
|
+
let baseOptions;
|
|
4068
|
+
if (configuration) {
|
|
4069
|
+
baseOptions = configuration.baseOptions;
|
|
4070
|
+
}
|
|
4071
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4072
|
+
const localVarHeaderParameter = {};
|
|
4073
|
+
const localVarQueryParameter = {};
|
|
4074
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4075
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4076
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4077
|
+
localVarRequestOptions.headers = {
|
|
4078
|
+
...localVarHeaderParameter,
|
|
4079
|
+
...headersFromBaseOptions,
|
|
4080
|
+
...options.headers,
|
|
4081
|
+
};
|
|
4082
|
+
const needsSerialization = typeof memoryItem !== "string" ||
|
|
4083
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
4084
|
+
localVarRequestOptions.data = needsSerialization
|
|
4085
|
+
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
4086
|
+
: memoryItem || "";
|
|
4087
|
+
return {
|
|
4088
|
+
url: toPathString(localVarUrlObj),
|
|
4089
|
+
options: localVarRequestOptions,
|
|
4090
|
+
};
|
|
4091
|
+
},
|
|
3668
4092
|
/**
|
|
3669
4093
|
* Returns a list of Users who created any object for this workspace
|
|
3670
4094
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -3792,6 +4216,43 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
3792
4216
|
options: localVarRequestOptions,
|
|
3793
4217
|
};
|
|
3794
4218
|
},
|
|
4219
|
+
/**
|
|
4220
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
4221
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
4222
|
+
* @param {string} workspaceId Workspace identifier
|
|
4223
|
+
* @param {string} memoryId
|
|
4224
|
+
* @param {*} [options] Override http request option.
|
|
4225
|
+
* @throws {RequiredError}
|
|
4226
|
+
*/
|
|
4227
|
+
getMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
4228
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
4229
|
+
assertParamExists("getMemoryItem", "workspaceId", workspaceId);
|
|
4230
|
+
// verify required parameter 'memoryId' is not null or undefined
|
|
4231
|
+
assertParamExists("getMemoryItem", "memoryId", memoryId);
|
|
4232
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
4233
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
4234
|
+
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
4235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4236
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4237
|
+
let baseOptions;
|
|
4238
|
+
if (configuration) {
|
|
4239
|
+
baseOptions = configuration.baseOptions;
|
|
4240
|
+
}
|
|
4241
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4242
|
+
const localVarHeaderParameter = {};
|
|
4243
|
+
const localVarQueryParameter = {};
|
|
4244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4246
|
+
localVarRequestOptions.headers = {
|
|
4247
|
+
...localVarHeaderParameter,
|
|
4248
|
+
...headersFromBaseOptions,
|
|
4249
|
+
...options.headers,
|
|
4250
|
+
};
|
|
4251
|
+
return {
|
|
4252
|
+
url: toPathString(localVarUrlObj),
|
|
4253
|
+
options: localVarRequestOptions,
|
|
4254
|
+
};
|
|
4255
|
+
},
|
|
3795
4256
|
/**
|
|
3796
4257
|
* Returns metadata quality issues detected by the platform linter.
|
|
3797
4258
|
* @summary Get Quality Issues
|
|
@@ -3824,6 +4285,75 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
3824
4285
|
options: localVarRequestOptions,
|
|
3825
4286
|
};
|
|
3826
4287
|
},
|
|
4288
|
+
/**
|
|
4289
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
4290
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
4291
|
+
* @param {string} workspaceId Workspace identifier
|
|
4292
|
+
* @param {*} [options] Override http request option.
|
|
4293
|
+
* @throws {RequiredError}
|
|
4294
|
+
*/
|
|
4295
|
+
listMemoryItems: async (workspaceId, options = {}) => {
|
|
4296
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
4297
|
+
assertParamExists("listMemoryItems", "workspaceId", workspaceId);
|
|
4298
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
4299
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4300
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4301
|
+
let baseOptions;
|
|
4302
|
+
if (configuration) {
|
|
4303
|
+
baseOptions = configuration.baseOptions;
|
|
4304
|
+
}
|
|
4305
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4306
|
+
const localVarHeaderParameter = {};
|
|
4307
|
+
const localVarQueryParameter = {};
|
|
4308
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4309
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4310
|
+
localVarRequestOptions.headers = {
|
|
4311
|
+
...localVarHeaderParameter,
|
|
4312
|
+
...headersFromBaseOptions,
|
|
4313
|
+
...options.headers,
|
|
4314
|
+
};
|
|
4315
|
+
return {
|
|
4316
|
+
url: toPathString(localVarUrlObj),
|
|
4317
|
+
options: localVarRequestOptions,
|
|
4318
|
+
};
|
|
4319
|
+
},
|
|
4320
|
+
/**
|
|
4321
|
+
* (EXPERIMENTAL) Removes memory item
|
|
4322
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
4323
|
+
* @param {string} workspaceId Workspace identifier
|
|
4324
|
+
* @param {string} memoryId
|
|
4325
|
+
* @param {*} [options] Override http request option.
|
|
4326
|
+
* @throws {RequiredError}
|
|
4327
|
+
*/
|
|
4328
|
+
removeMemoryItem: async (workspaceId, memoryId, options = {}) => {
|
|
4329
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
4330
|
+
assertParamExists("removeMemoryItem", "workspaceId", workspaceId);
|
|
4331
|
+
// verify required parameter 'memoryId' is not null or undefined
|
|
4332
|
+
assertParamExists("removeMemoryItem", "memoryId", memoryId);
|
|
4333
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
4334
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
4335
|
+
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
4336
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4337
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4338
|
+
let baseOptions;
|
|
4339
|
+
if (configuration) {
|
|
4340
|
+
baseOptions = configuration.baseOptions;
|
|
4341
|
+
}
|
|
4342
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
4343
|
+
const localVarHeaderParameter = {};
|
|
4344
|
+
const localVarQueryParameter = {};
|
|
4345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4347
|
+
localVarRequestOptions.headers = {
|
|
4348
|
+
...localVarHeaderParameter,
|
|
4349
|
+
...headersFromBaseOptions,
|
|
4350
|
+
...options.headers,
|
|
4351
|
+
};
|
|
4352
|
+
return {
|
|
4353
|
+
url: toPathString(localVarUrlObj),
|
|
4354
|
+
options: localVarRequestOptions,
|
|
4355
|
+
};
|
|
4356
|
+
},
|
|
3827
4357
|
/**
|
|
3828
4358
|
* Returns a list of available LLM Endpoints
|
|
3829
4359
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -3888,6 +4418,52 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
3888
4418
|
options: localVarRequestOptions,
|
|
3889
4419
|
};
|
|
3890
4420
|
},
|
|
4421
|
+
/**
|
|
4422
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
4423
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
4424
|
+
* @param {string} workspaceId Workspace identifier
|
|
4425
|
+
* @param {string} memoryId
|
|
4426
|
+
* @param {MemoryItem} memoryItem
|
|
4427
|
+
* @param {*} [options] Override http request option.
|
|
4428
|
+
* @throws {RequiredError}
|
|
4429
|
+
*/
|
|
4430
|
+
updateMemoryItem: async (workspaceId, memoryId, memoryItem, options = {}) => {
|
|
4431
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
4432
|
+
assertParamExists("updateMemoryItem", "workspaceId", workspaceId);
|
|
4433
|
+
// verify required parameter 'memoryId' is not null or undefined
|
|
4434
|
+
assertParamExists("updateMemoryItem", "memoryId", memoryId);
|
|
4435
|
+
// verify required parameter 'memoryItem' is not null or undefined
|
|
4436
|
+
assertParamExists("updateMemoryItem", "memoryItem", memoryItem);
|
|
4437
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/{memoryId}`
|
|
4438
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
4439
|
+
.replace(`{${"memoryId"}}`, encodeURIComponent(String(memoryId)));
|
|
4440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4442
|
+
let baseOptions;
|
|
4443
|
+
if (configuration) {
|
|
4444
|
+
baseOptions = configuration.baseOptions;
|
|
4445
|
+
}
|
|
4446
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
4447
|
+
const localVarHeaderParameter = {};
|
|
4448
|
+
const localVarQueryParameter = {};
|
|
4449
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4452
|
+
localVarRequestOptions.headers = {
|
|
4453
|
+
...localVarHeaderParameter,
|
|
4454
|
+
...headersFromBaseOptions,
|
|
4455
|
+
...options.headers,
|
|
4456
|
+
};
|
|
4457
|
+
const needsSerialization = typeof memoryItem !== "string" ||
|
|
4458
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
4459
|
+
localVarRequestOptions.data = needsSerialization
|
|
4460
|
+
? JSON.stringify(memoryItem !== undefined ? memoryItem : {})
|
|
4461
|
+
: memoryItem || "";
|
|
4462
|
+
return {
|
|
4463
|
+
url: toPathString(localVarUrlObj),
|
|
4464
|
+
options: localVarRequestOptions,
|
|
4465
|
+
};
|
|
4466
|
+
},
|
|
3891
4467
|
/**
|
|
3892
4468
|
* Validates LLM endpoint with provided parameters.
|
|
3893
4469
|
* @summary Validate LLM Endpoint
|
|
@@ -4089,6 +4665,18 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
4089
4665
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clusteringResult(workspaceId, resultId, offset, limit, options);
|
|
4090
4666
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4091
4667
|
},
|
|
4668
|
+
/**
|
|
4669
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
4670
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
4671
|
+
* @param {string} workspaceId Workspace identifier
|
|
4672
|
+
* @param {MemoryItem} memoryItem
|
|
4673
|
+
* @param {*} [options] Override http request option.
|
|
4674
|
+
* @throws {RequiredError}
|
|
4675
|
+
*/
|
|
4676
|
+
async createMemoryItem(workspaceId, memoryItem, options) {
|
|
4677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMemoryItem(workspaceId, memoryItem, options);
|
|
4678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4679
|
+
},
|
|
4092
4680
|
/**
|
|
4093
4681
|
* Returns a list of Users who created any object for this workspace
|
|
4094
4682
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -4128,6 +4716,18 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
4128
4716
|
const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
|
|
4129
4717
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4130
4718
|
},
|
|
4719
|
+
/**
|
|
4720
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
4721
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
4722
|
+
* @param {string} workspaceId Workspace identifier
|
|
4723
|
+
* @param {string} memoryId
|
|
4724
|
+
* @param {*} [options] Override http request option.
|
|
4725
|
+
* @throws {RequiredError}
|
|
4726
|
+
*/
|
|
4727
|
+
async getMemoryItem(workspaceId, memoryId, options) {
|
|
4728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryItem(workspaceId, memoryId, options);
|
|
4729
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4730
|
+
},
|
|
4131
4731
|
/**
|
|
4132
4732
|
* Returns metadata quality issues detected by the platform linter.
|
|
4133
4733
|
* @summary Get Quality Issues
|
|
@@ -4139,6 +4739,29 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
4139
4739
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getQualityIssues(workspaceId, options);
|
|
4140
4740
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4141
4741
|
},
|
|
4742
|
+
/**
|
|
4743
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
4744
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
4745
|
+
* @param {string} workspaceId Workspace identifier
|
|
4746
|
+
* @param {*} [options] Override http request option.
|
|
4747
|
+
* @throws {RequiredError}
|
|
4748
|
+
*/
|
|
4749
|
+
async listMemoryItems(workspaceId, options) {
|
|
4750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMemoryItems(workspaceId, options);
|
|
4751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4752
|
+
},
|
|
4753
|
+
/**
|
|
4754
|
+
* (EXPERIMENTAL) Removes memory item
|
|
4755
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
4756
|
+
* @param {string} workspaceId Workspace identifier
|
|
4757
|
+
* @param {string} memoryId
|
|
4758
|
+
* @param {*} [options] Override http request option.
|
|
4759
|
+
* @throws {RequiredError}
|
|
4760
|
+
*/
|
|
4761
|
+
async removeMemoryItem(workspaceId, memoryId, options) {
|
|
4762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeMemoryItem(workspaceId, memoryId, options);
|
|
4763
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4764
|
+
},
|
|
4142
4765
|
/**
|
|
4143
4766
|
* Returns a list of available LLM Endpoints
|
|
4144
4767
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -4161,6 +4784,19 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
4161
4784
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tags(workspaceId, options);
|
|
4162
4785
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4163
4786
|
},
|
|
4787
|
+
/**
|
|
4788
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
4789
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
4790
|
+
* @param {string} workspaceId Workspace identifier
|
|
4791
|
+
* @param {string} memoryId
|
|
4792
|
+
* @param {MemoryItem} memoryItem
|
|
4793
|
+
* @param {*} [options] Override http request option.
|
|
4794
|
+
* @throws {RequiredError}
|
|
4795
|
+
*/
|
|
4796
|
+
async updateMemoryItem(workspaceId, memoryId, memoryItem, options) {
|
|
4797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMemoryItem(workspaceId, memoryId, memoryItem, options);
|
|
4798
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4799
|
+
},
|
|
4164
4800
|
/**
|
|
4165
4801
|
* Validates LLM endpoint with provided parameters.
|
|
4166
4802
|
* @summary Validate LLM Endpoint
|
|
@@ -4301,6 +4937,18 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
4301
4937
|
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
4302
4938
|
.then((request) => request(axios, basePath));
|
|
4303
4939
|
},
|
|
4940
|
+
/**
|
|
4941
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
4942
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
4943
|
+
* @param {SmartFunctionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
4944
|
+
* @param {*} [options] Override http request option.
|
|
4945
|
+
* @throws {RequiredError}
|
|
4946
|
+
*/
|
|
4947
|
+
createMemoryItem(requestParameters, options) {
|
|
4948
|
+
return localVarFp
|
|
4949
|
+
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
4950
|
+
.then((request) => request(axios, basePath));
|
|
4951
|
+
},
|
|
4304
4952
|
/**
|
|
4305
4953
|
* Returns a list of Users who created any object for this workspace
|
|
4306
4954
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -4337,6 +4985,18 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
4337
4985
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
4338
4986
|
.then((request) => request(axios, basePath));
|
|
4339
4987
|
},
|
|
4988
|
+
/**
|
|
4989
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
4990
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
4991
|
+
* @param {SmartFunctionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
4992
|
+
* @param {*} [options] Override http request option.
|
|
4993
|
+
* @throws {RequiredError}
|
|
4994
|
+
*/
|
|
4995
|
+
getMemoryItem(requestParameters, options) {
|
|
4996
|
+
return localVarFp
|
|
4997
|
+
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
4998
|
+
.then((request) => request(axios, basePath));
|
|
4999
|
+
},
|
|
4340
5000
|
/**
|
|
4341
5001
|
* Returns metadata quality issues detected by the platform linter.
|
|
4342
5002
|
* @summary Get Quality Issues
|
|
@@ -4349,6 +5009,30 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
4349
5009
|
.getQualityIssues(requestParameters.workspaceId, options)
|
|
4350
5010
|
.then((request) => request(axios, basePath));
|
|
4351
5011
|
},
|
|
5012
|
+
/**
|
|
5013
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
5014
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
5015
|
+
* @param {SmartFunctionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
5016
|
+
* @param {*} [options] Override http request option.
|
|
5017
|
+
* @throws {RequiredError}
|
|
5018
|
+
*/
|
|
5019
|
+
listMemoryItems(requestParameters, options) {
|
|
5020
|
+
return localVarFp
|
|
5021
|
+
.listMemoryItems(requestParameters.workspaceId, options)
|
|
5022
|
+
.then((request) => request(axios, basePath));
|
|
5023
|
+
},
|
|
5024
|
+
/**
|
|
5025
|
+
* (EXPERIMENTAL) Removes memory item
|
|
5026
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
5027
|
+
* @param {SmartFunctionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
5028
|
+
* @param {*} [options] Override http request option.
|
|
5029
|
+
* @throws {RequiredError}
|
|
5030
|
+
*/
|
|
5031
|
+
removeMemoryItem(requestParameters, options) {
|
|
5032
|
+
return localVarFp
|
|
5033
|
+
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5034
|
+
.then((request) => request(axios, basePath));
|
|
5035
|
+
},
|
|
4352
5036
|
/**
|
|
4353
5037
|
* Returns a list of available LLM Endpoints
|
|
4354
5038
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -4373,6 +5057,18 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
4373
5057
|
.tags(requestParameters.workspaceId, options)
|
|
4374
5058
|
.then((request) => request(axios, basePath));
|
|
4375
5059
|
},
|
|
5060
|
+
/**
|
|
5061
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
5062
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
5063
|
+
* @param {SmartFunctionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
5064
|
+
* @param {*} [options] Override http request option.
|
|
5065
|
+
* @throws {RequiredError}
|
|
5066
|
+
*/
|
|
5067
|
+
updateMemoryItem(requestParameters, options) {
|
|
5068
|
+
return localVarFp
|
|
5069
|
+
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
5070
|
+
.then((request) => request(axios, basePath));
|
|
5071
|
+
},
|
|
4376
5072
|
/**
|
|
4377
5073
|
* Validates LLM endpoint with provided parameters.
|
|
4378
5074
|
* @summary Validate LLM Endpoint
|
|
@@ -4523,6 +5219,19 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
4523
5219
|
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
4524
5220
|
.then((request) => request(this.axios, this.basePath));
|
|
4525
5221
|
}
|
|
5222
|
+
/**
|
|
5223
|
+
* (EXPERIMENTAL) Creates a new memory item and returns it
|
|
5224
|
+
* @summary (EXPERIMENTAL) Create new memory item
|
|
5225
|
+
* @param {SmartFunctionsApiCreateMemoryItemRequest} requestParameters Request parameters.
|
|
5226
|
+
* @param {*} [options] Override http request option.
|
|
5227
|
+
* @throws {RequiredError}
|
|
5228
|
+
* @memberof SmartFunctionsApi
|
|
5229
|
+
*/
|
|
5230
|
+
createMemoryItem(requestParameters, options) {
|
|
5231
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
5232
|
+
.createMemoryItem(requestParameters.workspaceId, requestParameters.memoryItem, options)
|
|
5233
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5234
|
+
}
|
|
4526
5235
|
/**
|
|
4527
5236
|
* Returns a list of Users who created any object for this workspace
|
|
4528
5237
|
* @summary Get Analytics Catalog CreatedBy
|
|
@@ -4562,6 +5271,19 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
4562
5271
|
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
4563
5272
|
.then((request) => request(this.axios, this.basePath));
|
|
4564
5273
|
}
|
|
5274
|
+
/**
|
|
5275
|
+
* (EXPERIMENTAL) Get memory item by id
|
|
5276
|
+
* @summary (EXPERIMENTAL) Get memory item
|
|
5277
|
+
* @param {SmartFunctionsApiGetMemoryItemRequest} requestParameters Request parameters.
|
|
5278
|
+
* @param {*} [options] Override http request option.
|
|
5279
|
+
* @throws {RequiredError}
|
|
5280
|
+
* @memberof SmartFunctionsApi
|
|
5281
|
+
*/
|
|
5282
|
+
getMemoryItem(requestParameters, options) {
|
|
5283
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
5284
|
+
.getMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5285
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5286
|
+
}
|
|
4565
5287
|
/**
|
|
4566
5288
|
* Returns metadata quality issues detected by the platform linter.
|
|
4567
5289
|
* @summary Get Quality Issues
|
|
@@ -4575,6 +5297,32 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
4575
5297
|
.getQualityIssues(requestParameters.workspaceId, options)
|
|
4576
5298
|
.then((request) => request(this.axios, this.basePath));
|
|
4577
5299
|
}
|
|
5300
|
+
/**
|
|
5301
|
+
* (EXPERIMENTAL) Returns a list of memory items
|
|
5302
|
+
* @summary (EXPERIMENTAL) List all memory items
|
|
5303
|
+
* @param {SmartFunctionsApiListMemoryItemsRequest} requestParameters Request parameters.
|
|
5304
|
+
* @param {*} [options] Override http request option.
|
|
5305
|
+
* @throws {RequiredError}
|
|
5306
|
+
* @memberof SmartFunctionsApi
|
|
5307
|
+
*/
|
|
5308
|
+
listMemoryItems(requestParameters, options) {
|
|
5309
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
5310
|
+
.listMemoryItems(requestParameters.workspaceId, options)
|
|
5311
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5312
|
+
}
|
|
5313
|
+
/**
|
|
5314
|
+
* (EXPERIMENTAL) Removes memory item
|
|
5315
|
+
* @summary (EXPERIMENTAL) Remove memory item
|
|
5316
|
+
* @param {SmartFunctionsApiRemoveMemoryItemRequest} requestParameters Request parameters.
|
|
5317
|
+
* @param {*} [options] Override http request option.
|
|
5318
|
+
* @throws {RequiredError}
|
|
5319
|
+
* @memberof SmartFunctionsApi
|
|
5320
|
+
*/
|
|
5321
|
+
removeMemoryItem(requestParameters, options) {
|
|
5322
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
5323
|
+
.removeMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, options)
|
|
5324
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5325
|
+
}
|
|
4578
5326
|
/**
|
|
4579
5327
|
* Returns a list of available LLM Endpoints
|
|
4580
5328
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -4601,6 +5349,19 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
4601
5349
|
.tags(requestParameters.workspaceId, options)
|
|
4602
5350
|
.then((request) => request(this.axios, this.basePath));
|
|
4603
5351
|
}
|
|
5352
|
+
/**
|
|
5353
|
+
* (EXPERIMENTAL) Updates memory item and returns it
|
|
5354
|
+
* @summary (EXPERIMENTAL) Update memory item
|
|
5355
|
+
* @param {SmartFunctionsApiUpdateMemoryItemRequest} requestParameters Request parameters.
|
|
5356
|
+
* @param {*} [options] Override http request option.
|
|
5357
|
+
* @throws {RequiredError}
|
|
5358
|
+
* @memberof SmartFunctionsApi
|
|
5359
|
+
*/
|
|
5360
|
+
updateMemoryItem(requestParameters, options) {
|
|
5361
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
5362
|
+
.updateMemoryItem(requestParameters.workspaceId, requestParameters.memoryId, requestParameters.memoryItem, options)
|
|
5363
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5364
|
+
}
|
|
4604
5365
|
/**
|
|
4605
5366
|
* Validates LLM endpoint with provided parameters.
|
|
4606
5367
|
* @summary Validate LLM Endpoint
|