@amigo-ai/sdk 0.67.0 → 0.69.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.
@@ -5474,23 +5474,6 @@ export interface components {
5474
5474
  [key: string]: components["schemas"]["amigo_lib__llm__llm_base__LLMConfig"];
5475
5475
  };
5476
5476
  };
5477
- VoiceResponseAudioFormat: components["schemas"]["VoiceResponsePCMAudioFormat"] | components["schemas"]["VoiceResponseMP3AudioFormat"];
5478
- /** VoiceResponseMP3AudioFormat */
5479
- VoiceResponseMP3AudioFormat: {
5480
- /**
5481
- * @description discriminator enum property added by openapi-typescript
5482
- * @enum {string}
5483
- */
5484
- type: "mp3";
5485
- };
5486
- /** VoiceResponsePCMAudioFormat */
5487
- VoiceResponsePCMAudioFormat: {
5488
- /**
5489
- * @description discriminator enum property added by openapi-typescript
5490
- * @enum {string}
5491
- */
5492
- type: "pcm";
5493
- };
5494
5477
  /** WebhookDeliveryInstance */
5495
5478
  WebhookDeliveryInstance: {
5496
5479
  /**
@@ -6436,7 +6419,7 @@ export interface components {
6436
6419
  * Dynamic Behavior Sets
6437
6420
  * @description The retrieved dynamic behavior sets.
6438
6421
  */
6439
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6422
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6440
6423
  /**
6441
6424
  * Has More
6442
6425
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6453,8 +6436,34 @@ export interface components {
6453
6436
  * retrieved. */
6454
6437
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6455
6438
  };
6439
+ /** FilterValues */
6440
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6441
+ /**
6442
+ * Applied To Services Ids
6443
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6444
+ */
6445
+ applied_to_services_ids: string[];
6446
+ /**
6447
+ * Creators
6448
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6449
+ */
6450
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6451
+ /**
6452
+ * Tags
6453
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6454
+ */
6455
+ tags: string[];
6456
+ };
6457
+ /** Response */
6458
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6459
+ /**
6460
+ * Dynamic Behavior Sets
6461
+ * @description The retrieved dynamic behavior sets.
6462
+ */
6463
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6464
+ };
6456
6465
  /** DynamicBehaviorSetInstance */
6457
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6466
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6458
6467
  /** Id */
6459
6468
  id: string;
6460
6469
  /** Name */
@@ -6480,32 +6489,6 @@ export interface components {
6480
6489
  updated_at: string;
6481
6490
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6482
6491
  };
6483
- /** FilterValues */
6484
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6485
- /**
6486
- * Applied To Services Ids
6487
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6488
- */
6489
- applied_to_services_ids: string[];
6490
- /**
6491
- * Creators
6492
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6493
- */
6494
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6495
- /**
6496
- * Tags
6497
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6498
- */
6499
- tags: string[];
6500
- };
6501
- /** Response */
6502
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6503
- /**
6504
- * Dynamic Behavior Sets
6505
- * @description The retrieved dynamic behavior sets.
6506
- */
6507
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6508
- };
6509
6492
  /** Request */
6510
6493
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6511
6494
  /** @description The name of the dynamic behavior set. */
@@ -6830,7 +6813,7 @@ export interface components {
6830
6813
  * User Dimensions
6831
6814
  * @description User dimensions for the organization.
6832
6815
  */
6833
- user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6816
+ user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
6834
6817
  /**
6835
6818
  * Logo
6836
6819
  * Format: base64
@@ -6907,12 +6890,6 @@ export interface components {
6907
6890
  */
6908
6891
  audio_keyterms?: string[];
6909
6892
  };
6910
- /** UserDimension */
6911
- organization__create_organization__Request__UserDimension: {
6912
- description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6913
- /** Tags */
6914
- tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6915
- };
6916
6893
  /** Response */
6917
6894
  organization__create_organization__Response: {
6918
6895
  /**
@@ -7279,7 +7256,7 @@ export interface components {
7279
7256
  * User Dimensions
7280
7257
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7281
7258
  */
7282
- user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7259
+ user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7283
7260
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7284
7261
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7285
7262
  /**
@@ -7319,6 +7296,12 @@ export interface components {
7319
7296
  */
7320
7297
  audio_keyterms?: string[];
7321
7298
  };
