clarifai-web-grpc 5.0.0 → 9.6.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.
Files changed (85) hide show
  1. package/.github/workflows/ci.yml +15 -8
  2. package/README.md +21 -18
  3. package/VERSION +1 -1
  4. package/package.json +3 -24
  5. package/proto/clarifai/api/resources_pb.d.ts +873 -27
  6. package/proto/clarifai/api/resources_pb.js +7734 -899
  7. package/proto/clarifai/api/service_grpc_web_pb.d.ts +204 -12
  8. package/proto/clarifai/api/service_grpc_web_pb.js +1187 -207
  9. package/proto/clarifai/api/service_pb.d.ts +784 -62
  10. package/proto/clarifai/api/service_pb.js +16588 -10440
  11. package/proto/clarifai/api/status/status_code_pb.d.ts +19 -7
  12. package/proto/clarifai/api/status/status_code_pb.js +26 -14
  13. package/proto/clarifai/api/status/status_pb.js +7 -7
  14. package/proto/clarifai/api/utils/extensions_pb.js +7 -7
  15. package/proto/clarifai/api/utils/matrix_pb.js +7 -7
  16. package/proto/clarifai/api/utils/test_proto_pb.js +7 -7
  17. package/proto/clarifai/auth/scope/scope_pb.js +7 -7
  18. package/proto/clarifai/auth/types/types_pb.js +7 -7
  19. package/proto/clarifai/auth/util/extension_pb.js +7 -7
  20. package/.husky/commit-msg +0 -4
  21. package/CHANGELOG.md +0 -12
  22. package/dist/cjs/google/api/annotations_pb.d.ts +0 -1
  23. package/dist/cjs/google/api/annotations_pb.js +0 -32
  24. package/dist/cjs/google/api/http_pb.d.ts +0 -1
  25. package/dist/cjs/google/api/http_pb.js +0 -813
  26. package/dist/cjs/index.d.ts +0 -7
  27. package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +0 -1
  28. package/dist/cjs/proto/clarifai/api/resources_pb.js +0 -43612
  29. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -5
  30. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -8091
  31. package/dist/cjs/proto/clarifai/api/service_pb.d.ts +0 -1
  32. package/dist/cjs/proto/clarifai/api/service_pb.js +0 -57630
  33. package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
  34. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +0 -367
  35. package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +0 -1
  36. package/dist/cjs/proto/clarifai/api/status/status_pb.js +0 -726
  37. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
  38. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +0 -69
  39. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
  40. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +0 -206
  41. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
  42. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +0 -538
  43. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
  44. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +0 -336
  45. package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +0 -1
  46. package/dist/cjs/proto/clarifai/auth/types/types_pb.js +0 -43
  47. package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
  48. package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +0 -97
  49. package/dist/cjs/resources.d.ts +0 -1
  50. package/dist/cjs/resources.js +0 -13
  51. package/dist/cjs/service.d.ts +0 -1
  52. package/dist/cjs/service.js +0 -13
  53. package/dist/esm/google/api/annotations_pb.d.ts +0 -1
  54. package/dist/esm/google/api/annotations_pb.js +0 -32
  55. package/dist/esm/google/api/http_pb.d.ts +0 -1
  56. package/dist/esm/google/api/http_pb.js +0 -813
  57. package/dist/esm/index.d.ts +0 -7
  58. package/dist/esm/index.js +0 -9
  59. package/dist/esm/proto/clarifai/api/resources_pb.d.ts +0 -1
  60. package/dist/esm/proto/clarifai/api/resources_pb.js +0 -43612
  61. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -5
  62. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -8091
  63. package/dist/esm/proto/clarifai/api/service_pb.d.ts +0 -1
  64. package/dist/esm/proto/clarifai/api/service_pb.js +0 -57630
  65. package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
  66. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +0 -367
  67. package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +0 -1
  68. package/dist/esm/proto/clarifai/api/status/status_pb.js +0 -726
  69. package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
  70. package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +0 -69
  71. package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
  72. package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +0 -206
  73. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
  74. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +0 -538
  75. package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
  76. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +0 -336
  77. package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +0 -1
  78. package/dist/esm/proto/clarifai/auth/types/types_pb.js +0 -43
  79. package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
  80. package/dist/esm/proto/clarifai/auth/util/extension_pb.js +0 -97
  81. package/dist/esm/resources.d.ts +0 -1
  82. package/dist/esm/resources.js +0 -1
  83. package/dist/esm/service.d.ts +0 -1
  84. package/dist/esm/service.js +0 -1
  85. package/package.json-E +0 -52
