@epam/ai-dial-usage-dashboard 1.1.0-dev.372 → 1.1.0-dev.375
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/index.js +16 -0
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -1534,6 +1534,22 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
|
|
|
1534
1534
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ConversationsApi = void 0;
|
|
1535
1535
|
var t = (W(), b(A)).__importStar(G());
|
|
1536
1536
|
e.ConversationsApi = class extends t.BaseAPI {
|
|
1537
|
+
async attachToGenerationRaw(e, n) {
|
|
1538
|
+
if (e.attachGenerationDto == null) throw new t.RequiredError("attachGenerationDto", "Required parameter \"attachGenerationDto\" was null or undefined when calling attachToGeneration().");
|
|
1539
|
+
let r = {}, i = {};
|
|
1540
|
+
i["Content-Type"] = "application/json";
|
|
1541
|
+
let a = await this.request({
|
|
1542
|
+
path: "/api/v1/conversations/completions/attach",
|
|
1543
|
+
method: "POST",
|
|
1544
|
+
headers: i,
|
|
1545
|
+
query: r,
|
|
1546
|
+
body: e.attachGenerationDto
|
|
1547
|
+
}, n);
|
|
1548
|
+
return new t.VoidApiResponse(a);
|
|
1549
|
+
}
|
|
1550
|
+
async attachToGeneration(e, t) {
|
|
1551
|
+
await this.attachToGenerationRaw(e, t);
|
|
1552
|
+
}
|
|
1537
1553
|
async createConversationRaw(e, n) {
|
|
1538
1554
|
if (e.createConversationDto == null) throw new t.RequiredError("createConversationDto", "Required parameter \"createConversationDto\" was null or undefined when calling createConversation().");
|
|
1539
1555
|
let r = {}, i = {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-usage-dashboard",
|
|
3
3
|
"description": "Presentational aggregate cost-limit cards for the Usage settings dashboard",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.375",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@epam/ai-dial-chat-api-client": "1.1.0-dev.
|
|
20
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
19
|
+
"@epam/ai-dial-chat-api-client": "1.1.0-dev.375",
|
|
20
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.375",
|
|
21
21
|
"@epam/ai-dial-ui-kit": "^0.14.0-dev.15",
|
|
22
22
|
"@tabler/icons-react": "^3.44.0",
|
|
23
23
|
"react": "^19.2.7"
|