@amigo-ai/sdk 0.83.0 → 0.84.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.
@@ -3468,7 +3468,7 @@ export interface components {
3468
3468
  * Tags
3469
3469
  * @description The tags of the metric.
3470
3470
  */
3471
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
3471
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3472
3472
  /** @description The user who created the metric. */
3473
3473
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3474
3474
  /** @description The user who last updated the metric. */
@@ -3573,7 +3573,7 @@ export interface components {
3573
3573
  * Tags
3574
3574
  * @description The tags of the metric.
3575
3575
  */
3576
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
3576
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3577
3577
  /** @description The user who created the metric. */
3578
3578
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3579
3579
  /** @description The user who last updated the metric. */
@@ -4425,7 +4425,7 @@ export interface components {
4425
4425
  * Tags
4426
4426
  * @description The tags of the service.
4427
4427
  */
4428
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4428
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4429
4429
  };
4430
4430
  /** SimulationConversationInvocationSource */
4431
4431
  SimulationConversationInvocationSource: {
@@ -4635,7 +4635,7 @@ export interface components {
4635
4635
  * Tags
4636
4636
  * @description The tags of the simulation persona.
4637
4637
  */
4638
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4638
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4639
4639
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4640
4640
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4641
4641
  };
@@ -4707,7 +4707,7 @@ export interface components {
4707
4707
  * Tags
4708
4708
  * @description The tags of the simulation persona.
4709
4709
  */
4710
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4710
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4711
4711
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4712
4712
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4713
4713
  };
@@ -4762,7 +4762,7 @@ export interface components {
4762
4762
  * Tags
4763
4763
  * @description The tags of the simulation unit test set.
4764
4764
  */
4765
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4765
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4766
4766
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4767
4767
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4768
4768
  };
@@ -4814,7 +4814,7 @@ export interface components {
4814
4814
  * Tags
4815
4815
  * @description The tags of the simulation unit test set.
4816
4816
  */
4817
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4817
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4818
4818
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4819
4819
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4820
4820
  };
@@ -5276,7 +5276,7 @@ export interface components {
5276
5276
  * Tags
5277
5277
  * @description The tags of the simulation persona.
5278
5278
  */
5279
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
5279
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
5280
5280
  };
5281
5281
  /** ToolVersionInstance */
5282
5282
  ToolVersionInstance: {
@@ -5778,6 +5778,13 @@ export interface components {
5778
5778
  */
5779
5779
  tool_name: string;
5780
5780
  };
5781
+ /** Tag */
5782
+ amigo_lib__mongo__collections__metric__Metric__Tag: {
5783
+ /** Key */
5784
+ key: string;
5785
+ /** Value */
5786
+ value: string | null;
5787
+ };
5781
5788
  /** UserInfo */
5782
5789
  amigo_lib__mongo__collections__metric__Metric__UserInfo: {
5783
5790
  /** Org Id */
@@ -5818,13 +5825,6 @@ export interface components {
5818
5825
  */
5819
5826
  description?: string | null;
5820
5827
  };
5821
- /** Tag */
5822
- amigo_lib__mongo__collections__service__Service__Tag: {
5823
- /** Key */
5824
- key: string;
5825
- /** Value */
5826
- value: string | null;
5827
- };
5828
5828
  /**
5829
5829
  * VersionSet
5830
5830
  * @description A version set pins the agent, state machine, and model version used by this service.
@@ -6300,7 +6300,7 @@ export interface components {
6300
6300
  * Actions
6301
6301
  * @description The action to perform when the dynamic behavior set version is activated.
6302
6302
  */
6303
- actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[];
6303
+ actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[];
6304
6304
  };
6305
6305
  /** ChangeToolCandidatesAction */
6306
6306
  dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
@@ -6351,6 +6351,20 @@ export interface components {
6351
6351
  * the context of the dynamic behavior. */
6352
6352
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6353
6353
  };
6354
+ /** InjectInstructionAction */
6355
+ dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
6356
+ /**
6357
+ * @description discriminator enum property added by openapi-typescript
6358
+ * @enum {string}
6359
+ */
6360
+ type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
6361
+ instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6362
+ /**
6363
+ * Overrides Instructions
6364
+ * @description During injection, whether the original instruction of the state is overriden with this instruction.
6365
+ */
6366
+ overrides_instructions: boolean;
6367
+ };
6354
6368
  /** Response */
6355
6369
  dynamic_behavior_set__create_dynamic_behavior_set__Response: {
6356
6370
  /**
@@ -6370,7 +6384,7 @@ export interface components {
6370
6384
  * Actions
6371
6385
  * @description The action to perform when the dynamic behavior set version is activated.
6372
6386
  */
6373
- actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[];
6387
+ actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[];
6374
6388
  };
6375
6389
  /** ChangeToolCandidatesAction */
6376
6390
  dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
@@ -6421,20 +6435,6 @@ export interface components {
6421
6435
  * the context of the dynamic behavior. */
6422
6436
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6423
6437
  };
6424
- /** InjectInstructionAction */
6425
- dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction: {
6426
- /**
6427
- * @description discriminator enum property added by openapi-typescript
6428
- * @enum {string}
6429
- */
6430
- type: "dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction";
6431
- instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6432
- /**
6433
- * Overrides Instructions
6434
- * @description During injection, whether the original instruction of the state is overriden with this instruction.
6435
- */
6436
- overrides_instructions: boolean;
6437
- };
6438
6438
  /** Response */
6439
6439
  dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
6440
6440
  /**
@@ -6485,7 +6485,7 @@ export interface components {
6485
6485
  * Dynamic Behavior Sets
6486
6486
  * @description The retrieved dynamic behavior sets.
6487
6487
  */
6488
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6488
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6489
6489
  /**
6490
6490
  * Has More
6491
6491
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6502,34 +6502,8 @@ export interface components {
6502
6502
  * retrieved. */
6503
6503
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6504
6504
  };
6505
- /** FilterValues */
6506
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6507
- /**
6508
- * Applied To Services Ids
6509
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6510
- */
6511
- applied_to_services_ids: string[];
6512
- /**
6513
- * Creators
6514
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6515
- */
6516
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6517
- /**
6518
- * Tags
6519
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6520
- */
6521
- tags: string[];
6522
- };
6523
- /** Response */
6524
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6525
- /**
6526
- * Dynamic Behavior Sets
6527
- * @description The retrieved dynamic behavior sets.
6528
- */
6529
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6530
- };
6531
6505
  /** DynamicBehaviorSetInstance */
