@gooddata/api-client-tiger 11.28.0-alpha.0 → 11.28.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.js +1 -1
- package/esm/api-client-tiger.d.ts +667 -554
- package/esm/endpoints/actions/index.d.ts +1 -1
- package/esm/endpoints/actions/index.d.ts.map +1 -1
- package/esm/endpoints/actions/index.js +2 -6
- package/esm/endpoints/actions/index.js.map +1 -1
- package/esm/endpoints/genAI/index.d.ts +2 -2
- package/esm/endpoints/genAI/index.d.ts.map +1 -1
- package/esm/endpoints/genAI/index.js +4 -2
- package/esm/endpoints/genAI/index.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +0 -512
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +0 -505
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +613 -164
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +438 -48
- package/esm/generated/ai-json-api/api.js.map +1 -1
- package/package.json +5 -5
|
@@ -1401,55 +1401,6 @@ export async function ActionsApiAxiosParamCreator_ComputeValidObjects(workspaceI
|
|
|
1401
1401
|
};
|
|
1402
1402
|
}
|
|
1403
1403
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1404
|
-
/**
|
|
1405
|
-
*
|
|
1406
|
-
* @param {string} workspaceId Workspace identifier
|
|
1407
|
-
* @param {CreateKnowledgeDocumentRequestDto} createKnowledgeDocumentRequestDto
|
|
1408
|
-
* @param {*} [options] Override http request option.
|
|
1409
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
1410
|
-
* @throws {RequiredError}
|
|
1411
|
-
*/
|
|
1412
|
-
export async function ActionsApiAxiosParamCreator_CreateDocument(workspaceId, createKnowledgeDocumentRequestDto, options = {}, configuration) {
|
|
1413
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1414
|
-
assertParamExists('createDocument', 'workspaceId', workspaceId);
|
|
1415
|
-
// verify required parameter 'createKnowledgeDocumentRequestDto' is not null or undefined
|
|
1416
|
-
assertParamExists('createDocument', 'createKnowledgeDocumentRequestDto', createKnowledgeDocumentRequestDto);
|
|
1417
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
|
|
1418
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1419
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1420
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1421
|
-
let baseOptions;
|
|
1422
|
-
if (configuration) {
|
|
1423
|
-
baseOptions = configuration.baseOptions;
|
|
1424
|
-
}
|
|
1425
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1426
|
-
const localVarHeaderParameter = {};
|
|
1427
|
-
const localVarQueryParameter = {};
|
|
1428
|
-
const consumes = [
|
|
1429
|
-
'application/json'
|
|
1430
|
-
];
|
|
1431
|
-
// use application/json if present, otherwise fallback to the first one
|
|
1432
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
1433
|
-
? 'application/json'
|
|
1434
|
-
: consumes[0];
|
|
1435
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1436
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1437
|
-
localVarRequestOptions.headers = {
|
|
1438
|
-
...localVarHeaderParameter,
|
|
1439
|
-
...headersFromBaseOptions,
|
|
1440
|
-
...options.headers,
|
|
1441
|
-
};
|
|
1442
|
-
const needsSerialization = typeof createKnowledgeDocumentRequestDto !== "string" ||
|
|
1443
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1444
|
-
localVarRequestOptions.data = needsSerialization
|
|
1445
|
-
? JSON.stringify(createKnowledgeDocumentRequestDto !== undefined ? createKnowledgeDocumentRequestDto : {})
|
|
1446
|
-
: createKnowledgeDocumentRequestDto || "";
|
|
1447
|
-
return {
|
|
1448
|
-
url: toPathString(localVarUrlObj),
|
|
1449
|
-
options: localVarRequestOptions,
|
|
1450
|
-
};
|
|
1451
|
-
}
|
|
1452
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1453
1404
|
/**
|
|
1454
1405
|
* Returns a list of Users who created any object for this workspace
|
|
1455
1406
|
* @summary Get Analytics Catalog CreatedBy Users
|
|
@@ -1485,44 +1436,6 @@ export async function ActionsApiAxiosParamCreator_CreatedBy(workspaceId, options
|
|
|
1485
1436
|
};
|
|
1486
1437
|
}
|
|
1487
1438
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1488
|
-
/**
|
|
1489
|
-
*
|
|
1490
|
-
* @param {string} workspaceId Workspace identifier
|
|
1491
|
-
* @param {string} filename
|
|
1492
|
-
* @param {*} [options] Override http request option.
|
|
1493
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
1494
|
-
* @throws {RequiredError}
|
|
1495
|
-
*/
|
|
1496
|
-
export async function ActionsApiAxiosParamCreator_DeleteDocument(workspaceId, filename, options = {}, configuration) {
|
|
1497
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1498
|
-
assertParamExists('deleteDocument', 'workspaceId', workspaceId);
|
|
1499
|
-
// verify required parameter 'filename' is not null or undefined
|
|
1500
|
-
assertParamExists('deleteDocument', 'filename', filename);
|
|
1501
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents/{filename}`
|
|
1502
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1503
|
-
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
1504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1505
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1506
|
-
let baseOptions;
|
|
1507
|
-
if (configuration) {
|
|
1508
|
-
baseOptions = configuration.baseOptions;
|
|
1509
|
-
}
|
|
1510
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1511
|
-
const localVarHeaderParameter = {};
|
|
1512
|
-
const localVarQueryParameter = {};
|
|
1513
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1514
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1515
|
-
localVarRequestOptions.headers = {
|
|
1516
|
-
...localVarHeaderParameter,
|
|
1517
|
-
...headersFromBaseOptions,
|
|
1518
|
-
...options.headers,
|
|
1519
|
-
};
|
|
1520
|
-
return {
|
|
1521
|
-
url: toPathString(localVarUrlObj),
|
|
1522
|
-
options: localVarRequestOptions,
|
|
1523
|
-
};
|
|
1524
|
-
}
|
|
1525
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1526
1439
|
/**
|
|
1527
1440
|
* The resource provides static structures needed for investigation of a problem with given AFM.
|
|
1528
1441
|
* @summary AFM explain resource.
|
|
@@ -1831,44 +1744,6 @@ export async function ActionsApiAxiosParamCreator_GenerateTitle(workspaceId, gen
|
|
|
1831
1744
|
};
|
|
1832
1745
|
}
|
|
1833
1746
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @param {string} workspaceId Workspace identifier
|
|
1837
|
-
* @param {string} filename
|
|
1838
|
-
* @param {*} [options] Override http request option.
|
|
1839
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
1840
|
-
* @throws {RequiredError}
|
|
1841
|
-
*/
|
|
1842
|
-
export async function ActionsApiAxiosParamCreator_GetDocument(workspaceId, filename, options = {}, configuration) {
|
|
1843
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1844
|
-
assertParamExists('getDocument', 'workspaceId', workspaceId);
|
|
1845
|
-
// verify required parameter 'filename' is not null or undefined
|
|
1846
|
-
assertParamExists('getDocument', 'filename', filename);
|
|
1847
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents/{filename}`
|
|
1848
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1849
|
-
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
1850
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1851
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1852
|
-
let baseOptions;
|
|
1853
|
-
if (configuration) {
|
|
1854
|
-
baseOptions = configuration.baseOptions;
|
|
1855
|
-
}
|
|
1856
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1857
|
-
const localVarHeaderParameter = {};
|
|
1858
|
-
const localVarQueryParameter = {};
|
|
1859
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1860
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1861
|
-
localVarRequestOptions.headers = {
|
|
1862
|
-
...localVarHeaderParameter,
|
|
1863
|
-
...headersFromBaseOptions,
|
|
1864
|
-
...options.headers,
|
|
1865
|
-
};
|
|
1866
|
-
return {
|
|
1867
|
-
url: toPathString(localVarUrlObj),
|
|
1868
|
-
options: localVarRequestOptions,
|
|
1869
|
-
};
|
|
1870
|
-
}
|
|
1871
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1872
1747
|
/**
|
|
1873
1748
|
* Returns metadata quality issues detected by the platform linter.
|
|
1874
1749
|
* @summary Get Quality Issues
|
|
@@ -2082,64 +1957,6 @@ export async function ActionsApiAxiosParamCreator_KeyDriverAnalysisResult(worksp
|
|
|
2082
1957
|
};
|
|
2083
1958
|
}
|
|
2084
1959
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2085
|
-
/**
|
|
2086
|
-
*
|
|
2087
|
-
* @param {string} workspaceId Workspace identifier
|
|
2088
|
-
* @param {Array<string>} [scopes]
|
|
2089
|
-
* @param {number} [size]
|
|
2090
|
-
* @param {string} [pageToken]
|
|
2091
|
-
* @param {string} [metaInclude]
|
|
2092
|
-
* @param {string} [state]
|
|
2093
|
-
* @param {string} [query]
|
|
2094
|
-
* @param {*} [options] Override http request option.
|
|
2095
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
2096
|
-
* @throws {RequiredError}
|
|
2097
|
-
*/
|
|
2098
|
-
export async function ActionsApiAxiosParamCreator_ListDocuments(workspaceId, scopes, size, pageToken, metaInclude, state, query, options = {}, configuration) {
|
|
2099
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2100
|
-
assertParamExists('listDocuments', 'workspaceId', workspaceId);
|
|
2101
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
|
|
2102
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2103
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2104
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2105
|
-
let baseOptions;
|
|
2106
|
-
if (configuration) {
|
|
2107
|
-
baseOptions = configuration.baseOptions;
|
|
2108
|
-
}
|
|
2109
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2110
|
-
const localVarHeaderParameter = {};
|
|
2111
|
-
const localVarQueryParameter = {};
|
|
2112
|
-
if (scopes) {
|
|
2113
|
-
localVarQueryParameter['scopes'] = scopes;
|
|
2114
|
-
}
|
|
2115
|
-
if (size !== undefined) {
|
|
2116
|
-
localVarQueryParameter['size'] = size;
|
|
2117
|
-
}
|
|
2118
|
-
if (pageToken !== undefined) {
|
|
2119
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
2120
|
-
}
|
|
2121
|
-
if (metaInclude !== undefined) {
|
|
2122
|
-
localVarQueryParameter['metaInclude'] = metaInclude;
|
|
2123
|
-
}
|
|
2124
|
-
if (state !== undefined) {
|
|
2125
|
-
localVarQueryParameter['state'] = state;
|
|
2126
|
-
}
|
|
2127
|
-
if (query !== undefined) {
|
|
2128
|
-
localVarQueryParameter['query'] = query;
|
|
2129
|
-
}
|
|
2130
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2131
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2132
|
-
localVarRequestOptions.headers = {
|
|
2133
|
-
...localVarHeaderParameter,
|
|
2134
|
-
...headersFromBaseOptions,
|
|
2135
|
-
...options.headers,
|
|
2136
|
-
};
|
|
2137
|
-
return {
|
|
2138
|
-
url: toPathString(localVarUrlObj),
|
|
2139
|
-
options: localVarRequestOptions,
|
|
2140
|
-
};
|
|
2141
|
-
}
|
|
2142
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2143
1960
|
/**
|
|
2144
1961
|
* Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
|
|
2145
1962
|
* @summary List LLM Provider Models
|
|
@@ -2357,59 +2174,6 @@ export async function ActionsApiAxiosParamCreator_OutlierDetectionResult(workspa
|
|
|
2357
2174
|
};
|
|
2358
2175
|
}
|
|
2359
2176
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2360
|
-
/**
|
|
2361
|
-
*
|
|
2362
|
-
* @param {string} workspaceId Workspace identifier
|
|
2363
|
-
* @param {string} filename
|
|
2364
|
-
* @param {PatchKnowledgeDocumentRequestDto} patchKnowledgeDocumentRequestDto
|
|
2365
|
-
* @param {*} [options] Override http request option.
|
|
2366
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
2367
|
-
* @throws {RequiredError}
|
|
2368
|
-
*/
|
|
2369
|
-
export async function ActionsApiAxiosParamCreator_PatchDocument(workspaceId, filename, patchKnowledgeDocumentRequestDto, options = {}, configuration) {
|
|
2370
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2371
|
-
assertParamExists('patchDocument', 'workspaceId', workspaceId);
|
|
2372
|
-
// verify required parameter 'filename' is not null or undefined
|
|
2373
|
-
assertParamExists('patchDocument', 'filename', filename);
|
|
2374
|
-
// verify required parameter 'patchKnowledgeDocumentRequestDto' is not null or undefined
|
|
2375
|
-
assertParamExists('patchDocument', 'patchKnowledgeDocumentRequestDto', patchKnowledgeDocumentRequestDto);
|
|
2376
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents/{filename}`
|
|
2377
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2378
|
-
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
2379
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2380
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2381
|
-
let baseOptions;
|
|
2382
|
-
if (configuration) {
|
|
2383
|
-
baseOptions = configuration.baseOptions;
|
|
2384
|
-
}
|
|
2385
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
2386
|
-
const localVarHeaderParameter = {};
|
|
2387
|
-
const localVarQueryParameter = {};
|
|
2388
|
-
const consumes = [
|
|
2389
|
-
'application/json'
|
|
2390
|
-
];
|
|
2391
|
-
// use application/json if present, otherwise fallback to the first one
|
|
2392
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
2393
|
-
? 'application/json'
|
|
2394
|
-
: consumes[0];
|
|
2395
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2396
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2397
|
-
localVarRequestOptions.headers = {
|
|
2398
|
-
...localVarHeaderParameter,
|
|
2399
|
-
...headersFromBaseOptions,
|
|
2400
|
-
...options.headers,
|
|
2401
|
-
};
|
|
2402
|
-
const needsSerialization = typeof patchKnowledgeDocumentRequestDto !== "string" ||
|
|
2403
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2404
|
-
localVarRequestOptions.data = needsSerialization
|
|
2405
|
-
? JSON.stringify(patchKnowledgeDocumentRequestDto !== undefined ? patchKnowledgeDocumentRequestDto : {})
|
|
2406
|
-
: patchKnowledgeDocumentRequestDto || "";
|
|
2407
|
-
return {
|
|
2408
|
-
url: toPathString(localVarUrlObj),
|
|
2409
|
-
options: localVarRequestOptions,
|
|
2410
|
-
};
|
|
2411
|
-
}
|
|
2412
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2413
2177
|
/**
|
|
2414
2178
|
* Will be soon removed and replaced by LlmProvider-based resolution.
|
|
2415
2179
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -2617,58 +2381,6 @@ export async function ActionsApiAxiosParamCreator_RetrieveResultBinary(workspace
|
|
|
2617
2381
|
};
|
|
2618
2382
|
}
|
|
2619
2383
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2620
|
-
/**
|
|
2621
|
-
*
|
|
2622
|
-
* @param {string} workspaceId Workspace identifier
|
|
2623
|
-
* @param {string} query
|
|
2624
|
-
* @param {number} [limit]
|
|
2625
|
-
* @param {number} [minScore]
|
|
2626
|
-
* @param {Array<string>} [scopes]
|
|
2627
|
-
* @param {*} [options] Override http request option.
|
|
2628
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
2629
|
-
* @throws {RequiredError}
|
|
2630
|
-
*/
|
|
2631
|
-
export async function ActionsApiAxiosParamCreator_SearchKnowledge(workspaceId, query, limit, minScore, scopes, options = {}, configuration) {
|
|
2632
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2633
|
-
assertParamExists('searchKnowledge', 'workspaceId', workspaceId);
|
|
2634
|
-
// verify required parameter 'query' is not null or undefined
|
|
2635
|
-
assertParamExists('searchKnowledge', 'query', query);
|
|
2636
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/search`
|
|
2637
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2638
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2639
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2640
|
-
let baseOptions;
|
|
2641
|
-
if (configuration) {
|
|
2642
|
-
baseOptions = configuration.baseOptions;
|
|
2643
|
-
}
|
|
2644
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2645
|
-
const localVarHeaderParameter = {};
|
|
2646
|
-
const localVarQueryParameter = {};
|
|
2647
|
-
if (query !== undefined) {
|
|
2648
|
-
localVarQueryParameter['query'] = query;
|
|
2649
|
-
}
|
|
2650
|
-
if (limit !== undefined) {
|
|
2651
|
-
localVarQueryParameter['limit'] = limit;
|
|
2652
|
-
}
|
|
2653
|
-
if (minScore !== undefined) {
|
|
2654
|
-
localVarQueryParameter['minScore'] = minScore;
|
|
2655
|
-
}
|
|
2656
|
-
if (scopes) {
|
|
2657
|
-
localVarQueryParameter['scopes'] = scopes;
|
|
2658
|
-
}
|
|
2659
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2660
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2661
|
-
localVarRequestOptions.headers = {
|
|
2662
|
-
...localVarHeaderParameter,
|
|
2663
|
-
...headersFromBaseOptions,
|
|
2664
|
-
...options.headers,
|
|
2665
|
-
};
|
|
2666
|
-
return {
|
|
2667
|
-
url: toPathString(localVarUrlObj),
|
|
2668
|
-
options: localVarRequestOptions,
|
|
2669
|
-
};
|
|
2670
|
-
}
|
|
2671
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2672
2384
|
/**
|
|
2673
2385
|
* Returns a list of tags for this workspace
|
|
2674
2386
|
* @summary Get Analytics Catalog Tags
|
|
@@ -2868,55 +2580,6 @@ export async function ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculatio
|
|
|
2868
2580
|
};
|
|
2869
2581
|
}
|
|
2870
2582
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2871
|
-
/**
|
|
2872
|
-
*
|
|
2873
|
-
* @param {string} workspaceId Workspace identifier
|
|
2874
|
-
* @param {UpsertKnowledgeDocumentRequestDto} upsertKnowledgeDocumentRequestDto
|
|
2875
|
-
* @param {*} [options] Override http request option.
|
|
2876
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
2877
|
-
* @throws {RequiredError}
|
|
2878
|
-
*/
|
|
2879
|
-
export async function ActionsApiAxiosParamCreator_UpsertDocument(workspaceId, upsertKnowledgeDocumentRequestDto, options = {}, configuration) {
|
|
2880
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2881
|
-
assertParamExists('upsertDocument', 'workspaceId', workspaceId);
|
|
2882
|
-
// verify required parameter 'upsertKnowledgeDocumentRequestDto' is not null or undefined
|
|
2883
|
-
assertParamExists('upsertDocument', 'upsertKnowledgeDocumentRequestDto', upsertKnowledgeDocumentRequestDto);
|
|
2884
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
|
|
2885
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2886
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2887
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2888
|
-
let baseOptions;
|
|
2889
|
-
if (configuration) {
|
|
2890
|
-
baseOptions = configuration.baseOptions;
|
|
2891
|
-
}
|
|
2892
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2893
|
-
const localVarHeaderParameter = {};
|
|
2894
|
-
const localVarQueryParameter = {};
|
|
2895
|
-
const consumes = [
|
|
2896
|
-
'application/json'
|
|
2897
|
-
];
|
|
2898
|
-
// use application/json if present, otherwise fallback to the first one
|
|
2899
|
-
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
2900
|
-
? 'application/json'
|
|
2901
|
-
: consumes[0];
|
|
2902
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2903
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2904
|
-
localVarRequestOptions.headers = {
|
|
2905
|
-
...localVarHeaderParameter,
|
|
2906
|
-
...headersFromBaseOptions,
|
|
2907
|
-
...options.headers,
|
|
2908
|
-
};
|
|
2909
|
-
const needsSerialization = typeof upsertKnowledgeDocumentRequestDto !== "string" ||
|
|
2910
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2911
|
-
localVarRequestOptions.data = needsSerialization
|
|
2912
|
-
? JSON.stringify(upsertKnowledgeDocumentRequestDto !== undefined ? upsertKnowledgeDocumentRequestDto : {})
|
|
2913
|
-
: upsertKnowledgeDocumentRequestDto || "";
|
|
2914
|
-
return {
|
|
2915
|
-
url: toPathString(localVarUrlObj),
|
|
2916
|
-
options: localVarRequestOptions,
|
|
2917
|
-
};
|
|
2918
|
-
}
|
|
2919
|
-
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2920
2583
|
/**
|
|
2921
2584
|
* Will be soon removed and replaced by testLlmProvider.
|
|
2922
2585
|
* @summary Validate LLM Endpoint
|
|
@@ -3265,20 +2928,6 @@ export async function ActionsApi_ComputeValidObjects(axios, basePath, requestPar
|
|
|
3265
2928
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3266
2929
|
}
|
|
3267
2930
|
// ActionsApi Api FP
|
|
3268
|
-
/**
|
|
3269
|
-
*
|
|
3270
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3271
|
-
* @param {string} basePath Base path.
|
|
3272
|
-
* @param {ActionsApiCreateDocumentRequest} requestParameters Request parameters.
|
|
3273
|
-
* @param {*} [options] Override http request option.
|
|
3274
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3275
|
-
* @throws {RequiredError}
|
|
3276
|
-
*/
|
|
3277
|
-
export async function ActionsApi_CreateDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3278
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_CreateDocument(requestParameters.workspaceId, requestParameters.createKnowledgeDocumentRequestDto, options || {}, configuration);
|
|
3279
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3280
|
-
}
|
|
3281
|
-
// ActionsApi Api FP
|
|
3282
2931
|
/**
|
|
3283
2932
|
* Returns a list of Users who created any object for this workspace
|
|
3284
2933
|
* @summary Get Analytics Catalog CreatedBy Users
|
|
@@ -3294,20 +2943,6 @@ export async function ActionsApi_CreatedBy(axios, basePath, requestParameters, o
|
|
|
3294
2943
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3295
2944
|
}
|
|
3296
2945
|
// ActionsApi Api FP
|
|
3297
|
-
/**
|
|
3298
|
-
*
|
|
3299
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3300
|
-
* @param {string} basePath Base path.
|
|
3301
|
-
* @param {ActionsApiDeleteDocumentRequest} requestParameters Request parameters.
|
|
3302
|
-
* @param {*} [options] Override http request option.
|
|
3303
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3304
|
-
* @throws {RequiredError}
|
|
3305
|
-
*/
|
|
3306
|
-
export async function ActionsApi_DeleteDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3307
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_DeleteDocument(requestParameters.workspaceId, requestParameters.filename, options || {}, configuration);
|
|
3308
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3309
|
-
}
|
|
3310
|
-
// ActionsApi Api FP
|
|
3311
2946
|
/**
|
|
3312
2947
|
* The resource provides static structures needed for investigation of a problem with given AFM.
|
|
3313
2948
|
* @summary AFM explain resource.
|
|
@@ -3397,20 +3032,6 @@ export async function ActionsApi_GenerateTitle(axios, basePath, requestParameter
|
|
|
3397
3032
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3398
3033
|
}
|
|
3399
3034
|
// ActionsApi Api FP
|
|
3400
|
-
/**
|
|
3401
|
-
*
|
|
3402
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3403
|
-
* @param {string} basePath Base path.
|
|
3404
|
-
* @param {ActionsApiGetDocumentRequest} requestParameters Request parameters.
|
|
3405
|
-
* @param {*} [options] Override http request option.
|
|
3406
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3407
|
-
* @throws {RequiredError}
|
|
3408
|
-
*/
|
|
3409
|
-
export async function ActionsApi_GetDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3410
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_GetDocument(requestParameters.workspaceId, requestParameters.filename, options || {}, configuration);
|
|
3411
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3412
|
-
}
|
|
3413
|
-
// ActionsApi Api FP
|
|
3414
3035
|
/**
|
|
3415
3036
|
* Returns metadata quality issues detected by the platform linter.
|
|
3416
3037
|
* @summary Get Quality Issues
|
|
@@ -3485,20 +3106,6 @@ export async function ActionsApi_KeyDriverAnalysisResult(axios, basePath, reques
|
|
|
3485
3106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3486
3107
|
}
|
|
3487
3108
|
// ActionsApi Api FP
|
|
3488
|
-
/**
|
|
3489
|
-
*
|
|
3490
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3491
|
-
* @param {string} basePath Base path.
|
|
3492
|
-
* @param {ActionsApiListDocumentsRequest} requestParameters Request parameters.
|
|
3493
|
-
* @param {*} [options] Override http request option.
|
|
3494
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3495
|
-
* @throws {RequiredError}
|
|
3496
|
-
*/
|
|
3497
|
-
export async function ActionsApi_ListDocuments(axios, basePath, requestParameters, options, configuration) {
|
|
3498
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListDocuments(requestParameters.workspaceId, requestParameters.scopes, requestParameters.size, requestParameters.pageToken, requestParameters.metaInclude, requestParameters.state, requestParameters.query, options || {}, configuration);
|
|
3499
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3500
|
-
}
|
|
3501
|
-
// ActionsApi Api FP
|
|
3502
3109
|
/**
|
|
3503
3110
|
* Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
|
|
3504
3111
|
* @summary List LLM Provider Models
|
|
@@ -3574,20 +3181,6 @@ export async function ActionsApi_OutlierDetectionResult(axios, basePath, request
|
|
|
3574
3181
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3575
3182
|
}
|
|
3576
3183
|
// ActionsApi Api FP
|
|
3577
|
-
/**
|
|
3578
|
-
*
|
|
3579
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3580
|
-
* @param {string} basePath Base path.
|
|
3581
|
-
* @param {ActionsApiPatchDocumentRequest} requestParameters Request parameters.
|
|
3582
|
-
* @param {*} [options] Override http request option.
|
|
3583
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3584
|
-
* @throws {RequiredError}
|
|
3585
|
-
*/
|
|
3586
|
-
export async function ActionsApi_PatchDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3587
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_PatchDocument(requestParameters.workspaceId, requestParameters.filename, requestParameters.patchKnowledgeDocumentRequestDto, options || {}, configuration);
|
|
3588
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3589
|
-
}
|
|
3590
|
-
// ActionsApi Api FP
|
|
3591
3184
|
/**
|
|
3592
3185
|
* Will be soon removed and replaced by LlmProvider-based resolution.
|
|
3593
3186
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -3663,20 +3256,6 @@ export async function ActionsApi_RetrieveResultBinary(axios, basePath, requestPa
|
|
|
3663
3256
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3664
3257
|
}
|
|
3665
3258
|
// ActionsApi Api FP
|
|
3666
|
-
/**
|
|
3667
|
-
*
|
|
3668
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3669
|
-
* @param {string} basePath Base path.
|
|
3670
|
-
* @param {ActionsApiSearchKnowledgeRequest} requestParameters Request parameters.
|
|
3671
|
-
* @param {*} [options] Override http request option.
|
|
3672
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3673
|
-
* @throws {RequiredError}
|
|
3674
|
-
*/
|
|
3675
|
-
export async function ActionsApi_SearchKnowledge(axios, basePath, requestParameters, options, configuration) {
|
|
3676
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_SearchKnowledge(requestParameters.workspaceId, requestParameters.query, requestParameters.limit, requestParameters.minScore, requestParameters.scopes, options || {}, configuration);
|
|
3677
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3678
|
-
}
|
|
3679
|
-
// ActionsApi Api FP
|
|
3680
3259
|
/**
|
|
3681
3260
|
* Returns a list of tags for this workspace
|
|
3682
3261
|
* @summary Get Analytics Catalog Tags
|
|
@@ -3752,20 +3331,6 @@ export async function ActionsApi_TriggerQualityIssuesCalculation(axios, basePath
|
|
|
3752
3331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3753
3332
|
}
|
|
3754
3333
|
// ActionsApi Api FP
|
|
3755
|
-
/**
|
|
3756
|
-
*
|
|
3757
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
3758
|
-
* @param {string} basePath Base path.
|
|
3759
|
-
* @param {ActionsApiUpsertDocumentRequest} requestParameters Request parameters.
|
|
3760
|
-
* @param {*} [options] Override http request option.
|
|
3761
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
3762
|
-
* @throws {RequiredError}
|
|
3763
|
-
*/
|
|
3764
|
-
export async function ActionsApi_UpsertDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3765
|
-
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_UpsertDocument(requestParameters.workspaceId, requestParameters.upsertKnowledgeDocumentRequestDto, options || {}, configuration);
|
|
3766
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3767
|
-
}
|
|
3768
|
-
// ActionsApi Api FP
|
|
3769
3334
|
/**
|
|
3770
3335
|
* Will be soon removed and replaced by testLlmProvider.
|
|
3771
3336
|
* @summary Validate LLM Endpoint
|
|
@@ -3988,16 +3553,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
3988
3553
|
computeValidObjects(requestParameters, options) {
|
|
3989
3554
|
return ActionsApi_ComputeValidObjects(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3990
3555
|
}
|
|
3991
|
-
/**
|
|
3992
|
-
*
|
|
3993
|
-
* @param {ActionsApiCreateDocumentRequest} requestParameters Request parameters.
|
|
3994
|
-
* @param {*} [options] Override http request option.
|
|
3995
|
-
* @throws {RequiredError}
|
|
3996
|
-
* @memberof ActionsApi
|
|
3997
|
-
*/
|
|
3998
|
-
createDocument(requestParameters, options) {
|
|
3999
|
-
return ActionsApi_CreateDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4000
|
-
}
|
|
4001
3556
|
/**
|
|
4002
3557
|
* Returns a list of Users who created any object for this workspace
|
|
4003
3558
|
* @summary Get Analytics Catalog CreatedBy Users
|
|
@@ -4009,16 +3564,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
4009
3564
|
createdBy(requestParameters, options) {
|
|
4010
3565
|
return ActionsApi_CreatedBy(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4011
3566
|
}
|
|
4012
|
-
/**
|
|
4013
|
-
*
|
|
4014
|
-
* @param {ActionsApiDeleteDocumentRequest} requestParameters Request parameters.
|
|
4015
|
-
* @param {*} [options] Override http request option.
|
|
4016
|
-
* @throws {RequiredError}
|
|
4017
|
-
* @memberof ActionsApi
|
|
4018
|
-
*/
|
|
4019
|
-
deleteDocument(requestParameters, options) {
|
|
4020
|
-
return ActionsApi_DeleteDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4021
|
-
}
|
|
4022
3567
|
/**
|
|
4023
3568
|
* The resource provides static structures needed for investigation of a problem with given AFM.
|
|
4024
3569
|
* @summary AFM explain resource.
|
|
@@ -4084,16 +3629,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
4084
3629
|
generateTitle(requestParameters, options) {
|
|
4085
3630
|
return ActionsApi_GenerateTitle(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4086
3631
|
}
|
|
4087
|
-
/**
|
|
4088
|
-
*
|
|
4089
|
-
* @param {ActionsApiGetDocumentRequest} requestParameters Request parameters.
|
|
4090
|
-
* @param {*} [options] Override http request option.
|
|
4091
|
-
* @throws {RequiredError}
|
|
4092
|
-
* @memberof ActionsApi
|
|
4093
|
-
*/
|
|
4094
|
-
getDocument(requestParameters, options) {
|
|
4095
|
-
return ActionsApi_GetDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4096
|
-
}
|
|
4097
3632
|
/**
|
|
4098
3633
|
* Returns metadata quality issues detected by the platform linter.
|
|
4099
3634
|
* @summary Get Quality Issues
|
|
@@ -4148,16 +3683,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
4148
3683
|
keyDriverAnalysisResult(requestParameters, options) {
|
|
4149
3684
|
return ActionsApi_KeyDriverAnalysisResult(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4150
3685
|
}
|
|
4151
|
-
/**
|
|
4152
|
-
*
|
|
4153
|
-
* @param {ActionsApiListDocumentsRequest} requestParameters Request parameters.
|
|
4154
|
-
* @param {*} [options] Override http request option.
|
|
4155
|
-
* @throws {RequiredError}
|
|
4156
|
-
* @memberof ActionsApi
|
|
4157
|
-
*/
|
|
4158
|
-
listDocuments(requestParameters, options) {
|
|
4159
|
-
return ActionsApi_ListDocuments(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4160
|
-
}
|
|
4161
3686
|
/**
|
|
4162
3687
|
* Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.
|
|
4163
3688
|
* @summary List LLM Provider Models
|
|
@@ -4213,16 +3738,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
4213
3738
|
outlierDetectionResult(requestParameters, options) {
|
|
4214
3739
|
return ActionsApi_OutlierDetectionResult(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4215
3740
|
}
|
|
4216
|
-
/**
|
|
4217
|
-
*
|
|
4218
|
-
* @param {ActionsApiPatchDocumentRequest} requestParameters Request parameters.
|
|
4219
|
-
* @param {*} [options] Override http request option.
|
|
4220
|
-
* @throws {RequiredError}
|
|
4221
|
-
* @memberof ActionsApi
|
|
4222
|
-
*/
|
|
4223
|
-
patchDocument(requestParameters, options) {
|
|
4224
|
-
return ActionsApi_PatchDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4225
|
-
}
|
|
4226
3741
|
/**
|
|
4227
3742
|
* Will be soon removed and replaced by LlmProvider-based resolution.
|
|
4228
3743
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -4279,16 +3794,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
4279
3794
|
retrieveResultBinary(requestParameters, options) {
|
|
4280
3795
|
return ActionsApi_RetrieveResultBinary(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4281
3796
|
}
|
|
4282
|
-
/**
|
|
4283
|
-
*
|
|
4284
|
-
* @param {ActionsApiSearchKnowledgeRequest} requestParameters Request parameters.
|
|
4285
|
-
* @param {*} [options] Override http request option.
|
|
4286
|
-
* @throws {RequiredError}
|
|
4287
|
-
* @memberof ActionsApi
|
|
4288
|
-
*/
|
|
4289
|
-
searchKnowledge(requestParameters, options) {
|
|
4290
|
-
return ActionsApi_SearchKnowledge(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4291
|
-
}
|
|
4292
3797
|
/**
|
|
4293
3798
|
* Returns a list of tags for this workspace
|
|
4294
3799
|
* @summary Get Analytics Catalog Tags
|
|
@@ -4344,16 +3849,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
4344
3849
|
triggerQualityIssuesCalculation(requestParameters, options) {
|
|
4345
3850
|
return ActionsApi_TriggerQualityIssuesCalculation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4346
3851
|
}
|
|
4347
|
-
/**
|
|
4348
|
-
*
|
|
4349
|
-
* @param {ActionsApiUpsertDocumentRequest} requestParameters Request parameters.
|
|
4350
|
-
* @param {*} [options] Override http request option.
|
|
4351
|
-
* @throws {RequiredError}
|
|
4352
|
-
* @memberof ActionsApi
|
|
4353
|
-
*/
|
|
4354
|
-
upsertDocument(requestParameters, options) {
|
|
4355
|
-
return ActionsApi_UpsertDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4356
|
-
}
|
|
4357
3852
|
/**
|
|
4358
3853
|
* Will be soon removed and replaced by testLlmProvider.
|
|
4359
3854
|
* @summary Validate LLM Endpoint
|