7299
+ /** UserDimension */
7300
+ organization__modify_organization__Request__UserDimension: {
7301
+ description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7302
+ /** Tags */
7303
+ tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7304
+ };
7322
7305
  /** Request */
7323
7306
  role__assign_role__Request: {
7324
7307
  /**
@@ -7345,10 +7328,29 @@ export interface components {
7345
7328
  * Permission Grants
7346
7329
  * @description A list of permission grants associated with this role.
7347
7330
  */
7348
- permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7331
+ permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7349
7332
  /** @description The frontend view for users of this role. */
7350
7333
  frontend_view: components["schemas"]["FrontendView"];
7351
7334
  };
7335
+ /** PermissionGrant */
7336
+ role__create_role__Request__PermissionGrant: {
7337
+ /**
7338
+ * Action
7339
+ * @description Whether this grant allows or denies the specified access.
7340
+ * @enum {string}
7341
+ */
7342
+ action: "Allow" | "Deny";
7343
+ /** Permission Name */
7344
+ permission_name: string;
7345
+ /**
7346
+ * Conditions
7347
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7348
+ */
7349
+ conditions: {
7350
+ [key: string]: components["schemas"]["Condition"];
7351
+ };
7352
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7353
+ };
7352
7354
  /** Response */
7353
7355
  role__create_role__Response: {
7354
7356
  /**
@@ -7373,29 +7375,10 @@ export interface components {
7373
7375
  * Permission Grants
7374
7376
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7375
7377
  */
7376
- permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7378
+ permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7377
7379
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7378
7380
  frontend_view?: components["schemas"]["FrontendView"] | null;
7379
7381
  };
7380
- /** PermissionGrant */
7381
- role__modify_role__Request__PermissionGrant: {
7382
- /**
7383
- * Action
7384
- * @description Whether this grant allows or denies the specified access.
7385
- * @enum {string}
7386
- */
7387
- action: "Allow" | "Deny";
7388
- /** Permission Name */
7389
- permission_name: string;
7390
- /**
7391
- * Conditions
7392
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7393
- */
7394
- conditions: {
7395
- [key: string]: components["schemas"]["Condition"];
7396
- };
7397
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7398
- };
7399
7382
  /** Response */
