@sniipwebmaster/bill-service-client-grpcweb 23.4.11245 → 23.4.11281

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.
@@ -1274,6 +1274,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getBillAttachments
1274
1274
  };
1275
1275
 
1276
1276
 
1277
+ /**
1278
+ * @const
1279
+ * @type {!grpc.web.MethodDescriptor<
1280
+ * !proto.sniipbillapi.GetBillConfigsByBillIdsRequest,
1281
+ * !proto.sniipbillapi.BillConfigsResponse>}
1282
+ */
1283
+ const methodDescriptor_SniipBillAPIService_GetBillConfigsByBillIds = new grpc.web.MethodDescriptor(
1284
+ '/sniipbillapi.SniipBillAPIService/GetBillConfigsByBillIds',
1285
+ grpc.web.MethodType.UNARY,
1286
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest,
1287
+ proto.sniipbillapi.BillConfigsResponse,
1288
+ /**
1289
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} request
1290
+ * @return {!Uint8Array}
1291
+ */
1292
+ function(request) {
1293
+ return request.serializeBinary();
1294
+ },
1295
+ proto.sniipbillapi.BillConfigsResponse.deserializeBinary
1296
+ );
1297
+
1298
+
1299
+ /**
1300
+ * @const
1301
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1302
+ * !proto.sniipbillapi.GetBillConfigsByBillIdsRequest,
1303
+ * !proto.sniipbillapi.BillConfigsResponse>}
1304
+ */
1305
+ const methodInfo_SniipBillAPIService_GetBillConfigsByBillIds = new grpc.web.AbstractClientBase.MethodInfo(
1306
+ proto.sniipbillapi.BillConfigsResponse,
1307
+ /**
1308
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} request
1309
+ * @return {!Uint8Array}
1310
+ */
1311
+ function(request) {
1312
+ return request.serializeBinary();
1313
+ },
1314
+ proto.sniipbillapi.BillConfigsResponse.deserializeBinary
1315
+ );
1316
+
1317
+
1318
+ /**
1319
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} request The
1320
+ * request proto
1321
+ * @param {?Object<string, string>} metadata User defined
1322
+ * call metadata
1323
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.BillConfigsResponse)}
1324
+ * callback The callback function(error, response)
1325
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.BillConfigsResponse>|undefined}
1326
+ * The XHR Node Readable Stream
1327
+ */
1328
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getBillConfigsByBillIds =
1329
+ function(request, metadata, callback) {
1330
+ return this.client_.rpcCall(this.hostname_ +
1331
+ '/sniipbillapi.SniipBillAPIService/GetBillConfigsByBillIds',
1332
+ request,
1333
+ metadata || {},
1334
+ methodDescriptor_SniipBillAPIService_GetBillConfigsByBillIds,
1335
+ callback);
1336
+ };
1337
+
1338
+
1339
+ /**
1340
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} request The
1341
+ * request proto
1342
+ * @param {?Object<string, string>} metadata User defined
1343
+ * call metadata
1344
+ * @return {!Promise<!proto.sniipbillapi.BillConfigsResponse>}
1345
+ * Promise that resolves to the response
1346
+ */
1347
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getBillConfigsByBillIds =
1348
+ function(request, metadata) {
1349
+ return this.client_.unaryCall(this.hostname_ +
1350
+ '/sniipbillapi.SniipBillAPIService/GetBillConfigsByBillIds',
1351
+ request,
1352
+ metadata || {},
1353
+ methodDescriptor_SniipBillAPIService_GetBillConfigsByBillIds);
1354
+ };
1355
+
1356
+
1277
1357
  /**
1278
1358
  * @const
1279
1359
  * @type {!grpc.web.MethodDescriptor<
@@ -20,6 +20,8 @@ goog.exportSymbol('proto.sniipbillapi.BadgeCountResponse', null, global);
20
20
  goog.exportSymbol('proto.sniipbillapi.BillAttachments', null, global);
21
21
  goog.exportSymbol('proto.sniipbillapi.BillBillInternalRequest', null, global);
22
22
  goog.exportSymbol('proto.sniipbillapi.BillConfig', null, global);
23
+ goog.exportSymbol('proto.sniipbillapi.BillConfigsByBillIdsRequest', null, global);
24
+ goog.exportSymbol('proto.sniipbillapi.BillConfigsResponse', null, global);
23
25
  goog.exportSymbol('proto.sniipbillapi.BillCreateRequest', null, global);
24
26
  goog.exportSymbol('proto.sniipbillapi.BillCreateRequestV2', null, global);
25
27
  goog.exportSymbol('proto.sniipbillapi.BillCreateResponse', null, global);
@@ -71,6 +73,7 @@ goog.exportSymbol('proto.sniipbillapi.FirstUserForBillersRequest', null, global)
71
73
  goog.exportSymbol('proto.sniipbillapi.FirstUserForBillersResponse', null, global);
72
74
  goog.exportSymbol('proto.sniipbillapi.GetBadgeCountRequest', null, global);
73
75
  goog.exportSymbol('proto.sniipbillapi.GetBillAttachmentsByBillConfigIdsRequest', null, global);
76
+ goog.exportSymbol('proto.sniipbillapi.GetBillConfigsByBillIdsRequest', null, global);
74
77
  goog.exportSymbol('proto.sniipbillapi.GetBillDetailsRequest', null, global);
75
78
  goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null, global);
76
79
  goog.exportSymbol('proto.sniipbillapi.GetBillsForUserRequest', null, global);
@@ -2437,7 +2440,8 @@ proto.sniipbillapi.BillConfig.toObject = function(includeInstance, msg) {
2437
2440
  requiresreview: msg.getRequiresreview(),
2438
2441
  isblockedbiller: msg.getIsblockedbiller(),
2439
2442
  invoicenumber: msg.getInvoicenumber(),
2440
- paymentprocessorordernumber: msg.getPaymentprocessorordernumber()
2443
+ paymentprocessorordernumber: msg.getPaymentprocessorordernumber(),
2444
+ billid: msg.getBillid()
2441
2445
  };
2442
2446
 
2443
2447
  if (includeInstance) {
@@ -2550,6 +2554,10 @@ proto.sniipbillapi.BillConfig.deserializeBinaryFromReader = function(msg, reader
2550
2554
  var value = /** @type {number} */ (reader.readInt32());
