opik 1.8.48 → 1.8.49

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.
@@ -1447,6 +1447,13 @@ interface WorkspaceTraceCount {
1447
1447
  traceCount?: number;
1448
1448
  }
1449
1449
 
1450
+ /**
1451
+ * This file was auto-generated by Fern from our API Definition.
1452
+ */
1453
+ interface AnnotationQueueItemIds {
1454
+ ids: string[];
1455
+ }
1456
+
1450
1457
  /**
1451
1458
  * This file was auto-generated by Fern from our API Definition.
1452
1459
  */
@@ -4652,6 +4659,22 @@ declare namespace AnnotationQueues {
4652
4659
  declare class AnnotationQueues {
4653
4660
  protected readonly _options: AnnotationQueues.Options;
4654
4661
  constructor(_options?: AnnotationQueues.Options);
4662
+ /**
4663
+ * Add traces or threads to annotation queue
4664
+ *
4665
+ * @param {string} id
4666
+ * @param {OpikApi.AnnotationQueueItemIds} request
4667
+ * @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
4668
+ *
4669
+ * @throws {@link OpikApi.NotFoundError}
4670
+ *
4671
+ * @example
4672
+ * await client.annotationQueues.addItemsToAnnotationQueue("id", {
4673
+ * ids: ["ids"]
4674
+ * })
4675
+ */
4676
+ addItemsToAnnotationQueue(id: string, request: AnnotationQueueItemIds, requestOptions?: AnnotationQueues.RequestOptions): HttpResponsePromise<void>;
4677
+ private __addItemsToAnnotationQueue;
4655
4678
  /**
4656
4679
  * Create multiple annotation queues for human annotation workflows
4657
4680
  *
@@ -4673,6 +4696,22 @@ declare class AnnotationQueues {
4673
4696
  */
4674
4697
  createAnnotationQueueBatch(request: AnnotationQueueBatchWrite, requestOptions?: AnnotationQueues.RequestOptions): HttpResponsePromise<void>;
4675
4698
  private __createAnnotationQueueBatch;
4699
+ /**
4700
+ * Remove items from annotation queue
4701
+ *
4702
+ * @param {string} id
4703
+ * @param {OpikApi.AnnotationQueueItemIds} request
4704
+ * @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
4705
+ *
4706
+ * @throws {@link OpikApi.NotFoundError}
4707
+ *
4708
+ * @example
4709
+ * await client.annotationQueues.removeItemsFromAnnotationQueue("id", {
4710
+ * ids: ["ids"]
4711
+ * })
4712
+ */
4713
+ removeItemsFromAnnotationQueue(id: string, request: AnnotationQueueItemIds, requestOptions?: AnnotationQueues.RequestOptions): HttpResponsePromise<void>;
4714
+ private __removeItemsFromAnnotationQueue;
4676
4715
  protected _getCustomAuthorizationHeaders(): Promise<{
4677
4716
  Authorization: string | undefined;
4678
4717
  }>;
@@ -1447,6 +1447,13 @@ interface WorkspaceTraceCount {
1447
1447
  traceCount?: number;
1448
1448
  }
1449
1449
 
1450
+ /**
1451
+ * This file was auto-generated by Fern from our API Definition.
1452
+ */
1453
+ interface AnnotationQueueItemIds {
1454
+ ids: string[];
1455
+ }
1456
+
1450
1457
  /**
1451
1458
  * This file was auto-generated by Fern from our API Definition.
1452
1459
  */
@@ -4652,6 +4659,22 @@ declare namespace AnnotationQueues {
4652
4659
  declare class AnnotationQueues {
4653
4660
  protected readonly _options: AnnotationQueues.Options;
4654
4661
  constructor(_options?: AnnotationQueues.Options);
4662
+ /**
4663
+ * Add traces or threads to annotation queue
4664
+ *
4665
+ * @param {string} id
4666
+ * @param {OpikApi.AnnotationQueueItemIds} request
4667
+ * @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
4668
+ *
4669
+ * @throws {@link OpikApi.NotFoundError}
4670
+ *
4671
+ * @example
4672
+ * await client.annotationQueues.addItemsToAnnotationQueue("id", {
4673
+ * ids: ["ids"]
4674
+ * })
4675
+ */
4676
+ addItemsToAnnotationQueue(id: string, request: AnnotationQueueItemIds, requestOptions?: AnnotationQueues.RequestOptions): HttpResponsePromise<void>;
4677
+ private __addItemsToAnnotationQueue;
4655
4678
  /**
4656
4679
  * Create multiple annotation queues for human annotation workflows
4657
4680
  *
@@ -4673,6 +4696,22 @@ declare class AnnotationQueues {
4673
4696
  */
4674
4697
  createAnnotationQueueBatch(request: AnnotationQueueBatchWrite, requestOptions?: AnnotationQueues.RequestOptions): HttpResponsePromise<void>;
4675
4698
  private __createAnnotationQueueBatch;
4699
+ /**
4700
+ * Remove items from annotation queue
4701
+ *
4702
+ * @param {string} id
4703
+ * @param {OpikApi.AnnotationQueueItemIds} request
4704
+ * @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
4705
+ *
4706
+ * @throws {@link OpikApi.NotFoundError}
4707
+ *
4708
+ * @example
4709
+ * await client.annotationQueues.removeItemsFromAnnotationQueue("id", {
4710
+ * ids: ["ids"]
4711
+ * })
4712
+ */
4713
+ removeItemsFromAnnotationQueue(id: string, request: AnnotationQueueItemIds, requestOptions?: AnnotationQueues.RequestOptions): HttpResponsePromise<void>;
4714
+ private __removeItemsFromAnnotationQueue;
4676
4715
  protected _getCustomAuthorizationHeaders(): Promise<{
4677
4716
  Authorization: string | undefined;
4678
4717
  }>;