qati-sdk 1.0.1 → 1.0.2

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.
package/dist/index.js CHANGED
@@ -634,7 +634,7 @@ var TrustStateResource = class {
634
634
  /**
635
635
  * Fetches the latest trust state for one entity.
636
636
  *
637
- * @param entityType - Lowercase entity class: `user`, `device`, `account`, `model`, `session`, or `service` (see {@link EntityTypeLowerCase}).
637
+ * @param entityType - Lowercase entity class (see {@link EntityTypeLowerCase}).
638
638
  * @param entityId - Id for the entity(Required)
639
639
  * @param options - Optional contributor limits/window.
640
640
  * @returns {@link TrustState} including `current_closure_score`, `risk_tier`, and `top_contributors`.
@@ -655,7 +655,7 @@ var TrustStateResource = class {
655
655
  /**
656
656
  * Fetches trust states for many entities in one request.
657
657
  *
658
- * @param entityType - Lowercase entity class: `user`, `device`, `account`, `model`, `session`, or `service` (see {@link EntityTypeLowerCase}).
658
+ * @param entityType - Lowercase entity class (see {@link EntityTypeLowerCase}).
659
659
  * @param entityIds - Distinct ids to query. Prefer length ≤ 100 or the server may reject the request.
660
660
  * @param options - Optional contributor limits/window.
661
661
  * @returns Array of {@link TrustState} in server-defined order; empty array when `entityIds` is empty.
@@ -822,8 +822,13 @@ var EventPrincipalSchema = z.object({
822
822
  device_id: z.string().min(1).optional(),
823
823
  session_id: z.string().min(1).optional(),
824
824
  model_id: z.string().min(1).optional(),
825
- service_id: z.string().min(1).optional()
826
- });
825
+ service_id: z.string().min(1).optional(),
826
+ conversation_id: z.string().min(1).optional(),
827
+ document_id: z.string().min(1).optional(),
828
+ tool_id: z.string().min(1).optional(),
829
+ workflow_id: z.string().min(1).optional(),
830
+ api_key_id: z.string().min(1).optional()
831
+ }).strict();
827
832
 
828
833
  // src/v1/schemas/raw-event.ts
829
834
  var BaseEventSchema = z.object({