protobuf-platform 1.2.559 → 1.2.561
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/package.json +1 -1
- package/user/user.proto +5 -0
- package/user/user_pb.js +237 -2
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -1796,12 +1796,17 @@ message UserVerificationFlowOption {
|
|
|
1796
1796
|
bool upload_requirements_resolved = 3;
|
|
1797
1797
|
repeated UserVerificationFlowUpload uploads = 4;
|
|
1798
1798
|
}
|
|
1799
|
+
message UserVerificationFlowProfileField {
|
|
1800
|
+
string field_key = 1;
|
|
1801
|
+
VerificationCapabilityStatus status = 2;
|
|
1802
|
+
}
|
|
1799
1803
|
message UserVerificationFlowStep {
|
|
1800
1804
|
VerificationCapability capability = 1;
|
|
1801
1805
|
VerificationCapabilityStatus status = 2;
|
|
1802
1806
|
bool required = 3;
|
|
1803
1807
|
VerificationSelectionMode selection_mode = 4;
|
|
1804
1808
|
repeated UserVerificationFlowOption options = 5;
|
|
1809
|
+
repeated UserVerificationFlowProfileField fields = 6;
|
|
1805
1810
|
}
|
|
1806
1811
|
message GetUserVerificationFlowRequest {
|
|
1807
1812
|
int32 user_id = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -290,6 +290,7 @@ goog.exportSymbol('proto.user.UserStatusResponse', null, global);
|
|
|
290
290
|
goog.exportSymbol('proto.user.UserToggleGameStatusResponse', null, global);
|
|
291
291
|
goog.exportSymbol('proto.user.UserVerificationCapabilityState', null, global);
|
|
292
292
|
goog.exportSymbol('proto.user.UserVerificationFlowOption', null, global);
|
|
293
|
+
goog.exportSymbol('proto.user.UserVerificationFlowProfileField', null, global);
|
|
293
294
|
goog.exportSymbol('proto.user.UserVerificationFlowStep', null, global);
|
|
294
295
|
goog.exportSymbol('proto.user.UserVerificationFlowUpload', null, global);
|
|
295
296
|
goog.exportSymbol('proto.user.UserVerificationOverallStatus', null, global);
|
|
@@ -4462,6 +4463,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4462
4463
|
*/
|
|
4463
4464
|
proto.user.UserVerificationFlowOption.displayName = 'proto.user.UserVerificationFlowOption';
|
|
4464
4465
|
}
|
|
4466
|
+
/**
|
|
4467
|
+
* Generated by JsPbCodeGenerator.
|
|
4468
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4469
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4470
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4471
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4472
|
+
* valid.
|
|
4473
|
+
* @extends {jspb.Message}
|
|
4474
|
+
* @constructor
|
|
4475
|
+
*/
|
|
4476
|
+
proto.user.UserVerificationFlowProfileField = function(opt_data) {
|
|
4477
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4478
|
+
};
|
|
4479
|
+
goog.inherits(proto.user.UserVerificationFlowProfileField, jspb.Message);
|
|
4480
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4481
|
+
/**
|
|
4482
|
+
* @public
|
|
4483
|
+
* @override
|
|
4484
|
+
*/
|
|
4485
|
+
proto.user.UserVerificationFlowProfileField.displayName = 'proto.user.UserVerificationFlowProfileField';
|
|
4486
|
+
}
|
|
4465
4487
|
/**
|
|
4466
4488
|
* Generated by JsPbCodeGenerator.
|
|
4467
4489
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -75011,12 +75033,172 @@ proto.user.UserVerificationFlowOption.prototype.clearUploadsList = function() {
|
|
|
75011
75033
|
|
|
75012
75034
|
|
|
75013
75035
|
|
|
75036
|
+
|
|
75037
|
+
|
|
75038
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75039
|
+
/**
|
|
75040
|
+
* Creates an object representation of this proto.
|
|
75041
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75042
|
+
* Optional fields that are not set will be set to undefined.
|
|
75043
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75044
|
+
* For the list of reserved names please see:
|
|
75045
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
75046
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
75047
|
+
* JSPB instance for transitional soy proto support:
|
|
75048
|
+
* http://goto/soy-param-migration
|
|
75049
|
+
* @return {!Object}
|
|
75050
|
+
*/
|
|
75051
|
+
proto.user.UserVerificationFlowProfileField.prototype.toObject = function(opt_includeInstance) {
|
|
75052
|
+
return proto.user.UserVerificationFlowProfileField.toObject(opt_includeInstance, this);
|
|
75053
|
+
};
|
|
75054
|
+
|
|
75055
|
+
|
|
75056
|
+
/**
|
|
75057
|
+
* Static version of the {@see toObject} method.
|
|
75058
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
75059
|
+
* the JSPB instance for transitional soy proto support:
|
|
75060
|
+
* http://goto/soy-param-migration
|
|
75061
|
+
* @param {!proto.user.UserVerificationFlowProfileField} msg The msg instance to transform.
|
|
75062
|
+
* @return {!Object}
|
|
75063
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75064
|
+
*/
|
|
75065
|
+
proto.user.UserVerificationFlowProfileField.toObject = function(includeInstance, msg) {
|
|
75066
|
+
var f, obj = {
|
|
75067
|
+
fieldKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
75068
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
75069
|
+
};
|
|
75070
|
+
|
|
75071
|
+
if (includeInstance) {
|
|
75072
|
+
obj.$jspbMessageInstance = msg;
|
|
75073
|
+
}
|
|
75074
|
+
return obj;
|
|
75075
|
+
};
|
|
75076
|
+
}
|
|
75077
|
+
|
|
75078
|
+
|
|
75079
|
+
/**
|
|
75080
|
+
* Deserializes binary data (in protobuf wire format).
|
|
75081
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
75082
|
+
* @return {!proto.user.UserVerificationFlowProfileField}
|
|
75083
|
+
*/
|
|
75084
|
+
proto.user.UserVerificationFlowProfileField.deserializeBinary = function(bytes) {
|
|
75085
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
75086
|
+
var msg = new proto.user.UserVerificationFlowProfileField;
|
|
75087
|
+
return proto.user.UserVerificationFlowProfileField.deserializeBinaryFromReader(msg, reader);
|
|
75088
|
+
};
|
|
75089
|
+
|
|
75090
|
+
|
|
75091
|
+
/**
|
|
75092
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
75093
|
+
* given reader into the given message object.
|
|
75094
|
+
* @param {!proto.user.UserVerificationFlowProfileField} msg The message object to deserialize into.
|
|
75095
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
75096
|
+
* @return {!proto.user.UserVerificationFlowProfileField}
|
|
75097
|
+
*/
|
|
75098
|
+
proto.user.UserVerificationFlowProfileField.deserializeBinaryFromReader = function(msg, reader) {
|
|
75099
|
+
while (reader.nextField()) {
|
|
75100
|
+
if (reader.isEndGroup()) {
|
|
75101
|
+
break;
|
|
75102
|
+
}
|
|
75103
|
+
var field = reader.getFieldNumber();
|
|
75104
|
+
switch (field) {
|
|
75105
|
+
case 1:
|
|
75106
|
+
var value = /** @type {string} */ (reader.readString());
|
|
75107
|
+
msg.setFieldKey(value);
|
|
75108
|
+
break;
|
|
75109
|
+
case 2:
|
|
75110
|
+
var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
|
|
75111
|
+
msg.setStatus(value);
|
|
75112
|
+
break;
|
|
75113
|
+
default:
|
|
75114
|
+
reader.skipField();
|
|
75115
|
+
break;
|
|
75116
|
+
}
|
|
75117
|
+
}
|
|
75118
|
+
return msg;
|
|
75119
|
+
};
|
|
75120
|
+
|
|
75121
|
+
|
|
75122
|
+
/**
|
|
75123
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
75124
|
+
* @return {!Uint8Array}
|
|
75125
|
+
*/
|
|
75126
|
+
proto.user.UserVerificationFlowProfileField.prototype.serializeBinary = function() {
|
|
75127
|
+
var writer = new jspb.BinaryWriter();
|
|
75128
|
+
proto.user.UserVerificationFlowProfileField.serializeBinaryToWriter(this, writer);
|
|
75129
|
+
return writer.getResultBuffer();
|
|
75130
|
+
};
|
|
75131
|
+
|
|
75132
|
+
|
|
75133
|
+
/**
|
|
75134
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
75135
|
+
* format), writing to the given BinaryWriter.
|
|
75136
|
+
* @param {!proto.user.UserVerificationFlowProfileField} message
|
|
75137
|
+
* @param {!jspb.BinaryWriter} writer
|
|
75138
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75139
|
+
*/
|
|
75140
|
+
proto.user.UserVerificationFlowProfileField.serializeBinaryToWriter = function(message, writer) {
|
|
75141
|
+
var f = undefined;
|
|
75142
|
+
f = message.getFieldKey();
|
|
75143
|
+
if (f.length > 0) {
|
|
75144
|
+
writer.writeString(
|
|
75145
|
+
1,
|
|
75146
|
+
f
|
|
75147
|
+
);
|
|
75148
|
+
}
|
|
75149
|
+
f = message.getStatus();
|
|
75150
|
+
if (f !== 0.0) {
|
|
75151
|
+
writer.writeEnum(
|
|
75152
|
+
2,
|
|
75153
|
+
f
|
|
75154
|
+
);
|
|
75155
|
+
}
|
|
75156
|
+
};
|
|
75157
|
+
|
|
75158
|
+
|
|
75159
|
+
/**
|
|
75160
|
+
* optional string field_key = 1;
|
|
75161
|
+
* @return {string}
|
|
75162
|
+
*/
|
|
75163
|
+
proto.user.UserVerificationFlowProfileField.prototype.getFieldKey = function() {
|
|
75164
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
75165
|
+
};
|
|
75166
|
+
|
|
75167
|
+
|
|
75168
|
+
/**
|
|
75169
|
+
* @param {string} value
|
|
75170
|
+
* @return {!proto.user.UserVerificationFlowProfileField} returns this
|
|
75171
|
+
*/
|
|
75172
|
+
proto.user.UserVerificationFlowProfileField.prototype.setFieldKey = function(value) {
|
|
75173
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
75174
|
+
};
|
|
75175
|
+
|
|
75176
|
+
|
|
75177
|
+
/**
|
|
75178
|
+
* optional VerificationCapabilityStatus status = 2;
|
|
75179
|
+
* @return {!proto.user.VerificationCapabilityStatus}
|
|
75180
|
+
*/
|
|
75181
|
+
proto.user.UserVerificationFlowProfileField.prototype.getStatus = function() {
|
|
75182
|
+
return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
75183
|
+
};
|
|
75184
|
+
|
|
75185
|
+
|
|
75186
|
+
/**
|
|
75187
|
+
* @param {!proto.user.VerificationCapabilityStatus} value
|
|
75188
|
+
* @return {!proto.user.UserVerificationFlowProfileField} returns this
|
|
75189
|
+
*/
|
|
75190
|
+
proto.user.UserVerificationFlowProfileField.prototype.setStatus = function(value) {
|
|
75191
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
75192
|
+
};
|
|
75193
|
+
|
|
75194
|
+
|
|
75195
|
+
|
|
75014
75196
|
/**
|
|
75015
75197
|
* List of repeated fields within this message type.
|
|
75016
75198
|
* @private {!Array<number>}
|
|
75017
75199
|
* @const
|
|
75018
75200
|
*/
|
|
75019
|
-
proto.user.UserVerificationFlowStep.repeatedFields_ = [5];
|
|
75201
|
+
proto.user.UserVerificationFlowStep.repeatedFields_ = [5,6];
|
|
75020
75202
|
|
|
75021
75203
|
|
|
75022
75204
|
|
|
@@ -75054,7 +75236,9 @@ proto.user.UserVerificationFlowStep.toObject = function(includeInstance, msg) {
|
|
|
75054
75236
|
required: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
75055
75237
|
selectionMode: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
75056
75238
|
optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
|
|
75057
|
-
proto.user.UserVerificationFlowOption.toObject, includeInstance)
|
|
75239
|
+
proto.user.UserVerificationFlowOption.toObject, includeInstance),
|
|
75240
|
+
fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
|
|
75241
|
+
proto.user.UserVerificationFlowProfileField.toObject, includeInstance)
|
|
75058
75242
|
};
|
|
75059
75243
|
|
|
75060
75244
|
if (includeInstance) {
|
|
@@ -75112,6 +75296,11 @@ proto.user.UserVerificationFlowStep.deserializeBinaryFromReader = function(msg,
|
|
|
75112
75296
|
reader.readMessage(value,proto.user.UserVerificationFlowOption.deserializeBinaryFromReader);
|
|
75113
75297
|
msg.addOptions(value);
|
|
75114
75298
|
break;
|
|
75299
|
+
case 6:
|
|
75300
|
+
var value = new proto.user.UserVerificationFlowProfileField;
|
|
75301
|
+
reader.readMessage(value,proto.user.UserVerificationFlowProfileField.deserializeBinaryFromReader);
|
|
75302
|
+
msg.addFields(value);
|
|
75303
|
+
break;
|
|
75115
75304
|
default:
|
|
75116
75305
|
reader.skipField();
|
|
75117
75306
|
break;
|
|
@@ -75177,6 +75366,14 @@ proto.user.UserVerificationFlowStep.serializeBinaryToWriter = function(message,
|
|
|
75177
75366
|
proto.user.UserVerificationFlowOption.serializeBinaryToWriter
|
|
75178
75367
|
);
|
|
75179
75368
|
}
|
|
75369
|
+
f = message.getFieldsList();
|
|
75370
|
+
if (f.length > 0) {
|
|
75371
|
+
writer.writeRepeatedMessage(
|
|
75372
|
+
6,
|
|
75373
|
+
f,
|
|
75374
|
+
proto.user.UserVerificationFlowProfileField.serializeBinaryToWriter
|
|
75375
|
+
);
|
|
75376
|
+
}
|
|
75180
75377
|
};
|
|
75181
75378
|
|
|
75182
75379
|
|
|
@@ -75290,6 +75487,44 @@ proto.user.UserVerificationFlowStep.prototype.clearOptionsList = function() {
|
|
|
75290
75487
|
};
|
|
75291
75488
|
|
|
75292
75489
|
|
|
75490
|
+
/**
|
|
75491
|
+
* repeated UserVerificationFlowProfileField fields = 6;
|
|
75492
|
+
* @return {!Array<!proto.user.UserVerificationFlowProfileField>}
|
|
75493
|
+
*/
|
|
75494
|
+
proto.user.UserVerificationFlowStep.prototype.getFieldsList = function() {
|
|
75495
|
+
return /** @type{!Array<!proto.user.UserVerificationFlowProfileField>} */ (
|
|
75496
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowProfileField, 6));
|
|
75497
|
+
};
|
|
75498
|
+
|
|
75499
|
+
|
|
75500
|
+
/**
|
|
75501
|
+
* @param {!Array<!proto.user.UserVerificationFlowProfileField>} value
|
|
75502
|
+
* @return {!proto.user.UserVerificationFlowStep} returns this
|
|
75503
|
+
*/
|
|
75504
|
+
proto.user.UserVerificationFlowStep.prototype.setFieldsList = function(value) {
|
|
75505
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
75506
|
+
};
|
|
75507
|
+
|
|
75508
|
+
|
|
75509
|
+
/**
|
|
75510
|
+
* @param {!proto.user.UserVerificationFlowProfileField=} opt_value
|
|
75511
|
+
* @param {number=} opt_index
|
|
75512
|
+
* @return {!proto.user.UserVerificationFlowProfileField}
|
|
75513
|
+
*/
|
|
75514
|
+
proto.user.UserVerificationFlowStep.prototype.addFields = function(opt_value, opt_index) {
|
|
75515
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.user.UserVerificationFlowProfileField, opt_index);
|
|
75516
|
+
};
|
|
75517
|
+
|
|
75518
|
+
|
|
75519
|
+
/**
|
|
75520
|
+
* Clears the list making it empty but non-null.
|
|
75521
|
+
* @return {!proto.user.UserVerificationFlowStep} returns this
|
|
75522
|
+
*/
|
|
75523
|
+
proto.user.UserVerificationFlowStep.prototype.clearFieldsList = function() {
|
|
75524
|
+
return this.setFieldsList([]);
|
|
75525
|
+
};
|
|
75526
|
+
|
|
75527
|
+
|
|
75293
75528
|
|
|
75294
75529
|
|
|
75295
75530
|
|