@castlemilk/omega 0.6.8 → 0.6.10

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 (60) hide show
  1. package/dist/cli.js +33 -0
  2. package/dist/server/dist/app.d.ts.map +1 -1
  3. package/dist/server/dist/app.js +2 -0
  4. package/dist/server/dist/app.js.map +1 -1
  5. package/dist/server/dist/routes/metrics.d.ts +4 -0
  6. package/dist/server/dist/routes/metrics.d.ts.map +1 -0
  7. package/dist/server/dist/routes/metrics.js +97 -0
  8. package/dist/server/dist/routes/metrics.js.map +1 -0
  9. package/dist/server/dist/routes/tasks.d.ts.map +1 -1
  10. package/dist/server/dist/routes/tasks.js +26 -0
  11. package/dist/server/dist/routes/tasks.js.map +1 -1
  12. package/dist/server/node_modules/@omega/agent/dist/executor.d.ts.map +1 -1
  13. package/dist/server/node_modules/@omega/agent/dist/executor.js +88 -14
  14. package/dist/server/node_modules/@omega/agent/dist/executor.js.map +1 -1
  15. package/dist/server/node_modules/@omega/agent/dist/logger.d.ts +15 -0
  16. package/dist/server/node_modules/@omega/agent/dist/logger.d.ts.map +1 -0
  17. package/dist/server/node_modules/@omega/agent/dist/logger.js +43 -0
  18. package/dist/server/node_modules/@omega/agent/dist/logger.js.map +1 -0
  19. package/dist/server/node_modules/@omega/agent/dist/tracer.d.ts +39 -0
  20. package/dist/server/node_modules/@omega/agent/dist/tracer.d.ts.map +1 -0
  21. package/dist/server/node_modules/@omega/agent/dist/tracer.js +90 -0
  22. package/dist/server/node_modules/@omega/agent/dist/tracer.js.map +1 -0
  23. package/dist/server/node_modules/@omega/db/generated/client/edge.js +18 -3
  24. package/dist/server/node_modules/@omega/db/generated/client/index-browser.js +15 -0
  25. package/dist/server/node_modules/@omega/db/generated/client/index.d.ts +1924 -169
  26. package/dist/server/node_modules/@omega/db/generated/client/index.js +18 -3
  27. package/dist/server/node_modules/@omega/db/generated/client/package.json +1 -1
  28. package/dist/server/node_modules/@omega/db/generated/client/schema.prisma +19 -0
  29. package/dist/server/node_modules/@omega/db/generated/client/wasm.js +18 -3
  30. package/dist/server/node_modules/@omega/db/prisma/migrations/20260703000000_add_trace_spans/migration.sql +25 -0
  31. package/dist/server/pglite-data/base/5/1247 +0 -0
  32. package/dist/server/pglite-data/base/5/1249 +0 -0
  33. package/dist/server/pglite-data/base/5/1259 +0 -0
  34. package/dist/server/pglite-data/base/5/16394 +0 -0
  35. package/dist/server/pglite-data/base/5/16404 +0 -0
  36. package/dist/server/pglite-data/base/5/16406 +0 -0
  37. package/dist/server/pglite-data/base/5/16421 +0 -0
  38. package/dist/server/pglite-data/base/5/16510 +0 -0
  39. package/dist/server/pglite-data/base/5/24576 +0 -0
  40. package/dist/server/pglite-data/base/5/24587 +0 -0
  41. package/dist/server/pglite-data/base/5/24588 +0 -0
  42. package/dist/server/pglite-data/base/5/24589 +0 -0
  43. package/dist/server/pglite-data/base/5/24591 +0 -0
  44. package/dist/server/pglite-data/base/5/24592 +0 -0
  45. package/dist/server/pglite-data/base/5/2606 +0 -0
  46. package/dist/server/pglite-data/base/5/2608 +0 -0
  47. package/dist/server/pglite-data/base/5/2620 +0 -0
  48. package/dist/server/pglite-data/global/pg_control +0 -0
  49. package/dist/server/pglite-data/pg_wal/000000010000000000000001 +0 -0
  50. package/dist/server/pglite-data/pg_xact/0000 +0 -0
  51. package/dist/server/pglite-data/postmaster.pid +1 -1
  52. package/dist/server/src/app.ts +2 -0
  53. package/dist/server/src/routes/metrics.ts +112 -0
  54. package/dist/server/src/routes/tasks.ts +30 -0
  55. package/dist/web/dist/assets/index-B2af4AQD.js +40 -0
  56. package/dist/web/dist/assets/index-CP84vBfp.js +40 -0
  57. package/dist/web/dist/assets/index-DE4b_m6Q.css +1 -0
  58. package/dist/web/dist/assets/index-iY2pDoq8.css +1 -0
  59. package/dist/web/dist/index.html +2 -2
  60. package/package.json +3 -3
@@ -43,6 +43,11 @@ export type TaskDiff = $Result.DefaultSelection<Prisma.$TaskDiffPayload>
43
43
  *
44
44
  */
45
45
  export type AgentRun = $Result.DefaultSelection<Prisma.$AgentRunPayload>
46
+ /**
47
+ * Model TraceSpan
48
+ *
49
+ */
50
+ export type TraceSpan = $Result.DefaultSelection<Prisma.$TraceSpanPayload>
46
51
  /**
47
52
  * Model ProviderConfig
48
53
  *
@@ -237,6 +242,16 @@ export class PrismaClient<
237
242
  */
238
243
  get agentRun(): Prisma.AgentRunDelegate<ExtArgs>;
239
244
 
245
+ /**
246
+ * `prisma.traceSpan`: Exposes CRUD operations for the **TraceSpan** model.
247
+ * Example usage:
248
+ * ```ts
249
+ * // Fetch zero or more TraceSpans
250
+ * const traceSpans = await prisma.traceSpan.findMany()
251
+ * ```
252
+ */
253
+ get traceSpan(): Prisma.TraceSpanDelegate<ExtArgs>;
254
+
240
255
  /**
241
256
  * `prisma.providerConfig`: Exposes CRUD operations for the **ProviderConfig** model.
242
257
  * Example usage:
@@ -703,6 +718,7 @@ export namespace Prisma {
703
718
  TaskTrace: 'TaskTrace',
704
719
  TaskDiff: 'TaskDiff',
705
720
  AgentRun: 'AgentRun',
721
+ TraceSpan: 'TraceSpan',
706
722
  ProviderConfig: 'ProviderConfig',
707
723
  SkillArtifact: 'SkillArtifact'
708
724
  };
@@ -720,7 +736,7 @@ export namespace Prisma {
720
736
 
721
737
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
722
738
  meta: {
723
- modelProps: "project" | "task" | "taskStep" | "taskTrace" | "taskDiff" | "agentRun" | "providerConfig" | "skillArtifact"
739
+ modelProps: "project" | "task" | "taskStep" | "taskTrace" | "taskDiff" | "agentRun" | "traceSpan" | "providerConfig" | "skillArtifact"
724
740
  txIsolationLevel: Prisma.TransactionIsolationLevel
725
741
  }
726
742
  model: {
@@ -1144,6 +1160,76 @@ export namespace Prisma {
1144
1160
  }
1145
1161
  }
1146
1162
  }
1163
+ TraceSpan: {
1164
+ payload: Prisma.$TraceSpanPayload<ExtArgs>
1165
+ fields: Prisma.TraceSpanFieldRefs
1166
+ operations: {
1167
+ findUnique: {
1168
+ args: Prisma.TraceSpanFindUniqueArgs<ExtArgs>
1169
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload> | null
1170
+ }
1171
+ findUniqueOrThrow: {
1172
+ args: Prisma.TraceSpanFindUniqueOrThrowArgs<ExtArgs>
1173
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>
1174
+ }
1175
+ findFirst: {
1176
+ args: Prisma.TraceSpanFindFirstArgs<ExtArgs>
1177
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload> | null
1178
+ }
1179
+ findFirstOrThrow: {
1180
+ args: Prisma.TraceSpanFindFirstOrThrowArgs<ExtArgs>
1181
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>
1182
+ }
1183
+ findMany: {
1184
+ args: Prisma.TraceSpanFindManyArgs<ExtArgs>
1185
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>[]
1186
+ }
1187
+ create: {
1188
+ args: Prisma.TraceSpanCreateArgs<ExtArgs>
1189
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>
1190
+ }
1191
+ createMany: {
1192
+ args: Prisma.TraceSpanCreateManyArgs<ExtArgs>
1193
+ result: BatchPayload
1194
+ }
1195
+ createManyAndReturn: {
1196
+ args: Prisma.TraceSpanCreateManyAndReturnArgs<ExtArgs>
1197
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>[]
1198
+ }
1199
+ delete: {
1200
+ args: Prisma.TraceSpanDeleteArgs<ExtArgs>
1201
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>
1202
+ }
1203
+ update: {
1204
+ args: Prisma.TraceSpanUpdateArgs<ExtArgs>
1205
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>
1206
+ }
1207
+ deleteMany: {
1208
+ args: Prisma.TraceSpanDeleteManyArgs<ExtArgs>
1209
+ result: BatchPayload
1210
+ }
1211
+ updateMany: {
1212
+ args: Prisma.TraceSpanUpdateManyArgs<ExtArgs>
1213
+ result: BatchPayload
1214
+ }
1215
+ upsert: {
1216
+ args: Prisma.TraceSpanUpsertArgs<ExtArgs>
1217
+ result: $Utils.PayloadToResult<Prisma.$TraceSpanPayload>
1218
+ }
1219
+ aggregate: {
1220
+ args: Prisma.TraceSpanAggregateArgs<ExtArgs>
1221
+ result: $Utils.Optional<AggregateTraceSpan>
1222
+ }
1223
+ groupBy: {
1224
+ args: Prisma.TraceSpanGroupByArgs<ExtArgs>
1225
+ result: $Utils.Optional<TraceSpanGroupByOutputType>[]
1226
+ }
1227
+ count: {
1228
+ args: Prisma.TraceSpanCountArgs<ExtArgs>
1229
+ result: $Utils.Optional<TraceSpanCountAggregateOutputType> | number
1230
+ }
1231
+ }
1232
+ }
1147
1233
  ProviderConfig: {
1148
1234
  payload: Prisma.$ProviderConfigPayload<ExtArgs>
1149
1235
  fields: Prisma.ProviderConfigFieldRefs
@@ -1484,6 +1570,7 @@ export namespace Prisma {
1484
1570
  traces: number
1485
1571
  diffs: number
1486
1572
  agentRuns: number
1573
+ traceSpans: number
1487
1574
  }
1488
1575
 
1489
1576
  export type TaskCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -1491,6 +1578,7 @@ export namespace Prisma {
1491
1578
  traces?: boolean | TaskCountOutputTypeCountTracesArgs
1492
1579
  diffs?: boolean | TaskCountOutputTypeCountDiffsArgs
1493
1580
  agentRuns?: boolean | TaskCountOutputTypeCountAgentRunsArgs
1581
+ traceSpans?: boolean | TaskCountOutputTypeCountTraceSpansArgs
1494
1582
  }
1495
1583
 
1496
1584
  // Custom InputTypes
@@ -1532,6 +1620,13 @@ export namespace Prisma {
1532
1620
  where?: AgentRunWhereInput
1533
1621
  }
1534
1622
 
1623
+ /**
1624
+ * TaskCountOutputType without action
1625
+ */
1626
+ export type TaskCountOutputTypeCountTraceSpansArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1627
+ where?: TraceSpanWhereInput
1628
+ }
1629
+
1535
1630
 
1536
1631
  /**
1537
1632
  * Models
@@ -2742,6 +2837,7 @@ export namespace Prisma {
2742
2837
  traces?: boolean | Task$tracesArgs<ExtArgs>
2743
2838
  diffs?: boolean | Task$diffsArgs<ExtArgs>
2744
2839
  agentRuns?: boolean | Task$agentRunsArgs<ExtArgs>
2840
+ traceSpans?: boolean | Task$traceSpansArgs<ExtArgs>
2745
2841
  _count?: boolean | TaskCountOutputTypeDefaultArgs<ExtArgs>
2746
2842
  }, ExtArgs["result"]["task"]>
2747
2843
 
@@ -2784,6 +2880,7 @@ export namespace Prisma {
2784
2880
  traces?: boolean | Task$tracesArgs<ExtArgs>
2785
2881
  diffs?: boolean | Task$diffsArgs<ExtArgs>
2786
2882
  agentRuns?: boolean | Task$agentRunsArgs<ExtArgs>
2883
+ traceSpans?: boolean | Task$traceSpansArgs<ExtArgs>
2787
2884
  _count?: boolean | TaskCountOutputTypeDefaultArgs<ExtArgs>
2788
2885
  }
2789
2886
  export type TaskIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2798,6 +2895,7 @@ export namespace Prisma {
2798
2895
  traces: Prisma.$TaskTracePayload<ExtArgs>[]
2799
2896
  diffs: Prisma.$TaskDiffPayload<ExtArgs>[]
2800
2897
  agentRuns: Prisma.$AgentRunPayload<ExtArgs>[]
2898
+ traceSpans: Prisma.$TraceSpanPayload<ExtArgs>[]
2801
2899
  }
2802
2900
  scalars: $Extensions.GetPayloadResult<{
2803
2901
  id: string
@@ -3182,6 +3280,7 @@ export namespace Prisma {
3182
3280
  traces<T extends Task$tracesArgs<ExtArgs> = {}>(args?: Subset<T, Task$tracesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TaskTracePayload<ExtArgs>, T, "findMany"> | Null>
3183
3281
  diffs<T extends Task$diffsArgs<ExtArgs> = {}>(args?: Subset<T, Task$diffsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TaskDiffPayload<ExtArgs>, T, "findMany"> | Null>
3184
3282
  agentRuns<T extends Task$agentRunsArgs<ExtArgs> = {}>(args?: Subset<T, Task$agentRunsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AgentRunPayload<ExtArgs>, T, "findMany"> | Null>
3283
+ traceSpans<T extends Task$traceSpansArgs<ExtArgs> = {}>(args?: Subset<T, Task$traceSpansArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "findMany"> | Null>
3185
3284
  /**
3186
3285
  * Attaches callbacks for the resolution and/or rejection of the Promise.
3187
3286
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -3621,6 +3720,26 @@ export namespace Prisma {
3621
3720
  distinct?: AgentRunScalarFieldEnum | AgentRunScalarFieldEnum[]
3622
3721
  }
3623
3722
 
3723
+ /**
3724
+ * Task.traceSpans
3725
+ */
3726
+ export type Task$traceSpansArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3727
+ /**
3728
+ * Select specific fields to fetch from the TraceSpan
3729
+ */
3730
+ select?: TraceSpanSelect<ExtArgs> | null
3731
+ /**
3732
+ * Choose, which related nodes to fetch as well
3733
+ */
3734
+ include?: TraceSpanInclude<ExtArgs> | null
3735
+ where?: TraceSpanWhereInput
3736
+ orderBy?: TraceSpanOrderByWithRelationInput | TraceSpanOrderByWithRelationInput[]
3737
+ cursor?: TraceSpanWhereUniqueInput
3738
+ take?: number
3739
+ skip?: number
3740
+ distinct?: TraceSpanScalarFieldEnum | TraceSpanScalarFieldEnum[]
3741
+ }
3742
+
3624
3743
  /**
3625
3744
  * Task without action
3626
3745
  */
