@epam/ai-dial-typescript-sdk 0.1.0-dev.37 → 0.1.0-dev.39
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/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +907 -333
- package/dist/index.d.ts +907 -333
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -291,6 +291,8 @@ var getToolsetUrl = (toolset_name) => {
|
|
|
291
291
|
};
|
|
292
292
|
var getUserBucketUrl = "/v1/bucket";
|
|
293
293
|
var getUserInfoUrl = "/v1/user/info";
|
|
294
|
+
var getUserLimitsUrl = "/v1/user/limits";
|
|
295
|
+
var getUserUsageUrl = "/v1/user/usage";
|
|
294
296
|
var grantExternalServiceConsentUrl = (appid, id) => {
|
|
295
297
|
return `/v1/applications/${appid}/external-services/${id}/consent`;
|
|
296
298
|
};
|
|
@@ -778,6 +780,8 @@ function createSDK(opts) {
|
|
|
778
780
|
getToolset: (toolset_name, init) => client.GET(getToolsetUrl(toolset_name), init),
|
|
779
781
|
getUserBucket: (init) => client.GET(getUserBucketUrl, init),
|
|
780
782
|
getUserInfo: (init) => client.GET(getUserInfoUrl, init),
|
|
783
|
+
getUserLimits: (init) => client.GET(getUserLimitsUrl, init),
|
|
784
|
+
getUserUsage: (init) => client.GET(getUserUsageUrl, init),
|
|
781
785
|
grantExternalServiceConsent: (appid, id, init) => client.POST(
|
|
782
786
|
grantExternalServiceConsentUrl(appid, id),
|
|
783
787
|
init
|