@amigo-ai/sdk 0.14.0 → 0.15.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.
@@ -2758,10 +2758,10 @@ export interface components {
2758
2758
  */
2759
2759
  user_id: string;
2760
2760
  /**
2761
- * User Message Id
2762
- * @description The ID of the user message that led to the dynamic behavior invocation.
2761
+ * Initial Message Id
2762
+ * @description The ID of the initial message that led to the dynamic behavior invocation.
2763
2763
  */
2764
- user_message_id: string;
2764
+ initial_message_id: string;
2765
2765
  /**
2766
2766
  * Agent Message Id
2767
2767
  * @description The ID of the agent message that led to the dynamic behavior invocation.
@@ -2786,6 +2786,12 @@ export interface components {
2786
2786
  * @description The time when the dynamic behavior was invoked.
2787
2787
  */
2788
2788
  invoked_at: string;
2789
+ /**
2790
+ * External Event Message Ids
2791
+ * @description The IDs of the external event messages that were considered during the invocation.
2792
+ * @default []
2793
+ */
2794
+ external_event_message_ids?: string[];
2789
2795
  };
2790
2796
  /** DynamicBehaviorSetInstance */
2791
2797
  DynamicBehaviorSetInstance: {
@@ -5991,6 +5997,15 @@ export interface components {
5991
5997
  * @description The type of the `initial_message`. Can only be specified if `initial_message` is provided.
5992
5998
  */
5993
5999
  initial_message_type?: ("user-message" | "external-event") | null;
6000
+ /**
6001
+ * External Events
6002
+ * @description A list of external event messages that are sequenced before the initial message. This field must be empty if `initial_message` is not provided.
6003
+ * @default []
6004
+ */
6005
+ external_events?: [
6006
+ string,
6007
+ components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"]
6008
+ ][];
5994
6009
  };
5995
6010
  conversation__create_conversation__Response: components["schemas"]["ConversationCreatedEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["CurrentAgentActionEvent"] | components["schemas"]["ErrorEvent"];
5996
6011
  /** Request */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"