@amigo-ai/sdk 0.47.0 → 0.49.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.
@@ -2639,59 +2639,6 @@ export interface components {
2639
2639
  type: string;
2640
2640
  };
2641
2641
  Condition: components["schemas"]["EqualCondition"] | components["schemas"]["InCondition"] | components["schemas"]["NotEqualCondition"];
2642
- /** Conversation */
2643
- Conversation: {
2644
- /**
2645
- * Id
2646
- * @description The identifier of the conversation.
2647
- */
2648
- id: string;
2649
- /**
2650
- * User Id
2651
- * @description The identifier of the user who started this conversation.
2652
- */
2653
- user_id: string;
2654
- /**
2655
- * Created At
2656
- * Format: date-time
2657
- * @description The timestamp at which this conversation was started.
2658
- */
2659
- created_at: string;
2660
- /**
2661
- * Is Finished
2662
- * @description Whether the conversation is finished.
2663
- */
2664
- is_finished: boolean;
2665
- /**
2666
- * Is Analyzed
2667
- * @description Whether the conversation has gone through the post-conversation analysis after finishing.
2668
- */
2669
- is_analyzed: boolean;
2670
- /**
2671
- * Completed Post Processings
2672
- * @description A list of post-processing types that have been completed for this conversation.
2673
- */
2674
- completed_post_processings: components["schemas"]["PostAnalysisType"][];
2675
- /**
2676
- * Final Message
2677
- * @description The most recent message from the conversation.
2678
- *
2679
- * This field is empty if the authenticated user has no `Conversation:GetMessage` permission on the final message.
2680
- */
2681
- final_message: string;
2682
- /**
2683
- * Service Id
2684
- * @description The ID of the service that this conversation uses.
2685
- */
2686
- service_id: string;
2687
- /** @description Info of the service version set that this conversation uses. This field is only populated if the authenticated user has the `Service.GetVersionSet` permission on the version set. */
2688
- version_set_info: components["schemas"]["VersionSetInfo"] | null;
2689
- /**
2690
- * Num Messages
2691
- * @description The number of messages in this conversation.
2692
- */
2693
- num_messages: number;
2694
- };
2695
2642
  /** ConversationByTimeMetric */
2696
2643
  "ConversationByTimeMetric-Input": {
2697
2644
  /**
@@ -2751,6 +2698,59 @@ export interface components {
2751
2698
  conversation_id: string;
2752
2699
  };
2753
2700
  ConversationEvent: components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["EndSessionEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["CurrentAgentActionEvent"];
2701
+ /** ConversationInstance */
2702
+ ConversationInstance: {
2703
+ /**
2704
+ * Id
2705
+ * @description The identifier of the conversation.
2706
+ */
2707
+ id: string;
2708
+ /**
2709
+ * User Id
2710
+ * @description The identifier of the user who started this conversation.
2711
+ */
2712
+ user_id: string;
2713
+ /**
2714
+ * Created At
2715
+ * Format: date-time
2716
+ * @description The timestamp at which this conversation was started.
2717
+ */
2718
+ created_at: string;
2719
+ /**
2720
+ * Is Finished
2721
+ * @description Whether the conversation is finished.
2722
+ */
2723
+ is_finished: boolean;
2724
+ /**
2725
+ * Is Analyzed
2726
+ * @description Whether the conversation has gone through the post-conversation analysis after finishing.
2727
+ */
2728
+ is_analyzed: boolean;
2729
+ /**
2730
+ * Completed Post Processings
2731
+ * @description A list of post-processing types that have been completed for this conversation.
2732
+ */
2733
+ completed_post_processings: components["schemas"]["PostAnalysisType"][];
2734
+ /**
2735
+ * Final Message
2736
+ * @description The most recent message from the conversation.
2737
+ *
2738
+ * This field is empty if the authenticated user has no `Conversation:GetMessage` permission on the final message.
2739
+ */
2740
+ final_message: string;
2741
+ /**
2742
+ * Service Id
2743
+ * @description The ID of the service that this conversation uses.
2744
+ */
2745
+ service_id: string;
2746
+ /** @description Info of the service version set that this conversation uses. This field is only populated if the authenticated user has the `Service.GetVersionSet` permission on the version set. */
2747
+ version_set_info: components["schemas"]["VersionSetInfo"] | null;
2748
+ /**
2749
+ * Num Messages
2750
+ * @description The number of messages in this conversation.
2751
+ */
2752
+ num_messages: number;
2753
+ };
2754
2754
  /**
2755
2755
  * CurrentAgentActionEvent
2756
2756
  * @description Emitted when an agent is about to perform an action that aids in the generation of the response. This is emitted before any
@@ -4972,10 +4972,9 @@ export interface components {
4972
4972
  initial_message_type: components["schemas"]["InitialMessageType"];
4973
4973
  /**
4974
4974
  * Conversation Starts At
4975
- * Format: date-time
4976
- * @description The time at which the conversation starts. This must be a timestamp in UTC.
4975
+ * @description The time at which the conversation starts. This must be a timestamp in UTC. If not specified, the current server time is used.
4977
4976
  */
4978
- conversation_starts_at: string;
4977
+ conversation_starts_at: string | null;
4979
4978
  };
4980
4979
  /** SimulationUnitTest */
4981
4980
  SimulationUnitTest: {
@@ -6676,7 +6675,7 @@ export interface components {
6676
6675
  * Conversations
6677
6676
  * @description The conversations satisfying the filters.
6678
6677
  */
6679
- conversations: components["schemas"]["Conversation"][];
6678
+ conversations: components["schemas"]["ConversationInstance"][];
6680
6679
  /**
6681
6680
  * Has More
6682
6681
  * @description Whether there are more conversations to retrieve.
@@ -7946,10 +7945,9 @@ export interface components {
7946
7945
  initial_message_type: components["schemas"]["InitialMessageType"];
7947
7946
  /**
7948
7947
  * Conversation Starts At
7949
- * Format: date-time
7950
- * @description The time at which the conversation starts. This must be a timestamp in UTC.
7948
+ * @description The time at which the conversation starts. This must be a timestamp in UTC. If not specified, the current server time is used.
7951
7949
  */
7952
- conversation_starts_at: string;
7950
+ conversation_starts_at: string | null;
7953
7951
  };
7954
7952
  /** Response */
7955
7953
  simulation__create_simulation_scenario__Response: {
@@ -7969,10 +7967,9 @@ export interface components {
7969
7967
  initial_message_type: components["schemas"]["InitialMessageType"];
7970
7968
  /**
7971
7969
  * Conversation Starts At
7972
- * Format: date-time
7973
- * @description The time at which the conversation starts. This must be a timestamp in UTC.
7970
+ * @description The time at which the conversation starts. This must be a timestamp in UTC. If not specified, the current server time is used.
7974
7971
  */
7975
- conversation_starts_at: string;
7972
+ conversation_starts_at: string | null;
7976
7973
  };
7977
7974
  /** Response */
7978
7975
  simulation__create_simulation_scenario_version__Response: {
@@ -62,7 +62,7 @@ export declare class ConversationResource {
62
62
  user_message: string;
63
63
  }, any, any>>;
64
64
  getConversations(queryParams?: operations['get-conversations']['parameters']['query'], headers?: operations['get-conversations']['parameters']['header']): Promise<{
65
- conversations: components["schemas"]["Conversation"][];
65
+ conversations: components["schemas"]["ConversationInstance"][];
66
66
  has_more: boolean;
67
67
  continuation_token: number | null;
68
68
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.47.0",
3
+ "version": "0.49.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"