@epam/ai-dial-usage-dashboard 1.2.0-dev.28 → 1.2.0-dev.34
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
|
@@ -2983,6 +2983,22 @@ var R, z, B, Ye, V, H, Xe, U = y((() => {
|
|
|
2983
2983
|
async downloadSkillFile(e, t) {
|
|
2984
2984
|
return await (await this.downloadSkillFileRaw(e, t)).value();
|
|
2985
2985
|
}
|
|
2986
|
+
async getSkillMetadataRaw(e, n) {
|
|
2987
|
+
if (e.bucket == null) throw new t.RequiredError("bucket", "Required parameter \"bucket\" was null or undefined when calling getSkillMetadata().");
|
|
2988
|
+
if (e.path == null) throw new t.RequiredError("path", "Required parameter \"path\" was null or undefined when calling getSkillMetadata().");
|
|
2989
|
+
let r = {};
|
|
2990
|
+
e.bucket != null && (r.bucket = e.bucket), e.path != null && (r.path = e.path);
|
|
2991
|
+
let i = await this.request({
|
|
2992
|
+
path: "/api/v1/skills/metadata",
|
|
2993
|
+
method: "GET",
|
|
2994
|
+
headers: {},
|
|
2995
|
+
query: r
|
|
2996
|
+
}, n);
|
|
2997
|
+
return new t.JSONApiResponse(i);
|
|
2998
|
+
}
|
|
2999
|
+
async getSkillMetadata(e, t) {
|
|
3000
|
+
return await (await this.getSkillMetadataRaw(e, t)).value();
|
|
3001
|
+
}
|
|
2986
3002
|
async importSkillArchiveRaw(e, n) {
|
|
2987
3003
|
if (e.file == null) throw new t.RequiredError("file", "Required parameter \"file\" was null or undefined when calling importSkillArchive().");
|
|
2988
3004
|
let r = {}, i = {}, a = t.canConsumeForm([{ contentType: "multipart/form-data" }]), o, s = !1;
|
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.2.0-dev.
|
|
4
|
+
"version": "1.2.0-dev.34",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tabler/icons-react": "^3.44.0",
|
|
21
|
-
"@epam/ai-dial-chat-api-client": "1.2.0-dev.
|
|
21
|
+
"@epam/ai-dial-chat-api-client": "1.2.0-dev.34"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@epam/ai-dial-chat-shared": "1.2.0-dev.
|
|
24
|
+
"@epam/ai-dial-chat-shared": "1.2.0-dev.34",
|
|
25
25
|
"@epam/ai-dial-ui-kit": "^0.14.2",
|
|
26
26
|
"react": "^19.2.8"
|
|
27
27
|
},
|