clarifai-web-grpc 5.1.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 (78) hide show
  1. package/.github/workflows/ci.yml +15 -8
  2. package/README.md +6 -0
  3. package/VERSION +1 -1
  4. package/package.json +2 -23
  5. package/proto/clarifai/api/resources_pb.d.ts +635 -34
  6. package/proto/clarifai/api/resources_pb.js +5808 -989
  7. package/proto/clarifai/api/service_grpc_web_pb.d.ts +168 -12
  8. package/proto/clarifai/api/service_grpc_web_pb.js +876 -79
  9. package/proto/clarifai/api/service_pb.d.ts +634 -54
  10. package/proto/clarifai/api/service_pb.js +5671 -739
  11. package/proto/clarifai/api/status/status_code_pb.d.ts +17 -1
  12. package/proto/clarifai/api/status/status_code_pb.js +17 -1
  13. package/.husky/commit-msg +0 -4
  14. package/CHANGELOG.md +0 -7
  15. package/dist/cjs/google/api/annotations_pb.d.ts +0 -1
  16. package/dist/cjs/google/api/annotations_pb.js +0 -32
  17. package/dist/cjs/google/api/http_pb.d.ts +0 -1
  18. package/dist/cjs/google/api/http_pb.js +0 -813
  19. package/dist/cjs/index.d.ts +0 -7
  20. package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +0 -1
  21. package/dist/cjs/proto/clarifai/api/resources_pb.js +0 -45222
  22. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -5
  23. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -8217
  24. package/dist/cjs/proto/clarifai/api/service_pb.d.ts +0 -1
  25. package/dist/cjs/proto/clarifai/api/service_pb.js +0 -58616
  26. package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
  27. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +0 -354
  28. package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +0 -1
  29. package/dist/cjs/proto/clarifai/api/status/status_pb.js +0 -717
  30. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
  31. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +0 -60
  32. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
  33. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +0 -197
  34. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
  35. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +0 -529
  36. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
  37. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +0 -327
  38. package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +0 -1
  39. package/dist/cjs/proto/clarifai/auth/types/types_pb.js +0 -34
  40. package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
  41. package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +0 -88
  42. package/dist/cjs/resources.d.ts +0 -1
  43. package/dist/cjs/resources.js +0 -13
  44. package/dist/cjs/service.d.ts +0 -1
  45. package/dist/cjs/service.js +0 -13
  46. package/dist/esm/google/api/annotations_pb.d.ts +0 -1
  47. package/dist/esm/google/api/annotations_pb.js +0 -32
  48. package/dist/esm/google/api/http_pb.d.ts +0 -1
  49. package/dist/esm/google/api/http_pb.js +0 -813
  50. package/dist/esm/index.d.ts +0 -7
  51. package/dist/esm/index.js +0 -9
  52. package/dist/esm/proto/clarifai/api/resources_pb.d.ts +0 -1
  53. package/dist/esm/proto/clarifai/api/resources_pb.js +0 -45222
  54. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -5
  55. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -8217
  56. package/dist/esm/proto/clarifai/api/service_pb.d.ts +0 -1
  57. package/dist/esm/proto/clarifai/api/service_pb.js +0 -58616
  58. package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
  59. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +0 -354
  60. package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +0 -1
  61. package/dist/esm/proto/clarifai/api/status/status_pb.js +0 -717
  62. package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
  63. package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +0 -60
  64. package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
  65. package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +0 -197
  66. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
  67. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +0 -529
  68. package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
  69. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +0 -327
  70. package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +0 -1
  71. package/dist/esm/proto/clarifai/auth/types/types_pb.js +0 -34
  72. package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
  73. package/dist/esm/proto/clarifai/auth/util/extension_pb.js +0 -88
  74. package/dist/esm/resources.d.ts +0 -1
  75. package/dist/esm/resources.js +0 -1
  76. package/dist/esm/service.d.ts +0 -1
  77. package/dist/esm/service.js +0 -1
  78. package/package.json-E +0 -52
