@ideascol/agents-generator-sdk 0.5.1 → 0.5.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/dist/bin/cli.js
CHANGED
|
@@ -598,7 +598,7 @@ var OpenAPI;
|
|
|
598
598
|
var init_OpenAPI = __esm(() => {
|
|
599
599
|
OpenAPI = {
|
|
600
600
|
BASE: "",
|
|
601
|
-
VERSION: "main-
|
|
601
|
+
VERSION: "main-460f9844fbfbb3dd67d86ffaffa84411b5af7aae",
|
|
602
602
|
WITH_CREDENTIALS: false,
|
|
603
603
|
CREDENTIALS: "include",
|
|
604
604
|
TOKEN: undefined,
|
|
@@ -1041,11 +1041,12 @@ class AdminApiKeysService {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
});
|
|
1043
1043
|
}
|
|
1044
|
-
static getWorkspaceApiKey(apiKeyId) {
|
|
1044
|
+
static getWorkspaceApiKey(workspaceId, apiKeyId) {
|
|
1045
1045
|
return request(OpenAPI, {
|
|
1046
1046
|
method: "GET",
|
|
1047
1047
|
url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
|
|
1048
1048
|
path: {
|
|
1049
|
+
workspace_id: workspaceId,
|
|
1049
1050
|
api_key_id: apiKeyId
|
|
1050
1051
|
},
|
|
1051
1052
|
errors: {
|
|
@@ -1068,11 +1069,12 @@ class AdminApiKeysService {
|
|
|
1068
1069
|
}
|
|
1069
1070
|
});
|
|
1070
1071
|
}
|
|
1071
|
-
static deleteWorkspaceApiKey(apiKeyId) {
|
|
1072
|
+
static deleteWorkspaceApiKey(workspaceId, apiKeyId) {
|
|
1072
1073
|
return request(OpenAPI, {
|
|
1073
1074
|
method: "DELETE",
|
|
1074
1075
|
url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
|
|
1075
1076
|
path: {
|
|
1077
|
+
workspace_id: workspaceId,
|
|
1076
1078
|
api_key_id: apiKeyId
|
|
1077
1079
|
},
|
|
1078
1080
|
errors: {
|
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ var OpenAPI;
|
|
|
166
166
|
var init_OpenAPI = __esm(() => {
|
|
167
167
|
OpenAPI = {
|
|
168
168
|
BASE: "",
|
|
169
|
-
VERSION: "main-
|
|
169
|
+
VERSION: "main-460f9844fbfbb3dd67d86ffaffa84411b5af7aae",
|
|
170
170
|
WITH_CREDENTIALS: false,
|
|
171
171
|
CREDENTIALS: "include",
|
|
172
172
|
TOKEN: undefined,
|
|
@@ -609,11 +609,12 @@ class AdminApiKeysService {
|
|
|
609
609
|
}
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
|
-
static getWorkspaceApiKey(apiKeyId) {
|
|
612
|
+
static getWorkspaceApiKey(workspaceId, apiKeyId) {
|
|
613
613
|
return request(OpenAPI, {
|
|
614
614
|
method: "GET",
|
|
615
615
|
url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
|
|
616
616
|
path: {
|
|
617
|
+
workspace_id: workspaceId,
|
|
617
618
|
api_key_id: apiKeyId
|
|
618
619
|
},
|
|
619
620
|
errors: {
|
|
@@ -636,11 +637,12 @@ class AdminApiKeysService {
|
|
|
636
637
|
}
|
|
637
638
|
});
|
|
638
639
|
}
|
|
639
|
-
static deleteWorkspaceApiKey(apiKeyId) {
|
|
640
|
+
static deleteWorkspaceApiKey(workspaceId, apiKeyId) {
|
|
640
641
|
return request(OpenAPI, {
|
|
641
642
|
method: "DELETE",
|
|
642
643
|
url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
|
|
643
644
|
path: {
|
|
645
|
+
workspace_id: workspaceId,
|
|
644
646
|
api_key_id: apiKeyId
|
|
645
647
|
},
|
|
646
648
|
errors: {
|
|
@@ -7,7 +7,7 @@ export declare class AdminApiKeysService {
|
|
|
7
7
|
/**
|
|
8
8
|
* Create Api Key
|
|
9
9
|
* Create a new API key for a workspace
|
|
10
|
-
* @param workspaceId
|
|
10
|
+
* @param workspaceId Workspace ID
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @returns ApiKeyWithSecret Successful Response
|
|
13
13
|
* @throws ApiError
|
|
@@ -16,7 +16,7 @@ export declare class AdminApiKeysService {
|
|
|
16
16
|
/**
|
|
17
17
|
* Get Api Keys
|
|
18
18
|
* Get all API keys for a workspace
|
|
19
|
-
* @param workspaceId
|
|
19
|
+
* @param workspaceId Workspace ID
|
|
20
20
|
* @returns ApiKeyResponse Successful Response
|
|
21
21
|
* @throws ApiError
|
|
22
22
|
*/
|
|
@@ -24,16 +24,17 @@ export declare class AdminApiKeysService {
|
|
|
24
24
|
/**
|
|
25
25
|
* Get Api Key
|
|
26
26
|
* Get a specific API key
|
|
27
|
-
* @param
|
|
27
|
+
* @param workspaceId Workspace ID
|
|
28
|
+
* @param apiKeyId API Key ID
|
|
28
29
|
* @returns ApiKeyResponse Successful Response
|
|
29
30
|
* @throws ApiError
|
|
30
31
|
*/
|
|
31
|
-
static getWorkspaceApiKey(apiKeyId: string): CancelablePromise<ApiKeyResponse>;
|
|
32
|
+
static getWorkspaceApiKey(workspaceId: string, apiKeyId: string): CancelablePromise<ApiKeyResponse>;
|
|
32
33
|
/**
|
|
33
34
|
* Update Api Key
|
|
34
35
|
* Update an API key
|
|
35
|
-
* @param workspaceId
|
|
36
|
-
* @param apiKeyId
|
|
36
|
+
* @param workspaceId Workspace ID
|
|
37
|
+
* @param apiKeyId API Key ID
|
|
37
38
|
* @param requestBody
|
|
38
39
|
* @returns ApiKeyResponse Successful Response
|
|
39
40
|
* @throws ApiError
|
|
@@ -42,9 +43,10 @@ export declare class AdminApiKeysService {
|
|
|
42
43
|
/**
|
|
43
44
|
* Delete Api Key
|
|
44
45
|
* Delete an API key
|
|
45
|
-
* @param
|
|
46
|
+
* @param workspaceId Workspace ID
|
|
47
|
+
* @param apiKeyId API Key ID
|
|
46
48
|
* @returns any Successful Response
|
|
47
49
|
* @throws ApiError
|
|
48
50
|
*/
|
|
49
|
-
static deleteWorkspaceApiKey(apiKeyId: string): CancelablePromise<any>;
|
|
51
|
+
static deleteWorkspaceApiKey(workspaceId: string, apiKeyId: string): CancelablePromise<any>;
|
|
50
52
|
}
|