@sniipwebmaster/user-service-client-grpcweb 21.12.5004 → 21.13.5030

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.
@@ -1575,6 +1575,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.deleteTest
1575
1575
  };
1576
1576
 
1577
1577
 
1578
+ /**
1579
+ * @const
1580
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1581
+ * !proto.sniipuserservice.DeleteUserAccountRequest,
1582
+ * !proto.sniipuserservice.ResponseCode>}
1583
+ */
1584
+ const methodInfo_SniipUserServiceService_DeleteUserAccount = new grpc.web.AbstractClientBase.MethodInfo(
1585
+ proto.sniipuserservice.ResponseCode,
1586
+ /** @param {!proto.sniipuserservice.DeleteUserAccountRequest} request */
1587
+ function(request) {
1588
+ return request.serializeBinary();
1589
+ },
1590
+ proto.sniipuserservice.ResponseCode.deserializeBinary
1591
+ );
1592
+
1593
+
1594
+ /**
1595
+ * @param {!proto.sniipuserservice.DeleteUserAccountRequest} request The
1596
+ * request proto
1597
+ * @param {?Object<string, string>} metadata User defined
1598
+ * call metadata
1599
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
1600
+ * callback The callback function(error, response)
1601
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
1602
+ * The XHR Node Readable Stream
1603
+ */
1604
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.deleteUserAccount =
1605
+ function(request, metadata, callback) {
1606
+ return this.client_.rpcCall(this.hostname_ +
1607
+ '/sniipuserservice.SniipUserServiceService/DeleteUserAccount',
1608
+ request,
1609
+ metadata || {},
1610
+ methodInfo_SniipUserServiceService_DeleteUserAccount,
1611
+ callback);
1612
+ };
1613
+
1614
+
1615
+ /**
1616
+ * @param {!proto.sniipuserservice.DeleteUserAccountRequest} request The
1617
+ * request proto
1618
+ * @param {?Object<string, string>} metadata User defined
1619
+ * call metadata
1620
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
1621
+ * A native promise that resolves to the response
1622
+ */
1623
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.deleteUserAccount =
1624
+ function(request, metadata) {
1625
+ return this.client_.unaryCall(this.hostname_ +
1626
+ '/sniipuserservice.SniipUserServiceService/DeleteUserAccount',
1627
+ request,
1628
+ metadata || {},
1629
+ methodInfo_SniipUserServiceService_DeleteUserAccount);
1630
+ };
1631
+
1632
+
1578
1633
  /**
1579
1634
  * @const
1580
1635
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -2400,6 +2455,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getTestBil
2400
2455
  };
2401
2456
 
2402
2457
 
2458
+ /**
2459
+ * @const
2460
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2461
+ * !proto.sniipuserservice.GiveFeedbackRequest,
2462
+ * !proto.sniipuserservice.ResponseCode>}
2463
+ */
2464
+ const methodInfo_SniipUserServiceService_GiveFeedback = new grpc.web.AbstractClientBase.MethodInfo(
2465
+ proto.sniipuserservice.ResponseCode,
2466
+ /** @param {!proto.sniipuserservice.GiveFeedbackRequest} request */
2467
+ function(request) {
2468
+ return request.serializeBinary();
2469
+ },
2470
+ proto.sniipuserservice.ResponseCode.deserializeBinary
2471
+ );
2472
+
2473
+
2474
+ /**
2475
+ * @param {!proto.sniipuserservice.GiveFeedbackRequest} request The
2476
+ * request proto
2477
+ * @param {?Object<string, string>} metadata User defined
2478
+ * call metadata
2479
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
2480
+ * callback The callback function(error, response)
2481
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
2482
+ * The XHR Node Readable Stream
2483
+ */
2484
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.giveFeedback =
2485
+ function(request, metadata, callback) {
2486
+ return this.client_.rpcCall(this.hostname_ +
2487
+ '/sniipuserservice.SniipUserServiceService/GiveFeedback',
2488
+ request,
2489
+ metadata || {},
2490
+ methodInfo_SniipUserServiceService_GiveFeedback,
2491
+ callback);
2492
+ };
2493
+
2494
+
2495
+ /**
2496
+ * @param {!proto.sniipuserservice.GiveFeedbackRequest} request The
2497
+ * request proto
2498
+ * @param {?Object<string, string>} metadata User defined
2499
+ * call metadata
2500
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
2501
+ * A native promise that resolves to the response
2502
+ */
2503
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.giveFeedback =
2504
+ function(request, metadata) {
2505
+ return this.client_.unaryCall(this.hostname_ +
2506
+ '/sniipuserservice.SniipUserServiceService/GiveFeedback',
2507
+ request,
2508
+ metadata || {},
2509
+ methodInfo_SniipUserServiceService_GiveFeedback);
2510
+ };
2511
+
2512
+
2403
2513
  /**
2404
2514
  * @const
2405
2515
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -44,9 +44,12 @@ goog.exportSymbol('proto.sniipuserservice.CreateUserPassportRequest', null, glob
44
44
  goog.exportSymbol('proto.sniipuserservice.CreateUserPassportV2Request', null, global);
45
45
  goog.exportSymbol('proto.sniipuserservice.CreateUserPassportWebRequest', null, global);
46
46
  goog.exportSymbol('proto.sniipuserservice.CreateUserPassportWebV2Request', null, global);
47
+ goog.exportSymbol('proto.sniipuserservice.DeleteAccountRequest', null, global);
47
48
  goog.exportSymbol('proto.sniipuserservice.DeleteBillerRolesRequest', null, global);
48
49
  goog.exportSymbol('proto.sniipuserservice.DeleteTestAccountRequest', null, global);
50
+ goog.exportSymbol('proto.sniipuserservice.DeleteUserAccountRequest', null, global);
49
51
  goog.exportSymbol('proto.sniipuserservice.DeviceDetails', null, global);
52
+ goog.exportSymbol('proto.sniipuserservice.FeedbackRequest', null, global);
50
53
  goog.exportSymbol('proto.sniipuserservice.GetInternalProfileByApiKeyRequest', null, global);
51
54
  goog.exportSymbol('proto.sniipuserservice.GetInternalProfileFromEmailRequest', null, global);
52
55
  goog.exportSymbol('proto.sniipuserservice.GetInternalProfileRequest', null, global);
@@ -60,6 +63,7 @@ goog.exportSymbol('proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleReq
60
63
  goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest', null, global);
61
64
  goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenRequest', null, global);
62
65
  goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenResponse', null, global);
66
+ goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
63
67
  goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedRequest', null, global);
64
68
  goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedResponse', null, global);
65
69
  goog.exportSymbol('proto.sniipuserservice.KycUser', null, global);
@@ -8649,6 +8653,165 @@ proto.sniipuserservice.CreateUserPassportWebV2Request.prototype.hasData = functi
8649
8653
 
8650
8654
 
8651
8655
 
8656
+ /**
8657
+ * Generated by JsPbCodeGenerator.
8658
+ * @param {Array=} opt_data Optional initial data array, typically from a
8659
+ * server response, or constructed directly in Javascript. The array is used
8660
+ * in place and becomes part of the constructed object. It is not cloned.
8661
+ * If no data is provided, the constructed object will be empty, but still
8662
+ * valid.
8663
+ * @extends {jspb.Message}
8664
+ * @constructor
8665
+ */
8666
+ proto.sniipuserservice.DeleteAccountRequest = function(opt_data) {
8667
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8668
+ };
8669
+ goog.inherits(proto.sniipuserservice.DeleteAccountRequest, jspb.Message);
8670
+ if (goog.DEBUG && !COMPILED) {
8671
+ proto.sniipuserservice.DeleteAccountRequest.displayName = 'proto.sniipuserservice.DeleteAccountRequest';
8672
+ }
8673
+
8674
+
8675
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8676
+ /**
8677
+ * Creates an object representation of this proto suitable for use in Soy templates.
8678
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8679
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8680
+ * For the list of reserved names please see:
8681
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
8682
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
8683
+ * for transitional soy proto support: http://goto/soy-param-migration
8684
+ * @return {!Object}
8685
+ */
8686
+ proto.sniipuserservice.DeleteAccountRequest.prototype.toObject = function(opt_includeInstance) {
8687
+ return proto.sniipuserservice.DeleteAccountRequest.toObject(opt_includeInstance, this);
8688
+ };
8689
+
8690
+
8691
+ /**
8692
+ * Static version of the {@see toObject} method.
8693
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
8694
+ * instance for transitional soy proto support:
8695
+ * http://goto/soy-param-migration
8696
+ * @param {!proto.sniipuserservice.DeleteAccountRequest} msg The msg instance to transform.
8697
+ * @return {!Object}
8698
+ */
8699
+ proto.sniipuserservice.DeleteAccountRequest.toObject = function(includeInstance, msg) {
8700
+ var f, obj = {
8701
+ feedback: msg.getFeedback()
8702
+ };
8703
+
8704
+ if (includeInstance) {
8705
+ obj.$jspbMessageInstance = msg;
8706
+ }
8707
+ return obj;
8708
+ };
8709
+ }
8710
+
8711
+
8712
+ /**
8713
+ * Deserializes binary data (in protobuf wire format).
8714
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8715
+ * @return {!proto.sniipuserservice.DeleteAccountRequest}
8716
+ */
8717
+ proto.sniipuserservice.DeleteAccountRequest.deserializeBinary = function(bytes) {
8718
+ var reader = new jspb.BinaryReader(bytes);
8719
+ var msg = new proto.sniipuserservice.DeleteAccountRequest;
8720
+ return proto.sniipuserservice.DeleteAccountRequest.deserializeBinaryFromReader(msg, reader);
8721
+ };
8722
+
8723
+
8724
+ /**
8725
+ * Deserializes binary data (in protobuf wire format) from the
8726
+ * given reader into the given message object.
8727
+ * @param {!proto.sniipuserservice.DeleteAccountRequest} msg The message object to deserialize into.
8728
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8729
+ * @return {!proto.sniipuserservice.DeleteAccountRequest}
8730
+ */
8731
+ proto.sniipuserservice.DeleteAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
8732
+ while (reader.nextField()) {
8733
+ if (reader.isEndGroup()) {
8734
+ break;
8735
+ }
8736
+ var field = reader.getFieldNumber();
8737
+ switch (field) {
8738
+ case 1:
8739
+ var value = /** @type {string} */ (reader.readString());
8740
+ msg.setFeedback(value);
8741
+ break;
8742
+ default:
8743
+ reader.skipField();
8744
+ break;
8745
+ }
8746
+ }
8747
+ return msg;
8748
+ };
8749
+
8750
+
8751
+ /**
8752
+ * Class method variant: serializes the given message to binary data
8753
+ * (in protobuf wire format), writing to the given BinaryWriter.
8754
+ * @param {!proto.sniipuserservice.DeleteAccountRequest} message
8755
+ * @param {!jspb.BinaryWriter} writer
8756
+ */
8757
+ proto.sniipuserservice.DeleteAccountRequest.serializeBinaryToWriter = function(message, writer) {
8758
+ message.serializeBinaryToWriter(writer);
8759
+ };
8760
+
8761
+
8762
+ /**
8763
+ * Serializes the message to binary data (in protobuf wire format).
8764
+ * @return {!Uint8Array}
8765
+ */
8766
+ proto.sniipuserservice.DeleteAccountRequest.prototype.serializeBinary = function() {
8767
+ var writer = new jspb.BinaryWriter();
8768
+ this.serializeBinaryToWriter(writer);
8769
+ return writer.getResultBuffer();
8770
+ };
8771
+
8772
+
8773
+ /**
8774
+ * Serializes the message to binary data (in protobuf wire format),
8775
+ * writing to the given BinaryWriter.
8776
+ * @param {!jspb.BinaryWriter} writer
8777
+ */
8778
+ proto.sniipuserservice.DeleteAccountRequest.prototype.serializeBinaryToWriter = function (writer) {
8779
+ var f = undefined;
8780
+ f = this.getFeedback();
8781
+ if (f.length > 0) {
8782
+ writer.writeString(
8783
+ 1,
8784
+ f
8785
+ );
8786
+ }
8787
+ };
8788
+
8789
+
8790
+ /**
8791
+ * Creates a deep clone of this proto. No data is shared with the original.
8792
+ * @return {!proto.sniipuserservice.DeleteAccountRequest} The clone.
8793
+ */
8794
+ proto.sniipuserservice.DeleteAccountRequest.prototype.cloneMessage = function() {
8795
+ return /** @type {!proto.sniipuserservice.DeleteAccountRequest} */ (jspb.Message.cloneMessage(this));
8796
+ };
8797
+
8798
+
8799
+ /**
8800
+ * optional string feedback = 1;
8801
+ * @return {string}
8802
+ */
8803
+ proto.sniipuserservice.DeleteAccountRequest.prototype.getFeedback = function() {
8804
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
8805
+ };
8806
+
8807
+
8808
+ /** @param {string} value */
8809
+ proto.sniipuserservice.DeleteAccountRequest.prototype.setFeedback = function(value) {
8810
+ jspb.Message.setField(this, 1, value);
8811
+ };
8812
+
8813
+
8814
+
8652
8815
  /**
8653
8816
  * Generated by JsPbCodeGenerator.
8654
8817
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8994,6 +9157,182 @@ proto.sniipuserservice.DeleteTestAccountRequest.prototype.setUsername = function
8994
9157
 
8995
9158
 
8996
9159
 
9160
+ /**
9161
+ * Generated by JsPbCodeGenerator.
9162
+ * @param {Array=} opt_data Optional initial data array, typically from a
9163
+ * server response, or constructed directly in Javascript. The array is used
9164
+ * in place and becomes part of the constructed object. It is not cloned.
9165
+ * If no data is provided, the constructed object will be empty, but still
9166
+ * valid.
9167
+ * @extends {jspb.Message}
9168
+ * @constructor
9169
+ */
9170
+ proto.sniipuserservice.DeleteUserAccountRequest = function(opt_data) {
9171
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9172
+ };
9173
+ goog.inherits(proto.sniipuserservice.DeleteUserAccountRequest, jspb.Message);
9174
+ if (goog.DEBUG && !COMPILED) {
9175
+ proto.sniipuserservice.DeleteUserAccountRequest.displayName = 'proto.sniipuserservice.DeleteUserAccountRequest';
9176
+ }
9177
+
9178
+
9179
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9180
+ /**
9181
+ * Creates an object representation of this proto suitable for use in Soy templates.
9182
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9183
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9184
+ * For the list of reserved names please see:
9185
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
9186
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
9187
+ * for transitional soy proto support: http://goto/soy-param-migration
9188
+ * @return {!Object}
9189
+ */
9190
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.toObject = function(opt_includeInstance) {
9191
+ return proto.sniipuserservice.DeleteUserAccountRequest.toObject(opt_includeInstance, this);
9192
+ };
9193
+
9194
+
9195
+ /**
9196
+ * Static version of the {@see toObject} method.
9197
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
9198
+ * instance for transitional soy proto support:
9199
+ * http://goto/soy-param-migration
9200
+ * @param {!proto.sniipuserservice.DeleteUserAccountRequest} msg The msg instance to transform.
9201
+ * @return {!Object}
9202
+ */
9203
+ proto.sniipuserservice.DeleteUserAccountRequest.toObject = function(includeInstance, msg) {
9204
+ var f, obj = {
9205
+ data: (f = msg.getData()) && proto.sniipuserservice.DeleteAccountRequest.toObject(includeInstance, f)
9206
+ };
9207
+
9208
+ if (includeInstance) {
9209
+ obj.$jspbMessageInstance = msg;
9210
+ }
9211
+ return obj;
9212
+ };
9213
+ }
9214
+
9215
+
9216
+ /**
9217
+ * Deserializes binary data (in protobuf wire format).
9218
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9219
+ * @return {!proto.sniipuserservice.DeleteUserAccountRequest}
9220
+ */
9221
+ proto.sniipuserservice.DeleteUserAccountRequest.deserializeBinary = function(bytes) {
9222
+ var reader = new jspb.BinaryReader(bytes);
9223
+ var msg = new proto.sniipuserservice.DeleteUserAccountRequest;
9224
+ return proto.sniipuserservice.DeleteUserAccountRequest.deserializeBinaryFromReader(msg, reader);
9225
+ };
9226
+
9227
+
9228
+ /**
9229
+ * Deserializes binary data (in protobuf wire format) from the
9230
+ * given reader into the given message object.
9231
+ * @param {!proto.sniipuserservice.DeleteUserAccountRequest} msg The message object to deserialize into.
9232
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9233
+ * @return {!proto.sniipuserservice.DeleteUserAccountRequest}
9234
+ */
9235
+ proto.sniipuserservice.DeleteUserAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
9236
+ while (reader.nextField()) {
9237
+ if (reader.isEndGroup()) {
9238
+ break;
9239
+ }
9240
+ var field = reader.getFieldNumber();
9241
+ switch (field) {
9242
+ case 1:
9243
+ var value = new proto.sniipuserservice.DeleteAccountRequest;
9244
+ reader.readMessage(value,proto.sniipuserservice.DeleteAccountRequest.deserializeBinaryFromReader);
9245
+ msg.setData(value);
9246
+ break;
9247
+ default:
9248
+ reader.skipField();
9249
+ break;
9250
+ }
9251
+ }
9252
+ return msg;
9253
+ };
9254
+
9255
+
9256
+ /**
9257
+ * Class method variant: serializes the given message to binary data
9258
+ * (in protobuf wire format), writing to the given BinaryWriter.
9259
+ * @param {!proto.sniipuserservice.DeleteUserAccountRequest} message
9260
+ * @param {!jspb.BinaryWriter} writer
9261
+ */
9262
+ proto.sniipuserservice.DeleteUserAccountRequest.serializeBinaryToWriter = function(message, writer) {
9263
+ message.serializeBinaryToWriter(writer);
9264
+ };
9265
+
9266
+
9267
+ /**
9268
+ * Serializes the message to binary data (in protobuf wire format).
9269
+ * @return {!Uint8Array}
9270
+ */
9271
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.serializeBinary = function() {
9272
+ var writer = new jspb.BinaryWriter();
9273
+ this.serializeBinaryToWriter(writer);
9274
+ return writer.getResultBuffer();
9275
+ };
9276
+
9277
+
9278
+ /**
9279
+ * Serializes the message to binary data (in protobuf wire format),
9280
+ * writing to the given BinaryWriter.
9281
+ * @param {!jspb.BinaryWriter} writer
9282
+ */
9283
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.serializeBinaryToWriter = function (writer) {
9284
+ var f = undefined;
9285
+ f = this.getData();
9286
+ if (f != null) {
9287
+ writer.writeMessage(
9288
+ 1,
9289
+ f,
9290
+ proto.sniipuserservice.DeleteAccountRequest.serializeBinaryToWriter
9291
+ );
9292
+ }
9293
+ };
9294
+
9295
+
9296
+ /**
9297
+ * Creates a deep clone of this proto. No data is shared with the original.
9298
+ * @return {!proto.sniipuserservice.DeleteUserAccountRequest} The clone.
9299
+ */
9300
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.cloneMessage = function() {
9301
+ return /** @type {!proto.sniipuserservice.DeleteUserAccountRequest} */ (jspb.Message.cloneMessage(this));
9302
+ };
9303
+
9304
+
9305
+ /**
9306
+ * optional DeleteAccountRequest data = 1;
9307
+ * @return {proto.sniipuserservice.DeleteAccountRequest}
9308
+ */
9309
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.getData = function() {
9310
+ return /** @type{proto.sniipuserservice.DeleteAccountRequest} */ (
9311
+ jspb.Message.getWrapperField(this, proto.sniipuserservice.DeleteAccountRequest, 1));
9312
+ };
9313
+
9314
+
9315
+ /** @param {proto.sniipuserservice.DeleteAccountRequest|undefined} value */
9316
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.setData = function(value) {
9317
+ jspb.Message.setWrapperField(this, 1, value);
9318
+ };
9319
+
9320
+
9321
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.clearData = function() {
9322
+ this.setData(undefined);
9323
+ };
9324
+
9325
+
9326
+ /**
9327
+ * Returns whether this field is set.
9328
+ * @return{!boolean}
9329
+ */
9330
+ proto.sniipuserservice.DeleteUserAccountRequest.prototype.hasData = function() {
9331
+ return jspb.Message.getField(this, 1) != null;
9332
+ };
9333
+
9334
+
9335
+
8997
9336
  /**
8998
9337
  * Generated by JsPbCodeGenerator.
8999
9338
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9279,92 +9618,278 @@ proto.sniipuserservice.DeviceDetails.prototype.setLatitude = function(value) {
9279
9618
 
9280
9619
 
9281
9620
  /**
9282
- * optional string longitude = 4;
9283
- * @return {string}
9621
+ * optional string longitude = 4;
9622
+ * @return {string}
9623
+ */
9624
+ proto.sniipuserservice.DeviceDetails.prototype.getLongitude = function() {
9625
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
9626
+ };
9627
+
9628
+
9629
+ /** @param {string} value */
9630
+ proto.sniipuserservice.DeviceDetails.prototype.setLongitude = function(value) {
9631
+ jspb.Message.setField(this, 4, value);
9632
+ };
9633
+
9634
+
9635
+ /**
9636
+ * optional string manufacturer = 5;
9637
+ * @return {string}
9638
+ */
9639
+ proto.sniipuserservice.DeviceDetails.prototype.getManufacturer = function() {
9640
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
9641
+ };
9642
+
9643
+
9644
+ /** @param {string} value */
9645
+ proto.sniipuserservice.DeviceDetails.prototype.setManufacturer = function(value) {
9646
+ jspb.Message.setField(this, 5, value);
9647
+ };
9648
+
9649
+
9650
+ /**
9651
+ * optional string model = 6;
9652
+ * @return {string}
9653
+ */
9654
+ proto.sniipuserservice.DeviceDetails.prototype.getModel = function() {
9655
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
9656
+ };
9657
+
9658
+
9659
+ /** @param {string} value */
9660
+ proto.sniipuserservice.DeviceDetails.prototype.setModel = function(value) {
9661
+ jspb.Message.setField(this, 6, value);
9662
+ };
9663
+
9664
+
9665
+ /**
9666
+ * optional string osVersion = 7;
9667
+ * @return {string}
9668
+ */
9669
+ proto.sniipuserservice.DeviceDetails.prototype.getOsversion = function() {
9670
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
9671
+ };
9672
+
9673
+
9674
+ /** @param {string} value */
9675
+ proto.sniipuserservice.DeviceDetails.prototype.setOsversion = function(value) {
9676
+ jspb.Message.setField(this, 7, value);
9677
+ };
9678
+
9679
+
9680
+ /**
9681
+ * optional string platform = 8;
9682
+ * @return {string}
9683
+ */
9684
+ proto.sniipuserservice.DeviceDetails.prototype.getPlatform = function() {
9685
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
9686
+ };
9687
+
9688
+
9689
+ /** @param {string} value */
9690
+ proto.sniipuserservice.DeviceDetails.prototype.setPlatform = function(value) {
9691
+ jspb.Message.setField(this, 8, value);
9692
+ };
9693
+
9694
+
9695
+ /**
9696
+ * optional string version = 9;
9697
+ * @return {string}
9698
+ */
9699
+ proto.sniipuserservice.DeviceDetails.prototype.getVersion = function() {
9700
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
9701
+ };
9702
+
9703
+
9704
+ /** @param {string} value */
9705
+ proto.sniipuserservice.DeviceDetails.prototype.setVersion = function(value) {
9706
+ jspb.Message.setField(this, 9, value);
9707
+ };
9708
+
9709
+
9710
+
9711
+ /**
9712
+ * Generated by JsPbCodeGenerator.
9713
+ * @param {Array=} opt_data Optional initial data array, typically from a
9714
+ * server response, or constructed directly in Javascript. The array is used
9715
+ * in place and becomes part of the constructed object. It is not cloned.
9716
+ * If no data is provided, the constructed object will be empty, but still
9717
+ * valid.
9718
+ * @extends {jspb.Message}
9719
+ * @constructor
9720
+ */
9721
+ proto.sniipuserservice.FeedbackRequest = function(opt_data) {
9722
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
9723
+ };
9724
+ goog.inherits(proto.sniipuserservice.FeedbackRequest, jspb.Message);
9725
+ if (goog.DEBUG && !COMPILED) {
9726
+ proto.sniipuserservice.FeedbackRequest.displayName = 'proto.sniipuserservice.FeedbackRequest';
9727
+ }
9728
+
9729
+
9730
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9731
+ /**
9732
+ * Creates an object representation of this proto suitable for use in Soy templates.
9733
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9734
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9735
+ * For the list of reserved names please see:
9736
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
9737
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
9738
+ * for transitional soy proto support: http://goto/soy-param-migration
9739
+ * @return {!Object}
9740
+ */
9741
+ proto.sniipuserservice.FeedbackRequest.prototype.toObject = function(opt_includeInstance) {
9742
+ return proto.sniipuserservice.FeedbackRequest.toObject(opt_includeInstance, this);
9743
+ };
9744
+
9745
+
9746
+ /**
9747
+ * Static version of the {@see toObject} method.
9748
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
9749
+ * instance for transitional soy proto support:
9750
+ * http://goto/soy-param-migration
9751
+ * @param {!proto.sniipuserservice.FeedbackRequest} msg The msg instance to transform.
9752
+ * @return {!Object}
9284
9753
  */
