@ideascol/agents-generator-sdk 0.5.0 → 0.5.1

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
@@ -1015,7 +1015,7 @@ var init_AdminAgentsService = __esm(() => {
1015
1015
 
1016
1016
  // src/lib/clients/agents-generator/services/AdminApiKeysService.ts
1017
1017
  class AdminApiKeysService {
1018
- static createApiKeyWorkspacesWorkspaceIdApiKeysPost(workspaceId, requestBody) {
1018
+ static createWorkspaceApiKey(workspaceId, requestBody) {
1019
1019
  return request(OpenAPI, {
1020
1020
  method: "POST",
1021
1021
  url: "/workspaces/{workspace_id}/api-keys",
@@ -1029,7 +1029,7 @@ class AdminApiKeysService {
1029
1029
  }
1030
1030
  });
1031
1031
  }
1032
- static getApiKeysWorkspacesWorkspaceIdApiKeysGet(workspaceId) {
1032
+ static listWorkspaceApiKeys(workspaceId) {
1033
1033
  return request(OpenAPI, {
1034
1034
  method: "GET",
1035
1035
  url: "/workspaces/{workspace_id}/api-keys",
@@ -1041,7 +1041,7 @@ class AdminApiKeysService {
1041
1041
  }
1042
1042
  });
1043
1043
  }
1044
- static getApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdGet(apiKeyId) {
1044
+ static getWorkspaceApiKey(apiKeyId) {
1045
1045
  return request(OpenAPI, {
1046
1046
  method: "GET",
1047
1047
  url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
@@ -1053,7 +1053,7 @@ class AdminApiKeysService {
1053
1053
  }
1054
1054
  });
1055
1055
  }
1056
- static updateApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdPatch(workspaceId, apiKeyId, requestBody) {
1056
+ static updateWorkspaceApiKey(workspaceId, apiKeyId, requestBody) {
1057
1057
  return request(OpenAPI, {
1058
1058
  method: "PATCH",
1059
1059
  url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
@@ -1068,7 +1068,7 @@ class AdminApiKeysService {
1068
1068
  }
1069
1069
  });
1070
1070
  }
1071
- static deleteApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdDelete(apiKeyId) {
1071
+ static deleteWorkspaceApiKey(apiKeyId) {
1072
1072
  return request(OpenAPI, {
1073
1073
  method: "DELETE",
1074
1074
  url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
package/dist/index.js CHANGED
@@ -583,7 +583,7 @@ var init_AdminAgentsService = __esm(() => {
583
583
 
584
584
  // src/lib/clients/agents-generator/services/AdminApiKeysService.ts
585
585
  class AdminApiKeysService {
586
- static createApiKeyWorkspacesWorkspaceIdApiKeysPost(workspaceId, requestBody) {
586
+ static createWorkspaceApiKey(workspaceId, requestBody) {
587
587
  return request(OpenAPI, {
588
588
  method: "POST",
589
589
  url: "/workspaces/{workspace_id}/api-keys",
@@ -597,7 +597,7 @@ class AdminApiKeysService {
597
597
  }
598
598
  });
599
599
  }
600
- static getApiKeysWorkspacesWorkspaceIdApiKeysGet(workspaceId) {
600
+ static listWorkspaceApiKeys(workspaceId) {
601
601
  return request(OpenAPI, {
602
602
  method: "GET",
603
603
  url: "/workspaces/{workspace_id}/api-keys",
@@ -609,7 +609,7 @@ class AdminApiKeysService {
609
609
  }
610
610
  });
611
611
  }
612
- static getApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdGet(apiKeyId) {
612
+ static getWorkspaceApiKey(apiKeyId) {
613
613
  return request(OpenAPI, {
614
614
  method: "GET",
615
615
  url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
@@ -621,7 +621,7 @@ class AdminApiKeysService {
621
621
  }
622
622
  });
623
623
  }
624
- static updateApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdPatch(workspaceId, apiKeyId, requestBody) {
624
+ static updateWorkspaceApiKey(workspaceId, apiKeyId, requestBody) {
625
625
  return request(OpenAPI, {
626
626
  method: "PATCH",
627
627
  url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
@@ -636,7 +636,7 @@ class AdminApiKeysService {
636
636
  }
637
637
  });
638
638
  }
639
- static deleteApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdDelete(apiKeyId) {
639
+ static deleteWorkspaceApiKey(apiKeyId) {
640
640
  return request(OpenAPI, {
641
641
  method: "DELETE",
642
642
  url: "/workspaces/{workspace_id}/api-keys/{api_key_id}",
@@ -12,7 +12,7 @@ export declare class AdminApiKeysService {
12
12
  * @returns ApiKeyWithSecret Successful Response
13
13
  * @throws ApiError
14
14
  */
15
- static createApiKeyWorkspacesWorkspaceIdApiKeysPost(workspaceId: string, requestBody: ApiKeyCreate): CancelablePromise<ApiKeyWithSecret>;
15
+ static createWorkspaceApiKey(workspaceId: string, requestBody: ApiKeyCreate): CancelablePromise<ApiKeyWithSecret>;
16
16
  /**
17
17
  * Get Api Keys
18
18
  * Get all API keys for a workspace
@@ -20,7 +20,7 @@ export declare class AdminApiKeysService {
20
20
  * @returns ApiKeyResponse Successful Response
21
21
  * @throws ApiError
22
22
  */
23
- static getApiKeysWorkspacesWorkspaceIdApiKeysGet(workspaceId: string): CancelablePromise<Array<ApiKeyResponse>>;
23
+ static listWorkspaceApiKeys(workspaceId: string): CancelablePromise<Array<ApiKeyResponse>>;
24
24
  /**
25
25
  * Get Api Key
26
26
  * Get a specific API key
@@ -28,7 +28,7 @@ export declare class AdminApiKeysService {
28
28
  * @returns ApiKeyResponse Successful Response
29
29
  * @throws ApiError
30
30
  */
31
- static getApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdGet(apiKeyId: string): CancelablePromise<ApiKeyResponse>;
31
+ static getWorkspaceApiKey(apiKeyId: string): CancelablePromise<ApiKeyResponse>;
32
32
  /**
33
33
  * Update Api Key
34
34
  * Update an API key
@@ -38,7 +38,7 @@ export declare class AdminApiKeysService {
38
38
  * @returns ApiKeyResponse Successful Response
39
39
  * @throws ApiError
40
40
  */
41
- static updateApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdPatch(workspaceId: string, apiKeyId: string, requestBody: ApiKeyUpdate): CancelablePromise<ApiKeyResponse>;
41
+ static updateWorkspaceApiKey(workspaceId: string, apiKeyId: string, requestBody: ApiKeyUpdate): CancelablePromise<ApiKeyResponse>;
42
42
  /**
43
43
  * Delete Api Key
44
44
  * Delete an API key
@@ -46,5 +46,5 @@ export declare class AdminApiKeysService {
46
46
  * @returns any Successful Response
47
47
  * @throws ApiError
48
48
  */
49
- static deleteApiKeyWorkspacesWorkspaceIdApiKeysApiKeyIdDelete(apiKeyId: string): CancelablePromise<any>;
49
+ static deleteWorkspaceApiKey(apiKeyId: string): CancelablePromise<any>;
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ideascol/agents-generator-sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "bun test",