clarifai-web-grpc 4.2.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.
- package/.github/workflows/codeql-analysis.yml +72 -0
- package/CHANGELOG.md +3 -2
- package/README.md +15 -18
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +6502 -822
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +1324 -106
- package/dist/cjs/proto/clarifai/api/service_pb.js +8771 -326
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +21 -15
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +6 -15
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +6 -15
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +6 -15
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +6 -15
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +16 -16
- package/dist/cjs/proto/clarifai/auth/types/types_pb.js +6 -15
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +6 -15
- package/dist/esm/proto/clarifai/api/resources_pb.js +6502 -822
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +1324 -106
- package/dist/esm/proto/clarifai/api/service_pb.js +8771 -326
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +21 -15
- package/dist/esm/proto/clarifai/api/status/status_pb.js +6 -15
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +6 -15
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +6 -15
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +6 -15
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +16 -16
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +6 -15
- package/dist/esm/proto/clarifai/auth/util/extension_pb.js +6 -15
- package/package.json +2 -2
- package/package.json-E +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +886 -14
- package/proto/clarifai/api/resources_pb.js +8083 -959
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +360 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +1915 -146
- package/proto/clarifai/api/service_pb.d.ts +1305 -99
- package/proto/clarifai/api/service_pb.js +10750 -349
- package/proto/clarifai/api/status/status_code_pb.d.ts +15 -0
- package/proto/clarifai/api/status/status_code_pb.js +22 -7
- package/proto/clarifai/api/status/status_pb.js +7 -7
- package/proto/clarifai/api/utils/extensions_pb.js +7 -7
- package/proto/clarifai/api/utils/matrix_pb.js +7 -7
- package/proto/clarifai/api/utils/test_proto_pb.js +7 -7
- package/proto/clarifai/auth/scope/scope_pb.d.ts +9 -0
- package/proto/clarifai/auth/scope/scope_pb.js +17 -8
- package/proto/clarifai/auth/types/types_pb.js +7 -7
- package/proto/clarifai/auth/util/extension_pb.js +7 -7
- package/LICENCE +0 -13
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
// @ts-nocheck
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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}
|
|
@@ -143,6 +134,11 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
143
134
|
DATA_DUMP_IN_PROGRESS: 25153,
|
|
144
135
|
DATA_DUMP_NO_DATA: 25154,
|
|
145
136
|
DATA_DUMP_UNEXPECTED_ERROR: 25155,
|
|
137
|
+
DATA_DUMP_EXPORT_SUCCESS: 25170,
|
|
138
|
+
DATA_DUMP_EXPORT_PENDING: 25171,
|
|
139
|
+
DATA_DUMP_EXPORT_FAILED: 25172,
|
|
140
|
+
DATA_DUMP_EXPORT_IN_PROGRESS: 25173,
|
|
141
|
+
DATA_DUMP_EXPORT_UNEXPECTED_ERROR: 25174,
|
|
146
142
|
APP_DUPLICATION_SUCCESS: 25200,
|
|
147
143
|
APP_DUPLICATION_FAILED: 25201,
|
|
148
144
|
APP_DUPLICATION_PENDING: 25202,
|
|
@@ -323,7 +319,17 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
323
319
|
JOB_RUNNING: 64001,
|
|
324
320
|
JOB_COMPLETED: 64002,
|
|
325
321
|
JOB_FAILED: 64003,
|
|
322
|
+
JOB_CANCELLED: 64004,
|
|
323
|
+
JOB_UNEXPECTED_ERROR: 64006,
|
|
326
324
|
AUTH_MISSING_IDP_ASSOC: 65000,
|
|
325
|
+
LIST_OBJECTS_FAILED: 66000,
|
|
326
|
+
ARCHIVE_EXTRACT_FAILED: 67000,
|
|
327
|
+
UPLOAD_IN_PROGRESS: 68000,
|
|
328
|
+
UPLOAD_DONE: 68001,
|
|
329
|
+
UPLOAD_FAILED: 68002,
|
|
330
|
+
UPLOAD_UNEXPECTED_ERROR: 68003,
|
|
331
|
+
UPLOAD_EXPIRED: 68004,
|
|
332
|
+
BILLING_INVALID_INFO: 69000,
|
|
327
333
|
INTERNAL_SERVER_ISSUE: 98004,
|
|
328
334
|
INTERNAL_FETCHING_ISSUE: 98005,
|
|
329
335
|
INTERNAL_DATABASE_ISSUE: 98006,
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
// @ts-nocheck
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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);
|
|
@@ -289,6 +280,12 @@ proto.clarifai.auth.scope.S = {
|
|
|
289
280
|
DATASETS_GET: 105,
|
|
290
281
|
DATASETS_ADD: 106,
|
|
291
282
|
DATASETS_DELETE: 107,
|
|
283
|
+
MODULES_ADD: 108,
|
|
284
|
+
MODULES_GET: 109,
|
|
285
|
+
MODULES_DELETE: 110,
|
|
286
|
+
INSTALLEDMODULEVERSIONS_ADD: 111,
|
|
287
|
+
INSTALLEDMODULEVERSIONS_GET: 112,
|
|
288
|
+
INSTALLEDMODULEVERSIONS_DELETE: 113,
|
|
292
289
|
SEARCH: 3,
|
|
293
290
|
SAVEDSEARCH_GET: 114,
|
|
294
291
|
SAVEDSEARCH_ADD: 115,
|
|
@@ -300,7 +297,10 @@ proto.clarifai.auth.scope.S = {
|
|
|
300
297
|
BULKOPERATION_ADD: 121,
|
|
301
298
|
BULKOPERATION_GET: 122,
|
|
302
299
|
BULKOPERATION_DELETE: 123,
|
|
303
|
-
HISTORICALUSAGE_GET: 124
|
|
300
|
+
HISTORICALUSAGE_GET: 124,
|
|
301
|
+
UPLOADS_GET: 128,
|
|
302
|
+
UPLOADS_ADD: 129,
|
|
303
|
+
UPLOADS_DELETE: 130
|
|
304
304
|
};
|
|
305
305
|
/**
|
|
306
306
|
* A tuple of {field number, class constructor} for the extension
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
// @ts-nocheck
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 = (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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');
|