@sniipwebmaster/agent-billing-client-grpcweb-ts 23.12.844 → 23.12.866

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.
@@ -117,6 +117,36 @@ export namespace AgentBill {
117
117
  }
118
118
  }
119
119
 
120
+ export class AgentBillMapping extends jspb.Message {
121
+ getAgentbillid(): number;
122
+ setAgentbillid(value: number): AgentBillMapping;
123
+
124
+ getBillid(): number;
125
+ setBillid(value: number): AgentBillMapping;
126
+
127
+ getClientuserid(): number;
128
+ setClientuserid(value: number): AgentBillMapping;
129
+
130
+ getAgentuserid(): number;
131
+ setAgentuserid(value: number): AgentBillMapping;
132
+
133
+ serializeBinary(): Uint8Array;
134
+ toObject(includeInstance?: boolean): AgentBillMapping.AsObject;
135
+ static toObject(includeInstance: boolean, msg: AgentBillMapping): AgentBillMapping.AsObject;
136
+ static serializeBinaryToWriter(message: AgentBillMapping, writer: jspb.BinaryWriter): void;
137
+ static deserializeBinary(bytes: Uint8Array): AgentBillMapping;
138
+ static deserializeBinaryFromReader(message: AgentBillMapping, reader: jspb.BinaryReader): AgentBillMapping;
139
+ }
140
+
141
+ export namespace AgentBillMapping {
142
+ export type AsObject = {
143
+ agentbillid: number,
144
+ billid: number,
145
+ clientuserid: number,
146
+ agentuserid: number,
147
+ }
148
+ }
149
+
120
150
  export class ArchiveAgentBillResult extends jspb.Message {
121
151
  getAgentbillid(): number;
122
152
  setAgentbillid(value: number): ArchiveAgentBillResult;
@@ -329,6 +359,9 @@ export class CreateAgentBillsResponse extends jspb.Message {
329
359
  getAddedbillscount(): number;
330
360
  setAddedbillscount(value: number): CreateAgentBillsResponse;
331
361
 
362
+ getUploadbatchname(): string;
363
+ setUploadbatchname(value: string): CreateAgentBillsResponse;
364
+
332
365
  serializeBinary(): Uint8Array;
333
366
  toObject(includeInstance?: boolean): CreateAgentBillsResponse.AsObject;
334
367
  static toObject(includeInstance: boolean, msg: CreateAgentBillsResponse): CreateAgentBillsResponse.AsObject;
@@ -342,6 +375,7 @@ export namespace CreateAgentBillsResponse {
342
375
  responsecode?: ResponseCode.AsObject,
343
376
  uploadbatchid: number,
344
377
  addedbillscount: number,
378
+ uploadbatchname: string,
345
379
  }
346
380
  }
347
381
 
@@ -1019,22 +1053,10 @@ export class GetDeliveryBatchContentsResponse extends jspb.Message {
1019
1053
  hasResponsecode(): boolean;
1020
1054
  clearResponsecode(): GetDeliveryBatchContentsResponse;
1021
1055
 
1022
- getAgentbillsList(): Array<AgentBill>;
1023
- setAgentbillsList(value: Array<AgentBill>): GetDeliveryBatchContentsResponse;
1024
- clearAgentbillsList(): GetDeliveryBatchContentsResponse;
1025
- addAgentbills(value?: AgentBill, index?: number): AgentBill;
1026
-
1027
- getPage(): number;
1028
- setPage(value: number): GetDeliveryBatchContentsResponse;
1029
-
1030
- getSize(): number;
1031
- setSize(value: number): GetDeliveryBatchContentsResponse;
1032
-
1033
- getTotalpages(): number;
1034
- setTotalpages(value: number): GetDeliveryBatchContentsResponse;
1035
-
1036
- getTotalsize(): number;
1037
- setTotalsize(value: number): GetDeliveryBatchContentsResponse;
1056
+ getAgentbillmappingsList(): Array<AgentBillMapping>;
1057
+ setAgentbillmappingsList(value: Array<AgentBillMapping>): GetDeliveryBatchContentsResponse;
1058
+ clearAgentbillmappingsList(): GetDeliveryBatchContentsResponse;
1059
+ addAgentbillmappings(value?: AgentBillMapping, index?: number): AgentBillMapping;
1038
1060
 
1039
1061
  serializeBinary(): Uint8Array;
1040
1062
  toObject(includeInstance?: boolean): GetDeliveryBatchContentsResponse.AsObject;
@@ -1047,11 +1069,7 @@ export class GetDeliveryBatchContentsResponse extends jspb.Message {
1047
1069
  export namespace GetDeliveryBatchContentsResponse {
1048
1070
  export type AsObject = {
1049
1071
  responsecode?: ResponseCode.AsObject,
1050
- agentbillsList: Array<AgentBill.AsObject>,
1051
- page: number,
1052
- size: number,
1053
- totalpages: number,
1054
- totalsize: number,
1072
+ agentbillmappingsList: Array<AgentBillMapping.AsObject>,
1055
1073
  }
1056
1074
  }
1057
1075
 
@@ -1059,11 +1077,8 @@ export class GetDeliveryBatchContentsToPayRequest extends jspb.Message {
1059
1077
  getDeliverybatchid(): number;
1060
1078
  setDeliverybatchid(value: number): GetDeliveryBatchContentsToPayRequest;
1061
1079
 
1062
- getPage(): number;
1063
- setPage(value: number): GetDeliveryBatchContentsToPayRequest;
1064
-
1065
- getSize(): number;
1066
- setSize(value: number): GetDeliveryBatchContentsToPayRequest;
1080
+ getUserid(): number;
1081
+ setUserid(value: number): GetDeliveryBatchContentsToPayRequest;
1067
1082
 
1068
1083
  serializeBinary(): Uint8Array;
1069
1084
  toObject(includeInstance?: boolean): GetDeliveryBatchContentsToPayRequest.AsObject;
@@ -1076,8 +1091,7 @@ export class GetDeliveryBatchContentsToPayRequest extends jspb.Message {
1076
1091
  export namespace GetDeliveryBatchContentsToPayRequest {
1077
1092
  export type AsObject = {
1078
1093
  deliverybatchid: number,
1079
- page: number,
1080
- size: number,
1094
+ userid: number,
1081
1095
  }
1082
1096
  }
1083
1097
 
@@ -16,6 +16,7 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
16
16
  goog.object.extend(proto, google_api_annotations_pb);
17
17
  goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
18
18
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
19
+ goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
19
20
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
20
21
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
21
22
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
@@ -107,6 +108,27 @@ if (goog.DEBUG && !COMPILED) {
107
108
  */
108
109
  proto.agentbillingserviceapi.AgentBill.displayName = 'proto.agentbillingserviceapi.AgentBill';
109
110
  }
111
+ /**
112
+ * Generated by JsPbCodeGenerator.
113
+ * @param {Array=} opt_data Optional initial data array, typically from a
114
+ * server response, or constructed directly in Javascript. The array is used
115
+ * in place and becomes part of the constructed object. It is not cloned.
116
+ * If no data is provided, the constructed object will be empty, but still
117
+ * valid.
118
+ * @extends {jspb.Message}
119
+ * @constructor
120
+ */
121
+ proto.agentbillingserviceapi.AgentBillMapping = function(opt_data) {
122
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
123
+ };
124
+ goog.inherits(proto.agentbillingserviceapi.AgentBillMapping, jspb.Message);
125
+ if (goog.DEBUG && !COMPILED) {
126
+ /**
127
+ * @public
128
+ * @override
129
+ */
130
+ proto.agentbillingserviceapi.AgentBillMapping.displayName = 'proto.agentbillingserviceapi.AgentBillMapping';
131
+ }
110
132
  /**
111
133
  * Generated by JsPbCodeGenerator.
112
134
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1995,6 +2017,226 @@ proto.agentbillingserviceapi.AgentBill.prototype.setRequiresattention = function
1995
2017
 
1996
2018
 
1997
2019
 
2020
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2021
+ /**
2022
+ * Creates an object representation of this proto.
2023
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2024
+ * Optional fields that are not set will be set to undefined.
2025
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2026
+ * For the list of reserved names please see:
2027
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2028
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2029
+ * JSPB instance for transitional soy proto support:
2030
+ * http://goto/soy-param-migration
2031
+ * @return {!Object}
2032
+ */
2033
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.toObject = function(opt_includeInstance) {
2034
+ return proto.agentbillingserviceapi.AgentBillMapping.toObject(opt_includeInstance, this);
2035
+ };
2036
+
2037
+
2038
+ /**
2039
+ * Static version of the {@see toObject} method.
2040
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2041
+ * the JSPB instance for transitional soy proto support:
2042
+ * http://goto/soy-param-migration
2043
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping} msg The msg instance to transform.
2044
+ * @return {!Object}
2045
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2046
+ */
2047
+ proto.agentbillingserviceapi.AgentBillMapping.toObject = function(includeInstance, msg) {
2048
+ var f, obj = {
2049
+ agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
2050
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
2051
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 3, 0),
2052
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 4, 0)
2053
+ };
2054
+
2055
+ if (includeInstance) {
2056
+ obj.$jspbMessageInstance = msg;
2057
+ }
2058
+ return obj;
2059
+ };
2060
+ }
2061
+
2062
+
2063
+ /**
2064
+ * Deserializes binary data (in protobuf wire format).
2065
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2066
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping}
2067
+ */
2068
+ proto.agentbillingserviceapi.AgentBillMapping.deserializeBinary = function(bytes) {
2069
+ var reader = new jspb.BinaryReader(bytes);
2070
+ var msg = new proto.agentbillingserviceapi.AgentBillMapping;
2071
+ return proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader(msg, reader);
2072
+ };
2073
+
2074
+
2075
+ /**
2076
+ * Deserializes binary data (in protobuf wire format) from the
2077
+ * given reader into the given message object.
2078
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping} msg The message object to deserialize into.
2079
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2080
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping}
2081
+ */
2082
+ proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader = function(msg, reader) {
2083
+ while (reader.nextField()) {
2084
+ if (reader.isEndGroup()) {
2085
+ break;
2086
+ }
2087
+ var field = reader.getFieldNumber();
2088
+ switch (field) {
2089
+ case 1:
2090
+ var value = /** @type {number} */ (reader.readInt64());
2091
+ msg.setAgentbillid(value);
2092
+ break;
2093
+ case 2:
2094
+ var value = /** @type {number} */ (reader.readInt64());
2095
+ msg.setBillid(value);
2096
+ break;
2097
+ case 3:
2098
+ var value = /** @type {number} */ (reader.readInt64());
2099
+ msg.setClientuserid(value);
2100
+ break;
2101
+ case 4:
2102
+ var value = /** @type {number} */ (reader.readInt64());
2103
+ msg.setAgentuserid(value);
2104
+ break;
2105
+ default:
2106
+ reader.skipField();
2107
+ break;
2108
+ }
2109
+ }
2110
+ return msg;
2111
+ };
2112
+
2113
+
2114
+ /**
2115
+ * Serializes the message to binary data (in protobuf wire format).
2116
+ * @return {!Uint8Array}
2117
+ */
2118
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.serializeBinary = function() {
2119
+ var writer = new jspb.BinaryWriter();
2120
+ proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter(this, writer);
2121
+ return writer.getResultBuffer();
2122
+ };
2123
+
2124
+
2125
+ /**
2126
+ * Serializes the given message to binary data (in protobuf wire
2127
+ * format), writing to the given BinaryWriter.
2128
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping} message
2129
+ * @param {!jspb.BinaryWriter} writer
2130
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2131
+ */
2132
+ proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter = function(message, writer) {
2133
+ var f = undefined;
2134
+ f = message.getAgentbillid();
2135
+ if (f !== 0) {
2136
+ writer.writeInt64(
2137
+ 1,
2138
+ f
2139
+ );
2140
+ }
2141
+ f = message.getBillid();
2142
+ if (f !== 0) {
2143
+ writer.writeInt64(
2144
+ 2,
2145
+ f
2146
+ );
2147
+ }
2148
+ f = message.getClientuserid();
2149
+ if (f !== 0) {
2150
+ writer.writeInt64(
2151
+ 3,
2152
+ f
2153
+ );
2154
+ }
2155
+ f = message.getAgentuserid();
2156
+ if (f !== 0) {
2157
+ writer.writeInt64(
2158
+ 4,
2159
+ f
2160
+ );
2161
+ }
2162
+ };
2163
+
2164
+
2165
+ /**
2166
+ * optional int64 agentBillId = 1;
2167
+ * @return {number}
2168
+ */
2169
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.getAgentbillid = function() {
2170
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2171
+ };
2172
+
2173
+
2174
+ /**
2175
+ * @param {number} value
2176
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping} returns this
2177
+ */
2178
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.setAgentbillid = function(value) {
2179
+ return jspb.Message.setProto3IntField(this, 1, value);
2180
+ };
2181
+
2182
+
2183
+ /**
2184
+ * optional int64 billId = 2;
2185
+ * @return {number}
2186
+ */
2187
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.getBillid = function() {
2188
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2189
+ };
2190
+
2191
+
2192
+ /**
2193
+ * @param {number} value
2194
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping} returns this
2195
+ */
2196
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.setBillid = function(value) {
2197
+ return jspb.Message.setProto3IntField(this, 2, value);
2198
+ };
2199
+
2200
+
2201
+ /**
2202
+ * optional int64 clientUserId = 3;
2203
+ * @return {number}
2204
+ */
2205
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.getClientuserid = function() {
2206
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2207
+ };
2208
+
2209
+
2210
+ /**
2211
+ * @param {number} value
2212
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping} returns this
2213
+ */
2214
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.setClientuserid = function(value) {
2215
+ return jspb.Message.setProto3IntField(this, 3, value);
2216
+ };
2217
+
2218
+
2219
+ /**
2220
+ * optional int64 agentUserId = 4;
2221
+ * @return {number}
2222
+ */
2223
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.getAgentuserid = function() {
2224
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
2225
+ };
2226
+
2227
+
2228
+ /**
2229
+ * @param {number} value
2230
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping} returns this
2231
+ */
2232
+ proto.agentbillingserviceapi.AgentBillMapping.prototype.setAgentuserid = function(value) {
2233
+ return jspb.Message.setProto3IntField(this, 4, value);
2234
+ };
2235
+
2236
+
2237
+
2238
+
2239
+
1998
2240
  if (jspb.Message.GENERATE_TO_OBJECT) {
1999
2241
  /**
2000
2242
  * Creates an object representation of this proto.
@@ -3523,7 +3765,8 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includ
3523
3765
  var f, obj = {
3524
3766
  responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
3525
3767
  uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
3526
- addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0)
3768
+ addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
3769
+ uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, "")
3527
3770
  };
3528
3771
 
3529
3772
  if (includeInstance) {
@@ -3573,6 +3816,10 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
3573
3816
  var value = /** @type {number} */ (reader.readInt64());
3574
3817
  msg.setAddedbillscount(value);
3575
3818
  break;
3819
+ case 4:
3820
+ var value = /** @type {string} */ (reader.readString());
3821
+ msg.setUploadbatchname(value);
3822
+ break;
3576
3823
  default:
3577
3824
  reader.skipField();
3578
3825
  break;
@@ -3624,6 +3871,13 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter =
3624
3871
  f
3625
3872
  );
3626
3873
  }
3874
+ f = message.getUploadbatchname();
3875
+ if (f.length > 0) {
3876
+ writer.writeString(
3877
+ 4,
3878
+ f
3879
+ );
3880
+ }
3627
3881
  };
