@or-sdk/agents 4.11.0 → 4.11.1-beta.3711.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.
Files changed (2) hide show
  1. package/package.json +2 -3
  2. package/src/Agents.ts +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/agents",
3
- "version": "4.11.0",
3
+ "version": "4.11.1-beta.3711.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -39,6 +39,5 @@
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
- },
43
- "gitHead": "507a37f10c0ef80c1dac50f4c5051b4b8342d835"
42
+ }
44
43
  }
package/src/Agents.ts CHANGED
@@ -234,7 +234,7 @@ export class Agents extends Base {
234
234
  order?: 'ASC' | 'DESC';
235
235
  query?: string;
236
236
  } = {},
237
- options: CallOptions = {}
237
+ options: CallOptions = {},
238
238
  ): Promise<ExecutionList> {
239
239
  return this.makeRequest<ExecutionList>({
240
240
  method: 'GET',
@@ -259,7 +259,7 @@ export class Agents extends Base {
259
259
  orderBy?: string;
260
260
  order?: 'ASC' | 'DESC';
261
261
  } = {},
262
- options: CallOptions = {}
262
+ options: CallOptions = {},
263
263
  ): Promise<Execution> {
264
264
  return this.makeRequest<Execution>({
265
265
  method: 'GET',
@@ -294,7 +294,7 @@ export class Agents extends Base {
294
294
  * @returns A promise that resolves to the response of running the agent.
295
295
  */
296
296
  runAgent(
297
- agentId: string, executionId: string, params: RunAgentParams, options: CallOptions = {}
297
+ agentId: string, executionId: string, params: RunAgentParams, options: CallOptions = {},
298
298
  ): Promise<RunAgentResponse> {
299
299
  return this.makeRequest<RunAgentResponse>({
300
300
  method: 'POST',
@@ -427,7 +427,7 @@ export class Agents extends Base {
427
427
  async updateAgentTestCase(
428
428
  testCaseId: string,
429
429
  params: Partial<CreateTestCase>,
430
- options: CallOptions = {}
430
+ options: CallOptions = {},
431
431
  ): Promise<TestCase> {
432
432
  const response = await this.makeRequest<TestCase>({
433
433
  method: 'PUT',
@@ -448,7 +448,7 @@ export class Agents extends Base {
448
448
  */
449
449
  async deleteAgentTestCase(
450
450
  testCaseId: string,
451
- options: CallOptions = {}
451
+ options: CallOptions = {},
452
452
  ): Promise<TestCase> {
453
453
  const response = await this.makeRequest<TestCase>({
454
454
  method: 'DELETE',
@@ -473,7 +473,7 @@ export class Agents extends Base {
473
473
  agentId: string;
474
474
  agentVersionId: string;
475
475
  },
476
- options: CallOptions = {}
476
+ options: CallOptions = {},
477
477
  ): Promise<TestCase[]> {
478
478
  const response = await this.makeRequest<TestCase[]>({
479
479
  method: 'GET',
@@ -499,7 +499,7 @@ export class Agents extends Base {
499
499
  agentId: string;
500
500
  agentVersionId: string;
501
501
  testCaseIds: string[];
502
- }
502
+ },
503
503
  ) {
504
504
  return await this.makeRequest<TestCase[]>({
505
505
  method: 'POST',
@@ -522,7 +522,7 @@ export class Agents extends Base {
522
522
  agentId: string;
523
523
  agentVersionId: string;
524
524
  testCaseIds: string[];
525
- }
525
+ },
526
526
  ) {
527
527
  return await this.makeRequest<TestCase[]>({
528
528
  method: 'POST',