@@ -7547,336 +7666,1356 @@ export namespace Prisma {
7547
7666
 
7548
7667
 
7549
7668
  /**
7550
- * Model ProviderConfig
7669
+ * Model TraceSpan
7551
7670
  */
7552
7671
 
7553
- export type AggregateProviderConfig = {
7554
- _count: ProviderConfigCountAggregateOutputType | null
7555
- _min: ProviderConfigMinAggregateOutputType | null
7556
- _max: ProviderConfigMaxAggregateOutputType | null
7672
+ export type AggregateTraceSpan = {
7673
+ _count: TraceSpanCountAggregateOutputType | null
7674
+ _min: TraceSpanMinAggregateOutputType | null
7675
+ _max: TraceSpanMaxAggregateOutputType | null
7557
7676
  }
7558
7677
 
7559
- export type ProviderConfigMinAggregateOutputType = {
7678
+ export type TraceSpanMinAggregateOutputType = {
7560
7679
  id: string | null
7680
+ traceId: string | null
7681
+ spanId: string | null
7682
+ parentId: string | null
7683
+ taskId: string | null
7561
7684
  name: string | null
7562
- kind: string | null
7563
- baseUrl: string | null
7564
- apiKey: string | null
7565
- defaultModel: string | null
7566
- capabilities: string | null
7567
- enabled: boolean | null
7568
- createdAt: Date | null
7685
+ startTime: Date | null
7686
+ endTime: Date | null
7687
+ status: string | null
7688
+ attributes: string | null
7689
+ events: string | null
7569
7690
  }
7570
7691
 
7571
- export type ProviderConfigMaxAggregateOutputType = {
7692
+ export type TraceSpanMaxAggregateOutputType = {
7572
7693
  id: string | null
7694
+ traceId: string | null
7695
+ spanId: string | null
7696
+ parentId: string | null
7697
+ taskId: string | null
7573
7698
  name: string | null
7574
- kind: string | null
7575
- baseUrl: string | null
7576
- apiKey: string | null
7577
- defaultModel: string | null
7578
- capabilities: string | null
7579
- enabled: boolean | null
7580
- createdAt: Date | null
7699
+ startTime: Date | null
7700
+ endTime: Date | null
7701
+ status: string | null
7702
+ attributes: string | null
7703
+ events: string | null
7581
7704
  }
7582
7705
 
7583
- export type ProviderConfigCountAggregateOutputType = {
7706
+ export type TraceSpanCountAggregateOutputType = {
7584
7707
  id: number
7708
+ traceId: number
7709
+ spanId: number
7710
+ parentId: number
7711
+ taskId: number
7585
7712
  name: number
7586
- kind: number
7587
- baseUrl: number
7588
- apiKey: number
7589
- defaultModel: number
7590
- capabilities: number
7591
- enabled: number
7592
- createdAt: number
7713
+ startTime: number
7714
+ endTime: number
7715
+ status: number
7716
+ attributes: number
7717
+ events: number
7593
7718
  _all: number
7594
7719
  }
7595
7720
 
7596
7721
 
7597
- export type ProviderConfigMinAggregateInputType = {
7722
+ export type TraceSpanMinAggregateInputType = {
7598
7723
  id?: true
7724
+ traceId?: true
7725
+ spanId?: true
7726
+ parentId?: true
7727
+ taskId?: true
7599
7728
  name?: true
7600
- kind?: true
7601
- baseUrl?: true
7602
- apiKey?: true
7603
- defaultModel?: true
7604
- capabilities?: true
7605
- enabled?: true
7606
- createdAt?: true
7729
+ startTime?: true
7730
+ endTime?: true
7731
+ status?: true
7732
+ attributes?: true
7733
+ events?: true
7607
7734
  }
7608
7735
 
7609
- export type ProviderConfigMaxAggregateInputType = {
7736
+ export type TraceSpanMaxAggregateInputType = {
7610
7737
  id?: true
7738
+ traceId?: true
7739
+ spanId?: true
7740
+ parentId?: true
7741
+ taskId?: true
7611
7742
  name?: true
7612
- kind?: true
7613
- baseUrl?: true
7614
- apiKey?: true
7615
- defaultModel?: true
7616
- capabilities?: true
7617
- enabled?: true
7618
- createdAt?: true
7743
+ startTime?: true
7744
+ endTime?: true
7745
+ status?: true
7746
+ attributes?: true
7747
+ events?: true
7619
7748
  }
7620
7749
 
7621
- export type ProviderConfigCountAggregateInputType = {
7750
+ export type TraceSpanCountAggregateInputType = {
7622
7751
  id?: true
7752
+ traceId?: true
7753
+ spanId?: true
7754
+ parentId?: true
7755
+ taskId?: true
7623
7756
  name?: true
7624
- kind?: true
7625
- baseUrl?: true
7626
- apiKey?: true
7627
- defaultModel?: true
7628
- capabilities?: true
7629
- enabled?: true
7630
- createdAt?: true
7757
+ startTime?: true
7758
+ endTime?: true
7759
+ status?: true
7760
+ attributes?: true
7761
+ events?: true
7631
7762
  _all?: true
7632
7763
  }
7633
7764
 
7634
- export type ProviderConfigAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7765
+ export type TraceSpanAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7635
7766
  /**
7636
- * Filter which ProviderConfig to aggregate.
7767
+ * Filter which TraceSpan to aggregate.
7637
7768
  */
7638
- where?: ProviderConfigWhereInput
7769
+ where?: TraceSpanWhereInput
7639
7770
  /**
7640
7771
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
7641
7772
  *
7642
- * Determine the order of ProviderConfigs to fetch.
7773
+ * Determine the order of TraceSpans to fetch.
7643
7774
  */
7644
- orderBy?: ProviderConfigOrderByWithRelationInput | ProviderConfigOrderByWithRelationInput[]
7775
+ orderBy?: TraceSpanOrderByWithRelationInput | TraceSpanOrderByWithRelationInput[]
7645
7776
  /**
7646
7777
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
7647
7778
  *
7648
7779
  * Sets the start position
7649
7780
  */
7650
- cursor?: ProviderConfigWhereUniqueInput
7781
+ cursor?: TraceSpanWhereUniqueInput
7651
7782
  /**
7652
7783
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
7653
7784
  *
7654
- * Take `±n` ProviderConfigs from the position of the cursor.
7785
+ * Take `±n` TraceSpans from the position of the cursor.
7655
7786
  */
7656
7787
  take?: number
7657
7788
  /**
7658
7789
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
7659
7790
  *
7660
- * Skip the first `n` ProviderConfigs.
7791
+ * Skip the first `n` TraceSpans.
7661
7792
  */
7662
7793
  skip?: number
7663
7794
  /**
7664
7795
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
7665
7796
  *
7666
- * Count returned ProviderConfigs
7797
+ * Count returned TraceSpans
7667
7798
  **/
7668
- _count?: true | ProviderConfigCountAggregateInputType
7799
+ _count?: true | TraceSpanCountAggregateInputType
7669
7800
  /**
7670
7801
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
7671
7802
  *
7672
7803
  * Select which fields to find the minimum value
7673
7804
  **/
7674
- _min?: ProviderConfigMinAggregateInputType
7805
+ _min?: TraceSpanMinAggregateInputType
7675
7806
  /**
7676
7807
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
7677
7808
  *
7678
7809
  * Select which fields to find the maximum value
7679
7810
  **/
7680
- _max?: ProviderConfigMaxAggregateInputType
7811
+ _max?: TraceSpanMaxAggregateInputType
7681
7812
  }
7682
7813
 
7683
- export type GetProviderConfigAggregateType<T extends ProviderConfigAggregateArgs> = {
7684
- [P in keyof T & keyof AggregateProviderConfig]: P extends '_count' | 'count'
7814
+ export type GetTraceSpanAggregateType<T extends TraceSpanAggregateArgs> = {
7815
+ [P in keyof T & keyof AggregateTraceSpan]: P extends '_count' | 'count'
7685
7816
  ? T[P] extends true
7686
7817
  ? number
7687
- : GetScalarType<T[P], AggregateProviderConfig[P]>
7688
- : GetScalarType<T[P], AggregateProviderConfig[P]>
7818
+ : GetScalarType<T[P], AggregateTraceSpan[P]>
7819
+ : GetScalarType<T[P], AggregateTraceSpan[P]>
7689
7820
  }
7690
7821
 
7691
7822
 
7692
7823
 
7693
7824
 
7694
- export type ProviderConfigGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7695
- where?: ProviderConfigWhereInput
7696
- orderBy?: ProviderConfigOrderByWithAggregationInput | ProviderConfigOrderByWithAggregationInput[]
7697
- by: ProviderConfigScalarFieldEnum[] | ProviderConfigScalarFieldEnum
7698
- having?: ProviderConfigScalarWhereWithAggregatesInput
7825
+ export type TraceSpanGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7826
+ where?: TraceSpanWhereInput
7827
+ orderBy?: TraceSpanOrderByWithAggregationInput | TraceSpanOrderByWithAggregationInput[]
7828
+ by: TraceSpanScalarFieldEnum[] | TraceSpanScalarFieldEnum
7829
+ having?: TraceSpanScalarWhereWithAggregatesInput
7699
7830
  take?: number
7700
7831
  skip?: number
7701
- _count?: ProviderConfigCountAggregateInputType | true
7702
- _min?: ProviderConfigMinAggregateInputType
7703
- _max?: ProviderConfigMaxAggregateInputType
7832
+ _count?: TraceSpanCountAggregateInputType | true
7833
+ _min?: TraceSpanMinAggregateInputType
7834
+ _max?: TraceSpanMaxAggregateInputType
7704
7835
  }
7705
7836
 
7706
- export type ProviderConfigGroupByOutputType = {
7837
+ export type TraceSpanGroupByOutputType = {
7707
7838
  id: string
7839
+ traceId: string
7840
+ spanId: string
7841
+ parentId: string | null
7842
+ taskId: string | null
7708
7843
  name: string
7709
- kind: string
7710
- baseUrl: string | null
7711
- apiKey: string | null
7712
- defaultModel: string
7713
- capabilities: string
7714
- enabled: boolean
7715
- createdAt: Date
7716
- _count: ProviderConfigCountAggregateOutputType | null
7717
- _min: ProviderConfigMinAggregateOutputType | null
7718
- _max: ProviderConfigMaxAggregateOutputType | null
7844
+ startTime: Date
7845
+ endTime: Date | null
7846
+ status: string
7847
+ attributes: string | null
7848
+ events: string | null
7849
+ _count: TraceSpanCountAggregateOutputType | null
7850
+ _min: TraceSpanMinAggregateOutputType | null
7851
+ _max: TraceSpanMaxAggregateOutputType | null
7719
7852
  }
7720
7853
 
7721
- type GetProviderConfigGroupByPayload<T extends ProviderConfigGroupByArgs> = Prisma.PrismaPromise<
7854
+ type GetTraceSpanGroupByPayload<T extends TraceSpanGroupByArgs> = Prisma.PrismaPromise<
7722
7855
  Array<
7723
- PickEnumerable<ProviderConfigGroupByOutputType, T['by']> &
7856
+ PickEnumerable<TraceSpanGroupByOutputType, T['by']> &
7724
7857
  {
7725
- [P in ((keyof T) & (keyof ProviderConfigGroupByOutputType))]: P extends '_count'
7858
+ [P in ((keyof T) & (keyof TraceSpanGroupByOutputType))]: P extends '_count'
7726
7859
  ? T[P] extends boolean
7727
7860
  ? number
7728
- : GetScalarType<T[P], ProviderConfigGroupByOutputType[P]>
7729
- : GetScalarType<T[P], ProviderConfigGroupByOutputType[P]>
7861
+ : GetScalarType<T[P], TraceSpanGroupByOutputType[P]>
7862
+ : GetScalarType<T[P], TraceSpanGroupByOutputType[P]>
7730
7863
  }
7731
7864
  >
7732
7865
  >
7733
7866
 
7734
7867
 
7735
- export type ProviderConfigSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
7868
+ export type TraceSpanSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
7736
7869
  id?: boolean
7870
+ traceId?: boolean
7871
+ spanId?: boolean
7872
+ parentId?: boolean
7873
+ taskId?: boolean
7737
7874
  name?: boolean
7738
- kind?: boolean
7739
- baseUrl?: boolean
7740
- apiKey?: boolean
7741
- defaultModel?: boolean
7742
- capabilities?: boolean
7743
- enabled?: boolean
7744
- createdAt?: boolean
7745
- }, ExtArgs["result"]["providerConfig"]>
7875
+ startTime?: boolean
7876
+ endTime?: boolean
7877
+ status?: boolean
7878
+ attributes?: boolean
7879
+ events?: boolean
7880
+ task?: boolean | TraceSpan$taskArgs<ExtArgs>
7881
+ }, ExtArgs["result"]["traceSpan"]>
7746
7882
 
7747
- export type ProviderConfigSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
7883
+ export type TraceSpanSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
7748
7884
  id?: boolean
7885
+ traceId?: boolean
7886
+ spanId?: boolean
7887
+ parentId?: boolean
7888
+ taskId?: boolean
7749
7889
  name?: boolean
7750
- kind?: boolean
7751
- baseUrl?: boolean
7752
- apiKey?: boolean
7753
- defaultModel?: boolean
7754
- capabilities?: boolean
7755
- enabled?: boolean
7756
- createdAt?: boolean
7757
- }, ExtArgs["result"]["providerConfig"]>
7890
+ startTime?: boolean
7891
+ endTime?: boolean
7892
+ status?: boolean
7893
+ attributes?: boolean
7894
+ events?: boolean
7895
+ task?: boolean | TraceSpan$taskArgs<ExtArgs>
7896
+ }, ExtArgs["result"]["traceSpan"]>
7758
7897
 
7759
- export type ProviderConfigSelectScalar = {
7898
+ export type TraceSpanSelectScalar = {
7760
7899
  id?: boolean
7900
+ traceId?: boolean
7901
+ spanId?: boolean
7902
+ parentId?: boolean
7903
+ taskId?: boolean
7761
7904
  name?: boolean
7762
- kind?: boolean
7763
- baseUrl?: boolean
7764
- apiKey?: boolean
7765
- defaultModel?: boolean
7766
- capabilities?: boolean
7767
- enabled?: boolean
7768
- createdAt?: boolean
7905
+ startTime?: boolean
7906
+ endTime?: boolean
7907
+ status?: boolean
7908
+ attributes?: boolean
7909
+ events?: boolean
7769
7910
  }
7770
7911
 
7912
+ export type TraceSpanInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7913
+ task?: boolean | TraceSpan$taskArgs<ExtArgs>
7914
+ }
7915
+ export type TraceSpanIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7916
+ task?: boolean | TraceSpan$taskArgs<ExtArgs>
7917
+ }
7771
7918
 
7772
- export type $ProviderConfigPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7773
- name: "ProviderConfig"
7774
- objects: {}
7919
+ export type $TraceSpanPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7920
+ name: "TraceSpan"
7921
+ objects: {
7922
+ task: Prisma.$TaskPayload<ExtArgs> | null
7923
+ }
7775
7924
  scalars: $Extensions.GetPayloadResult<{
7776
7925
  id: string
7926
+ traceId: string
7927
+ spanId: string
7928
+ parentId: string | null
7929
+ taskId: string | null
7777
7930
  name: string
7778
- kind: string
7779
- baseUrl: string | null
7780
- apiKey: string | null
7781
- defaultModel: string
7782
- capabilities: string
7783
- enabled: boolean
7784
- createdAt: Date
7785
- }, ExtArgs["result"]["providerConfig"]>
7931
+ startTime: Date
7932
+ endTime: Date | null
7933
+ status: string
7934
+ attributes: string | null
7935
+ events: string | null
7936
+ }, ExtArgs["result"]["traceSpan"]>
7786
7937
  composites: {}
7787
7938
  }
7788
7939
 
7789
- type ProviderConfigGetPayload<S extends boolean | null | undefined | ProviderConfigDefaultArgs> = $Result.GetResult<Prisma.$ProviderConfigPayload, S>
7940
+ type TraceSpanGetPayload<S extends boolean | null | undefined | TraceSpanDefaultArgs> = $Result.GetResult<Prisma.$TraceSpanPayload, S>
7790
7941
 
7791
- type ProviderConfigCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
7792
- Omit<ProviderConfigFindManyArgs, 'select' | 'include' | 'distinct'> & {
7793
- select?: ProviderConfigCountAggregateInputType | true
7942
+ type TraceSpanCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
7943
+ Omit<TraceSpanFindManyArgs, 'select' | 'include' | 'distinct'> & {
7944
+ select?: TraceSpanCountAggregateInputType | true
7794
7945
  }
7795
7946
 
7796
- export interface ProviderConfigDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
7797
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProviderConfig'], meta: { name: 'ProviderConfig' } }
7947
+ export interface TraceSpanDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
7948
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TraceSpan'], meta: { name: 'TraceSpan' } }
7798
7949
  /**
7799
- * Find zero or one ProviderConfig that matches the filter.
7800
- * @param {ProviderConfigFindUniqueArgs} args - Arguments to find a ProviderConfig
7950
+ * Find zero or one TraceSpan that matches the filter.
7951
+ * @param {TraceSpanFindUniqueArgs} args - Arguments to find a TraceSpan
7801
7952
  * @example
7802
- * // Get one ProviderConfig
7803
- * const providerConfig = await prisma.providerConfig.findUnique({
7953
+ * // Get one TraceSpan
7954
+ * const traceSpan = await prisma.traceSpan.findUnique({
7804
7955
  * where: {
7805
7956
  * // ... provide filter here
7806
7957
  * }
7807
7958
  * })
7808
7959
  */
7809
- findUnique<T extends ProviderConfigFindUniqueArgs>(args: SelectSubset<T, ProviderConfigFindUniqueArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
7960
+ findUnique<T extends TraceSpanFindUniqueArgs>(args: SelectSubset<T, TraceSpanFindUniqueArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
7810
7961
 
7811
7962
  /**
7812
- * Find one ProviderConfig that matches the filter or throw an error with `error.code='P2025'`
7963
+ * Find one TraceSpan that matches the filter or throw an error with `error.code='P2025'`
7813
7964
  * if no matches were found.
7814
- * @param {ProviderConfigFindUniqueOrThrowArgs} args - Arguments to find a ProviderConfig
7965
+ * @param {TraceSpanFindUniqueOrThrowArgs} args - Arguments to find a TraceSpan
7815
7966
  * @example
7816
- * // Get one ProviderConfig
7817
- * const providerConfig = await prisma.providerConfig.findUniqueOrThrow({
7967
+ * // Get one TraceSpan
7968
+ * const traceSpan = await prisma.traceSpan.findUniqueOrThrow({
7818
7969
  * where: {
7819
7970
  * // ... provide filter here
7820
7971
  * }
7821
7972
  * })
7822
7973
  */
7823
- findUniqueOrThrow<T extends ProviderConfigFindUniqueOrThrowArgs>(args: SelectSubset<T, ProviderConfigFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
7974
+ findUniqueOrThrow<T extends TraceSpanFindUniqueOrThrowArgs>(args: SelectSubset<T, TraceSpanFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
7824
7975
 
7825
7976
  /**
7826
- * Find the first ProviderConfig that matches the filter.
7977
+ * Find the first TraceSpan that matches the filter.
7827
7978
  * Note, that providing `undefined` is treated as the value not being there.
7828
7979
  * Read more here: https://pris.ly/d/null-undefined
7829
- * @param {ProviderConfigFindFirstArgs} args - Arguments to find a ProviderConfig
7980
+ * @param {TraceSpanFindFirstArgs} args - Arguments to find a TraceSpan
7830
7981
  * @example
7831
- * // Get one ProviderConfig
7832
- * const providerConfig = await prisma.providerConfig.findFirst({
7982
+ * // Get one TraceSpan
7983
+ * const traceSpan = await prisma.traceSpan.findFirst({
7833
7984
  * where: {
7834
7985
  * // ... provide filter here
7835
7986
  * }
7836
7987
  * })
7837
7988
  */
7838
- findFirst<T extends ProviderConfigFindFirstArgs>(args?: SelectSubset<T, ProviderConfigFindFirstArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
7989
+ findFirst<T extends TraceSpanFindFirstArgs>(args?: SelectSubset<T, TraceSpanFindFirstArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
7839
7990
 
7840
7991
  /**
7841
- * Find the first ProviderConfig that matches the filter or
7992
+ * Find the first TraceSpan that matches the filter or
7842
7993
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
7843
7994
  * Note, that providing `undefined` is treated as the value not being there.
7844
7995
  * Read more here: https://pris.ly/d/null-undefined
7845
- * @param {ProviderConfigFindFirstOrThrowArgs} args - Arguments to find a ProviderConfig
7996
+ * @param {TraceSpanFindFirstOrThrowArgs} args - Arguments to find a TraceSpan
7846
7997
  * @example
7847
- * // Get one ProviderConfig
7848
- * const providerConfig = await prisma.providerConfig.findFirstOrThrow({
7998
+ * // Get one TraceSpan
7999
+ * const traceSpan = await prisma.traceSpan.findFirstOrThrow({
7849
8000
  * where: {
7850
8001
  * // ... provide filter here
7851
8002
  * }
7852
8003
  * })
7853
8004
  */
7854
- findFirstOrThrow<T extends ProviderConfigFindFirstOrThrowArgs>(args?: SelectSubset<T, ProviderConfigFindFirstOrThrowArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
8005
+ findFirstOrThrow<T extends TraceSpanFindFirstOrThrowArgs>(args?: SelectSubset<T, TraceSpanFindFirstOrThrowArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
7855
8006
 
7856
8007
  /**
7857
- * Find zero or more ProviderConfigs that matches the filter.
8008
+ * Find zero or more TraceSpans that matches the filter.
7858
8009
  * Note, that providing `undefined` is treated as the value not being there.
7859
8010
  * Read more here: https://pris.ly/d/null-undefined
7860
- * @param {ProviderConfigFindManyArgs} args - Arguments to filter and select certain fields only.
8011
+ * @param {TraceSpanFindManyArgs} args - Arguments to filter and select certain fields only.
7861
8012
  * @example
7862
- * // Get all ProviderConfigs
7863
- * const providerConfigs = await prisma.providerConfig.findMany()
8013
+ * // Get all TraceSpans
8014
+ * const traceSpans = await prisma.traceSpan.findMany()
7864
8015
  *
7865
- * // Get first 10 ProviderConfigs
7866
- * const providerConfigs = await prisma.providerConfig.findMany({ take: 10 })
8016
+ * // Get first 10 TraceSpans
8017
+ * const traceSpans = await prisma.traceSpan.findMany({ take: 10 })
7867
8018
  *
7868
8019
  * // Only select the `id`
7869
- * const providerConfigWithIdOnly = await prisma.providerConfig.findMany({ select: { id: true } })
8020
+ * const traceSpanWithIdOnly = await prisma.traceSpan.findMany({ select: { id: true } })
7870
8021
  *
7871
8022
  */
7872
- findMany<T extends ProviderConfigFindManyArgs>(args?: SelectSubset<T, ProviderConfigFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findMany">>
8023
+ findMany<T extends TraceSpanFindManyArgs>(args?: SelectSubset<T, TraceSpanFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "findMany">>
7873
8024
 
7874
8025
  /**
7875
- * Create a ProviderConfig.
7876
- * @param {ProviderConfigCreateArgs} args - Arguments to create a ProviderConfig.
8026
+ * Create a TraceSpan.
8027
+ * @param {TraceSpanCreateArgs} args - Arguments to create a TraceSpan.
7877
8028
  * @example
7878
- * // Create one ProviderConfig
7879
- * const ProviderConfig = await prisma.providerConfig.create({
8029
+ * // Create one TraceSpan
8030
+ * const TraceSpan = await prisma.traceSpan.create({
8031
+ * data: {
8032
+ * // ... data to create a TraceSpan
8033
+ * }
8034
+ * })
8035
+ *
8036
+ */
8037
+ create<T extends TraceSpanCreateArgs>(args: SelectSubset<T, TraceSpanCreateArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "create">, never, ExtArgs>
8038
+
8039
+ /**
8040
+ * Create many TraceSpans.
8041
+ * @param {TraceSpanCreateManyArgs} args - Arguments to create many TraceSpans.
8042
+ * @example
8043
+ * // Create many TraceSpans
8044
+ * const traceSpan = await prisma.traceSpan.createMany({
8045
+ * data: [
8046
+ * // ... provide data here
8047
+ * ]
8048
+ * })
8049
+ *
8050
+ */
8051
+ createMany<T extends TraceSpanCreateManyArgs>(args?: SelectSubset<T, TraceSpanCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
8052
+
8053
+ /**
8054
+ * Create many TraceSpans and returns the data saved in the database.
8055
+ * @param {TraceSpanCreateManyAndReturnArgs} args - Arguments to create many TraceSpans.
8056
+ * @example
8057
+ * // Create many TraceSpans
8058
+ * const traceSpan = await prisma.traceSpan.createManyAndReturn({
8059
+ * data: [
8060
+ * // ... provide data here
8061
+ * ]
8062
+ * })
8063
+ *
8064
+ * // Create many TraceSpans and only return the `id`
8065
+ * const traceSpanWithIdOnly = await prisma.traceSpan.createManyAndReturn({
8066
+ * select: { id: true },
8067
+ * data: [
8068
+ * // ... provide data here
8069
+ * ]
8070
+ * })
8071
+ * Note, that providing `undefined` is treated as the value not being there.
8072
+ * Read more here: https://pris.ly/d/null-undefined
8073
+ *
8074
+ */
8075
+ createManyAndReturn<T extends TraceSpanCreateManyAndReturnArgs>(args?: SelectSubset<T, TraceSpanCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "createManyAndReturn">>
8076
+
8077
+ /**
8078
+ * Delete a TraceSpan.
8079
+ * @param {TraceSpanDeleteArgs} args - Arguments to delete one TraceSpan.
8080
+ * @example
8081
+ * // Delete one TraceSpan
8082
+ * const TraceSpan = await prisma.traceSpan.delete({
8083
+ * where: {
8084
+ * // ... filter to delete one TraceSpan
8085
+ * }
8086
+ * })
8087
+ *
8088
+ */
8089
+ delete<T extends TraceSpanDeleteArgs>(args: SelectSubset<T, TraceSpanDeleteArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "delete">, never, ExtArgs>
8090
+
8091
+ /**
8092
+ * Update one TraceSpan.
8093
+ * @param {TraceSpanUpdateArgs} args - Arguments to update one TraceSpan.
8094
+ * @example
8095
+ * // Update one TraceSpan
8096
+ * const traceSpan = await prisma.traceSpan.update({
8097
+ * where: {
8098
+ * // ... provide filter here
8099
+ * },
8100
+ * data: {
8101
+ * // ... provide data here
8102
+ * }
8103
+ * })
8104
+ *
8105
+ */
8106
+ update<T extends TraceSpanUpdateArgs>(args: SelectSubset<T, TraceSpanUpdateArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "update">, never, ExtArgs>
8107
+
8108
+ /**
8109
+ * Delete zero or more TraceSpans.
8110
+ * @param {TraceSpanDeleteManyArgs} args - Arguments to filter TraceSpans to delete.
8111
+ * @example
8112
+ * // Delete a few TraceSpans
8113
+ * const { count } = await prisma.traceSpan.deleteMany({
8114
+ * where: {
8115
+ * // ... provide filter here
8116
+ * }
8117
+ * })
8118
+ *
8119
+ */
8120
+ deleteMany<T extends TraceSpanDeleteManyArgs>(args?: SelectSubset<T, TraceSpanDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
8121
+
8122
+ /**
8123
+ * Update zero or more TraceSpans.
8124
+ * Note, that providing `undefined` is treated as the value not being there.
8125
+ * Read more here: https://pris.ly/d/null-undefined
8126
+ * @param {TraceSpanUpdateManyArgs} args - Arguments to update one or more rows.
8127
+ * @example
8128
+ * // Update many TraceSpans
8129
+ * const traceSpan = await prisma.traceSpan.updateMany({
8130
+ * where: {
8131
+ * // ... provide filter here
8132
+ * },
8133
+ * data: {
8134
+ * // ... provide data here
8135
+ * }
8136
+ * })
8137
+ *
8138
+ */
8139
+ updateMany<T extends TraceSpanUpdateManyArgs>(args: SelectSubset<T, TraceSpanUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
8140
+
8141
+ /**
8142
+ * Create or update one TraceSpan.
8143
+ * @param {TraceSpanUpsertArgs} args - Arguments to update or create a TraceSpan.
8144
+ * @example
8145
+ * // Update or create a TraceSpan
8146
+ * const traceSpan = await prisma.traceSpan.upsert({
8147
+ * create: {
8148
+ * // ... data to create a TraceSpan
8149
+ * },
8150
+ * update: {
8151
+ * // ... in case it already exists, update
8152
+ * },
8153
+ * where: {
8154
+ * // ... the filter for the TraceSpan we want to update
8155
+ * }
8156
+ * })
8157
+ */
8158
+ upsert<T extends TraceSpanUpsertArgs>(args: SelectSubset<T, TraceSpanUpsertArgs<ExtArgs>>): Prisma__TraceSpanClient<$Result.GetResult<Prisma.$TraceSpanPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
8159
+
8160
+
8161
+ /**
8162
+ * Count the number of TraceSpans.
8163
+ * Note, that providing `undefined` is treated as the value not being there.
8164
+ * Read more here: https://pris.ly/d/null-undefined
8165
+ * @param {TraceSpanCountArgs} args - Arguments to filter TraceSpans to count.
8166
+ * @example
8167
+ * // Count the number of TraceSpans
8168
+ * const count = await prisma.traceSpan.count({
8169
+ * where: {
8170
+ * // ... the filter for the TraceSpans we want to count
8171
+ * }
8172
+ * })
8173
+ **/
8174
+ count<T extends TraceSpanCountArgs>(
8175
+ args?: Subset<T, TraceSpanCountArgs>,
8176
+ ): Prisma.PrismaPromise<
8177
+ T extends $Utils.Record<'select', any>
8178
+ ? T['select'] extends true
8179
+ ? number
8180
+ : GetScalarType<T['select'], TraceSpanCountAggregateOutputType>
8181
+ : number
8182
+ >
8183
+
8184
+ /**
8185
+ * Allows you to perform aggregations operations on a TraceSpan.
8186
+ * Note, that providing `undefined` is treated as the value not being there.
8187
+ * Read more here: https://pris.ly/d/null-undefined
8188
+ * @param {TraceSpanAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
8189
+ * @example
8190
+ * // Ordered by age ascending
8191
+ * // Where email contains prisma.io
8192
+ * // Limited to the 10 users
8193
+ * const aggregations = await prisma.user.aggregate({
8194
+ * _avg: {
8195
+ * age: true,
8196
+ * },
8197
+ * where: {
8198
+ * email: {
8199
+ * contains: "prisma.io",
8200
+ * },
8201
+ * },
8202
+ * orderBy: {
8203
+ * age: "asc",
8204
+ * },
8205
+ * take: 10,
8206
+ * })
8207
+ **/
8208
+ aggregate<T extends TraceSpanAggregateArgs>(args: Subset<T, TraceSpanAggregateArgs>): Prisma.PrismaPromise<GetTraceSpanAggregateType<T>>
8209
+
8210
+ /**
8211
+ * Group by TraceSpan.
8212
+ * Note, that providing `undefined` is treated as the value not being there.
8213
+ * Read more here: https://pris.ly/d/null-undefined
8214
+ * @param {TraceSpanGroupByArgs} args - Group by arguments.
8215
+ * @example
8216
+ * // Group by city, order by createdAt, get count
8217
+ * const result = await prisma.user.groupBy({
8218
+ * by: ['city', 'createdAt'],
8219
+ * orderBy: {
8220
+ * createdAt: true
8221
+ * },
8222
+ * _count: {
8223
+ * _all: true
8224
+ * },
8225
+ * })
8226
+ *
8227
+ **/
8228
+ groupBy<
8229
+ T extends TraceSpanGroupByArgs,
8230
+ HasSelectOrTake extends Or<
8231
+ Extends<'skip', Keys<T>>,
8232
+ Extends<'take', Keys<T>>
8233
+ >,
8234
+ OrderByArg extends True extends HasSelectOrTake
8235
+ ? { orderBy: TraceSpanGroupByArgs['orderBy'] }
8236
+ : { orderBy?: TraceSpanGroupByArgs['orderBy'] },
8237
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
8238
+ ByFields extends MaybeTupleToUnion<T['by']>,
8239
+ ByValid extends Has<ByFields, OrderFields>,
8240
+ HavingFields extends GetHavingFields<T['having']>,
8241
+ HavingValid extends Has<ByFields, HavingFields>,
8242
+ ByEmpty extends T['by'] extends never[] ? True : False,
8243
+ InputErrors extends ByEmpty extends True
8244
+ ? `Error: "by" must not be empty.`
8245
+ : HavingValid extends False
8246
+ ? {
8247
+ [P in HavingFields]: P extends ByFields
8248
+ ? never
8249
+ : P extends string
8250
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
8251
+ : [
8252
+ Error,
8253
+ 'Field ',
8254
+ P,
8255
+ ` in "having" needs to be provided in "by"`,
8256
+ ]
8257
+ }[HavingFields]
8258
+ : 'take' extends Keys<T>
8259
+ ? 'orderBy' extends Keys<T>
8260
+ ? ByValid extends True
8261
+ ? {}
8262
+ : {
8263
+ [P in OrderFields]: P extends ByFields
8264
+ ? never
8265
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
8266
+ }[OrderFields]
8267
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
8268
+ : 'skip' extends Keys<T>
8269
+ ? 'orderBy' extends Keys<T>
8270
+ ? ByValid extends True
8271
+ ? {}
8272
+ : {
8273
+ [P in OrderFields]: P extends ByFields
8274
+ ? never
8275
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
8276
+ }[OrderFields]
8277
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
8278
+ : ByValid extends True
8279
+ ? {}
8280
+ : {
8281
+ [P in OrderFields]: P extends ByFields
8282
+ ? never
8283
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
8284
+ }[OrderFields]
8285
+ >(args: SubsetIntersection<T, TraceSpanGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTraceSpanGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
8286
+ /**
8287
+ * Fields of the TraceSpan model
8288
+ */
8289
+ readonly fields: TraceSpanFieldRefs;
8290
+ }
8291
+
8292
+ /**
8293
+ * The delegate class that acts as a "Promise-like" for TraceSpan.
8294
+ * Why is this prefixed with `Prisma__`?
8295
+ * Because we want to prevent naming conflicts as mentioned in
8296
+ * https://github.com/prisma/prisma-client-js/issues/707
8297
+ */
8298
+ export interface Prisma__TraceSpanClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
8299
+ readonly [Symbol.toStringTag]: "PrismaPromise"
8300
+ task<T extends TraceSpan$taskArgs<ExtArgs> = {}>(args?: Subset<T, TraceSpan$taskArgs<ExtArgs>>): Prisma__TaskClient<$Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
8301
+ /**
8302
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
8303
+ * @param onfulfilled The callback to execute when the Promise is resolved.
8304
+ * @param onrejected The callback to execute when the Promise is rejected.
8305
+ * @returns A Promise for the completion of which ever callback is executed.
8306
+ */
8307
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
8308
+ /**
8309
+ * Attaches a callback for only the rejection of the Promise.
8310
+ * @param onrejected The callback to execute when the Promise is rejected.
8311
+ * @returns A Promise for the completion of the callback.
8312
+ */
8313
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
8314
+ /**
8315
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
8316
+ * resolved value cannot be modified from the callback.
8317
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
8318
+ * @returns A Promise for the completion of the callback.
8319
+ */
8320
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
8321
+ }
8322
+
8323
+
8324
+
8325
+
8326
+ /**
8327
+ * Fields of the TraceSpan model
8328
+ */
8329
+ interface TraceSpanFieldRefs {
8330
+ readonly id: FieldRef<"TraceSpan", 'String'>
8331
+ readonly traceId: FieldRef<"TraceSpan", 'String'>
8332
+ readonly spanId: FieldRef<"TraceSpan", 'String'>
8333
+ readonly parentId: FieldRef<"TraceSpan", 'String'>
8334
+ readonly taskId: FieldRef<"TraceSpan", 'String'>
8335
+ readonly name: FieldRef<"TraceSpan", 'String'>
8336
+ readonly startTime: FieldRef<"TraceSpan", 'DateTime'>
8337
+ readonly endTime: FieldRef<"TraceSpan", 'DateTime'>
8338
+ readonly status: FieldRef<"TraceSpan", 'String'>
8339
+ readonly attributes: FieldRef<"TraceSpan", 'String'>
8340
+ readonly events: FieldRef<"TraceSpan", 'String'>
8341
+ }
8342
+
8343
+
8344
+ // Custom InputTypes
8345
+ /**
8346
+ * TraceSpan findUnique
8347
+ */
8348
+ export type TraceSpanFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8349
+ /**
8350
+ * Select specific fields to fetch from the TraceSpan
8351
+ */
8352
+ select?: TraceSpanSelect<ExtArgs> | null
8353
+ /**
8354
+ * Choose, which related nodes to fetch as well
8355
+ */
8356
+ include?: TraceSpanInclude<ExtArgs> | null
8357
+ /**
8358
+ * Filter, which TraceSpan to fetch.
8359
+ */
8360
+ where: TraceSpanWhereUniqueInput
8361
+ }
8362
+
8363
+ /**
8364
+ * TraceSpan findUniqueOrThrow
8365
+ */
8366
+ export type TraceSpanFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8367
+ /**
8368
+ * Select specific fields to fetch from the TraceSpan
8369
+ */
8370
+ select?: TraceSpanSelect<ExtArgs> | null
8371
+ /**
8372
+ * Choose, which related nodes to fetch as well
8373
+ */
8374
+ include?: TraceSpanInclude<ExtArgs> | null
8375
+ /**
8376
+ * Filter, which TraceSpan to fetch.
8377
+ */
8378
+ where: TraceSpanWhereUniqueInput
8379
+ }
8380
+
8381
+ /**
8382
+ * TraceSpan findFirst
8383
+ */
8384
+ export type TraceSpanFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8385
+ /**
8386
+ * Select specific fields to fetch from the TraceSpan
8387
+ */
8388
+ select?: TraceSpanSelect<ExtArgs> | null
8389
+ /**
8390
+ * Choose, which related nodes to fetch as well
8391
+ */
8392
+ include?: TraceSpanInclude<ExtArgs> | null
8393
+ /**
8394
+ * Filter, which TraceSpan to fetch.
8395
+ */
8396
+ where?: TraceSpanWhereInput
8397
+ /**
8398
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8399
+ *
8400
+ * Determine the order of TraceSpans to fetch.
8401
+ */
8402
+ orderBy?: TraceSpanOrderByWithRelationInput | TraceSpanOrderByWithRelationInput[]
8403
+ /**
8404
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8405
+ *
8406
+ * Sets the position for searching for TraceSpans.
8407
+ */
8408
+ cursor?: TraceSpanWhereUniqueInput
8409
+ /**
8410
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8411
+ *
8412
+ * Take `±n` TraceSpans from the position of the cursor.
8413
+ */
8414
+ take?: number
8415
+ /**
8416
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8417
+ *
8418
+ * Skip the first `n` TraceSpans.
8419
+ */
8420
+ skip?: number
8421
+ /**
8422
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
8423
+ *
8424
+ * Filter by unique combinations of TraceSpans.
8425
+ */
8426
+ distinct?: TraceSpanScalarFieldEnum | TraceSpanScalarFieldEnum[]
8427
+ }
8428
+
8429
+ /**
8430
+ * TraceSpan findFirstOrThrow
8431
+ */
8432
+ export type TraceSpanFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8433
+ /**
8434
+ * Select specific fields to fetch from the TraceSpan
8435
+ */
8436
+ select?: TraceSpanSelect<ExtArgs> | null
8437
+ /**
8438
+ * Choose, which related nodes to fetch as well
8439
+ */
8440
+ include?: TraceSpanInclude<ExtArgs> | null
8441
+ /**
8442
+ * Filter, which TraceSpan to fetch.
8443
+ */
8444
+ where?: TraceSpanWhereInput
8445
+ /**
8446
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8447
+ *
8448
+ * Determine the order of TraceSpans to fetch.
8449
+ */
8450
+ orderBy?: TraceSpanOrderByWithRelationInput | TraceSpanOrderByWithRelationInput[]
8451
+ /**
8452
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8453
+ *
8454
+ * Sets the position for searching for TraceSpans.
8455
+ */
8456
+ cursor?: TraceSpanWhereUniqueInput
8457
+ /**
8458
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8459
+ *
8460
+ * Take `±n` TraceSpans from the position of the cursor.
8461
+ */
8462
+ take?: number
8463
+ /**
8464
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8465
+ *
8466
+ * Skip the first `n` TraceSpans.
8467
+ */
8468
+ skip?: number
8469
+ /**
8470
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
8471
+ *
8472
+ * Filter by unique combinations of TraceSpans.
8473
+ */
8474
+ distinct?: TraceSpanScalarFieldEnum | TraceSpanScalarFieldEnum[]
8475
+ }
8476
+
8477
+ /**
8478
+ * TraceSpan findMany
8479
+ */
8480
+ export type TraceSpanFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8481
+ /**
8482
+ * Select specific fields to fetch from the TraceSpan
8483
+ */
8484
+ select?: TraceSpanSelect<ExtArgs> | null
8485
+ /**
8486
+ * Choose, which related nodes to fetch as well
8487
+ */
8488
+ include?: TraceSpanInclude<ExtArgs> | null
8489
+ /**
8490
+ * Filter, which TraceSpans to fetch.
8491
+ */
8492
+ where?: TraceSpanWhereInput
8493
+ /**
8494
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8495
+ *
8496
+ * Determine the order of TraceSpans to fetch.
8497
+ */
8498
+ orderBy?: TraceSpanOrderByWithRelationInput | TraceSpanOrderByWithRelationInput[]
8499
+ /**
8500
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8501
+ *
8502
+ * Sets the position for listing TraceSpans.
8503
+ */
8504
+ cursor?: TraceSpanWhereUniqueInput
8505
+ /**
8506
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8507
+ *
8508
+ * Take `±n` TraceSpans from the position of the cursor.
8509
+ */
8510
+ take?: number
8511
+ /**
8512
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8513
+ *
8514
+ * Skip the first `n` TraceSpans.
8515
+ */
8516
+ skip?: number
8517
+ distinct?: TraceSpanScalarFieldEnum | TraceSpanScalarFieldEnum[]
8518
+ }
8519
+
8520
+ /**
8521
+ * TraceSpan create
8522
+ */
8523
+ export type TraceSpanCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8524
+ /**
8525
+ * Select specific fields to fetch from the TraceSpan
8526
+ */
8527
+ select?: TraceSpanSelect<ExtArgs> | null
8528
+ /**
8529
+ * Choose, which related nodes to fetch as well
8530
+ */
8531
+ include?: TraceSpanInclude<ExtArgs> | null
8532
+ /**
8533
+ * The data needed to create a TraceSpan.
8534
+ */
8535
+ data: XOR<TraceSpanCreateInput, TraceSpanUncheckedCreateInput>
8536
+ }
8537
+
8538
+ /**
8539
+ * TraceSpan createMany
8540
+ */
8541
+ export type TraceSpanCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8542
+ /**
8543
+ * The data used to create many TraceSpans.
8544
+ */
8545
+ data: TraceSpanCreateManyInput | TraceSpanCreateManyInput[]
8546
+ skipDuplicates?: boolean
8547
+ }
8548
+
8549
+ /**
8550
+ * TraceSpan createManyAndReturn
8551
+ */
8552
+ export type TraceSpanCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8553
+ /**
8554
+ * Select specific fields to fetch from the TraceSpan
8555
+ */
8556
+ select?: TraceSpanSelectCreateManyAndReturn<ExtArgs> | null
8557
+ /**
8558
+ * The data used to create many TraceSpans.
8559
+ */
8560
+ data: TraceSpanCreateManyInput | TraceSpanCreateManyInput[]
8561
+ skipDuplicates?: boolean
8562
+ /**
8563
+ * Choose, which related nodes to fetch as well
8564
+ */
8565
+ include?: TraceSpanIncludeCreateManyAndReturn<ExtArgs> | null
8566
+ }
8567
+
8568
+ /**
8569
+ * TraceSpan update
8570
+ */
8571
+ export type TraceSpanUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8572
+ /**
8573
+ * Select specific fields to fetch from the TraceSpan
8574
+ */
8575
+ select?: TraceSpanSelect<ExtArgs> | null
8576
+ /**
8577
+ * Choose, which related nodes to fetch as well
8578
+ */
8579
+ include?: TraceSpanInclude<ExtArgs> | null
8580
+ /**
8581
+ * The data needed to update a TraceSpan.
8582
+ */
8583
+ data: XOR<TraceSpanUpdateInput, TraceSpanUncheckedUpdateInput>
8584
+ /**
8585
+ * Choose, which TraceSpan to update.
8586
+ */
8587
+ where: TraceSpanWhereUniqueInput
8588
+ }
8589
+
8590
+ /**
8591
+ * TraceSpan updateMany
8592
+ */
8593
+ export type TraceSpanUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8594
+ /**
8595
+ * The data used to update TraceSpans.
8596
+ */
8597
+ data: XOR<TraceSpanUpdateManyMutationInput, TraceSpanUncheckedUpdateManyInput>
8598
+ /**
8599
+ * Filter which TraceSpans to update
8600
+ */
8601
+ where?: TraceSpanWhereInput
8602
+ }
8603
+
8604
+ /**
8605
+ * TraceSpan upsert
8606
+ */
8607
+ export type TraceSpanUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8608
+ /**
8609
+ * Select specific fields to fetch from the TraceSpan
8610
+ */
8611
+ select?: TraceSpanSelect<ExtArgs> | null
8612
+ /**
8613
+ * Choose, which related nodes to fetch as well
8614
+ */
8615
+ include?: TraceSpanInclude<ExtArgs> | null
8616
+ /**
8617
+ * The filter to search for the TraceSpan to update in case it exists.
8618
+ */
8619
+ where: TraceSpanWhereUniqueInput
8620
+ /**
8621
+ * In case the TraceSpan found by the `where` argument doesn't exist, create a new TraceSpan with this data.
8622
+ */
8623
+ create: XOR<TraceSpanCreateInput, TraceSpanUncheckedCreateInput>
8624
+ /**
8625
+ * In case the TraceSpan was found with the provided `where` argument, update it with this data.
8626
+ */
8627
+ update: XOR<TraceSpanUpdateInput, TraceSpanUncheckedUpdateInput>
8628
+ }
8629
+
8630
+ /**
8631
+ * TraceSpan delete
8632
+ */
8633
+ export type TraceSpanDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8634
+ /**
8635
+ * Select specific fields to fetch from the TraceSpan
8636
+ */
8637
+ select?: TraceSpanSelect<ExtArgs> | null
8638
+ /**
8639
+ * Choose, which related nodes to fetch as well
8640
+ */
8641
+ include?: TraceSpanInclude<ExtArgs> | null
8642
+ /**
8643
+ * Filter which TraceSpan to delete.
8644
+ */
8645
+ where: TraceSpanWhereUniqueInput
8646
+ }
8647
+
8648
+ /**
8649
+ * TraceSpan deleteMany
8650
+ */
8651
+ export type TraceSpanDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8652
+ /**
8653
+ * Filter which TraceSpans to delete
8654
+ */
8655
+ where?: TraceSpanWhereInput
8656
+ }
8657
+
8658
+ /**
8659
+ * TraceSpan.task
8660
+ */
8661
+ export type TraceSpan$taskArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8662
+ /**
8663
+ * Select specific fields to fetch from the Task
8664
+ */
8665
+ select?: TaskSelect<ExtArgs> | null
8666
+ /**
8667
+ * Choose, which related nodes to fetch as well
8668
+ */
8669
+ include?: TaskInclude<ExtArgs> | null
8670
+ where?: TaskWhereInput
8671
+ }
8672
+
8673
+ /**
8674
+ * TraceSpan without action
8675
+ */
8676
+ export type TraceSpanDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8677
+ /**
8678
+ * Select specific fields to fetch from the TraceSpan
8679
+ */
8680
+ select?: TraceSpanSelect<ExtArgs> | null
8681
+ /**
8682
+ * Choose, which related nodes to fetch as well
8683
+ */
8684
+ include?: TraceSpanInclude<ExtArgs> | null
8685
+ }
8686
+
8687
+
8688
+ /**
8689
+ * Model ProviderConfig
8690
+ */
8691
+
8692
+ export type AggregateProviderConfig = {
8693
+ _count: ProviderConfigCountAggregateOutputType | null
8694
+ _min: ProviderConfigMinAggregateOutputType | null
8695
+ _max: ProviderConfigMaxAggregateOutputType | null
8696
+ }
8697
+
8698
+ export type ProviderConfigMinAggregateOutputType = {
8699
+ id: string | null
8700
+ name: string | null
8701
+ kind: string | null
8702
+ baseUrl: string | null
8703
+ apiKey: string | null
8704
+ defaultModel: string | null
8705
+ capabilities: string | null
8706
+ enabled: boolean | null
8707
+ createdAt: Date | null
8708
+ }
8709
+
8710
+ export type ProviderConfigMaxAggregateOutputType = {
8711
+ id: string | null
8712
+ name: string | null
8713
+ kind: string | null
8714
+ baseUrl: string | null
8715
+ apiKey: string | null
8716
+ defaultModel: string | null
8717
+ capabilities: string | null
8718
+ enabled: boolean | null
8719
+ createdAt: Date | null
8720
+ }
8721
+
8722
+ export type ProviderConfigCountAggregateOutputType = {
8723
+ id: number
8724
+ name: number
8725
+ kind: number
8726
+ baseUrl: number
8727
+ apiKey: number
8728
+ defaultModel: number
8729
+ capabilities: number
8730
+ enabled: number
8731
+ createdAt: number
8732
+ _all: number
8733
+ }
8734
+
8735
+
8736
+ export type ProviderConfigMinAggregateInputType = {
8737
+ id?: true
8738
+ name?: true
8739
+ kind?: true
8740
+ baseUrl?: true
8741
+ apiKey?: true
8742
+ defaultModel?: true
8743
+ capabilities?: true
8744
+ enabled?: true
8745
+ createdAt?: true
8746
+ }
8747
+
8748
+ export type ProviderConfigMaxAggregateInputType = {
8749
+ id?: true
8750
+ name?: true
8751
+ kind?: true
8752
+ baseUrl?: true
8753
+ apiKey?: true
8754
+ defaultModel?: true
8755
+ capabilities?: true
8756
+ enabled?: true
8757
+ createdAt?: true
8758
+ }
8759
+
8760
+ export type ProviderConfigCountAggregateInputType = {
8761
+ id?: true
8762
+ name?: true
8763
+ kind?: true
8764
+ baseUrl?: true
8765
+ apiKey?: true
8766
+ defaultModel?: true
8767
+ capabilities?: true
8768
+ enabled?: true
8769
+ createdAt?: true
8770
+ _all?: true
8771
+ }
8772
+
8773
+ export type ProviderConfigAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8774
+ /**
8775
+ * Filter which ProviderConfig to aggregate.
8776
+ */
8777
+ where?: ProviderConfigWhereInput
8778
+ /**
8779
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8780
+ *
8781
+ * Determine the order of ProviderConfigs to fetch.
8782
+ */
8783
+ orderBy?: ProviderConfigOrderByWithRelationInput | ProviderConfigOrderByWithRelationInput[]
8784
+ /**
8785
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8786
+ *
8787
+ * Sets the start position
8788
+ */
8789
+ cursor?: ProviderConfigWhereUniqueInput
8790
+ /**
8791
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8792
+ *
8793
+ * Take `±n` ProviderConfigs from the position of the cursor.
8794
+ */
8795
+ take?: number
8796
+ /**
8797
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
8798
+ *
8799
+ * Skip the first `n` ProviderConfigs.
8800
+ */
8801
+ skip?: number
8802
+ /**
8803
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8804
+ *
8805
+ * Count returned ProviderConfigs
8806
+ **/
8807
+ _count?: true | ProviderConfigCountAggregateInputType
8808
+ /**
8809
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8810
+ *
8811
+ * Select which fields to find the minimum value
8812
+ **/
8813
+ _min?: ProviderConfigMinAggregateInputType
8814
+ /**
8815
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8816
+ *
8817
+ * Select which fields to find the maximum value
8818
+ **/
8819
+ _max?: ProviderConfigMaxAggregateInputType
8820
+ }
8821
+
8822
+ export type GetProviderConfigAggregateType<T extends ProviderConfigAggregateArgs> = {
8823
+ [P in keyof T & keyof AggregateProviderConfig]: P extends '_count' | 'count'
8824
+ ? T[P] extends true
8825
+ ? number
8826
+ : GetScalarType<T[P], AggregateProviderConfig[P]>
8827
+ : GetScalarType<T[P], AggregateProviderConfig[P]>
8828
+ }
8829
+
8830
+
8831
+
8832
+
8833
+ export type ProviderConfigGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8834
+ where?: ProviderConfigWhereInput
8835
+ orderBy?: ProviderConfigOrderByWithAggregationInput | ProviderConfigOrderByWithAggregationInput[]
8836
+ by: ProviderConfigScalarFieldEnum[] | ProviderConfigScalarFieldEnum
8837
+ having?: ProviderConfigScalarWhereWithAggregatesInput
8838
+ take?: number
8839
+ skip?: number
8840
+ _count?: ProviderConfigCountAggregateInputType | true
8841
+ _min?: ProviderConfigMinAggregateInputType
8842
+ _max?: ProviderConfigMaxAggregateInputType
8843
+ }
8844
+
8845
+ export type ProviderConfigGroupByOutputType = {
8846
+ id: string
8847
+ name: string
8848
+ kind: string
8849
+ baseUrl: string | null
8850
+ apiKey: string | null
8851
+ defaultModel: string
8852
+ capabilities: string
8853
+ enabled: boolean
8854
+ createdAt: Date
8855
+ _count: ProviderConfigCountAggregateOutputType | null
8856
+ _min: ProviderConfigMinAggregateOutputType | null
8857
+ _max: ProviderConfigMaxAggregateOutputType | null
8858
+ }
8859
+
8860
+ type GetProviderConfigGroupByPayload<T extends ProviderConfigGroupByArgs> = Prisma.PrismaPromise<
8861
+ Array<
8862
+ PickEnumerable<ProviderConfigGroupByOutputType, T['by']> &
8863
+ {
8864
+ [P in ((keyof T) & (keyof ProviderConfigGroupByOutputType))]: P extends '_count'
8865
+ ? T[P] extends boolean
8866
+ ? number
8867
+ : GetScalarType<T[P], ProviderConfigGroupByOutputType[P]>
8868
+ : GetScalarType<T[P], ProviderConfigGroupByOutputType[P]>
8869
+ }
8870
+ >
8871
+ >
8872
+
8873
+
8874
+ export type ProviderConfigSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
8875
+ id?: boolean
8876
+ name?: boolean
8877
+ kind?: boolean
8878
+ baseUrl?: boolean
8879
+ apiKey?: boolean
8880
+ defaultModel?: boolean
8881
+ capabilities?: boolean
8882
+ enabled?: boolean
8883
+ createdAt?: boolean
8884
+ }, ExtArgs["result"]["providerConfig"]>
8885
+
8886
+ export type ProviderConfigSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
8887
+ id?: boolean
8888
+ name?: boolean
8889
+ kind?: boolean
8890
+ baseUrl?: boolean
8891
+ apiKey?: boolean
8892
+ defaultModel?: boolean
8893
+ capabilities?: boolean
8894
+ enabled?: boolean
8895
+ createdAt?: boolean
8896
+ }, ExtArgs["result"]["providerConfig"]>
8897
+
8898
+ export type ProviderConfigSelectScalar = {
8899
+ id?: boolean
8900
+ name?: boolean
8901
+ kind?: boolean
8902
+ baseUrl?: boolean
8903
+ apiKey?: boolean
8904
+ defaultModel?: boolean
8905
+ capabilities?: boolean
8906
+ enabled?: boolean
8907
+ createdAt?: boolean
8908
+ }
8909
+
8910
+
8911
+ export type $ProviderConfigPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8912
+ name: "ProviderConfig"
8913
+ objects: {}
8914
+ scalars: $Extensions.GetPayloadResult<{
8915
+ id: string
8916
+ name: string
8917
+ kind: string
8918
+ baseUrl: string | null
8919
+ apiKey: string | null
8920
+ defaultModel: string
8921
+ capabilities: string
8922
+ enabled: boolean
8923
+ createdAt: Date
8924
+ }, ExtArgs["result"]["providerConfig"]>
8925
+ composites: {}
8926
+ }
8927
+
8928
+ type ProviderConfigGetPayload<S extends boolean | null | undefined | ProviderConfigDefaultArgs> = $Result.GetResult<Prisma.$ProviderConfigPayload, S>
8929
+
8930
+ type ProviderConfigCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
8931
+ Omit<ProviderConfigFindManyArgs, 'select' | 'include' | 'distinct'> & {
8932
+ select?: ProviderConfigCountAggregateInputType | true
8933
+ }
8934
+
8935
+ export interface ProviderConfigDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
8936
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProviderConfig'], meta: { name: 'ProviderConfig' } }
8937
+ /**
8938
+ * Find zero or one ProviderConfig that matches the filter.
8939
+ * @param {ProviderConfigFindUniqueArgs} args - Arguments to find a ProviderConfig
8940
+ * @example
8941
+ * // Get one ProviderConfig
8942
+ * const providerConfig = await prisma.providerConfig.findUnique({
8943
+ * where: {
8944
+ * // ... provide filter here
8945
+ * }
8946
+ * })
8947
+ */
8948
+ findUnique<T extends ProviderConfigFindUniqueArgs>(args: SelectSubset<T, ProviderConfigFindUniqueArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
8949
+
8950
+ /**
8951
+ * Find one ProviderConfig that matches the filter or throw an error with `error.code='P2025'`
8952
+ * if no matches were found.
8953
+ * @param {ProviderConfigFindUniqueOrThrowArgs} args - Arguments to find a ProviderConfig
8954
+ * @example
8955
+ * // Get one ProviderConfig
8956
+ * const providerConfig = await prisma.providerConfig.findUniqueOrThrow({
8957
+ * where: {
8958
+ * // ... provide filter here
8959
+ * }
8960
+ * })
8961
+ */
8962
+ findUniqueOrThrow<T extends ProviderConfigFindUniqueOrThrowArgs>(args: SelectSubset<T, ProviderConfigFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
8963
+
8964
+ /**
8965
+ * Find the first ProviderConfig that matches the filter.
8966
+ * Note, that providing `undefined` is treated as the value not being there.
8967
+ * Read more here: https://pris.ly/d/null-undefined
8968
+ * @param {ProviderConfigFindFirstArgs} args - Arguments to find a ProviderConfig
8969
+ * @example
8970
+ * // Get one ProviderConfig
8971
+ * const providerConfig = await prisma.providerConfig.findFirst({
8972
+ * where: {
8973
+ * // ... provide filter here
8974
+ * }
8975
+ * })
8976
+ */
8977
+ findFirst<T extends ProviderConfigFindFirstArgs>(args?: SelectSubset<T, ProviderConfigFindFirstArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
8978
+
8979
+ /**
8980
+ * Find the first ProviderConfig that matches the filter or
8981
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
8982
+ * Note, that providing `undefined` is treated as the value not being there.
8983
+ * Read more here: https://pris.ly/d/null-undefined
8984
+ * @param {ProviderConfigFindFirstOrThrowArgs} args - Arguments to find a ProviderConfig
8985
+ * @example
8986
+ * // Get one ProviderConfig
8987
+ * const providerConfig = await prisma.providerConfig.findFirstOrThrow({
8988
+ * where: {
8989
+ * // ... provide filter here
8990
+ * }
8991
+ * })
8992
+ */
8993
+ findFirstOrThrow<T extends ProviderConfigFindFirstOrThrowArgs>(args?: SelectSubset<T, ProviderConfigFindFirstOrThrowArgs<ExtArgs>>): Prisma__ProviderConfigClient<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
8994
+
8995
+ /**
8996
+ * Find zero or more ProviderConfigs that matches the filter.
8997
+ * Note, that providing `undefined` is treated as the value not being there.
8998
+ * Read more here: https://pris.ly/d/null-undefined
8999
+ * @param {ProviderConfigFindManyArgs} args - Arguments to filter and select certain fields only.
9000
+ * @example
9001
+ * // Get all ProviderConfigs
9002
+ * const providerConfigs = await prisma.providerConfig.findMany()
9003
+ *
9004
+ * // Get first 10 ProviderConfigs
9005
+ * const providerConfigs = await prisma.providerConfig.findMany({ take: 10 })
9006
+ *
9007
+ * // Only select the `id`
9008
+ * const providerConfigWithIdOnly = await prisma.providerConfig.findMany({ select: { id: true } })
9009
+ *
9010
+ */
9011
+ findMany<T extends ProviderConfigFindManyArgs>(args?: SelectSubset<T, ProviderConfigFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProviderConfigPayload<ExtArgs>, T, "findMany">>
9012
+
9013
+ /**
9014
+ * Create a ProviderConfig.
9015
+ * @param {ProviderConfigCreateArgs} args - Arguments to create a ProviderConfig.
9016
+ * @example
9017
+ * // Create one ProviderConfig
9018
+ * const ProviderConfig = await prisma.providerConfig.create({
7880
9019
  * data: {
7881
9020
  * // ... data to create a ProviderConfig
7882
9021
  * }
@@ -9464,6 +10603,23 @@ export namespace Prisma {
9464
10603
  export type AgentRunScalarFieldEnum = (typeof AgentRunScalarFieldEnum)[keyof typeof AgentRunScalarFieldEnum]
9465
10604
 
9466
10605
 
10606
+ export const TraceSpanScalarFieldEnum: {
10607
+ id: 'id',
10608
+ traceId: 'traceId',
10609
+ spanId: 'spanId',
10610
+ parentId: 'parentId',
10611
+ taskId: 'taskId',
10612
+ name: 'name',
10613
+ startTime: 'startTime',
10614
+ endTime: 'endTime',
10615
+ status: 'status',
10616
+ attributes: 'attributes',
10617
+ events: 'events'
10618
+ };
10619
+
10620
+ export type TraceSpanScalarFieldEnum = (typeof TraceSpanScalarFieldEnum)[keyof typeof TraceSpanScalarFieldEnum]
10621
+
10622
+
9467
10623
  export const ProviderConfigScalarFieldEnum: {
9468
10624
  id: 'id',
9469
10625
  name: 'name',
@@ -9673,6 +10829,7 @@ export namespace Prisma {
9673
10829
  traces?: TaskTraceListRelationFilter
9674
10830
  diffs?: TaskDiffListRelationFilter
9675
10831
  agentRuns?: AgentRunListRelationFilter
10832
+ traceSpans?: TraceSpanListRelationFilter
9676
10833
  }
9677
10834
 
9678
10835
  export type TaskOrderByWithRelationInput = {
@@ -9694,6 +10851,7 @@ export namespace Prisma {
9694
10851
  traces?: TaskTraceOrderByRelationAggregateInput
9695
10852
  diffs?: TaskDiffOrderByRelationAggregateInput
9696
10853
  agentRuns?: AgentRunOrderByRelationAggregateInput
10854
+ traceSpans?: TraceSpanOrderByRelationAggregateInput
9697
10855
  }
9698
10856
 
9699
10857
  export type TaskWhereUniqueInput = Prisma.AtLeast<{
@@ -9718,6 +10876,7 @@ export namespace Prisma {
9718
10876
  traces?: TaskTraceListRelationFilter
9719
10877
  diffs?: TaskDiffListRelationFilter
9720
10878
  agentRuns?: AgentRunListRelationFilter
10879
+ traceSpans?: TraceSpanListRelationFilter
9721
10880
  }, "id">
9722
10881
 
9723
10882
  export type TaskOrderByWithAggregationInput = {
@@ -10040,6 +11199,91 @@ export namespace Prisma {
10040
11199
  updatedAt?: DateTimeWithAggregatesFilter<"AgentRun"> | Date | string
10041
11200
  }
10042
11201
 
11202
+ export type TraceSpanWhereInput = {
11203
+ AND?: TraceSpanWhereInput | TraceSpanWhereInput[]
11204
+ OR?: TraceSpanWhereInput[]
11205
+ NOT?: TraceSpanWhereInput | TraceSpanWhereInput[]
11206
+ id?: StringFilter<"TraceSpan"> | string
11207
+ traceId?: StringFilter<"TraceSpan"> | string
11208
+ spanId?: StringFilter<"TraceSpan"> | string
11209
+ parentId?: StringNullableFilter<"TraceSpan"> | string | null
11210
+ taskId?: StringNullableFilter<"TraceSpan"> | string | null
11211
+ name?: StringFilter<"TraceSpan"> | string
11212
+ startTime?: DateTimeFilter<"TraceSpan"> | Date | string
11213
+ endTime?: DateTimeNullableFilter<"TraceSpan"> | Date | string | null
11214
+ status?: StringFilter<"TraceSpan"> | string
11215
+ attributes?: StringNullableFilter<"TraceSpan"> | string | null
11216
+ events?: StringNullableFilter<"TraceSpan"> | string | null
11217
+ task?: XOR<TaskNullableRelationFilter, TaskWhereInput> | null
11218
+ }
11219
+
11220
+ export type TraceSpanOrderByWithRelationInput = {
11221
+ id?: SortOrder
11222
+ traceId?: SortOrder
11223
+ spanId?: SortOrder
11224
+ parentId?: SortOrderInput | SortOrder
11225
+ taskId?: SortOrderInput | SortOrder
11226
+ name?: SortOrder
11227
+ startTime?: SortOrder
11228
+ endTime?: SortOrderInput | SortOrder
11229
+ status?: SortOrder
11230
+ attributes?: SortOrderInput | SortOrder
11231
+ events?: SortOrderInput | SortOrder
11232
+ task?: TaskOrderByWithRelationInput
11233
+ }
11234
+
11235
+ export type TraceSpanWhereUniqueInput = Prisma.AtLeast<{
11236
+ id?: string
11237
+ AND?: TraceSpanWhereInput | TraceSpanWhereInput[]
11238
+ OR?: TraceSpanWhereInput[]
11239
+ NOT?: TraceSpanWhereInput | TraceSpanWhereInput[]
11240
+ traceId?: StringFilter<"TraceSpan"> | string
11241
+ spanId?: StringFilter<"TraceSpan"> | string
11242
+ parentId?: StringNullableFilter<"TraceSpan"> | string | null
11243
+ taskId?: StringNullableFilter<"TraceSpan"> | string | null
11244
+ name?: StringFilter<"TraceSpan"> | string
11245
+ startTime?: DateTimeFilter<"TraceSpan"> | Date | string
11246
+ endTime?: DateTimeNullableFilter<"TraceSpan"> | Date | string | null
11247
+ status?: StringFilter<"TraceSpan"> | string
11248
+ attributes?: StringNullableFilter<"TraceSpan"> | string | null
11249
+ events?: StringNullableFilter<"TraceSpan"> | string | null
11250
+ task?: XOR<TaskNullableRelationFilter, TaskWhereInput> | null
11251
+ }, "id">
11252
+
11253
+ export type TraceSpanOrderByWithAggregationInput = {
11254
+ id?: SortOrder
11255
+ traceId?: SortOrder
11256
+ spanId?: SortOrder
11257
+ parentId?: SortOrderInput | SortOrder
11258
+ taskId?: SortOrderInput | SortOrder
11259
+ name?: SortOrder
11260
+ startTime?: SortOrder
11261
+ endTime?: SortOrderInput | SortOrder
11262
+ status?: SortOrder
11263
+ attributes?: SortOrderInput | SortOrder
11264
+ events?: SortOrderInput | SortOrder
11265
+ _count?: TraceSpanCountOrderByAggregateInput
11266
+ _max?: TraceSpanMaxOrderByAggregateInput
11267
+ _min?: TraceSpanMinOrderByAggregateInput
11268
+ }
11269
+
11270
+ export type TraceSpanScalarWhereWithAggregatesInput = {
11271
+ AND?: TraceSpanScalarWhereWithAggregatesInput | TraceSpanScalarWhereWithAggregatesInput[]
11272
+ OR?: TraceSpanScalarWhereWithAggregatesInput[]
11273
+ NOT?: TraceSpanScalarWhereWithAggregatesInput | TraceSpanScalarWhereWithAggregatesInput[]
11274
+ id?: StringWithAggregatesFilter<"TraceSpan"> | string
11275
+ traceId?: StringWithAggregatesFilter<"TraceSpan"> | string
11276
+ spanId?: StringWithAggregatesFilter<"TraceSpan"> | string
11277
+ parentId?: StringNullableWithAggregatesFilter<"TraceSpan"> | string | null
11278
+ taskId?: StringNullableWithAggregatesFilter<"TraceSpan"> | string | null
11279
+ name?: StringWithAggregatesFilter<"TraceSpan"> | string
11280
+ startTime?: DateTimeWithAggregatesFilter<"TraceSpan"> | Date | string
11281
+ endTime?: DateTimeNullableWithAggregatesFilter<"TraceSpan"> | Date | string | null
11282
+ status?: StringWithAggregatesFilter<"TraceSpan"> | string
11283
+ attributes?: StringNullableWithAggregatesFilter<"TraceSpan"> | string | null
11284
+ events?: StringNullableWithAggregatesFilter<"TraceSpan"> | string | null
11285
+ }
11286
+
10043
11287
  export type ProviderConfigWhereInput = {
10044
11288
  AND?: ProviderConfigWhereInput | ProviderConfigWhereInput[]
10045
11289
  OR?: ProviderConfigWhereInput[]
@@ -10261,6 +11505,7 @@ export namespace Prisma {
10261
11505
  traces?: TaskTraceCreateNestedManyWithoutTaskInput
10262
11506
  diffs?: TaskDiffCreateNestedManyWithoutTaskInput
10263
11507
  agentRuns?: AgentRunCreateNestedManyWithoutTaskInput
11508
+ traceSpans?: TraceSpanCreateNestedManyWithoutTaskInput
10264
11509
  }
10265
11510
 
10266
11511
  export type TaskUncheckedCreateInput = {
@@ -10281,6 +11526,7 @@ export namespace Prisma {
10281
11526
  traces?: TaskTraceUncheckedCreateNestedManyWithoutTaskInput
10282
11527
  diffs?: TaskDiffUncheckedCreateNestedManyWithoutTaskInput
10283
11528
  agentRuns?: AgentRunUncheckedCreateNestedManyWithoutTaskInput
11529
+ traceSpans?: TraceSpanUncheckedCreateNestedManyWithoutTaskInput
10284
11530
  }
10285
11531
 
10286
11532
  export type TaskUpdateInput = {
@@ -10301,6 +11547,7 @@ export namespace Prisma {
10301
11547
  traces?: TaskTraceUpdateManyWithoutTaskNestedInput
10302
11548
  diffs?: TaskDiffUpdateManyWithoutTaskNestedInput
10303
11549
  agentRuns?: AgentRunUpdateManyWithoutTaskNestedInput
11550
+ traceSpans?: TraceSpanUpdateManyWithoutTaskNestedInput
10304
11551
  }
10305
11552
 
10306
11553
  export type TaskUncheckedUpdateInput = {
@@ -10321,6 +11568,7 @@ export namespace Prisma {
10321
11568
  traces?: TaskTraceUncheckedUpdateManyWithoutTaskNestedInput
10322
11569
  diffs?: TaskDiffUncheckedUpdateManyWithoutTaskNestedInput
10323
11570
  agentRuns?: AgentRunUncheckedUpdateManyWithoutTaskNestedInput
11571
+ traceSpans?: TraceSpanUncheckedUpdateManyWithoutTaskNestedInput
10324
11572
  }
10325
11573
 
10326
11574
  export type TaskCreateManyInput = {
@@ -10674,6 +11922,103 @@ export namespace Prisma {
10674
11922
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
10675
11923
  }
10676
11924
 
11925
+ export type TraceSpanCreateInput = {
11926
+ id?: string
11927
+ traceId: string
11928
+ spanId: string
11929
+ parentId?: string | null
11930
+ name: string
11931
+ startTime?: Date | string
11932
+ endTime?: Date | string | null
11933
+ status?: string
11934
+ attributes?: string | null
11935
+ events?: string | null
11936
+ task?: TaskCreateNestedOneWithoutTraceSpansInput
11937
+ }
11938
+
11939
+ export type TraceSpanUncheckedCreateInput = {
11940
+ id?: string
11941
+ traceId: string
11942
+ spanId: string
11943
+ parentId?: string | null
11944
+ taskId?: string | null
11945
+ name: string
11946
+ startTime?: Date | string
11947
+ endTime?: Date | string | null
11948
+ status?: string
11949
+ attributes?: string | null
11950
+ events?: string | null
11951
+ }
11952
+
11953
+ export type TraceSpanUpdateInput = {
11954
+ id?: StringFieldUpdateOperationsInput | string
11955
+ traceId?: StringFieldUpdateOperationsInput | string
11956
+ spanId?: StringFieldUpdateOperationsInput | string
11957
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
11958
+ name?: StringFieldUpdateOperationsInput | string
11959
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
11960
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11961
+ status?: StringFieldUpdateOperationsInput | string
11962
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
11963
+ events?: NullableStringFieldUpdateOperationsInput | string | null
11964
+ task?: TaskUpdateOneWithoutTraceSpansNestedInput
11965
+ }
11966
+
11967
+ export type TraceSpanUncheckedUpdateInput = {
11968
+ id?: StringFieldUpdateOperationsInput | string
11969
+ traceId?: StringFieldUpdateOperationsInput | string
11970
+ spanId?: StringFieldUpdateOperationsInput | string
11971
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
11972
+ taskId?: NullableStringFieldUpdateOperationsInput | string | null
11973
+ name?: StringFieldUpdateOperationsInput | string
11974
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
11975
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11976
+ status?: StringFieldUpdateOperationsInput | string
11977
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
11978
+ events?: NullableStringFieldUpdateOperationsInput | string | null
11979
+ }
11980
+
11981
+ export type TraceSpanCreateManyInput = {
11982
+ id?: string
11983
+ traceId: string
11984
+ spanId: string
11985
+ parentId?: string | null
11986
+ taskId?: string | null
11987
+ name: string
11988
+ startTime?: Date | string
11989
+ endTime?: Date | string | null
11990
+ status?: string
11991
+ attributes?: string | null
11992
+ events?: string | null
11993
+ }
11994
+
11995
+ export type TraceSpanUpdateManyMutationInput = {
11996
+ id?: StringFieldUpdateOperationsInput | string
11997
+ traceId?: StringFieldUpdateOperationsInput | string
11998
+ spanId?: StringFieldUpdateOperationsInput | string
11999
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
12000
+ name?: StringFieldUpdateOperationsInput | string
12001
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
12002
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
12003
+ status?: StringFieldUpdateOperationsInput | string
12004
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
12005
+ events?: NullableStringFieldUpdateOperationsInput | string | null
12006
+ }
12007
+
12008
+ export type TraceSpanUncheckedUpdateManyInput = {
12009
+ id?: StringFieldUpdateOperationsInput | string
12010
+ traceId?: StringFieldUpdateOperationsInput | string
12011
+ spanId?: StringFieldUpdateOperationsInput | string
12012
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
12013
+ taskId?: NullableStringFieldUpdateOperationsInput | string | null
12014
+ name?: StringFieldUpdateOperationsInput | string
12015
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
12016
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
12017
+ status?: StringFieldUpdateOperationsInput | string
12018
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
12019
+ events?: NullableStringFieldUpdateOperationsInput | string | null
12020
+ }
12021
+
10677
12022
  export type ProviderConfigCreateInput = {
10678
12023
  id?: string
10679
12024
  name: string
@@ -10986,6 +12331,12 @@ export namespace Prisma {
10986
12331
  none?: AgentRunWhereInput
10987
12332
  }
10988
12333
 
12334
+ export type TraceSpanListRelationFilter = {
12335
+ every?: TraceSpanWhereInput
12336
+ some?: TraceSpanWhereInput
12337
+ none?: TraceSpanWhereInput
12338
+ }
12339
+
10989
12340
  export type TaskStepOrderByRelationAggregateInput = {
10990
12341
  _count?: SortOrder
10991
12342
  }
@@ -11002,6 +12353,10 @@ export namespace Prisma {
11002
12353
  _count?: SortOrder
11003
12354
  }
11004
12355
 
12356
+ export type TraceSpanOrderByRelationAggregateInput = {
12357
+ _count?: SortOrder
12358
+ }
12359
+
11005
12360
  export type TaskCountOrderByAggregateInput = {
11006
12361
  id?: SortOrder
11007
12362
  projectId?: SortOrder
@@ -11222,6 +12577,78 @@ export namespace Prisma {
11222
12577
  updatedAt?: SortOrder
11223
12578
  }
11224
12579
 
12580
+ export type DateTimeNullableFilter<$PrismaModel = never> = {
12581
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
12582
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
12583
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
12584
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12585
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12586
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12587
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12588
+ not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
12589
+ }
12590
+
12591
+ export type TaskNullableRelationFilter = {
12592
+ is?: TaskWhereInput | null
12593
+ isNot?: TaskWhereInput | null
12594
+ }
12595
+
12596
+ export type TraceSpanCountOrderByAggregateInput = {
12597
+ id?: SortOrder
12598
+ traceId?: SortOrder
12599
+ spanId?: SortOrder
12600
+ parentId?: SortOrder
12601
+ taskId?: SortOrder
12602
+ name?: SortOrder
12603
+ startTime?: SortOrder
12604
+ endTime?: SortOrder
12605
+ status?: SortOrder
12606
+ attributes?: SortOrder
12607
+ events?: SortOrder
12608
+ }
12609
+
12610
+ export type TraceSpanMaxOrderByAggregateInput = {
12611
+ id?: SortOrder
12612
+ traceId?: SortOrder
12613
+ spanId?: SortOrder
12614
+ parentId?: SortOrder
12615
+ taskId?: SortOrder
12616
+ name?: SortOrder
12617
+ startTime?: SortOrder
12618
+ endTime?: SortOrder
12619
+ status?: SortOrder
12620
+ attributes?: SortOrder
12621
+ events?: SortOrder
12622
+ }
12623
+
12624
+ export type TraceSpanMinOrderByAggregateInput = {
12625
+ id?: SortOrder
12626
+ traceId?: SortOrder
12627
+ spanId?: SortOrder
12628
+ parentId?: SortOrder
12629
+ taskId?: SortOrder
12630
+ name?: SortOrder
12631
+ startTime?: SortOrder
12632
+ endTime?: SortOrder
12633
+ status?: SortOrder
12634
+ attributes?: SortOrder
12635
+ events?: SortOrder
12636
+ }
12637
+
12638
+ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
12639
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
12640
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
12641
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
12642
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12643
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12644
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12645
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
12646
+ not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
12647
+ _count?: NestedIntNullableFilter<$PrismaModel>
12648
+ _min?: NestedDateTimeNullableFilter<$PrismaModel>
12649
+ _max?: NestedDateTimeNullableFilter<$PrismaModel>
12650
+ }
12651
+
11225
12652
  export type BoolFilter<$PrismaModel = never> = {
11226
12653
  equals?: boolean | BooleanFieldRefInput<$PrismaModel>
11227
12654
  not?: NestedBoolFilter<$PrismaModel> | boolean
@@ -11386,6 +12813,13 @@ export namespace Prisma {
11386
12813
  connect?: AgentRunWhereUniqueInput | AgentRunWhereUniqueInput[]
11387
12814
  }
11388
12815
 
12816
+ export type TraceSpanCreateNestedManyWithoutTaskInput = {
12817
+ create?: XOR<TraceSpanCreateWithoutTaskInput, TraceSpanUncheckedCreateWithoutTaskInput> | TraceSpanCreateWithoutTaskInput[] | TraceSpanUncheckedCreateWithoutTaskInput[]
12818
+ connectOrCreate?: TraceSpanCreateOrConnectWithoutTaskInput | TraceSpanCreateOrConnectWithoutTaskInput[]
12819
+ createMany?: TraceSpanCreateManyTaskInputEnvelope
12820
+ connect?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12821
+ }
12822
+
11389
12823
  export type TaskStepUncheckedCreateNestedManyWithoutTaskInput = {
11390
12824
  create?: XOR<TaskStepCreateWithoutTaskInput, TaskStepUncheckedCreateWithoutTaskInput> | TaskStepCreateWithoutTaskInput[] | TaskStepUncheckedCreateWithoutTaskInput[]
11391
12825
  connectOrCreate?: TaskStepCreateOrConnectWithoutTaskInput | TaskStepCreateOrConnectWithoutTaskInput[]
@@ -11414,6 +12848,13 @@ export namespace Prisma {
11414
12848
  connect?: AgentRunWhereUniqueInput | AgentRunWhereUniqueInput[]
11415
12849
  }
11416
12850
 
12851
+ export type TraceSpanUncheckedCreateNestedManyWithoutTaskInput = {
12852
+ create?: XOR<TraceSpanCreateWithoutTaskInput, TraceSpanUncheckedCreateWithoutTaskInput> | TraceSpanCreateWithoutTaskInput[] | TraceSpanUncheckedCreateWithoutTaskInput[]
12853
+ connectOrCreate?: TraceSpanCreateOrConnectWithoutTaskInput | TraceSpanCreateOrConnectWithoutTaskInput[]
12854
+ createMany?: TraceSpanCreateManyTaskInputEnvelope
12855
+ connect?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12856
+ }
12857
+
11417
12858
  export type ProjectUpdateOneRequiredWithoutTasksNestedInput = {
11418
12859
  create?: XOR<ProjectCreateWithoutTasksInput, ProjectUncheckedCreateWithoutTasksInput>
11419
12860
  connectOrCreate?: ProjectCreateOrConnectWithoutTasksInput
@@ -11478,6 +12919,20 @@ export namespace Prisma {
11478
12919
  deleteMany?: AgentRunScalarWhereInput | AgentRunScalarWhereInput[]
11479
12920
  }
11480
12921
 
12922
+ export type TraceSpanUpdateManyWithoutTaskNestedInput = {
12923
+ create?: XOR<TraceSpanCreateWithoutTaskInput, TraceSpanUncheckedCreateWithoutTaskInput> | TraceSpanCreateWithoutTaskInput[] | TraceSpanUncheckedCreateWithoutTaskInput[]
12924
+ connectOrCreate?: TraceSpanCreateOrConnectWithoutTaskInput | TraceSpanCreateOrConnectWithoutTaskInput[]
12925
+ upsert?: TraceSpanUpsertWithWhereUniqueWithoutTaskInput | TraceSpanUpsertWithWhereUniqueWithoutTaskInput[]
12926
+ createMany?: TraceSpanCreateManyTaskInputEnvelope
12927
+ set?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12928
+ disconnect?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12929
+ delete?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12930
+ connect?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12931
+ update?: TraceSpanUpdateWithWhereUniqueWithoutTaskInput | TraceSpanUpdateWithWhereUniqueWithoutTaskInput[]
12932
+ updateMany?: TraceSpanUpdateManyWithWhereWithoutTaskInput | TraceSpanUpdateManyWithWhereWithoutTaskInput[]
12933
+ deleteMany?: TraceSpanScalarWhereInput | TraceSpanScalarWhereInput[]
12934
+ }
12935
+
11481
12936
  export type TaskStepUncheckedUpdateManyWithoutTaskNestedInput = {
11482
12937
  create?: XOR<TaskStepCreateWithoutTaskInput, TaskStepUncheckedCreateWithoutTaskInput> | TaskStepCreateWithoutTaskInput[] | TaskStepUncheckedCreateWithoutTaskInput[]
11483
12938
  connectOrCreate?: TaskStepCreateOrConnectWithoutTaskInput | TaskStepCreateOrConnectWithoutTaskInput[]
@@ -11534,6 +12989,20 @@ export namespace Prisma {
11534
12989
  deleteMany?: AgentRunScalarWhereInput | AgentRunScalarWhereInput[]
11535
12990
  }
11536
12991
 
12992
+ export type TraceSpanUncheckedUpdateManyWithoutTaskNestedInput = {
12993
+ create?: XOR<TraceSpanCreateWithoutTaskInput, TraceSpanUncheckedCreateWithoutTaskInput> | TraceSpanCreateWithoutTaskInput[] | TraceSpanUncheckedCreateWithoutTaskInput[]
12994
+ connectOrCreate?: TraceSpanCreateOrConnectWithoutTaskInput | TraceSpanCreateOrConnectWithoutTaskInput[]
12995
+ upsert?: TraceSpanUpsertWithWhereUniqueWithoutTaskInput | TraceSpanUpsertWithWhereUniqueWithoutTaskInput[]
12996
+ createMany?: TraceSpanCreateManyTaskInputEnvelope
12997
+ set?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12998
+ disconnect?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
12999
+ delete?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
13000
+ connect?: TraceSpanWhereUniqueInput | TraceSpanWhereUniqueInput[]
13001
+ update?: TraceSpanUpdateWithWhereUniqueWithoutTaskInput | TraceSpanUpdateWithWhereUniqueWithoutTaskInput[]
13002
+ updateMany?: TraceSpanUpdateManyWithWhereWithoutTaskInput | TraceSpanUpdateManyWithWhereWithoutTaskInput[]
13003
+ deleteMany?: TraceSpanScalarWhereInput | TraceSpanScalarWhereInput[]
13004
+ }
13005
+
11537
13006
  export type TaskCreateNestedOneWithoutStepsInput = {
11538
13007
  create?: XOR<TaskCreateWithoutStepsInput, TaskUncheckedCreateWithoutStepsInput>
11539
13008
  connectOrCreate?: TaskCreateOrConnectWithoutStepsInput
@@ -11598,6 +13067,26 @@ export namespace Prisma {
11598
13067
  update?: XOR<XOR<TaskUpdateToOneWithWhereWithoutAgentRunsInput, TaskUpdateWithoutAgentRunsInput>, TaskUncheckedUpdateWithoutAgentRunsInput>
11599
13068
  }
11600
13069
 
13070
+ export type TaskCreateNestedOneWithoutTraceSpansInput = {
13071
+ create?: XOR<TaskCreateWithoutTraceSpansInput, TaskUncheckedCreateWithoutTraceSpansInput>
13072
+ connectOrCreate?: TaskCreateOrConnectWithoutTraceSpansInput
13073
+ connect?: TaskWhereUniqueInput
13074
+ }
13075
+
13076
+ export type NullableDateTimeFieldUpdateOperationsInput = {
13077
+ set?: Date | string | null
13078
+ }
13079
+
13080
+ export type TaskUpdateOneWithoutTraceSpansNestedInput = {
13081
+ create?: XOR<TaskCreateWithoutTraceSpansInput, TaskUncheckedCreateWithoutTraceSpansInput>
13082
+ connectOrCreate?: TaskCreateOrConnectWithoutTraceSpansInput
13083
+ upsert?: TaskUpsertWithoutTraceSpansInput
13084
+ disconnect?: TaskWhereInput | boolean
13085
+ delete?: TaskWhereInput | boolean
13086
+ connect?: TaskWhereUniqueInput
13087
+ update?: XOR<XOR<TaskUpdateToOneWithWhereWithoutTraceSpansInput, TaskUpdateWithoutTraceSpansInput>, TaskUncheckedUpdateWithoutTraceSpansInput>
13088
+ }
13089
+
11601
13090
  export type BoolFieldUpdateOperationsInput = {
11602
13091
  set?: boolean
11603
13092
  }
@@ -11738,6 +13227,31 @@ export namespace Prisma {
11738
13227
  not?: NestedFloatFilter<$PrismaModel> | number
11739
13228
  }
11740
13229
 
13230
+ export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
13231
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
13232
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
13233
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
13234
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13235
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13236
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13237
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13238
+ not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
13239
+ }
13240
+
13241
+ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
13242
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
13243
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
13244
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
13245
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13246
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13247
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13248
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
13249
+ not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
13250
+ _count?: NestedIntNullableFilter<$PrismaModel>
13251
+ _min?: NestedDateTimeNullableFilter<$PrismaModel>
13252
+ _max?: NestedDateTimeNullableFilter<$PrismaModel>
13253
+ }
13254
+
11741
13255
  export type NestedBoolFilter<$PrismaModel = never> = {
11742
13256
  equals?: boolean | BooleanFieldRefInput<$PrismaModel>
11743
13257
  not?: NestedBoolFilter<$PrismaModel> | boolean
@@ -11768,6 +13282,7 @@ export namespace Prisma {
11768
13282
  traces?: TaskTraceCreateNestedManyWithoutTaskInput
11769
13283
  diffs?: TaskDiffCreateNestedManyWithoutTaskInput
11770
13284
  agentRuns?: AgentRunCreateNestedManyWithoutTaskInput
13285
+ traceSpans?: TraceSpanCreateNestedManyWithoutTaskInput
11771
13286
  }
11772
13287
 
11773
13288
  export type TaskUncheckedCreateWithoutProjectInput = {
@@ -11787,6 +13302,7 @@ export namespace Prisma {
11787
13302
  traces?: TaskTraceUncheckedCreateNestedManyWithoutTaskInput
11788
13303
  diffs?: TaskDiffUncheckedCreateNestedManyWithoutTaskInput
11789
13304
  agentRuns?: AgentRunUncheckedCreateNestedManyWithoutTaskInput
13305
+ traceSpans?: TraceSpanUncheckedCreateNestedManyWithoutTaskInput
11790
13306
  }
11791
13307
 
11792
13308
  export type TaskCreateOrConnectWithoutProjectInput = {
@@ -11979,6 +13495,42 @@ export namespace Prisma {
11979
13495
  skipDuplicates?: boolean
11980
13496
  }
11981
13497
 
13498
+ export type TraceSpanCreateWithoutTaskInput = {
13499
+ id?: string
13500
+ traceId: string
13501
+ spanId: string
13502
+ parentId?: string | null
13503
+ name: string
13504
+ startTime?: Date | string
13505
+ endTime?: Date | string | null
13506
+ status?: string
13507
+ attributes?: string | null
13508
+ events?: string | null
13509
+ }
13510
+
13511
+ export type TraceSpanUncheckedCreateWithoutTaskInput = {
13512
+ id?: string
13513
+ traceId: string
13514
+ spanId: string
13515
+ parentId?: string | null
13516
+ name: string
13517
+ startTime?: Date | string
13518
+ endTime?: Date | string | null
13519
+ status?: string
13520
+ attributes?: string | null
13521
+ events?: string | null
13522
+ }
13523
+
13524
+ export type TraceSpanCreateOrConnectWithoutTaskInput = {
13525
+ where: TraceSpanWhereUniqueInput
13526
+ create: XOR<TraceSpanCreateWithoutTaskInput, TraceSpanUncheckedCreateWithoutTaskInput>
13527
+ }
13528
+
13529
+ export type TraceSpanCreateManyTaskInputEnvelope = {
13530
+ data: TraceSpanCreateManyTaskInput | TraceSpanCreateManyTaskInput[]
13531
+ skipDuplicates?: boolean
13532
+ }
13533
+
11982
13534
  export type ProjectUpsertWithoutTasksInput = {
11983
13535
  update: XOR<ProjectUpdateWithoutTasksInput, ProjectUncheckedUpdateWithoutTasksInput>
11984
13536
  create: XOR<ProjectCreateWithoutTasksInput, ProjectUncheckedCreateWithoutTasksInput>
@@ -12130,6 +13682,39 @@ export namespace Prisma {
12130
13682
  updatedAt?: DateTimeFilter<"AgentRun"> | Date | string
12131
13683
  }
12132
13684
 
13685
+ export type TraceSpanUpsertWithWhereUniqueWithoutTaskInput = {
13686
+ where: TraceSpanWhereUniqueInput
13687
+ update: XOR<TraceSpanUpdateWithoutTaskInput, TraceSpanUncheckedUpdateWithoutTaskInput>
13688
+ create: XOR<TraceSpanCreateWithoutTaskInput, TraceSpanUncheckedCreateWithoutTaskInput>
13689
+ }
13690
+
13691
+ export type TraceSpanUpdateWithWhereUniqueWithoutTaskInput = {
13692
+ where: TraceSpanWhereUniqueInput
13693
+ data: XOR<TraceSpanUpdateWithoutTaskInput, TraceSpanUncheckedUpdateWithoutTaskInput>
13694
+ }
13695
+
13696
+ export type TraceSpanUpdateManyWithWhereWithoutTaskInput = {
13697
+ where: TraceSpanScalarWhereInput
13698
+ data: XOR<TraceSpanUpdateManyMutationInput, TraceSpanUncheckedUpdateManyWithoutTaskInput>
13699
+ }
13700
+
13701
+ export type TraceSpanScalarWhereInput = {
13702
+ AND?: TraceSpanScalarWhereInput | TraceSpanScalarWhereInput[]
13703
+ OR?: TraceSpanScalarWhereInput[]
13704
+ NOT?: TraceSpanScalarWhereInput | TraceSpanScalarWhereInput[]
13705
+ id?: StringFilter<"TraceSpan"> | string
13706
+ traceId?: StringFilter<"TraceSpan"> | string
13707
+ spanId?: StringFilter<"TraceSpan"> | string
13708
+ parentId?: StringNullableFilter<"TraceSpan"> | string | null
13709
+ taskId?: StringNullableFilter<"TraceSpan"> | string | null
13710
+ name?: StringFilter<"TraceSpan"> | string
13711
+ startTime?: DateTimeFilter<"TraceSpan"> | Date | string
13712
+ endTime?: DateTimeNullableFilter<"TraceSpan"> | Date | string | null
13713
+ status?: StringFilter<"TraceSpan"> | string
13714
+ attributes?: StringNullableFilter<"TraceSpan"> | string | null
13715
+ events?: StringNullableFilter<"TraceSpan"> | string | null
13716
+ }
13717
+
12133
13718
  export type TaskCreateWithoutStepsInput = {
12134
13719
  id?: string
12135
13720
  title: string
@@ -12147,6 +13732,7 @@ export namespace Prisma {
12147
13732
  traces?: TaskTraceCreateNestedManyWithoutTaskInput
12148
13733
  diffs?: TaskDiffCreateNestedManyWithoutTaskInput
12149
13734
  agentRuns?: AgentRunCreateNestedManyWithoutTaskInput
13735
+ traceSpans?: TraceSpanCreateNestedManyWithoutTaskInput
12150
13736
  }
12151
13737
 
12152
13738
  export type TaskUncheckedCreateWithoutStepsInput = {
@@ -12166,6 +13752,7 @@ export namespace Prisma {
12166
13752
  traces?: TaskTraceUncheckedCreateNestedManyWithoutTaskInput
12167
13753
  diffs?: TaskDiffUncheckedCreateNestedManyWithoutTaskInput
12168
13754
  agentRuns?: AgentRunUncheckedCreateNestedManyWithoutTaskInput
13755
+ traceSpans?: TraceSpanUncheckedCreateNestedManyWithoutTaskInput
12169
13756
  }
12170
13757
 
12171
13758
  export type TaskCreateOrConnectWithoutStepsInput = {
@@ -12201,6 +13788,7 @@ export namespace Prisma {
12201
13788
  traces?: TaskTraceUpdateManyWithoutTaskNestedInput
12202
13789
  diffs?: TaskDiffUpdateManyWithoutTaskNestedInput
12203
13790
  agentRuns?: AgentRunUpdateManyWithoutTaskNestedInput
13791
+ traceSpans?: TraceSpanUpdateManyWithoutTaskNestedInput
12204
13792
  }
12205
13793
 
12206
13794
  export type TaskUncheckedUpdateWithoutStepsInput = {
@@ -12220,6 +13808,7 @@ export namespace Prisma {
12220
13808
  traces?: TaskTraceUncheckedUpdateManyWithoutTaskNestedInput
12221
13809
  diffs?: TaskDiffUncheckedUpdateManyWithoutTaskNestedInput
12222
13810
  agentRuns?: AgentRunUncheckedUpdateManyWithoutTaskNestedInput
13811
+ traceSpans?: TraceSpanUncheckedUpdateManyWithoutTaskNestedInput
12223
13812
  }
12224
13813
 
12225
13814
  export type TaskCreateWithoutTracesInput = {
@@ -12239,6 +13828,7 @@ export namespace Prisma {
12239
13828
  steps?: TaskStepCreateNestedManyWithoutTaskInput
12240
13829
  diffs?: TaskDiffCreateNestedManyWithoutTaskInput
12241
13830
  agentRuns?: AgentRunCreateNestedManyWithoutTaskInput
13831
+ traceSpans?: TraceSpanCreateNestedManyWithoutTaskInput
12242
13832
  }
12243
13833
 
12244
13834
  export type TaskUncheckedCreateWithoutTracesInput = {
@@ -12258,6 +13848,7 @@ export namespace Prisma {
12258
13848
  steps?: TaskStepUncheckedCreateNestedManyWithoutTaskInput
12259
13849
  diffs?: TaskDiffUncheckedCreateNestedManyWithoutTaskInput
12260
13850
  agentRuns?: AgentRunUncheckedCreateNestedManyWithoutTaskInput
13851
+ traceSpans?: TraceSpanUncheckedCreateNestedManyWithoutTaskInput
12261
13852
  }
12262
13853
 
12263
13854
  export type TaskCreateOrConnectWithoutTracesInput = {
@@ -12293,6 +13884,7 @@ export namespace Prisma {
12293
13884
  steps?: TaskStepUpdateManyWithoutTaskNestedInput
12294
13885
  diffs?: TaskDiffUpdateManyWithoutTaskNestedInput
12295
13886
  agentRuns?: AgentRunUpdateManyWithoutTaskNestedInput
13887
+ traceSpans?: TraceSpanUpdateManyWithoutTaskNestedInput
12296
13888
  }
12297
13889
 
12298
13890
  export type TaskUncheckedUpdateWithoutTracesInput = {
@@ -12312,6 +13904,7 @@ export namespace Prisma {
12312
13904
  steps?: TaskStepUncheckedUpdateManyWithoutTaskNestedInput
12313
13905
  diffs?: TaskDiffUncheckedUpdateManyWithoutTaskNestedInput
12314
13906
  agentRuns?: AgentRunUncheckedUpdateManyWithoutTaskNestedInput
13907
+ traceSpans?: TraceSpanUncheckedUpdateManyWithoutTaskNestedInput
12315
13908
  }
12316
13909
 
12317
13910
  export type TaskCreateWithoutDiffsInput = {
@@ -12331,6 +13924,7 @@ export namespace Prisma {
12331
13924
  steps?: TaskStepCreateNestedManyWithoutTaskInput
12332
13925
  traces?: TaskTraceCreateNestedManyWithoutTaskInput
12333
13926
  agentRuns?: AgentRunCreateNestedManyWithoutTaskInput
13927
+ traceSpans?: TraceSpanCreateNestedManyWithoutTaskInput
12334
13928
  }
12335
13929
 
12336
13930
  export type TaskUncheckedCreateWithoutDiffsInput = {
@@ -12350,6 +13944,7 @@ export namespace Prisma {
12350
13944
  steps?: TaskStepUncheckedCreateNestedManyWithoutTaskInput
12351
13945
  traces?: TaskTraceUncheckedCreateNestedManyWithoutTaskInput
12352
13946
  agentRuns?: AgentRunUncheckedCreateNestedManyWithoutTaskInput
13947
+ traceSpans?: TraceSpanUncheckedCreateNestedManyWithoutTaskInput
12353
13948
  }
12354
13949
 
12355
13950
  export type TaskCreateOrConnectWithoutDiffsInput = {
@@ -12385,6 +13980,7 @@ export namespace Prisma {
12385
13980
  steps?: TaskStepUpdateManyWithoutTaskNestedInput
12386
13981
  traces?: TaskTraceUpdateManyWithoutTaskNestedInput
12387
13982
  agentRuns?: AgentRunUpdateManyWithoutTaskNestedInput
13983
+ traceSpans?: TraceSpanUpdateManyWithoutTaskNestedInput
12388
13984
  }
12389
13985
 
12390
13986
  export type TaskUncheckedUpdateWithoutDiffsInput = {
@@ -12404,6 +14000,7 @@ export namespace Prisma {
12404
14000
  steps?: TaskStepUncheckedUpdateManyWithoutTaskNestedInput
12405
14001
  traces?: TaskTraceUncheckedUpdateManyWithoutTaskNestedInput
12406
14002
  agentRuns?: AgentRunUncheckedUpdateManyWithoutTaskNestedInput
14003
+ traceSpans?: TraceSpanUncheckedUpdateManyWithoutTaskNestedInput
12407
14004
  }
12408
14005
 
12409
14006
  export type TaskCreateWithoutAgentRunsInput = {
@@ -12423,6 +14020,7 @@ export namespace Prisma {
12423
14020
  steps?: TaskStepCreateNestedManyWithoutTaskInput
12424
14021
  traces?: TaskTraceCreateNestedManyWithoutTaskInput
12425
14022
  diffs?: TaskDiffCreateNestedManyWithoutTaskInput
14023
+ traceSpans?: TraceSpanCreateNestedManyWithoutTaskInput
12426
14024
  }
12427
14025
 
12428
14026
  export type TaskUncheckedCreateWithoutAgentRunsInput = {
@@ -12442,6 +14040,7 @@ export namespace Prisma {
12442
14040
  steps?: TaskStepUncheckedCreateNestedManyWithoutTaskInput
12443
14041
  traces?: TaskTraceUncheckedCreateNestedManyWithoutTaskInput
12444
14042
  diffs?: TaskDiffUncheckedCreateNestedManyWithoutTaskInput
14043
+ traceSpans?: TraceSpanUncheckedCreateNestedManyWithoutTaskInput
12445
14044
  }
12446
14045
 
12447
14046
  export type TaskCreateOrConnectWithoutAgentRunsInput = {
@@ -12477,6 +14076,7 @@ export namespace Prisma {
12477
14076
  steps?: TaskStepUpdateManyWithoutTaskNestedInput
12478
14077
  traces?: TaskTraceUpdateManyWithoutTaskNestedInput
12479
14078
  diffs?: TaskDiffUpdateManyWithoutTaskNestedInput
14079
+ traceSpans?: TraceSpanUpdateManyWithoutTaskNestedInput
12480
14080
  }
12481
14081
 
12482
14082
  export type TaskUncheckedUpdateWithoutAgentRunsInput = {
@@ -12496,6 +14096,103 @@ export namespace Prisma {
12496
14096
  steps?: TaskStepUncheckedUpdateManyWithoutTaskNestedInput
12497
14097
  traces?: TaskTraceUncheckedUpdateManyWithoutTaskNestedInput
12498
14098
  diffs?: TaskDiffUncheckedUpdateManyWithoutTaskNestedInput
14099
+ traceSpans?: TraceSpanUncheckedUpdateManyWithoutTaskNestedInput
14100
+ }
14101
+
14102
+ export type TaskCreateWithoutTraceSpansInput = {
14103
+ id?: string
14104
+ title: string
14105
+ description?: string | null
14106
+ status?: string
14107
+ complexity?: string
14108
+ tags?: string | null
14109
+ provider?: string | null
14110
+ model?: string | null
14111
+ result?: string | null
14112
+ error?: string | null
14113
+ createdAt?: Date | string
14114
+ updatedAt?: Date | string
14115
+ project: ProjectCreateNestedOneWithoutTasksInput
14116
+ steps?: TaskStepCreateNestedManyWithoutTaskInput
14117
+ traces?: TaskTraceCreateNestedManyWithoutTaskInput
14118
+ diffs?: TaskDiffCreateNestedManyWithoutTaskInput
14119
+ agentRuns?: AgentRunCreateNestedManyWithoutTaskInput
14120
+ }
14121
+
14122
+ export type TaskUncheckedCreateWithoutTraceSpansInput = {
14123
+ id?: string
14124
+ projectId: string
14125
+ title: string
14126
+ description?: string | null
14127
+ status?: string
14128
+ complexity?: string
14129
+ tags?: string | null
14130
+ provider?: string | null
14131
+ model?: string | null
14132
+ result?: string | null
14133
+ error?: string | null
14134
+ createdAt?: Date | string
14135
+ updatedAt?: Date | string
14136
+ steps?: TaskStepUncheckedCreateNestedManyWithoutTaskInput
14137
+ traces?: TaskTraceUncheckedCreateNestedManyWithoutTaskInput
14138
+ diffs?: TaskDiffUncheckedCreateNestedManyWithoutTaskInput
14139
+ agentRuns?: AgentRunUncheckedCreateNestedManyWithoutTaskInput
14140
+ }
14141
+
14142
+ export type TaskCreateOrConnectWithoutTraceSpansInput = {
14143
+ where: TaskWhereUniqueInput
14144
+ create: XOR<TaskCreateWithoutTraceSpansInput, TaskUncheckedCreateWithoutTraceSpansInput>
14145
+ }
14146
+
14147
+ export type TaskUpsertWithoutTraceSpansInput = {
14148
+ update: XOR<TaskUpdateWithoutTraceSpansInput, TaskUncheckedUpdateWithoutTraceSpansInput>
14149
+ create: XOR<TaskCreateWithoutTraceSpansInput, TaskUncheckedCreateWithoutTraceSpansInput>
14150
+ where?: TaskWhereInput
14151
+ }
14152
+
14153
+ export type TaskUpdateToOneWithWhereWithoutTraceSpansInput = {
14154
+ where?: TaskWhereInput
14155
+ data: XOR<TaskUpdateWithoutTraceSpansInput, TaskUncheckedUpdateWithoutTraceSpansInput>
14156
+ }
14157
+
14158
+ export type TaskUpdateWithoutTraceSpansInput = {
14159
+ id?: StringFieldUpdateOperationsInput | string
14160
+ title?: StringFieldUpdateOperationsInput | string
14161
+ description?: NullableStringFieldUpdateOperationsInput | string | null
14162
+ status?: StringFieldUpdateOperationsInput | string
14163
+ complexity?: StringFieldUpdateOperationsInput | string
14164
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
14165
+ provider?: NullableStringFieldUpdateOperationsInput | string | null
14166
+ model?: NullableStringFieldUpdateOperationsInput | string | null
14167
+ result?: NullableStringFieldUpdateOperationsInput | string | null
14168
+ error?: NullableStringFieldUpdateOperationsInput | string | null
14169
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
14170
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
14171
+ project?: ProjectUpdateOneRequiredWithoutTasksNestedInput
14172
+ steps?: TaskStepUpdateManyWithoutTaskNestedInput
14173
+ traces?: TaskTraceUpdateManyWithoutTaskNestedInput
14174
+ diffs?: TaskDiffUpdateManyWithoutTaskNestedInput
14175
+ agentRuns?: AgentRunUpdateManyWithoutTaskNestedInput
14176
+ }
14177
+
14178
+ export type TaskUncheckedUpdateWithoutTraceSpansInput = {
14179
+ id?: StringFieldUpdateOperationsInput | string
14180
+ projectId?: StringFieldUpdateOperationsInput | string
14181
+ title?: StringFieldUpdateOperationsInput | string
14182
+ description?: NullableStringFieldUpdateOperationsInput | string | null
14183
+ status?: StringFieldUpdateOperationsInput | string
14184
+ complexity?: StringFieldUpdateOperationsInput | string
14185
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
14186
+ provider?: NullableStringFieldUpdateOperationsInput | string | null
14187
+ model?: NullableStringFieldUpdateOperationsInput | string | null
14188
+ result?: NullableStringFieldUpdateOperationsInput | string | null
14189
+ error?: NullableStringFieldUpdateOperationsInput | string | null
14190
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
14191
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
14192
+ steps?: TaskStepUncheckedUpdateManyWithoutTaskNestedInput
14193
+ traces?: TaskTraceUncheckedUpdateManyWithoutTaskNestedInput
14194
+ diffs?: TaskDiffUncheckedUpdateManyWithoutTaskNestedInput
14195
+ agentRuns?: AgentRunUncheckedUpdateManyWithoutTaskNestedInput
12499
14196
  }
12500
14197
 
12501
14198
  export type TaskCreateManyProjectInput = {
@@ -12530,6 +14227,7 @@ export namespace Prisma {
12530
14227
  traces?: TaskTraceUpdateManyWithoutTaskNestedInput
12531
14228
  diffs?: TaskDiffUpdateManyWithoutTaskNestedInput
12532
14229
  agentRuns?: AgentRunUpdateManyWithoutTaskNestedInput
14230
+ traceSpans?: TraceSpanUpdateManyWithoutTaskNestedInput
12533
14231
  }
12534
14232
 
12535
14233
  export type TaskUncheckedUpdateWithoutProjectInput = {
@@ -12549,6 +14247,7 @@ export namespace Prisma {
12549
14247
  traces?: TaskTraceUncheckedUpdateManyWithoutTaskNestedInput
12550
14248
  diffs?: TaskDiffUncheckedUpdateManyWithoutTaskNestedInput
12551
14249
  agentRuns?: AgentRunUncheckedUpdateManyWithoutTaskNestedInput
14250
+ traceSpans?: TraceSpanUncheckedUpdateManyWithoutTaskNestedInput
12552
14251
  }
12553
14252
 
12554
14253
  export type TaskUncheckedUpdateManyWithoutProjectInput = {
@@ -12606,6 +14305,19 @@ export namespace Prisma {
12606
14305
  updatedAt?: Date | string
12607
14306
  }
12608
14307
 
14308
+ export type TraceSpanCreateManyTaskInput = {
14309
+ id?: string
14310
+ traceId: string
14311
+ spanId: string
14312
+ parentId?: string | null
14313
+ name: string
14314
+ startTime?: Date | string
14315
+ endTime?: Date | string | null
14316
+ status?: string
14317
+ attributes?: string | null
14318
+ events?: string | null
14319
+ }
14320
+
12609
14321
  export type TaskStepUpdateWithoutTaskInput = {
12610
14322
  id?: StringFieldUpdateOperationsInput | string
12611
14323
  idx?: IntFieldUpdateOperationsInput | number
@@ -12726,6 +14438,45 @@ export namespace Prisma {
12726
14438
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
12727
14439
  }
12728
14440
 
14441
+ export type TraceSpanUpdateWithoutTaskInput = {
14442
+ id?: StringFieldUpdateOperationsInput | string
14443
+ traceId?: StringFieldUpdateOperationsInput | string
14444
+ spanId?: StringFieldUpdateOperationsInput | string
14445
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
14446
+ name?: StringFieldUpdateOperationsInput | string
14447
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
14448
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
14449
+ status?: StringFieldUpdateOperationsInput | string
14450
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
14451
+ events?: NullableStringFieldUpdateOperationsInput | string | null
14452
+ }
14453
+
14454
+ export type TraceSpanUncheckedUpdateWithoutTaskInput = {
14455
+ id?: StringFieldUpdateOperationsInput | string
14456
+ traceId?: StringFieldUpdateOperationsInput | string
14457
+ spanId?: StringFieldUpdateOperationsInput | string
14458
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
14459
+ name?: StringFieldUpdateOperationsInput | string
14460
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
14461
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
14462
+ status?: StringFieldUpdateOperationsInput | string
14463
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
14464
+ events?: NullableStringFieldUpdateOperationsInput | string | null
14465
+ }
14466
+
14467
+ export type TraceSpanUncheckedUpdateManyWithoutTaskInput = {
14468
+ id?: StringFieldUpdateOperationsInput | string
14469
+ traceId?: StringFieldUpdateOperationsInput | string
14470
+ spanId?: StringFieldUpdateOperationsInput | string
14471
+ parentId?: NullableStringFieldUpdateOperationsInput | string | null
14472
+ name?: StringFieldUpdateOperationsInput | string
14473
+ startTime?: DateTimeFieldUpdateOperationsInput | Date | string
14474
+ endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
14475
+ status?: StringFieldUpdateOperationsInput | string
14476
+ attributes?: NullableStringFieldUpdateOperationsInput | string | null
14477
+ events?: NullableStringFieldUpdateOperationsInput | string | null
14478
+ }
14479
+
12729
14480
 
12730
14481
 
12731
14482
  /**
@@ -12763,6 +14514,10 @@ export namespace Prisma {
12763
14514
  * @deprecated Use AgentRunDefaultArgs instead
12764
14515
  */
12765
14516
  export type AgentRunArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AgentRunDefaultArgs<ExtArgs>
14517
+ /**
14518
+ * @deprecated Use TraceSpanDefaultArgs instead
14519
+ */
14520
+ export type TraceSpanArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TraceSpanDefaultArgs<ExtArgs>
12766
14521
  /**
12767
14522
  * @deprecated Use ProviderConfigDefaultArgs instead
12768
14523
  */