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');