@rustrak/client 0.27.0 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +3 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.mts.map +1 -1
- package/dist/client.mjs +3 -3
- package/dist/client.mjs.map +1 -1
- package/dist/generated/sdk.gen.cjs +585 -585
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.mjs +391 -391
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +2 -0
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +2 -0
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +1955 -1953
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +744 -742
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
1
|
+
import * as z from "zod/mini";
|
|
2
2
|
// src/generated/zod.gen.ts
|
|
3
3
|
const zAcceptInvitation = z.object({
|
|
4
4
|
password: z.string(),
|
|
@@ -23,7 +23,7 @@ const zActivityEntry = z.object({
|
|
|
23
23
|
id: z.uuid(),
|
|
24
24
|
issue_id: z.uuid(),
|
|
25
25
|
type: z.string(),
|
|
26
|
-
user_id: z.int().
|
|
26
|
+
user_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))
|
|
27
27
|
});
|
|
28
28
|
/**
|
|
29
29
|
* avg/p95 duration for one time bucket.
|
|
@@ -90,7 +90,7 @@ const zAgentToolRow = z.object({
|
|
|
90
90
|
});
|
|
91
91
|
z.object({
|
|
92
92
|
agent_names: z.array(z.string()),
|
|
93
|
-
duration_ms: z.
|
|
93
|
+
duration_ms: z.nullable(z.number()),
|
|
94
94
|
error_count: z.int(),
|
|
95
95
|
llm_call_count: z.int(),
|
|
96
96
|
started_at: z.iso.datetime({ offset: true }),
|
|
@@ -112,8 +112,8 @@ const zAlertHistoryDay = z.object({
|
|
|
112
112
|
* DTO for a channel with routing override in rule create/update
|
|
113
113
|
*/
|
|
114
114
|
const zAlertRuleChannelInput = z.object({
|
|
115
|
-
integration_id: z.int().
|
|
116
|
-
routing_override: z.record(z.string(), z.unknown())
|
|
115
|
+
integration_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
116
|
+
routing_override: z.optional(z.record(z.string(), z.unknown()))
|
|
117
117
|
});
|
|
118
118
|
/**
|
|
119
119
|
* Status of an alert delivery attempt
|
|
@@ -128,21 +128,21 @@ const zAlertStatus = z.enum([
|
|
|
128
128
|
* Alert delivery history record (audit log and retry queue)
|
|
129
129
|
*/
|
|
130
130
|
const zAlertHistory = z.object({
|
|
131
|
-
alert_rule_id: z.int().
|
|
131
|
+
alert_rule_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
132
132
|
alert_type: z.string(),
|
|
133
|
-
attempt_count: z.int().
|
|
133
|
+
attempt_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
134
134
|
channel_name: z.string(),
|
|
135
135
|
channel_type: z.string(),
|
|
136
136
|
created_at: z.iso.datetime({ offset: true }),
|
|
137
|
-
error_message: z.
|
|
138
|
-
http_status_code: z.int().
|
|
137
|
+
error_message: z.nullable(z.string()),
|
|
138
|
+
http_status_code: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
139
139
|
id: z.int(),
|
|
140
140
|
idempotency_key: z.string(),
|
|
141
|
-
integration_id: z.int().
|
|
142
|
-
issue_id: z.
|
|
143
|
-
next_retry_at: z.iso.datetime({ offset: true })
|
|
144
|
-
project_id: z.int().
|
|
145
|
-
sent_at: z.iso.datetime({ offset: true })
|
|
141
|
+
integration_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
142
|
+
issue_id: z.nullable(z.uuid()),
|
|
143
|
+
next_retry_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
144
|
+
project_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
145
|
+
sent_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
146
146
|
status: zAlertStatus
|
|
147
147
|
});
|
|
148
148
|
/**
|
|
@@ -161,14 +161,14 @@ const zAlertRuleResponse = z.object({
|
|
|
161
161
|
alert_type: zAlertType,
|
|
162
162
|
channels: z.array(zAlertRuleChannelInput),
|
|
163
163
|
conditions: z.record(z.string(), z.unknown()),
|
|
164
|
-
cooldown_minutes: z.int().
|
|
164
|
+
cooldown_minutes: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
165
165
|
created_at: z.iso.datetime({ offset: true }),
|
|
166
|
-
id: z.int().
|
|
167
|
-
integration_ids: z.array(z.int().
|
|
166
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
167
|
+
integration_ids: z.array(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
168
168
|
is_enabled: z.boolean(),
|
|
169
|
-
last_triggered_at: z.iso.datetime({ offset: true })
|
|
169
|
+
last_triggered_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
170
170
|
name: z.string(),
|
|
171
|
-
project_id: z.int().
|
|
171
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
172
172
|
updated_at: z.iso.datetime({ offset: true })
|
|
173
173
|
});
|
|
174
174
|
const zAssembleBody = z.object({
|
|
@@ -177,13 +177,13 @@ const zAssembleBody = z.object({
|
|
|
177
177
|
projects: z.array(z.string())
|
|
178
178
|
});
|
|
179
179
|
const zAssembleResponse = z.object({
|
|
180
|
-
detail: z.
|
|
180
|
+
detail: z.nullish(z.string()),
|
|
181
181
|
missingChunks: z.array(z.string()),
|
|
182
182
|
state: z.string()
|
|
183
183
|
});
|
|
184
184
|
const zAssignmentInput = z.object({
|
|
185
|
-
project_id: z.int().
|
|
186
|
-
role_id: z.int().
|
|
185
|
+
project_id: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
186
|
+
role_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
187
187
|
});
|
|
188
188
|
/**
|
|
189
189
|
* The raw bytes of an attachment. Untyped in the spec: the generated
|
|
@@ -199,7 +199,7 @@ const zAttachmentInfo = z.object({
|
|
|
199
199
|
event_id: z.uuid(),
|
|
200
200
|
filename: z.string(),
|
|
201
201
|
id: z.uuid(),
|
|
202
|
-
size: z.int().
|
|
202
|
+
size: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
203
203
|
});
|
|
204
204
|
/**
|
|
205
205
|
* What the consent page shows about the client asking.
|
|
@@ -221,14 +221,14 @@ const zAuthorizationRequest = z.object({
|
|
|
221
221
|
code_challenge: z.string(),
|
|
222
222
|
code_challenge_method: z.string(),
|
|
223
223
|
redirect_uri: z.string(),
|
|
224
|
-
resource: z.
|
|
224
|
+
resource: z.nullish(z.string()),
|
|
225
225
|
response_type: z.string(),
|
|
226
|
-
state: z.
|
|
226
|
+
state: z.nullish(z.string())
|
|
227
227
|
});
|
|
228
228
|
/**
|
|
229
229
|
* The user's answer to a consent screen.
|
|
230
230
|
*/
|
|
231
|
-
const zAuthorizationDecision =
|
|
231
|
+
const zAuthorizationDecision = z.intersection(zAuthorizationRequest, z.object({ approve: z.boolean() }));
|
|
232
232
|
const zBookmarkResponse = z.object({ is_bookmarked: z.boolean() });
|
|
233
233
|
const zBulkDeleteResponse = z.object({ deleted: z.int() });
|
|
234
234
|
const zBulkUpdateResponse = z.object({ updated: z.int() });
|
|
@@ -254,9 +254,9 @@ const zCheckInStatus = z.enum([
|
|
|
254
254
|
const zCheckInResponse = z.object({
|
|
255
255
|
date_added: z.iso.datetime({ offset: true }),
|
|
256
256
|
date_updated: z.iso.datetime({ offset: true }),
|
|
257
|
-
duration_ms: z.
|
|
257
|
+
duration_ms: z.nullable(z.int()),
|
|
258
258
|
environment: z.string(),
|
|
259
|
-
expected_time: z.iso.datetime({ offset: true })
|
|
259
|
+
expected_time: z.nullable(z.iso.datetime({ offset: true })),
|
|
260
260
|
id: z.uuid(),
|
|
261
261
|
status: zCheckInStatus
|
|
262
262
|
});
|
|
@@ -272,12 +272,12 @@ const zChunkUploadBody = z.record(z.string(), z.unknown());
|
|
|
272
272
|
*/
|
|
273
273
|
const zChunkUploadOptions = z.object({
|
|
274
274
|
accept: z.array(z.string()),
|
|
275
|
-
chunkSize: z.int().gte(0),
|
|
276
|
-
chunksPerRequest: z.int().gte(0),
|
|
275
|
+
chunkSize: z.int().check(z.gte(0)),
|
|
276
|
+
chunksPerRequest: z.int().check(z.gte(0)),
|
|
277
277
|
compression: z.array(z.string()),
|
|
278
|
-
concurrency: z.int().gte(0),
|
|
278
|
+
concurrency: z.int().check(z.gte(0)),
|
|
279
279
|
hashAlgorithm: z.string(),
|
|
280
|
-
maxRequestSize: z.int().gte(0),
|
|
280
|
+
maxRequestSize: z.int().check(z.gte(0)),
|
|
281
281
|
url: z.string()
|
|
282
282
|
});
|
|
283
283
|
/**
|
|
@@ -312,11 +312,11 @@ const zCleanupKind = z.enum(["cleanup", "compaction"]);
|
|
|
312
312
|
* purge the entire dataset.
|
|
313
313
|
*/
|
|
314
314
|
const zCleanupRequest = z.object({
|
|
315
|
-
include_events: z.
|
|
316
|
-
include_logs: z.
|
|
317
|
-
include_transactions: z.
|
|
318
|
-
older_than_days: z.int().gte(1),
|
|
319
|
-
project_id: z.int().
|
|
315
|
+
include_events: z.optional(z.boolean()),
|
|
316
|
+
include_logs: z.optional(z.boolean()),
|
|
317
|
+
include_transactions: z.optional(z.boolean()),
|
|
318
|
+
older_than_days: z.int().check(z.gte(1)),
|
|
319
|
+
project_id: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))
|
|
320
320
|
});
|
|
321
321
|
/**
|
|
322
322
|
* Where the instance's cleanup job is. There is at most one at a time.
|
|
@@ -333,11 +333,11 @@ const zCleanupState = z.enum([
|
|
|
333
333
|
* committed is already gone.
|
|
334
334
|
*/
|
|
335
335
|
const zCleanupStatus = z.object({
|
|
336
|
-
error: z.
|
|
337
|
-
finished_at: z.iso.datetime({ offset: true })
|
|
336
|
+
error: z.nullable(z.string()),
|
|
337
|
+
finished_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
338
338
|
kind: zCleanupKind,
|
|
339
339
|
removed: zCleanupCounts,
|
|
340
|
-
started_at: z.iso.datetime({ offset: true })
|
|
340
|
+
started_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
341
341
|
state: zCleanupState
|
|
342
342
|
});
|
|
343
343
|
/**
|
|
@@ -362,7 +362,7 @@ const zCommentRequest = z.object({ text: z.string() });
|
|
|
362
362
|
*/
|
|
363
363
|
const zCompaction = z.object({
|
|
364
364
|
file_bytes: z.int(),
|
|
365
|
-
free_disk_bytes: z.
|
|
365
|
+
free_disk_bytes: z.nullable(z.int()),
|
|
366
366
|
live_bytes: z.int(),
|
|
367
367
|
needed: z.boolean(),
|
|
368
368
|
reclaimable_bytes: z.int(),
|
|
@@ -370,20 +370,20 @@ const zCompaction = z.object({
|
|
|
370
370
|
});
|
|
371
371
|
const zConfirmSsoLinkRequest = z.object({ password: z.string() });
|
|
372
372
|
const zConversationSpan = z.object({
|
|
373
|
-
agent_name: z.
|
|
374
|
-
duration_ms: z.
|
|
373
|
+
agent_name: z.nullable(z.string()),
|
|
374
|
+
duration_ms: z.nullable(z.number()),
|
|
375
375
|
id: z.uuid(),
|
|
376
|
-
input: z.
|
|
377
|
-
model: z.
|
|
376
|
+
input: z.nullable(z.string()),
|
|
377
|
+
model: z.nullable(z.string()),
|
|
378
378
|
operation_type: z.string(),
|
|
379
|
-
output: z.
|
|
380
|
-
parent_span_id: z.
|
|
381
|
-
span_id: z.
|
|
382
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
383
|
-
status: z.
|
|
384
|
-
tool_calls: z.
|
|
385
|
-
tool_name: z.
|
|
386
|
-
total_tokens: z.
|
|
379
|
+
output: z.nullable(z.string()),
|
|
380
|
+
parent_span_id: z.nullable(z.string()),
|
|
381
|
+
span_id: z.nullable(z.string()),
|
|
382
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
383
|
+
status: z.nullable(z.string()),
|
|
384
|
+
tool_calls: z.nullable(z.string()),
|
|
385
|
+
tool_name: z.nullable(z.string()),
|
|
386
|
+
total_tokens: z.nullable(z.number()),
|
|
387
387
|
trace_id: z.string()
|
|
388
388
|
});
|
|
389
389
|
/**
|
|
@@ -399,38 +399,38 @@ const zAgentConversation = z.object({
|
|
|
399
399
|
*/
|
|
400
400
|
const zCreateAlertRule = z.object({
|
|
401
401
|
alert_type: zAlertType,
|
|
402
|
-
channels: z.array(zAlertRuleChannelInput)
|
|
403
|
-
conditions: z.record(z.string(), z.unknown())
|
|
404
|
-
cooldown_minutes: z.int().
|
|
402
|
+
channels: z.optional(z.array(zAlertRuleChannelInput)),
|
|
403
|
+
conditions: z.optional(z.record(z.string(), z.unknown())),
|
|
404
|
+
cooldown_minutes: z.optional(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
405
405
|
name: z.string()
|
|
406
406
|
});
|
|
407
407
|
const zCreateGitHubIssue = z.object({
|
|
408
|
-
assignee: z.
|
|
409
|
-
body: z.
|
|
410
|
-
labels: z.array(z.string())
|
|
411
|
-
title: z.
|
|
408
|
+
assignee: z.nullish(z.string()),
|
|
409
|
+
body: z.nullish(z.string()),
|
|
410
|
+
labels: z.nullish(z.array(z.string())),
|
|
411
|
+
title: z.nullish(z.string())
|
|
412
412
|
});
|
|
413
413
|
/**
|
|
414
414
|
* DTO for creating a new project
|
|
415
415
|
*/
|
|
416
416
|
const zCreateProject = z.object({
|
|
417
417
|
name: z.string(),
|
|
418
|
-
platform: z.
|
|
419
|
-
slug: z.
|
|
418
|
+
platform: z.nullish(z.string()),
|
|
419
|
+
slug: z.nullish(z.string())
|
|
420
420
|
});
|
|
421
421
|
/**
|
|
422
422
|
* DTO for `POST .../releases/`.
|
|
423
423
|
*/
|
|
424
424
|
const zCreateRelease = z.object({
|
|
425
|
-
ref: z.
|
|
426
|
-
url: z.
|
|
425
|
+
ref: z.nullish(z.string()),
|
|
426
|
+
url: z.nullish(z.string()),
|
|
427
427
|
version: z.string()
|
|
428
428
|
});
|
|
429
429
|
/**
|
|
430
430
|
* A debug information file as Sentry's `DebugFileSerializer` describes it.
|
|
431
431
|
*/
|
|
432
432
|
const zDebugFileResponse = z.object({
|
|
433
|
-
codeId: z.
|
|
433
|
+
codeId: z.nullable(z.string()),
|
|
434
434
|
cpuName: z.string(),
|
|
435
435
|
data: z.unknown(),
|
|
436
436
|
dateCreated: z.string(),
|
|
@@ -439,7 +439,7 @@ const zDebugFileResponse = z.object({
|
|
|
439
439
|
id: z.string(),
|
|
440
440
|
objectName: z.string(),
|
|
441
441
|
sha1: z.string(),
|
|
442
|
-
size: z.int().gte(0),
|
|
442
|
+
size: z.int().check(z.gte(0)),
|
|
443
443
|
symbolType: z.string(),
|
|
444
444
|
uuid: z.string()
|
|
445
445
|
});
|
|
@@ -452,7 +452,7 @@ const zDefaultScope = z.enum(["user", "project"]);
|
|
|
452
452
|
*/
|
|
453
453
|
const zDifAssembleFile = z.object({
|
|
454
454
|
chunks: z.array(z.string()),
|
|
455
|
-
debug_id: z.
|
|
455
|
+
debug_id: z.nullish(z.string()),
|
|
456
456
|
name: z.string()
|
|
457
457
|
});
|
|
458
458
|
/**
|
|
@@ -473,7 +473,7 @@ const zEventDetailResponse = z.object({
|
|
|
473
473
|
event_type: z.string(),
|
|
474
474
|
id: z.uuid(),
|
|
475
475
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
476
|
-
issue_id: z.
|
|
476
|
+
issue_id: z.nullable(z.uuid()),
|
|
477
477
|
level: z.string(),
|
|
478
478
|
platform: z.string(),
|
|
479
479
|
release: z.string(),
|
|
@@ -488,7 +488,7 @@ z.object({
|
|
|
488
488
|
event_id: z.string(),
|
|
489
489
|
event_type: z.string(),
|
|
490
490
|
id: z.uuid(),
|
|
491
|
-
issue_id: z.
|
|
491
|
+
issue_id: z.nullable(z.uuid()),
|
|
492
492
|
level: z.string(),
|
|
493
493
|
platform: z.string(),
|
|
494
494
|
release: z.string(),
|
|
@@ -549,11 +549,11 @@ const zFieldErrorCode = z.enum([
|
|
|
549
549
|
const zFieldError = z.object({
|
|
550
550
|
code: zFieldErrorCode,
|
|
551
551
|
field: z.string(),
|
|
552
|
-
message: z.
|
|
552
|
+
message: z.optional(z.string())
|
|
553
553
|
});
|
|
554
554
|
const zErrorDetail = z.object({
|
|
555
|
-
fields: z.array(zFieldError)
|
|
556
|
-
incident_id: z.
|
|
555
|
+
fields: z.optional(z.array(zFieldError)),
|
|
556
|
+
incident_id: z.optional(z.string()),
|
|
557
557
|
message: z.string(),
|
|
558
558
|
type: z.string()
|
|
559
559
|
});
|
|
@@ -570,7 +570,7 @@ const zGitHubAppInfo = z.object({
|
|
|
570
570
|
created_at: z.iso.datetime({ offset: true }),
|
|
571
571
|
html_url: z.string(),
|
|
572
572
|
install_url: z.string(),
|
|
573
|
-
last_webhook_at: z.iso.datetime({ offset: true })
|
|
573
|
+
last_webhook_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
574
574
|
owner_login: z.string(),
|
|
575
575
|
slug: z.string()
|
|
576
576
|
});
|
|
@@ -586,13 +586,13 @@ const zGitHubInstallation = z.object({
|
|
|
586
586
|
* the person to edit first.
|
|
587
587
|
*/
|
|
588
588
|
const zGitHubIssueDraft = z.object({
|
|
589
|
-
assignee: z.
|
|
589
|
+
assignee: z.nullable(z.string()),
|
|
590
590
|
assignees: z.array(z.string()),
|
|
591
591
|
body: z.string(),
|
|
592
592
|
labels: z.array(z.string()),
|
|
593
593
|
title: z.string()
|
|
594
594
|
});
|
|
595
|
-
const zGitHubLogin = z.object({ login: z.
|
|
595
|
+
const zGitHubLogin = z.object({ login: z.nullable(z.string()) });
|
|
596
596
|
/**
|
|
597
597
|
* A repository an installation can reach.
|
|
598
598
|
*/
|
|
@@ -610,9 +610,9 @@ const zGrouping = z.object({
|
|
|
610
610
|
created_at: z.iso.datetime({ offset: true }),
|
|
611
611
|
grouping_key: z.string(),
|
|
612
612
|
grouping_key_hash: z.string(),
|
|
613
|
-
id: z.int().
|
|
613
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
614
614
|
issue_id: z.uuid(),
|
|
615
|
-
project_id: z.int().
|
|
615
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
616
616
|
});
|
|
617
617
|
const zIntervalUnit = z.enum([
|
|
618
618
|
"minute",
|
|
@@ -644,7 +644,7 @@ const zIssueFilter = z.enum([
|
|
|
644
644
|
const zBulkDeleteIssues = z.union([z.object({ ids: z.array(z.uuid()) }), z.object({ filter: zIssueFilter })]);
|
|
645
645
|
const zIssueLink = z.object({
|
|
646
646
|
created_at: z.iso.datetime({ offset: true }),
|
|
647
|
-
id: z.int().
|
|
647
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
648
648
|
issue_id: z.uuid(),
|
|
649
649
|
number: z.int(),
|
|
650
650
|
repo_full_name: z.string(),
|
|
@@ -684,14 +684,14 @@ const zIssueStatus = z.enum([
|
|
|
684
684
|
"ignored"
|
|
685
685
|
]);
|
|
686
686
|
z.object({
|
|
687
|
-
associated_event_id: z.
|
|
687
|
+
associated_event_id: z.nullable(z.string()),
|
|
688
688
|
attachments: z.array(zAttachmentInfo),
|
|
689
689
|
contact_email: z.string(),
|
|
690
690
|
created_at: z.iso.datetime({ offset: true }),
|
|
691
691
|
id: z.uuid(),
|
|
692
692
|
message: z.string(),
|
|
693
693
|
name: z.string(),
|
|
694
|
-
project_id: z.int().
|
|
694
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
695
695
|
status: zIssueStatus,
|
|
696
696
|
url: z.string()
|
|
697
697
|
});
|
|
@@ -699,33 +699,33 @@ z.object({
|
|
|
699
699
|
* Response for API
|
|
700
700
|
*/
|
|
701
701
|
const zIssueResponse = z.object({
|
|
702
|
-
assigned_to: z.int().
|
|
703
|
-
assignee_type: z.
|
|
702
|
+
assigned_to: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
703
|
+
assignee_type: z.nullable(z.string()),
|
|
704
704
|
culprit: z.string(),
|
|
705
|
-
event_count: z.int().
|
|
705
|
+
event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
706
706
|
first_release: z.string(),
|
|
707
707
|
first_seen: z.iso.datetime({ offset: true }),
|
|
708
|
-
has_seen: z.
|
|
708
|
+
has_seen: z.nullish(z.boolean()),
|
|
709
709
|
id: z.uuid(),
|
|
710
|
-
is_bookmarked: z.
|
|
711
|
-
is_subscribed: z.
|
|
710
|
+
is_bookmarked: z.nullish(z.boolean()),
|
|
711
|
+
is_subscribed: z.nullish(z.boolean()),
|
|
712
712
|
issue_category: z.string(),
|
|
713
713
|
issue_type: z.string(),
|
|
714
714
|
last_release: z.string(),
|
|
715
715
|
last_seen: z.iso.datetime({ offset: true }),
|
|
716
|
-
level: z.
|
|
716
|
+
level: z.nullable(z.string()),
|
|
717
717
|
logger: z.string(),
|
|
718
|
-
platform: z.
|
|
719
|
-
priority:
|
|
720
|
-
project_id: z.int().
|
|
718
|
+
platform: z.nullable(z.string()),
|
|
719
|
+
priority: z.nullable(zIssuePriority),
|
|
720
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
721
721
|
short_id: z.string(),
|
|
722
722
|
status: zIssueStatus,
|
|
723
723
|
status_details: z.record(z.string(), z.unknown()),
|
|
724
|
-
substatus: z.
|
|
724
|
+
substatus: z.nullable(z.string()),
|
|
725
725
|
title: z.string(),
|
|
726
|
-
trend: z.array(z.int())
|
|
727
|
-
user_count: z.
|
|
728
|
-
user_report_count: z.
|
|
726
|
+
trend: z.nullish(z.array(z.int())),
|
|
727
|
+
user_count: z.nullish(z.int()),
|
|
728
|
+
user_report_count: z.nullish(z.int()),
|
|
729
729
|
value: z.string()
|
|
730
730
|
});
|
|
731
731
|
/**
|
|
@@ -743,8 +743,8 @@ const zIssueStatusUpdate = z.enum([
|
|
|
743
743
|
*/
|
|
744
744
|
const zBulkUpdateIssues = z.object({
|
|
745
745
|
ids: z.array(z.uuid()),
|
|
746
|
-
priority:
|
|
747
|
-
status:
|
|
746
|
+
priority: z.nullish(zIssuePriority),
|
|
747
|
+
status: z.nullish(zIssueStatusUpdate)
|
|
748
748
|
});
|
|
749
749
|
/**
|
|
750
750
|
* A single tag value's usage within an issue — the shape `GET
|
|
@@ -766,15 +766,15 @@ const zIssueTagValue = z.object({
|
|
|
766
766
|
* and body footer replace theirs unless empty.
|
|
767
767
|
*/
|
|
768
768
|
const zIssueTemplate = z.object({
|
|
769
|
-
body_footer: z.
|
|
770
|
-
labels: z.array(z.string())
|
|
771
|
-
title_prefix: z.
|
|
769
|
+
body_footer: z.optional(z.string()),
|
|
770
|
+
labels: z.optional(z.array(z.string())),
|
|
771
|
+
title_prefix: z.optional(z.string())
|
|
772
772
|
});
|
|
773
773
|
/**
|
|
774
774
|
* `GET /api/github`: everything the integrations page needs in one answer.
|
|
775
775
|
*/
|
|
776
776
|
const zGitHubStatus = z.object({
|
|
777
|
-
app:
|
|
777
|
+
app: z.nullable(zGitHubAppInfo),
|
|
778
778
|
installations: z.array(zGitHubInstallation),
|
|
779
779
|
issue_template: zIssueTemplate,
|
|
780
780
|
webhook_url: z.string()
|
|
@@ -784,15 +784,15 @@ const zGitHubStatus = z.object({
|
|
|
784
784
|
* (`api/helpers/group_index/validators/group.py`) Rustrak acts on.
|
|
785
785
|
*/
|
|
786
786
|
const zIssueUpdate = z.object({
|
|
787
|
-
status: z.
|
|
788
|
-
substatus: z.
|
|
787
|
+
status: z.nullish(z.string()),
|
|
788
|
+
substatus: z.nullish(z.string())
|
|
789
789
|
});
|
|
790
790
|
/**
|
|
791
791
|
* How long ago a kind of data arrived: rows per age bucket, and the oldest.
|
|
792
792
|
*/
|
|
793
793
|
const zKindAge = z.object({
|
|
794
794
|
counts: z.array(z.int()),
|
|
795
|
-
oldest: z.iso.datetime({ offset: true })
|
|
795
|
+
oldest: z.nullable(z.iso.datetime({ offset: true }))
|
|
796
796
|
});
|
|
797
797
|
const zLinkGitHubIssue = z.object({ reference: z.string() });
|
|
798
798
|
const zLivenessResponse = z.object({ status: z.string() });
|
|
@@ -805,10 +805,10 @@ const zLogResponse = z.object({
|
|
|
805
805
|
id: z.uuid(),
|
|
806
806
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
807
807
|
level: z.string(),
|
|
808
|
-
severity_number: z.int().
|
|
809
|
-
span_id: z.
|
|
808
|
+
severity_number: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
809
|
+
span_id: z.nullable(z.string()),
|
|
810
810
|
timestamp: z.iso.datetime({ offset: true }),
|
|
811
|
-
trace_id: z.
|
|
811
|
+
trace_id: z.nullable(z.string())
|
|
812
812
|
});
|
|
813
813
|
/**
|
|
814
814
|
* One bucket of the log volume: how many logs of each level it holds.
|
|
@@ -826,7 +826,7 @@ const zLoginRequest = z.object({
|
|
|
826
826
|
email: z.string(),
|
|
827
827
|
password: z.string()
|
|
828
828
|
});
|
|
829
|
-
const zManifestRequest = z.object({ organization: z.
|
|
829
|
+
const zManifestRequest = z.object({ organization: z.nullish(z.string()) });
|
|
830
830
|
/**
|
|
831
831
|
* What the dashboard posts to GitHub to create the app.
|
|
832
832
|
*/
|
|
@@ -843,20 +843,20 @@ const zMcpSettings = z.object({ enabled: z.boolean() });
|
|
|
843
843
|
*/
|
|
844
844
|
const zMcpStatus = z.object({
|
|
845
845
|
enabled: z.boolean(),
|
|
846
|
-
url: z.
|
|
846
|
+
url: z.nullable(z.string())
|
|
847
847
|
});
|
|
848
848
|
/**
|
|
849
849
|
* Someone who can be made a member.
|
|
850
850
|
*/
|
|
851
851
|
const zMemberCandidate = z.object({
|
|
852
852
|
email: z.string(),
|
|
853
|
-
id: z.int().
|
|
853
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
854
854
|
});
|
|
855
855
|
/**
|
|
856
856
|
* A role someone holds on a project.
|
|
857
857
|
*/
|
|
858
858
|
const zMemberRole = z.object({
|
|
859
|
-
id: z.int().
|
|
859
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
860
860
|
inherited: z.boolean(),
|
|
861
861
|
name: z.string()
|
|
862
862
|
});
|
|
@@ -870,7 +870,7 @@ const zMemberRole = z.object({
|
|
|
870
870
|
*/
|
|
871
871
|
const zMetricDelta = z.object({
|
|
872
872
|
current: z.int(),
|
|
873
|
-
previous: z.
|
|
873
|
+
previous: z.nullable(z.int())
|
|
874
874
|
});
|
|
875
875
|
/**
|
|
876
876
|
* Health of one monitor environment.
|
|
@@ -887,9 +887,9 @@ const zMonitorEnvironmentStatus = z.enum([
|
|
|
887
887
|
const zMonitorEnvironmentResponse = z.object({
|
|
888
888
|
environment: z.string(),
|
|
889
889
|
id: z.uuid(),
|
|
890
|
-
last_checkin: z.iso.datetime({ offset: true })
|
|
891
|
-
next_checkin: z.iso.datetime({ offset: true })
|
|
892
|
-
next_checkin_latest: z.iso.datetime({ offset: true })
|
|
890
|
+
last_checkin: z.nullable(z.iso.datetime({ offset: true })),
|
|
891
|
+
next_checkin: z.nullable(z.iso.datetime({ offset: true })),
|
|
892
|
+
next_checkin_latest: z.nullable(z.iso.datetime({ offset: true })),
|
|
893
893
|
recent_checkins: z.array(zCheckInResponse),
|
|
894
894
|
status: zMonitorEnvironmentStatus
|
|
895
895
|
});
|
|
@@ -897,7 +897,7 @@ const zMonitorEnvironmentResponse = z.object({
|
|
|
897
897
|
* The check-ins of one bucket, counted by status.
|
|
898
898
|
*/
|
|
899
899
|
const zMonitorStatsBucket = z.object({
|
|
900
|
-
avg_duration_ms: z.
|
|
900
|
+
avg_duration_ms: z.nullable(z.number()),
|
|
901
901
|
bucket: z.iso.datetime({ offset: true }),
|
|
902
902
|
duration_count: z.int(),
|
|
903
903
|
error: z.int(),
|
|
@@ -923,7 +923,7 @@ const zOAuthGrant = z.object({
|
|
|
923
923
|
client_id: z.string(),
|
|
924
924
|
client_name: z.string(),
|
|
925
925
|
created_at: z.iso.datetime({ offset: true }),
|
|
926
|
-
id: z.int().
|
|
926
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
927
927
|
});
|
|
928
928
|
/**
|
|
929
929
|
* Synthetic organization sentry-cli checks before uploading.
|
|
@@ -942,9 +942,9 @@ const zPreviewTemplateBody = z.object({ template: z.string() });
|
|
|
942
942
|
* `rendered` when `ok`, `error` otherwise.
|
|
943
943
|
*/
|
|
944
944
|
const zPreviewTemplateResponse = z.object({
|
|
945
|
-
error: z.
|
|
945
|
+
error: z.nullish(z.string()),
|
|
946
946
|
ok: z.boolean(),
|
|
947
|
-
rendered: z.
|
|
947
|
+
rendered: z.nullish(z.string())
|
|
948
948
|
});
|
|
949
949
|
/**
|
|
950
950
|
* A kind of data a project can keep, and a route in its sidebar.
|
|
@@ -965,7 +965,7 @@ const zProduct = z.enum([
|
|
|
965
965
|
const zProjectAge = z.object({
|
|
966
966
|
events: zKindAge,
|
|
967
967
|
logs: zKindAge,
|
|
968
|
-
project_id: z.int().
|
|
968
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
969
969
|
transactions: zKindAge
|
|
970
970
|
});
|
|
971
971
|
/**
|
|
@@ -989,19 +989,19 @@ const zProjectListStats = z.object({
|
|
|
989
989
|
const zProjectMember = z.object({
|
|
990
990
|
email: z.string(),
|
|
991
991
|
roles: z.array(zMemberRole),
|
|
992
|
-
user_id: z.int().
|
|
992
|
+
user_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
993
993
|
});
|
|
994
994
|
const zProjectRepository = z.object({
|
|
995
995
|
auto_create_conditions: z.record(z.string(), z.unknown()),
|
|
996
996
|
auto_create_issues: z.boolean(),
|
|
997
997
|
code_mappings: z.array(zCodeMapping),
|
|
998
|
-
codeowners_rules: z.int().gte(0)
|
|
999
|
-
codeowners_synced_at: z.iso.datetime({ offset: true })
|
|
998
|
+
codeowners_rules: z.nullable(z.int().check(z.gte(0))),
|
|
999
|
+
codeowners_synced_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1000
1000
|
default_branch: z.string(),
|
|
1001
1001
|
html_url: z.string(),
|
|
1002
1002
|
installation_id: z.int(),
|
|
1003
1003
|
issue_template: zIssueTemplate,
|
|
1004
|
-
project_id: z.int().
|
|
1004
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1005
1005
|
repo_full_name: z.string()
|
|
1006
1006
|
});
|
|
1007
1007
|
/**
|
|
@@ -1009,20 +1009,20 @@ const zProjectRepository = z.object({
|
|
|
1009
1009
|
*/
|
|
1010
1010
|
const zProjectResponse = z.object({
|
|
1011
1011
|
created_at: z.iso.datetime({ offset: true }),
|
|
1012
|
-
digested_event_count: z.int().
|
|
1012
|
+
digested_event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1013
1013
|
disabled_products: z.array(zProduct),
|
|
1014
|
-
dsn: z.
|
|
1015
|
-
id: z.int().
|
|
1014
|
+
dsn: z.nullable(z.string()),
|
|
1015
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1016
1016
|
name: z.string(),
|
|
1017
|
-
platform: z.
|
|
1017
|
+
platform: z.nullable(z.string()),
|
|
1018
1018
|
product_order: z.array(zProduct),
|
|
1019
|
-
rate_limit_per_hour: z.
|
|
1020
|
-
rate_limit_per_minute: z.
|
|
1019
|
+
rate_limit_per_hour: z.nullable(z.int()),
|
|
1020
|
+
rate_limit_per_minute: z.nullable(z.int()),
|
|
1021
1021
|
rate_limited_event_count: z.int(),
|
|
1022
|
-
sentry_key: z.
|
|
1022
|
+
sentry_key: z.nullable(z.string()),
|
|
1023
1023
|
slug: z.string(),
|
|
1024
|
-
stats:
|
|
1025
|
-
stored_event_count: z.int().
|
|
1024
|
+
stats: z.nullish(zProjectListStats),
|
|
1025
|
+
stored_event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1026
1026
|
updated_at: z.iso.datetime({ offset: true })
|
|
1027
1027
|
});
|
|
1028
1028
|
/**
|
|
@@ -1030,10 +1030,10 @@ const zProjectResponse = z.object({
|
|
|
1030
1030
|
* kind is set: an override replaces the defaults whole.
|
|
1031
1031
|
*/
|
|
1032
1032
|
const zProjectRetention = z.object({
|
|
1033
|
-
events_days: z.
|
|
1034
|
-
logs_days: z.
|
|
1035
|
-
project_id: z.int().
|
|
1036
|
-
transactions_days: z.
|
|
1033
|
+
events_days: z.nullable(z.int()),
|
|
1034
|
+
logs_days: z.nullable(z.int()),
|
|
1035
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1036
|
+
transactions_days: z.nullable(z.int())
|
|
1037
1037
|
});
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Project-wide counters for the overview page, each with its previous-period
|
|
@@ -1043,7 +1043,7 @@ const zProjectStatsSummary = z.object({
|
|
|
1043
1043
|
events: zMetricDelta,
|
|
1044
1044
|
new_issues: zMetricDelta,
|
|
1045
1045
|
open_issues: z.int(),
|
|
1046
|
-
period_hours: z.
|
|
1046
|
+
period_hours: z.nullable(z.int())
|
|
1047
1047
|
});
|
|
1048
1048
|
z.object({
|
|
1049
1049
|
estimated_bytes: z.int(),
|
|
@@ -1051,7 +1051,7 @@ z.object({
|
|
|
1051
1051
|
events_count: z.int(),
|
|
1052
1052
|
logs_bytes: z.int(),
|
|
1053
1053
|
logs_count: z.int(),
|
|
1054
|
-
project_id: z.int().
|
|
1054
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1055
1055
|
project_name: z.string(),
|
|
1056
1056
|
source_maps_count: z.int(),
|
|
1057
1057
|
spans_count: z.int(),
|
|
@@ -1073,12 +1073,12 @@ const zProviderType = z.enum([
|
|
|
1073
1073
|
const zAlertIntegration = z.object({
|
|
1074
1074
|
created_at: z.iso.datetime({ offset: true }),
|
|
1075
1075
|
credentials: z.record(z.string(), z.unknown()),
|
|
1076
|
-
failure_count: z.int().
|
|
1077
|
-
id: z.int().
|
|
1076
|
+
failure_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1077
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1078
1078
|
is_enabled: z.boolean(),
|
|
1079
|
-
last_failure_at: z.iso.datetime({ offset: true })
|
|
1080
|
-
last_failure_message: z.
|
|
1081
|
-
last_success_at: z.iso.datetime({ offset: true })
|
|
1079
|
+
last_failure_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1080
|
+
last_failure_message: z.nullable(z.string()),
|
|
1081
|
+
last_success_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1082
1082
|
name: z.string(),
|
|
1083
1083
|
provider_type: zProviderType,
|
|
1084
1084
|
updated_at: z.iso.datetime({ offset: true })
|
|
@@ -1088,7 +1088,7 @@ const zAlertIntegration = z.object({
|
|
|
1088
1088
|
*/
|
|
1089
1089
|
const zCreateAlertIntegration = z.object({
|
|
1090
1090
|
credentials: z.record(z.string(), z.unknown()),
|
|
1091
|
-
is_enabled: z.
|
|
1091
|
+
is_enabled: z.optional(z.boolean()),
|
|
1092
1092
|
name: z.string(),
|
|
1093
1093
|
provider_type: zProviderType
|
|
1094
1094
|
});
|
|
@@ -1109,8 +1109,8 @@ const zReadinessResponse = z.object({
|
|
|
1109
1109
|
});
|
|
1110
1110
|
z.object({
|
|
1111
1111
|
abnormal: z.int(),
|
|
1112
|
-
crash_free_sessions_rate: z.
|
|
1113
|
-
crash_free_users_rate: z.
|
|
1112
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
1113
|
+
crash_free_users_rate: z.nullable(z.number()),
|
|
1114
1114
|
crashed: z.int(),
|
|
1115
1115
|
environment: z.string(),
|
|
1116
1116
|
errored: z.int(),
|
|
@@ -1123,9 +1123,9 @@ z.object({
|
|
|
1123
1123
|
*/
|
|
1124
1124
|
const zReleaseResponse = z.object({
|
|
1125
1125
|
dateCreated: z.iso.datetime({ offset: true }),
|
|
1126
|
-
dateReleased: z.iso.datetime({ offset: true })
|
|
1127
|
-
ref: z.
|
|
1128
|
-
url: z.
|
|
1126
|
+
dateReleased: z.nullable(z.iso.datetime({ offset: true })),
|
|
1127
|
+
ref: z.nullable(z.string()),
|
|
1128
|
+
url: z.nullable(z.string()),
|
|
1129
1129
|
version: z.string()
|
|
1130
1130
|
});
|
|
1131
1131
|
/**
|
|
@@ -1137,24 +1137,24 @@ const zReleaseResponse = z.object({
|
|
|
1137
1137
|
* so a release keeps its age however narrow the window.
|
|
1138
1138
|
*/
|
|
1139
1139
|
const zReleaseSummary = z.object({
|
|
1140
|
-
adoption: z.
|
|
1141
|
-
crash_free_sessions: z.
|
|
1142
|
-
crash_free_users: z.
|
|
1140
|
+
adoption: z.nullable(z.number()),
|
|
1141
|
+
crash_free_sessions: z.nullable(z.number()),
|
|
1142
|
+
crash_free_users: z.nullable(z.number()),
|
|
1143
1143
|
crashed: z.int(),
|
|
1144
1144
|
date_created: z.iso.datetime({ offset: true }),
|
|
1145
|
-
date_released: z.iso.datetime({ offset: true })
|
|
1145
|
+
date_released: z.nullable(z.iso.datetime({ offset: true })),
|
|
1146
1146
|
environments: z.array(z.string()),
|
|
1147
1147
|
event_count: z.int(),
|
|
1148
|
-
first_event: z.iso.datetime({ offset: true })
|
|
1149
|
-
last_event: z.iso.datetime({ offset: true })
|
|
1148
|
+
first_event: z.nullable(z.iso.datetime({ offset: true })),
|
|
1149
|
+
last_event: z.nullable(z.iso.datetime({ offset: true })),
|
|
1150
1150
|
new_issues: z.int(),
|
|
1151
|
-
ref: z.
|
|
1151
|
+
ref: z.nullable(z.string()),
|
|
1152
1152
|
sessions: z.int(),
|
|
1153
|
-
url: z.
|
|
1153
|
+
url: z.nullable(z.string()),
|
|
1154
1154
|
version: z.string()
|
|
1155
1155
|
});
|
|
1156
1156
|
const zRepoCommit = z.object({
|
|
1157
|
-
author_login: z.
|
|
1157
|
+
author_login: z.nullable(z.string()),
|
|
1158
1158
|
author_name: z.string(),
|
|
1159
1159
|
committed_at: z.iso.datetime({ offset: true }),
|
|
1160
1160
|
message: z.string(),
|
|
@@ -1209,11 +1209,11 @@ const zPermission = z.object({
|
|
|
1209
1209
|
*/
|
|
1210
1210
|
const zAuthTokenCreatedResponse = z.object({
|
|
1211
1211
|
created_at: z.iso.datetime({ offset: true }),
|
|
1212
|
-
description: z.
|
|
1213
|
-
expires_at: z.iso.datetime({ offset: true })
|
|
1214
|
-
id: z.int().
|
|
1215
|
-
permissions: z.array(zPermission)
|
|
1216
|
-
project_ids: z.array(z.int().
|
|
1212
|
+
description: z.nullable(z.string()),
|
|
1213
|
+
expires_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1214
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1215
|
+
permissions: z.nullable(z.array(zPermission)),
|
|
1216
|
+
project_ids: z.nullable(z.array(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))),
|
|
1217
1217
|
token: z.string()
|
|
1218
1218
|
});
|
|
1219
1219
|
/**
|
|
@@ -1221,34 +1221,34 @@ const zAuthTokenCreatedResponse = z.object({
|
|
|
1221
1221
|
*/
|
|
1222
1222
|
const zAuthTokenResponse = z.object({
|
|
1223
1223
|
created_at: z.iso.datetime({ offset: true }),
|
|
1224
|
-
description: z.
|
|
1225
|
-
expires_at: z.iso.datetime({ offset: true })
|
|
1226
|
-
id: z.int().
|
|
1227
|
-
last_used_at: z.iso.datetime({ offset: true })
|
|
1228
|
-
permissions: z.array(zPermission)
|
|
1229
|
-
project_ids: z.array(z.int().
|
|
1224
|
+
description: z.nullable(z.string()),
|
|
1225
|
+
expires_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1226
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1227
|
+
last_used_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1228
|
+
permissions: z.nullable(z.array(zPermission)),
|
|
1229
|
+
project_ids: z.nullable(z.array(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))),
|
|
1230
1230
|
token_prefix: z.string(),
|
|
1231
|
-
user_id: z.int().
|
|
1231
|
+
user_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))
|
|
1232
1232
|
});
|
|
1233
1233
|
/**
|
|
1234
1234
|
* DTO for creating a new token
|
|
1235
1235
|
*/
|
|
1236
1236
|
const zCreateAuthToken = z.object({
|
|
1237
|
-
description: z.
|
|
1238
|
-
expires_at: z.iso.datetime({ offset: true })
|
|
1239
|
-
permissions: z.array(zPermission)
|
|
1240
|
-
project_ids: z.array(z.int().
|
|
1237
|
+
description: z.nullish(z.string()),
|
|
1238
|
+
expires_at: z.nullish(z.iso.datetime({ offset: true })),
|
|
1239
|
+
permissions: z.nullish(z.array(zPermission)),
|
|
1240
|
+
project_ids: z.nullish(z.array(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))))
|
|
1241
1241
|
});
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Permissions given to one person directly, without a role of the list.
|
|
1244
1244
|
*/
|
|
1245
1245
|
const zPersonalAccess = z.object({
|
|
1246
1246
|
permissions: z.array(zPermission),
|
|
1247
|
-
project_ids: z.array(z.int().
|
|
1247
|
+
project_ids: z.nullish(z.array(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))))
|
|
1248
1248
|
});
|
|
1249
1249
|
const zProjectPermissions = z.object({
|
|
1250
1250
|
permissions: z.array(zPermission),
|
|
1251
|
-
project_id: z.int().
|
|
1251
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1252
1252
|
});
|
|
1253
1253
|
/**
|
|
1254
1254
|
* What the caller may do. An owner may do everything and gets empty lists.
|
|
@@ -1263,9 +1263,9 @@ const zMyAccess = z.object({
|
|
|
1263
1263
|
* How the last retention cleanup went.
|
|
1264
1264
|
*/
|
|
1265
1265
|
const zRetentionRun = z.object({
|
|
1266
|
-
error: z.
|
|
1267
|
-
finished_at: z.iso.datetime({ offset: true })
|
|
1268
|
-
removed:
|
|
1266
|
+
error: z.nullable(z.string()),
|
|
1267
|
+
finished_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1268
|
+
removed: z.nullable(zCleanupCounts),
|
|
1269
1269
|
started_at: z.iso.datetime({ offset: true }),
|
|
1270
1270
|
status: z.string()
|
|
1271
1271
|
});
|
|
@@ -1273,9 +1273,9 @@ const zRetentionRun = z.object({
|
|
|
1273
1273
|
* How long each kind of data is kept, in days. `None` keeps it forever.
|
|
1274
1274
|
*/
|
|
1275
1275
|
const zRetentionWindows = z.object({
|
|
1276
|
-
events_days: z.
|
|
1277
|
-
logs_days: z.
|
|
1278
|
-
transactions_days: z.
|
|
1276
|
+
events_days: z._default(z.nullable(z.int()), null),
|
|
1277
|
+
logs_days: z._default(z.nullable(z.int()), null),
|
|
1278
|
+
transactions_days: z._default(z.nullable(z.int()), null)
|
|
1279
1279
|
});
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Retention: how long each kind of data is kept, by default and per
|
|
@@ -1284,19 +1284,19 @@ const zRetentionWindows = z.object({
|
|
|
1284
1284
|
* its default. Keeping everything forever runs nothing.
|
|
1285
1285
|
*/
|
|
1286
1286
|
const zRetentionSettings = z.object({
|
|
1287
|
-
defaults:
|
|
1287
|
+
defaults: z._default(zRetentionWindows, {
|
|
1288
1288
|
events_days: null,
|
|
1289
1289
|
logs_days: null,
|
|
1290
1290
|
transactions_days: null
|
|
1291
1291
|
}),
|
|
1292
|
-
frequency:
|
|
1293
|
-
hour: z.int().gte(0).lte(23)
|
|
1294
|
-
overrides: z.array(zProjectRetention)
|
|
1295
|
-
weekday: z.int().gte(0).lte(6)
|
|
1292
|
+
frequency: z._default(zCleanupFrequency, "daily"),
|
|
1293
|
+
hour: z._default(z.int().check(z.gte(0), z.lte(23)), 3),
|
|
1294
|
+
overrides: z._default(z.array(zProjectRetention), []),
|
|
1295
|
+
weekday: z._default(z.int().check(z.gte(0), z.lte(6)), 0)
|
|
1296
1296
|
});
|
|
1297
1297
|
const zRetentionResponse = z.object({
|
|
1298
|
-
last_run:
|
|
1299
|
-
next_run_at: z.iso.datetime({ offset: true })
|
|
1298
|
+
last_run: z.nullable(zRetentionRun),
|
|
1299
|
+
next_run_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1300
1300
|
settings: zRetentionSettings
|
|
1301
1301
|
});
|
|
1302
1302
|
/**
|
|
@@ -1306,7 +1306,7 @@ const zRole = z.object({
|
|
|
1306
1306
|
assignment_count: z.int(),
|
|
1307
1307
|
created_at: z.iso.datetime({ offset: true }),
|
|
1308
1308
|
description: z.string(),
|
|
1309
|
-
id: z.int().
|
|
1309
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1310
1310
|
name: z.string(),
|
|
1311
1311
|
permissions: z.array(zPermission)
|
|
1312
1312
|
});
|
|
@@ -1316,20 +1316,20 @@ const zRole = z.object({
|
|
|
1316
1316
|
*/
|
|
1317
1317
|
const zRoleAssignment = z.object({
|
|
1318
1318
|
created_at: z.iso.datetime({ offset: true }),
|
|
1319
|
-
id: z.int().
|
|
1319
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1320
1320
|
is_personal: z.boolean(),
|
|
1321
|
-
project_id: z.int().
|
|
1322
|
-
role_id: z.int().
|
|
1321
|
+
project_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1322
|
+
role_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1323
1323
|
role_name: z.string(),
|
|
1324
|
-
user_id: z.int().
|
|
1324
|
+
user_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1325
1325
|
});
|
|
1326
1326
|
const zRoleInput = z.object({
|
|
1327
|
-
description: z.
|
|
1327
|
+
description: z.optional(z.string()),
|
|
1328
1328
|
name: z.string(),
|
|
1329
1329
|
permissions: z.array(zPermission)
|
|
1330
1330
|
});
|
|
1331
1331
|
const zRoleRef = z.object({
|
|
1332
|
-
id: z.int().
|
|
1332
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1333
1333
|
name: z.string()
|
|
1334
1334
|
});
|
|
1335
1335
|
/**
|
|
@@ -1345,16 +1345,16 @@ const zSchedule = z.union([z.object({
|
|
|
1345
1345
|
}), z.object({
|
|
1346
1346
|
type: z.enum(["interval"]),
|
|
1347
1347
|
unit: zIntervalUnit,
|
|
1348
|
-
value: z.int().gte(0).
|
|
1348
|
+
value: z.int().check(z.gte(0), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1349
1349
|
})]);
|
|
1350
1350
|
/**
|
|
1351
1351
|
* A validated monitor configuration, with every default filled in.
|
|
1352
1352
|
*/
|
|
1353
1353
|
const zMonitorConfig = z.object({
|
|
1354
|
-
checkin_margin: z.int().gte(0).
|
|
1355
|
-
failure_issue_threshold: z.int().gte(0).
|
|
1356
|
-
max_runtime: z.int().gte(0).
|
|
1357
|
-
recovery_threshold: z.int().gte(0).
|
|
1354
|
+
checkin_margin: z.int().check(z.gte(0), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1355
|
+
failure_issue_threshold: z.int().check(z.gte(0), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1356
|
+
max_runtime: z.int().check(z.gte(0), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1357
|
+
recovery_threshold: z.int().check(z.gte(0), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1358
1358
|
schedule: zSchedule,
|
|
1359
1359
|
timezone: z.string()
|
|
1360
1360
|
});
|
|
@@ -1362,12 +1362,12 @@ const zMonitorConfig = z.object({
|
|
|
1362
1362
|
* `monitor_config` as an SDK or the dashboard sends it: every field optional.
|
|
1363
1363
|
*/
|
|
1364
1364
|
const zMonitorConfigInput = z.object({
|
|
1365
|
-
checkin_margin: z.int().gte(0)
|
|
1366
|
-
failure_issue_threshold: z.int().gte(0)
|
|
1367
|
-
max_runtime: z.int().gte(0)
|
|
1368
|
-
recovery_threshold: z.int().gte(0)
|
|
1369
|
-
schedule:
|
|
1370
|
-
timezone: z.
|
|
1365
|
+
checkin_margin: z.nullish(z.int().check(z.gte(0))),
|
|
1366
|
+
failure_issue_threshold: z.nullish(z.int().check(z.gte(0))),
|
|
1367
|
+
max_runtime: z.nullish(z.int().check(z.gte(0))),
|
|
1368
|
+
recovery_threshold: z.nullish(z.int().check(z.gte(0))),
|
|
1369
|
+
schedule: z.nullish(zSchedule),
|
|
1370
|
+
timezone: z.nullish(z.string())
|
|
1371
1371
|
});
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Body of `POST /api/projects/{project_id}/monitors`.
|
|
@@ -1375,7 +1375,7 @@ const zMonitorConfigInput = z.object({
|
|
|
1375
1375
|
const zCreateMonitor = z.object({
|
|
1376
1376
|
config: zMonitorConfigInput,
|
|
1377
1377
|
name: z.string(),
|
|
1378
|
-
slug: z.
|
|
1378
|
+
slug: z.nullish(z.string())
|
|
1379
1379
|
});
|
|
1380
1380
|
const zMonitorResponse = z.object({
|
|
1381
1381
|
config: zMonitorConfig,
|
|
@@ -1391,7 +1391,7 @@ const zMonitorResponse = z.object({
|
|
|
1391
1391
|
*/
|
|
1392
1392
|
const zPreviewSchedule = z.object({
|
|
1393
1393
|
schedule: zSchedule,
|
|
1394
|
-
timezone: z.
|
|
1394
|
+
timezone: z.nullish(z.string())
|
|
1395
1395
|
});
|
|
1396
1396
|
/**
|
|
1397
1397
|
* When a schedule runs next, computed by the code that runs it: monitors
|
|
@@ -1416,7 +1416,7 @@ const zSeenResponse = z.object({ has_seen: z.boolean() });
|
|
|
1416
1416
|
const zSentryGroupProject = z.object({
|
|
1417
1417
|
id: z.string(),
|
|
1418
1418
|
name: z.string(),
|
|
1419
|
-
platform: z.
|
|
1419
|
+
platform: z.nullable(z.string()),
|
|
1420
1420
|
slug: z.string()
|
|
1421
1421
|
});
|
|
1422
1422
|
/**
|
|
@@ -1434,16 +1434,16 @@ const zSentryIssue = z.object({
|
|
|
1434
1434
|
issueType: z.string(),
|
|
1435
1435
|
lastSeen: z.iso.datetime({ offset: true }),
|
|
1436
1436
|
level: z.string(),
|
|
1437
|
-
logger: z.
|
|
1437
|
+
logger: z.nullable(z.string()),
|
|
1438
1438
|
metadata: z.record(z.string(), z.unknown()),
|
|
1439
|
-
platform: z.
|
|
1440
|
-
priority: z.
|
|
1439
|
+
platform: z.nullable(z.string()),
|
|
1440
|
+
priority: z.nullable(z.string()),
|
|
1441
1441
|
project: zSentryGroupProject,
|
|
1442
1442
|
shortId: z.string(),
|
|
1443
|
-
stats: z.record(z.string(), z.unknown())
|
|
1443
|
+
stats: z.nullish(z.record(z.string(), z.unknown())),
|
|
1444
1444
|
status: z.string(),
|
|
1445
1445
|
statusDetails: z.record(z.string(), z.unknown()),
|
|
1446
|
-
substatus: z.
|
|
1446
|
+
substatus: z.nullable(z.string()),
|
|
1447
1447
|
title: z.string(),
|
|
1448
1448
|
type: z.string(),
|
|
1449
1449
|
userCount: z.int()
|
|
@@ -1461,9 +1461,9 @@ const zSentryRelease = z.object({
|
|
|
1461
1461
|
* Subset of `GroupDetailsEndpoint`'s response
|
|
1462
1462
|
* (`issues/endpoints/group_details.py`).
|
|
1463
1463
|
*/
|
|
1464
|
-
const zSentryIssueDetails =
|
|
1465
|
-
firstRelease:
|
|
1466
|
-
lastRelease:
|
|
1464
|
+
const zSentryIssueDetails = z.intersection(zSentryIssue, z.object({
|
|
1465
|
+
firstRelease: z.nullable(zSentryRelease),
|
|
1466
|
+
lastRelease: z.nullable(zSentryRelease),
|
|
1467
1467
|
userReportCount: z.int()
|
|
1468
1468
|
}));
|
|
1469
1469
|
/**
|
|
@@ -1492,7 +1492,7 @@ const zSentryProject = z.object({
|
|
|
1492
1492
|
id: z.string(),
|
|
1493
1493
|
name: z.string(),
|
|
1494
1494
|
organization: zSentryOrganization,
|
|
1495
|
-
platform: z.
|
|
1495
|
+
platform: z.nullable(z.string()),
|
|
1496
1496
|
slug: z.string(),
|
|
1497
1497
|
status: z.string()
|
|
1498
1498
|
});
|
|
@@ -1536,10 +1536,10 @@ const zSentryUserReport = z.object({
|
|
|
1536
1536
|
* Request body of a user report.
|
|
1537
1537
|
*/
|
|
1538
1538
|
const zSentryUserReportRequest = z.object({
|
|
1539
|
-
comments: z.
|
|
1540
|
-
email: z.
|
|
1539
|
+
comments: z.nullish(z.string()),
|
|
1540
|
+
email: z.nullish(z.string()),
|
|
1541
1541
|
event_id: z.string(),
|
|
1542
|
-
name: z.
|
|
1542
|
+
name: z.nullish(z.string())
|
|
1543
1543
|
});
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Project-wide session health summary, aggregated across all releases and environments.
|
|
@@ -1547,8 +1547,8 @@ const zSentryUserReportRequest = z.object({
|
|
|
1547
1547
|
const zSessionSummary = z.object({
|
|
1548
1548
|
abnormal: z.int(),
|
|
1549
1549
|
active_releases: z.int(),
|
|
1550
|
-
crash_free_sessions_rate: z.
|
|
1551
|
-
crash_free_users_rate: z.
|
|
1550
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
1551
|
+
crash_free_users_rate: z.nullable(z.number()),
|
|
1552
1552
|
crashed: z.int(),
|
|
1553
1553
|
errored: z.int(),
|
|
1554
1554
|
total: z.int()
|
|
@@ -1559,7 +1559,7 @@ const zSessionSummary = z.object({
|
|
|
1559
1559
|
*/
|
|
1560
1560
|
const zSessionTimeseriesPoint = z.object({
|
|
1561
1561
|
bucket: z.iso.datetime({ offset: true }),
|
|
1562
|
-
crash_free_sessions_rate: z.
|
|
1562
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
1563
1563
|
crashed: z.int(),
|
|
1564
1564
|
total: z.int()
|
|
1565
1565
|
});
|
|
@@ -1568,7 +1568,7 @@ const zSessionTimeseriesPoint = z.object({
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
const zSetAccess = z.object({
|
|
1570
1570
|
assignments: z.array(zAssignmentInput),
|
|
1571
|
-
personal:
|
|
1571
|
+
personal: z.nullish(zPersonalAccess)
|
|
1572
1572
|
});
|
|
1573
1573
|
/**
|
|
1574
1574
|
* Body of `PUT /api/projects/{project_id}/views/default`.
|
|
@@ -1576,11 +1576,11 @@ const zSetAccess = z.object({
|
|
|
1576
1576
|
const zSetDefaultView = z.object({
|
|
1577
1577
|
page: z.string(),
|
|
1578
1578
|
scope: zDefaultScope,
|
|
1579
|
-
view_id: z.int().
|
|
1579
|
+
view_id: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))
|
|
1580
1580
|
});
|
|
1581
1581
|
const zSetProjectMember = z.object({
|
|
1582
|
-
role_ids: z.array(z.int().
|
|
1583
|
-
user_id: z.int().
|
|
1582
|
+
role_ids: z.array(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1583
|
+
user_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1584
1584
|
});
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Sort order direction
|
|
@@ -1590,8 +1590,8 @@ const zSourceMapFile = z.object({
|
|
|
1590
1590
|
dateUploaded: z.string(),
|
|
1591
1591
|
debugId: z.string(),
|
|
1592
1592
|
fileType: z.string(),
|
|
1593
|
-
size: z.int().
|
|
1594
|
-
timesUsed: z.int().
|
|
1593
|
+
size: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1594
|
+
timesUsed: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1595
1595
|
});
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Outcome of a source-map garbage collection: orphaned `source_file` rows
|
|
@@ -1622,32 +1622,32 @@ const zSourceMapStorage = z.object({
|
|
|
1622
1622
|
* table, so `transaction_id` is the only thing that distinguishes them.
|
|
1623
1623
|
*/
|
|
1624
1624
|
const zSpanResponse = z.object({
|
|
1625
|
-
description: z.
|
|
1626
|
-
duration_ms: z.
|
|
1627
|
-
environment: z.
|
|
1628
|
-
exclusive_time_ms: z.
|
|
1629
|
-
gen_ai_agent_name: z.
|
|
1630
|
-
gen_ai_conversation_id: z.
|
|
1631
|
-
gen_ai_operation_type: z.
|
|
1632
|
-
gen_ai_request_model: z.
|
|
1633
|
-
gen_ai_response_model: z.
|
|
1634
|
-
gen_ai_tool_name: z.
|
|
1635
|
-
gen_ai_usage_input_tokens: z.
|
|
1636
|
-
gen_ai_usage_output_tokens: z.
|
|
1637
|
-
gen_ai_usage_total_tokens: z.
|
|
1625
|
+
description: z.nullable(z.string()),
|
|
1626
|
+
duration_ms: z.nullable(z.number()),
|
|
1627
|
+
environment: z.nullable(z.string()),
|
|
1628
|
+
exclusive_time_ms: z.nullable(z.number()),
|
|
1629
|
+
gen_ai_agent_name: z.nullable(z.string()),
|
|
1630
|
+
gen_ai_conversation_id: z.nullable(z.string()),
|
|
1631
|
+
gen_ai_operation_type: z.nullable(z.string()),
|
|
1632
|
+
gen_ai_request_model: z.nullable(z.string()),
|
|
1633
|
+
gen_ai_response_model: z.nullable(z.string()),
|
|
1634
|
+
gen_ai_tool_name: z.nullable(z.string()),
|
|
1635
|
+
gen_ai_usage_input_tokens: z.nullable(z.number()),
|
|
1636
|
+
gen_ai_usage_output_tokens: z.nullable(z.number()),
|
|
1637
|
+
gen_ai_usage_total_tokens: z.nullable(z.number()),
|
|
1638
1638
|
id: z.uuid(),
|
|
1639
1639
|
is_segment: z.boolean(),
|
|
1640
|
-
op: z.
|
|
1641
|
-
parent_span_id: z.
|
|
1642
|
-
platform: z.
|
|
1643
|
-
release: z.
|
|
1644
|
-
segment_id: z.
|
|
1645
|
-
span_id: z.
|
|
1646
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
1647
|
-
status: z.
|
|
1648
|
-
timestamp: z.iso.datetime({ offset: true })
|
|
1649
|
-
trace_id: z.
|
|
1650
|
-
transaction_id: z.
|
|
1640
|
+
op: z.nullable(z.string()),
|
|
1641
|
+
parent_span_id: z.nullable(z.string()),
|
|
1642
|
+
platform: z.nullable(z.string()),
|
|
1643
|
+
release: z.nullable(z.string()),
|
|
1644
|
+
segment_id: z.nullable(z.string()),
|
|
1645
|
+
span_id: z.nullable(z.string()),
|
|
1646
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
1647
|
+
status: z.nullable(z.string()),
|
|
1648
|
+
timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
1649
|
+
trace_id: z.nullable(z.string()),
|
|
1650
|
+
transaction_id: z.nullable(z.uuid())
|
|
1651
1651
|
});
|
|
1652
1652
|
/**
|
|
1653
1653
|
* One span with its full attribute bag — the detail counterpart to
|
|
@@ -1660,14 +1660,14 @@ const zSpanResponse = z.object({
|
|
|
1660
1660
|
* time instead, which is also how Sentry's own agent drawer works — the span
|
|
1661
1661
|
* list is light and the details panel loads the selected node's attributes.
|
|
1662
1662
|
*/
|
|
1663
|
-
const zSpanDetailResponse =
|
|
1663
|
+
const zSpanDetailResponse = z.intersection(zSpanResponse, z.object({
|
|
1664
1664
|
attributes: z.record(z.string(), z.unknown()),
|
|
1665
|
-
tags: z.record(z.string(), z.unknown())
|
|
1665
|
+
tags: z.nullable(z.record(z.string(), z.unknown()))
|
|
1666
1666
|
}));
|
|
1667
1667
|
const zSsoConfigResponse = z.object({
|
|
1668
1668
|
enabled: z.boolean(),
|
|
1669
1669
|
password_login_enabled: z.boolean(),
|
|
1670
|
-
provider_name: z.
|
|
1670
|
+
provider_name: z.nullable(z.string())
|
|
1671
1671
|
});
|
|
1672
1672
|
const zSsoLinkResponse = z.object({
|
|
1673
1673
|
email: z.string(),
|
|
@@ -1711,7 +1711,7 @@ const zTagValueCount = z.object({
|
|
|
1711
1711
|
const zTagSummary = z.object({
|
|
1712
1712
|
key: z.string(),
|
|
1713
1713
|
top_values: z.array(zTagValueCount),
|
|
1714
|
-
total_values: z.int().gte(0)
|
|
1714
|
+
total_values: z.int().check(z.gte(0))
|
|
1715
1715
|
});
|
|
1716
1716
|
/**
|
|
1717
1717
|
* Per-issue aggregates computed from recent events (capped scan).
|
|
@@ -1722,26 +1722,26 @@ const zIssueAggregates = z.object({
|
|
|
1722
1722
|
});
|
|
1723
1723
|
const zTelemetryPreview = z.object({
|
|
1724
1724
|
enabled: z.boolean(),
|
|
1725
|
-
reason: z.
|
|
1725
|
+
reason: z.nullable(z.string()),
|
|
1726
1726
|
report: z.record(z.string(), z.unknown()),
|
|
1727
|
-
sink: z.
|
|
1727
|
+
sink: z.nullable(z.string())
|
|
1728
1728
|
});
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Outcome of a test notification.
|
|
1731
1731
|
*/
|
|
1732
1732
|
const zTestChannelResponse = z.object({
|
|
1733
1733
|
message: z.string(),
|
|
1734
|
-
response_body: z.
|
|
1734
|
+
response_body: z.nullable(z.string()),
|
|
1735
1735
|
success: z.boolean()
|
|
1736
1736
|
});
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Request body for the test-integration endpoint.
|
|
1739
1739
|
*/
|
|
1740
|
-
const zTestIntegrationBody = z.object({ routing_override: z.record(z.string(), z.unknown())
|
|
1740
|
+
const zTestIntegrationBody = z.object({ routing_override: z.nullish(z.record(z.string(), z.unknown())) });
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Body for toggling a per-user flag (bookmark/subscription).
|
|
1743
1743
|
*/
|
|
1744
|
-
const zToggleRequest = z.object({ enabled: z.
|
|
1744
|
+
const zToggleRequest = z.object({ enabled: z.nullish(z.boolean()) });
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Response model for a single transaction detail view.
|
|
1747
1747
|
*
|
|
@@ -1752,27 +1752,27 @@ const zToggleRequest = z.object({ enabled: z.boolean().nullish() });
|
|
|
1752
1752
|
*/
|
|
1753
1753
|
const zTransactionDetailResponse = z.object({
|
|
1754
1754
|
data: z.record(z.string(), z.unknown()),
|
|
1755
|
-
duration_ms: z.
|
|
1755
|
+
duration_ms: z.nullable(z.number()),
|
|
1756
1756
|
environment: z.string(),
|
|
1757
1757
|
event_id: z.string(),
|
|
1758
1758
|
id: z.uuid(),
|
|
1759
1759
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
1760
1760
|
platform: z.string(),
|
|
1761
1761
|
release: z.string(),
|
|
1762
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
1762
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
1763
1763
|
timestamp: z.iso.datetime({ offset: true }),
|
|
1764
1764
|
transaction_name: z.string()
|
|
1765
1765
|
});
|
|
1766
1766
|
z.object({
|
|
1767
|
-
duration_ms: z.
|
|
1767
|
+
duration_ms: z.nullable(z.number()),
|
|
1768
1768
|
environment: z.string(),
|
|
1769
1769
|
event_id: z.string(),
|
|
1770
1770
|
id: z.uuid(),
|
|
1771
1771
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
1772
1772
|
platform: z.string(),
|
|
1773
1773
|
release: z.string(),
|
|
1774
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
1775
|
-
status: z.
|
|
1774
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
1775
|
+
status: z.nullable(z.string()),
|
|
1776
1776
|
timestamp: z.iso.datetime({ offset: true }),
|
|
1777
1777
|
transaction_name: z.string()
|
|
1778
1778
|
});
|
|
@@ -1787,7 +1787,7 @@ const zTransactionStatsResponse = z.object({
|
|
|
1787
1787
|
count: z.int(),
|
|
1788
1788
|
failure_rate: z.number(),
|
|
1789
1789
|
last_seen: z.iso.datetime({ offset: true }),
|
|
1790
|
-
op: z.
|
|
1790
|
+
op: z.nullable(z.string()),
|
|
1791
1791
|
p50_ms: z.number(),
|
|
1792
1792
|
p95_ms: z.number(),
|
|
1793
1793
|
p99_ms: z.number(),
|
|
@@ -1810,20 +1810,20 @@ const zTransactionTimeseriesPoint = z.object({
|
|
|
1810
1810
|
* DTO for updating an alert integration
|
|
1811
1811
|
*/
|
|
1812
1812
|
const zUpdateAlertIntegration = z.object({
|
|
1813
|
-
credentials: z.record(z.string(), z.unknown())
|
|
1814
|
-
is_enabled: z.
|
|
1815
|
-
name: z.
|
|
1813
|
+
credentials: z.nullish(z.record(z.string(), z.unknown())),
|
|
1814
|
+
is_enabled: z.nullish(z.boolean()),
|
|
1815
|
+
name: z.nullish(z.string())
|
|
1816
1816
|
});
|
|
1817
1817
|
/**
|
|
1818
1818
|
* DTO for updating an alert rule
|
|
1819
1819
|
*/
|
|
1820
1820
|
const zUpdateAlertRule = z.object({
|
|
1821
|
-
alert_type:
|
|
1822
|
-
channels: z.array(zAlertRuleChannelInput)
|
|
1823
|
-
conditions: z.record(z.string(), z.unknown())
|
|
1824
|
-
cooldown_minutes: z.int().
|
|
1825
|
-
is_enabled: z.
|
|
1826
|
-
name: z.
|
|
1821
|
+
alert_type: z.nullish(zAlertType),
|
|
1822
|
+
channels: z.nullish(z.array(zAlertRuleChannelInput)),
|
|
1823
|
+
conditions: z.nullish(z.record(z.string(), z.unknown())),
|
|
1824
|
+
cooldown_minutes: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1825
|
+
is_enabled: z.nullish(z.boolean()),
|
|
1826
|
+
name: z.nullish(z.string())
|
|
1827
1827
|
});
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Request to update issue state.
|
|
@@ -1831,20 +1831,20 @@ const zUpdateAlertRule = z.object({
|
|
|
1831
1831
|
* `status`/`substatus`/`priority`/assignment, as in Sentry.
|
|
1832
1832
|
*/
|
|
1833
1833
|
const zUpdateIssueState = z.object({
|
|
1834
|
-
assigned_to: z.int().
|
|
1835
|
-
assignee_type: z.
|
|
1836
|
-
priority:
|
|
1837
|
-
status:
|
|
1838
|
-
substatus: z.
|
|
1834
|
+
assigned_to: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1835
|
+
assignee_type: z.nullish(z.string()),
|
|
1836
|
+
priority: z.nullish(zIssuePriority),
|
|
1837
|
+
status: z.nullish(zIssueStatusUpdate),
|
|
1838
|
+
substatus: z.nullish(z.string())
|
|
1839
1839
|
});
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Body of `PUT /api/projects/{project_id}/monitors/{slug}`. Fields left out
|
|
1842
1842
|
* keep their value, including each field of `config`.
|
|
1843
1843
|
*/
|
|
1844
1844
|
const zUpdateMonitor = z.object({
|
|
1845
|
-
config:
|
|
1846
|
-
is_muted: z.
|
|
1847
|
-
name: z.
|
|
1845
|
+
config: z.nullish(zMonitorConfigInput),
|
|
1846
|
+
is_muted: z.nullish(z.boolean()),
|
|
1847
|
+
name: z.nullish(z.string())
|
|
1848
1848
|
});
|
|
1849
1849
|
/**
|
|
1850
1850
|
* What a reader may change about how the dashboard is presented to them.
|
|
@@ -1855,27 +1855,28 @@ const zUpdateMonitor = z.object({
|
|
|
1855
1855
|
* `Option<Option<T>>` collapses a missing key and an explicit null.
|
|
1856
1856
|
*/
|
|
1857
1857
|
const zUpdatePreferencesRequest = z.object({
|
|
1858
|
-
|
|
1859
|
-
|
|
1858
|
+
clock_24h: z.nullish(z.boolean()),
|
|
1859
|
+
language: z.nullish(z.string()),
|
|
1860
|
+
timezone: z.nullish(z.string())
|
|
1860
1861
|
});
|
|
1861
1862
|
/**
|
|
1862
1863
|
* DTO for updating a project
|
|
1863
1864
|
*/
|
|
1864
1865
|
const zUpdateProject = z.object({
|
|
1865
|
-
disabled_products: z.array(zProduct)
|
|
1866
|
-
name: z.
|
|
1867
|
-
platform: z.
|
|
1868
|
-
product_order: z.array(zProduct)
|
|
1869
|
-
rate_limit_per_hour: z.
|
|
1870
|
-
rate_limit_per_minute: z.
|
|
1871
|
-
slug: z.
|
|
1866
|
+
disabled_products: z.nullish(z.array(zProduct)),
|
|
1867
|
+
name: z.nullish(z.string()),
|
|
1868
|
+
platform: z.nullish(z.string()),
|
|
1869
|
+
product_order: z.nullish(z.array(zProduct)),
|
|
1870
|
+
rate_limit_per_hour: z.nullish(z.int()),
|
|
1871
|
+
rate_limit_per_minute: z.nullish(z.int()),
|
|
1872
|
+
slug: z.nullish(z.string())
|
|
1872
1873
|
});
|
|
1873
1874
|
const zUpdateProjectRepository = z.object({
|
|
1874
|
-
auto_create_conditions: z.record(z.string(), z.unknown())
|
|
1875
|
-
auto_create_issues: z.
|
|
1876
|
-
code_mappings: z.array(zCodeMapping)
|
|
1875
|
+
auto_create_conditions: z.nullish(z.record(z.string(), z.unknown())),
|
|
1876
|
+
auto_create_issues: z.nullish(z.boolean()),
|
|
1877
|
+
code_mappings: z.nullish(z.array(zCodeMapping)),
|
|
1877
1878
|
installation_id: z.int(),
|
|
1878
|
-
issue_template:
|
|
1879
|
+
issue_template: z.nullish(zIssueTemplate),
|
|
1879
1880
|
repo_full_name: z.string()
|
|
1880
1881
|
});
|
|
1881
1882
|
/**
|
|
@@ -1885,9 +1886,9 @@ const zUpdateProjectRepository = z.object({
|
|
|
1885
1886
|
* unchanged, matching Sentry's own partial-update semantics for this endpoint.
|
|
1886
1887
|
*/
|
|
1887
1888
|
const zUpdateRelease = z.object({
|
|
1888
|
-
dateReleased: z.iso.datetime({ offset: true })
|
|
1889
|
-
ref: z.
|
|
1890
|
-
url: z.
|
|
1889
|
+
dateReleased: z.nullish(z.iso.datetime({ offset: true })),
|
|
1890
|
+
ref: z.nullish(z.string()),
|
|
1891
|
+
url: z.nullish(z.string())
|
|
1891
1892
|
});
|
|
1892
1893
|
/**
|
|
1893
1894
|
* Everything a user holds.
|
|
@@ -1903,20 +1904,20 @@ const zUserReport = z.object({
|
|
|
1903
1904
|
comments: z.string(),
|
|
1904
1905
|
created_at: z.iso.datetime({ offset: true }),
|
|
1905
1906
|
email: z.string(),
|
|
1906
|
-
event_id: z.
|
|
1907
|
+
event_id: z.nullable(z.uuid()),
|
|
1907
1908
|
id: z.uuid(),
|
|
1908
|
-
issue_id: z.
|
|
1909
|
+
issue_id: z.nullable(z.uuid()),
|
|
1909
1910
|
name: z.string(),
|
|
1910
|
-
project_id: z.int().
|
|
1911
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1911
1912
|
});
|
|
1912
1913
|
/**
|
|
1913
1914
|
* Body for submitting user feedback on an issue.
|
|
1914
1915
|
*/
|
|
1915
1916
|
const zUserReportRequest = z.object({
|
|
1916
|
-
comments: z.
|
|
1917
|
-
email: z.
|
|
1918
|
-
event_id: z.
|
|
1919
|
-
name: z.
|
|
1917
|
+
comments: z.nullish(z.string()),
|
|
1918
|
+
email: z.nullish(z.string()),
|
|
1919
|
+
event_id: z.nullish(z.uuid()),
|
|
1920
|
+
name: z.nullish(z.string())
|
|
1920
1921
|
});
|
|
1921
1922
|
/**
|
|
1922
1923
|
* Instance-wide role for a user.
|
|
@@ -1927,10 +1928,10 @@ const zUserReportRequest = z.object({
|
|
|
1927
1928
|
const zUserRole = z.enum(["admin", "member"]);
|
|
1928
1929
|
const zCreateInvitation = z.object({
|
|
1929
1930
|
email: z.string(),
|
|
1930
|
-
project_id: z.int().
|
|
1931
|
+
project_id: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1931
1932
|
role: zUserRole,
|
|
1932
|
-
role_id: z.int().
|
|
1933
|
-
send_email: z.
|
|
1933
|
+
role_id: z.nullish(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1934
|
+
send_email: z.optional(z.boolean())
|
|
1934
1935
|
});
|
|
1935
1936
|
/**
|
|
1936
1937
|
* Public-facing invitation info for the accept page.
|
|
@@ -1947,14 +1948,14 @@ const zInvitationInfoResponse = z.object({
|
|
|
1947
1948
|
const zInvitationResponse = z.object({
|
|
1948
1949
|
created_at: z.iso.datetime({ offset: true }),
|
|
1949
1950
|
email: z.string(),
|
|
1950
|
-
email_sent_at: z.iso.datetime({ offset: true })
|
|
1951
|
+
email_sent_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1951
1952
|
expires_at: z.iso.datetime({ offset: true }),
|
|
1952
1953
|
id: z.string(),
|
|
1953
|
-
project_id: z.int().
|
|
1954
|
+
project_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1954
1955
|
role: zUserRole,
|
|
1955
|
-
role_id: z.int().
|
|
1956
|
+
role_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
1956
1957
|
status: z.string(),
|
|
1957
|
-
token: z.
|
|
1958
|
+
token: z.nullable(z.string())
|
|
1958
1959
|
});
|
|
1959
1960
|
/**
|
|
1960
1961
|
* A user as exposed on the team roster.
|
|
@@ -1962,10 +1963,10 @@ const zInvitationResponse = z.object({
|
|
|
1962
1963
|
const zTeamMemberResponse = z.object({
|
|
1963
1964
|
created_at: z.iso.datetime({ offset: true }),
|
|
1964
1965
|
email: z.string(),
|
|
1965
|
-
id: z.int().
|
|
1966
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1966
1967
|
is_active: z.boolean(),
|
|
1967
1968
|
is_primary: z.boolean(),
|
|
1968
|
-
last_login: z.iso.datetime({ offset: true })
|
|
1969
|
+
last_login: z.nullable(z.iso.datetime({ offset: true })),
|
|
1969
1970
|
role: zUserRole
|
|
1970
1971
|
});
|
|
1971
1972
|
/**
|
|
@@ -1973,12 +1974,13 @@ const zTeamMemberResponse = z.object({
|
|
|
1973
1974
|
*/
|
|
1974
1975
|
const zUpdateUserRole = z.object({ role: zUserRole });
|
|
1975
1976
|
const zUserResponse = z.object({
|
|
1977
|
+
clock_24h: z.nullable(z.boolean()),
|
|
1976
1978
|
email: z.string(),
|
|
1977
|
-
id: z.int().
|
|
1979
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1978
1980
|
is_admin: z.boolean(),
|
|
1979
|
-
language: z.
|
|
1981
|
+
language: z.nullable(z.string()),
|
|
1980
1982
|
role: zUserRole,
|
|
1981
|
-
timezone: z.
|
|
1983
|
+
timezone: z.nullable(z.string())
|
|
1982
1984
|
});
|
|
1983
1985
|
const zAcceptInvitationResponse = z.object({
|
|
1984
1986
|
signed_in: z.boolean(),
|
|
@@ -1998,17 +2000,17 @@ const zCreateSavedView = z.object({
|
|
|
1998
2000
|
name: z.string(),
|
|
1999
2001
|
page: z.string(),
|
|
2000
2002
|
query: z.string(),
|
|
2001
|
-
visibility:
|
|
2003
|
+
visibility: z.optional(zViewVisibility)
|
|
2002
2004
|
});
|
|
2003
2005
|
const zSavedView = z.object({
|
|
2004
2006
|
created_at: z.iso.datetime({ offset: true }),
|
|
2005
|
-
created_by: z.int().
|
|
2006
|
-
id: z.int().
|
|
2007
|
+
created_by: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
2008
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2007
2009
|
is_my_default: z.boolean(),
|
|
2008
2010
|
is_project_default: z.boolean(),
|
|
2009
2011
|
name: z.string(),
|
|
2010
2012
|
page: z.string(),
|
|
2011
|
-
project_id: z.int().
|
|
2013
|
+
project_id: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
2012
2014
|
query: z.string(),
|
|
2013
2015
|
visibility: zViewVisibility
|
|
2014
2016
|
});
|
|
@@ -2017,22 +2019,22 @@ const zSavedView = z.object({
|
|
|
2017
2019
|
* fields sent change.
|
|
2018
2020
|
*/
|
|
2019
2021
|
const zUpdateSavedView = z.object({
|
|
2020
|
-
name: z.
|
|
2021
|
-
query: z.
|
|
2022
|
-
visibility:
|
|
2022
|
+
name: z.nullish(z.string()),
|
|
2023
|
+
query: z.nullish(z.string()),
|
|
2024
|
+
visibility: z.nullish(zViewVisibility)
|
|
2023
2025
|
});
|
|
2024
|
-
const zSentryGetIssuePath = z.object({ issue_id: z.string().regex(/^[0-9]+$/) });
|
|
2026
|
+
const zSentryGetIssuePath = z.object({ issue_id: z.string().check(z.regex(/^[0-9]+$/)) });
|
|
2025
2027
|
/**
|
|
2026
2028
|
* Issue details
|
|
2027
2029
|
*/
|
|
2028
2030
|
const zSentryGetIssueResponse = zSentryIssueDetails;
|
|
2029
2031
|
const zSentryUpdateIssueBody = zIssueUpdate;
|
|
2030
|
-
const zSentryUpdateIssuePath = z.object({ issue_id: z.string().regex(/^[0-9]+$/) });
|
|
2032
|
+
const zSentryUpdateIssuePath = z.object({ issue_id: z.string().check(z.regex(/^[0-9]+$/)) });
|
|
2031
2033
|
/**
|
|
2032
2034
|
* Issue updated
|
|
2033
2035
|
*/
|
|
2034
2036
|
const zSentryUpdateIssueResponse = zSentryIssue;
|
|
2035
|
-
const zSentryGetLatestEventPath = z.object({ issue_id: z.string().regex(/^[0-9]+$/) });
|
|
2037
|
+
const zSentryGetLatestEventPath = z.object({ issue_id: z.string().check(z.regex(/^[0-9]+$/)) });
|
|
2036
2038
|
/**
|
|
2037
2039
|
* The issue's latest event
|
|
2038
2040
|
*/
|
|
@@ -2064,13 +2066,13 @@ const zSourceMapsChunkUploadBody = zChunkUploadBody;
|
|
|
2064
2066
|
const zSourceMapsChunkUploadPath = z.object({ org_slug: z.string() });
|
|
2065
2067
|
const zSentryListOrganizationIssuesPath = z.object({ org_slug: z.string() });
|
|
2066
2068
|
const zSentryListOrganizationIssuesQuery = z.object({
|
|
2067
|
-
project: z.array(z.string())
|
|
2068
|
-
query: z.
|
|
2069
|
-
sort: z.
|
|
2070
|
-
limit: z.
|
|
2071
|
-
cursor: z.
|
|
2072
|
-
statsPeriod: z.
|
|
2073
|
-
environment: z.
|
|
2069
|
+
project: z.optional(z.array(z.string())),
|
|
2070
|
+
query: z.nullish(z.string()),
|
|
2071
|
+
sort: z.nullish(z.string()),
|
|
2072
|
+
limit: z.nullish(z.string()),
|
|
2073
|
+
cursor: z.nullish(z.string()),
|
|
2074
|
+
statsPeriod: z.nullish(z.string()),
|
|
2075
|
+
environment: z.nullish(z.string())
|
|
2074
2076
|
});
|
|
2075
2077
|
/**
|
|
2076
2078
|
* Issues; paginated by the `Link` header
|
|
@@ -2082,8 +2084,8 @@ const zSentryListReposPath = z.object({ org_slug: z.string() });
|
|
|
2082
2084
|
*/
|
|
2083
2085
|
const zSentryListReposResponse = z.array(z.record(z.string(), z.unknown()));
|
|
2084
2086
|
const zSentryListProjectsQuery = z.object({
|
|
2085
|
-
per_page: z.
|
|
2086
|
-
cursor: z.
|
|
2087
|
+
per_page: z.nullish(z.int()),
|
|
2088
|
+
cursor: z.nullish(z.string())
|
|
2087
2089
|
});
|
|
2088
2090
|
/**
|
|
2089
2091
|
* Projects, newest first; paginated by the `Link` header
|
|
@@ -2123,12 +2125,12 @@ const zSentryListIssuesPath = z.object({
|
|
|
2123
2125
|
project_slug: z.string()
|
|
2124
2126
|
});
|
|
2125
2127
|
const zSentryListIssuesQuery = z.object({
|
|
2126
|
-
query: z.
|
|
2127
|
-
sort: z.
|
|
2128
|
-
limit: z.
|
|
2129
|
-
cursor: z.
|
|
2130
|
-
statsPeriod: z.
|
|
2131
|
-
environment: z.
|
|
2128
|
+
query: z.nullish(z.string()),
|
|
2129
|
+
sort: z.nullish(z.string()),
|
|
2130
|
+
limit: z.nullish(z.string()),
|
|
2131
|
+
cursor: z.nullish(z.string()),
|
|
2132
|
+
statsPeriod: z.nullish(z.string()),
|
|
2133
|
+
environment: z.nullish(z.string())
|
|
2132
2134
|
});
|
|
2133
2135
|
/**
|
|
2134
2136
|
* Issues; paginated by the `Link` header
|
|
@@ -2171,24 +2173,24 @@ const zAccessCatalogResponse = zCatalog;
|
|
|
2171
2173
|
*/
|
|
2172
2174
|
const zAccessMeResponse = zMyAccess;
|
|
2173
2175
|
const zFeedbackListAllQuery = z.object({
|
|
2174
|
-
project: z.
|
|
2175
|
-
page: z.
|
|
2176
|
-
per_page: z.
|
|
2177
|
-
filter:
|
|
2176
|
+
project: z.optional(z.string()),
|
|
2177
|
+
page: z.optional(z.int()),
|
|
2178
|
+
per_page: z.optional(z.int()),
|
|
2179
|
+
filter: z.optional(zIssueFilter)
|
|
2178
2180
|
});
|
|
2179
2181
|
/**
|
|
2180
2182
|
* Offset-based paginated response wrapper
|
|
2181
2183
|
*/
|
|
2182
2184
|
const zFeedbackListAllResponse = z.object({
|
|
2183
2185
|
items: z.array(z.object({
|
|
2184
|
-
associated_event_id: z.
|
|
2186
|
+
associated_event_id: z.nullable(z.string()),
|
|
2185
2187
|
attachments: z.array(zAttachmentInfo),
|
|
2186
2188
|
contact_email: z.string(),
|
|
2187
2189
|
created_at: z.iso.datetime({ offset: true }),
|
|
2188
2190
|
id: z.uuid(),
|
|
2189
2191
|
message: z.string(),
|
|
2190
2192
|
name: z.string(),
|
|
2191
|
-
project_id: z.int().
|
|
2193
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2192
2194
|
status: zIssueStatus,
|
|
2193
2195
|
url: z.string()
|
|
2194
2196
|
})),
|
|
@@ -2229,7 +2231,7 @@ const zGithubPutMyLoginBody = zGitHubLogin;
|
|
|
2229
2231
|
* GitHub username saved
|
|
2230
2232
|
*/
|
|
2231
2233
|
const zGithubPutMyLoginResponse = zGitHubLogin;
|
|
2232
|
-
const zGithubRepositoriesQuery = z.object({ project_id: z.int().
|
|
2234
|
+
const zGithubRepositoriesQuery = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2233
2235
|
/**
|
|
2234
2236
|
* Repositories the installations reach
|
|
2235
2237
|
*/
|
|
@@ -2256,24 +2258,24 @@ const zAlertChannelsPreviewTemplateBody = zPreviewTemplateBody;
|
|
|
2256
2258
|
* Rendered body, or why it would not render
|
|
2257
2259
|
*/
|
|
2258
2260
|
const zAlertChannelsPreviewTemplateResponse = zPreviewTemplateResponse;
|
|
2259
|
-
const zAlertChannelsDeletePath = z.object({ id: z.int().
|
|
2261
|
+
const zAlertChannelsDeletePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2260
2262
|
/**
|
|
2261
2263
|
* Channel deleted
|
|
2262
2264
|
*/
|
|
2263
2265
|
const zAlertChannelsDeleteResponse = z.void();
|
|
2264
|
-
const zAlertChannelsGetPath = z.object({ id: z.int().
|
|
2266
|
+
const zAlertChannelsGetPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2265
2267
|
/**
|
|
2266
2268
|
* Channel details
|
|
2267
2269
|
*/
|
|
2268
2270
|
const zAlertChannelsGetResponse = zAlertIntegration;
|
|
2269
2271
|
const zAlertChannelsUpdateBody = zUpdateAlertIntegration;
|
|
2270
|
-
const zAlertChannelsUpdatePath = z.object({ id: z.int().
|
|
2272
|
+
const zAlertChannelsUpdatePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2271
2273
|
/**
|
|
2272
2274
|
* Channel updated
|
|
2273
2275
|
*/
|
|
2274
2276
|
const zAlertChannelsUpdateResponse = zAlertIntegration;
|
|
2275
2277
|
const zAlertChannelsTestBody = zTestIntegrationBody;
|
|
2276
|
-
const zAlertChannelsTestPath = z.object({ id: z.int().
|
|
2278
|
+
const zAlertChannelsTestPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2277
2279
|
/**
|
|
2278
2280
|
* Test notification sent
|
|
2279
2281
|
*/
|
|
@@ -2302,56 +2304,56 @@ const zInvitationsResendPath = z.object({ id: z.string() });
|
|
|
2302
2304
|
*/
|
|
2303
2305
|
const zInvitationsResendResponse = zInvitationResponse;
|
|
2304
2306
|
const zIssuesListAllQuery = z.object({
|
|
2305
|
-
project: z.
|
|
2306
|
-
page: z.int().gte(1)
|
|
2307
|
-
per_page: z.int().gte(1).lte(100)
|
|
2308
|
-
sort:
|
|
2309
|
-
order:
|
|
2310
|
-
filter:
|
|
2311
|
-
category:
|
|
2312
|
-
q: z.
|
|
2313
|
-
environment: z.
|
|
2314
|
-
release: z.
|
|
2315
|
-
level: z.
|
|
2316
|
-
priority: z.
|
|
2317
|
-
assigned: z.
|
|
2318
|
-
first_seen: z.
|
|
2319
|
-
last_seen: z.
|
|
2320
|
-
events_min: z.
|
|
2321
|
-
events_max: z.
|
|
2307
|
+
project: z.optional(z.string()),
|
|
2308
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
2309
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
2310
|
+
sort: z.optional(zIssueSort),
|
|
2311
|
+
order: z.optional(zSortOrder),
|
|
2312
|
+
filter: z.optional(zIssueFilter),
|
|
2313
|
+
category: z.optional(zIssueCategory),
|
|
2314
|
+
q: z.nullish(z.string()),
|
|
2315
|
+
environment: z.nullish(z.string()),
|
|
2316
|
+
release: z.nullish(z.string()),
|
|
2317
|
+
level: z.nullish(z.string()),
|
|
2318
|
+
priority: z.nullish(z.string()),
|
|
2319
|
+
assigned: z.nullish(z.string()),
|
|
2320
|
+
first_seen: z.nullish(z.string()),
|
|
2321
|
+
last_seen: z.nullish(z.string()),
|
|
2322
|
+
events_min: z.nullish(z.int()),
|
|
2323
|
+
events_max: z.nullish(z.int())
|
|
2322
2324
|
});
|
|
2323
2325
|
/**
|
|
2324
2326
|
* Offset-based paginated response wrapper
|
|
2325
2327
|
*/
|
|
2326
2328
|
const zIssuesListAllResponse = z.object({
|
|
2327
2329
|
items: z.array(z.object({
|
|
2328
|
-
assigned_to: z.int().
|
|
2329
|
-
assignee_type: z.
|
|
2330
|
+
assigned_to: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
2331
|
+
assignee_type: z.nullable(z.string()),
|
|
2330
2332
|
culprit: z.string(),
|
|
2331
|
-
event_count: z.int().
|
|
2333
|
+
event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2332
2334
|
first_release: z.string(),
|
|
2333
2335
|
first_seen: z.iso.datetime({ offset: true }),
|
|
2334
|
-
has_seen: z.
|
|
2336
|
+
has_seen: z.nullish(z.boolean()),
|
|
2335
2337
|
id: z.uuid(),
|
|
2336
|
-
is_bookmarked: z.
|
|
2337
|
-
is_subscribed: z.
|
|
2338
|
+
is_bookmarked: z.nullish(z.boolean()),
|
|
2339
|
+
is_subscribed: z.nullish(z.boolean()),
|
|
2338
2340
|
issue_category: z.string(),
|
|
2339
2341
|
issue_type: z.string(),
|
|
2340
2342
|
last_release: z.string(),
|
|
2341
2343
|
last_seen: z.iso.datetime({ offset: true }),
|
|
2342
|
-
level: z.
|
|
2344
|
+
level: z.nullable(z.string()),
|
|
2343
2345
|
logger: z.string(),
|
|
2344
|
-
platform: z.
|
|
2345
|
-
priority:
|
|
2346
|
-
project_id: z.int().
|
|
2346
|
+
platform: z.nullable(z.string()),
|
|
2347
|
+
priority: z.nullable(zIssuePriority),
|
|
2348
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2347
2349
|
short_id: z.string(),
|
|
2348
2350
|
status: zIssueStatus,
|
|
2349
2351
|
status_details: z.record(z.string(), z.unknown()),
|
|
2350
|
-
substatus: z.
|
|
2352
|
+
substatus: z.nullable(z.string()),
|
|
2351
2353
|
title: z.string(),
|
|
2352
|
-
trend: z.array(z.int())
|
|
2353
|
-
user_count: z.
|
|
2354
|
-
user_report_count: z.
|
|
2354
|
+
trend: z.nullish(z.array(z.int())),
|
|
2355
|
+
user_count: z.nullish(z.int()),
|
|
2356
|
+
user_report_count: z.nullish(z.int()),
|
|
2355
2357
|
value: z.string()
|
|
2356
2358
|
})),
|
|
2357
2359
|
page: z.int(),
|
|
@@ -2365,8 +2367,8 @@ const zOauthGetAuthorizationQuery = z.object({
|
|
|
2365
2367
|
redirect_uri: z.string(),
|
|
2366
2368
|
code_challenge: z.string(),
|
|
2367
2369
|
code_challenge_method: z.string(),
|
|
2368
|
-
state: z.
|
|
2369
|
-
resource: z.
|
|
2370
|
+
state: z.nullish(z.string()),
|
|
2371
|
+
resource: z.nullish(z.string())
|
|
2370
2372
|
});
|
|
2371
2373
|
/**
|
|
2372
2374
|
* The verified client asking for access
|
|
@@ -2381,16 +2383,16 @@ const zOauthDecideAuthorizationResponse = zAuthorizationRedirect;
|
|
|
2381
2383
|
* Assistants connected to your account
|
|
2382
2384
|
*/
|
|
2383
2385
|
const zOauthListGrantsResponse = z.array(zOAuthGrant);
|
|
2384
|
-
const zOauthRevokeGrantPath = z.object({ id: z.int().
|
|
2386
|
+
const zOauthRevokeGrantPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2385
2387
|
/**
|
|
2386
2388
|
* Disconnected
|
|
2387
2389
|
*/
|
|
2388
2390
|
const zOauthRevokeGrantResponse = z.void();
|
|
2389
2391
|
const zProjectsListQuery = z.object({
|
|
2390
|
-
page: z.int().gte(1)
|
|
2391
|
-
per_page: z.int().gte(1).lte(100)
|
|
2392
|
-
order:
|
|
2393
|
-
stats_period: z.
|
|
2392
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
2393
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
2394
|
+
order: z.optional(zSortOrder),
|
|
2395
|
+
stats_period: z.nullish(z.string())
|
|
2394
2396
|
});
|
|
2395
2397
|
/**
|
|
2396
2398
|
* Offset-based paginated response wrapper
|
|
@@ -2398,20 +2400,20 @@ const zProjectsListQuery = z.object({
|
|
|
2398
2400
|
const zProjectsListResponse = z.object({
|
|
2399
2401
|
items: z.array(z.object({
|
|
2400
2402
|
created_at: z.iso.datetime({ offset: true }),
|
|
2401
|
-
digested_event_count: z.int().
|
|
2403
|
+
digested_event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2402
2404
|
disabled_products: z.array(zProduct),
|
|
2403
|
-
dsn: z.
|
|
2404
|
-
id: z.int().
|
|
2405
|
+
dsn: z.nullable(z.string()),
|
|
2406
|
+
id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2405
2407
|
name: z.string(),
|
|
2406
|
-
platform: z.
|
|
2408
|
+
platform: z.nullable(z.string()),
|
|
2407
2409
|
product_order: z.array(zProduct),
|
|
2408
|
-
rate_limit_per_hour: z.
|
|
2409
|
-
rate_limit_per_minute: z.
|
|
2410
|
+
rate_limit_per_hour: z.nullable(z.int()),
|
|
2411
|
+
rate_limit_per_minute: z.nullable(z.int()),
|
|
2410
2412
|
rate_limited_event_count: z.int(),
|
|
2411
|
-
sentry_key: z.
|
|
2413
|
+
sentry_key: z.nullable(z.string()),
|
|
2412
2414
|
slug: z.string(),
|
|
2413
|
-
stats:
|
|
2414
|
-
stored_event_count: z.int().
|
|
2415
|
+
stats: z.nullish(zProjectListStats),
|
|
2416
|
+
stored_event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2415
2417
|
updated_at: z.iso.datetime({ offset: true })
|
|
2416
2418
|
})),
|
|
2417
2419
|
page: z.int(),
|
|
@@ -2424,28 +2426,28 @@ const zProjectsCreateBody = zCreateProject;
|
|
|
2424
2426
|
* Project created
|
|
2425
2427
|
*/
|
|
2426
2428
|
const zProjectsCreateResponse = zProjectResponse;
|
|
2427
|
-
const zProjectsDeletePath = z.object({ id: z.int().
|
|
2429
|
+
const zProjectsDeletePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2428
2430
|
/**
|
|
2429
2431
|
* Project deleted
|
|
2430
2432
|
*/
|
|
2431
2433
|
const zProjectsDeleteResponse = z.void();
|
|
2432
|
-
const zProjectsGetPath = z.object({ id: z.int().
|
|
2434
|
+
const zProjectsGetPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2433
2435
|
/**
|
|
2434
2436
|
* Project details
|
|
2435
2437
|
*/
|
|
2436
2438
|
const zProjectsGetResponse = zProjectResponse;
|
|
2437
2439
|
const zProjectsUpdateBody = zUpdateProject;
|
|
2438
|
-
const zProjectsUpdatePath = z.object({ id: z.int().
|
|
2440
|
+
const zProjectsUpdatePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2439
2441
|
/**
|
|
2440
2442
|
* Project updated
|
|
2441
2443
|
*/
|
|
2442
2444
|
const zProjectsUpdateResponse = zProjectResponse;
|
|
2443
|
-
const zAgentsConversationsPath = z.object({ project_id: z.int().
|
|
2445
|
+
const zAgentsConversationsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2444
2446
|
const zAgentsConversationsQuery = z.object({
|
|
2445
|
-
period_hours: z.
|
|
2446
|
-
environment: z.
|
|
2447
|
-
page: z.int().gte(1)
|
|
2448
|
-
per_page: z.int().gte(1).lte(100)
|
|
2447
|
+
period_hours: z.nullish(z.int()),
|
|
2448
|
+
environment: z.nullish(z.string()),
|
|
2449
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
2450
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100)))
|
|
2449
2451
|
});
|
|
2450
2452
|
/**
|
|
2451
2453
|
* Offset-based paginated response wrapper
|
|
@@ -2455,8 +2457,8 @@ const zAgentsConversationsResponse = z.object({
|
|
|
2455
2457
|
agent_names: z.array(z.string()),
|
|
2456
2458
|
conversation_id: z.string(),
|
|
2457
2459
|
error_count: z.int(),
|
|
2458
|
-
first_seen: z.iso.datetime({ offset: true })
|
|
2459
|
-
last_seen: z.iso.datetime({ offset: true })
|
|
2460
|
+
first_seen: z.nullable(z.iso.datetime({ offset: true })),
|
|
2461
|
+
last_seen: z.nullable(z.iso.datetime({ offset: true })),
|
|
2460
2462
|
llm_call_count: z.int(),
|
|
2461
2463
|
tool_call_count: z.int(),
|
|
2462
2464
|
total_tokens: z.number(),
|
|
@@ -2468,113 +2470,113 @@ const zAgentsConversationsResponse = z.object({
|
|
|
2468
2470
|
total_pages: z.int()
|
|
2469
2471
|
});
|
|
2470
2472
|
const zAgentsConversationPath = z.object({
|
|
2471
|
-
project_id: z.int().
|
|
2473
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2472
2474
|
conversation_id: z.string()
|
|
2473
2475
|
});
|
|
2474
2476
|
/**
|
|
2475
2477
|
* The conversation's AI spans across its turns
|
|
2476
2478
|
*/
|
|
2477
2479
|
const zAgentsConversationResponse = zAgentConversation;
|
|
2478
|
-
const zAgentsDurationPath = z.object({ project_id: z.int().
|
|
2480
|
+
const zAgentsDurationPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2479
2481
|
const zAgentsDurationQuery = z.object({
|
|
2480
|
-
period_hours: z.
|
|
2481
|
-
environment: z.
|
|
2482
|
-
interval_hours: z.int().gte(1)
|
|
2482
|
+
period_hours: z.nullish(z.int()),
|
|
2483
|
+
environment: z.nullish(z.string()),
|
|
2484
|
+
interval_hours: z.optional(z.int().check(z.gte(1)))
|
|
2483
2485
|
});
|
|
2484
2486
|
/**
|
|
2485
2487
|
* Avg/p95 duration over time for agent runs and LLM calls
|
|
2486
2488
|
*/
|
|
2487
2489
|
const zAgentsDurationResponse = z.array(zAgentDurationPoint);
|
|
2488
|
-
const zAgentsEnvironmentsPath = z.object({ project_id: z.int().
|
|
2490
|
+
const zAgentsEnvironmentsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2489
2491
|
/**
|
|
2490
2492
|
* Environments present in this project's AI spans
|
|
2491
2493
|
*/
|
|
2492
2494
|
const zAgentsEnvironmentsResponse = z.array(z.string());
|
|
2493
|
-
const zAgentsModelsTablePath = z.object({ project_id: z.int().
|
|
2495
|
+
const zAgentsModelsTablePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2494
2496
|
const zAgentsModelsTableQuery = z.object({
|
|
2495
|
-
period_hours: z.
|
|
2496
|
-
environment: z.
|
|
2497
|
+
period_hours: z.nullish(z.int()),
|
|
2498
|
+
environment: z.nullish(z.string())
|
|
2497
2499
|
});
|
|
2498
2500
|
/**
|
|
2499
2501
|
* Per-model volume, failures, latency and token split
|
|
2500
2502
|
*/
|
|
2501
2503
|
const zAgentsModelsTableResponse = z.array(zAgentModelRow);
|
|
2502
|
-
const zAgentsModelsCallsPath = z.object({ project_id: z.int().
|
|
2504
|
+
const zAgentsModelsCallsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2503
2505
|
const zAgentsModelsCallsQuery = z.object({
|
|
2504
|
-
period_hours: z.
|
|
2505
|
-
environment: z.
|
|
2506
|
-
limit: z.int().gte(1).lte(100)
|
|
2506
|
+
period_hours: z.nullish(z.int()),
|
|
2507
|
+
environment: z.nullish(z.string()),
|
|
2508
|
+
limit: z.optional(z.int().check(z.gte(1), z.lte(100)))
|
|
2507
2509
|
});
|
|
2508
2510
|
/**
|
|
2509
2511
|
* Top LLM call counts by response model
|
|
2510
2512
|
*/
|
|
2511
2513
|
const zAgentsModelsCallsResponse = z.array(zGenAiBreakdownRow);
|
|
2512
|
-
const zAgentsModelsTokensPath = z.object({ project_id: z.int().
|
|
2514
|
+
const zAgentsModelsTokensPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2513
2515
|
const zAgentsModelsTokensQuery = z.object({
|
|
2514
|
-
period_hours: z.
|
|
2515
|
-
environment: z.
|
|
2516
|
-
limit: z.int().gte(1).lte(100)
|
|
2516
|
+
period_hours: z.nullish(z.int()),
|
|
2517
|
+
environment: z.nullish(z.string()),
|
|
2518
|
+
limit: z.optional(z.int().check(z.gte(1), z.lte(100)))
|
|
2517
2519
|
});
|
|
2518
2520
|
/**
|
|
2519
2521
|
* Top total tokens used by response model
|
|
2520
2522
|
*/
|
|
2521
2523
|
const zAgentsModelsTokensResponse = z.array(zGenAiBreakdownRow);
|
|
2522
|
-
const zAgentsRunsPath = z.object({ project_id: z.int().
|
|
2524
|
+
const zAgentsRunsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2523
2525
|
const zAgentsRunsQuery = z.object({
|
|
2524
|
-
period_hours: z.
|
|
2525
|
-
environment: z.
|
|
2526
|
-
interval_hours: z.int().gte(1)
|
|
2526
|
+
period_hours: z.nullish(z.int()),
|
|
2527
|
+
environment: z.nullish(z.string()),
|
|
2528
|
+
interval_hours: z.optional(z.int().check(z.gte(1)))
|
|
2527
2529
|
});
|
|
2528
2530
|
/**
|
|
2529
2531
|
* Agent runs over time
|
|
2530
2532
|
*/
|
|
2531
2533
|
const zAgentsRunsResponse = z.array(zAgentTimeseriesPoint);
|
|
2532
|
-
const zAgentsSummaryPath = z.object({ project_id: z.int().
|
|
2534
|
+
const zAgentsSummaryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2533
2535
|
const zAgentsSummaryQuery = z.object({
|
|
2534
|
-
period_hours: z.
|
|
2535
|
-
environment: z.
|
|
2536
|
+
period_hours: z.nullish(z.int()),
|
|
2537
|
+
environment: z.nullish(z.string())
|
|
2536
2538
|
});
|
|
2537
2539
|
/**
|
|
2538
2540
|
* Headline totals for the selected window
|
|
2539
2541
|
*/
|
|
2540
2542
|
const zAgentsSummaryResponse = zAgentSummary;
|
|
2541
|
-
const zAgentsToolsPath = z.object({ project_id: z.int().
|
|
2543
|
+
const zAgentsToolsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2542
2544
|
const zAgentsToolsQuery = z.object({
|
|
2543
|
-
period_hours: z.
|
|
2544
|
-
environment: z.
|
|
2545
|
-
limit: z.int().gte(1).lte(100)
|
|
2545
|
+
period_hours: z.nullish(z.int()),
|
|
2546
|
+
environment: z.nullish(z.string()),
|
|
2547
|
+
limit: z.optional(z.int().check(z.gte(1), z.lte(100)))
|
|
2546
2548
|
});
|
|
2547
2549
|
/**
|
|
2548
2550
|
* Top tool call counts by tool name
|
|
2549
2551
|
*/
|
|
2550
2552
|
const zAgentsToolsResponse = z.array(zGenAiBreakdownRow);
|
|
2551
|
-
const zAgentsToolsTablePath = z.object({ project_id: z.int().
|
|
2553
|
+
const zAgentsToolsTablePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2552
2554
|
const zAgentsToolsTableQuery = z.object({
|
|
2553
|
-
period_hours: z.
|
|
2554
|
-
environment: z.
|
|
2555
|
+
period_hours: z.nullish(z.int()),
|
|
2556
|
+
environment: z.nullish(z.string())
|
|
2555
2557
|
});
|
|
2556
2558
|
/**
|
|
2557
2559
|
* Per-tool call volume, failures and latency
|
|
2558
2560
|
*/
|
|
2559
2561
|
const zAgentsToolsTableResponse = z.array(zAgentToolRow);
|
|
2560
|
-
const zAgentsTracesPath = z.object({ project_id: z.int().
|
|
2562
|
+
const zAgentsTracesPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2561
2563
|
const zAgentsTracesQuery = z.object({
|
|
2562
|
-
period_hours: z.
|
|
2563
|
-
environment: z.
|
|
2564
|
-
page: z.int().gte(1)
|
|
2565
|
-
per_page: z.int().gte(1).lte(100)
|
|
2566
|
-
agent: z.
|
|
2567
|
-
model: z.
|
|
2568
|
-
tool: z.
|
|
2569
|
-
errors: z.
|
|
2570
|
-
sort: z.enum([
|
|
2564
|
+
period_hours: z.nullish(z.int()),
|
|
2565
|
+
environment: z.nullish(z.string()),
|
|
2566
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
2567
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
2568
|
+
agent: z.nullish(z.string()),
|
|
2569
|
+
model: z.nullish(z.string()),
|
|
2570
|
+
tool: z.nullish(z.string()),
|
|
2571
|
+
errors: z.optional(z.boolean()),
|
|
2572
|
+
sort: z.optional(z.enum([
|
|
2571
2573
|
"newest",
|
|
2572
2574
|
"duration",
|
|
2573
2575
|
"tokens",
|
|
2574
2576
|
"llm_calls",
|
|
2575
2577
|
"tool_calls",
|
|
2576
2578
|
"errors"
|
|
2577
|
-
])
|
|
2579
|
+
]))
|
|
2578
2580
|
});
|
|
2579
2581
|
/**
|
|
2580
2582
|
* Offset-based paginated response wrapper
|
|
@@ -2582,7 +2584,7 @@ const zAgentsTracesQuery = z.object({
|
|
|
2582
2584
|
const zAgentsTracesResponse = z.object({
|
|
2583
2585
|
items: z.array(z.object({
|
|
2584
2586
|
agent_names: z.array(z.string()),
|
|
2585
|
-
duration_ms: z.
|
|
2587
|
+
duration_ms: z.nullable(z.number()),
|
|
2586
2588
|
error_count: z.int(),
|
|
2587
2589
|
llm_call_count: z.int(),
|
|
2588
2590
|
started_at: z.iso.datetime({ offset: true }),
|
|
@@ -2595,46 +2597,46 @@ const zAgentsTracesResponse = z.object({
|
|
|
2595
2597
|
total_count: z.int(),
|
|
2596
2598
|
total_pages: z.int()
|
|
2597
2599
|
});
|
|
2598
|
-
const zAlertRulesListHistoryPath = z.object({ project_id: z.int().
|
|
2600
|
+
const zAlertRulesListHistoryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2599
2601
|
const zAlertRulesListHistoryQuery = z.object({
|
|
2600
|
-
limit: z.
|
|
2601
|
-
rule_id: z.int().
|
|
2602
|
+
limit: z.optional(z.int()),
|
|
2603
|
+
rule_id: z.optional(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))
|
|
2602
2604
|
});
|
|
2603
2605
|
/**
|
|
2604
2606
|
* Alert history
|
|
2605
2607
|
*/
|
|
2606
2608
|
const zAlertRulesListHistoryResponse = z.array(zAlertHistory);
|
|
2607
|
-
const zAlertRulesHistoryByDayPath = z.object({ project_id: z.int().
|
|
2609
|
+
const zAlertRulesHistoryByDayPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2608
2610
|
const zAlertRulesHistoryByDayQuery = z.object({
|
|
2609
|
-
days: z.
|
|
2610
|
-
rule_id: z.int().
|
|
2611
|
+
days: z.optional(z.int()),
|
|
2612
|
+
rule_id: z.optional(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })))
|
|
2611
2613
|
});
|
|
2612
2614
|
/**
|
|
2613
2615
|
* Deliveries per UTC day, oldest first
|
|
2614
2616
|
*/
|
|
2615
2617
|
const zAlertRulesHistoryByDayResponse = z.array(zAlertHistoryDay);
|
|
2616
|
-
const zAlertRulesListPath = z.object({ project_id: z.int().
|
|
2618
|
+
const zAlertRulesListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2617
2619
|
/**
|
|
2618
2620
|
* List of alert rules
|
|
2619
2621
|
*/
|
|
2620
2622
|
const zAlertRulesListResponse = z.array(zAlertRuleResponse);
|
|
2621
2623
|
const zAlertRulesCreateBody = zCreateAlertRule;
|
|
2622
|
-
const zAlertRulesCreatePath = z.object({ project_id: z.int().
|
|
2624
|
+
const zAlertRulesCreatePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2623
2625
|
/**
|
|
2624
2626
|
* Alert rule created
|
|
2625
2627
|
*/
|
|
2626
2628
|
const zAlertRulesCreateResponse = zAlertRuleResponse;
|
|
2627
2629
|
const zAlertRulesDeletePath = z.object({
|
|
2628
|
-
project_id: z.int().
|
|
2629
|
-
rule_id: z.int().
|
|
2630
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2631
|
+
rule_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
2630
2632
|
});
|
|
2631
2633
|
/**
|
|
2632
2634
|
* Alert rule deleted
|
|
2633
2635
|
*/
|
|
2634
2636
|
const zAlertRulesDeleteResponse = z.void();
|
|
2635
2637
|
const zAlertRulesGetPath = z.object({
|
|
2636
|
-
project_id: z.int().
|
|
2637
|
-
rule_id: z.int().
|
|
2638
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2639
|
+
rule_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
2638
2640
|
});
|
|
2639
2641
|
/**
|
|
2640
2642
|
* Alert rule details
|
|
@@ -2642,64 +2644,64 @@ const zAlertRulesGetPath = z.object({
|
|
|
2642
2644
|
const zAlertRulesGetResponse = zAlertRuleResponse;
|
|
2643
2645
|
const zAlertRulesUpdateBody = zUpdateAlertRule;
|
|
2644
2646
|
const zAlertRulesUpdatePath = z.object({
|
|
2645
|
-
project_id: z.int().
|
|
2646
|
-
rule_id: z.int().
|
|
2647
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2648
|
+
rule_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
2647
2649
|
});
|
|
2648
2650
|
/**
|
|
2649
2651
|
* Alert rule updated
|
|
2650
2652
|
*/
|
|
2651
2653
|
const zAlertRulesUpdateResponse = zAlertRuleResponse;
|
|
2652
2654
|
const zEventsDownloadAttachmentPath = z.object({
|
|
2653
|
-
project_id: z.int().
|
|
2655
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2654
2656
|
attachment_id: z.uuid()
|
|
2655
2657
|
});
|
|
2656
2658
|
/**
|
|
2657
2659
|
* The file: inline when its bytes are a PNG, JPEG, GIF or WebP image, a download otherwise
|
|
2658
2660
|
*/
|
|
2659
2661
|
const zEventsDownloadAttachmentResponse = zAttachmentBytes;
|
|
2660
|
-
const zEnvironmentsListPath = z.object({ project_id: z.int().
|
|
2662
|
+
const zEnvironmentsListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2661
2663
|
/**
|
|
2662
2664
|
* Environments the project's issues have been seen in
|
|
2663
2665
|
*/
|
|
2664
2666
|
const zEnvironmentsListResponse = z.array(z.string());
|
|
2665
2667
|
const zEventsGetBySentryIdPath = z.object({
|
|
2666
|
-
project_id: z.int().
|
|
2668
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2667
2669
|
event_id: z.string()
|
|
2668
2670
|
});
|
|
2669
2671
|
/**
|
|
2670
2672
|
* Full event detail, including its issue ID
|
|
2671
2673
|
*/
|
|
2672
2674
|
const zEventsGetBySentryIdResponse = zEventDetailResponse;
|
|
2673
|
-
const zStatsGetEventTimeseriesPath = z.object({ project_id: z.int().
|
|
2675
|
+
const zStatsGetEventTimeseriesPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2674
2676
|
const zStatsGetEventTimeseriesQuery = z.object({
|
|
2675
|
-
period: z.
|
|
2676
|
-
interval: z.
|
|
2677
|
-
environment: z.
|
|
2678
|
-
release: z.
|
|
2677
|
+
period: z.optional(z.string()),
|
|
2678
|
+
interval: z.optional(z.int()),
|
|
2679
|
+
environment: z.optional(z.string()),
|
|
2680
|
+
release: z.optional(z.string())
|
|
2679
2681
|
});
|
|
2680
2682
|
/**
|
|
2681
2683
|
* Time-bucketed error-event volume by severity
|
|
2682
2684
|
*/
|
|
2683
2685
|
const zStatsGetEventTimeseriesResponse = z.array(zEventTimeseriesPoint);
|
|
2684
|
-
const zFeedbackListPath = z.object({ project_id: z.int().
|
|
2686
|
+
const zFeedbackListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2685
2687
|
const zFeedbackListQuery = z.object({
|
|
2686
|
-
page: z.
|
|
2687
|
-
per_page: z.
|
|
2688
|
-
filter:
|
|
2688
|
+
page: z.optional(z.int()),
|
|
2689
|
+
per_page: z.optional(z.int()),
|
|
2690
|
+
filter: z.optional(zIssueFilter)
|
|
2689
2691
|
});
|
|
2690
2692
|
/**
|
|
2691
2693
|
* Offset-based paginated response wrapper
|
|
2692
2694
|
*/
|
|
2693
2695
|
const zFeedbackListResponse = z.object({
|
|
2694
2696
|
items: z.array(z.object({
|
|
2695
|
-
associated_event_id: z.
|
|
2697
|
+
associated_event_id: z.nullable(z.string()),
|
|
2696
2698
|
attachments: z.array(zAttachmentInfo),
|
|
2697
2699
|
contact_email: z.string(),
|
|
2698
2700
|
created_at: z.iso.datetime({ offset: true }),
|
|
2699
2701
|
id: z.uuid(),
|
|
2700
2702
|
message: z.string(),
|
|
2701
2703
|
name: z.string(),
|
|
2702
|
-
project_id: z.int().
|
|
2704
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2703
2705
|
status: zIssueStatus,
|
|
2704
2706
|
url: z.string()
|
|
2705
2707
|
})),
|
|
@@ -2708,84 +2710,84 @@ const zFeedbackListResponse = z.object({
|
|
|
2708
2710
|
total_count: z.int(),
|
|
2709
2711
|
total_pages: z.int()
|
|
2710
2712
|
});
|
|
2711
|
-
const zGithubDeleteProjectRepositoryPath = z.object({ project_id: z.int().
|
|
2713
|
+
const zGithubDeleteProjectRepositoryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2712
2714
|
/**
|
|
2713
2715
|
* Repository removed
|
|
2714
2716
|
*/
|
|
2715
2717
|
const zGithubDeleteProjectRepositoryResponse = z.void();
|
|
2716
|
-
const zGithubGetProjectRepositoryPath = z.object({ project_id: z.int().
|
|
2718
|
+
const zGithubGetProjectRepositoryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2717
2719
|
/**
|
|
2718
2720
|
* The project's repository, if any
|
|
2719
2721
|
*/
|
|
2720
|
-
const zGithubGetProjectRepositoryResponse =
|
|
2722
|
+
const zGithubGetProjectRepositoryResponse = z.nullable(zProjectRepository);
|
|
2721
2723
|
const zGithubPutProjectRepositoryBody = zUpdateProjectRepository;
|
|
2722
|
-
const zGithubPutProjectRepositoryPath = z.object({ project_id: z.int().
|
|
2724
|
+
const zGithubPutProjectRepositoryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2723
2725
|
/**
|
|
2724
2726
|
* Repository saved
|
|
2725
2727
|
*/
|
|
2726
2728
|
const zGithubPutProjectRepositoryResponse = zProjectRepository;
|
|
2727
|
-
const zGithubSyncCodeownersPath = z.object({ project_id: z.int().
|
|
2729
|
+
const zGithubSyncCodeownersPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2728
2730
|
/**
|
|
2729
2731
|
* CODEOWNERS synced
|
|
2730
2732
|
*/
|
|
2731
2733
|
const zGithubSyncCodeownersResponse = zProjectRepository;
|
|
2732
2734
|
const zIssuesBulkDeleteBody = zBulkDeleteIssues;
|
|
2733
|
-
const zIssuesBulkDeletePath = z.object({ project_id: z.int().
|
|
2735
|
+
const zIssuesBulkDeletePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2734
2736
|
/**
|
|
2735
2737
|
* Number of issues deleted
|
|
2736
2738
|
*/
|
|
2737
2739
|
const zIssuesBulkDeleteResponse = zBulkDeleteResponse;
|
|
2738
|
-
const zIssuesListPath = z.object({ project_id: z.int().
|
|
2740
|
+
const zIssuesListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2739
2741
|
const zIssuesListQuery = z.object({
|
|
2740
|
-
page: z.int().gte(1)
|
|
2741
|
-
per_page: z.int().gte(1).lte(100)
|
|
2742
|
-
sort:
|
|
2743
|
-
order:
|
|
2744
|
-
filter:
|
|
2745
|
-
category:
|
|
2746
|
-
q: z.
|
|
2747
|
-
environment: z.
|
|
2748
|
-
release: z.
|
|
2749
|
-
level: z.
|
|
2750
|
-
priority: z.
|
|
2751
|
-
assigned: z.
|
|
2752
|
-
first_seen: z.
|
|
2753
|
-
last_seen: z.
|
|
2754
|
-
events_min: z.
|
|
2755
|
-
events_max: z.
|
|
2742
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
2743
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
2744
|
+
sort: z.optional(zIssueSort),
|
|
2745
|
+
order: z.optional(zSortOrder),
|
|
2746
|
+
filter: z.optional(zIssueFilter),
|
|
2747
|
+
category: z.optional(zIssueCategory),
|
|
2748
|
+
q: z.nullish(z.string()),
|
|
2749
|
+
environment: z.nullish(z.string()),
|
|
2750
|
+
release: z.nullish(z.string()),
|
|
2751
|
+
level: z.nullish(z.string()),
|
|
2752
|
+
priority: z.nullish(z.string()),
|
|
2753
|
+
assigned: z.nullish(z.string()),
|
|
2754
|
+
first_seen: z.nullish(z.string()),
|
|
2755
|
+
last_seen: z.nullish(z.string()),
|
|
2756
|
+
events_min: z.nullish(z.int()),
|
|
2757
|
+
events_max: z.nullish(z.int())
|
|
2756
2758
|
});
|
|
2757
2759
|
/**
|
|
2758
2760
|
* Offset-based paginated response wrapper
|
|
2759
2761
|
*/
|
|
2760
2762
|
const zIssuesListResponse = z.object({
|
|
2761
2763
|
items: z.array(z.object({
|
|
2762
|
-
assigned_to: z.int().
|
|
2763
|
-
assignee_type: z.
|
|
2764
|
+
assigned_to: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
2765
|
+
assignee_type: z.nullable(z.string()),
|
|
2764
2766
|
culprit: z.string(),
|
|
2765
|
-
event_count: z.int().
|
|
2767
|
+
event_count: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2766
2768
|
first_release: z.string(),
|
|
2767
2769
|
first_seen: z.iso.datetime({ offset: true }),
|
|
2768
|
-
has_seen: z.
|
|
2770
|
+
has_seen: z.nullish(z.boolean()),
|
|
2769
2771
|
id: z.uuid(),
|
|
2770
|
-
is_bookmarked: z.
|
|
2771
|
-
is_subscribed: z.
|
|
2772
|
+
is_bookmarked: z.nullish(z.boolean()),
|
|
2773
|
+
is_subscribed: z.nullish(z.boolean()),
|
|
2772
2774
|
issue_category: z.string(),
|
|
2773
2775
|
issue_type: z.string(),
|
|
2774
2776
|
last_release: z.string(),
|
|
2775
2777
|
last_seen: z.iso.datetime({ offset: true }),
|
|
2776
|
-
level: z.
|
|
2778
|
+
level: z.nullable(z.string()),
|
|
2777
2779
|
logger: z.string(),
|
|
2778
|
-
platform: z.
|
|
2779
|
-
priority:
|
|
2780
|
-
project_id: z.int().
|
|
2780
|
+
platform: z.nullable(z.string()),
|
|
2781
|
+
priority: z.nullable(zIssuePriority),
|
|
2782
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2781
2783
|
short_id: z.string(),
|
|
2782
2784
|
status: zIssueStatus,
|
|
2783
2785
|
status_details: z.record(z.string(), z.unknown()),
|
|
2784
|
-
substatus: z.
|
|
2786
|
+
substatus: z.nullable(z.string()),
|
|
2785
2787
|
title: z.string(),
|
|
2786
|
-
trend: z.array(z.int())
|
|
2787
|
-
user_count: z.
|
|
2788
|
-
user_report_count: z.
|
|
2788
|
+
trend: z.nullish(z.array(z.int())),
|
|
2789
|
+
user_count: z.nullish(z.int()),
|
|
2790
|
+
user_report_count: z.nullish(z.int()),
|
|
2789
2791
|
value: z.string()
|
|
2790
2792
|
})),
|
|
2791
2793
|
page: z.int(),
|
|
@@ -2794,13 +2796,13 @@ const zIssuesListResponse = z.object({
|
|
|
2794
2796
|
total_pages: z.int()
|
|
2795
2797
|
});
|
|
2796
2798
|
const zIssuesBulkUpdateBody = zBulkUpdateIssues;
|
|
2797
|
-
const zIssuesBulkUpdatePath = z.object({ project_id: z.int().
|
|
2799
|
+
const zIssuesBulkUpdatePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
2798
2800
|
/**
|
|
2799
2801
|
* Number of issues updated
|
|
2800
2802
|
*/
|
|
2801
2803
|
const zIssuesBulkUpdateResponse = zBulkUpdateResponse;
|
|
2802
2804
|
const zIssuesDeletePath = z.object({
|
|
2803
|
-
project_id: z.int().
|
|
2805
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2804
2806
|
issue_id: z.uuid()
|
|
2805
2807
|
});
|
|
2806
2808
|
/**
|
|
@@ -2808,7 +2810,7 @@ const zIssuesDeletePath = z.object({
|
|
|
2808
2810
|
*/
|
|
2809
2811
|
const zIssuesDeleteResponse = z.void();
|
|
2810
2812
|
const zIssuesGetPath = z.object({
|
|
2811
|
-
project_id: z.int().
|
|
2813
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2812
2814
|
issue_id: z.uuid()
|
|
2813
2815
|
});
|
|
2814
2816
|
/**
|
|
@@ -2817,7 +2819,7 @@ const zIssuesGetPath = z.object({
|
|
|
2817
2819
|
const zIssuesGetResponse = zIssueResponse;
|
|
2818
2820
|
const zIssuesUpdateBody = zUpdateIssueState;
|
|
2819
2821
|
const zIssuesUpdatePath = z.object({
|
|
2820
|
-
project_id: z.int().
|
|
2822
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2821
2823
|
issue_id: z.uuid()
|
|
2822
2824
|
});
|
|
2823
2825
|
/**
|
|
@@ -2825,7 +2827,7 @@ const zIssuesUpdatePath = z.object({
|
|
|
2825
2827
|
*/
|
|
2826
2828
|
const zIssuesUpdateResponse = zIssueResponse;
|
|
2827
2829
|
const zIssuesGetActivityPath = z.object({
|
|
2828
|
-
project_id: z.int().
|
|
2830
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2829
2831
|
issue_id: z.uuid()
|
|
2830
2832
|
});
|
|
2831
2833
|
/**
|
|
@@ -2833,7 +2835,7 @@ const zIssuesGetActivityPath = z.object({
|
|
|
2833
2835
|
*/
|
|
2834
2836
|
const zIssuesGetActivityResponse = z.array(zActivityEntry);
|
|
2835
2837
|
const zIssuesGetAggregatesPath = z.object({
|
|
2836
|
-
project_id: z.int().
|
|
2838
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2837
2839
|
issue_id: z.uuid()
|
|
2838
2840
|
});
|
|
2839
2841
|
/**
|
|
@@ -2842,7 +2844,7 @@ const zIssuesGetAggregatesPath = z.object({
|
|
|
2842
2844
|
const zIssuesGetAggregatesResponse = zIssueAggregates;
|
|
2843
2845
|
const zIssuesSetBookmarkBody = zToggleRequest;
|
|
2844
2846
|
const zIssuesSetBookmarkPath = z.object({
|
|
2845
|
-
project_id: z.int().
|
|
2847
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2846
2848
|
issue_id: z.uuid()
|
|
2847
2849
|
});
|
|
2848
2850
|
/**
|
|
@@ -2851,7 +2853,7 @@ const zIssuesSetBookmarkPath = z.object({
|
|
|
2851
2853
|
const zIssuesSetBookmarkResponse = zBookmarkResponse;
|
|
2852
2854
|
const zIssuesCreateCommentBody = zCommentRequest;
|
|
2853
2855
|
const zIssuesCreateCommentPath = z.object({
|
|
2854
|
-
project_id: z.int().
|
|
2856
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2855
2857
|
issue_id: z.uuid()
|
|
2856
2858
|
});
|
|
2857
2859
|
/**
|
|
@@ -2859,13 +2861,13 @@ const zIssuesCreateCommentPath = z.object({
|
|
|
2859
2861
|
*/
|
|
2860
2862
|
const zIssuesCreateCommentResponse = zActivityEntry;
|
|
2861
2863
|
const zEventsListPath = z.object({
|
|
2862
|
-
project_id: z.int().
|
|
2864
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2863
2865
|
issue_id: z.uuid()
|
|
2864
2866
|
});
|
|
2865
2867
|
const zEventsListQuery = z.object({
|
|
2866
|
-
order:
|
|
2867
|
-
cursor: z.
|
|
2868
|
-
environment: z.
|
|
2868
|
+
order: z.optional(zSortOrder),
|
|
2869
|
+
cursor: z.nullish(z.string()),
|
|
2870
|
+
environment: z.nullish(z.string())
|
|
2869
2871
|
});
|
|
2870
2872
|
/**
|
|
2871
2873
|
* Paginated response wrapper (cursor-based)
|
|
@@ -2877,17 +2879,17 @@ const zEventsListResponse = z.object({
|
|
|
2877
2879
|
event_id: z.string(),
|
|
2878
2880
|
event_type: z.string(),
|
|
2879
2881
|
id: z.uuid(),
|
|
2880
|
-
issue_id: z.
|
|
2882
|
+
issue_id: z.nullable(z.uuid()),
|
|
2881
2883
|
level: z.string(),
|
|
2882
2884
|
platform: z.string(),
|
|
2883
2885
|
release: z.string(),
|
|
2884
2886
|
timestamp: z.iso.datetime({ offset: true }),
|
|
2885
2887
|
title: z.string()
|
|
2886
2888
|
})),
|
|
2887
|
-
next_cursor: z.
|
|
2889
|
+
next_cursor: z.nullish(z.string())
|
|
2888
2890
|
});
|
|
2889
2891
|
const zEventsGetPath = z.object({
|
|
2890
|
-
project_id: z.int().
|
|
2892
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2891
2893
|
issue_id: z.uuid(),
|
|
2892
2894
|
event_id: z.uuid()
|
|
2893
2895
|
});
|
|
@@ -2896,7 +2898,7 @@ const zEventsGetPath = z.object({
|
|
|
2896
2898
|
*/
|
|
2897
2899
|
const zEventsGetResponse = zEventDetailResponse;
|
|
2898
2900
|
const zEventsListAttachmentsPath = z.object({
|
|
2899
|
-
project_id: z.int().
|
|
2901
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2900
2902
|
issue_id: z.uuid(),
|
|
2901
2903
|
event_id: z.uuid()
|
|
2902
2904
|
});
|
|
@@ -2905,7 +2907,7 @@ const zEventsListAttachmentsPath = z.object({
|
|
|
2905
2907
|
*/
|
|
2906
2908
|
const zEventsListAttachmentsResponse = z.array(zAttachmentInfo);
|
|
2907
2909
|
const zGithubIssuePath = z.object({
|
|
2908
|
-
project_id: z.int().
|
|
2910
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2909
2911
|
issue_id: z.uuid()
|
|
2910
2912
|
});
|
|
2911
2913
|
/**
|
|
@@ -2913,7 +2915,7 @@ const zGithubIssuePath = z.object({
|
|
|
2913
2915
|
*/
|
|
2914
2916
|
const zGithubIssueResponse = zIssueGitHub;
|
|
2915
2917
|
const zGithubIssueDraftPath = z.object({
|
|
2916
|
-
project_id: z.int().
|
|
2918
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2917
2919
|
issue_id: z.uuid()
|
|
2918
2920
|
});
|
|
2919
2921
|
/**
|
|
@@ -2922,7 +2924,7 @@ const zGithubIssueDraftPath = z.object({
|
|
|
2922
2924
|
const zGithubIssueDraftResponse = zGitHubIssueDraft;
|
|
2923
2925
|
const zGithubCreateIssueBody = zCreateGitHubIssue;
|
|
2924
2926
|
const zGithubCreateIssuePath = z.object({
|
|
2925
|
-
project_id: z.int().
|
|
2927
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2926
2928
|
issue_id: z.uuid()
|
|
2927
2929
|
});
|
|
2928
2930
|
/**
|
|
@@ -2931,7 +2933,7 @@ const zGithubCreateIssuePath = z.object({
|
|
|
2931
2933
|
const zGithubCreateIssueResponse = zIssueLink;
|
|
2932
2934
|
const zGithubLinkIssueBody = zLinkGitHubIssue;
|
|
2933
2935
|
const zGithubLinkIssuePath = z.object({
|
|
2934
|
-
project_id: z.int().
|
|
2936
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2935
2937
|
issue_id: z.uuid()
|
|
2936
2938
|
});
|
|
2937
2939
|
/**
|
|
@@ -2939,16 +2941,16 @@ const zGithubLinkIssuePath = z.object({
|
|
|
2939
2941
|
*/
|
|
2940
2942
|
const zGithubLinkIssueResponse = zIssueLink;
|
|
2941
2943
|
const zGithubUnlinkIssuePath = z.object({
|
|
2942
|
-
project_id: z.int().
|
|
2944
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2943
2945
|
issue_id: z.uuid(),
|
|
2944
|
-
link_id: z.int().
|
|
2946
|
+
link_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
2945
2947
|
});
|
|
2946
2948
|
/**
|
|
2947
2949
|
* Link removed
|
|
2948
2950
|
*/
|
|
2949
2951
|
const zGithubUnlinkIssueResponse = z.void();
|
|
2950
2952
|
const zIssuesGetHashesPath = z.object({
|
|
2951
|
-
project_id: z.int().
|
|
2953
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2952
2954
|
issue_id: z.uuid()
|
|
2953
2955
|
});
|
|
2954
2956
|
/**
|
|
@@ -2956,7 +2958,7 @@ const zIssuesGetHashesPath = z.object({
|
|
|
2956
2958
|
*/
|
|
2957
2959
|
const zIssuesGetHashesResponse = z.array(zGrouping);
|
|
2958
2960
|
const zIssuesMarkSeenPath = z.object({
|
|
2959
|
-
project_id: z.int().
|
|
2961
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2960
2962
|
issue_id: z.uuid()
|
|
2961
2963
|
});
|
|
2962
2964
|
/**
|
|
@@ -2964,17 +2966,17 @@ const zIssuesMarkSeenPath = z.object({
|
|
|
2964
2966
|
*/
|
|
2965
2967
|
const zIssuesMarkSeenResponse = zSeenResponse;
|
|
2966
2968
|
const zIssuesGetStatsPath = z.object({
|
|
2967
|
-
project_id: z.int().
|
|
2969
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2968
2970
|
issue_id: z.uuid()
|
|
2969
2971
|
});
|
|
2970
|
-
const zIssuesGetStatsQuery = z.object({ window:
|
|
2972
|
+
const zIssuesGetStatsQuery = z.object({ window: z.optional(zIssueStatsWindow) });
|
|
2971
2973
|
/**
|
|
2972
2974
|
* Zero-filled event-count timeseries
|
|
2973
2975
|
*/
|
|
2974
2976
|
const zIssuesGetStatsResponse = zIssueStatsResponse;
|
|
2975
2977
|
const zIssuesSetSubscriptionBody = zToggleRequest;
|
|
2976
2978
|
const zIssuesSetSubscriptionPath = z.object({
|
|
2977
|
-
project_id: z.int().
|
|
2979
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2978
2980
|
issue_id: z.uuid()
|
|
2979
2981
|
});
|
|
2980
2982
|
/**
|
|
@@ -2982,7 +2984,7 @@ const zIssuesSetSubscriptionPath = z.object({
|
|
|
2982
2984
|
*/
|
|
2983
2985
|
const zIssuesSetSubscriptionResponse = zSubscriptionResponse;
|
|
2984
2986
|
const zIssuesGetTagValuesPath = z.object({
|
|
2985
|
-
project_id: z.int().
|
|
2987
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2986
2988
|
issue_id: z.uuid(),
|
|
2987
2989
|
key: z.string()
|
|
2988
2990
|
});
|
|
@@ -2991,12 +2993,12 @@ const zIssuesGetTagValuesPath = z.object({
|
|
|
2991
2993
|
*/
|
|
2992
2994
|
const zIssuesGetTagValuesResponse = z.array(zIssueTagValue);
|
|
2993
2995
|
const zIssuesListUserReportsPath = z.object({
|
|
2994
|
-
project_id: z.int().
|
|
2996
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
2995
2997
|
issue_id: z.uuid()
|
|
2996
2998
|
});
|
|
2997
2999
|
const zIssuesListUserReportsQuery = z.object({
|
|
2998
|
-
page: z.
|
|
2999
|
-
per_page: z.
|
|
3000
|
+
page: z.optional(z.int()),
|
|
3001
|
+
per_page: z.optional(z.int())
|
|
3000
3002
|
});
|
|
3001
3003
|
/**
|
|
3002
3004
|
* Offset-based paginated response wrapper
|
|
@@ -3006,11 +3008,11 @@ const zIssuesListUserReportsResponse = z.object({
|
|
|
3006
3008
|
comments: z.string(),
|
|
3007
3009
|
created_at: z.iso.datetime({ offset: true }),
|
|
3008
3010
|
email: z.string(),
|
|
3009
|
-
event_id: z.
|
|
3011
|
+
event_id: z.nullable(z.uuid()),
|
|
3010
3012
|
id: z.uuid(),
|
|
3011
|
-
issue_id: z.
|
|
3013
|
+
issue_id: z.nullable(z.uuid()),
|
|
3012
3014
|
name: z.string(),
|
|
3013
|
-
project_id: z.int().
|
|
3015
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
3014
3016
|
})),
|
|
3015
3017
|
page: z.int(),
|
|
3016
3018
|
per_page: z.int(),
|
|
@@ -3019,21 +3021,21 @@ const zIssuesListUserReportsResponse = z.object({
|
|
|
3019
3021
|
});
|
|
3020
3022
|
const zIssuesCreateUserReportBody = zUserReportRequest;
|
|
3021
3023
|
const zIssuesCreateUserReportPath = z.object({
|
|
3022
|
-
project_id: z.int().
|
|
3024
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3023
3025
|
issue_id: z.uuid()
|
|
3024
3026
|
});
|
|
3025
3027
|
/**
|
|
3026
3028
|
* User feedback attached
|
|
3027
3029
|
*/
|
|
3028
3030
|
const zIssuesCreateUserReportResponse = zUserReport;
|
|
3029
|
-
const zLogsListPath = z.object({ project_id: z.int().
|
|
3031
|
+
const zLogsListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3030
3032
|
const zLogsListQuery = z.object({
|
|
3031
|
-
page: z.int().gte(1)
|
|
3032
|
-
per_page: z.int().gte(1).lte(100)
|
|
3033
|
-
level: z.
|
|
3034
|
-
trace_id: z.
|
|
3035
|
-
query: z.
|
|
3036
|
-
period: z.
|
|
3033
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
3034
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
3035
|
+
level: z.nullish(z.string()),
|
|
3036
|
+
trace_id: z.nullish(z.string()),
|
|
3037
|
+
query: z.nullish(z.string()),
|
|
3038
|
+
period: z.nullish(z.string())
|
|
3037
3039
|
});
|
|
3038
3040
|
/**
|
|
3039
3041
|
* Offset-based paginated response wrapper
|
|
@@ -3045,81 +3047,81 @@ const zLogsListResponse = z.object({
|
|
|
3045
3047
|
id: z.uuid(),
|
|
3046
3048
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
3047
3049
|
level: z.string(),
|
|
3048
|
-
severity_number: z.int().
|
|
3049
|
-
span_id: z.
|
|
3050
|
+
severity_number: z.nullable(z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))),
|
|
3051
|
+
span_id: z.nullable(z.string()),
|
|
3050
3052
|
timestamp: z.iso.datetime({ offset: true }),
|
|
3051
|
-
trace_id: z.
|
|
3053
|
+
trace_id: z.nullable(z.string())
|
|
3052
3054
|
})),
|
|
3053
3055
|
page: z.int(),
|
|
3054
3056
|
per_page: z.int(),
|
|
3055
3057
|
total_count: z.int(),
|
|
3056
3058
|
total_pages: z.int()
|
|
3057
3059
|
});
|
|
3058
|
-
const zLogsVolumePath = z.object({ project_id: z.int().
|
|
3060
|
+
const zLogsVolumePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3059
3061
|
const zLogsVolumeQuery = z.object({
|
|
3060
|
-
level: z.
|
|
3061
|
-
trace_id: z.
|
|
3062
|
-
query: z.
|
|
3063
|
-
period: z.
|
|
3062
|
+
level: z.nullish(z.string()),
|
|
3063
|
+
trace_id: z.nullish(z.string()),
|
|
3064
|
+
query: z.nullish(z.string()),
|
|
3065
|
+
period: z.nullish(z.string())
|
|
3064
3066
|
});
|
|
3065
3067
|
/**
|
|
3066
3068
|
* Log counts per level, bucket by bucket
|
|
3067
3069
|
*/
|
|
3068
3070
|
const zLogsVolumeResponse = z.array(zLogVolumePoint);
|
|
3069
3071
|
const zLogsGetPath = z.object({
|
|
3070
|
-
project_id: z.int().
|
|
3072
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3071
3073
|
log_id: z.uuid()
|
|
3072
3074
|
});
|
|
3073
3075
|
/**
|
|
3074
3076
|
* The log
|
|
3075
3077
|
*/
|
|
3076
3078
|
const zLogsGetResponse = zLogResponse;
|
|
3077
|
-
const zMembersListPath = z.object({ project_id: z.int().
|
|
3079
|
+
const zMembersListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3078
3080
|
/**
|
|
3079
3081
|
* Project members
|
|
3080
3082
|
*/
|
|
3081
3083
|
const zMembersListResponse = z.array(zProjectMember);
|
|
3082
3084
|
const zMembersUpsertBody = zSetProjectMember;
|
|
3083
|
-
const zMembersUpsertPath = z.object({ project_id: z.int().
|
|
3085
|
+
const zMembersUpsertPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3084
3086
|
/**
|
|
3085
3087
|
* Project members now
|
|
3086
3088
|
*/
|
|
3087
3089
|
const zMembersUpsertResponse = z.array(zProjectMember);
|
|
3088
|
-
const zMembersCandidatesPath = z.object({ project_id: z.int().
|
|
3090
|
+
const zMembersCandidatesPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3089
3091
|
/**
|
|
3090
3092
|
* People and roles the caller can give
|
|
3091
3093
|
*/
|
|
3092
3094
|
const zMembersCandidatesResponse = zMemberCandidates;
|
|
3093
3095
|
const zMembersRemovePath = z.object({
|
|
3094
|
-
project_id: z.int().
|
|
3095
|
-
user_id: z.int().
|
|
3096
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3097
|
+
user_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
3096
3098
|
});
|
|
3097
3099
|
/**
|
|
3098
3100
|
* Removed
|
|
3099
3101
|
*/
|
|
3100
3102
|
const zMembersRemoveResponse = z.void();
|
|
3101
|
-
const zMonitorsStatsPath = z.object({ project_id: z.int().
|
|
3103
|
+
const zMonitorsStatsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3102
3104
|
const zMonitorsStatsQuery = z.object({
|
|
3103
|
-
period: z.
|
|
3104
|
-
slug: z.
|
|
3105
|
+
period: z.nullish(z.string()),
|
|
3106
|
+
slug: z.nullish(z.string())
|
|
3105
3107
|
});
|
|
3106
3108
|
/**
|
|
3107
3109
|
* Each monitor environment's check-ins by status, in sixty buckets on one axis
|
|
3108
3110
|
*/
|
|
3109
3111
|
const zMonitorsStatsResponse = z.array(zMonitorEnvironmentStats);
|
|
3110
|
-
const zMonitorsListPath = z.object({ project_id: z.int().
|
|
3112
|
+
const zMonitorsListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3111
3113
|
/**
|
|
3112
3114
|
* Every cron monitor of the project, with its environments and recent check-ins
|
|
3113
3115
|
*/
|
|
3114
3116
|
const zMonitorsListResponse = z.array(zMonitorResponse);
|
|
3115
3117
|
const zMonitorsCreateBody = zCreateMonitor;
|
|
3116
|
-
const zMonitorsCreatePath = z.object({ project_id: z.int().
|
|
3118
|
+
const zMonitorsCreatePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3117
3119
|
/**
|
|
3118
3120
|
* Created
|
|
3119
3121
|
*/
|
|
3120
3122
|
const zMonitorsCreateResponse = zMonitorResponse;
|
|
3121
3123
|
const zMonitorsDeletePath = z.object({
|
|
3122
|
-
project_id: z.int().
|
|
3124
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3123
3125
|
slug: z.string()
|
|
3124
3126
|
});
|
|
3125
3127
|
/**
|
|
@@ -3127,7 +3129,7 @@ const zMonitorsDeletePath = z.object({
|
|
|
3127
3129
|
*/
|
|
3128
3130
|
const zMonitorsDeleteResponse = z.void();
|
|
3129
3131
|
const zMonitorsGetPath = z.object({
|
|
3130
|
-
project_id: z.int().
|
|
3132
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3131
3133
|
slug: z.string()
|
|
3132
3134
|
});
|
|
3133
3135
|
/**
|
|
@@ -3136,7 +3138,7 @@ const zMonitorsGetPath = z.object({
|
|
|
3136
3138
|
const zMonitorsGetResponse = zMonitorResponse;
|
|
3137
3139
|
const zMonitorsUpdateBody = zUpdateMonitor;
|
|
3138
3140
|
const zMonitorsUpdatePath = z.object({
|
|
3139
|
-
project_id: z.int().
|
|
3141
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3140
3142
|
slug: z.string()
|
|
3141
3143
|
});
|
|
3142
3144
|
/**
|
|
@@ -3144,13 +3146,13 @@ const zMonitorsUpdatePath = z.object({
|
|
|
3144
3146
|
*/
|
|
3145
3147
|
const zMonitorsUpdateResponse = zMonitorResponse;
|
|
3146
3148
|
const zMonitorsListCheckinsPath = z.object({
|
|
3147
|
-
project_id: z.int().
|
|
3149
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3148
3150
|
slug: z.string()
|
|
3149
3151
|
});
|
|
3150
3152
|
const zMonitorsListCheckinsQuery = z.object({
|
|
3151
|
-
page: z.
|
|
3152
|
-
per_page: z.
|
|
3153
|
-
environment: z.
|
|
3153
|
+
page: z.optional(z.int()),
|
|
3154
|
+
per_page: z.optional(z.int()),
|
|
3155
|
+
environment: z.nullish(z.string())
|
|
3154
3156
|
});
|
|
3155
3157
|
/**
|
|
3156
3158
|
* Offset-based paginated response wrapper
|
|
@@ -3159,9 +3161,9 @@ const zMonitorsListCheckinsResponse = z.object({
|
|
|
3159
3161
|
items: z.array(z.object({
|
|
3160
3162
|
date_added: z.iso.datetime({ offset: true }),
|
|
3161
3163
|
date_updated: z.iso.datetime({ offset: true }),
|
|
3162
|
-
duration_ms: z.
|
|
3164
|
+
duration_ms: z.nullable(z.int()),
|
|
3163
3165
|
environment: z.string(),
|
|
3164
|
-
expected_time: z.iso.datetime({ offset: true })
|
|
3166
|
+
expected_time: z.nullable(z.iso.datetime({ offset: true })),
|
|
3165
3167
|
id: z.uuid(),
|
|
3166
3168
|
status: zCheckInStatus
|
|
3167
3169
|
})),
|
|
@@ -3170,33 +3172,33 @@ const zMonitorsListCheckinsResponse = z.object({
|
|
|
3170
3172
|
total_count: z.int(),
|
|
3171
3173
|
total_pages: z.int()
|
|
3172
3174
|
});
|
|
3173
|
-
const zReleasesListPath = z.object({ project_id: z.int().
|
|
3175
|
+
const zReleasesListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3174
3176
|
const zReleasesListQuery = z.object({
|
|
3175
|
-
environment: z.
|
|
3176
|
-
period: z.
|
|
3177
|
-
query: z.
|
|
3178
|
-
page: z.
|
|
3179
|
-
per_page: z.
|
|
3177
|
+
environment: z.optional(z.string()),
|
|
3178
|
+
period: z.optional(z.string()),
|
|
3179
|
+
query: z.optional(z.string()),
|
|
3180
|
+
page: z.optional(z.int()),
|
|
3181
|
+
per_page: z.optional(z.int())
|
|
3180
3182
|
});
|
|
3181
3183
|
/**
|
|
3182
3184
|
* Offset-based paginated response wrapper
|
|
3183
3185
|
*/
|
|
3184
3186
|
const zReleasesListResponse = z.object({
|
|
3185
3187
|
items: z.array(z.object({
|
|
3186
|
-
adoption: z.
|
|
3187
|
-
crash_free_sessions: z.
|
|
3188
|
-
crash_free_users: z.
|
|
3188
|
+
adoption: z.nullable(z.number()),
|
|
3189
|
+
crash_free_sessions: z.nullable(z.number()),
|
|
3190
|
+
crash_free_users: z.nullable(z.number()),
|
|
3189
3191
|
crashed: z.int(),
|
|
3190
3192
|
date_created: z.iso.datetime({ offset: true }),
|
|
3191
|
-
date_released: z.iso.datetime({ offset: true })
|
|
3193
|
+
date_released: z.nullable(z.iso.datetime({ offset: true })),
|
|
3192
3194
|
environments: z.array(z.string()),
|
|
3193
3195
|
event_count: z.int(),
|
|
3194
|
-
first_event: z.iso.datetime({ offset: true })
|
|
3195
|
-
last_event: z.iso.datetime({ offset: true })
|
|
3196
|
+
first_event: z.nullable(z.iso.datetime({ offset: true })),
|
|
3197
|
+
last_event: z.nullable(z.iso.datetime({ offset: true })),
|
|
3196
3198
|
new_issues: z.int(),
|
|
3197
|
-
ref: z.
|
|
3199
|
+
ref: z.nullable(z.string()),
|
|
3198
3200
|
sessions: z.int(),
|
|
3199
|
-
url: z.
|
|
3201
|
+
url: z.nullable(z.string()),
|
|
3200
3202
|
version: z.string()
|
|
3201
3203
|
})),
|
|
3202
3204
|
page: z.int(),
|
|
@@ -3205,32 +3207,32 @@ const zReleasesListResponse = z.object({
|
|
|
3205
3207
|
total_pages: z.int()
|
|
3206
3208
|
});
|
|
3207
3209
|
const zReleasesGetPath = z.object({
|
|
3208
|
-
project_id: z.int().
|
|
3210
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3209
3211
|
release: z.string()
|
|
3210
3212
|
});
|
|
3211
3213
|
const zReleasesGetQuery = z.object({
|
|
3212
|
-
environment: z.
|
|
3213
|
-
period: z.
|
|
3214
|
+
environment: z.optional(z.string()),
|
|
3215
|
+
period: z.optional(z.string())
|
|
3214
3216
|
});
|
|
3215
3217
|
/**
|
|
3216
3218
|
* The release
|
|
3217
3219
|
*/
|
|
3218
3220
|
const zReleasesGetResponse = zReleaseSummary;
|
|
3219
3221
|
const zReleasesNewIssuesPath = z.object({
|
|
3220
|
-
project_id: z.int().
|
|
3222
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3221
3223
|
release: z.string()
|
|
3222
3224
|
});
|
|
3223
|
-
const zReleasesNewIssuesQuery = z.object({ limit: z.
|
|
3225
|
+
const zReleasesNewIssuesQuery = z.object({ limit: z.optional(z.int()) });
|
|
3224
3226
|
/**
|
|
3225
3227
|
* Issues first seen in this release, most recent first
|
|
3226
3228
|
*/
|
|
3227
3229
|
const zReleasesNewIssuesResponse = z.array(zIssueResponse);
|
|
3228
|
-
const zSessionsGetStatsPath = z.object({ project_id: z.int().
|
|
3230
|
+
const zSessionsGetStatsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3229
3231
|
const zSessionsGetStatsQuery = z.object({
|
|
3230
|
-
period: z.
|
|
3231
|
-
release: z.
|
|
3232
|
-
page: z.int().gte(1)
|
|
3233
|
-
per_page: z.int().gte(1).lte(100)
|
|
3232
|
+
period: z.nullish(z.string()),
|
|
3233
|
+
release: z.nullish(z.string()),
|
|
3234
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
3235
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100)))
|
|
3234
3236
|
});
|
|
3235
3237
|
/**
|
|
3236
3238
|
* Offset-based paginated response wrapper
|
|
@@ -3238,8 +3240,8 @@ const zSessionsGetStatsQuery = z.object({
|
|
|
3238
3240
|
const zSessionsGetStatsResponse = z.object({
|
|
3239
3241
|
items: z.array(z.object({
|
|
3240
3242
|
abnormal: z.int(),
|
|
3241
|
-
crash_free_sessions_rate: z.
|
|
3242
|
-
crash_free_users_rate: z.
|
|
3243
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
3244
|
+
crash_free_users_rate: z.nullable(z.number()),
|
|
3243
3245
|
crashed: z.int(),
|
|
3244
3246
|
environment: z.string(),
|
|
3245
3247
|
errored: z.int(),
|
|
@@ -3252,67 +3254,67 @@ const zSessionsGetStatsResponse = z.object({
|
|
|
3252
3254
|
total_count: z.int(),
|
|
3253
3255
|
total_pages: z.int()
|
|
3254
3256
|
});
|
|
3255
|
-
const zSessionsGetSummaryPath = z.object({ project_id: z.int().
|
|
3257
|
+
const zSessionsGetSummaryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3256
3258
|
const zSessionsGetSummaryQuery = z.object({
|
|
3257
|
-
period: z.
|
|
3258
|
-
environment: z.
|
|
3259
|
-
release: z.
|
|
3259
|
+
period: z.optional(z.string()),
|
|
3260
|
+
environment: z.optional(z.string()),
|
|
3261
|
+
release: z.optional(z.string())
|
|
3260
3262
|
});
|
|
3261
3263
|
/**
|
|
3262
3264
|
* Project-wide session health summary
|
|
3263
3265
|
*/
|
|
3264
3266
|
const zSessionsGetSummaryResponse = zSessionSummary;
|
|
3265
|
-
const zSessionsGetTimeseriesPath = z.object({ project_id: z.int().
|
|
3267
|
+
const zSessionsGetTimeseriesPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3266
3268
|
const zSessionsGetTimeseriesQuery = z.object({
|
|
3267
|
-
period: z.
|
|
3268
|
-
interval: z.
|
|
3269
|
-
environment: z.
|
|
3270
|
-
release: z.
|
|
3269
|
+
period: z.optional(z.string()),
|
|
3270
|
+
interval: z.optional(z.int()),
|
|
3271
|
+
environment: z.optional(z.string()),
|
|
3272
|
+
release: z.optional(z.string())
|
|
3271
3273
|
});
|
|
3272
3274
|
/**
|
|
3273
3275
|
* Time-bucketed session trend, project-wide
|
|
3274
3276
|
*/
|
|
3275
3277
|
const zSessionsGetTimeseriesResponse = z.array(zSessionTimeseriesPoint);
|
|
3276
|
-
const zSpansListPath = z.object({ project_id: z.int().
|
|
3278
|
+
const zSpansListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3277
3279
|
const zSpansListQuery = z.object({
|
|
3278
|
-
page: z.int().gte(1)
|
|
3279
|
-
per_page: z.int().gte(1).lte(100)
|
|
3280
|
-
op: z.
|
|
3281
|
-
status: z.
|
|
3282
|
-
trace_id: z.
|
|
3283
|
-
operation_type: z.
|
|
3280
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
3281
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
3282
|
+
op: z.nullish(z.string()),
|
|
3283
|
+
status: z.nullish(z.string()),
|
|
3284
|
+
trace_id: z.nullish(z.string()),
|
|
3285
|
+
operation_type: z.nullish(z.string())
|
|
3284
3286
|
});
|
|
3285
3287
|
/**
|
|
3286
3288
|
* Offset-based paginated response wrapper
|
|
3287
3289
|
*/
|
|
3288
3290
|
const zSpansListResponse = z.object({
|
|
3289
3291
|
items: z.array(z.object({
|
|
3290
|
-
description: z.
|
|
3291
|
-
duration_ms: z.
|
|
3292
|
-
environment: z.
|
|
3293
|
-
exclusive_time_ms: z.
|
|
3294
|
-
gen_ai_agent_name: z.
|
|
3295
|
-
gen_ai_conversation_id: z.
|
|
3296
|
-
gen_ai_operation_type: z.
|
|
3297
|
-
gen_ai_request_model: z.
|
|
3298
|
-
gen_ai_response_model: z.
|
|
3299
|
-
gen_ai_tool_name: z.
|
|
3300
|
-
gen_ai_usage_input_tokens: z.
|
|
3301
|
-
gen_ai_usage_output_tokens: z.
|
|
3302
|
-
gen_ai_usage_total_tokens: z.
|
|
3292
|
+
description: z.nullable(z.string()),
|
|
3293
|
+
duration_ms: z.nullable(z.number()),
|
|
3294
|
+
environment: z.nullable(z.string()),
|
|
3295
|
+
exclusive_time_ms: z.nullable(z.number()),
|
|
3296
|
+
gen_ai_agent_name: z.nullable(z.string()),
|
|
3297
|
+
gen_ai_conversation_id: z.nullable(z.string()),
|
|
3298
|
+
gen_ai_operation_type: z.nullable(z.string()),
|
|
3299
|
+
gen_ai_request_model: z.nullable(z.string()),
|
|
3300
|
+
gen_ai_response_model: z.nullable(z.string()),
|
|
3301
|
+
gen_ai_tool_name: z.nullable(z.string()),
|
|
3302
|
+
gen_ai_usage_input_tokens: z.nullable(z.number()),
|
|
3303
|
+
gen_ai_usage_output_tokens: z.nullable(z.number()),
|
|
3304
|
+
gen_ai_usage_total_tokens: z.nullable(z.number()),
|
|
3303
3305
|
id: z.uuid(),
|
|
3304
3306
|
is_segment: z.boolean(),
|
|
3305
|
-
op: z.
|
|
3306
|
-
parent_span_id: z.
|
|
3307
|
-
platform: z.
|
|
3308
|
-
release: z.
|
|
3309
|
-
segment_id: z.
|
|
3310
|
-
span_id: z.
|
|
3311
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
3312
|
-
status: z.
|
|
3313
|
-
timestamp: z.iso.datetime({ offset: true })
|
|
3314
|
-
trace_id: z.
|
|
3315
|
-
transaction_id: z.
|
|
3307
|
+
op: z.nullable(z.string()),
|
|
3308
|
+
parent_span_id: z.nullable(z.string()),
|
|
3309
|
+
platform: z.nullable(z.string()),
|
|
3310
|
+
release: z.nullable(z.string()),
|
|
3311
|
+
segment_id: z.nullable(z.string()),
|
|
3312
|
+
span_id: z.nullable(z.string()),
|
|
3313
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
3314
|
+
status: z.nullable(z.string()),
|
|
3315
|
+
timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
3316
|
+
trace_id: z.nullable(z.string()),
|
|
3317
|
+
transaction_id: z.nullable(z.uuid())
|
|
3316
3318
|
})),
|
|
3317
3319
|
page: z.int(),
|
|
3318
3320
|
per_page: z.int(),
|
|
@@ -3320,49 +3322,49 @@ const zSpansListResponse = z.object({
|
|
|
3320
3322
|
total_pages: z.int()
|
|
3321
3323
|
});
|
|
3322
3324
|
const zSpansGetPath = z.object({
|
|
3323
|
-
project_id: z.int().
|
|
3325
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3324
3326
|
span_id: z.uuid()
|
|
3325
3327
|
});
|
|
3326
3328
|
/**
|
|
3327
3329
|
* Span with its full attribute bag
|
|
3328
3330
|
*/
|
|
3329
3331
|
const zSpansGetResponse = zSpanDetailResponse;
|
|
3330
|
-
const zStatsGetSummaryPath = z.object({ project_id: z.int().
|
|
3332
|
+
const zStatsGetSummaryPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3331
3333
|
const zStatsGetSummaryQuery = z.object({
|
|
3332
|
-
period: z.
|
|
3333
|
-
environment: z.
|
|
3334
|
-
release: z.
|
|
3334
|
+
period: z.optional(z.string()),
|
|
3335
|
+
environment: z.optional(z.string()),
|
|
3336
|
+
release: z.optional(z.string())
|
|
3335
3337
|
});
|
|
3336
3338
|
/**
|
|
3337
3339
|
* Project counters with previous-period comparison
|
|
3338
3340
|
*/
|
|
3339
3341
|
const zStatsGetSummaryResponse = zProjectStatsSummary;
|
|
3340
|
-
const zTransactionsListPath = z.object({ project_id: z.int().
|
|
3342
|
+
const zTransactionsListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3341
3343
|
const zTransactionsListQuery = z.object({
|
|
3342
|
-
page: z.int().gte(1)
|
|
3343
|
-
per_page: z.int().gte(1).lte(100)
|
|
3344
|
-
name: z.
|
|
3345
|
-
op: z.
|
|
3346
|
-
status: z.
|
|
3347
|
-
environment: z.
|
|
3348
|
-
release: z.
|
|
3349
|
-
period: z.
|
|
3350
|
-
sort: z.union([z.literal("recent"), z.literal("slowest")])
|
|
3344
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
3345
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
3346
|
+
name: z.nullish(z.string()),
|
|
3347
|
+
op: z.nullish(z.string()),
|
|
3348
|
+
status: z.nullish(z.string()),
|
|
3349
|
+
environment: z.nullish(z.string()),
|
|
3350
|
+
release: z.nullish(z.string()),
|
|
3351
|
+
period: z.nullish(z.string()),
|
|
3352
|
+
sort: z.nullish(z.union([z.literal("recent"), z.literal("slowest")]))
|
|
3351
3353
|
});
|
|
3352
3354
|
/**
|
|
3353
3355
|
* Offset-based paginated response wrapper
|
|
3354
3356
|
*/
|
|
3355
3357
|
const zTransactionsListResponse = z.object({
|
|
3356
3358
|
items: z.array(z.object({
|
|
3357
|
-
duration_ms: z.
|
|
3359
|
+
duration_ms: z.nullable(z.number()),
|
|
3358
3360
|
environment: z.string(),
|
|
3359
3361
|
event_id: z.string(),
|
|
3360
3362
|
id: z.uuid(),
|
|
3361
3363
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
3362
3364
|
platform: z.string(),
|
|
3363
3365
|
release: z.string(),
|
|
3364
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
3365
|
-
status: z.
|
|
3366
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
3367
|
+
status: z.nullable(z.string()),
|
|
3366
3368
|
timestamp: z.iso.datetime({ offset: true }),
|
|
3367
3369
|
transaction_name: z.string()
|
|
3368
3370
|
})),
|
|
@@ -3371,19 +3373,19 @@ const zTransactionsListResponse = z.object({
|
|
|
3371
3373
|
total_count: z.int(),
|
|
3372
3374
|
total_pages: z.int()
|
|
3373
3375
|
});
|
|
3374
|
-
const zTransactionsGetStatsPath = z.object({ project_id: z.int().
|
|
3376
|
+
const zTransactionsGetStatsPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3375
3377
|
const zTransactionsGetStatsQuery = z.object({
|
|
3376
|
-
page: z.int().gte(1)
|
|
3377
|
-
per_page: z.int().gte(1).lte(100)
|
|
3378
|
-
environment: z.
|
|
3379
|
-
period: z.
|
|
3380
|
-
query: z.
|
|
3381
|
-
sort: z.enum([
|
|
3378
|
+
page: z.optional(z.int().check(z.gte(1))),
|
|
3379
|
+
per_page: z.optional(z.int().check(z.gte(1), z.lte(100))),
|
|
3380
|
+
environment: z.nullish(z.string()),
|
|
3381
|
+
period: z.nullish(z.string()),
|
|
3382
|
+
query: z.nullish(z.string()),
|
|
3383
|
+
sort: z.optional(z.enum([
|
|
3382
3384
|
"time_spent",
|
|
3383
3385
|
"count",
|
|
3384
3386
|
"avg",
|
|
3385
3387
|
"failure_rate"
|
|
3386
|
-
])
|
|
3388
|
+
]))
|
|
3387
3389
|
});
|
|
3388
3390
|
/**
|
|
3389
3391
|
* Offset-based paginated response wrapper
|
|
@@ -3394,7 +3396,7 @@ const zTransactionsGetStatsResponse = z.object({
|
|
|
3394
3396
|
count: z.int(),
|
|
3395
3397
|
failure_rate: z.number(),
|
|
3396
3398
|
last_seen: z.iso.datetime({ offset: true }),
|
|
3397
|
-
op: z.
|
|
3399
|
+
op: z.nullable(z.string()),
|
|
3398
3400
|
p50_ms: z.number(),
|
|
3399
3401
|
p95_ms: z.number(),
|
|
3400
3402
|
p99_ms: z.number(),
|
|
@@ -3407,30 +3409,30 @@ const zTransactionsGetStatsResponse = z.object({
|
|
|
3407
3409
|
total_count: z.int(),
|
|
3408
3410
|
total_pages: z.int()
|
|
3409
3411
|
});
|
|
3410
|
-
const zTransactionsGetStatGroupPath = z.object({ project_id: z.int().
|
|
3412
|
+
const zTransactionsGetStatGroupPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3411
3413
|
const zTransactionsGetStatGroupQuery = z.object({
|
|
3412
3414
|
name: z.string(),
|
|
3413
|
-
op: z.
|
|
3414
|
-
environment: z.
|
|
3415
|
-
period: z.
|
|
3415
|
+
op: z.nullish(z.string()),
|
|
3416
|
+
environment: z.nullish(z.string()),
|
|
3417
|
+
period: z.nullish(z.string())
|
|
3416
3418
|
});
|
|
3417
3419
|
/**
|
|
3418
3420
|
* Aggregate stats for one (transaction, op) group
|
|
3419
3421
|
*/
|
|
3420
3422
|
const zTransactionsGetStatGroupResponse = zTransactionStatsResponse;
|
|
3421
|
-
const zTransactionsGetStatGroupTimeseriesPath = z.object({ project_id: z.int().
|
|
3423
|
+
const zTransactionsGetStatGroupTimeseriesPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3422
3424
|
const zTransactionsGetStatGroupTimeseriesQuery = z.object({
|
|
3423
3425
|
name: z.string(),
|
|
3424
|
-
op: z.
|
|
3425
|
-
environment: z.
|
|
3426
|
-
period: z.
|
|
3426
|
+
op: z.nullish(z.string()),
|
|
3427
|
+
environment: z.nullish(z.string()),
|
|
3428
|
+
period: z.nullish(z.string())
|
|
3427
3429
|
});
|
|
3428
3430
|
/**
|
|
3429
3431
|
* The endpoint's runs, failures, p50 and p95 per bucket, oldest first
|
|
3430
3432
|
*/
|
|
3431
3433
|
const zTransactionsGetStatGroupTimeseriesResponse = z.array(zTransactionTimeseriesPoint);
|
|
3432
3434
|
const zTransactionsGetPath = z.object({
|
|
3433
|
-
project_id: z.int().
|
|
3435
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3434
3436
|
transaction_id: z.uuid()
|
|
3435
3437
|
});
|
|
3436
3438
|
/**
|
|
@@ -3438,61 +3440,61 @@ const zTransactionsGetPath = z.object({
|
|
|
3438
3440
|
*/
|
|
3439
3441
|
const zTransactionsGetResponse = zTransactionDetailResponse;
|
|
3440
3442
|
const zTransactionsGetSpansPath = z.object({
|
|
3441
|
-
project_id: z.int().
|
|
3443
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3442
3444
|
transaction_id: z.uuid()
|
|
3443
3445
|
});
|
|
3444
3446
|
/**
|
|
3445
3447
|
* Indexed spans for the transaction (waterfall order)
|
|
3446
3448
|
*/
|
|
3447
3449
|
const zTransactionsGetSpansResponse = z.array(z.object({
|
|
3448
|
-
description: z.
|
|
3449
|
-
duration_ms: z.
|
|
3450
|
-
environment: z.
|
|
3451
|
-
exclusive_time_ms: z.
|
|
3452
|
-
gen_ai_agent_name: z.
|
|
3453
|
-
gen_ai_conversation_id: z.
|
|
3454
|
-
gen_ai_operation_type: z.
|
|
3455
|
-
gen_ai_request_model: z.
|
|
3456
|
-
gen_ai_response_model: z.
|
|
3457
|
-
gen_ai_tool_name: z.
|
|
3458
|
-
gen_ai_usage_input_tokens: z.
|
|
3459
|
-
gen_ai_usage_output_tokens: z.
|
|
3460
|
-
gen_ai_usage_total_tokens: z.
|
|
3450
|
+
description: z.nullable(z.string()),
|
|
3451
|
+
duration_ms: z.nullable(z.number()),
|
|
3452
|
+
environment: z.nullable(z.string()),
|
|
3453
|
+
exclusive_time_ms: z.nullable(z.number()),
|
|
3454
|
+
gen_ai_agent_name: z.nullable(z.string()),
|
|
3455
|
+
gen_ai_conversation_id: z.nullable(z.string()),
|
|
3456
|
+
gen_ai_operation_type: z.nullable(z.string()),
|
|
3457
|
+
gen_ai_request_model: z.nullable(z.string()),
|
|
3458
|
+
gen_ai_response_model: z.nullable(z.string()),
|
|
3459
|
+
gen_ai_tool_name: z.nullable(z.string()),
|
|
3460
|
+
gen_ai_usage_input_tokens: z.nullable(z.number()),
|
|
3461
|
+
gen_ai_usage_output_tokens: z.nullable(z.number()),
|
|
3462
|
+
gen_ai_usage_total_tokens: z.nullable(z.number()),
|
|
3461
3463
|
id: z.uuid(),
|
|
3462
3464
|
is_segment: z.boolean(),
|
|
3463
|
-
op: z.
|
|
3464
|
-
parent_span_id: z.
|
|
3465
|
-
platform: z.
|
|
3466
|
-
release: z.
|
|
3467
|
-
segment_id: z.
|
|
3468
|
-
span_id: z.
|
|
3469
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
3470
|
-
status: z.
|
|
3471
|
-
timestamp: z.iso.datetime({ offset: true })
|
|
3472
|
-
trace_id: z.
|
|
3473
|
-
transaction_id: z.
|
|
3465
|
+
op: z.nullable(z.string()),
|
|
3466
|
+
parent_span_id: z.nullable(z.string()),
|
|
3467
|
+
platform: z.nullable(z.string()),
|
|
3468
|
+
release: z.nullable(z.string()),
|
|
3469
|
+
segment_id: z.nullable(z.string()),
|
|
3470
|
+
span_id: z.nullable(z.string()),
|
|
3471
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
3472
|
+
status: z.nullable(z.string()),
|
|
3473
|
+
timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
3474
|
+
trace_id: z.nullable(z.string()),
|
|
3475
|
+
transaction_id: z.nullable(z.uuid())
|
|
3474
3476
|
}));
|
|
3475
|
-
const zSavedViewsListPath = z.object({ project_id: z.int().
|
|
3477
|
+
const zSavedViewsListPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3476
3478
|
const zSavedViewsListQuery = z.object({ page: z.string() });
|
|
3477
3479
|
/**
|
|
3478
3480
|
* The page's views
|
|
3479
3481
|
*/
|
|
3480
3482
|
const zSavedViewsListResponse = z.array(zSavedView);
|
|
3481
3483
|
const zSavedViewsCreateBody = zCreateSavedView;
|
|
3482
|
-
const zSavedViewsCreatePath = z.object({ project_id: z.int().
|
|
3484
|
+
const zSavedViewsCreatePath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3483
3485
|
/**
|
|
3484
3486
|
* View saved
|
|
3485
3487
|
*/
|
|
3486
3488
|
const zSavedViewsCreateResponse = zSavedView;
|
|
3487
3489
|
const zSavedViewsSetDefaultBody = zSetDefaultView;
|
|
3488
|
-
const zSavedViewsSetDefaultPath = z.object({ project_id: z.int().
|
|
3490
|
+
const zSavedViewsSetDefaultPath = z.object({ project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3489
3491
|
/**
|
|
3490
3492
|
* Default set
|
|
3491
3493
|
*/
|
|
3492
3494
|
const zSavedViewsSetDefaultResponse = z.void();
|
|
3493
3495
|
const zSavedViewsDeletePath = z.object({
|
|
3494
|
-
project_id: z.int().
|
|
3495
|
-
view_id: z.int().
|
|
3496
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3497
|
+
view_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
3496
3498
|
});
|
|
3497
3499
|
/**
|
|
3498
3500
|
* View deleted
|
|
@@ -3500,8 +3502,8 @@ const zSavedViewsDeletePath = z.object({
|
|
|
3500
3502
|
const zSavedViewsDeleteResponse = z.void();
|
|
3501
3503
|
const zSavedViewsUpdateBody = zUpdateSavedView;
|
|
3502
3504
|
const zSavedViewsUpdatePath = z.object({
|
|
3503
|
-
project_id: z.int().
|
|
3504
|
-
view_id: z.int().
|
|
3505
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3506
|
+
view_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
3505
3507
|
});
|
|
3506
3508
|
/**
|
|
3507
3509
|
* View updated
|
|
@@ -3520,13 +3522,13 @@ const zRolesCreateBody = zRoleInput;
|
|
|
3520
3522
|
* Created
|
|
3521
3523
|
*/
|
|
3522
3524
|
const zRolesCreateResponse = zRole;
|
|
3523
|
-
const zRolesDeletePath = z.object({ id: z.int().
|
|
3525
|
+
const zRolesDeletePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3524
3526
|
/**
|
|
3525
3527
|
* Deleted
|
|
3526
3528
|
*/
|
|
3527
3529
|
const zRolesDeleteResponse = z.void();
|
|
3528
3530
|
const zRolesUpdateBody = zRoleInput;
|
|
3529
|
-
const zRolesUpdatePath = z.object({ id: z.int().
|
|
3531
|
+
const zRolesUpdatePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3530
3532
|
/**
|
|
3531
3533
|
* Updated
|
|
3532
3534
|
*/
|
|
@@ -3580,7 +3582,7 @@ const zStorageGetProjectsResponse = z.array(z.object({
|
|
|
3580
3582
|
events_count: z.int(),
|
|
3581
3583
|
logs_bytes: z.int(),
|
|
3582
3584
|
logs_count: z.int(),
|
|
3583
|
-
project_id: z.int().
|
|
3585
|
+
project_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
3584
3586
|
project_name: z.string(),
|
|
3585
3587
|
source_maps_count: z.int(),
|
|
3586
3588
|
spans_count: z.int(),
|
|
@@ -3621,13 +3623,13 @@ const zStorageGetSummaryResponse = zStorageSummary;
|
|
|
3621
3623
|
* List of team members
|
|
3622
3624
|
*/
|
|
3623
3625
|
const zTeamListResponse = z.array(zTeamMemberResponse);
|
|
3624
|
-
const zTeamDeleteUserPath = z.object({ user_id: z.int().
|
|
3626
|
+
const zTeamDeleteUserPath = z.object({ user_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3625
3627
|
/**
|
|
3626
3628
|
* User deleted
|
|
3627
3629
|
*/
|
|
3628
3630
|
const zTeamDeleteUserResponse = z.void();
|
|
3629
3631
|
const zTeamUpdateRoleBody = zUpdateUserRole;
|
|
3630
|
-
const zTeamUpdateRolePath = z.object({ user_id: z.int().
|
|
3632
|
+
const zTeamUpdateRolePath = z.object({ user_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3631
3633
|
/**
|
|
3632
3634
|
* Role updated
|
|
3633
3635
|
*/
|
|
@@ -3645,23 +3647,23 @@ const zTokensCreateBody = zCreateAuthToken;
|
|
|
3645
3647
|
* Token created (full token shown once)
|
|
3646
3648
|
*/
|
|
3647
3649
|
const zTokensCreateResponse = zAuthTokenCreatedResponse;
|
|
3648
|
-
const zTokensDeletePath = z.object({ id: z.int().
|
|
3650
|
+
const zTokensDeletePath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3649
3651
|
/**
|
|
3650
3652
|
* Token revoked
|
|
3651
3653
|
*/
|
|
3652
3654
|
const zTokensDeleteResponse = z.void();
|
|
3653
|
-
const zTokensGetPath = z.object({ id: z.int().
|
|
3655
|
+
const zTokensGetPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3654
3656
|
/**
|
|
3655
3657
|
* Token details (masked)
|
|
3656
3658
|
*/
|
|
3657
3659
|
const zTokensGetResponse = zAuthTokenResponse;
|
|
3658
|
-
const zUsersAssignmentsPath = z.object({ id: z.int().
|
|
3660
|
+
const zUsersAssignmentsPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3659
3661
|
/**
|
|
3660
3662
|
* What the user holds
|
|
3661
3663
|
*/
|
|
3662
3664
|
const zUsersAssignmentsResponse = zUserAccess;
|
|
3663
3665
|
const zUsersSetAssignmentsBody = zSetAccess;
|
|
3664
|
-
const zUsersSetAssignmentsPath = z.object({ id: z.int().
|
|
3666
|
+
const zUsersSetAssignmentsPath = z.object({ id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3665
3667
|
/**
|
|
3666
3668
|
* What the user holds now
|
|
3667
3669
|
*/
|
|
@@ -3681,13 +3683,13 @@ const zWorkspaceViewsSetDefaultBody = zSetDefaultView;
|
|
|
3681
3683
|
* Default set
|
|
3682
3684
|
*/
|
|
3683
3685
|
const zWorkspaceViewsSetDefaultResponse = z.void();
|
|
3684
|
-
const zWorkspaceViewsDeletePath = z.object({ view_id: z.int().
|
|
3686
|
+
const zWorkspaceViewsDeletePath = z.object({ view_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3685
3687
|
/**
|
|
3686
3688
|
* View deleted
|
|
3687
3689
|
*/
|
|
3688
3690
|
const zWorkspaceViewsDeleteResponse = z.void();
|
|
3689
3691
|
const zWorkspaceViewsUpdateBody = zUpdateSavedView;
|
|
3690
|
-
const zWorkspaceViewsUpdatePath = z.object({ view_id: z.int().
|
|
3692
|
+
const zWorkspaceViewsUpdatePath = z.object({ view_id: z.int().check(z.minimum(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })) });
|
|
3691
3693
|
/**
|
|
3692
3694
|
* View updated
|
|
3693
3695
|
*/
|
|
@@ -3726,9 +3728,9 @@ const zAuthChangePasswordBody = zChangePasswordRequest;
|
|
|
3726
3728
|
*/
|
|
3727
3729
|
const zAuthChangePasswordResponse = z.void();
|
|
3728
3730
|
const zAuthSsoCallbackQuery = z.object({
|
|
3729
|
-
code: z.
|
|
3730
|
-
state: z.
|
|
3731
|
-
error: z.
|
|
3731
|
+
code: z.nullish(z.string()),
|
|
3732
|
+
state: z.nullish(z.string()),
|
|
3733
|
+
error: z.nullish(z.string())
|
|
3732
3734
|
});
|
|
3733
3735
|
/**
|
|
3734
3736
|
* SSO login completed
|
|
@@ -3766,7 +3768,7 @@ const zHealthVersionResponse = zVersionResponse;
|
|
|
3766
3768
|
const zSentryOpenIssuePath = z.object({
|
|
3767
3769
|
org_slug: z.string(),
|
|
3768
3770
|
project_slug: z.string(),
|
|
3769
|
-
issue_id: z.string().regex(/^[0-9]+$/)
|
|
3771
|
+
issue_id: z.string().check(z.regex(/^[0-9]+$/))
|
|
3770
3772
|
});
|
|
3771
3773
|
export { zAcceptInvitation, zAcceptInvitationResponse, zAccessCatalogResponse, zAccessMeResponse, zAction, zActivityEntry, zAgentConversation, zAgentDurationPoint, zAgentModelRow, zAgentSummary, zAgentTimeseriesPoint, zAgentToolRow, zAgentsConversationPath, zAgentsConversationResponse, zAgentsConversationsPath, zAgentsConversationsQuery, zAgentsConversationsResponse, zAgentsDurationPath, zAgentsDurationQuery, zAgentsDurationResponse, zAgentsEnvironmentsPath, zAgentsEnvironmentsResponse, zAgentsModelsCallsPath, zAgentsModelsCallsQuery, zAgentsModelsCallsResponse, zAgentsModelsTablePath, zAgentsModelsTableQuery, zAgentsModelsTableResponse, zAgentsModelsTokensPath, zAgentsModelsTokensQuery, zAgentsModelsTokensResponse, zAgentsRunsPath, zAgentsRunsQuery, zAgentsRunsResponse, zAgentsSummaryPath, zAgentsSummaryQuery, zAgentsSummaryResponse, zAgentsToolsPath, zAgentsToolsQuery, zAgentsToolsResponse, zAgentsToolsTablePath, zAgentsToolsTableQuery, zAgentsToolsTableResponse, zAgentsTracesPath, zAgentsTracesQuery, zAgentsTracesResponse, zAlertChannelsCreateBody, zAlertChannelsCreateResponse, zAlertChannelsDeletePath, zAlertChannelsDeleteResponse, zAlertChannelsGetPath, zAlertChannelsGetResponse, zAlertChannelsListResponse, zAlertChannelsPreviewTemplateBody, zAlertChannelsPreviewTemplateResponse, zAlertChannelsTestBody, zAlertChannelsTestPath, zAlertChannelsTestResponse, zAlertChannelsUpdateBody, zAlertChannelsUpdatePath, zAlertChannelsUpdateResponse, zAlertHistory, zAlertHistoryDay, zAlertIntegration, zAlertRuleChannelInput, zAlertRuleResponse, zAlertRulesCreateBody, zAlertRulesCreatePath, zAlertRulesCreateResponse, zAlertRulesDeletePath, zAlertRulesDeleteResponse, zAlertRulesGetPath, zAlertRulesGetResponse, zAlertRulesHistoryByDayPath, zAlertRulesHistoryByDayQuery, zAlertRulesHistoryByDayResponse, zAlertRulesListHistoryPath, zAlertRulesListHistoryQuery, zAlertRulesListHistoryResponse, zAlertRulesListPath, zAlertRulesListResponse, zAlertRulesUpdateBody, zAlertRulesUpdatePath, zAlertRulesUpdateResponse, zAlertStatus, zAlertType, zAssembleBody, zAssembleResponse, zAssignmentInput, zAttachmentBytes, zAttachmentInfo, zAuthAcceptInvitationBody, zAuthAcceptInvitationResponse, zAuthChangePasswordBody, zAuthChangePasswordResponse, zAuthConfirmSsoLinkBody, zAuthConfirmSsoLinkResponse, zAuthGetCurrentUserResponse, zAuthGetInvitationPath, zAuthGetInvitationResponse, zAuthLoginBody, zAuthLoginResponse, zAuthLogoutResponse, zAuthResponse, zAuthSsoCallbackQuery, zAuthSsoCallbackResponse, zAuthSsoConfigResponse, zAuthSsoLinkResponse, zAuthSsoStartResponse, zAuthTokenCreatedResponse, zAuthTokenResponse, zAuthUpdateCurrentUserBody, zAuthUpdateCurrentUserResponse, zAuthorizationDecision, zAuthorizationInfo, zAuthorizationRedirect, zAuthorizationRequest, zBookmarkResponse, zBulkDeleteIssues, zBulkDeleteResponse, zBulkUpdateIssues, zBulkUpdateResponse, zCatalog, zCatalogResource, zChangePasswordRequest, zCheckInResponse, zCheckInStatus, zChunkUploadBody, zChunkUploadOptions, zCleanupCounts, zCleanupFrequency, zCleanupKind, zCleanupRequest, zCleanupState, zCleanupStatus, zCodeMapping, zCommentRequest, zCompaction, zConfirmSsoLinkRequest, zConversationSpan, zCreateAlertIntegration, zCreateAlertRule, zCreateAuthToken, zCreateGitHubIssue, zCreateInvitation, zCreateMonitor, zCreateProject, zCreateRelease, zCreateSavedView, zDebugFileResponse, zDebugFilesAssembleBody, zDebugFilesAssemblePath, zDebugFilesAssembleResponse, zDebugFilesUploadBody, zDebugFilesUploadPath, zDebugFilesUploadResponse, zDefaultScope, zDifAssembleFile, zDifUploadBody, zEmailStatusResponse, zEnvironmentsListPath, zEnvironmentsListResponse, zErrorDetail, zEventDetailResponse, zEventTimeseriesPoint, zEventsDownloadAttachmentPath, zEventsDownloadAttachmentResponse, zEventsGetBySentryIdPath, zEventsGetBySentryIdResponse, zEventsGetPath, zEventsGetResponse, zEventsListAttachmentsPath, zEventsListAttachmentsResponse, zEventsListPath, zEventsListQuery, zEventsListResponse, zFeedbackListAllQuery, zFeedbackListAllResponse, zFeedbackListPath, zFeedbackListQuery, zFeedbackListResponse, zFieldError, zFieldErrorCode, zGenAiBreakdownRow, zGitHubAppInfo, zGitHubInstallation, zGitHubIssueDraft, zGitHubLogin, zGitHubRepository, zGitHubStatus, zGithubCallbackQuery, zGithubCreateIssueBody, zGithubCreateIssuePath, zGithubCreateIssueResponse, zGithubDeleteProjectRepositoryPath, zGithubDeleteProjectRepositoryResponse, zGithubDisconnectResponse, zGithubGetMyLoginResponse, zGithubGetProjectRepositoryPath, zGithubGetProjectRepositoryResponse, zGithubInstalledQuery, zGithubIssueDraftPath, zGithubIssueDraftResponse, zGithubIssuePath, zGithubIssueResponse, zGithubLinkIssueBody, zGithubLinkIssuePath, zGithubLinkIssueResponse, zGithubManifestBody, zGithubManifestResponse, zGithubPutIssueTemplateBody, zGithubPutIssueTemplateResponse, zGithubPutMyLoginBody, zGithubPutMyLoginResponse, zGithubPutProjectRepositoryBody, zGithubPutProjectRepositoryPath, zGithubPutProjectRepositoryResponse, zGithubRepositoriesQuery, zGithubRepositoriesResponse, zGithubStatusResponse, zGithubSyncCodeownersPath, zGithubSyncCodeownersResponse, zGithubUnlinkIssuePath, zGithubUnlinkIssueResponse, zGithubWebhookBody, zGithubWebhookResponse, zGrouping, zHealthLivenessResponse, zHealthReadinessResponse, zHealthVersionResponse, zIntervalUnit, zInvitationInfoResponse, zInvitationResponse, zInvitationsCreateBody, zInvitationsCreateResponse, zInvitationsEmailStatusResponse, zInvitationsListResponse, zInvitationsResendPath, zInvitationsResendResponse, zInvitationsRevokePath, zInvitationsRevokeResponse, zIssueAggregates, zIssueCategory, zIssueFilter, zIssueGitHub, zIssueLink, zIssuePriority, zIssueResponse, zIssueSort, zIssueStatsResponse, zIssueStatsWindow, zIssueStatus, zIssueStatusUpdate, zIssueTagValue, zIssueTemplate, zIssueUpdate, zIssuesBulkDeleteBody, zIssuesBulkDeletePath, zIssuesBulkDeleteResponse, zIssuesBulkUpdateBody, zIssuesBulkUpdatePath, zIssuesBulkUpdateResponse, zIssuesCreateCommentBody, zIssuesCreateCommentPath, zIssuesCreateCommentResponse, zIssuesCreateUserReportBody, zIssuesCreateUserReportPath, zIssuesCreateUserReportResponse, zIssuesDeletePath, zIssuesDeleteResponse, zIssuesGetActivityPath, zIssuesGetActivityResponse, zIssuesGetAggregatesPath, zIssuesGetAggregatesResponse, zIssuesGetHashesPath, zIssuesGetHashesResponse, zIssuesGetPath, zIssuesGetResponse, zIssuesGetStatsPath, zIssuesGetStatsQuery, zIssuesGetStatsResponse, zIssuesGetTagValuesPath, zIssuesGetTagValuesResponse, zIssuesListAllQuery, zIssuesListAllResponse, zIssuesListPath, zIssuesListQuery, zIssuesListResponse, zIssuesListUserReportsPath, zIssuesListUserReportsQuery, zIssuesListUserReportsResponse, zIssuesMarkSeenPath, zIssuesMarkSeenResponse, zIssuesSetBookmarkBody, zIssuesSetBookmarkPath, zIssuesSetBookmarkResponse, zIssuesSetSubscriptionBody, zIssuesSetSubscriptionPath, zIssuesSetSubscriptionResponse, zIssuesUpdateBody, zIssuesUpdatePath, zIssuesUpdateResponse, zKindAge, zLinkGitHubIssue, zLivenessResponse, zLogResponse, zLogVolumePoint, zLoginRequest, zLogsGetPath, zLogsGetResponse, zLogsListPath, zLogsListQuery, zLogsListResponse, zLogsVolumePath, zLogsVolumeQuery, zLogsVolumeResponse, zManifestRequest, zManifestResponse, zMcpSettings, zMcpStatus, zMemberCandidate, zMemberCandidates, zMemberRole, zMembersCandidatesPath, zMembersCandidatesResponse, zMembersListPath, zMembersListResponse, zMembersRemovePath, zMembersRemoveResponse, zMembersUpsertBody, zMembersUpsertPath, zMembersUpsertResponse, zMetricDelta, zMonitorConfig, zMonitorConfigInput, zMonitorEnvironmentResponse, zMonitorEnvironmentStats, zMonitorEnvironmentStatus, zMonitorResponse, zMonitorStatsBucket, zMonitorsCreateBody, zMonitorsCreatePath, zMonitorsCreateResponse, zMonitorsDeletePath, zMonitorsDeleteResponse, zMonitorsGetPath, zMonitorsGetResponse, zMonitorsListCheckinsPath, zMonitorsListCheckinsQuery, zMonitorsListCheckinsResponse, zMonitorsListPath, zMonitorsListResponse, zMonitorsStatsPath, zMonitorsStatsQuery, zMonitorsStatsResponse, zMonitorsUpdateBody, zMonitorsUpdatePath, zMonitorsUpdateResponse, zMyAccess, zOAuthGrant, zOauthDecideAuthorizationBody, zOauthDecideAuthorizationResponse, zOauthGetAuthorizationQuery, zOauthGetAuthorizationResponse, zOauthListGrantsResponse, zOauthRevokeGrantPath, zOauthRevokeGrantResponse, zOrgDetails, zPermission, zPersonalAccess, zPreviewSchedule, zPreviewTemplateBody, zPreviewTemplateResponse, zProduct, zProjectAge, zProjectListStats, zProjectMember, zProjectPermissions, zProjectRepository, zProjectResponse, zProjectRetention, zProjectStatsSummary, zProjectsCreateBody, zProjectsCreateResponse, zProjectsDeletePath, zProjectsDeleteResponse, zProjectsGetPath, zProjectsGetRateLimitsResponse, zProjectsGetResponse, zProjectsListQuery, zProjectsListResponse, zProjectsUpdateBody, zProjectsUpdatePath, zProjectsUpdateResponse, zProviderType, zRateLimitsResponse, zReadinessChecks, zReadinessResponse, zReleaseResponse, zReleaseSummary, zReleasesCreateBody, zReleasesCreatePath, zReleasesCreateResponse, zReleasesFinalizeBody, zReleasesFinalizePath, zReleasesFinalizeResponse, zReleasesGetPath, zReleasesGetQuery, zReleasesGetResponse, zReleasesListPath, zReleasesListQuery, zReleasesListResponse, zReleasesNewIssuesPath, zReleasesNewIssuesQuery, zReleasesNewIssuesResponse, zRepoCommit, zResource, zRetentionResponse, zRetentionRun, zRetentionSettings, zRetentionWindows, zRole, zRoleAssignment, zRoleInput, zRoleRef, zRolesCreateBody, zRolesCreateResponse, zRolesDeletePath, zRolesDeleteResponse, zRolesListResponse, zRolesUpdateBody, zRolesUpdatePath, zRolesUpdateResponse, zSavedView, zSavedViewsCreateBody, zSavedViewsCreatePath, zSavedViewsCreateResponse, zSavedViewsDeletePath, zSavedViewsDeleteResponse, zSavedViewsListPath, zSavedViewsListQuery, zSavedViewsListResponse, zSavedViewsSetDefaultBody, zSavedViewsSetDefaultPath, zSavedViewsSetDefaultResponse, zSavedViewsUpdateBody, zSavedViewsUpdatePath, zSavedViewsUpdateResponse, zSchedule, zSchedulePreview, zSchedulesPreviewBody, zSchedulesPreviewResponse, zScope, zSeenResponse, zSentryEvent, zSentryGetIssuePath, zSentryGetIssueResponse, zSentryGetLatestEventPath, zSentryGetLatestEventResponse, zSentryGroupProject, zSentryIssue, zSentryIssueDetails, zSentryListIssuesPath, zSentryListIssuesQuery, zSentryListIssuesResponse, zSentryListOrganizationIssuesPath, zSentryListOrganizationIssuesQuery, zSentryListOrganizationIssuesResponse, zSentryListOrganizationsResponse, zSentryListProjectsQuery, zSentryListProjectsResponse, zSentryListReposPath, zSentryListReposResponse, zSentryOpenIssuePath, zSentryOrganization, zSentryProject, zSentryRelease, zSentryStatus, zSentrySubmitUserFeedbackBody, zSentrySubmitUserFeedbackPath, zSentrySubmitUserFeedbackResponse, zSentryTag, zSentryUpdateIssueBody, zSentryUpdateIssuePath, zSentryUpdateIssueResponse, zSentryUserReport, zSentryUserReportRequest, zSessionSummary, zSessionTimeseriesPoint, zSessionsGetStatsPath, zSessionsGetStatsQuery, zSessionsGetStatsResponse, zSessionsGetSummaryPath, zSessionsGetSummaryQuery, zSessionsGetSummaryResponse, zSessionsGetTimeseriesPath, zSessionsGetTimeseriesQuery, zSessionsGetTimeseriesResponse, zSetAccess, zSetDefaultView, zSetProjectMember, zSettingsGetMcpResponse, zSettingsUpdateMcpBody, zSettingsUpdateMcpResponse, zSortOrder, zSourceMapFile, zSourceMapGcResult, zSourceMapList, zSourceMapStorage, zSourceMapsArtifactBundleAssembleBody, zSourceMapsArtifactBundleAssemblePath, zSourceMapsArtifactBundleAssembleResponse, zSourceMapsChunkUploadBody, zSourceMapsChunkUploadCapabilityPath, zSourceMapsChunkUploadCapabilityResponse, zSourceMapsChunkUploadPath, zSourceMapsListPath, zSourceMapsListResponse, zSourceMapsOrgDetailsPath, zSourceMapsOrgDetailsResponse, zSpanDetailResponse, zSpanResponse, zSpansGetPath, zSpansGetResponse, zSpansListPath, zSpansListQuery, zSpansListResponse, zSsoConfigResponse, zSsoLinkResponse, zSsoStartResponse, zStatsGetEventTimeseriesPath, zStatsGetEventTimeseriesQuery, zStatsGetEventTimeseriesResponse, zStatsGetSummaryPath, zStatsGetSummaryQuery, zStatsGetSummaryResponse, zStorageAge, zStorageCompactResponse, zStorageExecuteCleanupBody, zStorageExecuteCleanupResponse, zStorageGcSourceMapsResponse, zStorageGetAgeResponse, zStorageGetCleanupStatusResponse, zStorageGetCompactionResponse, zStorageGetProjectsResponse, zStorageGetRetentionResponse, zStorageGetSummaryResponse, zStoragePreviewCleanupBody, zStoragePreviewCleanupResponse, zStoragePreviewRetentionBody, zStoragePreviewRetentionResponse, zStoragePreviewSourceMapGcResponse, zStorageRunRetentionResponse, zStorageSummary, zStorageUpdateRetentionBody, zStorageUpdateRetentionResponse, zSubscriptionResponse, zTagSummary, zTagValueCount, zTeamDeleteUserPath, zTeamDeleteUserResponse, zTeamListResponse, zTeamMemberResponse, zTeamUpdateRoleBody, zTeamUpdateRolePath, zTeamUpdateRoleResponse, zTelemetryPreview, zTelemetryPreviewResponse, zTestChannelResponse, zTestIntegrationBody, zToggleRequest, zTokensCreateBody, zTokensCreateResponse, zTokensDeletePath, zTokensDeleteResponse, zTokensGetPath, zTokensGetResponse, zTokensListResponse, zTransactionDetailResponse, zTransactionStatsResponse, zTransactionTimeseriesPoint, zTransactionsGetPath, zTransactionsGetResponse, zTransactionsGetSpansPath, zTransactionsGetSpansResponse, zTransactionsGetStatGroupPath, zTransactionsGetStatGroupQuery, zTransactionsGetStatGroupResponse, zTransactionsGetStatGroupTimeseriesPath, zTransactionsGetStatGroupTimeseriesQuery, zTransactionsGetStatGroupTimeseriesResponse, zTransactionsGetStatsPath, zTransactionsGetStatsQuery, zTransactionsGetStatsResponse, zTransactionsListPath, zTransactionsListQuery, zTransactionsListResponse, zUpdateAlertIntegration, zUpdateAlertRule, zUpdateIssueState, zUpdateMonitor, zUpdatePreferencesRequest, zUpdateProject, zUpdateProjectRepository, zUpdateRelease, zUpdateSavedView, zUpdateUserRole, zUserAccess, zUserReport, zUserReportRequest, zUserResponse, zUserRole, zUsersAssignmentsPath, zUsersAssignmentsResponse, zUsersSetAssignmentsBody, zUsersSetAssignmentsPath, zUsersSetAssignmentsResponse, zVersionResponse, zViewVisibility, zWorkspaceViewsCreateBody, zWorkspaceViewsCreateResponse, zWorkspaceViewsDeletePath, zWorkspaceViewsDeleteResponse, zWorkspaceViewsListQuery, zWorkspaceViewsListResponse, zWorkspaceViewsSetDefaultBody, zWorkspaceViewsSetDefaultResponse, zWorkspaceViewsUpdateBody, zWorkspaceViewsUpdatePath, zWorkspaceViewsUpdateResponse };
|
|
3772
3774
|
|