clarifai-web-grpc 10.9.4 → 10.10.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.
@@ -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.1",
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;
@@ -5778,6 +5826,11 @@ export class Task extends jspb.Message {
5778
5826
  getPriority(): Task.TaskPriority;
5779
5827
  setPriority(value: Task.TaskPriority): Task;
5780
5828
 
5829
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
5830
+ setMetadata(value?: google_protobuf_struct_pb.Struct): Task;
5831
+ hasMetadata(): boolean;
5832
+ clearMetadata(): Task;
5833
+
5781
5834
  serializeBinary(): Uint8Array;
5782
5835
  toObject(includeInstance?: boolean): Task.AsObject;
5783
5836
  static toObject(includeInstance: boolean, msg: Task): Task.AsObject;
@@ -5810,6 +5863,7 @@ export namespace Task {
5810
5863
  deletePreviousAnnotations: boolean,
5811
5864
  metrics?: TaskMetrics.AsObject,
5812
5865
  priority: Task.TaskPriority,
5866
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
5813
5867
  }
5814
5868
 
5815
5869
  export enum TaskType {
@@ -6377,6 +6431,98 @@ export namespace TaskInputSourceMetrics {
6377
6431
  }
6378
6432
  }
6379
6433
 
6434
+ export class Role extends jspb.Message {
6435
+ getId(): string;
6436
+ setId(value: string): Role;
6437
+
6438
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6439
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Role;
6440
+ hasCreatedAt(): boolean;
6441
+ clearCreatedAt(): Role;
6442
+
6443
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6444
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Role;
6445
+ hasModifiedAt(): boolean;
6446
+ clearModifiedAt(): Role;
6447
+
6448
+ getName(): string;
6449
+ setName(value: string): Role;
6450
+
6451
+ getDescription(): string;
6452
+ setDescription(value: string): Role;
6453
+
6454
+ getScopesList(): Array<string>;
6455
+ setScopesList(value: Array<string>): Role;
6456
+ clearScopesList(): Role;
6457
+ addScopes(value: string, index?: number): Role;
6458
+
6459
+ getEndpointsList(): Array<string>;
6460
+ setEndpointsList(value: Array<string>): Role;
6461
+ clearEndpointsList(): Role;
6462
+ addEndpoints(value: string, index?: number): Role;
6463
+
6464
+ getType(): RoleType;
6465
+ setType(value: RoleType): Role;
6466
+
6467
+ serializeBinary(): Uint8Array;
6468
+ toObject(includeInstance?: boolean): Role.AsObject;
6469
+ static toObject(includeInstance: boolean, msg: Role): Role.AsObject;
6470
+ static serializeBinaryToWriter(message: Role, writer: jspb.BinaryWriter): void;
6471
+ static deserializeBinary(bytes: Uint8Array): Role;
6472
+ static deserializeBinaryFromReader(message: Role, reader: jspb.BinaryReader): Role;
6473
+ }
6474
+
6475
+ export namespace Role {
6476
+ export type AsObject = {
6477
+ id: string,
6478
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6479
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6480
+ name: string,
6481
+ description: string,
6482
+ scopesList: Array<string>,
6483
+ endpointsList: Array<string>,
6484
+ type: RoleType,
6485
+ }
6486
+ }
6487
+
6488
+ export class Team extends jspb.Message {
6489
+ getId(): string;
6490
+ setId(value: string): Team;
6491
+
6492
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6493
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Team;
6494
+ hasCreatedAt(): boolean;
6495
+ clearCreatedAt(): Team;
6496
+
6497
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6498
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Team;
6499
+ hasModifiedAt(): boolean;
6500
+ clearModifiedAt(): Team;
6501
+
6502
+ getName(): string;
6503
+ setName(value: string): Team;
6504
+
6505
+ getDefaultRoleId(): string;
6506
+ setDefaultRoleId(value: string): Team;
6507
+
6508
+ serializeBinary(): Uint8Array;
6509
+ toObject(includeInstance?: boolean): Team.AsObject;
6510
+ static toObject(includeInstance: boolean, msg: Team): Team.AsObject;
6511
+ static serializeBinaryToWriter(message: Team, writer: jspb.BinaryWriter): void;
6512
+ static deserializeBinary(bytes: Uint8Array): Team;
6513
+ static deserializeBinaryFromReader(message: Team, reader: jspb.BinaryReader): Team;
6514
+ }
6515
+
6516
+ export namespace Team {
6517
+ export type AsObject = {
6518
+ id: string,
6519
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6520
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6521
+ name: string,
6522
+ defaultRoleId: string,
6523
+ }
6524
+ }
6525
+
6380
6526
  export class Collector extends jspb.Message {
6381
6527
  getId(): string;
6382
6528
  setId(value: string): Collector;
@@ -6698,36 +6844,6 @@ export namespace Visibility {
6698
6844
  }
6699
6845
  }
6700
6846
 
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
6847
  export class FullTag extends jspb.Message {
6732
6848
  getName(): string;
6733
6849
  setName(value: string): FullTag;
@@ -8371,8 +8487,8 @@ export class AutoscaleConfig extends jspb.Message {
8371
8487
  getScaleUpDelaySeconds(): number;
8372
8488
  setScaleUpDelaySeconds(value: number): AutoscaleConfig;
8373
8489
 
8374
- getEnablePacking(): boolean;
8375
- setEnablePacking(value: boolean): AutoscaleConfig;
8490
+ getDisablePacking(): boolean;
8491
+ setDisablePacking(value: boolean): AutoscaleConfig;
8376
8492
 
8377
8493
  serializeBinary(): Uint8Array;
8378
8494
  toObject(includeInstance?: boolean): AutoscaleConfig.AsObject;
@@ -8389,7 +8505,7 @@ export namespace AutoscaleConfig {
8389
8505
  trafficHistorySeconds: number,
8390
8506
  scaleDownDelaySeconds: number,
8391
8507
  scaleUpDelaySeconds: number,
8392
- enablePacking: boolean,
8508
+ disablePacking: boolean,
8393
8509
  }
8394
8510
  }
8395
8511
 
@@ -8534,10 +8650,20 @@ export namespace ProcessingInfo {
8534
8650
  }
8535
8651
 
8536
8652
  export class AuditLogTarget extends jspb.Message {
8537
- getMember(): User | undefined;
8538
- setMember(value?: User): AuditLogTarget;
8539
- hasMember(): boolean;
8540
- clearMember(): AuditLogTarget;
8653
+ getUser(): User | undefined;
8654
+ setUser(value?: User): AuditLogTarget;
8655
+ hasUser(): boolean;
8656
+ clearUser(): AuditLogTarget;
8657
+
8658
+ getRole(): Role | undefined;
8659
+ setRole(value?: Role): AuditLogTarget;
8660
+ hasRole(): boolean;
8661
+ clearRole(): AuditLogTarget;
8662
+
8663
+ getTeam(): Team | undefined;
8664
+ setTeam(value?: Team): AuditLogTarget;
8665
+ hasTeam(): boolean;
8666
+ clearTeam(): AuditLogTarget;
8541
8667
 
8542
8668
  getTargetCase(): AuditLogTarget.TargetCase;
8543
8669
 
@@ -8551,12 +8677,16 @@ export class AuditLogTarget extends jspb.Message {
8551
8677
 
8552
8678
  export namespace AuditLogTarget {
8553
8679
  export type AsObject = {
8554
- member?: User.AsObject,
8680
+ user?: User.AsObject,
8681
+ role?: Role.AsObject,
8682
+ team?: Team.AsObject,
8555
8683
  }
8556
8684
 
8557
8685
  export enum TargetCase {
8558
8686
  TARGET_NOT_SET = 0,
8559
- MEMBER = 1,
8687
+ USER = 1,
8688
+ ROLE = 2,
8689
+ TEAM = 3,
8560
8690
  }
8561
8691
  }
8562
8692
 
@@ -8889,5 +9019,18 @@ export enum RunnerMethodType {
8889
9019
  }
8890
9020
  export enum EventType {
8891
9021
  EVENT_TYPE_NOT_SET = 0,
8892
- APPLICATION_CREATE = 100,
9022
+ ORGANIZATION_MEMBER_ADD = 100,
9023
+ ORGANIZATION_MEMBER_CHANGE = 101,
9024
+ ORGANIZATION_MEMBER_REMOVE = 102,
9025
+ ORGANIZATION_MEMBER_INVITATION_CREATE = 103,
9026
+ ORGANIZATION_MEMBER_INVITATION_CANCEL = 104,
9027
+ ORGANIZATION_MEMBER_INVITATION_ACCEPT = 105,
9028
+ ORGANIZATION_MEMBER_INVITATION_DECLINE = 106,
9029
+ ORGANIZATION_TEAM_CREATE = 107,
9030
+ ORGANIZATION_TEAM_UPDATE = 108,
9031
+ ORGANIZATION_TEAM_DELETE = 109,
9032
+ ORGANIZATION_TEAM_MEMBER_ADD = 110,
9033
+ ORGANIZATION_TEAM_MEMBER_REMOVE = 111,
9034
+ ORGANIZATION_TEAM_APP_ADD = 112,
9035
+ ORGANIZATION_TEAM_APP_REMOVE = 113,
8893
9036
  }