@gooddata/api-client-tiger 10.15.0-alpha.15 → 10.15.0-alpha.16
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 +1077 -402
- package/esm/genAI.d.ts +1 -1
- package/esm/genAI.d.ts.map +1 -1
- package/esm/genAI.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +133 -1
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +156 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +136 -84
- package/esm/generated/auth-json-api/api.d.ts +18 -0
- package/esm/generated/auth-json-api/api.d.ts.map +1 -1
- package/esm/generated/auth-json-api/api.js.map +1 -1
- package/esm/generated/auth-json-api/openapi-spec.json +9 -0
- package/esm/generated/metadata-json-api/api.d.ts +955 -380
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +810 -148
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +7921 -7775
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -365,6 +365,47 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
365
365
|
options: localVarRequestOptions,
|
|
366
366
|
};
|
|
367
367
|
},
|
|
368
|
+
/**
|
|
369
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
370
|
+
* @summary (BETA) Chat with AI
|
|
371
|
+
* @param {string} workspaceId Workspace identifier
|
|
372
|
+
* @param {ChatRequest} chatRequest
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
aiChatStream: async (workspaceId, chatRequest, options = {}) => {
|
|
377
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
378
|
+
assertParamExists("aiChatStream", "workspaceId", workspaceId);
|
|
379
|
+
// verify required parameter 'chatRequest' is not null or undefined
|
|
380
|
+
assertParamExists("aiChatStream", "chatRequest", chatRequest);
|
|
381
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/chatStream`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
384
|
+
let baseOptions;
|
|
385
|
+
if (configuration) {
|
|
386
|
+
baseOptions = configuration.baseOptions;
|
|
387
|
+
}
|
|
388
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
389
|
+
const localVarHeaderParameter = {};
|
|
390
|
+
const localVarQueryParameter = {};
|
|
391
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
392
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
393
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
394
|
+
localVarRequestOptions.headers = {
|
|
395
|
+
...localVarHeaderParameter,
|
|
396
|
+
...headersFromBaseOptions,
|
|
397
|
+
...options.headers,
|
|
398
|
+
};
|
|
399
|
+
const needsSerialization = typeof chatRequest !== "string" ||
|
|
400
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
401
|
+
localVarRequestOptions.data = needsSerialization
|
|
402
|
+
? JSON.stringify(chatRequest !== undefined ? chatRequest : {})
|
|
403
|
+
: chatRequest || "";
|
|
404
|
+
return {
|
|
405
|
+
url: toPathString(localVarUrlObj),
|
|
406
|
+
options: localVarRequestOptions,
|
|
407
|
+
};
|
|
408
|
+
},
|
|
368
409
|
/**
|
|
369
410
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
370
411
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -1170,6 +1211,18 @@ export const ActionsApiFp = function (configuration) {
|
|
|
1170
1211
|
const localVarAxiosArgs = await localVarAxiosParamCreator.aiChatHistory(workspaceId, chatHistoryRequest, options);
|
|
1171
1212
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1172
1213
|
},
|
|
1214
|
+
/**
|
|
1215
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
1216
|
+
* @summary (BETA) Chat with AI
|
|
1217
|
+
* @param {string} workspaceId Workspace identifier
|
|
1218
|
+
* @param {ChatRequest} chatRequest
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
*/
|
|
1222
|
+
async aiChatStream(workspaceId, chatRequest, options) {
|
|
1223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aiChatStream(workspaceId, chatRequest, options);
|
|
1224
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1225
|
+
},
|
|
1173
1226
|
/**
|
|
1174
1227
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
1175
1228
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -1431,6 +1484,18 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1431
1484
|
.aiChatHistory(requestParameters.workspaceId, requestParameters.chatHistoryRequest, options)
|
|
1432
1485
|
.then((request) => request(axios, basePath));
|
|
1433
1486
|
},
|
|
1487
|
+
/**
|
|
1488
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
1489
|
+
* @summary (BETA) Chat with AI
|
|
1490
|
+
* @param {ActionsApiAiChatStreamRequest} requestParameters Request parameters.
|
|
1491
|
+
* @param {*} [options] Override http request option.
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
*/
|
|
1494
|
+
aiChatStream(requestParameters, options) {
|
|
1495
|
+
return localVarFp
|
|
1496
|
+
.aiChatStream(requestParameters.workspaceId, requestParameters.chatRequest, options)
|
|
1497
|
+
.then((request) => request(axios, basePath));
|
|
1498
|
+
},
|
|
1434
1499
|
/**
|
|
1435
1500
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
1436
1501
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -1670,6 +1735,19 @@ export class ActionsApi extends BaseAPI {
|
|
|
1670
1735
|
.aiChatHistory(requestParameters.workspaceId, requestParameters.chatHistoryRequest, options)
|
|
1671
1736
|
.then((request) => request(this.axios, this.basePath));
|
|
1672
1737
|
}
|
|
1738
|
+
/**
|
|
1739
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
1740
|
+
* @summary (BETA) Chat with AI
|
|
1741
|
+
* @param {ActionsApiAiChatStreamRequest} requestParameters Request parameters.
|
|
1742
|
+
* @param {*} [options] Override http request option.
|
|
1743
|
+
* @throws {RequiredError}
|
|
1744
|
+
* @memberof ActionsApi
|
|
1745
|
+
*/
|
|
1746
|
+
aiChatStream(requestParameters, options) {
|
|
1747
|
+
return ActionsApiFp(this.configuration)
|
|
1748
|
+
.aiChatStream(requestParameters.workspaceId, requestParameters.chatRequest, options)
|
|
1749
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1750
|
+
}
|
|
1673
1751
|
/**
|
|
1674
1752
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
1675
1753
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -2764,6 +2842,47 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
2764
2842
|
options: localVarRequestOptions,
|
|
2765
2843
|
};
|
|
2766
2844
|
},
|
|
2845
|
+
/**
|
|
2846
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
2847
|
+
* @summary (BETA) Chat with AI
|
|
2848
|
+
* @param {string} workspaceId Workspace identifier
|
|
2849
|
+
* @param {ChatRequest} chatRequest
|
|
2850
|
+
* @param {*} [options] Override http request option.
|
|
2851
|
+
* @throws {RequiredError}
|
|
2852
|
+
*/
|
|
2853
|
+
aiChatStream: async (workspaceId, chatRequest, options = {}) => {
|
|
2854
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2855
|
+
assertParamExists("aiChatStream", "workspaceId", workspaceId);
|
|
2856
|
+
// verify required parameter 'chatRequest' is not null or undefined
|
|
2857
|
+
assertParamExists("aiChatStream", "chatRequest", chatRequest);
|
|
2858
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/chatStream`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2859
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2860
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2861
|
+
let baseOptions;
|
|
2862
|
+
if (configuration) {
|
|
2863
|
+
baseOptions = configuration.baseOptions;
|
|
2864
|
+
}
|
|
2865
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2866
|
+
const localVarHeaderParameter = {};
|
|
2867
|
+
const localVarQueryParameter = {};
|
|
2868
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2869
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2870
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2871
|
+
localVarRequestOptions.headers = {
|
|
2872
|
+
...localVarHeaderParameter,
|
|
2873
|
+
...headersFromBaseOptions,
|
|
2874
|
+
...options.headers,
|
|
2875
|
+
};
|
|
2876
|
+
const needsSerialization = typeof chatRequest !== "string" ||
|
|
2877
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2878
|
+
localVarRequestOptions.data = needsSerialization
|
|
2879
|
+
? JSON.stringify(chatRequest !== undefined ? chatRequest : {})
|
|
2880
|
+
: chatRequest || "";
|
|
2881
|
+
return {
|
|
2882
|
+
url: toPathString(localVarUrlObj),
|
|
2883
|
+
options: localVarRequestOptions,
|
|
2884
|
+
};
|
|
2885
|
+
},
|
|
2767
2886
|
/**
|
|
2768
2887
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
2769
2888
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -3164,6 +3283,18 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
3164
3283
|
const localVarAxiosArgs = await localVarAxiosParamCreator.aiChatHistory(workspaceId, chatHistoryRequest, options);
|
|
3165
3284
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3166
3285
|
},
|
|
3286
|
+
/**
|
|
3287
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
3288
|
+
* @summary (BETA) Chat with AI
|
|
3289
|
+
* @param {string} workspaceId Workspace identifier
|
|
3290
|
+
* @param {ChatRequest} chatRequest
|
|
3291
|
+
* @param {*} [options] Override http request option.
|
|
3292
|
+
* @throws {RequiredError}
|
|
3293
|
+
*/
|
|
3294
|
+
async aiChatStream(workspaceId, chatRequest, options) {
|
|
3295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aiChatStream(workspaceId, chatRequest, options);
|
|
3296
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3297
|
+
},
|
|
3167
3298
|
/**
|
|
3168
3299
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
3169
3300
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -3305,6 +3436,18 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
3305
3436
|
.aiChatHistory(requestParameters.workspaceId, requestParameters.chatHistoryRequest, options)
|
|
3306
3437
|
.then((request) => request(axios, basePath));
|
|
3307
3438
|
},
|
|
3439
|
+
/**
|
|
3440
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
3441
|
+
* @summary (BETA) Chat with AI
|
|
3442
|
+
* @param {SmartFunctionsApiAiChatStreamRequest} requestParameters Request parameters.
|
|
3443
|
+
* @param {*} [options] Override http request option.
|
|
3444
|
+
* @throws {RequiredError}
|
|
3445
|
+
*/
|
|
3446
|
+
aiChatStream(requestParameters, options) {
|
|
3447
|
+
return localVarFp
|
|
3448
|
+
.aiChatStream(requestParameters.workspaceId, requestParameters.chatRequest, options)
|
|
3449
|
+
.then((request) => request(axios, basePath));
|
|
3450
|
+
},
|
|
3308
3451
|
/**
|
|
3309
3452
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
3310
3453
|
* @summary (BETA) Route to supported use cases based on this input query.
|
|
@@ -3436,6 +3579,19 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
3436
3579
|
.aiChatHistory(requestParameters.workspaceId, requestParameters.chatHistoryRequest, options)
|
|
3437
3580
|
.then((request) => request(this.axios, this.basePath));
|
|
3438
3581
|
}
|
|
3582
|
+
/**
|
|
3583
|
+
* (BETA) Combines multiple use cases such as search, create visualizations, ...
|
|
3584
|
+
* @summary (BETA) Chat with AI
|
|
3585
|
+
* @param {SmartFunctionsApiAiChatStreamRequest} requestParameters Request parameters.
|
|
3586
|
+
* @param {*} [options] Override http request option.
|
|
3587
|
+
* @throws {RequiredError}
|
|
3588
|
+
* @memberof SmartFunctionsApi
|
|
3589
|
+
*/
|
|
3590
|
+
aiChatStream(requestParameters, options) {
|
|
3591
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
3592
|
+
.aiChatStream(requestParameters.workspaceId, requestParameters.chatRequest, options)
|
|
3593
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3594
|
+
}
|
|
3439
3595
|
/**
|
|
3440
3596
|
* (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
|
|
3441
3597
|
* @summary (BETA) Route to supported use cases based on this input query.
|