@amigo-ai/sdk 0.70.0 → 0.72.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.
@@ -709,6 +709,30 @@ export interface paths {
709
709
  patch?: never;
710
710
  trace?: never;
711
711
  };
712
+ "/v1/{organization}/conversation/{conversation_id}/tags/": {
713
+ parameters: {
714
+ query?: never;
715
+ header?: never;
716
+ path?: never;
717
+ cookie?: never;
718
+ };
719
+ get?: never;
720
+ put?: never;
721
+ /**
722
+ * Modify tags of a conversation
723
+ * @description Modify the tags of a conversation.
724
+ *
725
+ * #### Permissions
726
+ * This endpoint requires the following permissions:
727
+ * * `Conversation:ModifyConversation` for the conversation to modify tags for.
728
+ */
729
+ post: operations["modify-tags-of-conversation"];
730
+ delete?: never;
731
+ options?: never;
732
+ head?: never;
733
+ patch?: never;
734
+ trace?: never;
735
+ };
712
736
  "/v1/{organization}/user/": {
713
737
  parameters: {
714
738
  query?: never;
@@ -2267,7 +2291,7 @@ export interface components {
2267
2291
  /** Boundary Constraints */
2268
2292
  boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2269
2293
  /** Exit Conditions */
2270
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2294
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2271
2295
  /** Action Tool Call Specs */
2272
2296
  action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
2273
2297
  /** Exit Condition Tool Call Specs */
@@ -2688,7 +2712,7 @@ export interface components {
2688
2712
  type: "decision";
2689
2713
  name: components["schemas"]["StateOrRefName"];
2690
2714
  /** Exit Conditions */
2691
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2715
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2692
2716
  /** Decision Guidelines */
2693
2717
  decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2694
2718
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
@@ -3432,7 +3456,7 @@ export interface components {
3432
3456
  * Tags
3433
3457
  * @description The tags of the metric.
3434
3458
  */
3435
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
3459
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3436
3460
  /** @description The user who created the metric. */
3437
3461
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3438
3462
  /** @description The user who last updated the metric. */
@@ -3537,7 +3561,7 @@ export interface components {
3537
3561
  * Tags
3538
3562
  * @description The tags of the metric.
3539
3563
  */
3540
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
3564
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3541
3565
  /** @description The user who created the metric. */
3542
3566
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3543
3567
  /** @description The user who last updated the metric. */
@@ -4384,7 +4408,7 @@ export interface components {
4384
4408
  * Tags
4385
4409
  * @description The tags of the service.
4386
4410
  */
4387
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4411
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4388
4412
  };
4389
4413
  /** SimulationConversationInvocationSource */
4390
4414
  SimulationConversationInvocationSource: {
@@ -4594,7 +4618,7 @@ export interface components {
4594
4618
  * Tags
4595
4619
  * @description The tags of the simulation persona.
4596
4620
  */
4597
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4621
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4598
4622
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4599
4623
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4600
4624
  };
@@ -4666,7 +4690,7 @@ export interface components {
4666
4690
  * Tags
4667
4691
  * @description The tags of the simulation persona.
4668
4692
  */
4669
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4693
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4670
4694
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4671
4695
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4672
4696
  };
@@ -4721,7 +4745,7 @@ export interface components {
4721
4745
  * Tags
4722
4746
  * @description The tags of the simulation unit test set.
4723
4747
  */
4724
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4748
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4725
4749
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4726
4750
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4727
4751
  };
@@ -4773,7 +4797,7 @@ export interface components {
4773
4797
  * Tags
4774
4798
  * @description The tags of the simulation unit test set.
4775
4799
  */
4776
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4800
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4777
4801
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4778
4802
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4779
4803
  };
@@ -5235,7 +5259,7 @@ export interface components {
5235
5259
  * Tags
5236
5260
  * @description The tags of the simulation persona.
5237
5261
  */
5238
- tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
5262
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
5239
5263
  };
5240
5264
  /** ToolVersionInstance */
5241
5265
  ToolVersionInstance: {
@@ -5265,7 +5289,7 @@ export interface components {
5265
5289
  */
5266
5290
  tool_id: string;
5267
5291
  /** @description The version of the tool. */
5268
- version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5292
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5269
5293
  /**
5270
5294
  * Required Envvars
5271
5295
  * @description The environment variables that are required to run the tool.
@@ -5777,13 +5801,6 @@ export interface components {
5777
5801
  */
5778
5802
  description?: string | null;
5779
5803
  };
5780
- /** Tag */
5781
- amigo_lib__mongo__collections__service__Service__Tag: {
5782
- /** Key */
5783
- key: string;
5784
- /** Value */
5785
- value: string | null;
5786
- };
5787
5804
  /**
5788
5805
  * VersionSet
5789
5806
  * @description A version set pins the agent, state machine, and model version used by this service.
@@ -5874,6 +5891,13 @@ export interface components {
5874
5891
  /** User Id */
5875
5892
  user_id: string;
5876
5893
  };
5894
+ /** Tag */
5895
+ amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag: {
5896
+ /** Key */
5897
+ key: string;
5898
+ /** Value */
5899
+ value: string | null;
5900
+ };
5877
5901
  /** UnitTestRunDescriptor */
5878
5902
  amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UnitTestRunDescriptor: {
5879
5903
  /** Unit Test Id */
@@ -5909,15 +5933,6 @@ export interface components {
5909
5933
  /** User Id */
5910
5934
  user_id: string;
5911
5935
  };
5912
- /** Version */
5913
- amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5914
- /** Major */
5915
- major: number;
5916
- /** Minor */
5917
- minor: number;
5918
- /** Patch */
5919
- patch: number;
5920
- };
5921
5936
  /** UserInfo */
5922
5937
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
5923
5938
  /**
@@ -5931,6 +5946,15 @@ export interface components {
5931
5946
  */
5932
5947
  user_org_id: string;
5933
5948
  };
5949
+ /** Version */
5950
+ amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
5951
+ /** Major */
5952
+ major: number;
5953
+ /** Minor */
5954
+ minor: number;
5955
+ /** Patch */
5956
+ patch: number;
5957
+ };
5934
5958
  /**
5935
5959
  * Preferences
5936
5960
  * @description Preferences that the user can set to customize their experience.
@@ -6045,6 +6069,14 @@ export interface components {
6045
6069
  * @description The type of the `initial_message`. Can only be specified if `initial_message` is provided.
6046
6070
  */
6047
6071
  initial_message_type?: ("user-message" | "external-event") | null;
6072
+ /**
6073
+ * Tags
6074
+ * @description A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.
6075
+ * @default {}
6076
+ */
6077
+ tags?: {
6078
+ [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
6079
+ };
6048
6080
  };
6049
6081
  conversation__create_conversation__Response: components["schemas"]["ConversationCreatedEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["CurrentAgentActionEvent"] | components["schemas"]["ErrorEvent"];
6050
6082
  /** Request */
@@ -6175,6 +6207,23 @@ export interface components {
6175
6207
  };
6176
6208
  conversation__interact_with_conversation__Response: components["schemas"]["ConversationEvent"] | components["schemas"]["UserMessageAvailableEvent"] | components["schemas"]["ErrorEvent"];
6177
6209
  /** Request */
6210
+ conversation__modify_tags_of_conversation__Request: {
6211
+ /**
6212
+ * Updates
6213
+ * @description A mapping of tags to add or update on the conversation. Existing tags not included here remain unchanged.
6214
+ * @default {}
6215
+ */
6216
+ updates?: {
6217
+ [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
6218
+ };
6219
+ /**
6220
+ * Deletes
6221
+ * @description A list of tags to remove from the conversation.
6222
+ * @default []
6223
+ */
6224
+ deletes?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6225
+ };
6226
+ /** Request */
6178
6227
  conversation__recommend_responses_for_interaction__Request: {
6179
6228
  /**
6180
6229
  * @description The context under which the recommended responses should be generated.
@@ -6419,7 +6468,7 @@ export interface components {
6419
6468
  * Dynamic Behavior Sets
6420
6469
  * @description The retrieved dynamic behavior sets.
6421
6470
  */
6422
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6471
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6423
6472
  /**
6424
6473
  * Has More
6425
6474
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6436,8 +6485,34 @@ export interface components {
6436
6485
  * retrieved. */
6437
6486
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6438
6487
  };
6488
+ /** FilterValues */
6489
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6490
+ /**
6491
+ * Applied To Services Ids
6492
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6493
+ */
6494
+ applied_to_services_ids: string[];
6495
+ /**
6496
+ * Creators
6497
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6498
+ */
6499
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6500
+ /**
6501
+ * Tags
6502
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6503
+ */
6504
+ tags: string[];
6505
+ };
6506
+ /** Response */
6507
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6508
+ /**
6509
+ * Dynamic Behavior Sets
6510
+ * @description The retrieved dynamic behavior sets.
6511
+ */
6512
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6513
+ };
6439
6514
  /** DynamicBehaviorSetInstance */
6440
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6515
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6441
6516
  /** Id */
6442
6517
  id: string;
6443
6518
  /** Name */
@@ -6463,32 +6538,6 @@ export interface components {
6463
6538
  updated_at: string;
6464
6539
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6465
6540
  };
6466
- /** FilterValues */
6467
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6468
- /**
6469
- * Applied To Services Ids
6470
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6471
- */
6472
- applied_to_services_ids: string[];
6473
- /**
6474
- * Creators
6475
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6476
- */
6477
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6478
- /**
6479
- * Tags
6480
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6481
- */
6482
- tags: string[];
6483
- };
6484
- /** Response */
6485
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6486
- /**
6487
- * Dynamic Behavior Sets
6488
- * @description The retrieved dynamic behavior sets.
6489
- */
6490
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6491
- };
6492
6541
  /** Request */
6493
6542
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6494
6543
  /** @description The name of the dynamic behavior set. */
@@ -6959,7 +7008,7 @@ export interface components {
6959
7008
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6960
7009
  };
6961
7010
  /** ExitCondition */
6962
- organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7011
+ organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
6963
7012
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6964
7013
  /** Next State */
6965
7014
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7328,29 +7377,10 @@ export interface components {
7328
7377
  * Permission Grants
7329
7378
  * @description A list of permission grants associated with this role.
7330
7379
  */
7331
- permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7380
+ permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7332
7381
  /** @description The frontend view for users of this role. */
7333
7382
  frontend_view: components["schemas"]["FrontendView"];
7334
7383
  };
7335
- /** PermissionGrant */
7336
- role__create_role__Request__PermissionGrant: {
7337
- /**
7338
- * Action
7339
- * @description Whether this grant allows or denies the specified access.
7340
- * @enum {string}
7341
- */
7342
- action: "Allow" | "Deny";
7343
- /** Permission Name */
7344
- permission_name: string;
7345
- /**
7346
- * Conditions
7347
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7348
- */
7349
- conditions: {
7350
- [key: string]: components["schemas"]["Condition"];
7351
- };
7352
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7353
- };
7354
7384
  /** Response */
7355
7385
  role__create_role__Response: {
7356
7386
  /**
@@ -7375,10 +7405,29 @@ export interface components {
7375
7405
  * Permission Grants
7376
7406
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7377
7407
  */
7378
- permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7408
+ permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7379
7409
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7380
7410
  frontend_view?: components["schemas"]["FrontendView"] | null;
7381
7411
  };
7412
+ /** PermissionGrant */
7413
+ role__modify_role__Request__PermissionGrant: {
7414
+ /**
7415
+ * Action
7416
+ * @description Whether this grant allows or denies the specified access.
7417
+ * @enum {string}
7418
+ */
7419
+ action: "Allow" | "Deny";
7420
+ /** Permission Name */
7421
+ permission_name: string;
7422
+ /**
7423
+ * Conditions
7424
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7425
+ */
7426
+ conditions: {
7427
+ [key: string]: components["schemas"]["Condition"];
7428
+ };
7429
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7430
+ };
7382
7431
  /** Response */
7383
7432
  role__modify_role__Response: {
7384
7433
  /**
@@ -7410,7 +7459,7 @@ export interface components {
7410
7459
  is_active: boolean;
7411
7460
  /** @description The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the
7412
7461
  * latest agent and state machine versions with no model preference. */
7413
- release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7462
+ release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7414
7463
  /**
7415
7464
  * Keyterms
7416
7465
  * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.
@@ -7425,23 +7474,6 @@ export interface components {
7425
7474
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7426
7475
  };
7427
7476
  };
7428
- /** VersionSet */
7429
- service__create_service__Request__VersionSet: {
7430
- /**
7431
- * Agent Version Number
7432
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7433
- */
7434
- agent_version_number: number | null;
7435
- /**
7436
- * Service Hierarchical State Machine Version Number
7437
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7438
- */
7439
- service_hierarchical_state_machine_version_number: number | null;
7440
- /** Llm Model Preferences */
7441
- llm_model_preferences: {
7442
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7443
- };
7444
- };
7445
7477
  /** Response */
7446
7478
  service__create_service__Response: {
7447
7479
  /**
@@ -7522,7 +7554,24 @@ export interface components {
7522
7554
  /** Request */
7523
7555
  service__upsert_service_version_set__Request: {
7524
7556
  /** @description The version set to upsert. */
7525
- version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7557
+ version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7558
+ };
7559
+ /** VersionSet */
7560
+ service__upsert_service_version_set__Request__VersionSet: {
7561
+ /**
7562
+ * Agent Version Number
7563
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7564
+ */
7565
+ agent_version_number: number | null;
7566
+ /**
7567
+ * Service Hierarchical State Machine Version Number
7568
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7569
+ */
7570
+ service_hierarchical_state_machine_version_number: number | null;
7571
+ /** Llm Model Preferences */
7572
+ llm_model_preferences: {
7573
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7574
+ };
7526
7575
  };
7527
7576
  /** LLMConfig */
7528
7577
  service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
@@ -7739,7 +7788,7 @@ export interface components {
7739
7788
  * Unit Test Runs
7740
7789
  * @description The unit test runs that are part of this set.
7741
7790
  */
7742
- unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7791
+ unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7743
7792
  /**
7744
7793
  * Tags
7745
7794
  * @description The tags of the simulation unit test set.
@@ -7748,16 +7797,6 @@ export interface components {
7748
7797
  [key: string]: string | null;
7749
7798
  };
7750
7799
  };
7751
- /** UnitTestRunDescriptor */
7752
- simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7753
- /** Unit Test Id */
7754
- unit_test_id: string;
7755
- /**
7756
- * Run Count
7757
- * @description The number of times to run the unit test.
7758
- */
7759
- run_count: number;
7760
- };
7761
7800
  /** Response */
7762
7801
  simulation__create_simulation_unit_test_set__Response: {
7763
7802
  /**
@@ -7806,7 +7845,7 @@ export interface components {
7806
7845
  * Simulation Personas
7807
7846
  * @description The list of simulation personas.
7808
7847
  */
7809
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7848
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7810
7849
  /**
7811
7850
  * Has More
7812
7851
  * @description Whether there are more simulation personas to fetch.
@@ -7841,6 +7880,52 @@ export interface components {
7841
7880
  */
7842
7881
  roles: string[];
7843
7882
  };
7883
+ /** SimulationPersonaInstance */
7884
+ simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7885
+ /**
7886
+ * Id
7887
+ * @description The ID of the simulation persona.
7888
+ */
7889
+ id: string;
7890
+ /**
7891
+ * Name
7892
+ * @description The name of the simulation persona.
7893
+ */
7894
+ name: string;
7895
+ /**
7896
+ * Role
7897
+ * @description The role of the simulation persona.
7898
+ */
7899
+ role: string;
7900
+ /**
7901
+ * Tags
7902
+ * @description The tags of the simulation persona.
7903
+ */
7904
+ tags: {
7905
+ [key: string]: string | null;
7906
+ };
7907
+ /**
7908
+ * Is Deleted
7909
+ * @description Whether the simulation persona is deleted.
7910
+ */
7911
+ is_deleted: boolean;
7912
+ /**
7913
+ * Created At
7914
+ * Format: date-time
7915
+ * @description The timestamp when the simulation persona was created.
7916
+ */
7917
+ created_at: string;
7918
+ /** @description The user who created the simulation persona. */
7919
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7920
+ /**
7921
+ * Updated At
7922
+ * Format: date-time
7923
+ * @description The timestamp when the simulation persona was last updated.
7924
+ */
7925
+ updated_at: string;
7926
+ /** @description The user who last updated the simulation persona. */
7927
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7928
+ };
7844
7929
  /** Response */
7845
7930
  simulation__get_simulation_scenario_versions__Response: {
7846
7931
  /**
@@ -7865,7 +7950,7 @@ export interface components {
7865
7950
  * Simulation Scenarios
7866
7951
  * @description The list of simulation scenarios.
7867
7952
  */
7868
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7953
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7869
7954
  /**
7870
7955
  * Has More
7871
7956
  * @description Whether there are more simulation scenarios to fetch.
@@ -7895,47 +7980,6 @@ export interface components {
7895
7980
  */
7896
7981
  tags: string[];
7897
7982
  };
7898
- /** SimulationScenarioInstance */
7899
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7900
- /**
7901
- * Id
7902
- * @description The ID of the simulation scenario.
7903
- */
7904
- id: string;
7905
- /**
7906
- * Name
7907
- * @description The name of the simulation scenario.
7908
- */
7909
- name: string;
7910
- /**
7911
- * Tags
7912
- * @description The tags of the simulation scenario.
7913
- */
7914
- tags: {
7915
- [key: string]: string | null;
7916
- };
7917
- /**
7918
- * Is Deleted
7919
- * @description Whether the simulation scenario is deleted.
7920
- */
7921
- is_deleted: boolean;
7922
- /**
7923
- * Created At
7924
- * Format: date-time
7925
- * @description The timestamp when the simulation scenario was created.
7926
- */
7927
- created_at: string;
7928
- /** @description The user who created the simulation scenario. */
7929
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7930
- /**
7931
- * Updated At
7932
- * Format: date-time
7933
- * @description The timestamp when the simulation scenario was last updated.
7934
- */
7935
- updated_at: string;
7936
- /** @description The user who last updated the simulation scenario. */
7937
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7938
- };
7939
7983
  /** Response */
7940
7984
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
7941
7985
  /**
@@ -8094,61 +8138,56 @@ export interface components {
8094
8138
  * Simulation Personas
8095
8139
  * @description The list of simulation personas.
8096
8140
  */
8097
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8141
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8098
8142
  };
8099
- /** SimulationPersonaInstance */
8100
- simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8143
+ /** Response */
8144
+ simulation__search_simulation_scenarios__Response: {
8145
+ /**
8146
+ * Simulation Scenarios
8147
+ * @description The list of simulation scenarios.
8148
+ */
8149
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8150
+ };
8151
+ /** SimulationScenarioInstance */
8152
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8101
8153
  /**
8102
8154
  * Id
8103
- * @description The ID of the simulation persona.
8155
+ * @description The ID of the simulation scenario.
8104
8156
  */
8105
8157
  id: string;
8106
8158
  /**
8107
8159
  * Name
8108
- * @description The name of the simulation persona.
8160
+ * @description The name of the simulation scenario.
8109
8161
  */
8110
8162
  name: string;
8111
- /**
8112
- * Role
8113
- * @description The role of the simulation persona.
8114
- */
8115
- role: string;
8116
8163
  /**
8117
8164
  * Tags
8118
- * @description The tags of the simulation persona.
8165
+ * @description The tags of the simulation scenario.
8119
8166
  */
8120
8167
  tags: {
8121
8168
  [key: string]: string | null;
8122
8169
  };
8123
8170
  /**
8124
8171
  * Is Deleted
8125
- * @description Whether the simulation persona is deleted.
8172
+ * @description Whether the simulation scenario is deleted.
8126
8173
  */
8127
8174
  is_deleted: boolean;
8128
8175
  /**
8129
8176
  * Created At
8130
8177
  * Format: date-time
8131
- * @description The timestamp when the simulation persona was created.
8178
+ * @description The timestamp when the simulation scenario was created.
8132
8179
  */
8133
8180
  created_at: string;
8134
- /** @description The user who created the simulation persona. */
8135
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8181
+ /** @description The user who created the simulation scenario. */
8182
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8136
8183
  /**
8137
8184
  * Updated At
8138
8185
  * Format: date-time
8139
- * @description The timestamp when the simulation persona was last updated.
8186
+ * @description The timestamp when the simulation scenario was last updated.
8140
8187
  */
8141
8188
  updated_at: string;
8142
- /** @description The user who last updated the simulation persona. */
8143
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8144
- };
8145
- /** Response */
8146
- simulation__search_simulation_scenarios__Response: {
8147
- /**
8148
- * Simulation Scenarios
8149
- * @description The list of simulation scenarios.
8150
- */
8151
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8189
+ /** @description The user who last updated the simulation scenario. */
8190
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8152
8191
  };
8153
8192
  /** Response */
8154
8193
  simulation__search_simulation_unit_test_set__Response: {
@@ -8254,7 +8293,7 @@ export interface components {
8254
8293
  * Unit Test Runs
8255
8294
  * @description The unit test runs that are part of this set.
8256
8295
  */
8257
- unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8296
+ unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8258
8297
  /**
8259
8298
  * Tags
8260
8299
  * @description The tags of the simulation unit test set.
@@ -8263,6 +8302,16 @@ export interface components {
8263
8302
  [key: string]: string | null;
8264
8303
  } | null;
8265
8304
  };
8305
+ /** UnitTestRunDescriptor */
8306
+ simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8307
+ /** Unit Test Id */
8308
+ unit_test_id: string;
8309
+ /**
8310
+ * Run Count
8311
+ * @description The number of times to run the unit test.
8312
+ */
8313
+ run_count: number;
8314
+ };
8266
8315
  /** Request */
8267
8316
  tool__create_tool__Request: {
8268
8317
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8371,23 +8420,7 @@ export interface components {
8371
8420
  * Inputs
8372
8421
  * @description The list of inputs for the tool invocation.
8373
8422
  */
8374
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8375
- };
8376
- /** Input */
8377
- tool__invoke_tool_version__Request__Input: {
8378
- /**
8379
- * Input Parameters
8380
- * @description The input parameters for the tool invocation.
8381
- */
8382
- input_parameters: {
8383
- [key: string]: unknown;
8384
- };
8385
- /**
8386
- * Invocation Mode
8387
- * @description The mode of invocation.
8388
- * @enum {string}
8389
- */
8390
- invocation_mode: "regular" | "conversation-simulation";
8423
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8391
8424
  };
8392
8425
  /** Response */
8393
8426
  tool__invoke_tool_version__Response: {
@@ -8500,7 +8533,7 @@ export interface components {
8500
8533
  */
8501
8534
  tool_id: string;
8502
8535
  /** @description The version of the tool that was invoked. */
8503
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8536
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8504
8537
  };
8505
8538
  /** Request */
8506
8539
  tool__test_tool__Request: {
@@ -8508,7 +8541,7 @@ export interface components {
8508
8541
  * Inputs
8509
8542
  * @description The list of inputs for the tool invocation.
8510
8543
  */
8511
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8544
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8512
8545
  /**
8513
8546
  * Commit Branch
8514
8547
  * @description The branch in the tools repo whose tip will be tested.
@@ -8534,6 +8567,22 @@ export interface components {
8534
8567
  [key: string]: string;
8535
8568
  };
8536
8569
  };
8570
+ /** Input */
8571
+ tool__test_tool__Request__Input: {
8572
+ /**
8573
+ * Input Parameters
8574
+ * @description The input parameters for the tool invocation.
8575
+ */
8576
+ input_parameters: {
8577
+ [key: string]: unknown;
8578
+ };
8579
+ /**
8580
+ * Invocation Mode
8581
+ * @description The mode of invocation.
8582
+ * @enum {string}
8583
+ */
8584
+ invocation_mode: "regular" | "conversation-simulation";
8585
+ };
8537
8586
  /** Response */
8538
8587
  tool__test_tool__Response: {
8539
8588
  /** Invocation Results */
@@ -10725,6 +10774,8 @@ export interface operations {
10725
10774
  continuation_token?: number;
10726
10775
  /** @description The field to sort the conversations by. Supported fields are `created_at`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties. */
10727
10776
  sort_by?: string[];
10777
+ /** @description The tags of the dynamic behavior sets. Must be specified using the syntax `key:value`, which means to match all sets with the given `key` and `value` pair among its tags. If `value` is `*`, it means the `value` does not matter. If `value` is empty, it matches against when the value is `None`. */
10778
+ tag?: string[];
10728
10779
  };
10729
10780
  header?: {
10730
10781
  /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
@@ -11522,6 +11573,84 @@ export interface operations {
11522
11573
  };
11523
11574
  };
11524
11575
  };
11576
+ "modify-tags-of-conversation": {
11577
+ parameters: {
11578
+ query?: never;
11579
+ header?: {
11580
+ /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
11581
+ "x-mongo-cluster-name"?: string | null;
11582
+ "Sec-WebSocket-Protocol"?: string[];
11583
+ };
11584
+ path: {
11585
+ organization: string;
11586
+ conversation_id: string;
11587
+ };
11588
+ cookie?: never;
11589
+ };
11590
+ requestBody: {
11591
+ content: {
11592
+ "application/json": components["schemas"]["conversation__modify_tags_of_conversation__Request"];
11593
+ };
11594
+ };
11595
+ responses: {
11596
+ /** @description Succeeded. */
11597
+ 204: {
11598
+ headers: {
11599
+ [name: string]: unknown;
11600
+ };
11601
+ content?: never;
11602
+ };
11603
+ /** @description The conversation cannot contain more than 20 tags. */
11604
+ 400: {
11605
+ headers: {
11606
+ [name: string]: unknown;
11607
+ };
11608
+ content?: never;
11609
+ };
11610
+ /** @description Invalid authorization credentials. */
11611
+ 401: {
11612
+ headers: {
11613
+ [name: string]: unknown;
11614
+ };
11615
+ content?: never;
11616
+ };
11617
+ /** @description Missing required permissions. */
11618
+ 403: {
11619
+ headers: {
11620
+ [name: string]: unknown;
11621
+ };
11622
+ content?: never;
11623
+ };
11624
+ /** @description Specified organization or conversation is not found. */
11625
+ 404: {
11626
+ headers: {
11627
+ [name: string]: unknown;
11628
+ };
11629
+ content?: never;
11630
+ };
11631
+ /** @description Invalid request path parameter or request body failed validation. */
11632
+ 422: {
11633
+ headers: {
11634
+ [name: string]: unknown;
11635
+ };
11636
+ content?: never;
11637
+ };
11638
+ /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
11639
+ 429: {
11640
+ headers: {
11641
+ [name: string]: unknown;
11642
+ };
11643
+ content?: never;
11644
+ };
11645
+ /** @description The service is going through temporary maintenance. */
11646
+ 503: {
11647
+ headers: {
11648
+ [name: string]: unknown;
11649
+ };
11650
+ content?: never;
11651
+ };
11652
+ };
11653
+ };
11525
11654
  "get-users": {
11526
11655
  parameters: {
11527
11656
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.70.0",
3
+ "version": "0.72.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"