@sniipwebmaster/loyalty-program-client-grpcweb 22.16.182 → 22.16.190
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.
|
@@ -237,16 +237,16 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
237
237
|
/**
|
|
238
238
|
* @const
|
|
239
239
|
* @type {!grpc.web.MethodDescriptor<
|
|
240
|
-
* !proto.
|
|
240
|
+
* !proto.google.protobuf.Empty,
|
|
241
241
|
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
242
242
|
*/
|
|
243
243
|
const methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.web.MethodDescriptor(
|
|
244
244
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
245
245
|
grpc.web.MethodType.UNARY,
|
|
246
|
-
|
|
246
|
+
google_protobuf_empty_pb.Empty,
|
|
247
247
|
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
248
248
|
/**
|
|
249
|
-
* @param {!proto.
|
|
249
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
250
250
|
* @return {!Uint8Array}
|
|
251
251
|
*/
|
|
252
252
|
function(request) {
|
|
@@ -259,13 +259,13 @@ const methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList = new g
|
|
|
259
259
|
/**
|
|
260
260
|
* @const
|
|
261
261
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
262
|
-
* !proto.
|
|
262
|
+
* !proto.google.protobuf.Empty,
|
|
263
263
|
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
264
264
|
*/
|
|
265
265
|
const methodInfo_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.web.AbstractClientBase.MethodInfo(
|
|
266
266
|
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
267
267
|
/**
|
|
268
|
-
* @param {!proto.
|
|
268
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
269
269
|
* @return {!Uint8Array}
|
|
270
270
|
*/
|
|
271
271
|
function(request) {
|
|
@@ -276,7 +276,7 @@ const methodInfo_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.we
|
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
|
-
* @param {!proto.
|
|
279
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
280
280
|
* request proto
|
|
281
281
|
* @param {?Object<string, string>} metadata User defined
|
|
282
282
|
* call metadata
|
|
@@ -297,7 +297,7 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.g
|
|
|
297
297
|
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
|
-
* @param {!proto.
|
|
300
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
301
301
|
* request proto
|
|
302
302
|
* @param {?Object<string, string>} metadata User defined
|
|
303
303
|
* call metadata
|
|
@@ -16,7 +16,6 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest',
|
|
|
16
16
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
|
|
17
17
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
|
|
18
18
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest', null, global);
|
|
19
|
-
goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipListRequest', null, global);
|
|
20
19
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
|
|
21
20
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetail', null, global);
|
|
22
21
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetailResponse', null, global);
|
|
@@ -1007,165 +1006,6 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.se
|
|
|
1007
1006
|
|
|
1008
1007
|
|
|
1009
1008
|
|
|
1010
|
-
/**
|
|
1011
|
-
* Generated by JsPbCodeGenerator.
|
|
1012
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1013
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1014
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1015
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1016
|
-
* valid.
|
|
1017
|
-
* @extends {jspb.Message}
|
|
1018
|
-
* @constructor
|
|
1019
|
-
*/
|
|
1020
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest = function(opt_data) {
|
|
1021
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1022
|
-
};
|
|
1023
|
-
goog.inherits(proto.loyaltyprogramserviceapi.GetMembershipListRequest, jspb.Message);
|
|
1024
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1025
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.displayName = 'proto.loyaltyprogramserviceapi.GetMembershipListRequest';
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1030
|
-
/**
|
|
1031
|
-
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1032
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1033
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1034
|
-
* For the list of reserved names please see:
|
|
1035
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1036
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1037
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1038
|
-
* @return {!Object}
|
|
1039
|
-
*/
|
|
1040
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1041
|
-
return proto.loyaltyprogramserviceapi.GetMembershipListRequest.toObject(opt_includeInstance, this);
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* Static version of the {@see toObject} method.
|
|
1047
|
-
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1048
|
-
* instance for transitional soy proto support:
|
|
1049
|
-
* http://goto/soy-param-migration
|
|
1050
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} msg The msg instance to transform.
|
|
1051
|
-
* @return {!Object}
|
|
1052
|
-
*/
|
|
1053
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.toObject = function(includeInstance, msg) {
|
|
1054
|
-
var f, obj = {
|
|
1055
|
-
programid: msg.getProgramid()
|
|
1056
|
-
};
|
|
1057
|
-
|
|
1058
|
-
if (includeInstance) {
|
|
1059
|
-
obj.$jspbMessageInstance = msg;
|
|
1060
|
-
}
|
|
1061
|
-
return obj;
|
|
1062
|
-
};
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1068
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1069
|
-
* @return {!proto.loyaltyprogramserviceapi.GetMembershipListRequest}
|
|
1070
|
-
*/
|
|
1071
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.deserializeBinary = function(bytes) {
|
|
1072
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1073
|
-
var msg = new proto.loyaltyprogramserviceapi.GetMembershipListRequest;
|
|
1074
|
-
return proto.loyaltyprogramserviceapi.GetMembershipListRequest.deserializeBinaryFromReader(msg, reader);
|
|
1075
|
-
};
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
/**
|
|
1079
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1080
|
-
* given reader into the given message object.
|
|
1081
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} msg The message object to deserialize into.
|
|
1082
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1083
|
-
* @return {!proto.loyaltyprogramserviceapi.GetMembershipListRequest}
|
|
1084
|
-
*/
|
|
1085
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1086
|
-
while (reader.nextField()) {
|
|
1087
|
-
if (reader.isEndGroup()) {
|
|
1088
|
-
break;
|
|
1089
|
-
}
|
|
1090
|
-
var field = reader.getFieldNumber();
|
|
1091
|
-
switch (field) {
|
|
1092
|
-
case 1:
|
|
1093
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1094
|
-
msg.setProgramid(value);
|
|
1095
|
-
break;
|
|
1096
|
-
default:
|
|
1097
|
-
reader.skipField();
|
|
1098
|
-
break;
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
return msg;
|
|
1102
|
-
};
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* Class method variant: serializes the given message to binary data
|
|
1107
|
-
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1108
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} message
|
|
1109
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1110
|
-
*/
|
|
1111
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1112
|
-
message.serializeBinaryToWriter(writer);
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1118
|
-
* @return {!Uint8Array}
|
|
1119
|
-
*/
|
|
1120
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.serializeBinary = function() {
|
|
1121
|
-
var writer = new jspb.BinaryWriter();
|
|
1122
|
-
this.serializeBinaryToWriter(writer);
|
|
1123
|
-
return writer.getResultBuffer();
|
|
1124
|
-
};
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* Serializes the message to binary data (in protobuf wire format),
|
|
1129
|
-
* writing to the given BinaryWriter.
|
|
1130
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1131
|
-
*/
|
|
1132
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
1133
|
-
var f = undefined;
|
|
1134
|
-
f = this.getProgramid();
|
|
1135
|
-
if (f !== 0) {
|
|
1136
|
-
writer.writeInt64(
|
|
1137
|
-
1,
|
|
1138
|
-
f
|
|
1139
|
-
);
|
|
1140
|
-
}
|
|
1141
|
-
};
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1146
|
-
* @return {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} The clone.
|
|
1147
|
-
*/
|
|
1148
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.cloneMessage = function() {
|
|
1149
|
-
return /** @type {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} */ (jspb.Message.cloneMessage(this));
|
|
1150
|
-
};
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
/**
|
|
1154
|
-
* optional int64 programId = 1;
|
|
1155
|
-
* @return {number}
|
|
1156
|
-
*/
|
|
1157
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.getProgramid = function() {
|
|
1158
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
1159
|
-
};
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
/** @param {number} value */
|
|
1163
|
-
proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.setProgramid = function(value) {
|
|
1164
|
-
jspb.Message.setField(this, 1, value);
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
1009
|
/**
|
|
1170
1010
|
* Generated by JsPbCodeGenerator.
|
|
1171
1011
|
* @param {Array=} opt_data Optional initial data array, typically from a
|