@eyepop.ai/eyepop 2.0.1 → 3.0.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.
- package/dist/eyepop.index.d.mts +16 -6
- package/dist/eyepop.index.d.ts +16 -6
- package/dist/eyepop.index.js +25 -7
- package/dist/eyepop.index.js.map +1 -1
- package/dist/eyepop.index.mjs +23 -7
- package/dist/eyepop.index.mjs.map +1 -1
- package/dist/eyepop.min.js +1 -1
- package/package.json +1 -1
package/dist/eyepop.index.d.mts
CHANGED
|
@@ -92,6 +92,11 @@ interface PredictedKeyPoint extends Point3d, PredictedClass {
|
|
|
92
92
|
visible: boolean | undefined;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
declare enum PredictionVersion {
|
|
96
|
+
V1 = 1,
|
|
97
|
+
V2 = 2
|
|
98
|
+
}
|
|
99
|
+
declare const DEFAULT_PREDICTION_VERSION: PredictionVersion;
|
|
95
100
|
interface WorkerSession extends Session {
|
|
96
101
|
readonly popId: string;
|
|
97
102
|
readonly baseUrl: string | undefined;
|
|
@@ -134,6 +139,7 @@ declare enum PopComponentType {
|
|
|
134
139
|
FORWARD = "forward",
|
|
135
140
|
INFERENCE = "inference",
|
|
136
141
|
TRACING = "tracing",
|
|
142
|
+
TRACKING = "tracking",
|
|
137
143
|
CONTOUR_FINDER = "contour_finder",
|
|
138
144
|
COMPONENT_FINDER = "component_finder"
|
|
139
145
|
}
|
|
@@ -188,7 +194,7 @@ interface InferenceComponent extends BaseComponent {
|
|
|
188
194
|
[index: string]: any;
|
|
189
195
|
};
|
|
190
196
|
}
|
|
191
|
-
interface
|
|
197
|
+
interface TrackingComponent extends BaseComponent {
|
|
192
198
|
reidModelUuid?: string;
|
|
193
199
|
reidModel?: string;
|
|
194
200
|
maxAgeSeconds?: number;
|
|
@@ -215,7 +221,7 @@ interface ComponentFinderComponent extends BaseComponent {
|
|
|
215
221
|
keepSource?: boolean;
|
|
216
222
|
componentClassLabel?: string;
|
|
217
223
|
}
|
|
218
|
-
type PopComponent = ForwardComponent | InferenceComponent |
|
|
224
|
+
type PopComponent = ForwardComponent | InferenceComponent | TrackingComponent | ContourFinderComponent | ComponentFinderComponent;
|
|
219
225
|
interface Pop {
|
|
220
226
|
components: PopComponent[];
|
|
221
227
|
postTransform?: string;
|
|
@@ -477,6 +483,7 @@ interface Dataset {
|
|
|
477
483
|
modifiable_version?: number;
|
|
478
484
|
versions: DatasetVersion[];
|
|
479
485
|
parent?: DatasetParent;
|
|
486
|
+
searchable: boolean;
|
|
480
487
|
}
|
|
481
488
|
interface DatasetCreate {
|
|
482
489
|
name: string;
|
|
@@ -484,6 +491,7 @@ interface DatasetCreate {
|
|
|
484
491
|
tags?: string[];
|
|
485
492
|
auto_annotates?: string[];
|
|
486
493
|
auto_annotate_params?: AutoAnnotateParams;
|
|
494
|
+
searchable?: boolean;
|
|
487
495
|
}
|
|
488
496
|
interface DatasetUpdate {
|
|
489
497
|
name?: string;
|
|
@@ -491,6 +499,7 @@ interface DatasetUpdate {
|
|
|
491
499
|
tags?: string[];
|
|
492
500
|
auto_annotates?: string[];
|
|
493
501
|
auto_annotate_params?: AutoAnnotateParams;
|
|
502
|
+
searchable?: boolean;
|
|
494
503
|
}
|
|
495
504
|
interface DatasetHeroAssetUpdate {
|
|
496
505
|
uuid: string;
|
|
@@ -527,8 +536,8 @@ declare enum AutoAnnotateTask {
|
|
|
527
536
|
}
|
|
528
537
|
interface AutoAnnotateParams {
|
|
529
538
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
539
|
+
* @deprecated use prompts instead
|
|
540
|
+
*/
|
|
532
541
|
candidate_labels?: string[];
|
|
533
542
|
prompts?: AutoAnnotatePrompt[];
|
|
534
543
|
task?: AutoAnnotateTask;
|
|
@@ -844,8 +853,9 @@ declare class AbstractJob implements ResultStream {
|
|
|
844
853
|
protected _controller: AbortController;
|
|
845
854
|
protected _client: HttpClient;
|
|
846
855
|
protected _requestLogger: Logger;
|
|
856
|
+
protected _version: PredictionVersion;
|
|
847
857
|
[Symbol.asyncIterator](): AsyncIterator<Prediction>;
|
|
848
|
-
protected constructor(params: ComponentParams[] | undefined, getSession: () => Promise<WorkerSession>, client: HttpClient, requestLogger: Logger);
|
|
858
|
+
protected constructor(params: ComponentParams[] | undefined, getSession: () => Promise<WorkerSession>, client: HttpClient, requestLogger: Logger, version?: PredictionVersion);
|
|
849
859
|
protected startJob(): Promise<Response>;
|
|
850
860
|
protected onEvent(event: StreamEvent): Promise<void>;
|
|
851
861
|
static n: number;
|
|
@@ -952,4 +962,4 @@ declare namespace EyePop {
|
|
|
952
962
|
function dataEndpoint(opts?: DataOptions): DataEndpoint;
|
|
953
963
|
}
|
|
954
964
|
|
|
955
|
-
export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type
|
|
965
|
+
export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, readableStreamFromString };
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -92,6 +92,11 @@ interface PredictedKeyPoint extends Point3d, PredictedClass {
|
|
|
92
92
|
visible: boolean | undefined;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
declare enum PredictionVersion {
|
|
96
|
+
V1 = 1,
|
|
97
|
+
V2 = 2
|
|
98
|
+
}
|
|
99
|
+
declare const DEFAULT_PREDICTION_VERSION: PredictionVersion;
|
|
95
100
|
interface WorkerSession extends Session {
|
|
96
101
|
readonly popId: string;
|
|
97
102
|
readonly baseUrl: string | undefined;
|
|
@@ -134,6 +139,7 @@ declare enum PopComponentType {
|
|
|
134
139
|
FORWARD = "forward",
|
|
135
140
|
INFERENCE = "inference",
|
|
136
141
|
TRACING = "tracing",
|
|
142
|
+
TRACKING = "tracking",
|
|
137
143
|
CONTOUR_FINDER = "contour_finder",
|
|
138
144
|
COMPONENT_FINDER = "component_finder"
|
|
139
145
|
}
|
|
@@ -188,7 +194,7 @@ interface InferenceComponent extends BaseComponent {
|
|
|
188
194
|
[index: string]: any;
|
|
189
195
|
};
|
|
190
196
|
}
|
|
191
|
-
interface
|
|
197
|
+
interface TrackingComponent extends BaseComponent {
|
|
192
198
|
reidModelUuid?: string;
|
|
193
199
|
reidModel?: string;
|
|
194
200
|
maxAgeSeconds?: number;
|
|
@@ -215,7 +221,7 @@ interface ComponentFinderComponent extends BaseComponent {
|
|
|
215
221
|
keepSource?: boolean;
|
|
216
222
|
componentClassLabel?: string;
|
|
217
223
|
}
|
|
218
|
-
type PopComponent = ForwardComponent | InferenceComponent |
|
|
224
|
+
type PopComponent = ForwardComponent | InferenceComponent | TrackingComponent | ContourFinderComponent | ComponentFinderComponent;
|
|
219
225
|
interface Pop {
|
|
220
226
|
components: PopComponent[];
|
|
221
227
|
postTransform?: string;
|
|
@@ -477,6 +483,7 @@ interface Dataset {
|
|
|
477
483
|
modifiable_version?: number;
|
|
478
484
|
versions: DatasetVersion[];
|
|
479
485
|
parent?: DatasetParent;
|
|
486
|
+
searchable: boolean;
|
|
480
487
|
}
|
|
481
488
|
interface DatasetCreate {
|
|
482
489
|
name: string;
|
|
@@ -484,6 +491,7 @@ interface DatasetCreate {
|
|
|
484
491
|
tags?: string[];
|
|
485
492
|
auto_annotates?: string[];
|
|
486
493
|
auto_annotate_params?: AutoAnnotateParams;
|
|
494
|
+
searchable?: boolean;
|
|
487
495
|
}
|
|
488
496
|
interface DatasetUpdate {
|
|
489
497
|
name?: string;
|
|
@@ -491,6 +499,7 @@ interface DatasetUpdate {
|
|
|
491
499
|
tags?: string[];
|
|
492
500
|
auto_annotates?: string[];
|
|
493
501
|
auto_annotate_params?: AutoAnnotateParams;
|
|
502
|
+
searchable?: boolean;
|
|
494
503
|
}
|
|
495
504
|
interface DatasetHeroAssetUpdate {
|
|
496
505
|
uuid: string;
|
|
@@ -527,8 +536,8 @@ declare enum AutoAnnotateTask {
|
|
|
527
536
|
}
|
|
528
537
|
interface AutoAnnotateParams {
|
|
529
538
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
539
|
+
* @deprecated use prompts instead
|
|
540
|
+
*/
|
|
532
541
|
candidate_labels?: string[];
|
|
533
542
|
prompts?: AutoAnnotatePrompt[];
|
|
534
543
|
task?: AutoAnnotateTask;
|
|
@@ -844,8 +853,9 @@ declare class AbstractJob implements ResultStream {
|
|
|
844
853
|
protected _controller: AbortController;
|
|
845
854
|
protected _client: HttpClient;
|
|
846
855
|
protected _requestLogger: Logger;
|
|
856
|
+
protected _version: PredictionVersion;
|
|
847
857
|
[Symbol.asyncIterator](): AsyncIterator<Prediction>;
|
|
848
|
-
protected constructor(params: ComponentParams[] | undefined, getSession: () => Promise<WorkerSession>, client: HttpClient, requestLogger: Logger);
|
|
858
|
+
protected constructor(params: ComponentParams[] | undefined, getSession: () => Promise<WorkerSession>, client: HttpClient, requestLogger: Logger, version?: PredictionVersion);
|
|
849
859
|
protected startJob(): Promise<Response>;
|
|
850
860
|
protected onEvent(event: StreamEvent): Promise<void>;
|
|
851
861
|
static n: number;
|
|
@@ -952,4 +962,4 @@ declare namespace EyePop {
|
|
|
952
962
|
function dataEndpoint(opts?: DataOptions): DataEndpoint;
|
|
953
963
|
}
|
|
954
964
|
|
|
955
|
-
export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type
|
|
965
|
+
export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, readableStreamFromString };
|
package/dist/eyepop.index.js
CHANGED
|
@@ -8663,6 +8663,7 @@ __export(index_exports, {
|
|
|
8663
8663
|
AutoAnnotateTask: () => AutoAnnotateTask,
|
|
8664
8664
|
ChangeType: () => ChangeType,
|
|
8665
8665
|
ContourType: () => ContourType,
|
|
8666
|
+
DEFAULT_PREDICTION_VERSION: () => DEFAULT_PREDICTION_VERSION,
|
|
8666
8667
|
DataEndpoint: () => DataEndpoint,
|
|
8667
8668
|
Endpoint: () => Endpoint,
|
|
8668
8669
|
EndpointState: () => EndpointState,
|
|
@@ -8683,6 +8684,7 @@ __export(index_exports, {
|
|
|
8683
8684
|
ModelTrainingStage: () => ModelTrainingStage,
|
|
8684
8685
|
ModelType: () => ModelType,
|
|
8685
8686
|
PopComponentType: () => PopComponentType,
|
|
8687
|
+
PredictionVersion: () => PredictionVersion,
|
|
8686
8688
|
Semaphore: () => Semaphore,
|
|
8687
8689
|
Stream: () => Stream,
|
|
8688
8690
|
TranscodeMode: () => TranscodeMode,
|
|
@@ -8894,6 +8896,12 @@ function readableStreamFromString(s) {
|
|
|
8894
8896
|
}
|
|
8895
8897
|
|
|
8896
8898
|
// worker/worker_types.ts
|
|
8899
|
+
var PredictionVersion = /* @__PURE__ */ ((PredictionVersion3) => {
|
|
8900
|
+
PredictionVersion3[PredictionVersion3["V1"] = 1] = "V1";
|
|
8901
|
+
PredictionVersion3[PredictionVersion3["V2"] = 2] = "V2";
|
|
8902
|
+
return PredictionVersion3;
|
|
8903
|
+
})(PredictionVersion || {});
|
|
8904
|
+
var DEFAULT_PREDICTION_VERSION = 2 /* V2 */;
|
|
8897
8905
|
var VideoMode = /* @__PURE__ */ ((VideoMode2) => {
|
|
8898
8906
|
VideoMode2["STREAM"] = "stream";
|
|
8899
8907
|
VideoMode2["BUFFER"] = "buffer";
|
|
@@ -8903,6 +8911,7 @@ var PopComponentType = /* @__PURE__ */ ((PopComponentType2) => {
|
|
|
8903
8911
|
PopComponentType2["FORWARD"] = "forward";
|
|
8904
8912
|
PopComponentType2["INFERENCE"] = "inference";
|
|
8905
8913
|
PopComponentType2["TRACING"] = "tracing";
|
|
8914
|
+
PopComponentType2["TRACKING"] = "tracking";
|
|
8906
8915
|
PopComponentType2["CONTOUR_FINDER"] = "contour_finder";
|
|
8907
8916
|
PopComponentType2["COMPONENT_FINDER"] = "component_finder";
|
|
8908
8917
|
return PopComponentType2;
|
|
@@ -9280,13 +9289,14 @@ var WebrtcWhip = class extends WebrtcBase {
|
|
|
9280
9289
|
|
|
9281
9290
|
// worker/jobs.ts
|
|
9282
9291
|
var AbstractJob = class {
|
|
9283
|
-
constructor(params, getSession, client, requestLogger) {
|
|
9292
|
+
constructor(params, getSession, client, requestLogger, version = DEFAULT_PREDICTION_VERSION) {
|
|
9284
9293
|
this._responseStream = null;
|
|
9285
9294
|
this._controller = new AbortController();
|
|
9286
9295
|
this._getSession = getSession;
|
|
9287
9296
|
this._params = params ?? null;
|
|
9288
9297
|
this._client = client;
|
|
9289
9298
|
this._requestLogger = requestLogger;
|
|
9299
|
+
this._version = version;
|
|
9290
9300
|
}
|
|
9291
9301
|
[Symbol.asyncIterator]() {
|
|
9292
9302
|
if (!this._responseStream) {
|
|
@@ -9391,7 +9401,8 @@ var UploadJob = class extends AbstractJob {
|
|
|
9391
9401
|
}
|
|
9392
9402
|
let request;
|
|
9393
9403
|
const videoModeQuery = this._videoMode ? `&videoMode=${this._videoMode}` : "";
|
|
9394
|
-
const
|
|
9404
|
+
const versionQuery = this._version ? `&version=${this._version}` : "";
|
|
9405
|
+
const postUrl = `${session.baseUrl.replace(/\/+$/, "")}/pipelines/${session.pipelineId}/source?mode=queue&processing=async&sourceId=${event.source_id}${videoModeQuery}${versionQuery}`;
|
|
9395
9406
|
if (this._params) {
|
|
9396
9407
|
const params = JSON.stringify(this._params);
|
|
9397
9408
|
const paramBlob = new Blob([params], { type: "application/json" });
|
|
@@ -9463,7 +9474,8 @@ var UploadJob = class extends AbstractJob {
|
|
|
9463
9474
|
});
|
|
9464
9475
|
} else {
|
|
9465
9476
|
const videoModeQuery = this._videoMode ? `&videoMode=${this._videoMode}` : "";
|
|
9466
|
-
const
|
|
9477
|
+
const versionQuery = this._version ? `&version=${this._version}` : "";
|
|
9478
|
+
const postUrl = `${session.baseUrl.replace(/\/+$/, "")}/pipelines/${session.pipelineId}/source?mode=queue&processing=sync${videoModeQuery}${versionQuery}`;
|
|
9467
9479
|
if (this._params) {
|
|
9468
9480
|
const params = JSON.stringify(this._params);
|
|
9469
9481
|
const paramBlob = new Blob([params], { type: "application/json" });
|
|
@@ -9522,7 +9534,8 @@ var LoadFromJob = class extends AbstractJob {
|
|
|
9522
9534
|
const body = {
|
|
9523
9535
|
sourceType: "URL",
|
|
9524
9536
|
url: this._location,
|
|
9525
|
-
params: this._params
|
|
9537
|
+
params: this._params,
|
|
9538
|
+
version: this._version
|
|
9526
9539
|
};
|
|
9527
9540
|
const headers = {
|
|
9528
9541
|
...session.authenticationHeaders(),
|
|
@@ -9556,7 +9569,8 @@ var LoadFromAssetUuidJob = class extends AbstractJob {
|
|
|
9556
9569
|
const body = {
|
|
9557
9570
|
sourceType: "ASSET_UUID",
|
|
9558
9571
|
assetUuid: this._assetUuid,
|
|
9559
|
-
params: this._params
|
|
9572
|
+
params: this._params,
|
|
9573
|
+
version: this._version
|
|
9560
9574
|
};
|
|
9561
9575
|
const headers = {
|
|
9562
9576
|
...session.authenticationHeaders(),
|
|
@@ -9590,7 +9604,8 @@ var LoadLiveIngressJob = class extends AbstractJob {
|
|
|
9590
9604
|
const body = {
|
|
9591
9605
|
sourceType: "LIVE_INGRESS",
|
|
9592
9606
|
liveIngressId: this._ingressId,
|
|
9593
|
-
params: this._params
|
|
9607
|
+
params: this._params,
|
|
9608
|
+
version: this._version
|
|
9594
9609
|
};
|
|
9595
9610
|
const headers = {
|
|
9596
9611
|
...session.authenticationHeaders(),
|
|
@@ -9638,7 +9653,8 @@ var LoadMediaStreamJob = class extends AbstractJob {
|
|
|
9638
9653
|
const body = {
|
|
9639
9654
|
sourceType: "WHIP",
|
|
9640
9655
|
whipIngressId: whip.ingressId(),
|
|
9641
|
-
params: this._params
|
|
9656
|
+
params: this._params,
|
|
9657
|
+
version: this._version
|
|
9642
9658
|
};
|
|
9643
9659
|
const headers = {
|
|
9644
9660
|
...session.authenticationHeaders(),
|
|
@@ -11556,6 +11572,7 @@ var index_default = EyePop;
|
|
|
11556
11572
|
AutoAnnotateTask,
|
|
11557
11573
|
ChangeType,
|
|
11558
11574
|
ContourType,
|
|
11575
|
+
DEFAULT_PREDICTION_VERSION,
|
|
11559
11576
|
DataEndpoint,
|
|
11560
11577
|
Endpoint,
|
|
11561
11578
|
EndpointState,
|
|
@@ -11576,6 +11593,7 @@ var index_default = EyePop;
|
|
|
11576
11593
|
ModelTrainingStage,
|
|
11577
11594
|
ModelType,
|
|
11578
11595
|
PopComponentType,
|
|
11596
|
+
PredictionVersion,
|
|
11579
11597
|
Semaphore,
|
|
11580
11598
|
Stream,
|
|
11581
11599
|
TranscodeMode,
|