1impl crate::Client {
3 pub async fn memory_get(
5 &self,
6 request: crate::MemoryGetInput,
7 ) -> Result<crate::MemoryGetOutput, crate::Error> {
8 self.memory_get_with_options(request, crate::CallOptions::default())
9 .await
10 .map(|result| result.data)
11 .map_err(|failure| failure.error)
12 }
13 pub async fn memory_get_with_options(
15 &self,
16 request: crate::MemoryGetInput,
17 options: crate::CallOptions,
18 ) -> Result<crate::CallResult<crate::MemoryGetOutput>, crate::CallFailure> {
19 self.call("memory.get", &request, options).await
20 }
21 pub async fn memory_inspect(
23 &self,
24 request: crate::MemoryInspectInput,
25 ) -> Result<crate::MemoryInspectOutput, crate::Error> {
26 self.memory_inspect_with_options(request, crate::CallOptions::default())
27 .await
28 .map(|result| result.data)
29 .map_err(|failure| failure.error)
30 }
31 pub async fn memory_inspect_with_options(
33 &self,
34 request: crate::MemoryInspectInput,
35 options: crate::CallOptions,
36 ) -> Result<crate::CallResult<crate::MemoryInspectOutput>, crate::CallFailure> {
37 self.call("memory.inspect", &request, options).await
38 }
39 pub async fn memory_set(
41 &self,
42 request: crate::MemorySetInput,
43 ) -> Result<crate::MemorySetOutput, crate::Error> {
44 self.memory_set_with_options(request, crate::CallOptions::default())
45 .await
46 .map(|result| result.data)
47 .map_err(|failure| failure.error)
48 }
49 pub async fn memory_set_with_options(
51 &self,
52 request: crate::MemorySetInput,
53 options: crate::CallOptions,
54 ) -> Result<crate::CallResult<crate::MemorySetOutput>, crate::CallFailure> {
55 self.call("memory.set", &request, options).await
56 }
57 pub async fn memory_pin(
59 &self,
60 request: crate::MemoryPinInput,
61 ) -> Result<crate::MemorySetOutput, crate::Error> {
62 self.memory_pin_with_options(request, crate::CallOptions::default())
63 .await
64 .map(|result| result.data)
65 .map_err(|failure| failure.error)
66 }
67 pub async fn memory_pin_with_options(
69 &self,
70 request: crate::MemoryPinInput,
71 options: crate::CallOptions,
72 ) -> Result<crate::CallResult<crate::MemorySetOutput>, crate::CallFailure> {
73 self.call("memory.pin", &request, options).await
74 }
75 pub async fn memory_unpin(
77 &self,
78 request: crate::MemoryUnpinInput,
79 ) -> Result<crate::MemoryUnpinOutput, crate::Error> {
80 self.memory_unpin_with_options(request, crate::CallOptions::default())
81 .await
82 .map(|result| result.data)
83 .map_err(|failure| failure.error)
84 }
85 pub async fn memory_unpin_with_options(
87 &self,
88 request: crate::MemoryUnpinInput,
89 options: crate::CallOptions,
90 ) -> Result<crate::CallResult<crate::MemoryUnpinOutput>, crate::CallFailure> {
91 self.call("memory.unpin", &request, options).await
92 }
93 pub async fn memory_delete(
95 &self,
96 request: crate::MemoryDeleteInput,
97 ) -> Result<crate::MemoryDeleteOutput, crate::Error> {
98 self.memory_delete_with_options(request, crate::CallOptions::default())
99 .await
100 .map(|result| result.data)
101 .map_err(|failure| failure.error)
102 }
103 pub async fn memory_delete_with_options(
105 &self,
106 request: crate::MemoryDeleteInput,
107 options: crate::CallOptions,
108 ) -> Result<crate::CallResult<crate::MemoryDeleteOutput>, crate::CallFailure> {
109 self.call("memory.delete", &request, options).await
110 }
111 pub async fn memory_delete_version(
113 &self,
114 request: crate::MemoryDeleteVersionInput,
115 ) -> Result<crate::MemoryDeleteVersionOutput, crate::Error> {
116 self.memory_delete_version_with_options(request, crate::CallOptions::default())
117 .await
118 .map(|result| result.data)
119 .map_err(|failure| failure.error)
120 }
121 pub async fn memory_delete_version_with_options(
123 &self,
124 request: crate::MemoryDeleteVersionInput,
125 options: crate::CallOptions,
126 ) -> Result<crate::CallResult<crate::MemoryDeleteVersionOutput>, crate::CallFailure> {
127 self.call("memory.delete_version", &request, options).await
128 }
129 pub async fn memory_restore(
131 &self,
132 request: crate::MemoryRestoreInput,
133 ) -> Result<crate::MemoryRestoreOutput, crate::Error> {
134 self.memory_restore_with_options(request, crate::CallOptions::default())
135 .await
136 .map(|result| result.data)
137 .map_err(|failure| failure.error)
138 }
139 pub async fn memory_restore_with_options(
141 &self,
142 request: crate::MemoryRestoreInput,
143 options: crate::CallOptions,
144 ) -> Result<crate::CallResult<crate::MemoryRestoreOutput>, crate::CallFailure> {
145 self.call("memory.restore", &request, options).await
146 }
147 pub async fn memory_statuses(
149 &self,
150 request: crate::MemoryStatusesInput,
151 ) -> Result<crate::MemoryStatusesOutput, crate::Error> {
152 self.memory_statuses_with_options(request, crate::CallOptions::default())
153 .await
154 .map(|result| result.data)
155 .map_err(|failure| failure.error)
156 }
157 pub async fn memory_statuses_with_options(
159 &self,
160 request: crate::MemoryStatusesInput,
161 options: crate::CallOptions,
162 ) -> Result<crate::CallResult<crate::MemoryStatusesOutput>, crate::CallFailure> {
163 self.call("memory.statuses", &request, options).await
164 }
165 pub async fn memory_auto_retirements(
167 &self,
168 request: crate::MemoryAutoRetirementsInput,
169 ) -> Result<crate::MemoryAutoRetirementsOutput, crate::Error> {
170 self.memory_auto_retirements_with_options(request, crate::CallOptions::default())
171 .await
172 .map(|result| result.data)
173 .map_err(|failure| failure.error)
174 }
175 pub async fn memory_auto_retirements_with_options(
177 &self,
178 request: crate::MemoryAutoRetirementsInput,
179 options: crate::CallOptions,
180 ) -> Result<crate::CallResult<crate::MemoryAutoRetirementsOutput>, crate::CallFailure> {
181 self.call("memory.auto_retirements", &request, options)
182 .await
183 }
184 pub async fn memory_move(
186 &self,
187 request: crate::MemoryMoveInput,
188 ) -> Result<crate::MemoryMoveOutput, crate::Error> {
189 self.memory_move_with_options(request, crate::CallOptions::default())
190 .await
191 .map(|result| result.data)
192 .map_err(|failure| failure.error)
193 }
194 pub async fn memory_move_with_options(
196 &self,
197 request: crate::MemoryMoveInput,
198 options: crate::CallOptions,
199 ) -> Result<crate::CallResult<crate::MemoryMoveOutput>, crate::CallFailure> {
200 self.call("memory.move", &request, options).await
201 }
202 pub async fn memory_clear(
204 &self,
205 request: crate::MemoryClearInput,
206 ) -> Result<crate::MemoryClearOutput, crate::Error> {
207 self.memory_clear_with_options(request, crate::CallOptions::default())
208 .await
209 .map(|result| result.data)
210 .map_err(|failure| failure.error)
211 }
212 pub async fn memory_clear_with_options(
214 &self,
215 request: crate::MemoryClearInput,
216 options: crate::CallOptions,
217 ) -> Result<crate::CallResult<crate::MemoryClearOutput>, crate::CallFailure> {
218 self.call("memory.clear", &request, options).await
219 }
220 pub async fn memory_keys(
222 &self,
223 request: crate::MemoryKeysInput,
224 ) -> Result<crate::MemoryKeysOutput, crate::Error> {
225 self.memory_keys_with_options(request, crate::CallOptions::default())
226 .await
227 .map(|result| result.data)
228 .map_err(|failure| failure.error)
229 }
230 pub async fn memory_keys_with_options(
232 &self,
233 request: crate::MemoryKeysInput,
234 options: crate::CallOptions,
235 ) -> Result<crate::CallResult<crate::MemoryKeysOutput>, crate::CallFailure> {
236 self.call("memory.keys", &request, options).await
237 }
238 pub async fn memory_list(
240 &self,
241 request: crate::MemoryListInput,
242 ) -> Result<crate::MemoryListOutput, crate::Error> {
243 self.memory_list_with_options(request, crate::CallOptions::default())
244 .await
245 .map(|result| result.data)
246 .map_err(|failure| failure.error)
247 }
248 pub async fn memory_list_with_options(
250 &self,
251 request: crate::MemoryListInput,
252 options: crate::CallOptions,
253 ) -> Result<crate::CallResult<crate::MemoryListOutput>, crate::CallFailure> {
254 self.call("memory.list", &request, options).await
255 }
256 pub async fn memory_related(
258 &self,
259 request: crate::MemoryRelatedInput,
260 ) -> Result<crate::MemoryRelatedOutput, crate::Error> {
261 self.memory_related_with_options(request, crate::CallOptions::default())
262 .await
263 .map(|result| result.data)
264 .map_err(|failure| failure.error)
265 }
266 pub async fn memory_related_with_options(
268 &self,
269 request: crate::MemoryRelatedInput,
270 options: crate::CallOptions,
271 ) -> Result<crate::CallResult<crate::MemoryRelatedOutput>, crate::CallFailure> {
272 self.call("memory.related", &request, options).await
273 }
274 pub async fn memory_for_file(
276 &self,
277 request: crate::MemoryForFileInput,
278 ) -> Result<crate::MemoryForFileOutput, crate::Error> {
279 self.memory_for_file_with_options(request, crate::CallOptions::default())
280 .await
281 .map(|result| result.data)
282 .map_err(|failure| failure.error)
283 }
284 pub async fn memory_for_file_with_options(
286 &self,
287 request: crate::MemoryForFileInput,
288 options: crate::CallOptions,
289 ) -> Result<crate::CallResult<crate::MemoryForFileOutput>, crate::CallFailure> {
290 self.call("memory.for_file", &request, options).await
291 }
292 pub async fn memory_search(
294 &self,
295 request: crate::MemorySearchInput,
296 ) -> Result<crate::MemorySearchOutput, crate::Error> {
297 self.memory_search_with_options(request, crate::CallOptions::default())
298 .await
299 .map(|result| result.data)
300 .map_err(|failure| failure.error)
301 }
302 pub async fn memory_search_with_options(
304 &self,
305 request: crate::MemorySearchInput,
306 options: crate::CallOptions,
307 ) -> Result<crate::CallResult<crate::MemorySearchOutput>, crate::CallFailure> {
308 self.call("memory.search", &request, options).await
309 }
310 pub async fn memory_search_trace(
312 &self,
313 request: crate::MemorySearchTraceInput,
314 ) -> Result<crate::MemorySearchTraceOutput, crate::Error> {
315 self.memory_search_trace_with_options(request, crate::CallOptions::default())
316 .await
317 .map(|result| result.data)
318 .map_err(|failure| failure.error)
319 }
320 pub async fn memory_search_trace_with_options(
322 &self,
323 request: crate::MemorySearchTraceInput,
324 options: crate::CallOptions,
325 ) -> Result<crate::CallResult<crate::MemorySearchTraceOutput>, crate::CallFailure> {
326 self.call("memory.search_trace", &request, options).await
327 }
328 pub async fn memory_search_trace_log(
330 &self,
331 request: crate::SearchTraceLogInput,
332 ) -> Result<crate::SearchTraceLogOutput, crate::Error> {
333 self.memory_search_trace_log_with_options(request, crate::CallOptions::default())
334 .await
335 .map(|result| result.data)
336 .map_err(|failure| failure.error)
337 }
338 pub async fn memory_search_trace_log_with_options(
340 &self,
341 request: crate::SearchTraceLogInput,
342 options: crate::CallOptions,
343 ) -> Result<crate::CallResult<crate::SearchTraceLogOutput>, crate::CallFailure> {
344 self.call("memory.search_trace_log", &request, options)
345 .await
346 }
347 pub async fn memory_exposure_summary(
349 &self,
350 request: crate::ExposureSummaryInput,
351 ) -> Result<crate::ExposureSummaryOutput, crate::Error> {
352 self.memory_exposure_summary_with_options(request, crate::CallOptions::default())
353 .await
354 .map(|result| result.data)
355 .map_err(|failure| failure.error)
356 }
357 pub async fn memory_exposure_summary_with_options(
359 &self,
360 request: crate::ExposureSummaryInput,
361 options: crate::CallOptions,
362 ) -> Result<crate::CallResult<crate::ExposureSummaryOutput>, crate::CallFailure> {
363 self.call("memory.exposure_summary", &request, options)
364 .await
365 }
366 pub async fn memory_owner_report(
368 &self,
369 request: crate::MemoryOwnerReportInput,
370 ) -> Result<crate::MemoryOwnerReportOutput, crate::Error> {
371 self.memory_owner_report_with_options(request, crate::CallOptions::default())
372 .await
373 .map(|result| result.data)
374 .map_err(|failure| failure.error)
375 }
376 pub async fn memory_owner_report_with_options(
378 &self,
379 request: crate::MemoryOwnerReportInput,
380 options: crate::CallOptions,
381 ) -> Result<crate::CallResult<crate::MemoryOwnerReportOutput>, crate::CallFailure> {
382 self.call("memory.owner_report", &request, options).await
383 }
384 pub async fn memory_aggregate(
386 &self,
387 request: crate::MemoryAggregateInput,
388 ) -> Result<crate::MemoryAggregateOutput, crate::Error> {
389 self.memory_aggregate_with_options(request, crate::CallOptions::default())
390 .await
391 .map(|result| result.data)
392 .map_err(|failure| failure.error)
393 }
394 pub async fn memory_aggregate_with_options(
396 &self,
397 request: crate::MemoryAggregateInput,
398 options: crate::CallOptions,
399 ) -> Result<crate::CallResult<crate::MemoryAggregateOutput>, crate::CallFailure> {
400 self.call("memory.aggregate", &request, options).await
401 }
402 pub async fn memory_ask(
404 &self,
405 request: crate::MemoryAskInput,
406 ) -> Result<crate::MemoryAskOutput, crate::Error> {
407 self.memory_ask_with_options(request, crate::CallOptions::default())
408 .await
409 .map(|result| result.data)
410 .map_err(|failure| failure.error)
411 }
412 pub async fn memory_ask_with_options(
414 &self,
415 request: crate::MemoryAskInput,
416 options: crate::CallOptions,
417 ) -> Result<crate::CallResult<crate::MemoryAskOutput>, crate::CallFailure> {
418 self.call("memory.ask", &request, options).await
419 }
420 pub async fn memory_promote(
422 &self,
423 request: crate::MemoryPromoteInput,
424 ) -> Result<crate::MemoryPromoteOutput, crate::Error> {
425 self.memory_promote_with_options(request, crate::CallOptions::default())
426 .await
427 .map(|result| result.data)
428 .map_err(|failure| failure.error)
429 }
430 pub async fn memory_promote_with_options(
432 &self,
433 request: crate::MemoryPromoteInput,
434 options: crate::CallOptions,
435 ) -> Result<crate::CallResult<crate::MemoryPromoteOutput>, crate::CallFailure> {
436 self.call("memory.promote", &request, options).await
437 }
438 pub async fn memory_demote(
440 &self,
441 request: crate::MemoryDemoteInput,
442 ) -> Result<crate::MemoryDemoteOutput, crate::Error> {
443 self.memory_demote_with_options(request, crate::CallOptions::default())
444 .await
445 .map(|result| result.data)
446 .map_err(|failure| failure.error)
447 }
448 pub async fn memory_demote_with_options(
450 &self,
451 request: crate::MemoryDemoteInput,
452 options: crate::CallOptions,
453 ) -> Result<crate::CallResult<crate::MemoryDemoteOutput>, crate::CallFailure> {
454 self.call("memory.demote", &request, options).await
455 }
456 pub async fn memory_definitions_list(
458 &self,
459 request: crate::MemoryDefinitionsListInput,
460 ) -> Result<crate::MemoryDefinitionsListOutput, crate::Error> {
461 self.memory_definitions_list_with_options(request, crate::CallOptions::default())
462 .await
463 .map(|result| result.data)
464 .map_err(|failure| failure.error)
465 }
466 pub async fn memory_definitions_list_with_options(
468 &self,
469 request: crate::MemoryDefinitionsListInput,
470 options: crate::CallOptions,
471 ) -> Result<crate::CallResult<crate::MemoryDefinitionsListOutput>, crate::CallFailure> {
472 self.call("memory.definitions.list", &request, options)
473 .await
474 }
475 pub async fn memory_bulk_set(
477 &self,
478 request: crate::MemoryBulkSetInput,
479 ) -> Result<crate::MemoryBulkSetOutput, crate::Error> {
480 self.memory_bulk_set_with_options(request, crate::CallOptions::default())
481 .await
482 .map(|result| result.data)
483 .map_err(|failure| failure.error)
484 }
485 pub async fn memory_bulk_set_with_options(
487 &self,
488 request: crate::MemoryBulkSetInput,
489 options: crate::CallOptions,
490 ) -> Result<crate::CallResult<crate::MemoryBulkSetOutput>, crate::CallFailure> {
491 self.call("memory.bulk_set", &request, options).await
492 }
493 pub async fn memory_append_batch(
495 &self,
496 request: crate::MemoryAppendBatchInput,
497 ) -> Result<crate::MemoryBulkSetOutput, crate::Error> {
498 self.memory_append_batch_with_options(request, crate::CallOptions::default())
499 .await
500 .map(|result| result.data)
501 .map_err(|failure| failure.error)
502 }
503 pub async fn memory_append_batch_with_options(
505 &self,
506 request: crate::MemoryAppendBatchInput,
507 options: crate::CallOptions,
508 ) -> Result<crate::CallResult<crate::MemoryBulkSetOutput>, crate::CallFailure> {
509 self.call("memory.append_batch", &request, options).await
510 }
511 pub async fn memory_set_from_messages(
513 &self,
514 request: crate::MemorySetFromMessagesInput,
515 ) -> Result<crate::MemorySetFromMessagesOutput, crate::Error> {
516 self.memory_set_from_messages_with_options(request, crate::CallOptions::default())
517 .await
518 .map(|result| result.data)
519 .map_err(|failure| failure.error)
520 }
521 pub async fn memory_set_from_messages_with_options(
523 &self,
524 request: crate::MemorySetFromMessagesInput,
525 options: crate::CallOptions,
526 ) -> Result<crate::CallResult<crate::MemorySetFromMessagesOutput>, crate::CallFailure> {
527 self.call("memory.set_from_messages", &request, options)
528 .await
529 }
530 pub async fn memory_bulk_get(
532 &self,
533 request: crate::MemoryBulkGetInput,
534 ) -> Result<crate::MemoryBulkGetOutput, crate::Error> {
535 self.memory_bulk_get_with_options(request, crate::CallOptions::default())
536 .await
537 .map(|result| result.data)
538 .map_err(|failure| failure.error)
539 }
540 pub async fn memory_bulk_get_with_options(
542 &self,
543 request: crate::MemoryBulkGetInput,
544 options: crate::CallOptions,
545 ) -> Result<crate::CallResult<crate::MemoryBulkGetOutput>, crate::CallFailure> {
546 self.call("memory.bulk_get", &request, options).await
547 }
548 pub async fn memory_extraction_status(
550 &self,
551 request: crate::MemoryExtractionStatusInput,
552 ) -> Result<crate::MemoryExtractionStatusOutput, crate::Error> {
553 self.memory_extraction_status_with_options(request, crate::CallOptions::default())
554 .await
555 .map(|result| result.data)
556 .map_err(|failure| failure.error)
557 }
558 pub async fn memory_extraction_status_with_options(
560 &self,
561 request: crate::MemoryExtractionStatusInput,
562 options: crate::CallOptions,
563 ) -> Result<crate::CallResult<crate::MemoryExtractionStatusOutput>, crate::CallFailure> {
564 self.call("memory.extraction_status", &request, options)
565 .await
566 }
567 pub async fn memory_extraction_status_mine(
569 &self,
570 request: crate::MemoryExtractionStatusMineInput,
571 ) -> Result<crate::MemoryExtractionStatusMineOutput, crate::Error> {
572 self.memory_extraction_status_mine_with_options(request, crate::CallOptions::default())
573 .await
574 .map(|result| result.data)
575 .map_err(|failure| failure.error)
576 }
577 pub async fn memory_extraction_status_mine_with_options(
579 &self,
580 request: crate::MemoryExtractionStatusMineInput,
581 options: crate::CallOptions,
582 ) -> Result<crate::CallResult<crate::MemoryExtractionStatusMineOutput>, crate::CallFailure>
583 {
584 self.call("memory.extraction_status_mine", &request, options)
585 .await
586 }
587 pub async fn memory_extraction_retry_mine(
589 &self,
590 request: crate::MemoryExtractionRetryMineInput,
591 ) -> Result<crate::MemoryExtractionRetryMineOutput, crate::Error> {
592 self.memory_extraction_retry_mine_with_options(request, crate::CallOptions::default())
593 .await
594 .map(|result| result.data)
595 .map_err(|failure| failure.error)
596 }
597 pub async fn memory_extraction_retry_mine_with_options(
599 &self,
600 request: crate::MemoryExtractionRetryMineInput,
601 options: crate::CallOptions,
602 ) -> Result<crate::CallResult<crate::MemoryExtractionRetryMineOutput>, crate::CallFailure> {
603 self.call("memory.extraction_retry_mine", &request, options)
604 .await
605 }
606 pub async fn memory_touch(
608 &self,
609 request: crate::MemoryTouchInput,
610 ) -> Result<crate::MemoryTouchOutput, crate::Error> {
611 self.memory_touch_with_options(request, crate::CallOptions::default())
612 .await
613 .map(|result| result.data)
614 .map_err(|failure| failure.error)
615 }
616 pub async fn memory_touch_with_options(
618 &self,
619 request: crate::MemoryTouchInput,
620 options: crate::CallOptions,
621 ) -> Result<crate::CallResult<crate::MemoryTouchOutput>, crate::CallFailure> {
622 self.call("memory.touch", &request, options).await
623 }
624 pub async fn memory_lock(
626 &self,
627 request: crate::MemoryLockInput,
628 ) -> Result<crate::MemoryLockOutput, crate::Error> {
629 self.memory_lock_with_options(request, crate::CallOptions::default())
630 .await
631 .map(|result| result.data)
632 .map_err(|failure| failure.error)
633 }
634 pub async fn memory_lock_with_options(
636 &self,
637 request: crate::MemoryLockInput,
638 options: crate::CallOptions,
639 ) -> Result<crate::CallResult<crate::MemoryLockOutput>, crate::CallFailure> {
640 self.call("memory.lock", &request, options).await
641 }
642 pub async fn memory_unlock(
644 &self,
645 request: crate::MemoryUnlockInput,
646 ) -> Result<crate::MemoryUnlockOutput, crate::Error> {
647 self.memory_unlock_with_options(request, crate::CallOptions::default())
648 .await
649 .map(|result| result.data)
650 .map_err(|failure| failure.error)
651 }
652 pub async fn memory_unlock_with_options(
654 &self,
655 request: crate::MemoryUnlockInput,
656 options: crate::CallOptions,
657 ) -> Result<crate::CallResult<crate::MemoryUnlockOutput>, crate::CallFailure> {
658 self.call("memory.unlock", &request, options).await
659 }
660 pub async fn memory_sweep_expired(
662 &self,
663 request: crate::MemorySweepExpiredInput,
664 ) -> Result<crate::MemorySweepExpiredOutput, crate::Error> {
665 self.memory_sweep_expired_with_options(request, crate::CallOptions::default())
666 .await
667 .map(|result| result.data)
668 .map_err(|failure| failure.error)
669 }
670 pub async fn memory_sweep_expired_with_options(
672 &self,
673 request: crate::MemorySweepExpiredInput,
674 options: crate::CallOptions,
675 ) -> Result<crate::CallResult<crate::MemorySweepExpiredOutput>, crate::CallFailure> {
676 self.call("memory.sweep_expired", &request, options).await
677 }
678 pub async fn memory_apply(
680 &self,
681 request: crate::MemoryApplyInput,
682 ) -> Result<crate::MemoryApplyOutput, crate::Error> {
683 self.memory_apply_with_options(request, crate::CallOptions::default())
684 .await
685 .map(|result| result.data)
686 .map_err(|failure| failure.error)
687 }
688 pub async fn memory_apply_with_options(
690 &self,
691 request: crate::MemoryApplyInput,
692 options: crate::CallOptions,
693 ) -> Result<crate::CallResult<crate::MemoryApplyOutput>, crate::CallFailure> {
694 self.call("memory.apply", &request, options).await
695 }
696 pub async fn memory_get_by_id(
698 &self,
699 request: crate::MemoryGetByIdInput,
700 ) -> Result<crate::MemoryGetByIdOutput, crate::Error> {
701 self.memory_get_by_id_with_options(request, crate::CallOptions::default())
702 .await
703 .map(|result| result.data)
704 .map_err(|failure| failure.error)
705 }
706 pub async fn memory_get_by_id_with_options(
708 &self,
709 request: crate::MemoryGetByIdInput,
710 options: crate::CallOptions,
711 ) -> Result<crate::CallResult<crate::MemoryGetByIdOutput>, crate::CallFailure> {
712 self.call("memory.get_by_id", &request, options).await
713 }
714 pub async fn memory_update(
716 &self,
717 request: crate::MemoryUpdateInput,
718 ) -> Result<crate::MemoryUpdateOutput, crate::Error> {
719 self.memory_update_with_options(request, crate::CallOptions::default())
720 .await
721 .map(|result| result.data)
722 .map_err(|failure| failure.error)
723 }
724 pub async fn memory_update_with_options(
726 &self,
727 request: crate::MemoryUpdateInput,
728 options: crate::CallOptions,
729 ) -> Result<crate::CallResult<crate::MemoryUpdateOutput>, crate::CallFailure> {
730 self.call("memory.update", &request, options).await
731 }
732 pub async fn memory_update_by_id(
734 &self,
735 request: crate::MemoryUpdateByIdInput,
736 ) -> Result<crate::MemoryUpdateByIdOutput, crate::Error> {
737 self.memory_update_by_id_with_options(request, crate::CallOptions::default())
738 .await
739 .map(|result| result.data)
740 .map_err(|failure| failure.error)
741 }
742 pub async fn memory_update_by_id_with_options(
744 &self,
745 request: crate::MemoryUpdateByIdInput,
746 options: crate::CallOptions,
747 ) -> Result<crate::CallResult<crate::MemoryUpdateByIdOutput>, crate::CallFailure> {
748 self.call("memory.update_by_id", &request, options).await
749 }
750 pub async fn memory_verify(
752 &self,
753 request: crate::MemoryVerifyInput,
754 ) -> Result<crate::MemoryVerifyOutput, crate::Error> {
755 self.memory_verify_with_options(request, crate::CallOptions::default())
756 .await
757 .map(|result| result.data)
758 .map_err(|failure| failure.error)
759 }
760 pub async fn memory_verify_with_options(
762 &self,
763 request: crate::MemoryVerifyInput,
764 options: crate::CallOptions,
765 ) -> Result<crate::CallResult<crate::MemoryVerifyOutput>, crate::CallFailure> {
766 self.call("memory.verify", &request, options).await
767 }
768 pub async fn memory_redact(
770 &self,
771 request: crate::MemoryRedactInput,
772 ) -> Result<crate::MemoryRedactOutput, crate::Error> {
773 self.memory_redact_with_options(request, crate::CallOptions::default())
774 .await
775 .map(|result| result.data)
776 .map_err(|failure| failure.error)
777 }
778 pub async fn memory_redact_with_options(
780 &self,
781 request: crate::MemoryRedactInput,
782 options: crate::CallOptions,
783 ) -> Result<crate::CallResult<crate::MemoryRedactOutput>, crate::CallFailure> {
784 self.call("memory.redact", &request, options).await
785 }
786 pub async fn memory_digests(
788 &self,
789 request: crate::MemoryDigestsInput,
790 ) -> Result<crate::MemoryDigestsOutput, crate::Error> {
791 self.memory_digests_with_options(request, crate::CallOptions::default())
792 .await
793 .map(|result| result.data)
794 .map_err(|failure| failure.error)
795 }
796 pub async fn memory_digests_with_options(
798 &self,
799 request: crate::MemoryDigestsInput,
800 options: crate::CallOptions,
801 ) -> Result<crate::CallResult<crate::MemoryDigestsOutput>, crate::CallFailure> {
802 self.call("memory.digests", &request, options).await
803 }
804 pub async fn memory_outline(
806 &self,
807 request: crate::MemoryOutlineInput,
808 ) -> Result<crate::MemoryOutlineOutput, crate::Error> {
809 self.memory_outline_with_options(request, crate::CallOptions::default())
810 .await
811 .map(|result| result.data)
812 .map_err(|failure| failure.error)
813 }
814 pub async fn memory_outline_with_options(
816 &self,
817 request: crate::MemoryOutlineInput,
818 options: crate::CallOptions,
819 ) -> Result<crate::CallResult<crate::MemoryOutlineOutput>, crate::CallFailure> {
820 self.call("memory.outline", &request, options).await
821 }
822 pub async fn memory_backlinks(
824 &self,
825 request: crate::MemoryBacklinksInput,
826 ) -> Result<crate::MemoryBacklinksOutput, crate::Error> {
827 self.memory_backlinks_with_options(request, crate::CallOptions::default())
828 .await
829 .map(|result| result.data)
830 .map_err(|failure| failure.error)
831 }
832 pub async fn memory_backlinks_with_options(
834 &self,
835 request: crate::MemoryBacklinksInput,
836 options: crate::CallOptions,
837 ) -> Result<crate::CallResult<crate::MemoryBacklinksOutput>, crate::CallFailure> {
838 self.call("memory.backlinks", &request, options).await
839 }
840 pub async fn memory_history(
842 &self,
843 request: crate::MemoryHistoryInput,
844 ) -> Result<crate::MemoryHistoryOutput, crate::Error> {
845 self.memory_history_with_options(request, crate::CallOptions::default())
846 .await
847 .map(|result| result.data)
848 .map_err(|failure| failure.error)
849 }
850 pub async fn memory_history_with_options(
852 &self,
853 request: crate::MemoryHistoryInput,
854 options: crate::CallOptions,
855 ) -> Result<crate::CallResult<crate::MemoryHistoryOutput>, crate::CallFailure> {
856 self.call("memory.history", &request, options).await
857 }
858 pub async fn memory_recall(
860 &self,
861 request: crate::MemoryRecallInput,
862 ) -> Result<crate::MemoryRecallOutput, crate::Error> {
863 self.memory_recall_with_options(request, crate::CallOptions::default())
864 .await
865 .map(|result| result.data)
866 .map_err(|failure| failure.error)
867 }
868 pub async fn memory_recall_with_options(
870 &self,
871 request: crate::MemoryRecallInput,
872 options: crate::CallOptions,
873 ) -> Result<crate::CallResult<crate::MemoryRecallOutput>, crate::CallFailure> {
874 self.call("memory.recall", &request, options).await
875 }
876 pub async fn memory_export_evidence(
878 &self,
879 request: crate::MemoryExportEvidenceInput,
880 ) -> Result<crate::MemoryExportEvidenceOutput, crate::Error> {
881 self.memory_export_evidence_with_options(request, crate::CallOptions::default())
882 .await
883 .map(|result| result.data)
884 .map_err(|failure| failure.error)
885 }
886 pub async fn memory_export_evidence_with_options(
888 &self,
889 request: crate::MemoryExportEvidenceInput,
890 options: crate::CallOptions,
891 ) -> Result<crate::CallResult<crate::MemoryExportEvidenceOutput>, crate::CallFailure> {
892 self.call("memory.export_evidence", &request, options).await
893 }
894 pub async fn memory_import_evidence(
896 &self,
897 request: crate::MemoryImportEvidenceInput,
898 ) -> Result<crate::MemoryImportEvidenceOutput, crate::Error> {
899 self.memory_import_evidence_with_options(request, crate::CallOptions::default())
900 .await
901 .map(|result| result.data)
902 .map_err(|failure| failure.error)
903 }
904 pub async fn memory_import_evidence_with_options(
906 &self,
907 request: crate::MemoryImportEvidenceInput,
908 options: crate::CallOptions,
909 ) -> Result<crate::CallResult<crate::MemoryImportEvidenceOutput>, crate::CallFailure> {
910 self.call("memory.import_evidence", &request, options).await
911 }
912 pub async fn memory_timeline(
914 &self,
915 request: crate::MemoryTimelineInput,
916 ) -> Result<crate::MemoryTimelineOutput, crate::Error> {
917 self.memory_timeline_with_options(request, crate::CallOptions::default())
918 .await
919 .map(|result| result.data)
920 .map_err(|failure| failure.error)
921 }
922 pub async fn memory_timeline_with_options(
924 &self,
925 request: crate::MemoryTimelineInput,
926 options: crate::CallOptions,
927 ) -> Result<crate::CallResult<crate::MemoryTimelineOutput>, crate::CallFailure> {
928 self.call("memory.timeline", &request, options).await
929 }
930 pub async fn memory_lineage(
932 &self,
933 request: crate::MemoryLineageInput,
934 ) -> Result<crate::MemoryLineageOutput, crate::Error> {
935 self.memory_lineage_with_options(request, crate::CallOptions::default())
936 .await
937 .map(|result| result.data)
938 .map_err(|failure| failure.error)
939 }
940 pub async fn memory_lineage_with_options(
942 &self,
943 request: crate::MemoryLineageInput,
944 options: crate::CallOptions,
945 ) -> Result<crate::CallResult<crate::MemoryLineageOutput>, crate::CallFailure> {
946 self.call("memory.lineage", &request, options).await
947 }
948 pub async fn memory_dedup_list(
950 &self,
951 request: crate::MemoryDedupListInput,
952 ) -> Result<crate::MemoryDedupListOutput, crate::Error> {
953 self.memory_dedup_list_with_options(request, crate::CallOptions::default())
954 .await
955 .map(|result| result.data)
956 .map_err(|failure| failure.error)
957 }
958 pub async fn memory_dedup_list_with_options(
960 &self,
961 request: crate::MemoryDedupListInput,
962 options: crate::CallOptions,
963 ) -> Result<crate::CallResult<crate::MemoryDedupListOutput>, crate::CallFailure> {
964 self.call("memory.dedup_list", &request, options).await
965 }
966 pub async fn memory_dedup_resolve(
968 &self,
969 request: crate::MemoryDedupResolveInput,
970 ) -> Result<crate::MemoryDedupResolveOutput, crate::Error> {
971 self.memory_dedup_resolve_with_options(request, crate::CallOptions::default())
972 .await
973 .map(|result| result.data)
974 .map_err(|failure| failure.error)
975 }
976 pub async fn memory_dedup_resolve_with_options(
978 &self,
979 request: crate::MemoryDedupResolveInput,
980 options: crate::CallOptions,
981 ) -> Result<crate::CallResult<crate::MemoryDedupResolveOutput>, crate::CallFailure> {
982 self.call("memory.dedup_resolve", &request, options).await
983 }
984 pub async fn memory_dedup_collapse(
986 &self,
987 request: crate::MemoryDedupCollapseInput,
988 ) -> Result<crate::MemoryDedupCollapseOutput, crate::Error> {
989 self.memory_dedup_collapse_with_options(request, crate::CallOptions::default())
990 .await
991 .map(|result| result.data)
992 .map_err(|failure| failure.error)
993 }
994 pub async fn memory_dedup_collapse_with_options(
996 &self,
997 request: crate::MemoryDedupCollapseInput,
998 options: crate::CallOptions,
999 ) -> Result<crate::CallResult<crate::MemoryDedupCollapseOutput>, crate::CallFailure> {
1000 self.call("memory.dedup_collapse", &request, options).await
1001 }
1002 pub async fn memory_outcome(
1004 &self,
1005 request: crate::MemoryOutcomeInput,
1006 ) -> Result<crate::MemoryOutcomeOutput, crate::Error> {
1007 self.memory_outcome_with_options(request, crate::CallOptions::default())
1008 .await
1009 .map(|result| result.data)
1010 .map_err(|failure| failure.error)
1011 }
1012 pub async fn memory_outcome_with_options(
1014 &self,
1015 request: crate::MemoryOutcomeInput,
1016 options: crate::CallOptions,
1017 ) -> Result<crate::CallResult<crate::MemoryOutcomeOutput>, crate::CallFailure> {
1018 self.call("memory.outcome", &request, options).await
1019 }
1020 pub async fn memory_outcome_run(
1022 &self,
1023 request: crate::MemoryOutcomeRunInput,
1024 ) -> Result<crate::MemoryOutcomeRunOutput, crate::Error> {
1025 self.memory_outcome_run_with_options(request, crate::CallOptions::default())
1026 .await
1027 .map(|result| result.data)
1028 .map_err(|failure| failure.error)
1029 }
1030 pub async fn memory_outcome_run_with_options(
1032 &self,
1033 request: crate::MemoryOutcomeRunInput,
1034 options: crate::CallOptions,
1035 ) -> Result<crate::CallResult<crate::MemoryOutcomeRunOutput>, crate::CallFailure> {
1036 self.call("memory.outcome_run", &request, options).await
1037 }
1038 pub async fn memory_cross_promote(
1040 &self,
1041 request: crate::MemoryCrossPromoteInput,
1042 ) -> Result<crate::MemoryCrossPromoteOutput, crate::Error> {
1043 self.memory_cross_promote_with_options(request, crate::CallOptions::default())
1044 .await
1045 .map(|result| result.data)
1046 .map_err(|failure| failure.error)
1047 }
1048 pub async fn memory_cross_promote_with_options(
1050 &self,
1051 request: crate::MemoryCrossPromoteInput,
1052 options: crate::CallOptions,
1053 ) -> Result<crate::CallResult<crate::MemoryCrossPromoteOutput>, crate::CallFailure> {
1054 self.call("memory.cross_promote", &request, options).await
1055 }
1056 pub async fn memory_copy_to(
1058 &self,
1059 request: crate::MemoryCopyToInput,
1060 ) -> Result<crate::MemoryCopyToOutput, crate::Error> {
1061 self.memory_copy_to_with_options(request, crate::CallOptions::default())
1062 .await
1063 .map(|result| result.data)
1064 .map_err(|failure| failure.error)
1065 }
1066 pub async fn memory_copy_to_with_options(
1068 &self,
1069 request: crate::MemoryCopyToInput,
1070 options: crate::CallOptions,
1071 ) -> Result<crate::CallResult<crate::MemoryCopyToOutput>, crate::CallFailure> {
1072 self.call("memory.copy_to", &request, options).await
1073 }
1074 pub async fn memory_provenance(
1076 &self,
1077 request: crate::MemoryProvenanceInput,
1078 ) -> Result<crate::MemoryProvenanceOutput, crate::Error> {
1079 self.memory_provenance_with_options(request, crate::CallOptions::default())
1080 .await
1081 .map(|result| result.data)
1082 .map_err(|failure| failure.error)
1083 }
1084 pub async fn memory_provenance_with_options(
1086 &self,
1087 request: crate::MemoryProvenanceInput,
1088 options: crate::CallOptions,
1089 ) -> Result<crate::CallResult<crate::MemoryProvenanceOutput>, crate::CallFailure> {
1090 self.call("memory.provenance", &request, options).await
1091 }
1092 pub async fn memory_evidence(
1094 &self,
1095 request: crate::MemoryEvidenceInput,
1096 ) -> Result<crate::MemoryEvidenceOutput, crate::Error> {
1097 self.memory_evidence_with_options(request, crate::CallOptions::default())
1098 .await
1099 .map(|result| result.data)
1100 .map_err(|failure| failure.error)
1101 }
1102 pub async fn memory_evidence_with_options(
1104 &self,
1105 request: crate::MemoryEvidenceInput,
1106 options: crate::CallOptions,
1107 ) -> Result<crate::CallResult<crate::MemoryEvidenceOutput>, crate::CallFailure> {
1108 self.call("memory.evidence", &request, options).await
1109 }
1110 pub async fn memory_reject(
1112 &self,
1113 request: crate::MemoryRejectInput,
1114 ) -> Result<crate::MemoryRejectOutput, crate::Error> {
1115 self.memory_reject_with_options(request, crate::CallOptions::default())
1116 .await
1117 .map(|result| result.data)
1118 .map_err(|failure| failure.error)
1119 }
1120 pub async fn memory_reject_with_options(
1122 &self,
1123 request: crate::MemoryRejectInput,
1124 options: crate::CallOptions,
1125 ) -> Result<crate::CallResult<crate::MemoryRejectOutput>, crate::CallFailure> {
1126 self.call("memory.reject", &request, options).await
1127 }
1128 pub async fn memory_proposals(
1130 &self,
1131 request: crate::MemoryProposalsInput,
1132 ) -> Result<crate::MemoryProposalsOutput, crate::Error> {
1133 self.memory_proposals_with_options(request, crate::CallOptions::default())
1134 .await
1135 .map(|result| result.data)
1136 .map_err(|failure| failure.error)
1137 }
1138 pub async fn memory_proposals_with_options(
1140 &self,
1141 request: crate::MemoryProposalsInput,
1142 options: crate::CallOptions,
1143 ) -> Result<crate::CallResult<crate::MemoryProposalsOutput>, crate::CallFailure> {
1144 self.call("memory.proposals", &request, options).await
1145 }
1146 pub async fn memory_proposal_decide(
1148 &self,
1149 request: crate::MemoryProposalDecideInput,
1150 ) -> Result<crate::MemoryProposalDecideOutput, crate::Error> {
1151 self.memory_proposal_decide_with_options(request, crate::CallOptions::default())
1152 .await
1153 .map(|result| result.data)
1154 .map_err(|failure| failure.error)
1155 }
1156 pub async fn memory_proposal_decide_with_options(
1158 &self,
1159 request: crate::MemoryProposalDecideInput,
1160 options: crate::CallOptions,
1161 ) -> Result<crate::CallResult<crate::MemoryProposalDecideOutput>, crate::CallFailure> {
1162 self.call("memory.proposal_decide", &request, options).await
1163 }
1164 pub async fn memory_consolidate(
1166 &self,
1167 request: crate::MemoryConsolidateInput,
1168 ) -> Result<crate::MemoryConsolidateOutput, crate::Error> {
1169 self.memory_consolidate_with_options(request, crate::CallOptions::default())
1170 .await
1171 .map(|result| result.data)
1172 .map_err(|failure| failure.error)
1173 }
1174 pub async fn memory_consolidate_with_options(
1176 &self,
1177 request: crate::MemoryConsolidateInput,
1178 options: crate::CallOptions,
1179 ) -> Result<crate::CallResult<crate::MemoryConsolidateOutput>, crate::CallFailure> {
1180 self.call("memory.consolidate", &request, options).await
1181 }
1182 pub async fn consolidations_list(
1184 &self,
1185 request: crate::ConsolidationsListInput,
1186 ) -> Result<crate::ConsolidationsListOutput, crate::Error> {
1187 self.consolidations_list_with_options(request, crate::CallOptions::default())
1188 .await
1189 .map(|result| result.data)
1190 .map_err(|failure| failure.error)
1191 }
1192 pub async fn consolidations_list_with_options(
1194 &self,
1195 request: crate::ConsolidationsListInput,
1196 options: crate::CallOptions,
1197 ) -> Result<crate::CallResult<crate::ConsolidationsListOutput>, crate::CallFailure> {
1198 self.call("consolidations.list", &request, options).await
1199 }
1200 pub async fn memory_agents_list(
1202 &self,
1203 request: crate::MemoryAgentsListInput,
1204 ) -> Result<crate::MemoryAgentsListOutput, crate::Error> {
1205 self.memory_agents_list_with_options(request, crate::CallOptions::default())
1206 .await
1207 .map(|result| result.data)
1208 .map_err(|failure| failure.error)
1209 }
1210 pub async fn memory_agents_list_with_options(
1212 &self,
1213 request: crate::MemoryAgentsListInput,
1214 options: crate::CallOptions,
1215 ) -> Result<crate::CallResult<crate::MemoryAgentsListOutput>, crate::CallFailure> {
1216 self.call("memory.agents_list", &request, options).await
1217 }
1218 pub async fn memory_health(
1220 &self,
1221 request: crate::MemoryHealthInput,
1222 ) -> Result<crate::MemoryHealthOutput, crate::Error> {
1223 self.memory_health_with_options(request, crate::CallOptions::default())
1224 .await
1225 .map(|result| result.data)
1226 .map_err(|failure| failure.error)
1227 }
1228 pub async fn memory_health_with_options(
1230 &self,
1231 request: crate::MemoryHealthInput,
1232 options: crate::CallOptions,
1233 ) -> Result<crate::CallResult<crate::MemoryHealthOutput>, crate::CallFailure> {
1234 self.call("memory.health", &request, options).await
1235 }
1236 pub async fn memory_reindex(
1238 &self,
1239 request: crate::MemoryReindexInput,
1240 ) -> Result<crate::MemoryReindexOutput, crate::Error> {
1241 self.memory_reindex_with_options(request, crate::CallOptions::default())
1242 .await
1243 .map(|result| result.data)
1244 .map_err(|failure| failure.error)
1245 }
1246 pub async fn memory_reindex_with_options(
1248 &self,
1249 request: crate::MemoryReindexInput,
1250 options: crate::CallOptions,
1251 ) -> Result<crate::CallResult<crate::MemoryReindexOutput>, crate::CallFailure> {
1252 self.call("memory.reindex", &request, options).await
1253 }
1254 pub async fn memory_resolve_orphan_duplicates(
1256 &self,
1257 request: crate::MemoryResolveOrphanDuplicatesInput,
1258 ) -> Result<crate::MemoryResolveOrphanDuplicatesOutput, crate::Error> {
1259 self.memory_resolve_orphan_duplicates_with_options(request, crate::CallOptions::default())
1260 .await
1261 .map(|result| result.data)
1262 .map_err(|failure| failure.error)
1263 }
1264 pub async fn memory_resolve_orphan_duplicates_with_options(
1266 &self,
1267 request: crate::MemoryResolveOrphanDuplicatesInput,
1268 options: crate::CallOptions,
1269 ) -> Result<crate::CallResult<crate::MemoryResolveOrphanDuplicatesOutput>, crate::CallFailure>
1270 {
1271 self.call("memory.resolve_orphan_duplicates", &request, options)
1272 .await
1273 }
1274 pub async fn memory_import_curated(
1276 &self,
1277 request: crate::MemoryImportCuratedInput,
1278 ) -> Result<crate::MemoryImportCuratedOutput, crate::Error> {
1279 self.memory_import_curated_with_options(request, crate::CallOptions::default())
1280 .await
1281 .map(|result| result.data)
1282 .map_err(|failure| failure.error)
1283 }
1284 pub async fn memory_import_curated_with_options(
1286 &self,
1287 request: crate::MemoryImportCuratedInput,
1288 options: crate::CallOptions,
1289 ) -> Result<crate::CallResult<crate::MemoryImportCuratedOutput>, crate::CallFailure> {
1290 self.call("memory.import_curated", &request, options).await
1291 }
1292 pub async fn memory_import(
1294 &self,
1295 request: crate::MemoryImportInput,
1296 ) -> Result<crate::MemoryImportOutput, crate::Error> {
1297 self.memory_import_with_options(request, crate::CallOptions::default())
1298 .await
1299 .map(|result| result.data)
1300 .map_err(|failure| failure.error)
1301 }
1302 pub async fn memory_import_with_options(
1304 &self,
1305 request: crate::MemoryImportInput,
1306 options: crate::CallOptions,
1307 ) -> Result<crate::CallResult<crate::MemoryImportOutput>, crate::CallFailure> {
1308 self.call("memory.import", &request, options).await
1309 }
1310 pub async fn memory_link(
1312 &self,
1313 request: crate::MemoryLinkInput,
1314 ) -> Result<crate::MemoryLinkOutput, crate::Error> {
1315 self.memory_link_with_options(request, crate::CallOptions::default())
1316 .await
1317 .map(|result| result.data)
1318 .map_err(|failure| failure.error)
1319 }
1320 pub async fn memory_link_with_options(
1322 &self,
1323 request: crate::MemoryLinkInput,
1324 options: crate::CallOptions,
1325 ) -> Result<crate::CallResult<crate::MemoryLinkOutput>, crate::CallFailure> {
1326 self.call("memory.link", &request, options).await
1327 }
1328 pub async fn memory_assign_category(
1330 &self,
1331 request: crate::MemoryAssignCategoryInput,
1332 ) -> Result<crate::MemoryAssignCategoryOutput, crate::Error> {
1333 self.memory_assign_category_with_options(request, crate::CallOptions::default())
1334 .await
1335 .map(|result| result.data)
1336 .map_err(|failure| failure.error)
1337 }
1338 pub async fn memory_assign_category_with_options(
1340 &self,
1341 request: crate::MemoryAssignCategoryInput,
1342 options: crate::CallOptions,
1343 ) -> Result<crate::CallResult<crate::MemoryAssignCategoryOutput>, crate::CallFailure> {
1344 self.call("memory.assign_category", &request, options).await
1345 }
1346 pub async fn memory_stack(
1348 &self,
1349 request: crate::MemoryStackInput,
1350 ) -> Result<crate::MemoryStackOutput, crate::Error> {
1351 self.memory_stack_with_options(request, crate::CallOptions::default())
1352 .await
1353 .map(|result| result.data)
1354 .map_err(|failure| failure.error)
1355 }
1356 pub async fn memory_stack_with_options(
1358 &self,
1359 request: crate::MemoryStackInput,
1360 options: crate::CallOptions,
1361 ) -> Result<crate::CallResult<crate::MemoryStackOutput>, crate::CallFailure> {
1362 self.call("memory.stack", &request, options).await
1363 }
1364 pub async fn memory_brief(
1366 &self,
1367 request: crate::MemoryBriefInput,
1368 ) -> Result<crate::MemoryBriefOutput, crate::Error> {
1369 self.memory_brief_with_options(request, crate::CallOptions::default())
1370 .await
1371 .map(|result| result.data)
1372 .map_err(|failure| failure.error)
1373 }
1374 pub async fn memory_brief_with_options(
1376 &self,
1377 request: crate::MemoryBriefInput,
1378 options: crate::CallOptions,
1379 ) -> Result<crate::CallResult<crate::MemoryBriefOutput>, crate::CallFailure> {
1380 self.call("memory.brief", &request, options).await
1381 }
1382 pub async fn memory_schema_register(
1384 &self,
1385 request: crate::MemorySchemaRegisterInput,
1386 ) -> Result<crate::MemorySchemaRegisterOutput, crate::Error> {
1387 self.memory_schema_register_with_options(request, crate::CallOptions::default())
1388 .await
1389 .map(|result| result.data)
1390 .map_err(|failure| failure.error)
1391 }
1392 pub async fn memory_schema_register_with_options(
1394 &self,
1395 request: crate::MemorySchemaRegisterInput,
1396 options: crate::CallOptions,
1397 ) -> Result<crate::CallResult<crate::MemorySchemaRegisterOutput>, crate::CallFailure> {
1398 self.call("memory_schema.register", &request, options).await
1399 }
1400 pub async fn memory_schema_list(
1402 &self,
1403 request: crate::MemorySchemaListInput,
1404 ) -> Result<crate::MemorySchemaListOutput, crate::Error> {
1405 self.memory_schema_list_with_options(request, crate::CallOptions::default())
1406 .await
1407 .map(|result| result.data)
1408 .map_err(|failure| failure.error)
1409 }
1410 pub async fn memory_schema_list_with_options(
1412 &self,
1413 request: crate::MemorySchemaListInput,
1414 options: crate::CallOptions,
1415 ) -> Result<crate::CallResult<crate::MemorySchemaListOutput>, crate::CallFailure> {
1416 self.call("memory_schema.list", &request, options).await
1417 }
1418 pub async fn memory_schema_propose(
1420 &self,
1421 request: crate::MemorySchemaProposeInput,
1422 ) -> Result<crate::MemorySchemaRegisterOutput, crate::Error> {
1423 self.memory_schema_propose_with_options(request, crate::CallOptions::default())
1424 .await
1425 .map(|result| result.data)
1426 .map_err(|failure| failure.error)
1427 }
1428 pub async fn memory_schema_propose_with_options(
1430 &self,
1431 request: crate::MemorySchemaProposeInput,
1432 options: crate::CallOptions,
1433 ) -> Result<crate::CallResult<crate::MemorySchemaRegisterOutput>, crate::CallFailure> {
1434 self.call("memory_schema.propose", &request, options).await
1435 }
1436 pub async fn memory_schema_approve(
1438 &self,
1439 request: crate::MemorySchemaDecisionInput,
1440 ) -> Result<crate::MemorySchemaDecisionOutput, crate::Error> {
1441 self.memory_schema_approve_with_options(request, crate::CallOptions::default())
1442 .await
1443 .map(|result| result.data)
1444 .map_err(|failure| failure.error)
1445 }
1446 pub async fn memory_schema_approve_with_options(
1448 &self,
1449 request: crate::MemorySchemaDecisionInput,
1450 options: crate::CallOptions,
1451 ) -> Result<crate::CallResult<crate::MemorySchemaDecisionOutput>, crate::CallFailure> {
1452 self.call("memory_schema.approve", &request, options).await
1453 }
1454 pub async fn memory_record_write(
1456 &self,
1457 request: crate::MemoryRecordWriteInput,
1458 ) -> Result<crate::MemoryRecordWriteOutput, crate::Error> {
1459 self.memory_record_write_with_options(request, crate::CallOptions::default())
1460 .await
1461 .map(|result| result.data)
1462 .map_err(|failure| failure.error)
1463 }
1464 pub async fn memory_record_write_with_options(
1466 &self,
1467 request: crate::MemoryRecordWriteInput,
1468 options: crate::CallOptions,
1469 ) -> Result<crate::CallResult<crate::MemoryRecordWriteOutput>, crate::CallFailure> {
1470 self.call("memory.record.write", &request, options).await
1471 }
1472 pub async fn memory_record_query(
1474 &self,
1475 request: crate::MemoryRecordQueryInput,
1476 ) -> Result<crate::MemoryRecordQueryOutput, crate::Error> {
1477 self.memory_record_query_with_options(request, crate::CallOptions::default())
1478 .await
1479 .map(|result| result.data)
1480 .map_err(|failure| failure.error)
1481 }
1482 pub async fn memory_record_query_with_options(
1484 &self,
1485 request: crate::MemoryRecordQueryInput,
1486 options: crate::CallOptions,
1487 ) -> Result<crate::CallResult<crate::MemoryRecordQueryOutput>, crate::CallFailure> {
1488 self.call("memory.record.query", &request, options).await
1489 }
1490 pub async fn memory_record_history(
1492 &self,
1493 request: crate::MemoryRecordHistoryInput,
1494 ) -> Result<crate::MemoryRecordHistoryOutput, crate::Error> {
1495 self.memory_record_history_with_options(request, crate::CallOptions::default())
1496 .await
1497 .map(|result| result.data)
1498 .map_err(|failure| failure.error)
1499 }
1500 pub async fn memory_record_history_with_options(
1502 &self,
1503 request: crate::MemoryRecordHistoryInput,
1504 options: crate::CallOptions,
1505 ) -> Result<crate::CallResult<crate::MemoryRecordHistoryOutput>, crate::CallFailure> {
1506 self.call("memory.record.history", &request, options).await
1507 }
1508 pub async fn memory_record_conflicts(
1510 &self,
1511 request: crate::MemoryRecordConflictsInput,
1512 ) -> Result<crate::MemoryRecordConflictsOutput, crate::Error> {
1513 self.memory_record_conflicts_with_options(request, crate::CallOptions::default())
1514 .await
1515 .map(|result| result.data)
1516 .map_err(|failure| failure.error)
1517 }
1518 pub async fn memory_record_conflicts_with_options(
1520 &self,
1521 request: crate::MemoryRecordConflictsInput,
1522 options: crate::CallOptions,
1523 ) -> Result<crate::CallResult<crate::MemoryRecordConflictsOutput>, crate::CallFailure> {
1524 self.call("memory.record.conflicts", &request, options)
1525 .await
1526 }
1527 pub async fn knowledge_add(
1529 &self,
1530 request: crate::KnowledgeAddInput,
1531 ) -> Result<crate::KnowledgeAddOutput, crate::Error> {
1532 self.knowledge_add_with_options(request, crate::CallOptions::default())
1533 .await
1534 .map(|result| result.data)
1535 .map_err(|failure| failure.error)
1536 }
1537 pub async fn knowledge_add_with_options(
1539 &self,
1540 request: crate::KnowledgeAddInput,
1541 options: crate::CallOptions,
1542 ) -> Result<crate::CallResult<crate::KnowledgeAddOutput>, crate::CallFailure> {
1543 self.call("knowledge.add", &request, options).await
1544 }
1545 pub async fn knowledge_reads(
1547 &self,
1548 request: crate::KnowledgeReadsInput,
1549 ) -> Result<crate::KnowledgeReadsOutput, crate::Error> {
1550 self.knowledge_reads_with_options(request, crate::CallOptions::default())
1551 .await
1552 .map(|result| result.data)
1553 .map_err(|failure| failure.error)
1554 }
1555 pub async fn knowledge_reads_with_options(
1557 &self,
1558 request: crate::KnowledgeReadsInput,
1559 options: crate::CallOptions,
1560 ) -> Result<crate::CallResult<crate::KnowledgeReadsOutput>, crate::CallFailure> {
1561 self.call("knowledge.reads", &request, options).await
1562 }
1563 pub async fn knowledge_upsert(
1565 &self,
1566 request: crate::KnowledgeUpsertInput,
1567 ) -> Result<crate::KnowledgeUpsertOutput, crate::Error> {
1568 self.knowledge_upsert_with_options(request, crate::CallOptions::default())
1569 .await
1570 .map(|result| result.data)
1571 .map_err(|failure| failure.error)
1572 }
1573 pub async fn knowledge_upsert_with_options(
1575 &self,
1576 request: crate::KnowledgeUpsertInput,
1577 options: crate::CallOptions,
1578 ) -> Result<crate::CallResult<crate::KnowledgeUpsertOutput>, crate::CallFailure> {
1579 self.call("knowledge.upsert", &request, options).await
1580 }
1581 pub async fn knowledge_search(
1583 &self,
1584 request: crate::KnowledgeSearchInput,
1585 ) -> Result<crate::KnowledgeSearchOutput, crate::Error> {
1586 self.knowledge_search_with_options(request, crate::CallOptions::default())
1587 .await
1588 .map(|result| result.data)
1589 .map_err(|failure| failure.error)
1590 }
1591 pub async fn knowledge_search_with_options(
1593 &self,
1594 request: crate::KnowledgeSearchInput,
1595 options: crate::CallOptions,
1596 ) -> Result<crate::CallResult<crate::KnowledgeSearchOutput>, crate::CallFailure> {
1597 self.call("knowledge.search", &request, options).await
1598 }
1599 pub async fn knowledge_delete(
1601 &self,
1602 request: crate::KnowledgeDeleteInput,
1603 ) -> Result<crate::KnowledgeDeleteOutput, crate::Error> {
1604 self.knowledge_delete_with_options(request, crate::CallOptions::default())
1605 .await
1606 .map(|result| result.data)
1607 .map_err(|failure| failure.error)
1608 }
1609 pub async fn knowledge_delete_with_options(
1611 &self,
1612 request: crate::KnowledgeDeleteInput,
1613 options: crate::CallOptions,
1614 ) -> Result<crate::CallResult<crate::KnowledgeDeleteOutput>, crate::CallFailure> {
1615 self.call("knowledge.delete", &request, options).await
1616 }
1617 pub async fn knowledge_restore(
1619 &self,
1620 request: crate::KnowledgeRestoreInput,
1621 ) -> Result<crate::KnowledgeRestoreOutput, crate::Error> {
1622 self.knowledge_restore_with_options(request, crate::CallOptions::default())
1623 .await
1624 .map(|result| result.data)
1625 .map_err(|failure| failure.error)
1626 }
1627 pub async fn knowledge_restore_with_options(
1629 &self,
1630 request: crate::KnowledgeRestoreInput,
1631 options: crate::CallOptions,
1632 ) -> Result<crate::CallResult<crate::KnowledgeRestoreOutput>, crate::CallFailure> {
1633 self.call("knowledge.restore", &request, options).await
1634 }
1635 pub async fn knowledge_move(
1637 &self,
1638 request: crate::KnowledgeMoveInput,
1639 ) -> Result<crate::KnowledgeMoveOutput, crate::Error> {
1640 self.knowledge_move_with_options(request, crate::CallOptions::default())
1641 .await
1642 .map(|result| result.data)
1643 .map_err(|failure| failure.error)
1644 }
1645 pub async fn knowledge_move_with_options(
1647 &self,
1648 request: crate::KnowledgeMoveInput,
1649 options: crate::CallOptions,
1650 ) -> Result<crate::CallResult<crate::KnowledgeMoveOutput>, crate::CallFailure> {
1651 self.call("knowledge.move", &request, options).await
1652 }
1653 pub async fn knowledge_update_metadata(
1655 &self,
1656 request: crate::KnowledgeUpdateMetadataInput,
1657 ) -> Result<crate::KnowledgeUpdateMetadataOutput, crate::Error> {
1658 self.knowledge_update_metadata_with_options(request, crate::CallOptions::default())
1659 .await
1660 .map(|result| result.data)
1661 .map_err(|failure| failure.error)
1662 }
1663 pub async fn knowledge_update_metadata_with_options(
1665 &self,
1666 request: crate::KnowledgeUpdateMetadataInput,
1667 options: crate::CallOptions,
1668 ) -> Result<crate::CallResult<crate::KnowledgeUpdateMetadataOutput>, crate::CallFailure> {
1669 self.call("knowledge.update_metadata", &request, options)
1670 .await
1671 }
1672 pub async fn knowledge_list(
1674 &self,
1675 request: crate::KnowledgeListInput,
1676 ) -> Result<crate::KnowledgeListOutput, crate::Error> {
1677 self.knowledge_list_with_options(request, crate::CallOptions::default())
1678 .await
1679 .map(|result| result.data)
1680 .map_err(|failure| failure.error)
1681 }
1682 pub async fn knowledge_list_with_options(
1684 &self,
1685 request: crate::KnowledgeListInput,
1686 options: crate::CallOptions,
1687 ) -> Result<crate::CallResult<crate::KnowledgeListOutput>, crate::CallFailure> {
1688 self.call("knowledge.list", &request, options).await
1689 }
1690 pub async fn knowledge_get(
1692 &self,
1693 request: crate::KnowledgeGetInput,
1694 ) -> Result<crate::KnowledgeGetOutput, crate::Error> {
1695 self.knowledge_get_with_options(request, crate::CallOptions::default())
1696 .await
1697 .map(|result| result.data)
1698 .map_err(|failure| failure.error)
1699 }
1700 pub async fn knowledge_get_with_options(
1702 &self,
1703 request: crate::KnowledgeGetInput,
1704 options: crate::CallOptions,
1705 ) -> Result<crate::CallResult<crate::KnowledgeGetOutput>, crate::CallFailure> {
1706 self.call("knowledge.get", &request, options).await
1707 }
1708 pub async fn knowledge_outline(
1710 &self,
1711 request: crate::KnowledgeOutlineInput,
1712 ) -> Result<crate::KnowledgeOutlineOutput, crate::Error> {
1713 self.knowledge_outline_with_options(request, crate::CallOptions::default())
1714 .await
1715 .map(|result| result.data)
1716 .map_err(|failure| failure.error)
1717 }
1718 pub async fn knowledge_outline_with_options(
1720 &self,
1721 request: crate::KnowledgeOutlineInput,
1722 options: crate::CallOptions,
1723 ) -> Result<crate::CallResult<crate::KnowledgeOutlineOutput>, crate::CallFailure> {
1724 self.call("knowledge.outline", &request, options).await
1725 }
1726 pub async fn knowledge_inspect(
1728 &self,
1729 request: crate::KnowledgeInspectInput,
1730 ) -> Result<crate::KnowledgeInspectOutput, crate::Error> {
1731 self.knowledge_inspect_with_options(request, crate::CallOptions::default())
1732 .await
1733 .map(|result| result.data)
1734 .map_err(|failure| failure.error)
1735 }
1736 pub async fn knowledge_inspect_with_options(
1738 &self,
1739 request: crate::KnowledgeInspectInput,
1740 options: crate::CallOptions,
1741 ) -> Result<crate::CallResult<crate::KnowledgeInspectOutput>, crate::CallFailure> {
1742 self.call("knowledge.inspect", &request, options).await
1743 }
1744 pub async fn knowledge_synthesize(
1746 &self,
1747 request: crate::KnowledgeSynthesizeInput,
1748 ) -> Result<crate::KnowledgeSynthesizeOutput, crate::Error> {
1749 self.knowledge_synthesize_with_options(request, crate::CallOptions::default())
1750 .await
1751 .map(|result| result.data)
1752 .map_err(|failure| failure.error)
1753 }
1754 pub async fn knowledge_synthesize_with_options(
1756 &self,
1757 request: crate::KnowledgeSynthesizeInput,
1758 options: crate::CallOptions,
1759 ) -> Result<crate::CallResult<crate::KnowledgeSynthesizeOutput>, crate::CallFailure> {
1760 self.call("knowledge.synthesize", &request, options).await
1761 }
1762 pub async fn knowledge_bulk_add(
1764 &self,
1765 request: crate::KnowledgeBulkAddInput,
1766 ) -> Result<crate::KnowledgeBulkAddOutput, crate::Error> {
1767 self.knowledge_bulk_add_with_options(request, crate::CallOptions::default())
1768 .await
1769 .map(|result| result.data)
1770 .map_err(|failure| failure.error)
1771 }
1772 pub async fn knowledge_bulk_add_with_options(
1774 &self,
1775 request: crate::KnowledgeBulkAddInput,
1776 options: crate::CallOptions,
1777 ) -> Result<crate::CallResult<crate::KnowledgeBulkAddOutput>, crate::CallFailure> {
1778 self.call("knowledge.bulk_add", &request, options).await
1779 }
1780 pub async fn knowledge_bulk_delete(
1782 &self,
1783 request: crate::KnowledgeBulkDeleteInput,
1784 ) -> Result<crate::KnowledgeBulkDeleteOutput, crate::Error> {
1785 self.knowledge_bulk_delete_with_options(request, crate::CallOptions::default())
1786 .await
1787 .map(|result| result.data)
1788 .map_err(|failure| failure.error)
1789 }
1790 pub async fn knowledge_bulk_delete_with_options(
1792 &self,
1793 request: crate::KnowledgeBulkDeleteInput,
1794 options: crate::CallOptions,
1795 ) -> Result<crate::CallResult<crate::KnowledgeBulkDeleteOutput>, crate::CallFailure> {
1796 self.call("knowledge.bulk_delete", &request, options).await
1797 }
1798 pub async fn knowledge_dedup_list(
1800 &self,
1801 request: crate::KnowledgeDedupListInput,
1802 ) -> Result<crate::KnowledgeDedupListOutput, crate::Error> {
1803 self.knowledge_dedup_list_with_options(request, crate::CallOptions::default())
1804 .await
1805 .map(|result| result.data)
1806 .map_err(|failure| failure.error)
1807 }
1808 pub async fn knowledge_dedup_list_with_options(
1810 &self,
1811 request: crate::KnowledgeDedupListInput,
1812 options: crate::CallOptions,
1813 ) -> Result<crate::CallResult<crate::KnowledgeDedupListOutput>, crate::CallFailure> {
1814 self.call("knowledge.dedup_list", &request, options).await
1815 }
1816 pub async fn knowledge_dedup_resolve(
1818 &self,
1819 request: crate::KnowledgeDedupResolveInput,
1820 ) -> Result<crate::KnowledgeDedupResolveOutput, crate::Error> {
1821 self.knowledge_dedup_resolve_with_options(request, crate::CallOptions::default())
1822 .await
1823 .map(|result| result.data)
1824 .map_err(|failure| failure.error)
1825 }
1826 pub async fn knowledge_dedup_resolve_with_options(
1828 &self,
1829 request: crate::KnowledgeDedupResolveInput,
1830 options: crate::CallOptions,
1831 ) -> Result<crate::CallResult<crate::KnowledgeDedupResolveOutput>, crate::CallFailure> {
1832 self.call("knowledge.dedup_resolve", &request, options)
1833 .await
1834 }
1835 pub async fn knowledge_ingest(
1837 &self,
1838 request: crate::KnowledgeIngestInput,
1839 ) -> Result<crate::KnowledgeIngestOutput, crate::Error> {
1840 self.knowledge_ingest_with_options(request, crate::CallOptions::default())
1841 .await
1842 .map(|result| result.data)
1843 .map_err(|failure| failure.error)
1844 }
1845 pub async fn knowledge_ingest_with_options(
1847 &self,
1848 request: crate::KnowledgeIngestInput,
1849 options: crate::CallOptions,
1850 ) -> Result<crate::CallResult<crate::KnowledgeIngestOutput>, crate::CallFailure> {
1851 self.call("knowledge.ingest", &request, options).await
1852 }
1853 pub async fn knowledge_ingest_status(
1855 &self,
1856 request: crate::KnowledgeIngestStatusInput,
1857 ) -> Result<crate::KnowledgeIngestStatusOutput, crate::Error> {
1858 self.knowledge_ingest_status_with_options(request, crate::CallOptions::default())
1859 .await
1860 .map(|result| result.data)
1861 .map_err(|failure| failure.error)
1862 }
1863 pub async fn knowledge_ingest_status_with_options(
1865 &self,
1866 request: crate::KnowledgeIngestStatusInput,
1867 options: crate::CallOptions,
1868 ) -> Result<crate::CallResult<crate::KnowledgeIngestStatusOutput>, crate::CallFailure> {
1869 self.call("knowledge.ingest_status", &request, options)
1870 .await
1871 }
1872 pub async fn knowledge_ingest_cancel(
1874 &self,
1875 request: crate::KnowledgeIngestCancelInput,
1876 ) -> Result<crate::KnowledgeIngestCancelOutput, crate::Error> {
1877 self.knowledge_ingest_cancel_with_options(request, crate::CallOptions::default())
1878 .await
1879 .map(|result| result.data)
1880 .map_err(|failure| failure.error)
1881 }
1882 pub async fn knowledge_ingest_cancel_with_options(
1884 &self,
1885 request: crate::KnowledgeIngestCancelInput,
1886 options: crate::CallOptions,
1887 ) -> Result<crate::CallResult<crate::KnowledgeIngestCancelOutput>, crate::CallFailure> {
1888 self.call("knowledge.ingest_cancel", &request, options)
1889 .await
1890 }
1891 pub async fn knowledge_formats(
1893 &self,
1894 request: crate::KnowledgeFormatsInput,
1895 ) -> Result<crate::KnowledgeFormatsOutput, crate::Error> {
1896 self.knowledge_formats_with_options(request, crate::CallOptions::default())
1897 .await
1898 .map(|result| result.data)
1899 .map_err(|failure| failure.error)
1900 }
1901 pub async fn knowledge_formats_with_options(
1903 &self,
1904 request: crate::KnowledgeFormatsInput,
1905 options: crate::CallOptions,
1906 ) -> Result<crate::CallResult<crate::KnowledgeFormatsOutput>, crate::CallFailure> {
1907 self.call("knowledge.formats", &request, options).await
1908 }
1909 pub async fn knowledge_dataset_get(
1911 &self,
1912 request: crate::KnowledgeDatasetGetInput,
1913 ) -> Result<crate::KnowledgeDatasetGetOutput, crate::Error> {
1914 self.knowledge_dataset_get_with_options(request, crate::CallOptions::default())
1915 .await
1916 .map(|result| result.data)
1917 .map_err(|failure| failure.error)
1918 }
1919 pub async fn knowledge_dataset_get_with_options(
1921 &self,
1922 request: crate::KnowledgeDatasetGetInput,
1923 options: crate::CallOptions,
1924 ) -> Result<crate::CallResult<crate::KnowledgeDatasetGetOutput>, crate::CallFailure> {
1925 self.call("knowledge.dataset_get", &request, options).await
1926 }
1927 pub async fn knowledge_dataset_approve(
1929 &self,
1930 request: crate::KnowledgeDatasetApproveInput,
1931 ) -> Result<crate::KnowledgeDatasetApproveOutput, crate::Error> {
1932 self.knowledge_dataset_approve_with_options(request, crate::CallOptions::default())
1933 .await
1934 .map(|result| result.data)
1935 .map_err(|failure| failure.error)
1936 }
1937 pub async fn knowledge_dataset_approve_with_options(
1939 &self,
1940 request: crate::KnowledgeDatasetApproveInput,
1941 options: crate::CallOptions,
1942 ) -> Result<crate::CallResult<crate::KnowledgeDatasetApproveOutput>, crate::CallFailure> {
1943 self.call("knowledge.dataset_approve", &request, options)
1944 .await
1945 }
1946 pub async fn knowledge_query(
1948 &self,
1949 request: crate::KnowledgeQueryInput,
1950 ) -> Result<crate::KnowledgeQueryOutput, crate::Error> {
1951 self.knowledge_query_with_options(request, crate::CallOptions::default())
1952 .await
1953 .map(|result| result.data)
1954 .map_err(|failure| failure.error)
1955 }
1956 pub async fn knowledge_query_with_options(
1958 &self,
1959 request: crate::KnowledgeQueryInput,
1960 options: crate::CallOptions,
1961 ) -> Result<crate::CallResult<crate::KnowledgeQueryOutput>, crate::CallFailure> {
1962 self.call("knowledge.query", &request, options).await
1963 }
1964 pub async fn knowledge_source_list(
1966 &self,
1967 request: crate::KnowledgeSourceListInput,
1968 ) -> Result<crate::KnowledgeSourceListOutput, crate::Error> {
1969 self.knowledge_source_list_with_options(request, crate::CallOptions::default())
1970 .await
1971 .map(|result| result.data)
1972 .map_err(|failure| failure.error)
1973 }
1974 pub async fn knowledge_source_list_with_options(
1976 &self,
1977 request: crate::KnowledgeSourceListInput,
1978 options: crate::CallOptions,
1979 ) -> Result<crate::CallResult<crate::KnowledgeSourceListOutput>, crate::CallFailure> {
1980 self.call("knowledge.source.list", &request, options).await
1981 }
1982 pub async fn knowledge_source_inspect(
1984 &self,
1985 request: crate::KnowledgeSourceInspectInput,
1986 ) -> Result<crate::KnowledgeSourceInspectOutput, crate::Error> {
1987 self.knowledge_source_inspect_with_options(request, crate::CallOptions::default())
1988 .await
1989 .map(|result| result.data)
1990 .map_err(|failure| failure.error)
1991 }
1992 pub async fn knowledge_source_inspect_with_options(
1994 &self,
1995 request: crate::KnowledgeSourceInspectInput,
1996 options: crate::CallOptions,
1997 ) -> Result<crate::CallResult<crate::KnowledgeSourceInspectOutput>, crate::CallFailure> {
1998 self.call("knowledge.source.inspect", &request, options)
1999 .await
2000 }
2001 pub async fn knowledge_source_add(
2003 &self,
2004 request: crate::KnowledgeSourceAddInput,
2005 ) -> Result<crate::KnowledgeSourceAddOutput, crate::Error> {
2006 self.knowledge_source_add_with_options(request, crate::CallOptions::default())
2007 .await
2008 .map(|result| result.data)
2009 .map_err(|failure| failure.error)
2010 }
2011 pub async fn knowledge_source_add_with_options(
2013 &self,
2014 request: crate::KnowledgeSourceAddInput,
2015 options: crate::CallOptions,
2016 ) -> Result<crate::CallResult<crate::KnowledgeSourceAddOutput>, crate::CallFailure> {
2017 self.call("knowledge.source.add", &request, options).await
2018 }
2019 pub async fn knowledge_source_update(
2021 &self,
2022 request: crate::KnowledgeSourceUpdateInput,
2023 ) -> Result<crate::KnowledgeSourceUpdateOutput, crate::Error> {
2024 self.knowledge_source_update_with_options(request, crate::CallOptions::default())
2025 .await
2026 .map(|result| result.data)
2027 .map_err(|failure| failure.error)
2028 }
2029 pub async fn knowledge_source_update_with_options(
2031 &self,
2032 request: crate::KnowledgeSourceUpdateInput,
2033 options: crate::CallOptions,
2034 ) -> Result<crate::CallResult<crate::KnowledgeSourceUpdateOutput>, crate::CallFailure> {
2035 self.call("knowledge.source.update", &request, options)
2036 .await
2037 }
2038 pub async fn knowledge_source_parse_links(
2040 &self,
2041 request: crate::KnowledgeSourceParseLinksInput,
2042 ) -> Result<crate::KnowledgeSourceParseLinksOutput, crate::Error> {
2043 self.knowledge_source_parse_links_with_options(request, crate::CallOptions::default())
2044 .await
2045 .map(|result| result.data)
2046 .map_err(|failure| failure.error)
2047 }
2048 pub async fn knowledge_source_parse_links_with_options(
2050 &self,
2051 request: crate::KnowledgeSourceParseLinksInput,
2052 options: crate::CallOptions,
2053 ) -> Result<crate::CallResult<crate::KnowledgeSourceParseLinksOutput>, crate::CallFailure> {
2054 self.call("knowledge.source.parse_links", &request, options)
2055 .await
2056 }
2057 pub async fn knowledge_source_check(
2059 &self,
2060 request: crate::KnowledgeSourceCheckInput,
2061 ) -> Result<crate::KnowledgeSourceCheckOutput, crate::Error> {
2062 self.knowledge_source_check_with_options(request, crate::CallOptions::default())
2063 .await
2064 .map(|result| result.data)
2065 .map_err(|failure| failure.error)
2066 }
2067 pub async fn knowledge_source_check_with_options(
2069 &self,
2070 request: crate::KnowledgeSourceCheckInput,
2071 options: crate::CallOptions,
2072 ) -> Result<crate::CallResult<crate::KnowledgeSourceCheckOutput>, crate::CallFailure> {
2073 self.call("knowledge.source.check", &request, options).await
2074 }
2075 pub async fn knowledge_source_rotate(
2077 &self,
2078 request: crate::KnowledgeSourceRotateInput,
2079 ) -> Result<crate::KnowledgeSourceRotateOutput, crate::Error> {
2080 self.knowledge_source_rotate_with_options(request, crate::CallOptions::default())
2081 .await
2082 .map(|result| result.data)
2083 .map_err(|failure| failure.error)
2084 }
2085 pub async fn knowledge_source_rotate_with_options(
2087 &self,
2088 request: crate::KnowledgeSourceRotateInput,
2089 options: crate::CallOptions,
2090 ) -> Result<crate::CallResult<crate::KnowledgeSourceRotateOutput>, crate::CallFailure> {
2091 self.call("knowledge.source.rotate", &request, options)
2092 .await
2093 }
2094 pub async fn knowledge_source_remove(
2096 &self,
2097 request: crate::KnowledgeSourceRemoveInput,
2098 ) -> Result<crate::KnowledgeSourceRemoveOutput, crate::Error> {
2099 self.knowledge_source_remove_with_options(request, crate::CallOptions::default())
2100 .await
2101 .map(|result| result.data)
2102 .map_err(|failure| failure.error)
2103 }
2104 pub async fn knowledge_source_remove_with_options(
2106 &self,
2107 request: crate::KnowledgeSourceRemoveInput,
2108 options: crate::CallOptions,
2109 ) -> Result<crate::CallResult<crate::KnowledgeSourceRemoveOutput>, crate::CallFailure> {
2110 self.call("knowledge.source.remove", &request, options)
2111 .await
2112 }
2113 pub async fn knowledge_source_sync_now(
2115 &self,
2116 request: crate::KnowledgeSourceSyncNowInput,
2117 ) -> Result<crate::KnowledgeSourceSyncNowOutput, crate::Error> {
2118 self.knowledge_source_sync_now_with_options(request, crate::CallOptions::default())
2119 .await
2120 .map(|result| result.data)
2121 .map_err(|failure| failure.error)
2122 }
2123 pub async fn knowledge_source_sync_now_with_options(
2125 &self,
2126 request: crate::KnowledgeSourceSyncNowInput,
2127 options: crate::CallOptions,
2128 ) -> Result<crate::CallResult<crate::KnowledgeSourceSyncNowOutput>, crate::CallFailure> {
2129 self.call("knowledge.source.sync_now", &request, options)
2130 .await
2131 }
2132 pub async fn connection_list(
2134 &self,
2135 request: crate::ConnectionListInput,
2136 ) -> Result<crate::ConnectionListOutput, crate::Error> {
2137 self.connection_list_with_options(request, crate::CallOptions::default())
2138 .await
2139 .map(|result| result.data)
2140 .map_err(|failure| failure.error)
2141 }
2142 pub async fn connection_list_with_options(
2144 &self,
2145 request: crate::ConnectionListInput,
2146 options: crate::CallOptions,
2147 ) -> Result<crate::CallResult<crate::ConnectionListOutput>, crate::CallFailure> {
2148 self.call("connection.list", &request, options).await
2149 }
2150 pub async fn connection_disconnect(
2152 &self,
2153 request: crate::ConnectionDisconnectInput,
2154 ) -> Result<crate::ConnectionDisconnectOutput, crate::Error> {
2155 self.connection_disconnect_with_options(request, crate::CallOptions::default())
2156 .await
2157 .map(|result| result.data)
2158 .map_err(|failure| failure.error)
2159 }
2160 pub async fn connection_disconnect_with_options(
2162 &self,
2163 request: crate::ConnectionDisconnectInput,
2164 options: crate::CallOptions,
2165 ) -> Result<crate::CallResult<crate::ConnectionDisconnectOutput>, crate::CallFailure> {
2166 self.call("connection.disconnect", &request, options).await
2167 }
2168 pub async fn knowledge_source_push_configure(
2170 &self,
2171 request: crate::PushConfigureInput,
2172 ) -> Result<crate::PushStatusOutput, crate::Error> {
2173 self.knowledge_source_push_configure_with_options(request, crate::CallOptions::default())
2174 .await
2175 .map(|result| result.data)
2176 .map_err(|failure| failure.error)
2177 }
2178 pub async fn knowledge_source_push_configure_with_options(
2180 &self,
2181 request: crate::PushConfigureInput,
2182 options: crate::CallOptions,
2183 ) -> Result<crate::CallResult<crate::PushStatusOutput>, crate::CallFailure> {
2184 self.call("knowledge.source.push_configure", &request, options)
2185 .await
2186 }
2187 pub async fn knowledge_source_push_status(
2189 &self,
2190 request: crate::PushStatusInput,
2191 ) -> Result<crate::PushStatusOutput, crate::Error> {
2192 self.knowledge_source_push_status_with_options(request, crate::CallOptions::default())
2193 .await
2194 .map(|result| result.data)
2195 .map_err(|failure| failure.error)
2196 }
2197 pub async fn knowledge_source_push_status_with_options(
2199 &self,
2200 request: crate::PushStatusInput,
2201 options: crate::CallOptions,
2202 ) -> Result<crate::CallResult<crate::PushStatusOutput>, crate::CallFailure> {
2203 self.call("knowledge.source.push_status", &request, options)
2204 .await
2205 }
2206 pub async fn knowledge_source_push_confirm(
2208 &self,
2209 request: crate::PushConfirmInput,
2210 ) -> Result<crate::PushStatusOutput, crate::Error> {
2211 self.knowledge_source_push_confirm_with_options(request, crate::CallOptions::default())
2212 .await
2213 .map(|result| result.data)
2214 .map_err(|failure| failure.error)
2215 }
2216 pub async fn knowledge_source_push_confirm_with_options(
2218 &self,
2219 request: crate::PushConfirmInput,
2220 options: crate::CallOptions,
2221 ) -> Result<crate::CallResult<crate::PushStatusOutput>, crate::CallFailure> {
2222 self.call("knowledge.source.push_confirm", &request, options)
2223 .await
2224 }
2225 pub async fn knowledge_gaps_list(
2227 &self,
2228 request: crate::KnowledgeGapsListInput,
2229 ) -> Result<crate::KnowledgeGapsListOutput, crate::Error> {
2230 self.knowledge_gaps_list_with_options(request, crate::CallOptions::default())
2231 .await
2232 .map(|result| result.data)
2233 .map_err(|failure| failure.error)
2234 }
2235 pub async fn knowledge_gaps_list_with_options(
2237 &self,
2238 request: crate::KnowledgeGapsListInput,
2239 options: crate::CallOptions,
2240 ) -> Result<crate::CallResult<crate::KnowledgeGapsListOutput>, crate::CallFailure> {
2241 self.call("knowledge.gaps.list", &request, options).await
2242 }
2243 pub async fn knowledge_gaps_draft(
2245 &self,
2246 request: crate::KnowledgeGapsDraftInput,
2247 ) -> Result<crate::KnowledgeGapsDraftOutput, crate::Error> {
2248 self.knowledge_gaps_draft_with_options(request, crate::CallOptions::default())
2249 .await
2250 .map(|result| result.data)
2251 .map_err(|failure| failure.error)
2252 }
2253 pub async fn knowledge_gaps_draft_with_options(
2255 &self,
2256 request: crate::KnowledgeGapsDraftInput,
2257 options: crate::CallOptions,
2258 ) -> Result<crate::CallResult<crate::KnowledgeGapsDraftOutput>, crate::CallFailure> {
2259 self.call("knowledge.gaps.draft", &request, options).await
2260 }
2261 pub async fn knowledge_query_history_add(
2263 &self,
2264 request: crate::QueryHistoryAddInput,
2265 ) -> Result<crate::QueryHistorySource, crate::Error> {
2266 self.knowledge_query_history_add_with_options(request, crate::CallOptions::default())
2267 .await
2268 .map(|result| result.data)
2269 .map_err(|failure| failure.error)
2270 }
2271 pub async fn knowledge_query_history_add_with_options(
2273 &self,
2274 request: crate::QueryHistoryAddInput,
2275 options: crate::CallOptions,
2276 ) -> Result<crate::CallResult<crate::QueryHistorySource>, crate::CallFailure> {
2277 self.call("knowledge.query_history.add", &request, options)
2278 .await
2279 }
2280 pub async fn knowledge_query_history_list(
2282 &self,
2283 request: crate::QueryHistoryListInput,
2284 ) -> Result<crate::QueryHistoryListOutput, crate::Error> {
2285 self.knowledge_query_history_list_with_options(request, crate::CallOptions::default())
2286 .await
2287 .map(|result| result.data)
2288 .map_err(|failure| failure.error)
2289 }
2290 pub async fn knowledge_query_history_list_with_options(
2292 &self,
2293 request: crate::QueryHistoryListInput,
2294 options: crate::CallOptions,
2295 ) -> Result<crate::CallResult<crate::QueryHistoryListOutput>, crate::CallFailure> {
2296 self.call("knowledge.query_history.list", &request, options)
2297 .await
2298 }
2299 pub async fn knowledge_query_history_remove(
2301 &self,
2302 request: crate::QueryHistoryRemoveInput,
2303 ) -> Result<crate::QueryHistoryRemoveOutput, crate::Error> {
2304 self.knowledge_query_history_remove_with_options(request, crate::CallOptions::default())
2305 .await
2306 .map(|result| result.data)
2307 .map_err(|failure| failure.error)
2308 }
2309 pub async fn knowledge_query_history_remove_with_options(
2311 &self,
2312 request: crate::QueryHistoryRemoveInput,
2313 options: crate::CallOptions,
2314 ) -> Result<crate::CallResult<crate::QueryHistoryRemoveOutput>, crate::CallFailure> {
2315 self.call("knowledge.query_history.remove", &request, options)
2316 .await
2317 }
2318 pub async fn help_search(
2320 &self,
2321 request: crate::HelpSearchInput,
2322 ) -> Result<crate::HelpSearchOutput, crate::Error> {
2323 self.help_search_with_options(request, crate::CallOptions::default())
2324 .await
2325 .map(|result| result.data)
2326 .map_err(|failure| failure.error)
2327 }
2328 pub async fn help_search_with_options(
2330 &self,
2331 request: crate::HelpSearchInput,
2332 options: crate::CallOptions,
2333 ) -> Result<crate::CallResult<crate::HelpSearchOutput>, crate::CallFailure> {
2334 self.call("help.search", &request, options).await
2335 }
2336 pub async fn help_get(
2338 &self,
2339 request: crate::HelpGetInput,
2340 ) -> Result<crate::HelpGetOutput, crate::Error> {
2341 self.help_get_with_options(request, crate::CallOptions::default())
2342 .await
2343 .map(|result| result.data)
2344 .map_err(|failure| failure.error)
2345 }
2346 pub async fn help_get_with_options(
2348 &self,
2349 request: crate::HelpGetInput,
2350 options: crate::CallOptions,
2351 ) -> Result<crate::CallResult<crate::HelpGetOutput>, crate::CallFailure> {
2352 self.call("help.get", &request, options).await
2353 }
2354 pub async fn conversation_create(
2356 &self,
2357 request: crate::ConversationCreateInput,
2358 ) -> Result<crate::ConversationCreateOutput, crate::Error> {
2359 self.conversation_create_with_options(request, crate::CallOptions::default())
2360 .await
2361 .map(|result| result.data)
2362 .map_err(|failure| failure.error)
2363 }
2364 pub async fn conversation_create_with_options(
2366 &self,
2367 request: crate::ConversationCreateInput,
2368 options: crate::CallOptions,
2369 ) -> Result<crate::CallResult<crate::ConversationCreateOutput>, crate::CallFailure> {
2370 self.call("conversation.create", &request, options).await
2371 }
2372 pub async fn conversation_append(
2374 &self,
2375 request: crate::ConversationAppendInput,
2376 ) -> Result<crate::ConversationAppendOutput, crate::Error> {
2377 self.conversation_append_with_options(request, crate::CallOptions::default())
2378 .await
2379 .map(|result| result.data)
2380 .map_err(|failure| failure.error)
2381 }
2382 pub async fn conversation_append_with_options(
2384 &self,
2385 request: crate::ConversationAppendInput,
2386 options: crate::CallOptions,
2387 ) -> Result<crate::CallResult<crate::ConversationAppendOutput>, crate::CallFailure> {
2388 self.call("conversation.append", &request, options).await
2389 }
2390 pub async fn conversation_save_message(
2392 &self,
2393 request: crate::ConversationSaveMessageInput,
2394 ) -> Result<crate::ConversationSaveMessageOutput, crate::Error> {
2395 self.conversation_save_message_with_options(request, crate::CallOptions::default())
2396 .await
2397 .map(|result| result.data)
2398 .map_err(|failure| failure.error)
2399 }
2400 pub async fn conversation_save_message_with_options(
2402 &self,
2403 request: crate::ConversationSaveMessageInput,
2404 options: crate::CallOptions,
2405 ) -> Result<crate::CallResult<crate::ConversationSaveMessageOutput>, crate::CallFailure> {
2406 self.call("conversation.save_message", &request, options)
2407 .await
2408 }
2409 pub async fn conversation_unsave_message(
2411 &self,
2412 request: crate::ConversationUnsaveMessageInput,
2413 ) -> Result<crate::ConversationUnsaveMessageOutput, crate::Error> {
2414 self.conversation_unsave_message_with_options(request, crate::CallOptions::default())
2415 .await
2416 .map(|result| result.data)
2417 .map_err(|failure| failure.error)
2418 }
2419 pub async fn conversation_unsave_message_with_options(
2421 &self,
2422 request: crate::ConversationUnsaveMessageInput,
2423 options: crate::CallOptions,
2424 ) -> Result<crate::CallResult<crate::ConversationUnsaveMessageOutput>, crate::CallFailure> {
2425 self.call("conversation.unsave_message", &request, options)
2426 .await
2427 }
2428 pub async fn conversation_set_logging(
2430 &self,
2431 request: crate::ConversationSetLoggingInput,
2432 ) -> Result<crate::ConversationSetLoggingOutput, crate::Error> {
2433 self.conversation_set_logging_with_options(request, crate::CallOptions::default())
2434 .await
2435 .map(|result| result.data)
2436 .map_err(|failure| failure.error)
2437 }
2438 pub async fn conversation_set_logging_with_options(
2440 &self,
2441 request: crate::ConversationSetLoggingInput,
2442 options: crate::CallOptions,
2443 ) -> Result<crate::CallResult<crate::ConversationSetLoggingOutput>, crate::CallFailure> {
2444 self.call("conversation.set_logging", &request, options)
2445 .await
2446 }
2447 pub async fn conversation_get(
2449 &self,
2450 request: crate::ConversationGetInput,
2451 ) -> Result<crate::ConversationGetOutput, crate::Error> {
2452 self.conversation_get_with_options(request, crate::CallOptions::default())
2453 .await
2454 .map(|result| result.data)
2455 .map_err(|failure| failure.error)
2456 }
2457 pub async fn conversation_get_with_options(
2459 &self,
2460 request: crate::ConversationGetInput,
2461 options: crate::CallOptions,
2462 ) -> Result<crate::CallResult<crate::ConversationGetOutput>, crate::CallFailure> {
2463 self.call("conversation.get", &request, options).await
2464 }
2465 pub async fn conversation_update(
2467 &self,
2468 request: crate::ConversationUpdateInput,
2469 ) -> Result<crate::ConversationUpdateOutput, crate::Error> {
2470 self.conversation_update_with_options(request, crate::CallOptions::default())
2471 .await
2472 .map(|result| result.data)
2473 .map_err(|failure| failure.error)
2474 }
2475 pub async fn conversation_update_with_options(
2477 &self,
2478 request: crate::ConversationUpdateInput,
2479 options: crate::CallOptions,
2480 ) -> Result<crate::CallResult<crate::ConversationUpdateOutput>, crate::CallFailure> {
2481 self.call("conversation.update", &request, options).await
2482 }
2483 pub async fn conversation_delete(
2485 &self,
2486 request: crate::ConversationDeleteInput,
2487 ) -> Result<crate::ConversationDeleteOutput, crate::Error> {
2488 self.conversation_delete_with_options(request, crate::CallOptions::default())
2489 .await
2490 .map(|result| result.data)
2491 .map_err(|failure| failure.error)
2492 }
2493 pub async fn conversation_delete_with_options(
2495 &self,
2496 request: crate::ConversationDeleteInput,
2497 options: crate::CallOptions,
2498 ) -> Result<crate::CallResult<crate::ConversationDeleteOutput>, crate::CallFailure> {
2499 self.call("conversation.delete", &request, options).await
2500 }
2501 pub async fn conversation_list(
2503 &self,
2504 request: crate::ConversationListInput,
2505 ) -> Result<crate::ConversationListOutput, crate::Error> {
2506 self.conversation_list_with_options(request, crate::CallOptions::default())
2507 .await
2508 .map(|result| result.data)
2509 .map_err(|failure| failure.error)
2510 }
2511 pub async fn conversation_list_with_options(
2513 &self,
2514 request: crate::ConversationListInput,
2515 options: crate::CallOptions,
2516 ) -> Result<crate::CallResult<crate::ConversationListOutput>, crate::CallFailure> {
2517 self.call("conversation.list", &request, options).await
2518 }
2519 pub async fn conversation_search(
2521 &self,
2522 request: crate::ConversationSearchInput,
2523 ) -> Result<crate::ConversationSearchOutput, crate::Error> {
2524 self.conversation_search_with_options(request, crate::CallOptions::default())
2525 .await
2526 .map(|result| result.data)
2527 .map_err(|failure| failure.error)
2528 }
2529 pub async fn conversation_search_with_options(
2531 &self,
2532 request: crate::ConversationSearchInput,
2533 options: crate::CallOptions,
2534 ) -> Result<crate::CallResult<crate::ConversationSearchOutput>, crate::CallFailure> {
2535 self.call("conversation.search", &request, options).await
2536 }
2537 pub async fn conversation_search_saved_messages(
2539 &self,
2540 request: crate::ConversationSearchSavedMessagesInput,
2541 ) -> Result<crate::ConversationSearchSavedMessagesOutput, crate::Error> {
2542 self.conversation_search_saved_messages_with_options(request, crate::CallOptions::default())
2543 .await
2544 .map(|result| result.data)
2545 .map_err(|failure| failure.error)
2546 }
2547 pub async fn conversation_search_saved_messages_with_options(
2549 &self,
2550 request: crate::ConversationSearchSavedMessagesInput,
2551 options: crate::CallOptions,
2552 ) -> Result<crate::CallResult<crate::ConversationSearchSavedMessagesOutput>, crate::CallFailure>
2553 {
2554 self.call("conversation.search_saved_messages", &request, options)
2555 .await
2556 }
2557 pub async fn conversation_list_saved_messages(
2559 &self,
2560 request: crate::ConversationListSavedMessagesInput,
2561 ) -> Result<crate::ConversationListSavedMessagesOutput, crate::Error> {
2562 self.conversation_list_saved_messages_with_options(request, crate::CallOptions::default())
2563 .await
2564 .map(|result| result.data)
2565 .map_err(|failure| failure.error)
2566 }
2567 pub async fn conversation_list_saved_messages_with_options(
2569 &self,
2570 request: crate::ConversationListSavedMessagesInput,
2571 options: crate::CallOptions,
2572 ) -> Result<crate::CallResult<crate::ConversationListSavedMessagesOutput>, crate::CallFailure>
2573 {
2574 self.call("conversation.list_saved_messages", &request, options)
2575 .await
2576 }
2577 pub async fn conversation_saved_status(
2579 &self,
2580 request: crate::ConversationSavedStatusInput,
2581 ) -> Result<crate::ConversationSavedStatusOutput, crate::Error> {
2582 self.conversation_saved_status_with_options(request, crate::CallOptions::default())
2583 .await
2584 .map(|result| result.data)
2585 .map_err(|failure| failure.error)
2586 }
2587 pub async fn conversation_saved_status_with_options(
2589 &self,
2590 request: crate::ConversationSavedStatusInput,
2591 options: crate::CallOptions,
2592 ) -> Result<crate::CallResult<crate::ConversationSavedStatusOutput>, crate::CallFailure> {
2593 self.call("conversation.saved_status", &request, options)
2594 .await
2595 }
2596 pub async fn conversation_threads(
2598 &self,
2599 request: crate::ConversationThreadsInput,
2600 ) -> Result<crate::ConversationThreadsOutput, crate::Error> {
2601 self.conversation_threads_with_options(request, crate::CallOptions::default())
2602 .await
2603 .map(|result| result.data)
2604 .map_err(|failure| failure.error)
2605 }
2606 pub async fn conversation_threads_with_options(
2608 &self,
2609 request: crate::ConversationThreadsInput,
2610 options: crate::CallOptions,
2611 ) -> Result<crate::CallResult<crate::ConversationThreadsOutput>, crate::CallFailure> {
2612 self.call("conversation.threads", &request, options).await
2613 }
2614 pub async fn conversation_compact(
2616 &self,
2617 request: crate::ConversationCompactInput,
2618 ) -> Result<crate::ConversationCompactOutput, crate::Error> {
2619 self.conversation_compact_with_options(request, crate::CallOptions::default())
2620 .await
2621 .map(|result| result.data)
2622 .map_err(|failure| failure.error)
2623 }
2624 pub async fn conversation_compact_with_options(
2626 &self,
2627 request: crate::ConversationCompactInput,
2628 options: crate::CallOptions,
2629 ) -> Result<crate::CallResult<crate::ConversationCompactOutput>, crate::CallFailure> {
2630 self.call("conversation.compact", &request, options).await
2631 }
2632 pub async fn context_pack(
2634 &self,
2635 request: crate::ContextPackInput,
2636 ) -> Result<crate::ContextPackOutput, crate::Error> {
2637 self.context_pack_with_options(request, crate::CallOptions::default())
2638 .await
2639 .map(|result| result.data)
2640 .map_err(|failure| failure.error)
2641 }
2642 pub async fn context_pack_with_options(
2644 &self,
2645 request: crate::ContextPackInput,
2646 options: crate::CallOptions,
2647 ) -> Result<crate::CallResult<crate::ContextPackOutput>, crate::CallFailure> {
2648 self.call("context.pack", &request, options).await
2649 }
2650 pub async fn context_offload(
2652 &self,
2653 request: crate::ContextOffloadInput,
2654 ) -> Result<crate::ContextOffloadOutput, crate::Error> {
2655 self.context_offload_with_options(request, crate::CallOptions::default())
2656 .await
2657 .map(|result| result.data)
2658 .map_err(|failure| failure.error)
2659 }
2660 pub async fn context_offload_with_options(
2662 &self,
2663 request: crate::ContextOffloadInput,
2664 options: crate::CallOptions,
2665 ) -> Result<crate::CallResult<crate::ContextOffloadOutput>, crate::CallFailure> {
2666 self.call("context.offload", &request, options).await
2667 }
2668 pub async fn context_fetch(
2670 &self,
2671 request: crate::ContextFetchInput,
2672 ) -> Result<crate::ContextFetchOutput, crate::Error> {
2673 self.context_fetch_with_options(request, crate::CallOptions::default())
2674 .await
2675 .map(|result| result.data)
2676 .map_err(|failure| failure.error)
2677 }
2678 pub async fn context_fetch_with_options(
2680 &self,
2681 request: crate::ContextFetchInput,
2682 options: crate::CallOptions,
2683 ) -> Result<crate::CallResult<crate::ContextFetchOutput>, crate::CallFailure> {
2684 self.call("context.fetch", &request, options).await
2685 }
2686 pub async fn learnings_list(
2688 &self,
2689 request: crate::LearningsListInput,
2690 ) -> Result<crate::LearningsListOutput, crate::Error> {
2691 self.learnings_list_with_options(request, crate::CallOptions::default())
2692 .await
2693 .map(|result| result.data)
2694 .map_err(|failure| failure.error)
2695 }
2696 pub async fn learnings_list_with_options(
2698 &self,
2699 request: crate::LearningsListInput,
2700 options: crate::CallOptions,
2701 ) -> Result<crate::CallResult<crate::LearningsListOutput>, crate::CallFailure> {
2702 self.call("learnings.list", &request, options).await
2703 }
2704 pub async fn learnings_review(
2706 &self,
2707 request: crate::LearningsReviewInput,
2708 ) -> Result<crate::LearningsReviewOutput, crate::Error> {
2709 self.learnings_review_with_options(request, crate::CallOptions::default())
2710 .await
2711 .map(|result| result.data)
2712 .map_err(|failure| failure.error)
2713 }
2714 pub async fn learnings_review_with_options(
2716 &self,
2717 request: crate::LearningsReviewInput,
2718 options: crate::CallOptions,
2719 ) -> Result<crate::CallResult<crate::LearningsReviewOutput>, crate::CallFailure> {
2720 self.call("learnings.review", &request, options).await
2721 }
2722 pub async fn learnings_quality(
2724 &self,
2725 request: crate::LearningsQualityInput,
2726 ) -> Result<crate::LearningsQualityOutput, crate::Error> {
2727 self.learnings_quality_with_options(request, crate::CallOptions::default())
2728 .await
2729 .map(|result| result.data)
2730 .map_err(|failure| failure.error)
2731 }
2732 pub async fn learnings_quality_with_options(
2734 &self,
2735 request: crate::LearningsQualityInput,
2736 options: crate::CallOptions,
2737 ) -> Result<crate::CallResult<crate::LearningsQualityOutput>, crate::CallFailure> {
2738 self.call("learnings.quality", &request, options).await
2739 }
2740 pub async fn blacklist_add(
2742 &self,
2743 request: crate::BlacklistAddInput,
2744 ) -> Result<crate::BlacklistAddOutput, crate::Error> {
2745 self.blacklist_add_with_options(request, crate::CallOptions::default())
2746 .await
2747 .map(|result| result.data)
2748 .map_err(|failure| failure.error)
2749 }
2750 pub async fn blacklist_add_with_options(
2752 &self,
2753 request: crate::BlacklistAddInput,
2754 options: crate::CallOptions,
2755 ) -> Result<crate::CallResult<crate::BlacklistAddOutput>, crate::CallFailure> {
2756 self.call("blacklist.add", &request, options).await
2757 }
2758 pub async fn blacklist_list(
2760 &self,
2761 request: crate::BlacklistListInput,
2762 ) -> Result<crate::BlacklistListOutput, crate::Error> {
2763 self.blacklist_list_with_options(request, crate::CallOptions::default())
2764 .await
2765 .map(|result| result.data)
2766 .map_err(|failure| failure.error)
2767 }
2768 pub async fn blacklist_list_with_options(
2770 &self,
2771 request: crate::BlacklistListInput,
2772 options: crate::CallOptions,
2773 ) -> Result<crate::CallResult<crate::BlacklistListOutput>, crate::CallFailure> {
2774 self.call("blacklist.list", &request, options).await
2775 }
2776 pub async fn blacklist_remove(
2778 &self,
2779 request: crate::BlacklistRemoveInput,
2780 ) -> Result<crate::BlacklistRemoveOutput, crate::Error> {
2781 self.blacklist_remove_with_options(request, crate::CallOptions::default())
2782 .await
2783 .map(|result| result.data)
2784 .map_err(|failure| failure.error)
2785 }
2786 pub async fn blacklist_remove_with_options(
2788 &self,
2789 request: crate::BlacklistRemoveInput,
2790 options: crate::CallOptions,
2791 ) -> Result<crate::CallResult<crate::BlacklistRemoveOutput>, crate::CallFailure> {
2792 self.call("blacklist.remove", &request, options).await
2793 }
2794 pub async fn blacklist_sweep(
2796 &self,
2797 request: crate::BlacklistSweepInput,
2798 ) -> Result<crate::BlacklistSweepOutput, crate::Error> {
2799 self.blacklist_sweep_with_options(request, crate::CallOptions::default())
2800 .await
2801 .map(|result| result.data)
2802 .map_err(|failure| failure.error)
2803 }
2804 pub async fn blacklist_sweep_with_options(
2806 &self,
2807 request: crate::BlacklistSweepInput,
2808 options: crate::CallOptions,
2809 ) -> Result<crate::CallResult<crate::BlacklistSweepOutput>, crate::CallFailure> {
2810 self.call("blacklist.sweep", &request, options).await
2811 }
2812 pub async fn webhook_register(
2814 &self,
2815 request: crate::WebhookRegisterInput,
2816 ) -> Result<crate::WebhookRegisterOutput, crate::Error> {
2817 self.webhook_register_with_options(request, crate::CallOptions::default())
2818 .await
2819 .map(|result| result.data)
2820 .map_err(|failure| failure.error)
2821 }
2822 pub async fn webhook_register_with_options(
2824 &self,
2825 request: crate::WebhookRegisterInput,
2826 options: crate::CallOptions,
2827 ) -> Result<crate::CallResult<crate::WebhookRegisterOutput>, crate::CallFailure> {
2828 self.call("webhook.register", &request, options).await
2829 }
2830 pub async fn webhook_list(
2832 &self,
2833 request: crate::WebhookListInput,
2834 ) -> Result<crate::WebhookListOutput, crate::Error> {
2835 self.webhook_list_with_options(request, crate::CallOptions::default())
2836 .await
2837 .map(|result| result.data)
2838 .map_err(|failure| failure.error)
2839 }
2840 pub async fn webhook_list_with_options(
2842 &self,
2843 request: crate::WebhookListInput,
2844 options: crate::CallOptions,
2845 ) -> Result<crate::CallResult<crate::WebhookListOutput>, crate::CallFailure> {
2846 self.call("webhook.list", &request, options).await
2847 }
2848 pub async fn webhook_remove(
2850 &self,
2851 request: crate::WebhookRemoveInput,
2852 ) -> Result<crate::WebhookRemoveOutput, crate::Error> {
2853 self.webhook_remove_with_options(request, crate::CallOptions::default())
2854 .await
2855 .map(|result| result.data)
2856 .map_err(|failure| failure.error)
2857 }
2858 pub async fn webhook_remove_with_options(
2860 &self,
2861 request: crate::WebhookRemoveInput,
2862 options: crate::CallOptions,
2863 ) -> Result<crate::CallResult<crate::WebhookRemoveOutput>, crate::CallFailure> {
2864 self.call("webhook.remove", &request, options).await
2865 }
2866 pub async fn webhook_deliveries(
2868 &self,
2869 request: crate::WebhookDeliveriesInput,
2870 ) -> Result<crate::WebhookDeliveriesOutput, crate::Error> {
2871 self.webhook_deliveries_with_options(request, crate::CallOptions::default())
2872 .await
2873 .map(|result| result.data)
2874 .map_err(|failure| failure.error)
2875 }
2876 pub async fn webhook_deliveries_with_options(
2878 &self,
2879 request: crate::WebhookDeliveriesInput,
2880 options: crate::CallOptions,
2881 ) -> Result<crate::CallResult<crate::WebhookDeliveriesOutput>, crate::CallFailure> {
2882 self.call("webhook.deliveries", &request, options).await
2883 }
2884 pub async fn extraction_policy_set(
2886 &self,
2887 request: crate::ExtractionPolicySetInput,
2888 ) -> Result<crate::ExtractionPolicyOutput, crate::Error> {
2889 self.extraction_policy_set_with_options(request, crate::CallOptions::default())
2890 .await
2891 .map(|result| result.data)
2892 .map_err(|failure| failure.error)
2893 }
2894 pub async fn extraction_policy_set_with_options(
2896 &self,
2897 request: crate::ExtractionPolicySetInput,
2898 options: crate::CallOptions,
2899 ) -> Result<crate::CallResult<crate::ExtractionPolicyOutput>, crate::CallFailure> {
2900 self.call("extraction_policy.set", &request, options).await
2901 }
2902 pub async fn extraction_policy_get(
2904 &self,
2905 request: crate::ExtractionPolicyGetInput,
2906 ) -> Result<crate::ExtractionPolicyOutput, crate::Error> {
2907 self.extraction_policy_get_with_options(request, crate::CallOptions::default())
2908 .await
2909 .map(|result| result.data)
2910 .map_err(|failure| failure.error)
2911 }
2912 pub async fn extraction_policy_get_with_options(
2914 &self,
2915 request: crate::ExtractionPolicyGetInput,
2916 options: crate::CallOptions,
2917 ) -> Result<crate::CallResult<crate::ExtractionPolicyOutput>, crate::CallFailure> {
2918 self.call("extraction_policy.get", &request, options).await
2919 }
2920 pub async fn extraction_policy_clear(
2922 &self,
2923 request: crate::ExtractionPolicyClearInput,
2924 ) -> Result<crate::ExtractionPolicyOutput, crate::Error> {
2925 self.extraction_policy_clear_with_options(request, crate::CallOptions::default())
2926 .await
2927 .map(|result| result.data)
2928 .map_err(|failure| failure.error)
2929 }
2930 pub async fn extraction_policy_clear_with_options(
2932 &self,
2933 request: crate::ExtractionPolicyClearInput,
2934 options: crate::CallOptions,
2935 ) -> Result<crate::CallResult<crate::ExtractionPolicyOutput>, crate::CallFailure> {
2936 self.call("extraction_policy.clear", &request, options)
2937 .await
2938 }
2939 pub async fn conflicts_list(
2941 &self,
2942 request: crate::ConflictsListInput,
2943 ) -> Result<crate::ConflictsListOutput, crate::Error> {
2944 self.conflicts_list_with_options(request, crate::CallOptions::default())
2945 .await
2946 .map(|result| result.data)
2947 .map_err(|failure| failure.error)
2948 }
2949 pub async fn conflicts_list_with_options(
2951 &self,
2952 request: crate::ConflictsListInput,
2953 options: crate::CallOptions,
2954 ) -> Result<crate::CallResult<crate::ConflictsListOutput>, crate::CallFailure> {
2955 self.call("conflicts.list", &request, options).await
2956 }
2957 pub async fn conflicts_propose_revision(
2959 &self,
2960 request: crate::ConflictsProposeRevisionInput,
2961 ) -> Result<crate::ConflictsProposeRevisionOutput, crate::Error> {
2962 self.conflicts_propose_revision_with_options(request, crate::CallOptions::default())
2963 .await
2964 .map(|result| result.data)
2965 .map_err(|failure| failure.error)
2966 }
2967 pub async fn conflicts_propose_revision_with_options(
2969 &self,
2970 request: crate::ConflictsProposeRevisionInput,
2971 options: crate::CallOptions,
2972 ) -> Result<crate::CallResult<crate::ConflictsProposeRevisionOutput>, crate::CallFailure> {
2973 self.call("conflicts.propose_revision", &request, options)
2974 .await
2975 }
2976 pub async fn conflicts_resolve(
2978 &self,
2979 request: crate::ConflictsResolveInput,
2980 ) -> Result<crate::ConflictsResolveOutput, crate::Error> {
2981 self.conflicts_resolve_with_options(request, crate::CallOptions::default())
2982 .await
2983 .map(|result| result.data)
2984 .map_err(|failure| failure.error)
2985 }
2986 pub async fn conflicts_resolve_with_options(
2988 &self,
2989 request: crate::ConflictsResolveInput,
2990 options: crate::CallOptions,
2991 ) -> Result<crate::CallResult<crate::ConflictsResolveOutput>, crate::CallFailure> {
2992 self.call("conflicts.resolve", &request, options).await
2993 }
2994 pub async fn conflicts_allowlist_list(
2996 &self,
2997 request: crate::ConflictsAllowlistListInput,
2998 ) -> Result<crate::ConflictsAllowlistListOutput, crate::Error> {
2999 self.conflicts_allowlist_list_with_options(request, crate::CallOptions::default())
3000 .await
3001 .map(|result| result.data)
3002 .map_err(|failure| failure.error)
3003 }
3004 pub async fn conflicts_allowlist_list_with_options(
3006 &self,
3007 request: crate::ConflictsAllowlistListInput,
3008 options: crate::CallOptions,
3009 ) -> Result<crate::CallResult<crate::ConflictsAllowlistListOutput>, crate::CallFailure> {
3010 self.call("conflicts.allowlist_list", &request, options)
3011 .await
3012 }
3013 pub async fn conflicts_allowlist_remove(
3015 &self,
3016 request: crate::ConflictsAllowlistRemoveInput,
3017 ) -> Result<crate::ConflictsAllowlistRemoveOutput, crate::Error> {
3018 self.conflicts_allowlist_remove_with_options(request, crate::CallOptions::default())
3019 .await
3020 .map(|result| result.data)
3021 .map_err(|failure| failure.error)
3022 }
3023 pub async fn conflicts_allowlist_remove_with_options(
3025 &self,
3026 request: crate::ConflictsAllowlistRemoveInput,
3027 options: crate::CallOptions,
3028 ) -> Result<crate::CallResult<crate::ConflictsAllowlistRemoveOutput>, crate::CallFailure> {
3029 self.call("conflicts.allowlist_remove", &request, options)
3030 .await
3031 }
3032 pub async fn erasure_request(
3034 &self,
3035 request: crate::ErasureRequestInput,
3036 ) -> Result<crate::ErasureRequestOutput, crate::Error> {
3037 self.erasure_request_with_options(request, crate::CallOptions::default())
3038 .await
3039 .map(|result| result.data)
3040 .map_err(|failure| failure.error)
3041 }
3042 pub async fn erasure_request_with_options(
3044 &self,
3045 request: crate::ErasureRequestInput,
3046 options: crate::CallOptions,
3047 ) -> Result<crate::CallResult<crate::ErasureRequestOutput>, crate::CallFailure> {
3048 self.call("erasure.request", &request, options).await
3049 }
3050 pub async fn erasure_status(
3052 &self,
3053 request: crate::ErasureStatusInput,
3054 ) -> Result<crate::ErasureStatusOutput, crate::Error> {
3055 self.erasure_status_with_options(request, crate::CallOptions::default())
3056 .await
3057 .map(|result| result.data)
3058 .map_err(|failure| failure.error)
3059 }
3060 pub async fn erasure_status_with_options(
3062 &self,
3063 request: crate::ErasureStatusInput,
3064 options: crate::CallOptions,
3065 ) -> Result<crate::CallResult<crate::ErasureStatusOutput>, crate::CallFailure> {
3066 self.call("erasure.status", &request, options).await
3067 }
3068 pub async fn erasure_export(
3070 &self,
3071 request: crate::ErasureExportInput,
3072 ) -> Result<crate::ErasureExportOutput, crate::Error> {
3073 self.erasure_export_with_options(request, crate::CallOptions::default())
3074 .await
3075 .map(|result| result.data)
3076 .map_err(|failure| failure.error)
3077 }
3078 pub async fn erasure_export_with_options(
3080 &self,
3081 request: crate::ErasureExportInput,
3082 options: crate::CallOptions,
3083 ) -> Result<crate::CallResult<crate::ErasureExportOutput>, crate::CallFailure> {
3084 self.call("erasure.export", &request, options).await
3085 }
3086 pub async fn erasure_list(
3088 &self,
3089 request: crate::ErasureListInput,
3090 ) -> Result<crate::ErasureListOutput, crate::Error> {
3091 self.erasure_list_with_options(request, crate::CallOptions::default())
3092 .await
3093 .map(|result| result.data)
3094 .map_err(|failure| failure.error)
3095 }
3096 pub async fn erasure_list_with_options(
3098 &self,
3099 request: crate::ErasureListInput,
3100 options: crate::CallOptions,
3101 ) -> Result<crate::CallResult<crate::ErasureListOutput>, crate::CallFailure> {
3102 self.call("erasure.list", &request, options).await
3103 }
3104 pub async fn cost_summary(
3106 &self,
3107 request: crate::CostSummaryInput,
3108 ) -> Result<crate::CostSummaryOutput, crate::Error> {
3109 self.cost_summary_with_options(request, crate::CallOptions::default())
3110 .await
3111 .map(|result| result.data)
3112 .map_err(|failure| failure.error)
3113 }
3114 pub async fn cost_summary_with_options(
3116 &self,
3117 request: crate::CostSummaryInput,
3118 options: crate::CallOptions,
3119 ) -> Result<crate::CallResult<crate::CostSummaryOutput>, crate::CallFailure> {
3120 self.call("cost.summary", &request, options).await
3121 }
3122 pub async fn cost_budget_status(
3124 &self,
3125 request: crate::BudgetStatusInput,
3126 ) -> Result<crate::BudgetStatusOutput, crate::Error> {
3127 self.cost_budget_status_with_options(request, crate::CallOptions::default())
3128 .await
3129 .map(|result| result.data)
3130 .map_err(|failure| failure.error)
3131 }
3132 pub async fn cost_budget_status_with_options(
3134 &self,
3135 request: crate::BudgetStatusInput,
3136 options: crate::CallOptions,
3137 ) -> Result<crate::CallResult<crate::BudgetStatusOutput>, crate::CallFailure> {
3138 self.call("cost.budget_status", &request, options).await
3139 }
3140 pub async fn cost_record_turns(
3142 &self,
3143 request: crate::CostRecordTurnsInput,
3144 ) -> Result<crate::CostRecordTurnsOutput, crate::Error> {
3145 self.cost_record_turns_with_options(request, crate::CallOptions::default())
3146 .await
3147 .map(|result| result.data)
3148 .map_err(|failure| failure.error)
3149 }
3150 pub async fn cost_record_turns_with_options(
3152 &self,
3153 request: crate::CostRecordTurnsInput,
3154 options: crate::CallOptions,
3155 ) -> Result<crate::CallResult<crate::CostRecordTurnsOutput>, crate::CallFailure> {
3156 self.call("cost.record_turns", &request, options).await
3157 }
3158 pub async fn cost_agent_summary(
3160 &self,
3161 request: crate::CostAgentSummaryInput,
3162 ) -> Result<crate::CostAgentSummaryOutput, crate::Error> {
3163 self.cost_agent_summary_with_options(request, crate::CallOptions::default())
3164 .await
3165 .map(|result| result.data)
3166 .map_err(|failure| failure.error)
3167 }
3168 pub async fn cost_agent_summary_with_options(
3170 &self,
3171 request: crate::CostAgentSummaryInput,
3172 options: crate::CallOptions,
3173 ) -> Result<crate::CallResult<crate::CostAgentSummaryOutput>, crate::CallFailure> {
3174 self.call("cost.agent_summary", &request, options).await
3175 }
3176 pub async fn insights_query(
3178 &self,
3179 request: crate::InsightsQueryInput,
3180 ) -> Result<crate::InsightsQueryOutput, crate::Error> {
3181 self.insights_query_with_options(request, crate::CallOptions::default())
3182 .await
3183 .map(|result| result.data)
3184 .map_err(|failure| failure.error)
3185 }
3186 pub async fn insights_query_with_options(
3188 &self,
3189 request: crate::InsightsQueryInput,
3190 options: crate::CallOptions,
3191 ) -> Result<crate::CallResult<crate::InsightsQueryOutput>, crate::CallFailure> {
3192 self.call("insights.query", &request, options).await
3193 }
3194 pub async fn insights_catalog(
3196 &self,
3197 request: crate::InsightsCatalogInput,
3198 ) -> Result<crate::InsightsCatalogOutput, crate::Error> {
3199 self.insights_catalog_with_options(request, crate::CallOptions::default())
3200 .await
3201 .map(|result| result.data)
3202 .map_err(|failure| failure.error)
3203 }
3204 pub async fn insights_catalog_with_options(
3206 &self,
3207 request: crate::InsightsCatalogInput,
3208 options: crate::CallOptions,
3209 ) -> Result<crate::CallResult<crate::InsightsCatalogOutput>, crate::CallFailure> {
3210 self.call("insights.catalog", &request, options).await
3211 }
3212 pub async fn assistant_ask(
3214 &self,
3215 request: crate::AssistantAskInput,
3216 ) -> Result<crate::AssistantAskOutput, crate::Error> {
3217 self.assistant_ask_with_options(request, crate::CallOptions::default())
3218 .await
3219 .map(|result| result.data)
3220 .map_err(|failure| failure.error)
3221 }
3222 pub async fn assistant_ask_with_options(
3224 &self,
3225 request: crate::AssistantAskInput,
3226 options: crate::CallOptions,
3227 ) -> Result<crate::CallResult<crate::AssistantAskOutput>, crate::CallFailure> {
3228 self.call("assistant.ask", &request, options).await
3229 }
3230 pub async fn decision_record(
3232 &self,
3233 request: crate::DecisionRecordInput,
3234 ) -> Result<crate::DecisionRecordOutput, crate::Error> {
3235 self.decision_record_with_options(request, crate::CallOptions::default())
3236 .await
3237 .map(|result| result.data)
3238 .map_err(|failure| failure.error)
3239 }
3240 pub async fn decision_record_with_options(
3242 &self,
3243 request: crate::DecisionRecordInput,
3244 options: crate::CallOptions,
3245 ) -> Result<crate::CallResult<crate::DecisionRecordOutput>, crate::CallFailure> {
3246 self.call("decision.record", &request, options).await
3247 }
3248 pub async fn decision_precedents(
3250 &self,
3251 request: crate::DecisionPrecedentsInput,
3252 ) -> Result<crate::DecisionPrecedentsOutput, crate::Error> {
3253 self.decision_precedents_with_options(request, crate::CallOptions::default())
3254 .await
3255 .map(|result| result.data)
3256 .map_err(|failure| failure.error)
3257 }
3258 pub async fn decision_precedents_with_options(
3260 &self,
3261 request: crate::DecisionPrecedentsInput,
3262 options: crate::CallOptions,
3263 ) -> Result<crate::CallResult<crate::DecisionPrecedentsOutput>, crate::CallFailure> {
3264 self.call("decision.precedents", &request, options).await
3265 }
3266 pub async fn decision_chain(
3268 &self,
3269 request: crate::DecisionChainInput,
3270 ) -> Result<crate::DecisionChainOutput, crate::Error> {
3271 self.decision_chain_with_options(request, crate::CallOptions::default())
3272 .await
3273 .map(|result| result.data)
3274 .map_err(|failure| failure.error)
3275 }
3276 pub async fn decision_chain_with_options(
3278 &self,
3279 request: crate::DecisionChainInput,
3280 options: crate::CallOptions,
3281 ) -> Result<crate::CallResult<crate::DecisionChainOutput>, crate::CallFailure> {
3282 self.call("decision.chain", &request, options).await
3283 }
3284 pub async fn decision_outcome(
3286 &self,
3287 request: crate::DecisionOutcomeInput,
3288 ) -> Result<crate::DecisionOutcomeOutput, crate::Error> {
3289 self.decision_outcome_with_options(request, crate::CallOptions::default())
3290 .await
3291 .map(|result| result.data)
3292 .map_err(|failure| failure.error)
3293 }
3294 pub async fn decision_outcome_with_options(
3296 &self,
3297 request: crate::DecisionOutcomeInput,
3298 options: crate::CallOptions,
3299 ) -> Result<crate::CallResult<crate::DecisionOutcomeOutput>, crate::CallFailure> {
3300 self.call("decision.outcome", &request, options).await
3301 }
3302 pub async fn memory_demonstrate(
3304 &self,
3305 request: crate::MemoryDemonstrateInput,
3306 ) -> Result<crate::MemoryDemonstrateOutput, crate::Error> {
3307 self.memory_demonstrate_with_options(request, crate::CallOptions::default())
3308 .await
3309 .map(|result| result.data)
3310 .map_err(|failure| failure.error)
3311 }
3312 pub async fn memory_demonstrate_with_options(
3314 &self,
3315 request: crate::MemoryDemonstrateInput,
3316 options: crate::CallOptions,
3317 ) -> Result<crate::CallResult<crate::MemoryDemonstrateOutput>, crate::CallFailure> {
3318 self.call("memory.demonstrate", &request, options).await
3319 }
3320 pub async fn audit_list(
3322 &self,
3323 request: crate::AuditListInput,
3324 ) -> Result<crate::AuditListOutput, crate::Error> {
3325 self.audit_list_with_options(request, crate::CallOptions::default())
3326 .await
3327 .map(|result| result.data)
3328 .map_err(|failure| failure.error)
3329 }
3330 pub async fn audit_list_with_options(
3332 &self,
3333 request: crate::AuditListInput,
3334 options: crate::CallOptions,
3335 ) -> Result<crate::CallResult<crate::AuditListOutput>, crate::CallFailure> {
3336 self.call("audit.list", &request, options).await
3337 }
3338 pub async fn namespace_register(
3340 &self,
3341 request: crate::NamespaceRegisterInput,
3342 ) -> Result<crate::NamespaceRegisterOutput, crate::Error> {
3343 self.namespace_register_with_options(request, crate::CallOptions::default())
3344 .await
3345 .map(|result| result.data)
3346 .map_err(|failure| failure.error)
3347 }
3348 pub async fn namespace_register_with_options(
3350 &self,
3351 request: crate::NamespaceRegisterInput,
3352 options: crate::CallOptions,
3353 ) -> Result<crate::CallResult<crate::NamespaceRegisterOutput>, crate::CallFailure> {
3354 self.call("namespace.register", &request, options).await
3355 }
3356 pub async fn namespace_list(
3358 &self,
3359 request: crate::NamespaceListInput,
3360 ) -> Result<crate::NamespaceListOutput, crate::Error> {
3361 self.namespace_list_with_options(request, crate::CallOptions::default())
3362 .await
3363 .map(|result| result.data)
3364 .map_err(|failure| failure.error)
3365 }
3366 pub async fn namespace_list_with_options(
3368 &self,
3369 request: crate::NamespaceListInput,
3370 options: crate::CallOptions,
3371 ) -> Result<crate::CallResult<crate::NamespaceListOutput>, crate::CallFailure> {
3372 self.call("namespace.list", &request, options).await
3373 }
3374 pub async fn namespace_get(
3376 &self,
3377 request: crate::NamespaceGetInput,
3378 ) -> Result<crate::NamespaceGetOutput, crate::Error> {
3379 self.namespace_get_with_options(request, crate::CallOptions::default())
3380 .await
3381 .map(|result| result.data)
3382 .map_err(|failure| failure.error)
3383 }
3384 pub async fn namespace_get_with_options(
3386 &self,
3387 request: crate::NamespaceGetInput,
3388 options: crate::CallOptions,
3389 ) -> Result<crate::CallResult<crate::NamespaceGetOutput>, crate::CallFailure> {
3390 self.call("namespace.get", &request, options).await
3391 }
3392 pub async fn namespace_delete(
3394 &self,
3395 request: crate::NamespaceDeleteInput,
3396 ) -> Result<crate::NamespaceDeleteOutput, crate::Error> {
3397 self.namespace_delete_with_options(request, crate::CallOptions::default())
3398 .await
3399 .map(|result| result.data)
3400 .map_err(|failure| failure.error)
3401 }
3402 pub async fn namespace_delete_with_options(
3404 &self,
3405 request: crate::NamespaceDeleteInput,
3406 options: crate::CallOptions,
3407 ) -> Result<crate::CallResult<crate::NamespaceDeleteOutput>, crate::CallFailure> {
3408 self.call("namespace.delete", &request, options).await
3409 }
3410 pub async fn namespace_browse(
3412 &self,
3413 request: crate::NamespaceBrowseInput,
3414 ) -> Result<crate::NamespaceBrowseOutput, crate::Error> {
3415 self.namespace_browse_with_options(request, crate::CallOptions::default())
3416 .await
3417 .map(|result| result.data)
3418 .map_err(|failure| failure.error)
3419 }
3420 pub async fn namespace_browse_with_options(
3422 &self,
3423 request: crate::NamespaceBrowseInput,
3424 options: crate::CallOptions,
3425 ) -> Result<crate::CallResult<crate::NamespaceBrowseOutput>, crate::CallFailure> {
3426 self.call("namespace.browse", &request, options).await
3427 }
3428 pub async fn namespace_join(
3430 &self,
3431 request: crate::NamespaceJoinInput,
3432 ) -> Result<crate::NamespaceJoinOutput, crate::Error> {
3433 self.namespace_join_with_options(request, crate::CallOptions::default())
3434 .await
3435 .map(|result| result.data)
3436 .map_err(|failure| failure.error)
3437 }
3438 pub async fn namespace_join_with_options(
3440 &self,
3441 request: crate::NamespaceJoinInput,
3442 options: crate::CallOptions,
3443 ) -> Result<crate::CallResult<crate::NamespaceJoinOutput>, crate::CallFailure> {
3444 self.call("namespace.join", &request, options).await
3445 }
3446 pub async fn namespace_leave(
3448 &self,
3449 request: crate::NamespaceLeaveInput,
3450 ) -> Result<crate::NamespaceLeaveOutput, crate::Error> {
3451 self.namespace_leave_with_options(request, crate::CallOptions::default())
3452 .await
3453 .map(|result| result.data)
3454 .map_err(|failure| failure.error)
3455 }
3456 pub async fn namespace_leave_with_options(
3458 &self,
3459 request: crate::NamespaceLeaveInput,
3460 options: crate::CallOptions,
3461 ) -> Result<crate::CallResult<crate::NamespaceLeaveOutput>, crate::CallFailure> {
3462 self.call("namespace.leave", &request, options).await
3463 }
3464 pub async fn namespace_cancel_request(
3466 &self,
3467 request: crate::NamespaceCancelRequestInput,
3468 ) -> Result<crate::NamespaceCancelRequestOutput, crate::Error> {
3469 self.namespace_cancel_request_with_options(request, crate::CallOptions::default())
3470 .await
3471 .map(|result| result.data)
3472 .map_err(|failure| failure.error)
3473 }
3474 pub async fn namespace_cancel_request_with_options(
3476 &self,
3477 request: crate::NamespaceCancelRequestInput,
3478 options: crate::CallOptions,
3479 ) -> Result<crate::CallResult<crate::NamespaceCancelRequestOutput>, crate::CallFailure> {
3480 self.call("namespace.cancel_request", &request, options)
3481 .await
3482 }
3483 pub async fn namespace_list_mine(
3485 &self,
3486 request: crate::NamespaceListMineInput,
3487 ) -> Result<crate::NamespaceListMineOutput, crate::Error> {
3488 self.namespace_list_mine_with_options(request, crate::CallOptions::default())
3489 .await
3490 .map(|result| result.data)
3491 .map_err(|failure| failure.error)
3492 }
3493 pub async fn namespace_list_mine_with_options(
3495 &self,
3496 request: crate::NamespaceListMineInput,
3497 options: crate::CallOptions,
3498 ) -> Result<crate::CallResult<crate::NamespaceListMineOutput>, crate::CallFailure> {
3499 self.call("namespace.list_mine", &request, options).await
3500 }
3501 pub async fn namespace_mark_seen(
3503 &self,
3504 request: crate::NamespaceMarkSeenInput,
3505 ) -> Result<crate::NamespaceMarkSeenOutput, crate::Error> {
3506 self.namespace_mark_seen_with_options(request, crate::CallOptions::default())
3507 .await
3508 .map(|result| result.data)
3509 .map_err(|failure| failure.error)
3510 }
3511 pub async fn namespace_mark_seen_with_options(
3513 &self,
3514 request: crate::NamespaceMarkSeenInput,
3515 options: crate::CallOptions,
3516 ) -> Result<crate::CallResult<crate::NamespaceMarkSeenOutput>, crate::CallFailure> {
3517 self.call("namespace.mark_seen", &request, options).await
3518 }
3519 pub async fn namespace_snapshot(
3521 &self,
3522 request: crate::NamespaceSnapshotInput,
3523 ) -> Result<crate::NamespaceSnapshotOutput, crate::Error> {
3524 self.namespace_snapshot_with_options(request, crate::CallOptions::default())
3525 .await
3526 .map(|result| result.data)
3527 .map_err(|failure| failure.error)
3528 }
3529 pub async fn namespace_snapshot_with_options(
3531 &self,
3532 request: crate::NamespaceSnapshotInput,
3533 options: crate::CallOptions,
3534 ) -> Result<crate::CallResult<crate::NamespaceSnapshotOutput>, crate::CallFailure> {
3535 self.call("namespace.snapshot", &request, options).await
3536 }
3537 pub async fn namespace_restore(
3539 &self,
3540 request: crate::NamespaceRestoreInput,
3541 ) -> Result<crate::NamespaceRestoreOutput, crate::Error> {
3542 self.namespace_restore_with_options(request, crate::CallOptions::default())
3543 .await
3544 .map(|result| result.data)
3545 .map_err(|failure| failure.error)
3546 }
3547 pub async fn namespace_restore_with_options(
3549 &self,
3550 request: crate::NamespaceRestoreInput,
3551 options: crate::CallOptions,
3552 ) -> Result<crate::CallResult<crate::NamespaceRestoreOutput>, crate::CallFailure> {
3553 self.call("namespace.restore", &request, options).await
3554 }
3555 pub async fn namespace_rollback(
3557 &self,
3558 request: crate::NamespaceRollbackInput,
3559 ) -> Result<crate::NamespaceRollbackOutput, crate::Error> {
3560 self.namespace_rollback_with_options(request, crate::CallOptions::default())
3561 .await
3562 .map(|result| result.data)
3563 .map_err(|failure| failure.error)
3564 }
3565 pub async fn namespace_rollback_with_options(
3567 &self,
3568 request: crate::NamespaceRollbackInput,
3569 options: crate::CallOptions,
3570 ) -> Result<crate::CallResult<crate::NamespaceRollbackOutput>, crate::CallFailure> {
3571 self.call("namespace.rollback", &request, options).await
3572 }
3573 pub async fn namespace_taxonomy(
3575 &self,
3576 request: crate::NamespaceTaxonomyInput,
3577 ) -> Result<crate::NamespaceTaxonomyOutput, crate::Error> {
3578 self.namespace_taxonomy_with_options(request, crate::CallOptions::default())
3579 .await
3580 .map(|result| result.data)
3581 .map_err(|failure| failure.error)
3582 }
3583 pub async fn namespace_taxonomy_with_options(
3585 &self,
3586 request: crate::NamespaceTaxonomyInput,
3587 options: crate::CallOptions,
3588 ) -> Result<crate::CallResult<crate::NamespaceTaxonomyOutput>, crate::CallFailure> {
3589 self.call("namespace.taxonomy", &request, options).await
3590 }
3591 pub async fn namespace_register_category(
3593 &self,
3594 request: crate::NamespaceRegisterCategoryInput,
3595 ) -> Result<crate::NamespaceRegisterCategoryOutput, crate::Error> {
3596 self.namespace_register_category_with_options(request, crate::CallOptions::default())
3597 .await
3598 .map(|result| result.data)
3599 .map_err(|failure| failure.error)
3600 }
3601 pub async fn namespace_register_category_with_options(
3603 &self,
3604 request: crate::NamespaceRegisterCategoryInput,
3605 options: crate::CallOptions,
3606 ) -> Result<crate::CallResult<crate::NamespaceRegisterCategoryOutput>, crate::CallFailure> {
3607 self.call("namespace.register_category", &request, options)
3608 .await
3609 }
3610 pub async fn namespace_list_categories(
3612 &self,
3613 request: crate::NamespaceListCategoriesInput,
3614 ) -> Result<crate::NamespaceListCategoriesOutput, crate::Error> {
3615 self.namespace_list_categories_with_options(request, crate::CallOptions::default())
3616 .await
3617 .map(|result| result.data)
3618 .map_err(|failure| failure.error)
3619 }
3620 pub async fn namespace_list_categories_with_options(
3622 &self,
3623 request: crate::NamespaceListCategoriesInput,
3624 options: crate::CallOptions,
3625 ) -> Result<crate::CallResult<crate::NamespaceListCategoriesOutput>, crate::CallFailure> {
3626 self.call("namespace.list_categories", &request, options)
3627 .await
3628 }
3629 pub async fn namespace_search_categories(
3631 &self,
3632 request: crate::NamespaceSearchCategoriesInput,
3633 ) -> Result<crate::NamespaceSearchCategoriesOutput, crate::Error> {
3634 self.namespace_search_categories_with_options(request, crate::CallOptions::default())
3635 .await
3636 .map(|result| result.data)
3637 .map_err(|failure| failure.error)
3638 }
3639 pub async fn namespace_search_categories_with_options(
3641 &self,
3642 request: crate::NamespaceSearchCategoriesInput,
3643 options: crate::CallOptions,
3644 ) -> Result<crate::CallResult<crate::NamespaceSearchCategoriesOutput>, crate::CallFailure> {
3645 self.call("namespace.search_categories", &request, options)
3646 .await
3647 }
3648 pub async fn namespace_summary(
3650 &self,
3651 request: crate::NamespaceSummaryInput,
3652 ) -> Result<crate::NamespaceSummaryOutput, crate::Error> {
3653 self.namespace_summary_with_options(request, crate::CallOptions::default())
3654 .await
3655 .map(|result| result.data)
3656 .map_err(|failure| failure.error)
3657 }
3658 pub async fn namespace_summary_with_options(
3660 &self,
3661 request: crate::NamespaceSummaryInput,
3662 options: crate::CallOptions,
3663 ) -> Result<crate::CallResult<crate::NamespaceSummaryOutput>, crate::CallFailure> {
3664 self.call("namespace.summary", &request, options).await
3665 }
3666 pub async fn namespace_inventory(
3668 &self,
3669 request: crate::NamespaceInventoryInput,
3670 ) -> Result<crate::NamespaceInventoryOutput, crate::Error> {
3671 self.namespace_inventory_with_options(request, crate::CallOptions::default())
3672 .await
3673 .map(|result| result.data)
3674 .map_err(|failure| failure.error)
3675 }
3676 pub async fn namespace_inventory_with_options(
3678 &self,
3679 request: crate::NamespaceInventoryInput,
3680 options: crate::CallOptions,
3681 ) -> Result<crate::CallResult<crate::NamespaceInventoryOutput>, crate::CallFailure> {
3682 self.call("namespace.inventory", &request, options).await
3683 }
3684 pub async fn namespace_validate(
3686 &self,
3687 request: crate::NamespaceValidateInput,
3688 ) -> Result<crate::NamespaceValidateOutput, crate::Error> {
3689 self.namespace_validate_with_options(request, crate::CallOptions::default())
3690 .await
3691 .map(|result| result.data)
3692 .map_err(|failure| failure.error)
3693 }
3694 pub async fn namespace_validate_with_options(
3696 &self,
3697 request: crate::NamespaceValidateInput,
3698 options: crate::CallOptions,
3699 ) -> Result<crate::CallResult<crate::NamespaceValidateOutput>, crate::CallFailure> {
3700 self.call("namespace.validate", &request, options).await
3701 }
3702 pub async fn namespace_audit(
3704 &self,
3705 request: crate::NamespaceAuditInput,
3706 ) -> Result<crate::NamespaceAuditOutput, crate::Error> {
3707 self.namespace_audit_with_options(request, crate::CallOptions::default())
3708 .await
3709 .map(|result| result.data)
3710 .map_err(|failure| failure.error)
3711 }
3712 pub async fn namespace_audit_with_options(
3714 &self,
3715 request: crate::NamespaceAuditInput,
3716 options: crate::CallOptions,
3717 ) -> Result<crate::CallResult<crate::NamespaceAuditOutput>, crate::CallFailure> {
3718 self.call("namespace.audit", &request, options).await
3719 }
3720 pub async fn namespace_tune(
3722 &self,
3723 request: crate::NamespaceTuneInput,
3724 ) -> Result<crate::NamespaceTuneOutput, crate::Error> {
3725 self.namespace_tune_with_options(request, crate::CallOptions::default())
3726 .await
3727 .map(|result| result.data)
3728 .map_err(|failure| failure.error)
3729 }
3730 pub async fn namespace_tune_with_options(
3732 &self,
3733 request: crate::NamespaceTuneInput,
3734 options: crate::CallOptions,
3735 ) -> Result<crate::CallResult<crate::NamespaceTuneOutput>, crate::CallFailure> {
3736 self.call("namespace.tune", &request, options).await
3737 }
3738 pub async fn namespace_register_ontology(
3740 &self,
3741 request: crate::NamespaceRegisterOntologyInput,
3742 ) -> Result<crate::NamespaceRegisterOntologyOutput, crate::Error> {
3743 self.namespace_register_ontology_with_options(request, crate::CallOptions::default())
3744 .await
3745 .map(|result| result.data)
3746 .map_err(|failure| failure.error)
3747 }
3748 pub async fn namespace_register_ontology_with_options(
3750 &self,
3751 request: crate::NamespaceRegisterOntologyInput,
3752 options: crate::CallOptions,
3753 ) -> Result<crate::CallResult<crate::NamespaceRegisterOntologyOutput>, crate::CallFailure> {
3754 self.call("namespace.register_ontology", &request, options)
3755 .await
3756 }
3757 pub async fn namespace_list_ontology(
3759 &self,
3760 request: crate::NamespaceListOntologyInput,
3761 ) -> Result<crate::NamespaceListOntologyOutput, crate::Error> {
3762 self.namespace_list_ontology_with_options(request, crate::CallOptions::default())
3763 .await
3764 .map(|result| result.data)
3765 .map_err(|failure| failure.error)
3766 }
3767 pub async fn namespace_list_ontology_with_options(
3769 &self,
3770 request: crate::NamespaceListOntologyInput,
3771 options: crate::CallOptions,
3772 ) -> Result<crate::CallResult<crate::NamespaceListOntologyOutput>, crate::CallFailure> {
3773 self.call("namespace.list_ontology", &request, options)
3774 .await
3775 }
3776 pub async fn namespace_guide_get(
3778 &self,
3779 request: crate::NamespaceGuideGetInput,
3780 ) -> Result<crate::NamespaceGuideGetOutput, crate::Error> {
3781 self.namespace_guide_get_with_options(request, crate::CallOptions::default())
3782 .await
3783 .map(|result| result.data)
3784 .map_err(|failure| failure.error)
3785 }
3786 pub async fn namespace_guide_get_with_options(
3788 &self,
3789 request: crate::NamespaceGuideGetInput,
3790 options: crate::CallOptions,
3791 ) -> Result<crate::CallResult<crate::NamespaceGuideGetOutput>, crate::CallFailure> {
3792 self.call("namespace.guide_get", &request, options).await
3793 }
3794 pub async fn namespace_guide_set(
3796 &self,
3797 request: crate::NamespaceGuideSetInput,
3798 ) -> Result<crate::NamespaceGuideSetOutput, crate::Error> {
3799 self.namespace_guide_set_with_options(request, crate::CallOptions::default())
3800 .await
3801 .map(|result| result.data)
3802 .map_err(|failure| failure.error)
3803 }
3804 pub async fn namespace_guide_set_with_options(
3806 &self,
3807 request: crate::NamespaceGuideSetInput,
3808 options: crate::CallOptions,
3809 ) -> Result<crate::CallResult<crate::NamespaceGuideSetOutput>, crate::CallFailure> {
3810 self.call("namespace.guide_set", &request, options).await
3811 }
3812 pub async fn namespace_guide_history(
3814 &self,
3815 request: crate::NamespaceGuideHistoryInput,
3816 ) -> Result<crate::NamespaceGuideHistoryOutput, crate::Error> {
3817 self.namespace_guide_history_with_options(request, crate::CallOptions::default())
3818 .await
3819 .map(|result| result.data)
3820 .map_err(|failure| failure.error)
3821 }
3822 pub async fn namespace_guide_history_with_options(
3824 &self,
3825 request: crate::NamespaceGuideHistoryInput,
3826 options: crate::CallOptions,
3827 ) -> Result<crate::CallResult<crate::NamespaceGuideHistoryOutput>, crate::CallFailure> {
3828 self.call("namespace.guide_history", &request, options)
3829 .await
3830 }
3831 pub async fn mentor_brief(
3833 &self,
3834 request: crate::MentorBriefInput,
3835 ) -> Result<crate::MentorBriefOutput, crate::Error> {
3836 self.mentor_brief_with_options(request, crate::CallOptions::default())
3837 .await
3838 .map(|result| result.data)
3839 .map_err(|failure| failure.error)
3840 }
3841 pub async fn mentor_brief_with_options(
3843 &self,
3844 request: crate::MentorBriefInput,
3845 options: crate::CallOptions,
3846 ) -> Result<crate::CallResult<crate::MentorBriefOutput>, crate::CallFailure> {
3847 self.call("mentor.brief", &request, options).await
3848 }
3849 pub async fn mentor_guide(
3851 &self,
3852 request: crate::MentorGuideInput,
3853 ) -> Result<crate::MentorGuideOutput, crate::Error> {
3854 self.mentor_guide_with_options(request, crate::CallOptions::default())
3855 .await
3856 .map(|result| result.data)
3857 .map_err(|failure| failure.error)
3858 }
3859 pub async fn mentor_guide_with_options(
3861 &self,
3862 request: crate::MentorGuideInput,
3863 options: crate::CallOptions,
3864 ) -> Result<crate::CallResult<crate::MentorGuideOutput>, crate::CallFailure> {
3865 self.call("mentor.guide", &request, options).await
3866 }
3867 pub async fn ops_capabilities(
3869 &self,
3870 request: crate::OpsCapabilitiesInput,
3871 ) -> Result<crate::OpsCapabilitiesOutput, crate::Error> {
3872 self.ops_capabilities_with_options(request, crate::CallOptions::default())
3873 .await
3874 .map(|result| result.data)
3875 .map_err(|failure| failure.error)
3876 }
3877 pub async fn ops_capabilities_with_options(
3879 &self,
3880 request: crate::OpsCapabilitiesInput,
3881 options: crate::CallOptions,
3882 ) -> Result<crate::CallResult<crate::OpsCapabilitiesOutput>, crate::CallFailure> {
3883 self.call("ops.capabilities", &request, options).await
3884 }
3885 pub async fn ops_health(
3887 &self,
3888 request: crate::OpsHealthInput,
3889 ) -> Result<crate::OpsHealthOutput, crate::Error> {
3890 self.ops_health_with_options(request, crate::CallOptions::default())
3891 .await
3892 .map(|result| result.data)
3893 .map_err(|failure| failure.error)
3894 }
3895 pub async fn ops_health_with_options(
3897 &self,
3898 request: crate::OpsHealthInput,
3899 options: crate::CallOptions,
3900 ) -> Result<crate::CallResult<crate::OpsHealthOutput>, crate::CallFailure> {
3901 self.call("ops.health", &request, options).await
3902 }
3903 pub async fn ops_projection_failures_list(
3905 &self,
3906 request: crate::ProjectionFailureListInput,
3907 ) -> Result<crate::ProjectionFailureListOutput, crate::Error> {
3908 self.ops_projection_failures_list_with_options(request, crate::CallOptions::default())
3909 .await
3910 .map(|result| result.data)
3911 .map_err(|failure| failure.error)
3912 }
3913 pub async fn ops_projection_failures_list_with_options(
3915 &self,
3916 request: crate::ProjectionFailureListInput,
3917 options: crate::CallOptions,
3918 ) -> Result<crate::CallResult<crate::ProjectionFailureListOutput>, crate::CallFailure> {
3919 self.call("ops.projection_failures.list", &request, options)
3920 .await
3921 }
3922 pub async fn ops_projection_failures_resolve(
3924 &self,
3925 request: crate::ProjectionFailureResolveInput,
3926 ) -> Result<crate::ProjectionFailureResolveOutput, crate::Error> {
3927 self.ops_projection_failures_resolve_with_options(request, crate::CallOptions::default())
3928 .await
3929 .map(|result| result.data)
3930 .map_err(|failure| failure.error)
3931 }
3932 pub async fn ops_projection_failures_resolve_with_options(
3934 &self,
3935 request: crate::ProjectionFailureResolveInput,
3936 options: crate::CallOptions,
3937 ) -> Result<crate::CallResult<crate::ProjectionFailureResolveOutput>, crate::CallFailure> {
3938 self.call("ops.projection_failures.resolve", &request, options)
3939 .await
3940 }
3941 pub async fn ops_projection_failures_retry(
3943 &self,
3944 request: crate::ProjectionFailureRetryInput,
3945 ) -> Result<crate::ProjectionFailureRetryOutput, crate::Error> {
3946 self.ops_projection_failures_retry_with_options(request, crate::CallOptions::default())
3947 .await
3948 .map(|result| result.data)
3949 .map_err(|failure| failure.error)
3950 }
3951 pub async fn ops_projection_failures_retry_with_options(
3953 &self,
3954 request: crate::ProjectionFailureRetryInput,
3955 options: crate::CallOptions,
3956 ) -> Result<crate::CallResult<crate::ProjectionFailureRetryOutput>, crate::CallFailure> {
3957 self.call("ops.projection_failures.retry", &request, options)
3958 .await
3959 }
3960 pub async fn grants_create(
3962 &self,
3963 request: crate::GrantsCreateInput,
3964 ) -> Result<crate::GrantsCreateOutput, crate::Error> {
3965 self.grants_create_with_options(request, crate::CallOptions::default())
3966 .await
3967 .map(|result| result.data)
3968 .map_err(|failure| failure.error)
3969 }
3970 pub async fn grants_create_with_options(
3972 &self,
3973 request: crate::GrantsCreateInput,
3974 options: crate::CallOptions,
3975 ) -> Result<crate::CallResult<crate::GrantsCreateOutput>, crate::CallFailure> {
3976 self.call("grants.create", &request, options).await
3977 }
3978 pub async fn grants_list(
3980 &self,
3981 request: crate::GrantsListInput,
3982 ) -> Result<crate::GrantsListOutput, crate::Error> {
3983 self.grants_list_with_options(request, crate::CallOptions::default())
3984 .await
3985 .map(|result| result.data)
3986 .map_err(|failure| failure.error)
3987 }
3988 pub async fn grants_list_with_options(
3990 &self,
3991 request: crate::GrantsListInput,
3992 options: crate::CallOptions,
3993 ) -> Result<crate::CallResult<crate::GrantsListOutput>, crate::CallFailure> {
3994 self.call("grants.list", &request, options).await
3995 }
3996 pub async fn grants_pending_for_me(
3998 &self,
3999 request: crate::GrantsPendingForMeInput,
4000 ) -> Result<crate::GrantsPendingForMeOutput, crate::Error> {
4001 self.grants_pending_for_me_with_options(request, crate::CallOptions::default())
4002 .await
4003 .map(|result| result.data)
4004 .map_err(|failure| failure.error)
4005 }
4006 pub async fn grants_pending_for_me_with_options(
4008 &self,
4009 request: crate::GrantsPendingForMeInput,
4010 options: crate::CallOptions,
4011 ) -> Result<crate::CallResult<crate::GrantsPendingForMeOutput>, crate::CallFailure> {
4012 self.call("grants.pending_for_me", &request, options).await
4013 }
4014 pub async fn grants_revoke(
4016 &self,
4017 request: crate::GrantsRevokeInput,
4018 ) -> Result<crate::GrantsRevokeOutput, crate::Error> {
4019 self.grants_revoke_with_options(request, crate::CallOptions::default())
4020 .await
4021 .map(|result| result.data)
4022 .map_err(|failure| failure.error)
4023 }
4024 pub async fn grants_revoke_with_options(
4026 &self,
4027 request: crate::GrantsRevokeInput,
4028 options: crate::CallOptions,
4029 ) -> Result<crate::CallResult<crate::GrantsRevokeOutput>, crate::CallFailure> {
4030 self.call("grants.revoke", &request, options).await
4031 }
4032 pub async fn grants_approve(
4034 &self,
4035 request: crate::GrantsApproveInput,
4036 ) -> Result<crate::GrantsApproveOutput, crate::Error> {
4037 self.grants_approve_with_options(request, crate::CallOptions::default())
4038 .await
4039 .map(|result| result.data)
4040 .map_err(|failure| failure.error)
4041 }
4042 pub async fn grants_approve_with_options(
4044 &self,
4045 request: crate::GrantsApproveInput,
4046 options: crate::CallOptions,
4047 ) -> Result<crate::CallResult<crate::GrantsApproveOutput>, crate::CallFailure> {
4048 self.call("grants.approve", &request, options).await
4049 }
4050 pub async fn grants_share_agent(
4052 &self,
4053 request: crate::GrantsShareAgentInput,
4054 ) -> Result<crate::GrantsShareAgentOutput, crate::Error> {
4055 self.grants_share_agent_with_options(request, crate::CallOptions::default())
4056 .await
4057 .map(|result| result.data)
4058 .map_err(|failure| failure.error)
4059 }
4060 pub async fn grants_share_agent_with_options(
4062 &self,
4063 request: crate::GrantsShareAgentInput,
4064 options: crate::CallOptions,
4065 ) -> Result<crate::CallResult<crate::GrantsShareAgentOutput>, crate::CallFailure> {
4066 self.call("grants.share_agent", &request, options).await
4067 }
4068 pub async fn grants_unshare_agent(
4070 &self,
4071 request: crate::GrantsUnshareAgentInput,
4072 ) -> Result<crate::GrantsUnshareAgentOutput, crate::Error> {
4073 self.grants_unshare_agent_with_options(request, crate::CallOptions::default())
4074 .await
4075 .map(|result| result.data)
4076 .map_err(|failure| failure.error)
4077 }
4078 pub async fn grants_unshare_agent_with_options(
4080 &self,
4081 request: crate::GrantsUnshareAgentInput,
4082 options: crate::CallOptions,
4083 ) -> Result<crate::CallResult<crate::GrantsUnshareAgentOutput>, crate::CallFailure> {
4084 self.call("grants.unshare_agent", &request, options).await
4085 }
4086 pub async fn collection_create(
4088 &self,
4089 request: crate::CollectionCreateInput,
4090 ) -> Result<crate::CollectionCreateOutput, crate::Error> {
4091 self.collection_create_with_options(request, crate::CallOptions::default())
4092 .await
4093 .map(|result| result.data)
4094 .map_err(|failure| failure.error)
4095 }
4096 pub async fn collection_create_with_options(
4098 &self,
4099 request: crate::CollectionCreateInput,
4100 options: crate::CallOptions,
4101 ) -> Result<crate::CallResult<crate::CollectionCreateOutput>, crate::CallFailure> {
4102 self.call("collection.create", &request, options).await
4103 }
4104 pub async fn collection_move(
4106 &self,
4107 request: crate::CollectionMoveInput,
4108 ) -> Result<crate::CollectionMoveOutput, crate::Error> {
4109 self.collection_move_with_options(request, crate::CallOptions::default())
4110 .await
4111 .map(|result| result.data)
4112 .map_err(|failure| failure.error)
4113 }
4114 pub async fn collection_move_with_options(
4116 &self,
4117 request: crate::CollectionMoveInput,
4118 options: crate::CallOptions,
4119 ) -> Result<crate::CallResult<crate::CollectionMoveOutput>, crate::CallFailure> {
4120 self.call("collection.move", &request, options).await
4121 }
4122 pub async fn collection_list(
4124 &self,
4125 request: crate::CollectionListInput,
4126 ) -> Result<crate::CollectionListOutput, crate::Error> {
4127 self.collection_list_with_options(request, crate::CallOptions::default())
4128 .await
4129 .map(|result| result.data)
4130 .map_err(|failure| failure.error)
4131 }
4132 pub async fn collection_list_with_options(
4134 &self,
4135 request: crate::CollectionListInput,
4136 options: crate::CallOptions,
4137 ) -> Result<crate::CallResult<crate::CollectionListOutput>, crate::CallFailure> {
4138 self.call("collection.list", &request, options).await
4139 }
4140 pub async fn collection_delete(
4142 &self,
4143 request: crate::CollectionDeleteInput,
4144 ) -> Result<crate::CollectionDeleteOutput, crate::Error> {
4145 self.collection_delete_with_options(request, crate::CallOptions::default())
4146 .await
4147 .map(|result| result.data)
4148 .map_err(|failure| failure.error)
4149 }
4150 pub async fn collection_delete_with_options(
4152 &self,
4153 request: crate::CollectionDeleteInput,
4154 options: crate::CallOptions,
4155 ) -> Result<crate::CallResult<crate::CollectionDeleteOutput>, crate::CallFailure> {
4156 self.call("collection.delete", &request, options).await
4157 }
4158 pub async fn agents_connected(
4160 &self,
4161 request: crate::AgentsConnectedInput,
4162 ) -> Result<crate::AgentsConnectedOutput, crate::Error> {
4163 self.agents_connected_with_options(request, crate::CallOptions::default())
4164 .await
4165 .map(|result| result.data)
4166 .map_err(|failure| failure.error)
4167 }
4168 pub async fn agents_connected_with_options(
4170 &self,
4171 request: crate::AgentsConnectedInput,
4172 options: crate::CallOptions,
4173 ) -> Result<crate::CallResult<crate::AgentsConnectedOutput>, crate::CallFailure> {
4174 self.call("agents.connected", &request, options).await
4175 }
4176 pub async fn admin_users(
4178 &self,
4179 request: crate::AdminUsersInput,
4180 ) -> Result<crate::AdminUsersOutput, crate::Error> {
4181 self.admin_users_with_options(request, crate::CallOptions::default())
4182 .await
4183 .map(|result| result.data)
4184 .map_err(|failure| failure.error)
4185 }
4186 pub async fn admin_users_with_options(
4188 &self,
4189 request: crate::AdminUsersInput,
4190 options: crate::CallOptions,
4191 ) -> Result<crate::CallResult<crate::AdminUsersOutput>, crate::CallFailure> {
4192 self.call("admin.users", &request, options).await
4193 }
4194 pub async fn org_set_model_calls(
4196 &self,
4197 request: crate::OrgSetModelCallsInput,
4198 ) -> Result<crate::OrgModelCallsOutput, crate::Error> {
4199 self.org_set_model_calls_with_options(request, crate::CallOptions::default())
4200 .await
4201 .map(|result| result.data)
4202 .map_err(|failure| failure.error)
4203 }
4204 pub async fn org_set_model_calls_with_options(
4206 &self,
4207 request: crate::OrgSetModelCallsInput,
4208 options: crate::CallOptions,
4209 ) -> Result<crate::CallResult<crate::OrgModelCallsOutput>, crate::CallFailure> {
4210 self.call("org.set_model_calls", &request, options).await
4211 }
4212 pub async fn org_model_calls(
4214 &self,
4215 request: crate::OrgModelCallsInput,
4216 ) -> Result<crate::OrgModelCallsOutput, crate::Error> {
4217 self.org_model_calls_with_options(request, crate::CallOptions::default())
4218 .await
4219 .map(|result| result.data)
4220 .map_err(|failure| failure.error)
4221 }
4222 pub async fn org_model_calls_with_options(
4224 &self,
4225 request: crate::OrgModelCallsInput,
4226 options: crate::CallOptions,
4227 ) -> Result<crate::CallResult<crate::OrgModelCallsOutput>, crate::CallFailure> {
4228 self.call("org.model_calls", &request, options).await
4229 }
4230 pub async fn facts_list(
4232 &self,
4233 request: crate::FactsListInput,
4234 ) -> Result<crate::FactsListOutput, crate::Error> {
4235 self.facts_list_with_options(request, crate::CallOptions::default())
4236 .await
4237 .map(|result| result.data)
4238 .map_err(|failure| failure.error)
4239 }
4240 pub async fn facts_list_with_options(
4242 &self,
4243 request: crate::FactsListInput,
4244 options: crate::CallOptions,
4245 ) -> Result<crate::CallResult<crate::FactsListOutput>, crate::CallFailure> {
4246 self.call("facts.list", &request, options).await
4247 }
4248 pub async fn facts_related(
4250 &self,
4251 request: crate::FactsRelatedInput,
4252 ) -> Result<crate::FactsRelatedOutput, crate::Error> {
4253 self.facts_related_with_options(request, crate::CallOptions::default())
4254 .await
4255 .map(|result| result.data)
4256 .map_err(|failure| failure.error)
4257 }
4258 pub async fn facts_related_with_options(
4260 &self,
4261 request: crate::FactsRelatedInput,
4262 options: crate::CallOptions,
4263 ) -> Result<crate::CallResult<crate::FactsRelatedOutput>, crate::CallFailure> {
4264 self.call("facts.related", &request, options).await
4265 }
4266 pub async fn facts_traverse(
4268 &self,
4269 request: crate::FactsTraverseInput,
4270 ) -> Result<crate::FactsTraverseOutput, crate::Error> {
4271 self.facts_traverse_with_options(request, crate::CallOptions::default())
4272 .await
4273 .map(|result| result.data)
4274 .map_err(|failure| failure.error)
4275 }
4276 pub async fn facts_traverse_with_options(
4278 &self,
4279 request: crate::FactsTraverseInput,
4280 options: crate::CallOptions,
4281 ) -> Result<crate::CallResult<crate::FactsTraverseOutput>, crate::CallFailure> {
4282 self.call("facts.traverse", &request, options).await
4283 }
4284 pub async fn facts_path(
4286 &self,
4287 request: crate::FactsPathInput,
4288 ) -> Result<crate::FactsPathOutput, crate::Error> {
4289 self.facts_path_with_options(request, crate::CallOptions::default())
4290 .await
4291 .map(|result| result.data)
4292 .map_err(|failure| failure.error)
4293 }
4294 pub async fn facts_path_with_options(
4296 &self,
4297 request: crate::FactsPathInput,
4298 options: crate::CallOptions,
4299 ) -> Result<crate::CallResult<crate::FactsPathOutput>, crate::CallFailure> {
4300 self.call("facts.path", &request, options).await
4301 }
4302 pub async fn facts_expire_by_adapter(
4304 &self,
4305 request: crate::FactsExpireByAdapterInput,
4306 ) -> Result<crate::FactsExpireByAdapterOutput, crate::Error> {
4307 self.facts_expire_by_adapter_with_options(request, crate::CallOptions::default())
4308 .await
4309 .map(|result| result.data)
4310 .map_err(|failure| failure.error)
4311 }
4312 pub async fn facts_expire_by_adapter_with_options(
4314 &self,
4315 request: crate::FactsExpireByAdapterInput,
4316 options: crate::CallOptions,
4317 ) -> Result<crate::CallResult<crate::FactsExpireByAdapterOutput>, crate::CallFailure> {
4318 self.call("facts.expire_by_adapter", &request, options)
4319 .await
4320 }
4321 pub async fn profile_set(
4323 &self,
4324 request: crate::ProfileSetInput,
4325 ) -> Result<crate::ProfileMutationOutput, crate::Error> {
4326 self.profile_set_with_options(request, crate::CallOptions::default())
4327 .await
4328 .map(|result| result.data)
4329 .map_err(|failure| failure.error)
4330 }
4331 pub async fn profile_set_with_options(
4333 &self,
4334 request: crate::ProfileSetInput,
4335 options: crate::CallOptions,
4336 ) -> Result<crate::CallResult<crate::ProfileMutationOutput>, crate::CallFailure> {
4337 self.call("profile.set", &request, options).await
4338 }
4339 pub async fn profile_append(
4341 &self,
4342 request: crate::ProfileAppendInput,
4343 ) -> Result<crate::ProfileMutationOutput, crate::Error> {
4344 self.profile_append_with_options(request, crate::CallOptions::default())
4345 .await
4346 .map(|result| result.data)
4347 .map_err(|failure| failure.error)
4348 }
4349 pub async fn profile_append_with_options(
4351 &self,
4352 request: crate::ProfileAppendInput,
4353 options: crate::CallOptions,
4354 ) -> Result<crate::CallResult<crate::ProfileMutationOutput>, crate::CallFailure> {
4355 self.call("profile.append", &request, options).await
4356 }
4357 pub async fn profile_replace(
4359 &self,
4360 request: crate::ProfileReplaceInput,
4361 ) -> Result<crate::ProfileMutationOutput, crate::Error> {
4362 self.profile_replace_with_options(request, crate::CallOptions::default())
4363 .await
4364 .map(|result| result.data)
4365 .map_err(|failure| failure.error)
4366 }
4367 pub async fn profile_replace_with_options(
4369 &self,
4370 request: crate::ProfileReplaceInput,
4371 options: crate::CallOptions,
4372 ) -> Result<crate::CallResult<crate::ProfileMutationOutput>, crate::CallFailure> {
4373 self.call("profile.replace", &request, options).await
4374 }
4375 pub async fn profile_render(
4377 &self,
4378 request: crate::ProfileRenderInput,
4379 ) -> Result<crate::ProfileRenderOutput, crate::Error> {
4380 self.profile_render_with_options(request, crate::CallOptions::default())
4381 .await
4382 .map(|result| result.data)
4383 .map_err(|failure| failure.error)
4384 }
4385 pub async fn profile_render_with_options(
4387 &self,
4388 request: crate::ProfileRenderInput,
4389 options: crate::CallOptions,
4390 ) -> Result<crate::CallResult<crate::ProfileRenderOutput>, crate::CallFailure> {
4391 self.call("profile.render", &request, options).await
4392 }
4393 pub async fn profile_activity(
4395 &self,
4396 request: crate::ProfileActivityInput,
4397 ) -> Result<crate::ProfileActivityOutput, crate::Error> {
4398 self.profile_activity_with_options(request, crate::CallOptions::default())
4399 .await
4400 .map(|result| result.data)
4401 .map_err(|failure| failure.error)
4402 }
4403 pub async fn profile_activity_with_options(
4405 &self,
4406 request: crate::ProfileActivityInput,
4407 options: crate::CallOptions,
4408 ) -> Result<crate::CallResult<crate::ProfileActivityOutput>, crate::CallFailure> {
4409 self.call("profile.activity", &request, options).await
4410 }
4411 pub async fn profile_structured(
4413 &self,
4414 request: crate::ProfileStructuredInput,
4415 ) -> Result<crate::ProfileStructuredOutput, crate::Error> {
4416 self.profile_structured_with_options(request, crate::CallOptions::default())
4417 .await
4418 .map(|result| result.data)
4419 .map_err(|failure| failure.error)
4420 }
4421 pub async fn profile_structured_with_options(
4423 &self,
4424 request: crate::ProfileStructuredInput,
4425 options: crate::CallOptions,
4426 ) -> Result<crate::CallResult<crate::ProfileStructuredOutput>, crate::CallFailure> {
4427 self.call("profile.structured", &request, options).await
4428 }
4429 pub async fn profile_schema_set(
4431 &self,
4432 request: crate::ProfileSchemaSetInput,
4433 ) -> Result<crate::ProfileSchemaOutput, crate::Error> {
4434 self.profile_schema_set_with_options(request, crate::CallOptions::default())
4435 .await
4436 .map(|result| result.data)
4437 .map_err(|failure| failure.error)
4438 }
4439 pub async fn profile_schema_set_with_options(
4441 &self,
4442 request: crate::ProfileSchemaSetInput,
4443 options: crate::CallOptions,
4444 ) -> Result<crate::CallResult<crate::ProfileSchemaOutput>, crate::CallFailure> {
4445 self.call("profile_schema.set", &request, options).await
4446 }
4447 pub async fn profile_schema_get(
4449 &self,
4450 request: crate::ProfileSchemaInput,
4451 ) -> Result<crate::ProfileSchemaOutput, crate::Error> {
4452 self.profile_schema_get_with_options(request, crate::CallOptions::default())
4453 .await
4454 .map(|result| result.data)
4455 .map_err(|failure| failure.error)
4456 }
4457 pub async fn profile_schema_get_with_options(
4459 &self,
4460 request: crate::ProfileSchemaInput,
4461 options: crate::CallOptions,
4462 ) -> Result<crate::CallResult<crate::ProfileSchemaOutput>, crate::CallFailure> {
4463 self.call("profile_schema.get", &request, options).await
4464 }
4465 pub async fn profile_schema_clear(
4467 &self,
4468 request: crate::ProfileSchemaClearInput,
4469 ) -> Result<crate::ProfileSchemaOutput, crate::Error> {
4470 self.profile_schema_clear_with_options(request, crate::CallOptions::default())
4471 .await
4472 .map(|result| result.data)
4473 .map_err(|failure| failure.error)
4474 }
4475 pub async fn profile_schema_clear_with_options(
4477 &self,
4478 request: crate::ProfileSchemaClearInput,
4479 options: crate::CallOptions,
4480 ) -> Result<crate::CallResult<crate::ProfileSchemaOutput>, crate::CallFailure> {
4481 self.call("profile_schema.clear", &request, options).await
4482 }
4483 pub async fn working_memory_get(
4485 &self,
4486 request: crate::WorkingMemoryGetInput,
4487 ) -> Result<crate::WorkingMemoryGetOutput, crate::Error> {
4488 self.working_memory_get_with_options(request, crate::CallOptions::default())
4489 .await
4490 .map(|result| result.data)
4491 .map_err(|failure| failure.error)
4492 }
4493 pub async fn working_memory_get_with_options(
4495 &self,
4496 request: crate::WorkingMemoryGetInput,
4497 options: crate::CallOptions,
4498 ) -> Result<crate::CallResult<crate::WorkingMemoryGetOutput>, crate::CallFailure> {
4499 self.call("working_memory.get", &request, options).await
4500 }
4501 pub async fn working_memory_set(
4503 &self,
4504 request: crate::WorkingMemorySetInput,
4505 ) -> Result<crate::WorkingMemoryMutationOutput, crate::Error> {
4506 self.working_memory_set_with_options(request, crate::CallOptions::default())
4507 .await
4508 .map(|result| result.data)
4509 .map_err(|failure| failure.error)
4510 }
4511 pub async fn working_memory_set_with_options(
4513 &self,
4514 request: crate::WorkingMemorySetInput,
4515 options: crate::CallOptions,
4516 ) -> Result<crate::CallResult<crate::WorkingMemoryMutationOutput>, crate::CallFailure> {
4517 self.call("working_memory.set", &request, options).await
4518 }
4519 pub async fn working_memory_append(
4521 &self,
4522 request: crate::WorkingMemoryAppendInput,
4523 ) -> Result<crate::WorkingMemoryMutationOutput, crate::Error> {
4524 self.working_memory_append_with_options(request, crate::CallOptions::default())
4525 .await
4526 .map(|result| result.data)
4527 .map_err(|failure| failure.error)
4528 }
4529 pub async fn working_memory_append_with_options(
4531 &self,
4532 request: crate::WorkingMemoryAppendInput,
4533 options: crate::CallOptions,
4534 ) -> Result<crate::CallResult<crate::WorkingMemoryMutationOutput>, crate::CallFailure> {
4535 self.call("working_memory.append", &request, options).await
4536 }
4537 pub async fn working_memory_replace(
4539 &self,
4540 request: crate::WorkingMemoryReplaceInput,
4541 ) -> Result<crate::WorkingMemoryMutationOutput, crate::Error> {
4542 self.working_memory_replace_with_options(request, crate::CallOptions::default())
4543 .await
4544 .map(|result| result.data)
4545 .map_err(|failure| failure.error)
4546 }
4547 pub async fn working_memory_replace_with_options(
4549 &self,
4550 request: crate::WorkingMemoryReplaceInput,
4551 options: crate::CallOptions,
4552 ) -> Result<crate::CallResult<crate::WorkingMemoryMutationOutput>, crate::CallFailure> {
4553 self.call("working_memory.replace", &request, options).await
4554 }
4555 pub async fn working_memory_delete(
4557 &self,
4558 request: crate::WorkingMemoryDeleteInput,
4559 ) -> Result<crate::WorkingMemoryDeleteOutput, crate::Error> {
4560 self.working_memory_delete_with_options(request, crate::CallOptions::default())
4561 .await
4562 .map(|result| result.data)
4563 .map_err(|failure| failure.error)
4564 }
4565 pub async fn working_memory_delete_with_options(
4567 &self,
4568 request: crate::WorkingMemoryDeleteInput,
4569 options: crate::CallOptions,
4570 ) -> Result<crate::CallResult<crate::WorkingMemoryDeleteOutput>, crate::CallFailure> {
4571 self.call("working_memory.delete", &request, options).await
4572 }
4573 pub async fn working_memory_render(
4575 &self,
4576 request: crate::WorkingMemoryRenderInput,
4577 ) -> Result<crate::WorkingMemoryRenderOutput, crate::Error> {
4578 self.working_memory_render_with_options(request, crate::CallOptions::default())
4579 .await
4580 .map(|result| result.data)
4581 .map_err(|failure| failure.error)
4582 }
4583 pub async fn working_memory_render_with_options(
4585 &self,
4586 request: crate::WorkingMemoryRenderInput,
4587 options: crate::CallOptions,
4588 ) -> Result<crate::CallResult<crate::WorkingMemoryRenderOutput>, crate::CallFailure> {
4589 self.call("working_memory.render", &request, options).await
4590 }
4591 pub async fn session_brief_save(
4593 &self,
4594 request: crate::SessionBriefSaveInput,
4595 ) -> Result<crate::SessionBriefSaveOutput, crate::Error> {
4596 self.session_brief_save_with_options(request, crate::CallOptions::default())
4597 .await
4598 .map(|result| result.data)
4599 .map_err(|failure| failure.error)
4600 }
4601 pub async fn session_brief_save_with_options(
4603 &self,
4604 request: crate::SessionBriefSaveInput,
4605 options: crate::CallOptions,
4606 ) -> Result<crate::CallResult<crate::SessionBriefSaveOutput>, crate::CallFailure> {
4607 self.call("session.brief_save", &request, options).await
4608 }
4609 pub async fn session_brief_get(
4611 &self,
4612 request: crate::SessionBriefGetInput,
4613 ) -> Result<crate::SessionBriefGetOutput, crate::Error> {
4614 self.session_brief_get_with_options(request, crate::CallOptions::default())
4615 .await
4616 .map(|result| result.data)
4617 .map_err(|failure| failure.error)
4618 }
4619 pub async fn session_brief_get_with_options(
4621 &self,
4622 request: crate::SessionBriefGetInput,
4623 options: crate::CallOptions,
4624 ) -> Result<crate::CallResult<crate::SessionBriefGetOutput>, crate::CallFailure> {
4625 self.call("session.brief_get", &request, options).await
4626 }
4627 pub async fn session_brief_list(
4629 &self,
4630 request: crate::SessionBriefListInput,
4631 ) -> Result<crate::SessionBriefListOutput, crate::Error> {
4632 self.session_brief_list_with_options(request, crate::CallOptions::default())
4633 .await
4634 .map(|result| result.data)
4635 .map_err(|failure| failure.error)
4636 }
4637 pub async fn session_brief_list_with_options(
4639 &self,
4640 request: crate::SessionBriefListInput,
4641 options: crate::CallOptions,
4642 ) -> Result<crate::CallResult<crate::SessionBriefListOutput>, crate::CallFailure> {
4643 self.call("session.brief_list", &request, options).await
4644 }
4645 pub async fn session_brief_delete(
4647 &self,
4648 request: crate::SessionBriefDeleteInput,
4649 ) -> Result<crate::SessionBriefDeleteOutput, crate::Error> {
4650 self.session_brief_delete_with_options(request, crate::CallOptions::default())
4651 .await
4652 .map(|result| result.data)
4653 .map_err(|failure| failure.error)
4654 }
4655 pub async fn session_brief_delete_with_options(
4657 &self,
4658 request: crate::SessionBriefDeleteInput,
4659 options: crate::CallOptions,
4660 ) -> Result<crate::CallResult<crate::SessionBriefDeleteOutput>, crate::CallFailure> {
4661 self.call("session.brief_delete", &request, options).await
4662 }
4663 pub async fn procedure_add(
4665 &self,
4666 request: crate::ProcedureAddInput,
4667 ) -> Result<crate::ProcedureAddOutput, crate::Error> {
4668 self.procedure_add_with_options(request, crate::CallOptions::default())
4669 .await
4670 .map(|result| result.data)
4671 .map_err(|failure| failure.error)
4672 }
4673 pub async fn procedure_add_with_options(
4675 &self,
4676 request: crate::ProcedureAddInput,
4677 options: crate::CallOptions,
4678 ) -> Result<crate::CallResult<crate::ProcedureAddOutput>, crate::CallFailure> {
4679 self.call("procedure.add", &request, options).await
4680 }
4681 pub async fn procedure_match(
4683 &self,
4684 request: crate::ProcedureMatchInput,
4685 ) -> Result<crate::ProcedureMatchOutput, crate::Error> {
4686 self.procedure_match_with_options(request, crate::CallOptions::default())
4687 .await
4688 .map(|result| result.data)
4689 .map_err(|failure| failure.error)
4690 }
4691 pub async fn procedure_match_with_options(
4693 &self,
4694 request: crate::ProcedureMatchInput,
4695 options: crate::CallOptions,
4696 ) -> Result<crate::CallResult<crate::ProcedureMatchOutput>, crate::CallFailure> {
4697 self.call("procedure.match", &request, options).await
4698 }
4699 pub async fn procedure_list(
4701 &self,
4702 request: crate::ProcedureListInput,
4703 ) -> Result<crate::ProcedureListOutput, crate::Error> {
4704 self.procedure_list_with_options(request, crate::CallOptions::default())
4705 .await
4706 .map(|result| result.data)
4707 .map_err(|failure| failure.error)
4708 }
4709 pub async fn procedure_list_with_options(
4711 &self,
4712 request: crate::ProcedureListInput,
4713 options: crate::CallOptions,
4714 ) -> Result<crate::CallResult<crate::ProcedureListOutput>, crate::CallFailure> {
4715 self.call("procedure.list", &request, options).await
4716 }
4717 pub async fn procedure_record_run(
4719 &self,
4720 request: crate::ProcedureRecordRunInput,
4721 ) -> Result<crate::ProcedureRecordRunOutput, crate::Error> {
4722 self.procedure_record_run_with_options(request, crate::CallOptions::default())
4723 .await
4724 .map(|result| result.data)
4725 .map_err(|failure| failure.error)
4726 }
4727 pub async fn procedure_record_run_with_options(
4729 &self,
4730 request: crate::ProcedureRecordRunInput,
4731 options: crate::CallOptions,
4732 ) -> Result<crate::CallResult<crate::ProcedureRecordRunOutput>, crate::CallFailure> {
4733 self.call("procedure.record_run", &request, options).await
4734 }
4735 pub async fn procedure_evolve(
4737 &self,
4738 request: crate::ProcedureEvolveInput,
4739 ) -> Result<crate::ProcedureEvolveOutput, crate::Error> {
4740 self.procedure_evolve_with_options(request, crate::CallOptions::default())
4741 .await
4742 .map(|result| result.data)
4743 .map_err(|failure| failure.error)
4744 }
4745 pub async fn procedure_evolve_with_options(
4747 &self,
4748 request: crate::ProcedureEvolveInput,
4749 options: crate::CallOptions,
4750 ) -> Result<crate::CallResult<crate::ProcedureEvolveOutput>, crate::CallFailure> {
4751 self.call("procedure.evolve", &request, options).await
4752 }
4753 pub async fn procedure_locate(
4755 &self,
4756 request: crate::ProcedureLocateInput,
4757 ) -> Result<crate::ProcedureLocateOutput, crate::Error> {
4758 self.procedure_locate_with_options(request, crate::CallOptions::default())
4759 .await
4760 .map(|result| result.data)
4761 .map_err(|failure| failure.error)
4762 }
4763 pub async fn procedure_locate_with_options(
4765 &self,
4766 request: crate::ProcedureLocateInput,
4767 options: crate::CallOptions,
4768 ) -> Result<crate::CallResult<crate::ProcedureLocateOutput>, crate::CallFailure> {
4769 self.call("procedure.locate", &request, options).await
4770 }
4771 pub async fn procedure_revise(
4773 &self,
4774 request: crate::ProcedureReviseInput,
4775 ) -> Result<crate::ProcedureReviseOutput, crate::Error> {
4776 self.procedure_revise_with_options(request, crate::CallOptions::default())
4777 .await
4778 .map(|result| result.data)
4779 .map_err(|failure| failure.error)
4780 }
4781 pub async fn procedure_revise_with_options(
4783 &self,
4784 request: crate::ProcedureReviseInput,
4785 options: crate::CallOptions,
4786 ) -> Result<crate::CallResult<crate::ProcedureReviseOutput>, crate::CallFailure> {
4787 self.call("procedure.revise", &request, options).await
4788 }
4789 pub async fn procedure_fork(
4791 &self,
4792 request: crate::ProcedureForkInput,
4793 ) -> Result<crate::ProcedureForkOutput, crate::Error> {
4794 self.procedure_fork_with_options(request, crate::CallOptions::default())
4795 .await
4796 .map(|result| result.data)
4797 .map_err(|failure| failure.error)
4798 }
4799 pub async fn procedure_fork_with_options(
4801 &self,
4802 request: crate::ProcedureForkInput,
4803 options: crate::CallOptions,
4804 ) -> Result<crate::CallResult<crate::ProcedureForkOutput>, crate::CallFailure> {
4805 self.call("procedure.fork", &request, options).await
4806 }
4807 pub async fn search_query(
4809 &self,
4810 request: crate::SearchInput,
4811 ) -> Result<crate::SearchOutput, crate::Error> {
4812 self.search_query_with_options(request, crate::CallOptions::default())
4813 .await
4814 .map(|result| result.data)
4815 .map_err(|failure| failure.error)
4816 }
4817 pub async fn search_query_with_options(
4819 &self,
4820 request: crate::SearchInput,
4821 options: crate::CallOptions,
4822 ) -> Result<crate::CallResult<crate::SearchOutput>, crate::CallFailure> {
4823 self.call("search.query", &request, options).await
4824 }
4825 pub async fn observe_record(
4827 &self,
4828 request: crate::ObserveRecordInput,
4829 ) -> Result<crate::ObserveRecordOutput, crate::Error> {
4830 self.observe_record_with_options(request, crate::CallOptions::default())
4831 .await
4832 .map(|result| result.data)
4833 .map_err(|failure| failure.error)
4834 }
4835 pub async fn observe_record_with_options(
4837 &self,
4838 request: crate::ObserveRecordInput,
4839 options: crate::CallOptions,
4840 ) -> Result<crate::CallResult<crate::ObserveRecordOutput>, crate::CallFailure> {
4841 self.call("observe.record", &request, options).await
4842 }
4843 pub async fn observe_crystallize(
4845 &self,
4846 request: crate::ObserveCrystallizeInput,
4847 ) -> Result<crate::ObserveCrystallizeOutput, crate::Error> {
4848 self.observe_crystallize_with_options(request, crate::CallOptions::default())
4849 .await
4850 .map(|result| result.data)
4851 .map_err(|failure| failure.error)
4852 }
4853 pub async fn observe_crystallize_with_options(
4855 &self,
4856 request: crate::ObserveCrystallizeInput,
4857 options: crate::CallOptions,
4858 ) -> Result<crate::CallResult<crate::ObserveCrystallizeOutput>, crate::CallFailure> {
4859 self.call("observe.crystallize", &request, options).await
4860 }
4861 pub async fn run_begin(
4863 &self,
4864 request: crate::RunBeginInput,
4865 ) -> Result<crate::RunBeginOutput, crate::Error> {
4866 self.run_begin_with_options(request, crate::CallOptions::default())
4867 .await
4868 .map(|result| result.data)
4869 .map_err(|failure| failure.error)
4870 }
4871 pub async fn run_begin_with_options(
4873 &self,
4874 request: crate::RunBeginInput,
4875 options: crate::CallOptions,
4876 ) -> Result<crate::CallResult<crate::RunBeginOutput>, crate::CallFailure> {
4877 self.call("run.begin", &request, options).await
4878 }
4879 pub async fn run_complete(
4881 &self,
4882 request: crate::RunCompleteInput,
4883 ) -> Result<crate::RunCompleteOutput, crate::Error> {
4884 self.run_complete_with_options(request, crate::CallOptions::default())
4885 .await
4886 .map(|result| result.data)
4887 .map_err(|failure| failure.error)
4888 }
4889 pub async fn run_complete_with_options(
4891 &self,
4892 request: crate::RunCompleteInput,
4893 options: crate::CallOptions,
4894 ) -> Result<crate::CallResult<crate::RunCompleteOutput>, crate::CallFailure> {
4895 self.call("run.complete", &request, options).await
4896 }
4897 pub async fn run_get(
4899 &self,
4900 request: crate::RunGetInput,
4901 ) -> Result<crate::RunGetOutput, crate::Error> {
4902 self.run_get_with_options(request, crate::CallOptions::default())
4903 .await
4904 .map(|result| result.data)
4905 .map_err(|failure| failure.error)
4906 }
4907 pub async fn run_get_with_options(
4909 &self,
4910 request: crate::RunGetInput,
4911 options: crate::CallOptions,
4912 ) -> Result<crate::CallResult<crate::RunGetOutput>, crate::CallFailure> {
4913 self.call("run.get", &request, options).await
4914 }
4915 pub async fn run_list(
4917 &self,
4918 request: crate::RunListInput,
4919 ) -> Result<crate::RunListOutput, crate::Error> {
4920 self.run_list_with_options(request, crate::CallOptions::default())
4921 .await
4922 .map(|result| result.data)
4923 .map_err(|failure| failure.error)
4924 }
4925 pub async fn run_list_with_options(
4927 &self,
4928 request: crate::RunListInput,
4929 options: crate::CallOptions,
4930 ) -> Result<crate::CallResult<crate::RunListOutput>, crate::CallFailure> {
4931 self.call("run.list", &request, options).await
4932 }
4933 pub async fn run_grade(
4935 &self,
4936 request: crate::RunGradeInput,
4937 ) -> Result<crate::RunGradeOutput, crate::Error> {
4938 self.run_grade_with_options(request, crate::CallOptions::default())
4939 .await
4940 .map(|result| result.data)
4941 .map_err(|failure| failure.error)
4942 }
4943 pub async fn run_grade_with_options(
4945 &self,
4946 request: crate::RunGradeInput,
4947 options: crate::CallOptions,
4948 ) -> Result<crate::CallResult<crate::RunGradeOutput>, crate::CallFailure> {
4949 self.call("run.grade", &request, options).await
4950 }
4951 pub async fn calibration_get(
4953 &self,
4954 request: crate::CalibrationGetInput,
4955 ) -> Result<crate::CalibrationGetOutput, crate::Error> {
4956 self.calibration_get_with_options(request, crate::CallOptions::default())
4957 .await
4958 .map(|result| result.data)
4959 .map_err(|failure| failure.error)
4960 }
4961 pub async fn calibration_get_with_options(
4963 &self,
4964 request: crate::CalibrationGetInput,
4965 options: crate::CallOptions,
4966 ) -> Result<crate::CallResult<crate::CalibrationGetOutput>, crate::CallFailure> {
4967 self.call("calibration.get", &request, options).await
4968 }
4969 pub async fn code_search(
4971 &self,
4972 request: crate::CodeSearchInput,
4973 ) -> Result<crate::CodeSearchOutput, crate::Error> {
4974 self.code_search_with_options(request, crate::CallOptions::default())
4975 .await
4976 .map(|result| result.data)
4977 .map_err(|failure| failure.error)
4978 }
4979 pub async fn code_search_with_options(
4981 &self,
4982 request: crate::CodeSearchInput,
4983 options: crate::CallOptions,
4984 ) -> Result<crate::CallResult<crate::CodeSearchOutput>, crate::CallFailure> {
4985 self.call("code.search", &request, options).await
4986 }
4987 pub async fn code_ask(
4989 &self,
4990 request: crate::CodeAskInput,
4991 ) -> Result<crate::CodeAskOutput, crate::Error> {
4992 self.code_ask_with_options(request, crate::CallOptions::default())
4993 .await
4994 .map(|result| result.data)
4995 .map_err(|failure| failure.error)
4996 }
4997 pub async fn code_ask_with_options(
4999 &self,
5000 request: crate::CodeAskInput,
5001 options: crate::CallOptions,
5002 ) -> Result<crate::CallResult<crate::CodeAskOutput>, crate::CallFailure> {
5003 self.call("code.ask", &request, options).await
5004 }
5005 pub async fn code_symbol(
5007 &self,
5008 request: crate::CodeSymbolInput,
5009 ) -> Result<crate::CodeSymbolOutput, crate::Error> {
5010 self.code_symbol_with_options(request, crate::CallOptions::default())
5011 .await
5012 .map(|result| result.data)
5013 .map_err(|failure| failure.error)
5014 }
5015 pub async fn code_symbol_with_options(
5017 &self,
5018 request: crate::CodeSymbolInput,
5019 options: crate::CallOptions,
5020 ) -> Result<crate::CallResult<crate::CodeSymbolOutput>, crate::CallFailure> {
5021 self.call("code.symbol", &request, options).await
5022 }
5023 pub async fn code_edit_context(
5025 &self,
5026 request: crate::CodeEditContextInput,
5027 ) -> Result<crate::CodeSymbolOutput, crate::Error> {
5028 self.code_edit_context_with_options(request, crate::CallOptions::default())
5029 .await
5030 .map(|result| result.data)
5031 .map_err(|failure| failure.error)
5032 }
5033 pub async fn code_edit_context_with_options(
5035 &self,
5036 request: crate::CodeEditContextInput,
5037 options: crate::CallOptions,
5038 ) -> Result<crate::CallResult<crate::CodeSymbolOutput>, crate::CallFailure> {
5039 self.call("code.edit_context", &request, options).await
5040 }
5041 pub async fn code_callers(
5043 &self,
5044 request: crate::CodeCallersInput,
5045 ) -> Result<crate::CodeCallersOutput, crate::Error> {
5046 self.code_callers_with_options(request, crate::CallOptions::default())
5047 .await
5048 .map(|result| result.data)
5049 .map_err(|failure| failure.error)
5050 }
5051 pub async fn code_callers_with_options(
5053 &self,
5054 request: crate::CodeCallersInput,
5055 options: crate::CallOptions,
5056 ) -> Result<crate::CallResult<crate::CodeCallersOutput>, crate::CallFailure> {
5057 self.call("code.callers", &request, options).await
5058 }
5059 pub async fn code_callees(
5061 &self,
5062 request: crate::CodeCalleesInput,
5063 ) -> Result<crate::CodeCallersOutput, crate::Error> {
5064 self.code_callees_with_options(request, crate::CallOptions::default())
5065 .await
5066 .map(|result| result.data)
5067 .map_err(|failure| failure.error)
5068 }
5069 pub async fn code_callees_with_options(
5071 &self,
5072 request: crate::CodeCalleesInput,
5073 options: crate::CallOptions,
5074 ) -> Result<crate::CallResult<crate::CodeCallersOutput>, crate::CallFailure> {
5075 self.call("code.callees", &request, options).await
5076 }
5077 pub async fn code_impact(
5079 &self,
5080 request: crate::CodeImpactInput,
5081 ) -> Result<crate::CodeImpactOutput, crate::Error> {
5082 self.code_impact_with_options(request, crate::CallOptions::default())
5083 .await
5084 .map(|result| result.data)
5085 .map_err(|failure| failure.error)
5086 }
5087 pub async fn code_impact_with_options(
5089 &self,
5090 request: crate::CodeImpactInput,
5091 options: crate::CallOptions,
5092 ) -> Result<crate::CallResult<crate::CodeImpactOutput>, crate::CallFailure> {
5093 self.call("code.impact", &request, options).await
5094 }
5095 pub async fn code_test_gate(
5097 &self,
5098 request: crate::CodeTestGateInput,
5099 ) -> Result<crate::CodeTestGateOutput, crate::Error> {
5100 self.code_test_gate_with_options(request, crate::CallOptions::default())
5101 .await
5102 .map(|result| result.data)
5103 .map_err(|failure| failure.error)
5104 }
5105 pub async fn code_test_gate_with_options(
5107 &self,
5108 request: crate::CodeTestGateInput,
5109 options: crate::CallOptions,
5110 ) -> Result<crate::CallResult<crate::CodeTestGateOutput>, crate::CallFailure> {
5111 self.call("code.test_gate", &request, options).await
5112 }
5113 pub async fn code_test_home(
5115 &self,
5116 request: crate::CodeTestHomeInput,
5117 ) -> Result<crate::CodeTestHomeOutput, crate::Error> {
5118 self.code_test_home_with_options(request, crate::CallOptions::default())
5119 .await
5120 .map(|result| result.data)
5121 .map_err(|failure| failure.error)
5122 }
5123 pub async fn code_test_home_with_options(
5125 &self,
5126 request: crate::CodeTestHomeInput,
5127 options: crate::CallOptions,
5128 ) -> Result<crate::CallResult<crate::CodeTestHomeOutput>, crate::CallFailure> {
5129 self.call("code.test_home", &request, options).await
5130 }
5131 pub async fn code_bisect_candidates(
5133 &self,
5134 request: crate::CodeBisectCandidatesInput,
5135 ) -> Result<crate::CodeBisectCandidatesOutput, crate::Error> {
5136 self.code_bisect_candidates_with_options(request, crate::CallOptions::default())
5137 .await
5138 .map(|result| result.data)
5139 .map_err(|failure| failure.error)
5140 }
5141 pub async fn code_bisect_candidates_with_options(
5143 &self,
5144 request: crate::CodeBisectCandidatesInput,
5145 options: crate::CallOptions,
5146 ) -> Result<crate::CallResult<crate::CodeBisectCandidatesOutput>, crate::CallFailure> {
5147 self.call("code.bisect_candidates", &request, options).await
5148 }
5149 pub async fn code_backport_gap(
5151 &self,
5152 request: crate::CodeBackportGapInput,
5153 ) -> Result<crate::CodeBackportGapOutput, crate::Error> {
5154 self.code_backport_gap_with_options(request, crate::CallOptions::default())
5155 .await
5156 .map(|result| result.data)
5157 .map_err(|failure| failure.error)
5158 }
5159 pub async fn code_backport_gap_with_options(
5161 &self,
5162 request: crate::CodeBackportGapInput,
5163 options: crate::CallOptions,
5164 ) -> Result<crate::CallResult<crate::CodeBackportGapOutput>, crate::CallFailure> {
5165 self.call("code.backport_gap", &request, options).await
5166 }
5167 pub async fn code_backport_gaps(
5169 &self,
5170 request: crate::CodeBackportGapsInput,
5171 ) -> Result<crate::CodeBackportGapsOutput, crate::Error> {
5172 self.code_backport_gaps_with_options(request, crate::CallOptions::default())
5173 .await
5174 .map(|result| result.data)
5175 .map_err(|failure| failure.error)
5176 }
5177 pub async fn code_backport_gaps_with_options(
5179 &self,
5180 request: crate::CodeBackportGapsInput,
5181 options: crate::CallOptions,
5182 ) -> Result<crate::CallResult<crate::CodeBackportGapsOutput>, crate::CallFailure> {
5183 self.call("code.backport_gaps", &request, options).await
5184 }
5185 pub async fn code_blame_range(
5187 &self,
5188 request: crate::CodeBlameRangeInput,
5189 ) -> Result<crate::CodeBlameRangeOutput, crate::Error> {
5190 self.code_blame_range_with_options(request, crate::CallOptions::default())
5191 .await
5192 .map(|result| result.data)
5193 .map_err(|failure| failure.error)
5194 }
5195 pub async fn code_blame_range_with_options(
5197 &self,
5198 request: crate::CodeBlameRangeInput,
5199 options: crate::CallOptions,
5200 ) -> Result<crate::CallResult<crate::CodeBlameRangeOutput>, crate::CallFailure> {
5201 self.call("code.blame_range", &request, options).await
5202 }
5203 pub async fn code_setting_facts(
5205 &self,
5206 request: crate::CodeSettingFactsInput,
5207 ) -> Result<crate::CodeSettingFactsOutput, crate::Error> {
5208 self.code_setting_facts_with_options(request, crate::CallOptions::default())
5209 .await
5210 .map(|result| result.data)
5211 .map_err(|failure| failure.error)
5212 }
5213 pub async fn code_setting_facts_with_options(
5215 &self,
5216 request: crate::CodeSettingFactsInput,
5217 options: crate::CallOptions,
5218 ) -> Result<crate::CallResult<crate::CodeSettingFactsOutput>, crate::CallFailure> {
5219 self.call("code.setting_facts", &request, options).await
5220 }
5221 pub async fn code_conventions(
5223 &self,
5224 request: crate::CodeConventionsInput,
5225 ) -> Result<crate::CodeConventionsOutput, crate::Error> {
5226 self.code_conventions_with_options(request, crate::CallOptions::default())
5227 .await
5228 .map(|result| result.data)
5229 .map_err(|failure| failure.error)
5230 }
5231 pub async fn code_conventions_with_options(
5233 &self,
5234 request: crate::CodeConventionsInput,
5235 options: crate::CallOptions,
5236 ) -> Result<crate::CallResult<crate::CodeConventionsOutput>, crate::CallFailure> {
5237 self.call("code.conventions", &request, options).await
5238 }
5239 pub async fn code_symbol_history(
5241 &self,
5242 request: crate::CodeSymbolHistoryInput,
5243 ) -> Result<crate::CodeSymbolHistoryOutput, crate::Error> {
5244 self.code_symbol_history_with_options(request, crate::CallOptions::default())
5245 .await
5246 .map(|result| result.data)
5247 .map_err(|failure| failure.error)
5248 }
5249 pub async fn code_symbol_history_with_options(
5251 &self,
5252 request: crate::CodeSymbolHistoryInput,
5253 options: crate::CallOptions,
5254 ) -> Result<crate::CallResult<crate::CodeSymbolHistoryOutput>, crate::CallFailure> {
5255 self.call("code.symbol_history", &request, options).await
5256 }
5257 pub async fn code_first_build(
5259 &self,
5260 request: crate::CodeFirstBuildInput,
5261 ) -> Result<crate::CodeFirstBuildOutput, crate::Error> {
5262 self.code_first_build_with_options(request, crate::CallOptions::default())
5263 .await
5264 .map(|result| result.data)
5265 .map_err(|failure| failure.error)
5266 }
5267 pub async fn code_first_build_with_options(
5269 &self,
5270 request: crate::CodeFirstBuildInput,
5271 options: crate::CallOptions,
5272 ) -> Result<crate::CallResult<crate::CodeFirstBuildOutput>, crate::CallFailure> {
5273 self.call("code.first_build", &request, options).await
5274 }
5275 pub async fn code_coverage_claim(
5277 &self,
5278 request: crate::CodeCoverageClaimInput,
5279 ) -> Result<crate::CodeCoverageClaimOutput, crate::Error> {
5280 self.code_coverage_claim_with_options(request, crate::CallOptions::default())
5281 .await
5282 .map(|result| result.data)
5283 .map_err(|failure| failure.error)
5284 }
5285 pub async fn code_coverage_claim_with_options(
5287 &self,
5288 request: crate::CodeCoverageClaimInput,
5289 options: crate::CallOptions,
5290 ) -> Result<crate::CallResult<crate::CodeCoverageClaimOutput>, crate::CallFailure> {
5291 self.call("code.coverage_claim", &request, options).await
5292 }
5293 pub async fn code_review_brief(
5295 &self,
5296 request: crate::CodeReviewBriefInput,
5297 ) -> Result<crate::CodeReviewBriefOutput, crate::Error> {
5298 self.code_review_brief_with_options(request, crate::CallOptions::default())
5299 .await
5300 .map(|result| result.data)
5301 .map_err(|failure| failure.error)
5302 }
5303 pub async fn code_review_brief_with_options(
5305 &self,
5306 request: crate::CodeReviewBriefInput,
5307 options: crate::CallOptions,
5308 ) -> Result<crate::CallResult<crate::CodeReviewBriefOutput>, crate::CallFailure> {
5309 self.call("code.review_brief", &request, options).await
5310 }
5311 pub async fn code_grep(
5313 &self,
5314 request: crate::CodeGrepInput,
5315 ) -> Result<crate::CodeGrepOutput, crate::Error> {
5316 self.code_grep_with_options(request, crate::CallOptions::default())
5317 .await
5318 .map(|result| result.data)
5319 .map_err(|failure| failure.error)
5320 }
5321 pub async fn code_grep_with_options(
5323 &self,
5324 request: crate::CodeGrepInput,
5325 options: crate::CallOptions,
5326 ) -> Result<crate::CallResult<crate::CodeGrepOutput>, crate::CallFailure> {
5327 self.call("code.grep", &request, options).await
5328 }
5329 pub async fn code_read(
5331 &self,
5332 request: crate::CodeReadInput,
5333 ) -> Result<crate::CodeReadOutput, crate::Error> {
5334 self.code_read_with_options(request, crate::CallOptions::default())
5335 .await
5336 .map(|result| result.data)
5337 .map_err(|failure| failure.error)
5338 }
5339 pub async fn code_read_with_options(
5341 &self,
5342 request: crate::CodeReadInput,
5343 options: crate::CallOptions,
5344 ) -> Result<crate::CallResult<crate::CodeReadOutput>, crate::CallFailure> {
5345 self.call("code.read", &request, options).await
5346 }
5347 pub async fn code_tests_for(
5349 &self,
5350 request: crate::CodeTestsForInput,
5351 ) -> Result<crate::CodeTestsForOutput, crate::Error> {
5352 self.code_tests_for_with_options(request, crate::CallOptions::default())
5353 .await
5354 .map(|result| result.data)
5355 .map_err(|failure| failure.error)
5356 }
5357 pub async fn code_tests_for_with_options(
5359 &self,
5360 request: crate::CodeTestsForInput,
5361 options: crate::CallOptions,
5362 ) -> Result<crate::CallResult<crate::CodeTestsForOutput>, crate::CallFailure> {
5363 self.call("code.tests_for", &request, options).await
5364 }
5365 pub async fn code_files(
5367 &self,
5368 request: crate::CodeFilesInput,
5369 ) -> Result<crate::CodeFilesOutput, crate::Error> {
5370 self.code_files_with_options(request, crate::CallOptions::default())
5371 .await
5372 .map(|result| result.data)
5373 .map_err(|failure| failure.error)
5374 }
5375 pub async fn code_files_with_options(
5377 &self,
5378 request: crate::CodeFilesInput,
5379 options: crate::CallOptions,
5380 ) -> Result<crate::CallResult<crate::CodeFilesOutput>, crate::CallFailure> {
5381 self.call("code.files", &request, options).await
5382 }
5383 pub async fn code_enclosing(
5385 &self,
5386 request: crate::CodeEnclosingInput,
5387 ) -> Result<crate::CodeEnclosingOutput, crate::Error> {
5388 self.code_enclosing_with_options(request, crate::CallOptions::default())
5389 .await
5390 .map(|result| result.data)
5391 .map_err(|failure| failure.error)
5392 }
5393 pub async fn code_enclosing_with_options(
5395 &self,
5396 request: crate::CodeEnclosingInput,
5397 options: crate::CallOptions,
5398 ) -> Result<crate::CallResult<crate::CodeEnclosingOutput>, crate::CallFailure> {
5399 self.call("code.enclosing", &request, options).await
5400 }
5401 pub async fn code_outline(
5403 &self,
5404 request: crate::CodeOutlineInput,
5405 ) -> Result<crate::CodeOutlineOutput, crate::Error> {
5406 self.code_outline_with_options(request, crate::CallOptions::default())
5407 .await
5408 .map(|result| result.data)
5409 .map_err(|failure| failure.error)
5410 }
5411 pub async fn code_outline_with_options(
5413 &self,
5414 request: crate::CodeOutlineInput,
5415 options: crate::CallOptions,
5416 ) -> Result<crate::CallResult<crate::CodeOutlineOutput>, crate::CallFailure> {
5417 self.call("code.outline", &request, options).await
5418 }
5419 pub async fn code_verify(
5421 &self,
5422 request: crate::CodeVerifyInput,
5423 ) -> Result<crate::CodeVerifyOutput, crate::Error> {
5424 self.code_verify_with_options(request, crate::CallOptions::default())
5425 .await
5426 .map(|result| result.data)
5427 .map_err(|failure| failure.error)
5428 }
5429 pub async fn code_verify_with_options(
5431 &self,
5432 request: crate::CodeVerifyInput,
5433 options: crate::CallOptions,
5434 ) -> Result<crate::CallResult<crate::CodeVerifyOutput>, crate::CallFailure> {
5435 self.call("code.verify", &request, options).await
5436 }
5437 pub async fn code_verify_citations(
5439 &self,
5440 request: crate::CodeVerifyCitationsInput,
5441 ) -> Result<crate::CodeVerifyCitationsOutput, crate::Error> {
5442 self.code_verify_citations_with_options(request, crate::CallOptions::default())
5443 .await
5444 .map(|result| result.data)
5445 .map_err(|failure| failure.error)
5446 }
5447 pub async fn code_verify_citations_with_options(
5449 &self,
5450 request: crate::CodeVerifyCitationsInput,
5451 options: crate::CallOptions,
5452 ) -> Result<crate::CallResult<crate::CodeVerifyCitationsOutput>, crate::CallFailure> {
5453 self.call("code.verify_citations", &request, options).await
5454 }
5455 pub async fn code_path_guards(
5457 &self,
5458 request: crate::CodePathGuardsInput,
5459 ) -> Result<crate::CodePathGuardsOutput, crate::Error> {
5460 self.code_path_guards_with_options(request, crate::CallOptions::default())
5461 .await
5462 .map(|result| result.data)
5463 .map_err(|failure| failure.error)
5464 }
5465 pub async fn code_path_guards_with_options(
5467 &self,
5468 request: crate::CodePathGuardsInput,
5469 options: crate::CallOptions,
5470 ) -> Result<crate::CallResult<crate::CodePathGuardsOutput>, crate::CallFailure> {
5471 self.call("code.path_guards", &request, options).await
5472 }
5473 pub async fn code_trace(
5475 &self,
5476 request: crate::CodeTraceInput,
5477 ) -> Result<crate::CodeTraceOutput, crate::Error> {
5478 self.code_trace_with_options(request, crate::CallOptions::default())
5479 .await
5480 .map(|result| result.data)
5481 .map_err(|failure| failure.error)
5482 }
5483 pub async fn code_trace_with_options(
5485 &self,
5486 request: crate::CodeTraceInput,
5487 options: crate::CallOptions,
5488 ) -> Result<crate::CallResult<crate::CodeTraceOutput>, crate::CallFailure> {
5489 self.call("code.trace", &request, options).await
5490 }
5491 pub async fn code_context_pack(
5493 &self,
5494 request: crate::CodeContextPackInput,
5495 ) -> Result<crate::CodeContextPackOutput, crate::Error> {
5496 self.code_context_pack_with_options(request, crate::CallOptions::default())
5497 .await
5498 .map(|result| result.data)
5499 .map_err(|failure| failure.error)
5500 }
5501 pub async fn code_context_pack_with_options(
5503 &self,
5504 request: crate::CodeContextPackInput,
5505 options: crate::CallOptions,
5506 ) -> Result<crate::CallResult<crate::CodeContextPackOutput>, crate::CallFailure> {
5507 self.call("code.context_pack", &request, options).await
5508 }
5509 pub async fn code_examples(
5511 &self,
5512 request: crate::CodeExamplesInput,
5513 ) -> Result<crate::CodeExamplesOutput, crate::Error> {
5514 self.code_examples_with_options(request, crate::CallOptions::default())
5515 .await
5516 .map(|result| result.data)
5517 .map_err(|failure| failure.error)
5518 }
5519 pub async fn code_examples_with_options(
5521 &self,
5522 request: crate::CodeExamplesInput,
5523 options: crate::CallOptions,
5524 ) -> Result<crate::CallResult<crate::CodeExamplesOutput>, crate::CallFailure> {
5525 self.call("code.examples", &request, options).await
5526 }
5527 pub async fn code_history(
5529 &self,
5530 request: crate::CodeHistoryInput,
5531 ) -> Result<crate::CodeHistoryOutput, crate::Error> {
5532 self.code_history_with_options(request, crate::CallOptions::default())
5533 .await
5534 .map(|result| result.data)
5535 .map_err(|failure| failure.error)
5536 }
5537 pub async fn code_history_with_options(
5539 &self,
5540 request: crate::CodeHistoryInput,
5541 options: crate::CallOptions,
5542 ) -> Result<crate::CallResult<crate::CodeHistoryOutput>, crate::CallFailure> {
5543 self.call("code.history", &request, options).await
5544 }
5545 pub async fn code_pr_check(
5547 &self,
5548 request: crate::CodePrCheckInput,
5549 ) -> Result<crate::CodePrCheckOutput, crate::Error> {
5550 self.code_pr_check_with_options(request, crate::CallOptions::default())
5551 .await
5552 .map(|result| result.data)
5553 .map_err(|failure| failure.error)
5554 }
5555 pub async fn code_pr_check_with_options(
5557 &self,
5558 request: crate::CodePrCheckInput,
5559 options: crate::CallOptions,
5560 ) -> Result<crate::CallResult<crate::CodePrCheckOutput>, crate::CallFailure> {
5561 self.call("code.pr_check", &request, options).await
5562 }
5563 pub async fn code_map(
5565 &self,
5566 request: crate::CodeMapInput,
5567 ) -> Result<crate::CodeMapOutput, crate::Error> {
5568 self.code_map_with_options(request, crate::CallOptions::default())
5569 .await
5570 .map(|result| result.data)
5571 .map_err(|failure| failure.error)
5572 }
5573 pub async fn code_map_with_options(
5575 &self,
5576 request: crate::CodeMapInput,
5577 options: crate::CallOptions,
5578 ) -> Result<crate::CallResult<crate::CodeMapOutput>, crate::CallFailure> {
5579 self.call("code.map", &request, options).await
5580 }
5581 pub async fn code_outcome(
5583 &self,
5584 request: crate::CodeOutcomeInput,
5585 ) -> Result<crate::CodeOutcomeOutput, crate::Error> {
5586 self.code_outcome_with_options(request, crate::CallOptions::default())
5587 .await
5588 .map(|result| result.data)
5589 .map_err(|failure| failure.error)
5590 }
5591 pub async fn code_outcome_with_options(
5593 &self,
5594 request: crate::CodeOutcomeInput,
5595 options: crate::CallOptions,
5596 ) -> Result<crate::CallResult<crate::CodeOutcomeOutput>, crate::CallFailure> {
5597 self.call("code.outcome", &request, options).await
5598 }
5599 pub async fn code_index_status(
5601 &self,
5602 request: crate::CodeIndexStatusInput,
5603 ) -> Result<crate::CodeIndexStatusOutput, crate::Error> {
5604 self.code_index_status_with_options(request, crate::CallOptions::default())
5605 .await
5606 .map(|result| result.data)
5607 .map_err(|failure| failure.error)
5608 }
5609 pub async fn code_index_status_with_options(
5611 &self,
5612 request: crate::CodeIndexStatusInput,
5613 options: crate::CallOptions,
5614 ) -> Result<crate::CallResult<crate::CodeIndexStatusOutput>, crate::CallFailure> {
5615 self.call("code.index_status", &request, options).await
5616 }
5617 pub async fn code_repos(
5619 &self,
5620 request: crate::CodeReposInput,
5621 ) -> Result<crate::CodeReposOutput, crate::Error> {
5622 self.code_repos_with_options(request, crate::CallOptions::default())
5623 .await
5624 .map(|result| result.data)
5625 .map_err(|failure| failure.error)
5626 }
5627 pub async fn code_repos_with_options(
5629 &self,
5630 request: crate::CodeReposInput,
5631 options: crate::CallOptions,
5632 ) -> Result<crate::CallResult<crate::CodeReposOutput>, crate::CallFailure> {
5633 self.call("code.repos", &request, options).await
5634 }
5635 pub async fn code_repo_add(
5637 &self,
5638 request: crate::CodeRepoAddInput,
5639 ) -> Result<crate::CodeRepoAddOutput, crate::Error> {
5640 self.code_repo_add_with_options(request, crate::CallOptions::default())
5641 .await
5642 .map(|result| result.data)
5643 .map_err(|failure| failure.error)
5644 }
5645 pub async fn code_repo_add_with_options(
5647 &self,
5648 request: crate::CodeRepoAddInput,
5649 options: crate::CallOptions,
5650 ) -> Result<crate::CallResult<crate::CodeRepoAddOutput>, crate::CallFailure> {
5651 self.call("code.repo.add", &request, options).await
5652 }
5653 pub async fn code_repo_remote_branches(
5655 &self,
5656 request: crate::CodeRepoRemoteBranchesInput,
5657 ) -> Result<crate::CodeRepoRemoteBranchesOutput, crate::Error> {
5658 self.code_repo_remote_branches_with_options(request, crate::CallOptions::default())
5659 .await
5660 .map(|result| result.data)
5661 .map_err(|failure| failure.error)
5662 }
5663 pub async fn code_repo_remote_branches_with_options(
5665 &self,
5666 request: crate::CodeRepoRemoteBranchesInput,
5667 options: crate::CallOptions,
5668 ) -> Result<crate::CallResult<crate::CodeRepoRemoteBranchesOutput>, crate::CallFailure> {
5669 self.call("code.repo.remote_branches", &request, options)
5670 .await
5671 }
5672 pub async fn code_repo_add_branch(
5674 &self,
5675 request: crate::CodeRepoAddBranchInput,
5676 ) -> Result<crate::CodeRepoAddOutput, crate::Error> {
5677 self.code_repo_add_branch_with_options(request, crate::CallOptions::default())
5678 .await
5679 .map(|result| result.data)
5680 .map_err(|failure| failure.error)
5681 }
5682 pub async fn code_repo_add_branch_with_options(
5684 &self,
5685 request: crate::CodeRepoAddBranchInput,
5686 options: crate::CallOptions,
5687 ) -> Result<crate::CallResult<crate::CodeRepoAddOutput>, crate::CallFailure> {
5688 self.call("code.repo.add_branch", &request, options).await
5689 }
5690 pub async fn code_repo_remove(
5692 &self,
5693 request: crate::CodeRepoRemoveInput,
5694 ) -> Result<crate::CodeRepoRemoveOutput, crate::Error> {
5695 self.code_repo_remove_with_options(request, crate::CallOptions::default())
5696 .await
5697 .map(|result| result.data)
5698 .map_err(|failure| failure.error)
5699 }
5700 pub async fn code_repo_remove_with_options(
5702 &self,
5703 request: crate::CodeRepoRemoveInput,
5704 options: crate::CallOptions,
5705 ) -> Result<crate::CallResult<crate::CodeRepoRemoveOutput>, crate::CallFailure> {
5706 self.call("code.repo.remove", &request, options).await
5707 }
5708 pub async fn code_repo_set_access(
5710 &self,
5711 request: crate::CodeRepoSetAccessInput,
5712 ) -> Result<crate::CodeRepoSetAccessOutput, crate::Error> {
5713 self.code_repo_set_access_with_options(request, crate::CallOptions::default())
5714 .await
5715 .map(|result| result.data)
5716 .map_err(|failure| failure.error)
5717 }
5718 pub async fn code_repo_set_access_with_options(
5720 &self,
5721 request: crate::CodeRepoSetAccessInput,
5722 options: crate::CallOptions,
5723 ) -> Result<crate::CallResult<crate::CodeRepoSetAccessOutput>, crate::CallFailure> {
5724 self.call("code.repo.set_access", &request, options).await
5725 }
5726 pub async fn code_repo_set_source(
5728 &self,
5729 request: crate::CodeRepoSetSourceInput,
5730 ) -> Result<crate::CodeRepoSetSourceOutput, crate::Error> {
5731 self.code_repo_set_source_with_options(request, crate::CallOptions::default())
5732 .await
5733 .map(|result| result.data)
5734 .map_err(|failure| failure.error)
5735 }
5736 pub async fn code_repo_set_source_with_options(
5738 &self,
5739 request: crate::CodeRepoSetSourceInput,
5740 options: crate::CallOptions,
5741 ) -> Result<crate::CallResult<crate::CodeRepoSetSourceOutput>, crate::CallFailure> {
5742 self.call("code.repo.set_source", &request, options).await
5743 }
5744 pub async fn code_index_errors(
5746 &self,
5747 request: crate::CodeIndexErrorsInput,
5748 ) -> Result<crate::CodeIndexErrorsOutput, crate::Error> {
5749 self.code_index_errors_with_options(request, crate::CallOptions::default())
5750 .await
5751 .map(|result| result.data)
5752 .map_err(|failure| failure.error)
5753 }
5754 pub async fn code_index_errors_with_options(
5756 &self,
5757 request: crate::CodeIndexErrorsInput,
5758 options: crate::CallOptions,
5759 ) -> Result<crate::CallResult<crate::CodeIndexErrorsOutput>, crate::CallFailure> {
5760 self.call("code.index_errors", &request, options).await
5761 }
5762 pub async fn code_recent_commits(
5764 &self,
5765 request: crate::CodeRecentCommitsInput,
5766 ) -> Result<crate::CodeRecentCommitsOutput, crate::Error> {
5767 self.code_recent_commits_with_options(request, crate::CallOptions::default())
5768 .await
5769 .map(|result| result.data)
5770 .map_err(|failure| failure.error)
5771 }
5772 pub async fn code_recent_commits_with_options(
5774 &self,
5775 request: crate::CodeRecentCommitsInput,
5776 options: crate::CallOptions,
5777 ) -> Result<crate::CallResult<crate::CodeRecentCommitsOutput>, crate::CallFailure> {
5778 self.call("code.recent_commits", &request, options).await
5779 }
5780 pub async fn code_coverage(
5782 &self,
5783 request: crate::CodeCoverageInput,
5784 ) -> Result<crate::CodeCoverageOutput, crate::Error> {
5785 self.code_coverage_with_options(request, crate::CallOptions::default())
5786 .await
5787 .map(|result| result.data)
5788 .map_err(|failure| failure.error)
5789 }
5790 pub async fn code_coverage_with_options(
5792 &self,
5793 request: crate::CodeCoverageInput,
5794 options: crate::CallOptions,
5795 ) -> Result<crate::CallResult<crate::CodeCoverageOutput>, crate::CallFailure> {
5796 self.call("code.coverage", &request, options).await
5797 }
5798 pub async fn code_context_packs(
5800 &self,
5801 request: crate::CodeContextPacksInput,
5802 ) -> Result<crate::CodeContextPacksOutput, crate::Error> {
5803 self.code_context_packs_with_options(request, crate::CallOptions::default())
5804 .await
5805 .map(|result| result.data)
5806 .map_err(|failure| failure.error)
5807 }
5808 pub async fn code_context_packs_with_options(
5810 &self,
5811 request: crate::CodeContextPacksInput,
5812 options: crate::CallOptions,
5813 ) -> Result<crate::CallResult<crate::CodeContextPacksOutput>, crate::CallFailure> {
5814 self.call("code.context_packs", &request, options).await
5815 }
5816 pub async fn code_refresh(
5818 &self,
5819 request: crate::CodeRefreshInput,
5820 ) -> Result<crate::CodeRefreshOutput, crate::Error> {
5821 self.code_refresh_with_options(request, crate::CallOptions::default())
5822 .await
5823 .map(|result| result.data)
5824 .map_err(|failure| failure.error)
5825 }
5826 pub async fn code_refresh_with_options(
5828 &self,
5829 request: crate::CodeRefreshInput,
5830 options: crate::CallOptions,
5831 ) -> Result<crate::CallResult<crate::CodeRefreshOutput>, crate::CallFailure> {
5832 self.call("code.refresh", &request, options).await
5833 }
5834 pub async fn code_scip_ingest(
5836 &self,
5837 request: crate::CodeScipIngestInput,
5838 ) -> Result<crate::CodeScipIngestOutput, crate::Error> {
5839 self.code_scip_ingest_with_options(request, crate::CallOptions::default())
5840 .await
5841 .map(|result| result.data)
5842 .map_err(|failure| failure.error)
5843 }
5844 pub async fn code_scip_ingest_with_options(
5846 &self,
5847 request: crate::CodeScipIngestInput,
5848 options: crate::CallOptions,
5849 ) -> Result<crate::CallResult<crate::CodeScipIngestOutput>, crate::CallFailure> {
5850 self.call("code.scip_ingest", &request, options).await
5851 }
5852 pub async fn code_scip_status(
5854 &self,
5855 request: crate::CodeScipStatusInput,
5856 ) -> Result<crate::CodeScipStatusOutput, crate::Error> {
5857 self.code_scip_status_with_options(request, crate::CallOptions::default())
5858 .await
5859 .map(|result| result.data)
5860 .map_err(|failure| failure.error)
5861 }
5862 pub async fn code_scip_status_with_options(
5864 &self,
5865 request: crate::CodeScipStatusInput,
5866 options: crate::CallOptions,
5867 ) -> Result<crate::CallResult<crate::CodeScipStatusOutput>, crate::CallFailure> {
5868 self.call("code.scip_status", &request, options).await
5869 }
5870 pub async fn code_reindex(
5872 &self,
5873 request: crate::CodeReindexInput,
5874 ) -> Result<crate::CodeReindexOutput, crate::Error> {
5875 self.code_reindex_with_options(request, crate::CallOptions::default())
5876 .await
5877 .map(|result| result.data)
5878 .map_err(|failure| failure.error)
5879 }
5880 pub async fn code_reindex_with_options(
5882 &self,
5883 request: crate::CodeReindexInput,
5884 options: crate::CallOptions,
5885 ) -> Result<crate::CallResult<crate::CodeReindexOutput>, crate::CallFailure> {
5886 self.call("code.reindex", &request, options).await
5887 }
5888 pub async fn code_calibrate(
5890 &self,
5891 request: crate::CodeCalibrateInput,
5892 ) -> Result<crate::CodeCalibrateOutput, crate::Error> {
5893 self.code_calibrate_with_options(request, crate::CallOptions::default())
5894 .await
5895 .map(|result| result.data)
5896 .map_err(|failure| failure.error)
5897 }
5898 pub async fn code_calibrate_with_options(
5900 &self,
5901 request: crate::CodeCalibrateInput,
5902 options: crate::CallOptions,
5903 ) -> Result<crate::CallResult<crate::CodeCalibrateOutput>, crate::CallFailure> {
5904 self.call("code.calibrate", &request, options).await
5905 }
5906 pub async fn code_coverage_watch(
5908 &self,
5909 request: crate::CodeCoverageWatchInput,
5910 ) -> Result<crate::CodeCoverageWatchOutput, crate::Error> {
5911 self.code_coverage_watch_with_options(request, crate::CallOptions::default())
5912 .await
5913 .map(|result| result.data)
5914 .map_err(|failure| failure.error)
5915 }
5916 pub async fn code_coverage_watch_with_options(
5918 &self,
5919 request: crate::CodeCoverageWatchInput,
5920 options: crate::CallOptions,
5921 ) -> Result<crate::CallResult<crate::CodeCoverageWatchOutput>, crate::CallFailure> {
5922 self.call("code.coverage.watch", &request, options).await
5923 }
5924 pub async fn code_coverage_unwatch(
5926 &self,
5927 request: crate::CodeCoverageUnwatchInput,
5928 ) -> Result<crate::CodeCoverageUnwatchOutput, crate::Error> {
5929 self.code_coverage_unwatch_with_options(request, crate::CallOptions::default())
5930 .await
5931 .map(|result| result.data)
5932 .map_err(|failure| failure.error)
5933 }
5934 pub async fn code_coverage_unwatch_with_options(
5936 &self,
5937 request: crate::CodeCoverageUnwatchInput,
5938 options: crate::CallOptions,
5939 ) -> Result<crate::CallResult<crate::CodeCoverageUnwatchOutput>, crate::CallFailure> {
5940 self.call("code.coverage.unwatch", &request, options).await
5941 }
5942 pub async fn policy_set(
5944 &self,
5945 request: crate::PolicySetInput,
5946 ) -> Result<crate::PolicySetOutput, crate::Error> {
5947 self.policy_set_with_options(request, crate::CallOptions::default())
5948 .await
5949 .map(|result| result.data)
5950 .map_err(|failure| failure.error)
5951 }
5952 pub async fn policy_set_with_options(
5954 &self,
5955 request: crate::PolicySetInput,
5956 options: crate::CallOptions,
5957 ) -> Result<crate::CallResult<crate::PolicySetOutput>, crate::CallFailure> {
5958 self.call("policy.set", &request, options).await
5959 }
5960 pub async fn policy_list(
5962 &self,
5963 request: crate::PolicyListInput,
5964 ) -> Result<crate::PolicyListOutput, crate::Error> {
5965 self.policy_list_with_options(request, crate::CallOptions::default())
5966 .await
5967 .map(|result| result.data)
5968 .map_err(|failure| failure.error)
5969 }
5970 pub async fn policy_list_with_options(
5972 &self,
5973 request: crate::PolicyListInput,
5974 options: crate::CallOptions,
5975 ) -> Result<crate::CallResult<crate::PolicyListOutput>, crate::CallFailure> {
5976 self.call("policy.list", &request, options).await
5977 }
5978 pub async fn policy_delete(
5980 &self,
5981 request: crate::PolicyDeleteInput,
5982 ) -> Result<crate::PolicyDeleteOutput, crate::Error> {
5983 self.policy_delete_with_options(request, crate::CallOptions::default())
5984 .await
5985 .map(|result| result.data)
5986 .map_err(|failure| failure.error)
5987 }
5988 pub async fn policy_delete_with_options(
5990 &self,
5991 request: crate::PolicyDeleteInput,
5992 options: crate::CallOptions,
5993 ) -> Result<crate::CallResult<crate::PolicyDeleteOutput>, crate::CallFailure> {
5994 self.call("policy.delete", &request, options).await
5995 }
5996 pub async fn policy_check(
5998 &self,
5999 request: crate::PolicyCheckInput,
6000 ) -> Result<crate::PolicyCheckOutput, crate::Error> {
6001 self.policy_check_with_options(request, crate::CallOptions::default())
6002 .await
6003 .map(|result| result.data)
6004 .map_err(|failure| failure.error)
6005 }
6006 pub async fn policy_check_with_options(
6008 &self,
6009 request: crate::PolicyCheckInput,
6010 options: crate::CallOptions,
6011 ) -> Result<crate::CallResult<crate::PolicyCheckOutput>, crate::CallFailure> {
6012 self.call("policy.check", &request, options).await
6013 }
6014 pub async fn policy_decisions(
6016 &self,
6017 request: crate::PolicyDecisionsInput,
6018 ) -> Result<crate::PolicyDecisionsOutput, crate::Error> {
6019 self.policy_decisions_with_options(request, crate::CallOptions::default())
6020 .await
6021 .map(|result| result.data)
6022 .map_err(|failure| failure.error)
6023 }
6024 pub async fn policy_decisions_with_options(
6026 &self,
6027 request: crate::PolicyDecisionsInput,
6028 options: crate::CallOptions,
6029 ) -> Result<crate::CallResult<crate::PolicyDecisionsOutput>, crate::CallFailure> {
6030 self.call("policy.decisions", &request, options).await
6031 }
6032 pub async fn tracker_item(
6034 &self,
6035 request: crate::TrackerItemInput,
6036 ) -> Result<crate::TrackerItemOutput, crate::Error> {
6037 self.tracker_item_with_options(request, crate::CallOptions::default())
6038 .await
6039 .map(|result| result.data)
6040 .map_err(|failure| failure.error)
6041 }
6042 pub async fn tracker_item_with_options(
6044 &self,
6045 request: crate::TrackerItemInput,
6046 options: crate::CallOptions,
6047 ) -> Result<crate::CallResult<crate::TrackerItemOutput>, crate::CallFailure> {
6048 self.call("tracker.item", &request, options).await
6049 }
6050 pub async fn tracker_release(
6052 &self,
6053 request: crate::TrackerReleaseInput,
6054 ) -> Result<crate::TrackerReleaseOutput, crate::Error> {
6055 self.tracker_release_with_options(request, crate::CallOptions::default())
6056 .await
6057 .map(|result| result.data)
6058 .map_err(|failure| failure.error)
6059 }
6060 pub async fn tracker_release_with_options(
6062 &self,
6063 request: crate::TrackerReleaseInput,
6064 options: crate::CallOptions,
6065 ) -> Result<crate::CallResult<crate::TrackerReleaseOutput>, crate::CallFailure> {
6066 self.call("tracker.release", &request, options).await
6067 }
6068 pub async fn tracker_component(
6070 &self,
6071 request: crate::TrackerComponentInput,
6072 ) -> Result<crate::TrackerComponentOutput, crate::Error> {
6073 self.tracker_component_with_options(request, crate::CallOptions::default())
6074 .await
6075 .map(|result| result.data)
6076 .map_err(|failure| failure.error)
6077 }
6078 pub async fn tracker_component_with_options(
6080 &self,
6081 request: crate::TrackerComponentInput,
6082 options: crate::CallOptions,
6083 ) -> Result<crate::CallResult<crate::TrackerComponentOutput>, crate::CallFailure> {
6084 self.call("tracker.component", &request, options).await
6085 }
6086 pub async fn tracker_flaky(
6088 &self,
6089 request: crate::TrackerFlakyInput,
6090 ) -> Result<crate::TrackerFlakyOutput, crate::Error> {
6091 self.tracker_flaky_with_options(request, crate::CallOptions::default())
6092 .await
6093 .map(|result| result.data)
6094 .map_err(|failure| failure.error)
6095 }
6096 pub async fn tracker_flaky_with_options(
6098 &self,
6099 request: crate::TrackerFlakyInput,
6100 options: crate::CallOptions,
6101 ) -> Result<crate::CallResult<crate::TrackerFlakyOutput>, crate::CallFailure> {
6102 self.call("tracker.flaky", &request, options).await
6103 }
6104 pub async fn tracker_test_signal(
6106 &self,
6107 request: crate::TrackerTestSignalInput,
6108 ) -> Result<crate::TrackerTestSignalOutput, crate::Error> {
6109 self.tracker_test_signal_with_options(request, crate::CallOptions::default())
6110 .await
6111 .map(|result| result.data)
6112 .map_err(|failure| failure.error)
6113 }
6114 pub async fn tracker_test_signal_with_options(
6116 &self,
6117 request: crate::TrackerTestSignalInput,
6118 options: crate::CallOptions,
6119 ) -> Result<crate::CallResult<crate::TrackerTestSignalOutput>, crate::CallFailure> {
6120 self.call("tracker.test_signal", &request, options).await
6121 }
6122 pub async fn tracker_answer(
6124 &self,
6125 request: crate::TrackerAnswerInput,
6126 ) -> Result<crate::TrackerAnswerOutput, crate::Error> {
6127 self.tracker_answer_with_options(request, crate::CallOptions::default())
6128 .await
6129 .map(|result| result.data)
6130 .map_err(|failure| failure.error)
6131 }
6132 pub async fn tracker_answer_with_options(
6134 &self,
6135 request: crate::TrackerAnswerInput,
6136 options: crate::CallOptions,
6137 ) -> Result<crate::CallResult<crate::TrackerAnswerOutput>, crate::CallFailure> {
6138 self.call("tracker.answer", &request, options).await
6139 }
6140 pub async fn tracker_similar(
6142 &self,
6143 request: crate::TrackerSimilarInput,
6144 ) -> Result<crate::TrackerSimilarOutput, crate::Error> {
6145 self.tracker_similar_with_options(request, crate::CallOptions::default())
6146 .await
6147 .map(|result| result.data)
6148 .map_err(|failure| failure.error)
6149 }
6150 pub async fn tracker_similar_with_options(
6152 &self,
6153 request: crate::TrackerSimilarInput,
6154 options: crate::CallOptions,
6155 ) -> Result<crate::CallResult<crate::TrackerSimilarOutput>, crate::CallFailure> {
6156 self.call("tracker.similar", &request, options).await
6157 }
6158 pub async fn tracker_links(
6160 &self,
6161 request: crate::TrackerLinksInput,
6162 ) -> Result<crate::TrackerLinksOutput, crate::Error> {
6163 self.tracker_links_with_options(request, crate::CallOptions::default())
6164 .await
6165 .map(|result| result.data)
6166 .map_err(|failure| failure.error)
6167 }
6168 pub async fn tracker_links_with_options(
6170 &self,
6171 request: crate::TrackerLinksInput,
6172 options: crate::CallOptions,
6173 ) -> Result<crate::CallResult<crate::TrackerLinksOutput>, crate::CallFailure> {
6174 self.call("tracker.links", &request, options).await
6175 }
6176 pub async fn tracker_binding(
6178 &self,
6179 request: crate::TrackerBindingInput,
6180 ) -> Result<crate::TrackerBindingOutput, crate::Error> {
6181 self.tracker_binding_with_options(request, crate::CallOptions::default())
6182 .await
6183 .map(|result| result.data)
6184 .map_err(|failure| failure.error)
6185 }
6186 pub async fn tracker_binding_with_options(
6188 &self,
6189 request: crate::TrackerBindingInput,
6190 options: crate::CallOptions,
6191 ) -> Result<crate::CallResult<crate::TrackerBindingOutput>, crate::CallFailure> {
6192 self.call("tracker.binding", &request, options).await
6193 }
6194 pub async fn tracker_source_list(
6196 &self,
6197 request: crate::TrackerSourceListInput,
6198 ) -> Result<crate::TrackerSourceListOutput, crate::Error> {
6199 self.tracker_source_list_with_options(request, crate::CallOptions::default())
6200 .await
6201 .map(|result| result.data)
6202 .map_err(|failure| failure.error)
6203 }
6204 pub async fn tracker_source_list_with_options(
6206 &self,
6207 request: crate::TrackerSourceListInput,
6208 options: crate::CallOptions,
6209 ) -> Result<crate::CallResult<crate::TrackerSourceListOutput>, crate::CallFailure> {
6210 self.call("tracker.source.list", &request, options).await
6211 }
6212 pub async fn tracker_contract(
6214 &self,
6215 request: crate::TrackerContractInput,
6216 ) -> Result<crate::TrackerContractOutput, crate::Error> {
6217 self.tracker_contract_with_options(request, crate::CallOptions::default())
6218 .await
6219 .map(|result| result.data)
6220 .map_err(|failure| failure.error)
6221 }
6222 pub async fn tracker_contract_with_options(
6224 &self,
6225 request: crate::TrackerContractInput,
6226 options: crate::CallOptions,
6227 ) -> Result<crate::CallResult<crate::TrackerContractOutput>, crate::CallFailure> {
6228 self.call("tracker.contract", &request, options).await
6229 }
6230 pub async fn tracker_source_inspect(
6232 &self,
6233 request: crate::TrackerSourceInspectInput,
6234 ) -> Result<crate::TrackerSourceInspectOutput, crate::Error> {
6235 self.tracker_source_inspect_with_options(request, crate::CallOptions::default())
6236 .await
6237 .map(|result| result.data)
6238 .map_err(|failure| failure.error)
6239 }
6240 pub async fn tracker_source_inspect_with_options(
6242 &self,
6243 request: crate::TrackerSourceInspectInput,
6244 options: crate::CallOptions,
6245 ) -> Result<crate::CallResult<crate::TrackerSourceInspectOutput>, crate::CallFailure> {
6246 self.call("tracker.source.inspect", &request, options).await
6247 }
6248 pub async fn tracker_source_set_mapping(
6250 &self,
6251 request: crate::TrackerSourceSetMappingInput,
6252 ) -> Result<crate::TrackerSourceSetMappingOutput, crate::Error> {
6253 self.tracker_source_set_mapping_with_options(request, crate::CallOptions::default())
6254 .await
6255 .map(|result| result.data)
6256 .map_err(|failure| failure.error)
6257 }
6258 pub async fn tracker_source_set_mapping_with_options(
6260 &self,
6261 request: crate::TrackerSourceSetMappingInput,
6262 options: crate::CallOptions,
6263 ) -> Result<crate::CallResult<crate::TrackerSourceSetMappingOutput>, crate::CallFailure> {
6264 self.call("tracker.source.set_mapping", &request, options)
6265 .await
6266 }
6267 pub async fn tracker_source_add(
6269 &self,
6270 request: crate::TrackerSourceAddInput,
6271 ) -> Result<crate::TrackerSourceAddOutput, crate::Error> {
6272 self.tracker_source_add_with_options(request, crate::CallOptions::default())
6273 .await
6274 .map(|result| result.data)
6275 .map_err(|failure| failure.error)
6276 }
6277 pub async fn tracker_source_add_with_options(
6279 &self,
6280 request: crate::TrackerSourceAddInput,
6281 options: crate::CallOptions,
6282 ) -> Result<crate::CallResult<crate::TrackerSourceAddOutput>, crate::CallFailure> {
6283 self.call("tracker.source.add", &request, options).await
6284 }
6285 pub async fn tracker_source_check(
6287 &self,
6288 request: crate::TrackerSourceCheckInput,
6289 ) -> Result<crate::TrackerSourceCheckOutput, crate::Error> {
6290 self.tracker_source_check_with_options(request, crate::CallOptions::default())
6291 .await
6292 .map(|result| result.data)
6293 .map_err(|failure| failure.error)
6294 }
6295 pub async fn tracker_source_check_with_options(
6297 &self,
6298 request: crate::TrackerSourceCheckInput,
6299 options: crate::CallOptions,
6300 ) -> Result<crate::CallResult<crate::TrackerSourceCheckOutput>, crate::CallFailure> {
6301 self.call("tracker.source.check", &request, options).await
6302 }
6303 pub async fn tracker_source_rotate(
6305 &self,
6306 request: crate::TrackerSourceRotateInput,
6307 ) -> Result<crate::TrackerSourceRotateOutput, crate::Error> {
6308 self.tracker_source_rotate_with_options(request, crate::CallOptions::default())
6309 .await
6310 .map(|result| result.data)
6311 .map_err(|failure| failure.error)
6312 }
6313 pub async fn tracker_source_rotate_with_options(
6315 &self,
6316 request: crate::TrackerSourceRotateInput,
6317 options: crate::CallOptions,
6318 ) -> Result<crate::CallResult<crate::TrackerSourceRotateOutput>, crate::CallFailure> {
6319 self.call("tracker.source.rotate", &request, options).await
6320 }
6321 pub async fn tracker_source_remove(
6323 &self,
6324 request: crate::TrackerSourceRemoveInput,
6325 ) -> Result<crate::TrackerSourceRemoveOutput, crate::Error> {
6326 self.tracker_source_remove_with_options(request, crate::CallOptions::default())
6327 .await
6328 .map(|result| result.data)
6329 .map_err(|failure| failure.error)
6330 }
6331 pub async fn tracker_source_remove_with_options(
6333 &self,
6334 request: crate::TrackerSourceRemoveInput,
6335 options: crate::CallOptions,
6336 ) -> Result<crate::CallResult<crate::TrackerSourceRemoveOutput>, crate::CallFailure> {
6337 self.call("tracker.source.remove", &request, options).await
6338 }
6339 pub async fn tracker_duplicate_check(
6341 &self,
6342 request: crate::TrackerDuplicateCheckInput,
6343 ) -> Result<crate::TrackerDuplicateCheckOutput, crate::Error> {
6344 self.tracker_duplicate_check_with_options(request, crate::CallOptions::default())
6345 .await
6346 .map(|result| result.data)
6347 .map_err(|failure| failure.error)
6348 }
6349 pub async fn tracker_duplicate_check_with_options(
6351 &self,
6352 request: crate::TrackerDuplicateCheckInput,
6353 options: crate::CallOptions,
6354 ) -> Result<crate::CallResult<crate::TrackerDuplicateCheckOutput>, crate::CallFailure> {
6355 self.call("tracker.duplicate_check", &request, options)
6356 .await
6357 }
6358 pub async fn inbox_register(
6360 &self,
6361 request: crate::InboxRegisterInput,
6362 ) -> Result<crate::InboxRegisterOutput, crate::Error> {
6363 self.inbox_register_with_options(request, crate::CallOptions::default())
6364 .await
6365 .map(|result| result.data)
6366 .map_err(|failure| failure.error)
6367 }
6368 pub async fn inbox_register_with_options(
6370 &self,
6371 request: crate::InboxRegisterInput,
6372 options: crate::CallOptions,
6373 ) -> Result<crate::CallResult<crate::InboxRegisterOutput>, crate::CallFailure> {
6374 self.call("inbox.register", &request, options).await
6375 }
6376 pub async fn inbox_list(
6378 &self,
6379 request: crate::InboxListInput,
6380 ) -> Result<crate::InboxListOutput, crate::Error> {
6381 self.inbox_list_with_options(request, crate::CallOptions::default())
6382 .await
6383 .map(|result| result.data)
6384 .map_err(|failure| failure.error)
6385 }
6386 pub async fn inbox_list_with_options(
6388 &self,
6389 request: crate::InboxListInput,
6390 options: crate::CallOptions,
6391 ) -> Result<crate::CallResult<crate::InboxListOutput>, crate::CallFailure> {
6392 self.call("inbox.list", &request, options).await
6393 }
6394 pub async fn inbox_principals(
6396 &self,
6397 request: crate::InboxPrincipalsInput,
6398 ) -> Result<crate::InboxPrincipalsOutput, crate::Error> {
6399 self.inbox_principals_with_options(request, crate::CallOptions::default())
6400 .await
6401 .map(|result| result.data)
6402 .map_err(|failure| failure.error)
6403 }
6404 pub async fn inbox_principals_with_options(
6406 &self,
6407 request: crate::InboxPrincipalsInput,
6408 options: crate::CallOptions,
6409 ) -> Result<crate::CallResult<crate::InboxPrincipalsOutput>, crate::CallFailure> {
6410 self.call("inbox.principals", &request, options).await
6411 }
6412 pub async fn inbox_policy_set(
6414 &self,
6415 request: crate::InboxPolicySetInput,
6416 ) -> Result<crate::InboxPolicySetOutput, crate::Error> {
6417 self.inbox_policy_set_with_options(request, crate::CallOptions::default())
6418 .await
6419 .map(|result| result.data)
6420 .map_err(|failure| failure.error)
6421 }
6422 pub async fn inbox_policy_set_with_options(
6424 &self,
6425 request: crate::InboxPolicySetInput,
6426 options: crate::CallOptions,
6427 ) -> Result<crate::CallResult<crate::InboxPolicySetOutput>, crate::CallFailure> {
6428 self.call("inbox.policy_set", &request, options).await
6429 }
6430 pub async fn inbox_policy_list(
6432 &self,
6433 request: crate::InboxPolicyListInput,
6434 ) -> Result<crate::InboxPolicyListOutput, crate::Error> {
6435 self.inbox_policy_list_with_options(request, crate::CallOptions::default())
6436 .await
6437 .map(|result| result.data)
6438 .map_err(|failure| failure.error)
6439 }
6440 pub async fn inbox_policy_list_with_options(
6442 &self,
6443 request: crate::InboxPolicyListInput,
6444 options: crate::CallOptions,
6445 ) -> Result<crate::CallResult<crate::InboxPolicyListOutput>, crate::CallFailure> {
6446 self.call("inbox.policy_list", &request, options).await
6447 }
6448 pub async fn task_create(
6450 &self,
6451 request: crate::TaskCreateInput,
6452 ) -> Result<crate::TaskCreateOutput, crate::Error> {
6453 self.task_create_with_options(request, crate::CallOptions::default())
6454 .await
6455 .map(|result| result.data)
6456 .map_err(|failure| failure.error)
6457 }
6458 pub async fn task_create_with_options(
6460 &self,
6461 request: crate::TaskCreateInput,
6462 options: crate::CallOptions,
6463 ) -> Result<crate::CallResult<crate::TaskCreateOutput>, crate::CallFailure> {
6464 self.call("task.create", &request, options).await
6465 }
6466 pub async fn task_accept(
6468 &self,
6469 request: crate::TaskAcceptInput,
6470 ) -> Result<crate::TaskOutput, crate::Error> {
6471 self.task_accept_with_options(request, crate::CallOptions::default())
6472 .await
6473 .map(|result| result.data)
6474 .map_err(|failure| failure.error)
6475 }
6476 pub async fn task_accept_with_options(
6478 &self,
6479 request: crate::TaskAcceptInput,
6480 options: crate::CallOptions,
6481 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6482 self.call("task.accept", &request, options).await
6483 }
6484 pub async fn task_pull(
6486 &self,
6487 request: crate::TaskPullInput,
6488 ) -> Result<crate::TaskPullOutput, crate::Error> {
6489 self.task_pull_with_options(request, crate::CallOptions::default())
6490 .await
6491 .map(|result| result.data)
6492 .map_err(|failure| failure.error)
6493 }
6494 pub async fn task_pull_with_options(
6496 &self,
6497 request: crate::TaskPullInput,
6498 options: crate::CallOptions,
6499 ) -> Result<crate::CallResult<crate::TaskPullOutput>, crate::CallFailure> {
6500 self.call("task.pull", &request, options).await
6501 }
6502 pub async fn task_claim(
6504 &self,
6505 request: crate::TaskClaimInput,
6506 ) -> Result<crate::TaskOutput, crate::Error> {
6507 self.task_claim_with_options(request, crate::CallOptions::default())
6508 .await
6509 .map(|result| result.data)
6510 .map_err(|failure| failure.error)
6511 }
6512 pub async fn task_claim_with_options(
6514 &self,
6515 request: crate::TaskClaimInput,
6516 options: crate::CallOptions,
6517 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6518 self.call("task.claim", &request, options).await
6519 }
6520 pub async fn task_heartbeat(
6522 &self,
6523 request: crate::TaskHeartbeatInput,
6524 ) -> Result<crate::TaskOutput, crate::Error> {
6525 self.task_heartbeat_with_options(request, crate::CallOptions::default())
6526 .await
6527 .map(|result| result.data)
6528 .map_err(|failure| failure.error)
6529 }
6530 pub async fn task_heartbeat_with_options(
6532 &self,
6533 request: crate::TaskHeartbeatInput,
6534 options: crate::CallOptions,
6535 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6536 self.call("task.heartbeat", &request, options).await
6537 }
6538 pub async fn task_progress(
6540 &self,
6541 request: crate::TaskProgressInput,
6542 ) -> Result<crate::TaskOutput, crate::Error> {
6543 self.task_progress_with_options(request, crate::CallOptions::default())
6544 .await
6545 .map(|result| result.data)
6546 .map_err(|failure| failure.error)
6547 }
6548 pub async fn task_progress_with_options(
6550 &self,
6551 request: crate::TaskProgressInput,
6552 options: crate::CallOptions,
6553 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6554 self.call("task.progress", &request, options).await
6555 }
6556 pub async fn task_defer(
6558 &self,
6559 request: crate::TaskDeferInput,
6560 ) -> Result<crate::TaskOutput, crate::Error> {
6561 self.task_defer_with_options(request, crate::CallOptions::default())
6562 .await
6563 .map(|result| result.data)
6564 .map_err(|failure| failure.error)
6565 }
6566 pub async fn task_defer_with_options(
6568 &self,
6569 request: crate::TaskDeferInput,
6570 options: crate::CallOptions,
6571 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6572 self.call("task.defer", &request, options).await
6573 }
6574 pub async fn task_block(
6576 &self,
6577 request: crate::TaskBlockInput,
6578 ) -> Result<crate::TaskOutput, crate::Error> {
6579 self.task_block_with_options(request, crate::CallOptions::default())
6580 .await
6581 .map(|result| result.data)
6582 .map_err(|failure| failure.error)
6583 }
6584 pub async fn task_block_with_options(
6586 &self,
6587 request: crate::TaskBlockInput,
6588 options: crate::CallOptions,
6589 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6590 self.call("task.block", &request, options).await
6591 }
6592 pub async fn task_unblock(
6594 &self,
6595 request: crate::TaskUnblockInput,
6596 ) -> Result<crate::TaskOutput, crate::Error> {
6597 self.task_unblock_with_options(request, crate::CallOptions::default())
6598 .await
6599 .map(|result| result.data)
6600 .map_err(|failure| failure.error)
6601 }
6602 pub async fn task_unblock_with_options(
6604 &self,
6605 request: crate::TaskUnblockInput,
6606 options: crate::CallOptions,
6607 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6608 self.call("task.unblock", &request, options).await
6609 }
6610 pub async fn task_resume(
6612 &self,
6613 request: crate::TaskResumeInput,
6614 ) -> Result<crate::TaskOutput, crate::Error> {
6615 self.task_resume_with_options(request, crate::CallOptions::default())
6616 .await
6617 .map(|result| result.data)
6618 .map_err(|failure| failure.error)
6619 }
6620 pub async fn task_resume_with_options(
6622 &self,
6623 request: crate::TaskResumeInput,
6624 options: crate::CallOptions,
6625 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6626 self.call("task.resume", &request, options).await
6627 }
6628 pub async fn task_complete(
6630 &self,
6631 request: crate::TaskCompleteInput,
6632 ) -> Result<crate::TaskOutput, crate::Error> {
6633 self.task_complete_with_options(request, crate::CallOptions::default())
6634 .await
6635 .map(|result| result.data)
6636 .map_err(|failure| failure.error)
6637 }
6638 pub async fn task_complete_with_options(
6640 &self,
6641 request: crate::TaskCompleteInput,
6642 options: crate::CallOptions,
6643 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6644 self.call("task.complete", &request, options).await
6645 }
6646 pub async fn task_fail(
6648 &self,
6649 request: crate::TaskFailInput,
6650 ) -> Result<crate::TaskOutput, crate::Error> {
6651 self.task_fail_with_options(request, crate::CallOptions::default())
6652 .await
6653 .map(|result| result.data)
6654 .map_err(|failure| failure.error)
6655 }
6656 pub async fn task_fail_with_options(
6658 &self,
6659 request: crate::TaskFailInput,
6660 options: crate::CallOptions,
6661 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6662 self.call("task.fail", &request, options).await
6663 }
6664 pub async fn task_wont_do(
6666 &self,
6667 request: crate::TaskReasonInput,
6668 ) -> Result<crate::TaskOutput, crate::Error> {
6669 self.task_wont_do_with_options(request, crate::CallOptions::default())
6670 .await
6671 .map(|result| result.data)
6672 .map_err(|failure| failure.error)
6673 }
6674 pub async fn task_wont_do_with_options(
6676 &self,
6677 request: crate::TaskReasonInput,
6678 options: crate::CallOptions,
6679 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6680 self.call("task.wont_do", &request, options).await
6681 }
6682 pub async fn task_cancel(
6684 &self,
6685 request: crate::TaskCancelInput,
6686 ) -> Result<crate::TaskOutput, crate::Error> {
6687 self.task_cancel_with_options(request, crate::CallOptions::default())
6688 .await
6689 .map(|result| result.data)
6690 .map_err(|failure| failure.error)
6691 }
6692 pub async fn task_cancel_with_options(
6694 &self,
6695 request: crate::TaskCancelInput,
6696 options: crate::CallOptions,
6697 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6698 self.call("task.cancel", &request, options).await
6699 }
6700 pub async fn task_reopen(
6702 &self,
6703 request: crate::TaskReopenInput,
6704 ) -> Result<crate::TaskOutput, crate::Error> {
6705 self.task_reopen_with_options(request, crate::CallOptions::default())
6706 .await
6707 .map(|result| result.data)
6708 .map_err(|failure| failure.error)
6709 }
6710 pub async fn task_reopen_with_options(
6712 &self,
6713 request: crate::TaskReopenInput,
6714 options: crate::CallOptions,
6715 ) -> Result<crate::CallResult<crate::TaskOutput>, crate::CallFailure> {
6716 self.call("task.reopen", &request, options).await
6717 }
6718 pub async fn task_update(
6720 &self,
6721 request: crate::TaskUpdateInput,
6722 ) -> Result<crate::TaskUpdateOutput, crate::Error> {
6723 self.task_update_with_options(request, crate::CallOptions::default())
6724 .await
6725 .map(|result| result.data)
6726 .map_err(|failure| failure.error)
6727 }
6728 pub async fn task_update_with_options(
6730 &self,
6731 request: crate::TaskUpdateInput,
6732 options: crate::CallOptions,
6733 ) -> Result<crate::CallResult<crate::TaskUpdateOutput>, crate::CallFailure> {
6734 self.call("task.update", &request, options).await
6735 }
6736 pub async fn task_reassign(
6738 &self,
6739 request: crate::TaskReassignInput,
6740 ) -> Result<crate::TaskReassignOutput, crate::Error> {
6741 self.task_reassign_with_options(request, crate::CallOptions::default())
6742 .await
6743 .map(|result| result.data)
6744 .map_err(|failure| failure.error)
6745 }
6746 pub async fn task_reassign_with_options(
6748 &self,
6749 request: crate::TaskReassignInput,
6750 options: crate::CallOptions,
6751 ) -> Result<crate::CallResult<crate::TaskReassignOutput>, crate::CallFailure> {
6752 self.call("task.reassign", &request, options).await
6753 }
6754 pub async fn task_get(
6756 &self,
6757 request: crate::TaskGetInput,
6758 ) -> Result<crate::TaskGetOutput, crate::Error> {
6759 self.task_get_with_options(request, crate::CallOptions::default())
6760 .await
6761 .map(|result| result.data)
6762 .map_err(|failure| failure.error)
6763 }
6764 pub async fn task_get_with_options(
6766 &self,
6767 request: crate::TaskGetInput,
6768 options: crate::CallOptions,
6769 ) -> Result<crate::CallResult<crate::TaskGetOutput>, crate::CallFailure> {
6770 self.call("task.get", &request, options).await
6771 }
6772 pub async fn task_list(
6774 &self,
6775 request: crate::TaskListInput,
6776 ) -> Result<crate::TaskListOutput, crate::Error> {
6777 self.task_list_with_options(request, crate::CallOptions::default())
6778 .await
6779 .map(|result| result.data)
6780 .map_err(|failure| failure.error)
6781 }
6782 pub async fn task_list_with_options(
6784 &self,
6785 request: crate::TaskListInput,
6786 options: crate::CallOptions,
6787 ) -> Result<crate::CallResult<crate::TaskListOutput>, crate::CallFailure> {
6788 self.call("task.list", &request, options).await
6789 }
6790 pub async fn task_counts(
6792 &self,
6793 request: crate::TaskCountsInput,
6794 ) -> Result<crate::TaskCountsOutput, crate::Error> {
6795 self.task_counts_with_options(request, crate::CallOptions::default())
6796 .await
6797 .map(|result| result.data)
6798 .map_err(|failure| failure.error)
6799 }
6800 pub async fn task_counts_with_options(
6802 &self,
6803 request: crate::TaskCountsInput,
6804 options: crate::CallOptions,
6805 ) -> Result<crate::CallResult<crate::TaskCountsOutput>, crate::CallFailure> {
6806 self.call("task.counts", &request, options).await
6807 }
6808 pub async fn task_history(
6810 &self,
6811 request: crate::TaskHistoryInput,
6812 ) -> Result<crate::TaskHistoryOutput, crate::Error> {
6813 self.task_history_with_options(request, crate::CallOptions::default())
6814 .await
6815 .map(|result| result.data)
6816 .map_err(|failure| failure.error)
6817 }
6818 pub async fn task_history_with_options(
6820 &self,
6821 request: crate::TaskHistoryInput,
6822 options: crate::CallOptions,
6823 ) -> Result<crate::CallResult<crate::TaskHistoryOutput>, crate::CallFailure> {
6824 self.call("task.history", &request, options).await
6825 }
6826 pub async fn task_updates(
6828 &self,
6829 request: crate::TaskUpdatesInput,
6830 ) -> Result<crate::TaskUpdatesOutput, crate::Error> {
6831 self.task_updates_with_options(request, crate::CallOptions::default())
6832 .await
6833 .map(|result| result.data)
6834 .map_err(|failure| failure.error)
6835 }
6836 pub async fn task_updates_with_options(
6838 &self,
6839 request: crate::TaskUpdatesInput,
6840 options: crate::CallOptions,
6841 ) -> Result<crate::CallResult<crate::TaskUpdatesOutput>, crate::CallFailure> {
6842 self.call("task.updates", &request, options).await
6843 }
6844 pub async fn ui_vitals(
6846 &self,
6847 request: crate::UiVitalsInput,
6848 ) -> Result<crate::UiVitalsOutput, crate::Error> {
6849 self.ui_vitals_with_options(request, crate::CallOptions::default())
6850 .await
6851 .map(|result| result.data)
6852 .map_err(|failure| failure.error)
6853 }
6854 pub async fn ui_vitals_with_options(
6856 &self,
6857 request: crate::UiVitalsInput,
6858 options: crate::CallOptions,
6859 ) -> Result<crate::CallResult<crate::UiVitalsOutput>, crate::CallFailure> {
6860 self.call("ui.vitals", &request, options).await
6861 }
6862}