@sniipwebmaster/config-service-client-grpcweb 26.2.2143 → 26.2.2163

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.
@@ -1603,5 +1603,66 @@ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.li
1603
1603
  };
1604
1604
 
1605
1605
 
1606
+ /**
1607
+ * @const
1608
+ * @type {!grpc.web.MethodDescriptor<
1609
+ * !proto.sniipappappconfigapi.UploadOfferImageRequest,
1610
+ * !proto.sniipappappconfigapi.UploadOfferImageResponse>}
1611
+ */
1612
+ const methodDescriptor_SniipAppAppConfigAPIService_UploadOfferImage = new grpc.web.MethodDescriptor(
1613
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UploadOfferImage',
1614
+ grpc.web.MethodType.UNARY,
1615
+ proto.sniipappappconfigapi.UploadOfferImageRequest,
1616
+ proto.sniipappappconfigapi.UploadOfferImageResponse,
1617
+ /**
1618
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageRequest} request
1619
+ * @return {!Uint8Array}
1620
+ */
1621
+ function(request) {
1622
+ return request.serializeBinary();
1623
+ },
1624
+ proto.sniipappappconfigapi.UploadOfferImageResponse.deserializeBinary
1625
+ );
1626
+
1627
+
1628
+ /**
1629
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageRequest} request The
1630
+ * request proto
1631
+ * @param {?Object<string, string>} metadata User defined
1632
+ * call metadata
1633
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.UploadOfferImageResponse)}
1634
+ * callback The callback function(error, response)
1635
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.UploadOfferImageResponse>|undefined}
1636
+ * The XHR Node Readable Stream
1637
+ */
1638
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.uploadOfferImage =
1639
+ function(request, metadata, callback) {
1640
+ return this.client_.rpcCall(this.hostname_ +
1641
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UploadOfferImage',
1642
+ request,
1643
+ metadata || {},
1644
+ methodDescriptor_SniipAppAppConfigAPIService_UploadOfferImage,
1645
+ callback);
1646
+ };
1647
+
1648
+
1649
+ /**
1650
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageRequest} request The
1651
+ * request proto
1652
+ * @param {?Object<string, string>=} metadata User defined
1653
+ * call metadata
1654
+ * @return {!Promise<!proto.sniipappappconfigapi.UploadOfferImageResponse>}
1655
+ * Promise that resolves to the response
1656
+ */
1657
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.uploadOfferImage =
1658
+ function(request, metadata) {
1659
+ return this.client_.unaryCall(this.hostname_ +
1660
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UploadOfferImage',
1661
+ request,
1662
+ metadata || {},
1663
+ methodDescriptor_SniipAppAppConfigAPIService_UploadOfferImage);
1664
+ };
1665
+
1666
+
1606
1667
  module.exports = proto.sniipappappconfigapi;
1607
1668
 
@@ -66,6 +66,8 @@ goog.exportSymbol('proto.sniipappappconfigapi.UpdateMbillingFlagRequest', null,
66
66
  goog.exportSymbol('proto.sniipappappconfigapi.UpdateOfferRequest', null, global);
67
67
  goog.exportSymbol('proto.sniipappappconfigapi.UpdateOfferRulesetRequest', null, global);
68
68
  goog.exportSymbol('proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest', null, global);
69
+ goog.exportSymbol('proto.sniipappappconfigapi.UploadOfferImageRequest', null, global);
70
+ goog.exportSymbol('proto.sniipappappconfigapi.UploadOfferImageResponse', null, global);
69
71
  goog.exportSymbol('proto.sniipappappconfigapi.UserConfigResponse', null, global);
70
72
  /**
71
73
  * Generated by JsPbCodeGenerator.
@@ -991,6 +993,48 @@ if (goog.DEBUG && !COMPILED) {
991
993
  */
992
994
  proto.sniipappappconfigapi.ListOfferRulesetsResponse.displayName = 'proto.sniipappappconfigapi.ListOfferRulesetsResponse';
993
995
  }
996
+ /**
997
+ * Generated by JsPbCodeGenerator.
998
+ * @param {Array=} opt_data Optional initial data array, typically from a
999
+ * server response, or constructed directly in Javascript. The array is used
1000
+ * in place and becomes part of the constructed object. It is not cloned.
1001
+ * If no data is provided, the constructed object will be empty, but still
1002
+ * valid.
1003
+ * @extends {jspb.Message}
1004
+ * @constructor
1005
+ */
1006
+ proto.sniipappappconfigapi.UploadOfferImageRequest = function(opt_data) {
1007
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1008
+ };
1009
+ goog.inherits(proto.sniipappappconfigapi.UploadOfferImageRequest, jspb.Message);
1010
+ if (goog.DEBUG && !COMPILED) {
1011
+ /**
1012
+ * @public
1013
+ * @override
1014
+ */
1015
+ proto.sniipappappconfigapi.UploadOfferImageRequest.displayName = 'proto.sniipappappconfigapi.UploadOfferImageRequest';
1016
+ }
1017
+ /**
1018
+ * Generated by JsPbCodeGenerator.
1019
+ * @param {Array=} opt_data Optional initial data array, typically from a
1020
+ * server response, or constructed directly in Javascript. The array is used
1021
+ * in place and becomes part of the constructed object. It is not cloned.
1022
+ * If no data is provided, the constructed object will be empty, but still
1023
+ * valid.
1024
+ * @extends {jspb.Message}
1025
+ * @constructor
1026
+ */
1027
+ proto.sniipappappconfigapi.UploadOfferImageResponse = function(opt_data) {
1028
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1029
+ };
1030
+ goog.inherits(proto.sniipappappconfigapi.UploadOfferImageResponse, jspb.Message);
1031
+ if (goog.DEBUG && !COMPILED) {
1032
+ /**
1033
+ * @public
1034
+ * @override
1035
+ */
1036
+ proto.sniipappappconfigapi.UploadOfferImageResponse.displayName = 'proto.sniipappappconfigapi.UploadOfferImageResponse';
1037
+ }
994
1038
 
