@sniipwebmaster/bill-service-client-grpcweb 23.15.12400 → 23.15.12417

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.
@@ -5034,5 +5034,85 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.deleteWithoutTrace
5034
5034
  };
5035
5035
 
5036
5036
 
5037
+ /**
5038
+ * @const
5039
+ * @type {!grpc.web.MethodDescriptor<
5040
+ * !proto.sniipbillapi.GetBillByBillConfigIdRequest,
5041
+ * !proto.sniipbillapi.SimpleBillResponse>}
5042
+ */
5043
+ const methodDescriptor_SniipBillAPIService_GetBillByBillConfigId = new grpc.web.MethodDescriptor(
5044
+ '/sniipbillapi.SniipBillAPIService/GetBillByBillConfigId',
5045
+ grpc.web.MethodType.UNARY,
5046
+ proto.sniipbillapi.GetBillByBillConfigIdRequest,
5047
+ proto.sniipbillapi.SimpleBillResponse,
5048
+ /**
5049
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} request
5050
+ * @return {!Uint8Array}
5051
+ */
5052
+ function(request) {
5053
+ return request.serializeBinary();
5054
+ },
5055
+ proto.sniipbillapi.SimpleBillResponse.deserializeBinary
5056
+ );
5057
+
5058
+
5059
+ /**
5060
+ * @const
5061
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
5062
+ * !proto.sniipbillapi.GetBillByBillConfigIdRequest,
5063
+ * !proto.sniipbillapi.SimpleBillResponse>}
5064
+ */
5065
+ const methodInfo_SniipBillAPIService_GetBillByBillConfigId = new grpc.web.AbstractClientBase.MethodInfo(
5066
+ proto.sniipbillapi.SimpleBillResponse,
5067
+ /**
5068
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} request
5069
+ * @return {!Uint8Array}
5070
+ */
5071
+ function(request) {
5072
+ return request.serializeBinary();
5073
+ },
5074
+ proto.sniipbillapi.SimpleBillResponse.deserializeBinary
5075
+ );
5076
+
5077
+
5078
+ /**
5079
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} request The
5080
+ * request proto
5081
+ * @param {?Object<string, string>} metadata User defined
5082
+ * call metadata
5083
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.SimpleBillResponse)}
5084
+ * callback The callback function(error, response)
5085
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.SimpleBillResponse>|undefined}
5086
+ * The XHR Node Readable Stream
5087
+ */
5088
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getBillByBillConfigId =
5089
+ function(request, metadata, callback) {
5090
+ return this.client_.rpcCall(this.hostname_ +
5091
+ '/sniipbillapi.SniipBillAPIService/GetBillByBillConfigId',
5092
+ request,
5093
+ metadata || {},
5094
+ methodDescriptor_SniipBillAPIService_GetBillByBillConfigId,
5095
+ callback);
5096
+ };
5097
+
5098
+
5099
+ /**
5100
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} request The
5101
+ * request proto
5102
+ * @param {?Object<string, string>} metadata User defined
5103
+ * call metadata
5104
+ * @return {!Promise<!proto.sniipbillapi.SimpleBillResponse>}
5105
+ * Promise that resolves to the response
5106
+ */
5107
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getBillByBillConfigId =
5108
+ function(request, metadata) {
5109
+ return this.client_.unaryCall(this.hostname_ +
5110
+ '/sniipbillapi.SniipBillAPIService/GetBillByBillConfigId',
5111
+ request,
5112
+ metadata || {},
5113
+ methodDescriptor_SniipBillAPIService_GetBillByBillConfigId);
5114
+ };
5115
+
5116
+
5037
5117
  module.exports = proto.sniipbillapi;
5038
5118
 
@@ -81,6 +81,7 @@ goog.exportSymbol('proto.sniipbillapi.FirstUserForBillersRequest', null, global)
81
81
  goog.exportSymbol('proto.sniipbillapi.FirstUserForBillersResponse', null, global);
82
82
  goog.exportSymbol('proto.sniipbillapi.GetBadgeCountRequest', null, global);
83
83
  goog.exportSymbol('proto.sniipbillapi.GetBillAttachmentsByBillConfigIdsRequest', null, global);
84
+ goog.exportSymbol('proto.sniipbillapi.GetBillByBillConfigIdRequest', null, global);
84
85
  goog.exportSymbol('proto.sniipbillapi.GetBillConfigsByBillIdsRequest', null, global);
85
86
  goog.exportSymbol('proto.sniipbillapi.GetBillDetailsRequest', null, global);
86
87
  goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null, global);
@@ -3104,6 +3105,27 @@ if (goog.DEBUG && !COMPILED) {
3104
3105
  */
3105
3106
  proto.sniipbillapi.GetNextEligibleBillerConfigOwnerResponse.displayName = 'proto.sniipbillapi.GetNextEligibleBillerConfigOwnerResponse';
3106
3107
  }
3108
+ /**
3109
+ * Generated by JsPbCodeGenerator.
3110
+ * @param {Array=} opt_data Optional initial data array, typically from a
3111
+ * server response, or constructed directly in Javascript. The array is used
3112
+ * in place and becomes part of the constructed object. It is not cloned.
3113
+ * If no data is provided, the constructed object will be empty, but still
3114
+ * valid.
3115
+ * @extends {jspb.Message}
3116
+ * @constructor
3117
+ */
3118
+ proto.sniipbillapi.GetBillByBillConfigIdRequest = function(opt_data) {
3119
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3120
+ };
3121
+ goog.inherits(proto.sniipbillapi.GetBillByBillConfigIdRequest, jspb.Message);
3122
+ if (goog.DEBUG && !COMPILED) {
3123
+ /**
3124
+ * @public
3125
+ * @override
3126
+ */
3127
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.displayName = 'proto.sniipbillapi.GetBillByBillConfigIdRequest';
3128
+ }
3107
3129
 