6532
- dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6506
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6533
6507
  /** Id */
6534
6508
  id: string;
6535
6509
  /** Name */
@@ -6555,6 +6529,32 @@ export interface components {
6555
6529
  updated_at: string;
6556
6530
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6557
6531
  };
6532
+ /** FilterValues */
6533
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6534
+ /**
6535
+ * Applied To Services Ids
6536
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6537
+ */
6538
+ applied_to_services_ids: string[];
6539
+ /**
6540
+ * Creators
6541
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6542
+ */
6543
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6544
+ /**
6545
+ * Tags
6546
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6547
+ */
6548
+ tags: string[];
6549
+ };
6550
+ /** Response */
6551
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6552
+ /**
6553
+ * Dynamic Behavior Sets
6554
+ * @description The retrieved dynamic behavior sets.
6555
+ */
6556
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6557
+ };
6558
6558
  /** Request */
6559
6559
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6560
6560
  /** @description The name of the dynamic behavior set. */
@@ -6879,7 +6879,7 @@ export interface components {
6879
6879
  * User Dimensions
6880
6880
  * @description User dimensions for the organization.
6881
6881
  */
6882
- user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
6882
+ user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6883
6883
  /**
6884
6884
  * Logo
6885
6885
  * Format: base64
@@ -6956,6 +6956,12 @@ export interface components {
6956
6956
  */
6957
6957
  audio_keyterms?: string[];
6958
6958
  };
6959
+ /** UserDimension */
6960
+ organization__create_organization__Request__UserDimension: {
6961
+ description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6962
+ /** Tags */
6963
+ tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6964
+ };
6959
6965
  /** Response */
6960
6966
  organization__create_organization__Response: {
6961
6967
  /**
@@ -7322,7 +7328,7 @@ export interface components {
7322
7328
  * User Dimensions
7323
7329
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7324
7330
  */
7325
- user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7331
+ user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7326
7332
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7327
7333
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7328
7334
  /**
@@ -7362,12 +7368,6 @@ export interface components {
7362
7368
  */
7363
7369
  audio_keyterms?: string[];
7364
7370
  };
7365
- /** UserDimension */
7366
- organization__modify_organization__Request__UserDimension: {
7367
- description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7368
- /** Tags */
7369
- tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7370
- };
7371
7371
  /** Request */
7372
7372
  role__assign_role__Request: {
7373
7373
  /**
@@ -8724,24 +8724,6 @@ export interface components {
8724
8724
  */
8725
8725
  continuation_token: number | null;
8726
8726
  };
8727
- /** UserStats */
8728
- user__get_users__Response__UserInstance__UserStats: {
8729
- /**
8730
- * Num Conversations
8731
- * @description The number of conversations the user has created.
8732
- */
8733
- num_conversations: number;
8734
- /**
8735
- * Num Messages
8736
- * @description The number of messages the user has sent and received.
8737
- */
8738
- num_messages: number;
8739
- /**
8740
- * Last Message Time
8741
- * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8742
- */
8743
- last_message_time: string | null;
8744
- };
8745
8727
  /** Response */
8746
8728
  user__search_users__Response: {
8747
8729
  /**
@@ -8778,7 +8760,7 @@ export interface components {
8778
8760
  */
8779
8761
  email: string;
8780
8762
  /** @description Statistics about the user's usage of the Amigo platform. */
8781
- user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8763
+ user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8782
8764
  /**
8783
8765
  * Role
8784
8766
  * @description The ID of the role of the user.
@@ -8787,6 +8769,24 @@ export interface components {
8787
8769
  /** @description The preferences of the user. */
8788
8770
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8789
8771
  };
8772
+ /** UserStats */
8773
+ user__search_users__Response__UserInstance__UserStats: {
8774
+ /**
8775
+ * Num Conversations
8776
+ * @description The number of conversations the user has created.
8777
+ */
8778
+ num_conversations: number;
8779
+ /**
8780
+ * Num Messages
8781
+ * @description The number of messages the user has sent and received.
8782
+ */
8783
+ num_messages: number;
8784
+ /**
8785
+ * Last Message Time
8786
+ * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8787
+ */
8788
+ last_message_time: string | null;
8789
+ };
8790
8790
  /** SigninWithAPIKeyResponse */
8791
8791
  user__sign_in_with_api_key__Response: {
8792
8792
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.83.0",
3
+ "version": "0.84.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"