2551
2555
  msg.setPaymentprocessorordernumber(value);
2552
2556
  break;
2557
+ case 20:
2558
+ var value = /** @type {number} */ (reader.readInt64());
2559
+ msg.setBillid(value);
2560
+ break;
2553
2561
  default:
2554
2562
  reader.skipField();
2555
2563
  break;
@@ -2721,6 +2729,13 @@ proto.sniipbillapi.BillConfig.prototype.serializeBinaryToWriter = function (writ
2721
2729
  f
2722
2730
  );
2723
2731
  }
2732
+ f = this.getBillid();
2733
+ if (f !== 0) {
2734
+ writer.writeInt64(
2735
+ 20,
2736
+ f
2737
+ );
2738
+ }
2724
2739
  };
2725
2740
 
2726
2741
 
@@ -3028,6 +3043,416 @@ proto.sniipbillapi.BillConfig.prototype.setPaymentprocessorordernumber = functio
3028
3043
  };
3029
3044
 
3030
3045
 
3046
+ /**
3047
+ * optional int64 billId = 20;
3048
+ * @return {number}
3049
+ */
3050
+ proto.sniipbillapi.BillConfig.prototype.getBillid = function() {
3051
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 20, 0));
3052
+ };
3053
+
3054
+
3055
+ /** @param {number} value */
3056
+ proto.sniipbillapi.BillConfig.prototype.setBillid = function(value) {
3057
+ jspb.Message.setField(this, 20, value);
3058
+ };
3059
+
3060
+
3061
+
3062
+ /**
3063
+ * Generated by JsPbCodeGenerator.
3064
+ * @param {Array=} opt_data Optional initial data array, typically from a
3065
+ * server response, or constructed directly in Javascript. The array is used
3066
+ * in place and becomes part of the constructed object. It is not cloned.
3067
+ * If no data is provided, the constructed object will be empty, but still
3068
+ * valid.
3069
+ * @extends {jspb.Message}
3070
+ * @constructor
3071
+ */
3072
+ proto.sniipbillapi.BillConfigsByBillIdsRequest = function(opt_data) {
3073
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.BillConfigsByBillIdsRequest.repeatedFields_, null);
3074
+ };
3075
+ goog.inherits(proto.sniipbillapi.BillConfigsByBillIdsRequest, jspb.Message);
3076
+ if (goog.DEBUG && !COMPILED) {
3077
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.displayName = 'proto.sniipbillapi.BillConfigsByBillIdsRequest';
3078
+ }
3079
+ /**
3080
+ * List of repeated fields within this message type.
3081
+ * @private {!Array<number>}
3082
+ * @const
3083
+ */
3084
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.repeatedFields_ = [1];
3085
+
3086
+
3087
+
3088
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3089
+ /**
3090
+ * Creates an object representation of this proto suitable for use in Soy templates.
3091
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3092
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3093
+ * For the list of reserved names please see:
3094
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3095
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3096
+ * for transitional soy proto support: http://goto/soy-param-migration
3097
+ * @return {!Object}
3098
+ */
3099
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
3100
+ return proto.sniipbillapi.BillConfigsByBillIdsRequest.toObject(opt_includeInstance, this);
3101
+ };
3102
+
3103
+
3104
+ /**
3105
+ * Static version of the {@see toObject} method.
3106
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
3107
+ * instance for transitional soy proto support:
3108
+ * http://goto/soy-param-migration
3109
+ * @param {!proto.sniipbillapi.BillConfigsByBillIdsRequest} msg The msg instance to transform.
3110
+ * @return {!Object}
3111
+ */
3112
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.toObject = function(includeInstance, msg) {
3113
+ var f, obj = {
3114
+ billidsList: jspb.Message.getField(msg, 1)
3115
+ };
3116
+
3117
+ if (includeInstance) {
3118
+ obj.$jspbMessageInstance = msg;
3119
+ }
3120
+ return obj;
3121
+ };
3122
+ }
3123
+
3124
+
3125
+ /**
3126
+ * Deserializes binary data (in protobuf wire format).
3127
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3128
+ * @return {!proto.sniipbillapi.BillConfigsByBillIdsRequest}
3129
+ */
3130
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.deserializeBinary = function(bytes) {
3131
+ var reader = new jspb.BinaryReader(bytes);
3132
+ var msg = new proto.sniipbillapi.BillConfigsByBillIdsRequest;
3133
+ return proto.sniipbillapi.BillConfigsByBillIdsRequest.deserializeBinaryFromReader(msg, reader);
3134
+ };
3135
+
3136
+
3137
+ /**
3138
+ * Deserializes binary data (in protobuf wire format) from the
3139
+ * given reader into the given message object.
3140
+ * @param {!proto.sniipbillapi.BillConfigsByBillIdsRequest} msg The message object to deserialize into.
3141
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3142
+ * @return {!proto.sniipbillapi.BillConfigsByBillIdsRequest}
3143
+ */
3144
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
3145
+ while (reader.nextField()) {
3146
+ if (reader.isEndGroup()) {
3147
+ break;
3148
+ }
3149
+ var field = reader.getFieldNumber();
3150
+ switch (field) {
3151
+ case 1:
3152
+ var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
3153
+ msg.setBillidsList(value);
3154
+ break;
3155
+ default:
3156
+ reader.skipField();
3157
+ break;
3158
+ }
3159
+ }
3160
+ return msg;
3161
+ };
3162
+
3163
+
3164
+ /**
3165
+ * Class method variant: serializes the given message to binary data
3166
+ * (in protobuf wire format), writing to the given BinaryWriter.
3167
+ * @param {!proto.sniipbillapi.BillConfigsByBillIdsRequest} message
3168
+ * @param {!jspb.BinaryWriter} writer
3169
+ */
3170
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
3171
+ message.serializeBinaryToWriter(writer);
3172
+ };
3173
+
3174
+
3175
+ /**
3176
+ * Serializes the message to binary data (in protobuf wire format).
3177
+ * @return {!Uint8Array}
3178
+ */
3179
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.serializeBinary = function() {
3180
+ var writer = new jspb.BinaryWriter();
3181
+ this.serializeBinaryToWriter(writer);
3182
+ return writer.getResultBuffer();
3183
+ };
3184
+
3185
+
3186
+ /**
3187
+ * Serializes the message to binary data (in protobuf wire format),
3188
+ * writing to the given BinaryWriter.
3189
+ * @param {!jspb.BinaryWriter} writer
3190
+ */
3191
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.serializeBinaryToWriter = function (writer) {
3192
+ var f = undefined;
3193
+ f = this.getBillidsList();
3194
+ if (f.length > 0) {
3195
+ writer.writePackedInt64(
3196
+ 1,
3197
+ f
3198
+ );
3199
+ }
3200
+ };
3201
+
3202
+
3203
+ /**
3204
+ * Creates a deep clone of this proto. No data is shared with the original.
3205
+ * @return {!proto.sniipbillapi.BillConfigsByBillIdsRequest} The clone.
3206
+ */
3207
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.cloneMessage = function() {
3208
+ return /** @type {!proto.sniipbillapi.BillConfigsByBillIdsRequest} */ (jspb.Message.cloneMessage(this));
3209
+ };
3210
+
3211
+
3212
+ /**
3213
+ * repeated int64 billIds = 1;
3214
+ * If you change this array by adding, removing or replacing elements, or if you
3215
+ * replace the array itself, then you must call the setter to update it.
3216
+ * @return {!Array.<number>}
3217
+ */
3218
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.getBillidsList = function() {
3219
+ return /** @type {!Array.<number>} */ (jspb.Message.getField(this, 1));
3220
+ };
3221
+
3222
+
3223
+ /** @param {Array.<number>} value */
3224
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.setBillidsList = function(value) {
3225
+ jspb.Message.setField(this, 1, value || []);
3226
+ };
3227
+
3228
+
3229
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.prototype.clearBillidsList = function() {
3230
+ jspb.Message.setField(this, 1, []);
3231
+ };
3232
+
3233
+
3234
+
3235
+ /**
3236
+ * Generated by JsPbCodeGenerator.
3237
+ * @param {Array=} opt_data Optional initial data array, typically from a
3238
+ * server response, or constructed directly in Javascript. The array is used
3239
+ * in place and becomes part of the constructed object. It is not cloned.
3240
+ * If no data is provided, the constructed object will be empty, but still
3241
+ * valid.
3242
+ * @extends {jspb.Message}
3243
+ * @constructor
3244
+ */
3245
+ proto.sniipbillapi.BillConfigsResponse = function(opt_data) {
3246
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.BillConfigsResponse.repeatedFields_, null);
3247
+ };
3248
+ goog.inherits(proto.sniipbillapi.BillConfigsResponse, jspb.Message);
3249
+ if (goog.DEBUG && !COMPILED) {
3250
+ proto.sniipbillapi.BillConfigsResponse.displayName = 'proto.sniipbillapi.BillConfigsResponse';
3251
+ }
3252
+ /**
3253
+ * List of repeated fields within this message type.
3254
+ * @private {!Array<number>}
3255
+ * @const
3256
+ */
3257
+ proto.sniipbillapi.BillConfigsResponse.repeatedFields_ = [2];
3258
+
3259
+
3260
+
3261
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3262
+ /**
3263
+ * Creates an object representation of this proto suitable for use in Soy templates.
3264
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3265
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3266
+ * For the list of reserved names please see:
3267
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3268
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3269
+ * for transitional soy proto support: http://goto/soy-param-migration
3270
+ * @return {!Object}
3271
+ */
3272
+ proto.sniipbillapi.BillConfigsResponse.prototype.toObject = function(opt_includeInstance) {
3273
+ return proto.sniipbillapi.BillConfigsResponse.toObject(opt_includeInstance, this);
3274
+ };
3275
+
3276
+
3277
+ /**
3278
+ * Static version of the {@see toObject} method.
3279
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
3280
+ * instance for transitional soy proto support:
3281
+ * http://goto/soy-param-migration
3282
+ * @param {!proto.sniipbillapi.BillConfigsResponse} msg The msg instance to transform.
3283
+ * @return {!Object}
3284
+ */
3285
+ proto.sniipbillapi.BillConfigsResponse.toObject = function(includeInstance, msg) {
3286
+ var f, obj = {
3287
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
3288
+ billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
3289
+ proto.sniipbillapi.BillConfig.toObject, includeInstance)
3290
+ };
3291
+
3292
+ if (includeInstance) {
3293
+ obj.$jspbMessageInstance = msg;
3294
+ }
3295
+ return obj;
3296
+ };
3297
+ }
3298
+
3299
+
3300
+ /**
3301
+ * Deserializes binary data (in protobuf wire format).
3302
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3303
+ * @return {!proto.sniipbillapi.BillConfigsResponse}
3304
+ */
3305
+ proto.sniipbillapi.BillConfigsResponse.deserializeBinary = function(bytes) {
3306
+ var reader = new jspb.BinaryReader(bytes);
3307
+ var msg = new proto.sniipbillapi.BillConfigsResponse;
3308
+ return proto.sniipbillapi.BillConfigsResponse.deserializeBinaryFromReader(msg, reader);
3309
+ };
3310
+
3311
+
3312
+ /**
3313
+ * Deserializes binary data (in protobuf wire format) from the
3314
+ * given reader into the given message object.
3315
+ * @param {!proto.sniipbillapi.BillConfigsResponse} msg The message object to deserialize into.
3316
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3317
+ * @return {!proto.sniipbillapi.BillConfigsResponse}
3318
+ */
3319
+ proto.sniipbillapi.BillConfigsResponse.deserializeBinaryFromReader = function(msg, reader) {
3320
+ while (reader.nextField()) {
3321
+ if (reader.isEndGroup()) {
3322
+ break;
3323
+ }
3324
+ var field = reader.getFieldNumber();
3325
+ switch (field) {
3326
+ case 1:
3327
+ var value = new proto.sniipbillapi.ResponseCode;
3328
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
3329
+ msg.setResponsecode(value);
3330
+ break;
3331
+ case 2:
3332
+ var value = new proto.sniipbillapi.BillConfig;
3333
+ reader.readMessage(value,proto.sniipbillapi.BillConfig.deserializeBinaryFromReader);
3334
+ msg.getBillconfigsList().push(value);
3335
+ msg.setBillconfigsList(msg.getBillconfigsList());
3336
+ break;
3337
+ default:
3338
+ reader.skipField();
3339
+ break;
3340
+ }
3341
+ }
3342
+ return msg;
3343
+ };
3344
+
3345
+
3346
+ /**
3347
+ * Class method variant: serializes the given message to binary data
3348
+ * (in protobuf wire format), writing to the given BinaryWriter.
3349
+ * @param {!proto.sniipbillapi.BillConfigsResponse} message
3350
+ * @param {!jspb.BinaryWriter} writer
3351
+ */
3352
+ proto.sniipbillapi.BillConfigsResponse.serializeBinaryToWriter = function(message, writer) {
3353
+ message.serializeBinaryToWriter(writer);
3354
+ };
3355
+
3356
+
3357
+ /**
3358
+ * Serializes the message to binary data (in protobuf wire format).
3359
+ * @return {!Uint8Array}
3360
+ */
3361
+ proto.sniipbillapi.BillConfigsResponse.prototype.serializeBinary = function() {
3362
+ var writer = new jspb.BinaryWriter();
3363
+ this.serializeBinaryToWriter(writer);
3364
+ return writer.getResultBuffer();
3365
+ };
3366
+
3367
+
3368
+ /**
3369
+ * Serializes the message to binary data (in protobuf wire format),
3370
+ * writing to the given BinaryWriter.
3371
+ * @param {!jspb.BinaryWriter} writer
3372
+ */
3373
+ proto.sniipbillapi.BillConfigsResponse.prototype.serializeBinaryToWriter = function (writer) {
3374
+ var f = undefined;
3375
+ f = this.getResponsecode();
3376
+ if (f != null) {
3377
+ writer.writeMessage(
3378
+ 1,
3379
+ f,
3380
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
3381
+ );
3382
+ }
3383
+ f = this.getBillconfigsList();
3384
+ if (f.length > 0) {
3385
+ writer.writeRepeatedMessage(
3386
+ 2,
3387
+ f,
3388
+ proto.sniipbillapi.BillConfig.serializeBinaryToWriter
3389
+ );
3390
+ }
3391
+ };
3392
+
3393
+
3394
+ /**
3395
+ * Creates a deep clone of this proto. No data is shared with the original.
3396
+ * @return {!proto.sniipbillapi.BillConfigsResponse} The clone.
3397
+ */
3398
+ proto.sniipbillapi.BillConfigsResponse.prototype.cloneMessage = function() {
3399
+ return /** @type {!proto.sniipbillapi.BillConfigsResponse} */ (jspb.Message.cloneMessage(this));
3400
+ };
3401
+
3402
+
3403
+ /**
3404
+ * optional ResponseCode responseCode = 1;
3405
+ * @return {proto.sniipbillapi.ResponseCode}
3406
+ */
3407
+ proto.sniipbillapi.BillConfigsResponse.prototype.getResponsecode = function() {
3408
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
3409
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
3410
+ };
3411
+
3412
+
3413
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
3414
+ proto.sniipbillapi.BillConfigsResponse.prototype.setResponsecode = function(value) {
3415
+ jspb.Message.setWrapperField(this, 1, value);
3416
+ };
3417
+
3418
+
3419
+ proto.sniipbillapi.BillConfigsResponse.prototype.clearResponsecode = function() {
3420
+ this.setResponsecode(undefined);
3421
+ };
3422
+
3423
+
3424
+ /**
3425
+ * Returns whether this field is set.
3426
+ * @return{!boolean}
3427
+ */
3428
+ proto.sniipbillapi.BillConfigsResponse.prototype.hasResponsecode = function() {
3429
+ return jspb.Message.getField(this, 1) != null;
3430
+ };
3431
+
3432
+
3433
+ /**
3434
+ * repeated BillConfig billConfigs = 2;
3435
+ * If you change this array by adding, removing or replacing elements, or if you
3436
+ * replace the array itself, then you must call the setter to update it.
3437
+ * @return {!Array.<!proto.sniipbillapi.BillConfig>}
3438
+ */
3439
+ proto.sniipbillapi.BillConfigsResponse.prototype.getBillconfigsList = function() {
3440
+ return /** @type{!Array.<!proto.sniipbillapi.BillConfig>} */ (
3441
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillConfig, 2));
3442
+ };
3443
+
3444
+
3445
+ /** @param {Array.<!proto.sniipbillapi.BillConfig>} value */
3446
+ proto.sniipbillapi.BillConfigsResponse.prototype.setBillconfigsList = function(value) {
3447
+ jspb.Message.setRepeatedWrapperField(this, 2, value);
3448
+ };
3449
+
3450
+
3451
+ proto.sniipbillapi.BillConfigsResponse.prototype.clearBillconfigsList = function() {
3452
+ this.setBillconfigsList([]);
3453
+ };
3454
+
3455
+
3031
3456
 