3108
3130
 
3109
3131
 
@@ -39066,6 +39088,136 @@ proto.sniipbillapi.GetNextEligibleBillerConfigOwnerResponse.prototype.setNextown
39066
39088
  };
39067
39089
 
39068
39090
 
39091
+
39092
+
39093
+
39094
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39095
+ /**
39096
+ * Creates an object representation of this proto.
39097
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39098
+ * Optional fields that are not set will be set to undefined.
39099
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39100
+ * For the list of reserved names please see:
39101
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39102
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39103
+ * JSPB instance for transitional soy proto support:
39104
+ * http://goto/soy-param-migration
39105
+ * @return {!Object}
39106
+ */
39107
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.prototype.toObject = function(opt_includeInstance) {
39108
+ return proto.sniipbillapi.GetBillByBillConfigIdRequest.toObject(opt_includeInstance, this);
39109
+ };
39110
+
39111
+
39112
+ /**
39113
+ * Static version of the {@see toObject} method.
39114
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39115
+ * the JSPB instance for transitional soy proto support:
39116
+ * http://goto/soy-param-migration
39117
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} msg The msg instance to transform.
39118
+ * @return {!Object}
39119
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39120
+ */
39121
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.toObject = function(includeInstance, msg) {
39122
+ var f, obj = {
39123
+ billconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0)
39124
+ };
39125
+
39126
+ if (includeInstance) {
39127
+ obj.$jspbMessageInstance = msg;
39128
+ }
39129
+ return obj;
39130
+ };
39131
+ }
39132
+
39133
+
39134
+ /**
39135
+ * Deserializes binary data (in protobuf wire format).
39136
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
39137
+ * @return {!proto.sniipbillapi.GetBillByBillConfigIdRequest}
39138
+ */
39139
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.deserializeBinary = function(bytes) {
39140
+ var reader = new jspb.BinaryReader(bytes);
39141
+ var msg = new proto.sniipbillapi.GetBillByBillConfigIdRequest;
39142
+ return proto.sniipbillapi.GetBillByBillConfigIdRequest.deserializeBinaryFromReader(msg, reader);
39143
+ };
39144
+
39145
+
39146
+ /**
39147
+ * Deserializes binary data (in protobuf wire format) from the
39148
+ * given reader into the given message object.
39149
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} msg The message object to deserialize into.
39150
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39151
+ * @return {!proto.sniipbillapi.GetBillByBillConfigIdRequest}
39152
+ */
39153
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.deserializeBinaryFromReader = function(msg, reader) {
39154
+ while (reader.nextField()) {
39155
+ if (reader.isEndGroup()) {
39156
+ break;
39157
+ }
39158
+ var field = reader.getFieldNumber();
39159
+ switch (field) {
39160
+ case 1:
39161
+ var value = /** @type {number} */ (reader.readInt64());
39162
+ msg.setBillconfigid(value);
39163
+ break;
39164
+ default:
39165
+ reader.skipField();
39166
+ break;
39167
+ }
39168
+ }
39169
+ return msg;
39170
+ };
39171
+
39172
+
39173
+ /**
39174
+ * Serializes the message to binary data (in protobuf wire format).
39175
+ * @return {!Uint8Array}
39176
+ */
39177
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.prototype.serializeBinary = function() {
39178
+ var writer = new jspb.BinaryWriter();
39179
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.serializeBinaryToWriter(this, writer);
39180
+ return writer.getResultBuffer();
39181
+ };
39182
+
39183
+
39184
+ /**
39185
+ * Serializes the given message to binary data (in protobuf wire
39186
+ * format), writing to the given BinaryWriter.
39187
+ * @param {!proto.sniipbillapi.GetBillByBillConfigIdRequest} message
39188
+ * @param {!jspb.BinaryWriter} writer
39189
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39190
+ */
39191
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.serializeBinaryToWriter = function(message, writer) {
39192
+ var f = undefined;
39193
+ f = message.getBillconfigid();
39194
+ if (f !== 0) {
39195
+ writer.writeInt64(
39196
+ 1,
39197
+ f
39198
+ );
39199
+ }
39200
+ };
39201
+
39202
+
39203
+ /**
39204
+ * optional int64 billConfigId = 1;
39205
+ * @return {number}
39206
+ */
39207
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.prototype.getBillconfigid = function() {
39208
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
39209
+ };
39210
+
39211
+
39212
+ /**
39213
+ * @param {number} value
39214
+ * @return {!proto.sniipbillapi.GetBillByBillConfigIdRequest} returns this
39215
+ */
39216
+ proto.sniipbillapi.GetBillByBillConfigIdRequest.prototype.setBillconfigid = function(value) {
39217
+ return jspb.Message.setProto3IntField(this, 1, value);
39218
+ };
39219
+
39220
+
39069
39221
  /**
39070
39222
  * @enum {number}
39071
39223
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "23.15.12400",
3
+ "version": "23.15.12417",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",