@sniipwebmaster/agent-billing-client-grpcweb-ts 25.10.4529 → 25.11.4554

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.
@@ -346,6 +346,19 @@ export class CreateUploadBatchRequest extends jspb.Message {
346
346
  getBatchtype(): UploadBatchType;
347
347
  setBatchtype(value: UploadBatchType): CreateUploadBatchRequest;
348
348
 
349
+ getReuseifexists(): boolean;
350
+ setReuseifexists(value: boolean): CreateUploadBatchRequest;
351
+
352
+ getAgentuserid(): number;
353
+ setAgentuserid(value: number): CreateUploadBatchRequest;
354
+ hasAgentuserid(): boolean;
355
+ clearAgentuserid(): CreateUploadBatchRequest;
356
+
357
+ getClientuserid(): number;
358
+ setClientuserid(value: number): CreateUploadBatchRequest;
359
+ hasClientuserid(): boolean;
360
+ clearClientuserid(): CreateUploadBatchRequest;
361
+
349
362
  serializeBinary(): Uint8Array;
350
363
  toObject(includeInstance?: boolean): CreateUploadBatchRequest.AsObject;
351
364
  static toObject(includeInstance: boolean, msg: CreateUploadBatchRequest): CreateUploadBatchRequest.AsObject;
@@ -358,6 +371,19 @@ export namespace CreateUploadBatchRequest {
358
371
  export type AsObject = {
359
372
  name: string,
360
373
  batchtype: UploadBatchType,
374
+ reuseifexists: boolean,
375
+ agentuserid?: number,
376
+ clientuserid?: number,
377
+ }
378
+
379
+ export enum AgentuseridCase {
380
+ _AGENTUSERID_NOT_SET = 0,
381
+ AGENTUSERID = 5,
382
+ }
383
+
384
+ export enum ClientuseridCase {
385
+ _CLIENTUSERID_NOT_SET = 0,
386
+ CLIENTUSERID = 6,
361
387
  }
362
388
  }
363
389
 
@@ -5044,7 +5044,10 @@ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.toObject = funct
5044
5044
  proto.agentbillingserviceapi.CreateUploadBatchRequest.toObject = function(includeInstance, msg) {
5045
5045
  var f, obj = {
5046
5046
  name: jspb.Message.getFieldWithDefault(msg, 2, ""),
5047
- batchtype: jspb.Message.getFieldWithDefault(msg, 3, 0)
5047
+ batchtype: jspb.Message.getFieldWithDefault(msg, 3, 0),
5048
+ reuseifexists: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
5049
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 5, 0),
5050
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 6, 0)
5048
5051
  };
5049
5052
 
5050
5053
  if (includeInstance) {
@@ -5089,6 +5092,18 @@ proto.agentbillingserviceapi.CreateUploadBatchRequest.deserializeBinaryFromReade
5089
5092
  var value = /** @type {!proto.agentbillingserviceapi.UploadBatchType} */ (reader.readEnum());
5090
5093
  msg.setBatchtype(value);
5091
5094
  break;
5095
+ case 4:
5096
+ var value = /** @type {boolean} */ (reader.readBool());
5097
+ msg.setReuseifexists(value);
5098
+ break;
5099
+ case 5:
5100
+ var value = /** @type {number} */ (reader.readInt64());
5101
+ msg.setAgentuserid(value);
5102
+ break;
5103
+ case 6:
5104
+ var value = /** @type {number} */ (reader.readInt64());
5105
+ msg.setClientuserid(value);
5106
+ break;
5092
5107
  default:
5093
5108
  reader.skipField();
5094
5109
  break;
@@ -5132,6 +5147,27 @@ proto.agentbillingserviceapi.CreateUploadBatchRequest.serializeBinaryToWriter =
5132
5147
  f
5133
5148
  );
5134
5149
  }
5150
+ f = message.getReuseifexists();
5151
+ if (f) {
5152
+ writer.writeBool(
5153
+ 4,
5154
+ f
5155
+ );
5156
+ }
5157
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
5158
+ if (f != null) {
5159
+ writer.writeInt64(
5160
+ 5,
5161
+ f
5162
+ );
5163
+ }
5164
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
5165
+ if (f != null) {
5166
+ writer.writeInt64(
5167
+ 6,
5168
+ f
5169
+ );
5170
+ }
5135
5171
  };
5136
5172
 
5137
5173
 
@@ -5171,6 +5207,96 @@ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.setBatchtype = f
5171
5207
  };
5172
5208
 
5173
5209
 
5210
+ /**
5211
+ * optional bool reuseIfExists = 4;
5212
+ * @return {boolean}
5213
+ */
5214
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.getReuseifexists = function() {
5215
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
5216
+ };
5217
+
5218
+
5219
+ /**
5220
+ * @param {boolean} value
5221
+ * @return {!proto.agentbillingserviceapi.CreateUploadBatchRequest} returns this
5222
+ */
5223
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.setReuseifexists = function(value) {
5224
+ return jspb.Message.setProto3BooleanField(this, 4, value);
5225
+ };
5226
+
5227
+
5228
+ /**
5229
+ * optional int64 agentUserId = 5;
5230
+ * @return {number}
5231
+ */
5232
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.getAgentuserid = function() {
5233
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
5234
+ };
5235
+
5236
+
5237
+ /**
5238
+ * @param {number} value
5239
+ * @return {!proto.agentbillingserviceapi.CreateUploadBatchRequest} returns this
5240
+ */
5241
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.setAgentuserid = function(value) {
5242
+ return jspb.Message.setField(this, 5, value);
5243
+ };
5244
+
5245
+
5246
+ /**
5247
+ * Clears the field making it undefined.
5248
+ * @return {!proto.agentbillingserviceapi.CreateUploadBatchRequest} returns this
5249
+ */
5250
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.clearAgentuserid = function() {
5251
+ return jspb.Message.setField(this, 5, undefined);
5252
+ };
5253
+
5254
+
5255
+ /**
5256
+ * Returns whether this field is set.
5257
+ * @return {boolean}
5258
+ */
5259
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.hasAgentuserid = function() {
5260
+ return jspb.Message.getField(this, 5) != null;
5261
+ };
5262
+
5263
+
5264
+ /**
5265
+ * optional int64 clientUserId = 6;
5266
+ * @return {number}
5267
+ */
5268
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.getClientuserid = function() {
5269
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5270
+ };
5271
+
5272
+
5273
+ /**
5274
+ * @param {number} value
5275
+ * @return {!proto.agentbillingserviceapi.CreateUploadBatchRequest} returns this
5276
+ */
5277
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.setClientuserid = function(value) {
5278
+ return jspb.Message.setField(this, 6, value);
5279
+ };
5280
+
5281
+
5282
+ /**
5283
+ * Clears the field making it undefined.
5284
+ * @return {!proto.agentbillingserviceapi.CreateUploadBatchRequest} returns this
5285
+ */
5286
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.clearClientuserid = function() {
5287
+ return jspb.Message.setField(this, 6, undefined);
5288
+ };
5289
+
5290
+
5291
+ /**
5292
+ * Returns whether this field is set.
5293
+ * @return {boolean}
5294
+ */
5295
+ proto.agentbillingserviceapi.CreateUploadBatchRequest.prototype.hasClientuserid = function() {
5296
+ return jspb.Message.getField(this, 6) != null;
5297
+ };
5298
+
5299
+
5174
5300
 
5175
5301
 
5176
5302
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "25.10.4529",
3
+ "version": "25.11.4554",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",