@alis-build/ideate 1.945.967

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,822 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for alis.ideate
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 v5.29.3
11
+ // source: alis/ideate/ideate.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_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
24
+
25
+ var google_longrunning_operations_pb = require('@alis-build/google-common-protos/google/longrunning/operations_pb.js')
26
+
27
+ var alis_open_agent_v1_agent_pb = require('@open.alis.services/protobuf/alis/open/agent/v1/agent_pb.js')
28
+
29
+ var alis_ideate_idea_pb = require('../../alis/ideate/idea_pb.js')
30
+
31
+ var alis_ideate_spec_pb = require('../../alis/ideate/spec_pb.js')
32
+
33
+ var alis_ideate_stream_pb = require('../../alis/ideate/stream_pb.js')
34
+ const proto = {};
35
+ proto.alis = {};
36
+ proto.alis.ideate = require('./ideate_pb.js');
37
+
38
+ /**
39
+ * @param {string} hostname
40
+ * @param {?Object} credentials
41
+ * @param {?grpc.web.ClientOptions} options
42
+ * @constructor
43
+ * @struct
44
+ * @final
45
+ */
46
+ proto.alis.ideate.IdeateServiceClient =
47
+ function(hostname, credentials, options) {
48
+ if (!options) options = {};
49
+ options.format = 'text';
50
+
51
+ /**
52
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
53
+ */
54
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
55
+
56
+ /**
57
+ * @private @const {string} The hostname
58
+ */
59
+ this.hostname_ = hostname.replace(/\/+$/, '');
60
+
61
+ };
62
+
63
+
64
+ /**
65
+ * @param {string} hostname
66
+ * @param {?Object} credentials
67
+ * @param {?grpc.web.ClientOptions} options
68
+ * @constructor
69
+ * @struct
70
+ * @final
71
+ */
72
+ proto.alis.ideate.IdeateServicePromiseClient =
73
+ function(hostname, credentials, options) {
74
+ if (!options) options = {};
75
+ options.format = 'text';
76
+
77
+ /**
78
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
79
+ */
80
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
81
+
82
+ /**
83
+ * @private @const {string} The hostname
84
+ */
85
+ this.hostname_ = hostname.replace(/\/+$/, '');
86
+
87
+ };
88
+
89
+
90
+ /**
91
+ * @const
92
+ * @type {!grpc.web.MethodDescriptor<
93
+ * !proto.alis.ideate.AddNoteRequest,
94
+ * !proto.alis.ideate.AddNoteResponse>}
95
+ */
96
+ const methodDescriptor_IdeateService_AddNote = new grpc.web.MethodDescriptor(
97
+ '/alis.ideate.IdeateService/AddNote',
98
+ grpc.web.MethodType.UNARY,
99
+ proto.alis.ideate.AddNoteRequest,
100
+ proto.alis.ideate.AddNoteResponse,
101
+ /**
102
+ * @param {!proto.alis.ideate.AddNoteRequest} request
103
+ * @return {!Uint8Array}
104
+ */
105
+ function(request) {
106
+ return request.serializeBinary();
107
+ },
108
+ proto.alis.ideate.AddNoteResponse.deserializeBinary
109
+ );
110
+
111
+
112
+ /**
113
+ * @param {!proto.alis.ideate.AddNoteRequest} request The
114
+ * request proto
115
+ * @param {?Object<string, string>} metadata User defined
116
+ * call metadata
117
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.AddNoteResponse)}
118
+ * callback The callback function(error, response)
119
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.AddNoteResponse>|undefined}
120
+ * The XHR Node Readable Stream
121
+ */
122
+ proto.alis.ideate.IdeateServiceClient.prototype.addNote =
123
+ function(request, metadata, callback) {
124
+ return this.client_.rpcCall(this.hostname_ +
125
+ '/alis.ideate.IdeateService/AddNote',
126
+ request,
127
+ metadata || {},
128
+ methodDescriptor_IdeateService_AddNote,
129
+ callback);
130
+ };
131
+
132
+
133
+ /**
134
+ * @param {!proto.alis.ideate.AddNoteRequest} request The
135
+ * request proto
136
+ * @param {?Object<string, string>=} metadata User defined
137
+ * call metadata
138
+ * @return {!Promise<!proto.alis.ideate.AddNoteResponse>}
139
+ * Promise that resolves to the response
140
+ */
141
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.addNote =
142
+ function(request, metadata) {
143
+ return this.client_.unaryCall(this.hostname_ +
144
+ '/alis.ideate.IdeateService/AddNote',
145
+ request,
146
+ metadata || {},
147
+ methodDescriptor_IdeateService_AddNote);
148
+ };
149
+
150
+
151
+ /**
152
+ * @const
153
+ * @type {!grpc.web.MethodDescriptor<
154
+ * !proto.alis.ideate.AddAudioNoteRequest,
155
+ * !proto.alis.ideate.AddAudioNoteResponse>}
156
+ */
157
+ const methodDescriptor_IdeateService_AddAudioNote = new grpc.web.MethodDescriptor(
158
+ '/alis.ideate.IdeateService/AddAudioNote',
159
+ grpc.web.MethodType.UNARY,
160
+ proto.alis.ideate.AddAudioNoteRequest,
161
+ proto.alis.ideate.AddAudioNoteResponse,
162
+ /**
163
+ * @param {!proto.alis.ideate.AddAudioNoteRequest} request
164
+ * @return {!Uint8Array}
165
+ */
166
+ function(request) {
167
+ return request.serializeBinary();
168
+ },
169
+ proto.alis.ideate.AddAudioNoteResponse.deserializeBinary
170
+ );
171
+
172
+
173
+ /**
174
+ * @param {!proto.alis.ideate.AddAudioNoteRequest} request The
175
+ * request proto
176
+ * @param {?Object<string, string>} metadata User defined
177
+ * call metadata
178
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.AddAudioNoteResponse)}
179
+ * callback The callback function(error, response)
180
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.AddAudioNoteResponse>|undefined}
181
+ * The XHR Node Readable Stream
182
+ */
183
+ proto.alis.ideate.IdeateServiceClient.prototype.addAudioNote =
184
+ function(request, metadata, callback) {
185
+ return this.client_.rpcCall(this.hostname_ +
186
+ '/alis.ideate.IdeateService/AddAudioNote',
187
+ request,
188
+ metadata || {},
189
+ methodDescriptor_IdeateService_AddAudioNote,
190
+ callback);
191
+ };
192
+
193
+
194
+ /**
195
+ * @param {!proto.alis.ideate.AddAudioNoteRequest} request The
196
+ * request proto
197
+ * @param {?Object<string, string>=} metadata User defined
198
+ * call metadata
199
+ * @return {!Promise<!proto.alis.ideate.AddAudioNoteResponse>}
200
+ * Promise that resolves to the response
201
+ */
202
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.addAudioNote =
203
+ function(request, metadata) {
204
+ return this.client_.unaryCall(this.hostname_ +
205
+ '/alis.ideate.IdeateService/AddAudioNote',
206
+ request,
207
+ metadata || {},
208
+ methodDescriptor_IdeateService_AddAudioNote);
209
+ };
210
+
211
+
212
+ /**
213
+ * @const
214
+ * @type {!grpc.web.MethodDescriptor<
215
+ * !proto.alis.ideate.AddMultiFileUploadRequest,
216
+ * !proto.alis.ideate.AddMultiFileUploadResponse>}
217
+ */
218
+ const methodDescriptor_IdeateService_AddMultiFileUpload = new grpc.web.MethodDescriptor(
219
+ '/alis.ideate.IdeateService/AddMultiFileUpload',
220
+ grpc.web.MethodType.UNARY,
221
+ proto.alis.ideate.AddMultiFileUploadRequest,
222
+ proto.alis.ideate.AddMultiFileUploadResponse,
223
+ /**
224
+ * @param {!proto.alis.ideate.AddMultiFileUploadRequest} request
225
+ * @return {!Uint8Array}
226
+ */
227
+ function(request) {
228
+ return request.serializeBinary();
229
+ },
230
+ proto.alis.ideate.AddMultiFileUploadResponse.deserializeBinary
231
+ );
232
+
233
+
234
+ /**
235
+ * @param {!proto.alis.ideate.AddMultiFileUploadRequest} request The
236
+ * request proto
237
+ * @param {?Object<string, string>} metadata User defined
238
+ * call metadata
239
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.AddMultiFileUploadResponse)}
240
+ * callback The callback function(error, response)
241
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.AddMultiFileUploadResponse>|undefined}
242
+ * The XHR Node Readable Stream
243
+ */
244
+ proto.alis.ideate.IdeateServiceClient.prototype.addMultiFileUpload =
245
+ function(request, metadata, callback) {
246
+ return this.client_.rpcCall(this.hostname_ +
247
+ '/alis.ideate.IdeateService/AddMultiFileUpload',
248
+ request,
249
+ metadata || {},
250
+ methodDescriptor_IdeateService_AddMultiFileUpload,
251
+ callback);
252
+ };
253
+
254
+
255
+ /**
256
+ * @param {!proto.alis.ideate.AddMultiFileUploadRequest} request The
257
+ * request proto
258
+ * @param {?Object<string, string>=} metadata User defined
259
+ * call metadata
260
+ * @return {!Promise<!proto.alis.ideate.AddMultiFileUploadResponse>}
261
+ * Promise that resolves to the response
262
+ */
263
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.addMultiFileUpload =
264
+ function(request, metadata) {
265
+ return this.client_.unaryCall(this.hostname_ +
266
+ '/alis.ideate.IdeateService/AddMultiFileUpload',
267
+ request,
268
+ metadata || {},
269
+ methodDescriptor_IdeateService_AddMultiFileUpload);
270
+ };
271
+
272
+
273
+ /**
274
+ * @const
275
+ * @type {!grpc.web.MethodDescriptor<
276
+ * !proto.alis.ideate.AddAgentRequest,
277
+ * !proto.alis.ideate.AddAgentResponse>}
278
+ */
279
+ const methodDescriptor_IdeateService_AddAgent = new grpc.web.MethodDescriptor(
280
+ '/alis.ideate.IdeateService/AddAgent',
281
+ grpc.web.MethodType.UNARY,
282
+ proto.alis.ideate.AddAgentRequest,
283
+ proto.alis.ideate.AddAgentResponse,
284
+ /**
285
+ * @param {!proto.alis.ideate.AddAgentRequest} request
286
+ * @return {!Uint8Array}
287
+ */
288
+ function(request) {
289
+ return request.serializeBinary();
290
+ },
291
+ proto.alis.ideate.AddAgentResponse.deserializeBinary
292
+ );
293
+
294
+
295
+ /**
296
+ * @param {!proto.alis.ideate.AddAgentRequest} request The
297
+ * request proto
298
+ * @param {?Object<string, string>} metadata User defined
299
+ * call metadata
300
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.AddAgentResponse)}
301
+ * callback The callback function(error, response)
302
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.AddAgentResponse>|undefined}
303
+ * The XHR Node Readable Stream
304
+ */
305
+ proto.alis.ideate.IdeateServiceClient.prototype.addAgent =
306
+ function(request, metadata, callback) {
307
+ return this.client_.rpcCall(this.hostname_ +
308
+ '/alis.ideate.IdeateService/AddAgent',
309
+ request,
310
+ metadata || {},
311
+ methodDescriptor_IdeateService_AddAgent,
312
+ callback);
313
+ };
314
+
315
+
316
+ /**
317
+ * @param {!proto.alis.ideate.AddAgentRequest} request The
318
+ * request proto
319
+ * @param {?Object<string, string>=} metadata User defined
320
+ * call metadata
321
+ * @return {!Promise<!proto.alis.ideate.AddAgentResponse>}
322
+ * Promise that resolves to the response
323
+ */
324
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.addAgent =
325
+ function(request, metadata) {
326
+ return this.client_.unaryCall(this.hostname_ +
327
+ '/alis.ideate.IdeateService/AddAgent',
328
+ request,
329
+ metadata || {},
330
+ methodDescriptor_IdeateService_AddAgent);
331
+ };
332
+
333
+
334
+ /**
335
+ * @const
336
+ * @type {!grpc.web.MethodDescriptor<
337
+ * !proto.alis.ideate.InitialiseAgentFeedbackRequest,
338
+ * !proto.alis.ideate.InitialiseAgentFeedbackResponse>}
339
+ */
340
+ const methodDescriptor_IdeateService_InitialiseAgentFeedback = new grpc.web.MethodDescriptor(
341
+ '/alis.ideate.IdeateService/InitialiseAgentFeedback',
342
+ grpc.web.MethodType.UNARY,
343
+ proto.alis.ideate.InitialiseAgentFeedbackRequest,
344
+ proto.alis.ideate.InitialiseAgentFeedbackResponse,
345
+ /**
346
+ * @param {!proto.alis.ideate.InitialiseAgentFeedbackRequest} request
347
+ * @return {!Uint8Array}
348
+ */
349
+ function(request) {
350
+ return request.serializeBinary();
351
+ },
352
+ proto.alis.ideate.InitialiseAgentFeedbackResponse.deserializeBinary
353
+ );
354
+
355
+
356
+ /**
357
+ * @param {!proto.alis.ideate.InitialiseAgentFeedbackRequest} request The
358
+ * request proto
359
+ * @param {?Object<string, string>} metadata User defined
360
+ * call metadata
361
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.InitialiseAgentFeedbackResponse)}
362
+ * callback The callback function(error, response)
363
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.InitialiseAgentFeedbackResponse>|undefined}
364
+ * The XHR Node Readable Stream
365
+ */
366
+ proto.alis.ideate.IdeateServiceClient.prototype.initialiseAgentFeedback =
367
+ function(request, metadata, callback) {
368
+ return this.client_.rpcCall(this.hostname_ +
369
+ '/alis.ideate.IdeateService/InitialiseAgentFeedback',
370
+ request,
371
+ metadata || {},
372
+ methodDescriptor_IdeateService_InitialiseAgentFeedback,
373
+ callback);
374
+ };
375
+
376
+
377
+ /**
378
+ * @param {!proto.alis.ideate.InitialiseAgentFeedbackRequest} request The
379
+ * request proto
380
+ * @param {?Object<string, string>=} metadata User defined
381
+ * call metadata
382
+ * @return {!Promise<!proto.alis.ideate.InitialiseAgentFeedbackResponse>}
383
+ * Promise that resolves to the response
384
+ */
385
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.initialiseAgentFeedback =
386
+ function(request, metadata) {
387
+ return this.client_.unaryCall(this.hostname_ +
388
+ '/alis.ideate.IdeateService/InitialiseAgentFeedback',
389
+ request,
390
+ metadata || {},
391
+ methodDescriptor_IdeateService_InitialiseAgentFeedback);
392
+ };
393
+
394
+
395
+ /**
396
+ * @const
397
+ * @type {!grpc.web.MethodDescriptor<
398
+ * !proto.alis.ideate.GetIdeaRequest,
399
+ * !proto.alis.ideate.Idea>}
400
+ */
401
+ const methodDescriptor_IdeateService_GetIdea = new grpc.web.MethodDescriptor(
402
+ '/alis.ideate.IdeateService/GetIdea',
403
+ grpc.web.MethodType.UNARY,
404
+ alis_ideate_idea_pb.GetIdeaRequest,
405
+ alis_ideate_idea_pb.Idea,
406
+ /**
407
+ * @param {!proto.alis.ideate.GetIdeaRequest} request
408
+ * @return {!Uint8Array}
409
+ */
410
+ function(request) {
411
+ return request.serializeBinary();
412
+ },
413
+ alis_ideate_idea_pb.Idea.deserializeBinary
414
+ );
415
+
416
+
417
+ /**
418
+ * @param {!proto.alis.ideate.GetIdeaRequest} request The
419
+ * request proto
420
+ * @param {?Object<string, string>} metadata User defined
421
+ * call metadata
422
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.Idea)}
423
+ * callback The callback function(error, response)
424
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.Idea>|undefined}
425
+ * The XHR Node Readable Stream
426
+ */
427
+ proto.alis.ideate.IdeateServiceClient.prototype.getIdea =
428
+ function(request, metadata, callback) {
429
+ return this.client_.rpcCall(this.hostname_ +
430
+ '/alis.ideate.IdeateService/GetIdea',
431
+ request,
432
+ metadata || {},
433
+ methodDescriptor_IdeateService_GetIdea,
434
+ callback);
435
+ };
436
+
437
+
438
+ /**
439
+ * @param {!proto.alis.ideate.GetIdeaRequest} request The
440
+ * request proto
441
+ * @param {?Object<string, string>=} metadata User defined
442
+ * call metadata
443
+ * @return {!Promise<!proto.alis.ideate.Idea>}
444
+ * Promise that resolves to the response
445
+ */
446
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.getIdea =
447
+ function(request, metadata) {
448
+ return this.client_.unaryCall(this.hostname_ +
449
+ '/alis.ideate.IdeateService/GetIdea',
450
+ request,
451
+ metadata || {},
452
+ methodDescriptor_IdeateService_GetIdea);
453
+ };
454
+
455
+
456
+ /**
457
+ * @const
458
+ * @type {!grpc.web.MethodDescriptor<
459
+ * !proto.alis.ideate.GetStreamRequest,
460
+ * !proto.alis.ideate.Stream>}
461
+ */
462
+ const methodDescriptor_IdeateService_GetStream = new grpc.web.MethodDescriptor(
463
+ '/alis.ideate.IdeateService/GetStream',
464
+ grpc.web.MethodType.UNARY,
465
+ alis_ideate_stream_pb.GetStreamRequest,
466
+ alis_ideate_stream_pb.Stream,
467
+ /**
468
+ * @param {!proto.alis.ideate.GetStreamRequest} request
469
+ * @return {!Uint8Array}
470
+ */
471
+ function(request) {
472
+ return request.serializeBinary();
473
+ },
474
+ alis_ideate_stream_pb.Stream.deserializeBinary
475
+ );
476
+
477
+
478
+ /**
479
+ * @param {!proto.alis.ideate.GetStreamRequest} request The
480
+ * request proto
481
+ * @param {?Object<string, string>} metadata User defined
482
+ * call metadata
483
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.Stream)}
484
+ * callback The callback function(error, response)
485
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.Stream>|undefined}
486
+ * The XHR Node Readable Stream
487
+ */
488
+ proto.alis.ideate.IdeateServiceClient.prototype.getStream =
489
+ function(request, metadata, callback) {
490
+ return this.client_.rpcCall(this.hostname_ +
491
+ '/alis.ideate.IdeateService/GetStream',
492
+ request,
493
+ metadata || {},
494
+ methodDescriptor_IdeateService_GetStream,
495
+ callback);
496
+ };
497
+
498
+
499
+ /**
500
+ * @param {!proto.alis.ideate.GetStreamRequest} request The
501
+ * request proto
502
+ * @param {?Object<string, string>=} metadata User defined
503
+ * call metadata
504
+ * @return {!Promise<!proto.alis.ideate.Stream>}
505
+ * Promise that resolves to the response
506
+ */
507
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.getStream =
508
+ function(request, metadata) {
509
+ return this.client_.unaryCall(this.hostname_ +
510
+ '/alis.ideate.IdeateService/GetStream',
511
+ request,
512
+ metadata || {},
513
+ methodDescriptor_IdeateService_GetStream);
514
+ };
515
+
516
+
517
+ /**
518
+ * @const
519
+ * @type {!grpc.web.MethodDescriptor<
520
+ * !proto.alis.ideate.GetSpecRequest,
521
+ * !proto.alis.ideate.Spec>}
522
+ */
523
+ const methodDescriptor_IdeateService_GetSpec = new grpc.web.MethodDescriptor(
524
+ '/alis.ideate.IdeateService/GetSpec',
525
+ grpc.web.MethodType.UNARY,
526
+ alis_ideate_spec_pb.GetSpecRequest,
527
+ alis_ideate_spec_pb.Spec,
528
+ /**
529
+ * @param {!proto.alis.ideate.GetSpecRequest} request
530
+ * @return {!Uint8Array}
531
+ */
532
+ function(request) {
533
+ return request.serializeBinary();
534
+ },
535
+ alis_ideate_spec_pb.Spec.deserializeBinary
536
+ );
537
+
538
+
539
+ /**
540
+ * @param {!proto.alis.ideate.GetSpecRequest} request The
541
+ * request proto
542
+ * @param {?Object<string, string>} metadata User defined
543
+ * call metadata
544
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.Spec)}
545
+ * callback The callback function(error, response)
546
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.Spec>|undefined}
547
+ * The XHR Node Readable Stream
548
+ */
549
+ proto.alis.ideate.IdeateServiceClient.prototype.getSpec =
550
+ function(request, metadata, callback) {
551
+ return this.client_.rpcCall(this.hostname_ +
552
+ '/alis.ideate.IdeateService/GetSpec',
553
+ request,
554
+ metadata || {},
555
+ methodDescriptor_IdeateService_GetSpec,
556
+ callback);
557
+ };
558
+
559
+
560
+ /**
561
+ * @param {!proto.alis.ideate.GetSpecRequest} request The
562
+ * request proto
563
+ * @param {?Object<string, string>=} metadata User defined
564
+ * call metadata
565
+ * @return {!Promise<!proto.alis.ideate.Spec>}
566
+ * Promise that resolves to the response
567
+ */
568
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.getSpec =
569
+ function(request, metadata) {
570
+ return this.client_.unaryCall(this.hostname_ +
571
+ '/alis.ideate.IdeateService/GetSpec',
572
+ request,
573
+ metadata || {},
574
+ methodDescriptor_IdeateService_GetSpec);
575
+ };
576
+
577
+
578
+ /**
579
+ * @const
580
+ * @type {!grpc.web.MethodDescriptor<
581
+ * !proto.alis.ideate.RetrieveIdeaSpecsRequest,
582
+ * !proto.alis.ideate.RetrieveIdeaSpecsResponse>}
583
+ */
584
+ const methodDescriptor_IdeateService_RetrieveIdeaSpecs = new grpc.web.MethodDescriptor(
585
+ '/alis.ideate.IdeateService/RetrieveIdeaSpecs',
586
+ grpc.web.MethodType.UNARY,
587
+ alis_ideate_spec_pb.RetrieveIdeaSpecsRequest,
588
+ alis_ideate_spec_pb.RetrieveIdeaSpecsResponse,
589
+ /**
590
+ * @param {!proto.alis.ideate.RetrieveIdeaSpecsRequest} request
591
+ * @return {!Uint8Array}
592
+ */
593
+ function(request) {
594
+ return request.serializeBinary();
595
+ },
596
+ alis_ideate_spec_pb.RetrieveIdeaSpecsResponse.deserializeBinary
597
+ );
598
+
599
+
600
+ /**
601
+ * @param {!proto.alis.ideate.RetrieveIdeaSpecsRequest} request The
602
+ * request proto
603
+ * @param {?Object<string, string>} metadata User defined
604
+ * call metadata
605
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.RetrieveIdeaSpecsResponse)}
606
+ * callback The callback function(error, response)
607
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.RetrieveIdeaSpecsResponse>|undefined}
608
+ * The XHR Node Readable Stream
609
+ */
610
+ proto.alis.ideate.IdeateServiceClient.prototype.retrieveIdeaSpecs =
611
+ function(request, metadata, callback) {
612
+ return this.client_.rpcCall(this.hostname_ +
613
+ '/alis.ideate.IdeateService/RetrieveIdeaSpecs',
614
+ request,
615
+ metadata || {},
616
+ methodDescriptor_IdeateService_RetrieveIdeaSpecs,
617
+ callback);
618
+ };
619
+
620
+
621
+ /**
622
+ * @param {!proto.alis.ideate.RetrieveIdeaSpecsRequest} request The
623
+ * request proto
624
+ * @param {?Object<string, string>=} metadata User defined
625
+ * call metadata
626
+ * @return {!Promise<!proto.alis.ideate.RetrieveIdeaSpecsResponse>}
627
+ * Promise that resolves to the response
628
+ */
629
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.retrieveIdeaSpecs =
630
+ function(request, metadata) {
631
+ return this.client_.unaryCall(this.hostname_ +
632
+ '/alis.ideate.IdeateService/RetrieveIdeaSpecs',
633
+ request,
634
+ metadata || {},
635
+ methodDescriptor_IdeateService_RetrieveIdeaSpecs);
636
+ };
637
+
638
+
639
+ /**
640
+ * @const
641
+ * @type {!grpc.web.MethodDescriptor<
642
+ * !proto.alis.ideate.GenerateCustomAgentSpecRequest,
643
+ * !proto.google.longrunning.Operation>}
644
+ */
645
+ const methodDescriptor_IdeateService_GenerateCustomAgentSpec = new grpc.web.MethodDescriptor(
646
+ '/alis.ideate.IdeateService/GenerateCustomAgentSpec',
647
+ grpc.web.MethodType.UNARY,
648
+ alis_ideate_spec_pb.GenerateCustomAgentSpecRequest,
649
+ google_longrunning_operations_pb.Operation,
650
+ /**
651
+ * @param {!proto.alis.ideate.GenerateCustomAgentSpecRequest} request
652
+ * @return {!Uint8Array}
653
+ */
654
+ function(request) {
655
+ return request.serializeBinary();
656
+ },
657
+ google_longrunning_operations_pb.Operation.deserializeBinary
658
+ );
659
+
660
+
661
+ /**
662
+ * @param {!proto.alis.ideate.GenerateCustomAgentSpecRequest} request The
663
+ * request proto
664
+ * @param {?Object<string, string>} metadata User defined
665
+ * call metadata
666
+ * @param {function(?grpc.web.RpcError, ?proto.google.longrunning.Operation)}
667
+ * callback The callback function(error, response)
668
+ * @return {!grpc.web.ClientReadableStream<!proto.google.longrunning.Operation>|undefined}
669
+ * The XHR Node Readable Stream
670
+ */
671
+ proto.alis.ideate.IdeateServiceClient.prototype.generateCustomAgentSpec =
672
+ function(request, metadata, callback) {
673
+ return this.client_.rpcCall(this.hostname_ +
674
+ '/alis.ideate.IdeateService/GenerateCustomAgentSpec',
675
+ request,
676
+ metadata || {},
677
+ methodDescriptor_IdeateService_GenerateCustomAgentSpec,
678
+ callback);
679
+ };
680
+
681
+
682
+ /**
683
+ * @param {!proto.alis.ideate.GenerateCustomAgentSpecRequest} request The
684
+ * request proto
685
+ * @param {?Object<string, string>=} metadata User defined
686
+ * call metadata
687
+ * @return {!Promise<!proto.google.longrunning.Operation>}
688
+ * Promise that resolves to the response
689
+ */
690
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.generateCustomAgentSpec =
691
+ function(request, metadata) {
692
+ return this.client_.unaryCall(this.hostname_ +
693
+ '/alis.ideate.IdeateService/GenerateCustomAgentSpec',
694
+ request,
695
+ metadata || {},
696
+ methodDescriptor_IdeateService_GenerateCustomAgentSpec);
697
+ };
698
+
699
+
700
+ /**
701
+ * @const
702
+ * @type {!grpc.web.MethodDescriptor<
703
+ * !proto.alis.ideate.TestIdeateAccessRequest,
704
+ * !proto.alis.ideate.TestIdeateAccessResponse>}
705
+ */
706
+ const methodDescriptor_IdeateService_TestIdeateAccess = new grpc.web.MethodDescriptor(
707
+ '/alis.ideate.IdeateService/TestIdeateAccess',
708
+ grpc.web.MethodType.UNARY,
709
+ proto.alis.ideate.TestIdeateAccessRequest,
710
+ proto.alis.ideate.TestIdeateAccessResponse,
711
+ /**
712
+ * @param {!proto.alis.ideate.TestIdeateAccessRequest} request
713
+ * @return {!Uint8Array}
714
+ */
715
+ function(request) {
716
+ return request.serializeBinary();
717
+ },
718
+ proto.alis.ideate.TestIdeateAccessResponse.deserializeBinary
719
+ );
720
+
721
+
722
+ /**
723
+ * @param {!proto.alis.ideate.TestIdeateAccessRequest} request The
724
+ * request proto
725
+ * @param {?Object<string, string>} metadata User defined
726
+ * call metadata
727
+ * @param {function(?grpc.web.RpcError, ?proto.alis.ideate.TestIdeateAccessResponse)}
728
+ * callback The callback function(error, response)
729
+ * @return {!grpc.web.ClientReadableStream<!proto.alis.ideate.TestIdeateAccessResponse>|undefined}
730
+ * The XHR Node Readable Stream
731
+ */
732
+ proto.alis.ideate.IdeateServiceClient.prototype.testIdeateAccess =
733
+ function(request, metadata, callback) {
734
+ return this.client_.rpcCall(this.hostname_ +
735
+ '/alis.ideate.IdeateService/TestIdeateAccess',
736
+ request,
737
+ metadata || {},
738
+ methodDescriptor_IdeateService_TestIdeateAccess,
739
+ callback);
740
+ };
741
+
742
+
743
+ /**
744
+ * @param {!proto.alis.ideate.TestIdeateAccessRequest} request The
745
+ * request proto
746
+ * @param {?Object<string, string>=} metadata User defined
747
+ * call metadata
748
+ * @return {!Promise<!proto.alis.ideate.TestIdeateAccessResponse>}
749
+ * Promise that resolves to the response
750
+ */
751
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.testIdeateAccess =
752
+ function(request, metadata) {
753
+ return this.client_.unaryCall(this.hostname_ +
754
+ '/alis.ideate.IdeateService/TestIdeateAccess',
755
+ request,
756
+ metadata || {},
757
+ methodDescriptor_IdeateService_TestIdeateAccess);
758
+ };
759
+
760
+
761
+ /**
762
+ * @const
763
+ * @type {!grpc.web.MethodDescriptor<
764
+ * !proto.google.longrunning.GetOperationRequest,
765
+ * !proto.google.longrunning.Operation>}
766
+ */
767
+ const methodDescriptor_IdeateService_GetOperation = new grpc.web.MethodDescriptor(
768
+ '/alis.ideate.IdeateService/GetOperation',
769
+ grpc.web.MethodType.UNARY,
770
+ google_longrunning_operations_pb.GetOperationRequest,
771
+ google_longrunning_operations_pb.Operation,
772
+ /**
773
+ * @param {!proto.google.longrunning.GetOperationRequest} request
774
+ * @return {!Uint8Array}
775
+ */
776
+ function(request) {
777
+ return request.serializeBinary();
778
+ },
779
+ google_longrunning_operations_pb.Operation.deserializeBinary
780
+ );
781
+
782
+
783
+ /**
784
+ * @param {!proto.google.longrunning.GetOperationRequest} request The
785
+ * request proto
786
+ * @param {?Object<string, string>} metadata User defined
787
+ * call metadata
788
+ * @param {function(?grpc.web.RpcError, ?proto.google.longrunning.Operation)}
789
+ * callback The callback function(error, response)
790
+ * @return {!grpc.web.ClientReadableStream<!proto.google.longrunning.Operation>|undefined}
791
+ * The XHR Node Readable Stream
792
+ */
793
+ proto.alis.ideate.IdeateServiceClient.prototype.getOperation =
794
+ function(request, metadata, callback) {
795
+ return this.client_.rpcCall(this.hostname_ +
796
+ '/alis.ideate.IdeateService/GetOperation',
797
+ request,
798
+ metadata || {},
799
+ methodDescriptor_IdeateService_GetOperation,
800
+ callback);
801
+ };
802
+
803
+
804
+ /**
805
+ * @param {!proto.google.longrunning.GetOperationRequest} request The
806
+ * request proto
807
+ * @param {?Object<string, string>=} metadata User defined
808
+ * call metadata
809
+ * @return {!Promise<!proto.google.longrunning.Operation>}
810
+ * Promise that resolves to the response
811
+ */
812
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.getOperation =
813
+ function(request, metadata) {
814
+ return this.client_.unaryCall(this.hostname_ +
815
+ '/alis.ideate.IdeateService/GetOperation',
816
+ request,
817
+ metadata || {},
818
+ methodDescriptor_IdeateService_GetOperation);
819
+ };
820
+
821
+
822
+ module.exports = proto.alis.ideate;