@sniipwebmaster/user-service-client-grpcweb 21.10.4838 → 21.10.4854
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.
|
@@ -2180,6 +2180,61 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getProfile
|
|
|
2180
2180
|
};
|
|
2181
2181
|
|
|
2182
2182
|
|
|
2183
|
+
/**
|
|
2184
|
+
* @const
|
|
2185
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
2186
|
+
* !proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest,
|
|
2187
|
+
* !proto.sniipuserservice.GetTemporaryAccessTokenResponse>}
|
|
2188
|
+
*/
|
|
2189
|
+
const methodInfo_SniipUserServiceService_GetTempTokenByBillerIdAndBillerRole = new grpc.web.AbstractClientBase.MethodInfo(
|
|
2190
|
+
proto.sniipuserservice.GetTemporaryAccessTokenResponse,
|
|
2191
|
+
/** @param {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} request */
|
|
2192
|
+
function(request) {
|
|
2193
|
+
return request.serializeBinary();
|
|
2194
|
+
},
|
|
2195
|
+
proto.sniipuserservice.GetTemporaryAccessTokenResponse.deserializeBinary
|
|
2196
|
+
);
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* @param {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} request The
|
|
2201
|
+
* request proto
|
|
2202
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2203
|
+
* call metadata
|
|
2204
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.GetTemporaryAccessTokenResponse)}
|
|
2205
|
+
* callback The callback function(error, response)
|
|
2206
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetTemporaryAccessTokenResponse>|undefined}
|
|
2207
|
+
* The XHR Node Readable Stream
|
|
2208
|
+
*/
|
|
2209
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getTempTokenByBillerIdAndBillerRole =
|
|
2210
|
+
function(request, metadata, callback) {
|
|
2211
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2212
|
+
'/sniipuserservice.SniipUserServiceService/GetTempTokenByBillerIdAndBillerRole',
|
|
2213
|
+
request,
|
|
2214
|
+
metadata || {},
|
|
2215
|
+
methodInfo_SniipUserServiceService_GetTempTokenByBillerIdAndBillerRole,
|
|
2216
|
+
callback);
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* @param {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} request The
|
|
2222
|
+
* request proto
|
|
2223
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2224
|
+
* call metadata
|
|
2225
|
+
* @return {!Promise<!proto.sniipuserservice.GetTemporaryAccessTokenResponse>}
|
|
2226
|
+
* A native promise that resolves to the response
|
|
2227
|
+
*/
|
|
2228
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getTempTokenByBillerIdAndBillerRole =
|
|
2229
|
+
function(request, metadata) {
|
|
2230
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2231
|
+
'/sniipuserservice.SniipUserServiceService/GetTempTokenByBillerIdAndBillerRole',
|
|
2232
|
+
request,
|
|
2233
|
+
metadata || {},
|
|
2234
|
+
methodInfo_SniipUserServiceService_GetTempTokenByBillerIdAndBillerRole);
|
|
2235
|
+
};
|
|
2236
|
+
|
|
2237
|
+
|
|
2183
2238
|
/**
|
|
2184
2239
|
* @const
|
|
2185
2240
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -56,6 +56,7 @@ goog.exportSymbol('proto.sniipuserservice.GetKycUsersResponse', null, global);
|
|
|
56
56
|
goog.exportSymbol('proto.sniipuserservice.GetNotificationTokenForTestRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.sniipuserservice.GetNotificationTokensRequest', null, global);
|
|
58
58
|
goog.exportSymbol('proto.sniipuserservice.GetProfileByUserIdRequest', null, global);
|
|
59
|
+
goog.exportSymbol('proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest', null, global);
|
|
59
60
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest', null, global);
|
|
60
61
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenRequest', null, global);
|
|
61
62
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenResponse', null, global);
|
|
@@ -11041,6 +11042,192 @@ proto.sniipuserservice.GetProfileByUserIdRequest.prototype.setUserid = function(
|
|
|
11041
11042
|
|
|
11042
11043
|
|
|
11043
11044
|
|
|
11045
|
+
/**
|
|
11046
|
+
* Generated by JsPbCodeGenerator.
|
|
11047
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
11048
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
11049
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
11050
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
11051
|
+
* valid.
|
|
11052
|
+
* @extends {jspb.Message}
|
|
11053
|
+
* @constructor
|
|
11054
|
+
*/
|
|
11055
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest = function(opt_data) {
|
|
11056
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
11057
|
+
};
|
|
11058
|
+
goog.inherits(proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest, jspb.Message);
|
|
11059
|
+
if (goog.DEBUG && !COMPILED) {
|
|
11060
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.displayName = 'proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest';
|
|
11061
|
+
}
|
|
11062
|
+
|
|
11063
|
+
|
|
11064
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11065
|
+
/**
|
|
11066
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
11067
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11068
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11069
|
+
* For the list of reserved names please see:
|
|
11070
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
11071
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
11072
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
11073
|
+
* @return {!Object}
|
|
11074
|
+
*/
|
|
11075
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11076
|
+
return proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.toObject(opt_includeInstance, this);
|
|
11077
|
+
};
|
|
11078
|
+
|
|
11079
|
+
|
|
11080
|
+
/**
|
|
11081
|
+
* Static version of the {@see toObject} method.
|
|
11082
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
11083
|
+
* instance for transitional soy proto support:
|
|
11084
|
+
* http://goto/soy-param-migration
|
|
11085
|
+
* @param {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} msg The msg instance to transform.
|
|
11086
|
+
* @return {!Object}
|
|
11087
|
+
*/
|
|
11088
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.toObject = function(includeInstance, msg) {
|
|
11089
|
+
var f, obj = {
|
|
11090
|
+
billerid: msg.getBillerid(),
|
|
11091
|
+
billerrole: msg.getBillerrole()
|
|
11092
|
+
};
|
|
11093
|
+
|
|
11094
|
+
if (includeInstance) {
|
|
11095
|
+
obj.$jspbMessageInstance = msg;
|
|
11096
|
+
}
|
|
11097
|
+
return obj;
|
|
11098
|
+
};
|
|
11099
|
+
}
|
|
11100
|
+
|
|
11101
|
+
|
|
11102
|
+
/**
|
|
11103
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11104
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11105
|
+
* @return {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest}
|
|
11106
|
+
*/
|
|
11107
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.deserializeBinary = function(bytes) {
|
|
11108
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11109
|
+
var msg = new proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest;
|
|
11110
|
+
return proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.deserializeBinaryFromReader(msg, reader);
|
|
11111
|
+
};
|
|
11112
|
+
|
|
11113
|
+
|
|
11114
|
+
/**
|
|
11115
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11116
|
+
* given reader into the given message object.
|
|
11117
|
+
* @param {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} msg The message object to deserialize into.
|
|
11118
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11119
|
+
* @return {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest}
|
|
11120
|
+
*/
|
|
11121
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11122
|
+
while (reader.nextField()) {
|
|
11123
|
+
if (reader.isEndGroup()) {
|
|
11124
|
+
break;
|
|
11125
|
+
}
|
|
11126
|
+
var field = reader.getFieldNumber();
|
|
11127
|
+
switch (field) {
|
|
11128
|
+
case 1:
|
|
11129
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11130
|
+
msg.setBillerid(value);
|
|
11131
|
+
break;
|
|
11132
|
+
case 2:
|
|
11133
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11134
|
+
msg.setBillerrole(value);
|
|
11135
|
+
break;
|
|
11136
|
+
default:
|
|
11137
|
+
reader.skipField();
|
|
11138
|
+
break;
|
|
11139
|
+
}
|
|
11140
|
+
}
|
|
11141
|
+
return msg;
|
|
11142
|
+
};
|
|
11143
|
+
|
|
11144
|
+
|
|
11145
|
+
/**
|
|
11146
|
+
* Class method variant: serializes the given message to binary data
|
|
11147
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
11148
|
+
* @param {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} message
|
|
11149
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11150
|
+
*/
|
|
11151
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11152
|
+
message.serializeBinaryToWriter(writer);
|
|
11153
|
+
};
|
|
11154
|
+
|
|
11155
|
+
|
|
11156
|
+
/**
|
|
11157
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11158
|
+
* @return {!Uint8Array}
|
|
11159
|
+
*/
|
|
11160
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.serializeBinary = function() {
|
|
11161
|
+
var writer = new jspb.BinaryWriter();
|
|
11162
|
+
this.serializeBinaryToWriter(writer);
|
|
11163
|
+
return writer.getResultBuffer();
|
|
11164
|
+
};
|
|
11165
|
+
|
|
11166
|
+
|
|
11167
|
+
/**
|
|
11168
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
11169
|
+
* writing to the given BinaryWriter.
|
|
11170
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11171
|
+
*/
|
|
11172
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
11173
|
+
var f = undefined;
|
|
11174
|
+
f = this.getBillerid();
|
|
11175
|
+
if (f !== 0) {
|
|
11176
|
+
writer.writeInt64(
|
|
11177
|
+
1,
|
|
11178
|
+
f
|
|
11179
|
+
);
|
|
11180
|
+
}
|
|
11181
|
+
f = this.getBillerrole();
|
|
11182
|
+
if (f.length > 0) {
|
|
11183
|
+
writer.writeString(
|
|
11184
|
+
2,
|
|
11185
|
+
f
|
|
11186
|
+
);
|
|
11187
|
+
}
|
|
11188
|
+
};
|
|
11189
|
+
|
|
11190
|
+
|
|
11191
|
+
/**
|
|
11192
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
11193
|
+
* @return {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} The clone.
|
|
11194
|
+
*/
|
|
11195
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.cloneMessage = function() {
|
|
11196
|
+
return /** @type {!proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest} */ (jspb.Message.cloneMessage(this));
|
|
11197
|
+
};
|
|
11198
|
+
|
|
11199
|
+
|
|
11200
|
+
/**
|
|
11201
|
+
* optional int64 billerId = 1;
|
|
11202
|
+
* @return {number}
|
|
11203
|
+
*/
|
|
11204
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.getBillerid = function() {
|
|
11205
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
11206
|
+
};
|
|
11207
|
+
|
|
11208
|
+
|
|
11209
|
+
/** @param {number} value */
|
|
11210
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.setBillerid = function(value) {
|
|
11211
|
+
jspb.Message.setField(this, 1, value);
|
|
11212
|
+
};
|
|
11213
|
+
|
|
11214
|
+
|
|
11215
|
+
/**
|
|
11216
|
+
* optional string billerRole = 2;
|
|
11217
|
+
* @return {string}
|
|
11218
|
+
*/
|
|
11219
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.getBillerrole = function() {
|
|
11220
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
11221
|
+
};
|
|
11222
|
+
|
|
11223
|
+
|
|
11224
|
+
/** @param {string} value */
|
|
11225
|
+
proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest.prototype.setBillerrole = function(value) {
|
|
11226
|
+
jspb.Message.setField(this, 2, value);
|
|
11227
|
+
};
|
|
11228
|
+
|
|
11229
|
+
|
|
11230
|
+
|
|
11044
11231
|
/**
|
|
11045
11232
|
* Generated by JsPbCodeGenerator.
|
|
11046
11233
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25759,7 +25946,8 @@ proto.sniipuserservice.UserProfile.toObject = function(includeInstance, msg) {
|
|
|
25759
25946
|
userstatus: msg.getUserstatus(),
|
|
25760
25947
|
isemailverified: msg.getIsemailverified(),
|
|
25761
25948
|
userstatusdesc: msg.getUserstatusdesc(),
|
|
25762
|
-
isdeleted: msg.getIsdeleted()
|
|
25949
|
+
isdeleted: msg.getIsdeleted(),
|
|
25950
|
+
kycuserstatus: msg.getKycuserstatus()
|
|
25763
25951
|
};
|
|
25764
25952
|
|
|
25765
25953
|
if (includeInstance) {
|
|
@@ -25866,6 +26054,10 @@ proto.sniipuserservice.UserProfile.deserializeBinaryFromReader = function(msg, r
|
|
|
25866
26054
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
25867
26055
|
msg.setIsdeleted(value);
|
|
25868
26056
|
break;
|
|
26057
|
+
case 18:
|
|
26058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26059
|
+
msg.setKycuserstatus(value);
|
|
26060
|
+
break;
|
|
25869
26061
|
default:
|
|
25870
26062
|
reader.skipField();
|
|
25871
26063
|
break;
|
|
@@ -26024,6 +26216,13 @@ proto.sniipuserservice.UserProfile.prototype.serializeBinaryToWriter = function
|
|
|
26024
26216
|
f
|
|
26025
26217
|
);
|
|
26026
26218
|
}
|
|
26219
|
+
f = this.getKycuserstatus();
|
|
26220
|
+
if (f.length > 0) {
|
|
26221
|
+
writer.writeString(
|
|
26222
|
+
18,
|
|
26223
|
+
f
|
|
26224
|
+
);
|
|
26225
|
+
}
|
|
26027
26226
|
};
|
|
26028
26227
|
|
|
26029
26228
|
|
|
@@ -26309,6 +26508,21 @@ proto.sniipuserservice.UserProfile.prototype.setIsdeleted = function(value) {
|
|
|
26309
26508
|
};
|
|
26310
26509
|
|
|
26311
26510
|
|
|
26511
|
+
/**
|
|
26512
|
+
* optional string kycUserStatus = 18;
|
|
26513
|
+
* @return {string}
|
|
26514
|
+
*/
|
|
26515
|
+
proto.sniipuserservice.UserProfile.prototype.getKycuserstatus = function() {
|
|
26516
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 18, ""));
|
|
26517
|
+
};
|
|
26518
|
+
|
|
26519
|
+
|
|
26520
|
+
/** @param {string} value */
|
|
26521
|
+
proto.sniipuserservice.UserProfile.prototype.setKycuserstatus = function(value) {
|
|
26522
|
+
jspb.Message.setField(this, 18, value);
|
|
26523
|
+
};
|
|
26524
|
+
|
|
26525
|
+
|
|
26312
26526
|
|
|
26313
26527
|
/**
|
|
26314
26528
|
* Generated by JsPbCodeGenerator.
|