@sniipwebmaster/agent-billing-client-grpcweb 23.6.30

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.
@@ -0,0 +1,636 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for agentbillingserviceapi
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
+ const proto = {};
21
+ proto.agentbillingserviceapi = require('./service_pb.js');
22
+
23
+ /**
24
+ * @param {string} hostname
25
+ * @param {?Object} credentials
26
+ * @param {?Object} options
27
+ * @constructor
28
+ * @struct
29
+ * @final
30
+ */
31
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient =
32
+ function(hostname, credentials, options) {
33
+ if (!options) options = {};
34
+ options['format'] = 'text';
35
+
36
+ /**
37
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
38
+ */
39
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
40
+
41
+ /**
42
+ * @private @const {string} The hostname
43
+ */
44
+ this.hostname_ = hostname;
45
+
46
+ };
47
+
48
+
49
+ /**
50
+ * @param {string} hostname
51
+ * @param {?Object} credentials
52
+ * @param {?Object} options
53
+ * @constructor
54
+ * @struct
55
+ * @final
56
+ */
57
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient =
58
+ function(hostname, credentials, options) {
59
+ if (!options) options = {};
60
+ options['format'] = 'text';
61
+
62
+ /**
63
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
64
+ */
65
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
66
+
67
+ /**
68
+ * @private @const {string} The hostname
69
+ */
70
+ this.hostname_ = hostname;
71
+
72
+ };
73
+
74
+
75
+ /**
76
+ * @const
77
+ * @type {!grpc.web.MethodDescriptor<
78
+ * !proto.agentbillingserviceapi.CancelAgentInviteRequest,
79
+ * !proto.agentbillingserviceapi.ResponseCode>}
80
+ */
81
+ const methodDescriptor_AgentBillingServiceAPIService_CancelAgentInvite = new grpc.web.MethodDescriptor(
82
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CancelAgentInvite',
83
+ grpc.web.MethodType.UNARY,
84
+ proto.agentbillingserviceapi.CancelAgentInviteRequest,
85
+ proto.agentbillingserviceapi.ResponseCode,
86
+ /**
87
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} request
88
+ * @return {!Uint8Array}
89
+ */
90
+ function(request) {
91
+ return request.serializeBinary();
92
+ },
93
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
94
+ );
95
+
96
+
97
+ /**
98
+ * @const
99
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
100
+ * !proto.agentbillingserviceapi.CancelAgentInviteRequest,
101
+ * !proto.agentbillingserviceapi.ResponseCode>}
102
+ */
103
+ const methodInfo_AgentBillingServiceAPIService_CancelAgentInvite = new grpc.web.AbstractClientBase.MethodInfo(
104
+ proto.agentbillingserviceapi.ResponseCode,
105
+ /**
106
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} request
107
+ * @return {!Uint8Array}
108
+ */
109
+ function(request) {
110
+ return request.serializeBinary();
111
+ },
112
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
113
+ );
114
+
115
+
116
+ /**
117
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} request The
118
+ * request proto
119
+ * @param {?Object<string, string>} metadata User defined
120
+ * call metadata
121
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
122
+ * callback The callback function(error, response)
123
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
124
+ * The XHR Node Readable Stream
125
+ */
126
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.cancelAgentInvite =
127
+ function(request, metadata, callback) {
128
+ return this.client_.rpcCall(this.hostname_ +
129
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CancelAgentInvite',
130
+ request,
131
+ metadata || {},
132
+ methodDescriptor_AgentBillingServiceAPIService_CancelAgentInvite,
133
+ callback);
134
+ };
135
+
136
+
137
+ /**
138
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} request The
139
+ * request proto
140
+ * @param {?Object<string, string>} metadata User defined
141
+ * call metadata
142
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
143
+ * Promise that resolves to the response
144
+ */
145
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.cancelAgentInvite =
146
+ function(request, metadata) {
147
+ return this.client_.unaryCall(this.hostname_ +
148
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CancelAgentInvite',
149
+ request,
150
+ metadata || {},
151
+ methodDescriptor_AgentBillingServiceAPIService_CancelAgentInvite);
152
+ };
153
+
154
+
155
+ /**
156
+ * @const
157
+ * @type {!grpc.web.MethodDescriptor<
158
+ * !proto.agentbillingserviceapi.ConnectAgentRequest,
159
+ * !proto.agentbillingserviceapi.ResponseCode>}
160
+ */
161
+ const methodDescriptor_AgentBillingServiceAPIService_ConnectAgent = new grpc.web.MethodDescriptor(
162
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/ConnectAgent',
163
+ grpc.web.MethodType.UNARY,
164
+ proto.agentbillingserviceapi.ConnectAgentRequest,
165
+ proto.agentbillingserviceapi.ResponseCode,
166
+ /**
167
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} request
168
+ * @return {!Uint8Array}
169
+ */
170
+ function(request) {
171
+ return request.serializeBinary();
172
+ },
173
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
174
+ );
175
+
176
+
177
+ /**
178
+ * @const
179
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
180
+ * !proto.agentbillingserviceapi.ConnectAgentRequest,
181
+ * !proto.agentbillingserviceapi.ResponseCode>}
182
+ */
183
+ const methodInfo_AgentBillingServiceAPIService_ConnectAgent = new grpc.web.AbstractClientBase.MethodInfo(
184
+ proto.agentbillingserviceapi.ResponseCode,
185
+ /**
186
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} request
187
+ * @return {!Uint8Array}
188
+ */
189
+ function(request) {
190
+ return request.serializeBinary();
191
+ },
192
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
193
+ );
194
+
195
+
196
+ /**
197
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} request The
198
+ * request proto
199
+ * @param {?Object<string, string>} metadata User defined
200
+ * call metadata
201
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
202
+ * callback The callback function(error, response)
203
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
204
+ * The XHR Node Readable Stream
205
+ */
206
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.connectAgent =
207
+ function(request, metadata, callback) {
208
+ return this.client_.rpcCall(this.hostname_ +
209
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/ConnectAgent',
210
+ request,
211
+ metadata || {},
212
+ methodDescriptor_AgentBillingServiceAPIService_ConnectAgent,
213
+ callback);
214
+ };
215
+
216
+
217
+ /**
218
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} request The
219
+ * request proto
220
+ * @param {?Object<string, string>} metadata User defined
221
+ * call metadata
222
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
223
+ * Promise that resolves to the response
224
+ */
225
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.connectAgent =
226
+ function(request, metadata) {
227
+ return this.client_.unaryCall(this.hostname_ +
228
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/ConnectAgent',
229
+ request,
230
+ metadata || {},
231
+ methodDescriptor_AgentBillingServiceAPIService_ConnectAgent);
232
+ };
233
+
234
+
235
+ /**
236
+ * @const
237
+ * @type {!grpc.web.MethodDescriptor<
238
+ * !proto.agentbillingserviceapi.DisconnectAgentRequest,
239
+ * !proto.agentbillingserviceapi.ResponseCode>}
240
+ */
241
+ const methodDescriptor_AgentBillingServiceAPIService_DisconnectAgent = new grpc.web.MethodDescriptor(
242
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectAgent',
243
+ grpc.web.MethodType.UNARY,
244
+ proto.agentbillingserviceapi.DisconnectAgentRequest,
245
+ proto.agentbillingserviceapi.ResponseCode,
246
+ /**
247
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} request
248
+ * @return {!Uint8Array}
249
+ */
250
+ function(request) {
251
+ return request.serializeBinary();
252
+ },
253
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
254
+ );
255
+
256
+
257
+ /**
258
+ * @const
259
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
260
+ * !proto.agentbillingserviceapi.DisconnectAgentRequest,
261
+ * !proto.agentbillingserviceapi.ResponseCode>}
262
+ */
263
+ const methodInfo_AgentBillingServiceAPIService_DisconnectAgent = new grpc.web.AbstractClientBase.MethodInfo(
264
+ proto.agentbillingserviceapi.ResponseCode,
265
+ /**
266
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} request
267
+ * @return {!Uint8Array}
268
+ */
269
+ function(request) {
270
+ return request.serializeBinary();
271
+ },
272
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
273
+ );
274
+
275
+
276
+ /**
277
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} request The
278
+ * request proto
279
+ * @param {?Object<string, string>} metadata User defined
280
+ * call metadata
281
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
282
+ * callback The callback function(error, response)
283
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
284
+ * The XHR Node Readable Stream
285
+ */
286
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.disconnectAgent =
287
+ function(request, metadata, callback) {
288
+ return this.client_.rpcCall(this.hostname_ +
289
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectAgent',
290
+ request,
291
+ metadata || {},
292
+ methodDescriptor_AgentBillingServiceAPIService_DisconnectAgent,
293
+ callback);
294
+ };
295
+
296
+
297
+ /**
298
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} request The
299
+ * request proto
300
+ * @param {?Object<string, string>} metadata User defined
301
+ * call metadata
302
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
303
+ * Promise that resolves to the response
304
+ */
305
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.disconnectAgent =
306
+ function(request, metadata) {
307
+ return this.client_.unaryCall(this.hostname_ +
308
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectAgent',
309
+ request,
310
+ metadata || {},
311
+ methodDescriptor_AgentBillingServiceAPIService_DisconnectAgent);
312
+ };
313
+
314
+
315
+ /**
316
+ * @const
317
+ * @type {!grpc.web.MethodDescriptor<
318
+ * !proto.agentbillingserviceapi.GetAssociatedAgentsRequest,
319
+ * !proto.agentbillingserviceapi.GetAssociatedAgentsResponse>}
320
+ */
321
+ const methodDescriptor_AgentBillingServiceAPIService_GetAssociatedAgents = new grpc.web.MethodDescriptor(
322
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgents',
323
+ grpc.web.MethodType.UNARY,
324
+ proto.agentbillingserviceapi.GetAssociatedAgentsRequest,
325
+ proto.agentbillingserviceapi.GetAssociatedAgentsResponse,
326
+ /**
327
+ * @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} request
328
+ * @return {!Uint8Array}
329
+ */
330
+ function(request) {
331
+ return request.serializeBinary();
332
+ },
333
+ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinary
334
+ );
335
+
336
+
337
+ /**
338
+ * @const
339
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
340
+ * !proto.agentbillingserviceapi.GetAssociatedAgentsRequest,
341
+ * !proto.agentbillingserviceapi.GetAssociatedAgentsResponse>}
342
+ */
343
+ const methodInfo_AgentBillingServiceAPIService_GetAssociatedAgents = new grpc.web.AbstractClientBase.MethodInfo(
344
+ proto.agentbillingserviceapi.GetAssociatedAgentsResponse,
345
+ /**
346
+ * @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} request
347
+ * @return {!Uint8Array}
348
+ */
349
+ function(request) {
350
+ return request.serializeBinary();
351
+ },
352
+ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinary
353
+ );
354
+
355
+
356
+ /**
357
+ * @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} request The
358
+ * request proto
359
+ * @param {?Object<string, string>} metadata User defined
360
+ * call metadata
361
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.GetAssociatedAgentsResponse)}
362
+ * callback The callback function(error, response)
363
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetAssociatedAgentsResponse>|undefined}
364
+ * The XHR Node Readable Stream
365
+ */
366
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getAssociatedAgents =
367
+ function(request, metadata, callback) {
368
+ return this.client_.rpcCall(this.hostname_ +
369
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgents',
370
+ request,
371
+ metadata || {},
372
+ methodDescriptor_AgentBillingServiceAPIService_GetAssociatedAgents,
373
+ callback);
374
+ };
375
+
376
+
377
+ /**
378
+ * @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} request The
379
+ * request proto
380
+ * @param {?Object<string, string>} metadata User defined
381
+ * call metadata
382
+ * @return {!Promise<!proto.agentbillingserviceapi.GetAssociatedAgentsResponse>}
383
+ * Promise that resolves to the response
384
+ */
385
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getAssociatedAgents =
386
+ function(request, metadata) {
387
+ return this.client_.unaryCall(this.hostname_ +
388
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgents',
389
+ request,
390
+ metadata || {},
391
+ methodDescriptor_AgentBillingServiceAPIService_GetAssociatedAgents);
392
+ };
393
+
394
+
395
+ /**
396
+ * @const
397
+ * @type {!grpc.web.MethodDescriptor<
398
+ * !proto.agentbillingserviceapi.InviteAgentRequest,
399
+ * !proto.agentbillingserviceapi.ResponseCode>}
400
+ */
401
+ const methodDescriptor_AgentBillingServiceAPIService_InviteAgent = new grpc.web.MethodDescriptor(
402
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
403
+ grpc.web.MethodType.UNARY,
404
+ proto.agentbillingserviceapi.InviteAgentRequest,
405
+ proto.agentbillingserviceapi.ResponseCode,
406
+ /**
407
+ * @param {!proto.agentbillingserviceapi.InviteAgentRequest} request
408
+ * @return {!Uint8Array}
409
+ */
410
+ function(request) {
411
+ return request.serializeBinary();
412
+ },
413
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
414
+ );
415
+
416
+
417
+ /**
418
+ * @const
419
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
420
+ * !proto.agentbillingserviceapi.InviteAgentRequest,
421
+ * !proto.agentbillingserviceapi.ResponseCode>}
422
+ */
423
+ const methodInfo_AgentBillingServiceAPIService_InviteAgent = new grpc.web.AbstractClientBase.MethodInfo(
424
+ proto.agentbillingserviceapi.ResponseCode,
425
+ /**
426
+ * @param {!proto.agentbillingserviceapi.InviteAgentRequest} request
427
+ * @return {!Uint8Array}
428
+ */
429
+ function(request) {
430
+ return request.serializeBinary();
431
+ },
432
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
433
+ );
434
+
435
+
436
+ /**
437
+ * @param {!proto.agentbillingserviceapi.InviteAgentRequest} request The
438
+ * request proto
439
+ * @param {?Object<string, string>} metadata User defined
440
+ * call metadata
441
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
442
+ * callback The callback function(error, response)
443
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
444
+ * The XHR Node Readable Stream
445
+ */
446
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.inviteAgent =
447
+ function(request, metadata, callback) {
448
+ return this.client_.rpcCall(this.hostname_ +
449
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
450
+ request,
451
+ metadata || {},
452
+ methodDescriptor_AgentBillingServiceAPIService_InviteAgent,
453
+ callback);
454
+ };
455
+
456
+
457
+ /**
458
+ * @param {!proto.agentbillingserviceapi.InviteAgentRequest} request The
459
+ * request proto
460
+ * @param {?Object<string, string>} metadata User defined
461
+ * call metadata
462
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
463
+ * Promise that resolves to the response
464
+ */
465
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.inviteAgent =
466
+ function(request, metadata) {
467
+ return this.client_.unaryCall(this.hostname_ +
468
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
469
+ request,
470
+ metadata || {},
471
+ methodDescriptor_AgentBillingServiceAPIService_InviteAgent);
472
+ };
473
+
474
+
475
+ /**
476
+ * @const
477
+ * @type {!grpc.web.MethodDescriptor<
478
+ * !proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest,
479
+ * !proto.agentbillingserviceapi.ResponseCode>}
480
+ */
481
+ const methodDescriptor_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountCreation = new grpc.web.MethodDescriptor(
482
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/UpdateAgentConnectionsOnAccountCreation',
483
+ grpc.web.MethodType.UNARY,
484
+ proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest,
485
+ proto.agentbillingserviceapi.ResponseCode,
486
+ /**
487
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest} request
488
+ * @return {!Uint8Array}
489
+ */
490
+ function(request) {
491
+ return request.serializeBinary();
492
+ },
493
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
494
+ );
495
+
496
+
497
+ /**
498
+ * @const
499
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
500
+ * !proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest,
501
+ * !proto.agentbillingserviceapi.ResponseCode>}
502
+ */
503
+ const methodInfo_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountCreation = new grpc.web.AbstractClientBase.MethodInfo(
504
+ proto.agentbillingserviceapi.ResponseCode,
505
+ /**
506
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest} request
507
+ * @return {!Uint8Array}
508
+ */
509
+ function(request) {
510
+ return request.serializeBinary();
511
+ },
512
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
513
+ );
514
+
515
+
516
+ /**
517
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest} request The
518
+ * request proto
519
+ * @param {?Object<string, string>} metadata User defined
520
+ * call metadata
521
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
522
+ * callback The callback function(error, response)
523
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
524
+ * The XHR Node Readable Stream
525
+ */
526
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.updateAgentConnectionsOnAccountCreation =
527
+ function(request, metadata, callback) {
528
+ return this.client_.rpcCall(this.hostname_ +
529
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/UpdateAgentConnectionsOnAccountCreation',
530
+ request,
531
+ metadata || {},
532
+ methodDescriptor_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountCreation,
533
+ callback);
534
+ };
535
+
536
+
537
+ /**
538
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountCreationRequest} request The
539
+ * request proto
540
+ * @param {?Object<string, string>} metadata User defined
541
+ * call metadata
542
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
543
+ * Promise that resolves to the response
544
+ */
545
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.updateAgentConnectionsOnAccountCreation =
546
+ function(request, metadata) {
547
+ return this.client_.unaryCall(this.hostname_ +
548
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/UpdateAgentConnectionsOnAccountCreation',
549
+ request,
550
+ metadata || {},
551
+ methodDescriptor_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountCreation);
552
+ };
553
+
554
+
555
+ /**
556
+ * @const
557
+ * @type {!grpc.web.MethodDescriptor<
558
+ * !proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest,
559
+ * !proto.agentbillingserviceapi.ResponseCode>}
560
+ */
561
+ const methodDescriptor_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountDeletion = new grpc.web.MethodDescriptor(
562
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/UpdateAgentConnectionsOnAccountDeletion',
563
+ grpc.web.MethodType.UNARY,
564
+ proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest,
565
+ proto.agentbillingserviceapi.ResponseCode,
566
+ /**
567
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest} request
568
+ * @return {!Uint8Array}
569
+ */
570
+ function(request) {
571
+ return request.serializeBinary();
572
+ },
573
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
574
+ );
575
+
576
+
577
+ /**
578
+ * @const
579
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
580
+ * !proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest,
581
+ * !proto.agentbillingserviceapi.ResponseCode>}
582
+ */
583
+ const methodInfo_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountDeletion = new grpc.web.AbstractClientBase.MethodInfo(
584
+ proto.agentbillingserviceapi.ResponseCode,
585
+ /**
586
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest} request
587
+ * @return {!Uint8Array}
588
+ */
589
+ function(request) {
590
+ return request.serializeBinary();
591
+ },
592
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
593
+ );
594
+
595
+
596
+ /**
597
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest} request The
598
+ * request proto
599
+ * @param {?Object<string, string>} metadata User defined
600
+ * call metadata
601
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
602
+ * callback The callback function(error, response)
603
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
604
+ * The XHR Node Readable Stream
605
+ */
606
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.updateAgentConnectionsOnAccountDeletion =
607
+ function(request, metadata, callback) {
608
+ return this.client_.rpcCall(this.hostname_ +
609
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/UpdateAgentConnectionsOnAccountDeletion',
610
+ request,
611
+ metadata || {},
612
+ methodDescriptor_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountDeletion,
613
+ callback);
614
+ };
615
+
616
+
617
+ /**
618
+ * @param {!proto.agentbillingserviceapi.UpdateAgentConnectionsOnAccountDeletionRequest} request The
619
+ * request proto
620
+ * @param {?Object<string, string>} metadata User defined
621
+ * call metadata
622
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
623
+ * Promise that resolves to the response
624
+ */
625
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.updateAgentConnectionsOnAccountDeletion =
626
+ function(request, metadata) {
627
+ return this.client_.unaryCall(this.hostname_ +
628
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/UpdateAgentConnectionsOnAccountDeletion',
629
+ request,
630
+ metadata || {},
631
+ methodDescriptor_AgentBillingServiceAPIService_UpdateAgentConnectionsOnAccountDeletion);
632
+ };
633
+
634
+
635
+ module.exports = proto.agentbillingserviceapi;
636
+