@sniipwebmaster/loyalty-program-client-grpcweb 22.23.723 → 22.23.741
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.
- package/dependancies/service_pb.js +10 -161
- package/package.json +1 -1
|
@@ -16,7 +16,6 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatePointsRequest', null,
|
|
|
16
16
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse', null, global);
|
|
17
17
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest', null, global);
|
|
18
18
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest', null, global);
|
|
19
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage', null, global);
|
|
20
19
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest', null, global);
|
|
21
20
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest', null, global);
|
|
22
21
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest', null, global);
|
|
@@ -1078,7 +1077,7 @@ proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.pr
|
|
|
1078
1077
|
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.toObject = function(includeInstance, msg) {
|
|
1079
1078
|
var f, obj = {
|
|
1080
1079
|
data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityRequest.toObject(includeInstance, f),
|
|
1081
|
-
loyaltyprogramid:
|
|
1080
|
+
loyaltyprogramid: msg.getLoyaltyprogramid()
|
|
1082
1081
|
};
|
|
1083
1082
|
|
|
1084
1083
|
if (includeInstance) {
|
|
@@ -1121,8 +1120,7 @@ proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.de
|
|
|
1121
1120
|
msg.setData(value);
|
|
1122
1121
|
break;
|
|
1123
1122
|
case 2:
|
|
1124
|
-
var value =
|
|
1125
|
-
reader.readMessage(value,proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.deserializeBinaryFromReader);
|
|
1123
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1126
1124
|
msg.setLoyaltyprogramid(value);
|
|
1127
1125
|
break;
|
|
1128
1126
|
default:
|
|
@@ -1172,11 +1170,10 @@ proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.pr
|
|
|
1172
1170
|
);
|
|
1173
1171
|
}
|
|
1174
1172
|
f = this.getLoyaltyprogramid();
|
|
1175
|
-
if (f
|
|
1176
|
-
writer.
|
|
1173
|
+
if (f !== 0) {
|
|
1174
|
+
writer.writeInt64(
|
|
1177
1175
|
2,
|
|
1178
|
-
f
|
|
1179
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.serializeBinaryToWriter
|
|
1176
|
+
f
|
|
1180
1177
|
);
|
|
1181
1178
|
}
|
|
1182
1179
|
};
|
|
@@ -1222,165 +1219,17 @@ proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.pr
|
|
|
1222
1219
|
|
|
1223
1220
|
|
|
1224
1221
|
/**
|
|
1225
|
-
* optional
|
|
1226
|
-
* @return {
|
|
1222
|
+
* optional int64 loyaltyProgramId = 2;
|
|
1223
|
+
* @return {number}
|
|
1227
1224
|
*/
|
|
1228
1225
|
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.prototype.getLoyaltyprogramid = function() {
|
|
1229
|
-
return /** @type{
|
|
1230
|
-
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage, 2));
|
|
1226
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
1231
1227
|
};
|
|
1232
1228
|
|
|
1233
1229
|
|
|
1234
|
-
/** @param {
|
|
1230
|
+
/** @param {number} value */
|
|
1235
1231
|
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.prototype.setLoyaltyprogramid = function(value) {
|
|
1236
|
-
jspb.Message.
|
|
1237
|
-
};
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.prototype.clearLoyaltyprogramid = function() {
|
|
1241
|
-
this.setLoyaltyprogramid(undefined);
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* Returns whether this field is set.
|
|
1247
|
-
* @return{!boolean}
|
|
1248
|
-
*/
|
|
1249
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.prototype.hasLoyaltyprogramid = function() {
|
|
1250
|
-
return jspb.Message.getField(this, 2) != null;
|
|
1251
|
-
};
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Generated by JsPbCodeGenerator.
|
|
1257
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1258
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1259
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1260
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1261
|
-
* valid.
|
|
1262
|
-
* @extends {jspb.Message}
|
|
1263
|
-
* @constructor
|
|
1264
|
-
*/
|
|
1265
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage = function(opt_data) {
|
|
1266
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1267
|
-
};
|
|
1268
|
-
goog.inherits(proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage, jspb.Message);
|
|
1269
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1270
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.displayName = 'proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage';
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1275
|
-
/**
|
|
1276
|
-
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1277
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1278
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1279
|
-
* For the list of reserved names please see:
|
|
1280
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1281
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1282
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1283
|
-
* @return {!Object}
|
|
1284
|
-
*/
|
|
1285
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.prototype.toObject = function(opt_includeInstance) {
|
|
1286
|
-
return proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.toObject(opt_includeInstance, this);
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
/**
|
|
1291
|
-
* Static version of the {@see toObject} method.
|
|
1292
|
-
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1293
|
-
* instance for transitional soy proto support:
|
|
1294
|
-
* http://goto/soy-param-migration
|
|
1295
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage} msg The msg instance to transform.
|
|
1296
|
-
* @return {!Object}
|
|
1297
|
-
*/
|
|
1298
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.toObject = function(includeInstance, msg) {
|
|
1299
|
-
var f, obj = {
|
|
1300
|
-
|
|
1301
|
-
};
|
|
1302
|
-
|
|
1303
|
-
if (includeInstance) {
|
|
1304
|
-
obj.$jspbMessageInstance = msg;
|
|
1305
|
-
}
|
|
1306
|
-
return obj;
|
|
1307
|
-
};
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1313
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1314
|
-
* @return {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage}
|
|
1315
|
-
*/
|
|
1316
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.deserializeBinary = function(bytes) {
|
|
1317
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1318
|
-
var msg = new proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage;
|
|
1319
|
-
return proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.deserializeBinaryFromReader(msg, reader);
|
|
1320
|
-
};
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
/**
|
|
1324
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1325
|
-
* given reader into the given message object.
|
|
1326
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage} msg The message object to deserialize into.
|
|
1327
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1328
|
-
* @return {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage}
|
|
1329
|
-
*/
|
|
1330
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
1331
|
-
while (reader.nextField()) {
|
|
1332
|
-
if (reader.isEndGroup()) {
|
|
1333
|
-
break;
|
|
1334
|
-
}
|
|
1335
|
-
var field = reader.getFieldNumber();
|
|
1336
|
-
switch (field) {
|
|
1337
|
-
default:
|
|
1338
|
-
reader.skipField();
|
|
1339
|
-
break;
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
return msg;
|
|
1343
|
-
};
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
/**
|
|
1347
|
-
* Class method variant: serializes the given message to binary data
|
|
1348
|
-
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1349
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage} message
|
|
1350
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1351
|
-
*/
|
|
1352
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.serializeBinaryToWriter = function(message, writer) {
|
|
1353
|
-
message.serializeBinaryToWriter(writer);
|
|
1354
|
-
};
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1359
|
-
* @return {!Uint8Array}
|
|
1360
|
-
*/
|
|
1361
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.prototype.serializeBinary = function() {
|
|
1362
|
-
var writer = new jspb.BinaryWriter();
|
|
1363
|
-
this.serializeBinaryToWriter(writer);
|
|
1364
|
-
return writer.getResultBuffer();
|
|
1365
|
-
};
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
* Serializes the message to binary data (in protobuf wire format),
|
|
1370
|
-
* writing to the given BinaryWriter.
|
|
1371
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1372
|
-
*/
|
|
1373
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.prototype.serializeBinaryToWriter = function (writer) {
|
|
1374
|
-
var f = undefined;
|
|
1375
|
-
};
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1380
|
-
* @return {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage} The clone.
|
|
1381
|
-
*/
|
|
1382
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage.prototype.cloneMessage = function() {
|
|
1383
|
-
return /** @type {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest.LoyaltyProgramIdMessage} */ (jspb.Message.cloneMessage(this));
|
|
1232
|
+
jspb.Message.setField(this, 2, value);
|
|
1384
1233
|
};
|
|
1385
1234
|
|
|
1386
1235
|
|