9285
- proto.sniipuserservice.DeviceDetails.prototype.getLongitude = function() {
9286
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
9287
- };
9288
-
9754
+ proto.sniipuserservice.FeedbackRequest.toObject = function(includeInstance, msg) {
9755
+ var f, obj = {
9756
+ event: msg.getEvent(),
9757
+ feedback: msg.getFeedback()
9758
+ };
9289
9759
 
9290
- /** @param {string} value */
9291
- proto.sniipuserservice.DeviceDetails.prototype.setLongitude = function(value) {
9292
- jspb.Message.setField(this, 4, value);
9760
+ if (includeInstance) {
9761
+ obj.$jspbMessageInstance = msg;
9762
+ }
9763
+ return obj;
9293
9764
  };
9765
+ }
9294
9766
 
9295
9767
 
9296
9768
  /**
9297
- * optional string manufacturer = 5;
9298
- * @return {string}
9769
+ * Deserializes binary data (in protobuf wire format).
9770
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9771
+ * @return {!proto.sniipuserservice.FeedbackRequest}
9299
9772
  */
9300
- proto.sniipuserservice.DeviceDetails.prototype.getManufacturer = function() {
9301
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
9773
+ proto.sniipuserservice.FeedbackRequest.deserializeBinary = function(bytes) {
9774
+ var reader = new jspb.BinaryReader(bytes);
9775
+ var msg = new proto.sniipuserservice.FeedbackRequest;
9776
+ return proto.sniipuserservice.FeedbackRequest.deserializeBinaryFromReader(msg, reader);
9302
9777
  };
9303
9778
 
9304
9779
 
9305
- /** @param {string} value */
9306
- proto.sniipuserservice.DeviceDetails.prototype.setManufacturer = function(value) {
9307
- jspb.Message.setField(this, 5, value);
9780
+ /**
9781
+ * Deserializes binary data (in protobuf wire format) from the
9782
+ * given reader into the given message object.
9783
+ * @param {!proto.sniipuserservice.FeedbackRequest} msg The message object to deserialize into.
9784
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9785
+ * @return {!proto.sniipuserservice.FeedbackRequest}
9786
+ */
9787
+ proto.sniipuserservice.FeedbackRequest.deserializeBinaryFromReader = function(msg, reader) {
9788
+ while (reader.nextField()) {
9789
+ if (reader.isEndGroup()) {
9790
+ break;
9791
+ }
9792
+ var field = reader.getFieldNumber();
9793
+ switch (field) {
9794
+ case 1:
9795
+ var value = /** @type {string} */ (reader.readString());
9796
+ msg.setEvent(value);
9797
+ break;
9798
+ case 2:
9799
+ var value = /** @type {string} */ (reader.readString());
9800
+ msg.setFeedback(value);
9801
+ break;
9802
+ default:
9803
+ reader.skipField();
9804
+ break;
9805
+ }
9806
+ }
9807
+ return msg;
9308
9808
  };
9309
9809
 
9310
9810
 
9311
9811
  /**
9312
- * optional string model = 6;
9313
- * @return {string}
9812
+ * Class method variant: serializes the given message to binary data
9813
+ * (in protobuf wire format), writing to the given BinaryWriter.
9814
+ * @param {!proto.sniipuserservice.FeedbackRequest} message
9815
+ * @param {!jspb.BinaryWriter} writer
9314
9816
  */
9315
- proto.sniipuserservice.DeviceDetails.prototype.getModel = function() {
9316
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
9817
+ proto.sniipuserservice.FeedbackRequest.serializeBinaryToWriter = function(message, writer) {
9818
+ message.serializeBinaryToWriter(writer);
9317
9819
  };
9318
9820
 
9319
9821
 
9320
- /** @param {string} value */
9321
- proto.sniipuserservice.DeviceDetails.prototype.setModel = function(value) {
9322
- jspb.Message.setField(this, 6, value);
9822
+ /**
9823
+ * Serializes the message to binary data (in protobuf wire format).
9824
+ * @return {!Uint8Array}
9825
+ */
9826
+ proto.sniipuserservice.FeedbackRequest.prototype.serializeBinary = function() {
9827
+ var writer = new jspb.BinaryWriter();
9828
+ this.serializeBinaryToWriter(writer);
9829
+ return writer.getResultBuffer();
9323
9830
  };
9324
9831
 
9325
9832
 
9326
9833
  /**
9327
- * optional string osVersion = 7;
9328
- * @return {string}
9834
+ * Serializes the message to binary data (in protobuf wire format),
9835
+ * writing to the given BinaryWriter.
9836
+ * @param {!jspb.BinaryWriter} writer
9329
9837
  */
9330
- proto.sniipuserservice.DeviceDetails.prototype.getOsversion = function() {
9331
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
9838
+ proto.sniipuserservice.FeedbackRequest.prototype.serializeBinaryToWriter = function (writer) {
9839
+ var f = undefined;
9840
+ f = this.getEvent();
9841
+ if (f.length > 0) {
9842
+ writer.writeString(
9843
+ 1,
9844
+ f
9845
+ );
9846
+ }
9847
+ f = this.getFeedback();
9848
+ if (f.length > 0) {
9849
+ writer.writeString(
9850
+ 2,
9851
+ f
9852
+ );
9853
+ }
9332
9854
  };
9333
9855
 
9334
9856
 
9335
- /** @param {string} value */
9336
- proto.sniipuserservice.DeviceDetails.prototype.setOsversion = function(value) {
9337
- jspb.Message.setField(this, 7, value);
9857
+ /**
9858
+ * Creates a deep clone of this proto. No data is shared with the original.
9859
+ * @return {!proto.sniipuserservice.FeedbackRequest} The clone.
9860
+ */
9861
+ proto.sniipuserservice.FeedbackRequest.prototype.cloneMessage = function() {
9862
+ return /** @type {!proto.sniipuserservice.FeedbackRequest} */ (jspb.Message.cloneMessage(this));
9338
9863
  };
9339
9864
 
9340
9865
 
9341
9866
  /**
9342
- * optional string platform = 8;
9867
+ * optional string event = 1;
9343
9868
  * @return {string}
9344
9869
  */
9345
- proto.sniipuserservice.DeviceDetails.prototype.getPlatform = function() {
9346
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
9870
+ proto.sniipuserservice.FeedbackRequest.prototype.getEvent = function() {
9871
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
9347
9872
  };
9348
9873
 
9349
9874
 
9350
9875
  /** @param {string} value */
9351
- proto.sniipuserservice.DeviceDetails.prototype.setPlatform = function(value) {
9352
- jspb.Message.setField(this, 8, value);
9876
+ proto.sniipuserservice.FeedbackRequest.prototype.setEvent = function(value) {
9877
+ jspb.Message.setField(this, 1, value);
9353
9878
  };
9354
9879
 
9355
9880
 
9356
9881
  /**
9357
- * optional string version = 9;
9882
+ * optional string feedback = 2;
9358
9883
  * @return {string}
9359
9884
  */
9360
- proto.sniipuserservice.DeviceDetails.prototype.getVersion = function() {
9361
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
9885
+ proto.sniipuserservice.FeedbackRequest.prototype.getFeedback = function() {
9886
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
9362
9887
  };
9363
9888
 
9364
9889
 
9365
9890
  /** @param {string} value */
9366
- proto.sniipuserservice.DeviceDetails.prototype.setVersion = function(value) {
9367
- jspb.Message.setField(this, 9, value);
9891
+ proto.sniipuserservice.FeedbackRequest.prototype.setFeedback = function(value) {
9892
+ jspb.Message.setField(this, 2, value);
9368
9893
  };
9369
9894
 
9370
9895
 
@@ -11749,6 +12274,182 @@ proto.sniipuserservice.GetTemporaryAccessTokenResponse.prototype.hasResponsecode
11749
12274
 
11750
12275
 
11751
12276
 
12277
+ /**
12278
+ * Generated by JsPbCodeGenerator.
12279
+ * @param {Array=} opt_data Optional initial data array, typically from a
12280
+ * server response, or constructed directly in Javascript. The array is used
12281
+ * in place and becomes part of the constructed object. It is not cloned.
12282
+ * If no data is provided, the constructed object will be empty, but still
12283
+ * valid.
12284
+ * @extends {jspb.Message}
12285
+ * @constructor
12286
+ */
12287
+ proto.sniipuserservice.GiveFeedbackRequest = function(opt_data) {
12288
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12289
+ };
12290
+ goog.inherits(proto.sniipuserservice.GiveFeedbackRequest, jspb.Message);
12291
+ if (goog.DEBUG && !COMPILED) {
12292
+ proto.sniipuserservice.GiveFeedbackRequest.displayName = 'proto.sniipuserservice.GiveFeedbackRequest';
12293
+ }
12294
+
12295
+
12296
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12297
+ /**
12298
+ * Creates an object representation of this proto suitable for use in Soy templates.
12299
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12300
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12301
+ * For the list of reserved names please see:
12302
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12303
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12304
+ * for transitional soy proto support: http://goto/soy-param-migration
12305
+ * @return {!Object}
12306
+ */
12307
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.toObject = function(opt_includeInstance) {
12308
+ return proto.sniipuserservice.GiveFeedbackRequest.toObject(opt_includeInstance, this);
12309
+ };
12310
+
12311
+
12312
+ /**
12313
+ * Static version of the {@see toObject} method.
12314
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12315
+ * instance for transitional soy proto support:
12316
+ * http://goto/soy-param-migration
12317
+ * @param {!proto.sniipuserservice.GiveFeedbackRequest} msg The msg instance to transform.
12318
+ * @return {!Object}
12319
+ */
12320
+ proto.sniipuserservice.GiveFeedbackRequest.toObject = function(includeInstance, msg) {
12321
+ var f, obj = {
12322
+ data: (f = msg.getData()) && proto.sniipuserservice.FeedbackRequest.toObject(includeInstance, f)
12323
+ };
12324
+
12325
+ if (includeInstance) {
12326
+ obj.$jspbMessageInstance = msg;
12327
+ }
12328
+ return obj;
12329
+ };
12330
+ }
12331
+
12332
+
12333
+ /**
12334
+ * Deserializes binary data (in protobuf wire format).
12335
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12336
+ * @return {!proto.sniipuserservice.GiveFeedbackRequest}
12337
+ */
12338
+ proto.sniipuserservice.GiveFeedbackRequest.deserializeBinary = function(bytes) {
12339
+ var reader = new jspb.BinaryReader(bytes);
12340
+ var msg = new proto.sniipuserservice.GiveFeedbackRequest;
12341
+ return proto.sniipuserservice.GiveFeedbackRequest.deserializeBinaryFromReader(msg, reader);
12342
+ };
12343
+
12344
+
12345
+ /**
12346
+ * Deserializes binary data (in protobuf wire format) from the
12347
+ * given reader into the given message object.
12348
+ * @param {!proto.sniipuserservice.GiveFeedbackRequest} msg The message object to deserialize into.
12349
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12350
+ * @return {!proto.sniipuserservice.GiveFeedbackRequest}
12351
+ */
12352
+ proto.sniipuserservice.GiveFeedbackRequest.deserializeBinaryFromReader = function(msg, reader) {
12353
+ while (reader.nextField()) {
12354
+ if (reader.isEndGroup()) {
12355
+ break;
12356
+ }
12357
+ var field = reader.getFieldNumber();
12358
+ switch (field) {
12359
+ case 1:
12360
+ var value = new proto.sniipuserservice.FeedbackRequest;
12361
+ reader.readMessage(value,proto.sniipuserservice.FeedbackRequest.deserializeBinaryFromReader);
12362
+ msg.setData(value);
12363
+ break;
12364
+ default:
12365
+ reader.skipField();
12366
+ break;
12367
+ }
12368
+ }
12369
+ return msg;
12370
+ };
12371
+
12372
+
12373
+ /**
12374
+ * Class method variant: serializes the given message to binary data
12375
+ * (in protobuf wire format), writing to the given BinaryWriter.
12376
+ * @param {!proto.sniipuserservice.GiveFeedbackRequest} message
12377
+ * @param {!jspb.BinaryWriter} writer
12378
+ */
12379
+ proto.sniipuserservice.GiveFeedbackRequest.serializeBinaryToWriter = function(message, writer) {
12380
+ message.serializeBinaryToWriter(writer);
12381
+ };
12382
+
12383
+
12384
+ /**
12385
+ * Serializes the message to binary data (in protobuf wire format).
12386
+ * @return {!Uint8Array}
12387
+ */
12388
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.serializeBinary = function() {
12389
+ var writer = new jspb.BinaryWriter();
12390
+ this.serializeBinaryToWriter(writer);
12391
+ return writer.getResultBuffer();
12392
+ };
12393
+
12394
+
12395
+ /**
12396
+ * Serializes the message to binary data (in protobuf wire format),
12397
+ * writing to the given BinaryWriter.
12398
+ * @param {!jspb.BinaryWriter} writer
12399
+ */
12400
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.serializeBinaryToWriter = function (writer) {
12401
+ var f = undefined;
12402
+ f = this.getData();
12403
+ if (f != null) {
12404
+ writer.writeMessage(
12405
+ 1,
12406
+ f,
12407
+ proto.sniipuserservice.FeedbackRequest.serializeBinaryToWriter
12408
+ );
12409
+ }
12410
+ };
12411
+
12412
+
12413
+ /**
12414
+ * Creates a deep clone of this proto. No data is shared with the original.
12415
+ * @return {!proto.sniipuserservice.GiveFeedbackRequest} The clone.
12416
+ */
12417
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.cloneMessage = function() {
12418
+ return /** @type {!proto.sniipuserservice.GiveFeedbackRequest} */ (jspb.Message.cloneMessage(this));
12419
+ };
12420
+
12421
+
12422
+ /**
12423
+ * optional FeedbackRequest data = 1;
12424
+ * @return {proto.sniipuserservice.FeedbackRequest}
12425
+ */
12426
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.getData = function() {
12427
+ return /** @type{proto.sniipuserservice.FeedbackRequest} */ (
12428
+ jspb.Message.getWrapperField(this, proto.sniipuserservice.FeedbackRequest, 1));
12429
+ };
12430
+
12431
+
12432
+ /** @param {proto.sniipuserservice.FeedbackRequest|undefined} value */
12433
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.setData = function(value) {
12434
+ jspb.Message.setWrapperField(this, 1, value);
12435
+ };
12436
+
12437
+
12438
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.clearData = function() {
12439
+ this.setData(undefined);
12440
+ };
12441
+
12442
+
12443
+ /**
12444
+ * Returns whether this field is set.
12445
+ * @return{!boolean}
12446
+ */
12447
+ proto.sniipuserservice.GiveFeedbackRequest.prototype.hasData = function() {
12448
+ return jspb.Message.getField(this, 1) != null;
12449
+ };
12450
+
12451
+
12452
+
11752
12453
  /**
11753
12454
  * Generated by JsPbCodeGenerator.
11754
12455
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "21.12.5004",
3
+ "version": "21.13.5030",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",