@clone-ai/prompt-prediction 0.7.0-bootstrap.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +120 -0
  2. package/CONTRIBUTING.md +52 -0
  3. package/LICENSE +21 -0
  4. package/README.md +119 -1
  5. package/SECURITY.md +9 -0
  6. package/dist/assistant-ui.d.ts +5 -0
  7. package/dist/assistant-ui.js +26 -0
  8. package/dist/clone-mode.d.ts +64 -0
  9. package/dist/clone-mode.js +156 -0
  10. package/dist/controller.d.ts +61 -0
  11. package/dist/controller.js +155 -0
  12. package/dist/deadline.d.ts +2 -0
  13. package/dist/deadline.js +25 -0
  14. package/dist/feedback.d.ts +50 -0
  15. package/dist/feedback.js +118 -0
  16. package/dist/generated/api-types.d.ts +1663 -0
  17. package/dist/generated/api-types.js +5 -0
  18. package/dist/http.d.ts +8 -0
  19. package/dist/http.js +35 -0
  20. package/dist/index.d.ts +9 -0
  21. package/dist/index.js +4 -0
  22. package/dist/react.d.ts +50 -0
  23. package/dist/react.js +147 -0
  24. package/dist/server.d.ts +33 -0
  25. package/dist/server.js +93 -0
  26. package/dist/transport.d.ts +15 -0
  27. package/dist/transport.js +42 -0
  28. package/dist/types.d.ts +8 -0
  29. package/dist/types.js +1 -0
  30. package/docs/agent-integration.md +122 -0
  31. package/docs/api.md +69 -0
  32. package/docs/billing.md +53 -0
  33. package/docs/browser-onboarding.md +69 -0
  34. package/docs/clone-mode.md +40 -0
  35. package/docs/context-mapping.md +28 -0
  36. package/docs/data-and-service.md +25 -0
  37. package/docs/developer-apps.md +87 -0
  38. package/docs/feedback.md +70 -0
  39. package/docs/pilot-validation.md +35 -0
  40. package/docs/releases.md +88 -0
  41. package/docs/reliability.md +33 -0
  42. package/docs/start.md +91 -0
  43. package/examples/react/composer-events.ts +3 -0
  44. package/examples/react/demo.tsx +195 -0
  45. package/examples/react/index.html +12 -0
  46. package/examples/react/mode-demo.tsx +95 -0
  47. package/examples/react/pilot-observations.ts +57 -0
  48. package/examples/react/vite.config.ts +123 -0
  49. package/openapi.json +2268 -0
  50. package/package.json +99 -4
  51. package/playwright.config.ts +13 -0
  52. package/release-manifest.json +63 -0
  53. package/scripts/create-example.mjs +31 -0
  54. package/scripts/pilot-metrics.mjs +91 -0
  55. package/tests/browser/clone-mode-options.tsx +38 -0
  56. package/tests/browser/clone-mode.spec.ts +68 -0
  57. package/tests/browser/composer.spec.ts +238 -0