@@ -134,13 +134,6 @@ export enum StatusCode {
134
134
  BULK_OPERATION_INVALID_REQUEST = 25404,
135
135
  BULK_OPERATION_CANCELLED = 25405,
136
136
  BULK_OPERATION_UNEXPECTED_ERROR = 25406,
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
137
  INPUT_DOWNLOAD_SUCCESS = 30000,
145
138
  INPUT_DOWNLOAD_PENDING = 30001,
146
139
  INPUT_DOWNLOAD_FAILED = 30002,
@@ -182,6 +175,12 @@ export enum StatusCode {
182
175
  INPUT_VIDEO_MODIFY_FAILED = 31203,
183
176
  INPUT_VIDEO_STORAGE_HOST_FAILED = 31210,
184
177
  ALL_INPUT_VIDEOS_INVALID_BYTES = 31300,
178
+ INPUT_VIDEO_PROCESSING_SUCCESS = 31400,
179
+ INPUT_VIDEO_PROCESSING_PENDING = 31410,
180
+ INPUT_VIDEO_PROCESSING_FAILED = 31420,
181
+ INPUT_VIDEO_STORAGE_INCONSISTENCY = 31430,
182
+ INPUT_VIDEO_STORAGE_FAILURE = 31440,
183
+ INPUT_VIDEO_URL_GENERATION_FAILURE = 31450,
185
184
  INPUT_CONNECTION_FAILED = 39996,
186
185
  REQUEST_DISABLED_FOR_MAINTENANCE = 39997,
187
186
  INPUT_WRITES_DISABLED_FOR_MAINTENANCE = 39998,
@@ -198,6 +197,7 @@ export enum StatusCode {
198
197
  DATABASE_FAIL_TO_GET_CONNECTIONS = 40015,
199
198
  DATABASE_TOO_MANY_CLIENTS = 40016,
200
199
  DATABASE_CONSTRAINT_VIOLATED = 40017,
200
+ DATABASE_CANCELED = 40021,
201
201
  ASYNC_WORKER_MULTI_ERRORS = 40020,
202
202
  RPC_REQUEST_QUEUE_FULL = 40030,
203
203
  RPC_SERVER_UNAVAILABLE = 40031,
@@ -208,6 +208,7 @@ export enum StatusCode {
208
208
  REQUEST_CANCELED_BY_USER = 40037,
209
209
  CLUSTER_INTERNAL_FAILURE = 43040,
210
210
  EXTERNAL_CONNECTION_ERROR = 40034,
211
+ QUERY_INVALID_SYNTAX = 40050,
211
212
  QUEUE_CONN_ERROR = 41000,
212
213
  QUEUE_CLOSE_REQUEST_TIMEOUT = 41002,
213
214
  QUEUE_CONN_CLOSED = 41003,
@@ -227,6 +228,7 @@ export enum StatusCode {
227
228
  SEARCH_PREDICTION_FAILURE = 43003,
228
229
  SEARCH_BY_NOT_FULLY_INDEXED_INPUT = 43004,
229
230
  SAVED_SEARCH_MODIFY_FAILED = 43005,
231
+ SEARCH_COUNTS_UNAVAILABLE = 43006,
230
232
  EVALUATION_QUEUED = 43100,
231
233
  EVALUATION_IN_PROGRESS = 43101,
232
234
  EVALUATION_SUCCESS = 43102,
@@ -300,10 +302,18 @@ export enum StatusCode {
300
302
  DATASET_VERSION_CONFLICT = 64030,
301
303
  DATASET_INPUT_SUCCESS = 64100,
302
304
  DATASET_INPUT_DUPLICATE = 64101,
305
+ DATASET_VERSION_EXPORT_SUCCESS = 64200,
306
+ DATASET_VERSION_EXPORT_PENDING = 64201,
307
+ DATASET_VERSION_EXPORT_FAILED = 64202,
308
+ DATASET_VERSION_EXPORT_IN_PROGRESS = 64203,
309
+ DATASET_VERSION_EXPORT_UNEXPECTED_ERROR = 64204,
303
310
  JOB_QUEUED = 64000,
304
311
  JOB_RUNNING = 64001,
305
312
  JOB_COMPLETED = 64002,
306
313
  JOB_FAILED = 64003,
314
+ JOB_CANCELLED = 64004,
315
+ JOB_UNEXPECTED_ERROR = 64006,
316
+ JOB_CONFLICT = 64007,
307
317
  AUTH_MISSING_IDP_ASSOC = 65000,
308
318
  LIST_OBJECTS_FAILED = 66000,
309
319
  ARCHIVE_EXTRACT_FAILED = 67000,
@@ -312,6 +322,8 @@ export enum StatusCode {
312
322
  UPLOAD_FAILED = 68002,
313
323
  UPLOAD_UNEXPECTED_ERROR = 68003,
314
324
  UPLOAD_EXPIRED = 68004,
325
+ UPLOAD_CANCELED = 68005,
326
+ UPLOAD_CONFLICT = 68006,
315
327
  BILLING_INVALID_INFO = 69000,
316
328
  INTERNAL_SERVER_ISSUE = 98004,
317
329
  INTERNAL_FETCHING_ISSUE = 98005,
@@ -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
  /**
@@ -157,13 +157,6 @@ proto.clarifai.api.status.StatusCode = {
157
157
  BULK_OPERATION_INVALID_REQUEST: 25404,
158
158
  BULK_OPERATION_CANCELLED: 25405,
159
159
  BULK_OPERATION_UNEXPECTED_ERROR: 25406,
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
160
  INPUT_DOWNLOAD_SUCCESS: 30000,
168
161
  INPUT_DOWNLOAD_PENDING: 30001,
169
162
  INPUT_DOWNLOAD_FAILED: 30002,
@@ -205,6 +198,12 @@ proto.clarifai.api.status.StatusCode = {
205
198
  INPUT_VIDEO_MODIFY_FAILED: 31203,
206
199
  INPUT_VIDEO_STORAGE_HOST_FAILED: 31210,
207
200
  ALL_INPUT_VIDEOS_INVALID_BYTES: 31300,
201
+ INPUT_VIDEO_PROCESSING_SUCCESS: 31400,
202
+ INPUT_VIDEO_PROCESSING_PENDING: 31410,
203
+ INPUT_VIDEO_PROCESSING_FAILED: 31420,
204
+ INPUT_VIDEO_STORAGE_INCONSISTENCY: 31430,
205
+ INPUT_VIDEO_STORAGE_FAILURE: 31440,
206
+ INPUT_VIDEO_URL_GENERATION_FAILURE: 31450,
208
207
  INPUT_CONNECTION_FAILED: 39996,
209
208
  REQUEST_DISABLED_FOR_MAINTENANCE: 39997,
210
209
  INPUT_WRITES_DISABLED_FOR_MAINTENANCE: 39998,
@@ -221,6 +220,7 @@ proto.clarifai.api.status.StatusCode = {
221
220
  DATABASE_FAIL_TO_GET_CONNECTIONS: 40015,
222
221
  DATABASE_TOO_MANY_CLIENTS: 40016,
223
222
  DATABASE_CONSTRAINT_VIOLATED: 40017,
223
+ DATABASE_CANCELED: 40021,
224
224
  ASYNC_WORKER_MULTI_ERRORS: 40020,
225
225
  RPC_REQUEST_QUEUE_FULL: 40030,
226
226
  RPC_SERVER_UNAVAILABLE: 40031,
@@ -231,6 +231,7 @@ proto.clarifai.api.status.StatusCode = {
231
231
  REQUEST_CANCELED_BY_USER: 40037,
232
232
  CLUSTER_INTERNAL_FAILURE: 43040,
233
233
  EXTERNAL_CONNECTION_ERROR: 40034,
234
+ QUERY_INVALID_SYNTAX: 40050,
234
235
  QUEUE_CONN_ERROR: 41000,
235
236
  QUEUE_CLOSE_REQUEST_TIMEOUT: 41002,
236
237
  QUEUE_CONN_CLOSED: 41003,
@@ -250,6 +251,7 @@ proto.clarifai.api.status.StatusCode = {
250
251
  SEARCH_PREDICTION_FAILURE: 43003,
251
252
  SEARCH_BY_NOT_FULLY_INDEXED_INPUT: 43004,
252
253
  SAVED_SEARCH_MODIFY_FAILED: 43005,
254
+ SEARCH_COUNTS_UNAVAILABLE: 43006,
253
255
  EVALUATION_QUEUED: 43100,
254
256
  EVALUATION_IN_PROGRESS: 43101,
255
257
  EVALUATION_SUCCESS: 43102,
@@ -323,10 +325,18 @@ proto.clarifai.api.status.StatusCode = {
323
325
  DATASET_VERSION_CONFLICT: 64030,
324
326
  DATASET_INPUT_SUCCESS: 64100,
325
327
  DATASET_INPUT_DUPLICATE: 64101,
328
+ DATASET_VERSION_EXPORT_SUCCESS: 64200,
329
+ DATASET_VERSION_EXPORT_PENDING: 64201,
330
+ DATASET_VERSION_EXPORT_FAILED: 64202,
331
+ DATASET_VERSION_EXPORT_IN_PROGRESS: 64203,
332
+ DATASET_VERSION_EXPORT_UNEXPECTED_ERROR: 64204,
326
333
  JOB_QUEUED: 64000,
327
334
  JOB_RUNNING: 64001,
328
335
  JOB_COMPLETED: 64002,
329
336
  JOB_FAILED: 64003,
337
+ JOB_CANCELLED: 64004,
338
+ JOB_UNEXPECTED_ERROR: 64006,
339
+ JOB_CONFLICT: 64007,
330
340
  AUTH_MISSING_IDP_ASSOC: 65000,
331
341
  LIST_OBJECTS_FAILED: 66000,
332
342
  ARCHIVE_EXTRACT_FAILED: 67000,
@@ -335,6 +345,8 @@ proto.clarifai.api.status.StatusCode = {
335
345
  UPLOAD_FAILED: 68002,
336
346
  UPLOAD_UNEXPECTED_ERROR: 68003,
337
347
  UPLOAD_EXPIRED: 68004,
348
+ UPLOAD_CANCELED: 68005,
349
+ UPLOAD_CONFLICT: 68006,
338
350
  BILLING_INVALID_INFO: 69000,
339
351
  INTERNAL_SERVER_ISSUE: 98004,
340
352
  INTERNAL_FETCHING_ISSUE: 98005,
@@ -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);
package/.husky/commit-msg DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- yarn commitlint --edit "$1"
package/CHANGELOG.md DELETED
@@ -1,12 +0,0 @@
1
- # [5.0.0](https://github.com/Clarifai/clarifai-web-grpc/compare/v4.2.0...v5.0.0) (2022-11-08)
2
-
3
-
4
- ### Continuous Integration
5
-
6
- * trigger workflow ([0f39579](https://github.com/Clarifai/clarifai-web-grpc/commit/0f39579bc6849421da2afb6f1da8ea7bd5d8664b))
7
-
8
-
9
- ### BREAKING CHANGES
10
-
11
- * Marking this breaking so we can be on the safe side,
12
- idk if there's actually breaking changes here.
@@ -1 +0,0 @@
1
- export {};
@@ -1,32 +0,0 @@
1
- "use strict";
2
- // source: google/api/annotations.proto
3
- /**
4
- * @fileoverview
5
- * @enhanceable
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
- var jspb = require('google-protobuf');
14
- var goog = jspb;
15
- var global = Function('return this')();
16
- var google_api_http_pb = require('../../google/api/http_pb.js');
17
- goog.object.extend(proto, google_api_http_pb);
18
- var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
19
- goog.object.extend(proto, google_protobuf_descriptor_pb);
20
- goog.exportSymbol('proto.google.api.http', null, global);
21
- /**
22
- * A tuple of {field number, class constructor} for the extension
23
- * field named `http`.
24
- * @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
25
- */
26
- proto.google.api.http = new jspb.ExtensionFieldInfo(72295728, { http: 0 }, google_api_http_pb.HttpRule,
27
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (google_api_http_pb.HttpRule.toObject), 0);
28
- google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(proto.google.api.http, jspb.BinaryReader.prototype.readMessage, jspb.BinaryWriter.prototype.writeMessage, google_api_http_pb.HttpRule.serializeBinaryToWriter, google_api_http_pb.HttpRule.deserializeBinaryFromReader, false);
29
- // This registers the extension field with the extended class, so that
30
- // toObject() will function correctly.
31
- google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
32
- goog.object.extend(exports, proto.google.api);
@@ -1 +0,0 @@
1
- export {};