@sniipwebmaster/agent-billing-client-grpcweb-ts 23.15.1218 → 23.15.1239

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,1635 +0,0 @@
1
- /**
2
- * @fileoverview gRPC-Web generated client stub for agentbillingserviceapi
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.4.2
10
- // protoc v3.12.4
11
- // source: service.proto
12
-
13
-
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
-
18
- import * as grpcWeb from 'grpc-web';
19
-
20
- import * as service_pb from './service_pb';
21
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
22
-
23
-
24
- export class AgentBillingServiceAPIServiceClient {
25
- client_: grpcWeb.AbstractClientBase;
26
- hostname_: string;
27
- credentials_: null | { [index: string]: string; };
28
- options_: null | { [index: string]: any; };
29
-
30
- constructor (hostname: string,
31
- credentials?: null | { [index: string]: string; },
32
- options?: null | { [index: string]: any; }) {
33
- if (!options) options = {};
34
- if (!credentials) credentials = {};
35
- options['format'] = 'text';
36
-
37
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
38
- this.hostname_ = hostname.replace(/\/+$/, '');
39
- this.credentials_ = credentials;
40
- this.options_ = options;
41
- }
42
-
43
- methodDescriptorArchiveAgentBillsByAgentBillIds = new grpcWeb.MethodDescriptor(
44
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ArchiveAgentBillsByAgentBillIds',
45
- grpcWeb.MethodType.UNARY,
46
- service_pb.ArchiveAgentBillsByAgentBillIdsRequest,
47
- service_pb.ArchiveAgentBillsResponse,
48
- (request: service_pb.ArchiveAgentBillsByAgentBillIdsRequest) => {
49
- return request.serializeBinary();
50
- },
51
- service_pb.ArchiveAgentBillsResponse.deserializeBinary
52
- );
53
-
54
- archiveAgentBillsByAgentBillIds(
55
- request: service_pb.ArchiveAgentBillsByAgentBillIdsRequest,
56
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ArchiveAgentBillsResponse>;
57
-
58
- archiveAgentBillsByAgentBillIds(
59
- request: service_pb.ArchiveAgentBillsByAgentBillIdsRequest,
60
- metadata: grpcWeb.Metadata | null,
61
- callback: (err: grpcWeb.RpcError,
62
- response: service_pb.ArchiveAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ArchiveAgentBillsResponse>;
63
-
64
- archiveAgentBillsByAgentBillIds(
65
- request: service_pb.ArchiveAgentBillsByAgentBillIdsRequest,
66
- metadata: grpcWeb.Metadata | null,
67
- callback?: (err: grpcWeb.RpcError,
68
- response: service_pb.ArchiveAgentBillsResponse) => void) {
69
- if (callback !== undefined) {
70
- return this.client_.rpcCall(
71
- this.hostname_ +
72
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ArchiveAgentBillsByAgentBillIds',
73
- request,
74
- metadata || {},
75
- this.methodDescriptorArchiveAgentBillsByAgentBillIds,
76
- callback);
77
- }
78
- return this.client_.unaryCall(
79
- this.hostname_ +
80
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ArchiveAgentBillsByAgentBillIds',
81
- request,
82
- metadata || {},
83
- this.methodDescriptorArchiveAgentBillsByAgentBillIds);
84
- }
85
-
86
- methodDescriptorArchiveAgentBillsByDeliveryBatchId = new grpcWeb.MethodDescriptor(
87
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ArchiveAgentBillsByDeliveryBatchId',
88
- grpcWeb.MethodType.UNARY,
89
- service_pb.ArchiveAgentBillsByDeliveryBatchIdRequest,
90
- service_pb.ArchiveAgentBillsResponse,
91
- (request: service_pb.ArchiveAgentBillsByDeliveryBatchIdRequest) => {
92
- return request.serializeBinary();
93
- },
94
- service_pb.ArchiveAgentBillsResponse.deserializeBinary
95
- );
96
-
97
- archiveAgentBillsByDeliveryBatchId(
98
- request: service_pb.ArchiveAgentBillsByDeliveryBatchIdRequest,
99
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ArchiveAgentBillsResponse>;
100
-
101
- archiveAgentBillsByDeliveryBatchId(
102
- request: service_pb.ArchiveAgentBillsByDeliveryBatchIdRequest,
103
- metadata: grpcWeb.Metadata | null,
104
- callback: (err: grpcWeb.RpcError,
105
- response: service_pb.ArchiveAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ArchiveAgentBillsResponse>;
106
-
107
- archiveAgentBillsByDeliveryBatchId(
108
- request: service_pb.ArchiveAgentBillsByDeliveryBatchIdRequest,
109
- metadata: grpcWeb.Metadata | null,
110
- callback?: (err: grpcWeb.RpcError,
111
- response: service_pb.ArchiveAgentBillsResponse) => void) {
112
- if (callback !== undefined) {
113
- return this.client_.rpcCall(
114
- this.hostname_ +
115
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ArchiveAgentBillsByDeliveryBatchId',
116
- request,
117
- metadata || {},
118
- this.methodDescriptorArchiveAgentBillsByDeliveryBatchId,
119
- callback);
120
- }
121
- return this.client_.unaryCall(
122
- this.hostname_ +
123
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ArchiveAgentBillsByDeliveryBatchId',
124
- request,
125
- metadata || {},
126
- this.methodDescriptorArchiveAgentBillsByDeliveryBatchId);
127
- }
128
-
129
- methodDescriptorCancelAgentInvite = new grpcWeb.MethodDescriptor(
130
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CancelAgentInvite',
131
- grpcWeb.MethodType.UNARY,
132
- service_pb.CancelAgentInviteRequest,
133
- service_pb.ResponseCode,
134
- (request: service_pb.CancelAgentInviteRequest) => {
135
- return request.serializeBinary();
136
- },
137
- service_pb.ResponseCode.deserializeBinary
138
- );
139
-
140
- cancelAgentInvite(
141
- request: service_pb.CancelAgentInviteRequest,
142
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
143
-
144
- cancelAgentInvite(
145
- request: service_pb.CancelAgentInviteRequest,
146
- metadata: grpcWeb.Metadata | null,
147
- callback: (err: grpcWeb.RpcError,
148
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
149
-
150
- cancelAgentInvite(
151
- request: service_pb.CancelAgentInviteRequest,
152
- metadata: grpcWeb.Metadata | null,
153
- callback?: (err: grpcWeb.RpcError,
154
- response: service_pb.ResponseCode) => void) {
155
- if (callback !== undefined) {
156
- return this.client_.rpcCall(
157
- this.hostname_ +
158
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CancelAgentInvite',
159
- request,
160
- metadata || {},
161
- this.methodDescriptorCancelAgentInvite,
162
- callback);
163
- }
164
- return this.client_.unaryCall(
165
- this.hostname_ +
166
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CancelAgentInvite',
167
- request,
168
- metadata || {},
169
- this.methodDescriptorCancelAgentInvite);
170
- }
171
-
172
- methodDescriptorConnectAgent = new grpcWeb.MethodDescriptor(
173
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ConnectAgent',
174
- grpcWeb.MethodType.UNARY,
175
- service_pb.ConnectAgentRequest,
176
- service_pb.ResponseCode,
177
- (request: service_pb.ConnectAgentRequest) => {
178
- return request.serializeBinary();
179
- },
180
- service_pb.ResponseCode.deserializeBinary
181
- );
182
-
183
- connectAgent(
184
- request: service_pb.ConnectAgentRequest,
185
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
186
-
187
- connectAgent(
188
- request: service_pb.ConnectAgentRequest,
189
- metadata: grpcWeb.Metadata | null,
190
- callback: (err: grpcWeb.RpcError,
191
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
192
-
193
- connectAgent(
194
- request: service_pb.ConnectAgentRequest,
195
- metadata: grpcWeb.Metadata | null,
196
- callback?: (err: grpcWeb.RpcError,
197
- response: service_pb.ResponseCode) => void) {
198
- if (callback !== undefined) {
199
- return this.client_.rpcCall(
200
- this.hostname_ +
201
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ConnectAgent',
202
- request,
203
- metadata || {},
204
- this.methodDescriptorConnectAgent,
205
- callback);
206
- }
207
- return this.client_.unaryCall(
208
- this.hostname_ +
209
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ConnectAgent',
210
- request,
211
- metadata || {},
212
- this.methodDescriptorConnectAgent);
213
- }
214
-
215
- methodDescriptorCreateAndSendDeliveryBatch = new grpcWeb.MethodDescriptor(
216
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndSendDeliveryBatch',
217
- grpcWeb.MethodType.UNARY,
218
- service_pb.CreateAndSendDeliveryBatchRequest,
219
- service_pb.ResponseCode,
220
- (request: service_pb.CreateAndSendDeliveryBatchRequest) => {
221
- return request.serializeBinary();
222
- },
223
- service_pb.ResponseCode.deserializeBinary
224
- );
225
-
226
- createAndSendDeliveryBatch(
227
- request: service_pb.CreateAndSendDeliveryBatchRequest,
228
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
229
-
230
- createAndSendDeliveryBatch(
231
- request: service_pb.CreateAndSendDeliveryBatchRequest,
232
- metadata: grpcWeb.Metadata | null,
233
- callback: (err: grpcWeb.RpcError,
234
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
235
-
236
- createAndSendDeliveryBatch(
237
- request: service_pb.CreateAndSendDeliveryBatchRequest,
238
- metadata: grpcWeb.Metadata | null,
239
- callback?: (err: grpcWeb.RpcError,
240
- response: service_pb.ResponseCode) => void) {
241
- if (callback !== undefined) {
242
- return this.client_.rpcCall(
243
- this.hostname_ +
244
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndSendDeliveryBatch',
245
- request,
246
- metadata || {},
247
- this.methodDescriptorCreateAndSendDeliveryBatch,
248
- callback);
249
- }
250
- return this.client_.unaryCall(
251
- this.hostname_ +
252
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndSendDeliveryBatch',
253
- request,
254
- metadata || {},
255
- this.methodDescriptorCreateAndSendDeliveryBatch);
256
- }
257
-
258
- methodDescriptorCreateManuallyAddedAgentBill = new grpcWeb.MethodDescriptor(
259
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentBill',
260
- grpcWeb.MethodType.UNARY,
261
- service_pb.CreateManuallyAddedAgentBillRequest,
262
- service_pb.CreateAgentBillsResponse,
263
- (request: service_pb.CreateManuallyAddedAgentBillRequest) => {
264
- return request.serializeBinary();
265
- },
266
- service_pb.CreateAgentBillsResponse.deserializeBinary
267
- );
268
-
269
- createManuallyAddedAgentBill(
270
- request: service_pb.CreateManuallyAddedAgentBillRequest,
271
- metadata: grpcWeb.Metadata | null): Promise<service_pb.CreateAgentBillsResponse>;
272
-
273
- createManuallyAddedAgentBill(
274
- request: service_pb.CreateManuallyAddedAgentBillRequest,
275
- metadata: grpcWeb.Metadata | null,
276
- callback: (err: grpcWeb.RpcError,
277
- response: service_pb.CreateAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.CreateAgentBillsResponse>;
278
-
279
- createManuallyAddedAgentBill(
280
- request: service_pb.CreateManuallyAddedAgentBillRequest,
281
- metadata: grpcWeb.Metadata | null,
282
- callback?: (err: grpcWeb.RpcError,
283
- response: service_pb.CreateAgentBillsResponse) => void) {
284
- if (callback !== undefined) {
285
- return this.client_.rpcCall(
286
- this.hostname_ +
287
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentBill',
288
- request,
289
- metadata || {},
290
- this.methodDescriptorCreateManuallyAddedAgentBill,
291
- callback);
292
- }
293
- return this.client_.unaryCall(
294
- this.hostname_ +
295
- '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentBill',
296
- request,
297
- metadata || {},
298
- this.methodDescriptorCreateManuallyAddedAgentBill);
299
- }
300
-
301
- methodDescriptorDeclineAgentInvitation = new grpcWeb.MethodDescriptor(
302
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeclineAgentInvitation',
303
- grpcWeb.MethodType.UNARY,
304
- service_pb.DeclineAgentInvitationRequest,
305
- service_pb.ResponseCode,
306
- (request: service_pb.DeclineAgentInvitationRequest) => {
307
- return request.serializeBinary();
308
- },
309
- service_pb.ResponseCode.deserializeBinary
310
- );
311
-
312
- declineAgentInvitation(
313
- request: service_pb.DeclineAgentInvitationRequest,
314
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
315
-
316
- declineAgentInvitation(
317
- request: service_pb.DeclineAgentInvitationRequest,
318
- metadata: grpcWeb.Metadata | null,
319
- callback: (err: grpcWeb.RpcError,
320
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
321
-
322
- declineAgentInvitation(
323
- request: service_pb.DeclineAgentInvitationRequest,
324
- metadata: grpcWeb.Metadata | null,
325
- callback?: (err: grpcWeb.RpcError,
326
- response: service_pb.ResponseCode) => void) {
327
- if (callback !== undefined) {
328
- return this.client_.rpcCall(
329
- this.hostname_ +
330
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeclineAgentInvitation',
331
- request,
332
- metadata || {},
333
- this.methodDescriptorDeclineAgentInvitation,
334
- callback);
335
- }
336
- return this.client_.unaryCall(
337
- this.hostname_ +
338
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeclineAgentInvitation',
339
- request,
340
- metadata || {},
341
- this.methodDescriptorDeclineAgentInvitation);
342
- }
343
-
344
- methodDescriptorDeleteAgentBillsByAgentBillIds = new grpcWeb.MethodDescriptor(
345
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByAgentBillIds',
346
- grpcWeb.MethodType.UNARY,
347
- service_pb.DeleteAgentBillsByAgentBillIdsRequest,
348
- service_pb.DeleteAgentBillsResponse,
349
- (request: service_pb.DeleteAgentBillsByAgentBillIdsRequest) => {
350
- return request.serializeBinary();
351
- },
352
- service_pb.DeleteAgentBillsResponse.deserializeBinary
353
- );
354
-
355
- deleteAgentBillsByAgentBillIds(
356
- request: service_pb.DeleteAgentBillsByAgentBillIdsRequest,
357
- metadata: grpcWeb.Metadata | null): Promise<service_pb.DeleteAgentBillsResponse>;
358
-
359
- deleteAgentBillsByAgentBillIds(
360
- request: service_pb.DeleteAgentBillsByAgentBillIdsRequest,
361
- metadata: grpcWeb.Metadata | null,
362
- callback: (err: grpcWeb.RpcError,
363
- response: service_pb.DeleteAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.DeleteAgentBillsResponse>;
364
-
365
- deleteAgentBillsByAgentBillIds(
366
- request: service_pb.DeleteAgentBillsByAgentBillIdsRequest,
367
- metadata: grpcWeb.Metadata | null,
368
- callback?: (err: grpcWeb.RpcError,
369
- response: service_pb.DeleteAgentBillsResponse) => void) {
370
- if (callback !== undefined) {
371
- return this.client_.rpcCall(
372
- this.hostname_ +
373
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByAgentBillIds',
374
- request,
375
- metadata || {},
376
- this.methodDescriptorDeleteAgentBillsByAgentBillIds,
377
- callback);
378
- }
379
- return this.client_.unaryCall(
380
- this.hostname_ +
381
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByAgentBillIds',
382
- request,
383
- metadata || {},
384
- this.methodDescriptorDeleteAgentBillsByAgentBillIds);
385
- }
386
-
387
- methodDescriptorDeleteAgentBillsByUploadBatchId = new grpcWeb.MethodDescriptor(
388
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByUploadBatchId',
389
- grpcWeb.MethodType.UNARY,
390
- service_pb.DeleteAgentBillsByUploadBatchIdRequest,
391
- service_pb.DeleteAgentBillsResponse,
392
- (request: service_pb.DeleteAgentBillsByUploadBatchIdRequest) => {
393
- return request.serializeBinary();
394
- },
395
- service_pb.DeleteAgentBillsResponse.deserializeBinary
396
- );
397
-
398
- deleteAgentBillsByUploadBatchId(
399
- request: service_pb.DeleteAgentBillsByUploadBatchIdRequest,
400
- metadata: grpcWeb.Metadata | null): Promise<service_pb.DeleteAgentBillsResponse>;
401
-
402
- deleteAgentBillsByUploadBatchId(
403
- request: service_pb.DeleteAgentBillsByUploadBatchIdRequest,
404
- metadata: grpcWeb.Metadata | null,
405
- callback: (err: grpcWeb.RpcError,
406
- response: service_pb.DeleteAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.DeleteAgentBillsResponse>;
407
-
408
- deleteAgentBillsByUploadBatchId(
409
- request: service_pb.DeleteAgentBillsByUploadBatchIdRequest,
410
- metadata: grpcWeb.Metadata | null,
411
- callback?: (err: grpcWeb.RpcError,
412
- response: service_pb.DeleteAgentBillsResponse) => void) {
413
- if (callback !== undefined) {
414
- return this.client_.rpcCall(
415
- this.hostname_ +
416
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByUploadBatchId',
417
- request,
418
- metadata || {},
419
- this.methodDescriptorDeleteAgentBillsByUploadBatchId,
420
- callback);
421
- }
422
- return this.client_.unaryCall(
423
- this.hostname_ +
424
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByUploadBatchId',
425
- request,
426
- metadata || {},
427
- this.methodDescriptorDeleteAgentBillsByUploadBatchId);
428
- }
429
-
430
- methodDescriptorDeleteDeliveryBatchAsClient = new grpcWeb.MethodDescriptor(
431
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteDeliveryBatchAsClient',
432
- grpcWeb.MethodType.UNARY,
433
- service_pb.DeleteDeliveryBatchAsClientRequest,
434
- service_pb.ResponseCode,
435
- (request: service_pb.DeleteDeliveryBatchAsClientRequest) => {
436
- return request.serializeBinary();
437
- },
438
- service_pb.ResponseCode.deserializeBinary
439
- );
440
-
441
- deleteDeliveryBatchAsClient(
442
- request: service_pb.DeleteDeliveryBatchAsClientRequest,
443
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
444
-
445
- deleteDeliveryBatchAsClient(
446
- request: service_pb.DeleteDeliveryBatchAsClientRequest,
447
- metadata: grpcWeb.Metadata | null,
448
- callback: (err: grpcWeb.RpcError,
449
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
450
-
451
- deleteDeliveryBatchAsClient(
452
- request: service_pb.DeleteDeliveryBatchAsClientRequest,
453
- metadata: grpcWeb.Metadata | null,
454
- callback?: (err: grpcWeb.RpcError,
455
- response: service_pb.ResponseCode) => void) {
456
- if (callback !== undefined) {
457
- return this.client_.rpcCall(
458
- this.hostname_ +
459
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteDeliveryBatchAsClient',
460
- request,
461
- metadata || {},
462
- this.methodDescriptorDeleteDeliveryBatchAsClient,
463
- callback);
464
- }
465
- return this.client_.unaryCall(
466
- this.hostname_ +
467
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteDeliveryBatchAsClient',
468
- request,
469
- metadata || {},
470
- this.methodDescriptorDeleteDeliveryBatchAsClient);
471
- }
472
-
473
- methodDescriptorDisconnectAgent = new grpcWeb.MethodDescriptor(
474
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectAgent',
475
- grpcWeb.MethodType.UNARY,
476
- service_pb.DisconnectAgentRequest,
477
- service_pb.ResponseCode,
478
- (request: service_pb.DisconnectAgentRequest) => {
479
- return request.serializeBinary();
480
- },
481
- service_pb.ResponseCode.deserializeBinary
482
- );
483
-
484
- disconnectAgent(
485
- request: service_pb.DisconnectAgentRequest,
486
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
487
-
488
- disconnectAgent(
489
- request: service_pb.DisconnectAgentRequest,
490
- metadata: grpcWeb.Metadata | null,
491
- callback: (err: grpcWeb.RpcError,
492
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
493
-
494
- disconnectAgent(
495
- request: service_pb.DisconnectAgentRequest,
496
- metadata: grpcWeb.Metadata | null,
497
- callback?: (err: grpcWeb.RpcError,
498
- response: service_pb.ResponseCode) => void) {
499
- if (callback !== undefined) {
500
- return this.client_.rpcCall(
501
- this.hostname_ +
502
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectAgent',
503
- request,
504
- metadata || {},
505
- this.methodDescriptorDisconnectAgent,
506
- callback);
507
- }
508
- return this.client_.unaryCall(
509
- this.hostname_ +
510
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectAgent',
511
- request,
512
- metadata || {},
513
- this.methodDescriptorDisconnectAgent);
514
- }
515
-
516
- methodDescriptorDisconnectClient = new grpcWeb.MethodDescriptor(
517
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectClient',
518
- grpcWeb.MethodType.UNARY,
519
- service_pb.DisconnectClientRequest,
520
- service_pb.ResponseCode,
521
- (request: service_pb.DisconnectClientRequest) => {
522
- return request.serializeBinary();
523
- },
524
- service_pb.ResponseCode.deserializeBinary
525
- );
526
-
527
- disconnectClient(
528
- request: service_pb.DisconnectClientRequest,
529
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
530
-
531
- disconnectClient(
532
- request: service_pb.DisconnectClientRequest,
533
- metadata: grpcWeb.Metadata | null,
534
- callback: (err: grpcWeb.RpcError,
535
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
536
-
537
- disconnectClient(
538
- request: service_pb.DisconnectClientRequest,
539
- metadata: grpcWeb.Metadata | null,
540
- callback?: (err: grpcWeb.RpcError,
541
- response: service_pb.ResponseCode) => void) {
542
- if (callback !== undefined) {
543
- return this.client_.rpcCall(
544
- this.hostname_ +
545
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectClient',
546
- request,
547
- metadata || {},
548
- this.methodDescriptorDisconnectClient,
549
- callback);
550
- }
551
- return this.client_.unaryCall(
552
- this.hostname_ +
553
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectClient',
554
- request,
555
- metadata || {},
556
- this.methodDescriptorDisconnectClient);
557
- }
558
-
559
- methodDescriptorGetAgentBillCategoryCounts = new grpcWeb.MethodDescriptor(
560
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillCategoryCounts',
561
- grpcWeb.MethodType.UNARY,
562
- service_pb.GetAgentBillCategoryCountsRequest,
563
- service_pb.GetAgentBillCategoryCountsResponse,
564
- (request: service_pb.GetAgentBillCategoryCountsRequest) => {
565
- return request.serializeBinary();
566
- },
567
- service_pb.GetAgentBillCategoryCountsResponse.deserializeBinary
568
- );
569
-
570
- getAgentBillCategoryCounts(
571
- request: service_pb.GetAgentBillCategoryCountsRequest,
572
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillCategoryCountsResponse>;
573
-
574
- getAgentBillCategoryCounts(
575
- request: service_pb.GetAgentBillCategoryCountsRequest,
576
- metadata: grpcWeb.Metadata | null,
577
- callback: (err: grpcWeb.RpcError,
578
- response: service_pb.GetAgentBillCategoryCountsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillCategoryCountsResponse>;
579
-
580
- getAgentBillCategoryCounts(
581
- request: service_pb.GetAgentBillCategoryCountsRequest,
582
- metadata: grpcWeb.Metadata | null,
583
- callback?: (err: grpcWeb.RpcError,
584
- response: service_pb.GetAgentBillCategoryCountsResponse) => void) {
585
- if (callback !== undefined) {
586
- return this.client_.rpcCall(
587
- this.hostname_ +
588
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillCategoryCounts',
589
- request,
590
- metadata || {},
591
- this.methodDescriptorGetAgentBillCategoryCounts,
592
- callback);
593
- }
594
- return this.client_.unaryCall(
595
- this.hostname_ +
596
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillCategoryCounts',
597
- request,
598
- metadata || {},
599
- this.methodDescriptorGetAgentBillCategoryCounts);
600
- }
601
-
602
- methodDescriptorGetAgentBillDeliveryDetailsByBillId = new grpcWeb.MethodDescriptor(
603
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
604
- grpcWeb.MethodType.UNARY,
605
- service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
606
- service_pb.GetAgentBillDeliveryDetailsByBillIdResponse,
607
- (request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest) => {
608
- return request.serializeBinary();
609
- },
610
- service_pb.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinary
611
- );
612
-
613
- getAgentBillDeliveryDetailsByBillId(
614
- request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
615
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillDeliveryDetailsByBillIdResponse>;
616
-
617
- getAgentBillDeliveryDetailsByBillId(
618
- request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
619
- metadata: grpcWeb.Metadata | null,
620
- callback: (err: grpcWeb.RpcError,
621
- response: service_pb.GetAgentBillDeliveryDetailsByBillIdResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillDeliveryDetailsByBillIdResponse>;
622
-
623
- getAgentBillDeliveryDetailsByBillId(
624
- request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
625
- metadata: grpcWeb.Metadata | null,
626
- callback?: (err: grpcWeb.RpcError,
627
- response: service_pb.GetAgentBillDeliveryDetailsByBillIdResponse) => void) {
628
- if (callback !== undefined) {
629
- return this.client_.rpcCall(
630
- this.hostname_ +
631
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
632
- request,
633
- metadata || {},
634
- this.methodDescriptorGetAgentBillDeliveryDetailsByBillId,
635
- callback);
636
- }
637
- return this.client_.unaryCall(
638
- this.hostname_ +
639
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
640
- request,
641
- metadata || {},
642
- this.methodDescriptorGetAgentBillDeliveryDetailsByBillId);
643
- }
644
-
645
- methodDescriptorGetAgentBillsForClient = new grpcWeb.MethodDescriptor(
646
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
647
- grpcWeb.MethodType.UNARY,
648
- service_pb.GetAgentBillsForClientRequest,
649
- service_pb.GetAgentBillsResponse,
650
- (request: service_pb.GetAgentBillsForClientRequest) => {
651
- return request.serializeBinary();
652
- },
653
- service_pb.GetAgentBillsResponse.deserializeBinary
654
- );
655
-
656
- getAgentBillsForClient(
657
- request: service_pb.GetAgentBillsForClientRequest,
658
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillsResponse>;
659
-
660
- getAgentBillsForClient(
661
- request: service_pb.GetAgentBillsForClientRequest,
662
- metadata: grpcWeb.Metadata | null,
663
- callback: (err: grpcWeb.RpcError,
664
- response: service_pb.GetAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillsResponse>;
665
-
666
- getAgentBillsForClient(
667
- request: service_pb.GetAgentBillsForClientRequest,
668
- metadata: grpcWeb.Metadata | null,
669
- callback?: (err: grpcWeb.RpcError,
670
- response: service_pb.GetAgentBillsResponse) => void) {
671
- if (callback !== undefined) {
672
- return this.client_.rpcCall(
673
- this.hostname_ +
674
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
675
- request,
676
- metadata || {},
677
- this.methodDescriptorGetAgentBillsForClient,
678
- callback);
679
- }
680
- return this.client_.unaryCall(
681
- this.hostname_ +
682
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
683
- request,
684
- metadata || {},
685
- this.methodDescriptorGetAgentBillsForClient);
686
- }
687
-
688
- methodDescriptorGetAgentConnectionCategoryCounts = new grpcWeb.MethodDescriptor(
689
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
690
- grpcWeb.MethodType.UNARY,
691
- google_protobuf_empty_pb.Empty,
692
- service_pb.GetAgentConnectionCategoryCountsResponse,
693
- (request: google_protobuf_empty_pb.Empty) => {
694
- return request.serializeBinary();
695
- },
696
- service_pb.GetAgentConnectionCategoryCountsResponse.deserializeBinary
697
- );
698
-
699
- getAgentConnectionCategoryCounts(
700
- request: google_protobuf_empty_pb.Empty,
701
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentConnectionCategoryCountsResponse>;
702
-
703
- getAgentConnectionCategoryCounts(
704
- request: google_protobuf_empty_pb.Empty,
705
- metadata: grpcWeb.Metadata | null,
706
- callback: (err: grpcWeb.RpcError,
707
- response: service_pb.GetAgentConnectionCategoryCountsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentConnectionCategoryCountsResponse>;
708
-
709
- getAgentConnectionCategoryCounts(
710
- request: google_protobuf_empty_pb.Empty,
711
- metadata: grpcWeb.Metadata | null,
712
- callback?: (err: grpcWeb.RpcError,
713
- response: service_pb.GetAgentConnectionCategoryCountsResponse) => void) {
714
- if (callback !== undefined) {
715
- return this.client_.rpcCall(
716
- this.hostname_ +
717
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
718
- request,
719
- metadata || {},
720
- this.methodDescriptorGetAgentConnectionCategoryCounts,
721
- callback);
722
- }
723
- return this.client_.unaryCall(
724
- this.hostname_ +
725
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
726
- request,
727
- metadata || {},
728
- this.methodDescriptorGetAgentConnectionCategoryCounts);
729
- }
730
-
731
- methodDescriptorGetAssociatedAgent = new grpcWeb.MethodDescriptor(
732
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgent',
733
- grpcWeb.MethodType.UNARY,
734
- service_pb.GetAssociatedAgentRequest,
735
- service_pb.GetAssociatedAgentResponse,
736
- (request: service_pb.GetAssociatedAgentRequest) => {
737
- return request.serializeBinary();
738
- },
739
- service_pb.GetAssociatedAgentResponse.deserializeBinary
740
- );
741
-
742
- getAssociatedAgent(
743
- request: service_pb.GetAssociatedAgentRequest,
744
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedAgentResponse>;
745
-
746
- getAssociatedAgent(
747
- request: service_pb.GetAssociatedAgentRequest,
748
- metadata: grpcWeb.Metadata | null,
749
- callback: (err: grpcWeb.RpcError,
750
- response: service_pb.GetAssociatedAgentResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedAgentResponse>;
751
-
752
- getAssociatedAgent(
753
- request: service_pb.GetAssociatedAgentRequest,
754
- metadata: grpcWeb.Metadata | null,
755
- callback?: (err: grpcWeb.RpcError,
756
- response: service_pb.GetAssociatedAgentResponse) => void) {
757
- if (callback !== undefined) {
758
- return this.client_.rpcCall(
759
- this.hostname_ +
760
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgent',
761
- request,
762
- metadata || {},
763
- this.methodDescriptorGetAssociatedAgent,
764
- callback);
765
- }
766
- return this.client_.unaryCall(
767
- this.hostname_ +
768
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgent',
769
- request,
770
- metadata || {},
771
- this.methodDescriptorGetAssociatedAgent);
772
- }
773
-
774
- methodDescriptorGetAssociatedAgents = new grpcWeb.MethodDescriptor(
775
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgents',
776
- grpcWeb.MethodType.UNARY,
777
- service_pb.GetAssociatedAgentsRequest,
778
- service_pb.GetAssociatedAgentsResponse,
779
- (request: service_pb.GetAssociatedAgentsRequest) => {
780
- return request.serializeBinary();
781
- },
782
- service_pb.GetAssociatedAgentsResponse.deserializeBinary
783
- );
784
-
785
- getAssociatedAgents(
786
- request: service_pb.GetAssociatedAgentsRequest,
787
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedAgentsResponse>;
788
-
789
- getAssociatedAgents(
790
- request: service_pb.GetAssociatedAgentsRequest,
791
- metadata: grpcWeb.Metadata | null,
792
- callback: (err: grpcWeb.RpcError,
793
- response: service_pb.GetAssociatedAgentsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedAgentsResponse>;
794
-
795
- getAssociatedAgents(
796
- request: service_pb.GetAssociatedAgentsRequest,
797
- metadata: grpcWeb.Metadata | null,
798
- callback?: (err: grpcWeb.RpcError,
799
- response: service_pb.GetAssociatedAgentsResponse) => void) {
800
- if (callback !== undefined) {
801
- return this.client_.rpcCall(
802
- this.hostname_ +
803
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgents',
804
- request,
805
- metadata || {},
806
- this.methodDescriptorGetAssociatedAgents,
807
- callback);
808
- }
809
- return this.client_.unaryCall(
810
- this.hostname_ +
811
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgents',
812
- request,
813
- metadata || {},
814
- this.methodDescriptorGetAssociatedAgents);
815
- }
816
-
817
- methodDescriptorGetAssociatedClient = new grpcWeb.MethodDescriptor(
818
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClient',
819
- grpcWeb.MethodType.UNARY,
820
- service_pb.GetAssociatedClientRequest,
821
- service_pb.GetAssociatedClientResponse,
822
- (request: service_pb.GetAssociatedClientRequest) => {
823
- return request.serializeBinary();
824
- },
825
- service_pb.GetAssociatedClientResponse.deserializeBinary
826
- );
827
-
828
- getAssociatedClient(
829
- request: service_pb.GetAssociatedClientRequest,
830
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientResponse>;
831
-
832
- getAssociatedClient(
833
- request: service_pb.GetAssociatedClientRequest,
834
- metadata: grpcWeb.Metadata | null,
835
- callback: (err: grpcWeb.RpcError,
836
- response: service_pb.GetAssociatedClientResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientResponse>;
837
-
838
- getAssociatedClient(
839
- request: service_pb.GetAssociatedClientRequest,
840
- metadata: grpcWeb.Metadata | null,
841
- callback?: (err: grpcWeb.RpcError,
842
- response: service_pb.GetAssociatedClientResponse) => void) {
843
- if (callback !== undefined) {
844
- return this.client_.rpcCall(
845
- this.hostname_ +
846
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClient',
847
- request,
848
- metadata || {},
849
- this.methodDescriptorGetAssociatedClient,
850
- callback);
851
- }
852
- return this.client_.unaryCall(
853
- this.hostname_ +
854
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClient',
855
- request,
856
- metadata || {},
857
- this.methodDescriptorGetAssociatedClient);
858
- }
859
-
860
- methodDescriptorGetAssociatedClients = new grpcWeb.MethodDescriptor(
861
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClients',
862
- grpcWeb.MethodType.UNARY,
863
- service_pb.GetAssociatedClientsRequest,
864
- service_pb.GetAssociatedClientsResponse,
865
- (request: service_pb.GetAssociatedClientsRequest) => {
866
- return request.serializeBinary();
867
- },
868
- service_pb.GetAssociatedClientsResponse.deserializeBinary
869
- );
870
-
871
- getAssociatedClients(
872
- request: service_pb.GetAssociatedClientsRequest,
873
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
874
-
875
- getAssociatedClients(
876
- request: service_pb.GetAssociatedClientsRequest,
877
- metadata: grpcWeb.Metadata | null,
878
- callback: (err: grpcWeb.RpcError,
879
- response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
880
-
881
- getAssociatedClients(
882
- request: service_pb.GetAssociatedClientsRequest,
883
- metadata: grpcWeb.Metadata | null,
884
- callback?: (err: grpcWeb.RpcError,
885
- response: service_pb.GetAssociatedClientsResponse) => void) {
886
- if (callback !== undefined) {
887
- return this.client_.rpcCall(
888
- this.hostname_ +
889
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClients',
890
- request,
891
- metadata || {},
892
- this.methodDescriptorGetAssociatedClients,
893
- callback);
894
- }
895
- return this.client_.unaryCall(
896
- this.hostname_ +
897
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedClients',
898
- request,
899
- metadata || {},
900
- this.methodDescriptorGetAssociatedClients);
901
- }
902
-
903
- methodDescriptorGetConnectedClients = new grpcWeb.MethodDescriptor(
904
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetConnectedClients',
905
- grpcWeb.MethodType.UNARY,
906
- service_pb.GetConnectedClientsRequest,
907
- service_pb.GetAssociatedClientsResponse,
908
- (request: service_pb.GetConnectedClientsRequest) => {
909
- return request.serializeBinary();
910
- },
911
- service_pb.GetAssociatedClientsResponse.deserializeBinary
912
- );
913
-
914
- getConnectedClients(
915
- request: service_pb.GetConnectedClientsRequest,
916
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
917
-
918
- getConnectedClients(
919
- request: service_pb.GetConnectedClientsRequest,
920
- metadata: grpcWeb.Metadata | null,
921
- callback: (err: grpcWeb.RpcError,
922
- response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
923
-
924
- getConnectedClients(
925
- request: service_pb.GetConnectedClientsRequest,
926
- metadata: grpcWeb.Metadata | null,
927
- callback?: (err: grpcWeb.RpcError,
928
- response: service_pb.GetAssociatedClientsResponse) => void) {
929
- if (callback !== undefined) {
930
- return this.client_.rpcCall(
931
- this.hostname_ +
932
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetConnectedClients',
933
- request,
934
- metadata || {},
935
- this.methodDescriptorGetConnectedClients,
936
- callback);
937
- }
938
- return this.client_.unaryCall(
939
- this.hostname_ +
940
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetConnectedClients',
941
- request,
942
- metadata || {},
943
- this.methodDescriptorGetConnectedClients);
944
- }
945
-
946
- methodDescriptorGetDeliveryBatchContentsToPay = new grpcWeb.MethodDescriptor(
947
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPay',
948
- grpcWeb.MethodType.UNARY,
949
- service_pb.GetDeliveryBatchContentsToPayRequest,
950
- service_pb.GetDeliveryBatchContentsResponse,
951
- (request: service_pb.GetDeliveryBatchContentsToPayRequest) => {
952
- return request.serializeBinary();
953
- },
954
- service_pb.GetDeliveryBatchContentsResponse.deserializeBinary
955
- );
956
-
957
- getDeliveryBatchContentsToPay(
958
- request: service_pb.GetDeliveryBatchContentsToPayRequest,
959
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetDeliveryBatchContentsResponse>;
960
-
961
- getDeliveryBatchContentsToPay(
962
- request: service_pb.GetDeliveryBatchContentsToPayRequest,
963
- metadata: grpcWeb.Metadata | null,
964
- callback: (err: grpcWeb.RpcError,
965
- response: service_pb.GetDeliveryBatchContentsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetDeliveryBatchContentsResponse>;
966
-
967
- getDeliveryBatchContentsToPay(
968
- request: service_pb.GetDeliveryBatchContentsToPayRequest,
969
- metadata: grpcWeb.Metadata | null,
970
- callback?: (err: grpcWeb.RpcError,
971
- response: service_pb.GetDeliveryBatchContentsResponse) => void) {
972
- if (callback !== undefined) {
973
- return this.client_.rpcCall(
974
- this.hostname_ +
975
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPay',
976
- request,
977
- metadata || {},
978
- this.methodDescriptorGetDeliveryBatchContentsToPay,
979
- callback);
980
- }
981
- return this.client_.unaryCall(
982
- this.hostname_ +
983
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPay',
984
- request,
985
- metadata || {},
986
- this.methodDescriptorGetDeliveryBatchContentsToPay);
987
- }
988
-
989
- methodDescriptorGetDeliveryBatchContentsToPayOfClient = new grpcWeb.MethodDescriptor(
990
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPayOfClient',
991
- grpcWeb.MethodType.UNARY,
992
- service_pb.GetDeliveryBatchContentsToPayOfClientRequest,
993
- service_pb.GetAgentBillsResponse,
994
- (request: service_pb.GetDeliveryBatchContentsToPayOfClientRequest) => {
995
- return request.serializeBinary();
996
- },
997
- service_pb.GetAgentBillsResponse.deserializeBinary
998
- );
999
-
1000
- getDeliveryBatchContentsToPayOfClient(
1001
- request: service_pb.GetDeliveryBatchContentsToPayOfClientRequest,
1002
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillsResponse>;
1003
-
1004
- getDeliveryBatchContentsToPayOfClient(
1005
- request: service_pb.GetDeliveryBatchContentsToPayOfClientRequest,
1006
- metadata: grpcWeb.Metadata | null,
1007
- callback: (err: grpcWeb.RpcError,
1008
- response: service_pb.GetAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillsResponse>;
1009
-
1010
- getDeliveryBatchContentsToPayOfClient(
1011
- request: service_pb.GetDeliveryBatchContentsToPayOfClientRequest,
1012
- metadata: grpcWeb.Metadata | null,
1013
- callback?: (err: grpcWeb.RpcError,
1014
- response: service_pb.GetAgentBillsResponse) => void) {
1015
- if (callback !== undefined) {
1016
- return this.client_.rpcCall(
1017
- this.hostname_ +
1018
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPayOfClient',
1019
- request,
1020
- metadata || {},
1021
- this.methodDescriptorGetDeliveryBatchContentsToPayOfClient,
1022
- callback);
1023
- }
1024
- return this.client_.unaryCall(
1025
- this.hostname_ +
1026
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPayOfClient',
1027
- request,
1028
- metadata || {},
1029
- this.methodDescriptorGetDeliveryBatchContentsToPayOfClient);
1030
- }
1031
-
1032
- methodDescriptorGetDeliveryBatchesToPay = new grpcWeb.MethodDescriptor(
1033
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPay',
1034
- grpcWeb.MethodType.UNARY,
1035
- service_pb.GetDeliveryBatchesToPayRequest,
1036
- service_pb.GetDeliveryBatchesResponse,
1037
- (request: service_pb.GetDeliveryBatchesToPayRequest) => {
1038
- return request.serializeBinary();
1039
- },
1040
- service_pb.GetDeliveryBatchesResponse.deserializeBinary
1041
- );
1042
-
1043
- getDeliveryBatchesToPay(
1044
- request: service_pb.GetDeliveryBatchesToPayRequest,
1045
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetDeliveryBatchesResponse>;
1046
-
1047
- getDeliveryBatchesToPay(
1048
- request: service_pb.GetDeliveryBatchesToPayRequest,
1049
- metadata: grpcWeb.Metadata | null,
1050
- callback: (err: grpcWeb.RpcError,
1051
- response: service_pb.GetDeliveryBatchesResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetDeliveryBatchesResponse>;
1052
-
1053
- getDeliveryBatchesToPay(
1054
- request: service_pb.GetDeliveryBatchesToPayRequest,
1055
- metadata: grpcWeb.Metadata | null,
1056
- callback?: (err: grpcWeb.RpcError,
1057
- response: service_pb.GetDeliveryBatchesResponse) => void) {
1058
- if (callback !== undefined) {
1059
- return this.client_.rpcCall(
1060
- this.hostname_ +
1061
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPay',
1062
- request,
1063
- metadata || {},
1064
- this.methodDescriptorGetDeliveryBatchesToPay,
1065
- callback);
1066
- }
1067
- return this.client_.unaryCall(
1068
- this.hostname_ +
1069
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPay',
1070
- request,
1071
- metadata || {},
1072
- this.methodDescriptorGetDeliveryBatchesToPay);
1073
- }
1074
-
1075
- methodDescriptorGetDeliveryBatchesToPayCount = new grpcWeb.MethodDescriptor(
1076
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayCount',
1077
- grpcWeb.MethodType.UNARY,
1078
- service_pb.GetDeliveryBatchesToPayCountRequest,
1079
- service_pb.GetDeliveryBatchesToPayCountResponse,
1080
- (request: service_pb.GetDeliveryBatchesToPayCountRequest) => {
1081
- return request.serializeBinary();
1082
- },
1083
- service_pb.GetDeliveryBatchesToPayCountResponse.deserializeBinary
1084
- );
1085
-
1086
- getDeliveryBatchesToPayCount(
1087
- request: service_pb.GetDeliveryBatchesToPayCountRequest,
1088
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetDeliveryBatchesToPayCountResponse>;
1089
-
1090
- getDeliveryBatchesToPayCount(
1091
- request: service_pb.GetDeliveryBatchesToPayCountRequest,
1092
- metadata: grpcWeb.Metadata | null,
1093
- callback: (err: grpcWeb.RpcError,
1094
- response: service_pb.GetDeliveryBatchesToPayCountResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetDeliveryBatchesToPayCountResponse>;
1095
-
1096
- getDeliveryBatchesToPayCount(
1097
- request: service_pb.GetDeliveryBatchesToPayCountRequest,
1098
- metadata: grpcWeb.Metadata | null,
1099
- callback?: (err: grpcWeb.RpcError,
1100
- response: service_pb.GetDeliveryBatchesToPayCountResponse) => void) {
1101
- if (callback !== undefined) {
1102
- return this.client_.rpcCall(
1103
- this.hostname_ +
1104
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayCount',
1105
- request,
1106
- metadata || {},
1107
- this.methodDescriptorGetDeliveryBatchesToPayCount,
1108
- callback);
1109
- }
1110
- return this.client_.unaryCall(
1111
- this.hostname_ +
1112
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayCount',
1113
- request,
1114
- metadata || {},
1115
- this.methodDescriptorGetDeliveryBatchesToPayCount);
1116
- }
1117
-
1118
- methodDescriptorGetDeliveryBatchesToPayOfClient = new grpcWeb.MethodDescriptor(
1119
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayOfClient',
1120
- grpcWeb.MethodType.UNARY,
1121
- service_pb.GetDeliveryBatchesToPayOfClientRequest,
1122
- service_pb.GetDeliveryBatchesResponse,
1123
- (request: service_pb.GetDeliveryBatchesToPayOfClientRequest) => {
1124
- return request.serializeBinary();
1125
- },
1126
- service_pb.GetDeliveryBatchesResponse.deserializeBinary
1127
- );
1128
-
1129
- getDeliveryBatchesToPayOfClient(
1130
- request: service_pb.GetDeliveryBatchesToPayOfClientRequest,
1131
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetDeliveryBatchesResponse>;
1132
-
1133
- getDeliveryBatchesToPayOfClient(
1134
- request: service_pb.GetDeliveryBatchesToPayOfClientRequest,
1135
- metadata: grpcWeb.Metadata | null,
1136
- callback: (err: grpcWeb.RpcError,
1137
- response: service_pb.GetDeliveryBatchesResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetDeliveryBatchesResponse>;
1138
-
1139
- getDeliveryBatchesToPayOfClient(
1140
- request: service_pb.GetDeliveryBatchesToPayOfClientRequest,
1141
- metadata: grpcWeb.Metadata | null,
1142
- callback?: (err: grpcWeb.RpcError,
1143
- response: service_pb.GetDeliveryBatchesResponse) => void) {
1144
- if (callback !== undefined) {
1145
- return this.client_.rpcCall(
1146
- this.hostname_ +
1147
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayOfClient',
1148
- request,
1149
- metadata || {},
1150
- this.methodDescriptorGetDeliveryBatchesToPayOfClient,
1151
- callback);
1152
- }
1153
- return this.client_.unaryCall(
1154
- this.hostname_ +
1155
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayOfClient',
1156
- request,
1157
- metadata || {},
1158
- this.methodDescriptorGetDeliveryBatchesToPayOfClient);
1159
- }
1160
-
1161
- methodDescriptorGetDisconnectedClients = new grpcWeb.MethodDescriptor(
1162
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDisconnectedClients',
1163
- grpcWeb.MethodType.UNARY,
1164
- service_pb.GetDisconnectedClientsRequest,
1165
- service_pb.GetAssociatedClientsResponse,
1166
- (request: service_pb.GetDisconnectedClientsRequest) => {
1167
- return request.serializeBinary();
1168
- },
1169
- service_pb.GetAssociatedClientsResponse.deserializeBinary
1170
- );
1171
-
1172
- getDisconnectedClients(
1173
- request: service_pb.GetDisconnectedClientsRequest,
1174
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
1175
-
1176
- getDisconnectedClients(
1177
- request: service_pb.GetDisconnectedClientsRequest,
1178
- metadata: grpcWeb.Metadata | null,
1179
- callback: (err: grpcWeb.RpcError,
1180
- response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
1181
-
1182
- getDisconnectedClients(
1183
- request: service_pb.GetDisconnectedClientsRequest,
1184
- metadata: grpcWeb.Metadata | null,
1185
- callback?: (err: grpcWeb.RpcError,
1186
- response: service_pb.GetAssociatedClientsResponse) => void) {
1187
- if (callback !== undefined) {
1188
- return this.client_.rpcCall(
1189
- this.hostname_ +
1190
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDisconnectedClients',
1191
- request,
1192
- metadata || {},
1193
- this.methodDescriptorGetDisconnectedClients,
1194
- callback);
1195
- }
1196
- return this.client_.unaryCall(
1197
- this.hostname_ +
1198
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDisconnectedClients',
1199
- request,
1200
- metadata || {},
1201
- this.methodDescriptorGetDisconnectedClients);
1202
- }
1203
-
1204
- methodDescriptorGetPendingClients = new grpcWeb.MethodDescriptor(
1205
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetPendingClients',
1206
- grpcWeb.MethodType.UNARY,
1207
- service_pb.GetPendingClientsRequest,
1208
- service_pb.GetAssociatedClientsResponse,
1209
- (request: service_pb.GetPendingClientsRequest) => {
1210
- return request.serializeBinary();
1211
- },
1212
- service_pb.GetAssociatedClientsResponse.deserializeBinary
1213
- );
1214
-
1215
- getPendingClients(
1216
- request: service_pb.GetPendingClientsRequest,
1217
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
1218
-
1219
- getPendingClients(
1220
- request: service_pb.GetPendingClientsRequest,
1221
- metadata: grpcWeb.Metadata | null,
1222
- callback: (err: grpcWeb.RpcError,
1223
- response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
1224
-
1225
- getPendingClients(
1226
- request: service_pb.GetPendingClientsRequest,
1227
- metadata: grpcWeb.Metadata | null,
1228
- callback?: (err: grpcWeb.RpcError,
1229
- response: service_pb.GetAssociatedClientsResponse) => void) {
1230
- if (callback !== undefined) {
1231
- return this.client_.rpcCall(
1232
- this.hostname_ +
1233
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetPendingClients',
1234
- request,
1235
- metadata || {},
1236
- this.methodDescriptorGetPendingClients,
1237
- callback);
1238
- }
1239
- return this.client_.unaryCall(
1240
- this.hostname_ +
1241
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetPendingClients',
1242
- request,
1243
- metadata || {},
1244
- this.methodDescriptorGetPendingClients);
1245
- }
1246
-
1247
- methodDescriptorGetUploadBatchContentsInDraft = new grpcWeb.MethodDescriptor(
1248
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
1249
- grpcWeb.MethodType.UNARY,
1250
- service_pb.GetUploadBatchContentsInDraftRequest,
1251
- service_pb.GetAgentBillsResponse,
1252
- (request: service_pb.GetUploadBatchContentsInDraftRequest) => {
1253
- return request.serializeBinary();
1254
- },
1255
- service_pb.GetAgentBillsResponse.deserializeBinary
1256
- );
1257
-
1258
- getUploadBatchContentsInDraft(
1259
- request: service_pb.GetUploadBatchContentsInDraftRequest,
1260
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillsResponse>;
1261
-
1262
- getUploadBatchContentsInDraft(
1263
- request: service_pb.GetUploadBatchContentsInDraftRequest,
1264
- metadata: grpcWeb.Metadata | null,
1265
- callback: (err: grpcWeb.RpcError,
1266
- response: service_pb.GetAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillsResponse>;
1267
-
1268
- getUploadBatchContentsInDraft(
1269
- request: service_pb.GetUploadBatchContentsInDraftRequest,
1270
- metadata: grpcWeb.Metadata | null,
1271
- callback?: (err: grpcWeb.RpcError,
1272
- response: service_pb.GetAgentBillsResponse) => void) {
1273
- if (callback !== undefined) {
1274
- return this.client_.rpcCall(
1275
- this.hostname_ +
1276
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
1277
- request,
1278
- metadata || {},
1279
- this.methodDescriptorGetUploadBatchContentsInDraft,
1280
- callback);
1281
- }
1282
- return this.client_.unaryCall(
1283
- this.hostname_ +
1284
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
1285
- request,
1286
- metadata || {},
1287
- this.methodDescriptorGetUploadBatchContentsInDraft);
1288
- }
1289
-
1290
- methodDescriptorGetUploadBatchesInDraft = new grpcWeb.MethodDescriptor(
1291
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchesInDraft',
1292
- grpcWeb.MethodType.UNARY,
1293
- service_pb.GetUploadBatchesInDraftRequest,
1294
- service_pb.GetUploadBatchesResponse,
1295
- (request: service_pb.GetUploadBatchesInDraftRequest) => {
1296
- return request.serializeBinary();
1297
- },
1298
- service_pb.GetUploadBatchesResponse.deserializeBinary
1299
- );
1300
-
1301
- getUploadBatchesInDraft(
1302
- request: service_pb.GetUploadBatchesInDraftRequest,
1303
- metadata: grpcWeb.Metadata | null): Promise<service_pb.GetUploadBatchesResponse>;
1304
-
1305
- getUploadBatchesInDraft(
1306
- request: service_pb.GetUploadBatchesInDraftRequest,
1307
- metadata: grpcWeb.Metadata | null,
1308
- callback: (err: grpcWeb.RpcError,
1309
- response: service_pb.GetUploadBatchesResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetUploadBatchesResponse>;
1310
-
1311
- getUploadBatchesInDraft(
1312
- request: service_pb.GetUploadBatchesInDraftRequest,
1313
- metadata: grpcWeb.Metadata | null,
1314
- callback?: (err: grpcWeb.RpcError,
1315
- response: service_pb.GetUploadBatchesResponse) => void) {
1316
- if (callback !== undefined) {
1317
- return this.client_.rpcCall(
1318
- this.hostname_ +
1319
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchesInDraft',
1320
- request,
1321
- metadata || {},
1322
- this.methodDescriptorGetUploadBatchesInDraft,
1323
- callback);
1324
- }
1325
- return this.client_.unaryCall(
1326
- this.hostname_ +
1327
- '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchesInDraft',
1328
- request,
1329
- metadata || {},
1330
- this.methodDescriptorGetUploadBatchesInDraft);
1331
- }
1332
-
1333
- methodDescriptorImportCsvAsUploadBatch = new grpcWeb.MethodDescriptor(
1334
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ImportCsvAsUploadBatch',
1335
- grpcWeb.MethodType.UNARY,
1336
- service_pb.ImportCsvAsUploadBatchRequest,
1337
- service_pb.ImportCsvAsUploadBatchResponse,
1338
- (request: service_pb.ImportCsvAsUploadBatchRequest) => {
1339
- return request.serializeBinary();
1340
- },
1341
- service_pb.ImportCsvAsUploadBatchResponse.deserializeBinary
1342
- );
1343
-
1344
- importCsvAsUploadBatch(
1345
- request: service_pb.ImportCsvAsUploadBatchRequest,
1346
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ImportCsvAsUploadBatchResponse>;
1347
-
1348
- importCsvAsUploadBatch(
1349
- request: service_pb.ImportCsvAsUploadBatchRequest,
1350
- metadata: grpcWeb.Metadata | null,
1351
- callback: (err: grpcWeb.RpcError,
1352
- response: service_pb.ImportCsvAsUploadBatchResponse) => void): grpcWeb.ClientReadableStream<service_pb.ImportCsvAsUploadBatchResponse>;
1353
-
1354
- importCsvAsUploadBatch(
1355
- request: service_pb.ImportCsvAsUploadBatchRequest,
1356
- metadata: grpcWeb.Metadata | null,
1357
- callback?: (err: grpcWeb.RpcError,
1358
- response: service_pb.ImportCsvAsUploadBatchResponse) => void) {
1359
- if (callback !== undefined) {
1360
- return this.client_.rpcCall(
1361
- this.hostname_ +
1362
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ImportCsvAsUploadBatch',
1363
- request,
1364
- metadata || {},
1365
- this.methodDescriptorImportCsvAsUploadBatch,
1366
- callback);
1367
- }
1368
- return this.client_.unaryCall(
1369
- this.hostname_ +
1370
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ImportCsvAsUploadBatch',
1371
- request,
1372
- metadata || {},
1373
- this.methodDescriptorImportCsvAsUploadBatch);
1374
- }
1375
-
1376
- methodDescriptorInviteAgent = new grpcWeb.MethodDescriptor(
1377
- '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
1378
- grpcWeb.MethodType.UNARY,
1379
- service_pb.InviteAgentRequest,
1380
- service_pb.ResponseCode,
1381
- (request: service_pb.InviteAgentRequest) => {
1382
- return request.serializeBinary();
1383
- },
1384
- service_pb.ResponseCode.deserializeBinary
1385
- );
1386
-
1387
- inviteAgent(
1388
- request: service_pb.InviteAgentRequest,
1389
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
1390
-
1391
- inviteAgent(
1392
- request: service_pb.InviteAgentRequest,
1393
- metadata: grpcWeb.Metadata | null,
1394
- callback: (err: grpcWeb.RpcError,
1395
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
1396
-
1397
- inviteAgent(
1398
- request: service_pb.InviteAgentRequest,
1399
- metadata: grpcWeb.Metadata | null,
1400
- callback?: (err: grpcWeb.RpcError,
1401
- response: service_pb.ResponseCode) => void) {
1402
- if (callback !== undefined) {
1403
- return this.client_.rpcCall(
1404
- this.hostname_ +
1405
- '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
1406
- request,
1407
- metadata || {},
1408
- this.methodDescriptorInviteAgent,
1409
- callback);
1410
- }
1411
- return this.client_.unaryCall(
1412
- this.hostname_ +
1413
- '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
1414
- request,
1415
- metadata || {},
1416
- this.methodDescriptorInviteAgent);
1417
- }
1418
-
1419
- methodDescriptorProcessAgentBillsByAgentBillIds = new grpcWeb.MethodDescriptor(
1420
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessAgentBillsByAgentBillIds',
1421
- grpcWeb.MethodType.UNARY,
1422
- service_pb.ProcessAgentBillsByAgentBillIdsRequest,
1423
- service_pb.ProcessAgentBillsResponse,
1424
- (request: service_pb.ProcessAgentBillsByAgentBillIdsRequest) => {
1425
- return request.serializeBinary();
1426
- },
1427
- service_pb.ProcessAgentBillsResponse.deserializeBinary
1428
- );
1429
-
1430
- processAgentBillsByAgentBillIds(
1431
- request: service_pb.ProcessAgentBillsByAgentBillIdsRequest,
1432
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ProcessAgentBillsResponse>;
1433
-
1434
- processAgentBillsByAgentBillIds(
1435
- request: service_pb.ProcessAgentBillsByAgentBillIdsRequest,
1436
- metadata: grpcWeb.Metadata | null,
1437
- callback: (err: grpcWeb.RpcError,
1438
- response: service_pb.ProcessAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ProcessAgentBillsResponse>;
1439
-
1440
- processAgentBillsByAgentBillIds(
1441
- request: service_pb.ProcessAgentBillsByAgentBillIdsRequest,
1442
- metadata: grpcWeb.Metadata | null,
1443
- callback?: (err: grpcWeb.RpcError,
1444
- response: service_pb.ProcessAgentBillsResponse) => void) {
1445
- if (callback !== undefined) {
1446
- return this.client_.rpcCall(
1447
- this.hostname_ +
1448
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessAgentBillsByAgentBillIds',
1449
- request,
1450
- metadata || {},
1451
- this.methodDescriptorProcessAgentBillsByAgentBillIds,
1452
- callback);
1453
- }
1454
- return this.client_.unaryCall(
1455
- this.hostname_ +
1456
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessAgentBillsByAgentBillIds',
1457
- request,
1458
- metadata || {},
1459
- this.methodDescriptorProcessAgentBillsByAgentBillIds);
1460
- }
1461
-
1462
- methodDescriptorProcessAgentBillsByUploadBatchId = new grpcWeb.MethodDescriptor(
1463
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessAgentBillsByUploadBatchId',
1464
- grpcWeb.MethodType.UNARY,
1465
- service_pb.ProcessAgentBillsByUploadBatchIdRequest,
1466
- service_pb.ProcessAgentBillsResponse,
1467
- (request: service_pb.ProcessAgentBillsByUploadBatchIdRequest) => {
1468
- return request.serializeBinary();
1469
- },
1470
- service_pb.ProcessAgentBillsResponse.deserializeBinary
1471
- );
1472
-
1473
- processAgentBillsByUploadBatchId(
1474
- request: service_pb.ProcessAgentBillsByUploadBatchIdRequest,
1475
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ProcessAgentBillsResponse>;
1476
-
1477
- processAgentBillsByUploadBatchId(
1478
- request: service_pb.ProcessAgentBillsByUploadBatchIdRequest,
1479
- metadata: grpcWeb.Metadata | null,
1480
- callback: (err: grpcWeb.RpcError,
1481
- response: service_pb.ProcessAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ProcessAgentBillsResponse>;
1482
-
1483
- processAgentBillsByUploadBatchId(
1484
- request: service_pb.ProcessAgentBillsByUploadBatchIdRequest,
1485
- metadata: grpcWeb.Metadata | null,
1486
- callback?: (err: grpcWeb.RpcError,
1487
- response: service_pb.ProcessAgentBillsResponse) => void) {
1488
- if (callback !== undefined) {
1489
- return this.client_.rpcCall(
1490
- this.hostname_ +
1491
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessAgentBillsByUploadBatchId',
1492
- request,
1493
- metadata || {},
1494
- this.methodDescriptorProcessAgentBillsByUploadBatchId,
1495
- callback);
1496
- }
1497
- return this.client_.unaryCall(
1498
- this.hostname_ +
1499
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessAgentBillsByUploadBatchId',
1500
- request,
1501
- metadata || {},
1502
- this.methodDescriptorProcessAgentBillsByUploadBatchId);
1503
- }
1504
-
1505
- methodDescriptorRenameUploadBatch = new grpcWeb.MethodDescriptor(
1506
- '/agentbillingserviceapi.AgentBillingServiceAPIService/RenameUploadBatch',
1507
- grpcWeb.MethodType.UNARY,
1508
- service_pb.RenameUploadBatchRequest,
1509
- service_pb.ResponseCode,
1510
- (request: service_pb.RenameUploadBatchRequest) => {
1511
- return request.serializeBinary();
1512
- },
1513
- service_pb.ResponseCode.deserializeBinary
1514
- );
1515
-
1516
- renameUploadBatch(
1517
- request: service_pb.RenameUploadBatchRequest,
1518
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
1519
-
1520
- renameUploadBatch(
1521
- request: service_pb.RenameUploadBatchRequest,
1522
- metadata: grpcWeb.Metadata | null,
1523
- callback: (err: grpcWeb.RpcError,
1524
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
1525
-
1526
- renameUploadBatch(
1527
- request: service_pb.RenameUploadBatchRequest,
1528
- metadata: grpcWeb.Metadata | null,
1529
- callback?: (err: grpcWeb.RpcError,
1530
- response: service_pb.ResponseCode) => void) {
1531
- if (callback !== undefined) {
1532
- return this.client_.rpcCall(
1533
- this.hostname_ +
1534
- '/agentbillingserviceapi.AgentBillingServiceAPIService/RenameUploadBatch',
1535
- request,
1536
- metadata || {},
1537
- this.methodDescriptorRenameUploadBatch,
1538
- callback);
1539
- }
1540
- return this.client_.unaryCall(
1541
- this.hostname_ +
1542
- '/agentbillingserviceapi.AgentBillingServiceAPIService/RenameUploadBatch',
1543
- request,
1544
- metadata || {},
1545
- this.methodDescriptorRenameUploadBatch);
1546
- }
1547
-
1548
- methodDescriptorResendAgentInvitation = new grpcWeb.MethodDescriptor(
1549
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ResendAgentInvitation',
1550
- grpcWeb.MethodType.UNARY,
1551
- service_pb.ResendAgentInvitationRequest,
1552
- service_pb.ResponseCode,
1553
- (request: service_pb.ResendAgentInvitationRequest) => {
1554
- return request.serializeBinary();
1555
- },
1556
- service_pb.ResponseCode.deserializeBinary
1557
- );
1558
-
1559
- resendAgentInvitation(
1560
- request: service_pb.ResendAgentInvitationRequest,
1561
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
1562
-
1563
- resendAgentInvitation(
1564
- request: service_pb.ResendAgentInvitationRequest,
1565
- metadata: grpcWeb.Metadata | null,
1566
- callback: (err: grpcWeb.RpcError,
1567
- response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
1568
-
1569
- resendAgentInvitation(
1570
- request: service_pb.ResendAgentInvitationRequest,
1571
- metadata: grpcWeb.Metadata | null,
1572
- callback?: (err: grpcWeb.RpcError,
1573
- response: service_pb.ResponseCode) => void) {
1574
- if (callback !== undefined) {
1575
- return this.client_.rpcCall(
1576
- this.hostname_ +
1577
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ResendAgentInvitation',
1578
- request,
1579
- metadata || {},
1580
- this.methodDescriptorResendAgentInvitation,
1581
- callback);
1582
- }
1583
- return this.client_.unaryCall(
1584
- this.hostname_ +
1585
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ResendAgentInvitation',
1586
- request,
1587
- metadata || {},
1588
- this.methodDescriptorResendAgentInvitation);
1589
- }
1590
-
1591
- methodDescriptorReviewAgentBill = new grpcWeb.MethodDescriptor(
1592
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ReviewAgentBill',
1593
- grpcWeb.MethodType.UNARY,
1594
- service_pb.ReviewAgentBillRequest,
1595
- service_pb.ProcessAgentBillsResponse,
1596
- (request: service_pb.ReviewAgentBillRequest) => {
1597
- return request.serializeBinary();
1598
- },
1599
- service_pb.ProcessAgentBillsResponse.deserializeBinary
1600
- );
1601
-
1602
- reviewAgentBill(
1603
- request: service_pb.ReviewAgentBillRequest,
1604
- metadata: grpcWeb.Metadata | null): Promise<service_pb.ProcessAgentBillsResponse>;
1605
-
1606
- reviewAgentBill(
1607
- request: service_pb.ReviewAgentBillRequest,
1608
- metadata: grpcWeb.Metadata | null,
1609
- callback: (err: grpcWeb.RpcError,
1610
- response: service_pb.ProcessAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ProcessAgentBillsResponse>;
1611
-
1612
- reviewAgentBill(
1613
- request: service_pb.ReviewAgentBillRequest,
1614
- metadata: grpcWeb.Metadata | null,
1615
- callback?: (err: grpcWeb.RpcError,
1616
- response: service_pb.ProcessAgentBillsResponse) => void) {
1617
- if (callback !== undefined) {
1618
- return this.client_.rpcCall(
1619
- this.hostname_ +
1620
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ReviewAgentBill',
1621
- request,
1622
- metadata || {},
1623
- this.methodDescriptorReviewAgentBill,
1624
- callback);
1625
- }
1626
- return this.client_.unaryCall(
1627
- this.hostname_ +
1628
- '/agentbillingserviceapi.AgentBillingServiceAPIService/ReviewAgentBill',
1629
- request,
1630
- metadata || {},
1631
- this.methodDescriptorReviewAgentBill);
1632
- }
1633
-
1634
- }
1635
-