@to11ai/sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22800,6 +22800,12 @@ export type TracesGetTraceDetailResponses = {
|
|
|
22800
22800
|
attributes: {
|
|
22801
22801
|
[key: string]: string | number | boolean | null;
|
|
22802
22802
|
};
|
|
22803
|
+
consumedBy?: Array<{
|
|
22804
|
+
kind: string;
|
|
22805
|
+
name: string;
|
|
22806
|
+
spanId: string;
|
|
22807
|
+
traceId: string;
|
|
22808
|
+
}> | null;
|
|
22803
22809
|
cost: {
|
|
22804
22810
|
currency: 'USD';
|
|
22805
22811
|
tokens: {
|
|
@@ -22848,6 +22854,15 @@ export type TracesGetTraceDetailResponses = {
|
|
|
22848
22854
|
timestampOffsetMs: number;
|
|
22849
22855
|
}>;
|
|
22850
22856
|
kind: 'SERVER' | 'CLIENT' | 'INTERNAL';
|
|
22857
|
+
links?: Array<{
|
|
22858
|
+
attributes: {
|
|
22859
|
+
[key: string]: string;
|
|
22860
|
+
};
|
|
22861
|
+
kind: string;
|
|
22862
|
+
name: string;
|
|
22863
|
+
spanId: string;
|
|
22864
|
+
traceId: string;
|
|
22865
|
+
}> | null;
|
|
22851
22866
|
name: string;
|
|
22852
22867
|
parent_span_id: string | null;
|
|
22853
22868
|
span_id: string;
|
|
@@ -13614,6 +13614,12 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
13614
13614
|
duration_ms: z.ZodNumber;
|
|
13615
13615
|
spans: z.ZodArray<z.ZodObject<{
|
|
13616
13616
|
attributes: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
13617
|
+
consumedBy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13618
|
+
kind: z.ZodString;
|
|
13619
|
+
name: z.ZodString;
|
|
13620
|
+
spanId: z.ZodString;
|
|
13621
|
+
traceId: z.ZodString;
|
|
13622
|
+
}, z.core.$strip>>>>;
|
|
13617
13623
|
cost: z.ZodNullable<z.ZodObject<{
|
|
13618
13624
|
currency: z.ZodEnum<{
|
|
13619
13625
|
USD: "USD";
|
|
@@ -13674,6 +13680,13 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
13674
13680
|
CLIENT: "CLIENT";
|
|
13675
13681
|
INTERNAL: "INTERNAL";
|
|
13676
13682
|
}>;
|
|
13683
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13684
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
13685
|
+
kind: z.ZodString;
|
|
13686
|
+
name: z.ZodString;
|
|
13687
|
+
spanId: z.ZodString;
|
|
13688
|
+
traceId: z.ZodString;
|
|
13689
|
+
}, z.core.$strip>>>>;
|
|
13677
13690
|
name: z.ZodString;
|
|
13678
13691
|
parent_span_id: z.ZodNullable<z.ZodString>;
|
|
13679
13692
|
span_id: z.ZodString;
|
package/package.json
CHANGED
|
@@ -23904,6 +23904,12 @@ export type TracesGetTraceDetailResponses = {
|
|
|
23904
23904
|
attributes: {
|
|
23905
23905
|
[key: string]: string | number | boolean | null;
|
|
23906
23906
|
};
|
|
23907
|
+
consumedBy?: Array<{
|
|
23908
|
+
kind: string;
|
|
23909
|
+
name: string;
|
|
23910
|
+
spanId: string;
|
|
23911
|
+
traceId: string;
|
|
23912
|
+
}> | null;
|
|
23907
23913
|
cost: {
|
|
23908
23914
|
currency: 'USD';
|
|
23909
23915
|
tokens: {
|
|
@@ -23952,6 +23958,15 @@ export type TracesGetTraceDetailResponses = {
|
|
|
23952
23958
|
timestampOffsetMs: number;
|
|
23953
23959
|
}>;
|
|
23954
23960
|
kind: 'SERVER' | 'CLIENT' | 'INTERNAL';
|
|
23961
|
+
links?: Array<{
|
|
23962
|
+
attributes: {
|
|
23963
|
+
[key: string]: string;
|
|
23964
|
+
};
|
|
23965
|
+
kind: string;
|
|
23966
|
+
name: string;
|
|
23967
|
+
spanId: string;
|
|
23968
|
+
traceId: string;
|
|
23969
|
+
}> | null;
|
|
23955
23970
|
name: string;
|
|
23956
23971
|
parent_span_id: string | null;
|
|
23957
23972
|
span_id: string;
|
package/src/generated/zod.gen.ts
CHANGED
|
@@ -12620,6 +12620,12 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
12620
12620
|
z.number(),
|
|
12621
12621
|
z.boolean()
|
|
12622
12622
|
]).nullable()),
|
|
12623
|
+
consumedBy: z.array(z.object({
|
|
12624
|
+
kind: z.string(),
|
|
12625
|
+
name: z.string(),
|
|
12626
|
+
spanId: z.string(),
|
|
12627
|
+
traceId: z.string()
|
|
12628
|
+
})).nullish(),
|
|
12623
12629
|
cost: z.object({
|
|
12624
12630
|
currency: z.enum(['USD']),
|
|
12625
12631
|
tokens: z.object({
|
|
@@ -12682,6 +12688,13 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
12682
12688
|
'CLIENT',
|
|
12683
12689
|
'INTERNAL'
|
|
12684
12690
|
]),
|
|
12691
|
+
links: z.array(z.object({
|
|
12692
|
+
attributes: z.record(z.string(), z.string()),
|
|
12693
|
+
kind: z.string(),
|
|
12694
|
+
name: z.string(),
|
|
12695
|
+
spanId: z.string(),
|
|
12696
|
+
traceId: z.string()
|
|
12697
|
+
})).nullish(),
|
|
12685
12698
|
name: z.string(),
|
|
12686
12699
|
parent_span_id: z.string().nullable(),
|
|
12687
12700
|
span_id: z.string(),
|