@sniipwebmaster/kyc-client-grpcweb 21.9.183 → 21.9.200

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.
@@ -12,6 +12,7 @@ var global = Function('return this')();
12
12
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');
13
13
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
14
14
  goog.exportSymbol('proto.kycserviceapi.Attachment', null, global);
15
+ goog.exportSymbol('proto.kycserviceapi.AttachmentSide', null, global);
15
16
  goog.exportSymbol('proto.kycserviceapi.DeleteDocumentRequest', null, global);
16
17
  goog.exportSymbol('proto.kycserviceapi.Document', null, global);
17
18
  goog.exportSymbol('proto.kycserviceapi.DocumentResponse', null, global);
@@ -82,7 +83,8 @@ proto.kycserviceapi.Attachment.toObject = function(includeInstance, msg) {
82
83
  var f, obj = {
83
84
  attachmentid: msg.getAttachmentid(),
84
85
  attachmenticonurl: msg.getAttachmenticonurl(),
85
- attachmenturl: msg.getAttachmenturl()
86
+ attachmenturl: msg.getAttachmenturl(),
87
+ attachmentside: msg.getAttachmentside()
86
88
  };
87
89
 
88
90
  if (includeInstance) {
@@ -131,6 +133,10 @@ proto.kycserviceapi.Attachment.deserializeBinaryFromReader = function(msg, reade
131
133
  var value = /** @type {string} */ (reader.readString());
132
134
  msg.setAttachmenturl(value);
133
135
  break;
136
+ case 4:
137
+ var value = /** @type {!proto.kycserviceapi.AttachmentSide} */ (reader.readEnum());
138
+ msg.setAttachmentside(value);
139
+ break;
134
140
  default:
135
141
  reader.skipField();
136
142
  break;
@@ -190,6 +196,13 @@ proto.kycserviceapi.Attachment.prototype.serializeBinaryToWriter = function (wri
190
196
  f
191
197
  );
192
198
  }
199
+ f = this.getAttachmentside();
200
+ if (f !== 0.0) {
201
+ writer.writeEnum(
202
+ 4,
203
+ f
204
+ );
205
+ }
193
206
  };
194
207
 
195
208
 
@@ -247,6 +260,21 @@ proto.kycserviceapi.Attachment.prototype.setAttachmenturl = function(value) {
247
260
  };
248
261
 
249
262
 
263
+ /**
264
+ * optional AttachmentSide attachmentSide = 4;
265
+ * @return {!proto.kycserviceapi.AttachmentSide}
266
+ */
267
+ proto.kycserviceapi.Attachment.prototype.getAttachmentside = function() {
268
+ return /** @type {!proto.kycserviceapi.AttachmentSide} */ (jspb.Message.getFieldProto3(this, 4, 0));
269
+ };
270
+
271
+
272
+ /** @param {!proto.kycserviceapi.AttachmentSide} value */
273
+ proto.kycserviceapi.Attachment.prototype.setAttachmentside = function(value) {
274
+ jspb.Message.setField(this, 4, value);
275
+ };
276
+
277
+
250
278
 
251
279
  /**
252
280
  * Generated by JsPbCodeGenerator.
@@ -4455,6 +4483,14 @@ proto.kycserviceapi.VerifyUserRequest.prototype.setUserid = function(value) {
4455
4483
  };
4456
4484
 
4457
4485
 
4486
+ /**
4487
+ * @enum {number}
4488
+ */
4489
+ proto.kycserviceapi.AttachmentSide = {
4490
+ FRONT: 0,
4491
+ BACK: 1
4492
+ };
4493
+
4458
4494
  /**
4459
4495
  * @enum {number}
4460
4496
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "21.9.183",
3
+ "version": "21.9.200",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",