@ideascol/agents-generator-sdk 0.3.2 → 0.3.4
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
|
@@ -910,6 +910,18 @@ class AdminAgentsService {
|
|
|
910
910
|
}
|
|
911
911
|
});
|
|
912
912
|
}
|
|
913
|
+
static getWorkspaceConversationsTotal(workspaceId) {
|
|
914
|
+
return request(OpenAPI, {
|
|
915
|
+
method: "GET",
|
|
916
|
+
url: "/agents/conversations/total",
|
|
917
|
+
query: {
|
|
918
|
+
workspace_id: workspaceId
|
|
919
|
+
},
|
|
920
|
+
errors: {
|
|
921
|
+
422: `Validation Error`
|
|
922
|
+
}
|
|
923
|
+
});
|
|
924
|
+
}
|
|
913
925
|
static initializeAgent(agentId) {
|
|
914
926
|
return request(OpenAPI, {
|
|
915
927
|
method: "POST",
|
|
@@ -955,6 +967,21 @@ class AdminAgentsService {
|
|
|
955
967
|
}
|
|
956
968
|
});
|
|
957
969
|
}
|
|
970
|
+
static getAgentConversationsTotal(agentId, workspaceId) {
|
|
971
|
+
return request(OpenAPI, {
|
|
972
|
+
method: "GET",
|
|
973
|
+
url: "/agents/{agent_id}/conversations/total",
|
|
974
|
+
path: {
|
|
975
|
+
agent_id: agentId
|
|
976
|
+
},
|
|
977
|
+
query: {
|
|
978
|
+
workspace_id: workspaceId
|
|
979
|
+
},
|
|
980
|
+
errors: {
|
|
981
|
+
422: `Validation Error`
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
}
|
|
958
985
|
static visualizeAgent(agentId, userId, format = "png") {
|
|
959
986
|
return request(OpenAPI, {
|
|
960
987
|
method: "GET",
|
|
@@ -1502,6 +1529,18 @@ class AgentService {
|
|
|
1502
1529
|
}
|
|
1503
1530
|
});
|
|
1504
1531
|
}
|
|
1532
|
+
static getWorkspaceConversationsTotal(workspaceId) {
|
|
1533
|
+
return request(OpenAPI, {
|
|
1534
|
+
method: "GET",
|
|
1535
|
+
url: "/agents/conversations/total",
|
|
1536
|
+
query: {
|
|
1537
|
+
workspace_id: workspaceId
|
|
1538
|
+
},
|
|
1539
|
+
errors: {
|
|
1540
|
+
422: `Validation Error`
|
|
1541
|
+
}
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1505
1544
|
static initializeAgent(agentId) {
|
|
1506
1545
|
return request(OpenAPI, {
|
|
1507
1546
|
method: "POST",
|
|
@@ -1547,6 +1586,21 @@ class AgentService {
|
|
|
1547
1586
|
}
|
|
1548
1587
|
});
|
|
1549
1588
|
}
|
|
1589
|
+
static getAgentConversationsTotal(agentId, workspaceId) {
|
|
1590
|
+
return request(OpenAPI, {
|
|
1591
|
+
method: "GET",
|
|
1592
|
+
url: "/agents/{agent_id}/conversations/total",
|
|
1593
|
+
path: {
|
|
1594
|
+
agent_id: agentId
|
|
1595
|
+
},
|
|
1596
|
+
query: {
|
|
1597
|
+
workspace_id: workspaceId
|
|
1598
|
+
},
|
|
1599
|
+
errors: {
|
|
1600
|
+
422: `Validation Error`
|
|
1601
|
+
}
|
|
1602
|
+
});
|
|
1603
|
+
}
|
|
1550
1604
|
static visualizeAgent(agentId, userId, format = "png") {
|
|
1551
1605
|
return request(OpenAPI, {
|
|
1552
1606
|
method: "GET",
|
|
@@ -2213,7 +2267,8 @@ class AgentClient {
|
|
|
2213
2267
|
conversations: AdminConversationsService,
|
|
2214
2268
|
credentials: AdminCredentialsService,
|
|
2215
2269
|
fileLibrary: AdminFileLibraryService,
|
|
2216
|
-
mcpServers: AdminMcpServersService
|
|
2270
|
+
mcpServers: AdminMcpServersService,
|
|
2271
|
+
workspaces: AdminWorkspacesService
|
|
2217
2272
|
};
|
|
2218
2273
|
this.public = {
|
|
2219
2274
|
agents: PublicAgentsService,
|
package/dist/index.js
CHANGED
|
@@ -478,6 +478,18 @@ class AdminAgentsService {
|
|
|
478
478
|
}
|
|
479
479
|
});
|
|
480
480
|
}
|
|
481
|
+
static getWorkspaceConversationsTotal(workspaceId) {
|
|
482
|
+
return request(OpenAPI, {
|
|
483
|
+
method: "GET",
|
|
484
|
+
url: "/agents/conversations/total",
|
|
485
|
+
query: {
|
|
486
|
+
workspace_id: workspaceId
|
|
487
|
+
},
|
|
488
|
+
errors: {
|
|
489
|
+
422: `Validation Error`
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
}
|
|
481
493
|
static initializeAgent(agentId) {
|
|
482
494
|
return request(OpenAPI, {
|
|
483
495
|
method: "POST",
|
|
@@ -523,6 +535,21 @@ class AdminAgentsService {
|
|
|
523
535
|
}
|
|
524
536
|
});
|
|
525
537
|
}
|
|
538
|
+
static getAgentConversationsTotal(agentId, workspaceId) {
|
|
539
|
+
return request(OpenAPI, {
|
|
540
|
+
method: "GET",
|
|
541
|
+
url: "/agents/{agent_id}/conversations/total",
|
|
542
|
+
path: {
|
|
543
|
+
agent_id: agentId
|
|
544
|
+
},
|
|
545
|
+
query: {
|
|
546
|
+
workspace_id: workspaceId
|
|
547
|
+
},
|
|
548
|
+
errors: {
|
|
549
|
+
422: `Validation Error`
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
}
|
|
526
553
|
static visualizeAgent(agentId, userId, format = "png") {
|
|
527
554
|
return request(OpenAPI, {
|
|
528
555
|
method: "GET",
|
|
@@ -1070,6 +1097,18 @@ class AgentService {
|
|
|
1070
1097
|
}
|
|
1071
1098
|
});
|
|
1072
1099
|
}
|
|
1100
|
+
static getWorkspaceConversationsTotal(workspaceId) {
|
|
1101
|
+
return request(OpenAPI, {
|
|
1102
|
+
method: "GET",
|
|
1103
|
+
url: "/agents/conversations/total",
|
|
1104
|
+
query: {
|
|
1105
|
+
workspace_id: workspaceId
|
|
1106
|
+
},
|
|
1107
|
+
errors: {
|
|
1108
|
+
422: `Validation Error`
|
|
1109
|
+
}
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1073
1112
|
static initializeAgent(agentId) {
|
|
1074
1113
|
return request(OpenAPI, {
|
|
1075
1114
|
method: "POST",
|
|
@@ -1115,6 +1154,21 @@ class AgentService {
|
|
|
1115
1154
|
}
|
|
1116
1155
|
});
|
|
1117
1156
|
}
|
|
1157
|
+
static getAgentConversationsTotal(agentId, workspaceId) {
|
|
1158
|
+
return request(OpenAPI, {
|
|
1159
|
+
method: "GET",
|
|
1160
|
+
url: "/agents/{agent_id}/conversations/total",
|
|
1161
|
+
path: {
|
|
1162
|
+
agent_id: agentId
|
|
1163
|
+
},
|
|
1164
|
+
query: {
|
|
1165
|
+
workspace_id: workspaceId
|
|
1166
|
+
},
|
|
1167
|
+
errors: {
|
|
1168
|
+
422: `Validation Error`
|
|
1169
|
+
}
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1118
1172
|
static visualizeAgent(agentId, userId, format = "png") {
|
|
1119
1173
|
return request(OpenAPI, {
|
|
1120
1174
|
method: "GET",
|
|
@@ -1781,7 +1835,8 @@ class AgentClient {
|
|
|
1781
1835
|
conversations: AdminConversationsService,
|
|
1782
1836
|
credentials: AdminCredentialsService,
|
|
1783
1837
|
fileLibrary: AdminFileLibraryService,
|
|
1784
|
-
mcpServers: AdminMcpServersService
|
|
1838
|
+
mcpServers: AdminMcpServersService,
|
|
1839
|
+
workspaces: AdminWorkspacesService
|
|
1785
1840
|
};
|
|
1786
1841
|
this.public = {
|
|
1787
1842
|
agents: PublicAgentsService,
|
|
@@ -48,6 +48,14 @@ export declare class AdminAgentsService {
|
|
|
48
48
|
* @throws ApiError
|
|
49
49
|
*/
|
|
50
50
|
static deleteAgent(agentId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
51
|
+
/**
|
|
52
|
+
* Get Workspace Conversations Total
|
|
53
|
+
* Get the total count of conversations for all agents in a workspace.
|
|
54
|
+
* @param workspaceId
|
|
55
|
+
* @returns any Successful Response
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static getWorkspaceConversationsTotal(workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
51
59
|
/**
|
|
52
60
|
* Initialize Agent
|
|
53
61
|
* @param agentId
|
|
@@ -75,6 +83,15 @@ export declare class AdminAgentsService {
|
|
|
75
83
|
* @throws ApiError
|
|
76
84
|
*/
|
|
77
85
|
static getAgentStructure(agentId: string, userId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
86
|
+
/**
|
|
87
|
+
* Get Agent Conversations Total
|
|
88
|
+
* Get the total count of conversations for a specific agent.
|
|
89
|
+
* @param agentId
|
|
90
|
+
* @param workspaceId
|
|
91
|
+
* @returns any Successful Response
|
|
92
|
+
* @throws ApiError
|
|
93
|
+
*/
|
|
94
|
+
static getAgentConversationsTotal(agentId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
78
95
|
/**
|
|
79
96
|
* Visualize Agent
|
|
80
97
|
* @param agentId
|
|
@@ -48,6 +48,14 @@ export declare class AgentService {
|
|
|
48
48
|
* @throws ApiError
|
|
49
49
|
*/
|
|
50
50
|
static deleteAgent(agentId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
51
|
+
/**
|
|
52
|
+
* Get Workspace Conversations Total
|
|
53
|
+
* Get the total count of conversations for all agents in a workspace.
|
|
54
|
+
* @param workspaceId
|
|
55
|
+
* @returns any Successful Response
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static getWorkspaceConversationsTotal(workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
51
59
|
/**
|
|
52
60
|
* Initialize Agent
|
|
53
61
|
* @param agentId
|
|
@@ -75,6 +83,15 @@ export declare class AgentService {
|
|
|
75
83
|
* @throws ApiError
|
|
76
84
|
*/
|
|
77
85
|
static getAgentStructure(agentId: string, userId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
86
|
+
/**
|
|
87
|
+
* Get Agent Conversations Total
|
|
88
|
+
* Get the total count of conversations for a specific agent.
|
|
89
|
+
* @param agentId
|
|
90
|
+
* @param workspaceId
|
|
91
|
+
* @returns any Successful Response
|
|
92
|
+
* @throws ApiError
|
|
93
|
+
*/
|
|
94
|
+
static getAgentConversationsTotal(agentId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
78
95
|
/**
|
|
79
96
|
* Visualize Agent
|
|
80
97
|
* @param agentId
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiError, CancelablePromise, CancelError, ConversationsService, MessageCreate, OpenAPI, AgentService, McpServersService, RootService, FileLibraryService, CredentialsService, AdminAgentsService, PublicAgentsService, PublicConversationsService, AdminConversationsService, AdminCredentialsService, AdminFileLibraryService, AdminMcpServersService } from "./clients/agents-generator";
|
|
1
|
+
import { ApiError, CancelablePromise, CancelError, ConversationsService, MessageCreate, OpenAPI, AgentService, McpServersService, RootService, FileLibraryService, CredentialsService, AdminAgentsService, PublicAgentsService, PublicConversationsService, AdminConversationsService, AdminCredentialsService, AdminFileLibraryService, AdminMcpServersService, AdminWorkspacesService } from "./clients/agents-generator";
|
|
2
2
|
export * from "./clients/agents-generator";
|
|
3
3
|
export interface StreamEvent {
|
|
4
4
|
type: string;
|
|
@@ -36,6 +36,7 @@ export declare class AgentClient {
|
|
|
36
36
|
credentials: typeof AdminCredentialsService;
|
|
37
37
|
fileLibrary: typeof AdminFileLibraryService;
|
|
38
38
|
mcpServers: typeof AdminMcpServersService;
|
|
39
|
+
workspaces: typeof AdminWorkspacesService;
|
|
39
40
|
};
|
|
40
41
|
public: {
|
|
41
42
|
agents: typeof PublicAgentsService;
|