@sniipwebmaster/agent-billing-client-grpcweb 25.1.3757 → 25.1.3770
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.
- package/dependancies/service_pb.js +324 -1
- package/package.json +1 -1
|
@@ -122,6 +122,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsByUploadBatchId
|
|
|
122
122
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsResponse', null, global);
|
|
123
123
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessTextBasedFileRequest', null, global);
|
|
124
124
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessTextBasedFileResponse', null, global);
|
|
125
|
+
goog.exportSymbol('proto.agentbillingserviceapi.RefundDetails', null, global);
|
|
125
126
|
goog.exportSymbol('proto.agentbillingserviceapi.RenameUploadBatchRequest', null, global);
|
|
126
127
|
goog.exportSymbol('proto.agentbillingserviceapi.ResendAgentInvitationRequest', null, global);
|
|
127
128
|
goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
|
|
@@ -2104,6 +2105,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2104
2105
|
*/
|
|
2105
2106
|
proto.agentbillingserviceapi.AgentBillTransaction.displayName = 'proto.agentbillingserviceapi.AgentBillTransaction';
|
|
2106
2107
|
}
|
|
2108
|
+
/**
|
|
2109
|
+
* Generated by JsPbCodeGenerator.
|
|
2110
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2111
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2112
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2113
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2114
|
+
* valid.
|
|
2115
|
+
* @extends {jspb.Message}
|
|
2116
|
+
* @constructor
|
|
2117
|
+
*/
|
|
2118
|
+
proto.agentbillingserviceapi.RefundDetails = function(opt_data) {
|
|
2119
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2120
|
+
};
|
|
2121
|
+
goog.inherits(proto.agentbillingserviceapi.RefundDetails, jspb.Message);
|
|
2122
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2123
|
+
/**
|
|
2124
|
+
* @public
|
|
2125
|
+
* @override
|
|
2126
|
+
*/
|
|
2127
|
+
proto.agentbillingserviceapi.RefundDetails.displayName = 'proto.agentbillingserviceapi.RefundDetails';
|
|
2128
|
+
}
|
|
2107
2129
|
/**
|
|
2108
2130
|
* Generated by JsPbCodeGenerator.
|
|
2109
2131
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25308,7 +25330,8 @@ proto.agentbillingserviceapi.AgentBillTransaction.toObject = function(includeIns
|
|
|
25308
25330
|
paymentmethodtype: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
25309
25331
|
attachment: (f = msg.getAttachment()) && proto.agentbillingserviceapi.AgentAttachmentInfo.toObject(includeInstance, f),
|
|
25310
25332
|
abn: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
25311
|
-
gst: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0)
|
|
25333
|
+
gst: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
|
|
25334
|
+
refunddetails: (f = msg.getRefunddetails()) && proto.agentbillingserviceapi.RefundDetails.toObject(includeInstance, f)
|
|
25312
25335
|
};
|
|
25313
25336
|
|
|
25314
25337
|
if (includeInstance) {
|
|
@@ -25431,6 +25454,11 @@ proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader =
|
|
|
25431
25454
|
var value = /** @type {number} */ (reader.readDouble());
|
|
25432
25455
|
msg.setGst(value);
|
|
25433
25456
|
break;
|
|
25457
|
+
case 22:
|
|
25458
|
+
var value = new proto.agentbillingserviceapi.RefundDetails;
|
|
25459
|
+
reader.readMessage(value,proto.agentbillingserviceapi.RefundDetails.deserializeBinaryFromReader);
|
|
25460
|
+
msg.setRefunddetails(value);
|
|
25461
|
+
break;
|
|
25434
25462
|
default:
|
|
25435
25463
|
reader.skipField();
|
|
25436
25464
|
break;
|
|
@@ -25609,6 +25637,14 @@ proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter = func
|
|
|
25609
25637
|
f
|
|
25610
25638
|
);
|
|
25611
25639
|
}
|
|
25640
|
+
f = message.getRefunddetails();
|
|
25641
|
+
if (f != null) {
|
|
25642
|
+
writer.writeMessage(
|
|
25643
|
+
22,
|
|
25644
|
+
f,
|
|
25645
|
+
proto.agentbillingserviceapi.RefundDetails.serializeBinaryToWriter
|
|
25646
|
+
);
|
|
25647
|
+
}
|
|
25612
25648
|
};
|
|
25613
25649
|
|
|
25614
25650
|
|
|
@@ -26028,6 +26064,293 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setGst = function(va
|
|
|
26028
26064
|
};
|
|
26029
26065
|
|
|
26030
26066
|
|
|
26067
|
+
/**
|
|
26068
|
+
* optional RefundDetails refundDetails = 22;
|
|
26069
|
+
* @return {?proto.agentbillingserviceapi.RefundDetails}
|
|
26070
|
+
*/
|
|
26071
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getRefunddetails = function() {
|
|
26072
|
+
return /** @type{?proto.agentbillingserviceapi.RefundDetails} */ (
|
|
26073
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.RefundDetails, 22));
|
|
26074
|
+
};
|
|
26075
|
+
|
|
26076
|
+
|
|
26077
|
+
/**
|
|
26078
|
+
* @param {?proto.agentbillingserviceapi.RefundDetails|undefined} value
|
|
26079
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
26080
|
+
*/
|
|
26081
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRefunddetails = function(value) {
|
|
26082
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
26083
|
+
};
|
|
26084
|
+
|
|
26085
|
+
|
|
26086
|
+
/**
|
|
26087
|
+
* Clears the message field making it undefined.
|
|
26088
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
26089
|
+
*/
|
|
26090
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.clearRefunddetails = function() {
|
|
26091
|
+
return this.setRefunddetails(undefined);
|
|
26092
|
+
};
|
|
26093
|
+
|
|
26094
|
+
|
|
26095
|
+
/**
|
|
26096
|
+
* Returns whether this field is set.
|
|
26097
|
+
* @return {boolean}
|
|
26098
|
+
*/
|
|
26099
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.hasRefunddetails = function() {
|
|
26100
|
+
return jspb.Message.getField(this, 22) != null;
|
|
26101
|
+
};
|
|
26102
|
+
|
|
26103
|
+
|
|
26104
|
+
|
|
26105
|
+
|
|
26106
|
+
|
|
26107
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26108
|
+
/**
|
|
26109
|
+
* Creates an object representation of this proto.
|
|
26110
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26111
|
+
* Optional fields that are not set will be set to undefined.
|
|
26112
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26113
|
+
* For the list of reserved names please see:
|
|
26114
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26115
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26116
|
+
* JSPB instance for transitional soy proto support:
|
|
26117
|
+
* http://goto/soy-param-migration
|
|
26118
|
+
* @return {!Object}
|
|
26119
|
+
*/
|
|
26120
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.toObject = function(opt_includeInstance) {
|
|
26121
|
+
return proto.agentbillingserviceapi.RefundDetails.toObject(opt_includeInstance, this);
|
|
26122
|
+
};
|
|
26123
|
+
|
|
26124
|
+
|
|
26125
|
+
/**
|
|
26126
|
+
* Static version of the {@see toObject} method.
|
|
26127
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26128
|
+
* the JSPB instance for transitional soy proto support:
|
|
26129
|
+
* http://goto/soy-param-migration
|
|
26130
|
+
* @param {!proto.agentbillingserviceapi.RefundDetails} msg The msg instance to transform.
|
|
26131
|
+
* @return {!Object}
|
|
26132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26133
|
+
*/
|
|
26134
|
+
proto.agentbillingserviceapi.RefundDetails.toObject = function(includeInstance, msg) {
|
|
26135
|
+
var f, obj = {
|
|
26136
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26137
|
+
datetimerefunded: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
26138
|
+
refundamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
26139
|
+
surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
26140
|
+
totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0)
|
|
26141
|
+
};
|
|
26142
|
+
|
|
26143
|
+
if (includeInstance) {
|
|
26144
|
+
obj.$jspbMessageInstance = msg;
|
|
26145
|
+
}
|
|
26146
|
+
return obj;
|
|
26147
|
+
};
|
|
26148
|
+
}
|
|
26149
|
+
|
|
26150
|
+
|
|
26151
|
+
/**
|
|
26152
|
+
* Deserializes binary data (in protobuf wire format).
|
|
26153
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
26154
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails}
|
|
26155
|
+
*/
|
|
26156
|
+
proto.agentbillingserviceapi.RefundDetails.deserializeBinary = function(bytes) {
|
|
26157
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
26158
|
+
var msg = new proto.agentbillingserviceapi.RefundDetails;
|
|
26159
|
+
return proto.agentbillingserviceapi.RefundDetails.deserializeBinaryFromReader(msg, reader);
|
|
26160
|
+
};
|
|
26161
|
+
|
|
26162
|
+
|
|
26163
|
+
/**
|
|
26164
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
26165
|
+
* given reader into the given message object.
|
|
26166
|
+
* @param {!proto.agentbillingserviceapi.RefundDetails} msg The message object to deserialize into.
|
|
26167
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
26168
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails}
|
|
26169
|
+
*/
|
|
26170
|
+
proto.agentbillingserviceapi.RefundDetails.deserializeBinaryFromReader = function(msg, reader) {
|
|
26171
|
+
while (reader.nextField()) {
|
|
26172
|
+
if (reader.isEndGroup()) {
|
|
26173
|
+
break;
|
|
26174
|
+
}
|
|
26175
|
+
var field = reader.getFieldNumber();
|
|
26176
|
+
switch (field) {
|
|
26177
|
+
case 1:
|
|
26178
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
26179
|
+
msg.setTransactionid(value);
|
|
26180
|
+
break;
|
|
26181
|
+
case 2:
|
|
26182
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26183
|
+
msg.setDatetimerefunded(value);
|
|
26184
|
+
break;
|
|
26185
|
+
case 8:
|
|
26186
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
26187
|
+
msg.setRefundamount(value);
|
|
26188
|
+
break;
|
|
26189
|
+
case 9:
|
|
26190
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
26191
|
+
msg.setSurcharge(value);
|
|
26192
|
+
break;
|
|
26193
|
+
case 10:
|
|
26194
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
26195
|
+
msg.setTotalamount(value);
|
|
26196
|
+
break;
|
|
26197
|
+
default:
|
|
26198
|
+
reader.skipField();
|
|
26199
|
+
break;
|
|
26200
|
+
}
|
|
26201
|
+
}
|
|
26202
|
+
return msg;
|
|
26203
|
+
};
|
|
26204
|
+
|
|
26205
|
+
|
|
26206
|
+
/**
|
|
26207
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
26208
|
+
* @return {!Uint8Array}
|
|
26209
|
+
*/
|
|
26210
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.serializeBinary = function() {
|
|
26211
|
+
var writer = new jspb.BinaryWriter();
|
|
26212
|
+
proto.agentbillingserviceapi.RefundDetails.serializeBinaryToWriter(this, writer);
|
|
26213
|
+
return writer.getResultBuffer();
|
|
26214
|
+
};
|
|
26215
|
+
|
|
26216
|
+
|
|
26217
|
+
/**
|
|
26218
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
26219
|
+
* format), writing to the given BinaryWriter.
|
|
26220
|
+
* @param {!proto.agentbillingserviceapi.RefundDetails} message
|
|
26221
|
+
* @param {!jspb.BinaryWriter} writer
|
|
26222
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26223
|
+
*/
|
|
26224
|
+
proto.agentbillingserviceapi.RefundDetails.serializeBinaryToWriter = function(message, writer) {
|
|
26225
|
+
var f = undefined;
|
|
26226
|
+
f = message.getTransactionid();
|
|
26227
|
+
if (f !== 0) {
|
|
26228
|
+
writer.writeInt64(
|
|
26229
|
+
1,
|
|
26230
|
+
f
|
|
26231
|
+
);
|
|
26232
|
+
}
|
|
26233
|
+
f = message.getDatetimerefunded();
|
|
26234
|
+
if (f.length > 0) {
|
|
26235
|
+
writer.writeString(
|
|
26236
|
+
2,
|
|
26237
|
+
f
|
|
26238
|
+
);
|
|
26239
|
+
}
|
|
26240
|
+
f = message.getRefundamount();
|
|
26241
|
+
if (f !== 0.0) {
|
|
26242
|
+
writer.writeDouble(
|
|
26243
|
+
8,
|
|
26244
|
+
f
|
|
26245
|
+
);
|
|
26246
|
+
}
|
|
26247
|
+
f = message.getSurcharge();
|
|
26248
|
+
if (f !== 0.0) {
|
|
26249
|
+
writer.writeDouble(
|
|
26250
|
+
9,
|
|
26251
|
+
f
|
|
26252
|
+
);
|
|
26253
|
+
}
|
|
26254
|
+
f = message.getTotalamount();
|
|
26255
|
+
if (f !== 0.0) {
|
|
26256
|
+
writer.writeDouble(
|
|
26257
|
+
10,
|
|
26258
|
+
f
|
|
26259
|
+
);
|
|
26260
|
+
}
|
|
26261
|
+
};
|
|
26262
|
+
|
|
26263
|
+
|
|
26264
|
+
/**
|
|
26265
|
+
* optional int64 transactionId = 1;
|
|
26266
|
+
* @return {number}
|
|
26267
|
+
*/
|
|
26268
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.getTransactionid = function() {
|
|
26269
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
26270
|
+
};
|
|
26271
|
+
|
|
26272
|
+
|
|
26273
|
+
/**
|
|
26274
|
+
* @param {number} value
|
|
26275
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails} returns this
|
|
26276
|
+
*/
|
|
26277
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.setTransactionid = function(value) {
|
|
26278
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
26279
|
+
};
|
|
26280
|
+
|
|
26281
|
+
|
|
26282
|
+
/**
|
|
26283
|
+
* optional string dateTimeRefunded = 2;
|
|
26284
|
+
* @return {string}
|
|
26285
|
+
*/
|
|
26286
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.getDatetimerefunded = function() {
|
|
26287
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
26288
|
+
};
|
|
26289
|
+
|
|
26290
|
+
|
|
26291
|
+
/**
|
|
26292
|
+
* @param {string} value
|
|
26293
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails} returns this
|
|
26294
|
+
*/
|
|
26295
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.setDatetimerefunded = function(value) {
|
|
26296
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
26297
|
+
};
|
|
26298
|
+
|
|
26299
|
+
|
|
26300
|
+
/**
|
|
26301
|
+
* optional double refundAmount = 8;
|
|
26302
|
+
* @return {number}
|
|
26303
|
+
*/
|
|
26304
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.getRefundamount = function() {
|
|
26305
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
26306
|
+
};
|
|
26307
|
+
|
|
26308
|
+
|
|
26309
|
+
/**
|
|
26310
|
+
* @param {number} value
|
|
26311
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails} returns this
|
|
26312
|
+
*/
|
|
26313
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.setRefundamount = function(value) {
|
|
26314
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
26315
|
+
};
|
|
26316
|
+
|
|
26317
|
+
|
|
26318
|
+
/**
|
|
26319
|
+
* optional double surcharge = 9;
|
|
26320
|
+
* @return {number}
|
|
26321
|
+
*/
|
|
26322
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.getSurcharge = function() {
|
|
26323
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
26324
|
+
};
|
|
26325
|
+
|
|
26326
|
+
|
|
26327
|
+
/**
|
|
26328
|
+
* @param {number} value
|
|
26329
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails} returns this
|
|
26330
|
+
*/
|
|
26331
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.setSurcharge = function(value) {
|
|
26332
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
26333
|
+
};
|
|
26334
|
+
|
|
26335
|
+
|
|
26336
|
+
/**
|
|
26337
|
+
* optional double totalAmount = 10;
|
|
26338
|
+
* @return {number}
|
|
26339
|
+
*/
|
|
26340
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.getTotalamount = function() {
|
|
26341
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
26342
|
+
};
|
|
26343
|
+
|
|
26344
|
+
|
|
26345
|
+
/**
|
|
26346
|
+
* @param {number} value
|
|
26347
|
+
* @return {!proto.agentbillingserviceapi.RefundDetails} returns this
|
|
26348
|
+
*/
|
|
26349
|
+
proto.agentbillingserviceapi.RefundDetails.prototype.setTotalamount = function(value) {
|
|
26350
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
26351
|
+
};
|
|
26352
|
+
|
|
26353
|
+
|
|
26031
26354
|
|
|
26032
26355
|
|
|
26033
26356
|
|