@amigo-ai/sdk 0.95.0 → 0.97.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.
@@ -7400,10 +7400,29 @@ export interface components {
7400
7400
  * Permission Grants
7401
7401
  * @description A list of permission grants associated with this role.
7402
7402
  */
7403
- permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7403
+ permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7404
7404
  /** @description The frontend view for users of this role. */
7405
7405
  frontend_view: components["schemas"]["FrontendView"];
7406
7406
  };
7407
+ /** PermissionGrant */
7408
+ role__create_role__Request__PermissionGrant: {
7409
+ /**
7410
+ * Action
7411
+ * @description Whether this grant allows or denies the specified access.
7412
+ * @enum {string}
7413
+ */
7414
+ action: "Allow" | "Deny";
7415
+ /** Permission Name */
7416
+ permission_name: string;
7417
+ /**
7418
+ * Conditions
7419
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7420
+ */
7421
+ conditions: {
7422
+ [key: string]: components["schemas"]["Condition"];
7423
+ };
7424
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7425
+ };
7407
7426
  /** Response */
7408
7427
  role__create_role__Response: {
7409
7428
  /**
@@ -7428,29 +7447,10 @@ export interface components {
7428
7447
  * Permission Grants
7429
7448
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7430
7449
  */
7431
- permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7450
+ permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7432
7451
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7433
7452
  frontend_view?: components["schemas"]["FrontendView"] | null;
7434
7453
  };
7435
- /** PermissionGrant */
7436
- role__modify_role__Request__PermissionGrant: {
7437
- /**
7438
- * Action
7439
- * @description Whether this grant allows or denies the specified access.
7440
- * @enum {string}
7441
- */
7442
- action: "Allow" | "Deny";
7443
- /** Permission Name */
7444
- permission_name: string;
7445
- /**
7446
- * Conditions
7447
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7448
- */
7449
- conditions: {
7450
- [key: string]: components["schemas"]["Condition"];
7451
- };
7452
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7453
- };
7454
7454
  /** Response */
7455
7455
  role__modify_role__Response: {
7456
7456
  /**
@@ -7510,19 +7510,7 @@ export interface components {
7510
7510
  service_hierarchical_state_machine_version_number: number | null;
7511
7511
  /** Llm Model Preferences */
7512
7512
  llm_model_preferences: {
7513
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7514
- };
7515
- };
7516
- /** LLMConfig */
7517
- service__create_service__Request__VersionSet__LLMConfig: {
7518
- llm_name: components["schemas"]["LLMType"];
7519
- /**
7520
- * Params
7521
- * @description LLM-specific parameters to use.
7522
- * @default {}
7523
- */
7524
- params?: {
7525
- [key: string]: unknown;
7513
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7526
7514
  };
7527
7515
  };
7528
7516
  /** Response */
@@ -7607,6 +7595,18 @@ export interface components {
7607
7595
  /** @description The version set to upsert. */
7608
7596
  version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7609
7597
  };
7598
+ /** LLMConfig */
7599
+ service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7600
+ llm_name: components["schemas"]["LLMType"];
7601
+ /**
7602
+ * Params
7603
+ * @description LLM-specific parameters to use.
7604
+ * @default {}
7605
+ */
7606
+ params?: {
7607
+ [key: string]: unknown;
7608
+ };
7609
+ };
7610
7610
  /** Request */