@@ -0,0 +1,1663 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/v1/connections": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ get?: never;
14
+ put?: never;
15
+ /** Start */
16
+ post: operations["start_v1_connections_post"];
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ "/v1/connections/exchange": {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ get?: never;
31
+ put?: never;
32
+ /** Exchange */
33
+ post: operations["exchange_v1_connections_exchange_post"];
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
40
+ "/v1/connections/{connection_id}/revoke": {
41
+ parameters: {
42
+ query?: never;
43
+ header?: never;
44
+ path?: never;
45
+ cookie?: never;
46
+ };
47
+ get?: never;
48
+ put?: never;
49
+ /** Revoke */
50
+ post: operations["revoke_v1_connections__connection_id__revoke_post"];
51
+ delete?: never;
52
+ options?: never;
53
+ head?: never;
54
+ patch?: never;
55
+ trace?: never;
56
+ };
57
+ "/v1/prediction-events": {
58
+ parameters: {
59
+ query?: never;
60
+ header?: never;
61
+ path?: never;
62
+ cookie?: never;
63
+ };
64
+ get?: never;
65
+ put?: never;
66
+ /** Event */
67
+ post: operations["event_v1_prediction_events_post"];
68
+ delete?: never;
69
+ options?: never;
70
+ head?: never;
71
+ patch?: never;
72
+ trace?: never;
73
+ };
74
+ "/v1/prediction-feedback/clear": {
75
+ parameters: {
76
+ query?: never;
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
80
+ };
81
+ get?: never;
82
+ put?: never;
83
+ /** Clear Feedback */
84
+ post: operations["clear_feedback_v1_prediction_feedback_clear_post"];
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
91
+ "/v1/predictions": {
92
+ parameters: {
93
+ query?: never;
94
+ header?: never;
95
+ path?: never;
96
+ cookie?: never;
97
+ };
98
+ get?: never;
99
+ put?: never;
100
+ /** Predictions */
101
+ post: operations["predictions_v1_predictions_post"];
102
+ delete?: never;
103
+ options?: never;
104
+ head?: never;
105
+ patch?: never;
106
+ trace?: never;
107
+ };
108
+ "/v1/predictions/{request_id}/cancel": {
109
+ parameters: {
110
+ query?: never;
111
+ header?: never;
112
+ path?: never;
113
+ cookie?: never;
114
+ };
115
+ get?: never;
116
+ put?: never;
117
+ /** Cancel */
118
+ post: operations["cancel_v1_predictions__request_id__cancel_post"];
119
+ delete?: never;
120
+ options?: never;
121
+ head?: never;
122
+ patch?: never;
123
+ trace?: never;
124
+ };
125
+ "/v1/usage": {
126
+ parameters: {
127
+ query?: never;
128
+ header?: never;
129
+ path?: never;
130
+ cookie?: never;
131
+ };
132
+ /** Usage */
133
+ get: operations["usage_v1_usage_get"];
134
+ put?: never;
135
+ post?: never;
136
+ delete?: never;
137
+ options?: never;
138
+ head?: never;
139
+ patch?: never;
140
+ trace?: never;
141
+ };
142
+ }
143
+ export type webhooks = Record<string, never>;
144
+ export interface components {
145
+ schemas: {
146
+ /** ArtifactContext */
147
+ ArtifactContext: {
148
+ /** Id */
149
+ id: string;
150
+ /**
151
+ * Kind
152
+ * @enum {string}
153
+ */
154
+ kind: "video" | "slides" | "other";
155
+ /** Revision */
156
+ revision: string;
157
+ /**
158
+ * Selection
159
+ * @default
160
+ */
161
+ selection?: string;
162
+ /**
163
+ * Summary
164
+ * @default
165
+ */
166
+ summary?: string;
167
+ };
168
+ /** CancelOutput */
169
+ CancelOutput: {
170
+ /** Prediction Units */
171
+ prediction_units: number;
172
+ /**
173
+ * Status
174
+ * @enum {string}
175
+ */
176
+ status: "cancelled" | "suggested" | "abstained" | "failed";
177
+ };
178
+ /** ConnectionExchange */
179
+ ConnectionExchange: {
180
+ /** Code */
181
+ code: string;
182
+ /** Code Verifier */
183
+ code_verifier: string;
184
+ /** Redirect Uri */
185
+ redirect_uri: string;
186
+ /** Request Id */
187
+ request_id: string;
188
+ /** User Id */
189
+ user_id: string;
190
+ };
191
+ /** ConnectionExchangeOutput */
192
+ ConnectionExchangeOutput: {
193
+ /** Connection Id */
194
+ connection_id: string;
195
+ /** Grant Revision */
196
+ grant_revision: number;
197
+ /** Profile Revision */
198
+ profile_revision: string;
199
+ /**
200
+ * Status
201
+ * @constant
202
+ */
203
+ status: "connected";
204
+ };
205
+ /** ConnectionStart */
206
+ ConnectionStart: {
207
+ /** Code Challenge */
208
+ code_challenge: string;
209
+ /** Redirect Uri */
210
+ redirect_uri: string;
211
+ /** State */
212
+ state: string;
213
+ /** User Id */
214
+ user_id: string;
215
+ };
216
+ /** ConnectionStartOutput */
217
+ ConnectionStartOutput: {
218
+ /** Authorize Url */
219
+ authorize_url: string;
220
+ /** Expires At */
221
+ expires_at: number;
222
+ /** Request Id */
223
+ request_id: string;
224
+ };
225
+ /** Draft */
226
+ Draft: {
227
+ /** Revision */
228
+ revision: number;
229
+ /** Text */
230
+ text: string;
231
+ };
232
+ /** ErrorDetail */
233
+ ErrorDetail: {
234
+ /** Code */
235
+ code: string;
236
+ };
237
+ /** ErrorOutput */
238
+ ErrorOutput: {
239
+ detail: components["schemas"]["ErrorDetail"];
240
+ };
241
+ /** EventInput */
242
+ EventInput: {
243
+ /**
244
+ * Content Opt In
245
+ * @default false
246
+ */
247
+ content_opt_in?: boolean;
248
+ /** Event Id */
249
+ event_id: string;
250
+ /**
251
+ * Final Text
252
+ * @default
253
+ */
254
+ final_text?: string;
255
+ /**
256
+ * Guidance
257
+ * @default
258
+ */
259
+ guidance?: string;
260
+ /**
261
+ * Kind
262
+ * @enum {string}
263
+ */
264
+ kind: "presented" | "accepted" | "edited" | "dismissed" | "submitted" | "rejected" | "feedback" | "outcome";
265
+ /** Outcome */
266
+ outcome?: ("succeeded" | "failed") | null;
267
+ /** Rating */
268
+ rating?: ("positive" | "negative") | null;
269
+ /** Reason */
270
+ reason?: ("too_long" | "too_short" | "wrong_intent" | "wrong_language" | "incorrect" | "other") | null;
271
+ /** Request Id */
272
+ request_id: string;
273
+ /** Submission Origin */
274
+ submission_origin?: ("accepted_prediction" | "edited_prediction" | "agent") | null;
275
+ /** User Id */
276
+ user_id: string;
277
+ };
278
+ /** EventOutput */
279
+ EventOutput: {
280
+ /**
281
+ * Status
282
+ * @constant
283
+ */
284
+ status: "recorded";
285
+ };
286
+ /** FeedbackClearOutput */
287
+ FeedbackClearOutput: {
288
+ /** Deleted */
289
+ deleted: number;
290
+ /**
291
+ * Status
292
+ * @constant
293
+ */
294
+ status: "cleared";
295
+ };
296
+ /** HTTPValidationError */
297
+ HTTPValidationError: {
298
+ /** Detail */
299
+ detail?: components["schemas"]["ValidationError"][];
300
+ };
301
+ /** Message */
302
+ Message: {
303
+ /** Content */
304
+ content: string;
305
+ /**
306
+ * Origin
307
+ * @default unknown
308
+ * @enum {string}
309
+ */
310
+ origin?: "human" | "agent" | "accepted_prediction" | "edited_prediction" | "unknown";
311
+ /**
312
+ * Role
313
+ * @enum {string}
314
+ */
315
+ role: "user" | "assistant" | "tool";
316
+ };
317
+ /** PredictionInput */
318
+ PredictionInput: {
319
+ artifact?: components["schemas"]["ArtifactContext"] | null;
320
+ /** Connection Id */
321
+ connection_id?: string | null;
322
+ /** Context Revision */
323
+ context_revision: string;
324
+ draft: components["schemas"]["Draft"];
325
+ /**
326
+ * Feedback Enabled
327
+ * @default true
328
+ */
329
+ feedback_enabled?: boolean;
330
+ /**
331
+ * Language
332
+ * @default auto
333
+ */
334
+ language?: string;
335
+ /** Messages */
336
+ messages?: components["schemas"]["Message"][];
337
+ /**
338
+ * Mode
339
+ * @enum {string}
340
+ */
341
+ mode: "complete_draft" | "next_prompt";
342
+ /** Request Id */
343
+ request_id: string;
344
+ /** Session Id */
345
+ session_id: string;
346
+ /** User Id */
347
+ user_id: string;
348
+ /**
349
+ * User Preferences
350
+ * @default
351
+ */
352
+ user_preferences?: string;
353
+ };
354
+ /** PredictionOutput */
355
+ PredictionOutput: {
356
+ /** Completion */
357
+ completion: string;
358
+ /** Connection Id */
359
+ connection_id: string | null;
360
+ /** Context Revision */
361
+ context_revision: string;
362
+ /** Context Truncated */
363
+ context_truncated: boolean;
364
+ /** Draft Revision */
365
+ draft_revision: number;
366
+ /** Expires At */
367
+ expires_at: number;
368
+ /**
369
+ * Feedback Revision
370
+ * @default
371
+ */
372
+ feedback_revision?: string;
373
+ /** Grant Revision */
374
+ grant_revision: number;
375
+ /** Prediction Id */
376
+ prediction_id: string;
377
+ /** Profile Revision */
378
+ profile_revision: string;
379
+ /** Request Id */
380
+ request_id: string;
381
+ /** Session Id */
382
+ session_id: string;
383
+ /**
384
+ * Status
385
+ * @enum {string}
386
+ */
387
+ status: "suggested" | "abstained";
388
+ usage: components["schemas"]["PredictionUsage"];
389
+ };
390
+ /** PredictionUsage */
391
+ PredictionUsage: {
392
+ /** Prediction Units */
393
+ prediction_units: number;
394
+ };
395
+ /** RevokeOutput */
396
+ RevokeOutput: {
397
+ /**
398
+ * Status
399
+ * @constant
400
+ */
401
+ status: "revoked";
402
+ };
403
+ /** SubjectRequest */
404
+ SubjectRequest: {
405
+ /** User Id */
406
+ user_id: string;
407
+ };
408
+ /** UsageOutput */
409
+ UsageOutput: {
410
+ /** App Id */
411
+ app_id: string;
412
+ /**
413
+ * Billing Model
414
+ * @default manual
415
+ */
416
+ billing_model?: string;
417
+ /**
418
+ * Cap Scope
419
+ * @default app
420
+ */
421
+ cap_scope?: string;
422
+ /**
423
+ * Currency
424
+ * @constant
425
+ */
426
+ currency: "USD";
427
+ /** Invoice Cents */
428
+ invoice_cents: number;
429
+ /** Month */
430
+ month: string;
431
+ /**
432
+ * Monthly Cap Cents
433
+ * @description Null means no spending hard limit.
434
+ */
435
+ monthly_cap_cents: number | null;
436
+ /** Paid Prediction Units */
437
+ paid_prediction_units: number;
438
+ /**
439
+ * Plan
440
+ * @enum {string}
441
+ */
442
+ plan: "sandbox" | "paid";
443
+ /** Prediction Units */
444
+ prediction_units: number;
445
+ /** Reserved Units */
446
+ reserved_units: number;
447
+ /** Sandbox Remaining */
448
+ sandbox_remaining: number;
449
+ };
450
+ /** ValidationError */
451
+ ValidationError: {
452
+ /** Context */
453
+ ctx?: Record<string, never>;
454
+ /** Input */
455
+ input?: unknown;
456
+ /** Location */
457
+ loc: (string | number)[];
458
+ /** Message */
459
+ msg: string;
460
+ /** Error Type */
461
+ type: string;
462
+ };
463
+ };
464
+ responses: never;
465
+ parameters: never;
466
+ requestBodies: never;
467
+ headers: never;
468
+ pathItems: never;
469
+ }
470
+ export type $defs = Record<string, never>;
471
+ export interface operations {
472
+ start_v1_connections_post: {
473
+ parameters: {
474
+ query?: never;
475
+ header?: never;
476
+ path?: never;
477
+ cookie?: never;
478
+ };
479
+ requestBody: {
480
+ content: {
481
+ "application/json": components["schemas"]["ConnectionStart"];
482
+ };
483
+ };
484
+ responses: {
485
+ /** @description Successful Response */
486
+ 200: {
487
+ headers: {
488
+ [name: string]: unknown;
489
+ };
490
+ content: {
491
+ "application/json": components["schemas"]["ConnectionStartOutput"];
492
+ };
493
+ };
494
+ /** @description Invalid connection or request */
495
+ 400: {
496
+ headers: {
497
+ [name: string]: unknown;
498
+ };
499
+ content: {
500
+ "application/json": components["schemas"]["ErrorOutput"];
501
+ };
502
+ };
503
+ /** @description Invalid, rotated, revoked or inactive app key */
504
+ 401: {
505
+ headers: {
506
+ [name: string]: unknown;
507
+ };
508
+ content: {
509
+ "application/json": components["schemas"]["ErrorOutput"];
510
+ };
511
+ };
512
+ /** @description Sandbox exhausted or monthly spending cap reached */
513
+ 402: {
514
+ headers: {
515
+ [name: string]: unknown;
516
+ };
517
+ content: {
518
+ "application/json": components["schemas"]["ErrorOutput"];
519
+ };
520
+ };
521
+ /** @description Connection revoked or access denied */
522
+ 403: {
523
+ headers: {
524
+ [name: string]: unknown;
525
+ };
526
+ content: {
527
+ "application/json": components["schemas"]["ErrorOutput"];
528
+ };
529
+ };
530
+ /** @description Resource unavailable or feature disabled */
531
+ 404: {
532
+ headers: {
533
+ [name: string]: unknown;
534
+ };
535
+ content: {
536
+ "application/json": components["schemas"]["ErrorOutput"];
537
+ };
538
+ };
539
+ /** @description Idempotency, in-flight request or context revision conflict */
540
+ 409: {
541
+ headers: {
542
+ [name: string]: unknown;
543
+ };
544
+ content: {
545
+ "application/json": components["schemas"]["ErrorOutput"];
546
+ };
547
+ };
548
+ /** @description Connection attempt or prediction recovery window expired */
549
+ 410: {
550
+ headers: {
551
+ [name: string]: unknown;
552
+ };
553
+ content: {
554
+ "application/json": components["schemas"]["ErrorOutput"];
555
+ };
556
+ };
557
+ /** @description Context exceeds the supported envelope */
558
+ 413: {
559
+ headers: {
560
+ [name: string]: unknown;
561
+ };
562
+ content: {
563
+ "application/json": components["schemas"]["ErrorOutput"];
564
+ };
565
+ };
566
+ /** @description Validation Error */
567
+ 422: {
568
+ headers: {
569
+ [name: string]: unknown;
570
+ };
571
+ content: {
572
+ "application/json": components["schemas"]["HTTPValidationError"];
573
+ };
574
+ };
575
+ /** @description Rate limit exceeded */
576
+ 429: {
577
+ headers: {
578
+ [name: string]: unknown;
579
+ };
580
+ content: {
581
+ "application/json": components["schemas"]["ErrorOutput"];
582
+ };
583
+ };
584
+ /** @description Prediction request cancelled */
585
+ 499: {
586
+ headers: {
587
+ [name: string]: unknown;
588
+ };
589
+ content: {
590
+ "application/json": components["schemas"]["ErrorOutput"];
591
+ };
592
+ };
593
+ /** @description Prediction provider failed */
594
+ 502: {
595
+ headers: {
596
+ [name: string]: unknown;
597
+ };
598
+ content: {
599
+ "application/json": components["schemas"]["ErrorOutput"];
600
+ };
601
+ };
602
+ /** @description Prediction service unavailable */
603
+ 503: {
604
+ headers: {
605
+ [name: string]: unknown;
606
+ };
607
+ content: {
608
+ "application/json": components["schemas"]["ErrorOutput"];
609
+ };
610
+ };
611
+ /** @description Prediction provider timed out */
612
+ 504: {
613
+ headers: {
614
+ [name: string]: unknown;
615
+ };
616
+ content: {
617
+ "application/json": components["schemas"]["ErrorOutput"];
618
+ };
619
+ };
620
+ };
621
+ };
622
+ exchange_v1_connections_exchange_post: {
623
+ parameters: {
624
+ query?: never;
625
+ header?: never;
626
+ path?: never;
627
+ cookie?: never;
628
+ };
629
+ requestBody: {
630
+ content: {
631
+ "application/json": components["schemas"]["ConnectionExchange"];
632
+ };
633
+ };
634
+ responses: {
635
+ /** @description Successful Response */
636
+ 200: {
637
+ headers: {
638
+ [name: string]: unknown;
639
+ };
640
+ content: {
641
+ "application/json": components["schemas"]["ConnectionExchangeOutput"];
642
+ };
643
+ };
644
+ /** @description Invalid connection or request */
645
+ 400: {
646
+ headers: {
647
+ [name: string]: unknown;
648
+ };
649
+ content: {
650
+ "application/json": components["schemas"]["ErrorOutput"];
651
+ };
652
+ };
653
+ /** @description Invalid, rotated, revoked or inactive app key */
654
+ 401: {
655
+ headers: {
656
+ [name: string]: unknown;
657
+ };
658
+ content: {
659
+ "application/json": components["schemas"]["ErrorOutput"];
660
+ };
661
+ };
662
+ /** @description Sandbox exhausted or monthly spending cap reached */
663
+ 402: {
664
+ headers: {
665
+ [name: string]: unknown;
666
+ };
667
+ content: {
668
+ "application/json": components["schemas"]["ErrorOutput"];
669
+ };
670
+ };
671
+ /** @description Connection revoked or access denied */
672
+ 403: {
673
+ headers: {
674
+ [name: string]: unknown;
675
+ };
676
+ content: {
677
+ "application/json": components["schemas"]["ErrorOutput"];
678
+ };
679
+ };
680
+ /** @description Resource unavailable or feature disabled */
681
+ 404: {
682
+ headers: {
683
+ [name: string]: unknown;
684
+ };
685
+ content: {
686
+ "application/json": components["schemas"]["ErrorOutput"];
687
+ };
688
+ };
689
+ /** @description Idempotency, in-flight request or context revision conflict */
690
+ 409: {
691
+ headers: {
692
+ [name: string]: unknown;
693
+ };
694
+ content: {
695
+ "application/json": components["schemas"]["ErrorOutput"];
696
+ };
697
+ };
698
+ /** @description Connection attempt or prediction recovery window expired */
699
+ 410: {
700
+ headers: {
701
+ [name: string]: unknown;
702
+ };
703
+ content: {
704
+ "application/json": components["schemas"]["ErrorOutput"];
705
+ };
706
+ };
707
+ /** @description Context exceeds the supported envelope */
708
+ 413: {
709
+ headers: {
710
+ [name: string]: unknown;
711
+ };
712
+ content: {
713
+ "application/json": components["schemas"]["ErrorOutput"];
714
+ };
715
+ };
716
+ /** @description Validation Error */
717
+ 422: {
718
+ headers: {
719
+ [name: string]: unknown;
720
+ };
721
+ content: {
722
+ "application/json": components["schemas"]["HTTPValidationError"];
723
+ };
724
+ };
725
+ /** @description Rate limit exceeded */
726
+ 429: {
727
+ headers: {
728
+ [name: string]: unknown;
729
+ };
730
+ content: {
731
+ "application/json": components["schemas"]["ErrorOutput"];
732
+ };
733
+ };
734
+ /** @description Prediction request cancelled */
735
+ 499: {
736
+ headers: {
737
+ [name: string]: unknown;
738
+ };
739
+ content: {
740
+ "application/json": components["schemas"]["ErrorOutput"];
741
+ };
742
+ };
743
+ /** @description Prediction provider failed */
744
+ 502: {
745
+ headers: {
746
+ [name: string]: unknown;
747
+ };
748
+ content: {
749
+ "application/json": components["schemas"]["ErrorOutput"];
750
+ };
751
+ };
752
+ /** @description Prediction service unavailable */
753
+ 503: {
754
+ headers: {
755
+ [name: string]: unknown;
756
+ };
757
+ content: {
758
+ "application/json": components["schemas"]["ErrorOutput"];
759
+ };
760
+ };
761
+ /** @description Prediction provider timed out */
762
+ 504: {
763
+ headers: {
764
+ [name: string]: unknown;
765
+ };
766
+ content: {
767
+ "application/json": components["schemas"]["ErrorOutput"];
768
+ };
769
+ };
770
+ };
771
+ };
772
+ revoke_v1_connections__connection_id__revoke_post: {
773
+ parameters: {
774
+ query?: never;
775
+ header?: never;
776
+ path: {
777
+ connection_id: string;
778
+ };
779
+ cookie?: never;
780
+ };
781
+ requestBody: {
782
+ content: {
783
+ "application/json": components["schemas"]["SubjectRequest"];
784
+ };
785
+ };
786
+ responses: {
787
+ /** @description Successful Response */
788
+ 200: {
789
+ headers: {
790
+ [name: string]: unknown;
791
+ };
792
+ content: {
793
+ "application/json": components["schemas"]["RevokeOutput"];
794
+ };
795
+ };
796
+ /** @description Invalid connection or request */
797
+ 400: {
798
+ headers: {
799
+ [name: string]: unknown;
800
+ };
801
+ content: {
802
+ "application/json": components["schemas"]["ErrorOutput"];
803
+ };
804
+ };
805
+ /** @description Invalid, rotated, revoked or inactive app key */
806
+ 401: {
807
+ headers: {
808
+ [name: string]: unknown;
809
+ };
810
+ content: {
811
+ "application/json": components["schemas"]["ErrorOutput"];
812
+ };
813
+ };
814
+ /** @description Sandbox exhausted or monthly spending cap reached */
815
+ 402: {
816
+ headers: {
817
+ [name: string]: unknown;
818
+ };
819
+ content: {
820
+ "application/json": components["schemas"]["ErrorOutput"];
821
+ };
822
+ };
823
+ /** @description Connection revoked or access denied */
824
+ 403: {
825
+ headers: {
826
+ [name: string]: unknown;
827
+ };
828
+ content: {
829
+ "application/json": components["schemas"]["ErrorOutput"];
830
+ };
831
+ };
832
+ /** @description Resource unavailable or feature disabled */
833
+ 404: {
834
+ headers: {
835
+ [name: string]: unknown;
836
+ };
837
+ content: {
838
+ "application/json": components["schemas"]["ErrorOutput"];
839
+ };
840
+ };
841
+ /** @description Idempotency, in-flight request or context revision conflict */
842
+ 409: {
843
+ headers: {
844
+ [name: string]: unknown;
845
+ };
846
+ content: {
847
+ "application/json": components["schemas"]["ErrorOutput"];
848
+ };
849
+ };
850
+ /** @description Connection attempt or prediction recovery window expired */
851
+ 410: {
852
+ headers: {
853
+ [name: string]: unknown;
854
+ };
855
+ content: {
856
+ "application/json": components["schemas"]["ErrorOutput"];
857
+ };
858
+ };
859
+ /** @description Context exceeds the supported envelope */
860
+ 413: {
861
+ headers: {
862
+ [name: string]: unknown;
863
+ };
864
+ content: {
865
+ "application/json": components["schemas"]["ErrorOutput"];
866
+ };
867
+ };
868
+ /** @description Validation Error */
869
+ 422: {
870
+ headers: {
871
+ [name: string]: unknown;
872
+ };
873
+ content: {
874
+ "application/json": components["schemas"]["HTTPValidationError"];
875
+ };
876
+ };
877
+ /** @description Rate limit exceeded */
878
+ 429: {
879
+ headers: {
880
+ [name: string]: unknown;
881
+ };
882
+ content: {
883
+ "application/json": components["schemas"]["ErrorOutput"];
884
+ };
885
+ };
886
+ /** @description Prediction request cancelled */
887
+ 499: {
888
+ headers: {
889
+ [name: string]: unknown;
890
+ };
891
+ content: {
892
+ "application/json": components["schemas"]["ErrorOutput"];
893
+ };
894
+ };
895
+ /** @description Prediction provider failed */
896
+ 502: {
897
+ headers: {
898
+ [name: string]: unknown;
899
+ };
900
+ content: {
901
+ "application/json": components["schemas"]["ErrorOutput"];
902
+ };
903
+ };
904
+ /** @description Prediction service unavailable */
905
+ 503: {
906
+ headers: {
907
+ [name: string]: unknown;
908
+ };
909
+ content: {
910
+ "application/json": components["schemas"]["ErrorOutput"];
911
+ };
912
+ };
913
+ /** @description Prediction provider timed out */
914
+ 504: {
915
+ headers: {
916
+ [name: string]: unknown;
917
+ };
918
+ content: {
919
+ "application/json": components["schemas"]["ErrorOutput"];
920
+ };
921
+ };
922
+ };
923
+ };
924
+ event_v1_prediction_events_post: {
925
+ parameters: {
926
+ query?: never;
927
+ header?: never;
928
+ path?: never;
929
+ cookie?: never;
930
+ };
931
+ requestBody: {
932
+ content: {
933
+ "application/json": components["schemas"]["EventInput"];
934
+ };
935
+ };
936
+ responses: {
937
+ /** @description Successful Response */
938
+ 200: {
939
+ headers: {
940
+ [name: string]: unknown;
941
+ };
942
+ content: {
943
+ "application/json": components["schemas"]["EventOutput"];
944
+ };
945
+ };
946
+ /** @description Invalid connection or request */
947
+ 400: {
948
+ headers: {
949
+ [name: string]: unknown;
950
+ };
951
+ content: {
952
+ "application/json": components["schemas"]["ErrorOutput"];
953
+ };
954
+ };
955
+ /** @description Invalid, rotated, revoked or inactive app key */
956
+ 401: {
957
+ headers: {
958
+ [name: string]: unknown;
959
+ };
960
+ content: {
961
+ "application/json": components["schemas"]["ErrorOutput"];
962
+ };
963
+ };
964
+ /** @description Sandbox exhausted or monthly spending cap reached */
965
+ 402: {
966
+ headers: {
967
+ [name: string]: unknown;
968
+ };
969
+ content: {
970
+ "application/json": components["schemas"]["ErrorOutput"];
971
+ };
972
+ };
973
+ /** @description Connection revoked or access denied */
974
+ 403: {
975
+ headers: {
976
+ [name: string]: unknown;
977
+ };
978
+ content: {
979
+ "application/json": components["schemas"]["ErrorOutput"];
980
+ };
981
+ };
982
+ /** @description Resource unavailable or feature disabled */
983
+ 404: {
984
+ headers: {
985
+ [name: string]: unknown;
986
+ };
987
+ content: {
988
+ "application/json": components["schemas"]["ErrorOutput"];
989
+ };
990
+ };
991
+ /** @description Idempotency, in-flight request or context revision conflict */
992
+ 409: {
993
+ headers: {
994
+ [name: string]: unknown;
995
+ };
996
+ content: {
997
+ "application/json": components["schemas"]["ErrorOutput"];
998
+ };
999
+ };
1000
+ /** @description Connection attempt or prediction recovery window expired */
1001
+ 410: {
1002
+ headers: {
1003
+ [name: string]: unknown;
1004
+ };
1005
+ content: {
1006
+ "application/json": components["schemas"]["ErrorOutput"];
1007
+ };
1008
+ };
1009
+ /** @description Context exceeds the supported envelope */
1010
+ 413: {
1011
+ headers: {
1012
+ [name: string]: unknown;
1013
+ };
1014
+ content: {
1015
+ "application/json": components["schemas"]["ErrorOutput"];
1016
+ };
1017
+ };
1018
+ /** @description Validation Error */
1019
+ 422: {
1020
+ headers: {
1021
+ [name: string]: unknown;
1022
+ };
1023
+ content: {
1024
+ "application/json": components["schemas"]["HTTPValidationError"];
1025
+ };
1026
+ };
1027
+ /** @description Rate limit exceeded */
1028
+ 429: {
1029
+ headers: {
1030
+ [name: string]: unknown;
1031
+ };
1032
+ content: {
1033
+ "application/json": components["schemas"]["ErrorOutput"];
1034
+ };
1035
+ };
1036
+ /** @description Prediction request cancelled */
1037
+ 499: {
1038
+ headers: {
1039
+ [name: string]: unknown;
1040
+ };
1041
+ content: {
1042
+ "application/json": components["schemas"]["ErrorOutput"];
1043
+ };
1044
+ };
1045
+ /** @description Prediction provider failed */
1046
+ 502: {
1047
+ headers: {
1048
+ [name: string]: unknown;
1049
+ };
1050
+ content: {
1051
+ "application/json": components["schemas"]["ErrorOutput"];
1052
+ };
1053
+ };
1054
+ /** @description Prediction service unavailable */
1055
+ 503: {
1056
+ headers: {
1057
+ [name: string]: unknown;
1058
+ };
1059
+ content: {
1060
+ "application/json": components["schemas"]["ErrorOutput"];
1061
+ };
1062
+ };
1063
+ /** @description Prediction provider timed out */
1064
+ 504: {
1065
+ headers: {
1066
+ [name: string]: unknown;
1067
+ };
1068
+ content: {
1069
+ "application/json": components["schemas"]["ErrorOutput"];
1070
+ };
1071
+ };
1072
+ };
1073
+ };
1074
+ clear_feedback_v1_prediction_feedback_clear_post: {
1075
+ parameters: {
1076
+ query?: never;
1077
+ header?: never;
1078
+ path?: never;
1079
+ cookie?: never;
1080
+ };
1081
+ requestBody: {
1082
+ content: {
1083
+ "application/json": components["schemas"]["SubjectRequest"];
1084
+ };
1085
+ };
1086
+ responses: {
1087
+ /** @description Successful Response */
1088
+ 200: {
1089
+ headers: {
1090
+ [name: string]: unknown;
1091
+ };
1092
+ content: {
1093
+ "application/json": components["schemas"]["FeedbackClearOutput"];
1094
+ };
1095
+ };
1096
+ /** @description Invalid connection or request */
1097
+ 400: {
1098
+ headers: {
1099
+ [name: string]: unknown;
1100
+ };
1101
+ content: {
1102
+ "application/json": components["schemas"]["ErrorOutput"];
1103
+ };
1104
+ };
1105
+ /** @description Invalid, rotated, revoked or inactive app key */
1106
+ 401: {
1107
+ headers: {
1108
+ [name: string]: unknown;
1109
+ };
1110
+ content: {
1111
+ "application/json": components["schemas"]["ErrorOutput"];
1112
+ };
1113
+ };
1114
+ /** @description Sandbox exhausted or monthly spending cap reached */
1115
+ 402: {
1116
+ headers: {
1117
+ [name: string]: unknown;
1118
+ };
1119
+ content: {
1120
+ "application/json": components["schemas"]["ErrorOutput"];
1121
+ };
1122
+ };
1123
+ /** @description Connection revoked or access denied */
1124
+ 403: {
1125
+ headers: {
1126
+ [name: string]: unknown;
1127
+ };
1128
+ content: {
1129
+ "application/json": components["schemas"]["ErrorOutput"];
1130
+ };
1131
+ };
1132
+ /** @description Resource unavailable or feature disabled */
1133
+ 404: {
1134
+ headers: {
1135
+ [name: string]: unknown;
1136
+ };
1137
+ content: {
1138
+ "application/json": components["schemas"]["ErrorOutput"];
1139
+ };
1140
+ };
1141
+ /** @description Idempotency, in-flight request or context revision conflict */
1142
+ 409: {
1143
+ headers: {
1144
+ [name: string]: unknown;
1145
+ };
1146
+ content: {
1147
+ "application/json": components["schemas"]["ErrorOutput"];
1148
+ };
1149
+ };
1150
+ /** @description Connection attempt or prediction recovery window expired */
1151
+ 410: {
1152
+ headers: {
1153
+ [name: string]: unknown;
1154
+ };
1155
+ content: {
1156
+ "application/json": components["schemas"]["ErrorOutput"];
1157
+ };
1158
+ };
1159
+ /** @description Context exceeds the supported envelope */
1160
+ 413: {
1161
+ headers: {
1162
+ [name: string]: unknown;
1163
+ };
1164
+ content: {
1165
+ "application/json": components["schemas"]["ErrorOutput"];
1166
+ };
1167
+ };
1168
+ /** @description Validation Error */
1169
+ 422: {
1170
+ headers: {
1171
+ [name: string]: unknown;
1172
+ };
1173
+ content: {
1174
+ "application/json": components["schemas"]["HTTPValidationError"];
1175
+ };
1176
+ };
1177
+ /** @description Rate limit exceeded */
1178
+ 429: {
1179
+ headers: {
1180
+ [name: string]: unknown;
1181
+ };
1182
+ content: {
1183
+ "application/json": components["schemas"]["ErrorOutput"];
1184
+ };
1185
+ };
1186
+ /** @description Prediction request cancelled */
1187
+ 499: {
1188
+ headers: {
1189
+ [name: string]: unknown;
1190
+ };
1191
+ content: {
1192
+ "application/json": components["schemas"]["ErrorOutput"];
1193
+ };
1194
+ };
1195
+ /** @description Prediction provider failed */
1196
+ 502: {
1197
+ headers: {
1198
+ [name: string]: unknown;
1199
+ };
1200
+ content: {
1201
+ "application/json": components["schemas"]["ErrorOutput"];
1202
+ };
1203
+ };
1204
+ /** @description Prediction service unavailable */
1205
+ 503: {
1206
+ headers: {
1207
+ [name: string]: unknown;
1208
+ };
1209
+ content: {
1210
+ "application/json": components["schemas"]["ErrorOutput"];
1211
+ };
1212
+ };
1213
+ /** @description Prediction provider timed out */
1214
+ 504: {
1215
+ headers: {
1216
+ [name: string]: unknown;
1217
+ };
1218
+ content: {
1219
+ "application/json": components["schemas"]["ErrorOutput"];
1220
+ };
1221
+ };
1222
+ };
1223
+ };
1224
+ predictions_v1_predictions_post: {
1225
+ parameters: {
1226
+ query?: never;
1227
+ header?: never;
1228
+ path?: never;
1229
+ cookie?: never;
1230
+ };
1231
+ requestBody: {
1232
+ content: {
1233
+ "application/json": components["schemas"]["PredictionInput"];
1234
+ };
1235
+ };
1236
+ responses: {
1237
+ /** @description Successful Response */
1238
+ 200: {
1239
+ headers: {
1240
+ [name: string]: unknown;
1241
+ };
1242
+ content: {
1243
+ "application/json": components["schemas"]["PredictionOutput"];
1244
+ };
1245
+ };
1246
+ /** @description Invalid connection or request */
1247
+ 400: {
1248
+ headers: {
1249
+ [name: string]: unknown;
1250
+ };
1251
+ content: {
1252
+ "application/json": components["schemas"]["ErrorOutput"];
1253
+ };
1254
+ };
1255
+ /** @description Invalid, rotated, revoked or inactive app key */
1256
+ 401: {
1257
+ headers: {
1258
+ [name: string]: unknown;
1259
+ };
1260
+ content: {
1261
+ "application/json": components["schemas"]["ErrorOutput"];
1262
+ };
1263
+ };
1264
+ /** @description Sandbox exhausted or monthly spending cap reached */
1265
+ 402: {
1266
+ headers: {
1267
+ [name: string]: unknown;
1268
+ };
1269
+ content: {
1270
+ "application/json": components["schemas"]["ErrorOutput"];
1271
+ };
1272
+ };
1273
+ /** @description Connection revoked or access denied */
1274
+ 403: {
1275
+ headers: {
1276
+ [name: string]: unknown;
1277
+ };
1278
+ content: {
1279
+ "application/json": components["schemas"]["ErrorOutput"];
1280
+ };
1281
+ };
1282
+ /** @description Resource unavailable or feature disabled */
1283
+ 404: {
1284
+ headers: {
1285
+ [name: string]: unknown;
1286
+ };
1287
+ content: {
1288
+ "application/json": components["schemas"]["ErrorOutput"];
1289
+ };
1290
+ };
1291
+ /** @description Idempotency, in-flight request or context revision conflict */
1292
+ 409: {
1293
+ headers: {
1294
+ [name: string]: unknown;
1295
+ };
1296
+ content: {
1297
+ "application/json": components["schemas"]["ErrorOutput"];
1298
+ };
1299
+ };
1300
+ /** @description Connection attempt or prediction recovery window expired */
1301
+ 410: {
1302
+ headers: {
1303
+ [name: string]: unknown;
1304
+ };
1305
+ content: {
1306
+ "application/json": components["schemas"]["ErrorOutput"];
1307
+ };
1308
+ };
1309
+ /** @description Context exceeds the supported envelope */
1310
+ 413: {
1311
+ headers: {
1312
+ [name: string]: unknown;
1313
+ };
1314
+ content: {
1315
+ "application/json": components["schemas"]["ErrorOutput"];
1316
+ };
1317
+ };
1318
+ /** @description Validation Error */
1319
+ 422: {
1320
+ headers: {
1321
+ [name: string]: unknown;
1322
+ };
1323
+ content: {
1324
+ "application/json": components["schemas"]["HTTPValidationError"];
1325
+ };
1326
+ };
1327
+ /** @description Rate limit exceeded */
1328
+ 429: {
1329
+ headers: {
1330
+ [name: string]: unknown;
1331
+ };
1332
+ content: {
1333
+ "application/json": components["schemas"]["ErrorOutput"];
1334
+ };
1335
+ };
1336
+ /** @description Prediction request cancelled */
1337
+ 499: {
1338
+ headers: {
1339
+ [name: string]: unknown;
1340
+ };
1341
+ content: {
1342
+ "application/json": components["schemas"]["ErrorOutput"];
1343
+ };
1344
+ };
1345
+ /** @description Prediction provider failed */
1346
+ 502: {
1347
+ headers: {
1348
+ [name: string]: unknown;
1349
+ };
1350
+ content: {
1351
+ "application/json": components["schemas"]["ErrorOutput"];
1352
+ };
1353
+ };
1354
+ /** @description Prediction service unavailable */
1355
+ 503: {
1356
+ headers: {
1357
+ [name: string]: unknown;
1358
+ };
1359
+ content: {
1360
+ "application/json": components["schemas"]["ErrorOutput"];
1361
+ };
1362
+ };
1363
+ /** @description Prediction provider timed out */
1364
+ 504: {
1365
+ headers: {
1366
+ [name: string]: unknown;
1367
+ };
1368
+ content: {
1369
+ "application/json": components["schemas"]["ErrorOutput"];
1370
+ };
1371
+ };
1372
+ };
1373
+ };
1374
+ cancel_v1_predictions__request_id__cancel_post: {
1375
+ parameters: {
1376
+ query?: never;
1377
+ header?: never;
1378
+ path: {
1379
+ request_id: string;
1380
+ };
1381
+ cookie?: never;
1382
+ };
1383
+ requestBody: {
1384
+ content: {
1385
+ "application/json": components["schemas"]["SubjectRequest"];
1386
+ };
1387
+ };
1388
+ responses: {
1389
+ /** @description Successful Response */
1390
+ 200: {
1391
+ headers: {
1392
+ [name: string]: unknown;
1393
+ };
1394
+ content: {
1395
+ "application/json": components["schemas"]["CancelOutput"];
1396
+ };
1397
+ };
1398
+ /** @description Invalid connection or request */
1399
+ 400: {
1400
+ headers: {
1401
+ [name: string]: unknown;
1402
+ };
1403
+ content: {
1404
+ "application/json": components["schemas"]["ErrorOutput"];
1405
+ };
1406
+ };
1407
+ /** @description Invalid, rotated, revoked or inactive app key */
1408
+ 401: {
1409
+ headers: {
1410
+ [name: string]: unknown;
1411
+ };
1412
+ content: {
1413
+ "application/json": components["schemas"]["ErrorOutput"];
1414
+ };
1415
+ };
1416
+ /** @description Sandbox exhausted or monthly spending cap reached */
1417
+ 402: {
1418
+ headers: {
1419
+ [name: string]: unknown;
1420
+ };
1421
+ content: {
1422
+ "application/json": components["schemas"]["ErrorOutput"];
1423
+ };
1424
+ };
1425
+ /** @description Connection revoked or access denied */
1426
+ 403: {
1427
+ headers: {
1428
+ [name: string]: unknown;
1429
+ };
1430
+ content: {
1431
+ "application/json": components["schemas"]["ErrorOutput"];
1432
+ };
1433
+ };
1434
+ /** @description Resource unavailable or feature disabled */
1435
+ 404: {
1436
+ headers: {
1437
+ [name: string]: unknown;
1438
+ };
1439
+ content: {
1440
+ "application/json": components["schemas"]["ErrorOutput"];
1441
+ };
1442
+ };
1443
+ /** @description Idempotency, in-flight request or context revision conflict */
1444
+ 409: {
1445
+ headers: {
1446
+ [name: string]: unknown;
1447
+ };
1448
+ content: {
1449
+ "application/json": components["schemas"]["ErrorOutput"];
1450
+ };
1451
+ };
1452
+ /** @description Connection attempt or prediction recovery window expired */
1453
+ 410: {
1454
+ headers: {
1455
+ [name: string]: unknown;
1456
+ };
1457
+ content: {
1458
+ "application/json": components["schemas"]["ErrorOutput"];
1459
+ };
1460
+ };
1461
+ /** @description Context exceeds the supported envelope */
1462
+ 413: {
1463
+ headers: {
1464
+ [name: string]: unknown;
1465
+ };
1466
+ content: {
1467
+ "application/json": components["schemas"]["ErrorOutput"];
1468
+ };
1469
+ };
1470
+ /** @description Validation Error */
1471
+ 422: {
1472
+ headers: {
1473
+ [name: string]: unknown;
1474
+ };
1475
+ content: {
1476
+ "application/json": components["schemas"]["HTTPValidationError"];
1477
+ };
1478
+ };
1479
+ /** @description Rate limit exceeded */
1480
+ 429: {
1481
+ headers: {
1482
+ [name: string]: unknown;
1483
+ };
1484
+ content: {
1485
+ "application/json": components["schemas"]["ErrorOutput"];
1486
+ };
1487
+ };
1488
+ /** @description Prediction request cancelled */
1489
+ 499: {
1490
+ headers: {
1491
+ [name: string]: unknown;
1492
+ };
1493
+ content: {
1494
+ "application/json": components["schemas"]["ErrorOutput"];
1495
+ };
1496
+ };
1497
+ /** @description Prediction provider failed */
1498
+ 502: {
1499
+ headers: {
1500
+ [name: string]: unknown;
1501
+ };
1502
+ content: {
1503
+ "application/json": components["schemas"]["ErrorOutput"];
1504
+ };
1505
+ };
1506
+ /** @description Prediction service unavailable */
1507
+ 503: {
1508
+ headers: {
1509
+ [name: string]: unknown;
1510
+ };
1511
+ content: {
1512
+ "application/json": components["schemas"]["ErrorOutput"];
1513
+ };
1514
+ };
1515
+ /** @description Prediction provider timed out */
1516
+ 504: {
1517
+ headers: {
1518
+ [name: string]: unknown;
1519
+ };
1520
+ content: {
1521
+ "application/json": components["schemas"]["ErrorOutput"];
1522
+ };
1523
+ };
1524
+ };
1525
+ };
1526
+ usage_v1_usage_get: {
1527
+ parameters: {
1528
+ query?: never;
1529
+ header?: never;
1530
+ path?: never;
1531
+ cookie?: never;
1532
+ };
1533
+ requestBody?: never;
1534
+ responses: {
1535
+ /** @description Successful Response */
1536
+ 200: {
1537
+ headers: {
1538
+ [name: string]: unknown;
1539
+ };
1540
+ content: {
1541
+ "application/json": components["schemas"]["UsageOutput"];
1542
+ };
1543
+ };
1544
+ /** @description Invalid connection or request */
1545
+ 400: {
1546
+ headers: {
1547
+ [name: string]: unknown;
1548
+ };
1549
+ content: {
1550
+ "application/json": components["schemas"]["ErrorOutput"];
1551
+ };
1552
+ };
1553
+ /** @description Invalid, rotated, revoked or inactive app key */
1554
+ 401: {
1555
+ headers: {
1556
+ [name: string]: unknown;
1557
+ };
1558
+ content: {
1559
+ "application/json": components["schemas"]["ErrorOutput"];
1560
+ };
1561
+ };
1562
+ /** @description Sandbox exhausted or monthly spending cap reached */
1563
+ 402: {
1564
+ headers: {
1565
+ [name: string]: unknown;
1566
+ };
1567
+ content: {
1568
+ "application/json": components["schemas"]["ErrorOutput"];
1569
+ };
1570
+ };
1571
+ /** @description Connection revoked or access denied */
1572
+ 403: {
1573
+ headers: {
1574
+ [name: string]: unknown;
1575
+ };
1576
+ content: {
1577
+ "application/json": components["schemas"]["ErrorOutput"];
1578
+ };
1579
+ };
1580
+ /** @description Resource unavailable or feature disabled */
1581
+ 404: {
1582
+ headers: {
1583
+ [name: string]: unknown;
1584
+ };
1585
+ content: {
1586
+ "application/json": components["schemas"]["ErrorOutput"];
1587
+ };
1588
+ };
1589
+ /** @description Idempotency, in-flight request or context revision conflict */
1590
+ 409: {
1591
+ headers: {
1592
+ [name: string]: unknown;
1593
+ };
1594
+ content: {
1595
+ "application/json": components["schemas"]["ErrorOutput"];
1596
+ };
1597
+ };
1598
+ /** @description Connection attempt or prediction recovery window expired */
1599
+ 410: {
1600
+ headers: {
1601
+ [name: string]: unknown;
1602
+ };
1603
+ content: {
1604
+ "application/json": components["schemas"]["ErrorOutput"];
1605
+ };
1606
+ };
1607
+ /** @description Context exceeds the supported envelope */
1608
+ 413: {
1609
+ headers: {
1610
+ [name: string]: unknown;
1611
+ };
1612
+ content: {
1613
+ "application/json": components["schemas"]["ErrorOutput"];
1614
+ };
1615
+ };
1616
+ /** @description Rate limit exceeded */
1617
+ 429: {
1618
+ headers: {
1619
+ [name: string]: unknown;
1620
+ };
1621
+ content: {
1622
+ "application/json": components["schemas"]["ErrorOutput"];
1623
+ };
1624
+ };
1625
+ /** @description Prediction request cancelled */
1626
+ 499: {
1627
+ headers: {
1628
+ [name: string]: unknown;
1629
+ };
1630
+ content: {
1631
+ "application/json": components["schemas"]["ErrorOutput"];
1632
+ };
1633
+ };
1634
+ /** @description Prediction provider failed */
1635
+ 502: {
1636
+ headers: {
1637
+ [name: string]: unknown;
1638
+ };
1639
+ content: {
1640
+ "application/json": components["schemas"]["ErrorOutput"];
1641
+ };
1642
+ };
1643
+ /** @description Prediction service unavailable */
1644
+ 503: {
1645
+ headers: {
1646
+ [name: string]: unknown;
1647
+ };
1648
+ content: {
1649
+ "application/json": components["schemas"]["ErrorOutput"];
1650
+ };
1651
+ };
1652
+ /** @description Prediction provider timed out */
1653
+ 504: {
1654
+ headers: {
1655
+ [name: string]: unknown;
1656
+ };
1657
+ content: {
1658
+ "application/json": components["schemas"]["ErrorOutput"];
1659
+ };
1660
+ };
1661
+ };
1662
+ };
1663
+ }