@@ -1,327 +0,0 @@
1
- "use strict";
2
- // source: proto/clarifai/auth/scope/scope.proto
3
- /**
4
- * @fileoverview
5
- * @enhanceable
6
- * @suppress {missingRequire} reports error on implicit type usages.
7
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
8
- * field starts with 'MSG_' and isn't a translatable message.
9
- * @public
10
- */
11
- // GENERATED CODE -- DO NOT EDIT!
12
- /* eslint-disable */
13
- // @ts-nocheck
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
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')();
22
- var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
23
- goog.object.extend(proto, google_protobuf_descriptor_pb);
24
- goog.exportSymbol('proto.clarifai.auth.scope.S', null, global);
25
- goog.exportSymbol('proto.clarifai.auth.scope.ScopeList', null, global);
26
- goog.exportSymbol('proto.clarifai.auth.scope.clarfaiExposed', null, global);
27
- goog.exportSymbol('proto.clarifai.auth.scope.clarifaiDependingScopesList', null, global);
28
- /**
29
- * Generated by JsPbCodeGenerator.
30
- * @param {Array=} opt_data Optional initial data array, typically from a
31
- * server response, or constructed directly in Javascript. The array is used
32
- * in place and becomes part of the constructed object. It is not cloned.
33
- * If no data is provided, the constructed object will be empty, but still
34
- * valid.
35
- * @extends {jspb.Message}
36
- * @constructor
37
- */
38
- proto.clarifai.auth.scope.ScopeList = function (opt_data) {
39
- jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.auth.scope.ScopeList.repeatedFields_, null);
40
- };
41
- goog.inherits(proto.clarifai.auth.scope.ScopeList, jspb.Message);
42
- if (goog.DEBUG && !COMPILED) {
43
- /**
44
- * @public
45
- * @override
46
- */
47
- proto.clarifai.auth.scope.ScopeList.displayName = 'proto.clarifai.auth.scope.ScopeList';
48
- }
49
- /**
50
- * List of repeated fields within this message type.
51
- * @private {!Array<number>}
52
- * @const
53
- */
54
- proto.clarifai.auth.scope.ScopeList.repeatedFields_ = [1, 2];
55
- if (jspb.Message.GENERATE_TO_OBJECT) {
56
- /**
57
- * Creates an object representation of this proto.
58
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
59
- * Optional fields that are not set will be set to undefined.
60
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
61
- * For the list of reserved names please see:
62
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
63
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64
- * JSPB instance for transitional soy proto support:
65
- * http://goto/soy-param-migration
66
- * @return {!Object}
67
- */
68
- proto.clarifai.auth.scope.ScopeList.prototype.toObject = function (opt_includeInstance) {
69
- return proto.clarifai.auth.scope.ScopeList.toObject(opt_includeInstance, this);
70
- };
71
- /**
72
- * Static version of the {@see toObject} method.
73
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74
- * the JSPB instance for transitional soy proto support:
75
- * http://goto/soy-param-migration
76
- * @param {!proto.clarifai.auth.scope.ScopeList} msg The msg instance to transform.
77
- * @return {!Object}
78
- * @suppress {unusedLocalVariables} f is only used for nested messages
79
- */
80
- proto.clarifai.auth.scope.ScopeList.toObject = function (includeInstance, msg) {
81
- var f, obj = {
82
- scopesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
83
- endpointsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
84
- };
85
- if (includeInstance) {
86
- obj.$jspbMessageInstance = msg;
87
- }
88
- return obj;
89
- };
90
- }
91
- /**
92
- * Deserializes binary data (in protobuf wire format).
93
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
94
- * @return {!proto.clarifai.auth.scope.ScopeList}
95
- */
96
- proto.clarifai.auth.scope.ScopeList.deserializeBinary = function (bytes) {
97
- var reader = new jspb.BinaryReader(bytes);
98
- var msg = new proto.clarifai.auth.scope.ScopeList;
99
- return proto.clarifai.auth.scope.ScopeList.deserializeBinaryFromReader(msg, reader);
100
- };
101
- /**
102
- * Deserializes binary data (in protobuf wire format) from the
103
- * given reader into the given message object.
104
- * @param {!proto.clarifai.auth.scope.ScopeList} msg The message object to deserialize into.
105
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
106
- * @return {!proto.clarifai.auth.scope.ScopeList}
107
- */
108
- proto.clarifai.auth.scope.ScopeList.deserializeBinaryFromReader = function (msg, reader) {
109
- while (reader.nextField()) {
110
- if (reader.isEndGroup()) {
111
- break;
112
- }
113
- var field = reader.getFieldNumber();
114
- switch (field) {
115
- case 1:
116
- var values = /** @type {!Array<!proto.clarifai.auth.scope.S>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
117
- for (var i = 0; i < values.length; i++) {
118
- msg.addScopes(values[i]);
119
- }
120
- break;
121
- case 2:
122
- var value = /** @type {string} */ (reader.readString());
123
- msg.addEndpoints(value);
124
- break;
125
- default:
126
- reader.skipField();
127
- break;
128
- }
129
- }
130
- return msg;
131
- };
132
- /**
133
- * Serializes the message to binary data (in protobuf wire format).
134
- * @return {!Uint8Array}
135
- */
136
- proto.clarifai.auth.scope.ScopeList.prototype.serializeBinary = function () {
137
- var writer = new jspb.BinaryWriter();
138
- proto.clarifai.auth.scope.ScopeList.serializeBinaryToWriter(this, writer);
139
- return writer.getResultBuffer();
140
- };
141
- /**
142
- * Serializes the given message to binary data (in protobuf wire
143
- * format), writing to the given BinaryWriter.
144
- * @param {!proto.clarifai.auth.scope.ScopeList} message
145
- * @param {!jspb.BinaryWriter} writer
146
- * @suppress {unusedLocalVariables} f is only used for nested messages
147
- */
148
- proto.clarifai.auth.scope.ScopeList.serializeBinaryToWriter = function (message, writer) {
149
- var f = undefined;
150
- f = message.getScopesList();
151
- if (f.length > 0) {
152
- writer.writePackedEnum(1, f);
153
- }
154
- f = message.getEndpointsList();
155
- if (f.length > 0) {
156
- writer.writeRepeatedString(2, f);
157
- }
158
- };
159
- /**
160
- * repeated S scopes = 1;
161
- * @return {!Array<!proto.clarifai.auth.scope.S>}
162
- */
163
- proto.clarifai.auth.scope.ScopeList.prototype.getScopesList = function () {
164
- return /** @type {!Array<!proto.clarifai.auth.scope.S>} */ (jspb.Message.getRepeatedField(this, 1));
165
- };
166
- /**
167
- * @param {!Array<!proto.clarifai.auth.scope.S>} value
168
- * @return {!proto.clarifai.auth.scope.ScopeList} returns this
169
- */
170
- proto.clarifai.auth.scope.ScopeList.prototype.setScopesList = function (value) {
171
- return jspb.Message.setField(this, 1, value || []);
172
- };
173
- /**
174
- * @param {!proto.clarifai.auth.scope.S} value
175
- * @param {number=} opt_index
176
- * @return {!proto.clarifai.auth.scope.ScopeList} returns this
177
- */
178
- proto.clarifai.auth.scope.ScopeList.prototype.addScopes = function (value, opt_index) {
179
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
180
- };
181
- /**
182
- * Clears the list making it empty but non-null.
183
- * @return {!proto.clarifai.auth.scope.ScopeList} returns this
184
- */
185
- proto.clarifai.auth.scope.ScopeList.prototype.clearScopesList = function () {
186
- return this.setScopesList([]);
187
- };
188
- /**
189
- * repeated string endpoints = 2;
190
- * @return {!Array<string>}
191
- */
192
- proto.clarifai.auth.scope.ScopeList.prototype.getEndpointsList = function () {
193
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
194
- };
195
- /**
196
- * @param {!Array<string>} value
197
- * @return {!proto.clarifai.auth.scope.ScopeList} returns this
198
- */
199
- proto.clarifai.auth.scope.ScopeList.prototype.setEndpointsList = function (value) {
200
- return jspb.Message.setField(this, 2, value || []);
201
- };
202
- /**
203
- * @param {string} value
204
- * @param {number=} opt_index
205
- * @return {!proto.clarifai.auth.scope.ScopeList} returns this
206
- */
207
- proto.clarifai.auth.scope.ScopeList.prototype.addEndpoints = function (value, opt_index) {
208
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
209
- };
210
- /**
211
- * Clears the list making it empty but non-null.
212
- * @return {!proto.clarifai.auth.scope.ScopeList} returns this
213
- */
214
- proto.clarifai.auth.scope.ScopeList.prototype.clearEndpointsList = function () {
215
- return this.setEndpointsList([]);
216
- };
217
- /**
218
- * @enum {number}
219
- */
220
- proto.clarifai.auth.scope.S = {
221
- UNDEF: 0,
222
- ALL: 1,
223
- PREDICT: 2,
224
- INPUTS_ADD: 4,
225
- INPUTS_GET: 5,
226
- INPUTS_PATCH: 7,
227
- INPUTS_DELETE: 8,
228
- OUTPUTS_PATCH: 9,
229
- CONCEPTS_ADD: 10,
230
- CONCEPTS_GET: 11,
231
- CONCEPTS_PATCH: 12,
232
- CONCEPTS_DELETE: 13,
233
- MODELS_ADD: 14,
234
- MODELS_GET: 15,
235
- MODELS_PATCH: 16,
236
- MODELS_DELETE: 17,
237
- MODELS_TRAIN: 26,
238
- MODELS_SYNC: 27,
239
- WORKFLOWS_ADD: 18,
240
- WORKFLOWS_GET: 19,
241
- WORKFLOWS_PATCH: 20,
242
- WORKFLOWS_DELETE: 21,
243
- WORKFLOWMETRICS_GET: 96,
244
- WORKFLOWMETRICS_ADD: 97,
245
- WORKFLOWMETRICS_DELETE: 98,
246
- TSNEVISUALIZATIONS_ADD: 24,
247
- TSNEVISUALIZATIONS_GET: 25,
248
- ANNOTATIONS_ADD: 37,
249
- ANNOTATIONS_GET: 38,
250
- ANNOTATIONS_PATCH: 39,
251
- ANNOTATIONS_DELETE: 40,
252
- COLLECTORS_ADD: 41,
253
- COLLECTORS_GET: 42,
254
- COLLECTORS_DELETE: 43,
255
- APPS_ADD: 44,
256
- APPS_GET: 45,
257
- APPS_DELETE: 46,
258
- KEYS_ADD: 47,
259
- KEYS_GET: 48,
260
- KEYS_DELETE: 49,
261
- COLLABORATORS_ADD: 51,
262
- COLLABORATORS_GET: 50,
263
- COLLABORATORS_DELETE: 52,
264
- METRICS_ADD: 54,
265
- METRICS_GET: 53,
266
- METRICS_DELETE: 63,
267
- TASKS_ADD: 55,
268
- TASKS_GET: 56,
269
- TASKS_DELETE: 70,
270
- PASSWORDPOLICIES_ADD: 57,
271
- PASSWORDPOLICIES_GET: 58,
272
- PASSWORDPOLICIES_DELETE: 59,
273
- LABELORDERS_GET: 67,
274
- LABELORDERS_ADD: 68,
275
- LABELORDERS_DELETE: 69,
276
- USERFEATURECONFIGS_GET: 71,
277
- FINDDUPLICATEANNOTATIONSJOBS_ADD: 102,
278
- FINDDUPLICATEANNOTATIONSJOBS_GET: 103,
279
- FINDDUPLICATEANNOTATIONSJOBS_DELETE: 104,
280
- DATASETS_GET: 105,
281
- DATASETS_ADD: 106,
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,
289
- SEARCH: 3,
290
- SAVEDSEARCH_GET: 114,
291
- SAVEDSEARCH_ADD: 115,
292
- SAVEDSEARCH_DELETE: 116,
293
- MODELVERSIONPUBLICATIONS_ADD: 117,
294
- MODELVERSIONPUBLICATIONS_DELETE: 118,
295
- WORKFLOWPUBLICATIONS_ADD: 119,
296
- WORKFLOWPUBLICATIONS_DELETE: 120,
297
- BULKOPERATION_ADD: 121,
298
- BULKOPERATION_GET: 122,
299
- BULKOPERATION_DELETE: 123,
300
- HISTORICALUSAGE_GET: 124,
301
- UPLOADS_GET: 128,
302
- UPLOADS_ADD: 129,
303
- UPLOADS_DELETE: 130
304
- };
305
- /**
306
- * A tuple of {field number, class constructor} for the extension
307
- * field named `clarfaiExposed`.
308
- * @type {!jspb.ExtensionFieldInfo<boolean>}
309
- */
310
- proto.clarifai.auth.scope.clarfaiExposed = new jspb.ExtensionFieldInfo(80318, { clarfaiExposed: 0 }, null,
311
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 0);
312
- google_protobuf_descriptor_pb.EnumValueOptions.extensionsBinary[80318] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.scope.clarfaiExposed, jspb.BinaryReader.prototype.readBool, jspb.BinaryWriter.prototype.writeBool, undefined, undefined, false);
313
- // This registers the extension field with the extended class, so that
314
- // toObject() will function correctly.
315
- google_protobuf_descriptor_pb.EnumValueOptions.extensions[80318] = proto.clarifai.auth.scope.clarfaiExposed;
316
- /**
317
- * A tuple of {field number, class constructor} for the extension
318
- * field named `clarifaiDependingScopesList`.
319
- * @type {!jspb.ExtensionFieldInfo<!Array<!proto.clarifai.auth.scope.S>>}
320
- */
321
- proto.clarifai.auth.scope.clarifaiDependingScopesList = new jspb.ExtensionFieldInfo(80319, { clarifaiDependingScopesList: 0 }, null,
322
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 1);
323
- google_protobuf_descriptor_pb.EnumValueOptions.extensionsBinary[80319] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.scope.clarifaiDependingScopesList, jspb.BinaryReader.prototype.readPackedEnum, jspb.BinaryWriter.prototype.writePackedEnum, undefined, undefined, true);
324
- // This registers the extension field with the extended class, so that
325
- // toObject() will function correctly.
326
- google_protobuf_descriptor_pb.EnumValueOptions.extensions[80319] = proto.clarifai.auth.scope.clarifaiDependingScopesList;
327
- goog.object.extend(exports, proto.clarifai.auth.scope);
@@ -1 +0,0 @@
1
- export {};
@@ -1,34 +0,0 @@
1
- "use strict";
2
- // source: proto/clarifai/auth/types/types.proto
3
- /**
4
- * @fileoverview
5
- * @enhanceable
6
- * @suppress {missingRequire} reports error on implicit type usages.
7
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
8
- * field starts with 'MSG_' and isn't a translatable message.
9
- * @public
10
- */
11
- // GENERATED CODE -- DO NOT EDIT!
12
- /* eslint-disable */
13
- // @ts-nocheck
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
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')();
22
- goog.exportSymbol('proto.clarifai.auth.types.AuthType', null, global);
23
- /**
24
- * @enum {number}
25
- */
26
- proto.clarifai.auth.types.AuthType = {
27
- UNDEF: 0,
28
- NOAUTH: 1,
29
- KEYAUTH: 2,
30
- SESSIONTOKENAUTH: 3,
31
- ADMINAUTH: 4,
32
- PATAUTH: 5
33
- };
34
- goog.object.extend(exports, proto.clarifai.auth.types);
@@ -1 +0,0 @@
1
- export {};
@@ -1,88 +0,0 @@
1
- "use strict";
2
- // source: proto/clarifai/auth/util/extension.proto
3
- /**
4
- * @fileoverview
5
- * @enhanceable
6
- * @suppress {missingRequire} reports error on implicit type usages.
7
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
8
- * field starts with 'MSG_' and isn't a translatable message.
9
- * @public
10
- */
11
- // GENERATED CODE -- DO NOT EDIT!
12
- /* eslint-disable */
13
- // @ts-nocheck
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
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')();
22
- var proto_clarifai_auth_scope_scope_pb = require('../../../../proto/clarifai/auth/scope/scope_pb.js');
23
- goog.object.extend(proto, proto_clarifai_auth_scope_scope_pb);
24
- var proto_clarifai_auth_types_types_pb = require('../../../../proto/clarifai/auth/types/types_pb.js');
25
- goog.object.extend(proto, proto_clarifai_auth_types_types_pb);
26
- var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
27
- goog.object.extend(proto, google_protobuf_descriptor_pb);
28
- goog.exportSymbol('proto.clarifai.auth.util.clAuthType', null, global);
29
- goog.exportSymbol('proto.clarifai.auth.util.clDependingScopesList', null, global);
30
- goog.exportSymbol('proto.clarifai.auth.util.clPrivateField', null, global);
31
- goog.exportSymbol('proto.clarifai.auth.util.clPrivateMessage', null, global);
32
- goog.exportSymbol('proto.clarifai.auth.util.clPrivateRpc', null, global);
33
- /**
34
- * A tuple of {field number, class constructor} for the extension
35
- * field named `clPrivateField`.
36
- * @type {!jspb.ExtensionFieldInfo<boolean>}
37
- */
38
- proto.clarifai.auth.util.clPrivateField = new jspb.ExtensionFieldInfo(80320, { clPrivateField: 0 }, null,
39
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 0);
40
- google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[80320] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.util.clPrivateField, jspb.BinaryReader.prototype.readBool, jspb.BinaryWriter.prototype.writeBool, undefined, undefined, false);
41
- // This registers the extension field with the extended class, so that
42
- // toObject() will function correctly.
43
- google_protobuf_descriptor_pb.FieldOptions.extensions[80320] = proto.clarifai.auth.util.clPrivateField;
44
- /**
45
- * A tuple of {field number, class constructor} for the extension
46
- * field named `clPrivateRpc`.
47
- * @type {!jspb.ExtensionFieldInfo<boolean>}
48
- */
49
- proto.clarifai.auth.util.clPrivateRpc = new jspb.ExtensionFieldInfo(80321, { clPrivateRpc: 0 }, null,
50
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 0);
51
- google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[80321] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.util.clPrivateRpc, jspb.BinaryReader.prototype.readBool, jspb.BinaryWriter.prototype.writeBool, undefined, undefined, false);
52
- // This registers the extension field with the extended class, so that
53
- // toObject() will function correctly.
54
- google_protobuf_descriptor_pb.MethodOptions.extensions[80321] = proto.clarifai.auth.util.clPrivateRpc;
55
- /**
56
- * A tuple of {field number, class constructor} for the extension
57
- * field named `clDependingScopesList`.
58
- * @type {!jspb.ExtensionFieldInfo<!Array<!proto.clarifai.auth.scope.S>>}
59
- */
60
- proto.clarifai.auth.util.clDependingScopesList = new jspb.ExtensionFieldInfo(80322, { clDependingScopesList: 0 }, null,
61
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 1);
62
- google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[80322] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.util.clDependingScopesList, jspb.BinaryReader.prototype.readPackedEnum, jspb.BinaryWriter.prototype.writePackedEnum, undefined, undefined, true);
63
- // This registers the extension field with the extended class, so that
64
- // toObject() will function correctly.
65
- google_protobuf_descriptor_pb.MethodOptions.extensions[80322] = proto.clarifai.auth.util.clDependingScopesList;
66
- /**
67
- * A tuple of {field number, class constructor} for the extension
68
- * field named `clAuthType`.
69
- * @type {!jspb.ExtensionFieldInfo<!proto.clarifai.auth.types.AuthType>}
70
- */
71
- proto.clarifai.auth.util.clAuthType = new jspb.ExtensionFieldInfo(80323, { clAuthType: 0 }, null,
72
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 0);
73
- google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[80323] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.util.clAuthType, jspb.BinaryReader.prototype.readEnum, jspb.BinaryWriter.prototype.writeEnum, undefined, undefined, false);
74
- // This registers the extension field with the extended class, so that
75
- // toObject() will function correctly.
76
- google_protobuf_descriptor_pb.MethodOptions.extensions[80323] = proto.clarifai.auth.util.clAuthType;
77
- /**
78
- * A tuple of {field number, class constructor} for the extension
79
- * field named `clPrivateMessage`.
80
- * @type {!jspb.ExtensionFieldInfo<boolean>}
81
- */
82
- proto.clarifai.auth.util.clPrivateMessage = new jspb.ExtensionFieldInfo(80324, { clPrivateMessage: 0 }, null,
83
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (null), 0);
84
- google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[80324] = new jspb.ExtensionFieldBinaryInfo(proto.clarifai.auth.util.clPrivateMessage, jspb.BinaryReader.prototype.readBool, jspb.BinaryWriter.prototype.writeBool, undefined, undefined, false);
85
- // This registers the extension field with the extended class, so that
86
- // toObject() will function correctly.
87
- google_protobuf_descriptor_pb.MessageOptions.extensions[80324] = proto.clarifai.auth.util.clPrivateMessage;
88
- goog.object.extend(exports, proto.clarifai.auth.util);
@@ -1 +0,0 @@
1
- export * from './proto/clarifai/api/resources_pb';
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./proto/clarifai/api/resources_pb"), exports);
@@ -1 +0,0 @@
1
- export * from './proto/clarifai/api/service_pb';
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./proto/clarifai/api/service_pb"), exports);
@@ -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 {};