clarifai-web-grpc 10.3.0 → 10.3.1
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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +512 -3
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +38 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +311 -29
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +4 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +512 -3
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +38 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +311 -29
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +4 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +88 -0
- package/proto/clarifai/api/resources_pb.js +634 -3
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +10 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +56 -0
- package/proto/clarifai/api/service_pb.d.ts +58 -8
- package/proto/clarifai/api/service_pb.js +388 -29
- package/proto/clarifai/api/status/status_code_pb.d.ts +4 -0
- package/proto/clarifai/api/status/status_code_pb.js +4 -0
package/package.json
CHANGED
|
@@ -251,6 +251,11 @@ export class AppExtraInfo extends jspb.Message {
|
|
|
251
251
|
getSearchRevisionMarker(): string;
|
|
252
252
|
setSearchRevisionMarker(value: string): AppExtraInfo;
|
|
253
253
|
|
|
254
|
+
getCounts(): AppResourceCounts | undefined;
|
|
255
|
+
setCounts(value?: AppResourceCounts): AppExtraInfo;
|
|
256
|
+
hasCounts(): boolean;
|
|
257
|
+
clearCounts(): AppExtraInfo;
|
|
258
|
+
|
|
254
259
|
serializeBinary(): Uint8Array;
|
|
255
260
|
toObject(includeInstance?: boolean): AppExtraInfo.AsObject;
|
|
256
261
|
static toObject(includeInstance: boolean, msg: AppExtraInfo): AppExtraInfo.AsObject;
|
|
@@ -262,6 +267,7 @@ export class AppExtraInfo extends jspb.Message {
|
|
|
262
267
|
export namespace AppExtraInfo {
|
|
263
268
|
export type AsObject = {
|
|
264
269
|
searchRevisionMarker: string,
|
|
270
|
+
counts?: AppResourceCounts.AsObject,
|
|
265
271
|
}
|
|
266
272
|
}
|
|
267
273
|
|
|
@@ -283,6 +289,40 @@ export namespace AppQuery {
|
|
|
283
289
|
}
|
|
284
290
|
}
|
|
285
291
|
|
|
292
|
+
export class AppResourceCounts extends jspb.Message {
|
|
293
|
+
getDatasets(): number;
|
|
294
|
+
setDatasets(value: number): AppResourceCounts;
|
|
295
|
+
|
|
296
|
+
getModels(): number;
|
|
297
|
+
setModels(value: number): AppResourceCounts;
|
|
298
|
+
|
|
299
|
+
getWorkflows(): number;
|
|
300
|
+
setWorkflows(value: number): AppResourceCounts;
|
|
301
|
+
|
|
302
|
+
getModules(): number;
|
|
303
|
+
setModules(value: number): AppResourceCounts;
|
|
304
|
+
|
|
305
|
+
getInputs(): number;
|
|
306
|
+
setInputs(value: number): AppResourceCounts;
|
|
307
|
+
|
|
308
|
+
serializeBinary(): Uint8Array;
|
|
309
|
+
toObject(includeInstance?: boolean): AppResourceCounts.AsObject;
|
|
310
|
+
static toObject(includeInstance: boolean, msg: AppResourceCounts): AppResourceCounts.AsObject;
|
|
311
|
+
static serializeBinaryToWriter(message: AppResourceCounts, writer: jspb.BinaryWriter): void;
|
|
312
|
+
static deserializeBinary(bytes: Uint8Array): AppResourceCounts;
|
|
313
|
+
static deserializeBinaryFromReader(message: AppResourceCounts, reader: jspb.BinaryReader): AppResourceCounts;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export namespace AppResourceCounts {
|
|
317
|
+
export type AsObject = {
|
|
318
|
+
datasets: number,
|
|
319
|
+
models: number,
|
|
320
|
+
workflows: number,
|
|
321
|
+
modules: number,
|
|
322
|
+
inputs: number,
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
286
326
|
export class Collaborator extends jspb.Message {
|
|
287
327
|
getId(): string;
|
|
288
328
|
setId(value: string): Collaborator;
|
|
@@ -2003,6 +2043,9 @@ export class DatasetVersion extends jspb.Message {
|
|
|
2003
2043
|
clearEmbedModelVersionIdsList(): DatasetVersion;
|
|
2004
2044
|
addEmbedModelVersionIds(value: string, index?: number): DatasetVersion;
|
|
2005
2045
|
|
|
2046
|
+
getRequestOrigin(): DatasetVersionRequestOrigin;
|
|
2047
|
+
setRequestOrigin(value: DatasetVersionRequestOrigin): DatasetVersion;
|
|
2048
|
+
|
|
2006
2049
|
getDataConfigCase(): DatasetVersion.DataConfigCase;
|
|
2007
2050
|
|
|
2008
2051
|
serializeBinary(): Uint8Array;
|
|
@@ -2031,6 +2074,7 @@ export namespace DatasetVersion {
|
|
|
2031
2074
|
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2032
2075
|
visibility?: Visibility.AsObject,
|
|
2033
2076
|
embedModelVersionIdsList: Array<string>,
|
|
2077
|
+
requestOrigin: DatasetVersionRequestOrigin,
|
|
2034
2078
|
}
|
|
2035
2079
|
|
|
2036
2080
|
export enum DataConfigCase {
|
|
@@ -6024,6 +6068,11 @@ export class TaskStatusCountPerUser extends jspb.Message {
|
|
|
6024
6068
|
getAwaitingConsensusReview(): number;
|
|
6025
6069
|
setAwaitingConsensusReview(value: number): TaskStatusCountPerUser;
|
|
6026
6070
|
|
|
6071
|
+
getWorker(): Worker | undefined;
|
|
6072
|
+
setWorker(value?: Worker): TaskStatusCountPerUser;
|
|
6073
|
+
hasWorker(): boolean;
|
|
6074
|
+
clearWorker(): TaskStatusCountPerUser;
|
|
6075
|
+
|
|
6027
6076
|
serializeBinary(): Uint8Array;
|
|
6028
6077
|
toObject(includeInstance?: boolean): TaskStatusCountPerUser.AsObject;
|
|
6029
6078
|
static toObject(includeInstance: boolean, msg: TaskStatusCountPerUser): TaskStatusCountPerUser.AsObject;
|
|
@@ -6040,6 +6089,7 @@ export namespace TaskStatusCountPerUser {
|
|
|
6040
6089
|
success: number,
|
|
6041
6090
|
reviewDenied: number,
|
|
6042
6091
|
awaitingConsensusReview: number,
|
|
6092
|
+
worker?: Worker.AsObject,
|
|
6043
6093
|
}
|
|
6044
6094
|
}
|
|
6045
6095
|
|
|
@@ -8200,11 +8250,42 @@ export namespace RunnerSelector {
|
|
|
8200
8250
|
}
|
|
8201
8251
|
}
|
|
8202
8252
|
|
|
8253
|
+
export class ProcessingInfo extends jspb.Message {
|
|
8254
|
+
getRunnerMethodType(): RunnerMethodType;
|
|
8255
|
+
setRunnerMethodType(value: RunnerMethodType): ProcessingInfo;
|
|
8256
|
+
|
|
8257
|
+
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
8258
|
+
setStatus(value?: proto_clarifai_api_status_status_pb.Status): ProcessingInfo;
|
|
8259
|
+
hasStatus(): boolean;
|
|
8260
|
+
clearStatus(): ProcessingInfo;
|
|
8261
|
+
|
|
8262
|
+
serializeBinary(): Uint8Array;
|
|
8263
|
+
toObject(includeInstance?: boolean): ProcessingInfo.AsObject;
|
|
8264
|
+
static toObject(includeInstance: boolean, msg: ProcessingInfo): ProcessingInfo.AsObject;
|
|
8265
|
+
static serializeBinaryToWriter(message: ProcessingInfo, writer: jspb.BinaryWriter): void;
|
|
8266
|
+
static deserializeBinary(bytes: Uint8Array): ProcessingInfo;
|
|
8267
|
+
static deserializeBinaryFromReader(message: ProcessingInfo, reader: jspb.BinaryReader): ProcessingInfo;
|
|
8268
|
+
}
|
|
8269
|
+
|
|
8270
|
+
export namespace ProcessingInfo {
|
|
8271
|
+
export type AsObject = {
|
|
8272
|
+
runnerMethodType: RunnerMethodType,
|
|
8273
|
+
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
8274
|
+
}
|
|
8275
|
+
}
|
|
8276
|
+
|
|
8203
8277
|
export enum WorkflowModelUseCase {
|
|
8204
8278
|
WORKFLOW_MODEL_USE_CASE_NOT_SET = 0,
|
|
8205
8279
|
CLASSIFICATION = 1,
|
|
8206
8280
|
DETECTION = 2,
|
|
8207
8281
|
}
|
|
8282
|
+
export enum DatasetVersionRequestOrigin {
|
|
8283
|
+
DATASET_VERSION_REQUEST_ORIGIN_NOT_SET = 0,
|
|
8284
|
+
MANUAL = 1,
|
|
8285
|
+
TRAINING = 2,
|
|
8286
|
+
EVAL_GROUND_TRUTH = 3,
|
|
8287
|
+
EVAL_PREDICTIONS = 4,
|
|
8288
|
+
}
|
|
8208
8289
|
export enum DatasetVersionMetricsGroupType {
|
|
8209
8290
|
DATASET_VERSION_METRICS_GROUP_TYPE_NOT_SET = 0,
|
|
8210
8291
|
INPUT_TYPE = 2,
|
|
@@ -8308,3 +8389,10 @@ export enum InputIDConflictResolution {
|
|
|
8308
8389
|
SKIP = 1,
|
|
8309
8390
|
SUFFIX = 2,
|
|
8310
8391
|
}
|
|
8392
|
+
export enum RunnerMethodType {
|
|
8393
|
+
UNKNOWN = 0,
|
|
8394
|
+
UNARY_UNARY = 1,
|
|
8395
|
+
UNARY_STREAMING = 2,
|
|
8396
|
+
STREAMING_UNARY = 3,
|
|
8397
|
+
STREAMING_STREAMING = 4,
|
|
8398
|
+
}
|