@boboddy/sdk 0.0.7-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,915 @@
1
+ import { Elysia } from "elysia";
2
+ import type { AppContext } from "@boboddy/core/lib/di";
3
+ export declare const createStepDefinitionRoutes: (appContext: AppContext) => Elysia<"", {
4
+ decorator: {};
5
+ store: {};
6
+ derive: {};
7
+ resolve: {};
8
+ }, {
9
+ typebox: {};
10
+ error: {};
11
+ }, {
12
+ schema: {};
13
+ standaloneSchema: {};
14
+ macro: {};
15
+ macroFn: {};
16
+ parser: {};
17
+ response: {};
18
+ }, {
19
+ "step-definitions": {
20
+ post: {
21
+ body: {
22
+ projectId: string & {
23
+ readonly __brand: "uuidv7";
24
+ };
25
+ key: string;
26
+ name: string;
27
+ description: string | null;
28
+ prompt: string | null;
29
+ version: number;
30
+ kind: "built_in" | "user_defined";
31
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
32
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
33
+ status: "draft" | "active" | "archived";
34
+ signalExtractorDefinitions: {
35
+ key: string;
36
+ sourcePath: string;
37
+ type: "string" | "number" | "boolean" | "object" | "array";
38
+ required: boolean;
39
+ availableWhenResultStatusIn: string[] | null;
40
+ }[];
41
+ computedSignalDefinitions: {
42
+ key: string;
43
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
44
+ availableWhenResultStatusIn: string[] | null;
45
+ inputSignalKeys: string[];
46
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
47
+ }[];
48
+ opencodeMcpJson?: Record<string, {
49
+ type: "local";
50
+ command: string[];
51
+ environment?: Record<string, string> | undefined;
52
+ enabled?: boolean | undefined;
53
+ timeout?: number | undefined;
54
+ } | {
55
+ type: "remote";
56
+ url: string;
57
+ enabled?: boolean | undefined;
58
+ headers?: Record<string, string> | undefined;
59
+ oauth?: false | {
60
+ clientId?: string | undefined;
61
+ clientSecret?: string | undefined;
62
+ scope?: string | undefined;
63
+ redirectUri?: string | undefined;
64
+ } | undefined;
65
+ timeout?: number | undefined;
66
+ } | {
67
+ enabled: boolean;
68
+ }> | null | undefined;
69
+ };
70
+ params: {};
71
+ query: unknown;
72
+ headers: unknown;
73
+ response: {
74
+ 422: {
75
+ type: string;
76
+ title: string;
77
+ status: number;
78
+ detail?: string | undefined;
79
+ instance?: string | undefined;
80
+ code?: string | undefined;
81
+ errors?: {
82
+ path: string;
83
+ message: string;
84
+ summary?: string | undefined;
85
+ }[] | undefined;
86
+ };
87
+ 404: {
88
+ type: string;
89
+ title: string;
90
+ status: number;
91
+ detail?: string | undefined;
92
+ instance?: string | undefined;
93
+ code?: string | undefined;
94
+ errors?: {
95
+ path: string;
96
+ message: string;
97
+ summary?: string | undefined;
98
+ }[] | undefined;
99
+ };
100
+ 409: {
101
+ type: string;
102
+ title: string;
103
+ status: number;
104
+ detail?: string | undefined;
105
+ instance?: string | undefined;
106
+ code?: string | undefined;
107
+ errors?: {
108
+ path: string;
109
+ message: string;
110
+ summary?: string | undefined;
111
+ }[] | undefined;
112
+ };
113
+ 500: {
114
+ type: string;
115
+ title: string;
116
+ status: number;
117
+ detail?: string | undefined;
118
+ instance?: string | undefined;
119
+ code?: string | undefined;
120
+ errors?: {
121
+ path: string;
122
+ message: string;
123
+ summary?: string | undefined;
124
+ }[] | undefined;
125
+ };
126
+ 200: {
127
+ id: string & {
128
+ readonly __brand: "uuidv7";
129
+ };
130
+ projectId: string & {
131
+ readonly __brand: "uuidv7";
132
+ };
133
+ key: string;
134
+ name: string;
135
+ description: string | null;
136
+ prompt: string | null;
137
+ version: number;
138
+ kind: "built_in" | "user_defined";
139
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
140
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
141
+ opencodeMcpJson: Record<string, {
142
+ type: "local";
143
+ command: string[];
144
+ environment?: Record<string, string> | undefined;
145
+ enabled?: boolean | undefined;
146
+ timeout?: number | undefined;
147
+ } | {
148
+ type: "remote";
149
+ url: string;
150
+ enabled?: boolean | undefined;
151
+ headers?: Record<string, string> | undefined;
152
+ oauth?: false | {
153
+ clientId?: string | undefined;
154
+ clientSecret?: string | undefined;
155
+ scope?: string | undefined;
156
+ redirectUri?: string | undefined;
157
+ } | undefined;
158
+ timeout?: number | undefined;
159
+ } | {
160
+ enabled: boolean;
161
+ }> | null;
162
+ status: "draft" | "active" | "archived";
163
+ signalExtractorDefinitions: {
164
+ id: string & {
165
+ readonly __brand: "uuidv7";
166
+ };
167
+ key: string;
168
+ sourcePath: string;
169
+ type: "string" | "number" | "boolean" | "object" | "array";
170
+ required: boolean;
171
+ availableWhenResultStatusIn: string[] | null;
172
+ createdAt: string;
173
+ updatedAt: string;
174
+ }[];
175
+ computedSignalDefinitions: {
176
+ id: string & {
177
+ readonly __brand: "uuidv7";
178
+ };
179
+ key: string;
180
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
181
+ inputSignalKeys: string[];
182
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
183
+ availableWhenResultStatusIn: string[] | null;
184
+ createdAt: string;
185
+ updatedAt: string;
186
+ }[];
187
+ createdAt: string;
188
+ updatedAt: string;
189
+ };
190
+ 403: {
191
+ type: string;
192
+ title: string;
193
+ status: number;
194
+ detail?: string | undefined;
195
+ instance?: string | undefined;
196
+ code?: string | undefined;
197
+ errors?: {
198
+ path: string;
199
+ message: string;
200
+ summary?: string | undefined;
201
+ }[] | undefined;
202
+ };
203
+ 400: {
204
+ type: string;
205
+ title: string;
206
+ status: number;
207
+ detail?: string | undefined;
208
+ instance?: string | undefined;
209
+ code?: string | undefined;
210
+ errors?: {
211
+ path: string;
212
+ message: string;
213
+ summary?: string | undefined;
214
+ }[] | undefined;
215
+ };
216
+ 401: {
217
+ type: string;
218
+ title: string;
219
+ status: number;
220
+ detail?: string | undefined;
221
+ instance?: string | undefined;
222
+ code?: string | undefined;
223
+ errors?: {
224
+ path: string;
225
+ message: string;
226
+ summary?: string | undefined;
227
+ }[] | undefined;
228
+ };
229
+ };
230
+ };
231
+ };
232
+ } & {
233
+ "step-definitions": {
234
+ ":stepDefinitionId": {
235
+ get: {
236
+ body: unknown;
237
+ params: {
238
+ stepDefinitionId: string & {
239
+ readonly __brand: "uuidv7";
240
+ };
241
+ };
242
+ query: unknown;
243
+ headers: unknown;
244
+ response: {
245
+ 422: {
246
+ type: string;
247
+ title: string;
248
+ status: number;
249
+ detail?: string | undefined;
250
+ instance?: string | undefined;
251
+ code?: string | undefined;
252
+ errors?: {
253
+ path: string;
254
+ message: string;
255
+ summary?: string | undefined;
256
+ }[] | undefined;
257
+ };
258
+ 404: {
259
+ type: string;
260
+ title: string;
261
+ status: number;
262
+ detail?: string | undefined;
263
+ instance?: string | undefined;
264
+ code?: string | undefined;
265
+ errors?: {
266
+ path: string;
267
+ message: string;
268
+ summary?: string | undefined;
269
+ }[] | undefined;
270
+ };
271
+ 500: {
272
+ type: string;
273
+ title: string;
274
+ status: number;
275
+ detail?: string | undefined;
276
+ instance?: string | undefined;
277
+ code?: string | undefined;
278
+ errors?: {
279
+ path: string;
280
+ message: string;
281
+ summary?: string | undefined;
282
+ }[] | undefined;
283
+ };
284
+ 200: {
285
+ id: string & {
286
+ readonly __brand: "uuidv7";
287
+ };
288
+ projectId: string & {
289
+ readonly __brand: "uuidv7";
290
+ };
291
+ key: string;
292
+ name: string;
293
+ description: string | null;
294
+ prompt: string | null;
295
+ version: number;
296
+ kind: "built_in" | "user_defined";
297
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
298
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
299
+ opencodeMcpJson: Record<string, {
300
+ type: "local";
301
+ command: string[];
302
+ environment?: Record<string, string> | undefined;
303
+ enabled?: boolean | undefined;
304
+ timeout?: number | undefined;
305
+ } | {
306
+ type: "remote";
307
+ url: string;
308
+ enabled?: boolean | undefined;
309
+ headers?: Record<string, string> | undefined;
310
+ oauth?: false | {
311
+ clientId?: string | undefined;
312
+ clientSecret?: string | undefined;
313
+ scope?: string | undefined;
314
+ redirectUri?: string | undefined;
315
+ } | undefined;
316
+ timeout?: number | undefined;
317
+ } | {
318
+ enabled: boolean;
319
+ }> | null;
320
+ status: "draft" | "active" | "archived";
321
+ signalExtractorDefinitions: {
322
+ id: string & {
323
+ readonly __brand: "uuidv7";
324
+ };
325
+ key: string;
326
+ sourcePath: string;
327
+ type: "string" | "number" | "boolean" | "object" | "array";
328
+ required: boolean;
329
+ availableWhenResultStatusIn: string[] | null;
330
+ createdAt: string;
331
+ updatedAt: string;
332
+ }[];
333
+ computedSignalDefinitions: {
334
+ id: string & {
335
+ readonly __brand: "uuidv7";
336
+ };
337
+ key: string;
338
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
339
+ inputSignalKeys: string[];
340
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
341
+ availableWhenResultStatusIn: string[] | null;
342
+ createdAt: string;
343
+ updatedAt: string;
344
+ }[];
345
+ createdAt: string;
346
+ updatedAt: string;
347
+ };
348
+ 403: {
349
+ type: string;
350
+ title: string;
351
+ status: number;
352
+ detail?: string | undefined;
353
+ instance?: string | undefined;
354
+ code?: string | undefined;
355
+ errors?: {
356
+ path: string;
357
+ message: string;
358
+ summary?: string | undefined;
359
+ }[] | undefined;
360
+ };
361
+ 401: {
362
+ type: string;
363
+ title: string;
364
+ status: number;
365
+ detail?: string | undefined;
366
+ instance?: string | undefined;
367
+ code?: string | undefined;
368
+ errors?: {
369
+ path: string;
370
+ message: string;
371
+ summary?: string | undefined;
372
+ }[] | undefined;
373
+ };
374
+ };
375
+ };
376
+ };
377
+ };
378
+ } & {
379
+ "step-definitions": {
380
+ get: {
381
+ body: unknown;
382
+ params: {};
383
+ query: {
384
+ projectId: string & {
385
+ readonly __brand: "uuidv7";
386
+ };
387
+ };
388
+ headers: unknown;
389
+ response: {
390
+ 422: {
391
+ type: string;
392
+ title: string;
393
+ status: number;
394
+ detail?: string | undefined;
395
+ instance?: string | undefined;
396
+ code?: string | undefined;
397
+ errors?: {
398
+ path: string;
399
+ message: string;
400
+ summary?: string | undefined;
401
+ }[] | undefined;
402
+ };
403
+ 500: {
404
+ type: string;
405
+ title: string;
406
+ status: number;
407
+ detail?: string | undefined;
408
+ instance?: string | undefined;
409
+ code?: string | undefined;
410
+ errors?: {
411
+ path: string;
412
+ message: string;
413
+ summary?: string | undefined;
414
+ }[] | undefined;
415
+ };
416
+ 200: {
417
+ id: string & {
418
+ readonly __brand: "uuidv7";
419
+ };
420
+ projectId: string & {
421
+ readonly __brand: "uuidv7";
422
+ };
423
+ key: string;
424
+ name: string;
425
+ description: string | null;
426
+ prompt: string | null;
427
+ version: number;
428
+ kind: "built_in" | "user_defined";
429
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
430
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
431
+ opencodeMcpJson: Record<string, {
432
+ type: "local";
433
+ command: string[];
434
+ environment?: Record<string, string> | undefined;
435
+ enabled?: boolean | undefined;
436
+ timeout?: number | undefined;
437
+ } | {
438
+ type: "remote";
439
+ url: string;
440
+ enabled?: boolean | undefined;
441
+ headers?: Record<string, string> | undefined;
442
+ oauth?: false | {
443
+ clientId?: string | undefined;
444
+ clientSecret?: string | undefined;
445
+ scope?: string | undefined;
446
+ redirectUri?: string | undefined;
447
+ } | undefined;
448
+ timeout?: number | undefined;
449
+ } | {
450
+ enabled: boolean;
451
+ }> | null;
452
+ status: "draft" | "active" | "archived";
453
+ signalExtractorDefinitions: {
454
+ id: string & {
455
+ readonly __brand: "uuidv7";
456
+ };
457
+ key: string;
458
+ sourcePath: string;
459
+ type: "string" | "number" | "boolean" | "object" | "array";
460
+ required: boolean;
461
+ availableWhenResultStatusIn: string[] | null;
462
+ createdAt: string;
463
+ updatedAt: string;
464
+ }[];
465
+ computedSignalDefinitions: {
466
+ id: string & {
467
+ readonly __brand: "uuidv7";
468
+ };
469
+ key: string;
470
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
471
+ inputSignalKeys: string[];
472
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
473
+ availableWhenResultStatusIn: string[] | null;
474
+ createdAt: string;
475
+ updatedAt: string;
476
+ }[];
477
+ createdAt: string;
478
+ updatedAt: string;
479
+ }[];
480
+ 403: {
481
+ type: string;
482
+ title: string;
483
+ status: number;
484
+ detail?: string | undefined;
485
+ instance?: string | undefined;
486
+ code?: string | undefined;
487
+ errors?: {
488
+ path: string;
489
+ message: string;
490
+ summary?: string | undefined;
491
+ }[] | undefined;
492
+ };
493
+ 401: {
494
+ type: string;
495
+ title: string;
496
+ status: number;
497
+ detail?: string | undefined;
498
+ instance?: string | undefined;
499
+ code?: string | undefined;
500
+ errors?: {
501
+ path: string;
502
+ message: string;
503
+ summary?: string | undefined;
504
+ }[] | undefined;
505
+ };
506
+ };
507
+ };
508
+ };
509
+ } & {
510
+ "step-definitions": {
511
+ ":stepDefinitionId": {
512
+ put: {
513
+ body: {
514
+ projectId: string & {
515
+ readonly __brand: "uuidv7";
516
+ };
517
+ key: string;
518
+ name: string;
519
+ description: string | null;
520
+ prompt: string | null;
521
+ version: number;
522
+ kind: "built_in" | "user_defined";
523
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
524
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
525
+ status: "draft" | "active" | "archived";
526
+ signalExtractorDefinitions: {
527
+ key: string;
528
+ sourcePath: string;
529
+ type: "string" | "number" | "boolean" | "object" | "array";
530
+ required: boolean;
531
+ availableWhenResultStatusIn: string[] | null;
532
+ }[];
533
+ computedSignalDefinitions: {
534
+ key: string;
535
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
536
+ availableWhenResultStatusIn: string[] | null;
537
+ inputSignalKeys: string[];
538
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
539
+ }[];
540
+ opencodeMcpJson?: Record<string, {
541
+ type: "local";
542
+ command: string[];
543
+ environment?: Record<string, string> | undefined;
544
+ enabled?: boolean | undefined;
545
+ timeout?: number | undefined;
546
+ } | {
547
+ type: "remote";
548
+ url: string;
549
+ enabled?: boolean | undefined;
550
+ headers?: Record<string, string> | undefined;
551
+ oauth?: false | {
552
+ clientId?: string | undefined;
553
+ clientSecret?: string | undefined;
554
+ scope?: string | undefined;
555
+ redirectUri?: string | undefined;
556
+ } | undefined;
557
+ timeout?: number | undefined;
558
+ } | {
559
+ enabled: boolean;
560
+ }> | null | undefined;
561
+ };
562
+ params: {
563
+ stepDefinitionId: string & {
564
+ readonly __brand: "uuidv7";
565
+ };
566
+ };
567
+ query: unknown;
568
+ headers: unknown;
569
+ response: {
570
+ 422: {
571
+ type: string;
572
+ title: string;
573
+ status: number;
574
+ detail?: string | undefined;
575
+ instance?: string | undefined;
576
+ code?: string | undefined;
577
+ errors?: {
578
+ path: string;
579
+ message: string;
580
+ summary?: string | undefined;
581
+ }[] | undefined;
582
+ };
583
+ 404: {
584
+ type: string;
585
+ title: string;
586
+ status: number;
587
+ detail?: string | undefined;
588
+ instance?: string | undefined;
589
+ code?: string | undefined;
590
+ errors?: {
591
+ path: string;
592
+ message: string;
593
+ summary?: string | undefined;
594
+ }[] | undefined;
595
+ };
596
+ 500: {
597
+ type: string;
598
+ title: string;
599
+ status: number;
600
+ detail?: string | undefined;
601
+ instance?: string | undefined;
602
+ code?: string | undefined;
603
+ errors?: {
604
+ path: string;
605
+ message: string;
606
+ summary?: string | undefined;
607
+ }[] | undefined;
608
+ };
609
+ 200: {
610
+ id: string & {
611
+ readonly __brand: "uuidv7";
612
+ };
613
+ projectId: string & {
614
+ readonly __brand: "uuidv7";
615
+ };
616
+ key: string;
617
+ name: string;
618
+ description: string | null;
619
+ prompt: string | null;
620
+ version: number;
621
+ kind: "built_in" | "user_defined";
622
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
623
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
624
+ opencodeMcpJson: Record<string, {
625
+ type: "local";
626
+ command: string[];
627
+ environment?: Record<string, string> | undefined;
628
+ enabled?: boolean | undefined;
629
+ timeout?: number | undefined;
630
+ } | {
631
+ type: "remote";
632
+ url: string;
633
+ enabled?: boolean | undefined;
634
+ headers?: Record<string, string> | undefined;
635
+ oauth?: false | {
636
+ clientId?: string | undefined;
637
+ clientSecret?: string | undefined;
638
+ scope?: string | undefined;
639
+ redirectUri?: string | undefined;
640
+ } | undefined;
641
+ timeout?: number | undefined;
642
+ } | {
643
+ enabled: boolean;
644
+ }> | null;
645
+ status: "draft" | "active" | "archived";
646
+ signalExtractorDefinitions: {
647
+ id: string & {
648
+ readonly __brand: "uuidv7";
649
+ };
650
+ key: string;
651
+ sourcePath: string;
652
+ type: "string" | "number" | "boolean" | "object" | "array";
653
+ required: boolean;
654
+ availableWhenResultStatusIn: string[] | null;
655
+ createdAt: string;
656
+ updatedAt: string;
657
+ }[];
658
+ computedSignalDefinitions: {
659
+ id: string & {
660
+ readonly __brand: "uuidv7";
661
+ };
662
+ key: string;
663
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
664
+ inputSignalKeys: string[];
665
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
666
+ availableWhenResultStatusIn: string[] | null;
667
+ createdAt: string;
668
+ updatedAt: string;
669
+ }[];
670
+ createdAt: string;
671
+ updatedAt: string;
672
+ };
673
+ 403: {
674
+ type: string;
675
+ title: string;
676
+ status: number;
677
+ detail?: string | undefined;
678
+ instance?: string | undefined;
679
+ code?: string | undefined;
680
+ errors?: {
681
+ path: string;
682
+ message: string;
683
+ summary?: string | undefined;
684
+ }[] | undefined;
685
+ };
686
+ 401: {
687
+ type: string;
688
+ title: string;
689
+ status: number;
690
+ detail?: string | undefined;
691
+ instance?: string | undefined;
692
+ code?: string | undefined;
693
+ errors?: {
694
+ path: string;
695
+ message: string;
696
+ summary?: string | undefined;
697
+ }[] | undefined;
698
+ };
699
+ };
700
+ };
701
+ };
702
+ };
703
+ } & {
704
+ "step-definitions": {
705
+ ":stepDefinitionId": {
706
+ archive: {
707
+ put: {
708
+ body: unknown;
709
+ params: {
710
+ stepDefinitionId: string & {
711
+ readonly __brand: "uuidv7";
712
+ };
713
+ };
714
+ query: unknown;
715
+ headers: unknown;
716
+ response: {
717
+ 422: {
718
+ type: string;
719
+ title: string;
720
+ status: number;
721
+ detail?: string | undefined;
722
+ instance?: string | undefined;
723
+ code?: string | undefined;
724
+ errors?: {
725
+ path: string;
726
+ message: string;
727
+ summary?: string | undefined;
728
+ }[] | undefined;
729
+ };
730
+ 404: {
731
+ type: string;
732
+ title: string;
733
+ status: number;
734
+ detail?: string | undefined;
735
+ instance?: string | undefined;
736
+ code?: string | undefined;
737
+ errors?: {
738
+ path: string;
739
+ message: string;
740
+ summary?: string | undefined;
741
+ }[] | undefined;
742
+ };
743
+ 500: {
744
+ type: string;
745
+ title: string;
746
+ status: number;
747
+ detail?: string | undefined;
748
+ instance?: string | undefined;
749
+ code?: string | undefined;
750
+ errors?: {
751
+ path: string;
752
+ message: string;
753
+ summary?: string | undefined;
754
+ }[] | undefined;
755
+ };
756
+ 200: {
757
+ id: string & {
758
+ readonly __brand: "uuidv7";
759
+ };
760
+ projectId: string & {
761
+ readonly __brand: "uuidv7";
762
+ };
763
+ key: string;
764
+ name: string;
765
+ description: string | null;
766
+ prompt: string | null;
767
+ version: number;
768
+ kind: "built_in" | "user_defined";
769
+ inputSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
770
+ resultSchemaJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
771
+ opencodeMcpJson: Record<string, {
772
+ type: "local";
773
+ command: string[];
774
+ environment?: Record<string, string> | undefined;
775
+ enabled?: boolean | undefined;
776
+ timeout?: number | undefined;
777
+ } | {
778
+ type: "remote";
779
+ url: string;
780
+ enabled?: boolean | undefined;
781
+ headers?: Record<string, string> | undefined;
782
+ oauth?: false | {
783
+ clientId?: string | undefined;
784
+ clientSecret?: string | undefined;
785
+ scope?: string | undefined;
786
+ redirectUri?: string | undefined;
787
+ } | undefined;
788
+ timeout?: number | undefined;
789
+ } | {
790
+ enabled: boolean;
791
+ }> | null;
792
+ status: "draft" | "active" | "archived";
793
+ signalExtractorDefinitions: {
794
+ id: string & {
795
+ readonly __brand: "uuidv7";
796
+ };
797
+ key: string;
798
+ sourcePath: string;
799
+ type: "string" | "number" | "boolean" | "object" | "array";
800
+ required: boolean;
801
+ availableWhenResultStatusIn: string[] | null;
802
+ createdAt: string;
803
+ updatedAt: string;
804
+ }[];
805
+ computedSignalDefinitions: {
806
+ id: string & {
807
+ readonly __brand: "uuidv7";
808
+ };
809
+ key: string;
810
+ type: "custom" | "average" | "weighted_average" | "sum" | "min" | "max";
811
+ inputSignalKeys: string[];
812
+ configJson: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
813
+ availableWhenResultStatusIn: string[] | null;
814
+ createdAt: string;
815
+ updatedAt: string;
816
+ }[];
817
+ createdAt: string;
818
+ updatedAt: string;
819
+ };
820
+ 403: {
821
+ type: string;
822
+ title: string;
823
+ status: number;
824
+ detail?: string | undefined;
825
+ instance?: string | undefined;
826
+ code?: string | undefined;
827
+ errors?: {
828
+ path: string;
829
+ message: string;
830
+ summary?: string | undefined;
831
+ }[] | undefined;
832
+ };
833
+ 401: {
834
+ type: string;
835
+ title: string;
836
+ status: number;
837
+ detail?: string | undefined;
838
+ instance?: string | undefined;
839
+ code?: string | undefined;
840
+ errors?: {
841
+ path: string;
842
+ message: string;
843
+ summary?: string | undefined;
844
+ }[] | undefined;
845
+ };
846
+ };
847
+ };
848
+ };
849
+ };
850
+ };
851
+ }, {
852
+ derive: {};
853
+ resolve: {};
854
+ schema: {};
855
+ standaloneSchema: {};
856
+ response: {};
857
+ }, {
858
+ derive: {};
859
+ resolve: {};
860
+ schema: {};
861
+ standaloneSchema: {};
862
+ response: {};
863
+ } & {
864
+ derive: {
865
+ readonly auth: {
866
+ readonly userId: import("@boboddy/core/common/contracts/uuid-v7").UuidV7;
867
+ readonly user: {
868
+ id: string;
869
+ createdAt: Date;
870
+ updatedAt: Date;
871
+ email: string;
872
+ emailVerified: boolean;
873
+ name: string;
874
+ image?: string | null | undefined | undefined;
875
+ };
876
+ readonly session: {
877
+ id: string;
878
+ createdAt: Date;
879
+ updatedAt: Date;
880
+ userId: string;
881
+ expiresAt: Date;
882
+ token: string;
883
+ ipAddress?: string | null | undefined | undefined;
884
+ userAgent?: string | null | undefined | undefined;
885
+ };
886
+ };
887
+ };
888
+ resolve: {};
889
+ schema: {};
890
+ standaloneSchema: {};
891
+ response: import("elysia").ExtractErrorFromHandle<{
892
+ readonly auth: {
893
+ readonly userId: import("@boboddy/core/common/contracts/uuid-v7").UuidV7;
894
+ readonly user: {
895
+ id: string;
896
+ createdAt: Date;
897
+ updatedAt: Date;
898
+ email: string;
899
+ emailVerified: boolean;
900
+ name: string;
901
+ image?: string | null | undefined | undefined;
902
+ };
903
+ readonly session: {
904
+ id: string;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ userId: string;
908
+ expiresAt: Date;
909
+ token: string;
910
+ ipAddress?: string | null | undefined | undefined;
911
+ userAgent?: string | null | undefined | undefined;
912
+ };
913
+ };
914
+ }>;
915
+ }>;