3628
3882
 
3629
3883
 
@@ -3700,6 +3954,24 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAddedbillscou
3700
3954
  };
3701
3955
 
3702
3956
 
3957
+ /**
3958
+ * optional string uploadBatchName = 4;
3959
+ * @return {string}
3960
+ */
3961
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getUploadbatchname = function() {
3962
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3963
+ };
3964
+
3965
+
3966
+ /**
3967
+ * @param {string} value
3968
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
3969
+ */
3970
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchname = function(value) {
3971
+ return jspb.Message.setProto3StringField(this, 4, value);
3972
+ };
3973
+
3974
+
3703
3975
 
3704
3976
 
3705
3977
 
@@ -8766,12 +9038,8 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject
8766
9038
  proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = function(includeInstance, msg) {
8767
9039
  var f, obj = {
8768
9040
  responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
8769
- agentbillsList: jspb.Message.toObjectList(msg.getAgentbillsList(),
8770
- proto.agentbillingserviceapi.AgentBill.toObject, includeInstance),
8771
- page: jspb.Message.getFieldWithDefault(msg, 3, 0),
8772
- size: jspb.Message.getFieldWithDefault(msg, 4, 0),
8773
- totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
8774
- totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
9041
+ agentbillmappingsList: jspb.Message.toObjectList(msg.getAgentbillmappingsList(),
9042
+ proto.agentbillingserviceapi.AgentBillMapping.toObject, includeInstance)
8775
9043
  };
8776
9044
 
8777
9045
  if (includeInstance) {
@@ -8814,25 +9082,9 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryF
8814
9082
  msg.setResponsecode(value);
8815
9083
  break;
8816
9084
  case 2:
8817
- var value = new proto.agentbillingserviceapi.AgentBill;
8818
- reader.readMessage(value,proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader);
8819
- msg.addAgentbills(value);
8820
- break;
8821
- case 3:
8822
- var value = /** @type {number} */ (reader.readInt32());
8823
- msg.setPage(value);
8824
- break;
8825
- case 4:
8826
- var value = /** @type {number} */ (reader.readInt32());
8827
- msg.setSize(value);
8828
- break;
8829
- case 5:
8830
- var value = /** @type {number} */ (reader.readInt32());
8831
- msg.setTotalpages(value);
8832
- break;
8833
- case 6:
8834
- var value = /** @type {number} */ (reader.readInt64());
8835
- msg.setTotalsize(value);
9085
+ var value = new proto.agentbillingserviceapi.AgentBillMapping;
9086
+ reader.readMessage(value,proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader);
9087
+ msg.addAgentbillmappings(value);
8836
9088
  break;
8837
9089
  default:
8838
9090
  reader.skipField();
@@ -8871,40 +9123,12 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToW
8871
9123
  proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
8872
9124
  );
8873
9125
  }
