clarifai-web-grpc 10.9.3 → 10.10.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.
@@ -47,6 +47,7 @@ proto.clarifai.api.status.StatusCode = {
47
47
  CONN_INVALID_REQUEST: 11102,
48
48
  CONN_METHOD_NOT_ALLOWED: 11103,
49
49
  CONN_NO_GDPR_CONSENT: 11104,
50
+ CONN_INVALID_RANGE: 11105,
50
51
  CONN_AUTH_METHOD_DISABLED: 11200,
51
52
  MODEL_TRAINED: 21100,
52
53
  MODEL_TRAINING: 21101,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.9.3",
3
+ "version": "10.10.0",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -216,6 +216,9 @@ export class App extends jspb.Message {
216
216
  hasExtraInfo(): boolean;
217
217
  clearExtraInfo(): App;
218
218
 
219
+ getEmbeddingsStorage(): App.EmbeddingsStorage;
220
+ setEmbeddingsStorage(value: App.EmbeddingsStorage): App;
221
+
219
222
  serializeBinary(): Uint8Array;
220
223
  toObject(includeInstance?: boolean): App.AsObject;
221
224
  static toObject(includeInstance: boolean, msg: App): App.AsObject;
@@ -246,6 +249,13 @@ export namespace App {
246
249
  image?: Image.AsObject,
247
250
  isTemplate?: google_protobuf_wrappers_pb.BoolValue.AsObject,
248
251
  extraInfo?: AppExtraInfo.AsObject,
252
+ embeddingsStorage: App.EmbeddingsStorage,
253
+ }
254
+
255
+ export enum EmbeddingsStorage {
256
+ EMBEDDING_STORAGE_NOT_SET = 0,
257
+ POSTGRES = 1,
258
+ QDRANT = 2,
249
259
  }
250
260
  }
251
261
 
@@ -936,6 +946,9 @@ export class ConceptQuery extends jspb.Message {
936
946
  hasWorkflow(): boolean;
937
947
  clearWorkflow(): ConceptQuery;
938
948
 
949
+ getIgnoreAppConcepts(): boolean;
950
+ setIgnoreAppConcepts(value: boolean): ConceptQuery;
951
+
939
952
  getSourceCase(): ConceptQuery.SourceCase;
940
953
 
941
954
  serializeBinary(): Uint8Array;
@@ -954,6 +967,7 @@ export namespace ConceptQuery {
954
967
  useCasesList: Array<WorkflowModelUseCase>,
955
968
  model?: Model.AsObject,
956
969
  workflow?: Workflow.AsObject,
970
+ ignoreAppConcepts: boolean,
957
971
  }
958
972
 
959
973
  export enum SourceCase {
@@ -4972,6 +4986,11 @@ export class UserDetail extends jspb.Message {
4972
4986
  getState(): string;
4973
4987
  setState(value: string): UserDetail;
4974
4988
 
4989
+ getCommitmentValue(): CommitmentValue | undefined;
4990
+ setCommitmentValue(value?: CommitmentValue): UserDetail;
4991
+ hasCommitmentValue(): boolean;
4992
+ clearCommitmentValue(): UserDetail;
4993
+
4975
4994
  serializeBinary(): Uint8Array;
4976
4995
  toObject(includeInstance?: boolean): UserDetail.AsObject;
4977
4996
  static toObject(includeInstance: boolean, msg: UserDetail): UserDetail.AsObject;
@@ -4994,6 +5013,7 @@ export namespace UserDetail {
4994
5013
  teamsCount: number,
4995
5014
  country: string,
4996
5015
  state: string,
5016
+ commitmentValue?: CommitmentValue.AsObject,
4997
5017
  }
4998
5018
  }
4999
5019
 
@@ -5111,6 +5131,34 @@ export namespace PasswordViolations {
5111
5131
  }
5112
5132
  }
5113
5133
 
5134
+ export class CommitmentValue extends jspb.Message {
5135
+ getValue(): number;
5136
+ setValue(value: number): CommitmentValue;
5137
+
5138
+ getType(): CommitmentValue.CommitmentType;
5139
+ setType(value: CommitmentValue.CommitmentType): CommitmentValue;
5140
+
5141
+ serializeBinary(): Uint8Array;
5142
+ toObject(includeInstance?: boolean): CommitmentValue.AsObject;
5143
+ static toObject(includeInstance: boolean, msg: CommitmentValue): CommitmentValue.AsObject;
5144
+ static serializeBinaryToWriter(message: CommitmentValue, writer: jspb.BinaryWriter): void;
5145
+ static deserializeBinary(bytes: Uint8Array): CommitmentValue;
5146
+ static deserializeBinaryFromReader(message: CommitmentValue, reader: jspb.BinaryReader): CommitmentValue;
5147
+ }
5148
+
5149
+ export namespace CommitmentValue {
5150
+ export type AsObject = {
5151
+ value: number,
5152
+ type: CommitmentValue.CommitmentType,
5153
+ }
5154
+
5155
+ export enum CommitmentType {
5156
+ TYPE_NOT_SET = 0,
5157
+ MONTHLY = 1,
5158
+ ANNUAL = 2,
5159
+ }
5160
+ }
5161
+
5114
5162
  export class Video extends jspb.Message {
5115
5163
  getUrl(): string;
5116
5164
  setUrl(value: string): Video;
@@ -6067,6 +6115,12 @@ export class TaskReviewConsensusStrategyInfo extends jspb.Message {
6067
6115
  getApprovalThreshold(): number;
6068
6116
  setApprovalThreshold(value: number): TaskReviewConsensusStrategyInfo;
6069
6117
 
6118
+ getApprovalThresholdLabelers(): number;
6119
+ setApprovalThresholdLabelers(value: number): TaskReviewConsensusStrategyInfo;
6120
+
6121
+ getApprovalThresholdReviewers(): number;
6122
+ setApprovalThresholdReviewers(value: number): TaskReviewConsensusStrategyInfo;
6123
+
6070
6124
  serializeBinary(): Uint8Array;
6071
6125
  toObject(includeInstance?: boolean): TaskReviewConsensusStrategyInfo.AsObject;
6072
6126
  static toObject(includeInstance: boolean, msg: TaskReviewConsensusStrategyInfo): TaskReviewConsensusStrategyInfo.AsObject;
@@ -6078,6 +6132,8 @@ export class TaskReviewConsensusStrategyInfo extends jspb.Message {
6078
6132
  export namespace TaskReviewConsensusStrategyInfo {
6079
6133
  export type AsObject = {
6080
6134
  approvalThreshold: number,
6135
+ approvalThresholdLabelers: number,
6136
+ approvalThresholdReviewers: number,
6081
6137
  }
6082
6138
  }
6083
6139
 
@@ -6369,6 +6425,98 @@ export namespace TaskInputSourceMetrics {
6369
6425
  }
6370
6426
  }
6371
6427
 
6428
+ export class Role extends jspb.Message {
6429
+ getId(): string;
6430
+ setId(value: string): Role;
6431
+
6432
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6433
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Role;
6434
+ hasCreatedAt(): boolean;
6435
+ clearCreatedAt(): Role;
6436
+
6437
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6438
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Role;
6439
+ hasModifiedAt(): boolean;
6440
+ clearModifiedAt(): Role;
6441
+
6442
+ getName(): string;
6443
+ setName(value: string): Role;
6444
+
6445
+ getDescription(): string;
6446
+ setDescription(value: string): Role;
6447
+
6448
+ getScopesList(): Array<string>;
6449
+ setScopesList(value: Array<string>): Role;
6450
+ clearScopesList(): Role;
6451
+ addScopes(value: string, index?: number): Role;
6452
+
6453
+ getEndpointsList(): Array<string>;
6454
+ setEndpointsList(value: Array<string>): Role;
6455
+ clearEndpointsList(): Role;
6456
+ addEndpoints(value: string, index?: number): Role;
6457
+
6458
+ getType(): RoleType;
6459
+ setType(value: RoleType): Role;
6460
+
6461
+ serializeBinary(): Uint8Array;
6462
+ toObject(includeInstance?: boolean): Role.AsObject;
6463
+ static toObject(includeInstance: boolean, msg: Role): Role.AsObject;
6464
+ static serializeBinaryToWriter(message: Role, writer: jspb.BinaryWriter): void;
6465
+ static deserializeBinary(bytes: Uint8Array): Role;
6466
+ static deserializeBinaryFromReader(message: Role, reader: jspb.BinaryReader): Role;
6467
+ }
6468
+
6469
+ export namespace Role {
6470
+ export type AsObject = {
6471
+ id: string,
6472
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6473
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6474
+ name: string,
6475
+ description: string,
6476
+ scopesList: Array<string>,
6477
+ endpointsList: Array<string>,
6478
+ type: RoleType,
6479
+ }
6480
+ }
6481
+
6482
+ export class Team extends jspb.Message {
6483
+ getId(): string;
6484
+ setId(value: string): Team;
6485
+
6486
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6487
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Team;
6488
+ hasCreatedAt(): boolean;
6489
+ clearCreatedAt(): Team;
6490
+
6491
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6492
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Team;
6493
+ hasModifiedAt(): boolean;
6494
+ clearModifiedAt(): Team;
6495
+
6496
+ getName(): string;
6497
+ setName(value: string): Team;
6498
+
6499
+ getDefaultRoleId(): string;
6500
+ setDefaultRoleId(value: string): Team;
6501
+
6502
+ serializeBinary(): Uint8Array;
6503
+ toObject(includeInstance?: boolean): Team.AsObject;
6504
+ static toObject(includeInstance: boolean, msg: Team): Team.AsObject;
6505
+ static serializeBinaryToWriter(message: Team, writer: jspb.BinaryWriter): void;
6506
+ static deserializeBinary(bytes: Uint8Array): Team;
6507
+ static deserializeBinaryFromReader(message: Team, reader: jspb.BinaryReader): Team;
6508
+ }
6509
+
6510
+ export namespace Team {
6511
+ export type AsObject = {
6512
+ id: string,
6513
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6514
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6515
+ name: string,
6516
+ defaultRoleId: string,
6517
+ }
6518
+ }
6519
+
6372
6520
  export class Collector extends jspb.Message {
6373
6521
  getId(): string;
6374
6522
  setId(value: string): Collector;
@@ -6690,36 +6838,6 @@ export namespace Visibility {
6690
6838
  }
6691
6839
  }
6692
6840
 
6693
- export class TrendingMetric extends jspb.Message {
6694
- getUserId(): string;
6695
- setUserId(value: string): TrendingMetric;
6696
-
6697
- getAppId(): string;
6698
- setAppId(value: string): TrendingMetric;
6699
-
6700
- getObjectId(): string;
6701
- setObjectId(value: string): TrendingMetric;
6702
-
6703
- getViewCount(): number;
6704
- setViewCount(value: number): TrendingMetric;
6705
-
6706
- serializeBinary(): Uint8Array;
6707
- toObject(includeInstance?: boolean): TrendingMetric.AsObject;
6708
- static toObject(includeInstance: boolean, msg: TrendingMetric): TrendingMetric.AsObject;
6709
- static serializeBinaryToWriter(message: TrendingMetric, writer: jspb.BinaryWriter): void;
6710
- static deserializeBinary(bytes: Uint8Array): TrendingMetric;
6711
- static deserializeBinaryFromReader(message: TrendingMetric, reader: jspb.BinaryReader): TrendingMetric;
6712
- }
6713
-
6714
- export namespace TrendingMetric {
6715
- export type AsObject = {
6716
- userId: string,
6717
- appId: string,
6718
- objectId: string,
6719
- viewCount: number,
6720
- }
6721
- }
6722
-
6723
6841
  export class FullTag extends jspb.Message {
6724
6842
  getName(): string;
6725
6843
  setName(value: string): FullTag;
@@ -8363,8 +8481,8 @@ export class AutoscaleConfig extends jspb.Message {
8363
8481
  getScaleUpDelaySeconds(): number;
8364
8482
  setScaleUpDelaySeconds(value: number): AutoscaleConfig;
8365
8483
 
8366
- getEnablePacking(): boolean;
8367
- setEnablePacking(value: boolean): AutoscaleConfig;
8484
+ getDisablePacking(): boolean;
8485
+ setDisablePacking(value: boolean): AutoscaleConfig;
8368
8486
 
8369
8487
  serializeBinary(): Uint8Array;
8370
8488
  toObject(includeInstance?: boolean): AutoscaleConfig.AsObject;
@@ -8381,7 +8499,7 @@ export namespace AutoscaleConfig {
8381
8499
  trafficHistorySeconds: number,
8382
8500
  scaleDownDelaySeconds: number,
8383
8501
  scaleUpDelaySeconds: number,
8384
- enablePacking: boolean,
8502
+ disablePacking: boolean,
8385
8503
  }
8386
8504
  }
8387
8505
 
@@ -8526,10 +8644,20 @@ export namespace ProcessingInfo {
8526
8644
  }
8527
8645
 
8528
8646
  export class AuditLogTarget extends jspb.Message {
8529
- getMember(): User | undefined;
8530
- setMember(value?: User): AuditLogTarget;
8531
- hasMember(): boolean;
8532
- clearMember(): AuditLogTarget;
8647
+ getUser(): User | undefined;
8648
+ setUser(value?: User): AuditLogTarget;
8649
+ hasUser(): boolean;
8650
+ clearUser(): AuditLogTarget;
8651
+
8652
+ getRole(): Role | undefined;
8653
+ setRole(value?: Role): AuditLogTarget;
8654
+ hasRole(): boolean;
8655
+ clearRole(): AuditLogTarget;
8656
+
8657
+ getTeam(): Team | undefined;
8658
+ setTeam(value?: Team): AuditLogTarget;
8659
+ hasTeam(): boolean;
8660
+ clearTeam(): AuditLogTarget;
8533
8661
 
8534
8662
  getTargetCase(): AuditLogTarget.TargetCase;
8535
8663
 
@@ -8543,12 +8671,16 @@ export class AuditLogTarget extends jspb.Message {
8543
8671
 
8544
8672
  export namespace AuditLogTarget {
8545
8673
  export type AsObject = {
8546
- member?: User.AsObject,
8674
+ user?: User.AsObject,
8675
+ role?: Role.AsObject,
8676
+ team?: Team.AsObject,
8547
8677
  }
8548
8678
 
8549
8679
  export enum TargetCase {
8550
8680
  TARGET_NOT_SET = 0,
8551
- MEMBER = 1,
8681
+ USER = 1,
8682
+ ROLE = 2,
8683
+ TEAM = 3,
8552
8684
  }
8553
8685
  }
8554
8686
 
@@ -8881,5 +9013,18 @@ export enum RunnerMethodType {
8881
9013
  }
8882
9014
  export enum EventType {
8883
9015
  EVENT_TYPE_NOT_SET = 0,
8884
- APPLICATION_CREATE = 100,
9016
+ ORGANIZATION_MEMBER_ADD = 100,
9017
+ ORGANIZATION_MEMBER_CHANGE = 101,
9018
+ ORGANIZATION_MEMBER_REMOVE = 102,
9019
+ ORGANIZATION_MEMBER_INVITATION_CREATE = 103,
9020
+ ORGANIZATION_MEMBER_INVITATION_CANCEL = 104,
9021
+ ORGANIZATION_MEMBER_INVITATION_ACCEPT = 105,
9022
+ ORGANIZATION_MEMBER_INVITATION_DECLINE = 106,
9023
+ ORGANIZATION_TEAM_CREATE = 107,
9024
+ ORGANIZATION_TEAM_UPDATE = 108,
9025
+ ORGANIZATION_TEAM_DELETE = 109,
9026
+ ORGANIZATION_TEAM_MEMBER_ADD = 110,
9027
+ ORGANIZATION_TEAM_MEMBER_REMOVE = 111,
9028
+ ORGANIZATION_TEAM_APP_ADD = 112,
9029
+ ORGANIZATION_TEAM_APP_REMOVE = 113,
8885
9030
  }