clarifai-web-grpc 9.10.5 → 9.10.7

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/VERSION CHANGED
@@ -1 +1 @@
1
- 9.10.5
1
+ 9.10.7
@@ -31,6 +31,7 @@ proto.clarifai.api.status.StatusCode = {
31
31
  TRY_AGAIN: 10030,
32
32
  NOT_IMPLEMENTED: 10040,
33
33
  MOVED: 10050,
34
+ TEAPOT: 10060,
34
35
  CONN_ACCOUNT_ISSUES: 11000,
35
36
  CONN_TOKEN_INVALID: 11001,
36
37
  CONN_CREDENTIALS_INVALID: 11002,
@@ -130,7 +130,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
130
130
  timeRemaining: jspb.Message.getFieldWithDefault(msg, 6, 0),
131
131
  reqId: jspb.Message.getFieldWithDefault(msg, 7, ""),
132
132
  internalDetails: jspb.Message.getFieldWithDefault(msg, 8, ""),
133
- redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f)
133
+ redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f),
134
+ developerNotes: jspb.Message.getFieldWithDefault(msg, 10, "")
134
135
  };
135
136
  if (includeInstance) {
136
137
  obj.$jspbMessageInstance = msg;
@@ -199,6 +200,10 @@ proto.clarifai.api.status.Status.deserializeBinaryFromReader = function (msg, re
199
200
  reader.readMessage(value, proto.clarifai.api.status.RedirectInfo.deserializeBinaryFromReader);
200
201
  msg.setRedirectInfo(value);
201
202
  break;
203
+ case 10:
204
+ var value = /** @type {string} */ (reader.readString());
205
+ msg.setDeveloperNotes(value);
206
+ break;
202
207
  default:
203
208
  reader.skipField();
204
209
  break;
@@ -260,6 +265,10 @@ proto.clarifai.api.status.Status.serializeBinaryToWriter = function (message, wr
260
265
  if (f != null) {
261
266
  writer.writeMessage(9, f, proto.clarifai.api.status.RedirectInfo.serializeBinaryToWriter);
262
267
  }
268
+ f = message.getDeveloperNotes();
269
+ if (f.length > 0) {
270
+ writer.writeString(10, f);
271
+ }
263
272
  };
264
273
  /**
265
274
  * optional StatusCode code = 1;
@@ -416,6 +425,20 @@ proto.clarifai.api.status.Status.prototype.clearRedirectInfo = function () {
416
425
  proto.clarifai.api.status.Status.prototype.hasRedirectInfo = function () {
417
426
  return jspb.Message.getField(this, 9) != null;
418
427
  };
428
+ /**
429
+ * optional string developer_notes = 10;
430
+ * @return {string}
431
+ */
432
+ proto.clarifai.api.status.Status.prototype.getDeveloperNotes = function () {
433
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
434
+ };
435
+ /**
436
+ * @param {string} value
437
+ * @return {!proto.clarifai.api.status.Status} returns this
438
+ */
439
+ proto.clarifai.api.status.Status.prototype.setDeveloperNotes = function (value) {
440
+ return jspb.Message.setProto3StringField(this, 10, value);
441
+ };
419
442
  if (jspb.Message.GENERATE_TO_OBJECT) {
420
443
  /**
421
444
  * Creates an object representation of this proto.
@@ -31,6 +31,7 @@ proto.clarifai.api.status.StatusCode = {
31
31
  TRY_AGAIN: 10030,
32
32
  NOT_IMPLEMENTED: 10040,
33
33
  MOVED: 10050,
34
+ TEAPOT: 10060,
34
35
  CONN_ACCOUNT_ISSUES: 11000,
35
36
  CONN_TOKEN_INVALID: 11001,
36
37
  CONN_CREDENTIALS_INVALID: 11002,
@@ -130,7 +130,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
130
130
  timeRemaining: jspb.Message.getFieldWithDefault(msg, 6, 0),
131
131
  reqId: jspb.Message.getFieldWithDefault(msg, 7, ""),
132
132
  internalDetails: jspb.Message.getFieldWithDefault(msg, 8, ""),
133
- redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f)
133
+ redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f),
134
+ developerNotes: jspb.Message.getFieldWithDefault(msg, 10, "")
134
135
  };
135
136
  if (includeInstance) {
136
137
  obj.$jspbMessageInstance = msg;
@@ -199,6 +200,10 @@ proto.clarifai.api.status.Status.deserializeBinaryFromReader = function (msg, re
199
200
  reader.readMessage(value, proto.clarifai.api.status.RedirectInfo.deserializeBinaryFromReader);
200
201
  msg.setRedirectInfo(value);
201
202
  break;
203
+ case 10:
204
+ var value = /** @type {string} */ (reader.readString());
205
+ msg.setDeveloperNotes(value);
206
+ break;
202
207
  default:
203
208
  reader.skipField();
204
209
  break;
@@ -260,6 +265,10 @@ proto.clarifai.api.status.Status.serializeBinaryToWriter = function (message, wr
260
265
  if (f != null) {
261
266
  writer.writeMessage(9, f, proto.clarifai.api.status.RedirectInfo.serializeBinaryToWriter);
262
267
  }
268
+ f = message.getDeveloperNotes();
269
+ if (f.length > 0) {
270
+ writer.writeString(10, f);
271
+ }
263
272
  };
264
273
  /**
265
274
  * optional StatusCode code = 1;
@@ -416,6 +425,20 @@ proto.clarifai.api.status.Status.prototype.clearRedirectInfo = function () {
416
425
  proto.clarifai.api.status.Status.prototype.hasRedirectInfo = function () {
417
426
  return jspb.Message.getField(this, 9) != null;
418
427
  };
428
+ /**
429
+ * optional string developer_notes = 10;
430
+ * @return {string}
431
+ */
432
+ proto.clarifai.api.status.Status.prototype.getDeveloperNotes = function () {
433
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
434
+ };
435
+ /**
436
+ * @param {string} value
437
+ * @return {!proto.clarifai.api.status.Status} returns this
438
+ */
439
+ proto.clarifai.api.status.Status.prototype.setDeveloperNotes = function (value) {
440
+ return jspb.Message.setProto3StringField(this, 10, value);
441
+ };
419
442
  if (jspb.Message.GENERATE_TO_OBJECT) {
420
443
  /**
421
444
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "9.10.5",
3
+ "version": "9.10.7",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -10,6 +10,7 @@ export enum StatusCode {
10
10
  TRY_AGAIN = 10030,
11
11
  NOT_IMPLEMENTED = 10040,
12
12
  MOVED = 10050,
13
+ TEAPOT = 10060,
13
14
  CONN_ACCOUNT_ISSUES = 11000,
14
15
  CONN_TOKEN_INVALID = 11001,
15
16
  CONN_CREDENTIALS_INVALID = 11002,
@@ -33,6 +33,7 @@ proto.clarifai.api.status.StatusCode = {
33
33
  TRY_AGAIN: 10030,
34
34
  NOT_IMPLEMENTED: 10040,
35
35
  MOVED: 10050,
36
+ TEAPOT: 10060,
36
37
  CONN_ACCOUNT_ISSUES: 11000,
37
38
  CONN_TOKEN_INVALID: 11001,
38
39
  CONN_CREDENTIALS_INVALID: 11002,
@@ -36,6 +36,9 @@ export class Status extends jspb.Message {
36
36
  hasRedirectInfo(): boolean;
37
37
  clearRedirectInfo(): Status;
38
38
 
39
+ getDeveloperNotes(): string;
40
+ setDeveloperNotes(value: string): Status;
41
+
39
42
  serializeBinary(): Uint8Array;
40
43
  toObject(includeInstance?: boolean): Status.AsObject;
41
44
  static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
@@ -55,6 +58,7 @@ export namespace Status {
55
58
  reqId: string,
56
59
  internalDetails: string,
57
60
  redirectInfo?: RedirectInfo.AsObject,
61
+ developerNotes: string,
58
62
  }
59
63
  }
60
64
 
@@ -138,7 +138,8 @@ proto.clarifai.api.status.Status.toObject = function(includeInstance, msg) {
138
138
  timeRemaining: jspb.Message.getFieldWithDefault(msg, 6, 0),
139
139
  reqId: jspb.Message.getFieldWithDefault(msg, 7, ""),
140
140
  internalDetails: jspb.Message.getFieldWithDefault(msg, 8, ""),
141
- redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f)
141
+ redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f),
142
+ developerNotes: jspb.Message.getFieldWithDefault(msg, 10, "")
142
143
  };
143
144
 
144
145
  if (includeInstance) {
@@ -212,6 +213,10 @@ proto.clarifai.api.status.Status.deserializeBinaryFromReader = function(msg, rea
212
213
  reader.readMessage(value,proto.clarifai.api.status.RedirectInfo.deserializeBinaryFromReader);
213
214
  msg.setRedirectInfo(value);
214
215
  break;
216
+ case 10:
217
+ var value = /** @type {string} */ (reader.readString());
218
+ msg.setDeveloperNotes(value);
219
+ break;
215
220
  default:
216
221
  reader.skipField();
217
222
  break;
@@ -305,6 +310,13 @@ proto.clarifai.api.status.Status.serializeBinaryToWriter = function(message, wri
305
310
  proto.clarifai.api.status.RedirectInfo.serializeBinaryToWriter
306
311
  );
307
312
  }
313
+ f = message.getDeveloperNotes();
314
+ if (f.length > 0) {
315
+ writer.writeString(
316
+ 10,
317
+ f
318
+ );
319
+ }
308
320
  };
309
321
 
310
322
 
@@ -508,6 +520,24 @@ proto.clarifai.api.status.Status.prototype.hasRedirectInfo = function() {
508
520
  };
509
521
 
510
522
 
523
+ /**
524
+ * optional string developer_notes = 10;
525
+ * @return {string}
526
+ */
527
+ proto.clarifai.api.status.Status.prototype.getDeveloperNotes = function() {
528
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
529
+ };
530
+
531
+
532
+ /**
533
+ * @param {string} value
534
+ * @return {!proto.clarifai.api.status.Status} returns this
535
+ */
536
+ proto.clarifai.api.status.Status.prototype.setDeveloperNotes = function(value) {
537
+ return jspb.Message.setProto3StringField(this, 10, value);
538
+ };
539
+
540
+
511
541
 
512
542
 
513
543