clarifai-web-grpc 10.5.0 → 10.5.2

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.
@@ -178,6 +178,9 @@ proto.clarifai.api.status.StatusCode = {
178
178
  COMPUTE_CLUSTER_DOES_NOT_EXIST: 25800,
179
179
  COMPUTE_CLUSTER_INVALID_ARGUMENT: 25801,
180
180
  COMPUTE_CLUSTER_INVALID_REQUEST: 25802,
181
+ DEPLOYMENT_DOES_NOT_EXIST: 25900,
182
+ DEPLOYMENT_INVALID_ARGUMENT: 25901,
183
+ DEPLOYMENT_INVALID_REQUEST: 25902,
181
184
  INPUT_DOWNLOAD_SUCCESS: 30000,
182
185
  INPUT_DOWNLOAD_PENDING: 30001,
183
186
  INPUT_DOWNLOAD_FAILED: 30002,
@@ -313,7 +313,10 @@ proto.clarifai.auth.scope.S = {
313
313
  NODEPOOLS_DELETE: 138,
314
314
  COMPUTECLUSTERS_GET: 139,
315
315
  COMPUTECLUSTERS_ADD: 140,
316
- COMPUTECLUSTERS_DELETE: 141
316
+ COMPUTECLUSTERS_DELETE: 141,
317
+ DEPLOYMENTS_GET: 144,
318
+ DEPLOYMENTS_ADD: 145,
319
+ DEPLOYMENTS_DELETE: 146
317
320
  };
318
321
  /**
319
322
  * A tuple of {field number, class constructor} for the extension
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.5.0",
3
+ "version": "10.5.2",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1029,30 +1029,6 @@ export namespace KnowledgeGraph {
1029
1029
  }
1030
1030
  }
1031
1031
 
1032
- export class ConceptMappingJob extends jspb.Message {
1033
- getKnowledgeGraphId(): string;
1034
- setKnowledgeGraphId(value: string): ConceptMappingJob;
1035
-
1036
- getConceptIdsList(): Array<string>;
1037
- setConceptIdsList(value: Array<string>): ConceptMappingJob;
1038
- clearConceptIdsList(): ConceptMappingJob;
1039
- addConceptIds(value: string, index?: number): ConceptMappingJob;
1040
-
1041
- serializeBinary(): Uint8Array;
1042
- toObject(includeInstance?: boolean): ConceptMappingJob.AsObject;
1043
- static toObject(includeInstance: boolean, msg: ConceptMappingJob): ConceptMappingJob.AsObject;
1044
- static serializeBinaryToWriter(message: ConceptMappingJob, writer: jspb.BinaryWriter): void;
1045
- static deserializeBinary(bytes: Uint8Array): ConceptMappingJob;
1046
- static deserializeBinaryFromReader(message: ConceptMappingJob, reader: jspb.BinaryReader): ConceptMappingJob;
1047
- }
1048
-
1049
- export namespace ConceptMappingJob {
1050
- export type AsObject = {
1051
- knowledgeGraphId: string,
1052
- conceptIdsList: Array<string>,
1053
- }
1054
- }
1055
-
1056
1032
  export class ConceptLanguage extends jspb.Message {
1057
1033
  getId(): string;
1058
1034
  setId(value: string): ConceptLanguage;
@@ -6214,6 +6190,11 @@ export class TaskMetrics extends jspb.Message {
6214
6190
  hasReview(): boolean;
6215
6191
  clearReview(): TaskMetrics;
6216
6192
 
6193
+ getInputSource(): TaskInputSourceMetrics | undefined;
6194
+ setInputSource(value?: TaskInputSourceMetrics): TaskMetrics;
6195
+ hasInputSource(): boolean;
6196
+ clearInputSource(): TaskMetrics;
6197
+
6217
6198
  serializeBinary(): Uint8Array;
6218
6199
  toObject(includeInstance?: boolean): TaskMetrics.AsObject;
6219
6200
  static toObject(includeInstance: boolean, msg: TaskMetrics): TaskMetrics.AsObject;
@@ -6226,6 +6207,7 @@ export namespace TaskMetrics {
6226
6207
  export type AsObject = {
6227
6208
  work?: TaskWorkMetrics.AsObject,
6228
6209
  review?: TaskReviewMetrics.AsObject,
6210
+ inputSource?: TaskInputSourceMetrics.AsObject,
6229
6211
  }
6230
6212
  }
6231
6213
 
@@ -6273,6 +6255,24 @@ export namespace TaskReviewMetrics {
6273
6255
  }
6274
6256
  }
6275
6257
 
6258
+ export class TaskInputSourceMetrics extends jspb.Message {
6259
+ getInputsCountEstimated(): number;
6260
+ setInputsCountEstimated(value: number): TaskInputSourceMetrics;
6261
+
6262
+ serializeBinary(): Uint8Array;
6263
+ toObject(includeInstance?: boolean): TaskInputSourceMetrics.AsObject;
6264
+ static toObject(includeInstance: boolean, msg: TaskInputSourceMetrics): TaskInputSourceMetrics.AsObject;
6265
+ static serializeBinaryToWriter(message: TaskInputSourceMetrics, writer: jspb.BinaryWriter): void;
6266
+ static deserializeBinary(bytes: Uint8Array): TaskInputSourceMetrics;
6267
+ static deserializeBinaryFromReader(message: TaskInputSourceMetrics, reader: jspb.BinaryReader): TaskInputSourceMetrics;
6268
+ }
6269
+
6270
+ export namespace TaskInputSourceMetrics {
6271
+ export type AsObject = {
6272
+ inputsCountEstimated: number,
6273
+ }
6274
+ }
6275
+
6276
6276
  export class Collector extends jspb.Message {
6277
6277
  getId(): string;
6278
6278
  setId(value: string): Collector;
@@ -8002,6 +8002,9 @@ export class Runner extends jspb.Message {
8002
8002
  hasComputeInfo(): boolean;
8003
8003
  clearComputeInfo(): Runner;
8004
8004
 
8005
+ getNumReplicas(): number;
8006
+ setNumReplicas(value: number): Runner;
8007
+
8005
8008
  serializeBinary(): Uint8Array;
8006
8009
  toObject(includeInstance?: boolean): Runner.AsObject;
8007
8010
  static toObject(includeInstance: boolean, msg: Runner): Runner.AsObject;
@@ -8022,6 +8025,7 @@ export namespace Runner {
8022
8025
  worker?: Worker.AsObject,
8023
8026
  nodepool?: Nodepool.AsObject,
8024
8027
  computeInfo?: ComputeInfo.AsObject,
8028
+ numReplicas: number,
8025
8029
  }
8026
8030
  }
8027
8031
 
@@ -8316,16 +8320,6 @@ export class Deployment extends jspb.Message {
8316
8320
  clearNodepoolsList(): Deployment;
8317
8321
  addNodepools(value?: Nodepool, index?: number): Nodepool;
8318
8322
 
8319
- getModel(): Model | undefined;
8320
- setModel(value?: Model): Deployment;
8321
- hasModel(): boolean;
8322
- clearModel(): Deployment;
8323
-
8324
- getWorkflow(): Workflow | undefined;
8325
- setWorkflow(value?: Workflow): Deployment;
8326
- hasWorkflow(): boolean;
8327
- clearWorkflow(): Deployment;
8328
-
8329
8323
  getSchedulingChoice(): Deployment.SchedulingChoice;
8330
8324
  setSchedulingChoice(value: Deployment.SchedulingChoice): Deployment;
8331
8325
 
@@ -8339,7 +8333,23 @@ export class Deployment extends jspb.Message {
8339
8333
  hasMetadata(): boolean;
8340
8334
  clearMetadata(): Deployment;
8341
8335
 
8342
- getObjectCase(): Deployment.ObjectCase;
8336
+ getDescription(): string;
8337
+ setDescription(value: string): Deployment;
8338
+
8339
+ getWorker(): Worker | undefined;
8340
+ setWorker(value?: Worker): Deployment;
8341
+ hasWorker(): boolean;
8342
+ clearWorker(): Deployment;
8343
+
8344
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
8345
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Deployment;
8346
+ hasCreatedAt(): boolean;
8347
+ clearCreatedAt(): Deployment;
8348
+
8349
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
8350
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Deployment;
8351
+ hasModifiedAt(): boolean;
8352
+ clearModifiedAt(): Deployment;
8343
8353
 
8344
8354
  serializeBinary(): Uint8Array;
8345
8355
  toObject(includeInstance?: boolean): Deployment.AsObject;
@@ -8355,11 +8365,13 @@ export namespace Deployment {
8355
8365
  userId: string,
8356
8366
  autoscaleConfig?: AutoscaleConfig.AsObject,
8357
8367
  nodepoolsList: Array<Nodepool.AsObject>,
8358
- model?: Model.AsObject,
8359
- workflow?: Workflow.AsObject,
8360
8368
  schedulingChoice: Deployment.SchedulingChoice,
8361
8369
  visibility?: Visibility.AsObject,
8362
8370
  metadata?: google_protobuf_struct_pb.Struct.AsObject,
8371
+ description: string,
8372
+ worker?: Worker.AsObject,
8373
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
8374
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
8363
8375
  }
8364
8376
 
8365
8377
  export enum SchedulingChoice {
@@ -8373,12 +8385,6 @@ export namespace Deployment {
8373
8385
  PREFER_SPOT = 7,
8374
8386
  PREFER_ONDEMAND = 8,
8375
8387
  }
8376
-
8377
- export enum ObjectCase {
8378
- OBJECT_NOT_SET = 0,
8379
- MODEL = 5,
8380
- WORKFLOW = 6,
8381
- }
8382
8388
  }
8383
8389
 
8384
8390
  export class RunnerSelector extends jspb.Message {