@sentry/api 0.392.0 → 0.393.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.
- package/dist/sentry-client.gen.d.ts +77 -0
- package/dist/types.gen.d.ts +158 -6
- package/dist/valibot.gen.d.ts +151 -10
- package/dist/valibot.js +164 -5
- package/dist/zod.gen.d.ts +1139 -366
- package/dist/zod.js +278 -95
- package/package.json +1 -1
package/dist/zod.gen.d.ts
CHANGED
|
@@ -29582,10 +29582,7 @@ export declare const zRepositorySettings: z.ZodObject<{
|
|
|
29582
29582
|
codeReviewTriggers?: ("on_new_commit" | "on_ready_for_review")[] | undefined;
|
|
29583
29583
|
enabledCodeReview?: boolean | undefined;
|
|
29584
29584
|
}>;
|
|
29585
|
-
|
|
29586
|
-
* Span page plus conversation-level metadata.
|
|
29587
|
-
*/
|
|
29588
|
-
export declare const zRetrieveOrganizationAiConversationResponse: z.ZodObject<{
|
|
29585
|
+
export declare const zRetrieveOrganizationAiConversationResponse: z.ZodUnion<[z.ZodObject<{
|
|
29589
29586
|
conversationId: z.ZodString;
|
|
29590
29587
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
29591
29588
|
projects: z.ZodArray<z.ZodObject<{
|
|
@@ -29836,164 +29833,551 @@ export declare const zRetrieveOrganizationAiConversationResponse: z.ZodObject<{
|
|
|
29836
29833
|
}[];
|
|
29837
29834
|
webUrl: string;
|
|
29838
29835
|
conversationId: string;
|
|
29839
|
-
}
|
|
29840
|
-
|
|
29841
|
-
|
|
29842
|
-
|
|
29843
|
-
|
|
29844
|
-
itemsPerPage: z.ZodNumber;
|
|
29845
|
-
Resources: z.ZodArray<z.ZodObject<{
|
|
29846
|
-
schemas: z.ZodArray<z.ZodString, "many">;
|
|
29847
|
-
id: z.ZodString;
|
|
29836
|
+
}>, z.ZodObject<{
|
|
29837
|
+
conversationId: z.ZodString;
|
|
29838
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
29839
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
29840
|
+
id: z.ZodNumber;
|
|
29848
29841
|
name: z.ZodString;
|
|
29849
|
-
|
|
29850
|
-
endpoint: z.ZodString;
|
|
29851
|
-
schema: z.ZodString;
|
|
29852
|
-
meta: z.ZodObject<{
|
|
29853
|
-
resourceType: z.ZodString;
|
|
29854
|
-
location: z.ZodString;
|
|
29855
|
-
}, "strip", z.ZodTypeAny, {
|
|
29856
|
-
location: string;
|
|
29857
|
-
resourceType: string;
|
|
29858
|
-
}, {
|
|
29859
|
-
location: string;
|
|
29860
|
-
resourceType: string;
|
|
29861
|
-
}>;
|
|
29842
|
+
slug: z.ZodString;
|
|
29862
29843
|
}, "strip", z.ZodTypeAny, {
|
|
29863
29844
|
name: string;
|
|
29864
|
-
id:
|
|
29865
|
-
|
|
29866
|
-
location: string;
|
|
29867
|
-
resourceType: string;
|
|
29868
|
-
};
|
|
29869
|
-
schema: string;
|
|
29870
|
-
description: string;
|
|
29871
|
-
schemas: string[];
|
|
29872
|
-
endpoint: string;
|
|
29845
|
+
id: number;
|
|
29846
|
+
slug: string;
|
|
29873
29847
|
}, {
|
|
29874
29848
|
name: string;
|
|
29875
|
-
id:
|
|
29876
|
-
|
|
29877
|
-
location: string;
|
|
29878
|
-
resourceType: string;
|
|
29879
|
-
};
|
|
29880
|
-
schema: string;
|
|
29881
|
-
description: string;
|
|
29882
|
-
schemas: string[];
|
|
29883
|
-
endpoint: string;
|
|
29849
|
+
id: number;
|
|
29850
|
+
slug: string;
|
|
29884
29851
|
}>, "many">;
|
|
29885
|
-
|
|
29886
|
-
|
|
29887
|
-
|
|
29888
|
-
|
|
29889
|
-
|
|
29890
|
-
|
|
29891
|
-
|
|
29892
|
-
|
|
29893
|
-
|
|
29894
|
-
|
|
29895
|
-
|
|
29896
|
-
|
|
29897
|
-
|
|
29898
|
-
|
|
29899
|
-
|
|
29900
|
-
|
|
29901
|
-
|
|
29902
|
-
|
|
29903
|
-
|
|
29904
|
-
|
|
29905
|
-
|
|
29906
|
-
|
|
29907
|
-
|
|
29908
|
-
|
|
29909
|
-
|
|
29910
|
-
|
|
29911
|
-
|
|
29912
|
-
|
|
29913
|
-
|
|
29914
|
-
|
|
29915
|
-
|
|
29916
|
-
|
|
29917
|
-
|
|
29918
|
-
|
|
29919
|
-
|
|
29920
|
-
|
|
29921
|
-
schemas: z.ZodArray<z.ZodString, "many">;
|
|
29922
|
-
totalResults: z.ZodNumber;
|
|
29923
|
-
startIndex: z.ZodNumber;
|
|
29924
|
-
itemsPerPage: z.ZodNumber;
|
|
29925
|
-
Resources: z.ZodArray<z.ZodObject<{
|
|
29926
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
|
29927
|
-
schemas: z.ZodArray<z.ZodString, "many">;
|
|
29928
|
-
id: z.ZodString;
|
|
29929
|
-
userName: z.ZodString;
|
|
29930
|
-
name: z.ZodObject<{
|
|
29931
|
-
givenName: z.ZodString;
|
|
29932
|
-
familyName: z.ZodString;
|
|
29933
|
-
}, "strip", z.ZodTypeAny, {
|
|
29934
|
-
givenName: string;
|
|
29935
|
-
familyName: string;
|
|
29936
|
-
}, {
|
|
29937
|
-
givenName: string;
|
|
29938
|
-
familyName: string;
|
|
29939
|
-
}>;
|
|
29940
|
-
emails: z.ZodArray<z.ZodObject<{
|
|
29941
|
-
primary: z.ZodBoolean;
|
|
29942
|
-
value: z.ZodString;
|
|
29943
|
-
type: z.ZodString;
|
|
29852
|
+
webUrl: z.ZodString;
|
|
29853
|
+
stats: z.ZodUnion<[z.ZodObject<{
|
|
29854
|
+
endTimestamp: z.ZodNumber;
|
|
29855
|
+
errors: z.ZodNumber;
|
|
29856
|
+
generationDuration: z.ZodNumber;
|
|
29857
|
+
inputTokens: z.ZodNumber;
|
|
29858
|
+
llmCalls: z.ZodNumber;
|
|
29859
|
+
outputTokens: z.ZodNumber;
|
|
29860
|
+
startTimestamp: z.ZodNumber;
|
|
29861
|
+
toolCalls: z.ZodNumber;
|
|
29862
|
+
toolErrors: z.ZodNumber;
|
|
29863
|
+
toolNames: z.ZodArray<z.ZodString, "many">;
|
|
29864
|
+
totalCost: z.ZodNumber;
|
|
29865
|
+
totalTokens: z.ZodNumber;
|
|
29866
|
+
cacheReadTokens: z.ZodNumber;
|
|
29867
|
+
cacheWriteTokens: z.ZodNumber;
|
|
29868
|
+
errorToolNames: z.ZodArray<z.ZodString, "many">;
|
|
29869
|
+
reasoningTokens: z.ZodNumber;
|
|
29870
|
+
cacheReadCost: z.ZodNumber;
|
|
29871
|
+
cacheWriteCost: z.ZodNumber;
|
|
29872
|
+
reasoningCost: z.ZodNumber;
|
|
29873
|
+
usageByModel: z.ZodArray<z.ZodObject<{
|
|
29874
|
+
model: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
29875
|
+
llmCalls: z.ZodNumber;
|
|
29876
|
+
inputTokens: z.ZodNumber;
|
|
29877
|
+
outputTokens: z.ZodNumber;
|
|
29878
|
+
totalTokens: z.ZodNumber;
|
|
29879
|
+
cacheReadTokens: z.ZodNumber;
|
|
29880
|
+
cacheWriteTokens: z.ZodNumber;
|
|
29881
|
+
reasoningTokens: z.ZodNumber;
|
|
29882
|
+
inputCost: z.ZodNumber;
|
|
29883
|
+
outputCost: z.ZodNumber;
|
|
29884
|
+
cacheReadCost: z.ZodNumber;
|
|
29885
|
+
cacheWriteCost: z.ZodNumber;
|
|
29886
|
+
reasoningCost: z.ZodNumber;
|
|
29887
|
+
totalCost: z.ZodNumber;
|
|
29944
29888
|
}, "strip", z.ZodTypeAny, {
|
|
29945
|
-
|
|
29946
|
-
|
|
29947
|
-
|
|
29889
|
+
model: string | null;
|
|
29890
|
+
inputTokens: number;
|
|
29891
|
+
llmCalls: number;
|
|
29892
|
+
outputTokens: number;
|
|
29893
|
+
totalTokens: number;
|
|
29894
|
+
totalCost: number;
|
|
29895
|
+
cacheReadTokens: number;
|
|
29896
|
+
cacheWriteTokens: number;
|
|
29897
|
+
reasoningTokens: number;
|
|
29898
|
+
inputCost: number;
|
|
29899
|
+
outputCost: number;
|
|
29900
|
+
cacheReadCost: number;
|
|
29901
|
+
cacheWriteCost: number;
|
|
29902
|
+
reasoningCost: number;
|
|
29948
29903
|
}, {
|
|
29949
|
-
|
|
29950
|
-
|
|
29951
|
-
|
|
29904
|
+
model: string | null;
|
|
29905
|
+
inputTokens: number;
|
|
29906
|
+
llmCalls: number;
|
|
29907
|
+
outputTokens: number;
|
|
29908
|
+
totalTokens: number;
|
|
29909
|
+
totalCost: number;
|
|
29910
|
+
cacheReadTokens: number;
|
|
29911
|
+
cacheWriteTokens: number;
|
|
29912
|
+
reasoningTokens: number;
|
|
29913
|
+
inputCost: number;
|
|
29914
|
+
outputCost: number;
|
|
29915
|
+
cacheReadCost: number;
|
|
29916
|
+
cacheWriteCost: number;
|
|
29917
|
+
reasoningCost: number;
|
|
29952
29918
|
}>, "many">;
|
|
29953
|
-
meta: z.ZodObject<{
|
|
29954
|
-
resourceType: z.ZodString;
|
|
29955
|
-
}, "strip", z.ZodTypeAny, {
|
|
29956
|
-
resourceType: string;
|
|
29957
|
-
}, {
|
|
29958
|
-
resourceType: string;
|
|
29959
|
-
}>;
|
|
29960
|
-
sentryOrgRole: z.ZodString;
|
|
29961
29919
|
}, "strip", z.ZodTypeAny, {
|
|
29962
|
-
|
|
29963
|
-
|
|
29964
|
-
|
|
29965
|
-
|
|
29966
|
-
|
|
29967
|
-
|
|
29968
|
-
|
|
29969
|
-
|
|
29970
|
-
|
|
29971
|
-
|
|
29972
|
-
|
|
29973
|
-
|
|
29920
|
+
errors: number;
|
|
29921
|
+
startTimestamp: number;
|
|
29922
|
+
endTimestamp: number;
|
|
29923
|
+
inputTokens: number;
|
|
29924
|
+
llmCalls: number;
|
|
29925
|
+
outputTokens: number;
|
|
29926
|
+
toolCalls: number;
|
|
29927
|
+
toolErrors: number;
|
|
29928
|
+
toolNames: string[];
|
|
29929
|
+
totalTokens: number;
|
|
29930
|
+
generationDuration: number;
|
|
29931
|
+
totalCost: number;
|
|
29932
|
+
cacheReadTokens: number;
|
|
29933
|
+
cacheWriteTokens: number;
|
|
29934
|
+
errorToolNames: string[];
|
|
29935
|
+
reasoningTokens: number;
|
|
29936
|
+
usageByModel: {
|
|
29937
|
+
model: string | null;
|
|
29938
|
+
inputTokens: number;
|
|
29939
|
+
llmCalls: number;
|
|
29940
|
+
outputTokens: number;
|
|
29941
|
+
totalTokens: number;
|
|
29942
|
+
totalCost: number;
|
|
29943
|
+
cacheReadTokens: number;
|
|
29944
|
+
cacheWriteTokens: number;
|
|
29945
|
+
reasoningTokens: number;
|
|
29946
|
+
inputCost: number;
|
|
29947
|
+
outputCost: number;
|
|
29948
|
+
cacheReadCost: number;
|
|
29949
|
+
cacheWriteCost: number;
|
|
29950
|
+
reasoningCost: number;
|
|
29974
29951
|
}[];
|
|
29975
|
-
|
|
29976
|
-
|
|
29977
|
-
|
|
29978
|
-
active?: boolean | undefined;
|
|
29952
|
+
cacheReadCost: number;
|
|
29953
|
+
cacheWriteCost: number;
|
|
29954
|
+
reasoningCost: number;
|
|
29979
29955
|
}, {
|
|
29980
|
-
|
|
29981
|
-
|
|
29982
|
-
|
|
29983
|
-
|
|
29984
|
-
|
|
29985
|
-
|
|
29986
|
-
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
|
|
29992
|
-
|
|
29993
|
-
|
|
29994
|
-
|
|
29995
|
-
|
|
29996
|
-
|
|
29956
|
+
errors: number;
|
|
29957
|
+
startTimestamp: number;
|
|
29958
|
+
endTimestamp: number;
|
|
29959
|
+
inputTokens: number;
|
|
29960
|
+
llmCalls: number;
|
|
29961
|
+
outputTokens: number;
|
|
29962
|
+
toolCalls: number;
|
|
29963
|
+
toolErrors: number;
|
|
29964
|
+
toolNames: string[];
|
|
29965
|
+
totalTokens: number;
|
|
29966
|
+
generationDuration: number;
|
|
29967
|
+
totalCost: number;
|
|
29968
|
+
cacheReadTokens: number;
|
|
29969
|
+
cacheWriteTokens: number;
|
|
29970
|
+
errorToolNames: string[];
|
|
29971
|
+
reasoningTokens: number;
|
|
29972
|
+
usageByModel: {
|
|
29973
|
+
model: string | null;
|
|
29974
|
+
inputTokens: number;
|
|
29975
|
+
llmCalls: number;
|
|
29976
|
+
outputTokens: number;
|
|
29977
|
+
totalTokens: number;
|
|
29978
|
+
totalCost: number;
|
|
29979
|
+
cacheReadTokens: number;
|
|
29980
|
+
cacheWriteTokens: number;
|
|
29981
|
+
reasoningTokens: number;
|
|
29982
|
+
inputCost: number;
|
|
29983
|
+
outputCost: number;
|
|
29984
|
+
cacheReadCost: number;
|
|
29985
|
+
cacheWriteCost: number;
|
|
29986
|
+
reasoningCost: number;
|
|
29987
|
+
}[];
|
|
29988
|
+
cacheReadCost: number;
|
|
29989
|
+
cacheWriteCost: number;
|
|
29990
|
+
reasoningCost: number;
|
|
29991
|
+
}>, z.ZodNull]>;
|
|
29992
|
+
transcript: z.ZodArray<z.ZodObject<{
|
|
29993
|
+
id: z.ZodString;
|
|
29994
|
+
role: z.ZodEnum<["user", "assistant", "embedding", "evaluation", "memory"]>;
|
|
29995
|
+
content: z.ZodString;
|
|
29996
|
+
timestamp: z.ZodNumber;
|
|
29997
|
+
nodeId: z.ZodString;
|
|
29998
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
29999
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
30000
|
+
userEmail: z.ZodOptional<z.ZodString>;
|
|
30001
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
30002
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
30003
|
+
modelName: z.ZodOptional<z.ZodString>;
|
|
30004
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
30005
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30006
|
+
name: z.ZodString;
|
|
30007
|
+
nodeId: z.ZodString;
|
|
30008
|
+
hasError: z.ZodBoolean;
|
|
30009
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
30010
|
+
}, "strip", z.ZodTypeAny, {
|
|
30011
|
+
name: string;
|
|
30012
|
+
nodeId: string;
|
|
30013
|
+
hasError: boolean;
|
|
30014
|
+
duration?: number | undefined;
|
|
30015
|
+
}, {
|
|
30016
|
+
name: string;
|
|
30017
|
+
nodeId: string;
|
|
30018
|
+
hasError: boolean;
|
|
30019
|
+
duration?: number | undefined;
|
|
30020
|
+
}>, "many">>;
|
|
30021
|
+
embeddingInput: z.ZodOptional<z.ZodString>;
|
|
30022
|
+
embeddingTokens: z.ZodOptional<z.ZodNumber>;
|
|
30023
|
+
embeddingHasError: z.ZodOptional<z.ZodBoolean>;
|
|
30024
|
+
evaluation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
30025
|
+
memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
30026
|
+
}, "strip", z.ZodTypeAny, {
|
|
30027
|
+
id: string;
|
|
30028
|
+
content: string;
|
|
30029
|
+
timestamp: number;
|
|
30030
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
30031
|
+
nodeId: string;
|
|
30032
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
30033
|
+
memory?: Record<string, unknown> | undefined;
|
|
30034
|
+
duration?: number | undefined;
|
|
30035
|
+
projectId?: string | undefined;
|
|
30036
|
+
toolCalls?: {
|
|
30037
|
+
name: string;
|
|
30038
|
+
nodeId: string;
|
|
30039
|
+
hasError: boolean;
|
|
30040
|
+
duration?: number | undefined;
|
|
30041
|
+
}[] | undefined;
|
|
30042
|
+
traceId?: string | undefined;
|
|
30043
|
+
userEmail?: string | undefined;
|
|
30044
|
+
reasoning?: string | undefined;
|
|
30045
|
+
agentName?: string | undefined;
|
|
30046
|
+
modelName?: string | undefined;
|
|
30047
|
+
embeddingInput?: string | undefined;
|
|
30048
|
+
embeddingTokens?: number | undefined;
|
|
30049
|
+
embeddingHasError?: boolean | undefined;
|
|
30050
|
+
}, {
|
|
30051
|
+
id: string;
|
|
30052
|
+
content: string;
|
|
30053
|
+
timestamp: number;
|
|
30054
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
30055
|
+
nodeId: string;
|
|
30056
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
30057
|
+
memory?: Record<string, unknown> | undefined;
|
|
30058
|
+
duration?: number | undefined;
|
|
30059
|
+
projectId?: string | undefined;
|
|
30060
|
+
toolCalls?: {
|
|
30061
|
+
name: string;
|
|
30062
|
+
nodeId: string;
|
|
30063
|
+
hasError: boolean;
|
|
30064
|
+
duration?: number | undefined;
|
|
30065
|
+
}[] | undefined;
|
|
30066
|
+
traceId?: string | undefined;
|
|
30067
|
+
userEmail?: string | undefined;
|
|
30068
|
+
reasoning?: string | undefined;
|
|
30069
|
+
agentName?: string | undefined;
|
|
30070
|
+
modelName?: string | undefined;
|
|
30071
|
+
embeddingInput?: string | undefined;
|
|
30072
|
+
embeddingTokens?: number | undefined;
|
|
30073
|
+
embeddingHasError?: boolean | undefined;
|
|
30074
|
+
}>, "many">;
|
|
30075
|
+
complete: z.ZodBoolean;
|
|
30076
|
+
sourceSpanCount: z.ZodNumber;
|
|
30077
|
+
}, "strip", z.ZodTypeAny, {
|
|
30078
|
+
transcript: {
|
|
30079
|
+
id: string;
|
|
30080
|
+
content: string;
|
|
30081
|
+
timestamp: number;
|
|
30082
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
30083
|
+
nodeId: string;
|
|
30084
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
30085
|
+
memory?: Record<string, unknown> | undefined;
|
|
30086
|
+
duration?: number | undefined;
|
|
30087
|
+
projectId?: string | undefined;
|
|
30088
|
+
toolCalls?: {
|
|
30089
|
+
name: string;
|
|
30090
|
+
nodeId: string;
|
|
30091
|
+
hasError: boolean;
|
|
30092
|
+
duration?: number | undefined;
|
|
30093
|
+
}[] | undefined;
|
|
30094
|
+
traceId?: string | undefined;
|
|
30095
|
+
userEmail?: string | undefined;
|
|
30096
|
+
reasoning?: string | undefined;
|
|
30097
|
+
agentName?: string | undefined;
|
|
30098
|
+
modelName?: string | undefined;
|
|
30099
|
+
embeddingInput?: string | undefined;
|
|
30100
|
+
embeddingTokens?: number | undefined;
|
|
30101
|
+
embeddingHasError?: boolean | undefined;
|
|
30102
|
+
}[];
|
|
30103
|
+
stats: {
|
|
30104
|
+
errors: number;
|
|
30105
|
+
startTimestamp: number;
|
|
30106
|
+
endTimestamp: number;
|
|
30107
|
+
inputTokens: number;
|
|
30108
|
+
llmCalls: number;
|
|
30109
|
+
outputTokens: number;
|
|
30110
|
+
toolCalls: number;
|
|
30111
|
+
toolErrors: number;
|
|
30112
|
+
toolNames: string[];
|
|
30113
|
+
totalTokens: number;
|
|
30114
|
+
generationDuration: number;
|
|
30115
|
+
totalCost: number;
|
|
30116
|
+
cacheReadTokens: number;
|
|
30117
|
+
cacheWriteTokens: number;
|
|
30118
|
+
errorToolNames: string[];
|
|
30119
|
+
reasoningTokens: number;
|
|
30120
|
+
usageByModel: {
|
|
30121
|
+
model: string | null;
|
|
30122
|
+
inputTokens: number;
|
|
30123
|
+
llmCalls: number;
|
|
30124
|
+
outputTokens: number;
|
|
30125
|
+
totalTokens: number;
|
|
30126
|
+
totalCost: number;
|
|
30127
|
+
cacheReadTokens: number;
|
|
30128
|
+
cacheWriteTokens: number;
|
|
30129
|
+
reasoningTokens: number;
|
|
30130
|
+
inputCost: number;
|
|
30131
|
+
outputCost: number;
|
|
30132
|
+
cacheReadCost: number;
|
|
30133
|
+
cacheWriteCost: number;
|
|
30134
|
+
reasoningCost: number;
|
|
30135
|
+
}[];
|
|
30136
|
+
cacheReadCost: number;
|
|
30137
|
+
cacheWriteCost: number;
|
|
30138
|
+
reasoningCost: number;
|
|
30139
|
+
} | null;
|
|
30140
|
+
title: string | null;
|
|
30141
|
+
projects: {
|
|
30142
|
+
name: string;
|
|
30143
|
+
id: number;
|
|
30144
|
+
slug: string;
|
|
30145
|
+
}[];
|
|
30146
|
+
webUrl: string;
|
|
30147
|
+
conversationId: string;
|
|
30148
|
+
complete: boolean;
|
|
30149
|
+
sourceSpanCount: number;
|
|
30150
|
+
}, {
|
|
30151
|
+
transcript: {
|
|
30152
|
+
id: string;
|
|
30153
|
+
content: string;
|
|
30154
|
+
timestamp: number;
|
|
30155
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
30156
|
+
nodeId: string;
|
|
30157
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
30158
|
+
memory?: Record<string, unknown> | undefined;
|
|
30159
|
+
duration?: number | undefined;
|
|
30160
|
+
projectId?: string | undefined;
|
|
30161
|
+
toolCalls?: {
|
|
30162
|
+
name: string;
|
|
30163
|
+
nodeId: string;
|
|
30164
|
+
hasError: boolean;
|
|
30165
|
+
duration?: number | undefined;
|
|
30166
|
+
}[] | undefined;
|
|
30167
|
+
traceId?: string | undefined;
|
|
30168
|
+
userEmail?: string | undefined;
|
|
30169
|
+
reasoning?: string | undefined;
|
|
30170
|
+
agentName?: string | undefined;
|
|
30171
|
+
modelName?: string | undefined;
|
|
30172
|
+
embeddingInput?: string | undefined;
|
|
30173
|
+
embeddingTokens?: number | undefined;
|
|
30174
|
+
embeddingHasError?: boolean | undefined;
|
|
30175
|
+
}[];
|
|
30176
|
+
stats: {
|
|
30177
|
+
errors: number;
|
|
30178
|
+
startTimestamp: number;
|
|
30179
|
+
endTimestamp: number;
|
|
30180
|
+
inputTokens: number;
|
|
30181
|
+
llmCalls: number;
|
|
30182
|
+
outputTokens: number;
|
|
30183
|
+
toolCalls: number;
|
|
30184
|
+
toolErrors: number;
|
|
30185
|
+
toolNames: string[];
|
|
30186
|
+
totalTokens: number;
|
|
30187
|
+
generationDuration: number;
|
|
30188
|
+
totalCost: number;
|
|
30189
|
+
cacheReadTokens: number;
|
|
30190
|
+
cacheWriteTokens: number;
|
|
30191
|
+
errorToolNames: string[];
|
|
30192
|
+
reasoningTokens: number;
|
|
30193
|
+
usageByModel: {
|
|
30194
|
+
model: string | null;
|
|
30195
|
+
inputTokens: number;
|
|
30196
|
+
llmCalls: number;
|
|
30197
|
+
outputTokens: number;
|
|
30198
|
+
totalTokens: number;
|
|
30199
|
+
totalCost: number;
|
|
30200
|
+
cacheReadTokens: number;
|
|
30201
|
+
cacheWriteTokens: number;
|
|
30202
|
+
reasoningTokens: number;
|
|
30203
|
+
inputCost: number;
|
|
30204
|
+
outputCost: number;
|
|
30205
|
+
cacheReadCost: number;
|
|
30206
|
+
cacheWriteCost: number;
|
|
30207
|
+
reasoningCost: number;
|
|
30208
|
+
}[];
|
|
30209
|
+
cacheReadCost: number;
|
|
30210
|
+
cacheWriteCost: number;
|
|
30211
|
+
reasoningCost: number;
|
|
30212
|
+
} | null;
|
|
30213
|
+
title: string | null;
|
|
30214
|
+
projects: {
|
|
30215
|
+
name: string;
|
|
30216
|
+
id: number;
|
|
30217
|
+
slug: string;
|
|
30218
|
+
}[];
|
|
30219
|
+
webUrl: string;
|
|
30220
|
+
conversationId: string;
|
|
30221
|
+
complete: boolean;
|
|
30222
|
+
sourceSpanCount: number;
|
|
30223
|
+
}>]>;
|
|
30224
|
+
export declare const zScimListResourceTypesResponse: z.ZodObject<{
|
|
30225
|
+
schemas: z.ZodArray<z.ZodString, "many">;
|
|
30226
|
+
totalResults: z.ZodNumber;
|
|
30227
|
+
startIndex: z.ZodNumber;
|
|
30228
|
+
itemsPerPage: z.ZodNumber;
|
|
30229
|
+
Resources: z.ZodArray<z.ZodObject<{
|
|
30230
|
+
schemas: z.ZodArray<z.ZodString, "many">;
|
|
30231
|
+
id: z.ZodString;
|
|
30232
|
+
name: z.ZodString;
|
|
30233
|
+
description: z.ZodString;
|
|
30234
|
+
endpoint: z.ZodString;
|
|
30235
|
+
schema: z.ZodString;
|
|
30236
|
+
meta: z.ZodObject<{
|
|
30237
|
+
resourceType: z.ZodString;
|
|
30238
|
+
location: z.ZodString;
|
|
30239
|
+
}, "strip", z.ZodTypeAny, {
|
|
30240
|
+
location: string;
|
|
30241
|
+
resourceType: string;
|
|
30242
|
+
}, {
|
|
30243
|
+
location: string;
|
|
30244
|
+
resourceType: string;
|
|
30245
|
+
}>;
|
|
30246
|
+
}, "strip", z.ZodTypeAny, {
|
|
30247
|
+
name: string;
|
|
30248
|
+
id: string;
|
|
30249
|
+
meta: {
|
|
30250
|
+
location: string;
|
|
30251
|
+
resourceType: string;
|
|
30252
|
+
};
|
|
30253
|
+
schema: string;
|
|
30254
|
+
description: string;
|
|
30255
|
+
schemas: string[];
|
|
30256
|
+
endpoint: string;
|
|
30257
|
+
}, {
|
|
30258
|
+
name: string;
|
|
30259
|
+
id: string;
|
|
30260
|
+
meta: {
|
|
30261
|
+
location: string;
|
|
30262
|
+
resourceType: string;
|
|
30263
|
+
};
|
|
30264
|
+
schema: string;
|
|
30265
|
+
description: string;
|
|
30266
|
+
schemas: string[];
|
|
30267
|
+
endpoint: string;
|
|
30268
|
+
}>, "many">;
|
|
30269
|
+
}, "strip", z.ZodTypeAny, {
|
|
30270
|
+
startIndex: number;
|
|
30271
|
+
schemas: string[];
|
|
30272
|
+
totalResults: number;
|
|
30273
|
+
itemsPerPage: number;
|
|
30274
|
+
Resources: {
|
|
30275
|
+
name: string;
|
|
30276
|
+
id: string;
|
|
30277
|
+
meta: {
|
|
30278
|
+
location: string;
|
|
30279
|
+
resourceType: string;
|
|
30280
|
+
};
|
|
30281
|
+
schema: string;
|
|
30282
|
+
description: string;
|
|
30283
|
+
schemas: string[];
|
|
30284
|
+
endpoint: string;
|
|
30285
|
+
}[];
|
|
30286
|
+
}, {
|
|
30287
|
+
startIndex: number;
|
|
30288
|
+
schemas: string[];
|
|
30289
|
+
totalResults: number;
|
|
30290
|
+
itemsPerPage: number;
|
|
30291
|
+
Resources: {
|
|
30292
|
+
name: string;
|
|
30293
|
+
id: string;
|
|
30294
|
+
meta: {
|
|
30295
|
+
location: string;
|
|
30296
|
+
resourceType: string;
|
|
30297
|
+
};
|
|
30298
|
+
schema: string;
|
|
30299
|
+
description: string;
|
|
30300
|
+
schemas: string[];
|
|
30301
|
+
endpoint: string;
|
|
30302
|
+
}[];
|
|
30303
|
+
}>;
|
|
30304
|
+
export declare const zScimListResponseEnvelopeScimMemberIndexResponse: z.ZodObject<{
|
|
30305
|
+
schemas: z.ZodArray<z.ZodString, "many">;
|
|
30306
|
+
totalResults: z.ZodNumber;
|
|
30307
|
+
startIndex: z.ZodNumber;
|
|
30308
|
+
itemsPerPage: z.ZodNumber;
|
|
30309
|
+
Resources: z.ZodArray<z.ZodObject<{
|
|
30310
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
30311
|
+
schemas: z.ZodArray<z.ZodString, "many">;
|
|
30312
|
+
id: z.ZodString;
|
|
30313
|
+
userName: z.ZodString;
|
|
30314
|
+
name: z.ZodObject<{
|
|
30315
|
+
givenName: z.ZodString;
|
|
30316
|
+
familyName: z.ZodString;
|
|
30317
|
+
}, "strip", z.ZodTypeAny, {
|
|
30318
|
+
givenName: string;
|
|
30319
|
+
familyName: string;
|
|
30320
|
+
}, {
|
|
30321
|
+
givenName: string;
|
|
30322
|
+
familyName: string;
|
|
30323
|
+
}>;
|
|
30324
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
30325
|
+
primary: z.ZodBoolean;
|
|
30326
|
+
value: z.ZodString;
|
|
30327
|
+
type: z.ZodString;
|
|
30328
|
+
}, "strip", z.ZodTypeAny, {
|
|
30329
|
+
value: string;
|
|
30330
|
+
type: string;
|
|
30331
|
+
primary: boolean;
|
|
30332
|
+
}, {
|
|
30333
|
+
value: string;
|
|
30334
|
+
type: string;
|
|
30335
|
+
primary: boolean;
|
|
30336
|
+
}>, "many">;
|
|
30337
|
+
meta: z.ZodObject<{
|
|
30338
|
+
resourceType: z.ZodString;
|
|
30339
|
+
}, "strip", z.ZodTypeAny, {
|
|
30340
|
+
resourceType: string;
|
|
30341
|
+
}, {
|
|
30342
|
+
resourceType: string;
|
|
30343
|
+
}>;
|
|
30344
|
+
sentryOrgRole: z.ZodString;
|
|
30345
|
+
}, "strip", z.ZodTypeAny, {
|
|
30346
|
+
name: {
|
|
30347
|
+
givenName: string;
|
|
30348
|
+
familyName: string;
|
|
30349
|
+
};
|
|
30350
|
+
id: string;
|
|
30351
|
+
meta: {
|
|
30352
|
+
resourceType: string;
|
|
30353
|
+
};
|
|
30354
|
+
emails: {
|
|
30355
|
+
value: string;
|
|
30356
|
+
type: string;
|
|
30357
|
+
primary: boolean;
|
|
30358
|
+
}[];
|
|
30359
|
+
schemas: string[];
|
|
30360
|
+
userName: string;
|
|
30361
|
+
sentryOrgRole: string;
|
|
30362
|
+
active?: boolean | undefined;
|
|
30363
|
+
}, {
|
|
30364
|
+
name: {
|
|
30365
|
+
givenName: string;
|
|
30366
|
+
familyName: string;
|
|
30367
|
+
};
|
|
30368
|
+
id: string;
|
|
30369
|
+
meta: {
|
|
30370
|
+
resourceType: string;
|
|
30371
|
+
};
|
|
30372
|
+
emails: {
|
|
30373
|
+
value: string;
|
|
30374
|
+
type: string;
|
|
30375
|
+
primary: boolean;
|
|
30376
|
+
}[];
|
|
30377
|
+
schemas: string[];
|
|
30378
|
+
userName: string;
|
|
30379
|
+
sentryOrgRole: string;
|
|
30380
|
+
active?: boolean | undefined;
|
|
29997
30381
|
}>, "many">;
|
|
29998
30382
|
}, "strip", z.ZodTypeAny, {
|
|
29999
30383
|
startIndex: number;
|
|
@@ -37453,53 +37837,245 @@ export declare const zUpdateOrganizationResponse: z.ZodObject<{
|
|
|
37453
37837
|
}[];
|
|
37454
37838
|
teamRoleList: {
|
|
37455
37839
|
name: string;
|
|
37456
|
-
allowed: boolean;
|
|
37457
|
-
id: string;
|
|
37458
|
-
scopes: string[];
|
|
37459
|
-
desc: string;
|
|
37460
|
-
isAllowed: boolean;
|
|
37461
|
-
isRetired: boolean;
|
|
37462
|
-
isTeamRolesAllowed: boolean;
|
|
37463
|
-
isMinimumRoleFor: string | null;
|
|
37840
|
+
allowed: boolean;
|
|
37841
|
+
id: string;
|
|
37842
|
+
scopes: string[];
|
|
37843
|
+
desc: string;
|
|
37844
|
+
isAllowed: boolean;
|
|
37845
|
+
isRetired: boolean;
|
|
37846
|
+
isTeamRolesAllowed: boolean;
|
|
37847
|
+
isMinimumRoleFor: string | null;
|
|
37848
|
+
}[];
|
|
37849
|
+
pendingAccessRequests: number;
|
|
37850
|
+
defaultCodingAgentIntegrationId: string | null;
|
|
37851
|
+
defaultCodeReviewTriggers: string[];
|
|
37852
|
+
isDefault: boolean;
|
|
37853
|
+
aggregatedDataConsent: boolean;
|
|
37854
|
+
requiresSso: boolean;
|
|
37855
|
+
defaultAutofixAutomationTuning: string;
|
|
37856
|
+
defaultSeerScannerAutomation: boolean;
|
|
37857
|
+
enableSeerCoding: boolean;
|
|
37858
|
+
defaultCodingAgent: string;
|
|
37859
|
+
defaultAutomatedRunStoppingPoint: string;
|
|
37860
|
+
autoEnableCodeReview: boolean;
|
|
37861
|
+
autoOpenPrs: boolean;
|
|
37862
|
+
features?: string[] | undefined;
|
|
37863
|
+
access?: string[] | undefined;
|
|
37864
|
+
extraOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
37865
|
+
onboardingTasks?: {
|
|
37866
|
+
status: string;
|
|
37867
|
+
task: string | null;
|
|
37868
|
+
completionSeen: string | null;
|
|
37869
|
+
dateCompleted: string;
|
|
37870
|
+
data?: unknown;
|
|
37871
|
+
}[] | undefined;
|
|
37872
|
+
role?: unknown;
|
|
37873
|
+
orgRole?: string | undefined;
|
|
37874
|
+
targetSampleRate?: number | undefined;
|
|
37875
|
+
samplingMode?: string | undefined;
|
|
37876
|
+
planSampleRate?: number | undefined;
|
|
37877
|
+
desiredSampleRate?: number | undefined;
|
|
37878
|
+
}>;
|
|
37879
|
+
export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
37880
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
37881
|
+
path: z.ZodObject<{
|
|
37882
|
+
organization_id_or_slug: z.ZodString;
|
|
37883
|
+
}, "strip", z.ZodTypeAny, {
|
|
37884
|
+
organization_id_or_slug: string;
|
|
37885
|
+
}, {
|
|
37886
|
+
organization_id_or_slug: string;
|
|
37887
|
+
}>;
|
|
37888
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
37889
|
+
project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
|
|
37890
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
37891
|
+
statsPeriod: z.ZodOptional<z.ZodString>;
|
|
37892
|
+
start: z.ZodOptional<z.ZodString>;
|
|
37893
|
+
end: z.ZodOptional<z.ZodString>;
|
|
37894
|
+
query: z.ZodOptional<z.ZodString>;
|
|
37895
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
37896
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
37897
|
+
}, "strip", z.ZodTypeAny, {
|
|
37898
|
+
query?: string | undefined;
|
|
37899
|
+
environment?: string[] | undefined;
|
|
37900
|
+
project?: (string | number)[] | undefined;
|
|
37901
|
+
cursor?: string | undefined;
|
|
37902
|
+
per_page?: number | undefined;
|
|
37903
|
+
statsPeriod?: string | undefined;
|
|
37904
|
+
start?: string | undefined;
|
|
37905
|
+
end?: string | undefined;
|
|
37906
|
+
}, {
|
|
37907
|
+
query?: string | undefined;
|
|
37908
|
+
environment?: string[] | undefined;
|
|
37909
|
+
project?: (string | number)[] | undefined;
|
|
37910
|
+
cursor?: string | undefined;
|
|
37911
|
+
per_page?: number | undefined;
|
|
37912
|
+
statsPeriod?: string | undefined;
|
|
37913
|
+
start?: string | undefined;
|
|
37914
|
+
end?: string | undefined;
|
|
37915
|
+
}>>;
|
|
37916
|
+
}, "strip", z.ZodTypeAny, {
|
|
37917
|
+
path: {
|
|
37918
|
+
organization_id_or_slug: string;
|
|
37919
|
+
};
|
|
37920
|
+
query?: {
|
|
37921
|
+
query?: string | undefined;
|
|
37922
|
+
environment?: string[] | undefined;
|
|
37923
|
+
project?: (string | number)[] | undefined;
|
|
37924
|
+
cursor?: string | undefined;
|
|
37925
|
+
per_page?: number | undefined;
|
|
37926
|
+
statsPeriod?: string | undefined;
|
|
37927
|
+
start?: string | undefined;
|
|
37928
|
+
end?: string | undefined;
|
|
37929
|
+
} | undefined;
|
|
37930
|
+
body?: undefined;
|
|
37931
|
+
}, {
|
|
37932
|
+
path: {
|
|
37933
|
+
organization_id_or_slug: string;
|
|
37934
|
+
};
|
|
37935
|
+
query?: {
|
|
37936
|
+
query?: string | undefined;
|
|
37937
|
+
environment?: string[] | undefined;
|
|
37938
|
+
project?: (string | number)[] | undefined;
|
|
37939
|
+
cursor?: string | undefined;
|
|
37940
|
+
per_page?: number | undefined;
|
|
37941
|
+
statsPeriod?: string | undefined;
|
|
37942
|
+
start?: string | undefined;
|
|
37943
|
+
end?: string | undefined;
|
|
37944
|
+
} | undefined;
|
|
37945
|
+
body?: undefined;
|
|
37946
|
+
}>;
|
|
37947
|
+
export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.ZodObject<{
|
|
37948
|
+
endTimestamp: z.ZodNumber;
|
|
37949
|
+
errors: z.ZodNumber;
|
|
37950
|
+
generationDuration: z.ZodNumber;
|
|
37951
|
+
inputTokens: z.ZodNumber;
|
|
37952
|
+
llmCalls: z.ZodNumber;
|
|
37953
|
+
outputTokens: z.ZodNumber;
|
|
37954
|
+
startTimestamp: z.ZodNumber;
|
|
37955
|
+
toolCalls: z.ZodNumber;
|
|
37956
|
+
toolErrors: z.ZodNumber;
|
|
37957
|
+
toolNames: z.ZodArray<z.ZodString, "many">;
|
|
37958
|
+
totalCost: z.ZodNumber;
|
|
37959
|
+
totalTokens: z.ZodNumber;
|
|
37960
|
+
conversationId: z.ZodString;
|
|
37961
|
+
timeSpan: z.ZodNumber;
|
|
37962
|
+
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37963
|
+
projectId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
37964
|
+
flow: z.ZodArray<z.ZodString, "many">;
|
|
37965
|
+
traceCount: z.ZodNumber;
|
|
37966
|
+
traceIds: z.ZodArray<z.ZodString, "many">;
|
|
37967
|
+
firstInput: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37968
|
+
lastOutput: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37969
|
+
user: z.ZodUnion<[z.ZodObject<{
|
|
37970
|
+
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37971
|
+
email: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37972
|
+
username: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37973
|
+
ip_address: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37974
|
+
}, "strip", z.ZodTypeAny, {
|
|
37975
|
+
ip_address: string | null;
|
|
37976
|
+
email: string | null;
|
|
37977
|
+
id: string | null;
|
|
37978
|
+
username: string | null;
|
|
37979
|
+
}, {
|
|
37980
|
+
ip_address: string | null;
|
|
37981
|
+
email: string | null;
|
|
37982
|
+
id: string | null;
|
|
37983
|
+
username: string | null;
|
|
37984
|
+
}>, z.ZodNull]>;
|
|
37985
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
37986
|
+
id: z.ZodNumber;
|
|
37987
|
+
name: z.ZodString;
|
|
37988
|
+
slug: z.ZodString;
|
|
37989
|
+
}, "strip", z.ZodTypeAny, {
|
|
37990
|
+
name: string;
|
|
37991
|
+
id: number;
|
|
37992
|
+
slug: string;
|
|
37993
|
+
}, {
|
|
37994
|
+
name: string;
|
|
37995
|
+
id: number;
|
|
37996
|
+
slug: string;
|
|
37997
|
+
}>, "many">;
|
|
37998
|
+
webUrl: z.ZodString;
|
|
37999
|
+
}, "strip", z.ZodTypeAny, {
|
|
38000
|
+
user: {
|
|
38001
|
+
ip_address: string | null;
|
|
38002
|
+
email: string | null;
|
|
38003
|
+
id: string | null;
|
|
38004
|
+
username: string | null;
|
|
38005
|
+
} | null;
|
|
38006
|
+
errors: number;
|
|
38007
|
+
projectId: number | null;
|
|
38008
|
+
title: string | null;
|
|
38009
|
+
projects: {
|
|
38010
|
+
name: string;
|
|
38011
|
+
id: number;
|
|
38012
|
+
slug: string;
|
|
38013
|
+
}[];
|
|
38014
|
+
startTimestamp: number;
|
|
38015
|
+
endTimestamp: number;
|
|
38016
|
+
webUrl: string;
|
|
38017
|
+
inputTokens: number;
|
|
38018
|
+
llmCalls: number;
|
|
38019
|
+
outputTokens: number;
|
|
38020
|
+
toolCalls: number;
|
|
38021
|
+
toolErrors: number;
|
|
38022
|
+
toolNames: string[];
|
|
38023
|
+
totalTokens: number;
|
|
38024
|
+
flow: string[];
|
|
38025
|
+
traceCount: number;
|
|
38026
|
+
traceIds: string[];
|
|
38027
|
+
firstInput: string | null;
|
|
38028
|
+
lastOutput: string | null;
|
|
38029
|
+
generationDuration: number;
|
|
38030
|
+
totalCost: number;
|
|
38031
|
+
conversationId: string;
|
|
38032
|
+
timeSpan: number;
|
|
38033
|
+
}, {
|
|
38034
|
+
user: {
|
|
38035
|
+
ip_address: string | null;
|
|
38036
|
+
email: string | null;
|
|
38037
|
+
id: string | null;
|
|
38038
|
+
username: string | null;
|
|
38039
|
+
} | null;
|
|
38040
|
+
errors: number;
|
|
38041
|
+
projectId: number | null;
|
|
38042
|
+
title: string | null;
|
|
38043
|
+
projects: {
|
|
38044
|
+
name: string;
|
|
38045
|
+
id: number;
|
|
38046
|
+
slug: string;
|
|
37464
38047
|
}[];
|
|
37465
|
-
|
|
37466
|
-
|
|
37467
|
-
|
|
37468
|
-
|
|
37469
|
-
|
|
37470
|
-
|
|
37471
|
-
|
|
37472
|
-
|
|
37473
|
-
|
|
37474
|
-
|
|
37475
|
-
|
|
37476
|
-
|
|
37477
|
-
|
|
37478
|
-
|
|
37479
|
-
|
|
37480
|
-
|
|
37481
|
-
|
|
37482
|
-
|
|
37483
|
-
|
|
37484
|
-
|
|
37485
|
-
|
|
37486
|
-
data?: unknown;
|
|
37487
|
-
}[] | undefined;
|
|
37488
|
-
role?: unknown;
|
|
37489
|
-
orgRole?: string | undefined;
|
|
37490
|
-
targetSampleRate?: number | undefined;
|
|
37491
|
-
samplingMode?: string | undefined;
|
|
37492
|
-
planSampleRate?: number | undefined;
|
|
37493
|
-
desiredSampleRate?: number | undefined;
|
|
37494
|
-
}>;
|
|
37495
|
-
export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
38048
|
+
startTimestamp: number;
|
|
38049
|
+
endTimestamp: number;
|
|
38050
|
+
webUrl: string;
|
|
38051
|
+
inputTokens: number;
|
|
38052
|
+
llmCalls: number;
|
|
38053
|
+
outputTokens: number;
|
|
38054
|
+
toolCalls: number;
|
|
38055
|
+
toolErrors: number;
|
|
38056
|
+
toolNames: string[];
|
|
38057
|
+
totalTokens: number;
|
|
38058
|
+
flow: string[];
|
|
38059
|
+
traceCount: number;
|
|
38060
|
+
traceIds: string[];
|
|
38061
|
+
firstInput: string | null;
|
|
38062
|
+
lastOutput: string | null;
|
|
38063
|
+
generationDuration: number;
|
|
38064
|
+
totalCost: number;
|
|
38065
|
+
conversationId: string;
|
|
38066
|
+
timeSpan: number;
|
|
38067
|
+
}>, "many">;
|
|
38068
|
+
export declare const zRetrieveOrganizationAiConversationData: z.ZodObject<{
|
|
37496
38069
|
body: z.ZodOptional<z.ZodNever>;
|
|
37497
38070
|
path: z.ZodObject<{
|
|
37498
38071
|
organization_id_or_slug: z.ZodString;
|
|
38072
|
+
conversation_id: z.ZodString;
|
|
37499
38073
|
}, "strip", z.ZodTypeAny, {
|
|
37500
38074
|
organization_id_or_slug: string;
|
|
38075
|
+
conversation_id: string;
|
|
37501
38076
|
}, {
|
|
37502
38077
|
organization_id_or_slug: string;
|
|
38078
|
+
conversation_id: string;
|
|
37503
38079
|
}>;
|
|
37504
38080
|
query: z.ZodOptional<z.ZodObject<{
|
|
37505
38081
|
project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
|
|
@@ -37507,11 +38083,10 @@ export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
|
37507
38083
|
statsPeriod: z.ZodOptional<z.ZodString>;
|
|
37508
38084
|
start: z.ZodOptional<z.ZodString>;
|
|
37509
38085
|
end: z.ZodOptional<z.ZodString>;
|
|
37510
|
-
query: z.ZodOptional<z.ZodString>;
|
|
37511
38086
|
cursor: z.ZodOptional<z.ZodString>;
|
|
37512
38087
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
38088
|
+
view: z.ZodOptional<z.ZodEnum<["timeline", "transcript"]>>;
|
|
37513
38089
|
}, "strip", z.ZodTypeAny, {
|
|
37514
|
-
query?: string | undefined;
|
|
37515
38090
|
environment?: string[] | undefined;
|
|
37516
38091
|
project?: (string | number)[] | undefined;
|
|
37517
38092
|
cursor?: string | undefined;
|
|
@@ -37519,8 +38094,8 @@ export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
|
37519
38094
|
statsPeriod?: string | undefined;
|
|
37520
38095
|
start?: string | undefined;
|
|
37521
38096
|
end?: string | undefined;
|
|
38097
|
+
view?: "timeline" | "transcript" | undefined;
|
|
37522
38098
|
}, {
|
|
37523
|
-
query?: string | undefined;
|
|
37524
38099
|
environment?: string[] | undefined;
|
|
37525
38100
|
project?: (string | number)[] | undefined;
|
|
37526
38101
|
cursor?: string | undefined;
|
|
@@ -37528,13 +38103,14 @@ export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
|
37528
38103
|
statsPeriod?: string | undefined;
|
|
37529
38104
|
start?: string | undefined;
|
|
37530
38105
|
end?: string | undefined;
|
|
38106
|
+
view?: "timeline" | "transcript" | undefined;
|
|
37531
38107
|
}>>;
|
|
37532
38108
|
}, "strip", z.ZodTypeAny, {
|
|
37533
38109
|
path: {
|
|
37534
38110
|
organization_id_or_slug: string;
|
|
38111
|
+
conversation_id: string;
|
|
37535
38112
|
};
|
|
37536
38113
|
query?: {
|
|
37537
|
-
query?: string | undefined;
|
|
37538
38114
|
environment?: string[] | undefined;
|
|
37539
38115
|
project?: (string | number)[] | undefined;
|
|
37540
38116
|
cursor?: string | undefined;
|
|
@@ -37542,14 +38118,15 @@ export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
|
37542
38118
|
statsPeriod?: string | undefined;
|
|
37543
38119
|
start?: string | undefined;
|
|
37544
38120
|
end?: string | undefined;
|
|
38121
|
+
view?: "timeline" | "transcript" | undefined;
|
|
37545
38122
|
} | undefined;
|
|
37546
38123
|
body?: undefined;
|
|
37547
38124
|
}, {
|
|
37548
38125
|
path: {
|
|
37549
38126
|
organization_id_or_slug: string;
|
|
38127
|
+
conversation_id: string;
|
|
37550
38128
|
};
|
|
37551
38129
|
query?: {
|
|
37552
|
-
query?: string | undefined;
|
|
37553
38130
|
environment?: string[] | undefined;
|
|
37554
38131
|
project?: (string | number)[] | undefined;
|
|
37555
38132
|
cursor?: string | undefined;
|
|
@@ -37557,202 +38134,262 @@ export declare const zListOrganizationAiConversationsData: z.ZodObject<{
|
|
|
37557
38134
|
statsPeriod?: string | undefined;
|
|
37558
38135
|
start?: string | undefined;
|
|
37559
38136
|
end?: string | undefined;
|
|
38137
|
+
view?: "timeline" | "transcript" | undefined;
|
|
37560
38138
|
} | undefined;
|
|
37561
38139
|
body?: undefined;
|
|
37562
38140
|
}>;
|
|
37563
|
-
export declare const
|
|
37564
|
-
endTimestamp: z.ZodNumber;
|
|
37565
|
-
errors: z.ZodNumber;
|
|
37566
|
-
generationDuration: z.ZodNumber;
|
|
37567
|
-
inputTokens: z.ZodNumber;
|
|
37568
|
-
llmCalls: z.ZodNumber;
|
|
37569
|
-
outputTokens: z.ZodNumber;
|
|
37570
|
-
startTimestamp: z.ZodNumber;
|
|
37571
|
-
toolCalls: z.ZodNumber;
|
|
37572
|
-
toolErrors: z.ZodNumber;
|
|
37573
|
-
toolNames: z.ZodArray<z.ZodString, "many">;
|
|
37574
|
-
totalCost: z.ZodNumber;
|
|
37575
|
-
totalTokens: z.ZodNumber;
|
|
38141
|
+
export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodUnion<[z.ZodObject<{
|
|
37576
38142
|
conversationId: z.ZodString;
|
|
37577
|
-
timeSpan: z.ZodNumber;
|
|
37578
38143
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37579
|
-
|
|
37580
|
-
|
|
37581
|
-
|
|
37582
|
-
|
|
37583
|
-
firstInput: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37584
|
-
lastOutput: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37585
|
-
user: z.ZodUnion<[z.ZodObject<{
|
|
37586
|
-
id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37587
|
-
email: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37588
|
-
username: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37589
|
-
ip_address: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
38144
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
38145
|
+
id: z.ZodNumber;
|
|
38146
|
+
name: z.ZodString;
|
|
38147
|
+
slug: z.ZodString;
|
|
37590
38148
|
}, "strip", z.ZodTypeAny, {
|
|
37591
|
-
|
|
37592
|
-
|
|
37593
|
-
|
|
37594
|
-
username: string | null;
|
|
38149
|
+
name: string;
|
|
38150
|
+
id: number;
|
|
38151
|
+
slug: string;
|
|
37595
38152
|
}, {
|
|
37596
|
-
|
|
37597
|
-
|
|
37598
|
-
|
|
37599
|
-
|
|
38153
|
+
name: string;
|
|
38154
|
+
id: number;
|
|
38155
|
+
slug: string;
|
|
38156
|
+
}>, "many">;
|
|
38157
|
+
webUrl: z.ZodString;
|
|
38158
|
+
spans: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
38159
|
+
stats: z.ZodUnion<[z.ZodObject<{
|
|
38160
|
+
endTimestamp: z.ZodNumber;
|
|
38161
|
+
errors: z.ZodNumber;
|
|
38162
|
+
generationDuration: z.ZodNumber;
|
|
38163
|
+
inputTokens: z.ZodNumber;
|
|
38164
|
+
llmCalls: z.ZodNumber;
|
|
38165
|
+
outputTokens: z.ZodNumber;
|
|
38166
|
+
startTimestamp: z.ZodNumber;
|
|
38167
|
+
toolCalls: z.ZodNumber;
|
|
38168
|
+
toolErrors: z.ZodNumber;
|
|
38169
|
+
toolNames: z.ZodArray<z.ZodString, "many">;
|
|
38170
|
+
totalCost: z.ZodNumber;
|
|
38171
|
+
totalTokens: z.ZodNumber;
|
|
38172
|
+
cacheReadTokens: z.ZodNumber;
|
|
38173
|
+
cacheWriteTokens: z.ZodNumber;
|
|
38174
|
+
errorToolNames: z.ZodArray<z.ZodString, "many">;
|
|
38175
|
+
reasoningTokens: z.ZodNumber;
|
|
38176
|
+
cacheReadCost: z.ZodNumber;
|
|
38177
|
+
cacheWriteCost: z.ZodNumber;
|
|
38178
|
+
reasoningCost: z.ZodNumber;
|
|
38179
|
+
usageByModel: z.ZodArray<z.ZodObject<{
|
|
38180
|
+
model: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
38181
|
+
llmCalls: z.ZodNumber;
|
|
38182
|
+
inputTokens: z.ZodNumber;
|
|
38183
|
+
outputTokens: z.ZodNumber;
|
|
38184
|
+
totalTokens: z.ZodNumber;
|
|
38185
|
+
cacheReadTokens: z.ZodNumber;
|
|
38186
|
+
cacheWriteTokens: z.ZodNumber;
|
|
38187
|
+
reasoningTokens: z.ZodNumber;
|
|
38188
|
+
inputCost: z.ZodNumber;
|
|
38189
|
+
outputCost: z.ZodNumber;
|
|
38190
|
+
cacheReadCost: z.ZodNumber;
|
|
38191
|
+
cacheWriteCost: z.ZodNumber;
|
|
38192
|
+
reasoningCost: z.ZodNumber;
|
|
38193
|
+
totalCost: z.ZodNumber;
|
|
38194
|
+
}, "strip", z.ZodTypeAny, {
|
|
38195
|
+
model: string | null;
|
|
38196
|
+
inputTokens: number;
|
|
38197
|
+
llmCalls: number;
|
|
38198
|
+
outputTokens: number;
|
|
38199
|
+
totalTokens: number;
|
|
38200
|
+
totalCost: number;
|
|
38201
|
+
cacheReadTokens: number;
|
|
38202
|
+
cacheWriteTokens: number;
|
|
38203
|
+
reasoningTokens: number;
|
|
38204
|
+
inputCost: number;
|
|
38205
|
+
outputCost: number;
|
|
38206
|
+
cacheReadCost: number;
|
|
38207
|
+
cacheWriteCost: number;
|
|
38208
|
+
reasoningCost: number;
|
|
38209
|
+
}, {
|
|
38210
|
+
model: string | null;
|
|
38211
|
+
inputTokens: number;
|
|
38212
|
+
llmCalls: number;
|
|
38213
|
+
outputTokens: number;
|
|
38214
|
+
totalTokens: number;
|
|
38215
|
+
totalCost: number;
|
|
38216
|
+
cacheReadTokens: number;
|
|
38217
|
+
cacheWriteTokens: number;
|
|
38218
|
+
reasoningTokens: number;
|
|
38219
|
+
inputCost: number;
|
|
38220
|
+
outputCost: number;
|
|
38221
|
+
cacheReadCost: number;
|
|
38222
|
+
cacheWriteCost: number;
|
|
38223
|
+
reasoningCost: number;
|
|
38224
|
+
}>, "many">;
|
|
38225
|
+
}, "strip", z.ZodTypeAny, {
|
|
38226
|
+
errors: number;
|
|
38227
|
+
startTimestamp: number;
|
|
38228
|
+
endTimestamp: number;
|
|
38229
|
+
inputTokens: number;
|
|
38230
|
+
llmCalls: number;
|
|
38231
|
+
outputTokens: number;
|
|
38232
|
+
toolCalls: number;
|
|
38233
|
+
toolErrors: number;
|
|
38234
|
+
toolNames: string[];
|
|
38235
|
+
totalTokens: number;
|
|
38236
|
+
generationDuration: number;
|
|
38237
|
+
totalCost: number;
|
|
38238
|
+
cacheReadTokens: number;
|
|
38239
|
+
cacheWriteTokens: number;
|
|
38240
|
+
errorToolNames: string[];
|
|
38241
|
+
reasoningTokens: number;
|
|
38242
|
+
usageByModel: {
|
|
38243
|
+
model: string | null;
|
|
38244
|
+
inputTokens: number;
|
|
38245
|
+
llmCalls: number;
|
|
38246
|
+
outputTokens: number;
|
|
38247
|
+
totalTokens: number;
|
|
38248
|
+
totalCost: number;
|
|
38249
|
+
cacheReadTokens: number;
|
|
38250
|
+
cacheWriteTokens: number;
|
|
38251
|
+
reasoningTokens: number;
|
|
38252
|
+
inputCost: number;
|
|
38253
|
+
outputCost: number;
|
|
38254
|
+
cacheReadCost: number;
|
|
38255
|
+
cacheWriteCost: number;
|
|
38256
|
+
reasoningCost: number;
|
|
38257
|
+
}[];
|
|
38258
|
+
cacheReadCost: number;
|
|
38259
|
+
cacheWriteCost: number;
|
|
38260
|
+
reasoningCost: number;
|
|
38261
|
+
}, {
|
|
38262
|
+
errors: number;
|
|
38263
|
+
startTimestamp: number;
|
|
38264
|
+
endTimestamp: number;
|
|
38265
|
+
inputTokens: number;
|
|
38266
|
+
llmCalls: number;
|
|
38267
|
+
outputTokens: number;
|
|
38268
|
+
toolCalls: number;
|
|
38269
|
+
toolErrors: number;
|
|
38270
|
+
toolNames: string[];
|
|
38271
|
+
totalTokens: number;
|
|
38272
|
+
generationDuration: number;
|
|
38273
|
+
totalCost: number;
|
|
38274
|
+
cacheReadTokens: number;
|
|
38275
|
+
cacheWriteTokens: number;
|
|
38276
|
+
errorToolNames: string[];
|
|
38277
|
+
reasoningTokens: number;
|
|
38278
|
+
usageByModel: {
|
|
38279
|
+
model: string | null;
|
|
38280
|
+
inputTokens: number;
|
|
38281
|
+
llmCalls: number;
|
|
38282
|
+
outputTokens: number;
|
|
38283
|
+
totalTokens: number;
|
|
38284
|
+
totalCost: number;
|
|
38285
|
+
cacheReadTokens: number;
|
|
38286
|
+
cacheWriteTokens: number;
|
|
38287
|
+
reasoningTokens: number;
|
|
38288
|
+
inputCost: number;
|
|
38289
|
+
outputCost: number;
|
|
38290
|
+
cacheReadCost: number;
|
|
38291
|
+
cacheWriteCost: number;
|
|
38292
|
+
reasoningCost: number;
|
|
38293
|
+
}[];
|
|
38294
|
+
cacheReadCost: number;
|
|
38295
|
+
cacheWriteCost: number;
|
|
38296
|
+
reasoningCost: number;
|
|
37600
38297
|
}>, z.ZodNull]>;
|
|
37601
|
-
projects: z.ZodArray<z.ZodObject<{
|
|
37602
|
-
id: z.ZodNumber;
|
|
37603
|
-
name: z.ZodString;
|
|
37604
|
-
slug: z.ZodString;
|
|
37605
|
-
}, "strip", z.ZodTypeAny, {
|
|
37606
|
-
name: string;
|
|
37607
|
-
id: number;
|
|
37608
|
-
slug: string;
|
|
37609
|
-
}, {
|
|
37610
|
-
name: string;
|
|
37611
|
-
id: number;
|
|
37612
|
-
slug: string;
|
|
37613
|
-
}>, "many">;
|
|
37614
|
-
webUrl: z.ZodString;
|
|
37615
38298
|
}, "strip", z.ZodTypeAny, {
|
|
37616
|
-
|
|
37617
|
-
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
|
|
38299
|
+
spans: Record<string, unknown>[];
|
|
38300
|
+
stats: {
|
|
38301
|
+
errors: number;
|
|
38302
|
+
startTimestamp: number;
|
|
38303
|
+
endTimestamp: number;
|
|
38304
|
+
inputTokens: number;
|
|
38305
|
+
llmCalls: number;
|
|
38306
|
+
outputTokens: number;
|
|
38307
|
+
toolCalls: number;
|
|
38308
|
+
toolErrors: number;
|
|
38309
|
+
toolNames: string[];
|
|
38310
|
+
totalTokens: number;
|
|
38311
|
+
generationDuration: number;
|
|
38312
|
+
totalCost: number;
|
|
38313
|
+
cacheReadTokens: number;
|
|
38314
|
+
cacheWriteTokens: number;
|
|
38315
|
+
errorToolNames: string[];
|
|
38316
|
+
reasoningTokens: number;
|
|
38317
|
+
usageByModel: {
|
|
38318
|
+
model: string | null;
|
|
38319
|
+
inputTokens: number;
|
|
38320
|
+
llmCalls: number;
|
|
38321
|
+
outputTokens: number;
|
|
38322
|
+
totalTokens: number;
|
|
38323
|
+
totalCost: number;
|
|
38324
|
+
cacheReadTokens: number;
|
|
38325
|
+
cacheWriteTokens: number;
|
|
38326
|
+
reasoningTokens: number;
|
|
38327
|
+
inputCost: number;
|
|
38328
|
+
outputCost: number;
|
|
38329
|
+
cacheReadCost: number;
|
|
38330
|
+
cacheWriteCost: number;
|
|
38331
|
+
reasoningCost: number;
|
|
38332
|
+
}[];
|
|
38333
|
+
cacheReadCost: number;
|
|
38334
|
+
cacheWriteCost: number;
|
|
38335
|
+
reasoningCost: number;
|
|
37621
38336
|
} | null;
|
|
37622
|
-
errors: number;
|
|
37623
|
-
projectId: number | null;
|
|
37624
38337
|
title: string | null;
|
|
37625
38338
|
projects: {
|
|
37626
38339
|
name: string;
|
|
37627
38340
|
id: number;
|
|
37628
38341
|
slug: string;
|
|
37629
38342
|
}[];
|
|
37630
|
-
startTimestamp: number;
|
|
37631
|
-
endTimestamp: number;
|
|
37632
38343
|
webUrl: string;
|
|
37633
|
-
inputTokens: number;
|
|
37634
|
-
llmCalls: number;
|
|
37635
|
-
outputTokens: number;
|
|
37636
|
-
toolCalls: number;
|
|
37637
|
-
toolErrors: number;
|
|
37638
|
-
toolNames: string[];
|
|
37639
|
-
totalTokens: number;
|
|
37640
|
-
flow: string[];
|
|
37641
|
-
traceCount: number;
|
|
37642
|
-
traceIds: string[];
|
|
37643
|
-
firstInput: string | null;
|
|
37644
|
-
lastOutput: string | null;
|
|
37645
|
-
generationDuration: number;
|
|
37646
|
-
totalCost: number;
|
|
37647
38344
|
conversationId: string;
|
|
37648
|
-
timeSpan: number;
|
|
37649
38345
|
}, {
|
|
37650
|
-
|
|
37651
|
-
|
|
37652
|
-
|
|
37653
|
-
|
|
37654
|
-
|
|
38346
|
+
spans: Record<string, unknown>[];
|
|
38347
|
+
stats: {
|
|
38348
|
+
errors: number;
|
|
38349
|
+
startTimestamp: number;
|
|
38350
|
+
endTimestamp: number;
|
|
38351
|
+
inputTokens: number;
|
|
38352
|
+
llmCalls: number;
|
|
38353
|
+
outputTokens: number;
|
|
38354
|
+
toolCalls: number;
|
|
38355
|
+
toolErrors: number;
|
|
38356
|
+
toolNames: string[];
|
|
38357
|
+
totalTokens: number;
|
|
38358
|
+
generationDuration: number;
|
|
38359
|
+
totalCost: number;
|
|
38360
|
+
cacheReadTokens: number;
|
|
38361
|
+
cacheWriteTokens: number;
|
|
38362
|
+
errorToolNames: string[];
|
|
38363
|
+
reasoningTokens: number;
|
|
38364
|
+
usageByModel: {
|
|
38365
|
+
model: string | null;
|
|
38366
|
+
inputTokens: number;
|
|
38367
|
+
llmCalls: number;
|
|
38368
|
+
outputTokens: number;
|
|
38369
|
+
totalTokens: number;
|
|
38370
|
+
totalCost: number;
|
|
38371
|
+
cacheReadTokens: number;
|
|
38372
|
+
cacheWriteTokens: number;
|
|
38373
|
+
reasoningTokens: number;
|
|
38374
|
+
inputCost: number;
|
|
38375
|
+
outputCost: number;
|
|
38376
|
+
cacheReadCost: number;
|
|
38377
|
+
cacheWriteCost: number;
|
|
38378
|
+
reasoningCost: number;
|
|
38379
|
+
}[];
|
|
38380
|
+
cacheReadCost: number;
|
|
38381
|
+
cacheWriteCost: number;
|
|
38382
|
+
reasoningCost: number;
|
|
37655
38383
|
} | null;
|
|
37656
|
-
errors: number;
|
|
37657
|
-
projectId: number | null;
|
|
37658
38384
|
title: string | null;
|
|
37659
38385
|
projects: {
|
|
37660
38386
|
name: string;
|
|
37661
38387
|
id: number;
|
|
37662
38388
|
slug: string;
|
|
37663
38389
|
}[];
|
|
37664
|
-
startTimestamp: number;
|
|
37665
|
-
endTimestamp: number;
|
|
37666
38390
|
webUrl: string;
|
|
37667
|
-
inputTokens: number;
|
|
37668
|
-
llmCalls: number;
|
|
37669
|
-
outputTokens: number;
|
|
37670
|
-
toolCalls: number;
|
|
37671
|
-
toolErrors: number;
|
|
37672
|
-
toolNames: string[];
|
|
37673
|
-
totalTokens: number;
|
|
37674
|
-
flow: string[];
|
|
37675
|
-
traceCount: number;
|
|
37676
|
-
traceIds: string[];
|
|
37677
|
-
firstInput: string | null;
|
|
37678
|
-
lastOutput: string | null;
|
|
37679
|
-
generationDuration: number;
|
|
37680
|
-
totalCost: number;
|
|
37681
38391
|
conversationId: string;
|
|
37682
|
-
|
|
37683
|
-
}>, "many">;
|
|
37684
|
-
export declare const zRetrieveOrganizationAiConversationData: z.ZodObject<{
|
|
37685
|
-
body: z.ZodOptional<z.ZodNever>;
|
|
37686
|
-
path: z.ZodObject<{
|
|
37687
|
-
organization_id_or_slug: z.ZodString;
|
|
37688
|
-
conversation_id: z.ZodString;
|
|
37689
|
-
}, "strip", z.ZodTypeAny, {
|
|
37690
|
-
organization_id_or_slug: string;
|
|
37691
|
-
conversation_id: string;
|
|
37692
|
-
}, {
|
|
37693
|
-
organization_id_or_slug: string;
|
|
37694
|
-
conversation_id: string;
|
|
37695
|
-
}>;
|
|
37696
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
37697
|
-
project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
|
|
37698
|
-
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
37699
|
-
statsPeriod: z.ZodOptional<z.ZodString>;
|
|
37700
|
-
start: z.ZodOptional<z.ZodString>;
|
|
37701
|
-
end: z.ZodOptional<z.ZodString>;
|
|
37702
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
37703
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
37704
|
-
}, "strip", z.ZodTypeAny, {
|
|
37705
|
-
environment?: string[] | undefined;
|
|
37706
|
-
project?: (string | number)[] | undefined;
|
|
37707
|
-
cursor?: string | undefined;
|
|
37708
|
-
per_page?: number | undefined;
|
|
37709
|
-
statsPeriod?: string | undefined;
|
|
37710
|
-
start?: string | undefined;
|
|
37711
|
-
end?: string | undefined;
|
|
37712
|
-
}, {
|
|
37713
|
-
environment?: string[] | undefined;
|
|
37714
|
-
project?: (string | number)[] | undefined;
|
|
37715
|
-
cursor?: string | undefined;
|
|
37716
|
-
per_page?: number | undefined;
|
|
37717
|
-
statsPeriod?: string | undefined;
|
|
37718
|
-
start?: string | undefined;
|
|
37719
|
-
end?: string | undefined;
|
|
37720
|
-
}>>;
|
|
37721
|
-
}, "strip", z.ZodTypeAny, {
|
|
37722
|
-
path: {
|
|
37723
|
-
organization_id_or_slug: string;
|
|
37724
|
-
conversation_id: string;
|
|
37725
|
-
};
|
|
37726
|
-
query?: {
|
|
37727
|
-
environment?: string[] | undefined;
|
|
37728
|
-
project?: (string | number)[] | undefined;
|
|
37729
|
-
cursor?: string | undefined;
|
|
37730
|
-
per_page?: number | undefined;
|
|
37731
|
-
statsPeriod?: string | undefined;
|
|
37732
|
-
start?: string | undefined;
|
|
37733
|
-
end?: string | undefined;
|
|
37734
|
-
} | undefined;
|
|
37735
|
-
body?: undefined;
|
|
37736
|
-
}, {
|
|
37737
|
-
path: {
|
|
37738
|
-
organization_id_or_slug: string;
|
|
37739
|
-
conversation_id: string;
|
|
37740
|
-
};
|
|
37741
|
-
query?: {
|
|
37742
|
-
environment?: string[] | undefined;
|
|
37743
|
-
project?: (string | number)[] | undefined;
|
|
37744
|
-
cursor?: string | undefined;
|
|
37745
|
-
per_page?: number | undefined;
|
|
37746
|
-
statsPeriod?: string | undefined;
|
|
37747
|
-
start?: string | undefined;
|
|
37748
|
-
end?: string | undefined;
|
|
37749
|
-
} | undefined;
|
|
37750
|
-
body?: undefined;
|
|
37751
|
-
}>;
|
|
37752
|
-
/**
|
|
37753
|
-
* Span page plus conversation-level metadata.
|
|
37754
|
-
*/
|
|
37755
|
-
export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
|
|
38392
|
+
}>, z.ZodObject<{
|
|
37756
38393
|
conversationId: z.ZodString;
|
|
37757
38394
|
title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
37758
38395
|
projects: z.ZodArray<z.ZodObject<{
|
|
@@ -37769,7 +38406,6 @@ export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
|
|
|
37769
38406
|
slug: string;
|
|
37770
38407
|
}>, "many">;
|
|
37771
38408
|
webUrl: z.ZodString;
|
|
37772
|
-
spans: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
37773
38409
|
stats: z.ZodUnion<[z.ZodObject<{
|
|
37774
38410
|
endTimestamp: z.ZodNumber;
|
|
37775
38411
|
errors: z.ZodNumber;
|
|
@@ -37909,8 +38545,117 @@ export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
|
|
|
37909
38545
|
cacheWriteCost: number;
|
|
37910
38546
|
reasoningCost: number;
|
|
37911
38547
|
}>, z.ZodNull]>;
|
|
38548
|
+
transcript: z.ZodArray<z.ZodObject<{
|
|
38549
|
+
id: z.ZodString;
|
|
38550
|
+
role: z.ZodEnum<["user", "assistant", "embedding", "evaluation", "memory"]>;
|
|
38551
|
+
content: z.ZodString;
|
|
38552
|
+
timestamp: z.ZodNumber;
|
|
38553
|
+
nodeId: z.ZodString;
|
|
38554
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
38555
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
38556
|
+
userEmail: z.ZodOptional<z.ZodString>;
|
|
38557
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
38558
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
38559
|
+
modelName: z.ZodOptional<z.ZodString>;
|
|
38560
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
38561
|
+
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38562
|
+
name: z.ZodString;
|
|
38563
|
+
nodeId: z.ZodString;
|
|
38564
|
+
hasError: z.ZodBoolean;
|
|
38565
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
38566
|
+
}, "strip", z.ZodTypeAny, {
|
|
38567
|
+
name: string;
|
|
38568
|
+
nodeId: string;
|
|
38569
|
+
hasError: boolean;
|
|
38570
|
+
duration?: number | undefined;
|
|
38571
|
+
}, {
|
|
38572
|
+
name: string;
|
|
38573
|
+
nodeId: string;
|
|
38574
|
+
hasError: boolean;
|
|
38575
|
+
duration?: number | undefined;
|
|
38576
|
+
}>, "many">>;
|
|
38577
|
+
embeddingInput: z.ZodOptional<z.ZodString>;
|
|
38578
|
+
embeddingTokens: z.ZodOptional<z.ZodNumber>;
|
|
38579
|
+
embeddingHasError: z.ZodOptional<z.ZodBoolean>;
|
|
38580
|
+
evaluation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38581
|
+
memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38582
|
+
}, "strip", z.ZodTypeAny, {
|
|
38583
|
+
id: string;
|
|
38584
|
+
content: string;
|
|
38585
|
+
timestamp: number;
|
|
38586
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
38587
|
+
nodeId: string;
|
|
38588
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
38589
|
+
memory?: Record<string, unknown> | undefined;
|
|
38590
|
+
duration?: number | undefined;
|
|
38591
|
+
projectId?: string | undefined;
|
|
38592
|
+
toolCalls?: {
|
|
38593
|
+
name: string;
|
|
38594
|
+
nodeId: string;
|
|
38595
|
+
hasError: boolean;
|
|
38596
|
+
duration?: number | undefined;
|
|
38597
|
+
}[] | undefined;
|
|
38598
|
+
traceId?: string | undefined;
|
|
38599
|
+
userEmail?: string | undefined;
|
|
38600
|
+
reasoning?: string | undefined;
|
|
38601
|
+
agentName?: string | undefined;
|
|
38602
|
+
modelName?: string | undefined;
|
|
38603
|
+
embeddingInput?: string | undefined;
|
|
38604
|
+
embeddingTokens?: number | undefined;
|
|
38605
|
+
embeddingHasError?: boolean | undefined;
|
|
38606
|
+
}, {
|
|
38607
|
+
id: string;
|
|
38608
|
+
content: string;
|
|
38609
|
+
timestamp: number;
|
|
38610
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
38611
|
+
nodeId: string;
|
|
38612
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
38613
|
+
memory?: Record<string, unknown> | undefined;
|
|
38614
|
+
duration?: number | undefined;
|
|
38615
|
+
projectId?: string | undefined;
|
|
38616
|
+
toolCalls?: {
|
|
38617
|
+
name: string;
|
|
38618
|
+
nodeId: string;
|
|
38619
|
+
hasError: boolean;
|
|
38620
|
+
duration?: number | undefined;
|
|
38621
|
+
}[] | undefined;
|
|
38622
|
+
traceId?: string | undefined;
|
|
38623
|
+
userEmail?: string | undefined;
|
|
38624
|
+
reasoning?: string | undefined;
|
|
38625
|
+
agentName?: string | undefined;
|
|
38626
|
+
modelName?: string | undefined;
|
|
38627
|
+
embeddingInput?: string | undefined;
|
|
38628
|
+
embeddingTokens?: number | undefined;
|
|
38629
|
+
embeddingHasError?: boolean | undefined;
|
|
38630
|
+
}>, "many">;
|
|
38631
|
+
complete: z.ZodBoolean;
|
|
38632
|
+
sourceSpanCount: z.ZodNumber;
|
|
37912
38633
|
}, "strip", z.ZodTypeAny, {
|
|
37913
|
-
|
|
38634
|
+
transcript: {
|
|
38635
|
+
id: string;
|
|
38636
|
+
content: string;
|
|
38637
|
+
timestamp: number;
|
|
38638
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
38639
|
+
nodeId: string;
|
|
38640
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
38641
|
+
memory?: Record<string, unknown> | undefined;
|
|
38642
|
+
duration?: number | undefined;
|
|
38643
|
+
projectId?: string | undefined;
|
|
38644
|
+
toolCalls?: {
|
|
38645
|
+
name: string;
|
|
38646
|
+
nodeId: string;
|
|
38647
|
+
hasError: boolean;
|
|
38648
|
+
duration?: number | undefined;
|
|
38649
|
+
}[] | undefined;
|
|
38650
|
+
traceId?: string | undefined;
|
|
38651
|
+
userEmail?: string | undefined;
|
|
38652
|
+
reasoning?: string | undefined;
|
|
38653
|
+
agentName?: string | undefined;
|
|
38654
|
+
modelName?: string | undefined;
|
|
38655
|
+
embeddingInput?: string | undefined;
|
|
38656
|
+
embeddingTokens?: number | undefined;
|
|
38657
|
+
embeddingHasError?: boolean | undefined;
|
|
38658
|
+
}[];
|
|
37914
38659
|
stats: {
|
|
37915
38660
|
errors: number;
|
|
37916
38661
|
startTimestamp: number;
|
|
@@ -37956,8 +38701,34 @@ export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
|
|
|
37956
38701
|
}[];
|
|
37957
38702
|
webUrl: string;
|
|
37958
38703
|
conversationId: string;
|
|
38704
|
+
complete: boolean;
|
|
38705
|
+
sourceSpanCount: number;
|
|
37959
38706
|
}, {
|
|
37960
|
-
|
|
38707
|
+
transcript: {
|
|
38708
|
+
id: string;
|
|
38709
|
+
content: string;
|
|
38710
|
+
timestamp: number;
|
|
38711
|
+
role: "user" | "assistant" | "embedding" | "evaluation" | "memory";
|
|
38712
|
+
nodeId: string;
|
|
38713
|
+
evaluation?: Record<string, unknown> | undefined;
|
|
38714
|
+
memory?: Record<string, unknown> | undefined;
|
|
38715
|
+
duration?: number | undefined;
|
|
38716
|
+
projectId?: string | undefined;
|
|
38717
|
+
toolCalls?: {
|
|
38718
|
+
name: string;
|
|
38719
|
+
nodeId: string;
|
|
38720
|
+
hasError: boolean;
|
|
38721
|
+
duration?: number | undefined;
|
|
38722
|
+
}[] | undefined;
|
|
38723
|
+
traceId?: string | undefined;
|
|
38724
|
+
userEmail?: string | undefined;
|
|
38725
|
+
reasoning?: string | undefined;
|
|
38726
|
+
agentName?: string | undefined;
|
|
38727
|
+
modelName?: string | undefined;
|
|
38728
|
+
embeddingInput?: string | undefined;
|
|
38729
|
+
embeddingTokens?: number | undefined;
|
|
38730
|
+
embeddingHasError?: boolean | undefined;
|
|
38731
|
+
}[];
|
|
37961
38732
|
stats: {
|
|
37962
38733
|
errors: number;
|
|
37963
38734
|
startTimestamp: number;
|
|
@@ -38003,7 +38774,9 @@ export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
|
|
|
38003
38774
|
}[];
|
|
38004
38775
|
webUrl: string;
|
|
38005
38776
|
conversationId: string;
|
|
38006
|
-
|
|
38777
|
+
complete: boolean;
|
|
38778
|
+
sourceSpanCount: number;
|
|
38779
|
+
}>]>;
|
|
38007
38780
|
export declare const zListOrganizationCodeMappingsData: z.ZodObject<{
|
|
38008
38781
|
body: z.ZodOptional<z.ZodNever>;
|
|
38009
38782
|
path: z.ZodObject<{
|