@amigo-ai/sdk 0.29.0 → 0.31.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.
@@ -2916,7 +2916,7 @@ export interface components {
2916
2916
  invoked_at: string;
2917
2917
  /**
2918
2918
  * External Event Message Ids
2919
- * @description The IDs of the external event messages that were considered during the invocation.
2919
+ * @description The IDs of the external event messages that were considered during the invocation. These do not include the initial message if it's an external event.
2920
2920
  * @default []
2921
2921
  */
2922
2922
  external_event_message_ids?: string[];
@@ -3260,48 +3260,8 @@ export interface components {
3260
3260
  */
3261
3261
  values: unknown[];
3262
3262
  };
3263
- /** InitialExternalEventConfig */
3264
- "InitialExternalEventConfig-Input": {
3265
- /**
3266
- * @description discriminator enum property added by openapi-typescript
3267
- * @enum {string}
3268
- */
3269
- type: "external-event";
3270
- /**
3271
- * Message And Offsets
3272
- * @description A list of tuples, each containing a message and its offset in milliseconds from the conversation start time. These must be sorted by offset in the ascending order, and must not contain repeated offsets.
3273
- */
3274
- message_and_offsets: [
3275
- components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"],
3276
- number
3277
- ][];
3278
- };
3279
- /** InitialExternalEventConfig */
3280
- "InitialExternalEventConfig-Output": {
3281
- /**
3282
- * @description discriminator enum property added by openapi-typescript
3283
- * @enum {string}
3284
- */
3285
- type: "external-event";
3286
- /**
3287
- * Message And Offsets
3288
- * @description A list of tuples, each containing a message and its offset in milliseconds from the conversation start time.
3289
- */
3290
- message_and_offsets: [
3291
- string,
3292
- number
3293
- ][];
3294
- };
3295
- "InitialMessageConfig-Input": components["schemas"]["InitialUserMessageConfig"] | components["schemas"]["InitialExternalEventConfig-Input"];
3296
- "InitialMessageConfig-Output": components["schemas"]["InitialUserMessageConfig"] | components["schemas"]["InitialExternalEventConfig-Output"];
3297
- /** InitialUserMessageConfig */
3298
- InitialUserMessageConfig: {
3299
- /**
3300
- * @description discriminator enum property added by openapi-typescript
3301
- * @enum {string}
3302
- */
3303
- type: "user-message";
3304
- };
3263
+ /** @enum {string} */
3264
+ InitialMessageType: "user-message" | "external-event" | "skip";
3305
3265
  /** Input */
3306
3266
  Input: {
3307
3267
  /**
@@ -4931,7 +4891,7 @@ export interface components {
4931
4891
  * @description The instructions for the simulation scenario.
4932
4892
  */
4933
4893
  instructions: string;
4934
- initial_message_config: components["schemas"]["InitialMessageConfig-Output"] | null;
4894
+ initial_message_type: components["schemas"]["InitialMessageType"];
4935
4895
  /**
4936
4896
  * Conversation Starts At
4937
4897
  * Format: date-time
@@ -7738,8 +7698,8 @@ export interface components {
7738
7698
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7739
7699
  /** @description The instructions of the simulation scenario. */
7740
7700
  instructions: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7741
- /** @description The initial message configuration for the simulation scenario version. If not specified, an agent message opens the simulated conversation. */
7742
- initial_message_config: components["schemas"]["InitialMessageConfig-Input"] | null;
7701
+ /** @description The initial message type for the simulation scenario version. */
7702
+ initial_message_type: components["schemas"]["InitialMessageType"];
7743
7703
  /**
7744
7704
  * Conversation Starts At
7745
7705
  * Format: date-time
@@ -7761,8 +7721,8 @@ export interface components {
7761
7721
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7762
7722
  /** @description The instructions of the simulation scenario. */
7763
7723
  instructions: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7764
- /** @description The initial message configuration for the simulation scenario version. If not specified, an agent message opens the simulated conversation. */
7765
- initial_message_config: components["schemas"]["InitialMessageConfig-Input"] | null;
7724
+ /** @description The initial message type for the simulation scenario version. */
7725
+ initial_message_type: components["schemas"]["InitialMessageType"];
7766
7726
  /**
7767
7727
  * Conversation Starts At
7768
7728
  * Format: date-time
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"