8874
- f = message.getAgentbillsList();
9126
+ f = message.getAgentbillmappingsList();
8875
9127
  if (f.length > 0) {
8876
9128
  writer.writeRepeatedMessage(
8877
9129
  2,
8878
9130
  f,
8879
- proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter
8880
- );
8881
- }
8882
- f = message.getPage();
8883
- if (f !== 0) {
8884
- writer.writeInt32(
8885
- 3,
8886
- f
8887
- );
8888
- }
8889
- f = message.getSize();
8890
- if (f !== 0) {
8891
- writer.writeInt32(
8892
- 4,
8893
- f
8894
- );
8895
- }
8896
- f = message.getTotalpages();
8897
- if (f !== 0) {
8898
- writer.writeInt32(
8899
- 5,
8900
- f
8901
- );
8902
- }
8903
- f = message.getTotalsize();
8904
- if (f !== 0) {
8905
- writer.writeInt64(
8906
- 6,
8907
- f
9131
+ proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter
8908
9132
  );
8909
9133
  }
8910
9134
  };
@@ -8948,31 +9172,31 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.hasRespo
8948
9172
 
8949
9173
 
8950
9174
  /**
8951
- * repeated AgentBill agentBills = 2;
8952
- * @return {!Array<!proto.agentbillingserviceapi.AgentBill>}
9175
+ * repeated AgentBillMapping agentBillMappings = 2;
9176
+ * @return {!Array<!proto.agentbillingserviceapi.AgentBillMapping>}
8953
9177
  */
