@signozhq/noz-client 0.0.0-stage → 0.0.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/README.md +36 -2
- package/dist/noz-client.js +892 -0
- package/dist/types/generated/services/assistant/index.d.ts +422 -0
- package/dist/types/generated/services/index.d.ts +2 -0
- package/dist/types/generated/services/sigNozAIAssistantAPI.schemas.d.ts +1407 -0
- package/dist/types/generatedAPIInstance.d.ts +10 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +34 -4
|
@@ -0,0 +1,1407 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ! Do not edit manually
|
|
3
|
+
* * The file has been auto-generated using Orval for SigNoz AI Assistant
|
|
4
|
+
* * regenerate with 'yarn generate:api'
|
|
5
|
+
* SigNoz AI Assistant API
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Result of an undo/revert/restore operation as reported to the client.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum ActionLifecycleResultDTO {
|
|
12
|
+
deleted = "deleted",
|
|
13
|
+
reverted = "reverted",
|
|
14
|
+
restored = "restored"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Shared response for undo, revert, restore.
|
|
18
|
+
*/
|
|
19
|
+
export interface ActionResultResponseDTO {
|
|
20
|
+
/**
|
|
21
|
+
* @type boolean
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @type string
|
|
26
|
+
*/
|
|
27
|
+
resourceType: string;
|
|
28
|
+
/**
|
|
29
|
+
* @type string
|
|
30
|
+
*/
|
|
31
|
+
resourceId: string;
|
|
32
|
+
action: ActionLifecycleResultDTO;
|
|
33
|
+
}
|
|
34
|
+
export declare enum ApplyFilterSignalDTO {
|
|
35
|
+
logs = "logs",
|
|
36
|
+
traces = "traces",
|
|
37
|
+
metrics = "metrics"
|
|
38
|
+
}
|
|
39
|
+
export declare enum ApprovalStateDTO {
|
|
40
|
+
pending = "pending",
|
|
41
|
+
approved = "approved",
|
|
42
|
+
rejected = "rejected",
|
|
43
|
+
superseded = "superseded"
|
|
44
|
+
}
|
|
45
|
+
export declare enum ApprovalActionTypeDTO {
|
|
46
|
+
modify = "modify",
|
|
47
|
+
delete = "delete"
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Resolved approval (approved/rejected/superseded) anchored on the assistant message that proposed it. Pending approvals never appear here - they live at the top-level pendingApproval slot.
|
|
51
|
+
*/
|
|
52
|
+
export interface ApprovalActionSummaryDTO {
|
|
53
|
+
/**
|
|
54
|
+
* @type string
|
|
55
|
+
* @format uuid
|
|
56
|
+
*/
|
|
57
|
+
approvalId: string;
|
|
58
|
+
state: ApprovalStateDTO;
|
|
59
|
+
actionType: ApprovalActionTypeDTO;
|
|
60
|
+
/**
|
|
61
|
+
* @type string
|
|
62
|
+
*/
|
|
63
|
+
resourceType: string;
|
|
64
|
+
/**
|
|
65
|
+
* @type string
|
|
66
|
+
*/
|
|
67
|
+
summary: string;
|
|
68
|
+
/**
|
|
69
|
+
* @type string
|
|
70
|
+
* @format date-time
|
|
71
|
+
*/
|
|
72
|
+
resolvedAt: string;
|
|
73
|
+
}
|
|
74
|
+
export type ApprovalSummaryDTODiff = {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
export interface ApprovalSummaryDTO {
|
|
78
|
+
/**
|
|
79
|
+
* @type string
|
|
80
|
+
* @format uuid
|
|
81
|
+
*/
|
|
82
|
+
approvalId: string;
|
|
83
|
+
/**
|
|
84
|
+
* @type string
|
|
85
|
+
* @format uuid
|
|
86
|
+
*/
|
|
87
|
+
executionId: string;
|
|
88
|
+
/**
|
|
89
|
+
* @type string
|
|
90
|
+
* @format uuid
|
|
91
|
+
*/
|
|
92
|
+
sourceMessageId: string;
|
|
93
|
+
state: ApprovalStateDTO;
|
|
94
|
+
actionType: ApprovalActionTypeDTO;
|
|
95
|
+
/**
|
|
96
|
+
* @type string
|
|
97
|
+
*/
|
|
98
|
+
resourceType: string;
|
|
99
|
+
/**
|
|
100
|
+
* @type string
|
|
101
|
+
*/
|
|
102
|
+
summary: string;
|
|
103
|
+
/**
|
|
104
|
+
* @type object
|
|
105
|
+
*/
|
|
106
|
+
diff?: ApprovalSummaryDTODiff;
|
|
107
|
+
/**
|
|
108
|
+
* @type string
|
|
109
|
+
* @format date-time
|
|
110
|
+
*/
|
|
111
|
+
createdAt: string;
|
|
112
|
+
}
|
|
113
|
+
export interface ApproveRequestDTO {
|
|
114
|
+
/**
|
|
115
|
+
* @type string
|
|
116
|
+
* @format uuid
|
|
117
|
+
*/
|
|
118
|
+
approvalId: string;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Approve starts a new execution for the backend-approved continuation.
|
|
122
|
+
*/
|
|
123
|
+
export interface ApproveResponseDTO {
|
|
124
|
+
/**
|
|
125
|
+
* @type string
|
|
126
|
+
* @format uuid
|
|
127
|
+
*/
|
|
128
|
+
executionId: string;
|
|
129
|
+
}
|
|
130
|
+
export interface CancelRequestDTO {
|
|
131
|
+
/**
|
|
132
|
+
* @type string
|
|
133
|
+
* @format uuid
|
|
134
|
+
*/
|
|
135
|
+
threadId: string;
|
|
136
|
+
}
|
|
137
|
+
export declare enum ExecutionStateDTO {
|
|
138
|
+
queued = "queued",
|
|
139
|
+
running = "running",
|
|
140
|
+
awaiting_approval = "awaiting_approval",
|
|
141
|
+
awaiting_clarification = "awaiting_clarification",
|
|
142
|
+
resumed = "resumed",
|
|
143
|
+
completed = "completed",
|
|
144
|
+
failed = "failed",
|
|
145
|
+
canceled = "canceled"
|
|
146
|
+
}
|
|
147
|
+
export interface CancelResponseDTO {
|
|
148
|
+
/**
|
|
149
|
+
* @type string
|
|
150
|
+
* @format uuid
|
|
151
|
+
*/
|
|
152
|
+
executionId: string;
|
|
153
|
+
previousState: ExecutionStateDTO;
|
|
154
|
+
state: ExecutionStateDTO;
|
|
155
|
+
}
|
|
156
|
+
export interface ChipDTO {
|
|
157
|
+
/**
|
|
158
|
+
* @type string
|
|
159
|
+
* @description Stable chip id. Rule-engine chips use intent ids.
|
|
160
|
+
*/
|
|
161
|
+
id: string;
|
|
162
|
+
/**
|
|
163
|
+
* @type string
|
|
164
|
+
*/
|
|
165
|
+
text: string;
|
|
166
|
+
}
|
|
167
|
+
export interface ChipsResponseDTO {
|
|
168
|
+
/**
|
|
169
|
+
* @type array
|
|
170
|
+
*/
|
|
171
|
+
chips: ChipDTO[];
|
|
172
|
+
}
|
|
173
|
+
export type ClarificationFieldDTOOptions = string[] | null;
|
|
174
|
+
export type ClarificationFieldDTODefault = string | string[] | null;
|
|
175
|
+
export declare enum ClarificationFieldTypeDTO {
|
|
176
|
+
text = "text",
|
|
177
|
+
number = "number",
|
|
178
|
+
select = "select",
|
|
179
|
+
multi_select = "multi_select",
|
|
180
|
+
boolean = "boolean"
|
|
181
|
+
}
|
|
182
|
+
export interface ClarificationFieldDTO {
|
|
183
|
+
/**
|
|
184
|
+
* @type string
|
|
185
|
+
*/
|
|
186
|
+
id: string;
|
|
187
|
+
type: ClarificationFieldTypeDTO;
|
|
188
|
+
/**
|
|
189
|
+
* @type string
|
|
190
|
+
*/
|
|
191
|
+
label: string;
|
|
192
|
+
/**
|
|
193
|
+
* @type boolean
|
|
194
|
+
*/
|
|
195
|
+
required?: boolean;
|
|
196
|
+
options?: ClarificationFieldDTOOptions;
|
|
197
|
+
/**
|
|
198
|
+
* @type boolean
|
|
199
|
+
*/
|
|
200
|
+
allowCustom?: boolean;
|
|
201
|
+
default?: ClarificationFieldDTODefault;
|
|
202
|
+
}
|
|
203
|
+
export declare enum ClarificationStateDTO {
|
|
204
|
+
pending = "pending",
|
|
205
|
+
submitted = "submitted",
|
|
206
|
+
superseded = "superseded"
|
|
207
|
+
}
|
|
208
|
+
export type ClarificationSummaryDTODiscoveredContextAnyOf = {
|
|
209
|
+
[key: string]: unknown;
|
|
210
|
+
};
|
|
211
|
+
export type ClarificationSummaryDTODiscoveredContext = ClarificationSummaryDTODiscoveredContextAnyOf | null;
|
|
212
|
+
export interface ClarificationSummaryDTO {
|
|
213
|
+
/**
|
|
214
|
+
* @type string
|
|
215
|
+
* @format uuid
|
|
216
|
+
*/
|
|
217
|
+
clarificationId: string;
|
|
218
|
+
/**
|
|
219
|
+
* @type string
|
|
220
|
+
* @format uuid
|
|
221
|
+
*/
|
|
222
|
+
executionId: string;
|
|
223
|
+
/**
|
|
224
|
+
* @type string
|
|
225
|
+
* @format uuid
|
|
226
|
+
*/
|
|
227
|
+
sourceMessageId: string;
|
|
228
|
+
state: ClarificationStateDTO;
|
|
229
|
+
/**
|
|
230
|
+
* @type string
|
|
231
|
+
*/
|
|
232
|
+
message: string;
|
|
233
|
+
discoveredContext?: ClarificationSummaryDTODiscoveredContext;
|
|
234
|
+
/**
|
|
235
|
+
* @type array
|
|
236
|
+
*/
|
|
237
|
+
fields?: ClarificationFieldDTO[];
|
|
238
|
+
/**
|
|
239
|
+
* @type string
|
|
240
|
+
* @format date-time
|
|
241
|
+
*/
|
|
242
|
+
createdAt: string;
|
|
243
|
+
}
|
|
244
|
+
export type ClarifyRequestDTOAnswers = {
|
|
245
|
+
[key: string]: unknown;
|
|
246
|
+
};
|
|
247
|
+
export interface ClarifyRequestDTO {
|
|
248
|
+
/**
|
|
249
|
+
* @type string
|
|
250
|
+
* @format uuid
|
|
251
|
+
*/
|
|
252
|
+
clarificationId: string;
|
|
253
|
+
/**
|
|
254
|
+
* @type object
|
|
255
|
+
*/
|
|
256
|
+
answers: ClarifyRequestDTOAnswers;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Clarify starts a new execution for the continuation.
|
|
260
|
+
*/
|
|
261
|
+
export interface ClarifyResponseDTO {
|
|
262
|
+
/**
|
|
263
|
+
* @type string
|
|
264
|
+
* @format uuid
|
|
265
|
+
*/
|
|
266
|
+
executionId: string;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Identifier exposed on the wire for each counter row.
|
|
270
|
+
*
|
|
271
|
+
* Mirrors the ``RateLimitCounterType`` model enum minus the cost
|
|
272
|
+
* counter. The daily-cost limit is enforced internally (Redis
|
|
273
|
+
* counter + 429 from the pre-flight gate) but never surfaced on the
|
|
274
|
+
* customer-facing API: shipping the raw provider cost to tenant users
|
|
275
|
+
* pins our public pricing model to what we pay Anthropic and forecloses
|
|
276
|
+
* markup, per-seat bundling, or tiered pricing. Cost stays internal on
|
|
277
|
+
* ``assistant_executions`` + Redis for billing.
|
|
278
|
+
*/
|
|
279
|
+
export declare enum CounterTypeNameDTO {
|
|
280
|
+
hourly_message = "hourly_message",
|
|
281
|
+
daily_message = "daily_message",
|
|
282
|
+
daily_token = "daily_token"
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* "auto" if derived from current page; "mention" if explicitly @-picked.
|
|
286
|
+
*/
|
|
287
|
+
export declare enum MessageContextDTOSource {
|
|
288
|
+
auto = "auto",
|
|
289
|
+
mention = "mention"
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Resource taxonomy. Use metadata.page for concrete page identity.
|
|
293
|
+
*/
|
|
294
|
+
export declare enum MessageContextDTOType {
|
|
295
|
+
dashboard = "dashboard",
|
|
296
|
+
alert = "alert",
|
|
297
|
+
saved_view = "saved_view",
|
|
298
|
+
logs_explorer = "logs_explorer",
|
|
299
|
+
traces_explorer = "traces_explorer",
|
|
300
|
+
metrics_explorer = "metrics_explorer",
|
|
301
|
+
service = "service"
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Required for resource-detail pages: dashboard_detail, panel_edit, panel_fullscreen, alert_edit, service_detail. Always required for saved_view (mention-only — no list page in V1). Must be null for list/index/draft/detail-as-metadata pages such as dashboard_list, alert_list, alert_new, alerts_triggered, services_list, log_detail, and trace_detail.
|
|
305
|
+
*/
|
|
306
|
+
export type MessageContextDTOResourceId = string | null;
|
|
307
|
+
export type MessageContextDTOResourceName = string | null;
|
|
308
|
+
export type MessageContextDTOMetadataAnyOf = {
|
|
309
|
+
[key: string]: unknown;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Page-specific extras. metadata.page identifies list/draft pages and detail-as-metadata pages. Required non-empty metadata keys: panel_edit.widgetId, panel_fullscreen.widgetId, trace_detail.traceId. timeRange.{start,end} use Unix milliseconds.
|
|
313
|
+
*/
|
|
314
|
+
export type MessageContextDTOMetadata = MessageContextDTOMetadataAnyOf | null;
|
|
315
|
+
export interface MessageContextDTO {
|
|
316
|
+
/**
|
|
317
|
+
* @enum auto,mention
|
|
318
|
+
* @type string
|
|
319
|
+
* @description "auto" if derived from current page; "mention" if explicitly @-picked.
|
|
320
|
+
*/
|
|
321
|
+
source: MessageContextDTOSource;
|
|
322
|
+
/**
|
|
323
|
+
* @enum dashboard,alert,saved_view,logs_explorer,traces_explorer,metrics_explorer,service
|
|
324
|
+
* @type string
|
|
325
|
+
* @description Resource taxonomy. Use metadata.page for concrete page identity.
|
|
326
|
+
*/
|
|
327
|
+
type: MessageContextDTOType;
|
|
328
|
+
/**
|
|
329
|
+
* @description Required for resource-detail pages: dashboard_detail, panel_edit, panel_fullscreen, alert_edit, service_detail. Always required for saved_view (mention-only — no list page in V1). Must be null for list/index/draft/detail-as-metadata pages such as dashboard_list, alert_list, alert_new, alerts_triggered, services_list, log_detail, and trace_detail.
|
|
330
|
+
*/
|
|
331
|
+
resourceId?: MessageContextDTOResourceId;
|
|
332
|
+
resourceName?: MessageContextDTOResourceName;
|
|
333
|
+
/**
|
|
334
|
+
* @description Page-specific extras. metadata.page identifies list/draft pages and detail-as-metadata pages. Required non-empty metadata keys: panel_edit.widgetId, panel_fullscreen.widgetId, trace_detail.traceId. timeRange.{start,end} use Unix milliseconds.
|
|
335
|
+
*/
|
|
336
|
+
metadata?: MessageContextDTOMetadata;
|
|
337
|
+
}
|
|
338
|
+
export type CreateMessageRequestDTOContexts = MessageContextDTO[] | null;
|
|
339
|
+
export type CreateMessageRequestDTOForkFromMessageId = string | null;
|
|
340
|
+
export interface CreateMessageRequestDTO {
|
|
341
|
+
/**
|
|
342
|
+
* @type string
|
|
343
|
+
* @maxLength 20000
|
|
344
|
+
* @minLength 1
|
|
345
|
+
*/
|
|
346
|
+
content: string;
|
|
347
|
+
contexts?: CreateMessageRequestDTOContexts;
|
|
348
|
+
forkFromMessageId?: CreateMessageRequestDTOForkFromMessageId;
|
|
349
|
+
}
|
|
350
|
+
export interface CreateMessageResponseDTO {
|
|
351
|
+
/**
|
|
352
|
+
* @type string
|
|
353
|
+
* @format uuid
|
|
354
|
+
*/
|
|
355
|
+
executionId: string;
|
|
356
|
+
}
|
|
357
|
+
export type CreateThreadRequestDTOTitle = string | null;
|
|
358
|
+
export interface CreateThreadRequestDTO {
|
|
359
|
+
title?: CreateThreadRequestDTOTitle;
|
|
360
|
+
}
|
|
361
|
+
export interface CreateThreadResponseDTO {
|
|
362
|
+
/**
|
|
363
|
+
* @type string
|
|
364
|
+
* @format uuid
|
|
365
|
+
*/
|
|
366
|
+
threadId: string;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Single sub-error entry — matches Go ErrorsResponseerroradditional.
|
|
370
|
+
*/
|
|
371
|
+
export interface ErrorResponseAdditionalDTO {
|
|
372
|
+
/**
|
|
373
|
+
* @type string
|
|
374
|
+
*/
|
|
375
|
+
message: string;
|
|
376
|
+
}
|
|
377
|
+
export type ErrorBodyDTOErrors = ErrorResponseAdditionalDTO[] | null;
|
|
378
|
+
export type ErrorBodyDTOUrl = string | null;
|
|
379
|
+
/**
|
|
380
|
+
* Machine-readable error codes carried on ``ErrorBody.code``.
|
|
381
|
+
*
|
|
382
|
+
* **Extensible set.** This enum is the single source of truth for every code
|
|
383
|
+
* the backend can emit, on both the REST envelope and the SSE ``ErrorEvent``.
|
|
384
|
+
* It is published in the OpenAPI schema (and therefore the generated TS
|
|
385
|
+
* client) so clients get autocomplete and a typed discriminant. The set is
|
|
386
|
+
* expected to *grow*: adding a member is a backward-compatible change (the
|
|
387
|
+
* wire is still a plain JSON string), so clients MUST treat unknown codes
|
|
388
|
+
* gracefully — branch on the codes they handle and keep a default fallback,
|
|
389
|
+
* never hard-reject an unrecognized value. Re-exported from ``app.errors``
|
|
390
|
+
* for convenience; ``AssistantError(code=...)`` requires a member of this
|
|
391
|
+
* enum so a typo can never reach a client.
|
|
392
|
+
*/
|
|
393
|
+
export declare enum ErrorCodeDTO {
|
|
394
|
+
missing_signoz_url = "missing_signoz_url",
|
|
395
|
+
invalid_signoz_url = "invalid_signoz_url",
|
|
396
|
+
invalid_content_length = "invalid_content_length",
|
|
397
|
+
invalid_fork_target = "invalid_fork_target",
|
|
398
|
+
rate_limit_override_exceeds_ceiling = "rate_limit_override_exceeds_ceiling",
|
|
399
|
+
thread_message_limit = "thread_message_limit",
|
|
400
|
+
validation_error = "validation_error",
|
|
401
|
+
unauthenticated = "unauthenticated",
|
|
402
|
+
missing_token = "missing_token",
|
|
403
|
+
invalid_token = "invalid_token",
|
|
404
|
+
disallowed_signoz_url = "disallowed_signoz_url",
|
|
405
|
+
permission_denied = "permission_denied",
|
|
406
|
+
user_disabled = "user_disabled",
|
|
407
|
+
org_disabled = "org_disabled",
|
|
408
|
+
thread_not_found = "thread_not_found",
|
|
409
|
+
message_not_found = "message_not_found",
|
|
410
|
+
execution_not_found = "execution_not_found",
|
|
411
|
+
approval_not_found = "approval_not_found",
|
|
412
|
+
clarification_not_found = "clarification_not_found",
|
|
413
|
+
action_metadata_not_found = "action_metadata_not_found",
|
|
414
|
+
user_not_found = "user_not_found",
|
|
415
|
+
region_not_configured = "region_not_configured",
|
|
416
|
+
thread_busy = "thread_busy",
|
|
417
|
+
thread_has_active_execution = "thread_has_active_execution",
|
|
418
|
+
no_active_execution = "no_active_execution",
|
|
419
|
+
approval_superseded = "approval_superseded",
|
|
420
|
+
clarification_superseded = "clarification_superseded",
|
|
421
|
+
undo_conflict = "undo_conflict",
|
|
422
|
+
revert_conflict = "revert_conflict",
|
|
423
|
+
revert_expired = "revert_expired",
|
|
424
|
+
restore_expired = "restore_expired",
|
|
425
|
+
tenant_gone = "tenant_gone",
|
|
426
|
+
connection_limit_exceeded = "connection_limit_exceeded",
|
|
427
|
+
hourly_message_limit = "hourly_message_limit",
|
|
428
|
+
daily_message_limit = "daily_message_limit",
|
|
429
|
+
daily_token_limit = "daily_token_limit",
|
|
430
|
+
daily_cost_limit = "daily_cost_limit",
|
|
431
|
+
upstream_auth_rate_limited = "upstream_auth_rate_limited",
|
|
432
|
+
upstream_auth_error = "upstream_auth_error",
|
|
433
|
+
max_turns_exceeded = "max_turns_exceeded",
|
|
434
|
+
budget_exceeded = "budget_exceeded",
|
|
435
|
+
approved_tool_failed = "approved_tool_failed",
|
|
436
|
+
agent_execution_error = "agent_execution_error",
|
|
437
|
+
cli_not_found = "cli_not_found",
|
|
438
|
+
cli_connection_error = "cli_connection_error",
|
|
439
|
+
cli_process_error = "cli_process_error",
|
|
440
|
+
sandbox_unavailable = "sandbox_unavailable",
|
|
441
|
+
mcp_unavailable = "mcp_unavailable",
|
|
442
|
+
mcp_upstream_timeout = "mcp_upstream_timeout",
|
|
443
|
+
agent_response_too_large = "agent_response_too_large",
|
|
444
|
+
model_response_malformed = "model_response_malformed",
|
|
445
|
+
internal_error = "internal_error",
|
|
446
|
+
region_unreachable = "region_unreachable",
|
|
447
|
+
upstream_auth_invalid_response = "upstream_auth_invalid_response",
|
|
448
|
+
service_draining = "service_draining",
|
|
449
|
+
upstream_auth_unavailable = "upstream_auth_unavailable",
|
|
450
|
+
rollout_interrupted = "rollout_interrupted",
|
|
451
|
+
heartbeat_expired = "heartbeat_expired",
|
|
452
|
+
replay_unavailable = "replay_unavailable"
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Inner error object — matches Go ErrorsJSON.
|
|
456
|
+
*/
|
|
457
|
+
export interface ErrorBodyDTO {
|
|
458
|
+
code: ErrorCodeDTO;
|
|
459
|
+
/**
|
|
460
|
+
* @type string
|
|
461
|
+
*/
|
|
462
|
+
message: string;
|
|
463
|
+
errors?: ErrorBodyDTOErrors;
|
|
464
|
+
url?: ErrorBodyDTOUrl;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Top-level error envelope — matches Go RenderErrorResponse.
|
|
468
|
+
*/
|
|
469
|
+
export interface ErrorResponseDTO {
|
|
470
|
+
/**
|
|
471
|
+
* @type string
|
|
472
|
+
*/
|
|
473
|
+
status?: string;
|
|
474
|
+
error: ErrorBodyDTO;
|
|
475
|
+
}
|
|
476
|
+
export declare enum FeedbackRatingDTO {
|
|
477
|
+
positive = "positive",
|
|
478
|
+
negative = "negative"
|
|
479
|
+
}
|
|
480
|
+
export type FeedbackRequestDTOComment = string | null;
|
|
481
|
+
export interface FeedbackRequestDTO {
|
|
482
|
+
rating: FeedbackRatingDTO;
|
|
483
|
+
comment?: FeedbackRequestDTOComment;
|
|
484
|
+
}
|
|
485
|
+
export interface FeedbackResponseDTO {
|
|
486
|
+
[key: string]: unknown;
|
|
487
|
+
}
|
|
488
|
+
export type ValidationErrorDTOLocItem = string | number;
|
|
489
|
+
export type ValidationErrorDTOCtx = {
|
|
490
|
+
[key: string]: unknown;
|
|
491
|
+
};
|
|
492
|
+
export interface ValidationErrorDTO {
|
|
493
|
+
/**
|
|
494
|
+
* @type array
|
|
495
|
+
*/
|
|
496
|
+
loc: ValidationErrorDTOLocItem[];
|
|
497
|
+
/**
|
|
498
|
+
* @type string
|
|
499
|
+
*/
|
|
500
|
+
msg: string;
|
|
501
|
+
/**
|
|
502
|
+
* @type string
|
|
503
|
+
*/
|
|
504
|
+
type: string;
|
|
505
|
+
input?: unknown;
|
|
506
|
+
/**
|
|
507
|
+
* @type object
|
|
508
|
+
*/
|
|
509
|
+
ctx?: ValidationErrorDTOCtx;
|
|
510
|
+
}
|
|
511
|
+
export interface HTTPValidationErrorDTO {
|
|
512
|
+
/**
|
|
513
|
+
* @type array
|
|
514
|
+
*/
|
|
515
|
+
detail?: ValidationErrorDTO[];
|
|
516
|
+
}
|
|
517
|
+
export declare const HealthResponseDTOValue: {
|
|
518
|
+
/**
|
|
519
|
+
* @type string
|
|
520
|
+
*/
|
|
521
|
+
readonly status: "ok";
|
|
522
|
+
};
|
|
523
|
+
export type HealthResponseDTO = typeof HealthResponseDTOValue;
|
|
524
|
+
export type MessageActionDTOActionMetadataId = string | null;
|
|
525
|
+
export type MessageActionDTOResourceType = string | null;
|
|
526
|
+
export type MessageActionDTOResourceId = string | null;
|
|
527
|
+
export type MessageActionDTOState = string | null;
|
|
528
|
+
export type MessageActionDTOInputAnyOf = {
|
|
529
|
+
[key: string]: unknown;
|
|
530
|
+
};
|
|
531
|
+
export type MessageActionDTOInput = MessageActionDTOInputAnyOf | null;
|
|
532
|
+
export type MessageActionDTOTooltip = string | null;
|
|
533
|
+
export type MessageActionDTOSignal = ApplyFilterSignalDTO | null;
|
|
534
|
+
export type MessageActionDTOQueryAnyOf = {
|
|
535
|
+
[key: string]: unknown;
|
|
536
|
+
};
|
|
537
|
+
export type MessageActionDTOQuery = MessageActionDTOQueryAnyOf | null;
|
|
538
|
+
export type MessageActionDTOUrl = string | null;
|
|
539
|
+
/**
|
|
540
|
+
* Explorer a saved view belongs to: its ``source`` (``sourcePage`` before the v2 API).
|
|
541
|
+
*
|
|
542
|
+
* Mirrors the SigNoz saved-view ``source`` values. ``meter`` is the Cost Meter
|
|
543
|
+
* Explorer and is distinct from ``metrics``: the product stores and lists meter
|
|
544
|
+
* views under ``source="meter"``.
|
|
545
|
+
*/
|
|
546
|
+
export declare enum SavedViewEntityDTO {
|
|
547
|
+
logs = "logs",
|
|
548
|
+
traces = "traces",
|
|
549
|
+
metrics = "metrics",
|
|
550
|
+
meter = "meter"
|
|
551
|
+
}
|
|
552
|
+
export type MessageActionDTOEntity = SavedViewEntityDTO | null;
|
|
553
|
+
export declare enum MessageActionKindDTO {
|
|
554
|
+
undo = "undo",
|
|
555
|
+
revert = "revert",
|
|
556
|
+
restore = "restore",
|
|
557
|
+
follow_up = "follow_up",
|
|
558
|
+
open_resource = "open_resource",
|
|
559
|
+
open_docs = "open_docs",
|
|
560
|
+
apply_filter = "apply_filter"
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Assistant action. Kind-specific requirements: rollback actions require actionMetadataId/resourceType/resourceId; follow_up requires input.intent and returns the same text in tooltip; open_resource requires resourceType/resourceId; apply_filter requires signal and query; open_docs requires a SigNoz docs url. open_resource for a saved view also carries entity (logs/traces/metrics/meter): the Explorer the view belongs to.
|
|
564
|
+
*/
|
|
565
|
+
export interface MessageActionDTO {
|
|
566
|
+
kind: MessageActionKindDTO;
|
|
567
|
+
/**
|
|
568
|
+
* @type string
|
|
569
|
+
*/
|
|
570
|
+
label: string;
|
|
571
|
+
actionMetadataId?: MessageActionDTOActionMetadataId;
|
|
572
|
+
resourceType?: MessageActionDTOResourceType;
|
|
573
|
+
resourceId?: MessageActionDTOResourceId;
|
|
574
|
+
state?: MessageActionDTOState;
|
|
575
|
+
input?: MessageActionDTOInput;
|
|
576
|
+
tooltip?: MessageActionDTOTooltip;
|
|
577
|
+
signal?: MessageActionDTOSignal;
|
|
578
|
+
query?: MessageActionDTOQuery;
|
|
579
|
+
url?: MessageActionDTOUrl;
|
|
580
|
+
entity?: MessageActionDTOEntity;
|
|
581
|
+
}
|
|
582
|
+
export declare enum MessageContentTypeDTO {
|
|
583
|
+
markdown = "markdown"
|
|
584
|
+
}
|
|
585
|
+
export declare enum MessageRoleDTO {
|
|
586
|
+
user = "user",
|
|
587
|
+
assistant = "assistant",
|
|
588
|
+
system = "system"
|
|
589
|
+
}
|
|
590
|
+
export type MessageSummaryDTOContent = string | null;
|
|
591
|
+
export type MessageSummaryDTOToolCallsAnyOfItem = {
|
|
592
|
+
[key: string]: unknown;
|
|
593
|
+
};
|
|
594
|
+
export type MessageSummaryDTOToolCalls = MessageSummaryDTOToolCallsAnyOfItem[] | null;
|
|
595
|
+
export type MessageSummaryDTOBlocksAnyOfItem = {
|
|
596
|
+
[key: string]: unknown;
|
|
597
|
+
};
|
|
598
|
+
export type MessageSummaryDTOBlocks = MessageSummaryDTOBlocksAnyOfItem[] | null;
|
|
599
|
+
export type MessageSummaryDTOContexts = MessageContextDTO[] | null;
|
|
600
|
+
export type MessageSummaryDTOActions = MessageActionDTO[] | null;
|
|
601
|
+
/**
|
|
602
|
+
* Resolved approvals (approved/rejected/superseded) anchored to this assistant message. Pending approvals appear only at top-level pendingApproval, never here.
|
|
603
|
+
*/
|
|
604
|
+
export type MessageSummaryDTOApprovals = ApprovalActionSummaryDTO[] | null;
|
|
605
|
+
export type MessageSummaryDTOFeedbackRating = FeedbackRatingDTO | null;
|
|
606
|
+
export type MessageSummaryDTOFeedbackComment = string | null;
|
|
607
|
+
export type MessageSummaryDTOExecutionId = string | null;
|
|
608
|
+
export interface MessageSummaryDTO {
|
|
609
|
+
/**
|
|
610
|
+
* @type string
|
|
611
|
+
* @format uuid
|
|
612
|
+
*/
|
|
613
|
+
messageId: string;
|
|
614
|
+
role: MessageRoleDTO;
|
|
615
|
+
contentType?: MessageContentTypeDTO;
|
|
616
|
+
content?: MessageSummaryDTOContent;
|
|
617
|
+
/**
|
|
618
|
+
* @type boolean
|
|
619
|
+
*/
|
|
620
|
+
complete?: boolean;
|
|
621
|
+
toolCalls?: MessageSummaryDTOToolCalls;
|
|
622
|
+
blocks?: MessageSummaryDTOBlocks;
|
|
623
|
+
contexts?: MessageSummaryDTOContexts;
|
|
624
|
+
actions?: MessageSummaryDTOActions;
|
|
625
|
+
/**
|
|
626
|
+
* @description Resolved approvals (approved/rejected/superseded) anchored to this assistant message. Pending approvals appear only at top-level pendingApproval, never here.
|
|
627
|
+
*/
|
|
628
|
+
approvals?: MessageSummaryDTOApprovals;
|
|
629
|
+
feedbackRating?: MessageSummaryDTOFeedbackRating;
|
|
630
|
+
feedbackComment?: MessageSummaryDTOFeedbackComment;
|
|
631
|
+
executionId?: MessageSummaryDTOExecutionId;
|
|
632
|
+
/**
|
|
633
|
+
* @type string
|
|
634
|
+
* @format date-time
|
|
635
|
+
*/
|
|
636
|
+
createdAt: string;
|
|
637
|
+
/**
|
|
638
|
+
* @type string
|
|
639
|
+
* @format date-time
|
|
640
|
+
*/
|
|
641
|
+
updatedAt: string;
|
|
642
|
+
}
|
|
643
|
+
export declare enum PageTypeDTO {
|
|
644
|
+
homepage = "homepage",
|
|
645
|
+
dashboard_detail = "dashboard_detail",
|
|
646
|
+
dashboard_list = "dashboard_list",
|
|
647
|
+
panel_edit = "panel_edit",
|
|
648
|
+
panel_fullscreen = "panel_fullscreen",
|
|
649
|
+
logs_explorer = "logs_explorer",
|
|
650
|
+
log_detail = "log_detail",
|
|
651
|
+
traces_explorer = "traces_explorer",
|
|
652
|
+
trace_detail = "trace_detail",
|
|
653
|
+
metrics_explorer = "metrics_explorer",
|
|
654
|
+
service_detail = "service_detail",
|
|
655
|
+
services_list = "services_list",
|
|
656
|
+
alert_edit = "alert_edit",
|
|
657
|
+
alert_list = "alert_list",
|
|
658
|
+
alert_new = "alert_new",
|
|
659
|
+
alerts_triggered = "alerts_triggered",
|
|
660
|
+
infra_entity_detail = "infra_entity_detail",
|
|
661
|
+
other = "other"
|
|
662
|
+
}
|
|
663
|
+
export declare enum ReadinessChecksDTODatabase {
|
|
664
|
+
ok = "ok",
|
|
665
|
+
failed = "failed",
|
|
666
|
+
skipped = "skipped"
|
|
667
|
+
}
|
|
668
|
+
export declare enum ReadinessChecksDTORedis {
|
|
669
|
+
ok = "ok",
|
|
670
|
+
failed = "failed",
|
|
671
|
+
skipped = "skipped"
|
|
672
|
+
}
|
|
673
|
+
export declare enum ReadinessChecksDTODrain {
|
|
674
|
+
ok = "ok",
|
|
675
|
+
failed = "failed"
|
|
676
|
+
}
|
|
677
|
+
export interface ReadinessChecksDTO {
|
|
678
|
+
/**
|
|
679
|
+
* @type string
|
|
680
|
+
* @enum ok,failed,skipped
|
|
681
|
+
*/
|
|
682
|
+
database: ReadinessChecksDTODatabase;
|
|
683
|
+
/**
|
|
684
|
+
* @type string
|
|
685
|
+
* @enum ok,failed,skipped
|
|
686
|
+
*/
|
|
687
|
+
redis: ReadinessChecksDTORedis;
|
|
688
|
+
/**
|
|
689
|
+
* @type string
|
|
690
|
+
* @enum ok,failed
|
|
691
|
+
*/
|
|
692
|
+
drain: ReadinessChecksDTODrain;
|
|
693
|
+
}
|
|
694
|
+
export declare enum ReadinessResponseDTOStatus {
|
|
695
|
+
ok = "ok",
|
|
696
|
+
degraded = "degraded"
|
|
697
|
+
}
|
|
698
|
+
export interface ReadinessResponseDTO {
|
|
699
|
+
/**
|
|
700
|
+
* @type string
|
|
701
|
+
* @enum ok,degraded
|
|
702
|
+
*/
|
|
703
|
+
status: ReadinessResponseDTOStatus;
|
|
704
|
+
checks: ReadinessChecksDTO;
|
|
705
|
+
}
|
|
706
|
+
export interface RegenerateResponseDTO {
|
|
707
|
+
/**
|
|
708
|
+
* @type string
|
|
709
|
+
* @format uuid
|
|
710
|
+
*/
|
|
711
|
+
executionId: string;
|
|
712
|
+
}
|
|
713
|
+
export interface RejectRequestDTO {
|
|
714
|
+
/**
|
|
715
|
+
* @type string
|
|
716
|
+
* @format uuid
|
|
717
|
+
*/
|
|
718
|
+
approvalId: string;
|
|
719
|
+
}
|
|
720
|
+
export interface RestoreRequestDTO {
|
|
721
|
+
/**
|
|
722
|
+
* @type string
|
|
723
|
+
* @format uuid
|
|
724
|
+
*/
|
|
725
|
+
actionMetadataId: string;
|
|
726
|
+
}
|
|
727
|
+
export interface RevertRequestDTO {
|
|
728
|
+
/**
|
|
729
|
+
* @type string
|
|
730
|
+
* @format uuid
|
|
731
|
+
*/
|
|
732
|
+
actionMetadataId: string;
|
|
733
|
+
}
|
|
734
|
+
export declare enum ScopeDTO {
|
|
735
|
+
user = "user",
|
|
736
|
+
org = "org"
|
|
737
|
+
}
|
|
738
|
+
export type ThreadDetailResponseDTOTitle = string | null;
|
|
739
|
+
export type ThreadDetailResponseDTOState = ExecutionStateDTO | null;
|
|
740
|
+
export type ThreadDetailResponseDTOActiveExecutionId = string | null;
|
|
741
|
+
export type ThreadDetailResponseDTOPendingApproval = ApprovalSummaryDTO | null;
|
|
742
|
+
export type ThreadDetailResponseDTOPendingClarification = ClarificationSummaryDTO | null;
|
|
743
|
+
/**
|
|
744
|
+
* Full thread state for cold-start reconstruction (GET /threads/{id}).
|
|
745
|
+
*/
|
|
746
|
+
export interface ThreadDetailResponseDTO {
|
|
747
|
+
/**
|
|
748
|
+
* @type string
|
|
749
|
+
* @format uuid
|
|
750
|
+
*/
|
|
751
|
+
threadId: string;
|
|
752
|
+
title?: ThreadDetailResponseDTOTitle;
|
|
753
|
+
state?: ThreadDetailResponseDTOState;
|
|
754
|
+
activeExecutionId?: ThreadDetailResponseDTOActiveExecutionId;
|
|
755
|
+
/**
|
|
756
|
+
* @type boolean
|
|
757
|
+
*/
|
|
758
|
+
archived?: boolean;
|
|
759
|
+
/**
|
|
760
|
+
* @type string
|
|
761
|
+
* @format date-time
|
|
762
|
+
*/
|
|
763
|
+
createdAt: string;
|
|
764
|
+
/**
|
|
765
|
+
* @type string
|
|
766
|
+
* @format date-time
|
|
767
|
+
*/
|
|
768
|
+
updatedAt: string;
|
|
769
|
+
/**
|
|
770
|
+
* @type array
|
|
771
|
+
*/
|
|
772
|
+
messages?: MessageSummaryDTO[];
|
|
773
|
+
pendingApproval?: ThreadDetailResponseDTOPendingApproval;
|
|
774
|
+
pendingClarification?: ThreadDetailResponseDTOPendingClarification;
|
|
775
|
+
}
|
|
776
|
+
export type ThreadListResponseDTONextCursor = string | null;
|
|
777
|
+
export type ThreadSummaryDTOTitle = string | null;
|
|
778
|
+
export type ThreadSummaryDTOState = ExecutionStateDTO | null;
|
|
779
|
+
export type ThreadSummaryDTOActiveExecutionId = string | null;
|
|
780
|
+
/**
|
|
781
|
+
* Thread list item.
|
|
782
|
+
*/
|
|
783
|
+
export interface ThreadSummaryDTO {
|
|
784
|
+
/**
|
|
785
|
+
* @type string
|
|
786
|
+
* @format uuid
|
|
787
|
+
*/
|
|
788
|
+
threadId: string;
|
|
789
|
+
title?: ThreadSummaryDTOTitle;
|
|
790
|
+
state?: ThreadSummaryDTOState;
|
|
791
|
+
activeExecutionId?: ThreadSummaryDTOActiveExecutionId;
|
|
792
|
+
/**
|
|
793
|
+
* @type boolean
|
|
794
|
+
*/
|
|
795
|
+
archived?: boolean;
|
|
796
|
+
/**
|
|
797
|
+
* @type string
|
|
798
|
+
* @format date-time
|
|
799
|
+
*/
|
|
800
|
+
createdAt: string;
|
|
801
|
+
/**
|
|
802
|
+
* @type string
|
|
803
|
+
* @format date-time
|
|
804
|
+
*/
|
|
805
|
+
updatedAt: string;
|
|
806
|
+
}
|
|
807
|
+
export interface ThreadListResponseDTO {
|
|
808
|
+
/**
|
|
809
|
+
* @type array
|
|
810
|
+
*/
|
|
811
|
+
threads: ThreadSummaryDTO[];
|
|
812
|
+
nextCursor?: ThreadListResponseDTONextCursor;
|
|
813
|
+
/**
|
|
814
|
+
* @type boolean
|
|
815
|
+
*/
|
|
816
|
+
hasMore?: boolean;
|
|
817
|
+
}
|
|
818
|
+
export interface UndoRequestDTO {
|
|
819
|
+
/**
|
|
820
|
+
* @type string
|
|
821
|
+
* @format uuid
|
|
822
|
+
*/
|
|
823
|
+
actionMetadataId: string;
|
|
824
|
+
}
|
|
825
|
+
export type UpdateThreadRequestDTOTitle = string | null;
|
|
826
|
+
export type UpdateThreadRequestDTOArchived = boolean | null;
|
|
827
|
+
export interface UpdateThreadRequestDTO {
|
|
828
|
+
title?: UpdateThreadRequestDTOTitle;
|
|
829
|
+
archived?: UpdateThreadRequestDTOArchived;
|
|
830
|
+
}
|
|
831
|
+
export type UsageResponseDTONextPage = string | null;
|
|
832
|
+
/**
|
|
833
|
+
* One row in the ``GET /usage`` response.
|
|
834
|
+
*/
|
|
835
|
+
export interface UsageRowDTO {
|
|
836
|
+
type: CounterTypeNameDTO;
|
|
837
|
+
scope: ScopeDTO;
|
|
838
|
+
used: number;
|
|
839
|
+
limit: number;
|
|
840
|
+
/**
|
|
841
|
+
* @type string
|
|
842
|
+
* @format date-time
|
|
843
|
+
*/
|
|
844
|
+
resetsAt: string;
|
|
845
|
+
}
|
|
846
|
+
export interface UsageResponseDTO {
|
|
847
|
+
/**
|
|
848
|
+
* @type array
|
|
849
|
+
*/
|
|
850
|
+
data: UsageRowDTO[];
|
|
851
|
+
nextPage?: UsageResponseDTONextPage;
|
|
852
|
+
}
|
|
853
|
+
export type ApprovalEventDTODiff = {
|
|
854
|
+
[key: string]: unknown;
|
|
855
|
+
};
|
|
856
|
+
export interface ApprovalEventDTO {
|
|
857
|
+
/**
|
|
858
|
+
* @type string
|
|
859
|
+
*/
|
|
860
|
+
type?: string;
|
|
861
|
+
/**
|
|
862
|
+
* @type string
|
|
863
|
+
*/
|
|
864
|
+
executionId: string;
|
|
865
|
+
/**
|
|
866
|
+
* @type integer
|
|
867
|
+
*/
|
|
868
|
+
eventId?: number;
|
|
869
|
+
/**
|
|
870
|
+
* @type string
|
|
871
|
+
*/
|
|
872
|
+
approvalId: string;
|
|
873
|
+
actionType: ApprovalActionTypeDTO;
|
|
874
|
+
/**
|
|
875
|
+
* @type string
|
|
876
|
+
*/
|
|
877
|
+
resourceType: string;
|
|
878
|
+
/**
|
|
879
|
+
* @type string
|
|
880
|
+
*/
|
|
881
|
+
summary: string;
|
|
882
|
+
/**
|
|
883
|
+
* @type object
|
|
884
|
+
*/
|
|
885
|
+
diff?: ApprovalEventDTODiff;
|
|
886
|
+
}
|
|
887
|
+
export type ClarificationFieldEventDTOOptions = string[] | null;
|
|
888
|
+
export type ClarificationFieldEventDTODefault = string | string[] | null;
|
|
889
|
+
export interface ClarificationFieldEventDTO {
|
|
890
|
+
/**
|
|
891
|
+
* @type string
|
|
892
|
+
*/
|
|
893
|
+
id: string;
|
|
894
|
+
type: ClarificationFieldTypeDTO;
|
|
895
|
+
/**
|
|
896
|
+
* @type string
|
|
897
|
+
*/
|
|
898
|
+
label: string;
|
|
899
|
+
/**
|
|
900
|
+
* @type boolean
|
|
901
|
+
*/
|
|
902
|
+
required?: boolean;
|
|
903
|
+
options?: ClarificationFieldEventDTOOptions;
|
|
904
|
+
/**
|
|
905
|
+
* @type boolean
|
|
906
|
+
*/
|
|
907
|
+
allowCustom?: boolean;
|
|
908
|
+
default?: ClarificationFieldEventDTODefault;
|
|
909
|
+
}
|
|
910
|
+
export type ClarificationEventDTODiscoveredContextAnyOf = {
|
|
911
|
+
[key: string]: unknown;
|
|
912
|
+
};
|
|
913
|
+
export type ClarificationEventDTODiscoveredContext = ClarificationEventDTODiscoveredContextAnyOf | null;
|
|
914
|
+
export interface ClarificationEventDTO {
|
|
915
|
+
/**
|
|
916
|
+
* @type string
|
|
917
|
+
*/
|
|
918
|
+
type?: string;
|
|
919
|
+
/**
|
|
920
|
+
* @type string
|
|
921
|
+
*/
|
|
922
|
+
executionId: string;
|
|
923
|
+
/**
|
|
924
|
+
* @type integer
|
|
925
|
+
*/
|
|
926
|
+
eventId?: number;
|
|
927
|
+
/**
|
|
928
|
+
* @type string
|
|
929
|
+
*/
|
|
930
|
+
clarificationId: string;
|
|
931
|
+
/**
|
|
932
|
+
* @type string
|
|
933
|
+
*/
|
|
934
|
+
message: string;
|
|
935
|
+
discoveredContext?: ClarificationEventDTODiscoveredContext;
|
|
936
|
+
/**
|
|
937
|
+
* @type array
|
|
938
|
+
*/
|
|
939
|
+
fields?: ClarificationFieldEventDTO[];
|
|
940
|
+
}
|
|
941
|
+
export interface ConversationEventDTO {
|
|
942
|
+
/**
|
|
943
|
+
* @type string
|
|
944
|
+
*/
|
|
945
|
+
type?: string;
|
|
946
|
+
/**
|
|
947
|
+
* @type string
|
|
948
|
+
*/
|
|
949
|
+
threadId: string;
|
|
950
|
+
/**
|
|
951
|
+
* @type string
|
|
952
|
+
*/
|
|
953
|
+
title: string;
|
|
954
|
+
}
|
|
955
|
+
export interface DoneEventDTO {
|
|
956
|
+
/**
|
|
957
|
+
* @type string
|
|
958
|
+
*/
|
|
959
|
+
type?: string;
|
|
960
|
+
/**
|
|
961
|
+
* @type string
|
|
962
|
+
*/
|
|
963
|
+
executionId: string;
|
|
964
|
+
/**
|
|
965
|
+
* @type integer
|
|
966
|
+
*/
|
|
967
|
+
eventId?: number;
|
|
968
|
+
/**
|
|
969
|
+
* @type integer
|
|
970
|
+
*/
|
|
971
|
+
tokenInput: number;
|
|
972
|
+
/**
|
|
973
|
+
* @type integer
|
|
974
|
+
*/
|
|
975
|
+
tokenOutput: number;
|
|
976
|
+
/**
|
|
977
|
+
* @type integer
|
|
978
|
+
*/
|
|
979
|
+
latencyMs: number;
|
|
980
|
+
}
|
|
981
|
+
export declare enum RetryActionDTO {
|
|
982
|
+
auto = "auto",
|
|
983
|
+
manual = "manual",
|
|
984
|
+
none = "none"
|
|
985
|
+
}
|
|
986
|
+
export interface ErrorEventDTO {
|
|
987
|
+
/**
|
|
988
|
+
* @type string
|
|
989
|
+
*/
|
|
990
|
+
type?: string;
|
|
991
|
+
/**
|
|
992
|
+
* @type string
|
|
993
|
+
*/
|
|
994
|
+
executionId: string;
|
|
995
|
+
/**
|
|
996
|
+
* @type integer
|
|
997
|
+
*/
|
|
998
|
+
eventId?: number;
|
|
999
|
+
error: ErrorBodyDTO;
|
|
1000
|
+
retryAction?: RetryActionDTO;
|
|
1001
|
+
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Per-connection SSE keep-alive emitted every `sse_heartbeat_interval_seconds`.
|
|
1004
|
+
*
|
|
1005
|
+
* Carries no `executionId` and no `eventId` — heartbeats are wire-level
|
|
1006
|
+
* keep-alives, not part of the replayable event log.
|
|
1007
|
+
*/
|
|
1008
|
+
export declare const HeartbeatEventDTOValue: {
|
|
1009
|
+
/**
|
|
1010
|
+
* @type string
|
|
1011
|
+
*/
|
|
1012
|
+
readonly type: "heartbeat";
|
|
1013
|
+
};
|
|
1014
|
+
export type HeartbeatEventDTO = typeof HeartbeatEventDTOValue;
|
|
1015
|
+
export type MessageActionEventDTOActionMetadataId = string | null;
|
|
1016
|
+
export type MessageActionEventDTOResourceType = string | null;
|
|
1017
|
+
export type MessageActionEventDTOResourceId = string | null;
|
|
1018
|
+
export type MessageActionEventDTOState = string | null;
|
|
1019
|
+
export type MessageActionEventDTOInputAnyOf = {
|
|
1020
|
+
[key: string]: unknown;
|
|
1021
|
+
};
|
|
1022
|
+
export type MessageActionEventDTOInput = MessageActionEventDTOInputAnyOf | null;
|
|
1023
|
+
export type MessageActionEventDTOTooltip = string | null;
|
|
1024
|
+
export type MessageActionEventDTOSignal = ApplyFilterSignalDTO | null;
|
|
1025
|
+
export type MessageActionEventDTOQueryAnyOf = {
|
|
1026
|
+
[key: string]: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
export type MessageActionEventDTOQuery = MessageActionEventDTOQueryAnyOf | null;
|
|
1029
|
+
export type MessageActionEventDTOUrl = string | null;
|
|
1030
|
+
export type MessageActionEventDTOEntity = SavedViewEntityDTO | null;
|
|
1031
|
+
/**
|
|
1032
|
+
* Assistant action. Kind-specific requirements: rollback actions require actionMetadataId/resourceType/resourceId; follow_up requires input.intent and returns the same text in tooltip; open_resource requires resourceType/resourceId; apply_filter requires signal and query; open_docs requires a SigNoz docs url. open_resource for a saved view also carries entity (logs/traces/metrics/meter): the Explorer the view belongs to.
|
|
1033
|
+
*/
|
|
1034
|
+
export interface MessageActionEventDTO {
|
|
1035
|
+
kind: MessageActionKindDTO;
|
|
1036
|
+
/**
|
|
1037
|
+
* @type string
|
|
1038
|
+
*/
|
|
1039
|
+
label: string;
|
|
1040
|
+
actionMetadataId?: MessageActionEventDTOActionMetadataId;
|
|
1041
|
+
resourceType?: MessageActionEventDTOResourceType;
|
|
1042
|
+
resourceId?: MessageActionEventDTOResourceId;
|
|
1043
|
+
state?: MessageActionEventDTOState;
|
|
1044
|
+
input?: MessageActionEventDTOInput;
|
|
1045
|
+
tooltip?: MessageActionEventDTOTooltip;
|
|
1046
|
+
signal?: MessageActionEventDTOSignal;
|
|
1047
|
+
query?: MessageActionEventDTOQuery;
|
|
1048
|
+
url?: MessageActionEventDTOUrl;
|
|
1049
|
+
entity?: MessageActionEventDTOEntity;
|
|
1050
|
+
}
|
|
1051
|
+
export type MessageEventDTOActions = MessageActionEventDTO[] | null;
|
|
1052
|
+
export interface MessageEventDTO {
|
|
1053
|
+
/**
|
|
1054
|
+
* @type string
|
|
1055
|
+
*/
|
|
1056
|
+
type?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* @type string
|
|
1059
|
+
*/
|
|
1060
|
+
executionId: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* @type integer
|
|
1063
|
+
*/
|
|
1064
|
+
eventId?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* @type string
|
|
1067
|
+
*/
|
|
1068
|
+
messageId: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* @type string
|
|
1071
|
+
*/
|
|
1072
|
+
delta: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* @type boolean
|
|
1075
|
+
*/
|
|
1076
|
+
done?: boolean;
|
|
1077
|
+
actions?: MessageEventDTOActions;
|
|
1078
|
+
}
|
|
1079
|
+
export interface StatusEventDTO {
|
|
1080
|
+
/**
|
|
1081
|
+
* @type string
|
|
1082
|
+
*/
|
|
1083
|
+
type?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* @type string
|
|
1086
|
+
*/
|
|
1087
|
+
executionId: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* @type integer
|
|
1090
|
+
*/
|
|
1091
|
+
eventId?: number;
|
|
1092
|
+
state: ExecutionStateDTO;
|
|
1093
|
+
}
|
|
1094
|
+
export interface ThinkingEventDTO {
|
|
1095
|
+
/**
|
|
1096
|
+
* @type string
|
|
1097
|
+
*/
|
|
1098
|
+
type?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* @type string
|
|
1101
|
+
*/
|
|
1102
|
+
executionId: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* @type integer
|
|
1105
|
+
*/
|
|
1106
|
+
eventId?: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* @type string
|
|
1109
|
+
*/
|
|
1110
|
+
content: string;
|
|
1111
|
+
}
|
|
1112
|
+
export type ToolCallEventDTOMessageId = string | null;
|
|
1113
|
+
export type ToolCallEventDTOToolCallId = string | null;
|
|
1114
|
+
export type ToolCallEventDTOToolInput = {
|
|
1115
|
+
[key: string]: unknown;
|
|
1116
|
+
};
|
|
1117
|
+
export type ToolCallEventDTODisplayText = string | null;
|
|
1118
|
+
export type ToolCallEventDTOIconKey = string | null;
|
|
1119
|
+
export interface ToolCallEventDTO {
|
|
1120
|
+
/**
|
|
1121
|
+
* @type string
|
|
1122
|
+
*/
|
|
1123
|
+
type?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* @type string
|
|
1126
|
+
*/
|
|
1127
|
+
executionId: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* @type integer
|
|
1130
|
+
*/
|
|
1131
|
+
eventId?: number;
|
|
1132
|
+
messageId?: ToolCallEventDTOMessageId;
|
|
1133
|
+
toolCallId?: ToolCallEventDTOToolCallId;
|
|
1134
|
+
/**
|
|
1135
|
+
* @type string
|
|
1136
|
+
*/
|
|
1137
|
+
toolName: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* @type object
|
|
1140
|
+
*/
|
|
1141
|
+
toolInput: ToolCallEventDTOToolInput;
|
|
1142
|
+
displayText?: ToolCallEventDTODisplayText;
|
|
1143
|
+
iconKey?: ToolCallEventDTOIconKey;
|
|
1144
|
+
}
|
|
1145
|
+
export type ToolResultEventDTOMessageId = string | null;
|
|
1146
|
+
export type ToolResultEventDTOToolCallId = string | null;
|
|
1147
|
+
export type ToolResultEventDTOResult = {
|
|
1148
|
+
[key: string]: unknown;
|
|
1149
|
+
};
|
|
1150
|
+
export type ToolResultEventDTODisplayText = string | null;
|
|
1151
|
+
export type ToolResultEventDTOIconKey = string | null;
|
|
1152
|
+
export interface ToolResultEventDTO {
|
|
1153
|
+
/**
|
|
1154
|
+
* @type string
|
|
1155
|
+
*/
|
|
1156
|
+
type?: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* @type string
|
|
1159
|
+
*/
|
|
1160
|
+
executionId: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* @type integer
|
|
1163
|
+
*/
|
|
1164
|
+
eventId?: number;
|
|
1165
|
+
messageId?: ToolResultEventDTOMessageId;
|
|
1166
|
+
toolCallId?: ToolResultEventDTOToolCallId;
|
|
1167
|
+
/**
|
|
1168
|
+
* @type boolean
|
|
1169
|
+
*/
|
|
1170
|
+
success?: boolean;
|
|
1171
|
+
/**
|
|
1172
|
+
* @type string
|
|
1173
|
+
*/
|
|
1174
|
+
toolName: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* @type object
|
|
1177
|
+
*/
|
|
1178
|
+
result: ToolResultEventDTOResult;
|
|
1179
|
+
displayText?: ToolResultEventDTODisplayText;
|
|
1180
|
+
iconKey?: ToolResultEventDTOIconKey;
|
|
1181
|
+
}
|
|
1182
|
+
export interface UserMessageEventDTO {
|
|
1183
|
+
/**
|
|
1184
|
+
* @type string
|
|
1185
|
+
*/
|
|
1186
|
+
type?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* @type string
|
|
1189
|
+
*/
|
|
1190
|
+
executionId: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* @type integer
|
|
1193
|
+
*/
|
|
1194
|
+
eventId?: number;
|
|
1195
|
+
message: MessageSummaryDTO;
|
|
1196
|
+
}
|
|
1197
|
+
export type CreateThreadApiV1AssistantThreadsPostHeaders = {
|
|
1198
|
+
/**
|
|
1199
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1200
|
+
*/
|
|
1201
|
+
authorization?: string | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1204
|
+
*/
|
|
1205
|
+
'X-SigNoz-URL'?: string | null;
|
|
1206
|
+
};
|
|
1207
|
+
export type CreateThreadApiV1AssistantThreadsPostBody = CreateThreadRequestDTO | null;
|
|
1208
|
+
export type ListThreadsApiV1AssistantThreadsGetParams = {
|
|
1209
|
+
/**
|
|
1210
|
+
* @enum true,false,all
|
|
1211
|
+
* @type string
|
|
1212
|
+
* @description Filter: true, false, or all
|
|
1213
|
+
*/
|
|
1214
|
+
archived?: ListThreadsApiV1AssistantThreadsGetArchived;
|
|
1215
|
+
/**
|
|
1216
|
+
* @type integer
|
|
1217
|
+
* @maximum 50
|
|
1218
|
+
* @minimum 1
|
|
1219
|
+
* @description undefined
|
|
1220
|
+
*/
|
|
1221
|
+
limit?: number;
|
|
1222
|
+
/**
|
|
1223
|
+
* @description Opaque cursor from previous response's nextCursor
|
|
1224
|
+
*/
|
|
1225
|
+
cursor?: string | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* @type string
|
|
1228
|
+
* @description Sort order. V1: updated_desc only
|
|
1229
|
+
*/
|
|
1230
|
+
sort?: 'updated_desc';
|
|
1231
|
+
};
|
|
1232
|
+
export declare enum ListThreadsApiV1AssistantThreadsGetArchived {
|
|
1233
|
+
true = "true",
|
|
1234
|
+
false = "false",
|
|
1235
|
+
all = "all"
|
|
1236
|
+
}
|
|
1237
|
+
export type ListThreadsApiV1AssistantThreadsGetHeaders = {
|
|
1238
|
+
/**
|
|
1239
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1240
|
+
*/
|
|
1241
|
+
authorization?: string | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1244
|
+
*/
|
|
1245
|
+
'X-SigNoz-URL'?: string | null;
|
|
1246
|
+
};
|
|
1247
|
+
export type GetThreadApiV1AssistantThreadsThreadIdGetPathParameters = {
|
|
1248
|
+
threadId: string;
|
|
1249
|
+
};
|
|
1250
|
+
export type GetThreadApiV1AssistantThreadsThreadIdGetHeaders = {
|
|
1251
|
+
/**
|
|
1252
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1253
|
+
*/
|
|
1254
|
+
authorization?: string | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1257
|
+
*/
|
|
1258
|
+
'X-SigNoz-URL'?: string | null;
|
|
1259
|
+
};
|
|
1260
|
+
export type UpdateThreadApiV1AssistantThreadsThreadIdPatchPathParameters = {
|
|
1261
|
+
threadId: string;
|
|
1262
|
+
};
|
|
1263
|
+
export type UpdateThreadApiV1AssistantThreadsThreadIdPatchHeaders = {
|
|
1264
|
+
/**
|
|
1265
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1266
|
+
*/
|
|
1267
|
+
authorization?: string | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1270
|
+
*/
|
|
1271
|
+
'X-SigNoz-URL'?: string | null;
|
|
1272
|
+
};
|
|
1273
|
+
export type CreateMessageApiV1AssistantThreadsThreadIdMessagesPostPathParameters = {
|
|
1274
|
+
threadId: string;
|
|
1275
|
+
};
|
|
1276
|
+
export type CreateMessageApiV1AssistantThreadsThreadIdMessagesPostHeaders = {
|
|
1277
|
+
/**
|
|
1278
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1279
|
+
*/
|
|
1280
|
+
authorization?: string | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1283
|
+
*/
|
|
1284
|
+
'X-SigNoz-URL'?: string | null;
|
|
1285
|
+
};
|
|
1286
|
+
export type RegenerateMessageApiV1AssistantMessagesMessageIdRegeneratePostPathParameters = {
|
|
1287
|
+
messageId: string;
|
|
1288
|
+
};
|
|
1289
|
+
export type RegenerateMessageApiV1AssistantMessagesMessageIdRegeneratePostHeaders = {
|
|
1290
|
+
/**
|
|
1291
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1292
|
+
*/
|
|
1293
|
+
authorization?: string | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1296
|
+
*/
|
|
1297
|
+
'X-SigNoz-URL'?: string | null;
|
|
1298
|
+
};
|
|
1299
|
+
export type ApproveApiV1AssistantApprovePostHeaders = {
|
|
1300
|
+
/**
|
|
1301
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1302
|
+
*/
|
|
1303
|
+
authorization?: string | null;
|
|
1304
|
+
/**
|
|
1305
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1306
|
+
*/
|
|
1307
|
+
'X-SigNoz-URL'?: string | null;
|
|
1308
|
+
};
|
|
1309
|
+
export type RejectApiV1AssistantRejectPostHeaders = {
|
|
1310
|
+
/**
|
|
1311
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1312
|
+
*/
|
|
1313
|
+
authorization?: string | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1316
|
+
*/
|
|
1317
|
+
'X-SigNoz-URL'?: string | null;
|
|
1318
|
+
};
|
|
1319
|
+
export type ClarifyApiV1AssistantClarifyPostHeaders = {
|
|
1320
|
+
/**
|
|
1321
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1322
|
+
*/
|
|
1323
|
+
authorization?: string | null;
|
|
1324
|
+
/**
|
|
1325
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1326
|
+
*/
|
|
1327
|
+
'X-SigNoz-URL'?: string | null;
|
|
1328
|
+
};
|
|
1329
|
+
export type CancelApiV1AssistantCancelPostHeaders = {
|
|
1330
|
+
/**
|
|
1331
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1332
|
+
*/
|
|
1333
|
+
authorization?: string | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1336
|
+
*/
|
|
1337
|
+
'X-SigNoz-URL'?: string | null;
|
|
1338
|
+
};
|
|
1339
|
+
export type UndoApiV1AssistantUndoPostHeaders = {
|
|
1340
|
+
/**
|
|
1341
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1342
|
+
*/
|
|
1343
|
+
authorization?: string | null;
|
|
1344
|
+
/**
|
|
1345
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1346
|
+
*/
|
|
1347
|
+
'X-SigNoz-URL'?: string | null;
|
|
1348
|
+
};
|
|
1349
|
+
export type RevertApiV1AssistantRevertPostHeaders = {
|
|
1350
|
+
/**
|
|
1351
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1352
|
+
*/
|
|
1353
|
+
authorization?: string | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1356
|
+
*/
|
|
1357
|
+
'X-SigNoz-URL'?: string | null;
|
|
1358
|
+
};
|
|
1359
|
+
export type RestoreApiV1AssistantRestorePostHeaders = {
|
|
1360
|
+
/**
|
|
1361
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1362
|
+
*/
|
|
1363
|
+
authorization?: string | null;
|
|
1364
|
+
/**
|
|
1365
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1366
|
+
*/
|
|
1367
|
+
'X-SigNoz-URL'?: string | null;
|
|
1368
|
+
};
|
|
1369
|
+
export type SubmitFeedbackApiV1AssistantMessagesMessageIdFeedbackPostPathParameters = {
|
|
1370
|
+
messageId: string;
|
|
1371
|
+
};
|
|
1372
|
+
export type SubmitFeedbackApiV1AssistantMessagesMessageIdFeedbackPostHeaders = {
|
|
1373
|
+
/**
|
|
1374
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1375
|
+
*/
|
|
1376
|
+
authorization?: string | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1379
|
+
*/
|
|
1380
|
+
'X-SigNoz-URL'?: string | null;
|
|
1381
|
+
};
|
|
1382
|
+
export type GetUsageApiV1AssistantUsageGetHeaders = {
|
|
1383
|
+
/**
|
|
1384
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1385
|
+
*/
|
|
1386
|
+
authorization?: string | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1389
|
+
*/
|
|
1390
|
+
'X-SigNoz-URL'?: string | null;
|
|
1391
|
+
};
|
|
1392
|
+
export type GetChipsApiV1AssistantEmptyStateChipsGetParams = {
|
|
1393
|
+
/**
|
|
1394
|
+
* @description Frontend-declared page type. Typed as an enum, but unrecognized values are coerced to 'other' (not rejected) so a new frontend page type works before the backend knows it. The page type alone identifies the focused entity (e.g. trace_detail) for page-focused chips; the agent reads the concrete entity from page context once a chip is clicked, so no separate entity id is needed.
|
|
1395
|
+
*/
|
|
1396
|
+
page_type: PageTypeDTO;
|
|
1397
|
+
};
|
|
1398
|
+
export type GetChipsApiV1AssistantEmptyStateChipsGetHeaders = {
|
|
1399
|
+
/**
|
|
1400
|
+
* @description SigNoz auth token (Bearer or raw JWT)
|
|
1401
|
+
*/
|
|
1402
|
+
authorization?: string | null;
|
|
1403
|
+
/**
|
|
1404
|
+
* @description SigNoz instance base URL for multi-tenant deployments. Falls back to SIGNOZ_API_URL env var when omitted.
|
|
1405
|
+
*/
|
|
1406
|
+
'X-SigNoz-URL'?: string | null;
|
|
1407
|
+
};
|