@eyepop.ai/eyepop 1.0.0 → 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/eyepop.index.mjs
CHANGED
|
@@ -10884,7 +10884,7 @@ var DataEndpoint = class extends Endpoint {
|
|
|
10884
10884
|
const client = this._client;
|
|
10885
10885
|
const baseUrl = this._baseUrl;
|
|
10886
10886
|
if (!baseUrl || !client) {
|
|
10887
|
-
return Promise.reject("endpoint not connected
|
|
10887
|
+
return Promise.reject("endpoint not connected");
|
|
10888
10888
|
}
|
|
10889
10889
|
let response = await this.fetchWithRetry(async () => {
|
|
10890
10890
|
const session = await this.session();
|
|
@@ -11026,6 +11026,12 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11026
11026
|
method: "GET"
|
|
11027
11027
|
});
|
|
11028
11028
|
}
|
|
11029
|
+
async previewAutoAnnotateAsset(asset_uuid, auto_annotate, auto_annotate_params) {
|
|
11030
|
+
return this.request(`/assets/${asset_uuid}/preview_auto_annotate?auto_annotate=${auto_annotate}`, {
|
|
11031
|
+
method: "POST",
|
|
11032
|
+
body: auto_annotate_params ? JSON.stringify(auto_annotate_params) : null
|
|
11033
|
+
});
|
|
11034
|
+
}
|
|
11029
11035
|
// Model methods
|
|
11030
11036
|
async listModels() {
|
|
11031
11037
|
return this.request(`/models?account_uuid=${this._accountId}`, {
|