995
1039
 
996
1040
 
@@ -1857,7 +1901,8 @@ proto.sniipappappconfigapi.ConfigExtra.toObject = function(includeInstance, msg)
1857
1901
  allowalipay: jspb.Message.getBooleanFieldWithDefault(msg, 42, false),
1858
1902
  paytobankaccountsenabled: jspb.Message.getBooleanFieldWithDefault(msg, 43, false),
1859
1903
  pointsboostenabled: jspb.Message.getBooleanFieldWithDefault(msg, 44, false),
1860
- filteredspotoffersenabled: jspb.Message.getBooleanFieldWithDefault(msg, 45, false)
1904
+ filteredspotoffersenabled: jspb.Message.getBooleanFieldWithDefault(msg, 45, false),
1905
+ paymentmethodtypevaluetagMap: (f = msg.getPaymentmethodtypevaluetagMap()) ? f.toObject(includeInstance, undefined) : []
1861
1906
  };
1862
1907
 
1863
1908
  if (includeInstance) {
@@ -2076,6 +2121,12 @@ proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader = function(ms
2076
2121
  var value = /** @type {boolean} */ (reader.readBool());
2077
2122
  msg.setFilteredspotoffersenabled(value);
2078
2123
  break;
2124
+ case 46:
2125
+ var value = msg.getPaymentmethodtypevaluetagMap();
2126
+ reader.readMessage(value, function(message, reader) {
2127
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
2128
+ });
2129
+ break;
2079
2130
  default:
2080
2131
  reader.skipField();
2081
2132
  break;
@@ -2422,6 +2473,10 @@ proto.sniipappappconfigapi.ConfigExtra.serializeBinaryToWriter = function(messag
2422
2473
  f
2423
2474
  );
2424
2475
  }
2476
+ f = message.getPaymentmethodtypevaluetagMap(true);
2477
+ if (f && f.getLength() > 0) {
2478
+ f.serializeBinary(46, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
2479
+ }
2425
2480
  };
2426
2481
 
2427
2482
 
@@ -3311,6 +3366,28 @@ proto.sniipappappconfigapi.ConfigExtra.prototype.setFilteredspotoffersenabled =
3311
3366
  };
3312
3367
 
3313
3368
 
3369
+ /**
3370
+ * map<string, string> paymentMethodTypeValueTag = 46;
3371
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
3372
+ * empty, instead returning `undefined`
3373
+ * @return {!jspb.Map<string,string>}
3374
+ */
3375
+ proto.sniipappappconfigapi.ConfigExtra.prototype.getPaymentmethodtypevaluetagMap = function(opt_noLazyCreate) {
3376
+ return /** @type {!jspb.Map<string,string>} */ (
3377
+ jspb.Message.getMapField(this, 46, opt_noLazyCreate,
3378
+ null));
3379
+ };
3380
+
3381
+
3382
+ /**
3383
+ * Clears values from the map. The map will be non-null.
3384
+ * @return {!proto.sniipappappconfigapi.ConfigExtra} returns this
3385
+ */
3386
+ proto.sniipappappconfigapi.ConfigExtra.prototype.clearPaymentmethodtypevaluetagMap = function() {
3387
+ this.getPaymentmethodtypevaluetagMap().clear();
3388
+ return this;};
3389
+
3390
+
3314
3391
 
3315
3392
 
3316
3393
 
@@ -7328,13 +7405,12 @@ proto.sniipappappconfigapi.Offer.toObject = function(includeInstance, msg) {
7328
7405
  offerslistheading: jspb.Message.getFieldWithDefault(msg, 10, ""),
7329
7406
  isenabled: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
7330
7407
  offerwidgetheadingtext: jspb.Message.getFieldWithDefault(msg, 12, ""),
7331
- offerscontent: jspb.Message.getFieldWithDefault(msg, 13, 0),
7332
- orderby: jspb.Message.getFieldWithDefault(msg, 14, 0),
7333
- createdtimestamp: jspb.Message.getFieldWithDefault(msg, 15, ""),
7334
- modifiedtimestamp: jspb.Message.getFieldWithDefault(msg, 16, ""),
7335
- deletedtimestamp: jspb.Message.getFieldWithDefault(msg, 17, ""),
7336
- offerrulesetid: jspb.Message.getFieldWithDefault(msg, 18, 0),
7337
- offerrulesetname: jspb.Message.getFieldWithDefault(msg, 19, "")
7408
+ orderby: jspb.Message.getFieldWithDefault(msg, 13, 0),
7409
+ createdtimestamp: jspb.Message.getFieldWithDefault(msg, 14, ""),
7410
+ modifiedtimestamp: jspb.Message.getFieldWithDefault(msg, 15, ""),
7411
+ deletedtimestamp: jspb.Message.getFieldWithDefault(msg, 16, ""),
7412
+ offerrulesetid: jspb.Message.getFieldWithDefault(msg, 17, 0),
7413
+ offerrulesetname: jspb.Message.getFieldWithDefault(msg, 18, "")
7338
7414
  };
7339
7415
 
