clarifai-web-grpc 10.9.4 → 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.4",
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;
@@ -6377,6 +6425,98 @@ export namespace TaskInputSourceMetrics {
6377
6425
  }
6378
6426
  }
6379
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
+
6380
6520
  export class Collector extends jspb.Message {
6381
6521
  getId(): string;
6382
6522
  setId(value: string): Collector;
@@ -6698,36 +6838,6 @@ export namespace Visibility {
6698
6838
  }
6699
6839
  }
6700
6840
 
6701
- export class TrendingMetric extends jspb.Message {
6702
- getUserId(): string;
6703
- setUserId(value: string): TrendingMetric;
6704
-
6705
- getAppId(): string;
6706
- setAppId(value: string): TrendingMetric;
6707
-
6708
- getObjectId(): string;
6709
- setObjectId(value: string): TrendingMetric;
6710
-
6711
- getViewCount(): number;
6712
- setViewCount(value: number): TrendingMetric;
6713
-
6714
- serializeBinary(): Uint8Array;
6715
- toObject(includeInstance?: boolean): TrendingMetric.AsObject;
6716
- static toObject(includeInstance: boolean, msg: TrendingMetric): TrendingMetric.AsObject;
6717
- static serializeBinaryToWriter(message: TrendingMetric, writer: jspb.BinaryWriter): void;
6718
- static deserializeBinary(bytes: Uint8Array): TrendingMetric;
6719
- static deserializeBinaryFromReader(message: TrendingMetric, reader: jspb.BinaryReader): TrendingMetric;
6720
- }
6721
-
6722
- export namespace TrendingMetric {
6723
- export type AsObject = {
6724
- userId: string,
6725
- appId: string,
6726
- objectId: string,
6727
- viewCount: number,
6728
- }
6729
- }
6730
-
6731
6841
  export class FullTag extends jspb.Message {
6732
6842
  getName(): string;
6733
6843
  setName(value: string): FullTag;
@@ -8371,8 +8481,8 @@ export class AutoscaleConfig extends jspb.Message {
8371
8481
  getScaleUpDelaySeconds(): number;
8372
8482
  setScaleUpDelaySeconds(value: number): AutoscaleConfig;
8373
8483
 
8374
- getEnablePacking(): boolean;
8375
- setEnablePacking(value: boolean): AutoscaleConfig;
8484
+ getDisablePacking(): boolean;
8485
+ setDisablePacking(value: boolean): AutoscaleConfig;
8376
8486
 
8377
8487
  serializeBinary(): Uint8Array;
8378
8488
  toObject(includeInstance?: boolean): AutoscaleConfig.AsObject;
@@ -8389,7 +8499,7 @@ export namespace AutoscaleConfig {
8389
8499
  trafficHistorySeconds: number,
8390
8500
  scaleDownDelaySeconds: number,
8391
8501
  scaleUpDelaySeconds: number,
8392
- enablePacking: boolean,
8502
+ disablePacking: boolean,
8393
8503
  }
8394
8504
  }
8395
8505
 
@@ -8534,10 +8644,20 @@ export namespace ProcessingInfo {
8534
8644
  }
8535
8645
 
8536
8646
  export class AuditLogTarget extends jspb.Message {
8537
- getMember(): User | undefined;
8538
- setMember(value?: User): AuditLogTarget;
8539
- hasMember(): boolean;
8540
- 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;
8541
8661
 
8542
8662
  getTargetCase(): AuditLogTarget.TargetCase;
8543
8663
 
@@ -8551,12 +8671,16 @@ export class AuditLogTarget extends jspb.Message {
8551
8671
 
8552
8672
  export namespace AuditLogTarget {
8553
8673
  export type AsObject = {
8554
- member?: User.AsObject,
8674
+ user?: User.AsObject,
8675
+ role?: Role.AsObject,
8676
+ team?: Team.AsObject,
8555
8677
  }
8556
8678
 
8557
8679
  export enum TargetCase {
8558
8680
  TARGET_NOT_SET = 0,
8559
- MEMBER = 1,
8681
+ USER = 1,
8682
+ ROLE = 2,
8683
+ TEAM = 3,
8560
8684
  }
8561
8685
  }
8562
8686
 
@@ -8889,5 +9013,18 @@ export enum RunnerMethodType {
8889
9013
  }
8890
9014
  export enum EventType {
8891
9015
  EVENT_TYPE_NOT_SET = 0,
8892
- 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,
8893
9030
  }