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