7340
7416
  if (includeInstance) {
@@ -7420,30 +7496,26 @@ proto.sniipappappconfigapi.Offer.deserializeBinaryFromReader = function(msg, rea
7420
7496
  msg.setOfferwidgetheadingtext(value);
7421
7497
  break;
7422
7498
  case 13:
7423
- var value = /** @type {number} */ (reader.readInt32());
7424
- msg.setOfferscontent(value);
7425
- break;
7426
- case 14:
7427
7499
  var value = /** @type {number} */ (reader.readInt32());
7428
7500
  msg.setOrderby(value);
7429
7501
  break;
7430
- case 15:
7502
+ case 14:
7431
7503
  var value = /** @type {string} */ (reader.readString());
7432
7504
  msg.setCreatedtimestamp(value);
7433
7505
  break;
7434
- case 16:
7506
+ case 15:
7435
7507
  var value = /** @type {string} */ (reader.readString());
7436
7508
  msg.setModifiedtimestamp(value);
7437
7509
  break;
7438
- case 17:
7510
+ case 16:
7439
7511
  var value = /** @type {string} */ (reader.readString());
7440
7512
  msg.setDeletedtimestamp(value);
7441
7513
  break;
7442
- case 18:
7514
+ case 17:
7443
7515
  var value = /** @type {number} */ (reader.readInt64());
7444
7516
  msg.setOfferrulesetid(value);
7445
7517
  break;
7446
- case 19:
7518
+ case 18:
7447
7519
  var value = /** @type {string} */ (reader.readString());
7448
7520
  msg.setOfferrulesetname(value);
7449
7521
  break;
@@ -7560,52 +7632,45 @@ proto.sniipappappconfigapi.Offer.serializeBinaryToWriter = function(message, wri
7560
7632
  f
7561
7633
  );
7562
7634
  }
7563
- f = message.getOfferscontent();
7564
- if (f !== 0) {
7565
- writer.writeInt32(
7566
- 13,
7567
- f
7568
- );
7569
- }
7570
7635
  f = message.getOrderby();
7571
7636
  if (f !== 0) {
7572
7637
  writer.writeInt32(
7573
- 14,
7638
+ 13,
7574
7639
  f
7575
7640
  );
7576
7641
  }
7577
7642
  f = message.getCreatedtimestamp();
7578
7643
  if (f.length > 0) {
7579
7644
  writer.writeString(
7580
- 15,
7645
+ 14,
7581
7646
  f
7582
7647
  );
7583
7648
  }
7584
7649
  f = message.getModifiedtimestamp();
7585
7650
  if (f.length > 0) {
7586
7651
  writer.writeString(
7587
- 16,
7652
+ 15,
7588
7653
  f
7589
7654
  );
7590
7655
  }
7591
7656
  f = message.getDeletedtimestamp();
7592
7657
  if (f.length > 0) {
7593
7658
  writer.writeString(
7594
- 17,
7659
+ 16,
7595
7660
  f
7596
7661
  );
7597
7662
  }
7598
7663
  f = message.getOfferrulesetid();
7599
7664
  if (f !== 0) {
7600
7665
  writer.writeInt64(
7601
- 18,
7666
+ 17,
7602
7667
  f
7603
7668
  );
7604
7669
  }
7605
7670
  f = message.getOfferrulesetname();
7606
7671
  if (f.length > 0) {
7607
7672
  writer.writeString(
7608
- 19,
7673
+ 18,
7609
7674
  f
7610
7675
  );
7611
7676
  }
@@ -7829,29 +7894,11 @@ proto.sniipappappconfigapi.Offer.prototype.setOfferwidgetheadingtext = function(
7829
7894
 
7830
7895
 
7831
7896
  /**
7832
- * optional int32 offersContent = 13;
7833
- * @return {number}
7834
- */
7835
- proto.sniipappappconfigapi.Offer.prototype.getOfferscontent = function() {
7836
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
7837
- };
7838
-
7839
-
7840
- /**
7841
- * @param {number} value
7842
- * @return {!proto.sniipappappconfigapi.Offer} returns this
7843
- */
7844
- proto.sniipappappconfigapi.Offer.prototype.setOfferscontent = function(value) {
7845
- return jspb.Message.setProto3IntField(this, 13, value);
7846
- };
7847
-
7848
-
7849
- /**
7850
- * optional int32 orderBy = 14;
7897
+ * optional int32 orderBy = 13;
7851
7898
  * @return {number}
7852
7899
  */
7853
7900
  proto.sniipappappconfigapi.Offer.prototype.getOrderby = function() {
7854
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
7901
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
7855
7902
  };
7856
7903
 
7857
7904
 
@@ -7860,16 +7907,16 @@ proto.sniipappappconfigapi.Offer.prototype.getOrderby = function() {
7860
7907
  * @return {!proto.sniipappappconfigapi.Offer} returns this
7861
7908
  */
7862
7909
  proto.sniipappappconfigapi.Offer.prototype.setOrderby = function(value) {
7863
- return jspb.Message.setProto3IntField(this, 14, value);
7910
+ return jspb.Message.setProto3IntField(this, 13, value);
7864
7911
  };
7865
7912
 
7866
7913
 
7867
7914
  /**
7868
- * optional string createdTimestamp = 15;
7915
+ * optional string createdTimestamp = 14;
7869
7916
  * @return {string}
7870
7917
  */
7871
7918
  proto.sniipappappconfigapi.Offer.prototype.getCreatedtimestamp = function() {
7872
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
7919
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
7873
7920
  };
7874
7921
 
7875
7922
 
@@ -7878,16 +7925,16 @@ proto.sniipappappconfigapi.Offer.prototype.getCreatedtimestamp = function() {
7878
7925
  * @return {!proto.sniipappappconfigapi.Offer} returns this
7879
7926
  */
7880
7927
  proto.sniipappappconfigapi.Offer.prototype.setCreatedtimestamp = function(value) {
7881
- return jspb.Message.setProto3StringField(this, 15, value);
7928
+ return jspb.Message.setProto3StringField(this, 14, value);
7882
7929
  };
7883
7930
 
7884
7931
 
7885
7932
  /**
7886
- * optional string modifiedTimestamp = 16;
7933
+ * optional string modifiedTimestamp = 15;
7887
7934
  * @return {string}
7888
7935
  */
7889
7936
  proto.sniipappappconfigapi.Offer.prototype.getModifiedtimestamp = function() {
7890
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
7937
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
7891
7938
  };
7892
7939
 
7893
7940
 
@@ -7896,16 +7943,16 @@ proto.sniipappappconfigapi.Offer.prototype.getModifiedtimestamp = function() {
7896
7943
  * @return {!proto.sniipappappconfigapi.Offer} returns this
7897
7944
  */
7898
7945
  proto.sniipappappconfigapi.Offer.prototype.setModifiedtimestamp = function(value) {
7899
- return jspb.Message.setProto3StringField(this, 16, value);
7946
+ return jspb.Message.setProto3StringField(this, 15, value);
7900
7947
  };
7901
7948
 
7902
7949
 
7903
7950
  /**
7904
- * optional string deletedTimestamp = 17;
7951
+ * optional string deletedTimestamp = 16;
7905
7952
  * @return {string}
7906
7953
  */
7907
7954
  proto.sniipappappconfigapi.Offer.prototype.getDeletedtimestamp = function() {
7908
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
7955
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
7909
7956
  };
7910
7957
 
7911
7958
 
@@ -7914,16 +7961,16 @@ proto.sniipappappconfigapi.Offer.prototype.getDeletedtimestamp = function() {
7914
7961
  * @return {!proto.sniipappappconfigapi.Offer} returns this
7915
7962
  */
7916
7963
  proto.sniipappappconfigapi.Offer.prototype.setDeletedtimestamp = function(value) {
7917
- return jspb.Message.setProto3StringField(this, 17, value);
7964
+ return jspb.Message.setProto3StringField(this, 16, value);
7918
7965
  };
7919
7966
 
7920
7967
 
7921
7968
  /**
7922
- * optional int64 offerRulesetId = 18;
7969
+ * optional int64 offerRulesetId = 17;
7923
7970
  * @return {number}
7924
7971
  */
7925
7972
  proto.sniipappappconfigapi.Offer.prototype.getOfferrulesetid = function() {
7926
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
7973
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
7927
7974
  };
7928
7975
 
7929
7976
 
@@ -7932,16 +7979,16 @@ proto.sniipappappconfigapi.Offer.prototype.getOfferrulesetid = function() {
7932
7979
  * @return {!proto.sniipappappconfigapi.Offer} returns this
7933
7980
  */
7934
7981
  proto.sniipappappconfigapi.Offer.prototype.setOfferrulesetid = function(value) {
7935
- return jspb.Message.setProto3IntField(this, 18, value);
7982
+ return jspb.Message.setProto3IntField(this, 17, value);
7936
7983
  };
7937
7984
 
7938
7985
 
7939
7986
  /**
7940
- * optional string offerRulesetName = 19;
7987
+ * optional string offerRulesetName = 18;
7941
7988
  * @return {string}
7942
7989
  */
7943
7990
  proto.sniipappappconfigapi.Offer.prototype.getOfferrulesetname = function() {
7944
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
7991
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
7945
7992
  };
7946
7993
 
7947
7994
 
@@ -7950,7 +7997,7 @@ proto.sniipappappconfigapi.Offer.prototype.getOfferrulesetname = function() {
7950
7997
  * @return {!proto.sniipappappconfigapi.Offer} returns this
7951
7998
  */
7952
7999
  proto.sniipappappconfigapi.Offer.prototype.setOfferrulesetname = function(value) {
7953
- return jspb.Message.setProto3StringField(this, 19, value);
8000
+ return jspb.Message.setProto3StringField(this, 18, value);
7954
8001
  };
7955
8002
 
7956
8003
 
@@ -7997,9 +8044,8 @@ proto.sniipappappconfigapi.OfferCreateRequest.toObject = function(includeInstanc
7997
8044
  offerslistheading: jspb.Message.getFieldWithDefault(msg, 9, ""),
7998
8045
  isenabled: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
7999
8046
  offerwidgetheadingtext: jspb.Message.getFieldWithDefault(msg, 11, ""),
8000
- offerscontent: jspb.Message.getFieldWithDefault(msg, 12, 0),
8001
- orderby: jspb.Message.getFieldWithDefault(msg, 13, 0),
8002
- offerrulesetid: jspb.Message.getFieldWithDefault(msg, 14, 0)
8047
+ orderby: jspb.Message.getFieldWithDefault(msg, 12, 0),
8048
+ offerrulesetid: jspb.Message.getFieldWithDefault(msg, 13, 0)
8003
8049
  };
8004
8050
 
8005
8051
  if (includeInstance) {
@@ -8081,14 +8127,10 @@ proto.sniipappappconfigapi.OfferCreateRequest.deserializeBinaryFromReader = func
8081
8127
  msg.setOfferwidgetheadingtext(value);
8082
8128
  break;
8083
8129
  case 12:
8084
- var value = /** @type {number} */ (reader.readInt32());
8085
- msg.setOfferscontent(value);
8086
- break;
8087
- case 13:
8088
8130
  var value = /** @type {number} */ (reader.readInt32());
8089
8131
  msg.setOrderby(value);
8090
8132
  break;
8091
- case 14:
8133
+ case 13:
8092
8134
  var value = /** @type {number} */ (reader.readInt64());
8093
8135
  msg.setOfferrulesetid(value);
8094
8136
  break;
@@ -8198,24 +8240,17 @@ proto.sniipappappconfigapi.OfferCreateRequest.serializeBinaryToWriter = function
8198
8240
  f
8199
8241
  );
8200
8242
  }
8201
- f = message.getOfferscontent();
8202
- if (f !== 0) {
8203
- writer.writeInt32(
8204
- 12,
8205
- f
8206
- );
8207
- }
8208
8243
  f = message.getOrderby();
8209
8244
  if (f !== 0) {
8210
8245
  writer.writeInt32(
8211
- 13,
8246
+ 12,
8212
8247
  f
8213
8248
  );
8214
8249
  }
8215
8250
  f = message.getOfferrulesetid();
8216
8251
  if (f !== 0) {
8217
8252
  writer.writeInt64(
8218
- 14,
8253
+ 13,
8219
8254
  f
8220
8255
  );
8221
8256
  }
@@ -8421,29 +8456,11 @@ proto.sniipappappconfigapi.OfferCreateRequest.prototype.setOfferwidgetheadingtex
8421
8456
 
8422
8457
 
8423
8458
  /**
8424
- * optional int32 offersContent = 12;
8425
- * @return {number}
8426
- */
8427
- proto.sniipappappconfigapi.OfferCreateRequest.prototype.getOfferscontent = function() {
8428
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
8429
- };
8430
-
8431
-
8432
- /**
8433
- * @param {number} value
8434
- * @return {!proto.sniipappappconfigapi.OfferCreateRequest} returns this
8435
- */
8436
- proto.sniipappappconfigapi.OfferCreateRequest.prototype.setOfferscontent = function(value) {
8437
- return jspb.Message.setProto3IntField(this, 12, value);
8438
- };
8439
-
8440
-
8441
- /**
8442
- * optional int32 orderBy = 13;
8459
+ * optional int32 orderBy = 12;
8443
8460
  * @return {number}
8444
8461
  */
8445
8462
  proto.sniipappappconfigapi.OfferCreateRequest.prototype.getOrderby = function() {
8446
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
8463
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
8447
8464
  };
8448
8465
 
8449
8466
 
@@ -8452,16 +8469,16 @@ proto.sniipappappconfigapi.OfferCreateRequest.prototype.getOrderby = function()
8452
8469
  * @return {!proto.sniipappappconfigapi.OfferCreateRequest} returns this
8453
8470
  */
8454
8471
  proto.sniipappappconfigapi.OfferCreateRequest.prototype.setOrderby = function(value) {
8455
- return jspb.Message.setProto3IntField(this, 13, value);
8472
+ return jspb.Message.setProto3IntField(this, 12, value);
8456
8473
  };
8457
8474
 
8458
8475
 
8459
8476
  /**
8460
- * optional int64 offerRulesetId = 14;
8477
+ * optional int64 offerRulesetId = 13;
8461
8478
  * @return {number}
8462
8479
  */
8463
8480
  proto.sniipappappconfigapi.OfferCreateRequest.prototype.getOfferrulesetid = function() {
8464
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
8481
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
8465
8482
  };
8466
8483
 
8467
8484
 
@@ -8470,7 +8487,7 @@ proto.sniipappappconfigapi.OfferCreateRequest.prototype.getOfferrulesetid = func
8470
8487
  * @return {!proto.sniipappappconfigapi.OfferCreateRequest} returns this
8471
8488
  */
8472
8489
  proto.sniipappappconfigapi.OfferCreateRequest.prototype.setOfferrulesetid = function(value) {
8473
- return jspb.Message.setProto3IntField(this, 14, value);
8490
+ return jspb.Message.setProto3IntField(this, 13, value);
8474
8491
  };
8475
8492
 
8476
8493
 
@@ -8669,9 +8686,8 @@ proto.sniipappappconfigapi.OfferUpdateRequest.toObject = function(includeInstanc
8669
8686
  offerslistheading: jspb.Message.getFieldWithDefault(msg, 10, ""),
8670
8687
  isenabled: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
8671
8688
  offerwidgetheadingtext: jspb.Message.getFieldWithDefault(msg, 12, ""),
8672
- offerscontent: jspb.Message.getFieldWithDefault(msg, 13, 0),
8673
- orderby: jspb.Message.getFieldWithDefault(msg, 14, 0),
8674
- offerrulesetid: jspb.Message.getFieldWithDefault(msg, 15, 0)
8689
+ orderby: jspb.Message.getFieldWithDefault(msg, 13, 0),
8690
+ offerrulesetid: jspb.Message.getFieldWithDefault(msg, 14, 0)
8675
8691
  };
8676
8692
 
8677
8693
  if (includeInstance) {
@@ -8757,14 +8773,10 @@ proto.sniipappappconfigapi.OfferUpdateRequest.deserializeBinaryFromReader = func
8757
8773
  msg.setOfferwidgetheadingtext(value);
8758
8774
  break;
8759
8775
  case 13:
8760
- var value = /** @type {number} */ (reader.readInt32());
8761
- msg.setOfferscontent(value);
8762
- break;
8763
- case 14:
8764
8776
  var value = /** @type {number} */ (reader.readInt32());
8765
8777
  msg.setOrderby(value);
8766
8778
  break;
8767
- case 15:
8779
+ case 14:
8768
8780
  var value = /** @type {number} */ (reader.readInt64());
8769
8781
  msg.setOfferrulesetid(value);
8770
8782
  break;
@@ -8881,24 +8893,17 @@ proto.sniipappappconfigapi.OfferUpdateRequest.serializeBinaryToWriter = function
8881
8893
  f
8882
8894
  );
8883
8895
  }
8884
- f = message.getOfferscontent();
8885
- if (f !== 0) {
8886
- writer.writeInt32(
8887
- 13,
8888
- f
8889
- );
8890
- }
8891
8896
  f = message.getOrderby();
8892
8897
  if (f !== 0) {
8893
8898
  writer.writeInt32(
8894
- 14,
8899
+ 13,
8895
8900
  f
8896
8901
  );
8897
8902
  }
8898
8903
  f = message.getOfferrulesetid();
8899
8904
  if (f !== 0) {
8900
8905
  writer.writeInt64(
8901
- 15,
8906
+ 14,
8902
8907
  f
8903
8908
  );
8904
8909
  }
@@ -9122,29 +9127,11 @@ proto.sniipappappconfigapi.OfferUpdateRequest.prototype.setOfferwidgetheadingtex
9122
9127
 
9123
9128
 
9124
9129
  /**
9125
- * optional int32 offersContent = 13;
9126
- * @return {number}
9127
- */
9128
- proto.sniipappappconfigapi.OfferUpdateRequest.prototype.getOfferscontent = function() {
9129
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
9130
- };
9131
-
9132
-
9133
- /**
9134
- * @param {number} value
9135
- * @return {!proto.sniipappappconfigapi.OfferUpdateRequest} returns this
9136
- */
9137
- proto.sniipappappconfigapi.OfferUpdateRequest.prototype.setOfferscontent = function(value) {
9138
- return jspb.Message.setProto3IntField(this, 13, value);
9139
- };
9140
-
9141
-
9142
- /**
9143
- * optional int32 orderBy = 14;
9130
+ * optional int32 orderBy = 13;
9144
9131
  * @return {number}
9145
9132
  */
9146
9133
  proto.sniipappappconfigapi.OfferUpdateRequest.prototype.getOrderby = function() {
9147
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
9134
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
9148
9135
  };
9149
9136
 
9150
9137
 
@@ -9153,16 +9140,16 @@ proto.sniipappappconfigapi.OfferUpdateRequest.prototype.getOrderby = function()
9153
9140
  * @return {!proto.sniipappappconfigapi.OfferUpdateRequest} returns this
9154
9141
  */
9155
9142
  proto.sniipappappconfigapi.OfferUpdateRequest.prototype.setOrderby = function(value) {
9156
- return jspb.Message.setProto3IntField(this, 14, value);
9143
+ return jspb.Message.setProto3IntField(this, 13, value);
9157
9144
  };
9158
9145
 
9159
9146
 
9160
9147
  /**
9161
- * optional int64 offerRulesetId = 15;
9148
+ * optional int64 offerRulesetId = 14;
9162
9149
  * @return {number}
9163
9150
  */
9164
9151
  proto.sniipappappconfigapi.OfferUpdateRequest.prototype.getOfferrulesetid = function() {
9165
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
9152
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
9166
9153
  };
9167
9154
 
9168
9155
 
@@ -9171,7 +9158,7 @@ proto.sniipappappconfigapi.OfferUpdateRequest.prototype.getOfferrulesetid = func
9171
9158
  * @return {!proto.sniipappappconfigapi.OfferUpdateRequest} returns this
9172
9159
  */
9173
9160
  proto.sniipappappconfigapi.OfferUpdateRequest.prototype.setOfferrulesetid = function(value) {
9174
- return jspb.Message.setProto3IntField(this, 15, value);
9161
+ return jspb.Message.setProto3IntField(this, 14, value);
9175
9162
  };
9176
9163
 
9177
9164
 
@@ -12578,6 +12565,401 @@ proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setTotalsize = fu
12578
12565
  };
12579
12566
 
12580
12567
 
12568
+
12569
+
12570
+
12571
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12572
+ /**
12573
+ * Creates an object representation of this proto.
12574
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12575
+ * Optional fields that are not set will be set to undefined.
12576
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12577
+ * For the list of reserved names please see:
12578
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12579
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12580
+ * JSPB instance for transitional soy proto support:
12581
+ * http://goto/soy-param-migration
12582
+ * @return {!Object}
12583
+ */
12584
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.toObject = function(opt_includeInstance) {
12585
+ return proto.sniipappappconfigapi.UploadOfferImageRequest.toObject(opt_includeInstance, this);
12586
+ };
12587
+
12588
+
12589
+ /**
12590
+ * Static version of the {@see toObject} method.
12591
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12592
+ * the JSPB instance for transitional soy proto support:
12593
+ * http://goto/soy-param-migration
12594
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageRequest} msg The msg instance to transform.
12595
+ * @return {!Object}
12596
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12597
+ */
12598
+ proto.sniipappappconfigapi.UploadOfferImageRequest.toObject = function(includeInstance, msg) {
12599
+ var f, obj = {
12600
+ filename: jspb.Message.getFieldWithDefault(msg, 1, ""),
12601
+ contenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
12602
+ filedata: msg.getFiledata_asB64()
12603
+ };
12604
+
12605
+ if (includeInstance) {
12606
+ obj.$jspbMessageInstance = msg;
12607
+ }
12608
+ return obj;
12609
+ };
12610
+ }
12611
+
12612
+
12613
+ /**
12614
+ * Deserializes binary data (in protobuf wire format).
12615
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12616
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageRequest}
12617
+ */
12618
+ proto.sniipappappconfigapi.UploadOfferImageRequest.deserializeBinary = function(bytes) {
12619
+ var reader = new jspb.BinaryReader(bytes);
12620
+ var msg = new proto.sniipappappconfigapi.UploadOfferImageRequest;
12621
+ return proto.sniipappappconfigapi.UploadOfferImageRequest.deserializeBinaryFromReader(msg, reader);
12622
+ };
12623
+
12624
+
12625
+ /**
12626
+ * Deserializes binary data (in protobuf wire format) from the
12627
+ * given reader into the given message object.
12628
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageRequest} msg The message object to deserialize into.
12629
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12630
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageRequest}
12631
+ */
12632
+ proto.sniipappappconfigapi.UploadOfferImageRequest.deserializeBinaryFromReader = function(msg, reader) {
12633
+ while (reader.nextField()) {
12634
+ if (reader.isEndGroup()) {
12635
+ break;
12636
+ }
12637
+ var field = reader.getFieldNumber();
12638
+ switch (field) {
12639
+ case 1:
12640
+ var value = /** @type {string} */ (reader.readString());
12641
+ msg.setFilename(value);
12642
+ break;
12643
+ case 2:
12644
+ var value = /** @type {string} */ (reader.readString());
12645
+ msg.setContenttype(value);
12646
+ break;
12647
+ case 3:
12648
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
12649
+ msg.setFiledata(value);
12650
+ break;
12651
+ default:
12652
+ reader.skipField();
12653
+ break;
12654
+ }
12655
+ }
12656
+ return msg;
12657
+ };
12658
+
12659
+
12660
+ /**
12661
+ * Serializes the message to binary data (in protobuf wire format).
12662
+ * @return {!Uint8Array}
12663
+ */
12664
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.serializeBinary = function() {
12665
+ var writer = new jspb.BinaryWriter();
12666
+ proto.sniipappappconfigapi.UploadOfferImageRequest.serializeBinaryToWriter(this, writer);
12667
+ return writer.getResultBuffer();
12668
+ };
12669
+
12670
+
12671
+ /**
12672
+ * Serializes the given message to binary data (in protobuf wire
12673
+ * format), writing to the given BinaryWriter.
12674
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageRequest} message
12675
+ * @param {!jspb.BinaryWriter} writer
12676
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12677
+ */
12678
+ proto.sniipappappconfigapi.UploadOfferImageRequest.serializeBinaryToWriter = function(message, writer) {
12679
+ var f = undefined;
12680
+ f = message.getFilename();
12681
+ if (f.length > 0) {
12682
+ writer.writeString(
12683
+ 1,
12684
+ f
12685
+ );
12686
+ }
12687
+ f = message.getContenttype();
12688
+ if (f.length > 0) {
12689
+ writer.writeString(
12690
+ 2,
12691
+ f
12692
+ );
12693
+ }
12694
+ f = message.getFiledata_asU8();
12695
+ if (f.length > 0) {
12696
+ writer.writeBytes(
12697
+ 3,
12698
+ f
12699
+ );
12700
+ }
12701
+ };
12702
+
12703
+
12704
+ /**
12705
+ * optional string fileName = 1;
12706
+ * @return {string}
12707
+ */
12708
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.getFilename = function() {
12709
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
12710
+ };
12711
+
12712
+
12713
+ /**
12714
+ * @param {string} value
12715
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageRequest} returns this
12716
+ */
12717
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.setFilename = function(value) {
12718
+ return jspb.Message.setProto3StringField(this, 1, value);
12719
+ };
12720
+
12721
+
12722
+ /**
12723
+ * optional string contentType = 2;
12724
+ * @return {string}
12725
+ */
12726
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.getContenttype = function() {
12727
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12728
+ };
12729
+
12730
+
12731
+ /**
12732
+ * @param {string} value
12733
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageRequest} returns this
12734
+ */
12735
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.setContenttype = function(value) {
12736
+ return jspb.Message.setProto3StringField(this, 2, value);
12737
+ };
12738
+
12739
+
12740
+ /**
12741
+ * optional bytes fileData = 3;
12742
+ * @return {!(string|Uint8Array)}
12743
+ */
12744
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.getFiledata = function() {
12745
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
12746
+ };
12747
+
12748
+
12749
+ /**
12750
+ * optional bytes fileData = 3;
12751
+ * This is a type-conversion wrapper around `getFiledata()`
12752
+ * @return {string}
12753
+ */
12754
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.getFiledata_asB64 = function() {
12755
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
12756
+ this.getFiledata()));
12757
+ };
12758
+
12759
+
12760
+ /**
12761
+ * optional bytes fileData = 3;
12762
+ * Note that Uint8Array is not supported on all browsers.
12763
+ * @see http://caniuse.com/Uint8Array
12764
+ * This is a type-conversion wrapper around `getFiledata()`
12765
+ * @return {!Uint8Array}
12766
+ */
12767
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.getFiledata_asU8 = function() {
12768
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
12769
+ this.getFiledata()));
12770
+ };
12771
+
12772
+
12773
+ /**
12774
+ * @param {!(string|Uint8Array)} value
12775
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageRequest} returns this
12776
+ */
12777
+ proto.sniipappappconfigapi.UploadOfferImageRequest.prototype.setFiledata = function(value) {
12778
+ return jspb.Message.setProto3BytesField(this, 3, value);
12779
+ };
12780
+
12781
+
12782
+
12783
+
12784
+
12785
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12786
+ /**
12787
+ * Creates an object representation of this proto.
12788
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12789
+ * Optional fields that are not set will be set to undefined.
12790
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12791
+ * For the list of reserved names please see:
12792
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12793
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12794
+ * JSPB instance for transitional soy proto support:
12795
+ * http://goto/soy-param-migration
12796
+ * @return {!Object}
12797
+ */
12798
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.toObject = function(opt_includeInstance) {
12799
+ return proto.sniipappappconfigapi.UploadOfferImageResponse.toObject(opt_includeInstance, this);
12800
+ };
12801
+
12802
+
12803
+ /**
12804
+ * Static version of the {@see toObject} method.
12805
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12806
+ * the JSPB instance for transitional soy proto support:
12807
+ * http://goto/soy-param-migration
12808
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageResponse} msg The msg instance to transform.
12809
+ * @return {!Object}
12810
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12811
+ */
12812
+ proto.sniipappappconfigapi.UploadOfferImageResponse.toObject = function(includeInstance, msg) {
12813
+ var f, obj = {
12814
+ responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
12815
+ url: jspb.Message.getFieldWithDefault(msg, 2, "")
12816
+ };
12817
+
12818
+ if (includeInstance) {
12819
+ obj.$jspbMessageInstance = msg;
12820
+ }
12821
+ return obj;
12822
+ };
12823
+ }
12824
+
12825
+
12826
+ /**
12827
+ * Deserializes binary data (in protobuf wire format).
12828
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12829
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageResponse}
12830
+ */
12831
+ proto.sniipappappconfigapi.UploadOfferImageResponse.deserializeBinary = function(bytes) {
12832
+ var reader = new jspb.BinaryReader(bytes);
12833
+ var msg = new proto.sniipappappconfigapi.UploadOfferImageResponse;
12834
+ return proto.sniipappappconfigapi.UploadOfferImageResponse.deserializeBinaryFromReader(msg, reader);
12835
+ };
12836
+
12837
+
12838
+ /**
12839
+ * Deserializes binary data (in protobuf wire format) from the
12840
+ * given reader into the given message object.
12841
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageResponse} msg The message object to deserialize into.
12842
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12843
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageResponse}
12844
+ */
12845
+ proto.sniipappappconfigapi.UploadOfferImageResponse.deserializeBinaryFromReader = function(msg, reader) {
12846
+ while (reader.nextField()) {
12847
+ if (reader.isEndGroup()) {
12848
+ break;
12849
+ }
12850
+ var field = reader.getFieldNumber();
12851
+ switch (field) {
12852
+ case 1:
12853
+ var value = new proto.sniipappappconfigapi.ResponseCode;
12854
+ reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
12855
+ msg.setResponsecode(value);
12856
+ break;
12857
+ case 2:
12858
+ var value = /** @type {string} */ (reader.readString());
12859
+ msg.setUrl(value);
12860
+ break;
12861
+ default:
12862
+ reader.skipField();
12863
+ break;
12864
+ }
12865
+ }
12866
+ return msg;
12867
+ };
12868
+
12869
+
12870
+ /**
12871
+ * Serializes the message to binary data (in protobuf wire format).
12872
+ * @return {!Uint8Array}
12873
+ */
12874
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.serializeBinary = function() {
12875
+ var writer = new jspb.BinaryWriter();
12876
+ proto.sniipappappconfigapi.UploadOfferImageResponse.serializeBinaryToWriter(this, writer);
12877
+ return writer.getResultBuffer();
12878
+ };
12879
+
12880
+
12881
+ /**
12882
+ * Serializes the given message to binary data (in protobuf wire
12883
+ * format), writing to the given BinaryWriter.
12884
+ * @param {!proto.sniipappappconfigapi.UploadOfferImageResponse} message
12885
+ * @param {!jspb.BinaryWriter} writer
12886
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12887
+ */
12888
+ proto.sniipappappconfigapi.UploadOfferImageResponse.serializeBinaryToWriter = function(message, writer) {
12889
+ var f = undefined;
12890
+ f = message.getResponsecode();
12891
+ if (f != null) {
12892
+ writer.writeMessage(
12893
+ 1,
12894
+ f,
12895
+ proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
12896
+ );
12897
+ }
12898
+ f = message.getUrl();
12899
+ if (f.length > 0) {
12900
+ writer.writeString(
12901
+ 2,
12902
+ f
12903
+ );
12904
+ }
12905
+ };
12906
+
12907
+
12908
+ /**
12909
+ * optional ResponseCode responseCode = 1;
12910
+ * @return {?proto.sniipappappconfigapi.ResponseCode}
12911
+ */
12912
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.getResponsecode = function() {
12913
+ return /** @type{?proto.sniipappappconfigapi.ResponseCode} */ (
12914
+ jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
12915
+ };
12916
+
12917
+
12918
+ /**
12919
+ * @param {?proto.sniipappappconfigapi.ResponseCode|undefined} value
12920
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageResponse} returns this
12921
+ */
12922
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.setResponsecode = function(value) {
12923
+ return jspb.Message.setWrapperField(this, 1, value);
12924
+ };
12925
+
12926
+
12927
+ /**
12928
+ * Clears the message field making it undefined.
12929
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageResponse} returns this
12930
+ */
12931
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.clearResponsecode = function() {
12932
+ return this.setResponsecode(undefined);
12933
+ };
12934
+
12935
+
12936
+ /**
12937
+ * Returns whether this field is set.
12938
+ * @return {boolean}
12939
+ */
12940
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.hasResponsecode = function() {
12941
+ return jspb.Message.getField(this, 1) != null;
12942
+ };
12943
+
12944
+
12945
+ /**
12946
+ * optional string url = 2;
12947
+ * @return {string}
12948
+ */
12949
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.getUrl = function() {
12950
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12951
+ };
12952
+
12953
+
12954
+ /**
12955
+ * @param {string} value
12956
+ * @return {!proto.sniipappappconfigapi.UploadOfferImageResponse} returns this
12957
+ */
12958
+ proto.sniipappappconfigapi.UploadOfferImageResponse.prototype.setUrl = function(value) {
12959
+ return jspb.Message.setProto3StringField(this, 2, value);
12960
+ };
12961
+
12962
+
12581
12963
  /**
12582
12964
  * @enum {number}
12583
12965
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/config-service-client-grpcweb",
3
- "version": "26.2.2143",
3
+ "version": "26.2.2163",
4
4
  "description": "config-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",