@sniipwebmaster/transaction-service-client-grpcweb-ts 26.3.14044 → 26.3.14067

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.
@@ -1632,6 +1632,49 @@ export class SniipTransactionAPIServiceClient {
1632
1632
  this.methodDescriptorGetTransactions);
1633
1633
  }
1634
1634
 
1635
+ methodDescriptorGetTransactionsInternal = new grpcWeb.MethodDescriptor(
1636
+ '/sniiptransactionapi.SniipTransactionAPIService/GetTransactionsInternal',
1637
+ grpcWeb.MethodType.UNARY,
1638
+ service_pb.GetTransactionsInternalRequest,
1639
+ service_pb.TransactionsResponse,
1640
+ (request: service_pb.GetTransactionsInternalRequest) => {
1641
+ return request.serializeBinary();
1642
+ },
1643
+ service_pb.TransactionsResponse.deserializeBinary
1644
+ );
1645
+
1646
+ getTransactionsInternal(
1647
+ request: service_pb.GetTransactionsInternalRequest,
1648
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.TransactionsResponse>;
1649
+
1650
+ getTransactionsInternal(
1651
+ request: service_pb.GetTransactionsInternalRequest,
1652
+ metadata: grpcWeb.Metadata | null,
1653
+ callback: (err: grpcWeb.RpcError,
1654
+ response: service_pb.TransactionsResponse) => void): grpcWeb.ClientReadableStream<service_pb.TransactionsResponse>;
1655
+
1656
+ getTransactionsInternal(
1657
+ request: service_pb.GetTransactionsInternalRequest,
1658
+ metadata?: grpcWeb.Metadata | null,
1659
+ callback?: (err: grpcWeb.RpcError,
1660
+ response: service_pb.TransactionsResponse) => void) {
1661
+ if (callback !== undefined) {
1662
+ return this.client_.rpcCall(
1663
+ this.hostname_ +
1664
+ '/sniiptransactionapi.SniipTransactionAPIService/GetTransactionsInternal',
1665
+ request,
1666
+ metadata || {},
1667
+ this.methodDescriptorGetTransactionsInternal,
1668
+ callback);
1669
+ }
1670
+ return this.client_.unaryCall(
1671
+ this.hostname_ +
1672
+ '/sniiptransactionapi.SniipTransactionAPIService/GetTransactionsInternal',
1673
+ request,
1674
+ metadata || {},
1675
+ this.methodDescriptorGetTransactionsInternal);
1676
+ }
1677
+
1635
1678
  methodDescriptorGetUserTransactions = new grpcWeb.MethodDescriptor(
1636
1679
  '/sniiptransactionapi.SniipTransactionAPIService/GetUserTransactions',
1637
1680
  grpcWeb.MethodType.UNARY,
@@ -1846,6 +1846,48 @@ export namespace GetTransactionsRequest {
1846
1846
  }
1847
1847
  }
1848
1848
 
1849
+ export class GetTransactionsInternalRequest extends jspb.Message {
1850
+ getBillid(): number;
1851
+ setBillid(value: number): GetTransactionsInternalRequest;
1852
+
1853
+ getLimit(): number;
1854
+ setLimit(value: number): GetTransactionsInternalRequest;
1855
+
1856
+ getPage(): number;
1857
+ setPage(value: number): GetTransactionsInternalRequest;
1858
+
1859
+ getQuerycustomrange(): boolean;
1860
+ setQuerycustomrange(value: boolean): GetTransactionsInternalRequest;
1861
+
1862
+ getRangemin(): number;
1863
+ setRangemin(value: number): GetTransactionsInternalRequest;
1864
+
1865
+ getRangemax(): number;
1866
+ setRangemax(value: number): GetTransactionsInternalRequest;
1867
+
1868
+ getUserid(): number;
1869
+ setUserid(value: number): GetTransactionsInternalRequest;
1870
+
1871
+ serializeBinary(): Uint8Array;
1872
+ toObject(includeInstance?: boolean): GetTransactionsInternalRequest.AsObject;
1873
+ static toObject(includeInstance: boolean, msg: GetTransactionsInternalRequest): GetTransactionsInternalRequest.AsObject;
1874
+ static serializeBinaryToWriter(message: GetTransactionsInternalRequest, writer: jspb.BinaryWriter): void;
1875
+ static deserializeBinary(bytes: Uint8Array): GetTransactionsInternalRequest;
1876
+ static deserializeBinaryFromReader(message: GetTransactionsInternalRequest, reader: jspb.BinaryReader): GetTransactionsInternalRequest;
1877
+ }
1878
+
1879
+ export namespace GetTransactionsInternalRequest {
1880
+ export type AsObject = {
1881
+ billid: number,
1882
+ limit: number,
1883
+ page: number,
1884
+ querycustomrange: boolean,
1885
+ rangemin: number,
1886
+ rangemax: number,
1887
+ userid: number,
1888
+ }
1889
+ }
1890
+
1849
1891
  export class GetUserTransactionsRequest extends jspb.Message {
1850
1892
  getData(): UserTransactionsGetRequest | undefined;
1851
1893
  setData(value?: UserTransactionsGetRequest): GetUserTransactionsRequest;
@@ -89,6 +89,7 @@ goog.exportSymbol('proto.sniiptransactionapi.GetRefundDetailByRefundLegIdRequest
89
89
  goog.exportSymbol('proto.sniiptransactionapi.GetTotalAmountForBillRequest', null, global);
90
90
  goog.exportSymbol('proto.sniiptransactionapi.GetTransactionInternalRequest', null, global);
91
91
  goog.exportSymbol('proto.sniiptransactionapi.GetTransactionRequest', null, global);
92
+ goog.exportSymbol('proto.sniiptransactionapi.GetTransactionsInternalRequest', null, global);
92
93
  goog.exportSymbol('proto.sniiptransactionapi.GetTransactionsRequest', null, global);
93
94
  goog.exportSymbol('proto.sniiptransactionapi.GetUserPaymentProcessorsRequest', null, global);
94
95
  goog.exportSymbol('proto.sniiptransactionapi.GetUserPaymentProcessorsResponse', null, global);
@@ -1556,6 +1557,27 @@ if (goog.DEBUG && !COMPILED) {
1556
1557
  */
1557
1558
  proto.sniiptransactionapi.GetTransactionsRequest.displayName = 'proto.sniiptransactionapi.GetTransactionsRequest';
1558
1559
  }
1560
+ /**
1561
+ * Generated by JsPbCodeGenerator.
1562
+ * @param {Array=} opt_data Optional initial data array, typically from a
1563
+ * server response, or constructed directly in Javascript. The array is used
1564
+ * in place and becomes part of the constructed object. It is not cloned.
1565
+ * If no data is provided, the constructed object will be empty, but still
1566
+ * valid.
1567
+ * @extends {jspb.Message}
1568
+ * @constructor
1569
+ */
1570
+ proto.sniiptransactionapi.GetTransactionsInternalRequest = function(opt_data) {
1571
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1572
+ };
1573
+ goog.inherits(proto.sniiptransactionapi.GetTransactionsInternalRequest, jspb.Message);
1574
+ if (goog.DEBUG && !COMPILED) {
1575
+ /**
1576
+ * @public
1577
+ * @override
1578
+ */
1579
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.displayName = 'proto.sniiptransactionapi.GetTransactionsInternalRequest';
1580
+ }
1559
1581
  /**
1560
1582
  * Generated by JsPbCodeGenerator.
1561
1583
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -17004,6 +17026,316 @@ proto.sniiptransactionapi.GetTransactionsRequest.prototype.setRangemax = functio
17004
17026
 
17005
17027
 
17006
17028
 
17029
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17030
+ /**
17031
+ * Creates an object representation of this proto.
17032
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17033
+ * Optional fields that are not set will be set to undefined.
17034
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17035
+ * For the list of reserved names please see:
17036
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17037
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17038
+ * JSPB instance for transitional soy proto support:
17039
+ * http://goto/soy-param-migration
17040
+ * @return {!Object}
17041
+ */
17042
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.toObject = function(opt_includeInstance) {
17043
+ return proto.sniiptransactionapi.GetTransactionsInternalRequest.toObject(opt_includeInstance, this);
17044
+ };
17045
+
17046
+
17047
+ /**
17048
+ * Static version of the {@see toObject} method.
17049
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17050
+ * the JSPB instance for transitional soy proto support:
17051
+ * http://goto/soy-param-migration
17052
+ * @param {!proto.sniiptransactionapi.GetTransactionsInternalRequest} msg The msg instance to transform.
17053
+ * @return {!Object}
17054
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17055
+ */
17056
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.toObject = function(includeInstance, msg) {
17057
+ var f, obj = {
17058
+ billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
17059
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
17060
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
17061
+ querycustomrange: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
17062
+ rangemin: jspb.Message.getFieldWithDefault(msg, 5, 0),
17063
+ rangemax: jspb.Message.getFieldWithDefault(msg, 6, 0),
17064
+ userid: jspb.Message.getFieldWithDefault(msg, 7, 0)
17065
+ };
17066
+
17067
+ if (includeInstance) {
17068
+ obj.$jspbMessageInstance = msg;
17069
+ }
17070
+ return obj;
17071
+ };
17072
+ }
17073
+
17074
+
17075
+ /**
17076
+ * Deserializes binary data (in protobuf wire format).
17077
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17078
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest}
17079
+ */
17080
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.deserializeBinary = function(bytes) {
17081
+ var reader = new jspb.BinaryReader(bytes);
17082
+ var msg = new proto.sniiptransactionapi.GetTransactionsInternalRequest;
17083
+ return proto.sniiptransactionapi.GetTransactionsInternalRequest.deserializeBinaryFromReader(msg, reader);
17084
+ };
17085
+
17086
+
17087
+ /**
17088
+ * Deserializes binary data (in protobuf wire format) from the
17089
+ * given reader into the given message object.
17090
+ * @param {!proto.sniiptransactionapi.GetTransactionsInternalRequest} msg The message object to deserialize into.
17091
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17092
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest}
17093
+ */
17094
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
17095
+ while (reader.nextField()) {
17096
+ if (reader.isEndGroup()) {
17097
+ break;
17098
+ }
17099
+ var field = reader.getFieldNumber();
17100
+ switch (field) {
17101
+ case 1:
17102
+ var value = /** @type {number} */ (reader.readInt64());
17103
+ msg.setBillid(value);
17104
+ break;
17105
+ case 2:
17106
+ var value = /** @type {number} */ (reader.readInt32());
17107
+ msg.setLimit(value);
17108
+ break;
17109
+ case 3:
17110
+ var value = /** @type {number} */ (reader.readInt32());
17111
+ msg.setPage(value);
17112
+ break;
17113
+ case 4:
17114
+ var value = /** @type {boolean} */ (reader.readBool());
17115
+ msg.setQuerycustomrange(value);
17116
+ break;
17117
+ case 5:
17118
+ var value = /** @type {number} */ (reader.readInt32());
17119
+ msg.setRangemin(value);
17120
+ break;
17121
+ case 6:
17122
+ var value = /** @type {number} */ (reader.readInt32());
17123
+ msg.setRangemax(value);
17124
+ break;
17125
+ case 7:
17126
+ var value = /** @type {number} */ (reader.readInt64());
17127
+ msg.setUserid(value);
17128
+ break;
17129
+ default:
17130
+ reader.skipField();
17131
+ break;
17132
+ }
17133
+ }
17134
+ return msg;
17135
+ };
17136
+
17137
+
17138
+ /**
17139
+ * Serializes the message to binary data (in protobuf wire format).
17140
+ * @return {!Uint8Array}
17141
+ */
17142
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.serializeBinary = function() {
17143
+ var writer = new jspb.BinaryWriter();
17144
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.serializeBinaryToWriter(this, writer);
17145
+ return writer.getResultBuffer();
17146
+ };
17147
+
17148
+
17149
+ /**
17150
+ * Serializes the given message to binary data (in protobuf wire
17151
+ * format), writing to the given BinaryWriter.
17152
+ * @param {!proto.sniiptransactionapi.GetTransactionsInternalRequest} message
17153
+ * @param {!jspb.BinaryWriter} writer
17154
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17155
+ */
17156
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.serializeBinaryToWriter = function(message, writer) {
17157
+ var f = undefined;
17158
+ f = message.getBillid();
17159
+ if (f !== 0) {
17160
+ writer.writeInt64(
17161
+ 1,
17162
+ f
17163
+ );
17164
+ }
17165
+ f = message.getLimit();
17166
+ if (f !== 0) {
17167
+ writer.writeInt32(
17168
+ 2,
17169
+ f
17170
+ );
17171
+ }
17172
+ f = message.getPage();
17173
+ if (f !== 0) {
17174
+ writer.writeInt32(
17175
+ 3,
17176
+ f
17177
+ );
17178
+ }
17179
+ f = message.getQuerycustomrange();
17180
+ if (f) {
17181
+ writer.writeBool(
17182
+ 4,
17183
+ f
17184
+ );
17185
+ }
17186
+ f = message.getRangemin();
17187
+ if (f !== 0) {
17188
+ writer.writeInt32(
17189
+ 5,
17190
+ f
17191
+ );
17192
+ }
17193
+ f = message.getRangemax();
17194
+ if (f !== 0) {
17195
+ writer.writeInt32(
17196
+ 6,
17197
+ f
17198
+ );
17199
+ }
17200
+ f = message.getUserid();
17201
+ if (f !== 0) {
17202
+ writer.writeInt64(
17203
+ 7,
17204
+ f
17205
+ );
17206
+ }
17207
+ };
17208
+
17209
+
17210
+ /**
17211
+ * optional int64 billId = 1;
17212
+ * @return {number}
17213
+ */
17214
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getBillid = function() {
17215
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17216
+ };
17217
+
17218
+
17219
+ /**
17220
+ * @param {number} value
17221
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17222
+ */
17223
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setBillid = function(value) {
17224
+ return jspb.Message.setProto3IntField(this, 1, value);
17225
+ };
17226
+
17227
+
17228
+ /**
17229
+ * optional int32 limit = 2;
17230
+ * @return {number}
17231
+ */
17232
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getLimit = function() {
17233
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
17234
+ };
17235
+
17236
+
17237
+ /**
17238
+ * @param {number} value
17239
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17240
+ */
17241
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setLimit = function(value) {
17242
+ return jspb.Message.setProto3IntField(this, 2, value);
17243
+ };
17244
+
17245
+
17246
+ /**
17247
+ * optional int32 page = 3;
17248
+ * @return {number}
17249
+ */
17250
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getPage = function() {
17251
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
17252
+ };
17253
+
17254
+
17255
+ /**
17256
+ * @param {number} value
17257
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17258
+ */
17259
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setPage = function(value) {
17260
+ return jspb.Message.setProto3IntField(this, 3, value);
17261
+ };
17262
+
17263
+
17264
+ /**
17265
+ * optional bool queryCustomRange = 4;
17266
+ * @return {boolean}
17267
+ */
17268
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getQuerycustomrange = function() {
17269
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
17270
+ };
17271
+
17272
+
17273
+ /**
17274
+ * @param {boolean} value
17275
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17276
+ */
17277
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setQuerycustomrange = function(value) {
17278
+ return jspb.Message.setProto3BooleanField(this, 4, value);
17279
+ };
17280
+
17281
+
17282
+ /**
17283
+ * optional int32 rangeMin = 5;
17284
+ * @return {number}
17285
+ */
17286
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getRangemin = function() {
17287
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
17288
+ };
17289
+
17290
+
17291
+ /**
17292
+ * @param {number} value
17293
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17294
+ */
17295
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setRangemin = function(value) {
17296
+ return jspb.Message.setProto3IntField(this, 5, value);
17297
+ };
17298
+
17299
+
17300
+ /**
17301
+ * optional int32 rangeMax = 6;
17302
+ * @return {number}
17303
+ */
17304
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getRangemax = function() {
17305
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
17306
+ };
17307
+
17308
+
17309
+ /**
17310
+ * @param {number} value
17311
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17312
+ */
17313
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setRangemax = function(value) {
17314
+ return jspb.Message.setProto3IntField(this, 6, value);
17315
+ };
17316
+
17317
+
17318
+ /**
17319
+ * optional int64 userId = 7;
17320
+ * @return {number}
17321
+ */
17322
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.getUserid = function() {
17323
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
17324
+ };
17325
+
17326
+
17327
+ /**
17328
+ * @param {number} value
17329
+ * @return {!proto.sniiptransactionapi.GetTransactionsInternalRequest} returns this
17330
+ */
17331
+ proto.sniiptransactionapi.GetTransactionsInternalRequest.prototype.setUserid = function(value) {
17332
+ return jspb.Message.setProto3IntField(this, 7, value);
17333
+ };
17334
+
17335
+
17336
+
17337
+
17338
+
17007
17339
  if (jspb.Message.GENERATE_TO_OBJECT) {
17008
17340
  /**
17009
17341
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb-ts",
3
- "version": "26.3.14044",
3
+ "version": "26.3.14067",
4
4
  "description": "transaction-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",