@rustrak/client 0.18.0 → 0.19.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 +312 -123
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/client.cjs +86 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +18 -0
- package/dist/client.d.cts.map +1 -0
- package/dist/client.d.mts +18 -0
- package/dist/client.d.mts.map +1 -0
- package/dist/client.mjs +86 -0
- package/dist/client.mjs.map +1 -0
- package/dist/config.d.cts +10 -0
- package/dist/config.d.cts.map +1 -0
- package/dist/config.d.mts +10 -0
- package/dist/config.d.mts.map +1 -0
- package/dist/errors.cjs +52 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.cts +77 -0
- package/dist/errors.d.cts.map +1 -0
- package/dist/errors.d.mts +77 -0
- package/dist/errors.d.mts.map +1 -0
- package/dist/errors.mjs +48 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/generated/client/client.gen.cjs +174 -0
- package/dist/generated/client/client.gen.cjs.map +1 -0
- package/dist/generated/client/client.gen.mjs +174 -0
- package/dist/generated/client/client.gen.mjs.map +1 -0
- package/dist/generated/client/types.gen.d.cts +71 -0
- package/dist/generated/client/types.gen.d.cts.map +1 -0
- package/dist/generated/client/types.gen.d.mts +71 -0
- package/dist/generated/client/types.gen.d.mts.map +1 -0
- package/dist/generated/client/utils.gen.cjs +184 -0
- package/dist/generated/client/utils.gen.cjs.map +1 -0
- package/dist/generated/client/utils.gen.d.cts +21 -0
- package/dist/generated/client/utils.gen.d.cts.map +1 -0
- package/dist/generated/client/utils.gen.d.mts +21 -0
- package/dist/generated/client/utils.gen.d.mts.map +1 -0
- package/dist/generated/client/utils.gen.mjs +177 -0
- package/dist/generated/client/utils.gen.mjs.map +1 -0
- package/dist/generated/client.gen.cjs +7 -0
- package/dist/generated/client.gen.cjs.map +1 -0
- package/dist/generated/client.gen.mjs +8 -0
- package/dist/generated/client.gen.mjs.map +1 -0
- package/dist/generated/core/auth.gen.cjs +12 -0
- package/dist/generated/core/auth.gen.cjs.map +1 -0
- package/dist/generated/core/auth.gen.d.cts +11 -0
- package/dist/generated/core/auth.gen.d.cts.map +1 -0
- package/dist/generated/core/auth.gen.d.mts +11 -0
- package/dist/generated/core/auth.gen.d.mts.map +1 -0
- package/dist/generated/core/auth.gen.mjs +12 -0
- package/dist/generated/core/auth.gen.mjs.map +1 -0
- package/dist/generated/core/bodySerializer.gen.cjs +21 -0
- package/dist/generated/core/bodySerializer.gen.cjs.map +1 -0
- package/dist/generated/core/bodySerializer.gen.d.cts +15 -0
- package/dist/generated/core/bodySerializer.gen.d.cts.map +1 -0
- package/dist/generated/core/bodySerializer.gen.d.mts +15 -0
- package/dist/generated/core/bodySerializer.gen.d.mts.map +1 -0
- package/dist/generated/core/bodySerializer.gen.mjs +20 -0
- package/dist/generated/core/bodySerializer.gen.mjs.map +1 -0
- package/dist/generated/core/pathSerializer.gen.cjs +87 -0
- package/dist/generated/core/pathSerializer.gen.cjs.map +1 -0
- package/dist/generated/core/pathSerializer.gen.d.cts +9 -0
- package/dist/generated/core/pathSerializer.gen.d.cts.map +1 -0
- package/dist/generated/core/pathSerializer.gen.d.mts +9 -0
- package/dist/generated/core/pathSerializer.gen.d.mts.map +1 -0
- package/dist/generated/core/pathSerializer.gen.mjs +82 -0
- package/dist/generated/core/pathSerializer.gen.mjs.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.cjs +96 -0
- package/dist/generated/core/serverSentEvents.gen.cjs.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.d.cts +25 -0
- package/dist/generated/core/serverSentEvents.gen.d.cts.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.d.mts +25 -0
- package/dist/generated/core/serverSentEvents.gen.d.mts.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.mjs +96 -0
- package/dist/generated/core/serverSentEvents.gen.mjs.map +1 -0
- package/dist/generated/core/types.gen.d.cts +27 -0
- package/dist/generated/core/types.gen.d.cts.map +1 -0
- package/dist/generated/core/types.gen.d.mts +27 -0
- package/dist/generated/core/types.gen.d.mts.map +1 -0
- package/dist/generated/core/utils.gen.cjs +81 -0
- package/dist/generated/core/utils.gen.cjs.map +1 -0
- package/dist/generated/core/utils.gen.mjs +78 -0
- package/dist/generated/core/utils.gen.mjs.map +1 -0
- package/dist/generated/sdk.gen.cjs +3138 -0
- package/dist/generated/sdk.gen.cjs.map +1 -0
- package/dist/generated/sdk.gen.d.cts +276 -0
- package/dist/generated/sdk.gen.d.cts.map +1 -0
- package/dist/generated/sdk.gen.d.mts +276 -0
- package/dist/generated/sdk.gen.d.mts.map +1 -0
- package/dist/generated/sdk.gen.mjs +3110 -0
- package/dist/generated/sdk.gen.mjs.map +1 -0
- package/dist/generated/types.gen.d.cts +3679 -0
- package/dist/generated/types.gen.d.cts.map +1 -0
- package/dist/generated/types.gen.d.mts +3679 -0
- package/dist/generated/types.gen.d.mts.map +1 -0
- package/dist/generated/zod.gen.cjs +3076 -0
- package/dist/generated/zod.gen.cjs.map +1 -0
- package/dist/generated/zod.gen.mjs +2618 -0
- package/dist/generated/zod.gen.mjs.map +1 -0
- package/dist/index.cjs +15 -3248
- package/dist/index.d.cts +6 -2037
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +4 -0
- package/dist/result.cjs +59 -0
- package/dist/result.cjs.map +1 -0
- package/dist/result.d.cts +15 -0
- package/dist/result.d.cts.map +1 -0
- package/dist/result.d.mts +15 -0
- package/dist/result.d.mts.map +1 -0
- package/dist/result.mjs +55 -0
- package/dist/result.mjs.map +1 -0
- package/dist/utils/http.cjs +339 -0
- package/dist/utils/http.cjs.map +1 -0
- package/dist/utils/http.mjs +336 -0
- package/dist/utils/http.mjs.map +1 -0
- package/package.json +17 -12
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -2037
- package/dist/index.js +0 -3232
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,3679 @@
|
|
|
1
|
+
//#region src/generated/types.gen.d.ts
|
|
2
|
+
export type ClientOptions = {
|
|
3
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
4
|
+
};
|
|
5
|
+
export type AcceptInvitation = {
|
|
6
|
+
password: string;
|
|
7
|
+
token: string;
|
|
8
|
+
};
|
|
9
|
+
export type ActivityEntry = {
|
|
10
|
+
created_at: string;
|
|
11
|
+
data: string;
|
|
12
|
+
id: string;
|
|
13
|
+
issue_id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
user_id: number | null;
|
|
16
|
+
};
|
|
17
|
+
export type AgentDurationPoint = {
|
|
18
|
+
avg_ms: number;
|
|
19
|
+
bucket: string;
|
|
20
|
+
p95_ms: number;
|
|
21
|
+
};
|
|
22
|
+
export type AgentModelRow = {
|
|
23
|
+
avg_ms: number;
|
|
24
|
+
cached_input_tokens: number;
|
|
25
|
+
errors: number;
|
|
26
|
+
input_tokens: number;
|
|
27
|
+
model: string;
|
|
28
|
+
output_tokens: number;
|
|
29
|
+
p95_ms: number;
|
|
30
|
+
reasoning_output_tokens: number;
|
|
31
|
+
requests: number;
|
|
32
|
+
total_tokens: number;
|
|
33
|
+
};
|
|
34
|
+
export type AgentSummary = {
|
|
35
|
+
agent_runs: number;
|
|
36
|
+
avg_duration_ms: number;
|
|
37
|
+
error_count: number;
|
|
38
|
+
llm_calls: number;
|
|
39
|
+
p95_duration_ms: number;
|
|
40
|
+
tool_calls: number;
|
|
41
|
+
total_tokens: number;
|
|
42
|
+
};
|
|
43
|
+
export type AgentTimeseriesPoint = {
|
|
44
|
+
bucket: string;
|
|
45
|
+
value: number;
|
|
46
|
+
};
|
|
47
|
+
export type AgentToolRow = {
|
|
48
|
+
avg_ms: number;
|
|
49
|
+
calls: number;
|
|
50
|
+
errors: number;
|
|
51
|
+
p95_ms: number;
|
|
52
|
+
tool: string;
|
|
53
|
+
};
|
|
54
|
+
export type AgentTraceSummary = {
|
|
55
|
+
agent_names: Array<string>;
|
|
56
|
+
duration_ms: number | null;
|
|
57
|
+
error_count: number;
|
|
58
|
+
llm_call_count: number;
|
|
59
|
+
started_at: string;
|
|
60
|
+
tool_call_count: number;
|
|
61
|
+
total_tokens: number;
|
|
62
|
+
trace_id: string;
|
|
63
|
+
};
|
|
64
|
+
export type AlertHistory = {
|
|
65
|
+
alert_rule_id: number | null;
|
|
66
|
+
alert_type: string;
|
|
67
|
+
attempt_count: number;
|
|
68
|
+
channel_name: string;
|
|
69
|
+
channel_type: string;
|
|
70
|
+
created_at: string;
|
|
71
|
+
error_message: string | null;
|
|
72
|
+
http_status_code: number | null;
|
|
73
|
+
id: number;
|
|
74
|
+
idempotency_key: string;
|
|
75
|
+
integration_id: number | null;
|
|
76
|
+
issue_id: string | null;
|
|
77
|
+
next_retry_at: string | null;
|
|
78
|
+
project_id: number | null;
|
|
79
|
+
sent_at: string | null;
|
|
80
|
+
status: AlertStatus;
|
|
81
|
+
};
|
|
82
|
+
export type AlertIntegration = {
|
|
83
|
+
created_at: string;
|
|
84
|
+
credentials: {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
failure_count: number;
|
|
88
|
+
id: number;
|
|
89
|
+
is_enabled: boolean;
|
|
90
|
+
last_failure_at: string | null;
|
|
91
|
+
last_failure_message: string | null;
|
|
92
|
+
last_success_at: string | null;
|
|
93
|
+
name: string;
|
|
94
|
+
provider_type: ProviderType;
|
|
95
|
+
updated_at: string;
|
|
96
|
+
};
|
|
97
|
+
export type AlertRuleChannelInput = {
|
|
98
|
+
integration_id: number;
|
|
99
|
+
routing_override?: {
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export type AlertRuleResponse = {
|
|
104
|
+
alert_type: AlertType;
|
|
105
|
+
channels: Array<AlertRuleChannelInput>;
|
|
106
|
+
conditions: {
|
|
107
|
+
[key: string]: unknown;
|
|
108
|
+
};
|
|
109
|
+
cooldown_minutes: number;
|
|
110
|
+
created_at: string;
|
|
111
|
+
id: number;
|
|
112
|
+
integration_ids: Array<number>;
|
|
113
|
+
is_enabled: boolean;
|
|
114
|
+
last_triggered_at: string | null;
|
|
115
|
+
name: string;
|
|
116
|
+
project_id: number;
|
|
117
|
+
updated_at: string;
|
|
118
|
+
};
|
|
119
|
+
export type AlertStatus = 'pending' | 'sent' | 'failed' | 'skipped';
|
|
120
|
+
export type AlertType = 'new_issue' | 'regression' | 'unmute';
|
|
121
|
+
export type AssembleBody = {
|
|
122
|
+
checksum: string;
|
|
123
|
+
chunks: Array<string>;
|
|
124
|
+
projects: Array<string>;
|
|
125
|
+
};
|
|
126
|
+
export type AssembleResponse = {
|
|
127
|
+
detail?: string | null;
|
|
128
|
+
missingChunks: Array<string>;
|
|
129
|
+
state: string;
|
|
130
|
+
};
|
|
131
|
+
export type AuthResponse = {
|
|
132
|
+
user: UserResponse;
|
|
133
|
+
};
|
|
134
|
+
export type AuthTokenCreatedResponse = {
|
|
135
|
+
created_at: string;
|
|
136
|
+
description: string | null;
|
|
137
|
+
id: number;
|
|
138
|
+
token: string;
|
|
139
|
+
};
|
|
140
|
+
export type AuthTokenResponse = {
|
|
141
|
+
created_at: string;
|
|
142
|
+
description: string | null;
|
|
143
|
+
id: number;
|
|
144
|
+
last_used_at: string | null;
|
|
145
|
+
token_prefix: string;
|
|
146
|
+
};
|
|
147
|
+
export type AuthorizationDecision = AuthorizationRequest & {
|
|
148
|
+
approve: boolean;
|
|
149
|
+
};
|
|
150
|
+
export type AuthorizationInfo = {
|
|
151
|
+
client_id: string;
|
|
152
|
+
client_name: string;
|
|
153
|
+
redirect_host: string;
|
|
154
|
+
};
|
|
155
|
+
export type AuthorizationRedirect = {
|
|
156
|
+
redirect_to: string;
|
|
157
|
+
};
|
|
158
|
+
export type AuthorizationRequest = {
|
|
159
|
+
client_id: string;
|
|
160
|
+
code_challenge: string;
|
|
161
|
+
code_challenge_method: string;
|
|
162
|
+
redirect_uri: string;
|
|
163
|
+
resource?: string | null;
|
|
164
|
+
response_type: string;
|
|
165
|
+
state?: string | null;
|
|
166
|
+
};
|
|
167
|
+
export type BookmarkResponse = {
|
|
168
|
+
is_bookmarked: boolean;
|
|
169
|
+
};
|
|
170
|
+
export type BulkDeleteIssues = {
|
|
171
|
+
ids: Array<string>;
|
|
172
|
+
} | {
|
|
173
|
+
filter: IssueFilter;
|
|
174
|
+
};
|
|
175
|
+
export type BulkDeleteResponse = {
|
|
176
|
+
deleted: number;
|
|
177
|
+
};
|
|
178
|
+
export type BulkUpdateIssues = {
|
|
179
|
+
ids: Array<string>;
|
|
180
|
+
priority?: IssuePriority | null;
|
|
181
|
+
status?: IssueStatusUpdate | null;
|
|
182
|
+
};
|
|
183
|
+
export type BulkUpdateResponse = {
|
|
184
|
+
updated: number;
|
|
185
|
+
};
|
|
186
|
+
export type ChangePasswordRequest = {
|
|
187
|
+
current_password: string;
|
|
188
|
+
new_password: string;
|
|
189
|
+
};
|
|
190
|
+
export type CheckInResponse = {
|
|
191
|
+
date_added: string;
|
|
192
|
+
date_updated: string;
|
|
193
|
+
duration_ms: number | null;
|
|
194
|
+
environment: string;
|
|
195
|
+
expected_time: string | null;
|
|
196
|
+
id: string;
|
|
197
|
+
status: CheckInStatus;
|
|
198
|
+
};
|
|
199
|
+
export type CheckInStatus = 'ok' | 'error' | 'in_progress' | 'missed' | 'timeout' | 'unknown';
|
|
200
|
+
export type ChunkUploadBody = {
|
|
201
|
+
[key: string]: unknown;
|
|
202
|
+
};
|
|
203
|
+
export type ChunkUploadOptions = {
|
|
204
|
+
accept: Array<string>;
|
|
205
|
+
chunkSize: number;
|
|
206
|
+
chunksPerRequest: number;
|
|
207
|
+
compression: Array<string>;
|
|
208
|
+
concurrency: number;
|
|
209
|
+
hashAlgorithm: string;
|
|
210
|
+
maxRequestSize: number;
|
|
211
|
+
url: string;
|
|
212
|
+
};
|
|
213
|
+
export type CleanupCounts = {
|
|
214
|
+
events: number;
|
|
215
|
+
issues_removed: number;
|
|
216
|
+
logs: number;
|
|
217
|
+
source_maps: number;
|
|
218
|
+
spans: number;
|
|
219
|
+
transactions: number;
|
|
220
|
+
};
|
|
221
|
+
export type CleanupFrequency = 'daily' | 'weekly';
|
|
222
|
+
export type CleanupRequest = {
|
|
223
|
+
include_events?: boolean;
|
|
224
|
+
include_logs?: boolean;
|
|
225
|
+
include_transactions?: boolean;
|
|
226
|
+
older_than_days: number;
|
|
227
|
+
project_id?: number | null;
|
|
228
|
+
};
|
|
229
|
+
export type CleanupState = 'idle' | 'running' | 'completed' | 'failed';
|
|
230
|
+
export type CleanupStatus = {
|
|
231
|
+
error: string | null;
|
|
232
|
+
finished_at: string | null;
|
|
233
|
+
removed: CleanupCounts;
|
|
234
|
+
started_at: string | null;
|
|
235
|
+
state: CleanupState;
|
|
236
|
+
};
|
|
237
|
+
export type CodeMapping = {
|
|
238
|
+
source_root: string;
|
|
239
|
+
stack_root: string;
|
|
240
|
+
};
|
|
241
|
+
export type CommentRequest = {
|
|
242
|
+
text: string;
|
|
243
|
+
};
|
|
244
|
+
export type ConfirmSsoLinkRequest = {
|
|
245
|
+
password: string;
|
|
246
|
+
};
|
|
247
|
+
export type CreateAlertIntegration = {
|
|
248
|
+
credentials: {
|
|
249
|
+
[key: string]: unknown;
|
|
250
|
+
};
|
|
251
|
+
is_enabled?: boolean;
|
|
252
|
+
name: string;
|
|
253
|
+
provider_type: ProviderType;
|
|
254
|
+
};
|
|
255
|
+
export type CreateAlertRule = {
|
|
256
|
+
alert_type: AlertType;
|
|
257
|
+
channels?: Array<AlertRuleChannelInput>;
|
|
258
|
+
conditions?: {
|
|
259
|
+
[key: string]: unknown;
|
|
260
|
+
};
|
|
261
|
+
cooldown_minutes?: number;
|
|
262
|
+
name: string;
|
|
263
|
+
};
|
|
264
|
+
export type CreateAuthToken = {
|
|
265
|
+
description?: string | null;
|
|
266
|
+
};
|
|
267
|
+
export type CreateGitHubIssue = {
|
|
268
|
+
body?: string | null;
|
|
269
|
+
title?: string | null;
|
|
270
|
+
};
|
|
271
|
+
export type CreateInvitation = {
|
|
272
|
+
email: string;
|
|
273
|
+
role: UserRole;
|
|
274
|
+
};
|
|
275
|
+
export type CreateMonitor = {
|
|
276
|
+
config: MonitorConfigInput;
|
|
277
|
+
name: string;
|
|
278
|
+
slug?: string | null;
|
|
279
|
+
};
|
|
280
|
+
export type CreateProject = {
|
|
281
|
+
name: string;
|
|
282
|
+
platform?: string | null;
|
|
283
|
+
slug?: string | null;
|
|
284
|
+
};
|
|
285
|
+
export type CreateRelease = {
|
|
286
|
+
ref?: string | null;
|
|
287
|
+
url?: string | null;
|
|
288
|
+
version: string;
|
|
289
|
+
};
|
|
290
|
+
export type CreateUserRequest = {
|
|
291
|
+
email: string;
|
|
292
|
+
password: string;
|
|
293
|
+
};
|
|
294
|
+
export type ErrorDetail = {
|
|
295
|
+
fields?: Array<FieldError>;
|
|
296
|
+
incident_id?: string;
|
|
297
|
+
message: string;
|
|
298
|
+
type: string;
|
|
299
|
+
};
|
|
300
|
+
export type ErrorResponse = {
|
|
301
|
+
error: ErrorDetail;
|
|
302
|
+
};
|
|
303
|
+
export type EventDetailResponse = {
|
|
304
|
+
data: {
|
|
305
|
+
[key: string]: unknown;
|
|
306
|
+
};
|
|
307
|
+
environment: string;
|
|
308
|
+
event_id: string;
|
|
309
|
+
event_type: string;
|
|
310
|
+
id: string;
|
|
311
|
+
ingested_at: string;
|
|
312
|
+
issue_id: string | null;
|
|
313
|
+
level: string;
|
|
314
|
+
platform: string;
|
|
315
|
+
release: string;
|
|
316
|
+
sdk_name: string;
|
|
317
|
+
sdk_version: string;
|
|
318
|
+
server_name: string;
|
|
319
|
+
timestamp: string;
|
|
320
|
+
title: string;
|
|
321
|
+
};
|
|
322
|
+
export type EventResponse = {
|
|
323
|
+
environment: string;
|
|
324
|
+
event_id: string;
|
|
325
|
+
event_type: string;
|
|
326
|
+
id: string;
|
|
327
|
+
issue_id: string | null;
|
|
328
|
+
level: string;
|
|
329
|
+
platform: string;
|
|
330
|
+
release: string;
|
|
331
|
+
timestamp: string;
|
|
332
|
+
title: string;
|
|
333
|
+
};
|
|
334
|
+
export type EventTimeseriesPoint = {
|
|
335
|
+
bucket: string;
|
|
336
|
+
error: number;
|
|
337
|
+
fatal: number;
|
|
338
|
+
info: number;
|
|
339
|
+
total: number;
|
|
340
|
+
warning: number;
|
|
341
|
+
};
|
|
342
|
+
export type FieldError = {
|
|
343
|
+
code: FieldErrorCode;
|
|
344
|
+
field: string;
|
|
345
|
+
message?: string;
|
|
346
|
+
};
|
|
347
|
+
export type FieldErrorCode = 'required' | 'invalid' | 'already_exists' | 'too_short' | 'too_long' | 'custom';
|
|
348
|
+
export type GenAiBreakdownRow = {
|
|
349
|
+
label: string;
|
|
350
|
+
value: number;
|
|
351
|
+
};
|
|
352
|
+
export type GitHubAppInfo = {
|
|
353
|
+
app_id: number;
|
|
354
|
+
created_at: string;
|
|
355
|
+
html_url: string;
|
|
356
|
+
install_url: string;
|
|
357
|
+
last_webhook_at: string | null;
|
|
358
|
+
owner_login: string;
|
|
359
|
+
slug: string;
|
|
360
|
+
};
|
|
361
|
+
export type GitHubInstallation = {
|
|
362
|
+
account_login: string;
|
|
363
|
+
account_type: string;
|
|
364
|
+
created_at: string;
|
|
365
|
+
id: number;
|
|
366
|
+
suspended: boolean;
|
|
367
|
+
};
|
|
368
|
+
export type GitHubLogin = {
|
|
369
|
+
login: string | null;
|
|
370
|
+
};
|
|
371
|
+
export type GitHubRepository = {
|
|
372
|
+
default_branch: string;
|
|
373
|
+
full_name: string;
|
|
374
|
+
html_url: string;
|
|
375
|
+
installation_id: number;
|
|
376
|
+
private: boolean;
|
|
377
|
+
};
|
|
378
|
+
export type GitHubStatus = {
|
|
379
|
+
app: GitHubAppInfo | null;
|
|
380
|
+
installations: Array<GitHubInstallation>;
|
|
381
|
+
webhook_url: string;
|
|
382
|
+
};
|
|
383
|
+
export type Grouping = {
|
|
384
|
+
created_at: string;
|
|
385
|
+
grouping_key: string;
|
|
386
|
+
grouping_key_hash: string;
|
|
387
|
+
id: number;
|
|
388
|
+
issue_id: string;
|
|
389
|
+
project_id: number;
|
|
390
|
+
};
|
|
391
|
+
export type IntervalUnit = 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';
|
|
392
|
+
export type InvitationInfoResponse = {
|
|
393
|
+
email: string;
|
|
394
|
+
expires_at: string;
|
|
395
|
+
role: UserRole;
|
|
396
|
+
status: string;
|
|
397
|
+
};
|
|
398
|
+
export type InvitationResponse = {
|
|
399
|
+
created_at: string;
|
|
400
|
+
email: string;
|
|
401
|
+
expires_at: string;
|
|
402
|
+
role: UserRole;
|
|
403
|
+
status: string;
|
|
404
|
+
token: string;
|
|
405
|
+
};
|
|
406
|
+
export type IssueAggregates = {
|
|
407
|
+
tags: Array<TagSummary>;
|
|
408
|
+
user_count: number;
|
|
409
|
+
};
|
|
410
|
+
export type IssueFilter = 'open' | 'resolved' | 'muted' | 'all';
|
|
411
|
+
export type IssueGitHub = {
|
|
412
|
+
links: Array<IssueLink>;
|
|
413
|
+
owners: Array<string>;
|
|
414
|
+
suspect_commits: Array<RepoCommit>;
|
|
415
|
+
};
|
|
416
|
+
export type IssueLink = {
|
|
417
|
+
created_at: string;
|
|
418
|
+
id: number;
|
|
419
|
+
issue_id: string;
|
|
420
|
+
number: number;
|
|
421
|
+
repo_full_name: string;
|
|
422
|
+
state: string;
|
|
423
|
+
title: string;
|
|
424
|
+
url: string;
|
|
425
|
+
};
|
|
426
|
+
export type IssuePriority = 'low' | 'medium' | 'high';
|
|
427
|
+
export type IssueResponse = {
|
|
428
|
+
assigned_to: number | null;
|
|
429
|
+
assignee_type: string | null;
|
|
430
|
+
culprit: string;
|
|
431
|
+
event_count: number;
|
|
432
|
+
first_release: string;
|
|
433
|
+
first_seen: string;
|
|
434
|
+
has_seen?: boolean | null;
|
|
435
|
+
id: string;
|
|
436
|
+
is_bookmarked?: boolean | null;
|
|
437
|
+
is_muted: boolean;
|
|
438
|
+
is_resolved: boolean;
|
|
439
|
+
is_subscribed?: boolean | null;
|
|
440
|
+
issue_category: string;
|
|
441
|
+
issue_type: string;
|
|
442
|
+
last_release: string;
|
|
443
|
+
last_seen: string;
|
|
444
|
+
level: string | null;
|
|
445
|
+
logger: string;
|
|
446
|
+
platform: string | null;
|
|
447
|
+
priority: IssuePriority | null;
|
|
448
|
+
project_id: number;
|
|
449
|
+
short_id: string;
|
|
450
|
+
status: IssueStatus;
|
|
451
|
+
status_details: {
|
|
452
|
+
[key: string]: unknown;
|
|
453
|
+
};
|
|
454
|
+
substatus: string | null;
|
|
455
|
+
title: string;
|
|
456
|
+
trend?: Array<number> | null;
|
|
457
|
+
user_count?: number | null;
|
|
458
|
+
user_report_count?: number | null;
|
|
459
|
+
value: string;
|
|
460
|
+
};
|
|
461
|
+
export type IssueSort = 'digest_order' | 'last_seen' | 'event_count';
|
|
462
|
+
export type IssueStatsResponse = {
|
|
463
|
+
data: Array<Array<number>>;
|
|
464
|
+
};
|
|
465
|
+
export type IssueStatsWindow = '24h' | '30d';
|
|
466
|
+
export type IssueStatus = 'unresolved' | 'resolved' | 'ignored';
|
|
467
|
+
export type IssueStatusUpdate = 'unresolved' | 'resolved' | 'ignored' | 'resolvedInNextRelease';
|
|
468
|
+
export type IssueTagValue = {
|
|
469
|
+
count: number;
|
|
470
|
+
first_seen: string;
|
|
471
|
+
key: string;
|
|
472
|
+
last_seen: string;
|
|
473
|
+
name: string;
|
|
474
|
+
value: string;
|
|
475
|
+
};
|
|
476
|
+
export type KindAge = {
|
|
477
|
+
counts: Array<number>;
|
|
478
|
+
oldest: string | null;
|
|
479
|
+
};
|
|
480
|
+
export type LinkGitHubIssue = {
|
|
481
|
+
reference: string;
|
|
482
|
+
};
|
|
483
|
+
export type LivenessResponse = {
|
|
484
|
+
status: string;
|
|
485
|
+
};
|
|
486
|
+
export type LogResponse = {
|
|
487
|
+
attributes: {
|
|
488
|
+
[key: string]: unknown;
|
|
489
|
+
};
|
|
490
|
+
body: string;
|
|
491
|
+
id: string;
|
|
492
|
+
ingested_at: string;
|
|
493
|
+
level: string;
|
|
494
|
+
severity_number: number | null;
|
|
495
|
+
span_id: string | null;
|
|
496
|
+
timestamp: string;
|
|
497
|
+
trace_id: string | null;
|
|
498
|
+
};
|
|
499
|
+
export type LoginRequest = {
|
|
500
|
+
email: string;
|
|
501
|
+
password: string;
|
|
502
|
+
};
|
|
503
|
+
export type ManifestRequest = {
|
|
504
|
+
organization?: string | null;
|
|
505
|
+
};
|
|
506
|
+
export type ManifestResponse = {
|
|
507
|
+
action_url: string;
|
|
508
|
+
manifest: string;
|
|
509
|
+
};
|
|
510
|
+
export type McpSettings = {
|
|
511
|
+
enabled: boolean;
|
|
512
|
+
};
|
|
513
|
+
export type McpStatus = {
|
|
514
|
+
enabled: boolean;
|
|
515
|
+
url: string | null;
|
|
516
|
+
};
|
|
517
|
+
export type MetricDelta = {
|
|
518
|
+
current: number;
|
|
519
|
+
previous: number | null;
|
|
520
|
+
};
|
|
521
|
+
export type MonitorConfig = {
|
|
522
|
+
checkin_margin: number;
|
|
523
|
+
failure_issue_threshold: number;
|
|
524
|
+
max_runtime: number;
|
|
525
|
+
recovery_threshold: number;
|
|
526
|
+
schedule: Schedule;
|
|
527
|
+
timezone: string;
|
|
528
|
+
};
|
|
529
|
+
export type MonitorConfigInput = {
|
|
530
|
+
checkin_margin?: number | null;
|
|
531
|
+
failure_issue_threshold?: number | null;
|
|
532
|
+
max_runtime?: number | null;
|
|
533
|
+
recovery_threshold?: number | null;
|
|
534
|
+
schedule?: Schedule | null;
|
|
535
|
+
timezone?: string | null;
|
|
536
|
+
};
|
|
537
|
+
export type MonitorEnvironmentResponse = {
|
|
538
|
+
environment: string;
|
|
539
|
+
id: string;
|
|
540
|
+
last_checkin: string | null;
|
|
541
|
+
next_checkin: string | null;
|
|
542
|
+
next_checkin_latest: string | null;
|
|
543
|
+
recent_checkins: Array<CheckInResponse>;
|
|
544
|
+
status: MonitorEnvironmentStatus;
|
|
545
|
+
};
|
|
546
|
+
export type MonitorEnvironmentStatus = 'active' | 'ok' | 'error';
|
|
547
|
+
export type MonitorResponse = {
|
|
548
|
+
config: MonitorConfig;
|
|
549
|
+
created_at: string;
|
|
550
|
+
environments: Array<MonitorEnvironmentResponse>;
|
|
551
|
+
id: string;
|
|
552
|
+
is_muted: boolean;
|
|
553
|
+
name: string;
|
|
554
|
+
slug: string;
|
|
555
|
+
};
|
|
556
|
+
export type OAuthGrant = {
|
|
557
|
+
client_id: string;
|
|
558
|
+
client_name: string;
|
|
559
|
+
created_at: string;
|
|
560
|
+
id: number;
|
|
561
|
+
};
|
|
562
|
+
export type OrgDetails = {
|
|
563
|
+
features: Array<string>;
|
|
564
|
+
id: string;
|
|
565
|
+
name: string;
|
|
566
|
+
slug: string;
|
|
567
|
+
};
|
|
568
|
+
export type PreviewSchedule = {
|
|
569
|
+
schedule: Schedule;
|
|
570
|
+
timezone?: string | null;
|
|
571
|
+
};
|
|
572
|
+
export type PreviewTemplateBody = {
|
|
573
|
+
template: string;
|
|
574
|
+
};
|
|
575
|
+
export type PreviewTemplateResponse = {
|
|
576
|
+
error?: string | null;
|
|
577
|
+
ok: boolean;
|
|
578
|
+
rendered?: string | null;
|
|
579
|
+
};
|
|
580
|
+
export type ProjectAge = {
|
|
581
|
+
events: KindAge;
|
|
582
|
+
logs: KindAge;
|
|
583
|
+
project_id: number;
|
|
584
|
+
transactions: KindAge;
|
|
585
|
+
};
|
|
586
|
+
export type ProjectListStats = {
|
|
587
|
+
events: MetricDelta;
|
|
588
|
+
fatal_issues: number;
|
|
589
|
+
new_issues: MetricDelta;
|
|
590
|
+
open_issues: number;
|
|
591
|
+
trend: Array<number>;
|
|
592
|
+
};
|
|
593
|
+
export type ProjectMember = {
|
|
594
|
+
created_at: string;
|
|
595
|
+
id: number;
|
|
596
|
+
project_id: number;
|
|
597
|
+
role: ProjectRole;
|
|
598
|
+
user_id: number;
|
|
599
|
+
};
|
|
600
|
+
export type ProjectMemberResponse = {
|
|
601
|
+
created_at: string;
|
|
602
|
+
email: string;
|
|
603
|
+
role: ProjectRole;
|
|
604
|
+
user_id: number;
|
|
605
|
+
};
|
|
606
|
+
export type ProjectRepository = {
|
|
607
|
+
auto_create_conditions: {
|
|
608
|
+
[key: string]: unknown;
|
|
609
|
+
};
|
|
610
|
+
auto_create_issues: boolean;
|
|
611
|
+
code_mappings: Array<CodeMapping>;
|
|
612
|
+
codeowners_rules: number | null;
|
|
613
|
+
codeowners_synced_at: string | null;
|
|
614
|
+
default_branch: string;
|
|
615
|
+
html_url: string;
|
|
616
|
+
installation_id: number;
|
|
617
|
+
project_id: number;
|
|
618
|
+
repo_full_name: string;
|
|
619
|
+
};
|
|
620
|
+
export type ProjectResponse = {
|
|
621
|
+
created_at: string;
|
|
622
|
+
digested_event_count: number;
|
|
623
|
+
dsn: string;
|
|
624
|
+
id: number;
|
|
625
|
+
name: string;
|
|
626
|
+
platform: string | null;
|
|
627
|
+
rate_limit_per_hour: number | null;
|
|
628
|
+
rate_limit_per_minute: number | null;
|
|
629
|
+
rate_limited_event_count: number;
|
|
630
|
+
sentry_key: string;
|
|
631
|
+
slug: string;
|
|
632
|
+
stats?: ProjectListStats | null;
|
|
633
|
+
stored_event_count: number;
|
|
634
|
+
updated_at: string;
|
|
635
|
+
};
|
|
636
|
+
export type ProjectRetention = {
|
|
637
|
+
events_days: number | null;
|
|
638
|
+
logs_days: number | null;
|
|
639
|
+
project_id: number;
|
|
640
|
+
transactions_days: number | null;
|
|
641
|
+
};
|
|
642
|
+
export type ProjectRole = 'viewer' | 'editor' | 'admin';
|
|
643
|
+
export type ProjectStatsSummary = {
|
|
644
|
+
events: MetricDelta;
|
|
645
|
+
new_issues: MetricDelta;
|
|
646
|
+
open_issues: number;
|
|
647
|
+
period_hours: number | null;
|
|
648
|
+
};
|
|
649
|
+
export type ProjectStorage = {
|
|
650
|
+
estimated_bytes: number;
|
|
651
|
+
events_bytes: number;
|
|
652
|
+
events_count: number;
|
|
653
|
+
logs_bytes: number;
|
|
654
|
+
logs_count: number;
|
|
655
|
+
project_id: number;
|
|
656
|
+
project_name: string;
|
|
657
|
+
source_maps_count: number;
|
|
658
|
+
spans_count: number;
|
|
659
|
+
transactions_bytes: number;
|
|
660
|
+
transactions_count: number;
|
|
661
|
+
};
|
|
662
|
+
export type ProviderType = 'webhook' | 'email' | 'slack' | 'custom_webhook';
|
|
663
|
+
export type RateLimitsResponse = {
|
|
664
|
+
project_per_hour: number;
|
|
665
|
+
project_per_minute: number;
|
|
666
|
+
};
|
|
667
|
+
export type ReadinessChecks = {
|
|
668
|
+
database: string;
|
|
669
|
+
};
|
|
670
|
+
export type ReadinessResponse = {
|
|
671
|
+
checks: ReadinessChecks;
|
|
672
|
+
status: string;
|
|
673
|
+
};
|
|
674
|
+
export type ReleaseHealthRow = {
|
|
675
|
+
abnormal: number;
|
|
676
|
+
crash_free_sessions_rate: number | null;
|
|
677
|
+
crash_free_users_rate: number | null;
|
|
678
|
+
crashed: number;
|
|
679
|
+
environment: string;
|
|
680
|
+
errored: number;
|
|
681
|
+
healthy: number;
|
|
682
|
+
release: string;
|
|
683
|
+
total: number;
|
|
684
|
+
};
|
|
685
|
+
export type ReleaseResponse = {
|
|
686
|
+
dateCreated: string;
|
|
687
|
+
dateReleased: string | null;
|
|
688
|
+
ref: string | null;
|
|
689
|
+
url: string | null;
|
|
690
|
+
version: string;
|
|
691
|
+
};
|
|
692
|
+
export type RepoCommit = {
|
|
693
|
+
author_login: string | null;
|
|
694
|
+
author_name: string;
|
|
695
|
+
committed_at: string;
|
|
696
|
+
message: string;
|
|
697
|
+
repo_full_name: string;
|
|
698
|
+
sha: string;
|
|
699
|
+
url: string;
|
|
700
|
+
};
|
|
701
|
+
export type RetentionResponse = {
|
|
702
|
+
last_run: RetentionRun | null;
|
|
703
|
+
next_run_at: string | null;
|
|
704
|
+
settings: RetentionSettings;
|
|
705
|
+
};
|
|
706
|
+
export type RetentionRun = {
|
|
707
|
+
error: string | null;
|
|
708
|
+
finished_at: string | null;
|
|
709
|
+
removed: CleanupCounts | null;
|
|
710
|
+
started_at: string;
|
|
711
|
+
status: string;
|
|
712
|
+
};
|
|
713
|
+
export type RetentionSettings = {
|
|
714
|
+
defaults: RetentionWindows;
|
|
715
|
+
frequency: CleanupFrequency;
|
|
716
|
+
hour: number;
|
|
717
|
+
overrides: Array<ProjectRetention>;
|
|
718
|
+
weekday: number;
|
|
719
|
+
};
|
|
720
|
+
export type RetentionWindows = {
|
|
721
|
+
events_days: number | null;
|
|
722
|
+
logs_days: number | null;
|
|
723
|
+
transactions_days: number | null;
|
|
724
|
+
};
|
|
725
|
+
export type Schedule = {
|
|
726
|
+
type: 'crontab';
|
|
727
|
+
value: string;
|
|
728
|
+
} | {
|
|
729
|
+
type: 'interval';
|
|
730
|
+
unit: IntervalUnit;
|
|
731
|
+
value: number;
|
|
732
|
+
};
|
|
733
|
+
export type SchedulePreview = {
|
|
734
|
+
next_runs: Array<string>;
|
|
735
|
+
};
|
|
736
|
+
export type SeenResponse = {
|
|
737
|
+
has_seen: boolean;
|
|
738
|
+
};
|
|
739
|
+
export type SessionSummary = {
|
|
740
|
+
abnormal: number;
|
|
741
|
+
active_releases: number;
|
|
742
|
+
crash_free_sessions_rate: number | null;
|
|
743
|
+
crash_free_users_rate: number | null;
|
|
744
|
+
crashed: number;
|
|
745
|
+
errored: number;
|
|
746
|
+
total: number;
|
|
747
|
+
};
|
|
748
|
+
export type SessionTimeseriesPoint = {
|
|
749
|
+
bucket: string;
|
|
750
|
+
crash_free_sessions_rate: number | null;
|
|
751
|
+
crashed: number;
|
|
752
|
+
total: number;
|
|
753
|
+
};
|
|
754
|
+
export type SortOrder = 'asc' | 'desc';
|
|
755
|
+
export type SourceMapFile = {
|
|
756
|
+
dateUploaded: string;
|
|
757
|
+
debugId: string;
|
|
758
|
+
fileType: string;
|
|
759
|
+
size: number;
|
|
760
|
+
timesUsed: number;
|
|
761
|
+
};
|
|
762
|
+
export type SourceMapGcResult = {
|
|
763
|
+
bytes_freed: number;
|
|
764
|
+
files_removed: number;
|
|
765
|
+
};
|
|
766
|
+
export type SourceMapList = {
|
|
767
|
+
data: Array<SourceMapFile>;
|
|
768
|
+
};
|
|
769
|
+
export type SourceMapStorage = {
|
|
770
|
+
chunk_bytes: number;
|
|
771
|
+
file_count: number;
|
|
772
|
+
source_file_bytes: number;
|
|
773
|
+
total_bytes: number;
|
|
774
|
+
};
|
|
775
|
+
export type SpanDetailResponse = SpanResponse & {
|
|
776
|
+
attributes: {
|
|
777
|
+
[key: string]: unknown;
|
|
778
|
+
};
|
|
779
|
+
tags: {
|
|
780
|
+
[key: string]: unknown;
|
|
781
|
+
} | null;
|
|
782
|
+
};
|
|
783
|
+
export type SpanResponse = {
|
|
784
|
+
description: string | null;
|
|
785
|
+
duration_ms: number | null;
|
|
786
|
+
environment: string | null;
|
|
787
|
+
exclusive_time_ms: number | null;
|
|
788
|
+
gen_ai_agent_name: string | null;
|
|
789
|
+
gen_ai_conversation_id: string | null;
|
|
790
|
+
gen_ai_operation_type: string | null;
|
|
791
|
+
gen_ai_request_model: string | null;
|
|
792
|
+
gen_ai_response_model: string | null;
|
|
793
|
+
gen_ai_tool_name: string | null;
|
|
794
|
+
gen_ai_usage_input_tokens: number | null;
|
|
795
|
+
gen_ai_usage_output_tokens: number | null;
|
|
796
|
+
gen_ai_usage_total_tokens: number | null;
|
|
797
|
+
id: string;
|
|
798
|
+
is_segment: boolean;
|
|
799
|
+
op: string | null;
|
|
800
|
+
parent_span_id: string | null;
|
|
801
|
+
platform: string | null;
|
|
802
|
+
release: string | null;
|
|
803
|
+
segment_id: string | null;
|
|
804
|
+
span_id: string | null;
|
|
805
|
+
start_timestamp: string | null;
|
|
806
|
+
status: string | null;
|
|
807
|
+
timestamp: string | null;
|
|
808
|
+
trace_id: string | null;
|
|
809
|
+
transaction_id: string | null;
|
|
810
|
+
};
|
|
811
|
+
export type SsoConfigResponse = {
|
|
812
|
+
enabled: boolean;
|
|
813
|
+
provider_name: string | null;
|
|
814
|
+
};
|
|
815
|
+
export type SsoLinkResponse = {
|
|
816
|
+
email: string;
|
|
817
|
+
provider_name: string;
|
|
818
|
+
};
|
|
819
|
+
export type SsoStartResponse = {
|
|
820
|
+
authorization_url: string;
|
|
821
|
+
};
|
|
822
|
+
export type StorageAge = {
|
|
823
|
+
bucket_days: Array<number>;
|
|
824
|
+
projects: Array<ProjectAge>;
|
|
825
|
+
};
|
|
826
|
+
export type StorageSummary = {
|
|
827
|
+
events_count: number;
|
|
828
|
+
logs_count: number;
|
|
829
|
+
source_maps: SourceMapStorage;
|
|
830
|
+
spans_count: number;
|
|
831
|
+
total_db_size_bytes: number;
|
|
832
|
+
transactions_count: number;
|
|
833
|
+
};
|
|
834
|
+
export type SubscriptionResponse = {
|
|
835
|
+
is_subscribed: boolean;
|
|
836
|
+
};
|
|
837
|
+
export type TagSummary = {
|
|
838
|
+
key: string;
|
|
839
|
+
top_values: Array<TagValueCount>;
|
|
840
|
+
total_values: number;
|
|
841
|
+
};
|
|
842
|
+
export type TagValueCount = {
|
|
843
|
+
count: number;
|
|
844
|
+
value: string;
|
|
845
|
+
};
|
|
846
|
+
export type TeamMemberResponse = {
|
|
847
|
+
created_at: string;
|
|
848
|
+
email: string;
|
|
849
|
+
id: number;
|
|
850
|
+
is_active: boolean;
|
|
851
|
+
is_primary: boolean;
|
|
852
|
+
last_login: string | null;
|
|
853
|
+
role: UserRole;
|
|
854
|
+
};
|
|
855
|
+
export type TelemetryPreview = {
|
|
856
|
+
enabled: boolean;
|
|
857
|
+
reason: string | null;
|
|
858
|
+
report: {
|
|
859
|
+
[key: string]: unknown;
|
|
860
|
+
};
|
|
861
|
+
sink: string | null;
|
|
862
|
+
};
|
|
863
|
+
export type TestChannelResponse = {
|
|
864
|
+
message: string;
|
|
865
|
+
response_body: string | null;
|
|
866
|
+
success: boolean;
|
|
867
|
+
};
|
|
868
|
+
export type TestIntegrationBody = {
|
|
869
|
+
routing_override?: {
|
|
870
|
+
[key: string]: unknown;
|
|
871
|
+
} | null;
|
|
872
|
+
};
|
|
873
|
+
export type ToggleRequest = {
|
|
874
|
+
enabled?: boolean | null;
|
|
875
|
+
};
|
|
876
|
+
export type TransactionDetailResponse = {
|
|
877
|
+
data: {
|
|
878
|
+
[key: string]: unknown;
|
|
879
|
+
};
|
|
880
|
+
duration_ms: number | null;
|
|
881
|
+
environment: string;
|
|
882
|
+
event_id: string;
|
|
883
|
+
id: string;
|
|
884
|
+
ingested_at: string;
|
|
885
|
+
platform: string;
|
|
886
|
+
release: string;
|
|
887
|
+
start_timestamp: string | null;
|
|
888
|
+
timestamp: string;
|
|
889
|
+
transaction_name: string;
|
|
890
|
+
};
|
|
891
|
+
export type TransactionResponse = {
|
|
892
|
+
duration_ms: number | null;
|
|
893
|
+
environment: string;
|
|
894
|
+
event_id: string;
|
|
895
|
+
id: string;
|
|
896
|
+
ingested_at: string;
|
|
897
|
+
platform: string;
|
|
898
|
+
release: string;
|
|
899
|
+
start_timestamp: string | null;
|
|
900
|
+
timestamp: string;
|
|
901
|
+
transaction_name: string;
|
|
902
|
+
};
|
|
903
|
+
export type TransactionStatsResponse = {
|
|
904
|
+
count: number;
|
|
905
|
+
failure_rate: number;
|
|
906
|
+
op: string | null;
|
|
907
|
+
p50_ms: number;
|
|
908
|
+
p95_ms: number;
|
|
909
|
+
p99_ms: number;
|
|
910
|
+
transaction_name: string;
|
|
911
|
+
};
|
|
912
|
+
export type UpdateAlertIntegration = {
|
|
913
|
+
credentials?: {
|
|
914
|
+
[key: string]: unknown;
|
|
915
|
+
} | null;
|
|
916
|
+
is_enabled?: boolean | null;
|
|
917
|
+
name?: string | null;
|
|
918
|
+
};
|
|
919
|
+
export type UpdateAlertRule = {
|
|
920
|
+
channels?: Array<AlertRuleChannelInput> | null;
|
|
921
|
+
conditions?: {
|
|
922
|
+
[key: string]: unknown;
|
|
923
|
+
} | null;
|
|
924
|
+
cooldown_minutes?: number | null;
|
|
925
|
+
is_enabled?: boolean | null;
|
|
926
|
+
name?: string | null;
|
|
927
|
+
};
|
|
928
|
+
export type UpdateIssueState = {
|
|
929
|
+
assigned_to?: number | null;
|
|
930
|
+
assignee_type?: string | null;
|
|
931
|
+
is_muted?: boolean | null;
|
|
932
|
+
is_resolved?: boolean | null;
|
|
933
|
+
priority?: IssuePriority | null;
|
|
934
|
+
status?: IssueStatusUpdate | null;
|
|
935
|
+
substatus?: string | null;
|
|
936
|
+
};
|
|
937
|
+
export type UpdateMonitor = {
|
|
938
|
+
config?: MonitorConfigInput | null;
|
|
939
|
+
is_muted?: boolean | null;
|
|
940
|
+
name?: string | null;
|
|
941
|
+
};
|
|
942
|
+
export type UpdatePreferencesRequest = {
|
|
943
|
+
language?: string | null;
|
|
944
|
+
timezone?: string | null;
|
|
945
|
+
};
|
|
946
|
+
export type UpdateProject = {
|
|
947
|
+
name?: string | null;
|
|
948
|
+
platform?: string | null;
|
|
949
|
+
rate_limit_per_hour?: number | null;
|
|
950
|
+
rate_limit_per_minute?: number | null;
|
|
951
|
+
slug?: string | null;
|
|
952
|
+
};
|
|
953
|
+
export type UpdateProjectRepository = {
|
|
954
|
+
auto_create_conditions?: {
|
|
955
|
+
[key: string]: unknown;
|
|
956
|
+
} | null;
|
|
957
|
+
auto_create_issues?: boolean | null;
|
|
958
|
+
code_mappings?: Array<CodeMapping> | null;
|
|
959
|
+
installation_id: number;
|
|
960
|
+
repo_full_name: string;
|
|
961
|
+
};
|
|
962
|
+
export type UpdateRelease = {
|
|
963
|
+
dateReleased?: string | null;
|
|
964
|
+
ref?: string | null;
|
|
965
|
+
url?: string | null;
|
|
966
|
+
};
|
|
967
|
+
export type UpdateUserRole = {
|
|
968
|
+
role: UserRole;
|
|
969
|
+
};
|
|
970
|
+
export type UpsertProjectMember = {
|
|
971
|
+
role: ProjectRole;
|
|
972
|
+
user_id: number;
|
|
973
|
+
};
|
|
974
|
+
export type UserReport = {
|
|
975
|
+
comments: string;
|
|
976
|
+
created_at: string;
|
|
977
|
+
email: string;
|
|
978
|
+
event_id: string | null;
|
|
979
|
+
id: string;
|
|
980
|
+
issue_id: string | null;
|
|
981
|
+
name: string;
|
|
982
|
+
project_id: number;
|
|
983
|
+
};
|
|
984
|
+
export type UserReportRequest = {
|
|
985
|
+
comments?: string | null;
|
|
986
|
+
email?: string | null;
|
|
987
|
+
event_id?: string | null;
|
|
988
|
+
name?: string | null;
|
|
989
|
+
};
|
|
990
|
+
export type UserResponse = {
|
|
991
|
+
email: string;
|
|
992
|
+
id: number;
|
|
993
|
+
is_admin: boolean;
|
|
994
|
+
language: string | null;
|
|
995
|
+
role: UserRole;
|
|
996
|
+
timezone: string | null;
|
|
997
|
+
};
|
|
998
|
+
export type UserRole = 'admin' | 'member';
|
|
999
|
+
export type VersionResponse = {
|
|
1000
|
+
version: string;
|
|
1001
|
+
};
|
|
1002
|
+
export type SourceMapsOrgDetailsData = {
|
|
1003
|
+
body?: never;
|
|
1004
|
+
path: {
|
|
1005
|
+
org_slug: string;
|
|
1006
|
+
};
|
|
1007
|
+
query?: never;
|
|
1008
|
+
url: '/api/0/organizations/{org_slug}/';
|
|
1009
|
+
};
|
|
1010
|
+
export type SourceMapsOrgDetailsResponses = {
|
|
1011
|
+
200: OrgDetails;
|
|
1012
|
+
};
|
|
1013
|
+
export type SourceMapsOrgDetailsResponse = SourceMapsOrgDetailsResponses[keyof SourceMapsOrgDetailsResponses];
|
|
1014
|
+
export type SourceMapsArtifactBundleAssembleData = {
|
|
1015
|
+
body: AssembleBody;
|
|
1016
|
+
path: {
|
|
1017
|
+
org_slug: string;
|
|
1018
|
+
};
|
|
1019
|
+
query?: never;
|
|
1020
|
+
url: '/api/0/organizations/{org_slug}/artifactbundle/assemble/';
|
|
1021
|
+
};
|
|
1022
|
+
export type SourceMapsArtifactBundleAssembleErrors = {
|
|
1023
|
+
400: ErrorResponse;
|
|
1024
|
+
401: ErrorResponse;
|
|
1025
|
+
404: ErrorResponse;
|
|
1026
|
+
};
|
|
1027
|
+
export type SourceMapsArtifactBundleAssembleError = SourceMapsArtifactBundleAssembleErrors[keyof SourceMapsArtifactBundleAssembleErrors];
|
|
1028
|
+
export type SourceMapsArtifactBundleAssembleResponses = {
|
|
1029
|
+
200: AssembleResponse;
|
|
1030
|
+
};
|
|
1031
|
+
export type SourceMapsArtifactBundleAssembleResponse = SourceMapsArtifactBundleAssembleResponses[keyof SourceMapsArtifactBundleAssembleResponses];
|
|
1032
|
+
export type SourceMapsChunkUploadCapabilityData = {
|
|
1033
|
+
body?: never;
|
|
1034
|
+
path: {
|
|
1035
|
+
org_slug: string;
|
|
1036
|
+
};
|
|
1037
|
+
query?: never;
|
|
1038
|
+
url: '/api/0/organizations/{org_slug}/chunk-upload/';
|
|
1039
|
+
};
|
|
1040
|
+
export type SourceMapsChunkUploadCapabilityErrors = {
|
|
1041
|
+
401: ErrorResponse;
|
|
1042
|
+
};
|
|
1043
|
+
export type SourceMapsChunkUploadCapabilityError = SourceMapsChunkUploadCapabilityErrors[keyof SourceMapsChunkUploadCapabilityErrors];
|
|
1044
|
+
export type SourceMapsChunkUploadCapabilityResponses = {
|
|
1045
|
+
200: ChunkUploadOptions;
|
|
1046
|
+
};
|
|
1047
|
+
export type SourceMapsChunkUploadCapabilityResponse = SourceMapsChunkUploadCapabilityResponses[keyof SourceMapsChunkUploadCapabilityResponses];
|
|
1048
|
+
export type SourceMapsChunkUploadData = {
|
|
1049
|
+
body: ChunkUploadBody;
|
|
1050
|
+
path: {
|
|
1051
|
+
org_slug: string;
|
|
1052
|
+
};
|
|
1053
|
+
query?: never;
|
|
1054
|
+
url: '/api/0/organizations/{org_slug}/chunk-upload/';
|
|
1055
|
+
};
|
|
1056
|
+
export type SourceMapsChunkUploadErrors = {
|
|
1057
|
+
400: ErrorResponse;
|
|
1058
|
+
401: ErrorResponse;
|
|
1059
|
+
};
|
|
1060
|
+
export type SourceMapsChunkUploadError = SourceMapsChunkUploadErrors[keyof SourceMapsChunkUploadErrors];
|
|
1061
|
+
export type SourceMapsChunkUploadResponses = {
|
|
1062
|
+
200: unknown;
|
|
1063
|
+
};
|
|
1064
|
+
export type SourceMapsListData = {
|
|
1065
|
+
body?: never;
|
|
1066
|
+
path: {
|
|
1067
|
+
org_slug: string;
|
|
1068
|
+
project_slug: string;
|
|
1069
|
+
};
|
|
1070
|
+
query?: never;
|
|
1071
|
+
url: '/api/0/projects/{org_slug}/{project_slug}/files/source-maps/';
|
|
1072
|
+
};
|
|
1073
|
+
export type SourceMapsListErrors = {
|
|
1074
|
+
401: ErrorResponse;
|
|
1075
|
+
404: ErrorResponse;
|
|
1076
|
+
};
|
|
1077
|
+
export type SourceMapsListError = SourceMapsListErrors[keyof SourceMapsListErrors];
|
|
1078
|
+
export type SourceMapsListResponses = {
|
|
1079
|
+
200: SourceMapList;
|
|
1080
|
+
};
|
|
1081
|
+
export type SourceMapsListResponse = SourceMapsListResponses[keyof SourceMapsListResponses];
|
|
1082
|
+
export type ReleasesCreateData = {
|
|
1083
|
+
body: CreateRelease;
|
|
1084
|
+
path: {
|
|
1085
|
+
org_slug: string;
|
|
1086
|
+
project_slug: string;
|
|
1087
|
+
};
|
|
1088
|
+
query?: never;
|
|
1089
|
+
url: '/api/0/projects/{org_slug}/{project_slug}/releases/';
|
|
1090
|
+
};
|
|
1091
|
+
export type ReleasesCreateErrors = {
|
|
1092
|
+
400: ErrorResponse;
|
|
1093
|
+
401: ErrorResponse;
|
|
1094
|
+
404: ErrorResponse;
|
|
1095
|
+
};
|
|
1096
|
+
export type ReleasesCreateError = ReleasesCreateErrors[keyof ReleasesCreateErrors];
|
|
1097
|
+
export type ReleasesCreateResponses = {
|
|
1098
|
+
201: ReleaseResponse;
|
|
1099
|
+
208: ReleaseResponse;
|
|
1100
|
+
};
|
|
1101
|
+
export type ReleasesCreateResponse = ReleasesCreateResponses[keyof ReleasesCreateResponses];
|
|
1102
|
+
export type ReleasesFinalizeData = {
|
|
1103
|
+
body: UpdateRelease;
|
|
1104
|
+
path: {
|
|
1105
|
+
org_slug: string;
|
|
1106
|
+
project_slug: string;
|
|
1107
|
+
version: string;
|
|
1108
|
+
};
|
|
1109
|
+
query?: never;
|
|
1110
|
+
url: '/api/0/projects/{org_slug}/{project_slug}/releases/{version}/';
|
|
1111
|
+
};
|
|
1112
|
+
export type ReleasesFinalizeErrors = {
|
|
1113
|
+
401: ErrorResponse;
|
|
1114
|
+
404: ErrorResponse;
|
|
1115
|
+
};
|
|
1116
|
+
export type ReleasesFinalizeError = ReleasesFinalizeErrors[keyof ReleasesFinalizeErrors];
|
|
1117
|
+
export type ReleasesFinalizeResponses = {
|
|
1118
|
+
200: ReleaseResponse;
|
|
1119
|
+
};
|
|
1120
|
+
export type ReleasesFinalizeResponse = ReleasesFinalizeResponses[keyof ReleasesFinalizeResponses];
|
|
1121
|
+
export type GithubDisconnectData = {
|
|
1122
|
+
body?: never;
|
|
1123
|
+
path?: never;
|
|
1124
|
+
query?: never;
|
|
1125
|
+
url: '/api/github';
|
|
1126
|
+
};
|
|
1127
|
+
export type GithubDisconnectErrors = {
|
|
1128
|
+
401: ErrorResponse;
|
|
1129
|
+
403: ErrorResponse;
|
|
1130
|
+
};
|
|
1131
|
+
export type GithubDisconnectError = GithubDisconnectErrors[keyof GithubDisconnectErrors];
|
|
1132
|
+
export type GithubDisconnectResponses = {
|
|
1133
|
+
204: void;
|
|
1134
|
+
};
|
|
1135
|
+
export type GithubDisconnectResponse = GithubDisconnectResponses[keyof GithubDisconnectResponses];
|
|
1136
|
+
export type GithubStatusData = {
|
|
1137
|
+
body?: never;
|
|
1138
|
+
path?: never;
|
|
1139
|
+
query?: never;
|
|
1140
|
+
url: '/api/github';
|
|
1141
|
+
};
|
|
1142
|
+
export type GithubStatusErrors = {
|
|
1143
|
+
401: ErrorResponse;
|
|
1144
|
+
403: ErrorResponse;
|
|
1145
|
+
};
|
|
1146
|
+
export type GithubStatusError = GithubStatusErrors[keyof GithubStatusErrors];
|
|
1147
|
+
export type GithubStatusResponses = {
|
|
1148
|
+
200: GitHubStatus;
|
|
1149
|
+
};
|
|
1150
|
+
export type GithubStatusResponse = GithubStatusResponses[keyof GithubStatusResponses];
|
|
1151
|
+
export type GithubCallbackData = {
|
|
1152
|
+
body?: never;
|
|
1153
|
+
path?: never;
|
|
1154
|
+
query: {
|
|
1155
|
+
code: string;
|
|
1156
|
+
state: string;
|
|
1157
|
+
};
|
|
1158
|
+
url: '/api/github/callback';
|
|
1159
|
+
};
|
|
1160
|
+
export type GithubCallbackErrors = {
|
|
1161
|
+
400: ErrorResponse;
|
|
1162
|
+
401: ErrorResponse;
|
|
1163
|
+
403: ErrorResponse;
|
|
1164
|
+
};
|
|
1165
|
+
export type GithubCallbackError = GithubCallbackErrors[keyof GithubCallbackErrors];
|
|
1166
|
+
export type GithubInstalledData = {
|
|
1167
|
+
body?: never;
|
|
1168
|
+
path?: never;
|
|
1169
|
+
query: {
|
|
1170
|
+
installation_id: number;
|
|
1171
|
+
};
|
|
1172
|
+
url: '/api/github/installed';
|
|
1173
|
+
};
|
|
1174
|
+
export type GithubInstalledErrors = {
|
|
1175
|
+
401: ErrorResponse;
|
|
1176
|
+
403: ErrorResponse;
|
|
1177
|
+
404: ErrorResponse;
|
|
1178
|
+
};
|
|
1179
|
+
export type GithubInstalledError = GithubInstalledErrors[keyof GithubInstalledErrors];
|
|
1180
|
+
export type GithubManifestData = {
|
|
1181
|
+
body: ManifestRequest;
|
|
1182
|
+
path?: never;
|
|
1183
|
+
query?: never;
|
|
1184
|
+
url: '/api/github/manifest';
|
|
1185
|
+
};
|
|
1186
|
+
export type GithubManifestErrors = {
|
|
1187
|
+
400: ErrorResponse;
|
|
1188
|
+
401: ErrorResponse;
|
|
1189
|
+
403: ErrorResponse;
|
|
1190
|
+
};
|
|
1191
|
+
export type GithubManifestError = GithubManifestErrors[keyof GithubManifestErrors];
|
|
1192
|
+
export type GithubManifestResponses = {
|
|
1193
|
+
200: ManifestResponse;
|
|
1194
|
+
};
|
|
1195
|
+
export type GithubManifestResponse = GithubManifestResponses[keyof GithubManifestResponses];
|
|
1196
|
+
export type GithubGetMyLoginData = {
|
|
1197
|
+
body?: never;
|
|
1198
|
+
path?: never;
|
|
1199
|
+
query?: never;
|
|
1200
|
+
url: '/api/github/me';
|
|
1201
|
+
};
|
|
1202
|
+
export type GithubGetMyLoginErrors = {
|
|
1203
|
+
401: ErrorResponse;
|
|
1204
|
+
};
|
|
1205
|
+
export type GithubGetMyLoginError = GithubGetMyLoginErrors[keyof GithubGetMyLoginErrors];
|
|
1206
|
+
export type GithubGetMyLoginResponses = {
|
|
1207
|
+
200: GitHubLogin;
|
|
1208
|
+
};
|
|
1209
|
+
export type GithubGetMyLoginResponse = GithubGetMyLoginResponses[keyof GithubGetMyLoginResponses];
|
|
1210
|
+
export type GithubPutMyLoginData = {
|
|
1211
|
+
body: GitHubLogin;
|
|
1212
|
+
path?: never;
|
|
1213
|
+
query?: never;
|
|
1214
|
+
url: '/api/github/me';
|
|
1215
|
+
};
|
|
1216
|
+
export type GithubPutMyLoginErrors = {
|
|
1217
|
+
400: ErrorResponse;
|
|
1218
|
+
401: ErrorResponse;
|
|
1219
|
+
};
|
|
1220
|
+
export type GithubPutMyLoginError = GithubPutMyLoginErrors[keyof GithubPutMyLoginErrors];
|
|
1221
|
+
export type GithubPutMyLoginResponses = {
|
|
1222
|
+
200: GitHubLogin;
|
|
1223
|
+
};
|
|
1224
|
+
export type GithubPutMyLoginResponse = GithubPutMyLoginResponses[keyof GithubPutMyLoginResponses];
|
|
1225
|
+
export type GithubRepositoriesData = {
|
|
1226
|
+
body?: never;
|
|
1227
|
+
path?: never;
|
|
1228
|
+
query: {
|
|
1229
|
+
project_id: number;
|
|
1230
|
+
};
|
|
1231
|
+
url: '/api/github/repositories';
|
|
1232
|
+
};
|
|
1233
|
+
export type GithubRepositoriesErrors = {
|
|
1234
|
+
400: ErrorResponse;
|
|
1235
|
+
401: ErrorResponse;
|
|
1236
|
+
403: ErrorResponse;
|
|
1237
|
+
404: ErrorResponse;
|
|
1238
|
+
};
|
|
1239
|
+
export type GithubRepositoriesError = GithubRepositoriesErrors[keyof GithubRepositoriesErrors];
|
|
1240
|
+
export type GithubRepositoriesResponses = {
|
|
1241
|
+
200: Array<GitHubRepository>;
|
|
1242
|
+
};
|
|
1243
|
+
export type GithubRepositoriesResponse = GithubRepositoriesResponses[keyof GithubRepositoriesResponses];
|
|
1244
|
+
export type GithubWebhookData = {
|
|
1245
|
+
body: {
|
|
1246
|
+
[key: string]: unknown;
|
|
1247
|
+
};
|
|
1248
|
+
path?: never;
|
|
1249
|
+
query?: never;
|
|
1250
|
+
url: '/api/github/webhook';
|
|
1251
|
+
};
|
|
1252
|
+
export type GithubWebhookErrors = {
|
|
1253
|
+
400: ErrorResponse;
|
|
1254
|
+
401: ErrorResponse;
|
|
1255
|
+
404: ErrorResponse;
|
|
1256
|
+
};
|
|
1257
|
+
export type GithubWebhookError = GithubWebhookErrors[keyof GithubWebhookErrors];
|
|
1258
|
+
export type GithubWebhookResponses = {
|
|
1259
|
+
204: void;
|
|
1260
|
+
};
|
|
1261
|
+
export type GithubWebhookResponse = GithubWebhookResponses[keyof GithubWebhookResponses];
|
|
1262
|
+
export type AlertChannelsListData = {
|
|
1263
|
+
body?: never;
|
|
1264
|
+
path?: never;
|
|
1265
|
+
query?: never;
|
|
1266
|
+
url: '/api/integrations';
|
|
1267
|
+
};
|
|
1268
|
+
export type AlertChannelsListErrors = {
|
|
1269
|
+
401: ErrorResponse;
|
|
1270
|
+
};
|
|
1271
|
+
export type AlertChannelsListError = AlertChannelsListErrors[keyof AlertChannelsListErrors];
|
|
1272
|
+
export type AlertChannelsListResponses = {
|
|
1273
|
+
200: Array<AlertIntegration>;
|
|
1274
|
+
};
|
|
1275
|
+
export type AlertChannelsListResponse = AlertChannelsListResponses[keyof AlertChannelsListResponses];
|
|
1276
|
+
export type AlertChannelsCreateData = {
|
|
1277
|
+
body: CreateAlertIntegration;
|
|
1278
|
+
path?: never;
|
|
1279
|
+
query?: never;
|
|
1280
|
+
url: '/api/integrations';
|
|
1281
|
+
};
|
|
1282
|
+
export type AlertChannelsCreateErrors = {
|
|
1283
|
+
401: ErrorResponse;
|
|
1284
|
+
};
|
|
1285
|
+
export type AlertChannelsCreateError = AlertChannelsCreateErrors[keyof AlertChannelsCreateErrors];
|
|
1286
|
+
export type AlertChannelsCreateResponses = {
|
|
1287
|
+
201: AlertIntegration;
|
|
1288
|
+
};
|
|
1289
|
+
export type AlertChannelsCreateResponse = AlertChannelsCreateResponses[keyof AlertChannelsCreateResponses];
|
|
1290
|
+
export type AlertChannelsPreviewTemplateData = {
|
|
1291
|
+
body: PreviewTemplateBody;
|
|
1292
|
+
path?: never;
|
|
1293
|
+
query?: never;
|
|
1294
|
+
url: '/api/integrations/preview-template';
|
|
1295
|
+
};
|
|
1296
|
+
export type AlertChannelsPreviewTemplateErrors = {
|
|
1297
|
+
401: ErrorResponse;
|
|
1298
|
+
};
|
|
1299
|
+
export type AlertChannelsPreviewTemplateError = AlertChannelsPreviewTemplateErrors[keyof AlertChannelsPreviewTemplateErrors];
|
|
1300
|
+
export type AlertChannelsPreviewTemplateResponses = {
|
|
1301
|
+
200: PreviewTemplateResponse;
|
|
1302
|
+
};
|
|
1303
|
+
export type AlertChannelsPreviewTemplateResponse = AlertChannelsPreviewTemplateResponses[keyof AlertChannelsPreviewTemplateResponses];
|
|
1304
|
+
export type AlertChannelsDeleteData = {
|
|
1305
|
+
body?: never;
|
|
1306
|
+
path: {
|
|
1307
|
+
id: number;
|
|
1308
|
+
};
|
|
1309
|
+
query?: never;
|
|
1310
|
+
url: '/api/integrations/{id}';
|
|
1311
|
+
};
|
|
1312
|
+
export type AlertChannelsDeleteErrors = {
|
|
1313
|
+
401: ErrorResponse;
|
|
1314
|
+
404: ErrorResponse;
|
|
1315
|
+
};
|
|
1316
|
+
export type AlertChannelsDeleteError = AlertChannelsDeleteErrors[keyof AlertChannelsDeleteErrors];
|
|
1317
|
+
export type AlertChannelsDeleteResponses = {
|
|
1318
|
+
204: void;
|
|
1319
|
+
};
|
|
1320
|
+
export type AlertChannelsDeleteResponse = AlertChannelsDeleteResponses[keyof AlertChannelsDeleteResponses];
|
|
1321
|
+
export type AlertChannelsGetData = {
|
|
1322
|
+
body?: never;
|
|
1323
|
+
path: {
|
|
1324
|
+
id: number;
|
|
1325
|
+
};
|
|
1326
|
+
query?: never;
|
|
1327
|
+
url: '/api/integrations/{id}';
|
|
1328
|
+
};
|
|
1329
|
+
export type AlertChannelsGetErrors = {
|
|
1330
|
+
401: ErrorResponse;
|
|
1331
|
+
404: ErrorResponse;
|
|
1332
|
+
};
|
|
1333
|
+
export type AlertChannelsGetError = AlertChannelsGetErrors[keyof AlertChannelsGetErrors];
|
|
1334
|
+
export type AlertChannelsGetResponses = {
|
|
1335
|
+
200: AlertIntegration;
|
|
1336
|
+
};
|
|
1337
|
+
export type AlertChannelsGetResponse = AlertChannelsGetResponses[keyof AlertChannelsGetResponses];
|
|
1338
|
+
export type AlertChannelsUpdateData = {
|
|
1339
|
+
body: UpdateAlertIntegration;
|
|
1340
|
+
path: {
|
|
1341
|
+
id: number;
|
|
1342
|
+
};
|
|
1343
|
+
query?: never;
|
|
1344
|
+
url: '/api/integrations/{id}';
|
|
1345
|
+
};
|
|
1346
|
+
export type AlertChannelsUpdateErrors = {
|
|
1347
|
+
401: ErrorResponse;
|
|
1348
|
+
404: ErrorResponse;
|
|
1349
|
+
};
|
|
1350
|
+
export type AlertChannelsUpdateError = AlertChannelsUpdateErrors[keyof AlertChannelsUpdateErrors];
|
|
1351
|
+
export type AlertChannelsUpdateResponses = {
|
|
1352
|
+
200: AlertIntegration;
|
|
1353
|
+
};
|
|
1354
|
+
export type AlertChannelsUpdateResponse = AlertChannelsUpdateResponses[keyof AlertChannelsUpdateResponses];
|
|
1355
|
+
export type AlertChannelsTestData = {
|
|
1356
|
+
body?: TestIntegrationBody;
|
|
1357
|
+
path: {
|
|
1358
|
+
id: number;
|
|
1359
|
+
};
|
|
1360
|
+
query?: never;
|
|
1361
|
+
url: '/api/integrations/{id}/test';
|
|
1362
|
+
};
|
|
1363
|
+
export type AlertChannelsTestErrors = {
|
|
1364
|
+
401: ErrorResponse;
|
|
1365
|
+
404: ErrorResponse;
|
|
1366
|
+
};
|
|
1367
|
+
export type AlertChannelsTestError = AlertChannelsTestErrors[keyof AlertChannelsTestErrors];
|
|
1368
|
+
export type AlertChannelsTestResponses = {
|
|
1369
|
+
200: TestChannelResponse;
|
|
1370
|
+
};
|
|
1371
|
+
export type AlertChannelsTestResponse = AlertChannelsTestResponses[keyof AlertChannelsTestResponses];
|
|
1372
|
+
export type InvitationsListData = {
|
|
1373
|
+
body?: never;
|
|
1374
|
+
path?: never;
|
|
1375
|
+
query?: never;
|
|
1376
|
+
url: '/api/invitations';
|
|
1377
|
+
};
|
|
1378
|
+
export type InvitationsListErrors = {
|
|
1379
|
+
401: ErrorResponse;
|
|
1380
|
+
403: ErrorResponse;
|
|
1381
|
+
};
|
|
1382
|
+
export type InvitationsListError = InvitationsListErrors[keyof InvitationsListErrors];
|
|
1383
|
+
export type InvitationsListResponses = {
|
|
1384
|
+
200: Array<InvitationResponse>;
|
|
1385
|
+
};
|
|
1386
|
+
export type InvitationsListResponse = InvitationsListResponses[keyof InvitationsListResponses];
|
|
1387
|
+
export type InvitationsCreateData = {
|
|
1388
|
+
body: CreateInvitation;
|
|
1389
|
+
path?: never;
|
|
1390
|
+
query?: never;
|
|
1391
|
+
url: '/api/invitations';
|
|
1392
|
+
};
|
|
1393
|
+
export type InvitationsCreateErrors = {
|
|
1394
|
+
400: ErrorResponse;
|
|
1395
|
+
401: ErrorResponse;
|
|
1396
|
+
403: ErrorResponse;
|
|
1397
|
+
409: ErrorResponse;
|
|
1398
|
+
};
|
|
1399
|
+
export type InvitationsCreateError = InvitationsCreateErrors[keyof InvitationsCreateErrors];
|
|
1400
|
+
export type InvitationsCreateResponses = {
|
|
1401
|
+
201: InvitationResponse;
|
|
1402
|
+
};
|
|
1403
|
+
export type InvitationsCreateResponse = InvitationsCreateResponses[keyof InvitationsCreateResponses];
|
|
1404
|
+
export type InvitationsRevokeData = {
|
|
1405
|
+
body?: never;
|
|
1406
|
+
path: {
|
|
1407
|
+
token: string;
|
|
1408
|
+
};
|
|
1409
|
+
query?: never;
|
|
1410
|
+
url: '/api/invitations/{token}';
|
|
1411
|
+
};
|
|
1412
|
+
export type InvitationsRevokeErrors = {
|
|
1413
|
+
401: ErrorResponse;
|
|
1414
|
+
403: ErrorResponse;
|
|
1415
|
+
404: ErrorResponse;
|
|
1416
|
+
};
|
|
1417
|
+
export type InvitationsRevokeError = InvitationsRevokeErrors[keyof InvitationsRevokeErrors];
|
|
1418
|
+
export type InvitationsRevokeResponses = {
|
|
1419
|
+
204: void;
|
|
1420
|
+
};
|
|
1421
|
+
export type InvitationsRevokeResponse = InvitationsRevokeResponses[keyof InvitationsRevokeResponses];
|
|
1422
|
+
export type OauthGetAuthorizationData = {
|
|
1423
|
+
body?: never;
|
|
1424
|
+
path?: never;
|
|
1425
|
+
query: {
|
|
1426
|
+
response_type: string;
|
|
1427
|
+
client_id: string;
|
|
1428
|
+
redirect_uri: string;
|
|
1429
|
+
code_challenge: string;
|
|
1430
|
+
code_challenge_method: string;
|
|
1431
|
+
state?: string | null;
|
|
1432
|
+
resource?: string | null;
|
|
1433
|
+
};
|
|
1434
|
+
url: '/api/oauth/authorize';
|
|
1435
|
+
};
|
|
1436
|
+
export type OauthGetAuthorizationErrors = {
|
|
1437
|
+
400: ErrorResponse;
|
|
1438
|
+
401: ErrorResponse;
|
|
1439
|
+
};
|
|
1440
|
+
export type OauthGetAuthorizationError = OauthGetAuthorizationErrors[keyof OauthGetAuthorizationErrors];
|
|
1441
|
+
export type OauthGetAuthorizationResponses = {
|
|
1442
|
+
200: AuthorizationInfo;
|
|
1443
|
+
};
|
|
1444
|
+
export type OauthGetAuthorizationResponse = OauthGetAuthorizationResponses[keyof OauthGetAuthorizationResponses];
|
|
1445
|
+
export type OauthDecideAuthorizationData = {
|
|
1446
|
+
body: AuthorizationDecision;
|
|
1447
|
+
path?: never;
|
|
1448
|
+
query?: never;
|
|
1449
|
+
url: '/api/oauth/authorize';
|
|
1450
|
+
};
|
|
1451
|
+
export type OauthDecideAuthorizationErrors = {
|
|
1452
|
+
400: ErrorResponse;
|
|
1453
|
+
401: ErrorResponse;
|
|
1454
|
+
};
|
|
1455
|
+
export type OauthDecideAuthorizationError = OauthDecideAuthorizationErrors[keyof OauthDecideAuthorizationErrors];
|
|
1456
|
+
export type OauthDecideAuthorizationResponses = {
|
|
1457
|
+
200: AuthorizationRedirect;
|
|
1458
|
+
};
|
|
1459
|
+
export type OauthDecideAuthorizationResponse = OauthDecideAuthorizationResponses[keyof OauthDecideAuthorizationResponses];
|
|
1460
|
+
export type OauthListGrantsData = {
|
|
1461
|
+
body?: never;
|
|
1462
|
+
path?: never;
|
|
1463
|
+
query?: never;
|
|
1464
|
+
url: '/api/oauth/grants';
|
|
1465
|
+
};
|
|
1466
|
+
export type OauthListGrantsErrors = {
|
|
1467
|
+
401: ErrorResponse;
|
|
1468
|
+
};
|
|
1469
|
+
export type OauthListGrantsError = OauthListGrantsErrors[keyof OauthListGrantsErrors];
|
|
1470
|
+
export type OauthListGrantsResponses = {
|
|
1471
|
+
200: Array<OAuthGrant>;
|
|
1472
|
+
};
|
|
1473
|
+
export type OauthListGrantsResponse = OauthListGrantsResponses[keyof OauthListGrantsResponses];
|
|
1474
|
+
export type OauthRevokeGrantData = {
|
|
1475
|
+
body?: never;
|
|
1476
|
+
path: {
|
|
1477
|
+
id: number;
|
|
1478
|
+
};
|
|
1479
|
+
query?: never;
|
|
1480
|
+
url: '/api/oauth/grants/{id}';
|
|
1481
|
+
};
|
|
1482
|
+
export type OauthRevokeGrantErrors = {
|
|
1483
|
+
401: ErrorResponse;
|
|
1484
|
+
404: ErrorResponse;
|
|
1485
|
+
};
|
|
1486
|
+
export type OauthRevokeGrantError = OauthRevokeGrantErrors[keyof OauthRevokeGrantErrors];
|
|
1487
|
+
export type OauthRevokeGrantResponses = {
|
|
1488
|
+
204: void;
|
|
1489
|
+
};
|
|
1490
|
+
export type OauthRevokeGrantResponse = OauthRevokeGrantResponses[keyof OauthRevokeGrantResponses];
|
|
1491
|
+
export type ProjectsListData = {
|
|
1492
|
+
body?: never;
|
|
1493
|
+
path?: never;
|
|
1494
|
+
query?: {
|
|
1495
|
+
page?: number;
|
|
1496
|
+
per_page?: number;
|
|
1497
|
+
order?: SortOrder;
|
|
1498
|
+
stats_period?: string | null;
|
|
1499
|
+
};
|
|
1500
|
+
url: '/api/projects';
|
|
1501
|
+
};
|
|
1502
|
+
export type ProjectsListErrors = {
|
|
1503
|
+
401: ErrorResponse;
|
|
1504
|
+
};
|
|
1505
|
+
export type ProjectsListError = ProjectsListErrors[keyof ProjectsListErrors];
|
|
1506
|
+
export type ProjectsListResponses = {
|
|
1507
|
+
200: {
|
|
1508
|
+
items: Array<{
|
|
1509
|
+
created_at: string;
|
|
1510
|
+
digested_event_count: number;
|
|
1511
|
+
dsn: string;
|
|
1512
|
+
id: number;
|
|
1513
|
+
name: string;
|
|
1514
|
+
platform: string | null;
|
|
1515
|
+
rate_limit_per_hour: number | null;
|
|
1516
|
+
rate_limit_per_minute: number | null;
|
|
1517
|
+
rate_limited_event_count: number;
|
|
1518
|
+
sentry_key: string;
|
|
1519
|
+
slug: string;
|
|
1520
|
+
stats?: ProjectListStats | null;
|
|
1521
|
+
stored_event_count: number;
|
|
1522
|
+
updated_at: string;
|
|
1523
|
+
}>;
|
|
1524
|
+
page: number;
|
|
1525
|
+
per_page: number;
|
|
1526
|
+
total_count: number;
|
|
1527
|
+
total_pages: number;
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
export type ProjectsListResponse = ProjectsListResponses[keyof ProjectsListResponses];
|
|
1531
|
+
export type ProjectsCreateData = {
|
|
1532
|
+
body: CreateProject;
|
|
1533
|
+
path?: never;
|
|
1534
|
+
query?: never;
|
|
1535
|
+
url: '/api/projects';
|
|
1536
|
+
};
|
|
1537
|
+
export type ProjectsCreateErrors = {
|
|
1538
|
+
401: ErrorResponse;
|
|
1539
|
+
409: ErrorResponse;
|
|
1540
|
+
};
|
|
1541
|
+
export type ProjectsCreateError = ProjectsCreateErrors[keyof ProjectsCreateErrors];
|
|
1542
|
+
export type ProjectsCreateResponses = {
|
|
1543
|
+
201: ProjectResponse;
|
|
1544
|
+
};
|
|
1545
|
+
export type ProjectsCreateResponse = ProjectsCreateResponses[keyof ProjectsCreateResponses];
|
|
1546
|
+
export type ProjectsDeleteData = {
|
|
1547
|
+
body?: never;
|
|
1548
|
+
path: {
|
|
1549
|
+
id: number;
|
|
1550
|
+
};
|
|
1551
|
+
query?: never;
|
|
1552
|
+
url: '/api/projects/{id}';
|
|
1553
|
+
};
|
|
1554
|
+
export type ProjectsDeleteErrors = {
|
|
1555
|
+
401: ErrorResponse;
|
|
1556
|
+
404: ErrorResponse;
|
|
1557
|
+
};
|
|
1558
|
+
export type ProjectsDeleteError = ProjectsDeleteErrors[keyof ProjectsDeleteErrors];
|
|
1559
|
+
export type ProjectsDeleteResponses = {
|
|
1560
|
+
204: void;
|
|
1561
|
+
};
|
|
1562
|
+
export type ProjectsDeleteResponse = ProjectsDeleteResponses[keyof ProjectsDeleteResponses];
|
|
1563
|
+
export type ProjectsGetData = {
|
|
1564
|
+
body?: never;
|
|
1565
|
+
path: {
|
|
1566
|
+
id: number;
|
|
1567
|
+
};
|
|
1568
|
+
query?: never;
|
|
1569
|
+
url: '/api/projects/{id}';
|
|
1570
|
+
};
|
|
1571
|
+
export type ProjectsGetErrors = {
|
|
1572
|
+
401: ErrorResponse;
|
|
1573
|
+
404: ErrorResponse;
|
|
1574
|
+
};
|
|
1575
|
+
export type ProjectsGetError = ProjectsGetErrors[keyof ProjectsGetErrors];
|
|
1576
|
+
export type ProjectsGetResponses = {
|
|
1577
|
+
200: ProjectResponse;
|
|
1578
|
+
};
|
|
1579
|
+
export type ProjectsGetResponse = ProjectsGetResponses[keyof ProjectsGetResponses];
|
|
1580
|
+
export type ProjectsUpdateData = {
|
|
1581
|
+
body: UpdateProject;
|
|
1582
|
+
path: {
|
|
1583
|
+
id: number;
|
|
1584
|
+
};
|
|
1585
|
+
query?: never;
|
|
1586
|
+
url: '/api/projects/{id}';
|
|
1587
|
+
};
|
|
1588
|
+
export type ProjectsUpdateErrors = {
|
|
1589
|
+
401: ErrorResponse;
|
|
1590
|
+
404: ErrorResponse;
|
|
1591
|
+
409: ErrorResponse;
|
|
1592
|
+
};
|
|
1593
|
+
export type ProjectsUpdateError = ProjectsUpdateErrors[keyof ProjectsUpdateErrors];
|
|
1594
|
+
export type ProjectsUpdateResponses = {
|
|
1595
|
+
200: ProjectResponse;
|
|
1596
|
+
};
|
|
1597
|
+
export type ProjectsUpdateResponse = ProjectsUpdateResponses[keyof ProjectsUpdateResponses];
|
|
1598
|
+
export type AgentsDurationData = {
|
|
1599
|
+
body?: never;
|
|
1600
|
+
path: {
|
|
1601
|
+
project_id: number;
|
|
1602
|
+
};
|
|
1603
|
+
query?: {
|
|
1604
|
+
period_hours?: number | null;
|
|
1605
|
+
environment?: string | null;
|
|
1606
|
+
interval_hours?: number;
|
|
1607
|
+
};
|
|
1608
|
+
url: '/api/projects/{project_id}/agents/duration';
|
|
1609
|
+
};
|
|
1610
|
+
export type AgentsDurationErrors = {
|
|
1611
|
+
401: ErrorResponse;
|
|
1612
|
+
404: ErrorResponse;
|
|
1613
|
+
};
|
|
1614
|
+
export type AgentsDurationError = AgentsDurationErrors[keyof AgentsDurationErrors];
|
|
1615
|
+
export type AgentsDurationResponses = {
|
|
1616
|
+
200: Array<AgentDurationPoint>;
|
|
1617
|
+
};
|
|
1618
|
+
export type AgentsDurationResponse = AgentsDurationResponses[keyof AgentsDurationResponses];
|
|
1619
|
+
export type AgentsEnvironmentsData = {
|
|
1620
|
+
body?: never;
|
|
1621
|
+
path: {
|
|
1622
|
+
project_id: number;
|
|
1623
|
+
};
|
|
1624
|
+
query?: never;
|
|
1625
|
+
url: '/api/projects/{project_id}/agents/environments';
|
|
1626
|
+
};
|
|
1627
|
+
export type AgentsEnvironmentsErrors = {
|
|
1628
|
+
401: ErrorResponse;
|
|
1629
|
+
404: ErrorResponse;
|
|
1630
|
+
};
|
|
1631
|
+
export type AgentsEnvironmentsError = AgentsEnvironmentsErrors[keyof AgentsEnvironmentsErrors];
|
|
1632
|
+
export type AgentsEnvironmentsResponses = {
|
|
1633
|
+
200: Array<string>;
|
|
1634
|
+
};
|
|
1635
|
+
export type AgentsEnvironmentsResponse = AgentsEnvironmentsResponses[keyof AgentsEnvironmentsResponses];
|
|
1636
|
+
export type AgentsModelsTableData = {
|
|
1637
|
+
body?: never;
|
|
1638
|
+
path: {
|
|
1639
|
+
project_id: number;
|
|
1640
|
+
};
|
|
1641
|
+
query?: {
|
|
1642
|
+
period_hours?: number | null;
|
|
1643
|
+
environment?: string | null;
|
|
1644
|
+
};
|
|
1645
|
+
url: '/api/projects/{project_id}/agents/models';
|
|
1646
|
+
};
|
|
1647
|
+
export type AgentsModelsTableErrors = {
|
|
1648
|
+
401: ErrorResponse;
|
|
1649
|
+
404: ErrorResponse;
|
|
1650
|
+
};
|
|
1651
|
+
export type AgentsModelsTableError = AgentsModelsTableErrors[keyof AgentsModelsTableErrors];
|
|
1652
|
+
export type AgentsModelsTableResponses = {
|
|
1653
|
+
200: Array<AgentModelRow>;
|
|
1654
|
+
};
|
|
1655
|
+
export type AgentsModelsTableResponse = AgentsModelsTableResponses[keyof AgentsModelsTableResponses];
|
|
1656
|
+
export type AgentsModelsCallsData = {
|
|
1657
|
+
body?: never;
|
|
1658
|
+
path: {
|
|
1659
|
+
project_id: number;
|
|
1660
|
+
};
|
|
1661
|
+
query?: {
|
|
1662
|
+
period_hours?: number | null;
|
|
1663
|
+
environment?: string | null;
|
|
1664
|
+
limit?: number;
|
|
1665
|
+
};
|
|
1666
|
+
url: '/api/projects/{project_id}/agents/models/calls';
|
|
1667
|
+
};
|
|
1668
|
+
export type AgentsModelsCallsErrors = {
|
|
1669
|
+
401: ErrorResponse;
|
|
1670
|
+
404: ErrorResponse;
|
|
1671
|
+
};
|
|
1672
|
+
export type AgentsModelsCallsError = AgentsModelsCallsErrors[keyof AgentsModelsCallsErrors];
|
|
1673
|
+
export type AgentsModelsCallsResponses = {
|
|
1674
|
+
200: Array<GenAiBreakdownRow>;
|
|
1675
|
+
};
|
|
1676
|
+
export type AgentsModelsCallsResponse = AgentsModelsCallsResponses[keyof AgentsModelsCallsResponses];
|
|
1677
|
+
export type AgentsModelsTokensData = {
|
|
1678
|
+
body?: never;
|
|
1679
|
+
path: {
|
|
1680
|
+
project_id: number;
|
|
1681
|
+
};
|
|
1682
|
+
query?: {
|
|
1683
|
+
period_hours?: number | null;
|
|
1684
|
+
environment?: string | null;
|
|
1685
|
+
limit?: number;
|
|
1686
|
+
};
|
|
1687
|
+
url: '/api/projects/{project_id}/agents/models/tokens';
|
|
1688
|
+
};
|
|
1689
|
+
export type AgentsModelsTokensErrors = {
|
|
1690
|
+
401: ErrorResponse;
|
|
1691
|
+
404: ErrorResponse;
|
|
1692
|
+
};
|
|
1693
|
+
export type AgentsModelsTokensError = AgentsModelsTokensErrors[keyof AgentsModelsTokensErrors];
|
|
1694
|
+
export type AgentsModelsTokensResponses = {
|
|
1695
|
+
200: Array<GenAiBreakdownRow>;
|
|
1696
|
+
};
|
|
1697
|
+
export type AgentsModelsTokensResponse = AgentsModelsTokensResponses[keyof AgentsModelsTokensResponses];
|
|
1698
|
+
export type AgentsRunsData = {
|
|
1699
|
+
body?: never;
|
|
1700
|
+
path: {
|
|
1701
|
+
project_id: number;
|
|
1702
|
+
};
|
|
1703
|
+
query?: {
|
|
1704
|
+
period_hours?: number | null;
|
|
1705
|
+
environment?: string | null;
|
|
1706
|
+
interval_hours?: number;
|
|
1707
|
+
};
|
|
1708
|
+
url: '/api/projects/{project_id}/agents/runs';
|
|
1709
|
+
};
|
|
1710
|
+
export type AgentsRunsErrors = {
|
|
1711
|
+
401: ErrorResponse;
|
|
1712
|
+
404: ErrorResponse;
|
|
1713
|
+
};
|
|
1714
|
+
export type AgentsRunsError = AgentsRunsErrors[keyof AgentsRunsErrors];
|
|
1715
|
+
export type AgentsRunsResponses = {
|
|
1716
|
+
200: Array<AgentTimeseriesPoint>;
|
|
1717
|
+
};
|
|
1718
|
+
export type AgentsRunsResponse = AgentsRunsResponses[keyof AgentsRunsResponses];
|
|
1719
|
+
export type AgentsSummaryData = {
|
|
1720
|
+
body?: never;
|
|
1721
|
+
path: {
|
|
1722
|
+
project_id: number;
|
|
1723
|
+
};
|
|
1724
|
+
query?: {
|
|
1725
|
+
period_hours?: number | null;
|
|
1726
|
+
environment?: string | null;
|
|
1727
|
+
};
|
|
1728
|
+
url: '/api/projects/{project_id}/agents/summary';
|
|
1729
|
+
};
|
|
1730
|
+
export type AgentsSummaryErrors = {
|
|
1731
|
+
401: ErrorResponse;
|
|
1732
|
+
404: ErrorResponse;
|
|
1733
|
+
};
|
|
1734
|
+
export type AgentsSummaryError = AgentsSummaryErrors[keyof AgentsSummaryErrors];
|
|
1735
|
+
export type AgentsSummaryResponses = {
|
|
1736
|
+
200: AgentSummary;
|
|
1737
|
+
};
|
|
1738
|
+
export type AgentsSummaryResponse = AgentsSummaryResponses[keyof AgentsSummaryResponses];
|
|
1739
|
+
export type AgentsToolsData = {
|
|
1740
|
+
body?: never;
|
|
1741
|
+
path: {
|
|
1742
|
+
project_id: number;
|
|
1743
|
+
};
|
|
1744
|
+
query?: {
|
|
1745
|
+
period_hours?: number | null;
|
|
1746
|
+
environment?: string | null;
|
|
1747
|
+
limit?: number;
|
|
1748
|
+
};
|
|
1749
|
+
url: '/api/projects/{project_id}/agents/tools';
|
|
1750
|
+
};
|
|
1751
|
+
export type AgentsToolsErrors = {
|
|
1752
|
+
401: ErrorResponse;
|
|
1753
|
+
404: ErrorResponse;
|
|
1754
|
+
};
|
|
1755
|
+
export type AgentsToolsError = AgentsToolsErrors[keyof AgentsToolsErrors];
|
|
1756
|
+
export type AgentsToolsResponses = {
|
|
1757
|
+
200: Array<GenAiBreakdownRow>;
|
|
1758
|
+
};
|
|
1759
|
+
export type AgentsToolsResponse = AgentsToolsResponses[keyof AgentsToolsResponses];
|
|
1760
|
+
export type AgentsToolsTableData = {
|
|
1761
|
+
body?: never;
|
|
1762
|
+
path: {
|
|
1763
|
+
project_id: number;
|
|
1764
|
+
};
|
|
1765
|
+
query?: {
|
|
1766
|
+
period_hours?: number | null;
|
|
1767
|
+
environment?: string | null;
|
|
1768
|
+
};
|
|
1769
|
+
url: '/api/projects/{project_id}/agents/tools/stats';
|
|
1770
|
+
};
|
|
1771
|
+
export type AgentsToolsTableErrors = {
|
|
1772
|
+
401: ErrorResponse;
|
|
1773
|
+
404: ErrorResponse;
|
|
1774
|
+
};
|
|
1775
|
+
export type AgentsToolsTableError = AgentsToolsTableErrors[keyof AgentsToolsTableErrors];
|
|
1776
|
+
export type AgentsToolsTableResponses = {
|
|
1777
|
+
200: Array<AgentToolRow>;
|
|
1778
|
+
};
|
|
1779
|
+
export type AgentsToolsTableResponse = AgentsToolsTableResponses[keyof AgentsToolsTableResponses];
|
|
1780
|
+
export type AgentsTracesData = {
|
|
1781
|
+
body?: never;
|
|
1782
|
+
path: {
|
|
1783
|
+
project_id: number;
|
|
1784
|
+
};
|
|
1785
|
+
query?: {
|
|
1786
|
+
period_hours?: number | null;
|
|
1787
|
+
environment?: string | null;
|
|
1788
|
+
page?: number;
|
|
1789
|
+
per_page?: number;
|
|
1790
|
+
};
|
|
1791
|
+
url: '/api/projects/{project_id}/agents/traces';
|
|
1792
|
+
};
|
|
1793
|
+
export type AgentsTracesErrors = {
|
|
1794
|
+
401: ErrorResponse;
|
|
1795
|
+
404: ErrorResponse;
|
|
1796
|
+
};
|
|
1797
|
+
export type AgentsTracesError = AgentsTracesErrors[keyof AgentsTracesErrors];
|
|
1798
|
+
export type AgentsTracesResponses = {
|
|
1799
|
+
200: {
|
|
1800
|
+
items: Array<{
|
|
1801
|
+
agent_names: Array<string>;
|
|
1802
|
+
duration_ms: number | null;
|
|
1803
|
+
error_count: number;
|
|
1804
|
+
llm_call_count: number;
|
|
1805
|
+
started_at: string;
|
|
1806
|
+
tool_call_count: number;
|
|
1807
|
+
total_tokens: number;
|
|
1808
|
+
trace_id: string;
|
|
1809
|
+
}>;
|
|
1810
|
+
page: number;
|
|
1811
|
+
per_page: number;
|
|
1812
|
+
total_count: number;
|
|
1813
|
+
total_pages: number;
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1816
|
+
export type AgentsTracesResponse = AgentsTracesResponses[keyof AgentsTracesResponses];
|
|
1817
|
+
export type AlertRulesListHistoryData = {
|
|
1818
|
+
body?: never;
|
|
1819
|
+
path: {
|
|
1820
|
+
project_id: number;
|
|
1821
|
+
};
|
|
1822
|
+
query?: {
|
|
1823
|
+
limit?: number;
|
|
1824
|
+
};
|
|
1825
|
+
url: '/api/projects/{project_id}/alert-history';
|
|
1826
|
+
};
|
|
1827
|
+
export type AlertRulesListHistoryErrors = {
|
|
1828
|
+
401: ErrorResponse;
|
|
1829
|
+
404: ErrorResponse;
|
|
1830
|
+
};
|
|
1831
|
+
export type AlertRulesListHistoryError = AlertRulesListHistoryErrors[keyof AlertRulesListHistoryErrors];
|
|
1832
|
+
export type AlertRulesListHistoryResponses = {
|
|
1833
|
+
200: Array<AlertHistory>;
|
|
1834
|
+
};
|
|
1835
|
+
export type AlertRulesListHistoryResponse = AlertRulesListHistoryResponses[keyof AlertRulesListHistoryResponses];
|
|
1836
|
+
export type AlertRulesListData = {
|
|
1837
|
+
body?: never;
|
|
1838
|
+
path: {
|
|
1839
|
+
project_id: number;
|
|
1840
|
+
};
|
|
1841
|
+
query?: never;
|
|
1842
|
+
url: '/api/projects/{project_id}/alert-rules';
|
|
1843
|
+
};
|
|
1844
|
+
export type AlertRulesListErrors = {
|
|
1845
|
+
401: ErrorResponse;
|
|
1846
|
+
404: ErrorResponse;
|
|
1847
|
+
};
|
|
1848
|
+
export type AlertRulesListError = AlertRulesListErrors[keyof AlertRulesListErrors];
|
|
1849
|
+
export type AlertRulesListResponses = {
|
|
1850
|
+
200: Array<AlertRuleResponse>;
|
|
1851
|
+
};
|
|
1852
|
+
export type AlertRulesListResponse = AlertRulesListResponses[keyof AlertRulesListResponses];
|
|
1853
|
+
export type AlertRulesCreateData = {
|
|
1854
|
+
body: CreateAlertRule;
|
|
1855
|
+
path: {
|
|
1856
|
+
project_id: number;
|
|
1857
|
+
};
|
|
1858
|
+
query?: never;
|
|
1859
|
+
url: '/api/projects/{project_id}/alert-rules';
|
|
1860
|
+
};
|
|
1861
|
+
export type AlertRulesCreateErrors = {
|
|
1862
|
+
401: ErrorResponse;
|
|
1863
|
+
404: ErrorResponse;
|
|
1864
|
+
};
|
|
1865
|
+
export type AlertRulesCreateError = AlertRulesCreateErrors[keyof AlertRulesCreateErrors];
|
|
1866
|
+
export type AlertRulesCreateResponses = {
|
|
1867
|
+
201: AlertRuleResponse;
|
|
1868
|
+
};
|
|
1869
|
+
export type AlertRulesCreateResponse = AlertRulesCreateResponses[keyof AlertRulesCreateResponses];
|
|
1870
|
+
export type AlertRulesDeleteData = {
|
|
1871
|
+
body?: never;
|
|
1872
|
+
path: {
|
|
1873
|
+
project_id: number;
|
|
1874
|
+
rule_id: number;
|
|
1875
|
+
};
|
|
1876
|
+
query?: never;
|
|
1877
|
+
url: '/api/projects/{project_id}/alert-rules/{rule_id}';
|
|
1878
|
+
};
|
|
1879
|
+
export type AlertRulesDeleteErrors = {
|
|
1880
|
+
401: ErrorResponse;
|
|
1881
|
+
404: ErrorResponse;
|
|
1882
|
+
};
|
|
1883
|
+
export type AlertRulesDeleteError = AlertRulesDeleteErrors[keyof AlertRulesDeleteErrors];
|
|
1884
|
+
export type AlertRulesDeleteResponses = {
|
|
1885
|
+
204: void;
|
|
1886
|
+
};
|
|
1887
|
+
export type AlertRulesDeleteResponse = AlertRulesDeleteResponses[keyof AlertRulesDeleteResponses];
|
|
1888
|
+
export type AlertRulesGetData = {
|
|
1889
|
+
body?: never;
|
|
1890
|
+
path: {
|
|
1891
|
+
project_id: number;
|
|
1892
|
+
rule_id: number;
|
|
1893
|
+
};
|
|
1894
|
+
query?: never;
|
|
1895
|
+
url: '/api/projects/{project_id}/alert-rules/{rule_id}';
|
|
1896
|
+
};
|
|
1897
|
+
export type AlertRulesGetErrors = {
|
|
1898
|
+
401: ErrorResponse;
|
|
1899
|
+
404: ErrorResponse;
|
|
1900
|
+
};
|
|
1901
|
+
export type AlertRulesGetError = AlertRulesGetErrors[keyof AlertRulesGetErrors];
|
|
1902
|
+
export type AlertRulesGetResponses = {
|
|
1903
|
+
200: AlertRuleResponse;
|
|
1904
|
+
};
|
|
1905
|
+
export type AlertRulesGetResponse = AlertRulesGetResponses[keyof AlertRulesGetResponses];
|
|
1906
|
+
export type AlertRulesUpdateData = {
|
|
1907
|
+
body: UpdateAlertRule;
|
|
1908
|
+
path: {
|
|
1909
|
+
project_id: number;
|
|
1910
|
+
rule_id: number;
|
|
1911
|
+
};
|
|
1912
|
+
query?: never;
|
|
1913
|
+
url: '/api/projects/{project_id}/alert-rules/{rule_id}';
|
|
1914
|
+
};
|
|
1915
|
+
export type AlertRulesUpdateErrors = {
|
|
1916
|
+
401: ErrorResponse;
|
|
1917
|
+
404: ErrorResponse;
|
|
1918
|
+
};
|
|
1919
|
+
export type AlertRulesUpdateError = AlertRulesUpdateErrors[keyof AlertRulesUpdateErrors];
|
|
1920
|
+
export type AlertRulesUpdateResponses = {
|
|
1921
|
+
200: AlertRuleResponse;
|
|
1922
|
+
};
|
|
1923
|
+
export type AlertRulesUpdateResponse = AlertRulesUpdateResponses[keyof AlertRulesUpdateResponses];
|
|
1924
|
+
export type EventsGetBySentryIdData = {
|
|
1925
|
+
body?: never;
|
|
1926
|
+
path: {
|
|
1927
|
+
project_id: number;
|
|
1928
|
+
event_id: string;
|
|
1929
|
+
};
|
|
1930
|
+
query?: never;
|
|
1931
|
+
url: '/api/projects/{project_id}/events/sentry/{event_id}';
|
|
1932
|
+
};
|
|
1933
|
+
export type EventsGetBySentryIdErrors = {
|
|
1934
|
+
401: ErrorResponse;
|
|
1935
|
+
404: ErrorResponse;
|
|
1936
|
+
};
|
|
1937
|
+
export type EventsGetBySentryIdError = EventsGetBySentryIdErrors[keyof EventsGetBySentryIdErrors];
|
|
1938
|
+
export type EventsGetBySentryIdResponses = {
|
|
1939
|
+
200: EventDetailResponse;
|
|
1940
|
+
};
|
|
1941
|
+
export type EventsGetBySentryIdResponse = EventsGetBySentryIdResponses[keyof EventsGetBySentryIdResponses];
|
|
1942
|
+
export type StatsGetEventTimeseriesData = {
|
|
1943
|
+
body?: never;
|
|
1944
|
+
path: {
|
|
1945
|
+
project_id: number;
|
|
1946
|
+
};
|
|
1947
|
+
query?: {
|
|
1948
|
+
period?: string;
|
|
1949
|
+
interval?: number;
|
|
1950
|
+
};
|
|
1951
|
+
url: '/api/projects/{project_id}/events/stats';
|
|
1952
|
+
};
|
|
1953
|
+
export type StatsGetEventTimeseriesErrors = {
|
|
1954
|
+
401: unknown;
|
|
1955
|
+
403: unknown;
|
|
1956
|
+
};
|
|
1957
|
+
export type StatsGetEventTimeseriesResponses = {
|
|
1958
|
+
200: Array<EventTimeseriesPoint>;
|
|
1959
|
+
};
|
|
1960
|
+
export type StatsGetEventTimeseriesResponse = StatsGetEventTimeseriesResponses[keyof StatsGetEventTimeseriesResponses];
|
|
1961
|
+
export type GithubDeleteProjectRepositoryData = {
|
|
1962
|
+
body?: never;
|
|
1963
|
+
path: {
|
|
1964
|
+
project_id: number;
|
|
1965
|
+
};
|
|
1966
|
+
query?: never;
|
|
1967
|
+
url: '/api/projects/{project_id}/github';
|
|
1968
|
+
};
|
|
1969
|
+
export type GithubDeleteProjectRepositoryErrors = {
|
|
1970
|
+
401: ErrorResponse;
|
|
1971
|
+
403: ErrorResponse;
|
|
1972
|
+
404: ErrorResponse;
|
|
1973
|
+
};
|
|
1974
|
+
export type GithubDeleteProjectRepositoryError = GithubDeleteProjectRepositoryErrors[keyof GithubDeleteProjectRepositoryErrors];
|
|
1975
|
+
export type GithubDeleteProjectRepositoryResponses = {
|
|
1976
|
+
204: void;
|
|
1977
|
+
};
|
|
1978
|
+
export type GithubDeleteProjectRepositoryResponse = GithubDeleteProjectRepositoryResponses[keyof GithubDeleteProjectRepositoryResponses];
|
|
1979
|
+
export type GithubGetProjectRepositoryData = {
|
|
1980
|
+
body?: never;
|
|
1981
|
+
path: {
|
|
1982
|
+
project_id: number;
|
|
1983
|
+
};
|
|
1984
|
+
query?: never;
|
|
1985
|
+
url: '/api/projects/{project_id}/github';
|
|
1986
|
+
};
|
|
1987
|
+
export type GithubGetProjectRepositoryErrors = {
|
|
1988
|
+
401: ErrorResponse;
|
|
1989
|
+
403: ErrorResponse;
|
|
1990
|
+
404: ErrorResponse;
|
|
1991
|
+
};
|
|
1992
|
+
export type GithubGetProjectRepositoryError = GithubGetProjectRepositoryErrors[keyof GithubGetProjectRepositoryErrors];
|
|
1993
|
+
export type GithubGetProjectRepositoryResponses = {
|
|
1994
|
+
200: ProjectRepository | null;
|
|
1995
|
+
};
|
|
1996
|
+
export type GithubGetProjectRepositoryResponse = GithubGetProjectRepositoryResponses[keyof GithubGetProjectRepositoryResponses];
|
|
1997
|
+
export type GithubPutProjectRepositoryData = {
|
|
1998
|
+
body: UpdateProjectRepository;
|
|
1999
|
+
path: {
|
|
2000
|
+
project_id: number;
|
|
2001
|
+
};
|
|
2002
|
+
query?: never;
|
|
2003
|
+
url: '/api/projects/{project_id}/github';
|
|
2004
|
+
};
|
|
2005
|
+
export type GithubPutProjectRepositoryErrors = {
|
|
2006
|
+
400: ErrorResponse;
|
|
2007
|
+
401: ErrorResponse;
|
|
2008
|
+
403: ErrorResponse;
|
|
2009
|
+
404: ErrorResponse;
|
|
2010
|
+
};
|
|
2011
|
+
export type GithubPutProjectRepositoryError = GithubPutProjectRepositoryErrors[keyof GithubPutProjectRepositoryErrors];
|
|
2012
|
+
export type GithubPutProjectRepositoryResponses = {
|
|
2013
|
+
200: ProjectRepository;
|
|
2014
|
+
};
|
|
2015
|
+
export type GithubPutProjectRepositoryResponse = GithubPutProjectRepositoryResponses[keyof GithubPutProjectRepositoryResponses];
|
|
2016
|
+
export type GithubSyncCodeownersData = {
|
|
2017
|
+
body?: never;
|
|
2018
|
+
path: {
|
|
2019
|
+
project_id: number;
|
|
2020
|
+
};
|
|
2021
|
+
query?: never;
|
|
2022
|
+
url: '/api/projects/{project_id}/github/codeowners';
|
|
2023
|
+
};
|
|
2024
|
+
export type GithubSyncCodeownersErrors = {
|
|
2025
|
+
401: ErrorResponse;
|
|
2026
|
+
403: ErrorResponse;
|
|
2027
|
+
404: ErrorResponse;
|
|
2028
|
+
};
|
|
2029
|
+
export type GithubSyncCodeownersError = GithubSyncCodeownersErrors[keyof GithubSyncCodeownersErrors];
|
|
2030
|
+
export type GithubSyncCodeownersResponses = {
|
|
2031
|
+
200: ProjectRepository;
|
|
2032
|
+
};
|
|
2033
|
+
export type GithubSyncCodeownersResponse = GithubSyncCodeownersResponses[keyof GithubSyncCodeownersResponses];
|
|
2034
|
+
export type IssuesBulkDeleteData = {
|
|
2035
|
+
body: BulkDeleteIssues;
|
|
2036
|
+
path: {
|
|
2037
|
+
project_id: number;
|
|
2038
|
+
};
|
|
2039
|
+
query?: never;
|
|
2040
|
+
url: '/api/projects/{project_id}/issues';
|
|
2041
|
+
};
|
|
2042
|
+
export type IssuesBulkDeleteErrors = {
|
|
2043
|
+
400: ErrorResponse;
|
|
2044
|
+
401: ErrorResponse;
|
|
2045
|
+
};
|
|
2046
|
+
export type IssuesBulkDeleteError = IssuesBulkDeleteErrors[keyof IssuesBulkDeleteErrors];
|
|
2047
|
+
export type IssuesBulkDeleteResponses = {
|
|
2048
|
+
200: BulkDeleteResponse;
|
|
2049
|
+
};
|
|
2050
|
+
export type IssuesBulkDeleteResponse = IssuesBulkDeleteResponses[keyof IssuesBulkDeleteResponses];
|
|
2051
|
+
export type IssuesListData = {
|
|
2052
|
+
body?: never;
|
|
2053
|
+
path: {
|
|
2054
|
+
project_id: number;
|
|
2055
|
+
};
|
|
2056
|
+
query?: {
|
|
2057
|
+
page?: number;
|
|
2058
|
+
per_page?: number;
|
|
2059
|
+
sort?: IssueSort;
|
|
2060
|
+
order?: SortOrder;
|
|
2061
|
+
filter?: IssueFilter;
|
|
2062
|
+
q?: string | null;
|
|
2063
|
+
};
|
|
2064
|
+
url: '/api/projects/{project_id}/issues';
|
|
2065
|
+
};
|
|
2066
|
+
export type IssuesListErrors = {
|
|
2067
|
+
401: ErrorResponse;
|
|
2068
|
+
404: ErrorResponse;
|
|
2069
|
+
};
|
|
2070
|
+
export type IssuesListError = IssuesListErrors[keyof IssuesListErrors];
|
|
2071
|
+
export type IssuesListResponses = {
|
|
2072
|
+
200: {
|
|
2073
|
+
items: Array<{
|
|
2074
|
+
assigned_to: number | null;
|
|
2075
|
+
assignee_type: string | null;
|
|
2076
|
+
culprit: string;
|
|
2077
|
+
event_count: number;
|
|
2078
|
+
first_release: string;
|
|
2079
|
+
first_seen: string;
|
|
2080
|
+
has_seen?: boolean | null;
|
|
2081
|
+
id: string;
|
|
2082
|
+
is_bookmarked?: boolean | null;
|
|
2083
|
+
is_muted: boolean;
|
|
2084
|
+
is_resolved: boolean;
|
|
2085
|
+
is_subscribed?: boolean | null;
|
|
2086
|
+
issue_category: string;
|
|
2087
|
+
issue_type: string;
|
|
2088
|
+
last_release: string;
|
|
2089
|
+
last_seen: string;
|
|
2090
|
+
level: string | null;
|
|
2091
|
+
logger: string;
|
|
2092
|
+
platform: string | null;
|
|
2093
|
+
priority: IssuePriority | null;
|
|
2094
|
+
project_id: number;
|
|
2095
|
+
short_id: string;
|
|
2096
|
+
status: IssueStatus;
|
|
2097
|
+
status_details: {
|
|
2098
|
+
[key: string]: unknown;
|
|
2099
|
+
};
|
|
2100
|
+
substatus: string | null;
|
|
2101
|
+
title: string;
|
|
2102
|
+
trend?: Array<number> | null;
|
|
2103
|
+
user_count?: number | null;
|
|
2104
|
+
user_report_count?: number | null;
|
|
2105
|
+
value: string;
|
|
2106
|
+
}>;
|
|
2107
|
+
page: number;
|
|
2108
|
+
per_page: number;
|
|
2109
|
+
total_count: number;
|
|
2110
|
+
total_pages: number;
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
export type IssuesListResponse = IssuesListResponses[keyof IssuesListResponses];
|
|
2114
|
+
export type IssuesBulkUpdateData = {
|
|
2115
|
+
body: BulkUpdateIssues;
|
|
2116
|
+
path: {
|
|
2117
|
+
project_id: number;
|
|
2118
|
+
};
|
|
2119
|
+
query?: never;
|
|
2120
|
+
url: '/api/projects/{project_id}/issues';
|
|
2121
|
+
};
|
|
2122
|
+
export type IssuesBulkUpdateErrors = {
|
|
2123
|
+
401: ErrorResponse;
|
|
2124
|
+
};
|
|
2125
|
+
export type IssuesBulkUpdateError = IssuesBulkUpdateErrors[keyof IssuesBulkUpdateErrors];
|
|
2126
|
+
export type IssuesBulkUpdateResponses = {
|
|
2127
|
+
200: BulkUpdateResponse;
|
|
2128
|
+
};
|
|
2129
|
+
export type IssuesBulkUpdateResponse = IssuesBulkUpdateResponses[keyof IssuesBulkUpdateResponses];
|
|
2130
|
+
export type IssuesDeleteData = {
|
|
2131
|
+
body?: never;
|
|
2132
|
+
path: {
|
|
2133
|
+
project_id: number;
|
|
2134
|
+
issue_id: string;
|
|
2135
|
+
};
|
|
2136
|
+
query?: never;
|
|
2137
|
+
url: '/api/projects/{project_id}/issues/{issue_id}';
|
|
2138
|
+
};
|
|
2139
|
+
export type IssuesDeleteErrors = {
|
|
2140
|
+
401: ErrorResponse;
|
|
2141
|
+
404: ErrorResponse;
|
|
2142
|
+
};
|
|
2143
|
+
export type IssuesDeleteError = IssuesDeleteErrors[keyof IssuesDeleteErrors];
|
|
2144
|
+
export type IssuesDeleteResponses = {
|
|
2145
|
+
204: void;
|
|
2146
|
+
};
|
|
2147
|
+
export type IssuesDeleteResponse = IssuesDeleteResponses[keyof IssuesDeleteResponses];
|
|
2148
|
+
export type IssuesGetData = {
|
|
2149
|
+
body?: never;
|
|
2150
|
+
path: {
|
|
2151
|
+
project_id: number;
|
|
2152
|
+
issue_id: string;
|
|
2153
|
+
};
|
|
2154
|
+
query?: never;
|
|
2155
|
+
url: '/api/projects/{project_id}/issues/{issue_id}';
|
|
2156
|
+
};
|
|
2157
|
+
export type IssuesGetErrors = {
|
|
2158
|
+
401: ErrorResponse;
|
|
2159
|
+
404: ErrorResponse;
|
|
2160
|
+
};
|
|
2161
|
+
export type IssuesGetError = IssuesGetErrors[keyof IssuesGetErrors];
|
|
2162
|
+
export type IssuesGetResponses = {
|
|
2163
|
+
200: IssueResponse;
|
|
2164
|
+
};
|
|
2165
|
+
export type IssuesGetResponse = IssuesGetResponses[keyof IssuesGetResponses];
|
|
2166
|
+
export type IssuesUpdateData = {
|
|
2167
|
+
body: UpdateIssueState;
|
|
2168
|
+
path: {
|
|
2169
|
+
project_id: number;
|
|
2170
|
+
issue_id: string;
|
|
2171
|
+
};
|
|
2172
|
+
query?: never;
|
|
2173
|
+
url: '/api/projects/{project_id}/issues/{issue_id}';
|
|
2174
|
+
};
|
|
2175
|
+
export type IssuesUpdateErrors = {
|
|
2176
|
+
401: ErrorResponse;
|
|
2177
|
+
404: ErrorResponse;
|
|
2178
|
+
};
|
|
2179
|
+
export type IssuesUpdateError = IssuesUpdateErrors[keyof IssuesUpdateErrors];
|
|
2180
|
+
export type IssuesUpdateResponses = {
|
|
2181
|
+
200: IssueResponse;
|
|
2182
|
+
};
|
|
2183
|
+
export type IssuesUpdateResponse = IssuesUpdateResponses[keyof IssuesUpdateResponses];
|
|
2184
|
+
export type IssuesGetActivityData = {
|
|
2185
|
+
body?: never;
|
|
2186
|
+
path: {
|
|
2187
|
+
project_id: number;
|
|
2188
|
+
issue_id: string;
|
|
2189
|
+
};
|
|
2190
|
+
query?: never;
|
|
2191
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/activity';
|
|
2192
|
+
};
|
|
2193
|
+
export type IssuesGetActivityErrors = {
|
|
2194
|
+
404: ErrorResponse;
|
|
2195
|
+
};
|
|
2196
|
+
export type IssuesGetActivityError = IssuesGetActivityErrors[keyof IssuesGetActivityErrors];
|
|
2197
|
+
export type IssuesGetActivityResponses = {
|
|
2198
|
+
200: Array<ActivityEntry>;
|
|
2199
|
+
};
|
|
2200
|
+
export type IssuesGetActivityResponse = IssuesGetActivityResponses[keyof IssuesGetActivityResponses];
|
|
2201
|
+
export type IssuesGetAggregatesData = {
|
|
2202
|
+
body?: never;
|
|
2203
|
+
path: {
|
|
2204
|
+
project_id: number;
|
|
2205
|
+
issue_id: string;
|
|
2206
|
+
};
|
|
2207
|
+
query?: never;
|
|
2208
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/aggregates';
|
|
2209
|
+
};
|
|
2210
|
+
export type IssuesGetAggregatesErrors = {
|
|
2211
|
+
404: ErrorResponse;
|
|
2212
|
+
};
|
|
2213
|
+
export type IssuesGetAggregatesError = IssuesGetAggregatesErrors[keyof IssuesGetAggregatesErrors];
|
|
2214
|
+
export type IssuesGetAggregatesResponses = {
|
|
2215
|
+
200: IssueAggregates;
|
|
2216
|
+
};
|
|
2217
|
+
export type IssuesGetAggregatesResponse = IssuesGetAggregatesResponses[keyof IssuesGetAggregatesResponses];
|
|
2218
|
+
export type IssuesSetBookmarkData = {
|
|
2219
|
+
body: ToggleRequest;
|
|
2220
|
+
path: {
|
|
2221
|
+
project_id: number;
|
|
2222
|
+
issue_id: string;
|
|
2223
|
+
};
|
|
2224
|
+
query?: never;
|
|
2225
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/bookmark';
|
|
2226
|
+
};
|
|
2227
|
+
export type IssuesSetBookmarkErrors = {
|
|
2228
|
+
404: ErrorResponse;
|
|
2229
|
+
};
|
|
2230
|
+
export type IssuesSetBookmarkError = IssuesSetBookmarkErrors[keyof IssuesSetBookmarkErrors];
|
|
2231
|
+
export type IssuesSetBookmarkResponses = {
|
|
2232
|
+
200: BookmarkResponse;
|
|
2233
|
+
};
|
|
2234
|
+
export type IssuesSetBookmarkResponse = IssuesSetBookmarkResponses[keyof IssuesSetBookmarkResponses];
|
|
2235
|
+
export type IssuesCreateCommentData = {
|
|
2236
|
+
body: CommentRequest;
|
|
2237
|
+
path: {
|
|
2238
|
+
project_id: number;
|
|
2239
|
+
issue_id: string;
|
|
2240
|
+
};
|
|
2241
|
+
query?: never;
|
|
2242
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/comments';
|
|
2243
|
+
};
|
|
2244
|
+
export type IssuesCreateCommentErrors = {
|
|
2245
|
+
404: ErrorResponse;
|
|
2246
|
+
};
|
|
2247
|
+
export type IssuesCreateCommentError = IssuesCreateCommentErrors[keyof IssuesCreateCommentErrors];
|
|
2248
|
+
export type IssuesCreateCommentResponses = {
|
|
2249
|
+
201: ActivityEntry;
|
|
2250
|
+
};
|
|
2251
|
+
export type IssuesCreateCommentResponse = IssuesCreateCommentResponses[keyof IssuesCreateCommentResponses];
|
|
2252
|
+
export type EventsListData = {
|
|
2253
|
+
body?: never;
|
|
2254
|
+
path: {
|
|
2255
|
+
project_id: number;
|
|
2256
|
+
issue_id: string;
|
|
2257
|
+
};
|
|
2258
|
+
query?: {
|
|
2259
|
+
order?: SortOrder;
|
|
2260
|
+
cursor?: string | null;
|
|
2261
|
+
};
|
|
2262
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/events';
|
|
2263
|
+
};
|
|
2264
|
+
export type EventsListErrors = {
|
|
2265
|
+
401: ErrorResponse;
|
|
2266
|
+
404: ErrorResponse;
|
|
2267
|
+
};
|
|
2268
|
+
export type EventsListError = EventsListErrors[keyof EventsListErrors];
|
|
2269
|
+
export type EventsListResponses = {
|
|
2270
|
+
200: {
|
|
2271
|
+
has_more: boolean;
|
|
2272
|
+
items: Array<{
|
|
2273
|
+
environment: string;
|
|
2274
|
+
event_id: string;
|
|
2275
|
+
event_type: string;
|
|
2276
|
+
id: string;
|
|
2277
|
+
issue_id: string | null;
|
|
2278
|
+
level: string;
|
|
2279
|
+
platform: string;
|
|
2280
|
+
release: string;
|
|
2281
|
+
timestamp: string;
|
|
2282
|
+
title: string;
|
|
2283
|
+
}>;
|
|
2284
|
+
next_cursor?: string | null;
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
export type EventsListResponse = EventsListResponses[keyof EventsListResponses];
|
|
2288
|
+
export type EventsGetData = {
|
|
2289
|
+
body?: never;
|
|
2290
|
+
path: {
|
|
2291
|
+
project_id: number;
|
|
2292
|
+
issue_id: string;
|
|
2293
|
+
event_id: string;
|
|
2294
|
+
};
|
|
2295
|
+
query?: never;
|
|
2296
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/events/{event_id}';
|
|
2297
|
+
};
|
|
2298
|
+
export type EventsGetErrors = {
|
|
2299
|
+
401: ErrorResponse;
|
|
2300
|
+
404: ErrorResponse;
|
|
2301
|
+
};
|
|
2302
|
+
export type EventsGetError = EventsGetErrors[keyof EventsGetErrors];
|
|
2303
|
+
export type EventsGetResponses = {
|
|
2304
|
+
200: EventDetailResponse;
|
|
2305
|
+
};
|
|
2306
|
+
export type EventsGetResponse = EventsGetResponses[keyof EventsGetResponses];
|
|
2307
|
+
export type GithubIssueData = {
|
|
2308
|
+
body?: never;
|
|
2309
|
+
path: {
|
|
2310
|
+
project_id: number;
|
|
2311
|
+
issue_id: string;
|
|
2312
|
+
};
|
|
2313
|
+
query?: never;
|
|
2314
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/github';
|
|
2315
|
+
};
|
|
2316
|
+
export type GithubIssueErrors = {
|
|
2317
|
+
401: ErrorResponse;
|
|
2318
|
+
403: ErrorResponse;
|
|
2319
|
+
404: ErrorResponse;
|
|
2320
|
+
};
|
|
2321
|
+
export type GithubIssueError = GithubIssueErrors[keyof GithubIssueErrors];
|
|
2322
|
+
export type GithubIssueResponses = {
|
|
2323
|
+
200: IssueGitHub;
|
|
2324
|
+
};
|
|
2325
|
+
export type GithubIssueResponse = GithubIssueResponses[keyof GithubIssueResponses];
|
|
2326
|
+
export type GithubCreateIssueData = {
|
|
2327
|
+
body: CreateGitHubIssue;
|
|
2328
|
+
path: {
|
|
2329
|
+
project_id: number;
|
|
2330
|
+
issue_id: string;
|
|
2331
|
+
};
|
|
2332
|
+
query?: never;
|
|
2333
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/github/issues';
|
|
2334
|
+
};
|
|
2335
|
+
export type GithubCreateIssueErrors = {
|
|
2336
|
+
400: ErrorResponse;
|
|
2337
|
+
401: ErrorResponse;
|
|
2338
|
+
403: ErrorResponse;
|
|
2339
|
+
404: ErrorResponse;
|
|
2340
|
+
};
|
|
2341
|
+
export type GithubCreateIssueError = GithubCreateIssueErrors[keyof GithubCreateIssueErrors];
|
|
2342
|
+
export type GithubCreateIssueResponses = {
|
|
2343
|
+
201: IssueLink;
|
|
2344
|
+
};
|
|
2345
|
+
export type GithubCreateIssueResponse = GithubCreateIssueResponses[keyof GithubCreateIssueResponses];
|
|
2346
|
+
export type GithubLinkIssueData = {
|
|
2347
|
+
body: LinkGitHubIssue;
|
|
2348
|
+
path: {
|
|
2349
|
+
project_id: number;
|
|
2350
|
+
issue_id: string;
|
|
2351
|
+
};
|
|
2352
|
+
query?: never;
|
|
2353
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/github/links';
|
|
2354
|
+
};
|
|
2355
|
+
export type GithubLinkIssueErrors = {
|
|
2356
|
+
400: ErrorResponse;
|
|
2357
|
+
401: ErrorResponse;
|
|
2358
|
+
403: ErrorResponse;
|
|
2359
|
+
404: ErrorResponse;
|
|
2360
|
+
};
|
|
2361
|
+
export type GithubLinkIssueError = GithubLinkIssueErrors[keyof GithubLinkIssueErrors];
|
|
2362
|
+
export type GithubLinkIssueResponses = {
|
|
2363
|
+
201: IssueLink;
|
|
2364
|
+
};
|
|
2365
|
+
export type GithubLinkIssueResponse = GithubLinkIssueResponses[keyof GithubLinkIssueResponses];
|
|
2366
|
+
export type GithubUnlinkIssueData = {
|
|
2367
|
+
body?: never;
|
|
2368
|
+
path: {
|
|
2369
|
+
project_id: number;
|
|
2370
|
+
issue_id: string;
|
|
2371
|
+
link_id: number;
|
|
2372
|
+
};
|
|
2373
|
+
query?: never;
|
|
2374
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/github/links/{link_id}';
|
|
2375
|
+
};
|
|
2376
|
+
export type GithubUnlinkIssueErrors = {
|
|
2377
|
+
401: ErrorResponse;
|
|
2378
|
+
403: ErrorResponse;
|
|
2379
|
+
404: ErrorResponse;
|
|
2380
|
+
};
|
|
2381
|
+
export type GithubUnlinkIssueError = GithubUnlinkIssueErrors[keyof GithubUnlinkIssueErrors];
|
|
2382
|
+
export type GithubUnlinkIssueResponses = {
|
|
2383
|
+
204: void;
|
|
2384
|
+
};
|
|
2385
|
+
export type GithubUnlinkIssueResponse = GithubUnlinkIssueResponses[keyof GithubUnlinkIssueResponses];
|
|
2386
|
+
export type IssuesGetHashesData = {
|
|
2387
|
+
body?: never;
|
|
2388
|
+
path: {
|
|
2389
|
+
project_id: number;
|
|
2390
|
+
issue_id: string;
|
|
2391
|
+
};
|
|
2392
|
+
query?: never;
|
|
2393
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/hashes';
|
|
2394
|
+
};
|
|
2395
|
+
export type IssuesGetHashesErrors = {
|
|
2396
|
+
404: ErrorResponse;
|
|
2397
|
+
};
|
|
2398
|
+
export type IssuesGetHashesError = IssuesGetHashesErrors[keyof IssuesGetHashesErrors];
|
|
2399
|
+
export type IssuesGetHashesResponses = {
|
|
2400
|
+
200: Array<Grouping>;
|
|
2401
|
+
};
|
|
2402
|
+
export type IssuesGetHashesResponse = IssuesGetHashesResponses[keyof IssuesGetHashesResponses];
|
|
2403
|
+
export type IssuesMarkSeenData = {
|
|
2404
|
+
body?: never;
|
|
2405
|
+
path: {
|
|
2406
|
+
project_id: number;
|
|
2407
|
+
issue_id: string;
|
|
2408
|
+
};
|
|
2409
|
+
query?: never;
|
|
2410
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/seen';
|
|
2411
|
+
};
|
|
2412
|
+
export type IssuesMarkSeenErrors = {
|
|
2413
|
+
404: ErrorResponse;
|
|
2414
|
+
};
|
|
2415
|
+
export type IssuesMarkSeenError = IssuesMarkSeenErrors[keyof IssuesMarkSeenErrors];
|
|
2416
|
+
export type IssuesMarkSeenResponses = {
|
|
2417
|
+
200: SeenResponse;
|
|
2418
|
+
};
|
|
2419
|
+
export type IssuesMarkSeenResponse = IssuesMarkSeenResponses[keyof IssuesMarkSeenResponses];
|
|
2420
|
+
export type IssuesGetStatsData = {
|
|
2421
|
+
body?: never;
|
|
2422
|
+
path: {
|
|
2423
|
+
project_id: number;
|
|
2424
|
+
issue_id: string;
|
|
2425
|
+
};
|
|
2426
|
+
query?: {
|
|
2427
|
+
window?: IssueStatsWindow;
|
|
2428
|
+
};
|
|
2429
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/stats';
|
|
2430
|
+
};
|
|
2431
|
+
export type IssuesGetStatsErrors = {
|
|
2432
|
+
404: ErrorResponse;
|
|
2433
|
+
};
|
|
2434
|
+
export type IssuesGetStatsError = IssuesGetStatsErrors[keyof IssuesGetStatsErrors];
|
|
2435
|
+
export type IssuesGetStatsResponses = {
|
|
2436
|
+
200: IssueStatsResponse;
|
|
2437
|
+
};
|
|
2438
|
+
export type IssuesGetStatsResponse = IssuesGetStatsResponses[keyof IssuesGetStatsResponses];
|
|
2439
|
+
export type IssuesSetSubscriptionData = {
|
|
2440
|
+
body: ToggleRequest;
|
|
2441
|
+
path: {
|
|
2442
|
+
project_id: number;
|
|
2443
|
+
issue_id: string;
|
|
2444
|
+
};
|
|
2445
|
+
query?: never;
|
|
2446
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/subscription';
|
|
2447
|
+
};
|
|
2448
|
+
export type IssuesSetSubscriptionErrors = {
|
|
2449
|
+
404: ErrorResponse;
|
|
2450
|
+
};
|
|
2451
|
+
export type IssuesSetSubscriptionError = IssuesSetSubscriptionErrors[keyof IssuesSetSubscriptionErrors];
|
|
2452
|
+
export type IssuesSetSubscriptionResponses = {
|
|
2453
|
+
200: SubscriptionResponse;
|
|
2454
|
+
};
|
|
2455
|
+
export type IssuesSetSubscriptionResponse = IssuesSetSubscriptionResponses[keyof IssuesSetSubscriptionResponses];
|
|
2456
|
+
export type IssuesGetTagValuesData = {
|
|
2457
|
+
body?: never;
|
|
2458
|
+
path: {
|
|
2459
|
+
project_id: number;
|
|
2460
|
+
issue_id: string;
|
|
2461
|
+
key: string;
|
|
2462
|
+
};
|
|
2463
|
+
query?: never;
|
|
2464
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/tags/{key}';
|
|
2465
|
+
};
|
|
2466
|
+
export type IssuesGetTagValuesErrors = {
|
|
2467
|
+
404: ErrorResponse;
|
|
2468
|
+
};
|
|
2469
|
+
export type IssuesGetTagValuesError = IssuesGetTagValuesErrors[keyof IssuesGetTagValuesErrors];
|
|
2470
|
+
export type IssuesGetTagValuesResponses = {
|
|
2471
|
+
200: Array<IssueTagValue>;
|
|
2472
|
+
};
|
|
2473
|
+
export type IssuesGetTagValuesResponse = IssuesGetTagValuesResponses[keyof IssuesGetTagValuesResponses];
|
|
2474
|
+
export type IssuesListUserReportsData = {
|
|
2475
|
+
body?: never;
|
|
2476
|
+
path: {
|
|
2477
|
+
project_id: number;
|
|
2478
|
+
issue_id: string;
|
|
2479
|
+
};
|
|
2480
|
+
query?: never;
|
|
2481
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/user-reports';
|
|
2482
|
+
};
|
|
2483
|
+
export type IssuesListUserReportsErrors = {
|
|
2484
|
+
404: ErrorResponse;
|
|
2485
|
+
};
|
|
2486
|
+
export type IssuesListUserReportsError = IssuesListUserReportsErrors[keyof IssuesListUserReportsErrors];
|
|
2487
|
+
export type IssuesListUserReportsResponses = {
|
|
2488
|
+
200: Array<UserReport>;
|
|
2489
|
+
};
|
|
2490
|
+
export type IssuesListUserReportsResponse = IssuesListUserReportsResponses[keyof IssuesListUserReportsResponses];
|
|
2491
|
+
export type IssuesCreateUserReportData = {
|
|
2492
|
+
body: UserReportRequest;
|
|
2493
|
+
path: {
|
|
2494
|
+
project_id: number;
|
|
2495
|
+
issue_id: string;
|
|
2496
|
+
};
|
|
2497
|
+
query?: never;
|
|
2498
|
+
url: '/api/projects/{project_id}/issues/{issue_id}/user-reports';
|
|
2499
|
+
};
|
|
2500
|
+
export type IssuesCreateUserReportErrors = {
|
|
2501
|
+
404: ErrorResponse;
|
|
2502
|
+
};
|
|
2503
|
+
export type IssuesCreateUserReportError = IssuesCreateUserReportErrors[keyof IssuesCreateUserReportErrors];
|
|
2504
|
+
export type IssuesCreateUserReportResponses = {
|
|
2505
|
+
201: UserReport;
|
|
2506
|
+
};
|
|
2507
|
+
export type IssuesCreateUserReportResponse = IssuesCreateUserReportResponses[keyof IssuesCreateUserReportResponses];
|
|
2508
|
+
export type LogsListData = {
|
|
2509
|
+
body?: never;
|
|
2510
|
+
path: {
|
|
2511
|
+
project_id: number;
|
|
2512
|
+
};
|
|
2513
|
+
query?: {
|
|
2514
|
+
page?: number;
|
|
2515
|
+
per_page?: number;
|
|
2516
|
+
level?: string | null;
|
|
2517
|
+
trace_id?: string | null;
|
|
2518
|
+
};
|
|
2519
|
+
url: '/api/projects/{project_id}/logs';
|
|
2520
|
+
};
|
|
2521
|
+
export type LogsListErrors = {
|
|
2522
|
+
401: ErrorResponse;
|
|
2523
|
+
404: ErrorResponse;
|
|
2524
|
+
};
|
|
2525
|
+
export type LogsListError = LogsListErrors[keyof LogsListErrors];
|
|
2526
|
+
export type LogsListResponses = {
|
|
2527
|
+
200: {
|
|
2528
|
+
items: Array<{
|
|
2529
|
+
attributes: {
|
|
2530
|
+
[key: string]: unknown;
|
|
2531
|
+
};
|
|
2532
|
+
body: string;
|
|
2533
|
+
id: string;
|
|
2534
|
+
ingested_at: string;
|
|
2535
|
+
level: string;
|
|
2536
|
+
severity_number: number | null;
|
|
2537
|
+
span_id: string | null;
|
|
2538
|
+
timestamp: string;
|
|
2539
|
+
trace_id: string | null;
|
|
2540
|
+
}>;
|
|
2541
|
+
page: number;
|
|
2542
|
+
per_page: number;
|
|
2543
|
+
total_count: number;
|
|
2544
|
+
total_pages: number;
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
export type LogsListResponse = LogsListResponses[keyof LogsListResponses];
|
|
2548
|
+
export type MembersListData = {
|
|
2549
|
+
body?: never;
|
|
2550
|
+
path: {
|
|
2551
|
+
project_id: number;
|
|
2552
|
+
};
|
|
2553
|
+
query?: never;
|
|
2554
|
+
url: '/api/projects/{project_id}/members';
|
|
2555
|
+
};
|
|
2556
|
+
export type MembersListErrors = {
|
|
2557
|
+
401: ErrorResponse;
|
|
2558
|
+
403: ErrorResponse;
|
|
2559
|
+
404: ErrorResponse;
|
|
2560
|
+
};
|
|
2561
|
+
export type MembersListError = MembersListErrors[keyof MembersListErrors];
|
|
2562
|
+
export type MembersListResponses = {
|
|
2563
|
+
200: Array<ProjectMemberResponse>;
|
|
2564
|
+
};
|
|
2565
|
+
export type MembersListResponse = MembersListResponses[keyof MembersListResponses];
|
|
2566
|
+
export type MembersUpsertData = {
|
|
2567
|
+
body: UpsertProjectMember;
|
|
2568
|
+
path: {
|
|
2569
|
+
project_id: number;
|
|
2570
|
+
};
|
|
2571
|
+
query?: never;
|
|
2572
|
+
url: '/api/projects/{project_id}/members';
|
|
2573
|
+
};
|
|
2574
|
+
export type MembersUpsertErrors = {
|
|
2575
|
+
400: ErrorResponse;
|
|
2576
|
+
401: ErrorResponse;
|
|
2577
|
+
403: ErrorResponse;
|
|
2578
|
+
404: ErrorResponse;
|
|
2579
|
+
409: ErrorResponse;
|
|
2580
|
+
};
|
|
2581
|
+
export type MembersUpsertError = MembersUpsertErrors[keyof MembersUpsertErrors];
|
|
2582
|
+
export type MembersUpsertResponses = {
|
|
2583
|
+
200: ProjectMember;
|
|
2584
|
+
};
|
|
2585
|
+
export type MembersUpsertResponse = MembersUpsertResponses[keyof MembersUpsertResponses];
|
|
2586
|
+
export type MembersRemoveData = {
|
|
2587
|
+
body?: never;
|
|
2588
|
+
path: {
|
|
2589
|
+
project_id: number;
|
|
2590
|
+
user_id: number;
|
|
2591
|
+
};
|
|
2592
|
+
query?: never;
|
|
2593
|
+
url: '/api/projects/{project_id}/members/{user_id}';
|
|
2594
|
+
};
|
|
2595
|
+
export type MembersRemoveErrors = {
|
|
2596
|
+
401: ErrorResponse;
|
|
2597
|
+
403: ErrorResponse;
|
|
2598
|
+
404: ErrorResponse;
|
|
2599
|
+
409: ErrorResponse;
|
|
2600
|
+
};
|
|
2601
|
+
export type MembersRemoveError = MembersRemoveErrors[keyof MembersRemoveErrors];
|
|
2602
|
+
export type MembersRemoveResponses = {
|
|
2603
|
+
204: void;
|
|
2604
|
+
};
|
|
2605
|
+
export type MembersRemoveResponse = MembersRemoveResponses[keyof MembersRemoveResponses];
|
|
2606
|
+
export type MonitorsListData = {
|
|
2607
|
+
body?: never;
|
|
2608
|
+
path: {
|
|
2609
|
+
project_id: number;
|
|
2610
|
+
};
|
|
2611
|
+
query?: never;
|
|
2612
|
+
url: '/api/projects/{project_id}/monitors';
|
|
2613
|
+
};
|
|
2614
|
+
export type MonitorsListErrors = {
|
|
2615
|
+
401: ErrorResponse;
|
|
2616
|
+
404: ErrorResponse;
|
|
2617
|
+
};
|
|
2618
|
+
export type MonitorsListError = MonitorsListErrors[keyof MonitorsListErrors];
|
|
2619
|
+
export type MonitorsListResponses = {
|
|
2620
|
+
200: Array<MonitorResponse>;
|
|
2621
|
+
};
|
|
2622
|
+
export type MonitorsListResponse = MonitorsListResponses[keyof MonitorsListResponses];
|
|
2623
|
+
export type MonitorsCreateData = {
|
|
2624
|
+
body: CreateMonitor;
|
|
2625
|
+
path: {
|
|
2626
|
+
project_id: number;
|
|
2627
|
+
};
|
|
2628
|
+
query?: never;
|
|
2629
|
+
url: '/api/projects/{project_id}/monitors';
|
|
2630
|
+
};
|
|
2631
|
+
export type MonitorsCreateErrors = {
|
|
2632
|
+
400: ErrorResponse;
|
|
2633
|
+
401: ErrorResponse;
|
|
2634
|
+
409: ErrorResponse;
|
|
2635
|
+
};
|
|
2636
|
+
export type MonitorsCreateError = MonitorsCreateErrors[keyof MonitorsCreateErrors];
|
|
2637
|
+
export type MonitorsCreateResponses = {
|
|
2638
|
+
201: MonitorResponse;
|
|
2639
|
+
};
|
|
2640
|
+
export type MonitorsCreateResponse = MonitorsCreateResponses[keyof MonitorsCreateResponses];
|
|
2641
|
+
export type MonitorsDeleteData = {
|
|
2642
|
+
body?: never;
|
|
2643
|
+
path: {
|
|
2644
|
+
project_id: number;
|
|
2645
|
+
slug: string;
|
|
2646
|
+
};
|
|
2647
|
+
query?: never;
|
|
2648
|
+
url: '/api/projects/{project_id}/monitors/{slug}';
|
|
2649
|
+
};
|
|
2650
|
+
export type MonitorsDeleteErrors = {
|
|
2651
|
+
401: ErrorResponse;
|
|
2652
|
+
404: ErrorResponse;
|
|
2653
|
+
};
|
|
2654
|
+
export type MonitorsDeleteError = MonitorsDeleteErrors[keyof MonitorsDeleteErrors];
|
|
2655
|
+
export type MonitorsDeleteResponses = {
|
|
2656
|
+
204: void;
|
|
2657
|
+
};
|
|
2658
|
+
export type MonitorsDeleteResponse = MonitorsDeleteResponses[keyof MonitorsDeleteResponses];
|
|
2659
|
+
export type MonitorsGetData = {
|
|
2660
|
+
body?: never;
|
|
2661
|
+
path: {
|
|
2662
|
+
project_id: number;
|
|
2663
|
+
slug: string;
|
|
2664
|
+
};
|
|
2665
|
+
query?: never;
|
|
2666
|
+
url: '/api/projects/{project_id}/monitors/{slug}';
|
|
2667
|
+
};
|
|
2668
|
+
export type MonitorsGetErrors = {
|
|
2669
|
+
401: ErrorResponse;
|
|
2670
|
+
404: ErrorResponse;
|
|
2671
|
+
};
|
|
2672
|
+
export type MonitorsGetError = MonitorsGetErrors[keyof MonitorsGetErrors];
|
|
2673
|
+
export type MonitorsGetResponses = {
|
|
2674
|
+
200: MonitorResponse;
|
|
2675
|
+
};
|
|
2676
|
+
export type MonitorsGetResponse = MonitorsGetResponses[keyof MonitorsGetResponses];
|
|
2677
|
+
export type MonitorsUpdateData = {
|
|
2678
|
+
body: UpdateMonitor;
|
|
2679
|
+
path: {
|
|
2680
|
+
project_id: number;
|
|
2681
|
+
slug: string;
|
|
2682
|
+
};
|
|
2683
|
+
query?: never;
|
|
2684
|
+
url: '/api/projects/{project_id}/monitors/{slug}';
|
|
2685
|
+
};
|
|
2686
|
+
export type MonitorsUpdateErrors = {
|
|
2687
|
+
400: ErrorResponse;
|
|
2688
|
+
401: ErrorResponse;
|
|
2689
|
+
404: ErrorResponse;
|
|
2690
|
+
};
|
|
2691
|
+
export type MonitorsUpdateError = MonitorsUpdateErrors[keyof MonitorsUpdateErrors];
|
|
2692
|
+
export type MonitorsUpdateResponses = {
|
|
2693
|
+
200: MonitorResponse;
|
|
2694
|
+
};
|
|
2695
|
+
export type MonitorsUpdateResponse = MonitorsUpdateResponses[keyof MonitorsUpdateResponses];
|
|
2696
|
+
export type MonitorsListCheckinsData = {
|
|
2697
|
+
body?: never;
|
|
2698
|
+
path: {
|
|
2699
|
+
project_id: number;
|
|
2700
|
+
slug: string;
|
|
2701
|
+
};
|
|
2702
|
+
query?: {
|
|
2703
|
+
page?: number;
|
|
2704
|
+
per_page?: number;
|
|
2705
|
+
environment?: string | null;
|
|
2706
|
+
};
|
|
2707
|
+
url: '/api/projects/{project_id}/monitors/{slug}/checkins';
|
|
2708
|
+
};
|
|
2709
|
+
export type MonitorsListCheckinsErrors = {
|
|
2710
|
+
401: ErrorResponse;
|
|
2711
|
+
404: ErrorResponse;
|
|
2712
|
+
};
|
|
2713
|
+
export type MonitorsListCheckinsError = MonitorsListCheckinsErrors[keyof MonitorsListCheckinsErrors];
|
|
2714
|
+
export type MonitorsListCheckinsResponses = {
|
|
2715
|
+
200: {
|
|
2716
|
+
items: Array<{
|
|
2717
|
+
date_added: string;
|
|
2718
|
+
date_updated: string;
|
|
2719
|
+
duration_ms: number | null;
|
|
2720
|
+
environment: string;
|
|
2721
|
+
expected_time: string | null;
|
|
2722
|
+
id: string;
|
|
2723
|
+
status: CheckInStatus;
|
|
2724
|
+
}>;
|
|
2725
|
+
page: number;
|
|
2726
|
+
per_page: number;
|
|
2727
|
+
total_count: number;
|
|
2728
|
+
total_pages: number;
|
|
2729
|
+
};
|
|
2730
|
+
};
|
|
2731
|
+
export type MonitorsListCheckinsResponse = MonitorsListCheckinsResponses[keyof MonitorsListCheckinsResponses];
|
|
2732
|
+
export type ReleasesNewIssuesData = {
|
|
2733
|
+
body?: never;
|
|
2734
|
+
path: {
|
|
2735
|
+
project_id: number;
|
|
2736
|
+
release: string;
|
|
2737
|
+
};
|
|
2738
|
+
query?: {
|
|
2739
|
+
limit?: number;
|
|
2740
|
+
};
|
|
2741
|
+
url: '/api/projects/{project_id}/releases/{release}/new-issues';
|
|
2742
|
+
};
|
|
2743
|
+
export type ReleasesNewIssuesErrors = {
|
|
2744
|
+
401: unknown;
|
|
2745
|
+
403: unknown;
|
|
2746
|
+
};
|
|
2747
|
+
export type ReleasesNewIssuesResponses = {
|
|
2748
|
+
200: Array<IssueResponse>;
|
|
2749
|
+
};
|
|
2750
|
+
export type ReleasesNewIssuesResponse = ReleasesNewIssuesResponses[keyof ReleasesNewIssuesResponses];
|
|
2751
|
+
export type SessionsGetStatsData = {
|
|
2752
|
+
body?: never;
|
|
2753
|
+
path: {
|
|
2754
|
+
project_id: number;
|
|
2755
|
+
};
|
|
2756
|
+
query?: {
|
|
2757
|
+
period?: string | null;
|
|
2758
|
+
release?: string | null;
|
|
2759
|
+
page?: number;
|
|
2760
|
+
per_page?: number;
|
|
2761
|
+
};
|
|
2762
|
+
url: '/api/projects/{project_id}/sessions/stats';
|
|
2763
|
+
};
|
|
2764
|
+
export type SessionsGetStatsErrors = {
|
|
2765
|
+
401: unknown;
|
|
2766
|
+
403: unknown;
|
|
2767
|
+
};
|
|
2768
|
+
export type SessionsGetStatsResponses = {
|
|
2769
|
+
200: {
|
|
2770
|
+
items: Array<{
|
|
2771
|
+
abnormal: number;
|
|
2772
|
+
crash_free_sessions_rate: number | null;
|
|
2773
|
+
crash_free_users_rate: number | null;
|
|
2774
|
+
crashed: number;
|
|
2775
|
+
environment: string;
|
|
2776
|
+
errored: number;
|
|
2777
|
+
healthy: number;
|
|
2778
|
+
release: string;
|
|
2779
|
+
total: number;
|
|
2780
|
+
}>;
|
|
2781
|
+
page: number;
|
|
2782
|
+
per_page: number;
|
|
2783
|
+
total_count: number;
|
|
2784
|
+
total_pages: number;
|
|
2785
|
+
};
|
|
2786
|
+
};
|
|
2787
|
+
export type SessionsGetStatsResponse = SessionsGetStatsResponses[keyof SessionsGetStatsResponses];
|
|
2788
|
+
export type SessionsGetSummaryData = {
|
|
2789
|
+
body?: never;
|
|
2790
|
+
path: {
|
|
2791
|
+
project_id: number;
|
|
2792
|
+
};
|
|
2793
|
+
query?: {
|
|
2794
|
+
period?: string;
|
|
2795
|
+
};
|
|
2796
|
+
url: '/api/projects/{project_id}/sessions/summary';
|
|
2797
|
+
};
|
|
2798
|
+
export type SessionsGetSummaryErrors = {
|
|
2799
|
+
401: unknown;
|
|
2800
|
+
403: unknown;
|
|
2801
|
+
};
|
|
2802
|
+
export type SessionsGetSummaryResponses = {
|
|
2803
|
+
200: SessionSummary;
|
|
2804
|
+
};
|
|
2805
|
+
export type SessionsGetSummaryResponse = SessionsGetSummaryResponses[keyof SessionsGetSummaryResponses];
|
|
2806
|
+
export type SessionsGetTimeseriesData = {
|
|
2807
|
+
body?: never;
|
|
2808
|
+
path: {
|
|
2809
|
+
project_id: number;
|
|
2810
|
+
};
|
|
2811
|
+
query?: {
|
|
2812
|
+
period?: string;
|
|
2813
|
+
interval?: number;
|
|
2814
|
+
};
|
|
2815
|
+
url: '/api/projects/{project_id}/sessions/timeseries';
|
|
2816
|
+
};
|
|
2817
|
+
export type SessionsGetTimeseriesErrors = {
|
|
2818
|
+
401: unknown;
|
|
2819
|
+
403: unknown;
|
|
2820
|
+
};
|
|
2821
|
+
export type SessionsGetTimeseriesResponses = {
|
|
2822
|
+
200: Array<SessionTimeseriesPoint>;
|
|
2823
|
+
};
|
|
2824
|
+
export type SessionsGetTimeseriesResponse = SessionsGetTimeseriesResponses[keyof SessionsGetTimeseriesResponses];
|
|
2825
|
+
export type SpansListData = {
|
|
2826
|
+
body?: never;
|
|
2827
|
+
path: {
|
|
2828
|
+
project_id: number;
|
|
2829
|
+
};
|
|
2830
|
+
query?: {
|
|
2831
|
+
page?: number;
|
|
2832
|
+
per_page?: number;
|
|
2833
|
+
op?: string | null;
|
|
2834
|
+
status?: string | null;
|
|
2835
|
+
trace_id?: string | null;
|
|
2836
|
+
operation_type?: string | null;
|
|
2837
|
+
};
|
|
2838
|
+
url: '/api/projects/{project_id}/spans';
|
|
2839
|
+
};
|
|
2840
|
+
export type SpansListErrors = {
|
|
2841
|
+
401: ErrorResponse;
|
|
2842
|
+
404: ErrorResponse;
|
|
2843
|
+
};
|
|
2844
|
+
export type SpansListError = SpansListErrors[keyof SpansListErrors];
|
|
2845
|
+
export type SpansListResponses = {
|
|
2846
|
+
200: {
|
|
2847
|
+
items: Array<{
|
|
2848
|
+
description: string | null;
|
|
2849
|
+
duration_ms: number | null;
|
|
2850
|
+
environment: string | null;
|
|
2851
|
+
exclusive_time_ms: number | null;
|
|
2852
|
+
gen_ai_agent_name: string | null;
|
|
2853
|
+
gen_ai_conversation_id: string | null;
|
|
2854
|
+
gen_ai_operation_type: string | null;
|
|
2855
|
+
gen_ai_request_model: string | null;
|
|
2856
|
+
gen_ai_response_model: string | null;
|
|
2857
|
+
gen_ai_tool_name: string | null;
|
|
2858
|
+
gen_ai_usage_input_tokens: number | null;
|
|
2859
|
+
gen_ai_usage_output_tokens: number | null;
|
|
2860
|
+
gen_ai_usage_total_tokens: number | null;
|
|
2861
|
+
id: string;
|
|
2862
|
+
is_segment: boolean;
|
|
2863
|
+
op: string | null;
|
|
2864
|
+
parent_span_id: string | null;
|
|
2865
|
+
platform: string | null;
|
|
2866
|
+
release: string | null;
|
|
2867
|
+
segment_id: string | null;
|
|
2868
|
+
span_id: string | null;
|
|
2869
|
+
start_timestamp: string | null;
|
|
2870
|
+
status: string | null;
|
|
2871
|
+
timestamp: string | null;
|
|
2872
|
+
trace_id: string | null;
|
|
2873
|
+
transaction_id: string | null;
|
|
2874
|
+
}>;
|
|
2875
|
+
page: number;
|
|
2876
|
+
per_page: number;
|
|
2877
|
+
total_count: number;
|
|
2878
|
+
total_pages: number;
|
|
2879
|
+
};
|
|
2880
|
+
};
|
|
2881
|
+
export type SpansListResponse = SpansListResponses[keyof SpansListResponses];
|
|
2882
|
+
export type SpansGetData = {
|
|
2883
|
+
body?: never;
|
|
2884
|
+
path: {
|
|
2885
|
+
project_id: number;
|
|
2886
|
+
span_id: string;
|
|
2887
|
+
};
|
|
2888
|
+
query?: never;
|
|
2889
|
+
url: '/api/projects/{project_id}/spans/{span_id}';
|
|
2890
|
+
};
|
|
2891
|
+
export type SpansGetErrors = {
|
|
2892
|
+
401: ErrorResponse;
|
|
2893
|
+
404: ErrorResponse;
|
|
2894
|
+
};
|
|
2895
|
+
export type SpansGetError = SpansGetErrors[keyof SpansGetErrors];
|
|
2896
|
+
export type SpansGetResponses = {
|
|
2897
|
+
200: SpanDetailResponse;
|
|
2898
|
+
};
|
|
2899
|
+
export type SpansGetResponse = SpansGetResponses[keyof SpansGetResponses];
|
|
2900
|
+
export type StatsGetSummaryData = {
|
|
2901
|
+
body?: never;
|
|
2902
|
+
path: {
|
|
2903
|
+
project_id: number;
|
|
2904
|
+
};
|
|
2905
|
+
query?: {
|
|
2906
|
+
period?: string;
|
|
2907
|
+
};
|
|
2908
|
+
url: '/api/projects/{project_id}/stats/summary';
|
|
2909
|
+
};
|
|
2910
|
+
export type StatsGetSummaryErrors = {
|
|
2911
|
+
401: unknown;
|
|
2912
|
+
403: unknown;
|
|
2913
|
+
};
|
|
2914
|
+
export type StatsGetSummaryResponses = {
|
|
2915
|
+
200: ProjectStatsSummary;
|
|
2916
|
+
};
|
|
2917
|
+
export type StatsGetSummaryResponse = StatsGetSummaryResponses[keyof StatsGetSummaryResponses];
|
|
2918
|
+
export type TransactionsListData = {
|
|
2919
|
+
body?: never;
|
|
2920
|
+
path: {
|
|
2921
|
+
project_id: number;
|
|
2922
|
+
};
|
|
2923
|
+
query?: {
|
|
2924
|
+
page?: number;
|
|
2925
|
+
per_page?: number;
|
|
2926
|
+
name?: string | null;
|
|
2927
|
+
op?: string | null;
|
|
2928
|
+
status?: string | null;
|
|
2929
|
+
environment?: string | null;
|
|
2930
|
+
release?: string | null;
|
|
2931
|
+
};
|
|
2932
|
+
url: '/api/projects/{project_id}/transactions';
|
|
2933
|
+
};
|
|
2934
|
+
export type TransactionsListErrors = {
|
|
2935
|
+
401: ErrorResponse;
|
|
2936
|
+
404: ErrorResponse;
|
|
2937
|
+
};
|
|
2938
|
+
export type TransactionsListError = TransactionsListErrors[keyof TransactionsListErrors];
|
|
2939
|
+
export type TransactionsListResponses = {
|
|
2940
|
+
200: {
|
|
2941
|
+
items: Array<{
|
|
2942
|
+
duration_ms: number | null;
|
|
2943
|
+
environment: string;
|
|
2944
|
+
event_id: string;
|
|
2945
|
+
id: string;
|
|
2946
|
+
ingested_at: string;
|
|
2947
|
+
platform: string;
|
|
2948
|
+
release: string;
|
|
2949
|
+
start_timestamp: string | null;
|
|
2950
|
+
timestamp: string;
|
|
2951
|
+
transaction_name: string;
|
|
2952
|
+
}>;
|
|
2953
|
+
page: number;
|
|
2954
|
+
per_page: number;
|
|
2955
|
+
total_count: number;
|
|
2956
|
+
total_pages: number;
|
|
2957
|
+
};
|
|
2958
|
+
};
|
|
2959
|
+
export type TransactionsListResponse = TransactionsListResponses[keyof TransactionsListResponses];
|
|
2960
|
+
export type TransactionsGetStatsData = {
|
|
2961
|
+
body?: never;
|
|
2962
|
+
path: {
|
|
2963
|
+
project_id: number;
|
|
2964
|
+
};
|
|
2965
|
+
query?: {
|
|
2966
|
+
page?: number;
|
|
2967
|
+
per_page?: number;
|
|
2968
|
+
};
|
|
2969
|
+
url: '/api/projects/{project_id}/transactions/stats';
|
|
2970
|
+
};
|
|
2971
|
+
export type TransactionsGetStatsErrors = {
|
|
2972
|
+
401: ErrorResponse;
|
|
2973
|
+
404: ErrorResponse;
|
|
2974
|
+
};
|
|
2975
|
+
export type TransactionsGetStatsError = TransactionsGetStatsErrors[keyof TransactionsGetStatsErrors];
|
|
2976
|
+
export type TransactionsGetStatsResponses = {
|
|
2977
|
+
200: {
|
|
2978
|
+
items: Array<{
|
|
2979
|
+
count: number;
|
|
2980
|
+
failure_rate: number;
|
|
2981
|
+
op: string | null;
|
|
2982
|
+
p50_ms: number;
|
|
2983
|
+
p95_ms: number;
|
|
2984
|
+
p99_ms: number;
|
|
2985
|
+
transaction_name: string;
|
|
2986
|
+
}>;
|
|
2987
|
+
page: number;
|
|
2988
|
+
per_page: number;
|
|
2989
|
+
total_count: number;
|
|
2990
|
+
total_pages: number;
|
|
2991
|
+
};
|
|
2992
|
+
};
|
|
2993
|
+
export type TransactionsGetStatsResponse = TransactionsGetStatsResponses[keyof TransactionsGetStatsResponses];
|
|
2994
|
+
export type TransactionsGetStatGroupData = {
|
|
2995
|
+
body?: never;
|
|
2996
|
+
path: {
|
|
2997
|
+
project_id: number;
|
|
2998
|
+
};
|
|
2999
|
+
query: {
|
|
3000
|
+
name: string;
|
|
3001
|
+
op?: string | null;
|
|
3002
|
+
};
|
|
3003
|
+
url: '/api/projects/{project_id}/transactions/stats/group';
|
|
3004
|
+
};
|
|
3005
|
+
export type TransactionsGetStatGroupErrors = {
|
|
3006
|
+
401: ErrorResponse;
|
|
3007
|
+
404: ErrorResponse;
|
|
3008
|
+
};
|
|
3009
|
+
export type TransactionsGetStatGroupError = TransactionsGetStatGroupErrors[keyof TransactionsGetStatGroupErrors];
|
|
3010
|
+
export type TransactionsGetStatGroupResponses = {
|
|
3011
|
+
200: TransactionStatsResponse;
|
|
3012
|
+
};
|
|
3013
|
+
export type TransactionsGetStatGroupResponse = TransactionsGetStatGroupResponses[keyof TransactionsGetStatGroupResponses];
|
|
3014
|
+
export type TransactionsGetData = {
|
|
3015
|
+
body?: never;
|
|
3016
|
+
path: {
|
|
3017
|
+
project_id: number;
|
|
3018
|
+
transaction_id: string;
|
|
3019
|
+
};
|
|
3020
|
+
query?: never;
|
|
3021
|
+
url: '/api/projects/{project_id}/transactions/{transaction_id}';
|
|
3022
|
+
};
|
|
3023
|
+
export type TransactionsGetErrors = {
|
|
3024
|
+
401: ErrorResponse;
|
|
3025
|
+
404: ErrorResponse;
|
|
3026
|
+
};
|
|
3027
|
+
export type TransactionsGetError = TransactionsGetErrors[keyof TransactionsGetErrors];
|
|
3028
|
+
export type TransactionsGetResponses = {
|
|
3029
|
+
200: TransactionDetailResponse;
|
|
3030
|
+
};
|
|
3031
|
+
export type TransactionsGetResponse = TransactionsGetResponses[keyof TransactionsGetResponses];
|
|
3032
|
+
export type TransactionsGetSpansData = {
|
|
3033
|
+
body?: never;
|
|
3034
|
+
path: {
|
|
3035
|
+
project_id: number;
|
|
3036
|
+
transaction_id: string;
|
|
3037
|
+
};
|
|
3038
|
+
query?: never;
|
|
3039
|
+
url: '/api/projects/{project_id}/transactions/{transaction_id}/spans';
|
|
3040
|
+
};
|
|
3041
|
+
export type TransactionsGetSpansErrors = {
|
|
3042
|
+
401: ErrorResponse;
|
|
3043
|
+
404: ErrorResponse;
|
|
3044
|
+
};
|
|
3045
|
+
export type TransactionsGetSpansError = TransactionsGetSpansErrors[keyof TransactionsGetSpansErrors];
|
|
3046
|
+
export type TransactionsGetSpansResponses = {
|
|
3047
|
+
200: Array<{
|
|
3048
|
+
description: string | null;
|
|
3049
|
+
duration_ms: number | null;
|
|
3050
|
+
environment: string | null;
|
|
3051
|
+
exclusive_time_ms: number | null;
|
|
3052
|
+
gen_ai_agent_name: string | null;
|
|
3053
|
+
gen_ai_conversation_id: string | null;
|
|
3054
|
+
gen_ai_operation_type: string | null;
|
|
3055
|
+
gen_ai_request_model: string | null;
|
|
3056
|
+
gen_ai_response_model: string | null;
|
|
3057
|
+
gen_ai_tool_name: string | null;
|
|
3058
|
+
gen_ai_usage_input_tokens: number | null;
|
|
3059
|
+
gen_ai_usage_output_tokens: number | null;
|
|
3060
|
+
gen_ai_usage_total_tokens: number | null;
|
|
3061
|
+
id: string;
|
|
3062
|
+
is_segment: boolean;
|
|
3063
|
+
op: string | null;
|
|
3064
|
+
parent_span_id: string | null;
|
|
3065
|
+
platform: string | null;
|
|
3066
|
+
release: string | null;
|
|
3067
|
+
segment_id: string | null;
|
|
3068
|
+
span_id: string | null;
|
|
3069
|
+
start_timestamp: string | null;
|
|
3070
|
+
status: string | null;
|
|
3071
|
+
timestamp: string | null;
|
|
3072
|
+
trace_id: string | null;
|
|
3073
|
+
transaction_id: string | null;
|
|
3074
|
+
}>;
|
|
3075
|
+
};
|
|
3076
|
+
export type TransactionsGetSpansResponse = TransactionsGetSpansResponses[keyof TransactionsGetSpansResponses];
|
|
3077
|
+
export type ProjectsGetRateLimitsData = {
|
|
3078
|
+
body?: never;
|
|
3079
|
+
path?: never;
|
|
3080
|
+
query?: never;
|
|
3081
|
+
url: '/api/rate-limits';
|
|
3082
|
+
};
|
|
3083
|
+
export type ProjectsGetRateLimitsErrors = {
|
|
3084
|
+
401: ErrorResponse;
|
|
3085
|
+
};
|
|
3086
|
+
export type ProjectsGetRateLimitsError = ProjectsGetRateLimitsErrors[keyof ProjectsGetRateLimitsErrors];
|
|
3087
|
+
export type ProjectsGetRateLimitsResponses = {
|
|
3088
|
+
200: RateLimitsResponse;
|
|
3089
|
+
};
|
|
3090
|
+
export type ProjectsGetRateLimitsResponse = ProjectsGetRateLimitsResponses[keyof ProjectsGetRateLimitsResponses];
|
|
3091
|
+
export type SchedulesPreviewData = {
|
|
3092
|
+
body: PreviewSchedule;
|
|
3093
|
+
path?: never;
|
|
3094
|
+
query?: never;
|
|
3095
|
+
url: '/api/schedules/preview';
|
|
3096
|
+
};
|
|
3097
|
+
export type SchedulesPreviewErrors = {
|
|
3098
|
+
400: ErrorResponse;
|
|
3099
|
+
401: ErrorResponse;
|
|
3100
|
+
};
|
|
3101
|
+
export type SchedulesPreviewError = SchedulesPreviewErrors[keyof SchedulesPreviewErrors];
|
|
3102
|
+
export type SchedulesPreviewResponses = {
|
|
3103
|
+
200: SchedulePreview;
|
|
3104
|
+
};
|
|
3105
|
+
export type SchedulesPreviewResponse = SchedulesPreviewResponses[keyof SchedulesPreviewResponses];
|
|
3106
|
+
export type SettingsGetMcpData = {
|
|
3107
|
+
body?: never;
|
|
3108
|
+
path?: never;
|
|
3109
|
+
query?: never;
|
|
3110
|
+
url: '/api/settings/mcp';
|
|
3111
|
+
};
|
|
3112
|
+
export type SettingsGetMcpErrors = {
|
|
3113
|
+
401: ErrorResponse;
|
|
3114
|
+
};
|
|
3115
|
+
export type SettingsGetMcpError = SettingsGetMcpErrors[keyof SettingsGetMcpErrors];
|
|
3116
|
+
export type SettingsGetMcpResponses = {
|
|
3117
|
+
200: McpStatus;
|
|
3118
|
+
};
|
|
3119
|
+
export type SettingsGetMcpResponse = SettingsGetMcpResponses[keyof SettingsGetMcpResponses];
|
|
3120
|
+
export type SettingsUpdateMcpData = {
|
|
3121
|
+
body: McpSettings;
|
|
3122
|
+
path?: never;
|
|
3123
|
+
query?: never;
|
|
3124
|
+
url: '/api/settings/mcp';
|
|
3125
|
+
};
|
|
3126
|
+
export type SettingsUpdateMcpErrors = {
|
|
3127
|
+
401: ErrorResponse;
|
|
3128
|
+
403: ErrorResponse;
|
|
3129
|
+
};
|
|
3130
|
+
export type SettingsUpdateMcpError = SettingsUpdateMcpErrors[keyof SettingsUpdateMcpErrors];
|
|
3131
|
+
export type SettingsUpdateMcpResponses = {
|
|
3132
|
+
200: McpStatus;
|
|
3133
|
+
};
|
|
3134
|
+
export type SettingsUpdateMcpResponse = SettingsUpdateMcpResponses[keyof SettingsUpdateMcpResponses];
|
|
3135
|
+
export type StorageGetAgeData = {
|
|
3136
|
+
body?: never;
|
|
3137
|
+
path?: never;
|
|
3138
|
+
query?: never;
|
|
3139
|
+
url: '/api/storage/age';
|
|
3140
|
+
};
|
|
3141
|
+
export type StorageGetAgeErrors = {
|
|
3142
|
+
403: ErrorResponse;
|
|
3143
|
+
};
|
|
3144
|
+
export type StorageGetAgeError = StorageGetAgeErrors[keyof StorageGetAgeErrors];
|
|
3145
|
+
export type StorageGetAgeResponses = {
|
|
3146
|
+
200: StorageAge;
|
|
3147
|
+
};
|
|
3148
|
+
export type StorageGetAgeResponse = StorageGetAgeResponses[keyof StorageGetAgeResponses];
|
|
3149
|
+
export type StorageExecuteCleanupData = {
|
|
3150
|
+
body: CleanupRequest;
|
|
3151
|
+
path?: never;
|
|
3152
|
+
query?: never;
|
|
3153
|
+
url: '/api/storage/cleanup';
|
|
3154
|
+
};
|
|
3155
|
+
export type StorageExecuteCleanupErrors = {
|
|
3156
|
+
400: ErrorResponse;
|
|
3157
|
+
403: ErrorResponse;
|
|
3158
|
+
409: ErrorResponse;
|
|
3159
|
+
};
|
|
3160
|
+
export type StorageExecuteCleanupError = StorageExecuteCleanupErrors[keyof StorageExecuteCleanupErrors];
|
|
3161
|
+
export type StorageExecuteCleanupResponses = {
|
|
3162
|
+
202: CleanupStatus;
|
|
3163
|
+
};
|
|
3164
|
+
export type StorageExecuteCleanupResponse = StorageExecuteCleanupResponses[keyof StorageExecuteCleanupResponses];
|
|
3165
|
+
export type StoragePreviewCleanupData = {
|
|
3166
|
+
body: CleanupRequest;
|
|
3167
|
+
path?: never;
|
|
3168
|
+
query?: never;
|
|
3169
|
+
url: '/api/storage/cleanup/preview';
|
|
3170
|
+
};
|
|
3171
|
+
export type StoragePreviewCleanupErrors = {
|
|
3172
|
+
403: ErrorResponse;
|
|
3173
|
+
};
|
|
3174
|
+
export type StoragePreviewCleanupError = StoragePreviewCleanupErrors[keyof StoragePreviewCleanupErrors];
|
|
3175
|
+
export type StoragePreviewCleanupResponses = {
|
|
3176
|
+
200: CleanupCounts;
|
|
3177
|
+
};
|
|
3178
|
+
export type StoragePreviewCleanupResponse = StoragePreviewCleanupResponses[keyof StoragePreviewCleanupResponses];
|
|
3179
|
+
export type StorageGetCleanupStatusData = {
|
|
3180
|
+
body?: never;
|
|
3181
|
+
path?: never;
|
|
3182
|
+
query?: never;
|
|
3183
|
+
url: '/api/storage/cleanup/status';
|
|
3184
|
+
};
|
|
3185
|
+
export type StorageGetCleanupStatusErrors = {
|
|
3186
|
+
403: ErrorResponse;
|
|
3187
|
+
};
|
|
3188
|
+
export type StorageGetCleanupStatusError = StorageGetCleanupStatusErrors[keyof StorageGetCleanupStatusErrors];
|
|
3189
|
+
export type StorageGetCleanupStatusResponses = {
|
|
3190
|
+
200: CleanupStatus;
|
|
3191
|
+
};
|
|
3192
|
+
export type StorageGetCleanupStatusResponse = StorageGetCleanupStatusResponses[keyof StorageGetCleanupStatusResponses];
|
|
3193
|
+
export type StorageGetProjectsData = {
|
|
3194
|
+
body?: never;
|
|
3195
|
+
path?: never;
|
|
3196
|
+
query?: never;
|
|
3197
|
+
url: '/api/storage/projects';
|
|
3198
|
+
};
|
|
3199
|
+
export type StorageGetProjectsErrors = {
|
|
3200
|
+
403: ErrorResponse;
|
|
3201
|
+
};
|
|
3202
|
+
export type StorageGetProjectsError = StorageGetProjectsErrors[keyof StorageGetProjectsErrors];
|
|
3203
|
+
export type StorageGetProjectsResponses = {
|
|
3204
|
+
200: Array<{
|
|
3205
|
+
estimated_bytes: number;
|
|
3206
|
+
events_bytes: number;
|
|
3207
|
+
events_count: number;
|
|
3208
|
+
logs_bytes: number;
|
|
3209
|
+
logs_count: number;
|
|
3210
|
+
project_id: number;
|
|
3211
|
+
project_name: string;
|
|
3212
|
+
source_maps_count: number;
|
|
3213
|
+
spans_count: number;
|
|
3214
|
+
transactions_bytes: number;
|
|
3215
|
+
transactions_count: number;
|
|
3216
|
+
}>;
|
|
3217
|
+
};
|
|
3218
|
+
export type StorageGetProjectsResponse = StorageGetProjectsResponses[keyof StorageGetProjectsResponses];
|
|
3219
|
+
export type StorageGetRetentionData = {
|
|
3220
|
+
body?: never;
|
|
3221
|
+
path?: never;
|
|
3222
|
+
query?: never;
|
|
3223
|
+
url: '/api/storage/retention';
|
|
3224
|
+
};
|
|
3225
|
+
export type StorageGetRetentionErrors = {
|
|
3226
|
+
401: ErrorResponse;
|
|
3227
|
+
403: ErrorResponse;
|
|
3228
|
+
};
|
|
3229
|
+
export type StorageGetRetentionError = StorageGetRetentionErrors[keyof StorageGetRetentionErrors];
|
|
3230
|
+
export type StorageGetRetentionResponses = {
|
|
3231
|
+
200: RetentionResponse;
|
|
3232
|
+
};
|
|
3233
|
+
export type StorageGetRetentionResponse = StorageGetRetentionResponses[keyof StorageGetRetentionResponses];
|
|
3234
|
+
export type StorageUpdateRetentionData = {
|
|
3235
|
+
body: RetentionSettings;
|
|
3236
|
+
path?: never;
|
|
3237
|
+
query?: never;
|
|
3238
|
+
url: '/api/storage/retention';
|
|
3239
|
+
};
|
|
3240
|
+
export type StorageUpdateRetentionErrors = {
|
|
3241
|
+
400: ErrorResponse;
|
|
3242
|
+
401: ErrorResponse;
|
|
3243
|
+
403: ErrorResponse;
|
|
3244
|
+
};
|
|
3245
|
+
export type StorageUpdateRetentionError = StorageUpdateRetentionErrors[keyof StorageUpdateRetentionErrors];
|
|
3246
|
+
export type StorageUpdateRetentionResponses = {
|
|
3247
|
+
200: RetentionResponse;
|
|
3248
|
+
};
|
|
3249
|
+
export type StorageUpdateRetentionResponse = StorageUpdateRetentionResponses[keyof StorageUpdateRetentionResponses];
|
|
3250
|
+
export type StoragePreviewRetentionData = {
|
|
3251
|
+
body: RetentionSettings;
|
|
3252
|
+
path?: never;
|
|
3253
|
+
query?: never;
|
|
3254
|
+
url: '/api/storage/retention/preview';
|
|
3255
|
+
};
|
|
3256
|
+
export type StoragePreviewRetentionErrors = {
|
|
3257
|
+
400: ErrorResponse;
|
|
3258
|
+
403: ErrorResponse;
|
|
3259
|
+
};
|
|
3260
|
+
export type StoragePreviewRetentionError = StoragePreviewRetentionErrors[keyof StoragePreviewRetentionErrors];
|
|
3261
|
+
export type StoragePreviewRetentionResponses = {
|
|
3262
|
+
200: CleanupCounts;
|
|
3263
|
+
};
|
|
3264
|
+
export type StoragePreviewRetentionResponse = StoragePreviewRetentionResponses[keyof StoragePreviewRetentionResponses];
|
|
3265
|
+
export type StorageRunRetentionData = {
|
|
3266
|
+
body?: never;
|
|
3267
|
+
path?: never;
|
|
3268
|
+
query?: never;
|
|
3269
|
+
url: '/api/storage/retention/run';
|
|
3270
|
+
};
|
|
3271
|
+
export type StorageRunRetentionErrors = {
|
|
3272
|
+
400: ErrorResponse;
|
|
3273
|
+
403: ErrorResponse;
|
|
3274
|
+
409: ErrorResponse;
|
|
3275
|
+
};
|
|
3276
|
+
export type StorageRunRetentionError = StorageRunRetentionErrors[keyof StorageRunRetentionErrors];
|
|
3277
|
+
export type StorageRunRetentionResponses = {
|
|
3278
|
+
202: CleanupStatus;
|
|
3279
|
+
};
|
|
3280
|
+
export type StorageRunRetentionResponse = StorageRunRetentionResponses[keyof StorageRunRetentionResponses];
|
|
3281
|
+
export type StorageGcSourceMapsData = {
|
|
3282
|
+
body?: never;
|
|
3283
|
+
path?: never;
|
|
3284
|
+
query?: never;
|
|
3285
|
+
url: '/api/storage/source-maps/gc';
|
|
3286
|
+
};
|
|
3287
|
+
export type StorageGcSourceMapsErrors = {
|
|
3288
|
+
403: ErrorResponse;
|
|
3289
|
+
};
|
|
3290
|
+
export type StorageGcSourceMapsError = StorageGcSourceMapsErrors[keyof StorageGcSourceMapsErrors];
|
|
3291
|
+
export type StorageGcSourceMapsResponses = {
|
|
3292
|
+
200: SourceMapGcResult;
|
|
3293
|
+
};
|
|
3294
|
+
export type StorageGcSourceMapsResponse = StorageGcSourceMapsResponses[keyof StorageGcSourceMapsResponses];
|
|
3295
|
+
export type StoragePreviewSourceMapGcData = {
|
|
3296
|
+
body?: never;
|
|
3297
|
+
path?: never;
|
|
3298
|
+
query?: never;
|
|
3299
|
+
url: '/api/storage/source-maps/gc/preview';
|
|
3300
|
+
};
|
|
3301
|
+
export type StoragePreviewSourceMapGcErrors = {
|
|
3302
|
+
403: ErrorResponse;
|
|
3303
|
+
};
|
|
3304
|
+
export type StoragePreviewSourceMapGcError = StoragePreviewSourceMapGcErrors[keyof StoragePreviewSourceMapGcErrors];
|
|
3305
|
+
export type StoragePreviewSourceMapGcResponses = {
|
|
3306
|
+
200: SourceMapGcResult;
|
|
3307
|
+
};
|
|
3308
|
+
export type StoragePreviewSourceMapGcResponse = StoragePreviewSourceMapGcResponses[keyof StoragePreviewSourceMapGcResponses];
|
|
3309
|
+
export type StorageGetSummaryData = {
|
|
3310
|
+
body?: never;
|
|
3311
|
+
path?: never;
|
|
3312
|
+
query?: never;
|
|
3313
|
+
url: '/api/storage/summary';
|
|
3314
|
+
};
|
|
3315
|
+
export type StorageGetSummaryErrors = {
|
|
3316
|
+
403: ErrorResponse;
|
|
3317
|
+
};
|
|
3318
|
+
export type StorageGetSummaryError = StorageGetSummaryErrors[keyof StorageGetSummaryErrors];
|
|
3319
|
+
export type StorageGetSummaryResponses = {
|
|
3320
|
+
200: StorageSummary;
|
|
3321
|
+
};
|
|
3322
|
+
export type StorageGetSummaryResponse = StorageGetSummaryResponses[keyof StorageGetSummaryResponses];
|
|
3323
|
+
export type TeamListData = {
|
|
3324
|
+
body?: never;
|
|
3325
|
+
path?: never;
|
|
3326
|
+
query?: never;
|
|
3327
|
+
url: '/api/team';
|
|
3328
|
+
};
|
|
3329
|
+
export type TeamListErrors = {
|
|
3330
|
+
401: ErrorResponse;
|
|
3331
|
+
403: ErrorResponse;
|
|
3332
|
+
};
|
|
3333
|
+
export type TeamListError = TeamListErrors[keyof TeamListErrors];
|
|
3334
|
+
export type TeamListResponses = {
|
|
3335
|
+
200: Array<TeamMemberResponse>;
|
|
3336
|
+
};
|
|
3337
|
+
export type TeamListResponse = TeamListResponses[keyof TeamListResponses];
|
|
3338
|
+
export type TeamDeleteUserData = {
|
|
3339
|
+
body?: never;
|
|
3340
|
+
path: {
|
|
3341
|
+
user_id: number;
|
|
3342
|
+
};
|
|
3343
|
+
query?: never;
|
|
3344
|
+
url: '/api/team/{user_id}';
|
|
3345
|
+
};
|
|
3346
|
+
export type TeamDeleteUserErrors = {
|
|
3347
|
+
401: ErrorResponse;
|
|
3348
|
+
403: ErrorResponse;
|
|
3349
|
+
404: ErrorResponse;
|
|
3350
|
+
409: ErrorResponse;
|
|
3351
|
+
};
|
|
3352
|
+
export type TeamDeleteUserError = TeamDeleteUserErrors[keyof TeamDeleteUserErrors];
|
|
3353
|
+
export type TeamDeleteUserResponses = {
|
|
3354
|
+
204: void;
|
|
3355
|
+
};
|
|
3356
|
+
export type TeamDeleteUserResponse = TeamDeleteUserResponses[keyof TeamDeleteUserResponses];
|
|
3357
|
+
export type TeamUpdateRoleData = {
|
|
3358
|
+
body: UpdateUserRole;
|
|
3359
|
+
path: {
|
|
3360
|
+
user_id: number;
|
|
3361
|
+
};
|
|
3362
|
+
query?: never;
|
|
3363
|
+
url: '/api/team/{user_id}/role';
|
|
3364
|
+
};
|
|
3365
|
+
export type TeamUpdateRoleErrors = {
|
|
3366
|
+
400: ErrorResponse;
|
|
3367
|
+
401: ErrorResponse;
|
|
3368
|
+
403: ErrorResponse;
|
|
3369
|
+
404: ErrorResponse;
|
|
3370
|
+
409: ErrorResponse;
|
|
3371
|
+
};
|
|
3372
|
+
export type TeamUpdateRoleError = TeamUpdateRoleErrors[keyof TeamUpdateRoleErrors];
|
|
3373
|
+
export type TeamUpdateRoleResponses = {
|
|
3374
|
+
204: void;
|
|
3375
|
+
};
|
|
3376
|
+
export type TeamUpdateRoleResponse = TeamUpdateRoleResponses[keyof TeamUpdateRoleResponses];
|
|
3377
|
+
export type TelemetryPreviewData = {
|
|
3378
|
+
body?: never;
|
|
3379
|
+
path?: never;
|
|
3380
|
+
query?: never;
|
|
3381
|
+
url: '/api/telemetry/preview';
|
|
3382
|
+
};
|
|
3383
|
+
export type TelemetryPreviewErrors = {
|
|
3384
|
+
401: ErrorResponse;
|
|
3385
|
+
403: ErrorResponse;
|
|
3386
|
+
};
|
|
3387
|
+
export type TelemetryPreviewError = TelemetryPreviewErrors[keyof TelemetryPreviewErrors];
|
|
3388
|
+
export type TelemetryPreviewResponses = {
|
|
3389
|
+
200: TelemetryPreview;
|
|
3390
|
+
};
|
|
3391
|
+
export type TelemetryPreviewResponse = TelemetryPreviewResponses[keyof TelemetryPreviewResponses];
|
|
3392
|
+
export type TokensListData = {
|
|
3393
|
+
body?: never;
|
|
3394
|
+
path?: never;
|
|
3395
|
+
query?: never;
|
|
3396
|
+
url: '/api/tokens';
|
|
3397
|
+
};
|
|
3398
|
+
export type TokensListErrors = {
|
|
3399
|
+
401: ErrorResponse;
|
|
3400
|
+
};
|
|
3401
|
+
export type TokensListError = TokensListErrors[keyof TokensListErrors];
|
|
3402
|
+
export type TokensListResponses = {
|
|
3403
|
+
200: Array<AuthTokenResponse>;
|
|
3404
|
+
};
|
|
3405
|
+
export type TokensListResponse = TokensListResponses[keyof TokensListResponses];
|
|
3406
|
+
export type TokensCreateData = {
|
|
3407
|
+
body: CreateAuthToken;
|
|
3408
|
+
path?: never;
|
|
3409
|
+
query?: never;
|
|
3410
|
+
url: '/api/tokens';
|
|
3411
|
+
};
|
|
3412
|
+
export type TokensCreateErrors = {
|
|
3413
|
+
401: ErrorResponse;
|
|
3414
|
+
};
|
|
3415
|
+
export type TokensCreateError = TokensCreateErrors[keyof TokensCreateErrors];
|
|
3416
|
+
export type TokensCreateResponses = {
|
|
3417
|
+
201: AuthTokenCreatedResponse;
|
|
3418
|
+
};
|
|
3419
|
+
export type TokensCreateResponse = TokensCreateResponses[keyof TokensCreateResponses];
|
|
3420
|
+
export type TokensDeleteData = {
|
|
3421
|
+
body?: never;
|
|
3422
|
+
path: {
|
|
3423
|
+
id: number;
|
|
3424
|
+
};
|
|
3425
|
+
query?: never;
|
|
3426
|
+
url: '/api/tokens/{id}';
|
|
3427
|
+
};
|
|
3428
|
+
export type TokensDeleteErrors = {
|
|
3429
|
+
401: ErrorResponse;
|
|
3430
|
+
403: ErrorResponse;
|
|
3431
|
+
404: ErrorResponse;
|
|
3432
|
+
};
|
|
3433
|
+
export type TokensDeleteError = TokensDeleteErrors[keyof TokensDeleteErrors];
|
|
3434
|
+
export type TokensDeleteResponses = {
|
|
3435
|
+
204: void;
|
|
3436
|
+
};
|
|
3437
|
+
export type TokensDeleteResponse = TokensDeleteResponses[keyof TokensDeleteResponses];
|
|
3438
|
+
export type TokensGetData = {
|
|
3439
|
+
body?: never;
|
|
3440
|
+
path: {
|
|
3441
|
+
id: number;
|
|
3442
|
+
};
|
|
3443
|
+
query?: never;
|
|
3444
|
+
url: '/api/tokens/{id}';
|
|
3445
|
+
};
|
|
3446
|
+
export type TokensGetErrors = {
|
|
3447
|
+
401: ErrorResponse;
|
|
3448
|
+
403: ErrorResponse;
|
|
3449
|
+
404: ErrorResponse;
|
|
3450
|
+
};
|
|
3451
|
+
export type TokensGetError = TokensGetErrors[keyof TokensGetErrors];
|
|
3452
|
+
export type TokensGetResponses = {
|
|
3453
|
+
200: AuthTokenCreatedResponse;
|
|
3454
|
+
};
|
|
3455
|
+
export type TokensGetResponse = TokensGetResponses[keyof TokensGetResponses];
|
|
3456
|
+
export type AuthAcceptInvitationData = {
|
|
3457
|
+
body: AcceptInvitation;
|
|
3458
|
+
path?: never;
|
|
3459
|
+
query?: never;
|
|
3460
|
+
url: '/auth/accept-invitation';
|
|
3461
|
+
};
|
|
3462
|
+
export type AuthAcceptInvitationErrors = {
|
|
3463
|
+
400: ErrorResponse;
|
|
3464
|
+
};
|
|
3465
|
+
export type AuthAcceptInvitationError = AuthAcceptInvitationErrors[keyof AuthAcceptInvitationErrors];
|
|
3466
|
+
export type AuthAcceptInvitationResponses = {
|
|
3467
|
+
201: AuthResponse;
|
|
3468
|
+
};
|
|
3469
|
+
export type AuthAcceptInvitationResponse = AuthAcceptInvitationResponses[keyof AuthAcceptInvitationResponses];
|
|
3470
|
+
export type AuthGetInvitationData = {
|
|
3471
|
+
body?: never;
|
|
3472
|
+
path: {
|
|
3473
|
+
token: string;
|
|
3474
|
+
};
|
|
3475
|
+
query?: never;
|
|
3476
|
+
url: '/auth/invitation/{token}';
|
|
3477
|
+
};
|
|
3478
|
+
export type AuthGetInvitationErrors = {
|
|
3479
|
+
400: ErrorResponse;
|
|
3480
|
+
404: ErrorResponse;
|
|
3481
|
+
};
|
|
3482
|
+
export type AuthGetInvitationError = AuthGetInvitationErrors[keyof AuthGetInvitationErrors];
|
|
3483
|
+
export type AuthGetInvitationResponses = {
|
|
3484
|
+
200: InvitationInfoResponse;
|
|
3485
|
+
};
|
|
3486
|
+
export type AuthGetInvitationResponse = AuthGetInvitationResponses[keyof AuthGetInvitationResponses];
|
|
3487
|
+
export type AuthLoginData = {
|
|
3488
|
+
body: LoginRequest;
|
|
3489
|
+
path?: never;
|
|
3490
|
+
query?: never;
|
|
3491
|
+
url: '/auth/login';
|
|
3492
|
+
};
|
|
3493
|
+
export type AuthLoginErrors = {
|
|
3494
|
+
401: ErrorResponse;
|
|
3495
|
+
};
|
|
3496
|
+
export type AuthLoginError = AuthLoginErrors[keyof AuthLoginErrors];
|
|
3497
|
+
export type AuthLoginResponses = {
|
|
3498
|
+
200: AuthResponse;
|
|
3499
|
+
};
|
|
3500
|
+
export type AuthLoginResponse = AuthLoginResponses[keyof AuthLoginResponses];
|
|
3501
|
+
export type AuthLogoutData = {
|
|
3502
|
+
body?: never;
|
|
3503
|
+
path?: never;
|
|
3504
|
+
query?: never;
|
|
3505
|
+
url: '/auth/logout';
|
|
3506
|
+
};
|
|
3507
|
+
export type AuthLogoutResponses = {
|
|
3508
|
+
204: void;
|
|
3509
|
+
};
|
|
3510
|
+
export type AuthLogoutResponse = AuthLogoutResponses[keyof AuthLogoutResponses];
|
|
3511
|
+
export type AuthGetCurrentUserData = {
|
|
3512
|
+
body?: never;
|
|
3513
|
+
path?: never;
|
|
3514
|
+
query?: never;
|
|
3515
|
+
url: '/auth/me';
|
|
3516
|
+
};
|
|
3517
|
+
export type AuthGetCurrentUserErrors = {
|
|
3518
|
+
401: ErrorResponse;
|
|
3519
|
+
};
|
|
3520
|
+
export type AuthGetCurrentUserError = AuthGetCurrentUserErrors[keyof AuthGetCurrentUserErrors];
|
|
3521
|
+
export type AuthGetCurrentUserResponses = {
|
|
3522
|
+
200: UserResponse;
|
|
3523
|
+
};
|
|
3524
|
+
export type AuthGetCurrentUserResponse = AuthGetCurrentUserResponses[keyof AuthGetCurrentUserResponses];
|
|
3525
|
+
export type AuthUpdateCurrentUserData = {
|
|
3526
|
+
body: UpdatePreferencesRequest;
|
|
3527
|
+
path?: never;
|
|
3528
|
+
query?: never;
|
|
3529
|
+
url: '/auth/me';
|
|
3530
|
+
};
|
|
3531
|
+
export type AuthUpdateCurrentUserErrors = {
|
|
3532
|
+
400: ErrorResponse;
|
|
3533
|
+
401: ErrorResponse;
|
|
3534
|
+
};
|
|
3535
|
+
export type AuthUpdateCurrentUserError = AuthUpdateCurrentUserErrors[keyof AuthUpdateCurrentUserErrors];
|
|
3536
|
+
export type AuthUpdateCurrentUserResponses = {
|
|
3537
|
+
200: UserResponse;
|
|
3538
|
+
};
|
|
3539
|
+
export type AuthUpdateCurrentUserResponse = AuthUpdateCurrentUserResponses[keyof AuthUpdateCurrentUserResponses];
|
|
3540
|
+
export type AuthChangePasswordData = {
|
|
3541
|
+
body: ChangePasswordRequest;
|
|
3542
|
+
path?: never;
|
|
3543
|
+
query?: never;
|
|
3544
|
+
url: '/auth/me/password';
|
|
3545
|
+
};
|
|
3546
|
+
export type AuthChangePasswordErrors = {
|
|
3547
|
+
400: ErrorResponse;
|
|
3548
|
+
401: ErrorResponse;
|
|
3549
|
+
};
|
|
3550
|
+
export type AuthChangePasswordError = AuthChangePasswordErrors[keyof AuthChangePasswordErrors];
|
|
3551
|
+
export type AuthChangePasswordResponses = {
|
|
3552
|
+
204: void;
|
|
3553
|
+
};
|
|
3554
|
+
export type AuthChangePasswordResponse = AuthChangePasswordResponses[keyof AuthChangePasswordResponses];
|
|
3555
|
+
export type AuthRegisterData = {
|
|
3556
|
+
body: CreateUserRequest;
|
|
3557
|
+
path?: never;
|
|
3558
|
+
query?: never;
|
|
3559
|
+
url: '/auth/register';
|
|
3560
|
+
};
|
|
3561
|
+
export type AuthRegisterErrors = {
|
|
3562
|
+
403: ErrorResponse;
|
|
3563
|
+
};
|
|
3564
|
+
export type AuthRegisterError = AuthRegisterErrors[keyof AuthRegisterErrors];
|
|
3565
|
+
export type AuthSsoCallbackData = {
|
|
3566
|
+
body?: never;
|
|
3567
|
+
path?: never;
|
|
3568
|
+
query?: {
|
|
3569
|
+
code?: string | null;
|
|
3570
|
+
state?: string | null;
|
|
3571
|
+
error?: string | null;
|
|
3572
|
+
};
|
|
3573
|
+
url: '/auth/sso/callback';
|
|
3574
|
+
};
|
|
3575
|
+
export type AuthSsoCallbackErrors = {
|
|
3576
|
+
401: ErrorResponse;
|
|
3577
|
+
403: ErrorResponse;
|
|
3578
|
+
404: ErrorResponse;
|
|
3579
|
+
409: ErrorResponse;
|
|
3580
|
+
};
|
|
3581
|
+
export type AuthSsoCallbackError = AuthSsoCallbackErrors[keyof AuthSsoCallbackErrors];
|
|
3582
|
+
export type AuthSsoCallbackResponses = {
|
|
3583
|
+
200: AuthResponse;
|
|
3584
|
+
};
|
|
3585
|
+
export type AuthSsoCallbackResponse = AuthSsoCallbackResponses[keyof AuthSsoCallbackResponses];
|
|
3586
|
+
export type AuthSsoConfigData = {
|
|
3587
|
+
body?: never;
|
|
3588
|
+
path?: never;
|
|
3589
|
+
query?: never;
|
|
3590
|
+
url: '/auth/sso/config';
|
|
3591
|
+
};
|
|
3592
|
+
export type AuthSsoConfigResponses = {
|
|
3593
|
+
200: SsoConfigResponse;
|
|
3594
|
+
};
|
|
3595
|
+
export type AuthSsoConfigResponse = AuthSsoConfigResponses[keyof AuthSsoConfigResponses];
|
|
3596
|
+
export type AuthSsoLinkData = {
|
|
3597
|
+
body?: never;
|
|
3598
|
+
path?: never;
|
|
3599
|
+
query?: never;
|
|
3600
|
+
url: '/auth/sso/link';
|
|
3601
|
+
};
|
|
3602
|
+
export type AuthSsoLinkErrors = {
|
|
3603
|
+
404: ErrorResponse;
|
|
3604
|
+
};
|
|
3605
|
+
export type AuthSsoLinkError = AuthSsoLinkErrors[keyof AuthSsoLinkErrors];
|
|
3606
|
+
export type AuthSsoLinkResponses = {
|
|
3607
|
+
200: SsoLinkResponse;
|
|
3608
|
+
};
|
|
3609
|
+
export type AuthSsoLinkResponse = AuthSsoLinkResponses[keyof AuthSsoLinkResponses];
|
|
3610
|
+
export type AuthConfirmSsoLinkData = {
|
|
3611
|
+
body: ConfirmSsoLinkRequest;
|
|
3612
|
+
path?: never;
|
|
3613
|
+
query?: never;
|
|
3614
|
+
url: '/auth/sso/link';
|
|
3615
|
+
};
|
|
3616
|
+
export type AuthConfirmSsoLinkErrors = {
|
|
3617
|
+
401: ErrorResponse;
|
|
3618
|
+
404: ErrorResponse;
|
|
3619
|
+
409: ErrorResponse;
|
|
3620
|
+
};
|
|
3621
|
+
export type AuthConfirmSsoLinkError = AuthConfirmSsoLinkErrors[keyof AuthConfirmSsoLinkErrors];
|
|
3622
|
+
export type AuthConfirmSsoLinkResponses = {
|
|
3623
|
+
200: AuthResponse;
|
|
3624
|
+
};
|
|
3625
|
+
export type AuthConfirmSsoLinkResponse = AuthConfirmSsoLinkResponses[keyof AuthConfirmSsoLinkResponses];
|
|
3626
|
+
export type AuthSsoStartData = {
|
|
3627
|
+
body?: never;
|
|
3628
|
+
path?: never;
|
|
3629
|
+
query?: never;
|
|
3630
|
+
url: '/auth/sso/start';
|
|
3631
|
+
};
|
|
3632
|
+
export type AuthSsoStartErrors = {
|
|
3633
|
+
404: ErrorResponse;
|
|
3634
|
+
};
|
|
3635
|
+
export type AuthSsoStartError = AuthSsoStartErrors[keyof AuthSsoStartErrors];
|
|
3636
|
+
export type AuthSsoStartResponses = {
|
|
3637
|
+
200: SsoStartResponse;
|
|
3638
|
+
};
|
|
3639
|
+
export type AuthSsoStartResponse = AuthSsoStartResponses[keyof AuthSsoStartResponses];
|
|
3640
|
+
export type HealthLivenessData = {
|
|
3641
|
+
body?: never;
|
|
3642
|
+
path?: never;
|
|
3643
|
+
query?: never;
|
|
3644
|
+
url: '/health';
|
|
3645
|
+
};
|
|
3646
|
+
export type HealthLivenessResponses = {
|
|
3647
|
+
200: LivenessResponse;
|
|
3648
|
+
};
|
|
3649
|
+
export type HealthLivenessResponse = HealthLivenessResponses[keyof HealthLivenessResponses];
|
|
3650
|
+
export type HealthReadinessData = {
|
|
3651
|
+
body?: never;
|
|
3652
|
+
path?: never;
|
|
3653
|
+
query?: never;
|
|
3654
|
+
url: '/health/ready';
|
|
3655
|
+
};
|
|
3656
|
+
export type HealthReadinessErrors = {
|
|
3657
|
+
503: ReadinessResponse;
|
|
3658
|
+
};
|
|
3659
|
+
export type HealthReadinessError = HealthReadinessErrors[keyof HealthReadinessErrors];
|
|
3660
|
+
export type HealthReadinessResponses = {
|
|
3661
|
+
200: ReadinessResponse;
|
|
3662
|
+
};
|
|
3663
|
+
export type HealthReadinessResponse = HealthReadinessResponses[keyof HealthReadinessResponses];
|
|
3664
|
+
export type HealthVersionData = {
|
|
3665
|
+
body?: never;
|
|
3666
|
+
path?: never;
|
|
3667
|
+
query?: never;
|
|
3668
|
+
url: '/health/version';
|
|
3669
|
+
};
|
|
3670
|
+
export type HealthVersionErrors = {
|
|
3671
|
+
401: ErrorResponse;
|
|
3672
|
+
};
|
|
3673
|
+
export type HealthVersionError = HealthVersionErrors[keyof HealthVersionErrors];
|
|
3674
|
+
export type HealthVersionResponses = {
|
|
3675
|
+
200: VersionResponse;
|
|
3676
|
+
};
|
|
3677
|
+
export type HealthVersionResponse = HealthVersionResponses[keyof HealthVersionResponses];
|
|
3678
|
+
//#endregion
|
|
3679
|
+
//# sourceMappingURL=types.gen.d.mts.map
|