@sniipwebmaster/loyalty-program-client-grpcweb 23.6.1395 → 24.12.1539
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.
|
@@ -1,1758 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview gRPC-Web generated client stub for loyaltyprogramserviceapi
|
|
3
|
-
* @enhanceable
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* eslint-disable */
|
|
11
|
-
// @ts-nocheck
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const grpc = {};
|
|
16
|
-
grpc.web = require('grpc-web');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
|
20
|
-
|
|
21
|
-
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
22
|
-
const proto = {};
|
|
23
|
-
proto.loyaltyprogramserviceapi = require('./service_pb.js');
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @param {string} hostname
|
|
27
|
-
* @param {?Object} credentials
|
|
28
|
-
* @param {?Object} options
|
|
29
|
-
* @constructor
|
|
30
|
-
* @struct
|
|
31
|
-
* @final
|
|
32
|
-
*/
|
|
33
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient =
|
|
34
|
-
function(hostname, credentials, options) {
|
|
35
|
-
if (!options) options = {};
|
|
36
|
-
options['format'] = 'text';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
40
|
-
*/
|
|
41
|
-
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @private @const {string} The hostname
|
|
45
|
-
*/
|
|
46
|
-
this.hostname_ = hostname;
|
|
47
|
-
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @param {string} hostname
|
|
53
|
-
* @param {?Object} credentials
|
|
54
|
-
* @param {?Object} options
|
|
55
|
-
* @constructor
|
|
56
|
-
* @struct
|
|
57
|
-
* @final
|
|
58
|
-
*/
|
|
59
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient =
|
|
60
|
-
function(hostname, credentials, options) {
|
|
61
|
-
if (!options) options = {};
|
|
62
|
-
options['format'] = 'text';
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
66
|
-
*/
|
|
67
|
-
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @private @const {string} The hostname
|
|
71
|
-
*/
|
|
72
|
-
this.hostname_ = hostname;
|
|
73
|
-
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @const
|
|
79
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
80
|
-
* !proto.loyaltyprogramserviceapi.CalculatePointsRequest,
|
|
81
|
-
* !proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse>}
|
|
82
|
-
*/
|
|
83
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_CalculatePoints = new grpc.web.MethodDescriptor(
|
|
84
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CalculatePoints',
|
|
85
|
-
grpc.web.MethodType.UNARY,
|
|
86
|
-
proto.loyaltyprogramserviceapi.CalculatePointsRequest,
|
|
87
|
-
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse,
|
|
88
|
-
/**
|
|
89
|
-
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request
|
|
90
|
-
* @return {!Uint8Array}
|
|
91
|
-
*/
|
|
92
|
-
function(request) {
|
|
93
|
-
return request.serializeBinary();
|
|
94
|
-
},
|
|
95
|
-
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
96
|
-
);
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @const
|
|
101
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
102
|
-
* !proto.loyaltyprogramserviceapi.CalculatePointsRequest,
|
|
103
|
-
* !proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse>}
|
|
104
|
-
*/
|
|
105
|
-
const methodInfo_LoyaltyProgramServiceAPIService_CalculatePoints = new grpc.web.AbstractClientBase.MethodInfo(
|
|
106
|
-
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse,
|
|
107
|
-
/**
|
|
108
|
-
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request
|
|
109
|
-
* @return {!Uint8Array}
|
|
110
|
-
*/
|
|
111
|
-
function(request) {
|
|
112
|
-
return request.serializeBinary();
|
|
113
|
-
},
|
|
114
|
-
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
115
|
-
);
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request The
|
|
120
|
-
* request proto
|
|
121
|
-
* @param {?Object<string, string>} metadata User defined
|
|
122
|
-
* call metadata
|
|
123
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse)}
|
|
124
|
-
* callback The callback function(error, response)
|
|
125
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse>|undefined}
|
|
126
|
-
* The XHR Node Readable Stream
|
|
127
|
-
*/
|
|
128
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.calculatePoints =
|
|
129
|
-
function(request, metadata, callback) {
|
|
130
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
131
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CalculatePoints',
|
|
132
|
-
request,
|
|
133
|
-
metadata || {},
|
|
134
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CalculatePoints,
|
|
135
|
-
callback);
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @param {!proto.loyaltyprogramserviceapi.CalculatePointsRequest} request The
|
|
141
|
-
* request proto
|
|
142
|
-
* @param {?Object<string, string>} metadata User defined
|
|
143
|
-
* call metadata
|
|
144
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse>}
|
|
145
|
-
* Promise that resolves to the response
|
|
146
|
-
*/
|
|
147
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.calculatePoints =
|
|
148
|
-
function(request, metadata) {
|
|
149
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
150
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CalculatePoints',
|
|
151
|
-
request,
|
|
152
|
-
metadata || {},
|
|
153
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CalculatePoints);
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @const
|
|
159
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
160
|
-
* !proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest,
|
|
161
|
-
* !proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse>}
|
|
162
|
-
*/
|
|
163
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_CheckHasRewardBeenRedeemed = new grpc.web.MethodDescriptor(
|
|
164
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckHasRewardBeenRedeemed',
|
|
165
|
-
grpc.web.MethodType.UNARY,
|
|
166
|
-
proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest,
|
|
167
|
-
proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse,
|
|
168
|
-
/**
|
|
169
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest} request
|
|
170
|
-
* @return {!Uint8Array}
|
|
171
|
-
*/
|
|
172
|
-
function(request) {
|
|
173
|
-
return request.serializeBinary();
|
|
174
|
-
},
|
|
175
|
-
proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse.deserializeBinary
|
|
176
|
-
);
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @const
|
|
181
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
182
|
-
* !proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest,
|
|
183
|
-
* !proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse>}
|
|
184
|
-
*/
|
|
185
|
-
const methodInfo_LoyaltyProgramServiceAPIService_CheckHasRewardBeenRedeemed = new grpc.web.AbstractClientBase.MethodInfo(
|
|
186
|
-
proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse,
|
|
187
|
-
/**
|
|
188
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest} request
|
|
189
|
-
* @return {!Uint8Array}
|
|
190
|
-
*/
|
|
191
|
-
function(request) {
|
|
192
|
-
return request.serializeBinary();
|
|
193
|
-
},
|
|
194
|
-
proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse.deserializeBinary
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest} request The
|
|
200
|
-
* request proto
|
|
201
|
-
* @param {?Object<string, string>} metadata User defined
|
|
202
|
-
* call metadata
|
|
203
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse)}
|
|
204
|
-
* callback The callback function(error, response)
|
|
205
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse>|undefined}
|
|
206
|
-
* The XHR Node Readable Stream
|
|
207
|
-
*/
|
|
208
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.checkHasRewardBeenRedeemed =
|
|
209
|
-
function(request, metadata, callback) {
|
|
210
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
211
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckHasRewardBeenRedeemed',
|
|
212
|
-
request,
|
|
213
|
-
metadata || {},
|
|
214
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CheckHasRewardBeenRedeemed,
|
|
215
|
-
callback);
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckHasRewardBeenRedeemedRequest} request The
|
|
221
|
-
* request proto
|
|
222
|
-
* @param {?Object<string, string>} metadata User defined
|
|
223
|
-
* call metadata
|
|
224
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.HasRewardBeenRedeemedResponse>}
|
|
225
|
-
* Promise that resolves to the response
|
|
226
|
-
*/
|
|
227
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.checkHasRewardBeenRedeemed =
|
|
228
|
-
function(request, metadata) {
|
|
229
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
230
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckHasRewardBeenRedeemed',
|
|
231
|
-
request,
|
|
232
|
-
metadata || {},
|
|
233
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CheckHasRewardBeenRedeemed);
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* @const
|
|
239
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
240
|
-
* !proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest,
|
|
241
|
-
* !proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse>}
|
|
242
|
-
*/
|
|
243
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_CheckPaymentMethodsAvailabilityInternal = new grpc.web.MethodDescriptor(
|
|
244
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckPaymentMethodsAvailabilityInternal',
|
|
245
|
-
grpc.web.MethodType.UNARY,
|
|
246
|
-
proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest,
|
|
247
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse,
|
|
248
|
-
/**
|
|
249
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest} request
|
|
250
|
-
* @return {!Uint8Array}
|
|
251
|
-
*/
|
|
252
|
-
function(request) {
|
|
253
|
-
return request.serializeBinary();
|
|
254
|
-
},
|
|
255
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse.deserializeBinary
|
|
256
|
-
);
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* @const
|
|
261
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
262
|
-
* !proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest,
|
|
263
|
-
* !proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse>}
|
|
264
|
-
*/
|
|
265
|
-
const methodInfo_LoyaltyProgramServiceAPIService_CheckPaymentMethodsAvailabilityInternal = new grpc.web.AbstractClientBase.MethodInfo(
|
|
266
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse,
|
|
267
|
-
/**
|
|
268
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest} request
|
|
269
|
-
* @return {!Uint8Array}
|
|
270
|
-
*/
|
|
271
|
-
function(request) {
|
|
272
|
-
return request.serializeBinary();
|
|
273
|
-
},
|
|
274
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse.deserializeBinary
|
|
275
|
-
);
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest} request The
|
|
280
|
-
* request proto
|
|
281
|
-
* @param {?Object<string, string>} metadata User defined
|
|
282
|
-
* call metadata
|
|
283
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse)}
|
|
284
|
-
* callback The callback function(error, response)
|
|
285
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse>|undefined}
|
|
286
|
-
* The XHR Node Readable Stream
|
|
287
|
-
*/
|
|
288
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.checkPaymentMethodsAvailabilityInternal =
|
|
289
|
-
function(request, metadata, callback) {
|
|
290
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
291
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckPaymentMethodsAvailabilityInternal',
|
|
292
|
-
request,
|
|
293
|
-
metadata || {},
|
|
294
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CheckPaymentMethodsAvailabilityInternal,
|
|
295
|
-
callback);
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* @param {!proto.loyaltyprogramserviceapi.CheckPaymentMethodsAvailabilityInternalRequest} request The
|
|
301
|
-
* request proto
|
|
302
|
-
* @param {?Object<string, string>} metadata User defined
|
|
303
|
-
* call metadata
|
|
304
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.PaymentMethodsAvailabilityResponse>}
|
|
305
|
-
* Promise that resolves to the response
|
|
306
|
-
*/
|
|
307
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.checkPaymentMethodsAvailabilityInternal =
|
|
308
|
-
function(request, metadata) {
|
|
309
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
310
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CheckPaymentMethodsAvailabilityInternal',
|
|
311
|
-
request,
|
|
312
|
-
metadata || {},
|
|
313
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CheckPaymentMethodsAvailabilityInternal);
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* @const
|
|
319
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
320
|
-
* !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
|
|
321
|
-
* !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
|
|
322
|
-
*/
|
|
323
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.MethodDescriptor(
|
|
324
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
|
|
325
|
-
grpc.web.MethodType.UNARY,
|
|
326
|
-
proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
|
|
327
|
-
proto.loyaltyprogramserviceapi.ProgramDetailResponse,
|
|
328
|
-
/**
|
|
329
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
|
|
330
|
-
* @return {!Uint8Array}
|
|
331
|
-
*/
|
|
332
|
-
function(request) {
|
|
333
|
-
return request.serializeBinary();
|
|
334
|
-
},
|
|
335
|
-
proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
|
|
336
|
-
);
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @const
|
|
341
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
342
|
-
* !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
|
|
343
|
-
* !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
|
|
344
|
-
*/
|
|
345
|
-
const methodInfo_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.AbstractClientBase.MethodInfo(
|
|
346
|
-
proto.loyaltyprogramserviceapi.ProgramDetailResponse,
|
|
347
|
-
/**
|
|
348
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
|
|
349
|
-
* @return {!Uint8Array}
|
|
350
|
-
*/
|
|
351
|
-
function(request) {
|
|
352
|
-
return request.serializeBinary();
|
|
353
|
-
},
|
|
354
|
-
proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
|
|
355
|
-
);
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
|
|
360
|
-
* request proto
|
|
361
|
-
* @param {?Object<string, string>} metadata User defined
|
|
362
|
-
* call metadata
|
|
363
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ProgramDetailResponse)}
|
|
364
|
-
* callback The callback function(error, response)
|
|
365
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>|undefined}
|
|
366
|
-
* The XHR Node Readable Stream
|
|
367
|
-
*/
|
|
368
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createLoyaltyProgram =
|
|
369
|
-
function(request, metadata, callback) {
|
|
370
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
371
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
|
|
372
|
-
request,
|
|
373
|
-
metadata || {},
|
|
374
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram,
|
|
375
|
-
callback);
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
|
|
381
|
-
* request proto
|
|
382
|
-
* @param {?Object<string, string>} metadata User defined
|
|
383
|
-
* call metadata
|
|
384
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
|
|
385
|
-
* Promise that resolves to the response
|
|
386
|
-
*/
|
|
387
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createLoyaltyProgram =
|
|
388
|
-
function(request, metadata) {
|
|
389
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
390
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
|
|
391
|
-
request,
|
|
392
|
-
metadata || {},
|
|
393
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram);
|
|
394
|
-
};
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* @const
|
|
399
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
400
|
-
* !proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest,
|
|
401
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
402
|
-
*/
|
|
403
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction = new grpc.web.MethodDescriptor(
|
|
404
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyTransactionForTransaction',
|
|
405
|
-
grpc.web.MethodType.UNARY,
|
|
406
|
-
proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest,
|
|
407
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
408
|
-
/**
|
|
409
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request
|
|
410
|
-
* @return {!Uint8Array}
|
|
411
|
-
*/
|
|
412
|
-
function(request) {
|
|
413
|
-
return request.serializeBinary();
|
|
414
|
-
},
|
|
415
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
416
|
-
);
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* @const
|
|
421
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
422
|
-
* !proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest,
|
|
423
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
424
|
-
*/
|
|
425
|
-
const methodInfo_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction = new grpc.web.AbstractClientBase.MethodInfo(
|
|
426
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
427
|
-
/**
|
|
428
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request
|
|
429
|
-
* @return {!Uint8Array}
|
|
430
|
-
*/
|
|
431
|
-
function(request) {
|
|
432
|
-
return request.serializeBinary();
|
|
433
|
-
},
|
|
434
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
435
|
-
);
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request The
|
|
440
|
-
* request proto
|
|
441
|
-
* @param {?Object<string, string>} metadata User defined
|
|
442
|
-
* call metadata
|
|
443
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
444
|
-
* callback The callback function(error, response)
|
|
445
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
446
|
-
* The XHR Node Readable Stream
|
|
447
|
-
*/
|
|
448
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createLoyaltyTransactionForTransaction =
|
|
449
|
-
function(request, metadata, callback) {
|
|
450
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
451
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyTransactionForTransaction',
|
|
452
|
-
request,
|
|
453
|
-
metadata || {},
|
|
454
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction,
|
|
455
|
-
callback);
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} request The
|
|
461
|
-
* request proto
|
|
462
|
-
* @param {?Object<string, string>} metadata User defined
|
|
463
|
-
* call metadata
|
|
464
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
465
|
-
* Promise that resolves to the response
|
|
466
|
-
*/
|
|
467
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createLoyaltyTransactionForTransaction =
|
|
468
|
-
function(request, metadata) {
|
|
469
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
470
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyTransactionForTransaction',
|
|
471
|
-
request,
|
|
472
|
-
metadata || {},
|
|
473
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyTransactionForTransaction);
|
|
474
|
-
};
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* @const
|
|
479
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
480
|
-
* !proto.google.protobuf.Empty,
|
|
481
|
-
* !proto.loyaltyprogramserviceapi.PaymentMethodsResponse>}
|
|
482
|
-
*/
|
|
483
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetAllPaymentMethods = new grpc.web.MethodDescriptor(
|
|
484
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetAllPaymentMethods',
|
|
485
|
-
grpc.web.MethodType.UNARY,
|
|
486
|
-
google_protobuf_empty_pb.Empty,
|
|
487
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsResponse,
|
|
488
|
-
/**
|
|
489
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
490
|
-
* @return {!Uint8Array}
|
|
491
|
-
*/
|
|
492
|
-
function(request) {
|
|
493
|
-
return request.serializeBinary();
|
|
494
|
-
},
|
|
495
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
496
|
-
);
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* @const
|
|
501
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
502
|
-
* !proto.google.protobuf.Empty,
|
|
503
|
-
* !proto.loyaltyprogramserviceapi.PaymentMethodsResponse>}
|
|
504
|
-
*/
|
|
505
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetAllPaymentMethods = new grpc.web.AbstractClientBase.MethodInfo(
|
|
506
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsResponse,
|
|
507
|
-
/**
|
|
508
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
509
|
-
* @return {!Uint8Array}
|
|
510
|
-
*/
|
|
511
|
-
function(request) {
|
|
512
|
-
return request.serializeBinary();
|
|
513
|
-
},
|
|
514
|
-
proto.loyaltyprogramserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
515
|
-
);
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
520
|
-
* request proto
|
|
521
|
-
* @param {?Object<string, string>} metadata User defined
|
|
522
|
-
* call metadata
|
|
523
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.PaymentMethodsResponse)}
|
|
524
|
-
* callback The callback function(error, response)
|
|
525
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.PaymentMethodsResponse>|undefined}
|
|
526
|
-
* The XHR Node Readable Stream
|
|
527
|
-
*/
|
|
528
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getAllPaymentMethods =
|
|
529
|
-
function(request, metadata, callback) {
|
|
530
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
531
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetAllPaymentMethods',
|
|
532
|
-
request,
|
|
533
|
-
metadata || {},
|
|
534
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetAllPaymentMethods,
|
|
535
|
-
callback);
|
|
536
|
-
};
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
541
|
-
* request proto
|
|
542
|
-
* @param {?Object<string, string>} metadata User defined
|
|
543
|
-
* call metadata
|
|
544
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.PaymentMethodsResponse>}
|
|
545
|
-
* Promise that resolves to the response
|
|
546
|
-
*/
|
|
547
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getAllPaymentMethods =
|
|
548
|
-
function(request, metadata) {
|
|
549
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
550
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetAllPaymentMethods',
|
|
551
|
-
request,
|
|
552
|
-
metadata || {},
|
|
553
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetAllPaymentMethods);
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* @const
|
|
559
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
560
|
-
* !proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest,
|
|
561
|
-
* !proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>}
|
|
562
|
-
*/
|
|
563
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTransactionsByMembershipId = new grpc.web.MethodDescriptor(
|
|
564
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTransactionsByMembershipId',
|
|
565
|
-
grpc.web.MethodType.UNARY,
|
|
566
|
-
proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest,
|
|
567
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse,
|
|
568
|
-
/**
|
|
569
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest} request
|
|
570
|
-
* @return {!Uint8Array}
|
|
571
|
-
*/
|
|
572
|
-
function(request) {
|
|
573
|
-
return request.serializeBinary();
|
|
574
|
-
},
|
|
575
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse.deserializeBinary
|
|
576
|
-
);
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* @const
|
|
581
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
582
|
-
* !proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest,
|
|
583
|
-
* !proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>}
|
|
584
|
-
*/
|
|
585
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetLoyaltyTransactionsByMembershipId = new grpc.web.AbstractClientBase.MethodInfo(
|
|
586
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse,
|
|
587
|
-
/**
|
|
588
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest} request
|
|
589
|
-
* @return {!Uint8Array}
|
|
590
|
-
*/
|
|
591
|
-
function(request) {
|
|
592
|
-
return request.serializeBinary();
|
|
593
|
-
},
|
|
594
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse.deserializeBinary
|
|
595
|
-
);
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest} request The
|
|
600
|
-
* request proto
|
|
601
|
-
* @param {?Object<string, string>} metadata User defined
|
|
602
|
-
* call metadata
|
|
603
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse)}
|
|
604
|
-
* callback The callback function(error, response)
|
|
605
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>|undefined}
|
|
606
|
-
* The XHR Node Readable Stream
|
|
607
|
-
*/
|
|
608
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getLoyaltyTransactionsByMembershipId =
|
|
609
|
-
function(request, metadata, callback) {
|
|
610
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
611
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTransactionsByMembershipId',
|
|
612
|
-
request,
|
|
613
|
-
metadata || {},
|
|
614
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTransactionsByMembershipId,
|
|
615
|
-
callback);
|
|
616
|
-
};
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* @param {!proto.loyaltyprogramserviceapi.GetLoyaltyTransactionsByMembershipIdRequest} request The
|
|
621
|
-
* request proto
|
|
622
|
-
* @param {?Object<string, string>} metadata User defined
|
|
623
|
-
* call metadata
|
|
624
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>}
|
|
625
|
-
* Promise that resolves to the response
|
|
626
|
-
*/
|
|
627
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getLoyaltyTransactionsByMembershipId =
|
|
628
|
-
function(request, metadata) {
|
|
629
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
630
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetLoyaltyTransactionsByMembershipId',
|
|
631
|
-
request,
|
|
632
|
-
metadata || {},
|
|
633
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetLoyaltyTransactionsByMembershipId);
|
|
634
|
-
};
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* @const
|
|
639
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
640
|
-
* !proto.loyaltyprogramserviceapi.GetMembershipByIdRequest,
|
|
641
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
|
|
642
|
-
*/
|
|
643
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipById = new grpc.web.MethodDescriptor(
|
|
644
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipById',
|
|
645
|
-
grpc.web.MethodType.UNARY,
|
|
646
|
-
proto.loyaltyprogramserviceapi.GetMembershipByIdRequest,
|
|
647
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse,
|
|
648
|
-
/**
|
|
649
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipByIdRequest} request
|
|
650
|
-
* @return {!Uint8Array}
|
|
651
|
-
*/
|
|
652
|
-
function(request) {
|
|
653
|
-
return request.serializeBinary();
|
|
654
|
-
},
|
|
655
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse.deserializeBinary
|
|
656
|
-
);
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* @const
|
|
661
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
662
|
-
* !proto.loyaltyprogramserviceapi.GetMembershipByIdRequest,
|
|
663
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
|
|
664
|
-
*/
|
|
665
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetMembershipById = new grpc.web.AbstractClientBase.MethodInfo(
|
|
666
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse,
|
|
667
|
-
/**
|
|
668
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipByIdRequest} request
|
|
669
|
-
* @return {!Uint8Array}
|
|
670
|
-
*/
|
|
671
|
-
function(request) {
|
|
672
|
-
return request.serializeBinary();
|
|
673
|
-
},
|
|
674
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse.deserializeBinary
|
|
675
|
-
);
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipByIdRequest} request The
|
|
680
|
-
* request proto
|
|
681
|
-
* @param {?Object<string, string>} metadata User defined
|
|
682
|
-
* call metadata
|
|
683
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.MembershipDetailResponse)}
|
|
684
|
-
* callback The callback function(error, response)
|
|
685
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.MembershipDetailResponse>|undefined}
|
|
686
|
-
* The XHR Node Readable Stream
|
|
687
|
-
*/
|
|
688
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getMembershipById =
|
|
689
|
-
function(request, metadata, callback) {
|
|
690
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
691
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipById',
|
|
692
|
-
request,
|
|
693
|
-
metadata || {},
|
|
694
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipById,
|
|
695
|
-
callback);
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* @param {!proto.loyaltyprogramserviceapi.GetMembershipByIdRequest} request The
|
|
701
|
-
* request proto
|
|
702
|
-
* @param {?Object<string, string>} metadata User defined
|
|
703
|
-
* call metadata
|
|
704
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
|
|
705
|
-
* Promise that resolves to the response
|
|
706
|
-
*/
|
|
707
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getMembershipById =
|
|
708
|
-
function(request, metadata) {
|
|
709
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
710
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipById',
|
|
711
|
-
request,
|
|
712
|
-
metadata || {},
|
|
713
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipById);
|
|
714
|
-
};
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* @const
|
|
719
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
720
|
-
* !proto.google.protobuf.Empty,
|
|
721
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
722
|
-
*/
|
|
723
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.web.MethodDescriptor(
|
|
724
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
725
|
-
grpc.web.MethodType.UNARY,
|
|
726
|
-
google_protobuf_empty_pb.Empty,
|
|
727
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
728
|
-
/**
|
|
729
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
730
|
-
* @return {!Uint8Array}
|
|
731
|
-
*/
|
|
732
|
-
function(request) {
|
|
733
|
-
return request.serializeBinary();
|
|
734
|
-
},
|
|
735
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.deserializeBinary
|
|
736
|
-
);
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* @const
|
|
741
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
742
|
-
* !proto.google.protobuf.Empty,
|
|
743
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
744
|
-
*/
|
|
745
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.web.AbstractClientBase.MethodInfo(
|
|
746
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
747
|
-
/**
|
|
748
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
749
|
-
* @return {!Uint8Array}
|
|
750
|
-
*/
|
|
751
|
-
function(request) {
|
|
752
|
-
return request.serializeBinary();
|
|
753
|
-
},
|
|
754
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.deserializeBinary
|
|
755
|
-
);
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
760
|
-
* request proto
|
|
761
|
-
* @param {?Object<string, string>} metadata User defined
|
|
762
|
-
* call metadata
|
|
763
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.MembershipDetailsResponse)}
|
|
764
|
-
* callback The callback function(error, response)
|
|
765
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.MembershipDetailsResponse>|undefined}
|
|
766
|
-
* The XHR Node Readable Stream
|
|
767
|
-
*/
|
|
768
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getMembershipList =
|
|
769
|
-
function(request, metadata, callback) {
|
|
770
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
771
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
772
|
-
request,
|
|
773
|
-
metadata || {},
|
|
774
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList,
|
|
775
|
-
callback);
|
|
776
|
-
};
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
781
|
-
* request proto
|
|
782
|
-
* @param {?Object<string, string>} metadata User defined
|
|
783
|
-
* call metadata
|
|
784
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
785
|
-
* Promise that resolves to the response
|
|
786
|
-
*/
|
|
787
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getMembershipList =
|
|
788
|
-
function(request, metadata) {
|
|
789
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
790
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
791
|
-
request,
|
|
792
|
-
metadata || {},
|
|
793
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList);
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* @const
|
|
799
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
800
|
-
* !proto.google.protobuf.Empty,
|
|
801
|
-
* !proto.loyaltyprogramserviceapi.ProgramDetailsResponse>}
|
|
802
|
-
*/
|
|
803
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramList = new grpc.web.MethodDescriptor(
|
|
804
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramList',
|
|
805
|
-
grpc.web.MethodType.UNARY,
|
|
806
|
-
google_protobuf_empty_pb.Empty,
|
|
807
|
-
proto.loyaltyprogramserviceapi.ProgramDetailsResponse,
|
|
808
|
-
/**
|
|
809
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
810
|
-
* @return {!Uint8Array}
|
|
811
|
-
*/
|
|
812
|
-
function(request) {
|
|
813
|
-
return request.serializeBinary();
|
|
814
|
-
},
|
|
815
|
-
proto.loyaltyprogramserviceapi.ProgramDetailsResponse.deserializeBinary
|
|
816
|
-
);
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* @const
|
|
821
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
822
|
-
* !proto.google.protobuf.Empty,
|
|
823
|
-
* !proto.loyaltyprogramserviceapi.ProgramDetailsResponse>}
|
|
824
|
-
*/
|
|
825
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetProgramList = new grpc.web.AbstractClientBase.MethodInfo(
|
|
826
|
-
proto.loyaltyprogramserviceapi.ProgramDetailsResponse,
|
|
827
|
-
/**
|
|
828
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
829
|
-
* @return {!Uint8Array}
|
|
830
|
-
*/
|
|
831
|
-
function(request) {
|
|
832
|
-
return request.serializeBinary();
|
|
833
|
-
},
|
|
834
|
-
proto.loyaltyprogramserviceapi.ProgramDetailsResponse.deserializeBinary
|
|
835
|
-
);
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
840
|
-
* request proto
|
|
841
|
-
* @param {?Object<string, string>} metadata User defined
|
|
842
|
-
* call metadata
|
|
843
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ProgramDetailsResponse)}
|
|
844
|
-
* callback The callback function(error, response)
|
|
845
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ProgramDetailsResponse>|undefined}
|
|
846
|
-
* The XHR Node Readable Stream
|
|
847
|
-
*/
|
|
848
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getProgramList =
|
|
849
|
-
function(request, metadata, callback) {
|
|
850
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
851
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramList',
|
|
852
|
-
request,
|
|
853
|
-
metadata || {},
|
|
854
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramList,
|
|
855
|
-
callback);
|
|
856
|
-
};
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
861
|
-
* request proto
|
|
862
|
-
* @param {?Object<string, string>} metadata User defined
|
|
863
|
-
* call metadata
|
|
864
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ProgramDetailsResponse>}
|
|
865
|
-
* Promise that resolves to the response
|
|
866
|
-
*/
|
|
867
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getProgramList =
|
|
868
|
-
function(request, metadata) {
|
|
869
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
870
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramList',
|
|
871
|
-
request,
|
|
872
|
-
metadata || {},
|
|
873
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramList);
|
|
874
|
-
};
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* @const
|
|
879
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
880
|
-
* !proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest,
|
|
881
|
-
* !proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>}
|
|
882
|
-
*/
|
|
883
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetTransactionsHistoryByMembershipId = new grpc.web.MethodDescriptor(
|
|
884
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetTransactionsHistoryByMembershipId',
|
|
885
|
-
grpc.web.MethodType.UNARY,
|
|
886
|
-
proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest,
|
|
887
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse,
|
|
888
|
-
/**
|
|
889
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} request
|
|
890
|
-
* @return {!Uint8Array}
|
|
891
|
-
*/
|
|
892
|
-
function(request) {
|
|
893
|
-
return request.serializeBinary();
|
|
894
|
-
},
|
|
895
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse.deserializeBinary
|
|
896
|
-
);
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* @const
|
|
901
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
902
|
-
* !proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest,
|
|
903
|
-
* !proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>}
|
|
904
|
-
*/
|
|
905
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetTransactionsHistoryByMembershipId = new grpc.web.AbstractClientBase.MethodInfo(
|
|
906
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse,
|
|
907
|
-
/**
|
|
908
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} request
|
|
909
|
-
* @return {!Uint8Array}
|
|
910
|
-
*/
|
|
911
|
-
function(request) {
|
|
912
|
-
return request.serializeBinary();
|
|
913
|
-
},
|
|
914
|
-
proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse.deserializeBinary
|
|
915
|
-
);
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} request The
|
|
920
|
-
* request proto
|
|
921
|
-
* @param {?Object<string, string>} metadata User defined
|
|
922
|
-
* call metadata
|
|
923
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse)}
|
|
924
|
-
* callback The callback function(error, response)
|
|
925
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>|undefined}
|
|
926
|
-
* The XHR Node Readable Stream
|
|
927
|
-
*/
|
|
928
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getTransactionsHistoryByMembershipId =
|
|
929
|
-
function(request, metadata, callback) {
|
|
930
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
931
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetTransactionsHistoryByMembershipId',
|
|
932
|
-
request,
|
|
933
|
-
metadata || {},
|
|
934
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetTransactionsHistoryByMembershipId,
|
|
935
|
-
callback);
|
|
936
|
-
};
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* @param {!proto.loyaltyprogramserviceapi.GetTransactionsHistoryByMembershipIdRequest} request The
|
|
941
|
-
* request proto
|
|
942
|
-
* @param {?Object<string, string>} metadata User defined
|
|
943
|
-
* call metadata
|
|
944
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.LoyaltyTransactionsResponse>}
|
|
945
|
-
* Promise that resolves to the response
|
|
946
|
-
*/
|
|
947
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getTransactionsHistoryByMembershipId =
|
|
948
|
-
function(request, metadata) {
|
|
949
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
950
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetTransactionsHistoryByMembershipId',
|
|
951
|
-
request,
|
|
952
|
-
metadata || {},
|
|
953
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetTransactionsHistoryByMembershipId);
|
|
954
|
-
};
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* @const
|
|
959
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
960
|
-
* !proto.loyaltyprogramserviceapi.GetUserMembershipsRequest,
|
|
961
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
962
|
-
*/
|
|
963
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GetUserMemberships = new grpc.web.MethodDescriptor(
|
|
964
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetUserMemberships',
|
|
965
|
-
grpc.web.MethodType.UNARY,
|
|
966
|
-
proto.loyaltyprogramserviceapi.GetUserMembershipsRequest,
|
|
967
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
968
|
-
/**
|
|
969
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} request
|
|
970
|
-
* @return {!Uint8Array}
|
|
971
|
-
*/
|
|
972
|
-
function(request) {
|
|
973
|
-
return request.serializeBinary();
|
|
974
|
-
},
|
|
975
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.deserializeBinary
|
|
976
|
-
);
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* @const
|
|
981
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
982
|
-
* !proto.loyaltyprogramserviceapi.GetUserMembershipsRequest,
|
|
983
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
984
|
-
*/
|
|
985
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GetUserMemberships = new grpc.web.AbstractClientBase.MethodInfo(
|
|
986
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
987
|
-
/**
|
|
988
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} request
|
|
989
|
-
* @return {!Uint8Array}
|
|
990
|
-
*/
|
|
991
|
-
function(request) {
|
|
992
|
-
return request.serializeBinary();
|
|
993
|
-
},
|
|
994
|
-
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.deserializeBinary
|
|
995
|
-
);
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} request The
|
|
1000
|
-
* request proto
|
|
1001
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1002
|
-
* call metadata
|
|
1003
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.MembershipDetailsResponse)}
|
|
1004
|
-
* callback The callback function(error, response)
|
|
1005
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.MembershipDetailsResponse>|undefined}
|
|
1006
|
-
* The XHR Node Readable Stream
|
|
1007
|
-
*/
|
|
1008
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getUserMemberships =
|
|
1009
|
-
function(request, metadata, callback) {
|
|
1010
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1011
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetUserMemberships',
|
|
1012
|
-
request,
|
|
1013
|
-
metadata || {},
|
|
1014
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetUserMemberships,
|
|
1015
|
-
callback);
|
|
1016
|
-
};
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* @param {!proto.loyaltyprogramserviceapi.GetUserMembershipsRequest} request The
|
|
1021
|
-
* request proto
|
|
1022
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1023
|
-
* call metadata
|
|
1024
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
1025
|
-
* Promise that resolves to the response
|
|
1026
|
-
*/
|
|
1027
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getUserMemberships =
|
|
1028
|
-
function(request, metadata) {
|
|
1029
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1030
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetUserMemberships',
|
|
1031
|
-
request,
|
|
1032
|
-
metadata || {},
|
|
1033
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GetUserMemberships);
|
|
1034
|
-
};
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* @const
|
|
1039
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1040
|
-
* !proto.google.protobuf.Empty,
|
|
1041
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1042
|
-
*/
|
|
1043
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_GrpcCall = new grpc.web.MethodDescriptor(
|
|
1044
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GrpcCall',
|
|
1045
|
-
grpc.web.MethodType.UNARY,
|
|
1046
|
-
google_protobuf_empty_pb.Empty,
|
|
1047
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1048
|
-
/**
|
|
1049
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1050
|
-
* @return {!Uint8Array}
|
|
1051
|
-
*/
|
|
1052
|
-
function(request) {
|
|
1053
|
-
return request.serializeBinary();
|
|
1054
|
-
},
|
|
1055
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1056
|
-
);
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
/**
|
|
1060
|
-
* @const
|
|
1061
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1062
|
-
* !proto.google.protobuf.Empty,
|
|
1063
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1064
|
-
*/
|
|
1065
|
-
const methodInfo_LoyaltyProgramServiceAPIService_GrpcCall = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1066
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1067
|
-
/**
|
|
1068
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1069
|
-
* @return {!Uint8Array}
|
|
1070
|
-
*/
|
|
1071
|
-
function(request) {
|
|
1072
|
-
return request.serializeBinary();
|
|
1073
|
-
},
|
|
1074
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1075
|
-
);
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
/**
|
|
1079
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1080
|
-
* request proto
|
|
1081
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1082
|
-
* call metadata
|
|
1083
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1084
|
-
* callback The callback function(error, response)
|
|
1085
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1086
|
-
* The XHR Node Readable Stream
|
|
1087
|
-
*/
|
|
1088
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.grpcCall =
|
|
1089
|
-
function(request, metadata, callback) {
|
|
1090
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1091
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GrpcCall',
|
|
1092
|
-
request,
|
|
1093
|
-
metadata || {},
|
|
1094
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GrpcCall,
|
|
1095
|
-
callback);
|
|
1096
|
-
};
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1101
|
-
* request proto
|
|
1102
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1103
|
-
* call metadata
|
|
1104
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1105
|
-
* Promise that resolves to the response
|
|
1106
|
-
*/
|
|
1107
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.grpcCall =
|
|
1108
|
-
function(request, metadata) {
|
|
1109
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1110
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GrpcCall',
|
|
1111
|
-
request,
|
|
1112
|
-
metadata || {},
|
|
1113
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_GrpcCall);
|
|
1114
|
-
};
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
/**
|
|
1118
|
-
* @const
|
|
1119
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1120
|
-
* !proto.google.protobuf.Empty,
|
|
1121
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1122
|
-
*/
|
|
1123
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_HealthCheck = new grpc.web.MethodDescriptor(
|
|
1124
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/HealthCheck',
|
|
1125
|
-
grpc.web.MethodType.UNARY,
|
|
1126
|
-
google_protobuf_empty_pb.Empty,
|
|
1127
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1128
|
-
/**
|
|
1129
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1130
|
-
* @return {!Uint8Array}
|
|
1131
|
-
*/
|
|
1132
|
-
function(request) {
|
|
1133
|
-
return request.serializeBinary();
|
|
1134
|
-
},
|
|
1135
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1136
|
-
);
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
/**
|
|
1140
|
-
* @const
|
|
1141
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1142
|
-
* !proto.google.protobuf.Empty,
|
|
1143
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1144
|
-
*/
|
|
1145
|
-
const methodInfo_LoyaltyProgramServiceAPIService_HealthCheck = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1146
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1147
|
-
/**
|
|
1148
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1149
|
-
* @return {!Uint8Array}
|
|
1150
|
-
*/
|
|
1151
|
-
function(request) {
|
|
1152
|
-
return request.serializeBinary();
|
|
1153
|
-
},
|
|
1154
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1155
|
-
);
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1160
|
-
* request proto
|
|
1161
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1162
|
-
* call metadata
|
|
1163
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1164
|
-
* callback The callback function(error, response)
|
|
1165
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1166
|
-
* The XHR Node Readable Stream
|
|
1167
|
-
*/
|
|
1168
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.healthCheck =
|
|
1169
|
-
function(request, metadata, callback) {
|
|
1170
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1171
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/HealthCheck',
|
|
1172
|
-
request,
|
|
1173
|
-
metadata || {},
|
|
1174
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_HealthCheck,
|
|
1175
|
-
callback);
|
|
1176
|
-
};
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1181
|
-
* request proto
|
|
1182
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1183
|
-
* call metadata
|
|
1184
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1185
|
-
* Promise that resolves to the response
|
|
1186
|
-
*/
|
|
1187
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
1188
|
-
function(request, metadata) {
|
|
1189
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1190
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/HealthCheck',
|
|
1191
|
-
request,
|
|
1192
|
-
metadata || {},
|
|
1193
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_HealthCheck);
|
|
1194
|
-
};
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* @const
|
|
1199
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1200
|
-
* !proto.loyaltyprogramserviceapi.LinkMembershipRequest,
|
|
1201
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
|
|
1202
|
-
*/
|
|
1203
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_LinkMembership = new grpc.web.MethodDescriptor(
|
|
1204
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/LinkMembership',
|
|
1205
|
-
grpc.web.MethodType.UNARY,
|
|
1206
|
-
proto.loyaltyprogramserviceapi.LinkMembershipRequest,
|
|
1207
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse,
|
|
1208
|
-
/**
|
|
1209
|
-
* @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request
|
|
1210
|
-
* @return {!Uint8Array}
|
|
1211
|
-
*/
|
|
1212
|
-
function(request) {
|
|
1213
|
-
return request.serializeBinary();
|
|
1214
|
-
},
|
|
1215
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse.deserializeBinary
|
|
1216
|
-
);
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* @const
|
|
1221
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1222
|
-
* !proto.loyaltyprogramserviceapi.LinkMembershipRequest,
|
|
1223
|
-
* !proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
|
|
1224
|
-
*/
|
|
1225
|
-
const methodInfo_LoyaltyProgramServiceAPIService_LinkMembership = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1226
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse,
|
|
1227
|
-
/**
|
|
1228
|
-
* @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request
|
|
1229
|
-
* @return {!Uint8Array}
|
|
1230
|
-
*/
|
|
1231
|
-
function(request) {
|
|
1232
|
-
return request.serializeBinary();
|
|
1233
|
-
},
|
|
1234
|
-
proto.loyaltyprogramserviceapi.MembershipDetailResponse.deserializeBinary
|
|
1235
|
-
);
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
/**
|
|
1239
|
-
* @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request The
|
|
1240
|
-
* request proto
|
|
1241
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1242
|
-
* call metadata
|
|
1243
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.MembershipDetailResponse)}
|
|
1244
|
-
* callback The callback function(error, response)
|
|
1245
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.MembershipDetailResponse>|undefined}
|
|
1246
|
-
* The XHR Node Readable Stream
|
|
1247
|
-
*/
|
|
1248
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.linkMembership =
|
|
1249
|
-
function(request, metadata, callback) {
|
|
1250
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1251
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/LinkMembership',
|
|
1252
|
-
request,
|
|
1253
|
-
metadata || {},
|
|
1254
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_LinkMembership,
|
|
1255
|
-
callback);
|
|
1256
|
-
};
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request The
|
|
1261
|
-
* request proto
|
|
1262
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1263
|
-
* call metadata
|
|
1264
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
|
|
1265
|
-
* Promise that resolves to the response
|
|
1266
|
-
*/
|
|
1267
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.linkMembership =
|
|
1268
|
-
function(request, metadata) {
|
|
1269
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1270
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/LinkMembership',
|
|
1271
|
-
request,
|
|
1272
|
-
metadata || {},
|
|
1273
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_LinkMembership);
|
|
1274
|
-
};
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* @const
|
|
1279
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1280
|
-
* !proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest,
|
|
1281
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1282
|
-
*/
|
|
1283
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_SetDefaultMembership = new grpc.web.MethodDescriptor(
|
|
1284
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetDefaultMembership',
|
|
1285
|
-
grpc.web.MethodType.UNARY,
|
|
1286
|
-
proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest,
|
|
1287
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1288
|
-
/**
|
|
1289
|
-
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request
|
|
1290
|
-
* @return {!Uint8Array}
|
|
1291
|
-
*/
|
|
1292
|
-
function(request) {
|
|
1293
|
-
return request.serializeBinary();
|
|
1294
|
-
},
|
|
1295
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1296
|
-
);
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* @const
|
|
1301
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1302
|
-
* !proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest,
|
|
1303
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1304
|
-
*/
|
|
1305
|
-
const methodInfo_LoyaltyProgramServiceAPIService_SetDefaultMembership = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1306
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1307
|
-
/**
|
|
1308
|
-
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request
|
|
1309
|
-
* @return {!Uint8Array}
|
|
1310
|
-
*/
|
|
1311
|
-
function(request) {
|
|
1312
|
-
return request.serializeBinary();
|
|
1313
|
-
},
|
|
1314
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1315
|
-
);
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request The
|
|
1320
|
-
* request proto
|
|
1321
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1322
|
-
* call metadata
|
|
1323
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1324
|
-
* callback The callback function(error, response)
|
|
1325
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1326
|
-
* The XHR Node Readable Stream
|
|
1327
|
-
*/
|
|
1328
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.setDefaultMembership =
|
|
1329
|
-
function(request, metadata, callback) {
|
|
1330
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1331
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetDefaultMembership',
|
|
1332
|
-
request,
|
|
1333
|
-
metadata || {},
|
|
1334
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_SetDefaultMembership,
|
|
1335
|
-
callback);
|
|
1336
|
-
};
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request The
|
|
1341
|
-
* request proto
|
|
1342
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1343
|
-
* call metadata
|
|
1344
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1345
|
-
* Promise that resolves to the response
|
|
1346
|
-
*/
|
|
1347
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.setDefaultMembership =
|
|
1348
|
-
function(request, metadata) {
|
|
1349
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1350
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetDefaultMembership',
|
|
1351
|
-
request,
|
|
1352
|
-
metadata || {},
|
|
1353
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_SetDefaultMembership);
|
|
1354
|
-
};
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* @const
|
|
1359
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1360
|
-
* !proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest,
|
|
1361
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1362
|
-
*/
|
|
1363
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_SetUserFeeDiscount = new grpc.web.MethodDescriptor(
|
|
1364
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetUserFeeDiscount',
|
|
1365
|
-
grpc.web.MethodType.UNARY,
|
|
1366
|
-
proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest,
|
|
1367
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1368
|
-
/**
|
|
1369
|
-
* @param {!proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest} request
|
|
1370
|
-
* @return {!Uint8Array}
|
|
1371
|
-
*/
|
|
1372
|
-
function(request) {
|
|
1373
|
-
return request.serializeBinary();
|
|
1374
|
-
},
|
|
1375
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1376
|
-
);
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* @const
|
|
1381
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1382
|
-
* !proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest,
|
|
1383
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1384
|
-
*/
|
|
1385
|
-
const methodInfo_LoyaltyProgramServiceAPIService_SetUserFeeDiscount = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1386
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1387
|
-
/**
|
|
1388
|
-
* @param {!proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest} request
|
|
1389
|
-
* @return {!Uint8Array}
|
|
1390
|
-
*/
|
|
1391
|
-
function(request) {
|
|
1392
|
-
return request.serializeBinary();
|
|
1393
|
-
},
|
|
1394
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1395
|
-
);
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* @param {!proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest} request The
|
|
1400
|
-
* request proto
|
|
1401
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1402
|
-
* call metadata
|
|
1403
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1404
|
-
* callback The callback function(error, response)
|
|
1405
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1406
|
-
* The XHR Node Readable Stream
|
|
1407
|
-
*/
|
|
1408
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.setUserFeeDiscount =
|
|
1409
|
-
function(request, metadata, callback) {
|
|
1410
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1411
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetUserFeeDiscount',
|
|
1412
|
-
request,
|
|
1413
|
-
metadata || {},
|
|
1414
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_SetUserFeeDiscount,
|
|
1415
|
-
callback);
|
|
1416
|
-
};
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
/**
|
|
1420
|
-
* @param {!proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest} request The
|
|
1421
|
-
* request proto
|
|
1422
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1423
|
-
* call metadata
|
|
1424
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1425
|
-
* Promise that resolves to the response
|
|
1426
|
-
*/
|
|
1427
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.setUserFeeDiscount =
|
|
1428
|
-
function(request, metadata) {
|
|
1429
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1430
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetUserFeeDiscount',
|
|
1431
|
-
request,
|
|
1432
|
-
metadata || {},
|
|
1433
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_SetUserFeeDiscount);
|
|
1434
|
-
};
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* @const
|
|
1439
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1440
|
-
* !proto.google.protobuf.Empty,
|
|
1441
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1442
|
-
*/
|
|
1443
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_SettleLoyaltyTransactions = new grpc.web.MethodDescriptor(
|
|
1444
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SettleLoyaltyTransactions',
|
|
1445
|
-
grpc.web.MethodType.UNARY,
|
|
1446
|
-
google_protobuf_empty_pb.Empty,
|
|
1447
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1448
|
-
/**
|
|
1449
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1450
|
-
* @return {!Uint8Array}
|
|
1451
|
-
*/
|
|
1452
|
-
function(request) {
|
|
1453
|
-
return request.serializeBinary();
|
|
1454
|
-
},
|
|
1455
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1456
|
-
);
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* @const
|
|
1461
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1462
|
-
* !proto.google.protobuf.Empty,
|
|
1463
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1464
|
-
*/
|
|
1465
|
-
const methodInfo_LoyaltyProgramServiceAPIService_SettleLoyaltyTransactions = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1466
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1467
|
-
/**
|
|
1468
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1469
|
-
* @return {!Uint8Array}
|
|
1470
|
-
*/
|
|
1471
|
-
function(request) {
|
|
1472
|
-
return request.serializeBinary();
|
|
1473
|
-
},
|
|
1474
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1475
|
-
);
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
/**
|
|
1479
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1480
|
-
* request proto
|
|
1481
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1482
|
-
* call metadata
|
|
1483
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1484
|
-
* callback The callback function(error, response)
|
|
1485
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1486
|
-
* The XHR Node Readable Stream
|
|
1487
|
-
*/
|
|
1488
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.settleLoyaltyTransactions =
|
|
1489
|
-
function(request, metadata, callback) {
|
|
1490
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1491
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SettleLoyaltyTransactions',
|
|
1492
|
-
request,
|
|
1493
|
-
metadata || {},
|
|
1494
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_SettleLoyaltyTransactions,
|
|
1495
|
-
callback);
|
|
1496
|
-
};
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1501
|
-
* request proto
|
|
1502
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1503
|
-
* call metadata
|
|
1504
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1505
|
-
* Promise that resolves to the response
|
|
1506
|
-
*/
|
|
1507
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.settleLoyaltyTransactions =
|
|
1508
|
-
function(request, metadata) {
|
|
1509
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1510
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SettleLoyaltyTransactions',
|
|
1511
|
-
request,
|
|
1512
|
-
metadata || {},
|
|
1513
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_SettleLoyaltyTransactions);
|
|
1514
|
-
};
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* @const
|
|
1519
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1520
|
-
* !proto.loyaltyprogramserviceapi.UnLinkMembershipRequest,
|
|
1521
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1522
|
-
*/
|
|
1523
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_UnLinkMembership = new grpc.web.MethodDescriptor(
|
|
1524
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UnLinkMembership',
|
|
1525
|
-
grpc.web.MethodType.UNARY,
|
|
1526
|
-
proto.loyaltyprogramserviceapi.UnLinkMembershipRequest,
|
|
1527
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1528
|
-
/**
|
|
1529
|
-
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request
|
|
1530
|
-
* @return {!Uint8Array}
|
|
1531
|
-
*/
|
|
1532
|
-
function(request) {
|
|
1533
|
-
return request.serializeBinary();
|
|
1534
|
-
},
|
|
1535
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1536
|
-
);
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
/**
|
|
1540
|
-
* @const
|
|
1541
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1542
|
-
* !proto.loyaltyprogramserviceapi.UnLinkMembershipRequest,
|
|
1543
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1544
|
-
*/
|
|
1545
|
-
const methodInfo_LoyaltyProgramServiceAPIService_UnLinkMembership = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1546
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1547
|
-
/**
|
|
1548
|
-
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request
|
|
1549
|
-
* @return {!Uint8Array}
|
|
1550
|
-
*/
|
|
1551
|
-
function(request) {
|
|
1552
|
-
return request.serializeBinary();
|
|
1553
|
-
},
|
|
1554
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1555
|
-
);
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
/**
|
|
1559
|
-
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request The
|
|
1560
|
-
* request proto
|
|
1561
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1562
|
-
* call metadata
|
|
1563
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1564
|
-
* callback The callback function(error, response)
|
|
1565
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1566
|
-
* The XHR Node Readable Stream
|
|
1567
|
-
*/
|
|
1568
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.unLinkMembership =
|
|
1569
|
-
function(request, metadata, callback) {
|
|
1570
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1571
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UnLinkMembership',
|
|
1572
|
-
request,
|
|
1573
|
-
metadata || {},
|
|
1574
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_UnLinkMembership,
|
|
1575
|
-
callback);
|
|
1576
|
-
};
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
/**
|
|
1580
|
-
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request The
|
|
1581
|
-
* request proto
|
|
1582
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1583
|
-
* call metadata
|
|
1584
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1585
|
-
* Promise that resolves to the response
|
|
1586
|
-
*/
|
|
1587
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.unLinkMembership =
|
|
1588
|
-
function(request, metadata) {
|
|
1589
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1590
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UnLinkMembership',
|
|
1591
|
-
request,
|
|
1592
|
-
metadata || {},
|
|
1593
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_UnLinkMembership);
|
|
1594
|
-
};
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* @const
|
|
1599
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1600
|
-
* !proto.google.protobuf.Empty,
|
|
1601
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1602
|
-
*/
|
|
1603
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_UpdateLoyaltyTransactions = new grpc.web.MethodDescriptor(
|
|
1604
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateLoyaltyTransactions',
|
|
1605
|
-
grpc.web.MethodType.UNARY,
|
|
1606
|
-
google_protobuf_empty_pb.Empty,
|
|
1607
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1608
|
-
/**
|
|
1609
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1610
|
-
* @return {!Uint8Array}
|
|
1611
|
-
*/
|
|
1612
|
-
function(request) {
|
|
1613
|
-
return request.serializeBinary();
|
|
1614
|
-
},
|
|
1615
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1616
|
-
);
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* @const
|
|
1621
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1622
|
-
* !proto.google.protobuf.Empty,
|
|
1623
|
-
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1624
|
-
*/
|
|
1625
|
-
const methodInfo_LoyaltyProgramServiceAPIService_UpdateLoyaltyTransactions = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1626
|
-
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
1627
|
-
/**
|
|
1628
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1629
|
-
* @return {!Uint8Array}
|
|
1630
|
-
*/
|
|
1631
|
-
function(request) {
|
|
1632
|
-
return request.serializeBinary();
|
|
1633
|
-
},
|
|
1634
|
-
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
1635
|
-
);
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
/**
|
|
1639
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1640
|
-
* request proto
|
|
1641
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1642
|
-
* call metadata
|
|
1643
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
1644
|
-
* callback The callback function(error, response)
|
|
1645
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
1646
|
-
* The XHR Node Readable Stream
|
|
1647
|
-
*/
|
|
1648
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.updateLoyaltyTransactions =
|
|
1649
|
-
function(request, metadata, callback) {
|
|
1650
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1651
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateLoyaltyTransactions',
|
|
1652
|
-
request,
|
|
1653
|
-
metadata || {},
|
|
1654
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_UpdateLoyaltyTransactions,
|
|
1655
|
-
callback);
|
|
1656
|
-
};
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1661
|
-
* request proto
|
|
1662
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1663
|
-
* call metadata
|
|
1664
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
1665
|
-
* Promise that resolves to the response
|
|
1666
|
-
*/
|
|
1667
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.updateLoyaltyTransactions =
|
|
1668
|
-
function(request, metadata) {
|
|
1669
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1670
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateLoyaltyTransactions',
|
|
1671
|
-
request,
|
|
1672
|
-
metadata || {},
|
|
1673
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_UpdateLoyaltyTransactions);
|
|
1674
|
-
};
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* @const
|
|
1679
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1680
|
-
* !proto.loyaltyprogramserviceapi.ValidateMembershipRequest,
|
|
1681
|
-
* !proto.loyaltyprogramserviceapi.ValidateMembershipResponse>}
|
|
1682
|
-
*/
|
|
1683
|
-
const methodDescriptor_LoyaltyProgramServiceAPIService_ValidateMembership = new grpc.web.MethodDescriptor(
|
|
1684
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/ValidateMembership',
|
|
1685
|
-
grpc.web.MethodType.UNARY,
|
|
1686
|
-
proto.loyaltyprogramserviceapi.ValidateMembershipRequest,
|
|
1687
|
-
proto.loyaltyprogramserviceapi.ValidateMembershipResponse,
|
|
1688
|
-
/**
|
|
1689
|
-
* @param {!proto.loyaltyprogramserviceapi.ValidateMembershipRequest} request
|
|
1690
|
-
* @return {!Uint8Array}
|
|
1691
|
-
*/
|
|
1692
|
-
function(request) {
|
|
1693
|
-
return request.serializeBinary();
|
|
1694
|
-
},
|
|
1695
|
-
proto.loyaltyprogramserviceapi.ValidateMembershipResponse.deserializeBinary
|
|
1696
|
-
);
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
/**
|
|
1700
|
-
* @const
|
|
1701
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1702
|
-
* !proto.loyaltyprogramserviceapi.ValidateMembershipRequest,
|
|
1703
|
-
* !proto.loyaltyprogramserviceapi.ValidateMembershipResponse>}
|
|
1704
|
-
*/
|
|
1705
|
-
const methodInfo_LoyaltyProgramServiceAPIService_ValidateMembership = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1706
|
-
proto.loyaltyprogramserviceapi.ValidateMembershipResponse,
|
|
1707
|
-
/**
|
|
1708
|
-
* @param {!proto.loyaltyprogramserviceapi.ValidateMembershipRequest} request
|
|
1709
|
-
* @return {!Uint8Array}
|
|
1710
|
-
*/
|
|
1711
|
-
function(request) {
|
|
1712
|
-
return request.serializeBinary();
|
|
1713
|
-
},
|
|
1714
|
-
proto.loyaltyprogramserviceapi.ValidateMembershipResponse.deserializeBinary
|
|
1715
|
-
);
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* @param {!proto.loyaltyprogramserviceapi.ValidateMembershipRequest} request The
|
|
1720
|
-
* request proto
|
|
1721
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1722
|
-
* call metadata
|
|
1723
|
-
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ValidateMembershipResponse)}
|
|
1724
|
-
* callback The callback function(error, response)
|
|
1725
|
-
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ValidateMembershipResponse>|undefined}
|
|
1726
|
-
* The XHR Node Readable Stream
|
|
1727
|
-
*/
|
|
1728
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.validateMembership =
|
|
1729
|
-
function(request, metadata, callback) {
|
|
1730
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1731
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/ValidateMembership',
|
|
1732
|
-
request,
|
|
1733
|
-
metadata || {},
|
|
1734
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_ValidateMembership,
|
|
1735
|
-
callback);
|
|
1736
|
-
};
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* @param {!proto.loyaltyprogramserviceapi.ValidateMembershipRequest} request The
|
|
1741
|
-
* request proto
|
|
1742
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1743
|
-
* call metadata
|
|
1744
|
-
* @return {!Promise<!proto.loyaltyprogramserviceapi.ValidateMembershipResponse>}
|
|
1745
|
-
* Promise that resolves to the response
|
|
1746
|
-
*/
|
|
1747
|
-
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.validateMembership =
|
|
1748
|
-
function(request, metadata) {
|
|
1749
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1750
|
-
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/ValidateMembership',
|
|
1751
|
-
request,
|
|
1752
|
-
metadata || {},
|
|
1753
|
-
methodDescriptor_LoyaltyProgramServiceAPIService_ValidateMembership);
|
|
1754
|
-
};
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
module.exports = proto.loyaltyprogramserviceapi;
|
|
1758
|
-
|