clarifai-web-grpc 10.10.2 → 10.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.10.2",
3
+ "version": "10.11.1",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -2665,6 +2665,9 @@ export class Model extends jspb.Message {
2665
2665
  getCreator(): string;
2666
2666
  setCreator(value: string): Model;
2667
2667
 
2668
+ getVersionCount(): number;
2669
+ setVersionCount(value: number): Model;
2670
+
2668
2671
  serializeBinary(): Uint8Array;
2669
2672
  toObject(includeInstance?: boolean): Model.AsObject;
2670
2673
  static toObject(includeInstance: boolean, msg: Model): Model.AsObject;
@@ -2705,6 +2708,7 @@ export namespace Model {
2705
2708
  licenseType: LicenseType,
2706
2709
  source: Model.Source,
2707
2710
  creator: string,
2711
+ versionCount: number,
2708
2712
  }
2709
2713
 
2710
2714
  export enum Source {
@@ -3569,6 +3573,9 @@ export class PretrainedModelConfig extends jspb.Message {
3569
3573
  getModelZipUrl(): string;
3570
3574
  setModelZipUrl(value: string): PretrainedModelConfig;
3571
3575
 
3576
+ getLocalDev(): boolean;
3577
+ setLocalDev(value: boolean): PretrainedModelConfig;
3578
+
3572
3579
  serializeBinary(): Uint8Array;
3573
3580
  toObject(includeInstance?: boolean): PretrainedModelConfig.AsObject;
3574
3581
  static toObject(includeInstance: boolean, msg: PretrainedModelConfig): PretrainedModelConfig.AsObject;
@@ -3582,6 +3589,7 @@ export namespace PretrainedModelConfig {
3582
3589
  inputFieldsMap?: google_protobuf_struct_pb.Struct.AsObject,
3583
3590
  outputFieldsMap?: google_protobuf_struct_pb.Struct.AsObject,
3584
3591
  modelZipUrl: string,
3592
+ localDev: boolean,
3585
3593
  }
3586
3594
  }
3587
3595
 
@@ -8669,6 +8677,21 @@ export class AuditLogTarget extends jspb.Message {
8669
8677
  hasTeam(): boolean;
8670
8678
  clearTeam(): AuditLogTarget;
8671
8679
 
8680
+ getApp(): App | undefined;
8681
+ setApp(value?: App): AuditLogTarget;
8682
+ hasApp(): boolean;
8683
+ clearApp(): AuditLogTarget;
8684
+
8685
+ getModule(): Module | undefined;
8686
+ setModule(value?: Module): AuditLogTarget;
8687
+ hasModule(): boolean;
8688
+ clearModule(): AuditLogTarget;
8689
+
8690
+ getModuleVersion(): ModuleVersion | undefined;
8691
+ setModuleVersion(value?: ModuleVersion): AuditLogTarget;
8692
+ hasModuleVersion(): boolean;
8693
+ clearModuleVersion(): AuditLogTarget;
8694
+
8672
8695
  getTargetCase(): AuditLogTarget.TargetCase;
8673
8696
 
8674
8697
  serializeBinary(): Uint8Array;
@@ -8684,6 +8707,9 @@ export namespace AuditLogTarget {
8684
8707
  user?: User.AsObject,
8685
8708
  role?: Role.AsObject,
8686
8709
  team?: Team.AsObject,
8710
+ app?: App.AsObject,
8711
+ module?: Module.AsObject,
8712
+ moduleVersion?: ModuleVersion.AsObject,
8687
8713
  }
8688
8714
 
8689
8715
  export enum TargetCase {
@@ -8691,6 +8717,9 @@ export namespace AuditLogTarget {
8691
8717
  USER = 1,
8692
8718
  ROLE = 2,
8693
8719
  TEAM = 3,
8720
+ APP = 4,
8721
+ MODULE = 5,
8722
+ MODULE_VERSION = 6,
8694
8723
  }
8695
8724
  }
8696
8725
 
@@ -8893,6 +8922,82 @@ export namespace WorkflowVersionEvaluationTemplate {
8893
8922
  }
8894
8923
  }
8895
8924
 
8925
+ export class LogEntry extends jspb.Message {
8926
+ getMessage(): string;
8927
+ setMessage(value: string): LogEntry;
8928
+
8929
+ getLogType(): string;
8930
+ setLogType(value: string): LogEntry;
8931
+
8932
+ getUrl(): string;
8933
+ setUrl(value: string): LogEntry;
8934
+
8935
+ getMeta(): ComputeSourceMetadata | undefined;
8936
+ setMeta(value?: ComputeSourceMetadata): LogEntry;
8937
+ hasMeta(): boolean;
8938
+ clearMeta(): LogEntry;
8939
+
8940
+ serializeBinary(): Uint8Array;
8941
+ toObject(includeInstance?: boolean): LogEntry.AsObject;
8942
+ static toObject(includeInstance: boolean, msg: LogEntry): LogEntry.AsObject;
8943
+ static serializeBinaryToWriter(message: LogEntry, writer: jspb.BinaryWriter): void;
8944
+ static deserializeBinary(bytes: Uint8Array): LogEntry;
8945
+ static deserializeBinaryFromReader(message: LogEntry, reader: jspb.BinaryReader): LogEntry;
8946
+ }
8947
+
8948
+ export namespace LogEntry {
8949
+ export type AsObject = {
8950
+ message: string,
8951
+ logType: string,
8952
+ url: string,
8953
+ meta?: ComputeSourceMetadata.AsObject,
8954
+ }
8955
+ }
8956
+
8957
+ export class ComputeSourceMetadata extends jspb.Message {
8958
+ getUserAppId(): UserAppIDSet | undefined;
8959
+ setUserAppId(value?: UserAppIDSet): ComputeSourceMetadata;
8960
+ hasUserAppId(): boolean;
8961
+ clearUserAppId(): ComputeSourceMetadata;
8962
+
8963
+ getModelId(): string;
8964
+ setModelId(value: string): ComputeSourceMetadata;
8965
+
8966
+ getModelVersionId(): string;
8967
+ setModelVersionId(value: string): ComputeSourceMetadata;
8968
+
8969
+ getWorkflowId(): string;
8970
+ setWorkflowId(value: string): ComputeSourceMetadata;
8971
+
8972
+ getComputeClusterId(): string;
8973
+ setComputeClusterId(value: string): ComputeSourceMetadata;
8974
+
8975
+ getNodepoolId(): string;
8976
+ setNodepoolId(value: string): ComputeSourceMetadata;
8977
+
8978
+ getRunnerId(): string;
8979
+ setRunnerId(value: string): ComputeSourceMetadata;
8980
+
8981
+ serializeBinary(): Uint8Array;
8982
+ toObject(includeInstance?: boolean): ComputeSourceMetadata.AsObject;
8983
+ static toObject(includeInstance: boolean, msg: ComputeSourceMetadata): ComputeSourceMetadata.AsObject;
8984
+ static serializeBinaryToWriter(message: ComputeSourceMetadata, writer: jspb.BinaryWriter): void;
8985
+ static deserializeBinary(bytes: Uint8Array): ComputeSourceMetadata;
8986
+ static deserializeBinaryFromReader(message: ComputeSourceMetadata, reader: jspb.BinaryReader): ComputeSourceMetadata;
8987
+ }
8988
+
8989
+ export namespace ComputeSourceMetadata {
8990
+ export type AsObject = {
8991
+ userAppId?: UserAppIDSet.AsObject,
8992
+ modelId: string,
8993
+ modelVersionId: string,
8994
+ workflowId: string,
8995
+ computeClusterId: string,
8996
+ nodepoolId: string,
8997
+ runnerId: string,
8998
+ }
8999
+ }
9000
+
8896
9001
  export enum WorkflowModelUseCase {
8897
9002
  WORKFLOW_MODEL_USE_CASE_NOT_SET = 0,
8898
9003
  CLASSIFICATION = 1,
@@ -9037,4 +9142,10 @@ export enum EventType {
9037
9142
  ORGANIZATION_TEAM_MEMBER_REMOVE = 111,
9038
9143
  ORGANIZATION_TEAM_APP_ADD = 112,
9039
9144
  ORGANIZATION_TEAM_APP_REMOVE = 113,
9145
+ MODULE_CREATE = 200,
9146
+ MODULE_UPDATE = 201,
9147
+ MODULE_DELETE = 202,
9148
+ MODULE_VERSION_CREATE = 203,
9149
+ MODULE_VERSION_UPDATE = 204,
9150
+ MODULE_VERSION_DELETE = 205,
9040
9151
  }