@sniipwebmaster/agent-billing-client-grpcweb-ts 23.12.855 → 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;
@@ -1023,22 +1053,10 @@ export class GetDeliveryBatchContentsResponse extends jspb.Message {
1023
1053
  hasResponsecode(): boolean;
1024
1054
  clearResponsecode(): GetDeliveryBatchContentsResponse;
1025
1055
 
1026
- getAgentbillsList(): Array<AgentBill>;
1027
- setAgentbillsList(value: Array<AgentBill>): GetDeliveryBatchContentsResponse;
1028
- clearAgentbillsList(): GetDeliveryBatchContentsResponse;
1029
- addAgentbills(value?: AgentBill, index?: number): AgentBill;
1030
-
1031
- getPage(): number;
1032
- setPage(value: number): GetDeliveryBatchContentsResponse;
1033
-
1034
- getSize(): number;
1035
- setSize(value: number): GetDeliveryBatchContentsResponse;
1036
-
1037
- getTotalpages(): number;
1038
- setTotalpages(value: number): GetDeliveryBatchContentsResponse;
1039
-
1040
- getTotalsize(): number;
1041
- setTotalsize(value: number): GetDeliveryBatchContentsResponse;
1056
+ getAgentbillmappingsList(): Array<AgentBillMapping>;
1057
+ setAgentbillmappingsList(value: Array<AgentBillMapping>): GetDeliveryBatchContentsResponse;
1058
+ clearAgentbillmappingsList(): GetDeliveryBatchContentsResponse;
1059
+ addAgentbillmappings(value?: AgentBillMapping, index?: number): AgentBillMapping;
1042
1060
 
1043
1061
  serializeBinary(): Uint8Array;
1044
1062
  toObject(includeInstance?: boolean): GetDeliveryBatchContentsResponse.AsObject;
@@ -1051,11 +1069,7 @@ export class GetDeliveryBatchContentsResponse extends jspb.Message {
1051
1069
  export namespace GetDeliveryBatchContentsResponse {
1052
1070
  export type AsObject = {
1053
1071
  responsecode?: ResponseCode.AsObject,
1054
- agentbillsList: Array<AgentBill.AsObject>,
1055
- page: number,
1056
- size: number,
1057
- totalpages: number,
1058
- totalsize: number,
1072
+ agentbillmappingsList: Array<AgentBillMapping.AsObject>,
1059
1073
  }
1060
1074
  }
1061
1075
 
@@ -1063,11 +1077,8 @@ export class GetDeliveryBatchContentsToPayRequest extends jspb.Message {
1063
1077
  getDeliverybatchid(): number;
1064
1078
  setDeliverybatchid(value: number): GetDeliveryBatchContentsToPayRequest;
1065
1079
 
1066
- getPage(): number;
1067
- setPage(value: number): GetDeliveryBatchContentsToPayRequest;
1068
-
1069
- getSize(): number;
1070
- setSize(value: number): GetDeliveryBatchContentsToPayRequest;
1080
+ getUserid(): number;
1081
+ setUserid(value: number): GetDeliveryBatchContentsToPayRequest;
1071
1082
 
1072
1083
  serializeBinary(): Uint8Array;
1073
1084
  toObject(includeInstance?: boolean): GetDeliveryBatchContentsToPayRequest.AsObject;
@@ -1080,8 +1091,7 @@ export class GetDeliveryBatchContentsToPayRequest extends jspb.Message {
1080
1091
  export namespace GetDeliveryBatchContentsToPayRequest {
1081
1092
  export type AsObject = {
1082
1093
  deliverybatchid: number,
1083
- page: number,
1084
- size: number,
1094
+ userid: number,
1085
1095
  }
1086
1096
  }
1087
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.
@@ -8796,12 +9038,8 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject
8796
9038
  proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = function(includeInstance, msg) {
8797
9039
  var f, obj = {
8798
9040
  responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
8799
- agentbillsList: jspb.Message.toObjectList(msg.getAgentbillsList(),
8800
- proto.agentbillingserviceapi.AgentBill.toObject, includeInstance),
8801
- page: jspb.Message.getFieldWithDefault(msg, 3, 0),
8802
- size: jspb.Message.getFieldWithDefault(msg, 4, 0),
8803
- totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
8804
- totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
9041
+ agentbillmappingsList: jspb.Message.toObjectList(msg.getAgentbillmappingsList(),
9042
+ proto.agentbillingserviceapi.AgentBillMapping.toObject, includeInstance)
8805
9043
  };
8806
9044
 
8807
9045
  if (includeInstance) {
@@ -8844,25 +9082,9 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryF
8844
9082
  msg.setResponsecode(value);
8845
9083
  break;
8846
9084
  case 2:
8847
- var value = new proto.agentbillingserviceapi.AgentBill;
8848
- reader.readMessage(value,proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader);
8849
- msg.addAgentbills(value);
8850
- break;
8851
- case 3:
8852
- var value = /** @type {number} */ (reader.readInt32());
8853
- msg.setPage(value);
8854
- break;
8855
- case 4:
8856
- var value = /** @type {number} */ (reader.readInt32());
8857
- msg.setSize(value);
8858
- break;
8859
- case 5:
8860
- var value = /** @type {number} */ (reader.readInt32());
8861
- msg.setTotalpages(value);
8862
- break;
8863
- case 6:
8864
- var value = /** @type {number} */ (reader.readInt64());
8865
- msg.setTotalsize(value);
9085
+ var value = new proto.agentbillingserviceapi.AgentBillMapping;
9086
+ reader.readMessage(value,proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader);
9087
+ msg.addAgentbillmappings(value);
8866
9088
  break;
8867
9089
  default:
8868
9090
  reader.skipField();
@@ -8901,40 +9123,12 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToW
8901
9123
  proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
8902
9124
  );
8903
9125
  }
8904
- f = message.getAgentbillsList();
9126
+ f = message.getAgentbillmappingsList();
8905
9127
  if (f.length > 0) {
8906
9128
  writer.writeRepeatedMessage(
8907
9129
  2,
8908
9130
  f,
8909
- proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter
8910
- );
8911
- }
8912
- f = message.getPage();
8913
- if (f !== 0) {
8914
- writer.writeInt32(
8915
- 3,
8916
- f
8917
- );
8918
- }
8919
- f = message.getSize();
8920
- if (f !== 0) {
8921
- writer.writeInt32(
8922
- 4,
8923
- f
8924
- );
8925
- }
8926
- f = message.getTotalpages();
8927
- if (f !== 0) {
8928
- writer.writeInt32(
8929
- 5,
8930
- f
8931
- );
8932
- }
8933
- f = message.getTotalsize();
8934
- if (f !== 0) {
8935
- writer.writeInt64(
8936
- 6,
8937
- f
9131
+ proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter
8938
9132
  );
8939
9133
  }
8940
9134
  };
@@ -8978,31 +9172,31 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.hasRespo
8978
9172
 
8979
9173
 
8980
9174
  /**
8981
- * repeated AgentBill agentBills = 2;
8982
- * @return {!Array<!proto.agentbillingserviceapi.AgentBill>}
9175
+ * repeated AgentBillMapping agentBillMappings = 2;
9176
+ * @return {!Array<!proto.agentbillingserviceapi.AgentBillMapping>}
8983
9177
  */
8984
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillsList = function() {
8985
- return /** @type{!Array<!proto.agentbillingserviceapi.AgentBill>} */ (
8986
- 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));
8987
9181
  };
8988
9182
 
8989
9183
 
8990
9184
  /**
8991
- * @param {!Array<!proto.agentbillingserviceapi.AgentBill>} value
9185
+ * @param {!Array<!proto.agentbillingserviceapi.AgentBillMapping>} value
8992
9186
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
8993
9187
  */
8994
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillsList = function(value) {
9188
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillmappingsList = function(value) {
8995
9189
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
8996
9190
  };
8997
9191
 
8998
9192
 
8999
9193
  /**
9000
- * @param {!proto.agentbillingserviceapi.AgentBill=} opt_value
9194
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping=} opt_value
9001
9195
  * @param {number=} opt_index
9002
- * @return {!proto.agentbillingserviceapi.AgentBill}
9196
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping}
9003
9197
  */
9004
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgentbills = function(opt_value, opt_index) {
9005
- 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);
9006
9200
  };
9007
9201
 
9008
9202
 
@@ -9010,80 +9204,8 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgent
9010
9204
  * Clears the list making it empty but non-null.
9011
9205
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9012
9206
  */
9013
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillsList = function() {
9014
- return this.setAgentbillsList([]);
9015
- };
9016
-
9017
-
9018
- /**
9019
- * optional int32 page = 3;
9020
- * @return {number}
9021
- */
9022
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getPage = function() {
9023
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9024
- };
9025
-
9026
-
9027
- /**
9028
- * @param {number} value
9029
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9030
- */
9031
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setPage = function(value) {
9032
- return jspb.Message.setProto3IntField(this, 3, value);
9033
- };
9034
-
9035
-
9036
- /**
9037
- * optional int32 size = 4;
9038
- * @return {number}
9039
- */
9040
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getSize = function() {
9041
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
9042
- };
9043
-
9044
-
9045
- /**
9046
- * @param {number} value
9047
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9048
- */
9049
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setSize = function(value) {
9050
- return jspb.Message.setProto3IntField(this, 4, value);
9051
- };
9052
-
9053
-
9054
- /**
9055
- * optional int32 totalPages = 5;
9056
- * @return {number}
9057
- */
9058
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getTotalpages = function() {
9059
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
9060
- };
9061
-
9062
-
9063
- /**
9064
- * @param {number} value
9065
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9066
- */
9067
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setTotalpages = function(value) {
9068
- return jspb.Message.setProto3IntField(this, 5, value);
9069
- };
9070
-
9071
-
9072
- /**
9073
- * optional int64 totalSize = 6;
9074
- * @return {number}
9075
- */
9076
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getTotalsize = function() {
9077
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9078
- };
9079
-
9080
-
9081
- /**
9082
- * @param {number} value
9083
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9084
- */
9085
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setTotalsize = function(value) {
9086
- return jspb.Message.setProto3IntField(this, 6, value);
9207
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillmappingsList = function() {
9208
+ return this.setAgentbillmappingsList([]);
9087
9209
  };
9088
9210
 
9089
9211
 
@@ -9120,8 +9242,7 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.toOb
9120
9242
  proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.toObject = function(includeInstance, msg) {
9121
9243
  var f, obj = {
9122
9244
  deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0),
9123
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
9124
- size: jspb.Message.getFieldWithDefault(msg, 3, 0)
9245
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
9125
9246
  };
9126
9247
 
9127
9248
  if (includeInstance) {
@@ -9163,12 +9284,8 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.deserializeBin
9163
9284
  msg.setDeliverybatchid(value);
9164
9285
  break;
9165
9286
  case 2:
9166
- var value = /** @type {number} */ (reader.readInt32());
9167
- msg.setPage(value);
9168
- break;
9169
- case 3:
9170
- var value = /** @type {number} */ (reader.readInt32());
9171
- msg.setSize(value);
9287
+ var value = /** @type {number} */ (reader.readInt64());
9288
+ msg.setUserid(value);
9172
9289
  break;
9173
9290
  default:
9174
9291
  reader.skipField();
@@ -9206,20 +9323,13 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.serializeBinar
9206
9323
  f
9207
9324
  );
9208
9325
  }
9209
- f = message.getPage();
9326
+ f = message.getUserid();
9210
9327
  if (f !== 0) {
9211
- writer.writeInt32(
9328
+ writer.writeInt64(
9212
9329
  2,
9213
9330
  f
9214
9331
  );
9215
9332
  }
9216
- f = message.getSize();
9217
- if (f !== 0) {
9218
- writer.writeInt32(
9219
- 3,
9220
- f
9221
- );
9222
- }
9223
9333
  };
9224
9334
 
9225
9335
 
@@ -9242,10 +9352,10 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setD
9242
9352
 
9243
9353
 
9244
9354
  /**
9245
- * optional int32 page = 2;
9355
+ * optional int64 userId = 2;
9246
9356
  * @return {number}
9247
9357
  */
9248
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getPage = function() {
9358
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getUserid = function() {
9249
9359
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9250
9360
  };
9251
9361
 
@@ -9254,29 +9364,11 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getP
9254
9364
  * @param {number} value
9255
9365
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest} returns this
9256
9366
  */
9257
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setPage = function(value) {
9367
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setUserid = function(value) {
9258
9368
  return jspb.Message.setProto3IntField(this, 2, value);
9259
9369
  };
9260
9370
 
9261
9371
 
9262
- /**
9263
- * optional int32 size = 3;
9264
- * @return {number}
9265
- */
9266
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.getSize = function() {
9267
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9268
- };
9269
-
9270
-
9271
- /**
9272
- * @param {number} value
9273
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest} returns this
9274
- */
9275
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest.prototype.setSize = function(value) {
9276
- return jspb.Message.setProto3IntField(this, 3, value);
9277
- };
9278
-
9279
-
9280
9372
 
9281
9373
  /**
9282
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.855",
3
+ "version": "23.12.866",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",