3032
3457
  /**
3033
3458
  * Generated by JsPbCodeGenerator.
@@ -17780,6 +18205,182 @@ proto.sniipbillapi.GetBillAttachmentsByBillConfigIdsRequest.prototype.hasData =
17780
18205
 
17781
18206
 
17782
18207
 
18208
+ /**
18209
+ * Generated by JsPbCodeGenerator.
18210
+ * @param {Array=} opt_data Optional initial data array, typically from a
18211
+ * server response, or constructed directly in Javascript. The array is used
18212
+ * in place and becomes part of the constructed object. It is not cloned.
18213
+ * If no data is provided, the constructed object will be empty, but still
18214
+ * valid.
18215
+ * @extends {jspb.Message}
18216
+ * @constructor
18217
+ */
18218
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest = function(opt_data) {
18219
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
18220
+ };
18221
+ goog.inherits(proto.sniipbillapi.GetBillConfigsByBillIdsRequest, jspb.Message);
18222
+ if (goog.DEBUG && !COMPILED) {
18223
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.displayName = 'proto.sniipbillapi.GetBillConfigsByBillIdsRequest';
18224
+ }
18225
+
18226
+
18227
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18228
+ /**
18229
+ * Creates an object representation of this proto suitable for use in Soy templates.
18230
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18231
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18232
+ * For the list of reserved names please see:
18233
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
18234
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
18235
+ * for transitional soy proto support: http://goto/soy-param-migration
18236
+ * @return {!Object}
18237
+ */
18238
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
18239
+ return proto.sniipbillapi.GetBillConfigsByBillIdsRequest.toObject(opt_includeInstance, this);
18240
+ };
18241
+
18242
+
18243
+ /**
18244
+ * Static version of the {@see toObject} method.
18245
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
18246
+ * instance for transitional soy proto support:
18247
+ * http://goto/soy-param-migration
18248
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} msg The msg instance to transform.
18249
+ * @return {!Object}
18250
+ */
18251
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.toObject = function(includeInstance, msg) {
18252
+ var f, obj = {
18253
+ data: (f = msg.getData()) && proto.sniipbillapi.BillConfigsByBillIdsRequest.toObject(includeInstance, f)
18254
+ };
18255
+
18256
+ if (includeInstance) {
18257
+ obj.$jspbMessageInstance = msg;
18258
+ }
18259
+ return obj;
18260
+ };
18261
+ }
18262
+
18263
+
18264
+ /**
18265
+ * Deserializes binary data (in protobuf wire format).
18266
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18267
+ * @return {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest}
18268
+ */
18269
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.deserializeBinary = function(bytes) {
18270
+ var reader = new jspb.BinaryReader(bytes);
18271
+ var msg = new proto.sniipbillapi.GetBillConfigsByBillIdsRequest;
18272
+ return proto.sniipbillapi.GetBillConfigsByBillIdsRequest.deserializeBinaryFromReader(msg, reader);
18273
+ };
18274
+
18275
+
18276
+ /**
18277
+ * Deserializes binary data (in protobuf wire format) from the
18278
+ * given reader into the given message object.
18279
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} msg The message object to deserialize into.
18280
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18281
+ * @return {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest}
18282
+ */
18283
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
18284
+ while (reader.nextField()) {
18285
+ if (reader.isEndGroup()) {
18286
+ break;
18287
+ }
18288
+ var field = reader.getFieldNumber();
18289
+ switch (field) {
18290
+ case 1:
18291
+ var value = new proto.sniipbillapi.BillConfigsByBillIdsRequest;
18292
+ reader.readMessage(value,proto.sniipbillapi.BillConfigsByBillIdsRequest.deserializeBinaryFromReader);
18293
+ msg.setData(value);
18294
+ break;
18295
+ default:
18296
+ reader.skipField();
18297
+ break;
18298
+ }
18299
+ }
18300
+ return msg;
18301
+ };
18302
+
18303
+
18304
+ /**
18305
+ * Class method variant: serializes the given message to binary data
18306
+ * (in protobuf wire format), writing to the given BinaryWriter.
18307
+ * @param {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} message
18308
+ * @param {!jspb.BinaryWriter} writer
18309
+ */
18310
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
18311
+ message.serializeBinaryToWriter(writer);
18312
+ };
18313
+
18314
+
18315
+ /**
18316
+ * Serializes the message to binary data (in protobuf wire format).
18317
+ * @return {!Uint8Array}
18318
+ */
18319
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.serializeBinary = function() {
18320
+ var writer = new jspb.BinaryWriter();
18321
+ this.serializeBinaryToWriter(writer);
18322
+ return writer.getResultBuffer();
18323
+ };
18324
+
18325
+
18326
+ /**
18327
+ * Serializes the message to binary data (in protobuf wire format),
18328
+ * writing to the given BinaryWriter.
18329
+ * @param {!jspb.BinaryWriter} writer
18330
+ */
18331
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.serializeBinaryToWriter = function (writer) {
18332
+ var f = undefined;
18333
+ f = this.getData();
18334
+ if (f != null) {
18335
+ writer.writeMessage(
18336
+ 1,
18337
+ f,
18338
+ proto.sniipbillapi.BillConfigsByBillIdsRequest.serializeBinaryToWriter
18339
+ );
18340
+ }
18341
+ };
18342
+
18343
+
18344
+ /**
18345
+ * Creates a deep clone of this proto. No data is shared with the original.
18346
+ * @return {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} The clone.
18347
+ */
18348
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.cloneMessage = function() {
18349
+ return /** @type {!proto.sniipbillapi.GetBillConfigsByBillIdsRequest} */ (jspb.Message.cloneMessage(this));
18350
+ };
18351
+
18352
+
18353
+ /**
18354
+ * optional BillConfigsByBillIdsRequest data = 1;
18355
+ * @return {proto.sniipbillapi.BillConfigsByBillIdsRequest}
18356
+ */
18357
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.getData = function() {
18358
+ return /** @type{proto.sniipbillapi.BillConfigsByBillIdsRequest} */ (
18359
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.BillConfigsByBillIdsRequest, 1));
18360
+ };
18361
+
18362
+
18363
+ /** @param {proto.sniipbillapi.BillConfigsByBillIdsRequest|undefined} value */
18364
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.setData = function(value) {
18365
+ jspb.Message.setWrapperField(this, 1, value);
18366
+ };
18367
+
18368
+
18369
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.clearData = function() {
18370
+ this.setData(undefined);
18371
+ };
18372
+
18373
+
18374
+ /**
18375
+ * Returns whether this field is set.
18376
+ * @return{!boolean}
18377
+ */
18378
+ proto.sniipbillapi.GetBillConfigsByBillIdsRequest.prototype.hasData = function() {
18379
+ return jspb.Message.getField(this, 1) != null;
18380
+ };
18381
+
18382
+
18383
+
17783
18384
  /**
17784
18385
  * Generated by JsPbCodeGenerator.
17785
18386
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "23.4.11245",
3
+ "version": "23.4.11281",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",