@sniipwebmaster/loyalty-program-client-grpcweb-ts 26.4.3479 → 26.4.3501
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.
|
@@ -516,26 +516,26 @@ export class LoyaltyProgramServiceAPIServiceClient {
|
|
|
516
516
|
methodDescriptorGetProgramList = new grpcWeb.MethodDescriptor(
|
|
517
517
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramList',
|
|
518
518
|
grpcWeb.MethodType.UNARY,
|
|
519
|
-
|
|
519
|
+
service_pb.GetProgramListRequest,
|
|
520
520
|
service_pb.ProgramDetailsResponse,
|
|
521
|
-
(request:
|
|
521
|
+
(request: service_pb.GetProgramListRequest) => {
|
|
522
522
|
return request.serializeBinary();
|
|
523
523
|
},
|
|
524
524
|
service_pb.ProgramDetailsResponse.deserializeBinary
|
|
525
525
|
);
|
|
526
526
|
|
|
527
527
|
getProgramList(
|
|
528
|
-
request:
|
|
528
|
+
request: service_pb.GetProgramListRequest,
|
|
529
529
|
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ProgramDetailsResponse>;
|
|
530
530
|
|
|
531
531
|
getProgramList(
|
|
532
|
-
request:
|
|
532
|
+
request: service_pb.GetProgramListRequest,
|
|
533
533
|
metadata: grpcWeb.Metadata | null,
|
|
534
534
|
callback: (err: grpcWeb.RpcError,
|
|
535
535
|
response: service_pb.ProgramDetailsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ProgramDetailsResponse>;
|
|
536
536
|
|
|
537
537
|
getProgramList(
|
|
538
|
-
request:
|
|
538
|
+
request: service_pb.GetProgramListRequest,
|
|
539
539
|
metadata?: grpcWeb.Metadata | null,
|
|
540
540
|
callback?: (err: grpcWeb.RpcError,
|
|
541
541
|
response: service_pb.ProgramDetailsResponse) => void) {
|
|
@@ -1705,6 +1705,9 @@ export class GetProgramListInternalRequest extends jspb.Message {
|
|
|
1705
1705
|
getAppaccounttype(): string;
|
|
1706
1706
|
setAppaccounttype(value: string): GetProgramListInternalRequest;
|
|
1707
1707
|
|
|
1708
|
+
getBillerid(): number;
|
|
1709
|
+
setBillerid(value: number): GetProgramListInternalRequest;
|
|
1710
|
+
|
|
1708
1711
|
serializeBinary(): Uint8Array;
|
|
1709
1712
|
toObject(includeInstance?: boolean): GetProgramListInternalRequest.AsObject;
|
|
1710
1713
|
static toObject(includeInstance: boolean, msg: GetProgramListInternalRequest): GetProgramListInternalRequest.AsObject;
|
|
@@ -1716,6 +1719,25 @@ export class GetProgramListInternalRequest extends jspb.Message {
|
|
|
1716
1719
|
export namespace GetProgramListInternalRequest {
|
|
1717
1720
|
export type AsObject = {
|
|
1718
1721
|
appaccounttype: string,
|
|
1722
|
+
billerid: number,
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
export class GetProgramListRequest extends jspb.Message {
|
|
1727
|
+
getBillerid(): number;
|
|
1728
|
+
setBillerid(value: number): GetProgramListRequest;
|
|
1729
|
+
|
|
1730
|
+
serializeBinary(): Uint8Array;
|
|
1731
|
+
toObject(includeInstance?: boolean): GetProgramListRequest.AsObject;
|
|
1732
|
+
static toObject(includeInstance: boolean, msg: GetProgramListRequest): GetProgramListRequest.AsObject;
|
|
1733
|
+
static serializeBinaryToWriter(message: GetProgramListRequest, writer: jspb.BinaryWriter): void;
|
|
1734
|
+
static deserializeBinary(bytes: Uint8Array): GetProgramListRequest;
|
|
1735
|
+
static deserializeBinaryFromReader(message: GetProgramListRequest, reader: jspb.BinaryReader): GetProgramListRequest;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
export namespace GetProgramListRequest {
|
|
1739
|
+
export type AsObject = {
|
|
1740
|
+
billerid: number,
|
|
1719
1741
|
}
|
|
1720
1742
|
}
|
|
1721
1743
|
|
|
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipByIdRequest', nul
|
|
|
41
41
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipListRequest', null, global);
|
|
42
42
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramForMembershipInternalRequest', null, global);
|
|
43
43
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramListInternalRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetProgramListRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetUserLoyaltyMonthlyLimitStatusRequest', null, global);
|
|
46
47
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetUserMembershipsRequest', null, global);
|
|
@@ -1065,6 +1066,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1065
1066
|
*/
|
|
1066
1067
|
proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.displayName = 'proto.loyaltyprogramserviceapi.GetProgramListInternalRequest';
|
|
1067
1068
|
}
|
|
1069
|
+
/**
|
|
1070
|
+
* Generated by JsPbCodeGenerator.
|
|
1071
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1072
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1073
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1074
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1075
|
+
* valid.
|
|
1076
|
+
* @extends {jspb.Message}
|
|
1077
|
+
* @constructor
|
|
1078
|
+
*/
|
|
1079
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest = function(opt_data) {
|
|
1080
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1081
|
+
};
|
|
1082
|
+
goog.inherits(proto.loyaltyprogramserviceapi.GetProgramListRequest, jspb.Message);
|
|
1083
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1084
|
+
/**
|
|
1085
|
+
* @public
|
|
1086
|
+
* @override
|
|
1087
|
+
*/
|
|
1088
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.displayName = 'proto.loyaltyprogramserviceapi.GetProgramListRequest';
|
|
1089
|
+
}
|
|
1068
1090
|
/**
|
|
1069
1091
|
* Generated by JsPbCodeGenerator.
|
|
1070
1092
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -14040,7 +14062,8 @@ proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.prototype.toObject
|
|
|
14040
14062
|
*/
|
|
14041
14063
|
proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.toObject = function(includeInstance, msg) {
|
|
14042
14064
|
var f, obj = {
|
|
14043
|
-
appaccounttype: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
14065
|
+
appaccounttype: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14066
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
14044
14067
|
};
|
|
14045
14068
|
|
|
14046
14069
|
if (includeInstance) {
|
|
@@ -14081,6 +14104,10 @@ proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.deserializeBinaryFr
|
|
|
14081
14104
|
var value = /** @type {string} */ (reader.readString());
|
|
14082
14105
|
msg.setAppaccounttype(value);
|
|
14083
14106
|
break;
|
|
14107
|
+
case 2:
|
|
14108
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14109
|
+
msg.setBillerid(value);
|
|
14110
|
+
break;
|
|
14084
14111
|
default:
|
|
14085
14112
|
reader.skipField();
|
|
14086
14113
|
break;
|
|
@@ -14117,6 +14144,13 @@ proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.serializeBinaryToWr
|
|
|
14117
14144
|
f
|
|
14118
14145
|
);
|
|
14119
14146
|
}
|
|
14147
|
+
f = message.getBillerid();
|
|
14148
|
+
if (f !== 0) {
|
|
14149
|
+
writer.writeInt64(
|
|
14150
|
+
2,
|
|
14151
|
+
f
|
|
14152
|
+
);
|
|
14153
|
+
}
|
|
14120
14154
|
};
|
|
14121
14155
|
|
|
14122
14156
|
|
|
@@ -14138,6 +14172,154 @@ proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.prototype.setAppacc
|
|
|
14138
14172
|
};
|
|
14139
14173
|
|
|
14140
14174
|
|
|
14175
|
+
/**
|
|
14176
|
+
* optional int64 billerId = 2;
|
|
14177
|
+
* @return {number}
|
|
14178
|
+
*/
|
|
14179
|
+
proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.prototype.getBillerid = function() {
|
|
14180
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
14181
|
+
};
|
|
14182
|
+
|
|
14183
|
+
|
|
14184
|
+
/**
|
|
14185
|
+
* @param {number} value
|
|
14186
|
+
* @return {!proto.loyaltyprogramserviceapi.GetProgramListInternalRequest} returns this
|
|
14187
|
+
*/
|
|
14188
|
+
proto.loyaltyprogramserviceapi.GetProgramListInternalRequest.prototype.setBillerid = function(value) {
|
|
14189
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
14190
|
+
};
|
|
14191
|
+
|
|
14192
|
+
|
|
14193
|
+
|
|
14194
|
+
|
|
14195
|
+
|
|
14196
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14197
|
+
/**
|
|
14198
|
+
* Creates an object representation of this proto.
|
|
14199
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14200
|
+
* Optional fields that are not set will be set to undefined.
|
|
14201
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14202
|
+
* For the list of reserved names please see:
|
|
14203
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14204
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14205
|
+
* JSPB instance for transitional soy proto support:
|
|
14206
|
+
* http://goto/soy-param-migration
|
|
14207
|
+
* @return {!Object}
|
|
14208
|
+
*/
|
|
14209
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14210
|
+
return proto.loyaltyprogramserviceapi.GetProgramListRequest.toObject(opt_includeInstance, this);
|
|
14211
|
+
};
|
|
14212
|
+
|
|
14213
|
+
|
|
14214
|
+
/**
|
|
14215
|
+
* Static version of the {@see toObject} method.
|
|
14216
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14217
|
+
* the JSPB instance for transitional soy proto support:
|
|
14218
|
+
* http://goto/soy-param-migration
|
|
14219
|
+
* @param {!proto.loyaltyprogramserviceapi.GetProgramListRequest} msg The msg instance to transform.
|
|
14220
|
+
* @return {!Object}
|
|
14221
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14222
|
+
*/
|
|
14223
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.toObject = function(includeInstance, msg) {
|
|
14224
|
+
var f, obj = {
|
|
14225
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
14226
|
+
};
|
|
14227
|
+
|
|
14228
|
+
if (includeInstance) {
|
|
14229
|
+
obj.$jspbMessageInstance = msg;
|
|
14230
|
+
}
|
|
14231
|
+
return obj;
|
|
14232
|
+
};
|
|
14233
|
+
}
|
|
14234
|
+
|
|
14235
|
+
|
|
14236
|
+
/**
|
|
14237
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14238
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14239
|
+
* @return {!proto.loyaltyprogramserviceapi.GetProgramListRequest}
|
|
14240
|
+
*/
|
|
14241
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.deserializeBinary = function(bytes) {
|
|
14242
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14243
|
+
var msg = new proto.loyaltyprogramserviceapi.GetProgramListRequest;
|
|
14244
|
+
return proto.loyaltyprogramserviceapi.GetProgramListRequest.deserializeBinaryFromReader(msg, reader);
|
|
14245
|
+
};
|
|
14246
|
+
|
|
14247
|
+
|
|
14248
|
+
/**
|
|
14249
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14250
|
+
* given reader into the given message object.
|
|
14251
|
+
* @param {!proto.loyaltyprogramserviceapi.GetProgramListRequest} msg The message object to deserialize into.
|
|
14252
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14253
|
+
* @return {!proto.loyaltyprogramserviceapi.GetProgramListRequest}
|
|
14254
|
+
*/
|
|
14255
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14256
|
+
while (reader.nextField()) {
|
|
14257
|
+
if (reader.isEndGroup()) {
|
|
14258
|
+
break;
|
|
14259
|
+
}
|
|
14260
|
+
var field = reader.getFieldNumber();
|
|
14261
|
+
switch (field) {
|
|
14262
|
+
case 1:
|
|
14263
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14264
|
+
msg.setBillerid(value);
|
|
14265
|
+
break;
|
|
14266
|
+
default:
|
|
14267
|
+
reader.skipField();
|
|
14268
|
+
break;
|
|
14269
|
+
}
|
|
14270
|
+
}
|
|
14271
|
+
return msg;
|
|
14272
|
+
};
|
|
14273
|
+
|
|
14274
|
+
|
|
14275
|
+
/**
|
|
14276
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14277
|
+
* @return {!Uint8Array}
|
|
14278
|
+
*/
|
|
14279
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.prototype.serializeBinary = function() {
|
|
14280
|
+
var writer = new jspb.BinaryWriter();
|
|
14281
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.serializeBinaryToWriter(this, writer);
|
|
14282
|
+
return writer.getResultBuffer();
|
|
14283
|
+
};
|
|
14284
|
+
|
|
14285
|
+
|
|
14286
|
+
/**
|
|
14287
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14288
|
+
* format), writing to the given BinaryWriter.
|
|
14289
|
+
* @param {!proto.loyaltyprogramserviceapi.GetProgramListRequest} message
|
|
14290
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14291
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14292
|
+
*/
|
|
14293
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14294
|
+
var f = undefined;
|
|
14295
|
+
f = message.getBillerid();
|
|
14296
|
+
if (f !== 0) {
|
|
14297
|
+
writer.writeInt64(
|
|
14298
|
+
1,
|
|
14299
|
+
f
|
|
14300
|
+
);
|
|
14301
|
+
}
|
|
14302
|
+
};
|
|
14303
|
+
|
|
14304
|
+
|
|
14305
|
+
/**
|
|
14306
|
+
* optional int64 billerId = 1;
|
|
14307
|
+
* @return {number}
|
|
14308
|
+
*/
|
|
14309
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.prototype.getBillerid = function() {
|
|
14310
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14311
|
+
};
|
|
14312
|
+
|
|
14313
|
+
|
|
14314
|
+
/**
|
|
14315
|
+
* @param {number} value
|
|
14316
|
+
* @return {!proto.loyaltyprogramserviceapi.GetProgramListRequest} returns this
|
|
14317
|
+
*/
|
|
14318
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest.prototype.setBillerid = function(value) {
|
|
14319
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14320
|
+
};
|
|
14321
|
+
|
|
14322
|
+
|
|
14141
14323
|
|
|
14142
14324
|
|
|
14143
14325
|
|