@evalops/sdk-ts 0.1.107 → 0.1.108
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/README.md +7 -0
- package/dist/console/v1/console_pb.d.ts +9 -0
- package/dist/console/v1/console_pb.js +2 -1
- package/dist/core/v1/core_pb.d.ts +1558 -0
- package/dist/core/v1/core_pb.js +551 -0
- package/dist/records/v1/records_pb.d.ts +280 -0
- package/dist/records/v1/records_pb.js +51 -0
- package/dist/traces/v1/traces_pb.d.ts +1209 -56
- package/dist/traces/v1/traces_pb.js +343 -17
- package/dist/triage/v1/triage_pb.d.ts +505 -0
- package/dist/triage/v1/triage_pb.js +179 -0
- package/package.json +13 -1
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file records/v1/records.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_records_v1_records: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message records.v1.GetRecordRequest
|
|
10
|
+
*/
|
|
11
|
+
export type GetRecordRequest = Message<"records.v1.GetRecordRequest"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string organization_id = 1;
|
|
14
|
+
*/
|
|
15
|
+
organizationId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string record_id = 2;
|
|
18
|
+
*/
|
|
19
|
+
recordId: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message records.v1.GetRecordRequest.
|
|
23
|
+
* Use `create(GetRecordRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const GetRecordRequestSchema: GenMessage<GetRecordRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from message records.v1.GetRecordResponse
|
|
28
|
+
*/
|
|
29
|
+
export type GetRecordResponse = Message<"records.v1.GetRecordResponse"> & {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: records.v1.Record record = 1;
|
|
32
|
+
*/
|
|
33
|
+
record?: Record | undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message records.v1.GetRecordResponse.
|
|
37
|
+
* Use `create(GetRecordResponseSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export declare const GetRecordResponseSchema: GenMessage<GetRecordResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message records.v1.ListRecordsRequest
|
|
42
|
+
*/
|
|
43
|
+
export type ListRecordsRequest = Message<"records.v1.ListRecordsRequest"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string organization_id = 1;
|
|
46
|
+
*/
|
|
47
|
+
organizationId: string;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string lineage_id = 2;
|
|
50
|
+
*/
|
|
51
|
+
lineageId: string;
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: int32 limit = 3;
|
|
54
|
+
*/
|
|
55
|
+
limit: number;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: int32 offset = 4;
|
|
58
|
+
*/
|
|
59
|
+
offset: number;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message records.v1.ListRecordsRequest.
|
|
63
|
+
* Use `create(ListRecordsRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export declare const ListRecordsRequestSchema: GenMessage<ListRecordsRequest>;
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message records.v1.ListRecordsResponse
|
|
68
|
+
*/
|
|
69
|
+
export type ListRecordsResponse = Message<"records.v1.ListRecordsResponse"> & {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: string lineage_id = 1;
|
|
72
|
+
*/
|
|
73
|
+
lineageId: string;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated records.v1.Record records = 2;
|
|
76
|
+
*/
|
|
77
|
+
records: Record[];
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: int32 total = 3;
|
|
80
|
+
*/
|
|
81
|
+
total: number;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message records.v1.ListRecordsResponse.
|
|
85
|
+
* Use `create(ListRecordsResponseSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const ListRecordsResponseSchema: GenMessage<ListRecordsResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from message records.v1.Record
|
|
90
|
+
*/
|
|
91
|
+
export type Record = Message<"records.v1.Record"> & {
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: string record_id = 1;
|
|
94
|
+
*/
|
|
95
|
+
recordId: string;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string lineage_id = 2;
|
|
98
|
+
*/
|
|
99
|
+
lineageId: string;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string status = 3;
|
|
102
|
+
*/
|
|
103
|
+
status: string;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string audit_event_id = 4;
|
|
106
|
+
*/
|
|
107
|
+
auditEventId: string;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
110
|
+
*/
|
|
111
|
+
createdAt?: Timestamp | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string surface = 6;
|
|
114
|
+
*/
|
|
115
|
+
surface: string;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string action = 7;
|
|
118
|
+
*/
|
|
119
|
+
action: string;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: string outcome = 8;
|
|
122
|
+
*/
|
|
123
|
+
outcome: string;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: string provider = 9;
|
|
126
|
+
*/
|
|
127
|
+
provider: string;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string environment = 10;
|
|
130
|
+
*/
|
|
131
|
+
environment: string;
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: string provider_ref_id = 11;
|
|
134
|
+
*/
|
|
135
|
+
providerRefId: string;
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: string credential_name = 12;
|
|
138
|
+
*/
|
|
139
|
+
credentialName: string;
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string team_id = 13;
|
|
142
|
+
*/
|
|
143
|
+
teamId: string;
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: string model = 14;
|
|
146
|
+
*/
|
|
147
|
+
model: string;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: string endpoint = 15;
|
|
150
|
+
*/
|
|
151
|
+
endpoint: string;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: int32 status_code = 16;
|
|
154
|
+
*/
|
|
155
|
+
statusCode: number;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: string error_code = 17;
|
|
158
|
+
*/
|
|
159
|
+
errorCode: string;
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: string caller_surface = 18;
|
|
162
|
+
*/
|
|
163
|
+
callerSurface: string;
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: string agent_id = 19;
|
|
166
|
+
*/
|
|
167
|
+
agentId: string;
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: string agent_type = 20;
|
|
170
|
+
*/
|
|
171
|
+
agentType: string;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: string workspace_id = 21;
|
|
174
|
+
*/
|
|
175
|
+
workspaceId: string;
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: string session_id = 22;
|
|
178
|
+
*/
|
|
179
|
+
sessionId: string;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: string trace_id = 23;
|
|
182
|
+
*/
|
|
183
|
+
traceId: string;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: records.v1.RecordActor actor = 24;
|
|
186
|
+
*/
|
|
187
|
+
actor?: RecordActor | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: records.v1.RecordResource resource = 25;
|
|
190
|
+
*/
|
|
191
|
+
resource?: RecordResource | undefined;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message records.v1.Record.
|
|
195
|
+
* Use `create(RecordSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const RecordSchema: GenMessage<Record>;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from message records.v1.RecordActor
|
|
200
|
+
*/
|
|
201
|
+
export type RecordActor = Message<"records.v1.RecordActor"> & {
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: string id = 1;
|
|
204
|
+
*/
|
|
205
|
+
id: string;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: string type = 2;
|
|
208
|
+
*/
|
|
209
|
+
type: string;
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string email = 3;
|
|
212
|
+
*/
|
|
213
|
+
email: string;
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: string ip_address = 4;
|
|
216
|
+
*/
|
|
217
|
+
ipAddress: string;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: string user_agent = 5;
|
|
220
|
+
*/
|
|
221
|
+
userAgent: string;
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: string service = 6;
|
|
224
|
+
*/
|
|
225
|
+
service: string;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: string device_id = 7;
|
|
228
|
+
*/
|
|
229
|
+
deviceId: string;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Describes the message records.v1.RecordActor.
|
|
233
|
+
* Use `create(RecordActorSchema)` to create a new message.
|
|
234
|
+
*/
|
|
235
|
+
export declare const RecordActorSchema: GenMessage<RecordActor>;
|
|
236
|
+
/**
|
|
237
|
+
* @generated from message records.v1.RecordResource
|
|
238
|
+
*/
|
|
239
|
+
export type RecordResource = Message<"records.v1.RecordResource"> & {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: string type = 1;
|
|
242
|
+
*/
|
|
243
|
+
type: string;
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: string id = 2;
|
|
246
|
+
*/
|
|
247
|
+
id: string;
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: string name = 3;
|
|
250
|
+
*/
|
|
251
|
+
name: string;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message records.v1.RecordResource.
|
|
255
|
+
* Use `create(RecordResourceSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const RecordResourceSchema: GenMessage<RecordResource>;
|
|
258
|
+
/**
|
|
259
|
+
* RecordsService exposes managed AI operation records for SDK consumers.
|
|
260
|
+
*
|
|
261
|
+
* @generated from service records.v1.RecordsService
|
|
262
|
+
*/
|
|
263
|
+
export declare const RecordsService: GenService<{
|
|
264
|
+
/**
|
|
265
|
+
* @generated from rpc records.v1.RecordsService.GetRecord
|
|
266
|
+
*/
|
|
267
|
+
getRecord: {
|
|
268
|
+
methodKind: "unary";
|
|
269
|
+
input: typeof GetRecordRequestSchema;
|
|
270
|
+
output: typeof GetRecordResponseSchema;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* @generated from rpc records.v1.RecordsService.ListRecords
|
|
274
|
+
*/
|
|
275
|
+
listRecords: {
|
|
276
|
+
methodKind: "unary";
|
|
277
|
+
input: typeof ListRecordsRequestSchema;
|
|
278
|
+
output: typeof ListRecordsResponseSchema;
|
|
279
|
+
};
|
|
280
|
+
}>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file records/v1/records.proto (package records.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file records/v1/records.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_records_v1_records = /*@__PURE__*/ fileDesc("ChhyZWNvcmRzL3YxL3JlY29yZHMucHJvdG8SCnJlY29yZHMudjEiRwoQR2V0UmVjb3JkUmVxdWVzdBIXCg9vcmdhbml6YXRpb25faWQYASABKAkSGgoJcmVjb3JkX2lkGAIgASgJQge6SARyAhABIjcKEUdldFJlY29yZFJlc3BvbnNlEiIKBnJlY29yZBgBIAEoCzISLnJlY29yZHMudjEuUmVjb3JkInsKEkxpc3RSZWNvcmRzUmVxdWVzdBIXCg9vcmdhbml6YXRpb25faWQYASABKAkSGwoKbGluZWFnZV9pZBgCIAEoCUIHukgEcgIQARIWCgVsaW1pdBgDIAEoBUIHukgEGgIoABIXCgZvZmZzZXQYBCABKAVCB7pIBBoCKAAiXQoTTGlzdFJlY29yZHNSZXNwb25zZRISCgpsaW5lYWdlX2lkGAEgASgJEiMKB3JlY29yZHMYAiADKAsyEi5yZWNvcmRzLnYxLlJlY29yZBINCgV0b3RhbBgDIAEoBSK9BAoGUmVjb3JkEhEKCXJlY29yZF9pZBgBIAEoCRISCgpsaW5lYWdlX2lkGAIgASgJEg4KBnN0YXR1cxgDIAEoCRIWCg5hdWRpdF9ldmVudF9pZBgEIAEoCRIuCgpjcmVhdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIPCgdzdXJmYWNlGAYgASgJEg4KBmFjdGlvbhgHIAEoCRIPCgdvdXRjb21lGAggASgJEhAKCHByb3ZpZGVyGAkgASgJEhMKC2Vudmlyb25tZW50GAogASgJEhcKD3Byb3ZpZGVyX3JlZl9pZBgLIAEoCRIXCg9jcmVkZW50aWFsX25hbWUYDCABKAkSDwoHdGVhbV9pZBgNIAEoCRINCgVtb2RlbBgOIAEoCRIQCghlbmRwb2ludBgPIAEoCRITCgtzdGF0dXNfY29kZRgQIAEoBRISCgplcnJvcl9jb2RlGBEgASgJEhYKDmNhbGxlcl9zdXJmYWNlGBIgASgJEhAKCGFnZW50X2lkGBMgASgJEhIKCmFnZW50X3R5cGUYFCABKAkSFAoMd29ya3NwYWNlX2lkGBUgASgJEhIKCnNlc3Npb25faWQYFiABKAkSEAoIdHJhY2VfaWQYFyABKAkSJgoFYWN0b3IYGCABKAsyFy5yZWNvcmRzLnYxLlJlY29yZEFjdG9yEiwKCHJlc291cmNlGBkgASgLMhoucmVjb3Jkcy52MS5SZWNvcmRSZXNvdXJjZSKCAQoLUmVjb3JkQWN0b3ISCgoCaWQYASABKAkSDAoEdHlwZRgCIAEoCRINCgVlbWFpbBgDIAEoCRISCgppcF9hZGRyZXNzGAQgASgJEhIKCnVzZXJfYWdlbnQYBSABKAkSDwoHc2VydmljZRgGIAEoCRIRCglkZXZpY2VfaWQYByABKAkiOAoOUmVjb3JkUmVzb3VyY2USDAoEdHlwZRgBIAEoCRIKCgJpZBgCIAEoCRIMCgRuYW1lGAMgASgJMqoBCg5SZWNvcmRzU2VydmljZRJICglHZXRSZWNvcmQSHC5yZWNvcmRzLnYxLkdldFJlY29yZFJlcXVlc3QaHS5yZWNvcmRzLnYxLkdldFJlY29yZFJlc3BvbnNlEk4KC0xpc3RSZWNvcmRzEh4ucmVjb3Jkcy52MS5MaXN0UmVjb3Jkc1JlcXVlc3QaHy5yZWNvcmRzLnYxLkxpc3RSZWNvcmRzUmVzcG9uc2VCOVo3Z2l0aHViLmNvbS9ldmFsb3BzL3BsYXRmb3JtL2dlbi9nby9yZWNvcmRzL3YxO3JlY29yZHN2MWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message records.v1.GetRecordRequest.
|
|
13
|
+
* Use `create(GetRecordRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const GetRecordRequestSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message records.v1.GetRecordResponse.
|
|
18
|
+
* Use `create(GetRecordResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const GetRecordResponseSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message records.v1.ListRecordsRequest.
|
|
23
|
+
* Use `create(ListRecordsRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const ListRecordsRequestSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message records.v1.ListRecordsResponse.
|
|
28
|
+
* Use `create(ListRecordsResponseSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const ListRecordsResponseSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message records.v1.Record.
|
|
33
|
+
* Use `create(RecordSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const RecordSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message records.v1.RecordActor.
|
|
38
|
+
* Use `create(RecordActorSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const RecordActorSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message records.v1.RecordResource.
|
|
43
|
+
* Use `create(RecordResourceSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const RecordResourceSchema = /*@__PURE__*/ messageDesc(file_records_v1_records, 6);
|
|
46
|
+
/**
|
|
47
|
+
* RecordsService exposes managed AI operation records for SDK consumers.
|
|
48
|
+
*
|
|
49
|
+
* @generated from service records.v1.RecordsService
|
|
50
|
+
*/
|
|
51
|
+
export const RecordsService = /*@__PURE__*/ serviceDesc(file_records_v1_records, 0);
|