protobuf-platform 1.2.537 → 1.2.540
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/bonus/bonus.proto +3 -0
- package/bonus/bonus_pb.js +147 -3
- package/package.json +1 -1
- package/user/user.proto +19 -0
- package/user/user_grpc_pb.js +34 -0
- package/user/user_pb.js +742 -0
package/bonus/bonus.proto
CHANGED
|
@@ -80,6 +80,7 @@ message SearchBonusRequest {
|
|
|
80
80
|
optional string status_string = 6;
|
|
81
81
|
optional string type_string = 7;
|
|
82
82
|
optional string country = 8;
|
|
83
|
+
optional bool is_guest = 9;
|
|
83
84
|
}
|
|
84
85
|
//Bonus CRUD | Requests
|
|
85
86
|
message BonusRequest {
|
|
@@ -169,6 +170,7 @@ message BonusItemRequest {
|
|
|
169
170
|
optional bool excluded_segment_ids_provided = 30;
|
|
170
171
|
optional string portrait_file_name = 31;
|
|
171
172
|
optional string portrait_file_type = 32;
|
|
173
|
+
optional bool can_guest_show = 33;
|
|
172
174
|
}
|
|
173
175
|
message GetBonusRequest {
|
|
174
176
|
int32 id = 1;
|
|
@@ -242,6 +244,7 @@ message BonusItem {
|
|
|
242
244
|
repeated string available_actions = 42;
|
|
243
245
|
optional string portrait_image = 43;
|
|
244
246
|
optional string portrait_image_cdn = 44;
|
|
247
|
+
optional bool can_guest_show = 45;
|
|
245
248
|
}
|
|
246
249
|
message BonusItemsResponse {
|
|
247
250
|
repeated BonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -2594,7 +2594,8 @@ proto.bonus.SearchBonusRequest.toObject = function(includeInstance, msg) {
|
|
|
2594
2594
|
locale: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2595
2595
|
statusString: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2596
2596
|
typeString: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2597
|
-
country: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
2597
|
+
country: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2598
|
+
isGuest: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
2598
2599
|
};
|
|
2599
2600
|
|
|
2600
2601
|
if (includeInstance) {
|
|
@@ -2663,6 +2664,10 @@ proto.bonus.SearchBonusRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
2663
2664
|
var value = /** @type {string} */ (reader.readString());
|
|
2664
2665
|
msg.setCountry(value);
|
|
2665
2666
|
break;
|
|
2667
|
+
case 9:
|
|
2668
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2669
|
+
msg.setIsGuest(value);
|
|
2670
|
+
break;
|
|
2666
2671
|
default:
|
|
2667
2672
|
reader.skipField();
|
|
2668
2673
|
break;
|
|
@@ -2748,6 +2753,13 @@ proto.bonus.SearchBonusRequest.serializeBinaryToWriter = function(message, write
|
|
|
2748
2753
|
f
|
|
2749
2754
|
);
|
|
2750
2755
|
}
|
|
2756
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
|
|
2757
|
+
if (f != null) {
|
|
2758
|
+
writer.writeBool(
|
|
2759
|
+
9,
|
|
2760
|
+
f
|
|
2761
|
+
);
|
|
2762
|
+
}
|
|
2751
2763
|
};
|
|
2752
2764
|
|
|
2753
2765
|
|
|
@@ -3040,6 +3052,42 @@ proto.bonus.SearchBonusRequest.prototype.hasCountry = function() {
|
|
|
3040
3052
|
};
|
|
3041
3053
|
|
|
3042
3054
|
|
|
3055
|
+
/**
|
|
3056
|
+
* optional bool is_guest = 9;
|
|
3057
|
+
* @return {boolean}
|
|
3058
|
+
*/
|
|
3059
|
+
proto.bonus.SearchBonusRequest.prototype.getIsGuest = function() {
|
|
3060
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
3061
|
+
};
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
/**
|
|
3065
|
+
* @param {boolean} value
|
|
3066
|
+
* @return {!proto.bonus.SearchBonusRequest} returns this
|
|
3067
|
+
*/
|
|
3068
|
+
proto.bonus.SearchBonusRequest.prototype.setIsGuest = function(value) {
|
|
3069
|
+
return jspb.Message.setField(this, 9, value);
|
|
3070
|
+
};
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
/**
|
|
3074
|
+
* Clears the field making it undefined.
|
|
3075
|
+
* @return {!proto.bonus.SearchBonusRequest} returns this
|
|
3076
|
+
*/
|
|
3077
|
+
proto.bonus.SearchBonusRequest.prototype.clearIsGuest = function() {
|
|
3078
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
3079
|
+
};
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* Returns whether this field is set.
|
|
3084
|
+
* @return {boolean}
|
|
3085
|
+
*/
|
|
3086
|
+
proto.bonus.SearchBonusRequest.prototype.hasIsGuest = function() {
|
|
3087
|
+
return jspb.Message.getField(this, 9) != null;
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
|
|
3043
3091
|
|
|
3044
3092
|
/**
|
|
3045
3093
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -5192,7 +5240,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
|
5192
5240
|
wagerGamesListIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
|
|
5193
5241
|
excludedSegmentIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
|
|
5194
5242
|
portraitFileName: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
5195
|
-
portraitFileType: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
5243
|
+
portraitFileType: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
5244
|
+
canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 33, false)
|
|
5196
5245
|
};
|
|
5197
5246
|
|
|
5198
5247
|
if (includeInstance) {
|
|
@@ -5363,6 +5412,10 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5363
5412
|
var value = /** @type {string} */ (reader.readString());
|
|
5364
5413
|
msg.setPortraitFileType(value);
|
|
5365
5414
|
break;
|
|
5415
|
+
case 33:
|
|
5416
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5417
|
+
msg.setCanGuestShow(value);
|
|
5418
|
+
break;
|
|
5366
5419
|
default:
|
|
5367
5420
|
reader.skipField();
|
|
5368
5421
|
break;
|
|
@@ -5616,6 +5669,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5616
5669
|
f
|
|
5617
5670
|
);
|
|
5618
5671
|
}
|
|
5672
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 33));
|
|
5673
|
+
if (f != null) {
|
|
5674
|
+
writer.writeBool(
|
|
5675
|
+
33,
|
|
5676
|
+
f
|
|
5677
|
+
);
|
|
5678
|
+
}
|
|
5619
5679
|
};
|
|
5620
5680
|
|
|
5621
5681
|
|
|
@@ -6774,6 +6834,42 @@ proto.bonus.BonusItemRequest.prototype.hasPortraitFileType = function() {
|
|
|
6774
6834
|
};
|
|
6775
6835
|
|
|
6776
6836
|
|
|
6837
|
+
/**
|
|
6838
|
+
* optional bool can_guest_show = 33;
|
|
6839
|
+
* @return {boolean}
|
|
6840
|
+
*/
|
|
6841
|
+
proto.bonus.BonusItemRequest.prototype.getCanGuestShow = function() {
|
|
6842
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false));
|
|
6843
|
+
};
|
|
6844
|
+
|
|
6845
|
+
|
|
6846
|
+
/**
|
|
6847
|
+
* @param {boolean} value
|
|
6848
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
6849
|
+
*/
|
|
6850
|
+
proto.bonus.BonusItemRequest.prototype.setCanGuestShow = function(value) {
|
|
6851
|
+
return jspb.Message.setField(this, 33, value);
|
|
6852
|
+
};
|
|
6853
|
+
|
|
6854
|
+
|
|
6855
|
+
/**
|
|
6856
|
+
* Clears the field making it undefined.
|
|
6857
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
6858
|
+
*/
|
|
6859
|
+
proto.bonus.BonusItemRequest.prototype.clearCanGuestShow = function() {
|
|
6860
|
+
return jspb.Message.setField(this, 33, undefined);
|
|
6861
|
+
};
|
|
6862
|
+
|
|
6863
|
+
|
|
6864
|
+
/**
|
|
6865
|
+
* Returns whether this field is set.
|
|
6866
|
+
* @return {boolean}
|
|
6867
|
+
*/
|
|
6868
|
+
proto.bonus.BonusItemRequest.prototype.hasCanGuestShow = function() {
|
|
6869
|
+
return jspb.Message.getField(this, 33) != null;
|
|
6870
|
+
};
|
|
6871
|
+
|
|
6872
|
+
|
|
6777
6873
|
|
|
6778
6874
|
|
|
6779
6875
|
|
|
@@ -7888,7 +7984,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
7888
7984
|
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 41, ""),
|
|
7889
7985
|
availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
|
|
7890
7986
|
portraitImage: jspb.Message.getFieldWithDefault(msg, 43, ""),
|
|
7891
|
-
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, "")
|
|
7987
|
+
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
7988
|
+
canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false)
|
|
7892
7989
|
};
|
|
7893
7990
|
|
|
7894
7991
|
if (includeInstance) {
|
|
@@ -8114,6 +8211,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8114
8211
|
var value = /** @type {string} */ (reader.readString());
|
|
8115
8212
|
msg.setPortraitImageCdn(value);
|
|
8116
8213
|
break;
|
|
8214
|
+
case 45:
|
|
8215
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
8216
|
+
msg.setCanGuestShow(value);
|
|
8217
|
+
break;
|
|
8117
8218
|
default:
|
|
8118
8219
|
reader.skipField();
|
|
8119
8220
|
break;
|
|
@@ -8458,6 +8559,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
8458
8559
|
f
|
|
8459
8560
|
);
|
|
8460
8561
|
}
|
|
8562
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 45));
|
|
8563
|
+
if (f != null) {
|
|
8564
|
+
writer.writeBool(
|
|
8565
|
+
45,
|
|
8566
|
+
f
|
|
8567
|
+
);
|
|
8568
|
+
}
|
|
8461
8569
|
};
|
|
8462
8570
|
|
|
8463
8571
|
|
|
@@ -10045,6 +10153,42 @@ proto.bonus.BonusItem.prototype.hasPortraitImageCdn = function() {
|
|
|
10045
10153
|
};
|
|
10046
10154
|
|
|
10047
10155
|
|
|
10156
|
+
/**
|
|
10157
|
+
* optional bool can_guest_show = 45;
|
|
10158
|
+
* @return {boolean}
|
|
10159
|
+
*/
|
|
10160
|
+
proto.bonus.BonusItem.prototype.getCanGuestShow = function() {
|
|
10161
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 45, false));
|
|
10162
|
+
};
|
|
10163
|
+
|
|
10164
|
+
|
|
10165
|
+
/**
|
|
10166
|
+
* @param {boolean} value
|
|
10167
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
10168
|
+
*/
|
|
10169
|
+
proto.bonus.BonusItem.prototype.setCanGuestShow = function(value) {
|
|
10170
|
+
return jspb.Message.setField(this, 45, value);
|
|
10171
|
+
};
|
|
10172
|
+
|
|
10173
|
+
|
|
10174
|
+
/**
|
|
10175
|
+
* Clears the field making it undefined.
|
|
10176
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
10177
|
+
*/
|
|
10178
|
+
proto.bonus.BonusItem.prototype.clearCanGuestShow = function() {
|
|
10179
|
+
return jspb.Message.setField(this, 45, undefined);
|
|
10180
|
+
};
|
|
10181
|
+
|
|
10182
|
+
|
|
10183
|
+
/**
|
|
10184
|
+
* Returns whether this field is set.
|
|
10185
|
+
* @return {boolean}
|
|
10186
|
+
*/
|
|
10187
|
+
proto.bonus.BonusItem.prototype.hasCanGuestShow = function() {
|
|
10188
|
+
return jspb.Message.getField(this, 45) != null;
|
|
10189
|
+
};
|
|
10190
|
+
|
|
10191
|
+
|
|
10048
10192
|
|
|
10049
10193
|
/**
|
|
10050
10194
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -99,6 +99,8 @@ service User {
|
|
|
99
99
|
rpc readUserKycDocumentOptions(ReadUserKycDocumentOptionsRequest) returns (UserKycDocumentOptionsResponse);
|
|
100
100
|
// Submit an existing user KYC document record to the active verification provider.
|
|
101
101
|
rpc ingestUserKycDocumentToProvider(IngestUserKycDocumentToProviderRequest) returns (UserKycDocumentItem);
|
|
102
|
+
// Provider-agnostic KYC: bootstrap verification context (purpose/flow only; provider resolved internally).
|
|
103
|
+
rpc prepareUserKycVerification(PrepareUserKycVerificationRequest) returns (PrepareUserKycVerificationResponse);
|
|
102
104
|
// Provider-agnostic KYC: start a provider-hosted or provider-driven verification session.
|
|
103
105
|
rpc startUserKycVerification(StartUserKycVerificationRequest) returns (StartUserKycVerificationResponse);
|
|
104
106
|
// Single internal entrypoint for provider webhook processing (`raw_body` / `headers` are internal-only).
|
|
@@ -1187,6 +1189,23 @@ message UserKycProfileResponse {
|
|
|
1187
1189
|
optional string provider_last_event_at = 15;
|
|
1188
1190
|
optional string provider_updated_at = 16;
|
|
1189
1191
|
}
|
|
1192
|
+
message PrepareUserKycVerificationRequest {
|
|
1193
|
+
int32 user_id = 1;
|
|
1194
|
+
optional string user_public_id = 2;
|
|
1195
|
+
string purpose = 3;
|
|
1196
|
+
string flow = 4;
|
|
1197
|
+
optional string correlation_id = 5;
|
|
1198
|
+
optional string ip = 6;
|
|
1199
|
+
}
|
|
1200
|
+
message PrepareUserKycVerificationResponse {
|
|
1201
|
+
int32 user_id = 1;
|
|
1202
|
+
optional string user_public_id = 2;
|
|
1203
|
+
string purpose = 3;
|
|
1204
|
+
string flow = 4;
|
|
1205
|
+
string status = 5;
|
|
1206
|
+
optional string created_at = 6;
|
|
1207
|
+
optional string updated_at = 7;
|
|
1208
|
+
}
|
|
1190
1209
|
message StartUserKycVerificationRequest {
|
|
1191
1210
|
int32 user_id = 1;
|
|
1192
1211
|
optional string user_public_id = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -686,6 +686,28 @@ function deserialize_user_PongResponse(buffer_arg) {
|
|
|
686
686
|
return user_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
+
function serialize_user_PrepareUserKycVerificationRequest(arg) {
|
|
690
|
+
if (!(arg instanceof user_pb.PrepareUserKycVerificationRequest)) {
|
|
691
|
+
throw new Error('Expected argument of type user.PrepareUserKycVerificationRequest');
|
|
692
|
+
}
|
|
693
|
+
return Buffer.from(arg.serializeBinary());
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
function deserialize_user_PrepareUserKycVerificationRequest(buffer_arg) {
|
|
697
|
+
return user_pb.PrepareUserKycVerificationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
function serialize_user_PrepareUserKycVerificationResponse(arg) {
|
|
701
|
+
if (!(arg instanceof user_pb.PrepareUserKycVerificationResponse)) {
|
|
702
|
+
throw new Error('Expected argument of type user.PrepareUserKycVerificationResponse');
|
|
703
|
+
}
|
|
704
|
+
return Buffer.from(arg.serializeBinary());
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
function deserialize_user_PrepareUserKycVerificationResponse(buffer_arg) {
|
|
708
|
+
return user_pb.PrepareUserKycVerificationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
709
|
+
}
|
|
710
|
+
|
|
689
711
|
function serialize_user_ProcessAntifraudProviderWebhookRequest(arg) {
|
|
690
712
|
if (!(arg instanceof user_pb.ProcessAntifraudProviderWebhookRequest)) {
|
|
691
713
|
throw new Error('Expected argument of type user.ProcessAntifraudProviderWebhookRequest');
|
|
@@ -2839,6 +2861,18 @@ ingestUserKycDocumentToProvider: {
|
|
|
2839
2861
|
responseSerialize: serialize_user_UserKycDocumentItem,
|
|
2840
2862
|
responseDeserialize: deserialize_user_UserKycDocumentItem,
|
|
2841
2863
|
},
|
|
2864
|
+
// Provider-agnostic KYC: bootstrap verification context (purpose/flow only; provider resolved internally).
|
|
2865
|
+
prepareUserKycVerification: {
|
|
2866
|
+
path: '/user.User/prepareUserKycVerification',
|
|
2867
|
+
requestStream: false,
|
|
2868
|
+
responseStream: false,
|
|
2869
|
+
requestType: user_pb.PrepareUserKycVerificationRequest,
|
|
2870
|
+
responseType: user_pb.PrepareUserKycVerificationResponse,
|
|
2871
|
+
requestSerialize: serialize_user_PrepareUserKycVerificationRequest,
|
|
2872
|
+
requestDeserialize: deserialize_user_PrepareUserKycVerificationRequest,
|
|
2873
|
+
responseSerialize: serialize_user_PrepareUserKycVerificationResponse,
|
|
2874
|
+
responseDeserialize: deserialize_user_PrepareUserKycVerificationResponse,
|
|
2875
|
+
},
|
|
2842
2876
|
// Provider-agnostic KYC: start a provider-hosted or provider-driven verification session.
|
|
2843
2877
|
startUserKycVerification: {
|
|
2844
2878
|
path: '/user.User/startUserKycVerification',
|
package/user/user_pb.js
CHANGED
|
@@ -92,6 +92,8 @@ goog.exportSymbol('proto.user.NoteStatusResponse', null, global);
|
|
|
92
92
|
goog.exportSymbol('proto.user.PaginationRequest', null, global);
|
|
93
93
|
goog.exportSymbol('proto.user.PingRequest', null, global);
|
|
94
94
|
goog.exportSymbol('proto.user.PongResponse', null, global);
|
|
95
|
+
goog.exportSymbol('proto.user.PrepareUserKycVerificationRequest', null, global);
|
|
96
|
+
goog.exportSymbol('proto.user.PrepareUserKycVerificationResponse', null, global);
|
|
95
97
|
goog.exportSymbol('proto.user.PresetItem', null, global);
|
|
96
98
|
goog.exportSymbol('proto.user.PresetListItem', null, global);
|
|
97
99
|
goog.exportSymbol('proto.user.ProcessAntifraudProviderWebhookRequest', null, global);
|
|
@@ -2734,6 +2736,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2734
2736
|
*/
|
|
2735
2737
|
proto.user.UserKycProfileResponse.displayName = 'proto.user.UserKycProfileResponse';
|
|
2736
2738
|
}
|
|
2739
|
+
/**
|
|
2740
|
+
* Generated by JsPbCodeGenerator.
|
|
2741
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2742
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2743
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2744
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2745
|
+
* valid.
|
|
2746
|
+
* @extends {jspb.Message}
|
|
2747
|
+
* @constructor
|
|
2748
|
+
*/
|
|
2749
|
+
proto.user.PrepareUserKycVerificationRequest = function(opt_data) {
|
|
2750
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2751
|
+
};
|
|
2752
|
+
goog.inherits(proto.user.PrepareUserKycVerificationRequest, jspb.Message);
|
|
2753
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2754
|
+
/**
|
|
2755
|
+
* @public
|
|
2756
|
+
* @override
|
|
2757
|
+
*/
|
|
2758
|
+
proto.user.PrepareUserKycVerificationRequest.displayName = 'proto.user.PrepareUserKycVerificationRequest';
|
|
2759
|
+
}
|
|
2760
|
+
/**
|
|
2761
|
+
* Generated by JsPbCodeGenerator.
|
|
2762
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2763
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2764
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2765
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2766
|
+
* valid.
|
|
2767
|
+
* @extends {jspb.Message}
|
|
2768
|
+
* @constructor
|
|
2769
|
+
*/
|
|
2770
|
+
proto.user.PrepareUserKycVerificationResponse = function(opt_data) {
|
|
2771
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2772
|
+
};
|
|
2773
|
+
goog.inherits(proto.user.PrepareUserKycVerificationResponse, jspb.Message);
|
|
2774
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2775
|
+
/**
|
|
2776
|
+
* @public
|
|
2777
|
+
* @override
|
|
2778
|
+
*/
|
|
2779
|
+
proto.user.PrepareUserKycVerificationResponse.displayName = 'proto.user.PrepareUserKycVerificationResponse';
|
|
2780
|
+
}
|
|
2737
2781
|
/**
|
|
2738
2782
|
* Generated by JsPbCodeGenerator.
|
|
2739
2783
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -50134,6 +50178,704 @@ proto.user.UserKycProfileResponse.prototype.hasProviderUpdatedAt = function() {
|
|
|
50134
50178
|
|
|
50135
50179
|
|
|
50136
50180
|
|
|
50181
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50182
|
+
/**
|
|
50183
|
+
* Creates an object representation of this proto.
|
|
50184
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50185
|
+
* Optional fields that are not set will be set to undefined.
|
|
50186
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50187
|
+
* For the list of reserved names please see:
|
|
50188
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50189
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50190
|
+
* JSPB instance for transitional soy proto support:
|
|
50191
|
+
* http://goto/soy-param-migration
|
|
50192
|
+
* @return {!Object}
|
|
50193
|
+
*/
|
|
50194
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
50195
|
+
return proto.user.PrepareUserKycVerificationRequest.toObject(opt_includeInstance, this);
|
|
50196
|
+
};
|
|
50197
|
+
|
|
50198
|
+
|
|
50199
|
+
/**
|
|
50200
|
+
* Static version of the {@see toObject} method.
|
|
50201
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50202
|
+
* the JSPB instance for transitional soy proto support:
|
|
50203
|
+
* http://goto/soy-param-migration
|
|
50204
|
+
* @param {!proto.user.PrepareUserKycVerificationRequest} msg The msg instance to transform.
|
|
50205
|
+
* @return {!Object}
|
|
50206
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50207
|
+
*/
|
|
50208
|
+
proto.user.PrepareUserKycVerificationRequest.toObject = function(includeInstance, msg) {
|
|
50209
|
+
var f, obj = {
|
|
50210
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
50211
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
50212
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
50213
|
+
flow: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
50214
|
+
correlationId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
50215
|
+
ip: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
50216
|
+
};
|
|
50217
|
+
|
|
50218
|
+
if (includeInstance) {
|
|
50219
|
+
obj.$jspbMessageInstance = msg;
|
|
50220
|
+
}
|
|
50221
|
+
return obj;
|
|
50222
|
+
};
|
|
50223
|
+
}
|
|
50224
|
+
|
|
50225
|
+
|
|
50226
|
+
/**
|
|
50227
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50228
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50229
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest}
|
|
50230
|
+
*/
|
|
50231
|
+
proto.user.PrepareUserKycVerificationRequest.deserializeBinary = function(bytes) {
|
|
50232
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50233
|
+
var msg = new proto.user.PrepareUserKycVerificationRequest;
|
|
50234
|
+
return proto.user.PrepareUserKycVerificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
50235
|
+
};
|
|
50236
|
+
|
|
50237
|
+
|
|
50238
|
+
/**
|
|
50239
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50240
|
+
* given reader into the given message object.
|
|
50241
|
+
* @param {!proto.user.PrepareUserKycVerificationRequest} msg The message object to deserialize into.
|
|
50242
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50243
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest}
|
|
50244
|
+
*/
|
|
50245
|
+
proto.user.PrepareUserKycVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
50246
|
+
while (reader.nextField()) {
|
|
50247
|
+
if (reader.isEndGroup()) {
|
|
50248
|
+
break;
|
|
50249
|
+
}
|
|
50250
|
+
var field = reader.getFieldNumber();
|
|
50251
|
+
switch (field) {
|
|
50252
|
+
case 1:
|
|
50253
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
50254
|
+
msg.setUserId(value);
|
|
50255
|
+
break;
|
|
50256
|
+
case 2:
|
|
50257
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50258
|
+
msg.setUserPublicId(value);
|
|
50259
|
+
break;
|
|
50260
|
+
case 3:
|
|
50261
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50262
|
+
msg.setPurpose(value);
|
|
50263
|
+
break;
|
|
50264
|
+
case 4:
|
|
50265
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50266
|
+
msg.setFlow(value);
|
|
50267
|
+
break;
|
|
50268
|
+
case 5:
|
|
50269
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50270
|
+
msg.setCorrelationId(value);
|
|
50271
|
+
break;
|
|
50272
|
+
case 6:
|
|
50273
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50274
|
+
msg.setIp(value);
|
|
50275
|
+
break;
|
|
50276
|
+
default:
|
|
50277
|
+
reader.skipField();
|
|
50278
|
+
break;
|
|
50279
|
+
}
|
|
50280
|
+
}
|
|
50281
|
+
return msg;
|
|
50282
|
+
};
|
|
50283
|
+
|
|
50284
|
+
|
|
50285
|
+
/**
|
|
50286
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50287
|
+
* @return {!Uint8Array}
|
|
50288
|
+
*/
|
|
50289
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.serializeBinary = function() {
|
|
50290
|
+
var writer = new jspb.BinaryWriter();
|
|
50291
|
+
proto.user.PrepareUserKycVerificationRequest.serializeBinaryToWriter(this, writer);
|
|
50292
|
+
return writer.getResultBuffer();
|
|
50293
|
+
};
|
|
50294
|
+
|
|
50295
|
+
|
|
50296
|
+
/**
|
|
50297
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50298
|
+
* format), writing to the given BinaryWriter.
|
|
50299
|
+
* @param {!proto.user.PrepareUserKycVerificationRequest} message
|
|
50300
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50301
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50302
|
+
*/
|
|
50303
|
+
proto.user.PrepareUserKycVerificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
50304
|
+
var f = undefined;
|
|
50305
|
+
f = message.getUserId();
|
|
50306
|
+
if (f !== 0) {
|
|
50307
|
+
writer.writeInt32(
|
|
50308
|
+
1,
|
|
50309
|
+
f
|
|
50310
|
+
);
|
|
50311
|
+
}
|
|
50312
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
50313
|
+
if (f != null) {
|
|
50314
|
+
writer.writeString(
|
|
50315
|
+
2,
|
|
50316
|
+
f
|
|
50317
|
+
);
|
|
50318
|
+
}
|
|
50319
|
+
f = message.getPurpose();
|
|
50320
|
+
if (f.length > 0) {
|
|
50321
|
+
writer.writeString(
|
|
50322
|
+
3,
|
|
50323
|
+
f
|
|
50324
|
+
);
|
|
50325
|
+
}
|
|
50326
|
+
f = message.getFlow();
|
|
50327
|
+
if (f.length > 0) {
|
|
50328
|
+
writer.writeString(
|
|
50329
|
+
4,
|
|
50330
|
+
f
|
|
50331
|
+
);
|
|
50332
|
+
}
|
|
50333
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
50334
|
+
if (f != null) {
|
|
50335
|
+
writer.writeString(
|
|
50336
|
+
5,
|
|
50337
|
+
f
|
|
50338
|
+
);
|
|
50339
|
+
}
|
|
50340
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
50341
|
+
if (f != null) {
|
|
50342
|
+
writer.writeString(
|
|
50343
|
+
6,
|
|
50344
|
+
f
|
|
50345
|
+
);
|
|
50346
|
+
}
|
|
50347
|
+
};
|
|
50348
|
+
|
|
50349
|
+
|
|
50350
|
+
/**
|
|
50351
|
+
* optional int32 user_id = 1;
|
|
50352
|
+
* @return {number}
|
|
50353
|
+
*/
|
|
50354
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.getUserId = function() {
|
|
50355
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
50356
|
+
};
|
|
50357
|
+
|
|
50358
|
+
|
|
50359
|
+
/**
|
|
50360
|
+
* @param {number} value
|
|
50361
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50362
|
+
*/
|
|
50363
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.setUserId = function(value) {
|
|
50364
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
50365
|
+
};
|
|
50366
|
+
|
|
50367
|
+
|
|
50368
|
+
/**
|
|
50369
|
+
* optional string user_public_id = 2;
|
|
50370
|
+
* @return {string}
|
|
50371
|
+
*/
|
|
50372
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.getUserPublicId = function() {
|
|
50373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
50374
|
+
};
|
|
50375
|
+
|
|
50376
|
+
|
|
50377
|
+
/**
|
|
50378
|
+
* @param {string} value
|
|
50379
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50380
|
+
*/
|
|
50381
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.setUserPublicId = function(value) {
|
|
50382
|
+
return jspb.Message.setField(this, 2, value);
|
|
50383
|
+
};
|
|
50384
|
+
|
|
50385
|
+
|
|
50386
|
+
/**
|
|
50387
|
+
* Clears the field making it undefined.
|
|
50388
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50389
|
+
*/
|
|
50390
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.clearUserPublicId = function() {
|
|
50391
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
50392
|
+
};
|
|
50393
|
+
|
|
50394
|
+
|
|
50395
|
+
/**
|
|
50396
|
+
* Returns whether this field is set.
|
|
50397
|
+
* @return {boolean}
|
|
50398
|
+
*/
|
|
50399
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.hasUserPublicId = function() {
|
|
50400
|
+
return jspb.Message.getField(this, 2) != null;
|
|
50401
|
+
};
|
|
50402
|
+
|
|
50403
|
+
|
|
50404
|
+
/**
|
|
50405
|
+
* optional string purpose = 3;
|
|
50406
|
+
* @return {string}
|
|
50407
|
+
*/
|
|
50408
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.getPurpose = function() {
|
|
50409
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
50410
|
+
};
|
|
50411
|
+
|
|
50412
|
+
|
|
50413
|
+
/**
|
|
50414
|
+
* @param {string} value
|
|
50415
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50416
|
+
*/
|
|
50417
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.setPurpose = function(value) {
|
|
50418
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
50419
|
+
};
|
|
50420
|
+
|
|
50421
|
+
|
|
50422
|
+
/**
|
|
50423
|
+
* optional string flow = 4;
|
|
50424
|
+
* @return {string}
|
|
50425
|
+
*/
|
|
50426
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.getFlow = function() {
|
|
50427
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
50428
|
+
};
|
|
50429
|
+
|
|
50430
|
+
|
|
50431
|
+
/**
|
|
50432
|
+
* @param {string} value
|
|
50433
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50434
|
+
*/
|
|
50435
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.setFlow = function(value) {
|
|
50436
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
50437
|
+
};
|
|
50438
|
+
|
|
50439
|
+
|
|
50440
|
+
/**
|
|
50441
|
+
* optional string correlation_id = 5;
|
|
50442
|
+
* @return {string}
|
|
50443
|
+
*/
|
|
50444
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.getCorrelationId = function() {
|
|
50445
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
50446
|
+
};
|
|
50447
|
+
|
|
50448
|
+
|
|
50449
|
+
/**
|
|
50450
|
+
* @param {string} value
|
|
50451
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50452
|
+
*/
|
|
50453
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.setCorrelationId = function(value) {
|
|
50454
|
+
return jspb.Message.setField(this, 5, value);
|
|
50455
|
+
};
|
|
50456
|
+
|
|
50457
|
+
|
|
50458
|
+
/**
|
|
50459
|
+
* Clears the field making it undefined.
|
|
50460
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50461
|
+
*/
|
|
50462
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.clearCorrelationId = function() {
|
|
50463
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
50464
|
+
};
|
|
50465
|
+
|
|
50466
|
+
|
|
50467
|
+
/**
|
|
50468
|
+
* Returns whether this field is set.
|
|
50469
|
+
* @return {boolean}
|
|
50470
|
+
*/
|
|
50471
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.hasCorrelationId = function() {
|
|
50472
|
+
return jspb.Message.getField(this, 5) != null;
|
|
50473
|
+
};
|
|
50474
|
+
|
|
50475
|
+
|
|
50476
|
+
/**
|
|
50477
|
+
* optional string ip = 6;
|
|
50478
|
+
* @return {string}
|
|
50479
|
+
*/
|
|
50480
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.getIp = function() {
|
|
50481
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
50482
|
+
};
|
|
50483
|
+
|
|
50484
|
+
|
|
50485
|
+
/**
|
|
50486
|
+
* @param {string} value
|
|
50487
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50488
|
+
*/
|
|
50489
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.setIp = function(value) {
|
|
50490
|
+
return jspb.Message.setField(this, 6, value);
|
|
50491
|
+
};
|
|
50492
|
+
|
|
50493
|
+
|
|
50494
|
+
/**
|
|
50495
|
+
* Clears the field making it undefined.
|
|
50496
|
+
* @return {!proto.user.PrepareUserKycVerificationRequest} returns this
|
|
50497
|
+
*/
|
|
50498
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.clearIp = function() {
|
|
50499
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
50500
|
+
};
|
|
50501
|
+
|
|
50502
|
+
|
|
50503
|
+
/**
|
|
50504
|
+
* Returns whether this field is set.
|
|
50505
|
+
* @return {boolean}
|
|
50506
|
+
*/
|
|
50507
|
+
proto.user.PrepareUserKycVerificationRequest.prototype.hasIp = function() {
|
|
50508
|
+
return jspb.Message.getField(this, 6) != null;
|
|
50509
|
+
};
|
|
50510
|
+
|
|
50511
|
+
|
|
50512
|
+
|
|
50513
|
+
|
|
50514
|
+
|
|
50515
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50516
|
+
/**
|
|
50517
|
+
* Creates an object representation of this proto.
|
|
50518
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50519
|
+
* Optional fields that are not set will be set to undefined.
|
|
50520
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50521
|
+
* For the list of reserved names please see:
|
|
50522
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50523
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50524
|
+
* JSPB instance for transitional soy proto support:
|
|
50525
|
+
* http://goto/soy-param-migration
|
|
50526
|
+
* @return {!Object}
|
|
50527
|
+
*/
|
|
50528
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
50529
|
+
return proto.user.PrepareUserKycVerificationResponse.toObject(opt_includeInstance, this);
|
|
50530
|
+
};
|
|
50531
|
+
|
|
50532
|
+
|
|
50533
|
+
/**
|
|
50534
|
+
* Static version of the {@see toObject} method.
|
|
50535
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50536
|
+
* the JSPB instance for transitional soy proto support:
|
|
50537
|
+
* http://goto/soy-param-migration
|
|
50538
|
+
* @param {!proto.user.PrepareUserKycVerificationResponse} msg The msg instance to transform.
|
|
50539
|
+
* @return {!Object}
|
|
50540
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50541
|
+
*/
|
|
50542
|
+
proto.user.PrepareUserKycVerificationResponse.toObject = function(includeInstance, msg) {
|
|
50543
|
+
var f, obj = {
|
|
50544
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
50545
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
50546
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
50547
|
+
flow: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
50548
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
50549
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
50550
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
50551
|
+
};
|
|
50552
|
+
|
|
50553
|
+
if (includeInstance) {
|
|
50554
|
+
obj.$jspbMessageInstance = msg;
|
|
50555
|
+
}
|
|
50556
|
+
return obj;
|
|
50557
|
+
};
|
|
50558
|
+
}
|
|
50559
|
+
|
|
50560
|
+
|
|
50561
|
+
/**
|
|
50562
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50563
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50564
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse}
|
|
50565
|
+
*/
|
|
50566
|
+
proto.user.PrepareUserKycVerificationResponse.deserializeBinary = function(bytes) {
|
|
50567
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50568
|
+
var msg = new proto.user.PrepareUserKycVerificationResponse;
|
|
50569
|
+
return proto.user.PrepareUserKycVerificationResponse.deserializeBinaryFromReader(msg, reader);
|
|
50570
|
+
};
|
|
50571
|
+
|
|
50572
|
+
|
|
50573
|
+
/**
|
|
50574
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50575
|
+
* given reader into the given message object.
|
|
50576
|
+
* @param {!proto.user.PrepareUserKycVerificationResponse} msg The message object to deserialize into.
|
|
50577
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50578
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse}
|
|
50579
|
+
*/
|
|
50580
|
+
proto.user.PrepareUserKycVerificationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
50581
|
+
while (reader.nextField()) {
|
|
50582
|
+
if (reader.isEndGroup()) {
|
|
50583
|
+
break;
|
|
50584
|
+
}
|
|
50585
|
+
var field = reader.getFieldNumber();
|
|
50586
|
+
switch (field) {
|
|
50587
|
+
case 1:
|
|
50588
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
50589
|
+
msg.setUserId(value);
|
|
50590
|
+
break;
|
|
50591
|
+
case 2:
|
|
50592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50593
|
+
msg.setUserPublicId(value);
|
|
50594
|
+
break;
|
|
50595
|
+
case 3:
|
|
50596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50597
|
+
msg.setPurpose(value);
|
|
50598
|
+
break;
|
|
50599
|
+
case 4:
|
|
50600
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50601
|
+
msg.setFlow(value);
|
|
50602
|
+
break;
|
|
50603
|
+
case 5:
|
|
50604
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50605
|
+
msg.setStatus(value);
|
|
50606
|
+
break;
|
|
50607
|
+
case 6:
|
|
50608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50609
|
+
msg.setCreatedAt(value);
|
|
50610
|
+
break;
|
|
50611
|
+
case 7:
|
|
50612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50613
|
+
msg.setUpdatedAt(value);
|
|
50614
|
+
break;
|
|
50615
|
+
default:
|
|
50616
|
+
reader.skipField();
|
|
50617
|
+
break;
|
|
50618
|
+
}
|
|
50619
|
+
}
|
|
50620
|
+
return msg;
|
|
50621
|
+
};
|
|
50622
|
+
|
|
50623
|
+
|
|
50624
|
+
/**
|
|
50625
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50626
|
+
* @return {!Uint8Array}
|
|
50627
|
+
*/
|
|
50628
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.serializeBinary = function() {
|
|
50629
|
+
var writer = new jspb.BinaryWriter();
|
|
50630
|
+
proto.user.PrepareUserKycVerificationResponse.serializeBinaryToWriter(this, writer);
|
|
50631
|
+
return writer.getResultBuffer();
|
|
50632
|
+
};
|
|
50633
|
+
|
|
50634
|
+
|
|
50635
|
+
/**
|
|
50636
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50637
|
+
* format), writing to the given BinaryWriter.
|
|
50638
|
+
* @param {!proto.user.PrepareUserKycVerificationResponse} message
|
|
50639
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50640
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50641
|
+
*/
|
|
50642
|
+
proto.user.PrepareUserKycVerificationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
50643
|
+
var f = undefined;
|
|
50644
|
+
f = message.getUserId();
|
|
50645
|
+
if (f !== 0) {
|
|
50646
|
+
writer.writeInt32(
|
|
50647
|
+
1,
|
|
50648
|
+
f
|
|
50649
|
+
);
|
|
50650
|
+
}
|
|
50651
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
50652
|
+
if (f != null) {
|
|
50653
|
+
writer.writeString(
|
|
50654
|
+
2,
|
|
50655
|
+
f
|
|
50656
|
+
);
|
|
50657
|
+
}
|
|
50658
|
+
f = message.getPurpose();
|
|
50659
|
+
if (f.length > 0) {
|
|
50660
|
+
writer.writeString(
|
|
50661
|
+
3,
|
|
50662
|
+
f
|
|
50663
|
+
);
|
|
50664
|
+
}
|
|
50665
|
+
f = message.getFlow();
|
|
50666
|
+
if (f.length > 0) {
|
|
50667
|
+
writer.writeString(
|
|
50668
|
+
4,
|
|
50669
|
+
f
|
|
50670
|
+
);
|
|
50671
|
+
}
|
|
50672
|
+
f = message.getStatus();
|
|
50673
|
+
if (f.length > 0) {
|
|
50674
|
+
writer.writeString(
|
|
50675
|
+
5,
|
|
50676
|
+
f
|
|
50677
|
+
);
|
|
50678
|
+
}
|
|
50679
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
50680
|
+
if (f != null) {
|
|
50681
|
+
writer.writeString(
|
|
50682
|
+
6,
|
|
50683
|
+
f
|
|
50684
|
+
);
|
|
50685
|
+
}
|
|
50686
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
50687
|
+
if (f != null) {
|
|
50688
|
+
writer.writeString(
|
|
50689
|
+
7,
|
|
50690
|
+
f
|
|
50691
|
+
);
|
|
50692
|
+
}
|
|
50693
|
+
};
|
|
50694
|
+
|
|
50695
|
+
|
|
50696
|
+
/**
|
|
50697
|
+
* optional int32 user_id = 1;
|
|
50698
|
+
* @return {number}
|
|
50699
|
+
*/
|
|
50700
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getUserId = function() {
|
|
50701
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
50702
|
+
};
|
|
50703
|
+
|
|
50704
|
+
|
|
50705
|
+
/**
|
|
50706
|
+
* @param {number} value
|
|
50707
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50708
|
+
*/
|
|
50709
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setUserId = function(value) {
|
|
50710
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
50711
|
+
};
|
|
50712
|
+
|
|
50713
|
+
|
|
50714
|
+
/**
|
|
50715
|
+
* optional string user_public_id = 2;
|
|
50716
|
+
* @return {string}
|
|
50717
|
+
*/
|
|
50718
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getUserPublicId = function() {
|
|
50719
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
50720
|
+
};
|
|
50721
|
+
|
|
50722
|
+
|
|
50723
|
+
/**
|
|
50724
|
+
* @param {string} value
|
|
50725
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50726
|
+
*/
|
|
50727
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setUserPublicId = function(value) {
|
|
50728
|
+
return jspb.Message.setField(this, 2, value);
|
|
50729
|
+
};
|
|
50730
|
+
|
|
50731
|
+
|
|
50732
|
+
/**
|
|
50733
|
+
* Clears the field making it undefined.
|
|
50734
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50735
|
+
*/
|
|
50736
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.clearUserPublicId = function() {
|
|
50737
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
50738
|
+
};
|
|
50739
|
+
|
|
50740
|
+
|
|
50741
|
+
/**
|
|
50742
|
+
* Returns whether this field is set.
|
|
50743
|
+
* @return {boolean}
|
|
50744
|
+
*/
|
|
50745
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.hasUserPublicId = function() {
|
|
50746
|
+
return jspb.Message.getField(this, 2) != null;
|
|
50747
|
+
};
|
|
50748
|
+
|
|
50749
|
+
|
|
50750
|
+
/**
|
|
50751
|
+
* optional string purpose = 3;
|
|
50752
|
+
* @return {string}
|
|
50753
|
+
*/
|
|
50754
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getPurpose = function() {
|
|
50755
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
50756
|
+
};
|
|
50757
|
+
|
|
50758
|
+
|
|
50759
|
+
/**
|
|
50760
|
+
* @param {string} value
|
|
50761
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50762
|
+
*/
|
|
50763
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setPurpose = function(value) {
|
|
50764
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
50765
|
+
};
|
|
50766
|
+
|
|
50767
|
+
|
|
50768
|
+
/**
|
|
50769
|
+
* optional string flow = 4;
|
|
50770
|
+
* @return {string}
|
|
50771
|
+
*/
|
|
50772
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getFlow = function() {
|
|
50773
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
50774
|
+
};
|
|
50775
|
+
|
|
50776
|
+
|
|
50777
|
+
/**
|
|
50778
|
+
* @param {string} value
|
|
50779
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50780
|
+
*/
|
|
50781
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setFlow = function(value) {
|
|
50782
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
50783
|
+
};
|
|
50784
|
+
|
|
50785
|
+
|
|
50786
|
+
/**
|
|
50787
|
+
* optional string status = 5;
|
|
50788
|
+
* @return {string}
|
|
50789
|
+
*/
|
|
50790
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getStatus = function() {
|
|
50791
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
50792
|
+
};
|
|
50793
|
+
|
|
50794
|
+
|
|
50795
|
+
/**
|
|
50796
|
+
* @param {string} value
|
|
50797
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50798
|
+
*/
|
|
50799
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setStatus = function(value) {
|
|
50800
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
50801
|
+
};
|
|
50802
|
+
|
|
50803
|
+
|
|
50804
|
+
/**
|
|
50805
|
+
* optional string created_at = 6;
|
|
50806
|
+
* @return {string}
|
|
50807
|
+
*/
|
|
50808
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getCreatedAt = function() {
|
|
50809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
50810
|
+
};
|
|
50811
|
+
|
|
50812
|
+
|
|
50813
|
+
/**
|
|
50814
|
+
* @param {string} value
|
|
50815
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50816
|
+
*/
|
|
50817
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setCreatedAt = function(value) {
|
|
50818
|
+
return jspb.Message.setField(this, 6, value);
|
|
50819
|
+
};
|
|
50820
|
+
|
|
50821
|
+
|
|
50822
|
+
/**
|
|
50823
|
+
* Clears the field making it undefined.
|
|
50824
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50825
|
+
*/
|
|
50826
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.clearCreatedAt = function() {
|
|
50827
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
50828
|
+
};
|
|
50829
|
+
|
|
50830
|
+
|
|
50831
|
+
/**
|
|
50832
|
+
* Returns whether this field is set.
|
|
50833
|
+
* @return {boolean}
|
|
50834
|
+
*/
|
|
50835
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.hasCreatedAt = function() {
|
|
50836
|
+
return jspb.Message.getField(this, 6) != null;
|
|
50837
|
+
};
|
|
50838
|
+
|
|
50839
|
+
|
|
50840
|
+
/**
|
|
50841
|
+
* optional string updated_at = 7;
|
|
50842
|
+
* @return {string}
|
|
50843
|
+
*/
|
|
50844
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.getUpdatedAt = function() {
|
|
50845
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
50846
|
+
};
|
|
50847
|
+
|
|
50848
|
+
|
|
50849
|
+
/**
|
|
50850
|
+
* @param {string} value
|
|
50851
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50852
|
+
*/
|
|
50853
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.setUpdatedAt = function(value) {
|
|
50854
|
+
return jspb.Message.setField(this, 7, value);
|
|
50855
|
+
};
|
|
50856
|
+
|
|
50857
|
+
|
|
50858
|
+
/**
|
|
50859
|
+
* Clears the field making it undefined.
|
|
50860
|
+
* @return {!proto.user.PrepareUserKycVerificationResponse} returns this
|
|
50861
|
+
*/
|
|
50862
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.clearUpdatedAt = function() {
|
|
50863
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
50864
|
+
};
|
|
50865
|
+
|
|
50866
|
+
|
|
50867
|
+
/**
|
|
50868
|
+
* Returns whether this field is set.
|
|
50869
|
+
* @return {boolean}
|
|
50870
|
+
*/
|
|
50871
|
+
proto.user.PrepareUserKycVerificationResponse.prototype.hasUpdatedAt = function() {
|
|
50872
|
+
return jspb.Message.getField(this, 7) != null;
|
|
50873
|
+
};
|
|
50874
|
+
|
|
50875
|
+
|
|
50876
|
+
|
|
50877
|
+
|
|
50878
|
+
|
|
50137
50879
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50138
50880
|
/**
|
|
50139
50881
|
* Creates an object representation of this proto.
|