@gooddata/api-client-tiger 11.61.0-alpha.2 → 11.61.0-alpha.3
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 +120 -1
- package/esm/endpoints/entitiesObjects/index.d.ts +1 -1
- package/esm/endpoints/entitiesObjects/index.d.ts.map +1 -1
- package/esm/endpoints/entitiesObjects/index.js +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 +2 -2
- package/esm/generated/ai-json-api/api.d.ts +109 -1
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +84 -0
- package/package.json +4 -4
|
@@ -1590,6 +1590,64 @@ export async function ConversationsAiAxiosParamCreator_PatchDashboardApiV1AiWork
|
|
|
1590
1590
|
};
|
|
1591
1591
|
}
|
|
1592
1592
|
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
1593
|
+
/**
|
|
1594
|
+
* Records the report entity the user saved the conversation\'s report draft as.
|
|
1595
|
+
* @summary Link a saved report
|
|
1596
|
+
* @param {string} workspaceId
|
|
1597
|
+
* @param {string} conversationId
|
|
1598
|
+
* @param {string} reportRef
|
|
1599
|
+
* @param {AiReportIdUpdateRequest} aiReportIdUpdateRequest
|
|
1600
|
+
* @param {*} [options] Override http request option.
|
|
1601
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
*/
|
|
1604
|
+
export async function ConversationsAiAxiosParamCreator_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(workspaceId, conversationId, reportRef, aiReportIdUpdateRequest, options = {}, configuration) {
|
|
1605
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1606
|
+
assertParamExists('patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch', 'workspaceId', workspaceId);
|
|
1607
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
1608
|
+
assertParamExists('patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch', 'conversationId', conversationId);
|
|
1609
|
+
// verify required parameter 'reportRef' is not null or undefined
|
|
1610
|
+
assertParamExists('patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch', 'reportRef', reportRef);
|
|
1611
|
+
// verify required parameter 'aiReportIdUpdateRequest' is not null or undefined
|
|
1612
|
+
assertParamExists('patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch', 'aiReportIdUpdateRequest', aiReportIdUpdateRequest);
|
|
1613
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/reports/{report_ref}`
|
|
1614
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1615
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)))
|
|
1616
|
+
.replace(`{${"report_ref"}}`, encodeURIComponent(String(reportRef)));
|
|
1617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1619
|
+
let baseOptions;
|
|
1620
|
+
if (configuration) {
|
|
1621
|
+
baseOptions = configuration.baseOptions;
|
|
1622
|
+
}
|
|
1623
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
1624
|
+
const localVarHeaderParameter = {};
|
|
1625
|
+
const localVarQueryParameter = {};
|
|
1626
|
+
const consumes = [
|
|
1627
|
+
'application/json'
|
|
1628
|
+
];
|
|
1629
|
+
// use application/json if present, otherwise fallback to the first one
|
|
1630
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
1631
|
+
? 'application/json'
|
|
1632
|
+
: consumes[0];
|
|
1633
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1634
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1635
|
+
localVarRequestOptions.headers = {
|
|
1636
|
+
...localVarHeaderParameter,
|
|
1637
|
+
...headersFromBaseOptions,
|
|
1638
|
+
...options.headers,
|
|
1639
|
+
};
|
|
1640
|
+
const needsSerialization = typeof aiReportIdUpdateRequest !== "string" ||
|
|
1641
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1642
|
+
localVarRequestOptions.data = needsSerialization
|
|
1643
|
+
? JSON.stringify(aiReportIdUpdateRequest !== undefined ? aiReportIdUpdateRequest : {})
|
|
1644
|
+
: aiReportIdUpdateRequest || "";
|
|
1645
|
+
return {
|
|
1646
|
+
url: toPathString(localVarUrlObj),
|
|
1647
|
+
options: localVarRequestOptions,
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
1593
1651
|
/**
|
|
1594
1652
|
* Attaches positive or negative feedback, with optional free-text, to one response.
|
|
1595
1653
|
* @summary Rate a response
|
|
@@ -2079,6 +2137,21 @@ export async function ConversationsAi_PatchDashboardApiV1AiWorkspacesWorkspaceId
|
|
|
2079
2137
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2080
2138
|
}
|
|
2081
2139
|
// ConversationsAi Api FP
|
|
2140
|
+
/**
|
|
2141
|
+
* Records the report entity the user saved the conversation\'s report draft as.
|
|
2142
|
+
* @summary Link a saved report
|
|
2143
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
2144
|
+
* @param {string} basePath Base path.
|
|
2145
|
+
* @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
|
|
2146
|
+
* @param {*} [options] Override http request option.
|
|
2147
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
*/
|
|
2150
|
+
export async function ConversationsAi_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(axios, basePath, requestParameters, options, configuration) {
|
|
2151
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(requestParameters.workspaceId, requestParameters.conversationId, requestParameters.reportRef, requestParameters.aiReportIdUpdateRequest, options || {}, configuration);
|
|
2152
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2153
|
+
}
|
|
2154
|
+
// ConversationsAi Api FP
|
|
2082
2155
|
/**
|
|
2083
2156
|
* Attaches positive or negative feedback, with optional free-text, to one response.
|
|
2084
2157
|
* @summary Rate a response
|
|
@@ -2278,6 +2351,17 @@ export class ConversationsAi extends BaseAPI {
|
|
|
2278
2351
|
patchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(requestParameters, options) {
|
|
2279
2352
|
return ConversationsAi_PatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2280
2353
|
}
|
|
2354
|
+
/**
|
|
2355
|
+
* Records the report entity the user saved the conversation\'s report draft as.
|
|
2356
|
+
* @summary Link a saved report
|
|
2357
|
+
* @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
* @memberof ConversationsAi
|
|
2361
|
+
*/
|
|
2362
|
+
patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(requestParameters, options) {
|
|
2363
|
+
return ConversationsAi_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2364
|
+
}
|
|
2281
2365
|
/**
|
|
2282
2366
|
* Attaches positive or negative feedback, with optional free-text, to one response.
|
|
2283
2367
|
* @summary Rate a response
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/api-client-tiger",
|
|
3
|
-
"version": "11.61.0-alpha.
|
|
3
|
+
"version": "11.61.0-alpha.3",
|
|
4
4
|
"description": "API Client for GoodData Cloud and GoodData.CN",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"axios-cache-interceptor": "1.12.0",
|
|
47
47
|
"lodash-es": "^4.17.23",
|
|
48
48
|
"tslib": "2.8.1",
|
|
49
|
-
"@gooddata/sdk-model": "11.61.0-alpha.
|
|
49
|
+
"@gooddata/sdk-model": "11.61.0-alpha.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"oxlint-tsgolint": "7.0.2001",
|
|
74
74
|
"typescript": "7.0.2",
|
|
75
75
|
"vitest": "4.1.11",
|
|
76
|
-
"@gooddata/
|
|
77
|
-
"@gooddata/
|
|
76
|
+
"@gooddata/oxlint-config": "11.61.0-alpha.3",
|
|
77
|
+
"@gooddata/eslint-config": "11.61.0-alpha.3"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"_phase:build": "npm run build",
|