8954
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillsList = function() {
8955
- return /** @type{!Array<!proto.agentbillingserviceapi.AgentBill>} */ (
8956
- jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBill, 2));
9178
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillmappingsList = function() {
9179
+ return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillMapping>} */ (
9180
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillMapping, 2));
8957
9181
  };
8958
9182
 
8959
9183
 
8960
9184
  /**
8961
- * @param {!Array<!proto.agentbillingserviceapi.AgentBill>} value
9185
+ * @param {!Array<!proto.agentbillingserviceapi.AgentBillMapping>} value
8962
9186
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
8963
9187
  */
8964
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillsList = function(value) {
9188
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillmappingsList = function(value) {
8965
9189
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
8966
9190
  };
8967
9191
 
8968
9192
 
8969
9193
  /**
8970
- * @param {!proto.agentbillingserviceapi.AgentBill=} opt_value
9194
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping=} opt_value
8971
9195
  * @param {number=} opt_index
8972
- * @return {!proto.agentbillingserviceapi.AgentBill}
9196
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping}
8973
9197
  */
8974
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgentbills = function(opt_value, opt_index) {
8975
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBill, opt_index);
9198
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgentbillmappings = function(opt_value, opt_index) {
9199
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBillMapping, opt_index);
8976
9200
  };
