@amigo-ai/sdk 0.48.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
|
|
@@ -6675,7 +6675,7 @@ export interface components {
|
|
|
6675
6675
|
* Conversations
|
|
6676
6676
|
* @description The conversations satisfying the filters.
|
|
6677
6677
|
*/
|
|
6678
|
-
conversations: components["schemas"]["
|
|
6678
|
+
conversations: components["schemas"]["ConversationInstance"][];
|
|
6679
6679
|
/**
|
|
6680
6680
|
* Has More
|
|
6681
6681
|
* @description Whether there are more conversations to retrieve.
|
|
@@ -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"]["
|
|
65
|
+
conversations: components["schemas"]["ConversationInstance"][];
|
|
66
66
|
has_more: boolean;
|
|
67
67
|
continuation_token: number | null;
|
|
68
68
|
}>;
|