@sniipwebmaster/agent-billing-client-grpcweb-ts 24.5.2284 → 24.5.2304

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.
@@ -814,6 +814,49 @@ export class AgentBillingServiceAPIServiceClient {
814
814
  this.methodDescriptorGetAgentBillsForClient);
815
815
  }
816
816
 
817
+ methodDescriptorGetAgentBillsByAgentBillIds = new grpcWeb.MethodDescriptor(
818
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsByAgentBillIds',
819
+ grpcWeb.MethodType.UNARY,
820
+ service_pb.GetAgentBillsByAgentBillIdsRequest,
821
+ service_pb.GetAgentBillsResponse,
822
+ (request: service_pb.GetAgentBillsByAgentBillIdsRequest) => {
823
+ return request.serializeBinary();
824
+ },
825
+ service_pb.GetAgentBillsResponse.deserializeBinary
826
+ );
827
+
828
+ getAgentBillsByAgentBillIds(
829
+ request: service_pb.GetAgentBillsByAgentBillIdsRequest,
830
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillsResponse>;
831
+
832
+ getAgentBillsByAgentBillIds(
833
+ request: service_pb.GetAgentBillsByAgentBillIdsRequest,
834
+ metadata: grpcWeb.Metadata | null,
835
+ callback: (err: grpcWeb.RpcError,
836
+ response: service_pb.GetAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillsResponse>;
837
+
838
+ getAgentBillsByAgentBillIds(
839
+ request: service_pb.GetAgentBillsByAgentBillIdsRequest,
840
+ metadata: grpcWeb.Metadata | null,
841
+ callback?: (err: grpcWeb.RpcError,
842
+ response: service_pb.GetAgentBillsResponse) => void) {
843
+ if (callback !== undefined) {
844
+ return this.client_.rpcCall(
845
+ this.hostname_ +
846
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsByAgentBillIds',
847
+ request,
848
+ metadata || {},
849
+ this.methodDescriptorGetAgentBillsByAgentBillIds,
850
+ callback);
851
+ }
852
+ return this.client_.unaryCall(
853
+ this.hostname_ +
854
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsByAgentBillIds',
855
+ request,
856
+ metadata || {},
857
+ this.methodDescriptorGetAgentBillsByAgentBillIds);
858
+ }
859
+
817
860
  methodDescriptorGetAgentConnectionCategoryCounts = new grpcWeb.MethodDescriptor(
818
861
  '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
819
862
  grpcWeb.MethodType.UNARY,
@@ -1454,6 +1454,26 @@ export namespace GetAgentBillsForClientRequest {
1454
1454
  }
1455
1455
  }
1456
1456
 
1457
+ export class GetAgentBillsByAgentBillIdsRequest extends jspb.Message {
1458
+ getAgentbillidsList(): Array<number>;
1459
+ setAgentbillidsList(value: Array<number>): GetAgentBillsByAgentBillIdsRequest;
1460
+ clearAgentbillidsList(): GetAgentBillsByAgentBillIdsRequest;
1461
+ addAgentbillids(value: number, index?: number): GetAgentBillsByAgentBillIdsRequest;
1462
+
1463
+ serializeBinary(): Uint8Array;
1464
+ toObject(includeInstance?: boolean): GetAgentBillsByAgentBillIdsRequest.AsObject;
1465
+ static toObject(includeInstance: boolean, msg: GetAgentBillsByAgentBillIdsRequest): GetAgentBillsByAgentBillIdsRequest.AsObject;
1466
+ static serializeBinaryToWriter(message: GetAgentBillsByAgentBillIdsRequest, writer: jspb.BinaryWriter): void;
1467
+ static deserializeBinary(bytes: Uint8Array): GetAgentBillsByAgentBillIdsRequest;
1468
+ static deserializeBinaryFromReader(message: GetAgentBillsByAgentBillIdsRequest, reader: jspb.BinaryReader): GetAgentBillsByAgentBillIdsRequest;
1469
+ }
1470
+
1471
+ export namespace GetAgentBillsByAgentBillIdsRequest {
1472
+ export type AsObject = {
1473
+ agentbillidsList: Array<number>,
1474
+ }
1475
+ }
1476
+
1457
1477
  export class GetAgentBillsResponse extends jspb.Message {
1458
1478
  getResponsecode(): ResponseCode | undefined;
1459
1479
  setResponsecode(value?: ResponseCode): GetAgentBillsResponse;
@@ -61,6 +61,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRespon
61
61
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest', null, global);
62
62
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse', null, global);
63
63
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillTransactionsResponse', null, global);
64
+ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest', null, global);
64
65
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
65
66
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
66
67
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse', null, global);
@@ -990,6 +991,27 @@ if (goog.DEBUG && !COMPILED) {
990
991
  */
991
992
  proto.agentbillingserviceapi.GetAgentBillsForClientRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillsForClientRequest';
992
993
  }
994
+ /**
995
+ * Generated by JsPbCodeGenerator.
996
+ * @param {Array=} opt_data Optional initial data array, typically from a
997
+ * server response, or constructed directly in Javascript. The array is used
998
+ * in place and becomes part of the constructed object. It is not cloned.
999
+ * If no data is provided, the constructed object will be empty, but still
1000
+ * valid.
1001
+ * @extends {jspb.Message}
1002
+ * @constructor
1003
+ */
1004
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest = function(opt_data) {
1005
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.repeatedFields_, null);
1006
+ };
1007
+ goog.inherits(proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest, jspb.Message);
1008
+ if (goog.DEBUG && !COMPILED) {
1009
+ /**
1010
+ * @public
1011
+ * @override
1012
+ */
1013
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest';
1014
+ }
993
1015
  /**
994
1016
  * Generated by JsPbCodeGenerator.
995
1017
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -12825,6 +12847,162 @@ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setStatus =
12825
12847
 
12826
12848
 
12827
12849
 
12850
+ /**
12851
+ * List of repeated fields within this message type.
12852
+ * @private {!Array<number>}
12853
+ * @const
12854
+ */
12855
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.repeatedFields_ = [1];
12856
+
12857
+
12858
+
12859
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12860
+ /**
12861
+ * Creates an object representation of this proto.
12862
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12863
+ * Optional fields that are not set will be set to undefined.
12864
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12865
+ * For the list of reserved names please see:
12866
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12867
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12868
+ * JSPB instance for transitional soy proto support:
12869
+ * http://goto/soy-param-migration
12870
+ * @return {!Object}
12871
+ */
12872
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
12873
+ return proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.toObject(opt_includeInstance, this);
12874
+ };
12875
+
12876
+
12877
+ /**
12878
+ * Static version of the {@see toObject} method.
12879
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12880
+ * the JSPB instance for transitional soy proto support:
12881
+ * http://goto/soy-param-migration
12882
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest} msg The msg instance to transform.
12883
+ * @return {!Object}
12884
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12885
+ */
12886
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.toObject = function(includeInstance, msg) {
12887
+ var f, obj = {
12888
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
12889
+ };
12890
+
12891
+ if (includeInstance) {
12892
+ obj.$jspbMessageInstance = msg;
12893
+ }
12894
+ return obj;
12895
+ };
12896
+ }
12897
+
12898
+
12899
+ /**
12900
+ * Deserializes binary data (in protobuf wire format).
12901
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12902
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest}
12903
+ */
12904
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.deserializeBinary = function(bytes) {
12905
+ var reader = new jspb.BinaryReader(bytes);
12906
+ var msg = new proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest;
12907
+ return proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader(msg, reader);
12908
+ };
12909
+
12910
+
12911
+ /**
12912
+ * Deserializes binary data (in protobuf wire format) from the
12913
+ * given reader into the given message object.
12914
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest} msg The message object to deserialize into.
12915
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12916
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest}
12917
+ */
12918
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
12919
+ while (reader.nextField()) {
12920
+ if (reader.isEndGroup()) {
12921
+ break;
12922
+ }
12923
+ var field = reader.getFieldNumber();
12924
+ switch (field) {
12925
+ case 1:
12926
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
12927
+ msg.setAgentbillidsList(value);
12928
+ break;
12929
+ default:
12930
+ reader.skipField();
12931
+ break;
12932
+ }
12933
+ }
12934
+ return msg;
12935
+ };
12936
+
12937
+
12938
+ /**
12939
+ * Serializes the message to binary data (in protobuf wire format).
12940
+ * @return {!Uint8Array}
12941
+ */
12942
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.prototype.serializeBinary = function() {
12943
+ var writer = new jspb.BinaryWriter();
12944
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter(this, writer);
12945
+ return writer.getResultBuffer();
12946
+ };
12947
+
12948
+
12949
+ /**
12950
+ * Serializes the given message to binary data (in protobuf wire
12951
+ * format), writing to the given BinaryWriter.
12952
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest} message
12953
+ * @param {!jspb.BinaryWriter} writer
12954
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12955
+ */
12956
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
12957
+ var f = undefined;
12958
+ f = message.getAgentbillidsList();
12959
+ if (f.length > 0) {
12960
+ writer.writePackedInt64(
12961
+ 1,
12962
+ f
12963
+ );
12964
+ }
12965
+ };
12966
+
12967
+
12968
+ /**
12969
+ * repeated int64 agentBillIds = 1;
12970
+ * @return {!Array<number>}
12971
+ */
12972
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.prototype.getAgentbillidsList = function() {
12973
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
12974
+ };
12975
+
12976
+
12977
+ /**
12978
+ * @param {!Array<number>} value
12979
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest} returns this
12980
+ */
12981
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.prototype.setAgentbillidsList = function(value) {
12982
+ return jspb.Message.setField(this, 1, value || []);
12983
+ };
12984
+
12985
+
12986
+ /**
12987
+ * @param {number} value
12988
+ * @param {number=} opt_index
12989
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest} returns this
12990
+ */
12991
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.prototype.addAgentbillids = function(value, opt_index) {
12992
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
12993
+ };
12994
+
12995
+
12996
+ /**
12997
+ * Clears the list making it empty but non-null.
12998
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest} returns this
12999
+ */
13000
+ proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest.prototype.clearAgentbillidsList = function() {
13001
+ return this.setAgentbillidsList([]);
13002
+ };
13003
+
13004
+
13005
+
12828
13006
  /**
12829
13007
  * List of repeated fields within this message type.
12830
13008
  * @private {!Array<number>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "24.5.2284",
3
+ "version": "24.5.2304",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",