8977
9201
 
8978
9202
 
@@ -8980,80 +9204,8 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgent
8980
9204
  * Clears the list making it empty but non-null.
8981
9205
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
8982
9206
  */
8983
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillsList = function() {
8984
- return this.setAgentbillsList([]);
8985
- };
8986
-
8987
-
8988
- /**
8989
- * optional int32 page = 3;
8990
- * @return {number}
8991
- */
8992
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getPage = function() {
8993
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
8994
- };
8995
-
8996
-
8997
- /**
8998
- * @param {number} value
8999
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9000
- */
9001
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setPage = function(value) {
9002
- return jspb.Message.setProto3IntField(this, 3, value);
9003
- };
9004
-
9005
-
9006
- /**
9007
- * optional int32 size = 4;
9008
- * @return {number}
9009
- */
9010
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getSize = function() {
9011
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
9012
- };
9013
-
9014
-
9015
- /**
9016
- * @param {number} value
9017
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9018
- */
9019
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setSize = function(value) {
9020
- return jspb.Message.setProto3IntField(this, 4, value);
9021
- };
9022
-
9023
-
9024
- /**
9025
- * optional int32 totalPages = 5;
9026
- * @return {number}
9027
- */
9028
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getTotalpages = function() {
9029
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
9030
- };
9031
-
9032
-
9033
- /**
9034
- * @param {number} value
9035
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9036
- */
9037
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setTotalpages = function(value) {
9038
- return jspb.Message.setProto3IntField(this, 5, value);
9039
- };
9040
-
9041
-
9042
- /**
9043
- * optional int64 totalSize = 6;
9044
- * @return {number}
9045
- */
9046
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getTotalsize = function() {
9047
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9048
- };
9049
-
9050
-
9051
- /**
9052
- * @param {number} value
9053
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9054
- */
9055
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setTotalsize = function(value) {
9056
- return jspb.Message.setProto3IntField(this, 6, value);
9207
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillmappingsList = function() {
9208
+ return this.setAgentbillmappingsList([]);
9057
9209
  };
9058
9210
 
9059
9211
 
@@ -9090,8 +9242,7 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.toOb
9090
9242
  proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.toObject = function(includeInstance, msg) {
9091
9243
  var f, obj = {
9092
9244
  deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0),
9093
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
9094
- size: jspb.Message.getFieldWithDefault(msg, 3, 0)
9245
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
9095
9246
  };
9096
9247
 
9097
9248
  if (includeInstance) {
@@ -9133,12 +9284,8 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.deserializeBin
9133
9284
  msg.setDeliverybatchid(value);
9134
9285
  break;
9135
9286
  case 2:
9136
- var value = /** @type {number} */ (reader.readInt32());
9137
- msg.setPage(value);
9138
- break;
9139
- case 3:
9140
- var value = /** @type {number} */ (reader.readInt32());
9141
- msg.setSize(value);
9287
+ var value = /** @type {number} */ (reader.readInt64());
9288
+ msg.setUserid(value);
9142
9289
  break;
9143
9290
  default:
9144
9291
  reader.skipField();
@@ -9176,20 +9323,13 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.serializeBinar
9176
9323
  f
9177
9324
  );
9178
9325
  }
