@sniipwebmaster/agent-billing-client-grpcweb 24.5.1948 → 24.5.1968

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.
@@ -21,6 +21,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.AgentAttachmentInfo', null, glob
21
21
  goog.exportSymbol('proto.agentbillingserviceapi.AgentAttachmentsResponse', null, global);
22
22
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
23
23
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
24
+ goog.exportSymbol('proto.agentbillingserviceapi.AgentBillStatus', null, global);
24
25
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBillTransaction', null, global);
25
26
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
26
27
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
@@ -2305,7 +2306,8 @@ proto.agentbillingserviceapi.AgentBill.toObject = function(includeInstance, msg)
2305
2306
  requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
2306
2307
  deliverybatchname: jspb.Message.getFieldWithDefault(msg, 13, ""),
2307
2308
  billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
2308
- proto.agentbillingserviceapi.BillConfig.toObject, includeInstance)
2309
+ proto.agentbillingserviceapi.BillConfig.toObject, includeInstance),
2310
+ status: jspb.Message.getFieldWithDefault(msg, 15, 0)
2309
2311
  };
2310
2312
 
2311
2313
  if (includeInstance) {
@@ -2399,6 +2401,10 @@ proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader = function(ms
2399
2401
  reader.readMessage(value,proto.agentbillingserviceapi.BillConfig.deserializeBinaryFromReader);
2400
2402
  msg.addBillconfigs(value);
2401
2403
  break;
2404
+ case 15:
2405
+ var value = /** @type {!proto.agentbillingserviceapi.AgentBillStatus} */ (reader.readEnum());
2406
+ msg.setStatus(value);
2407
+ break;
2402
2408
  default:
2403
2409
  reader.skipField();
2404
2410
  break;
@@ -2527,6 +2533,13 @@ proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter = function(messag
2527
2533
  proto.agentbillingserviceapi.BillConfig.serializeBinaryToWriter
2528
2534
  );
2529
2535
  }
2536
+ f = message.getStatus();
2537
+ if (f !== 0.0) {
2538
+ writer.writeEnum(
2539
+ 15,
2540
+ f
2541
+ );
2542
+ }
2530
2543
  };
2531
2544
 
2532
2545
 
@@ -2821,6 +2834,24 @@ proto.agentbillingserviceapi.AgentBill.prototype.clearBillconfigsList = function
2821
2834
  };
2822
2835
 
2823
2836
 
2837
+ /**
2838
+ * optional AgentBillStatus status = 15;
2839
+ * @return {!proto.agentbillingserviceapi.AgentBillStatus}
2840
+ */
2841
+ proto.agentbillingserviceapi.AgentBill.prototype.getStatus = function() {
2842
+ return /** @type {!proto.agentbillingserviceapi.AgentBillStatus} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
2843
+ };
2844
+
2845
+
2846
+ /**
2847
+ * @param {!proto.agentbillingserviceapi.AgentBillStatus} value
2848
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2849
+ */
2850
+ proto.agentbillingserviceapi.AgentBill.prototype.setStatus = function(value) {
2851
+ return jspb.Message.setProto3EnumField(this, 15, value);
2852
+ };
2853
+
2854
+
2824
2855
 
2825
2856
 
2826
2857
 
@@ -23732,6 +23763,22 @@ proto.agentbillingserviceapi.AttachmentStatus = {
23732
23763
  SUCCEED: 2
23733
23764
  };
23734
23765
 
23766
+ /**
23767
+ * @enum {number}
23768
+ */
23769
+ proto.agentbillingserviceapi.AgentBillStatus = {
23770
+ UNKNOWN_AGENT_BILL: 0,
23771
+ DRAFT: 1,
23772
+ UNDER_REVIEW: 2,
23773
+ BLOCKED: 3,
23774
+ READY_TO_SEND: 4,
23775
+ SENT_TO_CLIENT: 5,
23776
+ PAID: 6,
23777
+ SCHEDULED_FOR_PAYMENT: 7,
23778
+ ARCHIVED: 8,
23779
+ DELETED_BY_CLIENT: 9
23780
+ };
23781
+
23735
23782
  /**
23736
23783
  * @enum {number}
23737
23784
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.5.1948",
3
+ "version": "24.5.1968",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",