@sniipwebmaster/till-payment-gateway-service-client-grpcweb 23.7.457
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/google/api/annotations_pb.js +42 -0
- package/dependancies/google/api/http_pb.js +911 -0
- package/dependancies/grpcweb/README.txt +11 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/README +5 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/empty_pb.js +131 -0
- package/dependancies/protoc-gen-openapiv2/options/annotations_pb.js +42 -0
- package/dependancies/protoc-gen-openapiv2/options/http_pb.js +911 -0
- package/dependancies/service_grpc_web_pb.js +718 -0
- package/dependancies/service_pb.js +4610 -0
- package/index.js +4 -0
- package/package.json +11 -0
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for tillpaymentgatewayserviceapi
|
|
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.tillpaymentgatewayserviceapi = 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.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient =
|
|
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.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient =
|
|
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.google.protobuf.Empty,
|
|
81
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
82
|
+
*/
|
|
83
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_DownloadSettlementFile = new grpc.web.MethodDescriptor(
|
|
84
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/DownloadSettlementFile',
|
|
85
|
+
grpc.web.MethodType.UNARY,
|
|
86
|
+
google_protobuf_empty_pb.Empty,
|
|
87
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
88
|
+
/**
|
|
89
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
90
|
+
* @return {!Uint8Array}
|
|
91
|
+
*/
|
|
92
|
+
function(request) {
|
|
93
|
+
return request.serializeBinary();
|
|
94
|
+
},
|
|
95
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @const
|
|
101
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
102
|
+
* !proto.google.protobuf.Empty,
|
|
103
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
104
|
+
*/
|
|
105
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_DownloadSettlementFile = new grpc.web.AbstractClientBase.MethodInfo(
|
|
106
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
107
|
+
/**
|
|
108
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
109
|
+
* @return {!Uint8Array}
|
|
110
|
+
*/
|
|
111
|
+
function(request) {
|
|
112
|
+
return request.serializeBinary();
|
|
113
|
+
},
|
|
114
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
120
|
+
* request proto
|
|
121
|
+
* @param {?Object<string, string>} metadata User defined
|
|
122
|
+
* call metadata
|
|
123
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.ResponseCode)}
|
|
124
|
+
* callback The callback function(error, response)
|
|
125
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.ResponseCode>|undefined}
|
|
126
|
+
* The XHR Node Readable Stream
|
|
127
|
+
*/
|
|
128
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.downloadSettlementFile =
|
|
129
|
+
function(request, metadata, callback) {
|
|
130
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
131
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/DownloadSettlementFile',
|
|
132
|
+
request,
|
|
133
|
+
metadata || {},
|
|
134
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_DownloadSettlementFile,
|
|
135
|
+
callback);
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
141
|
+
* request proto
|
|
142
|
+
* @param {?Object<string, string>} metadata User defined
|
|
143
|
+
* call metadata
|
|
144
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
145
|
+
* Promise that resolves to the response
|
|
146
|
+
*/
|
|
147
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.downloadSettlementFile =
|
|
148
|
+
function(request, metadata) {
|
|
149
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
150
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/DownloadSettlementFile',
|
|
151
|
+
request,
|
|
152
|
+
metadata || {},
|
|
153
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_DownloadSettlementFile);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @const
|
|
159
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
160
|
+
* !proto.google.protobuf.Empty,
|
|
161
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
162
|
+
*/
|
|
163
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_HealthCheckGrpc = new grpc.web.MethodDescriptor(
|
|
164
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/HealthCheckGrpc',
|
|
165
|
+
grpc.web.MethodType.UNARY,
|
|
166
|
+
google_protobuf_empty_pb.Empty,
|
|
167
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
168
|
+
/**
|
|
169
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
170
|
+
* @return {!Uint8Array}
|
|
171
|
+
*/
|
|
172
|
+
function(request) {
|
|
173
|
+
return request.serializeBinary();
|
|
174
|
+
},
|
|
175
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @const
|
|
181
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
182
|
+
* !proto.google.protobuf.Empty,
|
|
183
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
184
|
+
*/
|
|
185
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_HealthCheckGrpc = new grpc.web.AbstractClientBase.MethodInfo(
|
|
186
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
187
|
+
/**
|
|
188
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
189
|
+
* @return {!Uint8Array}
|
|
190
|
+
*/
|
|
191
|
+
function(request) {
|
|
192
|
+
return request.serializeBinary();
|
|
193
|
+
},
|
|
194
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
195
|
+
);
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
200
|
+
* request proto
|
|
201
|
+
* @param {?Object<string, string>} metadata User defined
|
|
202
|
+
* call metadata
|
|
203
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.ResponseCode)}
|
|
204
|
+
* callback The callback function(error, response)
|
|
205
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.ResponseCode>|undefined}
|
|
206
|
+
* The XHR Node Readable Stream
|
|
207
|
+
*/
|
|
208
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.healthCheckGrpc =
|
|
209
|
+
function(request, metadata, callback) {
|
|
210
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
211
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/HealthCheckGrpc',
|
|
212
|
+
request,
|
|
213
|
+
metadata || {},
|
|
214
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_HealthCheckGrpc,
|
|
215
|
+
callback);
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
221
|
+
* request proto
|
|
222
|
+
* @param {?Object<string, string>} metadata User defined
|
|
223
|
+
* call metadata
|
|
224
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
225
|
+
* Promise that resolves to the response
|
|
226
|
+
*/
|
|
227
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.healthCheckGrpc =
|
|
228
|
+
function(request, metadata) {
|
|
229
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
230
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/HealthCheckGrpc',
|
|
231
|
+
request,
|
|
232
|
+
metadata || {},
|
|
233
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_HealthCheckGrpc);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @const
|
|
239
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
240
|
+
* !proto.google.protobuf.Empty,
|
|
241
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
242
|
+
*/
|
|
243
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_HealthCheckRest = new grpc.web.MethodDescriptor(
|
|
244
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/HealthCheckRest',
|
|
245
|
+
grpc.web.MethodType.UNARY,
|
|
246
|
+
google_protobuf_empty_pb.Empty,
|
|
247
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
248
|
+
/**
|
|
249
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
250
|
+
* @return {!Uint8Array}
|
|
251
|
+
*/
|
|
252
|
+
function(request) {
|
|
253
|
+
return request.serializeBinary();
|
|
254
|
+
},
|
|
255
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @const
|
|
261
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
262
|
+
* !proto.google.protobuf.Empty,
|
|
263
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
264
|
+
*/
|
|
265
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_HealthCheckRest = new grpc.web.AbstractClientBase.MethodInfo(
|
|
266
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
267
|
+
/**
|
|
268
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
269
|
+
* @return {!Uint8Array}
|
|
270
|
+
*/
|
|
271
|
+
function(request) {
|
|
272
|
+
return request.serializeBinary();
|
|
273
|
+
},
|
|
274
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
275
|
+
);
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
280
|
+
* request proto
|
|
281
|
+
* @param {?Object<string, string>} metadata User defined
|
|
282
|
+
* call metadata
|
|
283
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.ResponseCode)}
|
|
284
|
+
* callback The callback function(error, response)
|
|
285
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.ResponseCode>|undefined}
|
|
286
|
+
* The XHR Node Readable Stream
|
|
287
|
+
*/
|
|
288
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.healthCheckRest =
|
|
289
|
+
function(request, metadata, callback) {
|
|
290
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
291
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/HealthCheckRest',
|
|
292
|
+
request,
|
|
293
|
+
metadata || {},
|
|
294
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_HealthCheckRest,
|
|
295
|
+
callback);
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
301
|
+
* request proto
|
|
302
|
+
* @param {?Object<string, string>} metadata User defined
|
|
303
|
+
* call metadata
|
|
304
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
305
|
+
* Promise that resolves to the response
|
|
306
|
+
*/
|
|
307
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.healthCheckRest =
|
|
308
|
+
function(request, metadata) {
|
|
309
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
310
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/HealthCheckRest',
|
|
311
|
+
request,
|
|
312
|
+
metadata || {},
|
|
313
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_HealthCheckRest);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @const
|
|
319
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
320
|
+
* !proto.tillpaymentgatewayserviceapi.MakePaymentRequest,
|
|
321
|
+
* !proto.tillpaymentgatewayserviceapi.PaymentResponse>}
|
|
322
|
+
*/
|
|
323
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_MakePayment = new grpc.web.MethodDescriptor(
|
|
324
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/MakePayment',
|
|
325
|
+
grpc.web.MethodType.UNARY,
|
|
326
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest,
|
|
327
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse,
|
|
328
|
+
/**
|
|
329
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} request
|
|
330
|
+
* @return {!Uint8Array}
|
|
331
|
+
*/
|
|
332
|
+
function(request) {
|
|
333
|
+
return request.serializeBinary();
|
|
334
|
+
},
|
|
335
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.deserializeBinary
|
|
336
|
+
);
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @const
|
|
341
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
342
|
+
* !proto.tillpaymentgatewayserviceapi.MakePaymentRequest,
|
|
343
|
+
* !proto.tillpaymentgatewayserviceapi.PaymentResponse>}
|
|
344
|
+
*/
|
|
345
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_MakePayment = new grpc.web.AbstractClientBase.MethodInfo(
|
|
346
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse,
|
|
347
|
+
/**
|
|
348
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} request
|
|
349
|
+
* @return {!Uint8Array}
|
|
350
|
+
*/
|
|
351
|
+
function(request) {
|
|
352
|
+
return request.serializeBinary();
|
|
353
|
+
},
|
|
354
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.deserializeBinary
|
|
355
|
+
);
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} request The
|
|
360
|
+
* request proto
|
|
361
|
+
* @param {?Object<string, string>} metadata User defined
|
|
362
|
+
* call metadata
|
|
363
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.PaymentResponse)}
|
|
364
|
+
* callback The callback function(error, response)
|
|
365
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.PaymentResponse>|undefined}
|
|
366
|
+
* The XHR Node Readable Stream
|
|
367
|
+
*/
|
|
368
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.makePayment =
|
|
369
|
+
function(request, metadata, callback) {
|
|
370
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
371
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/MakePayment',
|
|
372
|
+
request,
|
|
373
|
+
metadata || {},
|
|
374
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_MakePayment,
|
|
375
|
+
callback);
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} request The
|
|
381
|
+
* request proto
|
|
382
|
+
* @param {?Object<string, string>} metadata User defined
|
|
383
|
+
* call metadata
|
|
384
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.PaymentResponse>}
|
|
385
|
+
* Promise that resolves to the response
|
|
386
|
+
*/
|
|
387
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.makePayment =
|
|
388
|
+
function(request, metadata) {
|
|
389
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
390
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/MakePayment',
|
|
391
|
+
request,
|
|
392
|
+
metadata || {},
|
|
393
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_MakePayment);
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @const
|
|
399
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
400
|
+
* !proto.tillpaymentgatewayserviceapi.MakeRefundRequest,
|
|
401
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
402
|
+
*/
|
|
403
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_MakeRefund = new grpc.web.MethodDescriptor(
|
|
404
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/MakeRefund',
|
|
405
|
+
grpc.web.MethodType.UNARY,
|
|
406
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest,
|
|
407
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
408
|
+
/**
|
|
409
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} request
|
|
410
|
+
* @return {!Uint8Array}
|
|
411
|
+
*/
|
|
412
|
+
function(request) {
|
|
413
|
+
return request.serializeBinary();
|
|
414
|
+
},
|
|
415
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
416
|
+
);
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @const
|
|
421
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
422
|
+
* !proto.tillpaymentgatewayserviceapi.MakeRefundRequest,
|
|
423
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
424
|
+
*/
|
|
425
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_MakeRefund = new grpc.web.AbstractClientBase.MethodInfo(
|
|
426
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
427
|
+
/**
|
|
428
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} request
|
|
429
|
+
* @return {!Uint8Array}
|
|
430
|
+
*/
|
|
431
|
+
function(request) {
|
|
432
|
+
return request.serializeBinary();
|
|
433
|
+
},
|
|
434
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
435
|
+
);
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} request The
|
|
440
|
+
* request proto
|
|
441
|
+
* @param {?Object<string, string>} metadata User defined
|
|
442
|
+
* call metadata
|
|
443
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.ResponseCode)}
|
|
444
|
+
* callback The callback function(error, response)
|
|
445
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.ResponseCode>|undefined}
|
|
446
|
+
* The XHR Node Readable Stream
|
|
447
|
+
*/
|
|
448
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.makeRefund =
|
|
449
|
+
function(request, metadata, callback) {
|
|
450
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
451
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/MakeRefund',
|
|
452
|
+
request,
|
|
453
|
+
metadata || {},
|
|
454
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_MakeRefund,
|
|
455
|
+
callback);
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} request The
|
|
461
|
+
* request proto
|
|
462
|
+
* @param {?Object<string, string>} metadata User defined
|
|
463
|
+
* call metadata
|
|
464
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
465
|
+
* Promise that resolves to the response
|
|
466
|
+
*/
|
|
467
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.makeRefund =
|
|
468
|
+
function(request, metadata) {
|
|
469
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
470
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/MakeRefund',
|
|
471
|
+
request,
|
|
472
|
+
metadata || {},
|
|
473
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_MakeRefund);
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @const
|
|
479
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
480
|
+
* !proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest,
|
|
481
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
482
|
+
*/
|
|
483
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_ProcessSettlementFile = new grpc.web.MethodDescriptor(
|
|
484
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/ProcessSettlementFile',
|
|
485
|
+
grpc.web.MethodType.UNARY,
|
|
486
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest,
|
|
487
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
488
|
+
/**
|
|
489
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} request
|
|
490
|
+
* @return {!Uint8Array}
|
|
491
|
+
*/
|
|
492
|
+
function(request) {
|
|
493
|
+
return request.serializeBinary();
|
|
494
|
+
},
|
|
495
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
496
|
+
);
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @const
|
|
501
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
502
|
+
* !proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest,
|
|
503
|
+
* !proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
504
|
+
*/
|
|
505
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_ProcessSettlementFile = new grpc.web.AbstractClientBase.MethodInfo(
|
|
506
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode,
|
|
507
|
+
/**
|
|
508
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} request
|
|
509
|
+
* @return {!Uint8Array}
|
|
510
|
+
*/
|
|
511
|
+
function(request) {
|
|
512
|
+
return request.serializeBinary();
|
|
513
|
+
},
|
|
514
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary
|
|
515
|
+
);
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} request The
|
|
520
|
+
* request proto
|
|
521
|
+
* @param {?Object<string, string>} metadata User defined
|
|
522
|
+
* call metadata
|
|
523
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.ResponseCode)}
|
|
524
|
+
* callback The callback function(error, response)
|
|
525
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.ResponseCode>|undefined}
|
|
526
|
+
* The XHR Node Readable Stream
|
|
527
|
+
*/
|
|
528
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.processSettlementFile =
|
|
529
|
+
function(request, metadata, callback) {
|
|
530
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
531
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/ProcessSettlementFile',
|
|
532
|
+
request,
|
|
533
|
+
metadata || {},
|
|
534
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_ProcessSettlementFile,
|
|
535
|
+
callback);
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} request The
|
|
541
|
+
* request proto
|
|
542
|
+
* @param {?Object<string, string>} metadata User defined
|
|
543
|
+
* call metadata
|
|
544
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.ResponseCode>}
|
|
545
|
+
* Promise that resolves to the response
|
|
546
|
+
*/
|
|
547
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.processSettlementFile =
|
|
548
|
+
function(request, metadata) {
|
|
549
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
550
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/ProcessSettlementFile',
|
|
551
|
+
request,
|
|
552
|
+
metadata || {},
|
|
553
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_ProcessSettlementFile);
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @const
|
|
559
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
560
|
+
* !proto.google.protobuf.Empty,
|
|
561
|
+
* !proto.tillpaymentgatewayserviceapi.SettleFilesResponse>}
|
|
562
|
+
*/
|
|
563
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_SettlementFiles = new grpc.web.MethodDescriptor(
|
|
564
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/SettlementFiles',
|
|
565
|
+
grpc.web.MethodType.UNARY,
|
|
566
|
+
google_protobuf_empty_pb.Empty,
|
|
567
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse,
|
|
568
|
+
/**
|
|
569
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
570
|
+
* @return {!Uint8Array}
|
|
571
|
+
*/
|
|
572
|
+
function(request) {
|
|
573
|
+
return request.serializeBinary();
|
|
574
|
+
},
|
|
575
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.deserializeBinary
|
|
576
|
+
);
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @const
|
|
581
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
582
|
+
* !proto.google.protobuf.Empty,
|
|
583
|
+
* !proto.tillpaymentgatewayserviceapi.SettleFilesResponse>}
|
|
584
|
+
*/
|
|
585
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_SettlementFiles = new grpc.web.AbstractClientBase.MethodInfo(
|
|
586
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse,
|
|
587
|
+
/**
|
|
588
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
589
|
+
* @return {!Uint8Array}
|
|
590
|
+
*/
|
|
591
|
+
function(request) {
|
|
592
|
+
return request.serializeBinary();
|
|
593
|
+
},
|
|
594
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.deserializeBinary
|
|
595
|
+
);
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
600
|
+
* request proto
|
|
601
|
+
* @param {?Object<string, string>} metadata User defined
|
|
602
|
+
* call metadata
|
|
603
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.SettleFilesResponse)}
|
|
604
|
+
* callback The callback function(error, response)
|
|
605
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.SettleFilesResponse>|undefined}
|
|
606
|
+
* The XHR Node Readable Stream
|
|
607
|
+
*/
|
|
608
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.settlementFiles =
|
|
609
|
+
function(request, metadata, callback) {
|
|
610
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
611
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/SettlementFiles',
|
|
612
|
+
request,
|
|
613
|
+
metadata || {},
|
|
614
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_SettlementFiles,
|
|
615
|
+
callback);
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
621
|
+
* request proto
|
|
622
|
+
* @param {?Object<string, string>} metadata User defined
|
|
623
|
+
* call metadata
|
|
624
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.SettleFilesResponse>}
|
|
625
|
+
* Promise that resolves to the response
|
|
626
|
+
*/
|
|
627
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.settlementFiles =
|
|
628
|
+
function(request, metadata) {
|
|
629
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
630
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/SettlementFiles',
|
|
631
|
+
request,
|
|
632
|
+
metadata || {},
|
|
633
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_SettlementFiles);
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @const
|
|
639
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
640
|
+
* !proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest,
|
|
641
|
+
* !proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse>}
|
|
642
|
+
*/
|
|
643
|
+
const methodDescriptor_TillPaymentGatewayServiceAPIService_SettlementFilesDetails = new grpc.web.MethodDescriptor(
|
|
644
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/SettlementFilesDetails',
|
|
645
|
+
grpc.web.MethodType.UNARY,
|
|
646
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest,
|
|
647
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse,
|
|
648
|
+
/**
|
|
649
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} request
|
|
650
|
+
* @return {!Uint8Array}
|
|
651
|
+
*/
|
|
652
|
+
function(request) {
|
|
653
|
+
return request.serializeBinary();
|
|
654
|
+
},
|
|
655
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.deserializeBinary
|
|
656
|
+
);
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @const
|
|
661
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
662
|
+
* !proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest,
|
|
663
|
+
* !proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse>}
|
|
664
|
+
*/
|
|
665
|
+
const methodInfo_TillPaymentGatewayServiceAPIService_SettlementFilesDetails = new grpc.web.AbstractClientBase.MethodInfo(
|
|
666
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse,
|
|
667
|
+
/**
|
|
668
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} request
|
|
669
|
+
* @return {!Uint8Array}
|
|
670
|
+
*/
|
|
671
|
+
function(request) {
|
|
672
|
+
return request.serializeBinary();
|
|
673
|
+
},
|
|
674
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.deserializeBinary
|
|
675
|
+
);
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} request The
|
|
680
|
+
* request proto
|
|
681
|
+
* @param {?Object<string, string>} metadata User defined
|
|
682
|
+
* call metadata
|
|
683
|
+
* @param {function(?grpc.web.Error, ?proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse)}
|
|
684
|
+
* callback The callback function(error, response)
|
|
685
|
+
* @return {!grpc.web.ClientReadableStream<!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse>|undefined}
|
|
686
|
+
* The XHR Node Readable Stream
|
|
687
|
+
*/
|
|
688
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServiceClient.prototype.settlementFilesDetails =
|
|
689
|
+
function(request, metadata, callback) {
|
|
690
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
691
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/SettlementFilesDetails',
|
|
692
|
+
request,
|
|
693
|
+
metadata || {},
|
|
694
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_SettlementFilesDetails,
|
|
695
|
+
callback);
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} request The
|
|
701
|
+
* request proto
|
|
702
|
+
* @param {?Object<string, string>} metadata User defined
|
|
703
|
+
* call metadata
|
|
704
|
+
* @return {!Promise<!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse>}
|
|
705
|
+
* Promise that resolves to the response
|
|
706
|
+
*/
|
|
707
|
+
proto.tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIServicePromiseClient.prototype.settlementFilesDetails =
|
|
708
|
+
function(request, metadata) {
|
|
709
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
710
|
+
'/tillpaymentgatewayserviceapi.TillPaymentGatewayServiceAPIService/SettlementFilesDetails',
|
|
711
|
+
request,
|
|
712
|
+
metadata || {},
|
|
713
|
+
methodDescriptor_TillPaymentGatewayServiceAPIService_SettlementFilesDetails);
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
module.exports = proto.tillpaymentgatewayserviceapi;
|
|
718
|
+
|