9179
- f = message.getPage();
9326
+ f = message.getUserid();
9180
9327
  if (f !== 0) {
9181
- writer.writeInt32(
9328
+ writer.writeInt64(
9182
9329
  2,
9183
9330
  f
9184
9331
  );
9185
9332
  }
9186
- f = message.getSize();
9187
- if (f !== 0) {
9188
- writer.writeInt32(
9189
- 3,
9190
- f
9191
- );
9192
- }
9193
9333
  };
9194
9334
 
9195
9335
 
@@ -9212,10 +9352,10 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setD
9212
9352
 
9213
9353
 
9214
9354
  /**
9215
- * optional int32 page = 2;
9355
+ * optional int64 userId = 2;
9216
9356
  * @return {number}
9217
9357
  */
9218
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getPage = function() {
9358
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getUserid = function() {
9219
9359
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9220
9360
  };
9221
9361
 
@@ -9224,29 +9364,11 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getP
9224
9364
  * @param {number} value
9225
9365
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest} returns this
9226
9366
  */
9227
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setPage = function(value) {
9367
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setUserid = function(value) {
9228
9368
  return jspb.Message.setProto3IntField(this, 2, value);
9229
9369
  };
9230
9370
 
9231
9371
 
9232
- /**
9233
- * optional int32 size = 3;
9234
- * @return {number}
9235
- */
9236
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getSize = function() {
9237
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9238
- };
9239
-
9240
-
9241
- /**
9242
- * @param {number} value
9243
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest} returns this
9244
- */
9245
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setSize = function(value) {
9246
- return jspb.Message.setProto3IntField(this, 3, value);
9247
- };
9248
-
9249
-
9250
9372
 
9251
9373
  /**
9252
9374
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "23.12.844",
3
+ "version": "23.12.866",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",