clarifai-web-grpc 10.7.1 → 10.8.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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1052 -4
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +502 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1052 -4
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +502 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +177 -2
- package/proto/clarifai/api/resources_pb.js +1321 -4
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +74 -0
- package/proto/clarifai/api/service_pb.js +629 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -0
- package/proto/clarifai/auth/scope/scope_pb.js +3 -1
|
@@ -2594,6 +2594,15 @@ export class Model extends jspb.Message {
|
|
|
2594
2594
|
hasImage(): boolean;
|
|
2595
2595
|
clearImage(): Model;
|
|
2596
2596
|
|
|
2597
|
+
getLicenseType(): LicenseType;
|
|
2598
|
+
setLicenseType(value: LicenseType): Model;
|
|
2599
|
+
|
|
2600
|
+
getSource(): Model.Source;
|
|
2601
|
+
setSource(value: Model.Source): Model;
|
|
2602
|
+
|
|
2603
|
+
getCreator(): string;
|
|
2604
|
+
setCreator(value: string): Model;
|
|
2605
|
+
|
|
2597
2606
|
serializeBinary(): Uint8Array;
|
|
2598
2607
|
toObject(includeInstance?: boolean): Model.AsObject;
|
|
2599
2608
|
static toObject(includeInstance: boolean, msg: Model): Model.AsObject;
|
|
@@ -2631,6 +2640,15 @@ export namespace Model {
|
|
|
2631
2640
|
workflowRecommended?: google_protobuf_wrappers_pb.BoolValue.AsObject,
|
|
2632
2641
|
bookmarkOrigin?: BookmarkOrigin.AsObject,
|
|
2633
2642
|
image?: Image.AsObject,
|
|
2643
|
+
licenseType: LicenseType,
|
|
2644
|
+
source: Model.Source,
|
|
2645
|
+
creator: string,
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
export enum Source {
|
|
2649
|
+
UNKNOWN_SOURCE = 0,
|
|
2650
|
+
HOSTED = 1,
|
|
2651
|
+
WRAPPED = 2,
|
|
2634
2652
|
}
|
|
2635
2653
|
}
|
|
2636
2654
|
|
|
@@ -5646,6 +5664,9 @@ export class Task extends jspb.Message {
|
|
|
5646
5664
|
hasWorker(): boolean;
|
|
5647
5665
|
clearWorker(): Task;
|
|
5648
5666
|
|
|
5667
|
+
getWorkerType(): Task.WorkerType;
|
|
5668
|
+
setWorkerType(value: Task.WorkerType): Task;
|
|
5669
|
+
|
|
5649
5670
|
getConceptIdsList(): Array<string>;
|
|
5650
5671
|
setConceptIdsList(value: Array<string>): Task;
|
|
5651
5672
|
clearConceptIdsList(): Task;
|
|
@@ -5725,6 +5746,7 @@ export namespace Task {
|
|
|
5725
5746
|
type: Task.TaskType,
|
|
5726
5747
|
description: string,
|
|
5727
5748
|
worker?: TaskWorker.AsObject,
|
|
5749
|
+
workerType: Task.WorkerType,
|
|
5728
5750
|
conceptIdsList: Array<string>,
|
|
5729
5751
|
inputSource?: TaskInputSource.AsObject,
|
|
5730
5752
|
sampleMs: number,
|
|
@@ -5742,6 +5764,12 @@ export namespace Task {
|
|
|
5742
5764
|
metrics?: TaskMetrics.AsObject,
|
|
5743
5765
|
}
|
|
5744
5766
|
|
|
5767
|
+
export enum WorkerType {
|
|
5768
|
+
WORKER_TYPE_NOT_SET = 0,
|
|
5769
|
+
WORKER_HUMAN = 1,
|
|
5770
|
+
WORKER_AUTO = 2,
|
|
5771
|
+
}
|
|
5772
|
+
|
|
5745
5773
|
export enum TaskType {
|
|
5746
5774
|
TYPE_NOT_SET = 0,
|
|
5747
5775
|
CONCEPTS_CLASSIFICATION = 1,
|
|
@@ -8460,6 +8488,147 @@ export namespace ProcessingInfo {
|
|
|
8460
8488
|
}
|
|
8461
8489
|
}
|
|
8462
8490
|
|
|
8491
|
+
export class AuditLogTarget extends jspb.Message {
|
|
8492
|
+
getMember(): User | undefined;
|
|
8493
|
+
setMember(value?: User): AuditLogTarget;
|
|
8494
|
+
hasMember(): boolean;
|
|
8495
|
+
clearMember(): AuditLogTarget;
|
|
8496
|
+
|
|
8497
|
+
getTargetCase(): AuditLogTarget.TargetCase;
|
|
8498
|
+
|
|
8499
|
+
serializeBinary(): Uint8Array;
|
|
8500
|
+
toObject(includeInstance?: boolean): AuditLogTarget.AsObject;
|
|
8501
|
+
static toObject(includeInstance: boolean, msg: AuditLogTarget): AuditLogTarget.AsObject;
|
|
8502
|
+
static serializeBinaryToWriter(message: AuditLogTarget, writer: jspb.BinaryWriter): void;
|
|
8503
|
+
static deserializeBinary(bytes: Uint8Array): AuditLogTarget;
|
|
8504
|
+
static deserializeBinaryFromReader(message: AuditLogTarget, reader: jspb.BinaryReader): AuditLogTarget;
|
|
8505
|
+
}
|
|
8506
|
+
|
|
8507
|
+
export namespace AuditLogTarget {
|
|
8508
|
+
export type AsObject = {
|
|
8509
|
+
member?: User.AsObject,
|
|
8510
|
+
}
|
|
8511
|
+
|
|
8512
|
+
export enum TargetCase {
|
|
8513
|
+
TARGET_NOT_SET = 0,
|
|
8514
|
+
MEMBER = 1,
|
|
8515
|
+
}
|
|
8516
|
+
}
|
|
8517
|
+
|
|
8518
|
+
export class AuditLogEntry extends jspb.Message {
|
|
8519
|
+
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
8520
|
+
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): AuditLogEntry;
|
|
8521
|
+
hasTimestamp(): boolean;
|
|
8522
|
+
clearTimestamp(): AuditLogEntry;
|
|
8523
|
+
|
|
8524
|
+
getUser(): User | undefined;
|
|
8525
|
+
setUser(value?: User): AuditLogEntry;
|
|
8526
|
+
hasUser(): boolean;
|
|
8527
|
+
clearUser(): AuditLogEntry;
|
|
8528
|
+
|
|
8529
|
+
getOperation(): EventType;
|
|
8530
|
+
setOperation(value: EventType): AuditLogEntry;
|
|
8531
|
+
|
|
8532
|
+
getDescription(): string;
|
|
8533
|
+
setDescription(value: string): AuditLogEntry;
|
|
8534
|
+
|
|
8535
|
+
getTargetsList(): Array<AuditLogTarget>;
|
|
8536
|
+
setTargetsList(value: Array<AuditLogTarget>): AuditLogEntry;
|
|
8537
|
+
clearTargetsList(): AuditLogEntry;
|
|
8538
|
+
addTargets(value?: AuditLogTarget, index?: number): AuditLogTarget;
|
|
8539
|
+
|
|
8540
|
+
getDetailsList(): Array<string>;
|
|
8541
|
+
setDetailsList(value: Array<string>): AuditLogEntry;
|
|
8542
|
+
clearDetailsList(): AuditLogEntry;
|
|
8543
|
+
addDetails(value: string, index?: number): AuditLogEntry;
|
|
8544
|
+
|
|
8545
|
+
getSuccess(): boolean;
|
|
8546
|
+
setSuccess(value: boolean): AuditLogEntry;
|
|
8547
|
+
|
|
8548
|
+
getReqId(): string;
|
|
8549
|
+
setReqId(value: string): AuditLogEntry;
|
|
8550
|
+
|
|
8551
|
+
getSourceIp(): string;
|
|
8552
|
+
setSourceIp(value: string): AuditLogEntry;
|
|
8553
|
+
|
|
8554
|
+
serializeBinary(): Uint8Array;
|
|
8555
|
+
toObject(includeInstance?: boolean): AuditLogEntry.AsObject;
|
|
8556
|
+
static toObject(includeInstance: boolean, msg: AuditLogEntry): AuditLogEntry.AsObject;
|
|
8557
|
+
static serializeBinaryToWriter(message: AuditLogEntry, writer: jspb.BinaryWriter): void;
|
|
8558
|
+
static deserializeBinary(bytes: Uint8Array): AuditLogEntry;
|
|
8559
|
+
static deserializeBinaryFromReader(message: AuditLogEntry, reader: jspb.BinaryReader): AuditLogEntry;
|
|
8560
|
+
}
|
|
8561
|
+
|
|
8562
|
+
export namespace AuditLogEntry {
|
|
8563
|
+
export type AsObject = {
|
|
8564
|
+
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8565
|
+
user?: User.AsObject,
|
|
8566
|
+
operation: EventType,
|
|
8567
|
+
description: string,
|
|
8568
|
+
targetsList: Array<AuditLogTarget.AsObject>,
|
|
8569
|
+
detailsList: Array<string>,
|
|
8570
|
+
success: boolean,
|
|
8571
|
+
reqId: string,
|
|
8572
|
+
sourceIp: string,
|
|
8573
|
+
}
|
|
8574
|
+
}
|
|
8575
|
+
|
|
8576
|
+
export class AuditLogQuery extends jspb.Message {
|
|
8577
|
+
getTimestampFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
8578
|
+
setTimestampFrom(value?: google_protobuf_timestamp_pb.Timestamp): AuditLogQuery;
|
|
8579
|
+
hasTimestampFrom(): boolean;
|
|
8580
|
+
clearTimestampFrom(): AuditLogQuery;
|
|
8581
|
+
|
|
8582
|
+
getTimestampTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
8583
|
+
setTimestampTo(value?: google_protobuf_timestamp_pb.Timestamp): AuditLogQuery;
|
|
8584
|
+
hasTimestampTo(): boolean;
|
|
8585
|
+
clearTimestampTo(): AuditLogQuery;
|
|
8586
|
+
|
|
8587
|
+
getUserIdsList(): Array<string>;
|
|
8588
|
+
setUserIdsList(value: Array<string>): AuditLogQuery;
|
|
8589
|
+
clearUserIdsList(): AuditLogQuery;
|
|
8590
|
+
addUserIds(value: string, index?: number): AuditLogQuery;
|
|
8591
|
+
|
|
8592
|
+
getOperationsList(): Array<EventType>;
|
|
8593
|
+
setOperationsList(value: Array<EventType>): AuditLogQuery;
|
|
8594
|
+
clearOperationsList(): AuditLogQuery;
|
|
8595
|
+
addOperations(value: EventType, index?: number): AuditLogQuery;
|
|
8596
|
+
|
|
8597
|
+
getTargetsList(): Array<AuditLogTarget>;
|
|
8598
|
+
setTargetsList(value: Array<AuditLogTarget>): AuditLogQuery;
|
|
8599
|
+
clearTargetsList(): AuditLogQuery;
|
|
8600
|
+
addTargets(value?: AuditLogTarget, index?: number): AuditLogTarget;
|
|
8601
|
+
|
|
8602
|
+
getSuccess(): google_protobuf_wrappers_pb.BoolValue | undefined;
|
|
8603
|
+
setSuccess(value?: google_protobuf_wrappers_pb.BoolValue): AuditLogQuery;
|
|
8604
|
+
hasSuccess(): boolean;
|
|
8605
|
+
clearSuccess(): AuditLogQuery;
|
|
8606
|
+
|
|
8607
|
+
getSourceIpsList(): Array<string>;
|
|
8608
|
+
setSourceIpsList(value: Array<string>): AuditLogQuery;
|
|
8609
|
+
clearSourceIpsList(): AuditLogQuery;
|
|
8610
|
+
addSourceIps(value: string, index?: number): AuditLogQuery;
|
|
8611
|
+
|
|
8612
|
+
serializeBinary(): Uint8Array;
|
|
8613
|
+
toObject(includeInstance?: boolean): AuditLogQuery.AsObject;
|
|
8614
|
+
static toObject(includeInstance: boolean, msg: AuditLogQuery): AuditLogQuery.AsObject;
|
|
8615
|
+
static serializeBinaryToWriter(message: AuditLogQuery, writer: jspb.BinaryWriter): void;
|
|
8616
|
+
static deserializeBinary(bytes: Uint8Array): AuditLogQuery;
|
|
8617
|
+
static deserializeBinaryFromReader(message: AuditLogQuery, reader: jspb.BinaryReader): AuditLogQuery;
|
|
8618
|
+
}
|
|
8619
|
+
|
|
8620
|
+
export namespace AuditLogQuery {
|
|
8621
|
+
export type AsObject = {
|
|
8622
|
+
timestampFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8623
|
+
timestampTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8624
|
+
userIdsList: Array<string>,
|
|
8625
|
+
operationsList: Array<EventType>,
|
|
8626
|
+
targetsList: Array<AuditLogTarget.AsObject>,
|
|
8627
|
+
success?: google_protobuf_wrappers_pb.BoolValue.AsObject,
|
|
8628
|
+
sourceIpsList: Array<string>,
|
|
8629
|
+
}
|
|
8630
|
+
}
|
|
8631
|
+
|
|
8463
8632
|
export enum WorkflowModelUseCase {
|
|
8464
8633
|
WORKFLOW_MODEL_USE_CASE_NOT_SET = 0,
|
|
8465
8634
|
CLASSIFICATION = 1,
|
|
@@ -8501,6 +8670,12 @@ export enum LicenseScope {
|
|
|
8501
8670
|
TRAIN = 2,
|
|
8502
8671
|
SEARCH = 3,
|
|
8503
8672
|
}
|
|
8673
|
+
export enum LicenseType {
|
|
8674
|
+
UNKNOWN_LICENSE_TYPE = 0,
|
|
8675
|
+
FIRST_PARTY = 1,
|
|
8676
|
+
OPEN_SOURCE = 2,
|
|
8677
|
+
CLOSED_SOURCE = 3,
|
|
8678
|
+
}
|
|
8504
8679
|
export enum DataType {
|
|
8505
8680
|
UNDEFINED = 0,
|
|
8506
8681
|
STRING = 1,
|
|
@@ -8582,7 +8757,7 @@ export enum RunnerMethodType {
|
|
|
8582
8757
|
STREAMING_UNARY = 3,
|
|
8583
8758
|
STREAMING_STREAMING = 4,
|
|
8584
8759
|
}
|
|
8585
|
-
export enum
|
|
8586
|
-
|
|
8760
|
+
export enum EventType {
|
|
8761
|
+
EVENT_TYPE_NOT_SET = 0,
|
|
8587
8762
|
APPLICATION_CREATE = 100,
|
|
8588
8763
|
}
|