@amigo-ai/sdk 0.23.0 → 0.24.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.
@@ -2423,8 +2423,7 @@ export interface components {
2423
2423
  */
2424
2424
  tool_call_logs: components["schemas"]["ToolCallLog"][][];
2425
2425
  };
2426
- "AgentFrameworkInvocationMetadata-Input": components["schemas"]["StateTransitionInvocationMetadata-Input"] | components["schemas"]["EngageUserInvocationMetadata-Input"];
2427
- "AgentFrameworkInvocationMetadata-Output": components["schemas"]["StateTransitionInvocationMetadata-Output"] | components["schemas"]["EngageUserInvocationMetadata-Output"];
2426
+ AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"];
2428
2427
  /** AnnotationState */
2429
2428
  "AnnotationState-Input": {
2430
2429
  /**
@@ -2997,28 +2996,7 @@ export interface components {
2997
2996
  overriding: boolean;
2998
2997
  };
2999
2998
  /** EngageUserInvocationMetadata */
3000
- "EngageUserInvocationMetadata-Input": {
3001
- /**
3002
- * @description discriminator enum property added by openapi-typescript
3003
- * @enum {string}
3004
- */
3005
- type: "engage-user";
3006
- /**
3007
- * Current State Machine And Version
3008
- * @description The ID and version of the state machine that is currently being executed.
3009
- */
3010
- current_state_machine_and_version: [
3011
- string,
3012
- number
3013
- ];
3014
- /**
3015
- * Tool Call Round Index
3016
- * @description The index of the tool call round.
3017
- */
3018
- tool_call_round_index: number;
3019
- };
3020
- /** EngageUserInvocationMetadata */
3021
- "EngageUserInvocationMetadata-Output": {
2999
+ EngageUserInvocationMetadata: {
3022
3000
  /**
3023
3001
  * @description discriminator enum property added by openapi-typescript
3024
3002
  * @enum {string}
@@ -3362,8 +3340,7 @@ export interface components {
3362
3340
  conversation_completed: boolean;
3363
3341
  };
3364
3342
  InvocationResult: components["schemas"]["SucceededInvocationResult"] | components["schemas"]["FailedInvocationResult"];
3365
- "InvocationSource-Input": components["schemas"]["RegularConversationInvocationSource-Input"] | components["schemas"]["SimulationConversationInvocationSource-Input"];
3366
- "InvocationSource-Output": components["schemas"]["RegularConversationInvocationSource-Output"] | components["schemas"]["SimulationConversationInvocationSource-Output"];
3343
+ InvocationSource: components["schemas"]["RegularConversationInvocationSource"] | components["schemas"]["SimulationConversationInvocationSource"];
3367
3344
  InvocationStatus: components["schemas"]["SucceededInvocationStatus"] | components["schemas"]["FailedInvocationStatus"];
3368
3345
  /** JumpbackStateTransitionLog */
3369
3346
  JumpbackStateTransitionLog: {
@@ -4379,32 +4356,7 @@ export interface components {
4379
4356
  tool_call_logs: components["schemas"]["ToolCallLog"][][];
4380
4357
  };
4381
4358
  /** RegularConversationInvocationSource */
4382
- "RegularConversationInvocationSource-Input": {
4383
- /**
4384
- * @description discriminator enum property added by openapi-typescript
4385
- * @enum {string}
4386
- */
4387
- type: "regular-conversation";
4388
- /**
4389
- * User Id
4390
- * @description The ID of the user whose conversation invoked the tool.
4391
- */
4392
- user_id: string;
4393
- /**
4394
- * Conversation Id
4395
- * @description The ID of the conversation where the tool was invoked. This conversation might not actually exist if later in the call the conversation is rolled back.
4396
- */
4397
- conversation_id: string | null;
4398
- /**
4399
- * Interaction Id
4400
- * @description The ID of the interaction where the tool was invoked. This interaction might not actually exist if later in the call the interaction is rolled back.
4401
- */
4402
- interaction_id: string | null;
4403
- /** @description Metadata about the invocation. */
4404
- invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Input"];
4405
- };
4406
- /** RegularConversationInvocationSource */
4407
- "RegularConversationInvocationSource-Output": {
4359
+ RegularConversationInvocationSource: {
4408
4360
  /**
4409
4361
  * @description discriminator enum property added by openapi-typescript
4410
4362
  * @enum {string}
@@ -4426,7 +4378,7 @@ export interface components {
4426
4378
  */
4427
4379
  interaction_id: string | null;
4428
4380
  /** @description Metadata about the invocation. */
4429
- invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Output"];
4381
+ invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata"];
4430
4382
  };
4431
4383
  /** RelationshipToDeveloper */
4432
4384
  "RelationshipToDeveloper-Input": {
@@ -4738,7 +4690,7 @@ export interface components {
4738
4690
  type: "side-effect";
4739
4691
  };
4740
4692
  /** SimulationConversationInvocationSource */
4741
- "SimulationConversationInvocationSource-Input": {
4693
+ SimulationConversationInvocationSource: {
4742
4694
  /**
4743
4695
  * @description discriminator enum property added by openapi-typescript
4744
4696
  * @enum {string}
@@ -4751,23 +4703,7 @@ export interface components {
4751
4703
  /** Run Index */
4752
4704
  run_index: number | null;
4753
4705
  /** @description Metadata about the invocation. */
4754
- invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Input"];
4755
- };
4756
- /** SimulationConversationInvocationSource */
4757
- "SimulationConversationInvocationSource-Output": {
4758
- /**
4759
- * @description discriminator enum property added by openapi-typescript
4760
- * @enum {string}
4761
- */
4762
- type: "simulation-conversation";
4763
- /** Simulation Unit Test Set Run Id */
4764
- simulation_unit_test_set_run_id: string | null;
4765
- /** Unit Test Id */
4766
- unit_test_id: string | null;
4767
- /** Run Index */
4768
- run_index: number | null;
4769
- /** @description Metadata about the invocation. */
4770
- invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Output"];
4706
+ invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata"];
4771
4707
  };
4772
4708
  /** SimulationEvaluationSource */
4773
4709
  SimulationEvaluationSource: {
@@ -5308,38 +5244,7 @@ export interface components {
5308
5244
  };
5309
5245
  StateOrRefName: string;
5310
5246
  /** StateTransitionInvocationMetadata */
5311
- "StateTransitionInvocationMetadata-Input": {
5312
- /**
5313
- * @description discriminator enum property added by openapi-typescript
5314
- * @enum {string}
5315
- */
5316
- type: "state-transition";
5317
- /**
5318
- * Current State Machine And Version
5319
- * @description The ID and version of the state machine that is currently being executed.
5320
- */
5321
- current_state_machine_and_version: [
5322
- string,
5323
- number
5324
- ];
5325
- /**
5326
- * State Name
5327
- * @description The name of the state during which the tool was invoked.
5328
- */
5329
- state_name: string;
5330
- /**
5331
- * State Transition Index
5332
- * @description The index of the state transition during which the tool was invoked. As an example, the first state processing that occurs during this state machine navigation process has index 1.
5333
- */
5334
- state_transition_index: number;
5335
- /**
5336
- * Tool Call Round Index
5337
- * @description The index of the tool call round.
5338
- */
5339
- tool_call_round_index: number;
5340
- };
5341
- /** StateTransitionInvocationMetadata */
5342
- "StateTransitionInvocationMetadata-Output": {
5247
+ StateTransitionInvocationMetadata: {
5343
5248
  /**
5344
5249
  * @description discriminator enum property added by openapi-typescript
5345
5250
  * @enum {string}
@@ -5640,7 +5545,7 @@ export interface components {
5640
5545
  /** @description The status of the tool invocation. */
5641
5546
  invocation_status: components["schemas"]["InvocationStatus"];
5642
5547
  /** @description The source of the tool invocation. */
5643
- invocation_source: components["schemas"]["InvocationSource-Output"];
5548
+ invocation_source: components["schemas"]["InvocationSource"];
5644
5549
  /** Logs */
5645
5550
  logs: string[];
5646
5551
  /**
@@ -17116,10 +17021,10 @@ export interface operations {
17116
17021
  query?: {
17117
17022
  /** @description The ID of the tool to get invocations for. */
17118
17023
  tool_id?: string[];
17119
- /** @description A list of semver constraint that specifies the version to retrieve in the [Python packaging specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5). This must be the exact same length as `tool_id`, and each entry corresponds to the tool ID at the same index. If an entry is null, all versions of the corresponding tool are retrieved. */
17120
- version?: (string | null)[];
17024
+ /** @description A list of semver constraint that specifies the version to retrieve in the [Python packaging specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5). This must be the exact same length as `tool_id`, and each entry corresponds to the tool ID at the same index. */
17025
+ version?: string[];
17121
17026
  /** @description The source of the invocation */
17122
- invocation_source_type?: components["schemas"]["InvocationSource-Input"][];
17027
+ invocation_source_type?: ("regular-conversation" | "simulation-conversation")[];
17123
17028
  /** @description The conversation ID associated with the invocation if it's of invocation source `regular-conversation` */
17124
17029
  conversation_id?: string[];
17125
17030
  /** @description The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation` */
@@ -17298,7 +17203,7 @@ export interface operations {
17298
17203
  /** @description The ID of the tool to get invocations for. */
17299
17204
  tool_id?: string[];
17300
17205
  /** @description The source of the invocation */
17301
- invocation_source_type?: components["schemas"]["InvocationSource-Input"][];
17206
+ invocation_source_type?: ("regular-conversation" | "simulation-conversation")[];
17302
17207
  /** @description The conversation ID associated with the invocation if it's of invocation source `regular-conversation` */
17303
17208
  conversation_id?: string[];
17304
17209
  /** @description The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation` */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"