@sniipwebmaster/cybersource-client-grpcweb 24.15.248
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/google/type/decimal_pb.js +176 -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 +509 -0
- package/dependancies/service_pb.js +8763 -0
- package/index.js +4 -0
- package/package.json +11 -0
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for cybersourceserviceapi
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.20.1
|
|
11
|
+
// source: service.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
const grpc = {};
|
|
20
|
+
grpc.web = require('grpc-web');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
|
24
|
+
|
|
25
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
26
|
+
const proto = {};
|
|
27
|
+
proto.cybersourceserviceapi = require('./service_pb.js');
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @param {string} hostname
|
|
31
|
+
* @param {?Object} credentials
|
|
32
|
+
* @param {?grpc.web.ClientOptions} options
|
|
33
|
+
* @constructor
|
|
34
|
+
* @struct
|
|
35
|
+
* @final
|
|
36
|
+
*/
|
|
37
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient =
|
|
38
|
+
function(hostname, credentials, options) {
|
|
39
|
+
if (!options) options = {};
|
|
40
|
+
options.format = 'text';
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
44
|
+
*/
|
|
45
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @private @const {string} The hostname
|
|
49
|
+
*/
|
|
50
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @param {string} hostname
|
|
57
|
+
* @param {?Object} credentials
|
|
58
|
+
* @param {?grpc.web.ClientOptions} options
|
|
59
|
+
* @constructor
|
|
60
|
+
* @struct
|
|
61
|
+
* @final
|
|
62
|
+
*/
|
|
63
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient =
|
|
64
|
+
function(hostname, credentials, options) {
|
|
65
|
+
if (!options) options = {};
|
|
66
|
+
options.format = 'text';
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
70
|
+
*/
|
|
71
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @private @const {string} The hostname
|
|
75
|
+
*/
|
|
76
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
77
|
+
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @const
|
|
83
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
84
|
+
* !proto.cybersourceserviceapi.GetTransactionRequest,
|
|
85
|
+
* !proto.cybersourceserviceapi.TransactionResponse>}
|
|
86
|
+
*/
|
|
87
|
+
const methodDescriptor_CybersourceServiceAPIService_GetTransaction = new grpc.web.MethodDescriptor(
|
|
88
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/GetTransaction',
|
|
89
|
+
grpc.web.MethodType.UNARY,
|
|
90
|
+
proto.cybersourceserviceapi.GetTransactionRequest,
|
|
91
|
+
proto.cybersourceserviceapi.TransactionResponse,
|
|
92
|
+
/**
|
|
93
|
+
* @param {!proto.cybersourceserviceapi.GetTransactionRequest} request
|
|
94
|
+
* @return {!Uint8Array}
|
|
95
|
+
*/
|
|
96
|
+
function(request) {
|
|
97
|
+
return request.serializeBinary();
|
|
98
|
+
},
|
|
99
|
+
proto.cybersourceserviceapi.TransactionResponse.deserializeBinary
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @param {!proto.cybersourceserviceapi.GetTransactionRequest} request The
|
|
105
|
+
* request proto
|
|
106
|
+
* @param {?Object<string, string>} metadata User defined
|
|
107
|
+
* call metadata
|
|
108
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.TransactionResponse)}
|
|
109
|
+
* callback The callback function(error, response)
|
|
110
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.TransactionResponse>|undefined}
|
|
111
|
+
* The XHR Node Readable Stream
|
|
112
|
+
*/
|
|
113
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.getTransaction =
|
|
114
|
+
function(request, metadata, callback) {
|
|
115
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
116
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/GetTransaction',
|
|
117
|
+
request,
|
|
118
|
+
metadata || {},
|
|
119
|
+
methodDescriptor_CybersourceServiceAPIService_GetTransaction,
|
|
120
|
+
callback);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @param {!proto.cybersourceserviceapi.GetTransactionRequest} request The
|
|
126
|
+
* request proto
|
|
127
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
128
|
+
* call metadata
|
|
129
|
+
* @return {!Promise<!proto.cybersourceserviceapi.TransactionResponse>}
|
|
130
|
+
* Promise that resolves to the response
|
|
131
|
+
*/
|
|
132
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.getTransaction =
|
|
133
|
+
function(request, metadata) {
|
|
134
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
135
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/GetTransaction',
|
|
136
|
+
request,
|
|
137
|
+
metadata || {},
|
|
138
|
+
methodDescriptor_CybersourceServiceAPIService_GetTransaction);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @const
|
|
144
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
145
|
+
* !proto.google.protobuf.Empty,
|
|
146
|
+
* !proto.cybersourceserviceapi.ResponseCode>}
|
|
147
|
+
*/
|
|
148
|
+
const methodDescriptor_CybersourceServiceAPIService_HealthCheck = new grpc.web.MethodDescriptor(
|
|
149
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/HealthCheck',
|
|
150
|
+
grpc.web.MethodType.UNARY,
|
|
151
|
+
google_protobuf_empty_pb.Empty,
|
|
152
|
+
proto.cybersourceserviceapi.ResponseCode,
|
|
153
|
+
/**
|
|
154
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
155
|
+
* @return {!Uint8Array}
|
|
156
|
+
*/
|
|
157
|
+
function(request) {
|
|
158
|
+
return request.serializeBinary();
|
|
159
|
+
},
|
|
160
|
+
proto.cybersourceserviceapi.ResponseCode.deserializeBinary
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
166
|
+
* request proto
|
|
167
|
+
* @param {?Object<string, string>} metadata User defined
|
|
168
|
+
* call metadata
|
|
169
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.ResponseCode)}
|
|
170
|
+
* callback The callback function(error, response)
|
|
171
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.ResponseCode>|undefined}
|
|
172
|
+
* The XHR Node Readable Stream
|
|
173
|
+
*/
|
|
174
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.healthCheck =
|
|
175
|
+
function(request, metadata, callback) {
|
|
176
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
177
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/HealthCheck',
|
|
178
|
+
request,
|
|
179
|
+
metadata || {},
|
|
180
|
+
methodDescriptor_CybersourceServiceAPIService_HealthCheck,
|
|
181
|
+
callback);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
187
|
+
* request proto
|
|
188
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
189
|
+
* call metadata
|
|
190
|
+
* @return {!Promise<!proto.cybersourceserviceapi.ResponseCode>}
|
|
191
|
+
* Promise that resolves to the response
|
|
192
|
+
*/
|
|
193
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
194
|
+
function(request, metadata) {
|
|
195
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
196
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/HealthCheck',
|
|
197
|
+
request,
|
|
198
|
+
metadata || {},
|
|
199
|
+
methodDescriptor_CybersourceServiceAPIService_HealthCheck);
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @const
|
|
205
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
206
|
+
* !proto.cybersourceserviceapi.MakePaymentRequest,
|
|
207
|
+
* !proto.cybersourceserviceapi.PaymentResponse>}
|
|
208
|
+
*/
|
|
209
|
+
const methodDescriptor_CybersourceServiceAPIService_MakePayment = new grpc.web.MethodDescriptor(
|
|
210
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/MakePayment',
|
|
211
|
+
grpc.web.MethodType.UNARY,
|
|
212
|
+
proto.cybersourceserviceapi.MakePaymentRequest,
|
|
213
|
+
proto.cybersourceserviceapi.PaymentResponse,
|
|
214
|
+
/**
|
|
215
|
+
* @param {!proto.cybersourceserviceapi.MakePaymentRequest} request
|
|
216
|
+
* @return {!Uint8Array}
|
|
217
|
+
*/
|
|
218
|
+
function(request) {
|
|
219
|
+
return request.serializeBinary();
|
|
220
|
+
},
|
|
221
|
+
proto.cybersourceserviceapi.PaymentResponse.deserializeBinary
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @param {!proto.cybersourceserviceapi.MakePaymentRequest} request The
|
|
227
|
+
* request proto
|
|
228
|
+
* @param {?Object<string, string>} metadata User defined
|
|
229
|
+
* call metadata
|
|
230
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.PaymentResponse)}
|
|
231
|
+
* callback The callback function(error, response)
|
|
232
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.PaymentResponse>|undefined}
|
|
233
|
+
* The XHR Node Readable Stream
|
|
234
|
+
*/
|
|
235
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.makePayment =
|
|
236
|
+
function(request, metadata, callback) {
|
|
237
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
238
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/MakePayment',
|
|
239
|
+
request,
|
|
240
|
+
metadata || {},
|
|
241
|
+
methodDescriptor_CybersourceServiceAPIService_MakePayment,
|
|
242
|
+
callback);
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @param {!proto.cybersourceserviceapi.MakePaymentRequest} request The
|
|
248
|
+
* request proto
|
|
249
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
250
|
+
* call metadata
|
|
251
|
+
* @return {!Promise<!proto.cybersourceserviceapi.PaymentResponse>}
|
|
252
|
+
* Promise that resolves to the response
|
|
253
|
+
*/
|
|
254
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.makePayment =
|
|
255
|
+
function(request, metadata) {
|
|
256
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
257
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/MakePayment',
|
|
258
|
+
request,
|
|
259
|
+
metadata || {},
|
|
260
|
+
methodDescriptor_CybersourceServiceAPIService_MakePayment);
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @const
|
|
266
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
267
|
+
* !proto.cybersourceserviceapi.ProcessSettlementFileRequest,
|
|
268
|
+
* !proto.cybersourceserviceapi.ResponseCode>}
|
|
269
|
+
*/
|
|
270
|
+
const methodDescriptor_CybersourceServiceAPIService_ProcessSettlementFile = new grpc.web.MethodDescriptor(
|
|
271
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/ProcessSettlementFile',
|
|
272
|
+
grpc.web.MethodType.UNARY,
|
|
273
|
+
proto.cybersourceserviceapi.ProcessSettlementFileRequest,
|
|
274
|
+
proto.cybersourceserviceapi.ResponseCode,
|
|
275
|
+
/**
|
|
276
|
+
* @param {!proto.cybersourceserviceapi.ProcessSettlementFileRequest} request
|
|
277
|
+
* @return {!Uint8Array}
|
|
278
|
+
*/
|
|
279
|
+
function(request) {
|
|
280
|
+
return request.serializeBinary();
|
|
281
|
+
},
|
|
282
|
+
proto.cybersourceserviceapi.ResponseCode.deserializeBinary
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @param {!proto.cybersourceserviceapi.ProcessSettlementFileRequest} request The
|
|
288
|
+
* request proto
|
|
289
|
+
* @param {?Object<string, string>} metadata User defined
|
|
290
|
+
* call metadata
|
|
291
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.ResponseCode)}
|
|
292
|
+
* callback The callback function(error, response)
|
|
293
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.ResponseCode>|undefined}
|
|
294
|
+
* The XHR Node Readable Stream
|
|
295
|
+
*/
|
|
296
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.processSettlementFile =
|
|
297
|
+
function(request, metadata, callback) {
|
|
298
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
299
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/ProcessSettlementFile',
|
|
300
|
+
request,
|
|
301
|
+
metadata || {},
|
|
302
|
+
methodDescriptor_CybersourceServiceAPIService_ProcessSettlementFile,
|
|
303
|
+
callback);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @param {!proto.cybersourceserviceapi.ProcessSettlementFileRequest} request The
|
|
309
|
+
* request proto
|
|
310
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
311
|
+
* call metadata
|
|
312
|
+
* @return {!Promise<!proto.cybersourceserviceapi.ResponseCode>}
|
|
313
|
+
* Promise that resolves to the response
|
|
314
|
+
*/
|
|
315
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.processSettlementFile =
|
|
316
|
+
function(request, metadata) {
|
|
317
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
318
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/ProcessSettlementFile',
|
|
319
|
+
request,
|
|
320
|
+
metadata || {},
|
|
321
|
+
methodDescriptor_CybersourceServiceAPIService_ProcessSettlementFile);
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @const
|
|
327
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
328
|
+
* !proto.cybersourceserviceapi.SettlementFilesRequest,
|
|
329
|
+
* !proto.cybersourceserviceapi.SettleFilesResponse>}
|
|
330
|
+
*/
|
|
331
|
+
const methodDescriptor_CybersourceServiceAPIService_SettlementFiles = new grpc.web.MethodDescriptor(
|
|
332
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/SettlementFiles',
|
|
333
|
+
grpc.web.MethodType.UNARY,
|
|
334
|
+
proto.cybersourceserviceapi.SettlementFilesRequest,
|
|
335
|
+
proto.cybersourceserviceapi.SettleFilesResponse,
|
|
336
|
+
/**
|
|
337
|
+
* @param {!proto.cybersourceserviceapi.SettlementFilesRequest} request
|
|
338
|
+
* @return {!Uint8Array}
|
|
339
|
+
*/
|
|
340
|
+
function(request) {
|
|
341
|
+
return request.serializeBinary();
|
|
342
|
+
},
|
|
343
|
+
proto.cybersourceserviceapi.SettleFilesResponse.deserializeBinary
|
|
344
|
+
);
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @param {!proto.cybersourceserviceapi.SettlementFilesRequest} request The
|
|
349
|
+
* request proto
|
|
350
|
+
* @param {?Object<string, string>} metadata User defined
|
|
351
|
+
* call metadata
|
|
352
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.SettleFilesResponse)}
|
|
353
|
+
* callback The callback function(error, response)
|
|
354
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.SettleFilesResponse>|undefined}
|
|
355
|
+
* The XHR Node Readable Stream
|
|
356
|
+
*/
|
|
357
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.settlementFiles =
|
|
358
|
+
function(request, metadata, callback) {
|
|
359
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
360
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/SettlementFiles',
|
|
361
|
+
request,
|
|
362
|
+
metadata || {},
|
|
363
|
+
methodDescriptor_CybersourceServiceAPIService_SettlementFiles,
|
|
364
|
+
callback);
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @param {!proto.cybersourceserviceapi.SettlementFilesRequest} request The
|
|
370
|
+
* request proto
|
|
371
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
372
|
+
* call metadata
|
|
373
|
+
* @return {!Promise<!proto.cybersourceserviceapi.SettleFilesResponse>}
|
|
374
|
+
* Promise that resolves to the response
|
|
375
|
+
*/
|
|
376
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.settlementFiles =
|
|
377
|
+
function(request, metadata) {
|
|
378
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
379
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/SettlementFiles',
|
|
380
|
+
request,
|
|
381
|
+
metadata || {},
|
|
382
|
+
methodDescriptor_CybersourceServiceAPIService_SettlementFiles);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @const
|
|
388
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
389
|
+
* !proto.cybersourceserviceapi.SettlementFilesDetailsRequest,
|
|
390
|
+
* !proto.cybersourceserviceapi.SettleFileDetailsResponse>}
|
|
391
|
+
*/
|
|
392
|
+
const methodDescriptor_CybersourceServiceAPIService_SettlementFilesDetails = new grpc.web.MethodDescriptor(
|
|
393
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/SettlementFilesDetails',
|
|
394
|
+
grpc.web.MethodType.UNARY,
|
|
395
|
+
proto.cybersourceserviceapi.SettlementFilesDetailsRequest,
|
|
396
|
+
proto.cybersourceserviceapi.SettleFileDetailsResponse,
|
|
397
|
+
/**
|
|
398
|
+
* @param {!proto.cybersourceserviceapi.SettlementFilesDetailsRequest} request
|
|
399
|
+
* @return {!Uint8Array}
|
|
400
|
+
*/
|
|
401
|
+
function(request) {
|
|
402
|
+
return request.serializeBinary();
|
|
403
|
+
},
|
|
404
|
+
proto.cybersourceserviceapi.SettleFileDetailsResponse.deserializeBinary
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* @param {!proto.cybersourceserviceapi.SettlementFilesDetailsRequest} request The
|
|
410
|
+
* request proto
|
|
411
|
+
* @param {?Object<string, string>} metadata User defined
|
|
412
|
+
* call metadata
|
|
413
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.SettleFileDetailsResponse)}
|
|
414
|
+
* callback The callback function(error, response)
|
|
415
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.SettleFileDetailsResponse>|undefined}
|
|
416
|
+
* The XHR Node Readable Stream
|
|
417
|
+
*/
|
|
418
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.settlementFilesDetails =
|
|
419
|
+
function(request, metadata, callback) {
|
|
420
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
421
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/SettlementFilesDetails',
|
|
422
|
+
request,
|
|
423
|
+
metadata || {},
|
|
424
|
+
methodDescriptor_CybersourceServiceAPIService_SettlementFilesDetails,
|
|
425
|
+
callback);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @param {!proto.cybersourceserviceapi.SettlementFilesDetailsRequest} request The
|
|
431
|
+
* request proto
|
|
432
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
433
|
+
* call metadata
|
|
434
|
+
* @return {!Promise<!proto.cybersourceserviceapi.SettleFileDetailsResponse>}
|
|
435
|
+
* Promise that resolves to the response
|
|
436
|
+
*/
|
|
437
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.settlementFilesDetails =
|
|
438
|
+
function(request, metadata) {
|
|
439
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
440
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/SettlementFilesDetails',
|
|
441
|
+
request,
|
|
442
|
+
metadata || {},
|
|
443
|
+
methodDescriptor_CybersourceServiceAPIService_SettlementFilesDetails);
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @const
|
|
449
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
450
|
+
* !proto.google.protobuf.Empty,
|
|
451
|
+
* !proto.cybersourceserviceapi.ResponseCode>}
|
|
452
|
+
*/
|
|
453
|
+
const methodDescriptor_CybersourceServiceAPIService_ImportSettlementFiles = new grpc.web.MethodDescriptor(
|
|
454
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/ImportSettlementFiles',
|
|
455
|
+
grpc.web.MethodType.UNARY,
|
|
456
|
+
google_protobuf_empty_pb.Empty,
|
|
457
|
+
proto.cybersourceserviceapi.ResponseCode,
|
|
458
|
+
/**
|
|
459
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
460
|
+
* @return {!Uint8Array}
|
|
461
|
+
*/
|
|
462
|
+
function(request) {
|
|
463
|
+
return request.serializeBinary();
|
|
464
|
+
},
|
|
465
|
+
proto.cybersourceserviceapi.ResponseCode.deserializeBinary
|
|
466
|
+
);
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
471
|
+
* request proto
|
|
472
|
+
* @param {?Object<string, string>} metadata User defined
|
|
473
|
+
* call metadata
|
|
474
|
+
* @param {function(?grpc.web.RpcError, ?proto.cybersourceserviceapi.ResponseCode)}
|
|
475
|
+
* callback The callback function(error, response)
|
|
476
|
+
* @return {!grpc.web.ClientReadableStream<!proto.cybersourceserviceapi.ResponseCode>|undefined}
|
|
477
|
+
* The XHR Node Readable Stream
|
|
478
|
+
*/
|
|
479
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServiceClient.prototype.importSettlementFiles =
|
|
480
|
+
function(request, metadata, callback) {
|
|
481
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
482
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/ImportSettlementFiles',
|
|
483
|
+
request,
|
|
484
|
+
metadata || {},
|
|
485
|
+
methodDescriptor_CybersourceServiceAPIService_ImportSettlementFiles,
|
|
486
|
+
callback);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
492
|
+
* request proto
|
|
493
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
494
|
+
* call metadata
|
|
495
|
+
* @return {!Promise<!proto.cybersourceserviceapi.ResponseCode>}
|
|
496
|
+
* Promise that resolves to the response
|
|
497
|
+
*/
|
|
498
|
+
proto.cybersourceserviceapi.CybersourceServiceAPIServicePromiseClient.prototype.importSettlementFiles =
|
|
499
|
+
function(request, metadata) {
|
|
500
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
501
|
+
'/cybersourceserviceapi.CybersourceServiceAPIService/ImportSettlementFiles',
|
|
502
|
+
request,
|
|
503
|
+
metadata || {},
|
|
504
|
+
methodDescriptor_CybersourceServiceAPIService_ImportSettlementFiles);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
module.exports = proto.cybersourceserviceapi;
|
|
509
|
+
|