7400
7383
  role__modify_role__Response: {
7401
7384
  /**
@@ -7427,7 +7410,7 @@ export interface components {
7427
7410
  is_active: boolean;
7428
7411
  /** @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
7429
7412
  * latest agent and state machine versions with no model preference. */
7430
- release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7413
+ release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7431
7414
  /**
7432
7415
  * Keyterms
7433
7416
  * @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.
@@ -7442,21 +7425,16 @@ export interface components {
7442
7425
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7443
7426
  };
7444
7427
  };
7445
- /** VersionSet */
7446
- service__create_service__Request__VersionSet: {
7447
- /**
7448
- * Agent Version Number
7449
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7450
- */
7451
- agent_version_number: number | null;
7428
+ /** LLMConfig */
7429
+ service__create_service__Request__VersionSet__LLMConfig: {
7430
+ llm_name: components["schemas"]["LLMType"];
7452
7431
  /**
7453
- * Service Hierarchical State Machine Version Number
7454
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7432
+ * Params
7433
+ * @description LLM-specific parameters to use.
7434
+ * @default {}
7455
7435
  */
7456
- service_hierarchical_state_machine_version_number: number | null;
7457
- /** Llm Model Preferences */
7458
- llm_model_preferences: {
7459
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7436
+ params?: {
7437
+ [key: string]: unknown;
7460
7438
  };
7461
7439
  };
7462
7440
  /** Response */
@@ -7539,18 +7517,23 @@ export interface components {
7539
7517
  /** Request */
7540
7518
  service__upsert_service_version_set__Request: {
7541
7519
  /** @description The version set to upsert. */
7542
- version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7520
+ version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7543
7521
  };
7544
- /** LLMConfig */
7545
- service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7546
- llm_name: components["schemas"]["LLMType"];
7522
+ /** VersionSet */
7523
+ service__upsert_service_version_set__Request__VersionSet: {
7547
7524
  /**
7548
- * Params
7549
- * @description LLM-specific parameters to use.
7550
- * @default {}
7525
+ * Agent Version Number
7526
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7551
7527
  */
7552
- params?: {
7553
- [key: string]: unknown;
7528
+ agent_version_number: number | null;
7529
+ /**
7530
+ * Service Hierarchical State Machine Version Number
7531
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7532
+ */
7533
+ service_hierarchical_state_machine_version_number: number | null;
7534
+ /** Llm Model Preferences */
7535
+ llm_model_preferences: {
7536
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7554
7537
  };
7555
7538
  };
7556
7539
  /** Request */
@@ -7756,7 +7739,7 @@ export interface components {
7756
7739
  * Unit Test Runs
7757
7740
  * @description The unit test runs that are part of this set.
7758
7741
  */
7759
- unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7742
+ unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7760
7743
  /**
7761
7744
  * Tags
7762
7745
  * @description The tags of the simulation unit test set.
@@ -7765,16 +7748,6 @@ export interface components {
7765
7748
  [key: string]: string | null;
7766
7749
  };
7767
7750
  };
7768
- /** UnitTestRunDescriptor */
7769
- simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7770
- /** Unit Test Id */
7771
- unit_test_id: string;
7772
- /**
7773
- * Run Count
7774
- * @description The number of times to run the unit test.
7775
- */
7776
- run_count: number;
7777
- };
7778
7751
  /** Response */
7779
7752
  simulation__create_simulation_unit_test_set__Response: {
7780
7753
  /**
@@ -7882,7 +7855,7 @@ export interface components {
7882
7855
  * Simulation Scenarios
7883
7856
  * @description The list of simulation scenarios.
7884
7857
  */
7885
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7858
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7886
7859
  /**
7887
7860
  * Has More
7888
7861
  * @description Whether there are more simulation scenarios to fetch.
@@ -7912,47 +7885,6 @@ export interface components {
7912
7885
  */
7913
7886
  tags: string[];
7914
7887
  };
7915
- /** SimulationScenarioInstance */
7916
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7917
- /**
7918
- * Id
7919
- * @description The ID of the simulation scenario.
7920
- */
7921
- id: string;
7922
- /**
7923
- * Name
7924
- * @description The name of the simulation scenario.
7925
- */
7926
- name: string;
7927
- /**
7928
- * Tags
7929
- * @description The tags of the simulation scenario.
7930
- */
7931
- tags: {
7932
- [key: string]: string | null;
7933
- };
7934
- /**
7935
- * Is Deleted
7936
- * @description Whether the simulation scenario is deleted.
7937
- */
7938
- is_deleted: boolean;
7939
- /**
7940
- * Created At
7941
- * Format: date-time
7942
- * @description The timestamp when the simulation scenario was created.
7943
- */
7944
- created_at: string;
7945
- /** @description The user who created the simulation scenario. */
7946
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7947
- /**
7948
- * Updated At
7949
- * Format: date-time
7950
- * @description The timestamp when the simulation scenario was last updated.
7951
- */
7952
- updated_at: string;
7953
- /** @description The user who last updated the simulation scenario. */
7954
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7955
- };
7956
7888
  /** Response */
7957
7889
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
7958
7890
  /**
@@ -8165,7 +8097,48 @@ export interface components {
8165
8097
  * Simulation Scenarios
8166
8098
  * @description The list of simulation scenarios.
8167
8099
  */
8168
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8100
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8101
+ };
8102
+ /** SimulationScenarioInstance */
8103
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8104
+ /**
8105
+ * Id
8106
+ * @description The ID of the simulation scenario.
8107
+ */
8108
+ id: string;
8109
+ /**
8110
+ * Name
8111
+ * @description The name of the simulation scenario.
8112
+ */
8113
+ name: string;
8114
+ /**
8115
+ * Tags
8116
+ * @description The tags of the simulation scenario.
8117
+ */
8118
+ tags: {
8119
+ [key: string]: string | null;
8120
+ };
8121
+ /**
8122
+ * Is Deleted
8123
+ * @description Whether the simulation scenario is deleted.
8124
+ */
8125
+ is_deleted: boolean;
8126
+ /**
8127
+ * Created At
8128
+ * Format: date-time
8129
+ * @description The timestamp when the simulation scenario was created.
8130
+ */
8131
+ created_at: string;
8132
+ /** @description The user who created the simulation scenario. */
8133
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8134
+ /**
8135
+ * Updated At
8136
+ * Format: date-time
8137
+ * @description The timestamp when the simulation scenario was last updated.
8138
+ */
8139
+ updated_at: string;
8140
+ /** @description The user who last updated the simulation scenario. */
8141
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8169
8142
  };
8170
8143
  /** Response */
8171
8144
  simulation__search_simulation_unit_test_set__Response: {
@@ -8271,7 +8244,7 @@ export interface components {
8271
8244
  * Unit Test Runs
8272
8245
  * @description The unit test runs that are part of this set.
8273
8246
  */
8274
- unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8247
+ unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8275
8248
  /**
8276
8249
  * Tags
8277
8250
  * @description The tags of the simulation unit test set.
@@ -8280,6 +8253,16 @@ export interface components {
8280
8253
  [key: string]: string | null;
8281
8254
  } | null;
8282
8255
  };
8256
+ /** UnitTestRunDescriptor */
8257
+ simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8258
+ /** Unit Test Id */
8259
+ unit_test_id: string;
8260
+ /**
8261
+ * Run Count
8262
+ * @description The number of times to run the unit test.
8263
+ */
8264
+ run_count: number;
8265
+ };
8283
8266
  /** Request */
8284
8267
  tool__create_tool__Request: {
8285
8268
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8388,23 +8371,7 @@ export interface components {
8388
8371
  * Inputs
8389
8372
  * @description The list of inputs for the tool invocation.
8390
8373
  */
8391
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8392
- };
8393
- /** Input */
8394
- tool__invoke_tool_version__Request__Input: {
8395
- /**
8396
- * Input Parameters
8397
- * @description The input parameters for the tool invocation.
8398
- */
8399
- input_parameters: {
8400
- [key: string]: unknown;
8401
- };
8402
- /**
8403
- * Invocation Mode
8404
- * @description The mode of invocation.
8405
- * @enum {string}
8406
- */
8407
- invocation_mode: "regular" | "conversation-simulation";
8374
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8408
8375
  };
8409
8376
  /** Response */
8410
8377
  tool__invoke_tool_version__Response: {
@@ -8525,7 +8492,7 @@ export interface components {
8525
8492
  * Inputs
8526
8493
  * @description The list of inputs for the tool invocation.
8527
8494
  */
8528
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8495
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8529
8496
  /**
8530
8497
  * Commit Branch
8531
8498
  * @description The branch in the tools repo whose tip will be tested.
@@ -8551,6 +8518,22 @@ export interface components {
8551
8518
  [key: string]: string;
8552
8519
  };
8553
8520
  };
8521
+ /** Input */
8522
+ tool__test_tool__Request__Input: {
8523
+ /**
8524
+ * Input Parameters
8525
+ * @description The input parameters for the tool invocation.
8526
+ */
8527
+ input_parameters: {
8528
+ [key: string]: unknown;
8529
+ };
8530
+ /**
8531
+ * Invocation Mode
8532
+ * @description The mode of invocation.
8533
+ * @enum {string}
8534
+ */
8535
+ invocation_mode: "regular" | "conversation-simulation";
8536
+ };
8554
8537
  /** Response */
8555
8538
  tool__test_tool__Response: {
8556
8539
  /** Invocation Results */
@@ -8663,7 +8646,7 @@ export interface components {
8663
8646
  * Users
8664
8647
  * @description Users in this organization.
8665
8648
  */
8666
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8649
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8667
8650
  /**
8668
8651
  * Has More
8669
8652
  * @description Whether there are more users to retrieve.
@@ -8675,8 +8658,34 @@ export interface components {
8675
8658
  */
8676
8659
  continuation_token: number | null;
8677
8660
  };
8661
+ /** UserStats */
8662
+ user__get_users__Response__UserInstance__UserStats: {
8663
+ /**
8664
+ * Num Conversations
8665
+ * @description The number of conversations the user has created.
8666
+ */
8667
+ num_conversations: number;
8668
+ /**
8669
+ * Num Messages
8670
+ * @description The number of messages the user has sent and received.
8671
+ */
8672
+ num_messages: number;
8673
+ /**
8674
+ * Last Message Time
8675
+ * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8676
+ */
8677
+ last_message_time: string | null;
8678
+ };
8679
+ /** Response */
8680
+ user__search_users__Response: {
8681
+ /**
8682
+ * Users
8683
+ * @description Users in this organization.
8684
+ */
8685
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8686
+ };
8678
8687
  /** UserInstance */
8679
- user__get_users__Response__UserInstance: {
8688
+ user__search_users__Response__UserInstance: {
8680
8689
  /**
8681
8690
  * Org Id
8682
8691
  * @description The ID of the organization that this user belongs to.
@@ -8703,7 +8712,7 @@ export interface components {
8703
8712
  */
8704
8713
  email: string;
8705
8714
  /** @description Statistics about the user's usage of the Amigo platform. */
8706
- user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8715
+ user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8707
8716
  /**
8708
8717
  * Role
8709
8718
  * @description The ID of the role of the user.
@@ -8712,32 +8721,6 @@ export interface components {
8712
8721
  /** @description The preferences of the user. */
8713
8722
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8714
8723
  };
8715
- /** Response */
8716
- user__search_users__Response: {
8717
- /**
8718
- * Users
8719
- * @description Users in this organization.
8720
- */
8721
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8722
- };
8723
- /** UserStats */
8724
- user__search_users__Response__UserInstance__UserStats: {
8725
- /**
8726
- * Num Conversations
8727
- * @description The number of conversations the user has created.
8728
- */
8729
- num_conversations: number;
8730
- /**
8731
- * Num Messages
8732
- * @description The number of messages the user has sent and received.
8733
- */
8734
- num_messages: number;
8735
- /**
8736
- * Last Message Time
8737
- * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8738
- */
8739
- last_message_time: string | null;
8740
- };
8741
8724
  /** SigninWithAPIKeyResponse */
8742
8725
  user__sign_in_with_api_key__Response: {
8743
8726
  /**
@@ -10808,10 +10791,6 @@ export interface operations {
10808
10791
  response_format: "text" | "voice";
10809
10792
  /** @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 `^$`. */
10810
10793
  current_agent_action_type?: string;
10811
- /** @deprecated */
10812
- audio_format?: ("mp3" | "pcm") | null;
10813
- /** @description The format of the audio response, if `response_format` is set to `voice`. */
10814
- response_audio_format?: components["schemas"]["VoiceResponseAudioFormat"] | null;
10815
10794
  };
10816
10795
  header?: {
10817
10796
  /** @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. */
@@ -11230,10 +11209,6 @@ export interface operations {
11230
11209
  current_agent_action_type?: string;
11231
11210
  /** @description Configuration for the user message audio. This is only required if `request_format` is set to `voice`. */
11232
11211
  request_audio_config?: components["schemas"]["UserMessageAudioConfig"] | null;
11233
- /** @deprecated */
11234
- audio_format?: ("mp3" | "pcm") | null;
11235
- /** @description The format of the audio response, if `response_format` is set to `voice`. */
11236
- response_audio_format?: components["schemas"]["VoiceResponseAudioFormat"] | null;
11237
11212
  };
11238
11213
  header: {
11239
11214
  /** @description The content type of the request body, which must be `multipart/form-data` followed by a boundary. */
@@ -5,7 +5,7 @@ export declare class UserResource {
5
5
  private orgId;
6
6
  constructor(c: AmigoFetch, orgId: string);
7
7
  getUsers(queryParams?: operations['get-users']['parameters']['query'], headers?: operations['get-users']['parameters']['header']): Promise<{
8
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
9
9
  has_more: boolean;
10
10
  continuation_token: number | null;
11
11
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.67.0",
3
+ "version": "0.69.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"