@sniipwebmaster/loyalty-program-client-grpcweb 22.16.190 → 22.16.206

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.
@@ -77,160 +77,160 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient =
77
77
  /**
78
78
  * @const
79
79
  * @type {!grpc.web.MethodDescriptor<
80
- * !proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest,
81
- * !proto.loyaltyprogramserviceapi.ResponseCode>}
80
+ * !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
81
+ * !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
82
82
  */
83
- const methodDescriptor_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction = new grpc.web.MethodDescriptor(
84
- '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateJournalEntryForTransaction',
83
+ const methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.MethodDescriptor(
84
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
85
85
  grpc.web.MethodType.UNARY,
86
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest,
87
- proto.loyaltyprogramserviceapi.ResponseCode,
86
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
87
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse,
88
88
  /**
89
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request
89
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
90
90
  * @return {!Uint8Array}
91
91
  */
92
92
  function(request) {
93
93
  return request.serializeBinary();
94
94
  },
95
- proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
95
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
96
96
  );
97
97
 
98
98
 
99
99
  /**
100
100
  * @const
101
101
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
102
- * !proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest,
103
- * !proto.loyaltyprogramserviceapi.ResponseCode>}
102
+ * !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
103
+ * !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
104
104
  */
105
- const methodInfo_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction = new grpc.web.AbstractClientBase.MethodInfo(
106
- proto.loyaltyprogramserviceapi.ResponseCode,
105
+ const methodInfo_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.AbstractClientBase.MethodInfo(
106
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse,
107
107
  /**
108
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request
108
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
109
109
  * @return {!Uint8Array}
110
110
  */
111
111
  function(request) {
112
112
  return request.serializeBinary();
113
113
  },
114
- proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
114
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
115
115
  );
116
116
 
117
117
 
118
118
  /**
119
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request The
119
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
120
120
  * request proto
121
121
  * @param {?Object<string, string>} metadata User defined
122
122
  * call metadata
123
- * @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
123
+ * @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ProgramDetailResponse)}
124
124
  * callback The callback function(error, response)
125
- * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
125
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>|undefined}
126
126
  * The XHR Node Readable Stream
127
127
  */
128
- proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createJournalEntryForTransaction =
128
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createLoyaltyProgram =
129
129
  function(request, metadata, callback) {
130
130
  return this.client_.rpcCall(this.hostname_ +
131
- '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateJournalEntryForTransaction',
131
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
132
132
  request,
133
133
  metadata || {},
134
- methodDescriptor_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction,
134
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram,
135
135
  callback);
136
136
  };
137
137
 
138
138
 
139
139
  /**
140
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request The
140
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
141
141
  * request proto
142
142
  * @param {?Object<string, string>} metadata User defined
143
143
  * call metadata
144
- * @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
144
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
145
145
  * Promise that resolves to the response
146
146
  */
147
- proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createJournalEntryForTransaction =
147
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createLoyaltyProgram =
148
148
  function(request, metadata) {
149
149
  return this.client_.unaryCall(this.hostname_ +
150
- '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateJournalEntryForTransaction',
150
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
151
151
  request,
152
152
  metadata || {},
153
- methodDescriptor_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction);
153
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram);
154
154
  };
155
155
 
156
156
 
157
157
  /**
158
158
  * @const
159
159
  * @type {!grpc.web.MethodDescriptor<
160
- * !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
161
- * !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
160
+ * !proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest,
161
+ * !proto.loyaltyprogramserviceapi.ResponseCode>}
162
162
  */
163
- const methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.MethodDescriptor(
164
- '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
163
+ const methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction = new grpc.web.MethodDescriptor(
164
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyTransactionForTransaction',
165
165
  grpc.web.MethodType.UNARY,
166
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
167
- proto.loyaltyprogramserviceapi.ProgramDetailResponse,
166
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest,
167
+ proto.loyaltyprogramserviceapi.ResponseCode,
168
168
  /**
169
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
169
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request
170
170
  * @return {!Uint8Array}
171
171
  */
172
172
  function(request) {
173
173
  return request.serializeBinary();
174
174
  },
175
- proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
175
+ proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
176
176
  );
177
177
 
178
178
 
179
179
  /**
180
180
  * @const
181
181
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
182
- * !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
183
- * !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
182
+ * !proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest,
183
+ * !proto.loyaltyprogramserviceapi.ResponseCode>}
184
184
  */
185
- const methodInfo_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.AbstractClientBase.MethodInfo(
186
- proto.loyaltyprogramserviceapi.ProgramDetailResponse,
185
+ const methodInfo_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction = new grpc.web.AbstractClientBase.MethodInfo(
186
+ proto.loyaltyprogramserviceapi.ResponseCode,
187
187
  /**
188
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
188
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request
189
189
  * @return {!Uint8Array}
190
190
  */
191
191
  function(request) {
192
192
  return request.serializeBinary();
193
193
  },
194
- proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
194
+ proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
195
195
  );
196
196
 
197
197
 
198
198
  /**
199
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
199
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request The
200
200
  * request proto
201
201
  * @param {?Object<string, string>} metadata User defined
202
202
  * call metadata
203
- * @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ProgramDetailResponse)}
203
+ * @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
204
204
  * callback The callback function(error, response)
205
- * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>|undefined}
205
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
206
206
  * The XHR Node Readable Stream
207
207
  */
208
- proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createLoyaltyProgram =
208
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createLoyaltyTransactionForTransaction =
209
209
  function(request, metadata, callback) {
210
210
  return this.client_.rpcCall(this.hostname_ +
211
- '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
211
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyTransactionForTransaction',
212
212
  request,
213
213
  metadata || {},
214
- methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram,
214
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction,
215
215
  callback);
216
216
  };
217
217
 
218
218
 
219
219
  /**
220
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
220
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request The
221
221
  * request proto
222
222
  * @param {?Object<string, string>} metadata User defined
223
223
  * call metadata
224
- * @return {!Promise<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
224
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
225
225
  * Promise that resolves to the response
226
226
  */
227
- proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createLoyaltyProgram =
227
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createLoyaltyTransactionForTransaction =
228
228
  function(request, metadata) {
229
229
  return this.client_.unaryCall(this.hostname_ +
230
- '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
230
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyTransactionForTransaction',
231
231
  request,
232
232
  metadata || {},
233
- methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram);
233
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction);
234
234
  };
235
235
 
236
236
 
@@ -11,11 +11,11 @@ var global = Function('return this')();
11
11
 
12
12
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');
13
13
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
14
- goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest', null, global);
15
14
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest', null, global);
15
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest', null, global);
16
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest', null, global);
16
17
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
17
18
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
18
- goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest', null, global);
19
19
  goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
20
20
  goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetail', null, global);
21
21
  goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetailResponse', null, global);
@@ -40,12 +40,12 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipResponse', n
40
40
  * @extends {jspb.Message}
41
41
  * @constructor
42
42
  */
43
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest = function(opt_data) {
43
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest = function(opt_data) {
44
44
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
45
45
  };
46
- goog.inherits(proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest, jspb.Message);
46
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest, jspb.Message);
47
47
  if (goog.DEBUG && !COMPILED) {
48
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest';
48
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest';
49
49
  }
50
50
 
51
51
 
@@ -60,8 +60,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
60
60
  * for transitional soy proto support: http://goto/soy-param-migration
61
61
  * @return {!Object}
62
62
  */
63
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.toObject = function(opt_includeInstance) {
64
- return proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject(opt_includeInstance, this);
63
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.toObject = function(opt_includeInstance) {
64
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject(opt_includeInstance, this);
65
65
  };
66
66
 
67
67
 
@@ -70,12 +70,12 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
70
70
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
71
71
  * instance for transitional soy proto support:
72
72
  * http://goto/soy-param-migration
73
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} msg The msg instance to transform.
73
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The msg instance to transform.
74
74
  * @return {!Object}
75
75
  */
76
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject = function(includeInstance, msg) {
76
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject = function(includeInstance, msg) {
77
77
  var f, obj = {
78
- data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject(includeInstance, f)
78
+ data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject(includeInstance, f)
79
79
  };
80
80
 
81
81
  if (includeInstance) {
@@ -89,23 +89,23 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject
89
89
  /**
90
90
  * Deserializes binary data (in protobuf wire format).
91
91
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
92
- * @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest}
92
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
93
93
  */
94
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinary = function(bytes) {
94
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinary = function(bytes) {
95
95
  var reader = new jspb.BinaryReader(bytes);
96
- var msg = new proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest;
97
- return proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinaryFromReader(msg, reader);
96
+ var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest;
97
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader(msg, reader);
98
98
  };
99
99
 
100
100
 
101
101
  /**
102
102
  * Deserializes binary data (in protobuf wire format) from the
103
103
  * given reader into the given message object.
104
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} msg The message object to deserialize into.
104
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The message object to deserialize into.
105
105
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
106
- * @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest}
106
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
107
107
  */
108
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
108
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
109
109
  while (reader.nextField()) {
110
110
  if (reader.isEndGroup()) {
111
111
  break;
@@ -113,8 +113,8 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deseriali
113
113
  var field = reader.getFieldNumber();
114
114
  switch (field) {
115
115
  case 1:
116
- var value = new proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest;
117
- reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader);
116
+ var value = new proto.loyaltyprogramserviceapi.CreateProgramRequest;
117
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader);
118
118
  msg.setData(value);
119
119
  break;
120
120
  default:
@@ -129,10 +129,10 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deseriali
129
129
  /**
130
130
  * Class method variant: serializes the given message to binary data
131
131
  * (in protobuf wire format), writing to the given BinaryWriter.
132
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} message
132
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} message
133
133
  * @param {!jspb.BinaryWriter} writer
134
134
  */
135
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.serializeBinaryToWriter = function(message, writer) {
135
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.serializeBinaryToWriter = function(message, writer) {
136
136
  message.serializeBinaryToWriter(writer);
137
137
  };
138
138
 
@@ -141,7 +141,7 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.serialize
141
141
  * Serializes the message to binary data (in protobuf wire format).
142
142
  * @return {!Uint8Array}
143
143
  */
144
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.serializeBinary = function() {
144
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinary = function() {
145
145
  var writer = new jspb.BinaryWriter();
146
146
  this.serializeBinaryToWriter(writer);
147
147
  return writer.getResultBuffer();
@@ -153,14 +153,14 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
153
153
  * writing to the given BinaryWriter.
154
154
  * @param {!jspb.BinaryWriter} writer
155
155
  */
156
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
156
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
157
157
  var f = undefined;
158
158
  f = this.getData();
159
159
  if (f != null) {
160
160
  writer.writeMessage(
161
161
  1,
162
162
  f,
163
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBinaryToWriter
163
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter
164
164
  );
165
165
  }
166
166
  };
@@ -168,30 +168,30 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
168
168
 
169
169
  /**
170
170
  * Creates a deep clone of this proto. No data is shared with the original.
171
- * @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} The clone.
171
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} The clone.
172
172
  */
173
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.cloneMessage = function() {
174
- return /** @type {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} */ (jspb.Message.cloneMessage(this));
173
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.cloneMessage = function() {
174
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} */ (jspb.Message.cloneMessage(this));
175
175
  };
176
176
 
177
177
 
178
178
  /**
179
- * optional CreateTransactionJournalEntryRequest data = 1;
180
- * @return {proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
179
+ * optional CreateProgramRequest data = 1;
180
+ * @return {proto.loyaltyprogramserviceapi.CreateProgramRequest}
181
181
  */
182
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.getData = function() {
183
- return /** @type{proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} */ (
184
- jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest, 1));
182
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.getData = function() {
183
+ return /** @type{proto.loyaltyprogramserviceapi.CreateProgramRequest} */ (
184
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateProgramRequest, 1));
185
185
  };
186
186
 
187
187
 
188
- /** @param {proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest|undefined} value */
189
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.setData = function(value) {
188
+ /** @param {proto.loyaltyprogramserviceapi.CreateProgramRequest|undefined} value */
189
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.setData = function(value) {
190
190
  jspb.Message.setWrapperField(this, 1, value);
191
191
  };
192
192
 
193
193
 
194
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.clearData = function() {
194
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.clearData = function() {
195
195
  this.setData(undefined);
196
196
  };
197
197
 
@@ -200,7 +200,7 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
200
200
  * Returns whether this field is set.
201
201
  * @return{!boolean}
202
202
  */
203
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.hasData = function() {
203
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.hasData = function() {
204
204
  return jspb.Message.getField(this, 1) != null;
205
205
  };
206
206
 
@@ -216,12 +216,12 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
216
216
  * @extends {jspb.Message}
217
217
  * @constructor
218
218
  */
219
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest = function(opt_data) {
219
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest = function(opt_data) {
220
220
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
221
221
  };
222
- goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest, jspb.Message);
222
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest, jspb.Message);
223
223
  if (goog.DEBUG && !COMPILED) {
224
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest';
224
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest';
225
225
  }
226
226
 
227
227
 
@@ -236,8 +236,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
236
236
  * for transitional soy proto support: http://goto/soy-param-migration
237
237
  * @return {!Object}
238
238
  */
239
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.toObject = function(opt_includeInstance) {
240
- return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject(opt_includeInstance, this);
239
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.toObject = function(opt_includeInstance) {
240
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.toObject(opt_includeInstance, this);
241
241
  };
242
242
 
243
243
 
@@ -246,12 +246,12 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.toObject =
246
246
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
247
247
  * instance for transitional soy proto support:
248
248
  * http://goto/soy-param-migration
249
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The msg instance to transform.
249
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} msg The msg instance to transform.
250
250
  * @return {!Object}
251
251
  */
252
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject = function(includeInstance, msg) {
252
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.toObject = function(includeInstance, msg) {
253
253
  var f, obj = {
254
- data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject(includeInstance, f)
254
+ data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.toObject(includeInstance, f)
255
255
  };
256
256
 
257
257
  if (includeInstance) {
@@ -265,23 +265,23 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject = function(i
265
265
  /**
266
266
  * Deserializes binary data (in protobuf wire format).
267
267
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
268
- * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
268
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest}
269
269
  */
270
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinary = function(bytes) {
270
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.deserializeBinary = function(bytes) {
271
271
  var reader = new jspb.BinaryReader(bytes);
272
- var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest;
273
- return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader(msg, reader);
272
+ var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest;
273
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.deserializeBinaryFromReader(msg, reader);
274
274
  };
275
275
 
276
276
 
277
277
  /**
278
278
  * Deserializes binary data (in protobuf wire format) from the
279
279
  * given reader into the given message object.
280
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The message object to deserialize into.
280
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} msg The message object to deserialize into.
281
281
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
282
- * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
282
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest}
283
283
  */
284
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
284
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
285
285
  while (reader.nextField()) {
286
286
  if (reader.isEndGroup()) {
287
287
  break;
@@ -289,8 +289,8 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFrom
289
289
  var field = reader.getFieldNumber();
290
290
  switch (field) {
291
291
  case 1:
292
- var value = new proto.loyaltyprogramserviceapi.CreateProgramRequest;
293
- reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader);
292
+ var value = new proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest;
293
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinaryFromReader);
294
294
  msg.setData(value);
295
295
  break;
296
296
  default:
@@ -305,10 +305,10 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFrom
305
305
  /**
306
306
  * Class method variant: serializes the given message to binary data
307
307
  * (in protobuf wire format), writing to the given BinaryWriter.
308
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} message
308
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} message
309
309
  * @param {!jspb.BinaryWriter} writer
310
310
  */
311
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.serializeBinaryToWriter = function(message, writer) {
311
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.serializeBinaryToWriter = function(message, writer) {
312
312
  message.serializeBinaryToWriter(writer);
313
313
  };
314
314
 
@@ -317,7 +317,7 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.serializeBinaryToWrit
317
317
  * Serializes the message to binary data (in protobuf wire format).
318
318
  * @return {!Uint8Array}
319
319
  */
320
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinary = function() {
320
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.serializeBinary = function() {
321
321
  var writer = new jspb.BinaryWriter();
322
322
  this.serializeBinaryToWriter(writer);
323
323
  return writer.getResultBuffer();
@@ -329,14 +329,14 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBi
329
329
  * writing to the given BinaryWriter.
330
330
  * @param {!jspb.BinaryWriter} writer
331
331
  */
332
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
332
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
333
333
  var f = undefined;
334
334
  f = this.getData();
335
335
  if (f != null) {
336
336
  writer.writeMessage(
337
337
  1,
338
338
  f,
339
- proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter
339
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.serializeBinaryToWriter
340
340
  );
341
341
  }
342
342
  };
@@ -344,30 +344,30 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBi
344
344
 
345
345
  /**
346
346
  * Creates a deep clone of this proto. No data is shared with the original.
347
- * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} The clone.
347
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} The clone.
348
348
  */
349
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.cloneMessage = function() {
350
- return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} */ (jspb.Message.cloneMessage(this));
349
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.cloneMessage = function() {
350
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} */ (jspb.Message.cloneMessage(this));
351
351
  };
352
352
 
353
353
 
354
354
  /**
355
- * optional CreateProgramRequest data = 1;
356
- * @return {proto.loyaltyprogramserviceapi.CreateProgramRequest}
355
+ * optional CreateLoyaltyTransactionRequest data = 1;
356
+ * @return {proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest}
357
357
  */
358
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.getData = function() {
359
- return /** @type{proto.loyaltyprogramserviceapi.CreateProgramRequest} */ (
360
- jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateProgramRequest, 1));
358
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.getData = function() {
359
+ return /** @type{proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} */ (
360
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest, 1));
361
361
  };
362
362
 
363
363
 
364
- /** @param {proto.loyaltyprogramserviceapi.CreateProgramRequest|undefined} value */
365
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.setData = function(value) {
364
+ /** @param {proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest|undefined} value */
365
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.setData = function(value) {
366
366
  jspb.Message.setWrapperField(this, 1, value);
367
367
  };
368
368
 
369
369
 
370
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.clearData = function() {
370
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.clearData = function() {
371
371
  this.setData(undefined);
372
372
  };
373
373
 
@@ -376,12 +376,279 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.clearData =
376
376
  * Returns whether this field is set.
377
377
  * @return{!boolean}
378
378
  */
379
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.hasData = function() {
379
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.hasData = function() {
380
380
  return jspb.Message.getField(this, 1) != null;
381
381
  };
382
382
 
383
383
 
384
384
 
385
+ /**
386
+ * Generated by JsPbCodeGenerator.
387
+ * @param {Array=} opt_data Optional initial data array, typically from a
388
+ * server response, or constructed directly in Javascript. The array is used
389
+ * in place and becomes part of the constructed object. It is not cloned.
390
+ * If no data is provided, the constructed object will be empty, but still
391
+ * valid.
392
+ * @extends {jspb.Message}
393
+ * @constructor
394
+ */
395
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest = function(opt_data) {
396
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
397
+ };
398
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest, jspb.Message);
399
+ if (goog.DEBUG && !COMPILED) {
400
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest';
401
+ }
402
+
403
+
404
+ if (jspb.Message.GENERATE_TO_OBJECT) {
405
+ /**
406
+ * Creates an object representation of this proto suitable for use in Soy templates.
407
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
408
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
409
+ * For the list of reserved names please see:
410
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
411
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
412
+ * for transitional soy proto support: http://goto/soy-param-migration
413
+ * @return {!Object}
414
+ */
415
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.toObject = function(opt_includeInstance) {
416
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.toObject(opt_includeInstance, this);
417
+ };
418
+
419
+
420
+ /**
421
+ * Static version of the {@see toObject} method.
422
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
423
+ * instance for transitional soy proto support:
424
+ * http://goto/soy-param-migration
425
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} msg The msg instance to transform.
426
+ * @return {!Object}
427
+ */
428
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.toObject = function(includeInstance, msg) {
429
+ var f, obj = {
430
+ membershipid: msg.getMembershipid(),
431
+ userid: msg.getUserid(),
432
+ source: msg.getSource(),
433
+ sourceid: msg.getSourceid(),
434
+ paymentamount: msg.getPaymentamount()
435
+ };
436
+
437
+ if (includeInstance) {
438
+ obj.$jspbMessageInstance = msg;
439
+ }
440
+ return obj;
441
+ };
442
+ }
443
+
444
+
445
+ /**
446
+ * Deserializes binary data (in protobuf wire format).
447
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
448
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest}
449
+ */
450
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinary = function(bytes) {
451
+ var reader = new jspb.BinaryReader(bytes);
452
+ var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest;
453
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinaryFromReader(msg, reader);
454
+ };
455
+
456
+
457
+ /**
458
+ * Deserializes binary data (in protobuf wire format) from the
459
+ * given reader into the given message object.
460
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} msg The message object to deserialize into.
461
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
462
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest}
463
+ */
464
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
465
+ while (reader.nextField()) {
466
+ if (reader.isEndGroup()) {
467
+ break;
468
+ }
469
+ var field = reader.getFieldNumber();
470
+ switch (field) {
471
+ case 1:
472
+ var value = /** @type {number} */ (reader.readInt64());
473
+ msg.setMembershipid(value);
474
+ break;
475
+ case 2:
476
+ var value = /** @type {number} */ (reader.readInt64());
477
+ msg.setUserid(value);
478
+ break;
479
+ case 3:
480
+ var value = /** @type {string} */ (reader.readString());
481
+ msg.setSource(value);
482
+ break;
483
+ case 4:
484
+ var value = /** @type {number} */ (reader.readInt64());
485
+ msg.setSourceid(value);
486
+ break;
487
+ case 5:
488
+ var value = /** @type {number} */ (reader.readFloat());
489
+ msg.setPaymentamount(value);
490
+ break;
491
+ default:
492
+ reader.skipField();
493
+ break;
494
+ }
495
+ }
496
+ return msg;
497
+ };
498
+
499
+
500
+ /**
501
+ * Class method variant: serializes the given message to binary data
502
+ * (in protobuf wire format), writing to the given BinaryWriter.
503
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} message
504
+ * @param {!jspb.BinaryWriter} writer
505
+ */
506
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.serializeBinaryToWriter = function(message, writer) {
507
+ message.serializeBinaryToWriter(writer);
508
+ };
509
+
510
+
511
+ /**
512
+ * Serializes the message to binary data (in protobuf wire format).
513
+ * @return {!Uint8Array}
514
+ */
515
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.serializeBinary = function() {
516
+ var writer = new jspb.BinaryWriter();
517
+ this.serializeBinaryToWriter(writer);
518
+ return writer.getResultBuffer();
519
+ };
520
+
521
+
522
+ /**
523
+ * Serializes the message to binary data (in protobuf wire format),
524
+ * writing to the given BinaryWriter.
525
+ * @param {!jspb.BinaryWriter} writer
526
+ */
527
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
528
+ var f = undefined;
529
+ f = this.getMembershipid();
530
+ if (f !== 0) {
531
+ writer.writeInt64(
532
+ 1,
533
+ f
534
+ );
535
+ }
536
+ f = this.getUserid();
537
+ if (f !== 0) {
538
+ writer.writeInt64(
539
+ 2,
540
+ f
541
+ );
542
+ }
543
+ f = this.getSource();
544
+ if (f.length > 0) {
545
+ writer.writeString(
546
+ 3,
547
+ f
548
+ );
549
+ }
550
+ f = this.getSourceid();
551
+ if (f !== 0) {
552
+ writer.writeInt64(
553
+ 4,
554
+ f
555
+ );
556
+ }
557
+ f = this.getPaymentamount();
558
+ if (f !== 0.0) {
559
+ writer.writeFloat(
560
+ 5,
561
+ f
562
+ );
563
+ }
564
+ };
565
+
566
+
567
+ /**
568
+ * Creates a deep clone of this proto. No data is shared with the original.
569
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} The clone.
570
+ */
571
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.cloneMessage = function() {
572
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} */ (jspb.Message.cloneMessage(this));
573
+ };
574
+
575
+
576
+ /**
577
+ * optional int64 membershipId = 1;
578
+ * @return {number}
579
+ */
580
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getMembershipid = function() {
581
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
582
+ };
583
+
584
+
585
+ /** @param {number} value */
586
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setMembershipid = function(value) {
587
+ jspb.Message.setField(this, 1, value);
588
+ };
589
+
590
+
591
+ /**
592
+ * optional int64 userId = 2;
593
+ * @return {number}
594
+ */
595
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getUserid = function() {
596
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
597
+ };
598
+
599
+
600
+ /** @param {number} value */
601
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setUserid = function(value) {
602
+ jspb.Message.setField(this, 2, value);
603
+ };
604
+
605
+
606
+ /**
607
+ * optional string source = 3;
608
+ * @return {string}
609
+ */
610
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getSource = function() {
611
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
612
+ };
613
+
614
+
615
+ /** @param {string} value */
616
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setSource = function(value) {
617
+ jspb.Message.setField(this, 3, value);
618
+ };
619
+
620
+
621
+ /**
622
+ * optional int64 sourceId = 4;
623
+ * @return {number}
624
+ */
625
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getSourceid = function() {
626
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
627
+ };
628
+
629
+
630
+ /** @param {number} value */
631
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setSourceid = function(value) {
632
+ jspb.Message.setField(this, 4, value);
633
+ };
634
+
635
+
636
+ /**
637
+ * optional float paymentAmount = 5;
638
+ * @return {number}
639
+ */
640
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getPaymentamount = function() {
641
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
642
+ };
643
+
644
+
645
+ /** @param {number} value */
646
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setPaymentamount = function(value) {
647
+ jspb.Message.setField(this, 5, value);
648
+ };
649
+
650
+
651
+
385
652
  /**
386
653
  * Generated by JsPbCodeGenerator.
387
654
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -766,246 +1033,6 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembersh
766
1033
  };
767
1034
 
768
1035
 
769
- /**
770
- * Generated by JsPbCodeGenerator.
771
- * @param {Array=} opt_data Optional initial data array, typically from a
772
- * server response, or constructed directly in Javascript. The array is used
773
- * in place and becomes part of the constructed object. It is not cloned.
774
- * If no data is provided, the constructed object will be empty, but still
775
- * valid.
776
- * @extends {jspb.Message}
777
- * @constructor
778
- */
779
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest = function(opt_data) {
780
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
781
- };
782
- goog.inherits(proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest, jspb.Message);
783
- if (goog.DEBUG && !COMPILED) {
784
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest';
785
- }
786
-
787
-
788
- if (jspb.Message.GENERATE_TO_OBJECT) {
789
- /**
790
- * Creates an object representation of this proto suitable for use in Soy templates.
791
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
792
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
793
- * For the list of reserved names please see:
794
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
795
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
796
- * for transitional soy proto support: http://goto/soy-param-migration
797
- * @return {!Object}
798
- */
799
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.toObject = function(opt_includeInstance) {
800
- return proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject(opt_includeInstance, this);
801
- };
802
-
803
-
804
- /**
805
- * Static version of the {@see toObject} method.
806
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
807
- * instance for transitional soy proto support:
808
- * http://goto/soy-param-migration
809
- * @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} msg The msg instance to transform.
810
- * @return {!Object}
811
- */
812
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject = function(includeInstance, msg) {
813
- var f, obj = {
814
- membershipid: msg.getMembershipid(),
815
- userid: msg.getUserid(),
816
- transactionid: msg.getTransactionid(),
817
- paymentamount: msg.getPaymentamount()
818
- };
819
-
820
- if (includeInstance) {
821
- obj.$jspbMessageInstance = msg;
822
- }
823
- return obj;
824
- };
825
- }
826
-
827
-
828
- /**
829
- * Deserializes binary data (in protobuf wire format).
830
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
831
- * @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
832
- */
833
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinary = function(bytes) {
834
- var reader = new jspb.BinaryReader(bytes);
835
- var msg = new proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest;
836
- return proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader(msg, reader);
837
- };
838
-
839
-
840
- /**
841
- * Deserializes binary data (in protobuf wire format) from the
842
- * given reader into the given message object.
843
- * @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} msg The message object to deserialize into.
844
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
845
- * @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
846
- */
847
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader = function(msg, reader) {
848
- while (reader.nextField()) {
849
- if (reader.isEndGroup()) {
850
- break;
851
- }
852
- var field = reader.getFieldNumber();
853
- switch (field) {
854
- case 1:
855
- var value = /** @type {number} */ (reader.readInt64());
856
- msg.setMembershipid(value);
857
- break;
858
- case 2:
859
- var value = /** @type {number} */ (reader.readInt64());
860
- msg.setUserid(value);
861
- break;
862
- case 3:
863
- var value = /** @type {number} */ (reader.readInt64());
864
- msg.setTransactionid(value);
865
- break;
866
- case 4:
867
- var value = /** @type {number} */ (reader.readFloat());
868
- msg.setPaymentamount(value);
869
- break;
870
- default:
871
- reader.skipField();
872
- break;
873
- }
874
- }
875
- return msg;
876
- };
877
-
878
-
879
- /**
880
- * Class method variant: serializes the given message to binary data
881
- * (in protobuf wire format), writing to the given BinaryWriter.
882
- * @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} message
883
- * @param {!jspb.BinaryWriter} writer
884
- */
885
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBinaryToWriter = function(message, writer) {
886
- message.serializeBinaryToWriter(writer);
887
- };
888
-
889
-
890
- /**
891
- * Serializes the message to binary data (in protobuf wire format).
892
- * @return {!Uint8Array}
893
- */
894
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.serializeBinary = function() {
895
- var writer = new jspb.BinaryWriter();
896
- this.serializeBinaryToWriter(writer);
897
- return writer.getResultBuffer();
898
- };
899
-
900
-
901
- /**
902
- * Serializes the message to binary data (in protobuf wire format),
903
- * writing to the given BinaryWriter.
904
- * @param {!jspb.BinaryWriter} writer
905
- */
906
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.serializeBinaryToWriter = function (writer) {
907
- var f = undefined;
908
- f = this.getMembershipid();
909
- if (f !== 0) {
910
- writer.writeInt64(
911
- 1,
912
- f
913
- );
914
- }
915
- f = this.getUserid();
916
- if (f !== 0) {
917
- writer.writeInt64(
918
- 2,
919
- f
920
- );
921
- }
922
- f = this.getTransactionid();
923
- if (f !== 0) {
924
- writer.writeInt64(
925
- 3,
926
- f
927
- );
928
- }
929
- f = this.getPaymentamount();
930
- if (f !== 0.0) {
931
- writer.writeFloat(
932
- 4,
933
- f
934
- );
935
- }
936
- };
937
-
938
-
939
- /**
940
- * Creates a deep clone of this proto. No data is shared with the original.
941
- * @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} The clone.
942
- */
943
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.cloneMessage = function() {
944
- return /** @type {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} */ (jspb.Message.cloneMessage(this));
945
- };
946
-
947
-
948
- /**
949
- * optional int64 membershipId = 1;
950
- * @return {number}
951
- */
952
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getMembershipid = function() {
953
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
954
- };
955
-
956
-
957
- /** @param {number} value */
958
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setMembershipid = function(value) {
959
- jspb.Message.setField(this, 1, value);
960
- };
961
-
962
-
963
- /**
964
- * optional int64 userId = 2;
965
- * @return {number}
966
- */
967
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getUserid = function() {
968
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
969
- };
970
-
971
-
972
- /** @param {number} value */
973
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setUserid = function(value) {
974
- jspb.Message.setField(this, 2, value);
975
- };
976
-
977
-
978
- /**
979
- * optional int64 transactionId = 3;
980
- * @return {number}
981
- */
982
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getTransactionid = function() {
983
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
984
- };
985
-
986
-
987
- /** @param {number} value */
988
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setTransactionid = function(value) {
989
- jspb.Message.setField(this, 3, value);
990
- };
991
-
992
-
993
- /**
994
- * optional float paymentAmount = 4;
995
- * @return {number}
996
- */
997
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getPaymentamount = function() {
998
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
999
- };
1000
-
1001
-
1002
- /** @param {number} value */
1003
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setPaymentamount = function(value) {
1004
- jspb.Message.setField(this, 4, value);
1005
- };
1006
-
1007
-
1008
-
1009
1036
  /**
1010
1037
  * Generated by JsPbCodeGenerator.
1011
1038
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/loyalty-program-client-grpcweb",
3
- "version": "22.16.190",
3
+ "version": "22.16.206",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",