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
@@ -135,12 +135,6 @@ export enum StatusCode {
135
135
  BULK_OPERATION_CANCELLED = 25405,
136
136
  BULK_OPERATION_UNEXPECTED_ERROR = 25406,
137
137
  BULK_OPERATION_DELETED = 25407,
138
- INPUTS_EXTRACTION_JOB_SUCCESS = 25500,
139
- INPUTS_EXTRACTION_JOB_FAILED = 25501,
140
- INPUTS_EXTRACTION_JOB_PENDING = 25502,
141
- INPUTS_EXTRACTION_JOB_IN_PROGRESS = 25503,
142
- INPUTS_EXTRACTION_JOB_CANCELLED = 25505,
143
- INPUTS_EXTRACTION_JOB_UNEXPECTED_ERROR = 25506,
144
138
  INPUT_DOWNLOAD_SUCCESS = 30000,
145
139
  INPUT_DOWNLOAD_PENDING = 30001,
146
140
  INPUT_DOWNLOAD_FAILED = 30002,
@@ -304,6 +298,8 @@ export enum StatusCode {
304
298
  JOB_RUNNING = 64001,
305
299
  JOB_COMPLETED = 64002,
306
300
  JOB_FAILED = 64003,
301
+ JOB_CANCELLED = 64004,
302
+ JOB_UNEXPECTED_ERROR = 64006,
307
303
  AUTH_MISSING_IDP_ASSOC = 65000,
308
304
  LIST_OBJECTS_FAILED = 66000,
309
305
  ARCHIVE_EXTRACT_FAILED = 67000,
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.clarifai.api.status.StatusCode', null, global);
25
25
  /**
@@ -158,12 +158,6 @@ proto.clarifai.api.status.StatusCode = {
158
158
  BULK_OPERATION_CANCELLED: 25405,
159
159
  BULK_OPERATION_UNEXPECTED_ERROR: 25406,
160
160
  BULK_OPERATION_DELETED: 25407,
161
- INPUTS_EXTRACTION_JOB_SUCCESS: 25500,
162
- INPUTS_EXTRACTION_JOB_FAILED: 25501,
163
- INPUTS_EXTRACTION_JOB_PENDING: 25502,
164
- INPUTS_EXTRACTION_JOB_IN_PROGRESS: 25503,
165
- INPUTS_EXTRACTION_JOB_CANCELLED: 25505,
166
- INPUTS_EXTRACTION_JOB_UNEXPECTED_ERROR: 25506,
167
161
  INPUT_DOWNLOAD_SUCCESS: 30000,
168
162
  INPUT_DOWNLOAD_PENDING: 30001,
169
163
  INPUT_DOWNLOAD_FAILED: 30002,
@@ -327,6 +321,8 @@ proto.clarifai.api.status.StatusCode = {
327
321
  JOB_RUNNING: 64001,
328
322
  JOB_COMPLETED: 64002,
329
323
  JOB_FAILED: 64003,
324
+ JOB_CANCELLED: 64004,
325
+ JOB_UNEXPECTED_ERROR: 64006,
330
326
  AUTH_MISSING_IDP_ASSOC: 65000,
331
327
  LIST_OBJECTS_FAILED: 66000,
332
328
  ARCHIVE_EXTRACT_FAILED: 67000,
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var proto_clarifai_auth_util_extension_pb = require('../../../../proto/clarifai/auth/util/extension_pb.js');
25
25
  goog.object.extend(proto, proto_clarifai_auth_util_extension_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_descriptor_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.MatrixUint64', null, global);
25
25
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var proto_clarifai_api_utils_extensions_pb = require('../../../../proto/clarifai/api/utils/extensions_pb.js');
25
25
  goog.object.extend(proto, proto_clarifai_api_utils_extensions_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_descriptor_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.clarifai.auth.types.AuthType', null, global);
25
25
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var proto_clarifai_auth_scope_scope_pb = require('../../../../proto/clarifai/auth/scope/scope_pb.js');
25
25
  goog.object.extend(proto, proto_clarifai_auth_scope_scope_pb);