7611
7611
  simulation__create_simulation_persona__Request: {
7612
7612
  /** @description The name of the simulation persona. */
@@ -7810,7 +7810,7 @@ export interface components {
7810
7810
  * Unit Test Runs
7811
7811
  * @description The unit test runs that are part of this set.
7812
7812
  */
7813
- unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7813
+ unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7814
7814
  /**
7815
7815
  * Tags
7816
7816
  * @description The tags of the simulation unit test set.
@@ -7819,16 +7819,6 @@ export interface components {
7819
7819
  [key: string]: string | null;
7820
7820
  };
7821
7821
  };
7822
- /** UnitTestRunDescriptor */
7823
- simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7824
- /** Unit Test Id */
7825
- unit_test_id: string;
7826
- /**
7827
- * Run Count
7828
- * @description The number of times to run the unit test.
7829
- */
7830
- run_count: number;
7831
- };
7832
7822
  /** Response */
7833
7823
  simulation__create_simulation_unit_test_set__Response: {
7834
7824
  /**
@@ -8325,7 +8315,7 @@ export interface components {
8325
8315
  * Unit Test Runs
8326
8316
  * @description The unit test runs that are part of this set.
8327
8317
  */
8328
- unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8318
+ unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8329
8319
  /**
8330
8320
  * Tags
8331
8321
  * @description The tags of the simulation unit test set.
@@ -8334,6 +8324,16 @@ export interface components {
8334
8324
  [key: string]: string | null;
8335
8325
  } | null;
8336
8326
  };
8327
+ /** UnitTestRunDescriptor */
8328
+ simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8329
+ /** Unit Test Id */
8330
+ unit_test_id: string;
8331
+ /**
8332
+ * Run Count
8333
+ * @description The number of times to run the unit test.
8334
+ */
8335
+ run_count: number;
8336
+ };
8337
8337
  /** Request */
8338
8338
  tool__create_tool__Request: {
8339
8339
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8362,7 +8362,7 @@ export interface components {
8362
8362
  * Tool Invocations
8363
8363
  * @description The list of tool invocations.
8364
8364
  */
8365
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8365
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8366
8366
  /**
8367
8367
  * Has More
8368
8368
  * @description Whether there are more tool invocations to retrieve.
@@ -8374,6 +8374,47 @@ export interface components {
8374
8374
  */
8375
8375
  continuation_token: unknown | null;
8376
8376
  };
8377
+ /** ToolInvocationInstance */
8378
+ tool__get_tool_invocations__Response__ToolInvocationInstance: {
8379
+ /**
8380
+ * Id
8381
+ * @description The ID of the tool invocation.
8382
+ */
8383
+ id: string;
8384
+ /**
8385
+ * Org Id
8386
+ * @description The ID of the organization.
8387
+ */
8388
+ org_id: string;
8389
+ /**
8390
+ * Created At
8391
+ * Format: date-time
8392
+ */
8393
+ created_at?: string;
8394
+ /**
8395
+ * Updated At
8396
+ * Format: date-time
8397
+ */
8398
+ updated_at?: string;
8399
+ /** @description The status of the tool invocation. */
8400
+ invocation_status: components["schemas"]["InvocationStatus"];
8401
+ /** @description The source of the tool invocation. */
8402
+ invocation_source: components["schemas"]["InvocationSource"];
8403
+ /** Logs */
8404
+ logs: string[];
8405
+ /**
8406
+ * Duration Ms
8407
+ * @description The duration of the tool invocation in milliseconds.
8408
+ */
8409
+ duration_ms: number;
8410
+ /**
8411
+ * Tool Id
8412
+ * @description The ID of the tool that was invoked.
8413
+ */
8414
+ tool_id: string;
8415
+ /** @description The version of the tool that was invoked. */
8416
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8417
+ };
8377
8418
  /** Response */
8378
8419
  tool__get_tool_versions__Response: {
8379
8420
  /**
@@ -8514,48 +8555,7 @@ export interface components {
8514
8555
  * Tool Invocations
8515
8556
  * @description The list of tool invocations.
8516
8557
  */
8517
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8518
- };
8519
- /** ToolInvocationInstance */
8520
- tool__search_tool_invocations__Response__ToolInvocationInstance: {
8521
- /**
8522
- * Id
8523
- * @description The ID of the tool invocation.
8524
- */
8525
- id: string;
8526
- /**
8527
- * Org Id
8528
- * @description The ID of the organization.
8529
- */
8530
- org_id: string;
8531
- /**
8532
- * Created At
8533
- * Format: date-time
8534
- */
8535
- created_at?: string;
8536
- /**
8537
- * Updated At
8538
- * Format: date-time
8539
- */
8540
- updated_at?: string;
8541
- /** @description The status of the tool invocation. */
8542
- invocation_status: components["schemas"]["InvocationStatus"];
8543
- /** @description The source of the tool invocation. */
8544
- invocation_source: components["schemas"]["InvocationSource"];
8545
- /** Logs */
8546
- logs: string[];
8547
- /**
8548
- * Duration Ms
8549
- * @description The duration of the tool invocation in milliseconds.
8550
- */
8551
- duration_ms: number;
8552
- /**
8553
- * Tool Id
8554
- * @description The ID of the tool that was invoked.
8555
- */
8556
- tool_id: string;
8557
- /** @description The version of the tool that was invoked. */
8558
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8558
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8559
8559
  };
8560
8560
  /** Request */
8561
8561
  tool__test_tool__Request: {
@@ -8757,7 +8757,7 @@ export interface components {
8757
8757
  */
8758
8758
  email: string;
8759
8759
  /** @description Statistics about the user's usage of the Amigo platform. */
8760
- user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8760
+ user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8761
8761
  /**
8762
8762
  * Role
8763
8763
  * @description The ID of the role of the user.
@@ -8766,8 +8766,16 @@ export interface components {
8766
8766
  /** @description The preferences of the user. */
8767
8767
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8768
8768
  };
8769
+ /** Response */
8770
+ user__search_users__Response: {
8771
+ /**
8772
+ * Users
8773
+ * @description Users in this organization.
8774
+ */
8775
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8776
+ };
8769
8777
  /** UserStats */
8770
- user__get_users__Response__UserInstance__UserStats: {
8778
+ user__search_users__Response__UserInstance__UserStats: {
8771
8779
  /**
8772
8780
  * Num Conversations
8773
8781
  * @description The number of conversations the user has created.
@@ -8784,14 +8792,6 @@ export interface components {
8784
8792
  */
8785
8793
  last_message_time: string | null;
8786
8794
  };
8787
- /** Response */
8788
- user__search_users__Response: {
8789
- /**
8790
- * Users
8791
- * @description Users in this organization.
8792
- */
8793
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8794
- };
8795
8795
  /** SigninWithAPIKeyResponse */
8796
8796
  user__sign_in_with_api_key__Response: {
8797
8797
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.95.0",
3
+ "version": "0.97.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"