clarifai-web-grpc 11.5.2 → 11.6.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.
@@ -423,6 +423,7 @@ proto.clarifai.api.status.StatusCode = {
423
423
  INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
424
424
  INTERNAL_ORACLE_UNCATEGORIZED: 98019,
425
425
  INTERNAL_VULTR_UNCATEGORIZED: 98020,
426
+ INTERNAL_GCP_UNCATEGORIZED: 98021,
426
427
  CONN_UNCATEGORIZED: 99001,
427
428
  MODEL_UNCATEGORIZED: 99002,
428
429
  INPUT_UNCATEGORIZED: 99003,
@@ -324,9 +324,13 @@ proto.clarifai.auth.scope.S = {
324
324
  WORKFLOWVERSIONEVALUATIONS_ADD: 153,
325
325
  PIPELINES_GET: 154,
326
326
  PIPELINES_ADD: 155,
327
+ PIPELINES_DELETE: 156,
327
328
  PIPELINESTEPS_GET: 157,
328
329
  PIPELINESTEPS_ADD: 158,
329
- PIPELINESTEPS_PULL: 159
330
+ PIPELINESTEPS_PULL: 159,
331
+ SECRETS_GET: 160,
332
+ SECRETS_ADD: 161,
333
+ SECRETS_DELETE: 162
330
334
  };
331
335
  /**
332
336
  * 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": "11.5.2",
3
+ "version": "11.6.0",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -2712,6 +2712,12 @@ export class Model extends jspb.Message {
2712
2712
  hasFeaturedOrder(): boolean;
2713
2713
  clearFeaturedOrder(): Model;
2714
2714
 
2715
+ getDeployRestriction(): DeployRestriction;
2716
+ setDeployRestriction(value: DeployRestriction): Model;
2717
+
2718
+ getReplicaCount(): number;
2719
+ setReplicaCount(value: number): Model;
2720
+
2715
2721
  serializeBinary(): Uint8Array;
2716
2722
  toObject(includeInstance?: boolean): Model.AsObject;
2717
2723
  static toObject(includeInstance: boolean, msg: Model): Model.AsObject;
@@ -2755,6 +2761,8 @@ export namespace Model {
2755
2761
  versionCount: number,
2756
2762
  billingType: Model.BillingType,
2757
2763
  featuredOrder?: google_protobuf_wrappers_pb.Int32Value.AsObject,
2764
+ deployRestriction: DeployRestriction,
2765
+ replicaCount: number,
2758
2766
  }
2759
2767
 
2760
2768
  export enum Source {
@@ -6316,6 +6324,11 @@ export class TaskAIAssistant extends jspb.Message {
6316
6324
  getWorkflowId(): string;
6317
6325
  setWorkflowId(value: string): TaskAIAssistant;
6318
6326
 
6327
+ getWorkflow(): Workflow | undefined;
6328
+ setWorkflow(value?: Workflow): TaskAIAssistant;
6329
+ hasWorkflow(): boolean;
6330
+ clearWorkflow(): TaskAIAssistant;
6331
+
6319
6332
  serializeBinary(): Uint8Array;
6320
6333
  toObject(includeInstance?: boolean): TaskAIAssistant.AsObject;
6321
6334
  static toObject(includeInstance: boolean, msg: TaskAIAssistant): TaskAIAssistant.AsObject;
@@ -6327,6 +6340,7 @@ export class TaskAIAssistant extends jspb.Message {
6327
6340
  export namespace TaskAIAssistant {
6328
6341
  export type AsObject = {
6329
6342
  workflowId: string,
6343
+ workflow?: Workflow.AsObject,
6330
6344
  }
6331
6345
  }
6332
6346
 
@@ -9620,6 +9634,38 @@ export namespace EvaluationMetricValue {
9620
9634
  }
9621
9635
  }
9622
9636
 
9637
+ export class InputEvaluationMetricValue extends jspb.Message {
9638
+ getEvaluationMetricId(): string;
9639
+ setEvaluationMetricId(value: string): InputEvaluationMetricValue;
9640
+
9641
+ getMetricValue(): MetricValue | undefined;
9642
+ setMetricValue(value?: MetricValue): InputEvaluationMetricValue;
9643
+ hasMetricValue(): boolean;
9644
+ clearMetricValue(): InputEvaluationMetricValue;
9645
+
9646
+ getExplanation(): string;
9647
+ setExplanation(value: string): InputEvaluationMetricValue;
9648
+
9649
+ getPerRegionValuesMap(): jspb.Map<string, MetricValue>;
9650
+ clearPerRegionValuesMap(): InputEvaluationMetricValue;
9651
+
9652
+ serializeBinary(): Uint8Array;
9653
+ toObject(includeInstance?: boolean): InputEvaluationMetricValue.AsObject;
9654
+ static toObject(includeInstance: boolean, msg: InputEvaluationMetricValue): InputEvaluationMetricValue.AsObject;
9655
+ static serializeBinaryToWriter(message: InputEvaluationMetricValue, writer: jspb.BinaryWriter): void;
9656
+ static deserializeBinary(bytes: Uint8Array): InputEvaluationMetricValue;
9657
+ static deserializeBinaryFromReader(message: InputEvaluationMetricValue, reader: jspb.BinaryReader): InputEvaluationMetricValue;
9658
+ }
9659
+
9660
+ export namespace InputEvaluationMetricValue {
9661
+ export type AsObject = {
9662
+ evaluationMetricId: string,
9663
+ metricValue?: MetricValue.AsObject,
9664
+ explanation: string,
9665
+ perRegionValuesMap: Array<[string, MetricValue.AsObject]>,
9666
+ }
9667
+ }
9668
+
9623
9669
  export class MetricValue extends jspb.Message {
9624
9670
  getStringValue(): string;
9625
9671
  setStringValue(value: string): MetricValue;
@@ -9655,6 +9701,68 @@ export namespace MetricValue {
9655
9701
  }
9656
9702
  }
9657
9703
 
9704
+ export class WorkflowEvaluationInputResult extends jspb.Message {
9705
+ getInputEvaluationMetricValuesList(): Array<InputEvaluationMetricValue>;
9706
+ setInputEvaluationMetricValuesList(value: Array<InputEvaluationMetricValue>): WorkflowEvaluationInputResult;
9707
+ clearInputEvaluationMetricValuesList(): WorkflowEvaluationInputResult;
9708
+ addInputEvaluationMetricValues(value?: InputEvaluationMetricValue, index?: number): InputEvaluationMetricValue;
9709
+
9710
+ serializeBinary(): Uint8Array;
9711
+ toObject(includeInstance?: boolean): WorkflowEvaluationInputResult.AsObject;
9712
+ static toObject(includeInstance: boolean, msg: WorkflowEvaluationInputResult): WorkflowEvaluationInputResult.AsObject;
9713
+ static serializeBinaryToWriter(message: WorkflowEvaluationInputResult, writer: jspb.BinaryWriter): void;
9714
+ static deserializeBinary(bytes: Uint8Array): WorkflowEvaluationInputResult;
9715
+ static deserializeBinaryFromReader(message: WorkflowEvaluationInputResult, reader: jspb.BinaryReader): WorkflowEvaluationInputResult;
9716
+ }
9717
+
9718
+ export namespace WorkflowEvaluationInputResult {
9719
+ export type AsObject = {
9720
+ inputEvaluationMetricValuesList: Array<InputEvaluationMetricValue.AsObject>,
9721
+ }
9722
+ }
9723
+
9724
+ export class WorkflowVersionEvaluationData extends jspb.Message {
9725
+ getId(): string;
9726
+ setId(value: string): WorkflowVersionEvaluationData;
9727
+
9728
+ getInput(): Input | undefined;
9729
+ setInput(value?: Input): WorkflowVersionEvaluationData;
9730
+ hasInput(): boolean;
9731
+ clearInput(): WorkflowVersionEvaluationData;
9732
+
9733
+ getGroundTruthsList(): Array<Data>;
9734
+ setGroundTruthsList(value: Array<Data>): WorkflowVersionEvaluationData;
9735
+ clearGroundTruthsList(): WorkflowVersionEvaluationData;
9736
+ addGroundTruths(value?: Data, index?: number): Data;
9737
+
9738
+ getPredictionsList(): Array<Data>;
9739
+ setPredictionsList(value: Array<Data>): WorkflowVersionEvaluationData;
9740
+ clearPredictionsList(): WorkflowVersionEvaluationData;
9741
+ addPredictions(value?: Data, index?: number): Data;
9742
+
9743
+ getWorkflowEvaluationSampleResult(): WorkflowEvaluationInputResult | undefined;
9744
+ setWorkflowEvaluationSampleResult(value?: WorkflowEvaluationInputResult): WorkflowVersionEvaluationData;
9745
+ hasWorkflowEvaluationSampleResult(): boolean;
9746
+ clearWorkflowEvaluationSampleResult(): WorkflowVersionEvaluationData;
9747
+
9748
+ serializeBinary(): Uint8Array;
9749
+ toObject(includeInstance?: boolean): WorkflowVersionEvaluationData.AsObject;
9750
+ static toObject(includeInstance: boolean, msg: WorkflowVersionEvaluationData): WorkflowVersionEvaluationData.AsObject;
9751
+ static serializeBinaryToWriter(message: WorkflowVersionEvaluationData, writer: jspb.BinaryWriter): void;
9752
+ static deserializeBinary(bytes: Uint8Array): WorkflowVersionEvaluationData;
9753
+ static deserializeBinaryFromReader(message: WorkflowVersionEvaluationData, reader: jspb.BinaryReader): WorkflowVersionEvaluationData;
9754
+ }
9755
+
9756
+ export namespace WorkflowVersionEvaluationData {
9757
+ export type AsObject = {
9758
+ id: string,
9759
+ input?: Input.AsObject,
9760
+ groundTruthsList: Array<Data.AsObject>,
9761
+ predictionsList: Array<Data.AsObject>,
9762
+ workflowEvaluationSampleResult?: WorkflowEvaluationInputResult.AsObject,
9763
+ }
9764
+ }
9765
+
9658
9766
  export class ArgoOrchestrationSpec extends jspb.Message {
9659
9767
  getApiVersion(): string;
9660
9768
  setApiVersion(value: string): ArgoOrchestrationSpec;
@@ -9919,6 +10027,70 @@ export namespace PipelineStepVersion {
9919
10027
  }
9920
10028
  }
9921
10029
 
10030
+ export class Pipeline extends jspb.Message {
10031
+ getId(): string;
10032
+ setId(value: string): Pipeline;
10033
+
10034
+ getUserId(): string;
10035
+ setUserId(value: string): Pipeline;
10036
+
10037
+ getAppId(): string;
10038
+ setAppId(value: string): Pipeline;
10039
+
10040
+ getPipelineVersion(): PipelineVersion | undefined;
10041
+ setPipelineVersion(value?: PipelineVersion): Pipeline;
10042
+ hasPipelineVersion(): boolean;
10043
+ clearPipelineVersion(): Pipeline;
10044
+
10045
+ getDescription(): string;
10046
+ setDescription(value: string): Pipeline;
10047
+
10048
+ getVisibility(): Visibility | undefined;
10049
+ setVisibility(value?: Visibility): Pipeline;
10050
+ hasVisibility(): boolean;
10051
+ clearVisibility(): Pipeline;
10052
+
10053
+ getNotes(): string;
10054
+ setNotes(value: string): Pipeline;
10055
+
10056
+ getMetadata(): google_protobuf_struct_pb.Struct | undefined;
10057
+ setMetadata(value?: google_protobuf_struct_pb.Struct): Pipeline;
10058
+ hasMetadata(): boolean;
10059
+ clearMetadata(): Pipeline;
10060
+
10061
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10062
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Pipeline;
10063
+ hasCreatedAt(): boolean;
10064
+ clearCreatedAt(): Pipeline;
10065
+
10066
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10067
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Pipeline;
10068
+ hasModifiedAt(): boolean;
10069
+ clearModifiedAt(): Pipeline;
10070
+
10071
+ serializeBinary(): Uint8Array;
10072
+ toObject(includeInstance?: boolean): Pipeline.AsObject;
10073
+ static toObject(includeInstance: boolean, msg: Pipeline): Pipeline.AsObject;
10074
+ static serializeBinaryToWriter(message: Pipeline, writer: jspb.BinaryWriter): void;
10075
+ static deserializeBinary(bytes: Uint8Array): Pipeline;
10076
+ static deserializeBinaryFromReader(message: Pipeline, reader: jspb.BinaryReader): Pipeline;
10077
+ }
10078
+
10079
+ export namespace Pipeline {
10080
+ export type AsObject = {
10081
+ id: string,
10082
+ userId: string,
10083
+ appId: string,
10084
+ pipelineVersion?: PipelineVersion.AsObject,
10085
+ description: string,
10086
+ visibility?: Visibility.AsObject,
10087
+ notes: string,
10088
+ metadata?: google_protobuf_struct_pb.Struct.AsObject,
10089
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10090
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10091
+ }
10092
+ }
10093
+
9922
10094
  export class PipelineVersion extends jspb.Message {
9923
10095
  getId(): string;
9924
10096
  setId(value: string): PipelineVersion;
@@ -10059,6 +10231,16 @@ export class PipelineVersionRun extends jspb.Message {
10059
10231
  getAppId(): string;
10060
10232
  setAppId(value: string): PipelineVersionRun;
10061
10233
 
10234
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10235
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersionRun;
10236
+ hasCreatedAt(): boolean;
10237
+ clearCreatedAt(): PipelineVersionRun;
10238
+
10239
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10240
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersionRun;
10241
+ hasModifiedAt(): boolean;
10242
+ clearModifiedAt(): PipelineVersionRun;
10243
+
10062
10244
  serializeBinary(): Uint8Array;
10063
10245
  toObject(includeInstance?: boolean): PipelineVersionRun.AsObject;
10064
10246
  static toObject(includeInstance: boolean, msg: PipelineVersionRun): PipelineVersionRun.AsObject;
@@ -10075,6 +10257,70 @@ export namespace PipelineVersionRun {
10075
10257
  orchestrationStatus?: OrchestrationStatus.AsObject,
10076
10258
  userId: string,
10077
10259
  appId: string,
10260
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10261
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10262
+ }
10263
+ }
10264
+
10265
+ export class Secret extends jspb.Message {
10266
+ getId(): string;
10267
+ setId(value: string): Secret;
10268
+
10269
+ getAppId(): string;
10270
+ setAppId(value: string): Secret;
10271
+
10272
+ getName(): string;
10273
+ setName(value: string): Secret;
10274
+
10275
+ getValue(): string;
10276
+ setValue(value: string): Secret;
10277
+
10278
+ getVersion(): number;
10279
+ setVersion(value: number): Secret;
10280
+
10281
+ getDescription(): string;
10282
+ setDescription(value: string): Secret;
10283
+
10284
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10285
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Secret;
10286
+ hasCreatedAt(): boolean;
10287
+ clearCreatedAt(): Secret;
10288
+
10289
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10290
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Secret;
10291
+ hasModifiedAt(): boolean;
10292
+ clearModifiedAt(): Secret;
10293
+
10294
+ getVisibility(): Visibility | undefined;
10295
+ setVisibility(value?: Visibility): Secret;
10296
+ hasVisibility(): boolean;
10297
+ clearVisibility(): Secret;
10298
+
10299
+ getExpiresAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
10300
+ setExpiresAt(value?: google_protobuf_timestamp_pb.Timestamp): Secret;
10301
+ hasExpiresAt(): boolean;
10302
+ clearExpiresAt(): Secret;
10303
+
10304
+ serializeBinary(): Uint8Array;
10305
+ toObject(includeInstance?: boolean): Secret.AsObject;
10306
+ static toObject(includeInstance: boolean, msg: Secret): Secret.AsObject;
10307
+ static serializeBinaryToWriter(message: Secret, writer: jspb.BinaryWriter): void;
10308
+ static deserializeBinary(bytes: Uint8Array): Secret;
10309
+ static deserializeBinaryFromReader(message: Secret, reader: jspb.BinaryReader): Secret;
10310
+ }
10311
+
10312
+ export namespace Secret {
10313
+ export type AsObject = {
10314
+ id: string,
10315
+ appId: string,
10316
+ name: string,
10317
+ value: string,
10318
+ version: number,
10319
+ description: string,
10320
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10321
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10322
+ visibility?: Visibility.AsObject,
10323
+ expiresAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10078
10324
  }
10079
10325
  }
10080
10326
 
@@ -10125,6 +10371,12 @@ export enum LicenseType {
10125
10371
  OPEN_SOURCE = 2,
10126
10372
  CLOSED_SOURCE = 3,
10127
10373
  }
10374
+ export enum DeployRestriction {
10375
+ USAGE_RESTRICTION_NOT_SET = 0,
10376
+ NO_LIMITS = 1,
10377
+ SHARED_COMPUTE_ONLY = 2,
10378
+ DEDICATED_COMPUTE_ONLY = 3,
10379
+ }
10128
10380
  export enum DataType {
10129
10381
  UNDEFINED = 0,
10130
10382
  STRING = 1,