@amigo-ai/sdk 0.61.0 → 0.63.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.
@@ -348,30 +348,6 @@ export interface paths {
348
348
  patch?: never;
349
349
  trace?: never;
350
350
  };
351
- "/v1/{organization}/organization/metrics": {
352
- parameters: {
353
- query?: never;
354
- header?: never;
355
- path?: never;
356
- cookie?: never;
357
- };
358
- get?: never;
359
- put?: never;
360
- /**
361
- * Get metrics for an organization
362
- * @description Compute metrics for an organization.
363
- *
364
- * #### Permissions
365
- * This endpoint requires the following permissions:
366
- * * `Organization:GetMetric` for the organization.
367
- */
368
- post: operations["get-organization-metrics"];
369
- delete?: never;
370
- options?: never;
371
- head?: never;
372
- patch?: never;
373
- trace?: never;
374
- };
375
351
  "/v1/{organization}/organization/user_dimensions/": {
376
352
  parameters: {
377
353
  query?: never;
@@ -598,17 +574,7 @@ export interface paths {
598
574
  path?: never;
599
575
  cookie?: never;
600
576
  };
601
- /**
602
- * Recommend responses for interaction (Deprecated)
603
- * @deprecated
604
- * @description Generate a recommended response for the user to send based on the existing chat history. This should be called when the most recent interaction
605
- * had concluded for a while but the user still hasn't responded.
606
- *
607
- * #### Permissions:
608
- * This endpoint requires the following permissions:
609
- * * `Conversation:GetRecommendedResponses` on this conversation.
610
- */
611
- get: operations["recommend_responses_for_interaction_v1__organization__conversation__conversation_id__interaction__interaction_id__recommend_responses_get"];
577
+ get?: never;
612
578
  put?: never;
613
579
  /**
614
580
  * Recommend responses for interaction
@@ -667,14 +633,10 @@ export interface paths {
667
633
  * Interact with a conversation
668
634
  * @description Send a new user message to the conversation. The endpoint will perform analysis and generate an agent message in response.
669
635
  *
670
- * If `request_format` is `text`, the request body must follow `multipart/form-data` with precise one form field called `recorded_message` that corresponds to UTF-8 encoded
671
- * bytes of the text message. If `request_format` is `voice`, the entire request body must be the bytes of the voice recording in `audio/wav` or `audio/mpeg` (MP3) format. The body
672
- * can be sent as a stream, and the endpoint will start processing chunks as they're received, which will reduce latency.
673
- *
674
636
  * A `UserMessageAvailableEvent` will be the first event in the response, which includes the user message if it's sent as text, or the transcribed message if it's sent as voice.
675
637
  * A series of `CurrentAgentActionEvent`s will follow, which indicates steps in the agent's thinking process. Then the agent message is generated sequentially in pieces, with each piece
676
- * being sent as a `NewMessageEvent` in the response. After all the pieces are sent, an `InteractionCompleteEvent` is sent. The response might end here, or, if the conversation automatically
677
- * ends (for instance, because the user message indicates the user wants to end the session), an `EndSessionEvent` would be emitted, while the conversation is marked as finished and the post-conversation
638
+ * being sent as a `NewMessageEvent` in the response. After all the pieces are sent, an `InteractionCompleteEvent` is sent. Depending on the `conversation_completed` property in this event, the conversation will be awaiting
639
+ * a new message from the user, or it might automatically end (for instance, because the user message indicates the user wants to end the session), while the conversation is marked as finished and the post-conversation
678
640
  * analysis asynchronously initiated. The connection will then terminate.
679
641
  *
680
642
  * Any further action on the conversation is only allowed after the connection is terminated.
@@ -747,36 +709,6 @@ export interface paths {
747
709
  patch?: never;
748
710
  trace?: never;
749
711
  };
750
- "/v1/{organization}/user/invite": {
751
- parameters: {
752
- query?: never;
753
- header?: never;
754
- path?: never;
755
- cookie?: never;
756
- };
757
- get?: never;
758
- put?: never;
759
- /**
760
- * Create a new user
761
- * @deprecated
762
- * @description Invite a user to the Amigo platform. The endpoint will create a new user in the organization, linked to the
763
- * supplied email address. The created user will remain in the unverified status and will not have access to most of Amigo's services.
764
- *
765
- * If `login_link` is not-`None`, an email containing it will be sent to the user's email with descriptions indicating that this would allow the user to login
766
- * and start their Amigo experience. Otherwise, no email will be sent.
767
- *
768
- * #### Permissions
769
- * This endpoint requires the following permissions:
770
- * * `User:InviteUser` on the user to invite.
771
- * * The authenticated user must have greater privileges than the role assigned to the new user.
772
- */
773
- post: operations["create-invited-user-deprecated"];
774
- delete?: never;
775
- options?: never;
776
- head?: never;
777
- patch?: never;
778
- trace?: never;
779
- };
780
712
  "/v1/{organization}/user/": {
781
713
  parameters: {
782
714
  query?: never;
@@ -847,7 +779,7 @@ export interface paths {
847
779
  put?: never;
848
780
  /**
849
781
  * Sign in with email
850
- * @description Send a magic link to the user's email to sign in.
782
+ * @description Send a magic link to the user's email to sign in. If the specified email doesn't correspond to an user, the endpoint succeeds silently.
851
783
  */
852
784
  post: operations["sign-in-with-email"];
853
785
  delete?: never;
@@ -856,31 +788,6 @@ export interface paths {
856
788
  patch?: never;
857
789
  trace?: never;
858
790
  };
859
- "/v1/{organization}/user/{requested_user_id}/user": {
860
- parameters: {
861
- query?: never;
862
- header?: never;
863
- path?: never;
864
- cookie?: never;
865
- };
866
- get?: never;
867
- put?: never;
868
- /**
869
- * Update user info
870
- * @deprecated
871
- * @description Update information about an user. Only fields that are specified in the request are updated.
872
- *
873
- * #### Permissions
874
- * This endpoint requires the following permissions:
875
- * * `User:UpdateUserInfo` for the user to update.
876
- */
877
- post: operations["update-user-info-deprecated"];
878
- delete?: never;
879
- options?: never;
880
- head?: never;
881
- patch?: never;
882
- trace?: never;
883
- };
884
791
  "/v1/{organization}/user/{requested_user_id}": {
885
792
  parameters: {
886
793
  query?: never;
@@ -1126,6 +1033,30 @@ export interface paths {
1126
1033
  patch?: never;
1127
1034
  trace?: never;
1128
1035
  };
1036
+ "/v1/{organization}/admin/get_models/": {
1037
+ parameters: {
1038
+ query?: never;
1039
+ header?: never;
1040
+ path?: never;
1041
+ cookie?: never;
1042
+ };
1043
+ /**
1044
+ * Get models
1045
+ * @description Get a list of LLM models supported by the Amigo platform at this moment.
1046
+ *
1047
+ * #### Permissions:
1048
+ * This endpoint requires the following permissions:
1049
+ * * `Admin:GetModels`.
1050
+ */
1051
+ get: operations["get-models"];
1052
+ put?: never;
1053
+ post?: never;
1054
+ delete?: never;
1055
+ options?: never;
1056
+ head?: never;
1057
+ patch?: never;
1058
+ trace?: never;
1059
+ };
1129
1060
  "/v1/{organization}/webhook_destination/": {
1130
1061
  parameters: {
1131
1062
  query?: never;
@@ -2339,11 +2270,11 @@ export interface components {
2339
2270
  /** Boundary Constraints */
2340
2271
  boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2341
2272
  /** Exit Conditions */
2342
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2273
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2343
2274
  /** Action Tool Call Specs */
2344
- action_tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
2275
+ action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
2345
2276
  /** Exit Condition Tool Call Specs */
2346
- exit_condition_tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
2277
+ exit_condition_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
2347
2278
  /**
2348
2279
  * Skip Active Memory Retrieval
2349
2280
  * @description If `True`, the agent will not perform active memory retrieval at the start of an interaction in this state.
@@ -2401,12 +2332,12 @@ export interface components {
2401
2332
  * Action Tool Call Specs
2402
2333
  * @description A list of tool calls that the agent can make in this state when executing an action.
2403
2334
  */
2404
- action_tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
2335
+ action_tool_call_specs: components["schemas"]["amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec"][];
2405
2336
  /**
2406
2337
  * Exit Condition Tool Call Specs
2407
2338
  * @description A list of tool calls that the agent can make in this state when evaluating exit conditions.
2408
2339
  */
2409
- exit_condition_tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
2340
+ exit_condition_tool_call_specs: components["schemas"]["amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec"][];
2410
2341
  /**
2411
2342
  * Skip Active Memory Retrieval
2412
2343
  * @description If `True`, the agent will not perform active memory retrieval at the start of an interaction in this state.
@@ -2624,6 +2555,24 @@ export interface components {
2624
2555
  /** Categories */
2625
2556
  categories: string[];
2626
2557
  };
2558
+ /** ChangeToolCandidatesAction */
2559
+ "ChangeToolCandidatesAction-Output": {
2560
+ /**
2561
+ * @description discriminator enum property added by openapi-typescript
2562
+ * @enum {string}
2563
+ */
2564
+ type: "change-tool-candidates";
2565
+ /**
2566
+ * Tool Call Specs
2567
+ * @description Additional tool call specs that will be made available to LLMs.
2568
+ */
2569
+ tool_call_specs: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__ChangeToolCandidatesAction__ToolCallSpec"][];
2570
+ /**
2571
+ * Overrides Existing Tool Call Specs
2572
+ * @description During injection, whether the existing tool call specs are overriden with these new specs.
2573
+ */
2574
+ overrides_existing_tool_call_specs: boolean;
2575
+ };
2627
2576
  /** CheckIfActiveMemoryNeededCompletedEvent */
2628
2577
  CheckIfActiveMemoryNeededAgentActionEvent: {
2629
2578
  /**
@@ -2649,48 +2598,6 @@ export interface components {
2649
2598
  type: string;
2650
2599
  };
2651
2600
  Condition: components["schemas"]["EqualCondition"] | components["schemas"]["InCondition"] | components["schemas"]["NotEqualCondition"];
2652
- /** ConversationByTimeMetric */
2653
- "ConversationByTimeMetric-Input": {
2654
- /**
2655
- * @description discriminator enum property added by openapi-typescript
2656
- * @enum {string}
2657
- */
2658
- type: "conversation-by-time";
2659
- /**
2660
- * Starts
2661
- * Format: date-time
2662
- * @description The start of the interval to compute the count of conversations in.
2663
- */
2664
- starts: string;
2665
- /**
2666
- * Ends
2667
- * Format: date-time
2668
- * @description The end of the interval to compute the count of conversations in.
2669
- */
2670
- ends: string;
2671
- /**
2672
- * Granularity
2673
- * @description The granularity of time to bucket the conversations in. For instance, if set to `hour`, the count of conversations for each hour will be computed.
2674
- * @enum {string}
2675
- */
2676
- granularity: "hour" | "day" | "week" | "month";
2677
- };
2678
- /** ConversationByTimeMetric */
2679
- "ConversationByTimeMetric-Output": {
2680
- /**
2681
- * @description discriminator enum property added by openapi-typescript
2682
- * @enum {string}
2683
- */
2684
- type: "conversation-by-time";
2685
- /**
2686
- * Conversation Counts
2687
- * @description An array of 2-tuples, where the first element is the start of the time range represented by this tuple, and the second element is the number of conversations in the range `[start, start + granularity)`.
2688
- */
2689
- conversation_counts: [
2690
- string,
2691
- number
2692
- ][];
2693
- };
2694
2601
  /**
2695
2602
  * ConversationCreatedEvent
2696
2603
  * @description Emitted when the conversation is created.
@@ -2707,7 +2614,7 @@ export interface components {
2707
2614
  */
2708
2615
  conversation_id: string;
2709
2616
  };
2710
- ConversationEvent: components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["EndSessionEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["CurrentAgentActionEvent"];
2617
+ ConversationEvent: components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["CurrentAgentActionEvent"];
2711
2618
  /** ConversationInstance */
2712
2619
  ConversationInstance: {
2713
2620
  /**
@@ -2784,12 +2691,12 @@ export interface components {
2784
2691
  type: "decision";
2785
2692
  name: components["schemas"]["StateOrRefName"];
2786
2693
  /** Exit Conditions */
2787
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2694
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2788
2695
  /** Decision Guidelines */
2789
2696
  decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2790
2697
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
2791
2698
  /** Tool Call Specs */
2792
- tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
2699
+ tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
2793
2700
  /**
2794
2701
  * Audio Fillers
2795
2702
  * @description A list of audio fillers to play in audio mode if the `select-next-state-for-decision-state` prompt is taking too long to process.
@@ -2837,7 +2744,7 @@ export interface components {
2837
2744
  * Tool Call Specs
2838
2745
  * @description A list of tool calls that the agent can make in this state.
2839
2746
  */
2840
- tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
2747
+ tool_call_specs: components["schemas"]["amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec"][];
2841
2748
  /**
2842
2749
  * Audio Fillers
2843
2750
  * @description A list of audio fillers to play in the audio mode if the `select-next-state-for-decision-state` prompt is taking too long to process.
@@ -2985,8 +2892,8 @@ export interface components {
2985
2892
  */
2986
2893
  external_event_message_ids?: string[];
2987
2894
  };
2988
- /** DynamicBehaviorSetVersion */
2989
- DynamicBehaviorSetVersion: {
2895
+ /** DynamicBehaviorSetVersionInstance */
2896
+ DynamicBehaviorSetVersionInstance: {
2990
2897
  /**
2991
2898
  * Id
2992
2899
  * @description The ID of the document.
@@ -3013,19 +2920,9 @@ export interface components {
3013
2920
  version: number;
3014
2921
  /** Conversation Triggers */
3015
2922
  conversation_triggers: string[];
3016
- action: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__Action"];
3017
- };
3018
- /**
3019
- * EndSessionEvent
3020
- * @description This event is deprecated.
3021
- */
3022
- EndSessionEvent: {
3023
- /**
3024
- * Type
3025
- * @default end-session
3026
- * @constant
3027
- */
3028
- type?: "end-session";
2923
+ /** Actions */
2924
+ actions: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__Action"][];
2925
+ action: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__InjectInstructionAction"] | null;
3029
2926
  };
3030
2927
  EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
3031
2928
  /**
@@ -3370,9 +3267,7 @@ export interface components {
3370
3267
  type: "jumpback";
3371
3268
  };
3372
3269
  /** @enum {string} */
3373
- LLMLoadBalancingSetType: "o4-mini-2025-04-16" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "claude-sonnet-4-5-20250929";
3374
- /** @enum {string} */
3375
- LLMType: "openai_o4-mini-2025-04-16" | "openai_gpt-5-2025-08-07" | "openai_gpt-5-mini-2025-08-07" | "openai_gpt-5-nano-2025-08-07" | "azure_o4-mini-2025-04-16" | "azure_gpt-4.1-2025-04-14" | "azure_gpt-4.1-mini-2025-04-14" | "azure_gpt-5-2025-08-07" | "azure_gpt-5-mini-2025-08-07" | "azure_gpt-5-nano-2025-08-07" | "google_claude-sonnet-4-5@20250929" | "aws_claude-sonnet-4-5-20250929" | "anthropic_claude-sonnet-4-5-20250929" | "google_gemini-2.5-pro" | "google_gemini-2.5-flash";
3270
+ LLMType: "azure_gpt-4.1-2025-04-14" | "azure_gpt-4.1-mini-2025-04-14" | "azure_gpt-5-2025-08-07" | "azure_gpt-5-mini-2025-08-07" | "azure_gpt-5-nano-2025-08-07" | "azure_gpt-5.1-2025-11-13" | "google_claude-sonnet-4-5@20250929" | "aws_claude-sonnet-4-5-20250929" | "google_gemini-2.5-pro" | "google_gemini-2.5-flash";
3376
3271
  /** MP3UserMessageAudioConfig */
3377
3272
  MP3UserMessageAudioConfig: {
3378
3273
  /**
@@ -3526,7 +3421,7 @@ export interface components {
3526
3421
  * Tags
3527
3422
  * @description The tags of the metric.
3528
3423
  */
3529
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3424
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
3530
3425
  /** @description The user who created the metric. */
3531
3426
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3532
3427
  /** @description The user who last updated the metric. */
@@ -3631,7 +3526,7 @@ export interface components {
3631
3526
  * Tags
3632
3527
  * @description The tags of the metric.
3633
3528
  */
3634
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3529
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
3635
3530
  /** @description The user who created the metric. */
3636
3531
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3637
3532
  /** @description The user who last updated the metric. */
@@ -3656,12 +3551,21 @@ export interface components {
3656
3551
  /** @description The description of the success criterion. */
3657
3552
  success_criterion: components["schemas"]["SuccessCriterionDescription-Output"];
3658
3553
  };
3659
- "MetricType-Input": components["schemas"]["TotalActiveUserMetric-Input"] | components["schemas"]["TotalConversationCountMetric-Input"] | components["schemas"]["TotalMessageCountMetric-Input"] | components["schemas"]["ConversationByTimeMetric-Input"] | components["schemas"]["TotalARRMetric-Input"];
3660
- "MetricType-Output": components["schemas"]["TotalActiveUserMetric-Output"] | components["schemas"]["TotalConversationCountMetric-Output"] | components["schemas"]["TotalMessageCountMetric-Output"] | components["schemas"]["ConversationByTimeMetric-Output"] | components["schemas"]["TotalARRMetric-Output"];
3661
3554
  "MetricValue-Input": components["schemas"]["NumericalMetricValue"] | components["schemas"]["CategoricalMetricValue-Input"] | components["schemas"]["BooleanMetricValue"];
3662
3555
  "MetricValue-Output": components["schemas"]["BooleanMetricValue"] | components["schemas"]["NumericalMetricValue"] | components["schemas"]["CategoricalMetricValue-Output"];
3663
3556
  /** @enum {string} */
3664
3557
  MetricValueType: "boolean" | "numerical" | "categorical";
3558
+ /** Model */
3559
+ Model: {
3560
+ /** Name */
3561
+ name: string;
3562
+ /** Params Model Schema */
3563
+ params_model_schema: {
3564
+ [key: string]: unknown;
3565
+ };
3566
+ } & {
3567
+ [key: string]: unknown;
3568
+ };
3665
3569
  /**
3666
3570
  * NavigateStateMachineActionStateActionSelectedEvent
3667
3571
  * @description Indicating that the agent has selected an action from the current state.
@@ -4013,24 +3917,6 @@ export interface components {
4013
3917
  */
4014
3918
  sample_width: 2 | 4;
4015
3919
  };
4016
- /** PerLLMConfig */
4017
- PerLLMConfig: {
4018
- /**
4019
- * Top P
4020
- * @description The preferred `top_p` value.
4021
- */
4022
- top_p: number;
4023
- /**
4024
- * Temperature
4025
- * @description The preferred temperature value.
4026
- */
4027
- temperature: number;
4028
- /**
4029
- * Top K
4030
- * @description The preferred `top_k` value. Note that not all LLMs support this.
4031
- */
4032
- top_k: number;
4033
- };
4034
3920
  /** @enum {string} */
4035
3921
  PostAnalysisType: "generate-user-models" | "extract-memories" | "compute-metrics";
4036
3922
  /** PostSessionEvaluationSource */
@@ -4171,7 +4057,7 @@ export interface components {
4171
4057
  components["schemas"]["StateOrRefName"]
4172
4058
  ];
4173
4059
  /** Tool Call Specs */
4174
- tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
4060
+ tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
4175
4061
  /**
4176
4062
  * Audio Fillers
4177
4063
  * @description A list of audio fillers to play in audio mode if the reflection is taking too long to be generated.
@@ -4222,7 +4108,7 @@ export interface components {
4222
4108
  * Tool Call Specs
4223
4109
  * @description A list of tool calls that the agent can make in this state.
4224
4110
  */
4225
- tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
4111
+ tool_call_specs: components["schemas"]["amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec"][];
4226
4112
  /**
4227
4113
  * Audio Fillers
4228
4114
  * @description A list of audio fillers to play in audio mode if the reflection is taking too long to be generated.
@@ -4497,7 +4383,7 @@ export interface components {
4497
4383
  * Tags
4498
4384
  * @description The tags of the service.
4499
4385
  */
4500
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4386
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4501
4387
  };
4502
4388
  /** SimulationConversationInvocationSource */
4503
4389
  SimulationConversationInvocationSource: {
@@ -4707,7 +4593,7 @@ export interface components {
4707
4593
  * Tags
4708
4594
  * @description The tags of the simulation persona.
4709
4595
  */
4710
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4596
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4711
4597
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4712
4598
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4713
4599
  };
@@ -4779,7 +4665,7 @@ export interface components {
4779
4665
  * Tags
4780
4666
  * @description The tags of the simulation persona.
4781
4667
  */
4782
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4668
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4783
4669
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4784
4670
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4785
4671
  };
@@ -4834,7 +4720,7 @@ export interface components {
4834
4720
  * Tags
4835
4721
  * @description The tags of the simulation unit test set.
4836
4722
  */
4837
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4723
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4838
4724
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4839
4725
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4840
4726
  };
@@ -4886,7 +4772,7 @@ export interface components {
4886
4772
  * Tags
4887
4773
  * @description The tags of the simulation unit test set.
4888
4774
  */
4889
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4775
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
4890
4776
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4891
4777
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4892
4778
  };
@@ -5000,7 +4886,9 @@ export interface components {
5000
4886
  "StrippedNonemptyString_A-Z______": string;
5001
4887
  StrippedNonemptyString_________: string;
5002
4888
  StrippedNonemptyString___w__s_____: string;
4889
+ "StrippedNonemptyString__to_upper_None__to_lower_None__strict_None__min_length_None__max_length_None__pattern____A-Za-z0-9_-______MaxLen_max_length_40_": string;
5003
4890
  "StrippedNonemptyString_a-z-______": string;
4891
+ "StrippedNonemptyString_a-z-_____a-z-____0_2____": string;
5004
4892
  "StrippedNonemptyString_a-z0-9______": string;
5005
4893
  /** SucceededInvocationResult */
5006
4894
  SucceededInvocationResult: {
@@ -5106,74 +4994,6 @@ export interface components {
5106
4994
  */
5107
4995
  duration: number;
5108
4996
  };
5109
- /** ToolCallSpec */
5110
- "ToolCallSpec-Input": {
5111
- /**
5112
- * Tool Id
5113
- * @description The ID of the tool.
5114
- */
5115
- tool_id: string;
5116
- /**
5117
- * Version Constraint
5118
- * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
5119
- */
5120
- version_constraint: string;
5121
- /** @description Additional instruction to be supplied to the LLM in addition to the tool's description. */
5122
- additional_instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
5123
- /**
5124
- * Audio Fillers
5125
- * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
5126
- */
5127
- audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
5128
- /**
5129
- * Audio Filler Triggered After
5130
- * @description The number of seconds to wait before playing an audio filler.
5131
- */
5132
- audio_filler_triggered_after: number;
5133
- /** @description The type of result persistence for this tool call.
5134
- *
5135
- * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
5136
- * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
5137
- * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
5138
- result_persistence: components["schemas"]["ResultPersistence"];
5139
- };
5140
- /**
5141
- * ToolCallSpec
5142
- * @description A description of a tool call that the agent can make in this state.
5143
- */
5144
- "ToolCallSpec-Output": {
5145
- /**
5146
- * Tool Id
5147
- * @description The ID of the tool.
5148
- */
5149
- tool_id: string;
5150
- /**
5151
- * Version Constraint
5152
- * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
5153
- */
5154
- version_constraint: string;
5155
- /**
5156
- * Additional Instruction
5157
- * @description Additional instruction to be supplied to the LLM in addition to the tool's description.
5158
- */
5159
- additional_instruction: string;
5160
- /**
5161
- * Audio Fillers
5162
- * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
5163
- */
5164
- audio_fillers: string[];
5165
- /**
5166
- * Audio Filler Triggered After
5167
- * @description The number of seconds to wait before playing an audio filler.
5168
- */
5169
- audio_filler_triggered_after: number;
5170
- /** @description The type of result persistence for this tool call.
5171
- *
5172
- * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
5173
- * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
5174
- * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
5175
- result_persistence: components["schemas"]["ResultPersistence"];
5176
- };
5177
4997
  /**
5178
4998
  * ToolCallStartedEvent
5179
4999
  * @description Indicating that the agent has started executing a tool.
@@ -5220,7 +5040,7 @@ export interface components {
5220
5040
  components["schemas"]["ExternalStateName"],
5221
5041
  components["schemas"]["StateOrRefName"]
5222
5042
  ];
5223
- designated_tool: components["schemas"]["ToolCallSpec-Input"];
5043
+ designated_tool: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"];
5224
5044
  /** Designated Tool Call Params Generation Audio Fillers */
5225
5045
  designated_tool_call_params_generation_audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
5226
5046
  /** Designated Tool Call Params Generation Audio Filler Triggered After */
@@ -5232,7 +5052,7 @@ export interface components {
5232
5052
  /** Designated Tool Call Validations */
5233
5053
  designated_tool_call_validations: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
5234
5054
  /** Tool Call Specs */
5235
- tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
5055
+ tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
5236
5056
  };
5237
5057
  /**
5238
5058
  * ToolCallState
@@ -5260,7 +5080,7 @@ export interface components {
5260
5080
  string
5261
5081
  ];
5262
5082
  /** @description The tool that the agent is to call in this state. */
5263
- designated_tool: components["schemas"]["ToolCallSpec-Output"];
5083
+ designated_tool: components["schemas"]["amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec"];
5264
5084
  /**
5265
5085
  * Designated Tool Call Params Generation Audio Fillers
5266
5086
  * @description A list of audio fillers to play in audio mode if the designated tool call's input generation is taking a long time.
@@ -5299,7 +5119,7 @@ export interface components {
5299
5119
  * Tool Call Specs
5300
5120
  * @description A list of tool calls that the agent can make to help generating the input to the designated tool.
5301
5121
  */
5302
- tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
5122
+ tool_call_specs: components["schemas"]["amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec"][];
5303
5123
  };
5304
5124
  /** ToolCallStateInvocationMetadata */
5305
5125
  ToolCallStateInvocationMetadata: {
@@ -5414,7 +5234,7 @@ export interface components {
5414
5234
  * Tags
5415
5235
  * @description The tags of the simulation persona.
5416
5236
  */
5417
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
5237
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
5418
5238
  };
5419
5239
  /** ToolVersionInstance */
5420
5240
  ToolVersionInstance: {
@@ -5496,164 +5316,48 @@ export interface components {
5496
5316
  */
5497
5317
  deprecated: boolean;
5498
5318
  };
5499
- /** TotalARRMetric */
5500
- "TotalARRMetric-Input": {
5319
+ /** UnitTestRunResult */
5320
+ UnitTestRunResult: {
5501
5321
  /**
5502
- * @description discriminator enum property added by openapi-typescript
5503
- * @enum {string}
5322
+ * Unit Test Id
5323
+ * @description ID of the unit test that was run.
5504
5324
  */
5505
- type: "total-arr";
5506
- };
5507
- /** TotalARRMetric */
5508
- "TotalARRMetric-Output": {
5325
+ unit_test_id: string;
5509
5326
  /**
5510
- * @description discriminator enum property added by openapi-typescript
5511
- * @enum {string}
5327
+ * Metric Evaluation Results
5328
+ * @description The metric evaluation results for the unit test run. There's as many elements in this list as there are metrics to evaluate for this unit test.
5329
+ * This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission. Otherwise, it is an empty list.
5512
5330
  */
5513
- type: "total-arr";
5331
+ metric_evaluation_results: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set_run__SimulationUnitTestSetRun__UnitTestRunResult__MetricEvaluationResult"][];
5514
5332
  /**
5515
- * Arr Cents
5516
- * @description The computed ARR in cents.
5333
+ * Run Errors
5334
+ * @description A list of errors that each run of this unit test has encountered. If the ith entry is `None`, it means that the run has not errored.
5517
5335
  */
5518
- arr_cents: number;
5336
+ run_errors: (string | null)[];
5519
5337
  };
5520
- /** TotalActiveUserMetric */
5521
- "TotalActiveUserMetric-Input": {
5338
+ /** UnitTestRunSpec */
5339
+ UnitTestRunSpec: {
5522
5340
  /**
5523
- * @description discriminator enum property added by openapi-typescript
5524
- * @enum {string}
5341
+ * Unit Test Id
5342
+ * @description ID of the unit test to run.
5525
5343
  */
5526
- type: "total-active-user";
5344
+ unit_test_id: string;
5527
5345
  /**
5528
- * Conversation Count Threshold
5529
- * @description The number of conversations an user must have had in the time horizon to be considered active.
5346
+ * Run Count
5347
+ * @description The number of times to run the unit test.
5530
5348
  */
5531
- conversation_count_threshold: number;
5349
+ run_count: number;
5532
5350
  /**
5533
- * Starts
5534
- * Format: date-time
5535
- * @description The start of the interval to compute active users in.
5351
+ * Service Hierarchical State Machine Version Info
5352
+ * @description The version of the service hierarchical state machine that the unit test runs on.
5536
5353
  */
5537
- starts: string;
5354
+ service_hierarchical_state_machine_version_info: [
5355
+ string,
5356
+ number
5357
+ ];
5538
5358
  /**
5539
- * Ends
5540
- * Format: date-time
5541
- * @description The end of the interval to compute active users in.
5542
- */
5543
- ends: string;
5544
- };
5545
- /** TotalActiveUserMetric */
5546
- "TotalActiveUserMetric-Output": {
5547
- /**
5548
- * @description discriminator enum property added by openapi-typescript
5549
- * @enum {string}
5550
- */
5551
- type: "total-active-user";
5552
- /** Active User Count */
5553
- active_user_count: number;
5554
- };
5555
- /** TotalConversationCountMetric */
5556
- "TotalConversationCountMetric-Input": {
5557
- /**
5558
- * @description discriminator enum property added by openapi-typescript
5559
- * @enum {string}
5560
- */
5561
- type: "total-conversation-count";
5562
- /**
5563
- * Starts
5564
- * Format: date-time
5565
- * @description The start of the interval to compute the count of conversations in.
5566
- */
5567
- starts: string;
5568
- /**
5569
- * Ends
5570
- * Format: date-time
5571
- * @description The end of the interval to compute the count of conversations in.
5572
- */
5573
- ends: string;
5574
- };
5575
- /** TotalConversationCountMetric */
5576
- "TotalConversationCountMetric-Output": {
5577
- /**
5578
- * @description discriminator enum property added by openapi-typescript
5579
- * @enum {string}
5580
- */
5581
- type: "total-conversation-count";
5582
- /** Conversation Count */
5583
- conversation_count: number;
5584
- };
5585
- /** TotalMessageCountMetric */
5586
- "TotalMessageCountMetric-Input": {
5587
- /**
5588
- * @description discriminator enum property added by openapi-typescript
5589
- * @enum {string}
5590
- */
5591
- type: "total-message-count";
5592
- /**
5593
- * Starts
5594
- * Format: date-time
5595
- * @description The start of the interval to compute the count of messages in.
5596
- */
5597
- starts: string;
5598
- /**
5599
- * Ends
5600
- * Format: date-time
5601
- * @description The end of the interval to compute the count of messages in.
5602
- */
5603
- ends: string;
5604
- };
5605
- /** TotalMessageCountMetric */
5606
- "TotalMessageCountMetric-Output": {
5607
- /**
5608
- * @description discriminator enum property added by openapi-typescript
5609
- * @enum {string}
5610
- */
5611
- type: "total-message-count";
5612
- /** Message Count */
5613
- message_count: number;
5614
- };
5615
- /** UnitTestRunResult */
5616
- UnitTestRunResult: {
5617
- /**
5618
- * Unit Test Id
5619
- * @description ID of the unit test that was run.
5620
- */
5621
- unit_test_id: string;
5622
- /**
5623
- * Metric Evaluation Results
5624
- * @description The metric evaluation results for the unit test run. There's as many elements in this list as there are metrics to evaluate for this unit test.
5625
- * This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission. Otherwise, it is an empty list.
5626
- */
5627
- metric_evaluation_results: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set_run__SimulationUnitTestSetRun__UnitTestRunResult__MetricEvaluationResult"][];
5628
- /**
5629
- * Run Errors
5630
- * @description A list of errors that each run of this unit test has encountered. If the ith entry is `None`, it means that the run has not errored.
5631
- */
5632
- run_errors: (string | null)[];
5633
- };
5634
- /** UnitTestRunSpec */
5635
- UnitTestRunSpec: {
5636
- /**
5637
- * Unit Test Id
5638
- * @description ID of the unit test to run.
5639
- */
5640
- unit_test_id: string;
5641
- /**
5642
- * Run Count
5643
- * @description The number of times to run the unit test.
5644
- */
5645
- run_count: number;
5646
- /**
5647
- * Service Hierarchical State Machine Version Info
5648
- * @description The version of the service hierarchical state machine that the unit test runs on.
5649
- */
5650
- service_hierarchical_state_machine_version_info: [
5651
- string,
5652
- number
5653
- ];
5654
- /**
5655
- * Agent Version Info
5656
- * @description The version of the agent that the unit test runs on.
5359
+ * Agent Version Info
5360
+ * @description The version of the agent that the unit test runs on.
5657
5361
  */
5658
5362
  agent_version_info: [
5659
5363
  string,
@@ -5680,7 +5384,7 @@ export interface components {
5680
5384
  * @description The LLM model preferences for the unit test run.
5681
5385
  */
5682
5386
  llm_model_preferences: {
5683
- [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"] | components["schemas"]["amigo_lib__llm__llm_base__LLMLoadBalancingSetConfig"];
5387
+ [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"];
5684
5388
  };
5685
5389
  /**
5686
5390
  * Max Interactions
@@ -5766,9 +5470,41 @@ export interface components {
5766
5470
  * @description The LLM model preferences for this version set.
5767
5471
  */
5768
5472
  llm_model_preferences: {
5769
- [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"] | components["schemas"]["amigo_lib__llm__llm_base__LLMLoadBalancingSetConfig"];
5473
+ [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"];
5770
5474
  };
5771
5475
  };
5476
+ VoiceResponseAudioFormat: components["schemas"]["VoiceResponsePCMAudioFormat"] | components["schemas"]["VoiceResponseMP3AudioFormat"];
5477
+ /** VoiceResponseMP3AudioFormat */
5478
+ VoiceResponseMP3AudioFormat: {
5479
+ /**
5480
+ * @description discriminator enum property added by openapi-typescript
5481
+ * @enum {string}
5482
+ */
5483
+ type: "mp3";
5484
+ /**
5485
+ * Sample Rate
5486
+ * @enum {integer}
5487
+ */
5488
+ sample_rate: 22050 | 44100;
5489
+ /**
5490
+ * Sample Width
5491
+ * @enum {integer}
5492
+ */
5493
+ sample_width: 4 | 8;
5494
+ };
5495
+ /** VoiceResponsePCMAudioFormat */
5496
+ VoiceResponsePCMAudioFormat: {
5497
+ /**
5498
+ * @description discriminator enum property added by openapi-typescript
5499
+ * @enum {string}
5500
+ */
5501
+ type: "pcm";
5502
+ /**
5503
+ * Sample Rate
5504
+ * @enum {integer}
5505
+ */
5506
+ sample_rate: 8000 | 16000 | 44100;
5507
+ };
5772
5508
  /** WebhookDeliveryInstance */
5773
5509
  WebhookDeliveryInstance: {
5774
5510
  /**
@@ -5891,35 +5627,12 @@ export interface components {
5891
5627
  */
5892
5628
  llm_name: string;
5893
5629
  /**
5894
- * Top P
5895
- * @description The preferred `top_p` value.
5896
- */
5897
- top_p: number;
5898
- /**
5899
- * Temperature
5900
- * @description The preferred temperature value.
5901
- */
5902
- temperature: number;
5903
- /**
5904
- * Top K
5905
- * @description The preferred `top_k` value. Note that not all LLMs support this.
5906
- */
5907
- top_k: number;
5908
- };
5909
- /** LLMLoadBalancingSetConfig */
5910
- amigo_lib__llm__llm_base__LLMLoadBalancingSetConfig: {
5911
- /**
5912
- * Llm Load Balancing Set Name
5913
- * @description The name of the LLM load balancing set.
5914
- */
5915
- llm_load_balancing_set_name: string;
5916
- /**
5917
- * Configs
5918
- * @description A map of canonical names of LLMs in this load balancing set to the LLM config to use. If an LLM in the load balancing set
5919
- * does not have a config, its default config would be used.
5630
+ * Params
5631
+ * @description LLM-specific parameters to use.
5632
+ * @default {}
5920
5633
  */
5921
- configs: {
5922
- [key: string]: components["schemas"]["PerLLMConfig"];
5634
+ params?: {
5635
+ [key: string]: unknown;
5923
5636
  };
5924
5637
  };
5925
5638
  /** Identity */
@@ -6014,13 +5727,54 @@ export interface components {
6014
5727
  /** User Id */
6015
5728
  user_id: string;
6016
5729
  };
5730
+ amigo_lib__mongo__collections__dynamic_behavior_set_version__Action: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__InjectInstructionAction"] | components["schemas"]["ChangeToolCandidatesAction-Output"];
5731
+ /** ToolCallSpec */
5732
+ amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__ChangeToolCandidatesAction__ToolCallSpec: {
5733
+ /**
5734
+ * Tool Id
5735
+ * @description The ID of the tool.
5736
+ */
5737
+ tool_id: string;
5738
+ /**
5739
+ * Version Constraint
5740
+ * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
5741
+ */
5742
+ version_constraint: string;
5743
+ /**
5744
+ * Additional Instruction
5745
+ * @description Additional instruction to be supplied to the LLM in addition to the tool's description.
5746
+ */
5747
+ additional_instruction: string;
5748
+ /**
5749
+ * Audio Fillers
5750
+ * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
5751
+ */
5752
+ audio_fillers: string[];
5753
+ /**
5754
+ * Audio Filler Triggered After
5755
+ * @description The number of seconds to wait before playing an audio filler.
5756
+ */
5757
+ audio_filler_triggered_after: number;
5758
+ /** @description The type of result persistence for this tool call.
5759
+ *
5760
+ * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
5761
+ * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
5762
+ * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
5763
+ result_persistence: components["schemas"]["ResultPersistence"];
5764
+ /**
5765
+ * Tool Name
5766
+ * @description An identifier of the tool that will be displayed in the description of this dynamic behavior set. This could be simply the name of the tool, or one augmented with
5767
+ * the context of the dynamic behavior.
5768
+ */
5769
+ tool_name: string;
5770
+ };
6017
5771
  /** InjectInstructionAction */
6018
- amigo_lib__mongo__collections__dynamic_behavior_set_version__Action: {
5772
+ amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__InjectInstructionAction: {
6019
5773
  /**
6020
- * Type
6021
- * @constant
5774
+ * @description discriminator enum property added by openapi-typescript
5775
+ * @enum {string}
6022
5776
  */
6023
- type: "inject-instruction";
5777
+ type: "amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__InjectInstructionAction";
6024
5778
  /** Instruction */
6025
5779
  instruction: string;
6026
5780
  /**
@@ -6069,6 +5823,13 @@ export interface components {
6069
5823
  */
6070
5824
  description?: string | null;
6071
5825
  };
5826
+ /** Tag */
5827
+ amigo_lib__mongo__collections__service__Service__Tag: {
5828
+ /** Key */
5829
+ key: string;
5830
+ /** Value */
5831
+ value: string | null;
5832
+ };
6072
5833
  /**
6073
5834
  * VersionSet
6074
5835
  * @description A version set pins the agent, state machine, and model version used by this service.
@@ -6090,9 +5851,46 @@ export interface components {
6090
5851
  * If an `LLMInteraction` is not in this map, the default model config will be used (defined in each `LLMInteraction` instance).
6091
5852
  */
6092
5853
  llm_model_preferences: {
6093
- [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"] | components["schemas"]["amigo_lib__llm__llm_base__LLMLoadBalancingSetConfig"];
5854
+ [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"];
6094
5855
  };
6095
5856
  };
5857
+ /**
5858
+ * ToolCallSpec
5859
+ * @description A description of a tool call that the agent can make in this state.
5860
+ */
5861
+ amigo_lib__mongo__collections__service_hierarchical_state_machine__ServiceHierarchicalStateMachine__ToolCallSpec: {
5862
+ /**
5863
+ * Tool Id
5864
+ * @description The ID of the tool.
5865
+ */
5866
+ tool_id: string;
5867
+ /**
5868
+ * Version Constraint
5869
+ * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
5870
+ */
5871
+ version_constraint: string;
5872
+ /**
5873
+ * Additional Instruction
5874
+ * @description Additional instruction to be supplied to the LLM in addition to the tool's description.
5875
+ */
5876
+ additional_instruction: string;
5877
+ /**
5878
+ * Audio Fillers
5879
+ * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
5880
+ */
5881
+ audio_fillers: string[];
5882
+ /**
5883
+ * Audio Filler Triggered After
5884
+ * @description The number of seconds to wait before playing an audio filler.
5885
+ */
5886
+ audio_filler_triggered_after: number;
5887
+ /** @description The type of result persistence for this tool call.
5888
+ *
5889
+ * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
5890
+ * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
5891
+ * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
5892
+ result_persistence: components["schemas"]["ResultPersistence"];
5893
+ };
6096
5894
  /** UserInfo */
6097
5895
  amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo: {
6098
5896
  /** Org Id */
@@ -6115,13 +5913,6 @@ export interface components {
6115
5913
  metric_id: string;
6116
5914
  criterion: components["schemas"]["SuccessCriterionDescription-Output"];
6117
5915
  };
6118
- /** Tag */
6119
- amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
6120
- /** Key */
6121
- key: string;
6122
- /** Value */
6123
- value: string | null;
6124
- };
6125
5916
  /** UserInfo */
6126
5917
  amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
6127
5918
  /** Org Id */
@@ -6220,6 +6011,12 @@ export interface components {
6220
6011
  * @description The user's timezone in the IANA tz database format for all users in this organization. If not specified, UTC is used.
6221
6012
  */
6222
6013
  timezone?: string | null;
6014
+ /**
6015
+ * Audio Keyterms
6016
+ * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions for this user.
6017
+ * @default []
6018
+ */
6019
+ audio_keyterms?: string[];
6223
6020
  };
6224
6021
  /** UserDimension */
6225
6022
  amigo_lib__mongo__collections__user__User__UserModel__UserDimension: {
@@ -6232,6 +6029,13 @@ export interface components {
6232
6029
  amigo_lib__pydantic__base_model__StrippedNonemptyString__2: string;
6233
6030
  amigo_lib__pydantic__base_model__StrippedNonemptyString__3: string;
6234
6031
  src__app__amigo__service__conversation__Action: components["schemas"]["SelectDynamicBehaviorAgentActionEvent"] | components["schemas"]["CheckIfActiveMemoryNeededAgentActionEvent"] | components["schemas"]["ExtractActiveMemoriesAgentActionEvent"] | components["schemas"]["NavigateStateMachineAgentActionEvent"] | components["schemas"]["EngageUserAgentActionEvent"];
6032
+ /** Response */
6033
+ admin__get_models__Response: {
6034
+ /** Models */
6035
+ models: components["schemas"]["Model"][];
6036
+ } & {
6037
+ [key: string]: unknown;
6038
+ };
6235
6039
  /** Request */
6236
6040
  admin__submit_sql_query__Request: {
6237
6041
  /** @description The SQL query to execute. */
@@ -6472,16 +6276,68 @@ export interface components {
6472
6276
  * @description The conversation triggers for the dynamic behavior set version.
6473
6277
  */
6474
6278
  conversation_triggers: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6475
- /** @description The action to perform when the dynamic behavior set version is activated. */
6476
- action: components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"];
6279
+ /**
6280
+ * Actions
6281
+ * @description The action to perform when the dynamic behavior set version is activated.
6282
+ */
6283
+ 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"])[] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"];
6284
+ };
6285
+ /** ChangeToolCandidatesAction */
6286
+ dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
6287
+ /**
6288
+ * @description discriminator enum property added by openapi-typescript
6289
+ * @enum {string}
6290
+ */
6291
+ type: "change-tool-candidates";
6292
+ /** Tool Call Specs */
6293
+ tool_call_specs: components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction__ToolCallSpec"][];
6294
+ /**
6295
+ * Overrides Existing Tool Call Specs
6296
+ * @description During injection, whether the existing tool call specs are overriden with these new specs.
6297
+ */
6298
+ overrides_existing_tool_call_specs: boolean;
6299
+ };
6300
+ /** ToolCallSpec */
6301
+ dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction__ToolCallSpec: {
6302
+ /**
6303
+ * Tool Id
6304
+ * @description The ID of the tool.
6305
+ */
6306
+ tool_id: string;
6307
+ /**
6308
+ * Version Constraint
6309
+ * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
6310
+ */
6311
+ version_constraint: string;
6312
+ /** @description Additional instruction to be supplied to the LLM in addition to the tool's description. */
6313
+ additional_instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6314
+ /**
6315
+ * Audio Fillers
6316
+ * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
6317
+ */
6318
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
6319
+ /**
6320
+ * Audio Filler Triggered After
6321
+ * @description The number of seconds to wait before playing an audio filler.
6322
+ */
6323
+ audio_filler_triggered_after: number;
6324
+ /** @description The type of result persistence for this tool call.
6325
+ *
6326
+ * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
6327
+ * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
6328
+ * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
6329
+ result_persistence: components["schemas"]["ResultPersistence"];
6330
+ /** @description An identifier of the tool that will be displayed in the description of this dynamic behavior set. This could be simply the name of the tool, or one augmented with
6331
+ * the context of the dynamic behavior. */
6332
+ tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6477
6333
  };
6478
6334
  /** InjectInstructionAction */
6479
6335
  dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
6480
6336
  /**
6481
- * Type
6482
- * @constant
6337
+ * @description discriminator enum property added by openapi-typescript
6338
+ * @enum {string}
6483
6339
  */
6484
- type: "inject-instruction";
6340
+ type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
6485
6341
  instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6486
6342
  /**
6487
6343
  * Overrides Instructions
@@ -6504,19 +6360,60 @@ export interface components {
6504
6360
  * @description The conversation triggers for the dynamic behavior set version.
6505
6361
  */
6506
6362
  conversation_triggers: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6507
- /** @description The action to perform when the dynamic behavior set version is activated. */
6508
- action: components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"];
6363
+ /**
6364
+ * Actions
6365
+ * @description The action to perform when the dynamic behavior set version is activated.
6366
+ */
6367
+ 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"])[] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"];
6509
6368
  };
6510
- /** InjectInstructionAction */
6511
- dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction: {
6369
+ /** ChangeToolCandidatesAction */
6370
+ dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
6512
6371
  /**
6513
- * Type
6514
- * @constant
6372
+ * @description discriminator enum property added by openapi-typescript
6373
+ * @enum {string}
6515
6374
  */
6516
- type: "inject-instruction";
6517
- instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6518
- /** Overrides Instructions */
6519
- overrides_instructions: boolean;
6375
+ type: "change-tool-candidates";
6376
+ /** Tool Call Specs */
6377
+ tool_call_specs: components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction__ToolCallSpec"][];
6378
+ /**
6379
+ * Overrides Existing Tool Call Specs
6380
+ * @description During injection, whether the existing tool call specs are overriden with these new specs.
6381
+ */
6382
+ overrides_existing_tool_call_specs: boolean;
6383
+ };
6384
+ /** ToolCallSpec */
6385
+ dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction__ToolCallSpec: {
6386
+ /**
6387
+ * Tool Id
6388
+ * @description The ID of the tool.
6389
+ */
6390
+ tool_id: string;
6391
+ /**
6392
+ * Version Constraint
6393
+ * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
6394
+ */
6395
+ version_constraint: string;
6396
+ /** @description Additional instruction to be supplied to the LLM in addition to the tool's description. */
6397
+ additional_instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6398
+ /**
6399
+ * Audio Fillers
6400
+ * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
6401
+ */
6402
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
6403
+ /**
6404
+ * Audio Filler Triggered After
6405
+ * @description The number of seconds to wait before playing an audio filler.
6406
+ */
6407
+ audio_filler_triggered_after: number;
6408
+ /** @description The type of result persistence for this tool call.
6409
+ *
6410
+ * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
6411
+ * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
6412
+ * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
6413
+ result_persistence: components["schemas"]["ResultPersistence"];
6414
+ /** @description An identifier of the tool that will be displayed in the description of this dynamic behavior set. This could be simply the name of the tool, or one augmented with
6415
+ * the context of the dynamic behavior. */
6416
+ tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6520
6417
  };
6521
6418
  /** Response */
6522
6419
  dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
@@ -6550,7 +6447,7 @@ export interface components {
6550
6447
  * Dynamic Behavior Set Versions
6551
6448
  * @description The retrieved dynamic behavior set versions.
6552
6449
  */
6553
- dynamic_behavior_set_versions: components["schemas"]["DynamicBehaviorSetVersion"][];
6450
+ dynamic_behavior_set_versions: components["schemas"]["DynamicBehaviorSetVersionInstance"][];
6554
6451
  /**
6555
6452
  * Has More
6556
6453
  * @description Whether there are more dynamic behavior set versions to retrieve.
@@ -6962,7 +6859,7 @@ export interface components {
6962
6859
  * User Dimensions
6963
6860
  * @description User dimensions for the organization.
6964
6861
  */
6965
- user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
6862
+ user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6966
6863
  /**
6967
6864
  * Logo
6968
6865
  * Format: base64
@@ -6994,7 +6891,8 @@ export interface components {
6994
6891
  * @default {
6995
6892
  * "enable_response_recommendation": false,
6996
6893
  * "conversations_visible_to_admins": true,
6997
- * "user_model_visible_to_admins": true
6894
+ * "user_model_visible_to_admins": true,
6895
+ * "audio_keyterms": []
6998
6896
  * }
6999
6897
  */
7000
6898
  default_user_preferences?: components["schemas"]["organization__create_organization__Request__Preferences"];
@@ -7031,6 +6929,18 @@ export interface components {
7031
6929
  user_model_visible_to_admins?: boolean;
7032
6930
  /** Timezone */
7033
6931
  timezone?: ("Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu" | "localtime") | null;
6932
+ /**
6933
+ * Audio Keyterms
6934
+ * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions for this user.
6935
+ * @default []
6936
+ */
6937
+ audio_keyterms?: string[];
6938
+ };
6939
+ /** UserDimension */
6940
+ organization__create_organization__Request__UserDimension: {
6941
+ description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6942
+ /** Tags */
6943
+ tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7034
6944
  };
7035
6945
  /** Response */
7036
6946
  organization__create_organization__Response: {
@@ -7095,7 +7005,7 @@ export interface components {
7095
7005
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7096
7006
  };
7097
7007
  /** ExitCondition */
7098
- organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7008
+ organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7099
7009
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7100
7010
  /** Next State */
7101
7011
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7103,6 +7013,37 @@ export interface components {
7103
7013
  components["schemas"]["StateOrRefName"]
7104
7014
  ];
7105
7015
  };
7016
+ /** ToolCallSpec */
7017
+ organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec: {
7018
+ /**
7019
+ * Tool Id
7020
+ * @description The ID of the tool.
7021
+ */
7022
+ tool_id: string;
7023
+ /**
7024
+ * Version Constraint
7025
+ * @description A [Python packaging version constraint](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) of the tool.
7026
+ */
7027
+ version_constraint: string;
7028
+ /** @description Additional instruction to be supplied to the LLM in addition to the tool's description. */
7029
+ additional_instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7030
+ /**
7031
+ * Audio Fillers
7032
+ * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
7033
+ */
7034
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
7035
+ /**
7036
+ * Audio Filler Triggered After
7037
+ * @description The number of seconds to wait before playing an audio filler.
7038
+ */
7039
+ audio_filler_triggered_after: number;
7040
+ /** @description The type of result persistence for this tool call.
7041
+ *
7042
+ * - If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.
7043
+ * - If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.
7044
+ * - If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown. */
7045
+ result_persistence: components["schemas"]["ResultPersistence"];
7046
+ };
7106
7047
  /** Response */
7107
7048
  organization__create_service_hierarchical_state_machine_version__Response: {
7108
7049
  /**
@@ -7289,22 +7230,6 @@ export interface components {
7289
7230
  * and the authenticated user has the `Organization:GetOrganizationDetails` permission. */
7290
7231
  default_user_preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"] | null;
7291
7232
  };
7292
- /** Request */
7293
- organization__get_organization_metrics__Request: {
7294
- /**
7295
- * Metrics
7296
- * @description A list of metrics to compute. Each type of metric can only appear once.
7297
- */
7298
- metrics: components["schemas"]["MetricType-Input"][];
7299
- };
7300
- /** Response */
7301
- organization__get_organization_metrics__Response: {
7302
- /**
7303
- * Metrics
7304
- * @description The metrics that were requested, in the same order as they were requested.
7305
- */
7306
- metrics: components["schemas"]["MetricType-Output"][];
7307
- };
7308
7233
  /** Response */
7309
7234
  organization__get_service_hierarchical_state_machine_versions__Response: {
7310
7235
  /**
@@ -7383,7 +7308,7 @@ export interface components {
7383
7308
  * User Dimensions
7384
7309
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7385
7310
  */
7386
- user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7311
+ user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7387
7312
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7388
7313
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7389
7314
  /**
@@ -7416,12 +7341,12 @@ export interface components {
7416
7341
  user_model_visible_to_admins?: boolean;
7417
7342
  /** Timezone */
7418
7343
  timezone?: ("Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu" | "localtime") | null;
7419
- };
7420
- /** UserDimension */
7421
- organization__modify_organization__Request__UserDimension: {
7422
- description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7423
- /** Tags */
7424
- tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7344
+ /**
7345
+ * Audio Keyterms
7346
+ * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions for this user.
7347
+ * @default []
7348
+ */
7349
+ audio_keyterms?: string[];
7425
7350
  };
7426
7351
  /** Request */
7427
7352
  role__assign_role__Request: {
@@ -7449,7 +7374,7 @@ export interface components {
7449
7374
  * Permission Grants
7450
7375
  * @description A list of permission grants associated with this role.
7451
7376
  */
7452
- permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7377
+ permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7453
7378
  /** @description The frontend view for users of this role. */
7454
7379
  frontend_view: components["schemas"]["FrontendView"];
7455
7380
  /**
@@ -7463,25 +7388,6 @@ export interface components {
7463
7388
  */
7464
7389
  inherited_from: string | null;
7465
7390
  };
7466
- /** PermissionGrant */
7467
- role__create_role__Request__PermissionGrant: {
7468
- /**
7469
- * Action
7470
- * @description Whether this grant allows or denies the specified access.
7471
- * @enum {string}
7472
- */
7473
- action: "Allow" | "Deny";
7474
- /** Permission Name */
7475
- permission_name: string;
7476
- /**
7477
- * Conditions
7478
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7479
- */
7480
- conditions: {
7481
- [key: string]: components["schemas"]["Condition"];
7482
- };
7483
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7484
- };
7485
7391
  /** Response */
7486
7392
  role__create_role__Response: {
7487
7393
  /**
@@ -7506,7 +7412,7 @@ export interface components {
7506
7412
  * Permission Grants
7507
7413
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7508
7414
  */
7509
- permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7415
+ permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7510
7416
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7511
7417
  frontend_view?: components["schemas"]["FrontendView"] | null;
7512
7418
  /**
@@ -7516,6 +7422,25 @@ export interface components {
7516
7422
  */
7517
7423
  inherited_from?: string | components["schemas"]["_NotSet"] | null;
7518
7424
  };
7425
+ /** PermissionGrant */
7426
+ role__modify_role__Request__PermissionGrant: {
7427
+ /**
7428
+ * Action
7429
+ * @description Whether this grant allows or denies the specified access.
7430
+ * @enum {string}
7431
+ */
7432
+ action: "Allow" | "Deny";
7433
+ /** Permission Name */
7434
+ permission_name: string;
7435
+ /**
7436
+ * Conditions
7437
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7438
+ */
7439
+ conditions: {
7440
+ [key: string]: components["schemas"]["Condition"];
7441
+ };
7442
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7443
+ };
7519
7444
  /** Response */
7520
7445
  role__modify_role__Response: {
7521
7446
  /**
@@ -7547,7 +7472,13 @@ export interface components {
7547
7472
  is_active: boolean;
7548
7473
  /** @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
7549
7474
  * latest agent and state machine versions with no model preference. */
7550
- release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7475
+ release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7476
+ /**
7477
+ * Keyterms
7478
+ * @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.
7479
+ * @default []
7480
+ */
7481
+ keyterms?: components["schemas"]["StrippedNonemptyString_a-z-_____a-z-____0_2____"][];
7551
7482
  /**
7552
7483
  * Tags
7553
7484
  * @description The tags of this service.
@@ -7556,12 +7487,21 @@ export interface components {
7556
7487
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7557
7488
  };
7558
7489
  };
7559
- /** LLMLoadBalancingSetConfig */
7560
- service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig: {
7561
- llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
7562
- /** Configs */
7563
- configs: {
7564
- [key: string]: components["schemas"]["PerLLMConfig"];
7490
+ /** VersionSet */
7491
+ service__create_service__Request__VersionSet: {
7492
+ /**
7493
+ * Agent Version Number
7494
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7495
+ */
7496
+ agent_version_number: number | null;
7497
+ /**
7498
+ * Service Hierarchical State Machine Version Number
7499
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7500
+ */
7501
+ service_hierarchical_state_machine_version_number: number | null;
7502
+ /** Llm Model Preferences */
7503
+ llm_model_preferences: {
7504
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7565
7505
  };
7566
7506
  };
7567
7507
  /** Response */
@@ -7635,47 +7575,28 @@ export interface components {
7635
7575
  tags?: {
7636
7576
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7637
7577
  } | null;
7578
+ /**
7579
+ * Keyterms
7580
+ * @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. Only updated if not-null.
7581
+ */
7582
+ keyterms?: components["schemas"]["StrippedNonemptyString_a-z-_____a-z-____0_2____"][] | null;
7638
7583
  };
7639
7584
  /** Request */
7640
7585
  service__upsert_service_version_set__Request: {
7641
7586
  /** @description The version set to upsert. */
7642
- version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7643
- };
7644
- /** VersionSet */
7645
- service__upsert_service_version_set__Request__VersionSet: {
7646
- /**
7647
- * Agent Version Number
7648
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7649
- */
7650
- agent_version_number: number | null;
7651
- /**
7652
- * Service Hierarchical State Machine Version Number
7653
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7654
- */
7655
- service_hierarchical_state_machine_version_number: number | null;
7656
- /** Llm Model Preferences */
7657
- llm_model_preferences: {
7658
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"] | components["schemas"]["service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig"];
7659
- };
7587
+ version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7660
7588
  };
7661
7589
  /** LLMConfig */
7662
7590
  service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7663
7591
  llm_name: components["schemas"]["LLMType"];
7664
7592
  /**
7665
- * Top P
7666
- * @description The preferred `top_p` value.
7667
- */
7668
- top_p: number;
7669
- /**
7670
- * Temperature
7671
- * @description The preferred temperature value.
7672
- */
7673
- temperature: number;
7674
- /**
7675
- * Top K
7676
- * @description The preferred `top_k` value. Note that not all LLMs support this.
7593
+ * Params
7594
+ * @description LLM-specific parameters to use.
7595
+ * @default {}
7677
7596
  */
7678
- top_k: number;
7597
+ params?: {
7598
+ [key: string]: unknown;
7599
+ };
7679
7600
  };
7680
7601
  /** Request */
7681
7602
  simulation__create_simulation_persona__Request: {
@@ -7880,7 +7801,7 @@ export interface components {
7880
7801
  * Unit Test Runs
7881
7802
  * @description The unit test runs that are part of this set.
7882
7803
  */
7883
- unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7804
+ unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7884
7805
  /**
7885
7806
  * Tags
7886
7807
  * @description The tags of the simulation unit test set.
@@ -7889,6 +7810,16 @@ export interface components {
7889
7810
  [key: string]: string | null;
7890
7811
  };
7891
7812
  };
7813
+ /** UnitTestRunDescriptor */
7814
+ simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7815
+ /** Unit Test Id */
7816
+ unit_test_id: string;
7817
+ /**
7818
+ * Run Count
7819
+ * @description The number of times to run the unit test.
7820
+ */
7821
+ run_count: number;
7822
+ };
7892
7823
  /** Response */
7893
7824
  simulation__create_simulation_unit_test_set__Response: {
7894
7825
  /**
@@ -8385,7 +8316,7 @@ export interface components {
8385
8316
  * Unit Test Runs
8386
8317
  * @description The unit test runs that are part of this set.
8387
8318
  */
8388
- unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8319
+ unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8389
8320
  /**
8390
8321
  * Tags
8391
8322
  * @description The tags of the simulation unit test set.
@@ -8394,16 +8325,6 @@ export interface components {
8394
8325
  [key: string]: string | null;
8395
8326
  } | null;
8396
8327
  };
8397
- /** UnitTestRunDescriptor */
8398
- simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8399
- /** Unit Test Id */
8400
- unit_test_id: string;
8401
- /**
8402
- * Run Count
8403
- * @description The number of times to run the unit test.
8404
- */
8405
- run_count: number;
8406
- };
8407
8328
  /** Request */
8408
8329
  tool__create_tool__Request: {
8409
8330
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8512,7 +8433,23 @@ export interface components {
8512
8433
  * Inputs
8513
8434
  * @description The list of inputs for the tool invocation.
8514
8435
  */
8515
- inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8436
+ inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8437
+ };
8438
+ /** Input */
8439
+ tool__invoke_tool_version__Request__Input: {
8440
+ /**
8441
+ * Input Parameters
8442
+ * @description The input parameters for the tool invocation.
8443
+ */
8444
+ input_parameters: {
8445
+ [key: string]: unknown;
8446
+ };
8447
+ /**
8448
+ * Invocation Mode
8449
+ * @description The mode of invocation.
8450
+ * @enum {string}
8451
+ */
8452
+ invocation_mode: "regular" | "conversation-simulation";
8516
8453
  };
8517
8454
  /** Response */
8518
8455
  tool__invoke_tool_version__Response: {
@@ -8633,7 +8570,7 @@ export interface components {
8633
8570
  * Inputs
8634
8571
  * @description The list of inputs for the tool invocation.
8635
8572
  */
8636
- inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8573
+ inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8637
8574
  /**
8638
8575
  * Commit Branch
8639
8576
  * @description The branch in the tools repo whose tip will be tested.
@@ -8659,22 +8596,6 @@ export interface components {
8659
8596
  [key: string]: string;
8660
8597
  };
8661
8598
  };
8662
- /** Input */
8663
- tool__test_tool__Request__Input: {
8664
- /**
8665
- * Input Parameters
8666
- * @description The input parameters for the tool invocation.
8667
- */
8668
- input_parameters: {
8669
- [key: string]: unknown;
8670
- };
8671
- /**
8672
- * Invocation Mode
8673
- * @description The mode of invocation.
8674
- * @enum {string}
8675
- */
8676
- invocation_mode: "regular" | "conversation-simulation";
8677
- };
8678
8599
  /** Response */
8679
8600
  tool__test_tool__Response: {
8680
8601
  /** Invocation Results */
@@ -8730,6 +8651,12 @@ export interface components {
8730
8651
  user_model_visible_to_admins?: boolean;
8731
8652
  /** Timezone */
8732
8653
  timezone?: ("Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu" | "localtime") | null;
8654
+ /**
8655
+ * Audio Keyterms
8656
+ * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions for this user.
8657
+ * @default []
8658
+ */
8659
+ audio_keyterms?: string[];
8733
8660
  };
8734
8661
  /** Response */
8735
8662
  user__create_invited_user__Response: {
@@ -8781,7 +8708,7 @@ export interface components {
8781
8708
  * Users
8782
8709
  * @description Users in this organization.
8783
8710
  */
8784
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8711
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8785
8712
  /**
8786
8713
  * Has More
8787
8714
  * @description Whether there are more users to retrieve.
@@ -8793,34 +8720,8 @@ export interface components {
8793
8720
  */
8794
8721
  continuation_token: number | null;
8795
8722
  };
8796
- /** UserStats */
8797
- user__get_users__Response__UserInstance__UserStats: {
8798
- /**
8799
- * Num Conversations
8800
- * @description The number of conversations the user has created.
8801
- */
8802
- num_conversations: number;
8803
- /**
8804
- * Num Messages
8805
- * @description The number of messages the user has sent and received.
8806
- */
8807
- num_messages: number;
8808
- /**
8809
- * Last Message Time
8810
- * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8811
- */
8812
- last_message_time: string | null;
8813
- };
8814
- /** Response */
8815
- user__search_users__Response: {
8816
- /**
8817
- * Users
8818
- * @description Users in this organization.
8819
- */
8820
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8821
- };
8822
8723
  /** UserInstance */
8823
- user__search_users__Response__UserInstance: {
8724
+ user__get_users__Response__UserInstance: {
8824
8725
  /**
8825
8726
  * Org Id
8826
8727
  * @description The ID of the organization that this user belongs to.
@@ -8847,7 +8748,7 @@ export interface components {
8847
8748
  */
8848
8749
  email: string;
8849
8750
  /** @description Statistics about the user's usage of the Amigo platform. */
8850
- user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8751
+ user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8851
8752
  /**
8852
8753
  * Role
8853
8754
  * @description The ID of the role of the user.
@@ -8856,6 +8757,32 @@ export interface components {
8856
8757
  /** @description The preferences of the user. */
8857
8758
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8858
8759
  };
8760
+ /** Response */
8761
+ user__search_users__Response: {
8762
+ /**
8763
+ * Users
8764
+ * @description Users in this organization.
8765
+ */
8766
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8767
+ };
8768
+ /** UserStats */
8769
+ user__search_users__Response__UserInstance__UserStats: {
8770
+ /**
8771
+ * Num Conversations
8772
+ * @description The number of conversations the user has created.
8773
+ */
8774
+ num_conversations: number;
8775
+ /**
8776
+ * Num Messages
8777
+ * @description The number of messages the user has sent and received.
8778
+ */
8779
+ num_messages: number;
8780
+ /**
8781
+ * Last Message Time
8782
+ * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8783
+ */
8784
+ last_message_time: string | null;
8785
+ };
8859
8786
  /** SigninWithAPIKeyResponse */
8860
8787
  user__sign_in_with_api_key__Response: {
8861
8788
  /**
@@ -8885,14 +8812,6 @@ export interface components {
8885
8812
  */
8886
8813
  email: string;
8887
8814
  };
8888
- /** Response */
8889
- user__sign_in_with_email__Response: {
8890
- /**
8891
- * User Id
8892
- * @description The identifier of the user corresponding to the email.
8893
- */
8894
- user_id: string;
8895
- };
8896
8815
  /** Request */
8897
8816
  user__update_user_info__Request: {
8898
8817
  /** @description The first name of the user to update. If `null`, the first name is not modified. */
@@ -8933,6 +8852,16 @@ export interface components {
8933
8852
  * @description A list of additional context to update. If `null`, the context is not modified.
8934
8853
  */
8935
8854
  additional_context?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][] | null;
8855
+ /**
8856
+ * Audio Keyterms
8857
+ * @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. If `null`, the keyterms are not modified.
8858
+ */
8859
+ audio_keyterms?: components["schemas"]["StrippedNonemptyString_a-z-_____a-z-____0_2____"][] | null;
8860
+ /**
8861
+ * Actions Development Enabled
8862
+ * @description Whether to enable Actions development access for the user. If `null`, the preference is not modified.
8863
+ */
8864
+ actions_development_enabled?: boolean | null;
8936
8865
  };
8937
8866
  /** Request */
8938
8867
  webhook_destination__create_webhook_destination__Request: {
@@ -10094,6 +10023,13 @@ export interface operations {
10094
10023
  };
10095
10024
  content?: never;
10096
10025
  };
10026
+ /** @description A related operation is in progress. */
10027
+ 409: {
10028
+ headers: {
10029
+ [name: string]: unknown;
10030
+ };
10031
+ content?: never;
10032
+ };
10097
10033
  /** @description Invalid request path parameter or request body failed validation. */
10098
10034
  422: {
10099
10035
  headers: {
@@ -10345,78 +10281,6 @@ export interface operations {
10345
10281
  };
10346
10282
  };
10347
10283
  };
10348
- "get-organization-metrics": {
10349
- parameters: {
10350
- query?: never;
10351
- header?: {
10352
- /** @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. */
10353
- "x-mongo-cluster-name"?: string | null;
10354
- "Sec-WebSocket-Protocol"?: string[];
10355
- };
10356
- path: {
10357
- organization: string;
10358
- };
10359
- cookie?: never;
10360
- };
10361
- requestBody: {
10362
- content: {
10363
- "application/json": components["schemas"]["organization__get_organization_metrics__Request"];
10364
- };
10365
- };
10366
- responses: {
10367
- /** @description Succeeded. */
10368
- 200: {
10369
- headers: {
10370
- [name: string]: unknown;
10371
- };
10372
- content: {
10373
- "application/json": components["schemas"]["organization__get_organization_metrics__Response"];
10374
- };
10375
- };
10376
- /** @description Invalid authorization credentials. */
10377
- 401: {
10378
- headers: {
10379
- [name: string]: unknown;
10380
- };
10381
- content?: never;
10382
- };
10383
- /** @description Missing required permissions. */
10384
- 403: {
10385
- headers: {
10386
- [name: string]: unknown;
10387
- };
10388
- content?: never;
10389
- };
10390
- /** @description The specified organization does not exist. */
10391
- 404: {
10392
- headers: {
10393
- [name: string]: unknown;
10394
- };
10395
- content?: never;
10396
- };
10397
- /** @description Invalid request path parameter or request body failed validation. */
10398
- 422: {
10399
- headers: {
10400
- [name: string]: unknown;
10401
- };
10402
- content?: never;
10403
- };
10404
- /** @description The user has exceeded the rate limit of 5 requests per minute for this endpoint. */
10405
- 429: {
10406
- headers: {
10407
- [name: string]: unknown;
10408
- };
10409
- content?: never;
10410
- };
10411
- /** @description The service is going through temporary maintenance. */
10412
- 503: {
10413
- headers: {
10414
- [name: string]: unknown;
10415
- };
10416
- content?: never;
10417
- };
10418
- };
10419
- };
10420
10284
  "get-user-dimensions": {
10421
10285
  parameters: {
10422
10286
  query?: never;
@@ -10598,6 +10462,7 @@ export interface operations {
10598
10462
  * This error could be thrown due to the following reasons:
10599
10463
  * * The specified ID for agent or service hierarchical state machine versions in the `release` version set does not belong to the agent or service hierarchical state machine of the service.
10600
10464
  * * The specified agent or state machine doesn't have any versions.
10465
+ * * The specified LLM config is invalid.
10601
10466
  * */
10602
10467
  400: {
10603
10468
  headers: {
@@ -10668,7 +10533,7 @@ export interface operations {
10668
10533
  /** @description Identifier of the service. */
10669
10534
  service_id: string;
10670
10535
  /** @description Name of the version set to upsert. */
10671
- version_set_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
10536
+ version_set_name: components["schemas"]["StrippedNonemptyString__to_upper_None__to_lower_None__strict_None__min_length_None__max_length_None__pattern____A-Za-z0-9_-______MaxLen_max_length_40_"];
10672
10537
  organization: string;
10673
10538
  };
10674
10539
  cookie?: never;
@@ -10686,7 +10551,7 @@ export interface operations {
10686
10551
  };
10687
10552
  content?: never;
10688
10553
  };
10689
- /** @description The agent or service hierarchical state machine version in the request do not belong to the agent or state machine of the service, or attempted to update the `edge` version set. */
10554
+ /** @description The agent or service hierarchical state machine version in the request do not belong to the agent or state machine of the service, or attempted to update the `edge` version set, or the supplied LLM config is invalid. */
10690
10555
  400: {
10691
10556
  headers: {
10692
10557
  [name: string]: unknown;
@@ -10988,8 +10853,10 @@ export interface operations {
10988
10853
  response_format: "text" | "voice";
10989
10854
  /** @description A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`. */
10990
10855
  current_agent_action_type?: string;
10991
- /** @description The format of the audio response, if `response_format` is set to `voice`. */
10856
+ /** @deprecated */
10992
10857
  audio_format?: ("mp3" | "pcm") | null;
10858
+ /** @description The format of the audio response, if `response_format` is set to `voice`. */
10859
+ response_audio_format?: components["schemas"]["VoiceResponseAudioFormat"] | null;
10993
10860
  };
10994
10861
  header?: {
10995
10862
  /** @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. */
@@ -11019,7 +10886,7 @@ export interface operations {
11019
10886
  "application/x-ndjson": components["schemas"]["conversation__create_conversation__Response"];
11020
10887
  };
11021
10888
  };
11022
- /** @description Attempting to start a conversation when other unfinished conversations exist, or the preferred language does not support voice response, or the `audio_format` field is not set when voice output is requested. */
10889
+ /** @description Attempting to start a conversation when other unfinished conversations exist, or the preferred language does not support voice response, or the `response_audio_format` field is not set when voice output is requested. */
11023
10890
  400: {
11024
10891
  headers: {
11025
10892
  [name: string]: unknown;
@@ -11242,89 +11109,6 @@ export interface operations {
11242
11109
  };
11243
11110
  };
11244
11111
  };
11245
- recommend_responses_for_interaction_v1__organization__conversation__conversation_id__interaction__interaction_id__recommend_responses_get: {
11246
- parameters: {
11247
- query?: never;
11248
- header?: {
11249
- /** @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. */
11250
- "x-mongo-cluster-name"?: string | null;
11251
- "Sec-WebSocket-Protocol"?: string[];
11252
- };
11253
- path: {
11254
- /** @description The identifier of the conversation. */
11255
- conversation_id: string;
11256
- /** @description The identifier of the most recent interaction. */
11257
- interaction_id: string;
11258
- organization: string;
11259
- };
11260
- cookie?: never;
11261
- };
11262
- requestBody?: {
11263
- content: {
11264
- "application/json": components["schemas"]["conversation__recommend_responses_for_interaction__Request"];
11265
- };
11266
- };
11267
- responses: {
11268
- /** @description Succeeded. */
11269
- 200: {
11270
- headers: {
11271
- [name: string]: unknown;
11272
- };
11273
- content: {
11274
- "application/json": components["schemas"]["conversation__recommend_responses_for_interaction__Response"];
11275
- };
11276
- };
11277
- /** @description The conversation is finished, or the supplied interaction ID doesn't correspond to the latest, completed interaction. */
11278
- 400: {
11279
- headers: {
11280
- [name: string]: unknown;
11281
- };
11282
- content?: never;
11283
- };
11284
- /** @description Invalid authorization credentials. */
11285
- 401: {
11286
- headers: {
11287
- [name: string]: unknown;
11288
- };
11289
- content?: never;
11290
- };
11291
- /** @description Missing required permissions. */
11292
- 403: {
11293
- headers: {
11294
- [name: string]: unknown;
11295
- };
11296
- content?: never;
11297
- };
11298
- /** @description Specified organization or conversation is not found. */
11299
- 404: {
11300
- headers: {
11301
- [name: string]: unknown;
11302
- };
11303
- content?: never;
11304
- };
11305
- /** @description Invalid request path parameter failed validation. */
11306
- 422: {
11307
- headers: {
11308
- [name: string]: unknown;
11309
- };
11310
- content?: never;
11311
- };
11312
- /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
11313
- 429: {
11314
- headers: {
11315
- [name: string]: unknown;
11316
- };
11317
- content?: never;
11318
- };
11319
- /** @description The service is going through temporary maintenance. */
11320
- 503: {
11321
- headers: {
11322
- [name: string]: unknown;
11323
- };
11324
- content?: never;
11325
- };
11326
- };
11327
- };
11328
11112
  "recommend-responses-for-interaction": {
11329
11113
  parameters: {
11330
11114
  query?: never;
@@ -11491,8 +11275,10 @@ export interface operations {
11491
11275
  current_agent_action_type?: string;
11492
11276
  /** @description Configuration for the user message audio. This is only required if `request_format` is set to `voice`. */
11493
11277
  request_audio_config?: components["schemas"]["UserMessageAudioConfig"] | null;
11494
- /** @description The format of the audio response, if `response_format` is set to `voice`. */
11278
+ /** @deprecated */
11495
11279
  audio_format?: ("mp3" | "pcm") | null;
11280
+ /** @description The format of the audio response, if `response_format` is set to `voice`. */
11281
+ response_audio_format?: components["schemas"]["VoiceResponseAudioFormat"] | null;
11496
11282
  };
11497
11283
  header: {
11498
11284
  /** @description The content type of the request body, which must be `multipart/form-data` followed by a boundary. */
@@ -11508,117 +11294,86 @@ export interface operations {
11508
11294
  };
11509
11295
  cookie?: never;
11510
11296
  };
11511
- requestBody?: any;
11512
- responses: {
11513
- /** @description
11514
- * Succeeded. The response will be a stream of events in JSON format separated by newlines. The server will transmit an event as soon as one is available,
11515
- * so the client should respond to the events as soon as one arrives, and keep listening until the server closes the connection.
11516
- * */
11517
- 200: {
11518
- headers: {
11519
- [name: string]: unknown;
11520
- };
11521
- content: {
11522
- "application/x-ndjson": components["schemas"]["conversation__interact_with_conversation__Response"];
11523
- };
11524
- };
11525
- /** @description The user message is empty, or the preferred language does not support voice transcription or response, or the `audio_format` field is not set when voice output is requested, or the timestamps for external event messages are not in the past, or the timestamps for external event messages are inconsistent with the conversation. */
11526
- 400: {
11527
- headers: {
11528
- [name: string]: unknown;
11529
- };
11530
- content?: never;
11531
- };
11532
- /** @description Invalid authorization credentials. */
11533
- 401: {
11534
- headers: {
11535
- [name: string]: unknown;
11536
- };
11537
- content?: never;
11538
- };
11539
- /** @description Missing required permissions. */
11540
- 403: {
11541
- headers: {
11542
- [name: string]: unknown;
11543
- };
11544
- content?: never;
11545
- };
11546
- /** @description Specified organization or conversation is not found. */
11547
- 404: {
11548
- headers: {
11549
- [name: string]: unknown;
11550
- };
11551
- content?: never;
11552
- };
11553
- /** @description The specified conversation is already finished, or a related operation is in process. */
11554
- 409: {
11555
- headers: {
11556
- [name: string]: unknown;
11557
- };
11558
- content?: never;
11559
- };
11560
- /** @description The format of the supplied audio file is not supported. */
11561
- 415: {
11562
- headers: {
11563
- [name: string]: unknown;
11564
- };
11565
- content?: never;
11566
- };
11567
- /** @description Invalid request path parameter failed validation. */
11568
- 422: {
11569
- headers: {
11570
- [name: string]: unknown;
11571
- };
11572
- content?: never;
11573
- };
11574
- /** @description The user has exceeded the rate limit of 15 requests per minute for this endpoint. */
11575
- 429: {
11576
- headers: {
11577
- [name: string]: unknown;
11578
- };
11579
- content?: never;
11580
- };
11581
- /** @description The service is going through temporary maintenance. */
11582
- 503: {
11583
- headers: {
11584
- [name: string]: unknown;
11297
+ requestBody: {
11298
+ content: {
11299
+ "multipart/form-data": {
11300
+ /**
11301
+ * Initial Message Type
11302
+ * @constant
11303
+ */
11304
+ initial_message_type: "external-event";
11305
+ recorded_message: string;
11306
+ /**
11307
+ * External Event Message Contents
11308
+ * @description The contents of external event messages to be inserted before the initial message, in chronological order.
11309
+ * @default []
11310
+ */
11311
+ external_event_message_contents?: string[];
11312
+ /**
11313
+ * External Event Message Timestamps
11314
+ * @description The timestamps of external event messages to be inserted before the initial message, in chronological order.
11315
+ * @default []
11316
+ */
11317
+ external_event_message_timestamps?: string[];
11318
+ } | {
11319
+ /**
11320
+ * Initial Message Type
11321
+ * @constant
11322
+ */
11323
+ initial_message_type: "user-message";
11324
+ recorded_message: string;
11325
+ /**
11326
+ * External Event Message Contents
11327
+ * @description The contents of external event messages to be inserted before the initial message, in chronological order.
11328
+ * @default []
11329
+ */
11330
+ external_event_message_contents?: string[];
11331
+ /**
11332
+ * External Event Message Timestamps
11333
+ * @description The timestamps of external event messages to be inserted before the initial message, in chronological order.
11334
+ * @default []
11335
+ */
11336
+ external_event_message_timestamps?: string[];
11337
+ } | {
11338
+ /**
11339
+ * Initial Message Type
11340
+ * @constant
11341
+ */
11342
+ initial_message_type: "skip";
11343
+ /**
11344
+ * Recorded Message
11345
+ * @description The body of the initial message, which must be empty.
11346
+ */
11347
+ recorded_message: string;
11348
+ /**
11349
+ * External Event Message Contents
11350
+ * @description Must be empty, as external event messages cannot be sent with skips.
11351
+ * @default []
11352
+ */
11353
+ external_event_message_contents?: string[];
11354
+ /**
11355
+ * External Event Message Timestamps
11356
+ * @description Must be empty, as external event messages cannot be sent with skips.
11357
+ * @default []
11358
+ */
11359
+ external_event_message_timestamps?: string[];
11585
11360
  };
11586
- content?: never;
11587
- };
11588
- };
11589
- };
11590
- "retrieve-message-source": {
11591
- parameters: {
11592
- query?: {
11593
- /** @description Whether to generate a long-lived URL which lasts 12 hours. For security purposes, it's recommended to set this to false as much as possible. */
11594
- long_lived?: boolean;
11595
- };
11596
- header?: {
11597
- /** @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. */
11598
- "x-mongo-cluster-name"?: string | null;
11599
- "Sec-WebSocket-Protocol"?: string[];
11600
- };
11601
- path: {
11602
- organization: string;
11603
- /** @description The identifier of the conversation. */
11604
- conversation_id: string;
11605
- /** @description The identifier of the message. */
11606
- message_id: string;
11607
11361
  };
11608
- cookie?: never;
11609
11362
  };
11610
- requestBody?: never;
11611
11363
  responses: {
11612
- /** @description Succeeded. */
11364
+ /** @description
11365
+ * Succeeded. The response will be a stream of events in JSON format separated by newlines. The server will transmit an event as soon as one is available,
11366
+ * so the client should respond to the events as soon as one arrives, and keep listening until the server closes the connection.
11367
+ * */
11613
11368
  200: {
11614
11369
  headers: {
11615
11370
  [name: string]: unknown;
11616
11371
  };
11617
11372
  content: {
11618
- "application/json": unknown;
11373
+ "application/x-ndjson": components["schemas"]["conversation__interact_with_conversation__Response"];
11619
11374
  };
11620
11375
  };
11621
- /** @description The message is a text message. */
11376
+ /** @description The user message is empty, or the preferred language does not support voice transcription or response, or the `response_audio_format` field is not set when voice output is requested, or the timestamps for external event messages are not in the past, or the timestamps for external event messages are inconsistent with the conversation. */
11622
11377
  400: {
11623
11378
  headers: {
11624
11379
  [name: string]: unknown;
@@ -11639,21 +11394,35 @@ export interface operations {
11639
11394
  };
11640
11395
  content?: never;
11641
11396
  };
11642
- /** @description Specified organization or message is not found. */
11397
+ /** @description Specified organization or conversation is not found. */
11643
11398
  404: {
11644
11399
  headers: {
11645
11400
  [name: string]: unknown;
11646
11401
  };
11647
11402
  content?: never;
11648
11403
  };
11649
- /** @description Invalid request path parameter failed validation. */
11404
+ /** @description The specified conversation is already finished, or a related operation is in process. */
11405
+ 409: {
11406
+ headers: {
11407
+ [name: string]: unknown;
11408
+ };
11409
+ content?: never;
11410
+ };
11411
+ /** @description The format of the supplied audio file is not supported. */
11412
+ 415: {
11413
+ headers: {
11414
+ [name: string]: unknown;
11415
+ };
11416
+ content?: never;
11417
+ };
11418
+ /** @description Invalid request path parameter or request body failed validation. */
11650
11419
  422: {
11651
11420
  headers: {
11652
11421
  [name: string]: unknown;
11653
11422
  };
11654
11423
  content?: never;
11655
11424
  };
11656
- /** @description The user has exceeded the rate limit of 30 request per minute for this endpoint. */
11425
+ /** @description The user has exceeded the rate limit of 15 requests per minute for this endpoint. */
11657
11426
  429: {
11658
11427
  headers: {
11659
11428
  [name: string]: unknown;
@@ -11669,9 +11438,12 @@ export interface operations {
11669
11438
  };
11670
11439
  };
11671
11440
  };
11672
- "generate-conversation-starter": {
11441
+ "retrieve-message-source": {
11673
11442
  parameters: {
11674
- query?: never;
11443
+ query?: {
11444
+ /** @description Whether to generate a long-lived URL which lasts 12 hours. For security purposes, it's recommended to set this to false as much as possible. */
11445
+ long_lived?: boolean;
11446
+ };
11675
11447
  header?: {
11676
11448
  /** @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. */
11677
11449
  "x-mongo-cluster-name"?: string | null;
@@ -11679,14 +11451,14 @@ export interface operations {
11679
11451
  };
11680
11452
  path: {
11681
11453
  organization: string;
11454
+ /** @description The identifier of the conversation. */
11455
+ conversation_id: string;
11456
+ /** @description The identifier of the message. */
11457
+ message_id: string;
11682
11458
  };
11683
11459
  cookie?: never;
11684
11460
  };
11685
- requestBody: {
11686
- content: {
11687
- "application/json": components["schemas"]["conversation__generate_conversation_starter__Request"];
11688
- };
11689
- };
11461
+ requestBody?: any;
11690
11462
  responses: {
11691
11463
  /** @description Succeeded. */
11692
11464
  200: {
@@ -11694,8 +11466,15 @@ export interface operations {
11694
11466
  [name: string]: unknown;
11695
11467
  };
11696
11468
  content: {
11697
- "application/json": components["schemas"]["conversation__generate_conversation_starter__Response"];
11469
+ "application/json": unknown;
11470
+ };
11471
+ };
11472
+ /** @description The message is a text message. */
11473
+ 400: {
11474
+ headers: {
11475
+ [name: string]: unknown;
11698
11476
  };
11477
+ content?: never;
11699
11478
  };
11700
11479
  /** @description Invalid authorization credentials. */
11701
11480
  401: {
@@ -11711,21 +11490,21 @@ export interface operations {
11711
11490
  };
11712
11491
  content?: never;
11713
11492
  };
11714
- /** @description Service not found. */
11493
+ /** @description Specified organization or message is not found. */
11715
11494
  404: {
11716
11495
  headers: {
11717
11496
  [name: string]: unknown;
11718
11497
  };
11719
11498
  content?: never;
11720
11499
  };
11721
- /** @description Invalid request path parameter or request body failed validation. */
11500
+ /** @description Invalid request path parameter failed validation. */
11722
11501
  422: {
11723
11502
  headers: {
11724
11503
  [name: string]: unknown;
11725
11504
  };
11726
11505
  content?: never;
11727
11506
  };
11728
- /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
11507
+ /** @description The user has exceeded the rate limit of 30 request per minute for this endpoint. */
11729
11508
  429: {
11730
11509
  headers: {
11731
11510
  [name: string]: unknown;
@@ -11741,7 +11520,7 @@ export interface operations {
11741
11520
  };
11742
11521
  };
11743
11522
  };
11744
- "create-invited-user-deprecated": {
11523
+ "generate-conversation-starter": {
11745
11524
  parameters: {
11746
11525
  query?: never;
11747
11526
  header?: {
@@ -11756,17 +11535,17 @@ export interface operations {
11756
11535
  };
11757
11536
  requestBody: {
11758
11537
  content: {
11759
- "application/json": components["schemas"]["user__create_invited_user__Request"];
11538
+ "application/json": components["schemas"]["conversation__generate_conversation_starter__Request"];
11760
11539
  };
11761
11540
  };
11762
11541
  responses: {
11763
- /** @description Succeeded */
11764
- 201: {
11542
+ /** @description Succeeded. */
11543
+ 200: {
11765
11544
  headers: {
11766
11545
  [name: string]: unknown;
11767
11546
  };
11768
11547
  content: {
11769
- "application/json": components["schemas"]["user__create_invited_user__Response"];
11548
+ "application/json": components["schemas"]["conversation__generate_conversation_starter__Response"];
11770
11549
  };
11771
11550
  };
11772
11551
  /** @description Invalid authorization credentials. */
@@ -11783,20 +11562,13 @@ export interface operations {
11783
11562
  };
11784
11563
  content?: never;
11785
11564
  };
11786
- /** @description Specified organization or role is not found. */
11565
+ /** @description Service not found. */
11787
11566
  404: {
11788
11567
  headers: {
11789
11568
  [name: string]: unknown;
11790
11569
  };
11791
11570
  content?: never;
11792
11571
  };
11793
- /** @description User with the same email already exists in this organization, or a related operation is in progress. */
11794
- 409: {
11795
- headers: {
11796
- [name: string]: unknown;
11797
- };
11798
- content?: never;
11799
- };
11800
11572
  /** @description Invalid request path parameter or request body failed validation. */
11801
11573
  422: {
11802
11574
  headers: {
@@ -11804,7 +11576,7 @@ export interface operations {
11804
11576
  };
11805
11577
  content?: never;
11806
11578
  };
11807
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
11579
+ /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
11808
11580
  429: {
11809
11581
  headers: {
11810
11582
  [name: string]: unknown;
@@ -11982,8 +11754,11 @@ export interface operations {
11982
11754
  parameters: {
11983
11755
  query?: never;
11984
11756
  header: {
11757
+ /** @description The value of the API key. */
11985
11758
  "x-api-key": string;
11759
+ /** @description The ID of the API key. */
11986
11760
  "x-api-key-id": string;
11761
+ /** @description The ID of the user to sign in as. */
11987
11762
  "x-user-id": string;
11988
11763
  /** @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. */
11989
11764
  "x-mongo-cluster-name"?: string | null;
@@ -12067,10 +11842,10 @@ export interface operations {
12067
11842
  [name: string]: unknown;
12068
11843
  };
12069
11844
  content: {
12070
- "application/json": components["schemas"]["user__sign_in_with_email__Response"];
11845
+ "application/json": unknown;
12071
11846
  };
12072
11847
  };
12073
- /** @description Specified organization or user is not found. */
11848
+ /** @description Specified organization is not found. */
12074
11849
  404: {
12075
11850
  headers: {
12076
11851
  [name: string]: unknown;
@@ -12093,7 +11868,7 @@ export interface operations {
12093
11868
  };
12094
11869
  };
12095
11870
  };
12096
- "update-user-info-deprecated": {
11871
+ "update-user-info": {
12097
11872
  parameters: {
12098
11873
  query?: never;
12099
11874
  header?: {
@@ -12172,7 +11947,7 @@ export interface operations {
12172
11947
  };
12173
11948
  };
12174
11949
  };
12175
- "update-user-info": {
11950
+ "delete-user": {
12176
11951
  parameters: {
12177
11952
  query?: never;
12178
11953
  header?: {
@@ -12181,17 +11956,13 @@ export interface operations {
12181
11956
  "Sec-WebSocket-Protocol"?: string[];
12182
11957
  };
12183
11958
  path: {
12184
- /** @description The identifier of the user to update information for. */
11959
+ /** @description The identifier of the user to delete. */
12185
11960
  requested_user_id: string;
12186
11961
  organization: string;
12187
11962
  };
12188
11963
  cookie?: never;
12189
11964
  };
12190
- requestBody: {
12191
- content: {
12192
- "application/json": components["schemas"]["user__update_user_info__Request"];
12193
- };
12194
- };
11965
+ requestBody?: never;
12195
11966
  responses: {
12196
11967
  /** @description Succeeded. */
12197
11968
  204: {
@@ -12200,76 +11971,8 @@ export interface operations {
12200
11971
  };
12201
11972
  content?: never;
12202
11973
  };
12203
- /** @description Invalid authorization credentials. */
12204
- 401: {
12205
- headers: {
12206
- [name: string]: unknown;
12207
- };
12208
- content?: never;
12209
- };
12210
- /** @description Missing required permissions. */
12211
- 403: {
12212
- headers: {
12213
- [name: string]: unknown;
12214
- };
12215
- content?: never;
12216
- };
12217
- /** @description Specified organization or user is not found. */
12218
- 404: {
12219
- headers: {
12220
- [name: string]: unknown;
12221
- };
12222
- content?: never;
12223
- };
12224
- /** @description A related operation is in progress. */
12225
- 409: {
12226
- headers: {
12227
- [name: string]: unknown;
12228
- };
12229
- content?: never;
12230
- };
12231
- /** @description Invalid request path parameter or request body failed validation. */
12232
- 422: {
12233
- headers: {
12234
- [name: string]: unknown;
12235
- };
12236
- content?: never;
12237
- };
12238
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
12239
- 429: {
12240
- headers: {
12241
- [name: string]: unknown;
12242
- };
12243
- content?: never;
12244
- };
12245
- /** @description The service is going through temporary maintenance. */
12246
- 503: {
12247
- headers: {
12248
- [name: string]: unknown;
12249
- };
12250
- content?: never;
12251
- };
12252
- };
12253
- };
12254
- "delete-user": {
12255
- parameters: {
12256
- query?: never;
12257
- header?: {
12258
- /** @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. */
12259
- "x-mongo-cluster-name"?: string | null;
12260
- "Sec-WebSocket-Protocol"?: string[];
12261
- };
12262
- path: {
12263
- /** @description The identifier of the user to delete. */
12264
- requested_user_id: string;
12265
- organization: string;
12266
- };
12267
- cookie?: never;
12268
- };
12269
- requestBody?: never;
12270
- responses: {
12271
- /** @description Succeeded. */
12272
- 204: {
11974
+ /** @description The user is currently active in Actions development. */
11975
+ 400: {
12273
11976
  headers: {
12274
11977
  [name: string]: unknown;
12275
11978
  };
@@ -13016,6 +12719,67 @@ export interface operations {
13016
12719
  };
13017
12720
  };
13018
12721
  };
12722
+ "get-models": {
12723
+ parameters: {
12724
+ query?: never;
12725
+ header?: {
12726
+ /** @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. */
12727
+ "x-mongo-cluster-name"?: string | null;
12728
+ "Sec-WebSocket-Protocol"?: string[];
12729
+ };
12730
+ path: {
12731
+ organization: string;
12732
+ };
12733
+ cookie?: never;
12734
+ };
12735
+ requestBody?: never;
12736
+ responses: {
12737
+ /** @description Succeeded. */
12738
+ 200: {
12739
+ headers: {
12740
+ [name: string]: unknown;
12741
+ };
12742
+ content: {
12743
+ "application/json": components["schemas"]["admin__get_models__Response"];
12744
+ };
12745
+ };
12746
+ /** @description Invalid authorization credentials. */
12747
+ 401: {
12748
+ headers: {
12749
+ [name: string]: unknown;
12750
+ };
12751
+ content?: never;
12752
+ };
12753
+ /** @description Missing required permissions. */
12754
+ 403: {
12755
+ headers: {
12756
+ [name: string]: unknown;
12757
+ };
12758
+ content?: never;
12759
+ };
12760
+ /** @description Invalid request path parameter failed validation. */
12761
+ 422: {
12762
+ headers: {
12763
+ [name: string]: unknown;
12764
+ };
12765
+ content?: never;
12766
+ };
12767
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
12768
+ 429: {
12769
+ headers: {
12770
+ [name: string]: unknown;
12771
+ };
12772
+ content?: never;
12773
+ };
12774
+ /** @description The service is going through temporary maintenance. */
12775
+ 503: {
12776
+ headers: {
12777
+ [name: string]: unknown;
12778
+ };
12779
+ content?: never;
12780
+ };
12781
+ };
12782
+ };
13019
12783
  get_webhook_destinations: {
13020
12784
  parameters: {
13021
12785
  query?: {
@@ -13143,6 +12907,13 @@ export interface operations {
13143
12907
  };
13144
12908
  content?: never;
13145
12909
  };
12910
+ /** @description A related operation is in progress. */
12911
+ 409: {
12912
+ headers: {
12913
+ [name: string]: unknown;
12914
+ };
12915
+ content?: never;
12916
+ };
13146
12917
  /** @description Invalid request path parameter or request body failed validation. */
13147
12918
  422: {
13148
12919
  headers: {
@@ -13215,6 +12986,13 @@ export interface operations {
13215
12986
  };
13216
12987
  content?: never;
13217
12988
  };
12989
+ /** @description A related operation is in progress. */
12990
+ 409: {
12991
+ headers: {
12992
+ [name: string]: unknown;
12993
+ };
12994
+ content?: never;
12995
+ };
13218
12996
  /** @description Invalid request path parameter or request body failed validation. */
13219
12997
  422: {
13220
12998
  headers: {
@@ -13283,6 +13061,13 @@ export interface operations {
13283
13061
  };
13284
13062
  content?: never;
13285
13063
  };
13064
+ /** @description A related operation is in progress. */
13065
+ 409: {
13066
+ headers: {
13067
+ [name: string]: unknown;
13068
+ };
13069
+ content?: never;
13070
+ };
13286
13071
  /** @description Invalid request path parameter failed validation. */
13287
13072
  422: {
13288
13073
  headers: {
@@ -13360,6 +13145,13 @@ export interface operations {
13360
13145
  };
13361
13146
  content?: never;
13362
13147
  };
13148
+ /** @description A related operation is in progress. */
13149
+ 409: {
13150
+ headers: {
13151
+ [name: string]: unknown;
13152
+ };
13153
+ content?: never;
13154
+ };
13363
13155
  /** @description Invalid request path parameter failed validation. */
13364
13156
  422: {
13365
13157
  headers: {
@@ -13595,7 +13387,7 @@ export interface operations {
13595
13387
  };
13596
13388
  content?: never;
13597
13389
  };
13598
- /** @description The specified organization or service does not exist. */
13390
+ /** @description The specified organization, service, or tool does not exist. */
13599
13391
  404: {
13600
13392
  headers: {
13601
13393
  [name: string]: unknown;
@@ -13917,7 +13709,7 @@ export interface operations {
13917
13709
  };
13918
13710
  content?: never;
13919
13711
  };
13920
- /** @description The specified organization or dynamic behavior set does not exist. */
13712
+ /** @description The specified organization, dynamic behavior set, or tool does not exist. */
13921
13713
  404: {
13922
13714
  headers: {
13923
13715
  [name: string]: unknown;
@@ -16999,6 +16791,13 @@ export interface operations {
16999
16791
  "application/json": components["schemas"]["tool__create_tool__Response"];
17000
16792
  };
17001
16793
  };
16794
+ /** @description The tool name is too long. */
16795
+ 400: {
16796
+ headers: {
16797
+ [name: string]: unknown;
16798
+ };
16799
+ content?: never;
16800
+ };
17002
16801
  /** @description Invalid authorization credentials. */
17003
16802
  401: {
17004
16803
  headers: {
@@ -17300,6 +17099,7 @@ export interface operations {
17300
17099
  * * The specified tool commit failed CI checks.
17301
17100
  * * Required environment variables in the tool are not declared in the reqeust.
17302
17101
  * * Input parameters do not conform to the tool's input schema.
17102
+ * * Tool build failed.
17303
17103
  * */
17304
17104
  400: {
17305
17105
  headers: {
@@ -17550,7 +17350,7 @@ export interface operations {
17550
17350
  "application/json": components["schemas"]["tool__publish_tool_version__Response"];
17551
17351
  };
17552
17352
  };
17553
- /** @description Specified commit is older than the last valid commit, or the environment variables required by the tool version do not exist on the tool, or more than 10 active versions of the tool exist. */
17353
+ /** @description Specified commit is older than the last valid commit, or the environment variables required by the tool version do not exist on the tool, or more than 3 active versions of the tool exist, or tool build has failed. */
17554
17354
  400: {
17555
17355
  headers: {
17556
17356
  [name: string]: unknown;