@sniipwebmaster/agent-billing-client-grpcweb-ts 24.5.1957 → 24.5.1977

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.
@@ -97,6 +97,9 @@ export class AgentBill extends jspb.Message {
97
97
  clearBillconfigsList(): AgentBill;
98
98
  addBillconfigs(value?: BillConfig, index?: number): BillConfig;
99
99
 
100
+ getStatus(): AgentBillStatus;
101
+ setStatus(value: AgentBillStatus): AgentBill;
102
+
100
103
  serializeBinary(): Uint8Array;
101
104
  toObject(includeInstance?: boolean): AgentBill.AsObject;
102
105
  static toObject(includeInstance: boolean, msg: AgentBill): AgentBill.AsObject;
@@ -121,6 +124,7 @@ export namespace AgentBill {
121
124
  requiresdraftreview: boolean,
122
125
  deliverybatchname: string,
123
126
  billconfigsList: Array<BillConfig.AsObject>,
127
+ status: AgentBillStatus,
124
128
  }
125
129
  }
126
130
 
@@ -2919,6 +2923,18 @@ export enum AttachmentStatus {
2919
2923
  PROCESSING = 1,
2920
2924
  SUCCEED = 2,
2921
2925
  }
2926
+ export enum AgentBillStatus {
2927
+ UNKNOWN_AGENT_BILL = 0,
2928
+ DRAFT = 1,
2929
+ UNDER_REVIEW = 2,
2930
+ BLOCKED = 3,
2931
+ READY_TO_SEND = 4,
2932
+ SENT_TO_CLIENT = 5,
2933
+ PAID = 6,
2934
+ SCHEDULED_FOR_PAYMENT = 7,
2935
+ ARCHIVED = 8,
2936
+ DELETED_BY_CLIENT = 9,
2937
+ }
2922
2938
  export enum UploadBatchType {
2923
2939
  UNKNOWN = 0,
2924
2940
  MANUALLY_ADDED = 1,
@@ -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-ts",
3
- "version": "24.5.1957",
3
+ "version": "24.5.1977",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",