@sniipwebmaster/agent-billing-client-grpcweb 24.5.2324 → 24.5.2344

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.
@@ -2351,7 +2351,9 @@ proto.agentbillingserviceapi.AgentBill.toObject = function(includeInstance, msg)
2351
2351
  deliverybatchname: jspb.Message.getFieldWithDefault(msg, 13, ""),
2352
2352
  billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
2353
2353
  proto.agentbillingserviceapi.BillConfig.toObject, includeInstance),
2354
- status: jspb.Message.getFieldWithDefault(msg, 15, 0)
2354
+ status: jspb.Message.getFieldWithDefault(msg, 15, 0),
2355
+ abn: jspb.Message.getFieldWithDefault(msg, 16, ""),
2356
+ attachment: (f = msg.getAttachment()) && proto.agentbillingserviceapi.AgentAttachmentInfo.toObject(includeInstance, f)
2355
2357
  };
2356
2358
 
2357
2359
  if (includeInstance) {
@@ -2449,6 +2451,15 @@ proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader = function(ms
2449
2451
  var value = /** @type {!proto.agentbillingserviceapi.AgentBillStatus} */ (reader.readEnum());
2450
2452
  msg.setStatus(value);
2451
2453
  break;
2454
+ case 16:
2455
+ var value = /** @type {string} */ (reader.readString());
2456
+ msg.setAbn(value);
2457
+ break;
2458
+ case 17:
2459
+ var value = new proto.agentbillingserviceapi.AgentAttachmentInfo;
2460
+ reader.readMessage(value,proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader);
2461
+ msg.setAttachment(value);
2462
+ break;
2452
2463
  default:
2453
2464
  reader.skipField();
2454
2465
  break;
@@ -2584,6 +2595,21 @@ proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter = function(messag
2584
2595
  f
2585
2596
  );
2586
2597
  }
2598
+ f = message.getAbn();
2599
+ if (f.length > 0) {
2600
+ writer.writeString(
2601
+ 16,
2602
+ f
2603
+ );
2604
+ }
2605
+ f = message.getAttachment();
2606
+ if (f != null) {
2607
+ writer.writeMessage(
2608
+ 17,
2609
+ f,
2610
+ proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter
2611
+ );
2612
+ }
2587
2613
  };
2588
2614
 
2589
2615
 
@@ -2896,6 +2922,61 @@ proto.agentbillingserviceapi.AgentBill.prototype.setStatus = function(value) {
2896
2922
  };
2897
2923
 
2898
2924
 
2925
+ /**
2926
+ * optional string abn = 16;
2927
+ * @return {string}
2928
+ */
2929
+ proto.agentbillingserviceapi.AgentBill.prototype.getAbn = function() {
2930
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2931
+ };
2932
+
2933
+
2934
+ /**
2935
+ * @param {string} value
2936
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2937
+ */
2938
+ proto.agentbillingserviceapi.AgentBill.prototype.setAbn = function(value) {
2939
+ return jspb.Message.setProto3StringField(this, 16, value);
2940
+ };
2941
+
2942
+
2943
+ /**
2944
+ * optional AgentAttachmentInfo attachment = 17;
2945
+ * @return {?proto.agentbillingserviceapi.AgentAttachmentInfo}
2946
+ */
2947
+ proto.agentbillingserviceapi.AgentBill.prototype.getAttachment = function() {
2948
+ return /** @type{?proto.agentbillingserviceapi.AgentAttachmentInfo} */ (
2949
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.AgentAttachmentInfo, 17));
2950
+ };
2951
+
2952
+
2953
+ /**
2954
+ * @param {?proto.agentbillingserviceapi.AgentAttachmentInfo|undefined} value
2955
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2956
+ */
2957
+ proto.agentbillingserviceapi.AgentBill.prototype.setAttachment = function(value) {
2958
+ return jspb.Message.setWrapperField(this, 17, value);
2959
+ };
2960
+
2961
+
2962
+ /**
2963
+ * Clears the message field making it undefined.
2964
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2965
+ */
2966
+ proto.agentbillingserviceapi.AgentBill.prototype.clearAttachment = function() {
2967
+ return this.setAttachment(undefined);
2968
+ };
2969
+
2970
+
2971
+ /**
2972
+ * Returns whether this field is set.
2973
+ * @return {boolean}
2974
+ */
2975
+ proto.agentbillingserviceapi.AgentBill.prototype.hasAttachment = function() {
2976
+ return jspb.Message.getField(this, 17) != null;
2977
+ };
2978
+
2979
+
2899
2980
 
2900
2981
 
2901
2982
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.5.2324",
3
+ "version": "24.5.2344",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",