@or-sdk/agents 4.23.0 → 4.23.1-beta.4362.0

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.
@@ -9,15 +9,80 @@ export declare class Agents extends Base {
9
9
  constructor(params: AgentsConfig);
10
10
  private makeRequest;
11
11
  parseError(err: unknown): Error;
12
+ /**
13
+ * Create a new agent.
14
+ * @param params - The agent creation parameters.
15
+ * @param options - The API call options.
16
+ * @returns The created agent.
17
+ */
12
18
  createAgent(params: CreateAgent, options?: CallOptions): Promise<Agent>;
19
+ /**
20
+ * Find agents with optional pagination and query.
21
+ * @param params - Optional find parameters.
22
+ * @param options - The API call options.
23
+ * @returns An array of agents.
24
+ */
13
25
  findAgents(params?: FindAgentsOptions, options?: CallOptions): Promise<List<Agent>>;
26
+ /**
27
+ * Get an agent by its ID.
28
+ * @param agentId - The ID of the agent to retrieve.
29
+ * @param options - The API call options.
30
+ * @returns The retrieved agent.
31
+ */
14
32
  getAgent(agentId: string, params?: GetAgentParams, options?: CallOptions): Promise<Agent>;
33
+ /**
34
+ * Get an agent by its ID.
35
+ * @param agentId - The ID of the agent to retrieve.
36
+ * @param options - The API call options.
37
+ * @returns The retrieved agent.
38
+ */
15
39
  getAgentVersions(agentId: string, options?: CallOptions): Promise<AgentVersion[]>;
40
+ /**
41
+ * Update an agent by its ID.
42
+ * @param agentId - The ID of the agent to update.
43
+ * @param params - The update agent parameters.
44
+ * @param options - The API call options.
45
+ * @returns The updated agent.
46
+ */
16
47
  updateAgent(agentId: string, params: UpdateAgent, options?: CallOptions): Promise<Agent>;
48
+ /**
49
+ * Delete an agent by its ID.
50
+ * @param agentId - The ID of the agent to delete.
51
+ * @param options - The API call options.
52
+ * @returns The deleted agent.
53
+ */
17
54
  deleteAgent(agentId: string, options?: CallOptions): Promise<Agent>;
55
+ /**
56
+ * Releases agent's development version by ID.
57
+ * @param agentId - The ID of the agent to delete.
58
+ * @param data - The release label and notes.
59
+ * @param options - The API call options.
60
+ */
18
61
  releaseAgent(agentId: string, data: ReleaseVersion, options?: CallOptions): Promise<void>;
62
+ /**
63
+ * Set an agent action.
64
+ * @param agentId - The ID of the agent to delete.
65
+ * @param params - Set action params.
66
+ * @param options - The API call options.
67
+ * @returns The deleted agent.
68
+ */
19
69
  setAgentAction(agentId: string, params: AgentAction, options?: CallOptions): Promise<AgentAction>;
70
+ /**
71
+ * Delete an agent action.
72
+ * @param agentId - The ID of the agent to delete.
73
+ * @param actionName - Set action params.
74
+ * @param options - The API call options.
75
+ * @returns The deleted agent.
76
+ */
20
77
  deleteAgentAction(agentId: string, actionName: string, options?: CallOptions): Promise<AgentAction>;
78
+ /**
79
+ * Retrieves a list of agent executions for a given agent.
80
+ *
81
+ * @param agentId - The ID of the agent.
82
+ * @param params - Optional parameters for pagination (size, from etc).
83
+ * @param options - Optional call options.
84
+ * @returns A promise that resolves to an array of objects.
85
+ */
21
86
  getAgentExecutionList(agentId: string, params?: {
22
87
  size?: number;
23
88
  from?: number;
@@ -31,38 +96,169 @@ export declare class Agents extends Base {
31
96
  to?: Date;
32
97
  };
33
98
  }, options?: CallOptions): Promise<ExecutionList>;
99
+ /**
100
+ * Retrieves the execution details of a specific agent.
101
+ *
102
+ * @param agentId - The ID of the agent.
103
+ * @param executionId - The ID of the execution.
104
+ * @param options - Additional options for the API call.
105
+ * @returns A Promise that resolves to the AgentExecutionHistory object representing the execution details.
106
+ */
34
107
  getAgentExecution(agentId: string, executionId: string, params?: {
35
108
  orderBy?: string;
36
109
  order?: 'ASC' | 'DESC';
37
110
  }, options?: CallOptions): Promise<Execution>;
111
+ /**
112
+ * Partially updates an execution belonging to an agent.
113
+ *
114
+ * This method performs a PATCH request and updates only the provided fields.
115
+ * Currently, the API supports patching the `summary` field.
116
+ *
117
+ * @param agentId - The ID of the agent that owns the execution.
118
+ * @param executionId - The ID of the execution to patch.
119
+ * @param patch - Partial execution data to update (currently: `summary`).
120
+ * @param options - Optional request options.
121
+ * @returns A promise that resolves when the patch operation completes.
122
+ */
38
123
  patchAgentExecution(agentId: string, executionId: string, patch: {
39
124
  summary?: string;
40
125
  }, options?: CallOptions): Promise<unknown>;
126
+ /**
127
+ * Deletes an agent execution.
128
+ * @param agentId - The ID of the agent.
129
+ * @param executionId - The ID of the execution.
130
+ * @param options - Optional call options.
131
+ * @returns A promise that resolves to the deleted agent action.
132
+ */
41
133
  deleteAgentExecution(agentId: string, executionId: string, options?: CallOptions): Promise<unknown>;
134
+ /**
135
+ * Runs an agent with the specified agent ID and parameters.
136
+ *
137
+ * @param agentId - The ID of the agent to run.
138
+ * @param executionId - The execution ID of the agent to run.
139
+ * @param params - The parameters for running the agent.
140
+ * @param options - The optional call options.
141
+ * @returns A promise that resolves to the response of running the agent.
142
+ */
42
143
  runAgent(agentId: string, executionId: string, params: RunAgentParams, options?: CallOptions): Promise<RunAgentResponse>;
144
+ /**
145
+ * Set the session ID.
146
+ * @param sessionId - The session ID to set.
147
+ * @returns The session ID.
148
+ */
43
149
  setSessionId(sessionId: string): string;
150
+ /**
151
+ * Find agents with optional pagination and query.
152
+ * @param params - Optional find parameters.
153
+ * @param options - The API call options.
154
+ * @returns An array of agents.
155
+ */
44
156
  findTemplates(params?: FindTemplatesOptions, options?: CallOptions): Promise<List<Partial<Template>>>;
157
+ /**
158
+ * Get a template by its ID.
159
+ * @param templateId - The ID of the template to retrieve.
160
+ * @param options - The API call options.
161
+ * @returns The retrieved template.
162
+ */
45
163
  getTemplate(templateId: string, options?: CallOptions): Promise<Template>;
164
+ /**
165
+ * Create a new template.
166
+ * @param params - The template creation parameters.
167
+ * @param options - The API call options.
168
+ * @returns The created template.
169
+ */
46
170
  createTemplate(params: CreateTemplateParams, options?: CallOptions): Promise<Template>;
171
+ /**
172
+ * Delete a template by its ID.
173
+ * @param templateId - The ID of the template to update.
174
+ * @param params - The update template parameters.
175
+ * @param options - The API call options.
176
+ * @returns The updated template.
177
+ */
47
178
  deleteTemplate(templateId: string, options?: CallOptions): Promise<Template>;
179
+ /**
180
+ * Get markdown for passed url
181
+ * @param url - The web page url.
182
+ * @param question - The question to search.
183
+ * @param options - The API call options.
184
+ * @returns The markdown page passages.
185
+ */
48
186
  htmlToPassages(url: string, question: string, options?: CallOptions): Promise<string[]>;
187
+ /**
188
+ * Creates one or multiple agent test cases by sending a POST request to the 'agents/testing' endpoint.
189
+ *
190
+ * @param cases - A single test case or an array of test cases to be created.
191
+ * @returns A promise that resolves to an array of created test cases.
192
+ */
49
193
  createAgentTestCase(cases: CreateTestCase | CreateTestCase[]): Promise<TestCase | TestCase[]>;
194
+ /**
195
+ * Updates an existing agent test case with the specified parameters.
196
+ *
197
+ * @param testCaseId - The unique identifier of the test case to update.
198
+ * @param params - The updated test case data.
199
+ * @param options - Optional call options for the request.
200
+ * @returns A promise that resolves to the updated test case.
201
+ */
50
202
  updateAgentTestCase(testCaseId: string, params: Partial<CreateTestCase>, options?: CallOptions): Promise<TestCase>;
203
+ /**
204
+ * Deletes a specific agent test case by its ID.
205
+ *
206
+ * @param testCaseId - The unique identifier of the test case to delete.
207
+ * @param options - Optional call options to customize the request.
208
+ * @returns A promise that resolves to the deleted test case object.
209
+ */
51
210
  deleteAgentTestCase(testCaseId: string, options?: CallOptions): Promise<TestCase>;
211
+ /**
212
+ * Fetches the test cases for a specific agent version.
213
+ *
214
+ * @param agentId - The unique identifier of the agent.
215
+ * @param agentVersionId - The unique identifier of the agent version.
216
+ * @param params - Optional query parameters to include in the request.
217
+ * @param options - Optional call options for the request.
218
+ * @returns A promise that resolves to an array of test cases.
219
+ */
52
220
  fetchAgentTestCases(params: {
53
221
  agentId: string;
54
222
  agentVersionId: string;
55
223
  }, options?: CallOptions): Promise<TestCase[]>;
224
+ /**
225
+ * Executes a set of test cases for a specific agent and its version.
226
+ *
227
+ * @param data - The input data required to run the test cases.
228
+ * @param data.agentId - The unique identifier of the agent.
229
+ * @param data.agentVersionId - The unique identifier of the agent's version.
230
+ * @param data.testCaseIds - An array of test case IDs to be executed.
231
+ * @returns A promise that resolves to an array of `TestCase` objects representing the results of the executed test cases.
232
+ */
56
233
  runAgentTestCase(data: {
57
234
  agentId: string;
58
235
  agentVersionId: string;
59
236
  testCaseIds: string[];
60
237
  }): Promise<TestCase[]>;
238
+ /**
239
+ * Terminates one or more agent test cases for a specific agent and version.
240
+ *
241
+ * @param data - An object containing the following properties:
242
+ * - agentId: The unique identifier of the agent.
243
+ * - agentVersionId: The unique identifier of the agent version.
244
+ * - testCaseIds: An array of test case IDs to terminate.
245
+ * @returns A promise that resolves to an array of terminated `TestCase` objects.
246
+ */
61
247
  terminateAgentTestCase(data: {
62
248
  agentId: string;
63
249
  agentVersionId: string;
64
250
  testCaseIds: string[];
65
251
  }): Promise<TestCase[]>;
252
+ /**
253
+ *
254
+ * @param agentId Id of an agent to configure
255
+ * @param agentVersionId VersionId of the agent
256
+ * @param executionId ExecutionId to create a session
257
+ * @param flowId FlowId from where session was created
258
+ * @param overrides Overrides to merge
259
+ * @param option Call options
260
+ * @returns Configured agent
261
+ */
66
262
  configureAgent(agentId: string, agentVersionId: string, executionId: string, flowId: string, overrides: Partial<Agent>, options?: CallOptions): Promise<Agent>;
67
263
  createResponse(requestBody: OpenAI.Responses.ResponseCreateParamsNonStreaming & Record<string, unknown>): Promise<OpenAI.Responses.Response & {
68
264
  _request_id?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Agents.d.ts","sourceRoot":"","sources":["../../src/Agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAgB,IAAI,EAAY,MAAM,cAAc,CAAC;AAClE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAI5B,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,WAAW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dk/agents",
3
- "version": "4.23.0",
3
+ "version": "4.23.1-beta.4362.0",
4
4
  "description": "OneReach SDK client for Agents",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/cjs/index.js",
@@ -12,6 +12,26 @@
12
12
  "README.md",
13
13
  "CHANGELOG.md"
14
14
  ],
15
+ "dependencies": {
16
+ "@graphql-tools/merge": "^9.0.7",
17
+ "@graphql-tools/schema": "^10.0.6",
18
+ "dedent": "^1.5.3",
19
+ "graphql": "^16.9.0",
20
+ "graphql-tag": "^2.12.6",
21
+ "openai": "^6.45.0",
22
+ "@or-sdk/base": "^0.45.1-beta.4362.0",
23
+ "@or-sdk/bots": "^1.9.1-beta.4362.0",
24
+ "@or-sdk/deployer": "^1.9.1-beta.4362.0"
25
+ },
26
+ "devDependencies": {
27
+ "concurrently": "^9.2.0",
28
+ "msw": "^2.11.3",
29
+ "typescript": "^5.6.2",
30
+ "vitest": "^4.1.10"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
15
35
  "scripts": {
16
36
  "build": "concurrently 'pnpm:build:*(!watch|docs)'",
17
37
  "build:cjs": "tsc --project tsconfig.json",
@@ -25,26 +45,5 @@
25
45
  "clean": "rm -rf ./dist ./.docs",
26
46
  "coverage": "vitest run --coverage",
27
47
  "dev": "pnpm build:watch:esm"
28
- },
29
- "dependencies": {
30
- "@graphql-tools/merge": "^9.0.7",
31
- "@graphql-tools/schema": "^10.0.6",
32
- "@or-sdk/base": "^0.45.0",
33
- "@or-sdk/bots": "^1.9.0",
34
- "@or-sdk/deployer": "^1.9.0",
35
- "dedent": "^1.5.3",
36
- "graphql": "^16.9.0",
37
- "graphql-tag": "^2.12.6",
38
- "openai": "^6.45.0"
39
- },
40
- "devDependencies": {
41
- "concurrently": "catalog:",
42
- "msw": "catalog:",
43
- "typescript": "catalog:",
44
- "vitest": "catalog:"
45
- },
46
- "publishConfig": {
47
- "access": "public"
48
- },
49
- "gitHead": "8eaa35a7b5a2f0f86e0f18b5abd42ad3218a6b14"
50
- }
48
+ }
49
+ }