clarifai-web-grpc 9.11.1 → 9.11.2

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.11.1
1
+ 9.11.2
@@ -36471,10 +36471,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
36471
36471
  proto.clarifai.api.AppDuplication.toObject = function (includeInstance, msg) {
36472
36472
  var f, obj = {
36473
36473
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
36474
+ destinationApp: (f = msg.getDestinationApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
36474
36475
  existingAppId: jspb.Message.getFieldWithDefault(msg, 8, ""),
36475
36476
  newAppId: jspb.Message.getFieldWithDefault(msg, 2, ""),
36476
36477
  newAppName: jspb.Message.getFieldWithDefault(msg, 3, ""),
36477
- newAppDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
36478
36478
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
36479
36479
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
36480
36480
  lastModifiedAt: (f = msg.getLastModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
@@ -36515,6 +36515,11 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
36515
36515
  var value = /** @type {string} */ (reader.readString());
36516
36516
  msg.setId(value);
36517
36517
  break;
36518
+ case 10:
36519
+ var value = new proto.clarifai.api.App;
36520
+ reader.readMessage(value, proto.clarifai.api.App.deserializeBinaryFromReader);
36521
+ msg.setDestinationApp(value);
36522
+ break;
36518
36523
  case 8:
36519
36524
  var value = /** @type {string} */ (reader.readString());
36520
36525
  msg.setExistingAppId(value);
@@ -36527,10 +36532,6 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
36527
36532
  var value = /** @type {string} */ (reader.readString());
36528
36533
  msg.setNewAppName(value);
36529
36534
  break;
36530
- case 10:
36531
- var value = /** @type {string} */ (reader.readString());
36532
- msg.setNewAppDescription(value);
36533
- break;
36534
36535
  case 4:
36535
36536
  var value = new proto_clarifai_api_status_status_pb.Status;
36536
36537
  reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
@@ -36585,6 +36586,10 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
36585
36586
  if (f.length > 0) {
36586
36587
  writer.writeString(1, f);
36587
36588
  }
36589
+ f = message.getDestinationApp();
36590
+ if (f != null) {
36591
+ writer.writeMessage(10, f, proto.clarifai.api.App.serializeBinaryToWriter);
36592
+ }
36588
36593
  f = message.getExistingAppId();
36589
36594
  if (f.length > 0) {
36590
36595
  writer.writeString(8, f);
@@ -36597,10 +36602,6 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
36597
36602
  if (f.length > 0) {
36598
36603
  writer.writeString(3, f);
36599
36604
  }
36600
- f = message.getNewAppDescription();
36601
- if (f.length > 0) {
36602
- writer.writeString(10, f);
36603
- }
36604
36605
  f = message.getStatus();
36605
36606
  if (f != null) {
36606
36607
  writer.writeMessage(4, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
@@ -36636,6 +36637,34 @@ proto.clarifai.api.AppDuplication.prototype.getId = function () {
36636
36637
  proto.clarifai.api.AppDuplication.prototype.setId = function (value) {
36637
36638
  return jspb.Message.setProto3StringField(this, 1, value);
36638
36639
  };
36640
+ /**
36641
+ * optional App destination_app = 10;
36642
+ * @return {?proto.clarifai.api.App}
36643
+ */
36644
+ proto.clarifai.api.AppDuplication.prototype.getDestinationApp = function () {
36645
+ return /** @type{?proto.clarifai.api.App} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.App, 10));
36646
+ };
36647
+ /**
36648
+ * @param {?proto.clarifai.api.App|undefined} value
36649
+ * @return {!proto.clarifai.api.AppDuplication} returns this
36650
+ */
36651
+ proto.clarifai.api.AppDuplication.prototype.setDestinationApp = function (value) {
36652
+ return jspb.Message.setWrapperField(this, 10, value);
36653
+ };
36654
+ /**
36655
+ * Clears the message field making it undefined.
36656
+ * @return {!proto.clarifai.api.AppDuplication} returns this
36657
+ */
36658
+ proto.clarifai.api.AppDuplication.prototype.clearDestinationApp = function () {
36659
+ return this.setDestinationApp(undefined);
36660
+ };
36661
+ /**
36662
+ * Returns whether this field is set.
36663
+ * @return {boolean}
36664
+ */
36665
+ proto.clarifai.api.AppDuplication.prototype.hasDestinationApp = function () {
36666
+ return jspb.Message.getField(this, 10) != null;
36667
+ };
36639
36668
  /**
36640
36669
  * optional string existing_app_id = 8;
36641
36670
  * @return {string}
@@ -36678,20 +36707,6 @@ proto.clarifai.api.AppDuplication.prototype.getNewAppName = function () {
36678
36707
  proto.clarifai.api.AppDuplication.prototype.setNewAppName = function (value) {
36679
36708
  return jspb.Message.setProto3StringField(this, 3, value);
36680
36709
  };
36681
- /**
36682
- * optional string new_app_description = 10;
36683
- * @return {string}
36684
- */
36685
- proto.clarifai.api.AppDuplication.prototype.getNewAppDescription = function () {
36686
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
36687
- };
36688
- /**
36689
- * @param {string} value
36690
- * @return {!proto.clarifai.api.AppDuplication} returns this
36691
- */
36692
- proto.clarifai.api.AppDuplication.prototype.setNewAppDescription = function (value) {
36693
- return jspb.Message.setProto3StringField(this, 10, value);
36694
- };
36695
36710
  /**
36696
36711
  * optional status.Status status = 4;
36697
36712
  * @return {?proto.clarifai.api.status.Status}
@@ -36471,10 +36471,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
36471
36471
  proto.clarifai.api.AppDuplication.toObject = function (includeInstance, msg) {
36472
36472
  var f, obj = {
36473
36473
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
36474
+ destinationApp: (f = msg.getDestinationApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
36474
36475
  existingAppId: jspb.Message.getFieldWithDefault(msg, 8, ""),
36475
36476
  newAppId: jspb.Message.getFieldWithDefault(msg, 2, ""),
36476
36477
  newAppName: jspb.Message.getFieldWithDefault(msg, 3, ""),
36477
- newAppDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
36478
36478
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
36479
36479
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
36480
36480
  lastModifiedAt: (f = msg.getLastModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
@@ -36515,6 +36515,11 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
36515
36515
  var value = /** @type {string} */ (reader.readString());
36516
36516
  msg.setId(value);
36517
36517
  break;
36518
+ case 10:
36519
+ var value = new proto.clarifai.api.App;
36520
+ reader.readMessage(value, proto.clarifai.api.App.deserializeBinaryFromReader);
36521
+ msg.setDestinationApp(value);
36522
+ break;
36518
36523
  case 8:
36519
36524
  var value = /** @type {string} */ (reader.readString());
36520
36525
  msg.setExistingAppId(value);
@@ -36527,10 +36532,6 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
36527
36532
  var value = /** @type {string} */ (reader.readString());
36528
36533
  msg.setNewAppName(value);
36529
36534
  break;
36530
- case 10:
36531
- var value = /** @type {string} */ (reader.readString());
36532
- msg.setNewAppDescription(value);
36533
- break;
36534
36535
  case 4:
36535
36536
  var value = new proto_clarifai_api_status_status_pb.Status;
36536
36537
  reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
@@ -36585,6 +36586,10 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
36585
36586
  if (f.length > 0) {
36586
36587
  writer.writeString(1, f);
36587
36588
  }
36589
+ f = message.getDestinationApp();
36590
+ if (f != null) {
36591
+ writer.writeMessage(10, f, proto.clarifai.api.App.serializeBinaryToWriter);
36592
+ }
36588
36593
  f = message.getExistingAppId();
36589
36594
  if (f.length > 0) {
36590
36595
  writer.writeString(8, f);
@@ -36597,10 +36602,6 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
36597
36602
  if (f.length > 0) {
36598
36603
  writer.writeString(3, f);
36599
36604
  }
36600
- f = message.getNewAppDescription();
36601
- if (f.length > 0) {
36602
- writer.writeString(10, f);
36603
- }
36604
36605
  f = message.getStatus();
36605
36606
  if (f != null) {
36606
36607
  writer.writeMessage(4, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
@@ -36636,6 +36637,34 @@ proto.clarifai.api.AppDuplication.prototype.getId = function () {
36636
36637
  proto.clarifai.api.AppDuplication.prototype.setId = function (value) {
36637
36638
  return jspb.Message.setProto3StringField(this, 1, value);
36638
36639
  };
36640
+ /**
36641
+ * optional App destination_app = 10;
36642
+ * @return {?proto.clarifai.api.App}
36643
+ */
36644
+ proto.clarifai.api.AppDuplication.prototype.getDestinationApp = function () {
36645
+ return /** @type{?proto.clarifai.api.App} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.App, 10));
36646
+ };
36647
+ /**
36648
+ * @param {?proto.clarifai.api.App|undefined} value
36649
+ * @return {!proto.clarifai.api.AppDuplication} returns this
36650
+ */
36651
+ proto.clarifai.api.AppDuplication.prototype.setDestinationApp = function (value) {
36652
+ return jspb.Message.setWrapperField(this, 10, value);
36653
+ };
36654
+ /**
36655
+ * Clears the message field making it undefined.
36656
+ * @return {!proto.clarifai.api.AppDuplication} returns this
36657
+ */
36658
+ proto.clarifai.api.AppDuplication.prototype.clearDestinationApp = function () {
36659
+ return this.setDestinationApp(undefined);
36660
+ };
36661
+ /**
36662
+ * Returns whether this field is set.
36663
+ * @return {boolean}
36664
+ */
36665
+ proto.clarifai.api.AppDuplication.prototype.hasDestinationApp = function () {
36666
+ return jspb.Message.getField(this, 10) != null;
36667
+ };
36639
36668
  /**
36640
36669
  * optional string existing_app_id = 8;
36641
36670
  * @return {string}
@@ -36678,20 +36707,6 @@ proto.clarifai.api.AppDuplication.prototype.getNewAppName = function () {
36678
36707
  proto.clarifai.api.AppDuplication.prototype.setNewAppName = function (value) {
36679
36708
  return jspb.Message.setProto3StringField(this, 3, value);
36680
36709
  };
36681
- /**
36682
- * optional string new_app_description = 10;
36683
- * @return {string}
36684
- */
36685
- proto.clarifai.api.AppDuplication.prototype.getNewAppDescription = function () {
36686
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
36687
- };
36688
- /**
36689
- * @param {string} value
36690
- * @return {!proto.clarifai.api.AppDuplication} returns this
36691
- */
36692
- proto.clarifai.api.AppDuplication.prototype.setNewAppDescription = function (value) {
36693
- return jspb.Message.setProto3StringField(this, 10, value);
36694
- };
36695
36710
  /**
36696
36711
  * optional status.Status status = 4;
36697
36712
  * @return {?proto.clarifai.api.status.Status}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "9.11.1",
3
+ "version": "9.11.2",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -5293,6 +5293,11 @@ export class AppDuplication extends jspb.Message {
5293
5293
  getId(): string;
5294
5294
  setId(value: string): AppDuplication;
5295
5295
 
5296
+ getDestinationApp(): App | undefined;
5297
+ setDestinationApp(value?: App): AppDuplication;
5298
+ hasDestinationApp(): boolean;
5299
+ clearDestinationApp(): AppDuplication;
5300
+
5296
5301
  getExistingAppId(): string;
5297
5302
  setExistingAppId(value: string): AppDuplication;
5298
5303
 
@@ -5302,9 +5307,6 @@ export class AppDuplication extends jspb.Message {
5302
5307
  getNewAppName(): string;
5303
5308
  setNewAppName(value: string): AppDuplication;
5304
5309
 
5305
- getNewAppDescription(): string;
5306
- setNewAppDescription(value: string): AppDuplication;
5307
-
5308
5310
  getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
5309
5311
  setStatus(value?: proto_clarifai_api_status_status_pb.Status): AppDuplication;
5310
5312
  hasStatus(): boolean;
@@ -5341,10 +5343,10 @@ export class AppDuplication extends jspb.Message {
5341
5343
  export namespace AppDuplication {
5342
5344
  export type AsObject = {
5343
5345
  id: string,
5346
+ destinationApp?: App.AsObject,
5344
5347
  existingAppId: string,
5345
5348
  newAppId: string,
5346
5349
  newAppName: string,
5347
- newAppDescription: string,
5348
5350
  status?: proto_clarifai_api_status_status_pb.Status.AsObject,
5349
5351
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
5350
5352
  lastModifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
@@ -45390,10 +45390,10 @@ proto.clarifai.api.AppDuplication.prototype.toObject = function(opt_includeInsta
45390
45390
  proto.clarifai.api.AppDuplication.toObject = function(includeInstance, msg) {
45391
45391
  var f, obj = {
45392
45392
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
45393
+ destinationApp: (f = msg.getDestinationApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
45393
45394
  existingAppId: jspb.Message.getFieldWithDefault(msg, 8, ""),
45394
45395
  newAppId: jspb.Message.getFieldWithDefault(msg, 2, ""),
45395
45396
  newAppName: jspb.Message.getFieldWithDefault(msg, 3, ""),
45396
- newAppDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
45397
45397
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
45398
45398
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
45399
45399
  lastModifiedAt: (f = msg.getLastModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
@@ -45440,6 +45440,11 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function(msg, re
45440
45440
  var value = /** @type {string} */ (reader.readString());
45441
45441
  msg.setId(value);
45442
45442
  break;
45443
+ case 10:
45444
+ var value = new proto.clarifai.api.App;
45445
+ reader.readMessage(value,proto.clarifai.api.App.deserializeBinaryFromReader);
45446
+ msg.setDestinationApp(value);
45447
+ break;
45443
45448
  case 8:
45444
45449
  var value = /** @type {string} */ (reader.readString());
45445
45450
  msg.setExistingAppId(value);
@@ -45452,10 +45457,6 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function(msg, re
45452
45457
  var value = /** @type {string} */ (reader.readString());
45453
45458
  msg.setNewAppName(value);
45454
45459
  break;
45455
- case 10:
45456
- var value = /** @type {string} */ (reader.readString());
45457
- msg.setNewAppDescription(value);
45458
- break;
45459
45460
  case 4:
45460
45461
  var value = new proto_clarifai_api_status_status_pb.Status;
45461
45462
  reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
@@ -45517,6 +45518,14 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function(message, wr
45517
45518
  f
45518
45519
  );
45519
45520
  }
45521
+ f = message.getDestinationApp();
45522
+ if (f != null) {
45523
+ writer.writeMessage(
45524
+ 10,
45525
+ f,
45526
+ proto.clarifai.api.App.serializeBinaryToWriter
45527
+ );
45528
+ }
45520
45529
  f = message.getExistingAppId();
45521
45530
  if (f.length > 0) {
45522
45531
  writer.writeString(
@@ -45538,13 +45547,6 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function(message, wr
45538
45547
  f
45539
45548
  );
45540
45549
  }
45541
- f = message.getNewAppDescription();
45542
- if (f.length > 0) {
45543
- writer.writeString(
45544
- 10,
45545
- f
45546
- );
45547
- }
45548
45550
  f = message.getStatus();
45549
45551
  if (f != null) {
45550
45552
  writer.writeMessage(
@@ -45606,6 +45608,43 @@ proto.clarifai.api.AppDuplication.prototype.setId = function(value) {
45606
45608
  };
45607
45609
 
45608
45610
 
45611
+ /**
45612
+ * optional App destination_app = 10;
45613
+ * @return {?proto.clarifai.api.App}
45614
+ */
45615
+ proto.clarifai.api.AppDuplication.prototype.getDestinationApp = function() {
45616
+ return /** @type{?proto.clarifai.api.App} */ (
45617
+ jspb.Message.getWrapperField(this, proto.clarifai.api.App, 10));
45618
+ };
45619
+
45620
+
45621
+ /**
45622
+ * @param {?proto.clarifai.api.App|undefined} value
45623
+ * @return {!proto.clarifai.api.AppDuplication} returns this
45624
+ */
45625
+ proto.clarifai.api.AppDuplication.prototype.setDestinationApp = function(value) {
45626
+ return jspb.Message.setWrapperField(this, 10, value);
45627
+ };
45628
+
45629
+
45630
+ /**
45631
+ * Clears the message field making it undefined.
45632
+ * @return {!proto.clarifai.api.AppDuplication} returns this
45633
+ */
45634
+ proto.clarifai.api.AppDuplication.prototype.clearDestinationApp = function() {
45635
+ return this.setDestinationApp(undefined);
45636
+ };
45637
+
45638
+
45639
+ /**
45640
+ * Returns whether this field is set.
45641
+ * @return {boolean}
45642
+ */
45643
+ proto.clarifai.api.AppDuplication.prototype.hasDestinationApp = function() {
45644
+ return jspb.Message.getField(this, 10) != null;
45645
+ };
45646
+
45647
+
45609
45648
  /**
45610
45649
  * optional string existing_app_id = 8;
45611
45650
  * @return {string}
@@ -45660,24 +45699,6 @@ proto.clarifai.api.AppDuplication.prototype.setNewAppName = function(value) {
45660
45699
  };
45661
45700
 
45662
45701
 
45663
- /**
45664
- * optional string new_app_description = 10;
45665
- * @return {string}
45666
- */
45667
- proto.clarifai.api.AppDuplication.prototype.getNewAppDescription = function() {
45668
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
45669
- };
45670
-
45671
-
45672
- /**
45673
- * @param {string} value
45674
- * @return {!proto.clarifai.api.AppDuplication} returns this
45675
- */
45676
- proto.clarifai.api.AppDuplication.prototype.setNewAppDescription = function(value) {
45677
- return jspb.Message.setProto3StringField(this, 10, value);
45678
- };
45679
-
45680
-
45681
45702
  /**
45682
45703
  * optional status.Status status = 4;
45683
45704
  * @return {?proto.clarifai.api.status.Status}