clarifai-web-grpc 5.0.0 → 5.1.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +4 -9
  2. package/README.md +15 -18
  3. package/VERSION +1 -1
  4. package/dist/cjs/proto/clarifai/api/resources_pb.js +1644 -34
  5. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +126 -0
  6. package/dist/cjs/proto/clarifai/api/service_pb.js +1034 -48
  7. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +8 -21
  8. package/dist/cjs/proto/clarifai/api/status/status_pb.js +6 -15
  9. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +6 -15
  10. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +6 -15
  11. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +6 -15
  12. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +6 -15
  13. package/dist/cjs/proto/clarifai/auth/types/types_pb.js +6 -15
  14. package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +6 -15
  15. package/dist/esm/proto/clarifai/api/resources_pb.js +1644 -34
  16. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +126 -0
  17. package/dist/esm/proto/clarifai/api/service_pb.js +1034 -48
  18. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +8 -21
  19. package/dist/esm/proto/clarifai/api/status/status_pb.js +6 -15
  20. package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +6 -15
  21. package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +6 -15
  22. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +6 -15
  23. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +6 -15
  24. package/dist/esm/proto/clarifai/auth/types/types_pb.js +6 -15
  25. package/dist/esm/proto/clarifai/auth/util/extension_pb.js +6 -15
  26. package/package.json +2 -2
  27. package/package.json-E +1 -1
  28. package/proto/clarifai/api/resources_pb.d.ts +251 -6
  29. package/proto/clarifai/api/resources_pb.js +2246 -230
  30. package/proto/clarifai/api/service_grpc_web_pb.d.ts +36 -0
  31. package/proto/clarifai/api/service_grpc_web_pb.js +183 -0
  32. package/proto/clarifai/api/service_pb.d.ts +150 -8
  33. package/proto/clarifai/api/service_pb.js +1278 -62
  34. package/proto/clarifai/api/status/status_code_pb.d.ts +2 -6
  35. package/proto/clarifai/api/status/status_code_pb.js +9 -13
  36. package/proto/clarifai/api/status/status_pb.js +7 -7
  37. package/proto/clarifai/api/utils/extensions_pb.js +7 -7
  38. package/proto/clarifai/api/utils/matrix_pb.js +7 -7
  39. package/proto/clarifai/api/utils/test_proto_pb.js +7 -7
  40. package/proto/clarifai/auth/scope/scope_pb.js +7 -7
  41. package/proto/clarifai/auth/types/types_pb.js +7 -7
  42. package/proto/clarifai/auth/util/extension_pb.js +7 -7
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  goog.exportSymbol('proto.clarifai.api.status.StatusCode', null, global);
32
23
  /**
33
24
  * @enum {number}
@@ -165,12 +156,6 @@ proto.clarifai.api.status.StatusCode = {
165
156
  BULK_OPERATION_CANCELLED: 25405,
166
157
  BULK_OPERATION_UNEXPECTED_ERROR: 25406,
167
158
  BULK_OPERATION_DELETED: 25407,
168
- INPUTS_EXTRACTION_JOB_SUCCESS: 25500,
169
- INPUTS_EXTRACTION_JOB_FAILED: 25501,
170
- INPUTS_EXTRACTION_JOB_PENDING: 25502,
171
- INPUTS_EXTRACTION_JOB_IN_PROGRESS: 25503,
172
- INPUTS_EXTRACTION_JOB_CANCELLED: 25505,
173
- INPUTS_EXTRACTION_JOB_UNEXPECTED_ERROR: 25506,
174
159
  INPUT_DOWNLOAD_SUCCESS: 30000,
175
160
  INPUT_DOWNLOAD_PENDING: 30001,
176
161
  INPUT_DOWNLOAD_FAILED: 30002,
@@ -334,6 +319,8 @@ proto.clarifai.api.status.StatusCode = {
334
319
  JOB_RUNNING: 64001,
335
320
  JOB_COMPLETED: 64002,
336
321
  JOB_FAILED: 64003,
322
+ JOB_CANCELLED: 64004,
323
+ JOB_UNEXPECTED_ERROR: 64006,
337
324
  AUTH_MISSING_IDP_ASSOC: 65000,
338
325
  LIST_OBJECTS_FAILED: 66000,
339
326
  ARCHIVE_EXTRACT_FAILED: 67000,
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  var proto_clarifai_auth_util_extension_pb = require('../../../../proto/clarifai/auth/util/extension_pb.js');
32
23
  goog.object.extend(proto, proto_clarifai_auth_util_extension_pb);
33
24
  var proto_clarifai_api_status_status_code_pb = require('../../../../proto/clarifai/api/status/status_code_pb.js');
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
32
23
  goog.object.extend(proto, google_protobuf_descriptor_pb);
33
24
  goog.exportSymbol('proto.clarifai.api.utils.clDefaultFloat', null, global);
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  goog.exportSymbol('proto.MatrixUint64', null, global);
32
23
  /**
33
24
  * Generated by JsPbCodeGenerator.
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  var proto_clarifai_api_utils_extensions_pb = require('../../../../proto/clarifai/api/utils/extensions_pb.js');
32
23
  goog.object.extend(proto, proto_clarifai_api_utils_extensions_pb);
33
24
  goog.exportSymbol('proto.clarifai.api.utils.TestProto', null, global);
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
32
23
  goog.object.extend(proto, google_protobuf_descriptor_pb);
33
24
  goog.exportSymbol('proto.clarifai.auth.scope.S', null, global);
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  goog.exportSymbol('proto.clarifai.auth.types.AuthType', null, global);
32
23
  /**
33
24
  * @enum {number}
@@ -13,21 +13,12 @@
13
13
  // @ts-nocheck
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function () {
17
- if (this) {
18
- return this;
19
- }
20
- if (typeof window !== 'undefined') {
21
- return window;
22
- }
23
- if (typeof global !== 'undefined') {
24
- return global;
25
- }
26
- if (typeof self !== 'undefined') {
27
- return self;
28
- }
29
- return Function('return this')();
30
- }.call(null));
16
+ var global = (typeof globalThis !== 'undefined' && globalThis) ||
17
+ (typeof window !== 'undefined' && window) ||
18
+ (typeof global !== 'undefined' && global) ||
19
+ (typeof self !== 'undefined' && self) ||
20
+ (function () { return this; }).call(null) ||
21
+ Function('return this')();
31
22
  var proto_clarifai_auth_scope_scope_pb = require('../../../../proto/clarifai/auth/scope/scope_pb.js');
32
23
  goog.object.extend(proto, proto_clarifai_auth_scope_scope_pb);
33
24
  var proto_clarifai_auth_types_types_pb = require('../../../../proto/clarifai/auth/types/types_pb.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -20,7 +20,7 @@
20
20
  "prepare": "husky install"
21
21
  },
22
22
  "dependencies": {
23
- "google-protobuf": "3.19.4",
23
+ "google-protobuf": "3.21.2",
24
24
  "grpc-web": "1.3.1"
25
25
  },
26
26
  "devDependencies": {
package/package.json-E CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "8.10.0",
3
+ "version": "9.0.0",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -148,6 +148,11 @@ export class App extends jspb.Message {
148
148
  getNotes(): string;
149
149
  setNotes(value: string): App;
150
150
 
151
+ getImage(): Image | undefined;
152
+ setImage(value?: Image): App;
153
+ hasImage(): boolean;
154
+ clearImage(): App;
155
+
151
156
  serializeBinary(): Uint8Array;
152
157
  toObject(includeInstance?: boolean): App.AsObject;
153
158
  static toObject(includeInstance: boolean, msg: App): App.AsObject;
@@ -174,6 +179,7 @@ export namespace App {
174
179
  isStarred: boolean,
175
180
  starCount: number,
176
181
  notes: string,
182
+ image?: Image.AsObject,
177
183
  }
178
184
  }
179
185
 
@@ -2695,9 +2701,6 @@ export class ModelType extends jspb.Message {
2695
2701
  getRequiresSequentialFrames(): boolean;
2696
2702
  setRequiresSequentialFrames(value: boolean): ModelType;
2697
2703
 
2698
- getEvaluable(): boolean;
2699
- setEvaluable(value: boolean): ModelType;
2700
-
2701
2704
  getExpectedInputLayersList(): Array<ModelLayerInfo>;
2702
2705
  setExpectedInputLayersList(value: Array<ModelLayerInfo>): ModelType;
2703
2706
  clearExpectedInputLayersList(): ModelType;
@@ -2708,6 +2711,9 @@ export class ModelType extends jspb.Message {
2708
2711
  clearExpectedOutputLayersList(): ModelType;
2709
2712
  addExpectedOutputLayers(value?: ModelLayerInfo, index?: number): ModelLayerInfo;
2710
2713
 
2714
+ getEvaluationType(): EvaluationType;
2715
+ setEvaluationType(value: EvaluationType): ModelType;
2716
+
2711
2717
  serializeBinary(): Uint8Array;
2712
2718
  toObject(includeInstance?: boolean): ModelType.AsObject;
2713
2719
  static toObject(includeInstance: boolean, msg: ModelType): ModelType.AsObject;
@@ -2728,9 +2734,9 @@ export namespace ModelType {
2728
2734
  internalOnly: boolean,
2729
2735
  modelTypeFieldsList: Array<ModelTypeField.AsObject>,
2730
2736
  requiresSequentialFrames: boolean,
2731
- evaluable: boolean,
2732
2737
  expectedInputLayersList: Array<ModelLayerInfo.AsObject>,
2733
2738
  expectedOutputLayersList: Array<ModelLayerInfo.AsObject>,
2739
+ evaluationType: EvaluationType,
2734
2740
  }
2735
2741
  }
2736
2742
 
@@ -2922,6 +2928,9 @@ export class ModelTypeEnumOption extends jspb.Message {
2922
2928
  getInternalOnly(): boolean;
2923
2929
  setInternalOnly(value: boolean): ModelTypeEnumOption;
2924
2930
 
2931
+ getRecommended(): boolean;
2932
+ setRecommended(value: boolean): ModelTypeEnumOption;
2933
+
2925
2934
  serializeBinary(): Uint8Array;
2926
2935
  toObject(includeInstance?: boolean): ModelTypeEnumOption.AsObject;
2927
2936
  static toObject(includeInstance: boolean, msg: ModelTypeEnumOption): ModelTypeEnumOption.AsObject;
@@ -2937,6 +2946,7 @@ export namespace ModelTypeEnumOption {
2937
2946
  description: string,
2938
2947
  modelTypeFieldsList: Array<ModelTypeField.AsObject>,
2939
2948
  internalOnly: boolean,
2949
+ recommended: boolean,
2940
2950
  }
2941
2951
  }
2942
2952
 
@@ -3051,6 +3061,26 @@ export class ModelVersion extends jspb.Message {
3051
3061
  hasDatasetVersion(): boolean;
3052
3062
  clearDatasetVersion(): ModelVersion;
3053
3063
 
3064
+ getOutputInfo(): OutputInfo | undefined;
3065
+ setOutputInfo(value?: OutputInfo): ModelVersion;
3066
+ hasOutputInfo(): boolean;
3067
+ clearOutputInfo(): ModelVersion;
3068
+
3069
+ getInputInfo(): InputInfo | undefined;
3070
+ setInputInfo(value?: InputInfo): ModelVersion;
3071
+ hasInputInfo(): boolean;
3072
+ clearInputInfo(): ModelVersion;
3073
+
3074
+ getTrainInfo(): TrainInfo | undefined;
3075
+ setTrainInfo(value?: TrainInfo): ModelVersion;
3076
+ hasTrainInfo(): boolean;
3077
+ clearTrainInfo(): ModelVersion;
3078
+
3079
+ getImportInfo(): ImportInfo | undefined;
3080
+ setImportInfo(value?: ImportInfo): ModelVersion;
3081
+ hasImportInfo(): boolean;
3082
+ clearImportInfo(): ModelVersion;
3083
+
3054
3084
  serializeBinary(): Uint8Array;
3055
3085
  toObject(includeInstance?: boolean): ModelVersion.AsObject;
3056
3086
  static toObject(includeInstance: boolean, msg: ModelVersion): ModelVersion.AsObject;
@@ -3077,6 +3107,10 @@ export namespace ModelVersion {
3077
3107
  metadata?: google_protobuf_struct_pb.Struct.AsObject,
3078
3108
  license: string,
3079
3109
  datasetVersion?: DatasetVersion.AsObject,
3110
+ outputInfo?: OutputInfo.AsObject,
3111
+ inputInfo?: InputInfo.AsObject,
3112
+ trainInfo?: TrainInfo.AsObject,
3113
+ importInfo?: ImportInfo.AsObject,
3080
3114
  }
3081
3115
  }
3082
3116
 
@@ -5934,6 +5968,11 @@ export class Module extends jspb.Message {
5934
5968
  getAppId(): string;
5935
5969
  setAppId(value: string): Module;
5936
5970
 
5971
+ getModuleVersion(): ModuleVersion | undefined;
5972
+ setModuleVersion(value?: ModuleVersion): Module;
5973
+ hasModuleVersion(): boolean;
5974
+ clearModuleVersion(): Module;
5975
+
5937
5976
  serializeBinary(): Uint8Array;
5938
5977
  toObject(includeInstance?: boolean): Module.AsObject;
5939
5978
  static toObject(includeInstance: boolean, msg: Module): Module.AsObject;
@@ -5952,6 +5991,7 @@ export namespace Module {
5952
5991
  metadata?: google_protobuf_struct_pb.Struct.AsObject,
5953
5992
  userId: string,
5954
5993
  appId: string,
5994
+ moduleVersion?: ModuleVersion.AsObject,
5955
5995
  }
5956
5996
  }
5957
5997
 
@@ -6347,6 +6387,11 @@ export class DeleteConcepts extends jspb.Message {
6347
6387
  clearConceptsList(): DeleteConcepts;
6348
6388
  addConcepts(value?: Concept, index?: number): Concept;
6349
6389
 
6390
+ getUserIdsList(): Array<string>;
6391
+ setUserIdsList(value: Array<string>): DeleteConcepts;
6392
+ clearUserIdsList(): DeleteConcepts;
6393
+ addUserIds(value: string, index?: number): DeleteConcepts;
6394
+
6350
6395
  serializeBinary(): Uint8Array;
6351
6396
  toObject(includeInstance?: boolean): DeleteConcepts.AsObject;
6352
6397
  static toObject(includeInstance: boolean, msg: DeleteConcepts): DeleteConcepts.AsObject;
@@ -6358,6 +6403,7 @@ export class DeleteConcepts extends jspb.Message {
6358
6403
  export namespace DeleteConcepts {
6359
6404
  export type AsObject = {
6360
6405
  conceptsList: Array<Concept.AsObject>,
6406
+ userIdsList: Array<string>,
6361
6407
  }
6362
6408
  }
6363
6409
 
@@ -6463,6 +6509,11 @@ export class InputsAddJob extends jspb.Message {
6463
6509
  hasModifiedAt(): boolean;
6464
6510
  clearModifiedAt(): InputsAddJob;
6465
6511
 
6512
+ getExtractionJobsList(): Array<InputsExtractionJob>;
6513
+ setExtractionJobsList(value: Array<InputsExtractionJob>): InputsAddJob;
6514
+ clearExtractionJobsList(): InputsAddJob;
6515
+ addExtractionJobs(value?: InputsExtractionJob, index?: number): InputsExtractionJob;
6516
+
6466
6517
  serializeBinary(): Uint8Array;
6467
6518
  toObject(includeInstance?: boolean): InputsAddJob.AsObject;
6468
6519
  static toObject(includeInstance: boolean, msg: InputsAddJob): InputsAddJob.AsObject;
@@ -6480,6 +6531,7 @@ export namespace InputsAddJob {
6480
6531
  progress?: InputsAddJobProgress.AsObject,
6481
6532
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6482
6533
  modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6534
+ extractionJobsList: Array<InputsExtractionJob.AsObject>,
6483
6535
  }
6484
6536
  }
6485
6537
 
@@ -6595,6 +6647,195 @@ export namespace UploadContentPart {
6595
6647
  }
6596
6648
  }
6597
6649
 
6650
+ export class InputsExtractionJob extends jspb.Message {
6651
+ getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
6652
+ setStatus(value?: proto_clarifai_api_status_status_pb.Status): InputsExtractionJob;
6653
+ hasStatus(): boolean;
6654
+ clearStatus(): InputsExtractionJob;
6655
+
6656
+ getId(): string;
6657
+ setId(value: string): InputsExtractionJob;
6658
+
6659
+ getUrl(): string;
6660
+ setUrl(value: string): InputsExtractionJob;
6661
+
6662
+ getProgress(): InputsExtractionJobProgress | undefined;
6663
+ setProgress(value?: InputsExtractionJobProgress): InputsExtractionJob;
6664
+ hasProgress(): boolean;
6665
+ clearProgress(): InputsExtractionJob;
6666
+
6667
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6668
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): InputsExtractionJob;
6669
+ hasCreatedAt(): boolean;
6670
+ clearCreatedAt(): InputsExtractionJob;
6671
+
6672
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
6673
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): InputsExtractionJob;
6674
+ hasModifiedAt(): boolean;
6675
+ clearModifiedAt(): InputsExtractionJob;
6676
+
6677
+ serializeBinary(): Uint8Array;
6678
+ toObject(includeInstance?: boolean): InputsExtractionJob.AsObject;
6679
+ static toObject(includeInstance: boolean, msg: InputsExtractionJob): InputsExtractionJob.AsObject;
6680
+ static serializeBinaryToWriter(message: InputsExtractionJob, writer: jspb.BinaryWriter): void;
6681
+ static deserializeBinary(bytes: Uint8Array): InputsExtractionJob;
6682
+ static deserializeBinaryFromReader(message: InputsExtractionJob, reader: jspb.BinaryReader): InputsExtractionJob;
6683
+ }
6684
+
6685
+ export namespace InputsExtractionJob {
6686
+ export type AsObject = {
6687
+ status?: proto_clarifai_api_status_status_pb.Status.AsObject,
6688
+ id: string,
6689
+ url: string,
6690
+ progress?: InputsExtractionJobProgress.AsObject,
6691
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6692
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6693
+ }
6694
+ }
6695
+
6696
+ export class InputsExtractionJobProgress extends jspb.Message {
6697
+ getReadObjectsCount(): number;
6698
+ setReadObjectsCount(value: number): InputsExtractionJobProgress;
6699
+
6700
+ getAudioInputsCount(): number;
6701
+ setAudioInputsCount(value: number): InputsExtractionJobProgress;
6702
+
6703
+ getImageInputsCount(): number;
6704
+ setImageInputsCount(value: number): InputsExtractionJobProgress;
6705
+
6706
+ getVideoInputsCount(): number;
6707
+ setVideoInputsCount(value: number): InputsExtractionJobProgress;
6708
+
6709
+ getTextInputsCount(): number;
6710
+ setTextInputsCount(value: number): InputsExtractionJobProgress;
6711
+
6712
+ serializeBinary(): Uint8Array;
6713
+ toObject(includeInstance?: boolean): InputsExtractionJobProgress.AsObject;
6714
+ static toObject(includeInstance: boolean, msg: InputsExtractionJobProgress): InputsExtractionJobProgress.AsObject;
6715
+ static serializeBinaryToWriter(message: InputsExtractionJobProgress, writer: jspb.BinaryWriter): void;
6716
+ static deserializeBinary(bytes: Uint8Array): InputsExtractionJobProgress;
6717
+ static deserializeBinaryFromReader(message: InputsExtractionJobProgress, reader: jspb.BinaryReader): InputsExtractionJobProgress;
6718
+ }
6719
+
6720
+ export namespace InputsExtractionJobProgress {
6721
+ export type AsObject = {
6722
+ readObjectsCount: number,
6723
+ audioInputsCount: number,
6724
+ imageInputsCount: number,
6725
+ videoInputsCount: number,
6726
+ textInputsCount: number,
6727
+ }
6728
+ }
6729
+
6730
+ export class InputsDataSource extends jspb.Message {
6731
+ getInputsAddJobId(): string;
6732
+ setInputsAddJobId(value: string): InputsDataSource;
6733
+
6734
+ getUrl(): DataSourceURL | undefined;
6735
+ setUrl(value?: DataSourceURL): InputsDataSource;
6736
+ hasUrl(): boolean;
6737
+ clearUrl(): InputsDataSource;
6738
+
6739
+ serializeBinary(): Uint8Array;
6740
+ toObject(includeInstance?: boolean): InputsDataSource.AsObject;
6741
+ static toObject(includeInstance: boolean, msg: InputsDataSource): InputsDataSource.AsObject;
6742
+ static serializeBinaryToWriter(message: InputsDataSource, writer: jspb.BinaryWriter): void;
6743
+ static deserializeBinary(bytes: Uint8Array): InputsDataSource;
6744
+ static deserializeBinaryFromReader(message: InputsDataSource, reader: jspb.BinaryReader): InputsDataSource;
6745
+ }
6746
+
6747
+ export namespace InputsDataSource {
6748
+ export type AsObject = {
6749
+ inputsAddJobId: string,
6750
+ url?: DataSourceURL.AsObject,
6751
+ }
6752
+ }
6753
+
6754
+ export class DataSourceURL extends jspb.Message {
6755
+ getUrl(): string;
6756
+ setUrl(value: string): DataSourceURL;
6757
+
6758
+ getCredentials(): DataSourceCredentials | undefined;
6759
+ setCredentials(value?: DataSourceCredentials): DataSourceURL;
6760
+ hasCredentials(): boolean;
6761
+ clearCredentials(): DataSourceURL;
6762
+
6763
+ serializeBinary(): Uint8Array;
6764
+ toObject(includeInstance?: boolean): DataSourceURL.AsObject;
6765
+ static toObject(includeInstance: boolean, msg: DataSourceURL): DataSourceURL.AsObject;
6766
+ static serializeBinaryToWriter(message: DataSourceURL, writer: jspb.BinaryWriter): void;
6767
+ static deserializeBinary(bytes: Uint8Array): DataSourceURL;
6768
+ static deserializeBinaryFromReader(message: DataSourceURL, reader: jspb.BinaryReader): DataSourceURL;
6769
+ }
6770
+
6771
+ export namespace DataSourceURL {
6772
+ export type AsObject = {
6773
+ url: string,
6774
+ credentials?: DataSourceCredentials.AsObject,
6775
+ }
6776
+ }
6777
+
6778
+ export class DataSourceCredentials extends jspb.Message {
6779
+ getS3Creds(): AWSCreds | undefined;
6780
+ setS3Creds(value?: AWSCreds): DataSourceCredentials;
6781
+ hasS3Creds(): boolean;
6782
+ clearS3Creds(): DataSourceCredentials;
6783
+
6784
+ getGcpCreds(): Uint8Array | string;
6785
+ getGcpCreds_asU8(): Uint8Array;
6786
+ getGcpCreds_asB64(): string;
6787
+ setGcpCreds(value: Uint8Array | string): DataSourceCredentials;
6788
+
6789
+ getAzureBlobCreds(): string;
6790
+ setAzureBlobCreds(value: string): DataSourceCredentials;
6791
+
6792
+ getCredentialsCase(): DataSourceCredentials.CredentialsCase;
6793
+
6794
+ serializeBinary(): Uint8Array;
6795
+ toObject(includeInstance?: boolean): DataSourceCredentials.AsObject;
6796
+ static toObject(includeInstance: boolean, msg: DataSourceCredentials): DataSourceCredentials.AsObject;
6797
+ static serializeBinaryToWriter(message: DataSourceCredentials, writer: jspb.BinaryWriter): void;
6798
+ static deserializeBinary(bytes: Uint8Array): DataSourceCredentials;
6799
+ static deserializeBinaryFromReader(message: DataSourceCredentials, reader: jspb.BinaryReader): DataSourceCredentials;
6800
+ }
6801
+
6802
+ export namespace DataSourceCredentials {
6803
+ export type AsObject = {
6804
+ s3Creds?: AWSCreds.AsObject,
6805
+ gcpCreds: Uint8Array | string,
6806
+ azureBlobCreds: string,
6807
+ }
6808
+
6809
+ export enum CredentialsCase {
6810
+ CREDENTIALS_NOT_SET = 0,
6811
+ S3_CREDS = 1,
6812
+ GCP_CREDS = 2,
6813
+ AZURE_BLOB_CREDS = 3,
6814
+ }
6815
+ }
6816
+
6817
+ export class AWSCreds extends jspb.Message {
6818
+ getCreds(): string;
6819
+ setCreds(value: string): AWSCreds;
6820
+
6821
+ getRegion(): string;
6822
+ setRegion(value: string): AWSCreds;
6823
+
6824
+ serializeBinary(): Uint8Array;
6825
+ toObject(includeInstance?: boolean): AWSCreds.AsObject;
6826
+ static toObject(includeInstance: boolean, msg: AWSCreds): AWSCreds.AsObject;
6827
+ static serializeBinaryToWriter(message: AWSCreds, writer: jspb.BinaryWriter): void;
6828
+ static deserializeBinary(bytes: Uint8Array): AWSCreds;
6829
+ static deserializeBinaryFromReader(message: AWSCreds, reader: jspb.BinaryReader): AWSCreds;
6830
+ }
6831
+
6832
+ export namespace AWSCreds {
6833
+ export type AsObject = {
6834
+ creds: string,
6835
+ region: string,
6836
+ }
6837
+ }
6838
+
6598
6839
  export enum DatasetVersionMetricsGroupType {
6599
6840
  DATASET_VERSION_METRICS_GROUP_TYPE_NOT_SET = 0,
6600
6841
  INPUT_TYPE = 2,
@@ -6641,8 +6882,12 @@ export enum ValueComparator {
6641
6882
  EQUAL = 5,
6642
6883
  }
6643
6884
  export enum EvaluationType {
6644
- CLASSIFICATION = 0,
6645
- DETECTION = 1,
6885
+ UNDEFINED = 0,
6886
+ CLASSIFICATION = 1,
6887
+ DETECTION = 2,
6888
+ SEGMENTATION = 3,
6889
+ CLUSTERING = 4,
6890
+ TRACKER = 5,
6646
6891
  }
6647
6892
  export enum APIEventType {
6648
6893
  API_EVENT_TYPE_NOT_SET = 0,