@sniipwebmaster/loyalty-program-client-grpcweb 26.4.3468 → 26.4.3490
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.
|
@@ -752,16 +752,16 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
752
752
|
/**
|
|
753
753
|
* @const
|
|
754
754
|
* @type {!grpc.web.MethodDescriptor<
|
|
755
|
-
* !proto.
|
|
755
|
+
* !proto.loyaltyprogramserviceapi.GetProgramListRequest,
|
|
756
756
|
* !proto.loyaltyprogramserviceapi.ProgramDetailsResponse>}
|
|
757
757
|
*/
|
|
758
758
|
const methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramList = new grpc.web.MethodDescriptor(
|
|
759
759
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramList',
|
|
760
760
|
grpc.web.MethodType.UNARY,
|
|
761
|
-
|
|
761
|
+
proto.loyaltyprogramserviceapi.GetProgramListRequest,
|
|
762
762
|
proto.loyaltyprogramserviceapi.ProgramDetailsResponse,
|
|
763
763
|
/**
|
|
764
|
-
* @param {!proto.
|
|
764
|
+
* @param {!proto.loyaltyprogramserviceapi.GetProgramListRequest} request
|
|
765
765
|
* @return {!Uint8Array}
|
|
766
766
|
*/
|
|
767
767
|
function(request) {
|
|
@@ -772,7 +772,7 @@ const methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramList = new grpc
|
|
|
772
772
|
|
|
773
773
|
|
|
774
774
|
/**
|
|
775
|
-
* @param {!proto.
|
|
775
|
+
* @param {!proto.loyaltyprogramserviceapi.GetProgramListRequest} request The
|
|
776
776
|
* request proto
|
|
777
777
|
* @param {?Object<string, string>} metadata User defined
|
|
778
778
|
* call metadata
|
|
@@ -793,7 +793,7 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.g
|
|
|
793
793
|
|
|
794
794
|
|
|
795
795
|
/**
|
|
796
|
-
* @param {!proto.
|
|
796
|
+
* @param {!proto.loyaltyprogramserviceapi.GetProgramListRequest} request The
|
|
797
797
|
* request proto
|
|
798
798
|
* @param {?Object<string, string>=} metadata User defined
|
|
799
799
|
* call metadata
|
|
@@ -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
|
|