@sniipwebmaster/agent-billing-client-grpcweb-ts 24.10.2885 → 24.10.2906
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.
|
@@ -2191,5 +2191,27 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
2191
2191
|
this.methodDescriptorDownloadFailedImportErrorLogForTextBasedFile);
|
|
2192
2192
|
}
|
|
2193
2193
|
|
|
2194
|
+
methodDescriptorDownloadReceiptsCsvForClientInPeriod = new grpcWeb.MethodDescriptor(
|
|
2195
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
|
|
2196
|
+
grpcWeb.MethodType.SERVER_STREAMING,
|
|
2197
|
+
service_pb.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
2198
|
+
service_pb.FileDownloadChunk,
|
|
2199
|
+
(request: service_pb.DownloadReceiptsCsvForClientInPeriodRequest) => {
|
|
2200
|
+
return request.serializeBinary();
|
|
2201
|
+
},
|
|
2202
|
+
service_pb.FileDownloadChunk.deserializeBinary
|
|
2203
|
+
);
|
|
2204
|
+
|
|
2205
|
+
downloadReceiptsCsvForClientInPeriod(
|
|
2206
|
+
request: service_pb.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
2207
|
+
metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<service_pb.FileDownloadChunk> {
|
|
2208
|
+
return this.client_.serverStreaming(
|
|
2209
|
+
this.hostname_ +
|
|
2210
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
|
|
2211
|
+
request,
|
|
2212
|
+
metadata || {},
|
|
2213
|
+
this.methodDescriptorDownloadReceiptsCsvForClientInPeriod);
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2194
2216
|
}
|
|
2195
2217
|
|
|
@@ -3140,6 +3140,36 @@ export namespace DownloadFailedImportErrorLogForTextBasedFileRequest {
|
|
|
3140
3140
|
}
|
|
3141
3141
|
}
|
|
3142
3142
|
|
|
3143
|
+
export class DownloadReceiptsCsvForClientInPeriodRequest extends jspb.Message {
|
|
3144
|
+
getClientuserid(): number;
|
|
3145
|
+
setClientuserid(value: number): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3146
|
+
|
|
3147
|
+
getStartdate(): string;
|
|
3148
|
+
setStartdate(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3149
|
+
|
|
3150
|
+
getEnddate(): string;
|
|
3151
|
+
setEnddate(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3152
|
+
|
|
3153
|
+
getTimezone(): string;
|
|
3154
|
+
setTimezone(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3155
|
+
|
|
3156
|
+
serializeBinary(): Uint8Array;
|
|
3157
|
+
toObject(includeInstance?: boolean): DownloadReceiptsCsvForClientInPeriodRequest.AsObject;
|
|
3158
|
+
static toObject(includeInstance: boolean, msg: DownloadReceiptsCsvForClientInPeriodRequest): DownloadReceiptsCsvForClientInPeriodRequest.AsObject;
|
|
3159
|
+
static serializeBinaryToWriter(message: DownloadReceiptsCsvForClientInPeriodRequest, writer: jspb.BinaryWriter): void;
|
|
3160
|
+
static deserializeBinary(bytes: Uint8Array): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3161
|
+
static deserializeBinaryFromReader(message: DownloadReceiptsCsvForClientInPeriodRequest, reader: jspb.BinaryReader): DownloadReceiptsCsvForClientInPeriodRequest;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
export namespace DownloadReceiptsCsvForClientInPeriodRequest {
|
|
3165
|
+
export type AsObject = {
|
|
3166
|
+
clientuserid: number,
|
|
3167
|
+
startdate: string,
|
|
3168
|
+
enddate: string,
|
|
3169
|
+
timezone: string,
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3143
3173
|
export enum BillScanType {
|
|
3144
3174
|
SNIIP = 0,
|
|
3145
3175
|
BPAY = 1,
|
|
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
|
|
|
58
58
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
|
|
59
59
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
60
60
|
goog.exportSymbol('proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest', null, global);
|
|
61
|
+
goog.exportSymbol('proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
|
|
61
62
|
goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
|
|
62
63
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
|
|
63
64
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
|
|
@@ -2045,6 +2046,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2045
2046
|
*/
|
|
2046
2047
|
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest.displayName = 'proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest';
|
|
2047
2048
|
}
|
|
2049
|
+
/**
|
|
2050
|
+
* Generated by JsPbCodeGenerator.
|
|
2051
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2052
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2053
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2054
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2055
|
+
* valid.
|
|
2056
|
+
* @extends {jspb.Message}
|
|
2057
|
+
* @constructor
|
|
2058
|
+
*/
|
|
2059
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest = function(opt_data) {
|
|
2060
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2061
|
+
};
|
|
2062
|
+
goog.inherits(proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest, jspb.Message);
|
|
2063
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2064
|
+
/**
|
|
2065
|
+
* @public
|
|
2066
|
+
* @override
|
|
2067
|
+
*/
|
|
2068
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.displayName = 'proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest';
|
|
2069
|
+
}
|
|
2048
2070
|
|
|
2049
2071
|
|
|
2050
2072
|
|
|
@@ -25643,6 +25665,226 @@ proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest
|
|
|
25643
25665
|
};
|
|
25644
25666
|
|
|
25645
25667
|
|
|
25668
|
+
|
|
25669
|
+
|
|
25670
|
+
|
|
25671
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25672
|
+
/**
|
|
25673
|
+
* Creates an object representation of this proto.
|
|
25674
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25675
|
+
* Optional fields that are not set will be set to undefined.
|
|
25676
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25677
|
+
* For the list of reserved names please see:
|
|
25678
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25679
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25680
|
+
* JSPB instance for transitional soy proto support:
|
|
25681
|
+
* http://goto/soy-param-migration
|
|
25682
|
+
* @return {!Object}
|
|
25683
|
+
*/
|
|
25684
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
25685
|
+
return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject(opt_includeInstance, this);
|
|
25686
|
+
};
|
|
25687
|
+
|
|
25688
|
+
|
|
25689
|
+
/**
|
|
25690
|
+
* Static version of the {@see toObject} method.
|
|
25691
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25692
|
+
* the JSPB instance for transitional soy proto support:
|
|
25693
|
+
* http://goto/soy-param-migration
|
|
25694
|
+
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The msg instance to transform.
|
|
25695
|
+
* @return {!Object}
|
|
25696
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25697
|
+
*/
|
|
25698
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject = function(includeInstance, msg) {
|
|
25699
|
+
var f, obj = {
|
|
25700
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25701
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
25702
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
25703
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
25704
|
+
};
|
|
25705
|
+
|
|
25706
|
+
if (includeInstance) {
|
|
25707
|
+
obj.$jspbMessageInstance = msg;
|
|
25708
|
+
}
|
|
25709
|
+
return obj;
|
|
25710
|
+
};
|
|
25711
|
+
}
|
|
25712
|
+
|
|
25713
|
+
|
|
25714
|
+
/**
|
|
25715
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25716
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25717
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
25718
|
+
*/
|
|
25719
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinary = function(bytes) {
|
|
25720
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25721
|
+
var msg = new proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest;
|
|
25722
|
+
return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader(msg, reader);
|
|
25723
|
+
};
|
|
25724
|
+
|
|
25725
|
+
|
|
25726
|
+
/**
|
|
25727
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25728
|
+
* given reader into the given message object.
|
|
25729
|
+
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The message object to deserialize into.
|
|
25730
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25731
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
25732
|
+
*/
|
|
25733
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
25734
|
+
while (reader.nextField()) {
|
|
25735
|
+
if (reader.isEndGroup()) {
|
|
25736
|
+
break;
|
|
25737
|
+
}
|
|
25738
|
+
var field = reader.getFieldNumber();
|
|
25739
|
+
switch (field) {
|
|
25740
|
+
case 1:
|
|
25741
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
25742
|
+
msg.setClientuserid(value);
|
|
25743
|
+
break;
|
|
25744
|
+
case 2:
|
|
25745
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25746
|
+
msg.setStartdate(value);
|
|
25747
|
+
break;
|
|
25748
|
+
case 3:
|
|
25749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25750
|
+
msg.setEnddate(value);
|
|
25751
|
+
break;
|
|
25752
|
+
case 4:
|
|
25753
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25754
|
+
msg.setTimezone(value);
|
|
25755
|
+
break;
|
|
25756
|
+
default:
|
|
25757
|
+
reader.skipField();
|
|
25758
|
+
break;
|
|
25759
|
+
}
|
|
25760
|
+
}
|
|
25761
|
+
return msg;
|
|
25762
|
+
};
|
|
25763
|
+
|
|
25764
|
+
|
|
25765
|
+
/**
|
|
25766
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25767
|
+
* @return {!Uint8Array}
|
|
25768
|
+
*/
|
|
25769
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.serializeBinary = function() {
|
|
25770
|
+
var writer = new jspb.BinaryWriter();
|
|
25771
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter(this, writer);
|
|
25772
|
+
return writer.getResultBuffer();
|
|
25773
|
+
};
|
|
25774
|
+
|
|
25775
|
+
|
|
25776
|
+
/**
|
|
25777
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25778
|
+
* format), writing to the given BinaryWriter.
|
|
25779
|
+
* @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} message
|
|
25780
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25781
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25782
|
+
*/
|
|
25783
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
25784
|
+
var f = undefined;
|
|
25785
|
+
f = message.getClientuserid();
|
|
25786
|
+
if (f !== 0) {
|
|
25787
|
+
writer.writeInt64(
|
|
25788
|
+
1,
|
|
25789
|
+
f
|
|
25790
|
+
);
|
|
25791
|
+
}
|
|
25792
|
+
f = message.getStartdate();
|
|
25793
|
+
if (f.length > 0) {
|
|
25794
|
+
writer.writeString(
|
|
25795
|
+
2,
|
|
25796
|
+
f
|
|
25797
|
+
);
|
|
25798
|
+
}
|
|
25799
|
+
f = message.getEnddate();
|
|
25800
|
+
if (f.length > 0) {
|
|
25801
|
+
writer.writeString(
|
|
25802
|
+
3,
|
|
25803
|
+
f
|
|
25804
|
+
);
|
|
25805
|
+
}
|
|
25806
|
+
f = message.getTimezone();
|
|
25807
|
+
if (f.length > 0) {
|
|
25808
|
+
writer.writeString(
|
|
25809
|
+
4,
|
|
25810
|
+
f
|
|
25811
|
+
);
|
|
25812
|
+
}
|
|
25813
|
+
};
|
|
25814
|
+
|
|
25815
|
+
|
|
25816
|
+
/**
|
|
25817
|
+
* optional int64 clientUserId = 1;
|
|
25818
|
+
* @return {number}
|
|
25819
|
+
*/
|
|
25820
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getClientuserid = function() {
|
|
25821
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
25822
|
+
};
|
|
25823
|
+
|
|
25824
|
+
|
|
25825
|
+
/**
|
|
25826
|
+
* @param {number} value
|
|
25827
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25828
|
+
*/
|
|
25829
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setClientuserid = function(value) {
|
|
25830
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
25831
|
+
};
|
|
25832
|
+
|
|
25833
|
+
|
|
25834
|
+
/**
|
|
25835
|
+
* optional string startDate = 2;
|
|
25836
|
+
* @return {string}
|
|
25837
|
+
*/
|
|
25838
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getStartdate = function() {
|
|
25839
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
25840
|
+
};
|
|
25841
|
+
|
|
25842
|
+
|
|
25843
|
+
/**
|
|
25844
|
+
* @param {string} value
|
|
25845
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25846
|
+
*/
|
|
25847
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setStartdate = function(value) {
|
|
25848
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
25849
|
+
};
|
|
25850
|
+
|
|
25851
|
+
|
|
25852
|
+
/**
|
|
25853
|
+
* optional string endDate = 3;
|
|
25854
|
+
* @return {string}
|
|
25855
|
+
*/
|
|
25856
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getEnddate = function() {
|
|
25857
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
25858
|
+
};
|
|
25859
|
+
|
|
25860
|
+
|
|
25861
|
+
/**
|
|
25862
|
+
* @param {string} value
|
|
25863
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25864
|
+
*/
|
|
25865
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setEnddate = function(value) {
|
|
25866
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
25867
|
+
};
|
|
25868
|
+
|
|
25869
|
+
|
|
25870
|
+
/**
|
|
25871
|
+
* optional string timezone = 4;
|
|
25872
|
+
* @return {string}
|
|
25873
|
+
*/
|
|
25874
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getTimezone = function() {
|
|
25875
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
25876
|
+
};
|
|
25877
|
+
|
|
25878
|
+
|
|
25879
|
+
/**
|
|
25880
|
+
* @param {string} value
|
|
25881
|
+
* @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
25882
|
+
*/
|
|
25883
|
+
proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setTimezone = function(value) {
|
|
25884
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
25885
|
+
};
|
|
25886
|
+
|
|
25887
|
+
|
|
25646
25888
|
/**
|
|
25647
25889
|
* @enum {number}
|
|
25648
25890
|
*/
|