protobuf-platform 1.2.375 → 1.2.378
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/notification/notification.proto +6 -0
- package/notification/notification_pb.js +289 -1
- package/package.json +1 -1
- package/user/user.proto +23 -0
- package/user/user_grpc_pb.js +34 -0
- package/user/user_pb.js +694 -0
|
@@ -109,6 +109,12 @@ message UserNotificationItem {
|
|
|
109
109
|
string content = 3;
|
|
110
110
|
bool is_checked = 4;
|
|
111
111
|
optional string created = 5;
|
|
112
|
+
optional string type = 6;
|
|
113
|
+
optional string category = 7;
|
|
114
|
+
optional string desktop_image = 8;
|
|
115
|
+
optional string desktop_image_cdn = 9;
|
|
116
|
+
optional string mobile_image = 10;
|
|
117
|
+
optional string mobile_image_cdn = 11;
|
|
112
118
|
}
|
|
113
119
|
message UserNotificationItemsResponse {
|
|
114
120
|
repeated UserNotificationItem items = 1;
|
|
@@ -4108,7 +4108,13 @@ proto.notification.UserNotificationItem.toObject = function(includeInstance, msg
|
|
|
4108
4108
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4109
4109
|
content: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4110
4110
|
isChecked: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
4111
|
-
created: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
4111
|
+
created: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4112
|
+
type: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4113
|
+
category: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4114
|
+
desktopImage: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4115
|
+
desktopImageCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4116
|
+
mobileImage: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4117
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
4112
4118
|
};
|
|
4113
4119
|
|
|
4114
4120
|
if (includeInstance) {
|
|
@@ -4165,6 +4171,30 @@ proto.notification.UserNotificationItem.deserializeBinaryFromReader = function(m
|
|
|
4165
4171
|
var value = /** @type {string} */ (reader.readString());
|
|
4166
4172
|
msg.setCreated(value);
|
|
4167
4173
|
break;
|
|
4174
|
+
case 6:
|
|
4175
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4176
|
+
msg.setType(value);
|
|
4177
|
+
break;
|
|
4178
|
+
case 7:
|
|
4179
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4180
|
+
msg.setCategory(value);
|
|
4181
|
+
break;
|
|
4182
|
+
case 8:
|
|
4183
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4184
|
+
msg.setDesktopImage(value);
|
|
4185
|
+
break;
|
|
4186
|
+
case 9:
|
|
4187
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4188
|
+
msg.setDesktopImageCdn(value);
|
|
4189
|
+
break;
|
|
4190
|
+
case 10:
|
|
4191
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4192
|
+
msg.setMobileImage(value);
|
|
4193
|
+
break;
|
|
4194
|
+
case 11:
|
|
4195
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4196
|
+
msg.setMobileImageCdn(value);
|
|
4197
|
+
break;
|
|
4168
4198
|
default:
|
|
4169
4199
|
reader.skipField();
|
|
4170
4200
|
break;
|
|
@@ -4229,6 +4259,48 @@ proto.notification.UserNotificationItem.serializeBinaryToWriter = function(messa
|
|
|
4229
4259
|
f
|
|
4230
4260
|
);
|
|
4231
4261
|
}
|
|
4262
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
4263
|
+
if (f != null) {
|
|
4264
|
+
writer.writeString(
|
|
4265
|
+
6,
|
|
4266
|
+
f
|
|
4267
|
+
);
|
|
4268
|
+
}
|
|
4269
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
4270
|
+
if (f != null) {
|
|
4271
|
+
writer.writeString(
|
|
4272
|
+
7,
|
|
4273
|
+
f
|
|
4274
|
+
);
|
|
4275
|
+
}
|
|
4276
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
4277
|
+
if (f != null) {
|
|
4278
|
+
writer.writeString(
|
|
4279
|
+
8,
|
|
4280
|
+
f
|
|
4281
|
+
);
|
|
4282
|
+
}
|
|
4283
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
4284
|
+
if (f != null) {
|
|
4285
|
+
writer.writeString(
|
|
4286
|
+
9,
|
|
4287
|
+
f
|
|
4288
|
+
);
|
|
4289
|
+
}
|
|
4290
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4291
|
+
if (f != null) {
|
|
4292
|
+
writer.writeString(
|
|
4293
|
+
10,
|
|
4294
|
+
f
|
|
4295
|
+
);
|
|
4296
|
+
}
|
|
4297
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
4298
|
+
if (f != null) {
|
|
4299
|
+
writer.writeString(
|
|
4300
|
+
11,
|
|
4301
|
+
f
|
|
4302
|
+
);
|
|
4303
|
+
}
|
|
4232
4304
|
};
|
|
4233
4305
|
|
|
4234
4306
|
|
|
@@ -4340,6 +4412,222 @@ proto.notification.UserNotificationItem.prototype.hasCreated = function() {
|
|
|
4340
4412
|
};
|
|
4341
4413
|
|
|
4342
4414
|
|
|
4415
|
+
/**
|
|
4416
|
+
* optional string type = 6;
|
|
4417
|
+
* @return {string}
|
|
4418
|
+
*/
|
|
4419
|
+
proto.notification.UserNotificationItem.prototype.getType = function() {
|
|
4420
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4421
|
+
};
|
|
4422
|
+
|
|
4423
|
+
|
|
4424
|
+
/**
|
|
4425
|
+
* @param {string} value
|
|
4426
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4427
|
+
*/
|
|
4428
|
+
proto.notification.UserNotificationItem.prototype.setType = function(value) {
|
|
4429
|
+
return jspb.Message.setField(this, 6, value);
|
|
4430
|
+
};
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
/**
|
|
4434
|
+
* Clears the field making it undefined.
|
|
4435
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4436
|
+
*/
|
|
4437
|
+
proto.notification.UserNotificationItem.prototype.clearType = function() {
|
|
4438
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
4439
|
+
};
|
|
4440
|
+
|
|
4441
|
+
|
|
4442
|
+
/**
|
|
4443
|
+
* Returns whether this field is set.
|
|
4444
|
+
* @return {boolean}
|
|
4445
|
+
*/
|
|
4446
|
+
proto.notification.UserNotificationItem.prototype.hasType = function() {
|
|
4447
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4448
|
+
};
|
|
4449
|
+
|
|
4450
|
+
|
|
4451
|
+
/**
|
|
4452
|
+
* optional string category = 7;
|
|
4453
|
+
* @return {string}
|
|
4454
|
+
*/
|
|
4455
|
+
proto.notification.UserNotificationItem.prototype.getCategory = function() {
|
|
4456
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4457
|
+
};
|
|
4458
|
+
|
|
4459
|
+
|
|
4460
|
+
/**
|
|
4461
|
+
* @param {string} value
|
|
4462
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4463
|
+
*/
|
|
4464
|
+
proto.notification.UserNotificationItem.prototype.setCategory = function(value) {
|
|
4465
|
+
return jspb.Message.setField(this, 7, value);
|
|
4466
|
+
};
|
|
4467
|
+
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* Clears the field making it undefined.
|
|
4471
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4472
|
+
*/
|
|
4473
|
+
proto.notification.UserNotificationItem.prototype.clearCategory = function() {
|
|
4474
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* Returns whether this field is set.
|
|
4480
|
+
* @return {boolean}
|
|
4481
|
+
*/
|
|
4482
|
+
proto.notification.UserNotificationItem.prototype.hasCategory = function() {
|
|
4483
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4484
|
+
};
|
|
4485
|
+
|
|
4486
|
+
|
|
4487
|
+
/**
|
|
4488
|
+
* optional string desktop_image = 8;
|
|
4489
|
+
* @return {string}
|
|
4490
|
+
*/
|
|
4491
|
+
proto.notification.UserNotificationItem.prototype.getDesktopImage = function() {
|
|
4492
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4493
|
+
};
|
|
4494
|
+
|
|
4495
|
+
|
|
4496
|
+
/**
|
|
4497
|
+
* @param {string} value
|
|
4498
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4499
|
+
*/
|
|
4500
|
+
proto.notification.UserNotificationItem.prototype.setDesktopImage = function(value) {
|
|
4501
|
+
return jspb.Message.setField(this, 8, value);
|
|
4502
|
+
};
|
|
4503
|
+
|
|
4504
|
+
|
|
4505
|
+
/**
|
|
4506
|
+
* Clears the field making it undefined.
|
|
4507
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4508
|
+
*/
|
|
4509
|
+
proto.notification.UserNotificationItem.prototype.clearDesktopImage = function() {
|
|
4510
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
4511
|
+
};
|
|
4512
|
+
|
|
4513
|
+
|
|
4514
|
+
/**
|
|
4515
|
+
* Returns whether this field is set.
|
|
4516
|
+
* @return {boolean}
|
|
4517
|
+
*/
|
|
4518
|
+
proto.notification.UserNotificationItem.prototype.hasDesktopImage = function() {
|
|
4519
|
+
return jspb.Message.getField(this, 8) != null;
|
|
4520
|
+
};
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
/**
|
|
4524
|
+
* optional string desktop_image_cdn = 9;
|
|
4525
|
+
* @return {string}
|
|
4526
|
+
*/
|
|
4527
|
+
proto.notification.UserNotificationItem.prototype.getDesktopImageCdn = function() {
|
|
4528
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4529
|
+
};
|
|
4530
|
+
|
|
4531
|
+
|
|
4532
|
+
/**
|
|
4533
|
+
* @param {string} value
|
|
4534
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4535
|
+
*/
|
|
4536
|
+
proto.notification.UserNotificationItem.prototype.setDesktopImageCdn = function(value) {
|
|
4537
|
+
return jspb.Message.setField(this, 9, value);
|
|
4538
|
+
};
|
|
4539
|
+
|
|
4540
|
+
|
|
4541
|
+
/**
|
|
4542
|
+
* Clears the field making it undefined.
|
|
4543
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4544
|
+
*/
|
|
4545
|
+
proto.notification.UserNotificationItem.prototype.clearDesktopImageCdn = function() {
|
|
4546
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
4547
|
+
};
|
|
4548
|
+
|
|
4549
|
+
|
|
4550
|
+
/**
|
|
4551
|
+
* Returns whether this field is set.
|
|
4552
|
+
* @return {boolean}
|
|
4553
|
+
*/
|
|
4554
|
+
proto.notification.UserNotificationItem.prototype.hasDesktopImageCdn = function() {
|
|
4555
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4556
|
+
};
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* optional string mobile_image = 10;
|
|
4561
|
+
* @return {string}
|
|
4562
|
+
*/
|
|
4563
|
+
proto.notification.UserNotificationItem.prototype.getMobileImage = function() {
|
|
4564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4565
|
+
};
|
|
4566
|
+
|
|
4567
|
+
|
|
4568
|
+
/**
|
|
4569
|
+
* @param {string} value
|
|
4570
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4571
|
+
*/
|
|
4572
|
+
proto.notification.UserNotificationItem.prototype.setMobileImage = function(value) {
|
|
4573
|
+
return jspb.Message.setField(this, 10, value);
|
|
4574
|
+
};
|
|
4575
|
+
|
|
4576
|
+
|
|
4577
|
+
/**
|
|
4578
|
+
* Clears the field making it undefined.
|
|
4579
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4580
|
+
*/
|
|
4581
|
+
proto.notification.UserNotificationItem.prototype.clearMobileImage = function() {
|
|
4582
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
4583
|
+
};
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* Returns whether this field is set.
|
|
4588
|
+
* @return {boolean}
|
|
4589
|
+
*/
|
|
4590
|
+
proto.notification.UserNotificationItem.prototype.hasMobileImage = function() {
|
|
4591
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4592
|
+
};
|
|
4593
|
+
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* optional string mobile_image_cdn = 11;
|
|
4597
|
+
* @return {string}
|
|
4598
|
+
*/
|
|
4599
|
+
proto.notification.UserNotificationItem.prototype.getMobileImageCdn = function() {
|
|
4600
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4601
|
+
};
|
|
4602
|
+
|
|
4603
|
+
|
|
4604
|
+
/**
|
|
4605
|
+
* @param {string} value
|
|
4606
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4607
|
+
*/
|
|
4608
|
+
proto.notification.UserNotificationItem.prototype.setMobileImageCdn = function(value) {
|
|
4609
|
+
return jspb.Message.setField(this, 11, value);
|
|
4610
|
+
};
|
|
4611
|
+
|
|
4612
|
+
|
|
4613
|
+
/**
|
|
4614
|
+
* Clears the field making it undefined.
|
|
4615
|
+
* @return {!proto.notification.UserNotificationItem} returns this
|
|
4616
|
+
*/
|
|
4617
|
+
proto.notification.UserNotificationItem.prototype.clearMobileImageCdn = function() {
|
|
4618
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
4619
|
+
};
|
|
4620
|
+
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* Returns whether this field is set.
|
|
4624
|
+
* @return {boolean}
|
|
4625
|
+
*/
|
|
4626
|
+
proto.notification.UserNotificationItem.prototype.hasMobileImageCdn = function() {
|
|
4627
|
+
return jspb.Message.getField(this, 11) != null;
|
|
4628
|
+
};
|
|
4629
|
+
|
|
4630
|
+
|
|
4343
4631
|
|
|
4344
4632
|
/**
|
|
4345
4633
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -94,6 +94,8 @@ service User {
|
|
|
94
94
|
rpc startUserKycVerification(StartUserKycVerificationRequest) returns (StartUserKycVerificationResponse);
|
|
95
95
|
// Single internal entrypoint for provider webhook processing (`raw_body` / `headers` are internal-only).
|
|
96
96
|
rpc processUserKycProviderWebhook(ProcessUserKycProviderWebhookRequest) returns (ProcessUserKycProviderWebhookResponse);
|
|
97
|
+
// Single internal entrypoint for antifraud provider webhook processing (`raw_body` / `headers` are internal-only).
|
|
98
|
+
rpc processAntifraudProviderWebhook(ProcessAntifraudProviderWebhookRequest) returns (ProcessAntifraudProviderWebhookResponse);
|
|
97
99
|
// Optional operational support: refresh or poll provider verification status where the provider supports it.
|
|
98
100
|
rpc syncUserKycProviderStatus(SyncUserKycProviderStatusRequest) returns (UserKycProfileResponse);
|
|
99
101
|
//Dashboard
|
|
@@ -1013,6 +1015,27 @@ message ProcessUserKycProviderWebhookResponse {
|
|
|
1013
1015
|
optional string provider_event_at = 8;
|
|
1014
1016
|
optional string reason_code = 9;
|
|
1015
1017
|
}
|
|
1018
|
+
message ProcessAntifraudProviderWebhookRequest {
|
|
1019
|
+
// Internal webhook processing only; not for public client APIs.
|
|
1020
|
+
string provider = 1;
|
|
1021
|
+
string raw_body = 2;
|
|
1022
|
+
// JSON-encoded HTTP header map (or equivalent) for internal signature verification.
|
|
1023
|
+
string headers = 3;
|
|
1024
|
+
string correlation_id = 4;
|
|
1025
|
+
}
|
|
1026
|
+
message ProcessAntifraudProviderWebhookResponse {
|
|
1027
|
+
string status = 1;
|
|
1028
|
+
bool duplicate = 2;
|
|
1029
|
+
int32 user_id = 3;
|
|
1030
|
+
string user_public_id = 4;
|
|
1031
|
+
string provider = 5;
|
|
1032
|
+
string request_id = 6;
|
|
1033
|
+
string webhook_id = 7;
|
|
1034
|
+
string webhook_name = 8;
|
|
1035
|
+
int32 assessment_id = 9;
|
|
1036
|
+
string risk_level = 10;
|
|
1037
|
+
string reason_code = 11;
|
|
1038
|
+
}
|
|
1016
1039
|
message SyncUserKycProviderStatusRequest {
|
|
1017
1040
|
int32 user_id = 1;
|
|
1018
1041
|
optional string user_public_id = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -455,6 +455,28 @@ function deserialize_user_PongResponse(buffer_arg) {
|
|
|
455
455
|
return user_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
+
function serialize_user_ProcessAntifraudProviderWebhookRequest(arg) {
|
|
459
|
+
if (!(arg instanceof user_pb.ProcessAntifraudProviderWebhookRequest)) {
|
|
460
|
+
throw new Error('Expected argument of type user.ProcessAntifraudProviderWebhookRequest');
|
|
461
|
+
}
|
|
462
|
+
return Buffer.from(arg.serializeBinary());
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
function deserialize_user_ProcessAntifraudProviderWebhookRequest(buffer_arg) {
|
|
466
|
+
return user_pb.ProcessAntifraudProviderWebhookRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
function serialize_user_ProcessAntifraudProviderWebhookResponse(arg) {
|
|
470
|
+
if (!(arg instanceof user_pb.ProcessAntifraudProviderWebhookResponse)) {
|
|
471
|
+
throw new Error('Expected argument of type user.ProcessAntifraudProviderWebhookResponse');
|
|
472
|
+
}
|
|
473
|
+
return Buffer.from(arg.serializeBinary());
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
function deserialize_user_ProcessAntifraudProviderWebhookResponse(buffer_arg) {
|
|
477
|
+
return user_pb.ProcessAntifraudProviderWebhookResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
478
|
+
}
|
|
479
|
+
|
|
458
480
|
function serialize_user_ProcessUserKycProviderWebhookRequest(arg) {
|
|
459
481
|
if (!(arg instanceof user_pb.ProcessUserKycProviderWebhookRequest)) {
|
|
460
482
|
throw new Error('Expected argument of type user.ProcessUserKycProviderWebhookRequest');
|
|
@@ -2225,6 +2247,18 @@ processUserKycProviderWebhook: {
|
|
|
2225
2247
|
responseSerialize: serialize_user_ProcessUserKycProviderWebhookResponse,
|
|
2226
2248
|
responseDeserialize: deserialize_user_ProcessUserKycProviderWebhookResponse,
|
|
2227
2249
|
},
|
|
2250
|
+
// Single internal entrypoint for antifraud provider webhook processing (`raw_body` / `headers` are internal-only).
|
|
2251
|
+
processAntifraudProviderWebhook: {
|
|
2252
|
+
path: '/user.User/processAntifraudProviderWebhook',
|
|
2253
|
+
requestStream: false,
|
|
2254
|
+
responseStream: false,
|
|
2255
|
+
requestType: user_pb.ProcessAntifraudProviderWebhookRequest,
|
|
2256
|
+
responseType: user_pb.ProcessAntifraudProviderWebhookResponse,
|
|
2257
|
+
requestSerialize: serialize_user_ProcessAntifraudProviderWebhookRequest,
|
|
2258
|
+
requestDeserialize: deserialize_user_ProcessAntifraudProviderWebhookRequest,
|
|
2259
|
+
responseSerialize: serialize_user_ProcessAntifraudProviderWebhookResponse,
|
|
2260
|
+
responseDeserialize: deserialize_user_ProcessAntifraudProviderWebhookResponse,
|
|
2261
|
+
},
|
|
2228
2262
|
// Optional operational support: refresh or poll provider verification status where the provider supports it.
|
|
2229
2263
|
syncUserKycProviderStatus: {
|
|
2230
2264
|
path: '/user.User/syncUserKycProviderStatus',
|
package/user/user_pb.js
CHANGED
|
@@ -69,6 +69,8 @@ goog.exportSymbol('proto.user.PingRequest', null, global);
|
|
|
69
69
|
goog.exportSymbol('proto.user.PongResponse', null, global);
|
|
70
70
|
goog.exportSymbol('proto.user.PresetItem', null, global);
|
|
71
71
|
goog.exportSymbol('proto.user.PresetListItem', null, global);
|
|
72
|
+
goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookRequest', null, global);
|
|
73
|
+
goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookResponse', null, global);
|
|
72
74
|
goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookRequest', null, global);
|
|
73
75
|
goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookResponse', null, global);
|
|
74
76
|
goog.exportSymbol('proto.user.ReadListPresetsRequest', null, global);
|
|
@@ -2531,6 +2533,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2531
2533
|
*/
|
|
2532
2534
|
proto.user.ProcessUserKycProviderWebhookResponse.displayName = 'proto.user.ProcessUserKycProviderWebhookResponse';
|
|
2533
2535
|
}
|
|
2536
|
+
/**
|
|
2537
|
+
* Generated by JsPbCodeGenerator.
|
|
2538
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2539
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2540
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2541
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2542
|
+
* valid.
|
|
2543
|
+
* @extends {jspb.Message}
|
|
2544
|
+
* @constructor
|
|
2545
|
+
*/
|
|
2546
|
+
proto.user.ProcessAntifraudProviderWebhookRequest = function(opt_data) {
|
|
2547
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2548
|
+
};
|
|
2549
|
+
goog.inherits(proto.user.ProcessAntifraudProviderWebhookRequest, jspb.Message);
|
|
2550
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2551
|
+
/**
|
|
2552
|
+
* @public
|
|
2553
|
+
* @override
|
|
2554
|
+
*/
|
|
2555
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.displayName = 'proto.user.ProcessAntifraudProviderWebhookRequest';
|
|
2556
|
+
}
|
|
2557
|
+
/**
|
|
2558
|
+
* Generated by JsPbCodeGenerator.
|
|
2559
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2560
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2561
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2562
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2563
|
+
* valid.
|
|
2564
|
+
* @extends {jspb.Message}
|
|
2565
|
+
* @constructor
|
|
2566
|
+
*/
|
|
2567
|
+
proto.user.ProcessAntifraudProviderWebhookResponse = function(opt_data) {
|
|
2568
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2569
|
+
};
|
|
2570
|
+
goog.inherits(proto.user.ProcessAntifraudProviderWebhookResponse, jspb.Message);
|
|
2571
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2572
|
+
/**
|
|
2573
|
+
* @public
|
|
2574
|
+
* @override
|
|
2575
|
+
*/
|
|
2576
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.displayName = 'proto.user.ProcessAntifraudProviderWebhookResponse';
|
|
2577
|
+
}
|
|
2534
2578
|
/**
|
|
2535
2579
|
* Generated by JsPbCodeGenerator.
|
|
2536
2580
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -43435,6 +43479,656 @@ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasReasonCode = funct
|
|
|
43435
43479
|
|
|
43436
43480
|
|
|
43437
43481
|
|
|
43482
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43483
|
+
/**
|
|
43484
|
+
* Creates an object representation of this proto.
|
|
43485
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43486
|
+
* Optional fields that are not set will be set to undefined.
|
|
43487
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43488
|
+
* For the list of reserved names please see:
|
|
43489
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43490
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43491
|
+
* JSPB instance for transitional soy proto support:
|
|
43492
|
+
* http://goto/soy-param-migration
|
|
43493
|
+
* @return {!Object}
|
|
43494
|
+
*/
|
|
43495
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43496
|
+
return proto.user.ProcessAntifraudProviderWebhookRequest.toObject(opt_includeInstance, this);
|
|
43497
|
+
};
|
|
43498
|
+
|
|
43499
|
+
|
|
43500
|
+
/**
|
|
43501
|
+
* Static version of the {@see toObject} method.
|
|
43502
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43503
|
+
* the JSPB instance for transitional soy proto support:
|
|
43504
|
+
* http://goto/soy-param-migration
|
|
43505
|
+
* @param {!proto.user.ProcessAntifraudProviderWebhookRequest} msg The msg instance to transform.
|
|
43506
|
+
* @return {!Object}
|
|
43507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43508
|
+
*/
|
|
43509
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.toObject = function(includeInstance, msg) {
|
|
43510
|
+
var f, obj = {
|
|
43511
|
+
provider: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
43512
|
+
rawBody: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
43513
|
+
headers: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
43514
|
+
correlationId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
43515
|
+
};
|
|
43516
|
+
|
|
43517
|
+
if (includeInstance) {
|
|
43518
|
+
obj.$jspbMessageInstance = msg;
|
|
43519
|
+
}
|
|
43520
|
+
return obj;
|
|
43521
|
+
};
|
|
43522
|
+
}
|
|
43523
|
+
|
|
43524
|
+
|
|
43525
|
+
/**
|
|
43526
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43527
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43528
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookRequest}
|
|
43529
|
+
*/
|
|
43530
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.deserializeBinary = function(bytes) {
|
|
43531
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43532
|
+
var msg = new proto.user.ProcessAntifraudProviderWebhookRequest;
|
|
43533
|
+
return proto.user.ProcessAntifraudProviderWebhookRequest.deserializeBinaryFromReader(msg, reader);
|
|
43534
|
+
};
|
|
43535
|
+
|
|
43536
|
+
|
|
43537
|
+
/**
|
|
43538
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43539
|
+
* given reader into the given message object.
|
|
43540
|
+
* @param {!proto.user.ProcessAntifraudProviderWebhookRequest} msg The message object to deserialize into.
|
|
43541
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43542
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookRequest}
|
|
43543
|
+
*/
|
|
43544
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43545
|
+
while (reader.nextField()) {
|
|
43546
|
+
if (reader.isEndGroup()) {
|
|
43547
|
+
break;
|
|
43548
|
+
}
|
|
43549
|
+
var field = reader.getFieldNumber();
|
|
43550
|
+
switch (field) {
|
|
43551
|
+
case 1:
|
|
43552
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43553
|
+
msg.setProvider(value);
|
|
43554
|
+
break;
|
|
43555
|
+
case 2:
|
|
43556
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43557
|
+
msg.setRawBody(value);
|
|
43558
|
+
break;
|
|
43559
|
+
case 3:
|
|
43560
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43561
|
+
msg.setHeaders(value);
|
|
43562
|
+
break;
|
|
43563
|
+
case 4:
|
|
43564
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43565
|
+
msg.setCorrelationId(value);
|
|
43566
|
+
break;
|
|
43567
|
+
default:
|
|
43568
|
+
reader.skipField();
|
|
43569
|
+
break;
|
|
43570
|
+
}
|
|
43571
|
+
}
|
|
43572
|
+
return msg;
|
|
43573
|
+
};
|
|
43574
|
+
|
|
43575
|
+
|
|
43576
|
+
/**
|
|
43577
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43578
|
+
* @return {!Uint8Array}
|
|
43579
|
+
*/
|
|
43580
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.serializeBinary = function() {
|
|
43581
|
+
var writer = new jspb.BinaryWriter();
|
|
43582
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.serializeBinaryToWriter(this, writer);
|
|
43583
|
+
return writer.getResultBuffer();
|
|
43584
|
+
};
|
|
43585
|
+
|
|
43586
|
+
|
|
43587
|
+
/**
|
|
43588
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43589
|
+
* format), writing to the given BinaryWriter.
|
|
43590
|
+
* @param {!proto.user.ProcessAntifraudProviderWebhookRequest} message
|
|
43591
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43592
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43593
|
+
*/
|
|
43594
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43595
|
+
var f = undefined;
|
|
43596
|
+
f = message.getProvider();
|
|
43597
|
+
if (f.length > 0) {
|
|
43598
|
+
writer.writeString(
|
|
43599
|
+
1,
|
|
43600
|
+
f
|
|
43601
|
+
);
|
|
43602
|
+
}
|
|
43603
|
+
f = message.getRawBody();
|
|
43604
|
+
if (f.length > 0) {
|
|
43605
|
+
writer.writeString(
|
|
43606
|
+
2,
|
|
43607
|
+
f
|
|
43608
|
+
);
|
|
43609
|
+
}
|
|
43610
|
+
f = message.getHeaders();
|
|
43611
|
+
if (f.length > 0) {
|
|
43612
|
+
writer.writeString(
|
|
43613
|
+
3,
|
|
43614
|
+
f
|
|
43615
|
+
);
|
|
43616
|
+
}
|
|
43617
|
+
f = message.getCorrelationId();
|
|
43618
|
+
if (f.length > 0) {
|
|
43619
|
+
writer.writeString(
|
|
43620
|
+
4,
|
|
43621
|
+
f
|
|
43622
|
+
);
|
|
43623
|
+
}
|
|
43624
|
+
};
|
|
43625
|
+
|
|
43626
|
+
|
|
43627
|
+
/**
|
|
43628
|
+
* optional string provider = 1;
|
|
43629
|
+
* @return {string}
|
|
43630
|
+
*/
|
|
43631
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.getProvider = function() {
|
|
43632
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
43633
|
+
};
|
|
43634
|
+
|
|
43635
|
+
|
|
43636
|
+
/**
|
|
43637
|
+
* @param {string} value
|
|
43638
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookRequest} returns this
|
|
43639
|
+
*/
|
|
43640
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.setProvider = function(value) {
|
|
43641
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
43642
|
+
};
|
|
43643
|
+
|
|
43644
|
+
|
|
43645
|
+
/**
|
|
43646
|
+
* optional string raw_body = 2;
|
|
43647
|
+
* @return {string}
|
|
43648
|
+
*/
|
|
43649
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.getRawBody = function() {
|
|
43650
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
43651
|
+
};
|
|
43652
|
+
|
|
43653
|
+
|
|
43654
|
+
/**
|
|
43655
|
+
* @param {string} value
|
|
43656
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookRequest} returns this
|
|
43657
|
+
*/
|
|
43658
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.setRawBody = function(value) {
|
|
43659
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
43660
|
+
};
|
|
43661
|
+
|
|
43662
|
+
|
|
43663
|
+
/**
|
|
43664
|
+
* optional string headers = 3;
|
|
43665
|
+
* @return {string}
|
|
43666
|
+
*/
|
|
43667
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.getHeaders = function() {
|
|
43668
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
43669
|
+
};
|
|
43670
|
+
|
|
43671
|
+
|
|
43672
|
+
/**
|
|
43673
|
+
* @param {string} value
|
|
43674
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookRequest} returns this
|
|
43675
|
+
*/
|
|
43676
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.setHeaders = function(value) {
|
|
43677
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
43678
|
+
};
|
|
43679
|
+
|
|
43680
|
+
|
|
43681
|
+
/**
|
|
43682
|
+
* optional string correlation_id = 4;
|
|
43683
|
+
* @return {string}
|
|
43684
|
+
*/
|
|
43685
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.getCorrelationId = function() {
|
|
43686
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
43687
|
+
};
|
|
43688
|
+
|
|
43689
|
+
|
|
43690
|
+
/**
|
|
43691
|
+
* @param {string} value
|
|
43692
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookRequest} returns this
|
|
43693
|
+
*/
|
|
43694
|
+
proto.user.ProcessAntifraudProviderWebhookRequest.prototype.setCorrelationId = function(value) {
|
|
43695
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43696
|
+
};
|
|
43697
|
+
|
|
43698
|
+
|
|
43699
|
+
|
|
43700
|
+
|
|
43701
|
+
|
|
43702
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43703
|
+
/**
|
|
43704
|
+
* Creates an object representation of this proto.
|
|
43705
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43706
|
+
* Optional fields that are not set will be set to undefined.
|
|
43707
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43708
|
+
* For the list of reserved names please see:
|
|
43709
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43710
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43711
|
+
* JSPB instance for transitional soy proto support:
|
|
43712
|
+
* http://goto/soy-param-migration
|
|
43713
|
+
* @return {!Object}
|
|
43714
|
+
*/
|
|
43715
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.toObject = function(opt_includeInstance) {
|
|
43716
|
+
return proto.user.ProcessAntifraudProviderWebhookResponse.toObject(opt_includeInstance, this);
|
|
43717
|
+
};
|
|
43718
|
+
|
|
43719
|
+
|
|
43720
|
+
/**
|
|
43721
|
+
* Static version of the {@see toObject} method.
|
|
43722
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43723
|
+
* the JSPB instance for transitional soy proto support:
|
|
43724
|
+
* http://goto/soy-param-migration
|
|
43725
|
+
* @param {!proto.user.ProcessAntifraudProviderWebhookResponse} msg The msg instance to transform.
|
|
43726
|
+
* @return {!Object}
|
|
43727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43728
|
+
*/
|
|
43729
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.toObject = function(includeInstance, msg) {
|
|
43730
|
+
var f, obj = {
|
|
43731
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
43732
|
+
duplicate: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
43733
|
+
userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
43734
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
43735
|
+
provider: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
43736
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
43737
|
+
webhookId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
43738
|
+
webhookName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
43739
|
+
assessmentId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
43740
|
+
riskLevel: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
43741
|
+
reasonCode: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
43742
|
+
};
|
|
43743
|
+
|
|
43744
|
+
if (includeInstance) {
|
|
43745
|
+
obj.$jspbMessageInstance = msg;
|
|
43746
|
+
}
|
|
43747
|
+
return obj;
|
|
43748
|
+
};
|
|
43749
|
+
}
|
|
43750
|
+
|
|
43751
|
+
|
|
43752
|
+
/**
|
|
43753
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43754
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43755
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse}
|
|
43756
|
+
*/
|
|
43757
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.deserializeBinary = function(bytes) {
|
|
43758
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43759
|
+
var msg = new proto.user.ProcessAntifraudProviderWebhookResponse;
|
|
43760
|
+
return proto.user.ProcessAntifraudProviderWebhookResponse.deserializeBinaryFromReader(msg, reader);
|
|
43761
|
+
};
|
|
43762
|
+
|
|
43763
|
+
|
|
43764
|
+
/**
|
|
43765
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43766
|
+
* given reader into the given message object.
|
|
43767
|
+
* @param {!proto.user.ProcessAntifraudProviderWebhookResponse} msg The message object to deserialize into.
|
|
43768
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43769
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse}
|
|
43770
|
+
*/
|
|
43771
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
43772
|
+
while (reader.nextField()) {
|
|
43773
|
+
if (reader.isEndGroup()) {
|
|
43774
|
+
break;
|
|
43775
|
+
}
|
|
43776
|
+
var field = reader.getFieldNumber();
|
|
43777
|
+
switch (field) {
|
|
43778
|
+
case 1:
|
|
43779
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43780
|
+
msg.setStatus(value);
|
|
43781
|
+
break;
|
|
43782
|
+
case 2:
|
|
43783
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
43784
|
+
msg.setDuplicate(value);
|
|
43785
|
+
break;
|
|
43786
|
+
case 3:
|
|
43787
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43788
|
+
msg.setUserId(value);
|
|
43789
|
+
break;
|
|
43790
|
+
case 4:
|
|
43791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43792
|
+
msg.setUserPublicId(value);
|
|
43793
|
+
break;
|
|
43794
|
+
case 5:
|
|
43795
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43796
|
+
msg.setProvider(value);
|
|
43797
|
+
break;
|
|
43798
|
+
case 6:
|
|
43799
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43800
|
+
msg.setRequestId(value);
|
|
43801
|
+
break;
|
|
43802
|
+
case 7:
|
|
43803
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43804
|
+
msg.setWebhookId(value);
|
|
43805
|
+
break;
|
|
43806
|
+
case 8:
|
|
43807
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43808
|
+
msg.setWebhookName(value);
|
|
43809
|
+
break;
|
|
43810
|
+
case 9:
|
|
43811
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43812
|
+
msg.setAssessmentId(value);
|
|
43813
|
+
break;
|
|
43814
|
+
case 10:
|
|
43815
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43816
|
+
msg.setRiskLevel(value);
|
|
43817
|
+
break;
|
|
43818
|
+
case 11:
|
|
43819
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43820
|
+
msg.setReasonCode(value);
|
|
43821
|
+
break;
|
|
43822
|
+
default:
|
|
43823
|
+
reader.skipField();
|
|
43824
|
+
break;
|
|
43825
|
+
}
|
|
43826
|
+
}
|
|
43827
|
+
return msg;
|
|
43828
|
+
};
|
|
43829
|
+
|
|
43830
|
+
|
|
43831
|
+
/**
|
|
43832
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43833
|
+
* @return {!Uint8Array}
|
|
43834
|
+
*/
|
|
43835
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.serializeBinary = function() {
|
|
43836
|
+
var writer = new jspb.BinaryWriter();
|
|
43837
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.serializeBinaryToWriter(this, writer);
|
|
43838
|
+
return writer.getResultBuffer();
|
|
43839
|
+
};
|
|
43840
|
+
|
|
43841
|
+
|
|
43842
|
+
/**
|
|
43843
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43844
|
+
* format), writing to the given BinaryWriter.
|
|
43845
|
+
* @param {!proto.user.ProcessAntifraudProviderWebhookResponse} message
|
|
43846
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43847
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43848
|
+
*/
|
|
43849
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.serializeBinaryToWriter = function(message, writer) {
|
|
43850
|
+
var f = undefined;
|
|
43851
|
+
f = message.getStatus();
|
|
43852
|
+
if (f.length > 0) {
|
|
43853
|
+
writer.writeString(
|
|
43854
|
+
1,
|
|
43855
|
+
f
|
|
43856
|
+
);
|
|
43857
|
+
}
|
|
43858
|
+
f = message.getDuplicate();
|
|
43859
|
+
if (f) {
|
|
43860
|
+
writer.writeBool(
|
|
43861
|
+
2,
|
|
43862
|
+
f
|
|
43863
|
+
);
|
|
43864
|
+
}
|
|
43865
|
+
f = message.getUserId();
|
|
43866
|
+
if (f !== 0) {
|
|
43867
|
+
writer.writeInt32(
|
|
43868
|
+
3,
|
|
43869
|
+
f
|
|
43870
|
+
);
|
|
43871
|
+
}
|
|
43872
|
+
f = message.getUserPublicId();
|
|
43873
|
+
if (f.length > 0) {
|
|
43874
|
+
writer.writeString(
|
|
43875
|
+
4,
|
|
43876
|
+
f
|
|
43877
|
+
);
|
|
43878
|
+
}
|
|
43879
|
+
f = message.getProvider();
|
|
43880
|
+
if (f.length > 0) {
|
|
43881
|
+
writer.writeString(
|
|
43882
|
+
5,
|
|
43883
|
+
f
|
|
43884
|
+
);
|
|
43885
|
+
}
|
|
43886
|
+
f = message.getRequestId();
|
|
43887
|
+
if (f.length > 0) {
|
|
43888
|
+
writer.writeString(
|
|
43889
|
+
6,
|
|
43890
|
+
f
|
|
43891
|
+
);
|
|
43892
|
+
}
|
|
43893
|
+
f = message.getWebhookId();
|
|
43894
|
+
if (f.length > 0) {
|
|
43895
|
+
writer.writeString(
|
|
43896
|
+
7,
|
|
43897
|
+
f
|
|
43898
|
+
);
|
|
43899
|
+
}
|
|
43900
|
+
f = message.getWebhookName();
|
|
43901
|
+
if (f.length > 0) {
|
|
43902
|
+
writer.writeString(
|
|
43903
|
+
8,
|
|
43904
|
+
f
|
|
43905
|
+
);
|
|
43906
|
+
}
|
|
43907
|
+
f = message.getAssessmentId();
|
|
43908
|
+
if (f !== 0) {
|
|
43909
|
+
writer.writeInt32(
|
|
43910
|
+
9,
|
|
43911
|
+
f
|
|
43912
|
+
);
|
|
43913
|
+
}
|
|
43914
|
+
f = message.getRiskLevel();
|
|
43915
|
+
if (f.length > 0) {
|
|
43916
|
+
writer.writeString(
|
|
43917
|
+
10,
|
|
43918
|
+
f
|
|
43919
|
+
);
|
|
43920
|
+
}
|
|
43921
|
+
f = message.getReasonCode();
|
|
43922
|
+
if (f.length > 0) {
|
|
43923
|
+
writer.writeString(
|
|
43924
|
+
11,
|
|
43925
|
+
f
|
|
43926
|
+
);
|
|
43927
|
+
}
|
|
43928
|
+
};
|
|
43929
|
+
|
|
43930
|
+
|
|
43931
|
+
/**
|
|
43932
|
+
* optional string status = 1;
|
|
43933
|
+
* @return {string}
|
|
43934
|
+
*/
|
|
43935
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getStatus = function() {
|
|
43936
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
43937
|
+
};
|
|
43938
|
+
|
|
43939
|
+
|
|
43940
|
+
/**
|
|
43941
|
+
* @param {string} value
|
|
43942
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
43943
|
+
*/
|
|
43944
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setStatus = function(value) {
|
|
43945
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
43946
|
+
};
|
|
43947
|
+
|
|
43948
|
+
|
|
43949
|
+
/**
|
|
43950
|
+
* optional bool duplicate = 2;
|
|
43951
|
+
* @return {boolean}
|
|
43952
|
+
*/
|
|
43953
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getDuplicate = function() {
|
|
43954
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
43955
|
+
};
|
|
43956
|
+
|
|
43957
|
+
|
|
43958
|
+
/**
|
|
43959
|
+
* @param {boolean} value
|
|
43960
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
43961
|
+
*/
|
|
43962
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setDuplicate = function(value) {
|
|
43963
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
43964
|
+
};
|
|
43965
|
+
|
|
43966
|
+
|
|
43967
|
+
/**
|
|
43968
|
+
* optional int32 user_id = 3;
|
|
43969
|
+
* @return {number}
|
|
43970
|
+
*/
|
|
43971
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getUserId = function() {
|
|
43972
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
43973
|
+
};
|
|
43974
|
+
|
|
43975
|
+
|
|
43976
|
+
/**
|
|
43977
|
+
* @param {number} value
|
|
43978
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
43979
|
+
*/
|
|
43980
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setUserId = function(value) {
|
|
43981
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
43982
|
+
};
|
|
43983
|
+
|
|
43984
|
+
|
|
43985
|
+
/**
|
|
43986
|
+
* optional string user_public_id = 4;
|
|
43987
|
+
* @return {string}
|
|
43988
|
+
*/
|
|
43989
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getUserPublicId = function() {
|
|
43990
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
43991
|
+
};
|
|
43992
|
+
|
|
43993
|
+
|
|
43994
|
+
/**
|
|
43995
|
+
* @param {string} value
|
|
43996
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
43997
|
+
*/
|
|
43998
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setUserPublicId = function(value) {
|
|
43999
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
44000
|
+
};
|
|
44001
|
+
|
|
44002
|
+
|
|
44003
|
+
/**
|
|
44004
|
+
* optional string provider = 5;
|
|
44005
|
+
* @return {string}
|
|
44006
|
+
*/
|
|
44007
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getProvider = function() {
|
|
44008
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
44009
|
+
};
|
|
44010
|
+
|
|
44011
|
+
|
|
44012
|
+
/**
|
|
44013
|
+
* @param {string} value
|
|
44014
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44015
|
+
*/
|
|
44016
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setProvider = function(value) {
|
|
44017
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
44018
|
+
};
|
|
44019
|
+
|
|
44020
|
+
|
|
44021
|
+
/**
|
|
44022
|
+
* optional string request_id = 6;
|
|
44023
|
+
* @return {string}
|
|
44024
|
+
*/
|
|
44025
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getRequestId = function() {
|
|
44026
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
44027
|
+
};
|
|
44028
|
+
|
|
44029
|
+
|
|
44030
|
+
/**
|
|
44031
|
+
* @param {string} value
|
|
44032
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44033
|
+
*/
|
|
44034
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setRequestId = function(value) {
|
|
44035
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
44036
|
+
};
|
|
44037
|
+
|
|
44038
|
+
|
|
44039
|
+
/**
|
|
44040
|
+
* optional string webhook_id = 7;
|
|
44041
|
+
* @return {string}
|
|
44042
|
+
*/
|
|
44043
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getWebhookId = function() {
|
|
44044
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
44045
|
+
};
|
|
44046
|
+
|
|
44047
|
+
|
|
44048
|
+
/**
|
|
44049
|
+
* @param {string} value
|
|
44050
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44051
|
+
*/
|
|
44052
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setWebhookId = function(value) {
|
|
44053
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
44054
|
+
};
|
|
44055
|
+
|
|
44056
|
+
|
|
44057
|
+
/**
|
|
44058
|
+
* optional string webhook_name = 8;
|
|
44059
|
+
* @return {string}
|
|
44060
|
+
*/
|
|
44061
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getWebhookName = function() {
|
|
44062
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
44063
|
+
};
|
|
44064
|
+
|
|
44065
|
+
|
|
44066
|
+
/**
|
|
44067
|
+
* @param {string} value
|
|
44068
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44069
|
+
*/
|
|
44070
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setWebhookName = function(value) {
|
|
44071
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
44072
|
+
};
|
|
44073
|
+
|
|
44074
|
+
|
|
44075
|
+
/**
|
|
44076
|
+
* optional int32 assessment_id = 9;
|
|
44077
|
+
* @return {number}
|
|
44078
|
+
*/
|
|
44079
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getAssessmentId = function() {
|
|
44080
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
44081
|
+
};
|
|
44082
|
+
|
|
44083
|
+
|
|
44084
|
+
/**
|
|
44085
|
+
* @param {number} value
|
|
44086
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44087
|
+
*/
|
|
44088
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setAssessmentId = function(value) {
|
|
44089
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
44090
|
+
};
|
|
44091
|
+
|
|
44092
|
+
|
|
44093
|
+
/**
|
|
44094
|
+
* optional string risk_level = 10;
|
|
44095
|
+
* @return {string}
|
|
44096
|
+
*/
|
|
44097
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getRiskLevel = function() {
|
|
44098
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
44099
|
+
};
|
|
44100
|
+
|
|
44101
|
+
|
|
44102
|
+
/**
|
|
44103
|
+
* @param {string} value
|
|
44104
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44105
|
+
*/
|
|
44106
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setRiskLevel = function(value) {
|
|
44107
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
44108
|
+
};
|
|
44109
|
+
|
|
44110
|
+
|
|
44111
|
+
/**
|
|
44112
|
+
* optional string reason_code = 11;
|
|
44113
|
+
* @return {string}
|
|
44114
|
+
*/
|
|
44115
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.getReasonCode = function() {
|
|
44116
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
44117
|
+
};
|
|
44118
|
+
|
|
44119
|
+
|
|
44120
|
+
/**
|
|
44121
|
+
* @param {string} value
|
|
44122
|
+
* @return {!proto.user.ProcessAntifraudProviderWebhookResponse} returns this
|
|
44123
|
+
*/
|
|
44124
|
+
proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setReasonCode = function(value) {
|
|
44125
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
44126
|
+
};
|
|
44127
|
+
|
|
44128
|
+
|
|
44129
|
+
|
|
44130
|
+
|
|
44131
|
+
|
|
43438
44132
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43439
44133
|
/**
|
|
43440
44134
|
* Creates an object representation of this proto.
|